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.PELModuli.CMPoints.PrimeToDegreeTorsion |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFiberCount |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.AbelianProducts |
| 4 | |
| 5 | /-! # Ordinary Isogeny -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryIsogeny |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ordinary geometric point counts are preserved by the constructed |
| 12 | prime-to-degree torsion isomorphisms and by actual abelian products. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | theorem torsion_card_eq_of_scalar_inverse {S : Scheme.{0}} {g : ℕ} |
| 18 | (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (f : A.scheme ⟶ B.scheme) (h : B.scheme ⟶ A.scheme) |
| 19 | [IsMonHom f] [IsMonHom h] (N d : ℕ) (hcop : N.Coprime d) |
| 20 | (hgf : f ≫ h = A.multiplication d) (hfg : h ≫ f = B.multiplication d) (T : Over S) : |
| 21 | Nat.card (A.torsionPoints N T) = Nat.card (B.torsionPoints N T) := |
| 22 | Nat.card_congr (((PrimeToDegreeTorsion.torsionIso_of_scalar_inverse A B f h N d hcop hgf hfg).app (.op T)).groupIsoToMulEquiv.toEquiv) |
| 23 | |
| 24 | theorem ordinaryAt_iff_of_scalar_inverse {S : Scheme.{0}} {g q d : ℕ} |
| 25 | (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (f : A.scheme ⟶ B.scheme) (h : B.scheme ⟶ A.scheme) |
| 26 | [IsMonHom f] [IsMonHom h] (hcop : q.Coprime d) |
| 27 | (hgf : f ≫ h = A.multiplication d) (hfg : h ≫ f = B.multiplication d) (x : S) : |
| 28 | Models.IsOrdinaryAt q A.scheme x ↔ Models.IsOrdinaryAt q B.scheme x := by |
| 29 | have hdim : topologicalKrullDim (A.scheme.hom.fiber x) = topologicalKrullDim (B.scheme.hom.fiber x) := |
| 30 | (OrdinaryFiberCount.abelian_fiber_dimension A x).trans (OrdinaryFiberCount.abelian_fiber_dimension B x).symm |
| 31 | have hc := torsion_card_eq_of_scalar_inverse A B f h q d hcop hgf hfg (Models.geometricPoint S x) |
| 32 | change (∃ n : ℕ, _ = (n : WithBot ℕ∞) ∧ Nat.card (A.torsionPoints q (Models.geometricPoint S x)) = q ^ n) ↔ |
| 33 | (∃ n : ℕ, _ = (n : WithBot ℕ∞) ∧ Nat.card (B.torsionPoints q (Models.geometricPoint S x)) = q ^ n) |
| 34 | rw [hdim, hc] |
| 35 | |
| 36 | theorem abelianProduct_torsion_card {S : Scheme.{0}} {g h : ℕ} |
| 37 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S) (N : ℕ) (T : Over S) : |
| 38 | Nat.card ((AbelianProducts.abelianProduct A B).torsionPoints N T) = |
| 39 | Nat.card (A.torsionPoints N T) * Nat.card (B.torsionPoints N T) := |
| 40 | (Nat.card_congr (AbelianProducts.abelianProductTorsionEquiv A B N T).toEquiv).trans (Nat.card_prod _ _) |
| 41 | |
| 42 | theorem abelianProduct_ordinary_count {S : Scheme.{0}} {g h q : ℕ} |
| 43 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S) (T : Over S) |
| 44 | (hA : Nat.card (A.torsionPoints q T) = q ^ g) |
| 45 | (hB : Nat.card (B.torsionPoints q T) = q ^ h) : |
| 46 | Nat.card ((AbelianProducts.abelianProduct A B).torsionPoints q T) = q ^ (g + h) := by |
| 47 | rw [abelianProduct_torsion_card, hA, hB, pow_add] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryIsogeny |