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 |
| 2 | |
| 3 | /-! # Acyclicity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.Acyclicity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: transferring Ext vanishing between actual resolution Hom complexes |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u u' v v' w w' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 18 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{w'} D] |
| 19 | {A M : C} {B N : D} (I : InjectiveResolution M) (J : InjectiveResolution N) |
| 20 | (e : ∀ n, (A ⟶ I.cocomplex.X n) ≃+ (B ⟶ J.cocomplex.X n)) |
| 21 | (he : ∀ n (a : A ⟶ I.cocomplex.X n), |
| 22 | e (n + 1) (a ≫ I.cocomplex.d n (n + 1)) = e n a ≫ J.cocomplex.d n (n + 1)) |
| 23 | |
| 24 | include he in |
| 25 | theorem subsingleton (n : ℕ) [Subsingleton (Abelian.Ext.{w'} B N (n + 1))] : |
| 26 | Subsingleton (Abelian.Ext.{w} A M (n + 1)) := by |
| 27 | apply subsingleton_of_forall_eq 0 |
| 28 | intro x |
| 29 | obtain ⟨a, ha, rfl⟩ := I.extMk_surjective x (n + 2) rfl |
| 30 | have ha' : e (n + 1) a ≫ J.cocomplex.d (n + 1) (n + 2) = 0 := by |
| 31 | rw [← he, ha, AddEquiv.map_zero] |
| 32 | obtain ⟨b, hb⟩ := (J.extMk_eq_zero_iff (e (n + 1) a) (n + 2) rfl ha' n rfl).mp |
| 33 | (Subsingleton.elim _ _) |
| 34 | apply (I.extMk_eq_zero_iff a (n + 2) rfl ha n rfl).mpr |
| 35 | refine ⟨(e n).symm b, ?_⟩ |
| 36 | apply (e (n + 1)).injective |
| 37 | rw [he, AddEquiv.apply_symm_apply, hb] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.Acyclicity |