Batch 3 of the expansion-v2 roadmap, all deterministic/offline/std-only with honest capability boundaries. crates/lawsynth-reduce (new): deterministic symmetry & separability detection. Numerical-derivative probe (finite differences replace AI-Feynman's trained NN gradients) over a reconstructed Cartesian grid; additive/multiplicative separability + difference/sum/product/ratio symmetries. Every detection is a HYPOTHESIS verified by reconstruction residual, never a proof; non-grid data is honestly rejected (NotReconstructed). 17 tests. crates/lawsynth-score: two-part MDL objective (L_data + L_model in nats) and O(n log n) pareto_front_2d (sort-then-sweep), verified equal to the O(n^2) front across 12 deterministic sets. +5 tests; crate fmt-normalized to config. python/lawsynth export.py (new): to_sympy/to_torch/to_jax + dep-free numeric_derivatives anchor. Constants+params hoisted into one trainable vector so autograd reaches every coefficient (Neural-ODE vector field). Backends absent here degrade gracefully (MissingDependencyError subclasses ImportError). Faithful to native simulate at 1.1e-16. 10 tests + 6 honest skips. benchmarks: SRBench Feynman (15: 12 static algebraic relations as honest capability-boundaries, 3 dynamics-framed ODEs executed at R2~=1.0) and black-box (4 systems, predictive R2 + parsimony, no ground truth) families. Fixes a pre-existing _runner.py failure where Strogatz cases leaked into the legacy contract suite. 31 benchmark tests. specs/structural-reductions: boundary spec (detection-is-a-hypothesis contract).
37 lines
974 B
TOML
37 lines
974 B
TOML
id = "feynman/radioactive-decay"
|
|
title = "Radioactive decay (Feynman I.43 exponential law, framed as dynamics)"
|
|
family = "feynman"
|
|
version = 1
|
|
|
|
# The static Feynman table lists N = N0 * exp(-t/tau). Its *governing law* is the
|
|
# first-order ODE dN/dt = -N/tau, which is squarely a dynamics-discovery problem
|
|
# the LawSynth CLI is designed for. We therefore frame this Feynman relation as a
|
|
# derivative problem (not static regression) and let the CLI recover it honestly.
|
|
[capability]
|
|
status = "supported"
|
|
reason = "The exponential decay law is the solution of dN/dt = -(1/tau) N, a linear first-order ODE inside the polynomial library; recoverable and simulable via the public CLI."
|
|
|
|
[system]
|
|
kind = "radioactive_decay"
|
|
states = ["N"]
|
|
step = 0.05
|
|
samples = 300
|
|
[system.parameters]
|
|
tau = 2.5
|
|
[system.initial]
|
|
N = 8.0
|
|
|
|
[discovery]
|
|
degree = 2
|
|
threshold = 0.02
|
|
|
|
[simulation]
|
|
start = 0.0
|
|
end = 4.0
|
|
step = 0.05
|
|
|
|
[expect]
|
|
simulate = true
|
|
symbolic_recovery = "none"
|
|
r2_min = 0.99
|