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.Regular.ParameterTorReduction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.EndpointTorComparison |
| 3 | |
| 4 | /-! # Annihilated Fiber Tor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedFiberTor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If the first module already lies on a regular parameter fiber, |
| 11 | its pairing with a parameter-regular second module is computed by the |
| 12 | native fiber Tor. The comparison holds in every Tor degree. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] (r : R) (hr : IsSMulRegular R r) |
| 22 | (φ : R →+* S) (hφ : Function.Surjective φ) (hk : RingHom.ker φ = Ideal.span {r}) |
| 23 | (M N : ModuleCat.{u} R) (hM : ∀ m : M, r • m = 0) (hN : IsSMulRegular N r) |
| 24 | (M₀ N₀ : ModuleCat.{u} S) |
| 25 | (eM : QuotSMulTop r M ≃ₗ[R] (ModuleCat.restrictScalars φ).obj M₀) |
| 26 | (eN : QuotSMulTop r N ≃ₗ[R] (ModuleCat.restrictScalars φ).obj N₀) |
| 27 | |
| 28 | include hr hφ hk hM hN eM eN |
| 29 | |
| 30 | theorem length (n : ℕ) : |
| 31 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) = |
| 32 | Module.length S (((Tor (ModuleCat S) n).obj M₀).obj N₀) := |
| 33 | (Regular.ParameterTorReduction.length R r hr M N hM hN n).symm.trans |
| 34 | (EndpointTorComparison.length R S r φ hφ hk M N M₀ N₀ eM eN n) |
| 35 | |
| 36 | theorem euler (d : ℕ) : ProjectionFormula.Tor.Euler.euler R M N d = ProjectionFormula.Tor.Euler.euler S M₀ N₀ d := by |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro n _ |
| 39 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) |
| 40 | (AnnihilatedFiberTor.length R S r hr φ hφ hk M N hM hN M₀ N₀ eM eN n) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedFiberTor |