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.LocalDiagonalEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Local.PolynomialDiagonalRegular |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 4 | |
| 5 | /-! # Local Diagonal Sequence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalSequence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In unramified polynomial coordinates the native local |
| 12 | intersection Euler characteristic is the Euler characteristic against |
| 13 | the actual quotient by the diagonal coordinate sequence. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalEuler OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient |
| 19 | ExternalQuotient Euler.Tor |
| 20 | Local.PolynomialDiagonalIdeal.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | universe u |
| 26 | variable (k R : Type u) [Field k] [CommRing R] [Algebra k R] (n : ℕ) |
| 27 | [Algebra (MvPolynomial (Fin n) k) R] [IsScalarTower k (MvPolynomial (Fin n) k) R] |
| 28 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) k) R] |
| 29 | [IsNoetherianRing (R ⊗[MvPolynomial (Fin n) k] R)] |
| 30 | |
| 31 | def sequenceQuotientIso (q : PrimeSpectrum R) : |
| 32 | ModuleCat.of (Localization.AtPrime (LocalDiagonalEuler.diagonalPrime k R q).asIdeal) |
| 33 | ((Localization.AtPrime (LocalDiagonalEuler.diagonalPrime k R q).asIdeal) ⧸ Ideal.ofList (Local.PolynomialDiagonalIdeal.Constructions.localEquations k R n q)) ≅ |
| 34 | LocalDiagonalEuler.localizedQuotient (R ⊗[k] R) (LocalDiagonalEuler.diagonalPrime k R q) (AlgebraDiagonalQuotient.diagonalIdeal k R) := |
| 35 | (Ideal.quotientEquivAlgOfEq |
| 36 | (Localization.AtPrime (q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom)) |
| 37 | (Local.PolynomialDiagonalIdeal.Constructions.ideal_ofList_localEquations k R n q)).toLinearEquiv.toModuleIso |
| 38 | |
| 39 | theorem euler_eq_sequence (q : PrimeSpectrum R) (I J : Ideal R) (d : ℕ) : |
| 40 | Euler.Tor.euler (Localization.AtPrime q.asIdeal) (LocalDiagonalEuler.localizedQuotient R q I) (LocalDiagonalEuler.localizedQuotient R q J) d = |
| 41 | Euler.Tor.euler (Localization.AtPrime (LocalDiagonalEuler.diagonalPrime k R q).asIdeal) |
| 42 | (ModuleCat.of (Localization.AtPrime (LocalDiagonalEuler.diagonalPrime k R q).asIdeal) |
| 43 | ((Localization.AtPrime (LocalDiagonalEuler.diagonalPrime k R q).asIdeal) ⧸ Ideal.ofList (Local.PolynomialDiagonalIdeal.Constructions.localEquations k R n q))) |
| 44 | (LocalDiagonalEuler.localizedQuotient (R ⊗[k] R) (LocalDiagonalEuler.diagonalPrime k R q) (ExternalQuotient.productIdeal k R R I J)) d := |
| 45 | (LocalDiagonalEuler.euler_eq k R q I J d).symm.trans |
| 46 | (IsolatedEuler.euler_iso_left _ (sequenceQuotientIso k R n q).symm _ d) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LocalDiagonalSequence |