File size: 1,631 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Terms
import Mathlib.Algebra.Homology.HomologicalComplex
import Mathlib.Algebra.Homology.ShortComplex.ModuleCat

/-! # Cech Complex -/

namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech

noncomputable section

/-! The actual homogeneous Čech terms and differentials form a cochain complex of modules. -/

open _root_.MvPolynomial _root_.CategoryTheory

universe u v w

variable {σ : Type u} [LinearOrder σ] (R : Type v) [CommRing R]
variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M]
  [IsScalarTower R (MvPolynomial σ R) M]
variable (ℳ : ℤ → Submodule R M)
  [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ]

def moduleCechComplex (d : ℤ) : CochainComplex (ModuleCat R) ℕ :=
  CochainComplex.of (fun q => ModuleCat.of R (Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q))
    (fun q => ModuleCat.ofHom (Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d q)) (by
      intro q
      apply ModuleCat.hom_ext
      apply LinearMap.ext
      intro f
      exact Terms.ProjectiveCech.moduleCechTermDifferential_square R M ℳ d q f)

theorem moduleCechComplex_d (d : ℤ) (q : ℕ) :
    (moduleCechComplex (σ := σ) R M ℳ d).d q (q + 1) =
      ModuleCat.ofHom (Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d q) := by
  simp only [moduleCechComplex, CochainComplex.of_d]

end

end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech