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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
Sign in to open a pull request.
1 commit
+0 −61 NavierStokes/SlowBaseEndpoint.lean View file
| @@ -52,12 +52,6 @@ theorem profileExtension_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ | ||
| 52 | 52 | exact (hc.fst.rpow_const_of_ne hq.ne').smul |
| 53 | 53 | ((slowSum_smoothAt ha hf h hq).comp p hc) |
| 54 | 54 | |
| 55 | -theorem profileExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} | |
| 56 | - (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} | |
| 57 | - (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) : | |
| 58 | - ContDiffOn ℝ ∞ (profileExtension a h b f) (EndpointCoordinates.domain h) := | |
| 59 | - fun _ hp => (profileExtension_smoothAt ha hh hh1 hf b hp).contDiffWithinAt | |
| 60 | - | |
| 61 | 55 | theorem profileExtension_eq_physical (a : ℕ → ℕ) {h : ℝ} |
| 62 | 56 | (hh : 0 < h) (hh1 : h < 1 / 2) (b : ℝ) (f : ℕ → Inner → V) |
| 63 | 57 | {p : PhysicalPoint} (hp : p.1 < 1) : |
| @@ -86,34 +80,6 @@ theorem cartesianProfileExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) | ||
| 86 | 80 | ContDiffOn ℝ ∞ (cartesianProfileExtension a h b f) (EndpointCoordinates.cartesianDomain h) := |
| 87 | 81 | fun _ hz => (cartesianProfileExtension_smoothAt ha hh hh1 hf b hz).contDiffWithinAt |
| 88 | 82 | |
| 89 | -/-- One neighborhood and one finite index work for every coefficient | |
| 90 | -family. In particular the seven bundled fields keep the same schedule. -/ | |
| 91 | -theorem endpoint_common_finite_index {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} | |
| 92 | - (hh : 0 < h) (hh1 : h < 1 / 2) {x : Space} (hx : x 2 ≠ 0) : | |
| 93 | - ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ | |
| 94 | - U ⊆ EndpointCoordinates.cartesianDomain h ∧ ∃ N : ℕ, | |
| 95 | - ∀ z ∈ U, ∀ f : ℕ → Inner → V, | |
| 96 | - (∀ j : ℕ, N ≤ j → slowStage a h f j (EndpointCoordinates.cartesianExtension h z) = 0) ∧ | |
| 97 | - slowSum a h f (EndpointCoordinates.cartesianExtension h z) = | |
| 98 | - f 0 (EndpointCoordinates.cartesianExtension h z).2 + | |
| 99 | - ∑ j ∈ Finset.range N, slowStage a h f j (EndpointCoordinates.cartesianExtension h z) := by | |
| 100 | - obtain ⟨U, hU, hxU, hsub, _, hroot, hq⟩ := | |
| 101 | - EndpointCoordinates.cartesian_endpoint_neighborhood hh hh1 hx | |
| 102 | - obtain ⟨N, hN⟩ := SmoothCutoffs.scaledCutoffs_zero_on_common_neighborhood | |
| 103 | - (fun j => (a j : ℝ)) (SolenoidalDiagonal.realScales_tendsto ha) | |
| 104 | - (EndpointCoordinates.endpointRoot_pos (2 * h) hx) | |
| 105 | - refine ⟨U, hU, hxU, hsub, N, ?_⟩ | |
| 106 | - intro z hz f | |
| 107 | - have hzero : ∀ j : ℕ, N ≤ j → | |
| 108 | - slowStage a h f j (EndpointCoordinates.cartesianExtension h z) = 0 := by | |
| 109 | - intro j hj | |
| 110 | - simp only [slowStage, SolenoidalDiagonal.cutStage, | |
| 111 | - hN j hj _ (hq z hz).1, zero_smul] | |
| 112 | - refine ⟨hzero, ?_⟩ | |
| 113 | - change f 0 _ + (∑' j, slowStage a h f j _) = _ | |
| 114 | - rw [tsum_eq_sum (s := Finset.range N) (fun j hj => | |
| 115 | - hzero j (Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj)))] | |
| 116 | - | |
| 117 | 83 | end LocallyFiniteProfiles |
| 118 | 84 | |
| 119 | 85 | section ActualFields |
| @@ -408,14 +374,6 @@ noncomputable def finalPressureNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} | ||
| 408 | 374 | pressureNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 409 | 375 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 410 | 376 | |
| 411 | -noncomputable def finalAnchoredPotentialNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} | |
| 412 | - (hx : x 2 ≠ 0) : | |
| 413 | - JointResidualLimits.OneSidedExtension | |
| 414 | - (anchoredPotential (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization | |
| 415 | - (FinalSlowBase.coefficients H v)) x := | |
| 416 | - anchoredPotentialNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) | |
| 417 | - F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx | |
| 418 | - | |
| 419 | 377 | /-- This includes the central plane and the spatial axis away from zero. |
| 420 | 378 | The inputs are the actual finite profile witnesses, not endpoint assumptions. -/ |
| 421 | 379 | theorem final_fields_awayExtensions (upper : ℝ) (B : ℕ) : |
| @@ -426,25 +384,6 @@ theorem final_fields_awayExtensions (upper : ℝ) (B : ℕ) : | ||
| 426 | 384 | (EntranceAlignedBase.modulated_outer H v) (FinalSlowBase.coefficients_smooth H v) |
| 427 | 385 | (ModulatedExterior.actual_squared_swirl_restored v) (FinalSlowBase.scales_strictMono H v upper B) |
| 428 | 386 | |
| 429 | -theorem final_potential_jets_tendsto (upper : ℝ) (B : ℕ) {x : Space} | |
| 430 | - (hx : x 2 ≠ 0) (n : ℕ) : | |
| 431 | - Tendsto (iteratedFDeriv ℝ n (FinalSlowBase.vectorPotential H v upper B)) | |
| 432 | - (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) | |
| 433 | - (𝓝 (iteratedFDeriv ℝ n (finalPotentialNonzeroAxial H v upper B hx).value (1, x))) := | |
| 434 | - (finalPotentialNonzeroAxial H v upper B hx).jet_tendsto n | |
| 435 | - | |
| 436 | -/-- The already constructed finite profile gives actual endpoint | |
| 437 | -extensions for the selected slow base without another profile input. -/ | |
| 438 | -theorem constructed_fields_awayExtensions (upper : ℝ) (B : ℕ) : | |
| 439 | - JointResidualLimits.AwayExtensions | |
| 440 | - (FinalSlowBase.velocity FinalSlowBase.actualProfile.certificate | |
| 441 | - FinalSlowBase.actualProfile.modulation upper B) ∧ | |
| 442 | - JointResidualLimits.AwayExtensions | |
| 443 | - (FinalSlowBase.pressure FinalSlowBase.actualProfile.certificate | |
| 444 | - FinalSlowBase.actualProfile.modulation upper B) := | |
| 445 | - final_fields_awayExtensions FinalSlowBase.actualProfile.certificate | |
| 446 | - FinalSlowBase.actualProfile.modulation upper B | |
| 447 | - | |
| 448 | 387 | end FinalBase |
| 449 | 388 | |
| 450 | 389 | end |
+0 −203 NavierStokes/SlowBorelBase.lean View file
| @@ -436,67 +436,6 @@ theorem cutPrefix_eventually_uncut (a : ℕ → ℕ) (h : ℝ) | ||
| 436 | 436 | filter_upwards [hb y continuous_fst.continuousAt hy] with z hz |
| 437 | 437 | exact congrArg (fun v => f 0 z.2 + v) hz |
| 438 | 438 | |
| 439 | -/-- Every requested finite ordinary jet has a sufficiently late *uncut* | |
| 440 | -prefix with any prescribed remainder power. The prefix depends on both | |
| 441 | -requests; this does not assert that one fixed tail is flat to all orders. -/ | |
| 442 | -theorem exists_ordinary_uncut_tail {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) | |
| 443 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) | |
| 444 | - {K : Set Inner} (ha : AdmissibleScales h f K a) (M Jmin : ℕ) (P : ℝ) : | |
| 445 | - ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ : ℝ, 0 < δ ∧ | |
| 446 | - ∀ m ≤ M, ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ K, | |
| 447 | - ‖iteratedFDeriv ℝ m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ | |
| 448 | - (1 / 2 : ℝ) ^ J * q ^ P := by | |
| 449 | - have htop : Tendsto (fun j : ℕ => h * j) atTop atTop := | |
| 450 | - tendsto_natCast_atTop_atTop.const_mul_atTop hh | |
| 451 | - obtain ⟨J, hJmin, hJM, hgain⟩ := | |
| 452 | - DiagonalJetBounds.exists_prefix_gain (fun j => h * j) (fun m => (m : ℝ)) htop M Jmin P | |
| 453 | - obtain ⟨δ, hδ, hprefix⟩ := cutPrefix_eventually_uncut a h f J | |
| 454 | - refine ⟨J, hJmin, hJM, min δ 1, lt_min hδ (by norm_num), ?_⟩ | |
| 455 | - intro m hm q hq hsmall w hw | |
| 456 | - have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le | |
| 457 | - have hp := hprefix (q, w) (by simpa only [abs_of_pos hq] using | |
| 458 | - (hsmall.trans_le (min_le_left _ _))) | |
| 459 | - have hdiff : (fun y => slowSum a h f y - cutPrefix a h f J y) =ᶠ[𝓝 (q, w)] | |
| 460 | - (fun y => slowSum a h f y - uncutPrefix h f J y) := | |
| 461 | - hp.mono (fun y hy => congrArg (fun z => slowSum a h f y - z) hy) | |
| 462 | - have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hdiff m).self_of_nhds | |
| 463 | - rw [← he] | |
| 464 | - exact (ordinary_tail_bound hh hf ha hq hq1 hw J m (by omega)).trans | |
| 465 | - (mul_le_mul_of_nonneg_left | |
| 466 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 (by simpa using hgain m hm)) (by positivity)) | |
| 467 | - | |
| 468 | -theorem exists_blown_uncut_tail {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) | |
| 469 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) | |
| 470 | - {K : Set Inner} (ha : AdmissibleScales h f K a) (M Jmin : ℕ) (P : ℝ) : | |
| 471 | - ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ : ℝ, 0 < δ ∧ | |
| 472 | - ∀ m ≤ M, ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ K, | |
| 473 | - ‖blownJet m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ | |
| 474 | - (1 / 2 : ℝ) ^ J * q ^ P := by | |
| 475 | - have htop : Tendsto (fun j : ℕ => h * j) atTop atTop := | |
| 476 | - tendsto_natCast_atTop_atTop.const_mul_atTop hh | |
| 477 | - obtain ⟨J, hJmin, hJM, hgain⟩ := | |
| 478 | - DiagonalJetBounds.exists_prefix_gain (fun j => h * j) (fun _ => 0) htop M Jmin P | |
| 479 | - obtain ⟨δ, hδ, hprefix⟩ := cutPrefix_eventually_uncut a h f J | |
| 480 | - refine ⟨J, hJmin, hJM, min δ 1, lt_min hδ (by norm_num), ?_⟩ | |
| 481 | - intro m hm q hq hsmall w hw | |
| 482 | - have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le | |
| 483 | - have hp := hprefix (q, w) (by simpa only [abs_of_pos hq] using | |
| 484 | - (hsmall.trans_le (min_le_left _ _))) | |
| 485 | - have hmap : scaleMap q (1, w) = (q, w) := by simp | |
| 486 | - have ht : Tendsto (scaleMap q) (𝓝 (1, w)) (𝓝 (q, w)) := by | |
| 487 | - rw [← hmap] | |
| 488 | - exact (scaleMap q).continuous.continuousAt | |
| 489 | - have hdiff : (fun y => slowSum a h f y - cutPrefix a h f J y) =ᶠ[𝓝 (q, w)] | |
| 490 | - (fun y => slowSum a h f y - uncutPrefix h f J y) := | |
| 491 | - hp.mono (fun y hy => congrArg (fun z => slowSum a h f y - z) hy) | |
| 492 | - have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 493 | - (hdiff.comp_tendsto ht) m).self_of_nhds | |
| 494 | - change ‖iteratedFDeriv ℝ m _ (1, w)‖ ≤ _ | |
| 495 | - rw [← he] | |
| 496 | - exact (blown_tail_bound hh hf ha hq hq1 hw J m (by omega)).trans | |
| 497 | - (mul_le_mul_of_nonneg_left | |
| 498 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 (by simpa using hgain m hm)) (by positivity)) | |
| 499 | - | |
| 500 | 439 | /-- A fixed stage keeps its full q^(2hj) order. Only the tail estimates spend |
| 501 | 440 | half this gain to absorb coefficient growth. -/ |
| 502 | 441 | theorem exists_stage_blown_power_bound {f : ℕ → Inner → V} |
| @@ -734,49 +673,6 @@ theorem physical_composition_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 734 | 673 | (fun i hi hin => by simpa only [iteratedFDerivWithin_of_isOpen i hs hp] using hD i hi hin) |
| 735 | 674 | simpa only [iteratedFDerivWithin_of_isOpen n hs hp] using hb |
| 736 | 675 | |
| 737 | -/-- Actual physical derivatives of a tail have arbitrary prescribed decay | |
| 738 | -after choosing the prefix for that derivative order and requested power. -/ | |
| 739 | -theorem exists_physical_uncut_tail {a : ℕ → ℕ} {h : ℝ} | |
| 740 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 741 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi : ℝ) | |
| 742 | - (ha : AdmissibleScales h f (innerBox lo hi) a) (m Jmin : ℕ) (P : ℝ) : | |
| 743 | - ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ | |
| 744 | - ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → | |
| 745 | - (physicalChart h p).2.1 ∈ Icc lo hi → | |
| 746 | - ‖iteratedFDeriv ℝ m | |
| 747 | - ((fun y => slowSum a h f y - uncutPrefix h f J y) ∘ physicalChart h) p‖ ≤ | |
| 748 | - C * (physicalChart h p).1 ^ P := by | |
| 749 | - obtain ⟨J, hJmin, hJm, δ, hδ, hb⟩ := exists_ordinary_uncut_tail hh hf ha m Jmin (P + m) | |
| 750 | - obtain ⟨D, hD, hDb⟩ := physicalChart_finite_bound hh hh1 lo hi m | |
| 751 | - let C := (m.factorial : ℝ) * (1 / 2 : ℝ) ^ J * D ^ m | |
| 752 | - refine ⟨J, hJmin, hJm, min δ 1, C, lt_min hδ (by norm_num), ?_, ?_⟩ | |
| 753 | - · dsimp [C] | |
| 754 | - have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD | |
| 755 | - positivity | |
| 756 | - intro p hp hsmall hX | |
| 757 | - have hq := physicalChart_positive hh hh1 hp | |
| 758 | - have hq1 : (physicalChart h p).1 ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le | |
| 759 | - have hw := physicalChart_inner_mem hh hh1 hp hX | |
| 760 | - have hFs : ContDiffOn ℝ ∞ (fun y => slowSum a h f y - uncutPrefix h f J y) | |
| 761 | - {y | 0 < y.1} := by | |
| 762 | - apply (slowSum_smoothOn ha.strictMono hf h).sub | |
| 763 | - intro y hy | |
| 764 | - apply ContDiffAt.contDiffWithinAt | |
| 765 | - apply ((hf 0).comp contDiff_snd).contDiffAt.add | |
| 766 | - exact ContDiffAt.sum (fun j _ => positiveCoefficient_smoothAt hf h j hy) | |
| 767 | - have hbound := physical_composition_bound hh hh1 hFs hp m | |
| 768 | - (C := (1 / 2 : ℝ) ^ J * (physicalChart h p).1 ^ (P + m)) | |
| 769 | - (D := D / (physicalChart h p).1) | |
| 770 | - (fun i hi => hb i hi _ hq (hsmall.trans_le (min_le_left _ _)) _ hw) | |
| 771 | - (hDb p hp hq1 hX) | |
| 772 | - refine hbound.trans_eq ?_ | |
| 773 | - dsimp [C] | |
| 774 | - rw [Real.rpow_add hq, Real.rpow_natCast, div_pow] | |
| 775 | - have hqn : (physicalChart h p).1 ^ m ≠ 0 := pow_ne_zero m hq.ne' | |
| 776 | - field_simp [hq.ne', hqn] ; simp [← mul_pow] | |
| 777 | - congr 1 | |
| 778 | - field_simp | |
| 779 | - | |
| 780 | 676 | end PhysicalCoordinates |
| 781 | 677 | |
| 782 | 678 | section PhysicalProfiles |
| @@ -1004,36 +900,6 @@ theorem powered_physical_tail_of_chart_bound {a : ℕ → ℕ} {h : ℝ} | ||
| 1004 | 900 | dsimp [C] |
| 1005 | 901 | linarith |
| 1006 | 902 | |
| 1007 | -theorem exists_powered_physical_tail_finite {a : ℕ → ℕ} {h : ℝ} | |
| 1008 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1009 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) | |
| 1010 | - (ha : AdmissibleScales h f (innerBox lo hi) a) (M Jmin : ℕ) (P : ℝ) : | |
| 1011 | - ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ | |
| 1012 | - ∀ m ≤ M, ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → | |
| 1013 | - (physicalChart h p).2.1 ∈ Icc lo hi → | |
| 1014 | - ‖iteratedFDeriv ℝ m | |
| 1015 | - (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ | |
| 1016 | - C * (physicalChart h p).1 ^ P := by | |
| 1017 | - obtain ⟨J, hJmin, hJM, δ, hδ, hb⟩ := | |
| 1018 | - exists_ordinary_uncut_tail hh hf ha M Jmin (P - b + M) | |
| 1019 | - obtain ⟨δ', C, hδ', hC, hbound⟩ := powered_physical_tail_of_chart_bound | |
| 1020 | - hh hh1 hf lo hi b ha.strictMono J M P ((1 / 2 : ℝ) ^ J) δ (by positivity) hδ hb | |
| 1021 | - exact ⟨J, hJmin, hJM, δ', C, hδ', hC, hbound⟩ | |
| 1022 | - | |
| 1023 | -theorem exists_powered_physical_tail {a : ℕ → ℕ} {h : ℝ} | |
| 1024 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1025 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) | |
| 1026 | - (ha : AdmissibleScales h f (innerBox lo hi) a) (m Jmin : ℕ) (P : ℝ) : | |
| 1027 | - ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ | |
| 1028 | - ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → | |
| 1029 | - (physicalChart h p).2.1 ∈ Icc lo hi → | |
| 1030 | - ‖iteratedFDeriv ℝ m | |
| 1031 | - (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ | |
| 1032 | - C * (physicalChart h p).1 ^ P := by | |
| 1033 | - obtain ⟨J, hJ, hJm, δ, C, hδ, hC, hb⟩ := | |
| 1034 | - exists_powered_physical_tail_finite hh hh1 hf lo hi b ha m Jmin P | |
| 1035 | - exact ⟨J, hJ, hJm, δ, C, hδ, hC, hb m le_rfl⟩ | |
| 1036 | - | |
| 1037 | 903 | end PoweredTails |
| 1038 | 904 | |
| 1039 | 905 | section LinearMaps |
| @@ -1417,50 +1283,6 @@ noncomputable def cartesianUncutPrefix (h b : ℝ) (f : ℕ → Inner → V) (J | ||
| 1417 | 1283 | (z : ProblemStatement.SpaceTime) : V := |
| 1418 | 1284 | physicalUncutPrefix h b f J (AxisymmetricFields.profilePoint z.1 z.2) |
| 1419 | 1285 | |
| 1420 | -/-- The map `(t,x)↦(t,(|x_perp|²/2,x₃))` is smooth at the axis. On any fixed | |
| 1421 | -compact Cartesian set its derivatives have finite bounds, so the proved | |
| 1422 | -physical-profile tail estimates imply actual Cartesian space-time estimates. -/ | |
| 1423 | -theorem exists_cartesian_profile_tail {a : ℕ → ℕ} {h : ℝ} | |
| 1424 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1425 | - {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) | |
| 1426 | - (ha : AdmissibleScales h f (innerBox lo hi) a) | |
| 1427 | - {K : Set ProblemStatement.SpaceTime} (hK : IsCompact K) (m Jmin : ℕ) (P : ℝ) : | |
| 1428 | - ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ | |
| 1429 | - ∀ z ∈ K, z.1 < 1 → (cartesianChart h z).1 < δ → | |
| 1430 | - (cartesianChart h z).2.1 ∈ Icc lo hi → | |
| 1431 | - ‖iteratedFDeriv ℝ m | |
| 1432 | - (fun y => cartesianProfile a h b f y - cartesianUncutPrefix h b f J y) z‖ ≤ | |
| 1433 | - C * (cartesianChart h z).1 ^ P := by | |
| 1434 | - obtain ⟨J, hJmin, hJm, δ, C, hδ, hC, hb⟩ := | |
| 1435 | - exists_powered_physical_tail_finite hh hh1 hf lo hi b ha m Jmin P | |
| 1436 | - let G : ProblemStatement.SpaceTime → Chart := fun z => AxisymmetricFields.profilePoint z.1 z.2 | |
| 1437 | - have hG : ContDiff ℝ ∞ G := AxisymmetricFields.contDiff_profilePoint | |
| 1438 | - obtain ⟨D, hD, hDb⟩ := compact_map_finite_bound hG hK m | |
| 1439 | - let B := (m.factorial : ℝ) * C * D ^ m | |
| 1440 | - have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD | |
| 1441 | - refine ⟨J, hJmin, hJm, δ, B, hδ, by dsimp [B]; positivity, ?_⟩ | |
| 1442 | - intro z hz hzt hq hX | |
| 1443 | - let F : Chart → V := fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p | |
| 1444 | - have hU : IsOpen {p : Chart | p.1 < 1} := isOpen_lt continuous_fst continuous_const | |
| 1445 | - have hS : IsOpen {p : ProblemStatement.SpaceTime | p.1 < 1} := | |
| 1446 | - isOpen_lt continuous_fst continuous_const | |
| 1447 | - have hF : ContDiffOn ℝ ∞ F {p | p.1 < 1} := by | |
| 1448 | - intro p hp | |
| 1449 | - exact ((physicalProfile_smoothAt ha.strictMono hh hh1 hf b hp).sub | |
| 1450 | - (physicalUncutPrefix_smoothAt hh hh1 hf b J hp)).contDiffWithinAt | |
| 1451 | - have hmaps : MapsTo G {p | p.1 < 1} {p | p.1 < 1} := fun _ hp => hp | |
| 1452 | - have hc := norm_iteratedFDerivWithin_comp_le hF hG.contDiffOn | |
| 1453 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) hU.uniqueDiffOn hS.uniqueDiffOn hmaps hzt | |
| 1454 | - (C := C * (cartesianChart h z).1 ^ P) (D := D) | |
| 1455 | - (fun i hi => by | |
| 1456 | - rw [iteratedFDerivWithin_of_isOpen i hU hzt] | |
| 1457 | - exact hb i hi (G z) hzt hq hX) | |
| 1458 | - (fun i hi him => by | |
| 1459 | - rw [iteratedFDerivWithin_of_isOpen i hS hzt] | |
| 1460 | - exact hDb z hz i hi him) | |
| 1461 | - rw [iteratedFDerivWithin_of_isOpen m hS hzt] at hc | |
| 1462 | - exact hc.trans_eq (by dsimp [B]; ring) | |
| 1463 | - | |
| 1464 | 1286 | end CartesianTails |
| 1465 | 1287 | |
| 1466 | 1288 | section NormalizedTangential |
| @@ -1612,31 +1434,6 @@ theorem angularMoment_eq_normalizedSwirl {a : ℕ → ℕ} (ha : StrictMono a) { | ||
| 1612 | 1434 | rw [hsqrt, Real.rpow_sub hq] |
| 1613 | 1435 | ring |
| 1614 | 1436 | |
| 1615 | -/-- Smooth fixed inner weights, including reciprocal annular weights on | |
| 1616 | -compact subsets where they are smooth, preserve the proved tensor estimate. | |
| 1617 | -This is an interior weighted statement; it does not presume the edge bounds. -/ | |
| 1618 | -theorem normalized_stress_weighted_compact {a : ℕ → ℕ} {h C : ℝ} | |
| 1619 | - (hh : 0 < h) {d : Coefficients} (hd : SmoothCoefficients d) | |
| 1620 | - {K U : Set Inner} (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) | |
| 1621 | - (ha : AdmissibleScales h (coefficientBundle C d) K a) | |
| 1622 | - {r : Inner → ℝ} (hr : ContDiffOn ℝ ∞ r U) (m : ℕ) : | |
| 1623 | - ∃ B : ℝ, 0 < B ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, | |
| 1624 | - ‖blownJet m (fun y => r y.2 * (slowSum a h d.stressTheta y - d.stressTheta 0 y.2)) | |
| 1625 | - (q, w)‖ ≤ B * q ^ h ∧ | |
| 1626 | - ‖blownJet m (fun y => r y.2 * (slowSum a h d.stressAxial y - d.stressAxial 0 y.2)) | |
| 1627 | - (q, w)‖ ≤ B * q ^ h := by | |
| 1628 | - have htheta : AdmissibleScales h d.stressTheta K a := admissible_component hd ha 3 | |
| 1629 | - have haxial : AdmissibleScales h d.stressAxial K a := admissible_component hd ha 4 | |
| 1630 | - obtain ⟨A, hA, hAb⟩ := normalized_correction_smul_inner hh hd.stressTheta hK hU hKU htheta hr m | |
| 1631 | - obtain ⟨B, hB, hBb⟩ := normalized_correction_smul_inner hh hd.stressAxial hK hU hKU haxial hr m | |
| 1632 | - refine ⟨A + B, add_pos hA hB, fun q hq hq1 w hw => ?_⟩ | |
| 1633 | - have hp : q ^ (2 * h) ≤ q ^ h := Real.rpow_le_rpow_of_exponent_ge hq hq1 (by linarith) | |
| 1634 | - refine ⟨(hAb q hq hq1 w hw).trans ?_, (hBb q hq hq1 w hw).trans ?_⟩ | |
| 1635 | - · exact (mul_le_mul_of_nonneg_left hp hA.le).trans | |
| 1636 | - (mul_le_mul_of_nonneg_right (le_add_of_nonneg_right hB.le) (Real.rpow_nonneg hq.le _)) | |
| 1637 | - · exact (mul_le_mul_of_nonneg_left hp hB.le).trans | |
| 1638 | - (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left hA.le) (Real.rpow_nonneg hq.le _)) | |
| 1639 | - | |
| 1640 | 1437 | end PhysicalIdentification |
| 1641 | 1438 | |
| 1642 | 1439 | section FixedPrefixes |
+0 −75 NavierStokes/SlowDivergence.lean View file
| @@ -23,9 +23,6 @@ def radialFlux (h lam : ℝ) (U : Field) (p : Point) : ℝ := | ||
| 23 | 23 | (2 * p.2 * U p - 2 * p.2 * (CoordinateAlgebra.D h + lam) * average U p - |
| 24 | 24 | CoordinateAlgebra.d p.2 * SimilarityProfile.partialEta (average U) p) |
| 25 | 25 | |
| 26 | -theorem radialFlux_at_axis (h lam η : ℝ) (U : Field) : radialFlux h lam U (0, η) = 0 := by | |
| 27 | - simp [radialFlux] | |
| 28 | - | |
| 29 | 26 | theorem radialFlux_div_radial (h lam : ℝ) (U : Field) {p : Point} (hX : p.1 ≠ 0) : |
| 30 | 27 | radialFlux h lam U p / p.1 = (CoordinateAlgebra.L h p.2)⁻¹ * |
| 31 | 28 | (2 * p.2 * U p - 2 * p.2 * (CoordinateAlgebra.D h + lam) * average U p - |
| @@ -64,14 +61,6 @@ theorem radialFlux_smoothAt (Ω : RadialDomain) {U : Field} | ||
| 64 | 61 | (((contDiffAt_const.mul contDiffAt_snd).mul contDiffAt_const).mul ha)).sub |
| 65 | 62 | ((contDiffAt_const.sub (contDiffAt_snd.pow 2)).mul hη)) |
| 66 | 63 | |
| 67 | -/-- Joint C∞ regularity on every open profile domain avoiding L=0. -/ | |
| 68 | -theorem radialFlux_smooth (Ω : RadialDomain) {U : Field} | |
| 69 | - (hU : ContDiffOn ℝ ∞ U Ω.carrier) (h lam : ℝ) | |
| 70 | - (hL : ∀ p ∈ Ω.carrier, CoordinateAlgebra.L h p.2 ≠ 0) : | |
| 71 | - ContDiffOn ℝ ∞ (radialFlux h lam U) Ω.carrier := by | |
| 72 | - intro p hp | |
| 73 | - exact (radialFlux_smoothAt Ω hU h lam hp (hL p hp)).contDiffWithinAt | |
| 74 | - | |
| 75 | 64 | /-- The first identity in (21), derived by FTC from the actual histories. |
| 76 | 65 | The scalar radial statement also holds under total division when L=0. -/ |
| 77 | 66 | theorem radialFlux_hasDerivAt (Ω : RadialDomain) {U : Field} |
| @@ -111,70 +100,6 @@ theorem partialX_radialFlux (Ω : RadialDomain) {U : Field} | ||
| 111 | 100 | ((hasDerivAt_id p.1).prodMk (hasDerivAt_const p.1 p.2)) |
| 112 | 101 | exact hd.unique (radialFlux_hasDerivAt Ω hU h lam hp) |
| 113 | 102 | |
| 114 | -theorem axial_source_intervalIntegrable (Ω : RadialDomain) {U : Field} | |
| 115 | - (hU : ContDiffOn ℝ ∞ U Ω.carrier) (h b : ℝ) {p : Point} (hp : p ∈ Ω.carrier) : | |
| 116 | - IntervalIntegrable (fun x => -SimilarityProfile.Z h b U (x, p.2)) volume 0 p.1 := by | |
| 117 | - have hu : ContinuousOn (fun x => U (x, p.2)) (uIcc 0 p.1) := | |
| 118 | - (radial_slice_continuous Ω hU p.2).mono (fun _ hx => Ω.segment_mem hp hx) | |
| 119 | - have hx : ContinuousOn (fun x => radialPartial U (x, p.2)) (uIcc 0 p.1) := | |
| 120 | - (radial_slice_continuous Ω (radialPartial_smooth Ω hU) p.2).mono | |
| 121 | - (fun _ hx => Ω.segment_mem hp hx) | |
| 122 | - have hη : ContinuousOn (fun x => parameterPartial U (x, p.2)) (uIcc 0 p.1) := | |
| 123 | - (radial_slice_continuous Ω (parameterPartial_smooth Ω hU) p.2).mono | |
| 124 | - (fun _ hx => Ω.segment_mem hp hx) | |
| 125 | - have hc : ContinuousOn (fun x => | |
| 126 | - -((2 * p.2 * b * U (x, p.2) + CoordinateAlgebra.d p.2 * parameterPartial U (x, p.2) - | |
| 127 | - 2 * p.2 * (x * radialPartial U (x, p.2))) / CoordinateAlgebra.L h p.2)) | |
| 128 | - (uIcc 0 p.1) := | |
| 129 | - ((((continuousOn_const.mul hu).add | |
| 130 | - (continuousOn_const.mul hη)).sub | |
| 131 | - (continuousOn_const.mul (continuousOn_id.mul hx))).div_const (CoordinateAlgebra.L h p.2)).neg | |
| 132 | - simpa only [SimilarityProfile.Z, CoordinateAlgebra.axialCoeff, SimilarityProfile.partialX, | |
| 133 | - SimilarityProfile.partialEta, radialPartial, parameterPartial, mul_assoc] using hc.intervalIntegrable | |
| 134 | - | |
| 135 | -/-- The printed expression is precisely the zero-axis integral of -Z U. -/ | |
| 136 | -theorem radialFlux_eq_integral (Ω : RadialDomain) {U : Field} | |
| 137 | - (hU : ContDiffOn ℝ ∞ U Ω.carrier) (h lam : ℝ) {p : Point} (hp : p ∈ Ω.carrier) : | |
| 138 | - radialFlux h lam U p = | |
| 139 | - ∫ x in (0 : ℝ)..p.1, -SimilarityProfile.Z h (-CoordinateAlgebra.A h + lam) U (x, p.2) := by | |
| 140 | - have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt | |
| 141 | - (f := fun x => radialFlux h lam U (x, p.2)) | |
| 142 | - (fun x hx => radialFlux_hasDerivAt Ω hU h lam (Ω.segment_mem hp hx)) | |
| 143 | - (axial_source_intervalIntegrable Ω hU h (-CoordinateAlgebra.A h + lam) hp) | |
| 144 | - simpa only [radialFlux_at_axis, sub_zero, Prod.eta] using hi.symm | |
| 145 | - | |
| 146 | -/-- Physical incompressibility in flux coordinates `(t,s,z)`, `s=r²/2`. | |
| 147 | -The radial flux has power q^lam and the axial velocity has power q^(-A+lam). -/ | |
| 148 | -theorem physical_flux_axial_balance (Ω : RadialDomain) {U : Field} | |
| 149 | - (hU : ContDiffOn ℝ ∞ U Ω.carrier) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 150 | - (lam : ℝ) {p : SimilarityProfile.PhysicalPoint} (hp : p.1 < 1) | |
| 151 | - (hi : SimilarityProfile.inner h p ∈ Ω.carrier) : | |
| 152 | - SimilarityProfile.partialS (SimilarityProfile.pullback h lam (radialFlux h lam U)) p + | |
| 153 | - SimilarityProfile.partialZ (SimilarityProfile.pullback h (-CoordinateAlgebra.A h + lam) U) p = 0 := by | |
| 154 | - have hL : CoordinateAlgebra.L h (SimilarityProfile.inner h p).2 ≠ 0 := | |
| 155 | - (SimilarityProfile.L_pos hh hh1 hp).ne' | |
| 156 | - rw [SimilarityProfile.partialS_pullback hh hh1 hp | |
| 157 | - ((radialFlux_smoothAt Ω hU h lam hi hL).differentiableAt (by simp))] | |
| 158 | - rw [SimilarityProfile.partialZ_pullback hh hh1 hp | |
| 159 | - ((hU.contDiffAt (Ω.isOpen.mem_nhds hi)).differentiableAt (by simp))] | |
| 160 | - have he : -CoordinateAlgebra.A h + lam - SimilarityProfile.D h = lam - 1 := by | |
| 161 | - dsimp [CoordinateAlgebra.A, SimilarityProfile.D, CoordinateAlgebra.D] | |
| 162 | - ring | |
| 163 | - rw [he] | |
| 164 | - simp only [SimilarityProfile.pullback] | |
| 165 | - rw [partialX_radialFlux Ω hU h lam hi hL] | |
| 166 | - ring | |
| 167 | - | |
| 168 | -/-- Specialization to the manuscript's lam_n = 2nh, with n represented honestly | |
| 169 | -as a natural-number order. -/ | |
| 170 | -theorem slow_order_divergence (Ω : RadialDomain) {U : Field} | |
| 171 | - (hU : ContDiffOn ℝ ∞ U Ω.carrier) (h : ℝ) (n : ℕ) | |
| 172 | - {p : Point} (hp : p ∈ Ω.carrier) (hL : CoordinateAlgebra.L h p.2 ≠ 0) : | |
| 173 | - SimilarityProfile.partialX (radialFlux h (2 * (n : ℝ) * h) U) p + | |
| 174 | - SimilarityProfile.Z h (-CoordinateAlgebra.A h + 2 * (n : ℝ) * h) U p = 0 := by | |
| 175 | - rw [partialX_radialFlux Ω hU h (2 * (n : ℝ) * h) hp hL] | |
| 176 | - exact neg_add_cancel _ | |
| 177 | - | |
| 178 | 103 | end NavierStokes.SlowDivergence |
| 179 | 104 | |
| 180 | 105 | end |
+0 −84 NavierStokes/SlowExpansionResidual.lean View file
| @@ -220,21 +220,6 @@ theorem recurrence_truncation (N : ℕ) (w L A : ℕ → ℝ) (K : ℕ → ℕ | ||
| 220 | 220 | simp only [recurrence, mul_sub, mul_add, Finset.sum_sub_distrib, Finset.sum_add_distrib] |
| 221 | 221 | ring |
| 222 | 222 | |
| 223 | -/-- If the retained coefficient equations hold, the physical finite | |
| 224 | -expansion still has these explicit omitted interactions and viscosity term. -/ | |
| 225 | -theorem recurrence_truncation_of_zero (N : ℕ) (w L A : ℕ → ℝ) (K : ℕ → ℕ → ℝ) | |
| 226 | - (hzero : ∀ n ≤ N, recurrence L K A n = 0) : | |
| 227 | - (∑ n ∈ Finset.range (N + 1), w n * L n) + | |
| 228 | - (∑ ij ∈ pairs N, w (ij.1 + ij.2) * K ij.1 ij.2) - | |
| 229 | - (∑ n ∈ Finset.range (N + 1), w (n + 1) * A n) = | |
| 230 | - pairTail N w K - w (N + 1) * A N := by | |
| 231 | - rw [recurrence_truncation] | |
| 232 | - have hs : (∑ n ∈ Finset.range (N + 1), w n * recurrence L K A n) = 0 := by | |
| 233 | - apply Finset.sum_eq_zero | |
| 234 | - intro n hn | |
| 235 | - rw [hzero n (by have := Finset.mem_range.mp hn; omega), mul_zero] | |
| 236 | - rw [hs, zero_add] | |
| 237 | - | |
| 238 | 223 | def transportLinear (X m : ℝ) (gt gx gxx source : ℕ → ℝ) (n : ℕ) : ℝ := |
| 239 | 224 | gt n - 2 * (X * gxx n + m * gx n) + source n |
| 240 | 225 | |
| @@ -876,35 +861,6 @@ theorem slowVelocity_components (N : ℕ) (h C : ℝ) (f : SlowProfiles) | ||
| 876 | 861 | AxisymmetricResidual.pack, ProblemStatement.coordinateVector, |
| 877 | 862 | profilePoint] <;> ring |
| 878 | 863 | |
| 879 | -theorem slowVelocity_radial_flux (N : ℕ) (h C : ℝ) (f : SlowProfiles) | |
| 880 | - (t : ℝ) (x : ProblemStatement.Space) (hs : 0 < radialEnergy x) : | |
| 881 | - x 0 * slowVelocity N h C f (t, x) 0 + x 1 * slowVelocity N h C f (t, x) 1 = | |
| 882 | - slowFlux N h f (profilePoint t x) := | |
| 883 | - RadialFluxResidual.radial_flux_velocity _ _ _ _ _ hs | |
| 884 | - | |
| 885 | -/-- The finite field's divergence is exactly its finite divergence-coefficient | |
| 886 | -sum. This assertion uses the actual Euclidean divergence, away from the axis. -/ | |
| 887 | -theorem divergence_slowVelocity {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 888 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) {t : ℝ} {x : ProblemStatement.Space} | |
| 889 | - (ht : t < 1) (hs : 0 < radialEnergy x) | |
| 890 | - (hv : ∀ n ≤ N, DifferentiableAt ℝ (f.flux n) | |
| 891 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 892 | - (hf : ∀ n ≤ N, DifferentiableAt ℝ (f.phi n) | |
| 893 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 894 | - (hu : ∀ n ≤ N, DifferentiableAt ℝ (f.axial n) | |
| 895 | - (SimilarityProfile.inner h (profilePoint t x))) : | |
| 896 | - ProblemStatement.spatialDivergence (slowVelocity N h C f) t x = | |
| 897 | - finiteSeries N (SimilarityProfile.q h (profilePoint t x)) h (-1) | |
| 898 | - (fun n => divergenceCoefficient h f n (SimilarityProfile.inner h (profilePoint t x))) := by | |
| 899 | - have hV := finiteProfile_differentiableAt (e := 0) hh hh1 N f.flux ht hv | |
| 900 | - have hF := (finiteProfile_differentiableAt (e := angularExponent h) hh hh1 N f.phi ht hf).const_mul C⁻¹ | |
| 901 | - have hU := finiteProfile_differentiableAt (e := axialExponent h) hh hh1 N f.axial ht hu | |
| 902 | - change ProblemStatement.spatialDivergence | |
| 903 | - (AxisymmetricResidual.velocity (RadialFluxResidual.radialB (slowFlux N h f)) | |
| 904 | - (slowSwirl N h C f) (slowAxial N h f)) t x = _ | |
| 905 | - exact (RadialFluxResidual.divergence_radialB hV hF hU hs).trans | |
| 906 | - (divergence_finite_expansion hh hh1 N f ht hv hu) | |
| 907 | - | |
| 908 | 864 | theorem finiteSeries_eq_zero (N : ℕ) (q h e : ℝ) (a : ℕ → ℝ) |
| 909 | 865 | (ha : ∀ n ≤ N, a n = 0) : finiteSeries N q h e a = 0 := by |
| 910 | 866 | unfold finiteSeries |
| @@ -912,21 +868,6 @@ theorem finiteSeries_eq_zero (N : ℕ) (q h e : ℝ) (a : ℕ → ℝ) | ||
| 912 | 868 | intro n hn |
| 913 | 869 | rw [ha n (by have := Finset.mem_range.mp hn; omega), mul_zero] |
| 914 | 870 | |
| 915 | -theorem divergence_slowVelocity_eq_zero {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 916 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) {t : ℝ} {x : ProblemStatement.Space} | |
| 917 | - (ht : t < 1) (hs : 0 < radialEnergy x) | |
| 918 | - (hv : ∀ n ≤ N, DifferentiableAt ℝ (f.flux n) | |
| 919 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 920 | - (hf : ∀ n ≤ N, DifferentiableAt ℝ (f.phi n) | |
| 921 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 922 | - (hu : ∀ n ≤ N, DifferentiableAt ℝ (f.axial n) | |
| 923 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 924 | - (hdiv : ∀ n ≤ N, divergenceCoefficient h f n | |
| 925 | - (SimilarityProfile.inner h (profilePoint t x)) = 0) : | |
| 926 | - ProblemStatement.spatialDivergence (slowVelocity N h C f) t x = 0 := by | |
| 927 | - rw [divergence_slowVelocity hh hh1 N C f ht hs hv hf hu] | |
| 928 | - exact finiteSeries_eq_zero _ _ _ _ _ hdiv | |
| 929 | - | |
| 930 | 871 | noncomputable def angularExpansion (N : ℕ) (q h C : ℝ) (f : SlowProfiles) |
| 931 | 872 | (w : InnerPoint) : ℝ := |
| 932 | 873 | C⁻¹ * (finiteSeries N q h (angularExponent h - 1) (fun n => angularCoefficient h f n w) + |
| @@ -1011,29 +952,4 @@ noncomputable def truncationResidual (N : ℕ) (h C : ℝ) (f : SlowProfiles) | ||
| 1011 | 952 | let U := transportTail N q h (axialExponent h) 0 f.flux f.axial f.axial w |
| 1012 | 953 | AxisymmetricResidual.pack (x 0 * R - x 1 * A) (x 1 * R + x 0 * A) U |
| 1013 | 954 | |
| 1014 | -/-- Solving all retained coefficient equations produces precisely the | |
| 1015 | -displayed truncation forcing; it does not make that forcing disappear. -/ | |
| 1016 | -theorem navierStokesResidual_slowVelocity_of_coefficients | |
| 1017 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1018 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) {t : ℝ} {x : ProblemStatement.Space} | |
| 1019 | - (ht : t < 1) (hs : 0 < radialEnergy x) | |
| 1020 | - (hv : ∀ n ≤ N, ContDiffAt ℝ 2 (f.flux n) | |
| 1021 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 1022 | - (hf : ∀ n ≤ N, ContDiffAt ℝ 2 (f.phi n) | |
| 1023 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 1024 | - (hu : ∀ n ≤ N, ContDiffAt ℝ 2 (f.axial n) | |
| 1025 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 1026 | - (hπ : ∀ n ≤ N, DifferentiableAt ℝ (f.pressure n) | |
| 1027 | - (SimilarityProfile.inner h (profilePoint t x))) | |
| 1028 | - (hA : ∀ n ≤ N, angularCoefficient h f n (SimilarityProfile.inner h (profilePoint t x)) = 0) | |
| 1029 | - (hZ : ∀ n ≤ N, axialCoefficient h f n (SimilarityProfile.inner h (profilePoint t x)) = 0) | |
| 1030 | - (hR : ∀ n ≤ N, pressureCoefficient h C f n (SimilarityProfile.inner h (profilePoint t x)) = 0) : | |
| 1031 | - ProblemStatement.navierStokesResidual (slowVelocity N h C f) (slowPressureField N h f) t x = | |
| 1032 | - truncationResidual N h C f t x := by | |
| 1033 | - rw [navierStokesResidual_slowVelocity hh hh1 N C f ht hs hv hf hu hπ] | |
| 1034 | - simp only [radialFluxExpansion, angularExpansion, axialExpansion, | |
| 1035 | - finiteSeries_eq_zero _ _ _ _ _ hA, finiteSeries_eq_zero _ _ _ _ _ hZ, | |
| 1036 | - finiteSeries_eq_zero _ _ _ _ _ hR, mul_zero, zero_add] | |
| 1037 | - rfl | |
| 1038 | - | |
| 1039 | 955 | end NavierStokes.SlowExpansionResidual |
+0 −115 NavierStokes/SlowFirstOrderEdge.lean View file
| @@ -108,13 +108,6 @@ theorem profileSource_factorization (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ | ||
| 108 | 108 | · simp [hx] |
| 109 | 109 | · field_simp [hx] |
| 110 | 110 | |
| 111 | -theorem profileSource_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 112 | - ContDiff ℝ ∞ (profileSource C d y0) := by | |
| 113 | - have he : profileSource C d y0 = EdgeWeightJets.weighted 4 6 (sourceFactor C d y0) := | |
| 114 | - funext (profileSource_factorization C d y0) | |
| 115 | - rw [he] | |
| 116 | - exact EdgeWeightJets.weighted_contDiff (by norm_num) 6 (sourceFactor_contDiff C d y0) | |
| 117 | - | |
| 118 | 111 | noncomputable def primitiveCoefficient (C : ℝ) (d : TailData) (y0 : ℝ) |
| 119 | 112 | (y : ℝ × ℝ) : ℝ := |
| 120 | 113 | (profileRadius y0 y.2 ^ 3 / 2) * sourceFactor C d y0 y |
| @@ -175,16 +168,6 @@ theorem radialSource_weight (C : ℝ) (d : TailData) (y0 η : ℝ) {R : ℝ} (hR | ||
| 175 | 168 | · simp [hx] |
| 176 | 169 | · field_simp [hR.ne', hx] |
| 177 | 170 | |
| 178 | -theorem radialSource_weight_integrable (C : ℝ) (d : TailData) (y0 η : ℝ) | |
| 179 | - {R : ℝ} (hR : 0 < R) : | |
| 180 | - IntegrableOn (fun u => u ^ 2 * radialSource C d y0 η u) (Ioi R) := by | |
| 181 | - apply (radialFlatDensity_integrable (by norm_num : (0 : ℝ) < 4) | |
| 182 | - (profileRadius_pos y0 0) hR 6 | |
| 183 | - ((ParametricFlatFactor.coefficient_slice_contDiff | |
| 184 | - (primitiveCoefficient_contDiff C d y0) η).continuous)).congr | |
| 185 | - filter_upwards [ae_restrict_mem measurableSet_Ioi] with u hu | |
| 186 | - exact (radialSource_weight C d y0 η (hR.trans hu)).symm | |
| 187 | - | |
| 188 | 171 | theorem radialStress_eq_primitive (C : ℝ) (d : TailData) (y0 η : ℝ) |
| 189 | 172 | {R : ℝ} (hR : 0 < R) : |
| 190 | 173 | radialStress C d y0 η R = |
| @@ -227,14 +210,6 @@ theorem profileStress_zero_of_nonpos (C : ℝ) (d : TailData) (y0 : ℝ) | ||
| 227 | 210 | {y : ℝ × ℝ} (hy : y.2 ≤ 0) : profileStress C d y0 y = 0 := by |
| 228 | 211 | rw [profileStress_factorization, FlatCutoff.edge_of_nonpos 4 hy, zero_div, zero_mul] |
| 229 | 212 | |
| 230 | -theorem profileStress_edge_jets (C : ℝ) (d : TailData) (y0 η : ℝ) (n : ℕ) : | |
| 231 | - iteratedFDeriv ℝ n (profileStress C d y0) (η, 0) = 0 := by | |
| 232 | - have he : profileStress C d y0 = EdgeWeightJets.weighted 4 3 (stressFactor C d y0) := | |
| 233 | - funext (profileStress_factorization C d y0) | |
| 234 | - rw [he] | |
| 235 | - exact EdgeWeightJets.weighted_iteratedFDeriv_zero (by norm_num) 3 | |
| 236 | - (stressFactor_contDiff C d y0) n η | |
| 237 | - | |
| 238 | 213 | /-- All full joint derivative tensors, uniformly including both parameter endpoints. -/ |
| 239 | 214 | theorem profileStress_jets (C : ℝ) (d : TailData) (y0 : ℝ) (n : ℕ) |
| 240 | 215 | {b : ℝ} (hb : 0 < b) : |
| @@ -660,94 +635,4 @@ theorem physicalStress_scaled (C : ℝ) (d : TailData) (y0 : ℝ) | ||
| 660 | 635 | exact Real.sqrt_sq (div_pos hr (Real.sqrt_pos.mpr (physicalScale_pos d ht))).le |
| 661 | 636 | rw [he] |
| 662 | 637 | |
| 663 | -/-- Global moment closure is supplied by the separate renormalized-moment and | |
| 664 | -slow-order moment theorems. Only agreement on the exterior ray is needed here. -/ | |
| 665 | -theorem forward_eq_physicalStress (C : ℝ) (d : TailData) (y0 t z : ℝ) | |
| 666 | - {F : ℝ → ℝ} {r : ℝ} (hr : 0 < r) | |
| 667 | - (hi : IntegrableOn (fun u => u ^ 2 * F u) (Ioi 0)) | |
| 668 | - (hzero : (∫ u in Ioi (0 : ℝ), u ^ 2 * F u) = 0) | |
| 669 | - (hmatch : ∀ u, r ≤ u → F u = physicalSource C d y0 (radiusPoint t u z)) : | |
| 670 | - forwardStress F r = physicalStress C d y0 t z r := by | |
| 671 | - rw [(forward_eq_backward_iff hr hi).mpr hzero] | |
| 672 | - unfold physicalStress backwardStress | |
| 673 | - congr 1 | |
| 674 | - apply setIntegral_congr_fun measurableSet_Ioi | |
| 675 | - intro u hu | |
| 676 | - dsimp only | |
| 677 | - rw [hmatch u hu.le] | |
| 678 | - | |
| 679 | -theorem stressX_edge_jets (C : ℝ) (d : TailData) (y0 η : ℝ) (n : ℕ) : | |
| 680 | - iteratedFDeriv ℝ n (stressX C d y0) (Real.exp (y0 + 3), η) = 0 := by | |
| 681 | - let w : ℝ × ℝ := (Real.exp (y0 + 3), η) | |
| 682 | - have hS : IsOpen {w : ℝ × ℝ | 0 < w.1} := isOpen_lt continuous_const continuous_fst | |
| 683 | - have hw : w ∈ {w : ℝ × ℝ | 0 < w.1} := Real.exp_pos _ | |
| 684 | - obtain ⟨D, hD, hchart⟩ := compact_jets_bound_on hS (xChart_contDiffOn y0) | |
| 685 | - (isCompact_singleton (x := w)) (singleton_subset_iff.mpr hw) n | |
| 686 | - have he : xChart y0 w = (η, 0) := by simp [xChart, w] | |
| 687 | - have hc := norm_iteratedFDerivWithin_comp_le (profileStress_contDiff C d y0).contDiffOn | |
| 688 | - (xChart_contDiffOn y0) (EdgeWeightJets.nat_le_infty n) uniqueDiffOn_univ hS.uniqueDiffOn | |
| 689 | - (mapsTo_univ _ _) hw (C := 0) (D := D) | |
| 690 | - (by | |
| 691 | - intro i hi | |
| 692 | - rw [iteratedFDerivWithin_univ, he, profileStress_edge_jets, norm_zero]) | |
| 693 | - (by | |
| 694 | - intro i hi hin | |
| 695 | - rw [iteratedFDerivWithin_of_isOpen i hS hw] | |
| 696 | - exact (hchart i hin w (mem_singleton w)).trans | |
| 697 | - (by simpa only [pow_one] using pow_le_pow_right₀ hD hi)) | |
| 698 | - rw [iteratedFDerivWithin_of_isOpen n hS hw] at hc | |
| 699 | - apply norm_le_zero_iff.mp | |
| 700 | - simp only [mul_zero, zero_mul] at hc | |
| 701 | - exact hc | |
| 702 | - | |
| 703 | -theorem physicalSource_weight_integrable (C : ℝ) (d : TailData) (y0 : ℝ) | |
| 704 | - {t r z : ℝ} (ht : t < 1) (hr : 0 < r) : | |
| 705 | - IntegrableOn (fun u => u ^ 2 * physicalSource C d y0 (radiusPoint t u z)) (Ioi r) := by | |
| 706 | - let Q := physicalScale d t z | |
| 707 | - let g : ℝ → ℝ := fun R => R ^ 2 * radialSource C d y0 (physicalEta d t z) R | |
| 708 | - have hQ : 0 < Q := physicalScale_pos d ht | |
| 709 | - have hs : 0 < Real.sqrt Q := Real.sqrt_pos.mpr hQ | |
| 710 | - have hg : IntegrableOn g (Ioi (r / Real.sqrt Q)) := | |
| 711 | - radialSource_weight_integrable C d y0 (physicalEta d t z) (div_pos hr hs) | |
| 712 | - have hi : IntegrableOn (fun u => g (u / Real.sqrt Q)) (Ioi r) := by | |
| 713 | - have hh := (integrableOn_Ioi_comp_mul_right_iff g r (inv_pos.mpr hs)).mpr | |
| 714 | - (by simpa only [div_eq_mul_inv] using hg) | |
| 715 | - simpa only [div_eq_mul_inv] using hh | |
| 716 | - apply (hi.const_mul (Q * Q ^ (-CoordinateAlgebra.A d.h - 1 + 2 * d.h))).congr | |
| 717 | - filter_upwards [ae_restrict_mem measurableSet_Ioi] with u hu | |
| 718 | - rw [physicalSource_radial_scaled C d y0 ht (hr.trans hu)] | |
| 719 | - dsimp only [g] | |
| 720 | - change Q * Q ^ (-CoordinateAlgebra.A d.h - 1 + 2 * d.h) * | |
| 721 | - ((u / Real.sqrt Q) ^ 2 * radialSource C d y0 (physicalEta d t z) (u / Real.sqrt Q)) = | |
| 722 | - u ^ 2 * (Q ^ (-CoordinateAlgebra.A d.h - 1 + 2 * d.h) * | |
| 723 | - radialSource C d y0 (physicalEta d t z) (u / Real.sqrt Q)) | |
| 724 | - rw [div_pow, Real.sq_sqrt hQ.le] | |
| 725 | - field_simp [hQ.ne'] | |
| 726 | - | |
| 727 | -/-- The literal terminal velocity is the actual fully switched heat edit from | |
| 728 | -the outgoing schedule, with its original amplitude and log origin. -/ | |
| 729 | -theorem editedAngular_eq_physicalAngular (d : TailData) {K : ℝ} (hK : 0 < K) | |
| 730 | - {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) | |
| 731 | - (hfull : 1 / 2 ≤ Real.log (X d.h p / K) + 1 / 5) : | |
| 732 | - PhysicalHeatCoordinates.editedAngular d K p = | |
| 733 | - physicalAngular (PhysicalHeatCoordinates.normalization d K) d (Real.log K - 1 / 5) p := by | |
| 734 | - rw [PhysicalHeatCoordinates.editedAngular_eq_heat d hK d.h_lt_half ht hs hfull] | |
| 735 | - unfold physicalAngular physicalTaper flattening PhysicalHeatCoordinates.shape | |
| 736 | - congr 2 | |
| 737 | - ring | |
| 738 | - | |
| 739 | -theorem forward_eq_radialStress (C : ℝ) (d : TailData) (y0 η : ℝ) | |
| 740 | - {F : ℝ → ℝ} {R : ℝ} (hR : 0 < R) | |
| 741 | - (hi : IntegrableOn (fun u => u ^ 2 * F u) (Ioi 0)) | |
| 742 | - (hzero : (∫ u in Ioi (0 : ℝ), u ^ 2 * F u) = 0) | |
| 743 | - (hmatch : ∀ u, R ≤ u → F u = radialSource C d y0 η u) : | |
| 744 | - forwardStress F R = radialStress C d y0 η R := by | |
| 745 | - rw [(forward_eq_backward_iff hR hi).mpr hzero] | |
| 746 | - unfold radialStress backwardStress | |
| 747 | - congr 1 | |
| 748 | - apply setIntegral_congr_fun measurableSet_Ioi | |
| 749 | - intro u hu | |
| 750 | - dsimp only | |
| 751 | - rw [hmatch u hu.le] | |
| 752 | - | |
| 753 | 638 | end NavierStokes.SlowFirstOrderEdge |
+0 −91 NavierStokes/SlowRecursion.lean View file
| @@ -68,10 +68,6 @@ instance {R : ℝ} {U : Set ℂ} : CoeFun (AxisFunction R U) (fun _ => Raw) := | ||
| 68 | 68 | theorem AxisFunction.smooth {R : ℝ} {U : Set ℂ} (F : AxisFunction R U) : |
| 69 | 69 | ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U) := F.2.smooth |
| 70 | 70 | |
| 71 | -theorem AxisFunction.holomorphic {R : ℝ} {U : Set ℂ} (F : AxisFunction R U) | |
| 72 | - {r : ℝ} (hr : r ∈ Ioo (-R) R) : DifferentiableOn ℂ (fun z => F (r, z)) U := | |
| 73 | - F.2.holomorphic r hr | |
| 74 | - | |
| 75 | 71 | theorem AxisFunction.even {R : ℝ} {U : Set ℂ} (F : AxisFunction R U) |
| 76 | 72 | {r : ℝ} (hr : r ∈ Ioo (-R) R) {z : ℂ} (hz : z ∈ U) : F (-r, z) = F (r, z) := |
| 77 | 73 | F.2.even z hz r hr |
| @@ -363,13 +359,6 @@ theorem profile_radialDerivative {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOp | ||
| 363 | 359 | SimilarityProfile.partialX (profile F) (X, eta) := |
| 364 | 360 | congrArg Complex.re (radialDerivative_value hR hU F hX heta) |
| 365 | 361 | |
| 366 | -theorem profile_parameterDerivative {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 367 | - (F : AxisFunction R U) {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) | |
| 368 | - (heta : (eta : ℂ) ∈ U) : | |
| 369 | - profile (parameterDerivative hU F) (X, eta) = | |
| 370 | - SimilarityProfile.partialEta (profile F) (X, eta) := | |
| 371 | - congrArg Complex.re (parameterDerivative_value hR hU F hX heta) | |
| 372 | - | |
| 373 | 362 | theorem profile_radialDerivative_germ {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 374 | 363 | (F : AxisFunction R U) {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) |
| 375 | 364 | (heta : (eta : ℂ) ∈ U) : |
| @@ -378,24 +367,6 @@ theorem profile_radialDerivative_germ {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : | ||
| 378 | 367 | (show (X, eta) ∈ Ioo (0 : ℝ) (R ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U from ⟨hX, heta⟩)] with p hp |
| 379 | 368 | exact profile_radialDerivative hR hU F hp.1 hp.2 |
| 380 | 369 | |
| 381 | -theorem profile_parameterDerivative_germ {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 382 | - (F : AxisFunction R U) {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) | |
| 383 | - (heta : (eta : ℂ) ∈ U) : | |
| 384 | - profile (parameterDerivative hU F) =ᶠ[𝓝 (X, eta)] SimilarityProfile.partialEta (profile F) := by | |
| 385 | - filter_upwards [(isOpen_Ioo.prod (PositiveAxisExistence.realParameterDomain_isOpen hU)).mem_nhds | |
| 386 | - (show (X, eta) ∈ Ioo (0 : ℝ) (R ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U from ⟨hX, heta⟩)] with p hp | |
| 387 | - exact profile_parameterDerivative hR hU F hp.1 hp.2 | |
| 388 | - | |
| 389 | -theorem radialDerivative_twice_value {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 390 | - (F : AxisFunction R U) {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) | |
| 391 | - (heta : (eta : ℂ) ∈ U) : | |
| 392 | - complexProfile (radialDerivative hR hU (radialDerivative hR hU F)) (X, (eta : ℂ)) = | |
| 393 | - (SimilarityProfile.partialX (SimilarityProfile.partialX (profile F)) (X, eta) : ℂ) := by | |
| 394 | - rw [radialDerivative_value hR hU _ hX heta] | |
| 395 | - unfold SimilarityProfile.partialX | |
| 396 | - rw [(profile_radialDerivative_germ hR hU F hX heta).fderiv_eq] | |
| 397 | - rfl | |
| 398 | - | |
| 399 | 370 | /-- Fixed geometric data for one analytic parameter neighborhood. -/ |
| 400 | 371 | structure Domain (R : ℝ) (U : Set ℂ) (h : ℝ) : Prop where |
| 401 | 372 | positive : 0 < R |
| @@ -1122,24 +1093,6 @@ theorem domain_real_denominator {R : ℝ} {U : Set ℂ} {h : ℝ} (c : Domain R | ||
| 1122 | 1093 | apply c.denominator (eta : ℂ) heta |
| 1123 | 1094 | rw [← he, hh, Complex.ofReal_zero] |
| 1124 | 1095 | |
| 1125 | -/-- The supplied regular representative really is the original radial | |
| 1126 | -residual divided by X, for every previously constructed order. -/ | |
| 1127 | -theorem sequence_omega_quotient {core buffer : ℝ} {U : Set ℂ} {h : ℝ} | |
| 1128 | - (c : Domain (radius core buffer 0) U h) (hcore : 0 < core) (hbuffer : 0 < buffer) | |
| 1129 | - (C : ℝ) (base : Coefficient (radius core buffer 0) U) (k : ℕ) | |
| 1130 | - {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (core ^ 2)) (heta : (eta : ℂ) ∈ U) : | |
| 1131 | - let A := sequence c hcore hbuffer C base | |
| 1132 | - AxisSourceRegularity.omega h (fun j => profile (A j 1)) | |
| 1133 | - (fun j => AxisSourceRegularity.axisFactor (profile (A j 4))) k (X, eta) / X = | |
| 1134 | - AxisSourceRegularity.previousOmegaDivX h (fun j => profile (A j 1)) | |
| 1135 | - (fun j => profile (A j 4)) (k + 1) (X, eta) := by | |
| 1136 | - apply AxisSourceRegularity.omega_quotient_eq | |
| 1137 | - · intro j _ | |
| 1138 | - exact (profile_contDiffAt hcore c.open_set _ hX heta).of_le | |
| 1139 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2) | |
| 1140 | - · exact domain_real_denominator c heta | |
| 1141 | - · exact hX.1.ne' | |
| 1142 | - | |
| 1143 | 1096 | theorem average_from_equation {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 1144 | 1097 | (u k : AxisFunction R U) {eta X : ℝ} (heta : (eta : ℂ) ∈ U) |
| 1145 | 1098 | (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) |
| @@ -1209,35 +1162,6 @@ noncomputable def makeBase {R : ℝ} {U : Set ℂ} {h : ℝ} (c : Domain R U h) | ||
| 1209 | 1162 | (phi u average pressure : AxisFunction R U) : Coefficient R U := |
| 1210 | 1163 | ![phi, u, average - u, pressure, betaOperator c 0 u (average - u)] |
| 1211 | 1164 | |
| 1212 | -theorem sequence_smooth {core buffer : ℝ} {U : Set ℂ} {h : ℝ} | |
| 1213 | - (c : Domain (radius core buffer 0) U h) (hcore : 0 < core) (hbuffer : 0 < buffer) | |
| 1214 | - (C : ℝ) (base : Coefficient (radius core buffer 0) U) (n : ℕ) (i : Fin 5) : | |
| 1215 | - ContDiffOn ℝ ∞ (profile (sequence c hcore hbuffer C base n i)) | |
| 1216 | - (Ico (0 : ℝ) (core ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U) := | |
| 1217 | - profile_smooth hcore c.open_set _ | |
| 1218 | - | |
| 1219 | -theorem sequence_mixed_pullback_smooth {core buffer : ℝ} {U : Set ℂ} {h : ℝ} | |
| 1220 | - (c : Domain (radius core buffer 0) U h) (hcore : 0 < core) (hbuffer : 0 < buffer) | |
| 1221 | - (C : ℝ) (base : Coefficient (radius core buffer 0) U) (n : ℕ) (i : Fin 5) (k m : ℕ) : | |
| 1222 | - ContDiffOn ℝ ∞ | |
| 1223 | - (fun p : ℝ × ℂ => BoundaryAxisJets.mixedAxisJet (sequence c hcore hbuffer C base n i) k m (p.1 ^ 2, p.2)) | |
| 1224 | - (Ioo (-core) core ×ˢ U) := | |
| 1225 | - BoundaryAxisJets.mixedAxisJet_pullback_contDiffOn_full hcore c.open_set | |
| 1226 | - (sequence c hcore hbuffer C base n i).2.smooth | |
| 1227 | - (sequence c hcore hbuffer C base n i).2.holomorphic | |
| 1228 | - (sequence c hcore hbuffer C base n i).2.even k m | |
| 1229 | - | |
| 1230 | -theorem sequence_mixed_pullback_holomorphic {core buffer : ℝ} {U : Set ℂ} {h : ℝ} | |
| 1231 | - (c : Domain (radius core buffer 0) U h) (hcore : 0 < core) (hbuffer : 0 < buffer) | |
| 1232 | - (C : ℝ) (base : Coefficient (radius core buffer 0) U) (n : ℕ) (i : Fin 5) (k m : ℕ) | |
| 1233 | - {r : ℝ} (hr : r ∈ Ioo (-core) core) : | |
| 1234 | - DifferentiableOn ℂ | |
| 1235 | - (fun z => BoundaryAxisJets.mixedAxisJet (sequence c hcore hbuffer C base n i) k m (r ^ 2, z)) U := | |
| 1236 | - BoundaryAxisJets.mixedAxisJet_pullback_holomorphic_full hcore c.open_set | |
| 1237 | - (sequence c hcore hbuffer C base n i).2.smooth | |
| 1238 | - (sequence c hcore hbuffer C base n i).2.holomorphic | |
| 1239 | - (sequence c hcore hbuffer C base n i).2.even k m hr | |
| 1240 | - | |
| 1241 | 1165 | /-- The concrete finite equations of an actual sequence of profile functions. -/ |
| 1242 | 1166 | def OrderEquations {R : ℝ} {U : Set ℂ} (h C : ℝ) (A : ℕ → Coefficient R U) |
| 1243 | 1167 | (n : ℕ) (w : SimilarityProfile.InnerPoint) : Prop := |
| @@ -1280,12 +1204,6 @@ noncomputable def buildLocalHierarchy {core buffer : ℝ} {U : Set ℂ} {h : ℝ | ||
| 1280 | 1204 | equations := fun _ hn _ hX _ heta => sequence_positive_order c hcore hbuffer C base hn hX heta |
| 1281 | 1205 | average := fun _ hn _ hX _ heta => sequence_average c hcore hbuffer C base hn hX heta |
| 1282 | 1206 | |
| 1283 | -theorem exists_local_slow_hierarchy {core buffer : ℝ} {U : Set ℂ} {h : ℝ} | |
| 1284 | - (c : Domain (radius core buffer 0) U h) (hcore : 0 < core) (hbuffer : 0 < buffer) | |
| 1285 | - (C : ℝ) (base : Coefficient (radius core buffer 0) U) : | |
| 1286 | - Nonempty (LocalHierarchy core U h C (fun i => profile (base i))) := | |
| 1287 | - ⟨buildLocalHierarchy c hcore hbuffer C base⟩ | |
| 1288 | - | |
| 1289 | 1207 | theorem LocalHierarchy.profiles_smooth {R : ℝ} {U : Set ℂ} {h C : ℝ} |
| 1290 | 1208 | {base : Fin 5 → SimilarityProfile.InnerProfile} (A : LocalHierarchy R U h C base) |
| 1291 | 1209 | (hR : 0 < R) (hU : IsOpen U) (n : ℕ) (i : Fin 5) : |
| @@ -1293,13 +1211,4 @@ theorem LocalHierarchy.profiles_smooth {R : ℝ} {U : Set ℂ} {h C : ℝ} | ||
| 1293 | 1211 | (Ico (0 : ℝ) (R ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U) := |
| 1294 | 1212 | profile_smooth hR hU _ |
| 1295 | 1213 | |
| 1296 | -/-- Any fixed real parameter window contained in the input neighborhood is | |
| 1297 | -retained at every slow order; the recursion consumes no further strip width. -/ | |
| 1298 | -theorem LocalHierarchy.equations_on_window {R : ℝ} {U : Set ℂ} {h C a b : ℝ} | |
| 1299 | - {base : Fin 5 → SimilarityProfile.InnerProfile} (A : LocalHierarchy R U h C base) | |
| 1300 | - (hwindow : ∀ eta ∈ Icc a b, (eta : ℂ) ∈ U) | |
| 1301 | - {n : ℕ} (hn : 0 < n) {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) | |
| 1302 | - (heta : eta ∈ Icc a b) : OrderEquations h C A.coefficients n (X, eta) := | |
| 1303 | - A.equations n hn X hX eta (hwindow eta heta) | |
| 1304 | - | |
| 1305 | 1214 | end NavierStokes.SlowRecursion |
+0 −294 NavierStokes/SlowResidualMatching.lean View file
| @@ -149,29 +149,6 @@ theorem previousOmega_ofBeta (h : ℝ) (phi axial beta pressure : ℕ → InnerP | ||
| 149 | 149 | exact AxisSourceRegularity.omega_quotient_eq h axial beta n w |
| 150 | 150 | (fun j hj => hb j (Nat.lt_succ_of_le hj)) hL hX |
| 151 | 151 | |
| 152 | -theorem positiveOrder_pressure_coefficient (h C : ℝ) | |
| 153 | - (phi axial beta pressure : ℕ → InnerProfile) (k : InnerProfile) (n : ℕ) | |
| 154 | - {w : InnerPoint} (hX : w.1 ≠ 0) (hL : CoordinateAlgebra.L h w.2 ≠ 0) | |
| 155 | - (hb : ∀ j < n, ContDiffAt ℝ 2 (beta j) w) | |
| 156 | - (he : PositiveAxisSystem.PositiveOrderEquations h C w.2 w.1 n | |
| 157 | - (fun j => PositiveAxisSystem.actualJet (phi j) w) | |
| 158 | - (fun j => PositiveAxisSystem.actualJet (axial j) w) (fun j => beta j w) | |
| 159 | - (PositiveAxisSystem.actualJet k w) (PositiveAxisSystem.actualJet (pressure n) w) | |
| 160 | - (PositiveAxisSystem.precedingDiffusion h (PositiveAxisSystem.angularPower h) phi n w) | |
| 161 | - (PositiveAxisSystem.precedingDiffusion h (PositiveAxisSystem.axialPower h) axial n w) | |
| 162 | - (AxisSourceRegularity.previousOmegaDivX h axial beta n w)) : | |
| 163 | - pressureCoefficient h C (ofBeta phi axial beta pressure) n w = 0 := by | |
| 164 | - apply (pressureCoefficient_eq_zero_iff h C _ n w).2 | |
| 165 | - have hp := previousOmega_ofBeta h phi axial beta pressure n w hX hL hb | |
| 166 | - have hd : previous (fun j => omegaCoefficient h (ofBeta phi axial beta pressure) j w) n / | |
| 167 | - (2 * w.1) = AxisSourceRegularity.previousOmegaDivX h axial beta n w / 2 := by | |
| 168 | - rw [← hp] | |
| 169 | - ring | |
| 170 | - rw [hd] | |
| 171 | - dsimp only [ofBeta] | |
| 172 | - rw [convolution_eq_positiveAxis] | |
| 173 | - simpa only [PositiveAxisSystem.actualJet, PositiveAxisSystem.inverseSquare, inv_pow] using he.2.1 | |
| 174 | - | |
| 175 | 152 | theorem partialX_congr_germ {f g : InnerProfile} {w : InnerPoint} |
| 176 | 153 | (hfg : f =ᶠ[𝓝 w] g) : partialX f =ᶠ[𝓝 w] partialX g := by |
| 177 | 154 | filter_upwards [hfg.fderiv (𝕜 := ℝ)] with y hy |
| @@ -264,28 +241,6 @@ theorem slowOrder_mono {h : ℝ} (hh : 0 ≤ h) : Monotone (slowOrder h) := by | ||
| 264 | 241 | noncomputable def pairTailSize (N : ℕ) (K : ℕ → ℕ → ℝ) : ℝ := |
| 265 | 242 | ∑ ij ∈ (pairs N).filter (fun ij => N < ij.1 + ij.2), |K ij.1 ij.2| |
| 266 | 243 | |
| 267 | -theorem pairTailSize_nonneg (N : ℕ) (K : ℕ → ℕ → ℝ) : 0 ≤ pairTailSize N K := | |
| 268 | - Finset.sum_nonneg (fun _ _ => abs_nonneg _) | |
| 269 | - | |
| 270 | -theorem pairTail_bound {q h : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hh : 0 ≤ h) | |
| 271 | - (N : ℕ) (b : ℝ) (K : ℕ → ℕ → ℝ) : | |
| 272 | - |pairTail N (fun n => q ^ (b + slowOrder h n)) K| ≤ | |
| 273 | - pairTailSize N K * q ^ (b + slowOrder h (N + 1)) := by | |
| 274 | - unfold pairTail pairTailSize | |
| 275 | - calc | |
| 276 | - _ ≤ ∑ ij ∈ (pairs N).filter (fun ij => N < ij.1 + ij.2), | |
| 277 | - |q ^ (b + slowOrder h (ij.1 + ij.2)) * K ij.1 ij.2| := | |
| 278 | - Finset.abs_sum_le_sum_abs _ _ | |
| 279 | - _ ≤ ∑ ij ∈ (pairs N).filter (fun ij => N < ij.1 + ij.2), | |
| 280 | - |K ij.1 ij.2| * q ^ (b + slowOrder h (N + 1)) := by | |
| 281 | - apply Finset.sum_le_sum | |
| 282 | - intro ij hij | |
| 283 | - rw [abs_mul, abs_of_pos (Real.rpow_pos_of_pos hq _), mul_comm] | |
| 284 | - apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) | |
| 285 | - apply Real.rpow_le_rpow_of_exponent_ge hq hq1 | |
| 286 | - exact add_le_add_right (slowOrder_mono hh (Finset.mem_filter.mp hij).2) b | |
| 287 | - _ = _ := (Finset.sum_mul _ _ _).symm | |
| 288 | - | |
| 289 | 244 | noncomputable def transportKernel (h e α : ℝ) (v u f : ℕ → InnerProfile) |
| 290 | 245 | (w : InnerPoint) : ℕ → ℕ → ℝ := |
| 291 | 246 | transportPair w.1 α (fun j => v j w) (fun j => u j w) (fun j => f j w) |
| @@ -296,61 +251,12 @@ noncomputable def transportTailSize (N : ℕ) (h e α : ℝ) | ||
| 296 | 251 | pairTailSize N (transportKernel h e α v u f w) + |
| 297 | 252 | |Z2 h (e + slowOrder h N) (f N) w| |
| 298 | 253 | |
| 299 | -theorem transportTailSize_nonneg (N : ℕ) (h e α : ℝ) | |
| 300 | - (v u f : ℕ → InnerProfile) (w : InnerPoint) : | |
| 301 | - 0 ≤ transportTailSize N h e α v u f w := | |
| 302 | - add_nonneg (pairTailSize_nonneg _ _) (abs_nonneg _) | |
| 303 | - | |
| 304 | -/-- Both the omitted quadratic interactions and the last axial viscosity | |
| 305 | -are bounded, with their true next-order power. -/ | |
| 306 | -theorem transportTail_bound {q h : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hh : 0 ≤ h) | |
| 307 | - (N : ℕ) (e α : ℝ) (v u f : ℕ → InnerProfile) (w : InnerPoint) : | |
| 308 | - |transportTail N q h e α v u f w| ≤ | |
| 309 | - transportTailSize N h e α v u f w * q ^ (e - 1 + slowOrder h (N + 1)) := by | |
| 310 | - change |pairTail N (fun n => q ^ (e - 1 + slowOrder h n)) | |
| 311 | - (transportKernel h e α v u f w) - | |
| 312 | - q ^ (e - 1 + slowOrder h (N + 1)) * Z2 h (e + slowOrder h N) (f N) w| ≤ _ | |
| 313 | - refine (abs_sub _ _).trans ?_ | |
| 314 | - rw [abs_mul, abs_of_pos (Real.rpow_pos_of_pos hq _)] | |
| 315 | - have hb := pairTail_bound hq hq1 hh N (e - 1) (transportKernel h e α v u f w) | |
| 316 | - dsimp only [transportTailSize] | |
| 317 | - nlinarith | |
| 318 | - | |
| 319 | 254 | noncomputable def pressureTailSize (N : ℕ) (h C : ℝ) (f : SlowProfiles) |
| 320 | 255 | (w : InnerPoint) : ℝ := |
| 321 | 256 | transportTailSize N h 0 (-1 / 2) f.flux f.axial f.flux w + |
| 322 | 257 | |omegaCoefficient h f N w| + |
| 323 | 258 | |2 * w.1 * C⁻¹ ^ 2| * pairTailSize N (fun i j => f.phi i w * f.phi j w) |
| 324 | 259 | |
| 325 | -theorem pressureTailSize_nonneg (N : ℕ) (h C : ℝ) (f : SlowProfiles) | |
| 326 | - (w : InnerPoint) : 0 ≤ pressureTailSize N h C f w := | |
| 327 | - add_nonneg (add_nonneg (transportTailSize_nonneg _ _ _ _ _ _ _ _) (abs_nonneg _)) | |
| 328 | - (mul_nonneg (abs_nonneg _) (pairTailSize_nonneg _ _)) | |
| 329 | - | |
| 330 | -/-- The radial remainder retains the last radial acceleration as well as | |
| 331 | -the omitted swirl products. Its exponent is not silently equated with the | |
| 332 | -stronger tangential exponent. -/ | |
| 333 | -theorem pressureTail_bound {q h : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hh : 0 ≤ h) | |
| 334 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) (w : InnerPoint) : | |
| 335 | - |pressureTail N q h C f w| ≤ | |
| 336 | - pressureTailSize N h C f w * q ^ (pressureExponent h + slowOrder h (N + 1)) := by | |
| 337 | - have ht := transportTail_bound hq hq1 hh N 0 (-1 / 2) f.flux f.axial f.flux w | |
| 338 | - have he : pressureExponent h + slowOrder h (N + 1) ≤ | |
| 339 | - 0 - 1 + slowOrder h (N + 1) := by | |
| 340 | - unfold pressureExponent CoordinateAlgebra.A | |
| 341 | - linarith | |
| 342 | - have ht' := ht.trans (mul_le_mul_of_nonneg_left | |
| 343 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 he) | |
| 344 | - (transportTailSize_nonneg N h 0 (-1/2) f.flux f.axial f.flux w)) | |
| 345 | - have hp := pairTail_bound hq hq1 hh N (pressureExponent h) | |
| 346 | - (fun i j => f.phi i w * f.phi j w) | |
| 347 | - unfold pressureTail | |
| 348 | - refine (abs_sub _ _).trans ((add_le_add_left (abs_add_le _ _) _).trans ?_) | |
| 349 | - rw [abs_mul, abs_mul, abs_of_pos (Real.rpow_pos_of_pos hq _)] | |
| 350 | - have hh' := mul_le_mul_of_nonneg_left hp (abs_nonneg (2 * w.1 * C⁻¹ ^ 2)) | |
| 351 | - dsimp only [pressureTailSize] | |
| 352 | - nlinarith | |
| 353 | - | |
| 354 | 260 | /-- The change from cylindrical radius R to the regular variable X. -/ |
| 355 | 261 | noncomputable def radiusPoint (w : InnerPoint) : InnerPoint := (w.1 ^ 2 / 2, w.2) |
| 356 | 262 | |
| @@ -642,11 +548,6 @@ theorem toRadius_differentiableAt {f : InnerProfile} {w : InnerPoint} | ||
| 642 | 548 | (hf : DifferentiableAt ℝ f (radiusPoint w)) : DifferentiableAt ℝ (toRadius f) w := |
| 643 | 549 | hf.comp w (radiusPoint_smooth.differentiable (by simp)).differentiableAt |
| 644 | 550 | |
| 645 | -theorem toRadius_contDiffAt_two {f : InnerProfile} {w : InnerPoint} | |
| 646 | - (hf : ContDiffAt ℝ 2 f (radiusPoint w)) : ContDiffAt ℝ 2 (toRadius f) w := | |
| 647 | - hf.comp w ((radiusPoint_smooth.of_le | |
| 648 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)).contDiffAt) | |
| 649 | - | |
| 650 | 551 | theorem partialX_toRadius {f : InnerProfile} {w : InnerPoint} |
| 651 | 552 | (hf : DifferentiableAt ℝ f (radiusPoint w)) : |
| 652 | 553 | partialX (toRadius f) w = w.1 * partialX f (radiusPoint w) := by |
| @@ -1067,101 +968,6 @@ theorem common_tail_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) : | ||
| 1067 | 968 | · ring |
| 1068 | 969 | constructor <;> linarith |
| 1069 | 970 | |
| 1070 | -/-- Compact coefficient jets give a uniform bound for every fixed inner | |
| 1071 | -derivative of a finite sum of actual powers. The exponent is unchanged by | |
| 1072 | -inner differentiation. -/ | |
| 1073 | -theorem finite_monomial_inner_jet_bound {ι : Type*} (s : Finset ι) | |
| 1074 | - (b : ι → ℝ) (F : ι → InnerProfile) (bmin : ℝ) | |
| 1075 | - {O K : Set InnerPoint} (hO : IsOpen O) (hK : IsCompact K) (hKO : K ⊆ O) | |
| 1076 | - (hF : ∀ i ∈ s, ContDiffOn ℝ ∞ (F i) O) (hb : ∀ i ∈ s, bmin ≤ b i) (m : ℕ) : | |
| 1077 | - ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, | |
| 1078 | - ‖iteratedFDeriv ℝ m (fun y => ∑ i ∈ s, q ^ b i * F i y) w‖ ≤ C * q ^ bmin := by | |
| 1079 | - classical | |
| 1080 | - have hex : ∀ i : ι, ∃ D : ℝ, 1 ≤ D ∧ | |
| 1081 | - ∀ w ∈ K, i ∈ s → ‖iteratedFDeriv ℝ m (F i) w‖ ≤ D := by | |
| 1082 | - intro i | |
| 1083 | - by_cases hi : i ∈ s | |
| 1084 | - · obtain ⟨D, hD, hDb⟩ := SlowBorelBase.compact_jet_bound hO (hF i hi) hK hKO m | |
| 1085 | - exact ⟨D, hD, fun w hw _ => hDb w hw⟩ | |
| 1086 | - · exact ⟨1, le_rfl, fun _ _ hi' => (hi hi').elim⟩ | |
| 1087 | - choose D hD hDb using hex | |
| 1088 | - have hDn : ∀ i, 0 ≤ D i := fun i => zero_le_one.trans (hD i) | |
| 1089 | - let C := 1 + ∑ i ∈ s, D i | |
| 1090 | - have hC : 0 < C := by | |
| 1091 | - have := Finset.sum_nonneg (fun i (_ : i ∈ s) => hDn i) | |
| 1092 | - dsimp [C] | |
| 1093 | - linarith | |
| 1094 | - refine ⟨C, hC, fun q hq hq1 w hw => ?_⟩ | |
| 1095 | - have hwO := hKO hw | |
| 1096 | - have hmn : (m : WithTop ℕ∞) ≤ ∞ := ENat.natCast_le_of_coe_top_le_withTop le_rfl m | |
| 1097 | - have hsum := iteratedFDerivWithin_fun_sum_apply (𝕜 := ℝ) (i := m) hO.uniqueDiffOn hwO | |
| 1098 | - (fun i hi => ((hF i hi w hwO).const_smul (q ^ b i)).of_le hmn) | |
| 1099 | - have hs : iteratedFDeriv ℝ m (fun y => ∑ i ∈ s, q ^ b i * F i y) w = | |
| 1100 | - ∑ i ∈ s, iteratedFDeriv ℝ m (fun y => q ^ b i * F i y) w := by | |
| 1101 | - simpa only [iteratedFDerivWithin_of_isOpen _ hO hwO, smul_eq_mul] using hsum | |
| 1102 | - rw [hs] | |
| 1103 | - calc | |
| 1104 | - _ ≤ ∑ i ∈ s, ‖iteratedFDeriv ℝ m (fun y => q ^ b i * F i y) w‖ := norm_sum_le _ _ | |
| 1105 | - _ ≤ ∑ i ∈ s, D i * q ^ bmin := by | |
| 1106 | - apply Finset.sum_le_sum | |
| 1107 | - intro i hi | |
| 1108 | - have he : iteratedFDeriv ℝ m (fun y => q ^ b i * F i y) w = | |
| 1109 | - q ^ b i • iteratedFDeriv ℝ m (F i) w := by | |
| 1110 | - simpa only [smul_eq_mul] using iteratedFDeriv_const_smul_apply' (a := q ^ b i) | |
| 1111 | - (((hF i hi).contDiffAt (hO.mem_nhds hwO)).of_le hmn) | |
| 1112 | - rw [he, norm_smul (q ^ b i : ℝ) (iteratedFDeriv ℝ m (F i) w), | |
| 1113 | - Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hq _)] | |
| 1114 | - calc | |
| 1115 | - _ ≤ q ^ b i * D i := mul_le_mul_of_nonneg_left (hDb i w hw hi) (Real.rpow_nonneg hq.le _) | |
| 1116 | - _ ≤ q ^ bmin * D i := mul_le_mul_of_nonneg_right | |
| 1117 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 (hb i hi)) (hDn i) | |
| 1118 | - _ = _ := mul_comm _ _ | |
| 1119 | - _ = (∑ i ∈ s, D i) * q ^ bmin := (Finset.sum_mul _ _ _).symm | |
| 1120 | - _ ≤ C * q ^ bmin := mul_le_mul_of_nonneg_right (by dsimp [C]; linarith) | |
| 1121 | - (Real.rpow_nonneg hq.le _) | |
| 1122 | - | |
| 1123 | -theorem transportTail_inner_jet_bound {O K : Set InnerPoint} (hO : IsOpen O) | |
| 1124 | - (hK : IsCompact K) (hKO : K ⊆ O) {h : ℝ} (hh : 0 ≤ h) | |
| 1125 | - (N : ℕ) (e α : ℝ) (v u f : ℕ → InnerProfile) | |
| 1126 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (v j) O) | |
| 1127 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 1128 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 1129 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (m : ℕ) : | |
| 1130 | - ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, | |
| 1131 | - ‖iteratedFDeriv ℝ m (transportTail N q h e α v u f) w‖ ≤ | |
| 1132 | - C * q ^ (e - 1 + slowOrder h (N + 1)) := by | |
| 1133 | - obtain ⟨C, hC, hb⟩ := finite_monomial_inner_jet_bound (transportIndices N) | |
| 1134 | - (transportPower N h e) (transportTerm N h e α v u f) (e - 1 + slowOrder h (N + 1)) | |
| 1135 | - hO hK hKO (fun i hi => transportTerm_smoothOn hO N h e α v u f hv hu hf hX hL hi) | |
| 1136 | - (fun i hi => transportPower_lower hh N e hi) m | |
| 1137 | - refine ⟨C, hC, fun q hq hq1 w hw => ?_⟩ | |
| 1138 | - have he : transportTail N q h e α v u f = | |
| 1139 | - fun y => ∑ i ∈ transportIndices N, q ^ transportPower N h e i * transportTerm N h e α v u f i y := | |
| 1140 | - funext (transportTail_eq_finite_monomials N q h e α v u f) | |
| 1141 | - rw [he] | |
| 1142 | - exact hb q hq hq1 w hw | |
| 1143 | - | |
| 1144 | -theorem pressureTail_inner_jet_bound {O K : Set InnerPoint} (hO : IsOpen O) | |
| 1145 | - (hK : IsCompact K) (hKO : K ⊆ O) {h : ℝ} (hh : 0 ≤ h) | |
| 1146 | - (N : ℕ) (C₀ : ℝ) (f : SlowProfiles) | |
| 1147 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1148 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1149 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1150 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (m : ℕ) : | |
| 1151 | - ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, | |
| 1152 | - ‖iteratedFDeriv ℝ m (pressureTail N q h C₀ f) w‖ ≤ | |
| 1153 | - C * q ^ (pressureExponent h + slowOrder h (N + 1)) := by | |
| 1154 | - obtain ⟨C, hC, hb⟩ := finite_monomial_inner_jet_bound (pressureIndices N) | |
| 1155 | - (pressurePower N h) (pressureTerm N h C₀ f) (pressureExponent h + slowOrder h (N + 1)) | |
| 1156 | - hO hK hKO (fun i hi => pressureTerm_smoothOn hO N h C₀ f hv hu hf hX hL hi) | |
| 1157 | - (fun i hi => pressurePower_lower hh N hi) m | |
| 1158 | - refine ⟨C, hC, fun q hq hq1 w hw => ?_⟩ | |
| 1159 | - have he : pressureTail N q h C₀ f = | |
| 1160 | - fun y => ∑ i ∈ pressureIndices N, q ^ pressurePower N h i * pressureTerm N h C₀ f i y := | |
| 1161 | - funext (pressureTail_eq_finite_monomials N q h C₀ f) | |
| 1162 | - rw [he] | |
| 1163 | - exact hb q hq hq1 w hw | |
| 1164 | - | |
| 1165 | 971 | theorem orderExponent_eq_axial (h : ℝ) (n : ℕ) : |
| 1166 | 972 | SlowStressSupport.orderExponent h n = axialExponent h + slowOrder h n := rfl |
| 1167 | 973 | |
| @@ -1282,18 +1088,6 @@ theorem axialWeighted_eq_zDensity (h : ℝ) (f : SlowProfiles) {n : ℕ} (hn : 0 | ||
| 1282 | 1088 | PositiveAxisSystem.a, CoordinateAlgebra.A] |
| 1283 | 1089 | ring |
| 1284 | 1090 | |
| 1285 | -theorem radius_divergence (h : ℝ) (f : SlowProfiles) (n : ℕ) {w : InnerPoint} | |
| 1286 | - (hv : DifferentiableAt ℝ (f.flux n) (radiusPoint w)) | |
| 1287 | - (hu : DifferentiableAt ℝ (f.axial n) (radiusPoint w)) | |
| 1288 | - (hd : divergenceCoefficient h f n (radiusPoint w) = 0) : | |
| 1289 | - SlowStressSupport.dr (toRadius (f.flux n)) w = | |
| 1290 | - -w.1 * SlowStressSupport.axialOp h (SlowStressSupport.orderExponent h n) | |
| 1291 | - (toRadius (f.axial n)) w := by | |
| 1292 | - change partialX (toRadius (f.flux n)) w = _ | |
| 1293 | - rw [partialX_toRadius hv, axialOp_toRadius h _ hu, orderExponent_eq_axial, | |
| 1294 | - (divergenceCoefficient_eq_zero_iff h f n (radiusPoint w)).mp hd] | |
| 1295 | - ring | |
| 1296 | - | |
| 1297 | 1091 | theorem partialX_toRadius_zero {f : InnerProfile} {eta : ℝ} |
| 1298 | 1092 | (hf : DifferentiableAt ℝ (toRadius f) (0, eta)) : partialX (toRadius f) (0, eta) = 0 := by |
| 1299 | 1093 | have he : Function.Even (fun R => toRadius f (R, eta)) := by |
| @@ -1367,27 +1161,6 @@ theorem primitive_stress_congr_slice (m : ℕ) {F G : InnerProfile} {R eta : ℝ | ||
| 1367 | 1161 | intervalIntegral.integral_congr (fun r _ => hFG r) |
| 1368 | 1162 | simp only [SlowStressSupport.stress, hp] |
| 1369 | 1163 | |
| 1370 | -/-- Equality of the actual negative integrals, not just their derivatives. -/ | |
| 1371 | -theorem thetaStress_eq_canonical {S : Set ℝ} (h C : ℝ) (f : SlowProfiles) (n : ℕ) | |
| 1372 | - (hEq : EqOn (thetaDensity h C f n) | |
| 1373 | - (SlowStressSupport.angularDensity h n (fun j => toRadius (f.flux j)) | |
| 1374 | - (fun j => toRadius (f.axial j)) (fun j => swirlRadius C (f.phi j))) | |
| 1375 | - (SlowStressSupport.region S)) {w : InnerPoint} (hw : w.2 ∈ S) : | |
| 1376 | - thetaStress h C f n w = fromRadius | |
| 1377 | - (SlowStressSupport.angularStress h n (fun j => toRadius (f.flux j)) | |
| 1378 | - (fun j => toRadius (f.axial j)) (fun j => swirlRadius C (f.phi j))) w := | |
| 1379 | - primitive_stress_congr_slice 2 (fun r => hEq ⟨mem_univ r, hw⟩) | |
| 1380 | - | |
| 1381 | -theorem zStress_eq_canonical {S : Set ℝ} (h : ℝ) (f : SlowProfiles) (n : ℕ) | |
| 1382 | - (hEq : EqOn (zDensity h f n) | |
| 1383 | - (SlowStressSupport.axialDensity h n (fun j => toRadius (f.flux j)) | |
| 1384 | - (fun j => toRadius (f.axial j)) (toRadius (f.pressure n))) | |
| 1385 | - (SlowStressSupport.region S)) {w : InnerPoint} (hw : w.2 ∈ S) : | |
| 1386 | - zStress h f n w = fromRadius | |
| 1387 | - (SlowStressSupport.axialStress h n (fun j => toRadius (f.flux j)) | |
| 1388 | - (fun j => toRadius (f.axial j)) (toRadius (f.pressure n))) w := | |
| 1389 | - primitive_stress_congr_slice 1 (fun r => hEq ⟨mem_univ r, hw⟩) | |
| 1390 | - | |
| 1391 | 1164 | theorem inner_smoothAt_of_radial {S : Set ℝ} (hS : IsOpen S) {F E : InnerProfile} |
| 1392 | 1165 | (hF : SlowStressSupport.Smooth S F) |
| 1393 | 1166 | (hFE : ∀ R : ℝ, 0 < R → ∀ eta ∈ S, F (R, eta) = E (R ^ 2 / 2, eta)) |
| @@ -1479,71 +1252,4 @@ theorem normalized_axial_viscosity {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 1479 | 1252 | rw [hfun, deriv_deriv_pullback_z hh hh1 (p := p) ht hE2] |
| 1480 | 1253 | simp only [pullback, hqp, hip, Real.one_rpow, one_mul] |
| 1481 | 1254 | |
| 1482 | -/-- The order-one angular viscosity moment follows from the restored | |
| 1483 | -renormalized heat moment. Only the stated exterior support is used to | |
| 1484 | -replace the positive half-line integral by its finite radial integral. -/ | |
| 1485 | -theorem lowerAngularViscosityMoment_of_renormalized {h C T B : ℝ} | |
| 1486 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hT : 0 < T) (hB : 0 ≤ B) | |
| 1487 | - {F E : InnerProfile} (hF : SlowStressSupport.Smooth (Ioo (-1) 1) F) | |
| 1488 | - (hFE : ∀ R : ℝ, 0 < R → ∀ eta ∈ Ioo (-1 : ℝ) 1, F (R, eta) = E (R ^ 2 / 2, eta)) | |
| 1489 | - (he : ∀ eta ∈ Ioo (-1 : ℝ) 1, ∀ X : ℝ, T ≤ X → | |
| 1490 | - E (X, eta) = C * X ^ (-RenormalizedHeatMoment.A h) * | |
| 1491 | - RadialHeatProfile.profile (1 + h) (2 * (1 - eta ^ 2) / X)) | |
| 1492 | - (hm : ∀ eta ∈ Ioo (-1 : ℝ) 1, RenormalizedHeatMoment.xMoment h C E eta = 0) | |
| 1493 | - (hExt : SlowStressSupport.exterior B (Ioo (-1) 1) | |
| 1494 | - (SlowStressSupport.axialOp2 h (SlowStressSupport.orderExponent h 0) F)) : | |
| 1495 | - SlowStressSupport.LowerAngularViscosityMoment (Ioo (-1) 1) B h F := by | |
| 1496 | - intro eta heta | |
| 1497 | - obtain ⟨ht, _, _⟩ := RenormalizedHeatMoment.normalized_coordinates hh hh1 heta | |
| 1498 | - have hz := RenormalizedHeatMoment.uTheta_axial_viscosity_integral hh hh1 ht hT hF hFE he hm eta | |
| 1499 | - rw [SlowStressSupport.moment_eq_positive hB hExt heta 2] | |
| 1500 | - change (∫ R in Ioi (0 : ℝ), R ^ 2 * | |
| 1501 | - SlowStressSupport.axialOp2 h (SlowStressSupport.orderExponent h 0) F (R, eta)) = 0 | |
| 1502 | - calc | |
| 1503 | - _ = ∫ R in Ioi (0 : ℝ), R ^ 2 * | |
| 1504 | - deriv (deriv (RenormalizedHeatMoment.uTheta h E (eta ^ 2) R)) eta := by | |
| 1505 | - apply MeasureTheory.setIntegral_congr_fun measurableSet_Ioi | |
| 1506 | - intro R hR | |
| 1507 | - dsimp only | |
| 1508 | - rw [normalized_axial_viscosity hh hh1 hF hFE heta hR] | |
| 1509 | - simp only [SlowStressSupport.orderExponent, slowOrder_zero, add_zero] | |
| 1510 | - rfl | |
| 1511 | - _ = 0 := hz | |
| 1512 | - | |
| 1513 | -theorem hierarchy_profile_smoothAt {R : ℝ} {U : Set ℂ} {h C : ℝ} | |
| 1514 | - {base : Fin 5 → InnerProfile} (A : SlowRecursion.LocalHierarchy R U h C base) | |
| 1515 | - (hR : 0 < R) (hU : IsOpen U) (n : ℕ) (i : Fin 5) | |
| 1516 | - {w : InnerPoint} (hX : w.1 ∈ Ioo (0 : ℝ) (R ^ 2)) (heta : (w.2 : ℂ) ∈ U) : | |
| 1517 | - ContDiffAt ℝ ∞ (SlowRecursion.profile (A.coefficients n i)) w := by | |
| 1518 | - have hsub : Ioo (0 : ℝ) (R ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U ⊆ | |
| 1519 | - Ico (0 : ℝ) (R ^ 2) ×ˢ PositiveAxisExistence.realParameterDomain U := | |
| 1520 | - fun _ hw => ⟨⟨hw.1.1.le, hw.1.2⟩, hw.2⟩ | |
| 1521 | - exact ((A.profiles_smooth hR hU n i).mono hsub).contDiffAt | |
| 1522 | - ((isOpen_Ioo.prod (PositiveAxisExistence.realParameterDomain_isOpen hU)).mem_nhds ⟨hX, heta⟩) | |
| 1523 | - | |
| 1524 | -theorem hierarchy_pressure_coefficient {R : ℝ} {U : Set ℂ} {h C : ℝ} | |
| 1525 | - {base : Fin 5 → InnerProfile} (A : SlowRecursion.LocalHierarchy R U h C base) | |
| 1526 | - (hR : 0 < R) (hU : IsOpen U) {n : ℕ} (hn : 0 < n) | |
| 1527 | - {X eta : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) (heta : (eta : ℂ) ∈ U) | |
| 1528 | - (hL : CoordinateAlgebra.L h eta ≠ 0) : | |
| 1529 | - pressureCoefficient h C (hierarchyProfiles A) n (X, eta) = 0 := by | |
| 1530 | - exact positiveOrder_pressure_coefficient h C _ _ _ _ _ n hX.1.ne' hL | |
| 1531 | - (fun j _ => (hierarchy_profile_smoothAt A hR hU j 4 hX heta).of_le | |
| 1532 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)) | |
| 1533 | - (A.equations n hn X hX eta heta) | |
| 1534 | - | |
| 1535 | -/-- A repaired family that retains the finite input germs retains the | |
| 1536 | -actual solved angular and axial equations in the inner region. -/ | |
| 1537 | -theorem repaired_tangential_coefficients {R : ℝ} {U : Set ℂ} {h C : ℝ} | |
| 1538 | - {base : Fin 5 → InnerProfile} (A : SlowRecursion.LocalHierarchy R U h C base) | |
| 1539 | - (f : SlowProfiles) {n : ℕ} (hn : 0 < n) {X eta : ℝ} | |
| 1540 | - (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) (heta : (eta : ℂ) ∈ U) | |
| 1541 | - (hv : ∀ j ≤ n, f.flux j =ᶠ[𝓝 (X, eta)] (hierarchyProfiles A).flux j) | |
| 1542 | - (hu : ∀ j ≤ n, f.axial j =ᶠ[𝓝 (X, eta)] (hierarchyProfiles A).axial j) | |
| 1543 | - (hphi : ∀ j ≤ n, f.phi j =ᶠ[𝓝 (X, eta)] (hierarchyProfiles A).phi j) | |
| 1544 | - (hp : f.pressure n =ᶠ[𝓝 (X, eta)] (hierarchyProfiles A).pressure n) : | |
| 1545 | - angularCoefficient h f n (X, eta) = 0 ∧ axialCoefficient h f n (X, eta) = 0 := by | |
| 1546 | - rw [angularCoefficient_congr_germ h n hv hu hphi, axialCoefficient_congr_germ h n hv hu hp] | |
| 1547 | - exact hierarchy_tangential_coefficients A hn hX heta | |
| 1548 | - | |
| 1549 | 1255 | end NavierStokes.SlowResidualMatching |
+0 −282 NavierStokes/SlowStressSupport.lean View file
| @@ -70,18 +70,6 @@ theorem parameter_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smo | ||
| 70 | 70 | ProfileHistories.parameterPartial_hasDerivAt (PositiveOrderMoments.parameterDomain S hS) |
| 71 | 71 | hf (p := w) ⟨mem_univ _, hw⟩ |
| 72 | 72 | |
| 73 | -theorem dr_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} | |
| 74 | - (hf : Smooth S f) (hg : Smooth S g) {w : ℝ × ℝ} (hw : w.2 ∈ S) : | |
| 75 | - dr (fun p => f p * g p) w = dr f w * g w + f w * dr g w := | |
| 76 | - (radial_hasDerivAt hS (hf.mul hg) hw).unique | |
| 77 | - ((radial_hasDerivAt hS hf hw).mul (radial_hasDerivAt hS hg hw)) | |
| 78 | - | |
| 79 | -theorem de_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} | |
| 80 | - (hf : Smooth S f) (hg : Smooth S g) {w : ℝ × ℝ} (hw : w.2 ∈ S) : | |
| 81 | - de (fun p => f p * g p) w = de f w * g w + f w * de g w := | |
| 82 | - (parameter_hasDerivAt hS (hf.mul hg) hw).unique | |
| 83 | - ((parameter_hasDerivAt hS hf hw).mul (parameter_hasDerivAt hS hg hw)) | |
| 84 | - | |
| 85 | 73 | theorem de_weighted {S : Set ℝ} (hS : IsOpen S) {f : Field} |
| 86 | 74 | (hf : Smooth S f) (m : ℕ) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 87 | 75 | de (weighted m f) w = w.1 ^ m * de f w := |
| @@ -201,14 +189,6 @@ theorem exterior_axialOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth | ||
| 201 | 189 | simp [axialOp, hs eta heta R hR, exterior_dr hS hf hs eta heta R hR, |
| 202 | 190 | exterior_de hS hf hs eta heta R hR] |
| 203 | 191 | |
| 204 | -theorem axialOp_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} | |
| 205 | - (hf : Smooth S f) (hg : Smooth S g) (h b c : ℝ) | |
| 206 | - {w : ℝ × ℝ} (hw : w.2 ∈ S) : | |
| 207 | - axialOp h (b + c) (fun p => f p * g p) w = | |
| 208 | - axialOp h b f w * g w + f w * axialOp h c g w := by | |
| 209 | - simp only [axialOp, de_mul hS hf hg hw, dr_mul hS hf hg hw] | |
| 210 | - ring | |
| 211 | - | |
| 212 | 192 | /-- The weighted axial derivative is the actual derivative of the weighted |
| 213 | 193 | moment, with its exact scaling coefficient and radial boundary term. -/ |
| 214 | 194 | theorem moment_axialOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| @@ -304,25 +284,9 @@ theorem orderExponent_pair (h : ℝ) {i j n : ℕ} (hij : i + j = n) : | ||
| 304 | 284 | rw [← hij, SlowExpansionResidual.slowOrder_add] |
| 305 | 285 | ring |
| 306 | 286 | |
| 307 | -/-- At a fixed convolution order the physical power is independent of the split. -/ | |
| 308 | -theorem physical_product_power {q : ℝ} (hq : 0 < q) (h b c : ℝ) | |
| 309 | - {i j n : ℕ} (hij : i + j = n) : | |
| 310 | - q ^ (b + SlowExpansionResidual.slowOrder h i) * q ^ (c + SlowExpansionResidual.slowOrder h j) = | |
| 311 | - q ^ (b + c + SlowExpansionResidual.slowOrder h n) := by | |
| 312 | - rw [SlowExpansionResidual.rpow_product_order hq, hij] | |
| 313 | - | |
| 314 | 287 | noncomputable def conv (n : ℕ) (u v : History) (w : ℝ × ℝ) : ℝ := |
| 315 | 288 | ∑ i ∈ Finset.range (n + 1), u i w * v (n - i) w |
| 316 | 289 | |
| 317 | -theorem conv_eq_actual (n : ℕ) (u v : History) (w : ℝ × ℝ) : | |
| 318 | - conv n u v w = PositiveOrderMoments.cauchy n (PositiveOrderMoments.slice u w.2) | |
| 319 | - (PositiveOrderMoments.slice v w.2) w.1 := rfl | |
| 320 | - | |
| 321 | -theorem conv_eq_antidiagonal (n : ℕ) (u v : History) (w : ℝ × ℝ) : | |
| 322 | - conv n u v w = SlowExpansionResidual.convolution (fun i j => u i w * v j w) n := by | |
| 323 | - symm | |
| 324 | - exact Finset.Nat.sum_antidiagonal_eq_sum_range_succ (fun i j => u i w * v j w) n | |
| 325 | - | |
| 326 | 290 | theorem smooth_conv {S : Set ℝ} {n : ℕ} {u v : History} |
| 327 | 291 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hv : ∀ j, j ≤ n → Smooth S (v j)) : |
| 328 | 292 | Smooth S (conv n u v) := by |
| @@ -787,28 +751,6 @@ theorem stress_weighted_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {F : Field} (hF | ||
| 787 | 751 | rw [stress_of_pos m F (w := (r, eta)) hr] |
| 788 | 752 | field_simp [pow_ne_zero m (ne_of_gt (show 0 < r from hr))] |
| 789 | 753 | |
| 790 | -theorem stress_radial_identity {S : Set ℝ} (hS : IsOpen S) {F : Field} (hF : Smooth S F) | |
| 791 | - (m : ℕ) {a : ℝ} (ha : 0 < a) | |
| 792 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) | |
| 793 | - {w : ℝ × ℝ} (hR : 0 < w.1) (heta : w.2 ∈ S) : | |
| 794 | - (m : ℝ) * w.1 ^ (m - 1) * stress m F w + w.1 ^ m * dr (stress m F) w = -F w := by | |
| 795 | - have ht := stress_smooth hS hF m ha hinner | |
| 796 | - have hd := (radial_hasDerivAt hS (smooth_weighted ht m) heta).unique | |
| 797 | - (stress_weighted_hasDerivAt hS hF m hR heta) | |
| 798 | - rw [dr_weighted hS ht m heta] at hd | |
| 799 | - exact hd | |
| 800 | - | |
| 801 | -theorem stress_slice_support (m : ℕ) {F : Field} {S : Set ℝ} {a B : ℝ} (hB : 0 ≤ B) | |
| 802 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) | |
| 803 | - (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) | |
| 804 | - {eta : ℝ} (heta : eta ∈ S) : support (fun R => stress m F (R, eta)) ⊆ Icc a B := by | |
| 805 | - intro R hR | |
| 806 | - constructor | |
| 807 | - · by_contra hh | |
| 808 | - exact hR (stress_inner m hinner (le_of_not_ge hh) heta) | |
| 809 | - · by_contra hh | |
| 810 | - exact hR (stress_exterior m hB hs hm (le_of_not_ge hh) heta) | |
| 811 | - | |
| 812 | 754 | noncomputable def radialSupport (S : Set ℝ) (a b : ℝ) (f : Field) : Prop := |
| 813 | 755 | ∀ eta ∈ S, ∀ R, R ∉ Icc a b → f (R, eta) = 0 |
| 814 | 756 | |
| @@ -818,12 +760,6 @@ theorem support_eventually_zero {S : Set ℝ} (hS : IsOpen S) {a b : ℝ} {f : F | ||
| 818 | 760 | filter_upwards [(isClosed_Icc.isOpen_compl.prod hS).mem_nhds ⟨hR, hw⟩] with p hp |
| 819 | 761 | exact hs p.2 hp.2 p.1 hp.1 |
| 820 | 762 | |
| 821 | -theorem jet_eq_zero_of_eventually {f : Field} {w : ℝ × ℝ} | |
| 822 | - (hf : f =ᶠ[𝓝 w] fun _ => 0) (k : ℕ) : iteratedFDeriv ℝ k f w = 0 := by | |
| 823 | - have hh : f =ᶠ[𝓝[univ] w] fun _ => (0 : ℝ) := by simpa only [nhdsWithin_univ] using hf | |
| 824 | - have he := hh.iteratedFDerivWithin_eq (𝕜 := ℝ) hf.self_of_nhds k | |
| 825 | - simpa only [iteratedFDerivWithin_univ, iteratedFDeriv_fun_zero, Pi.zero_apply] using he | |
| 826 | - | |
| 827 | 763 | theorem interior_quotient_smooth {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 828 | 764 | {a b l r : ℝ} (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) |
| 829 | 765 | {zeta : ℝ → ℝ} (hz : ContDiffOn ℝ ∞ zeta (Ioo l r)) |
| @@ -839,61 +775,6 @@ theorem interior_quotient_smooth {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : | ||
| 839 | 775 | filter_upwards [support_eventually_zero hS hs hw.2 ho] with p hp |
| 840 | 776 | simp [hp] |
| 841 | 777 | |
| 842 | -/-- Every actual derivative tensor has a weighted bound because its support | |
| 843 | -lies in one fixed compact subinterval of the positive-weight region. No | |
| 844 | -stress norm bound is an input. The constant may depend on the derivative order. -/ | |
| 845 | -theorem interior_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) | |
| 846 | - {f : Field} (hf : Smooth S f) {a b l r : ℝ} | |
| 847 | - (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) | |
| 848 | - {zeta : ℝ → ℝ} (hz : ContinuousOn zeta (Ioo l r)) | |
| 849 | - (hz0 : ∀ R ∈ Ioo l r, 0 < zeta R) (k : ℕ) : | |
| 850 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, | |
| 851 | - ‖iteratedFDeriv ℝ k f (R, eta)‖ ≤ C * zeta R := by | |
| 852 | - have hcj : ContinuousOn (iteratedFDeriv ℝ k f) (Icc a b ×ˢ K) := by | |
| 853 | - intro w hw | |
| 854 | - have hh := hf.contDiffAt ((isOpen_univ.prod hS).mem_nhds ⟨mem_univ _, hKS hw.2⟩) | |
| 855 | - exact (hh.iteratedFDeriv_right (m := 0) (by | |
| 856 | - simp only [zero_add] | |
| 857 | - exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).continuousAt.continuousWithinAt | |
| 858 | - have hcz : ContinuousOn (fun w : ℝ × ℝ => zeta w.1) (Icc a b ×ˢ K) := | |
| 859 | - hz.comp continuous_fst.continuousOn (fun w hw => hab hw.1) | |
| 860 | - have hc : ContinuousOn (fun w : ℝ × ℝ => ‖iteratedFDeriv ℝ k f w‖ / zeta w.1) | |
| 861 | - (Icc a b ×ˢ K) := hcj.norm.div hcz (fun w hw => (hz0 w.1 (hab hw.1)).ne') | |
| 862 | - obtain ⟨C, hC⟩ := (isCompact_Icc.prod hK).exists_bound_of_continuousOn hc | |
| 863 | - refine ⟨max C 0, le_max_right _ _, ?_⟩ | |
| 864 | - intro R hR eta heta | |
| 865 | - by_cases hi : R ∈ Icc a b | |
| 866 | - · apply (div_le_iff₀ (hz0 R hR)).mp | |
| 867 | - exact (le_abs_self _).trans ((hC (R, eta) ⟨hi, heta⟩).trans (le_max_left _ _)) | |
| 868 | - · have hj := jet_eq_zero_of_eventually (support_eventually_zero hS hs (w := (R, eta)) (hKS heta) hi) k | |
| 869 | - rw [hj, norm_zero] | |
| 870 | - exact mul_nonneg (le_max_right _ _) (hz0 R hR).le | |
| 871 | - | |
| 872 | -theorem stress_radialSupport (m : ℕ) {F : Field} {S : Set ℝ} {a B : ℝ} (hB : 0 ≤ B) | |
| 873 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) | |
| 874 | - (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) : | |
| 875 | - radialSupport S a B (stress m F) := by | |
| 876 | - intro eta heta R hR | |
| 877 | - by_contra hn | |
| 878 | - exact hR (stress_slice_support m hB hinner hs hm heta hn) | |
| 879 | - | |
| 880 | -/-- A fixed interior support interval gives all weighted stress jets on | |
| 881 | -every compact parameter subinterval, as well as a smooth normalized stress. -/ | |
| 882 | -theorem stress_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) | |
| 883 | - {F : Field} (hF : Smooth S F) (m : ℕ) {a B l r : ℝ} (ha : 0 < a) (hB : 0 ≤ B) | |
| 884 | - (hab : Icc a B ⊆ Ioo l r) | |
| 885 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) | |
| 886 | - (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) | |
| 887 | - {zeta : ℝ → ℝ} (hz : ContDiffOn ℝ ∞ zeta (Ioo l r)) | |
| 888 | - (hz0 : ∀ R ∈ Ioo l r, 0 < zeta R) : | |
| 889 | - Smooth S (fun w => stress m F w / zeta w.1) ∧ | |
| 890 | - ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, | |
| 891 | - ‖iteratedFDeriv ℝ k (stress m F) (R, eta)‖ ≤ C * zeta R := by | |
| 892 | - have ht := stress_smooth hS hF m ha hinner | |
| 893 | - have hts := stress_radialSupport m hB hinner hs hm | |
| 894 | - exact ⟨interior_quotient_smooth hS ht hts hab hz (fun R hR => (hz0 R hR).ne'), | |
| 895 | - interior_weighted_jets hS hK hKS ht hts hab hz.continuousOn hz0⟩ | |
| 896 | - | |
| 897 | 778 | theorem smooth_angularDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 898 | 779 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 899 | 780 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| @@ -971,173 +852,10 @@ theorem exterior_axialDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} | ||
| 971 | 852 | simp [axialDensity, exterior_timeOp hS (hu n le_rfl) (hU n le_rfl) h (orderExponent h n) eta heta R hR, |
| 972 | 853 | hr eta heta R hR, hz eta heta R hR, hk eta heta R hR, hprev eta heta R hR] |
| 973 | 854 | |
| 974 | -noncomputable def angularStress (h : ℝ) (n : ℕ) (v u e : History) : Field := | |
| 975 | - stress 2 (angularDensity h n v u e) | |
| 976 | - | |
| 977 | -noncomputable def axialStress (h : ℝ) (n : ℕ) (v u : History) (p : Field) : Field := | |
| 978 | - stress 1 (axialDensity h n v u p) | |
| 979 | - | |
| 980 | -/-- For n≥2 all the angular hypotheses below are supplied by ordinary | |
| 981 | -positive-order moments and compact positive-order profiles. -/ | |
| 982 | -theorem angular_stress_support {S : Set ℝ} (hS : IsOpen S) {n : ℕ} (hn : 2 ≤ n) | |
| 983 | - {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) | |
| 984 | - (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) | |
| 985 | - (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) | |
| 986 | - (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) | |
| 987 | - (hV : ∀ j, j ≤ n → exterior B S (v j)) (hU : ∀ j, j ≤ n → exterior B S (u j)) | |
| 988 | - (hE : ∀ j, 0 < j → j ≤ n → exterior B S (e j)) | |
| 989 | - (hem : ∀ eta ∈ S, moment B 2 (e n) eta = 0) | |
| 990 | - (hum : ∀ eta ∈ S, moment B 2 (conv n u e) eta = 0) | |
| 991 | - (hprev : ∀ eta ∈ S, moment B 2 (e (n - 1)) eta = 0) | |
| 992 | - (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ n → | |
| 993 | - dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) | |
| 994 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularWeighted h n v u e (R, eta) = 0) : | |
| 995 | - Smooth S (angularStress h n v u e) ∧ radialSupport S a B (angularStress h n v u e) ∧ | |
| 996 | - ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r ^ 2 * angularStress h n v u e (r, eta)) | |
| 997 | - (-angularWeighted h n v u e (R, eta)) R := by | |
| 998 | - have hen := hE n (by omega) le_rfl | |
| 999 | - have hep := hE (n - 1) (by omega) (Nat.sub_le _ _) | |
| 1000 | - have hsm := smooth_angularDensity hS hv hu he h hell | |
| 1001 | - have htotal : ∀ eta ∈ S, moment B 0 (angularDensity h n v u e) eta = 0 := | |
| 1002 | - fun eta heta => angular_integral_zero hS hv hu he h B hell hen hV hem hum | |
| 1003 | - (exterior_conv_left hU) hep hprev heta | |
| 1004 | - have hout := exterior_angularDensity hS hv hu he h B hV hU hen | |
| 1005 | - (exterior_axialOp2 hS (he (n - 1) (Nat.sub_le _ _)) hep h _ hell) | |
| 1006 | - have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularDensity h n v u e (R, eta) = 0 := by | |
| 1007 | - intro eta heta R hR | |
| 1008 | - rw [← angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] | |
| 1009 | - exact hinner eta heta R hR | |
| 1010 | - refine ⟨stress_smooth hS hsm 2 ha hin, stress_radialSupport 2 hB hin hout htotal, ?_⟩ | |
| 1011 | - intro eta heta R hR | |
| 1012 | - rw [angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] | |
| 1013 | - exact stress_weighted_hasDerivAt hS hsm 2 hR heta | |
| 1014 | - | |
| 1015 | -theorem axial_stress_support {S : Set ℝ} (hS : IsOpen S) {n : ℕ} (hn : 0 < n) | |
| 1016 | - {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) | |
| 1017 | - (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) | |
| 1018 | - (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) | |
| 1019 | - (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) | |
| 1020 | - (hV : ∀ j, j ≤ n → exterior B S (v j)) (hU : ∀ j, j ≤ n → exterior B S (u j)) | |
| 1021 | - (hP : exterior B S p) (haxis : ∀ eta ∈ S, ∀ j, j ≤ n → v j (0, eta) = 0) | |
| 1022 | - (hum : ∀ eta ∈ S, moment B 1 (u n) eta = 0) | |
| 1023 | - (hflux : ∀ eta ∈ S, moment B 1 (fun w => conv n u u w + p w) eta = 0) | |
| 1024 | - (hprev : ∀ eta ∈ S, moment B 1 (u (n - 1)) eta = 0) | |
| 1025 | - (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ n → | |
| 1026 | - dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) | |
| 1027 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, axialWeighted h n v u p (R, eta) = 0) : | |
| 1028 | - Smooth S (axialStress h n v u p) ∧ radialSupport S a B (axialStress h n v u p) ∧ | |
| 1029 | - ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r * axialStress h n v u p (r, eta)) | |
| 1030 | - (-axialWeighted h n v u p (R, eta)) R := by | |
| 1031 | - have hprev_le : n - 1 ≤ n := (Nat.sub_lt hn (by decide : 0 < 1)).le | |
| 1032 | - have hsm := smooth_axialDensity hS hv hu hp h hell | |
| 1033 | - have hax : ∀ eta ∈ S, conv n v u (0, eta) = 0 := by | |
| 1034 | - intro eta heta | |
| 1035 | - unfold conv | |
| 1036 | - apply Finset.sum_eq_zero | |
| 1037 | - intro j hj | |
| 1038 | - rw [haxis eta heta j (Nat.le_of_lt_succ (Finset.mem_range.mp hj)), zero_mul] | |
| 1039 | - have hfB : ∀ eta ∈ S, conv n u u (B, eta) + p (B, eta) = 0 := by | |
| 1040 | - intro eta heta | |
| 1041 | - rw [exterior_conv_left hU eta heta B le_rfl, hP eta heta B le_rfl, add_zero] | |
| 1042 | - have htotal : ∀ eta ∈ S, moment B 0 (axialDensity h n v u p) eta = 0 := | |
| 1043 | - fun eta heta => axial_integral_zero hS hv hu hp h B hell (hU n le_rfl) hV hax hum hflux hfB | |
| 1044 | - (hU (n - 1) hprev_le) hprev heta | |
| 1045 | - have hout := exterior_axialDensity hS hv hu hp h B hV hU hP | |
| 1046 | - (exterior_axialOp2 hS (hu (n - 1) (Nat.sub_le _ _)) (hU (n - 1) (Nat.sub_le _ _)) h _ hell) | |
| 1047 | - have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, axialDensity h n v u p (R, eta) = 0 := by | |
| 1048 | - intro eta heta R hR | |
| 1049 | - rw [← axialWeighted_eq_density hS hv hu hp h heta (hdiv _ heta)] | |
| 1050 | - exact hinner eta heta R hR | |
| 1051 | - refine ⟨stress_smooth hS hsm 1 ha hin, stress_radialSupport 1 hB hin hout htotal, ?_⟩ | |
| 1052 | - intro eta heta R hR | |
| 1053 | - rw [axialWeighted_eq_density hS hv hu hp h heta (hdiv _ heta)] | |
| 1054 | - unfold axialStress | |
| 1055 | - simpa only [pow_one] using stress_weighted_hasDerivAt hS hsm 1 hR heta | |
| 1056 | - | |
| 1057 | -/-- The order-one angular input is a moment of the actual axial viscosity, | |
| 1058 | -not a condition on the total residual. It is supplied by differentiating | |
| 1059 | -the restored renormalized order-zero physical angular moment. -/ | |
| 1060 | -noncomputable def LowerAngularViscosityMoment (S : Set ℝ) (B h : ℝ) (e₀ : Field) : Prop := | |
| 1061 | - ∀ eta ∈ S, moment B 2 (axialOp2 h (orderExponent h 0) e₀) eta = 0 | |
| 1062 | - | |
| 1063 | -theorem order_one_angular_stress_support {S : Set ℝ} (hS : IsOpen S) | |
| 1064 | - {v u e : History} (hv : ∀ j, j ≤ 1 → Smooth S (v j)) | |
| 1065 | - (hu : ∀ j, j ≤ 1 → Smooth S (u j)) (he : ∀ j, j ≤ 1 → Smooth S (e j)) | |
| 1066 | - (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) | |
| 1067 | - (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) | |
| 1068 | - (hV : ∀ j, j ≤ 1 → exterior B S (v j)) (hU : ∀ j, j ≤ 1 → exterior B S (u j)) | |
| 1069 | - (hE : exterior B S (e 1)) | |
| 1070 | - (hem : ∀ eta ∈ S, moment B 2 (e 1) eta = 0) | |
| 1071 | - (hum : ∀ eta ∈ S, moment B 2 (conv 1 u e) eta = 0) | |
| 1072 | - (hvisc : LowerAngularViscosityMoment S B h (e 0)) | |
| 1073 | - (hviscExterior : exterior B S (axialOp2 h (orderExponent h 0) (e 0))) | |
| 1074 | - (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ 1 → | |
| 1075 | - dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) | |
| 1076 | - (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularWeighted h 1 v u e (R, eta) = 0) : | |
| 1077 | - Smooth S (angularStress h 1 v u e) ∧ radialSupport S a B (angularStress h 1 v u e) ∧ | |
| 1078 | - ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r ^ 2 * angularStress h 1 v u e (r, eta)) | |
| 1079 | - (-angularWeighted h 1 v u e (R, eta)) R := by | |
| 1080 | - have hsm := smooth_angularDensity hS hv hu he h hell | |
| 1081 | - have htotal : ∀ eta ∈ S, moment B 0 (angularDensity h 1 v u e) eta = 0 := by | |
| 1082 | - intro eta heta | |
| 1083 | - rw [angular_integral_balance hS hv hu he h B hell hE hV hem hum (exterior_conv_left hU) heta] | |
| 1084 | - simp only [Nat.sub_self, hvisc eta heta, neg_zero] | |
| 1085 | - have hout := exterior_angularDensity hS hv hu he h B hV hU hE hviscExterior | |
| 1086 | - have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularDensity h 1 v u e (R, eta) = 0 := by | |
| 1087 | - intro eta heta R hR | |
| 1088 | - rw [← angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] | |
| 1089 | - exact hinner eta heta R hR | |
| 1090 | - refine ⟨stress_smooth hS hsm 2 ha hin, stress_radialSupport 2 hB hin hout htotal, ?_⟩ | |
| 1091 | - intro eta heta R hR | |
| 1092 | - rw [angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] | |
| 1093 | - exact stress_weighted_hasDerivAt hS hsm 2 hR heta | |
| 1094 | - | |
| 1095 | 855 | /-- A concrete two-edge weight of the form prescribed in (20). -/ |
| 1096 | 856 | noncomputable def logFlatWeight (l r cL cR R : ℝ) : ℝ := |
| 1097 | 857 | if R ∈ Ioo l r then |
| 1098 | 858 | FlatCutoff.edge cL (Real.log (R / l)) * FlatCutoff.edge cR (Real.log (r / R)) |
| 1099 | 859 | else 0 |
| 1100 | 860 | |
| 1101 | -theorem logFlatWeight_pos {l r : ℝ} (hl : 0 < l) (cL cR : ℝ) | |
| 1102 | - {R : ℝ} (hR : R ∈ Ioo l r) : 0 < logFlatWeight l r cL cR R := by | |
| 1103 | - rw [logFlatWeight, ite_eq_left hR] | |
| 1104 | - apply mul_pos | |
| 1105 | - · exact FlatCutoff.edge_pos cL (Real.log_pos ((one_lt_div hl).mpr hR.1)) | |
| 1106 | - · exact FlatCutoff.edge_pos cR (Real.log_pos ((one_lt_div (hl.trans hR.1)).mpr hR.2)) | |
| 1107 | - | |
| 1108 | -theorem logFlatWeight_contDiffOn {l r cL cR : ℝ} (hl : 0 < l) | |
| 1109 | - (hcL : 0 < cL) (hcR : 0 < cR) : | |
| 1110 | - ContDiffOn ℝ ∞ (logFlatWeight l r cL cR) (Ioo l r) := by | |
| 1111 | - intro R hR | |
| 1112 | - apply ContDiffAt.contDiffWithinAt | |
| 1113 | - have hp := hl.trans hR.1 | |
| 1114 | - have hr := hp.trans hR.2 | |
| 1115 | - have hleft : ContDiffAt ℝ ∞ (fun x : ℝ => Real.log (x / l)) R := | |
| 1116 | - (contDiffAt_id.div_const l).log (div_ne_zero hp.ne' hl.ne') | |
| 1117 | - have hright : ContDiffAt ℝ ∞ (fun x : ℝ => Real.log (r / x)) R := | |
| 1118 | - (contDiffAt_const.div contDiffAt_id hp.ne').log (div_ne_zero hr.ne' hp.ne') | |
| 1119 | - have hs : ContDiffAt ℝ ∞ (fun x => | |
| 1120 | - FlatCutoff.edge cL (Real.log (x / l)) * FlatCutoff.edge cR (Real.log (r / x))) R := | |
| 1121 | - ((FlatCutoff.edge_contDiff hcL).contDiffAt.comp R hleft).mul | |
| 1122 | - ((FlatCutoff.edge_contDiff hcR).contDiffAt.comp R hright) | |
| 1123 | - apply hs.congr_of_eventuallyEq | |
| 1124 | - filter_upwards [isOpen_Ioo.mem_nhds hR] with x hx | |
| 1125 | - exact ite_eq_left hx | |
| 1126 | - | |
| 1127 | -/-- In particular the prescribed logarithmic Gaussian weight controls every | |
| 1128 | -jet, with inverse-edge loss zero, for a field supported strictly inside both | |
| 1129 | -fixed edges. The constants are obtained from compactness. -/ | |
| 1130 | -theorem logarithmic_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) | |
| 1131 | - {f : Field} (hf : Smooth S f) {a b l r cL cR : ℝ} | |
| 1132 | - (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) | |
| 1133 | - (hl : 0 < l) (hcL : 0 < cL) (hcR : 0 < cR) : | |
| 1134 | - Smooth S (fun w => f w / logFlatWeight l r cL cR w.1) ∧ | |
| 1135 | - ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, | |
| 1136 | - ‖iteratedFDeriv ℝ k f (R, eta)‖ ≤ C * logFlatWeight l r cL cR R := by | |
| 1137 | - have hz := logFlatWeight_contDiffOn (r := r) hl hcL hcR | |
| 1138 | - have hp : ∀ R ∈ Ioo l r, 0 < logFlatWeight l r cL cR R := | |
| 1139 | - fun R hR => logFlatWeight_pos hl cL cR hR | |
| 1140 | - exact ⟨interior_quotient_smooth hS hf hs hab hz (fun R hR => (hp R hR).ne'), | |
| 1141 | - interior_weighted_jets hS hK hKS hf hs hab hz.continuousOn hp⟩ | |
| 1142 | - | |
| 1143 | 861 | end NavierStokes.SlowStressSupport |
+28 −0 routes/s1-ns-slow-1/README.md added View file
| @@ -0,0 +1,28 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-slow-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, "Delete declarations that nothing uses"), the family | |
| 8 | +`NavierStokes/Slow*`: the eight files `SlowBaseEndpoint`, `SlowBorelBase`, `SlowDivergence`, | |
| 9 | +`SlowExpansionResidual`, `SlowFirstOrderEdge`, `SlowRecursion`, `SlowResidualMatching` and | |
| 10 | +`SlowStressSupport`. I delete the 80 declarations that nothing uses, 1205 lines, deletions only; | |
| 11 | +every statement and proof that stays is unchanged. | |
| 12 | + | |
| 13 | +The unit's cut listed 83 declarations. Three of them stay, and are left out of this pull request, | |
| 14 | +because their docstrings cite numbered equations of the manuscript: | |
| 15 | +`NavierStokes.SlowExpansionResidual.divergenceCoefficient_eq_zero_iff` (Equation (21)), | |
| 16 | +`NavierStokes.SlowExpansionResidual.pressureCoefficient_eq_zero_iff` (Equation (22)) and | |
| 17 | +`NavierStokes.SlowStressSupport.logFlatWeight` (Equation (20)). They were put back from `main` | |
| 18 | +and are not deleted here. | |
| 19 | + | |
| 20 | +Checked in the tree this deletes from: `git grep -n -w` finds none of the 80 short names left; | |
| 21 | +no deleted docstring cites a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation | |
| 22 | +of either paper; the diff is deletions only. `python3 checks/challenge.py .` ends with `ok`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The maintainer's reading and the `build` check, which says whether the tree compiles. If `build` | |
| 27 | +names a deleted declaration as used by one that stays, restore only that declaration from `main` | |
| 28 | +and leave the rest. The other families of #10 are other units. | |