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.DerivedCategory.Ext.Basic |
| 2 | |
| 3 | /-! # Ext Retraction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExtRetraction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Higher Ext vanishing passes to a genuine retraction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian Opposite |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 16 | |
| 17 | theorem ext_subsingleton_of_retraction (A : C) {F G : C} |
| 18 | (i : F ⟶ G) (r : G ⟶ F) (hir : i ≫ r = 𝟙 F) (n : ℕ) |
| 19 | [Subsingleton (Ext A G n)] : Subsingleton (Ext A F n) := by |
| 20 | let H := (extFunctor.{w} n : Cᵒᵖ ⥤ C ⥤ AddCommGrpCat.{w}).obj (op A) |
| 21 | have : Subsingleton (H.obj G) := inferInstanceAs (Subsingleton (Ext A G n)) |
| 22 | have h : H.map i ≫ H.map r = 𝟙 _ := by |
| 23 | rw [← H.map_comp, hir, H.map_id] |
| 24 | have hl : Function.LeftInverse (H.map r) (H.map i) := |
| 25 | fun a => ConcreteCategory.congr_hom h a |
| 26 | exact hl.injective.subsingleton |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Comparison.Betti.ExtRetraction |