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.HomQuasiIso |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtendedAcyclicCocycles |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.FlasqueNatQuasiIso |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.LinearHomForget |
| 5 | |
| 6 | /-! # Acyclic Hom Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AcyclicHomQuasiIso.Ext |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Hom preserves quasi-isomorphisms between actual nonnegative |
| 13 | complexes of Ext-acyclic objects, with complex-linear coefficients as well. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian Opposite _root_.HomologicalComplex |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 20 | (A : C) {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 21 | |
| 22 | theorem nonnegativeHomComplex_map_quasiIso [QuasiIso f] |
| 23 | (hK : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) |
| 24 | (hL : ∀ p q, Subsingleton (Ext A (L.X p) (q + 1))) : |
| 25 | QuasiIso (((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℕ)).map f) := by |
| 26 | let e := ComplexShape.embeddingUpIntGE 0 |
| 27 | let H := preadditiveCoyoneda.obj (op A) |
| 28 | have hfe : QuasiIso (HomologicalComplex.extendMap f e) := |
| 29 | (HomologicalComplex.quasiIso_extendMap_iff f e).mpr inferInstance |
| 30 | have he := HomQuasiIso.Ext.integerHomComplex_map_quasiIso A (HomologicalComplex.extendMap f e) 0 |
| 31 | (ExtendedAcyclicCocycles.Ext.extended_term_ext_vanish A K hK) (ExtendedAcyclicCocycles.Ext.extended_term_ext_vanish A L hL) |
| 32 | let a := Complex.Extension.mapExtendIso H e K |
| 33 | let b := Complex.Extension.mapExtendIso H e L |
| 34 | let ei : Arrow.mk ((H.mapHomologicalComplex (.up ℤ)).map (HomologicalComplex.extendMap f e)) ≅ |
| 35 | Arrow.mk (HomologicalComplex.extendMap ((H.mapHomologicalComplex (.up ℕ)).map f) e) := |
| 36 | Arrow.isoMk a b (Complex.Extension.mapExtendIso_naturality H e f).symm |
| 37 | apply (HomologicalComplex.quasiIso_extendMap_iff _ e).mp |
| 38 | exact (quasiIso_iff_of_arrow_mk_iso _ _ ei).mp he |
| 39 | |
| 40 | theorem nonnegativeLinearHomComplex_map_quasiIso {R : Type v} [CommRing R] [Linear R C] |
| 41 | [QuasiIso f] (hK : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) |
| 42 | (hL : ∀ p q, Subsingleton (Ext A (L.X p) (q + 1))) : |
| 43 | QuasiIso ((((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℕ)).map f) := by |
| 44 | apply (HomologicalComplex.quasiIso_map_iff_of_preservesHomology _ |
| 45 | (forget₂ (ModuleCat.{v} R) AddCommGrpCat.{v})).mp |
| 46 | exact nonnegativeHomComplex_map_quasiIso A f hK hL |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Comparison.Betti.AcyclicHomQuasiIso.Ext |