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.SingleHomology |
| 2 | import Mathlib.Algebra.Homology.QuasiIso |
| 3 | |
| 4 | /-! # Augmented Complex Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AugmentedComplexQuasiIso.Ext |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An exact augmented nonnegative complex resolves its actual augmentation object. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | |
| 14 | variable {C : Type*} [Category* C] [Abelian C] {A : C} |
| 15 | (K : CochainComplex C ℕ) (e : A ⟶ K.X 0) (w : e ≫ K.d 0 1 = 0) |
| 16 | |
| 17 | def nonnegativeAugmentation : (CochainComplex.single₀ C).obj A ⟶ K := |
| 18 | (CochainComplex.fromSingle₀Equiv K A).symm ⟨e, w⟩ |
| 19 | |
| 20 | theorem nonnegativeAugmentation_quasiIso [Mono e] |
| 21 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 22 | (hpos : ∀ n, K.ExactAt (n + 1)) : QuasiIso (nonnegativeAugmentation K e w) := by |
| 23 | constructor |
| 24 | intro n |
| 25 | cases n with |
| 26 | | zero => |
| 27 | rw [CochainComplex.quasiIsoAt₀_iff] |
| 28 | rw [ShortComplex.quasiIso_iff_of_zeros _ (by simp; rfl) (by simp; rfl) (by simp; rfl)] |
| 29 | change (ShortComplex.mk ((nonnegativeAugmentation K e w).f 0) (K.d 0 1) _).Exact ∧ |
| 30 | Mono ((nonnegativeAugmentation K e w).f 0) |
| 31 | simpa only [nonnegativeAugmentation, CochainComplex.fromSingle₀Equiv_symm_apply_f_zero, |
| 32 | CochainComplex.single₀_obj_zero] |
| 33 | using And.intro haug (inferInstance : Mono e) |
| 34 | | succ n => |
| 35 | exact (quasiIsoAt_iff_exactAt (nonnegativeAugmentation K e w) (n + 1) |
| 36 | (CochainComplex.exactAt_succ_single_obj A n)).mpr (hpos n) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Comparison.Betti.AugmentedComplexQuasiIso.Ext |