Formalizing Singer Sidon Constructions and Sidon Set Infrastructure in Lean 4
David B. Hulak, Arthur F. Ramos, Ruy J. G. B. de Queiroz

TL;DR
This paper formalizes Singer's Sidon set construction in Lean 4, develops reusable infrastructure for additive combinatorics, and proves new results about Sidon sets and the extremal function.
Contribution
It provides a formal Lean 4 implementation of Singer's Sidon sets, along with a comprehensive library and new theoretical bounds in additive combinatorics.
Findings
Existence of Sidon sets modulo q^2+q+1 with size q+1 for prime powers q.
Development of a reusable Sidon set library in Lean 4.
Conditional reduction linking prime gaps and the extremal function h(N) to Erdős Problem 30.
Abstract
Erd\H{o}s Problem 30 asks for sharp asymptotics of the Sidon extremal function , and Singer's construction is the classical source of lower-bound examples matching the main term. We present a Lean 4 formalization of Singer's Sidon set construction, together with reusable Sidon-set infrastructure for additive combinatorics. For every prime power , we prove the existence of a Sidon set modulo of cardinality ; the prime-field case is the base presentation. The proof proceeds through a non-trivial algebraic chain: construction of the base field and its degree-three extension, analysis of the trace kernel as a 2-dimensional subspace over the base field, a geometric argument via subspace intersections establishing the multiplicative Sidon property in the quotient group, and a transfer from quotient multiplication to modular integer addition. Around this…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
