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

chore(NavierStokes/Axis): delete 216 declarations nothing uses #145
Merged
+0 −107 NavierStokes/AxisCoefficientSpace.lean View file
| @@ -176,29 +176,6 @@ theorem iteratedDerivWithin_coefficient (I : Window) (w : ℕ → ℕ → ℝ) | ||
| 176 | 176 | iteratedDerivWithin m (coefficient I w A n) I.interval x = jet I w A.1 n m x := by |
| 177 | 177 | simpa only [coefficient, Nat.zero_add] using iteratedDerivWithin_jet I w A n 0 m hx |
| 178 | 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 | 179 | /-- The inherited norm controls every actual parameter derivative with its weight. -/ |
| 203 | 180 | theorem abs_jet_le (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace I w) |
| 204 | 181 | (n m : ℕ) (x : ℝ) : |
| @@ -207,18 +184,6 @@ theorem abs_jet_le (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace | ||
| 207 | 184 | exact mul_le_mul_of_nonneg_left |
| 208 | 185 | (A.1.norm_coe_le_norm ((n, m), I.project x)) (abs_nonneg _) |
| 209 | 186 | |
| 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 | 187 | /-- For nonzero weights, the normalized actual derivative recovers exactly |
| 223 | 188 | the stored bounded-continuous coordinate. -/ |
| 224 | 189 | theorem normalized_derivative (I : Window) (w : ℕ → ℕ → ℝ) |
| @@ -369,83 +334,11 @@ theorem norm_ofJetFamily_le (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m | ||
| 369 | 334 | jet_ofJetFamily I w hw J hcont hderiv C hC hbound n m x.property] |
| 370 | 335 | exact (div_le_iff₀ (hw n m)).mpr (hbound n m x x.property) |
| 371 | 336 | |
| 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 | 337 | /-- The specific space in GAX.2, with the manuscript's exact positive weights |
| 429 | 338 | when `ε>0`. Completeness and normed vector-space structures are inherited. -/ |
| 430 | 339 | abbrev AxisSpace (I : Window) (ε : ℝ) := |
| 431 | 340 | CoefficientSpace I (AxisWeightEstimates.weight ε) |
| 432 | 341 | |
| 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 | 342 | /-- The exact manuscript norm, with actual derivatives in its quotient. -/ |
| 450 | 343 | theorem axisSpace_norm_le_iff (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 451 | 344 | (A : AxisSpace I ε) (C : ℝ) (hC : 0 ≤ C) : |
+0 −108 NavierStokes/AxisContraction.lean View file
| @@ -368,32 +368,6 @@ def naturalRemainder (O : NaturalOperators V) (d : AxisData V) | ||
| 368 | 368 | def referencePair (O : NaturalOperators V) (d : AxisData V) (S : V →L[ℝ] V) : V × V := |
| 369 | 369 | (S d.one, -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar)) |
| 370 | 370 | |
| 371 | -/-- Scalar check of the angular grouping used before applying the actual | |
| 372 | -linear radial inverse. No derivative terms are omitted in the expansion. -/ | |
| 373 | -theorem angular_remainder_expansion | |
| 374 | - (t h D η d U W H κ φ u bu buη φdot φη : ℝ) : | |
| 375 | - ((W + h - 2 * h * η * U) * φ + W * φdot + H * φη) + | |
| 376 | - d * κ * u * φ - | |
| 377 | - t * (((2 * D * η) * bu + (2 * h * η) * u) * φ + | |
| 378 | - d * buη * φ + (2 * D * η) * bu * φdot + | |
| 379 | - d * buη * φdot - d * u * φη) = | |
| 380 | - ((W - t * ((2 * D * η) * bu + d * buη)) + | |
| 381 | - h * (1 - 2 * η * (U + t * u)) + d * u * κ) * φ + | |
| 382 | - (W - t * ((2 * D * η) * bu + d * buη)) * φdot + | |
| 383 | - (H + t * d * u) * φη := by ring | |
| 384 | - | |
| 385 | -/-- Scalar check of the axial grouping, including the pressure terms. -/ | |
| 386 | -theorem axial_remainder_expansion | |
| 387 | - (t A D η d U Uη W H u bu buη udot uη P Pη Pdot : ℝ) : | |
| 388 | - ((A - 4 * A * η * U + d * Uη) * u + W * udot + H * uη) - | |
| 389 | - t * ((2 * A * η) * (u * u) + (2 * D * η) * bu * udot + | |
| 390 | - d * buη * udot - d * u * uη) + | |
| 391 | - (-4 * A * η * P + d * Pη - 2 * η * Pdot) = | |
| 392 | - A * (1 - 4 * η * U) * u - 2 * A * η * t * (u * u) + | |
| 393 | - (W - t * ((2 * D * η) * bu + d * buη)) * udot + | |
| 394 | - H * uη + d * Uη * u + t * d * u * uη - | |
| 395 | - 4 * A * η * P + d * Pη - 2 * η * Pdot := by ring | |
| 396 | - | |
| 397 | 371 | /-- Explicit propagation of local bounds through every term in the actual |
| 398 | 372 | integrated remainders. Its numerical fields do not depend on t or a, |
| 399 | 373 | only on the uniform upper bound M for the norm of a. -/ |
| @@ -471,18 +445,6 @@ def remainderLip (O : NaturalOperators V) (d : AxisData V) | ||
| 471 | 445 | (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) : ℝ := |
| 472 | 446 | (controlledRemainder O d S R M hR hM 0 (by simp) 0 (by simpa using hM)).lip |
| 473 | 447 | |
| 474 | -theorem controlledRemainder_bound_eq (O : NaturalOperators V) (d : AxisData V) | |
| 475 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 476 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) : | |
| 477 | - (controlledRemainder O d S R M hR hM t ht a ha).bound = | |
| 478 | - remainderBound O d S R M hR hM := by rfl | |
| 479 | - | |
| 480 | -theorem controlledRemainder_lip_eq (O : NaturalOperators V) (d : AxisData V) | |
| 481 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 482 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) : | |
| 483 | - (controlledRemainder O d S R M hR hM t ht a ha).lip = | |
| 484 | - remainderLip O d S R M hR hM := by rfl | |
| 485 | - | |
| 486 | 448 | theorem remainderBound_nonneg (O : NaturalOperators V) (d : AxisData V) |
| 487 | 449 | (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) : |
| 488 | 450 | 0 ≤ remainderBound O d S R M hR hM := |
| @@ -493,27 +455,6 @@ theorem remainderLip_nonneg (O : NaturalOperators V) (d : AxisData V) | ||
| 493 | 455 | 0 ≤ remainderLip O d S R M hR hM := |
| 494 | 456 | (controlledRemainder O d S R M hR hM 0 (by simp) 0 (by simpa using hM)).lip_nonneg |
| 495 | 457 | |
| 496 | -/-- The actual remainder is bounded uniformly in both the small parameter | |
| 497 | -and every normalized angular amplitude with norm at most M. -/ | |
| 498 | -theorem norm_naturalRemainder_le (O : NaturalOperators V) (d : AxisData V) | |
| 499 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 500 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) | |
| 501 | - (x : V × V) (hx : ‖x‖ ≤ R) : | |
| 502 | - ‖naturalRemainder O d S t a x‖ ≤ remainderBound O d S R M hR hM := by | |
| 503 | - have h := (controlledRemainder O d S R M hR hM t ht a ha).norm_le x hx | |
| 504 | - simpa only [controlledRemainder_eval, controlledRemainder_bound_eq] using h | |
| 505 | - | |
| 506 | -/-- The local Lipschitz estimate is derived term by term from the actual | |
| 507 | -polynomial operators, including the mixed and pressure terms. -/ | |
| 508 | -theorem naturalRemainder_sub_le (O : NaturalOperators V) (d : AxisData V) | |
| 509 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 510 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) | |
| 511 | - (x y : V × V) (hx : ‖x‖ ≤ R) (hy : ‖y‖ ≤ R) : | |
| 512 | - ‖naturalRemainder O d S t a x - naturalRemainder O d S t a y‖ ≤ | |
| 513 | - remainderLip O d S R M hR hM * ‖x - y‖ := by | |
| 514 | - have h := (controlledRemainder O d S R M hR hM t ht a ha).sub_le x y hx hy | |
| 515 | - simpa only [controlledRemainder_eval, controlledRemainder_lip_eq] using h | |
| 516 | - | |
| 517 | 458 | /-- A finite threshold depending only on fixed operator/coefficient data, |
| 518 | 459 | the reference pair, and the uniform norm bound M. In particular it does |
| 519 | 460 | not depend on the normalized amplitude a. -/ |
| @@ -639,55 +580,6 @@ theorem fixedPoint_integrated_equations (O : NaturalOperators V) (d : AxisData V | ||
| 639 | 580 | rwa [hlin] at h |
| 640 | 581 | · exact hu.symm |
| 641 | 582 | |
| 642 | -/-- With the left resolvent identity, the two integrated equations also | |
| 643 | -imply the nonlinear fixed-point equation. -/ | |
| 644 | -theorem integrated_equations_fixedPoint (O : NaturalOperators V) (d : AxisData V) | |
| 645 | - (S Q : V →L[ℝ] V) (hS : ∀ y : V, S (y + Q y) = y) | |
| 646 | - (t s : ℝ) (a : V) (x : V × V) | |
| 647 | - (hφ : x.1 + Q x.1 = | |
| 648 | - d.one + s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) | |
| 649 | - (hu : x.2 = -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar) + | |
| 650 | - s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).2) : | |
| 651 | - referencePair O d S + s • naturalRemainder O d S t a x = x := by | |
| 652 | - apply Prod.ext | |
| 653 | - · change S d.one + s • (naturalRemainder O d S t a x).1 = x.1 | |
| 654 | - rw [naturalRemainder_fst_resolvent] | |
| 655 | - calc | |
| 656 | - S d.one + s • S ((naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) = | |
| 657 | - S (d.one + s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) := by | |
| 658 | - rw [map_add, map_smul] | |
| 659 | - _ = S (x.1 + Q x.1) := congrArg S hφ.symm | |
| 660 | - _ = x.1 := hS x.1 | |
| 661 | - · change -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar) + | |
| 662 | - s • (naturalRemainder O d S t a x).2 = x.2 | |
| 663 | - rw [naturalRemainder_snd_resolvent] | |
| 664 | - exact hu.symm | |
| 665 | - | |
| 666 | -/-- A single coefficient-space norm error controls every angular parameter | |
| 667 | -jet uniformly on the full real parameter interval. -/ | |
| 668 | -theorem axis_angular_jet_error (I : AxisCoefficientSpace.Window) (ε : ℝ) | |
| 669 | - (x x₀ : AxisCoefficientSpace.AxisSpace I ε × AxisCoefficientSpace.AxisSpace I ε) | |
| 670 | - (B : ℝ) (hB : ‖x - x₀‖ ≤ B) (n m : ℕ) (η : ℝ) : | |
| 671 | - |AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x.1.1 n m η - | |
| 672 | - AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x₀.1.1 n m η| ≤ | |
| 673 | - |AxisWeightEstimates.weight ε n m| * B := by | |
| 674 | - have hcomponent : ‖x.1 - x₀.1‖ ≤ B := (norm_fst_le (x - x₀)).trans hB | |
| 675 | - exact (AxisCoefficientSpace.abs_jet_sub_le I (AxisWeightEstimates.weight ε) | |
| 676 | - x.1 x₀.1 n m η).trans | |
| 677 | - (mul_le_mul_of_nonneg_left hcomponent (abs_nonneg _)) | |
| 678 | - | |
| 679 | -/-- The same uniform control for every axial parameter jet. -/ | |
| 680 | -theorem axis_axial_jet_error (I : AxisCoefficientSpace.Window) (ε : ℝ) | |
| 681 | - (x x₀ : AxisCoefficientSpace.AxisSpace I ε × AxisCoefficientSpace.AxisSpace I ε) | |
| 682 | - (B : ℝ) (hB : ‖x - x₀‖ ≤ B) (n m : ℕ) (η : ℝ) : | |
| 683 | - |AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x.2.1 n m η - | |
| 684 | - AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x₀.2.1 n m η| ≤ | |
| 685 | - |AxisWeightEstimates.weight ε n m| * B := by | |
| 686 | - have hcomponent : ‖x.2 - x₀.2‖ ≤ B := (norm_snd_le (x - x₀)).trans hB | |
| 687 | - exact (AxisCoefficientSpace.abs_jet_sub_le I (AxisWeightEstimates.weight ε) | |
| 688 | - x.2 x₀.2 n m η).trans | |
| 689 | - (mul_le_mul_of_nonneg_left hcomponent (abs_nonneg _)) | |
| 690 | - | |
| 691 | 583 | /-- The coefficient fixed-point error controls actual mixed derivatives |
| 692 | 584 | of the evaluated functions, uniformly on every smaller radial interval. -/ |
| 693 | 585 | theorem evaluated_mixed_error (I : AxisCoefficientSpace.Window) |
+0 −70 NavierStokes/AxisEvaluation.lean View file
| @@ -135,24 +135,6 @@ theorem summable_term (I : Window) {ε R : ℝ} (hε : 0 < ε) | ||
| 135 | 135 | {p : ℝ × ℝ} (hp : |p.1| ≤ R) : Summable (fun n => term I ε A k m n p) := |
| 136 | 136 | .of_norm_bounded (summable_majorant hR hR20 k m) (fun n => term_bound I hε hR A k m n hp) |
| 137 | 137 | |
| 138 | -theorem term_continuous (I : Window) (ε : ℝ) (A : AxisSpace I ε) (k m n : ℕ) : | |
| 139 | - Continuous (term I ε A k m n) := by | |
| 140 | - exact (continuous_const.mul (continuous_fst.pow (n - k))).mul | |
| 141 | - ((continuous_jet I (weight ε) A.1 n m).comp continuous_snd) | |
| 142 | - | |
| 143 | -/-- Uniform convergence of every mixed derivative series on every strictly | |
| 144 | -smaller closed radial interval, uniformly over the parameter interval. In | |
| 145 | -fact the clamped coefficient extension gives uniformity over all real `η`. -/ | |
| 146 | -theorem mixedSeries_uniform (I : Window) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) | |
| 147 | - (A : AxisSpace I ε) (k m : ℕ) : | |
| 148 | - TendstoUniformlyOn | |
| 149 | - (fun N (p : ℝ × ℝ) => ∑ n ∈ Finset.range N, term I ε A k m n p) | |
| 150 | - (mixedSeries I ε A k m) atTop {p : ℝ × ℝ | |p.1| ≤ R} := by | |
| 151 | - have hmax : max 1 R < 20 := max_lt (by norm_num) hR20 | |
| 152 | - exact tendstoUniformlyOn_tsum_nat (summable_majorant (le_max_left 1 R) hmax k m) | |
| 153 | - (fun n p hp => term_bound I hε (le_max_left 1 R) A k m n | |
| 154 | - (hp.trans (le_max_right 1 R))) | |
| 155 | - | |
| 156 | 138 | def strip (I : Window) (R : ℝ) : Set (ℝ × ℝ) := |
| 157 | 139 | Ioo (-R) R ×ˢ Ioo I.left I.right |
| 158 | 140 | |
| @@ -435,56 +417,4 @@ theorem mixedSeries_sub_bound (I : Window) {ε R : ℝ} (hε : 0 < ε) | ||
| 435 | 417 | rw [mixedSeries_sub I hε A B k m (hp.trans_lt hR20)] |
| 436 | 418 | _ ≤ _ := mixedSeries_bound I hε hR hR20 (A - B) k m hp |
| 437 | 419 | |
| 438 | -theorem profile_smooth_radius (I : Window) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) | |
| 439 | - (A : AxisSpace I ε) : ContDiffOn ℝ ∞ (profile I ε A) (strip I R) := by | |
| 440 | - apply (profile_smooth I hε A).mono | |
| 441 | - intro p hp | |
| 442 | - exact ⟨⟨(neg_lt_neg hR20).trans hp.1.1, hp.1.2.trans hR20⟩, hp.2⟩ | |
| 443 | - | |
| 444 | -theorem coefficient_iteratedDeriv (I : Window) (ε : ℝ) (A : AxisSpace I ε) | |
| 445 | - (n m : ℕ) {η : ℝ} (hη : η ∈ Ioo I.left I.right) : | |
| 446 | - iteratedDeriv m (coefficient I (weight ε) A n) η = jet I (weight ε) A.1 n m η := by | |
| 447 | - induction m generalizing η with | |
| 448 | - | zero => rfl | |
| 449 | - | succ m ih => | |
| 450 | - rw [iteratedDeriv_succ] | |
| 451 | - have heq : iteratedDeriv m (coefficient I (weight ε) A n) =ᶠ[𝓝 η] | |
| 452 | - jet I (weight ε) A.1 n m := by | |
| 453 | - filter_upwards [Ioo_mem_nhds hη.1 hη.2] with x hx | |
| 454 | - exact ih hx | |
| 455 | - rw [heq.deriv_eq, (hasDerivAt_jet_interior I (weight ε) A n m hη).deriv] | |
| 456 | - | |
| 457 | -/-- Termwise mixed differentiation stated entirely using ordinary | |
| 458 | -derivatives of the actual coefficient functions. -/ | |
| 459 | -theorem mixed_derivative_profile_coefficients (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 460 | - (A : AxisSpace I ε) (k m : ℕ) {Y η : ℝ} | |
| 461 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 462 | - iteratedDeriv m (fun x => iteratedDeriv k (fun y => profile I ε A (y, x)) Y) η = | |
| 463 | - ∑' n : ℕ, (n.descFactorial k : ℝ) * Y ^ (n - k) * | |
| 464 | - iteratedDeriv m (coefficient I (weight ε) A n) η := by | |
| 465 | - rw [mixed_derivative_profile I hε A k m hY hη] | |
| 466 | - apply tsum_congr | |
| 467 | - intro n | |
| 468 | - rw [coefficient_iteratedDeriv I ε A n m hη] | |
| 469 | - | |
| 470 | -/-- A window larger than the target interval, with arbitrarily small margin. -/ | |
| 471 | -def enlargedUnitWindow (δ : ℝ) (hδ : 0 < δ) : Window where | |
| 472 | - left := -1 - δ | |
| 473 | - right := 1 + δ | |
| 474 | - nondegenerate := by linarith | |
| 475 | - | |
| 476 | -theorem unitInterval_in_enlargedWindow {δ : ℝ} (hδ : 0 < δ) : | |
| 477 | - Icc (-1 : ℝ) 1 ⊆ Ioo (enlargedUnitWindow δ hδ).left (enlargedUnitWindow δ hδ).right := by | |
| 478 | - intro x hx | |
| 479 | - constructor <;> dsimp [enlargedUnitWindow] <;> linarith [hx.1, hx.2] | |
| 480 | - | |
| 481 | -/-- In particular both endpoints of the target interval `[-1,1]` have | |
| 482 | -ordinary open-neighborhood smoothness; no endpoint extension is assumed. -/ | |
| 483 | -theorem profile_smooth_target {δ ε : ℝ} (hδ : 0 < δ) (hε : 0 < ε) | |
| 484 | - (A : AxisSpace (enlargedUnitWindow δ hδ) ε) {Y η : ℝ} | |
| 485 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 486 | - ContDiffAt ℝ ∞ (profile (enlargedUnitWindow δ hδ) ε A) (Y, η) := by | |
| 487 | - rw [← mixedSeries_zero] | |
| 488 | - exact mixedSeries_smooth _ hε A 0 0 ⟨hY, unitInterval_in_enlargedWindow hδ hη⟩ | |
| 489 | - | |
| 490 | 420 | end NavierStokes.AxisEvaluation |
+0 −72 NavierStokes/AxisEvaluationAlgebra.lean View file
| @@ -57,14 +57,6 @@ theorem profile_axis (I : Window) (ε : ℝ) (A : AxisSpace I ε) (η : ℝ) : | ||
| 57 | 57 | · intro n hn |
| 58 | 58 | simp [zero_pow hn] |
| 59 | 59 | |
| 60 | -theorem profile_deriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 61 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 62 | - (hη : η ∈ Ioo I.left I.right) : | |
| 63 | - deriv (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A 1 0 (Y, η) := by | |
| 64 | - have hd := mixedSeries_hasDerivAt_Y I hε A 0 0 hY hη | |
| 65 | - rw [mixedSeries_zero] at hd | |
| 66 | - exact hd.deriv | |
| 67 | - | |
| 68 | 60 | theorem profile_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 69 | 61 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 70 | 62 | (hη : η ∈ Ioo I.left I.right) : |
| @@ -73,24 +65,9 @@ theorem profile_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 73 | 65 | rw [mixedSeries_zero] at hd |
| 74 | 66 | exact hd.deriv |
| 75 | 67 | |
| 76 | -theorem profile_iteratedDeriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 77 | - (A : AxisSpace I ε) (k : ℕ) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 78 | - (hη : η ∈ Ioo I.left I.right) : | |
| 79 | - iteratedDeriv k (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A k 0 (Y, η) := by | |
| 80 | - simpa only [mixedSeries_zero, Nat.zero_add] using iteratedDeriv_Y I hε A 0 0 k hY hη | |
| 81 | - | |
| 82 | 68 | def radialValue (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) (p : ℝ × ℝ) : ℝ := |
| 83 | 69 | p.1 * mixedSeries I ε A 2 0 p + (r : ℝ) * mixedSeries I ε A 1 0 p |
| 84 | 70 | |
| 85 | -theorem radialValue_eq_derivatives (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 86 | - (r : ℕ) (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 87 | - (hη : η ∈ Ioo I.left I.right) : | |
| 88 | - radialValue I ε r A (Y, η) = | |
| 89 | - Y * iteratedDeriv 2 (fun y => profile I ε A (y, η)) Y + | |
| 90 | - (r : ℝ) * deriv (fun y => profile I ε A (y, η)) Y := by | |
| 91 | - rw [profile_iteratedDeriv_Y I hε A 2 hY hη, profile_deriv_Y I hε A hY hη] | |
| 92 | - rfl | |
| 93 | - | |
| 94 | 71 | theorem polynomialJet_radial (r n : ℕ) (Y : ℝ) : |
| 95 | 72 | Y * polynomialJet (n + 1) 2 Y + (r : ℝ) * polynomialJet (n + 1) 1 Y = |
| 96 | 73 | radialDivisor r n * Y ^ n := by |
| @@ -413,35 +390,6 @@ theorem parameterPrimitive_eq_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 413 | 390 | rw [profile_deriv_eta I hε _ hY hη] |
| 414 | 391 | exact parameterPrimitive_eta_value I hε A Y ⟨hη.1.le, hη.2.le⟩ |
| 415 | 392 | |
| 416 | -theorem parameterPrimitive_Y_value (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 417 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : | |
| 418 | - mixedSeries I ε (parameterPrimitive I hε A) 1 0 (Y, η) = | |
| 419 | - mixedSeries I ε A 0 1 (Y, η) := by | |
| 420 | - rw [derivativeSeries I hε _ hY, parameterSeries] | |
| 421 | - apply tsum_congr | |
| 422 | - intro n | |
| 423 | - change ((n : ℝ) + 1) * Y ^ n * inputJet I ε (parameterPrimitive I hε A) (n + 1) 0 η = _ | |
| 424 | - rw [jet_parameterPrimitive_eval I hε A (n + 1) 0 hη] | |
| 425 | - simp only [primitiveScale, Nat.pred_succ, Nat.add_zero] | |
| 426 | - field_simp | |
| 427 | - | |
| 428 | -theorem parameterPrimitive_hasDerivAt (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 429 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 430 | - (hη : η ∈ Ioo I.left I.right) : | |
| 431 | - HasDerivAt (fun y => profile I ε (parameterPrimitive I hε A) (y, η)) | |
| 432 | - (deriv (fun x => profile I ε A (Y, x)) η) Y := by | |
| 433 | - have hd := mixedSeries_hasDerivAt_Y I hε (parameterPrimitive I hε A) 0 0 hY hη | |
| 434 | - rw [mixedSeries_zero, parameterPrimitive_Y_value I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] at hd | |
| 435 | - rwa [profile_deriv_eta I hε A hY hη] | |
| 436 | - | |
| 437 | -theorem parameterPrimitive_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 438 | - (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : | |
| 439 | - profile I ε (parameterPrimitive I hε A) (0, η) = 0 := by | |
| 440 | - rw [profile_axis] | |
| 441 | - change inputJet I ε (parameterPrimitive I hε A) 0 0 η = _ | |
| 442 | - rw [jet_parameterPrimitive_eval I hε A 0 0 hη] | |
| 443 | - simp [primitiveScale] | |
| 444 | - | |
| 445 | 393 | theorem radial_segment_mem {Y y : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 446 | 394 | (hy : y ∈ uIcc (0 : ℝ) Y) : y ∈ Ioo (-20 : ℝ) 20 := by |
| 447 | 395 | rcases le_total (0 : ℝ) Y with h | h |
| @@ -475,26 +423,6 @@ theorem average_integral (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 475 | 423 | rw [average_times_Y I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] |
| 476 | 424 | exact primitive_integral I hε A hY hη |
| 477 | 425 | |
| 478 | -theorem regularInverse_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 479 | - (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) {Y η : ℝ} | |
| 480 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 481 | - Y * iteratedDeriv 2 (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y + | |
| 482 | - (r : ℝ) * deriv (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y = | |
| 483 | - profile I ε A (Y, η) := by | |
| 484 | - rw [← radialValue_eq_derivatives I hε r _ hY hη] | |
| 485 | - exact regularInverse_equation I hε r hr A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ | |
| 486 | - | |
| 487 | -theorem inverseMixed_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 488 | - (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} | |
| 489 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 490 | - Y * iteratedDeriv 2 (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y + | |
| 491 | - (r : ℝ) * deriv (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y = | |
| 492 | - deriv (fun x => profile I ε A (Y, x)) η * | |
| 493 | - (Y * deriv (fun y => profile I ε B (y, η)) Y) := by | |
| 494 | - rw [← radialValue_eq_derivatives I hε r _ hY hη, | |
| 495 | - profile_deriv_eta I hε A hY hη, profile_deriv_Y I hε B hY hη] | |
| 496 | - exact inverseMixed_equation I hε r hr A B (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ | |
| 497 | - | |
| 498 | 426 | theorem average_axis (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 499 | 427 | (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 500 | 428 | profile I ε (average I hε A) (0, η) = profile I ε A (0, η) := by |
+0 −83 NavierStokes/AxisHolomorphic.lean View file
| @@ -456,50 +456,6 @@ theorem complexProfile_hasDerivAt_Y (I : Window) {ε R s : ℝ} (hε : 0 < ε) | ||
| 456 | 456 | (fun n => normalizedJet_bound I hε hR hs hs1 A k n hY.le z.re)) |
| 457 | 457 | (abs_lt.mp hY) |
| 458 | 458 | |
| 459 | -/-- Every member of the holomorphic family is the actual corresponding radial derivative. -/ | |
| 460 | -theorem complexProfile_iteratedDeriv_Y (I : Window) {ε R s : ℝ} (hε : 0 < ε) | |
| 461 | - (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) | |
| 462 | - (k r : ℕ) {Y : ℝ} (hY : |Y| < R) {z : ℂ} | |
| 463 | - (hz : z ∈ parameterStrip I (ε * (1 - s))) : | |
| 464 | - iteratedDeriv r (fun y => complexProfile I ε A k y z) Y = | |
| 465 | - complexProfile I ε A (k + r) Y z := by | |
| 466 | - induction r generalizing Y with | |
| 467 | - | zero => simp | |
| 468 | - | succ r ih => | |
| 469 | - rw [iteratedDeriv_succ] | |
| 470 | - have heq : (iteratedDeriv r (fun y => complexProfile I ε A k y z)) =ᶠ[𝓝 Y] | |
| 471 | - (fun y => complexProfile I ε A (k + r) y z) := by | |
| 472 | - filter_upwards [Ioo_mem_nhds (abs_lt.mp hY).1 (abs_lt.mp hY).2] with y hy | |
| 473 | - exact ih (abs_lt.mpr hy) | |
| 474 | - rw [heq.deriv_eq, (complexProfile_hasDerivAt_Y I hε hR hs hs1 A (k + r) hY hz).deriv] | |
| 475 | - simp only [Nat.add_assoc] | |
| 476 | - | |
| 477 | -/-- On the real axis, every genuine complex derivative is the corresponding | |
| 478 | -already constructed compatible parameter jet. -/ | |
| 479 | -theorem complexProfile_iteratedDeriv_ofReal (I : Window) {ε R s : ℝ} (hε : 0 < ε) | |
| 480 | - (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) | |
| 481 | - (k m : ℕ) {Y x : ℝ} (hY : |Y| ≤ R) (hx : x ∈ Ioo I.left I.right) : | |
| 482 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 483 | - (mixedSeries I ε A k m (Y, x) : ℂ) := by | |
| 484 | - have hY20 : |Y| < 20 := hY.trans_lt (by linarith) | |
| 485 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 486 | - induction m generalizing x with | |
| 487 | - | zero => simpa only [iteratedDeriv_zero] using complexProfile_ofReal I ε A k Y x | |
| 488 | - | succ m ih => | |
| 489 | - rw [iteratedDeriv_succ] | |
| 490 | - have hx' : (x : ℂ) ∈ parameterStrip I (ε * (1 - s)) := by | |
| 491 | - exact ⟨hx, by simpa only [Complex.ofReal_im, abs_zero] using half_pos ha⟩ | |
| 492 | - have han : AnalyticAt ℂ (iteratedDeriv m (complexProfile I ε A k Y)) (x : ℂ) := by | |
| 493 | - simpa only [iteratedDeriv_eq_iterate] using | |
| 494 | - ((complexProfile_analytic I hε hR hs hs1 A k hY) (x : ℂ) hx').iterated_deriv m | |
| 495 | - have heq : (fun t : ℝ => iteratedDeriv m (complexProfile I ε A k Y) (t : ℂ)) =ᶠ[𝓝 x] | |
| 496 | - (fun t : ℝ => (mixedSeries I ε A k m (Y, t) : ℂ)) := by | |
| 497 | - filter_upwards [Ioo_mem_nhds hx.1 hx.2] with t ht | |
| 498 | - exact ih ht | |
| 499 | - have hreal := (mixedSeries_hasDerivAt_eta I hε A k m (abs_lt.mp hY20) hx).ofReal_comp | |
| 500 | - exact han.differentiableAt.hasDerivAt.comp_ofReal.unique | |
| 501 | - (hreal.congr_of_eventuallyEq heq) | |
| 502 | - | |
| 503 | 459 | /-- The open complex tube around a closed real window. -/ |
| 504 | 460 | noncomputable def parameterTube (J : Window) (δ : ℝ) : Set ℂ := |
| 505 | 461 | {z | ∃ x ∈ J.interval, dist z (x : ℂ) < δ} |
| @@ -530,43 +486,4 @@ theorem exists_parameterTube_subset (I J : Window) (hleft : I.left < J.left) | ||
| 530 | 486 | have hz' := abs_le.mp hre |
| 531 | 487 | exact ⟨⟨by linarith, by linarith⟩, by linarith⟩ |
| 532 | 488 | |
| 533 | -/-- A common, explicitly constructed holomorphic extension exists on a positive | |
| 534 | -tube over every strictly smaller real window and compact radial interval. | |
| 535 | - | |
| 536 | -The tube and all bound constants are chosen before the coefficient vector. | |
| 537 | -Every radial derivative uses this same tube, and all complex parameter jets | |
| 538 | -match the genuine real jets. -/ | |
| 539 | -theorem exists_common_holomorphic_extension (I J : Window) (hleft : I.left < J.left) | |
| 540 | - (hright : J.right < I.right) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) : | |
| 541 | - ∃ δ : ℝ, 0 < δ ∧ ∃ B : ℕ → ℝ, (∀ k, 0 ≤ B k) ∧ | |
| 542 | - ∀ (A : AxisSpace I ε) (Y : ℝ), |Y| ≤ R → ∀ k : ℕ, | |
| 543 | - AnalyticOnNhd ℂ (complexProfile I ε A k Y) (parameterTube J δ) ∧ | |
| 544 | - (∀ z ∈ parameterTube J δ, ‖complexProfile I ε A k Y z‖ ≤ B k * ‖A‖) ∧ | |
| 545 | - (∀ z ∈ parameterTube J δ, | |
| 546 | - iteratedDeriv k (fun y => complexProfile I ε A 0 y z) Y = | |
| 547 | - complexProfile I ε A k Y z) ∧ | |
| 548 | - (∀ (m : ℕ) (x : ℝ), x ∈ J.interval → | |
| 549 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 550 | - (mixedSeries I ε A k m (Y, x) : ℂ)) := by | |
| 551 | - obtain ⟨S, hS, hS20⟩ := exists_between (max_lt (by norm_num : (1 : ℝ) < 20) hR20) | |
| 552 | - have hS1 : 1 ≤ S := (le_max_left 1 R).trans hS.le | |
| 553 | - have hRS : R < S := (le_max_right 1 R).trans_lt hS | |
| 554 | - obtain ⟨s, hs, hs1⟩ := exists_between (show S / 20 < 1 by linarith) | |
| 555 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 556 | - obtain ⟨δ, hδ, htube⟩ := exists_parameterTube_subset I J hleft hright ha | |
| 557 | - refine ⟨δ, hδ, (fun k => 2 * jetConstant S s k), ?_, ?_⟩ | |
| 558 | - · intro k | |
| 559 | - exact mul_nonneg (by norm_num) (jetConstant_nonneg hS1 hs hs1 k) | |
| 560 | - · intro A Y hY k | |
| 561 | - have hYS : |Y| < S := hY.trans_lt hRS | |
| 562 | - refine ⟨(complexProfile_analytic I hε hS1 hs hs1 A k hYS.le).mono htube, ?_, ?_, ?_⟩ | |
| 563 | - · intro z hz | |
| 564 | - exact complexProfile_bound I hε hS1 hs hs1 A k hYS.le (htube hz).2.le | |
| 565 | - · intro z hz | |
| 566 | - simpa only [Nat.zero_add] using | |
| 567 | - complexProfile_iteratedDeriv_Y I hε hS1 hs hs1 A 0 k hYS (htube hz) | |
| 568 | - · intro m x hx | |
| 569 | - exact complexProfile_iteratedDeriv_ofReal I hε hS1 hs hs1 A k m hYS.le | |
| 570 | - ⟨hleft.trans_le hx.1, hx.2.trans_lt hright⟩ | |
| 571 | - | |
| 572 | 489 | end NavierStokes.AxisHolomorphic |
+0 −64 NavierStokes/AxisHolomorphicJoint.lean View file
| @@ -173,68 +173,4 @@ theorem complexProfile_joint_smooth (I : Window) {ε R s : ℝ} (hε : 0 < ε) | ||
| 173 | 173 | exact (hlocal.contDiffAt ((isOpen_Ioo.prod isOpen_ball).mem_nhds |
| 174 | 174 | ⟨hp.1, mem_ball_self hσ⟩)).contDiffWithinAt |
| 175 | 175 | |
| 176 | -/-- Every tube contained in the constructed strip inherits joint smoothness. -/ | |
| 177 | -theorem complexProfile_joint_smooth_tube (I J : Window) {ε R s δ : ℝ} | |
| 178 | - (hε : 0 < ε) (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) | |
| 179 | - (htube : parameterTube J δ ⊆ parameterStrip I (ε * (1 - s))) | |
| 180 | - (A : AxisSpace I ε) (k : ℕ) : | |
| 181 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => complexProfile I ε A k p.1 p.2) | |
| 182 | - (Ioo (-R) R ×ˢ parameterTube J δ) := | |
| 183 | - (complexProfile_joint_smooth I hε hR hs hs1 A k).mono | |
| 184 | - (Set.prod_mono Subset.rfl htube) | |
| 185 | - | |
| 186 | -/-- The jointly smooth extension is exactly the original real radial jet on | |
| 187 | -the real slice, rather than a separately selected continuation. -/ | |
| 188 | -theorem complexProfile_joint_real_agreement (I : Window) (ε : ℝ) | |
| 189 | - (A : AxisSpace I ε) (k : ℕ) (Y x : ℝ) : | |
| 190 | - complexProfile I ε A k Y (x : ℂ) = (mixedSeries I ε A k 0 (Y, x) : ℂ) := | |
| 191 | - complexProfile_ofReal I ε A k Y x | |
| 192 | - | |
| 193 | -theorem complexProfile_joint_zero_real_agreement (I : Window) (ε : ℝ) | |
| 194 | - (A : AxisSpace I ε) (Y x : ℝ) : | |
| 195 | - complexProfile I ε A 0 Y (x : ℂ) = (profile I ε A (Y, x) : ℂ) := | |
| 196 | - complexProfile_zero_ofReal I ε A Y x | |
| 197 | - | |
| 198 | -/-- A common positive tube and a genuine open radial neighborhood work for | |
| 199 | -every coefficient vector and every radial derivative order. The extension is | |
| 200 | -jointly real smooth, holomorphic in the complex parameter, uniformly bounded, | |
| 201 | -and agrees with all actual real parameter jets. -/ | |
| 202 | -theorem exists_common_joint_extension (I J : Window) (hleft : I.left < J.left) | |
| 203 | - (hright : J.right < I.right) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) : | |
| 204 | - ∃ δ : ℝ, 0 < δ ∧ ∃ S : ℝ, R < S ∧ S < 20 ∧ ∃ B : ℕ → ℝ, | |
| 205 | - (∀ k, 0 ≤ B k) ∧ ∀ (A : AxisSpace I ε) (k : ℕ), | |
| 206 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => complexProfile I ε A k p.1 p.2) | |
| 207 | - (Ioo (-S) S ×ˢ parameterTube J δ) ∧ | |
| 208 | - ∀ Y : ℝ, |Y| ≤ R → | |
| 209 | - AnalyticOnNhd ℂ (complexProfile I ε A k Y) (parameterTube J δ) ∧ | |
| 210 | - (∀ z ∈ parameterTube J δ, ‖complexProfile I ε A k Y z‖ ≤ B k * ‖A‖) ∧ | |
| 211 | - (∀ z ∈ parameterTube J δ, | |
| 212 | - iteratedDeriv k (fun y => complexProfile I ε A 0 y z) Y = | |
| 213 | - complexProfile I ε A k Y z) ∧ | |
| 214 | - (∀ (m : ℕ) (x : ℝ), x ∈ J.interval → | |
| 215 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 216 | - (mixedSeries I ε A k m (Y, x) : ℂ)) := by | |
| 217 | - obtain ⟨S, hS, hS20⟩ := exists_between (max_lt (by norm_num : (1 : ℝ) < 20) hR20) | |
| 218 | - have hS1 : 1 ≤ S := (le_max_left 1 R).trans hS.le | |
| 219 | - have hRS : R < S := (le_max_right 1 R).trans_lt hS | |
| 220 | - obtain ⟨s, hs, hs1⟩ := exists_between (show S / 20 < 1 by linarith) | |
| 221 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 222 | - obtain ⟨δ, hδ, htube⟩ := exists_parameterTube_subset I J hleft hright ha | |
| 223 | - refine ⟨δ, hδ, S, hRS, hS20, (fun k => 2 * jetConstant S s k), ?_, ?_⟩ | |
| 224 | - · intro k | |
| 225 | - exact mul_nonneg (by norm_num) (jetConstant_nonneg hS1 hs hs1 k) | |
| 226 | - · intro A k | |
| 227 | - refine ⟨complexProfile_joint_smooth_tube I J hε hS1 hs hs1 htube A k, ?_⟩ | |
| 228 | - intro Y hY | |
| 229 | - have hYS : |Y| < S := hY.trans_lt hRS | |
| 230 | - refine ⟨(complexProfile_analytic I hε hS1 hs hs1 A k hYS.le).mono htube, ?_, ?_, ?_⟩ | |
| 231 | - · intro z hz | |
| 232 | - exact complexProfile_bound I hε hS1 hs hs1 A k hYS.le (htube hz).2.le | |
| 233 | - · intro z hz | |
| 234 | - simpa only [Nat.zero_add] using | |
| 235 | - complexProfile_iteratedDeriv_Y I hε hS1 hs hs1 A 0 k hYS (htube hz) | |
| 236 | - · intro m x hx | |
| 237 | - exact complexProfile_iteratedDeriv_ofReal I hε hS1 hs hs1 A k m hYS.le | |
| 238 | - ⟨hleft.trans_le hx.1, hx.2.trans_lt hright⟩ | |
| 239 | - | |
| 240 | 176 | end NavierStokes.AxisHolomorphicJoint |
+0 −239 NavierStokes/AxisInverseFactors.lean View file
| @@ -14,28 +14,6 @@ private local instance (I : Window) (ε : ℝ) : NormedSpace ℝ (AxisSpace I ε | ||
| 14 | 14 | |
| 15 | 15 | def degreeMultiplier (r n : ℕ) : ℝ := (n : ℝ) * ((n : ℝ) + r - 1) |
| 16 | 16 | |
| 17 | -theorem degreeMultiplier_nonneg {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : | |
| 18 | - 0 ≤ degreeMultiplier r n := by | |
| 19 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 20 | - have hn : 0 ≤ (n : ℝ) := by positivity | |
| 21 | - unfold degreeMultiplier | |
| 22 | - exact mul_nonneg hn (by linarith) | |
| 23 | - | |
| 24 | -theorem degreeMultiplier_mono {r : ℕ} (hr : 1 ≤ r) : Monotone (degreeMultiplier r) := by | |
| 25 | - intro i n hin | |
| 26 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 27 | - have hi : 0 ≤ (i : ℝ) := by positivity | |
| 28 | - have hn : (i : ℝ) ≤ n := by exact_mod_cast hin | |
| 29 | - unfold degreeMultiplier | |
| 30 | - nlinarith | |
| 31 | - | |
| 32 | -theorem degreeMultiplier_pos {r n : ℕ} (hr : 1 ≤ r) (hn : 0 < n) : | |
| 33 | - 0 < degreeMultiplier r n := by | |
| 34 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 35 | - have hn' : (0 : ℝ) < n := by exact_mod_cast hn | |
| 36 | - unfold degreeMultiplier | |
| 37 | - exact mul_pos hn' (by linarith) | |
| 38 | - | |
| 39 | 17 | @[simp] theorem degreeMultiplier_zero (r : ℕ) : degreeMultiplier r 0 = 0 := by |
| 40 | 18 | simp [degreeMultiplier] |
| 41 | 19 | |
| @@ -44,221 +22,4 @@ theorem degreeMultiplier_pos {r n : ℕ} (hr : 1 ≤ r) (hn : 0 < n) : | ||
| 44 | 22 | simp only [degreeMultiplier, radialDivisor, Nat.cast_add, Nat.cast_one] |
| 45 | 23 | ring |
| 46 | 24 | |
| 47 | -/-- The harmless cutoff only makes the coefficient ratio bounded for | |
| 48 | -indices outside the convolution range. -/ | |
| 49 | -def ratio (r n i : ℕ) : ℝ := degreeMultiplier r (min i n) / degreeMultiplier r n | |
| 50 | - | |
| 51 | -theorem ratio_mem_Icc {r : ℕ} (hr : 1 ≤ r) (n i : ℕ) : ratio r n i ∈ Icc (0 : ℝ) 1 := by | |
| 52 | - refine ⟨div_nonneg (degreeMultiplier_nonneg hr _) (degreeMultiplier_nonneg hr _), ?_⟩ | |
| 53 | - by_cases hn : n = 0 | |
| 54 | - · simp [ratio, hn] | |
| 55 | - · exact (div_le_one (degreeMultiplier_pos hr (Nat.pos_of_ne_zero hn))).mpr | |
| 56 | - (degreeMultiplier_mono hr (min_le_right _ _)) | |
| 57 | - | |
| 58 | -theorem ratio_of_le (r n i : ℕ) (hi : i ≤ n) : | |
| 59 | - ratio r n i = degreeMultiplier r i / degreeMultiplier r n := by | |
| 60 | - simp only [ratio, min_eq_left hi] | |
| 61 | - | |
| 62 | -def insertFamily (I : Window) (ε : ℝ) (r : ℕ) (A B : AxisSpace I ε) | |
| 63 | - (n m : ℕ) (x : ℝ) : ℝ := | |
| 64 | - jetProduct (fun i k => ratio r n i * inputJet I ε A i k x) | |
| 65 | - (fun j l => inputJet I ε B j l x) n m | |
| 66 | - | |
| 67 | -theorem insertFamily_continuous (I : Window) (ε : ℝ) (r : ℕ) | |
| 68 | - (A B : AxisSpace I ε) (n m : ℕ) : | |
| 69 | - ContinuousOn (insertFamily I ε r A B n m) I.interval := by | |
| 70 | - change ContinuousOn (fun x => ∑ ij ∈ antidiagonal n, | |
| 71 | - leibnizSum (fun k => ratio r n ij.1 * inputJet I ε A ij.1 k x) | |
| 72 | - (fun l => inputJet I ε B ij.2 l x) m) I.interval | |
| 73 | - apply continuousOn_finsetSum | |
| 74 | - intro ij _ | |
| 75 | - apply continuousOn_leibnizSum I | |
| 76 | - · intro k | |
| 77 | - exact continuousOn_const.mul (continuous_jet I (weight ε) A.1 ij.1 k).continuousOn | |
| 78 | - · intro k | |
| 79 | - exact (continuous_jet I (weight ε) B.1 ij.2 k).continuousOn | |
| 80 | - | |
| 81 | -theorem insertFamily_deriv (I : Window) (ε : ℝ) (r : ℕ) | |
| 82 | - (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) (hx : x ∈ I.interval) : | |
| 83 | - HasDerivWithinAt (insertFamily I ε r A B n m) | |
| 84 | - (insertFamily I ε r A B n (m+1) x) I.interval x := by | |
| 85 | - exact HasDerivWithinAt.fun_sum (u := antidiagonal n) (fun ij _ => | |
| 86 | - hasDerivWithinAt_leibnizSum I _ _ | |
| 87 | - (fun k y hy => (hasDerivWithinAt_jet I (weight ε) A ij.1 k hy).const_mul (ratio r n ij.1)) | |
| 88 | - (fun k y hy => hasDerivWithinAt_jet I (weight ε) B ij.2 k hy) m hx) | |
| 89 | - | |
| 90 | -theorem insertFamily_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 91 | - {r : ℕ} (hr : 1 ≤ r) (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) : | |
| 92 | - |insertFamily I ε r A B n m x| ≤ (64 * ‖A‖ * ‖B‖) * weight ε n m := by | |
| 93 | - apply jetProduct_bound hε (norm_nonneg A) (norm_nonneg B) | |
| 94 | - · intro i k | |
| 95 | - rw [abs_mul, abs_of_nonneg (ratio_mem_Icc hr n i).1] | |
| 96 | - exact (mul_le_mul_of_nonneg_left (inputJet_bound I hε A i k x) | |
| 97 | - (ratio_mem_Icc hr n i).1).trans | |
| 98 | - (mul_le_of_le_one_left (mul_nonneg (norm_nonneg A) (weight_pos hε i k).le) | |
| 99 | - (ratio_mem_Icc hr n i).2) | |
| 100 | - · intro j k | |
| 101 | - exact inputJet_bound I hε B j k x | |
| 102 | - | |
| 103 | -/-- The first argument is an already inverted source. The second is | |
| 104 | -inserted before that inverse, with one algebra constant. -/ | |
| 105 | -def insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 106 | - (A B : AxisSpace I ε) : AxisSpace I ε := | |
| 107 | - ofJetFamily I (weight ε) (weight_pos hε) (insertFamily I ε r A B) | |
| 108 | - (insertFamily_continuous I ε r A B) (insertFamily_deriv I ε r A B) | |
| 109 | - (64 * ‖A‖ * ‖B‖) (by positivity) | |
| 110 | - (fun n m x _ => insertFamily_bound I hε hr A B n m x) | |
| 111 | - | |
| 112 | -theorem norm_insert_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 113 | - (A B : AxisSpace I ε) : ‖insert I hε r hr A B‖ ≤ 64 * ‖A‖ * ‖B‖ := | |
| 114 | - norm_ofJetFamily_le _ _ _ _ _ _ _ _ _ | |
| 115 | - | |
| 116 | -theorem jet_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 117 | - (A B : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 118 | - inputJet I ε (insert I hε r hr A B) n m x = insertFamily I ε r A B n m x := by | |
| 119 | - unfold insert inputJet | |
| 120 | - exact jet_ofJetFamily I (weight ε) (weight_pos hε) _ _ _ _ _ _ _ _ hx | |
| 121 | - | |
| 122 | -theorem coefficient_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 123 | - (A B : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 124 | - coefficient I (weight ε) (insert I hε r hr A B) n x = | |
| 125 | - ∑ ij ∈ antidiagonal n, ratio r n ij.1 * | |
| 126 | - coefficient I (weight ε) A ij.1 x * coefficient I (weight ε) B ij.2 x := by | |
| 127 | - simpa only [insertFamily, jetProduct, antidiagonal_zero, Finset.sum_singleton, | |
| 128 | - Nat.choose_zero_right, Nat.cast_one, one_mul, coefficient] using | |
| 129 | - jet_insert I hε r hr A B n 0 hx | |
| 130 | - | |
| 131 | -/-- This operator really inserts the factor inside the inverse. -/ | |
| 132 | -theorem insert_regularInverse (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 133 | - (F B : AxisSpace I ε) : | |
| 134 | - insert I hε r hr (regularInverse I hε r hr F) B = | |
| 135 | - regularInverse I hε r hr (product I hε F B) := by | |
| 136 | - apply coefficient_ext I (weight ε) (fun n m => (weight_pos hε n m).ne') | |
| 137 | - intro n x hx | |
| 138 | - rw [coefficient_insert I hε r hr _ _ n hx] | |
| 139 | - cases n with | |
| 140 | - | zero => | |
| 141 | - change _ = inputJet I ε (regularInverse I hε r hr (product I hε F B)) 0 0 x | |
| 142 | - rw [jet_regularInverse_zero I hε r hr _ _ hx] | |
| 143 | - simp [ratio] | |
| 144 | - | succ n => | |
| 145 | - change _ = inputJet I ε (regularInverse I hε r hr (product I hε F B)) (n+1) 0 x | |
| 146 | - rw [jet_regularInverse_succ I hε r hr _ _ _ hx] | |
| 147 | - change _ = coefficient I (weight ε) (product I hε F B) n x / radialDivisor r n | |
| 148 | - rw [coefficient_product I hε F B n hx, sum_antidiagonal_succ] | |
| 149 | - simp only [ratio, Nat.zero_min, degreeMultiplier_zero, zero_div, zero_mul, zero_add] | |
| 150 | - rw [Finset.sum_div] | |
| 151 | - apply Finset.sum_congr rfl | |
| 152 | - intro ij hij | |
| 153 | - have hi : ij.1+1 ≤ n+1 := Nat.succ_le_succ (Nat.le.intro (mem_antidiagonal.mp hij)) | |
| 154 | - rw [min_eq_left hi, degreeMultiplier_succ, degreeMultiplier_succ] | |
| 155 | - change (radialDivisor r ij.1 / radialDivisor r n) * | |
| 156 | - inputJet I ε (regularInverse I hε r hr F) (ij.1+1) 0 x * _ = _ | |
| 157 | - rw [jet_regularInverse_succ I hε r hr _ _ _ hx] | |
| 158 | - have hd := radialDivisor_pos hr ij.1 | |
| 159 | - field_simp [hd.ne'] | |
| 160 | - simp only [coefficient] | |
| 161 | - ring | |
| 162 | - | |
| 163 | -/-- Repeat insertion for any finite list of factors. -/ | |
| 164 | -def insertFactors (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 165 | - (A : AxisSpace I ε) : List (AxisSpace I ε) → AxisSpace I ε | |
| 166 | - | [] => A | |
| 167 | - | B :: Bs => insertFactors I hε r hr (insert I hε r hr A B) Bs | |
| 168 | - | |
| 169 | -theorem norm_insertFactors_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 170 | - (A : AxisSpace I ε) (Bs : List (AxisSpace I ε)) : | |
| 171 | - ‖insertFactors I hε r hr A Bs‖ ≤ 64 ^ Bs.length * ‖A‖ * (Bs.map norm).prod := by | |
| 172 | - induction Bs generalizing A with | |
| 173 | - | nil => simp [insertFactors] | |
| 174 | - | cons B Bs ih => | |
| 175 | - apply (ih (insert I hε r hr A B)).trans | |
| 176 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 177 | - apply List.prod_nonneg | |
| 178 | - intro a ha | |
| 179 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 180 | - exact norm_nonneg v | |
| 181 | - calc | |
| 182 | - _ ≤ 64 ^ Bs.length * (64 * ‖A‖ * ‖B‖) * (Bs.map norm).prod := | |
| 183 | - mul_le_mul_of_nonneg_right | |
| 184 | - (mul_le_mul_of_nonneg_left (norm_insert_le I hε r hr A B) (by positivity)) hp | |
| 185 | - _ = _ := by simp only [List.length_cons, List.map_cons, List.prod_cons, pow_succ]; ring | |
| 186 | - | |
| 187 | -/-- Recover the source coefficients by applying the radial differential | |
| 188 | -operator to a zero-constant inverse. These coefficients need not themselves | |
| 189 | -belong to the bounded axis space. -/ | |
| 190 | -def recoveredSource (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) | |
| 191 | - (n : ℕ) (x : ℝ) : ℝ := radialDivisor r n * coefficient I (weight ε) A (n+1) x | |
| 192 | - | |
| 193 | -theorem recoveredSource_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 194 | - (A B : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 195 | - recoveredSource I ε r (insert I hε r hr A B) n x = | |
| 196 | - ∑ ij ∈ antidiagonal n, recoveredSource I ε r A ij.1 x * | |
| 197 | - coefficient I (weight ε) B ij.2 x := by | |
| 198 | - unfold recoveredSource | |
| 199 | - rw [coefficient_insert I hε r hr A B _ hx, sum_antidiagonal_succ] | |
| 200 | - simp only [ratio, Nat.zero_min, degreeMultiplier_zero, zero_div, zero_mul, zero_add] | |
| 201 | - rw [Finset.mul_sum] | |
| 202 | - apply Finset.sum_congr rfl | |
| 203 | - intro ij hij | |
| 204 | - have hi : ij.1+1 ≤ n+1 := Nat.succ_le_succ (Nat.le.intro (mem_antidiagonal.mp hij)) | |
| 205 | - rw [min_eq_left hi, degreeMultiplier_succ, degreeMultiplier_succ] | |
| 206 | - field_simp [(radialDivisor_pos hr n).ne'] | |
| 207 | - | |
| 208 | -/-- Arbitrarily many undifferentiated factors cost exactly one additional | |
| 209 | -algebra constant apiece in the mixed derivative estimate. -/ | |
| 210 | -theorem norm_mixed_extra_factors (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 211 | - (F G : AxisSpace I ε) (Bs : List (AxisSpace I ε)) : | |
| 212 | - ‖insertFactors I hε r hr (inverseMixed I hε r hr F G) Bs‖ ≤ | |
| 213 | - 64 ^ Bs.length * (5120 / ε * ‖F‖ * ‖G‖) * (Bs.map norm).prod := by | |
| 214 | - apply (norm_insertFactors_le I hε r hr _ Bs).trans | |
| 215 | - have hb : ‖inverseMixed I hε r hr F G‖ ≤ 5120 / ε * ‖F‖ * ‖G‖ := by | |
| 216 | - have ht := norm_bilinearValue_le I hε (inverseMixedData I hε r hr) F G | |
| 217 | - change ‖inverseMixed I hε r hr F G‖ ≤ (64 * (80 / ε)) * ‖F‖ * ‖G‖ at ht | |
| 218 | - convert ht using 1 | |
| 219 | - ring | |
| 220 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 221 | - apply List.prod_nonneg | |
| 222 | - intro a ha | |
| 223 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 224 | - exact norm_nonneg v | |
| 225 | - exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hb (by positivity)) hp | |
| 226 | - | |
| 227 | -theorem coefficient_insert_zero (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 228 | - (A B : AxisSpace I ε) {x : ℝ} (hx : x ∈ I.interval) : | |
| 229 | - coefficient I (weight ε) (insert I hε r hr A B) 0 x = 0 := by | |
| 230 | - rw [coefficient_insert I hε r hr A B 0 hx] | |
| 231 | - simp [ratio] | |
| 232 | - | |
| 233 | -/-- The recovered mixed source is the actual coefficient convolution of | |
| 234 | -the parameter derivative of F with the logarithmic radial derivative of G. -/ | |
| 235 | -theorem recoveredSource_mixed (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 236 | - (F G : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 237 | - recoveredSource I ε r (inverseMixed I hε r hr F G) n x = | |
| 238 | - ∑ ij ∈ antidiagonal n, inputJet I ε F ij.1 1 x * | |
| 239 | - ((ij.2 : ℝ) * coefficient I (weight ε) G ij.2 x) := by | |
| 240 | - unfold recoveredSource | |
| 241 | - change radialDivisor r n * inputJet I ε (inverseMixed I hε r hr F G) (n+1) 0 x = _ | |
| 242 | - rw [jet_inverseMixed I hε r hr F G (n+1) 0 hx] | |
| 243 | - simp only [differentialFamily, antidiagonal_zero, Finset.sum_singleton, | |
| 244 | - Nat.choose_zero_right, Nat.cast_one, mul_one, Nat.add_zero] | |
| 245 | - rw [Finset.mul_sum] | |
| 246 | - apply Finset.sum_congr rfl | |
| 247 | - intro ij _ | |
| 248 | - simp only [coefficient] | |
| 249 | - field_simp [(radialDivisor_pos hr n).ne'] | |
| 250 | - | |
| 251 | -/-- Any established norm estimate, including omission of either derivative | |
| 252 | -or radial averaging, acquires the same one-constant-per-factor bound. -/ | |
| 253 | -theorem norm_extra_factors_of_bound (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 254 | - (A : AxisSpace I ε) (Bs : List (AxisSpace I ε)) {K : ℝ} (hK : ‖A‖ ≤ K) : | |
| 255 | - ‖insertFactors I hε r hr A Bs‖ ≤ 64 ^ Bs.length * K * (Bs.map norm).prod := by | |
| 256 | - apply (norm_insertFactors_le I hε r hr A Bs).trans | |
| 257 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 258 | - apply List.prod_nonneg | |
| 259 | - intro a ha | |
| 260 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 261 | - exact norm_nonneg v | |
| 262 | - exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hK (by positivity)) hp | |
| 263 | - | |
| 264 | 25 | end NavierStokes.AxisInverseFactors |
+0 −45 NavierStokes/AxisModelBounds.lean View file
| @@ -12,49 +12,4 @@ noncomputable section | ||
| 12 | 12 | |
| 13 | 13 | namespace NavierStokes.AxisModelBounds |
| 14 | 14 | |
| 15 | -/-- The comparison function `f₀` in the axis construction. -/ | |
| 16 | -def model (z : ℝ) : ℝ := AxisSeries.profile 1 z | |
| 17 | - | |
| 18 | -theorem model_eq_series (z : ℝ) : | |
| 19 | - model z = ∑' n : ℕ, | |
| 20 | - (-z / 2) ^ n / ((n.factorial : ℝ) * ((n + 1).factorial : ℝ)) := by | |
| 21 | - simpa only [model, neg_mul, one_mul] using AxisSeries.profile_eq_tsum 1 z | |
| 22 | - | |
| 23 | -/-- The cubic truncation is bounded below by its exact endpoint value. -/ | |
| 24 | -theorem cubicLower_ge_endpoint (t : ℝ) (ht : t ≤ 41 / 20) : | |
| 25 | - (305719 / 1152000 : ℝ) ≤ AxisProfile.cubicLower t := by | |
| 26 | - have hd : 0 ≤ 41 / 20 - t := sub_nonneg.mpr ht | |
| 27 | - have h2 : 0 ≤ (41 / 20 - t) ^ 2 := sq_nonneg _ | |
| 28 | - have h3 : 0 ≤ (41 / 20 - t) ^ 3 := pow_nonneg hd _ | |
| 29 | - have hidentity : AxisProfile.cubicLower t = | |
| 30 | - AxisProfile.cubicLower (41 / 20) + | |
| 31 | - (1 / 2 - (41 / 20) / 6 + (41 / 20) ^ 2 / 48) * (41 / 20 - t) + | |
| 32 | - (1 / 12 - (41 / 20) / 48) * (41 / 20 - t) ^ 2 + | |
| 33 | - (41 / 20 - t) ^ 3 / 144 := by | |
| 34 | - unfold AxisProfile.cubicLower | |
| 35 | - ring | |
| 36 | - norm_num [AxisProfile.cubicLower] at hidentity | |
| 37 | - unfold AxisProfile.cubicLower | |
| 38 | - nlinarith | |
| 39 | - | |
| 40 | -theorem bessel_one_lower (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : | |
| 41 | - (305719 / 1152000 : ℝ) ≤ AxisSeries.bessel 1 t := | |
| 42 | - (cubicLower_ge_endpoint t ht).trans (AxisSeries.cubic_lower_le_bessel t ht0 ht) | |
| 43 | - | |
| 44 | -/-- The full bounds hold uniformly for every `0 ≤ χ ≤ 1`. -/ | |
| 45 | -theorem profile_bounds (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | |
| 46 | - (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : | |
| 47 | - (305719 / 1152000 : ℝ) ≤ AxisSeries.profile χ Y ∧ | |
| 48 | - AxisSeries.profile χ Y ≤ 1 := by | |
| 49 | - have ht0 : 0 ≤ (χ / 2) * Y := mul_nonneg (div_nonneg hχ0 (by norm_num)) hY0 | |
| 50 | - have ht : (χ / 2) * Y ≤ 41 / 20 := by nlinarith | |
| 51 | - exact ⟨bessel_one_lower _ ht0 ht, | |
| 52 | - AxisSeries.bessel_one_le_one _ ht0 (by linarith)⟩ | |
| 53 | - | |
| 54 | -/-- The exact rational and decimal bounds printed for `f₀`. -/ | |
| 55 | -theorem model_bounds (z : ℝ) (hz0 : 0 ≤ z) (hz1 : z ≤ 41 / 10) : | |
| 56 | - (53 / 200 : ℝ) < (305719 / 1152000 : ℝ) ∧ | |
| 57 | - (305719 / 1152000 : ℝ) ≤ model z ∧ model z ≤ 1 := by | |
| 58 | - exact ⟨by norm_num, profile_bounds 1 z (by norm_num) (by norm_num) hz0 hz1⟩ | |
| 59 | - | |
| 60 | 15 | end NavierStokes.AxisModelBounds |
+0 −45 NavierStokes/AxisOperators.lean View file
| @@ -87,13 +87,6 @@ theorem inputJet_bound (I : Window) {ε : ℝ} (hε : 0 < ε) (A : AxisSpace I | ||
| 87 | 87 | def productFamily (I : Window) (ε : ℝ) (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) : ℝ := |
| 88 | 88 | jetProduct (fun i k => inputJet I ε A i k x) (fun j l => inputJet I ε B j l x) n m |
| 89 | 89 | |
| 90 | -theorem productFamily_eq (I : Window) (ε : ℝ) (A B : AxisSpace I ε) | |
| 91 | - (n m : ℕ) (x : ℝ) : | |
| 92 | - productFamily I ε A B n m x = | |
| 93 | - ∑ ij ∈ antidiagonal n, | |
| 94 | - leibnizSum (fun k => inputJet I ε A ij.1 k x) | |
| 95 | - (fun l => inputJet I ε B ij.2 l x) m := rfl | |
| 96 | - | |
| 97 | 90 | theorem productFamily_continuous (I : Window) (ε : ℝ) (A B : AxisSpace I ε) (n m : ℕ) : |
| 98 | 91 | ContinuousOn (productFamily I ε A B n m) I.interval := by |
| 99 | 92 | change ContinuousOn (fun x => ∑ ij ∈ antidiagonal n, |
| @@ -283,10 +276,6 @@ theorem jet_bilinearLift (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 283 | 276 | inputJet I ε (bilinearLift I hε F A B) n m x = F.value A B n m x := |
| 284 | 277 | jet_bilinearValue I hε F A B n m hx |
| 285 | 278 | |
| 286 | -theorem norm_bilinearLift_le (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 287 | - (F : BoundedBilinearJetFamily I ε) : ‖bilinearLift I hε F‖ ≤ F.boundConstant := | |
| 288 | - LinearMap.mkContinuous₂_norm_le _ F.bound_nonneg _ | |
| 289 | - | |
| 290 | 279 | def productData (I : Window) {ε : ℝ} (hε : 0 < ε) : BoundedBilinearJetFamily I ε where |
| 291 | 280 | value := productFamily I ε |
| 292 | 281 | boundConstant := 64 |
| @@ -327,9 +316,6 @@ def product (I : Window) {ε : ℝ} (hε : 0 < ε) : | ||
| 327 | 316 | AxisSpace I ε →L[ℝ] AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| 328 | 317 | bilinearLift I hε (productData I hε) |
| 329 | 318 | |
| 330 | -theorem norm_product_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖product I hε‖ ≤ 64 := | |
| 331 | - norm_bilinearLift_le I hε (productData I hε) | |
| 332 | - | |
| 333 | 319 | theorem jet_product (I : Window) {ε : ℝ} (hε : 0 < ε) (A B : AxisSpace I ε) |
| 334 | 320 | (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 335 | 321 | inputJet I ε (product I hε A B) n m x = |
| @@ -479,18 +465,6 @@ def mulY (I : Window) {ε : ℝ} (hε : 0 < ε) : AxisSpace I ε →L[ℝ] AxisS | ||
| 479 | 465 | theorem norm_average_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖average I hε‖ ≤ 1 := |
| 480 | 466 | norm_linearLift_le I hε (averageData I hε) |
| 481 | 467 | |
| 482 | -theorem norm_primitive_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖primitive I hε‖ ≤ 80 := | |
| 483 | - norm_linearLift_le I hε (primitiveData I hε) | |
| 484 | - | |
| 485 | -theorem norm_regularInverse_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 486 | - ‖regularInverse I hε r hr‖ ≤ 80 := norm_linearLift_le I hε (inverseData I hε r hr) | |
| 487 | - | |
| 488 | -theorem norm_parameterPrimitive_le (I : Window) {ε : ℝ} (hε : 0 < ε) : | |
| 489 | - ‖parameterPrimitive I hε‖ ≤ 80 / ε := norm_linearLift_le I hε (parameterPrimitiveData I hε) | |
| 490 | - | |
| 491 | -theorem norm_mulY_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖mulY I hε‖ ≤ 80 := | |
| 492 | - norm_linearLift_le I hε (multiplyYData I hε) | |
| 493 | - | |
| 494 | 468 | theorem jet_regularInverse_zero (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) |
| 495 | 469 | (A : AxisSpace I ε) (m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 496 | 470 | inputJet I ε (regularInverse I hε r hr A) 0 m x = 0 := by |
| @@ -716,25 +690,6 @@ def inverseDotProduct (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 | ||
| 716 | 690 | AxisSpace I ε →L[ℝ] AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| 717 | 691 | bilinearLift I hε (inverseDotProductData I hε r hr) |
| 718 | 692 | |
| 719 | -theorem norm_inverseMixed_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 720 | - ‖inverseMixed I hε r hr‖ ≤ 5120 / ε := by | |
| 721 | - have h := norm_bilinearLift_le I hε (inverseMixedData I hε r hr) | |
| 722 | - change ‖inverseMixed I hε r hr‖ ≤ 64 * (80 / ε) at h | |
| 723 | - convert! h using 1 ; ring | |
| 724 | - | |
| 725 | -theorem norm_inverseParamProduct_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 726 | - ‖inverseParamProduct I hε r hr‖ ≤ 5120 / ε := by | |
| 727 | - have h := norm_bilinearLift_le I hε (inverseParamProductData I hε r hr) | |
| 728 | - change ‖inverseParamProduct I hε r hr‖ ≤ 64 * (80 / ε) at h | |
| 729 | - convert! h using 1 ; ring | |
| 730 | - | |
| 731 | -theorem norm_inverseDotProduct_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 732 | - ‖inverseDotProduct I hε r hr‖ ≤ 5120 := by | |
| 733 | - have h := norm_bilinearLift_le I hε (inverseDotProductData I hε r hr) | |
| 734 | - change ‖inverseDotProduct I hε r hr‖ ≤ 64 * 80 at h | |
| 735 | - norm_num at h ⊢ | |
| 736 | - exact h | |
| 737 | - | |
| 738 | 693 | theorem jet_inverseMixed (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) |
| 739 | 694 | (A B : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 740 | 695 | inputJet I ε (inverseMixed I hε r hr A B) n m x = |
+0 −73 NavierStokes/AxisPreservation.lean View file
| @@ -17,49 +17,6 @@ noncomputable section | ||
| 17 | 17 | open Set Filter Function ProblemStatement PhysicalWaveSum SolenoidalDiagonal |
| 18 | 18 | open scoped Topology BigOperators |
| 19 | 19 | |
| 20 | -theorem wave_sum_zero_near_axis {H : ℕ} {f : WaveFamily H} | |
| 21 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 22 | - (hf : RegularFamily f a b h r0 Z gap) (ha : 0 < a) | |
| 23 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 24 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 25 | - f.sum a h r0 =ᶠ[𝓝 w] fun _ => 0 := by | |
| 26 | - classical | |
| 27 | - obtain ⟨s, _, hsum⟩ := hf.sum_locally_finite hh hh1 hw | |
| 28 | - have hz (I : WaveIndex H) : f.term a h r0 I =ᶠ[𝓝 w] fun _ => 0 := by | |
| 29 | - apply globalWave_eventually_zero_off_annulus (b := b) (f.carrier I.1) | |
| 30 | - (f.amplitude I) I.2.val (fun y hy => (hf.geometry_support I y hy).1) | |
| 31 | - intro hm | |
| 32 | - have hn := PhysicalGraphBounds.annulus_axisFree ha hm | |
| 33 | - apply hn | |
| 34 | - simp only [PhysicalGraphBounds.scaledRadial, _root_.smul_apply, | |
| 35 | - haxis, smul_zero] | |
| 36 | - have hfinite : ∀ᶠ y in 𝓝 w, ∀ I ∈ s, f.term a h r0 I y = 0 := | |
| 37 | - (eventually_all_finset s).2 (fun I _ => hz I) | |
| 38 | - filter_upwards [hsum, hfinite] with y hy hz | |
| 39 | - rw [hy] | |
| 40 | - exact Finset.sum_eq_zero hz | |
| 41 | - | |
| 42 | -theorem vector_sum_zero_near_axis {H : ℕ} {f : Fin 3 → WaveFamily H} | |
| 43 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 44 | - (hf : ∀ i, RegularFamily (f i) a b h r0 Z gap) (ha : 0 < a) | |
| 45 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 46 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 47 | - vectorSum f a h r0 =ᶠ[𝓝 w] fun _ => 0 := by | |
| 48 | - have hz : ∀ᶠ y in 𝓝 w, ∀ i : Fin 3, (f i).sum a h r0 y = 0 := | |
| 49 | - (Filter.eventually_all).2 (fun i => wave_sum_zero_near_axis (hf i) ha hh hh1 hw haxis) | |
| 50 | - filter_upwards [hz] with y hy | |
| 51 | - simp only [vectorSum, hy, map_zero, Finset.sum_const_zero] | |
| 52 | - | |
| 53 | -theorem wave_curl_zero_on_axis {H : ℕ} {f : Fin 3 → WaveFamily H} | |
| 54 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 55 | - (hf : ∀ i, RegularFamily (f i) a b h r0 Z gap) (ha : 0 < a) | |
| 56 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 57 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 58 | - SpatialCurl.spatialCurl (vectorSum f a h r0) w = 0 := by | |
| 59 | - have he := spatialCurl_eq_of_eventuallyEq | |
| 60 | - (vector_sum_zero_near_axis hf ha hh hh1 hw haxis) | |
| 61 | - simpa [SpatialCurl.spatialCurl, SpatialCurl.curl] using he | |
| 62 | - | |
| 63 | 20 | /-- Only finitely many zero germs are intersected at each positive-scale |
| 64 | 21 | point. There is no common support radius assumed for every stage. -/ |
| 65 | 22 | theorem potentialSum_eq_first_near {scales : ℕ → ℝ} |
| @@ -147,36 +104,6 @@ theorem physicalQ_origin_tendsto {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : | ||
| 147 | 104 | filter_upwards [self_mem_nhdsWithin (a := (1 : ℝ)) (s := Iio 1)] with t ht |
| 148 | 105 | exact (physicalQ_origin hh hh1 ht).symm |
| 149 | 106 | |
| 150 | -/-- The zeroth potential is kept separate from the annular wave increments. | |
| 151 | -Each increment may have its own finite harmonic band. -/ | |
| 152 | -noncomputable def waveSeries (base : VelocityField) (H : ℕ → ℕ) | |
| 153 | - (f : (j : ℕ) → Fin 3 → WaveFamily (H j)) (a h r0 : ℝ) : ℕ → VelocityField | |
| 154 | - | 0 => base | |
| 155 | - | j + 1 => vectorSum (f j) a h r0 | |
| 156 | - | |
| 157 | -theorem physical_wave_diagonal_origin_blowup | |
| 158 | - {base : VelocityField} {H : ℕ → ℕ} {f : (j : ℕ) → Fin 3 → WaveFamily (H j)} | |
| 159 | - {a b h r0 : ℝ} {Z : ℕ → ℝ} {gap : ℕ → ℕ} | |
| 160 | - (hf : ∀ j i, RegularFamily (f j i) a b h r0 (Z j) (gap j)) | |
| 161 | - (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 162 | - {scales : ℕ → ℝ} (hscales : Tendsto scales atTop atTop) | |
| 163 | - (hbase : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl base (t, 0)‖) | |
| 164 | - (𝓝[<] 1) atTop) : | |
| 165 | - Tendsto (fun t : ℝ => | |
| 166 | - ‖velocitySum scales (physicalQ h) (waveSeries base H f a h r0) (t, 0)‖) | |
| 167 | - (𝓝[<] 1) atTop := by | |
| 168 | - have hz : ∀ t < 1, ∀ j : ℕ, j ≠ 0 → | |
| 169 | - waveSeries base H f a h r0 j =ᶠ[𝓝 (t, 0)] fun _ => 0 := by | |
| 170 | - intro t ht j hj | |
| 171 | - cases j with | |
| 172 | - | zero => exact (hj rfl).elim | |
| 173 | - | succ j => | |
| 174 | - exact vector_sum_zero_near_axis (hf j) ha hh hh1 ht | |
| 175 | - (by simp only [PhysicalGraphBounds.radialProjection_apply]; rfl) | |
| 176 | - exact origin_blowup hscales | |
| 177 | - (fun t ht => (physicalQ_smoothAt hh hh1 ht).continuousAt) | |
| 178 | - (fun t ht => physicalQ_pos hh hh1 ht) hz (physicalQ_origin_tendsto hh hh1) hbase | |
| 179 | - | |
| 180 | 107 | end |
| 181 | 108 | |
| 182 | 109 | end NavierStokes.AxisPreservation |
+0 −93 NavierStokes/AxisProfile.lean View file
| @@ -20,11 +20,6 @@ namespace NavierStokes.AxisProfile | ||
| 20 | 20 | |
| 21 | 21 | noncomputable section |
| 22 | 22 | |
| 23 | -/-- The coefficient of `Y^n` in `(Y ∂YY + m ∂Y) a`, at the formal | |
| 24 | -coefficient level. -/ | |
| 25 | -def radialOperatorCoeff (m : ℕ) (a : ℕ → ℝ) (n : ℕ) : ℝ := | |
| 26 | - ((n : ℝ) + 1) * ((n : ℝ) + m) * a (n + 1) | |
| 27 | - | |
| 28 | 23 | /-- The regular zero-datum formal inverse used in the scaled equations. -/ |
| 29 | 24 | def radialInverseCoeff (m : ℕ) (f : ℕ → ℝ) : ℕ → ℝ |
| 30 | 25 | | 0 => 0 |
| @@ -33,16 +28,6 @@ def radialInverseCoeff (m : ℕ) (f : ℕ → ℝ) : ℕ → ℝ | ||
| 33 | 28 | @[simp] theorem radialInverseCoeff_zero (m : ℕ) (f : ℕ → ℝ) : |
| 34 | 29 | radialInverseCoeff m f 0 = 0 := rfl |
| 35 | 30 | |
| 36 | -/-- For positive `m`, the stated shift really inverts the formal radial | |
| 37 | -operator. No assertion about convergence is implicit in this theorem. -/ | |
| 38 | -theorem radialOperator_inverse (m : ℕ) (hm : 0 < m) (f : ℕ → ℝ) (n : ℕ) : | |
| 39 | - radialOperatorCoeff m (radialInverseCoeff m f) n = f n := by | |
| 40 | - have hm' : (0 : ℝ) < m := Nat.cast_pos.mpr hm | |
| 41 | - have hden : ((n : ℝ) + 1) * ((n : ℝ) + m) ≠ 0 := by positivity | |
| 42 | - unfold radialOperatorCoeff | |
| 43 | - rw [radialInverseCoeff] | |
| 44 | - exact mul_div_cancel₀ (f n) hden | |
| 45 | - | |
| 46 | 31 | /-- The leading angular series coefficient from Proposition 5.1: |
| 47 | 32 | `(-χ/2)^n / (n! (n+1)!)`. -/ |
| 48 | 33 | def profileCoeff (χ : ℝ) (n : ℕ) : ℝ := |
| @@ -51,35 +36,6 @@ def profileCoeff (χ : ℝ) (n : ℕ) : ℝ := | ||
| 51 | 36 | @[simp] theorem profileCoeff_zero (χ : ℝ) : profileCoeff χ 0 = 1 := by |
| 52 | 37 | norm_num [profileCoeff] |
| 53 | 38 | |
| 54 | -/-- Exact recurrence for the displayed regular series. -/ | |
| 55 | -theorem profileCoeff_recurrence (χ : ℝ) (n : ℕ) : | |
| 56 | - 2 * ((n : ℝ) + 1) * ((n : ℝ) + 2) * profileCoeff χ (n + 1) = | |
| 57 | - -χ * profileCoeff χ n := by | |
| 58 | - have hf : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) | |
| 59 | - have hn1 : (n : ℝ) + 1 ≠ 0 := by positivity | |
| 60 | - have hn2 : (n : ℝ) + 1 + 1 ≠ 0 := by positivity | |
| 61 | - simp only [profileCoeff, Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, | |
| 62 | - Nat.cast_one, pow_succ] | |
| 63 | - field_simp; ring | |
| 64 | - | |
| 65 | -/-- The formal series solves the leading angular equation coefficient by | |
| 66 | -coefficient. This does not identify an analytic solution. -/ | |
| 67 | -theorem profileCoeff_scaled_equation (χ : ℝ) (n : ℕ) : | |
| 68 | - 2 * radialOperatorCoeff 2 (profileCoeff χ) n = -χ * profileCoeff χ n := by | |
| 69 | - simpa only [radialOperatorCoeff, Nat.cast_ofNat, mul_assoc] using | |
| 70 | - profileCoeff_recurrence χ n | |
| 71 | - | |
| 72 | -/-- The coefficient transformation for the formal combination `f + Yf'` | |
| 73 | -is exactly the factorial-square series used for the sign test. -/ | |
| 74 | -theorem weighted_profileCoeff (χ : ℝ) (n : ℕ) : | |
| 75 | - ((n : ℝ) + 1) * profileCoeff χ n = | |
| 76 | - (-χ / 2) ^ n / (n.factorial : ℝ) ^ 2 := by | |
| 77 | - have hf : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) | |
| 78 | - have hn : (n : ℝ) + 1 ≠ 0 := by positivity | |
| 79 | - simp only [profileCoeff, Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, | |
| 80 | - Nat.cast_one] | |
| 81 | - field_simp | |
| 82 | - | |
| 83 | 39 | /-- The cubic lower truncation in the manuscript, with `t = Yχ/2`. -/ |
| 84 | 40 | def cubicLower (t : ℝ) : ℝ := 1 - t / 2 + t ^ 2 / 12 - t ^ 3 / 144 |
| 85 | 41 | |
| @@ -120,58 +76,9 @@ theorem quarticUpper_lt_neg_eighteen_hundredths | ||
| 120 | 76 | unfold quarticUpper |
| 121 | 77 | nlinarith |
| 122 | 78 | |
| 123 | -/-- The first four actual displayed series terms, for a concrete link | |
| 124 | -between the coefficient calculation and the lower polynomial. -/ | |
| 125 | -theorem first_four_terms_eq_cubic (χ Y : ℝ) : | |
| 126 | - profileCoeff χ 0 + profileCoeff χ 1 * Y + | |
| 127 | - profileCoeff χ 2 * Y ^ 2 + profileCoeff χ 3 * Y ^ 3 = | |
| 128 | - cubicLower (Y * χ / 2) := by | |
| 129 | - norm_num [profileCoeff, cubicLower, Nat.factorial_succ] | |
| 130 | - ring | |
| 131 | - | |
| 132 | -/-- The first five terms of the formal `f + Yf'` series give exactly the | |
| 133 | -quartic sign-test polynomial. -/ | |
| 134 | -theorem first_five_weighted_terms_eq_quartic (χ Y : ℝ) : | |
| 135 | - profileCoeff χ 0 + 2 * profileCoeff χ 1 * Y + | |
| 136 | - 3 * profileCoeff χ 2 * Y ^ 2 + 4 * profileCoeff χ 3 * Y ^ 3 + | |
| 137 | - 5 * profileCoeff χ 4 * Y ^ 4 = quarticUpper (Y * χ / 2) := by | |
| 138 | - norm_num [profileCoeff, quarticUpper, Nat.factorial_succ] | |
| 139 | - ring | |
| 140 | - | |
| 141 | 79 | /-- The leading axial profile displayed in the scaled construction. -/ |
| 142 | 80 | def leadingAxial (Z L Y : ℝ) : ℝ := -Y * Z / (2 * L) |
| 143 | 81 | |
| 144 | -theorem leadingAxial_zero (Z L : ℝ) : leadingAxial Z L 0 = 0 := by | |
| 145 | - simp [leadingAxial] | |
| 146 | - | |
| 147 | -theorem hasDerivAt_leadingAxial (Z L Y : ℝ) : | |
| 148 | - HasDerivAt (leadingAxial Z L) (-Z / (2 * L)) Y := by | |
| 149 | - have hfun : leadingAxial Z L = fun x : ℝ => (-Z / (2 * L)) * x := by | |
| 150 | - funext x | |
| 151 | - unfold leadingAxial | |
| 152 | - ring | |
| 153 | - rw [hfun] | |
| 154 | - simpa only [id_eq, mul_one] using (hasDerivAt_id Y).const_mul (-Z / (2 * L)) | |
| 155 | - | |
| 156 | -/-- The derivative of the linear leading axial solution is constant. -/ | |
| 157 | -theorem hasDerivAt_leadingAxial_derivative (Z L Y : ℝ) : | |
| 158 | - HasDerivAt (fun _ : ℝ => -Z / (2 * L)) 0 Y := | |
| 159 | - hasDerivAt_const Y _ | |
| 160 | - | |
| 161 | -/-- The derivative as a function, permitting a second differentiation. -/ | |
| 162 | -theorem deriv_leadingAxial (Z L : ℝ) : | |
| 163 | - deriv (leadingAxial Z L) = fun _ : ℝ => -Z / (2 * L) := by | |
| 164 | - funext Y | |
| 165 | - exact (hasDerivAt_leadingAxial Z L Y).deriv | |
| 166 | - | |
| 167 | -/-- The linear leading axial profile satisfies the actual scaled ODE. -/ | |
| 168 | -theorem leadingAxial_scaled_equation (Z L Y : ℝ) (hL : L ≠ 0) : | |
| 169 | - 2 * (Y * deriv (deriv (leadingAxial Z L)) Y + deriv (leadingAxial Z L) Y) = | |
| 170 | - -Z / L := by | |
| 171 | - rw [deriv_leadingAxial] | |
| 172 | - simp only [deriv_const, mul_zero, zero_add] | |
| 173 | - field_simp | |
| 174 | - | |
| 175 | 82 | end |
| 176 | 83 | |
| 177 | 84 | end NavierStokes.AxisProfile |
+0 −7 NavierStokes/AxisReference.lean View file
| @@ -197,13 +197,6 @@ on `|Y|≤5`, uniformly over the parameter interval. -/ | ||
| 197 | 197 | def stabilityScale (ε K : ℝ) : ℝ := |
| 198 | 198 | 1 + 500 * (AxisEvaluation.jetBound ε 5 0 0 + AxisEvaluation.jetBound ε 5 1 0) * K |
| 199 | 199 | |
| 200 | -theorem stabilityScale_pos {ε K : ℝ} (hε : 0 < ε) (hK : 0 ≤ K) : | |
| 201 | - 0 < stabilityScale ε K := by | |
| 202 | - have hC₀ := AxisEvaluation.jetBound_nonneg hε (by norm_num : (1 : ℝ) ≤ 5) 0 0 | |
| 203 | - have hC₁ := AxisEvaluation.jetBound_nonneg hε (by norm_num : (1 : ℝ) ≤ 5) 1 0 | |
| 204 | - unfold stabilityScale | |
| 205 | - positivity | |
| 206 | - | |
| 207 | 200 | theorem value_error_le (I : Window) {ε K Λ : ℝ} (hε : 0 < ε) (hK : 0 ≤ K) |
| 208 | 201 | (hΛ : stabilityScale ε K ≤ Λ) {Φ u Φ₀ u₀ : ℝ × ℝ → ℝ} |
| 209 | 202 | (herr : UniformMixedError I ε (K / (2 * Λ)) Φ u Φ₀ u₀) |
+0 −111 NavierStokes/AxisResolvent.lean View file
| @@ -156,18 +156,6 @@ theorem one_sub_mul_tsum_pow {Q : R} (hs : Summable (fun k : ℕ => Q ^ k)) : | ||
| 156 | 156 | funext k |
| 157 | 157 | rw [← mul_neg_geom_sum, Finset.mul_sum] |
| 158 | 158 | |
| 159 | -/-- The same convergent series is also a right inverse in a possibly | |
| 160 | -noncommutative ring. -/ | |
| 161 | -theorem tsum_pow_mul_one_sub {Q : R} (hs : Summable (fun k : ℕ => Q ^ k)) : | |
| 162 | - (∑' k : ℕ, Q ^ k) * (1 - Q) = 1 := by | |
| 163 | - have h := hs.hasSum.mul_right (1 - Q) | |
| 164 | - refine tendsto_nhds_unique h.tendsto_sum_nat ?_ | |
| 165 | - have hz : Tendsto (fun k : ℕ => 1 - Q ^ k) atTop (𝓝 (1 : R)) := by | |
| 166 | - simpa using tendsto_const_nhds.sub hs.tendsto_atTop_zero | |
| 167 | - convert! ← hz using 1 | |
| 168 | - funext k | |
| 169 | - rw [← geom_sum_mul_neg, Finset.sum_mul] | |
| 170 | - | |
| 171 | 159 | theorem summable_norm_neg_pow_of_factorial_bound (Q : R) {K : ℝ} (hK : 0 ≤ K) |
| 172 | 160 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : |
| 173 | 161 | Summable (fun k : ℕ => ‖(-Q) ^ k‖) := by |
| @@ -182,34 +170,12 @@ theorem summable_neg_pow_of_factorial_bound (Q : R) {K : ℝ} (hK : 0 ≤ K) | ||
| 182 | 170 | Summable (fun k : ℕ => (-Q) ^ k) := |
| 183 | 171 | (summable_norm_neg_pow_of_factorial_bound Q hK hQ).of_norm |
| 184 | 172 | |
| 185 | -theorem hasSum_alternatingResolvent (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 186 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 187 | - HasSum (fun k : ℕ => (-Q) ^ k) (alternatingResolvent Q) := | |
| 188 | - (summable_neg_pow_of_factorial_bound Q hK hQ).hasSum | |
| 189 | - | |
| 190 | 173 | theorem one_add_mul_alternatingResolvent (Q : R) {K : ℝ} (hK : 0 ≤ K) |
| 191 | 174 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : |
| 192 | 175 | (1 + Q) * alternatingResolvent Q = 1 := by |
| 193 | 176 | simpa only [alternatingResolvent, sub_neg_eq_add] using |
| 194 | 177 | one_sub_mul_tsum_pow (summable_neg_pow_of_factorial_bound Q hK hQ) |
| 195 | 178 | |
| 196 | -theorem alternatingResolvent_mul_one_add (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 197 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 198 | - alternatingResolvent Q * (1 + Q) = 1 := by | |
| 199 | - simpa only [alternatingResolvent, sub_neg_eq_add] using | |
| 200 | - tsum_pow_mul_one_sub (summable_neg_pow_of_factorial_bound Q hK hQ) | |
| 201 | - | |
| 202 | -omit [CompleteSpace R] in | |
| 203 | -theorem norm_alternatingResolvent_le (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 204 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 205 | - ‖alternatingResolvent Q‖ ≤ ∑' k : ℕ, factorialMajorant K k := by | |
| 206 | - apply (norm_tsum_le_tsum_norm | |
| 207 | - (summable_norm_neg_pow_of_factorial_bound Q hK hQ)).trans | |
| 208 | - apply Summable.tsum_le_tsum | |
| 209 | - (fun k => by simpa only [norm_neg_pow_eq] using hQ k) | |
| 210 | - (summable_norm_neg_pow_of_factorial_bound Q hK hQ) | |
| 211 | - (summable_factorialMajorant hK) | |
| 212 | - | |
| 213 | 179 | end BanachRing |
| 214 | 180 | |
| 215 | 181 | section BanachOperators |
| @@ -258,41 +224,12 @@ theorem one_add_apply_alternatingResolvent (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 | ||
| 258 | 224 | (one_add_mul_alternatingResolvent Q hK hQ) |
| 259 | 225 | simpa only [_root_.mul_apply_eq_comp, _root_.one_apply_eq_self] using h |
| 260 | 226 | |
| 261 | -theorem alternatingResolvent_apply_one_add (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 262 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) (x : E) : | |
| 263 | - alternatingResolvent Q ((1 + Q) x) = x := by | |
| 264 | - have h := congrArg (fun T : E →L[ℝ] E => T x) | |
| 265 | - (alternatingResolvent_mul_one_add Q hK hQ) | |
| 266 | - simpa only [_root_.mul_apply_eq_comp, _root_.one_apply_eq_self] using h | |
| 267 | - | |
| 268 | 227 | theorem alternatingResolvent_equation (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) |
| 269 | 228 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) (x : E) : |
| 270 | 229 | alternatingResolvent Q x + Q (alternatingResolvent Q x) = x := by |
| 271 | 230 | simpa only [_root_.add_apply, _root_.one_apply_eq_self] using |
| 272 | 231 | one_add_apply_alternatingResolvent Q hK hQ x |
| 273 | 232 | |
| 274 | -/-- The inverse gives the unique solution of the integrated linear equation. -/ | |
| 275 | -theorem alternatingResolvent_unique (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 276 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) | |
| 277 | - {x b : E} (hx : x + Q x = b) : x = alternatingResolvent Q b := by | |
| 278 | - calc | |
| 279 | - x = alternatingResolvent Q ((1 + Q) x) := | |
| 280 | - (alternatingResolvent_apply_one_add Q hK hQ x).symm | |
| 281 | - _ = alternatingResolvent Q b := by | |
| 282 | - exact congrArg (fun y => alternatingResolvent Q y) | |
| 283 | - (by simpa only [_root_.add_apply, _root_.one_apply_eq_self] using hx) | |
| 284 | - | |
| 285 | -/-- Both continuous directions are constructed explicitly from the series. -/ | |
| 286 | -def oneAddEquiv (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 287 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : E ≃L[ℝ] E where | |
| 288 | - toLinearEquiv := | |
| 289 | - { (1 + Q).toLinearMap with | |
| 290 | - invFun := fun x => alternatingResolvent Q x | |
| 291 | - left_inv := alternatingResolvent_apply_one_add Q hK hQ | |
| 292 | - right_inv := one_add_apply_alternatingResolvent Q hK hQ } | |
| 293 | - continuous_toFun := (1 + Q).continuous | |
| 294 | - continuous_invFun := (alternatingResolvent Q).continuous | |
| 295 | - | |
| 296 | 233 | end BanachOperators |
| 297 | 234 | |
| 298 | 235 | section AxisOperators |
| @@ -388,13 +325,6 @@ theorem axisLinearOperator_pow_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 388 | 325 | simpa only [radialDivisor, Nat.cast_ofNat] using |
| 389 | 326 | axisLinearOperator_bound_on_order I hε χ Q hQ k A hA |
| 390 | 327 | |
| 391 | -theorem axisLinearOperator_resolvent_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 392 | - (χ : AxisSpace I ε) (Q : AxisSpace I ε →L[ℝ] AxisSpace I ε) | |
| 393 | - (hQ : IsAxisLinearOperator I ε χ Q) (A : AxisSpace I ε) : | |
| 394 | - alternatingResolvent Q A + Q (alternatingResolvent Q A) = A := | |
| 395 | - alternatingResolvent_equation Q (by positivity) | |
| 396 | - (axisLinearOperator_pow_bound I hε χ Q hQ) A | |
| 397 | - | |
| 398 | 328 | /-- The exact bounded operator in the natural angular equation. -/ |
| 399 | 329 | def naturalOperator (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : |
| 400 | 330 | AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| @@ -431,52 +361,11 @@ theorem naturalOperator_pow_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 431 | 361 | def naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : |
| 432 | 362 | AxisSpace I ε →L[ℝ] AxisSpace I ε := alternatingResolvent (naturalOperator I hε χ) |
| 433 | 363 | |
| 434 | -theorem naturalResolvent_hasSum (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 435 | - (χ : AxisSpace I ε) : | |
| 436 | - HasSum (fun k : ℕ => (-naturalOperator I hε χ) ^ k) (naturalResolvent I hε χ) := | |
| 437 | - hasSum_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 438 | - | |
| 439 | -theorem naturalResolvent_norm_le (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 440 | - (χ : AxisSpace I ε) : | |
| 441 | - ‖naturalResolvent I hε χ‖ ≤ ∑' k : ℕ, factorialMajorant (2560 * ‖χ‖) k := | |
| 442 | - norm_alternatingResolvent_le _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 443 | - | |
| 444 | -theorem one_add_mul_naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 445 | - (χ : AxisSpace I ε) : | |
| 446 | - (1 + naturalOperator I hε χ) * naturalResolvent I hε χ = 1 := | |
| 447 | - one_add_mul_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 448 | - | |
| 449 | -theorem naturalResolvent_mul_one_add (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 450 | - (χ : AxisSpace I ε) : | |
| 451 | - naturalResolvent I hε χ * (1 + naturalOperator I hε χ) = 1 := | |
| 452 | - alternatingResolvent_mul_one_add _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 453 | - | |
| 454 | -theorem one_add_apply_naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 455 | - (χ A : AxisSpace I ε) : | |
| 456 | - (1 + naturalOperator I hε χ) (naturalResolvent I hε χ A) = A := | |
| 457 | - one_add_apply_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) A | |
| 458 | - | |
| 459 | -theorem naturalResolvent_apply_one_add (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 460 | - (χ A : AxisSpace I ε) : | |
| 461 | - naturalResolvent I hε χ ((1 + naturalOperator I hε χ) A) = A := | |
| 462 | - alternatingResolvent_apply_one_add _ (by positivity) (naturalOperator_pow_bound I hε χ) A | |
| 463 | - | |
| 464 | 364 | theorem naturalResolvent_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 465 | 365 | (χ A : AxisSpace I ε) : |
| 466 | 366 | naturalResolvent I hε χ A + naturalOperator I hε χ (naturalResolvent I hε χ A) = A := |
| 467 | 367 | alternatingResolvent_equation _ (by positivity) (naturalOperator_pow_bound I hε χ) A |
| 468 | 368 | |
| 469 | -theorem naturalResolvent_unique (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 470 | - (χ : AxisSpace I ε) {A b : AxisSpace I ε} | |
| 471 | - (hA : A + naturalOperator I hε χ A = b) : A = naturalResolvent I hε χ b := | |
| 472 | - alternatingResolvent_unique _ (by positivity) (naturalOperator_pow_bound I hε χ) hA | |
| 473 | - | |
| 474 | -/-- In particular, the reference angular profile is obtained by applying this | |
| 475 | -map to the constant coefficient representing `1`. -/ | |
| 476 | -def naturalEquationEquiv (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : | |
| 477 | - AxisSpace I ε ≃L[ℝ] AxisSpace I ε := | |
| 478 | - oneAddEquiv _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 479 | - | |
| 480 | 369 | end AxisOperators |
| 481 | 370 | |
| 482 | 371 | end NavierStokes.AxisResolvent |
+0 −64 NavierStokes/AxisRootPressureBounds.lean View file
| @@ -8,68 +8,4 @@ namespace NavierStokes.AxisRootPressureBounds | ||
| 8 | 8 | |
| 9 | 9 | open Set NaturalAxisData |
| 10 | 10 | |
| 11 | -/-- The root margin retains the square of the pressure-prefix amplitude. -/ | |
| 12 | -theorem Z_at_root_pressure_lower {h j η B : ℝ} {P : ℝ → ℝ} | |
| 13 | - (p : NaturalAxisRange.Parameters h j) (hB : 2 ≤ B) | |
| 14 | - (hη : η ∈ Ioo (-j / 4) (-j / 5)) (hz : H h j η = 0) | |
| 15 | - (hP : P η ≤ -(B ^ 2 / 4)) (hP' : deriv P η ≤ 0) : | |
| 16 | - j * B ^ 2 / 20 < Z h j P η := by | |
| 17 | - have hηn : η < 0 := by linarith [hη.2, p.j_pos] | |
| 18 | - have hI : η ∈ Icc (-1 : ℝ) 1 := by | |
| 19 | - constructor <;> linarith [hη.1, hη.2, p.j_pos, p.j_le] | |
| 20 | - have hU : 0 < U j η := by dsimp [U]; linarith [hη.1] | |
| 21 | - have hUj : U j η < j / 5 := by dsimp [U]; linarith [hη.2] | |
| 22 | - have hrU : -η * U j η ≤ U j η := by | |
| 23 | - simpa using mul_le_mul_of_nonneg_right (show -η ≤ 1 by linarith [hI.1]) hU.le | |
| 24 | - have hfactor : 1 - 2 * η * U j η ≤ 2 := by nlinarith [p.j_le] | |
| 25 | - have hadverse : (1 - 2 * η * U j η) * U j η < 2 * j / 5 := | |
| 26 | - lt_of_le_of_lt (mul_le_mul_of_nonneg_right hfactor hU.le) (by linarith) | |
| 27 | - have hBsq : (4 : ℝ) ≤ B ^ 2 := by nlinarith | |
| 28 | - have hpressure := mul_le_mul_of_nonpos_left hP hηn.le | |
| 29 | - have hroot := mul_lt_mul_of_pos_right hη.2 (show 0 < B ^ 2 by positivity) | |
| 30 | - have hcore : j * B ^ 2 / 10 < -(1 - 2 * η * U j η) * U j η + 4 * η * P η := by | |
| 31 | - have hjB := mul_le_mul_of_nonneg_left hBsq p.j_pos.le | |
| 32 | - nlinarith | |
| 33 | - have hderiv : d η * deriv P η ≤ 0 := | |
| 34 | - mul_nonpos_of_nonneg_of_nonpos (d_nonneg hI) hP' | |
| 35 | - calc | |
| 36 | - j * B ^ 2 / 20 ≤ A h * (j * B ^ 2 / 10) := by | |
| 37 | - have hm := mul_nonneg (show 0 ≤ A h - 1 / 2 by | |
| 38 | - linarith [(NaturalAxisRange.A_bounds p).1]) | |
| 39 | - (mul_nonneg p.j_pos.le (sq_nonneg B)) | |
| 40 | - nlinarith | |
| 41 | - _ < A h * (-(1 - 2 * η * U j η) * U j η + 4 * η * P η) := | |
| 42 | - mul_lt_mul_of_pos_left hcore (NaturalAxisRange.A_pos p) | |
| 43 | - _ ≤ Z h j P η := by | |
| 44 | - unfold Z | |
| 45 | - rw [hz] | |
| 46 | - nlinarith | |
| 47 | - | |
| 48 | -/-- The actual integral pressure supplies the pressure-scaled root margin, | |
| 49 | -with the root and its uniqueness both constructed rather than assumed. -/ | |
| 50 | -theorem ideal_prefix_root_pressure_lower {h j : ℝ} | |
| 51 | - (p : NaturalAxisRange.Parameters h j) {g a : ℝ → ℝ} {cap B : ℝ} | |
| 52 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 53 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 54 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 55 | - ∃ η₀ : ℝ, η₀ ∈ Ioo (-j / 4) (-j / 5) ∧ H h j η₀ = 0 ∧ | |
| 56 | - j * B ^ 2 / 20 < Z h j (PressureDatum.pressure g a) η₀ ∧ | |
| 57 | - ∀ η ∈ Icc (-1 : ℝ) 1, H h j η = 0 → η = η₀ := by | |
| 58 | - obtain ⟨η₀, hη₀, hz, huniq⟩ := NaturalAxisRange.exists_unique_root p | |
| 59 | - have hI : η₀ ∈ Icc (-1 : ℝ) 1 := by | |
| 60 | - constructor <;> linarith [hη₀.1, hη₀.2, p.j_pos, p.j_le] | |
| 61 | - have hn : η₀ < 0 := by linarith [hη₀.2, p.j_pos] | |
| 62 | - have hs : η₀ ^ 2 ≤ 1 := by nlinarith [hI.1, hI.2] | |
| 63 | - have hi : 1 / 2 ≤ (1 + η₀ ^ 2)⁻¹ := by | |
| 64 | - rw [← one_div] | |
| 65 | - apply (le_div_iff₀ (show (0 : ℝ) < 1 + η₀ ^ 2 by positivity)).mpr | |
| 66 | - linarith | |
| 67 | - have hi2 : (1 / 4 : ℝ) ≤ ((1 + η₀ ^ 2)⁻¹) ^ 2 := by nlinarith | |
| 68 | - have hm := mul_le_mul_of_nonneg_left hi2 (sq_nonneg B) | |
| 69 | - have hp0 : PressureDatum.pressure g a η₀ ≤ -(B ^ 2 / 4) := by | |
| 70 | - have hb := PressureDatum.pressure_le_of_ideal_prefix hp hg ha η₀ | |
| 71 | - nlinarith | |
| 72 | - exact ⟨η₀, hη₀, hz, Z_at_root_pressure_lower p hB hη₀ hz hp0 | |
| 73 | - ((pressureData_of_ideal_prefix hp hB hg ha).deriv_nonpos hI hn), huniq⟩ | |
| 74 | - | |
| 75 | 11 | end NavierStokes.AxisRootPressureBounds |
+0 −43 NavierStokes/AxisSeries.lean View file
| @@ -154,22 +154,6 @@ theorem bessel_contiguous (k : ℕ) (t : ℝ) : | ||
| 154 | 154 | unfold bessel |
| 155 | 155 | ring |
| 156 | 156 | |
| 157 | -theorem second_deriv_bessel (k : ℕ) (t : ℝ) : | |
| 158 | - deriv (deriv (bessel k)) t = bessel (k + 2) t := by | |
| 159 | - rw [deriv_bessel] | |
| 160 | - simpa only [neg_neg, Nat.add_assoc] using (hasDerivAt_bessel (k + 1) t).fun_neg.deriv | |
| 161 | - | |
| 162 | -/-- An actual differential equation for the infinite function. -/ | |
| 163 | -theorem bessel_ode (k : ℕ) (t : ℝ) : | |
| 164 | - t * deriv (deriv (bessel k)) t + ((k : ℝ) + 1) * deriv (bessel k) t + | |
| 165 | - bessel k t = 0 := by | |
| 166 | - rw [second_deriv_bessel, deriv_bessel, bessel_contiguous k t] | |
| 167 | - ring | |
| 168 | - | |
| 169 | -theorem bessel_zero (k : ℕ) : bessel k 0 = 1 / (k.factorial : ℝ) := by | |
| 170 | - rw [bessel_eq_constant_add_tail] | |
| 171 | - simp [term] | |
| 172 | - | |
| 173 | 157 | /-- The leading regular angular profile in the manuscript's scaled radius. -/ |
| 174 | 158 | def profile (χ Y : ℝ) : ℝ := bessel 1 ((χ / 2) * Y) |
| 175 | 159 | |
| @@ -182,9 +166,6 @@ theorem profile_eq_tsum (χ Y : ℝ) : | ||
| 182 | 166 | congr 2 |
| 183 | 167 | ring |
| 184 | 168 | |
| 185 | -theorem profile_zero (χ : ℝ) : profile χ 0 = 1 := by | |
| 186 | - simp [profile, bessel_zero] | |
| 187 | - | |
| 188 | 169 | theorem hasDerivAt_profile (χ Y : ℝ) : |
| 189 | 170 | HasDerivAt (profile χ) (-(χ / 2) * bessel 2 ((χ / 2) * Y)) Y := by |
| 190 | 171 | convert! (hasDerivAt_bessel 1 ((χ / 2) * Y)).comp Y |
| @@ -197,25 +178,6 @@ theorem deriv_profile (χ : ℝ) : | ||
| 197 | 178 | funext Y |
| 198 | 179 | exact (hasDerivAt_profile χ Y).deriv |
| 199 | 180 | |
| 200 | -theorem second_deriv_profile (χ Y : ℝ) : | |
| 201 | - deriv (deriv (profile χ)) Y = (χ / 2) ^ 2 * bessel 3 ((χ / 2) * Y) := by | |
| 202 | - rw [deriv_profile] | |
| 203 | - have h := ((hasDerivAt_bessel 2 ((χ / 2) * Y)).comp Y | |
| 204 | - ((hasDerivAt_id Y).const_mul (χ / 2))).const_mul (-(χ / 2)) | |
| 205 | - convert! h.deriv using 1 | |
| 206 | - simp only [mul_one] | |
| 207 | - ring | |
| 208 | - | |
| 209 | -/-- The leading regular equation `2(YΦ''+2Φ') = -χΦ`, for the actual sum. -/ | |
| 210 | -theorem profile_scaled_ode (χ Y : ℝ) : | |
| 211 | - 2 * (Y * deriv (deriv (profile χ)) Y + 2 * deriv (profile χ) Y) = | |
| 212 | - -χ * profile χ Y := by | |
| 213 | - rw [second_deriv_profile, deriv_profile] | |
| 214 | - unfold profile | |
| 215 | - rw [bessel_contiguous 1 ((χ / 2) * Y)] | |
| 216 | - norm_num | |
| 217 | - ring | |
| 218 | - | |
| 219 | 181 | /-- The exact successive-term ratio, including its sign. -/ |
| 220 | 182 | theorem term_succ_ratio (k n : ℕ) (t : ℝ) : |
| 221 | 183 | term k (n + 1) t = |
| @@ -305,11 +267,6 @@ theorem profile_gt_quarter (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | ||
| 305 | 267 | · positivity |
| 306 | 268 | · nlinarith [mul_nonneg (sub_nonneg.mpr hχ1) hY0] |
| 307 | 269 | |
| 308 | -theorem profile_pos (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | |
| 309 | - (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : 0 < profile χ Y := by | |
| 310 | - have h := profile_gt_quarter χ Y hχ0 hχ1 hY0 hY1 | |
| 311 | - linarith | |
| 312 | - | |
| 313 | 270 | /-- A convergent alternating tail beginning with its positive sign has |
| 314 | 271 | nonnegative total, for every offset starting after at least one term. -/ |
| 315 | 272 | theorem alternating_tail_nonneg (k j : ℕ) (hj : 1 ≤ j) |
+0 −552 NavierStokes/AxisSourceRegularity.lean View file
| @@ -211,62 +211,6 @@ theorem omegaDivX_smooth (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : I | ||
| 211 | 211 | ((contDiffAt_const.mul contDiffAt_fst).mul |
| 212 | 212 | (partialX_smooth (partialX_smooth (hv k le_rfl)))))).sub hp |
| 213 | 213 | |
| 214 | -theorem omegaDivX_smooth_extension_at_axis (h : ℝ) (U v : ℕ → InnerProfile) | |
| 215 | - (k : ℕ) (η : ℝ) | |
| 216 | - (hU : ∀ j, j ≤ k → ContDiffAt ℝ ∞ (U j) (0, η)) | |
| 217 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ ∞ (v j) (0, η)) (hL : L h η ≠ 0) : | |
| 218 | - ContDiffAt ℝ ∞ (omegaDivX h U v k) (0, η) := | |
| 219 | - omegaDivX_smooth h U v k (0, η) hU hv hL | |
| 220 | - | |
| 221 | -theorem partialX_analytic {v : InnerProfile} {w : InnerPoint} | |
| 222 | - (hv : AnalyticAt ℝ v w) : AnalyticAt ℝ (partialX v) w := | |
| 223 | - ((ContinuousLinearMap.apply ℝ ℝ ((1, 0) : InnerPoint)).analyticAt _).comp hv.fderiv | |
| 224 | - | |
| 225 | -theorem partialEta_analytic {v : InnerProfile} {w : InnerPoint} | |
| 226 | - (hv : AnalyticAt ℝ v w) : AnalyticAt ℝ (partialEta v) w := | |
| 227 | - ((ContinuousLinearMap.apply ℝ ℝ ((0, 1) : InnerPoint)).analyticAt _).comp hv.fderiv | |
| 228 | - | |
| 229 | -theorem T_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 230 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (T h b v) w := by | |
| 231 | - exact (((analyticAt_const.mul hv).add | |
| 232 | - ((analyticAt_const.mul analyticAt_snd).mul (partialEta_analytic hv))).add | |
| 233 | - (analyticAt_fst.mul (partialX_analytic hv))).fun_div | |
| 234 | - (analyticAt_const.sub (analyticAt_const.mul (analyticAt_snd.pow 2))) hL | |
| 235 | - | |
| 236 | -theorem Z_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 237 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (Z h b v) w := by | |
| 238 | - exact ((((analyticAt_const.mul analyticAt_snd).mul analyticAt_const).mul hv).add | |
| 239 | - ((analyticAt_const.sub (analyticAt_snd.pow 2)).mul (partialEta_analytic hv)) |>.sub | |
| 240 | - (((analyticAt_const.mul analyticAt_snd).mul analyticAt_fst).mul (partialX_analytic hv))).fun_div | |
| 241 | - (analyticAt_const.sub (analyticAt_const.mul (analyticAt_snd.pow 2))) hL | |
| 242 | - | |
| 243 | -theorem Z2_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 244 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (Z2 h b v) w := | |
| 245 | - Z_analytic h (b - D h) (Z_analytic h b hv hL) hL | |
| 246 | - | |
| 247 | -/-- Joint analytic input germs give an analytic quotient germ, including at X=0. -/ | |
| 248 | -theorem omegaDivX_analytic (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 249 | - (hU : ∀ j, j ≤ k → AnalyticAt ℝ (U j) w) | |
| 250 | - (hv : ∀ j, j ≤ k → AnalyticAt ℝ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 251 | - AnalyticAt ℝ (omegaDivX h U v k) w := by | |
| 252 | - have hs : AnalyticAt ℝ (fun y => ∑ ij ∈ Finset.antidiagonal k, | |
| 253 | - (v ij.1 y * (v ij.2 y / 2 + y.1 * partialX (v ij.2) y) + | |
| 254 | - U ij.1 y * Z h (slowOrder h ij.2 - 1) (v ij.2) y)) w := by | |
| 255 | - apply Finset.analyticAt_fun_sum | |
| 256 | - intro ij hij | |
| 257 | - obtain ⟨hi, hj⟩ := antidiagonal_indices_le hij | |
| 258 | - exact ((hv ij.1 hi).mul (((hv ij.2 hj).fun_div analyticAt_const (by norm_num)).add | |
| 259 | - (analyticAt_fst.mul (partialX_analytic (hv ij.2 hj))))).add | |
| 260 | - ((hU ij.1 hi).mul (Z_analytic h _ (hv ij.2 hj) hL)) | |
| 261 | - have hp : AnalyticAt ℝ (shiftedAxialFactor h v k) w := by | |
| 262 | - cases k with | |
| 263 | - | zero => exact analyticAt_const | |
| 264 | - | succ k => exact Z2_analytic h _ (hv k (Nat.le_succ k)) hL | |
| 265 | - exact (((T_analytic h _ (hv k le_rfl) hL).add hs).sub | |
| 266 | - ((analyticAt_const.mul (partialX_analytic (hv k le_rfl))).add | |
| 267 | - ((analyticAt_const.mul analyticAt_fst).mul | |
| 268 | - (partialX_analytic (partialX_analytic (hv k le_rfl)))))).sub hp | |
| 269 | - | |
| 270 | 214 | /-! ## Explicit finite jets and parameter-analytic source formulas -/ |
| 271 | 215 | |
| 272 | 216 | structure Jet2 (K : Type*) where |
| @@ -278,116 +222,6 @@ structure Jet2 (K : Type*) where | ||
| 278 | 222 | dex : K |
| 279 | 223 | dee : K |
| 280 | 224 | |
| 281 | -noncomputable def profileJet (v : InnerProfile) (w : InnerPoint) : Jet2 ℝ where | |
| 282 | - value := v w | |
| 283 | - dx := partialX v w | |
| 284 | - de := partialEta v w | |
| 285 | - dxx := partialX (partialX v) w | |
| 286 | - dxe := partialEta (partialX v) w | |
| 287 | - dex := partialX (partialEta v) w | |
| 288 | - dee := partialEta (partialEta v) w | |
| 289 | - | |
| 290 | -noncomputable def jetL {K : Type*} [Field K] (h e : K) : K := 1 - 2 * h * e ^ 2 | |
| 291 | - | |
| 292 | -noncomputable def jetT {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 293 | - (-b * j.value + (1 / 2 - h) * e * j.de + X * j.dx) / jetL h e | |
| 294 | - | |
| 295 | -noncomputable def jetZNumerator {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 296 | - 2 * e * b * j.value + (1 - e ^ 2) * j.de - 2 * e * X * j.dx | |
| 297 | - | |
| 298 | -noncomputable def jetZNumeratorX {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 299 | - 2 * e * b * j.dx + (1 - e ^ 2) * j.dex - 2 * e * (j.dx + X * j.dxx) | |
| 300 | - | |
| 301 | -noncomputable def jetZNumeratorE {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 302 | - 2 * b * j.value + 2 * e * b * j.de - 2 * e * j.de + | |
| 303 | - (1 - e ^ 2) * j.dee - 2 * X * j.dx - 2 * e * X * j.dxe | |
| 304 | - | |
| 305 | -noncomputable def jetZ {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 306 | - jetZNumerator b X e j / jetL h e | |
| 307 | - | |
| 308 | -noncomputable def jetZX {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 309 | - jetZNumeratorX b X e j / jetL h e | |
| 310 | - | |
| 311 | -noncomputable def jetZE {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 312 | - (jetZNumeratorE b X e j * jetL h e + 4 * h * e * jetZNumerator b X e j) / | |
| 313 | - jetL h e ^ 2 | |
| 314 | - | |
| 315 | -noncomputable def jetZ2 {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 316 | - (2 * e * (b - (1 / 2 - h)) * jetZ h b X e j + | |
| 317 | - (1 - e ^ 2) * jetZE h b X e j - 2 * e * X * jetZX h b X e j) / jetL h e | |
| 318 | - | |
| 319 | -theorem T_eq_jet (h b : ℝ) (v : InnerProfile) (w : InnerPoint) : | |
| 320 | - T h b v w = jetT h b w.1 w.2 (profileJet v w) := rfl | |
| 321 | - | |
| 322 | -theorem Z_eq_jet (h b : ℝ) (v : InnerProfile) (w : InnerPoint) : | |
| 323 | - Z h b v w = jetZ h b w.1 w.2 (profileJet v w) := rfl | |
| 324 | - | |
| 325 | -theorem Z_partials_eq_jet (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 326 | - (hv : ContDiffAt ℝ 2 v w) (hL : L h w.2 ≠ 0) : | |
| 327 | - partialX (Z h b v) w = jetZX h b w.1 w.2 (profileJet v w) ∧ | |
| 328 | - partialEta (Z h b v) w = jetZE h b w.1 w.2 (profileJet v w) := by | |
| 329 | - have hvd := (hv.differentiableAt (by norm_num)).hasFDerivAt | |
| 330 | - have hxd := ((partialX_smoothAt hv (m := 1) (by norm_num)).differentiableAt (by norm_num)).hasFDerivAt | |
| 331 | - have hed := ((partialEta_smoothAt hv (m := 1) (by norm_num)).differentiableAt (by norm_num)).hasFDerivAt | |
| 332 | - have hx : HasFDerivAt (fun y : InnerPoint => y.1) (ContinuousLinearMap.fst ℝ ℝ ℝ) w := | |
| 333 | - hasFDerivAt_fst | |
| 334 | - have he : HasFDerivAt (fun y : InnerPoint => y.2) (ContinuousLinearMap.snd ℝ ℝ ℝ) w := | |
| 335 | - hasFDerivAt_snd | |
| 336 | - have hn := (((he.const_mul 2).mul_const b).mul hvd).add | |
| 337 | - (((hasFDerivAt_const (1 : ℝ) w).sub (he.mul he)).mul hed) |>.sub | |
| 338 | - (((he.const_mul 2).mul hx).mul hxd) | |
| 339 | - have hl := (hasFDerivAt_const (1 : ℝ) w).sub ((he.mul he).const_mul (2 * h)) | |
| 340 | - have hL₀ : 1 - 2 * h * (w.2 * w.2) ≠ 0 := by | |
| 341 | - simpa only [L, CoordinateAlgebra.L, pow_two] using hL | |
| 342 | - have hL₁ : 1 - 2 * h * w.2 ^ 2 ≠ 0 := hL | |
| 343 | - have hz := hn.mul ((hasDerivAt_inv hL₀).comp_hasFDerivAt w hl) | |
| 344 | - simp only [Function.comp_def, ← pow_two] at hz | |
| 345 | - change HasFDerivAt (Z h b v) _ w at hz | |
| 346 | - constructor | |
| 347 | - · change (fderiv ℝ (Z h b v) w) (1, 0) = _ | |
| 348 | - rw [hz.fderiv] | |
| 349 | - simp [jetZX, jetZNumeratorX, jetL, profileJet, partialX, partialEta, smul_eq_mul] | |
| 350 | - field_simp [hL₁] ; ring | |
| 351 | - · change (fderiv ℝ (Z h b v) w) (0, 1) = _ | |
| 352 | - rw [hz.fderiv] | |
| 353 | - simp [jetZE, jetZNumeratorE, jetZNumerator, jetL, profileJet, partialX, partialEta, | |
| 354 | - smul_eq_mul] | |
| 355 | - field_simp [hL₁] ; ring | |
| 356 | - | |
| 357 | -theorem Z2_eq_jet (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 358 | - (hv : ContDiffAt ℝ 2 v w) (hL : L h w.2 ≠ 0) : | |
| 359 | - Z2 h b v w = jetZ2 h b w.1 w.2 (profileJet v w) := by | |
| 360 | - obtain ⟨hx, he⟩ := Z_partials_eq_jet h b hv hL | |
| 361 | - change (2 * w.2 * (b - D h) * Z h b v w + d w.2 * partialEta (Z h b v) w - | |
| 362 | - 2 * w.2 * w.1 * partialX (Z h b v) w) / L h w.2 = _ | |
| 363 | - rw [hx, he, Z_eq_jet] | |
| 364 | - rfl | |
| 365 | - | |
| 366 | -noncomputable def jetShifted {K : Type*} [Field K] (h X e : K) (v : ℕ → Jet2 K) : ℕ → K | |
| 367 | - | 0 => 0 | |
| 368 | - | k + 1 => jetZ2 h (2 * (k : K) * h - 1) X e (v k) | |
| 369 | - | |
| 370 | -/-- The same regular source formula over any field, so complex parameter | |
| 371 | -extensions use precisely the algebra verified for the real profile derivatives. -/ | |
| 372 | -noncomputable def jetOmegaDivX {K : Type*} [Field K] (h X e : K) | |
| 373 | - (U : ℕ → K) (v : ℕ → Jet2 K) (k : ℕ) : K := | |
| 374 | - jetT h (2 * (k : K) * h - 1) X e (v k) + | |
| 375 | - (∑ ij ∈ Finset.antidiagonal k, | |
| 376 | - ((v ij.1).value * ((v ij.2).value / 2 + X * (v ij.2).dx) + | |
| 377 | - U ij.1 * jetZ h (2 * (ij.2 : K) * h - 1) X e (v ij.2))) - | |
| 378 | - (4 * (v k).dx + 2 * X * (v k).dxx) - jetShifted h X e v k | |
| 379 | - | |
| 380 | -theorem omegaDivX_eq_jet (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 381 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 382 | - omegaDivX h U v k w = jetOmegaDivX h w.1 w.2 (fun j => U j w) | |
| 383 | - (fun j => profileJet (v j) w) k := by | |
| 384 | - cases k with | |
| 385 | - | zero => rfl | |
| 386 | - | succ k => | |
| 387 | - simp only [omegaDivX, jetOmegaDivX, shiftedAxialFactor, jetShifted] | |
| 388 | - rw [Z2_eq_jet h (slowOrder h k - 1) (hv k (Nat.le_succ k)) hL] | |
| 389 | - rfl | |
| 390 | - | |
| 391 | 225 | /-- Holomorphic extensions of the seven actual input jets. This is stronger |
| 392 | 226 | than separate analyticity of v alone and is the precise parameter hypothesis used. -/ |
| 393 | 227 | structure AnalyticJetAt (J : ℂ → Jet2 ℂ) (e : ℂ) : Prop where |
| @@ -399,396 +233,10 @@ structure AnalyticJetAt (J : ℂ → Jet2 ℂ) (e : ℂ) : Prop where | ||
| 399 | 233 | dex : AnalyticAt ℂ (fun z => (J z).dex) e |
| 400 | 234 | dee : AnalyticAt ℂ (fun z => (J z).dee) e |
| 401 | 235 | |
| 402 | -theorem jetL_analytic (h e : ℂ) : AnalyticAt ℂ (jetL h) e := | |
| 403 | - analyticAt_const.sub (analyticAt_const.mul (analyticAt_id.pow 2)) | |
| 404 | - | |
| 405 | -theorem jetT_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 406 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 407 | - AnalyticAt ℂ (fun z => jetT h b X z (J z)) e := by | |
| 408 | - exact (((analyticAt_const.mul hJ.value).add | |
| 409 | - ((analyticAt_const.mul analyticAt_id).mul hJ.de)).add | |
| 410 | - (analyticAt_const.mul hJ.dx)).fun_div (jetL_analytic h e) hL | |
| 411 | - | |
| 412 | -theorem jetZNumerator_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 413 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumerator b X z (J z)) e := by | |
| 414 | - exact ((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.value).add | |
| 415 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.de)).sub | |
| 416 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dx) | |
| 417 | - | |
| 418 | -theorem jetZNumeratorX_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 419 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumeratorX b X z (J z)) e := by | |
| 420 | - exact ((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dx).add | |
| 421 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.dex)).sub | |
| 422 | - ((analyticAt_const.mul analyticAt_id).mul (hJ.dx.add (analyticAt_const.mul hJ.dxx))) | |
| 423 | - | |
| 424 | -theorem jetZNumeratorE_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 425 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumeratorE b X z (J z)) e := by | |
| 426 | - exact (((((analyticAt_const.mul hJ.value).add | |
| 427 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.de)).sub | |
| 428 | - ((analyticAt_const.mul analyticAt_id).mul hJ.de)).add | |
| 429 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.dee)).sub | |
| 430 | - (analyticAt_const.mul hJ.dx)).sub | |
| 431 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dxe) | |
| 432 | - | |
| 433 | -theorem jetZ_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 434 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 435 | - AnalyticAt ℂ (fun z => jetZ h b X z (J z)) e := | |
| 436 | - (jetZNumerator_analytic b X hJ).fun_div (jetL_analytic h e) hL | |
| 437 | - | |
| 438 | -theorem jetZX_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 439 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 440 | - AnalyticAt ℂ (fun z => jetZX h b X z (J z)) e := | |
| 441 | - (jetZNumeratorX_analytic b X hJ).fun_div (jetL_analytic h e) hL | |
| 442 | - | |
| 443 | -theorem jetZE_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 444 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 445 | - AnalyticAt ℂ (fun z => jetZE h b X z (J z)) e := by | |
| 446 | - exact (((jetZNumeratorE_analytic b X hJ).mul (jetL_analytic h e)).add | |
| 447 | - ((analyticAt_const.mul analyticAt_id).mul (jetZNumerator_analytic b X hJ))).fun_div | |
| 448 | - ((jetL_analytic h e).pow 2) (pow_ne_zero _ hL) | |
| 449 | - | |
| 450 | -theorem jetZ2_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 451 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 452 | - AnalyticAt ℂ (fun z => jetZ2 h b X z (J z)) e := by | |
| 453 | - exact (((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul | |
| 454 | - (jetZ_analytic h b X hJ hL)).add | |
| 455 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul (jetZE_analytic h b X hJ hL))).sub | |
| 456 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul | |
| 457 | - (jetZX_analytic h b X hJ hL))).fun_div (jetL_analytic h e) hL | |
| 458 | - | |
| 459 | -/-- The finite quotient source is holomorphic in the parameter whenever the | |
| 460 | -finite input jets have holomorphic extensions and the sole denominator is nonzero. -/ | |
| 461 | -theorem jetOmegaDivX_analytic (h X : ℂ) (U : ℕ → ℂ → ℂ) | |
| 462 | - (v : ℕ → ℂ → Jet2 ℂ) (k : ℕ) (e : ℂ) | |
| 463 | - (hU : ∀ j, j ≤ k → AnalyticAt ℂ (U j) e) | |
| 464 | - (hv : ∀ j, j ≤ k → AnalyticJetAt (v j) e) (hL : jetL h e ≠ 0) : | |
| 465 | - AnalyticAt ℂ (fun z => jetOmegaDivX h X z (fun j => U j z) (fun j => v j z) k) e := by | |
| 466 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ Finset.antidiagonal k, | |
| 467 | - ((v ij.1 z).value * ((v ij.2 z).value / 2 + X * (v ij.2 z).dx) + | |
| 468 | - U ij.1 z * jetZ h (2 * (ij.2 : ℂ) * h - 1) X z (v ij.2 z))) e := by | |
| 469 | - apply Finset.analyticAt_fun_sum | |
| 470 | - intro ij hij | |
| 471 | - obtain ⟨hi, hj⟩ := antidiagonal_indices_le hij | |
| 472 | - exact ((hv ij.1 hi).value.mul (((hv ij.2 hj).value.fun_div analyticAt_const | |
| 473 | - (by norm_num)).add (analyticAt_const.mul (hv ij.2 hj).dx))).add | |
| 474 | - ((hU ij.1 hi).mul (jetZ_analytic h _ X (hv ij.2 hj) hL)) | |
| 475 | - have hp : AnalyticAt ℂ (fun z => jetShifted h X z (fun j => v j z) k) e := by | |
| 476 | - cases k with | |
| 477 | - | zero => exact analyticAt_const | |
| 478 | - | succ k => exact jetZ2_analytic h _ X (hv k (Nat.le_succ k)) hL | |
| 479 | - exact (((jetT_analytic h _ X (hv k le_rfl) hL).add hs).sub | |
| 480 | - ((analyticAt_const.mul (hv k le_rfl).dx).add | |
| 481 | - (analyticAt_const.mul (hv k le_rfl).dxx))).sub hp | |
| 482 | - | |
| 483 | -noncomputable def complexifyJet (j : Jet2 ℝ) : Jet2 ℂ where | |
| 484 | - value := j.value | |
| 485 | - dx := j.dx | |
| 486 | - de := j.de | |
| 487 | - dxx := j.dxx | |
| 488 | - dxe := j.dxe | |
| 489 | - dex := j.dex | |
| 490 | - dee := j.dee | |
| 491 | - | |
| 492 | -/-- The holomorphic algebra uses the exact real source formula on real inputs. -/ | |
| 493 | -theorem jetOmegaDivX_ofReal (h X e : ℝ) (U : ℕ → ℝ) (v : ℕ → Jet2 ℝ) (k : ℕ) : | |
| 494 | - ((jetOmegaDivX h X e U v k : ℝ) : ℂ) = | |
| 495 | - jetOmegaDivX (h : ℂ) (X : ℂ) (e : ℂ) (fun j => (U j : ℂ)) | |
| 496 | - (fun j => complexifyJet (v j)) k := by | |
| 497 | - cases k <;> simp [jetOmegaDivX, jetShifted, jetT, jetZ2, jetZ, jetZE, jetZX, | |
| 498 | - jetZNumerator, jetZNumeratorX, jetZNumeratorE, jetL, complexifyJet] | |
| 499 | - | |
| 500 | -theorem omegaDivX_complex_formula (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 501 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 502 | - (omegaDivX h U v k w : ℂ) = | |
| 503 | - jetOmegaDivX (h : ℂ) (w.1 : ℂ) (w.2 : ℂ) (fun j => (U j w : ℂ)) | |
| 504 | - (fun j => complexifyJet (profileJet (v j) w)) k := by | |
| 505 | - rw [omegaDivX_eq_jet h U v k w hv hL, jetOmegaDivX_ofReal] | |
| 506 | - | |
| 507 | -noncomputable def lowerPairs (n : ℕ) : Finset (ℕ × ℕ) := | |
| 508 | - (Finset.antidiagonal n).filter (fun ij => 0 < ij.1 ∧ 0 < ij.2) | |
| 509 | - | |
| 510 | -theorem lowerPairs_lt {n i j : ℕ} (hij : (i, j) ∈ lowerPairs n) : i < n ∧ j < n := by | |
| 511 | - obtain ⟨ha, hi, hj⟩ := Finset.mem_filter.mp hij | |
| 512 | - have he := Finset.mem_antidiagonal.mp ha | |
| 513 | - omega | |
| 514 | - | |
| 515 | -noncomputable def lowerConvolution (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) : ℝ := | |
| 516 | - ∑ ij ∈ lowerPairs n, a ij.1 w * b ij.2 w | |
| 517 | - | |
| 518 | 236 | noncomputable def previousOmegaDivX (h : ℝ) (U v : ℕ → InnerProfile) : ℕ → InnerProfile |
| 519 | 237 | | 0 => fun _ => 0 |
| 520 | 238 | | k + 1 => omegaDivX h U v k |
| 521 | 239 | |
| 522 | -/-- The known lower-order pressure source after its radial cancellation. -/ | |
| 523 | -noncomputable def lowerPressureSource (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 524 | - (n : ℕ) (w : InnerPoint) : ℝ := | |
| 525 | - C⁻¹ ^ 2 * lowerConvolution φ φ n w - previousOmegaDivX h U v n w / 2 | |
| 526 | - | |
| 527 | -theorem lowerConvolution_smooth (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) | |
| 528 | - (ha : ∀ j, j < n → ContDiffAt ℝ ∞ (a j) w) | |
| 529 | - (hb : ∀ j, j < n → ContDiffAt ℝ ∞ (b j) w) : | |
| 530 | - ContDiffAt ℝ ∞ (lowerConvolution a b n) w := by | |
| 531 | - apply ContDiffAt.sum | |
| 532 | - intro ij hij | |
| 533 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 534 | - exact (ha ij.1 hi).mul (hb ij.2 hj) | |
| 535 | - | |
| 536 | -theorem lowerPressureSource_smooth (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 537 | - (n : ℕ) (w : InnerPoint) | |
| 538 | - (hφ : ∀ j, j < n → ContDiffAt ℝ ∞ (φ j) w) | |
| 539 | - (hU : ∀ j, j < n → ContDiffAt ℝ ∞ (U j) w) | |
| 540 | - (hv : ∀ j, j < n → ContDiffAt ℝ ∞ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 541 | - ContDiffAt ℝ ∞ (lowerPressureSource h C φ U v n) w := by | |
| 542 | - have hp : ContDiffAt ℝ ∞ (previousOmegaDivX h U v n) w := by | |
| 543 | - cases n with | |
| 544 | - | zero => exact contDiffAt_const | |
| 545 | - | succ k => | |
| 546 | - exact omegaDivX_smooth h U v k w (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 547 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 548 | - exact (contDiffAt_const.mul (lowerConvolution_smooth φ φ n w hφ hφ)).sub | |
| 549 | - (hp.div contDiffAt_const (by norm_num)) | |
| 550 | - | |
| 551 | -theorem lowerConvolution_analytic (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) | |
| 552 | - (ha : ∀ j, j < n → AnalyticAt ℝ (a j) w) | |
| 553 | - (hb : ∀ j, j < n → AnalyticAt ℝ (b j) w) : | |
| 554 | - AnalyticAt ℝ (lowerConvolution a b n) w := by | |
| 555 | - apply Finset.analyticAt_fun_sum | |
| 556 | - intro ij hij | |
| 557 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 558 | - exact (ha ij.1 hi).mul (hb ij.2 hj) | |
| 559 | - | |
| 560 | -theorem lowerPressureSource_analytic (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 561 | - (n : ℕ) (w : InnerPoint) | |
| 562 | - (hφ : ∀ j, j < n → AnalyticAt ℝ (φ j) w) | |
| 563 | - (hU : ∀ j, j < n → AnalyticAt ℝ (U j) w) | |
| 564 | - (hv : ∀ j, j < n → AnalyticAt ℝ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 565 | - AnalyticAt ℝ (lowerPressureSource h C φ U v n) w := by | |
| 566 | - have hp : AnalyticAt ℝ (previousOmegaDivX h U v n) w := by | |
| 567 | - cases n with | |
| 568 | - | zero => exact analyticAt_const | |
| 569 | - | succ k => | |
| 570 | - exact omegaDivX_analytic h U v k w (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 571 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 572 | - exact (analyticAt_const.mul (lowerConvolution_analytic φ φ n w hφ hφ)).sub | |
| 573 | - (hp.fun_div analyticAt_const (by norm_num)) | |
| 574 | - | |
| 575 | -/-- The regular lower-order source agrees with the displayed pressure source | |
| 576 | -away from the axis. -/ | |
| 577 | -theorem lowerPressureSource_eq_quotient (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 578 | - (k : ℕ) (w : InnerPoint) | |
| 579 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) | |
| 580 | - (hL : L h w.2 ≠ 0) (hX : w.1 ≠ 0) : | |
| 581 | - lowerPressureSource h C φ U v (k + 1) w = | |
| 582 | - C⁻¹ ^ 2 * lowerConvolution φ φ (k + 1) w - | |
| 583 | - (omega h U (fun j => axisFactor (v j)) k w / w.1) / 2 := by | |
| 584 | - rw [omega_quotient_eq h U v k w hv hL hX] | |
| 585 | - rfl | |
| 586 | - | |
| 587 | -noncomputable def jetPreviousOmega {K : Type*} [Field K] (h X e : K) | |
| 588 | - (U : ℕ → K) (v : ℕ → Jet2 K) : ℕ → K | |
| 589 | - | 0 => 0 | |
| 590 | - | k + 1 => jetOmegaDivX h X e U v k | |
| 591 | - | |
| 592 | -/-- Parameter-analytic algebra for the same finite lower pressure source. -/ | |
| 593 | -noncomputable def jetLowerPressureSource {K : Type*} [Field K] (h C X e : K) | |
| 594 | - (φ U : ℕ → K) (v : ℕ → Jet2 K) (n : ℕ) : K := | |
| 595 | - C⁻¹ ^ 2 * (∑ ij ∈ lowerPairs n, φ ij.1 * φ ij.2) - | |
| 596 | - jetPreviousOmega h X e U v n / 2 | |
| 597 | - | |
| 598 | -theorem lowerPressureSource_eq_jet (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 599 | - (n : ℕ) (w : InnerPoint) | |
| 600 | - (hv : ∀ j, j < n → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 601 | - lowerPressureSource h C φ U v n w = | |
| 602 | - jetLowerPressureSource h C w.1 w.2 (fun j => φ j w) (fun j => U j w) | |
| 603 | - (fun j => profileJet (v j) w) n := by | |
| 604 | - cases n with | |
| 605 | - | zero => rfl | |
| 606 | - | succ k => | |
| 607 | - simp only [lowerPressureSource, previousOmegaDivX, jetLowerPressureSource, | |
| 608 | - jetPreviousOmega] | |
| 609 | - rw [omegaDivX_eq_jet h U v k w (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL] | |
| 610 | - rfl | |
| 611 | - | |
| 612 | -theorem jetLowerPressureSource_ofReal (h C X e : ℝ) (φ U : ℕ → ℝ) | |
| 613 | - (v : ℕ → Jet2 ℝ) (n : ℕ) : | |
| 614 | - ((jetLowerPressureSource h C X e φ U v n : ℝ) : ℂ) = | |
| 615 | - jetLowerPressureSource (h : ℂ) (C : ℂ) (X : ℂ) (e : ℂ) | |
| 616 | - (fun j => (φ j : ℂ)) (fun j => (U j : ℂ)) | |
| 617 | - (fun j => complexifyJet (v j)) n := by | |
| 618 | - cases n <;> simp [jetLowerPressureSource, jetPreviousOmega, jetOmegaDivX_ofReal] | |
| 619 | - | |
| 620 | -theorem lowerPressureSource_complex_formula (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 621 | - (n : ℕ) (w : InnerPoint) | |
| 622 | - (hv : ∀ j, j < n → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 623 | - (lowerPressureSource h C φ U v n w : ℂ) = | |
| 624 | - jetLowerPressureSource (h : ℂ) (C : ℂ) (w.1 : ℂ) (w.2 : ℂ) | |
| 625 | - (fun j => (φ j w : ℂ)) (fun j => (U j w : ℂ)) | |
| 626 | - (fun j => complexifyJet (profileJet (v j) w)) n := by | |
| 627 | - rw [lowerPressureSource_eq_jet h C φ U v n w hv hL, jetLowerPressureSource_ofReal] | |
| 628 | - | |
| 629 | -/-- Only previously constructed profiles, indexed strictly below n, are needed | |
| 630 | -for holomorphy of the known source at order n. -/ | |
| 631 | -theorem jetLowerPressureSource_analytic (h C X : ℂ) (φ U : ℕ → ℂ → ℂ) | |
| 632 | - (v : ℕ → ℂ → Jet2 ℂ) (n : ℕ) (e : ℂ) | |
| 633 | - (hφ : ∀ j, j < n → AnalyticAt ℂ (φ j) e) | |
| 634 | - (hU : ∀ j, j < n → AnalyticAt ℂ (U j) e) | |
| 635 | - (hv : ∀ j, j < n → AnalyticJetAt (v j) e) (hL : jetL h e ≠ 0) : | |
| 636 | - AnalyticAt ℂ (fun z => jetLowerPressureSource h C X z | |
| 637 | - (fun j => φ j z) (fun j => U j z) (fun j => v j z) n) e := by | |
| 638 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ lowerPairs n, φ ij.1 z * φ ij.2 z) e := by | |
| 639 | - apply Finset.analyticAt_fun_sum | |
| 640 | - intro ij hij | |
| 641 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 642 | - exact (hφ ij.1 hi).mul (hφ ij.2 hj) | |
| 643 | - have hp : AnalyticAt ℂ (fun z => jetPreviousOmega h X z | |
| 644 | - (fun j => U j z) (fun j => v j z) n) e := by | |
| 645 | - cases n with | |
| 646 | - | zero => exact analyticAt_const | |
| 647 | - | succ k => | |
| 648 | - exact jetOmegaDivX_analytic h X U v k e | |
| 649 | - (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 650 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 651 | - exact (analyticAt_const.mul hs).sub (hp.fun_div analyticAt_const (by norm_num)) | |
| 652 | - | |
| 653 | 240 | /-! ## The other finite lower-order transport sources -/ |
| 654 | 241 | |
| 655 | -theorem transport_axisFactor (σ : ℝ) (v f : InnerProfile) (w : InnerPoint) | |
| 656 | - (hX : w.1 ≠ 0) : | |
| 657 | - axisFactor v w * (partialX f w + σ * f w / w.1) = | |
| 658 | - v w * (w.1 * partialX f w + σ * f w) := by | |
| 659 | - unfold axisFactor | |
| 660 | - field_simp [hX] | |
| 661 | - | |
| 662 | -noncomputable def shiftedProfileAxial (h b : ℝ) (f : ℕ → InnerProfile) : ℕ → InnerProfile | |
| 663 | - | 0 => fun _ => 0 | |
| 664 | - | k + 1 => Z2 h (b + slowOrder h k) (f k) | |
| 665 | - | |
| 666 | -/-- The finite known transport part of the angular row has σ=1, and that of | |
| 667 | -the axial row has σ=0. The base exponents b are supplied separately. -/ | |
| 668 | -noncomputable def lowerTransportSource (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 669 | - (n : ℕ) (w : InnerPoint) : ℝ := | |
| 670 | - (∑ ij ∈ lowerPairs n, | |
| 671 | - (v ij.1 w * (w.1 * partialX (f ij.2) w + σ * f ij.2 w) + | |
| 672 | - U ij.1 w * Z h (b + slowOrder h ij.2) (f ij.2) w)) - | |
| 673 | - shiftedProfileAxial h b f n w | |
| 674 | - | |
| 675 | -theorem lowerTransportSource_eq_quotient (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 676 | - (n : ℕ) (w : InnerPoint) (hX : w.1 ≠ 0) : | |
| 677 | - lowerTransportSource h b σ v U f n w = | |
| 678 | - (∑ ij ∈ lowerPairs n, | |
| 679 | - (axisFactor (v ij.1) w * (partialX (f ij.2) w + σ * f ij.2 w / w.1) + | |
| 680 | - U ij.1 w * Z h (b + slowOrder h ij.2) (f ij.2) w)) - | |
| 681 | - shiftedProfileAxial h b f n w := by | |
| 682 | - simp only [lowerTransportSource, transport_axisFactor σ _ _ w hX] | |
| 683 | - | |
| 684 | -theorem lowerTransportSource_smooth (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 685 | - (n : ℕ) (w : InnerPoint) | |
| 686 | - (hv : ∀ j, j < n → ContDiffAt ℝ ∞ (v j) w) | |
| 687 | - (hU : ∀ j, j < n → ContDiffAt ℝ ∞ (U j) w) | |
| 688 | - (hf : ∀ j, j < n → ContDiffAt ℝ ∞ (f j) w) (hL : L h w.2 ≠ 0) : | |
| 689 | - ContDiffAt ℝ ∞ (lowerTransportSource h b σ v U f n) w := by | |
| 690 | - have hs : ContDiffAt ℝ ∞ (fun y => ∑ ij ∈ lowerPairs n, | |
| 691 | - (v ij.1 y * (y.1 * partialX (f ij.2) y + σ * f ij.2 y) + | |
| 692 | - U ij.1 y * Z h (b + slowOrder h ij.2) (f ij.2) y)) w := by | |
| 693 | - apply ContDiffAt.sum | |
| 694 | - intro ij hij | |
| 695 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 696 | - exact ((hv ij.1 hi).mul ((contDiffAt_fst.mul (partialX_smooth (hf ij.2 hj))).add | |
| 697 | - (contDiffAt_const.mul (hf ij.2 hj)))).add | |
| 698 | - ((hU ij.1 hi).mul (Z_smooth h _ (hf ij.2 hj) hL)) | |
| 699 | - have hp : ContDiffAt ℝ ∞ (shiftedProfileAxial h b f n) w := by | |
| 700 | - cases n with | |
| 701 | - | zero => exact contDiffAt_const | |
| 702 | - | succ k => exact Z2_smooth h _ (hf k (Nat.lt_succ_self k)) hL | |
| 703 | - exact hs.sub hp | |
| 704 | - | |
| 705 | -theorem lowerTransportSource_analytic (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 706 | - (n : ℕ) (w : InnerPoint) | |
| 707 | - (hv : ∀ j, j < n → AnalyticAt ℝ (v j) w) | |
| 708 | - (hU : ∀ j, j < n → AnalyticAt ℝ (U j) w) | |
| 709 | - (hf : ∀ j, j < n → AnalyticAt ℝ (f j) w) (hL : L h w.2 ≠ 0) : | |
| 710 | - AnalyticAt ℝ (lowerTransportSource h b σ v U f n) w := by | |
| 711 | - have hs : AnalyticAt ℝ (fun y => ∑ ij ∈ lowerPairs n, | |
| 712 | - (v ij.1 y * (y.1 * partialX (f ij.2) y + σ * f ij.2 y) + | |
| 713 | - U ij.1 y * Z h (b + slowOrder h ij.2) (f ij.2) y)) w := by | |
| 714 | - apply Finset.analyticAt_fun_sum | |
| 715 | - intro ij hij | |
| 716 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 717 | - exact ((hv ij.1 hi).mul ((analyticAt_fst.mul (partialX_analytic (hf ij.2 hj))).add | |
| 718 | - (analyticAt_const.mul (hf ij.2 hj)))).add | |
| 719 | - ((hU ij.1 hi).mul (Z_analytic h _ (hf ij.2 hj) hL)) | |
| 720 | - have hp : AnalyticAt ℝ (shiftedProfileAxial h b f n) w := by | |
| 721 | - cases n with | |
| 722 | - | zero => exact analyticAt_const | |
| 723 | - | succ k => exact Z2_analytic h _ (hf k (Nat.lt_succ_self k)) hL | |
| 724 | - exact hs.sub hp | |
| 725 | - | |
| 726 | -noncomputable def jetShiftedProfileAxial {K : Type*} [Field K] (h b X e : K) | |
| 727 | - (f : ℕ → Jet2 K) : ℕ → K | |
| 728 | - | 0 => 0 | |
| 729 | - | k + 1 => jetZ2 h (b + 2 * (k : K) * h) X e (f k) | |
| 730 | - | |
| 731 | -noncomputable def jetLowerTransportSource {K : Type*} [Field K] (h b σ X e : K) | |
| 732 | - (v U : ℕ → K) (f : ℕ → Jet2 K) (n : ℕ) : K := | |
| 733 | - (∑ ij ∈ lowerPairs n, | |
| 734 | - (v ij.1 * (X * (f ij.2).dx + σ * (f ij.2).value) + | |
| 735 | - U ij.1 * jetZ h (b + 2 * (ij.2 : K) * h) X e (f ij.2))) - | |
| 736 | - jetShiftedProfileAxial h b X e f n | |
| 737 | - | |
| 738 | -theorem lowerTransportSource_eq_jet (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 739 | - (n : ℕ) (w : InnerPoint) | |
| 740 | - (hf : ∀ j, j < n → ContDiffAt ℝ 2 (f j) w) (hL : L h w.2 ≠ 0) : | |
| 741 | - lowerTransportSource h b σ v U f n w = | |
| 742 | - jetLowerTransportSource h b σ w.1 w.2 (fun j => v j w) (fun j => U j w) | |
| 743 | - (fun j => profileJet (f j) w) n := by | |
| 744 | - cases n with | |
| 745 | - | zero => rfl | |
| 746 | - | succ k => | |
| 747 | - simp only [lowerTransportSource, jetLowerTransportSource, shiftedProfileAxial, | |
| 748 | - jetShiftedProfileAxial] | |
| 749 | - rw [Z2_eq_jet h (b + slowOrder h k) (hf k (Nat.lt_succ_self k)) hL] | |
| 750 | - rfl | |
| 751 | - | |
| 752 | -theorem jetLowerTransportSource_ofReal (h b σ X e : ℝ) (v U : ℕ → ℝ) | |
| 753 | - (f : ℕ → Jet2 ℝ) (n : ℕ) : | |
| 754 | - ((jetLowerTransportSource h b σ X e v U f n : ℝ) : ℂ) = | |
| 755 | - jetLowerTransportSource (h : ℂ) (b : ℂ) (σ : ℂ) (X : ℂ) (e : ℂ) | |
| 756 | - (fun j => (v j : ℂ)) (fun j => (U j : ℂ)) | |
| 757 | - (fun j => complexifyJet (f j)) n := by | |
| 758 | - cases n <;> simp [jetLowerTransportSource, jetShiftedProfileAxial, | |
| 759 | - jetZ2, jetZ, jetZE, jetZX, jetZNumerator, jetZNumeratorX, jetZNumeratorE, | |
| 760 | - jetL, complexifyJet] | |
| 761 | - | |
| 762 | -theorem lowerTransportSource_complex_formula (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 763 | - (n : ℕ) (w : InnerPoint) | |
| 764 | - (hf : ∀ j, j < n → ContDiffAt ℝ 2 (f j) w) (hL : L h w.2 ≠ 0) : | |
| 765 | - (lowerTransportSource h b σ v U f n w : ℂ) = | |
| 766 | - jetLowerTransportSource (h : ℂ) (b : ℂ) (σ : ℂ) (w.1 : ℂ) (w.2 : ℂ) | |
| 767 | - (fun j => (v j w : ℂ)) (fun j => (U j w : ℂ)) | |
| 768 | - (fun j => complexifyJet (profileJet (f j) w)) n := by | |
| 769 | - rw [lowerTransportSource_eq_jet h b σ v U f n w hf hL, jetLowerTransportSource_ofReal] | |
| 770 | - | |
| 771 | -theorem jetLowerTransportSource_analytic (h b σ X : ℂ) (v U : ℕ → ℂ → ℂ) | |
| 772 | - (f : ℕ → ℂ → Jet2 ℂ) (n : ℕ) (e : ℂ) | |
| 773 | - (hv : ∀ j, j < n → AnalyticAt ℂ (v j) e) | |
| 774 | - (hU : ∀ j, j < n → AnalyticAt ℂ (U j) e) | |
| 775 | - (hf : ∀ j, j < n → AnalyticJetAt (f j) e) (hL : jetL h e ≠ 0) : | |
| 776 | - AnalyticAt ℂ (fun z => jetLowerTransportSource h b σ X z | |
| 777 | - (fun j => v j z) (fun j => U j z) (fun j => f j z) n) e := by | |
| 778 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ lowerPairs n, | |
| 779 | - (v ij.1 z * (X * (f ij.2 z).dx + σ * (f ij.2 z).value) + | |
| 780 | - U ij.1 z * jetZ h (b + 2 * (ij.2 : ℂ) * h) X z (f ij.2 z))) e := by | |
| 781 | - apply Finset.analyticAt_fun_sum | |
| 782 | - intro ij hij | |
| 783 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 784 | - exact ((hv ij.1 hi).mul ((analyticAt_const.mul (hf ij.2 hj).dx).add | |
| 785 | - (analyticAt_const.mul (hf ij.2 hj).value))).add | |
| 786 | - ((hU ij.1 hi).mul (jetZ_analytic h _ X (hf ij.2 hj) hL)) | |
| 787 | - have hp : AnalyticAt ℂ (fun z => jetShiftedProfileAxial h b X z | |
| 788 | - (fun j => f j z) n) e := by | |
| 789 | - cases n with | |
| 790 | - | zero => exact analyticAt_const | |
| 791 | - | succ k => exact jetZ2_analytic h _ X (hf k (Nat.lt_succ_self k)) hL | |
| 792 | - exact hs.sub hp | |
| 793 | - | |
| 794 | 242 | end NavierStokes.AxisSourceRegularity |
+0 −109 NavierStokes/AxisTailRegularity.lean View file
| @@ -324,56 +324,6 @@ theorem pressureTerm_eq_regular_on_nonnegative {O : Set InnerPoint} (hO : IsOpen | ||
| 324 | 324 | |
| 325 | 325 | /-! ## The same finite monomials, with regular inner coefficients -/ |
| 326 | 326 | |
| 327 | -theorem transportTail_eq_regular_of_germs (N : ℕ) (q h e α : ℝ) | |
| 328 | - {v u f beta u' f' : ℕ → InnerProfile} {w : InnerPoint} | |
| 329 | - (hv : ∀ j ≤ N, v j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) | |
| 330 | - (hu : ∀ j ≤ N, u j =ᶠ[𝓝 w] u' j) | |
| 331 | - (hf : ∀ j ≤ N, f j =ᶠ[𝓝 w] f' j) (hX : w.1 ≠ 0) : | |
| 332 | - transportTail N q h e α v u f w = | |
| 333 | - ∑ i ∈ transportIndices N, | |
| 334 | - q ^ transportPower N h e i * regularTransportTerm N h e α beta u' f' i w := by | |
| 335 | - rw [transportTail_eq_finite_monomials] | |
| 336 | - apply Finset.sum_congr rfl | |
| 337 | - intro i hi | |
| 338 | - rw [transportTerm_eq_regular_of_germs N h e α hv hu hf hX hi] | |
| 339 | - | |
| 340 | -theorem pressureTail_div_eq_regular_of_germs (N : ℕ) (q h C : ℝ) | |
| 341 | - {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} {w : InnerPoint} | |
| 342 | - (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) | |
| 343 | - (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 w] u j) | |
| 344 | - (hp : ∀ j ≤ N, f.phi j =ᶠ[𝓝 w] phi j) | |
| 345 | - (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) | |
| 346 | - (hL : CoordinateAlgebra.L h w.2 ≠ 0) (hX : w.1 ≠ 0) : | |
| 347 | - pressureTail N q h C f w / (2 * w.1) = | |
| 348 | - ∑ i ∈ pressureIndices N, | |
| 349 | - q ^ pressurePower N h i * regularPressureTerm N h C phi u beta i w := by | |
| 350 | - rw [pressureTail_eq_finite_monomials, Finset.sum_div] | |
| 351 | - apply Finset.sum_congr rfl | |
| 352 | - intro i hi | |
| 353 | - rw [mul_div_assoc, pressureTerm_eq_regular_of_germs N h C hv hu hp hb hL hX hi] | |
| 354 | - | |
| 355 | -/-- The physical radial denominator contributes precisely the original | |
| 356 | -single power of `q`. Regularizing `X` costs no further power. -/ | |
| 357 | -theorem radialTail_eq_regular_of_germs {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 358 | - (N : ℕ) (C : ℝ) {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} | |
| 359 | - {p : PhysicalPoint} (hp : p.1 < 1) (hs : 0 < p.2.1) | |
| 360 | - (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 (SimilarityProfile.inner h p)] | |
| 361 | - AxisSourceRegularity.axisFactor (beta j)) | |
| 362 | - (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 (SimilarityProfile.inner h p)] u j) | |
| 363 | - (hphi : ∀ j ≤ N, f.phi j =ᶠ[𝓝 (SimilarityProfile.inner h p)] phi j) | |
| 364 | - (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) (SimilarityProfile.inner h p)) | |
| 365 | - (hL : CoordinateAlgebra.L h (SimilarityProfile.inner h p).2 ≠ 0) : | |
| 366 | - pressureTail N (SimilarityProfile.q h p) h C f (SimilarityProfile.inner h p) / | |
| 367 | - (2 * p.2.1) = | |
| 368 | - ∑ i ∈ pressureIndices N, | |
| 369 | - SimilarityProfile.q h p ^ (pressurePower N h i - 1) * | |
| 370 | - regularPressureTerm N h C phi u beta i (SimilarityProfile.inner h p) := by | |
| 371 | - rw [radialTail_eq_finite_monomials hh hh1 N C f hp hs] | |
| 372 | - apply Finset.sum_congr rfl | |
| 373 | - intro i hi | |
| 374 | - rw [pressureTerm_eq_regular_of_germs N h C hv hu hphi hb hL | |
| 375 | - (LeadingStress.inner_X_pos hh hh1 hp hs).ne' hi] | |
| 376 | - | |
| 377 | 327 | theorem angular_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) |
| 378 | 328 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 379 | 329 | 2 * (N : ℝ) * h - 2 ≤ transportPower N h (angularExponent h) i := by |
| @@ -395,63 +345,4 @@ theorem radial_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) | ||
| 395 | 345 | |
| 396 | 346 | /-! ## Actual smoothness through `X = 0` and even radial pullbacks -/ |
| 397 | 347 | |
| 398 | -theorem radiusPoint_contDiff : ContDiff ℝ ∞ radiusPoint := by | |
| 399 | - change ContDiff ℝ ∞ (fun w : InnerPoint => (w.1 ^ 2 / 2, w.2)) | |
| 400 | - exact ((contDiff_fst.pow 2).div_const 2).prodMk contDiff_snd | |
| 401 | - | |
| 402 | -theorem toRadius_smoothOn {O : Set InnerPoint} {f : InnerProfile} | |
| 403 | - (hf : ContDiffOn ℝ ∞ f O) : | |
| 404 | - ContDiffOn ℝ ∞ (toRadius f) (radiusPoint ⁻¹' O) := | |
| 405 | - hf.comp radiusPoint_contDiff.contDiffOn (fun _ hw => hw) | |
| 406 | - | |
| 407 | -theorem toRadius_even (f : InnerProfile) (R η : ℝ) : | |
| 408 | - toRadius f (-R, η) = toRadius f (R, η) := by | |
| 409 | - simp [toRadius, radiusPoint] | |
| 410 | - | |
| 411 | -theorem regularTransportTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 412 | - (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) | |
| 413 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 414 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 415 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 416 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 417 | - {i : TailIndex} (hi : i ∈ transportIndices N) : | |
| 418 | - ContDiffOn ℝ ∞ (regularTransportTerm N h e α beta u f i) | |
| 419 | - (O ∩ {w | 0 ≤ w.1}) := | |
| 420 | - (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi).mono | |
| 421 | - Set.inter_subset_left | |
| 422 | - | |
| 423 | -theorem regularPressureTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 424 | - (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) | |
| 425 | - (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) | |
| 426 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 427 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 428 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 429 | - {i : PressureIndex} (hi : i ∈ pressureIndices N) : | |
| 430 | - ContDiffOn ℝ ∞ (regularPressureTerm N h C phi u beta i) | |
| 431 | - (O ∩ {w | 0 ≤ w.1}) := | |
| 432 | - (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi).mono | |
| 433 | - Set.inter_subset_left | |
| 434 | - | |
| 435 | -theorem regularTransportTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 436 | - (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) | |
| 437 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 438 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 439 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 440 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 441 | - {i : TailIndex} (hi : i ∈ transportIndices N) : | |
| 442 | - ContDiffOn ℝ ∞ (toRadius (regularTransportTerm N h e α beta u f i)) | |
| 443 | - (radiusPoint ⁻¹' O) := | |
| 444 | - toRadius_smoothOn (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi) | |
| 445 | - | |
| 446 | -theorem regularPressureTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 447 | - (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) | |
| 448 | - (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) | |
| 449 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 450 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 451 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 452 | - {i : PressureIndex} (hi : i ∈ pressureIndices N) : | |
| 453 | - ContDiffOn ℝ ∞ (toRadius (regularPressureTerm N h C phi u beta i)) | |
| 454 | - (radiusPoint ⁻¹' O) := | |
| 455 | - toRadius_smoothOn (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi) | |
| 456 | - | |
| 457 | 348 | end NavierStokes.AxisTailRegularity |
+0 −181 NavierStokes/AxisWeightEstimates.lean View file
| @@ -247,10 +247,6 @@ theorem weight_radial_shift {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | ||
| 247 | 247 | (squareDecay_pos n).le (mul_nonneg (by norm_num) (coreWeight_pos hε (n + 1) m).le) |
| 248 | 248 | _ = _ := by ring |
| 249 | 249 | |
| 250 | -theorem weight_radial_shift_ratio {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | |
| 251 | - weight ε n m / weight ε (n + 1) m ≤ 80 := by | |
| 252 | - exact (div_le_iff₀ (weight_pos hε (n + 1) m)).2 (weight_radial_shift hε n m) | |
| 253 | - | |
| 254 | 250 | /-- Assigning the output radial shift to a parameter-differentiated factor. -/ |
| 255 | 251 | theorem weight_parameter_radial_shift {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : |
| 256 | 252 | weight ε i (k + 1) ≤ (80 / ε) * ((i : ℝ) + 1) * weight ε (i + 1) k := by |
| @@ -267,10 +263,6 @@ theorem weight_parameter_radial_shift {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : | ||
| 267 | 263 | (4 * squareDecay (i + 1) * squareDecay k) := mul_le_mul_of_nonneg_left hd hc |
| 268 | 264 | _ = _ := by ring |
| 269 | 265 | |
| 270 | -theorem weight_parameter_radial_shift_ratio {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : | |
| 271 | - weight ε i (k + 1) / weight ε (i + 1) k ≤ (80 / ε) * ((i : ℝ) + 1) := by | |
| 272 | - exact (div_le_iff₀ (weight_pos hε (i + 1) k)).2 (weight_parameter_radial_shift hε i k) | |
| 273 | - | |
| 274 | 266 | /-- The finite weight convolution associated with radial multiplication and |
| 275 | 267 | the parameter Leibniz rule. -/ |
| 276 | 268 | def productWeightSum (ε : ℝ) (n m : ℕ) : ℝ := |
| @@ -417,98 +409,6 @@ theorem shiftedProductWeightSum_le {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | ||
| 417 | 409 | (weight_pos hε _ _).le |
| 418 | 410 | exact hsub.trans (productWeightSum_le hε (n + 1) m) |
| 419 | 411 | |
| 420 | -/-- A single mixed term after applying the inverse radial divisor. -/ | |
| 421 | -theorem mixed_weight_term_le {ε : ℝ} (hε : 0 < ε) {r n i j : ℕ} | |
| 422 | - (hr : 1 ≤ r) (hij : i + j = n) (m k l : ℕ) : | |
| 423 | - (((m.choose k : ℝ) * j) / radialDivisor r n) * weight ε i (k + 1) * weight ε j l ≤ | |
| 424 | - (80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l) := by | |
| 425 | - have hD := radialDivisor_pos hr n | |
| 426 | - have hcoef : 0 ≤ ((m.choose k : ℝ) * j) / radialDivisor r n := by positivity | |
| 427 | - have hfactor : (((i : ℝ) + 1) * j) / radialDivisor r n ≤ 1 := by | |
| 428 | - apply (div_le_iff₀ hD).2 | |
| 429 | - simpa only [one_mul] using mixed_factors_le_divisor hr hij | |
| 430 | - have hnonneg : 0 ≤ (80 / ε) * | |
| 431 | - ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l) := by | |
| 432 | - exact mul_nonneg (by positivity) | |
| 433 | - (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (weight_pos hε _ _).le) (weight_pos hε _ _).le) | |
| 434 | - calc | |
| 435 | - _ ≤ (((m.choose k : ℝ) * j) / radialDivisor r n) * | |
| 436 | - ((80 / ε) * ((i : ℝ) + 1) * weight ε (i + 1) k) * weight ε j l := by | |
| 437 | - exact mul_le_mul_of_nonneg_right | |
| 438 | - (mul_le_mul_of_nonneg_left (weight_parameter_radial_shift hε i k) hcoef) | |
| 439 | - (weight_pos hε _ _).le | |
| 440 | - _ = ((80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l)) * | |
| 441 | - ((((i : ℝ) + 1) * j) / radialDivisor r n) := by ring | |
| 442 | - _ ≤ ((80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l)) * 1 := | |
| 443 | - mul_le_mul_of_nonneg_left hfactor hnonneg | |
| 444 | - _ = _ := mul_one _ | |
| 445 | - | |
| 446 | -def mixedWeightSum (ε : ℝ) (r n m : ℕ) : ℝ := | |
| 447 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 448 | - (((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 449 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2 | |
| 450 | - | |
| 451 | -theorem mixedWeightSum_le {ε : ℝ} (hε : 0 < ε) {r : ℕ} (hr : 1 ≤ r) (n m : ℕ) : | |
| 452 | - mixedWeightSum ε r n m ≤ (5120 / ε) * weight ε (n + 1) m := by | |
| 453 | - have hsum : mixedWeightSum ε r n m ≤ | |
| 454 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 455 | - (80 / ε) * ((m.choose kl.1 : ℝ) * weight ε (ij.1 + 1) kl.1 * weight ε ij.2 kl.2) := by | |
| 456 | - apply Finset.sum_le_sum | |
| 457 | - intro ij hij | |
| 458 | - apply Finset.sum_le_sum | |
| 459 | - intro kl hkl | |
| 460 | - exact mixed_weight_term_le hε hr (mem_antidiagonal.mp hij) m kl.1 kl.2 | |
| 461 | - have hfactor : | |
| 462 | - (∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 463 | - (80 / ε) * ((m.choose kl.1 : ℝ) * weight ε (ij.1 + 1) kl.1 * weight ε ij.2 kl.2)) = | |
| 464 | - (80 / ε) * shiftedProductWeightSum ε n m := by | |
| 465 | - simp only [shiftedProductWeightSum, Finset.mul_sum] | |
| 466 | - rw [hfactor] at hsum | |
| 467 | - calc | |
| 468 | - _ ≤ (80 / ε) * shiftedProductWeightSum ε n m := hsum | |
| 469 | - _ ≤ (80 / ε) * (64 * weight ε (n + 1) m) := | |
| 470 | - mul_le_mul_of_nonneg_left (shiftedProductWeightSum_le hε n m) (by positivity) | |
| 471 | - _ = _ := by ring | |
| 472 | - | |
| 473 | -/-- The coefficient at radial degree n+1 of J_r((∂η f) D_Y g). | |
| 474 | -The radial divisor is distributed over its finite convolution sum. -/ | |
| 475 | -def inverseMixedJet (r : ℕ) (f g : ℕ → ℕ → ℝ) (n m : ℕ) : ℝ := | |
| 476 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 477 | - (((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 478 | - f ij.1 (kl.1 + 1) * g ij.2 kl.2 | |
| 479 | - | |
| 480 | -/-- The mixed derivative is bounded after radial inversion, with explicit | |
| 481 | -constant 5120/ε. Neither individual derivative is assumed bounded. -/ | |
| 482 | -theorem inverseMixedJet_bound {ε F G : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) (hG : 0 ≤ G) | |
| 483 | - {r : ℕ} (hr : 1 ≤ r) (f g : ℕ → ℕ → ℝ) | |
| 484 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) | |
| 485 | - (hg : ∀ n m, |g n m| ≤ G * weight ε n m) (n m : ℕ) : | |
| 486 | - |inverseMixedJet r f g n m| ≤ (5120 / ε) * F * G * weight ε (n + 1) m := by | |
| 487 | - have hD := radialDivisor_pos hr n | |
| 488 | - have hsum : |inverseMixedJet r f g n m| ≤ | |
| 489 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 490 | - (F * G) * ((((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 491 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2) := by | |
| 492 | - apply abs_double_sum_le | |
| 493 | - intro ij hij kl hkl | |
| 494 | - exact abs_bilinear_term_le _ _ _ _ _ _ _ (by positivity) hF hG | |
| 495 | - (weight_pos hε _ _).le (weight_pos hε _ _).le (hf _ _) (hg _ _) | |
| 496 | - have hfactor : | |
| 497 | - (∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 498 | - (F * G) * ((((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 499 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2)) = | |
| 500 | - (F * G) * mixedWeightSum ε r n m := by | |
| 501 | - simp only [mixedWeightSum, Finset.mul_sum] | |
| 502 | - rw [hfactor] at hsum | |
| 503 | - calc | |
| 504 | - _ ≤ (F * G) * mixedWeightSum ε r n m := hsum | |
| 505 | - _ ≤ (F * G) * ((5120 / ε) * weight ε (n + 1) m) := | |
| 506 | - mul_le_mul_of_nonneg_left (mixedWeightSum_le hε hr n m) (mul_nonneg hF hG) | |
| 507 | - _ = _ := by ring | |
| 508 | - | |
| 509 | -/-- Coefficients of the radial averaging operator `Bf(Y)=∫₀¹ f(tY)dt`. -/ | |
| 510 | -def averageJet (f : ℕ → ℕ → ℝ) (n m : ℕ) : ℝ := f n m / ((n : ℝ) + 1) | |
| 511 | - | |
| 512 | 412 | /-- Coefficients of the zero-datum primitive. -/ |
| 513 | 413 | def primitiveJet (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ |
| 514 | 414 | | 0, _ => 0 |
| @@ -519,35 +419,6 @@ def regularInverseJet (r : ℕ) (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | ||
| 519 | 419 | | 0, _ => 0 |
| 520 | 420 | | n + 1, m => f n m / radialDivisor r n |
| 521 | 421 | |
| 522 | -/-- The primitive is applied together with the parameter derivative. -/ | |
| 523 | -def parameterPrimitiveJet (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | |
| 524 | - | 0, _ => 0 | |
| 525 | - | n + 1, m => f n (m + 1) / ((n : ℝ) + 1) | |
| 526 | - | |
| 527 | -theorem averageJet_bound {ε F : ℝ} (_hε : 0 < ε) (_hF : 0 ≤ F) | |
| 528 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 529 | - |averageJet f n m| ≤ F * weight ε n m := by | |
| 530 | - unfold averageJet | |
| 531 | - rw [abs_div, abs_of_pos (by positivity : 0 < (n : ℝ) + 1)] | |
| 532 | - exact (div_le_self (abs_nonneg _) (by | |
| 533 | - have hn : (0 : ℝ) ≤ n := by positivity | |
| 534 | - linarith)).trans (hf n m) | |
| 535 | - | |
| 536 | -theorem primitiveJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 537 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 538 | - |primitiveJet f n m| ≤ 80 * F * weight ε n m := by | |
| 539 | - cases n with | |
| 540 | - | zero => | |
| 541 | - simpa only [primitiveJet, abs_zero] using | |
| 542 | - (mul_nonneg (mul_nonneg (by norm_num) hF) (weight_pos hε 0 m).le) | |
| 543 | - | succ n => | |
| 544 | - calc | |
| 545 | - |primitiveJet f (n + 1) m| = |averageJet f n m| := rfl | |
| 546 | - _ ≤ F * weight ε n m := averageJet_bound hε hF f hf n m | |
| 547 | - _ ≤ F * (80 * weight ε (n + 1) m) := | |
| 548 | - mul_le_mul_of_nonneg_left (weight_radial_shift hε n m) hF | |
| 549 | - _ = _ := by ring | |
| 550 | - | |
| 551 | 422 | theorem radialDivisor_ge_one {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : 1 ≤ radialDivisor r n := by |
| 552 | 423 | have hn : (0 : ℝ) ≤ n := by positivity |
| 553 | 424 | have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr |
| @@ -556,58 +427,6 @@ theorem radialDivisor_ge_one {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : 1 ≤ radialDi | ||
| 556 | 427 | simpa only [one_mul, radialDivisor] using |
| 557 | 428 | (mul_le_mul ha hb (by norm_num : (0 : ℝ) ≤ 1) (by positivity : 0 ≤ (n : ℝ) + 1)) |
| 558 | 429 | |
| 559 | -theorem regularInverseJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 560 | - {r : ℕ} (hr : 1 ≤ r) (f : ℕ → ℕ → ℝ) | |
| 561 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 562 | - |regularInverseJet r f n m| ≤ 80 * F * weight ε n m := by | |
| 563 | - cases n with | |
| 564 | - | zero => | |
| 565 | - simpa only [regularInverseJet, abs_zero] using | |
| 566 | - (mul_nonneg (mul_nonneg (by norm_num) hF) (weight_pos hε 0 m).le) | |
| 567 | - | succ n => | |
| 568 | - rw [regularInverseJet, abs_div, abs_of_pos (radialDivisor_pos hr n)] | |
| 569 | - calc | |
| 570 | - |f n m| / radialDivisor r n ≤ |f n m| := | |
| 571 | - div_le_self (abs_nonneg _) (radialDivisor_ge_one hr n) | |
| 572 | - _ ≤ F * weight ε n m := hf n m | |
| 573 | - _ ≤ F * (80 * weight ε (n + 1) m) := | |
| 574 | - mul_le_mul_of_nonneg_left (weight_radial_shift hε n m) hF | |
| 575 | - _ = _ := by ring | |
| 576 | - | |
| 577 | -theorem parameterPrimitiveJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 578 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 579 | - |parameterPrimitiveJet f n m| ≤ (80 / ε) * F * weight ε n m := by | |
| 580 | - cases n with | |
| 581 | - | zero => | |
| 582 | - simpa only [parameterPrimitiveJet, abs_zero] using | |
| 583 | - (mul_nonneg (mul_nonneg (show 0 ≤ 80 / ε by positivity) hF) (weight_pos hε 0 m).le) | |
| 584 | - | succ n => | |
| 585 | - rw [parameterPrimitiveJet, abs_div, abs_of_pos (by positivity : 0 < (n : ℝ) + 1)] | |
| 586 | - apply (div_le_iff₀ (by positivity : 0 < (n : ℝ) + 1)).2 | |
| 587 | - calc | |
| 588 | - |f n (m + 1)| ≤ F * weight ε n (m + 1) := hf n (m + 1) | |
| 589 | - _ ≤ F * ((80 / ε) * ((n : ℝ) + 1) * weight ε (n + 1) m) := | |
| 590 | - mul_le_mul_of_nonneg_left (weight_parameter_radial_shift hε n m) hF | |
| 591 | - _ = _ := by ring | |
| 592 | - | |
| 593 | -/-- Put the already estimated mixed coefficient in its output radial degree. -/ | |
| 594 | -def regularInverseMixedJet (r : ℕ) (f g : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | |
| 595 | - | 0, _ => 0 | |
| 596 | - | n + 1, m => inverseMixedJet r f g n m | |
| 597 | - | |
| 598 | -theorem regularInverseMixedJet_bound {ε F G : ℝ} | |
| 599 | - (hε : 0 < ε) (hF : 0 ≤ F) (hG : 0 ≤ G) {r : ℕ} (hr : 1 ≤ r) | |
| 600 | - (f g : ℕ → ℕ → ℝ) | |
| 601 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) | |
| 602 | - (hg : ∀ n m, |g n m| ≤ G * weight ε n m) (n m : ℕ) : | |
| 603 | - |regularInverseMixedJet r f g n m| ≤ (5120 / ε) * F * G * weight ε n m := by | |
| 604 | - cases n with | |
| 605 | - | zero => | |
| 606 | - simpa only [regularInverseMixedJet, abs_zero] using | |
| 607 | - (mul_nonneg (mul_nonneg (mul_nonneg (show 0 ≤ 5120 / ε by positivity) hF) hG) | |
| 608 | - (weight_pos hε 0 m).le) | |
| 609 | - | succ n => exact inverseMixedJet_bound hε hF hG hr f g hf hg n m | |
| 610 | - | |
| 611 | 430 | end |
| 612 | 431 | |
| 613 | 432 | end NavierStokes.AxisWeightEstimates |
+16 −0 routes/s1-ns-axis-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axis-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1): delete the declarations of the family `NavierStokes/Axis*` | |
| 8 | +that nothing uses — 216 declarations in 18 files, 2066 lines, deletions only. The | |
| 9 | +deletions were cut from Treant's run of 2026-12-03 and re-read against this project's | |
| 10 | +declaration graph, so that a declaration the paper's results reach stays (see the pull | |
| 11 | +request body). | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +The pull request into `main` is open; wait for `build`. If it reports an error, the | |
| 16 | +declaration it names is still used by one that stays and is put back on this branch. | |