kernel-Nat.mod_lt
- Kind
- kernel-term
- Status
- checked
Supports: For all natural numbers a and b: if b > 0 then a mod b < b.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- mod_lt 2>/dev/null | grep -Ec '^Nat\.mod_lt[[: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.