code wiki / (root) / nx_calc_integrate.nx

nx_calc_integrate.nx

buildroot/runtime/nx_calc_integrate.nx

5829 B171 linesdepth 7pulls 7 transitivereach 1 importersview sourcekind librarytopic calc
docsdependenciesstructsconstsfunctions

about

nx_calc_integrate.nx -- symbolic integration engine. Per the comparison commit's named LOSE_BIG improvement vs Mathematica: "ship symbolic Integrate + Series + Solve". This commit ships Integrate. Series and Solve are queued. Pattern-matched antiderivative rules (the standard textbook table). Returns a *Term that downstream proofs can verify by differentiating and checking the result equals the integrand (the Fundamental Theorem of Calculus check, doable via nx_calc_deriv + EQ check).

dependencies 1 imports · 1 importers

nx_calc.nx nx_calc_integrate.nx nx_calc_chem_test.nx

imports: nx_calc.nx

imported by: nx_calc_chem_test.nx

structs

none

consts

22const NX_INTEG_UNKNOWN: nx_int = 414099

functions

24func nx_calc_unknown() -> *Term
called by 1: nx_calc_integrate calls 1: nx_term_const
29func nx_calc_neg_cos(t: *Term) -> *Term
46func nx_calc_integrate(t: *Term, var_id: nx_int) -> *Term