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.GeometricComparison.AcyclicExact |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived |
| 3 | |
| 4 | /-! # Linear Exact -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LinearExact.LinearExactFunctorNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Linear exact-functor naturality of the actual acyclic derived comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits Abelian Opposite OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived.Ext |
| 13 | |
| 14 | universe u u' v w w' z z' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] [HasDerivedCategory.{z} C] |
| 17 | {D : Type u'} [Category.{v} D] [Abelian D] [HasExt.{w'} D] [HasDerivedCategory.{z'} D] |
| 18 | (R : Type v) [CommRing R] [Linear R C] [Linear R D] |
| 19 | (F : C ⥤ D) [F.Additive] [F.Linear R] (A : C) |
| 20 | {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} |
| 21 | (φ : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 22 | |
| 23 | def complexMap : AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K ⟶ AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) (F.obj A) L where |
| 24 | f n := ModuleCat.ofHom ((Linear.rightComp R (F.obj A) (φ.f n)).comp |
| 25 | (F.mapLinearMap R (X := A) (Y := K.X n))) |
| 26 | comm' n m _ := by |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply LinearMap.ext |
| 29 | intro a |
| 30 | change (F.map a ≫ φ.f n) ≫ L.d n m = F.map (a ≫ K.d n m) ≫ φ.f m |
| 31 | exact (Category.assoc _ _ _).trans |
| 32 | ((congrArg (fun k => F.map a ≫ k) (φ.comm n m)).trans |
| 33 | ((Category.assoc _ _ _).symm.trans |
| 34 | (congrArg (fun k => k ≫ φ.f m) (F.map_comp a (K.d n m)).symm))) |
| 35 | |
| 36 | omit [HasExt C] [HasDerivedCategory C] [HasExt D] [HasDerivedCategory D] in |
| 37 | theorem forget_naturality (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K).homology n) : |
| 38 | AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomologyForgetEquiv (R := R) (F.obj A) L n |
| 39 | (HomologicalComplex.homologyMap (complexMap R F A φ) n x) = |
| 40 | HomologicalComplex.homologyMap (AcyclicExact.AcyclicExactFunctorNaturality.complexMap F A φ) n |
| 41 | (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomologyForgetEquiv (R := R) A K n x) := by |
| 42 | let G := forget₂ (ModuleCat.{v} R) AddCommGrpCat.{v} |
| 43 | let ψ := (HomologicalComplex.shortComplexFunctor (ModuleCat R) (.up ℤ) n).map (complexMap R F A φ) |
| 44 | exact congrArg (fun g => g x) (ShortComplex.mapHomologyIso_inv_naturality ψ G) |
| 45 | |
| 46 | variable [PreservesFiniteLimits F] [PreservesFiniteColimits F] [EnoughInjectives C] [EnoughInjectives D] |
| 47 | |
| 48 | theorem naturality (b c : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE c] |
| 49 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K.X p) (q + 1))) |
| 50 | (hL : ∀ p q, Subsingleton (Ext.{w'} (F.obj A) (L.X p) (q + 1))) |
| 51 | (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K).homology n) : |
| 52 | AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived.Ext.acyclicLinearHomCohomologyDerivedEquiv (R := R) (F.obj A) L c hL n |
| 53 | (HomologicalComplex.homologyMap (complexMap R F A φ) n x) = |
| 54 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A φ n |
| 55 | (AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived.Ext.acyclicLinearHomCohomologyDerivedEquiv (R := R) A K b hK n x) := |
| 56 | (congrArg (AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv (F.obj A) L c hL n) (forget_naturality R F A φ n x)).trans |
| 57 | (AcyclicExact.AcyclicExactFunctorNaturality.naturality F A φ b c hK hL n |
| 58 | (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomologyForgetEquiv (R := R) A K n x)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LinearExact.LinearExactFunctorNaturality |