Module

Exactness.lean

Nyll.SchemeTheory.Modules.Exactness
11 declarations indexed from sourceView source ↗

Lifting kernel sections in an exact complex

When the first map is a monomorphism, a section killed by the second map comes from a section under the first map.

Short exactness from sectionwise and local conditions

Sectionwise injectivity, local surjectivity, and local lifting of kernel sections establish short exactness of a complex of module sheaves.

Epimorphisms induced by locally surjective presheaf maps

Sheafification turns a locally surjective morphism of module presheaves into an epimorphism.

Short exactness after pushforward

Local surjectivity of the second map on inverse images of opens ensures that pushforward preserves the short exact complex.

Declarations

Source context 21 commands

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

@[expose] public section
section exists_app_eq_of_exact_of_app_eq_zero
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X : Scheme.{u}}
instance : (toPresheaf X).Additive where
  map_add := by intros; rfl
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero.AlgebraicGeometry.Scheme.Modules.evalAt

Evaluate a presheaf of abelian groups on the open subset U.

Source context 21 commands

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

@[expose] public section
section exists_app_eq_of_exact_of_app_eq_zero
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X : Scheme.{u}}
abbrev evalAt (U : X.Opens) : TopCat.Presheaf Ab.{u} X ⥤ Ab.{u}
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero.AlgebraicGeometry.Scheme.Modules.exists_app_eq_of_exact_of_app_eq_zero
Source context 21 commands

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

@[expose] public section
section exists_app_eq_of_exact_of_app_eq_zero
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X : Scheme.{u}}
theorem exists_app_eq_of_exact_of_app_eq_zero (S : ShortComplex X.Modules) (hS : S.Exact) [Mono S.f]
    (U : X.Opens) (m : Γ(S.X₂, U)) (hm : S.g.app U m = 0) :
    ∃ e : Γ(S.X₁, U), S.f.app U e = m
AlgebraicGeometry.Scheme.Modules.exists_app_eq_of_exact_of_app_eq_zero
Source context 12 commands

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

@[expose] public section
section exists_app_eq_of_exact_of_app_eq_zero
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
open Scheme_Modules_exists_app_eq_of_exact_of_app_eq_zero.AlgebraicGeometry.Scheme in
theorem _root_.AlgebraicGeometry.Scheme.Modules.exists_app_eq_of_exact_of_app_eq_zero {X :
  Scheme.{u}} (S : ShortComplex X.Modules) (hS : S.Exact) [Mono S.f]
    (U : X.Opens) (m : Γ(S.X₂, U)) (hm : S.g.app U m = 0) :
    ∃ e : Γ(S.X₁, U), S.f.app U e = m
AlgebraicGeometry.Scheme.Modules.shortExact_of_app_injective_of_locallySurjective_of_locallyExact
Source context 6 commands

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

@[expose] public section
section shortExact_of_app_injective_of_locallySurjective_of_locallyExact
section ProofImplementation
namespace AlgebraicGeometry.Scheme.Modules
universe u
open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry
  _root_.Opposite _root_.TopologicalSpace
theorem shortExact_of_app_injective_of_locallySurjective_of_locallyExact
    {X : Scheme.{u}} (S : ShortComplex X.Modules)
    (hf : ∀ U : X.Opens, Function.Injective (S.f.app U))
    (hg : ∀ (U : X.Opens) (s : Γ(S.X₃, U)), ∀ x ∈ U, ∃ (V : X.Opens) (i : V ≤ U),
      x ∈ V ∧ S.X₃.presheaf.map (homOfLE i).op s ∈ Set.range (S.g.app V))
    (hfg : ∀ (U : X.Opens) (m : Γ(S.X₂, U)), S.g.app U m = 0 → ∀ x ∈ U, ∃ (V : X.Opens) (i : V ≤ U),
      x ∈ V ∧ S.X₂.presheaf.map (homOfLE i).op m ∈ Set.range (S.f.app V)) :
    S.ShortExact where
  mono_f := (Scheme.Modules.Hom.mono_iff_injective S.f).2 hf
  epi_g := (Scheme.Modules.Hom.epi_iff_locallySurjective S.g).2 hg
  exact := by
    rw [ShortComplex.exact_iff_epi_kernel_lift, Scheme.Modules.Hom.epi_iff_locallySurjective]
    intro U s x hx
    have hι : ∀ V : X.Opens, Function.Injective ((kernel.ι S.g).app V) :=
      (Scheme.Modules.Hom.mono_iff_injective _).1 inferInstance
    have h0 : S.g.app U ((kernel.ι S.g).app U s) = 0 := by
      change ((kernel.ι S.g).app U ≫ S.g.app U) s = 0
      rw [← Scheme.Modules.Hom.comp_app, kernel.condition, Scheme.Modules.Hom.zero_app]
      rfl
    obtain ⟨V, i, hxV, e, he⟩ := hfg U _ h0 x hx
    refine ⟨V, i, hxV, e, hι V ?_⟩
    have h1 : (kernel.ι S.g).app V ((kernel.lift S.g S.f S.zero).app V e) = S.f.app V e := by
      change ((kernel.lift S.g S.f S.zero).app V ≫ (kernel.ι S.g).app V) e = S.f.app V e
      rw [← Scheme.Modules.Hom.comp_app, kernel.lift_ι]
    have h2 : (kernel.ι S.g).app V ((kernel S.g).presheaf.map (homOfLE i).op s) =
        S.X₂.presheaf.map (homOfLE i).op ((kernel.ι S.g).app U s) := by
      have := congr($((kernel.ι S.g).mapPresheaf.naturality (homOfLE i).op) s)
      simpa using this
    rw [h1, h2, he]
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_epi_sheafification_map_of_locallySurjective.PresheafOfModules.epi_sheafification_map_of_isLocallySurjective
Source context 16 commands

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

@[expose] public section
section epi_sheafification_map_of_locallySurjective
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_epi_sheafification_map_of_locallySurjective
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
universe v v' u'
namespace PresheafOfModules
open _root_.PresheafOfModules
open _root_.PresheafOfModules
variable {C : Type u'} [Category.{v'} C] {J : GrothendieckTopology C}
  {R₀ : Cᵒᵖ ⥤ RingCat.{u}} {R : Sheaf J RingCat.{u}} (α : R₀ ⟶ R.obj)
  [Presheaf.IsLocallyInjective J α] [Presheaf.IsLocallySurjective J α]
  [HasSheafify J AddCommGrpCat.{v}] [J.WEqualsLocallyBijective AddCommGrpCat.{v}]
theorem epi_sheafification_map_of_isLocallySurjective {P Q : PresheafOfModules.{v} R₀}
    (ψ : P ⟶ Q) [Presheaf.IsLocallySurjective J ((toPresheaf R₀).map ψ)] :
    Epi ((sheafification.{v} α).map ψ)
AlgebraicGeometry.Scheme.Modules.epi_sheafification_map_of_locallySurjective
Source context 22 commands

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

@[expose] public section
section epi_sheafification_map_of_locallySurjective
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_epi_sheafification_map_of_locallySurjective
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
universe v v' u'
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X : Scheme.{u}}
theorem _root_.AlgebraicGeometry.Scheme.Modules.epi_sheafification_map_of_locallySurjective {P Q :
  X.PresheafOfModules} (ψ : P ⟶ Q)
    (h : ∀ (U : X.Opens) (s : Q.obj (op U)), ∀ x ∈ U, ∃ (V : X.Opens) (i : V ≤ U),
      x ∈ V ∧ Q.map (homOfLE i).op s ∈ Set.range (ψ.app (op V))) :
    Epi ((PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).map ψ)
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app.AlgebraicGeometry.Scheme.Modules.PushSES.g_app_eq
Source context 22 commands

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

@[expose] public section
section shortExact_map_pushforward_of_forall_exists_surjective_app
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
namespace PushSES
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X T : Scheme.{u}} (π : X ⟶ T) (S : ShortComplex X.Modules)
theorem g_app_eq (U : T.Opens) (m : Γ(S.X₂, π ⁻¹ᵁ U)) :
    (S.map (Scheme.Modules.pushforward π)).g.app U m = S.g.app (π ⁻¹ᵁ U) m
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app.AlgebraicGeometry.Scheme.Modules.PushSES.f_app_eq
Source context 22 commands

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

@[expose] public section
section shortExact_map_pushforward_of_forall_exists_surjective_app
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
namespace PushSES
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X T : Scheme.{u}} (π : X ⟶ T) (S : ShortComplex X.Modules)
theorem f_app_eq (U : T.Opens) (m : Γ(S.X₁, π ⁻¹ᵁ U)) :
    (S.map (Scheme.Modules.pushforward π)).f.app U m = S.f.app (π ⁻¹ᵁ U) m
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app.AlgebraicGeometry.Scheme.Modules.PushSES.shortExact
Source context 22 commands

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

@[expose] public section
section shortExact_map_pushforward_of_forall_exists_surjective_app
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
namespace AlgebraicGeometry
open _root_.AlgebraicGeometry
namespace Scheme
open _root_.AlgebraicGeometry.Scheme
namespace Modules
open _root_.AlgebraicGeometry.Scheme.Modules
namespace PushSES
open _root_.AlgebraicGeometry.Scheme.Modules
open _root_.AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry
variable {X T : Scheme.{u}} (π : X ⟶ T) (S : ShortComplex X.Modules)
theorem shortExact (hS : S.ShortExact)
    (hsurj : ∀ (U : T.Opens), ∀ y ∈ U, ∃ V : T.Opens, y ∈ V ∧ V ≤ U ∧
      Function.Surjective (S.g.app (π ⁻¹ᵁ V))) :
    (S.map (Scheme.Modules.pushforward π)).ShortExact
AlgebraicGeometry.Scheme.Modules.shortExact_map_pushforward_of_forall_exists_surjective_app
Source context 11 commands

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

@[expose] public section
section shortExact_map_pushforward_of_forall_exists_surjective_app
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_shortExact_map_pushforward_of_forall_exists_surjective_app
universe u
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
theorem
  _root_.AlgebraicGeometry.Scheme.Modules.shortExact_map_pushforward_of_forall_exists_surjective_app
    {X T : Scheme.{u}} (π : X ⟶ T) (S : ShortComplex X.Modules) (hS : S.ShortExact)
    (hsurj : ∀ (U : T.Opens), ∀ y ∈ U, ∃ V : T.Opens, y ∈ V ∧ V ≤ U ∧
      Function.Surjective (S.g.app (π ⁻¹ᵁ V))) :
    (S.map (Scheme.Modules.pushforward π)).ShortExact