kernel-Nat.multichoose_zero_right
- Kind
- kernel-term
- Status
- checked
Supports: n.multichoose 0 = 1
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- multichoose_zero_right 2>/dev/null | grep -Ec '^Nat\.multichoose_zero_right[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate. `Nat.multichoose` is declared (`nat_prelude/multichoose.rs`) as the plain, non-recursive abbreviation `fun n k => choose (pred (add n k)) k`, so `n.multichoose 0` reduces by β/δ alone to `choose (pred (add n 0)) 0`, and `Nat.choose_zero_right : ∀ m, choose m 0 = 1` proves `choose _ 0 = 1` for ANY first argument -- instantiating it at `pred (add n 0)` closes the goal directly, with no need to reduce that expression further and no dependency on `Nat.multichoose_one`/`_one_right`. `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.