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 | |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | |
| 8 | import HodgeConjecture.Mathlib.Algebra.Homology.Notation |
| 9 | |
| 10 | import HodgeConjecture.Definitions.AlgebraicGeometry.Cohomology.WithSupport |
| 11 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.SupportExtension |
| 12 | import HodgeConjecture.Definitions.AlgebraicGeometry.Cycle.Component.SmoothSupportCoclassSection |
| 13 | import HodgeConjecture.Definitions.AlgebraicTopology.Support.SingularCohomologySheafComparison |
| 14 | |
| 15 | namespace OAI.AlgebraicGeometry.Cycle.FundamentalClass |
| 16 | |
| 17 | open scoped OAI.AlgebraicGeometry.Hodge.Filtration.ComplexPoint |
| 18 | open scoped OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular |
| 19 | open scoped OAI.AlgebraicGeometry.Cohomology.WithSupport.ComplexPoint |
| 20 | |
| 21 | open _root_.AlgebraicGeometry |
| 22 | |
| 23 | /-! |
| 24 | # Sheaf cycle classes in arbitrary codimension |
| 25 | |
| 26 | The exactly normalized normal-chart coclass on a component's smooth locus is transported to the |
| 27 | supported cohomology sheaf. Lowest-degree purity and unique extension across the singular |
| 28 | boundary then give a supported class on the original ambient variety, and forgetting its support |
| 29 | lands in ordinary rational cohomology. |
| 30 | |
| 31 | The corresponding Borel–Moore fundamental class is obtained through the complex-orientation |
| 32 | duality for the ambient chain sheaf. Compactification independence and rational-equivalence |
| 33 | invariance are separate statements. |
| 34 | -/ |
| 35 | |
| 36 | noncomputable section |
| 37 | |
| 38 | open _root_.CategoryTheory Limits _root_.TopologicalSpace Opposite |
| 39 | open _root_.OAI.AlgebraicTopology.Singular |
| 40 | |
| 41 | section |
| 42 | namespace ComplexPoint |
| 43 | |
| 44 | variable (X : Over (Spec ↧ℂ)) |
| 45 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] |
| 46 | |
| 47 | local instance _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafClassAnalyticTopology : |
| 48 | TopologicalSpace (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.analyticTopology |
| 49 | |
| 50 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and `S ⊆ X(ℂ)` closed. For a natural |
| 51 | number `n`, this identifies the degree-`n` cohomology sheaf of `Γ_S(I^•)` with the |
| 52 | sheafification of `V ↦ H^n(V, V \ S; ℚ)`. Here `ℚ → I^•` is an injective resolution and `Γ_S` |
| 53 | takes sections vanishing off `S`. -/ |
| 54 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveCohomologySheafIsoRelative |
| 55 | (S : Closeds (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) (n : ℕ) : |
| 56 | -- The `n`-th cohomology sheaf of `RΓ_S(ℚ)`. |
| 57 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X S).homology (n : ℤ) ≅ |
| 58 | 𝓗_[S]^n(TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℚ) := |
| 59 | letI : ∀ V : Opens (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X), ParacompactSpace V := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openParacompactSpace X |
| 60 | (asIso (HomologicalComplex.homologyMap |
| 61 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportedSingularToAmbientInjective X S.compl) (n : ℤ))).symm ≪≫ |
| 62 | _root_.OAI.AlgebraicTopology.Support.SingularCohomologySheafComparison.Singular.supportedSingularCohomologySheafIsoRelative |
| 63 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) S S.isClosed n |
| 64 | |
| 65 | section |
| 66 | |
| 67 | variable (x : X.left) {p : ℕ} (hx : Order.coheight x = p) |
| 68 | |
| 69 | /-- Let `X` be a smooth integral projective scheme over `ℂ`, let `x` be a scheme point, and let `Z` |
| 70 | be its reduced closure in `X`. For a natural number `p`, this is `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ)`, |
| 71 | computed from global sections of the subsheaves supported in `Z(ℂ)` of a chosen injective |
| 72 | resolution of the constant rational sheaf. -/ |
| 73 | abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSupportedCohomology (p : ℕ) : AddCommGrpCat := |
| 74 | -- `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ)`, with `Z` the subvariety with generic point `x`. |
| 75 | (((_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation |
| 76 | -- `X(ℂ)`. |
| 77 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 78 | -- Global sections, i.e. sections over all of `X(ℂ)`. |
| 79 | ⊤).mapHomologicalComplex ℤᵘᵖ).obj |
| 80 | -- `RΓ_{Z(ℂ)}(ℚ)`. |
| 81 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X |
| 82 | -- `Z(ℂ)`, as a closed subset of `X(ℂ)`. |
| 83 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x))).homology |
| 84 | -- Degree `2p`. |
| 85 | (2 * (p : ℤ)) |
| 86 | |
| 87 | /-- Let `X` be a smooth integral projective scheme over `ℂ`, let `x` be a scheme point, and let `Z` |
| 88 | be its reduced closure in `X`. Write `S = Z(ℂ)`, `U = X(ℂ) \ Z_sing(ℂ)`, and `𝓗^{2p}_S` for the |
| 89 | sheafification of `V ↦ H^{2p}(V, V \ S; ℚ)`. For a natural number `p`, this is the abelian group |
| 90 | `Γ(U, 𝓗^{2p}_S)` of sections of the local relative-cohomology sheaf away from the singular locus |
| 91 | of `Z`. -/ |
| 92 | abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSmoothCoclassSections (p : ℕ) : AddCommGrpCat := |
| 93 | -- Sections of `𝓗^{2p}_{Z(ℂ)}` over `X(ℂ) \ Z_sing(ℂ)`, with support `Z(ℂ)` and degree `2p`. |
| 94 | (𝓗_[_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentSupport X x]^(2 * p)(TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℚ)).presheaf.obj |
| 95 | -- The open `X(ℂ) \ Z_sing(ℂ)`. |
| 96 | (op (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportAmbientOpen X x)) |
| 97 | |
| 98 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the codimension-`p` |
| 99 | integral subvariety with generic point `x`. Write `S = Z(ℂ)`, `U = X(ℂ) \ Z_sing(ℂ)`, and |
| 100 | `𝓗^{2p}_S` for the sheafification of `V ↦ H^{2p}(V, V \ S; ℚ)`. This is the isomorphism |
| 101 | `H^{2p}_S(X(ℂ); ℚ) ≅ Γ(U, 𝓗^{2p}_S)`. It restricts a supported class to `U` and takes its local |
| 102 | relative classes. Purity on the smooth locus and vanishing of cohomology supported on the |
| 103 | singular locus make the map invertible. -/ |
| 104 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedClassNormalizationIso : |
| 105 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSupportedCohomology X x p ≅ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSmoothCoclassSections X x p := |
| 106 | have he : ((2 * p : ℕ) : ℤ) = 2 * (p : ℤ) := by omega |
| 107 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportExtensionIso X x hx ≪≫ |
| 108 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportLowestSectionCohomologyIso X x hx ≪≫ |
| 109 | (he ▸ (_root_.OAI.AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 110 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportAmbientOpen X x)).mapIso |
| 111 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveCohomologySheafIsoRelative X |
| 112 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x) (2 * p))) |
| 113 | |
| 114 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the codimension-`p` |
| 115 | integral subvariety with generic point `x`. Write `S = Z(ℂ)`, `U = X(ℂ) \ Z_sing(ℂ)`, and |
| 116 | `𝓗^{2p}_S` for the sheafification of `V ↦ H^{2p}(V, V \ S; ℚ)`. This additive map `Γ(U, |
| 117 | 𝓗^{2p}_S) → H^{2p}_S(X(ℂ); ℚ)` assigns to a section its unique supported class on all of `X(ℂ)`. |
| 118 | It inverts restriction followed by passage to local relative-cohomology classes. -/ |
| 119 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentExtendSmoothCoclass : |
| 120 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSmoothCoclassSections X x p →+ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSupportedCohomology X x p := |
| 121 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedClassNormalizationIso X x hx).inv.hom |
| 122 | |
| 123 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and `Z` the codimension-`p` integral |
| 124 | subvariety with generic point `x`. This is the class in `H^{2p}_{Z(ℂ)}(X(ℂ);ℚ)` computed from |
| 125 | sections supported on `Z(ℂ)` of an injective resolution of the constant rational sheaf. Its |
| 126 | local classes along the smooth locus of `Z` evaluate to `1` on the complex orientation classes |
| 127 | of the normal spaces. -/ |
| 128 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.CycleComponentSupportedCohomology X x p := |
| 129 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentExtendSmoothCoclass X x hx |
| 130 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportCoclassSection X x hx) |
| 131 | |
| 132 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and `Z` the codimension-`p` integral |
| 133 | subvariety with generic point `x`. This is the class in `H^{2p}_{Z(ℂ)}(X(ℂ);ℚ)` whose local classes |
| 134 | along the smooth locus of `Z` evaluate to `1` on the complex orientation classes of the normal |
| 135 | spaces. -/ |
| 136 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafSupportedClass : |
| 137 | -- `H^{2p}_{Z(ℂ)}(X(ℂ); ℚ)`. |
| 138 | H_[_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x]^(2 * p)(X; ℚ) := |
| 139 | have he : 2 * (p : ℤ) = ((2 * p : ℕ) : ℤ) := by omega |
| 140 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.rationalSupportAddEquivSupportedInjectiveHomology X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x) |
| 141 | (2 * p)).symm (he ▸ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass X x hx) |
| 142 | |
| 143 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and `Z` the codimension-`p` integral |
| 144 | subvariety with generic point `x`. The fundamental cohomology class `[Z] ∈ H^{2p}(X(ℂ);ℚ)` is |
| 145 | obtained by forgetting the support of the class in `H^{2p}_{Z(ℂ)}(X(ℂ);ℚ)` whose local classes |
| 146 | along the smooth locus evaluate to `1` on the complex orientation classes of the normal spaces. -/ |
| 147 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafClass : H^(2 * p)(X; ℚ) := |
| 148 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.forgetSupport ℚ X (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x) (2 * p) |
| 149 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafSupportedClass X x hx) |
| 150 | |
| 151 | end |
| 152 | |
| 153 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and `p` a natural number. This is the |
| 154 | rational subspace of `H^{2p}(X(ℂ); ℚ)` spanned by the fundamental cohomology classes of all |
| 155 | codimension-`p` integral closed subvarieties of `X`. Their classes are normalized by the complex |
| 156 | orientations of their normal spaces on their smooth loci. -/ |
| 157 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.algebraicCycleClassSpan (p : ℕ) : Submodule ℚ (H^(2 * p)(X; ℚ)) := |
| 158 | sSup {Submodule.span ℚ {_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafClass X x hx} | |
| 159 | (x : X.left) (hx : Order.coheight x = p) } |
| 160 | |
| 161 | end ComplexPoint |
| 162 | end |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.Cycle.FundamentalClass |