Parameter record for exponent-gapped rational approximants
DefinitionOAI_NumberTheory_PiExponent_Approximation_Parametersnumber-theoryopenai-pi-exponent-017rational-approximationreal-analysis
For a real parameter , the structure stores rational numbers and a real number satisfying , , , , , , , and . The staged bundle includes the structure and its generated constructor and recursors, together with the theorem that every has . This statement describes the contents of an existing record; it does not assert that such a record exists for every .
Definition code
import Mathlib.Algebra.MvPolynomial.Eval
import Mathlib.Algebra.Order.Antidiag.FinsuppEquiv
import Mathlib.Analysis.Asymptotics.SpecificAsymptotics
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
structure Parameters (ν : ℝ) where
theta : ℚ
A : ℚ
B : ℚ
C : ℚ
eta : ℝ
theta_pos : 0 < (theta : ℝ)
theta_lt_A : (theta : ℝ) < A
A_lt_B : (A : ℝ) < B
B_lt_one : (B : ℝ) < 1
approximation_gap : 1 - (theta : ℝ) < ν * ((A : ℝ) - theta)
one_lt_C : 1 < (C : ℝ)
B_lt_inv_C : (B : ℝ) < 1 / C
B_lt_C_theta : (B : ℝ) < (C : ℝ) * theta
C_theta_lt_one : (C : ℝ) * theta < 1
eta_pos : 0 < eta
eta_lt_one : eta < 1
gap_pos : 0 < ν * ((A : ℝ) * (1 - eta) - theta) - (1 - theta)
namespace Parameters
variable {ν : ℝ} (p : Parameters ν)
theorem A_pos : 0 < (p.A : ℝ) := lt_trans p.theta_pos p.theta_lt_A
end Parameters
end PiExponent
end OAI
Source
OpenAI math, commit adc7f1241b42e322a6451854ab7e4b4c146bf78a: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Approximation/Parameters.lean#L93-L124