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

2 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 481

References:

Imports (1)
  1. def Erdos481.T Documented declaration: T line 41 source

    Source documentation

    For a finite sequence of $n$ (not necessarily distinct) integers $A = (x_1,\ldots,x_n)$, the sequence T a b A of length $rn$ given by $(a_ix_j+b_i)_{1\leq j\leq n, 1\leq i\leq r}$.

    no axioms what this means

    Statement uses: Nat, Fin, List

    Proof uses: List.flatMap, List.map, HAdd.hAdd, HMul.hMul, List.finRange

    4 instances, coercions and auxiliary constants left out.

    def T {r : ℕ} (a b : Fin r → ℕ) (A : List ℕ) : List ℕ :=
    …
  2. theorem Erdos481.erdos_481 Let $a_1,\ldots,a_r,b_1,\ldots,b_r\in \mathbb{N}$ such that $\sum_{i}\frac{1}{a_i}>1$ sorry line 57 source

    Source documentation

    Let $a_1,\ldots,a_r,b_1,\ldots,b_r\in \mathbb{N}$ such that $\sum_{i}\frac{1}{a_i}>1$. For any finite sequence of $n$ (not necessarily distinct) integers $A=(x_1,\ldots,x_n)$ let $T(A)$ denote the sequence of length $rn$ given by $$(a_ix_j+b_i)_{1\leq j\leq n, 1\leq i\leq r}.$$ Prove that, if $A_1=(1)$ and $A_{i+1}=T(A_i)$, then there must be some $A_k$ with repeated elements.

    This is true. This appears to have first been shown by Klarner [Kl82], with a generalisation given by Kolpakov and Talambutsa [KoTa22]. Essentially the same proof was found independently by Barreto in the comment section.

    depends on sorry what this means

    Statement uses: Nat, Fin, LT.lt, OfNat.ofNat, Real, Finset.sum, Finset.univ, HDiv.hDiv, Exists, Not, List.Nodup, Nat.iterate, List, Erdos481.T, List.cons, List.nil

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

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_481 {r : ℕ} (a b : Fin r → ℕ) (ha : ∀ i, 0 < a i)
        (hab : 1 < ∑ i, (1 : ℝ) / a i) :
        ∃ k, ¬ ((T a b)^[k] [1]).Nodup := by
    …

    Mentions: Erdos481.T