kernel-Nat.log_zero_right
- Kind
- kernel-term
- Status
- checked
Supports: For every base b, log_b(0) = 0.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- log_zero_right 2>/dev/null | grep -Ec '^Nat\.log_zero_right[[: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.log b n` is `Nat.logAux b n n` -- the fuel is `n` itself -- so at `n = 0` the fuel is already exhausted and `logAux`'s zero minor premise fires. The proof is `Eq.refl`; the kernel closes it by iota-reduction alone. `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.