math / data /lean /OAI /ArithmeticGeometry /OrdinaryLocus /Openness /AffineLocalCohomology.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.13 kB
18
local instance e40AffineLocalEnoughInjectives :
    EnoughInjectives (AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R))) :=
body · 1 line
  AbelianSheafInjectives.Construction.abelianSheaves_enoughInjectives (TopCat.of (PrimeSpectrum R))
22
local instance e40AffineLocalHasExt : HasExt.{u} (AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R))) :=
body · 1 line
  hasExt_of_enoughInjectives _
25
theorem quasicoherent_affine_H'_one_top_subsingleton (N : (Spec R).Modules) [N.IsQuasicoherent] :
    Subsingleton (((QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj
      (modulesSpecToSheaf.obj N)).H' 1 ⊤) := by
proof · 5 lines
  let F : AbelianSheafInjectives.Construction.AbelianSheaves (TopCat.of (PrimeSpectrum R)) :=
    (QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj (modulesSpecToSheaf.obj N)
  have : Subsingleton (CategoryTheory.Sheaf.H F 1) :=
    AffineCohomologyOne.Construction.quasicoherent_affine_H_one_subsingleton R N
  exact (CohomologyTerminal.Construction.cohomologyAtTerminalIso isTerminalTop _ F 1).addCommGroupIsoToAddEquiv.injective.subsingleton
34
theorem quasicoherent_affine_H'_one_top_isZero (N : (Spec R).Modules) [N.IsQuasicoherent] :
    IsZero (((QuasicoherentAdditiveCech.Construction.moduleSheafToAbelian R (TopCat.of (PrimeSpectrum R))).obj
      (modulesSpecToSheaf.obj N)).H' 1 ⊤) := by
proof · 2 lines
  have := quasicoherent_affine_H'_one_top_subsingleton R N
  exact AddCommGrpCat.isZero_iff_subsingleton.mpr inferInstance