Finite series enclose positive logarithms
Provedmme_log_series_boundsmatrix-multiplicationtensor-extraction
A finite rational series and explicit remainder give lower and upper bounds for the real logarithm of every positive argument. The root exponent bound remains a separate obligation.
Preamble
import Mathlib.Analysis.SpecialFunctions.Log.Deriv import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Linarith open scoped BigOperators
Formal statement
theorem mme_log_series_bounds (x : ℝ) (hx : 0 < x) (n : ℕ) :
let t := (x - 1) / (x + 1)
let center := 2 * ∑ i ∈ Finset.range n, t ^ (2 * i + 1) / (2 * i + 1)
let error := 2 * (|t| ^ (2 * n + 1) / (1 - t ^ 2))
center - error ≤ Real.log x ∧ Real.log x ≤ center + error := by sorrySource
Checked tensor restrictions and released global histogram extraction.