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.AbelianModuli.HilbertConstruction.AcyclicSheafResolution |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TopologicalSheafRestriction |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor |
| 4 | |
| 5 | /-! # Injective Resolution Section Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveResolutionSectionExactness.IntrinsicCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An injective resolution is exact on sections over an acyclic open subset. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : TopCat.{u}} (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (V : Opens X) |
| 18 | |
| 19 | /-- Vanishing of all positive cohomology on an open makes sections of the |
| 20 | actual chosen injective resolution exact there in every positive degree. -/ |
| 21 | theorem injectiveResolution_sections_exact_succ |
| 22 | (hF : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 23 | ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj F) (q + 1))) |
| 24 | (n : ℕ) |
| 25 | (x : ((injectiveResolution F).cocomplex.X (n + 1)).obj.obj (op V)) |
| 26 | (hx : ((injectiveResolution F).cocomplex.d |
| 27 | (n + 1) (n + 2)).hom.app (op V) x = 0) : |
| 28 | ∃ y : ((injectiveResolution F).cocomplex.X n).obj.obj (op V), |
| 29 | ((injectiveResolution F).cocomplex.d n (n + 1)).hom.app (op V) y = x := by |
| 30 | let I : InjectiveResolution F := injectiveResolution F |
| 31 | let R : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} ⥤ |
| 32 | CategoryTheory.Sheaf (Opens.grothendieckTopology ((Opens.toTopCat X).obj V)) |
| 33 | AddCommGrpCat.{u} := TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat.{u} V.isOpenEmbedding |
| 34 | have : R.Additive := TopologicalSheafRestriction.IntrinsicCech.restrict_additive V.isOpenEmbedding |
| 35 | have : R.PreservesZeroMorphisms := Functor.preservesZeroMorphisms_of_additive R |
| 36 | have : PreservesFiniteLimits R := TopologicalSheafRestriction.IntrinsicCech.restrict_preservesFiniteLimits V.isOpenEmbedding |
| 37 | have : PreservesColimits R := |
| 38 | (TopologicalSheafRestriction.IntrinsicCech.restrictPushforwardAdjunction AddCommGrpCat.{u} V.isOpenEmbedding).leftAdjoint_preservesColimits |
| 39 | have : PreservesFiniteColimits R := inferInstance |
| 40 | let K := (R.mapHomologicalComplex (.up ℕ)).obj I.cocomplex |
| 41 | let e : R.obj F ⟶ K.X 0 := R.map (I.ι.f 0) |
| 42 | have w : e ≫ K.d 0 1 = 0 := by |
| 43 | change R.map (I.ι.f 0) ≫ R.map (I.cocomplex.d 0 1) = 0 |
| 44 | rw [← R.map_comp, I.ι_f_zero_comp_complex_d, R.map_zero] |
| 45 | have : Mono e := by |
| 46 | exact Functor.map_mono R (I.ι.f 0) |
| 47 | have haug : (ShortComplex.mk e (K.d 0 1) w).Exact := I.exact₀.map R |
| 48 | have hpos : ∀ q, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K q).Exact := by |
| 49 | intro q |
| 50 | exact (I.exact_succ q).map R |
| 51 | have hK (p q : ℕ) : Subsingleton (CategoryTheory.Sheaf.H (K.X p) (q + 1)) := by |
| 52 | have : TopCat.Sheaf.IsFlasque (I.cocomplex.X p) := |
| 53 | @TopologicalSheafCohomology.IntrinsicCech.injectiveSheaf_flasque X (I.cocomplex.X p) (I.injective p) |
| 54 | have : TopCat.Sheaf.IsFlasque (K.X p) := |
| 55 | TopologicalSheafRestriction.IntrinsicCech.flasque_of_restrict _ (I.cocomplex.X p) V.isOpenEmbedding |
| 56 | exact TopologicalSheafCohomology.IntrinsicCech.flasqueSheaf_positiveCohomology_subsingleton (K.X p) q |
| 57 | have ht := AcyclicSheafResolution.IntrinsicCech.acyclicResolution_sections_exact_succ |
| 58 | K e w haug hpos hF hK n |
| 59 | change ∀ (x : (I.cocomplex.X (n + 1)).obj.obj |
| 60 | (op (V.isOpenEmbedding.functor.obj ⊤))), |
| 61 | (I.cocomplex.d (n + 1) (n + 2)).hom.app |
| 62 | (op (V.isOpenEmbedding.functor.obj ⊤)) x = 0 → |
| 63 | ∃ y : (I.cocomplex.X n).obj.obj (op (V.isOpenEmbedding.functor.obj ⊤)), |
| 64 | (I.cocomplex.d n (n + 1)).hom.app |
| 65 | (op (V.isOpenEmbedding.functor.obj ⊤)) y = x at ht |
| 66 | rw [Opens.isOpenEmbedding_obj_top V] at ht |
| 67 | exact ht x hx |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InjectiveResolutionSectionExactness.IntrinsicCech |