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.Local.Completion |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsCoefficientSplitting |
| 4 | |
| 5 | /-! # Labeled Good Prime -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LabeledGoodPrime.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual reduction and its conjugate labels supply every TateComparison |
| 12 | good-prime clause. The denominator condition follows from the residue |
| 13 | map on the original localized ring of integers. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] |
| 19 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 20 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) |
| 21 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 22 | (R : M.GoodIntegralReduction q j) |
| 23 | |
| 24 | include R in |
| 25 | theorem denominator_coprime : Nat.Coprime q M.arithmetic.denominator := by |
| 26 | have hu : IsUnit (M.arithmetic.denominator : ZMod q) := by |
| 27 | simpa only [map_natCast] using M.arithmetic.denominator_isUnit.map R.residue |
| 28 | exact ((ZMod.isUnit_iff_coprime _ _).mp hu).symm |
| 29 | |
| 30 | variable [IsGalois ℚ E] |
| 31 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) (a : M.Family) |
| 32 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence |
| 33 | ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 34 | |
| 35 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 36 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 37 | |
| 38 | omit [IsGalois ℚ E] in |
| 39 | theorem completion_apply |
| 40 | (x : ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) (w : Fin M.s × Bool) : |
| 41 | (HD).localCompletionMap x w = |
| 42 | Local.Completion.CM.completionLinear j M.extendedEmbedding x (labels w) := by |
| 43 | induction x using TensorProduct.inductionOn with |
| 44 | | tmul b c => rfl |
| 45 | | add x y hx hy => simp only [map_add, Pi.add_apply, hx, hy] |
| 46 | |
| 47 | theorem completion_bijective (hsplit : j.HasSplitCoordinates M.extendedEmbedding) : |
| 48 | Function.Bijective (HD).localCompletionMap := by |
| 49 | have h := Local.Completion.CM.completion_bijective j M.extendedEmbedding hsplit |
| 50 | constructor |
| 51 | · intro x y hxy |
| 52 | apply h.1 |
| 53 | funext τ |
| 54 | obtain ⟨w, rfl⟩ := labels.surjective τ |
| 55 | simpa only [completion_apply] using congrFun hxy w |
| 56 | · intro y |
| 57 | obtain ⟨x, hx⟩ := h.2 (fun τ => y (labels.symm τ)) |
| 58 | refine ⟨x, ?_⟩ |
| 59 | funext w |
| 60 | rw [completion_apply, hx] |
| 61 | exact congrArg y (labels.symm_apply_apply w) |
| 62 | |
| 63 | include R in |
| 64 | theorem good_prime (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 65 | (hlabels : ∀ (w : Fin M.s) (b : Bool), |
| 66 | labels (w, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (w, b)) : |
| 67 | (HD).IsGoodCompletelySplitPrime := by |
| 68 | refine ⟨completion_bijective M j labels a C hsplit, ?_, R.levelPrimeToQ a, |
| 69 | denominator_coprime M j R, ?_⟩ |
| 70 | · intro w b x |
| 71 | change j.localCharacter M.extendedEmbedding (labels (w, !b)) x = |
| 72 | j.localCharacter M.extendedEmbedding (labels (w, b)) |
| 73 | (NumberField.IsCMField.ringOfIntegersComplexConj E x) |
| 74 | rw [hlabels] |
| 75 | exact (AbelianScheme.FrobeniusKernel.CMPointsCoefficientSplitting.Construction.l45LocalCharacter_conjugation |
| 76 | j M.extendedEmbedding (labels (w, b)) x).symm |
| 77 | · exact (Nat.coprime_pow_right_iff (by decide : 0 < 2) _ _).mp |
| 78 | (R.polarizationPrimeToQ a) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LabeledGoodPrime.CM |