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 Mathlib.Algebra.Homology.DerivedCategory.ShortExact |
| 7 | |
| 8 | /-! # Mapping Cocone Short Exact -/ |
| 9 | |
| 10 | namespace OAI.Algebra.Homology.MappingCoconeShortExact.CochainComplex |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open _root_.CochainComplex |
| 15 | |
| 16 | /-! |
| 17 | # The canonical homotopy fiber comparison for a short exact sequence |
| 18 | |
| 19 | For `0 → A → B → C → 0` this file constructs the canonical quasi-isomorphism |
| 20 | `A → mappingCocone (B → C)`. Its normalization is the inclusion `A → B`. |
| 21 | The proof uses the explicit mapping-cone rotation homotopy equivalence and the |
| 22 | canonical quasi-isomorphism from the cone of `A → B` to `C`. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Pretriangulated |
| 26 | open _root_.HomologicalComplex |
| 27 | |
| 28 | variable {C : Type*} [Category* C] [Abelian C] |
| 29 | |
| 30 | namespace mappingCocone |
| 31 | open _root_.CochainComplex.mappingCocone |
| 32 | |
| 33 | variable (S : ShortComplex (CochainComplex C ℤ)) |
| 34 | |
| 35 | /-- Let `A → B → C` be a sequence of integer-indexed cochain complexes in an abelian category, with |
| 36 | zero composite. This is the canonical map `A[1] → Cone(B → C)` obtained from the first map `A → |
| 37 | B` and the zero component in `C`. When the sequence is short exact, the map is a |
| 38 | quasi-isomorphism. -/ |
| 39 | def shiftedLiftShortComplex : S.X₁⟦(1 : ℤ)⟧ ⟶ mappingCone S.g := |
| 40 | (mappingCone.rotateHomotopyEquiv S.f).hom ≫ |
| 41 | mappingCone.map (mappingCone.inr S.f) S.g (𝟙 _) |
| 42 | (mappingCone.descShortComplex S) (by simp) |
| 43 | |
| 44 | end mappingCocone |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.Algebra.Homology.MappingCoconeShortExact.CochainComplex |