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.Constructed.IntrinsicReduction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LabeledGoodPrime |
| 3 | |
| 4 | /-! # Ordinary Prime -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.OrdinaryPrime.CM.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Choose arbitrarily large split ordinary primes from the complete |
| 11 | named inputs, retaining all excluded primes and auxiliary fields. The |
| 12 | same actual models carry the constructed good-prime and native reduction |
| 13 | data; no ordinary splitting or operator matching is an input. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Prerequisites |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Counting.CM |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | /-- Complete splitting is preserved by an isomorphism of number fields. -/ |
| 22 | private theorem splitsCompletelyAt_of_ringEquiv |
| 23 | {F G : Type*} [Field F] [NumberField F] [Field G] [NumberField G] |
| 24 | (e : F ≃+* G) {q : ℕ} |
| 25 | (h : PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt F q) : |
| 26 | PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt G q := by |
| 27 | obtain ⟨h⟩ := h |
| 28 | let eInt := NumberField.RingOfIntegers.mapRingEquiv e |
| 29 | have hIdeal : Ideal.span ({(q : NumberField.RingOfIntegers G)} : Set _) = |
| 30 | (Ideal.span ({(q : NumberField.RingOfIntegers F)} : Set _)).map eInt.toRingHom := by |
| 31 | simp [Ideal.map_span] |
| 32 | have hdim : Module.finrank ℚ F = Module.finrank ℚ G := |
| 33 | e.toRatAlgEquiv.toLinearEquiv.finrank_eq |
| 34 | unfold PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt |
| 35 | rw [← hdim] |
| 36 | exact ⟨(Ideal.quotientEquiv _ _ eInt hIdeal).symm.trans h⟩ |
| 37 | |
| 38 | /-- Lifting the finite index type and its fields recovers the same input |
| 39 | for families in the base universe. -/ |
| 40 | private theorem cmPointsInput_base |
| 41 | (hCMPoints : AbelianScheme.FrobeniusKernel.CMPoints.Construction.CMPointsInput.{u, v}) : |
| 42 | AbelianScheme.FrobeniusKernel.CMPoints.Construction.CMPointsInput.{0, 0} := by |
| 43 | intro E K _ _ _ _ _ _ _ M hM I _ L _ _ excluded bound |
| 44 | let fields : ULift.{u} I → Type v := fun i => ULift.{v} (L i.down) |
| 45 | let (i : ULift.{u} I) : NumberField (fields i) := |
| 46 | NumberField.of_ringEquiv (L i.down) (fields i) |
| 47 | (ULift.ringEquiv : fields i ≃+* L i.down).symm |
| 48 | obtain ⟨q, hq, hb, hex, hE, hK, hExt, hL, j, hsplit, R, hgeom⟩ := |
| 49 | hCMPoints E K M hM fields excluded bound |
| 50 | refine ⟨q, hq, hb, hex, hE, hK, hExt, ?_, j, hsplit, R, hgeom⟩ |
| 51 | intro i |
| 52 | exact splitsCompletelyAt_of_ringEquiv |
| 53 | (ULift.ringEquiv : fields ⟨i⟩ ≃+* L i) (hL ⟨i⟩) |
| 54 | |
| 55 | def Conclusion |
| 56 | (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 57 | (E K : Type) [Field E] [NumberField E] |
| 58 | [IsGalois ℚ E] [NumberField.IsCMField E] [Field K] [NumberField K] |
| 59 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 60 | {I : Type u} [Fintype I] (L : I → Type v) [∀ i, Field (L i)] [∀ i, NumberField (L i)] |
| 61 | (excluded : Finset ℕ) (bound : ℕ) : Prop := |
| 62 | ∃ (q : ℕ) (hq : q.Prime), |
| 63 | let _ : Fact q.Prime := ⟨hq⟩ |
| 64 | bound < q ∧ q ∉ excluded ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt E q ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt K q ∧ |
| 65 | PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt M.arithmetic.extension.carrier q ∧ |
| 66 | (∀ i, PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt (L i) q) ∧ |
| 67 | ∃ (j : M.QadicChoice q) (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 68 | (R : M.GoodIntegralReduction q j), AbelianScheme.FrobeniusKernel.CMPoints.Construction.GeometricConclusion R ∧ |
| 69 | ∃ labels : (Fin M.s × Bool) ≃ Gal(E/ℚ), |
| 70 | ∃ hlabels : ∀ (w : Fin M.s) (b : Bool), |
| 71 | labels (w, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (w, b), |
| 72 | labels (⟨0, hM.1⟩, false) = PELModuli.CMPoints.Arithmetic.rationalConjugation E ∧ |
| 73 | (∀ (a : M.Family) |
| 74 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence |
| 75 | ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)), |
| 76 | (Witt.PELSource.CM.heckeData M a C |
| 77 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) ∧ |
| 78 | ∀ a : M.Family, |
| 79 | let D := FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 80 | ∃ (Y : D.OrdinaryPoint → Multiset D.OrdinaryPoint) (Z : D.OrdinaryPoint → D.OrdinaryPoint), |
| 81 | Intrinsic.ReductionFamily.CM.IntrinsicFamily.Reductions M hM j hsplit R labels hlabels a |
| 82 | (LabeledGoodPrime.CM.denominator_coprime M j R) |
| 83 | ⟨0, hM.1⟩ (IntrinsicReduction.CM.Intrinsic.multiplicative M hM labels a) hTorsionQuotient Z Y ∧ |
| 84 | (∀ x, (Y x).map D.ordinaryFrobenius = Y (D.ordinaryFrobenius x)) ∧ |
| 85 | (∀ x, D.ordinaryFrobenius (Z x) = Z (D.ordinaryFrobenius x)) |
| 86 | |
| 87 | theorem exists_prime |
| 88 | (hNeighborCounting : Neighbor.Counting.CM.NeighborCountingInput) (hFrobeniusKernel : Isogenies.NeighborCounting.Prerequisites.FullFrobeniusKernelInput) |
| 89 | (hCMPoints : AbelianScheme.FrobeniusKernel.CMPoints.Construction.CMPointsInput.{u, v}) (hCartierDuality : AbelianScheme.FrobeniusKernel.CartierDuality.Construction.FullCartierDualityInput.{0}) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput.{0}) |
| 90 | (E K : Type) [Field E] [NumberField E] |
| 91 | [IsGalois ℚ E] [NumberField.IsCMField E] [Field K] [NumberField K] |
| 92 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 93 | {I : Type u} [Fintype I] (L : I → Type v) [∀ i, Field (L i)] [∀ i, NumberField (L i)] |
| 94 | (excluded : Finset ℕ) (bound : ℕ) : |
| 95 | Conclusion hTorsionQuotient E K M hM L excluded bound := by |
| 96 | obtain ⟨q, hq, hb, hex, hE, hK, hExt, hL, j, hsplit, R, hgeom⟩ := |
| 97 | hCMPoints E K M hM L excluded bound |
| 98 | let : Fact q.Prime := ⟨hq⟩ |
| 99 | obtain ⟨labels, hlabels, hactive, hred⟩ := |
| 100 | IntrinsicReduction.CM.Intrinsic.exists_reductions M hM j hsplit R |
| 101 | hNeighborCounting hFrobeniusKernel (cmPointsInput_base hCMPoints) hCartierDuality hTorsionQuotient hgeom (LabeledGoodPrime.CM.denominator_coprime M j R) |
| 102 | exact ⟨q, hq, hb, hex, hE, hK, hExt, hL, j, hsplit, R, hgeom, |
| 103 | labels, hlabels, hactive, fun a C => |
| 104 | LabeledGoodPrime.CM.good_prime M j R labels a C hsplit hlabels, hred⟩ |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.OrdinaryPrime.CM.Ordinary |