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.Linear |
| 2 | |
| 3 | /-! # Ext -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Ext.Projective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality of Ext under isomorphism, used by the ProjectiveCohomology Euler construction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian |
| 12 | |
| 13 | universe u v w t |
| 14 | |
| 15 | /-- An isomorphism of coefficients induces a linear equivalence on Ext. -/ |
| 16 | def extRightIso (R : Type t) [CommRing R] |
| 17 | {C : Type u} [Category.{v} C] [Abelian C] [Linear R C] [HasExt.{w} C] |
| 18 | (X : C) {Y Z : C} (e : Y ≅ Z) (n : ℕ) : Ext X Y n ≃ₗ[R] Ext X Z n where |
| 19 | toFun x := x.comp (Ext.mk₀ e.hom) (Nat.add_zero n) |
| 20 | invFun x := x.comp (Ext.mk₀ e.inv) (Nat.add_zero n) |
| 21 | left_inv x := by |
| 22 | simp only [Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, |
| 23 | Iso.hom_inv_id, Ext.comp_mk₀_id] |
| 24 | right_inv x := by |
| 25 | simp only [Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, |
| 26 | Iso.inv_hom_id, Ext.comp_mk₀_id] |
| 27 | map_add' x y := by simp only [Ext.add_comp] |
| 28 | map_smul' r x := by simp only [Ext.smul_comp, RingHom.id_apply] |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.SheafCohomology.Ext.Projective |