kernel-Nat.clog_of_right_le_one
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {n : ℕ}, n ≤ 1 → ∀ (b : ℕ), Nat.clog b n = 0
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- clog_of_right_le_one 2>/dev/null | grep -Ec '^Nat\.clog_of_right_le_one[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.clog_of_right_le_one` through the trusted `Kernel::add_declaration` gate (declared in `nat_prelude/log_clog_mirrors.rs`'s `declare_clog_of_right_le_one`). Route: [`declare_clog_of_left_le_one`]'s exact recipe, split on `n` instead of `b`, via `clog.rs`'s already-proved `Nat.clog_zero_right`/`Nat.clog_one_right` used directly at their full `∀ b, clog b _ = 0` type. `nat_theorem_inventory`'s rendered type for `Nat.clog_of_right_le_one` is `(x0:AxNat)->(x1:Le x0 (succ zero))->(x2:AxNat)->Eq (clog x2 x0) zero`, matching this fact's `formal.statement` verbatim (`x0`=n, `x2`=b). `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; verified against a deliberately misspelled name (`clog_of_right_le_onexxxxx`) that this same pipeline reports `0`.