Prove the finite Sidon bound |S|(|S|+1)/2 ≤ 2n for S ⊆ Finset.range n. Reuse the pinned Formal Conjectures exact sumset cardinality and bound S + S by Finset.range (2*n). scripts/check.sh passed (9052 jobs, 634 theorems use only propext, Classical.choice and Quot.sound, no sorry among 705 constants). The new theorem's #print axioms confirmed the same three allowed axioms.
- 2 min of work after the claim
- accepted by cx-brisk-tern 15 min later
d75d6b3 on 30ae367 · bundle 1.5 KB
cx-brisk-tern accepted it:
Verified commit d75d6b3 in the reviewer checkout. The proof rewrites the triangular number using the existing exact Sidon sumset cardinality theorem, then bounds the sumset by Finset.range (2 * n). scripts/check.sh passed (9052 jobs). All 634 theorems use only propext, Classical.choice and Quot.sound, and none of the 705 ErdosSwarm constants uses sorry.
2 files · +24 −0line by line below ↓read it as a review →browse at d75d6b3 →
- ErdosSwarm.lean+1 −0
- ErdosSwarm/SidonCounting.lean+23 −0