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 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | This file has been modified. |
| 17 | -/ |
| 18 | |
| 19 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.LocalGenerator |
| 20 | |
| 21 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.ClosedPointDimension |
| 22 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.ProjectiveHausdorff |
| 23 | import HodgeConjecture.Lemmas.AlgebraicTopology.LocalHomology.ChartFundamentalClassGenerator |
| 24 | import HodgeConjecture.Lemmas.AlgebraicTopology.LocalHomology.FundamentalClassGenerator |
| 25 | import HodgeConjecture.Lemmas.AlgebraicTopology.LocalHomology.PuncturedEuclidean |
| 26 | |
| 27 | namespace OAI.AlgebraicGeometry.Cycle.LocalPurity |
| 28 | |
| 29 | /-! |
| 30 | # Local dual classes on cycle components |
| 31 | |
| 32 | The local fundamental class obtained from exact coordinates on the smooth locus of a cycle |
| 33 | component is nonzero. Since it generates local homology, there is a unique local cohomology |
| 34 | class evaluating to one on it, and that normalized dual class generates cohomology supported at |
| 35 | the chosen point. |
| 36 | |
| 37 | This is intrinsic purity on the smooth component neighborhood. It does not yet give ambient |
| 38 | purity in codimension `p`: that requires a Thom or Gysin comparison between the intrinsic local |
| 39 | homology in degree `2 * (d - p)` and ambient cohomology supported on the component in degree |
| 40 | `2 * p`. |
| 41 | -/ |
| 42 | |
| 43 | noncomputable section |
| 44 | |
| 45 | open _root_.CategoryTheory _root_.Topology |
| 46 | |
| 47 | namespace AlgebraicTopology |
| 48 | open _root_.AlgebraicTopology |
| 49 | namespace Singular |
| 50 | open _root_.AlgebraicTopology |
| 51 | open _root_.OAI.AlgebraicTopology.Singular |
| 52 | |
| 53 | variable {R M : Type*} [Field R] [AddCommGroup M] [Module R M] |
| 54 | |
| 55 | /-- Let `M` be a vector space over a field `R` and `z ∈ M` a nonzero vector. This is a chosen linear |
| 56 | functional `M → R` taking `z` to `1`. In dimensions greater than one, this condition need not |
| 57 | determine the functional uniquely. -/ |
| 58 | def normalizedDual (z : M) (hz : z ≠ 0) : Module.Dual R M := |
| 59 | Classical.choose (Module.Projective.exists_dual_eq_one R hz) |
| 60 | |
| 61 | /-- Let `R` be a field, `(X, A)` a topological pair, and `z` a nonzero class in relative singular |
| 62 | homology `H_n(X, A; R)`. Choose a linear functional on this homology group taking `z` to `1`, |
| 63 | and use the universal-coefficient equivalence to obtain a class in `H^n(X, A; R)`. This is the |
| 64 | resulting coclass; the normalization alone is unique when the homology is one-dimensional. -/ |
| 65 | def normalizedRelativeCoclass {R : Type*} [Field R] {X : TopPair} {n : ℕ} |
| 66 | (z : _root_.OAI.AlgebraicTopology.Singular.Cohomology.RelativeHomology R X n) (hz : z ≠ 0) : _root_.OAI.AlgebraicTopology.Singular.Cohomology.RelativeCohomology R X n := |
| 67 | (_root_.OAI.AlgebraicTopology.Singular.Cohomology.relativeCohomologyEquivDualHomology R X n).symm (normalizedDual z hz) |
| 68 | |
| 69 | end Singular |
| 70 | end AlgebraicTopology |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Cycle.LocalPurity |