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.
A pull request is already open: #225 chore(NavierStokes/Parametric): delete 68 declarations nothing uses
1 commit
+0 −36 NavierStokes/ParametricFlatFactor.lean View file
| @@ -62,18 +62,10 @@ def factor (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) (y : E × ℝ) : ℝ := | ||
| 62 | 62 | def primitive (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) (y : E × ℝ) : ℝ := |
| 63 | 63 | FlatPrimitive.primitive c j (fun u => b (y.1, u)) y.2 |
| 64 | 64 | |
| 65 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 66 | -theorem factor_eq_scalar (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) (p : E) (x : ℝ) : | |
| 67 | - factor c j b (p, x) = FlatPrimitiveFactor.factor c j (fun u => b (p, u)) x := rfl | |
| 68 | - | |
| 69 | 65 | theorem coefficient_slice_contDiff {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ b) (p : E) : |
| 70 | 66 | ContDiff ℝ ∞ (fun u : ℝ => b (p, u)) := |
| 71 | 67 | hb.comp (contDiff_const.prodMk contDiff_id) |
| 72 | 68 | |
| 73 | -theorem factor_slice_contDiff {c : ℝ} (hc : 0 < c) (j : ℕ) {b : E × ℝ → ℝ} | |
| 74 | - (hb : ContDiff ℝ ∞ b) (p : E) : ContDiff ℝ ∞ (fun x => factor c j b (p, x)) := | |
| 75 | - FlatPrimitiveFactor.factor_contDiff hc j (coefficient_slice_contDiff hb p) | |
| 76 | - | |
| 77 | 69 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 78 | 70 | theorem factor_at_zero {c : ℝ} (hc : 0 < c) (j : ℕ) (b : E × ℝ → ℝ) (p : E) : |
| 79 | 71 | factor c j b (p, 0) = b (p, 0) / (2 * c) := |
| @@ -225,15 +217,6 @@ theorem factor_contDiff {c : ℝ} (hc : 0 < c) (j : ℕ) | ||
| 225 | 217 | SmoothParameterIntegral.contDiff_integral (kernel_ae_contDiff c j hb) |
| 226 | 218 | (kernel_jet_measurable c j hb) (kernel_locallyDominated hc j hb) |
| 227 | 219 | |
| 228 | -/-- This formula includes all mixed parameter/edge derivatives as genuine | |
| 229 | -Fréchet derivatives, with the corresponding multilinear maps integrated. -/ | |
| 230 | -theorem factor_iteratedFDeriv {c : ℝ} (hc : 0 < c) (j : ℕ) | |
| 231 | - {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ b) (n : ℕ) (y : E × ℝ) : | |
| 232 | - iteratedFDeriv ℝ n (factor c j b) y = | |
| 233 | - ∫ t in Ioi (0 : ℝ), iteratedFDeriv ℝ n (fun z => kernel c j b z t) y := | |
| 234 | - SmoothParameterIntegral.iteratedFDeriv_integral (kernel_ae_contDiff c j hb) | |
| 235 | - (kernel_jet_measurable c j hb) (kernel_locallyDominated hc j hb) n y | |
| 236 | - | |
| 237 | 220 | theorem primitive_contDiff {c : ℝ} (hc : 0 < c) (j : ℕ) |
| 238 | 221 | {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ b) : |
| 239 | 222 | ContDiff ℝ ∞ (primitive c j b) := by |
| @@ -244,25 +227,6 @@ theorem primitive_contDiff {c : ℝ} (hc : 0 < c) (j : ℕ) | ||
| 244 | 227 | exact ((FlatPrimitive.scale_contDiff hc j).comp contDiff_snd).mul |
| 245 | 228 | (factor_contDiff hc j hb) |
| 246 | 229 | |
| 247 | -/-- Jointly smooth factorization with no assumed factor smoothness or | |
| 248 | -integrable derivative bounds in its hypotheses. -/ | |
| 249 | -theorem exists_joint_smooth_factor {c : ℝ} (hc : 0 < c) (j : ℕ) | |
| 250 | - {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ b) : | |
| 251 | - ∃ F : E × ℝ → ℝ, ContDiff ℝ ∞ F ∧ | |
| 252 | - (∀ p : E, F (p, 0) = b (p, 0) / (2 * c)) ∧ | |
| 253 | - ∀ (p : E) (x : ℝ), 0 < x → | |
| 254 | - (∫ u in (0 : ℝ)..x, (Real.exp (-c / u ^ 2) / u ^ j) * b (p, u)) = | |
| 255 | - Real.exp (-c / x ^ 2) * x ^ (3 - (j : ℝ)) * F (p, x) := | |
| 256 | - ⟨factor c j b, factor_contDiff hc j hb, factor_at_zero hc j b, | |
| 257 | - fun p _x hx => integral_original_factorization c j b p hx⟩ | |
| 258 | - | |
| 259 | -theorem factor_sqrt_contDiffAt_zero {c : ℝ} (hc : 0 < c) (j : ℕ) | |
| 260 | - {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ b) (p : E) (hbp : 0 < b (p, 0)) : | |
| 261 | - ContDiffAt ℝ ∞ (fun y => Real.sqrt (factor c j b y)) (p, 0) := by | |
| 262 | - apply (factor_contDiff hc j hb).contDiffAt.sqrt | |
| 263 | - rw [factor_at_zero hc j b p] | |
| 264 | - exact (div_pos hbp (mul_pos (by norm_num) hc)).ne' | |
| 265 | - | |
| 266 | 230 | end FiniteParameters |
| 267 | 231 | |
| 268 | 232 | end NavierStokes.ParametricFlatFactor |
+0 −168 NavierStokes/ParametricHeatTail.lean View file
| @@ -460,13 +460,6 @@ theorem weightedJet_integrable (square : Bool) (n : ℕ) {ν : ℝ} (hν : 0 ≤ | ||
| 460 | 460 | chain_integrable (weightedJet_measurable hh hK hW square) |
| 461 | 461 | (weightedJet_dominated hh hK hB hweight hpq square) n hν |
| 462 | 462 | |
| 463 | -theorem weightedDebtJet_derivative (square : Bool) (n : ℕ) {ν : ℝ} (hν : 0 ≤ ν) : | |
| 464 | - HasDerivWithinAt (weightedDebtJet W square h K q n) | |
| 465 | - (weightedDebtJet W square h K q (n + 1) ν) (Ici 0) ν := | |
| 466 | - integral_chain_hasDerivWithinAt (weightedJet_derivative hh hK square) | |
| 467 | - (weightedJet_measurable hh hK hW square) | |
| 468 | - (weightedJet_dominated hh hK hB hweight hpq square) n hν | |
| 469 | - | |
| 470 | 463 | theorem weightedDebtJet_eq_iteratedDerivWithin (square : Bool) (n : ℕ) {ν : ℝ} (hν : 0 ≤ ν) : |
| 471 | 464 | iteratedDerivWithin n (weightedDebtJet W square h K q 0) (Ici 0) ν = |
| 472 | 465 | weightedDebtJet W square h K q n ν := |
| @@ -532,15 +525,6 @@ theorem nuConstant_nonneg (d : TailData) (square : Bool) {q : ℝ} | ||
| 532 | 525 | exact div_nonneg (mul_nonneg (tailSize_nonneg d square) |
| 533 | 526 | (editBound_nonneg d.h_pos (by norm_num) square n)) (by linarith) |
| 534 | 527 | |
| 535 | -theorem nuDebtJet_derivative (d : TailData) {K : ℝ} (hK : 1 ≤ K) (square : Bool) | |
| 536 | - {q : ℝ} (hq : tailDecay d square + q < 0) (n : ℕ) {ν : ℝ} (hν : 0 ≤ ν) : | |
| 537 | - HasDerivWithinAt (nuDebtJet d K square q n) (nuDebtJet d K square q (n + 1) ν) | |
| 538 | - (Ici 0) ν := | |
| 539 | - weightedDebtJet_derivative d.h_pos hK | |
| 540 | - (tailWeight_continuousOn d (lt_of_lt_of_le zero_lt_one hK) square) | |
| 541 | - (tailSize_nonneg d square) (tailWeight_bound d (lt_of_lt_of_le zero_lt_one hK) square) | |
| 542 | - hq square n hν | |
| 543 | - | |
| 544 | 528 | theorem nuDebt_contDiffOn (d : TailData) {K : ℝ} (hK : 1 ≤ K) (square : Bool) |
| 545 | 529 | {q : ℝ} (hq : tailDecay d square + q < 0) : |
| 546 | 530 | ContDiffOn ℝ ∞ (nuDebtJet d K square q 0) (Ici 0) := |
| @@ -682,13 +666,6 @@ theorem etaDebt_contDiffOn (d : TailData) {K : ℝ} (hK : 1 ≤ K) (square : Boo | ||
| 682 | 666 | (nuDebt_contDiffOn d hK square hq).comp diffusion_contDiff.contDiffOn |
| 683 | 667 | (fun _ hη => (diffusion_mem hη).1) |
| 684 | 668 | |
| 685 | -theorem etaDebt_hasDerivWithinAt (d : TailData) {K : ℝ} (hK : 1 ≤ K) (square : Bool) | |
| 686 | - {q : ℝ} (hq : tailDecay d square + q < 0) {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : | |
| 687 | - HasDerivWithinAt (etaDebt d K square q) | |
| 688 | - (nuDebtJet d K square q 1 (diffusion eta) * (-2 * eta)) (Icc (-1 : ℝ) 1) eta := | |
| 689 | - (nuDebtJet_derivative d hK square hq 0 (diffusion_mem hη).1).comp eta | |
| 690 | - (diffusion_hasDerivAt eta).hasDerivWithinAt (fun _ hη => (diffusion_mem hη).1) | |
| 691 | - | |
| 692 | 669 | theorem etaDebt_jet_bound (d : TailData) {K : ℝ} (hK : 1 ≤ K) (square : Bool) |
| 693 | 670 | {q : ℝ} (hq : tailDecay d square + q < 0) (n : ℕ) {eta : ℝ} |
| 694 | 671 | (hη : eta ∈ Icc (-1 : ℝ) 1) : |
| @@ -746,34 +723,6 @@ theorem physicalAngular_contDiffOn (d : TailData) {K : ℝ} (hK : 1 ≤ K) : | ||
| 746 | 723 | rw [he] |
| 747 | 724 | exact contDiffOn_const.mul (etaDebt_contDiffOn d hK false (angular_decay d)) |
| 748 | 725 | |
| 749 | -theorem physicalPressure_hasDerivWithinAt (d : TailData) {K : ℝ} (hK : 1 ≤ K) | |
| 750 | - {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : | |
| 751 | - HasDerivWithinAt (physicalPressure d K) | |
| 752 | - (nuDebtJet d K true (-1) 1 (diffusion eta) * (-2 * eta)) (Icc (-1 : ℝ) 1) eta := by | |
| 753 | - have he : physicalPressure d K = etaDebt d K true (-1) := | |
| 754 | - funext (physicalPressure_eq d (lt_of_lt_of_le zero_lt_one hK)) | |
| 755 | - rw [he] | |
| 756 | - exact etaDebt_hasDerivWithinAt d hK true (pressure_decay d) hη | |
| 757 | - | |
| 758 | -theorem physicalEnergy_hasDerivWithinAt (d : TailData) {K : ℝ} (hK : 1 ≤ K) | |
| 759 | - {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : | |
| 760 | - HasDerivWithinAt (physicalEnergy d K) | |
| 761 | - (nuDebtJet d K true 0 1 (diffusion eta) * (-2 * eta)) (Icc (-1 : ℝ) 1) eta := by | |
| 762 | - have he : physicalEnergy d K = etaDebt d K true 0 := | |
| 763 | - funext (physicalEnergy_eq d (lt_of_lt_of_le zero_lt_one hK)) | |
| 764 | - rw [he] | |
| 765 | - exact etaDebt_hasDerivWithinAt d hK true (energy_decay d) hη | |
| 766 | - | |
| 767 | -theorem physicalAngular_hasDerivWithinAt (d : TailData) {K : ℝ} (hK : 1 ≤ K) | |
| 768 | - {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : | |
| 769 | - HasDerivWithinAt (physicalAngular d K) | |
| 770 | - (Real.sqrt 2 * (nuDebtJet d K false (1 / 2) 1 (diffusion eta) * (-2 * eta))) | |
| 771 | - (Icc (-1 : ℝ) 1) eta := by | |
| 772 | - have he : physicalAngular d K = fun eta => Real.sqrt 2 * etaDebt d K false (1 / 2) eta := | |
| 773 | - funext (physicalAngular_eq d (lt_of_lt_of_le zero_lt_one hK)) | |
| 774 | - rw [he] | |
| 775 | - exact (etaDebt_hasDerivWithinAt d hK false (angular_decay d) hη).const_mul _ | |
| 776 | - | |
| 777 | 726 | theorem physicalPressure_jet_bound (d : TailData) {K : ℝ} (hK : 1 ≤ K) |
| 778 | 727 | (n : ℕ) {eta : ℝ} (hη : eta ∈ Icc (-1 : ℝ) 1) : |
| 779 | 728 | |iteratedDerivWithin n (physicalPressure d K) (Icc (-1 : ℝ) 1) eta| ≤ |
| @@ -860,43 +809,6 @@ theorem exists_physical_debt_C1_bounds (d : TailData) : | ||
| 860 | 809 | |
| 861 | 810 | /-! ## Endpoint jets and the velocity in physical units -/ |
| 862 | 811 | |
| 863 | -theorem correctionJet_eq_iteratedDerivWithin {h K X ν : ℝ} (hh : 0 < h) | |
| 864 | - (hX : 0 < X) (hν : 0 ≤ ν) (n : ℕ) : | |
| 865 | - iteratedDerivWithin n (fun u => multiplier h u K X - 1) (Ici 0) ν = | |
| 866 | - correctionJet h K n ν X := by | |
| 867 | - induction n generalizing ν with | |
| 868 | - | zero => exact (correctionJet_zero h K ν X).symm | |
| 869 | - | succ n ih => | |
| 870 | - rw [iteratedDerivWithin_succ] | |
| 871 | - exact ((correctionJet_hasDerivWithinAt hh hX hν n).congr_of_mem | |
| 872 | - (fun u hu => ih hu) hν).derivWithin ((uniqueDiffOn_Ici 0) ν hν) | |
| 873 | - | |
| 874 | -theorem multiplier_nu_contDiffOn {h K X : ℝ} (hh : 0 < h) (hX : 0 < X) : | |
| 875 | - ContDiffOn ℝ ∞ (fun ν => multiplier h ν K X) (Ici 0) := by | |
| 876 | - have hmap : MapsTo (fun ν : ℝ => 2 * ν / X) (Ici 0) (Ici 0) := by | |
| 877 | - intro ν hν | |
| 878 | - exact div_nonneg (mul_nonneg (by norm_num) hν) hX.le | |
| 879 | - exact contDiffOn_const.add (contDiffOn_const.mul | |
| 880 | - (((RadialHeatProfile.profile_contDiffOn (a := 1 + h) (by linarith)).comp | |
| 881 | - ((contDiffOn_const.mul contDiffOn_id).div_const X) hmap).sub contDiffOn_const)) | |
| 882 | - | |
| 883 | -theorem multiplier_nu_jet {h K X ν : ℝ} (hh : 0 < h) (hX : 0 < X) | |
| 884 | - (hν : 0 ≤ ν) (n : ℕ) : | |
| 885 | - iteratedDerivWithin (n + 1) (fun u => multiplier h u K X) (Ici 0) ν = | |
| 886 | - correctionJet h K (n + 1) ν X := by | |
| 887 | - have he : (fun u => multiplier h u K X) = fun u => 1 + (multiplier h u K X - 1) := by | |
| 888 | - funext u | |
| 889 | - ring | |
| 890 | - rw [he, iteratedDerivWithin_const_add (Nat.succ_pos n) (1 : ℝ)] | |
| 891 | - exact correctionJet_eq_iteratedDerivWithin hh hX hν (n + 1) | |
| 892 | - | |
| 893 | -theorem multiplier_nu_jet_bound {h K X ν : ℝ} (hh : 0 < h) (hX : 1 ≤ X) | |
| 894 | - (hν : ν ∈ Icc (0 : ℝ) 1) (n : ℕ) : | |
| 895 | - |iteratedDerivWithin (n + 1) (fun u => multiplier h u K X) (Ici 0) ν| ≤ | |
| 896 | - correctionBound h 1 (n + 1) / X := by | |
| 897 | - rw [multiplier_nu_jet hh (lt_of_lt_of_le zero_lt_one hX) hν.1 n] | |
| 898 | - exact correctionJet_bound hh hX hν (n + 1) | |
| 899 | - | |
| 900 | 812 | theorem multiplier_zero {h : ℝ} (hh : 0 < h) (K X : ℝ) : multiplier h 0 K X = 1 := by |
| 901 | 813 | simp [multiplier, RadialHeatProfile.profile_zero (a := 1 + h) (by linarith)] |
| 902 | 814 | |
| @@ -925,22 +837,9 @@ theorem physical_debts_integrable (d : TailData) {K eta : ℝ} (hK : 0 < K) | ||
| 925 | 837 | change (outgoingProfile d K eta) d.h (diffusion eta) K X) (Ioi K) := |
| 926 | 838 | outgoing_debts_integrable d hK (diffusion_mem hη).1 eta |
| 927 | 839 | |
| 928 | -theorem physical_debts_zero (d : TailData) (K : ℝ) {eta : ℝ} (hη : diffusion eta = 0) : | |
| 929 | - physicalPressure d K eta = 0 ∧ physicalEnergy d K eta = 0 ∧ physicalAngular d K eta = 0 := by | |
| 930 | - simp [physicalPressure, physicalEnergy, physicalAngular, pressureDebt, energyDebt, angularDebt, | |
| 931 | - hη, squareChange, change, edit, multiplier_zero d.h_pos] | |
| 932 | - | |
| 933 | 840 | noncomputable def physicalEdit (d : TailData) (K eta X : ℝ) : ℝ := |
| 934 | 841 | outgoingEdit d (diffusion eta) K eta X |
| 935 | 842 | |
| 936 | -theorem physicalEdit_pos (d : TailData) (K : ℝ) {eta X : ℝ} | |
| 937 | - (hη : eta ∈ Icc (-1 : ℝ) 1) (hX : 0 < X) : 0 < physicalEdit d K eta X := | |
| 938 | - outgoingEdit_pos d (diffusion_mem hη).1 hX eta | |
| 939 | - | |
| 940 | -theorem physicalEdit_before (d : TailData) {K X : ℝ} (hK : 0 < K) (hX : 0 < X) | |
| 941 | - (hXK : X ≤ K) (eta : ℝ) : physicalEdit d K eta X = outgoingProfile d K eta X := | |
| 942 | - outgoingEdit_before d (diffusion eta) eta hK hX hXK | |
| 943 | - | |
| 944 | 843 | theorem physicalEdit_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : |
| 945 | 844 | ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => physicalEdit d K p.2 p.1) |
| 946 | 845 | (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) := by |
| @@ -959,13 +858,6 @@ theorem physicalEdit_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : | ||
| 959 | 858 | (show MapsTo (Prod.fst : ℝ × ℝ → ℝ) (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) (Ioi 0) from fun _ hp => hp.1) |
| 960 | 859 | exact hE.mul (contDiffOn_const.add (hs.mul (hH.sub contDiffOn_const))) |
| 961 | 860 | |
| 962 | -theorem diffusion_of_physical_coordinates {q τ z : ℝ} (hq : 0 < q) (hrel : q = τ + z ^ 2) : | |
| 963 | - diffusion (z / Real.sqrt q) = τ / q := by | |
| 964 | - unfold diffusion | |
| 965 | - rw [div_pow, Real.sq_sqrt hq.le] | |
| 966 | - field_simp [hq.ne'] | |
| 967 | - linarith | |
| 968 | - | |
| 969 | 861 | theorem heat_ratio_physical {q s τ : ℝ} (hq : 0 < q) (hs : 0 < s) : |
| 970 | 862 | 2 * (τ / q) / (s / q) = 2 * τ / s := by |
| 971 | 863 | field_simp [hq.ne', hs.ne'] |
| @@ -1007,64 +899,4 @@ theorem physicalEdit_eventual_heat_carrier (d : TailData) {K q s τ eta : ℝ} | ||
| 1007 | 899 | /-! The eta derivatives are not identically zero. In particular, the actual |
| 1008 | 900 | one-sided angular derivative at the physical endpoint `eta = 1` is positive. -/ |
| 1009 | 901 | |
| 1010 | -theorem switch_pos {K X : ℝ} (hK : 0 < K) (hX : K < X) : 0 < switch K X := by | |
| 1011 | - have hl : 0 < Real.log (X / K) := Real.log_pos ((one_lt_div hK).mpr hX) | |
| 1012 | - exact div_pos (FlatCutoff.edge_pos 1 (div_pos hl (by norm_num))) | |
| 1013 | - (OutgoingSchedule.sigma_denom_pos _) | |
| 1014 | - | |
| 1015 | -theorem profile_first_jet_neg {h z : ℝ} (hh : 0 < h) (hz : 0 ≤ z) : | |
| 1016 | - RadialHeatProfile.profileJet (1 + h) 1 z < 0 := by | |
| 1017 | - have hg : 0 < (Real.Gamma (1 + h))⁻¹ := | |
| 1018 | - inv_pos.mpr (Real.Gamma_pos_of_pos (by linarith)) | |
| 1019 | - have hm := RadialHeatProfile.moment_pos (a := 1 + h) (by linarith) 1 hz | |
| 1020 | - have he : RadialHeatProfile.profileJet (1 + h) 1 z = | |
| 1021 | - ((Real.Gamma (1 + h))⁻¹ * (-h)) * RadialHeatProfile.moment (1 + h) 1 z := by | |
| 1022 | - simp only [RadialHeatProfile.profileJet, RadialHeatProfile.derivativeCoeff, | |
| 1023 | - Nat.cast_zero, sub_zero] | |
| 1024 | - ring | |
| 1025 | - rw [he] | |
| 1026 | - exact mul_neg_of_neg_of_pos (mul_neg_of_pos_of_neg hg (neg_neg_of_pos hh)) hm | |
| 1027 | - | |
| 1028 | -theorem nuDebt_linear_first_neg (d : TailData) {K : ℝ} (hK : 1 ≤ K) | |
| 1029 | - {q : ℝ} (hq : tailDecay d false + q < 0) {ν : ℝ} (hν : 0 ≤ ν) : | |
| 1030 | - nuDebtJet d K false q 1 ν < 0 := by | |
| 1031 | - have hKp : 0 < K := lt_of_lt_of_le zero_lt_one hK | |
| 1032 | - let g := weightedJet (tailWeight d K false) false d.h K q 1 ν | |
| 1033 | - have hi : IntegrableOn g (Ioi K) := | |
| 1034 | - weightedJet_integrable d.h_pos hK (tailWeight_continuousOn d hKp false) | |
| 1035 | - (tailSize_nonneg d false) (tailWeight_bound d hKp false) hq false 1 hν | |
| 1036 | - have hg : ∀ X ∈ Ioi K, g X < 0 := by | |
| 1037 | - intro X hX | |
| 1038 | - have hXp : 0 < X := hKp.trans hX | |
| 1039 | - have he : 0 < tailWeight d K false X := by | |
| 1040 | - change 0 < powerTail d.h (outgoingAmplitude d) K (outgoingShape d) X | |
| 1041 | - exact mul_pos (mul_pos (outgoingAmplitude_pos d) | |
| 1042 | - (Real.rpow_pos_of_pos (div_pos hXp hKp) _)) (tailShape_pos d _) | |
| 1043 | - have hc : correctionJet d.h K 1 ν X < 0 := by | |
| 1044 | - change switch K X * (2 / X) ^ 1 * RadialHeatProfile.profileJet (1 + d.h) 1 (2 * ν / X) < 0 | |
| 1045 | - exact mul_neg_of_pos_of_neg (mul_pos (switch_pos hKp hX) (pow_pos (by positivity) _)) | |
| 1046 | - (profile_first_jet_neg d.h_pos (by positivity)) | |
| 1047 | - exact mul_neg_of_pos_of_neg (mul_pos (Real.rpow_pos_of_pos hXp q) he) hc | |
| 1048 | - have hs : Function.support (fun X => -g X) ∩ Ioi K = Ioi K := by | |
| 1049 | - rw [inter_eq_right] | |
| 1050 | - intro X hX | |
| 1051 | - exact (neg_pos.mpr (hg X hX)).ne' | |
| 1052 | - have hp : 0 < ∫ X in Ioi K, -g X := by | |
| 1053 | - rw [setIntegral_pos_iff_support_of_nonneg_ae] | |
| 1054 | - · rw [hs, Real.volume_Ioi] | |
| 1055 | - simp | |
| 1056 | - · filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX | |
| 1057 | - exact (neg_pos.mpr (hg X hX)).le | |
| 1058 | - · exact hi.neg | |
| 1059 | - rw [integral_neg] at hp | |
| 1060 | - exact neg_pos.mp hp | |
| 1061 | - | |
| 1062 | -theorem physicalAngular_endpoint_derivative_pos (d : TailData) {K : ℝ} (hK : 1 ≤ K) : | |
| 1063 | - 0 < derivWithin (physicalAngular d K) (Icc (-1 : ℝ) 1) 1 := by | |
| 1064 | - have hd := physicalAngular_hasDerivWithinAt d hK (eta := 1) (by norm_num) | |
| 1065 | - rw [hd.derivWithin ((uniqueDiffOn_Icc (by norm_num)) 1 (by norm_num))] | |
| 1066 | - have hn := nuDebt_linear_first_neg d hK (angular_decay d) (ν := 0) (by norm_num) | |
| 1067 | - simp only [diffusion, one_pow, sub_self, mul_one] | |
| 1068 | - exact mul_pos (Real.sqrt_pos.mpr (by norm_num)) (mul_pos_of_neg_of_neg hn (by norm_num)) | |
| 1069 | - | |
| 1070 | 902 | end NavierStokes.ParametricHeatTail |
+0 −76 NavierStokes/ParametricModulation.lean View file
| @@ -72,14 +72,6 @@ theorem source_slice_contDiff | ||
| 72 | 72 | intro θ |
| 73 | 73 | exact ⟨hp, mem_univ θ⟩ |
| 74 | 74 | |
| 75 | -omit [FiniteDimensional ℝ P] in | |
| 76 | -theorem normalizedPrimitiveFamily_hasDerivAt | |
| 77 | - (q : P × ℝ → ℝ) (U : Set P) | |
| 78 | - (hq : ContDiffOn ℝ ∞ q (U ×ˢ (univ : Set ℝ))) (p : P) (hp : p ∈ U) (θ : ℝ) : | |
| 79 | - HasDerivAt (fun s => normalizedPrimitiveFamily q (p, s)) (q (p, θ)) θ := | |
| 80 | - RadialModulation.zeroMeanPrimitive_hasDerivAt _ | |
| 81 | - (source_slice_contDiff q U hq p hp).continuous θ | |
| 82 | - | |
| 83 | 75 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] in |
| 84 | 76 | theorem normalizedPrimitiveFamily_periodic |
| 85 | 77 | (q : P × ℝ → ℝ) (p : P) (hq : Continuous (fun θ => q (p, θ))) |
| @@ -91,12 +83,6 @@ theorem normalizedPrimitiveFamily_periodic | ||
| 91 | 83 | dsimp only |
| 92 | 84 | rw [RadialModulation.periodicPrimitive_periodic _ hq hper hmean θ] |
| 93 | 85 | |
| 94 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] in | |
| 95 | -theorem normalizedPrimitiveFamily_mean_zero | |
| 96 | - (q : P × ℝ → ℝ) (p : P) (hq : Continuous (fun θ => q (p, θ))) : | |
| 97 | - intervalIntegral (fun θ => normalizedPrimitiveFamily q (p, θ)) 0 1 volume = 0 := | |
| 98 | - RadialModulation.zeroMeanPrimitive_integral _ hq | |
| 99 | - | |
| 100 | 86 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] in |
| 101 | 87 | /-- Exact vanishing, including the mean normalization, when the loop is nominal. -/ |
| 102 | 88 | theorem normalizedPrimitiveFamily_zero |
| @@ -249,24 +235,6 @@ theorem extendedPrimitive_periodic | ||
| 249 | 235 | intro θ |
| 250 | 236 | simp [extendedPrimitive, hz] |
| 251 | 237 | |
| 252 | -omit [FiniteDimensional ℝ P] in | |
| 253 | -theorem extendedPrimitive_mean_zero | |
| 254 | - {K U : Set P} (χ : CompactCutoff K U) | |
| 255 | - (f : P × ℝ → ℝ) (m c : P → ℝ) | |
| 256 | - (hf : ∀ p ∈ U, Continuous (fun θ => f (p, θ))) (p : P) : | |
| 257 | - intervalIntegral (fun θ => extendedPrimitive χ f m c (p, θ)) 0 1 volume = 0 := by | |
| 258 | - by_cases hp : p ∈ U | |
| 259 | - · have hq : Continuous (fun θ => centeredSource f m c (p, θ)) := by | |
| 260 | - change Continuous (fun θ => c p * (f (p, θ) - m p)) | |
| 261 | - exact continuous_const.mul ((hf p hp).sub continuous_const) | |
| 262 | - change intervalIntegral | |
| 263 | - (fun θ => χ.value p * normalizedPrimitiveFamily (centeredSource f m c) (p, θ)) | |
| 264 | - 0 1 volume = 0 | |
| 265 | - rw [intervalIntegral.integral_const_mul, normalizedPrimitiveFamily_mean_zero _ p hq, | |
| 266 | - mul_zero] | |
| 267 | - · have hz : χ.value p = 0 := (χ.zero_near p hp).eq_of_nhds | |
| 268 | - simp [extendedPrimitive, hz] | |
| 269 | - | |
| 270 | 238 | omit [FiniteDimensional ℝ P] in |
| 271 | 239 | theorem extendedPrimitive_hasDerivAt |
| 272 | 240 | {K U : Set P} (χ : CompactCutoff K U) |
| @@ -384,17 +352,6 @@ theorem primitives_periodic (r : TrueConeRealization a m p₁ p₂ K B) | ||
| 384 | 352 | (fun p hp => (r.loop_periods_means p hp).2.1) |
| 385 | 353 | (fun p hp => (r.loop_periods_means p hp).2.2.2) p⟩ |
| 386 | 354 | |
| 387 | -theorem primitives_mean_zero (r : TrueConeRealization a m p₁ p₂ K B) | |
| 388 | - (E : P → ℝ) (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) | |
| 389 | - (hp₂ : ContDiff ℝ ∞ p₂) (p : P) : | |
| 390 | - intervalIntegral (fun θ => r.angularPrimitive (p, θ)) 0 1 volume = 0 ∧ | |
| 391 | - intervalIntegral (fun θ => r.axialPrimitive E (p, θ)) 0 1 volume = 0 := by | |
| 392 | - have hs := r.loop_smooth ha hm hp₂ | |
| 393 | - exact ⟨extendedPrimitive_mean_zero r.cutoff _ _ _ | |
| 394 | - (fun p hp => (source_slice_contDiff _ _ hs.1 p hp).continuous) p, | |
| 395 | - extendedPrimitive_mean_zero r.cutoff _ _ _ | |
| 396 | - (fun p hp => (source_slice_contDiff _ _ hs.2 p hp).continuous) p⟩ | |
| 397 | - | |
| 398 | 355 | theorem primitive_derivatives (r : TrueConeRealization a m p₁ p₂ K B) |
| 399 | 356 | (E : P → ℝ) (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) |
| 400 | 357 | (hp₂ : ContDiff ℝ ∞ p₂) (p : P) (hp : p ∈ K) (θ : ℝ) : |
| @@ -574,39 +531,6 @@ theorem realized_shears_exact | ||
| 574 | 531 | rw [hθ.2, ← hbNom] |
| 575 | 532 | ring |
| 576 | 533 | |
| 577 | -/-- End-to-end existence from nominal scalar data: construct the actual | |
| 578 | -TrueConeLoop family, its normalized integral primitives, and modulated profiles. | |
| 579 | -All smoothness and finite-jet conclusions are proved for these constructions. -/ | |
| 580 | -theorem exists_modulated_trueCone_profiles | |
| 581 | - (a m p₁ p₂ E U : RadialParameter → ℝ) (KX Kη : Set ℝ) (B : Set RadialParameter) | |
| 582 | - (hKX : IsCompact KX) (hKη : IsCompact Kη) (hB : IsCompact B) (hBK : B ⊆ KX ×ˢ Kη) | |
| 583 | - (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) | |
| 584 | - (hp₁ : ContDiff ℝ ∞ p₁) (hp₂ : ContDiff ℝ ∞ p₂) | |
| 585 | - (hE : ContDiff ℝ ∞ E) (hU : ContDiff ℝ ∞ U) | |
| 586 | - (haK : ∀ p ∈ KX ×ˢ Kη, 0 < a p) | |
| 587 | - (hPK : ∀ p ∈ KX ×ˢ Kη, 2 < p₁ p + p₂ p * m p) | |
| 588 | - (hrelaxed : ∀ p ∈ KX ×ˢ Kη, TrueConeLoop.nominalSpeed (a p) (m p) < | |
| 589 | - ConeAlgebra.coneBound (p₁ p + p₂ p * m p) (p₂ p - p₁ p * m p)) | |
| 590 | - (htrueB : ∀ p ∈ B, 2 < TrueConeLoop.nominalSpeed (a p) (m p)) : | |
| 591 | - ∃ r : TrueConeRealization a m p₁ p₂ (KX ×ˢ Kη) B, | |
| 592 | - (∀ p ∈ KX ×ˢ Kη, ∀ θ, TrueConeLoop.InTrueCone (p₁ p) (p₂ p) | |
| 593 | - (r.angularLoop (p, θ)) (r.signedAxialLoop (p, θ))) ∧ | |
| 594 | - (∀ n X η : ℝ, X ≠ 0 → | |
| 595 | - ContDiffAt ℝ ∞ (Function.uncurry (realizedE r E n)) (X, η) ∧ | |
| 596 | - ContDiffAt ℝ ∞ (Function.uncurry (realizedU r E U n)) (X, η)) ∧ | |
| 597 | - (∀ k : ℕ, ∃ CE CU : ℝ, 0 ≤ CE ∧ 0 ≤ CU ∧ | |
| 598 | - ∀ n : ℝ, 1 ≤ n → ∀ X ∈ KX, ∀ η ∈ Kη, | |
| 599 | - |iteratedDeriv k (realizedE r E n X) η - iteratedDeriv k (fun e => E (X, e)) η| ≤ CE / n ∧ | |
| 600 | - |iteratedDeriv k (realizedU r E U n X) η - iteratedDeriv k (fun e => U (X, e)) η| ≤ CU / n) ∧ | |
| 601 | - (∃ N : Set RadialParameter, IsOpen N ∧ B ⊆ N ∧ ∀ n X η : ℝ, (X, η) ∈ N → | |
| 602 | - realizedE r E n X η = E (X, η) ∧ realizedU r E U n X η = U (X, η)) := by | |
| 603 | - obtain ⟨r⟩ := exists_trueConeRealization a m p₁ p₂ (KX ×ˢ Kη) B | |
| 604 | - (hKX.prod hKη) hB ha hm hp₁ hp₂ haK hPK htrueB | |
| 605 | - exact ⟨r, r.loop_trueCone hrelaxed, | |
| 606 | - realized_profiles_contDiffAt r E U ha hm hp₂ hE hU, | |
| 607 | - realized_profiles_uniform_eta_jets r E U ha hm hp₂ hE hU KX Kη hKX hKη, | |
| 608 | - realized_profiles_boundary_match r E U ha hm hBK⟩ | |
| 609 | - | |
| 610 | 534 | end RadialProfiles |
| 611 | 535 | |
| 612 | 536 | end NavierStokes.ParametricModulation |
+0 −157 NavierStokes/ParametricODE.lean View file
| @@ -106,25 +106,10 @@ def coefficientAction : Coefficient a b E →L[ℝ] Curve a b E →L[ℝ] Curve | ||
| 106 | 106 | change ‖applyCoefficient A u‖ ≤ 1 * ‖A‖ * ‖u‖ |
| 107 | 107 | simpa only [one_mul] using norm_applyCoefficient_le (E := E) A u) |
| 108 | 108 | |
| 109 | -omit [CompleteSpace E] in | |
| 110 | -theorem coefficientAction_apply (A : Coefficient a b E) (u : Curve a b E) (t : Icc a b) : | |
| 111 | - coefficientAction (E := E) A u t = A t (u t) := rfl | |
| 112 | - | |
| 113 | 109 | def volterra : Coefficient a b E →L[ℝ] Curve a b E →L[ℝ] Curve a b E := |
| 114 | 110 | ((ContinuousLinearMap.compL ℝ (Curve a b E) (Curve a b E) (Curve a b E)) |
| 115 | 111 | (integrator hab)).comp (coefficientAction (E := E)) |
| 116 | 112 | |
| 117 | -theorem volterra_apply (A : Coefficient a b E) (u : Curve a b E) (t : Icc a b) : | |
| 118 | - volterra (E := E) hab A u t = | |
| 119 | - ∫ s in a..(t : ℝ), extend hab A s (extend hab u s) := rfl | |
| 120 | - | |
| 121 | -theorem norm_volterra_apply_le (A : Coefficient a b E) (u : Curve a b E) : | |
| 122 | - ‖volterra (E := E) hab A u‖ ≤ (b - a) * ‖A‖ * ‖u‖ := by | |
| 123 | - change ‖integralPath hab (applyCoefficient A u)‖ ≤ _ | |
| 124 | - exact (norm_integralPath_le hab _).trans | |
| 125 | - ((mul_le_mul_of_nonneg_left (norm_applyCoefficient_le A u) | |
| 126 | - (sub_nonneg.mpr hab)).trans_eq (mul_assoc _ _ _).symm) | |
| 127 | - | |
| 128 | 113 | def homogeneousSystem (A : Coefficient a b E) : TangentODE.IntervalSystem E := { |
| 129 | 114 | left := a |
| 130 | 115 | right := b |
| @@ -306,136 +291,6 @@ theorem solution_hasDerivWithinAt (A : Coefficient a b E) (x₀ : E) | ||
| 306 | 291 | |
| 307 | 292 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 308 | 293 | |
| 309 | -/-- Differentiating the actual inverse equation gives the first variation in | |
| 310 | -every direction of an arbitrary normed parameter space. -/ | |
| 311 | -theorem fderiv_resolvent_family (A : P → Coefficient a b E) (g : P → Curve a b E) | |
| 312 | - {p : P} {A' : P →L[ℝ] Coefficient a b E} {g' : P →L[ℝ] Curve a b E} | |
| 313 | - (hA : HasFDerivAt A A' p) (hg : HasFDerivAt g g' p) (v : P) : | |
| 314 | - fderiv ℝ (fun q => resolvent hab (A q) (g q)) p v = | |
| 315 | - resolvent hab (A p) (g' v + volterra (E := E) hab (A' v) | |
| 316 | - (resolvent hab (A p) (g p))) := by | |
| 317 | - let u := fun q => resolvent hab (A q) (g q) | |
| 318 | - have hr : DifferentiableAt ℝ (fun q => resolvent hab (A q)) p := | |
| 319 | - ((contDiff_resolvent hab).differentiable (by simp) (A p)).comp p hA.differentiableAt | |
| 320 | - have hu : DifferentiableAt ℝ u p := hr.clm_apply hg.differentiableAt | |
| 321 | - have hV : HasFDerivAt (fun q => volterra (E := E) hab (A q)) | |
| 322 | - ((volterra (E := E) hab).comp A') p := by | |
| 323 | - have hlin : HasFDerivAt (fun B : Coefficient a b E => volterra (E := E) hab B) | |
| 324 | - (volterra (E := E) hab) (A p) := | |
| 325 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) | |
| 326 | - (E := Coefficient a b E) (F := Curve a b E →L[ℝ] Curve a b E) | |
| 327 | - (volterra (E := E) hab) | |
| 328 | - exact HasFDerivAt.comp (𝕜 := ℝ) (E := P) (F := Coefficient a b E) | |
| 329 | - (G := Curve a b E →L[ℝ] Curve a b E) p hlin hA | |
| 330 | - have hd := hu.hasFDerivAt.fun_sub (hV.clm_apply hu.hasFDerivAt) | |
| 331 | - have heq : (fun q => u q - volterra (E := E) hab (A q) (u q)) = g := by | |
| 332 | - funext q | |
| 333 | - exact resolvent_equation hab (A q) (g q) | |
| 334 | - rw [heq] at hd | |
| 335 | - have hdir := congrArg (fun D : P →L[ℝ] Curve a b E => D v) (hd.unique hg) | |
| 336 | - change fderiv ℝ u p v - (volterra (E := E) hab (A p) (fderiv ℝ u p v) + | |
| 337 | - volterra (E := E) hab (A' v) (u p)) = g' v at hdir | |
| 338 | - change fderiv ℝ u p v = (equationOperator hab (A p)).inverse | |
| 339 | - (g' v + volterra (E := E) hab (A' v) (u p)) | |
| 340 | - symm | |
| 341 | - apply (equationOperator_isInvertible hab (A p)).inverse_apply_eq.mpr | |
| 342 | - change g' v + volterra (E := E) hab (A' v) (u p) = | |
| 343 | - fderiv ℝ u p v - volterra (E := E) hab (A p) (fderiv ℝ u p v) | |
| 344 | - rw [sub_add_eq_sub_sub] at hdir | |
| 345 | - exact (sub_eq_iff_eq_add.mp hdir).symm | |
| 346 | - | |
| 347 | -/-- The actual parameter derivative is the solution of the variational equation, | |
| 348 | -with source `(∂A)u + ∂f` and initial value `∂x₀`. -/ | |
| 349 | -theorem parameter_derivative_eq_solution | |
| 350 | - (A : P → Coefficient a b E) (x₀ : P → E) (f : P → Curve a b E) | |
| 351 | - {p : P} {A' : P →L[ℝ] Coefficient a b E} {x₀' : P →L[ℝ] E} | |
| 352 | - {f' : P →L[ℝ] Curve a b E} | |
| 353 | - (hA : HasFDerivAt A A' p) (hx₀ : HasFDerivAt x₀ x₀' p) | |
| 354 | - (hf : HasFDerivAt f f' p) (v : P) : | |
| 355 | - fderiv ℝ (fun q => solution hab (A q) (x₀ q) (f q)) p v = | |
| 356 | - solution hab (A p) (x₀' v) | |
| 357 | - (applyCoefficient (A' v) (solution hab (A p) (x₀ p) (f p)) + f' v) := by | |
| 358 | - have hs : HasFDerivAt (fun q => source hab (x₀ q) (f q)) | |
| 359 | - ((constantCurve (a := a) (b := b)).comp x₀' + (integrator hab).comp f') p := by | |
| 360 | - have hc : HasFDerivAt (constantCurve (E := E) (a := a) (b := b)) | |
| 361 | - (constantCurve (a := a) (b := b)) (x₀ p) := | |
| 362 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := E) (F := Curve a b E) | |
| 363 | - (constantCurve (a := a) (b := b)) | |
| 364 | - have hi : HasFDerivAt (integrator (E := E) hab) (integrator hab) (f p) := | |
| 365 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := Curve a b E) (F := Curve a b E) | |
| 366 | - (integrator hab) | |
| 367 | - exact (hc.comp p hx₀).add (hi.comp p hf) | |
| 368 | - have h := fderiv_resolvent_family hab A (fun q => source hab (x₀ q) (f q)) hA hs v | |
| 369 | - calc | |
| 370 | - _ = resolvent hab (A p) (constantCurve (x₀' v) + integrator hab (f' v) + | |
| 371 | - volterra (E := E) hab (A' v) (solution hab (A p) (x₀ p) (f p))) := h | |
| 372 | - _ = _ := by | |
| 373 | - unfold solution source | |
| 374 | - apply congrArg (resolvent hab (A p)) | |
| 375 | - rw [(integrator hab).map_add] | |
| 376 | - change _ = constantCurve (x₀' v) + | |
| 377 | - (volterra (E := E) hab (A' v) (resolvent hab (A p) | |
| 378 | - (constantCurve (x₀ p) + integrator hab (f p))) + integrator hab (f' v)) | |
| 379 | - abel | |
| 380 | - | |
| 381 | -theorem parameter_derivative_hasDerivWithinAt | |
| 382 | - (A : P → Coefficient a b E) (x₀ : P → E) (f : P → Curve a b E) | |
| 383 | - {p : P} {A' : P →L[ℝ] Coefficient a b E} {x₀' : P →L[ℝ] E} | |
| 384 | - {f' : P →L[ℝ] Curve a b E} | |
| 385 | - (hA : HasFDerivAt A A' p) (hx₀ : HasFDerivAt x₀ x₀' p) | |
| 386 | - (hf : HasFDerivAt f f' p) (v : P) (t : Icc a b) : | |
| 387 | - HasDerivWithinAt | |
| 388 | - (extend hab (fderiv ℝ (fun q => solution hab (A q) (x₀ q) (f q)) p v)) | |
| 389 | - (A p t ((fderiv ℝ (fun q => solution hab (A q) (x₀ q) (f q)) p v) t) + | |
| 390 | - A' v t (solution hab (A p) (x₀ p) (f p) t) + f' v t) (Icc a b) t := by | |
| 391 | - rw [parameter_derivative_eq_solution hab A x₀ f hA hx₀ hf v] | |
| 392 | - simpa only [ContinuousMap.add_apply, applyCoefficient, ContinuousMap.coe_mk, add_assoc] | |
| 393 | - using solution_hasDerivWithinAt hab (A p) (x₀' v) | |
| 394 | - (applyCoefficient (A' v) (solution hab (A p) (x₀ p) (f p)) + f' v) t | |
| 395 | - | |
| 396 | -omit [CompleteSpace E] in | |
| 397 | -theorem norm_constantCurve_le (x : E) : | |
| 398 | - ‖constantCurve (a := a) (b := b) x‖ ≤ ‖x‖ := | |
| 399 | - (ContinuousMap.norm_le _ (norm_nonneg x)).mpr (fun _ => le_rfl) | |
| 400 | - | |
| 401 | -theorem norm_source_le (x₀ : E) (f : Curve a b E) : | |
| 402 | - ‖source hab x₀ f‖ ≤ ‖x₀‖ + (b - a) * ‖f‖ := | |
| 403 | - (norm_add_le _ _).trans (add_le_add (norm_constantCurve_le x₀) (norm_integralPath_le hab f)) | |
| 404 | - | |
| 405 | -/-- A finite stability bound in terms of the norm of the actual inverse operator. -/ | |
| 406 | -theorem norm_solution_le (A : Coefficient a b E) (x₀ : E) (f : Curve a b E) : | |
| 407 | - ‖solution hab A x₀ f‖ ≤ ‖resolvent hab A‖ * (‖x₀‖ + (b - a) * ‖f‖) := | |
| 408 | - ((resolvent hab A).le_opNorm _).trans | |
| 409 | - (mul_le_mul_of_nonneg_left (norm_source_le hab x₀ f) (norm_nonneg _)) | |
| 410 | - | |
| 411 | -theorem norm_parameter_derivative_le | |
| 412 | - (A : P → Coefficient a b E) (x₀ : P → E) (f : P → Curve a b E) | |
| 413 | - {p : P} {A' : P →L[ℝ] Coefficient a b E} {x₀' : P →L[ℝ] E} | |
| 414 | - {f' : P →L[ℝ] Curve a b E} | |
| 415 | - (hA : HasFDerivAt A A' p) (hx₀ : HasFDerivAt x₀ x₀' p) | |
| 416 | - (hf : HasFDerivAt f f' p) (v : P) : | |
| 417 | - ‖fderiv ℝ (fun q => solution hab (A q) (x₀ q) (f q)) p v‖ ≤ | |
| 418 | - ‖resolvent hab (A p)‖ * (‖x₀' v‖ + (b - a) * | |
| 419 | - (‖A' v‖ * ‖solution hab (A p) (x₀ p) (f p)‖ + ‖f' v‖)) := by | |
| 420 | - rw [parameter_derivative_eq_solution hab A x₀ f hA hx₀ hf v] | |
| 421 | - apply (norm_solution_le hab (A p) (x₀' v) _).trans | |
| 422 | - apply mul_le_mul_of_nonneg_left _ (norm_nonneg (resolvent hab (A p))) | |
| 423 | - apply add_le_add_right | |
| 424 | - apply mul_le_mul_of_nonneg_left _ (sub_nonneg.mpr hab) | |
| 425 | - exact (norm_add_le _ _).trans (add_le_add_left (norm_applyCoefficient_le _ _) _) | |
| 426 | - | |
| 427 | -/-- Full smooth dependence in the supremum-norm spaces of coefficient and forcing | |
| 428 | -paths. Smoothness of the solution map is a conclusion. -/ | |
| 429 | -theorem contDiff_solution_family (A : P → Coefficient a b E) (x₀ : P → E) | |
| 430 | - (f : P → Curve a b E) (hA : ContDiff ℝ ∞ A) (hx₀ : ContDiff ℝ ∞ x₀) | |
| 431 | - (hf : ContDiff ℝ ∞ f) : | |
| 432 | - ContDiff ℝ ∞ (fun p => solution hab (A p) (x₀ p) (f p)) := by | |
| 433 | - change ContDiff ℝ ∞ (fun p => resolvent hab (A p) | |
| 434 | - (constantCurve (a := a) (b := b) (x₀ p) + integrator hab (f p))) | |
| 435 | - exact ((contDiff_resolvent hab).comp hA).clm_apply | |
| 436 | - (((constantCurve (E := E) (a := a) (b := b)).contDiff.comp hx₀).add | |
| 437 | - ((integrator (E := E) hab).contDiff.comp hf)) | |
| 438 | - | |
| 439 | 294 | theorem contDiffOn_solution_family {s : Set P} |
| 440 | 295 | (A : P → Coefficient a b E) (x₀ : P → E) (f : P → Curve a b E) |
| 441 | 296 | (hA : ContDiffOn ℝ ∞ A s) (hx₀ : ContDiffOn ℝ ∞ x₀ s) |
| @@ -447,18 +302,6 @@ theorem contDiffOn_solution_family {s : Set P} | ||
| 447 | 302 | (((constantCurve (E := E) (a := a) (b := b)).contDiff.comp_contDiffOn hx₀).add |
| 448 | 303 | ((integrator (E := E) hab).contDiff.comp_contDiffOn hf)) |
| 449 | 304 | |
| 450 | -/-- Every parameter derivative has a finite uniform bound on a compact parameter | |
| 451 | -set. This does not assert polynomial dependence of those bounds on a band index. -/ | |
| 452 | -theorem parameter_derivatives_bounded_on_compact | |
| 453 | - (A : P → Coefficient a b E) (x₀ : P → E) (f : P → Curve a b E) | |
| 454 | - (hA : ContDiff ℝ ∞ A) (hx₀ : ContDiff ℝ ∞ x₀) (hf : ContDiff ℝ ∞ f) | |
| 455 | - {s : Set P} (hs : IsCompact s) (m : ℕ) : | |
| 456 | - ∃ C : ℝ, ∀ p ∈ s, | |
| 457 | - ‖iteratedFDeriv ℝ m (fun q => solution hab (A q) (x₀ q) (f q)) p‖ ≤ C := by | |
| 458 | - exact hs.exists_bound_of_continuousOn | |
| 459 | - ((contDiff_solution_family hab A x₀ f hA hx₀ hf).continuous_iteratedFDeriv | |
| 460 | - (m := m) (ENat.natCast_le_of_coe_top_le_withTop le_rfl m)).continuousOn | |
| 461 | - | |
| 462 | 305 | end |
| 463 | 306 | |
| 464 | 307 | end NavierStokes.ParametricODE |
+0 −51 NavierStokes/ParametricRadialExtension.lean View file
| @@ -276,48 +276,6 @@ theorem extension_radial_jets {S : Set ℝ} (w : ParameterWindow S) {F : Plane | ||
| 276 | 276 | rw [← hwithin] |
| 277 | 277 | exact iteratedDerivWithin_congr (fun Y hY => extension_eq w hF he hY heta) hX |
| 278 | 278 | |
| 279 | -/-- Identification with the actual Hadamard derivative chain from | |
| 280 | -`BoundaryAxisJets`; the factor `2^n` comes from `X = R^2/2`. -/ | |
| 281 | -theorem extension_radialJet {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 282 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 283 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 284 | - (n : ℕ) {X eta : ℝ} (hX : 0 ≤ X) (heta : |eta| ≤ w.inner) : | |
| 285 | - iteratedDeriv n (fun Y => extension w F hF he (Y, eta)) X = | |
| 286 | - (2 : ℝ) ^ n • BoundaryAxisJets.axisJet F n (2 * X, eta) := by | |
| 287 | - have hetaS : eta ∈ S := | |
| 288 | - w.outer_subset (abs_lt.mp (heta.trans_lt w.inner_lt_outer)) | |
| 289 | - have hs : ContDiff ℝ ∞ (fun r => F (r, eta)) := | |
| 290 | - hF.comp_contDiff (contDiff_id.prodMk contDiff_const) | |
| 291 | - (fun _ => ⟨mem_univ _, hetaS⟩) | |
| 292 | - have heven : Function.Even (fun r => F (r, eta)) := he eta hetaS | |
| 293 | - have hd := EvenSmoothDescent.contDiffOn_descent hs heven | |
| 294 | - rw [extension_radial_jets w hF he n hX heta] | |
| 295 | - calc | |
| 296 | - _ = (2 : ℝ) ^ n • iteratedDerivWithin n | |
| 297 | - (fun Y => F (Real.sqrt Y, eta)) (Ici 0) (2 * X) := | |
| 298 | - iteratedDerivWithin_comp_const_smul hX (uniqueDiffOn_Ici 0) | |
| 299 | - (hd.of_le (nat_le_infty n)) 2 | |
| 300 | - (fun Y hY => mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) hY) | |
| 301 | - _ = _ := congrArg ((2 : ℝ) ^ n • ·) | |
| 302 | - (BoundaryAxisJets.axisJet_eq_iteratedDerivWithin hs heven n | |
| 303 | - (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) hX)).symm | |
| 304 | - | |
| 305 | -/-- The axis constants and every higher radial jet are preserved exactly. -/ | |
| 306 | -theorem extension_axis_jets {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 307 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 308 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 309 | - (n : ℕ) {eta : ℝ} (heta : |eta| ≤ w.inner) : | |
| 310 | - iteratedDeriv n (fun Y => extension w F hF he (Y, eta)) 0 = | |
| 311 | - ((2 : ℝ) ^ n * ((n.factorial : ℝ) / ((2 * n).factorial : ℝ))) • | |
| 312 | - iteratedDeriv (2 * n) (fun r => F (r, eta)) 0 := by | |
| 313 | - have hetaS : eta ∈ S := | |
| 314 | - w.outer_subset (abs_lt.mp (heta.trans_lt w.inner_lt_outer)) | |
| 315 | - have hs : ContDiff ℝ ∞ (fun r => F (r, eta)) := | |
| 316 | - hF.comp_contDiff (contDiff_id.prodMk contDiff_const) | |
| 317 | - (fun _ => ⟨mem_univ _, hetaS⟩) | |
| 318 | - rw [extension_radialJet w hF he n le_rfl heta, mul_zero, | |
| 319 | - BoundaryAxisJets.axisJet_zero hs, smul_smul] | |
| 320 | - | |
| 321 | 279 | /-- Exterior support is inherited globally in the parameter, not only on |
| 322 | 280 | the interval where exact agreement with the input is required. -/ |
| 323 | 281 | theorem extension_zero_exterior {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} |
| @@ -352,13 +310,4 @@ theorem extension_tsupport {S : Set ℝ} (w : ParameterWindow S) {F : Plane → | ||
| 352 | 310 | lt_of_not_ge fun h => hp (extension_zero_parameter w hF he h) |
| 353 | 311 | exact ⟨⟨hlo.le, hhi.le⟩, abs_le.mp heta.le⟩ |
| 354 | 312 | |
| 355 | -theorem extension_hasCompactSupport {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 356 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 357 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 358 | - {B : ℝ} (hB : 0 ≤ B) | |
| 359 | - (hzero : ∀ eta ∈ S, ∀ r, B ≤ r → F (r, eta) = 0) : | |
| 360 | - HasCompactSupport (extension w F hF he) := | |
| 361 | - (isCompact_Icc.prod isCompact_Icc).of_isClosed_subset isClosed_closure | |
| 362 | - (extension_tsupport w hF he hB hzero) | |
| 363 | - | |
| 364 | 313 | end NavierStokes.ParametricRadialExtension |
+1 −82 NavierStokes/ParametricRephase.lean View file
| @@ -46,22 +46,6 @@ theorem forwardMap_inverseMap (d : E → CircleDensity) (z : E × ℝ) : | ||
| 46 | 46 | change (z.1, phaseHomeomorph (d z.1) ((phaseHomeomorph (d z.1)).symm z.2)) = z |
| 47 | 47 | rw [(phaseHomeomorph (d z.1)).apply_symm_apply] |
| 48 | 48 | |
| 49 | -theorem forwardMap_bijective (d : E → CircleDensity) : Bijective (forwardMap d) := | |
| 50 | - ⟨Function.LeftInverse.injective (inverseMap_forwardMap d), | |
| 51 | - Function.RightInverse.surjective (forwardMap_inverseMap d)⟩ | |
| 52 | - | |
| 53 | -theorem familyPhase_add_fullTurn (d : E → CircleDensity) (p : E) (θ : ℝ) : | |
| 54 | - familyPhase d (p, θ + 2 * Real.pi) = familyPhase d (p, θ) + 1 := | |
| 55 | - phaseMap_add_fullTurn (d p) θ | |
| 56 | - | |
| 57 | -theorem inversePhase_add_one (d : E → CircleDensity) (p : E) (φ : ℝ) : | |
| 58 | - inversePhase d (p, φ + 1) = inversePhase d (p, φ) + 2 * Real.pi := | |
| 59 | - phaseInverse_add_one (d p) φ | |
| 60 | - | |
| 61 | -theorem familyPhase_partial_hasDerivAt (d : E → CircleDensity) (p : E) (θ : ℝ) : | |
| 62 | - HasDerivAt (fun t => familyPhase d (p, t)) (familyRate d (p, θ)) θ := | |
| 63 | - phaseMap_hasDerivAt (d p) θ | |
| 64 | - | |
| 65 | 49 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 66 | 50 | |
| 67 | 51 | /-- The triangular derivative is a genuine continuous linear equivalence. Its |
| @@ -120,11 +104,6 @@ theorem inverseMap_contDiffAt_of_phase (d : E → CircleDensity) (z : E × ℝ) | ||
| 120 | 104 | (hforward.to_localInverse hL hone).congr_of_eventuallyEq heq |
| 121 | 105 | simpa only [a, forwardMap_inverseMap] using hinv |
| 122 | 106 | |
| 123 | -theorem inversePhase_contDiffAt_of_phase (d : E → CircleDensity) (z : E × ℝ) | |
| 124 | - (hphase : ContDiffAt ℝ ∞ (familyPhase d) (inverseMap d z)) : | |
| 125 | - ContDiffAt ℝ ∞ (inversePhase d) z := | |
| 126 | - (inverseMap_contDiffAt_of_phase d z hphase).snd | |
| 127 | - | |
| 128 | 107 | theorem inverseMap_contDiffOn_of_phase (d : E → CircleDensity) (U : Set E) |
| 129 | 108 | (hU : IsOpen U) (hphase : ContDiffOn ℝ ∞ (familyPhase d) (U ×ˢ univ)) : |
| 130 | 109 | ContDiffOn ℝ ∞ (inverseMap d) (U ×ˢ univ) := by |
| @@ -133,18 +112,6 @@ theorem inverseMap_contDiffOn_of_phase (d : E → CircleDensity) (U : Set E) | ||
| 133 | 112 | apply hphase.contDiffAt |
| 134 | 113 | exact (hU.prod isOpen_univ).mem_nhds ⟨hz.1, mem_univ _⟩ |
| 135 | 114 | |
| 136 | -theorem inversePhase_contDiffOn_of_phase (d : E → CircleDensity) (U : Set E) | |
| 137 | - (hU : IsOpen U) (hphase : ContDiffOn ℝ ∞ (familyPhase d) (U ×ˢ univ)) : | |
| 138 | - ContDiffOn ℝ ∞ (inversePhase d) (U ×ˢ univ) := | |
| 139 | - (inverseMap_contDiffOn_of_phase d U hU hphase).snd | |
| 140 | - | |
| 141 | -theorem inversePhase_contDiff_of_phase (d : E → CircleDensity) | |
| 142 | - (hphase : ContDiff ℝ ∞ (familyPhase d)) : | |
| 143 | - ContDiff ℝ ∞ (inversePhase d) := by | |
| 144 | - apply contDiff_iff_contDiffAt.mpr | |
| 145 | - intro z | |
| 146 | - exact inversePhase_contDiffAt_of_phase d z hphase.contDiffAt | |
| 147 | - | |
| 148 | 115 | end InverseSmoothness |
| 149 | 116 | |
| 150 | 117 | variable {V : Type*} |
| @@ -152,28 +119,6 @@ variable {V : Type*} | ||
| 152 | 119 | def rephaseFamily (d : E → CircleDensity) (f : E × ℝ → V) (z : E × ℝ) : V := |
| 153 | 120 | f (inverseMap d z) |
| 154 | 121 | |
| 155 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 156 | -theorem rephaseFamily_periodic (d : E → CircleDensity) (f : E × ℝ → V) | |
| 157 | - (p : E) (hf : Function.Periodic (fun θ => f (p, θ)) (2 * Real.pi)) : | |
| 158 | - Function.Periodic (fun φ => rephaseFamily d f (p, φ)) 1 := by | |
| 159 | - intro φ | |
| 160 | - change f (p, inversePhase d (p, φ + 1)) = f (p, inversePhase d (p, φ)) | |
| 161 | - rw [inversePhase_add_one] | |
| 162 | - exact hf _ | |
| 163 | - | |
| 164 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 165 | -theorem rephaseFamily_forwardMap (d : E → CircleDensity) (f : E × ℝ → V) (z : E × ℝ) : | |
| 166 | - rephaseFamily d f (forwardMap d z) = f z := by | |
| 167 | - unfold rephaseFamily | |
| 168 | - rw [inverseMap_forwardMap] | |
| 169 | - | |
| 170 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 171 | -theorem rephaseFamily_integral (d : E → CircleDensity) (f : E × ℝ → ℝ) (p : E) | |
| 172 | - (hf : Continuous (fun θ => f (p, θ))) : | |
| 173 | - (∫ φ in (0 : ℝ)..1, rephaseFamily d f (p, φ)) = | |
| 174 | - ∫ θ in (0 : ℝ)..(2 * Real.pi), f (p, θ) * familyRate d (p, θ) := | |
| 175 | - integral_rephase (d p) (fun θ => f (p, θ)) hf | |
| 176 | - | |
| 177 | 122 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 178 | 123 | |
| 179 | 124 | theorem rephaseFamily_contDiffOn_of_phase [CompleteSpace E] |
| @@ -252,27 +197,8 @@ theorem familyPhase_contDiffOn [FiniteDimensional ℝ E] | ||
| 252 | 197 | rw [heq] |
| 253 | 198 | exact contDiff_snd.contDiffOn.mul hi |
| 254 | 199 | |
| 255 | -/-- Final density-only interface for the joint inverse on an open parameter set. -/ | |
| 256 | -theorem inverseMap_contDiffOn [FiniteDimensional ℝ E] | |
| 257 | - (d : E → CircleDensity) (U : Set E) (hU : IsOpen U) | |
| 258 | - (hrate : ContDiffOn ℝ ∞ (familyRate d) (U ×ˢ univ)) : | |
| 259 | - ContDiffOn ℝ ∞ (inverseMap d) (U ×ˢ univ) := | |
| 260 | - inverseMap_contDiffOn_of_phase d U hU (familyPhase_contDiffOn d U hU hrate) | |
| 261 | - | |
| 262 | -theorem inversePhase_contDiffOn [FiniteDimensional ℝ E] | |
| 263 | - (d : E → CircleDensity) (U : Set E) (hU : IsOpen U) | |
| 264 | - (hrate : ContDiffOn ℝ ∞ (familyRate d) (U ×ˢ univ)) : | |
| 265 | - ContDiffOn ℝ ∞ (inversePhase d) (U ×ˢ univ) := | |
| 266 | - (inverseMap_contDiffOn d U hU hrate).snd | |
| 267 | - | |
| 268 | -theorem inversePhase_contDiff [FiniteDimensional ℝ E] | |
| 269 | - (d : E → CircleDensity) (hrate : ContDiff ℝ ∞ (familyRate d)) : | |
| 270 | - ContDiff ℝ ∞ (inversePhase d) := by | |
| 271 | - have h := inversePhase_contDiffOn d univ isOpen_univ hrate.contDiffOn | |
| 272 | - simpa only [univ_prod_univ, contDiffOn_univ] using h | |
| 273 | - | |
| 274 | 200 | /-- Smooth loops remain jointly smooth under the constructed parameter-dependent |
| 275 | -phase inverse. Their period becomes one by `rephaseFamily_periodic`. -/ | |
| 201 | +phase inverse. -/ | |
| 276 | 202 | theorem rephaseFamily_contDiffOn [FiniteDimensional ℝ E] |
| 277 | 203 | (d : E → CircleDensity) (f : E × ℝ → V) (U : Set E) (hU : IsOpen U) |
| 278 | 204 | (hrate : ContDiffOn ℝ ∞ (familyRate d) (U ×ˢ univ)) |
| @@ -280,11 +206,4 @@ theorem rephaseFamily_contDiffOn [FiniteDimensional ℝ E] | ||
| 280 | 206 | ContDiffOn ℝ ∞ (rephaseFamily d f) (U ×ˢ univ) := |
| 281 | 207 | rephaseFamily_contDiffOn_of_phase d f U hU (familyPhase_contDiffOn d U hU hrate) hf |
| 282 | 208 | |
| 283 | -theorem rephaseFamily_contDiff [FiniteDimensional ℝ E] | |
| 284 | - (d : E → CircleDensity) (f : E × ℝ → V) | |
| 285 | - (hrate : ContDiff ℝ ∞ (familyRate d)) (hf : ContDiff ℝ ∞ f) : | |
| 286 | - ContDiff ℝ ∞ (rephaseFamily d f) := by | |
| 287 | - have h := rephaseFamily_contDiffOn d f univ isOpen_univ hrate.contDiffOn hf.contDiffOn | |
| 288 | - simpa only [univ_prod_univ, contDiffOn_univ] using h | |
| 289 | - | |
| 290 | 209 | end NavierStokes.ParametricRephase |
+0 −18 NavierStokes/ParametricTerminalCompensation.lean View file
| @@ -114,11 +114,6 @@ theorem composed_solver_derivWithin_bound {g : Coeff → Coeff} {ε C : ℝ} | ||
| 114 | 114 | exact ((fderiv ℝ g (d η)).le_opNorm _).trans |
| 115 | 115 | (mul_le_mul_of_nonneg_right (hbound (d η) hmem) (norm_nonneg _)) |
| 116 | 116 | |
| 117 | -theorem correction_parameter_derivWithin (P : Patch) {S : Set ℝ} {c : ℝ → Coeff} {η : ℝ} | |
| 118 | - (huniq : UniqueDiffWithinAt ℝ S η) (hc : DifferentiableWithinAt ℝ c S η) (x : ℝ) : | |
| 119 | - derivWithin (fun θ => correction P (c θ) x) S η = correction P (derivWithin c S η) x := | |
| 120 | - ((correctionCLM P x).hasFDerivAt.comp_hasDerivWithinAt η hc.hasDerivWithinAt).derivWithin huniq | |
| 121 | - | |
| 122 | 117 | /-- The constructed three-row inverse applies to a genuinely varying debt. |
| 123 | 118 | The derivative estimate includes its actual first parameter derivative. -/ |
| 124 | 119 | theorem exists_variable_compensation (P : Patch) (lam : ℝ) (hlam : 0 ≤ lam) |
| @@ -362,13 +357,6 @@ theorem exists_compensation_for_switch_family (P : Patch) (lam : ℝ) (hlam : 0 | ||
| 362 | 357 | exact exists_compensation_for_scaled_family P lam hlam q hq hS huniq a ha hpos d Bq hBq |
| 363 | 358 | (fun K hK => (hdata K hK).1) (fun K hK => (hdata K hK).2) |
| 364 | 359 | |
| 365 | -/-- Inside the parameter domain these bounds are on ordinary derivatives. -/ | |
| 366 | -theorem interior_first_jet {P : Patch} {S : Set ℝ} {a : ℝ → ℝ} {c : ℝ → Coeff} | |
| 367 | - {η L : ℝ} (hS : S ∈ 𝓝 η) (hc : ‖derivWithin c S η‖ ≤ L) | |
| 368 | - (hE : FirstJetWithinBound P a c S η L) : | |
| 369 | - ‖deriv c η‖ ≤ L ∧ FirstJetBound P a c η L := by | |
| 370 | - exact ⟨by simpa only [derivWithin_of_mem_nhds hS] using hc, hE.toFirstJetBound hS⟩ | |
| 371 | - | |
| 372 | 360 | theorem scaled_triple_contDiffOn {S : Set ℝ} (K : ℝ) {p e i : ℝ → ℝ} |
| 373 | 361 | (hp : ContDiffOn ℝ ∞ p S) (he : ContDiffOn ℝ ∞ e S) (hi : ContDiffOn ℝ ∞ i S) : |
| 374 | 362 | ContDiffOn ℝ ∞ (fun η => scaledDebt K ![p η, e η, i η]) S := by |
| @@ -438,12 +426,6 @@ noncomputable def physicalDebt (T : OutgoingTail.TailData) (K η : ℝ) : Coeff | ||
| 438 | 426 | ParametricHeatTail.physicalEnergy T K η, |
| 439 | 427 | ParametricHeatTail.physicalAngular T K η] |
| 440 | 428 | |
| 441 | -theorem physicalDebt_eq_actual (T : OutgoingTail.TailData) (K η : ℝ) : | |
| 442 | - physicalDebt T K η = | |
| 443 | - ![HeatTailEdit.pressureDebt (HeatTailEdit.outgoingProfile T K η) T.h (1 - η ^ 2) K, | |
| 444 | - HeatTailEdit.energyDebt (HeatTailEdit.outgoingProfile T K η) T.h (1 - η ^ 2) K, | |
| 445 | - HeatTailEdit.angularDebt (HeatTailEdit.outgoingProfile T K η) T.h (1 - η ^ 2) K] := rfl | |
| 446 | - | |
| 447 | 429 | theorem physical_scaled_debt_contDiffOn (T : OutgoingTail.TailData) {K : ℝ} (hK : 1 ≤ K) : |
| 448 | 430 | ContDiffOn ℝ ∞ (fun η => scaledDebt K (physicalDebt T K η)) (Icc (-1 : ℝ) 1) := |
| 449 | 431 | scaled_triple_contDiffOn K (ParametricHeatTail.physicalPressure_contDiffOn T hK) |
+0 −57 NavierStokes/ParametricTorusInverse.lean View file
| @@ -84,9 +84,6 @@ theorem fixedPartial_periodic {f : Source} (hp : Periodic f) (v : Point) : | ||
| 84 | 84 | theorem parameterPartial_periodic {f : Source} (hp : Periodic f) : |
| 85 | 85 | Periodic (parameterPartial f) := fixedPartial_periodic hp (1, 0) |
| 86 | 86 | |
| 87 | -theorem torusXPartial_periodic {f : Source} (hp : Periodic f) : | |
| 88 | - Periodic (torusXPartial f) := fixedPartial_periodic hp (0, (1, 0)) | |
| 89 | - | |
| 90 | 87 | theorem torusXJet_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 91 | 88 | ContDiff ℝ ∞ (torusXJet n f) := by |
| 92 | 89 | induction n with |
| @@ -319,9 +316,6 @@ theorem uniform_multiplied_coeff_bound {m : Frequency → ℂ} (hm : PolynomialG | ||
| 319 | 316 | noncomputable def applyMultiplier (m : Frequency → ℂ) (f : Source) (z : Point) : ℂ := |
| 320 | 317 | series (fun k => m k * coefficient f z.1 k) z.2 |
| 321 | 318 | |
| 322 | -theorem inverse_eq_applyMultiplier (d : Direction) (f : Source) : | |
| 323 | - inverse d f = applyMultiplier (multiplier d) f := rfl | |
| 324 | - | |
| 325 | 319 | theorem multiplied_coeff_rapid {m : Frequency → ℂ} (hm : PolynomialGrowth m) |
| 326 | 320 | {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (p : ℝ) : |
| 327 | 321 | Rapid (fun k => m k * coefficient f p k) := |
| @@ -551,14 +545,6 @@ theorem parameterJet_succ (n : ℕ) (f : Source) : | ||
| 551 | 545 | parameterJet (n + 1) f = parameterPartial (parameterJet n f) := |
| 552 | 546 | Function.iterate_succ_apply' _ _ _ |
| 553 | 547 | |
| 554 | -theorem parameterJet_zeroMean {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 555 | - (hm : ZeroMean f) (n : ℕ) : ZeroMean (parameterJet n f) := by | |
| 556 | - induction n with | |
| 557 | - | zero => exact hm | |
| 558 | - | succ n ih => | |
| 559 | - rw [parameterJet_succ] | |
| 560 | - exact parameterPartial_zeroMean (parameterJet_smooth hf n) ih | |
| 561 | - | |
| 562 | 548 | /-- All actual derivatives in the external parameter commute with inversion. -/ |
| 563 | 549 | theorem parameterJet_inverse (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) |
| 564 | 550 | (hp : Periodic f) (n : ℕ) : |
| @@ -592,49 +578,6 @@ theorem iterateInverse_smooth (d : Direction) {f : Source} (hf : ContDiff ℝ | ||
| 592 | 578 | rw [iterateInverse_succ] |
| 593 | 579 | exact inverse_smooth d ih (iterateInverse_periodic d hp n) |
| 594 | 580 | |
| 595 | -theorem iterateInverse_zeroMean (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 596 | - (hp : Periodic f) (hm : ZeroMean f) (n : ℕ) : ZeroMean (iterateInverse d n f) := by | |
| 597 | - induction n with | |
| 598 | - | zero => exact hm | |
| 599 | - | succ n ih => | |
| 600 | - rw [iterateInverse_succ] | |
| 601 | - exact inverse_zeroMean d (iterateInverse_smooth d hf hp n) | |
| 602 | - (iterateInverse_periodic d hp n) | |
| 603 | - | |
| 604 | -theorem parameterPartial_iterateInverse (d : Direction) {f : Source} | |
| 605 | - (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (n : ℕ) : | |
| 606 | - parameterPartial (iterateInverse d n f) = iterateInverse d n (parameterPartial f) := by | |
| 607 | - induction n with | |
| 608 | - | zero => rfl | |
| 609 | - | succ n ih => | |
| 610 | - rw [iterateInverse_succ, parameterPartial_inverse d (iterateInverse_smooth d hf hp n) | |
| 611 | - (iterateInverse_periodic d hp n), ih, iterateInverse_succ] | |
| 612 | - | |
| 613 | -theorem parameterJet_iterateInverse (d : Direction) {f : Source} | |
| 614 | - (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (n q : ℕ) : | |
| 615 | - parameterJet q (iterateInverse d n f) = iterateInverse d n (parameterJet q f) := by | |
| 616 | - induction q with | |
| 617 | - | zero => rfl | |
| 618 | - | succ q ih => | |
| 619 | - rw [parameterJet_succ, ih, parameterPartial_iterateInverse d | |
| 620 | - (parameterJet_smooth hf q) (parameterJet_periodic hp q), parameterJet_succ] | |
| 621 | - | |
| 622 | -theorem iterateInverse_solves (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 623 | - (hp : Periodic f) (hm : ZeroMean f) (n : ℕ) : | |
| 624 | - directionalPartial d (iterateInverse d (n + 1) f) = iterateInverse d n f := by | |
| 625 | - rw [iterateInverse_succ] | |
| 626 | - exact inverse_solves d (iterateInverse_smooth d hf hp n) | |
| 627 | - (iterateInverse_periodic d hp n) (iterateInverse_zeroMean d hf hp hm n) | |
| 628 | - | |
| 629 | -theorem iterateInverse_preserves_parameter_support (d : Direction) (f : Source) (S : Set ℝ) | |
| 630 | - (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) (n : ℕ) : | |
| 631 | - ∀ p, p ∉ S → ∀ Y, iterateInverse d n f (p, Y) = 0 := by | |
| 632 | - induction n with | |
| 633 | - | zero => exact hs | |
| 634 | - | succ n ih => | |
| 635 | - rw [iterateInverse_succ] | |
| 636 | - exact inverse_preserves_parameter_support d _ S ih | |
| 637 | - | |
| 638 | 581 | /-- A genuine mixed coordinate jet: first actual parameter derivatives, then |
| 639 | 582 | the indicated word of actual torus-coordinate derivatives. -/ |
| 640 | 583 | noncomputable def mixedJet (q : ℕ) (w : List Bool) (f : Source) (z : Point) : ℂ := |
+20 −0 routes/s1-ns-parametric-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-parametric-1 | |
| 6 | + | |
| 7 | +Issue 10 (S-1), family `NavierStokes/Parametric*`: delete 68 declarations that | |
| 8 | +nothing uses, 644 lines in the eight `NavierStokes/Parametric*.lean` files. The | |
| 9 | +list and the evidence are Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler | |
| 10 | +at upstream `f9e8bc5`), read again on this project's main under the rule that the | |
| 11 | +paper's results stay: a declaration Treant deleted is kept when a paper result | |
| 12 | +reaches it, when its docstring cites the paper, or when a declaration that stays | |
| 13 | +names it. The diff is deletions only. One stale clause in the docstring of | |
| 14 | +`rephaseFamily_contDiffOn` cited the deleted `rephaseFamily_periodic` and is | |
| 15 | +removed with it. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Nothing on this unit; open the pull request. If a later wave needs one of these | |
| 20 | +declarations, it is in Treant's run and in this branch's base. | |