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.PELModuli.CMPoints.Models |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Splitting |
| 3 | |
| 4 | /-! # Good Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual arithmetic localization admits the chosen residue map away |
| 11 | from its denominator. All level and polarization exclusions are finite. -/ |
| 12 | |
| 13 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 14 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 15 | (M : Models.RankThreePELModel E K) |
| 16 | |
| 17 | def Models.RankThreePELModel.polarizationDegree (a : M.Family) : ℕ := |
| 18 | (∏ i, (M.datum a).polarizationType i) ^ 2 |
| 19 | |
| 20 | /-- A finite bound incorporating the actual denominator, levels and degrees. -/ |
| 21 | def Models.RankThreePELModel.goodReductionBound : ℕ := |
| 22 | max M.arithmetic.denominator |
| 23 | (Finset.univ.sup fun a : M.Family => max (M.level a) (M.polarizationDegree a)) |
| 24 | |
| 25 | theorem Models.RankThreePELModel.polarizationDegree_pos (hM : M.HasPrescribedBallPeriods) (a : M.Family) : |
| 26 | 0 < M.polarizationDegree a := by |
| 27 | have hP := (hM.2.2 a).1 |
| 28 | have hp : ∀ i, 0 < (M.datum a).polarizationType i := by |
| 29 | exact hP.2.2.2.2.2.2.2.2.2.2.2.2.2.1 |
| 30 | exact pow_pos (Finset.prod_pos (fun i _ => hp i)) _ |
| 31 | |
| 32 | /-- Extend the specified residue character to the literal arithmetic base. -/ |
| 33 | def Models.RankThreePELModel.goodIntegralReduction_of_coprime |
| 34 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 35 | (hd : ¬q ∣ M.arithmetic.denominator) |
| 36 | (hlevel : ∀ a : M.Family, Nat.Coprime q (M.level a)) |
| 37 | (hpolarization : ∀ a : M.Family, Nat.Coprime q (M.polarizationDegree a)) : |
| 38 | M.GoodIntegralReduction q j := by |
| 39 | have hu : IsUnit (j.residue |
| 40 | (M.arithmetic.denominator : NumberField.RingOfIntegers M.arithmetic.extension.carrier)) := by |
| 41 | rw [map_natCast, isUnit_iff_ne_zero, ne_eq, ZMod.natCast_eq_zero_iff] |
| 42 | exact hd |
| 43 | exact { |
| 44 | residue := IsLocalization.Away.lift |
| 45 | (M.arithmetic.denominator : NumberField.RingOfIntegers M.arithmetic.extension.carrier) hu |
| 46 | residue_compatibility := IsLocalization.Away.lift_comp _ hu |
| 47 | levelPrimeToQ := hlevel |
| 48 | polarizationPrimeToQ := hpolarization } |
| 49 | |
| 50 | /-- No further reduction data are needed after the prime exceeds the bound. -/ |
| 51 | def Models.RankThreePELModel.goodIntegralReduction_of_large_prime (hM : M.HasPrescribedBallPeriods) |
| 52 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) (hq : M.goodReductionBound < q) : |
| 53 | M.GoodIntegralReduction q j := by |
| 54 | have hsmall (a : M.Family) : |
| 55 | max (M.level a) (M.polarizationDegree a) < q := |
| 56 | lt_of_le_of_lt ((Finset.le_sup (f := fun a : M.Family => |
| 57 | max (M.level a) (M.polarizationDegree a)) (Finset.mem_univ a)).trans |
| 58 | (le_max_right _ _)) hq |
| 59 | apply M.goodIntegralReduction_of_coprime j |
| 60 | · exact Nat.not_dvd_of_pos_of_lt |
| 61 | (Nat.pos_of_ne_zero M.arithmetic.denominator_ne_zero) |
| 62 | (lt_of_le_of_lt (le_max_left _ _) hq) |
| 63 | · intro a |
| 64 | apply (Fact.out : q.Prime).coprime_iff_not_dvd.mpr |
| 65 | exact Nat.not_dvd_of_pos_of_lt |
| 66 | (lt_of_lt_of_le (by decide : 0 < 3) (hM.2.2 a).2.2.1.1) |
| 67 | (lt_of_le_of_lt (le_max_left _ _) (hsmall a)) |
| 68 | · intro a |
| 69 | apply (Fact.out : q.Prime).coprime_iff_not_dvd.mpr |
| 70 | exact Nat.not_dvd_of_pos_of_lt (M.polarizationDegree_pos hM a) |
| 71 | (lt_of_le_of_lt (le_max_right _ _) (hsmall a)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |