The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.Morphisms.Flat

41 declarations. Mathlib docs · Source

Flat morphisms

A morphism of schemes f : X ⟶ Y is flat if for each affine U ⊆ Y and V ⊆ f ⁻¹' U, the induced map Γ(Y, U) ⟶ Γ(X, V) is flat. This is equivalent to asking that all stalk maps are flat (see AlgebraicGeometry.Flat.iff_flat_stalkMap).

We show that this property is local, and are stable under compositions and base change.

Sections of fibered products

Suppose we are given the following cartesian square:

Y --g-→ X
|       |
iY      iX
↓       |
T --f-→ S

Let Uₛ be an open of S, Uₓ and Uₜ be opens of X and T mapping into Uₛ. There is a canonical map Γ(X, Uₓ) ⊗[Γ(S, Uₛ)] Γ(T, Uₜ) ⟶ Γ(X ×ₛ T, pr₁ ⁻¹ Uₓ ∩ pr₂ ⁻¹ Uₜ).

We show that this map is

  1. isIso_pushoutSection_of_isAffineOpen: bijective when Uₛ, Uₜ, and Uₓ are all affine.
  2. mono_pushoutSection_of_isCompact_of_flat_right: injective when Uₛ, Uₜ are affine, Uₓ is compact, and f is flat.
  3. isIso_pushoutSection_of_isQuasiSeparated_of_flat_right: bijective when Uₛ, Uₜ are affine, Uₓ is qcqs, and f is flat.
  4. mono_pushoutSection_of_isCompact_of_flat_right_of_ringHomFlat: injective when Uₛ is affine, Uₜ is compact, Uₓ is qcqs, f is flat, and Γ(T, Uₜ) is flat over Γ(S, Uₛ) (typically true when S = Spec k.)
  5. isIso_pushoutSection_of_isCompact_of_flat_right_of_ringHomFlat: bijective when Uₛ is affine, Uₜ and Uₓ are qcqs, f is flat, and Γ(T, Uₜ) is flat over Γ(S, Uₛ) (typically true when S = Spec k.)

theorem CategoryTheory.Limits.colimit.cocone.congr_simp E1 #

∀ {J : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  (F : CategoryTheory.Functor J C) [inst_2 : CategoryTheory.Limits.HasColimit F],
  CategoryTheory.Limits.colimit.cocone F = CategoryTheory.Limits.colimit.cocone F

theorem AlgebraicGeometry.pushoutSection.congr_simp E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g g_1 : Y ⟶ X} (e_g : g = g_1) {iX : X ⟶ S} {iY iY_1 : Y ⟶ T}
  (e_iY : iY = iY_1) (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT),
  AlgebraicGeometry.pushoutSection H hUST hUSX hUY = AlgebraicGeometry.pushoutSection ⋯ hUST hUSX ⋯

class AlgebraicGeometry.Flat E1 #

{X Y : AlgebraicGeometry.Scheme} → (X ⟶ Y) → Prop

A morphism of schemes f : X ⟶ Y is flat if for each affine U ⊆ Y and V ⊆ f ⁻¹' U, the induced map Γ(Y, U) ⟶ Γ(X, V) is flat. This is equivalent to asking that all stalk maps are flat (see AlgebraicGeometry.Flat.iff_flat_stalkMap).

theorem AlgebraicGeometry.flat_iff E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y),
  AlgebraicGeometry.Flat f ↔
    ∀ {U : Y.Opens},
      AlgebraicGeometry.IsAffineOpen U →
        ∀ {V : X.Opens},
          AlgebraicGeometry.IsAffineOpen V →
            ∀ (e : V ≤ (TopologicalSpace.Opens.map f.base).obj U),
              (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f U V e)).Flat

ctor AlgebraicGeometry.Flat.mk E0 #

∀ {X Y : AlgebraicGeometry.Scheme} {f : X ⟶ Y},
  (∀ {U : Y.Opens},
      AlgebraicGeometry.IsAffineOpen U →
        ∀ {V : X.Opens},
          AlgebraicGeometry.IsAffineOpen V →
            ∀ (e : V ≤ (TopologicalSpace.Opens.map f.base).obj U),
              (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f U V e)).Flat) →
    AlgebraicGeometry.Flat f

theorem AlgebraicGeometry.Flat.flat_appLE E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [self : AlgebraicGeometry.Flat f] {U : Y.Opens},
  AlgebraicGeometry.IsAffineOpen U →
    ∀ {V : X.Opens},
      AlgebraicGeometry.IsAffineOpen V →
        ∀ (e : V ≤ (TopologicalSpace.Opens.map f.base).obj U),
          (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f U V e)).Flat

theorem AlgebraicGeometry.Scheme.Hom.flat_appLE E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [self : AlgebraicGeometry.Flat f] {U : Y.Opens},
  AlgebraicGeometry.IsAffineOpen U →
    ∀ {V : X.Opens},
      AlgebraicGeometry.IsAffineOpen V →
        ∀ (e : V ≤ (TopologicalSpace.Opens.map f.base).obj U),
          (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f U V e)).Flat

Alias of AlgebraicGeometry.Flat.flat_appLE.

instance AlgebraicGeometry.Flat.instHasRingHomPropertyFlat E0 #

AlgebraicGeometry.HasRingHomProperty @AlgebraicGeometry.Flat fun {R S} [CommRing R] [CommRing S] ↦ RingHom.Flat

instance AlgebraicGeometry.Flat.instOfIsOpenImmersion E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.IsOpenImmersion f], AlgebraicGeometry.Flat f

instance AlgebraicGeometry.Flat.instIsStableUnderCompositionScheme E0 #

CategoryTheory.MorphismProperty.IsStableUnderComposition @AlgebraicGeometry.Flat

theorem AlgebraicGeometry.Flat.SpecMap_iff E0 #

∀ {R S : CommRingCat} {f : R ⟶ S}, AlgebraicGeometry.Flat (AlgebraicGeometry.Spec.map f) ↔ (CommRingCat.Hom.hom f).Flat

instance AlgebraicGeometry.Flat.comp E0 #

∀ {X Y Z : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (g : Y ⟶ Z) [hf : AlgebraicGeometry.Flat f]
  [hg : AlgebraicGeometry.Flat g], AlgebraicGeometry.Flat (CategoryTheory.CategoryStruct.comp f g)

instance AlgebraicGeometry.Flat.instRespectsSchemeIsOpenImmersion E0 #

CategoryTheory.MorphismProperty.Respects (@AlgebraicGeometry.Flat) AlgebraicGeometry.IsOpenImmersion

instance AlgebraicGeometry.Flat.instIsMultiplicativeScheme E0 #

CategoryTheory.MorphismProperty.IsMultiplicative @AlgebraicGeometry.Flat

instance AlgebraicGeometry.Flat.isStableUnderBaseChange E0 #

CategoryTheory.MorphismProperty.IsStableUnderBaseChange @AlgebraicGeometry.Flat

instance AlgebraicGeometry.Flat.instFstScheme E0 #

∀ {X Y Z : AlgebraicGeometry.Scheme} (f : X ⟶ Z) (g : Y ⟶ Z) [AlgebraicGeometry.Flat g],
  AlgebraicGeometry.Flat (CategoryTheory.Limits.pullback.fst f g)

instance AlgebraicGeometry.Flat.instSndScheme E0 #

∀ {X Y Z : AlgebraicGeometry.Scheme} (f : X ⟶ Z) (g : Y ⟶ Z) [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.Flat (CategoryTheory.Limits.pullback.snd f g)

instance AlgebraicGeometry.Flat.instMorphismRestrict E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (V : Y.Opens) [AlgebraicGeometry.Flat f], AlgebraicGeometry.Flat (f ∣_ V)

instance AlgebraicGeometry.Flat.instResLE E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (U : X.Opens) (V : Y.Opens)
  (e : U ≤ (TopologicalSpace.Opens.map f.base).obj V) [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.Flat (AlgebraicGeometry.Scheme.Hom.resLE f V U e)

theorem AlgebraicGeometry.Flat.of_stalkMap E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y),
  (∀ (x : ↥X), (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.stalkMap f x)).Flat) → AlgebraicGeometry.Flat f

theorem AlgebraicGeometry.Flat.stalkMap E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] (x : ↥X),
  (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.stalkMap f x)).Flat

theorem AlgebraicGeometry.Flat.iff_flat_stalkMap E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y),
  AlgebraicGeometry.Flat f ↔ ∀ (x : ↥X), (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.stalkMap f x)).Flat

instance AlgebraicGeometry.Flat.instDescScheme E0 #

∀ {X : AlgebraicGeometry.Scheme} {ι : Type v} [inst : Small.{u, v} ι] {Y : ι → AlgebraicGeometry.Scheme}
  {f : (i : ι) → Y i ⟶ X} [∀ (i : ι), AlgebraicGeometry.Flat (f i)],
  AlgebraicGeometry.Flat (CategoryTheory.Limits.Sigma.desc f)

instance AlgebraicGeometry.Flat.instOfSubsingletonCarrierCarrierCommRingCatOfIsIntegral E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [Subsingleton ↥Y] [AlgebraicGeometry.IsIntegral Y],
  AlgebraicGeometry.Flat f

theorem AlgebraicGeometry.Flat.isQuotientMap_of_surjective E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.QuasiCompact f]
  [AlgebraicGeometry.Surjective f], Topology.IsQuotientMap ⇑f

A surjective, quasi-compact, flat morphism is a quotient map.

theorem AlgebraicGeometry.Flat.epi_of_flat_of_surjective E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.Surjective f],
  CategoryTheory.Epi f

A flat surjective morphism of schemes is an epimorphism in the category of schemes.

theorem AlgebraicGeometry.Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.IsAffine X] [AlgebraicGeometry.IsAffine Y],
  AlgebraicGeometry.Flat f ∧ AlgebraicGeometry.Surjective f ↔
    (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appTop f)).FaithfullyFlat

theorem AlgebraicGeometry.Scheme.Hom.flat_appTop E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.IsAffine X] [AlgebraicGeometry.IsAffine Y]
  [AlgebraicGeometry.Flat f], (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appTop f)).Flat

theorem AlgebraicGeometry.flat_and_surjective_SpecMap_iff E0 #

∀ {R S : CommRingCat} (f : R ⟶ S),
  AlgebraicGeometry.Flat (AlgebraicGeometry.Spec.map f) ∧ AlgebraicGeometry.Surjective (AlgebraicGeometry.Spec.map f) ↔
    (CommRingCat.Hom.hom f).FaithfullyFlat

abbrev AlgebraicGeometry.pushoutSection E1 #

{X Y S T : AlgebraicGeometry.Scheme} →
  {f : T ⟶ S} →
    {g : Y ⟶ X} →
      {iX : X ⟶ S} →
        {iY : Y ⟶ T} →
          CategoryTheory.IsPullback g iY iX f →
            {US : S.Opens} →
              {UT : T.Opens} →
                {UX : X.Opens} →
                  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) →
                    (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US) →
                      {UY : Y.Opens} →
                        UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT →
                          (CategoryTheory.Limits.pushout (AlgebraicGeometry.Scheme.Hom.appLE iX US UX hUSX)
                              (AlgebraicGeometry.Scheme.Hom.appLE f US UT hUST) ⟶
                            Y.presheaf.obj (Opposite.op UY))

The canonical map Γ(X, Uₓ) ⊗[Γ(S, Uₛ)] Γ(T, Uₜ) ⟶ Γ(X ×ₛ T, pr₁ ⁻¹ Uₓ ∩ pr₂ ⁻¹ Uₜ). This is an isomorphism under various circumstances.

theorem AlgebraicGeometry.isIso_pushoutSection_iff E0 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT),
  CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY) ↔
    CategoryTheory.IsPushout (AlgebraicGeometry.Scheme.Hom.appLE iX US UX hUSX)
      (AlgebraicGeometry.Scheme.Hom.appLE f US UT hUST) (AlgebraicGeometry.Scheme.Hom.appLE g UX UY ⋯)
      (AlgebraicGeometry.Scheme.Hom.appLE iY UT UY ⋯)

theorem AlgebraicGeometry.isIso_pushoutSection_of_isAffineOpen E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT),
  AlgebraicGeometry.IsAffineOpen US →
    AlgebraicGeometry.IsAffineOpen UT →
      AlgebraicGeometry.IsAffineOpen UX → CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.mono_pushoutSection_of_iSup_eq E0 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  {ι : Type u_1} [Finite ι] (VX : ι → X.Opens) (hVU : iSup VX = UX),
  (∀ (i : ι), CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST ⋯ ⋯)) →
    (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f US UT hUST)).Flat →
      CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.isIso_pushoutSection_of_iSup_eq E0 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  {ι : Type u} [Finite ι] (VX : ι → X.Opens) (hVU : iSup VX = UX),
  (∀ (i : ι), CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST ⋯ ⋯)) →
    (∀ (i j : ι), CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST ⋯ ⋯)) →
      (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f US UT hUST)).Flat →
        CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.mono_pushoutSection_of_isCompact_of_flat_right E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.IsAffineOpen US →
    AlgebraicGeometry.IsAffineOpen UT →
      IsCompact ↑UX → CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.mono_pushoutSection_of_isCompact_of_flat_left E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat iX],
  AlgebraicGeometry.IsAffineOpen US →
    AlgebraicGeometry.IsAffineOpen UX →
      IsCompact ↑UT → CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.isIso_pushoutSection_of_isQuasiSeparated_of_flat_right E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.IsAffineOpen US →
    AlgebraicGeometry.IsAffineOpen UT →
      IsCompact ↑UX → IsQuasiSeparated ↑UX → CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.isIso_pushoutSection_of_isQuasiSeparated_of_flat_left E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat iX],
  AlgebraicGeometry.IsAffineOpen US →
    AlgebraicGeometry.IsAffineOpen UX →
      IsCompact ↑UT → IsQuasiSeparated ↑UT → CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.mono_pushoutSection_of_isCompact_of_flat_left_of_ringHomFlat E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat iX],
  AlgebraicGeometry.IsAffineOpen US →
    IsCompact ↑UT →
      IsCompact ↑UX →
        (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE f US UT hUST)).Flat →
          CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.mono_pushoutSection_of_isCompact_of_flat_right_of_ringHomFlat E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.IsAffineOpen US →
    IsCompact ↑UT →
      IsCompact ↑UX →
        (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE iX US UX hUSX)).Flat →
          CategoryTheory.Mono (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)

theorem AlgebraicGeometry.isIso_pushoutSection_of_isCompact_of_flat_right_of_ringHomFlat E1 #

∀ {X Y S T : AlgebraicGeometry.Scheme} {f : T ⟶ S} {g : Y ⟶ X} {iX : X ⟶ S} {iY : Y ⟶ T}
  (H : CategoryTheory.IsPullback g iY iX f) {US : S.Opens} {UT : T.Opens} {UX : X.Opens}
  (hUST : UT ≤ (TopologicalSpace.Opens.map f.base).obj US) (hUSX : UX ≤ (TopologicalSpace.Opens.map iX.base).obj US)
  {UY : Y.Opens} (hUY : UY = (TopologicalSpace.Opens.map g.base).obj UX ⊓ (TopologicalSpace.Opens.map iY.base).obj UT)
  [AlgebraicGeometry.Flat f],
  AlgebraicGeometry.IsAffineOpen US →
    IsCompact ↑UT →
      IsQuasiSeparated ↑UT →
        IsCompact ↑UX →
          IsQuasiSeparated ↑UX →
            (CommRingCat.Hom.hom (AlgebraicGeometry.Scheme.Hom.appLE iX US UX hUSX)).Flat →
              CategoryTheory.IsIso (AlgebraicGeometry.pushoutSection H hUST hUSX hUY)