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.AxisWeightEstimates |
| 2 | import Mathlib.Topology.ContinuousMap.Bounded.Normed |
| 3 | import Mathlib.Topology.Order.ProjIcc |
| 4 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus |
| 5 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 6 | import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas |
| 7 | import Mathlib.Analysis.Normed.Module.Basic |
| 8 | import Mathlib.Tactic.Positivity |
| 9 | import Mathlib.Tactic.Ring |
| 10 | |
| 11 | /-! |
| 12 | # A complete coefficient space with compatible actual derivatives |
| 13 | |
| 14 | Normalized bounded continuous jets are restricted by closed, linear |
| 15 | fundamental-theorem-of-calculus identities. Thus a point of the resulting |
| 16 | Banach space determines genuine smooth coefficient functions, not unrelated |
| 17 | arrays masquerading as their derivatives. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace NavierStokes.AxisCoefficientSpace |
| 23 | |
| 24 | open Set MeasureTheory |
| 25 | open scoped Topology BoundedContinuousFunction ContDiff |
| 26 | |
| 27 | /-- A fixed nondegenerate compact real parameter interval. -/ |
| 28 | structure Window where |
| 29 | left : ℝ |
| 30 | right : ℝ |
| 31 | nondegenerate : left < right |
| 32 | |
| 33 | def Window.interval (I : Window) : Set ℝ := Icc I.left I.right |
| 34 | |
| 35 | /-- The continuous clamping map is only an extension device. Smoothness is |
| 36 | proved on the original closed interval, including its one-sided endpoint jets. -/ |
| 37 | def Window.project (I : Window) : ℝ → I.interval := |
| 38 | projIcc I.left I.right I.nondegenerate.le |
| 39 | |
| 40 | theorem Window.continuous_project (I : Window) : Continuous I.project := |
| 41 | continuous_projIcc |
| 42 | |
| 43 | theorem Window.project_of_mem (I : Window) {x : ℝ} (hx : x ∈ I.interval) : |
| 44 | I.project x = ⟨x, hx⟩ := |
| 45 | projIcc_of_mem I.nondegenerate.le hx |
| 46 | |
| 47 | /-- Ambient normalized jets with the supremum norm over both indices and |
| 48 | the compact parameter interval. -/ |
| 49 | abbrev RawJets (I : Window) := ((ℕ × ℕ) × I.interval) →ᵇ ℝ |
| 50 | |
| 51 | /-- Unnormalized, continuously extended `m`-th jet of coefficient `n`. -/ |
| 52 | def jet (I : Window) (w : ℕ → ℕ → ℝ) (A : RawJets I) (n m : ℕ) (x : ℝ) : ℝ := |
| 53 | w n m * A ((n, m), I.project x) |
| 54 | |
| 55 | theorem continuous_jet (I : Window) (w : ℕ → ℕ → ℝ) (A : RawJets I) (n m : ℕ) : |
| 56 | Continuous (jet I w A n m) := by |
| 57 | exact continuous_const.mul |
| 58 | (A.continuous.comp (continuous_const.prodMk I.continuous_project)) |
| 59 | |
| 60 | theorem continuous_jet_parameter (I : Window) (w : ℕ → ℕ → ℝ) (n m : ℕ) (x : ℝ) : |
| 61 | Continuous (fun A : RawJets I => jet I w A n m x) := by |
| 62 | exact continuous_const.mul (continuous_eval_const _) |
| 63 | |
| 64 | theorem continuous_jet_joint (I : Window) (w : ℕ → ℕ → ℝ) (n m : ℕ) : |
| 65 | Continuous (fun p : RawJets I × ℝ => jet I w p.1 n m p.2) := by |
| 66 | exact continuous_const.mul |
| 67 | (continuous_eval.comp |
| 68 | (continuous_fst.prodMk |
| 69 | (continuous_const.prodMk (I.continuous_project.comp continuous_snd)))) |
| 70 | |
| 71 | @[simp] theorem jet_zero (I : Window) (w : ℕ → ℕ → ℝ) (n m : ℕ) (x : ℝ) : |
| 72 | jet I w 0 n m x = 0 := by simp [jet] |
| 73 | |
| 74 | @[simp] theorem jet_add (I : Window) (w : ℕ → ℕ → ℝ) (A B : RawJets I) |
| 75 | (n m : ℕ) (x : ℝ) : |
| 76 | jet I w (A + B) n m x = jet I w A n m x + jet I w B n m x := by |
| 77 | simp [jet, mul_add] |
| 78 | |
| 79 | @[simp] theorem jet_sub (I : Window) (w : ℕ → ℕ → ℝ) (A B : RawJets I) |
| 80 | (n m : ℕ) (x : ℝ) : |
| 81 | jet I w (A - B) n m x = jet I w A n m x - jet I w B n m x := by |
| 82 | simp [jet, mul_sub] |
| 83 | |
| 84 | @[simp] theorem jet_smul (I : Window) (w : ℕ → ℕ → ℝ) (c : ℝ) (A : RawJets I) |
| 85 | (n m : ℕ) (x : ℝ) : |
| 86 | jet I w (c • A) n m x = c * jet I w A n m x := by |
| 87 | simp [jet] |
| 88 | ring |
| 89 | |
| 90 | /-- Compatibility is an actual FTC identity for every successive pair of |
| 91 | jets, throughout the full interval. -/ |
| 92 | def Compatible (I : Window) (w : ℕ → ℕ → ℝ) (A : RawJets I) : Prop := |
| 93 | ∀ n m x, x ∈ I.interval → |
| 94 | jet I w A n m x = jet I w A n m I.left + |
| 95 | ∫ t in I.left..x, jet I w A n (m + 1) t |
| 96 | |
| 97 | /-- The compatible arrays form a linear subspace of the ambient Banach space. -/ |
| 98 | def compatibleSubmodule (I : Window) (w : ℕ → ℕ → ℝ) : Submodule ℝ (RawJets I) where |
| 99 | carrier := {A | Compatible I w A} |
| 100 | zero_mem' := by |
| 101 | intro n m x hx |
| 102 | simp |
| 103 | add_mem' := by |
| 104 | intro A B hA hB n m x hx |
| 105 | simp only [jet_add] |
| 106 | rw [intervalIntegral.integral_add |
| 107 | ((continuous_jet I w A n (m + 1)).intervalIntegrable I.left x) |
| 108 | ((continuous_jet I w B n (m + 1)).intervalIntegrable I.left x), |
| 109 | hA n m x hx, hB n m x hx] |
| 110 | ring |
| 111 | smul_mem' := by |
| 112 | intro c A hA n m x hx |
| 113 | simp only [jet_smul, intervalIntegral.integral_const_mul] |
| 114 | rw [hA n m x hx] |
| 115 | ring |
| 116 | |
| 117 | /-- Closedness follows from continuous evaluation and continuous interval |
| 118 | integration. This is the completeness-critical compatibility argument. -/ |
| 119 | theorem isClosed_compatible (I : Window) (w : ℕ → ℕ → ℝ) : |
| 120 | IsClosed {A : RawJets I | Compatible I w A} := by |
| 121 | simp only [Compatible, ofPred_forall] |
| 122 | refine isClosed_iInter fun n => isClosed_iInter fun m => |
| 123 | isClosed_iInter fun x => isClosed_iInter fun hx => ?_ |
| 124 | exact isClosed_eq (continuous_jet_parameter I w n m x) |
| 125 | ((continuous_jet_parameter I w n m I.left).add |
| 126 | (intervalIntegral.continuous_parametric_intervalIntegral_of_continuous' |
| 127 | (continuous_jet_joint I w n (m + 1)) I.left x)) |
| 128 | |
| 129 | /-- The coefficient space, retaining the inherited genuine norm and linear structure. -/ |
| 130 | abbrev CoefficientSpace (I : Window) (w : ℕ → ℕ → ℝ) := compatibleSubmodule I w |
| 131 | |
| 132 | instance coefficientSpace_complete (I : Window) (w : ℕ → ℕ → ℝ) : |
| 133 | CompleteSpace (CoefficientSpace I w) := |
| 134 | (isClosed_compatible I w).completeSpace_coe |
| 135 | |
| 136 | /-- A coefficient is the zeroth actual jet. -/ |
| 137 | def coefficient (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace I w) (n : ℕ) : ℝ → ℝ := |
| 138 | jet I w A.1 n 0 |
| 139 | |
| 140 | /-- FTC compatibility identifies the derivative within the closed interval; |
| 141 | this includes the corresponding one-sided endpoint derivatives. -/ |
| 142 | theorem hasDerivWithinAt_jet (I : Window) (w : ℕ → ℕ → ℝ) |
| 143 | (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 144 | HasDerivWithinAt (jet I w A.1 n m) (jet I w A.1 n (m + 1) x) I.interval x := by |
| 145 | have h := ((continuous_jet I w A.1 n (m + 1)).integral_hasStrictDerivAt I.left x).hasDerivAt.const_add |
| 146 | (jet I w A.1 n m I.left) |
| 147 | exact h.hasDerivWithinAt.congr_of_mem (fun y hy => A.2 n m y hy) hx |
| 148 | |
| 149 | theorem derivWithin_jet (I : Window) (w : ℕ → ℕ → ℝ) |
| 150 | (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 151 | derivWithin (jet I w A.1 n m) I.interval x = jet I w A.1 n (m + 1) x := |
| 152 | (hasDerivWithinAt_jet I w A n m hx).derivWithin |
| 153 | (uniqueDiffOn_Icc I.nondegenerate x hx) |
| 154 | |
| 155 | /-- At every interior point these are the ordinary real derivatives. -/ |
| 156 | theorem hasDerivAt_jet_interior (I : Window) (w : ℕ → ℕ → ℝ) |
| 157 | (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} |
| 158 | (hx : x ∈ Ioo I.left I.right) : |
| 159 | HasDerivAt (jet I w A.1 n m) (jet I w A.1 n (m + 1) x) x := |
| 160 | (hasDerivWithinAt_jet I w A n m ⟨hx.1.le, hx.2.le⟩).hasDerivAt |
| 161 | (Icc_mem_nhds hx.1 hx.2) |
| 162 | |
| 163 | /-- Every stored jet is the corresponding iterated derivative of the actual function. -/ |
| 164 | theorem iteratedDerivWithin_jet (I : Window) (w : ℕ → ℕ → ℝ) |
| 165 | (A : CoefficientSpace I w) (n q m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 166 | iteratedDerivWithin m (jet I w A.1 n q) I.interval x = jet I w A.1 n (q + m) x := by |
| 167 | induction m generalizing x with |
| 168 | | zero => simp |
| 169 | | succ m ih => |
| 170 | rw [iteratedDerivWithin_succ, |
| 171 | derivWithin_congr (fun y hy => ih hy) (ih hx), derivWithin_jet I w A n (q + m) hx] |
| 172 | simp only [Nat.add_assoc] |
| 173 | |
| 174 | theorem iteratedDerivWithin_coefficient (I : Window) (w : ℕ → ℕ → ℝ) |
| 175 | (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 176 | iteratedDerivWithin m (coefficient I w A n) I.interval x = jet I w A.1 n m x := by |
| 177 | simpa only [coefficient, Nat.zero_add] using iteratedDerivWithin_jet I w A n 0 m hx |
| 178 | |
| 179 | /-- Genuine infinite smoothness on the full compact interval. -/ |
| 180 | theorem contDiffOn_jet (I : Window) (w : ℕ → ℕ → ℝ) |
| 181 | (A : CoefficientSpace I w) (n q : ℕ) : |
| 182 | ContDiffOn ℝ ∞ (jet I w A.1 n q) I.interval := by |
| 183 | apply contDiffOn_of_differentiableOn_deriv |
| 184 | intro m hm x hx |
| 185 | exact ((hasDerivWithinAt_jet I w A n (q + m) hx).congr_of_mem |
| 186 | (fun y hy => iteratedDerivWithin_jet I w A n q m hy) hx).differentiableWithinAt |
| 187 | |
| 188 | theorem contDiffOn_coefficient (I : Window) (w : ℕ → ℕ → ℝ) |
| 189 | (A : CoefficientSpace I w) (n : ℕ) : |
| 190 | ContDiffOn ℝ ∞ (coefficient I w A n) I.interval := |
| 191 | contDiffOn_jet I w A n 0 |
| 192 | |
| 193 | /-- On the interior these are ordinary smooth real functions on an open |
| 194 | neighborhood, so an original interval may be placed inside this enlarged one. -/ |
| 195 | theorem contDiffAt_coefficient_interior (I : Window) (w : ℕ → ℕ → ℝ) |
| 196 | (A : CoefficientSpace I w) (n : ℕ) {x : ℝ} |
| 197 | (hx : x ∈ Ioo I.left I.right) : |
| 198 | ContDiffAt ℝ ∞ (coefficient I w A n) x := |
| 199 | ((contDiffOn_coefficient I w A n) x ⟨hx.1.le, hx.2.le⟩).contDiffAt |
| 200 | (Icc_mem_nhds hx.1 hx.2) |
| 201 | |
| 202 | /-- The inherited norm controls every actual parameter derivative with its weight. -/ |
| 203 | theorem abs_jet_le (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace I w) |
| 204 | (n m : ℕ) (x : ℝ) : |
| 205 | |jet I w A.1 n m x| ≤ |w n m| * ‖A‖ := by |
| 206 | rw [jet, abs_mul] |
| 207 | exact mul_le_mul_of_nonneg_left |
| 208 | (A.1.norm_coe_le_norm ((n, m), I.project x)) (abs_nonneg _) |
| 209 | |
| 210 | theorem abs_iteratedDerivWithin_coefficient_le (I : Window) (w : ℕ → ℕ → ℝ) |
| 211 | (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 212 | |iteratedDerivWithin m (coefficient I w A n) I.interval x| ≤ |w n m| * ‖A‖ := by |
| 213 | rw [iteratedDerivWithin_coefficient I w A n m hx] |
| 214 | exact abs_jet_le I w A n m x |
| 215 | |
| 216 | /-- Norm convergence controls every derivative uniformly in the parameter. -/ |
| 217 | theorem abs_jet_sub_le (I : Window) (w : ℕ → ℕ → ℝ) (A B : CoefficientSpace I w) |
| 218 | (n m : ℕ) (x : ℝ) : |
| 219 | |jet I w A.1 n m x - jet I w B.1 n m x| ≤ |w n m| * ‖A - B‖ := by |
| 220 | simpa only [Submodule.coe_sub, jet_sub] using abs_jet_le I w (A - B) n m x |
| 221 | |
| 222 | /-- For nonzero weights, the normalized actual derivative recovers exactly |
| 223 | the stored bounded-continuous coordinate. -/ |
| 224 | theorem normalized_derivative (I : Window) (w : ℕ → ℕ → ℝ) |
| 225 | (hw : ∀ n m, w n m ≠ 0) (A : CoefficientSpace I w) |
| 226 | (n m : ℕ) (x : I.interval) : |
| 227 | iteratedDerivWithin m (coefficient I w A n) I.interval x / w n m = |
| 228 | A.1 ((n, m), x) := by |
| 229 | rw [iteratedDerivWithin_coefficient I w A n m x.property, |
| 230 | jet, I.project_of_mem x.property] |
| 231 | exact mul_div_cancel_left₀ _ (hw n m) |
| 232 | |
| 233 | theorem quotient_abs_derivative (I : Window) (w : ℕ → ℕ → ℝ) |
| 234 | (hw : ∀ n m, 0 < w n m) (A : CoefficientSpace I w) |
| 235 | (n m : ℕ) (x : I.interval) : |
| 236 | |iteratedDerivWithin m (coefficient I w A n) I.interval x| / w n m = |
| 237 | |A.1 ((n, m), x)| := by |
| 238 | calc |
| 239 | _ = |iteratedDerivWithin m (coefficient I w A n) I.interval x / w n m| := by |
| 240 | rw [abs_div, abs_of_pos (hw n m)] |
| 241 | _ = _ := by rw [normalized_derivative I w (fun n m => (hw n m).ne') A n m x] |
| 242 | |
| 243 | /-- This is precisely the supremum quotient norm in the manuscript, |
| 244 | expressed by its universal upper-bound characterization. -/ |
| 245 | theorem norm_le_iff_derivative_bound (I : Window) (w : ℕ → ℕ → ℝ) |
| 246 | (hw : ∀ n m, 0 < w n m) (A : CoefficientSpace I w) (C : ℝ) (hC : 0 ≤ C) : |
| 247 | ‖A‖ ≤ C ↔ ∀ (n m : ℕ) (x : I.interval), |
| 248 | |iteratedDerivWithin m (coefficient I w A n) I.interval x| / w n m ≤ C := by |
| 249 | change ‖A.1‖ ≤ C ↔ _ |
| 250 | rw [BoundedContinuousFunction.norm_le hC] |
| 251 | constructor |
| 252 | · intro h n m x |
| 253 | rw [quotient_abs_derivative I w hw A n m x] |
| 254 | exact h ((n, m), x) |
| 255 | · intro h p |
| 256 | rcases p with ⟨⟨n, m⟩, x⟩ |
| 257 | have hx := h n m x |
| 258 | rw [quotient_abs_derivative I w hw A n m x] at hx |
| 259 | exact hx |
| 260 | |
| 261 | /-- Positive weights leave no independent or invisible jet coordinates: |
| 262 | equality of the actual coefficient functions forces equality in the space. -/ |
| 263 | theorem coefficient_ext (I : Window) (w : ℕ → ℕ → ℝ) |
| 264 | (hw : ∀ n m, w n m ≠ 0) (A B : CoefficientSpace I w) |
| 265 | (h : ∀ n x, x ∈ I.interval → coefficient I w A n x = coefficient I w B n x) : |
| 266 | A = B := by |
| 267 | apply Subtype.ext |
| 268 | apply BoundedContinuousFunction.ext |
| 269 | rintro ⟨⟨n, m⟩, x⟩ |
| 270 | rw [← normalized_derivative I w hw A n m x, |
| 271 | ← normalized_derivative I w hw B n m x] |
| 272 | congr 1 |
| 273 | exact iteratedDerivWithin_congr (fun y hy => h n y hy) x.property |
| 274 | |
| 275 | /-- Normalize an actual continuous jet family with a uniform weighted bound. -/ |
| 276 | def rawOfJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 277 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 278 | (C : ℝ) (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) : RawJets I := |
| 279 | BoundedContinuousFunction.ofNormedAddCommGroup |
| 280 | (fun p : (ℕ × ℕ) × I.interval => J p.1.1 p.1.2 p.2 / w p.1.1 p.1.2) |
| 281 | (continuous_prod_of_discrete_left.mpr |
| 282 | (fun p => (hcont p.1 p.2).domRestrict.div_const (w p.1 p.2))) C |
| 283 | (by |
| 284 | rintro ⟨⟨n, m⟩, x⟩ |
| 285 | rw [Real.norm_eq_abs, abs_div, abs_of_pos (hw n m)] |
| 286 | exact (div_le_iff₀ (hw n m)).mpr (hbound n m x x.property)) |
| 287 | |
| 288 | theorem jet_rawOfJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 289 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 290 | (C : ℝ) (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) |
| 291 | (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 292 | jet I w (rawOfJetFamily I w hw J hcont C hbound) n m x = J n m x := by |
| 293 | change w n m * (J n m (I.project x) / w n m) = J n m x |
| 294 | rw [I.project_of_mem hx] |
| 295 | exact mul_div_cancel₀ _ (hw n m).ne' |
| 296 | |
| 297 | /-- Actual derivative compatibility implies the closed FTC compatibility |
| 298 | required by the Banach-space representation. -/ |
| 299 | theorem compatible_rawOfJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 300 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 301 | (hderiv : ∀ n m x, x ∈ I.interval → |
| 302 | HasDerivWithinAt (J n m) (J n (m + 1) x) I.interval x) |
| 303 | (C : ℝ) (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) : |
| 304 | Compatible I w (rawOfJetFamily I w hw J hcont C hbound) := by |
| 305 | intro n m x hx |
| 306 | have hleft : I.left ∈ I.interval := ⟨le_rfl, I.nondegenerate.le⟩ |
| 307 | have hsub : Icc I.left x ⊆ I.interval := fun y hy => ⟨hy.1, hy.2.trans hx.2⟩ |
| 308 | have hint : IntervalIntegrable (J n (m + 1)) volume I.left x := |
| 309 | ContinuousOn.intervalIntegrable_of_Icc hx.1 ((hcont n (m + 1)).mono hsub) |
| 310 | have hFTC : (∫ t in I.left..x, J n (m + 1) t) = J n m x - J n m I.left := by |
| 311 | apply intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le hx.1 |
| 312 | ((hcont n m).mono hsub) _ hint |
| 313 | intro y hy |
| 314 | exact (hderiv n m y (hsub ⟨hy.1.le, hy.2.le⟩)).hasDerivAt |
| 315 | (Icc_mem_nhds hy.1 (hy.2.trans_le hx.2)) |
| 316 | have hintEq : (∫ t in I.left..x, |
| 317 | jet I w (rawOfJetFamily I w hw J hcont C hbound) n (m + 1) t) = |
| 318 | ∫ t in I.left..x, J n (m + 1) t := by |
| 319 | apply intervalIntegral.integral_congr |
| 320 | intro y hy |
| 321 | rw [uIcc_of_le hx.1] at hy |
| 322 | exact jet_rawOfJetFamily I w hw J hcont C hbound n (m + 1) (hsub hy) |
| 323 | rw [jet_rawOfJetFamily I w hw J hcont C hbound n m hx, |
| 324 | jet_rawOfJetFamily I w hw J hcont C hbound n m hleft, hintEq, hFTC] |
| 325 | ring |
| 326 | |
| 327 | /-- Reverse constructor used by genuine products and radial operators: |
| 328 | a continuous family with actual adjacent derivatives and the weighted bound |
| 329 | becomes an element of the complete coefficient space. -/ |
| 330 | def ofJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 331 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 332 | (hderiv : ∀ n m x, x ∈ I.interval → |
| 333 | HasDerivWithinAt (J n m) (J n (m + 1) x) I.interval x) |
| 334 | (C : ℝ) (_hC : 0 ≤ C) |
| 335 | (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) : CoefficientSpace I w := |
| 336 | ⟨rawOfJetFamily I w hw J hcont C hbound, |
| 337 | compatible_rawOfJetFamily I w hw J hcont hderiv C hbound⟩ |
| 338 | |
| 339 | theorem jet_ofJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 340 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 341 | (hderiv : ∀ n m x, x ∈ I.interval → |
| 342 | HasDerivWithinAt (J n m) (J n (m + 1) x) I.interval x) |
| 343 | (C : ℝ) (hC : 0 ≤ C) |
| 344 | (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) |
| 345 | (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 346 | jet I w (ofJetFamily I w hw J hcont hderiv C hC hbound).1 n m x = J n m x := |
| 347 | jet_rawOfJetFamily I w hw J hcont C hbound n m hx |
| 348 | |
| 349 | theorem coefficient_ofJetFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 350 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 351 | (hderiv : ∀ n m x, x ∈ I.interval → |
| 352 | HasDerivWithinAt (J n m) (J n (m + 1) x) I.interval x) |
| 353 | (C : ℝ) (hC : 0 ≤ C) |
| 354 | (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) |
| 355 | (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 356 | coefficient I w (ofJetFamily I w hw J hcont hderiv C hC hbound) n x = J n 0 x := |
| 357 | jet_ofJetFamily I w hw J hcont hderiv C hC hbound n 0 hx |
| 358 | |
| 359 | theorem norm_ofJetFamily_le (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 360 | (J : ℕ → ℕ → ℝ → ℝ) (hcont : ∀ n m, ContinuousOn (J n m) I.interval) |
| 361 | (hderiv : ∀ n m x, x ∈ I.interval → |
| 362 | HasDerivWithinAt (J n m) (J n (m + 1) x) I.interval x) |
| 363 | (C : ℝ) (hC : 0 ≤ C) |
| 364 | (hbound : ∀ n m x, x ∈ I.interval → |J n m x| ≤ C * w n m) : |
| 365 | ‖ofJetFamily I w hw J hcont hderiv C hC hbound‖ ≤ C := by |
| 366 | apply (norm_le_iff_derivative_bound I w hw _ C hC).mpr |
| 367 | intro n m x |
| 368 | rw [iteratedDerivWithin_coefficient I w _ n m x.property, |
| 369 | jet_ofJetFamily I w hw J hcont hderiv C hC hbound n m x.property] |
| 370 | exact (div_le_iff₀ (hw n m)).mpr (hbound n m x x.property) |
| 371 | |
| 372 | /-- A smooth coefficient family's genuine iterated derivatives form the |
| 373 | adjacent derivative chain required by `ofJetFamily`. -/ |
| 374 | theorem hasDerivWithinAt_iterated_smooth (I : Window) (F : ℕ → ℝ → ℝ) |
| 375 | (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) (n m : ℕ) |
| 376 | {x : ℝ} (hx : x ∈ I.interval) : |
| 377 | HasDerivWithinAt (iteratedDerivWithin m (F n) I.interval) |
| 378 | (iteratedDerivWithin (m + 1) (F n) I.interval x) I.interval x := by |
| 379 | have hd : DifferentiableWithinAt ℝ (iteratedDerivWithin m (F n) I.interval) I.interval x := |
| 380 | (hF n).differentiableOn_iteratedDerivWithin (m := m) |
| 381 | (by exact_mod_cast (ENat.natCast_lt_top m)) |
| 382 | (uniqueDiffOn_Icc I.nondegenerate) x hx |
| 383 | simpa only [iteratedDerivWithin_succ] using hd.hasDerivWithinAt |
| 384 | |
| 385 | /-- Reverse constructor from actual smooth coefficient functions with |
| 386 | uniform bounds on all their parameter derivatives. -/ |
| 387 | def ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 388 | (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) |
| 389 | (C : ℝ) (hC : 0 ≤ C) |
| 390 | (hbound : ∀ n m x, x ∈ I.interval → |
| 391 | |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) : CoefficientSpace I w := |
| 392 | ofJetFamily I w hw (fun n m => iteratedDerivWithin m (F n) I.interval) |
| 393 | (fun n m => (hF n).continuousOn_iteratedDerivWithin (m := m) |
| 394 | (by exact_mod_cast (ENat.natCast_lt_top m).le) |
| 395 | (uniqueDiffOn_Icc I.nondegenerate)) |
| 396 | (fun n m _ hx => hasDerivWithinAt_iterated_smooth I F hF n m hx) C hC hbound |
| 397 | |
| 398 | theorem jet_ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 399 | (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) |
| 400 | (C : ℝ) (hC : 0 ≤ C) |
| 401 | (hbound : ∀ n m x, x ∈ I.interval → |
| 402 | |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) |
| 403 | (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 404 | jet I w (ofSmoothFamily I w hw F hF C hC hbound).1 n m x = |
| 405 | iteratedDerivWithin m (F n) I.interval x := by |
| 406 | unfold ofSmoothFamily |
| 407 | exact jet_ofJetFamily I w hw _ _ _ C hC hbound n m hx |
| 408 | |
| 409 | theorem coefficient_ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 410 | (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) |
| 411 | (C : ℝ) (hC : 0 ≤ C) |
| 412 | (hbound : ∀ n m x, x ∈ I.interval → |
| 413 | |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) |
| 414 | (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 415 | coefficient I w (ofSmoothFamily I w hw F hF C hC hbound) n x = F n x := by |
| 416 | simpa only [coefficient, iteratedDerivWithin_zero] using |
| 417 | jet_ofSmoothFamily I w hw F hF C hC hbound n 0 hx |
| 418 | |
| 419 | theorem norm_ofSmoothFamily_le (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) |
| 420 | (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) |
| 421 | (C : ℝ) (hC : 0 ≤ C) |
| 422 | (hbound : ∀ n m x, x ∈ I.interval → |
| 423 | |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) : |
| 424 | ‖ofSmoothFamily I w hw F hF C hC hbound‖ ≤ C := by |
| 425 | unfold ofSmoothFamily |
| 426 | exact norm_ofJetFamily_le I w hw _ _ _ C hC hbound |
| 427 | |
| 428 | /-- The specific space in GAX.2, with the manuscript's exact positive weights |
| 429 | when `ε>0`. Completeness and normed vector-space structures are inherited. -/ |
| 430 | abbrev AxisSpace (I : Window) (ε : ℝ) := |
| 431 | CoefficientSpace I (AxisWeightEstimates.weight ε) |
| 432 | |
| 433 | /-- The concrete space is a complete normed space of actual smooth functions. -/ |
| 434 | theorem axisSpace_complete (I : Window) (ε : ℝ) : CompleteSpace (AxisSpace I ε) := |
| 435 | inferInstance |
| 436 | |
| 437 | theorem axisSpace_smooth (I : Window) (ε : ℝ) (A : AxisSpace I ε) (n : ℕ) : |
| 438 | ContDiffOn ℝ ∞ (coefficient I (AxisWeightEstimates.weight ε) A n) I.interval := |
| 439 | contDiffOn_coefficient I (AxisWeightEstimates.weight ε) A n |
| 440 | |
| 441 | /-- Each actual derivative is controlled by exactly the printed weight. -/ |
| 442 | theorem axisSpace_derivative_bound (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 443 | (A : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 444 | |iteratedDerivWithin m (coefficient I (AxisWeightEstimates.weight ε) A n) I.interval x| ≤ |
| 445 | AxisWeightEstimates.weight ε n m * ‖A‖ := by |
| 446 | simpa only [abs_of_pos (AxisWeightEstimates.weight_pos hε n m)] using |
| 447 | abs_iteratedDerivWithin_coefficient_le I (AxisWeightEstimates.weight ε) A n m hx |
| 448 | |
| 449 | /-- The exact manuscript norm, with actual derivatives in its quotient. -/ |
| 450 | theorem axisSpace_norm_le_iff (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 451 | (A : AxisSpace I ε) (C : ℝ) (hC : 0 ≤ C) : |
| 452 | ‖A‖ ≤ C ↔ ∀ (n m : ℕ) (x : I.interval), |
| 453 | |iteratedDerivWithin m (coefficient I (AxisWeightEstimates.weight ε) A n) I.interval x| / |
| 454 | AxisWeightEstimates.weight ε n m ≤ C := |
| 455 | norm_le_iff_derivative_bound I (AxisWeightEstimates.weight ε) |
| 456 | (AxisWeightEstimates.weight_pos hε) A C hC |
| 457 | |
| 458 | end NavierStokes.AxisCoefficientSpace |
| 459 | |
| 460 | end |