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 OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomComplex |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.RestrictionAcyclicity |
| 3 | import Mathlib.Algebra.Homology.Embedding.CochainComplex |
| 4 | |
| 5 | /-! # Integer Acyclic Hom Complex -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Hom preserves acyclic bounded-below integer complexes of Ext-acyclic objects. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian Opposite |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 18 | (A : C) (K : CochainComplex C ℤ) |
| 19 | |
| 20 | def integerHomComplex : CochainComplex AddCommGrpCat.{v} ℤ := |
| 21 | ((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).obj K |
| 22 | |
| 23 | theorem integerHomComplex_acyclic (n : ℤ) [K.IsStrictlyGE n] (hK : K.Acyclic) |
| 24 | (hExt : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) : |
| 25 | (integerHomComplex A K).Acyclic := by |
| 26 | let e := ComplexShape.embeddingUpIntGE n |
| 27 | let J := K.restriction e |
| 28 | let L := integerHomComplex A K |
| 29 | have hJ : J.Acyclic := RestrictionAcyclicity.Ext.supportedRestriction_acyclic K e hK |
| 30 | have hJExt (p q : ℕ) : Subsingleton (Ext A (J.X p) (q + 1)) := hExt (e.f p) q |
| 31 | have hm := Betti.Acyclic.HomComplex.Ext.nonnegativeHomComplex_acyclic A J hJ hJExt |
| 32 | have hL : (L.restriction e).Acyclic := hm |
| 33 | have : L.IsStrictlySupported e := |
| 34 | inferInstanceAs |
| 35 | ((((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).obj K).IsStrictlySupported |
| 36 | (ComplexShape.embeddingUpIntGE n)) |
| 37 | exact RestrictionAcyclicity.Ext.acyclic_of_supportedRestriction L e hL |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext |