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

3 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 839

References:

See also Erdős Problem 359 and Erdős Problem 867.

Imports (1)
  1. def Erdos839.SumOfConsecutiveFree A sequence $a : \mathbb{N} \to \mathbb{N}$ is "sum-of-consecutive-free" if no term equals the sum of a contiguous block of earlier terms line 43 source

    Source documentation

    A sequence $a : \mathbb{N} \to \mathbb{N}$ is "sum-of-consecutive-free" if no term equals the sum of a contiguous block of earlier terms. That is, for all $i$, $a_i \neq a_j + a_{j+1} + \cdots + a_k$ for any $j \leq k < i$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: LE.le, LT.lt, Ne, Finset.sum, Finset.Icc

    5 instances, coercions and auxiliary constants left out.

    def SumOfConsecutiveFree (a : ℕ → ℕ) : Prop :=
    …
  2. theorem Erdos839.erdos_839.parts.i Documented declaration: i sorry line 55 source

    Source documentation

    Erdős Problem 839 (Part 1) [Er78f][Er92c]:

    Let $1 \leq a_1 < a_2 < \cdots$ be a strictly increasing sequence of positive integers such that no $a_i$ is the sum of consecutive $a_j$ for $j < i$. Is it true that $\limsup a_n / n = \infty$?

    depends on sorry what this means

    Statement uses: Iff, True, Nat, LE.le, OfNat.ofNat, StrictMono, Erdos839.SumOfConsecutiveFree, Eq, ENNReal, Filter.limsup, HDiv.hDiv, Filter.atTop, Top.top

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

    30 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_839.parts.i : answer(sorry) ↔
        ∀ (a : ℕ → ℕ), (∀ n, 1 ≤ a n) → StrictMono a → SumOfConsecutiveFree a →
        atTop.limsup (fun n : ℕ => (a n : ℝ≥0∞) / n) = ⊤ := by
    …

    Mentions: Erdos839.SumOfConsecutiveFree

  3. theorem Erdos839.erdos_839.parts.ii Documented declaration: ii sorry line 71 source

    Source documentation

    Erdős Problem 839 (Part 2, stronger) [Er78f][Er92c]:

    Let $1 \leq a_1 < a_2 < \cdots$ be a strictly increasing sequence of positive integers such that no $a_i$ is the sum of consecutive $a_j$ for $j < i$. Is it true that $\lim_{x \to \infty} \frac{1}{\log x} \sum_{a_n < x} \frac{1}{a_n} = 0$?

    This is equivalent to asking whether the range $\{a_1,a_2,\ldots\}$ has logarithmic density zero (see Set.HasLogDensity).

    depends on sorry what this means

    Statement uses: Iff, True, Nat, LE.le, OfNat.ofNat, StrictMono, Erdos839.SumOfConsecutiveFree, Set.HasLogDensity, Set.range, Real

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

    10 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_839.parts.ii : answer(sorry) ↔
        ∀ (a : ℕ → ℕ), (∀ n, 1 ≤ a n) → StrictMono a → SumOfConsecutiveFree a →
        Set.HasLogDensity (Set.range a) 0 := by
    …

    Mentions: Erdos839.SumOfConsecutiveFree, Set.HasLogDensity