Download lean/OAI/NumberTheory/Jacobsthal/Conclusions/IteratedLogBound.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.15 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/Jacobsthal/Conclusions/IteratedLogBound.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/NumberTheory/Jacobsthal/Conclusions/IteratedLogBound.lean
-
curl -L -o IteratedLogBound.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/Jacobsthal/Conclusions/IteratedLogBound.lean
3.15 kB
Lean 4 · 2
declarations statementsfull
17The strengthened main follows from the same precise survivor estimate as the old quadratic main. No strengthened conclusion is assumed here.
theorem of_source_root_lower (c : ℝ) (hc : 0 < c)
(z : ℝ → PrimeHistories.Node)
(hLower : ∀ᶠ top : ℝ in atTop, ∀ a : ℕ → ℕ,
c * ((ErdosInverseBoxHeight.sourceY top : ℝ) *
SmallSieveFinite.smallEuler ⌊ErdosInverseBoxHeight.sourceW top⌋₊ /
(ErdosInverseBoxHeight.sourceB top) ^ 2) ≤
countSurvivors (ErdosInverseBoxHeight.sourceY top)
(LargePrimeDeletion.cutoffPrimes ⌊ErdosInverseBoxHeight.sourceW top⌋₊) a
(rootVertex (z top) ∅ (sourcePrimeSet (ErdosInverseBoxHeight.sourceW top) top)
((ErdosInverseBoxHeight.sourceY top : ℝ) *
SmallSieveFinite.smallEuler ⌊ErdosInverseBoxHeight.sourceW top⌋₊))) :
Targets.JacobsthalIteratedLog := by proof · 24 lines
obtain ⟨A, hA, hbudget⟩ := IteratedLogBudget.separation c hc
have hA0 : 0 < A := by linarith
have hu := rescale_tendsto A hA
have hData : ∀ᶠ k : ℝ in atTop,
∃ m : ℕ, (∀ k' : ℕ, (k' : ℝ) = k → Targets.IsJacobsthalBound k' m) ∧
(m : ℝ) ≤ A ^ 2 * k ^ 2 / (loglog k) ^ 2 := by
filter_upwards [hu.eventually eventual_terminal_numerics,
hu.eventually JacobsthalFromRootLower.terminal_w_le_top,
hbudget, (terminal_top_tendsto.comp hu).eventually hLower] with k hn hw hb hl
refine ⟨terminalY (rescale A k), ?_, ?_⟩
· intro k' hk'
apply isJacobsthalBound_of_cutoff_lower _ _ k' hn.2.2.2.2.2.2.1
· exact cutoff_lower_of_root_lower _ hw (z (terminalTop (rescale A k))) hl
· simpa only [hk', Function.comp_def, terminalY] using hb
· calc
_ ≤ (rescale A k) ^ 2 := hn.2.2.2.2.2.1
_ = A ^ 2 * k ^ 2 / (loglog k) ^ 2 := by
simp only [rescale, div_pow, mul_pow]
apply IteratedLogFinite.of_eventually
refine ⟨A ^ 2, sq_pos_of_pos hA0, ?_⟩
filter_upwards [(tendsto_natCast_atTop_atTop : Tendsto (fun k : ℕ => (k : ℝ))
atTop atTop).eventually hData] with k hk
obtain ⟨m, hm, hb⟩ := hk
exact ⟨m, hm k rfl, hb⟩59Manuscript 293, strengthened Theorem 1.1, revision ad16712e7b45.
theorem erdos_970_iterated_log : NumberTheoryLean.Targets.JacobsthalIteratedLog := by proof · 3 lines
obtain ⟨c, hc, hLower⟩ := source_root_survivor_lower
exact NumberTheoryLean.IteratedLogBound.of_source_root_lower c hc
(ErdosCorrectionLimit.sourceRootNode (1 / 100)) hLowerOutline