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.Comparison.Betti.ResolutionCocycleClass |
| 2 | |
| 3 | /-! # Ext Cocycle Normalization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExtCocycleNormalization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The existing Ext constructor is the derived class of its actual cocycle. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 12 | |
| 13 | universe w u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] [HasExt.{w} C] |
| 16 | {X Y : C} (I : InjectiveResolution Y) {n : ℕ} |
| 17 | |
| 18 | theorem extMk_hom_resolutionCocycleHom (f : X ⟶ I.cocomplex.X n) |
| 19 | (hf : f ≫ I.cocomplex.d n (n + 1) = 0) : |
| 20 | (I.extMk f (n + 1) rfl hf).hom = |
| 21 | ResolutionCocycleClass.Ext.resolutionCocycleHom I.ι' (f ≫ (I.cochainComplexXIso n n rfl).inv) |
| 22 | (by |
| 23 | rw [I.cochainComplex_d (n : ℤ) ((n : ℤ) + 1) n (n + 1) rfl (by omega)] |
| 24 | rw [Category.assoc, Iso.inv_hom_id_assoc, ← Category.assoc, hf, zero_comp]) := by |
| 25 | rw [I.extMk_hom] |
| 26 | simp only [DerivedCategory.singleFunctorIsoCompQ, Iso.refl_hom, Iso.refl_inv, NatTrans.id_app, |
| 27 | ShiftedHom.comp_mk₀] |
| 28 | erw [ShiftedHom.mk₀_id_comp, Category.comp_id] |
| 29 | rfl |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.Comparison.Betti.ExtCocycleNormalization |