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.ResolutionHomologyData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ExactFunctorModule |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ShortCyclesExactFunctor |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.MappedSequenceConnecting |
| 5 | |
| 6 | /-! # Exact Functor Homology -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorHomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual acyclic-resolution homology data commute with exact functors and cycle transport. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | open Abelian |
| 17 | |
| 18 | universe u v u' v' z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 21 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 22 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 23 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] (X : C) |
| 24 | {T : ShortComplex C} {U : ShortComplex D} (φ : T.map F ⟶ U) |
| 25 | |
| 26 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R X 0 |
| 27 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 0 |
| 28 | |
| 29 | def shortMap : T.map G ⟶ U.map H := |
| 30 | IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 T ≫ (H).mapShortComplex.map φ |
| 31 | |
| 32 | theorem shortMap_id : shortMap F R X (𝟙 (T.map F)) = IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 T := by |
| 33 | exact (congrArg (fun h => IntegralComparison.Ext.ExactFunctorModule.shortMap F R X 0 T ≫ h) |
| 34 | ((H).mapShortComplex.map_id (T.map F))).trans (Category.comp_id _) |
| 35 | |
| 36 | variable {A : C} {B : D} (a : A ⟶ T.X₁) (b : B ⟶ U.X₁) |
| 37 | (ha : a ≫ T.toCycles = 0) (hb : b ≫ U.toCycles = 0) |
| 38 | (hT : (ShortComplex.mk a T.toCycles ha).ShortExact) |
| 39 | (hU : (ShortComplex.mk b U.toCycles hb).ShortExact) |
| 40 | [Subsingleton (Ext.{z} X T.X₁ 1)] [Subsingleton (Ext.{z} (F.obj X) U.X₁ 1)] |
| 41 | (g : F.obj A ⟶ B) (hg : g ≫ b = F.map a ≫ φ.τ₁) |
| 42 | |
| 43 | local notation "dT" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData.data R X T a ha hT |
| 44 | local notation "dU" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData.data R (F.obj X) U b hb hU |
| 45 | local notation "c" => OAI.NumberTheory.PadicHodge.IntegralComparison.ShortCyclesExactFunctor.cycleMap F φ |
| 46 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ExactFunctorModule.component F R X 0 |
| 47 | |
| 48 | omit [Subsingleton (Ext.{z} X T.X₁ 1)] [Subsingleton (Ext.{z} (F.obj X) U.X₁ 1)] in |
| 49 | private theorem commi : (η T.cycles ≫ (H).map c) ≫ (H).map U.iCycles = |
| 50 | (G).map T.iCycles ≫ (η T.X₂ ≫ (H).map φ.τ₂) := by |
| 51 | calc |
| 52 | _ = η T.cycles ≫ (H).map (c ≫ U.iCycles) := by rw [Category.assoc, ← (H).map_comp] |
| 53 | _ = η T.cycles ≫ (H).map (F.map T.iCycles ≫ φ.τ₂) := by rw [ShortCyclesExactFunctor.cycleMap_i] |
| 54 | _ = (η T.cycles ≫ (H).map (F.map T.iCycles)) ≫ (H).map φ.τ₂ := |
| 55 | (congrArg (fun h => η T.cycles ≫ h) ((H).map_comp (F.map T.iCycles) φ.τ₂)).trans |
| 56 | (Category.assoc _ _ _).symm |
| 57 | _ = _ := by rw [← IntegralComparison.Ext.ExactFunctorModule.naturality, Category.assoc] |
| 58 | |
| 59 | omit [Subsingleton (Ext.{z} X T.X₁ 1)] [Subsingleton (Ext.{z} (F.obj X) U.X₁ 1)] in |
| 60 | private theorem commf : (G).map T.toCycles ≫ (η T.cycles ≫ (H).map c) = |
| 61 | (η T.X₁ ≫ (H).map φ.τ₁) ≫ (H).map U.toCycles := by |
| 62 | calc |
| 63 | _ = ((G).map T.toCycles ≫ η T.cycles) ≫ (H).map c := (Category.assoc _ _ _).symm |
| 64 | _ = (η T.X₁ ≫ (H).map (F.map T.toCycles)) ≫ (H).map c := by rw [IntegralComparison.Ext.ExactFunctorModule.naturality] |
| 65 | _ = η T.X₁ ≫ (H).map (F.map T.toCycles ≫ c) := by rw [Category.assoc, ← (H).map_comp] |
| 66 | _ = η T.X₁ ≫ (H).map (φ.τ₁ ≫ U.toCycles) := |
| 67 | congrArg (fun h => η T.X₁ ≫ (H).map h) (ShortCyclesExactFunctor.toCycles F φ) |
| 68 | _ = _ := (congrArg (fun h => η T.X₁ ≫ h) ((H).map_comp φ.τ₁ U.toCycles)).trans |
| 69 | (Category.assoc _ _ _).symm |
| 70 | |
| 71 | def data : ShortComplex.LeftHomologyMapData (shortMap F R X φ) dT dU where |
| 72 | φK := η T.cycles ≫ (H).map c |
| 73 | φH := IntegralComparison.Ext.ExactFunctorModule.component F R X 1 A ≫ |
| 74 | (IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 1).map g |
| 75 | commi := ExactFunctorHomology.commi F R X φ |
| 76 | commf' := by |
| 77 | have hs : (dT).f' = (G).map T.toCycles := IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R X T |
| 78 | have ht : (dU).f' = (H).map U.toCycles := IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R (F.obj X) U |
| 79 | exact (congrArg (fun f => f ≫ (η T.cycles ≫ (H).map c)) hs).trans |
| 80 | ((commf F R X φ).trans (congrArg (fun f => (η T.X₁ ≫ (H).map φ.τ₁) ≫ f) ht.symm)) |
| 81 | commπ := by |
| 82 | apply ModuleCat.hom_ext |
| 83 | apply LinearMap.ext |
| 84 | intro α |
| 85 | exact (IntegralComparison.Ext.MappedSequenceConnecting.connecting F X hT hU |
| 86 | (ShortCyclesExactFunctor.sequenceMap F φ a b ha hb g hg) 0 α).symm |
| 87 | |
| 88 | include hg in |
| 89 | theorem homology : ShortComplex.homologyMap (shortMap F R X φ) ≫ (dU).homologyIso.hom = |
| 90 | (dT).homologyIso.hom ≫ (IntegralComparison.Ext.ExactFunctorModule.component F R X 1 A ≫ |
| 91 | (IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 1).map g) := |
| 92 | (data F R X φ a b ha hb hT hU g hg).homologyMap_comm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorHomology |