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.Parameter.TorSpecialization |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex |
| 3 | |
| 4 | /-! # Parameter Tor Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.ParameterTorReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If a regular parameter kills one module and is regular on the |
| 11 | other, reducing the ambient ring preserves every native Tor length. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] (r : R) (hr : IsSMulRegular R r) |
| 22 | (M N : ModuleCat.{u} R) (hM : ∀ m : M, r • m = 0) (hN : IsSMulRegular N r) |
| 23 | |
| 24 | include hr hM hN |
| 25 | |
| 26 | theorem length (n : ℕ) : |
| 27 | Module.length (Parameter.ScalarQuotient.Ring R r) |
| 28 | (((Tor (ModuleCat (Parameter.ScalarQuotient.Ring R r)) n).obj ((Parameter.ScalarQuotient.quotient R r).obj M)).obj ((Parameter.ScalarQuotient.quotient R r).obj N)) = |
| 29 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 30 | let P := projectiveResolution N |
| 31 | let K := Parameter.TorSpecialization.tensorComplex R M N P |
| 32 | have hK : ∀ i, ∀ m : K.X i, r • m = 0 := |
| 33 | fun i => AnnihilatedParameterComplex.tensor R r M (P.complex.X i) hM |
| 34 | have h₁ := Parameter.TorSpecialization.length R r hr M N hN P n |
| 35 | have h₂ := AnnihilatedParameterComplex.homology_length R r K hK n |
| 36 | exact (h₁.trans h₂).trans (P.isoLeftDerivedObj (tensorLeft M) n).toLinearEquiv.length_eq.symm |
| 37 | |
| 38 | theorem euler (d : ℕ) : |
| 39 | ProjectionFormula.Tor.Euler.euler (Parameter.ScalarQuotient.Ring R r) ((Parameter.ScalarQuotient.quotient R r).obj M) ((Parameter.ScalarQuotient.quotient R r).obj N) d = |
| 40 | ProjectionFormula.Tor.Euler.euler R M N d := by |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro n _ |
| 43 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) (ParameterTorReduction.length R r hr M N hM hN n) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.ParameterTorReduction |