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.SectionRestrictionConeNaturality |
| 8 | import OAI.AlgebraicTopology.Support.SingularSectionCohomology |
| 9 | import OAI.AlgebraicTopology.Singular.CochainOpenConeNaturality |
| 10 | import OAI.AlgebraicTopology.Support.RelativeCohomologyEq |
| 11 | |
| 12 | /-! # Singular Section Naturality -/ |
| 13 | |
| 14 | namespace OAI.AlgebraicTopology.Support.SingularSectionNaturality.Singular |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | /-! # Naturality of supported singular-section relative cohomology -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 21 | |
| 22 | open _root_.TopCat.Sheaf |
| 23 | |
| 24 | variable (X : TopCat.{0}) [T2Space X] [∀ V : Opens X, ParacompactSpace V] |
| 25 | (U : Opens X) {V W : Opens X} (a : W ⟶ V) |
| 26 | |
| 27 | /-- Let `X` be Hausdorff with every open subset paracompact, and let `U,V ⊆ X` be open. Write `C^•` |
| 28 | for sheafified rational singular cochains. This identifies `H^n(Γ(V, Γ_{X \ U}(C^•)))` with |
| 29 | `H^{n-1}(Cone(C^•(V) → C^•(V ∩ U)))`, using the inclusion of the kernel of restriction and |
| 30 | extension to integer degrees. -/ |
| 31 | def supportedSingularSectionConeHomologyIso (V : Opens X) (n : ℤ) : |
| 32 | ((((DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X V).mapHomologicalComplex ℤᵘᵖ).obj |
| 33 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U))).homology n ≅ |
| 34 | (Singular.SheafCochainOpenCone.openSingularSheafRestrictionCone ℚ X (Opens.infLELeft V U)).homology (n - 1) := |
| 35 | SectionRestrictionCone.TopCat.Sheaf.supportedSectionHomologyIsoRestrictionCone X U V (SingularFlasqueModel.Singular.rationalSingularCochainComplex X) |
| 36 | (fun _ => inferInstance) n ≪≫ |
| 37 | HomologicalComplex.homologyMapIso (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestrictionExtendConeIso X |
| 38 | (Singular.SheafCochain.singularCochainSheafComplex ℚ X) (Opens.infLELeft V U)) (n - 1) |
| 39 | |
| 40 | set_option backward.defeqAttrib.useBackward true in |
| 41 | set_option backward.isDefEq.respectTransparency false in |
| 42 | set_option backward.isDefEq.respectTransparency.types false in |
| 43 | /-- The supported kernel-to-singular-cone comparison respects open restriction. -/ |
| 44 | @[reassoc] |
| 45 | lemma supportedSingularSectionConeHomologyIso_naturality (n : ℤ) : |
| 46 | HomologicalComplex.homologyMap |
| 47 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U) a) n ≫ |
| 48 | (supportedSingularSectionConeHomologyIso X U W n).hom = |
| 49 | (supportedSingularSectionConeHomologyIso X U V n).hom ≫ |
| 50 | HomologicalComplex.homologyMap |
| 51 | (Singular.CochainOpenConeNaturality.openSingularSheafRestrictionConeMap ℚ X (Opens.infLELeft V U) (Opens.infLELeft W U) |
| 52 | a (homOfLE (inf_le_inf_right U (leOfHom a)))) (n - 1) := by |
| 53 | dsimp only [supportedSingularSectionConeHomologyIso, Iso.trans_hom] |
| 54 | change HomologicalComplex.homologyMap |
| 55 | (SectionRestrictionConeNaturality.TopCat.Sheaf.supportRestrictionSectionsComplexMap X U (SingularFlasqueModel.Singular.rationalSingularCochainComplex X) a).τ₁ n ≫ |
| 56 | ((SectionRestrictionCone.TopCat.Sheaf.supportedSectionHomologyIsoRestrictionCone X U W (SingularFlasqueModel.Singular.rationalSingularCochainComplex X) |
| 57 | (fun _ => inferInstance) n).hom ≫ _) = _ |
| 58 | rw [SectionRestrictionConeNaturality.TopCat.Sheaf.supportedSectionHomologyIsoRestrictionCone_naturality_assoc X U |
| 59 | (SingularFlasqueModel.Singular.rationalSingularCochainComplex X) a] |
| 60 | simp only [Category.assoc] |
| 61 | congr 1 |
| 62 | let H := HomologicalComplex.homologyFunctor AddCommGrpCat ℤᵘᵖ (n - 1) |
| 63 | change H.map _ ≫ H.map _ = H.map _ ≫ H.map _ |
| 64 | rw [← H.map_comp, ← H.map_comp] |
| 65 | exact congrArg H.map (SectionRestrictionConeNaturality.TopCat.Sheaf.sectionComplexRestrictionExtendConeIso_naturality X |
| 66 | (Singular.SheafCochain.singularCochainSheafComplex ℚ X) (Opens.infLELeft V U) (Opens.infLELeft W U) |
| 67 | a (homOfLE (inf_le_inf_right U (leOfHom a)))) |
| 68 | |
| 69 | /-- Restriction naturality of the whole supported-section-to-relative equivalence. -/ |
| 70 | lemma supportedRationalSingularSectionCohomologyEquivRelative_naturality |
| 71 | (n : ℕ) |
| 72 | (z : ((((DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X V).mapHomologicalComplex ℤᵘᵖ).obj |
| 73 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U))).homology (n : ℤ)) : |
| 74 | SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivRelative X U W n |
| 75 | (HomologicalComplex.homologyMap |
| 76 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U) a) |
| 77 | (n : ℤ) z) = |
| 78 | Singular.Cohomology.relativeCohomologyMap ℚ n |
| 79 | (Singular.CochainOpenConeNaturality.openInclusionPairMap X (Opens.infLELeft V U) (Opens.infLELeft W U) |
| 80 | a (homOfLE (inf_le_inf_right U (leOfHom a)))) |
| 81 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivRelative X U V n z) := by |
| 82 | change Singular.SheafCochainOpenCone.openSingularSheafRestrictionConeCohomologyEquivRelative X (Opens.infLELeft W U) n |
| 83 | ((supportedSingularSectionConeHomologyIso X U W (n : ℤ)).hom |
| 84 | (HomologicalComplex.homologyMap |
| 85 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U) a) |
| 86 | (n : ℤ) z)) = _ |
| 87 | have h := congrArg (fun f => f z) |
| 88 | (supportedSingularSectionConeHomologyIso_naturality X U a (n : ℤ)) |
| 89 | change (supportedSingularSectionConeHomologyIso X U W (n : ℤ)).hom |
| 90 | (HomologicalComplex.homologyMap |
| 91 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U) a) |
| 92 | (n : ℤ) z) = |
| 93 | HomologicalComplex.homologyMap |
| 94 | (Singular.CochainOpenConeNaturality.openSingularSheafRestrictionConeMap ℚ X (Opens.infLELeft V U) (Opens.infLELeft W U) |
| 95 | a (homOfLE (inf_le_inf_right U (leOfHom a)))) ((n : ℤ) - 1) |
| 96 | ((supportedSingularSectionConeHomologyIso X U V (n : ℤ)).hom z) at h |
| 97 | rw [h] |
| 98 | exact Singular.CochainOpenConeNaturality.openSingularSheafRestrictionConeCohomologyEquivRelative_naturality X |
| 99 | (Opens.infLELeft V U) (Opens.infLELeft W U) a |
| 100 | (homOfLE (inf_le_inf_right U (leOfHom a))) n _ |
| 101 | |
| 102 | /-- The final support-complement comparison preserves ambient-open restrictions. -/ |
| 103 | lemma supportedRationalSingularSectionCohomologyEquivSupportComplement_naturality |
| 104 | (S : Set X) (hS : IsClosed S) {V W : Opens X} (a : W ⟶ V) (n : ℕ) |
| 105 | (z : ((((DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X V).mapHomologicalComplex ℤᵘᵖ).obj |
| 106 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩))).homology (n : ℤ)) : |
| 107 | SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement X S hS W n |
| 108 | (HomologicalComplex.homologyMap |
| 109 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction X ℤᵘᵖ |
| 110 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩) a) (n : ℤ) z) = |
| 111 | Singular.Cohomology.relativeCohomologyMap ℚ n |
| 112 | (LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap |
| 113 | (W := (W : Set X)) (V := (V : Set X)) (leOfHom a) S) |
| 114 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivSupportComplement X S hS V n z) := by |
| 115 | change Singular.Cohomology.relativeCohomologyMap ℚ n (SingularSectionCohomology.Singular.openIntersectionPairIsoSupportComplement X S hS W).inv |
| 116 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivRelative X _ W n _) = |
| 117 | Singular.Cohomology.relativeCohomologyMap ℚ n _ |
| 118 | (Singular.Cohomology.relativeCohomologyMap ℚ n (SingularSectionCohomology.Singular.openIntersectionPairIsoSupportComplement X S hS V).inv |
| 119 | (SingularSectionCohomology.Singular.supportedRationalSingularSectionCohomologyEquivRelative X _ V n z)) |
| 120 | rw [supportedRationalSingularSectionCohomologyEquivRelative_naturality, |
| 121 | ← LinearMap.comp_apply, ← LinearMap.comp_apply, ← Singular.CohomologyTo.relativeCohomologyMap_comp, |
| 122 | ← Singular.CohomologyTo.relativeCohomologyMap_comp] |
| 123 | congr 2 |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicTopology.Support.SingularSectionNaturality.Singular |