The original actual single-section polynomial algebra and three-generator basis
DefinitionMazurTransfer_Order13ActualSingleSectionFiniteBasisalgebraic-geometrycommutative-algebramazur-theorem
Let be a commutative ring. In the actual ordinary order-thirteen coordinate ring set , and , and let act through . The specified algebra is . If two is a unit, then is finite and its underlying module is the span of . If is also an integral domain, the original constructor provides a basis with values , so is free of rank three. This interface supplies the polynomial-algebra and basis data used by the actual finite free level sets and FiniteMapData.
Definition code
/- Copyright (c) 2026 Vas and contributors. Released under Apache-2.0.
Design boundary: the original actual single-section polynomial algebra, its scoped actions, and its original three-generator basis constructor. The span and independence proofs consume the already Proved public finite-algebra theorems.
Named downstream consumer: actual finite free level sets and original FiniteMapData. Data constructor bodies are unchanged; selected original per-file headers are retained below. -/
/-
Copyright (c) 2026 Vas and contributors. Released under Apache-2.0.
Design boundary: the literal R[T]-subalgebra generated by p=x*t and
q=x*(p+2), with T acting by t=y+x^3+x^2+1, is finite when two is a unit.
Named downstream consumer: identifying the actual single-section affine
complement and constructing full FiniteMapData. Free rank three and the
scheme identification are separate obligations, not asserted here.
-/
import Definitions.Def_MazurTransfer_Order13CanonicalFiniteMapPrimitives
import Theorems.Thm_MazurTransfer_order13_actual_single_section_finite_coordinate_algebra
import Theorems.Thm_MazurTransfer_order13_actual_single_section_finite_coordinate_algebra_basis
noncomputable section
universe u
namespace MazurTransfer.Order13SingleSectionFiniteAlgebra
open Polynomial Submodule
open MazurTorsion.XOneThirteenAffineCurve
open MazurTransfer.Order13SingleSectionFiniteMapIdentities
variable (R : Type u) [CommRing R]
noncomputable def parameterMap : Polynomial R →+* CoordinateRing R := (aeval (t R)).toRingHom
scoped instance parameterAlgebra : Algebra (Polynomial R) (CoordinateRing R) :=
(parameterMap R).toAlgebra
scoped instance parameterSMul : SMul (Polynomial R) (CoordinateRing R) :=
(parameterAlgebra R).toSMul
scoped instance parameterModule : Module (Polynomial R) (CoordinateRing R) :=
@Algebra.toModule (Polynomial R) (CoordinateRing R) _ _ (parameterAlgebra R)
theorem parameter_algebraMap (s : Polynomial R) :
algebraMap (Polynomial R) (CoordinateRing R) s = aeval (t R) s := rfl
def generators : Set (CoordinateRing R) := {1, p R, q R}
def spanningModule : Submodule (Polynomial R) (CoordinateRing R) :=
Submodule.span (Polynomial R) (generators R)
noncomputable def candidateAlgebra : Subalgebra (Polynomial R) (CoordinateRing R) :=
Algebra.adjoin (Polynomial R) ({p R, q R} : Set (CoordinateRing R))
theorem candidateAlgebra_eq_span (h2 : IsUnit (2 : R)) :
(candidateAlgebra R).toSubmodule = spanningModule R := by
obtain ⟨B, hB, hspan, _⟩ :=
MazurTransfer.order13_actual_single_section_finite_coordinate_algebra R h2
change B = candidateAlgebra R at hB
subst B
exact hspan
theorem spanningModule_mul_closed (h2 : IsUnit (2 : R))
(v w : CoordinateRing R) (hv : v ∈ spanningModule R) (hw : w ∈ spanningModule R) :
v * w ∈ spanningModule R := by
have he : (candidateAlgebra R).toSubmodule = spanningModule R :=
candidateAlgebra_eq_span R h2
rw [← he] at hv hw ⊢
exact (candidateAlgebra R).mul_mem hv hw
theorem candidateAlgebra_finite (h2 : IsUnit (2 : R)) :
Module.Finite (Polynomial R) (candidateAlgebra R) := by
change Module.Finite (Polynomial R) (candidateAlgebra R).toSubmodule
apply Module.Finite.of_fg
rw [candidateAlgebra_eq_span R h2]
exact Submodule.fg_span (by simp [generators])
end MazurTransfer.Order13SingleSectionFiniteAlgebra
/-
Copyright (c) 2026 Vas and contributors. Released under Apache-2.0.
Design boundary: independence of actual parameter-polynomial combinations
of 1,p,q over an integral base where two is nonzero.
Named downstream consumer: the actual R[T]-basis of the finite subalgebra.
The canonical R-scalar structure is used; polynomial actions are explicit.
-/
namespace MazurTransfer.Order13SingleSectionPolynomialCombinationIndependence
open Polynomial
open MazurTorsion.XOneThirteenAffineCurve
open MazurTransfer.Order13SingleSectionFiniteMapIdentities
variable (R : Type u) [CommRing R] [IsDomain R]
def generator : Fin 3 → CoordinateRing R :=
fun i => if i = 0 then 1 else if i = 1 then p R else q R
end MazurTransfer.Order13SingleSectionPolynomialCombinationIndependence
/-
Copyright (c) 2026 Vas and contributors. Released under Apache-2.0.
Design boundary: the actual finite subalgebra has the explicit R[T]-basis
1,p,q over an integral base where two is a unit. Named downstream consumer:
finite free level sets in single-section FiniteMapData.
The parameter T acts by t. The exact affine-open identification remains separate.
-/
namespace MazurTransfer.Order13SingleSectionFiniteAlgebra
open Polynomial Module
open MazurTorsion.XOneThirteenAffineCurve
open MazurTransfer.Order13SingleSectionFiniteMapIdentities
open MazurTransfer.Order13SingleSectionPolynomialCombinationIndependence
variable (R : Type u) [CommRing R] [IsDomain R]
theorem generator_linearIndependent (h2 : IsUnit (2 : R)) :
LinearIndependent (Polynomial R) (generator R) := by
obtain ⟨B, hB, _, _, _, _, b, hzero, hone, htwo⟩ :=
MazurTransfer.order13_actual_single_section_finite_coordinate_algebra_basis R h2
change B = candidateAlgebra R at hB
subst B
have hb : (fun i : Fin 3 => (b i : CoordinateRing R)) = generator R := by
funext i; fin_cases i <;> simp [generator, hzero, hone, htwo] <;> rfl
have hi := b.linearIndependent.map' (candidateAlgebra R).val.toLinearMap
(LinearMap.ker_eq_bot.mpr Subtype.val_injective)
exact hb ▸ hi
omit [IsDomain R] in
theorem generator_range : Set.range (generator R) = generators R := by
ext z
constructor
· rintro ⟨i,rfl⟩
fin_cases i <;> simp [generator,generators]
· intro hz
simp only [generators,Set.mem_insert_iff,Set.mem_singleton_iff] at hz
rcases hz with rfl | rfl | rfl
· exact ⟨0,by simp [generator]⟩
· exact ⟨1,by simp [generator]⟩
· exact ⟨2,by simp [generator]⟩
noncomputable def candidateBasis (h2 : IsUnit (2 : R)) :
Basis (Fin 3) (Polynomial R) (candidateAlgebra R) := by
change Basis (Fin 3) (Polynomial R) (candidateAlgebra R).toSubmodule
exact (Basis.span (generator_linearIndependent R h2)).map
(LinearEquiv.ofEq _ _ (by
rw [generator_range]
exact (candidateAlgebra_eq_span R h2).symm))
theorem candidateBasis_value (h2 : IsUnit (2 : R)) (i : Fin 3) :
(candidateBasis R h2 i : CoordinateRing R) = generator R i := by
simp [candidateBasis]
theorem candidateAlgebra_free (h2 : IsUnit (2 : R)) :
Module.Free (Polynomial R) (candidateAlgebra R) := Module.Free.of_basis (candidateBasis R h2)
theorem candidateAlgebra_finrank (h2 : IsUnit (2 : R)) :
Module.finrank (Polynomial R) (candidateAlgebra R) = 3 := by
simpa using Module.finrank_eq_card_basis (candidateBasis R h2)
end MazurTransfer.Order13SingleSectionFiniteAlgebra
#print axioms MazurTransfer.Order13SingleSectionFiniteAlgebra.candidateBasis
#print axioms MazurTransfer.Order13SingleSectionFiniteAlgebra.candidateBasis_value
#print axioms MazurTransfer.Order13SingleSectionFiniteAlgebra.candidateAlgebra_eq_span
Source
Selected original declarations from MazurTheorem Order13SingleSectionFiniteAlgebra.lean, Order13SingleSectionPolynomialCombinationIndependence.lean and Order13SingleSectionFiniteAlgebraBasis.lean. Every data constructor body is unchanged, including the original basis constructor. Three proof bodies instead consume the already Proved public finite-coordinate-algebra and basis theorems and structural subalgebra operations. All eighteen original types and every data value are kernel-compared with the retained original implementation, with closed universe parameters. Complete Lean frontend ranges select original declarations; per-file headers and Apache-2.0 are retained. Named downstream consumers are the actual finite free level sets and full FiniteMapData. Vas and contributors.