FLT.Assumptions.MazurProof.N13QuotientReduction source foundation
DefinitionMazurN13_FLT_Assumptions_MazurProof_N13QuotientReduction_p0mazur-torsion
Definitions and supporting proofs for the order-thirteen exclusion, retained from the indicated source commands.
Definition code
/- Port source: https://github.com/xiangyazi24/FLT @ 51bbb4f191ad0d3753b87123635c100a638ae580
Module: FLT.Assumptions.MazurProof.N13QuotientReduction
Original leading source comments and nonproject imports are retained below. -/
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13GeneralizedMumfordReduction_p0
import Mathlib.RingTheory.Ideal.Maps
import Mathlib.RingTheory.Ideal.Quotient.Operations
set_option autoImplicit false
/-!
# Reduction of N13 affine quotients
A surjective ambient reduction map descends along a literal mapped-ideal
equality. The kernel of the descended map is exactly the image of the
ambient kernel. For the N13 integral model this is the principal ideal
generated by the quotient class of `2`.
No flatness, saturation, or chosen Mumford presentation is used here.
-/
namespace MazurProof.N13QuotientReduction
noncomputable section
universe uA uS
variable {A : Type uA} {S : Type uS}
variable [CommRing A] [CommRing S]
private theorem sourceIdeal_le_ker_quotientComp
(f : A →+* S)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J) :
I ≤ RingHom.ker ((Ideal.Quotient.mk J).comp f) := by
intro a ha
rw [RingHom.mem_ker, RingHom.comp_apply,
Ideal.Quotient.eq_zero_iff_mem, ← hmap]
exact Ideal.mem_map_of_mem f ha
/-- The quotient map induced by a ring map carrying the source ideal
literally onto the target ideal. -/
def inducedQuotientMap
(f : A →+* S)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J) :
A ⧸ I →+* S ⧸ J :=
Ideal.Quotient.lift I
((Ideal.Quotient.mk J).comp f)
(sourceIdeal_le_ker_quotientComp f I J hmap)
@[simp] theorem inducedQuotientMap_mk
(f : A →+* S)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J)
(a : A) :
inducedQuotientMap f I J hmap
(Ideal.Quotient.mk I a) =
Ideal.Quotient.mk J (f a) :=
rfl
/-- Surjectivity descends to the quotient rings. -/
theorem inducedQuotientMap_surjective
(f : A →+* S)
(hf : Function.Surjective f)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J) :
Function.Surjective
(inducedQuotientMap f I J hmap) := by
unfold inducedQuotientMap
apply Ideal.Quotient.lift_surjective_of_surjective
exact Ideal.Quotient.mk_surjective.comp hf
/-- For a surjective ambient map, the quotient kernel is the image of the
ambient kernel. -/
theorem ker_inducedQuotientMap_eq_map_ker
(f : A →+* S)
(hf : Function.Surjective f)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J) :
RingHom.ker (inducedQuotientMap f I J hmap) =
Ideal.map (Ideal.Quotient.mk I) (RingHom.ker f) := by
have hkerComp :
RingHom.ker ((Ideal.Quotient.mk J).comp f) =
I ⊔ RingHom.ker f := by
calc
RingHom.ker ((Ideal.Quotient.mk J).comp f) =
Ideal.comap f
(RingHom.ker (Ideal.Quotient.mk J)) :=
(RingHom.comap_ker (Ideal.Quotient.mk J) f).symm
_ = Ideal.comap f J := by
rw [Ideal.mk_ker]
_ = Ideal.comap f (Ideal.map f I) :=
congrArg (Ideal.comap f) hmap.symm
_ = I ⊔ Ideal.comap f (⊥ : Ideal S) :=
Ideal.comap_map_of_surjective f hf I
_ = I ⊔ RingHom.ker f := by
rfl
unfold inducedQuotientMap
rw [Ideal.ker_quotient_lift, hkerComp,
Ideal.map_sup, Ideal.map_quotient_self]
simp
/-- A principal ambient kernel remains principal after quotienting. -/
theorem ker_inducedQuotientMap_eq_span
(f : A →+* S)
(hf : Function.Surjective f)
(I : Ideal A)
(J : Ideal S)
(hmap : Ideal.map f I = J)
(r : A)
(hker :
RingHom.ker f = Ideal.span ({r} : Set A)) :
RingHom.ker (inducedQuotientMap f I J hmap) =
Ideal.span
({Ideal.Quotient.mk I r} : Set (A ⧸ I)) := by
rw [ker_inducedQuotientMap_eq_map_ker
f hf I J hmap,
hker, Ideal.map_span]
simp
local instance instFactPrimeOfNatNat_fLT : Fact (Nat.Prime 2) :=
⟨Nat.prime_two⟩
abbrev R₂ : Type :=
N13GeneralizedMumfordReduction.R₂
abbrev IntegralRing : Type :=
N13GeneralizedMumfordReduction.IntegralRing
abbrev SpecialRing : Type :=
N13GeneralizedMumfordReduction.SpecialRing
/-- N13 coefficient reduction descended along a mapped-ideal equality. -/
def reduceCoordinateQuotient
(I : Ideal IntegralRing)
(J : Ideal SpecialRing)
(hmap :
Ideal.map
N13GeneralizedMumfordReduction.reduceCoordinate I =
J) :
IntegralRing ⧸ I →+* SpecialRing ⧸ J :=
inducedQuotientMap
N13GeneralizedMumfordReduction.reduceCoordinate I J hmap
@[simp] theorem reduceCoordinateQuotient_mk
(I : Ideal IntegralRing)
(J : Ideal SpecialRing)
(hmap :
Ideal.map
N13GeneralizedMumfordReduction.reduceCoordinate I =
J)
(a : IntegralRing) :
reduceCoordinateQuotient I J hmap
(Ideal.Quotient.mk I a) =
Ideal.Quotient.mk J
(N13GeneralizedMumfordReduction.reduceCoordinate a) :=
rfl
theorem reduceCoordinateQuotient_surjective
(I : Ideal IntegralRing)
(J : Ideal SpecialRing)
(hmap :
Ideal.map
N13GeneralizedMumfordReduction.reduceCoordinate I =
J) :
Function.Surjective
(reduceCoordinateQuotient I J hmap) := by
exact
inducedQuotientMap_surjective
N13GeneralizedMumfordReduction.reduceCoordinate
N13GeneralizedMumfordReduction.reduceCoordinate_surjective
I J hmap
/-- The descended N13 reduction kernel is generated by the quotient class
of the vertical parameter `2`. -/
theorem ker_reduceCoordinateQuotient
(I : Ideal IntegralRing)
(J : Ideal SpecialRing)
(hmap :
Ideal.map
N13GeneralizedMumfordReduction.reduceCoordinate I =
J) :
RingHom.ker (reduceCoordinateQuotient I J hmap) =
Ideal.span
({Ideal.Quotient.mk I
(algebraMap R₂ IntegralRing (2 : R₂))} :
Set (IntegralRing ⧸ I)) := by
exact
ker_inducedQuotientMap_eq_span
N13GeneralizedMumfordReduction.reduceCoordinate
N13GeneralizedMumfordReduction.reduceCoordinate_surjective
I J hmap
(algebraMap R₂ IntegralRing (2 : R₂))
N13GeneralizedMumfordReduction.ker_reduceCoordinate
/-- Equivalent scalar-algebra-map spelling of the same kernel. -/
theorem ker_reduceCoordinateQuotient_eq_span_two
(I : Ideal IntegralRing)
(J : Ideal SpecialRing)
(hmap :
Ideal.map
N13GeneralizedMumfordReduction.reduceCoordinate I =
J) :
RingHom.ker (reduceCoordinateQuotient I J hmap) =
Ideal.span
({algebraMap R₂ (IntegralRing ⧸ I) (2 : R₂)} :
Set (IntegralRing ⧸ I)) := by
simpa only [Ideal.Quotient.mk_algebraMap] using
ker_reduceCoordinateQuotient I J hmap
end
end MazurProof.N13QuotientReduction
Source