FormalConjectures/ErdosProblems/328.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 328

References:

Imports (1)
  1. theorem Erdos328.erdos_328 Suppose $A\subseteq\mathbb{N}$ and $C>0$ is such that $1_A\ast 1_A(n)\leq C$ for all $n\in\mathbb{N}$ sorry line 62 source

    Source documentation

    Suppose $A\subseteq\mathbb{N}$ and $C>0$ is such that $1_A\ast 1_A(n)\leq C$ for all $n\in\mathbb{N}$. Can $A$ be partitioned into $t$ many subsets $A_1,\ldots,A_t$ (where $t=t(C)$ depends only on $C$) such that $1_{A_i}\ast 1_{A_i}(n)<C$ for all $1\leq i\leq t$ and $n\in \mathbb{N}$?

    The answer is no. Asked by Erdős and Newman. Nešetřil and Rödl [NeRo85] have shown the answer is no for all $C$ (even if $t$ is also allowed to depend on $A$).

    Erdős [Er80e] had previously shown the answer is no for $C=3,4$ and infinitely many other values of $C$.

    See also [774].

    The linked proof writes the representation function as Set.ncard {p : ℕ × ℕ | p.1 ∈ A ∧ p.2 ∈ A ∧ p.1 + p.2 = n}, which counts the same ordered pairs as sumRep, and states the partition condition as a named definition with the same two conjuncts used below. Its ∃ t additionally carries 1 ≤ t, which costs nothing: t = 0 forces A = ∅, and A = {1} has all representation counts at most C for C ≥ 1.

    depends on sorry what this means

    Statement uses: Iff, False, Nat, LT.lt, OfNat.ofNat, Exists, Set, LE.le, AdditiveCombinatorics.sumRep, Fin, And, Eq, Set.iUnion, Set.PairwiseDisjoint, Set.univ

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

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_328 : answer(False) ↔
        ∀ C : ℕ, 0 < C →
          ∃ t : ℕ, ∀ A : Set ℕ, (∀ n, sumRep A n ≤ C) →
            ∃ P : Fin t → Set ℕ, (⋃ i, P i) = A ∧
              Set.univ.PairwiseDisjoint P ∧
              ∀ i, ∀ n, sumRep (P i) n < C := by
    …