Positive constant for least-common-multiple estimates
DefinitionOAI_NumberTheory_PiExponent_Approximation_Arithmeticcommutative-algebranumber-theoryopenai-pi-exponent-017
The real constant lcmConstant = log 4 + 4 is positive. The definition supplies an explicit positive coefficient for subsequent bounds on logarithms of least common multiples.
Definition code
import Mathlib.Algebra.Polynomial.Eval.Subring import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.NumberTheory.Chebyshev import Mathlib.NumberTheory.Zsqrtd.GaussianInt import Mathlib.RingTheory.PowerSeries.Log import Mathlib.RingTheory.PowerSeries.Trunc import Mathlib.Tactic namespace OAI namespace PiExponent.Arithmetic noncomputable def lcmConstant : ℝ := Real.log 4 + 4 theorem lcmConstant_pos : 0 < lcmConstant := by have h : 0 < Real.log (4 : ℝ) := Real.log_pos (by norm_num) dsimp [lcmConstant] linarith end PiExponent.Arithmetic end OAI
Source
OpenAI math, commit adc7f1241b42e322a6451854ab7e4b4c146bf78a: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Approximation/Arithmetic.lean#L13-L18