cfahlgren1/math / lean /OAI /ArithmeticGeometry /Models /ModelMorphisms.lean
cfahlgren1's picture
download
raw
12.4 kB
import OAI.ArithmeticGeometry.Models.Descent
/-! # Model Morphisms -/
namespace OAI.ArithmeticGeometry.Models.ModelMorphisms.Constructions.Foundations
/-! Descent of morphisms between schemes with specified coefficient models. -/
open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite
open scoped _root_.NumberField
universe u
variable {K : Type u} [Field K]
variable {s t : Finset K} {X : Over (Spec (CommRingCat.of K))}
/-- The generic-fiber map into a base-changed model. -/
noncomputable def genericModelLift
(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) (h : s โІ t) :
X.left โŸถ ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).obj Xโ‚€).left :=
pullback.lift p (X.hom โ‰ซ CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K t) (by
erw [hp, Category.assoc, CoefficientSystem.Constructions.Foundations.genericBaseMap_comp])
@[reassoc]
theorem genericModelLift_fst
(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) (h : s โІ t) :
genericModelLift Xโ‚€ p hp h โ‰ซ pullback.fst Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h) = p :=
pullback.lift_fst _ _ _
@[reassoc]
theorem genericModelLift_snd
(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) (h : s โІ t) :
genericModelLift Xโ‚€ p hp h โ‰ซ pullback.snd Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h) =
X.hom โ‰ซ CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K t :=
pullback.lift_snd _ _ _
theorem genericModelLift_cartesian
(Xโ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (๐“ž K) K s)) (p : X.left โŸถ Xโ‚€.left)
(hp : IsPullback p X.hom Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s)) (h : s โІ t) :
IsPullback (genericModelLift Xโ‚€ p hp.w h) X.hom
((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).obj Xโ‚€).hom
(CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K t) := by
apply IsPullback.of_right ?_ (genericModelLift_snd Xโ‚€ p hp.w h)
(IsPullback.of_hasPullback Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h))
erw [genericModelLift_fst, CoefficientSystem.Constructions.Foundations.genericBaseMap_comp]
exact hp
/-- Relate the two orders of pullback used by canonical base change and the limit cone. -/
theorem genericModelLift_to_expansion
(Xโ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (๐“ž K) K s)) (p : X.left โŸถ Xโ‚€.left)
(hp : IsPullback p X.hom Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(i : Over (op s)) :
genericModelLift Xโ‚€ p hp.w (leOfHom i.hom.unop) โ‰ซ
(pullbackSymmetry Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K (leOfHom i.hom.unop))).hom =
hp.flip.isoPullback.hom โ‰ซ (Descent.Constructions.Foundations.expansionCone (๐“ž K) K s Xโ‚€).ฯ€.app i := by
apply pullback.hom_ext
ยท erw [Category.assoc, pullbackSymmetry_hom_comp_fst, genericModelLift_snd]
change X.hom โ‰ซ CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K i.left.unop =
hp.flip.isoPullback.hom โ‰ซ
(pullback.lift _ _ _ โ‰ซ pullback.fst _ _)
erw [pullback.lift_fst, โ† Category.assoc, hp.flip.isoPullback_hom_fst]
rfl
ยท erw [Category.assoc, pullbackSymmetry_hom_comp_snd, genericModelLift_fst]
change p = hp.flip.isoPullback.hom โ‰ซ
(pullback.lift _ _ _ โ‰ซ pullback.snd _ _)
erw [pullback.lift_snd, hp.flip.isoPullback_hom_snd]
/-- Extend a generic morphism to a larger model of its source, keeping the
map to the original target model. -/
theorem morphism_to_model_descends
{Y : Over (Spec (CommRingCat.of K))}
(Xโ‚€ Yโ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (๐“ž K) K s))
(hXโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Xโ‚€.hom)
(hYโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Yโ‚€.hom)
(pX : X.left โŸถ Xโ‚€.left) (pY : Y.left โŸถ Yโ‚€.left)
(hX : IsPullback pX X.hom Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(hY : IsPullback pY Y.hom Yโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(a : X โŸถ Y) :
โˆƒ (t : Finset K) (h : s โІ t)
(b : ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).obj Xโ‚€).left โŸถ Yโ‚€.left),
genericModelLift Xโ‚€ pX hX.w h โ‰ซ b = a.left โ‰ซ pY โˆง
b โ‰ซ Yโ‚€.hom = pullback.snd Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h) โ‰ซ
CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h := by
let : QuasiCompact Xโ‚€.hom := hXโ‚€.2.1
let : QuasiSeparated Xโ‚€.hom := hXโ‚€.2.2
let : LocallyOfFinitePresentation Yโ‚€.hom := hYโ‚€.1
let e : X.left โ‰… (Descent.Constructions.Foundations.expansionCone (๐“ž K) K s Xโ‚€).pt := hX.flip.isoPullback
let aโ‚€ := e.inv โ‰ซ a.left โ‰ซ pY
have haโ‚€ : aโ‚€ โ‰ซ Yโ‚€.hom = (Descent.Constructions.Foundations.expansionOverCone (๐“ž K) K s Xโ‚€).pt.hom โ‰ซ Xโ‚€.hom := by
dsimp [aโ‚€]
erw [Category.assoc, Category.assoc, hY.w, โ† Category.assoc a.left, a.w,
โ† Category.assoc, hX.flip.isoPullback_inv_fst]
exact pullback.condition
obtain โŸจi, g, hg, hgbaseโŸฉ := Descent.Constructions.Foundations.generic_morphism_descends (๐“ž K) K s Xโ‚€ Yโ‚€ aโ‚€ haโ‚€
let h : s โІ i.left.unop := leOfHom i.hom.unop
let ฯƒ := pullbackSymmetry Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)
refine โŸจi.left.unop, h, ฯƒ.hom โ‰ซ g, ?_, ?_โŸฉ
ยท erw [โ† Category.assoc, genericModelLift_to_expansion Xโ‚€ pX hX i, Category.assoc, hg]
change e.hom โ‰ซ e.inv โ‰ซ a.left โ‰ซ pY = a.left โ‰ซ pY
erw [Iso.hom_inv_id_assoc]
ยท erw [Category.assoc, hgbase]
change ฯƒ.hom โ‰ซ pullback.snd _ Xโ‚€.hom โ‰ซ Xโ‚€.hom =
pullback.snd Xโ‚€.hom _ โ‰ซ CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h
erw [โ† Category.assoc, pullbackSymmetry_hom_comp_snd]
exact pullback.condition
/-- Both source and target may be enlarged together so the descended morphism
is a morphism over one common finite coefficient ring. -/
theorem morphism_between_models_descends
{Y : Over (Spec (CommRingCat.of K))}
(Xโ‚€ Yโ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (๐“ž K) K s))
(hXโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Xโ‚€.hom)
(hYโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Yโ‚€.hom)
(pX : X.left โŸถ Xโ‚€.left) (pY : Y.left โŸถ Yโ‚€.left)
(hX : IsPullback pX X.hom Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(hY : IsPullback pY Y.hom Yโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(a : X โŸถ Y) :
โˆƒ (t : Finset K) (h : s โІ t)
(b : (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).obj Xโ‚€ โŸถ
(Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).obj Yโ‚€),
genericModelLift Xโ‚€ pX hX.w h โ‰ซ b.left =
a.left โ‰ซ genericModelLift Yโ‚€ pY hY.w h := by
obtain โŸจt, h, b, hb, hbbaseโŸฉ :=
morphism_to_model_descends Xโ‚€ Yโ‚€ hXโ‚€ hYโ‚€ pX pY hX hY a
let f := CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h
let b' : (Over.pullback f).obj Xโ‚€ โŸถ (Over.pullback f).obj Yโ‚€ :=
Over.homMk (pullback.lift b (pullback.snd Xโ‚€.hom f) hbbase)
(pullback.lift_snd b (pullback.snd Xโ‚€.hom f) hbbase)
refine โŸจt, h, b', ?_โŸฉ
apply pullback.hom_ext
ยท change genericModelLift Xโ‚€ pX hX.w h โ‰ซ b'.left โ‰ซ pullback.fst Yโ‚€.hom f =
(a.left โ‰ซ genericModelLift Yโ‚€ pY hY.w h) โ‰ซ pullback.fst Yโ‚€.hom f
erw [pullback.lift_fst, hb, Category.assoc, genericModelLift_fst]
ยท change genericModelLift Xโ‚€ pX hX.w h โ‰ซ b'.left โ‰ซ pullback.snd Yโ‚€.hom f =
(a.left โ‰ซ genericModelLift Yโ‚€ pY hY.w h) โ‰ซ pullback.snd Yโ‚€.hom f
erw [pullback.lift_snd, genericModelLift_snd, Category.assoc,
genericModelLift_snd, โ† Category.assoc, a.w]
/-- An equality of two model morphisms that holds on the generic fiber holds
after a further common enlargement of the coefficient ring. -/
theorem equation_between_models_descends
(Xโ‚€ Yโ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (๐“ž K) K s))
(hXโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Xโ‚€.hom)
(hYโ‚€ : Scheme.Constructions.Foundations.FinitePresentationMorphism Yโ‚€.hom)
(p : X.left โŸถ Xโ‚€.left)
(hp : IsPullback p X.hom Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (๐“ž K) K s))
(a b : Xโ‚€ โŸถ Yโ‚€) (hab : p โ‰ซ a.left = p โ‰ซ b.left) :
โˆƒ (t : Finset K) (h : s โІ t),
pullback.fst Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h) โ‰ซ a.left =
pullback.fst Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h) โ‰ซ b.left := by
let : QuasiCompact Xโ‚€.hom := hXโ‚€.2.1
let : LocallyOfFinitePresentation Yโ‚€.hom := hYโ‚€.1
let i : Over (op s) := Over.mk (๐Ÿ™ (op s))
let q := ((Descent.Constructions.Foundations.expansionOverDiagram (๐“ž K) K s Xโ‚€).obj i).hom
have ha : (Descent.Constructions.Foundations.expansionToBase (๐“ž K) K s Xโ‚€).app i = (q โ‰ซ a.left) โ‰ซ Yโ‚€.hom := by
change q โ‰ซ Xโ‚€.hom = (q โ‰ซ a.left) โ‰ซ Yโ‚€.hom
rw [Category.assoc, a.w]
have hb : (Descent.Constructions.Foundations.expansionToBase (๐“ž K) K s Xโ‚€).app i = (q โ‰ซ b.left) โ‰ซ Yโ‚€.hom := by
change q โ‰ซ Xโ‚€.hom = (q โ‰ซ b.left) โ‰ซ Yโ‚€.hom
rw [Category.assoc, b.w]
have hc : (Descent.Constructions.Foundations.expansionCone (๐“ž K) K s Xโ‚€).ฯ€.app i โ‰ซ (q โ‰ซ a.left) =
(Descent.Constructions.Foundations.expansionCone (๐“ž K) K s Xโ‚€).ฯ€.app i โ‰ซ (q โ‰ซ b.left) := by
have H := congrArg (fun z โ†ฆ hp.flip.isoPullback.inv โ‰ซ z) hab
erw [โ† Category.assoc, hp.flip.isoPullback_inv_snd,
โ† Category.assoc, hp.flip.isoPullback_inv_snd] at H
erw [โ† Category.assoc, ((Descent.Constructions.Foundations.expansionOverCone (๐“ž K) K s Xโ‚€).ฯ€.app i).w,
โ† Category.assoc, ((Descent.Constructions.Foundations.expansionOverCone (๐“ž K) K s Xโ‚€).ฯ€.app i).w]
exact H
obtain โŸจj, hji, hjโŸฉ := Descent.Constructions.Foundations.generic_equation_descends (๐“ž K) K s Xโ‚€ Yโ‚€ (q โ‰ซ a.left) (q โ‰ซ b.left)
ha hb hc
have H : ((Descent.Constructions.Foundations.expansionOverDiagram (๐“ž K) K s Xโ‚€).obj j).hom โ‰ซ a.left =
((Descent.Constructions.Foundations.expansionOverDiagram (๐“ž K) K s Xโ‚€).obj j).hom โ‰ซ b.left := by
erw [โ† Category.assoc, ((Descent.Constructions.Foundations.expansionOverDiagram (๐“ž K) K s Xโ‚€).map hji).w,
โ† Category.assoc, ((Descent.Constructions.Foundations.expansionOverDiagram (๐“ž K) K s Xโ‚€).map hji).w] at hj
exact hj
let h : s โІ j.left.unop := leOfHom j.hom.unop
refine โŸจj.left.unop, h, ?_โŸฉ
have H' := congrArg (fun z โ†ฆ (pullbackSymmetry Xโ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (๐“ž K) K h)).hom โ‰ซ z) H
erw [โ† Category.assoc, pullbackSymmetry_hom_comp_snd,
โ† Category.assoc, pullbackSymmetry_hom_comp_snd] at H'
exact H'
end OAI.ArithmeticGeometry.Models.ModelMorphisms.Constructions.Foundations

Xet Storage Details

Size:
12.4 kB
ยท
Xet hash:
531d9a10a89884fcaad314bae09809031af423190e4dfc56da1373f2fd4066d6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.