kernel-reconstructed-ivt-sign-bracket-cbrt2-lower
- Kind
- kernel-term
- Status
- checked
Supports: p(1) < 0 for p = x^3-2, admitted by crate::Kernel::add_declaration over a Rat.polyEval-stated theorem built from a translated axeyum-cas IvtCertificate; paired with a negative control (the same proof term rejected against the swapped-sign statement 0 < p(1))
cargo test -p axeyum-lean-kernel --lib rat_prelude::cas_ivt_bridge_tests::tests::ivt_sign_bracket_cbrt2_kernel_checked -- --exact 2>/dev/null | grep -cE '^test rat_prelude::cas_ivt_bridge_tests::tests::ivt_sign_bracket_cbrt2_kernel_checked \.\.\. ok$' Evidence notes
The named test builds BOTH sign-bracket halves (Check.ivt_sign_bracket_cbrt2_lower : Rat.lt (Rat.polyEval c 4 (Rat.ofInt 1)) Rat.zero, and Check.ivt_sign_bracket_cbrt2_upper : Rat.lt Rat.zero (Rat.polyEval c 4 (Rat.ofInt 2))) plus the paired negative control (Check.ivt_sign_bracket_cbrt2_wrong: the p(1)<0 proof term ascribed against 0<p(1), asserted REJECTED via admitted_wrong.is_err()). c is built by n_term_polynomial from the SAME [-2,0,0,1] integer coefficients axeyum-cas's real_algebraic::polynomial_ivt(x^3-2, 1, 2) actually returns (translated by sign_bracket_to_int, asserted equal in the test) -- not hand-picked. Mutation-tested in an isolated snapshot (scripts/lane-snapshot.sh): (1) corrupting the CAS input polynomial to x^3+2 makes polynomial_ivt itself decline (no sign change on (1,2)), failing the test at the .expect(); (2) corrupting ONLY the kernel-side Nat.le bound the upper-bracket proof is built against (6 -> 8, a wrong-but-plausible 'safe slack' value) makes Kernel::add_declaration reject with TypeMismatch, failing the test -- confirming the KERNEL check itself, not merely the CAS input, is load-bearing. An unmutated control run in the same snapshot passed both times. Measured wall-clock (this machine, cold `cargo-serialized.sh test`, single invocation via --exact): ~8.4s including the one-time Rat prelude build (~5.3s of that, measured separately via rat_prelude::rat_prelude_tests::rat_prelude_is_axiom_free run alone) -- so the bridge construction itself costs roughly 3s at this degree-3 instance. See F:cas-ivt-degree4-sign-bracket-kernel-checked-cost-curve in this fact's sibling test (ivt_sign_bracket_degree_four_kernel_checked, same file) for the one-degree-higher data point (~4.1s bridge cost, ~9.4s total).