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.IndependentResolution |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.TensorCancel |
| 3 | |
| 4 | /-! # Independent Change Of Rings -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IndependentChangeOfRings.Tor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native change of rings when the algebra and the second module |
| 11 | are Tor-independent. The isomorphism is computed from the original |
| 12 | projective resolution and actual tensor cancellation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FlatExtension OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.TensorCancel |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | (M : ModuleCat.{u} S) (N : ModuleCat.{u} R) |
| 24 | |
| 25 | def tensorComplexIso (P : ProjectiveResolution N) : |
| 26 | ((ModuleCat.restrictScalars (algebraMap R S)).mapHomologicalComplex (ComplexShape.down ℕ)).obj |
| 27 | (((tensorLeft M).mapHomologicalComplex (ComplexShape.down ℕ)).obj |
| 28 | (((FlatExtension.baseChange R S).mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex)) ≅ |
| 29 | ((tensorLeft ((ModuleCat.restrictScalars (algebraMap R S)).obj M)).mapHomologicalComplex |
| 30 | (ComplexShape.down ℕ)).obj P.complex := |
| 31 | (Functor.mapHomologicalComplexCompIso (TensorCancel.tensorCancelIso R S M) (ComplexShape.down ℕ)).app P.complex |
| 32 | |
| 33 | variable (hv : ∀ n, IsZero (((Tor (ModuleCat R) (n + 1)).obj (ModuleCat.of R S)).obj N)) |
| 34 | |
| 35 | def torIso (n : ℕ) : |
| 36 | (ModuleCat.restrictScalars (algebraMap R S)).obj |
| 37 | (((Tor (ModuleCat S) n).obj M).obj ((FlatExtension.baseChange R S).obj N)) ≅ |
| 38 | (((Tor (ModuleCat R) n).obj ((ModuleCat.restrictScalars (algebraMap R S)).obj M)).obj N) := by |
| 39 | let G := ModuleCat.restrictScalars (algebraMap R S) |
| 40 | let P := projectiveResolution N |
| 41 | let Q := IndependentResolution.Tor.resolution R S N hv P |
| 42 | let K := ((tensorLeft M).mapHomologicalComplex (ComplexShape.down ℕ)).obj Q.complex |
| 43 | exact G.mapIso (Q.isoLeftDerivedObj (tensorLeft M) n) ≪≫ |
| 44 | ((K.sc n).mapHomologyIso G).symm ≪≫ |
| 45 | (HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down ℕ) n).mapIso |
| 46 | (tensorComplexIso R S M N P) ≪≫ |
| 47 | (P.isoLeftDerivedObj (tensorLeft (G.obj M)) n).symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IndependentChangeOfRings.Tor |