Admissible bound mono
admissible_bound.mono
Plain-language statement
For positive parameters , the classical error-bound function is nonincreasing once .
Exact Lean statement
@[blueprint
"admissible-bound-monotone"
(title := "Admissible bound decreasing for large x")
(statement := /--
If $A,B,C,R > 0$ then the classical bound is monotone
decreasing for $x \geq \exp( R (2B/C)^2 )$. -/)
(proof := /-- Differentiate the bound and check the
sign. -/)
(latexEnv := "lemma")
(discussion := 900)]
lemma admissible_bound.mono
(A B C R : ℝ) (hA : 0 < A) (hB : 0 < B)
(hC : 0 < C) (hR : 0 < R) :
AntitoneOn (admissible_bound A B C R)
(Set.Ici (exp (R * (2 * B / C) ^ 2)))Formal artifact
Lean source
@[blueprint "admissible-bound-monotone" (title := "Admissible bound decreasing for large x") (statement := /-- If $A,B,C,R > 0$ then the classical bound is monotone decreasing for $x \geq \exp( R (2B/C)^2 )$. -/) (proof := /-- Differentiate the bound and check the sign. -/) (latexEnv := "lemma") (discussion := 900)]lemma admissible_bound.mono (A B C R : ℝ) (hA : 0 < A) (hB : 0 < B) (hC : 0 < C) (hR : 0 < R) : AntitoneOn (admissible_bound A B C R) (Set.Ici (exp (R * (2 * B / C) ^ 2))) := by intro a ha b _ hab simp only [admissible_bound, mul_assoc] have hua : (2 * B / C) ^ 2 ≤ log a / R := by rw [le_div_iff₀ hR, mul_comm ((2 * B / C) ^ 2), ← log_exp (R * (2 * B / C) ^ 2)] exact log_le_log (exp_pos _) (Set.mem_Ici.mp ha) have huab : log a / R ≤ log b / R := div_le_div_of_nonneg_right (log_le_log ((exp_pos _).trans_le (Set.mem_Ici.mp ha)) hab) hR.le have hua₀ : 0 < log a / R := lt_of_lt_of_le (by positivity) hua apply mul_le_mul_of_nonneg_left _ hA.le rw [rpow_def_of_pos (hua₀.trans_le huab), rpow_def_of_pos hua₀, ← exp_add, ← exp_add, exp_le_exp] let sa := (log a / R) ^ ((1 : ℝ) / 2) let sb := (log b / R) ^ ((1 : ℝ) / 2) rw [show log (log b / R) = 2 * log sb from by grind [log_rpow (hua₀.trans_le huab) ((1 : ℝ) / 2)], show log (log a / R) = 2 * log sa from by grind [log_rpow hua₀ ((1 : ℝ) / 2)]] have hsab : sa ≤ sb := rpow_le_rpow (le_trans (by positivity) hua) huab (by positivity) have : 2 * B / C ≤ sa := by rw [show (2 * B / C : ℝ) = ((2 * B / C) ^ 2) ^ ((1 : ℝ) / 2) from by rw [← rpow_natCast _ 2, ← rpow_mul (by positivity)] norm_num [rpow_one]] exact rpow_le_rpow (by positivity) hua (by positivity) suffices h : AntitoneOn (fun t ↦ 2 * B * log t - C * t) (Set.Ici (2 * B / C)) by grind [h (Set.mem_Ici.mpr this) (Set.mem_Ici.mpr (this.trans hsab)) hsab] apply antitoneOn_of_deriv_nonpos (convex_Ici _) · exact ((continuousOn_const.mul (continuousOn_log.mono fun t ht ↦ ne_of_gt ((div_pos (by positivity) hC).trans_le ht))).sub (continuousOn_const.mul continuousOn_id)) · intro t ht rw [interior_Ici] at ht exact (((hasDerivAt_log ((div_pos (by positivity) hC).trans ht).ne').const_mul _).sub ((hasDerivAt_id t).const_mul C)).differentiableAt.differentiableWithinAt · intro t ht rw [interior_Ici] at ht have hdt : HasDerivAt (fun t ↦ 2 * B * log t - C * t) (2 * B * t⁻¹ - C * 1) t := ((hasDerivAt_log ((div_pos (by positivity) hC).trans ht).ne').const_mul _).sub ((hasDerivAt_id t).const_mul C) rw [hdt.deriv, mul_one, sub_nonpos, ← div_eq_mul_inv, div_le_iff₀ ((div_pos (by positivity) hC).trans ht)] linarith [(div_lt_iff₀ hC).mp ht, mul_comm C t]- Project
- Prime Number Theorem and More
- License
- Apache-2.0
- Commit
- a93551347dce
- Source
- PrimeNumberTheoremAnd/Defs.lean:198-256
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Analytic On div Removable zero
AnalyticOn_divRemovable_zero
Plain-language statement
Let be analytic on an open set containing , and suppose . Define for and . Then the apparent singularity at is removable and is analytic throughout .
Source project: Prime Number Theorem and More
Person-level attribution pending.
Analytic On div Removable zero closed Ball
AnalyticOn_divRemovable_zero_closedBall
Plain-language statement
Suppose and is analytic on the closed disc with . Define for and . Then is analytic on the entire closed disc, including at the removed singularity.
Source project: Prime Number Theorem and More
Person-level attribution pending.
LSeries d eq riemann Zeta pow
ArithmeticFunction.LSeries_d_eq_riemannZeta_pow
Plain-language statement
The L-series of d k equals ζ(s)^k for Re(s) > 1.
Source project: Prime Number Theorem and More
Person-level attribution pending.