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.RadialDilation.Haar |
| 2 | |
| 3 | /-! # Local Lift Choice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.LocalLiftChoice.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! LocalWeil's actual local Weil operator on the constructed radial subspace. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Topology |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | local instance c410LocalWeil_localInst1 : MeasurableSpace ℚ_[q] := borel ℚ_[q] |
| 18 | local instance c410LocalWeil_localInst2 : BorelSpace ℚ_[q] := ⟨rfl⟩ |
| 19 | |
| 20 | theorem padic_not_discrete : ¬ DiscreteTopology ℚ_[q] := by |
| 21 | intro h |
| 22 | let : DiscreteTopology ℚ_[q] := h |
| 23 | have ht := tendsto_pow_atTop_nhds_zero_of_norm_lt_one (Padic.norm_p_lt_one (p := q)) |
| 24 | have hzero : {0} ∈ 𝓝 (0 : ℚ_[q]) := (isOpen_discrete {0}).mem_nhds (by simp) |
| 25 | have he := ht.eventually hzero |
| 26 | obtain ⟨n, hn⟩ := he.exists |
| 27 | exact pow_ne_zero n (Haar.Realization.uniformizerUnit q).ne_zero (Set.mem_singleton_iff.mp hn) |
| 28 | |
| 29 | def scalarGL (a : ℚ_[q]ˣ) : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear ℚ_[q] 3 := |
| 30 | Matrix.GeneralLinearGroup.scalar (Fin 3) a |
| 31 | |
| 32 | theorem scalarGL_determinant (a : ℚ_[q]ˣ) : |
| 33 | Weil.Local.FunctionsMetaplectic.Construction.determinantUnit ℚ_[q] (scalarGL q a) = a ^ 3 := by |
| 34 | apply Units.ext |
| 35 | change Matrix.det (Matrix.scalar (Fin 3) (a : ℚ_[q])) = (a : ℚ_[q]) ^ 3 |
| 36 | simp [Matrix.scalar_apply, Matrix.det_diagonal] |
| 37 | |
| 38 | theorem scalarGL_inverse_substitution (a : ℚ_[q]ˣ) (x : Mem.Realization.Position q) : |
| 39 | Matrix.mulVec (↑((scalarGL q a)⁻¹) : Matrix (Fin 3) (Fin 3) ℚ_[q]) x = |
| 40 | fun i => (a : ℚ_[q])⁻¹ * x i := by |
| 41 | have hm : (↑((scalarGL q a)⁻¹) : Matrix (Fin 3) (Fin 3) ℚ_[q]) = |
| 42 | Matrix.diagonal (fun _ : Fin 3 => (a : ℚ_[q])⁻¹) := by |
| 43 | let au : (Fin 3 → ℚ_[q])ˣ := |
| 44 | ⟨(fun _ => (a : ℚ_[q])), (fun _ => (a : ℚ_[q])⁻¹), |
| 45 | by ext; simp, by ext; simp⟩ |
| 46 | simp [scalarGL, Matrix.scalar_apply, Matrix.inv_diagonal] |
| 47 | change ∀ i, (Ring.inverse (au : Fin 3 → ℚ_[q])) i = (a : ℚ_[q])⁻¹ |
| 48 | rw [Ring.inverse_unit] |
| 49 | intro i |
| 50 | rfl |
| 51 | rw [hm] |
| 52 | ext i |
| 53 | simp [Matrix.mulVec, dotProduct, Matrix.diagonal] |
| 54 | |
| 55 | theorem scalarGL_modulus (a : ℚ_[q]ˣ) (M : ℕ) |
| 56 | (ha : ‖(a : ℚ_[q])‖ = (q : ℝ) ^ (-(M : ℤ))) : |
| 57 | Weil.Local.FunctionsMetaplectic.Construction.localModulus ℚ_[q] (Weil.Local.FunctionsMetaplectic.Construction.determinantUnit ℚ_[q] (scalarGL q a)) = ‖(a : ℚ_[q])‖ ^ 3 := by |
| 58 | rw [scalarGL_determinant] |
| 59 | have hp : Weil.Local.FunctionsMetaplectic.Construction.localModulus ℚ_[q] (a ^ 3) = (Weil.Local.FunctionsMetaplectic.Construction.localModulus ℚ_[q] a) ^ 3 := by |
| 60 | simp [Weil.Local.FunctionsMetaplectic.Construction.localModulus, map_pow] |
| 61 | rw [hp, Haar.Realization.haarModulus_of_norm q a M ha] |
| 62 | |
| 63 | /-- The actual LocalWeil lift realizes RadialDilation's split-place substitution; the |
| 64 | remaining scalar is an eighth root of unity, not a splitting character. -/ |
| 65 | theorem localWeil_radial_substitution |
| 66 | (hLocalWeil : Prerequisites.Core.LocalWeil.Proposition) |
| 67 | (ψ : AddChar ℚ_[q] ℂ) |
| 68 | (hContinuous : Continuous (fun t : ℚ_[q] => ψ t)) |
| 69 | (hUnitary : ∀ t : ℚ_[q], ‖ψ t‖ = 1) |
| 70 | (hNontrivial : ∃ t : ℚ_[q], ψ t ≠ 1) |
| 71 | (a : ℚ_[q]ˣ) (M : ℕ) |
| 72 | (ha : ‖(a : ℚ_[q])‖ = (q : ℝ) ^ (-(M : ℤ))) : |
| 73 | ∃ (lift : Weil.Local.FunctionsMetaplectic.Construction.Metaplectic ℚ_[q] 3 ψ) (ξ : ℂ), |
| 74 | Weil.Local.FunctionsMetaplectic.Construction.metaplecticProjection ℚ_[q] 3 ψ lift = Weil.Local.Generators.Construction.leviSymplectic (scalarGL q a) ∧ |
| 75 | ξ ^ 8 = 1 ∧ |
| 76 | (∀ b : Cm.radialInput q, |
| 77 | Weil.Local.FunctionsMetaplectic.Construction.weilRepresentation ℚ_[q] 3 ψ lift (Mem.Realization.radialSchwartzEmbedding q b) = |
| 78 | ξ • Mem.Realization.radialSchwartzEmbedding q |
| 79 | (Mem.Realization.normalizedScalarSubstitution q (a : ℚ_[q]) M ha b)) ∧ |
| 80 | (∀ (b : Cm.radialInput q) (x : Mem.Realization.Position q), |
| 81 | (Weil.Local.FunctionsMetaplectic.Construction.weilRepresentation ℚ_[q] 3 ψ lift (Mem.Realization.radialSchwartzEmbedding q b)).val x = |
| 82 | ξ * (Real.rpow (q : ℝ) (3 * (M : ℝ) / 2) : ℂ) * |
| 83 | b.val (fun i => ((q : ℚ_[q]) ^ M)⁻¹ * x i)) := by |
| 84 | obtain ⟨_, _, hgaussian, _, _, m, u, w, hm, _, _, hlinear, _, _, _⟩ := |
| 85 | hLocalWeil ℚ_[q] (padic_not_discrete q) 3 (by decide) ψ hContinuous hUnitary hNontrivial |
| 86 | let A := scalarGL q a |
| 87 | let ξ := Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex ℚ_[q] ψ (Weil.Local.FunctionsMetaplectic.Construction.determinantUnit ℚ_[q] A) / Weil.Local.FunctionsMetaplectic.Construction.gaussianIndex ℚ_[q] ψ 1 |
| 88 | have hphase : ξ ^ 8 = 1 := Weil.Local.Generators.Construction.index_ratio_eighth_power ℚ_[q] ψ _ |
| 89 | (hgaussian _ (Weil.Local.FunctionsMetaplectic.Construction.determinantUnit ℚ_[q] A).ne_zero).2.2 (hgaussian 1 one_ne_zero).2.2 |
| 90 | have hoperator (b : Cm.radialInput q) : |
| 91 | Weil.Local.FunctionsMetaplectic.Construction.weilRepresentation ℚ_[q] 3 ψ (m A) (Mem.Realization.radialSchwartzEmbedding q b) = |
| 92 | ξ • Mem.Realization.radialSchwartzEmbedding q |
| 93 | (Mem.Realization.normalizedScalarSubstitution q (a : ℚ_[q]) M ha b) := by |
| 94 | apply Subtype.ext |
| 95 | funext x |
| 96 | rw [hlinear] |
| 97 | change ξ * ((Real.sqrt (Weil.Local.FunctionsMetaplectic.Construction.localModulus ℚ_[q] (Weil.Local.FunctionsMetaplectic.Construction.determinantUnit ℚ_[q] A)))⁻¹ : ℂ) * |
| 98 | b.val (Matrix.mulVec (↑(A⁻¹) : Matrix (Fin 3) (Fin 3) ℚ_[q]) x) = _ |
| 99 | rw [scalarGL_modulus q a M ha, scalarGL_inverse_substitution] |
| 100 | change ξ * ((Real.sqrt (‖(a : ℚ_[q])‖ ^ 3))⁻¹ : ℂ) * |
| 101 | b.val (fun i => (a : ℚ_[q])⁻¹ * x i) = |
| 102 | ξ * (((Real.sqrt (‖(a : ℚ_[q])‖ ^ 3))⁻¹ : ℂ) * |
| 103 | b.val (fun i => (a : ℚ_[q])⁻¹ * x i)) |
| 104 | ring |
| 105 | refine ⟨m A, ξ, hm A, hphase, hoperator, ?_⟩ |
| 106 | intro b x |
| 107 | rw [hoperator] |
| 108 | change ξ * (Mem.Realization.normalizedScalarSubstitution q (a : ℚ_[q]) M ha b).val x = _ |
| 109 | rw [Mem.Realization.normalizedScalarSubstitution_apply] |
| 110 | ring |
| 111 | |
| 112 | end |
| 113 | |
| 114 | /-! The radial calculation holds for every lift of the split scalar. -/ |
| 115 | |
| 116 | open scoped Classical _root_.Topology |
| 117 | |
| 118 | variable (q : ℕ) [Fact q.Prime] |
| 119 | local instance c410LocalLiftChoice_localInst1 : MeasurableSpace ℚ_[q] := borel ℚ_[q] |
| 120 | local instance c410LocalLiftChoice_localInst2 : BorelSpace ℚ_[q] := ⟨rfl⟩ |
| 121 | |
| 122 | theorem every_local_lift_radial_substitution |
| 123 | (hLocalWeil : Prerequisites.Core.LocalWeil.Proposition) |
| 124 | (ψ : AddChar ℚ_[q] ℂ) |
| 125 | (hContinuous : Continuous (fun t : ℚ_[q] => ψ t)) |
| 126 | (hUnitary : ∀ t : ℚ_[q], ‖ψ t‖ = 1) |
| 127 | (hNontrivial : ∃ t : ℚ_[q], ψ t ≠ 1) |
| 128 | (a : ℚ_[q]ˣ) (M : ℕ) |
| 129 | (ha : ‖(a : ℚ_[q])‖ = (q : ℝ) ^ (-(M : ℤ))) |
| 130 | (g : Weil.Local.FunctionsMetaplectic.Construction.Metaplectic ℚ_[q] 3 ψ) |
| 131 | (hg : Weil.Local.FunctionsMetaplectic.Construction.metaplecticProjection ℚ_[q] 3 ψ g = Weil.Local.Generators.Construction.leviSymplectic (scalarGL q a)) : |
| 132 | ∃ ξ : ℂ, ξ ^ 8 = 1 ∧ |
| 133 | ∀ b : Cm.radialInput q, |
| 134 | Weil.Local.FunctionsMetaplectic.Construction.weilRepresentation ℚ_[q] 3 ψ g (Mem.Realization.radialSchwartzEmbedding q b) = |
| 135 | ξ • Mem.Realization.radialSchwartzEmbedding q (Mem.Realization.normalizedScalarSubstitution q (a : ℚ_[q]) M ha b) := by |
| 136 | obtain ⟨lift, ξ₀, hp, hξ₀, hop, _⟩ := localWeil_radial_substitution q |
| 137 | hLocalWeil ψ hContinuous hUnitary hNontrivial a M ha |
| 138 | obtain ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, hcover⟩ := |
| 139 | hLocalWeil ℚ_[q] (padic_not_discrete q) 3 (by decide) ψ hContinuous hUnitary hNontrivial |
| 140 | obtain ⟨ε, hε, hεop⟩ := hcover lift g (hp.trans hg.symm) |
| 141 | have hε₈ : ε ^ 8 = 1 := by |
| 142 | calc |
| 143 | _ = (ε ^ 2) ^ 4 := by rw [← pow_mul] |
| 144 | _ = 1 := by rw [hε, one_pow] |
| 145 | refine ⟨ε * ξ₀, ?_, ?_⟩ |
| 146 | · rw [mul_pow, hε₈, hξ₀, mul_one] |
| 147 | · intro b |
| 148 | rw [hεop, hop, smul_smul] |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.RepresentationTheory.Hecke.RadialDilation.LocalLiftChoice.Realization |