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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 8 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 9 | import Mathlib.AlgebraicGeometry.Noetherian |
| 10 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechWeightAssembly |
| 11 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechSupportAlternating |
| 12 | |
| 13 | /-! # Laurent Exceptional Weights -/ |
| 14 | |
| 15 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | open _root_.MvPolynomial |
| 20 | |
| 21 | /-! |
| 22 | # Higher exactness for nonnegative projective twists |
| 23 | |
| 24 | This file assembles the all-degree support contraction from |
| 25 | [Stacks Project, Lemma 30.8.1 (Tag 01XT)](https://stacks.math.columbia.edu/tag/01XT) weight by |
| 26 | weight in the homogeneous Laurent presentation of the ordered Cech complex. |
| 27 | -/ |
| 28 | |
| 29 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 30 | |
| 31 | universe u |
| 32 | |
| 33 | variable {R : Type u} {σ : Type} [CommRing R] |
| 34 | |
| 35 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 36 | |
| 37 | local instance : DecidableEq σ := Classical.decEq σ |
| 38 | |
| 39 | /-- The finite product of degree-zero support cochains indexed by homogeneous Laurent exponents |
| 40 | that are nonnegative in every coordinate. -/ |
| 41 | abbrev coordinateHomogeneousLaurentNonnegativeCochain |
| 42 | [LinearOrder σ] (d : ℤ) := |
| 43 | (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 44 | e.liftedNegativeSupport = (∅ : Set (ULift.{u} σ))}) → |
| 45 | OrderedCechSupportContraction.OrderedCechSupportCochain |
| 46 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 47 | e.1.liftedNegativeSupport 0 |
| 48 | |
| 49 | /-- Nonnegative homogeneous Laurent degree-zero cochains form a finite module over a Noetherian |
| 50 | affine coefficient ring. -/ |
| 51 | theorem coordinateHomogeneousLaurentNonnegativeCochain.module_finite |
| 52 | [Fintype σ] [LinearOrder σ] [IsNoetherianRing R] (d : ℤ) : |
| 53 | Module.Finite |
| 54 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 55 | (coordinateHomogeneousLaurentNonnegativeCochain |
| 56 | (R := R) (σ := σ) d) := by |
| 57 | let : IsNoetherianRing |
| 58 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) := |
| 59 | isNoetherianRing_of_ringEquiv R |
| 60 | (Scheme.ΓSpecIso (CommRingCat.of R)).symm.commRingCatIsoToRingEquiv |
| 61 | let : Finite {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 62 | e.liftedNegativeSupport = (∅ : Set (ULift.{u} σ))} := |
| 63 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_empty |
| 64 | (σ := σ) d).to_subtype |
| 65 | let (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 66 | e.liftedNegativeSupport = (∅ : Set (ULift.{u} σ))}) : |
| 67 | Module.Finite |
| 68 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 69 | (OrderedCechSupportContraction.OrderedCechSupportCochain |
| 70 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 71 | e.1.liftedNegativeSupport 0) := |
| 72 | OrderedCechSupportContraction.OrderedCechSupportCochain.module_finite _ _ _ |
| 73 | infer_instance |
| 74 | |
| 75 | /-- The finite product of support cochains indexed by the homogeneous Laurent exponents that are |
| 76 | negative in every coordinate. -/ |
| 77 | abbrev coordinateHomogeneousLaurentFullNegativeCochain |
| 78 | [LinearOrder σ] (d : ℤ) (n : ℕ) := |
| 79 | (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 80 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) → |
| 81 | OrderedCechSupportContraction.OrderedCechSupportCochain |
| 82 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 83 | e.1.liftedNegativeSupport n |
| 84 | |
| 85 | /-- Full-negative homogeneous Laurent cochains form a finite module over a Noetherian affine |
| 86 | coefficient ring. -/ |
| 87 | theorem coordinateHomogeneousLaurentFullNegativeCochain.module_finite |
| 88 | [Fintype σ] [LinearOrder σ] [IsNoetherianRing R] (d : ℤ) (n : ℕ) : |
| 89 | Module.Finite |
| 90 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 91 | (coordinateHomogeneousLaurentFullNegativeCochain |
| 92 | (R := R) (σ := σ) d n) := by |
| 93 | let : IsNoetherianRing |
| 94 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) := |
| 95 | isNoetherianRing_of_ringEquiv R |
| 96 | (Scheme.ΓSpecIso (CommRingCat.of R)).symm.commRingCatIsoToRingEquiv |
| 97 | let : Finite {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 98 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} := |
| 99 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 100 | (σ := σ) d).to_subtype |
| 101 | let (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 102 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 103 | Module.Finite |
| 104 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 105 | (OrderedCechSupportContraction.OrderedCechSupportCochain |
| 106 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 107 | e.1.liftedNegativeSupport n) := |
| 108 | OrderedCechSupportContraction.OrderedCechSupportCochain.module_finite _ _ _ |
| 109 | infer_instance |
| 110 | |
| 111 | /-- Assemble the finitely many full-negative homogeneous Laurent weights into the ordered Cech |
| 112 | term. -/ |
| 113 | noncomputable def coordinateHomogeneousLaurentFullNegativeAssembly |
| 114 | [Fintype σ] [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 115 | coordinateHomogeneousLaurentFullNegativeCochain |
| 116 | (R := R) (σ := σ) d n →ₗ[ |
| 117 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))] |
| 118 | LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 119 | (R := R) (σ := σ) d n := by |
| 120 | classical |
| 121 | letI : Fintype {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 122 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} := |
| 123 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 124 | (σ := σ) d).fintype |
| 125 | exact LinearMap.lsum |
| 126 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 127 | (fun e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 128 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} => |
| 129 | OrderedCechSupportContraction.OrderedCechSupportCochain |
| 130 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 131 | e.1.liftedNegativeSupport n) |
| 132 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 133 | (fun e => TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 134 | (R := R) d e.1 n) |
| 135 | |
| 136 | /-- Full-negative assembly is the finite sum of the fixed-weight inclusions. -/ |
| 137 | theorem coordinateHomogeneousLaurentFullNegativeAssembly_apply |
| 138 | [Fintype σ] [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 139 | (s : coordinateHomogeneousLaurentFullNegativeCochain |
| 140 | (R := R) (σ := σ) d n) : |
| 141 | letI : Fintype {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 142 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} := |
| 143 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 144 | (σ := σ) d).fintype |
| 145 | coordinateHomogeneousLaurentFullNegativeAssembly |
| 146 | (R := R) (σ := σ) d n s = |
| 147 | ∑ e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 148 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}, |
| 149 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 150 | (R := R) d e.1 n (s e) := by |
| 151 | classical |
| 152 | simp [coordinateHomogeneousLaurentFullNegativeAssembly, LinearMap.lsum_apply] |
| 153 | |
| 154 | /-- The componentwise ordered support differential on full-negative homogeneous Laurent |
| 155 | cochains. -/ |
| 156 | noncomputable def coordinateHomogeneousLaurentFullNegativeDifferential |
| 157 | [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 158 | coordinateHomogeneousLaurentFullNegativeCochain |
| 159 | (R := R) (σ := σ) d n →ₗ[ |
| 160 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))] |
| 161 | coordinateHomogeneousLaurentFullNegativeCochain |
| 162 | (R := R) (σ := σ) d (n + 1) := |
| 163 | LinearMap.pi fun e => |
| 164 | (OrderedCechSupportContraction.orderedCechSupportDifferential |
| 165 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 166 | e.1.liftedNegativeSupport n).comp (LinearMap.proj e) |
| 167 | |
| 168 | @[simp] |
| 169 | theorem coordinateHomogeneousLaurentFullNegativeDifferential_apply |
| 170 | [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 171 | (s : coordinateHomogeneousLaurentFullNegativeCochain |
| 172 | (R := R) (σ := σ) d n) |
| 173 | (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 174 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 175 | coordinateHomogeneousLaurentFullNegativeDifferential |
| 176 | (R := R) d n s e = |
| 177 | OrderedCechSupportContraction.orderedCechSupportDifferential |
| 178 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 179 | e.1.liftedNegativeSupport n (s e) := rfl |
| 180 | |
| 181 | /-- Full-negative assembly commutes with the homogeneous Laurent ordered Cech differential. -/ |
| 182 | theorem coordinateHomogeneousLaurentFullNegativeAssembly_differential |
| 183 | [Fintype σ] [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 184 | (s : coordinateHomogeneousLaurentFullNegativeCochain |
| 185 | (R := R) (σ := σ) d n) : |
| 186 | (LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential |
| 187 | (R := R) (σ := σ) d n).hom |
| 188 | (coordinateHomogeneousLaurentFullNegativeAssembly |
| 189 | (R := R) (σ := σ) d n s) = |
| 190 | coordinateHomogeneousLaurentFullNegativeAssembly |
| 191 | (R := R) (σ := σ) d (n + 1) |
| 192 | (coordinateHomogeneousLaurentFullNegativeDifferential |
| 193 | (R := R) d n s) := by |
| 194 | classical |
| 195 | let : Fintype {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 196 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} := |
| 197 | (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 198 | (σ := σ) d).fintype |
| 199 | have hleft : |
| 200 | (LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential |
| 201 | (R := R) (σ := σ) d n).hom |
| 202 | (coordinateHomogeneousLaurentFullNegativeAssembly |
| 203 | (R := R) (σ := σ) d n s) = |
| 204 | ∑ e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 205 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}, |
| 206 | (LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential |
| 207 | (R := R) (σ := σ) d n).hom |
| 208 | (TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 209 | (R := R) d e.1 n (s e)) := by |
| 210 | rw [coordinateHomogeneousLaurentFullNegativeAssembly_apply, map_sum] |
| 211 | have hright : |
| 212 | coordinateHomogeneousLaurentFullNegativeAssembly |
| 213 | (R := R) (σ := σ) d (n + 1) |
| 214 | (coordinateHomogeneousLaurentFullNegativeDifferential |
| 215 | (R := R) d n s) = |
| 216 | ∑ e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 217 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}, |
| 218 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 219 | (R := R) d e.1 (n + 1) |
| 220 | (coordinateHomogeneousLaurentFullNegativeDifferential |
| 221 | (R := R) d n s e) := by |
| 222 | rw [coordinateHomogeneousLaurentFullNegativeAssembly_apply] |
| 223 | rw [hleft, hright] |
| 224 | apply Finset.sum_congr rfl |
| 225 | intro e _ |
| 226 | rw [TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion_differential |
| 227 | (R := R) (σ := σ) (d := d) (e := e.1) (n := n), |
| 228 | coordinateHomogeneousLaurentFullNegativeDifferential_apply |
| 229 | (R := R) (σ := σ) (d := d) (n := n) (s := s) (e := e)] |
| 230 | |
| 231 | /-- Project a degree-zero homogeneous Laurent ordered Cech cochain onto all nonnegative weight |
| 232 | components. -/ |
| 233 | noncomputable def coordinateHomogeneousLaurentNonnegativeProjection |
| 234 | [LinearOrder σ] (d : ℤ) : |
| 235 | LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 236 | (R := R) (σ := σ) d 0 →ₗ[ |
| 237 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))] |
| 238 | coordinateHomogeneousLaurentNonnegativeCochain |
| 239 | (R := R) (σ := σ) d := |
| 240 | LinearMap.pi fun e => |
| 241 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 242 | (R := R) (σ := σ) d e.1 0 |
| 243 | |
| 244 | /-- Project a homogeneous Laurent ordered Cech cochain onto all full-negative weight |
| 245 | components. -/ |
| 246 | noncomputable def coordinateHomogeneousLaurentFullNegativeProjection |
| 247 | [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 248 | LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 249 | (R := R) (σ := σ) d n →ₗ[ |
| 250 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens))] |
| 251 | coordinateHomogeneousLaurentFullNegativeCochain |
| 252 | (R := R) (σ := σ) d n := |
| 253 | LinearMap.pi fun e => |
| 254 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 255 | (R := R) d e.1 n |
| 256 | |
| 257 | @[simp] |
| 258 | theorem coordinateHomogeneousLaurentFullNegativeProjection_apply |
| 259 | [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 260 | (s : LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 261 | (R := R) (σ := σ) d n) |
| 262 | (e : {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 263 | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))}) : |
| 264 | coordinateHomogeneousLaurentFullNegativeProjection |
| 265 | (R := R) d n s e = |
| 266 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 267 | (R := R) d e.1 n s := rfl |
| 268 | |
| 269 | /-- Projection onto the full-negative weights commutes with the ordered Cech differential. -/ |
| 270 | theorem coordinateHomogeneousLaurentFullNegativeProjection_differential |
| 271 | [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 272 | (s : LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 273 | (R := R) (σ := σ) d n) : |
| 274 | coordinateHomogeneousLaurentFullNegativeDifferential |
| 275 | (R := R) (σ := σ) d n |
| 276 | (coordinateHomogeneousLaurentFullNegativeProjection |
| 277 | (R := R) d n s) = |
| 278 | coordinateHomogeneousLaurentFullNegativeProjection |
| 279 | (R := R) d (n + 1) |
| 280 | ((LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechDifferential |
| 281 | (R := R) (σ := σ) d n).hom s) := by |
| 282 | ext e |
| 283 | rw [coordinateHomogeneousLaurentFullNegativeDifferential_apply, |
| 284 | coordinateHomogeneousLaurentFullNegativeProjection_apply, |
| 285 | coordinateHomogeneousLaurentFullNegativeProjection_apply, |
| 286 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_differential] |
| 287 | |
| 288 | /-- A Laurent weight outside the active support of a cochain has zero weight component. -/ |
| 289 | theorem coordinateHomogeneousLaurentWeightComponent_eq_zero_of_not_mem_active |
| 290 | [Fintype σ] [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 291 | (s : LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 292 | (R := R) (σ := σ) d n) |
| 293 | (e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) |
| 294 | (he : e ∉ TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s) : |
| 295 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 296 | (R := R) d e n s = 0 := by |
| 297 | apply Subtype.ext |
| 298 | funext a |
| 299 | by_cases hallowed : e.IsAllowedOn (fun k => (a.1 k).down) |
| 300 | · rw [TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_apply_of_allowed |
| 301 | (h := hallowed)] |
| 302 | by_contra hcoefficient |
| 303 | exact he ((TwistCechWeightAssembly.MvPolynomial.mem_coordinateHomogeneousLaurentActiveWeights_iff |
| 304 | d n s e).2 ⟨a, hallowed, hcoefficient⟩) |
| 305 | · rw [TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent_apply_of_not_allowed |
| 306 | (h := hallowed)] |
| 307 | rfl |
| 308 | |
| 309 | /-- Assembling all full-negative components is the finite sum over the active full-negative |
| 310 | weights. -/ |
| 311 | theorem coordinateHomogeneousLaurentFullNegativeAssembly_projection |
| 312 | [Fintype σ] [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 313 | (s : LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 314 | (R := R) (σ := σ) d n) : |
| 315 | coordinateHomogeneousLaurentFullNegativeAssembly |
| 316 | (R := R) (σ := σ) d n |
| 317 | (coordinateHomogeneousLaurentFullNegativeProjection |
| 318 | (R := R) d n s) = |
| 319 | ∑ e ∈ (TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s).filter |
| 320 | fun e => e.liftedNegativeSupport = |
| 321 | (Set.univ : Set (ULift.{u} σ)), |
| 322 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 323 | (R := R) d e n |
| 324 | (TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 325 | (R := R) d e n s) := by |
| 326 | classical |
| 327 | let Full : Set (LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d) := |
| 328 | {e | e.liftedNegativeSupport = (Set.univ : Set (ULift.{u} σ))} |
| 329 | let hE : Full.Finite := |
| 330 | LaurentWeight.MvPolynomial.HomogeneousLaurentExponent.finite_setOf_liftedNegativeSupport_eq_univ |
| 331 | (σ := σ) d |
| 332 | let E := hE.toFinset |
| 333 | let eEquiv := hE.subtypeEquivToFinset |
| 334 | let term : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d → |
| 335 | LaurentCechData.MvPolynomial.coordinateHomogeneousLaurentOrderedCechObject |
| 336 | (R := R) (σ := σ) d n := fun e => |
| 337 | TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightInclusion |
| 338 | (R := R) d e n |
| 339 | (TwistCechWeightComponents.MvPolynomial.coordinateHomogeneousLaurentWeightComponent |
| 340 | (R := R) d e n s) |
| 341 | let : Fintype Full := hE.fintype |
| 342 | rw [coordinateHomogeneousLaurentFullNegativeAssembly_apply] |
| 343 | change |
| 344 | (∑ e : Full, term e.1) = |
| 345 | ∑ e ∈ (TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s).filter |
| 346 | fun e => e.liftedNegativeSupport = |
| 347 | (Set.univ : Set (ULift.{u} σ)), term e |
| 348 | have hsubset : |
| 349 | (TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s).filter |
| 350 | (fun e => e.liftedNegativeSupport = |
| 351 | (Set.univ : Set (ULift.{u} σ))) ⊆ E := by |
| 352 | intro e he |
| 353 | apply hE.mem_toFinset.mpr |
| 354 | simpa only [Full, Set.mem_ofPred_eq] using (Finset.mem_filter.mp he).2 |
| 355 | have hzero : ∀ e ∈ E, |
| 356 | e ∉ (TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s).filter |
| 357 | (fun e => e.liftedNegativeSupport = |
| 358 | (Set.univ : Set (ULift.{u} σ))) → term e = 0 := by |
| 359 | intro e heE he |
| 360 | have hfull : e.liftedNegativeSupport = |
| 361 | (Set.univ : Set (ULift.{u} σ)) := by |
| 362 | simpa only [Full, Set.mem_ofPred_eq] using hE.mem_toFinset.mp heE |
| 363 | have hinactive : e ∉ TwistCechWeightAssembly.MvPolynomial.coordinateHomogeneousLaurentActiveWeights d n s := by |
| 364 | intro hactive |
| 365 | exact he (Finset.mem_filter.mpr ⟨hactive, hfull⟩) |
| 366 | dsimp only [term] |
| 367 | rw [coordinateHomogeneousLaurentWeightComponent_eq_zero_of_not_mem_active |
| 368 | (R := R) (σ := σ) d n s e hinactive, map_zero] |
| 369 | calc |
| 370 | _ = ∑ e : {e // e ∈ E}, term e.1 := by |
| 371 | exact Fintype.sum_equiv eEquiv |
| 372 | (fun e : Full => term e.1) |
| 373 | (fun e : {e // e ∈ E} => term e.1) (fun _ => rfl) |
| 374 | _ = ∑ e ∈ E, term e := by |
| 375 | rw [Finset.univ_eq_attach E] |
| 376 | exact Finset.sum_attach E term |
| 377 | _ = _ := (Finset.sum_subset hsubset hzero).symm |
| 378 | |
| 379 | /-- The full-negative cocycles in one degree of the homogeneous Laurent ordered Cech |
| 380 | presentation. -/ |
| 381 | def coordinateHomogeneousLaurentFullNegativeCycles |
| 382 | [LinearOrder σ] (d : ℤ) (n : ℕ) := |
| 383 | LinearMap.ker |
| 384 | (coordinateHomogeneousLaurentFullNegativeDifferential |
| 385 | (R := R) (σ := σ) d n) |
| 386 | |
| 387 | /-- Full-negative homogeneous Laurent cycles form a finite module over a Noetherian affine |
| 388 | coefficient ring. -/ |
| 389 | theorem coordinateHomogeneousLaurentFullNegativeCycles.module_finite |
| 390 | [Fintype σ] [LinearOrder σ] [IsNoetherianRing R] (d : ℤ) (n : ℕ) : |
| 391 | Module.Finite |
| 392 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 393 | (coordinateHomogeneousLaurentFullNegativeCycles |
| 394 | (R := R) (σ := σ) d n) := by |
| 395 | let : IsNoetherianRing |
| 396 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) := |
| 397 | isNoetherianRing_of_ringEquiv R |
| 398 | (Scheme.ΓSpecIso (CommRingCat.of R)).symm.commRingCatIsoToRingEquiv |
| 399 | let : Module.Finite |
| 400 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 401 | (coordinateHomogeneousLaurentFullNegativeCochain |
| 402 | (R := R) (σ := σ) d n) := |
| 403 | coordinateHomogeneousLaurentFullNegativeCochain.module_finite d n |
| 404 | have hsource : IsNoetherian |
| 405 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 406 | (coordinateHomogeneousLaurentFullNegativeCochain |
| 407 | (R := R) (σ := σ) d n) := |
| 408 | isNoetherian_of_isNoetherianRing_of_finite _ _ |
| 409 | let : IsNoetherian |
| 410 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 411 | (coordinateHomogeneousLaurentFullNegativeCycles |
| 412 | (R := R) (σ := σ) d n) := |
| 413 | isNoetherian_of_submodule_of_noetherian _ _ _ hsource |
| 414 | infer_instance |
| 415 | |
| 416 | end |
| 417 | |
| 418 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentExceptionalWeights.MvPolynomial |