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.Principal.QuotientScalars |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RingEquivTor |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Euler |
| 5 | |
| 6 | /-! # Endpoint Tor Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.EndpointTorComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native Tor over the parameter quotient has the actual endpoint |
| 13 | Tor lengths when both quotient modules are identified with their |
| 14 | endpoint modules through the native ambient quotient map. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R S : Type u) [CommRing R] [CommRing S] (r : R) (φ : R →+* S) |
| 24 | (hφ : Function.Surjective φ) (hk : RingHom.ker φ = Ideal.span {r}) |
| 25 | (M N : ModuleCat.{u} R) (M₀ N₀ : ModuleCat.{u} S) |
| 26 | (eM : QuotSMulTop r M ≃ₗ[R] (ModuleCat.restrictScalars φ).obj M₀) |
| 27 | (eN : QuotSMulTop r N ≃ₗ[R] (ModuleCat.restrictScalars φ).obj N₀) |
| 28 | |
| 29 | include hφ hk eM eN |
| 30 | |
| 31 | theorem length (n : ℕ) : |
| 32 | Module.length (Parameter.ScalarQuotient.Ring R r) |
| 33 | (((Tor (ModuleCat (Parameter.ScalarQuotient.Ring R r)) n).obj |
| 34 | ((Parameter.ScalarQuotient.quotient R r).obj M)).obj |
| 35 | ((Parameter.ScalarQuotient.quotient R r).obj N)) = |
| 36 | Module.length S (((Tor (ModuleCat S) n).obj M₀).obj N₀) := by |
| 37 | let Q := Parameter.ScalarQuotient.Ring R r |
| 38 | let σ := Principal.QuotientScalars.ringEquiv R S r φ hk hφ |
| 39 | let eM' := Principal.QuotientScalars.extendEquiv R S r φ hk M M₀ eM |
| 40 | let eN' := Principal.QuotientScalars.extendEquiv R S r φ hk N N₀ eN |
| 41 | exact (Open.SupportTor.length_iso Q eM'.toModuleIso eN'.toModuleIso n).trans |
| 42 | (RingEquivTor.length σ M₀ N₀ n) |
| 43 | |
| 44 | theorem euler (d : ℕ) : |
| 45 | ProjectionFormula.Tor.Euler.euler (Parameter.ScalarQuotient.Ring R r) |
| 46 | ((Parameter.ScalarQuotient.quotient R r).obj M) |
| 47 | ((Parameter.ScalarQuotient.quotient R r).obj N) d = |
| 48 | ProjectionFormula.Tor.Euler.euler S M₀ N₀ d := by |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro n _ |
| 51 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) |
| 52 | (EndpointTorComparison.length R S r φ hφ hk M N M₀ N₀ eM eN n) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.EndpointTorComparison |