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.CommonPairSpecialization |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairImages |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EquationValues |
| 4 | |
| 5 | /-! # Common Pair Formula -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairFormula.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The raw TateComparison equation, specialized on the constructed common DVR, |
| 12 | is the equation for the original source Albanese images and the entire |
| 13 | multisets of original NeighborCounting reduced targets. -/ |
| 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)) ⟶ Ordinary.Locus.CM.componentFiber R a c)) |
| 33 | (lc : ∀ b, Witt.PointLift.CM.ComponentLift R hden a c (p b)) |
| 34 | |
| 35 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 36 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonPointEquation.CM.Raw |
| 37 | |
| 38 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 39 | local instance : CharZero (Witt.ArithmeticBase.CM.Generic.F q) := Witt.EvaluationDVR.CM.fractionCharZero q |
| 40 | |
| 41 | variable |
| 42 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 43 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 44 | (data : ∀ b, Intrinsic.EvaluationData.CM.Evaluation (L := Witt.ArithmeticBase.CM.Generic.F q) |
| 45 | (Source.RestrictedPlace.CM.choice M j) (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 46 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) active multiplicative hTorsionQuotient |
| 47 | (Witt.ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 48 | |
| 49 | local notation "CF" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.commonField M hM j hsplit R labels hlabels a hden c p lc |
| 50 | active multiplicative hTorsionQuotient data |
| 51 | |
| 52 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 53 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 54 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 55 | |
| 56 | variable |
| 57 | (hg : (Witt.PELSource.CM.heckeData M a C |
| 58 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) |
| 59 | (hgeometry : (Witt.PELSource.CM.heckeData M a C |
| 60 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 61 | (hIsogenyQuotient : (Witt.PELSource.CM.heckeData M a C |
| 62 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 63 | |
| 64 | local notation "source" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.sourcePoint M hM j hsplit R labels hlabels a hden c p lc C |
| 65 | active multiplicative hTorsionQuotient data |
| 66 | local notation "neighbors" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.neighbors M hM j hsplit R labels hlabels a hden c p lc C |
| 67 | active multiplicative hTorsionQuotient data hIsogenyQuotient |
| 68 | |
| 69 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 70 | |
| 71 | local notation "alg" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.scalarAlgebra M hM j hsplit R labels hlabels a hden c p lc |
| 72 | active multiplicative hTorsionQuotient data |
| 73 | local notation "tower" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.scalarTower M hM j hsplit R labels hlabels a hden c p lc |
| 74 | active multiplicative hTorsionQuotient data |
| 75 | local notation "val" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.valuationDVR M hM j hsplit R labels hlabels a hden c p lc |
| 76 | active multiplicative hTorsionQuotient data |
| 77 | local notation "emb" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.embedding M hM j hsplit R labels hlabels a hden c p lc |
| 78 | active multiplicative hTorsionQuotient data |
| 79 | |
| 80 | local notation "sx" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairImages.CM.sourceImage M j R a c p |
| 81 | local notation "rx" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairImages.CM.reducedImages M hM j hsplit R labels hlabels a hden c p lc |
| 82 | active multiplicative hTorsionQuotient data |
| 83 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EquationValues.CM.Hecke.originalOperator M j R a hden C |
| 84 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) hgeometry |
| 85 | 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) |
| 86 | |
| 87 | def Formula (f : (HD).EndK) (i : Fin 3) : Prop := |
| 88 | act (op f) (sx true - sx false) = (rx true i).sum - (rx false i).sum |
| 89 | |
| 90 | include hg hIsogenyQuotient in |
| 91 | theorem formula (i : Fin 3) (f : (HD).EndK) (hraw : TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) f) : |
| 92 | act (op f) (sx true - sx false) = (rx true i).sum - (rx false i).sum := by |
| 93 | let := alg |
| 94 | let := tower |
| 95 | have h := CommonPairSpecialization.CM.equation_explicit M hM j hsplit R labels hlabels a hden c p lc C |
| 96 | active multiplicative hTorsionQuotient data hgeometry hIsogenyQuotient i f hraw |
| 97 | exact EquationValues.CM.Hecke.equation_values M j R a hden C |
| 98 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) hgeometry val f |
| 99 | (source true) (source false) (neighbors true i) (neighbors false i) _ _ _ _ |
| 100 | (CommonPairImages.CM.source_image M hM j hsplit R labels hlabels a hden c p lc C |
| 101 | active multiplicative hTorsionQuotient data hgeometry true) |
| 102 | (CommonPairImages.CM.source_image M hM j hsplit R labels hlabels a hden c p lc C |
| 103 | active multiplicative hTorsionQuotient data hgeometry false) |
| 104 | (CommonPairImages.CM.neighbor_images M hM j hsplit R labels hlabels a hden c p lc C |
| 105 | active multiplicative hTorsionQuotient data hg hgeometry hIsogenyQuotient true i) |
| 106 | (CommonPairImages.CM.neighbor_images M hM j hsplit R labels hlabels a hden c p lc C |
| 107 | active multiplicative hTorsionQuotient data hg hgeometry hIsogenyQuotient false i) h |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairFormula.CM |