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.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint |
| 3 | |
| 4 | /-! # Reduction Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify CMPoints's actual geometric-fiber points with the prime-field |
| 11 | geometric points used for the native FrobeniusKernel kernel constructions. The |
| 12 | ordinary predicates agree because their full torsion groups agree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 17 | |
| 18 | def pullbackTorsionEquiv {S T U V : Scheme} {g : ℕ} |
| 19 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (f : T ⟶ S) (h : U ⟶ S) |
| 20 | (x : V ⟶ T) (y : V ⟶ U) (he : x ≫ f = y ≫ h) (n : ℕ) : |
| 21 | (A.pullback f).torsionPoints n (Over.mk x) ≃* |
| 22 | (A.pullback h).torsionPoints n (Over.mk y) := by |
| 23 | let e : (Over.map h).obj (Over.mk y) ≅ (Over.map f).obj (Over.mk x) := |
| 24 | Over.isoMk (Iso.refl V) (by |
| 25 | change (𝟙 V) ≫ (x ≫ f) = y ≫ h |
| 26 | exact (Category.id_comp _).trans he) |
| 27 | exact (A.torsionBaseChangeEquiv f (Over.mk x) n).trans |
| 28 | ((CategoryTheory.Iso.groupIsoToMulEquiv ((A.torsionFunctor n).mapIso e.op)).trans |
| 29 | (A.torsionBaseChangeEquiv h (Over.mk y) n).symm) |
| 30 | |
| 31 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 32 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 33 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 34 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 35 | |
| 36 | abbrev k := AlgebraicClosure (ZMod q) |
| 37 | |
| 38 | def primeFieldPoint (p : Geometric.PointExt.CM.pointBase (k (q := q)) ⟶ R.geometricFiber a) : |
| 39 | AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q ⟶ R.specialFiber a := by |
| 40 | let z : Spec (.of (k (q := q))) ⟶ pullback (M.integral a).toOver.hom R.geometricBase := p.left |
| 41 | have hz : z ≫ pullback.snd (M.integral a).toOver.hom R.geometricBase = 𝟙 _ := p.w |
| 42 | have hb : (z ≫ pullback.fst (M.integral a).toOver.hom R.geometricBase) ≫ |
| 43 | (M.integral a).toOver.hom = |
| 44 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (k (q := q)))) ≫ R.specialBase := by |
| 45 | rw [Category.assoc, pullback.condition, ← Category.assoc, hz, Category.id_comp] |
| 46 | change Spec.map (CommRingCat.ofHom ((algebraMap (ZMod q) (k (q := q))).comp R.residue)) = |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (k (q := q)))) ≫ |
| 48 | Spec.map (CommRingCat.ofHom R.residue) |
| 49 | rw [← Spec.map_comp] |
| 50 | rfl |
| 51 | exact Over.homMk |
| 52 | (pullback.lift (z ≫ pullback.fst (M.integral a).toOver.hom R.geometricBase) |
| 53 | (Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (k (q := q))))) hb) |
| 54 | (pullback.lift_snd _ _ _) |
| 55 | |
| 56 | theorem primeFieldPoint_projection (p : Geometric.PointExt.CM.pointBase (k (q := q)) ⟶ R.geometricFiber a) : |
| 57 | (primeFieldPoint R a p).left ≫ pullback.fst (M.integral a).toOver.hom R.specialBase = |
| 58 | p.left ≫ R.projection a := pullback.lift_fst _ _ _ |
| 59 | |
| 60 | def primeFieldAbelian : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * M.s) (R.specialFiber a).left := |
| 61 | (M.integral a).universal.data.polarized.abelian.pullback |
| 62 | (pullback.fst (M.integral a).toOver.hom R.specialBase) |
| 63 | |
| 64 | def geometricTorsionEquiv (p : Geometric.PointExt.CM.pointBase (k (q := q)) ⟶ R.geometricFiber a) (n : ℕ) : |
| 65 | (R.abelian a).torsionPoints n (Over.mk p.left) ≃* |
| 66 | (primeFieldAbelian R a).torsionPoints n (Over.mk (primeFieldPoint R a p).left) := |
| 67 | pullbackTorsionEquiv (M.integral a).universal.data.polarized.abelian |
| 68 | (R.projection a) (pullback.fst (M.integral a).toOver.hom R.specialBase) |
| 69 | p.left (primeFieldPoint R a p).left (primeFieldPoint_projection R a p).symm n |
| 70 | |
| 71 | theorem isOrdinary_iff_primeFieldPoint_count (hs : Smooth (M.integral a).toOver.hom) |
| 72 | (p : Geometric.PointExt.CM.pointBase (k (q := q)) ⟶ R.geometricFiber a) : |
| 73 | R.IsOrdinary a (p.left (IsLocalRing.closedPoint (k (q := q)))) ↔ |
| 74 | Nat.card ((primeFieldAbelian R a).torsionPoints q (Over.mk (primeFieldPoint R a p).left)) = |
| 75 | q ^ (3 * M.s) := by |
| 76 | let : Smooth (M.integral a).toOver.hom := hs |
| 77 | let : Smooth (R.geometricFiber a).hom := inferInstanceAs |
| 78 | (Smooth (pullback.snd (M.integral a).toOver.hom R.geometricBase)) |
| 79 | have hc := Nat.card_congr (geometricTorsionEquiv R a p q).toEquiv |
| 80 | exact (Geometric.ResiduePoint.CM.RationalOrdinary.isOrdinaryAt_iff_point_count |
| 81 | (R.geometricFiber a) (R.abelian a) p q).trans (by rw [hc]) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |