Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.SheafCohomology.ClosedImmersionCohomology |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.ConstantFlasque |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.FinitelyGeneratedVanishing |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.FlasqueVanishing |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.TopologicalKrullDim |
| 6 | import OAI.AlgebraicGeometry.SheafCohomology.ZeroOutside |
| 7 | |
| 8 | /-! # Irreducible Step -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.SheafCohomology.IrreducibleStep |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 13 | open _root_.CategoryTheory.Limits _root_.Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | namespace ProjectiveVanishing |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.SheafCohomology.Vanishing.Projective.TopCat |
| 20 | |
| 21 | /-! |
| 22 | # Irreducible positive-dimensional vanishing |
| 23 | |
| 24 | Assembly of the irreducible positive-dimensional case of Hartshorne III.2.7. Given the |
| 25 | induction hypothesis `VanishingIH` on spaces of strictly smaller Krull dimension, this |
| 26 | file proves vanishing for all sheaves on an irreducible Noetherian space `X` with |
| 27 | `dim X > 0`. |
| 28 | |
| 29 | The key Noetherian-shrinking step `exists_section_generating_stalks` uses `Nat.find` to |
| 30 | pick a point `x₀` whose image subgroup is generated by a minimal positive integer `d`, |
| 31 | then propagates divisibility `d | d_x` to every other point of a sufficiently small |
| 32 | neighbourhood by minimality. |
| 33 | |
| 34 | ## Main definitions |
| 35 | |
| 36 | * `VanishingIH` — the induction hypothesis predicate. |
| 37 | |
| 38 | ## Main results |
| 39 | |
| 40 | * `sHom_stalk_bijective_at` — stalk-bijectivity criterion for the section homomorphism. |
| 41 | * `exists_nonzero_stalk_in_V` — a nonzero subsheaf of `zeroOutsideInt V` has a nonzero |
| 42 | stalk at some point of `V`. |
| 43 | * `exists_section_generating_stalks`, `exists_good_section`, |
| 44 | `subsheaf_contains_zeroOutsideInt` — the Noetherian-shrinking step. |
| 45 | * `closedComplementVanishing` — vanishing for sheaves supported on a closed complement. |
| 46 | * `zeroOutsideInt_vanishing`, `zeroOutsideInt_cohomology_vanishing` — Step 5 vanishing. |
| 47 | * `subsheaf_zeroOutsideInt_vanishing` — Step 4 vanishing. |
| 48 | * `epiImage_zeroOutsideInt_vanishing_of_locallySurjective` — Steps 3C + 4 + LES combined. |
| 49 | * `irreducible_pos_vanishing` — the headline assembly. |
| 50 | -/ |
| 51 | |
| 52 | universe u |
| 53 | |
| 54 | open Abelian Limits |
| 55 | |
| 56 | /-- The stalk map of `sHom s` at `x ∈ U` is bijective when every stalk element of R at x |
| 57 | is an integer multiple of `germ(s, x)`, and R embeds into `zeroOutsideInt V` |
| 58 | (providing torsion-freeness needed for injectivity). -/ |
| 59 | theorem sHom_stalk_bijective_at |
| 60 | {X : TopCat.{u}} {V U : Opens X} (hUV : U ≤ V) |
| 61 | {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 62 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) [Mono i] |
| 63 | (s : R.obj (op U)) |
| 64 | (x : X) (hxU : x ∈ U) |
| 65 | -- germ(s, x) ≠ 0 (needed for injectivity; without this, stalk(R,x) could be 0 |
| 66 | -- while stalk(zeroOutsideInt U, x) ≅ ℤ, making the map non-injective) |
| 67 | (hs_ne : R.germ U x hxU s ≠ 0) |
| 68 | -- Every stalk element of R at x is an integer multiple of germ(s, x) |
| 69 | (hgen : ∀ (a : (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).obj R), |
| 70 | ∃ k : ℤ, a = k • R.germ U x hxU s) : |
| 71 | Function.Bijective (ConcreteCategory.hom |
| 72 | ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map |
| 73 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s))) := by |
| 74 | let T := TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x |
| 75 | let sHom_x := ConcreteCategory.hom (T.map (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s)) |
| 76 | let i_x := ConcreteCategory.hom (T.map i) |
| 77 | have hi_inj : Function.Injective i_x := |
| 78 | TopCat.Presheaf.stalkFunctor_map_injective_of_app_injective (f := i) |
| 79 | (fun U ↦ |
| 80 | (ConcreteCategory.mono_iff_injective_of_preservesPullback (i.app (op U))).mp |
| 81 | ((NatTrans.mono_iff_mono_app i).mp inferInstance (op U))) x |
| 82 | have hi_s_ne : i_x (R.germ U x hxU s) ≠ 0 := |
| 83 | fun h ↦ hs_ne (hi_inj (h.trans (map_zero i_x).symm)) |
| 84 | obtain ⟨c, hc⟩ := ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_eq_zsmul_generator V x (hUV hxU) |
| 85 | (i_x (R.germ U x hxU s)) |
| 86 | have hc_ne : c ≠ 0 := fun hc0 ↦ by rw [hc0, zero_smul] at hc; exact hi_s_ne hc |
| 87 | have h_sHom_app : |
| 88 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s).app (op U) |
| 89 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.generator U) = s := |
| 90 | Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal_app_generator hRsh s |
| 91 | have h_sHom_gen : sHom_x ((_root_.TopCat.Presheaf.germ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt U).obj) U x hxU |
| 92 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.generator U)) = R.germ U x hxU s := by |
| 93 | show T.map (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s) _ = _ |
| 94 | rw [TopCat.Presheaf.stalkFunctor_map_germ_apply] |
| 95 | simpa using congrArg (R.germ U x hxU) h_sHom_app |
| 96 | have h_surj : Function.Surjective sHom_x := by |
| 97 | intro a; obtain ⟨k, hk⟩ := hgen a |
| 98 | exact ⟨k • (_root_.TopCat.Presheaf.germ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt U).obj) U x hxU |
| 99 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.generator U), by rw [map_zsmul, h_sHom_gen, hk]⟩ |
| 100 | have h_inj : Function.Injective sHom_x := by |
| 101 | intro a b hab |
| 102 | obtain ⟨n, rfl⟩ := ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_eq_zsmul_generator U x hxU a |
| 103 | obtain ⟨m, rfl⟩ := ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_eq_zsmul_generator U x hxU b |
| 104 | simp only [map_zsmul, h_sHom_gen] at hab |
| 105 | have h_i : n • i_x (R.germ U x hxU s) = |
| 106 | m • i_x (R.germ U x hxU s) := by rw [← map_zsmul, ← map_zsmul, hab] |
| 107 | rw [hc, smul_comm n, smul_comm m, ← mul_smul, ← mul_smul] at h_i |
| 108 | rw [mul_left_cancel₀ hc_ne (ZeroOutside.ProjectiveVanishing.zsmul_generator_injective V x (hUV hxU) h_i)] |
| 109 | exact ⟨h_inj, h_surj⟩ |
| 110 | |
| 111 | /-- A nonzero subsheaf of `zeroOutsideInt V` has a nonzero stalk at some point of `V`. -/ |
| 112 | theorem exists_nonzero_stalk_in_V |
| 113 | {X : TopCat.{u}} (V : Opens X) |
| 114 | {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 115 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) |
| 116 | [Mono i] |
| 117 | (hR : ¬ IsZero R) : |
| 118 | ∃ (x : X) (_ : x ∈ V) |
| 119 | (a : (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).obj R), |
| 120 | a ≠ 0 := by |
| 121 | let Rsh : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X := ⟨R, hRsh⟩ |
| 122 | by_contra! h |
| 123 | apply hR |
| 124 | have hRsh_zero : IsZero Rsh := |
| 125 | API.ProjectiveVanishing.sheaf_isZero_of_zero_stalks X hRsh (fun x a ↦ by |
| 126 | by_cases hx : (x : X) ∈ (V : Set X) |
| 127 | · exact h x hx a |
| 128 | · have hi_inj : Function.Injective |
| 129 | ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map i) := |
| 130 | TopCat.Presheaf.stalkFunctor_map_injective_of_app_injective (f := i) |
| 131 | (fun U ↦ |
| 132 | (ConcreteCategory.mono_iff_injective_of_preservesPullback (i.app (op U))).mp |
| 133 | ((NatTrans.mono_iff_mono_app i).mp inferInstance (op U))) x |
| 134 | exact hi_inj ((ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_zero_outside V x hx _).trans (map_zero _).symm)) |
| 135 | refine Functor.isZero R ?_ |
| 136 | intro U |
| 137 | have hforget_eval : |
| 138 | (Vanishing.Projective.TopCat.Sheaf.forget AddCommGrpCat.{u} X ⋙ |
| 139 | (evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).obj U).PreservesZeroMorphisms := by |
| 140 | refine ⟨?_⟩ |
| 141 | intro A B |
| 142 | rfl |
| 143 | simpa using Functor.map_isZero |
| 144 | (Vanishing.Projective.TopCat.Sheaf.forget AddCommGrpCat.{u} X ⋙ |
| 145 | (evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).obj U) hRsh_zero |
| 146 | |
| 147 | /-- At each point `x ∈ V`, the image of the stalk of `R` under `i` is a subgroup of |
| 148 | `stalk(zeroOutsideInt V, x) ≅ ULift ℤ`. Transporting to `ℤ` and applying |
| 149 | `Int.subgroup_cyclic`, if this image is nonzero, it has a positive generator `d_x`. |
| 150 | The "index" `d_x` measures how deeply |
| 151 | `R` sits inside `zeroOutsideInt V` at `x`. |
| 152 | |
| 153 | This lemma produces `V' ≤ V`, `V' ≠ ⊥`, and `s ∈ R(V')` such that for all `x ∈ V'`: |
| 154 | (1) `germ(s, x) ≠ 0` |
| 155 | (2) every stalk element of `R` at `x` is an integer multiple of `germ(s, x)`. |
| 156 | This is the hard "Noetherian shrinking" step of Hartshorne III.2.7, Step 4. -/ |
| 157 | theorem exists_section_generating_stalks |
| 158 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 159 | {V : Opens X} {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 160 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) |
| 161 | [Mono i] |
| 162 | (hR : ¬ IsZero R) : |
| 163 | ∃ (V' : Opens X) (_ : V' ≤ V) (_ : V' ≠ ⊥) |
| 164 | (s : R.obj (op V')), |
| 165 | ∀ (x : X) (hx : x ∈ V'), |
| 166 | (R.germ V' x hx s ≠ 0) ∧ |
| 167 | (∀ (a : (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).obj R), |
| 168 | ∃ k : ℤ, a = k • R.germ V' x hx s) := by |
| 169 | let i_x (x : X) := ConcreteCategory.hom ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map i) |
| 170 | have i_x_zero (x : X) : i_x x 0 = 0 := AddMonoidHom.map_zero _ |
| 171 | have hi_inj (x : X) : Function.Injective (i_x x) := |
| 172 | TopCat.Presheaf.stalkFunctor_map_injective_of_app_injective (f := i) (fun U ↦ (ConcreteCategory.mono_iff_injective_of_preservesPullback _).mp inferInstance) x |
| 173 | let gen_at (x : X) (hx : x ∈ V) := (_root_.TopCat.Presheaf.germ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) V x hx (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.generator V) |
| 174 | let H_at (x : X) (hx : x ∈ V) : AddSubgroup ℤ := |
| 175 | (i_x x).range.comap (AddMonoidHom.mk' (fun n : ℤ ↦ n • gen_at x hx) fun m n ↦ add_smul m n _) |
| 176 | have cyclic_generator_of_coeff {x : X} {hx : x ∈ V} {d : ℤ} {a} |
| 177 | (hd : d ≠ 0) (ha : i_x x a = d • gen_at x hx) : |
| 178 | ∃ e : ℕ, 0 < e ∧ (e : ℤ) ∈ H_at x hx ∧ ∀ h ∈ H_at x hx, (e : ℤ) ∣ h := by |
| 179 | obtain ⟨e, he⟩ := Int.subgroup_cyclic (H_at x hx) |
| 180 | exact ⟨e.natAbs, Int.natAbs_pos.mpr (fun he0 ↦ hd (by simpa [he, he0, AddSubgroup.closure_singleton_zero] using (show d ∈ H_at x hx from ⟨a, ha⟩))), by simp [he], |
| 181 | fun h hh ↦ Int.natAbs_dvd.mpr (by simpa [he, AddSubgroup.mem_closure_singleton, dvd_def, zsmul_eq_mul, mul_comm, eq_comm] using hh)⟩ |
| 182 | -- Step 1: P(n) holds if n > 0 and some x ∈ V has image subgroup generated by n |
| 183 | let P : ℕ → Prop := fun n ↦ 0 < n ∧ ∃ (x : X) (hx : x ∈ V), |
| 184 | (n : ℤ) ∈ H_at x hx ∧ ∀ h ∈ H_at x hx, (n : ℤ) ∣ h |
| 185 | have hP : ∃ n, P n := by |
| 186 | obtain ⟨x₀', hx₀'V, a₀', ha₀'⟩ := exists_nonzero_stalk_in_V V hRsh i hR |
| 187 | obtain ⟨n, hn⟩ := ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_eq_zsmul_generator V x₀' hx₀'V (i_x x₀' a₀') |
| 188 | exact (cyclic_generator_of_coeff (fun hn0 ↦ ha₀' <| hi_inj x₀' <| by rw [i_x_zero]; simpa only [hn0, zero_smul] using hn) hn).imp fun _ he ↦ ⟨he.1, x₀', hx₀'V, he.2.1, he.2.2⟩ |
| 189 | classical |
| 190 | let d : ℤ := Nat.find hP |
| 191 | obtain ⟨hd_nat_pos, x₀, hx₀V, ⟨a₁, ha₁⟩, _⟩ := Nat.find_spec hP |
| 192 | have hd_pos : 0 < d := Int.ofNat_lt.mpr hd_nat_pos |
| 193 | obtain ⟨W₀, hx₀W₀, s₀, hs₀⟩ := TopCat.Presheaf.exists_germ_eq R a₁ |
| 194 | let V₁ := W₀ ⊓ V |
| 195 | have hV₁V : V₁ ≤ V := inf_le_right |
| 196 | set s₁ := ConcreteCategory.hom (R.map (homOfLE (inf_le_left : V₁ ≤ W₀)).op) s₀ |
| 197 | -- Step 5: Shrink to where germ coefficient is constant via germ_eq |
| 198 | obtain ⟨W, hx₀W, iW1, _, hW_eq⟩ := |
| 199 | TopCat.Presheaf.germ_eq (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj x₀ (show x₀ ∈ V₁ from ⟨hx₀W₀, hx₀V⟩) (show x₀ ∈ V₁ from ⟨hx₀W₀, hx₀V⟩) (i.app (op V₁) s₁) |
| 200 | (d • ConcreteCategory.hom ((Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj.map (homOfLE hV₁V).op) (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.generator V)) (by |
| 201 | rw [← TopCat.Presheaf.stalkFunctor_map_germ_apply V₁ x₀ (show x₀ ∈ V₁ from ⟨hx₀W₀, hx₀V⟩) i s₁, (TopCat.Presheaf.germ_res_apply R (homOfLE inf_le_left) x₀ (show x₀ ∈ V₁ from ⟨hx₀W₀, hx₀V⟩) s₀).trans hs₀] |
| 202 | simpa [i_x, gen_at, d, map_zsmul, TopCat.Presheaf.germ_res_apply] using ha₁) |
| 203 | have hWV : W ≤ V := le_trans (leOfHom iW1) hV₁V |
| 204 | refine ⟨W, hWV, fun h ↦ (Opens.mem_bot (x := x₀)).mp (h ▸ hx₀W), ConcreteCategory.hom (R.map (homOfLE (leOfHom iW1 : W ≤ V₁)).op) s₁, fun x hxW ↦ ?_⟩ |
| 205 | have hcoeff_x : i_x x (R.germ W x hxW (ConcreteCategory.hom (R.map (homOfLE (leOfHom iW1 : W ≤ V₁)).op) s₁)) = d • gen_at x (hWV hxW) := by |
| 206 | simpa [i_x, gen_at, map_zsmul, TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.stalkFunctor_map_germ_apply] using congrArg ((_root_.TopCat.Presheaf.germ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) W x hxW) hW_eq |
| 207 | refine ⟨fun h_zero ↦ ne_of_gt hd_pos (ZeroOutside.ProjectiveVanishing.zsmul_generator_injective V x (hWV hxW) (by simpa only [zero_smul] using (hcoeff_x.symm.trans (by rw [h_zero]; exact i_x_zero x)))), fun a ↦ ?_⟩ |
| 208 | obtain ⟨n, hn⟩ := ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_eq_zsmul_generator V x (hWV hxW) (i_x x a) |
| 209 | obtain ⟨d_x, hd_x_pos, hd_x_mem, hd_x_gen⟩ := cyclic_generator_of_coeff (ne_of_gt hd_pos) hcoeff_x |
| 210 | exact (hd_x_gen n ⟨a, hn⟩).imp fun k₀ hkn ↦ hi_inj x (by rw [map_zsmul, hn, hkn, le_antisymm (Int.le_of_dvd hd_pos (hd_x_gen d ⟨_, hcoeff_x⟩)) <| Int.ofNat_le.mpr (Nat.find_min' hP ⟨hd_x_pos, x, hWV hxW, hd_x_mem, hd_x_gen⟩), mul_comm, mul_smul, ← hcoeff_x]) |
| 211 | |
| 212 | /-- Core construction for Step 4: find V' ≤ V, V' ≠ ⊥, and a section s ∈ R(V') such that |
| 213 | `sHom s: zeroOutsideInt V' ⟶ R` is a stalk-isomorphism on V'. |
| 214 | Uses: minimum-index point, generator section, locally constant germ shrinking. -/ |
| 215 | theorem exists_good_section |
| 216 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 217 | {V : Opens X} {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 218 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) |
| 219 | [Mono i] |
| 220 | (hR : ¬ IsZero R) : |
| 221 | ∃ (V' : Opens X) (_ : V' ≤ V) (_ : V' ≠ ⊥) |
| 222 | (s : R.obj (op V')), |
| 223 | ∀ (x : X) (_ : x ∈ V'), |
| 224 | Function.Bijective (ConcreteCategory.hom |
| 225 | ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map |
| 226 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s))) := by |
| 227 | obtain ⟨V', hV'V, hV'ne, s, hgen⟩ := exists_section_generating_stalks (R := R) hRsh i hR |
| 228 | exact ⟨V', hV'V, hV'ne, s, fun x hx ↦ |
| 229 | sHom_stalk_bijective_at (R := R) hV'V hRsh i s x hx (hgen x hx).1 (hgen x hx).2⟩ |
| 230 | |
| 231 | /-- **Structure lemma** (Hartshorne Step 4 core): a nonzero subsheaf of `zeroOutsideInt V` |
| 232 | contains `zeroOutsideInt V'` for some nonempty open `V' ⊆ V`, with the inclusion |
| 233 | being a stalk-isomorphism on `V'`. This follows from: stalks of `Z_V` are `ℤ` or `0`, |
| 234 | stalks of `R` are `d_x·ℤ ⊆ ℤ`, and after shrinking to an open where the multiplicity |
| 235 | `d_x` is constant and minimal, `R` restricts to `d·Z_{V'}` ≅ `Z_{V'}`. -/ |
| 236 | theorem subsheaf_contains_zeroOutsideInt |
| 237 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 238 | {V : Opens X} {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 239 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) |
| 240 | [Mono i] |
| 241 | (hR : ¬ IsZero R) : |
| 242 | ∃ (V' : Opens X) (_ : V' ≤ V) (_ : V' ≠ ⊥) |
| 243 | (j : (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V').obj ⟶ R), |
| 244 | Mono j ∧ |
| 245 | (∀ (x : X) (_ : x ∈ V'), |
| 246 | Function.Bijective (ConcreteCategory.hom |
| 247 | ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map j))) := by |
| 248 | obtain ⟨V', hle, hne, s, hbij⟩ := |
| 249 | exists_good_section (R := R) hRsh i hR |
| 250 | let j : (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V').obj ⟶ R := |
| 251 | Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.sHomVal hRsh s |
| 252 | have hj_bij : ∀ (x : X) (_ : x ∈ V'), |
| 253 | Function.Bijective (ConcreteCategory.hom |
| 254 | ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map j)) := by |
| 255 | simpa [j] using hbij |
| 256 | refine ⟨V', hle, hne, j, ?_, hj_bij⟩ |
| 257 | have : ∀ x, Mono ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map |
| 258 | j) := fun y ↦ by |
| 259 | apply (ConcreteCategory.mono_iff_injective_of_preservesPullback _).mpr |
| 260 | by_cases hy : y ∈ V' |
| 261 | · exact (hj_bij y hy).1 |
| 262 | · intro a b _ |
| 263 | exact (ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_zero_outside V' y hy a).trans |
| 264 | (ZeroOutside.ProjectiveVanishing.stalk_zeroOutsideInt_zero_outside V' y hy b).symm |
| 265 | exact (NatTrans.mono_iff_mono_app j).2 fun U ↦ |
| 266 | (ConcreteCategory.mono_iff_injective_of_preservesPullback _).2 |
| 267 | (TopCat.Presheaf.app_injective_of_stalkFunctor_map_injective j U.unop |
| 268 | fun x _hx ↦ |
| 269 | (ConcreteCategory.mono_iff_injective_of_preservesPullback _).1 inferInstance) |
| 270 | |
| 271 | /-! ## Step 4/5 vanishing assembly -/ |
| 272 | |
| 273 | /-- The induction hypothesis for Grothendieck vanishing: vanishing holds for all |
| 274 | sheaf-valued presheaves on all spaces of strictly smaller Krull dimension than X. -/ |
| 275 | abbrev VanishingIH (dimX : WithBot ℕ∞) : Prop := |
| 276 | ∀ (Y : TopCat.{u}) [NoetherianSpace Y] |
| 277 | (m : ℕ) {G : TopCat.Presheaf AddCommGrpCat.{u} Y} (hG : G.IsSheaf), |
| 278 | topologicalKrullDim Y < dimX → |
| 279 | m > topologicalKrullDim Y → |
| 280 | Subsingleton (Sheaf.H (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} Y) m) |
| 281 | |
| 282 | /-- Vanishing for a sheaf supported on the complement of an open `V`, via the |
| 283 | closed-immersion SES on `Y = Vᶜ`. This is the support-vanishing input used by the |
| 284 | Step 5 irreducible-space assembly immediately below. -/ |
| 285 | theorem closedComplementVanishing |
| 286 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 287 | (V : Opens X) (hV : V ≠ ⊥) |
| 288 | {C : TopCat.Presheaf AddCommGrpCat.{u} X} (hC : C.IsSheaf) (n : ℕ) |
| 289 | (ih : VanishingIH.{u} (topologicalKrullDim X)) |
| 290 | (hn : ↑n > topologicalKrullDim (Set.compl (V : Set X))) |
| 291 | (hStalksOnV : ∀ x ∈ V, |
| 292 | ∀ (a : (TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).obj C), a = 0) : |
| 293 | Subsingleton (Sheaf.H (⟨C, hC⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) n) := by |
| 294 | let Csh : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X := ⟨C, hC⟩ |
| 295 | set Y := (V : Set X)ᶜ |
| 296 | have hYcl : IsClosed Y := V.2.isClosed_compl |
| 297 | have hY_dim_lt_top : topologicalKrullDim Y < ⊤ := |
| 298 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_top_of_lt_nat (by exact hn) |
| 299 | have hY_dim_lt : topologicalKrullDim Y < topologicalKrullDim X := |
| 300 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_of_isIrreducible_of_isClosed hYcl |
| 301 | (Set.compl_ne_univ.mpr (Set.nonempty_iff_ne_empty.mpr (Opens.coe_eq_empty.not.mpr hV))) |
| 302 | hY_dim_lt_top |
| 303 | let closedIncl := ClosedImmersion.ProjectiveVanishing.TopCat.closedIncl hYcl |
| 304 | let CY := ((Vanishing.Projective.TopCat.Sheaf.pullback AddCommGrpCat.{u} closedIncl).obj Csh) |
| 305 | let S := ClosedImmersion.ProjectiveVanishing.closedImmersionSES (Z := Y) (hZ := hYcl) Csh |
| 306 | have hSE := ClosedImmersion.ProjectiveVanishing.closedImmersionSES_shortExact (Z := Y) (hZ := hYcl) Csh |
| 307 | have hSX₁_zero : IsZero S.X₁ := by |
| 308 | exact API.ProjectiveVanishing.sheaf_isZero_of_zero_stalks X S.X₁.property (fun x a ↦ by |
| 309 | by_cases hxY : x ∈ Y |
| 310 | · have : IsIso ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u} x).map S.g.hom) := by |
| 311 | exact |
| 312 | (ClosedImmersion.ProjectiveVanishing.TopCat.closedIncl_unit_stalk_isIso (C := AddCommGrpCat.{u}) |
| 313 | (hs := hYcl) Csh ⟨x, hxY⟩) |
| 314 | exact API.ProjectiveVanishing.stalk_zero_of_ses_g_iso S hSE x inferInstance a |
| 315 | · exact API.ProjectiveVanishing.stalk_zero_of_shortExact_kernel S hSE x |
| 316 | (fun b ↦ hStalksOnV x (by rwa [Set.mem_compl_iff, not_not] at hxY) b) |
| 317 | a) |
| 318 | exact ClosedImmersionCohomology.ProjectiveVanishing.subsingleton_sheafH_of_closedImmersion_middle |
| 319 | (Z := Y) (hZ := hYcl) Csh n |
| 320 | (by |
| 321 | simpa [S] using API.ProjectiveVanishing.sheafH_subsingleton_of_isZero hSX₁_zero n) |
| 322 | (by |
| 323 | simpa [closedIncl, Csh, CY] using |
| 324 | ih (TopCat.of Y) n (G := CY.obj) CY.property hY_dim_lt hn) |
| 325 | |
| 326 | /-- **Step 5** (Hartshorne III.2.7): given vanishing of the cokernel of |
| 327 | `openHom(V ≤ ⊤)` at degree `m`, deduce vanishing of `zeroOutsideInt V` at |
| 328 | degree `m + 1`. Uses the SES `0 → zeroOutsideInt V → zeroOutsideInt ⊤ → cokernel → 0` |
| 329 | where `zeroOutsideInt ⊤ = Z_X` (constant sheaf, flasque on irreducible spaces). -/ |
| 330 | theorem zeroOutsideInt_vanishing |
| 331 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 332 | (V : Opens X) (m : ℕ) |
| 333 | (hCoker : Subsingleton (Sheaf.H (Limits.cokernel |
| 334 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.openHom (le_top : V ≤ ⊤))) m)) : |
| 335 | Subsingleton (Sheaf.H (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V) (m + 1)) := by |
| 336 | have hTop : Subsingleton (Sheaf.H (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt (⊤ : Opens X)) (m + 1)) := by |
| 337 | simpa using |
| 338 | FlasqueVanishing.Projective.sheafH_subsingleton_of_flasque X (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt (⊤ : Opens X)) |
| 339 | (fun i ↦ ConstantFlasque.ProjectiveVanishing.isFlasqueSheaf_zeroOutsideInt_top X i) m |
| 340 | exact API.ProjectiveVanishing.sheafH_dimension_shift_of_mono |
| 341 | (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.openHom (le_top : V ≤ (⊤ : Opens X))) m |
| 342 | hCoker hTop |
| 343 | |
| 344 | /-- **Step 5** (Hartshorne III.2.7): `zeroOutsideInt V` has vanishing cohomology in every |
| 345 | degree `m > dim X` on an irreducible Noetherian space. |
| 346 | Proof: write `m = m' + 1`, apply `zeroOutsideInt_vanishing` (SES + flasque), then prove |
| 347 | cokernel vanishing at `m'` via the closed-immersion middle-term API, which transports |
| 348 | cohomology along the `PushforwardHIso` closed-inclusion comparison. -/ |
| 349 | theorem zeroOutsideInt_cohomology_vanishing |
| 350 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 351 | (V : Opens X) (hV : V ≠ ⊥) |
| 352 | (ih : VanishingIH.{u} (topologicalKrullDim X)) |
| 353 | (m : ℕ) (hm : m > topologicalKrullDim X) : |
| 354 | Subsingleton (Sheaf.H (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V) m) := by |
| 355 | let C := Limits.cokernel (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.openHom (le_top : V ≤ ⊤)) |
| 356 | have hm_ne : m ≠ 0 := by |
| 357 | intro h; subst h; exact absurd hm (not_lt.mpr TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_nonneg) |
| 358 | obtain ⟨m', rfl⟩ := Nat.exists_eq_succ_of_ne_zero hm_ne |
| 359 | have hVcompl_lt_succ : |
| 360 | topologicalKrullDim (Set.compl (V : Set X)) < ↑↑(m' + 1 : ℕ) := |
| 361 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_subspace_lt_of_lt (X := X) (Set.compl (V : Set X)) |
| 362 | (by simpa [gt_iff_lt] using hm) |
| 363 | have hVcompl_lt_top : topologicalKrullDim (Set.compl (V : Set X)) < ⊤ := |
| 364 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_top_of_lt_nat hVcompl_lt_succ |
| 365 | have hVcompl_lt_X : topologicalKrullDim (Set.compl (V : Set X)) < topologicalKrullDim X := |
| 366 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_of_isIrreducible_of_isClosed |
| 367 | V.2.isClosed_compl |
| 368 | (Set.compl_ne_univ.mpr (Set.nonempty_iff_ne_empty.mpr |
| 369 | (Opens.coe_eq_empty.not.mpr hV))) |
| 370 | hVcompl_lt_top |
| 371 | have hVcompl_lt_m' : topologicalKrullDim (Set.compl (V : Set X)) < ↑↑(m' : ℕ) := |
| 372 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_nat_of_lt_of_lt_nat_succ hVcompl_lt_X |
| 373 | (by simpa [gt_iff_lt] using hm) |
| 374 | apply zeroOutsideInt_vanishing V m' |
| 375 | exact closedComplementVanishing V hV (C := C.obj) C.property m' ih |
| 376 | (by simpa [gt_iff_lt] using hVcompl_lt_m') |
| 377 | (fun x hxV a ↦ API.ProjectiveVanishing.cokernel_stalk_zero_of_stalk_surj |
| 378 | (f := Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt.openHom (le_top : V ≤ ⊤)) |
| 379 | (x := x) |
| 380 | (hf := ZeroOutside.ProjectiveVanishing.sheafifyMap_zeroOutside_openHom_stalk_surj ZeroOutside.ProjectiveVanishing.TopCat.Presheaf.constZ le_top x hxV) a) |
| 381 | |
| 382 | /-- **Step 4** (Hartshorne III.2.7): any subsheaf of `zeroOutsideInt V` has vanishing |
| 383 | cohomology in degree `m > dim X`. Uses `subsheaf_contains_zeroOutsideInt` to find |
| 384 | `V' ⊆ V` with `Z_{V'} ↪ R` (stalk-iso on `V'`). The cokernel is supported on `(V')^c` |
| 385 | (dim < dim X), so vanishes by the IH. Middle-term LES gives `H^m(R) = 0`. -/ |
| 386 | theorem subsheaf_zeroOutsideInt_vanishing |
| 387 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 388 | {V : Opens X} {R : TopCat.Presheaf AddCommGrpCat.{u} X} (hRsh : R.IsSheaf) |
| 389 | (i : R ⟶ (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj) |
| 390 | [Mono i] |
| 391 | (ih : VanishingIH.{u} (topologicalKrullDim X)) |
| 392 | (m : ℕ) (hm : m > topologicalKrullDim X) : |
| 393 | Subsingleton (Sheaf.H (⟨R, hRsh⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) m) := by |
| 394 | by_cases hR : IsZero (⟨R, hRsh⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) |
| 395 | · simpa using API.ProjectiveVanishing.sheafH_subsingleton_of_isZero hR m |
| 396 | · obtain ⟨V', hV'le, hV'ne, j, hj_mono, hj_stalk⟩ := |
| 397 | (by |
| 398 | exact subsheaf_contains_zeroOutsideInt (R := R) hRsh i (by |
| 399 | intro hR0 |
| 400 | exact hR (IsZero.of_full_of_faithful_of_isZero |
| 401 | (Vanishing.Projective.TopCat.Sheaf.forget AddCommGrpCat.{u} X) |
| 402 | (⟨R, hRsh⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) hR0))) |
| 403 | have : Mono j := hj_mono |
| 404 | let jsh : Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V' ⟶ |
| 405 | (⟨R, hRsh⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) := ObjectProperty.homMk j |
| 406 | have : Mono jsh := by |
| 407 | exact (Sheaf.Hom.mono_iff_presheaf_mono |
| 408 | (J := Opens.grothendieckTopology X) (D := AddCommGrpCat.{u}) jsh).2 hj_mono |
| 409 | let C : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X := |
| 410 | cokernel jsh |
| 411 | have hC : Subsingleton (Sheaf.H C m) := by |
| 412 | have hV'compl_lt_nat : |
| 413 | topologicalKrullDim (Set.compl (V' : Set X)) < ↑↑(m : ℕ) := |
| 414 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_subspace_lt_of_lt (X := X) (Set.compl (V' : Set X)) |
| 415 | hm |
| 416 | have hV'compl_lt_top : topologicalKrullDim (Set.compl (V' : Set X)) < ⊤ := |
| 417 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_top_of_lt_nat hV'compl_lt_nat |
| 418 | have hV'compl_lt_X : |
| 419 | topologicalKrullDim (Set.compl (V' : Set X)) < topologicalKrullDim X := |
| 420 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_of_isIrreducible_of_isClosed |
| 421 | V'.2.isClosed_compl |
| 422 | (Set.compl_ne_univ.mpr (Set.nonempty_iff_ne_empty.mpr |
| 423 | (Opens.coe_eq_empty.not.mpr hV'ne))) |
| 424 | hV'compl_lt_top |
| 425 | exact closedComplementVanishing V' hV'ne (C := C.obj) C.property m ih |
| 426 | (by simpa [gt_iff_lt] using lt_trans hV'compl_lt_X hm) |
| 427 | (fun x hxV' b ↦ API.ProjectiveVanishing.cokernel_stalk_zero_of_stalk_surj |
| 428 | (F := Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V') |
| 429 | (G := (⟨R, hRsh⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X)) |
| 430 | (f := jsh) (x := x) (hf := (hj_stalk x hxV').2) b) |
| 431 | exact API.ProjectiveVanishing.subsingleton_sheafH_of_shortExact_middle jsh m |
| 432 | (zeroOutsideInt_cohomology_vanishing V' hV'ne ih m hm) |
| 433 | (by simpa [C] using hC) |
| 434 | |
| 435 | /-- **Steps 3C + 4 + LES** (Hartshorne III.2.7): any locally surjective image of |
| 436 | `zeroOutsideInt V` has vanishing cohomology in degree `m > dim X`. Uses third-term LES with |
| 437 | `zeroOutsideInt_cohomology_vanishing` (Step 5) and |
| 438 | `subsheaf_zeroOutsideInt_vanishing` (Step 4). -/ |
| 439 | theorem epiImage_zeroOutsideInt_vanishing_of_locallySurjective |
| 440 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 441 | {V : Opens X} {G : TopCat.Presheaf AddCommGrpCat.{u} X} (hG : G.IsSheaf) |
| 442 | (f : (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj ⟶ G) |
| 443 | (hf : TopCat.Presheaf.IsLocallySurjective f) |
| 444 | (ih : VanishingIH.{u} (topologicalKrullDim X)) |
| 445 | (m : ℕ) (hm : m > topologicalKrullDim X) : |
| 446 | Subsingleton (Sheaf.H (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) m) := by |
| 447 | let : Balanced (CategoryTheory.Sheaf (Opens.grothendieckTopology X) |
| 448 | AddCommGrpCat.{u}) := balanced_of_strongEpiCategory |
| 449 | by_cases hV : V = ⊥ |
| 450 | · subst hV |
| 451 | have : Epi (show Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt (⊥ : Opens X) ⟶ |
| 452 | (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) from ObjectProperty.homMk f) := by |
| 453 | rw [← Sheaf.isLocallySurjective_iff_epi' AddCommGrpCat.{u} |
| 454 | (show Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt (⊥ : Opens X) ⟶ |
| 455 | (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) from ObjectProperty.homMk f)] |
| 456 | exact hf |
| 457 | have hZero : IsZero ((⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X)) := |
| 458 | (ZeroOutside.ProjectiveVanishing.isZero_zeroOutsideInt_bot X).of_epi (show Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt (⊥ : Opens X) ⟶ |
| 459 | (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) from ObjectProperty.homMk f) |
| 460 | simpa using API.ProjectiveVanishing.sheafH_subsingleton_of_isZero hZero m |
| 461 | · let fsh : Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V ⟶ |
| 462 | (⟨G, hG⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) := ObjectProperty.homMk f |
| 463 | have hkernel : Subsingleton (Sheaf.H (kernel fsh) (m + 1)) := by |
| 464 | have : Mono (kernel.ι fsh).hom := |
| 465 | Functor.map_mono (Vanishing.Projective.TopCat.Sheaf.forget AddCommGrpCat.{u} X) (kernel.ι fsh) |
| 466 | simpa [fsh] using |
| 467 | subsheaf_zeroOutsideInt_vanishing |
| 468 | (R := (kernel fsh).obj) (kernel fsh).property (kernel.ι fsh).hom |
| 469 | ih (m + 1) (lt_trans hm (by exact_mod_cast Nat.lt_succ_of_le le_rfl)) |
| 470 | simpa using |
| 471 | API.ProjectiveVanishing.sheafH_dimension_shift_X₃_of_locallySurjective fsh (by simpa [fsh] using hf) m |
| 472 | (zeroOutsideInt_cohomology_vanishing V hV ih m hm) |
| 473 | hkernel |
| 474 | |
| 475 | -- Filtered diagram infrastructure, finitely generated vanishing, and |
| 476 | -- directLimit_cohomology_vanishing are in FinitelyGeneratedVanishing.lean. |
| 477 | |
| 478 | /-- **Irreducible positive-dimensional vanishing** (Hartshorne III.2.7, irreducible case). |
| 479 | Uses the closed immersion step and induction on a proper closed subset. -/ |
| 480 | theorem irreducible_pos_vanishing |
| 481 | {X : TopCat.{u}} [NoetherianSpace X] [IrreducibleSpace X] |
| 482 | {F : TopCat.Presheaf AddCommGrpCat.{u} X} (hF : F.IsSheaf) |
| 483 | (hpos : topologicalKrullDim X > 0) |
| 484 | (n : ℕ) (hn : n > topologicalKrullDim X) |
| 485 | (ih : VanishingIH.{u} (topologicalKrullDim X)) : |
| 486 | Subsingleton (Sheaf.H (⟨F, hF⟩ : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X) n) := by |
| 487 | let Fsh : Vanishing.Projective.TopCat.Sheaf AddCommGrpCat.{u} X := ⟨F, hF⟩ |
| 488 | change Subsingleton (Sheaf.H Fsh n) |
| 489 | have hX_lt_top : topologicalKrullDim X < ⊤ := |
| 490 | TopologicalKrullDim.ProjectiveVanishing.topologicalKrullDim_lt_top_of_lt_nat (by exact hn) |
| 491 | obtain ⟨Z, hZ_closed, _, hZ_dim⟩ := |
| 492 | TopologicalKrullDim.ProjectiveVanishing.exists_closed_subset_lt_topologicalKrullDim_of_irreducible_pos (X := X) hpos hX_lt_top |
| 493 | have hn_Z : n > topologicalKrullDim (TopCat.of Z) := by |
| 494 | simpa [gt_iff_lt] using lt_trans hZ_dim (by simpa [gt_iff_lt] using hn) |
| 495 | let i := ClosedImmersion.ProjectiveVanishing.TopCat.closedIncl hZ_closed |
| 496 | let FZ := ((Vanishing.Projective.TopCat.Sheaf.pullback AddCommGrpCat.{u} i).obj Fsh) |
| 497 | let S := ClosedImmersion.ProjectiveVanishing.closedImmersionSES (Z := Z) (hZ := hZ_closed) Fsh |
| 498 | have hKer : Subsingleton (Sheaf.H S.X₁ n) := |
| 499 | FinitelyGeneratedVanishing.Projective.directLimit_cohomology_vanishing (K := S.X₁.obj) S.X₁.property n |
| 500 | (fun {G} (hG : G.IsSheaf) {V} |
| 501 | (f : (Vanishing.Projective.TopCat.Sheaf.zeroOutsideInt V).obj ⟶ G) hf => by |
| 502 | exact epiImage_zeroOutsideInt_vanishing_of_locallySurjective |
| 503 | (V := V) (G := G) hG f hf ih n hn) |
| 504 | exact ClosedImmersionCohomology.ProjectiveVanishing.subsingleton_sheafH_of_closedImmersion_middle |
| 505 | (Z := Z) (hZ := hZ_closed) Fsh n |
| 506 | (by simpa [S] using hKer) |
| 507 | (by simpa [i, Fsh, FZ] using ih (TopCat.of Z) n (G := FZ.obj) FZ.property hZ_dim hn_Z) |
| 508 | end ProjectiveVanishing |
| 509 | |
| 510 | end OAI.AlgebraicGeometry.SheafCohomology.IrreducibleStep |