FormalConjectures/ErdosProblems/428.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
2 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 428
Reference: erdosproblems.com/428
Imports (1)
- def
Erdos428.primeDensityRatioThe density ratio of set $A$ up to $n$ relative to the prime counting function $\pi(n)$ line 35 sourceSource documentation
The density ratio of set $A$ up to $n$ relative to the prime counting function $\pi(n)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,RealProof uses:
HDiv.hDiv,Set.ncard,Inter.inter,Set.Icc,OfNat.ofNat,Nat.primeCounting8 instances, coercions and auxiliary constants left out.
noncomputable def primeDensityRatio (A : Set ℕ) (n : ℕ) : ℝ := …
- theorem
Erdos428.erdos_428Is there a set sorry line 43 sourceSource documentation
Is there a set $A\subseteq \mathbb{N}$ such that, for infinitely many $n$, all of $n-a$ are prime for all $a\in A$ with $0 < a < n$ and $$\liminf\frac{\lvert A\cap [1,x]\rvert}{\pi(x)}>0?$$
depends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat,And,Filter.Frequently,Membership.mem,LT.lt,OfNat.ofNat,Nat.Prime,HSub.hSub,Filter.atTop,GT.gt,Real,Filter.liminf, Erdos428.primeDensityRatioProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_428 : answer(sorry) ↔ ∃ A : Set ℕ, (∃ᶠ n in atTop, ∀ a ∈ A, 0 < a → a < n → (n - a).Prime) ∧ liminf (fun n ↦ primeDensityRatio A n) atTop > 0 := by …Mentions: Erdos428.primeDensityRatio