Module

TwoAffineCoverLinearEquivSectionsOfH0.lean

Nyll.AlgebraicCurves.Geometry.Schemes.Cohomology.TwoAffineCoverLinearEquivSectionsOfH0
11 declarations indexed from sourceView source ↗

Global sections and zeroth cohomology of two affine charts

Global sections of a module identify linearly with zeroth cohomology of the two-chart section complex, by restriction to the two opens.

Imports3
Imported by27

Declarations

AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.map_eq_rM
Source context 22 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
omit [CommRing R] in
theorem map_eq_rM {V W : X.Opens} (i : V ⟶ W) (y : Γ(M, W)) :
    M.presheaf.map i.op y = rM M (leOfHom i) y
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.F

The sheaf of abelian groups underlying the scheme module M.

Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
def F : TopCat.Sheaf Ab X.carrier
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.restrict_mem_H0
Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
theorem restrict_mem_H0 (s : Γ(M, ⊤)) :
    ((show (𝒱.sectionsOf c M).M0 from rM M (le_top : 𝒱.U0 ≤ ⊤) s),
      (show (𝒱.sectionsOf c M).M1 from rM M (le_top : 𝒱.U1 ≤ ⊤) s)) ∈ (𝒱.sectionsOf c M).H0 := by
  rw [TwoChartCech.Sections.mem_H0_iff]
  change rM M inf_le_left (rM M le_top s) = rM M inf_le_right (rM M le_top s)
  rw [rM_rM, rM_rM]
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.toH0M

The linear map taking a global section to its compatible restrictions on the two affine opens.

Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
def toH0M : letI := moduleSectionsOfHom c M ⊤; Γ(M, ⊤) →ₗ[R] (𝒱.sectionsOf c M).H0 :=
  letI := moduleSectionsOfHom c M ⊤
  letI := moduleSectionsOfHom c M 𝒱.U0
  letI := moduleSectionsOfHom c M 𝒱.U1
  LinearMap.codRestrict ((𝒱.sectionsOf c M).H0)
    ((show Γ(M, ⊤) →ₗ[R] (𝒱.sectionsOf c M).M0 from restrictSections c M (le_top : 𝒱.U0 ≤ ⊤)).prod
      (show Γ(M, ⊤) →ₗ[R] (𝒱.sectionsOf c M).M1 from restrictSections c M (le_top : 𝒱.U1 ≤ ⊤)))
    (fun s => restrict_mem_H0 𝒱 c M s)
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.toH0M_apply_coe
Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
theorem toH0M_apply_coe (s : Γ(M, ⊤)) :
    letI := moduleSectionsOfHom c M ⊤
    ((toH0M 𝒱 c M s : (𝒱.sectionsOf c M).M0 × (𝒱.sectionsOf c M).M1)) =
      (M.presheaf.map (homOfLE (le_top : 𝒱.U0 ≤ ⊤)).op s,
        M.presheaf.map (homOfLE (le_top : 𝒱.U1 ≤ ⊤)).op s) := rfl
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.toH0M_injective
Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
theorem toH0M_injective : letI := moduleSectionsOfHom c M ⊤; Function.Injective (toH0M 𝒱 c M) := by
  let := moduleSectionsOfHom c M ⊤
  intro s t hst
  have h := congrArg Subtype.val hst
  rw [toH0M_apply_coe, toH0M_apply_coe] at h
  exact TopCat.Sheaf.eq_of_locally_eq₂ (F M) (homOfLE (le_top : 𝒱.U0 ≤ ⊤)) (homOfLE (le_top :
      𝒱.U1 ≤ ⊤))
    𝒱.sup_eq_top.ge s t (congrArg Prod.fst h) (congrArg Prod.snd h)
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.U2

The Boolean-indexed family of the two affine opens.

Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
def U2 : Bool → X.Opens
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.iSup_U2
Source context 22 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
omit [CommRing R] in
theorem iSup_U2 : iSup (U2 𝒱) = ⊤
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.toH0M_surjective
Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
theorem toH0M_surjective : letI := moduleSectionsOfHom c M ⊤; Function.Surjective (toH0M 𝒱 c M)
    := by
  let := moduleSectionsOfHom c M ⊤
  rintro ⟨⟨p0, p1⟩, hp⟩
  have hp' : rM M inf_le_left p0 = rM M inf_le_right p1 :=
    (TwoChartCech.Sections.mem_H0_iff _ _).mp hp
  let sf : ∀ b : Bool, (F M).1.obj (op (U2 𝒱 b)) := fun b => match b with
    | false => p0
    | true => p1
  have hcomp : TopCat.Presheaf.IsCompatible (F M).1 (U2 𝒱) sf := by
    intro i j
    change M.presheaf.map _ (sf i) = M.presheaf.map _ (sf j)
    erw [map_eq_rM, map_eq_rM]
    cases i <;> cases j
    · rfl
    · exact hp'
    · change rM M (inf_le_left : 𝒱.U1 ⊓ 𝒱.U0 ≤ 𝒱.U1) p1 =
        rM M (inf_le_right : 𝒱.U1 ⊓ 𝒱.U0 ≤ 𝒱.U0) p0
      have h10 : 𝒱.U1 ⊓ 𝒱.U0 ≤ 𝒱.U0 ⊓ 𝒱.U1 := le_of_eq (inf_comm _ _)
      erw [← rM_rM M inf_le_right h10, ← rM_rM M inf_le_left h10, hp']
    · rfl
  obtain ⟨s, hs, -⟩ := TopCat.Sheaf.existsUnique_gluing' (F M) (U2 𝒱) ⊤ (fun b => homOfLE le_top)
    (iSup_U2 𝒱).ge sf hcomp
  refine ⟨s, Subtype.ext ?_⟩
  erw [toH0M_apply_coe]
  exact Prod.ext (hs false) (hs true)
AlgebraicCurves.Geometry.Schemes.Proofs.Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0.AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.exists_linearEquiv
Source context 21 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
namespace ModH0
open _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec
    (.of R))
  (M : X.Modules)
theorem exists_linearEquiv :
    letI := Scheme.TwoAffineOpenCover.moduleSectionsOfHom c M ⊤
    ∃ e : Γ(M, ⊤) ≃ₗ[R] (𝒱.sectionsOf c M).H0, ∀ s : Γ(M, ⊤),
      ((e s : (𝒱.sectionsOf c M).M0 × (𝒱.sectionsOf c M).M1)) =
        (M.presheaf.map (homOfLE (le_top : 𝒱.U0 ≤ ⊤)).op s,
          M.presheaf.map (homOfLE (le_top : 𝒱.U1 ≤ ⊤)).op s) := by
  let := moduleSectionsOfHom c M ⊤
  exact ⟨LinearEquiv.ofBijective (toH0M 𝒱 c M) ⟨toH0M_injective 𝒱 c M, toH0M_surjective 𝒱 c M⟩,
    fun s => toH0M_apply_coe 𝒱 c M s⟩
AlgebraicGeometry.Scheme.TwoAffineOpenCover.exists_linearEquiv_sectionsOf_H0
Source context 10 commands

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

@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rM_rM)
section ProofImplementation
namespace AlgebraicCurves.Geometry.Schemes.Proofs
namespace Scheme_TwoAffineOpenCover_exists_linearEquiv_sectionsOf_H0
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.TopologicalSpace
open _root_.Opposite
theorem _root_.AlgebraicGeometry.Scheme.TwoAffineOpenCover.exists_linearEquiv_sectionsOf_H0
    {R : Type u} [CommRing R] {X : Scheme.{u}} (𝒱 : X.TwoAffineOpenCover) (c : X ⟶ Spec (.of R))
    (M : X.Modules) :
    letI := Scheme.TwoAffineOpenCover.moduleSectionsOfHom c M ⊤
    ∃ e : Γ(M, ⊤) ≃ₗ[R] (𝒱.sectionsOf c M).H0, ∀ s : Γ(M, ⊤),
      ((e s : (𝒱.sectionsOf c M).M0 × (𝒱.sectionsOf c M).M1)) =
        (M.presheaf.map (homOfLE (le_top : 𝒱.U0 ≤ ⊤)).op s,
          M.presheaf.map (homOfLE (le_top : 𝒱.U1 ≤ ⊤)).op s) :=
  AlgebraicGeometry.Scheme.TwoAffineOpenCover.ModH0.exists_linearEquiv 𝒱 c M