Module

FrameLocality.lean

Nyll.SchemeTheory.Modules.Frames.FrameLocality
14 declarations indexed from sourceView source ↗

Local bijectivity of multiplication by a section

Multiplication by a fixed global section is bijective on every open when it is bijective on a suitable neighbourhood of each point.

Scheme Modules Is Frame On of i Sup

Scheme Modules Is Frame On exists is Unit smul eq

Scheme Modules is Iso of is Frame On of i Sup eq top

Imports4
Imported by22

Declarations

AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul.FrameLocalSol.res

The restriction of the fixed global section σ to the open subset W.

Source context 9 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
namespace FrameLocalSol
variable {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤))
abbrev res (W : X.Opens) : Γ(M, W)
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul.FrameLocalSol.res_map
Source context 9 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
namespace FrameLocalSol
variable {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤))
theorem res_map {W W' : X.Opens} (i : W' ⟶ W) : M.presheaf.map i.op (res M σ W) = res M σ W'
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul.FrameLocalSol.smul_res
Source context 9 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
namespace FrameLocalSol
variable {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤))
theorem smul_res {W W' : X.Opens} (i : W' ⟶ W) (g : Γ(X, W)) :
    M.presheaf.map i.op (g • res M σ W) = X.presheaf.map i.op g • res M σ W'
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul.FrameLocalSol.abSheaf

The sheaf of abelian groups underlying the module sheaf M.

Source context 9 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
namespace FrameLocalSol
variable {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤))
def abSheaf : TopCat.Sheaf Ab X.carrier
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul.FrameLocalSol.main
Source context 9 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
namespace FrameLocalSol
variable {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤))
theorem main (V : X.Opens)
    (h : ∀ x ∈ V, ∃ U : X.Opens, x ∈ U ∧ ∀ W : X.Opens, W ≤ U →
      Function.Bijective fun g : Γ(X, W) => g • res M σ W) :
    Function.Bijective fun g : Γ(X, V) => g • res M σ V := by
  classical
  choose U hxU hU using fun x : V => h x.1 x.2
  let W : V → X.Opens := fun x => V ⊓ U x
  have hWV : ∀ x, W x ≤ V := fun x => inf_le_left
  have hWU : ∀ x, W x ≤ U x := fun x => inf_le_right
  have hcover : V ≤ iSup W := fun y hy => Opens.mem_iSup.2 ⟨⟨y, hy⟩, ⟨hy, hxU ⟨y, hy⟩⟩⟩
  constructor
  · intro g₁ g₂ hg
    have hg' : g₁ • res M σ V = g₂ • res M σ V := hg
    apply TopCat.Sheaf.eq_of_locally_eq' X.sheaf W V (fun x => homOfLE (hWV x)) hcover
    intro x
    apply (hU x (W x) (hWU x)).1
    change X.presheaf.map (homOfLE (hWV x)).op g₁ • res M σ (W x) =
      X.presheaf.map (homOfLE (hWV x)).op g₂ • res M σ (W x)
    rw [← smul_res, ← smul_res, hg']
  · intro s
    have hloc : ∀ x, ∃! g : Γ(X, W x), g • res M σ (W x) = M.presheaf.map (homOfLE (hWV x)).op s :=
      fun x => (Function.bijective_iff_existsUnique _).1 (hU x (W x) (hWU x)) _
    choose gx hgx hgx_uniq using hloc
    have hcompat : TopCat.Presheaf.IsCompatible X.sheaf.obj W gx := by
      intro x y
      apply (hU x (W x ⊓ W y) (inf_le_left.trans (hWU x))).1
      change X.presheaf.map (Opens.infLELeft (W x) (W y)).op (gx x) • res M σ (W x ⊓ W y) =
        X.presheaf.map (Opens.infLERight (W x) (W y)).op (gx y) • res M σ (W x ⊓ W y)
      rw [← smul_res M σ (Opens.infLELeft (W x) (W y)), hgx x, ← smul_res M σ (Opens.infLERight
          (W x) (W y)),
        hgx y, ← ConcreteCategory.comp_apply, ← ConcreteCategory.comp_apply, ← Functor.map_comp,
        ← Functor.map_comp, ← op_comp, ← op_comp]
      rfl
    obtain ⟨g, hg, -⟩ : ∃! g : Γ(X, V), ∀ x, X.presheaf.map (homOfLE (hWV x)).op g = gx x :=
      TopCat.Sheaf.existsUnique_gluing' X.sheaf W V (fun x => homOfLE (hWV x)) hcover gx hcompat
    refine ⟨g, ?_⟩
    apply TopCat.Sheaf.eq_of_locally_eq' (abSheaf M) W V (fun x => homOfLE (hWV x)) hcover
    intro x
    change M.presheaf.map (homOfLE (hWV x)).op (g • res M σ V) = M.presheaf.map (homOfLE (hWV
        x)).op s
    rw [smul_res, ← hgx x]
    exact congrArg (· • res M σ (W x)) (hg x)
AlgebraicGeometry.Scheme.Modules.bijective_smul_of_forall_exists_bijective_smul
Source context 7 commands

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

@[expose] public section
section FrameLocality
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_Modules_bijective_smul_of_forall_exists_bijective_smul
universe u
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
theorem _root_.AlgebraicGeometry.Scheme.Modules.bijective_smul_of_forall_exists_bijective_smul
    {X : Scheme.{u}} (M : X.Modules) (σ : Γ(M, ⊤)) (V : X.Opens)
    (h : ∀ x ∈ V, ∃ U : X.Opens, x ∈ U ∧ ∀ W : X.Opens, W ≤ U →
      Function.Bijective fun g : Γ(X, W) => g • (M.presheaf.map (homOfLE (le_top : W ≤ ⊤)).op σ
          : Γ(M, W))) :
    Function.Bijective fun g : Γ(X, V) => g • (M.presheaf.map (homOfLE (le_top : V ≤ ⊤)).op σ :
        Γ(M, V)) :=
  FrameLocalSol.main M σ V h
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_IsFrameOn_of_iSup.FrameL1Aux.map_map
Source context 8 commands

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

@[expose] public section
section IsFrameOn_of_iSup
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_IsFrameOn_of_iSup
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
namespace FrameL1Aux
variable {X : Scheme.{u}} {M : X.Modules}
theorem map_map {V₁ V₂ V₃ : X.Opens} (h₂₁ : V₂ ≤ V₁) (h₃₂ : V₃ ≤ V₂) (y : Γ(M, V₁)) :
    M.presheaf.map (homOfLE h₃₂).op (M.presheaf.map (homOfLE h₂₁).op y) =
      M.presheaf.map (homOfLE (h₃₂.trans h₂₁)).op y
AlgebraicGeometry.Scheme.Modules.IsFrameOn.of_iSup
Source context 7 commands

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

@[expose] public section
section IsFrameOn_of_iSup
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_IsFrameOn_of_iSup
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
open AlgebraicGeometry.Scheme.Modules FrameL1Aux in
theorem _root_.AlgebraicGeometry.Scheme.Modules.IsFrameOn.of_iSup
    {X : Scheme.{u}} {M : X.Modules} {U : X.Opens} {ι : Type v} {s : Γ(M, U)}
    (V : ι → X.Opens) (h : ∀ i, Scheme.Modules.IsFrameOn s (V i)) :
    Scheme.Modules.IsFrameOn s (⨆ i, V i)
AlgebraicGeometry.Scheme.Modules.IsFrameOn.exists_isUnit_smul_eq
Source context 6 commands

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

@[expose] public section
section IsFrameOn_exists_isUnit_smul_eq
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_IsFrameOn_exists_isUnit_smul_eq
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
theorem _root_.AlgebraicGeometry.Scheme.Modules.IsFrameOn.exists_isUnit_smul_eq
    {X : Scheme.{u}} {M : X.Modules} {U : X.Opens} {s s' : Γ(M, U)} {V : X.Opens}
    (hs : Scheme.Modules.IsFrameOn s V) (hs' : Scheme.Modules.IsFrameOn s' V)
    {W : X.Opens} (hWU : W ≤ U) (hWV : W ≤ V) :
    ∃ u : Γ(X, W), IsUnit u ∧
      u • M.presheaf.map (homOfLE hWU).op s = M.presheaf.map (homOfLE hWU).op s'
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top.N2P4.map_map
Source context 9 commands

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

@[expose] public section
section isIso_of_isFrameOn_of_iSup_eq_top
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
namespace N2P4
open AlgebraicGeometry.Scheme.Modules
variable {X : Scheme.{u}} {P Q : X.Modules}
theorem map_map (M : X.Modules) {V₁ V₂ V₃ : X.Opens} (h₂₁ : V₂ ≤ V₁) (h₃₂ : V₃ ≤ V₂) (y : Γ(M,
  V₁)) :
    M.presheaf.map (homOfLE h₃₂).op (M.presheaf.map (homOfLE h₂₁).op y) =
      M.presheaf.map (homOfLE (h₃₂.trans h₂₁)).op y
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top.N2P4.app_map
Source context 9 commands

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

@[expose] public section
section isIso_of_isFrameOn_of_iSup_eq_top
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
namespace N2P4
open AlgebraicGeometry.Scheme.Modules
variable {X : Scheme.{u}} {P Q : X.Modules}
theorem app_map (μ : P ⟶ Q) {V W : X.Opens} (h : W ≤ V) (x : Γ(P, V)) :
    μ.app W (P.presheaf.map (homOfLE h).op x) = Q.presheaf.map (homOfLE h).op (μ.app V x)
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top.N2P4.app_injective_of_le
Source context 9 commands

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

@[expose] public section
section isIso_of_isFrameOn_of_iSup_eq_top
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
namespace N2P4
open AlgebraicGeometry.Scheme.Modules
variable {X : Scheme.{u}} {P Q : X.Modules}
theorem app_injective_of_le (μ : P ⟶ Q) {V : X.Opens} (p : Γ(P, V)) (q : Γ(Q, V))
    (hp : IsFrameOn p V) (hq : IsFrameOn q V) (hμ : μ.app V p = q) {W : X.Opens} (hW : W ≤ V) :
    Function.Injective (μ.app W)
AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top.N2P4.isIso_of_frames
Source context 9 commands

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

@[expose] public section
section isIso_of_isFrameOn_of_iSup_eq_top
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
namespace N2P4
open AlgebraicGeometry.Scheme.Modules
variable {X : Scheme.{u}} {P Q : X.Modules}
theorem isIso_of_frames (μ : P ⟶ Q) {ι : Type v} (𝒱 : ι → X.Opens) (hcov : ⨆ i, 𝒱 i = ⊤)
    (p : ∀ i, Γ(P, 𝒱 i)) (q : ∀ i, Γ(Q, 𝒱 i))
    (hp : ∀ i, IsFrameOn (p i) (𝒱 i)) (hq : ∀ i, IsFrameOn (q i) (𝒱 i))
    (hμ : ∀ i, μ.app (𝒱 i) (p i) = q i) : IsIso μ
AlgebraicGeometry.Scheme.Modules.isIso_of_isFrameOn_of_iSup_eq_top
Source context 7 commands

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

@[expose] public section
section isIso_of_isFrameOn_of_iSup_eq_top
section ProofImplementation
namespace AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isIso_of_isFrameOn_of_iSup_eq_top
universe u v
open CategoryTheory Opposite TopologicalSpace AlgebraicGeometry
open AlgebraicGeometry in
theorem _root_.AlgebraicGeometry.Scheme.Modules.isIso_of_isFrameOn_of_iSup_eq_top {X : Scheme.{u}}
  {P Q : X.Modules} (μ : P ⟶ Q) {ι : Type v} (𝒱 : ι → X.Opens) (hcov : ⨆ i, 𝒱 i = ⊤)
    (p : ∀ i, Γ(P, 𝒱 i)) (q : ∀ i, Γ(Q, 𝒱 i))
    (hp : ∀ i, Scheme.Modules.IsFrameOn (p i) (𝒱 i)) (hq : ∀ i, Scheme.Modules.IsFrameOn (q i) (𝒱
      i))
    (hμ : ∀ i, μ.app (𝒱 i) (p i) = q i) : IsIso μ