Lean 4 · 13
declarations statementsfull
20The subalgebra generated by a finite set of coefficients.
noncomputable abbrev coefficientRing (s : Finset K) : Subalgebra R K := body · 1 line
Algebra.adjoin R (s : Set K)24Inclusions of finite coefficient sets give inclusions of coefficient rings.
noncomputable def coefficientDiagram : Finset K ⥤ CommRingCat.{u} where body · 5 lines
obj s := CommRingCat.of (coefficientRing R K s)
map h := CommRingCat.ofHom
(Subalgebra.inclusion (Algebra.adjoin_mono (Finset.coe_subset.mpr (leOfHom h)))).toRingHom
map_id _ := by ext x; rfl
map_comp _ _ := by ext x; rfl32All finite coefficient rings map into the ambient ring.
noncomputable def coefficientCocone : Cocone (coefficientDiagram R K) where body · 4 lines
pt := CommRingCat.of K
ι :=
{ app := fun s ↦ CommRingCat.ofHom (coefficientRing R K s).val.toRingHom
naturality := by intros; ext x; rfl }39Every coefficient occurs at a finite stage, and equality is witnessed at a common stage.
noncomputable def coefficientCoconeIsColimit : IsColimit (coefficientCocone R K) := by body · 10 lines
classical
let : ReflectsColimitsOfShape (Finset K) (forget CommRingCat.{u}) :=
reflectsColimitsOfShape_of_reflectsIsomorphisms
apply isColimitOfReflects (forget CommRingCat.{u})
apply Types.FilteredColimit.isColimitOf
· intro x
exact ⟨{x}, ⟨x, Algebra.subset_adjoin (Finset.mem_singleton_self x)⟩, rfl⟩
· intro s t x y h
refine ⟨s ∪ t, homOfLE Finset.subset_union_left, homOfLE Finset.subset_union_right, ?_⟩
exact Subtype.ext htheorem coefficientRing_finiteType (s : Finset K) :
Algebra.FiniteType R (coefficientRing R K s) := proof · 1 line
Algebra.FiniteType.adjoin_of_finite s.finite_toSet56Spectra form the corresponding cofiltered system.
noncomputable def coefficientSchemeDiagram : (Finset K)ᵒᵖ ⥤ Scheme.{u} := body · 1 line
(coefficientDiagram R K).op ⋙ Scheme.Specnoncomputable def coefficientSchemeCone : Cone (coefficientSchemeDiagram R K) := body · 1 line
Scheme.Spec.mapCone (coefficientCocone R K).op63The ambient affine scheme is the limit of its finite coefficient models.
noncomputable def coefficientSchemeConeIsLimit : IsLimit (coefficientSchemeCone R K) := body · 1 line
isLimitOfPreserves Scheme.Spec (coefficientCoconeIsColimit R K).op67The affine base associated with a finite coefficient set.
noncomputable abbrev coefficientBase (s : Finset K) : Scheme.{u} := body · 1 line
Spec (CommRingCat.of (coefficientRing R K s))noncomputable abbrev genericBaseMap (s : Finset K) :
Spec (CommRingCat.of K) ⟶ coefficientBase R K s := body · 1 line
Spec.map ((coefficientCocone R K).ι.app s)noncomputable abbrev coefficientBaseMap {s t : Finset K} (h : s ⊆ t) :
coefficientBase R K t ⟶ coefficientBase R K s := body · 1 line
Spec.map ((coefficientDiagram R K).map (homOfLE h))theorem genericBaseMap_comp {s t : Finset K} (h : s ⊆ t) :
genericBaseMap R K t ≫ coefficientBaseMap R K h = genericBaseMap R K s := by proof · 3 lines
dsimp [genericBaseMap, coefficientBaseMap, coefficientDiagram, coefficientCocone]
rw [← Spec.map_comp]
congr 1theorem coefficientBaseMap_comp {s t v : Finset K} (hst : s ⊆ t) (htv : t ⊆ v) :
coefficientBaseMap R K htv ≫ coefficientBaseMap R K hst =
coefficientBaseMap R K (hst.trans htv) := by proof · 3 lines
dsimp [coefficientBaseMap]
erw [← Spec.map_comp, ← Functor.map_comp]
rflOutline
- abbrev
coefficientRing20 - def
coefficientDiagram24 - def
coefficientCocone32 - def
coefficientCoconeIsColimit39 - theorem
coefficientRing_finiteType51 - def
coefficientSchemeDiagram56 - def
coefficientSchemeCone59 - def
coefficientSchemeConeIsLimit63 - abbrev
coefficientBase67 - abbrev
genericBaseMap70 - abbrev
coefficientBaseMap74 - theorem
genericBaseMap_comp79 - theorem
coefficientBaseMap_comp86
Xet Storage Details
- Size:
- 4.02 kB
- Xet hash:
- 5c45862d29b09fd146ef8d23299445df806c9795a955ee077f1fec283c60810d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.