Title:Erdős Problem 540
Statement:Is it true that if has size then there exists some non-empty such that ?
Szemerédi proved the answer is yes, in fact for arbitrary finite abelian groups.
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02416 [math.CO] · NS.02416v1 for this version |
| Declaration: | Erdos540.erdos_540 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 48ff1b085db37536d24976c621fc19644b5e550538e946615fddc4598b535e94 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/540.lean |
Formal statement
theorem erdos_540 :
∃ C : ℝ, 0 < C ∧
∀ (N : ℕ), 0 < N → ∀ A : Finset (ZMod N),
C * Real.sqrt N ≤ A.card →
HasZeroSubsetSum AShow the full Challenge.lean (67 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 540
*References:*
- [erdosproblems.com/540](https://www.erdosproblems.com/540)
- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on
Modern Mathematics, Vol. III (1965), 196-244.
- [Er73] Erdős, P., *Problems and results on combinatorial number theory*. A survey of combinatorial
theory (Proc. Internat. Sympos., Colorado State Univ., Fort Collins, Colo., 1971) (1973), 117-138.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
theory*. Monographies de L'Enseignement Mathematique (1980).
- [Ol68] Olson, John E., *An addition theorem modulo {$p$}*. J. Combinatorial Theory (1968), 45--52.
- [Ba12] Balandraud, Éric, *An addition theorem and maximal zero-sum free sets in
$\mathbb{Z}/p\mathbb{Z}$*. Israel J. Math. (2012), 405-429.
- [HaZe96] Hamidoune, Yahya Ould and Zémor, Gilles, *On zero-free subset sums*. Acta Arith. (1996),
143--152.
- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.
- [ErHe64] Erdős, P. and Heilbronn, H., *On the addition of residue classes
mod $p$*. Acta Arith. (1964), 149--159.
- [Sz70] Szemerédi, E., *On a conjecture of Erdős and Heilbronn*. Acta Arith.
(1970), 227-229.
-/
@[expose] public section
namespace Erdos540
/-- A finite set has a non-empty subset whose sum is zero. -/
def HasZeroSubsetSum {G : Type*} [AddCommMonoid G] (A : Finset G) : Prop :=
∃ S : Finset G, S ⊆ A ∧ S.Nonempty ∧ S.sum id = 0
set_option linter.style.formal_proof_palomar false in
/--
Is it true that if $A\subseteq \mathbb{Z}/N\mathbb{Z}$ has size $\gg N^{1/2}$ then there exists
some non-empty $S\subseteq A$ such that $\sum_{n\in S}n\equiv 0\pmod{N}$?
Szemerédi proved the answer is yes, in fact for arbitrary finite abelian groups.
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos540.lean"]
theorem erdos_540 :
∃ C : ℝ, 0 < C ∧
∀ (N : ℕ), 0 < N → ∀ A : Finset (ZMod N),
C * Real.sqrt N ≤ A.card →
HasZeroSubsetSum A := by
sorry
end Erdos540
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos540.erdos_540 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_540 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-540 nosorry submit erdos-540 nosorry/erdos-540/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.