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.Mapped.ModuleClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology |
| 4 | |
| 5 | /-! # Cochain Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.CochainClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical coefficient comparison on cohomology sends the actual |
| 12 | class of a coefficient-transformed cocycle to its original class. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses |
| 16 | |
| 17 | universe u v u' v' |
| 18 | variable {R : Type u} [CommRing R] {T : Type u'} [CommRing T] |
| 19 | |
| 20 | theorem short_class (K : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 21 | (x : Module.CochainClasses.cycles K n) : |
| 22 | (K.homologyIsoSc' ((ComplexShape.up ℕ).prev n) n (n+1) rfl |
| 23 | (CochainComplex.next ℕ n)).hom (Module.CochainClasses.classMap K n x) = |
| 24 | ModuleClass.classMap (Module.CochainClasses.short K n) x := by |
| 25 | change (K.homologyIsoSc' _ n (n+1) rfl (CochainComplex.next ℕ n)).hom |
| 26 | ((K.homologyIsoSc' _ n (n+1) rfl (CochainComplex.next ℕ n)).inv _) = _ |
| 27 | exact ConcreteCategory.congr_hom |
| 28 | (Iso.inv_hom_id (K.homologyIsoSc' _ n (n+1) rfl (CochainComplex.next ℕ n))) _ |
| 29 | |
| 30 | variable (F : ModuleCat.{v} R ⥤ ModuleCat.{v'} T) |
| 31 | [F.Additive] [F.PreservesHomology] [PreservesFiniteLimits F] |
| 32 | (η : ∀ M : ModuleCat.{v} R, M →+ F.obj M) |
| 33 | (hη : ∀ {M N : ModuleCat.{v} R} (f : M ⟶ N) (x : M), |
| 34 | F.map f (η M x) = η N (f x)) |
| 35 | (K : CochainComplex (ModuleCat.{v} R) ℕ) |
| 36 | |
| 37 | local notation "L" => Functor.obj (Functor.mapHomologicalComplex F (ComplexShape.up ℕ)) K |
| 38 | |
| 39 | include hη in |
| 40 | omit [PreservesFiniteLimits F] in |
| 41 | theorem homology (n : ℕ) (x : Module.CochainClasses.cycles K n) (y : Module.CochainClasses.cycles L n) |
| 42 | (hy : y.val = η (K.X n) x.val) : |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K n).hom (Module.CochainClasses.classMap L n y) = |
| 44 | η (K.homology n) (Module.CochainClasses.classMap K n x) := by |
| 45 | let s := K.homologyIsoSc' ((ComplexShape.up ℕ).prev n) n (n+1) rfl |
| 46 | (CochainComplex.next ℕ n) |
| 47 | let t := (L).homologyIsoSc' ((ComplexShape.up ℕ).prev n) n (n+1) rfl |
| 48 | (CochainComplex.next ℕ n) |
| 49 | apply (ModuleCat.mono_iff_injective (F.map s.hom)).mp inferInstance |
| 50 | have hc : F.map s.hom ((AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K n).hom (Module.CochainClasses.classMap L n y)) = |
| 51 | ((Module.CochainClasses.short K n).mapHomologyIso F).hom (t.hom (Module.CochainClasses.classMap L n y)) := |
| 52 | ConcreteCategory.congr_hom (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.shortIso F K |
| 53 | ((ComplexShape.up ℕ).prev n) n (n+1) rfl (CochainComplex.next ℕ n)) _ |
| 54 | have ht : t.hom (Module.CochainClasses.classMap L n y) = ModuleClass.classMap (Module.CochainClasses.short L n) y := |
| 55 | short_class L n y |
| 56 | have hs : s.hom (Module.CochainClasses.classMap K n x) = ModuleClass.classMap (Module.CochainClasses.short K n) x := |
| 57 | short_class K n x |
| 58 | exact hc.trans ((congrArg ((Module.CochainClasses.short K n).mapHomologyIso F).hom ht).trans |
| 59 | ((ModuleClass.homology F η hη (Module.CochainClasses.short K n) x y hy).trans |
| 60 | ((congrArg (η (Module.CochainClasses.short K n).homology) hs).symm.trans (hη s.hom _).symm))) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.CochainClass |