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.ArithmeticGeometry.OrdinaryLocus.Openness.DefinitionsTorsion |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.DegreeReduction |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationDegree |
| 4 | |
| 5 | /-! # Open -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace ArithmeticGeometry.OrdinaryLocus.Openness.Open.Construction |
| 12 | |
| 13 | /-! Openness of the ordinary locus under the exact hypotheses of Statements.Openness. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | theorem isOpen_ordinaryLocus |
| 19 | (p : ℕ) [Fact p.Prime] |
| 20 | (S : Over (Spec (CommRingCat.of (ZMod p)))) |
| 21 | (A : Over S.left) [GrpObj A] [IsCommMonObj A] |
| 22 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] : |
| 23 | IsOpen {s : S.left | DefinitionsTorsion.IsOrdinaryAt p A s} := by |
| 24 | apply DegreeReduction.Construction.isOpen_ordinaryLocus_of_multiplication_degree p ?_ S A |
| 25 | intro k _ _ _ B _ _ _ _ _ _ g hg b |
| 26 | exact MultiplicationDegree.Construction.multiplication_finrank_eq_power_dimension B p (Fact.out : p.Prime).pos g hg b |
| 27 | |
| 28 | end ArithmeticGeometry.OrdinaryLocus.Openness.Open.Construction |
| 29 | |
| 30 | namespace ArithmeticGeometry.OrdinaryLocus.Openness.Open |
| 31 | |
| 32 | /-! The Openness statement, with its proof supplied by the completed development. -/ |
| 33 | |
| 34 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 35 | open scoped _root_.CategoryTheory.MonObj |
| 36 | |
| 37 | /-- Openness: the ordinary locus of an abelian scheme is Zariski open. -/ |
| 38 | theorem isOpen_ordinaryLocus |
| 39 | (p : ℕ) [Fact p.Prime] |
| 40 | (S : Over (Spec (CommRingCat.of (ZMod p)))) |
| 41 | (A : Over S.left) [GrpObj A] [IsCommMonObj A] |
| 42 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] : |
| 43 | IsOpen {s : S.left | DefinitionsTorsion.IsOrdinaryAt p A s} := by |
| 44 | exact Construction.isOpen_ordinaryLocus p S A |
| 45 | |
| 46 | end ArithmeticGeometry.OrdinaryLocus.Openness.Open |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI |