Download data/lean/OAI/ArithmeticGeometry/Models/FiniteEquations.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.24 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/Models/FiniteEquations.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/ArithmeticGeometry/Models/FiniteEquations.lean
-
curl -L -o FiniteEquations.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/Models/FiniteEquations.lean
4.24 kB
| import OAI.ArithmeticGeometry.Models.BaseChange | |
| /-! # Finite Equations -/ | |
| namespace OAI.ArithmeticGeometry.Models.FiniteEquations.Constructions.Foundations | |
| /-! Simultaneous preservation of finitely many generic equations. -/ | |
| open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry | |
| open scoped _root_.NumberField | |
| universe u v w | |
| variable {K : Type u} [Field K] {s t z : Finset K} | |
| theorem equation_survives_enlargement | |
| (hst : s β t) (htz : t β z) | |
| (Xβ Yβ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π K) K s)) (a b : Xβ βΆ Yβ) | |
| (hab : pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst) β« a.left = | |
| pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst) β« b.left) : | |
| pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K (hst.trans htz)) β« a.left = | |
| pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K (hst.trans htz)) β« b.left := by | |
| let : Epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Xβ).hom.left := by | |
| change Epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTransSquare hst htz Xβ).isoPullback.hom | |
| infer_instance | |
| apply (cancel_epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Xβ).hom.left).mp | |
| erw [β Category.assoc, BaseChange.Constructions.Foundations.coefficientBaseChangeTrans_hom_fst, | |
| β Category.assoc, BaseChange.Constructions.Foundations.coefficientBaseChangeTrans_hom_fst, Category.assoc, Category.assoc, hab] | |
| theorem baseChange_map_eq_of_fst_eq | |
| (hst : s β t) (Xβ Yβ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π K) K s)) (a b : Xβ βΆ Yβ) | |
| (hab : pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst) β« a.left = | |
| pullback.fst Xβ.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst) β« b.left) : | |
| (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst)).map a = | |
| (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst)).map b := by | |
| apply Over.OverMorphism.ext | |
| apply pullback.hom_ext | |
| Β· erw [pullback.lift_fst, pullback.lift_fst] | |
| exact hab | |
| Β· erw [pullback.lift_snd, pullback.lift_snd] | |
| /-- Finitely many equations holding on the generic fiber hold at one common stage. -/ | |
| theorem finite_equations_descend | |
| {I : Type v} {E : Type w} [Finite E] | |
| (src dst : E β I) | |
| (X : I β Over (Spec (CommRingCat.of K))) | |
| (Xβ : I β Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π K) K s)) | |
| (hXβ : β i, Scheme.Constructions.Foundations.FinitePresentationMorphism (Xβ i).hom) | |
| (p : β i, (X i).left βΆ (Xβ i).left) | |
| (hp : β i, IsPullback (p i) (X i).hom (Xβ i).hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (π K) K s)) | |
| (a b : β e, Xβ (src e) βΆ Xβ (dst e)) | |
| (hab : β e, p (src e) β« (a e).left = p (src e) β« (b e).left) : | |
| β (t : Finset K) (hst : s β t), | |
| β e, (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst)).map (a e) = | |
| (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π K) K hst)).map (b e) := by | |
| classical | |
| let : Fintype E := Fintype.ofFinite E | |
| choose t ht heq using fun e β¦ ModelMorphisms.Constructions.Foundations.equation_between_models_descends | |
| (Xβ (src e)) (Xβ (dst e)) (hXβ (src e)) (hXβ (dst e)) | |
| (p (src e)) (hp (src e)) (a e) (b e) (hab e) | |
| let z := s βͺ Finset.univ.biUnion t | |
| have htz (e : E) : t e β z := | |
| (Finset.subset_biUnion_of_mem t (Finset.mem_univ e)).trans Finset.subset_union_right | |
| refine β¨z, Finset.subset_union_left, fun e β¦ ?_β© | |
| apply baseChange_map_eq_of_fst_eq | |
| exact equation_survives_enlargement (ht e) (htz e) (Xβ (src e)) (Xβ (dst e)) | |
| (a e) (b e) (heq e) | |
| end OAI.ArithmeticGeometry.Models.FiniteEquations.Constructions.Foundations | |