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.SectionRestrictionIs |
| 8 | import OAI.AlgebraicTopology.Support.SingularFlasqueOn |
| 9 | import OAI.AlgebraicTopology.Singular.SheafCochainOpenCone |
| 10 | import OAI.AlgebraicTopology.LocalHomology.FlattenedSupport |
| 11 | |
| 12 | /-! # Singular Section Cohomology -/ |
| 13 | |
| 14 | namespace OAI.AlgebraicTopology.Support.SingularSectionCohomology.Singular |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | /-! |
| 19 | # Supported singular-section cohomology on arbitrary opens |
| 20 | |
| 21 | The kernel of restriction on singular cochain sheaves is compared to the relative singular |
| 22 | pair on an arbitrary open neighborhood. The construction composes the flasque kernel/cone |
| 23 | comparison, the canonical grading comparison, and the sheafification-unit cone comparison. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 27 | |
| 28 | variable (X : TopCat.{0}) |
| 29 | |
| 30 | /-- Let `X` be a topological space, `S ⊆ X` closed, and `V ⊆ X` open. This homeomorphism identifies |
| 31 | the subspace `V ∩ (X \ S)` of `X` with the subspace `{v ∈ V | v ∉ S}` of `V`; it leaves each |
| 32 | underlying point unchanged. -/ |
| 33 | def openIntersectionSupportComplementHomeomorph (S : Set X) (hS : IsClosed S) (V : Opens X) : |
| 34 | ↥(V ⊓ (⟨Sᶜ, hS.isOpen_compl⟩ : Opens X)) ≃ₜ {v : V | v.1 ∉ S} where |
| 35 | toEquiv := (Equiv.subtypeSubtypeEquivSubtypeInter (· ∈ V) (· ∉ S)).symm |
| 36 | continuous_toFun := (continuous_subtype_val.subtype_mk _).subtype_mk _ |
| 37 | continuous_invFun := (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _ |
| 38 | |
| 39 | /-- Let `X` be a topological space, `S ⊆ X` closed, and `V ⊆ X` open. This identifies the pairs `(V, |
| 40 | V ∩ (X \ S))` and `(V, V \ S)`, acting as the identity on underlying points in both spaces. -/ |
| 41 | def openIntersectionPairIsoSupportComplement (S : Set X) (hS : IsClosed S) (V : Opens X) : |
| 42 | Singular.SheafCochainOpenCone.openInclusionPair X (Opens.infLELeft V (⟨Sᶜ, hS.isOpen_compl⟩ : Opens X)) ≅ |
| 43 | LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (V : Set X) S where |
| 44 | hom := TopPair.ofHom (𝟙 (TopCat.of V)) |
| 45 | (TopCat.ofHom ⟨openIntersectionSupportComplementHomeomorph X S hS V, |
| 46 | (openIntersectionSupportComplementHomeomorph X S hS V).continuous⟩) rfl |
| 47 | inv := TopPair.ofHom (𝟙 (TopCat.of V)) |
| 48 | (TopCat.ofHom ⟨(openIntersectionSupportComplementHomeomorph X S hS V).symm, |
| 49 | (openIntersectionSupportComplementHomeomorph X S hS V).symm.continuous⟩) rfl |
| 50 | hom_inv_id := by |
| 51 | apply MorphismProperty.Arrow.Hom.ext <;> ext w <;> rfl |
| 52 | inv_hom_id := by |
| 53 | apply MorphismProperty.Arrow.Hom.ext <;> ext w <;> rfl |
| 54 | |
| 55 | variable [T2Space X] [∀ V : Opens X, ParacompactSpace V] (U V : Opens X) |
| 56 | |
| 57 | /-- Let `X` be a Hausdorff topological space whose every open subset is paracompact. Let `U` and `V` |
| 58 | be open and `C^•` the complex of sheafified rational singular cochains. The sections on `V` that |
| 59 | vanish on `V ∩ U` form a subcomplex. This additive equivalence identifies its degree-`n` |
| 60 | cohomology with relative singular cohomology `H^n(V, V ∩ U; ℚ)`. -/ |
| 61 | def supportedRationalSingularSectionCohomologyEquivRelative (n : ℕ) : |
| 62 | -- `H^n_{X \ U}(V; ℚ) ≅ H^n(V, V ⊓ U; ℚ)`. |
| 63 | ((((DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X |
| 64 | -- Sections over the open `V`. |
| 65 | V).mapHomologicalComplex ℤᵘᵖ).obj |
| 66 | -- `Γ_{X \ U}` of the singular-cochain sheaf complex. |
| 67 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X U))).homology (n : ℤ) ≃+ |
| 68 | -- `H^n` of the pair `(V, V ⊓ U)`. |
| 69 | Singular.Cohomology.RelativeCohomology ℚ (Singular.SheafCochainOpenCone.openInclusionPair X (Opens.infLELeft V U)) n := |
| 70 | (SectionRestrictionCone.TopCat.Sheaf.supportedSectionHomologyIsoRestrictionCone X U V |
| 71 | (SingularFlasqueModel.Singular.rationalSingularCochainComplex X) (fun _ => inferInstance) (n : ℤ)).addCommGroupIsoToAddEquiv |
| 72 | |>.trans <| |
| 73 | (HomologicalComplex.homologyMapIso |
| 74 | (SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestrictionExtendConeIso X |
| 75 | (Singular.SheafCochain.singularCochainSheafComplex ℚ X) (Opens.infLELeft V U)) |
| 76 | ((n : ℤ) - 1)).addCommGroupIsoToAddEquiv |
| 77 | |>.trans (Singular.SheafCochainOpenCone.openSingularSheafRestrictionConeCohomologyEquivRelative X (Opens.infLELeft V U) n) |
| 78 | |
| 79 | /-- Let `X` be a Hausdorff topological space whose every open subset is paracompact. Let `S ⊆ X` be |
| 80 | closed and `V ⊆ X` open. This identifies degree-`n` cohomology of sections on `V` of the |
| 81 | sheafified rational singular cochains supported in `S` with relative singular cohomology `H^n(V, |
| 82 | V \ S; ℚ)`. -/ |
| 83 | def supportedRationalSingularSectionCohomologyEquivSupportComplement |
| 84 | (S : Set X) (hS : IsClosed S) (V : Opens X) (n : ℕ) : |
| 85 | -- `H^n_S(V; ℚ) ≅ H^n(V, V \ S; ℚ)`. |
| 86 | ((((DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X |
| 87 | -- Sections over the open `V`. |
| 88 | V).mapHomologicalComplex ℤᵘᵖ).obj |
| 89 | -- `Γ_S` of the singular-cochain sheaf complex. |
| 90 | (SingularFlasqueModel.Singular.supportedRationalSingularCochainComplex X ⟨Sᶜ, hS.isOpen_compl⟩))).homology (n : ℤ) ≃+ |
| 91 | -- `H^n` of the pair `(V, V \ S)`. |
| 92 | Singular.Cohomology.RelativeCohomology ℚ (LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (V : Set X) S) n := |
| 93 | (supportedRationalSingularSectionCohomologyEquivRelative X ⟨Sᶜ, hS.isOpen_compl⟩ V n).trans |
| 94 | (((HomologicalComplex.homologyFunctor (ModuleCat ℚ) (ComplexShape.up ℕ) n).mapIso |
| 95 | (Algebra.Homology.LinearDual.HomologicalComplex.linearDualIso ((Singular.Cohomology.relativeChainFunctor ℚ).mapIso |
| 96 | (openIntersectionPairIsoSupportComplement X S hS V).symm))).toLinearEquiv.toAddEquiv) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicTopology.Support.SingularSectionCohomology.Singular |