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.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceModule |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero |
| 3 | |
| 4 | /-! # Source Zero -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree zero of the actual acyclic-resolution comparison is natural in the first argument of Ext. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open Abelian |
| 15 | |
| 16 | universe u v z t |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 19 | (R : Type t) [CommRing R] [Linear R C] {X X' : C} (f : X' ⟶ X) |
| 20 | (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 21 | [QuasiIso ι] |
| 22 | |
| 23 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero.Comparison.augmentation R X K ι |
| 24 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero.Comparison.augmentation R X' K ι |
| 25 | local notation "φ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceModule.complexMap R f K |
| 26 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceModule.component R f 0 Z |
| 27 | |
| 28 | omit [QuasiIso ι] in |
| 29 | theorem augmentation : a ≫ φ = (CochainComplex.single₀ _).map η ≫ b := by |
| 30 | apply HomologicalComplex.from_single_hom_ext |
| 31 | change (a).f 0 ≫ (φ).f 0 = ((CochainComplex.single₀ _).map η).f 0 ≫ (b).f 0 |
| 32 | rw [ResolutionZero.Comparison.augmentation_zero, |
| 33 | ResolutionZero.Comparison.augmentation_zero, CochainComplex.single₀_map_f_zero] |
| 34 | exact Ext.SourceModule.naturality R f 0 (ι.f 0) |
| 35 | |
| 36 | theorem homology : HomologicalComplex.homologyMap φ 0 ≫ |
| 37 | (ResolutionZero.Comparison.homologyIso R X' K ι).hom = |
| 38 | (ResolutionZero.Comparison.homologyIso R X K ι).hom ≫ η := by |
| 39 | have h : HomologicalComplex.homologyMap a 0 ≫ HomologicalComplex.homologyMap φ 0 = |
| 40 | HomologicalComplex.homologyMap ((CochainComplex.single₀ _).map η) 0 ≫ |
| 41 | HomologicalComplex.homologyMap b 0 := |
| 42 | (HomologicalComplex.homologyMap_comp a φ 0).symm.trans |
| 43 | ((congrArg (fun g => HomologicalComplex.homologyMap g 0) (augmentation R f K ι)).trans |
| 44 | (HomologicalComplex.homologyMap_comp _ _ 0)) |
| 45 | apply (cancel_epi (HomologicalComplex.homologyMap a 0)).mp |
| 46 | change HomologicalComplex.homologyMap a 0 ≫ |
| 47 | (HomologicalComplex.homologyMap φ 0 ≫ ((isoOfQuasiIsoAt b 0).inv ≫ |
| 48 | (HomologicalComplex.singleObjHomologySelfIso (ComplexShape.up ℕ) 0 |
| 49 | ((Ext.ModuleFunctor.functor R X' 0).obj Z)).hom)) = |
| 50 | HomologicalComplex.homologyMap a 0 ≫ (((isoOfQuasiIsoAt a 0).inv ≫ |
| 51 | (HomologicalComplex.singleObjHomologySelfIso (ComplexShape.up ℕ) 0 |
| 52 | ((Ext.ModuleFunctor.functor R X 0).obj Z)).hom) ≫ η) |
| 53 | rw [← Category.assoc, h] |
| 54 | simp only [Category.assoc, isoOfQuasiIsoAt_hom_inv_id_assoc] |
| 55 | exact HomologicalComplex.singleObjHomologySelfIso_hom_naturality (ComplexShape.up ℕ) 0 η |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceZero |