kernel-reconstructed-taylor-remainder-p-at-b
- Kind
- kernel-term
- Status
- checked
Supports: p(2) = 16 for p = x^4, admitted by crate::Kernel::add_declaration as Check.taylor_remainder_p_at_b : Eq Rat (Rat.polyEval c 5 (Rat.ofInt 2)) (Rat.ofInt <the arithmetic chain the CAS-derived coefficients reduce to at x=2>), where c is built from the same [0,0,0,0,1] integer coefficients axeyum-cas's own taylor::polynomial_taylor(x^4, 0, 1, 2) certificate's cert.poly field actually returns (asserted equal in the test, not hand-picked). Same recipe as F:cas-mvt-secant-endpoints-kernel-checked: an Eq conclusion falls straight out of poly_eval_to_of_int with no Lt-specific closing lemma needed.
cargo test -p axeyum-lean-kernel --lib rat_prelude::cas_taylor_remainder_bridge_tests::tests::taylor_remainder_lhs_kernel_checked -- --exact 2>/dev/null | grep -cE '^test rat_prelude::cas_taylor_remainder_bridge_tests::tests::taylor_remainder_lhs_kernel_checked \.\.\. ok$' Evidence notes
The named test builds both evaluations (Check.taylor_remainder_p_at_b and Check.taylor_remainder_t1_at_b) plus a swapped-value negative control in one #[test] fn, so this evidence row and the next one share one checker_command. cert.poly/a/b/taylor_poly are asserted equal to [0,0,0,0,1]/0/2/[] (the last padded to [0] for the shared engine, see module doc) BEFORE any kernel-side term is built. Measured wall-clock (this machine, cold cargo-serialized.sh test, single invocation): 6.75s including the one-time Rat prelude build, comparable to the sibling IVT/EVT/extremum/MVT bridges.