FormalConjectures/ErdosProblems/476.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

1 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 476

References:

Imports (1)
  1. theorem Erdos476.erdos_476 Let $A\subseteq \mathbb{F}_p$ sorry line 51 source

    Source documentation

    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.

    depends on sorry what this means

    Statement uses: Iff, True, Nat, Fact, Nat.Prime, Finset, ZMod, GE.ge, Finset.card, Finset.restrictedSumset, Min.min, HSub.hSub, HMul.hMul, OfNat.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    26 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_476 : answer(True) ↔
        ∀ p : ℕ, Fact p.Prime → ∀ A : Finset (ZMod p),
          A.restrictedSumset.card ≥ min (2 * A.card - 3) p := by
    …