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.OpenBaseChange |
| 2 | import Mathlib.Algebra.Field.ZMod |
| 3 | |
| 4 | /-! # Geometric Torsion Points -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GeometricTorsionPoints.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Torsion points of geometric fibers and their characteristic. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | /-- T-valued torsion points over S are rational torsion points of the base change to T. -/ |
| 16 | theorem torsionPointCard_fieldBaseChange |
| 17 | {S T : Scheme} (t : T ⟶ S) (A : Over S) [GrpObj A] (n : ℕ) : |
| 18 | Nat.card {x : Over.mk (𝟙 T) ⟶ (Over.pullback t).obj A // x ^ n = 1} = |
| 19 | Nat.card {x : Over.mk t ⟶ A // x ^ n = 1} := by |
| 20 | let e₀ : (Over.map t).obj (Over.mk (𝟙 T)) ≅ Over.mk t := |
| 21 | Over.isoMk (Iso.refl T) (by simp) |
| 22 | let e := (Iso.homCongr (Iso.refl (Over.mk (𝟙 T))) (BaseChange.Construction.torsionBaseChangeIso t A n).symm).trans |
| 23 | (((Over.mapPullbackAdj t).homEquiv (Over.mk (𝟙 T)) (DefinitionsTorsion.Construction.torsionScheme A n)).symm.trans |
| 24 | (Iso.homCongr e₀ (Iso.refl (DefinitionsTorsion.Construction.torsionScheme A n)))) |
| 25 | exact (Nat.card_congr (DefinitionsTorsion.Construction.torsionPointsEquiv ((Over.pullback t).obj A) n (Over.mk (𝟙 T)))).symm.trans |
| 26 | ((Nat.card_congr e).trans (Nat.card_congr (DefinitionsTorsion.Construction.torsionPointsEquiv A n (Over.mk t)))) |
| 27 | |
| 28 | /-- A field admitting a map of spectra to Spec(Z/p) has characteristic p. -/ |
| 29 | theorem charP_of_spec_to_ZMod |
| 30 | (p : ℕ) [Fact p.Prime] {K : Type} [Field K] |
| 31 | (f : Spec (.of K) ⟶ Spec (.of (ZMod p))) : CharP K p := by |
| 32 | let φ : ZMod p →+* K := (Spec.preimage f).hom |
| 33 | exact charP_of_injective_ringHom φ.injective p |
| 34 | |
| 35 | /-- The algebraically closed fields in Openness's geometric fibers have characteristic p. -/ |
| 36 | theorem charP_geometric_residueField |
| 37 | (p : ℕ) [Fact p.Prime] (S : Over (Spec (.of (ZMod p)))) (s : S.left) : |
| 38 | CharP (AlgebraicClosure (S.left.residueField s)) p := |
| 39 | charP_of_spec_to_ZMod p ((DefinitionsTorsion.geometricPoint S.left s).hom ≫ S.hom) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GeometricTorsionPoints.Construction |