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.IntersectionTheory.ProjectionFormula.MixedTensor |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Symmetry |
| 3 | |
| 4 | /-! # One Sided Tor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.OneSidedTor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If S is flat over R and N is an S-module flat over R, then |
| 11 | Tor over S of a base-changed R-module with N vanishes in positive degrees. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.Limits |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S] |
| 21 | (M : ModuleCat.{u} R) (N : ModuleCat.{u} S) [Module R N] [IsScalarTower R S N] |
| 22 | |
| 23 | def derivedIso (n : ℕ) : |
| 24 | ((Tor (ModuleCat S) n).obj N).obj ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) ≅ |
| 25 | ((MixedTensor.tensor R S N).leftDerived n).obj M := |
| 26 | DerivedBaseChange.leftDerivedIso (MixedTensor.tensor R S N) (tensorLeft N) |
| 27 | (ProjectionFormula.Flat.Extension.baseChange R S) (𝟭 _) (MixedTensor.cancelBaseChange R S N) M n |
| 28 | |
| 29 | theorem higher_isZero [Module.Flat R N] (n : ℕ) : |
| 30 | IsZero (((Tor (ModuleCat S) (n + 1)).obj |
| 31 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj M)).obj N) := by |
| 32 | apply IsZero.of_iso _ (ProjectionFormula.Tor.Symmetry.iso S _ N (n + 1)) |
| 33 | exact IsZero.of_iso (MixedTensor.higherDerived_isZero R S N M n) |
| 34 | (derivedIso R S M N (n + 1)) |
| 35 | |
| 36 | theorem higher_length [Module.Flat R N] (n : ℕ) : |
| 37 | Module.length S (((Tor (ModuleCat S) (n + 1)).obj |
| 38 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj M)).obj N) = 0 := by |
| 39 | let := ModuleCat.subsingleton_of_isZero (higher_isZero R S M N n) |
| 40 | exact Module.length_eq_zero |
| 41 | |
| 42 | def zeroEquiv : |
| 43 | (((Tor (ModuleCat S) 0).obj ((ProjectionFormula.Flat.Extension.baseChange R S).obj M)).obj N) ≃ₗ[S] |
| 44 | N ⊗[R] M := |
| 45 | (ProjectionFormula.Tor.Flat.torZeroIso S _ N).toLinearEquiv.trans |
| 46 | ((TensorProduct.comm S _ N).trans |
| 47 | (TensorProduct.AlgebraTensorModule.cancelBaseChange R S S N M)) |
| 48 | |
| 49 | theorem euler_length [Module.Flat R N] (d : ℕ) : |
| 50 | (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 51 | (Module.length S (((Tor (ModuleCat S) i).obj |
| 52 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj M)).obj N)).toNat) = |
| 53 | (Module.length S (N ⊗[R] M)).toNat := by |
| 54 | rw [Finset.sum_range_succ'] |
| 55 | simp [higher_length, (zeroEquiv R S M N).length_eq] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.OneSidedTor |