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.OrdinarySums |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairImages |
| 3 | |
| 4 | /-! # Count Images -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.CountImages.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Apply the actual total Albanese map to the native reduction counts |
| 11 | and obtain exactly the component-labelled sums used by detection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] |
| 19 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 20 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 21 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 22 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 23 | (R : M.GoodIntegralReduction q j) |
| 24 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 25 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 26 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 27 | (a : M.Family) |
| 28 | |
| 29 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 30 | |
| 31 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary.pointEquiv M hM j hsplit R labels hlabels a |
| 32 | |
| 33 | variable (hs : Smooth (M.integral a).toOver.hom) |
| 34 | (Z : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 35 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 36 | (Y : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 37 | Multiset (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 38 | |
| 39 | local instance : GrpObj (Frobenius.CM.specialAlbanese R a).X := (Frobenius.CM.specialAlbanese R a).grp |
| 40 | local instance : IsCommMonObj (Frobenius.CM.specialAlbanese R a).X := (Frobenius.CM.specialAlbanese R a).comm |
| 41 | |
| 42 | theorem map_factor {I S A : Type} (xs : Multiset I) (f : I → S) (a : S → A) (b : I → A) |
| 43 | (h : ∀ i, a (f i) = b i) : (xs.map f).map a = xs.map b := by |
| 44 | rw [Multiset.map_map] |
| 45 | exact Multiset.map_congr rfl (fun i _ => h i) |
| 46 | |
| 47 | def nativePointImage (x : (D).GeometricPoint) : Additive (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q ⟶ (Frobenius.CM.specialAlbanese R a).X) := |
| 48 | CommonPairImages.CM.pointImage R a x |
| 49 | |
| 50 | def sumImages (m : Multiset (D).GeometricPoint) : Additive (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q ⟶ (Frobenius.CM.specialAlbanese R a).X) := |
| 51 | (m.map (nativePointImage M hM j hsplit R labels hlabels a)).sum |
| 52 | |
| 53 | theorem from_native_counts (i : Fin 3) (x : Detection.CM.ordinaryPoints R a) (m : Multiset (D).GeometricPoint) |
| 54 | (h : m = (RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors (O := (D).OrdinaryPoint) q (D).ordinaryFrobenius Z Y i (e x)).map Subtype.val) : |
| 55 | sumImages M hM j hsplit R labels hlabels a m = |
| 56 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors (O := Detection.CM.ordinaryPoints R a) q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hs) |
| 57 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 58 | i x).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum := by |
| 59 | have hm := congrArg (sumImages M hM j hsplit R labels hlabels a) h |
| 60 | have hf := map_factor |
| 61 | (RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors (O := (D).OrdinaryPoint) q (D).ordinaryFrobenius Z Y i (e x)) |
| 62 | Subtype.val (nativePointImage M hM j hsplit R labels hlabels a) |
| 63 | (OrdinarySums.CM.IntrinsicOrdinaryRaw.image M hM j hsplit R labels hlabels a) (fun _ => rfl) |
| 64 | exact hm.trans ((congrArg Multiset.sum hf).trans |
| 65 | (OrdinarySums.CM.IntrinsicOrdinaryRaw.rawSums M hM j hsplit R labels hlabels a hs Z Y i x)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.CountImages.CM |