Normalized logarithmic denominator weights
DefinitionOAI_NumberTheory_PiExponent_Approximation_SuccessiveApproximationsdefinitionnumber-theoryopenai-pi-exponent-017
For any sequence q : ℕ → ℕ, normalizedLogWeights(q) is a function from ℕ to ℝ defined by normalizedLogWeights(q, 0) = 1 and normalizedLogWeights(q, n + 1) = Nat.ceil(log(q(n))), with the natural number ceiling coerced to ℝ. The zero-index value is exactly 1; every successor value is the ceiling of the logarithm of the preceding denominator. This is a definition only: it assumes no positivity condition on q and asserts no existence of an approximating sequence.
Definition code
import Mathlib.Algebra.MvPolynomial.Eval import Mathlib.Algebra.Order.Antidiag.FinsuppEquiv import Mathlib.Analysis.Asymptotics.SpecificAsymptotics import Mathlib.Analysis.Real.Pi.Bounds import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds import Mathlib.Analysis.SpecificLimits.Basic import Mathlib.Analysis.SpecificLimits.Normed import Mathlib.RingTheory.PowerSeries.Order import Mathlib.RingTheory.PowerSeries.Trunc import Mathlib.Tactic namespace OAI namespace PiExponent noncomputable def normalizedLogWeights (q : ℕ → ℕ) : ℕ → ℝ | 0 => 1 | n + 1 => (Nat.ceil (Real.log (q n)) : ℝ) end PiExponent end OAI
Source