FormalConjectures/ErdosProblems/1062.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
5 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 1062
Reference: erdosproblems.com/1062
Imports (1)
- def
Erdos1062.ForkFreeA setAof positive integers is fork-free if no element divides two distinct other elements ofAline 35 sourceSource documentation
A set
Aof positive integers is fork-free if no element divides two distinct other elements ofA.no axioms what this means
Statement uses:
Set,NatProof uses:
Membership.mem,Set.Subsingleton,Set.ofPred,And,SDiff.sdiff,Singleton.singleton,Dvd.dvd4 instances, coercions and auxiliary constants left out.
def ForkFree (A : Set ℕ) : Prop := …
- def
Erdos1062.fThe extremal function from Erdős problem 1062: the largest size of a fork-free subset of{1,...,n}line 40 sourceSource documentation
The extremal function from Erdős problem 1062: the largest size of a fork-free subset of
{1,...,n}.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.findGreatest,Exists,Set,And,LE.le,Set.Icc,OfNat.ofNat, Erdos1062.ForkFree,Eq,Set.ncard,Classical.propDecidable3 instances, coercions and auxiliary constants left out.
noncomputable def f (n : ℕ) : ℕ := …
- theorem
Erdos1062.erdos_1062.parts.iiErdős asked whether the limiting densityf n / nexists and, if so, whether it is irrational sorry line 49 sourceSource documentation
Erdős asked whether the limiting density
f n / nexists and, if so, whether it is irrational.depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,And,Filter.Tendsto,Nat,HDiv.hDiv, Erdos1062.f,Filter.atTop,nhds,IrrationalProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat19 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1062.parts.ii : answer(sorry) ↔ ∃ l, Tendsto (fun n => (f n : ℝ) / n) atTop (𝓝 l) ∧ Irrational l := by …Mentions: Erdos1062.f
- theorem
Erdos1062.erdos_1062.variants.lower_boundThe interval[⌊n/3⌋, n]is fork-free, and thereforef nis at least⌈2n / 3⌉line 55 sourceSource documentation
The interval
[⌊n/3⌋, n]is fork-free, and thereforef nis at least⌈2n / 3⌉.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Nat.ceil,Real,HDiv.hDiv,HMul.hMul,OfNat.ofNat, Erdos1062.fProof uses:
Eq,rfl,Finset,Finset.Icc,HAdd.hAdd,Trans.trans,HSub.hSub,Eq.mpr,congrArg,propext,Nat.ceil_le,Nat.cast_sub,Decidable.byContradiction,Not,le_sub_iff_add_le,le_imp_le_of_le_of_le,add_le_add,le_refl,Nat.cast_div_le,le_of_eqand 88 more131 instances, coercions and auxiliary constants left out.
Tactic trace: 22 steps
Open to load the checked before-and-after goal states.
theorem erdos_1062.variants.lower_bound (n : ℕ) : ⌈(2 * n / 3 : ℝ)⌉₊ ≤ f n := by …
Mentions: Erdos1062.f
- theorem
Erdos1062.erdos_1062.variants.lebensold_boundsLebensold proved that for largen, the functionf nlies between0.6725 nand0.6736 nsorry line 82 sourceSource documentation
Lebensold proved that for large
n, the functionf nlies between0.6725 nand0.6736 n.depends on sorry what this means
Statement uses:
Filter.Eventually,Nat,And,LE.le,Real,HMul.hMul,OfScientific.ofScientific,Bool.true, Erdos1062.f,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1062.variants.lebensold_bounds : ∀ᶠ n in atTop, (0.6725 : ℝ) * n ≤ f n ∧ f n ≤ (0.6736 : ℝ) * n := by …Mentions: Erdos1062.f