kernel-Nat.Subsets.sumSel_const
- Kind
- kernel-term
- Status
- checked
Supports: the even and odd sums of a constant over a non-empty ground set are equal
cargo run --release -q -p axeyum-lean-kernel --example nat_theorem_inventory -- Subsets.sumSel_const Evidence notes
The whole proof term is `Nat.add_comm (sumSel n K true) (sumSel n K false)`, offered at a statement about `succ n`. The kernel accepts it because both sides of the goal delta-reduce to the two orders of that sum -- the split law's `Eq.refl` doing the work -- and `(fun _ => c) o insertAt n` is `fun _ => c` by beta.