Module

DEqDComapSectionEq.lean

Nyll.AlgebraicCurves.Cohomology.Sheaves.Complexes.DEqDComapSectionEq
39 declarations indexed from sourceView source ↗

Cech coboundaries detected after pullback along a section

Declarations

AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_res
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem res_res {U V W : P.Opens} (h₁ : W ≤ V) (h₂ : V ≤ U) (x : Γ(P, U)) :
    (P.presheaf.map (homOfLE h₁).op).hom ((P.presheaf.map (homOfLE h₂).op).hom x)
      = (P.presheaf.map (homOfLE (h₁.trans h₂)).op).hom x
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_self
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem res_self {U : P.Opens} (h : U ≤ U) (x : Γ(P, U)) :
    (P.presheaf.map (homOfLE h).op).hom x = x
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_res_self
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem res_res_self {U V : P.Opens} (h₁ : U ≤ V) (h₂ : V ≤ U) (x : Γ(P, U)) :
    (P.presheaf.map (homOfLE h₁).op).hom ((P.presheaf.map (homOfLE h₂).op).hom x) = x
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_app
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem res_app {X : Scheme.{u}} (s : X ⟶ P) {U V : P.Opens} (h : V ≤ U) (x : Γ(P, U)) :
    (s.app V).hom ((P.presheaf.map (homOfLE h).op).hom x)
      = (X.presheaf.map (homOfLE (s.preimage_mono h)).op).hom ((s.app U).hom x)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_appLE
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem res_appLE {X : Scheme.{u}} (p : P ⟶ X) {U : X.Opens} {V W : P.Opens} (e : V ≤ p ⁻¹ᵁ U)
    (h : W ≤ V) (y : Γ(X, U)) :
    (P.presheaf.map (homOfLE h).op).hom ((p.appLE U V e).hom y) = (p.appLE U W (h.trans e)).hom y
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.appLE_res
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section Res
variable {P : Scheme.{u}}
theorem appLE_res {X : Scheme.{u}} (p : P ⟶ X) {U U' : X.Opens} {V : P.Opens} (e : V ≤ p ⁻¹ᵁ U)
    (h : U ≤ U') (y : Γ(X, U')) :
    (p.appLE U V e).hom ((X.presheaf.map (homOfLE h).op).hom y)
      = (p.appLE U' V (e.trans (p.preimage_mono h))).hom y
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.res_any
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section ResAny
variable {P : Scheme.{u}}
theorem res_any {U W : P.Opens} (i : op U ⟶ op W) (h : W ≤ U) (x : Γ(P, U)) :
    (P.presheaf.map i).hom x = (P.presheaf.map (homOfLE h).op).hom x
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.appLE_of_eq_id
Source context 8 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
section ResAny
variable {P : Scheme.{u}}
theorem appLE_of_eq_id {X : Scheme.{u}} (f : X ⟶ X) (hf : f = 𝟙 X) {U V : X.Opens} (e : V ≤ f ⁻¹ᵁ U)
    (h : V ≤ U) (y : Γ(X, U)) :
    (f.appLE U V e).hom y = (X.presheaf.map (homOfLE h).op).hom y
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pre_pre
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
omit [IsAffineHom s] in
theorem pre_pre (hs : s ≫ p = 𝟙 X) (V : X.Opens) : s ⁻¹ᵁ (p ⁻¹ᵁ V) = V
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.XO

The intersection on the section scheme used to pull back a double-complex component.

Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
abbrev XO {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b) : X.Opens
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.XO_le
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
theorem XO_le {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b) :
    XO p s 𝒲 σ τ ≤ s ⁻¹ᵁ (biOpen p (𝒲.comap s) 𝒲 a b σ τ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull

Pullback of a component section along the given section morphism.

Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
def pull {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b)
    (x : Γ(P, biOpen p (𝒲.comap s) 𝒲 a b σ τ)) : Γ(X, XO p s 𝒲 σ τ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull_res
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
theorem pull_res {a b a' b' : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b)
    (σ' : (𝒲.comap s).Idx a') (τ' : (𝒲.comap s).Idx b')
    (h : biOpen p (𝒲.comap s) 𝒲 a' b' σ' τ' ≤ biOpen p (𝒲.comap s) 𝒲 a b σ τ)
    (h' : XO p s 𝒲 σ' τ' ≤ XO p s 𝒲 σ τ)
    (x : Γ(P, biOpen p (𝒲.comap s) 𝒲 a b σ τ)) :
    pull p s 𝒲 σ' τ' ((P.presheaf.map (homOfLE h).op).hom x)
      = (X.presheaf.map (homOfLE h').op).hom (pull p s 𝒲 σ τ x)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull_sum
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
theorem pull_sum {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b) {ι : Type*} (t : Finset
  ι)
    (f : ι → Γ(P, biOpen p (𝒲.comap s) 𝒲 a b σ τ)) (n : ι → ℤ) :
    pull p s 𝒲 σ τ (∑ j ∈ t, n j • f j) = ∑ j ∈ t, n j • pull p s 𝒲 σ τ (f j)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull_sub
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
theorem pull_sub {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b)
    (x y : Γ(P, biOpen p (𝒲.comap s) 𝒲 a b σ τ)) :
    pull p s 𝒲 σ τ (x - y) = pull p s 𝒲 σ τ x - pull p s 𝒲 σ τ y
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull_appLE
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section Main
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
theorem pull_appLE (hs : s ≫ p = 𝟙 X) {a b : ℕ} (σ : (𝒲.comap s).Idx a) (τ : (𝒲.comap s).Idx b)
    (y : Γ(X, (𝒲.comap s).inter σ)) (h : XO p s 𝒲 σ τ ≤ (𝒲.comap s).inter σ) :
    pull p s 𝒲 σ τ ((p.appLE ((𝒲.comap s).inter σ) (biOpen p (𝒲.comap s) 𝒲 a b σ τ)
      inf_le_right).hom y)
      = (X.presheaf.map (homOfLE h).op).hom y
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.alt_two
Source context 11 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
omit πX p s 𝒲 in
theorem alt_two {M : Type*} [AddCommGroup M] (x : M) :
    ∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) • x = 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.ΘP

The double-complex cochain obtained by pulling back a cochain from the base.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def ΘP {a b : ℕ} (y : ∀ σ : (𝒦).Idx a, Γ(X, (𝒦).inter σ)) : biC p πX 𝒦 𝒲 a b
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.ΘP_apply
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem ΘP_apply {a b : ℕ} (y : ∀ σ : (𝒦).Idx a, Γ(X, (𝒦).inter σ)) (στ : BiIdx 𝒦 𝒲 a b) :
    ΘP πX p s 𝒲 y στ = (p.appLE ((𝒦).inter στ.1) (biOpen p 𝒦 𝒲 a b στ.1 στ.2) inf_le_right).hom (y
      στ.1)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.dV_ΘP
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem dV_ΘP {a : ℕ} (y : ∀ σ : (𝒦).Idx a, Γ(X, (𝒦).inter σ)) :
    dV p πX 𝒦 𝒲 a 0 (ΘP πX p s 𝒲 y) = 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.dK

The alternating Cech differential on sections of the pulled-back cover.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def dK {a : ℕ} (y : ∀ σ : (𝒦).Idx a, Γ(X, (𝒦).inter σ)) (σ : (𝒦).Idx (a + 1)) :
    Γ(X, (𝒦).inter σ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.dH_ΘP
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem dH_ΘP {a b : ℕ} (y : ∀ σ : (𝒦).Idx a, Γ(X, (𝒦).inter σ)) (στ : BiIdx 𝒦 𝒲 (a + 1) b) :
    dH p πX 𝒦 𝒲 a b (ΘP πX p s 𝒲 y) στ
      = (p.appLE ((𝒦).inter στ.1) (biOpen p 𝒦 𝒲 (a + 1) b στ.1 στ.2) inf_le_right).hom
          (dK s 𝒲 y στ.1)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.β0

The double-complex cochain assembled from local degree-zero primitives.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def β0 (βi : ∀ i : 𝒲.ι, ∀ t : 𝒲.Idx 0, Γ(P, 𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i))) :
    biC p πX 𝒦 𝒲 0 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.β0_apply
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem β0_apply (βi : ∀ i : 𝒲.ι, ∀ t : 𝒲.Idx 0, Γ(P, 𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i)))
    (στ : BiIdx 𝒦 𝒲 0 0) :
    β0 πX p s 𝒲 βi στ = (P.presheaf.map (homOfLE (inf_le_inf_left (𝒲.inter στ.2)
      (p.preimage_mono ((𝒦).inter_le στ.1 0)))).op).hom (βi (στ.1.1 0) στ.2)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.dV_β0
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem dV_β0 (c : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 1)
    (βi : ∀ i : 𝒲.ι, ∀ t : 𝒲.Idx 0, Γ(P, 𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i)))
    (hβi : ∀ i : 𝒲.ι, ∀ t : 𝒲.Idx (0 + 1),
        (P.presheaf.map (homOfLE (inf_le_left :
            𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i) ≤ 𝒲.inter t)).op).hom (c t)
          = ∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) •
              (P.presheaf.map (homOfLE (inf_le_inf_right (p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i))
                (𝒲.inter_le_inter_face t j))).op).hom (βi i (𝒲.face t j))) :
    dV p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi) = biAug p πX 𝒦 𝒲 1 c
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.appLE_apply'
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem appLE_apply' {U : X.Opens} {V : P.Opens} (e : V ≤ p ⁻¹ᵁ U) (y : Γ(X, U)) :
    (p.appLE U V e).hom y = (P.presheaf.map (homOfLE e).op).hom ((p.app U).hom y)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.relAug_eq_zero
Source context 11 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
omit πX p s 𝒲 in
theorem relAug_eq_zero {V' Z : Scheme.{u}} (q : V' ⟶ Z) (πZ : Z ⟶ Spec (CommRingCat.of R))
    (K' : V'.OrderedAffineCover)
    (φ : OModulePresheaf.Hom (relHPresheaf q πZ K' 0) (pullOpen q πZ (⊤ : V'.Opens)))
    (hbij : ∀ U : Z.Opens, Function.Bijective (φ.app U))
    (haug : ∀ (U : Z.Opens) (x : LinearMap.ker (relAltd q πZ K' U 0)),
        relAug q πZ K' U (φ.app U (Submodule.Quotient.mk x)) = x.1)
    (U : Z.Opens) (w : (pullOpen q πZ (⊤ : V'.Opens)).obj U) (h : relAug q πZ K' U w = 0) :
    w = 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.BX

The relative cochain induced by restricting a base cochain.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def BX (bs : (OModulePresheaf.unit πX).cochain 𝒦 0) (σ : (𝒦).Idx 0) :
    relAltC s (p ≫ πX) 𝒦 (p ⁻¹ᵁ ((𝒦).inter σ)) 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.BX_apply
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem BX_apply (bs : (OModulePresheaf.unit πX).cochain 𝒦 0) (σ : (𝒦).Idx 0) (τ : (𝒦).Idx 0) :
    BX πX p s 𝒲 bs σ τ
      = (X.presheaf.map (homOfLE (inf_le_left : XO p s 𝒲 σ τ ≤ (𝒦).inter τ)).op).hom (bs τ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.ζX

The relative cochain obtained by pulling back a double-complex cochain.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def ζX (β : biC p πX 𝒦 𝒲 0 0) (σ : (𝒦).Idx 0) :
    relAltC s (p ≫ πX) 𝒦 (p ⁻¹ᵁ ((𝒦).inter σ)) 0
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.ζX_apply
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem ζX_apply (β : biC p πX 𝒦 𝒲 0 0) (σ : (𝒦).Idx 0) (τ : (𝒦).Idx 0) :
    ζX πX p s 𝒲 β σ τ = pull p s 𝒲 σ τ (β (σ, τ))
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.pull_dV_eq
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem pull_dV_eq (c : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 1) (β : biC p πX 𝒦 𝒲 0 0)
    (hβ : dV p πX 𝒦 𝒲 0 0 β = biAug p πX 𝒦 𝒲 1 c) (σ : (𝒦).Idx 0) (τ' : (𝒦).Idx (0 + 1)) :
    (∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) •
        (X.presheaf.map (homOfLE (inf_le_inf_right ((Opens.map s.base).obj (p ⁻¹ᵁ ((𝒦).inter σ)))
          ((𝒦).inter_le_inter_face τ' j))).op).hom (ζX πX p s 𝒲 β σ ((𝒦).face τ' j)))
      = (s.appLE (𝒲.inter τ') (XO p s 𝒲 σ τ')
          ((inf_le_left : XO p s 𝒲 σ τ' ≤ (𝒦).inter τ').trans (𝒲.comap_inter_le s τ'))).hom (c τ')
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.relAltd_ζX_sub_BX
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem relAltd_ζX_sub_BX (c : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 1)
    (bs : (OModulePresheaf.unit πX).cochain 𝒦 0)
    (hbs : (OModulePresheaf.unit πX).d 𝒦 0 bs = fun t =>
        (X.presheaf.map (homOfLE (𝒲.comap_inter_le s t)).op).hom ((s.app (𝒲.inter t)).hom (c t)))
    (β : biC p πX 𝒦 𝒲 0 0) (hβ : dV p πX 𝒦 𝒲 0 0 β = biAug p πX 𝒦 𝒲 1 c) (σ : (𝒦).Idx 0) :
    relAltd s (p ≫ πX) 𝒦 (p ⁻¹ᵁ ((𝒦).inter σ)) 0 (ζX πX p s 𝒲 β σ - BX πX p s 𝒲 bs σ) = 0 := by
  rw [map_sub, sub_eq_zero]
  funext τ'
  rw [relAltd_apply', relAltd_apply', pull_dV_eq πX p s 𝒲 c β hβ σ τ']
  have h2 : ∀ j : Fin (0 + 2),
      (X.presheaf.map (homOfLE (inf_le_inf_right ((Opens.map s.base).obj (p ⁻¹ᵁ ((𝒦).inter σ)))
          ((𝒦).inter_le_inter_face τ' j))).op).hom (BX πX p s 𝒲 bs σ ((𝒦).face τ' j))
        = (X.presheaf.map (homOfLE ((inf_le_left : XO p s 𝒲 σ τ' ≤ (𝒦).inter τ').trans
            ((𝒦).inter_le_inter_face τ' j))).op).hom (bs ((𝒦).face τ' j)) := by
    intro j
    erw [BX_apply πX p s 𝒲 bs σ ((𝒦).face τ' j), res_res]
  simp only [h2]
  have h3 : (X.presheaf.map (homOfLE (inf_le_left : XO p s 𝒲 σ τ' ≤ (𝒦).inter τ')).op).hom
      ((OModulePresheaf.unit πX).d 𝒦 0 bs τ')
      = ∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) •
          (X.presheaf.map (homOfLE ((inf_le_left : XO p s 𝒲 σ τ' ≤ (𝒦).inter τ').trans
            ((𝒦).inter_le_inter_face τ' j))).op).hom (bs ((𝒦).face τ' j)) := by
    erw [OModulePresheaf.d_apply, map_sum]
    refine Finset.sum_congr rfl fun j _ => ?_
    erw [map_zsmul]
    exact congrArg (((-1 : ℤ) ^ (j : ℕ)) • ·) (res_res _ _ _)
  rw [← h3, hbs, res_res]
  rfl
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.gK

The base cochain obtained from a relative section using the section identity.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
def gK (hs : s ≫ p = 𝟙 X)
    (gX : ∀ σ : (𝒦).Idx 0, (pullOpen s (p ≫ πX) (⊤ : X.Opens)).obj (p ⁻¹ᵁ ((𝒦).inter σ)))
    (σ : (𝒦).Idx 0) : Γ(X, (𝒦).inter σ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.gK_apply
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem gK_apply (hs : s ≫ p = 𝟙 X)
    (gX : ∀ σ : (𝒦).Idx 0, (pullOpen s (p ≫ πX) (⊤ : X.Opens)).obj (p ⁻¹ᵁ ((𝒦).inter σ)))
    (σ : (𝒦).Idx 0) :
    gK πX p s 𝒲 hs gX σ = (X.presheaf.map (homOfLE (le_inf le_top (pre_pre p s hs ((𝒦).inter
      σ)).symm.le :
      (𝒦).inter σ ≤ ⊤ ⊓ s ⁻¹ᵁ (p ⁻¹ᵁ ((𝒦).inter σ)))).op).hom (gX σ)
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.XO_le_inter
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem XO_le_inter (hs : s ≫ p = 𝟙 X) {a b : ℕ} (σ : (𝒦).Idx a) (τ : (𝒦).Idx b) :
    XO p s 𝒲 σ τ ≤ (𝒦).inter σ
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.e_eq_dK
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem e_eq_dK (hs : s ≫ p = 𝟙 X)
    (β : biC p πX 𝒦 𝒲 0 0) (e : ∀ σ : (𝒦).Idx 1, Γ(X, (𝒦).inter σ))
    (he : ∀ (σ : (𝒦).Idx 1) (τ : (𝒦).Idx 0), dH p πX 𝒦 𝒲 0 0 β (σ, τ)
        = (p.appLE ((𝒦).inter σ) (biOpen p 𝒦 𝒲 1 0 σ τ) inf_le_right).hom (e σ))
    (bs : (OModulePresheaf.unit πX).cochain 𝒦 0)
    (gX : ∀ σ : (𝒦).Idx 0, (pullOpen s (p ≫ πX) (⊤ : X.Opens)).obj (p ⁻¹ᵁ ((𝒦).inter σ)))
    (hg : ∀ σ : (𝒦).Idx 0, relAug s (p ≫ πX) 𝒦 (p ⁻¹ᵁ ((𝒦).inter σ)) (gX σ)
        = ζX πX p s 𝒲 β σ - BX πX p s 𝒲 bs σ)
    (φX : OModulePresheaf.Hom (relHPresheaf s (p ≫ πX) 𝒦 0) (pullOpen s (p ≫ πX) (⊤ : X.Opens)))
    (hφXbij : ∀ U : P.Opens, Function.Bijective (φX.app U))
    (hφXaug : ∀ (U : P.Opens) (x : LinearMap.ker (relAltd s (p ≫ πX) 𝒦 U 0)),
        relAug s (p ≫ πX) 𝒦 U (φX.app U (Submodule.Quotient.mk x)) = x.1)
    (σ : (𝒦).Idx 1) :
    e σ = dK s 𝒲 (gK πX p s 𝒲 hs gX) σ
AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary.C1Body.main
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
open CategoryTheory CategoryTheory.Limits AlgebraicGeometry TopologicalSpace Opposite
universe u
namespace C1Body
open AlgebraicGeometry.OModulePresheaf.Leray
section MainC
variable {R : Type u} [CommRing R] {X P : Scheme.{u}}
  (πX : X ⟶ Spec (CommRingCat.of R)) (p : P ⟶ X) (s : X ⟶ P) [IsAffineHom s]
  (𝒲 : P.OrderedAffineCover)
local notation "𝒦" => (Scheme.OrderedAffineCover.comap 𝒲 s)
theorem main [IsSeparated πX] [IsSeparated (p ≫ πX)] (hs : s ≫ p = 𝟙 X)
    (hp : ∀ U : X.Opens, IsAffineOpen U → Function.Surjective (p.app U).hom)
    (c : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 1)
    (_hc : (OModulePresheaf.unit (p ≫ πX)).d 𝒲 1 c = 0)
    (hcU : ∀ i : 𝒲.ι, ∃ β : ∀ t : 𝒲.Idx 0, Γ(P, 𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i)),
      ∀ t : 𝒲.Idx (0 + 1),
        (P.presheaf.map (homOfLE (inf_le_left :
            𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i) ≤ 𝒲.inter t)).op).hom (c t)
          = ∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) •
              (P.presheaf.map (homOfLE (inf_le_inf_right (p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i))
                (𝒲.inter_le_inter_face t j))).op).hom (β (𝒲.face t j)))
    (hcs : ∃ b : (OModulePresheaf.unit πX).cochain (𝒲.comap s) 0,
      (OModulePresheaf.unit πX).d (𝒲.comap s) 0 b = fun t =>
        (X.presheaf.map (homOfLE (𝒲.comap_inter_le s t)).op).hom ((s.app (𝒲.inter t)).hom (c t))) :
    ∃ b : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 0, (OModulePresheaf.unit (p ≫ πX)).d 𝒲 0 b = c
      := by
  classical
  obtain ⟨hexact, hker0, hinj⟩ := rows_exact p πX 𝒦 𝒲
  choose βi hβi using hcU
  have hdVβ : dV p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi) = biAug p πX 𝒦 𝒲 1 c :=
    dV_β0 πX p s 𝒲 c βi hβi
  have hdVδ : dV p πX 𝒦 𝒲 1 0 (dH p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi)) = 0 := by
    have h1 := LinearMap.congr_fun (dHV_comm p πX 𝒦 𝒲 0 0) (β0 πX p s 𝒲 βi)
    rw [LinearMap.comp_apply, LinearMap.comp_apply] at h1
    rw [h1, hdVβ]
    have hm : biAug p πX 𝒦 𝒲 1 c ∈ LinearMap.ker ((LerayDblCpx p πX 𝒦 𝒲).dH 0 1) := by
      rw [hker0 1]; exact ⟨c, rfl⟩
    exact hm
  obtain ⟨φ, hφbij, hφaug⟩ := exists_hom_relHPresheaf_zero p πX 𝒲
  have he' : ∀ σ : (𝒦).Idx 1, ∃ eσ : Γ(X, (𝒦).inter σ), ∀ τ : (𝒦).Idx 0,
      dH p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi) (σ, τ)
        = (p.appLE ((𝒦).inter σ) (biOpen p 𝒦 𝒲 1 0 σ τ) inf_le_right).hom eσ := by
    intro σ
    have hδσ : relAltd p πX 𝒲 ((𝒦).inter σ) 0
        (fun τ => dH p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi) (σ, τ)) = 0 := by
      funext τ'
      have h2 := congrFun hdVδ (σ, τ')
      rw [dV_apply'] at h2
      rw [relAltd_apply']
      exact h2
    obtain ⟨eσ, heσ⟩ := hp ((𝒦).inter σ) (Scheme.OrderedAffineCover.isAffineOpen_inter πX 𝒦 σ)
      ((P.presheaf.map (homOfLE (le_inf le_top le_rfl :
          p ⁻¹ᵁ ((𝒦).inter σ) ≤ ⊤ ⊓ p ⁻¹ᵁ ((𝒦).inter σ))).op).hom
        (φ.app ((𝒦).inter σ) (Submodule.Quotient.mk ⟨_, LinearMap.mem_ker.mpr hδσ⟩)))
    refine ⟨eσ, fun τ => ?_⟩
    have h3 := congrFun (hφaug ((𝒦).inter σ) ⟨_, LinearMap.mem_ker.mpr hδσ⟩) τ
    erw [relAug_apply] at h3
    rw [appLE_apply', heσ]
    erw [res_res]
    exact h3.symm
  choose e he using he'
  obtain ⟨bs, hbs⟩ := hcs
  obtain ⟨φX, hφXbij, hφXaug⟩ := exists_hom_relHPresheaf_zero s (p ≫ πX) 𝒦
  have hζ := relAltd_ζX_sub_BX πX p s 𝒲 c bs hbs (β0 πX p s 𝒲 βi) hdVβ
  have hg' : ∀ σ0 : (𝒦).Idx 0,
      ∃ g0 : (pullOpen s (p ≫ πX) (⊤ : X.Opens)).obj (p ⁻¹ᵁ ((𝒦).inter σ0)),
        relAug s (p ≫ πX) 𝒦 (p ⁻¹ᵁ ((𝒦).inter σ0)) g0
          = ζX πX p s 𝒲 (β0 πX p s 𝒲 βi) σ0 - BX πX p s 𝒲 bs σ0 :=
    fun σ0 => ⟨φX.app _ (Submodule.Quotient.mk ⟨_, LinearMap.mem_ker.mpr (hζ σ0)⟩), hφXaug _ _⟩
  choose gX hgX using hg'
  have heq : ∀ σ : (𝒦).Idx 1, e σ = dK s 𝒲 (gK πX p s 𝒲 hs gX) σ :=
    e_eq_dK πX p s 𝒲 hs (β0 πX p s 𝒲 βi) e he bs gX hgX φX hφXbij hφXaug
  have hH : dH p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi - ΘP πX p s 𝒲 (gK πX p s 𝒲 hs gX)) = 0 := by
    rw [map_sub]
    funext στ
    obtain ⟨σ, τ⟩ := στ
    rw [Pi.sub_apply, Pi.zero_apply, he σ τ, dH_ΘP, ← heq σ]
    exact sub_self _
  have hV : dV p πX 𝒦 𝒲 0 0 (β0 πX p s 𝒲 βi - ΘP πX p s 𝒲 (gK πX p s 𝒲 hs gX))
      = biAug p πX 𝒦 𝒲 1 c := by
    rw [map_sub, hdVβ, dV_ΘP, sub_zero]
  have hmem : (β0 πX p s 𝒲 βi - ΘP πX p s 𝒲 (gK πX p s 𝒲 hs gX))
      ∈ LinearMap.range (biAug p πX 𝒦 𝒲 0) := by
    rw [← hker0 0]; exact hH
  obtain ⟨b, hb⟩ := hmem
  refine ⟨b, hinj 1 ?_⟩
  have h4 : (LerayDblCpx p πX 𝒦 𝒲).dV 0 0 (biAug p πX 𝒦 𝒲 0 b)
      = biAug p πX 𝒦 𝒲 (0 + 1) ((OModulePresheaf.unit (p ≫ πX)).d 𝒲 0 b) :=
    LinearMap.congr_fun (dV_comp_biAug p πX 𝒦 𝒲 0) b
  have h5 : (LerayDblCpx p πX 𝒦 𝒲).dV 0 0 (biAug p πX 𝒦 𝒲 0 b) = biAug p πX 𝒦 𝒲 1 c := by
    rw [hb]; exact hV
  exact h4.symm.trans h5
AlgebraicGeometry.OModulePresheaf.exists_d_eq_of_d_comap_section_eq_of_forall_preimage_chart
Source context 6 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicGeometry.OModulePresheaf
open CategoryTheory CategoryTheory.Limits TopologicalSpace Opposite
open AlgebraicCurves.Cohomology.Sheaves.Proofs.CechSectionCoboundary
universe u
theorem exists_d_eq_of_d_comap_section_eq_of_forall_preimage_chart
    {R : Type u} [CommRing R] {X P : Scheme.{u}}
    (πX : X ⟶ Spec (CommRingCat.of R)) [IsSeparated πX]
    (p : P ⟶ X) [IsSeparated (p ≫ πX)]
    (s : X ⟶ P) [IsAffineHom s] (hs : s ≫ p = 𝟙 X)
    (hp : ∀ U : X.Opens, IsAffineOpen U → Function.Surjective (p.app U).hom)
    (𝒲 : P.OrderedAffineCover)
    (c : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 1)
    (hc : (OModulePresheaf.unit (p ≫ πX)).d 𝒲 1 c = 0)
    (hcU : ∀ i : 𝒲.ι, ∃ β : ∀ t : 𝒲.Idx 0, Γ(P, 𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i)),
      ∀ t : 𝒲.Idx (0 + 1),
        (P.presheaf.map (homOfLE (inf_le_left :
            𝒲.inter t ⊓ p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i) ≤ 𝒲.inter t)).op).hom (c t)
          = ∑ j : Fin (0 + 2), ((-1 : ℤ) ^ (j : ℕ)) •
              (P.presheaf.map (homOfLE (inf_le_inf_right (p ⁻¹ᵁ (s ⁻¹ᵁ 𝒲.U i))
                (𝒲.inter_le_inter_face t j))).op).hom (β (𝒲.face t j)))
    (hcs : ∃ b : (OModulePresheaf.unit πX).cochain (𝒲.comap s) 0,
      (OModulePresheaf.unit πX).d (𝒲.comap s) 0 b = fun t =>
        (X.presheaf.map (homOfLE (𝒲.comap_inter_le s t)).op).hom ((s.app (𝒲.inter t)).hom (c t))) :
    ∃ b : (OModulePresheaf.unit (p ≫ πX)).cochain 𝒲 0, (OModulePresheaf.unit (p ≫ πX)).d 𝒲 0 b = c
      := by
  exact C1Body.main πX p s 𝒲 hs hp c hc hcU hcs