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.AcyclicHomQuasiIso |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ResolutionExactImage |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.InjectiveHomologyExt |
| 4 | |
| 5 | /-! # Resolution Ext Calculation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionExtCalculation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual Hom complex of a proved acyclic resolution computes Ext |
| 12 | through its augmentation-preserving map to an injective resolution. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian Opposite _root_.HomologicalComplex |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [EnoughInjectives C] [HasExt.{w} C] |
| 19 | {R : Type v} [CommRing R] [Linear R C] |
| 20 | (A : C) {F : C} (D : ResolutionExactImage.Data F) |
| 21 | |
| 22 | def acyclicResolutionHomologyExtEquiv |
| 23 | (hExt : ∀ p q, Subsingleton (Ext A (D.complex.X p) (q + 1))) (n : ℕ) : |
| 24 | ((((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℕ)).obj D.complex).homology n ≃ₗ[R] |
| 25 | Ext A F n := by |
| 26 | let I := injectiveResolution F |
| 27 | let f := ResolutionExactImage.toInjective D I |
| 28 | have hf : QuasiIso f := ResolutionExactImage.toInjective_quasiIso D I |
| 29 | let H := ((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℕ) |
| 30 | have hH : QuasiIso (H.map f) := AcyclicHomQuasiIso.Ext.nonnegativeLinearHomComplex_map_quasiIso A f hExt |
| 31 | (fun p q => Ext.subsingleton_of_injective A (I.cocomplex.X p) q) |
| 32 | exact (isoOfQuasiIsoAt (H.map f) n).toLinearEquiv.trans |
| 33 | (InjectiveHomologyExt.homologyExtLinearEquiv (R := R) (X := A) I n) |
| 34 | |
| 35 | theorem acyclicResolution_ext_vanish |
| 36 | (hExt : ∀ p q, Subsingleton (Ext A (D.complex.X p) (q + 1))) |
| 37 | (hHom : ∀ q, ((((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℕ)).obj |
| 38 | D.complex).ExactAt (q + 1)) (q : ℕ) : Subsingleton (Ext A F (q + 1)) := by |
| 39 | have : Subsingleton |
| 40 | (((((linearCoyoneda R C).obj (op A)).mapHomologicalComplex (.up ℕ)).obj |
| 41 | D.complex).homology (q + 1)) := ModuleCat.subsingleton_of_isZero (hHom q).isZero_homology |
| 42 | exact (acyclicResolutionHomologyExtEquiv (R := R) A D hExt (q + 1)).symm.injective.subsingleton |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionExtCalculation |