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.ResolvedCoefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NaturalDerived |
| 3 | |
| 4 | /-! # Packaged Resolved -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.PackagedResolved.PackagedResolvedComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The packaged native comparison system retains exact-functor and coefficient naturality. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits Abelian |
| 13 | |
| 14 | universe u u' v w w' z z' |
| 15 | |
| 16 | variable (R : Type v) [CommRing R] |
| 17 | {C : Type u} [Category.{v} C] [Abelian C] [EnoughInjectives C] |
| 18 | [HasExt.{w} C] [HasDerivedCategory.{z} C] [Linear R C] |
| 19 | {D : Type u'} [Category.{v} D] [Abelian D] [EnoughInjectives D] |
| 20 | [HasExt.{w'} D] [HasDerivedCategory.{z'} D] [Linear R D] |
| 21 | (F : C ⥤ D) [F.Additive] [F.Linear R] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | (A : C) (B : D) (e : F.obj A ≅ B) |
| 23 | |
| 24 | def equivWithSystem (A : C) (P : NaturalDerived.NaturalDerivedComparison.System (R := R) A) |
| 25 | {K K' : CochainComplex C ℤ} (f : K ⟶ K') [QuasiIso f] |
| 26 | (c : ℤ) [K'.IsStrictlyGE c] |
| 27 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K'.X p) (q + 1))) (n : ℤ) : |
| 28 | (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K').homology n ≃ₗ[R] |
| 29 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) := |
| 30 | (P.equiv K' c hK n).trans (DerivedQuasiHom.DerivedQuasiIsoHom.equiv R A f n) |
| 31 | |
| 32 | def equiv (A : C) {K K' : CochainComplex C ℤ} (f : K ⟶ K') [QuasiIso f] |
| 33 | (c : ℤ) [K'.IsStrictlyGE c] |
| 34 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K'.X p) (q + 1))) (n : ℤ) : |
| 35 | (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K').homology n ≃ₗ[R] |
| 36 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) := |
| 37 | ((NaturalDerived.NaturalDerivedComparison.constructed (R := R) A).equiv K' c hK n).trans |
| 38 | (DerivedQuasiHom.DerivedQuasiIsoHom.equiv R A f n) |
| 39 | |
| 40 | theorem with_coefficient {K K' : CochainComplex C ℤ} {L L' : CochainComplex D ℤ} |
| 41 | (f : K ⟶ K') (g : L ⟶ L') [QuasiIso f] [QuasiIso g] |
| 42 | (a : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 43 | (b : (F.mapHomologicalComplex (.up ℤ)).obj K' ⟶ L') |
| 44 | (h : (F.mapHomologicalComplex (.up ℤ)).map f ≫ b = a ≫ g) |
| 45 | (c d : ℤ) [K'.IsStrictlyGE c] [L'.IsStrictlyGE d] |
| 46 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K'.X p) (q + 1))) |
| 47 | (hL : ∀ p q, Subsingleton (Ext.{w'} B (L'.X p) (q + 1))) |
| 48 | (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K').homology n) : |
| 49 | PackagedResolvedComparison.equiv R B g d hL n (HomologicalComplex.homologyMap |
| 50 | (LinearExact.LinearExactFunctorNaturality.complexMap R F A b ≫ LinearCoefficient.LinearCoefficientNaturality.complexMap R e.inv L') n x) = |
| 51 | (DerivedCategory.singleFunctor D 0).map e.inv ≫ |
| 52 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A a n (PackagedResolvedComparison.equiv R A f c hK n x) := |
| 53 | ResolvedCoefficient.ResolvedExactFunctorComparison.with_coefficient R F A B e f g a b h c d hK hL n x |
| 54 | |
| 55 | theorem with_coefficient_of_system_eq |
| 56 | (P : NaturalDerived.NaturalDerivedComparison.System (R := R) A) |
| 57 | (Q : NaturalDerived.NaturalDerivedComparison.System (R := R) B) |
| 58 | (hP : P = NaturalDerived.NaturalDerivedComparison.constructed A) |
| 59 | (hQ : Q = NaturalDerived.NaturalDerivedComparison.constructed B) |
| 60 | {K K' : CochainComplex C ℤ} {L L' : CochainComplex D ℤ} |
| 61 | (f : K ⟶ K') (g : L ⟶ L') [QuasiIso f] [QuasiIso g] |
| 62 | (a : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 63 | (b : (F.mapHomologicalComplex (.up ℤ)).obj K' ⟶ L') |
| 64 | (h : (F.mapHomologicalComplex (.up ℤ)).map f ≫ b = a ≫ g) |
| 65 | (c d : ℤ) [K'.IsStrictlyGE c] [L'.IsStrictlyGE d] |
| 66 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K'.X p) (q + 1))) |
| 67 | (hL : ∀ p q, Subsingleton (Ext.{w'} B (L'.X p) (q + 1))) |
| 68 | (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.LinearHomForget.Ext.integerLinearHomComplex (R := R) A K').homology n) : |
| 69 | equivWithSystem R B Q g d hL n (HomologicalComplex.homologyMap |
| 70 | (LinearExact.LinearExactFunctorNaturality.complexMap R F A b ≫ LinearCoefficient.LinearCoefficientNaturality.complexMap R e.inv L') n x) = |
| 71 | (DerivedCategory.singleFunctor D 0).map e.inv ≫ |
| 72 | AcyclicExact.AcyclicExactFunctorNaturality.derivedMap F A a n |
| 73 | (equivWithSystem R A P f c hK n x) := by |
| 74 | subst P Q |
| 75 | exact with_coefficient R F A B e f g a b h c d hK hL n x |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.GeometricComparison.PackagedResolved.PackagedResolvedComparison |