kernel-Nat.size_one
- Kind
- kernel-term
- Status
- checked
Supports: Nat.size 1 = 1
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- size_one 2>/dev/null | grep -Ec '^Nat\.size_one[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.size_one` through the trusted `Kernel::add_declaration` gate, declared in `nat_prelude/size_extra.rs` (a new module, kept separate from `binary.rs`'s own dense `Nat.size` definition-plus-boundary set). `nat_theorem_inventory`'s rendered type is `Eq.{1} AxNat (AxNat.size (AxNat.succ AxNat.zero)) (AxNat.succ AxNat.zero)`, matching this fact's `formal.statement`. `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 both ways: the real name greps to a count `-ge 1`; grepping a made-up name (`Nat.size_one_bogus`) greps to `0`. The proof is `Eq.refl 1` directly (`size 1` unfolds to `1` by delta+iota alone), so `check-fact-depends-derived.py` finds no lemma dependency edges to add.