Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 476

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let A⊆FpA\subseteq \mathbb{F}_p. Let A+^A={a+b:a≠b∈A}. A\hat{+}A = \{ a+b : a\neq b \in A\}. Is it true that ∣A+^A∣≥min⁡(2∣A∣−3,p)? \lvert A\hat{+}A\rvert \geq \min(2\lvert A\rvert-3,p)?

This is the Erdős-Heilbronn inequality, proved by Dias da Silva and Hamidoune.

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question, formal_proof
Cite as:NS.02232 [math.CO] · NS.02232v1 for this version
Declaration:Erdos476.erdos_476
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:a6fc27f6ce5a01d6bce65effc764f9d01bfe9f870d8d92b213a95c8c9bbbea4c
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/476.lean

Formal statement

theorem erdos_476 :
    ∀ p : ℕ, Fact p.Prime → ∀ A : Finset (ZMod p),
      A.restrictedSumset.card ≥ min (2 * A.card - 3) p
Show the full Challenge.lean (58 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 476

*References:*
- [erdosproblems.com/476](https://www.erdosproblems.com/476)
- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on
  Modern Mathematics, Vol. III (1965), 196-244.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.
- [dSHa94] Dias da Silva, J. A. and Hamidoune, Y. O., *Cyclic spaces for Grassmann
  derivatives and additive theory*. Bull. London Math. Soc. (1994), 140-146.
-/

@[expose] public section

namespace Erdos476

set_option linter.style.formal_proof_palomar false in
/--
Let $A\subseteq \mathbb{F}_p$. Let
$$
A\hat{+}A = \{ a+b : a\neq b \in A\}.
$$
Is it true that
$$
\lvert A\hat{+}A\rvert \geq \min(2\lvert A\rvert-3,p)?
$$

This is the Erdős-Heilbronn inequality, proved by Dias da Silva and Hamidoune.
-/
@[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/Erdos476.lean"]
theorem erdos_476 :
    ∀ p : ℕ, Fact p.Prime → ∀ A : Finset (ZMod p),
      A.restrictedSumset.card ≥ min (2 * A.card - 3) p := by
  sorry

end Erdos476

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos476.erdos_476 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_476 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-476
nosorry submit erdos-476 nosorry/erdos-476/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.