Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Logarithmic bound for a finite exponential sum

Proved
OAI.PiExponent.DeterminantAnalyticBound.log_norm_sum_le

by Yuxuan Xu · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisirrationality-measureopenai-pi-exponent-017

Let Ω\OmegaΩ be a finite index type, M>0M>0M>0 a natural number, H,Q>0H,Q>0H,Q>0 real numbers, E∈RE\in\mathbb RE∈R, and t:Ω→Ct:\Omega\to\mathbb Ct:Ω→C. Suppose ∣Ω∣≤QM|\Omega|\le Q^M∣Ω∣≤QM, δ=∑x∈Ωt(x)≠0\delta=\sum_{x\in\Omega}t(x)\ne0δ=∑x∈Ω​t(x)=0, and ∣t(x)∣≤exp⁡(MHE)|t(x)|\le\exp(MHE)∣t(x)∣≤exp(MHE) for every xxx. Then

log⁡∣δ∣MH≤E+log⁡QH.\frac{\log|\delta|}{MH}\le E+\frac{\log Q}{H}.MHlog∣δ∣​≤E+HlogQ​.

The estimate separates the exponential size of each summand from the number of summands. It is used in the analytic determinant estimates in OpenAI's PiExponent proof. No positivity hypothesis on EEE and no hypothesis Q>1Q>1Q>1 is imposed.

Preamble
import Mathlib.Algebra.MvPolynomial.Eval
import Mathlib.Algebra.Order.Antidiag.FinsuppEquiv
import Mathlib.Analysis.Asymptotics.SpecificAsymptotics
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.Analysis.Complex.TaylorSeries
import Mathlib.Analysis.Real.Pi.Bounds
import Mathlib.Analysis.SpecialFunctions.Choose
import Mathlib.Analysis.SpecialFunctions.Complex.Analytic
import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds
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.LinearAlgebra.Matrix.Determinant.Basic
import Mathlib.RingTheory.PowerSeries.Log
import Mathlib.RingTheory.PowerSeries.Order
import Mathlib.RingTheory.PowerSeries.Trunc
import Mathlib.Tactic
import Mathlib.Topology.Instances.Matrix

open scoped BigOperators


Formal statement
theorem OAI.PiExponent.DeterminantAnalyticBound.log_norm_sum_le {Ω : Type*} [Fintype Ω]
    (term : Ω → ℂ) (delta : ℂ) {M : ℕ} {H Q E : ℝ}
    (hM : 0 < M) (hH : 0 < H) (hQ : 0 < Q)
    (hcard : (Fintype.card Ω : ℝ) ≤ Q ^ M)
    (hexpansion : delta = ∑ x, term x) (hne : delta ≠ 0)
    (hterm : ∀ x, ‖term x‖ ≤ Real.exp ((M : ℝ) * H * E)) :
    Real.log ‖delta‖ / ((M : ℝ) * H) ≤ E + Real.log Q / H := by sorry
Source
https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Analysis/DeterminantAnalyticBound.lean#L105-L130

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me