Is Big O nat Top of at Top
BrunTitchmarsh.IsBigO.nat_Top_of_atTop
Plain-language statement
Suppose sequences satisfy as , and whenever . Then a single constant bounds by that constant times for every natural number , not only for all sufficiently large .
Exact Lean statement
theorem IsBigO.nat_Top_of_atTop (f g : ℕ → ℝ) (h : f =O[Filter.atTop] g)
(h0 : ∀ n, g n = 0 → f n = 0) : f =O[⊤] gFormal artifact
Lean source
theorem IsBigO.nat_Top_of_atTop (f g : ℕ → ℝ) (h : f =O[Filter.atTop] g) (h0 : ∀ n, g n = 0 → f n = 0) : f =O[⊤] g := by simp only [Asymptotics.isBigO_top, Real.norm_eq_abs] rw [Asymptotics.isBigO_atTop_iff_eventually_exists] at h simp only [ge_iff_le, Real.norm_eq_abs, Filter.eventually_atTop] at h obtain ⟨N, hN⟩ := h specialize hN N le_rfl obtain ⟨c, hc⟩ := hN let C := Finset.max' (insert c ((Finset.range N).image (fun n ↦ |f n| * |g n|⁻¹))) (by simp) refine ⟨C, fun n ↦ ?_⟩ by_cases hn : N ≤ n · calc |f n| ≤ c * |g n| := hc n hn _ ≤ C * |g n| := by gcongr apply Finset.le_max' simp · by_cases hg : g n = 0 · simp [hg, h0] rw [← mul_inv_le_iff₀] · apply Finset.le_max' simp only [Finset.mem_insert, Finset.mem_image, Finset.mem_range] exact .inr ⟨n, by omega, rfl⟩ · simp [hg]- Project
- Prime Number Theorem and More
- License
- Apache-2.0
- Commit
- a93551347dce
- Source
- PrimeNumberTheoremAnd/BrunTitchmarsh.lean:400-422
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
Admissible bound mono
admissible_bound.mono
Plain-language statement
For positive parameters , the classical error-bound function is nonincreasing once .
Source project: Prime Number Theorem and More
Person-level attribution pending.
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.