cas-internal-compositeness-five-instances
- Kind
- witness-replay
- Status
- checked
Supports: certify_composite produces a nontrivial divisor for each of 4, 15, 91, 561, 1000000 and check_composite_certificate independently re-derives and confirms each one by one division; certify_composite declines to certify -7, 0, 1, 2, 3, 97 and 2147483647 (the last a Mersenne prime) as composite
cargo test -p axeyum-cas --lib ntheory_certify::ntheory_certify_tests::certifies_composites_and_declines_primes -- --exact 2>/dev/null | grep -cE '^test ntheory_certify::ntheory_certify_tests::certifies_composites_and_declines_primes \.\.\. ok$' Evidence notes
cas-internal (ADR-0601 SS2): checker_command names only axeyum-cas. This is the simplest of the four routes -- the checker is three inequalities and one modulus, with zero calls into crate::ntheory (grepped directly: check_composite_certificate's body contains no `ntheory::` reference), so it is unambiguously independent of its producer. Proved by breaking: see this fact's provenance/notes and ADR-1055 for the break/restore transcript run during registration.