Download data/lean/OAI/ArithmeticGeometry/Models/BaseChange.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.63 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/Models/BaseChange.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/ArithmeticGeometry/Models/BaseChange.lean
-
curl -L -o BaseChange.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/Models/BaseChange.lean
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 | |