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.TangentProjection |
| 2 | import Mathlib.Analysis.ODE.PicardLindelof |
| 3 | import Mathlib.Analysis.ODE.Gronwall |
| 4 | import Mathlib.Analysis.ODE.ExistUnique |
| 5 | |
| 6 | /-! |
| 7 | # Existence on finite intervals for the projected tangent equation |
| 8 | |
| 9 | We first extend the contracting-iterate Picard argument to all continuous |
| 10 | curves on a compact interval. A globally Lipschitz vector field therefore |
| 11 | has a solution on the whole prescribed interval, without a small-time |
| 12 | assumption. Continuous linear coefficients provide the required bound. |
| 13 | -/ |
| 14 | |
| 15 | namespace NavierStokes.TangentODE |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | open Filter Function Set Metric intervalIntegral MeasureTheory |
| 20 | open scoped Topology NNReal ENNReal Nat Interval InnerProductSpace |
| 21 | |
| 22 | variable {E : Type*} [NormedAddCommGroup E] |
| 23 | |
| 24 | /-- Continuous vector field, globally Lipschitz in its state variable, |
| 25 | on a prescribed compact time interval. -/ |
| 26 | structure IntervalSystem (E : Type*) [NormedAddCommGroup E] where |
| 27 | left : ℝ |
| 28 | right : ℝ |
| 29 | ordered : left ≤ right |
| 30 | initial : E |
| 31 | field : ℝ → E → E |
| 32 | lip : ℝ≥0 |
| 33 | lipschitz : ∀ t ∈ Icc left right, LipschitzWith lip (field t) |
| 34 | continuous : Continuous (fun p : Icc left right × E => field p.1 p.2) |
| 35 | |
| 36 | namespace IntervalSystem |
| 37 | |
| 38 | variable (v : IntervalSystem E) |
| 39 | |
| 40 | def proj : ℝ → Icc v.left v.right := projIcc v.left v.right v.ordered |
| 41 | |
| 42 | theorem proj_of_mem {t : ℝ} (ht : t ∈ Icc v.left v.right) : |
| 43 | (v.proj t : ℝ) = t := by simp only [proj, projIcc_of_mem v.ordered ht] |
| 44 | |
| 45 | theorem proj_coe (t : Icc v.left v.right) : v.proj t = t := projIcc_val _ _ |
| 46 | |
| 47 | theorem continuous_proj : Continuous v.proj := continuous_projIcc |
| 48 | |
| 49 | def composeField (f : C(Icc v.left v.right, E)) (t : ℝ) : E := |
| 50 | v.field (v.proj t) (f (v.proj t)) |
| 51 | |
| 52 | theorem continuous_composeField (f : C(Icc v.left v.right, E)) : |
| 53 | Continuous (v.composeField f) := |
| 54 | v.continuous.comp (v.continuous_proj.prodMk (f.continuous.comp v.continuous_proj)) |
| 55 | |
| 56 | theorem integrable_composeField (f : C(Icc v.left v.right, E)) (a b : ℝ) : |
| 57 | IntervalIntegrable (v.composeField f) volume a b := |
| 58 | (v.continuous_composeField f).intervalIntegrable _ _ |
| 59 | |
| 60 | variable [NormedSpace ℝ E] [CompleteSpace E] |
| 61 | |
| 62 | def integralCurve (f : C(Icc v.left v.right, E)) (t : ℝ) : E := |
| 63 | v.initial + ∫ s in v.left..t, v.composeField f s |
| 64 | |
| 65 | theorem hasDerivAt_integralCurve (f : C(Icc v.left v.right, E)) (t : ℝ) : |
| 66 | HasDerivAt (v.integralCurve f) (v.composeField f t) t := |
| 67 | (integral_hasDerivAt_right (v.integrable_composeField f _ _) |
| 68 | ((v.continuous_composeField f).stronglyMeasurableAtFilter _ _) |
| 69 | (v.continuous_composeField f).continuousAt).const_add v.initial |
| 70 | |
| 71 | def next (f : C(Icc v.left v.right, E)) : C(Icc v.left v.right, E) := |
| 72 | ⟨fun t => v.integralCurve f t, |
| 73 | (continuous_iff_continuousAt.mpr (fun t => |
| 74 | (v.hasDerivAt_integralCurve f t).continuousAt)).comp continuous_subtype_val⟩ |
| 75 | |
| 76 | theorem next_apply (f : C(Icc v.left v.right, E)) (t : Icc v.left v.right) : |
| 77 | v.next f t = v.initial + ∫ s in v.left..t, v.composeField f s := rfl |
| 78 | |
| 79 | theorem dist_next_apply_le_of_le {f g : C(Icc v.left v.right, E)} {n : ℕ} {d : ℝ} |
| 80 | (h : ∀ t, dist (f t) (g t) ≤ (v.lip * |t.1 - v.left|) ^ n / n ! * d) |
| 81 | (t : Icc v.left v.right) : |
| 82 | dist (v.next f t) (v.next g t) ≤ |
| 83 | (v.lip * |t.1 - v.left|) ^ (n + 1) / (n + 1)! * d := by |
| 84 | simp only [dist_eq_norm, next_apply, add_sub_add_left_eq_sub, |
| 85 | ← intervalIntegral.integral_sub (v.integrable_composeField f _ _) |
| 86 | (v.integrable_composeField g _ _), |
| 87 | norm_integral_eq_norm_integral_uIoc] at * |
| 88 | calc |
| 89 | ‖∫ s in Ι v.left t, v.composeField f s - v.composeField g s‖ ≤ |
| 90 | ∫ s in Ι v.left t, v.lip * ((v.lip * |s - v.left|) ^ n / n ! * d) := by |
| 91 | refine norm_integral_le_of_norm_le (Continuous.integrableOn_uIoc (by fun_prop)) ?_ |
| 92 | refine (ae_restrict_mem measurableSet_Ioc).mono fun s hs => ?_ |
| 93 | have hs' : s ∈ Icc v.left v.right := |
| 94 | uIcc_subset_Icc ⟨le_rfl, v.ordered⟩ t.2 (Ioc_subset_Icc_self hs) |
| 95 | have hh := h (v.proj s) |
| 96 | rw [v.proj_of_mem hs'] at hh |
| 97 | exact ((v.lipschitz (v.proj s) (v.proj s).2).norm_sub_le _ _).trans |
| 98 | (mul_le_mul_of_nonneg_left hh v.lip.2) |
| 99 | _ = (v.lip * |t.1 - v.left|) ^ (n + 1) / (n + 1)! * d := by |
| 100 | simp_rw [mul_pow, div_eq_mul_inv, mul_assoc, MeasureTheory.integral_const_mul, |
| 101 | MeasureTheory.integral_mul_const, integral_pow_abs_sub_uIoc, div_eq_mul_inv, |
| 102 | pow_succ' (v.lip : ℝ), Nat.factorial_succ, Nat.cast_mul, Nat.cast_succ, |
| 103 | mul_inv, mul_assoc] |
| 104 | |
| 105 | theorem dist_iterate_next_apply_le (f g : C(Icc v.left v.right, E)) |
| 106 | (n : ℕ) (t : Icc v.left v.right) : |
| 107 | dist (v.next^[n] f t) (v.next^[n] g t) ≤ |
| 108 | (v.lip * |t.1 - v.left|) ^ n / n ! * dist f g := by |
| 109 | induction n generalizing t with |
| 110 | | zero => |
| 111 | rw [pow_zero, Nat.factorial_zero, Nat.cast_one, div_one, one_mul] |
| 112 | exact ContinuousMap.dist_apply_le_dist t |
| 113 | | succ n ih => |
| 114 | rw [iterate_succ_apply', iterate_succ_apply'] |
| 115 | exact v.dist_next_apply_le_of_le ih t |
| 116 | |
| 117 | theorem dist_iterate_next_le (f g : C(Icc v.left v.right, E)) (n : ℕ) : |
| 118 | dist (v.next^[n] f) (v.next^[n] g) ≤ |
| 119 | (v.lip * (v.right - v.left)) ^ n / n ! * dist f g := by |
| 120 | have : Nonempty (Icc v.left v.right) := ⟨⟨v.left, le_rfl, v.ordered⟩⟩ |
| 121 | refine ContinuousMap.dist_le_iff_of_nonempty.mpr fun t => |
| 122 | (v.dist_iterate_next_apply_le f g n t).trans ?_ |
| 123 | have ht : |t.1 - v.left| ≤ v.right - v.left := by |
| 124 | rw [abs_of_nonneg (sub_nonneg.mpr t.2.1)] |
| 125 | exact sub_le_sub_right t.2.2 _ |
| 126 | gcongr |
| 127 | |
| 128 | theorem exists_contracting_iterate : |
| 129 | ∃ (N : ℕ) (K : ℝ≥0), ContractingWith K v.next^[N] := by |
| 130 | obtain ⟨N, hN⟩ := ((FloorSemiring.tendsto_pow_div_factorial_atTop |
| 131 | (v.lip * (v.right - v.left))).eventually (gt_mem_nhds zero_lt_one)).exists |
| 132 | have hnonneg : 0 ≤ (v.lip * (v.right - v.left)) ^ N / N ! := |
| 133 | div_nonneg (pow_nonneg (mul_nonneg v.lip.2 (sub_nonneg.mpr v.ordered)) _) |
| 134 | (Nat.cast_nonneg _) |
| 135 | exact ⟨N, ⟨_, hnonneg⟩, hN, LipschitzWith.of_dist_le_mul fun f g => |
| 136 | v.dist_iterate_next_le f g N⟩ |
| 137 | |
| 138 | theorem exists_fixed : ∃ f : C(Icc v.left v.right, E), v.next f = f := by |
| 139 | obtain ⟨N, K, hK⟩ := v.exists_contracting_iterate |
| 140 | exact ⟨_, hK.isFixedPt_fixedPoint_iterate⟩ |
| 141 | |
| 142 | /-- Finite-interval existence with no smallness condition on interval length or |
| 143 | Lipschitz constant. The resulting extension is differentiable at the endpoints too. -/ |
| 144 | theorem exists_solution : |
| 145 | ∃ u : ℝ → E, u v.left = v.initial ∧ |
| 146 | ∀ t ∈ Icc v.left v.right, HasDerivAt u (v.field t (u t)) t := by |
| 147 | obtain ⟨f, hf⟩ := v.exists_fixed |
| 148 | refine ⟨v.integralCurve f, by simp [integralCurve], fun t ht => ?_⟩ |
| 149 | have hval : v.integralCurve f t = f (v.proj t) := by |
| 150 | have hh := congrArg (fun g : C(Icc v.left v.right, E) => g (v.proj t)) hf |
| 151 | simpa only [next, ContinuousMap.coe_mk, v.proj_of_mem ht] using hh |
| 152 | have hd := v.hasDerivAt_integralCurve f t |
| 153 | simpa only [composeField, v.proj_of_mem ht, hval] using hd |
| 154 | |
| 155 | end IntervalSystem |
| 156 | |
| 157 | variable [NormedSpace ℝ E] [CompleteSpace E] |
| 158 | |
| 159 | omit [CompleteSpace E] in |
| 160 | /-- A continuous operator coefficient on a compact interval has a common |
| 161 | global Lipschitz bound, including an arbitrary additive forcing. -/ |
| 162 | theorem linear_uniform_lipschitz {a b : ℝ} (hab : a ≤ b) |
| 163 | (A : ℝ → E →L[ℝ] E) (g : ℝ → E) (hA : ContinuousOn A (Icc a b)) : |
| 164 | ∃ L : ℝ≥0, ∀ t ∈ Icc a b, LipschitzWith L (fun x => A t x + g t) := by |
| 165 | obtain ⟨C, hC⟩ := isCompact_Icc.exists_bound_of_continuousOn hA |
| 166 | have hC0 : 0 ≤ C := (norm_nonneg (A a)).trans (hC a ⟨le_rfl, hab⟩) |
| 167 | refine ⟨⟨C, hC0⟩, fun t ht => LipschitzWith.of_dist_le_mul fun x y => ?_⟩ |
| 168 | rw [dist_add_right] |
| 169 | exact ((A t).lipschitzWith.dist_le_mul x y).trans |
| 170 | (mul_le_mul_of_nonneg_right (hC t ht) dist_nonneg) |
| 171 | |
| 172 | /-- Actual existence for a continuous-coefficient inhomogeneous linear ODE |
| 173 | on any finite closed interval. -/ |
| 174 | theorem exists_linear_solution {a b : ℝ} (hab : a ≤ b) |
| 175 | (A : ℝ → E →L[ℝ] E) (g : ℝ → E) |
| 176 | (hA : ContinuousOn A (Icc a b)) (hg : ContinuousOn g (Icc a b)) (x₀ : E) : |
| 177 | ∃ u : ℝ → E, u a = x₀ ∧ |
| 178 | ∀ t ∈ Icc a b, HasDerivAt u (A t (u t) + g t) t := by |
| 179 | obtain ⟨L, hL⟩ := linear_uniform_lipschitz hab A g hA |
| 180 | let v : IntervalSystem E := { |
| 181 | left := a |
| 182 | right := b |
| 183 | ordered := hab |
| 184 | initial := x₀ |
| 185 | field := fun t x => A t x + g t |
| 186 | lip := L |
| 187 | lipschitz := hL |
| 188 | continuous := by |
| 189 | have hcA : Continuous (fun t : Icc a b => A t) := hA.domRestrict |
| 190 | have hcg : Continuous (fun t : Icc a b => g t) := hg.domRestrict |
| 191 | exact ((hcA.comp continuous_fst).clm_apply continuous_snd).add |
| 192 | (hcg.comp continuous_fst) } |
| 193 | exact v.exists_solution |
| 194 | |
| 195 | omit [CompleteSpace E] in |
| 196 | /-- Uniqueness on the complete finite interval follows from Grönwall's inequality. -/ |
| 197 | theorem linear_solution_unique {a b : ℝ} (hab : a ≤ b) |
| 198 | (A : ℝ → E →L[ℝ] E) (g : ℝ → E) (hA : ContinuousOn A (Icc a b)) |
| 199 | {u w : ℝ → E} |
| 200 | (hu : ∀ t ∈ Icc a b, HasDerivAt u (A t (u t) + g t) t) |
| 201 | (hw : ∀ t ∈ Icc a b, HasDerivAt w (A t (w t) + g t) t) |
| 202 | (hinit : u a = w a) : EqOn u w (Icc a b) := by |
| 203 | obtain ⟨L, hL⟩ := linear_uniform_lipschitz hab A g hA |
| 204 | exact ODE_solution_unique_of_mem_Icc_right |
| 205 | (s := fun _ => Set.univ) (v := fun t x => A t x + g t) |
| 206 | (fun t ht => (hL t (Ico_subset_Icc_self ht)).lipschitzOnWith) |
| 207 | (fun t ht => (hu t ht).continuousAt.continuousWithinAt) |
| 208 | (fun t ht => (hu t (Ico_subset_Icc_self ht)).hasDerivWithinAt) |
| 209 | (fun _ _ => Set.mem_univ _) |
| 210 | (fun t ht => (hw t ht).continuousAt.continuousWithinAt) |
| 211 | (fun t ht => (hw t (Ico_subset_Icc_self ht)).hasDerivWithinAt) |
| 212 | (fun _ _ => Set.mem_univ _) hinit |
| 213 | |
| 214 | variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] |
| 215 | |
| 216 | /-- Continuous linear part of equation (27), including the moving-normal term. -/ |
| 217 | def projectedOperator (n n' : H) (K : H →L[ℝ] H) (δ : ℝ) : H →L[ℝ] H := |
| 218 | -K + (((innerSL ℝ n).comp K - innerSL ℝ n').smulRight ((⟪n, n⟫_ℝ)⁻¹ • n)) - |
| 219 | δ • ContinuousLinearMap.id ℝ H |
| 220 | |
| 221 | theorem projectedOperator_apply (n n' x f : H) (K : H →L[ℝ] H) (δ : ℝ) : |
| 222 | projectedOperator n n' K δ x - TangentProjection.tangentProj n f = |
| 223 | TangentProjection.projectedRhs n n' x (K x) f δ := by |
| 224 | simp only [projectedOperator, sub_apply, add_apply, |
| 225 | neg_apply, ContinuousLinearMap.smulRight_apply, |
| 226 | ContinuousLinearMap.comp_apply, innerSL_apply_apply, smul_apply, |
| 227 | ContinuousLinearMap.id_apply, TangentProjection.projectedRhs, smul_smul] |
| 228 | congr 3 |
| 229 | |
| 230 | /-- Continuity of the true linear operator follows from the coefficient hypotheses; |
| 231 | division is justified by the nonvanishing normal. -/ |
| 232 | theorem continuousOn_projectedOperator {s : Set ℝ} |
| 233 | (n n' : ℝ → H) (K : ℝ → H →L[ℝ] H) (δ : ℝ → ℝ) |
| 234 | (hn : ContinuousOn n s) (hn' : ContinuousOn n' s) |
| 235 | (hK : ContinuousOn K s) (hδ : ContinuousOn δ s) |
| 236 | (hn0 : ∀ t ∈ s, n t ≠ 0) : |
| 237 | ContinuousOn (fun t => projectedOperator (n t) (n' t) (K t) (δ t)) s := by |
| 238 | have hlin : ContinuousOn |
| 239 | (fun t => (innerSL ℝ (n t)).comp (K t) - innerSL ℝ (n' t)) s := |
| 240 | (((innerSL ℝ).continuous.comp_continuousOn hn).clm_comp hK).sub |
| 241 | ((innerSL ℝ).continuous.comp_continuousOn hn') |
| 242 | have hnorm : ContinuousOn (fun t => (⟪n t, n t⟫_ℝ)⁻¹ • n t) s := |
| 243 | ((hn.inner hn).inv₀ (fun t ht => inner_self_ne_zero.mpr (hn0 t ht))).smul hn |
| 244 | have houter : ContinuousOn (fun t => |
| 245 | ((innerSL ℝ (n t)).comp (K t) - innerSL ℝ (n' t)).smulRight |
| 246 | ((⟪n t, n t⟫_ℝ)⁻¹ • n t)) s := |
| 247 | isBoundedBilinearMap_smulRight.continuous.comp_continuousOn (hlin.prodMk hnorm) |
| 248 | exact (hK.neg.add houter).sub (hδ.smul continuousOn_const) |
| 249 | |
| 250 | theorem continuousOn_projectedForcing {s : Set ℝ} |
| 251 | (n f : ℝ → H) (hn : ContinuousOn n s) (hf : ContinuousOn f s) |
| 252 | (hn0 : ∀ t ∈ s, n t ≠ 0) : |
| 253 | ContinuousOn (fun t => -TangentProjection.tangentProj (n t) (f t)) s := by |
| 254 | exact (hf.sub (((hn.inner hf).div (hn.inner hn) |
| 255 | (fun t ht => inner_self_ne_zero.mpr (hn0 t ht))).smul hn)).neg |
| 256 | |
| 257 | variable [CompleteSpace H] |
| 258 | |
| 259 | /-- The actual projected tangent equation has a solution on the entire finite |
| 260 | interval when its coefficients are continuous and its normal never vanishes. -/ |
| 261 | theorem exists_projected_solution {a b : ℝ} (hab : a ≤ b) |
| 262 | (n n' f : ℝ → H) (K : ℝ → H →L[ℝ] H) (δ : ℝ → ℝ) |
| 263 | (hn : ContinuousOn n (Icc a b)) (hn' : ContinuousOn n' (Icc a b)) |
| 264 | (hf : ContinuousOn f (Icc a b)) (hK : ContinuousOn K (Icc a b)) |
| 265 | (hδ : ContinuousOn δ (Icc a b)) (hn0 : ∀ t ∈ Icc a b, n t ≠ 0) |
| 266 | (x₀ : H) : |
| 267 | ∃ u : ℝ → H, u a = x₀ ∧ ∀ t ∈ Icc a b, |
| 268 | HasDerivAt u (TangentProjection.projectedRhs (n t) (n' t) (u t) |
| 269 | (K t (u t)) (f t) (δ t)) t := by |
| 270 | obtain ⟨u, hu, hdu⟩ := exists_linear_solution hab |
| 271 | (fun t => projectedOperator (n t) (n' t) (K t) (δ t)) |
| 272 | (fun t => -TangentProjection.tangentProj (n t) (f t)) |
| 273 | (continuousOn_projectedOperator n n' K δ hn hn' hK hδ hn0) |
| 274 | (continuousOn_projectedForcing n f hn hf hn0) x₀ |
| 275 | refine ⟨u, hu, fun t ht => ?_⟩ |
| 276 | simpa only [← sub_eq_add_neg, projectedOperator_apply] using hdu t ht |
| 277 | |
| 278 | omit [CompleteSpace H] in |
| 279 | /-- Uniqueness holds for all solutions of equation (27), independent of whether |
| 280 | their common initial value is tangent. -/ |
| 281 | theorem projected_solution_unique {a b : ℝ} (hab : a ≤ b) |
| 282 | (n n' f : ℝ → H) (K : ℝ → H →L[ℝ] H) (δ : ℝ → ℝ) |
| 283 | (hn : ContinuousOn n (Icc a b)) (hn' : ContinuousOn n' (Icc a b)) |
| 284 | (hK : ContinuousOn K (Icc a b)) (hδ : ContinuousOn δ (Icc a b)) |
| 285 | (hn0 : ∀ t ∈ Icc a b, n t ≠ 0) {u w : ℝ → H} |
| 286 | (hu : ∀ t ∈ Icc a b, HasDerivAt u |
| 287 | (TangentProjection.projectedRhs (n t) (n' t) (u t) (K t (u t)) (f t) (δ t)) t) |
| 288 | (hw : ∀ t ∈ Icc a b, HasDerivAt w |
| 289 | (TangentProjection.projectedRhs (n t) (n' t) (w t) (K t (w t)) (f t) (δ t)) t) |
| 290 | (hinit : u a = w a) : EqOn u w (Icc a b) := by |
| 291 | apply linear_solution_unique hab |
| 292 | (fun t => projectedOperator (n t) (n' t) (K t) (δ t)) |
| 293 | (fun t => -TangentProjection.tangentProj (n t) (f t)) |
| 294 | (continuousOn_projectedOperator n n' K δ hn hn' hK hδ hn0) |
| 295 | (u := u) (w := w) _ _ hinit |
| 296 | · intro t ht |
| 297 | simpa only [← sub_eq_add_neg, projectedOperator_apply] using hu t ht |
| 298 | · intro t ht |
| 299 | simpa only [← sub_eq_add_neg, projectedOperator_apply] using hw t ht |
| 300 | |
| 301 | omit [CompleteSpace H] in |
| 302 | /-- On the finite interval, tangency propagates from the left endpoint. |
| 303 | No primitive or globally defined solution is assumed. -/ |
| 304 | theorem projected_tangency_preserved {a b : ℝ} (hab : a ≤ b) |
| 305 | (n n' f u : ℝ → H) (K : ℝ → H →L[ℝ] H) (δ : ℝ → ℝ) |
| 306 | (hδ : ContinuousOn δ (Icc a b)) (hn0 : ∀ t ∈ Icc a b, n t ≠ 0) |
| 307 | (hn : ∀ t ∈ Icc a b, HasDerivAt n (n' t) t) |
| 308 | (hu : ∀ t ∈ Icc a b, HasDerivAt u |
| 309 | (TangentProjection.projectedRhs (n t) (n' t) (u t) (K t (u t)) (f t) (δ t)) t) |
| 310 | (hinit : ⟪n a, u a⟫_ℝ = 0) : ∀ t ∈ Icc a b, ⟪n t, u t⟫_ℝ = 0 := by |
| 311 | let A : ℝ → ℝ →L[ℝ] ℝ := fun t => -δ t • ContinuousLinearMap.id ℝ ℝ |
| 312 | have hA : ContinuousOn A (Icc a b) := hδ.neg.smul continuousOn_const |
| 313 | have hd : ∀ t ∈ Icc a b, |
| 314 | HasDerivAt (fun s => ⟪n s, u s⟫_ℝ) (A t ⟪n t, u t⟫_ℝ + 0) t := by |
| 315 | intro t ht |
| 316 | simpa [A] using TangentProjection.tangency_defect_derivative (hn0 t ht) (hn t ht) (hu t ht) |
| 317 | have hzero : ∀ t ∈ Icc a b, HasDerivAt (fun _ : ℝ => (0 : ℝ)) (A t 0 + 0) t := by |
| 318 | intro t ht |
| 319 | simpa using hasDerivAt_const t (0 : ℝ) |
| 320 | exact linear_solution_unique hab A (fun _ => 0) hA hd hzero hinit |
| 321 | |
| 322 | /-- Combined finite-interval existence, uniqueness, and moving tangency for |
| 323 | equation (27). All analytic coefficient hypotheses are explicit. -/ |
| 324 | theorem exists_unique_tangent_solution {a b : ℝ} (hab : a ≤ b) |
| 325 | (n n' f : ℝ → H) (K : ℝ → H →L[ℝ] H) (δ : ℝ → ℝ) |
| 326 | (hn : ∀ t ∈ Icc a b, HasDerivAt n (n' t) t) |
| 327 | (hn' : ContinuousOn n' (Icc a b)) (hf : ContinuousOn f (Icc a b)) |
| 328 | (hK : ContinuousOn K (Icc a b)) (hδ : ContinuousOn δ (Icc a b)) |
| 329 | (hn0 : ∀ t ∈ Icc a b, n t ≠ 0) (x₀ : H) (hx₀ : ⟪n a, x₀⟫_ℝ = 0) : |
| 330 | ∃ u : ℝ → H, u a = x₀ ∧ |
| 331 | (∀ t ∈ Icc a b, HasDerivAt u |
| 332 | (TangentProjection.projectedRhs (n t) (n' t) (u t) (K t (u t)) (f t) (δ t)) t) ∧ |
| 333 | (∀ t ∈ Icc a b, ⟪n t, u t⟫_ℝ = 0) ∧ |
| 334 | ∀ w : ℝ → H, w a = x₀ → |
| 335 | (∀ t ∈ Icc a b, HasDerivAt w |
| 336 | (TangentProjection.projectedRhs (n t) (n' t) (w t) (K t (w t)) (f t) (δ t)) t) → |
| 337 | EqOn w u (Icc a b) := by |
| 338 | have hncont : ContinuousOn n (Icc a b) := |
| 339 | fun t ht => (hn t ht).continuousAt.continuousWithinAt |
| 340 | obtain ⟨u, hu, hdu⟩ := exists_projected_solution hab n n' f K δ |
| 341 | hncont hn' hf hK hδ hn0 x₀ |
| 342 | refine ⟨u, hu, hdu, ?_, ?_⟩ |
| 343 | · exact projected_tangency_preserved hab n n' f u K δ hδ hn0 hn hdu |
| 344 | (by simpa only [hu] using hx₀) |
| 345 | · intro w hw hdw |
| 346 | exact projected_solution_unique hab n n' f K δ hncont hn' hK hδ hn0 hdw hdu |
| 347 | (hw.trans hu.symm) |
| 348 | |
| 349 | end |
| 350 | |
| 351 | end NavierStokes.TangentODE |