kernel-Nat.clog_zero_right
- Kind
- kernel-term
- Status
- checked
Supports: For every b, clog_b(0) = 0.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- clog_zero_right 2>/dev/null | grep -Ec '^Nat\.clog_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.clog b n := Nat.clogAux b n n`, so at `n = 0` both the fuel AND the value argument are `Nat.zero`; `Nat.rec` on a `zero`-headed fuel selects the constant-zero minor premise directly, without the guard ever being evaluated. The proof is a bare `Eq.refl`, no induction needed. `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 real name exits 0 and `clog_zero_rightXX` exits 1.