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.AbelianModuli.HilbertConstruction.Affine.PushforwardCohomologyFiniteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyEulerCharacteristic |
| 3 | |
| 4 | /-! # Pushforward Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine direct image preserves genuine Euler characteristic with the structural coefficient action. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem coefficientEulerCharacteristic_affinePushforward |
| 15 | {K : Type u} [Field K] {X Y : Scheme.{u}} [Y.IsSeparated] |
| 16 | (f : X ⟶ Y) [IsAffineHom f] (p : Y ⟶ Spec (.of K)) |
| 17 | (M : X.Modules) [M.IsQuasicoherent] : |
| 18 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (f ≫ p) M = |
| 19 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p ((Scheme.Modules.pushforward f).obj M) := by |
| 20 | apply finsum_congr |
| 21 | intro q |
| 22 | exact congrArg (fun n : ℕ => (-1 : ℤ) ^ q * (n : ℤ)) |
| 23 | (PushforwardCohomologyFiniteness.affinePushforwardCohomologyIso f p M q).toLinearEquiv.finrank_eq |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardEuler |