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 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | you may not use this file except in compliance with the License. |
| 5 | You may obtain a copy of the License at |
| 6 | https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | Unless required by applicable law or agreed to in writing, software |
| 8 | distributed under the License is distributed on an "AS IS" BASIS, |
| 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 10 | See the License for the specific language governing permissions and |
| 11 | limitations under the License. |
| 12 | This file has been modified. |
| 13 | -/ |
| 14 | import OAI.AlgebraicTopology.Singular.SheafChain |
| 15 | import OAI.AlgebraicTopology.Singular.RelativeHomotopyInvariance |
| 16 | |
| 17 | /-! # Sheaf Chain Stalk -/ |
| 18 | |
| 19 | namespace OAI.AlgebraicTopology.Singular.SheafChainStalk |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | /-! |
| 24 | # Stalks of the relative singular-chain presheaf |
| 25 | |
| 26 | The key geometric fact is that a singular simplex avoiding a point has compact image and, |
| 27 | in a Hausdorff space, therefore avoids an open neighborhood of that point. This allows the |
| 28 | local relative chain complex to be identified with the colimit over open neighborhoods. |
| 29 | -/ |
| 30 | |
| 31 | open _root_.CategoryTheory Limits _root_.TopologicalSpace |
| 32 | open scoped Simplicial |
| 33 | |
| 34 | universe u |
| 35 | |
| 36 | variable (R : Type u) [CommRing R] (X : TopCat.{u}) |
| 37 | |
| 38 | /-- Evaluating a chain complex in degree `n` and forgetting its scalar structure. -/ |
| 39 | def chainDegreeAdditiveFunctor (n : ℕ) : Cohomology.ChainCategory R ⥤ AddCommGrpCat.{u} := |
| 40 | HomologicalComplex.eval (ModuleCat.{u} R) (ComplexShape.down ℕ) n ⋙ |
| 41 | forget₂ (ModuleCat.{u} R) AddCommGrpCat.{u} |
| 42 | |
| 43 | instance chainDegreeAdditiveFunctor_preservesColimits (n : ℕ) : |
| 44 | PreservesColimitsOfSize.{u, u} (chainDegreeAdditiveFunctor R n) where |
| 45 | preservesColimitsOfShape {J} _ := by |
| 46 | unfold chainDegreeAdditiveFunctor |
| 47 | infer_instance |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicTopology.Singular.SheafChainStalk |