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.CommonPairFormula |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComponentEvaluation |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.CountImages |
| 4 | |
| 5 | /-! # Pair Formula -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.PairFormula.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native reduction output gives the ordinary TateComparison pair |
| 12 | formula on the original component. The common evaluation, source and |
| 13 | target images, Frobenius and all raw multiplicities are derived. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 24 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 25 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 26 | (R : M.GoodIntegralReduction q j) |
| 27 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 28 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 29 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 30 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 31 | (c : Fin (M.componentCount a)) |
| 32 | (p : Bool → (Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ Locus.CM.componentFiber R a c)) |
| 33 | (hord : ∀ b, (p b).left (IsLocalRing.closedPoint (AlgebraicClosure (ZMod q))) ∈ Locus.CM.componentOrdinaryLocus R a c) |
| 34 | (lc : ∀ b, Witt.PointLift.CM.ComponentLift R hden a c (p b)) |
| 35 | |
| 36 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 37 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonPointEquation.CM.Raw |
| 38 | |
| 39 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 40 | local instance : CharZero (Witt.ArithmeticBase.CM.Generic.F q) := Witt.EvaluationDVR.CM.fractionCharZero q |
| 41 | |
| 42 | variable |
| 43 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 44 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 45 | |
| 46 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 47 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary |
| 48 | |
| 49 | variable |
| 50 | (Z : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 51 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 52 | (Y : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 53 | Multiset (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 54 | (hg : (Witt.PELSource.CM.heckeData M a C |
| 55 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) |
| 56 | (hgeometry : (Witt.PELSource.CM.heckeData M a C |
| 57 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 58 | (hIsogenyQuotient : (Witt.PELSource.CM.heckeData M a C |
| 59 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 60 | |
| 61 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 62 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 63 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 64 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 65 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary.pointEquiv M hM j hsplit R labels hlabels a |
| 66 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EquationValues.CM.Hecke.originalOperator M j R a hden C |
| 67 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) hgeometry |
| 68 | 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) |
| 69 | |
| 70 | def original (b : Bool) := ComponentOrdinaryPoint.CM.Ordinary.original M j R a c (p b) (hord b) |
| 71 | |
| 72 | def ordinarySum (b : Bool) (i : Fin 3) : |
| 73 | Additive (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q ⟶ (Intrinsic.Frobenius.CM.specialAlbanese R a).X) := |
| 74 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 75 | (OperatorTransport.CM.pointOperator e Z) (OperatorTransport.CM.multisetOperator e Y) |
| 76 | i (original M j R a c p hord b)).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum |
| 77 | |
| 78 | def Formula (f : (HD).EndK) (i : Fin 3) : Prop := |
| 79 | act (op f) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a (original M j R a c p hord true) - |
| 80 | SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a (original M j R a c p hord false)) = |
| 81 | ordinarySum M hM j hsplit R labels hlabels a c p hord C Z Y hgeometry true i - |
| 82 | ordinarySum M hM j hsplit R labels hlabels a c p hord C Z Y hgeometry false i |
| 83 | |
| 84 | include hg hIsogenyQuotient in |
| 85 | theorem formula (i : Fin 3) (f : (HD).EndK) (hraw : TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) f) |
| 86 | (hreduce : ∀ b, Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.NativeReductionResult (L := Witt.ArithmeticBase.CM.Generic.F q) (Source.RestrictedPlace.CM.choice M j) |
| 87 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 88 | active multiplicative hTorsionQuotient (FrobeniusKernelLifts.CM.residueCompatible M hM j hsplit R labels hlabels a hden) |
| 89 | (D).ordinaryFrobenius Y Z |
| 90 | (ComponentOrdinaryPoint.CM.Ordinary.native M hM j hsplit R labels hlabels a c (p b) (hord b)) |
| 91 | (Witt.ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) : |
| 92 | act (op f) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a (original M j R a c p hord true) - |
| 93 | SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a (original M j R a c p hord false)) = |
| 94 | ordinarySum M hM j hsplit R labels hlabels a c p hord C Z Y hgeometry true i - |
| 95 | ordinarySum M hM j hsplit R labels hlabels a c p hord C Z Y hgeometry false i := by |
| 96 | classical |
| 97 | choose data hdata using fun b => ComponentEvaluation.CM.exists_evaluation M hM j hsplit R labels hlabels a hden |
| 98 | c (p b) (hord b) (lc b) active multiplicative hTorsionQuotient Z Y (hreduce b) |
| 99 | have hp := CommonPairFormula.CM.formula M hM j hsplit R labels hlabels a hden c p lc C |
| 100 | active multiplicative hTorsionQuotient data hg hgeometry hIsogenyQuotient i f hraw |
| 101 | have hx := ComponentOrdinaryPoint.CM.Ordinary.image_eq M j R a c (p true) (hord true) |
| 102 | have hy := ComponentOrdinaryPoint.CM.Ordinary.image_eq M j R a c (p false) (hord false) |
| 103 | have hr (b : Bool) := Intrinsic.CountImages.CM.from_native_counts M hM j hsplit R labels hlabels a |
| 104 | hgeometry.smooth Z Y i (original M j R a c p hord b) _ (hdata b i) |
| 105 | exact (congrArg (act (op f)) (congrArg₂ (fun u v => u - v) hx.symm hy.symm)).trans |
| 106 | (hp.trans (congrArg₂ (fun u v => u - v) (hr true) (hr false))) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.PairFormula.CM |