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.ComplexMultiplication.HodgeComparison.LocalizedFourier |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.LpLocalization |
| 3 | |
| 4 | /-! # Sobolev Is -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevIs.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Local Rellich compactness for smooth functions supported in a fixed compact set. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory FourierTransform TemperedDistribution Set _root_.Metric |
| 15 | open scoped SchwartzMap |
| 16 | |
| 17 | /-- Uniform approximation by totally bounded images makes the original set totally bounded. -/ |
| 18 | theorem totallyBounded_of_uniform_approximation {H : Type*} [PseudoMetricSpace H] {S : Set H} |
| 19 | (h : ∀ ε > 0, ∃ T : H → H, TotallyBounded (T '' S) ∧ ∀ x ∈ S, dist x (T x) < ε) : |
| 20 | TotallyBounded S := by |
| 21 | apply Metric.totallyBounded_iff.mpr |
| 22 | intro ε hε |
| 23 | obtain ⟨T, hT, hdist⟩ := h (ε / 2) (half_pos hε) |
| 24 | obtain ⟨centers, hfin, hcover⟩ := Metric.totallyBounded_iff.mp hT (ε / 2) (half_pos hε) |
| 25 | refine ⟨centers, hfin, ?_⟩ |
| 26 | intro x hx |
| 27 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (hcover (mem_image_of_mem T hx)) |
| 28 | apply Set.mem_iUnion₂.mpr |
| 29 | refine ⟨y, hy, ?_⟩ |
| 30 | have hclose : dist (T x) y < ε / 2 := hxy |
| 31 | exact (dist_triangle x (T x) y).trans_lt (by linarith [hdist x hx]) |
| 32 | |
| 33 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 34 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 35 | |
| 36 | /-- The Sobolev norm of an actual Schwartz function. -/ |
| 37 | def schwartzSobolevNorm (s : ℝ) (f : 𝓢(E, ℂ)) : ℝ := |
| 38 | Bounds.CM.Construction.sobolevNorm E ℂ s ⟨(f : 𝓢'(E, ℂ)), f.memSobolev⟩ |
| 39 | |
| 40 | theorem l2_norm_le_sobolevNorm {s : ℝ} (hs : 0 ≤ s) |
| 41 | (f : Lp ℂ 2 (volume : Measure E)) (hf : MemSobolev s 2 (f : 𝓢'(E, ℂ))) : |
| 42 | ‖f‖ ≤ Bounds.CM.Construction.sobolevNorm E ℂ s ⟨(f : 𝓢'(E, ℂ)), hf⟩ := by |
| 43 | let u : Bounds.CM.Construction.sobolevDistributionSubmodule E ℂ s := ⟨(f : 𝓢'(E, ℂ)), hf⟩ |
| 44 | have hcoord : (Bounds.CM.Construction.sobolevCoordinateEquiv E ℂ 0).symm (Bounds.CM.Construction.sobolevInclusion hs u) = f := by |
| 45 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 46 | (F := ℂ) (μ := (volume : Measure E)) (p := 2))) |
| 47 | change (((Bounds.CM.Construction.sobolevCoordinateEquiv E ℂ 0).symm (Bounds.CM.Construction.sobolevInclusion hs u)) : 𝓢'(E, ℂ)) = _ |
| 48 | rw [Bounds.CM.Construction.sobolevCoordinateEquiv_symm_distribution, besselPotential_zero, |
| 49 | ContinuousLinearMap.id_apply] |
| 50 | rfl |
| 51 | have h := Bounds.CM.Construction.sobolevInclusion_norm_le hs u |
| 52 | change ‖(Bounds.CM.Construction.sobolevCoordinateEquiv E ℂ 0).symm (Bounds.CM.Construction.sobolevInclusion hs u)‖ ≤ _ at h |
| 53 | rwa [hcoord] at h |
| 54 | |
| 55 | theorem schwartz_l2_norm_le_sobolevNorm {s : ℝ} (hs : 0 ≤ s) (f : 𝓢(E, ℂ)) : |
| 56 | ‖f.toLp 2 (volume : Measure E)‖ ≤ schwartzSobolevNorm s f := by |
| 57 | have hf : MemSobolev s 2 ((f.toLp 2 (volume : Measure E)) : 𝓢'(E, ℂ)) := by |
| 58 | rw [Lp.toTemperedDistribution_toLp_eq] |
| 59 | exact f.memSobolev |
| 60 | have h := l2_norm_le_sobolevNorm hs (f.toLp 2 (volume : Measure E)) hf |
| 61 | simpa only [Lp.toTemperedDistribution_toLp_eq, schwartzSobolevNorm] using h |
| 62 | |
| 63 | theorem finite_subtype_volume {K : Set E} (hK : IsCompact K) : |
| 64 | IsFiniteMeasure ((volume : Measure E).comap (Subtype.val : K → E)) where |
| 65 | measure_univ_lt_top := by |
| 66 | rw [comap_subtype_coe_apply hK.measurableSet, Set.image_univ, Subtype.range_coe] |
| 67 | exact hK.measure_lt_top |
| 68 | |
| 69 | /-- Bounded H¹ families of smooth functions with fixed compact support have compact L² closure. -/ |
| 70 | theorem schwartz_rellich_compact {K : Set E} (hK : IsCompact K) (C : ℝ) : |
| 71 | IsCompact (closure ((fun f : 𝓢(E, ℂ) => f.toLp 2 (volume : Measure E)) '' |
| 72 | {f | Function.support f ⊆ K ∧ schwartzSobolevNorm 1 f ≤ C})) := by |
| 73 | let S : Set (Lp ℂ 2 (volume : Measure E)) := |
| 74 | (fun f : 𝓢(E, ℂ) => f.toLp 2 (volume : Measure E)) '' |
| 75 | {f | Function.support f ⊆ K ∧ schwartzSobolevNorm 1 f ≤ C} |
| 76 | have hbounded : Bornology.IsBounded S := by |
| 77 | have hb : Bornology.IsBounded (Metric.closedBall (0 : Lp ℂ 2 (volume : Measure E)) C) := |
| 78 | Metric.isBounded_closedBall |
| 79 | apply hb.subset |
| 80 | rintro _ ⟨f, ⟨_, hnorm⟩, rfl⟩ |
| 81 | simpa only [Metric.mem_closedBall, dist_zero_right] using |
| 82 | (schwartz_l2_norm_le_sobolevNorm (by norm_num : (0 : ℝ) ≤ 1) f).trans hnorm |
| 83 | have htotal : TotallyBounded S := by |
| 84 | apply totallyBounded_of_uniform_approximation |
| 85 | intro ε hε |
| 86 | let R := (|C| + 1) / ε |
| 87 | have hR : 0 < R := by dsimp [R]; positivity |
| 88 | have hsmall : R⁻¹ * C < ε := by |
| 89 | rw [inv_mul_eq_div, div_lt_iff₀ hR] |
| 90 | dsimp [R] |
| 91 | rw [mul_div_cancel₀ _ hε.ne'] |
| 92 | linarith [le_abs_self C] |
| 93 | let B := Metric.closedBall (0 : E) (2 * R) |
| 94 | have hB : IsCompact B := isCompact_closedBall _ _ |
| 95 | have : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 96 | have : CompactSpace B := isCompact_iff_compactSpace.mp hB |
| 97 | have := finite_subtype_volume hK |
| 98 | have := finite_subtype_volume hB |
| 99 | let T := LocalizedFourier.CM.Construction.localizedFourierMap hK.measurableSet hB.measurableSet |
| 100 | refine ⟨T, ?_, ?_⟩ |
| 101 | · exact ((LocalizedFourier.CM.Construction.localizedFourierMap_isCompact hK.measurableSet hB.measurableSet |
| 102 | (E := E)).isCompact_closure_image_of_bounded |
| 103 | (f := T.toLinearMap) hbounded).totallyBounded.subset subset_closure |
| 104 | · rintro _ ⟨f, ⟨hf, hnorm⟩, rfl⟩ |
| 105 | have hf' : MemSobolev 1 2 ((f.toLp 2 (volume : Measure E)) : 𝓢'(E, ℂ)) := by |
| 106 | rw [Lp.toTemperedDistribution_toLp_eq] |
| 107 | exact f.memSobolev |
| 108 | have htail := LpLocalization.CM.Construction.fourier_sharp_tail_bound hR (f.toLp 2 (volume : Measure E)) hf' |
| 109 | change dist (f.toLp 2 (volume : Measure E)) |
| 110 | (LocalizedFourier.CM.Construction.localizedFourierMap hK.measurableSet hB.measurableSet (f.toLp 2 (volume : Measure E))) < ε |
| 111 | rw [dist_eq_norm, LocalizedFourier.CM.Construction.localizedFourierMap_schwartz_support hK.measurableSet hB.measurableSet f hf] |
| 112 | apply htail.trans_lt |
| 113 | have hnorm' : Bounds.CM.Construction.sobolevNorm E ℂ 1 ⟨((f.toLp 2 (volume : Measure E)) : 𝓢'(E, ℂ)), hf'⟩ ≤ C := by |
| 114 | simpa only [Lp.toTemperedDistribution_toLp_eq, schwartzSobolevNorm] using hnorm |
| 115 | exact (mul_le_mul_of_nonneg_left hnorm' (inv_nonneg.mpr hR.le)).trans_lt hsmall |
| 116 | exact htotal.closure.isCompact_of_isClosed isClosed_closure |
| 117 | |
| 118 | end |
| 119 | |
| 120 | section |
| 121 | |
| 122 | /-! Hilbert-space realization of the genuine Sobolev inclusion. -/ |
| 123 | |
| 124 | open _root_.MeasureTheory TemperedDistribution |
| 125 | open scoped SchwartzMap |
| 126 | |
| 127 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 128 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 129 | [NormedAddCommGroup F] [InnerProductSpace ℂ F] [CompleteSpace F] |
| 130 | |
| 131 | def l2FourierMultiplierValue {g : E → ℂ} (hg : g.HasTemperateGrowth) |
| 132 | {C : ℝ} (hC : ∀ x, ‖g x‖ ≤ C) (f : Lp F 2 (volume : Measure E)) : |
| 133 | Lp F 2 (volume : Measure E) := (Bounds.CM.Construction.fourierMultiplier_l2_bound hg hC f).choose |
| 134 | |
| 135 | theorem l2FourierMultiplierValue_distribution {g : E → ℂ} (hg : g.HasTemperateGrowth) |
| 136 | {C : ℝ} (hC : ∀ x, ‖g x‖ ≤ C) (f : Lp F 2 (volume : Measure E)) : |
| 137 | (l2FourierMultiplierValue hg hC f : 𝓢'(E, F)) = |
| 138 | fourierMultiplierCLM F g (f : 𝓢'(E, F)) := |
| 139 | (Bounds.CM.Construction.fourierMultiplier_l2_bound hg hC f).choose_spec.1 |
| 140 | |
| 141 | theorem l2FourierMultiplierValue_norm_le {g : E → ℂ} (hg : g.HasTemperateGrowth) |
| 142 | {C : ℝ} (hC : ∀ x, ‖g x‖ ≤ C) (f : Lp F 2 (volume : Measure E)) : |
| 143 | ‖l2FourierMultiplierValue hg hC f‖ ≤ C * ‖f‖ := |
| 144 | (Bounds.CM.Construction.fourierMultiplier_l2_bound hg hC f).choose_spec.2 |
| 145 | |
| 146 | /-- The bounded multiplier acts continuously on the actual L² Hilbert space. -/ |
| 147 | def l2FourierMultiplier {g : E → ℂ} (hg : g.HasTemperateGrowth) |
| 148 | {C : ℝ} (hC : ∀ x, ‖g x‖ ≤ C) : |
| 149 | Lp F 2 (volume : Measure E) →L[ℂ] Lp F 2 (volume : Measure E) := |
| 150 | LinearMap.mkContinuous |
| 151 | { toFun := l2FourierMultiplierValue hg hC |
| 152 | map_add' := fun f h => by |
| 153 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 154 | (F := F) (μ := (volume : Measure E)) (p := 2))) |
| 155 | change (l2FourierMultiplierValue hg hC (f + h) : 𝓢'(E, F)) = |
| 156 | ((l2FourierMultiplierValue hg hC f + l2FourierMultiplierValue hg hC h : |
| 157 | Lp F 2 (volume : Measure E)) : 𝓢'(E, F)) |
| 158 | rw [l2FourierMultiplierValue_distribution] |
| 159 | simp only [← Lp.toTemperedDistributionCLM_apply, map_add] |
| 160 | congr 1 <;> exact (l2FourierMultiplierValue_distribution hg hC _).symm |
| 161 | map_smul' := fun c f => by |
| 162 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 163 | (F := F) (μ := (volume : Measure E)) (p := 2))) |
| 164 | change (l2FourierMultiplierValue hg hC (c • f) : 𝓢'(E, F)) = |
| 165 | ((c • l2FourierMultiplierValue hg hC f : Lp F 2 (volume : Measure E)) : 𝓢'(E, F)) |
| 166 | rw [l2FourierMultiplierValue_distribution] |
| 167 | simp only [← Lp.toTemperedDistributionCLM_apply, map_smul] |
| 168 | exact congrArg (c • ·) (l2FourierMultiplierValue_distribution hg hC f).symm } |
| 169 | C (l2FourierMultiplierValue_norm_le hg hC) |
| 170 | |
| 171 | theorem l2FourierMultiplier_distribution {g : E → ℂ} (hg : g.HasTemperateGrowth) |
| 172 | {C : ℝ} (hC : ∀ x, ‖g x‖ ≤ C) (f : Lp F 2 (volume : Measure E)) : |
| 173 | (l2FourierMultiplier hg hC f : 𝓢'(E, F)) = |
| 174 | fourierMultiplierCLM F g (f : 𝓢'(E, F)) := |
| 175 | l2FourierMultiplierValue_distribution hg hC f |
| 176 | |
| 177 | omit [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 178 | theorem negative_besselSymbol_bound {s : ℝ} (hs : 0 ≤ s) (x : E) : |
| 179 | ‖(((1 + ‖x‖ ^ 2) ^ (-s / 2) : ℝ) : ℂ)‖ ≤ 1 := by |
| 180 | rw [Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (by positivity)] |
| 181 | exact Real.rpow_le_one_of_one_le_of_nonpos (by simp) |
| 182 | (div_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr hs) (by norm_num)) |
| 183 | |
| 184 | /-- The actual Sobolev inclusion, represented on its L² Bessel coordinates. -/ |
| 185 | def sobolevL2Embedding {s : ℝ} (hs : 0 ≤ s) : |
| 186 | Lp F 2 (volume : Measure E) →L[ℂ] Lp F 2 (volume : Measure E) := |
| 187 | l2FourierMultiplier (g := fun x : E => (((1 + ‖x‖ ^ 2) ^ (-s / 2) : ℝ) : ℂ)) |
| 188 | (by fun_prop) (negative_besselSymbol_bound hs) |
| 189 | |
| 190 | theorem sobolevL2Embedding_distribution {s : ℝ} (hs : 0 ≤ s) |
| 191 | (f : Lp F 2 (volume : Measure E)) : |
| 192 | (sobolevL2Embedding hs f : 𝓢'(E, F)) = besselPotential E F (-s) (f : 𝓢'(E, F)) := |
| 193 | l2FourierMultiplier_distribution (by fun_prop) (negative_besselSymbol_bound hs) f |
| 194 | |
| 195 | theorem sobolevL2Embedding_norm_le {s : ℝ} (hs : 0 ≤ s) |
| 196 | (f : Lp F 2 (volume : Measure E)) : ‖sobolevL2Embedding hs f‖ ≤ ‖f‖ := by |
| 197 | change ‖l2FourierMultiplierValue |
| 198 | (g := fun x : E => (((1 + ‖x‖ ^ 2) ^ (-s / 2) : ℝ) : ℂ)) |
| 199 | (by fun_prop) (negative_besselSymbol_bound hs) f‖ ≤ ‖f‖ |
| 200 | simpa only [one_mul] using l2FourierMultiplierValue_norm_le |
| 201 | (g := fun x : E => (((1 + ‖x‖ ^ 2) ^ (-s / 2) : ℝ) : ℂ)) |
| 202 | (by fun_prop) (negative_besselSymbol_bound hs) f |
| 203 | |
| 204 | theorem sobolevL2Embedding_injective {s : ℝ} (hs : 0 ≤ s) : |
| 205 | Function.Injective (sobolevL2Embedding (E := E) (F := F) hs) := by |
| 206 | intro f g h |
| 207 | have heq := congrArg (fun u : Lp F 2 (volume : Measure E) => |
| 208 | besselPotential E F s (u : 𝓢'(E, F))) h |
| 209 | simp only [sobolevL2Embedding_distribution, besselPotential_besselPotential_apply, |
| 210 | neg_add_cancel, besselPotential_zero, ContinuousLinearMap.id_apply] at heq |
| 211 | exact (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 212 | (F := F) (μ := (volume : Measure E)) (p := 2))) heq |
| 213 | |
| 214 | end |
| 215 | |
| 216 | /-! The completed Sobolev space of compactly supported functions and its compact inclusion. -/ |
| 217 | |
| 218 | open _root_.MeasureTheory TemperedDistribution Set _root_.Metric |
| 219 | open scoped SchwartzMap |
| 220 | |
| 221 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 222 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 223 | |
| 224 | /-- Schwartz functions in the canonical L² Bessel coordinates of order s. -/ |
| 225 | def schwartzSobolevCoordinate (s : ℝ) : 𝓢(E, ℂ) →ₗ[ℂ] Lp ℂ 2 (volume : Measure E) := |
| 226 | (Bounds.CM.Construction.sobolevCoordinateEquiv E ℂ s).symm.toLinearMap.comp |
| 227 | ((SchwartzMap.toTemperedDistributionCLM E ℂ (volume : Measure E)).toLinearMap.codRestrict |
| 228 | (Bounds.CM.Construction.sobolevDistributionSubmodule E ℂ s) (fun f => f.memSobolev)) |
| 229 | |
| 230 | theorem schwartzSobolevCoordinate_norm (s : ℝ) (f : 𝓢(E, ℂ)) : |
| 231 | ‖schwartzSobolevCoordinate s f‖ = schwartzSobolevNorm s f := rfl |
| 232 | |
| 233 | theorem sobolevL2Embedding_schwartz {s : ℝ} (hs : 0 ≤ s) (f : 𝓢(E, ℂ)) : |
| 234 | sobolevL2Embedding hs (schwartzSobolevCoordinate s f) = f.toLp 2 (volume : Measure E) := by |
| 235 | apply (LinearMap.ker_eq_bot.mp (Lp.ker_toTemperedDistributionCLM_eq_bot |
| 236 | (F := ℂ) (μ := (volume : Measure E)) (p := 2))) |
| 237 | change ((sobolevL2Embedding hs (schwartzSobolevCoordinate s f)) : 𝓢'(E, ℂ)) = |
| 238 | ((f.toLp 2 (volume : Measure E)) : 𝓢'(E, ℂ)) |
| 239 | rw [sobolevL2Embedding_distribution, Lp.toTemperedDistribution_toLp_eq] |
| 240 | change besselPotential E ℂ (-s) |
| 241 | (((Bounds.CM.Construction.sobolevCoordinateEquiv E ℂ s).symm |
| 242 | ⟨(f : 𝓢'(E, ℂ)), f.memSobolev⟩) : 𝓢'(E, ℂ)) = _ |
| 243 | rw [Bounds.CM.Construction.sobolevCoordinateEquiv_symm_distribution, besselPotential_besselPotential_apply, |
| 244 | add_neg_cancel, besselPotential_zero, ContinuousLinearMap.id_apply] |
| 245 | |
| 246 | /-- The genuine linear subspace of Schwartz functions vanishing outside K. -/ |
| 247 | def supportedSchwartzSubmodule (K : Set E) : Submodule ℂ 𝓢(E, ℂ) where |
| 248 | carrier := {f | ∀ x ∉ K, f x = 0} |
| 249 | zero_mem' := by |
| 250 | change ∀ x ∉ K, (0 : 𝓢(E, ℂ)) x = 0 |
| 251 | intro x _ |
| 252 | rfl |
| 253 | add_mem' hf hg := by intro x hx; simp only [add_apply, hf x hx, hg x hx, add_zero] |
| 254 | smul_mem' c f hf := by intro x hx; simp only [smul_apply, hf x hx, smul_zero] |
| 255 | |
| 256 | omit [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] in |
| 257 | theorem supportedSchwartzSubmodule_mem_iff (K : Set E) (f : 𝓢(E, ℂ)) : |
| 258 | f ∈ supportedSchwartzSubmodule K ↔ Function.support f ⊆ K := by |
| 259 | constructor |
| 260 | · intro h x hx |
| 261 | by_contra hk |
| 262 | exact hx (h x hk) |
| 263 | · intro h x hx |
| 264 | by_contra hf |
| 265 | exact hx (h hf) |
| 266 | |
| 267 | /-- Completion of the actual compactly supported smooth functions in their H¹ norm. -/ |
| 268 | def supportedH1Coordinates (K : Set E) : Submodule ℂ (Lp ℂ 2 (volume : Measure E)) := |
| 269 | ((supportedSchwartzSubmodule K).map (schwartzSobolevCoordinate 1)).topologicalClosure |
| 270 | |
| 271 | instance supportedH1Coordinates_complete (K : Set E) : CompleteSpace (supportedH1Coordinates K) := |
| 272 | ((supportedSchwartzSubmodule K).map (schwartzSobolevCoordinate 1)).isClosed_topologicalClosure.completeSpace_coe |
| 273 | |
| 274 | /-- The completed space embeds into actual L² functions by inverse Bessel potential. -/ |
| 275 | def supportedH1Embedding (K : Set E) : |
| 276 | supportedH1Coordinates K →L[ℂ] Lp ℂ 2 (volume : Measure E) := |
| 277 | (sobolevL2Embedding (E := E) (F := ℂ) (by norm_num : (0 : ℝ) ≤ 1)).comp |
| 278 | (supportedH1Coordinates K).subtypeL |
| 279 | |
| 280 | theorem supportedH1Embedding_injective (K : Set E) : Function.Injective (supportedH1Embedding K) := |
| 281 | (sobolevL2Embedding_injective (by norm_num : (0 : ℝ) ≤ 1)).comp Subtype.val_injective |
| 282 | |
| 283 | /-- Completion still gives genuine distributional H¹ regularity. -/ |
| 284 | theorem supportedH1Embedding_memSobolev (K : Set E) (u : supportedH1Coordinates K) : |
| 285 | MemSobolev 1 2 ((supportedH1Embedding K u) : 𝓢'(E, ℂ)) := by |
| 286 | change MemSobolev 1 2 ((sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u.val) : 𝓢'(E, ℂ)) |
| 287 | rw [sobolevL2Embedding_distribution, memSobolev_besselPotential_iff] |
| 288 | norm_num only [neg_add_cancel] |
| 289 | exact memSobolev_zero_iff.mpr ⟨u.val, rfl⟩ |
| 290 | |
| 291 | /-- The L² representative of a completed supported function vanishes almost everywhere outside K. -/ |
| 292 | theorem supportedH1Embedding_support {K : Set E} (hK : MeasurableSet K) |
| 293 | (u : supportedH1Coordinates K) : |
| 294 | ∀ᵐ x ∂(volume : Measure E).restrict Kᶜ, supportedH1Embedding K u x = 0 := by |
| 295 | let J := sobolevL2Embedding (E := E) (F := ℂ) (by norm_num : (0 : ℝ) ≤ 1) |
| 296 | let P : Lp ℂ 2 (volume : Measure E) →L[ℂ] Lp ℂ 2 (volume : Measure E) := |
| 297 | (LpLocalization.CM.Construction.lpSubtypeZeroExtension volume hK).toContinuousLinearMap.comp (LpLocalization.CM.Construction.lpSubtypeRestriction volume hK) |
| 298 | have hclosed : IsClosed {v : Lp ℂ 2 (volume : Measure E) | P (J v) = J v} := |
| 299 | isClosed_eq (P.continuous.comp J.continuous) J.continuous |
| 300 | have hdense : (((supportedSchwartzSubmodule K).map (schwartzSobolevCoordinate 1)) : |
| 301 | Set (Lp ℂ 2 (volume : Measure E))) ⊆ {v | P (J v) = J v} := by |
| 302 | rintro _ ⟨f, hf, rfl⟩ |
| 303 | change P (sobolevL2Embedding _ (schwartzSobolevCoordinate 1 f)) = |
| 304 | sobolevL2Embedding _ (schwartzSobolevCoordinate 1 f) |
| 305 | rw [sobolevL2Embedding_schwartz] |
| 306 | apply Lp.ext |
| 307 | filter_upwards [LpLocalization.CM.Construction.lpSubtype_localization_coeFn volume hK (f.toLp 2 (volume : Measure E)), |
| 308 | f.coeFn_toLp 2 (volume : Measure E)] with x hx hfx |
| 309 | change P (f.toLp 2 (volume : Measure E)) x = (f.toLp 2 (volume : Measure E)) x |
| 310 | rw [show P (f.toLp 2 (volume : Measure E)) x = K.indicator |
| 311 | (fun y => (f.toLp 2 (volume : Measure E)) y) x from hx] |
| 312 | by_cases hxK : x ∈ K |
| 313 | · exact Set.indicator_of_mem hxK _ |
| 314 | · rw [Set.indicator_of_notMem hxK, hfx, hf x hxK] |
| 315 | have hfixed : P (J u.val) = J u.val := (closure_minimal hdense hclosed) u.property |
| 316 | have hae := LpLocalization.CM.Construction.lpSubtype_localization_coeFn volume hK (J u.val) |
| 317 | change P (J u.val) =ᵐ[volume] K.indicator (fun x => J u.val x) at hae |
| 318 | rw [hfixed] at hae |
| 319 | filter_upwards [ae_restrict_of_ae hae, ae_restrict_mem hK.compl] with x hx hk |
| 320 | change J u.val x = 0 |
| 321 | exact hx.trans (Set.indicator_of_notMem hk _) |
| 322 | |
| 323 | /-- Rellich compactness persists after completing the smooth compactly supported space. -/ |
| 324 | theorem supportedH1Embedding_isCompact {K : Set E} (hK : IsCompact K) : |
| 325 | IsCompactOperator (supportedH1Embedding K) := by |
| 326 | apply (isCompactOperator_iff_image_closedBall_subset_compact |
| 327 | (supportedH1Embedding K).toLinearMap (by norm_num : (0 : ℝ) < 1)).mpr |
| 328 | let S := (fun f : 𝓢(E, ℂ) => f.toLp 2 (volume : Measure E)) '' |
| 329 | {f | Function.support f ⊆ K ∧ schwartzSobolevNorm 1 f ≤ 2} |
| 330 | refine ⟨closure S, schwartz_rellich_compact hK 2, ?_⟩ |
| 331 | rintro _ ⟨u, hu, rfl⟩ |
| 332 | apply Metric.mem_closure_iff.mpr |
| 333 | intro ε hε |
| 334 | have huclosure : u.val ∈ closure |
| 335 | (((supportedSchwartzSubmodule K).map (schwartzSobolevCoordinate 1)) : Set (Lp ℂ 2 volume)) := |
| 336 | u.property |
| 337 | obtain ⟨w, hw, hdist⟩ := Metric.mem_closure_iff.mp huclosure (min 1 ε) (lt_min (by norm_num) hε) |
| 338 | obtain ⟨f, hf, rfl⟩ := hw |
| 339 | have hunorm : ‖u.val‖ ≤ 1 := by |
| 340 | change ‖u‖ ≤ 1 |
| 341 | simpa only [Metric.mem_closedBall, dist_zero_right] using hu |
| 342 | have hfnorm : schwartzSobolevNorm 1 f ≤ 2 := by |
| 343 | rw [← schwartzSobolevCoordinate_norm] |
| 344 | have hdist' : ‖schwartzSobolevCoordinate 1 f - u.val‖ < 1 := by |
| 345 | simpa only [dist_eq_norm, norm_sub_rev] using hdist.trans_le (min_le_left 1 ε) |
| 346 | have hn := norm_le_norm_add_norm_sub u.val (schwartzSobolevCoordinate 1 f) |
| 347 | rw [norm_sub_rev u.val] at hn |
| 348 | linarith |
| 349 | refine ⟨f.toLp 2 (volume : Measure E), ⟨f, ⟨?_, hfnorm⟩, rfl⟩, ?_⟩ |
| 350 | · exact (supportedSchwartzSubmodule_mem_iff K f).mp hf |
| 351 | · rw [← sobolevL2Embedding_schwartz (by norm_num : (0 : ℝ) ≤ 1) f] |
| 352 | change dist (sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) u.val) |
| 353 | (sobolevL2Embedding (by norm_num : (0 : ℝ) ≤ 1) (schwartzSobolevCoordinate 1 f)) < ε |
| 354 | rw [dist_eq_norm, ← map_sub] |
| 355 | exact (sobolevL2Embedding_norm_le (by norm_num : (0 : ℝ) ≤ 1) _).trans_lt |
| 356 | (by simpa only [dist_eq_norm] using hdist.trans_le (min_le_right 1 ε)) |
| 357 | |
| 358 | end |
| 359 | |
| 360 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevIs.CM.Construction |