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

References:

Imports (1)
  1. theorem Erdos178.erdos_178 Let $A_1,A_2,\ldots$ be an infinite collection of infinite sets of integers, say $A_i=\{a_{i1}0$ sorry line 46 source

    Source documentation

    Let $A_1,A_2,\ldots$ be an infinite collection of infinite sets of integers, say $A_i=\{a_{i1}<a_{i2}<\cdots\}$. Does there exist some $f:\mathbb{N}\to\{-1,1\}$ such that $$\max_{m, 1\leq i\leq d} \left\lvert \sum_{1\leq j\leq m} f(a_{ij})\right\rvert \ll_d 1$$ for all $d\geq 1$?

    Erdős remarks 'it seems certain that the answer is affirmative'. This was solved by Beck [Be81]. Recently Beck [Be17] proved that one can replace $\ll_d 1$ with $\ll d^{4+\epsilon}$ for any $\epsilon>0$.

    L4DEL explanation

    Let $A_1,A_2,\ldots$ be an infinite collection of infinite sets of integers, say $A_i=\{a_{i1}0$.

    Sources and attribution: Pinned Lean source (1646ca16afd6)

    depends on sorry what this means

    Statement uses: Iff, True, Nat, StrictMono, Exists, Int, And, Or, Eq, OfNat.ofNat, Neg.neg, LT.lt, LE.le, abs, Finset.sum, Finset.range

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

    21 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_178 : answer(True) ↔
        ∀ (a : ℕ → ℕ → ℕ) (ha : ∀ i, StrictMono (a i)),
        ∃ f : ℕ → ℤ, (∀ n, f n = 1 ∨ f n = -1) ∧
          ∀ d : ℕ, ∃ C : ℕ, ∀ m i : ℕ, i < d →
            |∑ j ∈ range m, f (a i j)| ≤ ↑C := by
    …