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.Witt.ComponentIntrinsicLift |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.CanonicalLabels |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EvaluationData |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonCanonicalTestEquation |
| 5 | |
| 6 | /-! # Pair Equation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PairEquation.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Derive the finite TateComparison equation for two actual native NeighborCounting |
| 13 | lifts in the same original component. The original evaluated branch |
| 14 | labels are preserved on any common field and its geometric test. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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, 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 (ArithmeticBase.CM.Generic.F q) := 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 := 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 | (ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 48 | {L : Type} [Field L] [Algebra (ArithmeticBase.CM.Generic.F q) L] |
| 49 | (σ : ∀ b, (data b).field.carrier →ₐ[ArithmeticBase.CM.Generic.F q] L) |
| 50 | {L' : Type} [Field L'] [IsAlgClosed L'] [Algebra (ArithmeticBase.CM.Generic.F q) L'] (τ : L →ₐ[ArithmeticBase.CM.Generic.F q] L') |
| 51 | (hgeometry : (PELSource.CM.heckeData M a C |
| 52 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 53 | (hIsogenyQuotient : (PELSource.CM.heckeData M a C |
| 54 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 55 | |
| 56 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 57 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 58 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 59 | |
| 60 | def sourcePoint (b : Bool) : Over.mk (EvaluationGenericTest.CM.originalBase (L := L) j) ⟶ (HD).space := |
| 61 | FieldPoint.CM.fieldPoint (L := L) (M.integral a).toOver |
| 62 | (Intrinsic.LiftRecovery.CM.schemeLift M hM j hsplit R labels hlabels a hden |
| 63 | (ComponentIntrinsicLift.CM.Intrinsic.point M j R a c (p b)) |
| 64 | (ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 65 | |
| 66 | def branchLabels (b : Bool) (i : Fin 3) : ULift (Fin ((data b).field.count (some i))) ≃ |
| 67 | ((HD).correspondence (typ i)).Fiber (sourcePoint (L := L) M hM j hsplit R labels hlabels a hden c p lc C b) := |
| 68 | CanonicalLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden |
| 69 | (ComponentIntrinsicLift.CM.Intrinsic.point M j R a c (p b)) |
| 70 | (ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b)) |
| 71 | C active multiplicative hTorsionQuotient (data b).field (σ b) hIsogenyQuotient i |
| 72 | |
| 73 | def neighbors (b : Bool) (i : Fin 3) : Multiset (Over.mk |
| 74 | (EvaluationGenericTest.CM.originalBase (L := L) j) ⟶ (HD).space) := |
| 75 | Finset.univ.val.map (fun β => ((HD).correspondence (typ i)).endpoint |
| 76 | (branchLabels M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient b i β)) |
| 77 | |
| 78 | include τ in |
| 79 | theorem point_equation_over_geometric_test (i : Fin 3) (f : (HD).EndK) (hraw : TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) f) : |
| 80 | Source.TestEquation.CM.PointEquation HD hgeometry |
| 81 | (Over.mk (EvaluationGenericTest.CM.originalBase (L := L) j)) f |
| 82 | (sourcePoint (L := L) M hM j hsplit R labels hlabels a hden c p lc C true) |
| 83 | (sourcePoint (L := L) M hM j hsplit R labels hlabels a hden c p lc C false) |
| 84 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient true i) |
| 85 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient false i) := by |
| 86 | apply @ComparisonCanonicalTestEquation.CM.TateSource.point_equation E M.arithmetic.extension.carrier _ _ _ _ _ M.s q _ |
| 87 | HD hgeometry (typ i) f (Over.mk (EvaluationGenericTest.CM.originalBase (L := L) j)) L' _ _ |
| 88 | (EvaluationGenericTest.CM.originalBase (L := L') j) |
| 89 | (AlgebraFieldTest.CM.map (ArithmeticBase.CM.Generic.numberFieldBase j) τ) |
| 90 | (AlgebraFieldTest.CM.map_epi (ArithmeticBase.CM.Generic.numberFieldBase j) τ) c |
| 91 | (FieldPoint.CM.fieldPoint (L := L) ((M.components a).S c) (lc true)) |
| 92 | (FieldPoint.CM.fieldPoint (L := L) ((M.components a).S c) (lc false)) |
| 93 | _ _ _ _ _ _ |
| 94 | (ComponentIntrinsicLift.CM.Intrinsic.fieldPoint_component M hM j hsplit R labels hlabels a hden c (p true) (lc true) C _) |
| 95 | (ComponentIntrinsicLift.CM.Intrinsic.fieldPoint_component M hM j hsplit R labels hlabels a hden c (p false) (lc false) C _) |
| 96 | (branchLabels M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient true i) |
| 97 | (branchLabels M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient false i) |
| 98 | (CanonicalLabels.CM.Geometric.branchEquiv M hM j hsplit R labels hlabels a hden |
| 99 | (ComponentIntrinsicLift.CM.Intrinsic.point M j R a c (p true)) |
| 100 | (ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p true) (lc true)) |
| 101 | C active multiplicative hTorsionQuotient (data true).field (σ true) hIsogenyQuotient τ i) |
| 102 | (CanonicalLabels.CM.Geometric.branchEquiv M hM j hsplit R labels hlabels a hden |
| 103 | (ComponentIntrinsicLift.CM.Intrinsic.point M j R a c (p false)) |
| 104 | (ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p false) (lc false)) |
| 105 | C active multiplicative hTorsionQuotient (data false).field (σ false) hIsogenyQuotient τ i) |
| 106 | hraw |
| 107 | |
| 108 | theorem point_equation (i : Fin 3) (f : (HD).EndK) (hraw : TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) f) : |
| 109 | Source.TestEquation.CM.PointEquation HD hgeometry |
| 110 | (Over.mk (EvaluationGenericTest.CM.originalBase (L := L) j)) f |
| 111 | (sourcePoint (L := L) M hM j hsplit R labels hlabels a hden c p lc C true) |
| 112 | (sourcePoint (L := L) M hM j hsplit R labels hlabels a hden c p lc C false) |
| 113 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient true i) |
| 114 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data σ hIsogenyQuotient false i) := by |
| 115 | exact point_equation_over_geometric_test M hM j hsplit R labels hlabels a hden c p lc C |
| 116 | active multiplicative hTorsionQuotient data σ (IsScalarTower.toAlgHom (ArithmeticBase.CM.Generic.F q) L (AlgebraicClosure L)) |
| 117 | hgeometry hIsogenyQuotient i f hraw |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PairEquation.CM |