Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The original bases for polynomial power substitution

Definition
MazurTransfer_PolynomialPowerSubstitutionBasis

by Vas · Oct 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

commutative-algebramazur-theorempolynomials

Let RRR be a nontrivial commutative ring and n>0n>0n>0. The action T↦XnT\mapsto X^nT↦Xn gives the specified basis of R[X]R[X]R[X] of size nnn over R[T]R[T]R[T]. More generally, a specified polynomial basis indexed by III for a parameter fff induces the original basis indexed by Fin⁡(n)×I\operatorname{Fin}(n)\times IFin(n)×I for the parameter fnf^nfn. These constructors increase the degree of actual order-thirteen finite-map data.

Definition code
/-
Copyright (c) 2026 Vas and contributors. Released under Apache-2.0.
Design boundary: a monic presentation gives the polynomial power-substitution
basis, and scalar towers raise any existing polynomial basis by a factor n.
Named downstream consumers: both actual order-13 parameter powers and their
level-set bases in arbitrarily large whole-curve FiniteMapData.
-/
import Definitions.Def_MazurTransfer_PolynomialPowerSubstitutionEquiv

noncomputable section
universe u v
namespace MazurTransfer.PolynomialPowerSubstitutionBasis
open Polynomial Module
open PolynomialPowerSubstitutionPresentation
variable (R : Type u) [CommRing R] [Nontrivial R] (n : ℕ)

def powerBasis (hn : n ≠ 0) : Basis (Fin n) (Source R n) (Polynomial R) := by
  letI : Nontrivial (Source R n) := inferInstanceAs (Nontrivial (Polynomial R))
  have hd : (relation R n).natDegree = n := natDegree_X_pow_sub_C
  let b := (AdjoinRoot.powerBasis' (monic_X_pow_sub_C (sourceX R n) hn)).basis
  exact (b.map (presentationEquiv R n).toLinearEquiv).reindex (finCongr hd)

variable {A : Type u} [CommRing A] [Algebra R A] {ι : Type v}

def raisedBasis (f : A)
    (b : letI : Algebra (Polynomial R) A := (aeval f).toRingHom.toAlgebra
      Basis ι (Polynomial R) A) (hn : n ≠ 0) :
    letI : Algebra (Polynomial R) A := (aeval (f^n)).toRingHom.toAlgebra
    Basis (Fin n × ι) (Polynomial R) A := by
  letI : Algebra (Polynomial R) A := (aeval f).toRingHom.toAlgebra
  letI : Algebra (Source R n) A := ((aeval f).toRingHom.comp (powerMap R n)).toAlgebra
  letI : IsScalarTower (Source R n) (Polynomial R) A :=
    IsScalarTower.of_algebraMap_eq fun _ => rfl
  let bp : Basis (Fin n × ι) (Source R n) A := (powerBasis R n hn).smulTower b
  letI : Algebra (Polynomial R) A := (aeval (f^n)).toRingHom.toAlgebra
  let e : Source R n ≃+* Polynomial R := RingEquiv.refl (Polynomial R)
  refine bp.mapCoeffs e ?_
  intro c x
  change aeval (f^n) c * x = aeval f (powerMap R n c) * x
  change aeval (f^n) c * x = aeval f (c.comp ((X : Polynomial R)^n)) * x
  let p : Polynomial R := c
  change aeval (f^n) p * x = aeval f (p.comp ((X : Polynomial R)^n)) * x
  rw [aeval_comp, map_pow, aeval_X]

end MazurTransfer.PolynomialPowerSubstitutionBasis
#print axioms MazurTransfer.PolynomialPowerSubstitutionBasis.raisedBasis
Source
MazurTheorem, Apache-2.0, Vas and contributors. Two original constructors from PolynomialPowerSubstitutionBasis.lean, with unchanged bodies and only the import replaced by the public presentation-equivalence interface. Both original closed types and both original data values are compared in the kernel. Native, strict and full frontend checks pass with standard axioms only. Named downstream consumers: the actual first- and inverse-chart parameter powers and arbitrarily-large integral FiniteMapData.

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