Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Geometric weights and separated growth

Definition
OAI_NumberTheory_PiExponent_Approximation_WeightSeparation

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

number-theoryopenai-pi-exponent-017rational-approximationweighted-estimates

Let w0,v0,θ∈Rw_0,v_0,\theta\in\mathbb{R}w0​,v0​,θ∈R, let x:N→Rx:\mathbb{N}\to\mathbb{R}x:N→R, and let i,m∈Ni,m\in\mathbb{N}i,m∈N. The degree weight is w0w_0w0​ at index 000 and x(i)x(i)x(i) at every other index. The jet weight is v0v_0v0​ at index 000 and x(i)/θx(i)/\thetax(i)/θ at every other index. For C,w0,v0,θ∈RC,w_0,v_0,\theta\in\mathbb{R}C,w0​,v0​,θ∈R and m∈Nm\in\mathbb{N}m∈N, the separation factor is

C(max⁡{1,max⁡{v0,1/θ}min⁡{w0,1}})m+1.C\left(\max\left\{1,\frac{\max\{v_0,1/\theta\}}{\min\{w_0,1\}}\right\}\right)^{m+1}.C(max{1,min{w0​,1}max{v0​,1/θ}​})m+1.

Finally, SeparatedWeightGrowth(m,D,x)\mathrm{SeparatedWeightGrowth}(m,D,x)SeparatedWeightGrowth(m,D,x) means that for every integer iii with 0<i≤m0<i\le m0<i≤m,

D∏j=0i−1x(j)<x(i).D\prod_{j=0}^{i-1}x(j)<x(i).Dj=0∏i−1​x(j)<x(i).

These are four definitions: the two index-dependent weights, the separation factor, and the separated-growth predicate. They impose no positivity or existence hypotheses by themselves; such assumptions must be supplied where later results use them.

Definition code
import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise
import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.GCongr
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring






namespace OAI

namespace PiExponentApprox

noncomputable section

def geometricDegreeWeight (w0 : ℝ) (x : ℕ → ℝ) (i : ℕ) : ℝ :=
  if i = 0 then w0 else x i

def geometricJetWeight (v0 theta : ℝ) (x : ℕ → ℝ) (i : ℕ) : ℝ :=
  if i = 0 then v0 else x i / theta

def weightSeparationFactor (m : ℕ) (C w0 v0 theta : ℝ) : ℝ :=
  C * (max 1 (max v0 (1 / theta) / min w0 1)) ^ (m + 1)





def SeparatedWeightGrowth (m : ℕ) (D : ℝ) (x : ℕ → ℝ) : Prop :=
  ∀ i, 0 < i → i ≤ m → D * (∏ j ∈ Finset.range i, x j) < x i



end
end PiExponentApprox

end OAI
Source
OpenAI math, commit adc7f1241b42e322a6451854ab7e4b4c146bf78a: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Approximation/WeightSeparation.lean#L14-L108

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