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.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorSquare |
| 3 | import Mathlib.CategoryTheory.Monoidal.Tor |
| 4 | |
| 5 | /-! # Diagonal Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalComparison.Tor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reduction to the diagonal for native Tor. The algebra coefficient |
| 12 | is the actual iterated tensor module; the comparison is computed from |
| 13 | a projective resolution of the multiplication module and its image. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorSquare |
| 19 | ExternalTensorProjectives |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | universe u |
| 25 | variable (k R : Type u) [Field k] [CommRing R] [Algebra k R] |
| 26 | (M N : ModuleCat.{u} R) |
| 27 | |
| 28 | local instance : (ExternalTensorProjectives.externalTensor k R R N).Additive := by |
| 29 | dsimp [ExternalTensorProjectives.externalTensor, TensorOverBaseProjectives.tensorRestriction] |
| 30 | infer_instance |
| 31 | |
| 32 | def tensorComplexIso (P : ProjectiveResolution (DiagonalModule.diagonalModule k R)) : |
| 33 | ((ModuleCat.restrictScalars (algebraMap R (R ⊗[k] R))).mapHomologicalComplex |
| 34 | (ComplexShape.down ℕ)).obj |
| 35 | (((tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)).mapHomologicalComplex |
| 36 | (ComplexShape.down ℕ)).obj P.complex) ≅ |
| 37 | ((tensorLeft M).mapHomologicalComplex (ComplexShape.down ℕ)).obj |
| 38 | ((DiagonalModule.tensorResolution k R N P).complex) := |
| 39 | (Functor.mapHomologicalComplexCompIso (ExternalTensorSquare.externalTensorSquare k R R N M) |
| 40 | (ComplexShape.down ℕ)).app P.complex |
| 41 | |
| 42 | def torIso (n : ℕ) : |
| 43 | (ModuleCat.restrictScalars (algebraMap R (R ⊗[k] R))).obj |
| 44 | (((Tor (ModuleCat (R ⊗[k] R)) n).obj (ExternalTensorSquare.externalCoefficient k R R N M)).obj |
| 45 | (DiagonalModule.diagonalModule k R)) ≅ |
| 46 | (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 47 | let G := ModuleCat.restrictScalars (algebraMap R (R ⊗[k] R)) |
| 48 | let P := projectiveResolution (DiagonalModule.diagonalModule k R) |
| 49 | let Q := DiagonalModule.tensorResolution k R N P |
| 50 | let K := ((tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)).mapHomologicalComplex |
| 51 | (ComplexShape.down ℕ)).obj P.complex |
| 52 | exact G.mapIso (P.isoLeftDerivedObj (tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)) n) ≪≫ |
| 53 | ((K.sc n).mapHomologyIso G).symm ≪≫ |
| 54 | (HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down ℕ) n).mapIso |
| 55 | (tensorComplexIso k R M N P) ≪≫ |
| 56 | (Q.isoLeftDerivedObj (tensorLeft M) n).symm ≪≫ |
| 57 | ((Tor (ModuleCat R) n).obj M).mapIso (DiagonalModule.diagonalTensorIso k R N) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalComparison.Tor |