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.FiniteRationalPoints |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.Reduction |
| 3 | |
| 4 | /-! # Field Reduction -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldReduction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reduction of Openness to the finite p-torsion bound over algebraically closed fields. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | /-- The only field-level input needed by the openness argument is the |
| 16 | p-torsion bound for a finite kernel over an algebraically closed field. |
| 17 | All geometric base changes and the possibility of an infinite point set |
| 18 | are handled in this reduction. -/ |
| 19 | theorem isOpen_ordinaryLocus_of_finite_field_bound |
| 20 | (p : ℕ) [Fact p.Prime] |
| 21 | (hfield : ∀ (K : Type) [Field K] [IsAlgClosed K] [CharP K p] |
| 22 | (B : Over (Spec (.of K))) [GrpObj B] [IsCommMonObj B] |
| 23 | [Smooth B.hom] [IsProper B.hom] [GeometricallyConnected B.hom] |
| 24 | [IsFinite (DefinitionsTorsion.Construction.torsionScheme B p).hom] (g : ℕ), |
| 25 | topologicalKrullDim B.left = (g : WithBot ℕ∞) → |
| 26 | Nat.card {x : Over.mk (𝟙 (Spec (.of K))) ⟶ B // x ^ p = 1} ≤ p ^ g) |
| 27 | (S : Over (Spec (.of (ZMod p)))) |
| 28 | (A : Over S.left) [GrpObj A] [IsCommMonObj A] |
| 29 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] : |
| 30 | IsOpen {s : S.left | DefinitionsTorsion.IsOrdinaryAt p A s} := by |
| 31 | apply Reduction.Construction.isOpen_ordinaryLocus_of_torsionPointCard_bound A p |
| 32 | intro s |
| 33 | let K := AlgebraicClosure (S.left.residueField s) |
| 34 | let t : Spec (.of K) ⟶ S.left := (DefinitionsTorsion.geometricPoint S.left s).hom |
| 35 | let F := Over.pullback t |
| 36 | let B := F.obj A |
| 37 | have : CharP K p := GeometricTorsionPoints.Construction.charP_geometric_residueField p S s |
| 38 | have : Smooth B.hom := by change Smooth (pullback.snd A.hom t); infer_instance |
| 39 | have : IsProper B.hom := by change IsProper (pullback.snd A.hom t); infer_instance |
| 40 | have : GeometricallyConnected B.hom := by |
| 41 | change GeometricallyConnected (pullback.snd A.hom t) |
| 42 | infer_instance |
| 43 | have hcard := GeometricTorsionPoints.Construction.torsionPointCard_fieldBaseChange t A p |
| 44 | change Nat.card {x : Over.mk (𝟙 (Spec (.of K))) ⟶ B // x ^ p = 1} = |
| 45 | Nat.card {x : DefinitionsTorsion.geometricPoint S.left s ⟶ A // x ^ p = 1} at hcard |
| 46 | by_cases hz : Nat.card {x : Over.mk (𝟙 (Spec (.of K))) ⟶ B // x ^ p = 1} = 0 |
| 47 | · rw [← hcard, hz] |
| 48 | exact Nat.zero_le _ |
| 49 | have : Finite {x : Over.mk (𝟙 (Spec (.of K))) ⟶ B // x ^ p = 1} := |
| 50 | Nat.finite_of_card_ne_zero hz |
| 51 | have : Finite (Over.mk (𝟙 (Spec (.of K))) ⟶ DefinitionsTorsion.Construction.torsionScheme B p) := |
| 52 | Finite.of_equiv _ (DefinitionsTorsion.Construction.torsionPointsEquiv B p (Over.mk (𝟙 (Spec (.of K))))).symm |
| 53 | have : IsFinite (DefinitionsTorsion.Construction.torsionScheme B p).hom := |
| 54 | FiniteRationalPoints.Construction.isFinite_of_proper_of_finite_rationalPoints (DefinitionsTorsion.Construction.torsionScheme B p) |
| 55 | have hdim : topologicalKrullDim B.left = (FiberDimension.Construction.fiberDimension A s : WithBot ℕ∞) := |
| 56 | (GeometricDimension.Construction.topologicalKrullDim_geometricFiber A s).trans (FiberDimension.Construction.fiberDimension_spec A s) |
| 57 | exact hcard.symm.trans_le (hfield K B (FiberDimension.Construction.fiberDimension A s) hdim) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldReduction.Construction |