Module

RelativeSpecGlobalBaseChange.lean

Nyll.SchemeTheory.Modules.Functoriality.RelativeSpecGlobalBaseChange
19 declarations indexed from sourceView source ↗

Flat base change for actual direct-image relative spectra

Compatible pairs of affine charts form a locally directed cover. Both coordinates use principal affine inclusions, so the native relative spectrum transitions apply directly. The local maps are induced by the original morphism on sections. Flat base change on these sections makes the resulting global comparison cartesian.

Declarations

AlgebraicGeometry.Scheme.exists_affine_principal_refinement
Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
theorem exists_affine_principal_refinement {X : Scheme.{u}}
    (U V : X.AffineZariskiSite) (W : X.Opens) (x : X)
    (hxU : x ∈ U.1) (hxV : x ∈ V.1) (hxW : x ∈ W) :
    ∃ T : X.AffineZariskiSite, T ≤ U ∧ T ≤ V ∧ T.1 ≤ W ∧ x ∈ T.1
AlgebraicGeometry.Scheme.AffineBaseChangeIndex

Pairs of affine charts compatible with the given base morphism.

Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
def AffineBaseChangeIndex {X Y : Scheme.{u}} (f : Y ⟶ X)
Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
instance {X Y : Scheme.{u}} (f : Y ⟶ X) : PartialOrder (AffineBaseChangeIndex f)
AlgebraicGeometry.Scheme.affineBaseChangeCover

Compatible affine pairs cover the source of an arbitrary base morphism.

Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
def affineBaseChangeCover {X Y : Scheme.{u}} (f : Y ⟶ X) : Y.OpenCover where
  I₀ := AffineBaseChangeIndex f
  X i := i.1.2.1.toScheme
  f i := i.1.2.1.ι
  mem₀ := by
    rw [presieve₀_mem_precoverage_iff]
    refine ⟨fun y => ?_, fun i => inferInstance⟩
    obtain ⟨U, hyU⟩ := Opens.mem_iSup.mp
      ((iSup_affineOpens_eq_top X).ge (Set.mem_univ (f y)))
    obtain ⟨_, ⟨W, hW, rfl⟩, hyW, hWU⟩ :=
      Y.isBasis_affineOpens.exists_subset_of_mem_open hyU (f ⁻¹ᵁ U.1).isOpen
    exact ⟨⟨(⟨U.1, U.2⟩, ⟨W, hW⟩), hWU⟩, ⟨y, hyW⟩, rfl⟩
AlgebraicGeometry.Scheme.affineBaseChangeCoverIndexPartialOrder
Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
instance affineBaseChangeCoverIndexPartialOrder {X Y : Scheme.{u}} (f : Y ⟶ X) :
    PartialOrder (affineBaseChangeCover f).I₀
AlgebraicGeometry.Scheme.affineBaseChangeCoverIndexCategory
Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
instance affineBaseChangeCoverIndexCategory {X Y : Scheme.{u}} (f : Y ⟶ X) :
    SmallCategory (affineBaseChangeCover f).I₀
AlgebraicGeometry.Scheme.affineBaseChangeCover_locallyDirected
Source context 5 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
instance affineBaseChangeCover_locallyDirected {X Y : Scheme.{u}} (f : Y ⟶ X) :
    (affineBaseChangeCover f).LocallyDirected where
  trans {i j} h := Y.homOfLE (AffineZariskiSite.toOpens_mono h.le.2)
  trans_comp {i j k} hij hjk :=
    (Y.homOfLE_homOfLE (AffineZariskiSite.toOpens_mono hij.le.2)
      (AffineZariskiSite.toOpens_mono hjk.le.2)).symm
  w {i j} h := Y.homOfLE_ι (AffineZariskiSite.toOpens_mono h.le.2)
  directed {i j} z := by
    let y : Y := (pullback.fst i.1.2.1.ι j.1.2.1.ι ≫ i.1.2.1.ι) z
    have hyi : y ∈ i.1.2.1 := (pullback.fst i.1.2.1.ι j.1.2.1.ι z).2
    have hyj : y ∈ j.1.2.1 := by
      change (pullback.fst i.1.2.1.ι j.1.2.1.ι ≫ i.1.2.1.ι) z ∈ j.1.2.1
      rw [pullback.condition]
      exact (pullback.snd i.1.2.1.ι j.1.2.1.ι z).2
    obtain ⟨U, hUi, hUj, _, hyU⟩ := exists_affine_principal_refinement
      i.1.1 j.1.1 ⊤ (f y) (i.2 hyi) (j.2 hyj) (Set.mem_univ _)
    obtain ⟨W, hWi, hWj, hWU, hyW⟩ := exists_affine_principal_refinement
      i.1.2 j.1.2 (f ⁻¹ᵁ U.1) y hyi hyj hyU
    let k : AffineBaseChangeIndex f := ⟨(U, W), hWU⟩
    refine ⟨k, homOfLE ⟨hUi, hWi⟩, homOfLE ⟨hUj, hWj⟩, ⟨y, hyW⟩, ?_⟩
    apply (pullback.fst i.1.2.1.ι j.1.2.1.ι ≫ i.1.2.1.ι).isOpenEmbedding.injective
    let li : W.1.toScheme ⟶ i.1.2.1.toScheme :=
      Y.homOfLE (AffineZariskiSite.toOpens_mono hWi)
    let lj : W.1.toScheme ⟶ j.1.2.1.toScheme :=
      Y.homOfLE (AffineZariskiSite.toOpens_mono hWj)
    have hw : li ≫ i.1.2.1.ι = lj ≫ j.1.2.1.ι :=
      (Y.homOfLE_ι (AffineZariskiSite.toOpens_mono hWi)).trans
        (Y.homOfLE_ι (AffineZariskiSite.toOpens_mono hWj)).symm
    have hl : pullback.lift li lj hw ≫ pullback.fst i.1.2.1.ι j.1.2.1.ι ≫
        i.1.2.1.ι = W.1.ι :=
      (pullback.lift_fst_assoc li lj hw i.1.2.1.ι).trans
        (Y.homOfLE_ι (AffineZariskiSite.toOpens_mono hWi))
    exact congrArg (fun q : W.1.toScheme ⟶ Y => q ⟨y, hyW⟩) hl
  property_trans {i j} h :=
    inferInstanceAs
      (IsOpenImmersion (Y.homOfLE (AffineZariskiSite.toOpens_mono h.le.2)))
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonCover

The compatible affine cover pulled back to the source relative spectrum.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
abbrev comparisonCover : (RelativeSpec.scheme (structureMap b)).OpenCover
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonChartIso

Identify each chart of the comparison cover with its affine sections spectrum.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
def comparisonChartIso (i : AffineBaseChangeIndex f) :
    (comparisonCover b f).X i ≅ Spec Γ(V', b ⁻¹ᵁ i.1.2.1)
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonChartIso_fst
Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
theorem comparisonChartIso_fst (i : AffineBaseChangeIndex f) :
    (comparisonChartIso b f i).hom ≫ (RelativeSpec.openCover (structureMap b)).f i.1.2 =
      (comparisonCover b f).f i
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonChartIso_snd
Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
theorem comparisonChartIso_snd (i : AffineBaseChangeIndex f) :
    (comparisonChartIso b f i).hom ≫
        (Spec.map (b.app i.1.2.1) ≫ i.1.2.2.isoSpec.inv) =
      (affineBaseChangeCover f).pullbackHom (RelativeSpec.toBase (structureMap b)) i
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparison_preimage

The base-change square restricts the source chart into the target chart.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
omit [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent] in
include w in
theorem comparison_preimage (i : AffineBaseChangeIndex f) :
    b ⁻¹ᵁ i.1.2.1 ≤ a ⁻¹ᵁ (g ⁻¹ᵁ i.1.1.1)
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonSectionMap

The map on sections induced by the original morphism on compatible charts.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
abbrev comparisonSectionMap (i : AffineBaseChangeIndex f) :
    Γ(V, g ⁻¹ᵁ i.1.1.1) ⟶ Γ(V', b ⁻¹ᵁ i.1.2.1)
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonChart

The relative-spectrum comparison on a compatible affine chart.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
def comparisonChart (i : AffineBaseChangeIndex f) :
    (comparisonCover b f).X i ⟶ RelativeSpec.scheme (structureMap g)
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonChart_compatible

The affine comparison maps agree along the cover transitions.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
theorem comparisonChart_compatible {i j : AffineBaseChangeIndex f} (h : i ⟶ j) :
    (comparisonCover b f).trans h ≫ comparisonChart g b f a w j =
      comparisonChart g b f a w i
AlgebraicGeometry.Scheme.DirectImageAlgebra.baseChangeMap

The actual cross-base morphism of direct-image relative spectra, constructed from the original morphism on sections.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
def baseChangeMap :
    RelativeSpec.scheme (structureMap b) ⟶ RelativeSpec.scheme (structureMap g)
AlgebraicGeometry.Scheme.DirectImageAlgebra.comparisonCover_baseChangeMap
Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
theorem comparisonCover_baseChangeMap (i : AffineBaseChangeIndex f) :
    (comparisonCover b f).f i ≫ baseChangeMap g b f a w = comparisonChart g b f a w i
AlgebraicGeometry.Scheme.DirectImageAlgebra.isPullback_comparisonChart
Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
omit [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent] in
theorem isPullback_comparisonChart [QuasiCompact g] [QuasiSeparated g] [Flat f]
    (H : IsPullback a b g f) (i : AffineBaseChangeIndex f) :
    IsPullback (Spec.map (b.app i.1.2.1) ≫ i.1.2.2.isoSpec.inv)
      (Spec.map (comparisonSectionMap g b f a H.w i) ≫
        (RelativeSpec.openCover (structureMap g)).f i.1.1)
      (i.1.2.1.ι ≫ f) (RelativeSpec.toBase (structureMap g))
AlgebraicGeometry.Scheme.DirectImageAlgebra.isPullback_baseChangeMap

Flat base change commutes with the constructed direct-image relative spectrum on arbitrary bases. The original cartesian square supplies all section-ring comparisons; none are assumed.

Source context 7 commands

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

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits Opposite TopologicalSpace
namespace AlgebraicGeometry.Scheme
namespace DirectImageAlgebra
variable {X Y V V' : Scheme.{u}} (g : V ⟶ X) (b : V' ⟶ Y)
  [(RelativeSpec.underlyingModule (structureMap g)).IsQuasicoherent]
  [(RelativeSpec.underlyingModule (structureMap b)).IsQuasicoherent]
  (f : Y ⟶ X) (a : V' ⟶ V) (w : a ≫ g = b ≫ f)
theorem isPullback_baseChangeMap [QuasiCompact g] [QuasiSeparated g] [Flat f]
    (H : IsPullback a b g f) :
    IsPullback (baseChangeMap g b f a H.w) (RelativeSpec.toBase (structureMap b))
      (RelativeSpec.toBase (structureMap g)) f