math / data /lean /OAI /ArithmeticGeometry /Models /BaseChange.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
7.63 kB
import OAI.ArithmeticGeometry.Models.ModelMorphisms
/-! # Base Change -/
namespace OAI.ArithmeticGeometry.Models.BaseChange.Constructions.Foundations
/-! Compatibility of coefficient enlargement with model maps and morphisms. -/
open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry
open scoped _root_.NumberField
universe u
noncomputable def iteratedBaseChangeIso {S T U : Scheme.{u}}
(f : T ⟢ S) (g : U ⟢ T) (X : Over S) :
(Over.pullback g).obj ((Over.pullback f).obj X) β‰…
(Over.pullback (g ≫ f)).obj X :=
Over.isoMk (pullbackLeftPullbackSndIso X.hom f g)
(pullbackLeftPullbackSndIso_hom_snd X.hom f g)
@[reassoc]
theorem baseChangeCongr_hom_fst {S T : Scheme.{u}} {f g : T ⟢ S}
(h : f = g) (X : Over S) :
(Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.fst X.hom g = pullback.fst X.hom f := by
subst g
exact Category.id_comp _
@[reassoc]
theorem baseChangeCongr_hom_snd {S T : Scheme.{u}} {f g : T ⟢ S}
(h : f = g) (X : Over S) :
(Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.snd X.hom g = pullback.snd X.hom f := by
subst g
exact Category.id_comp _
variable {K : Type u} [Field K] {s t v : Finset K}
theorem coefficientBaseChangeTransSquare
(hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
IsPullback
(pullback.fst (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) ≫
pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(pullback.snd (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv))
Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) := by
have H := (IsPullback.of_hasPullback
(pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv)).paste_horiz
(IsPullback.of_hasPullback Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
erw [CoefficientSystem.Constructions.Foundations.coefficientBaseMap_comp] at H
exact H
noncomputable def coefficientBaseChangeTrans
(hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
(Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv)).obj
((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).obj Xβ‚€) β‰…
(Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv))).obj Xβ‚€ :=
Over.isoMk (coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback
(coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback_hom_snd
@[reassoc]
theorem coefficientBaseChangeTrans_hom_fst
(hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
(coefficientBaseChangeTrans hst htv Xβ‚€).hom.left ≫
pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) =
pullback.fst (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) ≫
pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) :=
(coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback_hom_fst
@[reassoc]
theorem coefficientBaseChangeTrans_hom_snd
(hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
(coefficientBaseChangeTrans hst htv Xβ‚€).hom.left ≫
pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) =
pullback.snd (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
(CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) :=
(coefficientBaseChangeTrans hst htv Xβ‚€).hom.w
/-- Successive coefficient enlargement has the same generic map as direct enlargement. -/
theorem genericModelLift_trans
{X : Over (Spec (CommRingCat.of K))}
(Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) (p : X.left ⟢ Xβ‚€.left)
(hp : p ≫ Xβ‚€.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
(hst : s βŠ† t) (htv : t βŠ† v) :
ModelMorphisms.Constructions.Foundations.genericModelLift ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).obj Xβ‚€)
(ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ p hp hst) (ModelMorphisms.Constructions.Foundations.genericModelLift_snd Xβ‚€ p hp hst) htv ≫
(coefficientBaseChangeTrans hst htv Xβ‚€).hom.left =
ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ p hp (hst.trans htv) := by
apply pullback.hom_ext (f := Xβ‚€.hom)
(g := CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv))
Β· erw [Category.assoc, coefficientBaseChangeTrans_hom_fst, ← Category.assoc,
ModelMorphisms.Constructions.Foundations.genericModelLift_fst, ModelMorphisms.Constructions.Foundations.genericModelLift_fst, ModelMorphisms.Constructions.Foundations.genericModelLift_fst]
Β· erw [Category.assoc, coefficientBaseChangeTrans_hom_snd,
ModelMorphisms.Constructions.Foundations.genericModelLift_snd, ModelMorphisms.Constructions.Foundations.genericModelLift_snd]
/-- Base change preserves the compatibility of a model morphism with its generic fiber. -/
theorem genericModelLift_map
{X Y : Over (Spec (CommRingCat.of K))}
(Xβ‚€ Yβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s))
(pX : X.left ⟢ Xβ‚€.left) (pY : Y.left ⟢ Yβ‚€.left)
(hX : pX ≫ Xβ‚€.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
(hY : pY ≫ Yβ‚€.hom = Y.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
(a : X ⟢ Y) (b : Xβ‚€ ⟢ Yβ‚€) (hab : pX ≫ b.left = a.left ≫ pY) (hst : s βŠ† t) :
ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ pX hX hst ≫
((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map b).left =
a.left ≫ ModelMorphisms.Constructions.Foundations.genericModelLift Yβ‚€ pY hY hst := by
apply pullback.hom_ext
Β· erw [Category.assoc, pullback.lift_fst, ← Category.assoc,
ModelMorphisms.Constructions.Foundations.genericModelLift_fst, hab, Category.assoc, ModelMorphisms.Constructions.Foundations.genericModelLift_fst]
Β· erw [Category.assoc, pullback.lift_snd, ModelMorphisms.Constructions.Foundations.genericModelLift_snd,
Category.assoc, ModelMorphisms.Constructions.Foundations.genericModelLift_snd, ← Category.assoc, a.w]
end OAI.ArithmeticGeometry.Models.BaseChange.Constructions.Foundations