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