Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Polynomial translation and finite multi-index data

Definition
OAI_NumberTheory_PiExponent_Approximation_RowTranslation_CoreData

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

linear-algebranumber-theoryopenai-pi-exponent-017polynomial

Let RRR be a commutative semiring and σ\sigmaσ an index type. For c:σ→Rc:\sigma\to Rc:σ→R, define the polynomial translation homomorphism and its monomial coefficient by

τc(Xi)=Xi+ci,Sc(β,a)=[Xβ]τc(Xa).\tau_c(X_i)=X_i+c_i,\qquad S_c(\beta,a)=[X^\beta]\tau_c(X^a).τc​(Xi​)=Xi​+ci​,Sc​(β,a)=[Xβ]τc​(Xa).

Here a,β:σ→0Na,\beta:\sigma\to_0\mathbb Na,β:σ→0​N are finitely supported exponent vectors. When σ\sigmaσ is finite, the finite multi-index map converts a:σ→Na:\sigma\to\mathbb Na:σ→N to the same vector viewed as a finitely supported function. These are the original data used to expand shifted interpolation polynomials.

Definition code
import Mathlib.Algebra.MvPolynomial.Eval
import Mathlib.Algebra.Order.Antidiag.FinsuppEquiv

namespace OAI

namespace PiExponent.RowTranslation

open scoped BigOperators
open MvPolynomial

section PolynomialShift
variable {σ R : Type*} [CommSemiring R]

noncomputable def shift (c : σ → R) : MvPolynomial σ R →+* MvPolynomial σ R :=
  eval₂Hom C (fun i => X i + C (c i))

noncomputable def shiftCoefficient (c : σ → R) (β a : σ →₀ ℕ) : R :=
  (shift c (monomial a 1)).coeff β

end PolynomialShift

section FiniteExpansion
variable {σ R : Type*} [Fintype σ] [DecidableEq σ] [CommSemiring R]

noncomputable def multiIndex (a : σ → ℕ) : σ →₀ ℕ := Finsupp.equivFunOnFinite.symm a

end FiniteExpansion

end PiExponent.RowTranslation

end OAI
Source
OpenAI math, commit adc7f1241b42e322a6451854ab7e4b4c146bf78a: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/Approximation/RowTranslation.lean#L13-L68

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