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.RankSpecialization |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.EtaleCyclic |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Etale Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.EtaleRank |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For an actual finite etale group over an algebraically closed |
| 12 | field, the coordinate dimension is the number of its rational points. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def affineFieldBaseIso (k : Type) [Field k] : |
| 17 | GroupSchemes.FiniteEtale.affine k (CommAlgCat.of k k) ≅ Over.mk (𝟙 (Spec (.of k))) := |
| 18 | Over.isoMk (Iso.refl _) (by |
| 19 | change (𝟙 (Spec (.of k))) ≫ (𝟙 (Spec (.of k))) = |
| 20 | Spec.map (CommRingCat.ofHom (algebraMap k k)) |
| 21 | simp) |
| 22 | |
| 23 | theorem finite_etale_group_points_rank {k : Type} [Field k] [IsAlgClosed k] |
| 24 | (G : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) [Etale G.scheme.hom] : |
| 25 | Module.finrank k G.algebra = Nat.card G.rationalPoints := by |
| 26 | have h : (algebraMap k G.algebra).Etale := |
| 27 | (HasRingHomProperty.Spec_iff (P := @Etale) |
| 28 | (φ := CommRingCat.ofHom (algebraMap k G.algebra))).mp |
| 29 | (inferInstance : Etale G.scheme.hom) |
| 30 | let : Algebra.Etale k G.algebra := RingHom.etale_algebraMap.mp h |
| 31 | exact G.rationalPoints_card.symm |
| 32 | |
| 33 | theorem finite_etale_group_basePoints_rank {k : Type} [Field k] [IsAlgClosed k] |
| 34 | (G : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) [Etale G.scheme.hom] : |
| 35 | Module.finrank k G.algebra = Nat.card (Over.mk (𝟙 (Spec (.of k))) ⟶ G.scheme) := |
| 36 | (finite_etale_group_points_rank G).trans |
| 37 | (Nat.card_congr (Iso.homCongr (affineFieldBaseIso k) (Iso.refl G.scheme))) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.EtaleRank |