cas-smith-normal-form-two-six-twelve-replay
- Kind
- witness-replay
- Status
- checked
Supports: U*A*V = diag(2,6,12) with U and V unimodular, D diagonal, and the invariant-factor chain 2 | 6 | 12 -- each asserted separately against exact integer values
cargo test -p axeyum-cas --lib normalforms::tests::smith_first_matrix -- --exact 2>/dev/null | grep -cE '^test normalforms::tests::smith_first_matrix \.\.\. ok$' Evidence notes
The pinned values (2,6,12) are what make this command fail on a broken run rather than on a broken build: the test asserts the exact tuple, not merely that some diagonal form exists, so a producer that returned a different-but-still-unimodular factorization fails here. The `grep -cE` on the test's own `... ok` line additionally fails if the test is renamed or deleted, which a bare `cargo test` filter cannot detect (an unmatched filter prints `0 filtered out` and exits 0). A SIBLING instance, normalforms::tests::smith_diagonal_restructures_gcd_lcm, pins diag(2,3,4) -> diag(1,2,12) and is the better test of the restructuring itself; it is not cited here because this fact states one proposition.