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.Intrinsic.OrdinaryImage |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.OperatorTransport |
| 3 | |
| 4 | /-! # Ordinary Sums -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinarySums.CM.IntrinsicOrdinaryRaw |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native NeighborCounting ordinary neighbor sums become the exact sums used |
| 11 | for detection. The point equivalence, Frobenius compatibility and total |
| 12 | Albanese image comparison are all proved before this transport. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 22 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 23 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 24 | (R : M.GoodIntegralReduction q j) |
| 25 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 26 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 27 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 28 | (a : M.Family) |
| 29 | |
| 30 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 31 | |
| 32 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary.pointEquiv M hM j hsplit R labels hlabels a |
| 33 | |
| 34 | variable (hs : Smooth (M.integral a).toOver.hom) |
| 35 | (Z : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 36 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 37 | (Y : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 38 | Multiset (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 39 | |
| 40 | local instance : GrpObj (Frobenius.CM.specialAlbanese R a).X := (Frobenius.CM.specialAlbanese R a).grp |
| 41 | local instance : IsCommMonObj (Frobenius.CM.specialAlbanese R a).X := (Frobenius.CM.specialAlbanese R a).comm |
| 42 | |
| 43 | def image (x : (D).OrdinaryPoint) : Additive (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q ⟶ (Frobenius.CM.specialAlbanese R a).X) := |
| 44 | Additive.ofMul (x.val ≫ (Over.pullback R.specialBase).map |
| 45 | (TotalAlbaneseMap.CM.map (M.components a) (M.decomposition a))) |
| 46 | |
| 47 | theorem image_equiv (x : Detection.CM.ordinaryPoints R a) : |
| 48 | image M hM j hsplit R labels hlabels a (e x) = SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x := |
| 49 | (OrdinaryImage.CM.IntrinsicOrdinary.image_eq M hM j hsplit R labels hlabels a (e x)).trans |
| 50 | (congrArg (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a) ((e).symm_apply_apply x)) |
| 51 | |
| 52 | theorem rawSums (i : Fin 3) (x : Detection.CM.ordinaryPoints R a) : |
| 53 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors (O := (D).OrdinaryPoint) q (D).ordinaryFrobenius Z Y i (e x)).map |
| 54 | (image M hM j hsplit R labels hlabels a)).sum = |
| 55 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors (O := Detection.CM.ordinaryPoints R a) q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hs) |
| 56 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 57 | i x).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum := by |
| 58 | have hn := Ordinary.OperatorTransport.CM.rawNeighbors e q |
| 59 | (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hs) (D).ordinaryFrobenius Z Y |
| 60 | (OrdinaryEquiv.CM.IntrinsicOrdinary.frobenius M hM j hsplit R labels hlabels a hs) i x |
| 61 | have h := congrArg (fun m => (m.map (image M hM j hsplit R labels hlabels a)).sum) hn |
| 62 | simpa only [Multiset.map_map, Function.comp_def, image_equiv] using h.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinarySums.CM.IntrinsicOrdinaryRaw |