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.Weil.Local.NonarchimedeanInversion |
| 2 | |
| 3 | /-! # Nonarchimedean Fourier -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.NonarchimedeanFourier.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A compact-domain Fubini formula for the square of the local Fourier integral. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Filter |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem fourier_square_compact_kernel |
| 17 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 18 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 19 | (ψ : AddChar k ℂ) (hc : Continuous (fun t => ψ t)) |
| 20 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 21 | (U : OpenAddSubgroup (FunctionsMetaplectic.Construction.Position k n)) (hU : IsCompact (U : Set (FunctionsMetaplectic.Construction.Position k n))) |
| 22 | {f : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : Continuous f) (hs : HasCompactSupport f) |
| 23 | (hfreq : tsupport (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) ⊆ U) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 24 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = |
| 25 | ∫ y, f y * FunctionsMetaplectic.Construction.fourierIntegral ψ μ ((U : Set (FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ))) (x + y) ∂μ := by |
| 26 | let A : FunctionsMetaplectic.Construction.Position k n → ℂ := (U : Set (FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => (1 : ℂ)) |
| 27 | let g : FunctionsMetaplectic.Construction.Position k n → FunctionsMetaplectic.Construction.Position k n → ℂ := |
| 28 | fun ξ y => A ξ * f y * ψ (-FunctionsMetaplectic.Construction.dot ξ (y + x)) |
| 29 | have hA : Continuous A := (CompactCharacter.Construction.subgroup_indicator_locallyConstant U).continuous |
| 30 | have hg : Continuous g.uncurry := by |
| 31 | apply ((hA.comp continuous_fst).mul (hf.comp continuous_snd)).mul |
| 32 | apply hc.comp |
| 33 | unfold FunctionsMetaplectic.Construction.dot |
| 34 | fun_prop |
| 35 | have hgs : HasCompactSupport g.uncurry := by |
| 36 | apply HasCompactSupport.intro (hU.prod hs) |
| 37 | intro p hp |
| 38 | change A p.1 * f p.2 * ψ (-FunctionsMetaplectic.Construction.dot p.1 (p.2 + x)) = 0 |
| 39 | by_cases hp1 : p.1 ∈ U |
| 40 | · have hp2 : p.2 ∉ tsupport f := fun h => hp ⟨hp1, h⟩ |
| 41 | rw [image_eq_zero_of_notMem_tsupport hp2, mul_zero, zero_mul] |
| 42 | · simp [A, hp1] |
| 43 | calc |
| 44 | _ = ∫ ξ, A ξ * FunctionsMetaplectic.Construction.fourierIntegral ψ μ f ξ * ψ (-FunctionsMetaplectic.Construction.dot x ξ) ∂μ := by |
| 45 | apply integral_congr_ae |
| 46 | exact Eventually.of_forall fun ξ => by |
| 47 | by_cases hξ : ξ ∈ U |
| 48 | · simp [A, hξ] |
| 49 | · have hzero : FunctionsMetaplectic.Construction.fourierIntegral ψ μ f ξ = 0 := |
| 50 | image_eq_zero_of_notMem_tsupport (fun h => hξ (hfreq h)) |
| 51 | simp [A, hξ, hzero] |
| 52 | _ = ∫ ξ, ∫ y, g ξ y ∂μ ∂μ := by |
| 53 | apply integral_congr_ae |
| 54 | exact Eventually.of_forall fun ξ => by |
| 55 | dsimp only |
| 56 | rw [FunctionsMetaplectic.Construction.fourierIntegral, ← integral_const_mul, ← integral_mul_const] |
| 57 | apply integral_congr_ae |
| 58 | exact Eventually.of_forall fun y => by |
| 59 | dsimp only |
| 60 | have hp : -FunctionsMetaplectic.Construction.dot ξ (y + x) = -FunctionsMetaplectic.Construction.dot ξ y + -FunctionsMetaplectic.Construction.dot x ξ := by |
| 61 | rw [FourierTools.Construction.dot_comm x ξ] |
| 62 | simp [FunctionsMetaplectic.Construction.dot, Pi.add_apply, mul_add, Finset.sum_add_distrib, add_comm] |
| 63 | change _ = A ξ * f y * ψ (-FunctionsMetaplectic.Construction.dot ξ (y + x)) |
| 64 | rw [hp, ψ.map_add_eq_mul] |
| 65 | ring |
| 66 | _ = ∫ y, ∫ ξ, g ξ y ∂μ ∂μ := integral_integral_swap_of_hasCompactSupport hg hgs |
| 67 | _ = _ := by |
| 68 | apply integral_congr_ae |
| 69 | exact Eventually.of_forall fun y => by |
| 70 | dsimp only |
| 71 | rw [FunctionsMetaplectic.Construction.fourierIntegral, ← integral_const_mul] |
| 72 | apply integral_congr_ae |
| 73 | exact Eventually.of_forall fun ξ => by |
| 74 | change A ξ * f y * ψ (-FunctionsMetaplectic.Construction.dot ξ (y + x)) = f y * (A ξ * ψ (-FunctionsMetaplectic.Construction.dot (x + y) ξ)) |
| 75 | rw [FourierTools.Construction.dot_comm ξ (y + x), add_comm y x] |
| 76 | ring |
| 77 | |
| 78 | theorem fourier_square_subgroup_value |
| 79 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 80 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 81 | (ψ : AddChar k ℂ) (hc : Continuous (fun t => ψ t)) |
| 82 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 83 | (U : OpenAddSubgroup (FunctionsMetaplectic.Construction.Position k n)) (hU : IsCompact (U : Set (FunctionsMetaplectic.Construction.Position k n))) |
| 84 | (hann : MeasurableSet (CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n))) |
| 85 | {f : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : Continuous f) (hs : HasCompactSupport f) |
| 86 | (hfreq : tsupport (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) ⊆ U) |
| 87 | (hperiod : ∀ t ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup, ∀ y, f (y + t) = f y) |
| 88 | (x : FunctionsMetaplectic.Construction.Position k n) : |
| 89 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = |
| 90 | (μ.real (U : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * |
| 91 | (μ.real (CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * f (-x) := by |
| 92 | rw [fourier_square_compact_kernel ψ hc μ U hU hf hs hfreq] |
| 93 | simp_rw [CompactCharacter.Construction.fourier_indicator_subgroup] |
| 94 | rw [← integral_sub_right_eq_self |
| 95 | (fun y => f y * if x + y ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup |
| 96 | then (μ.real (U : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) else 0) x] |
| 97 | have heq : (fun z => f (z - x) * if x + (z - x) ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup |
| 98 | then (μ.real (U : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) else 0) = |
| 99 | (CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n)).indicator |
| 100 | (fun _ => (μ.real (U : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * f (-x)) := by |
| 101 | funext z |
| 102 | have hxz : x + (z - x) = z := by abel |
| 103 | rw [hxz] |
| 104 | by_cases hz : z ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup |
| 105 | · have hfz : f (z - x) = f (-x) := by |
| 106 | simpa only [sub_eq_add_neg, add_comm z (-x)] using hperiod z hz (-x) |
| 107 | simp [hz, hfz, mul_comm] |
| 108 | · simp [hz] |
| 109 | rw [heq, integral_indicator_const _ hann, Complex.real_smul] |
| 110 | ring |
| 111 | |
| 112 | end |
| 113 | |
| 114 | section |
| 115 | |
| 116 | /-! The unnormalized Fourier square has one positive scale on the nonarchimedean test space. -/ |
| 117 | |
| 118 | open _root_.MeasureTheory |
| 119 | open scoped Classical |
| 120 | |
| 121 | theorem additiveAnnihilator_antitone |
| 122 | {k : Type} [Field k] {n : ℕ} (ψ : AddChar k ℂ) |
| 123 | {U V : AddSubgroup (FunctionsMetaplectic.Construction.Position k n)} (h : U ≤ V) : |
| 124 | CompactCharacter.Construction.additiveAnnihilator ψ V ≤ CompactCharacter.Construction.additiveAnnihilator ψ U := |
| 125 | fun _ hx y hy => hx y (h hy) |
| 126 | |
| 127 | theorem exists_compact_open_supergroup |
| 128 | {E : Type*} [NormedAddCommGroup E] [IsUltrametricDist E] [ProperSpace E] |
| 129 | (K : Set E) (hK : IsCompact K) : |
| 130 | ∃ U : OpenAddSubgroup E, IsCompact (U : Set E) ∧ K ⊆ U := by |
| 131 | obtain ⟨R, hR, hbound⟩ := hK.isBounded.exists_pos_norm_le |
| 132 | let U := IsUltrametricDist.closedBall_openAddSubgroup E hR |
| 133 | refine ⟨U, isCompact_closedBall 0 R, ?_⟩ |
| 134 | intro x hx |
| 135 | change x ∈ Metric.closedBall 0 R |
| 136 | simpa only [Metric.mem_closedBall, dist_zero_right] using hbound x hx |
| 137 | |
| 138 | theorem compact_open_subgroup_real_pos |
| 139 | {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E] [BorelSpace E] |
| 140 | (μ : Measure E) [μ.IsAddHaarMeasure] (U : OpenAddSubgroup E) |
| 141 | (hU : IsCompact (U : Set E)) : 0 < μ.real (U : Set E) := by |
| 142 | exact ENNReal.toReal_pos |
| 143 | (Measure.measure_pos_of_nonempty_interior μ |
| 144 | (by rw [U.isOpen.interior_eq]; exact ⟨0, U.zero_mem⟩)).ne' |
| 145 | hU.measure_ne_top |
| 146 | |
| 147 | theorem exists_common_adapted_frequency_subgroup |
| 148 | {k : Type} [NormedField k] [LocallyCompactSpace k] [IsUltrametricDist k] |
| 149 | [MeasurableSpace k] [BorelSpace k] |
| 150 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} |
| 151 | (ψ : AddChar k ℂ) (hn : ∃ t : k, ψ t ≠ 1) |
| 152 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 153 | {f g : FunctionsMetaplectic.Construction.Position k n → ℂ} |
| 154 | (hf : IsLocallyConstant f) (hsf : HasCompactSupport f) |
| 155 | (hg : IsLocallyConstant g) (hsg : HasCompactSupport g) : |
| 156 | ∃ U : OpenAddSubgroup (FunctionsMetaplectic.Construction.Position k n), IsCompact (U : Set (FunctionsMetaplectic.Construction.Position k n)) ∧ |
| 157 | tsupport (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) ⊆ U ∧ |
| 158 | tsupport (FunctionsMetaplectic.Construction.fourierIntegral ψ μ g) ⊆ U ∧ |
| 159 | (∀ t ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup, ∀ x, f (x + t) = f x) ∧ |
| 160 | (∀ t ∈ CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup, ∀ x, g (x + t) = g x) := by |
| 161 | let : ProperSpace k := FunctionsMetaplectic.Construction.localField_proper k hNondiscrete |
| 162 | obtain ⟨V, hV, hfreqf, hperf⟩ := |
| 163 | NonarchimedeanInversion.Construction.exists_adapted_frequency_subgroup hNondiscrete ψ hn μ hf hsf |
| 164 | obtain ⟨W, hW, hfreqg, hperg⟩ := |
| 165 | NonarchimedeanInversion.Construction.exists_adapted_frequency_subgroup hNondiscrete ψ hn μ hg hsg |
| 166 | obtain ⟨U, hU, hsup⟩ := exists_compact_open_supergroup _ (hV.union hW) |
| 167 | have hVU : V.toAddSubgroup ≤ U.toAddSubgroup := fun _ hx => hsup (Or.inl hx) |
| 168 | have hWU : W.toAddSubgroup ≤ U.toAddSubgroup := fun _ hx => hsup (Or.inr hx) |
| 169 | exact ⟨U, hU, fun _ hx => hVU (hfreqf hx), fun _ hx => hWU (hfreqg hx), |
| 170 | fun _ ht => hperf _ (additiveAnnihilator_antitone ψ hVU ht), |
| 171 | fun _ ht => hperg _ (additiveAnnihilator_antitone ψ hWU ht)⟩ |
| 172 | |
| 173 | /-- A single positive constant works for every compact locally constant test function. -/ |
| 174 | theorem nonarchimedean_fourier_square_positive_scalar |
| 175 | {k : Type} [NormedField k] [LocallyCompactSpace k] [IsUltrametricDist k] |
| 176 | [MeasurableSpace k] [BorelSpace k] |
| 177 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) |
| 178 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 179 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 180 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] : |
| 181 | ∃ c : ℝ, 0 < c ∧ ∀ f : FunctionsMetaplectic.Construction.Position k n → ℂ, |
| 182 | IsLocallyConstant f → HasCompactSupport f → ∀ x, |
| 183 | FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = (c : ℂ) * f (-x) := by |
| 184 | let : ProperSpace k := FunctionsMetaplectic.Construction.localField_proper k hNondiscrete |
| 185 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 186 | let V := IsUltrametricDist.closedBall_openAddSubgroup (FunctionsMetaplectic.Construction.Position k n) zero_lt_one |
| 187 | have hV : IsCompact (V : Set (FunctionsMetaplectic.Construction.Position k n)) := isCompact_closedBall 0 1 |
| 188 | let f₀ : FunctionsMetaplectic.Construction.Position k n → ℂ := (V : Set (FunctionsMetaplectic.Construction.Position k n)).indicator (fun _ => 1) |
| 189 | have hf₀ : IsLocallyConstant f₀ := CompactCharacter.Construction.subgroup_indicator_locallyConstant V |
| 190 | have hs₀ : HasCompactSupport f₀ := CompactCharacter.Construction.subgroup_indicator_compactSupport V hV |
| 191 | have hzero : f₀ 0 = 1 := by simp [f₀] |
| 192 | obtain ⟨U₀, hU₀, hfreq₀, hper₀⟩ := |
| 193 | NonarchimedeanInversion.Construction.exists_adapted_frequency_subgroup hNondiscrete ψ hn μ hf₀ hs₀ |
| 194 | obtain ⟨hcomp₀, hopen₀⟩ := |
| 195 | CompactCharacter.Construction.additiveAnnihilator_compact_open hNondiscrete ψ hu hc hn μ U₀ hU₀ |
| 196 | let W₀ : OpenAddSubgroup (FunctionsMetaplectic.Construction.Position k n) := |
| 197 | ⟨CompactCharacter.Construction.additiveAnnihilator ψ U₀.toAddSubgroup, hopen₀⟩ |
| 198 | let c : ℝ := μ.real (U₀ : Set (FunctionsMetaplectic.Construction.Position k n)) * μ.real (W₀ : Set (FunctionsMetaplectic.Construction.Position k n)) |
| 199 | have hcpos : 0 < c := mul_pos (compact_open_subgroup_real_pos μ U₀ hU₀) |
| 200 | (compact_open_subgroup_real_pos μ W₀ hcomp₀) |
| 201 | have hcvalue : FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f₀) 0 = (c : ℂ) := by |
| 202 | rw [fourier_square_subgroup_value ψ hc μ U₀ hU₀ hopen₀.measurableSet |
| 203 | hf₀.continuous hs₀ hfreq₀ hper₀] |
| 204 | change (μ.real (U₀ : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * |
| 205 | (μ.real (CompactCharacter.Construction.additiveAnnihilator ψ U₀.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * f₀ (-0) = |
| 206 | ((μ.real (U₀ : Set (FunctionsMetaplectic.Construction.Position k n)) * |
| 207 | μ.real (CompactCharacter.Construction.additiveAnnihilator ψ U₀.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n)) : ℝ) : ℂ) |
| 208 | simp only [neg_zero, hzero, mul_one, Complex.ofReal_mul] |
| 209 | refine ⟨c, hcpos, fun f hf hs x => ?_⟩ |
| 210 | obtain ⟨U, hU, hfreqf, hfreqg, hperf, hperg⟩ := |
| 211 | exists_common_adapted_frequency_subgroup hNondiscrete ψ hn μ hf hs hf₀ hs₀ |
| 212 | obtain ⟨_, hopen⟩ := CompactCharacter.Construction.additiveAnnihilator_compact_open hNondiscrete ψ hu hc hn μ U hU |
| 213 | have hscale : (μ.real (U : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) * |
| 214 | (μ.real (CompactCharacter.Construction.additiveAnnihilator ψ U.toAddSubgroup : Set (FunctionsMetaplectic.Construction.Position k n)) : ℂ) = (c : ℂ) := by |
| 215 | have h := fourier_square_subgroup_value ψ hc μ U hU hopen.measurableSet |
| 216 | hf₀.continuous hs₀ hfreqg hperg 0 |
| 217 | simpa only [neg_zero, hzero, mul_one, hcvalue] using h.symm |
| 218 | rw [fourier_square_subgroup_value ψ hc μ U hU hopen.measurableSet |
| 219 | hf.continuous hs hfreqf hperf, hscale] |
| 220 | |
| 221 | end |
| 222 | |
| 223 | section |
| 224 | |
| 225 | /-! Plancherel from the concrete Fourier-square identity. -/ |
| 226 | |
| 227 | open _root_.MeasureTheory |
| 228 | open scoped ComplexConjugate InnerProductSpace |
| 229 | |
| 230 | theorem fourierIntegral_inner_swap |
| 231 | {k : Type} [NormedField k] [MeasurableSpace k] [BorelSpace k] |
| 232 | [SecondCountableTopology k] {n : ℕ} |
| 233 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 234 | (hc : Continuous (fun t => ψ t)) |
| 235 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [SigmaFinite μ] |
| 236 | {f g : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : Integrable f μ) (hg : Integrable g μ) : |
| 237 | (∫ x, inner ℂ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x) (g x) ∂μ) = |
| 238 | ∫ x, inner ℂ (f x) (FunctionsMetaplectic.Construction.fourierIntegral ψ μ g (-x)) ∂μ := by |
| 239 | have hflip : VectorFourier.fourierIntegral (FourierTools.Construction.circleCharacter ψ hu) μ |
| 240 | (-(dotProductBilin k k).flip) g = fun x => FunctionsMetaplectic.Construction.fourierIntegral ψ μ g (-x) := by |
| 241 | funext x |
| 242 | unfold VectorFourier.fourierIntegral FunctionsMetaplectic.Construction.fourierIntegral |
| 243 | apply integral_congr_ae |
| 244 | exact Filter.Eventually.of_forall fun y => by |
| 245 | change ψ (-(-FunctionsMetaplectic.Construction.dot x y)) * g y = g y * ψ (-FunctionsMetaplectic.Construction.dot (-x) y) |
| 246 | simp [FunctionsMetaplectic.Construction.dot, Finset.sum_neg_distrib, mul_comm] |
| 247 | have h := VectorFourier.integral_sesq_fourierIntegral_eq_neg_flip |
| 248 | (innerSL ℂ) (FourierTools.Construction.circleCharacter_continuous ψ hu hc) |
| 249 | (FourierTools.Construction.dotProductBilin_continuous n) hf hg |
| 250 | rw [hflip, ← FourierTools.Construction.fourierIntegral_eq_vectorFourier ψ hu] at h |
| 251 | exact h |
| 252 | |
| 253 | theorem fourierIntegral_norm_sq_of_square |
| 254 | {k : Type} [NormedField k] [MeasurableSpace k] [BorelSpace k] |
| 255 | [SecondCountableTopology k] {n : ℕ} |
| 256 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 257 | (hc : Continuous (fun t => ψ t)) |
| 258 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [SigmaFinite μ] |
| 259 | {f : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : Integrable f μ) |
| 260 | (hF : Integrable (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) μ) (c : ℝ) |
| 261 | (hsquare : ∀ x, FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = (c : ℂ) * f (-x)) : |
| 262 | (∫ x, ‖FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x‖ ^ 2 ∂μ) = c * ∫ x, ‖f x‖ ^ 2 ∂μ := by |
| 263 | have h := fourierIntegral_inner_swap ψ hu hc μ hf hF |
| 264 | simp_rw [hsquare, neg_neg, ← smul_eq_mul, inner_smul_right, |
| 265 | inner_self_eq_norm_sq_to_K] at h |
| 266 | simp_rw [← RCLike.ofReal_pow] at h |
| 267 | rw [integral_const_mul, integral_ofReal, integral_ofReal] at h |
| 268 | apply RCLike.ofReal_injective (K := ℂ) |
| 269 | rw [RCLike.ofReal_mul] |
| 270 | exact h |
| 271 | |
| 272 | /-- Plancherel for compact locally constant functions, with the same positive scale as inversion. -/ |
| 273 | theorem nonarchimedean_fourier_square_and_plancherel |
| 274 | {k : Type} [NormedField k] [LocallyCompactSpace k] [IsUltrametricDist k] |
| 275 | [MeasurableSpace k] [BorelSpace k] |
| 276 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) |
| 277 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 278 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 279 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] : |
| 280 | ∃ c : ℝ, 0 < c ∧ ∀ f : FunctionsMetaplectic.Construction.Position k n → ℂ, |
| 281 | IsLocallyConstant f → HasCompactSupport f → |
| 282 | (∀ x, FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.fourierIntegral ψ μ f) x = (c : ℂ) * f (-x)) ∧ |
| 283 | (∫ x, ‖FunctionsMetaplectic.Construction.fourierIntegral ψ μ f x‖ ^ 2 ∂μ) = c * ∫ x, ‖f x‖ ^ 2 ∂μ := by |
| 284 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 285 | obtain ⟨c, hcpos, hsquare⟩ := |
| 286 | nonarchimedean_fourier_square_positive_scalar hNondiscrete n ψ hu hc hn μ |
| 287 | refine ⟨c, hcpos, fun f hf hs => ⟨hsquare f hf hs, ?_⟩⟩ |
| 288 | apply fourierIntegral_norm_sq_of_square ψ hu hc μ |
| 289 | (hf.continuous.integrable_of_hasCompactSupport hs) _ c (hsquare f hf hs) |
| 290 | exact (CompactCharacter.Construction.fourierIntegral_locallyConstant ψ |
| 291 | (NonarchimedeanTestSpace.Construction.nonarchimedean_character_locallyConstant ψ hu hc) μ hs).continuous.integrable_of_hasCompactSupport |
| 292 | (CompactCharacter.Construction.fourierIntegral_compactSupport_of_locallyConstant hNondiscrete ψ hn μ hf hs) |
| 293 | |
| 294 | end |
| 295 | |
| 296 | /-! A unitary Fourier equivalence on the actual nonarchimedean Bruhat space. -/ |
| 297 | |
| 298 | open _root_.MeasureTheory |
| 299 | |
| 300 | theorem nonarchimedean_heisenberg_mem |
| 301 | {k : Type} [NormedField k] [NonarchimedeanAddGroup k] {n : ℕ} |
| 302 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 303 | (hc : Continuous (fun t => ψ t)) |
| 304 | (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 305 | FunctionsMetaplectic.Construction.heisenbergFunction ψ v f.val ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n := by |
| 306 | obtain ⟨hf, hs⟩ := NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property |
| 307 | change (fun x => FunctionsMetaplectic.Construction.heisenbergFunction ψ v f.val x) ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n |
| 308 | simp_rw [LinearIntertwiner.Construction.heisenbergFunction_eq_dot] |
| 309 | apply FunctionsMetaplectic.Construction.compact_locallyConstant_mem |
| 310 | · apply ((NonarchimedeanTestSpace.Construction.nonarchimedean_character_locallyConstant ψ hu hc).comp_continuous _).mul |
| 311 | (hf.comp_continuous (continuous_id.sub continuous_const)) |
| 312 | unfold FunctionsMetaplectic.Construction.dot |
| 313 | fun_prop |
| 314 | · exact (hs.comp_homeomorph (Homeomorph.subRight (LinearIntertwiner.Construction.positionPart v))).mul_left |
| 315 | |
| 316 | theorem exists_nonarchimedean_unitary_fourier |
| 317 | {k : Type} [NormedField k] [LocallyCompactSpace k] [IsUltrametricDist k] |
| 318 | [MeasurableSpace k] [BorelSpace k] |
| 319 | (hNondiscrete : ¬ DiscreteTopology k) (n : ℕ) |
| 320 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 321 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 322 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] : |
| 323 | ∃ (a : ℝ) (T : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n), |
| 324 | 0 < a ∧ |
| 325 | (∀ f x, (T f).val x = (a : ℂ) * FunctionsMetaplectic.Construction.fourierIntegral ψ μ f.val x) ∧ |
| 326 | (∀ f, (∫ x, ‖(T f).val x‖ ^ 2 ∂μ) = ∫ x, ‖f.val x‖ ^ 2 ∂μ) := by |
| 327 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 328 | obtain ⟨c, hcpos, hspec⟩ := |
| 329 | nonarchimedean_fourier_square_and_plancherel hNondiscrete n ψ hu hc hn μ |
| 330 | have hcn : (c : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hcpos.ne' |
| 331 | let F : FunctionsMetaplectic.Construction.schwartzBruhat k n →ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 332 | (FourierTools.Construction.schwartzBruhat_fourierLinearMap n ψ hu hc μ).codRestrict (FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 333 | (CompactCharacter.Construction.nonarchimedean_fourier_mem hNondiscrete ψ hu hc hn μ) |
| 334 | have hF (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 335 | (F f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ μ f.val x := rfl |
| 336 | have hsquare (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 337 | (F (F f)).val x = (c : ℂ) * f.val (-x) := by |
| 338 | obtain ⟨hf, hs⟩ := NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property |
| 339 | exact (hspec f.val hf hs).1 x |
| 340 | have hbij : Function.Bijective F := by |
| 341 | constructor |
| 342 | · intro f g heq |
| 343 | apply Subtype.ext |
| 344 | funext x |
| 345 | have h := congrArg (fun z : FunctionsMetaplectic.Construction.schwartzBruhat k n => (F z).val (-x)) heq |
| 346 | rw [hsquare, hsquare, neg_neg] at h |
| 347 | exact mul_left_cancel₀ hcn h |
| 348 | · intro f |
| 349 | obtain ⟨hf, hs⟩ := NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property |
| 350 | let r : FunctionsMetaplectic.Construction.schwartzBruhat k n := ⟨fun x => f.val (-x), FunctionsMetaplectic.Construction.compact_locallyConstant_mem |
| 351 | (hf.comp_continuous continuous_neg) (hs.comp_homeomorph (Homeomorph.neg _))⟩ |
| 352 | refine ⟨(c : ℂ)⁻¹ • F r, ?_⟩ |
| 353 | apply Subtype.ext |
| 354 | funext x |
| 355 | rw [map_smul] |
| 356 | change (c : ℂ)⁻¹ * (F (F r)).val x = f.val x |
| 357 | rw [hsquare] |
| 358 | simp [r, hcn] |
| 359 | let a : ℝ := (Real.sqrt c)⁻¹ |
| 360 | have ha : 0 < a := inv_pos.mpr (Real.sqrt_pos.mpr hcpos) |
| 361 | let u : ℂˣ := Units.mk0 (a : ℂ) (Complex.ofReal_ne_zero.mpr ha.ne') |
| 362 | let T := (LinearEquiv.ofBijective F hbij).trans (LinearEquiv.smulOfUnit u) |
| 363 | have hT (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 364 | (T f).val x = (a : ℂ) * FunctionsMetaplectic.Construction.fourierIntegral ψ μ f.val x := rfl |
| 365 | refine ⟨a, T, ha, hT, fun f => ?_⟩ |
| 366 | simp_rw [hT, norm_mul, Complex.norm_real, Real.norm_eq_abs, abs_of_pos ha, mul_pow] |
| 367 | rw [integral_const_mul] |
| 368 | obtain ⟨hf, hs⟩ := NonarchimedeanTestSpace.Construction.schwartzBruhat_totallyDisconnected_iff.mp f.property |
| 369 | rw [(hspec f.val hf hs).2, ← mul_assoc] |
| 370 | have hscale : a ^ 2 * c = 1 := by |
| 371 | rw [show a = (Real.sqrt c)⁻¹ from rfl, inv_pow, Real.sq_sqrt hcpos.le, |
| 372 | inv_mul_cancel₀ hcpos.ne'] |
| 373 | rw [hscale, one_mul] |
| 374 | |
| 375 | theorem scalar_fourier_intertwines |
| 376 | {k : Type} [NormedField k] [LocallyCompactSpace k] [CharZero k] |
| 377 | [MeasurableSpace k] [BorelSpace k] [NonarchimedeanAddGroup k] |
| 378 | (hNondiscrete : ¬ DiscreteTopology k) {n : ℕ} |
| 379 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 380 | (hc : Continuous (fun t => ψ t)) |
| 381 | (μ : Measure (FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 382 | (a : ℂ) (T : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 383 | (hT : ∀ f x, (T f).val x = a * FunctionsMetaplectic.Construction.fourierIntegral ψ μ f.val x) |
| 384 | (v : FunctionsMetaplectic.Construction.PhaseSpace k n) (f h : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 385 | FunctionsMetaplectic.Construction.heisenbergGraph ψ v f h ↔ |
| 386 | FunctionsMetaplectic.Construction.heisenbergGraph ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.weylSymplectic k n) v) (T f) (T h) := by |
| 387 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hNondiscrete |
| 388 | let hf : FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 389 | ⟨FunctionsMetaplectic.Construction.heisenbergFunction ψ v f.val, nonarchimedean_heisenberg_mem ψ hu hc v f⟩ |
| 390 | have hcov : (T hf).val = |
| 391 | FunctionsMetaplectic.Construction.heisenbergFunction ψ (FunctionsMetaplectic.Construction.symplecticAction (Generators.Construction.weylSymplectic k n) v) (T f).val := by |
| 392 | have heq (g : FunctionsMetaplectic.Construction.schwartzBruhat k n) : (T g).val = a • FunctionsMetaplectic.Construction.fourierIntegral ψ μ g.val := |
| 393 | funext (hT g) |
| 394 | rw [heq, heq, LinearIntertwiner.Construction.heisenbergFunction_smul] |
| 395 | change a • FunctionsMetaplectic.Construction.fourierIntegral ψ μ (FunctionsMetaplectic.Construction.heisenbergFunction ψ v f.val) = _ |
| 396 | rw [FourierEquivalence.Construction.fourierIntegral_heisenberg] |
| 397 | unfold FunctionsMetaplectic.Construction.heisenbergGraph |
| 398 | rw [← hcov] |
| 399 | change h.val = hf.val ↔ (T h).val = (T hf).val |
| 400 | constructor |
| 401 | · intro hh |
| 402 | rw [Subtype.ext hh] |
| 403 | · intro hh |
| 404 | exact congrArg Subtype.val (T.injective (Subtype.ext hh)) |
| 405 | |
| 406 | end |
| 407 | |
| 408 | end OAI.RepresentationTheory.Weil.Local.NonarchimedeanFourier.Construction |