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.SheafCohomology.ExtAdjunction |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.ExtLeft |
| 3 | |
| 4 | /-! # Ext Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.ExtNaturality.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Naturality and additive change of universe for the actual Ext comparisons. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w w' u' v' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 17 | |
| 18 | @[simp] theorem extLeftIso_apply {X Y : C} (e : X ≅ Y) (Z : C) (n : ℕ) |
| 19 | (x : Ext X Z n) : |
| 20 | ExtLeft.Projective.extLeftIso e Z n x = (Ext.mk₀ e.inv).comp x (Nat.zero_add n) := rfl |
| 21 | |
| 22 | theorem extLeftIso_naturality {X Y Z Z' : C} (e : X ≅ Y) (f : Z ⟶ Z') |
| 23 | (n : ℕ) (x : Ext X Z n) : |
| 24 | ExtLeft.Projective.extLeftIso e Z' n (x.comp (Ext.mk₀ f) (Nat.add_zero n)) = |
| 25 | (ExtLeft.Projective.extLeftIso e Z n x).comp (Ext.mk₀ f) (Nat.add_zero n) := by |
| 26 | simp only [extLeftIso_apply] |
| 27 | exact (Ext.comp_assoc_of_third_deg_zero _ _ _ _).symm |
| 28 | |
| 29 | variable {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{w'} D] |
| 30 | variable (G : D ⥤ C) [G.Additive] [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 31 | |
| 32 | theorem extCompare_naturality (X : C) (X₀ : D) (a : X ⟶ G.obj X₀) |
| 33 | {Y Z : D} (f : Y ⟶ Z) (n : ℕ) (x : Ext X₀ Y n) : |
| 34 | ExtAdjunction.Projective.extCompare G X X₀ a Z n (x.comp (Ext.mk₀ f) (Nat.add_zero n)) = |
| 35 | (ExtAdjunction.Projective.extCompare G X X₀ a Y n x).comp (Ext.mk₀ (G.map f)) (Nat.add_zero n) := by |
| 36 | simp only [ExtAdjunction.Projective.extCompare_apply, Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀] |
| 37 | exact (Ext.comp_assoc_of_third_deg_zero _ _ _ _).symm |
| 38 | |
| 39 | /-- Universe resizing respects the abelian-group operation on Ext. -/ |
| 40 | def extChangeUniverseAddEquiv [HasExt.{w'} C] (X Y : C) (n : ℕ) : |
| 41 | Ext.{w} X Y n ≃+ Ext.{w'} X Y n where |
| 42 | toEquiv := Ext.chgUniv |
| 43 | map_add' x y := by |
| 44 | let := HasDerivedCategory.standard C |
| 45 | apply Ext.homEquiv.injective |
| 46 | change Ext.homEquiv (Ext.chgUniv (x + y)) = |
| 47 | Ext.homEquiv (Ext.chgUniv x + Ext.chgUniv y) |
| 48 | rw [Ext.homEquiv_chgUniv] |
| 49 | change (x + y).hom = (Ext.chgUniv x + Ext.chgUniv y).hom |
| 50 | rw [Ext.add_hom, Ext.add_hom] |
| 51 | change x.hom + y.hom = Ext.homEquiv (Ext.chgUniv x) + Ext.homEquiv (Ext.chgUniv y) |
| 52 | rw [Ext.homEquiv_chgUniv, Ext.homEquiv_chgUniv] |
| 53 | |
| 54 | theorem extChangeUniverse_comp_mk₀ [HasExt.{w'} C] {X Y Z : C} |
| 55 | (n : ℕ) (x : Ext.{w} X Y n) (f : Y ⟶ Z) : |
| 56 | extChangeUniverseAddEquiv.{u, v, w, w'} X Z n (x.comp (Ext.mk₀ f) (Nat.add_zero n)) = |
| 57 | (extChangeUniverseAddEquiv.{u, v, w, w'} X Y n x).comp (Ext.mk₀ f) (Nat.add_zero n) := by |
| 58 | let := HasDerivedCategory.standard C |
| 59 | apply Ext.homEquiv.injective |
| 60 | simp only [extChangeUniverseAddEquiv, AddEquiv.coe_mk, Ext.homEquiv_chgUniv, |
| 61 | Ext.comp_hom, Ext.mk₀_hom] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.SheafCohomology.ExtNaturality.Projective |