Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | /- |
| 2 | Provenance and modification notice (recorded 2026-09-29). |
| 3 | Notices for the adapted source: |
| 4 | Copyright 2026 The DifferentialGeometry contributors |
| 5 | Source: https://github.com/qinz1yang/differential-geometry |
| 6 | DifferentialGeometry/Analysis/Sobolev/Euclidean/IteratedSobolevSpace/IteratedSobolev.lean |
| 7 | Comparison revision: 1b535dd102b94cc42b107cca27059687888f08b3. |
| 8 | Changes: Imports, module paths, and namespaces were adapted to the subject-organized PoincareLib library. |
| 9 | License: Apache-2.0. Source licenses and notices are retained under |
| 10 | PoincareConjecture/provenance/2026-09-29/licenses/. |
| 11 | See PoincareConjecture/MODIFICATIONS.md for the reviewed source mapping. |
| 12 | -/ |
| 13 | |
| 14 | import PoincareLib.Analysis.Elliptic.Regularity.Sobolev.Weak.Approximation |
| 15 | import Mathlib.MeasureTheory.Function.LpSeminorm.Basic |
| 16 | import Mathlib.MeasureTheory.Function.LpSeminorm.Indicator |
| 17 | |
| 18 | /- |
| 19 | Adapted from Chow--Liao--Qin, revision `1b535dd102b94cc42b107cca27059687888f08b3`, |
| 20 | `DifferentialGeometry/Analysis/Sobolev/Euclidean/IteratedSobolevSpace/IteratedSobolev.lean`. |
| 21 | Apache-2.0; see `PoincareConjecture/provenance/2026-09-29/licenses/DifferentialGeometry/LICENSE`. |
| 22 | -/ |
| 23 | |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | open MeasureTheory Set Filter Topology |
| 28 | open scoped ENNReal NNReal |
| 29 | |
| 30 | namespace Poincare |
| 31 | namespace Analysis |
| 32 | namespace Sobolev |
| 33 | namespace Euclidean |
| 34 | |
| 35 | variable {d : ℕ} |
| 36 | |
| 37 | local notation "E" => EuclideanSpace ℝ (Fin d) |
| 38 | |
| 39 | def chosenWeakPartial' (p : ℝ≥0∞) (i : Fin d) (u : E → ℝ) (Ω : Set E) : E → ℝ := by |
| 40 | classical |
| 41 | exact |
| 42 | if h : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω then |
| 43 | fun x => (Poincare.Analysis.Sobolev.Weak.MemW1p.someWitness h).weakGrad x i |
| 44 | else 0 |
| 45 | |
| 46 | theorem chosenWeakPartial'_memLp_of_mem |
| 47 | {p : ℝ≥0∞} {Ω : Set E} {u : E → ℝ} |
| 48 | (h : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (i : Fin d) : |
| 49 | MemLp (chosenWeakPartial' p i u Ω) p (volume.restrict Ω) := by |
| 50 | classical |
| 51 | unfold chosenWeakPartial' |
| 52 | simp only [dif_pos h] |
| 53 | exact (Poincare.Analysis.Sobolev.Weak.MemW1p.someWitness h).weakGrad_component_memLp i |
| 54 | |
| 55 | theorem chosenWeakPartial'_isWeakPartial_of_mem |
| 56 | {p : ℝ≥0∞} {Ω : Set E} {u : E → ℝ} |
| 57 | (h : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (i : Fin d) : |
| 58 | Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i (chosenWeakPartial' p i u Ω) u Ω := by |
| 59 | classical |
| 60 | unfold chosenWeakPartial' |
| 61 | simp only [dif_pos h] |
| 62 | exact (Poincare.Analysis.Sobolev.Weak.MemW1p.someWitness h).isWeakGrad i |
| 63 | |
| 64 | theorem chosenWeakPartial'_of_not_mem |
| 65 | {p : ℝ≥0∞} {Ω : Set E} {u : E → ℝ} |
| 66 | (h : ¬ Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (i : Fin d) : |
| 67 | chosenWeakPartial' p i u Ω = 0 := by |
| 68 | classical |
| 69 | unfold chosenWeakPartial' |
| 70 | simp only [dif_neg h] |
| 71 | |
| 72 | def MemWkp : ℕ → ℝ≥0∞ → (E → ℝ) → Set E → Prop |
| 73 | | 0, p, u, Ω => MemLp u p (volume.restrict Ω) |
| 74 | | k + 1, p, u, Ω => |
| 75 | Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω ∧ ∀ i : Fin d, MemWkp k p (chosenWeakPartial' p i u Ω) Ω |
| 76 | |
| 77 | @[simp] lemma MemWkp_zero (p : ℝ≥0∞) (u : E → ℝ) (Ω : Set E) : |
| 78 | MemWkp (d := d) 0 p u Ω ↔ MemLp u p (volume.restrict Ω) := Iff.rfl |
| 79 | |
| 80 | @[simp] lemma MemWkp_succ (k : ℕ) (p : ℝ≥0∞) (u : E → ℝ) (Ω : Set E) : |
| 81 | MemWkp (d := d) (k + 1) p u Ω ↔ |
| 82 | Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω ∧ |
| 83 | ∀ i : Fin d, MemWkp (d := d) k p (chosenWeakPartial' p i u Ω) Ω := Iff.rfl |
| 84 | |
| 85 | theorem MemWkp.zero_iff_memLp |
| 86 | {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} : |
| 87 | MemWkp (d := d) 0 p u Ω ↔ MemLp u p (volume.restrict Ω) := Iff.rfl |
| 88 | |
| 89 | theorem MemWkp.one_iff_memW1p |
| 90 | {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} : |
| 91 | MemWkp (d := d) 1 p u Ω ↔ Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω := by |
| 92 | unfold MemWkp |
| 93 | refine ⟨fun h => h.1, fun h => ⟨h, fun i => ?_⟩⟩ |
| 94 | exact chosenWeakPartial'_memLp_of_mem h i |
| 95 | |
| 96 | theorem MemWkp.memLp |
| 97 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 98 | (h : MemWkp (d := d) k p u Ω) : |
| 99 | MemLp u p (volume.restrict Ω) := by |
| 100 | cases k with |
| 101 | | zero => exact h |
| 102 | | succ k => |
| 103 | rw [MemWkp_succ] at h |
| 104 | exact h.1.1 |
| 105 | |
| 106 | theorem MemWkp.memW1p |
| 107 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 108 | (h : MemWkp (d := d) (k + 1) p u Ω) : |
| 109 | Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω := by |
| 110 | rw [MemWkp_succ] at h |
| 111 | exact h.1 |
| 112 | |
| 113 | theorem MemWkp.chosenWeakPartial_mem |
| 114 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 115 | (h : MemWkp (d := d) (k + 1) p u Ω) (i : Fin d) : |
| 116 | MemWkp (d := d) k p (chosenWeakPartial' p i u Ω) Ω := by |
| 117 | rw [MemWkp_succ] at h |
| 118 | exact h.2 i |
| 119 | |
| 120 | theorem MemWkp.le_succ |
| 121 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 122 | (h : MemWkp (d := d) (k + 1) p u Ω) : |
| 123 | MemWkp (d := d) k p u Ω := by |
| 124 | induction k generalizing u with |
| 125 | | zero => |
| 126 | rw [MemWkp_zero] |
| 127 | exact h.memLp |
| 128 | | succ k ih => |
| 129 | rw [MemWkp_succ] at h ⊢ |
| 130 | refine ⟨h.1, fun i => ?_⟩ |
| 131 | exact ih (h.2 i) |
| 132 | |
| 133 | theorem MemWkp.le_of_le |
| 134 | {k k' : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 135 | (hk : k ≤ k') (h : MemWkp (d := d) k' p u Ω) : |
| 136 | MemWkp (d := d) k p u Ω := by |
| 137 | induction k', hk using Nat.le_induction with |
| 138 | | base => exact h |
| 139 | | succ k' _hk ih => exact ih h.le_succ |
| 140 | |
| 141 | def iterWeakPartial (p : ℝ≥0∞) : |
| 142 | ∀ (j : ℕ), (Fin j → Fin d) → (E → ℝ) → Set E → (E → ℝ) |
| 143 | | 0, _, u, _ => u |
| 144 | | j + 1, α, u, Ω => |
| 145 | iterWeakPartial p j (fun i : Fin j => α i.succ) |
| 146 | (chosenWeakPartial' p (α 0) u Ω) Ω |
| 147 | |
| 148 | @[simp] lemma iterWeakPartial_zero |
| 149 | (p : ℝ≥0∞) (α : Fin 0 → Fin d) (u : E → ℝ) (Ω : Set E) : |
| 150 | iterWeakPartial (d := d) p 0 α u Ω = u := rfl |
| 151 | |
| 152 | lemma iterWeakPartial_succ |
| 153 | (p : ℝ≥0∞) (j : ℕ) (α : Fin (j + 1) → Fin d) |
| 154 | (u : E → ℝ) (Ω : Set E) : |
| 155 | iterWeakPartial (d := d) p (j + 1) α u Ω = |
| 156 | iterWeakPartial p j (fun i : Fin j => α i.succ) |
| 157 | (chosenWeakPartial' p (α 0) u Ω) Ω := rfl |
| 158 | |
| 159 | theorem iterWeakPartial_memLp_of_memWkp |
| 160 | {j : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 161 | (h : MemWkp (d := d) j p u Ω) (α : Fin j → Fin d) : |
| 162 | MemLp (iterWeakPartial (d := d) p j α u Ω) p (volume.restrict Ω) := by |
| 163 | induction j generalizing u with |
| 164 | | zero => |
| 165 | simpa [iterWeakPartial_zero] using h |
| 166 | | succ j ih => |
| 167 | rw [iterWeakPartial_succ] |
| 168 | exact ih (h.chosenWeakPartial_mem (α 0)) (fun i : Fin j => α i.succ) |
| 169 | |
| 170 | theorem hasWeakPartialDeriv_congr_ae |
| 171 | {Ω : Set E} (hΩ : IsOpen Ω) |
| 172 | (i : Fin d) {g u v : E → ℝ} |
| 173 | (huv : u =ᵐ[volume.restrict Ω] v) |
| 174 | (h : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i g u Ω) : |
| 175 | Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i g v Ω := by |
| 176 | let _ := hΩ |
| 177 | intro φ hφ_smooth hφ_supp hφ_sub |
| 178 | have h_ae : |
| 179 | (fun x : E => v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 180 | =ᵐ[volume.restrict Ω] |
| 181 | (fun x : E => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := by |
| 182 | filter_upwards [huv.symm] with x hx |
| 183 | simp [hx] |
| 184 | rw [integral_congr_ae h_ae] |
| 185 | exact h φ hφ_smooth hφ_supp hφ_sub |
| 186 | |
| 187 | theorem MemW1p_congr_ae |
| 188 | {p : ℝ≥0∞} {Ω : Set E} (hΩ : IsOpen Ω) |
| 189 | {u v : E → ℝ} (huv : u =ᵐ[volume.restrict Ω] v) : |
| 190 | Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω ↔ Poincare.Analysis.Sobolev.Weak.MemW1p p v Ω := by |
| 191 | refine ⟨fun h => ?_, fun h => ?_⟩ |
| 192 | · refine ⟨?_, ?_⟩ |
| 193 | · exact (memLp_congr_ae huv).mp h.1 |
| 194 | · intro i |
| 195 | obtain ⟨g, hg_memLp, hg_weak⟩ := h.2 i |
| 196 | exact ⟨g, hg_memLp, hasWeakPartialDeriv_congr_ae hΩ i huv hg_weak⟩ |
| 197 | · refine ⟨?_, ?_⟩ |
| 198 | · exact (memLp_congr_ae huv.symm).mp h.1 |
| 199 | · intro i |
| 200 | obtain ⟨g, hg_memLp, hg_weak⟩ := h.2 i |
| 201 | exact ⟨g, hg_memLp, hasWeakPartialDeriv_congr_ae hΩ i huv.symm hg_weak⟩ |
| 202 | |
| 203 | theorem chosenWeakPartial'_ae_congr |
| 204 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 205 | {u v : E → ℝ} (huv : u =ᵐ[volume.restrict Ω] v) |
| 206 | (i : Fin d) : |
| 207 | chosenWeakPartial' p i u Ω =ᵐ[volume.restrict Ω] chosenWeakPartial' p i v Ω := by |
| 208 | classical |
| 209 | by_cases hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω |
| 210 | · have hv : Poincare.Analysis.Sobolev.Weak.MemW1p p v Ω := (MemW1p_congr_ae hΩ huv).mp hu |
| 211 | have hPu := chosenWeakPartial'_isWeakPartial_of_mem hu i |
| 212 | have hPv := chosenWeakPartial'_isWeakPartial_of_mem hv i |
| 213 | have hPv_u : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i (chosenWeakPartial' p i v Ω) u Ω := |
| 214 | hasWeakPartialDeriv_congr_ae hΩ i huv.symm hPv |
| 215 | have hLpu : LocallyIntegrable (chosenWeakPartial' p i u Ω) (volume.restrict Ω) := |
| 216 | (chosenWeakPartial'_memLp_of_mem hu i).locallyIntegrable hp |
| 217 | have hLpv : LocallyIntegrable (chosenWeakPartial' p i v Ω) (volume.restrict Ω) := |
| 218 | (chosenWeakPartial'_memLp_of_mem hv i).locallyIntegrable hp |
| 219 | exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.ae_eq hΩ hPu hPv_u hLpu hLpv |
| 220 | · have hv : ¬ Poincare.Analysis.Sobolev.Weak.MemW1p p v Ω := fun hv => hu ((MemW1p_congr_ae hΩ huv).mpr hv) |
| 221 | rw [chosenWeakPartial'_of_not_mem hu, chosenWeakPartial'_of_not_mem hv] |
| 222 | |
| 223 | theorem MemWkp_congr_ae |
| 224 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 225 | {u v : E → ℝ} (huv : u =ᵐ[volume.restrict Ω] v) : |
| 226 | MemWkp (d := d) k p u Ω ↔ MemWkp (d := d) k p v Ω := by |
| 227 | induction k generalizing u v with |
| 228 | | zero => |
| 229 | simp only [MemWkp_zero] |
| 230 | exact memLp_congr_ae huv |
| 231 | | succ k ih => |
| 232 | simp only [MemWkp_succ] |
| 233 | refine ⟨fun h => ⟨?_, ?_⟩, fun h => ⟨?_, ?_⟩⟩ |
| 234 | · exact (MemW1p_congr_ae hΩ huv).mp h.1 |
| 235 | · intro i |
| 236 | have hae := chosenWeakPartial'_ae_congr (d := d) hp hΩ huv i |
| 237 | exact (ih hae).mp (h.2 i) |
| 238 | · exact (MemW1p_congr_ae hΩ huv).mpr h.1 |
| 239 | · intro i |
| 240 | have hae := chosenWeakPartial'_ae_congr (d := d) hp hΩ huv.symm i |
| 241 | exact (ih hae).mp (h.2 i) |
| 242 | |
| 243 | theorem chosenWeakPartial'_ae_zero_of_ae_zero |
| 244 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 245 | {u : E → ℝ} (hu_ae : u =ᵐ[volume.restrict Ω] (fun _ => 0)) |
| 246 | (i : Fin d) : |
| 247 | chosenWeakPartial' p i u Ω =ᵐ[volume.restrict Ω] (fun _ : E => (0 : ℝ)) := by |
| 248 | classical |
| 249 | by_cases hW : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω |
| 250 | · have h_zero_is_weak : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i (fun _ : E => (0 : ℝ)) u Ω := by |
| 251 | intro φ hφ hφ_supp hφ_sub |
| 252 | have h_ae_lhs : |
| 253 | (fun x : E => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 254 | =ᵐ[volume.restrict Ω] |
| 255 | (fun x : E => 0 * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := by |
| 256 | filter_upwards [hu_ae] with x hx |
| 257 | simp [hx] |
| 258 | have hLHS_zero : |
| 259 | ∫ x in Ω, u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) = 0 := by |
| 260 | rw [integral_congr_ae h_ae_lhs] |
| 261 | simp |
| 262 | rw [hLHS_zero] |
| 263 | simp |
| 264 | have hPartial : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 265 | (chosenWeakPartial' p i u Ω) u Ω := |
| 266 | chosenWeakPartial'_isWeakPartial_of_mem hW i |
| 267 | have hLp1 : LocallyIntegrable (chosenWeakPartial' p i u Ω) |
| 268 | (volume.restrict Ω) := |
| 269 | (chosenWeakPartial'_memLp_of_mem hW i).locallyIntegrable hp |
| 270 | have hLp2 : LocallyIntegrable (fun _ : E => (0 : ℝ)) (volume.restrict Ω) := |
| 271 | locallyIntegrable_const 0 |
| 272 | exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.ae_eq hΩ hPartial h_zero_is_weak hLp1 hLp2 |
| 273 | · rw [chosenWeakPartial'_of_not_mem hW] |
| 274 | exact Filter.Eventually.of_forall (fun _ => rfl) |
| 275 | |
| 276 | theorem iterWeakPartial_ae_zero_of_input_ae_zero |
| 277 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 278 | (j : ℕ) (α : Fin j → Fin d) {u : E → ℝ} |
| 279 | (hu : u =ᵐ[volume.restrict Ω] (fun _ => 0)) : |
| 280 | iterWeakPartial (d := d) p j α u Ω =ᵐ[volume.restrict Ω] |
| 281 | (fun _ : E => (0 : ℝ)) := by |
| 282 | induction j generalizing u with |
| 283 | | zero => |
| 284 | simpa [iterWeakPartial_zero] using hu |
| 285 | | succ j ih => |
| 286 | rw [iterWeakPartial_succ] |
| 287 | have h_chosen_ae : chosenWeakPartial' p (α 0) u Ω |
| 288 | =ᵐ[volume.restrict Ω] (fun _ : E => (0 : ℝ)) := |
| 289 | chosenWeakPartial'_ae_zero_of_ae_zero (d := d) hp hΩ hu (α 0) |
| 290 | exact ih (fun i : Fin j => α i.succ) h_chosen_ae |
| 291 | |
| 292 | theorem MemWkp_zero_fun |
| 293 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) : |
| 294 | MemWkp (d := d) k p (fun _ : E => (0 : ℝ)) Ω := by |
| 295 | classical |
| 296 | induction k with |
| 297 | | zero => |
| 298 | rw [MemWkp_zero] |
| 299 | exact MemLp.zero |
| 300 | | succ k ih => |
| 301 | rw [MemWkp_succ] |
| 302 | refine ⟨?_, ?_⟩ |
| 303 | · refine ⟨MemLp.zero, ?_⟩ |
| 304 | intro i |
| 305 | refine ⟨fun _ => (0 : ℝ), MemLp.zero, ?_⟩ |
| 306 | intro φ hφ hφ_supp hφ_sub |
| 307 | simp |
| 308 | · intro i |
| 309 | have hae : chosenWeakPartial' p i (fun _ : E => (0 : ℝ)) Ω |
| 310 | =ᵐ[volume.restrict Ω] (fun _ : E => (0 : ℝ)) := |
| 311 | chosenWeakPartial'_ae_zero_of_ae_zero (d := d) hp hΩ |
| 312 | (Filter.Eventually.of_forall (fun _ => rfl)) i |
| 313 | exact (MemWkp_congr_ae (d := d) hp hΩ hae).mpr ih |
| 314 | |
| 315 | theorem MemW1p.add |
| 316 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} |
| 317 | {u v : E → ℝ} |
| 318 | (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (hv : Poincare.Analysis.Sobolev.Weak.MemW1p p v Ω) : |
| 319 | Poincare.Analysis.Sobolev.Weak.MemW1p p (fun x => u x + v x) Ω := by |
| 320 | refine ⟨?_, ?_⟩ |
| 321 | · exact hu.1.add hv.1 |
| 322 | · intro i |
| 323 | obtain ⟨gu, hgu_memLp, hgu_weak⟩ := hu.2 i |
| 324 | obtain ⟨gv, hgv_memLp, hgv_weak⟩ := hv.2 i |
| 325 | refine ⟨fun x => gu x + gv x, hgu_memLp.add hgv_memLp, ?_⟩ |
| 326 | intro φ hφ_smooth hφ_supp hφ_sub |
| 327 | have h_u_eq := hgu_weak φ hφ_smooth hφ_supp hφ_sub |
| 328 | have h_v_eq := hgv_weak φ hφ_smooth hφ_supp hφ_sub |
| 329 | have hu_int : Integrable |
| 330 | (fun x => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 331 | (volume.restrict Ω) := by |
| 332 | have hu_loc : LocallyIntegrable u (volume.restrict Ω) := |
| 333 | hu.1.locallyIntegrable hp |
| 334 | have hderiv_cont : |
| 335 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 336 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 337 | continuous_const |
| 338 | have hderiv_supp : HasCompactSupport |
| 339 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 340 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 341 | simpa [smul_eq_mul] using |
| 342 | hu_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 343 | have hv_int : Integrable |
| 344 | (fun x => v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 345 | (volume.restrict Ω) := by |
| 346 | have hv_loc : LocallyIntegrable v (volume.restrict Ω) := |
| 347 | hv.1.locallyIntegrable hp |
| 348 | have hderiv_cont : |
| 349 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 350 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 351 | continuous_const |
| 352 | have hderiv_supp : HasCompactSupport |
| 353 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 354 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 355 | simpa [smul_eq_mul] using |
| 356 | hv_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 357 | have hgu_int : Integrable (fun x => gu x * φ x) (volume.restrict Ω) := by |
| 358 | have hgu_loc : LocallyIntegrable gu (volume.restrict Ω) := |
| 359 | hgu_memLp.locallyIntegrable hp |
| 360 | simpa [smul_eq_mul] using |
| 361 | hgu_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 362 | have hgv_int : Integrable (fun x => gv x * φ x) (volume.restrict Ω) := by |
| 363 | have hgv_loc : LocallyIntegrable gv (volume.restrict Ω) := |
| 364 | hgv_memLp.locallyIntegrable hp |
| 365 | simpa [smul_eq_mul] using |
| 366 | hgv_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 367 | calc |
| 368 | ∫ x in Ω, (u x + v x) * (fderiv ℝ φ x) (EuclideanSpace.single i 1) |
| 369 | = ∫ x in Ω, |
| 370 | u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) + |
| 371 | v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := by |
| 372 | congr 1; funext x; ring |
| 373 | _ = (∫ x in Ω, u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) + |
| 374 | ∫ x in Ω, v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := |
| 375 | integral_add hu_int hv_int |
| 376 | _ = (- ∫ x in Ω, gu x * φ x) + (- ∫ x in Ω, gv x * φ x) := by |
| 377 | rw [h_u_eq, h_v_eq] |
| 378 | _ = - ((∫ x in Ω, gu x * φ x) + (∫ x in Ω, gv x * φ x)) := by ring |
| 379 | _ = - ∫ x in Ω, gu x * φ x + gv x * φ x := by |
| 380 | rw [integral_add hgu_int hgv_int] |
| 381 | _ = - ∫ x in Ω, (gu x + gv x) * φ x := by |
| 382 | congr 1; congr 1; funext x; ring |
| 383 | |
| 384 | theorem chosenWeakPartial'_add_ae |
| 385 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 386 | {u v : E → ℝ} (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (hv : Poincare.Analysis.Sobolev.Weak.MemW1p p v Ω) |
| 387 | (i : Fin d) : |
| 388 | chosenWeakPartial' p i (fun x => u x + v x) Ω |
| 389 | =ᵐ[volume.restrict Ω] |
| 390 | (fun x => chosenWeakPartial' p i u Ω x + chosenWeakPartial' p i v Ω x) := by |
| 391 | classical |
| 392 | have huv : Poincare.Analysis.Sobolev.Weak.MemW1p p (fun x => u x + v x) Ω := |
| 393 | MemW1p.add hp hu hv |
| 394 | have hPartial_left : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 395 | (chosenWeakPartial' p i (fun x => u x + v x) Ω) (fun x => u x + v x) Ω := |
| 396 | chosenWeakPartial'_isWeakPartial_of_mem huv i |
| 397 | have hPartial_right : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 398 | (fun x => chosenWeakPartial' p i u Ω x + chosenWeakPartial' p i v Ω x) |
| 399 | (fun x => u x + v x) Ω := by |
| 400 | intro φ hφ_smooth hφ_supp hφ_sub |
| 401 | have h_u_eq := chosenWeakPartial'_isWeakPartial_of_mem hu i φ hφ_smooth hφ_supp hφ_sub |
| 402 | have h_v_eq := chosenWeakPartial'_isWeakPartial_of_mem hv i φ hφ_smooth hφ_supp hφ_sub |
| 403 | have hu_int : Integrable |
| 404 | (fun x => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 405 | (volume.restrict Ω) := by |
| 406 | have hu_loc : LocallyIntegrable u (volume.restrict Ω) := |
| 407 | hu.1.locallyIntegrable hp |
| 408 | have hderiv_cont : |
| 409 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 410 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 411 | continuous_const |
| 412 | have hderiv_supp : HasCompactSupport |
| 413 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 414 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 415 | simpa [smul_eq_mul] using |
| 416 | hu_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 417 | have hv_int : Integrable |
| 418 | (fun x => v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 419 | (volume.restrict Ω) := by |
| 420 | have hv_loc : LocallyIntegrable v (volume.restrict Ω) := |
| 421 | hv.1.locallyIntegrable hp |
| 422 | have hderiv_cont : |
| 423 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 424 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 425 | continuous_const |
| 426 | have hderiv_supp : HasCompactSupport |
| 427 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 428 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 429 | simpa [smul_eq_mul] using |
| 430 | hv_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 431 | have hgu_int : Integrable (fun x => chosenWeakPartial' p i u Ω x * φ x) |
| 432 | (volume.restrict Ω) := by |
| 433 | have hgu_loc : LocallyIntegrable (chosenWeakPartial' p i u Ω) (volume.restrict Ω) := |
| 434 | (chosenWeakPartial'_memLp_of_mem hu i).locallyIntegrable hp |
| 435 | simpa [smul_eq_mul] using |
| 436 | hgu_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 437 | have hgv_int : Integrable (fun x => chosenWeakPartial' p i v Ω x * φ x) |
| 438 | (volume.restrict Ω) := by |
| 439 | have hgv_loc : LocallyIntegrable (chosenWeakPartial' p i v Ω) (volume.restrict Ω) := |
| 440 | (chosenWeakPartial'_memLp_of_mem hv i).locallyIntegrable hp |
| 441 | simpa [smul_eq_mul] using |
| 442 | hgv_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 443 | calc |
| 444 | ∫ x in Ω, (u x + v x) * (fderiv ℝ φ x) (EuclideanSpace.single i 1) |
| 445 | = ∫ x in Ω, |
| 446 | u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) + |
| 447 | v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := by |
| 448 | congr 1; funext x; ring |
| 449 | _ = (∫ x in Ω, u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) + |
| 450 | ∫ x in Ω, v x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := |
| 451 | integral_add hu_int hv_int |
| 452 | _ = (- ∫ x in Ω, chosenWeakPartial' p i u Ω x * φ x) + |
| 453 | (- ∫ x in Ω, chosenWeakPartial' p i v Ω x * φ x) := by |
| 454 | rw [h_u_eq, h_v_eq] |
| 455 | _ = - ((∫ x in Ω, chosenWeakPartial' p i u Ω x * φ x) + |
| 456 | (∫ x in Ω, chosenWeakPartial' p i v Ω x * φ x)) := by ring |
| 457 | _ = - ∫ x in Ω, |
| 458 | chosenWeakPartial' p i u Ω x * φ x + |
| 459 | chosenWeakPartial' p i v Ω x * φ x := by |
| 460 | rw [integral_add hgu_int hgv_int] |
| 461 | _ = - ∫ x in Ω, |
| 462 | (chosenWeakPartial' p i u Ω x + chosenWeakPartial' p i v Ω x) * φ x := by |
| 463 | congr 1; congr 1; funext x; ring |
| 464 | have hLp_left : LocallyIntegrable (chosenWeakPartial' p i (fun x => u x + v x) Ω) |
| 465 | (volume.restrict Ω) := |
| 466 | (chosenWeakPartial'_memLp_of_mem huv i).locallyIntegrable hp |
| 467 | have hLp_right : LocallyIntegrable |
| 468 | (fun x => chosenWeakPartial' p i u Ω x + chosenWeakPartial' p i v Ω x) |
| 469 | (volume.restrict Ω) := |
| 470 | ((chosenWeakPartial'_memLp_of_mem hu i).add |
| 471 | (chosenWeakPartial'_memLp_of_mem hv i)).locallyIntegrable hp |
| 472 | exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.ae_eq hΩ hPartial_left hPartial_right |
| 473 | hLp_left hLp_right |
| 474 | |
| 475 | theorem MemWkp.add |
| 476 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 477 | {u v : E → ℝ} |
| 478 | (hu : MemWkp (d := d) k p u Ω) (hv : MemWkp (d := d) k p v Ω) : |
| 479 | MemWkp (d := d) k p (fun x => u x + v x) Ω := by |
| 480 | induction k generalizing u v with |
| 481 | | zero => |
| 482 | rw [MemWkp_zero] at hu hv ⊢ |
| 483 | exact hu.add hv |
| 484 | | succ k ih => |
| 485 | rw [MemWkp_succ] at hu hv ⊢ |
| 486 | refine ⟨MemW1p.add hp hu.1 hv.1, ?_⟩ |
| 487 | intro i |
| 488 | have hae := chosenWeakPartial'_add_ae (d := d) hp hΩ hu.1 hv.1 i |
| 489 | have hSum : MemWkp (d := d) k p |
| 490 | (fun x => chosenWeakPartial' p i u Ω x + chosenWeakPartial' p i v Ω x) Ω := |
| 491 | ih (hu.2 i) (hv.2 i) |
| 492 | exact (MemWkp_congr_ae (d := d) hp hΩ hae).mpr hSum |
| 493 | |
| 494 | theorem MemW1p.const_smul |
| 495 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} |
| 496 | {u : E → ℝ} (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (c : ℝ) : |
| 497 | Poincare.Analysis.Sobolev.Weak.MemW1p p (fun x => c * u x) Ω := by |
| 498 | refine ⟨?_, ?_⟩ |
| 499 | · exact hu.1.const_mul c |
| 500 | · intro i |
| 501 | obtain ⟨g, hg_memLp, hg_weak⟩ := hu.2 i |
| 502 | refine ⟨fun x => c * g x, hg_memLp.const_mul c, ?_⟩ |
| 503 | intro φ hφ_smooth hφ_supp hφ_sub |
| 504 | have h := hg_weak φ hφ_smooth hφ_supp hφ_sub |
| 505 | have hg_int : Integrable (fun x => g x * φ x) (volume.restrict Ω) := by |
| 506 | have hg_loc : LocallyIntegrable g (volume.restrict Ω) := |
| 507 | hg_memLp.locallyIntegrable hp |
| 508 | simpa [smul_eq_mul] using |
| 509 | hg_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 510 | have hu_int : Integrable |
| 511 | (fun x => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 512 | (volume.restrict Ω) := by |
| 513 | have hu_loc : LocallyIntegrable u (volume.restrict Ω) := |
| 514 | hu.1.locallyIntegrable hp |
| 515 | have hderiv_cont : |
| 516 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 517 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 518 | continuous_const |
| 519 | have hderiv_supp : HasCompactSupport |
| 520 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 521 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 522 | simpa [smul_eq_mul] using |
| 523 | hu_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 524 | calc |
| 525 | ∫ x in Ω, c * u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) |
| 526 | = ∫ x in Ω, c * (u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := by |
| 527 | congr 1; funext x; ring |
| 528 | _ = c * ∫ x in Ω, u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := by |
| 529 | rw [integral_const_mul] |
| 530 | _ = c * (- ∫ x in Ω, g x * φ x) := by rw [h] |
| 531 | _ = - (c * ∫ x in Ω, g x * φ x) := by ring |
| 532 | _ = - ∫ x in Ω, c * (g x * φ x) := by rw [integral_const_mul] |
| 533 | _ = - ∫ x in Ω, c * g x * φ x := by |
| 534 | congr 1; congr 1; funext x; ring |
| 535 | |
| 536 | theorem chosenWeakPartial'_const_smul_ae |
| 537 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 538 | {u : E → ℝ} (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (c : ℝ) (i : Fin d) : |
| 539 | chosenWeakPartial' p i (fun x => c * u x) Ω |
| 540 | =ᵐ[volume.restrict Ω] (fun x => c * chosenWeakPartial' p i u Ω x) := by |
| 541 | classical |
| 542 | have hcu : Poincare.Analysis.Sobolev.Weak.MemW1p p (fun x => c * u x) Ω := |
| 543 | MemW1p.const_smul hp hu c |
| 544 | have hPartial_left : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 545 | (chosenWeakPartial' p i (fun x => c * u x) Ω) (fun x => c * u x) Ω := |
| 546 | chosenWeakPartial'_isWeakPartial_of_mem hcu i |
| 547 | have hPartial_right : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 548 | (fun x => c * chosenWeakPartial' p i u Ω x) (fun x => c * u x) Ω := by |
| 549 | intro φ hφ_smooth hφ_supp hφ_sub |
| 550 | have hu_eq := chosenWeakPartial'_isWeakPartial_of_mem hu i φ hφ_smooth hφ_supp hφ_sub |
| 551 | have hg_int : Integrable (fun x => chosenWeakPartial' p i u Ω x * φ x) |
| 552 | (volume.restrict Ω) := by |
| 553 | have hg_loc : LocallyIntegrable (chosenWeakPartial' p i u Ω) (volume.restrict Ω) := |
| 554 | (chosenWeakPartial'_memLp_of_mem hu i).locallyIntegrable hp |
| 555 | simpa [smul_eq_mul] using |
| 556 | hg_loc.integrable_smul_right_of_hasCompactSupport hφ_smooth.continuous hφ_supp |
| 557 | have hu_int : Integrable |
| 558 | (fun x => u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) |
| 559 | (volume.restrict Ω) := by |
| 560 | have hu_loc : LocallyIntegrable u (volume.restrict Ω) := |
| 561 | hu.1.locallyIntegrable hp |
| 562 | have hderiv_cont : |
| 563 | Continuous (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 564 | (hφ_smooth.continuous_fderiv (by simp : ((⊤ : ℕ∞) : WithTop ℕ∞) ≠ 0)).clm_apply |
| 565 | continuous_const |
| 566 | have hderiv_supp : HasCompactSupport |
| 567 | (fun x => (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := |
| 568 | hφ_supp.fderiv_apply (𝕜 := ℝ) (EuclideanSpace.single i 1) |
| 569 | simpa [smul_eq_mul] using |
| 570 | hu_loc.integrable_smul_right_of_hasCompactSupport hderiv_cont hderiv_supp |
| 571 | calc |
| 572 | ∫ x in Ω, c * u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) |
| 573 | = ∫ x in Ω, c * (u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1)) := by |
| 574 | congr 1; funext x; ring |
| 575 | _ = c * ∫ x in Ω, u x * (fderiv ℝ φ x) (EuclideanSpace.single i 1) := by |
| 576 | rw [integral_const_mul] |
| 577 | _ = c * (- ∫ x in Ω, chosenWeakPartial' p i u Ω x * φ x) := by rw [hu_eq] |
| 578 | _ = - (c * ∫ x in Ω, chosenWeakPartial' p i u Ω x * φ x) := by ring |
| 579 | _ = - ∫ x in Ω, c * (chosenWeakPartial' p i u Ω x * φ x) := by |
| 580 | rw [integral_const_mul] |
| 581 | _ = - ∫ x in Ω, c * chosenWeakPartial' p i u Ω x * φ x := by |
| 582 | congr 1; congr 1; funext x; ring |
| 583 | have hLp_left : LocallyIntegrable (chosenWeakPartial' p i (fun x => c * u x) Ω) |
| 584 | (volume.restrict Ω) := |
| 585 | (chosenWeakPartial'_memLp_of_mem hcu i).locallyIntegrable hp |
| 586 | have hLp_right : LocallyIntegrable (fun x => c * chosenWeakPartial' p i u Ω x) |
| 587 | (volume.restrict Ω) := |
| 588 | ((chosenWeakPartial'_memLp_of_mem hu i).const_mul c).locallyIntegrable hp |
| 589 | exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.ae_eq hΩ hPartial_left hPartial_right |
| 590 | hLp_left hLp_right |
| 591 | |
| 592 | theorem MemWkp.const_smul |
| 593 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 594 | {u : E → ℝ} (hu : MemWkp (d := d) k p u Ω) (c : ℝ) : |
| 595 | MemWkp (d := d) k p (fun x => c * u x) Ω := by |
| 596 | induction k generalizing u with |
| 597 | | zero => |
| 598 | rw [MemWkp_zero] at hu ⊢ |
| 599 | exact hu.const_mul c |
| 600 | | succ k ih => |
| 601 | rw [MemWkp_succ] at hu ⊢ |
| 602 | refine ⟨MemW1p.const_smul hp hu.1 c, ?_⟩ |
| 603 | intro i |
| 604 | have hae := chosenWeakPartial'_const_smul_ae (d := d) hp hΩ hu.1 c i |
| 605 | have hScaled : MemWkp (d := d) k p |
| 606 | (fun x => c * chosenWeakPartial' p i u Ω x) Ω := |
| 607 | ih (hu.2 i) |
| 608 | exact (MemWkp_congr_ae (d := d) hp hΩ hae).mpr hScaled |
| 609 | |
| 610 | theorem MemWkp.neg |
| 611 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 612 | {u : E → ℝ} (hu : MemWkp (d := d) k p u Ω) : |
| 613 | MemWkp (d := d) k p (fun x => - u x) Ω := by |
| 614 | have h := MemWkp.const_smul (d := d) hp hΩ hu (-1) |
| 615 | have hEq : (fun x => (-1 : ℝ) * u x) = (fun x => -u x) := by |
| 616 | funext x; ring |
| 617 | rw [hEq] at h |
| 618 | exact h |
| 619 | |
| 620 | theorem MemWkp.sub |
| 621 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 622 | {u v : E → ℝ} |
| 623 | (hu : MemWkp (d := d) k p u Ω) (hv : MemWkp (d := d) k p v Ω) : |
| 624 | MemWkp (d := d) k p (fun x => u x - v x) Ω := by |
| 625 | have hneg := MemWkp.neg (d := d) hp hΩ hv |
| 626 | have h := MemWkp.add (d := d) hp hΩ hu hneg |
| 627 | have hEq : (fun x => u x + -v x) = (fun x => u x - v x) := by |
| 628 | funext x; ring |
| 629 | rw [hEq] at h |
| 630 | exact h |
| 631 | |
| 632 | def iteratedWeakSobolevNorm (k : ℕ) (p : ℝ≥0∞) (u : E → ℝ) (Ω : Set E) : ℝ≥0∞ := |
| 633 | ∑ j ∈ Finset.range (k + 1), |
| 634 | ∑ α : Fin j → Fin d, |
| 635 | eLpNorm (iterWeakPartial (d := d) p j α u Ω) p (volume.restrict Ω) |
| 636 | |
| 637 | theorem wkpNorm_eq_sum |
| 638 | (k : ℕ) (p : ℝ≥0∞) (u : E → ℝ) (Ω : Set E) : |
| 639 | iteratedWeakSobolevNorm (d := d) k p u Ω = |
| 640 | ∑ j ∈ Finset.range (k + 1), |
| 641 | ∑ α : Fin j → Fin d, |
| 642 | eLpNorm (iterWeakPartial (d := d) p j α u Ω) p (volume.restrict Ω) := rfl |
| 643 | |
| 644 | theorem wkpNorm_zero |
| 645 | (p : ℝ≥0∞) (u : E → ℝ) (Ω : Set E) : |
| 646 | iteratedWeakSobolevNorm (d := d) 0 p u Ω = eLpNorm u p (volume.restrict Ω) := by |
| 647 | classical |
| 648 | unfold iteratedWeakSobolevNorm |
| 649 | rw [Finset.sum_range_one] |
| 650 | have hUniq : ∀ α : Fin 0 → Fin d, α = (fun i : Fin 0 => i.elim0) := fun α => by |
| 651 | funext i; exact i.elim0 |
| 652 | have : Unique (Fin 0 → Fin d) := |
| 653 | { default := fun i : Fin 0 => i.elim0 |
| 654 | uniq := fun α => (hUniq α).symm ▸ rfl } |
| 655 | rw [Fintype.sum_unique |
| 656 | (f := fun α : Fin 0 → Fin d => |
| 657 | eLpNorm (iterWeakPartial (d := d) p 0 α u Ω) p (volume.restrict Ω))] |
| 658 | simp [iterWeakPartial_zero] |
| 659 | |
| 660 | theorem wkpNorm_zero_fun_zero |
| 661 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) : |
| 662 | iteratedWeakSobolevNorm (d := d) k p (fun _ : E => (0 : ℝ)) Ω = 0 := by |
| 663 | classical |
| 664 | unfold iteratedWeakSobolevNorm |
| 665 | refine Finset.sum_eq_zero ?_ |
| 666 | intro j _ |
| 667 | refine Finset.sum_eq_zero ?_ |
| 668 | intro α _ |
| 669 | have h_zero_ae : (fun _ : E => (0 : ℝ)) =ᵐ[volume.restrict Ω] (fun _ => 0) := |
| 670 | Filter.Eventually.of_forall (fun _ => rfl) |
| 671 | have h_iter_ae := iterWeakPartial_ae_zero_of_input_ae_zero (d := d) |
| 672 | (p := p) hp hΩ j α h_zero_ae |
| 673 | rw [eLpNorm_congr_ae h_iter_ae] |
| 674 | simp |
| 675 | |
| 676 | theorem wkpNorm_lt_top_of_memWkp |
| 677 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 678 | (h : MemWkp (d := d) k p u Ω) : |
| 679 | iteratedWeakSobolevNorm (d := d) k p u Ω < (⊤ : ℝ≥0∞) := by |
| 680 | classical |
| 681 | unfold iteratedWeakSobolevNorm |
| 682 | refine ENNReal.sum_lt_top.mpr ?_ |
| 683 | intro j hj |
| 684 | refine ENNReal.sum_lt_top.mpr ?_ |
| 685 | intro α _ |
| 686 | have hj_le : j ≤ k := by |
| 687 | rw [Finset.mem_range] at hj |
| 688 | omega |
| 689 | have h_uWj : MemWkp (d := d) j p u Ω := MemWkp.le_of_le hj_le h |
| 690 | have h_iter := iterWeakPartial_memLp_of_memWkp (d := d) (p := p) h_uWj α |
| 691 | exact h_iter.eLpNorm_lt_top |
| 692 | |
| 693 | theorem MemWkp.eLpNorm_lt_top |
| 694 | {k : ℕ} {p : ℝ≥0∞} {u : E → ℝ} {Ω : Set E} |
| 695 | (h : MemWkp (d := d) k p u Ω) : |
| 696 | eLpNorm u p (volume.restrict Ω) < (⊤ : ℝ≥0∞) := |
| 697 | h.memLp.eLpNorm_lt_top |
| 698 | |
| 699 | theorem iterWeakPartial_ae_congr |
| 700 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 701 | (j : ℕ) (α : Fin j → Fin d) {u v : E → ℝ} |
| 702 | (huv : u =ᵐ[volume.restrict Ω] v) : |
| 703 | iterWeakPartial (d := d) p j α u Ω |
| 704 | =ᵐ[volume.restrict Ω] iterWeakPartial (d := d) p j α v Ω := by |
| 705 | induction j generalizing u v with |
| 706 | | zero => |
| 707 | simpa [iterWeakPartial_zero] using huv |
| 708 | | succ j ih => |
| 709 | rw [iterWeakPartial_succ, iterWeakPartial_succ] |
| 710 | have h_chosen_ae : chosenWeakPartial' p (α 0) u Ω |
| 711 | =ᵐ[volume.restrict Ω] chosenWeakPartial' p (α 0) v Ω := |
| 712 | chosenWeakPartial'_ae_congr (d := d) hp hΩ huv (α 0) |
| 713 | exact ih (fun i : Fin j => α i.succ) h_chosen_ae |
| 714 | |
| 715 | theorem wkpNorm_congr_ae |
| 716 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 717 | {u v : E → ℝ} (huv : u =ᵐ[volume.restrict Ω] v) : |
| 718 | iteratedWeakSobolevNorm (d := d) k p u Ω = iteratedWeakSobolevNorm (d := d) k p v Ω := by |
| 719 | classical |
| 720 | unfold iteratedWeakSobolevNorm |
| 721 | refine Finset.sum_congr rfl ?_ |
| 722 | intro j _ |
| 723 | refine Finset.sum_congr rfl ?_ |
| 724 | intro α _ |
| 725 | have h_iter_ae : iterWeakPartial (d := d) p j α u Ω |
| 726 | =ᵐ[volume.restrict Ω] iterWeakPartial (d := d) p j α v Ω := |
| 727 | iterWeakPartial_ae_congr (d := d) hp hΩ j α huv |
| 728 | exact eLpNorm_congr_ae h_iter_ae |
| 729 | |
| 730 | theorem iterWeakPartial_add_ae |
| 731 | {j : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 732 | (α : Fin j → Fin d) {u v : E → ℝ} |
| 733 | (hu : MemWkp (d := d) j p u Ω) (hv : MemWkp (d := d) j p v Ω) : |
| 734 | iterWeakPartial (d := d) p j α (fun x => u x + v x) Ω |
| 735 | =ᵐ[volume.restrict Ω] |
| 736 | (fun x => iterWeakPartial (d := d) p j α u Ω x + |
| 737 | iterWeakPartial (d := d) p j α v Ω x) := by |
| 738 | induction j generalizing u v with |
| 739 | | zero => |
| 740 | simp only [iterWeakPartial_zero] |
| 741 | exact Filter.EventuallyEq.rfl |
| 742 | | succ j ih => |
| 743 | rw [iterWeakPartial_succ, iterWeakPartial_succ, iterWeakPartial_succ] |
| 744 | have h_chosen_ae : chosenWeakPartial' p (α 0) (fun x => u x + v x) Ω |
| 745 | =ᵐ[volume.restrict Ω] |
| 746 | (fun x => chosenWeakPartial' p (α 0) u Ω x + |
| 747 | chosenWeakPartial' p (α 0) v Ω x) := |
| 748 | chosenWeakPartial'_add_ae (d := d) hp hΩ hu.memW1p hv.memW1p (α 0) |
| 749 | have h_iter_congr : iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 750 | (chosenWeakPartial' p (α 0) (fun x => u x + v x) Ω) Ω |
| 751 | =ᵐ[volume.restrict Ω] |
| 752 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 753 | (fun x => chosenWeakPartial' p (α 0) u Ω x + |
| 754 | chosenWeakPartial' p (α 0) v Ω x) Ω := |
| 755 | iterWeakPartial_ae_congr (d := d) hp hΩ j (fun i : Fin j => α i.succ) |
| 756 | h_chosen_ae |
| 757 | have h_uW : MemWkp (d := d) j p (chosenWeakPartial' p (α 0) u Ω) Ω := |
| 758 | hu.chosenWeakPartial_mem (α 0) |
| 759 | have h_vW : MemWkp (d := d) j p (chosenWeakPartial' p (α 0) v Ω) Ω := |
| 760 | hv.chosenWeakPartial_mem (α 0) |
| 761 | have h_iter_sum := ih (α := fun i : Fin j => α i.succ) h_uW h_vW |
| 762 | exact h_iter_congr.trans h_iter_sum |
| 763 | |
| 764 | theorem iterWeakPartial_const_smul_ae |
| 765 | {j : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 766 | (α : Fin j → Fin d) {u : E → ℝ} |
| 767 | (hu : MemWkp (d := d) j p u Ω) (c : ℝ) : |
| 768 | iterWeakPartial (d := d) p j α (fun x => c * u x) Ω |
| 769 | =ᵐ[volume.restrict Ω] |
| 770 | (fun x => c * iterWeakPartial (d := d) p j α u Ω x) := by |
| 771 | induction j generalizing u with |
| 772 | | zero => |
| 773 | simp only [iterWeakPartial_zero] |
| 774 | exact Filter.EventuallyEq.rfl |
| 775 | | succ j ih => |
| 776 | rw [iterWeakPartial_succ, iterWeakPartial_succ] |
| 777 | have h_chosen_ae : chosenWeakPartial' p (α 0) (fun x => c * u x) Ω |
| 778 | =ᵐ[volume.restrict Ω] |
| 779 | (fun x => c * chosenWeakPartial' p (α 0) u Ω x) := |
| 780 | chosenWeakPartial'_const_smul_ae (d := d) hp hΩ hu.memW1p c (α 0) |
| 781 | have h_iter_congr : |
| 782 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 783 | (chosenWeakPartial' p (α 0) (fun x => c * u x) Ω) Ω |
| 784 | =ᵐ[volume.restrict Ω] |
| 785 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 786 | (fun x => c * chosenWeakPartial' p (α 0) u Ω x) Ω := |
| 787 | iterWeakPartial_ae_congr (d := d) hp hΩ j (fun i : Fin j => α i.succ) |
| 788 | h_chosen_ae |
| 789 | have h_uW : MemWkp (d := d) j p (chosenWeakPartial' p (α 0) u Ω) Ω := |
| 790 | hu.chosenWeakPartial_mem (α 0) |
| 791 | have h_iter_smul := ih (α := fun i : Fin j => α i.succ) h_uW |
| 792 | exact h_iter_congr.trans h_iter_smul |
| 793 | |
| 794 | theorem wkpNorm_add_le |
| 795 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 796 | {u v : E → ℝ} |
| 797 | (hu : MemWkp (d := d) k p u Ω) (hv : MemWkp (d := d) k p v Ω) : |
| 798 | iteratedWeakSobolevNorm (d := d) k p (fun x => u x + v x) Ω ≤ |
| 799 | iteratedWeakSobolevNorm (d := d) k p u Ω + iteratedWeakSobolevNorm (d := d) k p v Ω := by |
| 800 | classical |
| 801 | unfold iteratedWeakSobolevNorm |
| 802 | rw [← Finset.sum_add_distrib] |
| 803 | refine Finset.sum_le_sum ?_ |
| 804 | intro j hj |
| 805 | rw [← Finset.sum_add_distrib] |
| 806 | refine Finset.sum_le_sum ?_ |
| 807 | intro α _ |
| 808 | have hj_le : j ≤ k := by |
| 809 | rw [Finset.mem_range] at hj; omega |
| 810 | have h_uWj : MemWkp (d := d) j p u Ω := MemWkp.le_of_le hj_le hu |
| 811 | have h_vWj : MemWkp (d := d) j p v Ω := MemWkp.le_of_le hj_le hv |
| 812 | have h_iter_add_ae := |
| 813 | iterWeakPartial_add_ae (d := d) hp hΩ α h_uWj h_vWj |
| 814 | rw [eLpNorm_congr_ae h_iter_add_ae] |
| 815 | have h_iter_u := iterWeakPartial_memLp_of_memWkp (d := d) (p := p) h_uWj α |
| 816 | have h_iter_v := iterWeakPartial_memLp_of_memWkp (d := d) (p := p) h_vWj α |
| 817 | have htriangle : |
| 818 | eLpNorm (fun x => iterWeakPartial (d := d) p j α u Ω x + |
| 819 | iterWeakPartial (d := d) p j α v Ω x) |
| 820 | p (volume.restrict Ω) |
| 821 | ≤ eLpNorm (iterWeakPartial (d := d) p j α u Ω) p (volume.restrict Ω) + |
| 822 | eLpNorm (iterWeakPartial (d := d) p j α v Ω) p (volume.restrict Ω) := by |
| 823 | have h := eLpNorm_add_le (μ := volume.restrict Ω) (p := p) |
| 824 | h_iter_u.aestronglyMeasurable h_iter_v.aestronglyMeasurable hp |
| 825 | have hEq : (iterWeakPartial (d := d) p j α u Ω + |
| 826 | iterWeakPartial (d := d) p j α v Ω) = |
| 827 | fun x => iterWeakPartial (d := d) p j α u Ω x + |
| 828 | iterWeakPartial (d := d) p j α v Ω x := by |
| 829 | funext x |
| 830 | simp [Pi.add_apply] |
| 831 | rw [hEq] at h |
| 832 | exact h |
| 833 | exact htriangle |
| 834 | |
| 835 | theorem wkpNorm_const_smul |
| 836 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω : Set E} (hΩ : IsOpen Ω) |
| 837 | {u : E → ℝ} |
| 838 | (hu : MemWkp (d := d) k p u Ω) (c : ℝ) : |
| 839 | iteratedWeakSobolevNorm (d := d) k p (fun x => c * u x) Ω = |
| 840 | ‖c‖ₑ * iteratedWeakSobolevNorm (d := d) k p u Ω := by |
| 841 | classical |
| 842 | unfold iteratedWeakSobolevNorm |
| 843 | rw [Finset.mul_sum] |
| 844 | refine Finset.sum_congr rfl ?_ |
| 845 | intro j hj |
| 846 | rw [Finset.mul_sum] |
| 847 | refine Finset.sum_congr rfl ?_ |
| 848 | intro α _ |
| 849 | have hj_le : j ≤ k := by |
| 850 | rw [Finset.mem_range] at hj; omega |
| 851 | have h_uWj : MemWkp (d := d) j p u Ω := MemWkp.le_of_le hj_le hu |
| 852 | have h_iter_smul_ae := |
| 853 | iterWeakPartial_const_smul_ae (d := d) hp hΩ α h_uWj c |
| 854 | rw [eLpNorm_congr_ae h_iter_smul_ae] |
| 855 | have heq : (fun x => c * iterWeakPartial (d := d) p j α u Ω x) = |
| 856 | (c : ℝ) • iterWeakPartial (d := d) p j α u Ω := by |
| 857 | funext x |
| 858 | simp [Pi.smul_apply, smul_eq_mul] |
| 859 | rw [heq] |
| 860 | rw [eLpNorm_const_smul] |
| 861 | |
| 862 | theorem MemW1p.mono_set |
| 863 | {p : ℝ≥0∞} {Ω Ω' : Set E} |
| 864 | (hΩ' : IsOpen Ω') (hΩΩ' : Ω' ⊆ Ω) |
| 865 | {u : E → ℝ} (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) : |
| 866 | Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω' := by |
| 867 | refine ⟨?_, ?_⟩ |
| 868 | · exact hu.1.mono_measure (Measure.restrict_mono_set volume hΩΩ') |
| 869 | · intro i |
| 870 | obtain ⟨g, hg_memLp, hg_weak⟩ := hu.2 i |
| 871 | refine ⟨g, ?_, ?_⟩ |
| 872 | · exact hg_memLp.mono_measure (Measure.restrict_mono_set volume hΩΩ') |
| 873 | · exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.restrict hΩ' hΩΩ' hg_weak |
| 874 | |
| 875 | theorem chosenWeakPartial'_mono_set_ae |
| 876 | {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω Ω' : Set E} |
| 877 | (hΩ' : IsOpen Ω') (hΩΩ' : Ω' ⊆ Ω) |
| 878 | {u : E → ℝ} (hu : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω) (i : Fin d) : |
| 879 | chosenWeakPartial' p i u Ω |
| 880 | =ᵐ[volume.restrict Ω'] chosenWeakPartial' p i u Ω' := by |
| 881 | classical |
| 882 | have hu_Ω' : Poincare.Analysis.Sobolev.Weak.MemW1p p u Ω' := MemW1p.mono_set hΩ' hΩΩ' hu |
| 883 | have hP_Ω := chosenWeakPartial'_isWeakPartial_of_mem hu i |
| 884 | have hP_Ω' := chosenWeakPartial'_isWeakPartial_of_mem hu_Ω' i |
| 885 | have hP_Ω_restricted : Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv i |
| 886 | (chosenWeakPartial' p i u Ω) u Ω' := |
| 887 | Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.restrict hΩ' hΩΩ' hP_Ω |
| 888 | have hP_Ω_loc : LocallyIntegrable (chosenWeakPartial' p i u Ω) |
| 889 | (volume.restrict Ω') := by |
| 890 | have hmem : MeasureTheory.MemLp (chosenWeakPartial' p i u Ω) p |
| 891 | (volume.restrict Ω) := |
| 892 | chosenWeakPartial'_memLp_of_mem hu i |
| 893 | have hmem' : MeasureTheory.MemLp (chosenWeakPartial' p i u Ω) p |
| 894 | (volume.restrict Ω') := |
| 895 | hmem.mono_measure (Measure.restrict_mono_set volume hΩΩ') |
| 896 | exact hmem'.locallyIntegrable hp |
| 897 | have hP_Ω'_loc : LocallyIntegrable (chosenWeakPartial' p i u Ω') |
| 898 | (volume.restrict Ω') := |
| 899 | (chosenWeakPartial'_memLp_of_mem hu_Ω' i).locallyIntegrable hp |
| 900 | exact Poincare.Analysis.Sobolev.Weak.HasWeakPartialDeriv.ae_eq hΩ' hP_Ω_restricted hP_Ω' |
| 901 | hP_Ω_loc hP_Ω'_loc |
| 902 | |
| 903 | theorem MemWkp.mono_set |
| 904 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω Ω' : Set E} |
| 905 | (hΩ' : IsOpen Ω') (hΩΩ' : Ω' ⊆ Ω) |
| 906 | {u : E → ℝ} (hu : MemWkp (d := d) k p u Ω) : |
| 907 | MemWkp (d := d) k p u Ω' := by |
| 908 | induction k generalizing u with |
| 909 | | zero => |
| 910 | rw [MemWkp_zero] at hu ⊢ |
| 911 | exact hu.mono_measure (Measure.restrict_mono_set volume hΩΩ') |
| 912 | | succ k ih => |
| 913 | rw [MemWkp_succ] at hu ⊢ |
| 914 | refine ⟨MemW1p.mono_set hΩ' hΩΩ' hu.1, ?_⟩ |
| 915 | intro i |
| 916 | have h_partial_Ω' : MemWkp (d := d) k p (chosenWeakPartial' p i u Ω) Ω' := |
| 917 | ih (hu.2 i) |
| 918 | have hae := chosenWeakPartial'_mono_set_ae (d := d) hp hΩ' hΩΩ' hu.1 i |
| 919 | exact (MemWkp_congr_ae (d := d) hp hΩ' hae).mp h_partial_Ω' |
| 920 | |
| 921 | theorem iterWeakPartial_mono_set_ae |
| 922 | {j : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω Ω' : Set E} |
| 923 | (hΩ' : IsOpen Ω') (hΩΩ' : Ω' ⊆ Ω) (α : Fin j → Fin d) |
| 924 | {u : E → ℝ} (hu : MemWkp (d := d) j p u Ω) : |
| 925 | iterWeakPartial (d := d) p j α u Ω |
| 926 | =ᵐ[volume.restrict Ω'] iterWeakPartial (d := d) p j α u Ω' := by |
| 927 | induction j generalizing u with |
| 928 | | zero => |
| 929 | simp only [iterWeakPartial_zero] |
| 930 | exact Filter.EventuallyEq.rfl |
| 931 | | succ j ih => |
| 932 | rw [iterWeakPartial_succ, iterWeakPartial_succ] |
| 933 | have h_chosen_ae := |
| 934 | chosenWeakPartial'_mono_set_ae (d := d) hp hΩ' hΩΩ' hu.memW1p (α 0) |
| 935 | have h_chosen_mem_Ω : MemWkp (d := d) j p |
| 936 | (chosenWeakPartial' p (α 0) u Ω) Ω := |
| 937 | hu.chosenWeakPartial_mem (α 0) |
| 938 | have h_iter_mono_Ω' : |
| 939 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 940 | (chosenWeakPartial' p (α 0) u Ω) Ω |
| 941 | =ᵐ[volume.restrict Ω'] |
| 942 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 943 | (chosenWeakPartial' p (α 0) u Ω) Ω' := |
| 944 | ih (fun i : Fin j => α i.succ) h_chosen_mem_Ω |
| 945 | have h_iter_congr : |
| 946 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 947 | (chosenWeakPartial' p (α 0) u Ω) Ω' |
| 948 | =ᵐ[volume.restrict Ω'] |
| 949 | iterWeakPartial (d := d) p j (fun i : Fin j => α i.succ) |
| 950 | (chosenWeakPartial' p (α 0) u Ω') Ω' := |
| 951 | iterWeakPartial_ae_congr (d := d) hp hΩ' j (fun i : Fin j => α i.succ) |
| 952 | h_chosen_ae |
| 953 | exact h_iter_mono_Ω'.trans h_iter_congr |
| 954 | |
| 955 | theorem wkpNorm_mono_set |
| 956 | {k : ℕ} {p : ℝ≥0∞} (hp : 1 ≤ p) {Ω Ω' : Set E} |
| 957 | (hΩ' : IsOpen Ω') (hΩΩ' : Ω' ⊆ Ω) |
| 958 | {u : E → ℝ} (hu : MemWkp (d := d) k p u Ω) : |
| 959 | iteratedWeakSobolevNorm (d := d) k p u Ω' ≤ iteratedWeakSobolevNorm (d := d) k p u Ω := by |
| 960 | classical |
| 961 | unfold iteratedWeakSobolevNorm |
| 962 | refine Finset.sum_le_sum ?_ |
| 963 | intro j hj |
| 964 | refine Finset.sum_le_sum ?_ |
| 965 | intro α _ |
| 966 | have hj_le : j ≤ k := by |
| 967 | rw [Finset.mem_range] at hj; omega |
| 968 | have h_uWj : MemWkp (d := d) j p u Ω := MemWkp.le_of_le hj_le hu |
| 969 | have h_iter_ae := |
| 970 | iterWeakPartial_mono_set_ae (d := d) hp hΩ' hΩΩ' α h_uWj |
| 971 | rw [← eLpNorm_congr_ae h_iter_ae] |
| 972 | exact eLpNorm_mono_measure _ (Measure.restrict_mono_set volume hΩΩ') |
| 973 | |
| 974 | theorem wkpNorm_mono_order |
| 975 | {k k' : ℕ} (hk : k ≤ k') {p : ℝ≥0∞} (u : E → ℝ) (Ω : Set E) : |
| 976 | iteratedWeakSobolevNorm (d := d) k p u Ω ≤ iteratedWeakSobolevNorm (d := d) k' p u Ω := by |
| 977 | classical |
| 978 | unfold iteratedWeakSobolevNorm |
| 979 | refine Finset.sum_le_sum_of_subset_of_nonneg ?_ ?_ |
| 980 | · intro j hj |
| 981 | rw [Finset.mem_range] at hj ⊢ |
| 982 | omega |
| 983 | · intro j _ _ |
| 984 | exact bot_le |
| 985 | |
| 986 | end Euclidean |
| 987 | end Sobolev |
| 988 | end Analysis |
| 989 | end Poincare |