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.EnoughInjectives |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.ExactSequences |
| 3 | |
| 4 | /-! # Ext One Lifting -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ExtOneLifting.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A lifting criterion for vanishing of first Ext groups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.Abelian |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | [EnoughInjectives C] [HasExt.{w} C] (P F : C) |
| 19 | |
| 20 | theorem ext_one_eq_zero_of_hom_lifting |
| 21 | (hlift : ∀ (S : ShortComplex C) (_hS : S.ShortExact) (_hF : S.X₁ = F) |
| 22 | (q : P ⟶ S.X₃), ∃ t : P ⟶ S.X₂, t ≫ S.g = q) |
| 23 | (e : Ext P F 1) : e = 0 := by |
| 24 | let S := ShortComplex.mk (Injective.ι F) (cokernel.π (Injective.ι F)) |
| 25 | (cokernel.condition (Injective.ι F)) |
| 26 | have hS : S.ShortExact := |
| 27 | { exact := ShortComplex.exact_of_g_is_cokernel _ (cokernelIsCokernel S.f) } |
| 28 | obtain ⟨q, hq⟩ := Ext.covariant_sequence_exact₁ P hS e |
| 29 | (Ext.eq_zero_of_injective _) (rfl : 0 + 1 = 1) |
| 30 | obtain ⟨q', rfl⟩ := (Ext.mk₀_bijective _ _).surjective q |
| 31 | obtain ⟨t, ht⟩ := hlift S hS rfl q' |
| 32 | rw [← hq, ← ht, ← Ext.mk₀_comp_mk₀_assoc, hS.comp_extClass, Ext.comp_zero] |
| 33 | |
| 34 | omit [EnoughInjectives C] in |
| 35 | theorem hom_lifting_of_ext_one_subsingleton [Subsingleton (Ext P F 1)] |
| 36 | (S : ShortComplex C) (hS : S.ShortExact) (hF : S.X₁ = F) |
| 37 | (q : P ⟶ S.X₃) : ∃ t : P ⟶ S.X₂, t ≫ S.g = q := by |
| 38 | subst F |
| 39 | obtain ⟨t, ht⟩ := Ext.covariant_sequence_exact₃ P hS (Ext.mk₀ q) |
| 40 | (rfl : 0 + 1 = 1) (Subsingleton.elim _ 0) |
| 41 | obtain ⟨t', rfl⟩ := (Ext.mk₀_bijective _ _).surjective t |
| 42 | refine ⟨t', (Ext.mk₀_bijective _ _).injective ?_⟩ |
| 43 | exact (Ext.mk₀_comp_mk₀ t' S.g).symm.trans ht |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ExtOneLifting.Construction |