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.ComponentPointEquiv |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.PointFrobenius |
| 4 | |
| 5 | /-! # Ordinary Equiv -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Identify NeighborCounting's native ordinary points with the original |
| 12 | component-labelled points used for detection. The constructed |
| 13 | equivalence intertwines the actual prime-field Frobenius. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.PointFrobenius.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 22 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 23 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 24 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 25 | (R : M.GoodIntegralReduction q j) |
| 26 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 27 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 28 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 29 | (a : M.Family) |
| 30 | |
| 31 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 32 | |
| 33 | theorem ordinary_iff (p : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ R.geometricFiber a) : |
| 34 | R.IsOrdinary a (p.left (IsLocalRing.closedPoint (AlgebraicClosure (ZMod q)))) ↔ |
| 35 | (D).IsOrdinary (PointFrobenius.CM.pointsEquiv R (M.integral a).toOver p) := |
| 36 | (FrobeniusKernelLifts.CM.ordinary_iff M hM j hsplit R labels hlabels a p).trans |
| 37 | (congrArg (D).IsOrdinary (PointFrobenius.CM.pointsEquiv_eq_primeFieldPoint R a p).symm).to_iff |
| 38 | |
| 39 | def pointEquiv : Detection.CM.ordinaryPoints R a ≃ (D).OrdinaryPoint := |
| 40 | (ComponentPointEquiv.CM.ordinaryEquiv R a).trans |
| 41 | ((PointFrobenius.CM.pointsEquiv R (M.integral a).toOver).subtypeEquiv |
| 42 | (ordinary_iff M hM j hsplit R labels hlabels a)) |
| 43 | |
| 44 | theorem pointEquiv_val (x : Detection.CM.ordinaryPoints R a) : |
| 45 | (pointEquiv M hM j hsplit R labels hlabels a x).val = |
| 46 | ReductionPoints.CM.primeFieldPoint R a (x.2.val ≫ Ordinary.Locus.CM.componentFiberInclusion R a x.1) := |
| 47 | PointFrobenius.CM.pointsEquiv_eq_primeFieldPoint R a (x.2.val ≫ Ordinary.Locus.CM.componentFiberInclusion R a x.1) |
| 48 | |
| 49 | theorem frobenius (hs : Smooth (M.integral a).toOver.hom) (x : Detection.CM.ordinaryPoints R a) : |
| 50 | pointEquiv M hM j hsplit R labels hlabels a (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hs x) = |
| 51 | (D).ordinaryFrobenius (pointEquiv M hM j hsplit R labels hlabels a x) := by |
| 52 | apply Subtype.ext |
| 53 | exact (pointEquiv_val M hM j hsplit R labels hlabels a |
| 54 | (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hs x)).trans |
| 55 | ((Ordinary.PointFrobenius.CM.ordinaryFrobenius_total R a hs x).trans |
| 56 | (congrArg ((AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBaseFrobenius q).hom ≫ ·) |
| 57 | (pointEquiv_val M hM j hsplit R labels hlabels a x).symm)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary |