FormalConjectures/ErdosProblems/971.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
4 declarations, 3 contain sorry, 0 declared as axioms
Erdős Problem 971
Reference: erdosproblems.com/971
Imports (1)
- def
Erdos971.leastCongruentPrimeleastCongruentPrime a dis the least prime congruent toamodulodline 33 sourceSource documentation
leastCongruentPrime a dis the least prime congruent toamodulod.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,Nat.Prime,Nat.ModEq1 instances, coercions and auxiliary constants left out.
noncomputable def leastCongruentPrime (a d : ℕ) : ℕ := …
- theorem
Erdos971.erdos_971Letp(a, d)be the least prime congruent toa (mod d)sorry line 42 sourceSource documentation
Let
p(a, d)be the least prime congruent toa (mod d). Does there exist a constantc > 0such that for all larged,p(a, d) > (1 + c) * φ(d) * log dfor≫ φ(d)many values ofa?depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,And,GT.gt,OfNat.ofNat,Filter.Eventually,Nat,LE.le,HMul.hMul,Nat.totient,Finset.card,Finset.filter,Nat.Coprime, Erdos971.leastCongruentPrime,HAdd.hAdd,Real.log,Finset.Iio,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous39 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_971 : answer(sorry) ↔ ∃ c > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ d in atTop, C * (d.totient : ℝ) ≤ #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) > (1 + c) * d.totient * log d} := by …Mentions: c, Erdos971.leastCongruentPrime
- theorem
Erdos971.erdos_971.variants.infinite_sequenceErdős [Er49c] proved that the statement inerdos_971holds for infinitely many values ofdsorry line 55 sourceSource documentation
Erdős [Er49c] proved that the statement in
erdos_971holds for infinitely many values ofd.[Er49c] Erdős, P., On some applications of Brun's method. Acta Univ. Szeged. Sect. Sci. Math. (1949), 57--63.
depends on sorry what this means
Statement uses:
Exists,Real,And,GT.gt,OfNat.ofNat,Set.Infinite,Nat,Set.ofPred,LE.le,HMul.hMul,Nat.totient,Finset.card,Finset.filter,Nat.Coprime, Erdos971.leastCongruentPrime,HAdd.hAdd,Real.log,Finset.IioProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous39 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_971.variants.infinite_sequence : ∃ c > (0 : ℝ), ∃ C > (0 : ℝ), {d : ℕ | C * (d.totient : ℝ) ≤ #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) > (1 + c) * d.totient * log d}}.Infinite := …Mentions: c, Erdos971.leastCongruentPrime
- theorem
Erdos971.erdos_971.variants.many_smallErdős [Er49c] proved that for anyε > 0we havep(a, d) < ε * φ(d) * log dfor≫_ε φ(d)many values ofa(for all larged) sorry line 70 sourceSource documentation
Erdős [Er49c] proved that for any
ε > 0we havep(a, d) < ε * φ(d) * log dfor≫_ε φ(d)many values ofa(for all larged).[Er49c] Erdős, P., On some applications of Brun's method. Acta Univ. Szeged. Sect. Sci. Math. (1949), 57--63.
depends on sorry what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Exists,And,Filter.Eventually,Nat,LE.le,HMul.hMul,Nat.totient,Finset.card,Finset.filter,Nat.Coprime,LT.lt, Erdos971.leastCongruentPrime,Real.log,Finset.Iio,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous31 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_971.variants.many_small : ∀ ε > (0 : ℝ), ∃ C > (0 : ℝ), ∀ᶠ d in atTop, C * (d.totient : ℝ) ≤ #{a < d | a.Coprime d ∧ (leastCongruentPrime a d : ℝ) < ε * d.totient * log d} := by …Mentions: Erdos971.leastCongruentPrime