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.RepresentationTheory.Hecke.Coefficients |
| 2 | import OAI.RepresentationTheory.Hecke.DoubleCoset |
| 3 | |
| 4 | /-! # Satake -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.Satake.CosetCalculus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized integral transform of the two actual double-coset indicators. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory IsLocalRing |
| 13 | open scoped Classical BigOperators |
| 14 | |
| 15 | variable {R F : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 16 | [Field F] [Algebra R F] [IsFractionRing R F] |
| 17 | [MeasurableSpace F] [MeasurableAdd F] [MeasurableNeg F] |
| 18 | |
| 19 | def torusMonomial (α : Fin 3 → ℂˣ) (a : Fin 3 → ℤ) : ℂ := |
| 20 | (α 0 : ℂ) ^ a 0 * (α 1 : ℂ) ^ a 1 * (α 2 : ℂ) ^ a 2 |
| 21 | |
| 22 | def rawDoubleCoset (π : R) (a : Fin 3 → ℤ) (M : CosetCalculusArithmeticMeasure.Mat F) : ℂ := |
| 23 | if DoubleCoset.Calculus.InDoubleCoset π a M then 1 else 0 |
| 24 | |
| 25 | /-- Upper-unipotent integration with each additive integral normalized by vol(O) = 1. |
| 26 | The exponent a₂-a₀ is the square root of the upper Borel modulus. -/ |
| 27 | def normalizedSatake (q : ℕ) (π : R) (μ : Measure F) (f : CosetCalculusArithmeticMeasure.Mat F → ℂ) |
| 28 | (α : Fin 3 → ℂˣ) : ℂ := |
| 29 | ∑' a : Fin 3 → ℤ, (q : ℂ) ^ (a 2 - a 0) * |
| 30 | (∫ x, ∫ z, ∫ y, f (CosetCalculusArithmeticMeasure.triangular (algebraMap R F π) a x y z) ∂μ ∂μ ∂μ) * |
| 31 | torusMonomial α a |
| 32 | |
| 33 | theorem normalized_firstCoefficient [Finite (ResidueField R)] |
| 34 | (π : R) (hπ : Irreducible π) (μ : Measure F) [μ.IsAddLeftInvariant] |
| 35 | (hO : MeasurableSet (Set.range (algebraMap R F))) |
| 36 | (hvol : μ (Set.range (algebraMap R F)) = 1) (a : Fin 3 → ℤ) : |
| 37 | (Nat.card (ResidueField R) : ℂ) ^ (a 2 - a 0) * Coefficients.CosetCalculus.firstCoefficient π μ a = |
| 38 | if a = ![1, 0, 0] ∨ a = ![0, 1, 0] ∨ a = ![0, 0, 1] |
| 39 | then (Nat.card (ResidueField R) : ℂ) else 0 := by |
| 40 | have hq : (Nat.card (ResidueField R) : ℂ) ≠ 0 := by |
| 41 | exact_mod_cast (Nat.card_pos (α := ResidueField R)).ne' |
| 42 | by_cases h1 : a = ![1, 0, 0] |
| 43 | · subst a |
| 44 | rw [Coefficients.CosetCalculus.firstCoefficient_formula π hπ μ hO hvol] |
| 45 | norm_num [Matrix.cons_val_two] |
| 46 | field_simp |
| 47 | by_cases h2 : a = ![0, 1, 0] |
| 48 | · subst a |
| 49 | rw [Coefficients.CosetCalculus.firstCoefficient_formula π hπ μ hO hvol] |
| 50 | norm_num [Matrix.cons_val_two] |
| 51 | by_cases h3 : a = ![0, 0, 1] |
| 52 | · subst a |
| 53 | rw [Coefficients.CosetCalculus.firstCoefficient_formula π hπ μ hO hvol] |
| 54 | norm_num [Matrix.cons_val_two] |
| 55 | simp [Coefficients.CosetCalculus.firstCoefficient_formula π hπ μ hO hvol, h1, h2, h3] |
| 56 | |
| 57 | theorem normalized_secondCoefficient [Finite (ResidueField R)] |
| 58 | (π : R) (hπ : Irreducible π) (μ : Measure F) [μ.IsAddLeftInvariant] |
| 59 | (hO : MeasurableSet (Set.range (algebraMap R F))) |
| 60 | (hvol : μ (Set.range (algebraMap R F)) = 1) (a : Fin 3 → ℤ) : |
| 61 | (Nat.card (ResidueField R) : ℂ) ^ (a 2 - a 0) * Coefficients.CosetCalculus.secondCoefficient π μ a = |
| 62 | if a = ![1, 1, 0] ∨ a = ![1, 0, 1] ∨ a = ![0, 1, 1] |
| 63 | then (Nat.card (ResidueField R) : ℂ) else 0 := by |
| 64 | have hq : (Nat.card (ResidueField R) : ℂ) ≠ 0 := by |
| 65 | exact_mod_cast (Nat.card_pos (α := ResidueField R)).ne' |
| 66 | by_cases h1 : a = ![1, 1, 0] |
| 67 | · subst a |
| 68 | rw [Coefficients.CosetCalculus.secondCoefficient_formula π hπ μ hO hvol] |
| 69 | norm_num [Matrix.cons_val_two] |
| 70 | field_simp |
| 71 | by_cases h2 : a = ![1, 0, 1] |
| 72 | · subst a |
| 73 | rw [Coefficients.CosetCalculus.secondCoefficient_formula π hπ μ hO hvol] |
| 74 | norm_num [Matrix.cons_val_two] |
| 75 | by_cases h3 : a = ![0, 1, 1] |
| 76 | · subst a |
| 77 | rw [Coefficients.CosetCalculus.secondCoefficient_formula π hπ μ hO hvol] |
| 78 | norm_num [Matrix.cons_val_two] |
| 79 | simp [Coefficients.CosetCalculus.secondCoefficient_formula π hπ μ hO hvol, h1, h2, h3] |
| 80 | |
| 81 | theorem satake_first_minuscule [Finite (ResidueField R)] |
| 82 | (π : R) (hπ : Irreducible π) (μ : Measure F) [μ.IsAddLeftInvariant] |
| 83 | (hO : MeasurableSet (Set.range (algebraMap R F))) |
| 84 | (hvol : μ (Set.range (algebraMap R F)) = 1) (α : Fin 3 → ℂˣ) : |
| 85 | normalizedSatake (Nat.card (ResidueField R)) π μ (rawDoubleCoset π ![1, 0, 0]) α = |
| 86 | (Nat.card (ResidueField R) : ℂ) * ((α 0 : ℂ) + (α 1 : ℂ) + (α 2 : ℂ)) := by |
| 87 | unfold normalizedSatake |
| 88 | simp_rw [rawDoubleCoset, DoubleCoset.Calculus.first_doubleCoset_reversal, ← DoubleCoset.Calculus.firstCondition_iff_doubleCoset π hπ] |
| 89 | change (∑' a : Fin 3 → ℤ, (Nat.card (ResidueField R) : ℂ) ^ (a 2 - a 0) * |
| 90 | Coefficients.CosetCalculus.firstCoefficient π μ a * torusMonomial α a) = _ |
| 91 | simp_rw [normalized_firstCoefficient π hπ μ hO hvol] |
| 92 | rw [tsum_eq_sum (s := {![1, 0, 0], ![0, 1, 0], ![0, 0, 1]}) (fun a ha => by |
| 93 | simp only [Finset.mem_insert, Finset.mem_singleton] at ha |
| 94 | simp [ha])] |
| 95 | norm_num [torusMonomial, Matrix.cons_val_two] |
| 96 | ring |
| 97 | |
| 98 | theorem satake_second_minuscule [Finite (ResidueField R)] |
| 99 | (π : R) (hπ : Irreducible π) (μ : Measure F) [μ.IsAddLeftInvariant] |
| 100 | (hO : MeasurableSet (Set.range (algebraMap R F))) |
| 101 | (hvol : μ (Set.range (algebraMap R F)) = 1) (α : Fin 3 → ℂˣ) : |
| 102 | normalizedSatake (Nat.card (ResidueField R)) π μ (rawDoubleCoset π ![1, 1, 0]) α = |
| 103 | (Nat.card (ResidueField R) : ℂ) * |
| 104 | ((α 0 : ℂ) * (α 1 : ℂ) + (α 0 : ℂ) * (α 2 : ℂ) + (α 1 : ℂ) * (α 2 : ℂ)) := by |
| 105 | have hp := OAI.Algebra.Modules.ElementaryDivisorsExistenceLinear.Construction.uniformizer_map_ne_zero (K := F) hπ |
| 106 | have hi (a : Fin 3 → ℤ) (x y z : F) : |
| 107 | DoubleCoset.Calculus.InDoubleCoset π ![1, 1, 0] (CosetCalculusArithmeticMeasure.triangular (algebraMap R F π) a x y z) ↔ |
| 108 | DoubleCoset.Calculus.FirstCondition π (Dual.CosetCalculus.dualMatrix (algebraMap R F π) (CosetCalculusArithmeticMeasure.triangular (algebraMap R F π) a x y z)) := by |
| 109 | have hdet : (CosetCalculusArithmeticMeasure.triangular (algebraMap R F π) a x y z).det ≠ 0 := by |
| 110 | rw [CosetCalculusArithmeticMeasure.triangular_det _ hp] |
| 111 | exact zpow_ne_zero _ hp |
| 112 | have hc : (fun i : Fin 3 => 1 - (![1, 1, 0] : Fin 3 → ℤ) i) = ![0, 0, 1] := by |
| 113 | ext i |
| 114 | fin_cases i <;> rfl |
| 115 | rw [Dual.CosetCalculus.dual_doubleCoset π hπ ![1, 1, 0] _ hdet, hc, ← DoubleCoset.Calculus.firstCondition_iff_doubleCoset π hπ] |
| 116 | unfold normalizedSatake |
| 117 | simp_rw [rawDoubleCoset, hi] |
| 118 | change (∑' a : Fin 3 → ℤ, (Nat.card (ResidueField R) : ℂ) ^ (a 2 - a 0) * |
| 119 | Coefficients.CosetCalculus.secondCoefficient π μ a * torusMonomial α a) = _ |
| 120 | simp_rw [normalized_secondCoefficient π hπ μ hO hvol] |
| 121 | rw [tsum_eq_sum (s := {![1, 1, 0], ![1, 0, 1], ![0, 1, 1]}) (fun a ha => by |
| 122 | simp only [Finset.mem_insert, Finset.mem_singleton] at ha |
| 123 | simp [ha])] |
| 124 | norm_num [torusMonomial, Matrix.cons_val_two] |
| 125 | ring |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.RepresentationTheory.Hecke.Satake.CosetCalculus |