kernel-Nat.log_le_self
- Kind
- kernel-term
- Status
- checked
Supports: For all b and n, log_b(n) <= n.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- log_le_self 2>/dev/null | grep -Ec '^Nat\.log_le_self[[: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 proof is `Nat.logAux_le_fuel` (a separate fact, `F:nat-logaux-le-fuel`) applied at `f := n`: since `Nat.log b n := Nat.logAux b n n` DEFINITIONALLY, `logAux_le_fuel b n n : Le (logAux b n n) n` is already `Le (log b n) n` up to delta-unfolding `log`, so no further construction is needed beyond the one application. `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.