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.Ordinary.PairFormula |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial |
| 3 | |
| 4 | /-! # Formula Operators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.FormulaOperators.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual original ordinary operators with fixed public types. |
| 11 | Their shared definitions keep the native formula and detector interfaces |
| 12 | on the same original Albanese and ordinary-point space. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField 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) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 29 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 30 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonPointEquation.CM.Raw |
| 31 | |
| 32 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 33 | local instance : CharZero (Witt.ArithmeticBase.CM.Generic.F q) := Witt.EvaluationDVR.CM.fractionCharZero q |
| 34 | |
| 35 | variable |
| 36 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 37 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 38 | |
| 39 | open scoped _root_.CategoryTheory.MonObj |
| 40 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 41 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary |
| 42 | |
| 43 | variable |
| 44 | (Z : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 45 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 46 | (Y : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 47 | Multiset (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 48 | (hg : (Witt.PELSource.CM.heckeData M a C |
| 49 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) |
| 50 | (hgeometry : (Witt.PELSource.CM.heckeData M a C |
| 51 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 52 | (hIsogenyQuotient : (Witt.PELSource.CM.heckeData M a C |
| 53 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 54 | |
| 55 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 56 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 57 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 58 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 59 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary.pointEquiv M hM j hsplit R labels hlabels a |
| 60 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EquationValues.CM.Hecke.originalOperator M j R a hden C |
| 61 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) hgeometry |
| 62 | local notation "act" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluation.CM.action (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM.specialAlbanese R a) (OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) |
| 63 | |
| 64 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM |
| 65 | |
| 66 | def operatorFamily (f : Fin 3 → (HD).EndK) : |
| 67 | Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (Intrinsic.Frobenius.CM.specialAlbanese R a).X := |
| 68 | fun i => op (f i) |
| 69 | |
| 70 | def pointOperator : Intrinsic.Detection.CM.ordinaryPoints R a → Intrinsic.Detection.CM.ordinaryPoints R a := |
| 71 | OperatorTransport.CM.pointOperator e Z |
| 72 | |
| 73 | def multisetOperator : Intrinsic.Detection.CM.ordinaryPoints R a → Multiset (Intrinsic.Detection.CM.ordinaryPoints R a) := |
| 74 | OperatorTransport.CM.multisetOperator e Y |
| 75 | |
| 76 | theorem operatorFamily_eq (f : Fin 3 → (HD).EndK) : |
| 77 | operatorFamily M j R labels a hden C hgeometry f = (fun i => op (f i)) := rfl |
| 78 | |
| 79 | theorem pointOperator_eq : pointOperator M hM j hsplit R labels hlabels a Z = |
| 80 | OperatorTransport.CM.pointOperator e Z := rfl |
| 81 | |
| 82 | theorem multisetOperator_eq : multisetOperator M hM j hsplit R labels hlabels a Y = |
| 83 | OperatorTransport.CM.multisetOperator e Y := rfl |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.FormulaOperators.CM |