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.DiagonalLength |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalizedLength |
| 3 | |
| 4 | /-! # Local Diagonal Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local reduction to the diagonal compares native Tor over the |
| 11 | local tensor algebra and over the original local ring, with the actual |
| 12 | localized diagonal and product ideals and identical truncation bounds. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalQuotient OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor |
| 18 | |
| 19 | universe u |
| 20 | variable (k R : Type u) [Field k] [CommRing R] [Algebra k R] |
| 21 | |
| 22 | def diagonalPrime (q : PrimeSpectrum R) : PrimeSpectrum (R ⊗[k] R) := |
| 23 | PrimeSpectrum.comap (Algebra.TensorProduct.lmul' k).toRingHom q |
| 24 | |
| 25 | def localizedQuotient (B : Type u) [CommRing B] (p : PrimeSpectrum B) (I : Ideal B) : |
| 26 | ModuleCat.{u} (Localization.AtPrime p.asIdeal) := |
| 27 | ModuleCat.of (Localization.AtPrime p.asIdeal) |
| 28 | ((Localization.AtPrime p.asIdeal) ⧸ I.map (algebraMap B (Localization.AtPrime p.asIdeal))) |
| 29 | |
| 30 | theorem tor_length (q : PrimeSpectrum R) (I J : Ideal R) (n : ℕ) : |
| 31 | Module.length (Localization.AtPrime (diagonalPrime k R q).asIdeal) |
| 32 | (((Tor (ModuleCat (Localization.AtPrime (diagonalPrime k R q).asIdeal)) n).obj |
| 33 | (localizedQuotient (R ⊗[k] R) (diagonalPrime k R q) (AlgebraDiagonalQuotient.diagonalIdeal k R))).obj |
| 34 | (localizedQuotient (R ⊗[k] R) (diagonalPrime k R q) (ExternalQuotient.productIdeal k R R I J))) = |
| 35 | Module.length (Localization.AtPrime q.asIdeal) |
| 36 | (((Tor (ModuleCat (Localization.AtPrime q.asIdeal)) n).obj |
| 37 | (localizedQuotient R q I)).obj (localizedQuotient R q J)) := |
| 38 | (LocalizedLength.Tor.quotientTor_length (R ⊗[k] R) (diagonalPrime k R q) |
| 39 | (AlgebraDiagonalQuotient.diagonalIdeal k R) (ExternalQuotient.productIdeal k R R I J) n).symm.trans |
| 40 | ((DiagonalLength.Tor.tor_localLength k R I J q n).trans |
| 41 | (LocalizedLength.Tor.quotientTor_length R q I J n)) |
| 42 | |
| 43 | theorem euler_eq (q : PrimeSpectrum R) (I J : Ideal R) (d : ℕ) : |
| 44 | Euler.Tor.euler (Localization.AtPrime (diagonalPrime k R q).asIdeal) |
| 45 | (localizedQuotient (R ⊗[k] R) (diagonalPrime k R q) (AlgebraDiagonalQuotient.diagonalIdeal k R)) |
| 46 | (localizedQuotient (R ⊗[k] R) (diagonalPrime k R q) (ExternalQuotient.productIdeal k R R I J)) d = |
| 47 | Euler.Tor.euler (Localization.AtPrime q.asIdeal) (localizedQuotient R q I) (localizedQuotient R q J) d := by |
| 48 | apply Finset.sum_congr rfl |
| 49 | intro n _ |
| 50 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) (tor_length k R q I J n) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler |