kernel-Nat.factorial_ne_zero
- Kind
- kernel-term
- Status
- checked
Supports: ∀ (n : ℕ), n.factorial ≠ 0
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- factorial_ne_zero 2>/dev/null | grep -Ec '^Nat\.factorial_ne_zero[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.factorial_ne_zero` 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. The proof transports `Nat.one_le_factorial n : Le 1 (factorial n)` along a hypothetical `factorial n = 0` into `Le 1 0`, refuted by `not_succ_le_zero`. `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -c` count (tested `-ge 1`, not piped into `grep -q`) requires the admitted declaration to actually be printed.