cas-internal-factorization-eight-instances
- Kind
- witness-replay
- Status
- checked
Supports: certify_factorization produces a canonical prime factorization for eight instances spanning negatives, units, a large-prime-times-two, and a Mersenne prime, and check_factorization_certificate independently re-derives the product identity plus per-factor primality; certify_factorization(0) correctly declines
cargo test -p axeyum-cas --lib ntheory_certify::ntheory_certify_tests::certifies_factorizations_including_negatives_and_units -- --exact 2>/dev/null | grep -cE '^test ntheory_certify::ntheory_certify_tests::certifies_factorizations_including_negatives_and_units \.\.\. ok$' Evidence notes
cas-internal (ADR-0601 SS2): checker_command names only axeyum-cas. check_factorization_certificate's per-factor primality check calls check_primality_certificate (the CHECKER), not certify_prime (the PRODUCER) -- grepped directly at the F5 guard site -- so this route does not silently trust the factorization's own primality claim about its bases; it re-derives it via the same independent Pratt route as F:cas-ntheory-pratt-primality-mersenne89. Proved by breaking: see ADR-1055 for the break/restore transcript run during registration.