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.AbelianScheme.FrobeniusKernel.OrdinaryEtaleTransport |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ConstantGroupPoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 4 | |
| 5 | /-! # Ordinary Reduced Point Count -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryReducedPointCount.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A reduced connected test scheme sees precisely the constant factor |
| 14 | of an ordinary q-torsion splitting. This includes every extension field. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | variable (q : ℕ) [Fact q.Prime] (k : Type) [Field k] [CharP k q] |
| 20 | {G : Grp (Over (Spec (.of k)))} {d r : ℕ} (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting k G q 1 d r) |
| 21 | (T : Over (Spec (.of k))) [IsReduced T.left] |
| 22 | |
| 23 | def ordinaryReducedPointsEquiv : (T ⟶ G.X) ≃ (T ⟶ (OrdinaryBlocks.Construction.etaleOrdinaryBlock k q 1 r).X) := by |
| 24 | let M := OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 d |
| 25 | let E := OrdinaryBlocks.Construction.etaleOrdinaryBlock k q 1 r |
| 26 | letI : Unique (T ⟶ M.X) := { |
| 27 | default := 1 |
| 28 | uniq x := ReducedHeightOneMaps.Construction.map_from_reduced_of_trivial_frobenius q (Fact.out : q.Prime) |
| 29 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q k (CharP.cast_eq_zero k q)) x |
| 30 | (Multiplicative.Construction.ordinaryMultiplicative_relativeFrobenius q k d) } |
| 31 | exact ((Iso.homCongr (Iso.refl T) ((Grp.forget _).mapIso e)).trans |
| 32 | (homEquivToProd (X := M.X) (Y := E.X) (Z := T))).trans (Equiv.uniqueProd (T ⟶ E.X) (T ⟶ M.X)) |
| 33 | |
| 34 | def etaleConnectedPointsEquiv {S : Scheme} (D : Type) [Group D] |
| 35 | (T : Over S) [PreconnectedSpace T.left] (t : T.left) : |
| 36 | (T ⟶ (EtaleSubgroups.Construction.etaleGroupScheme S D).X) ≃ D := |
| 37 | ((EtaleSubgroups.Construction.etaleGroupPointIso S D).app (.op T)).groupIsoToMulEquiv.toEquiv.trans |
| 38 | (HodgeConjecture.HeckeCycles.ConstantGroupPoints.CM.constantEquiv T.left D t).toEquiv.symm |
| 39 | |
| 40 | include e in |
| 41 | theorem ordinaryReducedPoints_card [PreconnectedSpace T.left] (t : T.left) : |
| 42 | Nat.card (T ⟶ G.X) = q ^ r := by |
| 43 | have h := Nat.card_congr ((ordinaryReducedPointsEquiv q k e T).trans |
| 44 | (etaleConnectedPointsEquiv (OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q 1 r) T t)) |
| 45 | simpa only [OrdinaryBlocks.Construction.OrdinaryBlockLabels, Nat.card_eq_fintype_card, Fintype.card_ulift, Fintype.card_multiplicative, |
| 46 | Fintype.card_fun, ZMod.card, Fintype.card_fin, pow_one] using h |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! An actual full ordinary torsion splitting gives the same etale |
| 51 | point count after every field extension, through native torsion base change. -/ |
| 52 | |
| 53 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 54 | open scoped _root_.CategoryTheory.MonObj |
| 55 | |
| 56 | variable {k F : Type} [Field k] [Field F] |
| 57 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 58 | (q : ℕ) [Fact q.Prime] [CharP k q] {d r : ℕ} |
| 59 | (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting k |
| 60 | (@Grp.mk _ _ _ (A.torsionScheme (q ^ 1)) (A.torsionScheme_group (q ^ 1))) q 1 d r) |
| 61 | |
| 62 | include e in |
| 63 | theorem splitTorsion_torsionCard_fieldExtension (f : Spec (.of F) ⟶ Spec (.of k)) : |
| 64 | Nat.card ((A.pullback f).torsionPoints q (Over.mk (𝟙 (Spec (.of F))))) = q ^ r := by |
| 65 | let T := (Over.map f).obj (Over.mk (𝟙 (Spec (.of F)))) |
| 66 | have : IsReduced T.left := inferInstanceAs (IsReduced (Spec (.of F))) |
| 67 | have : PreconnectedSpace T.left := inferInstanceAs (PreconnectedSpace (Spec (.of F))) |
| 68 | have h : Nat.card ((A.pullback f).torsionPoints (q ^ 1) (Over.mk (𝟙 (Spec (.of F))))) = q ^ r := |
| 69 | (Nat.card_congr ((A.torsionBaseChangeEquiv f (Over.mk (𝟙 (Spec (.of F)))) (q ^ 1)).toEquiv.trans |
| 70 | (A.torsionSchemePointsEquiv (q ^ 1) T).symm)).trans |
| 71 | (ordinaryReducedPoints_card q k e T (IsLocalRing.closedPoint F)) |
| 72 | simpa only [pow_one] using h |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryReducedPointCount.Construction |