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.Opposite |
| 2 | import Mathlib.Algebra.Homology.Single |
| 3 | import Mathlib.CategoryTheory.Abelian.Opposite |
| 4 | |
| 5 | /-! # Chain Resolution Opposite -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ChainResolutionOpposite |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The opposite of an actual augmented chain resolution, with its original augmentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject Opposite |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | |
| 19 | def singleComponentIso (Z : C) (i : ℕ) : ((CochainComplex.single₀ Cᵒᵖ).obj (op Z)).X i ≅ |
| 20 | (((ChainComplex.single₀ C).obj Z).op).X i := by |
| 21 | cases i with |
| 22 | | zero => exact Iso.refl (op Z) |
| 23 | | succ i => |
| 24 | let hs := HomologicalComplex.isZero_single_obj_X (.up ℕ) 0 (op Z) |
| 25 | (i + 1) (Nat.succ_ne_zero i) |
| 26 | let ht := (HomologicalComplex.isZero_single_obj_X (.down ℕ) 0 Z |
| 27 | (i + 1) (Nat.succ_ne_zero i)).op |
| 28 | exact hs.iso ht |
| 29 | |
| 30 | def singleIso (Z : C) : (CochainComplex.single₀ Cᵒᵖ).obj (op Z) ≅ ((ChainComplex.single₀ C).obj Z).op := |
| 31 | HomologicalComplex.Hom.isoOfComponents (singleComponentIso Z) (by |
| 32 | intro i j _ |
| 33 | change (singleComponentIso Z i).hom ≫ 0 = 0 ≫ (singleComponentIso Z j).hom |
| 34 | simp) |
| 35 | |
| 36 | variable (P : ChainComplex C ℕ) {Z : C} (ε : P ⟶ (ChainComplex.single₀ C).obj Z) |
| 37 | |
| 38 | def augmentation : (CochainComplex.single₀ Cᵒᵖ).obj (op Z) ⟶ P.op := |
| 39 | (singleIso Z).hom ≫ (HomologicalComplex.opFunctor C (.down ℕ)).map ε.op |
| 40 | |
| 41 | theorem augmentation_zero : (augmentation P ε).f 0 = (ε.f 0).op := by |
| 42 | change 𝟙 _ ≫ (ε.f 0).op = (ε.f 0).op |
| 43 | exact Category.id_comp _ |
| 44 | |
| 45 | instance augmentation_quasiIso [QuasiIso ε] : QuasiIso (augmentation P ε) := by |
| 46 | let h : QuasiIso ((HomologicalComplex.opFunctor C (.down ℕ)).map ε.op) := |
| 47 | (HomologicalComplex.quasiIso_opFunctor_map_iff ε).mpr inferInstance |
| 48 | let : IsIso (singleIso Z).hom := (singleIso Z).isIso_hom |
| 49 | let he : QuasiIso (singleIso Z).hom := quasiIso_of_isIso _ |
| 50 | exact quasiIso_comp _ _ (hφ := he) (hφ' := h) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ChainResolutionOpposite |