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 | import Mathlib.Algebra.Homology.ShortComplex.Exact |
| 2 | |
| 3 | /-! # Homology Specified Cycles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HomologySpecifiedCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The homology object can be computed using any specified kernel of the outgoing differential and the cokernel of the incoming differential lifted to that kernel. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 11 | universe u v |
| 12 | variable {V : Type u} [Category.{v} V] [Abelian V] |
| 13 | |
| 14 | def homologySpecifiedCyclesIso (S : ShortComplex V) |
| 15 | {Z : V} (i : Z ⟶ S.X₂) (wi : i ≫ S.g = 0) |
| 16 | (hi : IsLimit (KernelFork.ofι i wi)) (a : S.X₁ ⟶ Z) (ha : a ≫ i = S.f) : |
| 17 | S.homology ≅ cokernel a := by |
| 18 | have hf : hi.lift (KernelFork.ofι S.f S.zero) = a := by |
| 19 | apply Fork.IsLimit.hom_ext hi |
| 20 | exact (Fork.IsLimit.lift_ι hi).trans ha.symm |
| 21 | subst a |
| 22 | let h : S.LeftHomologyData := { |
| 23 | K := Z |
| 24 | H := cokernel (hi.lift (KernelFork.ofι S.f S.zero)) |
| 25 | i := i |
| 26 | π := cokernel.π (hi.lift (KernelFork.ofι S.f S.zero)) |
| 27 | wi := wi |
| 28 | hi := hi |
| 29 | wπ := cokernel.condition _ |
| 30 | hπ := cokernelIsCokernel _ } |
| 31 | exact h.homologyIso |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HomologySpecifiedCycles |