kernel-nat-subsets-sum-subsets-on-card
- Kind
- kernel-term
- Status
- checked
Supports: Nat.Subsets.sumSubsetsOn_card is admitted by the trusted kernel gate with the type recorded in formal.statement.
test "$(cargo run -q --release -p axeyum-lean-kernel --example nat_theorem_inventory -- Nat.Subsets.sumSubsetsOn_card 2>/dev/null | grep -Fc '(AxNat.pow (AxNat.succ (AxNat.succ AxNat.zero)) (AxNat.countRange x0 x1))')" -ge 1 Evidence notes
The pattern is the right-hand side as rendered by Kernel::render_lean, so a statement whose exponent drifted back to the bare width x1 -- which is exactly what a fold ignoring its mask satisfies -- fails this check. The induction's mask-on branch runs the same x + x = (0 + x) + x = x * 2 = pow 2 (succ c) chain Nat.Subsets.sumSubsets_card runs, with c the masked count instead of the width.