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.ExactSequences |
| 2 | |
| 3 | /-! # Ext Vanishing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExtVanishing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual Ext vanishing gives dimension shifting and lifting of ordinary morphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 16 | (A : C) {S : ShortComplex C} (hS : S.ShortExact) |
| 17 | |
| 18 | include hS |
| 19 | |
| 20 | theorem right_ext_subsingleton (q : ℕ) |
| 21 | [Subsingleton (Ext A S.X₂ q)] [Subsingleton (Ext A S.X₁ (q + 1))] : |
| 22 | Subsingleton (Ext A S.X₃ q) := by |
| 23 | refine subsingleton_of_forall_eq 0 fun x => ?_ |
| 24 | obtain ⟨y, hy⟩ := Ext.covariant_sequence_exact₃ A hS x rfl (Subsingleton.elim _ _) |
| 25 | rw [Subsingleton.elim y 0, Ext.zero_comp] at hy |
| 26 | exact hy.symm |
| 27 | |
| 28 | theorem hom_lift_of_ext_one [Subsingleton (Ext A S.X₁ 1)] (f : A ⟶ S.X₃) : |
| 29 | ∃ g : A ⟶ S.X₂, g ≫ S.g = f := by |
| 30 | obtain ⟨y, hy⟩ := Ext.covariant_sequence_exact₃ A hS (Ext.mk₀ f) |
| 31 | (n₁ := 1) rfl (Subsingleton.elim _ _) |
| 32 | refine ⟨Ext.homEquiv₀ y, ?_⟩ |
| 33 | apply (Ext.mk₀_bijective A S.X₃).injective |
| 34 | rw [← Ext.mk₀_comp_mk₀, Ext.mk₀_homEquiv₀_apply] |
| 35 | exact hy |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Comparison.Betti.ExtVanishing |