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 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/FlasqueCohomology.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import Mathlib.CategoryTheory.Abelian.Injective.Resolution |
| 8 | import Mathlib.Topology.Sheaves.Flasque |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.AffineVanishing |
| 10 | |
| 11 | /-! # Compat -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.Compat.TopCat.Sheaf |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.TopCat |
| 18 | open _root_.TopCat.Sheaf |
| 19 | |
| 20 | /-! |
| 21 | # Option-free sheaf-cohomology compatibility |
| 22 | |
| 23 | This is the narrow interface from AINTLIB's `FlasqueCohomology` needed by the |
| 24 | degree-one Cech comparison. The notation-level definitions are retained, but |
| 25 | the source's option-dependent flasque-acyclicity proof is not copied. Its two |
| 26 | consumed instances are instead derived from the existing project theorems |
| 27 | `injectiveSheaf_isFlasque` and `flasqueSheaf_H_succ_subsingleton`. |
| 28 | -/ |
| 29 | |
| 30 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | variable {X : TopCat.{u}} |
| 35 | |
| 36 | /-- Regard a topological sheaf as a sheaf on the site of open subsets. -/ |
| 37 | abbrev toSiteSheaf (F : Sheaf AddCommGrpCat.{u} X) : |
| 38 | CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} := |
| 39 | F |
| 40 | |
| 41 | /-- Cohomology of an additive sheaf on a topological space. -/ |
| 42 | abbrev H (F : Sheaf AddCommGrpCat.{u} X) (n : ℕ) : Type u := |
| 43 | CategoryTheory.Sheaf.H (toSiteSheaf F) n |
| 44 | |
| 45 | /-- The map on cohomology induced by a morphism of additive sheaves. -/ |
| 46 | abbrev H.map {F G : Sheaf AddCommGrpCat X} (f : F ⟶ G) (n : ℕ) : |
| 47 | Compat.TopCat.Sheaf.H F n →+ Compat.TopCat.Sheaf.H G n := |
| 48 | CategoryTheory.Sheaf.H.map f n |
| 49 | |
| 50 | /-- Degree-zero cohomology is equivalent to global sections. -/ |
| 51 | abbrev H.equiv₀ (F : Sheaf AddCommGrpCat X) : |
| 52 | Compat.TopCat.Sheaf.H F 0 ≃+ ↑((toSiteSheaf F).obj.obj (Opposite.op ⊤)) := |
| 53 | CategoryTheory.Sheaf.H.equiv₀ (toSiteSheaf F) Limits.isTerminalTop |
| 54 | |
| 55 | namespace IsFlasque |
| 56 | open _root_.TopCat.Sheaf.IsFlasque |
| 57 | |
| 58 | /-- Injective additive sheaves are flasque. -/ |
| 59 | instance of_injective (I : Sheaf AddCommGrpCat.{u} X) [hI : Injective I] : |
| 60 | IsFlasque I := |
| 61 | @AffineVanishing.Projective.injectiveSheaf_isFlasque |
| 62 | X I hI |
| 63 | |
| 64 | /-- Flasque additive sheaves have subsingleton positive-degree cohomology. -/ |
| 65 | instance subsingleton_H {F : Sheaf AddCommGrpCat.{u} X} [hF : IsFlasque F] |
| 66 | (n : ℕ) : Subsingleton (Compat.TopCat.Sheaf.H F (n + 1)) := |
| 67 | @AffineVanishing.Projective.flasqueSheaf_H_succ_subsingleton |
| 68 | X F hF n |
| 69 | |
| 70 | end IsFlasque |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.Compat.TopCat.Sheaf |