Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.WeightedQuotients |
| 2 | import NavierStokes.ParametricFlatFactor |
| 3 | |
| 4 | /-! |
| 5 | # Genuine derivative bounds for polynomially weighted Gaussian edges |
| 6 | |
| 7 | The scalar derivative polynomials are the actual ones from `FlatCutoff`. |
| 8 | Compactness bounds the derivatives of the smooth coefficient; the full |
| 9 | Fréchet product rule then gives estimates for all joint derivative tensors. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Function Filter Polynomial |
| 15 | open scoped BigOperators ContDiff Topology |
| 16 | |
| 17 | namespace NavierStokes.EdgeWeightJets |
| 18 | |
| 19 | theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 20 | WithTop.coe_le_coe.mpr le_top |
| 21 | |
| 22 | noncomputable def coefficientMass (p : ℝ[X]) : ℝ := |
| 23 | ∑ i ∈ Finset.range (p.natDegree + 1), |p.coeff i| |
| 24 | |
| 25 | theorem coefficientMass_nonneg (p : ℝ[X]) : 0 ≤ coefficientMass p := |
| 26 | Finset.sum_nonneg (fun _ _ => abs_nonneg _) |
| 27 | |
| 28 | theorem polynomial_eval_bound (p : ℝ[X]) {x T : ℝ} (hT : 1 ≤ T) (hx : |x| ≤ T) : |
| 29 | |p.eval x| ≤ coefficientMass p * T ^ p.natDegree := by |
| 30 | rw [Polynomial.eval_eq_sum_range] |
| 31 | calc |
| 32 | _ ≤ ∑ i ∈ Finset.range (p.natDegree + 1), |p.coeff i * x ^ i| := |
| 33 | Finset.abs_sum_le_sum_abs _ _ |
| 34 | _ ≤ ∑ i ∈ Finset.range (p.natDegree + 1), |p.coeff i| * T ^ p.natDegree := by |
| 35 | apply Finset.sum_le_sum |
| 36 | intro i hi |
| 37 | rw [abs_mul, abs_pow] |
| 38 | apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) |
| 39 | exact (pow_le_pow_left₀ (abs_nonneg x) hx i).trans |
| 40 | (pow_le_pow_right₀ hT (Nat.le_of_lt_succ (Finset.mem_range.mp hi))) |
| 41 | _ = _ := by rw [← Finset.sum_mul]; rfl |
| 42 | |
| 43 | noncomputable def jetMass (c : ℝ) (p : ℝ[X]) (n : ℕ) : ℝ := |
| 44 | 1 + ∑ i ∈ Finset.range (n + 1), coefficientMass (FlatCutoff.jetPolynomial c p i) |
| 45 | |
| 46 | noncomputable def jetOrder (c : ℝ) (p : ℝ[X]) (n : ℕ) : ℕ := |
| 47 | ∑ i ∈ Finset.range (n + 1), (FlatCutoff.jetPolynomial c p i).natDegree |
| 48 | |
| 49 | theorem jetMass_pos (c : ℝ) (p : ℝ[X]) (n : ℕ) : 0 < jetMass c p n := by |
| 50 | have hs := Finset.sum_nonneg (s := Finset.range (n + 1)) |
| 51 | (fun i _ => coefficientMass_nonneg (FlatCutoff.jetPolynomial c p i)) |
| 52 | dsimp [jetMass] |
| 53 | linarith |
| 54 | |
| 55 | theorem jetMass_bound (c : ℝ) (p : ℝ[X]) {i n : ℕ} (hi : i ≤ n) : |
| 56 | coefficientMass (FlatCutoff.jetPolynomial c p i) ≤ jetMass c p n := by |
| 57 | have h := Finset.single_le_sum |
| 58 | (fun j _ => coefficientMass_nonneg (FlatCutoff.jetPolynomial c p j)) |
| 59 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hi)) |
| 60 | dsimp [jetMass] |
| 61 | linarith |
| 62 | |
| 63 | theorem jetOrder_bound (c : ℝ) (p : ℝ[X]) {i n : ℕ} (hi : i ≤ n) : |
| 64 | (FlatCutoff.jetPolynomial c p i).natDegree ≤ jetOrder c p n := by |
| 65 | exact Finset.single_le_sum (f := fun k => (FlatCutoff.jetPolynomial c p k).natDegree) |
| 66 | (fun _ _ => Nat.zero_le _) |
| 67 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hi)) |
| 68 | |
| 69 | theorem polynomialEdge_jets_bound {c : ℝ} (hc : 0 < c) (p : ℝ[X]) (n : ℕ) |
| 70 | {d : ℝ} (hd : 0 < d) : |
| 71 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ x : ℝ, 0 < x → x ≤ d → |
| 72 | ‖iteratedFDeriv ℝ i (FlatCutoff.polynomialEdge c p) x‖ ≤ |
| 73 | C * FlatCutoff.edge c x / x ^ N := by |
| 74 | let M := jetMass c p n |
| 75 | let N := jetOrder c p n |
| 76 | refine ⟨M * (d + 1) ^ N, mul_pos (jetMass_pos c p n) (pow_pos (by linarith) _), N, ?_⟩ |
| 77 | intro i hi x hx hxd |
| 78 | let T := max 1 x⁻¹ |
| 79 | have hT : 1 ≤ T := le_max_left _ _ |
| 80 | have hxi : |x⁻¹| ≤ T := by rw [abs_of_pos (inv_pos.mpr hx)]; exact le_max_right _ _ |
| 81 | have hscale : T ≤ (d + 1) / x := by |
| 82 | apply max_le |
| 83 | · apply (le_div_iff₀ hx).2 |
| 84 | linarith |
| 85 | · apply (le_div_iff₀ hx).2 |
| 86 | rw [inv_mul_cancel₀ hx.ne'] |
| 87 | linarith |
| 88 | have hpoly : |(FlatCutoff.jetPolynomial c p i).eval x⁻¹| ≤ M * T ^ N := by |
| 89 | exact (polynomial_eval_bound _ hT hxi).trans |
| 90 | (mul_le_mul (jetMass_bound c p hi) |
| 91 | (pow_le_pow_right₀ hT (jetOrder_bound c p hi)) |
| 92 | (pow_nonneg (zero_le_one.trans hT) _) (jetMass_pos c p n).le) |
| 93 | rw [norm_iteratedFDeriv_eq_norm_iteratedDeriv, |
| 94 | FlatCutoff.iteratedDeriv_polynomialEdge hc p i] |
| 95 | simp only [FlatCutoff.polynomialEdge, Real.norm_eq_abs, abs_mul, |
| 96 | abs_of_nonneg (FlatCutoff.edge_nonneg c x)] |
| 97 | calc |
| 98 | _ ≤ (M * T ^ N) * FlatCutoff.edge c x := |
| 99 | mul_le_mul_of_nonneg_right hpoly (FlatCutoff.edge_nonneg c x) |
| 100 | _ ≤ (M * ((d + 1) / x) ^ N) * FlatCutoff.edge c x := by |
| 101 | exact mul_le_mul_of_nonneg_right |
| 102 | (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (zero_le_one.trans hT) hscale N) |
| 103 | (jetMass_pos c p n).le) (FlatCutoff.edge_nonneg c x) |
| 104 | _ = _ := by rw [div_pow]; ring |
| 105 | |
| 106 | theorem edge_div_pow_eq_polynomial (c : ℝ) (j : ℕ) : |
| 107 | (fun x => FlatCutoff.edge c x / x ^ j) = |
| 108 | FlatCutoff.polynomialEdge c (X ^ j) := by |
| 109 | rw [← FlatCutoff.polynomialEdge_one c, FlatCutoff.polynomialEdge_div_pow] |
| 110 | simp only [one_mul] |
| 111 | |
| 112 | theorem edge_div_pow_jets_bound {c : ℝ} (hc : 0 < c) (j n : ℕ) {d : ℝ} (hd : 0 < d) : |
| 113 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ x : ℝ, 0 < x → x ≤ d → |
| 114 | ‖iteratedFDeriv ℝ i (fun x => FlatCutoff.edge c x / x ^ j) x‖ ≤ |
| 115 | C * FlatCutoff.edge c x / x ^ N := by |
| 116 | rw [edge_div_pow_eq_polynomial] |
| 117 | exact polynomialEdge_jets_bound hc (X ^ j) n hd |
| 118 | |
| 119 | section Joint |
| 120 | |
| 121 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 122 | |
| 123 | theorem norm_iteratedFDeriv_snd_le {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 124 | (n : ℕ) (y : E × ℝ) : |
| 125 | ‖iteratedFDeriv ℝ n (fun y : E × ℝ => f y.2) y‖ ≤ ‖iteratedFDeriv ℝ n f y.2‖ := by |
| 126 | let L : E × ℝ →L[ℝ] ℝ := ContinuousLinearMap.snd ℝ E ℝ |
| 127 | change ‖iteratedFDeriv ℝ n (f ∘ L) y‖ ≤ _ |
| 128 | rw [L.iteratedFDeriv_comp_right hf y (nat_le_infty n)] |
| 129 | apply (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans |
| 130 | have hprod : (∏ _i : Fin n, ‖L‖) ≤ 1 := by |
| 131 | exact Finset.prod_le_one (fun _ _ => norm_nonneg _) (fun _ _ => ContinuousLinearMap.norm_snd_le _ _ _) |
| 132 | exact (mul_le_mul_of_nonneg_left hprod (norm_nonneg (iteratedFDeriv ℝ n f (L y)))).trans_eq (mul_one _) |
| 133 | |
| 134 | theorem compact_coefficient_jets {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 135 | {B : E × ℝ → F} (hB : ContDiff ℝ ∞ B) {S : Set E} (hS : IsCompact S) |
| 136 | (n : ℕ) (d : ℝ) : |
| 137 | ∃ C : ℝ, 0 < C ∧ ∀ i ≤ n, ∀ p ∈ S, ∀ x ∈ Icc (0 : ℝ) d, |
| 138 | ‖iteratedFDeriv ℝ i B (p, x)‖ ≤ C := by |
| 139 | have hb : ∀ i : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ y ∈ S ×ˢ Icc (0 : ℝ) d, |
| 140 | ‖iteratedFDeriv ℝ i B y‖ ≤ C := by |
| 141 | intro i |
| 142 | obtain ⟨C, hC⟩ := (hS.prod isCompact_Icc).exists_bound_of_continuousOn |
| 143 | (hB.continuous_iteratedFDeriv (nat_le_infty i)).continuousOn |
| 144 | exact ⟨max C 0, le_max_right _ _, fun y hy => (hC y hy).trans (le_max_left _ _)⟩ |
| 145 | choose C hC hbound using hb |
| 146 | refine ⟨1 + ∑ i ∈ Finset.range (n + 1), C i, ?_, ?_⟩ |
| 147 | · have hs := Finset.sum_nonneg (s := Finset.range (n + 1)) (fun i _ => hC i) |
| 148 | linarith |
| 149 | · intro i hi p hp x hx |
| 150 | have hs := Finset.single_le_sum (fun i _ => hC i) |
| 151 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hi)) |
| 152 | exact (hbound i (p, x) ⟨hp, hx⟩).trans (by linarith) |
| 153 | |
| 154 | noncomputable def weighted (c : ℝ) (j : ℕ) (B : E × ℝ → ℝ) (y : E × ℝ) : ℝ := |
| 155 | (FlatCutoff.edge c y.2 / y.2 ^ j) * B y |
| 156 | |
| 157 | theorem weighted_contDiff {c : ℝ} (hc : 0 < c) (j : ℕ) {B : E × ℝ → ℝ} |
| 158 | (hB : ContDiff ℝ ∞ B) : ContDiff ℝ ∞ (weighted c j B) := |
| 159 | ((FlatCutoff.edge_div_pow_contDiff hc j).comp contDiff_snd).mul hB |
| 160 | |
| 161 | /-- A bound for every actual joint derivative tensor through a fixed order. |
| 162 | Only smoothness of the coefficient and compactness of the parameter set are |
| 163 | assumed; no weighted derivative estimates are inputs. -/ |
| 164 | theorem edge_mul_iteratedFDeriv_bound {c : ℝ} (hc : 0 < c) (j : ℕ) |
| 165 | {B : E × ℝ → ℝ} (hB : ContDiff ℝ ∞ B) {S : Set E} (hS : IsCompact S) |
| 166 | (n : ℕ) {d : ℝ} (hd : 0 < d) : |
| 167 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ p ∈ S, ∀ x : ℝ, 0 < x → x ≤ d → |
| 168 | ‖iteratedFDeriv ℝ i (weighted c j B) (p, x)‖ ≤ |
| 169 | C * FlatCutoff.edge c x / x ^ N := by |
| 170 | obtain ⟨A, hA, N, hweight⟩ := edge_div_pow_jets_bound hc j n hd |
| 171 | obtain ⟨D, hD, hcoef⟩ := compact_coefficient_jets hB hS n d |
| 172 | refine ⟨(2 : ℝ) ^ n * A * D, by positivity, N, ?_⟩ |
| 173 | intro i hi p hp x hx hxd |
| 174 | have he := FlatCutoff.edge_nonneg c x |
| 175 | have hw : ContDiff ℝ ∞ (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) := |
| 176 | (FlatCutoff.edge_div_pow_contDiff hc j).comp contDiff_snd |
| 177 | have hwbound : ∀ k ≤ i, |
| 178 | ‖iteratedFDeriv ℝ k (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) (p, x)‖ ≤ |
| 179 | A * FlatCutoff.edge c x / x ^ N := by |
| 180 | intro k hk |
| 181 | exact (norm_iteratedFDeriv_snd_le (FlatCutoff.edge_div_pow_contDiff hc j) k (p, x)).trans |
| 182 | (hweight k (hk.trans hi) x hx hxd) |
| 183 | have hbnd := ParametricKernelBounds.norm_iteratedFDeriv_mul_le_of_bounds hw hB i (p, x) |
| 184 | (by positivity : 0 ≤ A * FlatCutoff.edge c x / x ^ N) hD.le hwbound |
| 185 | (fun k hk => hcoef k (hk.trans hi) p hp x ⟨hx.le, hxd⟩) |
| 186 | have hsum : (∑ k ∈ Finset.range (i + 1), (i.choose k : ℝ)) = (2 : ℝ) ^ i := by |
| 187 | exact_mod_cast Nat.sum_range_choose i |
| 188 | rw [hsum] at hbnd |
| 189 | change ‖iteratedFDeriv ℝ i (fun y => (FlatCutoff.edge c y.2 / y.2 ^ j) * B y) (p, x)‖ ≤ _ |
| 190 | apply hbnd.trans |
| 191 | calc |
| 192 | _ = ((2 : ℝ) ^ i * A * D) * FlatCutoff.edge c x / x ^ N := by ring |
| 193 | _ ≤ _ := by |
| 194 | exact div_le_div_of_nonneg_right |
| 195 | (mul_le_mul_of_nonneg_right |
| 196 | (mul_le_mul_of_nonneg_right |
| 197 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hi) hA.le) |
| 198 | hD.le) he) (pow_nonneg hx.le N) |
| 199 | |
| 200 | theorem edge_div_pow_iteratedFDeriv_zero {c : ℝ} (hc : 0 < c) (j n : ℕ) : |
| 201 | iteratedFDeriv ℝ n (fun x => FlatCutoff.edge c x / x ^ j) 0 = 0 := by |
| 202 | apply norm_eq_zero.mp |
| 203 | rw [norm_iteratedFDeriv_eq_norm_iteratedDeriv, edge_div_pow_eq_polynomial, |
| 204 | FlatCutoff.iteratedDeriv_polynomialEdge hc (X ^ j) n, FlatCutoff.polynomialEdge_zero, norm_zero] |
| 205 | |
| 206 | /-- Every full derivative tensor vanishes on the joining hyperplane. -/ |
| 207 | theorem weighted_iteratedFDeriv_zero {c : ℝ} (hc : 0 < c) (j : ℕ) |
| 208 | {B : E × ℝ → ℝ} (hB : ContDiff ℝ ∞ B) (n : ℕ) (p : E) : |
| 209 | iteratedFDeriv ℝ n (weighted c j B) (p, 0) = 0 := by |
| 210 | have hz (k : ℕ) : iteratedFDeriv ℝ k |
| 211 | (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) (p, 0) = 0 := by |
| 212 | apply norm_le_zero_iff.mp |
| 213 | have h := norm_iteratedFDeriv_snd_le (FlatCutoff.edge_div_pow_contDiff hc j) k (p, 0) |
| 214 | simpa only [edge_div_pow_iteratedFDeriv_zero hc j k, norm_zero] using h |
| 215 | have hw : ContDiff ℝ ∞ (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) := |
| 216 | (FlatCutoff.edge_div_pow_contDiff hc j).comp contDiff_snd |
| 217 | have h := norm_iteratedFDeriv_mul_le hw hB (p, 0) (nat_le_infty n) |
| 218 | apply norm_le_zero_iff.mp |
| 219 | unfold weighted |
| 220 | simpa only [hz, norm_zero, mul_zero, zero_mul, Finset.sum_const_zero] using h |
| 221 | |
| 222 | end Joint |
| 223 | |
| 224 | section MixedDerivatives |
| 225 | |
| 226 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 227 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 228 | |
| 229 | end MixedDerivatives |
| 230 | |
| 231 | section VectorCoefficients |
| 232 | |
| 233 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 234 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 235 | |
| 236 | theorem compact_coefficient_jets_on {B : E × ℝ → F} {V : Set (E × ℝ)} |
| 237 | (hV : IsOpen V) (hB : ContDiffOn ℝ ∞ B V) {S : Set E} (hS : IsCompact S) |
| 238 | (n : ℕ) (d : ℝ) (hSV : S ×ˢ Icc (0 : ℝ) d ⊆ V) : |
| 239 | ∃ C : ℝ, 0 < C ∧ ∀ i ≤ n, ∀ p ∈ S, ∀ x ∈ Icc (0 : ℝ) d, |
| 240 | ‖iteratedFDeriv ℝ i B (p, x)‖ ≤ C := by |
| 241 | have hb : ∀ i : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ y ∈ S ×ˢ Icc (0 : ℝ) d, |
| 242 | ‖iteratedFDeriv ℝ i B y‖ ≤ C := by |
| 243 | intro i |
| 244 | have hcont : ContinuousOn (iteratedFDeriv ℝ i B) V := by |
| 245 | intro y hy |
| 246 | have hi : ContDiffAt ℝ ∞ (iteratedFDeriv ℝ i B) y := |
| 247 | (hB.contDiffAt (hV.mem_nhds hy)).iteratedFDeriv_right |
| 248 | (WithTop.coe_le_coe.mpr le_top) |
| 249 | exact hi.continuousAt.continuousWithinAt |
| 250 | obtain ⟨C, hC⟩ := (hS.prod isCompact_Icc).exists_bound_of_continuousOn (hcont.mono hSV) |
| 251 | exact ⟨max C 0, le_max_right _ _, fun y hy => (hC y hy).trans (le_max_left _ _)⟩ |
| 252 | choose C hC hbound using hb |
| 253 | refine ⟨1 + ∑ i ∈ Finset.range (n + 1), C i, ?_, ?_⟩ |
| 254 | · have hs := Finset.sum_nonneg (s := Finset.range (n + 1)) (fun i _ => hC i) |
| 255 | linarith |
| 256 | · intro i hi p hp x hx |
| 257 | have hs := Finset.single_le_sum (fun i _ => hC i) |
| 258 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hi)) |
| 259 | exact (hbound i (p, x) ⟨hp, hx⟩).trans (by linarith) |
| 260 | |
| 261 | /-- The vector-valued local version needs only genuine smoothness on an open |
| 262 | neighborhood of the compact parameter-coordinate region. -/ |
| 263 | theorem edge_smul_iteratedFDeriv_bound_on {c : ℝ} (hc : 0 < c) (j : ℕ) |
| 264 | {B : E × ℝ → F} {V : Set (E × ℝ)} (hV : IsOpen V) (hB : ContDiffOn ℝ ∞ B V) |
| 265 | {S : Set E} (hS : IsCompact S) (n : ℕ) {d : ℝ} (hd : 0 < d) |
| 266 | (hSV : S ×ˢ Icc (0 : ℝ) d ⊆ V) : |
| 267 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ p ∈ S, ∀ x : ℝ, 0 < x → x ≤ d → |
| 268 | ‖iteratedFDeriv ℝ i (fun y : E × ℝ => |
| 269 | (FlatCutoff.edge c y.2 / y.2 ^ j) • B y) (p, x)‖ ≤ |
| 270 | C * FlatCutoff.edge c x / x ^ N := by |
| 271 | obtain ⟨A, hA, N, hweight⟩ := edge_div_pow_jets_bound hc j n hd |
| 272 | obtain ⟨D, hD, hcoef⟩ := compact_coefficient_jets_on hV hB hS n d hSV |
| 273 | refine ⟨(2 : ℝ) ^ n * A * D, by positivity, N, ?_⟩ |
| 274 | intro i hi p hp x hx hxd |
| 275 | have he := FlatCutoff.edge_nonneg c x |
| 276 | have hy : (p, x) ∈ V := hSV ⟨hp, hx.le, hxd⟩ |
| 277 | have hw : ContDiff ℝ ∞ (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) := |
| 278 | (FlatCutoff.edge_div_pow_contDiff hc j).comp contDiff_snd |
| 279 | have hwbound : ∀ k ≤ i, |
| 280 | ‖iteratedFDeriv ℝ k (fun y : E × ℝ => FlatCutoff.edge c y.2 / y.2 ^ j) (p, x)‖ ≤ |
| 281 | A * FlatCutoff.edge c x / x ^ N := by |
| 282 | intro k hk |
| 283 | exact (norm_iteratedFDeriv_snd_le (FlatCutoff.edge_div_pow_contDiff hc j) k (p, x)).trans |
| 284 | (hweight k (hk.trans hi) x hx hxd) |
| 285 | have hprod := norm_iteratedFDerivWithin_smul_le hw.contDiffOn hB hV.uniqueDiffOn hy (nat_le_infty i) |
| 286 | simp only [iteratedFDerivWithin_of_isOpen _ hV hy] at hprod |
| 287 | apply hprod.trans |
| 288 | calc |
| 289 | _ ≤ ∑ k ∈ Finset.range (i + 1), (i.choose k : ℝ) * |
| 290 | (A * FlatCutoff.edge c x / x ^ N) * D := by |
| 291 | apply Finset.sum_le_sum |
| 292 | intro k hk |
| 293 | have hki : k ≤ i := Nat.le_of_lt_succ (Finset.mem_range.mp hk) |
| 294 | exact mul_le_mul |
| 295 | (mul_le_mul_of_nonneg_left (hwbound k hki) (Nat.cast_nonneg _)) |
| 296 | (hcoef (i - k) ((Nat.sub_le i k).trans hi) p hp x ⟨hx.le, hxd⟩) |
| 297 | (norm_nonneg _) (by positivity) |
| 298 | _ = ((2 : ℝ) ^ i * A * D) * FlatCutoff.edge c x / x ^ N := by |
| 299 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 300 | have hsum : (∑ k ∈ Finset.range (i + 1), (i.choose k : ℝ)) = (2 : ℝ) ^ i := by |
| 301 | exact_mod_cast Nat.sum_range_choose i |
| 302 | rw [hsum] |
| 303 | ring |
| 304 | _ ≤ _ := by |
| 305 | exact div_le_div_of_nonneg_right |
| 306 | (mul_le_mul_of_nonneg_right |
| 307 | (mul_le_mul_of_nonneg_right |
| 308 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hi) hA.le) |
| 309 | hD.le) he) (pow_nonneg hx.le N) |
| 310 | |
| 311 | theorem edge_smul_iteratedFDeriv_bound {c : ℝ} (hc : 0 < c) (j : ℕ) |
| 312 | {B : E × ℝ → F} (hB : ContDiff ℝ ∞ B) {S : Set E} (hS : IsCompact S) |
| 313 | (n : ℕ) {d : ℝ} (hd : 0 < d) : |
| 314 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ p ∈ S, ∀ x : ℝ, 0 < x → x ≤ d → |
| 315 | ‖iteratedFDeriv ℝ i (fun y : E × ℝ => |
| 316 | (FlatCutoff.edge c y.2 / y.2 ^ j) • B y) (p, x)‖ ≤ |
| 317 | C * FlatCutoff.edge c x / x ^ N := |
| 318 | edge_smul_iteratedFDeriv_bound_on hc j isOpen_univ hB.contDiffOn hS n hd (subset_univ _) |
| 319 | |
| 320 | end VectorCoefficients |
| 321 | |
| 322 | section Products |
| 323 | |
| 324 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 325 | |
| 326 | end Products |
| 327 | |
| 328 | end NavierStokes.EdgeWeightJets |