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.Crystalline.Cohomology.HodgeFiltrationD |
| 2 | import Mathlib.CategoryTheory.Abelian.Injective.Ext |
| 3 | import Mathlib.Algebra.Homology.CochainComplexPlus |
| 4 | import Mathlib.Algebra.Category.Grp.Zero |
| 5 | |
| 6 | /-! # Truncated Ext -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TruncatedExt.TruncatedExtVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Positive coefficient Ext vanishing survives the actual Hodge truncations and extension to integer degrees. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Abelian Limits ZeroObject Opposite |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 19 | (A : C) (K : CochainComplex C ℕ) |
| 20 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K.X p) (q + 1))) |
| 21 | |
| 22 | include hK in |
| 23 | theorem brutal (r : ℤ) (p q : ℕ) : |
| 24 | Subsingleton (Ext.{w} A ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).X p) (q + 1)) := by |
| 25 | let H := (extFunctor.{w} (q + 1) : Cᵒᵖ ⥤ C ⥤ AddCommGrpCat.{w}).obj (op A) |
| 26 | have : H.Additive := inferInstanceAs ((extFunctorObj A (q + 1)).Additive) |
| 27 | change Subsingleton (H.obj (if r ≤ (p : ℤ) then K.X p else 0)) |
| 28 | split_ifs with hp |
| 29 | · exact hK p q |
| 30 | · exact AddCommGrpCat.subsingleton_of_isZero (H.map_isZero (isZero_zero C)) |
| 31 | |
| 32 | include hK in |
| 33 | theorem extend (p : ℤ) (q : ℕ) : |
| 34 | Subsingleton (Ext.{w} A ((K.extend ComplexShape.embeddingUpNat).X p) (q + 1)) := by |
| 35 | let H := (extFunctor.{w} (q + 1) : Cᵒᵖ ⥤ C ⥤ AddCommGrpCat.{w}).obj (op A) |
| 36 | have : H.Additive := inferInstanceAs ((extFunctorObj A (q + 1)).Additive) |
| 37 | cases p with |
| 38 | | ofNat n => |
| 39 | have : Subsingleton (H.obj (K.X n)) := hK n q |
| 40 | let e := H.mapIso (K.extendXIso ComplexShape.embeddingUpNat (i := n) rfl) |
| 41 | exact (ConcreteCategory.bijective_of_isIso e.hom).injective.subsingleton |
| 42 | | negSucc n => |
| 43 | exact AddCommGrpCat.subsingleton_of_isZero (H.map_isZero |
| 44 | (CochainComplex.isZero_of_isStrictlyGE (K.extend ComplexShape.embeddingUpNat) |
| 45 | 0 (Int.negSucc n) (by omega))) |
| 46 | |
| 47 | include hK in |
| 48 | theorem brutal_extend (r p : ℤ) (q : ℕ) : |
| 49 | Subsingleton (Ext.{w} A (((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).extend |
| 50 | ComplexShape.embeddingUpNat).X p) (q + 1)) := |
| 51 | TruncatedExtVanishing.extend A (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r) (brutal A K hK r) p q |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TruncatedExt.TruncatedExtVanishing |