Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Original literal analytic row choices and summand data

Definition
OAI_NumberTheory_PiExponent_Analysis_LiteralAnalyticSummand_InterfaceData

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

number-theoryopenai-pi-exponent-017power-series

For the original admissible fixed data ddd, height HHH, row rrr, and column selection, define the finite transverse indices, row choices and choice families used in the literal determinant expansion. The weights are w=log⁡qw=\log qw=logq, wt⁡w(a)=∑iwiai\operatorname{wt}_w(a)=\sum_i w_i a_iwtw​(a)=∑i​wi​ai​, and the logarithmic period is ω=2πi\omega=2\pi iω=2πi. Define the period series jω+log⁡(1+X)j\omega+\log(1+X)jω+log(1+X), translated monomials, the truncation tail and the original binomial row scalar. The functions β\betaβ, rowWeight, indexWeight, choiceScalar and choiceMatrix retain exactly their original source types and formulas. These seventeen definitions state the immediate analytic-minor and summand-bound interfaces; this package asserts no estimate, limit or determinant theorem.

Definition code
import Mathlib.Tactic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Analysis.SpecificLimits.Basic
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Analysis.Asymptotics.SpecificAsymptotics
import Mathlib.Algebra.Order.Antidiag.FinsuppEquiv
import Mathlib.Algebra.MvPolynomial.Eval
import Mathlib.RingTheory.PowerSeries.Order
import Mathlib.RingTheory.PowerSeries.Trunc
import Mathlib.RingTheory.PowerSeries.Log
import Definitions.Def_OAI_NumberTheory_PiExponent_Analysis_AnalyticAggregate_RemainderData
import Definitions.Def_OAI_NumberTheory_PiExponent_Approximation_RowTranslation_CoreData


namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def beta {nu : ℝ} (d : FixedData nu) {H : ℝ} (r : Row d H) : Fin d.m →₀ ℕ :=
  InterpolationMatrix.exponentVector (fun i => r.2.1 i.succ)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def fixedWeights {nu : ℝ} (d : FixedData nu) : Fin d.m → ℝ :=
  MatrixArithmetic.logWeights (finiteDenominators d)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.MatrixTranslation

open scoped BigOperators
open MvPolynomial
open RowTranslation

noncomputable def periodCoordinate (j : ℕ) (ω : ℂ) : PowerSeries ℂ :=
  PowerSeries.C ((j : ℂ) * ω) + PowerSeries.log ℂ

end OAI.PiExponent.MatrixTranslation

namespace OAI.PiExponent.MatrixTranslation

open scoped BigOperators
open MvPolynomial
open RowTranslation

noncomputable def transverseIndices {m : ℕ} (w : Fin m → ℝ) (H : ℝ) :
    Finset (Fin m →₀ ℕ) :=
  (PiExponent.realWeightedSimplex w H).map Finsupp.equivFunOnFinite.symm.toEmbedding

end OAI.PiExponent.MatrixTranslation

namespace OAI.PiExponent.MatrixTranslationBounds

open scoped BigOperators
open RowTranslation

noncomputable def weight {σ : Type*} [Fintype σ] (w : σ → ℝ) (a : σ → ℕ) : ℝ :=
  ∑ i, w i * a i

end OAI.PiExponent.MatrixTranslationBounds

namespace OAI.PiExponent.RowTranslation

open scoped BigOperators
open MvPolynomial
variable {σ : Type*} [Fintype σ] [DecidableEq σ]

abbrev RowChoices (S : Finset (σ →₀ ℕ)) (β : σ →₀ ℕ) (s : ℕ) :=
  Σ a : S, (∀ i, Fin (a.1 i - β i + 1)) × Fin (s + 1)

end OAI.PiExponent.RowTranslation

namespace OAI.PiExponent.RowTranslation

open scoped BigOperators
open MvPolynomial
variable {σ R : Type*} [Fintype σ] [DecidableEq σ] [CommRing R]

noncomputable def rowScalar (ε : σ → R) (τ : σ → PowerSeries R)
    (β a : σ →₀ ℕ) (d : ∀ i, Fin (a i - β i + 1)) (k : ℕ) : R :=
  ((∏ i, (a i).choose (β i) * (a i - β i).choose (d i) : ℕ) : R) *
    (∏ i, ε i ^ (a i - β i - d i)) *
      PowerSeries.coeff k (∏ i, τ i ^ (d i : ℕ))

end OAI.PiExponent.RowTranslation

namespace OAI.PiExponent.RowTranslation

open scoped BigOperators
open MvPolynomial
variable {R : Type*} [CommRing R]

noncomputable def tail (T : ℕ) (f : PowerSeries R) : PowerSeries R :=
  (PowerSeries.trunc T f : PowerSeries R) - f

end OAI.PiExponent.RowTranslation

namespace OAI.PiExponent



noncomputable def logarithmicPeriod : ℂ := 2 * (Real.pi : ℂ) * Complex.I

end OAI.PiExponent

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

abbrev RowChoice {nu : ℝ} (d : FixedData nu) (H : ℝ) (r : Row d H) :=
  RowTranslation.RowChoices (MatrixTranslation.transverseIndices (fixedWeights d) H)
    (beta d r) (r.2.1 0)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

abbrev Transverse {nu : ℝ} (d : FixedData nu) (H : ℝ) :=
  ↥(MatrixTranslation.transverseIndices (fixedWeights d) H)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def rowWeight {nu : ℝ} (d : FixedData nu) {H : ℝ} (r : Row d H) : ℝ :=
  MatrixTranslationBounds.weight (fixedWeights d) (fun i => beta d r i)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.MatrixTranslation

open scoped BigOperators
open MvPolynomial
open RowTranslation

noncomputable def periodMonomial {m : ℕ} (j : ℕ) (ω : ℂ) (h : ℕ)
    (a : Fin m → ℕ) : MvPolynomial (Fin m) (PowerSeries ℂ) :=
  C ((1 + PowerSeries.X) ^ h) *
    ∏ i, (C (periodCoordinate j ω) + X i) ^ a i

end OAI.PiExponent.MatrixTranslation

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

abbrev ChoiceFamily {nu : ℝ} (d : FixedData nu) (H : ℝ) :=
  ∀ r : Row d H, RowChoice d H r

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def choiceScalar {nu : ℝ} (d : FixedData nu) {H : ℝ}
    (r : Row d H) (t : RowChoice d H r) : ℂ :=
  RowTranslation.rowScalar
    (fun i => (r.1.val : ℂ) *
      (MatrixArithmetic.rationalCenters (finiteNumerators d) (finiteDenominators d) i - logarithmicPeriod))
    (fun i => RowTranslation.tail
      (MatrixArithmetic.truncationOrders (finiteDenominators d) d.F0 d.v0 i) (PowerSeries.log ℂ))
    (beta d r) t.1.1 t.2.1 t.2.2

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def indexWeight {nu : ℝ} (d : FixedData nu) {H : ℝ} (a : Transverse d H) : ℝ :=
  MatrixTranslationBounds.weight (fixedWeights d) (fun i => a.1 i)

end OAI.PiExponent.LiteralAnalytic

namespace OAI.PiExponent.LiteralAnalytic

open scoped BigOperators
open DeterminantContradiction

noncomputable def choiceMatrix {nu : ℝ} (d : FixedData nu) {H : ℝ}
    (selection : Row d H → Column d H) (f : ChoiceFamily d H) : Matrix (Row d H) (Row d H) ℂ :=
  fun r c => PowerSeries.coeff (r.2.1 0 - (f r).2.2)
    ((MatrixTranslation.periodMonomial r.1.val logarithmicPeriod
      ((selection c).1 0) (fun i => (selection c).1 i.succ)).coeff (f r).1.1)

end OAI.PiExponent.LiteralAnalytic
Source
https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Analysis/LiteralAnalyticSummand.lean#L12-L47

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