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 OAI.Algebra.Homology.Notation |
| 7 | import OAI.Algebra.Homology.DerivedCategoryMapOf |
| 8 | |
| 9 | /-! # Cocone Short Exact Naturality -/ |
| 10 | |
| 11 | namespace OAI.Algebra.Homology.CoconeShortExactNaturality.CochainComplex.mappingCocone |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CochainComplex |
| 16 | |
| 17 | /-! # Naturality of the canonical short-exact-sequence cone comparison -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | |
| 21 | open _root_.CochainComplex.mappingCocone |
| 22 | |
| 23 | variable {C : Type*} [Category* C] [Abelian C] |
| 24 | {S T : ShortComplex (CochainComplex C ℤ)} |
| 25 | |
| 26 | set_option backward.isDefEq.respectTransparency false in |
| 27 | /-- Let `0 → A → B → C → 0` be a short exact sequence of integer-indexed cochain complexes in an |
| 28 | abelian category. For degrees `n` and `m = n+1`, the canonical map `A[1] → Cone(B → C)` induces |
| 29 | this isomorphism `H^m(A) ≅ H^n(Cone(B → C))`. -/ |
| 30 | def shortExactHomologyIsoCone (S : ShortComplex (CochainComplex C ℤ)) |
| 31 | (hS : S.ShortExact) (n n' : ℤ) (h : 1 + n = n') : |
| 32 | S.X₁.homology n' ≅ (mappingCone S.g).homology n := |
| 33 | letI : QuasiIso (MappingCoconeShortExact.CochainComplex.mappingCocone.shiftedLiftShortComplex S) := DerivedCategoryMapOf.CochainComplex.mappingCocone.quasiIso_shiftedLiftShortComplex S hS |
| 34 | letI : IsIso (HomologicalComplex.homologyMap (MappingCoconeShortExact.CochainComplex.mappingCocone.shiftedLiftShortComplex S) n) := |
| 35 | (quasiIsoAt_iff_isIso_homologyMap (MappingCoconeShortExact.CochainComplex.mappingCocone.shiftedLiftShortComplex S) n).mp inferInstance |
| 36 | (((HomologicalComplex.homologyFunctor C ℤᵘᵖ 0).shiftIso 1 n n' h).app S.X₁).symm ≪≫ |
| 37 | asIso (HomologicalComplex.homologyMap (MappingCoconeShortExact.CochainComplex.mappingCocone.shiftedLiftShortComplex S) n) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.Algebra.Homology.CoconeShortExactNaturality.CochainComplex.mappingCocone |