CNRS Scientific Toolkit
Authors/Creators
Description
Release Notes
v0.5.1 — Direct CNRS-H Chain Rule
- Added
cnrs.cnrs_h_chain, a finite-order CNRS-H coefficient-space chain-rule layer. - Added EGF-series composition
compose_series(f, g, order=N). - Added direct chain-rule checks
D(f ∘ g)versus(Df ∘ g) * Dgwithout usingCnrsDual. - Added
tests/test_cnrs_h_chain_rule.py. - Added
examples/science_workflows/cnrs_h_native_chain_rule_demo.py. - Scope: finite truncated CNRS-H series; this is a structural coefficient-calculus implementation, not a full analytic-continuation theorem.
Validation: 811 passed, 6 xfailed.
v0.5.1 — Symbolic-to-CNRS-H Bridge
Introduces the first tested bridge between the symbolic calculus layer and CNRS-H coefficient calculus. Supported symbolic expressions can now be converted into finite CNRS-H exponential-generating-function representations, differentiated or integrated structurally, and compared against symbolic differentiation/integration paths.
Added
cnrs/cnrs_h_bridge.pywith conservative symbolic-to-CNRS-H conversion.cnrs_h_from_symbolic(expr, var, order, env)for supported expressions around the expansion pointvar = 0.- Commutation checks for symbolic differentiation vs. CNRS-H digit-shift differentiation.
- Commutation checks for conservative symbolic integration vs. CNRS-H digit-shift integration, with integration constants handled explicitly.
tests/test_cnrs_h_bridge.pycovering polynomials, scale laws, exponentials, sine/cosine, symbolic parameters, unsupported cases, and bridge comparison helpers.examples/science_workflows/symbolic_to_cnrs_h_demo.py.
Supported bridge subset
- Constants and the expansion variable.
- Polynomials built from
+,-,*, and non-negative integer powers. - Division by expressions independent of the expansion variable.
exp,sin, andcosof affine arguments such ask*s,s/L, ork*s+b.- Scale laws such as
A*exp(k*s)with numeric parameter values supplied throughenv.
Scope note
This is a minimal bridge, not a full symbolic series engine. Unsupported expressions raise UnsupportedBridgeExpression rather than silently producing unreliable expansions.
Validation
811 passed, 6 xfailed
The 6 expected failures remain known representational-limit tests, not regressions. Existing reliable-domain warnings from scale-law and oscillator tests remain expected.
Notes
Files
DonGPalmer/CNRS_Scientific_Toolkit-v0.5.1.zip
Files
(222.1 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:9ef0155eed87fb2bc3aab9bfbe7dff11
|
222.1 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/DonGPalmer/CNRS_Scientific_Toolkit/tree/v0.5.1 (URL)
Software
- Repository URL
- https://github.com/DonGPalmer/CNRS_Scientific_Toolkit