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 Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 4 | |
| 5 | /-! # Complement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Scalar.Complement |
| 8 | |
| 9 | /-! Scalar complementary identities imply finiteness and surjectivity of actual scheme maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {B D : Over S} [GrpObj B] [GrpObj D] |
| 18 | (m : B ⟶ D) (r : D ⟶ B) (n : ℕ) |
| 19 | |
| 20 | omit [GrpObj D] in |
| 21 | /-- A finite scalar composition makes the original map finite when its complementary map is separated. -/ |
| 22 | theorem finite_of_scalar_complement (h : m ≫ r = (𝟙 B) ^ n) |
| 23 | [IsFinite ((𝟙 B) ^ n).left] [IsSeparated r.left] : IsFinite m.left := by |
| 24 | have hh : m.left ≫ r.left = ((𝟙 B) ^ n).left := congrArg Over.Hom.left h |
| 25 | have : IsFinite (m.left ≫ r.left) := by rw [hh]; infer_instance |
| 26 | exact IsFinite.of_comp m.left r.left |
| 27 | |
| 28 | omit [GrpObj B] in |
| 29 | /-- Surjectivity of the opposite scalar composition makes the original map surjective. -/ |
| 30 | theorem surjective_of_scalar_complement (h : r ≫ m = (𝟙 D) ^ n) |
| 31 | [Surjective ((𝟙 D) ^ n).left] : Surjective m.left := by |
| 32 | have hh : r.left ≫ m.left = ((𝟙 D) ^ n).left := congrArg Over.Hom.left h |
| 33 | have : Surjective (r.left ≫ m.left) := by rw [hh]; infer_instance |
| 34 | exact Surjective.of_comp r.left m.left |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Scalar.Complement |