kernel-Nat.log_zero_left
- Kind
- kernel-term
- Status
- checked
Supports: For every n, log_0(n) = 0.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- log_zero_left 2>/dev/null | grep -Ec '^Nat\.log_zero_left[[: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. The guard's first cut is `Nat.ble 2 b`, and `ble (succ (succ zero)) zero` reduces to `Bool.false`, so the whole term collapses to `0` in both fuel cases. The induction on `n` exposes the fuel's constructor and nothing more -- the induction hypothesis is never used, and both minor premises are `Eq.refl`. `nat_theorem_inventory` exits non-zero for a name that does not exist, and `grep -Ec` consumes the pipe and the count is tested, so the exit status depends on what the run found. Controls run 2026-08-28: the four real names exit 0 and `log_zero_rightXX` exits 1.