FormalConjectures/ErdosProblems/770.lean
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
7 declarations, 6 contain sorry, 0 declared as axioms
Erdős Problem 770
References:
- erdosproblems.com/770
- [Er49d] Erdös, P. "On the strong law of large numbers." Transactions of the American Mathematical Society 67.1 (1949): 51-56.
- [Ma66] Matsuyama, Noboru. "On the strong law of large numbers." Tohoku Mathematical Journal, Second Series 18.3 (1966): 259-269.
Imports (1)
Imported by 1 file
- def
Erdos770.hLet $h n$ be the minimal number such that $2 ^ n - 1, \dots, h(n) ^ n - 1$ are collectively coprime line 40 sourceSource documentation
Let $h n$ be the minimal number such that $2 ^ n - 1, \dots, h(n) ^ n - 1$ are collectively coprime.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,ENatProof uses:
InfSet.sInf,Set.ofPred,And,LT.lt,OfNat.ofNat,Eq,Finset.gcd,Finset.image,HSub.hSub,HPow.hPow,Finset.Icc,ENat.toNat,id24 instances, coercions and auxiliary constants left out.
noncomputable def h (n : ℕ) : ℕ∞ := sInf {m | 2 < m ∧ … - theorem
Erdos770.Nat.Prime.h_eq_add_onen + 1is prime iffh n = n + 1sorry line 45 sourceSource documentation
n + 1is prime iffh n = n + 1. This is described as 'easy to see' in [Er74b].depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Iff,Eq,ENat, Erdos770.h,HAdd.hAdd,Nat.PrimeProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous20 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem Nat.Prime.h_eq_add_one {n : ℕ} (hn : 2 < n) : h n = n + 1 ↔ (n + 1).Prime := by …Mentions: Erdos770.h
- theorem
Erdos770.erdos_770.variants.odd_h_unboundedFor oddn, the values ofh nform an unbounded set sorry line 51 sourceSource documentation
For odd
n, the values ofh nform an unbounded set. This is described as 'easy to see' in [Er74b].depends on sorry what this means
Statement uses:
Set.Unbounded,Nat,LE.le,Set.image,ENat,ENat.toNat, Erdos770.h,OddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_770.variants.odd_h_unbounded : Unbounded (· ≤ ·) (ENat.toNat '' (h '' Odd)):= by …
Mentions: Erdos770.h
- theorem
Erdos770.erdos_770.parts.iFor every primep, does the density of integers withh n = pexist? sorry line 57 sourceSource documentation
For every prime
p, does the density of integers withh n = pexist?depends on sorry what this means
Statement uses:
Iff,True,Nat,Nat.Prime,Exists,Real, Set.HasDensity,Set.ofPred,Eq,ENat, Erdos770.h,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat13 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_770.parts.i : answer(sorry) ↔ ∀ p : ℕ, p.Prime → ∃ a, HasDensity {n | h n = p} a := by …Mentions: Erdos770.h
- theorem
Erdos770.erdos_770.parts.iiDoesliminf h n = ∞? sorry line 62 sourceSource documentation
Does
liminf h n = ∞?depends on sorry what this means
Statement uses:
Iff,True,Eq,ENat,Filter.liminf,Nat, Erdos770.h,Filter.atTop,Top.topProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat13 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_770.parts.ii : answer(sorry) ↔ liminf h atTop = ⊤ := by …
Mentions: Erdos770.h
- theorem
Erdos770.erdos_770.parts.iiiIs it true that ifpis the greatest prime such thatp - 1 ∣ nandp > n ^ ε, thenh n = p? sorry line 68 sourceSource documentation
Is it true that if
pis the greatest prime such thatp - 1 ∣ nandp > n ^ ε, thenh n = p?depends on sorry what this means
Statement uses:
Iff,True,Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,SupSet.sSup,Set.ofPred,And,Nat.Prime,Dvd.dvd,HSub.hSub,HPow.hPow,Eq,ENat, Erdos770.h,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_770.parts.iii : answer(sorry) ↔ ∀ ε > 0, ∀ᶠ n in atTop, let p := sSup {m : ℕ | m.Prime ∧ m - 1 ∣ n} … - theorem
Erdos770.erdos_770.variants.threeIt is probably true thath n = 3for infinitely manynsorry line 75 sourceSource documentation
It is probably true that
h n = 3for infinitely manyn.depends on sorry what this means
Statement uses:
Set.Infinite,Nat,Set.ofPred,Eq,ENat, Erdos770.h,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_770.variants.three : {n | h n = 3}.Infinite := by …Mentions: Erdos770.h