Module

TwoOpenGluing.lean

Nyll.SchemeTheory.Descent.TwoOpenGluing
46 declarations indexed from sourceView source ↗

exists is Pullback glue of is Pullback of is Open Immersion

Imports9
  • Mathlib.AlgebraicGeometry.PullbackCarrier
  • Mathlib.AlgebraicGeometry.Gluing
  • Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated
  • Mathlib.AlgebraicGeometry.Morphisms.Separated
  • Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation
  • Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact
  • Mathlib.AlgebraicGeometry.OpenImmersion
  • Mathlib.AlgebraicGeometry.Pullbacks
  • Mathlib.CategoryTheory.Limits.Shapes.WidePullbacks
Imported by3

Declarations

AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.F

The span of the two open pieces and their common overlap.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def F : WidePushoutShape Bool ⥤ Scheme.{u}
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.F_map_isOpenImmersion
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
instance F_map_isOpenImmersion : ∀ {i j : WidePushoutShape Bool} (f : i ⟶ j),
    IsOpenImmersion ((F ia ib).map f)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.X₀

The scheme obtained by gluing the two open pieces.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def X₀ : Scheme.{u}
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.iU

The inclusion of the first piece in the glued scheme.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def iU : U₀ ⟶ X₀ ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.iV

The inclusion of the second piece in the glued scheme.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def iV : V₀ ⟶ X₀ ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.i0

The common inclusion of the overlap in the glued scheme.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def i0 : W₀ ⟶ X₀ ia ib
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
instance : IsOpenImmersion (iU ia ib)
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
instance : IsOpenImmersion (iV ia ib)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.ia_iU
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem ia_iU : ia ≫ iU ia ib = i0 ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.ib_iV
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem ib_iV : ib ≫ iV ia ib = i0 ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.ia_iU_eq_ib_iV
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem ia_iU_eq_ib_iV : ia ≫ iU ia ib = ib ≫ iV ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.f₀

The structure morphism descended from the two compatible local morphisms.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
def f₀ : X₀ ia ib ⟶ Spec (CommRingCat.of R)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.iU_f₀
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem iU_f₀ : iU ia ib ≫ f₀ u₀ v₀ ia ib hab = u₀
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.iV_f₀
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem iV_f₀ : iV ia ib ≫ f₀ u₀ v₀ ia ib hab = v₀
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.cover
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem cover (x : ↥(X₀ ia ib)) :
    x ∈ Set.range (iU ia ib).base ∨ x ∈ Set.range (iV ia ib).base
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.range_union
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem range_union : Set.range (iU ia ib).base ∪ Set.range (iV ia ib).base = Set.univ
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.preimage_iV_iU
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem preimage_iV_iU : iV ia ib ⁻¹ᵁ (iU ia ib).opensRange = ib.opensRange
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.isPullback_charts
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
theorem isPullback_charts : IsPullback ia ib (iU ia ib) (iV ia ib)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.lfp
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section props
variable [QuasiCompact u₀] [QuasiSeparated u₀] [LocallyOfFinitePresentation u₀]
  [QuasiCompact v₀] [QuasiSeparated v₀] [LocallyOfFinitePresentation v₀] [QuasiCompact (ia ≫ u₀)]
omit [QuasiCompact u₀] [QuasiSeparated u₀] [QuasiCompact v₀] [QuasiSeparated v₀]
  [QuasiCompact (ia ≫ u₀)] in
theorem lfp : LocallyOfFinitePresentation (f₀ u₀ v₀ ia ib hab)
theorem

qc

L158 ↗
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.qc
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section props
variable [QuasiCompact u₀] [QuasiSeparated u₀] [LocallyOfFinitePresentation u₀]
  [QuasiCompact v₀] [QuasiSeparated v₀] [LocallyOfFinitePresentation v₀] [QuasiCompact (ia ≫ u₀)]
omit [QuasiSeparated u₀] [LocallyOfFinitePresentation u₀] [QuasiSeparated v₀]
  [LocallyOfFinitePresentation v₀] [QuasiCompact (ia ≫ u₀)] in
theorem qc : QuasiCompact (f₀ u₀ v₀ ia ib hab)
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u})
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u})
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.δ

The map from the overlap to the overlap over the base.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
abbrev δ {P Q : Scheme.{u}} (jP : P ⟶ Y') (jQ : Q ⟶ Y') :
    pullback jP jQ ⟶ pullback (jP ≫ f') (jQ ≫ f')
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.property_δ_self
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem property_δ_self (Q : MorphismProperty Scheme.{u}) [Q.RespectsIso]
    {P : Scheme.{u}} (j : P ⟶ Y') [Mono j]
    (hj : Q (pullback.diagonal (j ≫ f'))) : Q (δ f' j j)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.property_δ_of_isPullback
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem property_δ_of_isPullback (M : MorphismProperty Scheme.{u}) [M.RespectsIso]
    {P Q U : Scheme.{u}} (jA : P ⟶ Y') (jB : Q ⟶ Y')
    (uA : U ⟶ P) (uB : U ⟶ Q) (hsq : IsPullback uA uB jA jB)
    (hΓ : M (pullback.lift uA uB
      (by rw [← Category.assoc, hsq.w, Category.assoc]) : U ⟶ pullback (jA ≫ f') (jB ≫ f'))) :
    M (δ f' jA jB) := by
  have h1 : hsq.isoPullback.hom ≫ δ f' jA jB =
      pullback.lift uA uB (by rw [← Category.assoc, hsq.w, Category.assoc]) := by
    apply pullback.hom_ext
    · simp only [δ, Category.assoc, pullback.lift_fst, Category.comp_id,
        IsPullback.isoPullback_hom_fst]
    · simp only [δ, Category.assoc, pullback.lift_snd, Category.comp_id,
        IsPullback.isoPullback_hom_snd]
  have h2 : δ f' jA jB = hsq.isoPullback.inv ≫
      pullback.lift uA uB (by rw [← Category.assoc, hsq.w, Category.assoc]) := by
    rw [← h1, Iso.inv_hom_id_assoc]
  rw [h2, MorphismProperty.cancel_left_of_respectsIso M]
  exact hΓ
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.property_δ_symm
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem property_δ_symm (M : MorphismProperty Scheme.{u}) [M.RespectsIso]
    {P Q : Scheme.{u}} (jA : P ⟶ Y') (jB : Q ⟶ Y')
    (hδ : M (δ f' jA jB)) : M (δ f' jB jA)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.property_diagonal_glue

The common two-chart diagonal argument for a property local on its target.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem property_diagonal_glue (M : MorphismProperty Scheme.{u})
    [IsZariskiLocalAtTarget M] {P Q U : Scheme.{u}}
    (jA : P ⟶ Y') (jB : Q ⟶ Y') [IsOpenImmersion jA] [IsOpenImmersion jB]
    (hcov : Set.range jA.base ∪ Set.range jB.base = Set.univ)
    (hA : M (pullback.diagonal (jA ≫ f'))) (hB : M (pullback.diagonal (jB ≫ f')))
    (uA : U ⟶ P) (uB : U ⟶ Q) (hsq : IsPullback uA uB jA jB)
    (hΓ : M (pullback.lift uA uB
      (by rw [← Category.assoc, hsq.w, Category.assoc]) : U ⟶ pullback (jA ≫ f') (jB ≫ f'))) :
    M (pullback.diagonal f') := by
  classical
  let XU : Bool → Scheme.{u} := fun t => cond t P Q
  let fU : ∀ t : Bool, XU t ⟶ Y' := fun t => match t with
    | true => jA
    | false => jB
  have hfU : ∀ t : Bool, IsOpenImmersion (fU t) := by
    intro t; cases t
    · change IsOpenImmersion jB; infer_instance
    · change IsOpenImmersion jA; infer_instance
  let 𝒰 : Y'.OpenCover := Scheme.Cover.mkOfCovers Bool XU fU
    (fun y => by
      have hy : y ∈ Set.range jA.base ∪ Set.range jB.base := by rw [hcov]; trivial
      rcases hy with ⟨x, hx⟩ | ⟨x, hx⟩
      · exact ⟨true, x, hx⟩
      · exact ⟨false, x, hx⟩) hfU
  have hδ : ∀ s t : Bool, M (δ f' (𝒰.f s) (𝒰.f t)) := by
    intro s t
    cases s <;> cases t
    · change M (δ f' jB jB)
      exact property_δ_self f' M jB hB
    · change M (δ f' jB jA)
      exact property_δ_symm f' M jA jB
        (property_δ_of_isPullback f' M jA jB uA uB hsq hΓ)
    · change M (δ f' jA jB)
      exact property_δ_of_isPullback f' M jA jB uA uB hsq hΓ
    · change M (δ f' jA jA)
      exact property_δ_self f' M jA hA
  apply IsZariskiLocalAtTarget.of_openCover (P := M)
    (Scheme.Pullback.openCoverOfLeftRight 𝒰 𝒰 f' f')
  rintro ⟨s, t⟩
  have hP := pullback_map_diagonal_isPullback (𝒰.f s) (𝒰.f t) f'
  have e : hP.isoPullback.hom ≫ pullback.snd _ _ = δ f' (𝒰.f s) (𝒰.f t) := hP.isoPullback_hom_snd
  have h3 : M (hP.isoPullback.hom ≫ pullback.snd _ _) := by rw [e]; exact hδ s t
  exact (MorphismProperty.cancel_left_of_respectsIso M hP.isoPullback.hom _).mp h3
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.quasiCompact_δ_self
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem quasiCompact_δ_self {P : Scheme.{u}} (j : P ⟶ Y') [Mono j] [QuasiSeparated (j ≫ f')] :
    QuasiCompact (δ f' j j)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.quasiCompact_δ_of_isPullback
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem quasiCompact_δ_of_isPullback {P Q U : Scheme.{u}} (jA : P ⟶ Y') (jB : Q ⟶ Y')
    (uA : U ⟶ P) (uB : U ⟶ Q) (hsq : IsPullback uA uB jA jB)
    (hΓ : QuasiCompact (pullback.lift uA uB
      (by rw [← Category.assoc, hsq.w, Category.assoc]) : U ⟶ pullback (jA ≫ f') (jB ≫ f'))) :
    QuasiCompact (δ f' jA jB) :=
  property_δ_of_isPullback f' @QuasiCompact jA jB uA uB hsq hΓ
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.quasiCompact_δ_symm
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem quasiCompact_δ_symm {P Q : Scheme.{u}} (jA : P ⟶ Y') (jB : Q ⟶ Y')
    [QuasiCompact (δ f' jA jB)] : QuasiCompact (δ f' jB jA)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.quasiSeparated_glue
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem quasiSeparated_glue {P Q U : Scheme.{u}}
    (jA : P ⟶ Y') (jB : Q ⟶ Y') [IsOpenImmersion jA] [IsOpenImmersion jB]
    (hcov : Set.range jA.base ∪ Set.range jB.base = Set.univ)
    [QuasiSeparated (jA ≫ f')] [QuasiSeparated (jB ≫ f')]
    (uA : U ⟶ P) (uB : U ⟶ Q) (hsq : IsPullback uA uB jA jB)
    (hΓ : QuasiCompact (pullback.lift uA uB
      (by rw [← Category.assoc, hsq.w, Category.assoc]) : U ⟶ pullback (jA ≫ f') (jB ≫ f'))) :
    QuasiSeparated f' :=
  ⟨property_diagonal_glue f' @QuasiCompact jA jB hcov inferInstance inferInstance
    uA uB hsq hΓ⟩
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.QSGlue.separated_glue

Separatedness of the two charts and closedness of their common graph give separatedness of the actual glued scheme.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
namespace QSGlue
local instance : IsZariskiLocalAtTarget (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  @HasAffineProperty.instIsZariskiLocalAtTarget
    (@QuasiCompact : MorphismProperty Scheme.{u}) (fun X _ _ _ => CompactSpace X)
    AlgebraicGeometry.instHasAffinePropertyQuasiCompactCompactSpaceCarrierCarrierCommRingCat
local instance : MorphismProperty.RespectsIso (@QuasiCompact : MorphismProperty Scheme.{u}) :=
  MorphismProperty.respectsIso_of_isStableUnderComposition
    (fun _ _ f (_ : IsIso f) => inferInstance)
variable {S Y' : Scheme.{u}} (f' : Y' ⟶ S)
theorem separated_glue {P Q U : Scheme.{u}}
    (jA : P ⟶ Y') (jB : Q ⟶ Y') [IsOpenImmersion jA] [IsOpenImmersion jB]
    (hcov : Set.range jA.base ∪ Set.range jB.base = Set.univ)
    [IsSeparated (jA ≫ f')] [IsSeparated (jB ≫ f')]
    (uA : U ⟶ P) (uB : U ⟶ Q) (hsq : IsPullback uA uB jA jB)
    (hΓ : IsClosedImmersion (pullback.lift uA uB
      (by rw [← Category.assoc, hsq.w, Category.assoc]) : U ⟶ pullback (jA ≫ f') (jB ≫ f'))) :
    IsSeparated f' :=
  ⟨property_diagonal_glue f' @IsClosedImmersion jA jB hcov inferInstance inferInstance
    uA uB hsq hΓ⟩
theorem

qs

L328 ↗
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.qs
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section props2
variable [QuasiCompact u₀] [QuasiSeparated u₀] [LocallyOfFinitePresentation u₀]
  [QuasiCompact v₀] [QuasiSeparated v₀] [LocallyOfFinitePresentation v₀] [QuasiCompact (ia ≫ u₀)]
omit [QuasiCompact u₀] [LocallyOfFinitePresentation u₀]
  [QuasiCompact v₀] [LocallyOfFinitePresentation v₀] in
theorem qs : QuasiSeparated (f₀ u₀ v₀ ia ib hab)
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.coverX

The two-piece open cover of the original scheme.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
def coverX : X.OpenCover
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.kU_kV_compat
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
include hWU hWV in
theorem kU_kV_compat : kU ≫ πU ≫ iU ia ib = kV ≫ πV ≫ iV ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.π

The morphism obtained by gluing the two local comparison maps.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
def π : X ⟶ X₀ ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.jU_π
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
theorem jU_π : jU ≫ π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV = πU ≫ iU ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.jV_π
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
theorem jV_π : jV ≫ π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV = πV ≫ iV ia ib
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.π_f₀_of_comp

Compatible chart structure morphisms determine the structure morphism of the actual glued comparison map.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
theorem π_f₀_of_comp (g₀ : X ⟶ Spec (CommRingCat.of R))
    (hU₀ : πU ≫ u₀ = jU ≫ g₀) (hV₀ : πV ≫ v₀ = jV ≫ g₀) :
    PI ≫ f₀ u₀ v₀ ia ib hab = g₀
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.π_f₀
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
include hU hV in
theorem π_f₀ : PI ≫ f₀ u₀ v₀ ia ib hab = g ≫ ιR
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.preimage_π_iU
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
omit hU hV
theorem preimage_π_iU : PI ⁻¹ᵁ (iU ia ib).opensRange = jU.opensRange
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.preimage_π_iV
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
omit hU hV
theorem preimage_π_iV : PI ⁻¹ᵁ (iV ia ib).opensRange = jV.opensRange
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.sqU
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
omit hU hV
theorem sqU : IsPullback πU jU (iU ia ib) PI
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.sqV
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
omit hU hV
theorem sqV : IsPullback πV jV (iV ia ib) PI
AlgebraicCurves.Geometry.Schemes.Proofs.exists_isPullback_glue_of_isPullback_of_isOpenImmersion.TwoOpenGlue.coverX₀

The two-piece open cover of the glued model.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
namespace TwoOpenGlue
variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
  {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
  (ia : W₀ ⟶ U₀) (ib : W₀ ⟶ V₀) [IsOpenImmersion ia] [IsOpenImmersion ib] (hab : ia ≫ u₀ = ib ≫ v₀)
section compare
variable {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
  {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
  (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
  (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
  (πU : U ⟶ U₀) (πV : V ⟶ V₀) (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU ia) (hWV : IsPullback kV πW
    πV ib)
variable (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
  (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
local notation "ιR" => Spec.map (CommRingCat.ofHom (algebraMap R A))
local notation "PI" => π ia ib jU jV hcov kU kV hW πU πV πW hWU hWV
omit hU hV
def coverX₀ : (X₀ ia ib).OpenCover
AlgebraicGeometry.exists_isPullback_glue_of_isPullback_of_isOpenImmersion
Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace exists_isPullback_glue_of_isPullback_of_isOpenImmersion
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry
universe u
open scoped TwoOpenGlue
open TwoOpenGlue in
theorem _root_.AlgebraicGeometry.exists_isPullback_glue_of_isPullback_of_isOpenImmersion
    {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
    {U₀ V₀ W₀ : Scheme.{u}} (u₀ : U₀ ⟶ Spec (CommRingCat.of R)) (v₀ : V₀ ⟶ Spec (CommRingCat.of R))
    (a : W₀ ⟶ U₀) (b : W₀ ⟶ V₀) [IsOpenImmersion a] [IsOpenImmersion b] (hab : a ≫ u₀ = b ≫ v₀)
    [QuasiCompact u₀] [QuasiSeparated u₀] [LocallyOfFinitePresentation u₀]
    [QuasiCompact v₀] [QuasiSeparated v₀] [LocallyOfFinitePresentation v₀] [QuasiCompact (a ≫ u₀)]
    {X : Scheme.{u}} (g : X ⟶ Spec (CommRingCat.of A))
    {U V W : Scheme.{u}} (jU : U ⟶ X) (jV : V ⟶ X) [IsOpenImmersion jU] [IsOpenImmersion jV]
    (hcov : Set.range jU.base ∪ Set.range jV.base = Set.univ)
    (kU : W ⟶ U) (kV : W ⟶ V) (hW : IsPullback kU kV jU jV)
    (πU : U ⟶ U₀) (hU : IsPullback πU (jU ≫ g) u₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
    (πV : V ⟶ V₀) (hV : IsPullback πV (jV ≫ g) v₀ (Spec.map (CommRingCat.ofHom (algebraMap R A))))
    (πW : W ⟶ W₀) (hWU : IsPullback kU πW πU a) (hWV : IsPullback kV πW πV b) :
    ∃ (X₀ : Scheme.{u}) (f₀ : X₀ ⟶ Spec (CommRingCat.of R)) (π : X ⟶ X₀) (iU : U₀ ⟶ X₀) (iV : V₀ ⟶
      X₀),
      IsOpenImmersion iU ∧ IsOpenImmersion iV ∧ iU ≫ f₀ = u₀ ∧ iV ≫ f₀ = v₀ ∧ a ≫ iU = b ≫ iV ∧
      Set.range iU.base ∪ Set.range iV.base = Set.univ ∧ IsPullback a b iU iV ∧
      πU ≫ iU = jU ≫ π ∧ πV ≫ iV = jV ≫ π ∧
      QuasiCompact f₀ ∧ QuasiSeparated f₀ ∧ LocallyOfFinitePresentation f₀ ∧
      IsPullback π g f₀ (Spec.map (CommRingCat.ofHom (algebraMap R A)))