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.PairEquation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonWittEvaluation |
| 3 | |
| 4 | /-! # Common Pair Equation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct the common finite field, its valuation ring, and both |
| 11 | field embeddings from the actual pair of NeighborCounting evaluations. The original |
| 12 | TateComparison pair equation then holds on this constructed arithmetic test. -/ |
| 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 | (c : Fin (M.componentCount a)) |
| 30 | (p : Bool → (Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ Ordinary.Locus.CM.componentFiber R a c)) |
| 31 | (lc : ∀ b, Witt.PointLift.CM.ComponentLift R hden a c (p b)) |
| 32 | |
| 33 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 34 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonPointEquation.CM.Raw |
| 35 | |
| 36 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 37 | local instance : CharZero (Witt.ArithmeticBase.CM.Generic.F q) := Witt.EvaluationDVR.CM.fractionCharZero q |
| 38 | |
| 39 | variable |
| 40 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 41 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 42 | (data : ∀ b, Intrinsic.EvaluationData.CM.Evaluation (L := Witt.ArithmeticBase.CM.Generic.F q) |
| 43 | (Source.RestrictedPlace.CM.choice M j) (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 44 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) active multiplicative hTorsionQuotient |
| 45 | (Witt.ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 46 | |
| 47 | abbrev commonField := CommonWittEvaluation.CM.field (q := q) |
| 48 | (data true).field.carrier (data false).field.carrier |
| 49 | |
| 50 | local notation "CF" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.commonField M hM j hsplit R labels hlabels a hden c p lc |
| 51 | active multiplicative hTorsionQuotient data |
| 52 | |
| 53 | def embedding (b : Bool) : (data b).field.carrier →ₐ[Witt.ArithmeticBase.CM.Generic.F q] (CF).carrier := |
| 54 | match b with |
| 55 | | true => (CF).left |
| 56 | | false => (CF).right |
| 57 | |
| 58 | abbrev scalarAlgebra : Algebra (Witt.ArithmeticBase.CM.W (q := q)) (CF).carrier := |
| 59 | CommonWittEvaluation.CM.scalarAlgebra (q := q) (data true).field.carrier (data false).field.carrier |
| 60 | |
| 61 | theorem scalarTower : letI := (scalarAlgebra M hM j hsplit R labels hlabels a hden c p lc |
| 62 | active multiplicative hTorsionQuotient data) |
| 63 | IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) (CF).carrier := |
| 64 | CommonWittEvaluation.CM.scalarTower (q := q) (data true).field.carrier (data false).field.carrier |
| 65 | |
| 66 | def valuationDVR : letI := (scalarAlgebra M hM j hsplit R labels hlabels a hden c p lc |
| 67 | active multiplicative hTorsionQuotient data) |
| 68 | Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) (CF).carrier := |
| 69 | CommonWittEvaluation.CM.valuationDVR (q := q) (data true).field.carrier (data false).field.carrier |
| 70 | |
| 71 | local notation "emb" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM.embedding M hM j hsplit R labels hlabels a hden c p lc |
| 72 | active multiplicative hTorsionQuotient data |
| 73 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 74 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 75 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 76 | |
| 77 | variable |
| 78 | (hgeometry : (Witt.PELSource.CM.heckeData M a C |
| 79 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 80 | (hIsogenyQuotient : (Witt.PELSource.CM.heckeData M a C |
| 81 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 82 | |
| 83 | def sourcePoint (b : Bool) : Over.mk (EvaluationGenericTest.CM.originalBase (L := (CF).carrier) j) ⟶ (HD).space := |
| 84 | Witt.PairEquation.CM.sourcePoint (L := (CF).carrier) M hM j hsplit R labels hlabels a hden c p lc C b |
| 85 | |
| 86 | def neighbors (b : Bool) (i : Fin 3) : Multiset |
| 87 | (Over.mk (EvaluationGenericTest.CM.originalBase (L := (CF).carrier) j) ⟶ (HD).space) := |
| 88 | Witt.PairEquation.CM.neighbors M hM j hsplit R labels hlabels a hden c p lc C |
| 89 | active multiplicative hTorsionQuotient data emb hIsogenyQuotient b i |
| 90 | |
| 91 | theorem point_equation (i : Fin 3) (f : (HD).EndK) (hraw : TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) f) : |
| 92 | Source.TestEquation.CM.PointEquation HD hgeometry |
| 93 | (Over.mk (EvaluationGenericTest.CM.originalBase (L := (CF).carrier) j)) f |
| 94 | (sourcePoint M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data true) |
| 95 | (sourcePoint M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data false) |
| 96 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data hIsogenyQuotient true i) |
| 97 | (neighbors M hM j hsplit R labels hlabels a hden c p lc C active multiplicative hTorsionQuotient data hIsogenyQuotient false i) := |
| 98 | Witt.PairEquation.CM.point_equation M hM j hsplit R labels hlabels a hden c p lc C |
| 99 | active multiplicative hTorsionQuotient data emb hgeometry hIsogenyQuotient i f hraw |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommonPairEquation.CM |