kernel-Nat.modEq_equivalence_on
- Kind
- kernel-term
- Status
- checked
Supports: For every natural modulus m and every bound n, congruence modulo m (a ≡ b mod m) is reflexive, symmetric and transitive on natural numbers below n.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- modEq_equivalence_on 2>/dev/null | grep -Ec '^Nat\.modEq_equivalence_on[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate, which re-checks the proof term against the stated type, so producing this row at all is a machine-checked proof. `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -q` requires the admitted declaration to be printed -- both halves of the check depend on the theorem actually being present.