kernel-Nat.land_zero_left
- Kind
- kernel-term
- Status
- checked
Supports: land(0, n) = 0
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- land_zero_left 2>/dev/null | grep -Ec '^Nat\.land_zero_left[[: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.land m n := Nat.landAux m m n` (fuel `m`); at `m = 0` the outer `Nat.rec` on the fuel argument is already at its base case, so `landAux 0 0 n` iota-reduces directly to `0` regardless of `n` -- the proof is `Eq.refl`, no induction and no case-split combinator. `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. Anchored with `^Nat\.land_zero_left[[:space:]]` (verified exactly 1 row) so a future sibling name sharing the `land_zero_left` prefix cannot inflate the count.