kernel-Nat.land_three_five
- Kind
- kernel-term
- Status
- checked
Supports: land(3, 5) = 1
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- land_three_five 2>/dev/null | grep -Ec '^Nat\.land_three_five[[: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. `3 = 0b011`, `5 = 0b101`; `land 3 5 = landAux 3 3 5` unfolds through two real fuel steps (`3 & 5 -> 2*(1 & 2) + 1*1`, `1 & 2 -> 2*(0 & 1) + 1*0`, `0 & 1 -> 0` since `m = 0`) to `2*(2*0 + 0) + 1 = 1`, entirely by delta+iota -- the proof is `Eq.refl`. `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_three_five[[:space:]]` (verified exactly 1 row).