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 | This file has been modified. |
| 16 | -/ |
| 17 | import OAI.AlgebraicTopology.LocalHomology.FundamentalClassBoundary |
| 18 | import OAI.LinearAlgebra.Foundations.ComplexOrientation |
| 19 | import OAI.Topology.Category.TopPairOf |
| 20 | import Mathlib.Analysis.Complex.Basic |
| 21 | |
| 22 | /-! # Complex Class -/ |
| 23 | |
| 24 | namespace OAI.AlgebraicTopology.LocalHomology.ComplexClass.Singular |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | /-! |
| 29 | # The standard complex local class |
| 30 | |
| 31 | This file identifies `ℂ^p` with an ordered real coordinate space by listing the real and imaginary |
| 32 | part of each complex coordinate consecutively. It transports the explicit standard local cycle to |
| 33 | `H_{2p}(ℂ^p, ℂ^p ∖ {0}; R)`. Thus the complex orientation is constructed from complex coordinates |
| 34 | rather than supplied as data. |
| 35 | -/ |
| 36 | |
| 37 | open _root_.CategoryTheory |
| 38 | |
| 39 | variable (R : Type) [CommRing R] |
| 40 | |
| 41 | /-- For a natural number `p`, this homeomorphism `ℂ^p ≃ ℝ^{2p}` sends each complex coordinate to its |
| 42 | real and imaginary parts, ordered consecutively as `(Re z₀, Im z₀, Re z₁, Im z₁, …)`. This |
| 43 | ordering fixes the convention for complex orientation. -/ |
| 44 | def complexRealHomeomorph (p : ℕ) : (Fin p → ℂ) ≃ₜ (Fin (p * 2) → ℝ) := |
| 45 | (LinearAlgebra.Foundations.ComplexOrientation.Complex.piCoordCLE p).toHomeomorph |
| 46 | |
| 47 | /-- For a natural number `p`, splitting each complex coordinate into consecutive real and imaginary |
| 48 | parts gives this isomorphism of pairs `(ℂ^p, ℂ^p \ {0}) ≅ (ℝ^{2p}, ℝ^{2p} \ {0})`. -/ |
| 49 | def standardComplexRealPairIso (p : ℕ) : |
| 50 | FundamentalClass.Singular.puncturedPair ℂ p ≅ FundamentalClass.Singular.puncturedPair ℝ (p * 2) := |
| 51 | Topology.Category.TopPairOf.TopPair.isoOfSubset (complexRealHomeomorph p) fun _ => |
| 52 | not_congr (LinearAlgebra.Foundations.ComplexOrientation.Complex.piCoordCLE p).map_eq_zero_iff |
| 53 | |
| 54 | /-- Let `R` be a commutative ring and `p` a natural number. This isomorphism `H_{2p}(ℂ^p, ℂ^p \ {0}; |
| 55 | R) ≅ H_{2p}(ℝ^{2p}, ℝ^{2p} \ {0}; R)` is induced by the coordinate map ordering the real and |
| 56 | imaginary parts consecutively. -/ |
| 57 | def standardComplexRealRelativeHomologyIso (p : ℕ) : |
| 58 | -- `H_{2p}(ℂ^p, ℂ^p \ {0}; R) ≅ H_{2p}(ℝ^{2p}, ℝ^{2p} \ {0}; R)`. |
| 59 | Singular.Cohomology.RelativeHomology R (FundamentalClass.Singular.puncturedPair ℂ p) (p * 2) ≅ |
| 60 | Singular.Cohomology.RelativeHomology R (FundamentalClass.Singular.puncturedPair ℝ (p * 2)) (p * 2) := |
| 61 | (Singular.Cohomology.relativeHomologyFunctor R (p * 2)).mapIso (standardComplexRealPairIso p) |
| 62 | |
| 63 | /-- Let `R` be a commutative ring and `p` a natural number. This class in `H_{2p}(ℂ^p, ℂ^p \ {0}; |
| 64 | R)` is transported from the affine simplex in `ℝ^{2p}` with ordered vertices the standard basis |
| 65 | followed by `(-1, …, -1)`, with coefficient `1`. Transport uses consecutive real and imaginary |
| 66 | coordinates and fixes the normalization of the local complex class. -/ |
| 67 | def standardComplexLocalClass (p : ℕ) : |
| 68 | -- The complex-orientation generator of `H_{2p}(ℂ^p, ℂ^p \ {0}; R)`. |
| 69 | Singular.Cohomology.RelativeHomology R (FundamentalClass.Singular.puncturedPair ℂ p) (2 * p) := |
| 70 | (Nat.mul_comm p 2) ▸ |
| 71 | (standardComplexRealRelativeHomologyIso R p).inv.hom (FundamentalClass.Singular.standardLocalClass R (p * 2)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicTopology.LocalHomology.ComplexClass.Singular |