cfahlgren1/math / lean /OAI /ArithmeticGeometry /Models /CoefficientSystem.lean
cfahlgren1's picture
download
raw
4.02 kB

The subalgebra generated by a finite set of coefficients.

20
noncomputable abbrev coefficientRing (s : Finset K) : Subalgebra R K :=
body · 1 line
  Algebra.adjoin R (s : Set K)

Inclusions of finite coefficient sets give inclusions of coefficient rings.

24
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; rfl

All finite coefficient rings map into the ambient ring.

32
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 }

Every coefficient occurs at a finite stage, and equality is witnessed at a common stage.

39
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 h
51
theorem coefficientRing_finiteType (s : Finset K) :
    Algebra.FiniteType R (coefficientRing R K s) :=
proof · 1 line
  Algebra.FiniteType.adjoin_of_finite s.finite_toSet

Spectra form the corresponding cofiltered system.

56
noncomputable def coefficientSchemeDiagram : (Finset K)ᵒᵖ ⥤ Scheme.{u} :=
body · 1 line
  (coefficientDiagram R K).op ⋙ Scheme.Spec
59
noncomputable def coefficientSchemeCone : Cone (coefficientSchemeDiagram R K) :=
body · 1 line
  Scheme.Spec.mapCone (coefficientCocone R K).op

The ambient affine scheme is the limit of its finite coefficient models.

63
noncomputable def coefficientSchemeConeIsLimit : IsLimit (coefficientSchemeCone R K) :=
body · 1 line
  isLimitOfPreserves Scheme.Spec (coefficientCoconeIsColimit R K).op

The affine base associated with a finite coefficient set.

67
noncomputable abbrev coefficientBase (s : Finset K) : Scheme.{u} :=
body · 1 line
  Spec (CommRingCat.of (coefficientRing R K s))
70
noncomputable abbrev genericBaseMap (s : Finset K) :
    Spec (CommRingCat.of K) ⟶ coefficientBase R K s :=
body · 1 line
  Spec.map ((coefficientCocone R K).ι.app s)
74
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))
79
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 1
86
theorem 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]
  rfl

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.