kernel-Nat.pow_prime_modeq_self
- Kind
- kernel-term
- Status
- checked
Supports: For every prime natural number p and every natural number a, a^p is congruent to a modulo p.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- pow_prime_modeq_self 2>/dev/null | grep -Ec '^Nat\.pow_prime_modeq_self[[: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.