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.CMExtraction.FixedClosurePointPrime |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ReductionOrdinary |
| 3 | |
| 4 | /-! # Fixed Closure Ordinary Prime -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FixedClosureOrdinaryPrime.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct ordinary points on every geometric component while retaining |
| 11 | any subsequently selected comparison closure, at the same chosen prime. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FixedClosurePointPrime.ParameterChoices |
| 15 | |
| 16 | theorem exists_fixed_closure_ordinary_component_prime |
| 17 | (hSplitPrimes : PELModuli.CMPoints.Arithmetic.SplitPrimesInput) |
| 18 | (hHilb : PELModuli.IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : PELModuli.IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 19 | (hCMAbelianVarietyA : PELModuli.CMPoints.Descent.AbelianInput) (hCMAbelianVarietyM : PELModuli.CMPoints.Descent.ModuliInput) |
| 20 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 21 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 22 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 23 | {Idx : Type} [Finite Idx] |
| 24 | (L : Idx → Type) [∀ i, Field (L i)] [∀ i, NumberField (L i)] |
| 25 | (excluded : Finset ℕ) (bound : ℕ) : |
| 26 | ∃ (q : ℕ) (hq : q.Prime), |
| 27 | letI : Fact q.Prime := ⟨hq⟩ |
| 28 | bound < q ∧ q ∉ excluded ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt E q ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt K q ∧ |
| 29 | PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt M.arithmetic.extension.carrier q ∧ (∀ i, PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt (L i) q) ∧ |
| 30 | ∀ (jC : ParameterChoices.Qbar →+* ℂ) (ι : ParameterChoices.Qbar →+* AlgebraicClosure ℚ_[q]), |
| 31 | ∃ j : M.QadicChoice q, |
| 32 | j.complexClosure = jC ∧ j.iota = ι ∧ |
| 33 | j.fieldInClosure = (CompatibleQadicChoice.ParameterChoices.fieldInChosenClosure jC M.arithmetic.embedding).toRingHom ∧ |
| 34 | j.HasSplitCoordinates M.extendedEmbedding ∧ |
| 35 | ∃ R : M.GoodIntegralReduction q j, |
| 36 | ∀ (a : M.Family) (t : Fin (M.componentCount a)), |
| 37 | ∃ y : (R.geometricComponent a t).left, |
| 38 | R.IsOrdinary a ((R.geometricComponentInclusion a t).left y) := by |
| 39 | classical |
| 40 | let I := (a : M.Family) × Fin (M.componentCount a) |
| 41 | let C (u : I) := Classical.choice |
| 42 | (M.exists_CM_spread_data hHilb hEnd hCMAbelianVarietyA hCMAbelianVarietyM hM u.1 u.2) |
| 43 | let T (u : I) := Classical.choice (C u).exists_integral_component_data |
| 44 | choose D hD hordinary using fun u : I => (T u).exists_ordinary_bound |
| 45 | let B := ∑ u : I, (D u + (T u).denominator) |
| 46 | obtain ⟨dSplit, hdSplit⟩ := PELModuli.CMPoints.SplitCoordinates.exists_split_coordinates_bound E |
| 47 | let F (u : I) := (T u).base.extension.carrier |
| 48 | let iF (u : I) : M.arithmetic.extension.carrier →+* F u := (C u).originalFieldEmbedding |
| 49 | obtain ⟨q, hq, hb, hx, hE, hK, hBase, hL, _, hchoices⟩ := |
| 50 | FixedClosurePointPrime.ParameterChoices.exists_fixed_closure_point_field_prime hSplitPrimes M hM F iF L excluded |
| 51 | (max bound (max dSplit B)) |
| 52 | let : Fact q.Prime := ⟨hq⟩ |
| 53 | refine ⟨q, hq, lt_of_le_of_lt (le_max_left _ _) hb, hx, hE, hK, hBase, hL, ?_⟩ |
| 54 | intro jC ι |
| 55 | obtain ⟨j, fF, hJC, hJI, hJF, hfF, hsplit, ⟨R⟩⟩ := hchoices jC ι |
| 56 | have hlarge : max dSplit B < q := lt_of_le_of_lt (le_max_right _ _) hb |
| 57 | have hB : B < q := lt_of_le_of_lt (le_max_right _ _) hlarge |
| 58 | have hsum (u : I) : D u + (T u).denominator ≤ B := |
| 59 | Finset.single_le_sum (fun v _ => Nat.zero_le (D v + (T v).denominator)) (Finset.mem_univ u) |
| 60 | have hbound (u : I) : D u < q := |
| 61 | lt_of_le_of_lt ((Nat.le_add_right _ _).trans (hsum u)) hB |
| 62 | have hden (u : I) : (T u).denominator < q := |
| 63 | lt_of_le_of_lt ((Nat.le_add_left _ _).trans (hsum u)) hB |
| 64 | have hcop (u : I) : q.Coprime (T u).base.denominator := |
| 65 | hq.coprime_iff_not_dvd.mpr |
| 66 | (Nat.not_dvd_of_pos_of_lt (Nat.pos_of_ne_zero (T u).denominator_ne_zero) (hden u)) |
| 67 | let jT (u : I) := PELModuli.CMPoints.LocalPadic.qadicChoiceOfEmbedding (T u).base.embedding (fF u) |
| 68 | have hjT (u : I) : (jT u).HasSplitCoordinates (C u).coefficientEmbedding := |
| 69 | hdSplit _ _ _ q (jT u) (lt_of_le_of_lt (le_max_left _ _) hlarge) |
| 70 | have hf (u : I) : ((jT u).completion.toRingHom.comp |
| 71 | (NumberField.FinitePlace.embedding (jT u).prime)).comp (C u).originalFieldEmbedding = |
| 72 | j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime) := |
| 73 | (congrArg (fun f => f.comp (C u).originalFieldEmbedding) |
| 74 | (PELModuli.CMPoints.CompatiblePrime.qadicChoiceOfEmbedding_generic (T u).base.embedding (fF u))).trans (hfF u) |
| 75 | refine ⟨j, hJC, hJI, hJF, hsplit, R, ?_⟩ |
| 76 | intro a t |
| 77 | let u : I := ⟨a, t⟩ |
| 78 | let x₀ := IsLocalRing.closedPoint (AlgebraicClosure (ZMod q)) |
| 79 | let y := (T u).componentPoint R (jT u) (hcop u) (hf u) x₀ |
| 80 | refine ⟨y, ?_⟩ |
| 81 | have hgood : q.Coprime (∏ i, (M.datum a).polarizationType i) := |
| 82 | (R.polarizationPrimeToQ a).of_dvd_right (dvd_pow_self _ (by decide : 2 ≠ 0)) |
| 83 | have hc := hordinary u q hq (jT u) (hjT u) (hbound u) hgood |
| 84 | have ho := (T u).isOrdinary_of_integral_section_counts R (jT u) (hcop u) (hf u) hc |
| 85 | ((T u).familyPoint R (jT u) (hcop u) (hf u) x₀) ⟨x₀, rfl⟩ |
| 86 | exact (show (T u).familyPoint R (jT u) (hcop u) (hf u) x₀ = |
| 87 | (R.geometricComponentInclusion a t).left y from Scheme.Hom.comp_apply _ _ _ ) ▸ ho |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FixedClosureOrdinaryPrime.Ordinary |