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 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.Algebra.Homology.Notation |
| 7 | import OAI.AlgebraicTopology.Support.SingularSectionNaturality |
| 8 | import OAI.AlgebraicTopology.Sheaf.CohomologySection |
| 9 | |
| 10 | /-! # Singular Cohomology Sheaf Comparison -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicTopology.Support.SingularCohomologySheafComparison |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open scoped OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular |
| 17 | |
| 18 | open _root_.TopCat |
| 19 | open _root_.TopCat.Sheaf |
| 20 | |
| 21 | /-! |
| 22 | # The supported singular cohomology sheaf and local relative cohomology |
| 23 | |
| 24 | The restriction-natural local comparison is an isomorphism of presheaves, and exact |
| 25 | sheafification with its counit identifies the sheafification with the cohomology sheaf of |
| 26 | the kernel-defined supported singular complex. The local class and unit equations fix this |
| 27 | identification, including the positive short-exact-sequence lift normalization. |
| 28 | -/ |
| 29 | |
| 30 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | namespace TopCat.Sheaf |
| 35 | |
| 36 | variable (X : TopCat.{u}) (K : CochainComplex (Sheaf AddCommGrpCat.{u} X) ℤ) |
| 37 | |
| 38 | /-- The canonical evaluation/homology comparison respects open restriction. -/ |
| 39 | @[reassoc] |
| 40 | lemma sectionCohomologyPresheafOnOpenIso_inv_naturality |
| 41 | (n : ℤ) {V W : Opens X} (a : W ⟶ V) : |
| 42 | (AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheaf X K n).map a.op ≫ |
| 43 | (AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheafOnOpenIso X K n W).inv = |
| 44 | (AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheafOnOpenIso X K n V).inv ≫ |
| 45 | homologyMap (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ K a) n := by |
| 46 | let P : CochainComplex ((Opens X)ᵒᵖ ⥤ AddCommGrpCat.{u}) ℤ := |
| 47 | ((forget AddCommGrpCat.{u} X).mapHomologicalComplex ℤᵘᵖ).obj K |
| 48 | let S : ShortComplex ((Opens X)ᵒᵖ ⥤ AddCommGrpCat.{u}) := P.sc n |
| 49 | change ((evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).map a.op).app S.homology ≫ |
| 50 | (S.mapHomologyIso ((evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).obj (op W))).inv = |
| 51 | (S.mapHomologyIso ((evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).obj (op V))).inv ≫ |
| 52 | ShortComplex.homologyMap |
| 53 | (S.mapNatTrans ((evaluation (Opens X)ᵒᵖ AddCommGrpCat.{u}).map a.op)) |
| 54 | rw [NatTrans.app_homology] |
| 55 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 56 | |
| 57 | end TopCat.Sheaf |
| 58 | |
| 59 | namespace Singular |
| 60 | |
| 61 | variable (X : TopCat.{0}) [T2Space X] [∀ V : Opens X, ParacompactSpace V] |
| 62 | (S : Set X) (hS : IsClosed S) (n : ℕ) |
| 63 | |
| 64 | /-- Let `X` be a Hausdorff topological space whose every open subset is paracompact. Let `S ⊆ X` be |
| 65 | closed and `n` a natural number. This presheaf isomorphism identifies `V ↦ H^n(Γ(V, Γ_S(C^•)))` |
| 66 | with `V ↦ H^n(V, V \ S; ℚ)`. Here `C^•` is the sheafified rational singular cochain complex, and |
| 67 | `Γ_S` takes the subsheaves of sections vanishing off `S`. -/ |
| 68 | def supportedSingularCohomologyPresheafIsoRelative : |
| 69 | -- `V ↦ H^n_S(V; ℚ)` is the presheaf `V ↦ H^n(V, V \ S; ℚ)`. |
| 70 | AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheaf X |
| 71 | -- `Γ_S` of the singular-cochain sheaf complex. |
| 72 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩) (n : ℤ) ≅ |
| 73 | RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n := |
| 74 | NatIso.ofComponents (fun V => |
| 75 | (AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheafOnOpenIso X |
| 76 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩) (n : ℤ) V.unop).symm ≪≫ |
| 77 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement X S hS V.unop n).toAddCommGrpIso) (by |
| 78 | intro V W a |
| 79 | apply ConcreteCategory.hom_ext |
| 80 | intro z |
| 81 | let K := SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩ |
| 82 | change SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement X S hS W.unop n |
| 83 | ((AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheafOnOpenIso X K (n : ℤ) W.unop).inv |
| 84 | ((AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheaf X K (n : ℤ)).map a z)) = |
| 85 | Singular.Cohomology.relativeCohomologyMap ℚ n |
| 86 | (LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap |
| 87 | (W := (W.unop : Set X)) (V := (V.unop : Set X)) (leOfHom a.unop) S) |
| 88 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement X S hS V.unop n |
| 89 | ((AlgebraicTopology.Sheaf.CohomologyStalkVanishing.TopCat.sectionCohomologyPresheafOnOpenIso X K (n : ℤ) V.unop).inv z)) |
| 90 | have h := ConcreteCategory.congr_hom |
| 91 | (SingularCohomologySheafComparison.TopCat.Sheaf.sectionCohomologyPresheafOnOpenIso_inv_naturality X K (n : ℤ) a.unop) z |
| 92 | simp only [ConcreteCategory.comp_apply, Quiver.Hom.op_unop] at h |
| 93 | rw [h] |
| 94 | exact SingularSectionNaturality.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement_naturality |
| 95 | X S hS a.unop n _) |
| 96 | |
| 97 | /-- Let `X` be a Hausdorff topological space whose every open subset is paracompact. Let `S ⊆ X` be |
| 98 | closed and `C^•` the sheafified rational singular cochain complex. The degree-`n` cohomology |
| 99 | sheaf of its subsheaves of sections supported in `S` is identified with the sheafification of `V |
| 100 | ↦ H^n(V, V \ S; ℚ)`, rational relative singular cohomology. -/ |
| 101 | def supportedSingularCohomologySheafIsoRelative : |
| 102 | -- The `n`-th cohomology sheaf of `Γ_S(C^•_sing)`. |
| 103 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X |
| 104 | -- The open `X \ S`. |
| 105 | ⟨Sᶜ, hS.isOpen_compl⟩).homology (n : ℤ) ≅ |
| 106 | 𝓗_[S]^n(X; ℚ) := |
| 107 | (AlgebraicTopology.Sheaf.CohomologySection.TopCat.sectionCohomologyPresheafSheafificationIso X |
| 108 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩) (n : ℤ)).symm ≪≫ |
| 109 | (presheafToSheaf (Opens.grothendieckTopology X) AddCommGrpCat).mapIso |
| 110 | (supportedSingularCohomologyPresheafIsoRelative X S hS n) |
| 111 | |
| 112 | end Singular |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicTopology.Support.SingularCohomologySheafComparison |