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.Cech.AcyclicResolution |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.TopCatRestrict |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor |
| 4 | |
| 5 | /-! # Injective Resolution Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Cech.InjectiveResolutionSections.TopCat.Sheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.TopCat |
| 12 | open _root_.TopCat.Sheaf |
| 13 | |
| 14 | /-! An injective resolution is exact on sections over an acyclic open subset. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X : TopCat.{u}} (F : Sheaf AddCommGrpCat.{u} X) (V : Opens X) |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | /-- Vanishing of all positive cohomology on an open makes sections of the |
| 24 | actual chosen injective resolution exact there in every positive degree. -/ |
| 25 | theorem injectiveResolution_sections_exact_succ |
| 26 | (hF : ∀ q, Subsingleton (CategoryTheory.Sheaf.H |
| 27 | ((TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat V.isOpenEmbedding).obj F) (q + 1))) |
| 28 | (n : ℕ) |
| 29 | (x : ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.X (n + 1)).obj.obj (op V)) |
| 30 | (hx : ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.d |
| 31 | (n + 1) (n + 2)).hom.app (op V) x = 0) : |
| 32 | ∃ y : ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.X n).obj.obj (op V), |
| 33 | ((injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex.d n (n + 1)).hom.app (op V) y = x := by |
| 34 | let I := injectiveResolution (Compat.TopCat.Sheaf.toSiteSheaf F) |
| 35 | let R := TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat.{u} V.isOpenEmbedding |
| 36 | have : R.Additive := TopCatRestrict.TopCat.Sheaf.restrict_additive V.isOpenEmbedding |
| 37 | have : R.PreservesZeroMorphisms := Functor.preservesZeroMorphisms_of_additive R |
| 38 | have : PreservesFiniteLimits R := TopCatRestrict.TopCat.Sheaf.restrict_preservesFiniteLimits V.isOpenEmbedding |
| 39 | have : PreservesFiniteColimits R := by dsimp [R]; infer_instance |
| 40 | let K := (R.mapHomologicalComplex (.up ℕ)).obj I.cocomplex |
| 41 | let e : R.obj (Compat.TopCat.Sheaf.toSiteSheaf 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 dsimp [e]; infer_instance |
| 46 | have haug : (ShortComplex.mk e (K.d 0 1) w).Exact := I.exact₀.map R |
| 47 | have hpos : ∀ q, (AcyclicResolution.Projective.resolutionDifferentialShortComplex K q).Exact := by |
| 48 | intro q |
| 49 | exact (I.exact_succ q).map R |
| 50 | have hK (p q : ℕ) : Subsingleton (CategoryTheory.Sheaf.H (K.X p) (q + 1)) := by |
| 51 | have : IsFlasque (I.cocomplex.X p) := |
| 52 | @Compat.TopCat.Sheaf.IsFlasque.of_injective X (I.cocomplex.X p) (I.injective p) |
| 53 | have : IsFlasque (K.X p) := |
| 54 | TopCatRestrict.TopCat.Sheaf.IsFlasque.of_restrict _ (I.cocomplex.X p) V.isOpenEmbedding |
| 55 | exact Compat.TopCat.Sheaf.IsFlasque.subsingleton_H q |
| 56 | have ht := AcyclicResolution.Projective.acyclicResolution_sections_exact_succ |
| 57 | K e w haug hpos hF hK n |
| 58 | change ∀ (x : (I.cocomplex.X (n + 1)).obj.obj |
| 59 | (op (V.isOpenEmbedding.functor.obj ⊤))), |
| 60 | (I.cocomplex.d (n + 1) (n + 2)).hom.app |
| 61 | (op (V.isOpenEmbedding.functor.obj ⊤)) x = 0 → |
| 62 | ∃ y : (I.cocomplex.X n).obj.obj (op (V.isOpenEmbedding.functor.obj ⊤)), |
| 63 | (I.cocomplex.d n (n + 1)).hom.app |
| 64 | (op (V.isOpenEmbedding.functor.obj ⊤)) y = x at ht |
| 65 | rw [Opens.isOpenEmbedding_obj_top V] at ht |
| 66 | exact ht x hx |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.SheafCohomology.Cech.InjectiveResolutionSections.TopCat.Sheaf |