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

Merge remote-tracking branch 'origin/main' into s1-ns-localized-1
Browse files+0 −44 Euler/MeanAccelerationGevrey.lean View file
| @@ -72,48 +72,4 @@ theorem meanAcceleration_translation_contDiff {n : ℕ∞ω} | ||
| 72 | 72 | exact Eq.mpr (congrArg (fun g : Space → TimeLp T solenoidalSpace => ContDiff ℝ n g) |
| 73 | 73 | (meanAcceleration_orbit_eq T hT F F₁ c hc hLower v f)) hs |
| 74 | 74 | |
| 75 | -/-- The genuine acceleration gains one factorial shift relative to its | |
| 76 | -velocity and forcing inputs, with an explicit polynomial radius condition. -/ | |
| 77 | -theorem meanAcceleration_translation_gevrey | |
| 78 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 79 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 80 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a v)) | |
| 81 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 82 | - (Rc R CF CF₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 83 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 84 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*Cv))*(Rc+1) ≤ R) | |
| 85 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 86 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 87 | - (d : ℕ) | |
| 88 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 89 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 90 | - (n : ℕ) (a : Space) : | |
| 91 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 92 | - timeSolenoidalTranslation T b (meanAcceleration T hT F F₁ c hc hLower v f)) a‖ ≤ | |
| 93 | - majorant R (d+1) n := by | |
| 94 | - let Q := fun b : Space => solenoidalFrame T (translatePath T b F) | |
| 95 | - let Q₁ := fun b : Space => solenoidalFrame T (translatePath T b F₁) | |
| 96 | - have hQ : ContDiff ℝ ∞ Q := contDiff_solenoidalFrame T (fun b => translatePath T b F) hF | |
| 97 | - have hQ₁ : ContDiff ℝ ∞ Q₁ := contDiff_solenoidalFrame T (fun b => translatePath T b F₁) hF₁ | |
| 98 | - have hbQ : ∀ k b, ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant Rc 0 k := | |
| 99 | - solenoidalFrame_bound T (fun b => translatePath T b F) hF Rc CF hRc hCF 0 hFb | |
| 100 | - have hbQ₁ : ∀ k b, ‖iteratedFDeriv ℝ k Q₁ b‖ ≤ CF₁*majorant Rc 0 k := | |
| 101 | - solenoidalFrame_bound T (fun b => translatePath T b F₁) hF₁ Rc CF₁ hRc hCF₁ 0 hF₁b | |
| 102 | - have hbQR (k b) : ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant R 0 k := | |
| 103 | - (hbQ k b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF) | |
| 104 | - have hbQ₁R (k b) : ‖iteratedFDeriv ℝ k Q₁ b‖ ≤ CF₁*majorant R 0 k := | |
| 105 | - (hbQ₁ k b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF₁) | |
| 106 | - let g := EulerTimeLpAccelerationForcing.forcing T hT Q Q₁ | |
| 107 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) | |
| 108 | - have hg : ContDiff ℝ ∞ g := EulerTimeLpAccelerationForcing.forcing_contDiff T hT Q Q₁ | |
| 109 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) hQ hQ₁ hf hv | |
| 110 | - have hgb : ∀ k b, ‖iteratedFDeriv ℝ k g b‖ ≤ (3*CF*(Cf+6*CF₁*Cv))*majorant R d k := | |
| 111 | - EulerTimeLpAccelerationForcing.forcing_bound T hT Q Q₁ | |
| 112 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) | |
| 113 | - hQ hQ₁ hf hv R CF CF₁ Cf Cv hR hCF hCF₁ hCf hCv d hbQR hbQ₁R hfb hvb | |
| 114 | - have hs := gramSolution_gevrey T hT Q c hc (translatedFrame_lower T F c hLower) hQ | |
| 115 | - Rc CF hRc hCF hbQ g hg (3*CF*(Cf+6*CF₁*Cv)) R (by positivity) hstrong d hgb n a | |
| 116 | - exact (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g a‖) | |
| 117 | - (meanAcceleration_orbit_eq T hT F F₁ c hc hLower v f)).trans_le hs | |
| 118 | - | |
| 119 | 75 | end EulerMeanAccelerationGevrey |
+0 −81 Euler/MeanBoundaryDerivative.lean View file
| @@ -20,12 +20,6 @@ private local instance : NormedSpace ℝ (Space →L[ℝ] Space →L[ℝ] ℝ) : | ||
| 20 | 20 | apply Cutoff.ext |
| 21 | 21 | exact funext fun x => congrArg χ.field (add_zero x) |
| 22 | 22 | |
| 23 | -theorem cutoffCurl_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : | |
| 24 | - cutoffCurl (χ.differenceError a h) = | |
| 25 | - h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - cutoffCurl (χ.directional a) := by | |
| 26 | - rw [Cutoff.differenceError, cutoffCurl_sub, Cutoff.differenceQuotient, | |
| 27 | - cutoffCurl_scale, cutoffCurl_sub] | |
| 28 | - | |
| 29 | 23 | theorem Cutoff.exists_taylor_controls (χ : Cutoff) : |
| 30 | 24 | ∃ R M₂ M₃ : ℝ, 0 ≤ M₂ ∧ 0 ≤ M₃ ∧ |
| 31 | 25 | tsupport χ.field ⊆ Metric.closedBall (0 : Space) R ∧ |
| @@ -40,84 +34,9 @@ theorem Cutoff.exists_taylor_controls (χ : Cutoff) : | ||
| 40 | 34 | obtain ⟨M₃, h₃⟩ := (((χ.compact.fderiv ℝ).fderiv ℝ).fderiv ℝ).exists_bound_of_continuous hs₃.continuous |
| 41 | 35 | exact ⟨R, M₂, M₃, (norm_nonneg _).trans (h₂ 0), (norm_nonneg _).trans (h₃ 0), hR, h₂, h₃⟩ |
| 42 | 36 | |
| 43 | -/-- Translating the actual cutoff differentiates the bounded cutoff-curl map in operator norm. -/ | |
| 44 | -theorem cutoffCurl_hasDerivAt_zero (χ : Cutoff) (a : Space) : | |
| 45 | - HasDerivAt (fun t : ℝ => cutoffCurl (χ.translate (t • a))) | |
| 46 | - (cutoffCurl (χ.directional a)) 0 := by | |
| 47 | - obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls | |
| 48 | - have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by | |
| 49 | - have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop | |
| 50 | - exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) | |
| 51 | - apply (hasDerivAt_iff_tendsto_slope_zero | |
| 52 | - (f := fun t : ℝ => cutoffCurl (χ.translate (t • a))) | |
| 53 | - (f' := cutoffCurl (χ.directional a)) (x := 0)).mpr | |
| 54 | - simp only [zero_add, zero_smul, Cutoff.translate_zero] | |
| 55 | - apply tendsto_sub_nhds_zero_iff.mp | |
| 56 | - apply squeeze_zero_norm' | |
| 57 | - (f := fun h : ℝ => h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - | |
| 58 | - cutoffCurl (χ.directional a)) | |
| 59 | - (t₀ := 𝓝[≠] (0 : ℝ)) | |
| 60 | - (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) | |
| 61 | - · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall | |
| 62 | - have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh | |
| 63 | - rw [← cutoffCurl_differenceError] | |
| 64 | - exact (cutoffCurl_norm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) | |
| 65 | - · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop | |
| 66 | - simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds | |
| 67 | - | |
| 68 | -theorem weakPotential_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : | |
| 69 | - weakPotential (χ.differenceError a h) = | |
| 70 | - h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - weakPotential (χ.directional a) := by | |
| 71 | - calc | |
| 72 | - _ = weakPotential (χ.differenceQuotient a h) - weakPotential (χ.directional a) := | |
| 73 | - weakPotential_sub _ _ | |
| 74 | - _ = h⁻¹ • weakPotential ((χ.translate (h • a)).sub χ) - weakPotential (χ.directional a) := | |
| 75 | - congrArg (fun B : L2 →L[ℝ] homogeneousSpace => B - weakPotential (χ.directional a)) | |
| 76 | - (weakPotential_scale ((χ.translate (h • a)).sub χ) h⁻¹) | |
| 77 | - _ = _ := congrArg (fun B : L2 →L[ℝ] homogeneousSpace => h⁻¹ • B - weakPotential (χ.directional a)) | |
| 78 | - (weakPotential_sub (χ.translate (h • a)) χ) | |
| 79 | - | |
| 80 | 37 | theorem weakPotential_operatorNorm_le (χ : Cutoff) : ‖weakPotential χ‖ ≤ cutoffBound χ := by |
| 81 | 38 | change ‖(cutoffCurl χ).adjoint‖ ≤ _ |
| 82 | 39 | rw [LinearIsometryEquiv.norm_map] |
| 83 | 40 | exact cutoffCurl_norm_le χ |
| 84 | 41 | |
| 85 | -/-- The represented weak potential differentiates with the same actual cutoff derivative. -/ | |
| 86 | -theorem weakPotential_hasDerivAt_zero (χ : Cutoff) (a : Space) : | |
| 87 | - HasDerivAt (fun t : ℝ => weakPotential (χ.translate (t • a))) | |
| 88 | - (weakPotential (χ.directional a)) 0 := by | |
| 89 | - obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls | |
| 90 | - have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by | |
| 91 | - have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop | |
| 92 | - exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) | |
| 93 | - apply (hasDerivAt_iff_tendsto_slope_zero | |
| 94 | - (f := fun t : ℝ => weakPotential (χ.translate (t • a))) | |
| 95 | - (f' := weakPotential (χ.directional a)) (x := 0)).mpr | |
| 96 | - simp only [zero_add, zero_smul, Cutoff.translate_zero] | |
| 97 | - apply tendsto_sub_nhds_zero_iff.mp | |
| 98 | - apply squeeze_zero_norm' | |
| 99 | - (f := fun h : ℝ => h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - | |
| 100 | - weakPotential (χ.directional a)) | |
| 101 | - (t₀ := 𝓝[≠] (0 : ℝ)) | |
| 102 | - (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) | |
| 103 | - · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall | |
| 104 | - have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh | |
| 105 | - rw [← weakPotential_differenceError] | |
| 106 | - exact (weakPotential_operatorNorm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) | |
| 107 | - · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop | |
| 108 | - simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds | |
| 109 | - | |
| 110 | -/-- Both cutoff positions contribute to the actual operator-norm derivative. -/ | |
| 111 | -theorem mixedBoundaryOperator_hasDerivAt_zero (χ ψ : Cutoff) (a : Space) : | |
| 112 | - HasDerivAt (fun t : ℝ => mixedBoundaryOperator (χ.translate (t • a)) (ψ.translate (t • a))) | |
| 113 | - (mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)) 0 := by | |
| 114 | - have h := (cutoffCurl_hasDerivAt_zero χ a).clm_comp (weakPotential_hasDerivAt_zero ψ a) | |
| 115 | - simpa only [zero_smul, Cutoff.translate_zero, mixedBoundaryOperator] using h | |
| 116 | - | |
| 117 | -/-- The corresponding differential commutator has the source's duality bound. -/ | |
| 118 | -theorem mixedBoundaryOperator_derivative_norm_le (χ ψ : Cutoff) (a : Space) : | |
| 119 | - ‖mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)‖ ≤ | |
| 120 | - cutoffBound (χ.directional a) * cutoffBound ψ + cutoffBound χ * cutoffBound (ψ.directional a) := | |
| 121 | - (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) (mixedBoundaryOperator_norm_le _ _)) | |
| 122 | - | |
| 123 | 42 | end EulerMeanBoundary |
+0 −68 Euler/MeanBoundaryDifference.lean View file
| @@ -30,78 +30,10 @@ theorem cutoffBound_translate (χ : Cutoff) (a : Space) : | ||
| 30 | 30 | rw [lpNorm_translated χ.field χ.smooth.continuous, |
| 31 | 31 | lpNorm_translated (gradient χ.field) (contDiff_gradient χ.smooth).continuous] |
| 32 | 32 | |
| 33 | -/-- The genuine directional spatial difference quotient, defined also at h = 0. -/ | |
| 34 | -def spatialDifference (a : Space) (h : ℝ) : L2 →L[ℝ] L2 := | |
| 35 | - h⁻¹ • ((translation (h • a)).toContinuousLinearMap - ContinuousLinearMap.id ℝ L2) | |
| 36 | - | |
| 37 | -theorem spatialDifference_apply (a : Space) (h : ℝ) (z : L2) : | |
| 38 | - spatialDifference a h z = h⁻¹ • (translation (h • a) z - z) := rfl | |
| 39 | - | |
| 40 | 33 | def Cutoff.differenceQuotient (χ : Cutoff) (a : Space) (h : ℝ) : Cutoff := |
| 41 | 34 | ((χ.translate (h • a)).sub χ).scale h⁻¹ |
| 42 | 35 | |
| 43 | 36 | theorem Cutoff.differenceQuotient_field (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 44 | 37 | (χ.differenceQuotient a h).field x = h⁻¹ * (χ.field (x + h • a) - χ.field x) := rfl |
| 45 | 38 | |
| 46 | -theorem spatialDifference_commutator (a : Space) (h : ℝ) (A : L2 →L[ℝ] L2) : | |
| 47 | - (spatialDifference a h).comp A - A.comp (spatialDifference a h) = | |
| 48 | - h⁻¹ • translationCommutator (h • a) A := by | |
| 49 | - unfold spatialDifference translationCommutator | |
| 50 | - simp only [ContinuousLinearMap.smul_comp, ContinuousLinearMap.comp_smul, | |
| 51 | - ContinuousLinearMap.sub_comp, ContinuousLinearMap.comp_sub, ContinuousLinearMap.id_comp, | |
| 52 | - ContinuousLinearMap.comp_id, smul_sub] | |
| 53 | - abel | |
| 54 | - | |
| 55 | -/-- Exact two-position derivative splitting for an actual spatial difference quotient. -/ | |
| 56 | -theorem mixedBoundaryOperator_differenceCommutator (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 57 | - (spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 58 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h) = | |
| 59 | - (mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) + | |
| 60 | - mixedBoundaryOperator χ (ψ.differenceQuotient a h)).comp | |
| 61 | - (translation (h • a)).toContinuousLinearMap := by | |
| 62 | - rw [spatialDifference_commutator, mixedBoundaryOperator_translationCommutator] | |
| 63 | - unfold Cutoff.differenceQuotient | |
| 64 | - rw [mixedBoundaryOperator_scale_left, mixedBoundaryOperator_scale_right] | |
| 65 | - simp only [ContinuousLinearMap.add_comp, ContinuousLinearMap.smul_comp, smul_add] | |
| 66 | - | |
| 67 | -/-- The commutator is bounded by the actual two cutoff difference quotients. -/ | |
| 68 | -theorem mixedBoundaryOperator_differenceCommutator_norm_le | |
| 69 | - (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 70 | - ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 71 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ | |
| 72 | - cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a)) + | |
| 73 | - cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by | |
| 74 | - rw [mixedBoundaryOperator_differenceCommutator] | |
| 75 | - apply ContinuousLinearMap.opNorm_le_bound _ | |
| 76 | - (add_nonneg (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _)) | |
| 77 | - (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _))) | |
| 78 | - intro z | |
| 79 | - change ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) | |
| 80 | - (translation (h • a) z) + mixedBoundaryOperator χ (ψ.differenceQuotient a h) | |
| 81 | - (translation (h • a) z)‖ ≤ _ | |
| 82 | - calc | |
| 83 | - _ ≤ ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) | |
| 84 | - (translation (h • a) z)‖ + | |
| 85 | - ‖mixedBoundaryOperator χ (ψ.differenceQuotient a h) (translation (h • a) z)‖ := | |
| 86 | - norm_add_le _ _ | |
| 87 | - _ ≤ (cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a))) * | |
| 88 | - ‖translation (h • a) z‖ + | |
| 89 | - (cutoffBound χ * cutoffBound (ψ.differenceQuotient a h)) * ‖translation (h • a) z‖ := by | |
| 90 | - apply add_le_add | |
| 91 | - · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans | |
| 92 | - (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) | |
| 93 | - · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans | |
| 94 | - (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) | |
| 95 | - _ = _ := by | |
| 96 | - rw [(translation (h • a)).norm_map] | |
| 97 | - ring | |
| 98 | - | |
| 99 | -theorem mixedBoundaryOperator_differenceCommutator_norm_le_invariant | |
| 100 | - (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 101 | - ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 102 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ | |
| 103 | - cutoffBound (χ.differenceQuotient a h) * cutoffBound ψ + | |
| 104 | - cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by | |
| 105 | - simpa only [cutoffBound_translate] using mixedBoundaryOperator_differenceCommutator_norm_le a h χ ψ | |
| 106 | - | |
| 107 | 39 | end EulerMeanBoundary |
+0 −14 Euler/MeanBoundaryFrechet.lean View file
| @@ -123,20 +123,6 @@ theorem cutoffOperation_contDiff (L : Cutoff → E) | ||
| 123 | 123 | |
| 124 | 124 | end LinearCutoffOperation |
| 125 | 125 | |
| 126 | -/-- Actual Fréchet derivative of the cutoff-curl extension. -/ | |
| 127 | -theorem cutoffCurl_hasFDerivAt (χ : Cutoff) (a : Space) : | |
| 128 | - HasFDerivAt (fun b : Space => cutoffCurl (χ.translate b)) | |
| 129 | - (cutoffDirectionalMap cutoffCurl cutoffCurl_add cutoffCurl_scale (χ.translate a)) a := | |
| 130 | - cutoffOperation_hasFDerivAt cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub | |
| 131 | - cutoffCurl_norm_le χ a | |
| 132 | - | |
| 133 | -/-- Actual Fréchet derivative of the weak Newtonian potential. -/ | |
| 134 | -theorem weakPotential_hasFDerivAt (χ : Cutoff) (a : Space) : | |
| 135 | - HasFDerivAt (fun b : Space => weakPotential (χ.translate b)) | |
| 136 | - (cutoffDirectionalMap weakPotential weakPotential_add weakPotential_scale (χ.translate a)) a := | |
| 137 | - cutoffOperation_hasFDerivAt weakPotential weakPotential_add weakPotential_scale weakPotential_sub | |
| 138 | - weakPotential_operatorNorm_le χ a | |
| 139 | - | |
| 140 | 126 | theorem cutoffCurl_contDiff (χ : Cutoff) : |
| 141 | 127 | ContDiff ℝ ∞ (fun a : Space => cutoffCurl (χ.translate a)) := |
| 142 | 128 | cutoffOperation_contDiff cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub |
+0 −22 Euler/MeanBoundaryIterated.lean View file
| @@ -103,26 +103,4 @@ theorem cutoffOperation_iteratedFDeriv_bound (L : Cutoff → E) | ||
| 103 | 103 | |
| 104 | 104 | end LinearCutoffOperation |
| 105 | 105 | |
| 106 | -theorem cutoffCurl_iteratedFDeriv_bound (n : ℕ) (χ : Cutoff) (R M₀ M₁ : ℝ) | |
| 107 | - (hM₀ : 0 ≤ M₀) (hM₁ : 0 ≤ M₁) | |
| 108 | - (hs : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 109 | - (h₀ : ∀ x, ‖iteratedFDeriv ℝ n χ.field x‖ ≤ M₀) | |
| 110 | - (h₁ : ∀ x, ‖iteratedFDeriv ℝ (n+1) χ.field x‖ ≤ M₁) (a : Space) : | |
| 111 | - ‖iteratedFDeriv ℝ n (fun b : Space => cutoffCurl (χ.translate b)) a‖ ≤ | |
| 112 | - 3 * cutoffCurlConstant * | |
| 113 | - (M₀ + M₁ * (volume (Metric.closedBall (0 : Space) R)).toReal ^ (1/3 : ℝ)) := | |
| 114 | - cutoffOperation_iteratedFDeriv_bound cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub | |
| 115 | - cutoffCurl_norm_le n χ R M₀ M₁ hM₀ hM₁ hs h₀ h₁ a | |
| 116 | - | |
| 117 | -theorem weakPotential_iteratedFDeriv_bound (n : ℕ) (χ : Cutoff) (R M₀ M₁ : ℝ) | |
| 118 | - (hM₀ : 0 ≤ M₀) (hM₁ : 0 ≤ M₁) | |
| 119 | - (hs : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 120 | - (h₀ : ∀ x, ‖iteratedFDeriv ℝ n χ.field x‖ ≤ M₀) | |
| 121 | - (h₁ : ∀ x, ‖iteratedFDeriv ℝ (n+1) χ.field x‖ ≤ M₁) (a : Space) : | |
| 122 | - ‖iteratedFDeriv ℝ n (fun b : Space => weakPotential (χ.translate b)) a‖ ≤ | |
| 123 | - 3 * cutoffCurlConstant * | |
| 124 | - (M₀ + M₁ * (volume (Metric.closedBall (0 : Space) R)).toReal ^ (1/3 : ℝ)) := | |
| 125 | - cutoffOperation_iteratedFDeriv_bound weakPotential weakPotential_add weakPotential_scale weakPotential_sub | |
| 126 | - weakPotential_operatorNorm_le n χ R M₀ M₁ hM₀ hM₁ hs h₀ h₁ a | |
| 127 | - | |
| 128 | 106 | end EulerMeanBoundary |
+0 −61 Euler/MeanBoundaryMixed.lean View file
| @@ -134,65 +134,4 @@ def mixedBoundaryOperator (χ ψ : Cutoff) : L2 →L[ℝ] L2 := | ||
| 134 | 134 | theorem mixedBoundaryOperator_diagonal (χ : Cutoff) : |
| 135 | 135 | mixedBoundaryOperator χ χ = boundaryOperator χ := rfl |
| 136 | 136 | |
| 137 | -theorem mixedBoundaryOperator_norm_le (χ ψ : Cutoff) : | |
| 138 | - ‖mixedBoundaryOperator χ ψ‖ ≤ cutoffBound χ * cutoffBound ψ := by | |
| 139 | - refine (ContinuousLinearMap.opNorm_comp_le _ _).trans ?_ | |
| 140 | - change ‖cutoffCurl χ‖ * ‖(cutoffCurl ψ).adjoint‖ ≤ _ | |
| 141 | - rw [LinearIsometryEquiv.norm_map] | |
| 142 | - exact mul_le_mul (cutoffCurl_norm_le χ) (cutoffCurl_norm_le ψ) | |
| 143 | - (norm_nonneg (cutoffCurl ψ)) (cutoffBound_nonneg χ) | |
| 144 | - | |
| 145 | -theorem mixedBoundaryOperator_pairing (χ ψ : Cutoff) (u v : L2) : | |
| 146 | - ⟪mixedBoundaryOperator χ ψ u, v⟫_ℝ = ⟪weakPotential ψ u, weakPotential χ v⟫_ℝ := | |
| 147 | - (ContinuousLinearMap.adjoint_inner_right (cutoffCurl χ) (weakPotential ψ u) v).symm | |
| 148 | - | |
| 149 | -theorem mixedBoundaryOperator_adjoint (χ ψ : Cutoff) : | |
| 150 | - (mixedBoundaryOperator χ ψ).adjoint = mixedBoundaryOperator ψ χ := by | |
| 151 | - simp only [mixedBoundaryOperator, weakPotential, ContinuousLinearMap.adjoint_comp, | |
| 152 | - ContinuousLinearMap.adjoint_adjoint] | |
| 153 | - | |
| 154 | -theorem mixedBoundaryOperator_solenoidal (χ ψ : Cutoff) (u : L2) : | |
| 155 | - mixedBoundaryOperator χ ψ u ∈ solenoidalSpace := cutoffCurl_solenoidal χ (weakPotential ψ u) | |
| 156 | - | |
| 157 | -theorem mixedBoundaryOperator_supported (χ ψ : Cutoff) (u : L2) : | |
| 158 | - mixedBoundaryOperator χ ψ u ∈ supportedSpace χ := cutoffCurl_supported χ (weakPotential ψ u) | |
| 159 | - | |
| 160 | -theorem mixedBoundaryOperator_add_left (χ ψ ρ : Cutoff) : | |
| 161 | - mixedBoundaryOperator (χ.add ψ) ρ = mixedBoundaryOperator χ ρ + mixedBoundaryOperator ψ ρ := by | |
| 162 | - simp only [mixedBoundaryOperator, cutoffCurl_add, ContinuousLinearMap.add_comp] | |
| 163 | - | |
| 164 | -theorem mixedBoundaryOperator_add_right (χ ψ ρ : Cutoff) : | |
| 165 | - mixedBoundaryOperator χ (ψ.add ρ) = mixedBoundaryOperator χ ψ + mixedBoundaryOperator χ ρ := by | |
| 166 | - simp only [mixedBoundaryOperator, weakPotential_add, ContinuousLinearMap.comp_add] | |
| 167 | - | |
| 168 | -theorem mixedBoundaryOperator_scale_left (χ ψ : Cutoff) (c : ℝ) : | |
| 169 | - mixedBoundaryOperator (χ.scale c) ψ = c • mixedBoundaryOperator χ ψ := by | |
| 170 | - simp only [mixedBoundaryOperator, cutoffCurl_scale, ContinuousLinearMap.smul_comp] | |
| 171 | - | |
| 172 | -theorem mixedBoundaryOperator_scale_right (χ ψ : Cutoff) (c : ℝ) : | |
| 173 | - mixedBoundaryOperator χ (ψ.scale c) = c • mixedBoundaryOperator χ ψ := by | |
| 174 | - simp only [mixedBoundaryOperator, weakPotential_scale, ContinuousLinearMap.comp_smul] | |
| 175 | - | |
| 176 | -theorem mixedBoundaryOperator_sub_left (χ ψ ρ : Cutoff) : | |
| 177 | - mixedBoundaryOperator (χ.sub ψ) ρ = mixedBoundaryOperator χ ρ - mixedBoundaryOperator ψ ρ := by | |
| 178 | - simp only [mixedBoundaryOperator, cutoffCurl_sub, ContinuousLinearMap.sub_comp] | |
| 179 | - | |
| 180 | -theorem mixedBoundaryOperator_sub_right (χ ψ ρ : Cutoff) : | |
| 181 | - mixedBoundaryOperator χ (ψ.sub ρ) = mixedBoundaryOperator χ ψ - mixedBoundaryOperator χ ρ := by | |
| 182 | - simp only [mixedBoundaryOperator, weakPotential_sub, ContinuousLinearMap.comp_sub] | |
| 183 | - | |
| 184 | -/-- The two actual coefficient differences are split between the two cutoff positions. -/ | |
| 185 | -theorem mixedBoundaryOperator_difference (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : | |
| 186 | - mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀ = | |
| 187 | - mixedBoundaryOperator (χ₁.sub χ₀) ψ₁ + mixedBoundaryOperator χ₀ (ψ₁.sub ψ₀) := by | |
| 188 | - rw [mixedBoundaryOperator_sub_left, mixedBoundaryOperator_sub_right] | |
| 189 | - abel | |
| 190 | - | |
| 191 | -theorem mixedBoundaryOperator_difference_norm_le (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : | |
| 192 | - ‖mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀‖ ≤ | |
| 193 | - cutoffBound (χ₁.sub χ₀) * cutoffBound ψ₁ + cutoffBound χ₀ * cutoffBound (ψ₁.sub ψ₀) := by | |
| 194 | - rw [mixedBoundaryOperator_difference] | |
| 195 | - exact (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) | |
| 196 | - (mixedBoundaryOperator_norm_le _ _)) | |
| 197 | - | |
| 198 | 137 | end EulerMeanBoundary |
+0 −44 Euler/MeanBoundaryOperator.lean View file
| @@ -160,32 +160,6 @@ theorem weakPotential_pairing (χ : Cutoff) (z : L2) (f : Test) : | ||
| 160 | 160 | filter_upwards [testCurl_ae χ f] with x hx |
| 161 | 161 | rw [hx] |
| 162 | 162 | |
| 163 | -theorem weakPotential_norm_le (χ : Cutoff) (z : L2) : | |
| 164 | - ‖weakPotential χ z‖ ≤ cutoffBound χ * ‖z‖ := by | |
| 165 | - refine ((weakPotential χ).le_opNorm z).trans ?_ | |
| 166 | - apply mul_le_mul_of_nonneg_right _ (norm_nonneg z) | |
| 167 | - change ‖(cutoffCurl χ).adjoint‖ ≤ cutoffBound χ | |
| 168 | - rw [LinearIsometryEquiv.norm_map] | |
| 169 | - exact cutoffCurl_norm_le χ | |
| 170 | - | |
| 171 | -/-- Compact vector tests determine the weak potential uniquely in the actual homogeneous space. -/ | |
| 172 | -theorem weakPotential_unique (χ : Cutoff) (z : L2) (u : homogeneousSpace) | |
| 173 | - (hu : ∀ f : Test, ⟪u, homogeneousGradient f⟫_ℝ = | |
| 174 | - ∫ x, ⟪z x, vectorCurl (fun y => χ.field y • (f : Space → Space) y) x⟫_ℝ) : | |
| 175 | - u = weakPotential χ z := by | |
| 176 | - apply ext_inner_right ℝ | |
| 177 | - intro v | |
| 178 | - refine homogeneousGradient_dense.induction_on v ?_ ?_ | |
| 179 | - · exact isClosed_eq (continuous_const.inner continuous_id) (continuous_const.inner continuous_id) | |
| 180 | - · intro f | |
| 181 | - exact (hu f).trans (weakPotential_pairing χ z f).symm | |
| 182 | - | |
| 183 | -/-- A genuine uniquely solvable weak Poisson/Riesz problem for the cutoff-curl functional. -/ | |
| 184 | -theorem existsUnique_weakPotential (χ : Cutoff) (z : L2) : | |
| 185 | - ∃! u : homogeneousSpace, ∀ f : Test, ⟪u, homogeneousGradient f⟫_ℝ = | |
| 186 | - ∫ x, ⟪z x, vectorCurl (fun y => χ.field y • (f : Space → Space) y) x⟫_ℝ := | |
| 187 | - ⟨weakPotential χ z, weakPotential_pairing χ z, fun u hu => weakPotential_unique χ z u hu⟩ | |
| 188 | - | |
| 189 | 163 | /-- The actual bounded positive mean boundary operator `Tχ Tχ*`. -/ |
| 190 | 164 | def boundaryOperator (χ : Cutoff) : L2 →L[ℝ] L2 := (cutoffCurl χ).comp (weakPotential χ) |
| 191 | 165 | |
| @@ -203,14 +177,6 @@ theorem boundaryOperator_energy (χ : Cutoff) (z : L2) : | ||
| 203 | 177 | ⟪boundaryOperator χ z, z⟫_ℝ = ‖weakPotential χ z‖ ^ 2 := by |
| 204 | 178 | rw [boundaryOperator_pairing, real_inner_self_eq_norm_sq] |
| 205 | 179 | |
| 206 | -theorem boundaryOperator_norm_le (χ : Cutoff) : | |
| 207 | - ‖boundaryOperator χ‖ ≤ cutoffBound χ ^ 2 := by | |
| 208 | - refine (ContinuousLinearMap.opNorm_comp_le _ _).trans ?_ | |
| 209 | - change ‖cutoffCurl χ‖ * ‖(cutoffCurl χ).adjoint‖ ≤ _ | |
| 210 | - rw [LinearIsometryEquiv.norm_map] | |
| 211 | - exact (mul_le_mul (cutoffCurl_norm_le χ) (cutoffCurl_norm_le χ) | |
| 212 | - (norm_nonneg (cutoffCurl χ)) (cutoffBound_nonneg χ)).trans_eq (sq (cutoffBound χ)).symm | |
| 213 | - | |
| 214 | 180 | /-- The actual test-level cutoff curl is solenoidal. -/ |
| 215 | 181 | theorem testCurl_solenoidal (χ : Cutoff) (f : Test) : |
| 216 | 182 | testCurl χ f ∈ solenoidalSpace := by |
| @@ -283,14 +249,4 @@ theorem boundaryOperator_zero_off_support (χ : Cutoff) (z : L2) : | ||
| 283 | 249 | (boundaryOperator χ z : Space → Space) =ᵐ[volume.restrict (tsupport χ.field)ᶜ] 0 := |
| 284 | 250 | (mem_supportedSpace_iff χ _).mp (boundaryOperator_supported χ z) |
| 285 | 251 | |
| 286 | -/-- Symmetry follows from the actual Hilbert-adjoint construction. -/ | |
| 287 | -theorem boundaryOperator_symmetric (χ : Cutoff) (z w : L2) : | |
| 288 | - ⟪boundaryOperator χ z, w⟫_ℝ = ⟪z, boundaryOperator χ w⟫_ℝ := by | |
| 289 | - calc | |
| 290 | - ⟪boundaryOperator χ z, w⟫_ℝ = ⟪weakPotential χ z, weakPotential χ w⟫_ℝ := | |
| 291 | - boundaryOperator_pairing χ z w | |
| 292 | - _ = ⟪weakPotential χ w, weakPotential χ z⟫_ℝ := real_inner_comm _ _ | |
| 293 | - _ = ⟪boundaryOperator χ w, z⟫_ℝ := (boundaryOperator_pairing χ w z).symm | |
| 294 | - _ = ⟪z, boundaryOperator χ w⟫_ℝ := real_inner_comm _ _ | |
| 295 | - | |
| 296 | 252 | end EulerMeanBoundary |
+0 −12 Euler/MeanBoundaryPhysicalSupport.lean View file
| @@ -47,16 +47,4 @@ theorem scaledBoundary_continuous_support (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) | ||
| 47 | 47 | have hnorm : 2 < ‖ℓ • x‖ := lt_of_not_ge h |
| 48 | 48 | exact hx (hzero hnorm) |
| 49 | 49 | |
| 50 | -theorem scaledBoundary_continuous_compact (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) (z : L2) | |
| 51 | - (b : Space → Space) (hb : Continuous b) | |
| 52 | - (hrep : b =ᵐ[volume] (L • boundaryOperator (scaledCutoff ℓ hℓ) z : L2)) : | |
| 53 | - HasCompactSupport b := by | |
| 54 | - apply (isCompact_closedBall (0 : Space) (2/ℓ)).of_isClosed_subset (isClosed_tsupport b) | |
| 55 | - intro x hx | |
| 56 | - have hs := scaledBoundary_continuous_support ℓ hℓ L z b hb hrep hx | |
| 57 | - change ‖ℓ • x‖ ≤ 2 at hs | |
| 58 | - rw [norm_smul, Real.norm_eq_abs, abs_of_pos hℓ] at hs | |
| 59 | - simp only [Metric.mem_closedBall, dist_zero_right] | |
| 60 | - exact (le_div_iff₀ hℓ).2 (by simpa only [mul_comm] using hs) | |
| 61 | - | |
| 62 | 50 | end EulerMeanBoundary |
+0 −11 Euler/MeanBoundaryReflection.lean View file
| @@ -21,11 +21,6 @@ def Cutoff.reflect (χ : Cutoff) : Cutoff := | ||
| 21 | 21 | ⟨fun x => χ.field (-x), χ.smooth.comp contDiff_id.neg, |
| 22 | 22 | χ.compact.comp_homeomorph (Homeomorph.neg Space)⟩ |
| 23 | 23 | |
| 24 | -theorem Cutoff.reflect_reflect (χ : Cutoff) : χ.reflect.reflect = χ := by | |
| 25 | - apply Cutoff.ext | |
| 26 | - funext x | |
| 27 | - exact congrArg χ.field (neg_neg x) | |
| 28 | - | |
| 29 | 24 | theorem Cutoff.reflect_eq_of_even (χ : Cutoff) (hχ : ∀ x, χ.field (-x) = χ.field x) : |
| 30 | 25 | χ.reflect = χ := Cutoff.ext (funext hχ) |
| 31 | 26 | |
| @@ -35,9 +30,6 @@ def l2ReflectionEquiv : L2 ≃ₗᵢ[ℝ] L2 := | ||
| 35 | 30 | def gradientReflection : GradientTensor ≃ₗᵢ[ℝ] GradientTensor := |
| 36 | 31 | LinearIsometryEquiv.piLpCongrRight 2 (fun _ : Fin 3 => l2ReflectionEquiv) |
| 37 | 32 | |
| 38 | -theorem gradientReflection_apply (G : GradientTensor) (i : Fin 3) : | |
| 39 | - gradientReflection G i = reflection (G i) := rfl | |
| 40 | - | |
| 41 | 33 | theorem gradientReflection_involutive (G : GradientTensor) : |
| 42 | 34 | gradientReflection (gradientReflection G) = G := by |
| 43 | 35 | ext i : 1 |
| @@ -78,9 +70,6 @@ def homogeneousReflection : homogeneousSpace →ₗᵢ[ℝ] homogeneousSpace whe | ||
| 78 | 70 | map_smul' c u := by apply Subtype.ext; exact map_smul gradientReflection c _ |
| 79 | 71 | norm_map' u := gradientReflection.norm_map (u : GradientTensor) |
| 80 | 72 | |
| 81 | -theorem homogeneousReflection_coe (u : homogeneousSpace) : | |
| 82 | - (homogeneousReflection u : GradientTensor) = gradientReflection (u : GradientTensor) := rfl | |
| 83 | - | |
| 84 | 73 | theorem homogeneousReflection_involutive (u : homogeneousSpace) : |
| 85 | 74 | homogeneousReflection (homogeneousReflection u) = u := by |
| 86 | 75 | apply Subtype.ext |
+0 −47 Euler/MeanBoundaryTranslation.lean View file
| @@ -15,14 +15,9 @@ def l2TranslationEquiv (a : Space) : L2 ≃ₗᵢ[ℝ] L2 := | ||
| 15 | 15 | LinearIsometryEquiv.ofSurjective (translation a) (fun u => |
| 16 | 16 | ⟨translation (-a) u, by rw [translation_add, add_neg_cancel, translation_zero]⟩) |
| 17 | 17 | |
| 18 | -theorem l2TranslationEquiv_apply (a : Space) (u : L2) : l2TranslationEquiv a u = translation a u := rfl | |
| 19 | - | |
| 20 | 18 | def gradientTranslation (a : Space) : GradientTensor ≃ₗᵢ[ℝ] GradientTensor := |
| 21 | 19 | LinearIsometryEquiv.piLpCongrRight 2 (fun _ : Fin 3 => l2TranslationEquiv a) |
| 22 | 20 | |
| 23 | -theorem gradientTranslation_apply (a : Space) (G : GradientTensor) (i : Fin 3) : | |
| 24 | - gradientTranslation a G i = translation a (G i) := rfl | |
| 25 | - | |
| 26 | 21 | theorem gradientTranslation_add (a b : Space) (G : GradientTensor) : |
| 27 | 22 | gradientTranslation a (gradientTranslation b G) = gradientTranslation (a+b) G := by |
| 28 | 23 | ext i : 1 |
| @@ -67,9 +62,6 @@ def homogeneousTranslation (a : Space) : homogeneousSpace →ₗᵢ[ℝ] homogen | ||
| 67 | 62 | map_smul' c u := by apply Subtype.ext; exact map_smul (gradientTranslation a) c _ |
| 68 | 63 | norm_map' u := (gradientTranslation a).norm_map (u : GradientTensor) |
| 69 | 64 | |
| 70 | -theorem homogeneousTranslation_coe (a : Space) (u : homogeneousSpace) : | |
| 71 | - (homogeneousTranslation a u : GradientTensor) = gradientTranslation a (u : GradientTensor) := rfl | |
| 72 | - | |
| 73 | 65 | theorem homogeneousTranslation_add (a b : Space) (u : homogeneousSpace) : |
| 74 | 66 | homogeneousTranslation a (homogeneousTranslation b u) = homogeneousTranslation (a+b) u := by |
| 75 | 67 | apply Subtype.ext |
| @@ -142,43 +134,4 @@ theorem mixedBoundaryOperator_translation (a : Space) (χ ψ : Cutoff) (z : L2) | ||
| 142 | 134 | cutoffCurl (χ.translate a) (weakPotential (ψ.translate a) (translation a z)) |
| 143 | 135 | rw [cutoffCurl_translation, weakPotential_translation] |
| 144 | 136 | |
| 145 | -/-- The genuine spatial translation commutator on ordinary L². -/ | |
| 146 | -def translationCommutator (a : Space) (A : L2 →L[ℝ] L2) : L2 →L[ℝ] L2 := | |
| 147 | - (translation a).toContinuousLinearMap.comp A - A.comp (translation a).toContinuousLinearMap | |
| 148 | - | |
| 149 | -/-- Both cutoff positions, and only those positions, contribute to the spatial commutator. -/ | |
| 150 | -theorem mixedBoundaryOperator_translationCommutator (a : Space) (χ ψ : Cutoff) : | |
| 151 | - translationCommutator a (mixedBoundaryOperator χ ψ) = | |
| 152 | - (mixedBoundaryOperator ((χ.translate a).sub χ) (ψ.translate a) + | |
| 153 | - mixedBoundaryOperator χ ((ψ.translate a).sub ψ)).comp (translation a).toContinuousLinearMap := by | |
| 154 | - apply ContinuousLinearMap.ext | |
| 155 | - intro z | |
| 156 | - change translation a (mixedBoundaryOperator χ ψ z) - mixedBoundaryOperator χ ψ (translation a z) = | |
| 157 | - mixedBoundaryOperator ((χ.translate a).sub χ) (ψ.translate a) (translation a z) + | |
| 158 | - mixedBoundaryOperator χ ((ψ.translate a).sub ψ) (translation a z) | |
| 159 | - rw [mixedBoundaryOperator_translation] | |
| 160 | - exact congrArg (fun A : L2 →L[ℝ] L2 => A (translation a z)) | |
| 161 | - (mixedBoundaryOperator_difference (χ.translate a) χ (ψ.translate a) ψ) | |
| 162 | - | |
| 163 | -theorem mixedBoundaryOperator_translationCommutator_norm_le (a : Space) (χ ψ : Cutoff) : | |
| 164 | - ‖translationCommutator a (mixedBoundaryOperator χ ψ)‖ ≤ | |
| 165 | - cutoffBound ((χ.translate a).sub χ) * cutoffBound (ψ.translate a) + | |
| 166 | - cutoffBound χ * cutoffBound ((ψ.translate a).sub ψ) := by | |
| 167 | - apply ContinuousLinearMap.opNorm_le_bound _ | |
| 168 | - (add_nonneg (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _)) | |
| 169 | - (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _))) | |
| 170 | - intro z | |
| 171 | - change ‖translation a (mixedBoundaryOperator χ ψ z) - mixedBoundaryOperator χ ψ (translation a z)‖ ≤ _ | |
| 172 | - rw [mixedBoundaryOperator_translation] | |
| 173 | - change ‖(mixedBoundaryOperator (χ.translate a) (ψ.translate a) - | |
| 174 | - mixedBoundaryOperator χ ψ) (translation a z)‖ ≤ _ | |
| 175 | - calc | |
| 176 | - _ ≤ ‖mixedBoundaryOperator (χ.translate a) (ψ.translate a) - | |
| 177 | - mixedBoundaryOperator χ ψ‖ * ‖translation a z‖ := | |
| 178 | - (mixedBoundaryOperator (χ.translate a) (ψ.translate a) - mixedBoundaryOperator χ ψ).le_opNorm _ | |
| 179 | - _ ≤ _ := by | |
| 180 | - rw [(translation a).norm_map] | |
| 181 | - exact mul_le_mul_of_nonneg_right | |
| 182 | - (mixedBoundaryOperator_difference_norm_le (χ.translate a) χ (ψ.translate a) ψ) (norm_nonneg z) | |
| 183 | - | |
| 184 | 137 | end EulerMeanBoundary |
+0 −8 Euler/MeanClassicalConstraints.lean View file
| @@ -40,12 +40,4 @@ theorem representative_divergence (u : L2) (hu : u ∈ solenoidalSpace) (hs : Sm | ||
| 40 | 40 | solenoidal_representative_divergence u hu (representative u hs) |
| 41 | 41 | (representative_smooth u hs) (representative_ae u hs) |
| 42 | 42 | |
| 43 | -/-- A smooth translation orbit in the genuine gradient space has a normalized classical pressure. -/ | |
| 44 | -theorem representative_pressure (p : L2) (hp : p ∈ gradientSpace) (hs : SmoothOrbit p) : | |
| 45 | - ContDiff ℝ ∞ (radialPotential (representative p hs)) ∧ | |
| 46 | - radialPotential (representative p hs) 0 = 0 ∧ | |
| 47 | - ∀ x, gradient (radialPotential (representative p hs)) x = representative p hs x := | |
| 48 | - gradientSpace_radial_potential p hp (representative p hs) | |
| 49 | - (representative_ae p hs) (representative_smooth p hs) | |
| 50 | - | |
| 51 | 43 | end EulerMeanClassical |
+0 −59 Euler/MeanClassicalSpatialTime.lean View file
| @@ -18,33 +18,6 @@ open Set MeasureTheory EulerSmoothLimit EulerMeanSolenoidal | ||
| 18 | 18 | EulerMeanTimeContinuousTranslation EulerMeanSmoothRepresentative EulerVolterraConvolution |
| 19 | 19 | open scoped ContDiff |
| 20 | 20 | |
| 21 | -/-- Actual smooth representatives of a continuous L² path and its genuine | |
| 22 | -continuous derivative, with no separate mixed-derivative hypothesis. -/ | |
| 23 | -theorem exists_classical_pair (T : ℝ) (hT : 0 ≤ T) | |
| 24 | - (p q : C(Icc (0 : ℝ) T,L2)) | |
| 25 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 26 | - (hq : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a q)) | |
| 27 | - (hder : ∀ t : Icc (0 : ℝ) T, | |
| 28 | - HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) : | |
| 29 | - ∃ B Bt : Icc (0 : ℝ) T → Space → Space, | |
| 30 | - Continuous (fun z : Icc (0 : ℝ) T × Space => B z.1 z.2) ∧ | |
| 31 | - Continuous (fun z : Icc (0 : ℝ) T × Space => Bt z.1 z.2) ∧ | |
| 32 | - (∀ t, ContDiff ℝ ∞ (B t)) ∧ (∀ t, ContDiff ℝ ∞ (Bt t)) ∧ | |
| 33 | - (∀ t, (p t : Space → Space) =ᵐ[volume] B t) ∧ | |
| 34 | - (∀ t, (q t : Space → Space) =ᵐ[volume] Bt t) ∧ | |
| 35 | - ∀ t : Icc (0 : ℝ) T, ∀ x : Space, | |
| 36 | - HasDerivWithinAt (fun r => B (projIcc 0 T hT r) x) (Bt t x) (Icc (0 : ℝ) T) t := by | |
| 37 | - let B := fun t : Icc (0 : ℝ) T => | |
| 38 | - representative (p t) (pathTranslation_evaluation_contDiff T p hp t) | |
| 39 | - let Bt := fun t : Icc (0 : ℝ) T => | |
| 40 | - representative (q t) (pathTranslation_evaluation_contDiff T q hq t) | |
| 41 | - refine ⟨B, Bt, path_representative_joint_continuous T p hp, | |
| 42 | - path_representative_joint_continuous T q hq, | |
| 43 | - path_representative_smooth T p hp, path_representative_smooth T q hq, | |
| 44 | - path_representative_ae T p hp, path_representative_ae T q hq, ?_⟩ | |
| 45 | - intro t x | |
| 46 | - exact EulerMeanPathTimeDerivative.representative_hasDerivWithinAt T hT p q hder hp hq t x | |
| 47 | - | |
| 48 | 21 | end EulerMeanClassicalSpatialTime |
| 49 | 22 | |
| 50 | 23 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -77,36 +50,4 @@ theorem continuousVelocity_hasDerivWithinAt (hTpos : 0 < T) | ||
| 77 | 50 | rw [projIcc_of_mem hT hr] |
| 78 | 51 | exact s.continuousVelocity_eq_physicalPath hTpos hFTime ⟨r, hr⟩ |
| 79 | 52 | |
| 80 | -/-- Genuine space-time classical mean fields are obtained from the actual | |
| 81 | -solved coordinate velocity and acceleration orbits. -/ | |
| 82 | -theorem exists_classical_spatial_pair (hTpos : 0 < T) | |
| 83 | - (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) | |
| 84 | - (hFTime : ∀ t : Icc (0 : ℝ) T, | |
| 85 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 86 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 87 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 88 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 89 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 90 | - (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) : | |
| 91 | - ∃ B Bt : Icc (0 : ℝ) T → Space → Space, | |
| 92 | - Continuous (fun z : Icc (0 : ℝ) T × Space => B z.1 z.2) ∧ | |
| 93 | - Continuous (fun z : Icc (0 : ℝ) T × Space => Bt z.1 z.2) ∧ | |
| 94 | - (∀ t, ContDiff ℝ ∞ (B t)) ∧ (∀ t, ContDiff ℝ ∞ (Bt t)) ∧ | |
| 95 | - (∀ t : Icc (0 : ℝ) T, (s.physicalPath t : Space → Space) =ᵐ[volume] B t) ∧ | |
| 96 | - (∀ t, (s.classicalPhysicalDerivative c hc hLower fC t : Space → Space) =ᵐ[volume] Bt t) ∧ | |
| 97 | - ∀ t : Icc (0 : ℝ) T, ∀ x : Space, | |
| 98 | - HasDerivWithinAt (fun r => B (projIcc 0 T hT r) x) (Bt t x) (Icc (0 : ℝ) T) t := by | |
| 99 | - have hp := s.continuousVelocity_translation_contDiff | |
| 100 | - (s.velocityField_translation_contDiff hF hv) | |
| 101 | - (s.velocityDerivative_translation_contDiff hF hF₁ hv ha) | |
| 102 | - have hvc := s.coordinateVelocityPath_translation_contDiff hTpos hv ha | |
| 103 | - have hq := s.classicalPhysicalDerivative_translation_contDiff c hc hLower fC hF hF₁ hvc hfC | |
| 104 | - obtain ⟨B, Bt, hBc, hBtc, hBs, hBts, hBa, hBta, hd⟩ := | |
| 105 | - exists_classical_pair T hT s.continuousVelocity (s.classicalPhysicalDerivative c hc hLower fC) | |
| 106 | - hp hq (s.continuousVelocity_hasDerivWithinAt c hc hLower fC hTpos hf hFTime) | |
| 107 | - refine ⟨B, Bt, hBc, hBtc, hBs, hBts, ?_, hBta, hd⟩ | |
| 108 | - intro t | |
| 109 | - rw [← s.continuousVelocity_eq_physicalPath hTpos hFTime t] | |
| 110 | - exact hBa t | |
| 111 | - | |
| 112 | 53 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −40 Euler/MeanClassicalTime.lean View file
| @@ -49,17 +49,6 @@ theorem coordinateVelocityPath_ae : | ||
| 49 | 49 | rw [projIcc_of_mem hT ht] |
| 50 | 50 | exact hv |
| 51 | 51 | |
| 52 | -/-- The coordinate path has the actual H¹ trace bound. -/ | |
| 53 | -theorem coordinateVelocityPath_norm (hTpos : 0 < T) : | |
| 54 | - ‖s.coordinateVelocityPath‖ ≤ | |
| 55 | - (T⁻¹*Real.sqrt T)*‖s.velocityLp‖+(2*Real.sqrt T)*‖s.acceleration‖ := by | |
| 56 | - have heq : s.coordinateVelocityPath = reconstruction T hT (s.velocityLp, s.acceleration) := by | |
| 57 | - apply ContinuousMap.ext | |
| 58 | - intro t | |
| 59 | - exact (reconstruction_eq_path T hTpos s.velocityLp s.acceleration s.velocity | |
| 60 | - s.velocity_ac s.velocity_ae s.velocity_derivative t).symm | |
| 61 | - exact (congrArg norm heq).trans_le (reconstruction_norm_le T hTpos s.velocityLp s.acceleration) | |
| 62 | - | |
| 63 | 52 | /-- The already proved projected equation is the ordinary solenoidal Gram equation. -/ |
| 64 | 53 | theorem gram_equation_ae : |
| 65 | 54 | ∀ᵐ t ∂timeMeasure T, |
| @@ -82,22 +71,6 @@ def classicalAcceleration : C(Icc (0 : ℝ) T, solenoidalSpace) := | ||
| 82 | 71 | accelerationPath T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower |
| 83 | 72 | s.coordinateVelocityPath fC |
| 84 | 73 | |
| 85 | -/-- Its norm is the source's ordinary inverse-Gram estimate for time suprema. -/ | |
| 86 | -theorem classicalAcceleration_norm : | |
| 87 | - ‖s.classicalAcceleration c hc hLower fC‖ ≤ | |
| 88 | - c⁻¹*‖F‖*(‖fC‖+2*‖F₁‖*‖s.coordinateVelocityPath‖) := by | |
| 89 | - apply (accelerationPath_norm T (solenoidalFrame T F) (solenoidalFrame T F₁) | |
| 90 | - c hc hLower s.coordinateVelocityPath fC).trans | |
| 91 | - have hF := mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F) (inv_nonneg.mpr hc.le) | |
| 92 | - have hF₁ := mul_le_mul_of_nonneg_right | |
| 93 | - (mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F₁) (by norm_num : (0 : ℝ) ≤ 2)) | |
| 94 | - (norm_nonneg s.coordinateVelocityPath) | |
| 95 | - exact mul_le_mul hF (add_le_add le_rfl hF₁) | |
| 96 | - (add_nonneg (norm_nonneg fC) | |
| 97 | - (mul_nonneg (mul_nonneg (by norm_num) (norm_nonneg (solenoidalFrame T F₁))) | |
| 98 | - (norm_nonneg s.coordinateVelocityPath))) | |
| 99 | - (mul_nonneg (inv_nonneg.mpr hc.le) (norm_nonneg F)) | |
| 100 | - | |
| 101 | 74 | /-- The L² acceleration is genuinely represented by this continuous path. -/ |
| 102 | 75 | theorem classicalAcceleration_ae |
| 103 | 76 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| @@ -148,17 +121,4 @@ theorem physical_hasDerivWithinAt | ||
| 148 | 121 | (s.classicalPhysicalDerivative c hc hLower fC) (s.classicalPhysicalDerivative_ae c hc hLower fC hf) |
| 149 | 122 | s.physicalPath hp.1 hp.2.2 t |
| 150 | 123 | |
| 151 | -/-- The physical time-derivative supremum pays only the two coefficient factors. -/ | |
| 152 | -theorem classicalPhysicalDerivative_norm : | |
| 153 | - ‖s.classicalPhysicalDerivative c hc hLower fC‖ ≤ | |
| 154 | - ‖F₁‖*‖s.coordinateVelocityPath‖+‖F‖*‖s.classicalAcceleration c hc hLower fC‖ := by | |
| 155 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 156 | - intro t | |
| 157 | - apply (norm_add_le _ _).trans | |
| 158 | - exact add_le_add | |
| 159 | - (((F₁ t).le_opNorm _).trans (mul_le_mul (F₁.norm_coe_le_norm t) | |
| 160 | - (s.coordinateVelocityPath.norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F₁))) | |
| 161 | - (((F t).le_opNorm _).trans (mul_le_mul (F.norm_coe_le_norm t) | |
| 162 | - ((s.classicalAcceleration c hc hLower fC).norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F))) | |
| 163 | - | |
| 164 | 124 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −15 Euler/MeanClassicalWordBounds.lean View file
| @@ -149,19 +149,4 @@ theorem classicalBlockSize_eq (directions : ι → Space) (q : ℕ) (u : L2) (hu | ||
| 149 | 149 | exact congrArg (fun g : Space → L2 => baseSize directions q g 0) |
| 150 | 150 | (funext (ordinaryWord_translation directions u hu w)) |
| 151 | 151 | |
| 152 | -/-- Uniform time evaluation transfers all genuine classical Hq derivative | |
| 153 | -words with constant one, and without a radius change. -/ | |
| 154 | -theorem path_classicalBlockSize_le (directions : ι → Space) (q : ℕ) | |
| 155 | - (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | |
| 156 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 157 | - (t : Icc (0 : ℝ) T) (n : ℕ) : | |
| 158 | - classicalBlockSize directions q (p t) (pathTranslation_evaluation_contDiff T p hp t) n ≤ | |
| 159 | - block directions q (fun a : Space => pathTranslation T a p) n 0 := by | |
| 160 | - rw [classicalBlockSize_eq] | |
| 161 | - have h := block_comp_clm_le directions q | |
| 162 | - (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T,L2) →L[ℝ] L2) | |
| 163 | - (fun a : Space => pathTranslation T a p) hp n 0 | |
| 164 | - exact h.trans ((mul_le_mul_of_nonneg_right (evaluation_norm_le T t) | |
| 165 | - (block_nonneg directions q (fun a : Space => pathTranslation T a p) n 0)).trans_eq (one_mul _)) | |
| 166 | - | |
| 167 | 152 | end EulerMeanClassicalWordBounds |
+0 −7 Euler/MeanCoefficientFrame.lean View file
| @@ -70,11 +70,4 @@ theorem operatorPath_norm_le (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) : | ||
| 70 | 70 | intro t |
| 71 | 71 | exact (multiplier_norm_le (A t)).trans (A.norm_coe_le_norm t) |
| 72 | 72 | |
| 73 | -theorem operatorPath_norm_le_of_pointwise (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) | |
| 74 | - (C : ℝ) (hC : 0 ≤ C) (hA : ∀ t x, ‖A t x‖ ≤ C) : ‖operatorPath T A‖ ≤ C := by | |
| 75 | - apply (operatorPath_norm_le T A).trans | |
| 76 | - apply (ContinuousMap.norm_le A hC).2 | |
| 77 | - intro t | |
| 78 | - exact (BoundedContinuousFunction.norm_le hC).2 (hA t) | |
| 79 | - | |
| 80 | 73 | end EulerMeanCoefficients |
+0 −18 Euler/MeanCoefficientMultipliers.lean View file
| @@ -60,24 +60,6 @@ def multiplierMap : Field →L[ℝ] (L2 →L[ℝ] L2) where | ||
| 60 | 60 | |
| 61 | 61 | @[simp] theorem multiplierMap_apply (A : Field) : multiplierMap A = multiplier A := rfl |
| 62 | 62 | |
| 63 | -theorem multiplier_one : multiplier (1 : Field) = ContinuousLinearMap.id ℝ L2 := by | |
| 64 | - apply ContinuousLinearMap.ext | |
| 65 | - intro u | |
| 66 | - apply Lp.ext | |
| 67 | - filter_upwards [multiplier_ae (1 : Field) u] with x hx | |
| 68 | - exact hx | |
| 69 | - | |
| 70 | -theorem multiplier_mul (A B : Field) : | |
| 71 | - multiplier (A*B) = (multiplier A).comp (multiplier B) := by | |
| 72 | - apply ContinuousLinearMap.ext | |
| 73 | - intro u | |
| 74 | - apply Lp.ext | |
| 75 | - filter_upwards [multiplier_ae (A*B) u, multiplier_ae A (multiplier B u), | |
| 76 | - multiplier_ae B u] with x hab ha hb | |
| 77 | - change (multiplier (A*B) u) x = (multiplier A (multiplier B u)) x | |
| 78 | - rw [hab, ha, hb] | |
| 79 | - rfl | |
| 80 | - | |
| 81 | 63 | theorem multiplier_inverse (A B : Field) (hAB : ∀ x v, A x (B x v) = v) (u : L2) : |
| 82 | 64 | multiplier A (multiplier B u) = u := by |
| 83 | 65 | apply Lp.ext |
+0 −8 Euler/MeanCoefficientSpatial.lean View file
| @@ -25,14 +25,6 @@ def translated (A : Space →ᵇ V) (a : Space) : Space →ᵇ V := | ||
| 25 | 25 | ext x |
| 26 | 26 | exact congrArg A (add_zero x) |
| 27 | 27 | |
| 28 | -theorem translated_add (A : Space →ᵇ V) (a b : Space) : | |
| 29 | - translated (translated A a) b = translated A (b+a) := by | |
| 30 | - ext x | |
| 31 | - exact congrArg A (add_assoc x b a) | |
| 32 | - | |
| 33 | -theorem translated_norm_le (A : Space →ᵇ V) (a : Space) : ‖translated A a‖ ≤ ‖A‖ := | |
| 34 | - BoundedContinuousFunction.norm_compContinuous_le _ _ | |
| 35 | - | |
| 36 | 28 | variable [NormedSpace ℝ V] |
| 37 | 29 | |
| 38 | 30 | def boundedDerivative (A : Space →ᵇ V) (hA : ContDiff ℝ ∞ (A : Space → V)) |
+0 −33 Euler/MeanContinuousAcceleration.lean View file
| @@ -73,37 +73,4 @@ theorem meanAccelerationPath_translation_contDiff {n : ℕ∞ω} | ||
| 73 | 73 | exact Eq.mpr (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ContDiff ℝ n g) |
| 74 | 74 | (meanAccelerationPath_orbit_eq T F F₁ c hc hLower v f)) hs |
| 75 | 75 | |
| 76 | -/-- All actual spatial acceleration derivatives have a uniform-time bound | |
| 77 | -with one factorial shift and an explicit polynomial radius condition. -/ | |
| 78 | -theorem meanAccelerationPath_translation_gevrey | |
| 79 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 80 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 81 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a v)) | |
| 82 | - (hf : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a f)) | |
| 83 | - (Rc R CF CF₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 84 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 85 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*Cv))*(Rc+1) ≤ R) | |
| 86 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 87 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 88 | - (d : ℕ) | |
| 89 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 90 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 91 | - (n : ℕ) (a : Space) : | |
| 92 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 93 | - coordinatePathTranslation T b (meanAccelerationPath T F F₁ c hc hLower v f)) a‖ ≤ | |
| 94 | - majorant R (d+1) n := by | |
| 95 | - have hs := acceleration_gevrey T | |
| 96 | - (fun a : Space => solenoidalFrame T (translatePath T a F)) | |
| 97 | - (fun a : Space => solenoidalFrame T (translatePath T a F₁)) | |
| 98 | - c hc (translatedFrame_lower T F c hLower) | |
| 99 | - (fun a : Space => coordinatePathTranslation T a v) (fun a : Space => pathTranslation T a f) | |
| 100 | - (contDiff_solenoidalFrame T (fun a => translatePath T a F) hF) | |
| 101 | - (contDiff_solenoidalFrame T (fun a => translatePath T a F₁) hF₁) hv hf | |
| 102 | - Rc R CF CF₁ Cf Cv hRc hR hRcR hCF hCF₁ hCf hCv hstrong | |
| 103 | - (solenoidalFrame_bound T (fun b => translatePath T b F) hF Rc CF hRc hCF 0 hFb) | |
| 104 | - (solenoidalFrame_bound T (fun b => translatePath T b F₁) hF₁ Rc CF₁ hRc hCF₁ 0 hF₁b) | |
| 105 | - d hfb hvb n a | |
| 106 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ‖iteratedFDeriv ℝ n g a‖) | |
| 107 | - (meanAccelerationPath_orbit_eq T F F₁ c hc hLower v f)).trans_le hs | |
| 108 | - | |
| 109 | 76 | end EulerMeanContinuousAcceleration |
+0 −51 Euler/MeanContinuousPhysical.lean View file
| @@ -53,23 +53,6 @@ theorem framePathApply_translation_contDiff {n : ℕ∞ω} | ||
| 53 | 53 | (fun a => coordinatePathTranslation T a v) |
| 54 | 54 | (contDiff_solenoidalFrame T (fun a => translatePath T a F) hF) hv) |
| 55 | 55 | |
| 56 | -theorem framePathApply_translation_gevrey | |
| 57 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 58 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a v)) | |
| 59 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 60 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 61 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 62 | - (n : ℕ) (a : Space) : | |
| 63 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F) v)) a‖ ≤ | |
| 64 | - (3*CF*Cv)*majorant R d n := by | |
| 65 | - have h := apply_bound (fun b : Space => solenoidalFrame T (translatePath T b F)) | |
| 66 | - (fun b : Space => coordinatePathTranslation T b v) | |
| 67 | - (contDiff_solenoidalFrame T (fun b => translatePath T b F) hF) hv | |
| 68 | - R CF Cv hR hCF hCv 0 d | |
| 69 | - (solenoidalFrame_bound T (fun b => translatePath T b F) hF R CF hR hCF 0 hFb) hvb n a | |
| 70 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,L2) => ‖iteratedFDeriv ℝ n g a‖) | |
| 71 | - (framePathApply_orbit_eq T F v)).trans_le (by simpa only [Nat.zero_add] using h) | |
| 72 | - | |
| 73 | 56 | end EulerMeanContinuousPhysical |
| 74 | 57 | |
| 75 | 58 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -125,38 +108,4 @@ theorem classicalPhysicalDerivative_translation_contDiff {n : ℕ∞ω} | ||
| 125 | 108 | (framePathApply_translation_contDiff T F (s.classicalAcceleration c hc hLower fC) hF |
| 126 | 109 | (s.classicalAcceleration_translation_contDiff c hc hLower fC hF hF₁ hv hf))) |
| 127 | 110 | |
| 128 | -/-- Uniform-time derivative estimates pay only the two actual frame-product factors. -/ | |
| 129 | -theorem classicalPhysicalDerivative_translation_gevrey | |
| 130 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 131 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 132 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a s.coordinateVelocityPath)) | |
| 133 | - (ha : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a (s.classicalAcceleration c hc hLower fC))) | |
| 134 | - (R CF CF₁ Cv Ca : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) | |
| 135 | - (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 136 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 137 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n) | |
| 138 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ Cv*majorant R d n) | |
| 139 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ Ca*majorant R d n) | |
| 140 | - (n : ℕ) (a : Space) : | |
| 141 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) a‖ ≤ | |
| 142 | - (3*(CF₁*Cv+CF*Ca))*majorant R d n := by | |
| 143 | - have he : (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) = | |
| 144 | - fun b : Space => | |
| 145 | - pathTranslation T b (multiplier (solenoidalFrame T F₁) s.coordinateVelocityPath) + | |
| 146 | - pathTranslation T b (multiplier (solenoidalFrame T F) (s.classicalAcceleration c hc hLower fC)) := by | |
| 147 | - funext b | |
| 148 | - exact (congrArg (pathTranslation T b) (s.classicalPhysicalDerivative_eq_products c hc hLower fC)).trans | |
| 149 | - ((pathTranslation T b).map_add _ _) | |
| 150 | - have hb := add_bound | |
| 151 | - (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F₁) s.coordinateVelocityPath)) | |
| 152 | - (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F) (s.classicalAcceleration c hc hLower fC))) | |
| 153 | - (framePathApply_translation_contDiff T F₁ s.coordinateVelocityPath hF₁ hv) | |
| 154 | - (framePathApply_translation_contDiff T F (s.classicalAcceleration c hc hLower fC) hF ha) | |
| 155 | - R (3*CF₁*Cv) (3*CF*Ca) d | |
| 156 | - (framePathApply_translation_gevrey T F₁ s.coordinateVelocityPath hF₁ hv R CF₁ Cv hR hCF₁ hCv d hF₁b hvb) | |
| 157 | - (framePathApply_translation_gevrey T F (s.classicalAcceleration c hc hLower fC) hF ha R CF Ca hR hCF hCa d hFb hab) n a | |
| 158 | - have hcst : 3*CF₁*Cv+3*CF*Ca = 3*(CF₁*Cv+CF*Ca) := by ring | |
| 159 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,L2) => ‖iteratedFDeriv ℝ n g a‖) he).trans_le | |
| 160 | - (by simpa only [hcst] using hb) | |
| 161 | - | |
| 162 | 111 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −51 Euler/MeanContinuousVelocity.lean View file
| @@ -43,55 +43,4 @@ theorem continuousVelocity_translation_contDiff {n : ℕ∞ω} | ||
| 43 | 43 | ContDiff ℝ n (fun a : Space => pathTranslation T a s.continuousVelocity) := |
| 44 | 44 | reconstruction_translation_contDiff T hT s.velocityField s.velocityDerivative hB hBt |
| 45 | 45 | |
| 46 | -/-- The actual spatial orbit of B(t) is regular for every t, including both endpoints. -/ | |
| 47 | -theorem physicalPath_translation_contDiff (hTpos : 0 < T) | |
| 48 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 49 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 50 | - {n : ℕ∞ω} | |
| 51 | - (hB : ContDiff ℝ n (fun a : Space => timeTranslation T a s.velocityField)) | |
| 52 | - (hBt : ContDiff ℝ n (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - ContDiff ℝ n (fun a : Space => translation a (s.physicalPath t)) := by | |
| 55 | - have hp := pathTranslation_evaluation_contDiff T s.continuousVelocity | |
| 56 | - (s.continuousVelocity_translation_contDiff hB hBt) t | |
| 57 | - have heq : (fun a : Space => translation a (s.continuousVelocity t)) = | |
| 58 | - fun a : Space => translation a (s.physicalPath t) := | |
| 59 | - funext (fun a => congrArg (translation a) (s.continuousVelocity_eq_physicalPath hTpos hF t)) | |
| 60 | - exact Eq.mp (congrArg (fun g : Space → L2 => ContDiff ℝ n g) heq) hp | |
| 61 | - | |
| 62 | -/-- The actual uniform-time velocity has the explicit H¹ trace amplitude. -/ | |
| 63 | -theorem continuousVelocity_translation_gevrey (hTpos : 0 < T) | |
| 64 | - (hB : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField)) | |
| 65 | - (hBt : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 66 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 67 | - (hBb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ C*majorant R d n) | |
| 68 | - (hBtb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ D*majorant R d n) | |
| 69 | - (n : ℕ) (a : Space) : | |
| 70 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b s.continuousVelocity) a‖ ≤ | |
| 71 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := | |
| 72 | - reconstruction_translation_gevrey T hTpos s.velocityField s.velocityDerivative | |
| 73 | - hB hBt R C D hR hC hD d hBb hBtb n a | |
| 74 | - | |
| 75 | -/-- Every actual time slice obeys the same bound, with no extra spatial derivative loss. -/ | |
| 76 | -theorem physicalPath_translation_gevrey (hTpos : 0 < T) | |
| 77 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 78 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 79 | - (hB : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField)) | |
| 80 | - (hBt : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 81 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 82 | - (hBb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ C*majorant R d n) | |
| 83 | - (hBtb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ D*majorant R d n) | |
| 84 | - (t : Icc (0 : ℝ) T) (n : ℕ) (a : Space) : | |
| 85 | - ‖iteratedFDeriv ℝ n (fun b : Space => translation b (s.physicalPath t)) a‖ ≤ | |
| 86 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := by | |
| 87 | - have hpath := s.continuousVelocity_translation_contDiff hB hBt | |
| 88 | - have hpathb := s.continuousVelocity_translation_gevrey hTpos hB hBt | |
| 89 | - R C D hR hC hD d hBb hBtb | |
| 90 | - have ht := pathTranslation_evaluation_gevrey T s.continuousVelocity hpath | |
| 91 | - R ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D) hR (by positivity) d hpathb t n a | |
| 92 | - have heq : (fun b : Space => translation b (s.physicalPath t)) = | |
| 93 | - fun b : Space => translation b (s.continuousVelocity t) := | |
| 94 | - funext (fun b => congrArg (translation b) (s.continuousVelocity_eq_physicalPath hTpos hF t).symm) | |
| 95 | - exact (congrArg (fun g : Space → L2 => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le ht | |
| 96 | - | |
| 97 | 46 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −16 Euler/MeanCoordinatePath.lean View file
| @@ -73,20 +73,4 @@ theorem coordinateVelocityPath_translation_contDiff (hTpos : 0 < T) {n : ℕ∞ | ||
| 73 | 73 | (reconstruction_contDiff T hT (fun a : Space => timeSolenoidalTranslation T a s.velocityLp) |
| 74 | 74 | (fun a : Space => timeSolenoidalTranslation T a s.acceleration) hv ha) |
| 75 | 75 | |
| 76 | -/-- Every spatial coordinate-velocity derivative has the same uniform-time trace cost. -/ | |
| 77 | -theorem coordinateVelocityPath_translation_gevrey (hTpos : 0 < T) | |
| 78 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 79 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 80 | - (R Cv Ca : ℝ) (hR : 0 ≤ R) (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 81 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 82 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ Ca*majorant R d n) | |
| 83 | - (n : ℕ) (a : Space) : | |
| 84 | - ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ | |
| 85 | - ((T⁻¹*Real.sqrt T)*Cv+(2*Real.sqrt T)*Ca)*majorant R d n := | |
| 86 | - (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ‖iteratedFDeriv ℝ n g a‖) | |
| 87 | - (s.coordinateVelocityPath_orbit_eq hTpos)).trans_le | |
| 88 | - (reconstruction_gevrey T hTpos (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) | |
| 89 | - (fun b : Space => timeSolenoidalTranslation T b s.acceleration) | |
| 90 | - hv ha R Cv Ca hR hCv hCa d hvb hab n a) | |
| 91 | - | |
| 92 | 76 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −32 Euler/MeanCutoffCurlBound.lean View file
| @@ -180,36 +180,4 @@ theorem cutoff_curl_bound (ψ : Space → ℝ) (φ : Space → Space) | ||
| 180 | 180 | unfold cutoffCurlConstant |
| 181 | 181 | nlinarith [mul_nonneg hc ha] |
| 182 | 182 | |
| 183 | -/-- The distributional cutoff-curl functional on an arbitrary genuine L² field. | |
| 184 | -No derivative or divergence condition on `z` is required. -/ | |
| 185 | -theorem integral_cutoff_curl_bound (ψ : Space → ℝ) (φ : Space → Space) | |
| 186 | - (hψ : ContDiff ℝ ∞ ψ) (hψc : HasCompactSupport ψ) | |
| 187 | - (hφ : ContDiff ℝ ∞ φ) (hφc : HasCompactSupport φ) | |
| 188 | - (z : Lp Space 2 (volume : Measure Space)) : | |
| 189 | - |∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)| ≤ | |
| 190 | - cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 191 | - ‖z‖ * lpNorm (fderiv ℝ φ) 2 volume := by | |
| 192 | - have hprod : ContDiff ℝ ∞ (fun y => ψ y • φ y) := hψ.smul hφ | |
| 193 | - have hpc : HasCompactSupport (fun y => ψ y • φ y) := hφc.smul_left (f := ψ) | |
| 194 | - have hm : MemLp (vectorCurl (fun y => ψ y • φ y)) 2 volume := | |
| 195 | - vectorCurl_memLp _ hprod hpc | |
| 196 | - let v : Lp Space 2 (volume : Measure Space) := hm.toLp _ | |
| 197 | - have hv : ‖v‖ = lpNorm (vectorCurl (fun y => ψ y • φ y)) 2 volume := by | |
| 198 | - rw [Lp.norm_toLp, toReal_eLpNorm hm.aestronglyMeasurable] | |
| 199 | - have he : (∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)) = inner ℝ z v := by | |
| 200 | - rw [L2.inner_def] | |
| 201 | - apply integral_congr_ae | |
| 202 | - filter_upwards [hm.coeFn_toLp] with x hx | |
| 203 | - rw [hx] | |
| 204 | - calc | |
| 205 | - |∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)| = |inner ℝ z v| := congrArg abs he | |
| 206 | - _ ≤ ‖z‖ * ‖v‖ := by | |
| 207 | - simpa only [Real.norm_eq_abs] using norm_inner_le_norm (𝕜 := ℝ) z v | |
| 208 | - _ ≤ ‖z‖ * (cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 209 | - lpNorm (fderiv ℝ φ) 2 volume) := by | |
| 210 | - rw [hv] | |
| 211 | - exact mul_le_mul_of_nonneg_left (cutoff_curl_bound ψ φ hψ hψc hφ hφc) (norm_nonneg z) | |
| 212 | - _ = cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 213 | - ‖z‖ * lpNorm (fderiv ℝ φ) 2 volume := by ring | |
| 214 | - | |
| 215 | 183 | end EulerMeanCutoffCurl |
+0 −66 Euler/MeanCutoffDifferenceBound.lean View file
| @@ -35,25 +35,6 @@ theorem lpNorm_le_bound_volume {E : Type*} [NormedAddCommGroup E] | ||
| 35 | 35 | simpa only [toReal_eLpNorm hf, ENNReal.toReal_mul, ENNReal.toReal_ofReal hC, |
| 36 | 36 | ENNReal.toReal_rpow] using H |
| 37 | 37 | |
| 38 | -/-- The classical mean value inequality bounds a directional difference quotient uniformly. -/ | |
| 39 | -theorem norm_differenceQuotient_le {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 40 | - (f : Space → E) (hf : Differentiable ℝ f) (M : ℝ) (hM : 0 ≤ M) | |
| 41 | - (hDf : ∀ x, ‖fderiv ℝ f x‖ ≤ M) (a : Space) (h : ℝ) (x : Space) : | |
| 42 | - ‖h⁻¹ • (f (x + h • a) - f x)‖ ≤ M * ‖a‖ := by | |
| 43 | - by_cases hh : h = 0 | |
| 44 | - · simp only [hh, inv_zero, zero_smul, norm_zero] | |
| 45 | - exact mul_nonneg hM (norm_nonneg a) | |
| 46 | - have H := Convex.norm_image_sub_le_of_norm_fderiv_le | |
| 47 | - (𝕜 := ℝ) (f := f) (s := Set.univ) (C := M) (x := x) (y := x+h•a) | |
| 48 | - (fun y _ => hf y) (fun y _ => hDf y) (convex_univ : Convex ℝ (Set.univ : Set Space)) | |
| 49 | - (Set.mem_univ x) (Set.mem_univ (x+h•a)) | |
| 50 | - simp only [add_sub_cancel_left, norm_smul, Real.norm_eq_abs] at H | |
| 51 | - rw [norm_smul, norm_inv, Real.norm_eq_abs] | |
| 52 | - calc | |
| 53 | - _ ≤ |h|⁻¹ * (M * (|h| * ‖a‖)) := mul_le_mul_of_nonneg_left H (inv_nonneg.mpr (abs_nonneg h)) | |
| 54 | - _ = M * ‖a‖ := by | |
| 55 | - field_simp [abs_ne_zero.mpr hh] | |
| 56 | - | |
| 57 | 38 | theorem differenceQuotient_fderiv (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 58 | 39 | fderiv ℝ (χ.differenceQuotient a h).field x = |
| 59 | 40 | h⁻¹ • (fderiv ℝ χ.field (x+h•a) - fderiv ℝ χ.field x) := by |
| @@ -96,51 +77,4 @@ def cutoffDifferenceConstant (R M₁ M₂ : ℝ) : ℝ := | ||
| 96 | 77 | 3 * cutoffCurlConstant * |
| 97 | 78 | (M₁ + M₂ * (volume (Metric.closedBall (0 : Space) (R+1))).toReal ^ (1/3 : ℝ)) |
| 98 | 79 | |
| 99 | -/-- A bound independent of the difference step; the only data are genuine derivative bounds. -/ | |
| 100 | -theorem cutoffBound_differenceQuotient (χ : Cutoff) (R M₁ M₂ : ℝ) | |
| 101 | - (hM₁ : 0 ≤ M₁) (hM₂ : 0 ≤ M₂) | |
| 102 | - (hsupport : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 103 | - (hD₁ : ∀ x, ‖fderiv ℝ χ.field x‖ ≤ M₁) | |
| 104 | - (hD₂ : ∀ x, ‖fderiv ℝ (fderiv ℝ χ.field) x‖ ≤ M₂) | |
| 105 | - (a : Space) (h : ℝ) (hstep : ‖h • a‖ ≤ 1) : | |
| 106 | - cutoffBound (χ.differenceQuotient a h) ≤ cutoffDifferenceConstant R M₁ M₂ * ‖a‖ := by | |
| 107 | - let K := Metric.closedBall (0 : Space) (R+1) | |
| 108 | - have hK : volume K ≠ (∞ : ℝ≥0∞) := (isCompact_closedBall (0 : Space) (R+1)).measure_ne_top | |
| 109 | - have hs : tsupport (χ.differenceQuotient a h).field ⊆ K := | |
| 110 | - differenceQuotient_support χ R hsupport a h hstep | |
| 111 | - have hz : ∀ x ∉ K, (χ.differenceQuotient a h).field x = 0 := | |
| 112 | - fun x hx => image_eq_zero_of_notMem_tsupport (fun ht => hx (hs ht)) | |
| 113 | - have hdz : ∀ x ∉ K, fderiv ℝ (χ.differenceQuotient a h).field x = 0 := | |
| 114 | - fun x hx => fderiv_of_notMem_tsupport ℝ (fun ht => hx (hs ht)) | |
| 115 | - have hb (x : Space) : ‖(χ.differenceQuotient a h).field x‖ ≤ M₁ * ‖a‖ := | |
| 116 | - norm_differenceQuotient_le χ.field (χ.smooth.differentiable (by simp)) M₁ hM₁ hD₁ a h x | |
| 117 | - have hdb (x : Space) : ‖fderiv ℝ (χ.differenceQuotient a h).field x‖ ≤ M₂ * ‖a‖ := by | |
| 118 | - rw [differenceQuotient_fderiv] | |
| 119 | - exact norm_differenceQuotient_le (fderiv ℝ χ.field) | |
| 120 | - ((χ.smooth.fderiv_right (m := ∞) (by simp)).differentiable (by simp)) M₂ hM₂ hD₂ a h x | |
| 121 | - have h₀ := lpNorm_le_bound_volume (χ.differenceQuotient a h).field | |
| 122 | - (χ.differenceQuotient a h).smooth.continuous.aestronglyMeasurable K hK | |
| 123 | - (M₁ * ‖a‖) (mul_nonneg hM₁ (norm_nonneg a)) hb hz (∞ : ℝ≥0∞) | |
| 124 | - simp only [ENNReal.toReal_top, div_zero, Real.rpow_zero, mul_one] at h₀ | |
| 125 | - have h₁ := lpNorm_le_bound_volume (fderiv ℝ (χ.differenceQuotient a h).field) | |
| 126 | - (((χ.differenceQuotient a h).smooth.fderiv_right (m := ∞) (by simp)).continuous.aestronglyMeasurable) | |
| 127 | - K hK (M₂ * ‖a‖) (mul_nonneg hM₂ (norm_nonneg a)) hdb hdz 3 | |
| 128 | - norm_num only [ENNReal.toReal_ofNat] at h₁ | |
| 129 | - unfold cutoffBound | |
| 130 | - rw [lpNorm_gradient_eq_fderiv _ (χ.differenceQuotient a h).smooth] | |
| 131 | - calc | |
| 132 | - _ ≤ 3 * cutoffCurlConstant * | |
| 133 | - (M₁ * ‖a‖ + (M₂ * ‖a‖) * (volume K).toReal ^ (1/3 : ℝ)) := | |
| 134 | - mul_le_mul_of_nonneg_left (add_le_add h₀ h₁) | |
| 135 | - (mul_nonneg (by norm_num) cutoffCurlConstant_pos.le) | |
| 136 | - _ = cutoffDifferenceConstant R M₁ M₂ * ‖a‖ := by | |
| 137 | - unfold cutoffDifferenceConstant K | |
| 138 | - ring | |
| 139 | - | |
| 140 | -theorem cutoffDifferenceConstant_nonneg (R M₁ M₂ : ℝ) (hM₁ : 0 ≤ M₁) (hM₂ : 0 ≤ M₂) : | |
| 141 | - 0 ≤ cutoffDifferenceConstant R M₁ M₂ := by | |
| 142 | - unfold cutoffDifferenceConstant | |
| 143 | - exact mul_nonneg (mul_nonneg (by norm_num) cutoffCurlConstant_pos.le) | |
| 144 | - (add_nonneg hM₁ (mul_nonneg hM₂ (Real.rpow_nonneg ENNReal.toReal_nonneg _))) | |
| 145 | - | |
| 146 | 80 | end EulerMeanBoundary |
+0 −16 Euler/MeanCylinderSolenoidal.lean View file
| @@ -48,20 +48,4 @@ theorem embedding_representative (u : L2) (f : Space → Space) | ||
| 48 | 48 | (ν := (volume : Measure (AddCircle P)))).ae hrep] with z hl hr |
| 49 | 49 | exact hl.trans hr |
| 50 | 50 | |
| 51 | -/-- The conclusion is membership in the actual closed lifted-gradient orthogonal complement. -/ | |
| 52 | -theorem embedding_mem (κ : ℝ) (m : Space) (u : L2) (hu : u ∈ solenoidalSpace) | |
| 53 | - (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) : | |
| 54 | - embedding P u ∈ divergenceFreeSpace P κ m := by | |
| 55 | - apply mem_of_classical P κ m (embedding P u) (fun z : LiftDomain P => f z.1) | |
| 56 | - (embedding_representative P u f hrep) | |
| 57 | - · intro z | |
| 58 | - exact hf.comp (contDiff_const.add contDiff_fst) | |
| 59 | - · exact lift_classical_divergence P κ m f hf | |
| 60 | - (EulerMeanClassical.solenoidal_representative_divergence u hu f hf hrep) | |
| 61 | - | |
| 62 | -theorem embedding_mem_of_smooth_orbit (κ : ℝ) (m : Space) (u : L2) | |
| 63 | - (hu : u ∈ solenoidalSpace) (hs : SmoothOrbit u) : | |
| 64 | - embedding P u ∈ divergenceFreeSpace P κ m := | |
| 65 | - embedding_mem P κ m u hu (representative u hs) (representative_smooth u hs) (representative_ae u hs) | |
| 66 | - | |
| 67 | 51 | end EulerMeanCylinderSolenoidal |
+0 −71 Euler/MeanDisplacementRegularity.lean View file
| @@ -27,74 +27,9 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 27 | 27 | def labelDerivative : meanDerivatives T hT FInv →L[ℝ] TimeLp T L2 := |
| 28 | 28 | (productDerivative T hT FInv FInv').comp (meanDerivatives T hT FInv).subtypeL |
| 29 | 29 | |
| 30 | -/-- The real representative of the label displacement. -/ | |
| 31 | -def labelPath (u : meanDerivatives T hT FInv) : ℝ → L2 := | |
| 32 | - productPrimitive T hT FInv (u : TimeLp T L2) | |
| 33 | - | |
| 34 | -/-- The label path takes values in the actual ordinary solenoidal space. -/ | |
| 35 | -theorem labelPath_solenoidal (u : meanDerivatives T hT FInv) (t : ℝ) | |
| 36 | - (ht : t ∈ Icc (0 : ℝ) T) : labelPath T hT FInv u t ∈ solenoidalSpace := by | |
| 37 | - change FInv (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t) ∈ solenoidalSpace | |
| 38 | - simpa only [projIcc_of_mem hT ht, terminalPrimitive_apply] using u.property ⟨t, ht⟩ | |
| 39 | - | |
| 40 | 30 | variable (hFInv : ∀ t : Icc (0 : ℝ) T, |
| 41 | 31 | HasDerivWithinAt (extendPath T hT FInv) (FInv' t) (Icc (0 : ℝ) T) t) |
| 42 | 32 | |
| 43 | -include hFInv in | |
| 44 | -/-- The actual label displacement is absolutely continuous. -/ | |
| 45 | -theorem labelPath_absolutelyContinuous (u : meanDerivatives T hT FInv) : | |
| 46 | - AbsolutelyContinuousOnInterval (labelPath T hT FInv u) 0 T := | |
| 47 | - productPrimitive_absolutelyContinuous T hT FInv FInv' hFInv (u : TimeLp T L2) | |
| 48 | - | |
| 49 | -include hFInv in | |
| 50 | -/-- Its L² derivative is obtained from the literal product rule. -/ | |
| 51 | -theorem labelPath_hasDerivAt_ae (u : meanDerivatives T hT FInv) : | |
| 52 | - ∀ᵐ t ∂timeMeasure T, | |
| 53 | - HasDerivAt (labelPath T hT FInv u) (labelDerivative T hT FInv FInv' u t) t := | |
| 54 | - productPrimitive_hasDerivAt_ae T hT FInv FInv' hFInv (u : TimeLp T L2) | |
| 55 | - | |
| 56 | -include hFInv in | |
| 57 | -/-- Integration recovers the actual H¹ label path from that derivative. -/ | |
| 58 | -theorem labelPath_eq_realPrimitive (u : meanDerivatives T hT FInv) (t : ℝ) | |
| 59 | - (ht : t ∈ Icc (0 : ℝ) T) : | |
| 60 | - labelPath T hT FInv u t = realPrimitive T (labelDerivative T hT FInv FInv' u) t := | |
| 61 | - productPrimitive_eq_realPrimitive T hT FInv FInv' hFInv (u : TimeLp T L2) t ht | |
| 62 | - | |
| 63 | -include hFInv in | |
| 64 | -/-- Differentiating a path in the closed solenoidal subspace preserves its | |
| 65 | -constraint almost everywhere; this is an actual L² membership statement. -/ | |
| 66 | -theorem labelDerivative_solenoidal_ae (u : meanDerivatives T hT FInv) : | |
| 67 | - ∀ᵐ t ∂timeMeasure T, labelDerivative T hT FInv FInv' u t ∈ solenoidalSpace := by | |
| 68 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 69 | - change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 70 | - rw [← restrict_Ioo_eq_restrict_Icc] | |
| 71 | - exact ae_restrict_mem measurableSet_Ioo | |
| 72 | - filter_upwards [hmem, labelPath_hasDerivAt_ae T hT FInv FInv' hFInv u] with t ht hd | |
| 73 | - have hp := solenoidalProjection.hasFDerivAt.comp_hasDerivAt t hd | |
| 74 | - have heq : labelPath T hT FInv u =ᶠ[𝓝 t] | |
| 75 | - fun s => solenoidalProjection (labelPath T hT FInv u s) := by | |
| 76 | - filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs | |
| 77 | - exact (solenoidalSpace.starProjection_eq_self_iff.mpr | |
| 78 | - (labelPath_solenoidal T hT FInv u s hs)).symm | |
| 79 | - exact solenoidalSpace.starProjection_eq_self_iff.mp | |
| 80 | - ((hp.congr_of_eventuallyEq heq).unique hd) | |
| 81 | - | |
| 82 | -/-- The norm comparison required by the source H¹ model follows from the | |
| 83 | -actual coefficient bounds and the sharp terminal Poincaré bound. -/ | |
| 84 | -theorem labelDerivative_norm_le (u : meanDerivatives T hT FInv) : | |
| 85 | - ‖labelDerivative T hT FInv FInv' u‖ ≤ | |
| 86 | - (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖ := | |
| 87 | - productDerivative_norm_le T hT FInv FInv' (u : TimeLp T L2) | |
| 88 | - | |
| 89 | -/-- Squaring the genuine derivative comparison gives the source energy control. -/ | |
| 90 | -theorem labelDerivative_norm_sq_le (u : meanDerivatives T hT FInv) : | |
| 91 | - ‖labelDerivative T hT FInv FInv' u‖^2 ≤ | |
| 92 | - (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖)^2 * ‖u‖^2 := by | |
| 93 | - calc | |
| 94 | - _ ≤ ((‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖)^2 := | |
| 95 | - pow_le_pow_left₀ (norm_nonneg _) (labelDerivative_norm_le T hT FInv FInv' u) 2 | |
| 96 | - _ = _ := mul_pow _ _ _ | |
| 97 | - | |
| 98 | 33 | variable (F F' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 99 | 34 | |
| 100 | 35 | /-- Restrict the physical deformation to actual solenoidal label fields. -/ |
| @@ -156,10 +91,4 @@ theorem meanTestMap_trace (v : TimeLp T solenoidalSpace) : | ||
| 156 | 91 | initialTrace_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 157 | 92 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 158 | 93 | |
| 159 | -/-- Therefore zero-endpoint label tests remove both actual initial boundary terms. -/ | |
| 160 | -theorem meanTestMap_trace_zero (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : | |
| 161 | - meanTrace T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = 0 := by | |
| 162 | - rw [meanTestMap_trace T hT FInv F F' hF hInv v, hv] | |
| 163 | - exact map_zero _ | |
| 164 | - | |
| 165 | 94 | end EulerMeanVariationalInverse |
+0 −21 Euler/MeanFixedCoefficientGevrey.lean View file
| @@ -118,25 +118,4 @@ theorem fixedMeanOperator_bound | ||
| 118 | 118 | (mul_le_mul_of_nonneg_left (baseAmplitude_time_bound T hT CH (CM+|L| *CA) hCH hC0) (by positivity)) |
| 119 | 119 | (majorant_nonneg r hr 0 n)) |
| 120 | 120 | |
| 121 | -/-- The actual force pullback preserves the forcing shift and has explicit polynomial amplitude. -/ | |
| 122 | -theorem fixedMeanForcing_bound (f : P → TimeLp T L2) | |
| 123 | - (hF : ContDiff ℝ ∞ F) (hF₁ : ContDiff ℝ ∞ F₁) (hf : ContDiff ℝ ∞ f) | |
| 124 | - (r CF CF₁ Cf : ℝ) (hr : 0 ≤ r) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (d : ℕ) | |
| 125 | - (hFb : ∀ n x, ‖iteratedFDeriv ℝ n F x‖ ≤ CF*majorant r 0 n) | |
| 126 | - (hF₁b : ∀ n x, ‖iteratedFDeriv ℝ n F₁ x‖ ≤ CF₁*majorant r 0 n) | |
| 127 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ Cf*majorant r d n) | |
| 128 | - (n : ℕ) (x : P) : | |
| 129 | - ‖iteratedFDeriv ℝ n (fun p => -(fixedMeanPrimitive T hT (F p) (F₁ p)).adjoint (f p)) x‖ ≤ | |
| 130 | - (3*(T*(T*CF₁+CF))*Cf)*majorant r d n := by | |
| 131 | - have hD0 : 0 ≤ T*CF₁+CF := add_nonneg (mul_nonneg hT hCF₁) hCF | |
| 132 | - have hb := pullbackMeanForcing_bound (primitiveTimeLp (E := L2) T hT) | |
| 133 | - (fun p => fixedMeanDerivative T hT (F p) (F₁ p)) f | |
| 134 | - (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) hf r (T*CF₁+CF) Cf hr hD0 hCf d | |
| 135 | - (fixedMeanDerivative_bound T hT F F₁ hF hF₁ r CF CF₁ hr hCF hCF₁ 0 hFb hF₁b) hfb n x | |
| 136 | - exact hb.trans (mul_le_mul_of_nonneg_right | |
| 137 | - (mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left | |
| 139 | - (mul_le_mul_of_nonneg_right (primitive_norm_le_time (E := L2) T hT) hD0) (by norm_num)) hCf) | |
| 140 | - (majorant_nonneg r hr d n)) | |
| 141 | - | |
| 142 | 121 | end EulerMeanFixedCoefficientGevrey |
+0 −5 Euler/MeanFixedCoefficientRegularity.lean View file
| @@ -75,11 +75,6 @@ theorem contDiff_fixedMeanPrimitive (hF : ContDiff ℝ n F) (hF₁ : ContDiff | ||
| 75 | 75 | ContDiff ℝ n (fun p => fixedMeanPrimitive T hT (F p) (F₁ p)) := |
| 76 | 76 | contDiff_const.clm_comp (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) |
| 77 | 77 | |
| 78 | -/-- The actual initial-trace map inherits parameter regularity. -/ | |
| 79 | -theorem contDiff_fixedMeanTrace (hF : ContDiff ℝ n F) (hF₁ : ContDiff ℝ n F₁) : | |
| 80 | - ContDiff ℝ n (fun p => fixedMeanTrace T hT (F p) (F₁ p)) := | |
| 81 | - contDiff_const.clm_comp (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) | |
| 82 | - | |
| 83 | 78 | /-- The full mean form, including the nonlocal boundary term, is a genuinely |
| 84 | 79 | regular family whenever its actual coefficient paths are. -/ |
| 85 | 80 | theorem contDiff_fixedMeanOperator |
+0 −14 Euler/MeanFixedFrameTransport.lean View file
| @@ -55,20 +55,6 @@ theorem meanForward_backward | ||
| 55 | 55 | (solenoidalFrame_lower T FInv F hInv) (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) |
| 56 | 56 | (u : TimeLp T L2) (meanPrimitive_in_frame_range T hT FInv F hRight u) |
| 57 | 57 | |
| 58 | -/-- A genuine continuous linear equivalence to a coefficient-independent mean space. -/ | |
| 59 | -def meanTransportEquiv | |
| 60 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 61 | - TimeLp T solenoidalSpace ≃L[ℝ] meanDerivatives T hT FInv where | |
| 62 | - toLinearEquiv := | |
| 63 | - { toFun := meanTestMap T hT FInv F F₁ hF hInv | |
| 64 | - invFun := meanBackward T hT FInv F F₁ hInv | |
| 65 | - left_inv := meanBackward_forward T hT FInv F F₁ hInv hF | |
| 66 | - right_inv := meanForward_backward T hT FInv F F₁ hInv hF hRight | |
| 67 | - map_add' := map_add _ | |
| 68 | - map_smul' := map_smul _ } | |
| 69 | - continuous_toFun := (meanTestMap T hT FInv F F₁ hF hInv).continuous | |
| 70 | - continuous_invFun := (meanBackward T hT FInv F F₁ hInv).continuous | |
| 71 | - | |
| 72 | 58 | /-- Explicit polynomial transport cost for the mean fixed-space formulation. -/ |
| 73 | 59 | def meanTransportCost : ℝ := |
| 74 | 60 | transportCost T (solenoidalFrame T F) (solenoidalFrame T F₁) (meanFrameCoercivity T FInv) |
+0 −22 Euler/MeanFixedSpaceInverse.lean View file
| @@ -141,28 +141,6 @@ def fixedMeanSolver : TimeLp T L2 →L[ℝ] TimeLp T solenoidalSpace := | ||
| 141 | 141 | (fixedMeanInverse T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall).comp |
| 142 | 142 | (-(fixedMeanPrimitive T hT F F₁).adjoint) |
| 143 | 143 | |
| 144 | -/-- The fixed inverse has its actual quantitative coercive norm bound. -/ | |
| 145 | -theorem fixedMeanInverse_norm : | |
| 146 | - ‖fixedMeanInverse T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall‖ ≤ | |
| 147 | - (fixedMeanCoercivity T F F₁ FInv)⁻¹ := | |
| 148 | - coerciveInverse_norm_le (fixedMeanOperator T hT F F₁ H M0 A L) (fixedMeanCoercivity T F F₁ FInv) | |
| 149 | - (fixedMeanCoercivity_pos T hT F F₁ FInv) | |
| 150 | - (fixedMeanOperator_coercive T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall) | |
| 151 | - | |
| 152 | -/-- The constructed fixed-space solution satisfies the full original form. -/ | |
| 153 | -theorem fixedMeanSolver_weak (f : TimeLp T L2) (v : TimeLp T solenoidalSpace) : | |
| 154 | - let u := fixedMeanSolver T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall f | |
| 155 | - ⟪fixedMeanDerivative T hT F F₁ u, fixedMeanDerivative T hT F F₁ v⟫_ℝ- | |
| 156 | - ⟪timeMultiplier T hT H (fixedMeanPrimitive T hT F F₁ u), fixedMeanPrimitive T hT F F₁ v⟫_ℝ+ | |
| 157 | - ⟪(M0+L • A) (fixedMeanTrace T hT F F₁ u), fixedMeanTrace T hT F F₁ v⟫_ℝ = | |
| 158 | - -⟪f, fixedMeanPrimitive T hT F F₁ v⟫_ℝ := by | |
| 159 | - exact (fixedMeanOperator_inner T hT F F₁ H M0 A L | |
| 160 | - (fixedMeanSolver T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall f) v).symm.trans | |
| 161 | - (coercive_forcing_inner (fixedMeanOperator T hT F F₁ H M0 A L) | |
| 162 | - (fixedMeanPrimitive T hT F F₁) (fixedMeanCoercivity T F F₁ FInv) | |
| 163 | - (fixedMeanCoercivity_pos T hT F F₁ FInv) | |
| 164 | - (fixedMeanOperator_coercive T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall) f v) | |
| 165 | - | |
| 166 | 144 | /-- Uniqueness is on the same fixed Hilbert space. -/ |
| 167 | 145 | theorem fixedMeanSolver_unique (f : TimeLp T L2) (u : TimeLp T solenoidalSpace) |
| 168 | 146 | (hu : ∀ v : TimeLp T solenoidalSpace, |
+0 −16 Euler/MeanForcingTranslation.lean View file
| @@ -59,20 +59,4 @@ theorem forcing_translation_contDiff (T : ℝ) (A : ℝ → SmoothL2Field V) | ||
| 59 | 59 | rw [he] |
| 60 | 60 | exact (forcingFamily T A hA).contDiff_value |
| 61 | 61 | |
| 62 | -/-- The true time-space derivative norm is bounded by the original ordinary spatial jet norm, without extra factors. -/ | |
| 63 | -theorem forcing_translation_jet_bound (T : ℝ) (A : ℝ → SmoothL2Field V) | |
| 64 | - (hA : ∀ n, MemLp (fun t => (A t).jetLp n) 2 (timeMeasure T)) | |
| 65 | - (f : TimeLp T (L2Space V)) (hf : f =ᵐ[timeMeasure T] fun t => (A t).toLp) | |
| 66 | - (n : ℕ) (a : Space) : | |
| 67 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeLiftIsometry T (translation b) f) a‖ ≤ | |
| 68 | - ‖(hA n).toLp (fun t => (A t).jetLp n)‖ := by | |
| 69 | - have he : (fun b : Space => timeLiftIsometry T (translation b) f) = (forcingFamily T A hA).value := | |
| 70 | - funext (fun b => (forcingFamily_value_eq T A hA f hf b).symm) | |
| 71 | - have h := (forcingFamily T A hA).norm_iteratedFDeriv_value_le n a | |
| 72 | - have hn : ‖(forcingFamily T A hA).bound n‖ = ‖(hA n).toLp (fun t => (A t).jetLp n)‖ := by | |
| 73 | - change ‖(hA n).norm.toLp (fun t => ‖(A t).jetLp n‖)‖ = _ | |
| 74 | - simp only [Lp.norm_toLp, eLpNorm_norm] | |
| 75 | - exact (congrArg (fun g : Space → TimeLp T (L2Space V) => | |
| 76 | - ‖iteratedFDeriv ℝ n g a‖) he).trans_le (h.trans_eq hn) | |
| 77 | - | |
| 78 | 62 | end EulerMeanForcing |
+0 −30 Euler/MeanFormGevrey.lean View file
| @@ -78,13 +78,6 @@ theorem meanOperator_bound (hH : ContDiff ℝ ∞ H) (hC : ContDiff ℝ ∞ C) | ||
| 78 | 78 | |
| 79 | 79 | variable (D : P → V →L[ℝ] W) |
| 80 | 80 | |
| 81 | -/-- Pullback by the genuine coordinate derivative preserves coefficient regularity. -/ | |
| 82 | -theorem pullbackMeanOperator_contDiff {n : ℕ∞ω} | |
| 83 | - (hD : ContDiff ℝ n D) (hH : ContDiff ℝ n H) (hC : ContDiff ℝ n C) : | |
| 84 | - ContDiff ℝ n (fun p => transportedOperator (D p) (meanOperator J R (H p) (C p))) := | |
| 85 | - ((realAdjoint (U := V) (E := W)).contDiff.comp hD).clm_comp | |
| 86 | - ((meanOperator_contDiff J R H C hH hC).clm_comp hD) | |
| 87 | - | |
| 88 | 81 | /-- The full actual fixed-space mean operator obeys a polynomial factorial bound. -/ |
| 89 | 82 | theorem pullbackMeanOperator_bound |
| 90 | 83 | (hD : ContDiff ℝ ∞ D) (hH : ContDiff ℝ ∞ H) (hC : ContDiff ℝ ∞ C) |
| @@ -115,27 +108,4 @@ theorem pullbackMeanOperator_bound | ||
| 115 | 108 | simpa only [transportedOperator, Nat.zero_add] using h |
| 116 | 109 | _ = _ := by ring |
| 117 | 110 | |
| 118 | -/-- The genuine forcing pullback has the matching factorial shift. -/ | |
| 119 | -theorem pullbackMeanForcing_bound (f : P → W) (hD : ContDiff ℝ ∞ D) (hf : ContDiff ℝ ∞ f) | |
| 120 | - (r CD CF : ℝ) (hr : 0 ≤ r) (hCD : 0 ≤ CD) (hCF : 0 ≤ CF) (d : ℕ) | |
| 121 | - (hDb : ∀ n x, ‖iteratedFDeriv ℝ n D x‖ ≤ CD * majorant r 0 n) | |
| 122 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ CF * majorant r d n) | |
| 123 | - (n : ℕ) (x : P) : | |
| 124 | - ‖iteratedFDeriv ℝ n (fun p => -((J.comp (D p)).adjoint (f p))) x‖ ≤ | |
| 125 | - (3*(‖J‖*CD)*CF) * majorant r d n := by | |
| 126 | - have hK : ContDiff ℝ ∞ (fun p => J.comp (D p)) := | |
| 127 | - (show ContDiff ℝ ∞ (fun _ : P => J) from contDiff_const).clm_comp hD | |
| 128 | - have hKb := clm_comp_const_left_bound J D hD r CD hr hCD 0 hDb | |
| 129 | - have hKa := (realAdjoint (U := V) (E := W)).contDiff.comp hK | |
| 130 | - have hKab := adjoint_bound (fun p => J.comp (D p)) hK r (‖J‖*CD) hr | |
| 131 | - (mul_nonneg (norm_nonneg _) hCD) 0 hKb | |
| 132 | - have happ : ∀ k y, | |
| 133 | - ‖iteratedFDeriv ℝ k (fun p => (J.comp (D p)).adjoint (f p)) y‖ ≤ | |
| 134 | - (3*(‖J‖*CD)*CF) * majorant r d k := by | |
| 135 | - intro k y | |
| 136 | - simpa only [Nat.zero_add] using clm_apply_bound | |
| 137 | - (fun p => (J.comp (D p)).adjoint) f hKa hf r (‖J‖*CD) CF hr | |
| 138 | - (mul_nonneg (norm_nonneg _) hCD) hCF 0 d hKab hfb k y | |
| 139 | - exact neg_bound (fun p => (J.comp (D p)).adjoint (f p)) r (3*(‖J‖*CD)*CF) d happ n x | |
| 140 | - | |
| 141 | 111 | end EulerMeanFormGevrey |
+0 −22 Euler/MeanHarmonicDecomposition.lean View file
| @@ -69,20 +69,6 @@ theorem cutoff_curlTest_eq (χ : Cutoff) (U : Set Space) | ||
| 69 | 69 | change χ.field x • vectorCurl (f : Space → Space) x = _ |
| 70 | 70 | rw [image_eq_zero_of_notMem_tsupport hs, smul_zero] |
| 71 | 71 | |
| 72 | -/-- The actual curl tensor of any homogeneous potential remains solenoidal. -/ | |
| 73 | -theorem homogeneous_curl_solenoidal (u : homogeneousSpace) : | |
| 74 | - curlTensor (u : GradientTensor) ∈ solenoidalSpace := by | |
| 75 | - refine homogeneousGradient_dense.induction_on u ?_ ?_ | |
| 76 | - · exact gradientSpace.isClosed_orthogonal.preimage | |
| 77 | - (curlTensor.continuous.comp continuous_subtype_val) | |
| 78 | - · intro f | |
| 79 | - change curlTensor (EulerMeanGradientTest.testGradient f) ∈ solenoidalSpace | |
| 80 | - rw [curlTensor_test_eq] | |
| 81 | - exact curl_mem_solenoidal _ ((contDiff_piLp 2).mp f.smooth) (test_memLp (curlTest f)) | |
| 82 | - | |
| 83 | -theorem harmonicPart_solenoidal (χ : Cutoff) (z : L2) : | |
| 84 | - harmonicPart χ z ∈ solenoidalSpace := homogeneous_curl_solenoidal (weakPotential χ z) | |
| 85 | - | |
| 86 | 72 | /-- The source's `z - w` is genuinely weakly harmonic where the actual cutoff equals one. -/ |
| 87 | 73 | theorem weakHarmonicOn_sub_harmonicPart (χ : Cutoff) (U : Set Space) (z : L2) |
| 88 | 74 | (hz : z ∈ solenoidalSpace) (hχ : ∀ x ∈ U, χ.field x = 1) : |
| @@ -102,12 +88,4 @@ theorem weakHarmonicOn_sub_harmonicPart (χ : Cutoff) (U : Set Space) (z : L2) | ||
| 102 | 88 | linarith |
| 103 | 89 | exact (l2_test_pairing (z - harmonicPart χ z) (laplacianTest f)).symm.trans hi |
| 104 | 90 | |
| 105 | -/-- A quantitative decomposition constructed from the cutoff and the given solenoidal field. -/ | |
| 106 | -theorem exists_weak_harmonic_decomposition (χ : Cutoff) (U : Set Space) (z : L2) | |
| 107 | - (hz : z ∈ solenoidalSpace) (hχ : ∀ x ∈ U, χ.field x = 1) : | |
| 108 | - ∃ w : L2, w = harmonicPart χ z ∧ w ∈ solenoidalSpace ∧ | |
| 109 | - ‖w‖ ≤ 6 * ‖weakPotential χ z‖ ∧ WeakHarmonicOn U (z - w) := | |
| 110 | - ⟨harmonicPart χ z, rfl, harmonicPart_solenoidal χ z, harmonicPart_norm_le χ z, | |
| 111 | - weakHarmonicOn_sub_harmonicPart χ U z hz hχ⟩ | |
| 112 | - | |
| 113 | 91 | end EulerMeanHarmonic |
+0 −8 Euler/MeanHarmonicDerivatives.lean View file
| @@ -58,12 +58,4 @@ theorem wordDerivative_smooth (word : List (Fin 3)) (f : Space → ℝ) | ||
| 58 | 58 | | nil => exact hf |
| 59 | 59 | | cons i word ih => exact contDiff_partialDerivative _ ih i |
| 60 | 60 | |
| 61 | -theorem wordDerivative_harmonic_on (word : List (Fin 3)) (f : Space → ℝ) | |
| 62 | - (hf : ContDiff ℝ ∞ f) (U : Set Space) (hU : IsOpen U) | |
| 63 | - (hh : ∀ x ∈ U, Δ f x = 0) : ∀ x ∈ U, Δ (wordDerivative word f) x = 0 := by | |
| 64 | - induction word with | |
| 65 | - | nil => exact hh | |
| 66 | - | cons i word ih => | |
| 67 | - exact partialDerivative_harmonic_on _ (wordDerivative_smooth word f hf) U hU ih i | |
| 68 | - | |
| 69 | 61 | end EulerMeanHarmonic |
+0 −4 Euler/MeanHarmonicInterior.lean View file
| @@ -41,10 +41,6 @@ def harmonicInteriorConstant : ℝ := | ||
| 41 | 41 | embeddingConstant 3 2 (by norm_num) * |
| 42 | 42 | (1 + (2 * Real.pi) ^ (-2 : ℤ) * (3 * Real.sqrt interiorSecondEnergyConstant)) |
| 43 | 43 | |
| 44 | -theorem harmonicInteriorConstant_nonneg : 0 ≤ harmonicInteriorConstant := by | |
| 45 | - unfold harmonicInteriorConstant embeddingConstant | |
| 46 | - positivity | |
| 47 | - | |
| 48 | 44 | /-- A genuine L²-to-pointwise interior estimate on the unit ball in R³. -/ |
| 49 | 45 | theorem harmonic_pointwise_halfBall (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 50 | 46 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
+0 −8 Euler/MeanHarmonicInteriorEnergy.lean View file
| @@ -14,14 +14,6 @@ def middleDerivativeBound : ℝ := derivativeBound middleCutoff middle_compact m | ||
| 14 | 14 | def innerDerivativeBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 1 |
| 15 | 15 | def innerSecondBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 2 |
| 16 | 16 | |
| 17 | -theorem outer_bound_nonneg : 0 ≤ outerDerivativeBound := | |
| 18 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 19 | -theorem middle_bound_nonneg : 0 ≤ middleDerivativeBound := | |
| 20 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 21 | -theorem inner_bound_nonneg : 0 ≤ innerDerivativeBound := | |
| 22 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 23 | -theorem inner_second_nonneg : 0 ≤ innerSecondBound := | |
| 24 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 25 | 17 | |
| 26 | 18 | theorem outer_gradient_energy_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 27 | 19 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) : |
+0 −36 Euler/MeanHarmonicSmallBall.lean View file
| @@ -10,45 +10,9 @@ namespace EulerMeanHarmonic | ||
| 10 | 10 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit |
| 11 | 11 | open scoped ContDiff |
| 12 | 12 | |
| 13 | -def harmonicSmallBallConstant : ℝ := | |
| 14 | - (Real.pi * 4 / 3) * harmonicInteriorConstant ^ 2 | |
| 15 | - | |
| 16 | -theorem harmonicSmallBallConstant_nonneg : 0 ≤ harmonicSmallBallConstant := by | |
| 17 | - unfold harmonicSmallBallConstant | |
| 18 | - positivity | |
| 19 | - | |
| 20 | 13 | theorem volume_ball_toReal (r : ℝ) (hr : 0 ≤ r) : |
| 21 | 14 | (volume (Metric.ball (0 : Space) r)).toReal = r ^ 3 * (Real.pi * 4 / 3) := by |
| 22 | 15 | rw [EuclideanSpace.volume_ball_fin_three, ENNReal.toReal_mul, ENNReal.toReal_pow, |
| 23 | 16 | ENNReal.toReal_ofReal hr, ENNReal.toReal_ofReal (by positivity)] |
| 24 | 17 | |
| 25 | -/-- The mass on a ball of radius r is bounded by r³ times the global L² mass. -/ | |
| 26 | -theorem harmonic_smallBall_energy (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) | |
| 27 | - (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) | |
| 28 | - (r : ℝ) (hr : 0 ≤ r) (hrhalf : r ≤ 1/2) : | |
| 29 | - (∫ x in Metric.ball (0 : Space) r, h x ^ 2) ≤ | |
| 30 | - harmonicSmallBallConstant * r ^ 3 * lpNorm h 2 volume ^ 2 := by | |
| 31 | - have hi : Integrable (fun x => h x ^ 2) volume := | |
| 32 | - (memLp_two_iff_integrable_sq hLp.aestronglyMeasurable).1 hLp | |
| 33 | - have hbound : ∀ x ∈ Metric.ball (0 : Space) r, | |
| 34 | - h x ^ 2 ≤ (harmonicInteriorConstant * lpNorm h 2 volume) ^ 2 := by | |
| 35 | - intro x hx | |
| 36 | - have hx' : x ∈ Metric.closedBall (0 : Space) (1/2 : ℝ) := | |
| 37 | - (Metric.ball_subset_closedBall.trans (Metric.closedBall_subset_closedBall hrhalf)) hx | |
| 38 | - have H := harmonic_pointwise_halfBall h hh hLp hharmonic x hx' | |
| 39 | - calc | |
| 40 | - h x ^ 2 = |h x| ^ 2 := (sq_abs _).symm | |
| 41 | - _ ≤ _ := pow_le_pow_left₀ (abs_nonneg _) H 2 | |
| 42 | - calc | |
| 43 | - _ ≤ ∫ _x in Metric.ball (0 : Space) r, | |
| 44 | - (harmonicInteriorConstant * lpNorm h 2 volume) ^ 2 := by | |
| 45 | - apply setIntegral_mono_on hi.integrableOn (integrableOn_const (measure_ball_lt_top.ne)) | |
| 46 | - Metric.isOpen_ball.measurableSet hbound | |
| 47 | - _ = _ := by | |
| 48 | - rw [setIntegral_const, smul_eq_mul] | |
| 49 | - change (volume (Metric.ball (0 : Space) r)).toReal * _ = _ | |
| 50 | - rw [volume_ball_toReal r hr] | |
| 51 | - unfold harmonicSmallBallConstant | |
| 52 | - ring | |
| 53 | - | |
| 54 | 18 | end EulerMeanHarmonic |
+0 −11 Euler/MeanInteriorCutoffs.lean View file
| @@ -17,9 +17,6 @@ def derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) | ||
| 17 | 17 | (hs : ContDiff ℝ ∞ f) (n : ℕ) : ℝ := |
| 18 | 18 | max 1 (Classical.choose (derivative_bound_exists f hc hs n)) |
| 19 | 19 | |
| 20 | -theorem one_le_derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) | |
| 21 | - (hs : ContDiff ℝ ∞ f) (n : ℕ) : 1 ≤ derivativeBound f hc hs n := le_max_left _ _ | |
| 22 | - | |
| 23 | 20 | theorem norm_iteratedFDeriv_le_derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) |
| 24 | 21 | (hs : ContDiff ℝ ∞ f) (n : ℕ) (x : Space) : |
| 25 | 22 | ‖iteratedFDeriv ℝ n f x‖ ≤ derivativeBound f hc hs n := |
| @@ -67,14 +64,6 @@ theorem abs_inner_le_one (x : Space) : |innerCutoff x| ≤ 1 := by | ||
| 67 | 64 | change |innerBump x| ≤ 1 |
| 68 | 65 | rw [abs_of_nonneg innerBump.nonneg] |
| 69 | 66 | exact innerBump.le_one |
| 70 | -theorem abs_middle_le_one (x : Space) : |middleCutoff x| ≤ 1 := by | |
| 71 | - change |middleBump x| ≤ 1 | |
| 72 | - rw [abs_of_nonneg middleBump.nonneg] | |
| 73 | - exact middleBump.le_one | |
| 74 | -theorem abs_outer_le_one (x : Space) : |outerCutoff x| ≤ 1 := by | |
| 75 | - change |outerBump x| ≤ 1 | |
| 76 | - rw [abs_of_nonneg outerBump.nonneg] | |
| 77 | - exact outerBump.le_one | |
| 78 | 67 | |
| 79 | 68 | theorem inner_one_on_halfBall {x : Space} (hx : x ∈ Metric.closedBall 0 (1/2 : ℝ)) : |
| 80 | 69 | innerCutoff x = 1 := innerBump.one_of_mem_closedBall hx |
+0 −3 Euler/MeanLocalL2Energy.lean View file
| @@ -19,9 +19,6 @@ theorem integrable_norm_sq_L2 (u : L2) : Integrable (fun x => ‖u x‖ ^ 2) vol | ||
| 19 | 19 | theorem integral_norm_sq_L2 (u : L2) : (∫ x, ‖u x‖ ^ 2) = ‖u‖ ^ 2 := by |
| 20 | 20 | rw [← lpNorm_sq_eq_integral_norm_sq _ (Lp.memLp u), lpNorm_coe_L2] |
| 21 | 21 | |
| 22 | -theorem localL2Energy_nonneg (s : Set Space) (u : L2) : 0 ≤ localL2Energy s u := | |
| 23 | - integral_nonneg (fun _ => sq_nonneg _) | |
| 24 | - | |
| 25 | 22 | theorem localL2Energy_le (s : Set Space) (u : L2) : localL2Energy s u ≤ ‖u‖ ^ 2 := by |
| 26 | 23 | rw [← integral_norm_sq_L2] |
| 27 | 24 | exact setIntegral_le_integral (integrable_norm_sq_L2 u) |
+0 −25 Euler/MeanMomentumBoundary.lean View file
| @@ -109,29 +109,4 @@ theorem meanMomentum_with_initial | ||
| 109 | 109 | (meanBoundaryFlux T hT FInv F M0 A L u) |
| 110 | 110 | (meanMomentum_full_weak T hT FInv F F' hF hInv H M0 A L u f hu) |
| 111 | 111 | |
| 112 | -/-- The constructed mean inverse therefore has the genuine derived initial | |
| 113 | -momentum trace, before cancellation with the initial deformation derivative. -/ | |
| 114 | -theorem meanSolver_momentum_with_initial | |
| 115 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 116 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 117 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 118 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) | |
| 119 | - (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) | |
| 120 | - (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 121 | - (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) | |
| 122 | - (hboundary : ∀ z : L2, z ∈ solenoidalSpace → | |
| 123 | - -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) | |
| 124 | - (hsmall : K*(T^2/2)+B*T ≤ 1/2) (f : TimeLp T L2) : | |
| 125 | - let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 126 | - ∃ p : ℝ → solenoidalSpace, AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 127 | - p 0 = meanBoundaryFlux T hT FInv F M0 A L u ∧ | |
| 128 | - (momentum T hT (solenoidalFrame T F) (u : TimeLp T L2) : ℝ → solenoidalSpace) | |
| 129 | - =ᵐ[timeMeasure T] p ∧ | |
| 130 | - ∀ᵐ t ∂timeMeasure T, | |
| 131 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 132 | - H (u : TimeLp T L2) f t) t := | |
| 133 | - meanMomentum_with_initial T hT FInv F F' hF hInv H M0 A L | |
| 134 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) f | |
| 135 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) | |
| 136 | - | |
| 137 | 112 | end EulerMeanVariationalInverse |
+0 −87 Euler/MeanMomentumRegularity.lean View file
| @@ -33,91 +33,4 @@ theorem solenoidalFrame_adjoint (t : Icc (0 : ℝ) T) : | ||
| 33 | 33 | _ = _ := congrArg (fun A : L2 →L[ℝ] solenoidalSpace => A.comp (F t).adjoint) |
| 34 | 34 | (Submodule.adjoint_subtypeL solenoidalSpace) |
| 35 | 35 | |
| 36 | -/-- Thus the momentum's actual representative is `Pσ F* u`, with ordinary | |
| 37 | -spatial L² projection and no abstract replacement of the solenoidal space. -/ | |
| 38 | -theorem meanMomentum_ae (u : TimeLp T L2) : | |
| 39 | - (fun t => ((momentum T hT (solenoidalFrame T F) u t : solenoidalSpace) : L2)) | |
| 40 | - =ᵐ[timeMeasure T] | |
| 41 | - fun t => solenoidalProjection ((extendPath T hT F t).adjoint (u t)) := by | |
| 42 | - filter_upwards [momentum_ae T hT (solenoidalFrame T F) u] with t ht | |
| 43 | - rw [ht] | |
| 44 | - change (((solenoidalFrame T F (projIcc 0 T hT t)).adjoint (u t) : solenoidalSpace) : L2) = _ | |
| 45 | - exact congrArg (fun A : L2 →L[ℝ] solenoidalSpace => (A (u t) : L2)) | |
| 46 | - (solenoidalFrame_adjoint T F (projIcc 0 T hT t)) | |
| 47 | - | |
| 48 | -/-- The exact mean variational identity determines the weak derivative of its | |
| 49 | -actual projected momentum after the trace-zero test restriction. -/ | |
| 50 | -theorem meanMomentum_weak | |
| 51 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 52 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 53 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 54 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 55 | - (u : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 56 | - (hu : ∀ w : meanDerivatives T hT FInv, | |
| 57 | - ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- | |
| 58 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ | |
| 59 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ | |
| 60 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = | |
| 61 | - -⟪f, meanPrimitive T hT FInv w⟫_ℝ) | |
| 62 | - (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : | |
| 63 | - ⟪momentum T hT (solenoidalFrame T F) (u : TimeLp T L2), v⟫_ℝ = | |
| 64 | - -⟪momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H | |
| 65 | - (u : TimeLp T L2) f, primitiveTimeLp T hT v⟫_ℝ := by | |
| 66 | - apply momentum_weak_of_product_tests T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 67 | - (solenoidalFrame_hasDerivWithinAt T hT F F' hF) H (u : TimeLp T L2) f v | |
| 68 | - have h := hu (meanTestMap T hT FInv F F' hF hInv v) | |
| 69 | - simpa only [meanTestMap_trace_zero T hT FInv F F' hF hInv v hv, | |
| 70 | - inner_zero_right, mul_zero, add_zero, meanPrimitive, comp_apply, | |
| 71 | - Submodule.subtypeL_apply, meanTestMap_coe] using h | |
| 72 | - | |
| 73 | -/-- An actual weak mean solution has an AC momentum representative with the | |
| 74 | -explicit Bochner L² derivative forced by the variational identity. -/ | |
| 75 | -theorem meanMomentum_ac (hTpos : 0 < T) | |
| 76 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 77 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 78 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 79 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 80 | - (u : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 81 | - (hu : ∀ w : meanDerivatives T hT FInv, | |
| 82 | - ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- | |
| 83 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ | |
| 84 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ | |
| 85 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = | |
| 86 | - -⟪f, meanPrimitive T hT FInv w⟫_ℝ) : | |
| 87 | - ∃ p : ℝ → solenoidalSpace, | |
| 88 | - AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 89 | - (momentum T hT (solenoidalFrame T F) (u : TimeLp T L2) : ℝ → solenoidalSpace) | |
| 90 | - =ᵐ[timeMeasure T] p ∧ | |
| 91 | - ∀ᵐ t ∂timeMeasure T, | |
| 92 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 93 | - H (u : TimeLp T L2) f t) t := by | |
| 94 | - apply exists_ac_representative_of_weak T hTpos | |
| 95 | - intro v hv | |
| 96 | - exact meanMomentum_weak T hT FInv F F' hF hInv H M0 A L u f hu v hv | |
| 97 | - | |
| 98 | -/-- In particular the already constructed mean variational inverse has genuine | |
| 99 | -projected momentum regularity. The coefficient/boundary lower bounds are used | |
| 100 | -only by that solve; no regularity of the answer is assumed. -/ | |
| 101 | -theorem meanSolver_momentum_ac (hTpos : 0 < T) | |
| 102 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 103 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 104 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 105 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) | |
| 106 | - (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) | |
| 107 | - (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 108 | - (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) | |
| 109 | - (hboundary : ∀ z : L2, z ∈ solenoidalSpace → | |
| 110 | - -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) | |
| 111 | - (hsmall : K*(T^2/2)+B*T ≤ 1/2) (f : TimeLp T L2) : | |
| 112 | - let u : TimeLp T L2 := | |
| 113 | - meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 114 | - ∃ p : ℝ → solenoidalSpace, | |
| 115 | - AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 116 | - (momentum T hT (solenoidalFrame T F) u : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] p ∧ | |
| 117 | - ∀ᵐ t ∂timeMeasure T, | |
| 118 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H u f t) t := | |
| 119 | - meanMomentum_ac T hT FInv F F' hTpos hF hInv H M0 A L | |
| 120 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) f | |
| 121 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) | |
| 122 | - | |
| 123 | 36 | end EulerMeanVariationalInverse |
+0 −39 Euler/MeanOperatorTranslation.lean View file
| @@ -36,39 +36,6 @@ theorem translateOperator_translation (a : Space) (A : L2 →L[ℝ] L2) (u : L2) | ||
| 36 | 36 | intro u |
| 37 | 37 | simp only [translateOperator_apply, neg_zero, translation_zero] |
| 38 | 38 | |
| 39 | -theorem translateOperator_add (a : Space) (A B : L2 →L[ℝ] L2) : | |
| 40 | - translateOperator a (A+B) = translateOperator a A + translateOperator a B := by | |
| 41 | - apply ContinuousLinearMap.ext | |
| 42 | - intro u | |
| 43 | - simp only [translateOperator_apply, add_apply, map_add] | |
| 44 | - | |
| 45 | -theorem translateOperator_smul (a : Space) (c : ℝ) (A : L2 →L[ℝ] L2) : | |
| 46 | - translateOperator a (c • A) = c • translateOperator a A := by | |
| 47 | - apply ContinuousLinearMap.ext | |
| 48 | - intro u | |
| 49 | - simp only [translateOperator_apply, smul_apply, map_smul] | |
| 50 | - | |
| 51 | -theorem translateOperator_neg_cancel (a : Space) (A : L2 →L[ℝ] L2) : | |
| 52 | - translateOperator (-a) (translateOperator a A) = A := by | |
| 53 | - apply ContinuousLinearMap.ext | |
| 54 | - intro u | |
| 55 | - simp only [translateOperator_apply, neg_neg, translation_add, neg_add_cancel, translation_zero] | |
| 56 | - | |
| 57 | -theorem translateOperator_norm_le (a : Space) (A : L2 →L[ℝ] L2) : | |
| 58 | - ‖translateOperator a A‖ ≤ ‖A‖ := by | |
| 59 | - apply opNorm_le_bound _ (norm_nonneg _) | |
| 60 | - intro u | |
| 61 | - calc | |
| 62 | - ‖translateOperator a A u‖ = ‖A (translation (-a) u)‖ := (translation a).norm_map _ | |
| 63 | - _ ≤ ‖A‖*‖translation (-a) u‖ := A.le_opNorm _ | |
| 64 | - _ = ‖A‖*‖u‖ := by rw [(translation (-a)).norm_map] | |
| 65 | - | |
| 66 | -theorem translateOperator_norm (a : Space) (A : L2 →L[ℝ] L2) : | |
| 67 | - ‖translateOperator a A‖ = ‖A‖ := by | |
| 68 | - apply le_antisymm (translateOperator_norm_le a A) | |
| 69 | - have h := translateOperator_norm_le (-a) (translateOperator a A) | |
| 70 | - simpa only [translateOperator_neg_cancel] using h | |
| 71 | - | |
| 72 | 39 | /-- Translate the spatial operator at every time in the coefficient path. -/ |
| 73 | 40 | def translatePath (T : ℝ) (a : Space) (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 74 | 41 | C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) := |
| @@ -79,12 +46,6 @@ def translatePath (T : ℝ) (a : Space) (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) | ||
| 79 | 46 | (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (t : Icc (0 : ℝ) T) : |
| 80 | 47 | translatePath T a F t = translateOperator a (F t) := rfl |
| 81 | 48 | |
| 82 | -theorem translatePath_norm_le (T : ℝ) (a : Space) | |
| 83 | - (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : ‖translatePath T a F‖ ≤ ‖F‖ := by | |
| 84 | - apply (ContinuousMap.norm_le (translatePath T a F) (norm_nonneg F)).2 | |
| 85 | - intro t | |
| 86 | - exact (translateOperator_norm_le a (F t)).trans (F.norm_coe_le_norm t) | |
| 87 | - | |
| 88 | 49 | /-- Translation commutes with the genuine time multiplier. -/ |
| 89 | 50 | theorem timeMultiplier_translate (T : ℝ) (hT : 0 ≤ T) (a : Space) |
| 90 | 51 | (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : |
+0 −22 Euler/MeanPacketConstraints.lean View file
| @@ -77,14 +77,6 @@ theorem inverse_vector_divergence (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | ||
| 77 | 77 | exact representative_divergence (G.coordinateOrdinaryPath t) (G.solution.velocity t).property |
| 78 | 78 | (pathTranslation_evaluation_contDiff D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t) x |
| 79 | 79 | |
| 80 | -theorem inverse_vector_smooth (t : Icc (0 : ℝ) D.T) (θ : ℝ) : | |
| 81 | - ContDiff ℝ ∞ (fun y => D.inverseFrame (t,(y,θ)) (G.vector (t,(y,θ)))) := by | |
| 82 | - have he : (fun y => D.inverseFrame (t,(y,θ)) (G.vector (t,(y,θ)))) = | |
| 83 | - pathRepresentative D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t := | |
| 84 | - funext (fun y => G.inverse_vector_eq_coordinate t y θ) | |
| 85 | - rw [he] | |
| 86 | - exact pathRepresentative_smooth D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t | |
| 87 | - | |
| 88 | 80 | /-- The initial raw velocity is the actual localized boundary value. -/ |
| 89 | 81 | theorem initial_vector_ae (θ : ℝ) : |
| 90 | 82 | (fun x => G.vector (0,(x,θ))) =ᵐ[volume] |
| @@ -107,18 +99,4 @@ theorem initial_vector_support (θ : ℝ) : | ||
| 107 | 99 | ((G.vector_spatial_smooth 0).continuous.comp (continuous_id.prodMk continuous_const)) |
| 108 | 100 | (G.initial_vector_ae θ) |
| 109 | 101 | |
| 110 | -theorem initial_vector_compact (θ : ℝ) : HasCompactSupport (fun x => G.vector (0,(x,θ))) := | |
| 111 | - scaledBoundary_continuous_compact D.ℓ D.ℓ_pos D.L (G.solution.label 0 : L2) | |
| 112 | - (fun x => G.vector (0,(x,θ))) | |
| 113 | - ((G.vector_spatial_smooth 0).continuous.comp (continuous_id.prodMk continuous_const)) | |
| 114 | - (G.initial_vector_ae θ) | |
| 115 | - | |
| 116 | -/-- The time-space representative is jointly continuous on the actual interval. -/ | |
| 117 | -theorem vector_joint_continuous : | |
| 118 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vector (z.1,z.2)) := by | |
| 119 | - have hmap : Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (z.1,z.2.1)) := | |
| 120 | - continuous_fst.prodMk (continuous_fst.comp continuous_snd) | |
| 121 | - have hc := (pathRepresentative_continuous D.T G.velocityPath G.velocityPath_orbit).comp hmap | |
| 122 | - simpa only [vector, Data.clamp_coe, Function.comp_def] using hc | |
| 123 | - | |
| 124 | 102 | end EulerMeanPacketProvider.Forcing |
+0 −16 Euler/MeanPacketContract.lean View file
| @@ -30,20 +30,4 @@ theorem meanSolve_initial_support (θ : ℝ) : | ||
| 30 | 30 | rw [meanSolve_of_admissible D raw h] |
| 31 | 31 | exact (Classical.choice h).initial_vector_support θ |
| 32 | 32 | |
| 33 | -theorem meanSolve_initial_compact (θ : ℝ) : | |
| 34 | - HasCompactSupport (fun x => (meanSolve D raw).1 (0,(x,θ))) := by | |
| 35 | - rw [meanSolve_of_admissible D raw h] | |
| 36 | - exact (Classical.choice h).initial_vector_compact θ | |
| 37 | - | |
| 38 | -theorem meanSolve_joint_continuous : | |
| 39 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (meanSolve D raw).1 (z.1,z.2)) := by | |
| 40 | - rw [meanSolve_of_admissible D raw h] | |
| 41 | - exact (Classical.choice h).vector_joint_continuous | |
| 42 | - | |
| 43 | -theorem meanSolve_angle_jets (t : ℝ) (x : Space) (θ : ℝ) : | |
| 44 | - (slicedJet (Icc (0 : ℝ) D.T) (meanSolve D raw).1 (t,(x,θ))).2 angleDirection = 0 ∧ | |
| 45 | - (pressureJet (meanSolve D raw).2 (t,(x,θ))).2 angleDirection = 0 := by | |
| 46 | - rw [meanSolve_of_admissible D raw h] | |
| 47 | - exact ⟨(Classical.choice h).vector_angle_jet t x θ, (Classical.choice h).scalar_angle_jet t x θ⟩ | |
| 48 | - | |
| 49 | 33 | end EulerMeanPacketProvider |
+0 −25 Euler/MeanPacketForcingAlgebra.lean View file
| @@ -50,31 +50,6 @@ def map (G : Forcing D raw) (L : Space →L[ℝ] Space) : Forcing D (fun z => L | ||
| 50 | 50 | def smul (G : Forcing D raw) (c : ℝ) : Forcing D (c • raw) := |
| 51 | 51 | G.map (c • ContinuousLinearMap.id ℝ Space) |
| 52 | 52 | |
| 53 | -def neg (G : Forcing D raw) : Forcing D (-raw) := G.map (-ContinuousLinearMap.id ℝ Space) | |
| 54 | - | |
| 55 | -/-- The derivative is the ordinary derivative of the prescribed raw field at fixed time and angle. -/ | |
| 56 | -def spatialDerivative (G : Forcing D raw) (v : Space) : | |
| 57 | - Forcing D (fun z => fderiv ℝ (fun x => raw (z.1,(x,z.2.2))) z.2.1 v) := | |
| 58 | - ofSlices (fun t => directionalField (G.slices t) v) | |
| 59 | - (continuous_jetLp_directionalField (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous v) | |
| 60 | - (fun t x θ => by | |
| 61 | - have he : (fun y => raw (t,(y,θ))) = (G.slices t).field := | |
| 62 | - funext (fun y => G.raw_eq t y θ) | |
| 63 | - rw [he] | |
| 64 | - rfl) | |
| 65 | - | |
| 66 | 53 | end Forcing |
| 67 | 54 | |
| 68 | -/-- Every actual finite sum of admissible forcing fields is admissible. -/ | |
| 69 | -theorem admissible_finset_sum {ι : Type*} (D : Data) (s : Finset ι) (raw : ι → VectorField) | |
| 70 | - (h : ∀ i ∈ s, Nonempty (Forcing D (raw i))) : Nonempty (Forcing D (∑ i ∈ s, raw i)) := by | |
| 71 | - classical | |
| 72 | - induction s using Finset.induction_on with | |
| 73 | - | empty => simpa using (show Nonempty (Forcing D 0) from ⟨Forcing.zero D⟩) | |
| 74 | - | @insert i s his ih => | |
| 75 | - have hi : Nonempty (Forcing D (raw i)) := h i (Finset.mem_insert_self i s) | |
| 76 | - have hs : Nonempty (Forcing D (∑ j ∈ s, raw j)) := ih (fun j hj => h j (Finset.mem_insert_of_mem hj)) | |
| 77 | - simpa only [Finset.sum_insert his] using | |
| 78 | - (show Nonempty (Forcing D (raw i+∑ j ∈ s, raw j)) from ⟨(Classical.choice hi).add (Classical.choice hs)⟩) | |
| 79 | - | |
| 80 | 55 | end EulerMeanPacketProvider |
+0 −12 Euler/MeanPacketJets.lean View file
| @@ -55,18 +55,6 @@ theorem jet_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 55 | 55 | ((G.scalar_spatial_smooth t).differentiable (by simp) (x,θ))] |
| 56 | 56 | exact G.equation t x θ |
| 57 | 57 | |
| 58 | -theorem vector_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : | |
| 59 | - (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ))).2 angleDirection = 0 := by | |
| 60 | - rw [EulerPacketPointJets.slicedJet_angle] | |
| 61 | - have hfst : HasFDerivAt (Prod.fst : Space × ℝ → Space) | |
| 62 | - (ContinuousLinearMap.fst ℝ Space ℝ) (x,θ) := hasFDerivAt_fst | |
| 63 | - have hd := ((pathRepresentative_smooth D.T G.velocityPath G.velocityPath_orbit (D.clamp t)).differentiable | |
| 64 | - (by simp) x).hasFDerivAt.comp (x,θ) hfst | |
| 65 | - change (fderiv ℝ (fun y : Space × ℝ => | |
| 66 | - pathRepresentative D.T G.velocityPath G.velocityPath_orbit (D.clamp t) y.1) (x,θ)) (0,1) = 0 | |
| 67 | - have he := congrArg (fun A : (Space × ℝ) →L[ℝ] Space => A (0,1)) hd.fderiv | |
| 68 | - simpa only [Function.comp_def, comp_apply, ContinuousLinearMap.coe_fst', map_zero] using he | |
| 69 | - | |
| 70 | 58 | theorem scalar_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : |
| 71 | 59 | (pressureJet G.scalar (t,(x,θ))).2 angleDirection = 0 := by |
| 72 | 60 | rw [pressureJet_angle] |
+0 −16 Euler/MeanPacketNonlinearForcing.lean View file
| @@ -30,22 +30,6 @@ def congr (G : Forcing D raw) | ||
| 30 | 30 | path_eq := G.path_eq |
| 31 | 31 | raw_eq t x θ := (heq t x θ).trans (G.raw_eq t x θ) |
| 32 | 32 | |
| 33 | -/-- A literal bilinear product of two admissible fields is admissible. -/ | |
| 34 | -def bilinear (G : Forcing D raw) (H : Forcing D raw') | |
| 35 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : Forcing D (fun z => B (raw z) (raw' z)) := by | |
| 36 | - let A := SmoothCoefficientPath.map B | |
| 37 | - (coefficientPath (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous) | |
| 38 | - apply (H.multiply A).congr | |
| 39 | - intro t x θ | |
| 40 | - simp only [A, Data.clamp_coe, SmoothCoefficientPath.map_apply, coefficientPath_apply, | |
| 41 | - G.raw_eq t x θ] | |
| 42 | - | |
| 43 | 33 | end Forcing |
| 44 | 34 | |
| 45 | -theorem admissible_bilinear (D : Data) (raw raw' : VectorField) | |
| 46 | - (h : Nonempty (Forcing D raw)) (h' : Nonempty (Forcing D raw')) | |
| 47 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : | |
| 48 | - Nonempty (Forcing D (fun z => B (raw z) (raw' z))) := | |
| 49 | - ⟨(Classical.choice h).bilinear (Classical.choice h') B⟩ | |
| 50 | - | |
| 51 | 35 | end EulerMeanPacketProvider |
+0 −5 Euler/MeanPacketOrbitForcing.lean View file
| @@ -58,9 +58,4 @@ def pressureForceForcing (G : Forcing D raw) : Forcing D G.pressureForce := | ||
| 58 | 58 | |
| 59 | 59 | end Forcing |
| 60 | 60 | |
| 61 | -theorem meanSolve_admissible (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) : | |
| 62 | - Nonempty (Forcing D (meanSolve D raw).1) := by | |
| 63 | - rw [meanSolve_of_admissible D raw h] | |
| 64 | - exact ⟨(Classical.choice h).vectorForcing⟩ | |
| 65 | - | |
| 66 | 61 | end EulerMeanPacketProvider |
+0 −8 Euler/MeanPacketPressureForcing.lean View file
| @@ -30,12 +30,4 @@ def scalarGradientForcing : Forcing D G.scalarGradient := by | ||
| 30 | 30 | simpa only [A, SmoothCoefficientPath.map_apply, Data.clamp_coe, |
| 31 | 31 | hAdj] using G.scalarGradient_eq t x θ |
| 32 | 32 | |
| 33 | -theorem physicalGradient_eq (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 34 | - (D.inverseFrame (t,(x,θ))).adjoint (G.scalarGradient (t,(x,θ))) = | |
| 35 | - G.pressureForce (t,(x,θ)) := by | |
| 36 | - have h := pressureScalar_physicalGradient D.T D.T_pos.le D.F D.F₁ D.opInv G.solution | |
| 37 | - D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit | |
| 38 | - D.FInv D.inverse_right t x | |
| 39 | - simpa only [Data.inverseFrame, scalarGradient, scalar, pressureForce, Data.clamp_coe] using h | |
| 40 | - | |
| 41 | 33 | end EulerMeanPacketProvider.Forcing |
+0 −25 Euler/MeanPacketProvider.lean View file
| @@ -73,18 +73,10 @@ theorem vector_angle_independent (t : ℝ) (x : Space) (θ η : ℝ) : | ||
| 73 | 73 | theorem scalar_angle_independent (t : ℝ) (x : Space) (θ η : ℝ) : |
| 74 | 74 | G.scalar (t,(x,θ)) = G.scalar (t,(x,η)) := rfl |
| 75 | 75 | |
| 76 | -theorem scalar_normalized (t θ : ℝ) : G.scalar (t,(0,θ)) = 0 := | |
| 77 | - (pressureScalar_spec D.T D.T_pos.le D.F D.F₁ D.opInv G.solution | |
| 78 | - D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t)).2.1 | |
| 79 | - | |
| 80 | 76 | /-- Actual spatial and angular regularity at every time. -/ |
| 81 | 77 | theorem vector_spatial_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => G.vector (t,y)) := |
| 82 | 78 | (pathRepresentative_smooth D.T G.velocityPath G.velocityPath_orbit (D.clamp t)).comp contDiff_fst |
| 83 | 79 | |
| 84 | -theorem vectorDerivative_spatial_smooth (t : ℝ) : | |
| 85 | - ContDiff ℝ ∞ (fun y : Space × ℝ => G.vectorDerivative (t,y)) := | |
| 86 | - (pathRepresentative_smooth D.T G.derivativePath G.derivativePath_orbit (D.clamp t)).comp contDiff_fst | |
| 87 | - | |
| 88 | 80 | theorem scalar_spatial_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => G.scalar (t,y)) := |
| 89 | 81 | (pressureScalar_spec D.T D.T_pos.le D.F D.F₁ D.opInv G.solution |
| 90 | 82 | D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t)).1.comp contDiff_fst |
| @@ -123,21 +115,4 @@ theorem meanSolve_of_admissible (D : Data) (raw : VectorField) (h : Nonempty (Fo | ||
| 123 | 115 | meanSolve D raw = ((Classical.choice h).vector,(Classical.choice h).scalar) := by |
| 124 | 116 | simp only [meanSolve, dite_eq_left h] |
| 125 | 117 | |
| 126 | -/-- The total provider is backed by an actual source solve on every admissible input. -/ | |
| 127 | -theorem meanSolve_contract (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) : | |
| 128 | - ∃ bt : VectorField, | |
| 129 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 130 | - HasDerivWithinAt (fun r => (meanSolve D raw).1 (r,(x,θ))) (bt (t,(x,θ))) (Icc (0 : ℝ) D.T) t) ∧ | |
| 131 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 132 | - bt (t,(x,θ))+D.strain (t,(x,θ)) ((meanSolve D raw).1 (t,(x,θ)))+ | |
| 133 | - (D.inverseFrame (t,(x,θ))).adjoint | |
| 134 | - (gradient (fun y => (meanSolve D raw).2 (t,(y,θ))) x) = raw (t,(x,θ))) ∧ | |
| 135 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (meanSolve D raw).1 (t,y))) ∧ | |
| 136 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (meanSolve D raw).2 (t,y))) ∧ | |
| 137 | - (∀ t θ, (meanSolve D raw).2 (t,(0,θ)) = 0) := by | |
| 138 | - rw [meanSolve_of_admissible D raw h] | |
| 139 | - exact ⟨(Classical.choice h).vectorDerivative, (Classical.choice h).vector_hasDerivWithinAt, | |
| 140 | - (Classical.choice h).equation, (Classical.choice h).vector_spatial_smooth, | |
| 141 | - (Classical.choice h).scalar_spatial_smooth, (Classical.choice h).scalar_normalized⟩ | |
| 142 | - | |
| 143 | 118 | end EulerMeanPacketProvider |
+0 −42 Euler/MeanPathSpatialRepresentative.lean View file
| @@ -24,46 +24,4 @@ theorem path_orbit_tensor_evaluation (T : ℝ) (p : C(Icc (0 : ℝ) T, EulerMean | ||
| 24 | 24 | (iteratedFDeriv ℝ n (fun a : Space => pathTranslation T a p) 0) := |
| 25 | 25 | (ContinuousMap.evalCLM ℝ t).iteratedFDeriv_comp_left hp.contDiffAt (by simp) |
| 26 | 26 | |
| 27 | -/-- The finite Sobolev array is a continuous path, constructed from actual tensor evaluations. | |
| 28 | -No operator-norm continuity of the time-evaluation operators is needed. -/ | |
| 29 | -theorem ordinarySobolev_path_continuous (T : ℝ) (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 30 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (q : ℕ) : | |
| 31 | - Continuous (fun t => ordinarySobolev q (p t) (pathTranslation_evaluation_contDiff T p hp t)) := by | |
| 32 | - apply Continuous.subtype_mk | |
| 33 | - apply continuous_pi | |
| 34 | - intro w | |
| 35 | - change Continuous (fun t => | |
| 36 | - (ordinarySobolev q (p t) (pathTranslation_evaluation_contDiff T p hp t)).val w) | |
| 37 | - simp_rw [ordinarySobolev_coordinate, path_orbit_tensor_evaluation T p hp] | |
| 38 | - let K := iteratedFDeriv ℝ w.1.val (fun a : Space => pathTranslation T a p) 0 (coordinateTuple w.2) | |
| 39 | - change Continuous (fun t => ordinaryLift (K t)) | |
| 40 | - exact ordinaryLift.continuous.comp K.continuous | |
| 41 | - | |
| 42 | -/-- The reconstructed spatial field is jointly continuous in actual time and space. -/ | |
| 43 | -theorem path_representative_joint_continuous (T : ℝ) | |
| 44 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 45 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : | |
| 46 | - Continuous (fun z : Icc (0 : ℝ) T × Space => | |
| 47 | - representative (p z.1) (pathTranslation_evaluation_contDiff T p hp z.1) z.2) := by | |
| 48 | - have hc := ordinarySobolev_path_continuous T p hp 3 | |
| 49 | - have hpair : Continuous (fun z : Icc (0 : ℝ) T × Space => | |
| 50 | - (ordinarySobolev 3 (p z.1) (pathTranslation_evaluation_contDiff T p hp z.1), | |
| 51 | - (z.2, (0 : AddCircle (1 : ℝ))))) := | |
| 52 | - (hc.comp continuous_fst).prodMk (continuous_snd.prodMk continuous_const) | |
| 53 | - have H := (EulerSobolevJointEvaluation.pointEvaluation_joint_continuous 1).comp hpair | |
| 54 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 55 | - | |
| 56 | -theorem path_representative_smooth (T : ℝ) | |
| 57 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 58 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : | |
| 59 | - ContDiff ℝ ∞ (representative (p t) (pathTranslation_evaluation_contDiff T p hp t)) := | |
| 60 | - representative_smooth _ _ | |
| 61 | - | |
| 62 | -theorem path_representative_ae (T : ℝ) | |
| 63 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 64 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : | |
| 65 | - (p t : Space → Space) =ᵐ[volume] | |
| 66 | - representative (p t) (pathTranslation_evaluation_contDiff T p hp t) := | |
| 67 | - representative_ae _ _ | |
| 68 | - | |
| 69 | 27 | end EulerMeanSmoothRepresentative |
+0 −90 Euler/MeanPhysicalTranslation.lean View file
| @@ -55,31 +55,6 @@ theorem frameApply_translation_contDiff (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) | ||
| 55 | 55 | exact Eq.mpr (congrArg (fun g : Space → TimeLp T L2 => ContDiff ℝ n g) |
| 56 | 56 | (frameApply_orbit_eq T hT F v)) hp |
| 57 | 57 | |
| 58 | -/-- Frame multiplication has one fixed factorial amplitude, independent of order. -/ | |
| 59 | -theorem frameApply_translation_gevrey (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 60 | - (v : TimeLp T solenoidalSpace) | |
| 61 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 62 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a v)) | |
| 63 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 64 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 65 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 66 | - (n : ℕ) (a : Space) : | |
| 67 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 68 | - timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F) v)) a‖ ≤ | |
| 69 | - (3*CF*Cv)*majorant R d n := by | |
| 70 | - let Q := fun b : Space => solenoidalFrame T (translatePath T b F) | |
| 71 | - have hQ : ContDiff ℝ ∞ Q := contDiff_solenoidalFrame T (fun b => translatePath T b F) hF | |
| 72 | - have hbQ : ∀ k b, ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant R 0 k := | |
| 73 | - solenoidalFrame_bound T (fun b => translatePath T b F) hF R CF hR hCF 0 hFb | |
| 74 | - have hp := clm_apply_bound (fun b => timeMultiplier T hT (Q b)) | |
| 75 | - (fun b => timeSolenoidalTranslation T b v) (contDiff_timeMultiplier T hT Q hQ) hv | |
| 76 | - R CF Cv hR hCF hCv 0 d (timeMultiplier_bound T hT Q hQ R CF hR hCF 0 hbQ) hvb n a | |
| 77 | - have hp' : ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 78 | - timeMultiplier T hT (Q b) (timeSolenoidalTranslation T b v)) a‖ ≤ | |
| 79 | - (3*CF*Cv)*majorant R d n := by simpa only [Nat.zero_add] using hp | |
| 80 | - exact (congrArg (fun g : Space → TimeLp T L2 => ‖iteratedFDeriv ℝ n g a‖) | |
| 81 | - (frameApply_orbit_eq T hT F v)).trans_le hp' | |
| 82 | - | |
| 83 | 58 | end EulerMeanPhysicalTranslation |
| 84 | 59 | |
| 85 | 60 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -100,19 +75,6 @@ theorem velocityDerivative_orbit_eq : | ||
| 100 | 75 | timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) := |
| 101 | 76 | funext (fun a => (timeTranslation T a).map_add _ _) |
| 102 | 77 | |
| 103 | -theorem pressureResidual_orbit_eq : | |
| 104 | - (fun a : Space => timeTranslation T a s.pressureResidual) = | |
| 105 | - fun a : Space => timeTranslation T a f - | |
| 106 | - timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) - | |
| 107 | - (2 : ℝ) • timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) := by | |
| 108 | - funext a | |
| 109 | - change timeTranslation T a (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration- | |
| 110 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) = _ | |
| 111 | - exact ((timeTranslation T a).map_sub _ _).trans | |
| 112 | - (congrArg₂ (fun x y : TimeLp T L2 => x-y) | |
| 113 | - ((timeTranslation T a).map_sub _ _) | |
| 114 | - ((timeTranslation T a).map_smul (2 : ℝ) _)) | |
| 115 | - | |
| 116 | 78 | /-- The physical velocity has the genuine spatial regularity of the coordinate velocity. -/ |
| 117 | 79 | theorem velocityField_translation_contDiff {n : ℕ∞ω} |
| 118 | 80 | (hF : ContDiff ℝ n (fun a : Space => translatePath T a F)) |
| @@ -131,56 +93,4 @@ theorem velocityDerivative_translation_contDiff {n : ℕ∞ω} | ||
| 131 | 93 | ((frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv).add |
| 132 | 94 | (frameApply_translation_contDiff T hT F s.acceleration hF ha)) |
| 133 | 95 | |
| 134 | -/-- The actual gradient residual inherits the spatial regularity of the solved fields. -/ | |
| 135 | -theorem pressureResidual_translation_contDiff {n : ℕ∞ω} | |
| 136 | - (hF : ContDiff ℝ n (fun a : Space => translatePath T a F)) | |
| 137 | - (hF₁ : ContDiff ℝ n (fun a : Space => translatePath T a F₁)) | |
| 138 | - (hv : ContDiff ℝ n (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 139 | - (ha : ContDiff ℝ n (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 140 | - (hf : ContDiff ℝ n (fun a : Space => timeTranslation T a f)) : | |
| 141 | - ContDiff ℝ n (fun a : Space => timeTranslation T a s.pressureResidual) := | |
| 142 | - Eq.mpr (congrArg (fun g : Space → TimeLp T L2 => ContDiff ℝ n g) s.pressureResidual_orbit_eq) | |
| 143 | - ((hf.sub (frameApply_translation_contDiff T hT F s.acceleration hF ha)).sub | |
| 144 | - ((frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv).const_smul (2 : ℝ))) | |
| 145 | - | |
| 146 | -/-- A genuine all-order bound for the physical mean velocity. -/ | |
| 147 | -theorem velocityField_translation_gevrey | |
| 148 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 149 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 150 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 151 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 152 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 153 | - (n : ℕ) (a : Space) : | |
| 154 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 155 | - (3*CF*Cv)*majorant R d n := | |
| 156 | - frameApply_translation_gevrey T hT F s.velocityLp hF hv R CF Cv hR hCF hCv d hFb hvb n a | |
| 157 | - | |
| 158 | -/-- The actual B_t has a fixed polynomial factorial amplitude. -/ | |
| 159 | -theorem velocityDerivative_translation_gevrey | |
| 160 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 161 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 162 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 163 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 164 | - (R CF CF₁ Cv Ca : ℝ) (hR : 0 ≤ R) | |
| 165 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 166 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 167 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n) | |
| 168 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 169 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ Ca*majorant R d n) | |
| 170 | - (n : ℕ) (a : Space) : | |
| 171 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ | |
| 172 | - (3*(CF₁*Cv+CF*Ca))*majorant R d n := by | |
| 173 | - have hvreg := frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv | |
| 174 | - have hareg := frameApply_translation_contDiff T hT F s.acceleration hF ha | |
| 175 | - have hvb' := frameApply_translation_gevrey T hT F₁ s.velocityLp hF₁ hv | |
| 176 | - R CF₁ Cv hR hCF₁ hCv d hF₁b hvb | |
| 177 | - have hab' := frameApply_translation_gevrey T hT F s.acceleration hF ha | |
| 178 | - R CF Ca hR hCF hCa d hFb hab | |
| 179 | - have hs := add_bound | |
| 180 | - (fun b : Space => timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp)) | |
| 181 | - (fun b : Space => timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F) s.acceleration)) | |
| 182 | - hvreg hareg R (3*CF₁*Cv) (3*CF*Ca) d hvb' hab' n a | |
| 183 | - exact ((congrArg (fun g : Space → TimeLp T L2 => ‖iteratedFDeriv ℝ n g a‖) | |
| 184 | - s.velocityDerivative_orbit_eq).trans_le hs).trans_eq (by ring) | |
| 185 | - | |
| 186 | 96 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −13 Euler/MeanPressureRepresentative.lean View file
| @@ -39,11 +39,6 @@ theorem pathRepresentative_ae (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | ||
| 39 | 39 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 40 | 40 | (p t : Space → Space) =ᵐ[volume] pathRepresentative T p hp t := representative_ae _ _ |
| 41 | 41 | |
| 42 | -theorem pathRepresentative_continuous (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | |
| 43 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : | |
| 44 | - Continuous (fun z : Icc (0 : ℝ) T × Space => pathRepresentative T p hp z.1 z.2) := | |
| 45 | - path_representative_joint_continuous T p hp | |
| 46 | - | |
| 47 | 42 | /-- An actual L² equation between continuous spatial representatives holds everywhere. -/ |
| 48 | 43 | theorem representative_equation (B D R f : L2) |
| 49 | 44 | (hB : SmoothOrbit B) (hD : SmoothOrbit D) (hR : SmoothOrbit R) (hf : SmoothOrbit f) |
| @@ -110,14 +105,6 @@ theorem pressureScalar_spec (t : Icc (0 : ℝ) T) : | ||
| 110 | 105 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t) |
| 111 | 106 | (pathRepresentative_ae T _ hR t) (hAdj.clm_apply (pathRepresentative_smooth T _ hR t)) |
| 112 | 107 | |
| 113 | -/-- The source mean pressure has no angular dependence. -/ | |
| 114 | -def pressureProfile (t : Icc (0 : ℝ) T) (x : Space) (_θ : ℝ) : ℝ := | |
| 115 | - pressureScalar T hT F F₁ FInv s c hc hLower fC hR t x | |
| 116 | - | |
| 117 | -theorem pressureProfile_angle_derivative (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 118 | - HasDerivAt (pressureProfile T hT F F₁ FInv s c hc hLower fC hR t x) 0 θ := | |
| 119 | - hasDerivAt_const θ _ | |
| 120 | - | |
| 121 | 108 | /-- The physical pressure force is exactly the actual residual, because the |
| 122 | 109 | inverse-transpose cancels the transpose of the given frame. -/ |
| 123 | 110 | theorem pressureScalar_physicalGradient |
+0 −5 Euler/MeanScalarMollification.lean View file
| @@ -87,9 +87,4 @@ theorem scalarMollification_energy_le (φ : ContDiffBump (0 : Space)) | ||
| 87 | 87 | φ.integrable_normed hf2, φ.integral_normed] |
| 88 | 88 | simp only [ContinuousLinearMap.lsmul_apply, one_smul] |
| 89 | 89 | |
| 90 | -theorem scalarMollification_norm_le (φ : ContDiffBump (0 : Space)) | |
| 91 | - (f : Space → ℝ) (hf : MemLp f 2 volume) : | |
| 92 | - lpNorm (scalarMollification φ f) 2 volume ≤ lpNorm f 2 volume := | |
| 93 | - (sq_le_sq₀ lpNorm_nonneg lpNorm_nonneg).1 (scalarMollification_energy_le φ f hf) | |
| 94 | - | |
| 95 | 90 | end EulerMeanHarmonic |
+0 −22 Euler/MeanScaledBoundaryGevrey.lean View file
| @@ -82,28 +82,6 @@ theorem scaled_majorant_le (ℓ : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) (n | ||
| 82 | 82 | apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 83 | 83 | exact pow_le_pow_left₀ (by positivity) (by linarith) n |
| 84 | 84 | |
| 85 | -theorem scaledCutoffCurl_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (a : Space) : | |
| 86 | - ‖iteratedFDeriv ℝ n | |
| 87 | - (fun b : Space => cutoffCurl ((scaledCutoff ℓ hℓ).translate b)) a‖ ≤ | |
| 88 | - scaledCutoffOperatorAmplitude * majorant 1024 0 n := by | |
| 89 | - have H := cutoffCurl_gevrey (scaledCutoff ℓ hℓ) (2*ℓ⁻¹) (256*ℓ) scaledCutoffGevreySize | |
| 90 | - (by positivity) scaledCutoffGevreySize_nonneg (scaledCutoff_support_ball ℓ hℓ) | |
| 91 | - (scaledCutoff_scaledRadiusGevrey ℓ hℓ) n a | |
| 92 | - rw [scaledCutoff_amplitude ℓ hℓ] at H | |
| 93 | - exact H.trans (mul_le_mul_of_nonneg_left (scaled_majorant_le ℓ hℓ.le hℓ1 n) | |
| 94 | - scaledCutoffOperatorAmplitude_nonneg) | |
| 95 | - | |
| 96 | -theorem scaledWeakPotential_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (a : Space) : | |
| 97 | - ‖iteratedFDeriv ℝ n | |
| 98 | - (fun b : Space => weakPotential ((scaledCutoff ℓ hℓ).translate b)) a‖ ≤ | |
| 99 | - scaledCutoffOperatorAmplitude * majorant 1024 0 n := by | |
| 100 | - have H := weakPotential_gevrey (scaledCutoff ℓ hℓ) (2*ℓ⁻¹) (256*ℓ) scaledCutoffGevreySize | |
| 101 | - (by positivity) scaledCutoffGevreySize_nonneg (scaledCutoff_support_ball ℓ hℓ) | |
| 102 | - (scaledCutoff_scaledRadiusGevrey ℓ hℓ) n a | |
| 103 | - rw [scaledCutoff_amplitude ℓ hℓ] at H | |
| 104 | - exact H.trans (mul_le_mul_of_nonneg_left (scaled_majorant_le ℓ hℓ.le hℓ1 n) | |
| 105 | - scaledCutoffOperatorAmplitude_nonneg) | |
| 106 | - | |
| 107 | 85 | def scaledBoundaryOperatorAmplitude : ℝ := 3 * scaledCutoffOperatorAmplitude^2 |
| 108 | 86 | |
| 109 | 87 | theorem scaledBoundaryOperatorAmplitude_nonneg : 0 ≤ scaledBoundaryOperatorAmplitude := by |
+0 −14 Euler/MeanScaledCutoff.lean View file
| @@ -54,18 +54,4 @@ theorem physical_ball_eq (ℓ r : ℝ) (hℓ : 0 < ℓ) : | ||
| 54 | 54 | have H := mul_lt_mul_of_pos_left h hℓ |
| 55 | 55 | simpa only [← mul_assoc, mul_inv_cancel₀ hℓ.ne', one_mul] using H |
| 56 | 56 | |
| 57 | -/-- Rescaling by at most one preserves the fixed factorial derivative bound. -/ | |
| 58 | -theorem scaledCutoff_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (x : Space) : | |
| 59 | - ‖iteratedFDeriv ℝ n (scaledCutoff ℓ hℓ).field x‖ ≤ | |
| 60 | - (9 * (1 + 3 / EulerGevreyCutoff.bumpMass)^2)^3 * majorant 256 0 n := by | |
| 61 | - change ‖iteratedFDeriv ℝ n (fun y => EulerSpatialCutoffs.outerCutoff (ℓ • y)) x‖ ≤ _ | |
| 62 | - rw [iteratedFDeriv_comp_const_smul ℓ | |
| 63 | - (EulerSpatialCutoffs.outerCutoff_contDiff.of_le (by simp)), norm_smul, | |
| 64 | - Real.norm_eq_abs, abs_of_nonneg (pow_nonneg hℓ.le n)] | |
| 65 | - have hpow : ℓ^n ≤ 1 := pow_le_one₀ hℓ.le hℓ1 | |
| 66 | - calc | |
| 67 | - _ ≤ 1 * ‖iteratedFDeriv ℝ n EulerSpatialCutoffs.outerCutoff (ℓ • x)‖ := | |
| 68 | - mul_le_mul_of_nonneg_right hpow (norm_nonneg _) | |
| 69 | - _ ≤ _ := by simpa only [one_mul] using EulerSpatialCutoffs.outerCutoff_gevrey n (ℓ • x) | |
| 70 | - | |
| 71 | 57 | end EulerMeanBoundary |
+0 −36 Euler/MeanSolenoidalReflection.lean View file
| @@ -30,13 +30,6 @@ theorem reflection_ae (u : L2) : reflection u =ᵐ[volume] fun x => u (-x) := | ||
| 30 | 30 | measurePreserving_reflection.quasiMeasurePreserving.ae (reflection_ae u)] with x hx hy |
| 31 | 31 | rw [hx, hy, neg_neg] |
| 32 | 32 | |
| 33 | -theorem reflection_norm (u : L2) : ‖reflection u‖ = ‖u‖ := reflection.norm_map u | |
| 34 | - | |
| 35 | -theorem reflection_inner_shift (u v : L2) : ⟪reflection u, v⟫_ℝ = ⟪u, reflection v⟫_ℝ := by | |
| 36 | - calc | |
| 37 | - _ = ⟪reflection u, reflection (reflection v)⟫_ℝ := by rw [reflection_involutive] | |
| 38 | - _ = _ := reflection.inner_map_map u (reflection v) | |
| 39 | - | |
| 40 | 33 | /-- The two signs in the derivative of `-f(-x)` cancel. -/ |
| 41 | 34 | theorem fderiv_neg_reflect {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 42 | 35 | (f : Space → F) (hf : Differentiable ℝ f) (x : Space) : |
| @@ -83,33 +76,4 @@ theorem reflection_solenoidal_mem {u : L2} (hu : u ∈ solenoidalSpace) : | ||
| 83 | 76 | _ = ⟪reflection g, u⟫_ℝ := reflection.inner_map_map _ _ |
| 84 | 77 | _ = 0 := hu _ (reflection_gradient_mem hg) |
| 85 | 78 | |
| 86 | -theorem solenoidalSpace_map_reflection : | |
| 87 | - solenoidalSpace.map reflection.toLinearMap = solenoidalSpace := by | |
| 88 | - apply le_antisymm | |
| 89 | - · rintro u ⟨v, hv, rfl⟩ | |
| 90 | - exact reflection_solenoidal_mem hv | |
| 91 | - · intro u hu | |
| 92 | - exact ⟨reflection u, reflection_solenoidal_mem hu, reflection_involutive u⟩ | |
| 93 | - | |
| 94 | -/-- The actual ordinary Helmholtz projection commutes with reflection. -/ | |
| 95 | -theorem solenoidalProjection_reflection (u : L2) : | |
| 96 | - reflection (solenoidalProjection u) = solenoidalProjection (reflection u) := by | |
| 97 | - have hmap := solenoidalSpace_map_reflection | |
| 98 | - let : (solenoidalSpace.map reflection.toLinearMap).HasOrthogonalProjection := by | |
| 99 | - rw [hmap] | |
| 100 | - infer_instance | |
| 101 | - simpa only [solenoidalProjection, hmap] using reflection.map_starProjection solenoidalSpace u | |
| 102 | - | |
| 103 | -theorem reflection_translation (a : Space) (u : L2) : | |
| 104 | - reflection (translation a u) = translation (-a) (reflection u) := by | |
| 105 | - apply Lp.ext | |
| 106 | - filter_upwards [reflection_ae (translation a u), | |
| 107 | - measurePreserving_reflection.quasiMeasurePreserving.ae (translation_ae a u), | |
| 108 | - translation_ae (-a) (reflection u), | |
| 109 | - (measurePreserving_add_right (volume : Measure Space) (-a)).quasiMeasurePreserving.ae | |
| 110 | - (reflection_ae u)] with x h₁ h₂ h₃ h₄ | |
| 111 | - rw [h₁, h₂, h₃, h₄] | |
| 112 | - congr 1 | |
| 113 | - abel | |
| 114 | - | |
| 115 | 79 | end EulerMeanSolenoidal |
+0 −44 Euler/MeanSolenoidalSpace.lean View file
| @@ -106,9 +106,6 @@ def solenoidalProjection : L2 →L[ℝ] L2 := solenoidalSpace.starProjection | ||
| 106 | 106 | theorem solenoidalProjection_mem (u : L2) : |
| 107 | 107 | solenoidalProjection u ∈ solenoidalSpace := solenoidalSpace.starProjection_apply_mem u |
| 108 | 108 | |
| 109 | -theorem solenoidalProjection_norm_le : ‖solenoidalProjection‖ ≤ 1 := | |
| 110 | - solenoidalSpace.starProjection_norm_le | |
| 111 | - | |
| 112 | 109 | theorem solenoidalProjection_apply_norm_le (u : L2) : ‖solenoidalProjection u‖ ≤ ‖u‖ := |
| 113 | 110 | solenoidalSpace.norm_starProjection_apply_le u |
| 114 | 111 | |
| @@ -214,47 +211,6 @@ variable (A : Space → Space →L[ℝ] Space) | ||
| 214 | 211 | (c : ℝ) (hc : 0 < c) |
| 215 | 212 | (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) |
| 216 | 213 | |
| 217 | -/-- The concrete inverse of the projected ordinary-space coefficient multiplier. -/ | |
| 218 | -def metricInverse : solenoidalSpace →L[ℝ] solenoidalSpace := | |
| 219 | - projectedInverse solenoidalSpace (coefficientOperator A hA C hbound) c hc | |
| 220 | - (coefficientOperator_coercive A hA C hbound c hpositive) | |
| 221 | - | |
| 222 | -theorem metricInverse_equation (f : solenoidalSpace) : | |
| 223 | - solenoidalSpace.orthogonalProjectionOnto | |
| 224 | - (coefficientOperator A hA C hbound | |
| 225 | - (metricInverse A hA C hbound c hc hpositive f : L2)) = f := | |
| 226 | - projectedOperator_inverse_apply solenoidalSpace (coefficientOperator A hA C hbound) | |
| 227 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 228 | - | |
| 229 | -theorem metricInverse_norm_le : ‖metricInverse A hA C hbound c hc hpositive‖ ≤ c⁻¹ := | |
| 230 | - projectedInverse_norm_le solenoidalSpace (coefficientOperator A hA C hbound) | |
| 231 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) | |
| 232 | - | |
| 233 | -include hc hpositive in | |
| 234 | -/-- A forcing in the ambient L² space has one solenoidal solution of the | |
| 235 | -projected metric equation. No inverse or solution is supplied as an input. -/ | |
| 236 | -theorem existsUnique_metric_solution (f : L2) : | |
| 237 | - ∃! u : solenoidalSpace, | |
| 238 | - solenoidalSpace.orthogonalProjectionOnto (coefficientOperator A hA C hbound (u : L2)) = | |
| 239 | - solenoidalSpace.orthogonalProjectionOnto f := | |
| 240 | - existsUnique_projected_solution solenoidalSpace (coefficientOperator A hA C hbound) | |
| 241 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 242 | - | |
| 243 | -/-- The residual of the solved projected equation is a genuine weak gradient. -/ | |
| 244 | -theorem metric_solution_residual_gradient (f : L2) (u : solenoidalSpace) | |
| 245 | - (hu : solenoidalSpace.orthogonalProjectionOnto | |
| 246 | - (coefficientOperator A hA C hbound (u : L2)) = | |
| 247 | - solenoidalSpace.orthogonalProjectionOnto f) : | |
| 248 | - f - coefficientOperator A hA C hbound (u : L2) ∈ gradientSpace := by | |
| 249 | - apply (solenoidalProjection_eq_zero_iff _).1 | |
| 250 | - change solenoidalSpace.starProjection | |
| 251 | - (f - coefficientOperator A hA C hbound (u : L2)) = 0 | |
| 252 | - rw [map_sub] | |
| 253 | - have h := congrArg (fun v : solenoidalSpace => (v : L2)) hu | |
| 254 | - change solenoidalSpace.starProjection (coefficientOperator A hA C hbound (u : L2)) = | |
| 255 | - solenoidalSpace.starProjection f at h | |
| 256 | - rw [h, sub_self] | |
| 257 | - | |
| 258 | 214 | end CoefficientInverse |
| 259 | 215 | |
| 260 | 216 | end EulerMeanSolenoidal |
+0 −54 Euler/MeanSourceGevrey.lean View file
| @@ -59,58 +59,4 @@ variable (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ | ||
| 59 | 59 | (hH : ∀ t x v, ⟪H.field t x v,v⟫_ℝ ≤ K*‖v‖^2) |
| 60 | 60 | (hsmall : K*(T^2/2)+Be*T+boundaryLocalizationC2*Bc*r^3*T ≤ 1/2) |
| 61 | 61 | |
| 62 | -include hℓ1 in | |
| 63 | -/-- The source coordinate solver obeys all-order genuine spatial estimates. | |
| 64 | -Its coercivity and cutoff assumptions have already been discharged. -/ | |
| 65 | -theorem sourceCoordinateSolver_translation_gevrey | |
| 66 | - (f : TimeLp T L2) (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 67 | - (Rc R M CF CF₁ CH CM Cf : ℝ) (hRc : 1024 ≤ Rc) | |
| 68 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCH : 0 ≤ CH) (hCM : 0 ≤ CM) (hCf : 0 ≤ Cf) | |
| 69 | - (hM : 1 ≤ M) | |
| 70 | - (hMC : (sourceFixedCoercivity T F F₁ FInv)⁻¹* | |
| 71 | - operatorAmplitude T CF CF₁ CH CM scaledBoundaryOperatorAmplitude L ≤ M) | |
| 72 | - (hMD : (sourceFixedCoercivity T F F₁ FInv)⁻¹*forcingAmplitude T CF CF₁ Cf ≤ M) | |
| 73 | - (hR : 2*M*(Rc+1) ≤ R) | |
| 74 | - (hFb : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF*majorant Rc 0 n) | |
| 75 | - (hF₁b : ∀ n t x, ‖iteratedFDeriv ℝ n (F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF₁*majorant Rc 0 n) | |
| 76 | - (hHb : ∀ n t x, ‖iteratedFDeriv ℝ n (H.field t : Space → Space →L[ℝ] Space) x‖ ≤ CH*majorant Rc 0 n) | |
| 77 | - (hMb : ∀ n x, ‖iteratedFDeriv ℝ n (M0.field : Space → Space →L[ℝ] Space) x‖ ≤ CM*majorant Rc 0 n) | |
| 78 | - (d : ℕ) (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 79 | - (n : ℕ) (a : Space) : | |
| 80 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b | |
| 81 | - (sourceCoordinateSolver T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r hBe hBc hL hr hrquarter | |
| 82 | - hext hcore hInv hF K hK hF0 hH hsmall f)) a‖ ≤ majorant R (d+1) n := by | |
| 83 | - have hRc0 : 0 ≤ Rc := (by norm_num : (0 : ℝ) ≤ 1024).trans hRc | |
| 84 | - have hFr : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T F.field)) := by | |
| 85 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 86 | - have hF₁r : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T F₁.field)) := by | |
| 87 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 88 | - have hHr : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T H.field)) := by | |
| 89 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T H | |
| 90 | - have hMr : ContDiff ℝ ∞ (fun b : Space => translateOperator b (multiplier M0.field)) := by | |
| 91 | - simpa only [translateOperator_multiplier] using multiplierTranslation_contDiff M0 | |
| 92 | - have hAr : ContDiff ℝ ∞ (fun b : Space => translateOperator b (boundaryOperator (scaledCutoff ℓ hℓ))) := by | |
| 93 | - simpa only [translateOperator_boundary] using scaledBoundaryOperator_contDiff ℓ hℓ | |
| 94 | - have hAb (k b) : ‖iteratedFDeriv ℝ k | |
| 95 | - (fun y : Space => translateOperator y (boundaryOperator (scaledCutoff ℓ hℓ))) b‖ ≤ | |
| 96 | - scaledBoundaryOperatorAmplitude*majorant Rc 0 k := by | |
| 97 | - have h := scaledBoundaryOperator_gevrey ℓ hℓ hℓ1 k b | |
| 98 | - apply (show ‖iteratedFDeriv ℝ k | |
| 99 | - (fun y : Space => translateOperator y (boundaryOperator (scaledCutoff ℓ hℓ))) b‖ ≤ | |
| 100 | - scaledBoundaryOperatorAmplitude*majorant 1024 0 k by | |
| 101 | - simpa only [translateOperator_boundary] using h).trans | |
| 102 | - exact mul_le_mul_of_nonneg_left (majorant_radius_mono 1024 Rc (by norm_num) hRc 0 k) | |
| 103 | - scaledBoundaryOperatorAmplitude_nonneg | |
| 104 | - exact solution_translation_gevrey T hT (operatorPath T F.field) (operatorPath T F₁.field) | |
| 105 | - (operatorPath T H.field) (multiplier M0.field) (boundaryOperator (scaledCutoff ℓ hℓ)) L | |
| 106 | - (sourceFixedCoercivity T F F₁ FInv) (sourceFixedCoercivity_pos T hT F F₁ FInv) | |
| 107 | - (sourceFixedForm_coercive T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r hBe hBc hL hr hrquarter | |
| 108 | - hext hcore hInv hF K hK hF0 hH hsmall) | |
| 109 | - hFr hF₁r hHr hMr hAr f hf Rc R M CF CF₁ CH CM scaledBoundaryOperatorAmplitude Cf | |
| 110 | - hRc0 hCF hCF₁ hCH hCM scaledBoundaryOperatorAmplitude_nonneg hCf hM hMC hMD hR | |
| 111 | - (translatedPath_bound T F Rc CF hRc0 hCF hFb) | |
| 112 | - (translatedPath_bound T F₁ Rc CF₁ hRc0 hCF₁ hF₁b) | |
| 113 | - (translatedPath_bound T H Rc CH hRc0 hCH hHb) | |
| 114 | - (translatedMultiplier_bound M0 Rc CM hRc0 hCM hMb) hAb d hfb n a | |
| 115 | - | |
| 116 | 62 | end EulerMeanSourceGevrey |
+0 −64 Euler/MeanSourceSpatialRegularity.lean View file
| @@ -78,68 +78,4 @@ theorem velocity_translation_contDiff | ||
| 78 | 78 | (sourceCoordinateSolver_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r |
| 79 | 79 | hBe hBc hL hr hrquarter hext hcore hInv hF K hK hF0 hH hsmall f hf) |
| 80 | 80 | |
| 81 | -/-- The actual acceleration has genuine spatial regularity, supplied by the | |
| 82 | -uniformly coercive translated Gram solve. -/ | |
| 83 | -theorem acceleration_translation_contDiff | |
| 84 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 85 | - ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration) := by | |
| 86 | - have hFr : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F.field)) := by | |
| 87 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 88 | - have hF₁r : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F₁.field)) := by | |
| 89 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 90 | - have hv := velocity_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 91 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 92 | - have heq := s.acceleration_eq_meanAcceleration (meanFrameCoercivity T FInv) | |
| 93 | - (meanFrameCoercivity_pos T FInv) (solenoidalFrame_lower T FInv (operatorPath T F.field) hInv) | |
| 94 | - have horbit := congrArg (fun v : TimeLp T solenoidalSpace => | |
| 95 | - fun a : Space => timeSolenoidalTranslation T a v) heq | |
| 96 | - exact Eq.mpr (congrArg (fun g : Space → TimeLp T solenoidalSpace => ContDiff ℝ ∞ g) horbit) | |
| 97 | - (meanAcceleration_translation_contDiff T hT (operatorPath T F.field) (operatorPath T F₁.field) | |
| 98 | - (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) | |
| 99 | - (solenoidalFrame_lower T FInv (operatorPath T F.field) hInv) s.velocityLp f hFr hF₁r hv hf) | |
| 100 | - | |
| 101 | -/-- Both actual physical fields B and B_t, and their pressure residual, have | |
| 102 | -smooth spatial translation orbits. -/ | |
| 103 | -theorem physical_translation_contDiff | |
| 104 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 105 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField) ∧ | |
| 106 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative) ∧ | |
| 107 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.pressureResidual) := by | |
| 108 | - have hFr : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F.field)) := by | |
| 109 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 110 | - have hF₁r : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F₁.field)) := by | |
| 111 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 112 | - have hv := velocity_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 113 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 114 | - have ha := acceleration_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 115 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 116 | - exact ⟨s.velocityField_translation_contDiff hFr hv, | |
| 117 | - s.velocityDerivative_translation_contDiff hFr hF₁r hv ha, | |
| 118 | - s.pressureResidual_translation_contDiff hFr hF₁r hv ha hf⟩ | |
| 119 | - | |
| 120 | -/-- The actual reconstructed velocity has a smooth spatial orbit uniformly in time. -/ | |
| 121 | -theorem continuousVelocity_translation_contDiff | |
| 122 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 123 | - ContDiff ℝ ∞ (fun a : Space => pathTranslation T a s.continuousVelocity) := by | |
| 124 | - have hp := physical_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 125 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 126 | - exact s.continuousVelocity_translation_contDiff hp.1 hp.2.1 | |
| 127 | - | |
| 128 | -/-- Every actual time slice, including the initial slice, has a smooth spatial | |
| 129 | -translation orbit. -/ | |
| 130 | -theorem physicalPath_translation_contDiff (hTpos : 0 < T) | |
| 131 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) (t : Icc (0 : ℝ) T) : | |
| 132 | - ContDiff ℝ ∞ (fun a : Space => translation a (s.physicalPath t)) := by | |
| 133 | - have hp := physical_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 134 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 135 | - exact s.physicalPath_translation_contDiff hTpos hF hp.1 hp.2.1 t | |
| 136 | - | |
| 137 | -/-- Each physical time slice has a genuine smooth representative on ordinary R³. -/ | |
| 138 | -theorem physicalPath_smooth_representative (hTpos : 0 < T) | |
| 139 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) (t : Icc (0 : ℝ) T) : | |
| 140 | - ∃ b : Space → Space, ContDiff ℝ ∞ b ∧ (s.physicalPath t : Space → Space) =ᵐ[volume] b := | |
| 141 | - EulerMeanSmoothRepresentative.exists_smooth_representative (s.physicalPath t) | |
| 142 | - (physicalPath_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 143 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hTpos hf t) | |
| 144 | - | |
| 145 | 81 | end EulerMeanSourceSpatialRegularity |
+0 −18 Euler/MeanSourceStrongInverse.lean View file
| @@ -45,22 +45,4 @@ theorem sourceMeanSolver_strong (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < | ||
| 45 | 45 | hF hF₁ hInv hRight hF₁₀ hODE |
| 46 | 46 | (fun z _ => boundaryOperator_solenoidal (scaledCutoff ℓ hℓ) z) f |
| 47 | 47 | |
| 48 | -theorem sourceStrong_initial_ae_support (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) | |
| 49 | - (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (L : ℝ) (u f : TimeLp T L2) | |
| 50 | - (S : StrongMeanEvolution T hT FInv F F₁ (boundaryOperator (scaledCutoff ℓ hℓ)) L u f) : | |
| 51 | - ∀ᵐ x ∂volume, 2 < ‖ℓ • x‖ → (S.velocity 0 : L2) x = 0 := by | |
| 52 | - have H := scaledBoundary_multiple_zero_outside ℓ hℓ L (S.label 0 : L2) | |
| 53 | - rw [← S.initial_velocity] at H | |
| 54 | - exact H | |
| 55 | - | |
| 56 | -/-- A continuous representative of the actual initial mean velocity is compactly supported. -/ | |
| 57 | -theorem sourceStrong_initial_compact (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) | |
| 58 | - (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (L : ℝ) (u f : TimeLp T L2) | |
| 59 | - (S : StrongMeanEvolution T hT FInv F F₁ (boundaryOperator (scaledCutoff ℓ hℓ)) L u f) | |
| 60 | - (b : Space → Space) (hb : Continuous b) (hrep : b =ᵐ[volume] (S.velocity 0 : L2)) : | |
| 61 | - HasCompactSupport b := by | |
| 62 | - apply scaledBoundary_continuous_compact ℓ hℓ L (S.label 0 : L2) b hb | |
| 63 | - rw [← S.initial_velocity] | |
| 64 | - exact hrep | |
| 65 | - | |
| 66 | 48 | end EulerMeanSourceInverse |
+0 −39 Euler/MeanSourceVariationalInverse.lean View file
| @@ -54,43 +54,4 @@ def sourceMeanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := | ||
| 54 | 54 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 55 | 55 | (source_smallness T K Be Bc r hsmall) |
| 56 | 56 | |
| 57 | -theorem sourceMeanSolver_norm (f : TimeLp T L2) : | |
| 58 | - ‖sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter | |
| 59 | - hext hcore FInv H K hK hF0 hH hsmall f‖ ≤ 2*T*‖f‖ := | |
| 60 | - meanSolver_norm T hT FInv H (coefficientOperator M hM C hC) | |
| 61 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 62 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 63 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 64 | - (source_smallness T K Be Bc r hsmall) f | |
| 65 | - | |
| 66 | -/-- The literal mean weak equation, retaining both original initial boundary terms. -/ | |
| 67 | -theorem sourceMeanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | |
| 68 | - let u := sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter | |
| 69 | - hext hcore FInv H K hK hF0 hH hsmall f | |
| 70 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - | |
| 71 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + | |
| 72 | - ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 73 | - L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), | |
| 74 | - meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 75 | - meanSolver_weak T hT FInv H (coefficientOperator M hM C hC) | |
| 76 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 77 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 78 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 79 | - (source_smallness T K Be Bc r hsmall) f v | |
| 80 | - | |
| 81 | -include hK hF0 hH hsmall hBe hBc hL hr hrquarter hext hcore in | |
| 82 | -/-- Existence and uniqueness from the actual source spatial and time assumptions. -/ | |
| 83 | -theorem existsUnique_source_mean_weak_solution (f : TimeLp T L2) : | |
| 84 | - ∃! u : meanDerivatives T hT FInv, ∀ v : meanDerivatives T hT FInv, | |
| 85 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - | |
| 86 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + | |
| 87 | - ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 88 | - L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), | |
| 89 | - meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 90 | - existsUnique_mean_weak_solution T hT FInv H (coefficientOperator M hM C hC) | |
| 91 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 92 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 93 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 94 | - (source_smallness T K Be Bc r hsmall) f | |
| 95 | - | |
| 96 | 57 | end EulerMeanSourceInverse |
+0 −18 Euler/MeanSpatialDerivative.lean View file
| @@ -47,22 +47,4 @@ theorem fderiv_representative_apply (u : EulerMeanSolenoidal.L2) (hu : SmoothOrb | ||
| 47 | 47 | (orbitDerivative_ae_fderiv u hu v) |
| 48 | 48 | exact (congrFun H x).symm |
| 49 | 49 | |
| 50 | -theorem representative_directional_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : | |
| 51 | - MemLp (fun x => fderiv ℝ (representative u hu) x v) 2 (volume : Measure Space) := | |
| 52 | - (Lp.memLp (orbitDerivative u v)).ae_eq (orbitDerivative_ae_fderiv u hu v) | |
| 53 | - | |
| 54 | -/-- The full classical first derivative is genuinely square-integrable. -/ | |
| 55 | -theorem representative_fderiv_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : | |
| 56 | - MemLp (fderiv ℝ (representative u hu)) 2 (volume : Measure Space) := by | |
| 57 | - let f (i : Fin 3) (x : Space) := ‖fderiv ℝ (representative u hu) x (EuclideanSpace.single i 1)‖ | |
| 58 | - have hf (i : Fin 3) : MemLp (f i) 2 (volume : Measure Space) := | |
| 59 | - (representative_directional_memLp u hu (EuclideanSpace.single i 1)).norm | |
| 60 | - have hs : MemLp (∑ i : Fin 3, f i) 2 (volume : Measure Space) := | |
| 61 | - memLp_finsetSum' Finset.univ (fun i _ => hf i) | |
| 62 | - apply hs.mono' | |
| 63 | - ((representative_smooth u hu).fderiv_right (m := ∞) (by simp)).continuous.aestronglyMeasurable | |
| 64 | - apply Filter.Eventually.of_forall | |
| 65 | - intro x | |
| 66 | - simpa only [Finset.sum_apply, f] using opNorm_le_sum_columns (fderiv ℝ (representative u hu) x) | |
| 67 | - | |
| 68 | 50 | end EulerMeanSmoothRepresentative |
+0 −13 Euler/MeanSpatialEvaluation.lean View file
| @@ -39,17 +39,4 @@ theorem representative_bound (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) ( | ||
| 39 | 39 | exact H.trans (mul_le_mul_of_nonneg_left (ordinarySobolev_norm_le 3 u hu) |
| 40 | 40 | (sobolevEmbeddingConstant_nonneg 1 3)) |
| 41 | 41 | |
| 42 | -/-- A family with continuous genuine L² derivatives through order three has jointly continuous values. -/ | |
| 43 | -theorem representative_joint_continuous {T : Type*} [TopologicalSpace T] | |
| 44 | - (u : T → EulerMeanSolenoidal.L2) (hu : ∀ t, SmoothOrbit (u t)) | |
| 45 | - (hjet : ∀ n ≤ 3, Continuous | |
| 46 | - (fun t => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u t)) 0)) : | |
| 47 | - Continuous (fun p : T × Space => representative (u p.1) (hu p.1) p.2) := by | |
| 48 | - have hc := ordinarySobolev_continuous 3 u hu hjet | |
| 49 | - have hp : Continuous (fun p : T × Space => | |
| 50 | - (ordinarySobolev 3 (u p.1) (hu p.1), (p.2, (0 : AddCircle (1 : ℝ))))) := | |
| 51 | - (hc.comp continuous_fst).prodMk (continuous_snd.prodMk continuous_const) | |
| 52 | - have H := (EulerSobolevJointEvaluation.pointEvaluation_joint_continuous 1).comp hp | |
| 53 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 54 | - | |
| 55 | 42 | end EulerMeanSmoothRepresentative |
+0 −60 Euler/MeanSpatialTimeDerivative.lean View file
| @@ -25,64 +25,4 @@ private theorem hasDerivWithinAt_submodule_iff {E : Type*} [NormedAddCommGroup E | ||
| 25 | 25 | rw [hasDerivWithinAt_iff_tendsto, hasDerivWithinAt_iff_tendsto] |
| 26 | 26 | rfl |
| 27 | 27 | |
| 28 | -/-- The derivative of the complete Sobolev array is fixed by the actual finite L² derivative tensors. -/ | |
| 29 | -theorem ordinarySobolev_hasDerivAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) | |
| 30 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) | |
| 31 | - (hjet : ∀ n ≤ q, HasDerivAt | |
| 32 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 33 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) : | |
| 34 | - HasDerivAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) t := by | |
| 35 | - apply (hasDerivAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _).mpr | |
| 36 | - apply hasDerivAt_pi.mpr | |
| 37 | - intro w | |
| 38 | - change HasDerivAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) | |
| 39 | - ((ordinarySobolev q v hv).val w) t | |
| 40 | - simp_rw [ordinarySobolev_coordinate] | |
| 41 | - let L := ordinaryLift.toContinuousLinearMap.comp | |
| 42 | - (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 | |
| 43 | - (coordinateTuple w.2)) | |
| 44 | - exact L.hasFDerivAt.comp_hasDerivAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) | |
| 45 | - | |
| 46 | -theorem ordinarySobolev_hasDerivWithinAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) | |
| 47 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) | |
| 48 | - (U : Set ℝ) (t : ℝ) | |
| 49 | - (hjet : ∀ n ≤ q, HasDerivWithinAt | |
| 50 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 51 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) : | |
| 52 | - HasDerivWithinAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) U t := by | |
| 53 | - apply (hasDerivWithinAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _ _).mpr | |
| 54 | - apply hasDerivWithinAt_pi.mpr | |
| 55 | - intro w | |
| 56 | - change HasDerivWithinAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) | |
| 57 | - ((ordinarySobolev q v hv).val w) U t | |
| 58 | - simp_rw [ordinarySobolev_coordinate] | |
| 59 | - let L := ordinaryLift.toContinuousLinearMap.comp | |
| 60 | - (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 | |
| 61 | - (coordinateTuple w.2)) | |
| 62 | - exact L.hasFDerivAt.comp_hasDerivWithinAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) | |
| 63 | - | |
| 64 | -/-- The actual pointwise time derivative equals the smooth representative of the L² derivative. -/ | |
| 65 | -theorem representative_hasDerivAt (u : ℝ → EulerMeanSolenoidal.L2) (hu : ∀ t, SmoothOrbit (u t)) | |
| 66 | - (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) | |
| 67 | - (hjet : ∀ n ≤ 3, HasDerivAt | |
| 68 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 69 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) | |
| 70 | - (x : Space) : | |
| 71 | - HasDerivAt (fun s => representative (u s) (hu s) x) (representative v hv x) t := by | |
| 72 | - have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivAt t | |
| 73 | - (ordinarySobolev_hasDerivAt 3 u hu v hv t hjet) | |
| 74 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 75 | - | |
| 76 | -theorem representative_hasDerivWithinAt (u : ℝ → EulerMeanSolenoidal.L2) | |
| 77 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) | |
| 78 | - (U : Set ℝ) (t : ℝ) | |
| 79 | - (hjet : ∀ n ≤ 3, HasDerivWithinAt | |
| 80 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 81 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) | |
| 82 | - (x : Space) : | |
| 83 | - HasDerivWithinAt (fun s => representative (u s) (hu s) x) (representative v hv x) U t := by | |
| 84 | - have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivWithinAt t | |
| 85 | - (ordinarySobolev_hasDerivWithinAt 3 u hu v hv U t hjet) | |
| 86 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 87 | - | |
| 88 | 28 | end EulerMeanSmoothRepresentative |
+0 −66 Euler/MeanStrongContinuousGevrey.lean View file
| @@ -41,70 +41,4 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 41 | 41 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T F t v‖^2) |
| 42 | 42 | (fC : C(Icc (0 : ℝ) T,L2)) |
| 43 | 43 | |
| 44 | -/-- Actual continuous acceleration and B_t obey uniform-time spatial | |
| 45 | -factorial bounds, with a fixed H¹ trace cost and one further Gram-inverse shift. -/ | |
| 46 | -theorem continuous_strong_spatial_gevrey (hTpos : 0 < T) | |
| 47 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 48 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 49 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 50 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 51 | - (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) | |
| 52 | - (Rc R CF CF₁ Cf : ℝ) (hRc : 0 ≤ Rc) (hR : 1 ≤ R) (hRcR : Rc ≤ R) | |
| 53 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) | |
| 54 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 55 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 56 | - (d : ℕ) | |
| 57 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ majorant R (d+1) n) | |
| 58 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ majorant R (d+2) n) | |
| 59 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b fC) a‖ ≤ Cf*majorant R d n) | |
| 60 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*coordinateTraceCost T))*(Rc+1) ≤ R) : | |
| 61 | - (∀ n a, ‖iteratedFDeriv ℝ n | |
| 62 | - (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ | |
| 63 | - majorant R (d+3) n) ∧ | |
| 64 | - (∀ n a, ‖iteratedFDeriv ℝ n | |
| 65 | - (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) a‖ ≤ | |
| 66 | - (3*(CF₁*coordinateTraceCost T+CF))*majorant R (d+3) n) := by | |
| 67 | - have hR0 : 0 ≤ R := zero_le_one.trans hR | |
| 68 | - have htrace := coordinateTraceCost_nonneg T hT | |
| 69 | - have hvc := s.coordinateVelocityPath_translation_contDiff hTpos hv ha | |
| 70 | - have hvcb (n : ℕ) (a : Space) : | |
| 71 | - ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ | |
| 72 | - coordinateTraceCost T*majorant R (d+2) n := by | |
| 73 | - have h := s.coordinateVelocityPath_translation_gevrey hTpos hv ha R 1 1 hR0 | |
| 74 | - zero_le_one zero_le_one (d+2) | |
| 75 | - (fun k x => by | |
| 76 | - simpa only [one_mul, Nat.add_assoc] using | |
| 77 | - (hvb k x).trans (majorant_shift_mono R hR (d+1) k)) | |
| 78 | - (fun k x => by simpa only [one_mul] using hab k x) n a | |
| 79 | - simpa only [coordinateTraceCost, mul_one] using h | |
| 80 | - have hfcb (n : ℕ) (a : Space) : | |
| 81 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b fC) a‖ ≤ Cf*majorant R (d+2) n := by | |
| 82 | - apply (hfb n a).trans | |
| 83 | - apply mul_le_mul_of_nonneg_left _ hCf | |
| 84 | - simpa only [Nat.add_assoc] using | |
| 85 | - (majorant_shift_mono R hR d n).trans (majorant_shift_mono R hR (d+1) n) | |
| 86 | - have hac := s.classicalAcceleration_translation_contDiff c hc hLower fC hF hF₁ hvc hfC | |
| 87 | - have hacb (n : ℕ) (a : Space) : | |
| 88 | - ‖iteratedFDeriv ℝ n | |
| 89 | - (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ | |
| 90 | - majorant R (d+3) n := by | |
| 91 | - have h := meanAccelerationPath_translation_gevrey T F F₁ c hc hLower s.coordinateVelocityPath fC | |
| 92 | - hF hF₁ hvc hfC Rc R CF CF₁ Cf (coordinateTraceCost T) hRc hR0 hRcR | |
| 93 | - hCF hCF₁ hCf htrace hstrong hFb hF₁b (d+2) hfcb hvcb n a | |
| 94 | - simpa only [Nat.add_assoc, meanAccelerationPath, classicalAcceleration] using h | |
| 95 | - refine ⟨hacb, ?_⟩ | |
| 96 | - have hFbR (n : ℕ) (a : Space) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n := | |
| 98 | - (hFb n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF) | |
| 99 | - have hF₁bR (n : ℕ) (a : Space) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n := | |
| 101 | - (hF₁b n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF₁) | |
| 102 | - intro n a | |
| 103 | - have h := s.classicalPhysicalDerivative_translation_gevrey c hc hLower fC hF hF₁ hvc hac | |
| 104 | - R CF CF₁ (coordinateTraceCost T) 1 hR0 hCF hCF₁ htrace zero_le_one (d+3) hFbR hF₁bR | |
| 105 | - (fun k x => (hvcb k x).trans (mul_le_mul_of_nonneg_left | |
| 106 | - (by simpa only [Nat.add_assoc] using majorant_shift_mono R hR (d+2) k) htrace)) | |
| 107 | - (fun k x => by simpa only [one_mul] using hacb k x) n a | |
| 108 | - simpa only [mul_one] using h | |
| 109 | - | |
| 110 | 44 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −123 Euler/MeanStrongEstimates.lean View file
| @@ -61,128 +61,5 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 61 | 61 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 62 | 62 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 63 | 63 | |
| 64 | -/-- Inverse-frame application bounds the actual coordinate velocity by B. -/ | |
| 65 | -theorem velocityLp_norm_le | |
| 66 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) : | |
| 67 | - ‖s.velocityLp‖ ≤ ‖FInv‖*‖s.velocityField‖ := by | |
| 68 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 69 | - filter_upwards [timeMultiplier_ae T hT (solenoidalFrame T F) s.velocityLp] with t ht | |
| 70 | - have hi := (congrArg (fun x : L2 => FInv (projIcc 0 T hT t) x) ht).trans | |
| 71 | - (hInv (projIcc 0 T hT t) (s.velocityLp t : L2)) | |
| 72 | - calc | |
| 73 | - ‖s.velocityLp t‖ = ‖FInv (projIcc 0 T hT t) (s.velocityField t)‖ := | |
| 74 | - (congrArg norm hi).symm | |
| 75 | - _ ≤ ‖FInv (projIcc 0 T hT t)‖*‖s.velocityField t‖ := (FInv _).le_opNorm _ | |
| 76 | - _ ≤ ‖FInv‖*‖s.velocityField t‖ := | |
| 77 | - mul_le_mul_of_nonneg_right (FInv.norm_coe_le_norm _) (norm_nonneg _) | |
| 78 | - | |
| 79 | -/-- The actual physical velocity obeys the explicit derivative-variable bound. -/ | |
| 80 | -theorem velocityField_norm | |
| 81 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 82 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 83 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 84 | - ‖s.velocityField‖ ≤ (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖ := by | |
| 85 | - calc | |
| 86 | - ‖s.velocityField‖ = ‖meanVelocityMap T hT FInv F₁ u‖ := | |
| 87 | - congrArg norm (s.velocityField_eq_meanVelocityMap hF hRight) | |
| 88 | - _ ≤ _ := meanVelocityMap_apply_norm T hT FInv F₁ u | |
| 89 | - | |
| 90 | -/-- Combining the two actual bounds controls z_t by the original variational variable. -/ | |
| 91 | -theorem velocityLp_norm_from_input | |
| 92 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 93 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 94 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 95 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 96 | - ‖s.velocityLp‖ ≤ ‖FInv‖*((1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖) := | |
| 97 | - (s.velocityLp_norm_le hInv).trans | |
| 98 | - (mul_le_mul_of_nonneg_left (s.velocityField_norm hF hRight) (norm_nonneg FInv)) | |
| 99 | - | |
| 100 | -/-- The actual strong acceleration pays only the inverse Gram and coefficient norms. -/ | |
| 101 | -theorem acceleration_norm | |
| 102 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) : | |
| 103 | - ‖s.acceleration‖ ≤ (‖FInv‖+1)^2*‖F‖*(‖f‖+2*‖F₁‖*‖s.velocityLp‖) := by | |
| 104 | - have heq : ∀ᵐ t ∂timeMeasure T, | |
| 105 | - gram (extendPath T hT (solenoidalFrame T F) t) (s.acceleration t) = | |
| 106 | - (solenoidalFrame T F (projIcc 0 T hT t)).adjoint | |
| 107 | - (f t-(2 : ℝ) • solenoidalFrame T F₁ (projIcc 0 T hT t) (s.velocityLp t)) := by | |
| 108 | - filter_upwards [s.equation, s.velocity_ae] with t ht hv | |
| 109 | - have hh := congrArg (fun v : solenoidalSpace => | |
| 110 | - solenoidalProjection ((F (projIcc 0 T hT t)).adjoint | |
| 111 | - (f t-(2 : ℝ) • F₁ (projIcc 0 T hT t) (v : L2)))) hv | |
| 112 | - exact gram_equation_of_ordinary (F (projIcc 0 T hT t)) (F₁ (projIcc 0 T hT t)) | |
| 113 | - (f t) (s.acceleration t) (s.velocityLp t) (ht.trans hh.symm) | |
| 114 | - have h := EulerTransverseStrongEstimates.acceleration_norm T (solenoidalFrame T F) | |
| 115 | - (solenoidalFrame T F₁) (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) | |
| 116 | - (solenoidalFrame_lower T FInv F hInv) hT s.velocityLp s.acceleration f heq | |
| 117 | - have h' : ‖s.acceleration‖ ≤ (‖FInv‖+1)^2*‖solenoidalFrame T F‖* | |
| 118 | - (‖f‖+2*‖solenoidalFrame T F₁‖*‖s.velocityLp‖) := by | |
| 119 | - simpa only [meanFrameCoercivity, inv_inv] using h | |
| 120 | - apply h'.trans | |
| 121 | - gcongr | |
| 122 | - · exact solenoidalFrame_norm_le T F | |
| 123 | - · exact solenoidalFrame_norm_le T F₁ | |
| 124 | - | |
| 125 | -/-- The product-rule derivative B_t has the corresponding actual L² bound. -/ | |
| 126 | -theorem velocityDerivative_norm : | |
| 127 | - ‖s.velocityDerivative‖ ≤ ‖F₁‖*‖s.velocityLp‖+‖F‖*‖s.acceleration‖ := by | |
| 128 | - apply (fieldProductDerivative_norm_le T hT (solenoidalFrame T F) (solenoidalFrame T F₁) | |
| 129 | - s.velocityLp s.acceleration).trans | |
| 130 | - exact add_le_add | |
| 131 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F₁) (norm_nonneg _)) | |
| 132 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F) (norm_nonneg _)) | |
| 133 | - | |
| 134 | -/-- The actual pressure-gradient residual is controlled without differentiating H. -/ | |
| 135 | -theorem pressureResidual_norm : | |
| 136 | - ‖s.pressureResidual‖ ≤ ‖f‖+‖F‖*‖s.acceleration‖+2*‖F₁‖*‖s.velocityLp‖ := by | |
| 137 | - have hfa : ‖timeMultiplier T hT (solenoidalFrame T F) s.acceleration‖ ≤ ‖F‖*‖s.acceleration‖ := | |
| 138 | - (timeApply_bound T hT (solenoidalFrame T F) _).trans | |
| 139 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F) (norm_nonneg _)) | |
| 140 | - have hfv : ‖timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp‖ ≤ ‖F₁‖*‖s.velocityLp‖ := | |
| 141 | - (timeApply_bound T hT (solenoidalFrame T F₁) _).trans | |
| 142 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F₁) (norm_nonneg _)) | |
| 143 | - calc | |
| 144 | - ‖s.pressureResidual‖ ≤ ‖f‖+ | |
| 145 | - ‖timeMultiplier T hT (solenoidalFrame T F) s.acceleration‖+ | |
| 146 | - 2*‖timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp‖ := | |
| 147 | - norm_sub_sub_two_smul f | |
| 148 | - (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) | |
| 149 | - (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) | |
| 150 | - _ ≤ ‖f‖+‖F‖*‖s.acceleration‖+2*(‖F₁‖*‖s.velocityLp‖) := | |
| 151 | - add_le_add (add_le_add le_rfl hfa) (mul_le_mul_of_nonneg_left hfv (by norm_num)) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | -/-- The derived compact-initial-data law has an actual quantitative trace bound. -/ | |
| 155 | -theorem initialPhysicalVelocity_norm | |
| 156 | - (hFInv₀ : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 157 | - (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) : | |
| 158 | - ‖s.physicalPath 0‖ ≤ |L| * ‖A‖*Real.sqrt T*‖u‖ := by | |
| 159 | - have hz : (s.label 0 : L2) = realPrimitive T u 0 := by | |
| 160 | - simpa only [hFInv₀, id_apply] using s.label_eq ⟨0, le_rfl, hT⟩ | |
| 161 | - have hzbound : ‖(s.label 0 : L2)‖ ≤ Real.sqrt T*‖u‖ := by | |
| 162 | - have h := realPrimitive_norm_le T u 0 ⟨le_rfl, hT⟩ | |
| 163 | - simp only [sub_zero] at h | |
| 164 | - exact (congrArg norm hz).trans_le h | |
| 165 | - calc | |
| 166 | - ‖s.physicalPath 0‖ = |L| * ‖A (s.label 0 : L2)‖ := by | |
| 167 | - rw [s.physicalPath_initial hF₀, norm_smul, Real.norm_eq_abs] | |
| 168 | - _ ≤ |L| * (‖A‖*‖(s.label 0 : L2)‖) := | |
| 169 | - mul_le_mul_of_nonneg_left (A.le_opNorm _) (abs_nonneg L) | |
| 170 | - _ ≤ |L| * (‖A‖*(Real.sqrt T*‖u‖)) := | |
| 171 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hzbound (norm_nonneg A)) (abs_nonneg L) | |
| 172 | - _ = _ := by ring | |
| 173 | - | |
| 174 | -/-- The actual continuous velocity is uniformly controlled in time by its | |
| 175 | -initial trace and the proved L² derivative bound. -/ | |
| 176 | -theorem physicalPath_norm_uniform | |
| 177 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 178 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 179 | - (hFInv₀ : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 180 | - (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 181 | - (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 182 | - ‖s.physicalPath t‖ ≤ |L| * ‖A‖*Real.sqrt T*‖u‖+Real.sqrt T*‖s.velocityDerivative‖ := by | |
| 183 | - have hV := s.physical_h1 hF | |
| 184 | - apply (norm_le_initial_add_uniform T hT s.velocityDerivative s.physicalPath hV.1 hV.2.2 t ht).trans | |
| 185 | - exact add_le_add (s.initialPhysicalVelocity_norm hFInv₀ hF₀) le_rfl | |
| 186 | - | |
| 187 | 64 | end StrongMeanEvolution |
| 188 | 65 | end EulerMeanVariationalInverse |
+0 −58 Euler/MeanStrongGevrey.lean View file
| @@ -70,62 +70,4 @@ variable (c : ℝ) (hc : 0 < c) | ||
| 70 | 70 | (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) |
| 71 | 71 | (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ majorant R (d+1) n) |
| 72 | 72 | |
| 73 | -include hc hLower hF hF₁ hv hf hRc hR hRcR hCF hCF₁ hCf hstrong hFb hF₁b hfb hvb in | |
| 74 | -/-- The actual strong fields have the source's successive factorial shifts. -/ | |
| 75 | -theorem spatial_gevrey_bounds : | |
| 76 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ | |
| 77 | - majorant R (d+2) n) ∧ | |
| 78 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 79 | - (3*CF)*majorant R (d+1) n) ∧ | |
| 80 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ | |
| 81 | - (3*(CF₁+CF))*majorant R (d+2) n) := by | |
| 82 | - have hR0 : 0 ≤ R := zero_le_one.trans hR | |
| 83 | - have hfb' (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ | |
| 84 | - Cf*majorant R (d+1) n := | |
| 85 | - (hfb n a).trans (mul_le_mul_of_nonneg_left (majorant_shift_mono R hR d n) hCf) | |
| 86 | - have hva (n a) := meanAcceleration_translation_gevrey T hT F F₁ c hc hLower s.velocityLp f | |
| 87 | - hF hF₁ hv hf Rc R CF CF₁ Cf 1 hRc hR0 hRcR hCF hCF₁ hCf zero_le_one | |
| 88 | - (by simpa only [mul_one] using hstrong) hFb hF₁b (d+1) hfb' | |
| 89 | - (by simpa only [one_mul] using hvb) n a | |
| 90 | - have heq := congrArg (fun v : TimeLp T solenoidalSpace => | |
| 91 | - fun a : Space => timeSolenoidalTranslation T a v) (s.acceleration_eq_meanAcceleration c hc hLower) | |
| 92 | - have hab (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ | |
| 93 | - majorant R (d+2) n := by | |
| 94 | - have h := (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le (hva n a) | |
| 95 | - simpa only [Nat.add_assoc] using h | |
| 96 | - have hFR (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n := | |
| 97 | - (hFb n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF) | |
| 98 | - have hF₁R (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n := | |
| 99 | - (hF₁b n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF₁) | |
| 100 | - have hBb (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 101 | - (3*CF)*majorant R (d+1) n := by | |
| 102 | - simpa only [mul_one] using s.velocityField_translation_gevrey hF hv R CF 1 hR0 hCF zero_le_one | |
| 103 | - (d+1) hFR (by simpa only [one_mul] using hvb) n a | |
| 104 | - have hvb' (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ | |
| 105 | - 1*majorant R (d+2) n := by | |
| 106 | - simpa only [one_mul, Nat.add_assoc] using (hvb n a).trans (majorant_shift_mono R hR (d+1) n) | |
| 107 | - have ha := s.acceleration_orbit_contDiff c hc hLower hF hF₁ hv hf | |
| 108 | - refine ⟨hab, hBb, ?_⟩ | |
| 109 | - intro n a | |
| 110 | - simpa only [mul_one] using s.velocityDerivative_translation_gevrey hF hF₁ hv ha | |
| 111 | - R CF CF₁ 1 1 hR0 hCF hCF₁ zero_le_one zero_le_one (d+2) hFR hF₁R hvb' | |
| 112 | - (by simpa only [one_mul] using hab) n a | |
| 113 | - | |
| 114 | -include hc hLower hF hF₁ hv hf hRc hR hRcR hCF hCF₁ hCf hstrong hFb hF₁b hfb hvb in | |
| 115 | -/-- The actual continuous-time velocity has the same fixed factorial radius. -/ | |
| 116 | -theorem continuousVelocity_spatial_gevrey (hTpos : 0 < T) (n : ℕ) (a : Space) : | |
| 117 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b s.continuousVelocity) a‖ ≤ | |
| 118 | - ((T⁻¹*Real.sqrt T)*(3*CF)+(2*Real.sqrt T)*(3*(CF₁+CF)))*majorant R (d+2) n := by | |
| 119 | - have hb := s.spatial_gevrey_bounds c hc hLower hF hF₁ hv hf Rc R CF CF₁ Cf hRc hR hRcR | |
| 120 | - hCF hCF₁ hCf hstrong hFb hF₁b d hfb hvb | |
| 121 | - have hBb (k b) : ‖iteratedFDeriv ℝ k (fun x : Space => timeTranslation T x s.velocityField) b‖ ≤ | |
| 122 | - (3*CF)*majorant R (d+2) k := by | |
| 123 | - have h := (hb.2.1 k b).trans (mul_le_mul_of_nonneg_left (majorant_shift_mono R hR (d+1) k) (by positivity)) | |
| 124 | - simpa only [Nat.add_assoc] using h | |
| 125 | - have ha := s.acceleration_orbit_contDiff c hc hLower hF hF₁ hv hf | |
| 126 | - exact s.continuousVelocity_translation_gevrey hTpos (s.velocityField_translation_contDiff hF hv) | |
| 127 | - (s.velocityDerivative_translation_contDiff hF hF₁ hv ha) | |
| 128 | - R (3*CF) (3*(CF₁+CF)) (zero_le_one.trans hR) (by positivity) (by positivity) (d+2) | |
| 129 | - hBb hb.2.2 n a | |
| 130 | - | |
| 131 | 73 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −38 Euler/MeanTimeContinuousTranslation.lean View file
| @@ -53,33 +53,6 @@ theorem reconstruction_translation_contDiff (T : ℝ) (hT : 0 ≤ T) | ||
| 53 | 53 | (reconstruction_contDiff T hT (fun a : Space => timeTranslation T a p) |
| 54 | 54 | (fun a : Space => timeTranslation T a q) hp hq) |
| 55 | 55 | |
| 56 | -/-- The true uniform-time norm of every spatial orbit derivative has only the | |
| 57 | -proved H¹ trace cost. -/ | |
| 58 | -theorem reconstruction_translation_gevrey (T : ℝ) (hT : 0 < T) | |
| 59 | - (p q : TimeLp T L2) | |
| 60 | - (hp : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a p)) | |
| 61 | - (hq : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a q)) | |
| 62 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 63 | - (hbp : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b p) a‖ ≤ C*majorant R d n) | |
| 64 | - (hbq : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b q) a‖ ≤ D*majorant R d n) | |
| 65 | - (n : ℕ) (a : Space) : | |
| 66 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 67 | - pathTranslation T b (reconstruction T hT.le (p,q))) a‖ ≤ | |
| 68 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := by | |
| 69 | - have heq : (fun b : Space => pathTranslation T b (reconstruction T hT.le (p,q))) = | |
| 70 | - fun b : Space => reconstruction T hT.le (timeTranslation T b p, timeTranslation T b q) := | |
| 71 | - funext (fun b => pathTranslation_reconstruction T hT.le b p q) | |
| 72 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T, L2) => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le | |
| 73 | - (reconstruction_gevrey T hT (fun b : Space => timeTranslation T b p) | |
| 74 | - (fun b : Space => timeTranslation T b q) hp hq R C D hR hC hD d hbp hbq n a) | |
| 75 | - | |
| 76 | -/-- Time evaluation is a norm contraction on continuous ordinary-L² paths. -/ | |
| 77 | -theorem evaluation_norm_le (T : ℝ) (t : Icc (0 : ℝ) T) : | |
| 78 | - ‖(ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T, L2) →L[ℝ] L2)‖ ≤ 1 := by | |
| 79 | - apply opNorm_le_bound _ zero_le_one | |
| 80 | - intro p | |
| 81 | - simpa only [ContinuousMap.evalCLM_apply, one_mul] using p.norm_coe_le_norm t | |
| 82 | - | |
| 83 | 56 | /-- Every actual time value has a smooth ordinary spatial translation orbit. -/ |
| 84 | 57 | theorem pathTranslation_evaluation_contDiff (T : ℝ) |
| 85 | 58 | (p : C(Icc (0 : ℝ) T, L2)) {n : ℕ∞ω} |
| @@ -90,15 +63,4 @@ theorem pathTranslation_evaluation_contDiff (T : ℝ) | ||
| 90 | 63 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 91 | 64 | (E := C(Icc (0 : ℝ) T, L2)) (F := L2) (ContinuousMap.evalCLM ℝ t)) hp |
| 92 | 65 | |
| 93 | -/-- Time evaluation preserves every uniform spatial factorial bound without loss. -/ | |
| 94 | -theorem pathTranslation_evaluation_gevrey (T : ℝ) | |
| 95 | - (p : C(Icc (0 : ℝ) T, L2)) | |
| 96 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 97 | - (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) | |
| 98 | - (hb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b p) a‖ ≤ C*majorant R d n) | |
| 99 | - (t : Icc (0 : ℝ) T) (n : ℕ) (a : Space) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : Space => translation b (p t)) a‖ ≤ C*majorant R d n := | |
| 101 | - contraction_bound (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T, L2) →L[ℝ] L2) | |
| 102 | - (evaluation_norm_le T t) (fun b : Space => pathTranslation T b p) hp R C hR hC d hb n a | |
| 103 | - | |
| 104 | 66 | end EulerMeanTimeContinuousTranslation |
+0 −21 Euler/MeanTimeReflection.lean View file
| @@ -52,27 +52,6 @@ theorem timeSolenoidalReflection_ae (T : ℝ) (u : TimeLp T solenoidalSpace) : | ||
| 52 | 52 | timeSolenoidalReflection_ae T u] with t h₁ h₂ |
| 53 | 53 | exact h₁.trans ((congrArg solenoidalReflection h₂).trans (solenoidalReflection_involutive (u t))) |
| 54 | 54 | |
| 55 | -theorem timeReflection_inner_shift (T : ℝ) (u v : TimeLp T L2) : | |
| 56 | - ⟪timeReflection T u,v⟫_ℝ = ⟪u,timeReflection T v⟫_ℝ := | |
| 57 | - (congrArg (fun z : TimeLp T L2 => ⟪timeReflection T u,z⟫_ℝ) | |
| 58 | - (timeReflection_involutive T v)).symm.trans | |
| 59 | - ((timeReflection T).inner_map_map u (timeReflection T v)) | |
| 60 | - | |
| 61 | -theorem timeSolenoidalReflection_inner_shift (T : ℝ) (u v : TimeLp T solenoidalSpace) : | |
| 62 | - ⟪timeSolenoidalReflection T u,v⟫_ℝ = ⟪u,timeSolenoidalReflection T v⟫_ℝ := by | |
| 63 | - have h := LinearIsometry.inner_map_map (𝕜 := ℝ) | |
| 64 | - (E := TimeLp T solenoidalSpace) (E' := TimeLp T solenoidalSpace) | |
| 65 | - (timeSolenoidalReflection T) u (timeSolenoidalReflection T v) | |
| 66 | - simpa only [timeSolenoidalReflection_involutive] using h | |
| 67 | - | |
| 68 | -theorem timeReflection_realPrimitive (T : ℝ) (u : TimeLp T L2) (t : ℝ) : | |
| 69 | - realPrimitive T (timeReflection T u) t = reflection (realPrimitive T u t) := | |
| 70 | - realPrimitive_timeLift T reflection.toContinuousLinearMap u t | |
| 71 | - | |
| 72 | -theorem timeSolenoidalReflection_realPrimitive (T : ℝ) (u : TimeLp T solenoidalSpace) (t : ℝ) : | |
| 73 | - realPrimitive T (timeSolenoidalReflection T u) t = solenoidalReflection (realPrimitive T u t) := | |
| 74 | - realPrimitive_timeLift T solenoidalReflection.toContinuousLinearMap u t | |
| 75 | - | |
| 76 | 55 | theorem timeReflection_initialTrace (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T L2) : |
| 77 | 56 | initialTrace T hT (timeReflection T u) = reflection (initialTrace T hT u) := |
| 78 | 57 | initialTrace_timeLift T hT reflection.toContinuousLinearMap u |
+0 −40 Euler/MeanTimeTranslation.lean View file
| @@ -41,11 +41,6 @@ theorem translation_continuous (u : L2) : Continuous (fun a : Space => translati | ||
| 41 | 41 | exact continuous_const.compMeasurePreservingLp hg |
| 42 | 42 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 43 | 43 | |
| 44 | -/-- The same strong continuity holds on the closed solenoidal subspace. -/ | |
| 45 | -theorem solenoidalTranslation_continuous (u : solenoidalSpace) : | |
| 46 | - Continuous (fun a : Space => solenoidalTranslation a u) := | |
| 47 | - (translation_continuous (u : L2)).subtype_mk (fun a => translation_solenoidal_mem a u.property) | |
| 48 | - | |
| 49 | 44 | /-- Actual spatial translation at every Bochner time slice. -/ |
| 50 | 45 | def timeTranslation (T : ℝ) (a : Space) : TimeLp T L2 →ₗᵢ[ℝ] TimeLp T L2 := |
| 51 | 46 | timeLiftIsometry T (translation a) |
| @@ -63,13 +58,6 @@ theorem timeSolenoidalTranslation_ae (T : ℝ) (a : Space) (u : TimeLp T solenoi | ||
| 63 | 58 | timeSolenoidalTranslation T a u =ᵐ[timeMeasure T] fun t => solenoidalTranslation a (u t) := |
| 64 | 59 | timeLift_ae T (solenoidalTranslation a).toContinuousLinearMap u |
| 65 | 60 | |
| 66 | -theorem timeTranslation_add (T : ℝ) (a b : Space) (u : TimeLp T L2) : | |
| 67 | - timeTranslation T a (timeTranslation T b u) = timeTranslation T (a+b) u := by | |
| 68 | - apply Lp.ext | |
| 69 | - filter_upwards [timeTranslation_ae T a (timeTranslation T b u), timeTranslation_ae T b u, | |
| 70 | - timeTranslation_ae T (a+b) u] with t ha hb hab | |
| 71 | - exact (ha.trans (congrArg (translation a) hb)).trans ((translation_add a b (u t)).trans hab.symm) | |
| 72 | - | |
| 73 | 61 | @[simp] theorem timeTranslation_zero (T : ℝ) (u : TimeLp T L2) : timeTranslation T 0 u = u := by |
| 74 | 62 | apply Lp.ext |
| 75 | 63 | filter_upwards [timeTranslation_ae T 0 u] with t ht |
| @@ -90,38 +78,10 @@ theorem timeSolenoidalTranslation_add (T : ℝ) (a b : Space) (u : TimeLp T sole | ||
| 90 | 78 | filter_upwards [timeSolenoidalTranslation_ae T 0 u] with t ht |
| 91 | 79 | exact ht.trans (solenoidalTranslation_zero (u t)) |
| 92 | 80 | |
| 93 | -/-- The actual spatial action is continuous in translation for every time-L² field. -/ | |
| 94 | -theorem timeTranslation_continuous (T : ℝ) (u : TimeLp T L2) : | |
| 95 | - Continuous (fun a : Space => timeTranslation T a u) := | |
| 96 | - timeLift_strongly_continuous T (fun a => (translation a).toContinuousLinearMap) | |
| 97 | - (fun a => (translation a).norm_map) translation_continuous u | |
| 98 | - | |
| 99 | -/-- Strong continuity on the fixed mean derivative space. -/ | |
| 100 | -theorem timeSolenoidalTranslation_continuous (T : ℝ) (u : TimeLp T solenoidalSpace) : | |
| 101 | - Continuous (fun a : Space => timeSolenoidalTranslation T a u) := | |
| 102 | - timeLift_strongly_continuous T (fun a => (solenoidalTranslation a).toContinuousLinearMap) | |
| 103 | - (fun a => (solenoidalTranslation a).norm_map) solenoidalTranslation_continuous u | |
| 104 | - | |
| 105 | -theorem timeTranslation_realPrimitive (T : ℝ) (a : Space) (u : TimeLp T L2) (t : ℝ) : | |
| 106 | - realPrimitive T (timeTranslation T a u) t = translation a (realPrimitive T u t) := | |
| 107 | - realPrimitive_timeLift T (translation a).toContinuousLinearMap u t | |
| 108 | - | |
| 109 | -theorem timeSolenoidalTranslation_realPrimitive (T : ℝ) (a : Space) | |
| 110 | - (u : TimeLp T solenoidalSpace) (t : ℝ) : | |
| 111 | - realPrimitive T (timeSolenoidalTranslation T a u) t = | |
| 112 | - solenoidalTranslation a (realPrimitive T u t) := | |
| 113 | - realPrimitive_timeLift T (solenoidalTranslation a).toContinuousLinearMap u t | |
| 114 | - | |
| 115 | 81 | theorem timeTranslation_initialTrace (T : ℝ) (hT : 0 ≤ T) (a : Space) (u : TimeLp T L2) : |
| 116 | 82 | initialTrace T hT (timeTranslation T a u) = translation a (initialTrace T hT u) := |
| 117 | 83 | initialTrace_timeLift T hT (translation a).toContinuousLinearMap u |
| 118 | 84 | |
| 119 | -theorem timeSolenoidalTranslation_initialTrace (T : ℝ) (hT : 0 ≤ T) (a : Space) | |
| 120 | - (u : TimeLp T solenoidalSpace) : | |
| 121 | - initialTrace T hT (timeSolenoidalTranslation T a u) = | |
| 122 | - solenoidalTranslation a (initialTrace T hT u) := | |
| 123 | - initialTrace_timeLift T hT (solenoidalTranslation a).toContinuousLinearMap u | |
| 124 | - | |
| 125 | 85 | theorem timeTranslation_primitiveTimeLp (T : ℝ) (hT : 0 ≤ T) (a : Space) (u : TimeLp T L2) : |
| 126 | 86 | primitiveTimeLp T hT (timeTranslation T a u) = timeTranslation T a (primitiveTimeLp T hT u) := |
| 127 | 87 | primitiveTimeLp_timeLift T hT (translation a).toContinuousLinearMap u |
+0 −76 Euler/MeanTranslatedGevrey.lean View file
| @@ -34,89 +34,13 @@ private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T solenoidalSpa | ||
| 34 | 34 | def operatorAmplitude (T CF CF₁ CH CM CA L : ℝ) : ℝ := |
| 35 | 35 | 9*(T*CF₁+CF)^2*(1+(T^2/2)*CH+T*(CM+|L| * CA)) |
| 36 | 36 | |
| 37 | -/-- The proved polynomial amplitude of the actual forcing pullback. -/ | |
| 38 | -def forcingAmplitude (T CF CF₁ Cf : ℝ) : ℝ := 3*(T*(T*CF₁+CF))*Cf | |
| 39 | - | |
| 40 | 37 | theorem operatorAmplitude_nonneg (T CF CF₁ CH CM CA L : ℝ) |
| 41 | 38 | (hT : 0 ≤ T) (hCH : 0 ≤ CH) (hCM : 0 ≤ CM) (hCA : 0 ≤ CA) : |
| 42 | 39 | 0 ≤ operatorAmplitude T CF CF₁ CH CM CA L := by unfold operatorAmplitude; positivity |
| 43 | 40 | |
| 44 | -theorem forcingAmplitude_nonneg (T CF CF₁ Cf : ℝ) | |
| 45 | - (hT : 0 ≤ T) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) : | |
| 46 | - 0 ≤ forcingAmplitude T CF CF₁ Cf := by unfold forcingAmplitude; positivity | |
| 47 | - | |
| 48 | 41 | variable (T : ℝ) (hT : 0 ≤ T) |
| 49 | 42 | (F F₁ H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L c : ℝ) |
| 50 | 43 | (hc : 0 < c) |
| 51 | 44 | (hcoercive : ∀ v, c*‖v‖^2 ≤ ⟪fixedMeanOperator T hT F F₁ H M0 A L v,v⟫_ℝ) |
| 52 | 45 | |
| 53 | -/-- Every actual spatial derivative of the solved mean field satisfies the | |
| 54 | -factorial bound, with no assumed solution-jet recurrence. -/ | |
| 55 | -theorem solution_translation_gevrey | |
| 56 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 57 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 58 | - (hH : ContDiff ℝ ∞ (fun a : Space => translatePath T a H)) | |
| 59 | - (hM0 : ContDiff ℝ ∞ (fun a : Space => translateOperator a M0)) | |
| 60 | - (hA : ContDiff ℝ ∞ (fun a : Space => translateOperator a A)) | |
| 61 | - (f : TimeLp T L2) (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 62 | - (Rc R M CF CF₁ CH CM CA Cf : ℝ) | |
| 63 | - (hRc : 0 ≤ Rc) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCH : 0 ≤ CH) | |
| 64 | - (hCM : 0 ≤ CM) (hCA : 0 ≤ CA) (hCf : 0 ≤ Cf) | |
| 65 | - (hM : 1 ≤ M) | |
| 66 | - (hMC : c⁻¹*operatorAmplitude T CF CF₁ CH CM CA L ≤ M) | |
| 67 | - (hMD : c⁻¹*forcingAmplitude T CF CF₁ Cf ≤ M) | |
| 68 | - (hR : 2*M*(Rc+1) ≤ R) | |
| 69 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 70 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 71 | - (hHb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b H) a‖ ≤ CH*majorant Rc 0 n) | |
| 72 | - (hMb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translateOperator b M0) a‖ ≤ CM*majorant Rc 0 n) | |
| 73 | - (hAb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translateOperator b A) a‖ ≤ CA*majorant Rc 0 n) | |
| 74 | - (d : ℕ) (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 75 | - (n : ℕ) (x : Space) : | |
| 76 | - ‖iteratedFDeriv ℝ n (fun a : Space => timeSolenoidalTranslation T a | |
| 77 | - (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hcoercive | |
| 78 | - (-(fixedMeanPrimitive T hT F F₁).adjoint f))) x‖ ≤ majorant R (d+1) n := by | |
| 79 | - have hRcR : Rc ≤ R := by nlinarith | |
| 80 | - have hR0 : 0 ≤ R := hRc.trans hRcR | |
| 81 | - have hFbr (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 k := | |
| 82 | - (hFb k a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF) | |
| 83 | - have hF₁br (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 k := | |
| 84 | - (hF₁b k a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF₁) | |
| 85 | - have hO : ContDiff ℝ ∞ (fun a : Space => translatedMeanOperator T hT a F F₁ H M0 A L) := | |
| 86 | - contDiff_fixedMeanOperator T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) | |
| 87 | - (fun a => translatePath T a H) (fun a => translateOperator a M0) (fun a => translateOperator a A) | |
| 88 | - L hF hF₁ hH hM0 hA | |
| 89 | - have hJ : ContDiff ℝ ∞ (fun a : Space => translatedMeanPrimitive T hT a F F₁) := | |
| 90 | - contDiff_fixedMeanPrimitive T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) hF hF₁ | |
| 91 | - have hG : ContDiff ℝ ∞ (fun a : Space => | |
| 92 | - -(translatedMeanPrimitive T hT a F F₁).adjoint (timeTranslation T a f)) := | |
| 93 | - (((realAdjoint (U := TimeLp T solenoidalSpace) (E := TimeLp T L2)).contDiff.comp hJ).clm_apply hf).neg | |
| 94 | - have hOb (j a) : ‖iteratedFDeriv ℝ (j+1) | |
| 95 | - (fun b : Space => translatedMeanOperator T hT b F F₁ H M0 A L) a‖ ≤ | |
| 96 | - operatorAmplitude T CF CF₁ CH CM CA L*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 97 | - have h := fixedMeanOperator_bound T hT (fun a => translatePath T a F) | |
| 98 | - (fun a => translatePath T a F₁) (fun a => translatePath T a H) | |
| 99 | - (fun a => translateOperator a M0) (fun a => translateOperator a A) L hF hF₁ hH hM0 hA | |
| 100 | - Rc CF CF₁ CH CM CA hRc hCF hCF₁ hCH hCM hCA hFb hF₁b hHb hMb hAb (j+1) a | |
| 101 | - simpa only [translatedMeanOperator, operatorAmplitude, majorant, Nat.add_zero] using h | |
| 102 | - have hGb (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => | |
| 103 | - -(translatedMeanPrimitive T hT b F F₁).adjoint (timeTranslation T b f)) a‖ ≤ | |
| 104 | - forcingAmplitude T CF CF₁ Cf*majorant R d k := | |
| 105 | - fixedMeanForcing_bound T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) | |
| 106 | - (fun a => timeTranslation T a f) hF hF₁ hf R CF CF₁ Cf hR0 hCF hCF₁ hCf d hFbr hF₁br hfb k a | |
| 107 | - have hout := coerciveSolution_gevrey_amplitudes | |
| 108 | - (fun a : Space => translatedMeanOperator T hT a F F₁ H M0 A L) (fun _ => c) (fun _ => hc) | |
| 109 | - (fun a => translatedMeanOperator_coercive T hT a F F₁ H M0 A L c hcoercive) | |
| 110 | - (fun a : Space => -(translatedMeanPrimitive T hT a F F₁).adjoint (timeTranslation T a f)) hO hG | |
| 111 | - c⁻¹ (operatorAmplitude T CF CF₁ CH CM CA L) (forcingAmplitude T CF CF₁ Cf) M Rc R | |
| 112 | - (operatorAmplitude_nonneg T CF CF₁ CH CM CA L hT hCH hCM hCA) | |
| 113 | - (forcingAmplitude_nonneg T CF CF₁ Cf hT hCF hCF₁ hCf) hM hMC hMD hRc hR (fun _ => le_rfl) | |
| 114 | - hOb d hGb n x | |
| 115 | - have heq : (fun a : Space => translatedMeanSolver T hT F F₁ H M0 A L c hc hcoercive a (timeTranslation T a f)) = | |
| 116 | - (fun a : Space => timeSolenoidalTranslation T a | |
| 117 | - (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hcoercive | |
| 118 | - (-(fixedMeanPrimitive T hT F F₁).adjoint f))) := | |
| 119 | - funext (fun a => translatedMeanSolver_covariance T hT F F₁ H M0 A L c hc hcoercive a f) | |
| 120 | - exact (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g x‖) heq.symm).trans_le hout | |
| 121 | - | |
| 122 | 46 | end EulerMeanTranslatedGevrey |
+0 −190 Euler/MeanVariationalInverse.lean View file
| @@ -41,19 +41,6 @@ def meanDerivatives (T : ℝ) (hT : 0 ≤ T) | ||
| 41 | 41 | intro a u hu t |
| 42 | 42 | simpa only [map_smul, ContinuousMap.smul_apply] using solenoidalSpace.smul_mem a (hu t) |
| 43 | 43 | |
| 44 | -/-- Every genuine absolutely continuous terminal-zero path with an L² derivative | |
| 45 | -and the label-solenoidal constraint is represented in this Hilbert space. -/ | |
| 46 | -theorem derivative_mem_of_ac (T : ℝ) (hT : 0 ≤ T) | |
| 47 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) (η : ℝ → L2) | |
| 48 | - (hη : AbsolutelyContinuousOnInterval η 0 T) | |
| 49 | - (hder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (u t) t) (hterminal : η T = 0) | |
| 50 | - (hsolenoidal : ∀ t : Icc (0 : ℝ) T, FInv t (η t) ∈ solenoidalSpace) : | |
| 51 | - u ∈ meanDerivatives T hT FInv := by | |
| 52 | - intro t | |
| 53 | - change FInv t (realPrimitive T u t) ∈ solenoidalSpace | |
| 54 | - rw [← eq_realPrimitive_of_ac_hasDerivAt_ae T hT u η hη hder hterminal t t.property] | |
| 55 | - exact hsolenoidal t | |
| 56 | - | |
| 57 | 44 | /-- Every time constraint is the preimage of the actual closed solenoidal subspace. -/ |
| 58 | 45 | theorem meanDerivatives_closed (T : ℝ) (hT : 0 ≤ T) |
| 59 | 46 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| @@ -117,78 +104,6 @@ theorem meanTrace_boundary (T : ℝ) (hT : 0 ≤ T) | ||
| 117 | 104 | simpa only [add_apply, smul_apply, inner_add_left, real_inner_smul_left] using |
| 118 | 105 | hboundary (meanTrace T hT FInv u) (meanTrace_mem T hT FInv hF0 u) |
| 119 | 106 | |
| 120 | -/-- A polynomial operator bound for the actual terminal primitive. -/ | |
| 121 | -theorem meanPrimitive_norm_le (T : ℝ) (hT : 0 ≤ T) | |
| 122 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : ‖meanPrimitive T hT FInv‖ ≤ T := by | |
| 123 | - apply ContinuousLinearMap.opNorm_le_bound _ hT | |
| 124 | - intro u | |
| 125 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hT (norm_nonneg u))).1 | |
| 126 | - calc | |
| 127 | - _ ≤ T^2/2*‖u‖^2 := meanPrimitive_norm_sq T hT FInv u | |
| 128 | - _ ≤ T^2*‖u‖^2 := by | |
| 129 | - apply mul_le_mul_of_nonneg_right _ (sq_nonneg ‖u‖) | |
| 130 | - nlinarith only [sq_nonneg T] | |
| 131 | - _ = (T*‖u‖)^2 := by ring | |
| 132 | - | |
| 133 | -/-- The mean-space primitive has the same genuine integral representative. -/ | |
| 134 | -theorem meanPrimitive_ae (T : ℝ) (hT : 0 ≤ T) | |
| 135 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : meanDerivatives T hT FInv) : | |
| 136 | - (meanPrimitive T hT FInv u : ℝ → L2) =ᵐ[timeMeasure T] realPrimitive T (u : TimeLp T L2) := | |
| 137 | - primitiveTimeLp_ae T hT (u : TimeLp T L2) | |
| 138 | - | |
| 139 | -/-- The potential pairing is the literal time integral on the actual displacement paths. -/ | |
| 140 | -theorem meanPotential_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) | |
| 141 | - (FInv H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u v : meanDerivatives T hT FInv) : | |
| 142 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ = | |
| 143 | - ∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 144 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := by | |
| 145 | - rw [MeasureTheory.L2.inner_def] | |
| 146 | - apply integral_congr_ae | |
| 147 | - filter_upwards [timeMultiplier_ae T hT H (meanPrimitive T hT FInv u), | |
| 148 | - meanPrimitive_ae T hT FInv u, meanPrimitive_ae T hT FInv v] with t ht hu hv | |
| 149 | - change ⟪(timeMultiplier T hT H (meanPrimitive T hT FInv u) : ℝ → L2) t, | |
| 150 | - (meanPrimitive T hT FInv v : ℝ → L2) t⟫_ℝ = _ | |
| 151 | - exact congrArg₂ (fun x y : L2 => ⟪x, y⟫_ℝ) | |
| 152 | - (ht.trans (congrArg (H (projIcc 0 T hT t)) hu)) hv | |
| 153 | - | |
| 154 | -/-- The forcing pairing is the literal time integral against the actual test displacement. -/ | |
| 155 | -theorem meanForcing_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) | |
| 156 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (f : TimeLp T L2) | |
| 157 | - (v : meanDerivatives T hT FInv) : | |
| 158 | - ⟪f, meanPrimitive T hT FInv v⟫_ℝ = | |
| 159 | - ∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := by | |
| 160 | - rw [MeasureTheory.L2.inner_def] | |
| 161 | - apply integral_congr_ae | |
| 162 | - filter_upwards [meanPrimitive_ae T hT FInv v] with t ht | |
| 163 | - exact congrArg (fun z : L2 => ⟪f t, z⟫_ℝ) ht | |
| 164 | - | |
| 165 | -/-- Rewriting the form as actual time integrals is independent of how its | |
| 166 | -argument was constructed. This also keeps the integral interface lightweight. -/ | |
| 167 | -theorem weak_integral_of_weak (T : ℝ) (hT : 0 ≤ T) | |
| 168 | - (FInv H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 169 | - (u v : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 170 | - (h : ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 171 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 172 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 173 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 174 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ) : | |
| 175 | - (∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)- | |
| 176 | - (∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 177 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)+ | |
| 178 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 179 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 180 | - -(∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T) := by | |
| 181 | - have hi : ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ = | |
| 182 | - ∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := | |
| 183 | - MeasureTheory.L2.inner_def (u : TimeLp T L2) (v : TimeLp T L2) | |
| 184 | - have hp := meanPotential_inner_eq_integral T hT FInv H u v | |
| 185 | - have hf := meanForcing_inner_eq_integral T hT FInv f v | |
| 186 | - have hleft := congrArg | |
| 187 | - (fun r : ℝ => r + ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 188 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ) | |
| 189 | - (congrArg₂ (fun x y : ℝ => x-y) hi hp) | |
| 190 | - exact hleft.symm.trans (h.trans (congrArg (fun r : ℝ => -r) hf)) | |
| 191 | - | |
| 192 | 107 | variable (T : ℝ) (hT : 0 ≤ T) |
| 193 | 108 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 194 | 109 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) |
| @@ -207,52 +122,6 @@ def meanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := | ||
| 207 | 122 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 208 | 123 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall |
| 209 | 124 | |
| 210 | -/-- The physical displacement is the actual terminal primitive of the solved derivative. -/ | |
| 211 | -def meanEta : TimeLp T L2 →L[ℝ] C(Icc (0 : ℝ) T, L2) := | |
| 212 | - (terminalPrimitive T hT).comp ((meanDerivatives T hT FInv).subtypeL.comp | |
| 213 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall)) | |
| 214 | - | |
| 215 | -/-- Recover the actual continuous solenoidal label displacement `z=FInv η`. -/ | |
| 216 | -def meanDisplacement (f : TimeLp T L2) : C(Icc (0 : ℝ) T, L2) := | |
| 217 | - ⟨fun t => FInv t (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f t), | |
| 218 | - FInv.continuous.clm_apply | |
| 219 | - (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f).continuous⟩ | |
| 220 | - | |
| 221 | -/-- The recovered label displacement is genuinely solenoidal at every time. -/ | |
| 222 | -theorem meanDisplacement_solenoidal (f : TimeLp T L2) (t : Icc (0 : ℝ) T) : | |
| 223 | - meanDisplacement T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f t ∈ | |
| 224 | - solenoidalSpace := | |
| 225 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f).property t | |
| 226 | - | |
| 227 | -/-- The actual physical displacement has zero terminal trace. -/ | |
| 228 | -theorem meanEta_terminal (f : TimeLp T L2) : | |
| 229 | - meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f ⟨T, hT, le_rfl⟩ = 0 := | |
| 230 | - terminalPrimitive_terminal T hT | |
| 231 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 232 | - | |
| 233 | -/-- The recovered label displacement also has zero terminal trace. -/ | |
| 234 | -theorem meanDisplacement_terminal (f : TimeLp T L2) : | |
| 235 | - meanDisplacement T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 236 | - ⟨T, hT, le_rfl⟩ = 0 := by | |
| 237 | - change FInv _ (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f _) = 0 | |
| 238 | - rw [meanEta_terminal T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, map_zero] | |
| 239 | - | |
| 240 | -/-- The solved derivative is the actual a.e. derivative of the physical displacement. -/ | |
| 241 | -theorem meanEta_hasDerivAt_ae (f : TimeLp T L2) : | |
| 242 | - ∀ᵐ t ∂timeMeasure T, | |
| 243 | - HasDerivAt (realPrimitive T | |
| 244 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2)) | |
| 245 | - ((meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) t) t := | |
| 246 | - realPrimitive_hasDerivAt_ae T | |
| 247 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 248 | - | |
| 249 | -/-- The physical displacement is a genuine absolutely continuous time path. -/ | |
| 250 | -theorem meanEta_absolutelyContinuous (f : TimeLp T L2) : | |
| 251 | - AbsolutelyContinuousOnInterval (realPrimitive T | |
| 252 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2)) 0 T := | |
| 253 | - realPrimitive_absolutelyContinuous T | |
| 254 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 255 | - | |
| 256 | 125 | /-- The exact mean form with the two original initial boundary terms. -/ |
| 257 | 126 | theorem meanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : |
| 258 | 127 | let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f |
| @@ -269,63 +138,4 @@ theorem meanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | ||
| 269 | 138 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 270 | 139 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f v |
| 271 | 140 | |
| 272 | -/-- The solved mean derivative obeys a polynomial finite-time norm bound. -/ | |
| 273 | -theorem meanSolver_norm (f : TimeLp T L2) : | |
| 274 | - ‖meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f‖ ≤ 2*T*‖f‖ := by | |
| 275 | - apply (EulerMeanVariationalOperator.meanSolver_norm | |
| 276 | - (meanPrimitive T hT FInv) (meanTrace T hT FInv) | |
| 277 | - (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB | |
| 278 | - (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) | |
| 279 | - (timeMultiplier_quadratic_upper T hT H K hH) | |
| 280 | - (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f).trans | |
| 281 | - exact mul_le_mul_of_nonneg_right | |
| 282 | - (mul_le_mul_of_nonneg_left (meanPrimitive_norm_le T hT FInv) (by norm_num)) (norm_nonneg f) | |
| 283 | - | |
| 284 | -/-- The weak equation is an equality of genuine time integrals, including the | |
| 285 | -two actual initial boundary terms from the source. -/ | |
| 286 | -theorem meanSolver_weak_integral (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | |
| 287 | - let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 288 | - (∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)- | |
| 289 | - (∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 290 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)+ | |
| 291 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 292 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 293 | - -(∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T) := by | |
| 294 | - exact weak_integral_of_weak T hT FInv H M0 A L | |
| 295 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) v f | |
| 296 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f v) | |
| 297 | - | |
| 298 | -/-- No other admissible derivative solves this same genuine mean form. -/ | |
| 299 | -theorem meanSolver_unique (f : TimeLp T L2) (u : meanDerivatives T hT FInv) | |
| 300 | - (hu : ∀ v : meanDerivatives T hT FInv, | |
| 301 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 302 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 303 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 304 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 305 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ) : | |
| 306 | - u = meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f := by | |
| 307 | - apply EulerMeanVariationalOperator.meanSolver_unique | |
| 308 | - (meanPrimitive T hT FInv) (meanTrace T hT FInv) | |
| 309 | - (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB | |
| 310 | - (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) | |
| 311 | - (timeMultiplier_quadratic_upper T hT H K hH) | |
| 312 | - (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f u | |
| 313 | - intro v | |
| 314 | - simpa only [Submodule.coe_inner, add_apply, smul_apply, inner_add_left, | |
| 315 | - real_inner_smul_left, add_assoc] using hu v | |
| 316 | - | |
| 317 | -include hK hB hF0 hH hboundary hsmall in | |
| 318 | -/-- Existence and uniqueness for the source's mean form, conditional on the | |
| 319 | -explicit coefficient and solenoidal boundary lower bounds. -/ | |
| 320 | -theorem existsUnique_mean_weak_solution (f : TimeLp T L2) : | |
| 321 | - ∃! u : meanDerivatives T hT FInv, ∀ v : meanDerivatives T hT FInv, | |
| 322 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 323 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 324 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 325 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 326 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 327 | - ⟨meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, | |
| 328 | - meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, | |
| 329 | - fun u hu => meanSolver_unique T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f u hu⟩ | |
| 330 | - | |
| 331 | 141 | end EulerMeanVariationalInverse |
+0 −34 Euler/MeanVariationalOperator.lean View file
| @@ -68,38 +68,4 @@ theorem meanSolver_weak (f : W) (v : V) : | ||
| 68 | 68 | (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 69 | 69 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 70 | 70 | |
| 71 | -/-- Uniqueness holds in the same actual Hilbert displacement space. -/ | |
| 72 | -theorem meanSolver_unique (f : W) (u : V) | |
| 73 | - (hu : ∀ v, ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ = -⟪f, J v⟫_ℝ) : | |
| 74 | - u = meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f := by | |
| 75 | - apply (coerciveEquiv (meanOperator J R H C) (1/2) (by norm_num) | |
| 76 | - (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall)).injective | |
| 77 | - simp only [coerciveEquiv_apply] | |
| 78 | - apply ext_inner_right ℝ | |
| 79 | - intro v | |
| 80 | - rw [meanOperator_inner, hu, meanOperator_inner, | |
| 81 | - meanSolver_weak J R H C P Q K B hK hB hJ hR hH hC hsmall] | |
| 82 | - | |
| 83 | -/-- The derivative bound is polynomial in the primitive norm. -/ | |
| 84 | -theorem meanSolver_norm (f : W) : | |
| 85 | - ‖meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f‖ ≤ 2*‖J‖*‖f‖ := by | |
| 86 | - have hi := coerciveInverse_apply_norm_le (meanOperator J R H C) (1/2) (by norm_num) | |
| 87 | - (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall) (-J.adjoint f) | |
| 88 | - change ‖meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f‖ ≤ _ at hi | |
| 89 | - have ha := J.adjoint.le_opNorm f | |
| 90 | - simp only [norm_neg, inv_div, div_one, LinearIsometryEquiv.norm_map] at hi ha | |
| 91 | - calc | |
| 92 | - _ ≤ 2*‖J.adjoint f‖ := hi | |
| 93 | - _ ≤ 2*(‖J‖*‖f‖) := mul_le_mul_of_nonneg_left ha (by norm_num) | |
| 94 | - _ = 2*‖J‖*‖f‖ := by ring | |
| 95 | - | |
| 96 | -include hK hB hJ hR hH hC hsmall in | |
| 97 | -/-- Existence and uniqueness are conclusions, with no solution or inverse hypothesis. -/ | |
| 98 | -theorem existsUnique_mean_solution (f : W) : | |
| 99 | - ∃! u : V, ∀ v, | |
| 100 | - ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ = -⟪f, J v⟫_ℝ := | |
| 101 | - ⟨meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f, | |
| 102 | - meanSolver_weak J R H C P Q K B hK hB hJ hR hH hC hsmall f, | |
| 103 | - fun u hu => meanSolver_unique J R H C P Q K B hK hB hJ hR hH hC hsmall f u hu⟩ | |
| 104 | - | |
| 105 | 71 | end EulerMeanVariationalOperator |
+0 −6 Euler/MeanVectorIdentities.lean View file
| @@ -21,12 +21,6 @@ theorem vectorPartial_smooth (f : Space → Space) (hf : ContDiff ℝ ∞ f) (i | ||
| 21 | 21 | theorem vectorPartial_compact (f : Space → Space) (hc : HasCompactSupport f) (i : Fin 3) : |
| 22 | 22 | HasCompactSupport (vectorPartial f i) := hc.fderiv_apply ℝ (EuclideanSpace.single i 1) |
| 23 | 23 | |
| 24 | -theorem vectorPartial_apply (f : Space → Space) (hf : ContDiff ℝ ∞ f) | |
| 25 | - (i j : Fin 3) (x : Space) : | |
| 26 | - vectorPartial f i x j = partialDerivative (fun y => f y j) i x := | |
| 27 | - (fderiv_coordinate f x ((hf.differentiable (by simp)).differentiableAt) | |
| 28 | - j (EuclideanSpace.single i 1)).symm | |
| 29 | - | |
| 30 | 24 | theorem vector_laplacian_coordinate (f : Space → Space) (hf : ContDiff ℝ ∞ f) |
| 31 | 25 | (x : Space) (i : Fin 3) : |
| 32 | 26 | (Δ f x) i = Δ (fun y => f y i) x := by |
+0 −96 Euler/MeanVelocityOperator.lean View file
| @@ -19,49 +19,6 @@ namespace EulerMeanVariationalInverse | ||
| 19 | 19 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerTimeLp |
| 20 | 20 | EulerTerminalTimePrimitive EulerMeanSolenoidal EulerVolterraConvolution EulerTimeH1FieldProduct |
| 21 | 21 | |
| 22 | -/-- The physical velocity formula on actual Bochner derivative fields. -/ | |
| 23 | -def meanVelocityMap (T : ℝ) (hT : 0 ≤ T) | |
| 24 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : TimeLp T L2 →L[ℝ] TimeLp T L2 := | |
| 25 | - ContinuousLinearMap.id ℝ _ - | |
| 26 | - (timeMultiplier T hT F₁).comp ((timeMultiplier T hT FInv).comp (primitiveTimeLp T hT)) | |
| 27 | - | |
| 28 | -/-- The bounded linear formula has its literal pointwise representative. -/ | |
| 29 | -theorem meanVelocityMap_ae (T : ℝ) (hT : 0 ≤ T) | |
| 30 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : | |
| 31 | - (meanVelocityMap T hT FInv F₁ u : ℝ → L2) =ᵐ[timeMeasure T] | |
| 32 | - fun t => u t - extendPath T hT F₁ t (extendPath T hT FInv t (realPrimitive T u t)) := by | |
| 33 | - filter_upwards [Lp.coeFn_sub u | |
| 34 | - (timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))), | |
| 35 | - timeMultiplier_ae T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u)), | |
| 36 | - timeMultiplier_ae T hT FInv (primitiveTimeLp T hT u), primitiveTimeLp_ae T hT u] | |
| 37 | - with t hsub hF₁ hInv hp | |
| 38 | - simp only [Pi.sub_apply] at hsub | |
| 39 | - change (u-timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))) t = _ | |
| 40 | - rw [hsub, hF₁, hInv, hp] | |
| 41 | - | |
| 42 | -/-- A quantitative bound for the actual linear velocity formula. -/ | |
| 43 | -theorem meanVelocityMap_apply_norm (T : ℝ) (hT : 0 ≤ T) | |
| 44 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : | |
| 45 | - ‖meanVelocityMap T hT FInv F₁ u‖ ≤ | |
| 46 | - (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖ := by | |
| 47 | - have hp : ‖primitiveTimeLp T hT u‖ ≤ Real.sqrt (T^2/2)*‖u‖ := by | |
| 48 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))).1 | |
| 49 | - calc | |
| 50 | - _ ≤ (T^2/2)*‖u‖^2 := primitiveTimeLp_norm_sq_le T hT u | |
| 51 | - _ = _ := by rw [mul_pow, Real.sq_sqrt (by positivity)] | |
| 52 | - change ‖u-timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))‖ ≤ _ | |
| 53 | - calc | |
| 54 | - _ ≤ ‖u‖+‖timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))‖ := | |
| 55 | - norm_sub_le _ _ | |
| 56 | - _ ≤ ‖u‖+‖F₁‖*‖timeMultiplier T hT FInv (primitiveTimeLp T hT u)‖ := | |
| 57 | - add_le_add le_rfl (timeApply_bound T hT F₁ _) | |
| 58 | - _ ≤ ‖u‖+‖F₁‖*(‖FInv‖*‖primitiveTimeLp T hT u‖) := by | |
| 59 | - gcongr | |
| 60 | - exact timeApply_bound T hT FInv _ | |
| 61 | - _ ≤ ‖u‖+‖F₁‖*(‖FInv‖*(Real.sqrt (T^2/2)*‖u‖)) := by | |
| 62 | - gcongr | |
| 63 | - _ = _ := by ring | |
| 64 | - | |
| 65 | 22 | namespace StrongMeanEvolution |
| 66 | 23 | |
| 67 | 24 | variable {T : ℝ} {hT : 0 ≤ T} |
| @@ -69,45 +26,6 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 69 | 26 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 70 | 27 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 71 | 28 | |
| 72 | -/-- Differentiating the actual displacement reconstruction gives the kinetic identity. -/ | |
| 73 | -theorem kinetic_ae | |
| 74 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 75 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 76 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 77 | - ∀ᵐ t ∂timeMeasure T, | |
| 78 | - u t = extendPath T hT F₁ t (s.label t : L2) + s.physicalPath t := by | |
| 79 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 80 | - change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 81 | - rw [← restrict_Ioo_eq_restrict_Icc] | |
| 82 | - exact ae_restrict_mem measurableSet_Ioo | |
| 83 | - filter_upwards [hmem, operatorPath_hasDerivAt_ae T hT F F₁ hF, | |
| 84 | - s.label_derivative, realPrimitive_hasDerivAt_ae T u] with t ht hFt hzt hut | |
| 85 | - have hzt' := solenoidalSpace.subtypeL.hasFDerivAt.comp_hasDerivAt t hzt | |
| 86 | - have hprod := hFt.clm_apply hzt' | |
| 87 | - have heq : realPrimitive T u =ᶠ[𝓝 t] | |
| 88 | - fun r => extendPath T hT F r (s.label r : L2) := by | |
| 89 | - filter_upwards [Icc_mem_nhds ht.1 ht.2] with r hr | |
| 90 | - have h := ((congrArg (fun x : L2 => F ⟨r, hr⟩ x) (s.label_eq ⟨r, hr⟩)).trans | |
| 91 | - (hRight ⟨r, hr⟩ _)).symm | |
| 92 | - simpa only [extendPath, projIcc_of_mem hT hr] using h | |
| 93 | - exact hut.unique (hprod.congr_of_eventuallyEq heq) | |
| 94 | - | |
| 95 | -/-- The actual velocity constructed by strong regularity equals the bounded | |
| 96 | -linear formula on the original solved derivative field. -/ | |
| 97 | -theorem velocityField_eq_meanVelocityMap | |
| 98 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 99 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 100 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 101 | - s.velocityField = meanVelocityMap T hT FInv F₁ u := by | |
| 102 | - apply Lp.ext | |
| 103 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := ae_restrict_mem measurableSet_Icc | |
| 104 | - filter_upwards [hmem, s.kinetic_ae hF hRight, (s.physical_h1 hF).2.1, | |
| 105 | - meanVelocityMap_ae T hT FInv F₁ u] with t ht hk hB hv | |
| 106 | - have hz : (s.label t : L2) = extendPath T hT FInv t (realPrimitive T u t) := by | |
| 107 | - simpa only [extendPath, projIcc_of_mem hT ht] using s.label_eq ⟨t, ht⟩ | |
| 108 | - rw [hB, hv, hk, ← hz] | |
| 109 | - abel | |
| 110 | - | |
| 111 | 29 | end StrongMeanEvolution |
| 112 | 30 | |
| 113 | 31 | variable (T : ℝ) (hT : 0 ≤ T) |
| @@ -119,18 +37,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 119 | 37 | -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) |
| 120 | 38 | (hsmall : K*(T^2/2)+B*T ≤ 1/2) |
| 121 | 39 | |
| 122 | -/-- The genuine bounded linear mean velocity inverse on actual forcing classes. -/ | |
| 123 | -def meanVelocitySolver : TimeLp T L2 →L[ℝ] TimeLp T L2 := | |
| 124 | - (meanVelocityMap T hT FInv F₁).comp ((meanDerivatives T hT FInv).subtypeL.comp | |
| 125 | - (meanSolver T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall)) | |
| 126 | - | |
| 127 | -/-- The actual mean velocity inverse has an explicit finite-time bound. -/ | |
| 128 | -theorem meanVelocitySolver_norm (f : TimeLp T L2) : | |
| 129 | - ‖meanVelocitySolver T hT FInv F₁ H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f‖ ≤ | |
| 130 | - (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*(2*T*‖f‖) := by | |
| 131 | - apply (meanVelocityMap_apply_norm T hT FInv F₁ | |
| 132 | - (meanSolver T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f : TimeLp T L2)).trans | |
| 133 | - exact mul_le_mul_of_nonneg_left | |
| 134 | - (meanSolver_norm T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f) (by positivity) | |
| 135 | - | |
| 136 | 40 | end EulerMeanVariationalInverse |
+0 −77 Euler/MeanVelocityPressure.lean View file
| @@ -45,83 +45,6 @@ theorem physical_h1 | ||
| 45 | 45 | (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) s.velocityLp s.acceleration |
| 46 | 46 | s.velocity s.velocity_ac s.velocity_ae s.velocity_derivative |
| 47 | 47 | |
| 48 | -/-- In label coordinates the actual physical velocity is solenoidal at every time. -/ | |
| 49 | -theorem inversePhysicalPath_solenoidal | |
| 50 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) (t : ℝ) : | |
| 51 | - extendPath T hT FInv t (s.physicalPath t) ∈ solenoidalSpace := by | |
| 52 | - change FInv (projIcc 0 T hT t) (F (projIcc 0 T hT t) (s.velocity t : L2)) ∈ solenoidalSpace | |
| 53 | - rw [hInv] | |
| 54 | - exact (s.velocity t).property | |
| 55 | - | |
| 56 | -/-- The pressure residual in the strong equation, before using F_t=MF. -/ | |
| 57 | -def pressureResidual : TimeLp T L2 := | |
| 58 | - f - timeMultiplier T hT (solenoidalFrame T F) s.acceleration - | |
| 59 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp | |
| 60 | - | |
| 61 | -/-- The residual has its literal pointwise strong-equation representative. -/ | |
| 62 | -theorem pressureResidual_ae : | |
| 63 | - (s.pressureResidual : ℝ → L2) =ᵐ[timeMeasure T] fun t => | |
| 64 | - f t - extendPath T hT F t (s.acceleration t : L2) - | |
| 65 | - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) := by | |
| 66 | - filter_upwards [Lp.coeFn_sub (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration) | |
| 67 | - ((2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), | |
| 68 | - Lp.coeFn_sub f (timeMultiplier T hT (solenoidalFrame T F) s.acceleration), | |
| 69 | - Lp.coeFn_smul (2 : ℝ) (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), | |
| 70 | - timeMultiplier_ae T hT (solenoidalFrame T F) s.acceleration, | |
| 71 | - timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp, s.velocity_ae] | |
| 72 | - with t hs₂ hs₁ hsmul ha hv hvrep | |
| 73 | - simp only [Pi.sub_apply, Pi.smul_apply] at hs₂ hs₁ hsmul | |
| 74 | - change (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration- | |
| 75 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) t = _ | |
| 76 | - have hv' := hv.trans (congrArg | |
| 77 | - (fun w : solenoidalSpace => F₁ (projIcc 0 T hT t) (w : L2)) hvrep) | |
| 78 | - exact hs₂.trans (congrArg₂ (fun x y : L2 => x-y) | |
| 79 | - (hs₁.trans (congrArg (fun x : L2 => f t-x) ha)) | |
| 80 | - (hsmul.trans (congrArg (fun x : L2 => (2 : ℝ) • x) hv'))) | |
| 81 | - | |
| 82 | -/-- The actual pressure residual has an ordinary weak L² gradient after F-adjoint | |
| 83 | -transformation. This follows from the proved projected equation. -/ | |
| 84 | -theorem pressureResidual_gradient_ae : | |
| 85 | - ∀ᵐ t ∂timeMeasure T, | |
| 86 | - (extendPath T hT F t).adjoint (s.pressureResidual t) ∈ gradientSpace := by | |
| 87 | - filter_upwards [s.pressureResidual_ae, s.equation] with t hp he | |
| 88 | - apply (solenoidalProjection_eq_zero_iff _).1 | |
| 89 | - have hb : f t - extendPath T hT F t (s.acceleration t : L2) - | |
| 90 | - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) = | |
| 91 | - (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2))- | |
| 92 | - extendPath T hT F t (s.acceleration t : L2) := by abel | |
| 93 | - have hh := congrArg (fun x : L2 => solenoidalProjection ((F (projIcc 0 T hT t)).adjoint x)) | |
| 94 | - (hp.trans hb) | |
| 95 | - have hl := (solenoidalProjection.comp (F (projIcc 0 T hT t)).adjoint).map_sub | |
| 96 | - (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2)) | |
| 97 | - (extendPath T hT F t (s.acceleration t : L2)) | |
| 98 | - exact hh.trans (hl.trans (sub_eq_zero.mpr he.symm)) | |
| 99 | - | |
| 100 | -/-- The prescribed coefficient identity F_t=MF holds for the actual velocity field. -/ | |
| 101 | -theorem movingVelocityField_eq (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 102 | - (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : | |
| 103 | - timeMultiplier T hT M s.velocityField = | |
| 104 | - timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp := by | |
| 105 | - apply Lp.ext | |
| 106 | - filter_upwards [timeMultiplier_ae T hT M s.velocityField, | |
| 107 | - timeMultiplier_ae T hT (solenoidalFrame T F) s.velocityLp, | |
| 108 | - timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp] with t hmul hv hv₁ | |
| 109 | - exact hmul.trans ((congrArg (fun x : L2 => M (projIcc 0 T hT t) x) hv).trans | |
| 110 | - ((hM (projIcc 0 T hT t) (s.velocityLp t : L2)).symm.trans hv₁.symm)) | |
| 111 | - | |
| 112 | -/-- The reconstructed fields satisfy the actual evolution B_t+MB+dq=f in L². -/ | |
| 113 | -theorem velocity_evolution (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 114 | - (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : | |
| 115 | - s.velocityDerivative + timeMultiplier T hT M s.velocityField + s.pressureResidual = f := by | |
| 116 | - calc | |
| 117 | - _ = s.velocityDerivative + timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp + | |
| 118 | - s.pressureResidual := congrArg | |
| 119 | - (fun x : TimeLp T L2 => s.velocityDerivative+x+s.pressureResidual) | |
| 120 | - (s.movingVelocityField_eq M hM) | |
| 121 | - _ = f := by | |
| 122 | - simp only [velocityDerivative, fieldProductDerivative, pressureResidual, two_smul] | |
| 123 | - abel | |
| 124 | - | |
| 125 | 48 | /-- The initial physical velocity is exactly the source's localized boundary value. -/ |
| 126 | 49 | theorem physicalPath_initial |
| 127 | 50 | (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) : |
+0 −29 Euler/MeanWeakHarmonicInterior.lean View file
| @@ -29,39 +29,10 @@ theorem weakScalarHarmonic_pointwise (f : Space → ℝ) (hf : MemLp f 2 volume) | ||
| 29 | 29 | (scalarMollification_energy_le (interiorMollifier n) f hf) |
| 30 | 30 | harmonicQuarterBallConstant_nonneg |
| 31 | 31 | |
| 32 | -/-- The same bound for an actual vector L² field, without assuming a smooth representative. -/ | |
| 33 | -theorem weakHarmonic_pointwise (u : L2) (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) : | |
| 34 | - ∀ᵐ x ∂volume, x ∈ Metric.closedBall (0 : Space) (1/4 : ℝ) → | |
| 35 | - ‖u x‖ ^ 2 ≤ harmonicQuarterBallConstant * ‖u‖ ^ 2 := by | |
| 36 | - have H := ae_vector_bound_of_component_bounds (u : Space → Space) (Lp.memLp u) | |
| 37 | - (Metric.closedBall (0 : Space) (1/4 : ℝ)) harmonicQuarterBallConstant | |
| 38 | - (fun i => weakScalarHarmonic_pointwise (fun x => u x i) | |
| 39 | - (scalar_component_memLp u (Lp.memLp u) i) | |
| 40 | - (scalarWeakHarmonicOn_of_vector_tests _ u hu i)) | |
| 41 | - simpa only [lpNorm_coe_L2] using H | |
| 42 | - | |
| 43 | 32 | def weakHarmonicSmallBallConstant : ℝ := (Real.pi * 4 / 3) * harmonicQuarterBallConstant |
| 44 | 33 | |
| 45 | 34 | theorem weakHarmonicSmallBallConstant_nonneg : 0 ≤ weakHarmonicSmallBallConstant := by |
| 46 | 35 | unfold weakHarmonicSmallBallConstant |
| 47 | 36 | exact mul_nonneg (by positivity) harmonicQuarterBallConstant_nonneg |
| 48 | 37 | |
| 49 | -/-- Source localization for weakly harmonic fields: the radius enters with the genuine power 3. -/ | |
| 50 | -theorem weakHarmonic_smallBall_energy (u : L2) | |
| 51 | - (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) | |
| 52 | - (r : ℝ) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) : | |
| 53 | - localL2Energy (Metric.ball (0 : Space) r) u ≤ | |
| 54 | - weakHarmonicSmallBallConstant * r^3 * ‖u‖^2 := by | |
| 55 | - have hb : ∀ᵐ x ∂volume, x ∈ Metric.ball (0 : Space) r → | |
| 56 | - ‖u x‖^2 ≤ harmonicQuarterBallConstant * ‖u‖^2 := by | |
| 57 | - filter_upwards [weakHarmonic_pointwise u hu] with x hx | |
| 58 | - intro hxball | |
| 59 | - exact hx ((Metric.ball_subset_closedBall.trans | |
| 60 | - (Metric.closedBall_subset_closedBall hrquarter)) hxball) | |
| 61 | - have H := localL2Energy_ball_le_of_ae_bound u | |
| 62 | - (harmonicQuarterBallConstant * ‖u‖^2) r hr hb | |
| 63 | - unfold weakHarmonicSmallBallConstant | |
| 64 | - convert H using 1 | |
| 65 | - ring | |
| 66 | - | |
| 67 | 38 | end EulerMeanHarmonic |
+0 −137 NavierStokes/EntranceAlignedBase.lean View file
| @@ -31,12 +31,6 @@ noncomputable def trueWidth : ℝ := H.initial.choose | ||
| 31 | 31 | |
| 32 | 32 | theorem trueWidth_pos : 0 < trueWidth W H := H.initial.choose_spec.1 |
| 33 | 33 | |
| 34 | -theorem trueWidth_spec {y eta : ℝ} (hy : 0 < y) (ht : y ≤ trueWidth W H) | |
| 35 | - (heta : eta ∈ HeatedOutgoing.parameterDomain) : | |
| 36 | - NominalConeAssembly.IsTrue W.profiles F.data.h | |
| 37 | - (NominalConeAssembly.chart (NominalConeAssembly.activeLeft W) (y, eta)) := | |
| 38 | - H.initial.choose_spec.2.2 y eta hy ht heta | |
| 39 | - | |
| 40 | 34 | noncomputable def analyticEnd : ℝ := |
| 41 | 35 | NominalConeAssembly.activeLeft W * Real.exp W.controls.referenceWidth |
| 42 | 36 | |
| @@ -75,10 +69,6 @@ theorem cutoffStop_lt_lo {lo : ℝ} (hlo : NominalConeAssembly.activeLeft W < lo | ||
| 75 | 69 | cutoffStop W H lo < lo := |
| 76 | 70 | (window_order W H hlo).2.2.2.trans_le (min_le_left _ _) |
| 77 | 71 | |
| 78 | -theorem cutoffStop_lt_trueEnd {lo : ℝ} (hlo : NominalConeAssembly.activeLeft W < lo) : | |
| 79 | - cutoffStop W H lo < NominalConeAssembly.activeLeft W * Real.exp (trueWidth W H) := | |
| 80 | - (window_order W H hlo).2.2.2.trans_le ((min_le_right _ _).trans (min_le_left _ _)) | |
| 81 | - | |
| 82 | 72 | theorem cutoffStop_lt_analyticEnd {lo : ℝ} (hlo : NominalConeAssembly.activeLeft W < lo) : |
| 83 | 73 | cutoffStop W H lo < analyticEnd W := |
| 84 | 74 | (window_order W H hlo).2.2.2.trans_le ((min_le_right _ _).trans (min_le_right _ _)) |
| @@ -114,21 +104,6 @@ theorem cutoffStop_lt_patch {lo : ℝ} (hlo : NominalConeAssembly.activeLeft W < | ||
| 114 | 104 | cutoffStop W H lo < (ReservedPatches.radialLeft F W.controls.radius .positive) ^ 2 / 2 := |
| 115 | 105 | (cutoffStop_lt_analyticEnd W H hlo).trans (analyticEnd_lt_patch W) |
| 116 | 106 | |
| 117 | -/-- The whole cutoff transition is inside the actual initial true collar. -/ | |
| 118 | -theorem cutoff_transition_true {lo : ℝ} (hlo : NominalConeAssembly.activeLeft W < lo) | |
| 119 | - {p : ℝ × ℝ} (hp : p.1 ∈ Icc (cutoffInner W H lo) (cutoffStop W H lo)) | |
| 120 | - (heta : p.2 ∈ HeatedOutgoing.parameterDomain) : | |
| 121 | - NominalConeAssembly.IsTrue W.profiles F.data.h p := by | |
| 122 | - have ha := NominalConeAssembly.activeLeft_pos W | |
| 123 | - have hleft := ((window_order W H hlo).1.trans (window_order W H hlo).2.1).trans_le hp.1 | |
| 124 | - have hy : 0 < Real.log (p.1 / NominalConeAssembly.activeLeft W) := by | |
| 125 | - apply Real.log_pos | |
| 126 | - exact (one_lt_div ha).mpr hleft | |
| 127 | - have ht := NominalConeAssembly.log_chart_lt ha (ha.trans hleft) | |
| 128 | - (hp.2.trans_lt (cutoffStop_lt_trueEnd W H hlo)) | |
| 129 | - have hc := trueWidth_spec W H hy ht.le heta | |
| 130 | - rwa [NominalConeAssembly.chart_log ha (ha.trans hleft)] at hc | |
| 131 | - | |
| 132 | 107 | end Geometry |
| 133 | 108 | |
| 134 | 109 | section Scheme |
| @@ -161,11 +136,6 @@ theorem localization : Localization (scheme W H Q M hlo) (nominalHierarchy W) (c | ||
| 161 | 136 | |
| 162 | 137 | theorem scheme_base : (scheme W H Q M hlo).base = (modifiedScheme W Q M).base := rfl |
| 163 | 138 | |
| 164 | -theorem scheme_outer : (scheme W H Q M hlo).B = nominalOuterRadius W := rfl | |
| 165 | - | |
| 166 | -theorem scheme_base_beta : (scheme W H Q M hlo).base.beta = | |
| 167 | - betaFromU (scheme W H Q M hlo).domain 0 (scheme W H Q M hlo).base.axial := rfl | |
| 168 | - | |
| 169 | 139 | /-- The actual nominal fields agree with the ACT fields throughout the |
| 170 | 140 | analytic collar, rather than only on the smaller natural core. -/ |
| 171 | 141 | theorem nominal_ACT_fields {X eta : ℝ} (hX : 0 ≤ X) (hc : X ≤ analyticEnd W) |
| @@ -360,12 +330,6 @@ theorem aligned_smooth : SlowBorelBase.SmoothCoefficients (alignedCoefficients W | ||
| 360 | 330 | coefficients_smooth (smallLocalization W H Q M hlo) (smallBaseAgreement W H Q M hlo) |
| 361 | 331 | (smallZeroOrder W H Q M hlo) M.contains |
| 362 | 332 | |
| 363 | -theorem aligned_coefficientMatches : | |
| 364 | - BasePrefixIdentity.CoefficientMatches F.data.h W.axis.normalization | |
| 365 | - (alignedCoefficients W H Q M hlo) (asSlowProfiles (scheme W H Q M hlo)) := | |
| 366 | - ConstructedSlowBase.repaired_coefficientMatches (smallLocalization W H Q M hlo) | |
| 367 | - (smallBaseAgreement W H Q M hlo) (smallZeroOrder W H Q M hlo) M.contains rfl | |
| 368 | - | |
| 369 | 333 | theorem positive_coefficients_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} |
| 370 | 334 | (hX : 0 < p.1) (hc : p.1 < cutoffInner W H lo) (heta : p.2 ∈ S) : |
| 371 | 335 | SlowExpansionResidual.angularCoefficient F.data.h (asSlowProfiles (scheme W H Q M hlo)) n p = 0 ∧ |
| @@ -564,63 +528,6 @@ theorem zero_fields_eq : | ||
| 564 | 528 | (asSlowProfiles (scheme W H Q M hlo)).pressure 0 = (asSlowProfiles (modifiedScheme W Q M)).pressure 0 := by |
| 565 | 529 | simp only [asSlowProfiles, SlowResidualMatching.ofBeta, profiles_zero, scheme_base, and_self] |
| 566 | 530 | |
| 567 | -theorem zero_residuals_eq (p : ℝ × ℝ) : | |
| 568 | - SlowExpansionResidual.angularCoefficient F.data.h (asSlowProfiles (scheme W H Q M hlo)) 0 p = | |
| 569 | - SlowExpansionResidual.angularCoefficient F.data.h (asSlowProfiles (modifiedScheme W Q M)) 0 p ∧ | |
| 570 | - SlowExpansionResidual.axialCoefficient F.data.h (asSlowProfiles (scheme W H Q M hlo)) 0 p = | |
| 571 | - SlowExpansionResidual.axialCoefficient F.data.h (asSlowProfiles (modifiedScheme W Q M)) 0 p := by | |
| 572 | - have hf := zero_fields_eq W H Q M hlo | |
| 573 | - have hv : ∀ j ≤ 0, (asSlowProfiles (scheme W H Q M hlo)).flux j =ᶠ[𝓝 p] | |
| 574 | - (asSlowProfiles (modifiedScheme W Q M)).flux j := by | |
| 575 | - intro j hj | |
| 576 | - have h0 : j = 0 := Nat.eq_zero_of_le_zero hj | |
| 577 | - subst j | |
| 578 | - exact Filter.Eventually.of_forall (fun y => congrFun hf.2.2.1 y) | |
| 579 | - have hu : ∀ j ≤ 0, (asSlowProfiles (scheme W H Q M hlo)).axial j =ᶠ[𝓝 p] | |
| 580 | - (asSlowProfiles (modifiedScheme W Q M)).axial j := by | |
| 581 | - intro j hj | |
| 582 | - have h0 : j = 0 := Nat.eq_zero_of_le_zero hj | |
| 583 | - subst j | |
| 584 | - exact Filter.Eventually.of_forall (fun y => congrFun hf.2.1 y) | |
| 585 | - have hphi : ∀ j ≤ 0, (asSlowProfiles (scheme W H Q M hlo)).phi j =ᶠ[𝓝 p] | |
| 586 | - (asSlowProfiles (modifiedScheme W Q M)).phi j := by | |
| 587 | - intro j hj | |
| 588 | - have h0 : j = 0 := Nat.eq_zero_of_le_zero hj | |
| 589 | - subst j | |
| 590 | - exact Filter.Eventually.of_forall (fun y => congrFun hf.1 y) | |
| 591 | - exact ⟨SlowResidualMatching.angularCoefficient_congr_germ F.data.h 0 hv hu hphi, | |
| 592 | - SlowResidualMatching.axialCoefficient_congr_germ F.data.h 0 hv hu | |
| 593 | - (Filter.Eventually.of_forall (fun y => congrFun hf.2.2.2 y))⟩ | |
| 594 | - | |
| 595 | -theorem zero_raw_stresses_eq (R eta : ℝ) : | |
| 596 | - SlowStressSupport.stress 2 (SlowResidualMatching.thetaDensity F.data.h W.axis.normalization | |
| 597 | - (asSlowProfiles (scheme W H Q M hlo)) 0) (R, eta) = | |
| 598 | - SlowStressSupport.stress 2 (SlowResidualMatching.thetaDensity F.data.h W.axis.normalization | |
| 599 | - (asSlowProfiles (modifiedScheme W Q M)) 0) (R, eta) ∧ | |
| 600 | - SlowStressSupport.stress 1 (SlowResidualMatching.zDensity F.data.h | |
| 601 | - (asSlowProfiles (scheme W H Q M hlo)) 0) (R, eta) = | |
| 602 | - SlowStressSupport.stress 1 (SlowResidualMatching.zDensity F.data.h | |
| 603 | - (asSlowProfiles (modifiedScheme W Q M)) 0) (R, eta) := by | |
| 604 | - constructor | |
| 605 | - · apply SlowResidualMatching.primitive_stress_congr_slice | |
| 606 | - intro r | |
| 607 | - simp only [SlowResidualMatching.thetaDensity, (zero_residuals_eq W H Q M hlo _).1] | |
| 608 | - · apply SlowResidualMatching.primitive_stress_congr_slice | |
| 609 | - intro r | |
| 610 | - simp only [SlowResidualMatching.zDensity, (zero_residuals_eq W H Q M hlo _).2] | |
| 611 | - | |
| 612 | -/-- Moving the positive-order cutoff preserves the leading stress itself, | |
| 613 | -including its actual integration constant. -/ | |
| 614 | -theorem aligned_zero_stresses_eq {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 615 | - (alignedCoefficients W H Q M hlo).stressTheta 0 p = (modifiedCoefficients W Q M).stressTheta 0 p ∧ | |
| 616 | - (alignedCoefficients W H Q M hlo).stressAxial 0 p = (modifiedCoefficients W Q M).stressAxial 0 p := by | |
| 617 | - have h1 := coefficients_stress_eq (smallLocalization W H Q M hlo) (smallBaseAgreement W H Q M hlo) | |
| 618 | - (smallZeroOrder W H Q M hlo) M.contains 0 hX heta | |
| 619 | - have h2 := coefficients_stress_eq (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 620 | - (modifiedZeroOrder W Q M) M.contains 0 hX heta | |
| 621 | - have he := zero_raw_stresses_eq W H Q M hlo (Real.sqrt (2 * p.1)) p.2 | |
| 622 | - exact ⟨h1.1.trans (he.1.trans h2.1.symm), h1.2.trans (he.2.trans h2.2.symm)⟩ | |
| 623 | - | |
| 624 | 531 | theorem leading_histories_eq : |
| 625 | 532 | EqOn (GlobalStressSupport.angularHistory (scheme W H Q M hlo) 0) |
| 626 | 533 | (GlobalStressSupport.angularHistory (modifiedScheme W Q M) 0) (univ ×ˢ S) ∧ |
| @@ -663,20 +570,6 @@ theorem aligned_positive_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |eta| | ||
| 663 | 570 | extendedCoefficient_axis (smallLocalization W H Q M hlo) (smallBaseAgreement W H Q M hlo) M.contains hn 1 heta, |
| 664 | 571 | extendedCoefficient_axis (smallLocalization W H Q M hlo) (smallBaseAgreement W H Q M hlo) M.contains hn 3 heta⟩ |
| 665 | 572 | |
| 666 | -theorem aligned_moments_zero {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : eta ∈ S) : | |
| 667 | - PositiveOrderMoments.moments n | |
| 668 | - (PositiveOrderMoments.slice (GlobalStressSupport.axialHistory (scheme W H Q M hlo)) eta) | |
| 669 | - (PositiveOrderMoments.slice (GlobalStressSupport.angularHistory (scheme W H Q M hlo)) eta) | |
| 670 | - (fun R => GlobalStressSupport.previousOmega (scheme W H Q M hlo) n (R, eta)) = 0 := | |
| 671 | - GlobalStressSupport.moments_zero (scheme W H Q M hlo) hn heta | |
| 672 | - | |
| 673 | -theorem aligned_mass_primitive_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 674 | - (hp : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 675 | - ProfileHistories.primitive ((alignedCoefficients W H Q M hlo).axial n) p = 0 := by | |
| 676 | - apply extended_axial_primitive_zero (scheme W H Q M hlo) M.contains hn _ heta | |
| 677 | - change nominalOuterRadius W ^ 2 / 2 ≤ p.1 | |
| 678 | - rwa [nominalOuterRadius_square] | |
| 679 | - | |
| 680 | 573 | theorem pressureCoefficient_zero (n : ℕ) {p : ℝ × ℝ} (hX : 0 < p.1) (heta : p.2 ∈ S) : |
| 681 | 574 | SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization |
| 682 | 575 | (asSlowProfiles (scheme W H Q M hlo)) n p = 0 := by |
| @@ -783,10 +676,6 @@ theorem exp_right_eq_cone : | ||
| 783 | 676 | rw [he, Real.exp_add, Real.exp_log W.controls.radius_pos] |
| 784 | 677 | rfl |
| 785 | 678 | |
| 786 | -theorem exp_left_eq_cone : | |
| 787 | - Real.exp (Real.log (NominalConeAssembly.activeLeft W)) = NominalConeAssembly.activeLeft W := | |
| 788 | - Real.exp_log (NominalConeAssembly.activeLeft_pos W) | |
| 789 | - | |
| 790 | 679 | end Clocks |
| 791 | 680 | |
| 792 | 681 | section Modulated |
| @@ -808,10 +697,6 @@ noncomputable def modulatedCoefficients : SlowBorelBase.Coefficients := | ||
| 808 | 697 | theorem modulated_base_eq : |
| 809 | 698 | (modulatedScheme H v).base = (modifiedScheme W v.profiles v.finiteModification).base := rfl |
| 810 | 699 | |
| 811 | -theorem modulated_baseFields_eq : | |
| 812 | - (modulatedScheme H v).base = baseFields (modulatedScheme H v).domain | |
| 813 | - W.axis.normalization v.profiles v.finiteModification.halfPlane := rfl | |
| 814 | - | |
| 815 | 700 | theorem modulated_outer : (modulatedScheme H v).B = nominalOuterRadius W := rfl |
| 816 | 701 | |
| 817 | 702 | theorem modulated_phi_eq_extended (n : ℕ) : |
| @@ -820,9 +705,6 @@ theorem modulated_phi_eq_extended (n : ℕ) : | ||
| 820 | 705 | theorem modulated_axial_eq_extended (n : ℕ) : |
| 821 | 706 | (modulatedCoefficients H v).axial n = extendedCoefficient (modulatedScheme H v) v.finiteModification.contains n 1 := rfl |
| 822 | 707 | |
| 823 | -theorem modulated_pressure_eq_extended (n : ℕ) : | |
| 824 | - (modulatedCoefficients H v).pressure n = extendedCoefficient (modulatedScheme H v) v.finiteModification.contains n 3 := rfl | |
| 825 | - | |
| 826 | 708 | theorem modulated_smooth : SlowBorelBase.SmoothCoefficients (modulatedCoefficients H v) := |
| 827 | 709 | aligned_smooth W H v.profiles v.finiteModification (modulation_after_entrance (d := d)) |
| 828 | 710 | |
| @@ -953,25 +835,6 @@ theorem modulated_normalizedTensor_zero (a : ℕ → ℕ) (q : ℝ) {p : ℝ × | ||
| 953 | 835 | have hs := modulated_all_stress_support H v n |
| 954 | 836 | exact Prod.ext (hs.1 p.2 heta p.1 hp) (hs.2 p.2 heta p.1 hp) |
| 955 | 837 | |
| 956 | -/-- The transition lies in the true cone of the same final modulated | |
| 957 | -profile, with its actual restored histories. -/ | |
| 958 | -theorem modulated_transition_true {p : ℝ × ℝ} | |
| 959 | - (hp : p.1 ∈ Icc (cutoffInner W H d.modulation.left) (cutoffStop W H d.modulation.left)) | |
| 960 | - (heta : p.2 ∈ Icc (-1 : ℝ) 1) : | |
| 961 | - TrueConeLoop.InTrueCone | |
| 962 | - (ActivationStocks.profileStockOne v.profiles F.data.h p) | |
| 963 | - (ActivationStocks.profileStockTwo v.profiles F.data.h p) | |
| 964 | - (ModulatedCone.angularShear v.profiles.E p) | |
| 965 | - (ModulatedCone.signedAxialShear v.profiles.E v.profiles.U p) := by | |
| 966 | - have hx : 0 < p.1 := (cutoffInner_pos W H (modulation_after_entrance (d := d))).trans_le hp.1 | |
| 967 | - have hf := NominalConeAssembly.Witness.f_positive W hx heta | |
| 968 | - apply v.true_cone_from_nominal hx (d.parameters_contains heta) hf.ne' | |
| 969 | - intro _ | |
| 970 | - have hc := (NominalConeAssembly.isTrue_iff_loop W.profiles F.data.h p).mp | |
| 971 | - (cutoff_transition_true W H (modulation_after_entrance (d := d)) hp heta) | |
| 972 | - have hs := NominalConeAssembly.modulated_shears_eq W.profiles (W.domain_contains hx.le heta) hx hf.ne' | |
| 973 | - simpa only [NominalConeAssembly.p1_eq_stock, NominalConeAssembly.p2_eq_stock, hs.1, hs.2] using hc | |
| 974 | - | |
| 975 | 838 | theorem modulated_quotients_smooth {c : ℝ} (hc : 0 < c) (n : ℕ) : |
| 976 | 839 | ContDiff ℝ ∞ (BaseResidual.higherStressQuotient (modulatedCoefficients H v) |
| 977 | 840 | (BaseResidual.activeZeta c (Real.log (NominalConeAssembly.activeLeft W)) |
+0 −17 NavierStokes/GaussianEnvelope.lean View file
| @@ -117,23 +117,6 @@ theorem gaussian_envelope_bounds {D : Set ℝ} {rate : ℝ → ℝ} | ||
| 117 | 117 | theorem envelope_pos (rate : ℝ → ℝ) (midpoint time : ℝ) : |
| 118 | 118 | 0 < envelope rate midpoint time := Real.exp_pos _ |
| 119 | 119 | |
| 120 | -/-- For positive `c` and slot length the midpoint is the unique maximum on the domain. -/ | |
| 121 | -theorem envelope_lt_one_away_from_midpoint {D : Set ℝ} {rate : ℝ → ℝ} | |
| 122 | - {midpoint time c C ell : ℝ} (hD : Convex ℝ D) | |
| 123 | - (hcont : ContinuousOn rate D) | |
| 124 | - (hdiff : DifferentiableOn ℝ rate (interior D)) | |
| 125 | - (hderiv : ∀ x ∈ interior D, | |
| 126 | - -C / ell ≤ deriv rate x ∧ deriv rate x ≤ -c / ell) | |
| 127 | - (hm : midpoint ∈ D) (ht : time ∈ D) (hzero : rate midpoint = 0) | |
| 128 | - (hc : 0 < c) (hell : 0 < ell) (hne : time ≠ midpoint) : | |
| 129 | - envelope rate midpoint time < 1 := by | |
| 130 | - have hu := (gaussian_envelope_bounds hD hcont hdiff hderiv hm ht hzero).2 | |
| 131 | - have hsq : 0 < (time - midpoint) ^ 2 := sq_pos_of_ne_zero (sub_ne_zero.2 hne) | |
| 132 | - have he : -c * (time - midpoint) ^ 2 / (2 * ell) < 0 := | |
| 133 | - div_neg_of_neg_of_pos (mul_neg_of_neg_of_pos (neg_neg_of_pos hc) hsq) | |
| 134 | - (mul_pos (by norm_num) hell) | |
| 135 | - exact lt_of_le_of_lt hu (by simpa only [Real.exp_zero] using Real.exp_lt_exp.2 he) | |
| 136 | - | |
| 137 | 120 | /-- Derivative of the manuscript's scalar reference rate in its magnitude variable. -/ |
| 138 | 121 | noncomputable def referenceSlope (lam u s : ℝ) : ℝ := |
| 139 | 122 | -lam * s / ((1 + s ^ 2) * Real.sqrt (1 + s ^ 2)) - |
+0 −313 NavierStokes/GaussianErrorNaturality.lean View file
| @@ -120,30 +120,11 @@ noncomputable def waveChange (h Q Qr : ℝ) (gap : ℕ) : WaveSpace →L[ℝ] Wa | ||
| 120 | 120 | waveChange h Q Qr gap x = |
| 121 | 121 | ((PhysicalParticularWave.parameterChange h Q Qr x.1.1, x.1.2), coverPower gap x.2) := rfl |
| 122 | 122 | |
| 123 | -theorem waveChange_waveEquiv (h Q Qr : ℝ) (gap : ℕ) (x : Cylinder) : | |
| 124 | - waveChange h Q Qr gap (PhysicalParticularWave.waveEquiv x) = | |
| 125 | - PhysicalParticularWave.waveEquiv (PhysicalParticularWave.cylinderChange h Q Qr gap x) := rfl | |
| 126 | - | |
| 127 | -/-- The actual untransported reference data, evaluated at its own band. -/ | |
| 128 | -noncomputable def referenceParameters (D : AssemblyData Parameter) : | |
| 129 | - CorrectionStep.ParticularParameters Parameter where | |
| 130 | - tangent j _ := D.reference.tangent j | |
| 131 | - geometry _ := D.reference.geometry | |
| 132 | - length _ := D.reference.length | |
| 133 | - length_pos _ := D.reference.length_pos | |
| 134 | - cutoff _ := D.reference.cutoff | |
| 135 | - background := D.background | |
| 136 | - directions := D.directions | |
| 137 | - | |
| 138 | 123 | noncomputable def nativeData (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (j : ℤ) : |
| 139 | 124 | PeriodizedWaveBounds.CopyData WaveSpace Frequency := |
| 140 | 125 | (CorrectionStep.ParticularParameters.fromReference D h gap).copyData |
| 141 | 126 | D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j |
| 142 | 127 | |
| 143 | -noncomputable def referenceData (D : AssemblyData Parameter) (j : ℤ) : | |
| 144 | - PeriodizedWaveBounds.CopyData WaveSpace Frequency := | |
| 145 | - (referenceParameters D).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j | |
| 146 | - | |
| 147 | 128 | theorem copyData_amplitude (p : CorrectionStep.ParticularParameters Parameter) |
| 148 | 129 | (C : Context (Parameter × Plane)) (u : State (Parameter × Plane)) |
| 149 | 130 | (b : HarmonicBlock (Parameter × Plane)) |
| @@ -155,28 +136,6 @@ theorem copyData_amplitude (p : CorrectionStep.ParticularParameters Parameter) | ||
| 155 | 136 | complexCopyVelocity_angle (p.tangent j n) (residualSource C u b G A j n) |
| 156 | 137 | (p.geometry n) (p.length_pos n).le copy x.1.1 x.1.2 x.2 |
| 157 | 138 | |
| 158 | -theorem native_cutoff_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 159 | - (j : ℤ) (n : ℕ) (copy : Frequency) : | |
| 160 | - (nativeData D h gap j).cutoff n copy = fun x => | |
| 161 | - (referenceData D j).cutoff D.reference.band copy | |
| 162 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 163 | - funext x | |
| 164 | - change D.reference.cutoff | |
| 165 | - (CopySolveCompatibility.nativeTimeMap 0 | |
| 166 | - (PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 167 | - ((CopySolveCompatibility.transportGeometry D.reference.geometry (gap n) 0 | |
| 168 | - (PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) _).coordinates copy x.2)) = | |
| 169 | - D.reference.cutoff (D.reference.geometry.coordinates copy (coverPower (gap n) x.2)) | |
| 170 | - erw [ScaledTangentTransport.coordinates_transport] | |
| 171 | - | |
| 172 | -theorem reference_cutoff_differentiable (D : AssemblyData Parameter) (j : ℤ) | |
| 173 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (copy : Frequency) (x : WaveSpace) : | |
| 174 | - DifferentiableAt ℝ ((referenceData D j).cutoff D.reference.band copy) x := by | |
| 175 | - change DifferentiableAt ℝ (fun y : WaveSpace => | |
| 176 | - D.reference.cutoff (D.reference.geometry.coordinates copy y.2)) x | |
| 177 | - exact ((hcutoff.comp (D.reference.geometry.coordinates_contDiff copy)).comp | |
| 178 | - contDiff_snd).contDiffAt.differentiableAt (by simp) | |
| 179 | - | |
| 180 | 139 | /-- A nonzero actual directional derivative is supported in any closed |
| 181 | 140 | set supporting the original cutoff. -/ |
| 182 | 141 | theorem along_ne_zero_mem_closed {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -188,36 +147,6 @@ theorem along_ne_zero_mem_closed {E : Type} [NormedAddCommGroup E] [NormedSpace | ||
| 188 | 147 | simp only [along, hz, _root_.zero_apply] |
| 189 | 148 | exact (closure_minimal hf hK) (support_fderiv_subset ℝ hd) |
| 190 | 149 | |
| 191 | -theorem reference_derivative_mem_slot (D : AssemblyData Parameter) (j : ℤ) | |
| 192 | - {U : Set Parameter} (R : PhysicalParticularWave.ReferenceODE D j U) | |
| 193 | - (copy : Frequency) {x : WaveSpace} | |
| 194 | - (hx : D.directions.Dfast (fun m => (referenceData D j).cutoff m copy) D.reference.band x ≠ 0) : | |
| 195 | - (D.reference.geometry.coordinates copy x.2).2 ∈ Icc 0 D.reference.length := by | |
| 196 | - let K : Set WaveSpace := {y | (D.reference.geometry.coordinates copy y.2).2 ∈ Icc 0 D.reference.length} | |
| 197 | - have hK : IsClosed K := isClosed_Icc.preimage | |
| 198 | - (((D.reference.geometry.coordinates_contDiff copy).continuous.comp continuous_snd).snd) | |
| 199 | - apply along_ne_zero_mem_closed hK (V := D.directions.fastField D.reference.band) _ hx | |
| 200 | - intro y hy | |
| 201 | - exact (R.cutoff hy).2 | |
| 202 | - | |
| 203 | -theorem current_slot_of_reference_derivative (D : AssemblyData Parameter) (h : ℝ) | |
| 204 | - (gap : ℕ → ℕ) (j : ℤ) (n : ℕ) {U : Set Parameter} | |
| 205 | - (R : PhysicalParticularWave.ReferenceODE D j U) (copy : Frequency) (x : WaveSpace) | |
| 206 | - (hx : D.directions.Dfast (fun m => (referenceData D j).cutoff m copy) D.reference.band | |
| 207 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) ≠ 0) : | |
| 208 | - (((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n).coordinates copy x.2).2 ∈ | |
| 209 | - Icc 0 ((CorrectionStep.ParticularParameters.fromReference D h gap).length n) := by | |
| 210 | - let rate := PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 211 | - have hrate : 0 < rate := PhysicalParticularWave.ratioPower_pos | |
| 212 | - (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) _ | |
| 213 | - have hs := reference_derivative_mem_slot D j R copy hx | |
| 214 | - change (D.reference.geometry.coordinates copy (coverPower (gap n) x.2)).2 ∈ | |
| 215 | - Icc 0 D.reference.length at hs | |
| 216 | - apply (ScaledTangentTransport.current_slot_iff D.reference.geometry (gap n) 0 rate hrate | |
| 217 | - copy x.2 0 (D.reference.length / rate)).mpr | |
| 218 | - have hlen : rate * (D.reference.length / rate) = D.reference.length := by field_simp | |
| 219 | - simpa only [zero_add, mul_zero, hlen] using hs | |
| 220 | - | |
| 221 | 150 | theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) |
| 222 | 151 | {a b c d : ℝ} (hab : a ≤ b) (hcd : c ≤ d) (ha : a = c) (hb : b = d) : |
| 223 | 152 | F a b hab = F c d hcd := by |
| @@ -225,27 +154,6 @@ theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) | ||
| 225 | 154 | subst d |
| 226 | 155 | rfl |
| 227 | 156 | |
| 228 | -theorem complexCopyVelocity_zeroEntry | |
| 229 | - (t : TangentData Parameter ProblemStatement.Space) (f : Parameter × Plane → ComplexVector) | |
| 230 | - (parameter : Parameter → Parameter) (g : Geometry) (gap : ℕ) | |
| 231 | - (L rate amplitude normalScale : ℝ) (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 232 | - {U : Set Parameter} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 233 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 234 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Parameter) (hq : parameter q ∈ U) | |
| 235 | - (copy : Frequency) (Y : Plane) | |
| 236 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne').coordinates copy Y).2 ∈ | |
| 237 | - Icc 0 (L / rate)) : | |
| 238 | - complexCopyVelocity (ScaledTangentTransport.transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 239 | - (ScaledTangentTransport.transportSource f parameter gap rate amplitude) | |
| 240 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') (div_pos hL hrate).le copy (q, Y) = | |
| 241 | - amplitude • complexCopyVelocity t f g hL.le copy (parameter q, coverPower gap Y) := by | |
| 242 | - have he := ScaledTangentTransport.complexCopyVelocity_transport t f parameter g (div_pos hL hrate).le | |
| 243 | - gap 0 rate amplitude normalScale hrate hnormal hA hB hf q hq copy Y hslot | |
| 244 | - refine he.trans (congrArg (fun z : ComplexVector => amplitude • z) ?_) | |
| 245 | - apply interval_congr (fun a b hab => complexCopyVelocity t f g (a := a) (b := b) hab | |
| 246 | - copy (parameter q, coverPower gap Y)) _ _ (by ring) | |
| 247 | - field_simp ; simp | |
| 248 | - | |
| 249 | 157 | end ReferenceData |
| 250 | 158 | |
| 251 | 159 | section ActualReference |
| @@ -253,124 +161,6 @@ section ActualReference | ||
| 253 | 161 | open CommonCoverSolve TorusInverse ParticularWaveAssembly ParticularWaveBounds |
| 254 | 162 | open CorrectionState PhysicalParticularWave |
| 255 | 163 | |
| 256 | -theorem native_source_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 257 | - (j : ℤ) (n i : ℕ) | |
| 258 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 259 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 260 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 261 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 262 | - (x : WaveSpace) : | |
| 263 | - (nativeData D h gap j).source n x = | |
| 264 | - (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 265 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) • | |
| 266 | - (referenceData D j).source D.reference.band | |
| 267 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 268 | - exact congrFun (H.source_eq hn hr j) (x.1.1, x.2) | |
| 269 | - | |
| 270 | -theorem native_amplitude_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 271 | - (j : ℤ) (n i : ℕ) | |
| 272 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 273 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 274 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 275 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 276 | - {U : Set Parameter} (R : ReferenceODE D j U) | |
| 277 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 278 | - (copy : Frequency) (x : WaveSpace) | |
| 279 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1.1 ∈ U) | |
| 280 | - (hslot : (((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n).coordinates copy x.2).2 ∈ | |
| 281 | - Icc 0 ((CorrectionStep.ParticularParameters.fromReference D h gap).length n)) : | |
| 282 | - (nativeData D h gap j).amplitude n copy x = | |
| 283 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 284 | - (referenceData D j).amplitude D.reference.band copy | |
| 285 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 286 | - unfold nativeData referenceData | |
| 287 | - rw [copyData_amplitude, copyData_amplitude, H.source_eq hn hr j] | |
| 288 | - exact complexCopyVelocity_zeroEntry (D.reference.tangent j) (referenceSource D j) | |
| 289 | - (parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band)) D.reference.geometry (gap n) | |
| 290 | - D.reference.length (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 291 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 292 | - (normalWeight (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 293 | - ((j : ℝ) * D.carrierBlock.frequency n) (referenceFrequency D j)) | |
| 294 | - D.reference.length_pos (ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) _) | |
| 295 | - (normalWeight_ne (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) hK hKr) | |
| 296 | - R.coefficient R.forcing R.source x.1.1 hx copy x.2 hslot | |
| 297 | - | |
| 298 | -/-- The fast transport hypothesis follows from the actual slot-direction | |
| 299 | -identities stored by the primitive copy geometry. -/ | |
| 300 | -theorem fast_transport_of_slotDirections (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (n : ℕ) | |
| 301 | - (hn : D.directions.fastScale n • D.directions.fast = | |
| 302 | - ((0 : Parameter × ℝ), slotDirection ((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n))) | |
| 303 | - (hr : D.directions.fastScale D.reference.band • D.directions.fast = | |
| 304 | - ((0 : Parameter × ℝ), slotDirection D.reference.geometry)) : | |
| 305 | - waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 306 | - (D.directions.fastScale n • D.directions.fast) = | |
| 307 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 308 | - (D.directions.fastScale D.reference.band • D.directions.fast) := by | |
| 309 | - rw [hn, hr] | |
| 310 | - have he := ScaledTangentTransport.slotDirection_transport D.reference.geometry (gap n) 0 | |
| 311 | - (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 312 | - (ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 313 | - (CoordinateAlgebra.A h + 1 / 2)).ne' | |
| 314 | - have hh := congrArg (fun Y : Plane => ((0 : Parameter × ℝ), Y)) he | |
| 315 | - simp [waveChange_apply, parameterChange] at hh ⊢ | |
| 316 | - exact hh | |
| 317 | - | |
| 318 | -/-- The actual transported reference solve has the derived Gaussian | |
| 319 | -source weight on the full native cylinder, including uncovered points. -/ | |
| 320 | -theorem fromReference_globalGaussian (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 321 | - (j : ℤ) (n i : ℕ) | |
| 322 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 323 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 324 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 325 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 326 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 327 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 328 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 329 | - (D.directions.fastScale n • D.directions.fast) = | |
| 330 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 331 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 332 | - (x : WaveSpace) | |
| 333 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1.1 ∈ U) : | |
| 334 | - (nativeData D h gap j).globalGaussian D.directions n x = | |
| 335 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 336 | - (referenceData D j).globalGaussian D.directions D.reference.band | |
| 337 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 338 | - rw [← clock_mul_velocity (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band)] | |
| 339 | - apply globalGaussian_transport _ D.directions D.directions _ _ n D.reference.band _ _ x | |
| 340 | - (native_cutoff_transport D h gap j n) hfast | |
| 341 | - · exact fun copy => reference_cutoff_differentiable D j hcutoff copy _ | |
| 342 | - · intro copy hcopy | |
| 343 | - exact native_amplitude_transport D h gap j n i H hn hr R hK hKr copy x hx | |
| 344 | - (current_slot_of_reference_derivative D h gap j n R copy x hcopy) | |
| 345 | - · exact native_source_transport D h gap j n i H hn hr x | |
| 346 | - | |
| 347 | -theorem fromReference_globalGaussian_cylinder (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 348 | - (j : ℤ) (n i : ℕ) | |
| 349 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 350 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 351 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 352 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 353 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 354 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 355 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 356 | - (D.directions.fastScale n • D.directions.fast) = | |
| 357 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 358 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 359 | - (x : Cylinder) | |
| 360 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 361 | - (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) : | |
| 362 | - (nativeData D h gap j).globalGaussian D.directions n (PhysicalParticularWave.waveEquiv x) = | |
| 363 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) ^ 2 * | |
| 364 | - ratioPower (ChartScales.Q n) (ChartScales.Q D.reference.band) (1 / 2)) • | |
| 365 | - (referenceData D j).globalGaussian D.directions D.reference.band | |
| 366 | - (PhysicalParticularWave.waveEquiv | |
| 367 | - (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 368 | - rw [pow_two, PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) | |
| 369 | - (ChartScales.Q_pos D.reference.band)] | |
| 370 | - simpa only [waveChange_waveEquiv] using | |
| 371 | - fromReference_globalGaussian D h gap j n i H hn hr R hcutoff hK hKr hfast | |
| 372 | - (PhysicalParticularWave.waveEquiv x) hx | |
| 373 | - | |
| 374 | 164 | end ActualReference |
| 375 | 165 | |
| 376 | 166 | section HarmonicAssembly |
| @@ -379,109 +169,6 @@ open CommonCoverSolve TorusInverse ParticularWaveAssembly ParticularWaveBounds | ||
| 379 | 169 | open CorrectionState PhysicalParticularWave |
| 380 | 170 | open scoped BigOperators |
| 381 | 171 | |
| 382 | -/-- A single actual Gaussian Fourier contribution transports with its | |
| 383 | -full angular carrier. The reference phase relation is primitive block | |
| 384 | -coherence; the Gaussian coefficient relation is proved from the solve. -/ | |
| 385 | -theorem fromReference_gaussian_character (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 386 | - (j : ℤ) (n i : ℕ) | |
| 387 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 388 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 389 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 390 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 391 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 392 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 393 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 394 | - (D.directions.fastScale n • D.directions.fast) = | |
| 395 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 396 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 397 | - (x : Parameter × Plane) (hxpos : 0 < x.1.1) | |
| 398 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1 ∈ U) | |
| 399 | - (θ : ℝ) (k : Fin 3) : | |
| 400 | - ((nativeData D h gap j).globalGaussian D.directions n (angleShuffle (x, 0)) k * | |
| 401 | - HarmonicFields.character j (D.carrierBlock.frequency n * D.carrierBlock.phase n x + | |
| 402 | - (D.carrierBlock.angularFrequency n : ℝ) * θ)).re = | |
| 403 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 404 | - ((referenceData D j).globalGaussian D.directions D.reference.band | |
| 405 | - (angleShuffle (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 406 | - (ChartScales.Q_pos D.reference.band) (gap n) x, 0)) k * | |
| 407 | - HarmonicFields.character j (D.carrierBlock.frequency D.reference.band * | |
| 408 | - D.carrierBlock.phase D.reference.band | |
| 409 | - (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 410 | - (ChartScales.Q_pos D.reference.band) (gap n) x) + | |
| 411 | - (D.carrierBlock.angularFrequency D.reference.band : ℝ) * θ)).re := by | |
| 412 | - have hg := fromReference_globalGaussian D h gap j n i H hn hr R hcutoff hK hKr hfast | |
| 413 | - (angleShuffle (x, 0)) hx | |
| 414 | - have hp := H.block.phase (x := x) hxpos | |
| 415 | - dsimp only at hp | |
| 416 | - rw [hg, hp, H.block.angular] | |
| 417 | - simp only [Pi.smul_apply, smul_mul_assoc, Complex.smul_re, smul_eq_mul] | |
| 418 | - rfl | |
| 419 | - | |
| 420 | -/-- Naturality of the actual finite Gaussian harmonic block, with all | |
| 421 | -angular variables retained. No equality of Gaussian outputs is assumed. -/ | |
| 422 | -theorem fromReference_gaussianBlock (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 423 | - (N n i : ℕ) | |
| 424 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 425 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 426 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 427 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 428 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 429 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (hfrequency : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 430 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 431 | - (D.directions.fastScale n • D.directions.fast) = | |
| 432 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 433 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 434 | - (x : Parameter × Plane) (hxpos : 0 < x.1.1) | |
| 435 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1 ∈ U) | |
| 436 | - (θ : ℝ) (k : Fin 3) : | |
| 437 | - ((CorrectionStep.ParticularParameters.fromReference D h gap).gaussianBlock | |
| 438 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation n (x, θ) k = | |
| 439 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 440 | - ((referenceParameters D).gaussianBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation | |
| 441 | - D.reference.band | |
| 442 | - (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 443 | - (ChartScales.Q_pos D.reference.band) (gap n) x, θ) k := by | |
| 444 | - unfold CorrectionStep.ParticularParameters.gaussianBlock | |
| 445 | - rw [assembledBlock_value, assembledBlock_value, Finset.mul_sum] | |
| 446 | - apply Finset.sum_congr rfl | |
| 447 | - intro j hj | |
| 448 | - have hj0 : (j : ℝ) ≠ 0 := by exact_mod_cast ((mem_modes N j).mp hj).1 | |
| 449 | - exact fromReference_gaussian_character D h gap j n i H hn hr (R j hj) hcutoff | |
| 450 | - (mul_ne_zero hj0 (hfrequency n)) (mul_ne_zero hj0 (hfrequency D.reference.band)) | |
| 451 | - hfast x hxpos hx θ k | |
| 452 | - | |
| 453 | -/-- The same finite-block statement on the original full cylindrical | |
| 454 | -coordinates, with the source weight explicitly written as `c^2 * l`. -/ | |
| 455 | -theorem fromReference_gaussianBlock_cylinder (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 456 | - (N n i : ℕ) | |
| 457 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 458 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 459 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 460 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 461 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 462 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (hfrequency : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 463 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 464 | - (D.directions.fastScale n • D.directions.fast) = | |
| 465 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 466 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 467 | - (x : Cylinder) (hxpos : 0 < x.1.1) | |
| 468 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 469 | - (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) (k : Fin 3) : | |
| 470 | - ((CorrectionStep.ParticularParameters.fromReference D h gap).gaussianBlock | |
| 471 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation n | |
| 472 | - (angleShuffle.symm (PhysicalParticularWave.waveEquiv x)) k = | |
| 473 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) ^ 2 * | |
| 474 | - ratioPower (ChartScales.Q n) (ChartScales.Q D.reference.band) (1 / 2)) * | |
| 475 | - ((referenceParameters D).gaussianBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation | |
| 476 | - D.reference.band | |
| 477 | - (angleShuffle.symm (PhysicalParticularWave.waveEquiv | |
| 478 | - (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x))) k := by | |
| 479 | - rw [pow_two, PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) | |
| 480 | - (ChartScales.Q_pos D.reference.band)] | |
| 481 | - exact fromReference_gaussianBlock D h gap N n i H hn hr R hcutoff hfrequency hfast | |
| 482 | - ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2) | |
| 483 | - hxpos hx (PhysicalParticularWave.waveEquiv x).1.2 k | |
| 484 | - | |
| 485 | 172 | end HarmonicAssembly |
| 486 | 173 | |
| 487 | 174 | end NavierStokes.GaussianErrorNaturality |
+0 −313 NavierStokes/GaussianTailFlat.lean View file
| @@ -56,21 +56,6 @@ theorem profile_eventually_zero {v : ℝ} (hv : 1 / 3 < |v - 1 / 2|) : | ||
| 56 | 56 | rw [profileBump.tsupport_eq] |
| 57 | 57 | simpa [Metric.mem_closedBall, Real.dist_eq, profileBump] using (not_le.mpr hv) |
| 58 | 58 | |
| 59 | -theorem profile_iteratedDeriv_support (m : ℕ) : | |
| 60 | - support (iteratedDeriv (m + 1) profile) ⊆ | |
| 61 | - {v : ℝ | 1 / 5 ≤ |v - 1 / 2| ∧ |v - 1 / 2| ≤ 1 / 3} := by | |
| 62 | - intro v hv | |
| 63 | - change iteratedDeriv (m + 1) profile v ≠ 0 at hv | |
| 64 | - constructor | |
| 65 | - · by_contra h | |
| 66 | - apply hv | |
| 67 | - rw [(profile_eventually_one (lt_of_not_ge h)).iteratedDeriv_eq (m + 1), | |
| 68 | - SmoothCutoffs.iteratedDeriv_const_succ] | |
| 69 | - · by_contra h | |
| 70 | - apply hv | |
| 71 | - rw [(profile_eventually_zero (lt_of_not_ge h)).iteratedDeriv_eq (m + 1), | |
| 72 | - SmoothCutoffs.iteratedDeriv_const_succ] | |
| 73 | - | |
| 74 | 59 | theorem profile_iteratedDeriv_compact (m : ℕ) : |
| 75 | 60 | HasCompactSupport (iteratedDeriv m profile) := by |
| 76 | 61 | induction m with |
| @@ -90,14 +75,6 @@ noncomputable def slotCutoff (L : ℝ) (v : ℝ) : ℝ := profile (v / L) | ||
| 90 | 75 | theorem slotCutoff_contDiff (L : ℝ) : ContDiff ℝ ∞ (slotCutoff L) := |
| 91 | 76 | profile_contDiff.comp (contDiff_id.div_const L) |
| 92 | 77 | |
| 93 | -theorem slotCutoff_deriv (L v : ℝ) : | |
| 94 | - deriv (slotCutoff L) v = L⁻¹ * deriv profile (v / L) := by | |
| 95 | - have hp := (profile_contDiff.differentiable (by simp)).differentiableAt.hasDerivAt | |
| 96 | - (x := v / L) | |
| 97 | - have hh := hp.comp v ((hasDerivAt_id v).div_const L) | |
| 98 | - unfold slotCutoff | |
| 99 | - simpa [Function.comp_def, div_eq_mul_inv, mul_comm] using hh.deriv | |
| 100 | - | |
| 101 | 78 | theorem slot_normalized_distance {L : ℝ} (hL : 0 < L) (v : ℝ) : |
| 102 | 79 | |v / L - 1 / 2| = |v - L / 2| / L := by |
| 103 | 80 | have he : v / L - 1 / 2 = (v - L / 2) / L := by |
| @@ -120,50 +97,6 @@ theorem slotCutoff_zero {L v : ℝ} (hL : 0 < L) (hv : L / 3 ≤ |v - L / 2|) : | ||
| 120 | 97 | apply (le_div_iff₀ hL).2 |
| 121 | 98 | linarith |
| 122 | 99 | |
| 123 | -/-- The derivative error is supported strictly inside the slot and outside | |
| 124 | -the central plateau; in particular it lies near the entry or exit. -/ | |
| 125 | -theorem slotCutoff_deriv_support {L v : ℝ} (hL : 0 < L) | |
| 126 | - (hv : deriv (slotCutoff L) v ≠ 0) : | |
| 127 | - L / 5 ≤ |v - L / 2| ∧ |v - L / 2| ≤ L / 3 := by | |
| 128 | - have hd : deriv profile (v / L) ≠ 0 := by | |
| 129 | - intro hz | |
| 130 | - exact hv (by rw [slotCutoff_deriv, hz, mul_zero]) | |
| 131 | - have hh := profile_iteratedDeriv_support 0 (by simpa using hd) | |
| 132 | - change 1 / 5 ≤ |v / L - 1 / 2| ∧ |v / L - 1 / 2| ≤ 1 / 3 at hh | |
| 133 | - rw [slot_normalized_distance hL] at hh | |
| 134 | - constructor | |
| 135 | - · have ht := (le_div_iff₀ hL).1 hh.1 | |
| 136 | - linarith | |
| 137 | - · have ht := (div_le_iff₀ hL).1 hh.2 | |
| 138 | - linarith | |
| 139 | - | |
| 140 | -/-- The precise Gaussian tail bound uses the full plateau radius. -/ | |
| 141 | -theorem gaussian_off_plateau {c L v : ℝ} (hc : 0 ≤ c) (hL : 0 < L) | |
| 142 | - (hv : L / 5 ≤ |v - L / 2|) : | |
| 143 | - Real.exp (-c * (v - L / 2) ^ 2 / L) ≤ Real.exp (-(c / 25) * L) := by | |
| 144 | - have hsq : (L / 5) ^ 2 ≤ (v - L / 2) ^ 2 := by | |
| 145 | - simpa only [sq_abs] using pow_le_pow_left₀ (by positivity : 0 ≤ L / 5) hv 2 | |
| 146 | - apply Real.exp_le_exp.2 | |
| 147 | - apply (div_le_iff₀ hL).2 | |
| 148 | - nlinarith [mul_le_mul_of_nonneg_left hsq hc] | |
| 149 | - | |
| 150 | -theorem reference_envelope_off_plateau {lam u L v : ℝ} | |
| 151 | - (hlam : 0 < lam) (hu : 0 < u) (hL : 0 < L) (hv : v ∈ Icc 0 L) | |
| 152 | - (htail : L / 5 ≤ |v - L / 2|) : | |
| 153 | - GaussianEnvelope.envelope (GaussianEnvelope.referenceRate lam u L) (L / 2) v ≤ | |
| 154 | - Real.exp (-(u * GaussianEnvelope.referenceMinSlope lam u / 50) * L) := by | |
| 155 | - have h := (GaussianEnvelope.reference_gaussian_bounds hlam hu hL hv).2 | |
| 156 | - have hc := GaussianEnvelope.referenceMinSlope_pos hlam hu | |
| 157 | - have hg := gaussian_off_plateau | |
| 158 | - (c := u * GaussianEnvelope.referenceMinSlope lam u / 2) (by positivity) hL htail | |
| 159 | - have he : -(u * GaussianEnvelope.referenceMinSlope lam u / 2) * | |
| 160 | - (v - L / 2) ^ 2 / L = | |
| 161 | - -(u * GaussianEnvelope.referenceMinSlope lam u) * (v - L / 2) ^ 2 / (2 * L) := by ring | |
| 162 | - rw [he] at hg | |
| 163 | - convert! h.trans hg using 1 | |
| 164 | - congr 1 | |
| 165 | - ring | |
| 166 | - | |
| 167 | 100 | /-- The square root of the actual flat edge is another member of that family. -/ |
| 168 | 101 | theorem sqrt_edge (c x : ℝ) : Real.sqrt (FlatCutoff.edge c x) = FlatCutoff.edge (c / 2) x := by |
| 169 | 102 | by_cases hx : x ≤ 0 |
| @@ -388,19 +321,6 @@ normalized slot coordinate `v/L`. -/ | ||
| 388 | 321 | noncomputable def cutoffError (L : ℝ) (θ : D → ℝ) (u f : D → E) (x : D) : E := |
| 389 | 322 | (L⁻¹ * deriv profile (θ x)) • u x + (1 - profile (θ x)) • f x |
| 390 | 323 | |
| 391 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 392 | -theorem cutoffError_eq_slot (L : ℝ) (v : D → ℝ) (u f : D → E) (x : D) : | |
| 393 | - cutoffError L (fun y => v y / L) u f x = | |
| 394 | - deriv (slotCutoff L) (v x) • u x + (1 - slotCutoff L (v x)) • f x := by | |
| 395 | - rw [slotCutoff_deriv] | |
| 396 | - rfl | |
| 397 | - | |
| 398 | -theorem cutoffError_contDiffOn {U : Set D} (L : ℝ) {θ : D → ℝ} {u f : D → E} | |
| 399 | - (hθ : ContDiffOn ℝ ∞ θ U) (hu : ContDiffOn ℝ ∞ u U) (hf : ContDiffOn ℝ ∞ f U) : | |
| 400 | - ContDiffOn ℝ ∞ (cutoffError L θ u f) U := by | |
| 401 | - exact ((contDiffOn_const.mul (profileDeriv_contDiff.comp_contDiffOn hθ)).smul hu).add | |
| 402 | - ((contDiffOn_const.sub (profile_contDiff.comp_contDiffOn hθ)).smul hf) | |
| 403 | - | |
| 404 | 324 | omit [NormedSpace ℝ D] in |
| 405 | 325 | theorem cutoffError_eventually_zero (L : ℝ) {θ : D → ℝ} (u f : D → E) {x : D} |
| 406 | 326 | (hθ : ContinuousAt θ x) (hx : |θ x - 1 / 2| < 1 / 5) : |
| @@ -715,24 +635,6 @@ noncomputable def actualSlotFamily (s : StripData D) (r0 h : ℝ) | ||
| 715 | 635 | (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) : |
| 716 | 636 | (actualSlotFamily s r0 h hr0 hh η center).length n = ChartScales.slotLength r0 h n := rfl |
| 717 | 637 | |
| 718 | -theorem actualSlotFamily_coordinate (s : StripData D) (r0 h : ℝ) | |
| 719 | - (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) (x : D) : | |
| 720 | - (actualSlotFamily s r0 h hr0 hh η center).coordinate n x = | |
| 721 | - (η x - center n + r0) / (2 * r0) := by | |
| 722 | - change (r0 - center n) / (2 * r0) + ((2 * r0)⁻¹ • η) x = _ | |
| 723 | - simp only [_root_.smul_apply, smul_eq_mul] | |
| 724 | - ring | |
| 725 | - | |
| 726 | -theorem actualSlotFamily_cutoff (s : StripData D) (r0 h : ℝ) | |
| 727 | - (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) (x : D) : | |
| 728 | - (actualSlotFamily s r0 h hr0 hh η center).cutoff n x = | |
| 729 | - slotCutoff (ChartScales.slotLength r0 h n) | |
| 730 | - ((η x - center n + r0) / ChartScales.timeCoefficient h n) := by | |
| 731 | - rw [SlotFamily.cutoff, actualSlotFamily_coordinate] | |
| 732 | - unfold slotCutoff ChartScales.slotLength | |
| 733 | - congr 1 | |
| 734 | - field_simp [(ChartScales.timeCoefficient_pos h n).ne', hr0.ne'] | |
| 735 | - | |
| 736 | 638 | /-- The reference Gaussian envelope, extended by zero away from its slot. |
| 737 | 639 | This is a weight, not a redefinition of either retained error. -/ |
| 738 | 640 | noncomputable def referenceSlotEnvelope (lam u L θ : ℝ) : ℝ := |
| @@ -757,13 +659,6 @@ theorem referenceSlotEnvelope_bound {lam u L : ℝ} | ||
| 757 | 659 | |
| 758 | 660 | namespace SlotFamily |
| 759 | 661 | |
| 760 | -theorem error_contDiff {s : StripData D} (g : SlotFamily s) {u f : ℕ → D → E} | |
| 761 | - (hu : ∀ n, ContDiff ℝ ∞ (u n)) (hf : ∀ n, ContDiff ℝ ∞ (f n)) (n : ℕ) : | |
| 762 | - ContDiff ℝ ∞ (g.error u f n) := by | |
| 763 | - apply contDiffOn_univ.mp | |
| 764 | - exact cutoffError_contDiffOn (g.length n) (g.coordinate_contDiff n).contDiffOn | |
| 765 | - (hu n).contDiffOn (hf n).contDiffOn | |
| 766 | - | |
| 767 | 662 | /-- The fundamental need only be smooth in the open slot. Away from that |
| 768 | 663 | slot the exact error agrees locally with the smooth source. This avoids any |
| 769 | 664 | smoothness assertion for a clamped ODE extension across its endpoints. -/ |
| @@ -802,57 +697,6 @@ theorem error_contDiff_of_slot {s : StripData D} (g : SlotFamily s) {u f : ℕ | ||
| 802 | 697 | |
| 803 | 698 | open PhysicalGraphBounds ProblemStatement |
| 804 | 699 | |
| 805 | -/-- Every fixed physical derivative retains arbitrarily high decay powers. | |
| 806 | -The loss is supplied by the proved physical graph theorem. -/ | |
| 807 | -theorem error_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) | |
| 808 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 809 | - {P : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → E} | |
| 810 | - (hu : WaveClass s P α u) (hf : WaveClass s P α f) (hc : 0 < c) | |
| 811 | - (hP : ∀ n x, x ∈ s.domain → | |
| 812 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 813 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 814 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 815 | - {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) (m : ℕ) (N : ℝ) : | |
| 816 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ p : SpaceTime, | |
| 817 | - scaledRadial n p ∈ annulus a b → |p.1| ≤ 1 → physicalLift h n p ∈ s.domain → | |
| 818 | - ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 819 | - ‖iteratedFDeriv ℝ m (g.error u f n ∘ physicalLift h n) p‖ ≤ C * q ^ N := by | |
| 820 | - obtain ⟨A, hA, hab⟩ := g.error_stripped_bound edges scales hu hf hc hP m | |
| 821 | - (N + (graphLoss m + 1)) | |
| 822 | - obtain ⟨C, hC, hbound⟩ := stripped_class_physical_bound (E := E) (b := b) hh hh1 ha m | |
| 823 | - (N + (graphLoss m + 1)) 0 A hA | |
| 824 | - refine ⟨C, hC, fun n hn p hp ht hd q hq hlo hhi => ?_⟩ | |
| 825 | - have hb := hbound n hn p hp ht q hq hlo hhi (g.error u f n) | |
| 826 | - (g.error_contDiff_of_slot hu_smooth hf_smooth n) (fun i hi => by | |
| 827 | - simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n p) hd i hi) | |
| 828 | - simpa only [add_sub_cancel_right] using hb | |
| 829 | - | |
| 830 | -/-- Big-O formulation along any sequence of physical points in the controlled | |
| 831 | -annulus and slow domain. The derivative order and power are arbitrary. -/ | |
| 832 | -theorem error_physical_isBigO {s : StripData LiftPoint} (g : SlotFamily s) | |
| 833 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 834 | - {P : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → E} | |
| 835 | - (hu : WaveClass s P α u) (hf : WaveClass s P α f) (hc : 0 < c) | |
| 836 | - (hP : ∀ n x, x ∈ s.domain → | |
| 837 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 838 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 839 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 840 | - {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 841 | - (p : ℕ → SpaceTime) | |
| 842 | - (hp : ∀ n, 4 ≤ n → scaledRadial n (p n) ∈ annulus a b ∧ |(p n).1| ≤ 1 ∧ | |
| 843 | - physicalLift h n (p n) ∈ s.domain) (m : ℕ) (N : ℝ) : | |
| 844 | - (fun n => iteratedFDeriv ℝ m (g.error u f n ∘ physicalLift h n) (p n)) =O[atTop] | |
| 845 | - (fun n => ChartScales.Q n ^ N) := by | |
| 846 | - obtain ⟨C, hC, hb⟩ := g.error_physical_bound edges scales hu hf hc hP hu_smooth hf_smooth | |
| 847 | - hh hh1 ha (b := b) m N | |
| 848 | - apply Asymptotics.IsBigO.of_bound C | |
| 849 | - filter_upwards [eventually_ge_atTop 4] with n hn | |
| 850 | - have hQ := ChartScales.Q_pos n | |
| 851 | - have hpn := hp n hn | |
| 852 | - have hh := hb n hn (p n) hpn.1 hpn.2.1 hpn.2.2 (ChartScales.Q n) hQ | |
| 853 | - (by linarith) (by linarith) | |
| 854 | - simpa only [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hQ N)] using hh | |
| 855 | - | |
| 856 | 700 | /-- The same result for the actual oscillatory carrier. The phase estimates |
| 857 | 701 | are the primitive estimates consumed by `carrier_class_physical_bound`. -/ |
| 858 | 702 | theorem error_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) |
| @@ -883,175 +727,18 @@ theorem error_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s | ||
| 883 | 727 | simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n p) hd i hi) hΦb |
| 884 | 728 | simpa only [add_sub_cancel_right] using hh |
| 885 | 729 | |
| 886 | -/-- Version with the manuscript's actual native phase, polar charts and | |
| 887 | -rounded carrier. No phase-derivative hypothesis replaces the base-field jets. -/ | |
| 888 | -theorem error_native_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) | |
| 889 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 890 | - {Penv : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → ℂ} | |
| 891 | - (hu : WaveClass s Penv α u) (hf : WaveClass s Penv α f) (hc : 0 < c) | |
| 892 | - (hPenv : ∀ n x, x ∈ s.domain → | |
| 893 | - Penv n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 894 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 895 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 896 | - {h a b Z r0 P B dBase H : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 897 | - (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) (hdBase : 0 ≤ dBase) | |
| 898 | - (hH : 0 ≤ H) (m : ℕ) (N : ℝ) : | |
| 899 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w : SpaceTime, | |
| 900 | - scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → physicalLift h n w ∈ s.domain → | |
| 901 | - ‖liftZT (physicalLift h n w)‖ ≤ Z → | |
| 902 | - ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 903 | - ∀ (chart : PolarCharts.Index) (center : Plane) (p pz x0 : ℝ), | |
| 904 | - |p| ≤ P → |pz| ≤ P → |x0| ≤ P → | |
| 905 | - |etaCoordinate (nativeGraph h n w - center)| ≤ r0 → | |
| 906 | - ∀ (F G : Slow → ℝ) (j : ℤ), ContDiff ℝ ∞ F → ContDiff ℝ ∞ G → |(j : ℝ)| ≤ H → | |
| 907 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i F | |
| 908 | - (slotMap (PolarCharts.chart a chart) (ChartScales.timeCoefficient h n) center r0 | |
| 909 | - (physicalLift h n w)).1‖ ≤ B * ChartScales.S n ^ dBase) → | |
| 910 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i G | |
| 911 | - (slotMap (PolarCharts.chart a chart) (ChartScales.timeCoefficient h n) center r0 | |
| 912 | - (physicalLift h n w)).1‖ ≤ B * ChartScales.S n ^ dBase) → | |
| 913 | - ‖iteratedFDeriv ℝ m | |
| 914 | - ((fun y => g.error u f n y * character ((ChartScales.carrier h n : ℝ) * (j : ℝ)) | |
| 915 | - (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) ∘ | |
| 916 | - physicalLift h n) w‖ ≤ C * q ^ N := by | |
| 917 | - obtain ⟨A, hA, hab⟩ := g.error_stripped_bound edges scales hu hf hc hPenv m (N + waveLoss h m) | |
| 918 | - obtain ⟨C, hC, hb⟩ := native_carrier_physical_bound (b := b) hh hh1 ha hZ hr0 hP hB hdBase m | |
| 919 | - (N + waveLoss h m) 0 A H hA hH | |
| 920 | - refine ⟨C, hC, fun n hn w hw ht hd hz q hq hlo hhi chart center p pz x0 hp hpz hx0 hslot | |
| 921 | - F G j hF hG hj hFb hGb => ?_⟩ | |
| 922 | - have hh := hb n hn w hw ht hz q hq hlo hhi chart center p pz x0 hp hpz hx0 hslot | |
| 923 | - (g.error u f n) F G j (g.error_contDiff_of_slot hu_smooth hf_smooth n) hF hG hj (fun i hi => by | |
| 924 | - simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n w) hd i hi) hFb hGb | |
| 925 | - simpa only [add_sub_cancel_right] using hh | |
| 926 | - | |
| 927 | 730 | end SlotFamily |
| 928 | 731 | |
| 929 | 732 | /-! ## The two summands separately -/ |
| 930 | 733 | |
| 931 | 734 | namespace SlotFamily |
| 932 | 735 | |
| 933 | -noncomputable def derivativeError {s : StripData D} (g : SlotFamily s) | |
| 934 | - (u : ℕ → D → E) (n : ℕ) (x : D) : E := | |
| 935 | - ((g.length n)⁻¹ * deriv profile (g.coordinate n x)) • u n x | |
| 936 | - | |
| 937 | -noncomputable def omittedSource {s : StripData D} (g : SlotFamily s) | |
| 938 | - (f : ℕ → D → E) (n : ℕ) (x : D) : E := | |
| 939 | - (1 - profile (g.coordinate n x)) • f n x | |
| 940 | - | |
| 941 | -theorem error_eq_sum {s : StripData D} (g : SlotFamily s) (u f : ℕ → D → E) | |
| 942 | - (n : ℕ) (x : D) : | |
| 943 | - g.error u f n x = g.derivativeError u n x + g.omittedSource f n x := rfl | |
| 944 | - | |
| 945 | 736 | private theorem jet_eq_zero_of_eventually {u : D → E} {x : D} |
| 946 | 737 | (he : u =ᶠ[𝓝 x] fun _ => 0) (j : ℕ) : iteratedFDeriv ℝ j u x = 0 := by |
| 947 | 738 | have he' : u =ᶠ[𝓝[univ] x] fun _ => 0 := by simpa only [nhdsWithin_univ] using he |
| 948 | 739 | simpa only [iteratedFDerivWithin_univ, iteratedFDeriv_fun_zero, Pi.zero_apply] using |
| 949 | 740 | he'.iteratedFDerivWithin_eq (𝕜 := ℝ) he.self_of_nhds j |
| 950 | 741 | |
| 951 | -theorem derivativeError_jet_support {s : StripData D} (g : SlotFamily s) | |
| 952 | - (u : ℕ → D → E) (n j : ℕ) : | |
| 953 | - support (iteratedFDeriv ℝ j (g.derivativeError u n)) ⊆ | |
| 954 | - {x | 1 / 5 ≤ |g.coordinate n x - 1 / 2| ∧ |g.coordinate n x - 1 / 2| ≤ 1 / 3} := by | |
| 955 | - classical | |
| 956 | - intro x hx | |
| 957 | - change iteratedFDeriv ℝ j (g.derivativeError u n) x ≠ 0 at hx | |
| 958 | - have hzero (hv : deriv profile =ᶠ[𝓝 (g.coordinate n x)] fun _ => 0) : False := by | |
| 959 | - apply hx | |
| 960 | - apply jet_eq_zero_of_eventually (j := j) | |
| 961 | - have hcomp := hv.comp_tendsto (g.coordinate_contDiff n).continuous.continuousAt | |
| 962 | - filter_upwards [hcomp] with y hy | |
| 963 | - have hy' : deriv profile (g.coordinate n y) = 0 := hy | |
| 964 | - simp [derivativeError, hy'] | |
| 965 | - constructor | |
| 966 | - · by_contra ht | |
| 967 | - apply hzero | |
| 968 | - filter_upwards [(profile_eventually_one (lt_of_not_ge ht)).deriv] with y hy | |
| 969 | - simpa using hy | |
| 970 | - · by_contra ht | |
| 971 | - apply hzero | |
| 972 | - filter_upwards [(profile_eventually_zero (lt_of_not_ge ht)).deriv] with y hy | |
| 973 | - simpa using hy | |
| 974 | - | |
| 975 | -/-- Both transition collars, with the exact normalized slot endpoints. This | |
| 976 | -holds for every actual parameter jet, without any regularity needed of `u` | |
| 977 | -where the multiplier vanishes on a neighborhood. -/ | |
| 978 | -theorem derivativeError_jet_near_ends {s : StripData D} (g : SlotFamily s) | |
| 979 | - (u : ℕ → D → E) (n j : ℕ) {x : D} | |
| 980 | - (hx : iteratedFDeriv ℝ j (g.derivativeError u n) x ≠ 0) : | |
| 981 | - g.coordinate n x ∈ Icc (1 / 6 : ℝ) (3 / 10) ∪ Icc (7 / 10 : ℝ) (5 / 6) := by | |
| 982 | - have hb := g.derivativeError_jet_support u n j hx | |
| 983 | - change 1 / 5 ≤ |g.coordinate n x - 1 / 2| ∧ |g.coordinate n x - 1 / 2| ≤ 1 / 3 at hb | |
| 984 | - rcases le_total (g.coordinate n x) (1 / 2) with h | h | |
| 985 | - · rw [abs_of_nonpos (by linarith)] at hb | |
| 986 | - left | |
| 987 | - constructor <;> linarith [hb.1, hb.2] | |
| 988 | - · rw [abs_of_nonneg (by linarith)] at hb | |
| 989 | - right | |
| 990 | - constructor <;> linarith [hb.1, hb.2] | |
| 991 | - | |
| 992 | -theorem omittedSource_jet_support {s : StripData D} (g : SlotFamily s) | |
| 993 | - (f : ℕ → D → E) (n j : ℕ) : | |
| 994 | - support (iteratedFDeriv ℝ j (g.omittedSource f n)) ⊆ | |
| 995 | - {x | 1 / 5 ≤ |g.coordinate n x - 1 / 2|} := by | |
| 996 | - intro x hx | |
| 997 | - change 1 / 5 ≤ |g.coordinate n x - 1 / 2| | |
| 998 | - by_contra ht | |
| 999 | - apply hx | |
| 1000 | - apply jet_eq_zero_of_eventually (j := j) | |
| 1001 | - have hcomp := (profile_eventually_one (lt_of_not_ge ht)).comp_tendsto | |
| 1002 | - (g.coordinate_contDiff n).continuous.continuousAt | |
| 1003 | - filter_upwards [hcomp] with y hy | |
| 1004 | - have hy' : profile (g.coordinate n y) = 1 := hy | |
| 1005 | - simp [omittedSource, hy'] | |
| 1006 | - | |
| 1007 | -theorem derivativeError_gaussian_bound {s : StripData D} (g : SlotFamily s) | |
| 1008 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1009 | - {P : ℕ → D → ℝ} {α c : ℝ} {u : ℕ → D → E} | |
| 1010 | - (hu : WaveClass s P α u) (hc : 0 < c) | |
| 1011 | - (hP : ∀ n x, x ∈ s.domain → | |
| 1012 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 1013 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ d : ℕ, ∀ n x, x ∈ s.domain → ∀ j ≤ m, | |
| 1014 | - ‖iteratedFDeriv ℝ j (g.derivativeError u n) x‖ ≤ | |
| 1015 | - C * (1 + ChartScales.S n) ^ d * | |
| 1016 | - Real.exp (-(c * g.length_scale / 50) * ChartScales.S n) := by | |
| 1017 | - have hz : WaveClass s P α (fun _ _ => (0 : E)) := MemClass.zero hu.weight_nonneg | |
| 1018 | - have he : g.error u (fun _ _ => (0 : E)) = g.derivativeError u := by | |
| 1019 | - funext n x | |
| 1020 | - simp only [error, cutoffError, derivativeError, smul_zero, add_zero] | |
| 1021 | - have hb := g.error_gaussian_bound edges scales hu hz hc hP m | |
| 1022 | - rwa [he] at hb | |
| 1023 | - | |
| 1024 | -theorem omittedSource_gaussian_bound {s : StripData D} (g : SlotFamily s) | |
| 1025 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1026 | - {P : ℕ → D → ℝ} {α c : ℝ} {f : ℕ → D → E} | |
| 1027 | - (hf : WaveClass s P α f) (hc : 0 < c) | |
| 1028 | - (hP : ∀ n x, x ∈ s.domain → | |
| 1029 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 1030 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ d : ℕ, ∀ n x, x ∈ s.domain → ∀ j ≤ m, | |
| 1031 | - ‖iteratedFDeriv ℝ j (g.omittedSource f n) x‖ ≤ | |
| 1032 | - C * (1 + ChartScales.S n) ^ d * | |
| 1033 | - Real.exp (-(c * g.length_scale / 50) * ChartScales.S n) := by | |
| 1034 | - have hz : WaveClass s P α (fun _ _ => (0 : E)) := MemClass.zero hf.weight_nonneg | |
| 1035 | - have he : g.error (fun _ _ => (0 : E)) f = g.omittedSource f := by | |
| 1036 | - funext n x | |
| 1037 | - simp only [error, cutoffError, omittedSource, smul_zero, zero_add] | |
| 1038 | - have hb := g.error_gaussian_bound edges scales hz hf hc hP m | |
| 1039 | - rwa [he] at hb | |
| 1040 | - | |
| 1041 | -/-- Full all-gain specialization to the actually constructed reference | |
| 1042 | -Gaussian envelope. Only the proved original wave classes are inputs. -/ | |
| 1043 | -theorem reference_error_all_gains {s : StripData D} (g : SlotFamily s) | |
| 1044 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1045 | - {lam v α : ℝ} (hlam : 0 < lam) (hv : 0 < v) {u f : ℕ → D → E} | |
| 1046 | - (hu : WaveClass s (fun n x => referenceSlotEnvelope lam v (g.length n) (g.coordinate n x)) α u) | |
| 1047 | - (hf : WaveClass s (fun n x => referenceSlotEnvelope lam v (g.length n) (g.coordinate n x)) α f) | |
| 1048 | - (N : ℝ) : UnweightedClass s N (g.error u f) := by | |
| 1049 | - have hm := GaussianEnvelope.referenceMinSlope_pos hlam hv | |
| 1050 | - apply g.error_all_gains edges scales hu hf | |
| 1051 | - (c := v * GaussianEnvelope.referenceMinSlope lam v / 2) (by positivity) | |
| 1052 | - intro n x _ | |
| 1053 | - exact referenceSlotEnvelope_bound hlam hv (g.length_pos n) (g.coordinate n x) | |
| 1054 | - | |
| 1055 | 742 | end SlotFamily |
| 1056 | 743 | |
| 1057 | 744 | end NavierStokes.GaussianTailFlat |
+0 −49 NavierStokes/LiftedMeanResidual.lean View file
| @@ -508,9 +508,6 @@ omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | ||
| 508 | 508 | theorem avg_neg (f : D × ℝ → ℝ) (x : D) : avg (fun p => -f p) x = -avg f x := by |
| 509 | 509 | simp only [avg, intervalIntegral.integral_neg, neg_div] |
| 510 | 510 | |
| 511 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 512 | -theorem avg_zero (x : D) : avg (fun _ : D × ℝ => 0) x = 0 := by simp [avg] | |
| 513 | - | |
| 514 | 511 | theorem Regular.scalarLaplacian_smooth {U : Set D} {R : D → ℝ} {Vr Vz Vt : D → D} |
| 515 | 512 | (G : Regular U R Vr Vz Vt) {f : D × ℝ → ℝ} |
| 516 | 513 | (hf : ContDiffOn ℝ ∞ f (cylinder U)) : |
| @@ -1200,56 +1197,10 @@ theorem angularMean_fullGoodResidual {U : Set D} {c : CorrectionState.Context D} | ||
| 1200 | 1197 | H.avg_nonlinearField n hx i, avg_virtualDivergence, meanExpression_state H n hx i] |
| 1201 | 1198 | rfl |
| 1202 | 1199 | |
| 1203 | -theorem meanGoodResidual_errors (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 1204 | - (n : ℕ) (x : D) (i : Fin 3) | |
| 1205 | - (hb : Continuous (fun θ : ℝ => u.errors.base n (x, θ) i)) | |
| 1206 | - (hg : Continuous (fun θ : ℝ => u.errors.gaussian n (x, θ) i)) | |
| 1207 | - (ha : Continuous (fun θ : ℝ => u.errors.aliasError n (x, θ) i)) : | |
| 1208 | - u.meanGoodResidual c n x i = u.reducedMeanResidual c n x i - | |
| 1209 | - CorrectionState.angularAverage (fun k p => u.errors.gaussian k p i) n x - | |
| 1210 | - CorrectionState.angularAverage (fun k p => u.errors.aliasError k p i) n x := by | |
| 1211 | - change u.reducedMeanResidual c n x i + avg (fun p => u.errors.base n p i) x - | |
| 1212 | - avg (fun p => u.errors.base n p i + u.errors.gaussian n p i + u.errors.aliasError n p i) x = | |
| 1213 | - u.reducedMeanResidual c n x i - avg (fun p => u.errors.gaussian n p i) x - | |
| 1214 | - avg (fun p => u.errors.aliasError n p i) x | |
| 1215 | - rw [avg_add (hb.add hg) ha, avg_add hb hg] | |
| 1216 | - ring | |
| 1217 | - | |
| 1218 | -theorem angularMean_fullGoodResidual_errors {U : Set D} {c : CorrectionState.Context D} {u : CorrectionState.State D} | |
| 1219 | - (H : MeanHypotheses U c u) (n : ℕ) {x : D} (hx : x ∈ U) (i : Fin 3) | |
| 1220 | - (hg : Continuous (fun θ : ℝ => u.errors.gaussian n (x, θ) i)) | |
| 1221 | - (ha : Continuous (fun θ : ℝ => u.errors.aliasError n (x, θ) i)) : | |
| 1222 | - angularMeanVector (fullGoodResidual c u) n x i = u.reducedMeanResidual c n x i - | |
| 1223 | - CorrectionState.angularAverage (fun k p => u.errors.gaussian k p i) n x - | |
| 1224 | - CorrectionState.angularAverage (fun k p => u.errors.aliasError k p i) n x := by | |
| 1225 | - rw [angularMean_fullGoodResidual H n hx i] | |
| 1226 | - exact meanGoodResidual_errors c u n x i (H.base_error_continuous n x hx i) hg ha | |
| 1227 | - | |
| 1228 | 1200 | section CanonicalGraph |
| 1229 | 1201 | |
| 1230 | 1202 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 1231 | 1203 | |
| 1232 | -/-- The actual power-graph profile is smooth on every positive radial strip. -/ | |
| 1233 | -theorem graphOperators_profile_smooth (r : CorrectionState.ReconstructionData) | |
| 1234 | - (epsilon fast : ℕ → ℝ) (axial slowTime : S × PressureStream.Plane) (temporal : PressureStream.Plane) | |
| 1235 | - {U : Set (PressureStream.Lift S)} (hpos : ∀ x ∈ U, 0 < x.1) : | |
| 1236 | - ContDiffOn ℝ ∞ | |
| 1237 | - (CorrectionState.graphOperators r epsilon fast axial slowTime temporal).radialProfile U := by | |
| 1238 | - change ContDiffOn ℝ ∞ (fun x : PressureStream.Lift S => r.exponent * x.1 ^ (r.exponent - 1)) U | |
| 1239 | - exact contDiffOn_const.mul (contDiffOn_fst.rpow_const_of_ne (fun x hx => (hpos x hx).ne')) | |
| 1240 | - | |
| 1241 | -/-- Direct instantiation by the genuine graph operators used by the state. -/ | |
| 1242 | -theorem graphOperators_regular (r : CorrectionState.ReconstructionData) | |
| 1243 | - (epsilon fast : ℕ → ℝ) (axial slowTime : S × PressureStream.Plane) (temporal : PressureStream.Plane) | |
| 1244 | - {U : Set (PressureStream.Lift S)} (hU : IsOpen U) (hpos : ∀ x ∈ U, 0 < x.1) (n : ℕ) : | |
| 1245 | - let o := CorrectionState.graphOperators r epsilon fast axial slowTime temporal | |
| 1246 | - Regular U o.radius (radialVector o n) (axialVector o n) (temporalVector o n) := by | |
| 1247 | - let o := CorrectionState.graphOperators r epsilon fast axial slowTime temporal | |
| 1248 | - have hp : ContDiffOn ℝ ∞ o.radialProfile U := | |
| 1249 | - graphOperators_profile_smooth r epsilon fast axial slowTime temporal hpos | |
| 1250 | - refine ⟨hU, contDiffOn_fst, fun x hx => (hpos x hx).ne', ?_, contDiffOn_const, contDiffOn_const⟩ | |
| 1251 | - exact contDiffOn_const.add ((hp.const_smul (o.radialFrequency n)).smul contDiffOn_const) | |
| 1252 | - | |
| 1253 | 1204 | end CanonicalGraph |
| 1254 | 1205 | |
| 1255 | 1206 | end |
+0 −52 NavierStokes/LocalAngularDiagonal.lean View file
| @@ -27,9 +27,6 @@ noncomputable def slowQ (h : ℝ) (s : DirectAngularDiagonal.Slow) : ℝ := | ||
| 27 | 27 | noncomputable def localSlowDomain (h qbig : ℝ) : Set DirectAngularDiagonal.Slow := |
| 28 | 28 | {s | s.1 < 1 ∧ slowQ h s < qbig} |
| 29 | 29 | |
| 30 | -theorem slowQ_physical (h : ℝ) (w : SpaceTime) : | |
| 31 | - slowQ h (DirectAngularDiagonal.slowPoint w) = PhysicalWaveSum.physicalQ h w := rfl | |
| 32 | - | |
| 33 | 30 | theorem slowQ_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 34 | 31 | {s : DirectAngularDiagonal.Slow} (hs : s.1 < 1) : ContDiffAt ℝ ∞ (slowQ h) s := by |
| 35 | 32 | exact (SimilarityCoordinates.coordinateQ_smooth (by linarith : 0 < 2 * h) |
| @@ -43,17 +40,6 @@ theorem localSlowDomain_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (qbig : | ||
| 43 | 40 | exact Filter.inter_mem (DirectAngularDiagonal.preterminalSlow_open.mem_nhds hs.1) |
| 44 | 41 | ((slowQ_smoothAt hh hh1 hs.1).continuousAt (gt_mem_nhds hs.2)) |
| 45 | 42 | |
| 46 | -theorem physicalDomain_eq_localDomain (h qbig : ℝ) : | |
| 47 | - DirectAngularDiagonal.physicalDomain (localSlowDomain h qbig) = | |
| 48 | - MixedAxisPreservation.localDomain h qbig := rfl | |
| 49 | - | |
| 50 | -theorem physicalDomain_eq_physicalSublevel (h qbig : ℝ) : | |
| 51 | - DirectAngularDiagonal.physicalDomain (localSlowDomain h qbig) = | |
| 52 | - CutStageEstimates.physicalSublevel h qbig := rfl | |
| 53 | - | |
| 54 | -theorem localSlowDomain_subset (h qbig : ℝ) : | |
| 55 | - localSlowDomain h qbig ⊆ DirectAngularDiagonal.preterminalSlow := fun _ hs => hs.1 | |
| 56 | - | |
| 57 | 43 | variable {h qbig : ℝ} |
| 58 | 44 | |
| 59 | 45 | /-- The literal uncut direct angular fields used in the diagonal. -/ |
| @@ -77,20 +63,6 @@ noncomputable def angularSupport | ||
| 77 | 63 | ℕ → MixedAxisPreservation.AngularSupport (MixedAxisPreservation.localDomain h qbig) := |
| 78 | 64 | fun j => MixedAxisPreservation.AngularSupport.ofAngularData (D j) (fun _ hw => hw) |
| 79 | 65 | |
| 80 | -theorem angularSupport_field | |
| 81 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : | |
| 82 | - (angularSupport D j).field = rawSeries D j := rfl | |
| 83 | - | |
| 84 | -theorem angularSum_eq_potentialSum | |
| 85 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (a : ℕ → ℝ) : | |
| 86 | - DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar) = | |
| 87 | - SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) (rawSeries D) := rfl | |
| 88 | - | |
| 89 | -theorem angularSum_eq_directDiagonal | |
| 90 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (a : ℕ → ℝ) : | |
| 91 | - DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar) = | |
| 92 | - MixedAxisPreservation.directDiagonal h (angularSupport D) a := rfl | |
| 93 | - | |
| 94 | 66 | /-! ## One common zero neighborhood above the cutoff support -/ |
| 95 | 67 | |
| 96 | 68 | theorem cutStages_zero_germ {a : ℕ → ℝ} (ha0 : 0 < a 0) (ham : ∀ j, a 0 ≤ a j) |
| @@ -128,30 +100,6 @@ theorem spatialCut_zero_germ {f : VelocityField} {w : SpaceTime} | ||
| 128 | 100 | |
| 129 | 101 | /-! ## Smoothness on the whole preterminal region -/ |
| 130 | 102 | |
| 131 | -theorem angularSum_smoothAt (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 132 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) | |
| 133 | - {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) | |
| 134 | - (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) | |
| 135 | - {w : SpaceTime} (ht : w.1 < 1) : | |
| 136 | - ContDiffAt ℝ ∞ | |
| 137 | - (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) w := by | |
| 138 | - by_cases hq : PhysicalWaveSum.physicalQ h w < qbig | |
| 139 | - · exact (DirectAngularDiagonal.angularSum_smooth (localSlowDomain_open hh hh1 qbig) D hat | |
| 140 | - (fun _ hx => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hx.1).contDiffWithinAt) | |
| 141 | - (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx.1)).contDiffAt | |
| 142 | - ((MixedAxisPreservation.localDomain_open hh hh1 qbig).mem_nhds ⟨ht, hq⟩) | |
| 143 | - · exact contDiffAt_const.congr_of_eventuallyEq | |
| 144 | - (angularSum_zero_germ hh hh1 D ha0 ham hgap ht (le_of_not_gt hq)) | |
| 145 | - | |
| 146 | -theorem angularSum_smooth (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 147 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) | |
| 148 | - {a : ℕ → ℝ} (hat : Tendsto a atTop atTop) (ha0 : 0 < a 0) | |
| 149 | - (ham : ∀ j, a 0 ≤ a j) (hgap : 1 / a 0 < qbig) : | |
| 150 | - ContDiffOn ℝ ∞ | |
| 151 | - (DirectAngularDiagonal.angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) | |
| 152 | - PhysicalWaveSum.preterminal := | |
| 153 | - fun _ ht => (angularSum_smoothAt hh hh1 D hat ha0 ham hgap ht).contDiffWithinAt | |
| 154 | - | |
| 155 | 103 | theorem qCoefficient_smooth (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 156 | 104 | ContDiffOn ℝ ∞ (DirectAngularDiagonal.qCoefficient h) |
| 157 | 105 | (DirectAngularDiagonal.positiveDomain (localSlowDomain h qbig)) := |
+0 −26 NavierStokes/LocalAxisymmetricResidual.lean View file
| @@ -255,19 +255,6 @@ theorem advection_velocity {B F U : Profile} {t : ℝ} {x : Space} | ||
| 255 | 255 | advectionRadial, advectionAngular, advectionAxial, profilePoint, radialEnergy, |
| 256 | 256 | pack, coordinateVector] <;> ring |
| 257 | 257 | |
| 258 | -theorem divergence_velocity {B F U : Profile} {t : ℝ} {x : Space} | |
| 259 | - (hB : DifferentiableAt ℝ B (profilePoint t x)) | |
| 260 | - (hF : DifferentiableAt ℝ F (profilePoint t x)) | |
| 261 | - (hU : DifferentiableAt ℝ U (profilePoint t x)) : | |
| 262 | - spatialDivergence (velocity B F U) t x = | |
| 263 | - partialZ U (profilePoint t x) - 2 * B (profilePoint t x) - | |
| 264 | - 2 * radialEnergy x * partialS B (profilePoint t x) := by | |
| 265 | - unfold spatialDivergence spatialDerivative | |
| 266 | - rw [(hasFDerivAt_velocity hB hF hU).fderiv, Fin.sum_univ_three] | |
| 267 | - simp [velocityJacobian, packDerivative_apply, profileDerivative_apply, | |
| 268 | - coordinateVector, profilePoint, radialEnergy, lift] | |
| 269 | - ring | |
| 270 | - | |
| 271 | 258 | /-- The physical vector Laplacian is local in all three profiles. In |
| 272 | 259 | particular this applies to a radial quotient at any point where it is C². -/ |
| 273 | 260 | theorem spatialLaplacian_velocity {B F U : Profile} {t : ℝ} {x : Space} |
| @@ -367,17 +354,4 @@ theorem navierStokesResidual_velocity {B F U P : Profile} {t : ℝ} {x : Space} | ||
| 367 | 354 | fin_cases i <;> simp [pack, coordinateVector, |
| 368 | 355 | residualRadial, residualAngular, residualAxial] <;> ring |
| 369 | 356 | |
| 370 | -/-- The three local coefficient equations imply the actual Cartesian PDE. -/ | |
| 371 | -theorem navierStokesResidual_eq_zero {B F U P : Profile} {t : ℝ} {x : Space} | |
| 372 | - (hB : ContDiffAt ℝ 2 B (profilePoint t x)) | |
| 373 | - (hF : ContDiffAt ℝ 2 F (profilePoint t x)) | |
| 374 | - (hU : ContDiffAt ℝ 2 U (profilePoint t x)) | |
| 375 | - (hP : DifferentiableAt ℝ P (profilePoint t x)) | |
| 376 | - (hr : residualRadial B F U P (profilePoint t x) = 0) | |
| 377 | - (ha : residualAngular B F U (profilePoint t x) = 0) | |
| 378 | - (hz : residualAxial B U P (profilePoint t x) = 0) : | |
| 379 | - navierStokesResidual (velocity B F U) (pressure P) t x = 0 := by | |
| 380 | - rw [navierStokesResidual_velocity hB hF hU hP] | |
| 381 | - simp [hr, ha, hz, pack] | |
| 382 | - | |
| 383 | 357 | end NavierStokes.LocalAxisymmetricResidual |
+0 −23 NavierStokes/LocalHeatExterior.lean View file
| @@ -76,14 +76,6 @@ noncomputable def axialCurlCoefficient (upper : ℝ) (B : ℕ) : AxisymmetricFie | ||
| 76 | 76 | (TailGaugePotential.gaugedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 77 | 77 | W.axis.normalization (FinalSlowBase.coefficients H v)) p |
| 78 | 78 | |
| 79 | -theorem axialCurlCoefficient_smoothAt (upper : ℝ) (B : ℕ) | |
| 80 | - {p : AxisymmetricFields.ProfilePoint} (ht : p.1 < 1) : | |
| 81 | - ContDiffAt ℝ ∞ (axialCurlCoefficient H v upper B) p := by | |
| 82 | - have hK := TailGaugePotential.gaugedSwirl_smoothAt | |
| 83 | - (C := W.axis.normalization) (FinalSlowBase.scales_strictMono H v upper B) | |
| 84 | - F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) ht | |
| 85 | - exact ((hK.fderiv_right (show ∞ + 1 ≤ ∞ by simp)).clm_apply contDiffAt_const).neg | |
| 86 | - | |
| 87 | 79 | theorem axialPart_finalPotential_curl_angular (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 88 | 80 | (ht : w.1 < 1) : |
| 89 | 81 | SpatialCurl.spatialCurl (axialPart (TailGaugePotential.finalPotential H v upper B)) w = |
| @@ -117,13 +109,6 @@ theorem finalPotential_eq_axialPart (upper : ℝ) (B : ℕ) {w : SpaceTime} | ||
| 117 | 109 | rw [he] |
| 118 | 110 | simp [coordinateVector] |
| 119 | 111 | |
| 120 | -theorem finalPotential_components_zero (upper : ℝ) (B : ℕ) {w : SpaceTime} | |
| 121 | - (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : | |
| 122 | - TailGaugePotential.finalPotential H v upper B w 0 = 0 ∧ | |
| 123 | - TailGaugePotential.finalPotential H v upper B w 1 = 0 := by | |
| 124 | - rw [finalPotential_eq_axialPart H v upper B hw] | |
| 125 | - simp [axialPart, coordinateVector] | |
| 126 | - | |
| 127 | 112 | theorem axialPart_finalPotential_germ (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 128 | 113 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 129 | 114 | axialPart (TailGaugePotential.finalPotential H v upper B) =ᶠ[𝓝 w] |
| @@ -140,14 +125,6 @@ theorem axialPart_finalPotential_curl (upper : ℝ) (B : ℕ) {w : SpaceTime} | ||
| 140 | 125 | (axialPart_finalPotential_germ H v upper B hw)).self_of_nhds] |
| 141 | 126 | exact TailGaugePotential.finalPotential_sameCurl H v upper B hw.1 |
| 142 | 127 | |
| 143 | -theorem axialPart_finalPotential_smooth (upper : ℝ) (B : ℕ) : | |
| 144 | - ContDiffOn ℝ ∞ (axialPart (TailGaugePotential.finalPotential H v upper B)) BaseResidual.past := | |
| 145 | - axialPart_smooth (TailGaugePotential.finalPotential_smooth H v upper B) | |
| 146 | - | |
| 147 | -theorem axialPart_finalPotential_awayExtensions (upper : ℝ) (B : ℕ) : | |
| 148 | - JointResidualLimits.AwayExtensions (axialPart (TailGaugePotential.finalPotential H v upper B)) := | |
| 149 | - axialPart_awayExtensions (TailGaugePotential.finalPotential_awayExtensions H v upper B) | |
| 150 | - | |
| 151 | 128 | end ActualBase |
| 152 | 129 | |
| 153 | 130 | end NavierStokes.LocalHeatExterior |
+0 −23 NavierStokes/LocalHeatFormula.lean View file
| @@ -114,27 +114,4 @@ theorem heatVelocity_formula (C h : ℝ) {w : ProblemStatement.SpaceTime} | ||
| 114 | 114 | rw [TerminalStress.radiusPoint_profilePoint hs.le] at he |
| 115 | 115 | rw [he] |
| 116 | 116 | |
| 117 | -theorem heatVelocity_eq_angularField (C h : ℝ) {w : ProblemStatement.SpaceTime} | |
| 118 | - (hs : 0 < AxisymmetricFields.radialEnergy w.2) : | |
| 119 | - BaseExterior.heatVelocity C h w = | |
| 120 | - DirectAngularDiagonal.angularField (fun p => amplitude C h (1 - p.1) p.2.1) w := by | |
| 121 | - rw [heatVelocity_formula C h hs, DirectAngularDiagonal.angularField_eq_rotationField] | |
| 122 | - simp only [DirectAngularDiagonal.rotationField, DirectAngularDiagonal.rate, | |
| 123 | - DirectAngularDiagonal.profileToCyl, AxisymmetricFields.profilePoint, | |
| 124 | - AxisymmetricResidual.pack, BaseResidual.angularVector, smul_add, smul_smul, | |
| 125 | - zero_smul, add_zero] | |
| 126 | - congr 1 <;> congr 1 <;> ring | |
| 127 | - | |
| 128 | -theorem pressure_radius_integral (C h τ z : ℝ) {r : ℝ} (hr : 0 < r) : | |
| 129 | - BaseExterior.heatPressure C h (TerminalStress.radiusPoint (1 - τ) r z) = | |
| 130 | - -(∫ ρ in Ioi r, amplitude C h τ ρ ^ 2 / ρ) := by | |
| 131 | - simpa only [TerminalStress.heatAmplitude, show 1 - (1 - τ) = τ by ring, amplitude] using | |
| 132 | - LocalHeatPressure.heatPressure_radius_integral C h (1 - τ) z hr | |
| 133 | - | |
| 134 | -theorem pressure_integrand_integrable (C : ℝ) {h τ r : ℝ} | |
| 135 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hτ : 0 < τ) (hr : 0 < r) : | |
| 136 | - MeasureTheory.IntegrableOn (fun ρ => amplitude C h τ ρ ^ 2 / ρ) (Ioi r) := by | |
| 137 | - simpa only [TerminalStress.heatAmplitude, show 1 - (1 - τ) = τ by ring, amplitude] using | |
| 138 | - LocalHeatPressure.heatAmplitude_sq_div_integrable C hh hh1 (show 1 - τ < 1 by linarith) hr | |
| 139 | - | |
| 140 | 117 | end NavierStokes.LocalHeatFormula |
+0 −105 NavierStokes/LocalMeanPhysicalBounds.lean View file
| @@ -164,87 +164,8 @@ theorem angularField_smooth (D : CoherentFamily h degree N Δ U ℝ) | ||
| 164 | 164 | intro w hw |
| 165 | 165 | exact (angularField_smoothAt D hh hh1 ha hab hU hcover hsm hs hw.1 hw.2.le).contDiffWithinAt |
| 166 | 166 | |
| 167 | -/-- Curl costs one actual derivative, with the same fixed PMJB loss. -/ | |
| 168 | -theorem curl_angularField_jet_bound (D : CoherentFamily h degree N Δ U ℝ) | |
| 169 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 170 | - (hU : IsOpen U) | |
| 171 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 172 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 173 | - (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) | |
| 174 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∀ w : SpaceTime, w ∈ physicalDomain h N → |w.1| ≤ 1 → | |
| 175 | - ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl D.angularField) w‖ ≤ | |
| 176 | - C * physicalQ h w ^ (gain - loss degree (m + 1)) := by | |
| 177 | - obtain ⟨C, hC, hb⟩ := angularField_jet_bound D hh hh1 ha hab hN hU hcover hsm hs hj (m + 1) | |
| 178 | - refine ⟨‖PhysicalClassBounds.jointCurl‖ * C, | |
| 179 | - mul_nonneg (norm_nonneg PhysicalClassBounds.jointCurl) hC, ?_⟩ | |
| 180 | - intro w hw ht | |
| 181 | - exact (PhysicalClassBounds.spatialCurl_jet_bound (physicalDomain_open hh hh1 N) | |
| 182 | - (angularField_smooth D hh hh1 ha hab hU hcover hsm hs) hw m).trans | |
| 183 | - ((mul_le_mul_of_nonneg_left (hb w hw.1 ht hw.2.le) | |
| 184 | - (norm_nonneg PhysicalClassBounds.jointCurl)).trans_eq (by ring)) | |
| 185 | - | |
| 186 | -theorem curl_angularField_smooth (D : CoherentFamily h degree N Δ U ℝ) | |
| 187 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 188 | - (hU : IsOpen U) | |
| 189 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 190 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 191 | - (hs : NativeSupport h a b N U D.native) : | |
| 192 | - ContDiffOn ℝ ∞ (SpatialCurl.spatialCurl D.angularField) (physicalDomain h N) := by | |
| 193 | - intro w hw | |
| 194 | - exact (SpatialCurl.contDiffAt_spatialCurl | |
| 195 | - (angularField_smoothAt D hh hh1 ha hab hU hcover hsm hs hw.1 hw.2.le) | |
| 196 | - (by simp)).contDiffWithinAt | |
| 197 | - | |
| 198 | 167 | /-! ## Native class inputs on the same region -/ |
| 199 | 168 | |
| 200 | -theorem field_jet_bound_of_localBandJets (D : CoherentFamily h degree N Δ U E) | |
| 201 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 202 | - (hU : IsOpen U) | |
| 203 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 204 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 205 | - (hs : NativeSupport h a b N U D.native) {α : ℝ} {ε L : ℕ → ℝ} | |
| 206 | - (hj : PhysicalMeanDomain.LocalBandJets U ε L α D.native) | |
| 207 | - (hε : ∀ n ≥ N, ε n = ChartScales.epsilon h n) | |
| 208 | - (hL0 : ∀ n ≥ N, 0 ≤ L n) {C : ℝ} {p : ℕ} (hC : 1 ≤ C) | |
| 209 | - (hL : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) (m : ℕ) : | |
| 210 | - ∃ K : ℝ, 0 ≤ K ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → | |
| 211 | - physicalQ h w ≤ ChartScales.Q N → | |
| 212 | - ‖iteratedFDeriv ℝ m D.field w‖ ≤ K * physicalQ h w ^ (h * α - loss degree m) := | |
| 213 | - field_jet_bound D hh hh1 ha hab hN hU hcover hsm hs | |
| 214 | - (NativeJets.of_localBandJets hj hε hL0 hC hL) m | |
| 215 | - | |
| 216 | -theorem angularField_jet_bound_of_localBandJets (D : CoherentFamily h degree N Δ U ℝ) | |
| 217 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 218 | - (hU : IsOpen U) | |
| 219 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 220 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 221 | - (hs : NativeSupport h a b N U D.native) {α : ℝ} {ε L : ℕ → ℝ} | |
| 222 | - (hj : PhysicalMeanDomain.LocalBandJets U ε L α D.native) | |
| 223 | - (hε : ∀ n ≥ N, ε n = ChartScales.epsilon h n) | |
| 224 | - (hL0 : ∀ n ≥ N, 0 ≤ L n) {C : ℝ} {p : ℕ} (hC : 1 ≤ C) | |
| 225 | - (hL : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) (m : ℕ) : | |
| 226 | - ∃ K : ℝ, 0 ≤ K ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → | |
| 227 | - physicalQ h w ≤ ChartScales.Q N → | |
| 228 | - ‖iteratedFDeriv ℝ m D.angularField w‖ ≤ K * physicalQ h w ^ (h * α - loss degree m) := | |
| 229 | - angularField_jet_bound D hh hh1 ha hab hN hU hcover hsm hs | |
| 230 | - (NativeJets.of_localBandJets hj hε hL0 hC hL) m | |
| 231 | - | |
| 232 | -theorem curl_angularField_jet_bound_of_localBandJets (D : CoherentFamily h degree N Δ U ℝ) | |
| 233 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 234 | - (hU : IsOpen U) | |
| 235 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 236 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 237 | - (hs : NativeSupport h a b N U D.native) {α : ℝ} {ε L : ℕ → ℝ} | |
| 238 | - (hj : PhysicalMeanDomain.LocalBandJets U ε L α D.native) | |
| 239 | - (hε : ∀ n ≥ N, ε n = ChartScales.epsilon h n) | |
| 240 | - (hL0 : ∀ n ≥ N, 0 ≤ L n) {C : ℝ} {p : ℕ} (hC : 1 ≤ C) | |
| 241 | - (hL : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) (m : ℕ) : | |
| 242 | - ∃ K : ℝ, 0 ≤ K ∧ ∀ w : SpaceTime, w ∈ physicalDomain h N → |w.1| ≤ 1 → | |
| 243 | - ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl D.angularField) w‖ ≤ | |
| 244 | - K * physicalQ h w ^ (h * α - loss degree (m + 1)) := | |
| 245 | - curl_angularField_jet_bound D hh hh1 ha hab hN hU hcover hsm hs | |
| 246 | - (NativeJets.of_localBandJets hj hε hL0 hC hL) m | |
| 247 | - | |
| 248 | 169 | /-! ## Open physical sublevel interfaces -/ |
| 249 | 170 | |
| 250 | 171 | theorem field_sublevel_smooth (D : CoherentFamily h degree N Δ U E) |
| @@ -267,17 +188,6 @@ theorem angularField_sublevel_smooth (D : CoherentFamily h degree N Δ U ℝ) | ||
| 267 | 188 | (angularField_smooth D hh hh1 ha hab hU hcover hsm hs).mono |
| 268 | 189 | (fun _ hw => ⟨hw.1, hw.2.trans_le hq⟩) |
| 269 | 190 | |
| 270 | -theorem curl_angularField_sublevel_smooth (D : CoherentFamily h degree N Δ U ℝ) | |
| 271 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 272 | - (hU : IsOpen U) | |
| 273 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 274 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 275 | - (hs : NativeSupport h a b N U D.native) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) : | |
| 276 | - ContDiffOn ℝ ∞ (SpatialCurl.spatialCurl D.angularField) | |
| 277 | - (CutStageEstimates.physicalSublevel h qbig) := | |
| 278 | - (curl_angularField_smooth D hh hh1 ha hab hU hcover hsm hs).mono | |
| 279 | - (fun _ hw => ⟨hw.1, hw.2.trans_le hq⟩) | |
| 280 | - | |
| 281 | 191 | theorem field_sublevel_bound (D : CoherentFamily h degree N Δ U E) |
| 282 | 192 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) |
| 283 | 193 | (hU : IsOpen U) |
| @@ -306,19 +216,4 @@ theorem angularField_sublevel_bound (D : CoherentFamily h degree N Δ U ℝ) | ||
| 306 | 216 | exact ⟨C, hC, fun w hw hqw => hb w hw.1 |
| 307 | 217 | (PhysicalStageBounds.abs_time_le_one hh hh1 hw.1 hqw) (hw.2.le.trans hq)⟩ |
| 308 | 218 | |
| 309 | -theorem curl_angularField_sublevel_bound (D : CoherentFamily h degree N Δ U ℝ) | |
| 310 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 311 | - (hU : IsOpen U) | |
| 312 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 313 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 314 | - (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) | |
| 315 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (m : ℕ) : | |
| 316 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 317 | - physicalQ h w ≤ 1 → | |
| 318 | - ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl D.angularField) w‖ ≤ | |
| 319 | - C * physicalQ h w ^ (gain - loss degree (m + 1)) := by | |
| 320 | - obtain ⟨C, hC, hb⟩ := curl_angularField_jet_bound D hh hh1 ha hab hN hU hcover hsm hs hj m | |
| 321 | - exact ⟨C, hC, fun w hw hqw => hb w ⟨hw.1, hw.2.trans_le hq⟩ | |
| 322 | - (PhysicalStageBounds.abs_time_le_one hh hh1 hw.1 hqw)⟩ | |
| 323 | - | |
| 324 | 219 | end NavierStokes.LocalMeanPhysicalBounds |
+0 −3 NavierStokes/LocalPaperDomain.lean View file
| @@ -25,9 +25,6 @@ def outerEdge : ℝ := | ||
| 25 | 25 | def radius (w : SpaceTime) : ℝ := |
| 26 | 26 | AxisymmetricFields.radialEnergy w.2 / PhysicalWaveSum.physicalQ ActualPrimary.h w |
| 27 | 27 | |
| 28 | -theorem radius_eq_chart (w : SpaceTime) : | |
| 29 | - radius w = (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 := rfl | |
| 30 | - | |
| 31 | 28 | theorem qstar_pos (a : ℕ → ℕ) : 0 < qstar a := |
| 32 | 29 | lt_min (ChartScales.Q_pos _) (div_pos (by norm_num) (by positivity)) |
| 33 | 30 | |
+0 −123 NavierStokes/LocalPhysicalCopyBounds.lean View file
| @@ -47,11 +47,6 @@ theorem contDiff_of_patch_zero {f : E → F} {U : Set E} (hU : IsOpen U) | ||
| 47 | 47 | · exact hf.contDiffAt (hU.mem_nhds hx) |
| 48 | 48 | · exact contDiffAt_const.congr_of_eventuallyEq (hz x hx) |
| 49 | 49 | |
| 50 | -theorem contDiff_of_patch_tsupport {f : E → F} {U : Set E} (hU : IsOpen U) | |
| 51 | - (hf : ContDiffOn ℝ ∞ f U) (hs : tsupport f ⊆ U) : ContDiff ℝ ∞ f := | |
| 52 | - contDiff_of_patch_zero hU hf (fun _ hx => | |
| 53 | - notMem_tsupport_iff_eventuallyEq.mp (fun hxs => hx (hs hxs))) | |
| 54 | - | |
| 55 | 50 | /-- Construct the replacement using a smooth bump inside the actual open |
| 56 | 51 | patch. Its values and all its derivatives agree with the raw input near `x`. |
| 57 | 52 | No bound on the extension away from `x` is imposed or used. -/ |
| @@ -419,15 +414,6 @@ structure PatchData (f : CopyFamily H K) (a h r0 : ℝ) where | ||
| 419 | 414 | PhysicalGraphBounds.scaledRadial I.1.val.1 y ∈ PolarCharts.chartDomain a chart → |
| 420 | 415 | slotSlow ((f.carrier k I.1).withChart chart) a h I.1.val.1 r0 y ∈ slowCore k I.1 |
| 421 | 416 | |
| 422 | -/-- The constructed, already localized amplitude is globally smooth if its | |
| 423 | -closed native support is contained in the local smooth patch. This is a | |
| 424 | -conclusion; raw phase profiles retain only local smoothness. -/ | |
| 425 | -theorem PatchData.amplitude_contDiff (hp : PatchData f a h r0) (k : K) (I : WaveIndex H) : | |
| 426 | - ContDiff ℝ ∞ (f.amplitude k I) := by | |
| 427 | - apply contDiff_of_patch_tsupport (hp.amplitudeOpen k I) (hp.amplitudeSmooth k I) | |
| 428 | - exact (closure_minimal (hp.amplitudeSupport k I) (hp.amplitudeClosed k I)).trans | |
| 429 | - (hp.amplitudeSubset k I) | |
| 430 | - | |
| 431 | 417 | /-- Closed cores keep every supported phase evaluation inside the genuine |
| 432 | 418 | smooth patch even at the boundary of the amplitude's support. -/ |
| 433 | 419 | theorem PatchData.smoothData (hp : PatchData f a h r0) |
| @@ -462,19 +448,6 @@ theorem PatchData.sum_smooth (hp : PatchData f a h r0) | ||
| 462 | 448 | (hh : 0 < h) (hh1 : h < 1 / 2) : ContDiffOn ℝ ∞ (f.sum a h r0) preterminal := |
| 463 | 449 | hr.sum_smooth (hp.smoothData hr ha) hc ha hh hh1 |
| 464 | 450 | |
| 465 | -/-- The actual full sum still has a supported-copy witness. This statement | |
| 466 | -needs no smoothness of the raw coefficient or phase totalizations. -/ | |
| 467 | -theorem SupportData.sum_support (hr : SupportData f a b h r0 Z Δ) | |
| 468 | - {w : SpaceTime} (hw : w ∈ preterminal) (hn : f.sum a h r0 w ≠ 0) : | |
| 469 | - ∃ (I : WaveIndex H) (k : K), | |
| 470 | - f.amplitude k I (commonLift h I.1.val.1 (f.gap I.1) w) ≠ 0 ∧ | |
| 471 | - PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b ∧ | |
| 472 | - physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val := by | |
| 473 | - obtain ⟨I, k, hk⟩ := f.sum_nonzero_term hn | |
| 474 | - have ha := globalWave_ne_zero_amp hk | |
| 475 | - exact ⟨I, k, ha, (hr.geometry_support k I w ha).1, | |
| 476 | - physicalMask_support_subset _ _ (hr.mask_support k I w hw ha)⟩ | |
| 477 | - | |
| 478 | 451 | theorem SupportData.sum_locally_finite (hr : SupportData f a b h r0 Z Δ) |
| 479 | 452 | (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 480 | 453 | ∃ s : Finset (WaveIndex H), s.card ≤ 2250 * (2 * H + 1) ∧ |
| @@ -483,27 +456,6 @@ theorem SupportData.sum_locally_finite (hr : SupportData f a b h r0 Z Δ) | ||
| 483 | 456 | hr.periodized_support hw |
| 484 | 457 | exact ⟨s, waveRegion_card_le (physicalQ_pos hh hh1 hw) s (fun I hI => (hs I).mp hI), he⟩ |
| 485 | 458 | |
| 486 | -theorem SupportData.periodized_germ_of_cell (hr : SupportData f a b h r0 Z Δ) | |
| 487 | - (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) (k : K) {w : SpaceTime} | |
| 488 | - (hk : commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k) : | |
| 489 | - f.periodized a h r0 I =ᶠ[𝓝 w] f.term a h r0 I k := by | |
| 490 | - classical | |
| 491 | - by_cases hann : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b | |
| 492 | - · exact copySum_pullback_germ (hc.cells I.1) I.1.val.1 | |
| 493 | - (commonLift h I.1.val.1 (f.gap I.1)) (f.term a h r0 I) | |
| 494 | - (hc.term_mem I) (commonLift_continuousAt_of_annulus ha _ _ hann) hk | |
| 495 | - · exact (hr.periodized_zero_off_annulus I hann).trans | |
| 496 | - (globalWave_eventually_zero_off_annulus (f.carrier k I.1) (f.amplitude k I) I.2.val | |
| 497 | - (fun y hy => (hr.geometry_support k I y hy).1) hann).symm | |
| 498 | - | |
| 499 | -theorem SupportData.periodized_jet_eq (hr : SupportData f a b h r0 Z Δ) | |
| 500 | - (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) (k : K) {w : SpaceTime} | |
| 501 | - (hk : commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k) | |
| 502 | - (m : ℕ) : | |
| 503 | - iteratedFDeriv ℝ m (f.periodized a h r0 I) w = | |
| 504 | - iteratedFDeriv ℝ m (f.term a h r0 I k) w := | |
| 505 | - iteratedFDeriv_eq_of_eventuallyEq (hr.periodized_germ_of_cell hc ha I k hk) m | |
| 506 | - | |
| 507 | 459 | /-! ## Weighted bounds confined to the genuine native strip -/ |
| 508 | 460 | |
| 509 | 461 | section LocalWeightedInputs |
| @@ -702,63 +654,6 @@ theorem physical_sum_jet_bound_of_weighted {s : StripData D} {α σ P : ℝ} | ||
| 702 | 654 | |
| 703 | 655 | end LocalWeightedInputs |
| 704 | 656 | |
| 705 | -/-- Direct interface for the actual valid native open patches, including | |
| 706 | -patches whose raw totalizations need not be smooth on their boundary. -/ | |
| 707 | -theorem SmoothData.of_open_patches | |
| 708 | - (UA : K → WaveIndex H → Set LiftPoint) (UP : K → BandLabel → Set PhysicalGraphBounds.Slow) | |
| 709 | - (hUA : ∀ k I, IsOpen (UA k I)) (hUP : ∀ k L, IsOpen (UP k L)) | |
| 710 | - (hA : ∀ k I, ContDiffOn ℝ ∞ (f.amplitude k I) (UA k I)) | |
| 711 | - (hF : ∀ k L, ContDiffOn ℝ ∞ (f.carrier k L).F (UP k L)) | |
| 712 | - (hG : ∀ k L, ContDiffOn ℝ ∞ (f.carrier k L).G (UP k L)) | |
| 713 | - (haCover : ∀ k I w, w ∈ preterminal → w ∈ tsupport (f.term a h r0 I k) → | |
| 714 | - commonLift h I.1.val.1 (f.gap I.1) w ∈ UA k I) | |
| 715 | - (hpCover : ∀ k I w, w ∈ preterminal → w ∈ tsupport (f.term a h r0 I k) → | |
| 716 | - ∀ chart : PolarCharts.Index, | |
| 717 | - PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PolarCharts.chartDomain a chart → | |
| 718 | - slotSlow ((f.carrier k I.1).withChart chart) a h I.1.val.1 r0 w ∈ UP k I.1) : | |
| 719 | - SmoothData f a h r0 := by | |
| 720 | - constructor | |
| 721 | - · intro k I w hw hts | |
| 722 | - exact SmoothNear.of_open (hUA k I) (hA k I) (haCover k I w hw hts) | |
| 723 | - · intro k I w hw hts chart hchart | |
| 724 | - exact ⟨SmoothNear.of_open (hUP k I.1) (hF k I.1) (hpCover k I w hw hts chart hchart), | |
| 725 | - SmoothNear.of_open (hUP k I.1) (hG k I.1) (hpCover k I w hw hts chart hchart)⟩ | |
| 726 | - | |
| 727 | -theorem JetData.of_stripped {hc : SupportCells f} {P A B g eAmp eBase : ℝ} {m : ℕ} | |
| 728 | - (hb : PhysicalCopyBounds.LocalStrippedClass f hc a b h r0 P A B g eAmp eBase m) : | |
| 729 | - JetData f hc a b h r0 P A B g eAmp eBase m := by | |
| 730 | - refine ⟨hb.parameters, ?_⟩ | |
| 731 | - intro k I w hw hreg hann hcell _ | |
| 732 | - exact ⟨hb.amplitude k I w hw hreg hann hcell, | |
| 733 | - fun chart hchart => ⟨hb.base_F k I w hw hreg hann hcell chart hchart, | |
| 734 | - hb.base_G k I w hw hreg hann hcell chart hchart⟩⟩ | |
| 735 | - | |
| 736 | -/-- The native lattice-center construction proves the support data without | |
| 737 | -any global smoothness hypotheses on amplitudes or phase profiles. -/ | |
| 738 | -theorem supportData_of_native {F : CopyFamily H TorusInverse.Frequency} | |
| 739 | - (g : BandLabel → CommonCoverSolve.Geometry) (U : BandLabel → Set Plane) | |
| 740 | - (hgap : ∀ L, (g L).gap = F.gap L) | |
| 741 | - (hcenter : ∀ k L, (F.carrier k L).center = nativeCenter (g L) k) | |
| 742 | - (hwidth : ∀ L z, z ∈ U L → |PhysicalGraphBounds.etaCoordinate ((g L).basis z)| ≤ r0) | |
| 743 | - (hs : ∀ k I x, F.amplitude k I x ≠ 0 → (g I.1).coordinates k x.2 ∈ U I.1) | |
| 744 | - (hgap_le : ∀ L, F.gap L ≤ Δ) | |
| 745 | - (hgap_native : ∀ L, F.gap L ≤ ChartScales.nativeIndex h L.val.1) | |
| 746 | - (hint : ∀ k L, ∃ m : ℤ, | |
| 747 | - (ChartScales.carrier h L.val.1 : ℝ) * (F.carrier k L).angular = (m : ℝ)) | |
| 748 | - (hgeo : ∀ k I y, F.amplitude k I (commonLift h I.1.val.1 (F.gap I.1) y) ≠ 0 → | |
| 749 | - PhysicalGraphBounds.scaledRadial I.1.val.1 y ∈ PhysicalGraphBounds.annulus a b ∧ | |
| 750 | - ‖PhysicalGraphBounds.liftZT (PhysicalGraphBounds.physicalLift h I.1.val.1 y)‖ ≤ Z) | |
| 751 | - (hmask : ∀ k I y, y ∈ preterminal → | |
| 752 | - F.amplitude k I (commonLift h I.1.val.1 (F.gap I.1) y) ≠ 0 → | |
| 753 | - physicalMask (CoordinateAlgebra.D h) I.1.val (physicalParams h y) ≠ 0) : | |
| 754 | - SupportData F a b h r0 Z Δ := by | |
| 755 | - refine ⟨hgap_le, hgap_native, hint, ?_, hmask⟩ | |
| 756 | - intro k I y hy | |
| 757 | - refine ⟨(hgeo k I y hy).1, (hgeo k I y hy).2, ?_⟩ | |
| 758 | - rw [hcenter] | |
| 759 | - exact physical_native_width (g I.1) k h I.1.val.1 (F.gap I.1) (hgap I.1) | |
| 760 | - (hwidth I.1) y (hs k I _ hy) | |
| 761 | - | |
| 762 | 657 | /-! ## Real Cartesian vectors -/ |
| 763 | 658 | |
| 764 | 659 | theorem vectorSum_smooth {f : Fin 3 → CopyFamily H K} |
| @@ -793,24 +688,6 @@ theorem vectorSum_jet_bound {f : Fin 3 → CopyFamily H K} | ||
| 793 | 688 | ((mul_le_of_le_one_left (norm_nonneg _) (norm_realCoordinate_le i)).trans (hb i)) |
| 794 | 689 | _ = 3 * B := by simp |
| 795 | 690 | |
| 796 | -theorem physical_vector_sum_jet_bound {h a b Z r0 P B eBase : ℝ} | |
| 797 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 798 | - (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) (heBase : 0 ≤ eBase) | |
| 799 | - (H Δ m : ℕ) (g eAmp A : ℝ) (hA : 0 ≤ A) : | |
| 800 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ f : Fin 3 → CopyFamily H K, | |
| 801 | - (∀ i, SupportData (f i) a b h r0 Z Δ) → | |
| 802 | - (∀ i, SmoothData (f i) a h r0) → ∀ hc : ∀ i, SupportCells (f i), | |
| 803 | - (∀ i, JetData (f i) (hc i) a b h r0 P A B g eAmp eBase m) → | |
| 804 | - ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → | |
| 805 | - ‖iteratedFDeriv ℝ m (PhysicalCopyBounds.vectorSum f a h r0) w‖ ≤ | |
| 806 | - C * physicalQ h w ^ (g - PhysicalGraphBounds.waveLoss h m) := by | |
| 807 | - obtain ⟨C, hC, hb⟩ := physical_sum_jet_bound (K := K) (b := b) | |
| 808 | - hh hh1 ha hZ hr0 hP hB heBase H Δ m g eAmp A hA | |
| 809 | - refine ⟨3 * C, by positivity, ?_⟩ | |
| 810 | - intro f hr hs hc hclass w hw ht | |
| 811 | - exact (vectorSum_jet_bound hr hs hc ha hh hh1 hw m | |
| 812 | - (fun i => hb (f i) (hr i) (hs i) (hc i) (hclass i) w hw ht)).trans_eq (by ring) | |
| 813 | - | |
| 814 | 691 | section WeightedVector |
| 815 | 692 | |
| 816 | 693 | open WeightedClasses |
+0 −22 NavierStokes/LocalPotentialRebundle.lean View file
| @@ -108,28 +108,6 @@ theorem velocity_eq_original {a : ℕ → ℕ} | ||
| 108 | 108 | simp only [direct, MixedPeriodicAssembly.velocity] |
| 109 | 109 | abel |
| 110 | 110 | |
| 111 | -theorem velocity_eq_original_germ {a : ℕ → ℕ} | |
| 112 | - (hs : MixedDiagonalSchedule.ThreeSmoothSums a ActualPrimary.h | |
| 113 | - ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages | |
| 114 | - ActualCandidateAssembly.selectedPressureStages) {w : SpaceTime} | |
| 115 | - (hw : w ∈ PhysicalWaveSum.preterminal) : | |
| 116 | - velocity a =ᶠ[𝓝 w] MixedPeriodicAssembly.velocity | |
| 117 | - (LocalAngularGrowth.selectedPotential a) (LocalAngularGrowth.selectedDirect a) := by | |
| 118 | - filter_upwards [PhysicalWaveSum.preterminal_open.mem_nhds hw] with z hz | |
| 119 | - exact velocity_eq_original hs hz | |
| 120 | - | |
| 121 | -theorem residual_eq_original_germ {a : ℕ → ℕ} | |
| 122 | - (hs : MixedDiagonalSchedule.ThreeSmoothSums a ActualPrimary.h | |
| 123 | - ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages | |
| 124 | - ActualCandidateAssembly.selectedPressureStages) {w : SpaceTime} | |
| 125 | - (hw : w ∈ PhysicalWaveSum.preterminal) : | |
| 126 | - (fun z => navierStokesResidual (velocity a) (pressure a) z.1 z.2) =ᶠ[𝓝 w] | |
| 127 | - MixedDiagonalResidual.residual (fun j => (a j : ℝ)) | |
| 128 | - (PhysicalWaveSum.physicalQ ActualPrimary.h) | |
| 129 | - ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages | |
| 130 | - ActualCandidateAssembly.selectedPressureStages := | |
| 131 | - ResidualRegularity.residual_eventuallyEq (velocity_eq_original_germ hs hw) Filter.EventuallyEq.rfl | |
| 132 | - | |
| 133 | 111 | theorem sum_eq_first {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 134 | 112 | {A : ℕ → SpaceTime → V} {f : SpaceTime → V} {a : ℕ → ℝ} |
| 135 | 113 | {q : SpaceTime → ℝ} {w : SpaceTime} |
+0 −29 NavierStokes/LocalRankDefect.lean View file
| @@ -236,12 +236,6 @@ end FluxSupport | ||
| 236 | 236 | |
| 237 | 237 | open DefectIncrementBounds |
| 238 | 238 | |
| 239 | -theorem LocalShell.barIntegrable {a b : ℝ} {U : Set P} {f : ScalarField (Point P)} | |
| 240 | - (hf : LocalShell a b U f) (hU : IsOpen U) (k n : ℕ) {p : P} (hp : p ∈ U) : | |
| 241 | - Integrable (fun r => r ^ k * PressureStream.torusAverage (f n) (r, p)) := by | |
| 242 | - simpa only [PressureStream.torusAverage, PressureStream.torusInner, PhysicalMeanDomain.freezeSlow] using | |
| 243 | - (hf.freeze hU hp).barIntegrable k n p | |
| 244 | - | |
| 245 | 239 | theorem LocalShell.sliceIntegrable {a b : ℝ} {U : Set P} {f : ScalarField (Point P)} |
| 246 | 240 | (hf : LocalShell a b U f) (hU : IsOpen U) (k n : ℕ) {p : P} (hp : p ∈ U) : |
| 247 | 241 | Integrable (fun r => r ^ k * slowSlice f n p r) := by |
| @@ -740,21 +734,6 @@ theorem axial_slow {a b : ℝ} (ha : 0 < a) (hab : a < b) (hU : IsOpen U) | ||
| 740 | 734 | rw [hg.axial_exact ha hab hU hleft hright axial n hp, |
| 741 | 735 | hg.axial_exact ha hab hU hleft hright axial n hp] |
| 742 | 736 | |
| 743 | -theorem divergence_zero {a b : ℝ} (ha : 0 < a) (hab : a < b) (hU : IsOpen U) | |
| 744 | - (hleft : ∀ n x, x ∈ U → a ≤ r.length n x * r.inner) | |
| 745 | - (hright : ∀ n x, x ∈ U → r.length n x * r.outer ≤ b) | |
| 746 | - (axial : P × PressureStream.Plane) (n : ℕ) {p : Point P} (hp : p.2.1 ∈ U) (hr : p.1 ≠ 0) : | |
| 747 | - PressureStream.graphDivergence | |
| 748 | - (PressureStream.physicalSpeed g.radial.exponent (g.radial.frequency n)) | |
| 749 | - ((0 : P), g.radial.radialDirection) (c.operators.epsilon n • axial) | |
| 750 | - ((VariableGaugeMean.rankIncrementState g r axial c u).radial n) | |
| 751 | - ((VariableGaugeMean.rankIncrementState g r axial c u).axial n) p = 0 := by | |
| 752 | - have hpot := ((hg.potential_localShell ha hab hU hleft hright).smooth n).contDiffAt | |
| 753 | - ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hp) | |
| 754 | - exact PressureStream.stream_divergence_zero _ _ | |
| 755 | - (hpot.of_le (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le) | |
| 756 | - ((PressureStream.physicalSpeed_smooth _ _ hr).differentiableAt (by simp)) hr | |
| 757 | - | |
| 758 | 737 | theorem fiveRows {a b : ℝ} (ha : 0 < a) (hab : a < b) (hU : IsOpen U) |
| 759 | 738 | (hleft : ∀ n x, x ∈ U → a ≤ r.length n x * r.inner) |
| 760 | 739 | (hright : ∀ n x, x ∈ U → r.length n x * r.outer ≤ b) |
| @@ -909,14 +888,6 @@ theorem rankStage_defect_class (i : Fin 3) : | ||
| 909 | 888 | intro n x hx |
| 910 | 889 | exact congrFun (hg.debt_eq_remainders ha hab hU hleft hright axial hop hbs hms hW hV hG n hx) i |
| 911 | 890 | |
| 912 | -include ha hab hcL hcR hg hleft hright axial hop hbs hms hW hV hG ho hb hm hangular haxial hH in | |
| 913 | -theorem rankStage_defectBounds {σ : ℝ} (hσ : 1 + σ ≤ H + 9 / 10 - 2 * κ) : | |
| 914 | - CorrectionState.DefectBounds (PhysicalMeanDomain.localSlowStripData U hU ε L hε hεone hL) σ c | |
| 915 | - (VariableGaugeMean.rankStageState g r axial c u) := by | |
| 916 | - intro i | |
| 917 | - exact (rankStage_defect_class ha hab hcL hcR ε L hε hεone hL U hU hg hleft hright axial hop hbs hms hW | |
| 918 | - hV hG ho hb hm hangular haxial hH i).mono_exponent hσ | |
| 919 | - | |
| 920 | 891 | end ConstructedBounds |
| 921 | 892 | |
| 922 | 893 | |
+0 −17 NavierStokes/LocalScheduleAngular.lean View file
| @@ -29,10 +29,6 @@ abbrev directSum (a : ℕ → ℕ) : VelocityField := | ||
| 29 | 29 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 30 | 30 | selectedDirectStages |
| 31 | 31 | |
| 32 | -abbrev pressureSum (a : ℕ → ℕ) : PressureField := | |
| 33 | - SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) | |
| 34 | - selectedPressureStages | |
| 35 | - | |
| 36 | 32 | theorem directSum_divergence {a : ℕ → ℕ} (ha : Schedule a) |
| 37 | 33 | {w : SpaceTime} (ht : w.1 < 1) : spatialDivergence (directSum a) w.1 w.2 = 0 := by |
| 38 | 34 | obtain ⟨_, hap, _, ham, hat, hgap, _, _⟩ := ha |
| @@ -45,19 +41,6 @@ theorem directSum_divergence {a : ℕ → ℕ} (ha : Schedule a) | ||
| 45 | 41 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 46 | 42 | hat ha0 hamin (hgap 0) ht |
| 47 | 43 | |
| 48 | -theorem cut_directSum_divergence {a : ℕ → ℕ} (ha : Schedule a) | |
| 49 | - (t : ℝ) (ht : t < 1) (x : Space) : | |
| 50 | - spatialDivergence (SpatialLocalization.cutPotential (directSum a)) t x = 0 := by | |
| 51 | - obtain ⟨_, hap, _, ham, hat, hgap, _, _⟩ := ha | |
| 52 | - have ha0 : 0 < (a 0 : ℝ) := by exact_mod_cast hap 0 | |
| 53 | - have hamin (j : ℕ) : (a 0 : ℝ) ≤ (a j : ℝ) := by | |
| 54 | - exact_mod_cast ham.monotone (Nat.zero_le j) | |
| 55 | - exact LocalAngularDiagonal.spatialCut_angularSum_divergence outgoing.data.h_pos | |
| 56 | - outgoing.data.h_lt_half | |
| 57 | - (directData ActualCandidateConstruction.selectedBudget | |
| 58 | - ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) | |
| 59 | - hat ha0 hamin (hgap 0) t ht x | |
| 60 | - | |
| 61 | 44 | theorem mixed_divergence {a : ℕ → ℕ} (ha : Schedule a) |
| 62 | 45 | {w : SpaceTime} (ht : w.1 < 1) : |
| 63 | 46 | spatialDivergence |
+0 −107 NavierStokes/LocalSignedRequest.lean View file
| @@ -548,17 +548,6 @@ theorem meanClass_liftedTorusAverage {coord : ℝ} (U : SlowRegion coord) | ||
| 548 | 548 | intro n x hx |
| 549 | 549 | rw [torusAverage_inverseProfileMap, inverseProfileMap_profile coord x (U.chartQ_pos hx.1)] |
| 550 | 550 | |
| 551 | -theorem meanClass_centered {coord : ℝ} (U : SlowRegion coord) | |
| 552 | - (a b cL cR : ℝ) (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 553 | - (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) | |
| 554 | - {α : ℝ} {f : ℕ → Point → ℝ} | |
| 555 | - (hf : ∀ n, ContDiffOn ℝ ∞ (f n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 556 | - (hclass : MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) α f) : | |
| 557 | - MeanClass (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL) α | |
| 558 | - (fun n => TemporalMeanUpdate.centered (f n)) := | |
| 559 | - MeanIncrementBounds.Class.sub hclass | |
| 560 | - (meanClass_liftedTorusAverage U a b cL cR ha hcL hcR ε L hε hεone hL hf hclass) | |
| 561 | - | |
| 562 | 551 | /-- The physical signed primitive, in the actual moving weight, costs no |
| 563 | 552 | power of epsilon. The only constants come from the fixed profile and the |
| 564 | 553 | bounded normalized slow region. -/ |
| @@ -745,54 +734,6 @@ theorem physicalBarSigma_chart (P : SignedStressPrimitive.Patch) (e : ℕ) | ||
| 745 | 734 | rw [hslice] |
| 746 | 735 | exact torusAverage_coverPull_local l C k u hU hg hp v hs |
| 747 | 736 | |
| 748 | -/-- This field has no band index: every normalized request below represents | |
| 749 | -this same physical signed stress. -/ | |
| 750 | -noncomputable def physicalRequestedStress (P : SignedStressPrimitive.Patch) (q : S → ℝ) | |
| 751 | - (Fθ Fz : PressureStream.Lift S → ℝ) (x : ℝ × S) : SignedWaveUpdate.Vec2 := | |
| 752 | - ![SignedStressPrimitive.physicalBarSigma P 2 q Fθ x, | |
| 753 | - SignedStressPrimitive.physicalBarSigma P 1 q Fz x] | |
| 754 | - | |
| 755 | -theorem stress_unit_factor {Q : ℝ} (hQ : 0 < Q) (A : ℝ) : | |
| 756 | - Q ^ (2 * A) * (Q ^ (-(2 * A + 1 / 2)) / Q ^ (-(1 / 2 : ℝ))) = 1 := by | |
| 757 | - rw [← Real.rpow_sub hQ, ← Real.rpow_add hQ] | |
| 758 | - convert! Real.rpow_zero Q using 1 ; ring_nf | |
| 759 | - | |
| 760 | -/-- Exact Q-normalization of one physical primitive. The hypotheses refer | |
| 761 | -to the actual represented source, not to the desired stress or its bounds. -/ | |
| 762 | -theorem normalizedRequest_represents {coord : ℝ} (U : SlowRegion coord) | |
| 763 | - (P : SignedStressPrimitive.Patch) (s : StripData Point) | |
| 764 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 765 | - (n : ℕ) {Q : ℝ} (hQ : 0 < Q) (A : ℝ) | |
| 766 | - (q : S → ℝ) (Fθ Fz : PressureStream.Lift S → ℝ) | |
| 767 | - (C : S →L[ℝ] Plane) (k : ℕ) (t : S) (ht : C t ∈ U.carrier) (hqt : 0 < q t) | |
| 768 | - (hθ : ContDiffOn ℝ ∞ (u.thetaResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 769 | - (hz : ContDiffOn ℝ ∞ (u.axialResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 770 | - (hpθ : PhysicalMeanDomain.PeriodicOn U.carrier (u.thetaResidual c n)) | |
| 771 | - (hpz : PhysicalMeanDomain.PeriodicOn U.carrier (u.axialResidual c n)) | |
| 772 | - (hlength : Real.sqrt (SimilarityCoordinates.coordinateQ coord (C t)) = | |
| 773 | - Q ^ (-(1 / 2 : ℝ)) * Real.sqrt (q t)) | |
| 774 | - (heθ : ∀ r Y, Fθ (r, (t, Y)) = Q ^ (-(2 * A + 1 / 2)) * | |
| 775 | - u.thetaResidual c n (Q ^ (-(1 / 2 : ℝ)) * r, (C t, TemporalMeanUpdate.coverMap k Y))) | |
| 776 | - (hez : ∀ r Y, Fz (r, (t, Y)) = Q ^ (-(2 * A + 1 / 2)) * | |
| 777 | - u.axialResidual c n (Q ^ (-(1 / 2 : ℝ)) * r, (C t, TemporalMeanUpdate.coverMap k Y))) | |
| 778 | - (r : ℝ) (Y : Plane) : | |
| 779 | - normalizedRequest s P coord c u n (Q ^ (-(1 / 2 : ℝ)) * r, (C t, Y)) = | |
| 780 | - (s.epsilon n)⁻¹ • (Q ^ (2 * A) • physicalRequestedStress P q Fθ Fz (r, t)) := by | |
| 781 | - have h1 := physicalBarSigma_chart P 2 (Real.rpow_pos_of_pos hQ _) hqt C k | |
| 782 | - (Q ^ (-(2 * A + 1 / 2))) U.isOpen ht hθ hpθ hlength heθ r | |
| 783 | - have h2 := physicalBarSigma_chart P 1 (Real.rpow_pos_of_pos hQ _) hqt C k | |
| 784 | - (Q ^ (-(2 * A + 1 / 2))) U.isOpen ht hz hpz hlength hez r | |
| 785 | - have hfct := stress_unit_factor hQ A | |
| 786 | - apply congrArg (fun v : SignedWaveUpdate.Vec2 => (s.epsilon n)⁻¹ • v) | |
| 787 | - funext i | |
| 788 | - fin_cases i | |
| 789 | - · change _ = Q ^ (2 * A) * SignedStressPrimitive.physicalBarSigma P 2 q Fθ (r, t) | |
| 790 | - rw [h1, ← mul_assoc, hfct, one_mul] | |
| 791 | - rfl | |
| 792 | - · change _ = Q ^ (2 * A) * SignedStressPrimitive.physicalBarSigma P 1 q Fz (r, t) | |
| 793 | - rw [h2, ← mul_assoc, hfct, one_mul] | |
| 794 | - rfl | |
| 795 | - | |
| 796 | 737 | theorem physicalSigma_fiber_congr (P : SignedStressPrimitive.Patch) (e : ℕ) |
| 797 | 738 | {q : S → ℝ} {q' : T → ℝ} {f : ℝ × S → ℝ} {g : ℝ × T → ℝ} |
| 798 | 739 | {s : S} {t : T} (hq : q s = q' t) (he : ∀ r, f (r, s) = g (r, t)) (r : ℝ) : |
| @@ -852,18 +793,6 @@ private theorem frozenBar_sigma (P : SignedStressPrimitive.Patch) (e : ℕ) | ||
| 852 | 793 | (f := PressureStream.torusAverage f) (g := frozenBar f s) (s := s) (t := 0) |
| 853 | 794 | rfl (fun _ => rfl) r |
| 854 | 795 | |
| 855 | -theorem physicalBarSigma_eq_negative_primitive {coord : ℝ} (U : SlowRegion coord) | |
| 856 | - (P : SignedStressPrimitive.Patch) (e : ℕ) {f : Point → ℝ} | |
| 857 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 858 | - (hs : MovingSupport P.a P.b coord U.carrier f) {s : Plane} (hsp : s ∈ U.carrier) (r : ℝ) : | |
| 859 | - SignedStressPrimitive.physicalBarSigma P e (SimilarityCoordinates.coordinateQ coord) f (r, s) = | |
| 860 | - -(∫ t in (0 : ℝ)..r, t ^ e * SignedStressPrimitive.physicalAdjusted P e | |
| 861 | - (SimilarityCoordinates.coordinateQ coord) (PressureStream.torusAverage f) (t, s)) / r ^ e := by | |
| 862 | - rw [frozenBar_sigma] | |
| 863 | - exact SignedStressPrimitive.physicalSigma_eq_negative_primitive P e contDiff_const | |
| 864 | - (fun _ => U.qlo_pos.trans_le (U.q_mem s hsp).1) | |
| 865 | - (frozenBar_smooth U.isOpen hsp hf) (frozenBar_supported P hsp hs) (r, 0) | |
| 866 | - | |
| 867 | 796 | theorem physicalBarSigma_angular_divergence {coord : ℝ} (U : SlowRegion coord) |
| 868 | 797 | (P : SignedStressPrimitive.Patch) {f : Point → ℝ} |
| 869 | 798 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) |
| @@ -892,42 +821,6 @@ theorem physicalBarSigma_axial_divergence {coord : ℝ} (U : SlowRegion coord) | ||
| 892 | 821 | (fun _ => U.qlo_pos.trans_le (U.q_mem s hsp).1) |
| 893 | 822 | (frozenBar_smooth U.isOpen hsp hf) (frozenBar_supported P hsp hs) 0 hr |
| 894 | 823 | |
| 895 | -theorem physicalAdjusted_moment_zero {coord : ℝ} (U : SlowRegion coord) | |
| 896 | - (P : SignedStressPrimitive.Patch) (e : ℕ) {f : Point → ℝ} | |
| 897 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 898 | - (hs : MovingSupport P.a P.b coord U.carrier f) {s : Plane} (hsp : s ∈ U.carrier) : | |
| 899 | - SignedStressPrimitive.mass e (SignedStressPrimitive.physicalAdjusted P e | |
| 900 | - (SimilarityCoordinates.coordinateQ coord) (PressureStream.torusAverage f)) s = 0 := | |
| 901 | - SignedStressPrimitive.physicalAdjusted_moment_zero P e contDiff_const | |
| 902 | - (fun _ => U.qlo_pos.trans_le (U.q_mem s hsp).1) | |
| 903 | - (frozenBar_smooth U.isOpen hsp hf) (frozenBar_supported P hsp hs) 0 | |
| 904 | - | |
| 905 | -theorem physicalBarSigma_supported {coord : ℝ} (U : SlowRegion coord) | |
| 906 | - (P : SignedStressPrimitive.Patch) (e : ℕ) {f : Point → ℝ} | |
| 907 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 908 | - (hs : MovingSupport P.a P.b coord U.carrier f) : | |
| 909 | - MovingSupport P.a P.b coord U.carrier | |
| 910 | - (fun x => SignedStressPrimitive.physicalBarSigma P e | |
| 911 | - (SimilarityCoordinates.coordinateQ coord) f (x.1, x.2.1)) := by | |
| 912 | - intro x hx hn | |
| 913 | - change SignedStressPrimitive.physicalBarSigma P e | |
| 914 | - (SimilarityCoordinates.coordinateQ coord) f (x.1, x.2.1) ≠ 0 at hn | |
| 915 | - rw [frozenBar_sigma] at hn | |
| 916 | - exact SignedStressPrimitive.physicalSigma_supported P e contDiff_const | |
| 917 | - (fun _ => U.qlo_pos.trans_le (U.q_mem x.2.1 hx).1) | |
| 918 | - (frozenBar_smooth U.isOpen hx hf) (frozenBar_supported P hx hs) (x.1, 0) hn | |
| 919 | - | |
| 920 | -theorem physicalBarSigma_slice_compact {coord : ℝ} (U : SlowRegion coord) | |
| 921 | - (P : SignedStressPrimitive.Patch) (e : ℕ) {f : Point → ℝ} | |
| 922 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 923 | - (hs : MovingSupport P.a P.b coord U.carrier f) {s : Plane} (hsp : s ∈ U.carrier) : | |
| 924 | - HasCompactSupport (fun r => SignedStressPrimitive.physicalBarSigma P e | |
| 925 | - (SimilarityCoordinates.coordinateQ coord) f (r, s)) := by | |
| 926 | - simp_rw [frozenBar_sigma] | |
| 927 | - exact SignedStressPrimitive.physicalSigma_slice_compact P e contDiff_const | |
| 928 | - (fun _ => U.qlo_pos.trans_le (U.q_mem s hsp).1) | |
| 929 | - (frozenBar_smooth U.isOpen hsp hf) (frozenBar_supported P hsp hs) 0 | |
| 930 | - | |
| 931 | 824 | theorem physicalBarSigma_contDiffOn {coord : ℝ} (U : SlowRegion coord) |
| 932 | 825 | (P : SignedStressPrimitive.Patch) (e : ℕ) {f : Point → ℝ} |
| 933 | 826 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U.carrier)) |
+0 −41 NavierStokes/MomentRepair.lean View file
| @@ -73,31 +73,6 @@ theorem repair_exact (L : ι → V →ₗ[ℝ] ℝ) (b : ι → V) | ||
| 73 | 73 | rw [hi] |
| 74 | 74 | simp [moments] |
| 75 | 75 | |
| 76 | -theorem repair_unchanged_when_exact (L : ι → V →ₗ[ℝ] ℝ) (b : ι → V) (u : V) : | |
| 77 | - repair L b u (moments L u) = u := by | |
| 78 | - simp [repair, coefficients, synthesize] | |
| 79 | - | |
| 80 | -/-- An arbitrary correction attaining the target has the computed coefficients. -/ | |
| 81 | -theorem repair_coefficients_unique (L : ι → V →ₗ[ℝ] ℝ) (b : ι → V) | |
| 82 | - (hB : (momentMatrix L b).det ≠ 0) (u : V) (target c : ι → ℝ) | |
| 83 | - (hc : moments L (u + synthesize b c) = target) : | |
| 84 | - c = coefficients (momentMatrix L b) (target - moments L u) := by | |
| 85 | - apply coefficients_unique (momentMatrix L b) hB | |
| 86 | - rw [← moments_synthesize L b] | |
| 87 | - ext i | |
| 88 | - have hi := congrFun hc i | |
| 89 | - change L i (u + synthesize b c) = target i at hi | |
| 90 | - simp only [map_add] at hi | |
| 91 | - change L i (synthesize b c) = target i - L i u | |
| 92 | - linarith | |
| 93 | - | |
| 94 | -/-- The repair is idempotent for fixed target moments. -/ | |
| 95 | -theorem repair_idempotent (L : ι → V →ₗ[ℝ] ℝ) (b : ι → V) | |
| 96 | - (hB : (momentMatrix L b).det ≠ 0) (u : V) (target : ι → ℝ) : | |
| 97 | - repair L b (repair L b u target) target = repair L b u target := by | |
| 98 | - conv_lhs => rhs; rw [← repair_exact L b hB u target] | |
| 99 | - exact repair_unchanged_when_exact L b (repair L b u target) | |
| 100 | - | |
| 101 | 76 | end LinearRepair |
| 102 | 77 | |
| 103 | 78 | section Support |
| @@ -126,22 +101,6 @@ theorem repair_support_subset (L : ι → (X → ℝ) →ₗ[ℝ] ℝ) (b : ι | ||
| 126 | 101 | |
| 127 | 102 | end Support |
| 128 | 103 | |
| 129 | -/-- The two-row weighted evaluation matrix for exponents `0` and `1`. -/ | |
| 130 | -def twoPointMatrix (x₁ x₂ w₁ w₂ : ℝ) : Matrix (Fin 2) (Fin 2) ℝ := | |
| 131 | - !![w₁, w₂; x₁ * w₁, x₂ * w₂] | |
| 132 | - | |
| 133 | -theorem twoPointMatrix_det (x₁ x₂ w₁ w₂ : ℝ) : | |
| 134 | - (twoPointMatrix x₁ x₂ w₁ w₂).det = w₁ * w₂ * (x₂ - x₁) := by | |
| 135 | - simp [twoPointMatrix, Matrix.det_fin_two] | |
| 136 | - ring | |
| 137 | - | |
| 138 | -/-- Ordered nodes and positive weights genuinely imply nonsingularity in two rows. -/ | |
| 139 | -theorem twoPointMatrix_det_pos (x₁ x₂ w₁ w₂ : ℝ) | |
| 140 | - (hx : x₁ < x₂) (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) : | |
| 141 | - 0 < (twoPointMatrix x₁ x₂ w₁ w₂).det := by | |
| 142 | - rw [twoPointMatrix_det] | |
| 143 | - exact mul_pos (mul_pos hw₁ hw₂) (sub_pos.mpr hx) | |
| 144 | - | |
| 145 | 104 | section NonlinearRepair |
| 146 | 105 | |
| 147 | 106 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
+0 −21 NavierStokes/MomentRepairPicard.lean View file
| @@ -63,27 +63,6 @@ theorem limits_compatible (i : Eₖ →L[ℝ] E₀) | ||
| 63 | 63 | exact ((i.continuous.tendsto cₖ).comp hₖ).congr |
| 64 | 64 | (iterates_compatible i B₀ Bₖ A₀ Aₖ d₀ dₖ hB hA hd) |
| 65 | 65 | |
| 66 | -/-- Both printed smallness conditions select the same correction. The | |
| 67 | -exact quantitative estimate holds in each norm on that common branch. -/ | |
| 68 | -theorem exists_compatible_small_solutions [CompleteSpace E₀] [CompleteSpace Eₖ] | |
| 69 | - (i : Eₖ →L[ℝ] E₀) (B₀ : E₀ ≃L[ℝ] E₀) (Bₖ : Eₖ ≃L[ℝ] Eₖ) | |
| 70 | - (A₀ : E₀ →L[ℝ] E₀ →L[ℝ] E₀) (Aₖ : Eₖ →L[ℝ] Eₖ →L[ℝ] Eₖ) | |
| 71 | - (d₀ : E₀) (dₖ : Eₖ) | |
| 72 | - (hB : ∀ x, i (Bₖ x) = B₀ (i x)) | |
| 73 | - (hA : ∀ x y, i (Aₖ x y) = A₀ (i x) (i y)) (hd : i dₖ = d₀) | |
| 74 | - (hsmall₀ : 8 * ‖B₀.symm.toContinuousLinearMap‖ ^ 2 * ‖A₀‖ * ‖d₀‖ ≤ 1) | |
| 75 | - (hsmallₖ : 8 * ‖Bₖ.symm.toContinuousLinearMap‖ ^ 2 * ‖Aₖ‖ * ‖dₖ‖ ≤ 1) : | |
| 76 | - ∃ c₀ : E₀, ∃ cₖ : Eₖ, i cₖ = c₀ ∧ | |
| 77 | - ‖c₀‖ ≤ 2 * ‖B₀.symm.toContinuousLinearMap‖ * ‖d₀‖ ∧ | |
| 78 | - ‖cₖ‖ ≤ 2 * ‖Bₖ.symm.toContinuousLinearMap‖ * ‖dₖ‖ ∧ | |
| 79 | - B₀ c₀ + A₀ c₀ c₀ = d₀ ∧ Bₖ cₖ + Aₖ cₖ cₖ = dₖ := by | |
| 80 | - obtain ⟨c₀, hc₀, he₀, ht₀⟩ := | |
| 81 | - MomentRepairPicardConvergence.exists_small_solution_with_iterates B₀ A₀ d₀ hsmall₀ | |
| 82 | - obtain ⟨cₖ, hcₖ, heₖ, htₖ⟩ := | |
| 83 | - MomentRepairPicardConvergence.exists_small_solution_with_iterates Bₖ Aₖ dₖ hsmallₖ | |
| 84 | - exact ⟨c₀, cₖ, limits_compatible i B₀ Bₖ A₀ Aₖ d₀ dₖ hB hA hd ht₀ htₖ, | |
| 85 | - hc₀, hcₖ, he₀, heₖ⟩ | |
| 86 | - | |
| 87 | 66 | /-- A previously selected zero-started C⁰ branch satisfies the stronger |
| 88 | 67 | norm estimate whenever the corresponding stronger smallness test holds. -/ |
| 89 | 68 | theorem existing_branch_has_stronger_lift [CompleteSpace Eₖ] |
+0 −277 NavierStokes/PeriodizedWaveBounds.lean View file
| @@ -131,29 +131,6 @@ theorem copySum_memClass {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} | ||
| 131 | 131 | MemClass s w α (fun n => copySum (f n)) := |
| 132 | 132 | memClass_of_local_germs hw hj (fun n x _ => copySum_germ_cover K n (f n) (hs n) x) |
| 133 | 133 | |
| 134 | -/-- The proof also gives the very same prefix constants globally. -/ | |
| 135 | -theorem copySum_jet_bound (K : Cells D I) {s : StripData D} {w : ℕ → D → ℝ} | |
| 136 | - {α C : ℝ} {p m : ℕ} (hC : 0 ≤ C) (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) | |
| 137 | - {f : ℕ → I → D → E} (hs : ∀ n i, support (f n i) ⊆ K.carrier n i) | |
| 138 | - (hb : ∀ n i x, x ∈ s.domain → x ∈ K.carrier n i → ∀ j ≤ m, | |
| 139 | - ‖iteratedFDeriv ℝ j (f n i) x‖ ≤ majorant s w α C p n x) | |
| 140 | - (n : ℕ) {x : D} (hx : x ∈ s.domain) (j : ℕ) (hj : j ≤ m) : | |
| 141 | - ‖iteratedFDeriv ℝ j (copySum (f n)) x‖ ≤ majorant s w α C p n x := by | |
| 142 | - rcases copySum_germ_cover K n (f n) (hs n) x with ⟨i, hxi, hg⟩ | hg | |
| 143 | - · rw [jets_eq_of_germ hg j] | |
| 144 | - exact hb n i x hx hxi j hj | |
| 145 | - · simp only [jets_eq_of_germ hg j, iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] | |
| 146 | - exact majorant_nonneg s w α hC p n x (hw n x hx) | |
| 147 | - | |
| 148 | -omit [NormedSpace ℝ D] [NormedSpace ℝ E] in | |
| 149 | -theorem copySum_support (K : Cells D I) (n : ℕ) (f : I → D → E) | |
| 150 | - (hs : ∀ i, support (f i) ⊆ K.carrier n i) : | |
| 151 | - support (copySum f) ⊆ ⋃ i, K.carrier n i := by | |
| 152 | - intro x hx | |
| 153 | - by_contra hn | |
| 154 | - have hz := copySum_zero_germ K n f hs (by simpa using hn) | |
| 155 | - exact hx hz.self_of_nhds | |
| 156 | - | |
| 157 | 134 | omit [NormedSpace ℝ D] [NormedSpace ℝ E] in |
| 158 | 135 | theorem copySum_eventually_finite (K : Cells D I) (n : ℕ) (f : I → D → E) |
| 159 | 136 | (hs : ∀ i, support (f i) ⊆ K.carrier n i) (x : D) : |
| @@ -168,12 +145,6 @@ theorem copySum_eventually_finite (K : Cells D I) (n : ℕ) (f : I → D → E) | ||
| 168 | 145 | apply hi |
| 169 | 146 | exact hfin.mem_toFinset.mpr ⟨y, hs i hne, hy⟩ |
| 170 | 147 | |
| 171 | -omit [NormedSpace ℝ D] [NormedSpace ℝ E] in | |
| 172 | -theorem copySum_tsupport (K : Cells D I) (n : ℕ) (f : I → D → E) | |
| 173 | - (hs : ∀ i, support (f i) ⊆ K.carrier n i) : | |
| 174 | - tsupport (copySum f) ⊆ ⋃ i, K.carrier n i := | |
| 175 | - closure_minimal (copySum_support K n f hs) ((K.locallyFinite n).isClosed_iUnion (K.closed n)) | |
| 176 | - | |
| 177 | 148 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] [NormedSpace ℝ E] in |
| 178 | 149 | theorem copySum_translate (f : I → D → E) (T : D → D) (e : I ≃ I) |
| 179 | 150 | (h : ∀ i x, f (e i) (T x) = f i x) (x : D) : |
| @@ -234,13 +205,6 @@ theorem memClass_of_local_and_complement_germs | ||
| 234 | 205 | ((majorant_mono_degree s w α hC₀ (le_max_right _ _) n x (hw n x hx)).trans |
| 235 | 206 | (majorant_mono_constant s w α (le_add_of_nonneg_left hC) _ n x (hw n x hx))) |
| 236 | 207 | |
| 237 | -omit [NormedSpace ℝ D] [NormedSpace ℝ E] in | |
| 238 | -theorem source_zero_germ (K : Cells D I) {f : ℕ → D → E} | |
| 239 | - (hs : ∀ n, support (f n) ⊆ ⋃ i, K.carrier n i) {n : ℕ} {x : D} | |
| 240 | - (hx : ∀ i, x ∉ K.carrier n i) : f n =ᶠ[𝓝 x] fun _ => 0 := | |
| 241 | - zero_germ_of_support ((K.locallyFinite n).isClosed_iUnion (K.closed n)) (hs n) | |
| 242 | - (by simpa only [mem_iUnion, not_exists] using hx) | |
| 243 | - | |
| 244 | 208 | end LocalGluing |
| 245 | 209 | |
| 246 | 210 | section UniformLabels |
| @@ -353,20 +317,6 @@ theorem native_localized_support (g : Geometry) {K : Set Plane} {κ : Plane → | ||
| 353 | 317 | intro he |
| 354 | 318 | exact hz (by simp only [he, zero_smul]) |
| 355 | 319 | |
| 356 | -/-- Whole-lift weighted bounds for the literal common-copy sum. The native | |
| 357 | -smoothness and all-jet estimates are needed only on their own support cell. -/ | |
| 358 | -theorem periodizedCopies_memClass {s : StripData (P × Plane)} {w : ℕ → P × Plane → ℝ} | |
| 359 | - {α : ℝ} (g : ℕ → Geometry) (K : ℕ → Set Plane) (hK : ∀ n, IsCompact (K n)) | |
| 360 | - (hinj : ∀ n, InjOn quotientPoint ((fun z => (g n).center + (g n).basis z) '' K n)) | |
| 361 | - (κ : ℕ → Plane → ℝ) (hκ : ∀ n, support (κ n) ⊆ K n) | |
| 362 | - (f : ℕ → Frequency → P × Plane → E) | |
| 363 | - (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) | |
| 364 | - (hj : LocalJets s w α (fun n => nativeCell (g n) (K n)) | |
| 365 | - (fun n k x => κ n ((g n).coordinates k x.2) • f n k x)) : | |
| 366 | - MemClass s w α (fun n => ParticularWaveBounds.periodizedCopies (g n) (κ n) (f n)) := | |
| 367 | - copySum_memClass (s := s) (w := w) (α := α) (nativeCells (P := P) g K hK hinj) hw | |
| 368 | - (fun n => native_localized_support (g n) (hκ n) (f n)) hj | |
| 369 | - | |
| 370 | 320 | end NativeCells |
| 371 | 321 | |
| 372 | 322 | section NativeJetOperations |
| @@ -951,14 +901,6 @@ theorem localTail_support (K : Cells D I) | ||
| 951 | 901 | by_contra hn |
| 952 | 902 | exact hx (a.localTail_zero_germ d (zero_germ_of_support (K.closed n i) (hs n i) hn)).self_of_nhds |
| 953 | 903 | |
| 954 | -theorem corrected_support (K : Cells D I) | |
| 955 | - (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) | |
| 956 | - (s : StripData D) (d : GraphDirections D) (n : ℕ) (i : I) : | |
| 957 | - support ((a.corrected s d i).amplitude n) ⊆ K.carrier n i := by | |
| 958 | - intro x hx | |
| 959 | - by_contra hn | |
| 960 | - exact hx (a.corrected_zero_germ s d (zero_germ_of_support (K.closed n i) (hs n i) hn)).self_of_nhds | |
| 961 | - | |
| 962 | 904 | omit [NormedSpace ℝ D] in |
| 963 | 905 | theorem common_zero_germs (K : Cells D I) |
| 964 | 906 | (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) |
| @@ -1100,25 +1042,6 @@ theorem globalGood_class_of_native (K : Cells D I) | ||
| 1100 | 1042 | MemClass s w α (a.globalGood s d) := |
| 1101 | 1043 | copySum_memClass K hw (a.localGood_support K hs s d) hg |
| 1102 | 1044 | |
| 1103 | -/-- If the literal incoming source is supported in the union of native | |
| 1104 | -cores, the global Gaussian error is flat whenever the native error jets | |
| 1105 | -are uniformly flat. No global error class is assumed. -/ | |
| 1106 | -theorem globalGaussian_class_of_covered_source (K : Cells D I) | |
| 1107 | - (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) | |
| 1108 | - (hsource : ∀ n, support (a.source n) ⊆ ⋃ i, K.carrier n i) | |
| 1109 | - {s : StripData D} (d : GraphDirections D) {w : ℕ → D → ℝ} {α : ℝ} | |
| 1110 | - (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) | |
| 1111 | - (hg : LocalJets s w α K.carrier (a.localGaussian d)) : | |
| 1112 | - MemClass s w α (a.globalGaussian d) := by | |
| 1113 | - apply memClass_of_local_germs hw hg | |
| 1114 | - intro n x _ | |
| 1115 | - classical | |
| 1116 | - by_cases h : ∃ i, x ∈ K.carrier n i | |
| 1117 | - · obtain ⟨i, hi⟩ := h | |
| 1118 | - exact Or.inl ⟨i, hi, a.globalGaussian_germ K hs d n hi⟩ | |
| 1119 | - · have hn := not_exists.mp h | |
| 1120 | - exact Or.inr ((a.globalGaussian_uncovered_germ K hs d hn).trans (source_zero_germ K hsource hn)) | |
| 1121 | - | |
| 1122 | 1045 | /-- A nonzero uncovered source is retained and estimated from its own |
| 1123 | 1046 | primitive jets on that complement. -/ |
| 1124 | 1047 | theorem globalGaussian_class_with_complement (K : Cells D I) |
| @@ -1138,23 +1061,6 @@ theorem globalGaussian_of_source_zero (d : GraphDirections D) | ||
| 1138 | 1061 | funext n x |
| 1139 | 1062 | simp [globalGaussian, hf] |
| 1140 | 1063 | |
| 1141 | -theorem globalGood_support (K : Cells D I) | |
| 1142 | - (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) | |
| 1143 | - (s : StripData D) (d : GraphDirections D) (n : ℕ) : | |
| 1144 | - support (a.globalGood s d n) ⊆ ⋃ i, K.carrier n i := | |
| 1145 | - copySum_support K n _ (a.localGood_support K hs s d n) | |
| 1146 | - | |
| 1147 | -theorem globalGaussian_support (K : Cells D I) | |
| 1148 | - (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) | |
| 1149 | - (hsource : ∀ n, support (a.source n) ⊆ ⋃ i, K.carrier n i) | |
| 1150 | - (d : GraphDirections D) (n : ℕ) : | |
| 1151 | - support (a.globalGaussian d n) ⊆ ⋃ i, K.carrier n i := by | |
| 1152 | - intro x hx | |
| 1153 | - by_contra h | |
| 1154 | - have hn : ∀ i, x ∉ K.carrier n i := by simpa only [mem_iUnion, not_exists] using h | |
| 1155 | - have hz := (a.globalGaussian_uncovered_germ K hs d hn).trans (source_zero_germ K hsource hn) | |
| 1156 | - exact hx hz.self_of_nhds | |
| 1157 | - | |
| 1158 | 1064 | /-- The global differential formula corresponding to the sum of native |
| 1159 | 1065 | good terms. Its equality with that sum is proved from actual germs. -/ |
| 1160 | 1066 | noncomputable def differentialGood (s : StripData D) (d : GraphDirections D) (n : ℕ) (x : D) : |
| @@ -1333,31 +1239,6 @@ theorem localGaussian_all_gains_from_native {s : StripData D} (d : GraphDirectio | ||
| 1333 | 1239 | · exact a.localGaussian_zero_of_cutoff_one d hone |
| 1334 | 1240 | · exact a.localGaussian_zero_of_fields d hu0 hf0 |
| 1335 | 1241 | |
| 1336 | -/-- The whole-lift Gaussian estimate derives every native output jet from | |
| 1337 | -primitive data, then glues using the actual periodized fields and source | |
| 1338 | -coverage. No Gaussian error class is an input. -/ | |
| 1339 | -theorem globalGaussian_all_gains_from_native (K : Cells D I) | |
| 1340 | - (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) | |
| 1341 | - (hsource : ∀ n, support (a.source n) ⊆ ⋃ i, K.carrier n i) | |
| 1342 | - {s : StripData D} (d : GraphDirections D) {W : ℕ → D → ℝ} {α c : ℝ} | |
| 1343 | - (hWnonneg : ∀ n x, x ∈ s.domain → 0 ≤ W n x) | |
| 1344 | - (hψ : LocalJets s (fun _ _ => 1) 0 K.carrier a.cutoff) | |
| 1345 | - (hfast : BandBound s 0 d.fastScale) | |
| 1346 | - (hu : LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α K.carrier a.amplitude) | |
| 1347 | - (hf : LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α K.carrier (fun n _ => a.source n)) | |
| 1348 | - (edges : GaussianTailFlat.FlatEdges s) (scales : GaussianTailFlat.BandScaleControl s) | |
| 1349 | - (θ : ℕ → I → D → ℝ) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 1350 | - (ell : ℝ) (hell : 0 < ell) (hLell : ∀ n, ell * ChartScales.S n ≤ L n) (hc : 0 < c) | |
| 1351 | - (hW : ∀ n i x, x ∈ s.domain → x ∈ K.carrier n i → | |
| 1352 | - W n x ≤ Real.exp (-c * (θ n i x - 1 / 2) ^ 2 * L n)) | |
| 1353 | - (hcentral : ∀ n i x, x ∈ s.domain → x ∈ K.carrier n i → |θ n i x - 1 / 2| < 1 / 5 → | |
| 1354 | - (a.cutoff n i =ᶠ[𝓝 x] fun _ => 1) ∨ | |
| 1355 | - ((a.amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ (a.source n =ᶠ[𝓝 x] fun _ => 0))) | |
| 1356 | - (β : ℝ) : UnweightedClass s β (a.globalGaussian d) := | |
| 1357 | - a.globalGaussian_class_of_covered_source K hs hsource d (fun _ _ _ => zero_le_one) | |
| 1358 | - (a.localGaussian_all_gains_from_native d hWnonneg hψ hfast hu hf edges scales θ L hL | |
| 1359 | - ell hell hLell hc hW hcentral β) | |
| 1360 | - | |
| 1361 | 1242 | theorem common_potential_germ (K : Cells D I) |
| 1362 | 1243 | (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) |
| 1363 | 1244 | (s : StripData D) (d : GraphDirections D) (n : ℕ) {i : I} {x : D} |
| @@ -1493,42 +1374,6 @@ theorem globalGood_invariant (s : StripData D) (d : GraphDirections D) | ||
| 1493 | 1374 | (fun n => a.cutoff n i) hR hb hF hG hr hz hΦ (fun n => hu n i) (fun n => hp n i) |
| 1494 | 1375 | (fun n => hψ n i) n) |
| 1495 | 1376 | |
| 1496 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 1497 | -/-- Deck reindexing is sufficient for common-field periodicity; individual | |
| 1498 | -uncut copies need not be periodic. -/ | |
| 1499 | -theorem common_translate (n : ℕ) (T : D → D) (e : I ≃ I) | |
| 1500 | - (hψ : ∀ i x, a.cutoff n (e i) (T x) = a.cutoff n i x) | |
| 1501 | - (hu : ∀ i x, a.amplitude n (e i) (T x) = a.amplitude n i x) | |
| 1502 | - (hp : ∀ i x, a.pressure n (e i) (T x) = a.pressure n i x) (x : D) : | |
| 1503 | - a.common.amplitude n (T x) = a.common.amplitude n x ∧ | |
| 1504 | - a.common.pressure n (T x) = a.common.pressure n x := by | |
| 1505 | - constructor | |
| 1506 | - · apply copySum_translate _ T e _ x | |
| 1507 | - intro i y | |
| 1508 | - change a.cutoff n (e i) (T y) • a.amplitude n (e i) (T y) = _ | |
| 1509 | - rw [hψ, hu] | |
| 1510 | - rfl | |
| 1511 | - · apply copySum_translate _ T e _ x | |
| 1512 | - intro i y | |
| 1513 | - change (a.cutoff n (e i) (T y) : ℂ) * a.pressure n (e i) (T y) = _ | |
| 1514 | - rw [hψ, hp] | |
| 1515 | - rfl | |
| 1516 | - | |
| 1517 | -theorem globalGaussian_translate (d : GraphDirections D) (n : ℕ) (z : D) (e : I ≃ I) | |
| 1518 | - (hψ : ∀ i x, a.cutoff n (e i) (x + z) = a.cutoff n i x) | |
| 1519 | - (hu : ∀ i x, a.amplitude n (e i) (x + z) = a.amplitude n i x) | |
| 1520 | - (hf : ∀ x, a.source n (x + z) = a.source n x) (x : D) : | |
| 1521 | - a.globalGaussian d n (x + z) = a.globalGaussian d n x := by | |
| 1522 | - have hT : a.globalTail d n (x + z) = a.globalTail d n x := by | |
| 1523 | - apply copySum_translate _ (fun x => x + z) e _ x | |
| 1524 | - intro i y | |
| 1525 | - have hD : fderiv ℝ (a.cutoff n (e i)) (y + z) = fderiv ℝ (a.cutoff n i) y := by | |
| 1526 | - rw [← fderiv_comp_add_right z, show (fun x => a.cutoff n (e i) (x + z)) = a.cutoff n i from funext (hψ i)] | |
| 1527 | - simp only [localTail, GraphDirections.Dfast, HarmonicCalculus.along, | |
| 1528 | - GraphDirections.fastField, hD, hu] | |
| 1529 | - have hS : a.cutoffSum n (x + z) = a.cutoffSum n x := copySum_translate _ (fun x => x + z) e hψ x | |
| 1530 | - simp only [globalGaussian, hT, hS, hf] | |
| 1531 | - | |
| 1532 | 1377 | end CopyData |
| 1533 | 1378 | |
| 1534 | 1379 | end WaveData |
| @@ -1555,128 +1400,6 @@ noncomputable def complexCopyData (base : WaveCoefficients (P × Plane)) | ||
| 1555 | 1400 | cutoff n k z := κ n ((g n).coordinates k z.2) |
| 1556 | 1401 | source := source |
| 1557 | 1402 | |
| 1558 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 1559 | -theorem complexCopyData_common (base : WaveCoefficients (P × Plane)) | |
| 1560 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1561 | - (g : ℕ → Geometry) (entry exit : ℕ → ℝ) (hab : ∀ n, entry n ≤ exit n) | |
| 1562 | - (κ : ℕ → Plane → ℝ) : | |
| 1563 | - (complexCopyData base t source g entry exit hab κ).common = | |
| 1564 | - { base with | |
| 1565 | - amplitude := fun n => commonVelocity (t n) (source n) (g n) (hab n) (κ n) | |
| 1566 | - pressure := fun n => commonPressure (t n) (source n) (g n) (hab n) (κ n) (base.frequency n) } := rfl | |
| 1567 | - | |
| 1568 | -theorem complexCopyData_common_periodic (base : WaveCoefficients (P × Plane)) | |
| 1569 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1570 | - (g : ℕ → Geometry) (entry exit : ℕ → ℝ) (hab : ∀ n, entry n ≤ exit n) | |
| 1571 | - (κ : ℕ → Plane → ℝ) (n : ℕ) (p : P) (hp : PeriodicAt (source n) p) : | |
| 1572 | - PeriodicAt ((complexCopyData base t source g entry exit hab κ).common.amplitude n) p ∧ | |
| 1573 | - PeriodicAt ((complexCopyData base t source g entry exit hab κ).common.pressure n) p := | |
| 1574 | - ⟨commonVelocity_periodic (t n) (source n) (g n) (hab n) (κ n) p hp, | |
| 1575 | - commonPressure_periodic (t n) (source n) (g n) (hab n) (κ n) (base.frequency n) p hp⟩ | |
| 1576 | - | |
| 1577 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 1578 | -theorem complexCopyData_cutoff_support (base : WaveCoefficients (P × Plane)) | |
| 1579 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1580 | - (g : ℕ → Geometry) (entry exit : ℕ → ℝ) (hab : ∀ n, entry n ≤ exit n) | |
| 1581 | - (κ : ℕ → Plane → ℝ) (K : ℕ → Set Plane) (hκ : ∀ n, support (κ n) ⊆ K n) | |
| 1582 | - (n : ℕ) (k : Frequency) : | |
| 1583 | - support ((complexCopyData base t source g entry exit hab κ).cutoff n k) ⊆ | |
| 1584 | - nativeCell (g n) (K n) k := native_cutoff_support (g n) (hκ n) k | |
| 1585 | - | |
| 1586 | -/-- The data-only binding to the actual fixed-reference particular solve. | |
| 1587 | -The source is the literal coefficient of the incoming harmonic residual; | |
| 1588 | -no inverse, output field, or residual witness is supplied separately. -/ | |
| 1589 | -noncomputable def particularData (r : Reference P) (charts : BandCharts P) | |
| 1590 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1591 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1592 | - (base : WaveCoefficients ((P × ℝ) × Plane)) : CopyData ((P × ℝ) × Plane) Frequency where | |
| 1593 | - background := actualCarrier base b j | |
| 1594 | - amplitude n k := (actualCopyCoefficients r charts c u b G A j base (fun _ => k)).amplitude n | |
| 1595 | - pressure n k := (actualCopyCoefficients r charts c u b G A j base (fun _ => k)).pressure n | |
| 1596 | - cutoff n k z := r.cutoff ((bandGeometry r charts n).coordinates k z.2) | |
| 1597 | - source n := angleLift (residualSource c u b G A j n) | |
| 1598 | - | |
| 1599 | -theorem particularData_eq_complexCopyData (r : Reference P) (charts : BandCharts P) | |
| 1600 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1601 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1602 | - (base : WaveCoefficients ((P × ℝ) × Plane)) : | |
| 1603 | - particularData r charts c u b G A j base = | |
| 1604 | - complexCopyData (actualCarrier base b j) (fun n => angleTangent (bandTangent r charts j n)) | |
| 1605 | - (fun n => angleLift (residualSource c u b G A j n)) (bandGeometry r charts) | |
| 1606 | - (fun _ => 0) (fun _ => r.length) (fun _ => r.length_pos.le) (fun _ => r.cutoff) := rfl | |
| 1607 | - | |
| 1608 | -theorem particularData_raw (r : Reference P) (charts : BandCharts P) | |
| 1609 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1610 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1611 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (k : Frequency) : | |
| 1612 | - (particularData r charts c u b G A j base).raw k = | |
| 1613 | - actualCopyCoefficients r charts c u b G A j base (fun _ => k) := rfl | |
| 1614 | - | |
| 1615 | -theorem particularData_source (r : Reference P) (charts : BandCharts P) | |
| 1616 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1617 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1618 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (n : ℕ) (z : (P × ℝ) × Plane) (i : Fin 3) : | |
| 1619 | - (particularData r charts c u b G A j base).source n z i = | |
| 1620 | - (HarmonicResidual.residualBlock c u b G A).velocity n i j (z.1.1, z.2) := rfl | |
| 1621 | - | |
| 1622 | -theorem particularData_frequency (r : Reference P) (charts : BandCharts P) | |
| 1623 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1624 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1625 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (n : ℕ) : | |
| 1626 | - (particularData r charts c u b G A j base).background.frequency n = (j : ℝ) * b.frequency n := rfl | |
| 1627 | - | |
| 1628 | -theorem particularData_phase (r : Reference P) (charts : BandCharts P) | |
| 1629 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1630 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1631 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (n : ℕ) (z : (P × ℝ) × Plane) : | |
| 1632 | - (particularData r charts c u b G A j base).background.phase n z = | |
| 1633 | - b.phase n (z.1.1, z.2) + (b.angularFrequency n : ℝ) / b.frequency n * z.1.2 := rfl | |
| 1634 | - | |
| 1635 | -theorem particularData_cutoff_support (r : Reference P) (charts : BandCharts P) | |
| 1636 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1637 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) | |
| 1638 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (K : ℕ → Set Plane) | |
| 1639 | - (hK : ∀ n, support r.cutoff ⊆ K n) (n : ℕ) (k : Frequency) : | |
| 1640 | - support ((particularData r charts c u b G A j base).cutoff n k) ⊆ | |
| 1641 | - nativeCell (bandGeometry r charts n) (K n) k := | |
| 1642 | - native_cutoff_support (bandGeometry r charts n) (hK n) k | |
| 1643 | - | |
| 1644 | -/-- This is the same actual periodization as `ParticularWaveAssembly`, | |
| 1645 | -with its single physical reference and original source. -/ | |
| 1646 | -theorem particularData_common (r : Reference P) (charts : BandCharts P) | |
| 1647 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1648 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) {j : ℤ} (hj : j ≠ 0) | |
| 1649 | - (hfrequency : ∀ n, b.frequency n ≠ 0) | |
| 1650 | - (base : WaveCoefficients ((P × ℝ) × Plane)) : | |
| 1651 | - (particularData r charts c u b G A j base).common = | |
| 1652 | - actualCommonCoefficients r charts c u b G A j base := by | |
| 1653 | - let a := particularData r charts c u b G A j base | |
| 1654 | - have ha : a.common.amplitude = (actualCommonCoefficients r charts c u b G A j base).amplitude := by | |
| 1655 | - funext n | |
| 1656 | - rw [actualCommon_amplitude_periodization] | |
| 1657 | - rfl | |
| 1658 | - have hp : a.common.pressure = (actualCommonCoefficients r charts c u b G A j base).pressure := by | |
| 1659 | - funext n | |
| 1660 | - rw [actualCommon_pressure_periodization r charts c u b G A hj hfrequency] | |
| 1661 | - rfl | |
| 1662 | - calc | |
| 1663 | - a.common = { actualCarrier base b j with amplitude := a.common.amplitude, pressure := a.common.pressure } := rfl | |
| 1664 | - _ = { actualCarrier base b j with | |
| 1665 | - amplitude := (actualCommonCoefficients r charts c u b G A j base).amplitude, | |
| 1666 | - pressure := (actualCommonCoefficients r charts c u b G A j base).pressure } := by rw [ha, hp] | |
| 1667 | - _ = _ := rfl | |
| 1668 | - | |
| 1669 | -theorem particularData_commonCorrected (r : Reference P) (charts : BandCharts P) | |
| 1670 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 1671 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) {j : ℤ} (hj : j ≠ 0) | |
| 1672 | - (hfrequency : ∀ n, b.frequency n ≠ 0) | |
| 1673 | - (base : WaveCoefficients ((P × ℝ) × Plane)) (s : StripData ((P × ℝ) × Plane)) | |
| 1674 | - (d : GraphDirections ((P × ℝ) × Plane)) : | |
| 1675 | - (particularData r charts c u b G A j base).commonCorrected s d = | |
| 1676 | - actualCorrectedCommon r charts c u b G A j base s d := by | |
| 1677 | - unfold CopyData.commonCorrected actualCorrectedCommon | |
| 1678 | - rw [particularData_common r charts c u b G A hj hfrequency] | |
| 1679 | - | |
| 1680 | 1403 | end ActualParticularData |
| 1681 | 1404 | |
| 1682 | 1405 | end NavierStokes.PeriodizedWaveBounds |
+0 −46 NavierStokes/PhaseCalculus.lean View file
| @@ -215,14 +215,6 @@ theorem harmonic_theta_periodic (k : ℝ) (j m : ℤ) (ε p pz x0 : ℝ) | ||
| 215 | 215 | intro θ |
| 216 | 216 | exact harmonic_angularShift_two_pi k j m ε p pz x0 F G (s, (θ, v)) hkp |
| 217 | 217 | |
| 218 | -/-- The complex harmonic is jointly smooth whenever the base frequencies are. -/ | |
| 219 | -theorem contDiff_harmonic {n : WithTop ℕ∞} (k : ℝ) (j : ℤ) (ε p pz x0 : ℝ) | |
| 220 | - (F G : Slow → ℝ) (hF : ContDiff ℝ n F) (hG : ContDiff ℝ n G) : | |
| 221 | - ContDiff ℝ n (harmonic k j ε p pz x0 F G) := by | |
| 222 | - unfold harmonic | |
| 223 | - exact ((Complex.ofRealCLM.contDiff.comp | |
| 224 | - (contDiff_const.mul (contDiff_phase ε p pz x0 F G hF hG))).mul contDiff_const).cexp | |
| 225 | - | |
| 226 | 218 | /-- The actual cylindrical normal is jointly `C∞` away from the axis. -/ |
| 227 | 219 | theorem contDiffAt_phaseNormal (ε p pz x0 : ℝ) (F G : Slow → ℝ) (q : Slot) |
| 228 | 220 | (hR : q.1.1 ≠ 0) (hF : ContDiff ℝ ∞ F) (hG : ContDiff ℝ ∞ G) : |
| @@ -269,42 +261,4 @@ theorem vec3_norm_sq (w : Vec3) : | ||
| 269 | 261 | ‖w‖ ^ 2 = (w 0) ^ 2 + (w 1) ^ 2 + (w 2) ^ 2 := by |
| 270 | 262 | simp only [EuclideanSpace.real_norm_sq_eq, Fin.sum_univ_three] |
| 271 | 263 | |
| 272 | -/-- A unit tangential direction forces the reference vector to have norm at least `B`. -/ | |
| 273 | -theorem referenceNormal_norm_ge (B s Kθ Kz : ℝ) | |
| 274 | - (hK : Kθ ^ 2 + Kz ^ 2 = 1) : | |
| 275 | - B ≤ ‖referenceNormal B s Kθ Kz‖ := by | |
| 276 | - have hn : ‖referenceNormal B s Kθ Kz‖ ^ 2 = | |
| 277 | - (B * s) ^ 2 + (B * Kθ) ^ 2 + (B * Kz) ^ 2 := by | |
| 278 | - simpa [referenceNormal] using vec3_norm_sq (referenceNormal B s Kθ Kz) | |
| 279 | - have htan : (B * Kθ) ^ 2 + (B * Kz) ^ 2 = B ^ 2 := by | |
| 280 | - calc | |
| 281 | - (B * Kθ) ^ 2 + (B * Kz) ^ 2 = B ^ 2 * (Kθ ^ 2 + Kz ^ 2) := by ring | |
| 282 | - _ = B ^ 2 := by rw [hK, mul_one] | |
| 283 | - have hsq : B ^ 2 ≤ ‖referenceNormal B s Kθ Kz‖ ^ 2 := by | |
| 284 | - nlinarith [sq_nonneg (B * s)] | |
| 285 | - nlinarith [norm_nonneg (referenceNormal B s Kθ Kz)] | |
| 286 | - | |
| 287 | -/-- An explicit reference-vector error bound gives a quantitative lower bound | |
| 288 | -for the actual phase normal. The comparison estimate itself is a hypothesis. -/ | |
| 289 | -theorem phaseNormal_norm_lower (ε p pz x0 B s Kθ Kz δ : ℝ) | |
| 290 | - (F G : Slow → ℝ) (q : Slot) (hK : Kθ ^ 2 + Kz ^ 2 = 1) | |
| 291 | - (hclose : ‖phaseNormal ε p pz x0 F G q - referenceNormal B s Kθ Kz‖ ≤ δ) : | |
| 292 | - B - δ ≤ ‖phaseNormal ε p pz x0 F G q‖ := by | |
| 293 | - have href := referenceNormal_norm_ge B s Kθ Kz hK | |
| 294 | - have htriangle := norm_sub_norm_le (referenceNormal B s Kθ Kz) | |
| 295 | - (phaseNormal ε p pz x0 F G q) | |
| 296 | - rw [norm_sub_rev] at htriangle | |
| 297 | - linarith | |
| 298 | - | |
| 299 | -/-- Half-scale closeness ensures the denominator in the projected pulse | |
| 300 | -equation is nonzero for this actual phase normal. -/ | |
| 301 | -theorem phaseNormal_ne_zero_of_close (ε p pz x0 B s Kθ Kz : ℝ) | |
| 302 | - (F G : Slow → ℝ) (q : Slot) (hB : 0 < B) (hK : Kθ ^ 2 + Kz ^ 2 = 1) | |
| 303 | - (hclose : ‖phaseNormal ε p pz x0 F G q - referenceNormal B s Kθ Kz‖ ≤ B / 2) : | |
| 304 | - phaseNormal ε p pz x0 F G q ≠ 0 := by | |
| 305 | - have hlow := phaseNormal_norm_lower ε p pz x0 B s Kθ Kz (B / 2) F G q hK hclose | |
| 306 | - intro hz | |
| 307 | - rw [hz, norm_zero] at hlow | |
| 308 | - linarith | |
| 309 | - | |
| 310 | 264 | end NavierStokes.PhaseCalculus |
+0 −113 NavierStokes/PhaseEstimates.lean View file
| @@ -47,15 +47,6 @@ theorem roundedFrequency_integer {k : ℝ} (hk : k ≠ 0) (target : ℝ) : | ||
| 47 | 47 | unfold roundedFrequency |
| 48 | 48 | field_simp |
| 49 | 49 | |
| 50 | -theorem roundedFrequency_nonzero {k : ℝ} (hk : k ≠ 0) (target : ℝ) : | |
| 51 | - ∃ m : ℤ, m ≠ 0 ∧ k * roundedFrequency k target = (m : ℝ) := | |
| 52 | - ⟨nonzeroRound (k * target), nonzeroRound_ne_zero _, roundedFrequency_integer hk target⟩ | |
| 53 | - | |
| 54 | -theorem roundedFrequency_ne_zero {k : ℝ} (hk : k ≠ 0) (target : ℝ) : | |
| 55 | - roundedFrequency k target ≠ 0 := by | |
| 56 | - apply div_ne_zero _ hk | |
| 57 | - exact_mod_cast nonzeroRound_ne_zero (k * target) | |
| 58 | - | |
| 59 | 50 | theorem roundedFrequency_error {k : ℝ} (hk : 0 < k) (target : ℝ) : |
| 60 | 51 | |roundedFrequency k target - target| ≤ 1 / k := by |
| 61 | 52 | have heq : roundedFrequency k target - target = |
| @@ -109,13 +100,6 @@ theorem representative_frequency_bound (B sigma u L : ℝ) (K g : Plane) | ||
| 109 | 100 | |
| 110 | 101 | noncomputable def signedSlot (sigma u L v : ℝ) : ℝ := sigma * (u / 2 + u * v / L) |
| 111 | 102 | |
| 112 | -/-- The cancellation producing the intended radial slope is exact for the | |
| 113 | -unrounded representative data. -/ | |
| 114 | -theorem radial_reference_identity (B sigma u L v : ℝ) : | |
| 115 | - sigma * B * u / 2 - v * (-sigma * B * u / L) = B * signedSlot sigma u L v := by | |
| 116 | - unfold signedSlot | |
| 117 | - ring | |
| 118 | - | |
| 119 | 103 | /-! ## Local C2 control implies the derivative comparison at the representative -/ |
| 120 | 104 | |
| 121 | 105 | section LocalBase |
| @@ -908,80 +892,6 @@ theorem actual_phase_estimates | ||
| 908 | 892 | F G (q, (θ, v)) hε.ne' (hbase.actualF q hq) (hbase.actualG q hq)] |
| 909 | 893 | exact h |
| 910 | 894 | |
| 911 | -/-- Punctured-lattice rounding itself already excludes exact zeros of the | |
| 912 | -tangential normal; the comparison estimate supplies the uniform lower bound. -/ | |
| 913 | -theorem phase_normal_nonvanishing {ε k target pz x0 : ℝ} {F G : Slow → ℝ} | |
| 914 | - {q : PhaseCalculus.Slot} (hε : ε ≠ 0) (hk : k ≠ 0) (hR : q.1.1 ≠ 0) | |
| 915 | - (hF : DifferentiableAt ℝ F q.1) (hG : DifferentiableAt ℝ G q.1) : | |
| 916 | - MovingFrameODE.tail (PhaseCalculus.phaseNormal ε (roundedFrequency k target) pz x0 F G q) ≠ 0 ∧ | |
| 917 | - PhaseCalculus.phaseNormal ε (roundedFrequency k target) pz x0 F G q ≠ 0 := by | |
| 918 | - rw [phaseNormal_eq_explicit ε (roundedFrequency k target) pz x0 F G q hε hF hG] | |
| 919 | - have hp := div_ne_zero (roundedFrequency_ne_zero hk target) hR | |
| 920 | - constructor | |
| 921 | - · intro hz | |
| 922 | - have h := congrArg (fun w : Plane => w 0) hz | |
| 923 | - exact hp h | |
| 924 | - · intro hz | |
| 925 | - have h := congrArg (fun w : Space => w 1) hz | |
| 926 | - exact hp h | |
| 927 | - | |
| 928 | -/-- The phase's actual derivative, uniform lower bounds and every changing | |
| 929 | -frame quantity needed in `MovingFrameODE`, from local base and band data. -/ | |
| 930 | -theorem actual_phase_geometry | |
| 931 | - {F G F0 G0 : Slow → ℝ} {U : Set Slow} {q q0 : Slow} | |
| 932 | - {ε target pz v θ B sigma u L M S k : ℝ} {K : Plane} | |
| 933 | - (hbase : LocalBaseBounds F G F0 G0 U M ε) | |
| 934 | - (hq : q ∈ U) (hq0 : q0 ∈ U) (hdiameter : ‖q - q0‖ ≤ 1 / S ^ 3) | |
| 935 | - (hR : q.1 ≠ 0) (hR0 : q0.1 ≠ 0) | |
| 936 | - (hg : shearVector F0 G0 q0 ≠ 0) (horth : ⟪K, shearVector F0 G0 q0⟫_ℝ = 0) | |
| 937 | - (hfreq : (!₂[target / q0.1, pz] : Plane) = | |
| 938 | - representativeFrequency B sigma u L K (shearVector F0 G0 q0)) | |
| 939 | - (hM : 1 ≤ M) (hS : 1 ≤ S) (hk : 1 ≤ k) (hε : 0 < ε) | |
| 940 | - (htarget : |target| ≤ M) (hpz : |pz| ≤ M) (hB : |B| ≤ M) | |
| 941 | - (hsigma : |sigma| = 1) (hu : |u| ≤ M) (hgi : 1 / ‖shearVector F0 G0 q0‖ ≤ M) | |
| 942 | - (hL : 1 / |L| ≤ M / S) (hv : |v| ≤ M * S) | |
| 943 | - (hRi : |1 / q.1| ≤ M) (hR0i : |1 / q0.1| ≤ M) | |
| 944 | - (hBpos : 0 < B) (hK : ‖K‖ = 1) | |
| 945 | - (hsmall : phaseConstant M * phaseError S ε k ≤ B / 2) : | |
| 946 | - let N : ℝ → Space := fun w => PhaseCalculus.phaseNormal ε (roundedFrequency k target) pz | |
| 947 | - (sigma * B * u / 2) F G (q, (θ, w)) | |
| 948 | - let n' := PhaseCalculus.normalSlotDerivative ε (roundedFrequency k target) pz F G q | |
| 949 | - let δ := phaseConstant M * phaseError S ε k | |
| 950 | - HasDerivAt N n' v ∧ | |
| 951 | - B / 2 ≤ MovingFrameODE.normalScale (N v) ∧ B / 2 ≤ ‖N v‖ ∧ | |
| 952 | - MovingFrameODE.tail (N v) ≠ 0 ∧ N v ≠ 0 ∧ | |
| 953 | - |MovingFrameODE.radialSlope (N v) - signedSlot sigma u L v| ≤ | |
| 954 | - 2 * (1 + |signedSlot sigma u L v|) * δ / B ∧ | |
| 955 | - ‖MovingFrameODE.normalDirection (N v) - K‖ ≤ 4 * δ / B ∧ | |
| 956 | - ‖MovingFrameODE.quarterTurn (MovingFrameODE.normalDirection (N v)) - MovingFrameODE.quarterTurn K‖ ≤ | |
| 957 | - 4 * δ / B ∧ | |
| 958 | - |slopeDerivative (N v) n'| ≤ 2 * (1 + |MovingFrameODE.radialSlope (N v)|) * δ / B ∧ | |
| 959 | - |angularVelocity (N v) n'| ≤ 4 * δ / B := by | |
| 960 | - dsimp only | |
| 961 | - obtain ⟨hc, hd⟩ := actual_phase_estimates (v := v) (θ := θ) hbase hq hq0 hdiameter | |
| 962 | - hR hR0 hg horth hfreq hM hS hk hε htarget hpz hB hsigma hu hgi hL hv hRi hR0i | |
| 963 | - have hl := normal_lower_bounds (s := signedSlot sigma u L v) hBpos hK hsmall hc | |
| 964 | - refine ⟨?_, hl.1, hl.2.1, hl.2.2.1, hl.2.2.2, ?_, ?_, ?_, ?_, ?_⟩ | |
| 965 | - · exact PhaseCalculus.hasDerivAt_phaseNormal_slot ε (roundedFrequency k target) pz | |
| 966 | - (sigma * B * u / 2) θ v F G q hε.ne' (hbase.actualF q hq) (hbase.actualG q hq) | |
| 967 | - · exact radialSlope_close hBpos hK hsmall hc | |
| 968 | - · exact normalDirection_close hBpos hK hsmall hc | |
| 969 | - · exact transverseDirection_close hBpos hK hsmall hc | |
| 970 | - · exact slopeDerivative_bound hBpos hl.1 hd | |
| 971 | - · exact angularVelocity_bound hBpos hl.1 hd | |
| 972 | - | |
| 973 | -theorem signedSlot_bound {sigma u L v : ℝ} | |
| 974 | - (hsigma : |sigma| = 1) (hu : 0 ≤ u) (hL : 0 < L) (hv : 0 ≤ v) (hvL : v ≤ L) : | |
| 975 | - |signedSlot sigma u L v| ≤ 3 * u / 2 := by | |
| 976 | - have hvdiv : v / L ≤ 1 := (div_le_one hL).2 hvL | |
| 977 | - have hnonneg : 0 ≤ u / 2 + u * v / L := by positivity | |
| 978 | - unfold signedSlot | |
| 979 | - rw [abs_mul, hsigma, one_mul, abs_of_nonneg hnonneg] | |
| 980 | - have h := mul_le_mul_of_nonneg_left hvdiv hu | |
| 981 | - simp only [mul_one] at h | |
| 982 | - rw [mul_div_assoc] | |
| 983 | - nlinarith only [h] | |
| 984 | - | |
| 985 | 895 | theorem radialSlope_uniform_bound {n : Space} {K : Plane} {B s δ A : ℝ} |
| 986 | 896 | (hB : 0 < B) (hK : ‖K‖ = 1) (hδ : δ ≤ B / 2) |
| 987 | 897 | (hclose : ‖n - MovingFrameODE.pack (B * s) (B • K)‖ ≤ δ) (hs : |s| ≤ A) : |
| @@ -1051,27 +961,4 @@ theorem eventually_band_conditions (h : ℝ) (hh : 0 < h) : | ||
| 1051 | 961 | · simpa only [Real.rpow_two] using hnk.le |
| 1052 | 962 | · simpa only [Real.rpow_two, Real.rpow_one, mul_comm] using hn1.le |
| 1053 | 963 | |
| 1054 | -theorem eventually_phaseError_le (h : ℝ) (hh : 0 < h) : | |
| 1055 | - ∀ᶠ n : ℕ in atTop, | |
| 1056 | - phaseError (ChartScales.S n) (ChartScales.epsilon h n) (ChartScales.carrier h n) ≤ | |
| 1057 | - 4 / ChartScales.S n := by | |
| 1058 | - filter_upwards [eventually_band_conditions h hh] with n hn | |
| 1059 | - exact phaseError_le_four_div (lt_of_lt_of_le zero_lt_one hn.1) hn.2.1 hn.2.2.1 hn.2.2.2 | |
| 1060 | - | |
| 1061 | -/-- Any fixed positive representative lower bound eventually dominates the | |
| 1062 | -derived normal error. This is a cutoff conclusion, not an assumed comparison. -/ | |
| 1063 | -theorem eventually_error_small (h : ℝ) (hh : 0 < h) {C B : ℝ} (hC : 0 ≤ C) (hB : 0 < B) : | |
| 1064 | - ∀ᶠ n : ℕ in atTop, | |
| 1065 | - C * phaseError (ChartScales.S n) (ChartScales.epsilon h n) (ChartScales.carrier h n) ≤ B / 2 := by | |
| 1066 | - have hS := chart_S_tendsto_atTop.eventually (eventually_ge_atTop (max 1 (8 * C / B))) | |
| 1067 | - filter_upwards [hS, eventually_phaseError_le h hh] with n hn he | |
| 1068 | - have hS1 : 1 ≤ ChartScales.S n := (le_max_left _ _).trans hn | |
| 1069 | - have hS0 : 0 < ChartScales.S n := lt_of_lt_of_le zero_lt_one hS1 | |
| 1070 | - have hthreshold : 8 * C / B ≤ ChartScales.S n := (le_max_right _ _).trans hn | |
| 1071 | - have hb := (div_le_iff₀ hB).mp hthreshold | |
| 1072 | - calc | |
| 1073 | - _ ≤ C * (4 / ChartScales.S n) := mul_le_mul_of_nonneg_left he hC | |
| 1074 | - _ = (4 * C) / ChartScales.S n := by ring | |
| 1075 | - _ ≤ B / 2 := (div_le_iff₀ hS0).mpr (by nlinarith only [hb]) | |
| 1076 | - | |
| 1077 | 964 | end NavierStokes.PhaseEstimates |
+0 −94 NavierStokes/PhaseJetBounds.lean View file
| @@ -462,19 +462,6 @@ section Phase | ||
| 462 | 462 | |
| 463 | 463 | variable {ι : Type*} |
| 464 | 464 | |
| 465 | -/-- Uniform normalized base-field jets are a sufficient input. The bound is | |
| 466 | -on the base field itself, before any normal or frame is constructed. -/ | |
| 467 | -theorem polynomialJets_of_uniform {E F : Type*} | |
| 468 | - [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] | |
| 469 | - {D : Domain ι E} {f : ι → E → F} | |
| 470 | - (hf : ∀ i, ContDiffOn ℝ ∞ (f i) (D.carrier i)) | |
| 471 | - (hbound : ∀ N : ℕ, ∃ C : ℝ, 1 ≤ C ∧ | |
| 472 | - ∀ i, JetBounds.FiniteJetBound N (f i) (D.carrier i) C) : PolynomialJets D f := by | |
| 473 | - refine ⟨hf, ?_⟩ | |
| 474 | - intro N | |
| 475 | - obtain ⟨C, hC, hc⟩ := hbound N | |
| 476 | - exact ⟨C, hC, 0, by simpa only [pow_zero, mul_one] using hc⟩ | |
| 477 | - | |
| 478 | 465 | noncomputable def Domain.slot (D : Domain ι Slow) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) : |
| 479 | 466 | Domain ι (Slow × ℝ) where |
| 480 | 467 | scale := D.scale |
| @@ -952,17 +939,6 @@ theorem PhaseFamily.frameData_jets_of_phase_comparison | ||
| 952 | 939 | exact frameJets_ofNormalLocal hn hd (hF.lift_slot V hV) hg hl hh hq hνj |
| 953 | 940 | hb hb hnlow hnup hhlow hhup |
| 954 | 941 | |
| 955 | -/-- Direct output in the fixed-slot format used by the ODE jet theorem. | |
| 956 | -The coefficient is the actual `FrameData.coefficient`, not a comparison ODE. -/ | |
| 957 | -theorem FrameJets.coefficient_parameter_bounds | |
| 958 | - {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 959 | - {D : Domain ι (Q × ℝ)} {d : ι → PrimaryODE.FrameData Q} | |
| 960 | - (hd : FrameJets D d) (j : ℤ) (N : ℕ) : | |
| 961 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ m : ℕ, ∀ i p v, (p, v) ∈ D.carrier i → | |
| 962 | - ∀ k ≤ N, ‖iteratedFDeriv ℝ k (fun q => (d i).coefficient j (q, v)) p‖ ≤ | |
| 963 | - C * D.scale i ^ m := | |
| 964 | - (hd.coefficient j).parameter_bound N | |
| 965 | - | |
| 966 | 942 | end Assembly |
| 967 | 943 | |
| 968 | 944 | section BandChoices |
| @@ -970,76 +946,6 @@ section BandChoices | ||
| 970 | 946 | variable {ι E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 971 | 947 | variable {D : Domain ι E} |
| 972 | 948 | |
| 973 | -/-- The genuine nonzero angular rounding preserves uniform boundedness. | |
| 974 | -It is constant in the chart variables even when it jumps across labels. -/ | |
| 975 | -theorem rounded_frequency_jets (k target : ι → ℝ) {M : ℝ} (hM : 1 ≤ M) | |
| 976 | - (hk : ∀ i, 1 ≤ k i) (ht : ∀ i, |target i| ≤ M) : | |
| 977 | - PolynomialJets D (fun i _ => PhaseEstimates.roundedFrequency (k i) (target i)) := by | |
| 978 | - apply PolynomialJets.const_uniform _ (show 1 ≤ M + 1 by linarith) | |
| 979 | - intro i | |
| 980 | - have hkpos : 0 < k i := lt_of_lt_of_le zero_lt_one (hk i) | |
| 981 | - have herr := PhaseEstimates.roundedFrequency_error hkpos (target i) | |
| 982 | - have hinv : 1 / k i ≤ 1 := (div_le_one hkpos).mpr (hk i) | |
| 983 | - have hsum := abs_add_le (PhaseEstimates.roundedFrequency (k i) (target i) - target i) (target i) | |
| 984 | - rw [sub_add_cancel] at hsum | |
| 985 | - rw [Real.norm_eq_abs] | |
| 986 | - linarith [ht i] | |
| 987 | - | |
| 988 | -/-- With the actual carrier choice, the fundamental viscosity factor is a | |
| 989 | -uniformly bounded label constant. Thus no factor k is lost in slow jets. -/ | |
| 990 | -theorem band_viscosity_jets (band : ι → ℕ) (h : ℝ) (hh : 0 ≤ h) : | |
| 991 | - PolynomialJets D (fun i _ => ChartScales.epsilon h (band i) * | |
| 992 | - (ChartScales.carrier h (band i) : ℝ) ^ 2) := by | |
| 993 | - apply PolynomialJets.const_uniform _ (by norm_num : (1 : ℝ) ≤ 4) | |
| 994 | - intro i | |
| 995 | - obtain ⟨hl, hu⟩ := ChartScales.carrier_viscosity_bounds h hh (band i) | |
| 996 | - rw [Real.norm_eq_abs, abs_of_nonneg (le_trans zero_le_one hl)] | |
| 997 | - exact hu | |
| 998 | - | |
| 999 | -theorem band_epsilon_jets (band : ι → ℕ) (h : ℝ) (hh : 0 ≤ h) : | |
| 1000 | - PolynomialJets D (fun i _ => ChartScales.epsilon h (band i)) := by | |
| 1001 | - apply PolynomialJets.const_uniform _ (le_refl (1 : ℝ)) | |
| 1002 | - intro i | |
| 1003 | - rw [Real.norm_eq_abs, abs_of_pos (ChartScales.epsilon_pos h (band i))] | |
| 1004 | - exact ChartScales.epsilon_le_one h hh (band i) | |
| 1005 | - | |
| 1006 | -theorem band_rounded_frequency_jets (band : ι → ℕ) (h : ℝ) (target : ι → ℝ) | |
| 1007 | - {M : ℝ} (hM : 1 ≤ M) (ht : ∀ i, |target i| ≤ M) : | |
| 1008 | - PolynomialJets D (fun i _ => PhaseEstimates.roundedFrequency | |
| 1009 | - (ChartScales.carrier h (band i) : ℝ) (target i)) := by | |
| 1010 | - apply rounded_frequency_jets _ target hM _ ht | |
| 1011 | - intro i | |
| 1012 | - have hp : 0 < (ChartScales.carrier h (band i) : ℝ) := | |
| 1013 | - Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h (band i)) | |
| 1014 | - have hp' : 0 < ChartScales.carrier h (band i) := by exact_mod_cast hp | |
| 1015 | - exact_mod_cast hp' | |
| 1016 | - | |
| 1017 | -/-- A direct domain constructor with the manuscript's S(n)=n². -/ | |
| 1018 | -noncomputable def Domain.ofBands (band : ι → ℕ) (hband : ∀ i, 1 ≤ band i) | |
| 1019 | - (U : ι → Set E) (hU : ∀ i, IsOpen (U i)) : Domain ι E where | |
| 1020 | - scale i := ChartScales.S (band i) | |
| 1021 | - carrier := U | |
| 1022 | - isOpen := hU | |
| 1023 | - one_le_scale i := by | |
| 1024 | - have h : (1 : ℝ) ≤ band i := by exact_mod_cast hband i | |
| 1025 | - dsimp [ChartScales.S] | |
| 1026 | - nlinarith | |
| 1027 | - | |
| 1028 | -omit [NormedSpace ℝ E] in | |
| 1029 | -/-- The reference logarithmic-rate input follows from a lower slot-length | |
| 1030 | -bound. In particular `ChartScales.slotLength_bounds` gives c=2r₀. -/ | |
| 1031 | -theorem normalized_slot_rate_le {S ell u c M : ℝ} (hS : 0 < S) (hc : 0 < c) | |
| 1032 | - (hell : c * S ≤ ell) (hu : |u| ≤ M) : |u / ell| * S ≤ M / c := by | |
| 1033 | - have hellpos : 0 < ell := lt_of_lt_of_le (mul_pos hc hS) hell | |
| 1034 | - have hM : 0 ≤ M := (abs_nonneg u).trans hu | |
| 1035 | - rw [abs_div, abs_of_pos hellpos] | |
| 1036 | - apply (le_div_iff₀ hc).mpr | |
| 1037 | - rw [div_mul_eq_mul_div, div_mul_eq_mul_div] | |
| 1038 | - apply (div_le_iff₀ hellpos).mpr | |
| 1039 | - have h1 := mul_le_mul_of_nonneg_right hu (mul_nonneg hS.le hc.le) | |
| 1040 | - have h2 := mul_le_mul_of_nonneg_left hell hM | |
| 1041 | - nlinarith | |
| 1042 | - | |
| 1043 | 949 | end BandChoices |
| 1044 | 950 | |
| 1045 | 951 | end NavierStokes.PhaseJetBounds |
+0 −15 NavierStokes/ReferenceBounds.lean View file
| @@ -282,21 +282,6 @@ theorem p1_equation {p : Point} (hp : p ∈ D.carrier) (hX : 0 < p.1) | ||
| 282 | 282 | (1 + logSlope P p) * P.angularLag h p) / NaturalAxisData.L h p.2 := by ring |
| 283 | 283 | _ = _ := by rw [hQ] |
| 284 | 284 | |
| 285 | -theorem ns_equation {p : Point} (hp : p ∈ D.carrier) (hX : p.1 ≠ 0) (h : ℝ) : | |
| 286 | - p.1 * deriv (fun x => ns P h (x, p.2)) p.1 + ns P h p = | |
| 287 | - P.axialSource h p / NaturalAxisData.L h p.2 := by | |
| 288 | - have hN := P.axialLag_equation h hp hX | |
| 289 | - have hNd := P.axialLag_hasDerivAt h hp hX | |
| 290 | - have hd := hNd.div_const (NaturalAxisData.L h p.2) | |
| 291 | - rw [show deriv (fun x => ns P h (x, p.2)) p.1 = | |
| 292 | - deriv (fun x => P.axialLag h (x, p.2)) p.1 / NaturalAxisData.L h p.2 by | |
| 293 | - simpa only [ns, ← hNd.deriv] using hd.deriv] | |
| 294 | - unfold ns | |
| 295 | - calc | |
| 296 | - _ = (p.1 * deriv (fun x => P.axialLag h (x, p.2)) p.1 + P.axialLag h p) / | |
| 297 | - NaturalAxisData.L h p.2 := by ring | |
| 298 | - _ = _ := by rw [hN] | |
| 299 | - | |
| 300 | 285 | theorem lower_comparison_preserves {X a L b q : ℝ} |
| 301 | 286 | (ha : 0 < a) (haX : a ≤ X) (hL : 0 < L) (hq : 0 ≤ q) (hqa : b * L ≤ q * a) : |
| 302 | 287 | b ≤ b * a / X + q / (2 * L) * (X - a ^ 2 / X) := by |
+0 −292 NavierStokes/ReferenceEndpointRate.lean View file
| @@ -15,296 +15,4 @@ variable {h j σ Λ : ℝ} {P0 : ℝ → ℝ} | ||
| 15 | 15 | (d : AnalyticInputs h j σ P0) (hΛ : 0 < Λ) (hP0 : ContDiff ℝ ∞ P0) |
| 16 | 16 | (hs : NaturalAxisRange.Parameters h j) |
| 17 | 17 | |
| 18 | -/-- The same stock-driven continuation, on the full printed numerical range. -/ | |
| 19 | -def reference (q : Choice d Λ) : StockReference parameterInterval where | |
| 20 | - exponent := h | |
| 21 | - radius0 := (q.input hΛ).endpoint | |
| 22 | - radius0_pos := (q.input hΛ).endpoint_pos | |
| 23 | - domain := (q.input hΛ).radialDomain | |
| 24 | - profiles := q.profiles hΛ hP0 | |
| 25 | - log_mem := fun y _ hη => StressActivation.FromReference.log_radius_mem (q.input hΛ) y hη | |
| 26 | - f_pos := fun y _ hη => (q.input hΛ).refF_pos q.δ | |
| 27 | - (StressActivation.FromReference.log_radius_mem (q.input hΛ) y hη) | |
| 28 | - (mul_pos (q.input hΛ).endpoint_pos (Real.exp_pos _)).le | |
| 29 | - L_ne_zero := fun η hη => (lt_of_lt_of_le (by norm_num : (0:ℝ)<4879/5000) | |
| 30 | - (AppendixJoiningResults.axis_L_lower_bound_window hs.h_pos.le hs.h_le | |
| 31 | - ⟨hη.1.le,hη.2.le⟩)).ne' | |
| 32 | - | |
| 33 | -theorem reference_eq_ofNatural (hs' : NaturalAxisData.SmallParameters h j) (q : Choice d Λ) : | |
| 34 | - reference d hΛ hP0 hs q = | |
| 35 | - ofNatural q.profile.family hΛ hs' q.δ_pos q.δ_lt hP0 := rfl | |
| 36 | - | |
| 37 | -theorem reference_radius (q : Choice d Λ) : | |
| 38 | - (reference d hΛ hP0 hs q).radius0 = 4/Λ := rfl | |
| 39 | - | |
| 40 | -theorem reference_finalTime (q : Choice d Λ) : | |
| 41 | - (reference d hΛ hP0 hs q).finalTime = Real.log (110/(4/Λ)) := rfl | |
| 42 | - | |
| 43 | -theorem reference_initialU (q : Choice d Λ) : | |
| 44 | - (reference d hΛ hP0 hs q).initialU = fun η => q.profile.family.U (4/Λ,η) := by | |
| 45 | - funext η | |
| 46 | - exact (q.input hΛ).refU_eq_natural_initial q.δ le_rfl | |
| 47 | - | |
| 48 | -theorem reference_initialU_error (q : Choice d Λ) (n : ℕ) {η : ℝ} (hη : η ∈ J) : | |
| 49 | - |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).initialU ξ - NaturalAxisData.U j ξ) η| ≤ | |
| 50 | - ReferenceJetBounds.jetConstant d.coefficients 0 n / Λ := by | |
| 51 | - rw [reference_initialU] | |
| 52 | - have hY : Λ*(4/Λ) = 4 := by field_simp | |
| 53 | - rw [naturalU_error_jet d q.profile (by rw [hY]; norm_num) (original_interval_interior hη) n, | |
| 54 | - abs_mul, abs_of_pos (one_div_pos.mpr hΛ)] | |
| 55 | - have hb := (ReferenceJetBounds.coefficient_jet_bound d.coefficients q.profile.coefficients | |
| 56 | - q.profile.norm_ball 0 n (p := (Λ*(4/Λ),η)) (by rw [hY]; norm_num)).2 | |
| 57 | - convert! mul_le_mul_of_nonneg_left hb (one_div_nonneg.mpr hΛ.le) using 1 | |
| 58 | - ring | |
| 59 | - | |
| 60 | -theorem radius_final_interval {J' : Set ℝ} (R : StockReference J') {t : ℝ} | |
| 61 | - (ht : t ≤ R.finalTime) : radius R.radius0 t ∈ Ioc (0:ℝ) 110 := by | |
| 62 | - refine ⟨mul_pos R.radius0_pos (Real.exp_pos t),?_⟩ | |
| 63 | - have he := Real.exp_le_exp.mpr ht | |
| 64 | - rw [StockReference.finalTime, Real.exp_log (div_pos (by norm_num) R.radius0_pos)] at he | |
| 65 | - have hm := mul_le_mul_of_nonneg_left he R.radius0_pos.le | |
| 66 | - simpa only [radius,mul_div_cancel₀ _ R.radius0_pos.ne'] using hm | |
| 67 | - | |
| 68 | -/-- One stock bound is chosen before every admissible amplitude and reference width. -/ | |
| 69 | -theorem exists_reference_axialStock_bound (hσ : 0 < σ) | |
| 70 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 71 | - (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ n ≤ N, | |
| 72 | - ∀ t ≤ (reference d hΛ hP0 hs q).finalTime, ∀ η ∈ J, | |
| 73 | - |parameterJet n (reference d hΛ hP0 hs q).axialStock (t,η)| ≤ B := by | |
| 74 | - obtain ⟨B,hB,hb⟩ := (uniform_axialFormula d hΛ hP0 hs hσ hscale N | |
| 75 | - (by norm_num : (0:ℝ)≤110)).2 | |
| 76 | - refine ⟨B,hB,?_⟩ | |
| 77 | - intro q n hn t ht η hη | |
| 78 | - let R := reference d hΛ hP0 hs q | |
| 79 | - let X := radius R.radius0 t | |
| 80 | - have hX := radius_final_interval R ht | |
| 81 | - have hm (ξ : ℝ) (hξ : ξ ∈ parameterInterval) : (X,ξ) ∈ R.domain.carrier := R.log_mem t ξ hξ | |
| 82 | - have he : (fun ξ => R.axialStock (t,ξ)) =ᶠ[𝓝 η] | |
| 83 | - (fun ξ => axialFormula R.profiles h (X,ξ)) := by | |
| 84 | - filter_upwards [parameterInterval_open.mem_nhds (original_interval_interior hη)] with ξ hξ | |
| 85 | - exact (axialFormula_eq R.profiles h (hm ξ hξ) hX.1).symm | |
| 86 | - rw [parameterJet_eq_iteratedDeriv parameterInterval_open (R.axialStock_smooth parameterInterval_open) | |
| 87 | - n (original_interval_interior hη), he.iteratedDeriv_eq n] | |
| 88 | - have hsl : ∀ ξ ∈ J, ContDiffAt ℝ ∞ (fun ξ => axialFormula R.profiles h (X,ξ)) ξ := by | |
| 89 | - intro ξ hξ | |
| 90 | - have he' : (fun z => axialFormula R.profiles h (X,z)) =ᶠ[𝓝 ξ] | |
| 91 | - (fun z => R.axialStock (t,z)) := by | |
| 92 | - filter_upwards [parameterInterval_open.mem_nhds (original_interval_interior hξ)] with z hz | |
| 93 | - exact axialFormula_eq R.profiles h (hm z hz) hX.1 | |
| 94 | - exact (slice_smoothAt (logDomain parameterInterval parameterInterval_open) | |
| 95 | - (R.axialStock_smooth parameterInterval_open) ⟨mem_univ _,original_interval_interior hξ⟩).congr_of_eventuallyEq he' | |
| 96 | - exact (bound_iff_jets hsl).mp (hb (q,⟨X,hX.1.le,hX.2⟩)) n hn η hη | |
| 97 | - | |
| 98 | -/-- The endpoint integral has a linear control cost for any actual stock reference. -/ | |
| 99 | -theorem endpoint_error_from_stock {J' : Set ℝ} (hJ : IsOpen J') | |
| 100 | - (R : StockReference J') {g : ℝ → ℝ} (hg : ContDiffOn ℝ ∞ g J') | |
| 101 | - {T κ w η M I : ℝ} (hT : 0 < T) (hκ : κ ∈ Icc (0:ℝ) 1) | |
| 102 | - (hfinal : 0 ≤ R.finalTime) (hη : η ∈ J') (hM : 0 ≤ M) (n : ℕ) | |
| 103 | - (hi : |iteratedDeriv n (fun ξ => R.initialU ξ-g ξ) η| ≤ I) | |
| 104 | - (hb : ∀ t ∈ Icc (0:ℝ) R.finalTime, |parameterJet n R.axialStock (t,η)| ≤ M) : | |
| 105 | - |iteratedDeriv n (fun ξ => R.endpointU T κ w ξ-g ξ) η| ≤ I+M*(T+κ*R.finalTime) := by | |
| 106 | - apply jet_transfer n | |
| 107 | - (((R.endpointU_smooth hJ T κ w).contDiffAt (hJ.mem_nhds hη)).sub | |
| 108 | - (hg.contDiffAt (hJ.mem_nhds hη))) | |
| 109 | - (((R.initialU_smooth hJ).contDiffAt (hJ.mem_nhds hη)).sub | |
| 110 | - (hg.contDiffAt (hJ.mem_nhds hη))) | |
| 111 | - · have he : (fun ξ => (R.endpointU T κ w ξ-g ξ)-(R.initialU ξ-g ξ)) = | |
| 112 | - fun ξ => R.axialVelocity T κ w (R.finalTime,ξ)-R.initialU ξ := by | |
| 113 | - funext ξ | |
| 114 | - simp only [StockReference.endpointU] | |
| 115 | - ring | |
| 116 | - rw [he] | |
| 117 | - exact axialField_jet_error_bound hJ (R.axialStock_smooth hJ) R.initialU | |
| 118 | - hT hκ hfinal hη hM n hb | |
| 119 | - · exact hi | |
| 120 | - | |
| 121 | -/-- The joining constant is chosen before amplitude and before all smaller widths. | |
| 122 | -The natural coefficient constant displayed on the right does not depend on `Λ`. -/ | |
| 123 | -theorem exists_linear_jet_constant (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) | |
| 124 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 125 | - (N : ℕ) : ∃ Cjoin, 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, | |
| 126 | - ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → | |
| 127 | - ∀ n ≤ N, ∀ η ∈ J, | |
| 128 | - |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- | |
| 129 | - NaturalAxisData.U j ξ) η| ≤ ReferenceJetBounds.jetConstant d.coefficients 0 n/Λ + | |
| 130 | - Cjoin*(T+κ+w₁+w₂) := by | |
| 131 | - obtain ⟨B,hB,hb⟩ := exists_reference_axialStock_bound d hΛ hP0 hs hσ hscale N | |
| 132 | - let Y := Real.log (110/(4/Λ)) | |
| 133 | - refine ⟨B*(1+|Y|), mul_nonneg hB (by positivity),?_⟩ | |
| 134 | - intro q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη | |
| 135 | - let R := reference d hΛ hP0 hs q | |
| 136 | - have hR4 : R.radius0 ≤ 4 := by | |
| 137 | - change 4/Λ ≤ 4 | |
| 138 | - exact (div_le_iff₀ hΛ).mpr (by nlinarith) | |
| 139 | - have hfinal : 0 ≤ R.finalTime := by | |
| 140 | - apply Real.log_nonneg | |
| 141 | - exact (le_div_iff₀ R.radius0_pos).mpr (by linarith) | |
| 142 | - have hres := endpoint_error_from_stock parameterInterval_open R (uStar_smooth j).contDiffOn (w := w₁) | |
| 143 | - hT hκ hfinal (original_interval_interior hη) hB n | |
| 144 | - (reference_initialU_error d hΛ hP0 hs q n hη) | |
| 145 | - (fun t ht => hb q n hn t ht.2 η hη) | |
| 146 | - have hsum : T+κ*Y ≤ (1+|Y|)*(T+κ+w₁+w₂) := by | |
| 147 | - have h1 := mul_nonneg (abs_nonneg Y) hT.le | |
| 148 | - have h2 := mul_le_mul_of_nonneg_left (le_abs_self Y) hκ.1 | |
| 149 | - have h3 := mul_nonneg (by positivity : 0 ≤ 1+|Y|) (add_nonneg hw₁ hw₂) | |
| 150 | - nlinarith [hκ.1] | |
| 151 | - apply hres.trans | |
| 152 | - exact add_le_add le_rfl ((mul_le_mul_of_nonneg_left hsum hB).trans_eq (by ring)) | |
| 153 | - | |
| 154 | -/-- All orders through `N` share one natural constant chosen before `Λ`, and | |
| 155 | -one joining constant chosen before amplitude and the transition widths. -/ | |
| 156 | -theorem exists_linear_Ck_constants (hσ : 0 < σ) (N : ℕ) : | |
| 157 | - ∃ Cnat, 0 ≤ Cnat ∧ ∀ Λ, ∀ hΛ : 0 < Λ, 1 ≤ Λ → | |
| 158 | - AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → | |
| 159 | - ∃ Cjoin, 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, | |
| 160 | - ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → | |
| 161 | - ∀ n ≤ N, ∀ η ∈ J, | |
| 162 | - |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- | |
| 163 | - NaturalAxisData.U j ξ) η| ≤ Cnat/Λ+Cjoin*(T+κ+w₁+w₂) := by | |
| 164 | - obtain ⟨Cnat,hCnat,hcn⟩ := finite_majorant | |
| 165 | - (fun n => ReferenceJetBounds.jetConstant d.coefficients 0 n) N | |
| 166 | - refine ⟨Cnat,zero_le_one.trans hCnat,?_⟩ | |
| 167 | - intro Λ hΛ hΛ1 hscale | |
| 168 | - obtain ⟨Cjoin,hCjoin,hcj⟩ := exists_linear_jet_constant d hΛ hP0 hs hΛ1 hσ hscale N | |
| 169 | - refine ⟨Cjoin,hCjoin,?_⟩ | |
| 170 | - intro q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη | |
| 171 | - exact (hcj q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη).trans | |
| 172 | - (add_le_add (div_le_div_of_nonneg_right (hcn n hn) hΛ.le) le_rfl) | |
| 173 | - | |
| 174 | -theorem exists_reference_angularStock_bound (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) | |
| 175 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 176 | - (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ n ≤ N, | |
| 177 | - ∀ t ∈ Icc (0:ℝ) (reference d hΛ hP0 hs q).finalTime, ∀ η ∈ J, | |
| 178 | - |parameterJet n (reference d hΛ hP0 hs q).angularStock (t,η)| ≤ B := by | |
| 179 | - have ha : 0 < 4/Λ := div_pos (by norm_num) hΛ | |
| 180 | - have haR : 4/Λ ≤ (110:ℝ) := (div_le_iff₀ hΛ).mpr (by nlinarith) | |
| 181 | - obtain ⟨B,hB,hb⟩ := (uniform_reference_quantities d hΛ hP0 hs hσ hscale N ha haR).2.2.1.2 | |
| 182 | - refine ⟨B,hB,?_⟩ | |
| 183 | - intro q n hn t ht η hη | |
| 184 | - let R := reference d hΛ hP0 hs q | |
| 185 | - let X := radius R.radius0 t | |
| 186 | - have hX := radius_final_interval R ht.2 | |
| 187 | - have hXa : 4/Λ ≤ X := by | |
| 188 | - have hm := mul_le_mul_of_nonneg_left (Real.one_le_exp ht.1) R.radius0_pos.le | |
| 189 | - change R.radius0 ≤ R.radius0*Real.exp t | |
| 190 | - simpa only [mul_one] using hm | |
| 191 | - rw [parameterJet_eq_iteratedDeriv parameterInterval_open (R.angularStock_smooth parameterInterval_open) | |
| 192 | - n (original_interval_interior hη)] | |
| 193 | - have hj := (bound_iff_jets (k := N) (B := B) (fun ξ hξ => slice_smoothAt | |
| 194 | - (logDomain parameterInterval parameterInterval_open) (R.angularStock_smooth parameterInterval_open) | |
| 195 | - (X := t) (η := ξ) ⟨mem_univ _,original_interval_interior hξ⟩)).mp | |
| 196 | - exact hj (hb (q,⟨X,hXa,hX.2⟩)) n hn η hη | |
| 197 | - | |
| 198 | -/-- A uniform stock bound controls every logarithmic endpoint jet, including order zero. -/ | |
| 199 | -theorem logarithmic_error_from_stock {J' : Set ℝ} (hJ : IsOpen J') | |
| 200 | - (R : StockReference J') {T κ w₁ w₂ η M : ℝ} (hκ : κ ∈ Icc (0:ℝ) 1) | |
| 201 | - (hfinal : 0 ≤ R.finalTime) (hη : η ∈ J') (hM : 0 ≤ M) (n : ℕ) | |
| 202 | - (hb : ∀ t ∈ Icc (0:ℝ) R.finalTime, |parameterJet n R.angularStock (t,η)| ≤ M) : | |
| 203 | - |iteratedDeriv n (fun ξ => R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) η| ≤ | |
| 204 | - (M+1)*R.finalTime := by | |
| 205 | - rw [StockReference.logAmplitude,logField,integrate_error_jet hJ R.initialLog | |
| 206 | - (angularSlope_smooth T κ R.bigTime w₁ w₂ hJ (R.angularStock_smooth hJ)) n R.finalTime hη] | |
| 207 | - have hi := integral_norm_bound hfinal (F := fun t => | |
| 208 | - parameterJet n (angularSlope T κ R.bigTime w₁ w₂ R.angularStock) (t,η)) (M := M+1) (by | |
| 209 | - intro t ht | |
| 210 | - rw [parameterJet_angularSlope hJ (R.angularStock_smooth hJ) T κ R.bigTime w₁ w₂ n hη] | |
| 211 | - have hs := step_mem (R.bigTime+w₁) w₂ t | |
| 212 | - have hd := damping_mem T hκ t | |
| 213 | - have hz := (controlled_product_bound (a := 1-step (R.bigTime+w₁) w₂ t) | |
| 214 | - (by constructor <;> linarith [hs.1,hs.2]) | |
| 215 | - hd.1 hM (hb t ht)).trans (mul_le_of_le_one_left hM hd.2) | |
| 216 | - have hf : |if n=0 then (2/5:ℝ)*step (R.bigTime+w₁) w₂ t else 0| ≤ 1 := by | |
| 217 | - split_ifs | |
| 218 | - · rw [abs_of_nonneg (mul_nonneg (by norm_num) hs.1)] | |
| 219 | - linarith [hs.2] | |
| 220 | - · norm_num | |
| 221 | - exact (abs_sub _ _).trans (add_le_add hz hf)) | |
| 222 | - simpa only [sub_zero] using hi | |
| 223 | - | |
| 224 | -/-- The normalized logarithmic endpoint envelope is uniform before amplitude and | |
| 225 | -all transition widths, without requiring a separately assumed small-control bound. -/ | |
| 226 | -theorem exists_endpointLog_bound (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) | |
| 227 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 228 | - (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ T κ w₁ w₂ : ℝ, | |
| 229 | - κ ∈ Icc (0:ℝ) 1 → ∀ n ≤ N, ∀ η ∈ J, | |
| 230 | - |iteratedDeriv n ((reference d hΛ hP0 hs q).endpointLog T κ w₁ w₂ q.C) η| ≤ B := by | |
| 231 | - obtain ⟨M,hM,hm⟩ := exists_reference_angularStock_bound d hΛ hP0 hs hΛ1 hσ hscale N | |
| 232 | - obtain ⟨B,hB,hb⟩ := exists_normalizedReferenceLog_jets d hΛ hσ hscale N | |
| 233 | - let Y := Real.log (110/(4/Λ)) | |
| 234 | - let c := Real.log 220/2 | |
| 235 | - refine ⟨B+(|c|+(M+1)*|Y|),by positivity,?_⟩ | |
| 236 | - intro q T κ w₁ w₂ hκ n hn η hη | |
| 237 | - let R := reference d hΛ hP0 hs q | |
| 238 | - let L := fun ξ => Real.log q.C+R.initialLog ξ | |
| 239 | - have hL : ContDiffOn ℝ ∞ L parameterInterval := | |
| 240 | - contDiffOn_const.add (R.initialLog_smooth parameterInterval_open) | |
| 241 | - have hLbound : |iteratedDeriv n L η| ≤ B := | |
| 242 | - hb q.C q.C_pos q.profile q.δ q.δ_pos q.δ_lt (4/Λ) | |
| 243 | - (div_nonneg (by norm_num) hΛ.le) n hn η hη | |
| 244 | - have hR4 : R.radius0 ≤ 4 := by | |
| 245 | - change 4/Λ ≤ 4 | |
| 246 | - exact (div_le_iff₀ hΛ).mpr (by nlinarith) | |
| 247 | - have hfinal : 0 ≤ R.finalTime := by | |
| 248 | - apply Real.log_nonneg | |
| 249 | - exact (le_div_iff₀ R.radius0_pos).mpr (by linarith) | |
| 250 | - have herr := logarithmic_error_from_stock parameterInterval_open R | |
| 251 | - (T := T) (w₁ := w₁) (w₂ := w₂) hκ hfinal (original_interval_interior hη) hM n | |
| 252 | - (fun t ht => hm q n hn t ht η hη) | |
| 253 | - apply jet_transfer n | |
| 254 | - ((R.endpointLog_smooth parameterInterval_open T κ w₁ w₂ q.C).contDiffAt | |
| 255 | - (parameterInterval_open.mem_nhds (original_interval_interior hη))) | |
| 256 | - (hL.contDiffAt (parameterInterval_open.mem_nhds (original_interval_interior hη))) | |
| 257 | - · have he : (fun ξ => R.endpointLog T κ w₁ w₂ q.C ξ-L ξ) = | |
| 258 | - fun ξ => c+(R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) := by | |
| 259 | - funext ξ | |
| 260 | - dsimp [StockReference.endpointLog,L,c] | |
| 261 | - ring | |
| 262 | - rw [he] | |
| 263 | - have herr' : |iteratedDeriv n (fun ξ => R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) η| | |
| 264 | - ≤ (M+1)*|Y| := herr.trans (mul_le_mul_of_nonneg_left (le_abs_self Y) (by positivity)) | |
| 265 | - by_cases hn0 : n=0 | |
| 266 | - · subst n | |
| 267 | - simp only [iteratedDeriv_zero] at herr' ⊢ | |
| 268 | - exact (abs_add_le _ _).trans (add_le_add le_rfl herr') | |
| 269 | - · rw [iteratedDeriv_const_add (Nat.pos_of_ne_zero hn0)] | |
| 270 | - exact herr'.trans (le_add_of_nonneg_left (abs_nonneg c)) | |
| 271 | - · exact hLbound | |
| 272 | - | |
| 273 | -/-- The two conclusions of the current `join:scale-envelope` hold together for | |
| 274 | -one actual stock-driven continuation and one choice of constants in the printed order. -/ | |
| 275 | -theorem exists_entrance_envelope (hσ : 0 < σ) (N : ℕ) : | |
| 276 | - ∃ Cnat, 0 ≤ Cnat ∧ ∀ Λ, ∀ hΛ : 0 < Λ, 1 ≤ Λ → | |
| 277 | - AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → | |
| 278 | - ∃ B Cjoin, 0 ≤ B ∧ 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, | |
| 279 | - ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → | |
| 280 | - ∀ n ≤ N, ∀ η ∈ J, | |
| 281 | - |iteratedDeriv n ((reference d hΛ hP0 hs q).endpointLog T κ w₁ w₂ q.C) η| ≤ B ∧ | |
| 282 | - |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- | |
| 283 | - NaturalAxisData.U j ξ) η| ≤ Cnat/Λ+Cjoin*(T+κ+w₁+w₂) := by | |
| 284 | - obtain ⟨Cnat,hCnat,hcn⟩ := exists_linear_Ck_constants d hP0 hs hσ N | |
| 285 | - refine ⟨Cnat,hCnat,?_⟩ | |
| 286 | - intro Λ hΛ hΛ1 hscale | |
| 287 | - obtain ⟨Cjoin,hCjoin,hcj⟩ := hcn Λ hΛ hΛ1 hscale | |
| 288 | - obtain ⟨B,hB,hb⟩ := exists_endpointLog_bound d hΛ hP0 hs hΛ1 hσ hscale N | |
| 289 | - exact ⟨B,Cjoin,hB,hCjoin,fun q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη => | |
| 290 | - ⟨hb q T κ w₁ w₂ hκ n hn η hη,hcj q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη⟩⟩ | |
| 291 | - | |
| 292 | -/-- These endpoint functions are exactly the physical fields at `X_i = 110`. -/ | |
| 293 | -theorem endpointU_eq_physical {J' : Set ℝ} (R : StockReference J') | |
| 294 | - (hR : R.radius0 < 110) (T κ w η : ℝ) : | |
| 295 | - R.endpointU T κ w η = R.physicalU T κ w (110,η) := by | |
| 296 | - rw [StockReference.physicalU,ite_eq_right (not_le.mpr hR)] | |
| 297 | - rfl | |
| 298 | - | |
| 299 | -theorem endpointLog_eq_physical {J' : Set ℝ} (R : StockReference J') | |
| 300 | - (hR : R.radius0 < 110) (T κ w₁ w₂ : ℝ) {C : ℝ} (hC : 0 < C) (η : ℝ) : | |
| 301 | - R.endpointLog T κ w₁ w₂ C η = | |
| 302 | - Real.log (C*(Real.sqrt 220*R.physicalF T κ w₁ w₂ (110,η))) := by | |
| 303 | - rw [StockReference.physicalF,ite_eq_right (not_le.mpr hR)] | |
| 304 | - rw [Real.log_mul hC.ne' (mul_ne_zero (Real.sqrt_pos.mpr (by norm_num)).ne' (Real.exp_pos _).ne'), | |
| 305 | - Real.log_mul (Real.sqrt_pos.mpr (by norm_num)).ne' (Real.exp_pos _).ne', | |
| 306 | - Real.log_exp,Real.log_sqrt (by norm_num)] | |
| 307 | - simp only [StockReference.endpointLog,StockReference.logPoint,StockReference.logTime, | |
| 308 | - StockReference.finalTime,add_assoc] | |
| 309 | - | |
| 310 | 18 | end NavierStokes.ReferenceEndpointRate |
+0 −35 NavierStokes/ReferencePath.lean View file
| @@ -335,16 +335,6 @@ def rampLimit : ℝ := Real.log (41 / 40 : ℝ) | ||
| 335 | 335 | |
| 336 | 336 | theorem rampLimit_pos : 0 < rampLimit := Real.log_pos (by norm_num) |
| 337 | 337 | |
| 338 | -theorem exists_small_length {ε : ℝ} (hε : 0 < ε) : | |
| 339 | - ∃ δ : ℝ, 0 < δ ∧ 2 * δ < rampLimit ∧ δ < ε := by | |
| 340 | - have hT := rampLimit_pos | |
| 341 | - refine ⟨min (rampLimit / 4) (ε / 2), lt_min (by positivity) (by positivity), ?_, ?_⟩ | |
| 342 | - · have := min_le_left (rampLimit / 4) (ε / 2) | |
| 343 | - have := rampLimit_pos | |
| 344 | - linarith | |
| 345 | - · have := min_le_right (rampLimit / 4) (ε / 2) | |
| 346 | - linarith | |
| 347 | - | |
| 348 | 338 | /-- Only the proved natural-profile regularity and positivity are used in |
| 349 | 339 | constructing REF. The natural ODE is not replaced by a surrogate assumption. -/ |
| 350 | 340 | structure Input where |
| @@ -582,22 +572,6 @@ theorem refU_smooth {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) : | ||
| 582 | 572 | exact N.refU_eq_natural_initial δ hq.le |
| 583 | 573 | exact (hs.congr_of_eventuallyEq heq).contDiffWithinAt |
| 584 | 574 | |
| 585 | -theorem refF_frozen {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 586 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : N.endpoint * Real.exp (2 * δ) ≤ p.1) : | |
| 587 | - N.refF δ p = Real.exp (continuation δ N.logF (2 * δ, p.2)) := by | |
| 588 | - have hp : 0 < p.1 := (mul_pos N.endpoint_pos (Real.exp_pos _)).trans_le hX | |
| 589 | - rw [N.refF_eq_logtime hδ hδT hη hp, | |
| 590 | - continuation_frozen rampLimit_pos hδ hδT parameterInterval_open N.logF_smooth | |
| 591 | - (p := (N.logTime p.1, p.2)) hη ((N.le_logTime_iff hp).2 hX)] | |
| 592 | - | |
| 593 | -theorem refU_frozen {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 594 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : N.endpoint * Real.exp (2 * δ) ≤ p.1) : | |
| 595 | - N.refU δ p = continuation δ N.logU (2 * δ, p.2) := by | |
| 596 | - have hp : 0 < p.1 := (mul_pos N.endpoint_pos (Real.exp_pos _)).trans_le hX | |
| 597 | - rw [N.refU_eq_logtime hδ hδT hη hp, | |
| 598 | - continuation_frozen rampLimit_pos hδ hδT parameterInterval_open N.logU_smooth | |
| 599 | - (p := (N.logTime p.1, p.2)) hη ((N.le_logTime_iff hp).2 hX)] | |
| 600 | - | |
| 601 | 575 | /-- Actual pressure, moments, and lag variables are recomputed from REF. -/ |
| 602 | 576 | def histories {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) |
| 603 | 577 | (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) : ProfileHistories.Profiles N.radialDomain where |
| @@ -816,15 +790,6 @@ theorem freeze_before_Xbig (hscale : 1 ≤ N.scale) {δ : ℝ} (hδT : 2 * δ < | ||
| 816 | 790 | dsimp [Xbig] |
| 817 | 791 | linarith |
| 818 | 792 | |
| 819 | -/-- In particular the reference is already frozen throughout [100,110]. -/ | |
| 820 | -theorem frozen_through_Xi (hscale : 1 ≤ N.scale) {δ : ℝ} (hδ : 0 < δ) | |
| 821 | - (hδT : 2 * δ < rampLimit) {p : Point} (hη : p.2 ∈ parameterInterval) | |
| 822 | - (hX : p.1 ∈ Icc Xbig Xi) : | |
| 823 | - N.refF δ p = Real.exp (continuation δ N.logF (2 * δ, p.2)) ∧ | |
| 824 | - N.refU δ p = continuation δ N.logU (2 * δ, p.2) := by | |
| 825 | - have hfreeze := (N.freeze_before_Xbig hscale hδT).le.trans hX.1 | |
| 826 | - exact ⟨N.refF_frozen hδ hδT hη hfreeze, N.refU_frozen hδ hδT hη hfreeze⟩ | |
| 827 | - | |
| 828 | 793 | end Input |
| 829 | 794 | |
| 830 | 795 | end NavierStokes.ReferencePath |
+0 −388 NavierStokes/ReferenceUniformJets.lean View file
| @@ -10,400 +10,12 @@ namespace NavierStokes.ReferenceUniformJets | ||
| 10 | 10 | open Set Filter MeasureTheory ProfileHistories ReferencePath |
| 11 | 11 | open scoped Topology ContDiff |
| 12 | 12 | |
| 13 | -abbrev etaJet := TransitionRamp.parameterJet | |
| 14 | - | |
| 15 | -theorem etaJet_smooth (D : RadialDomain) {F : Field} | |
| 16 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (n : ℕ) : | |
| 17 | - ContDiffOn ℝ ∞ (etaJet n F) D.carrier := by | |
| 18 | - induction n with | |
| 19 | - | zero => exact hF | |
| 20 | - | succ n ih => exact parameterPartial_smooth D ih | |
| 21 | - | |
| 22 | -theorem etaJet_eq_iteratedDeriv (D : RadialDomain) {F : Field} | |
| 23 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (n : ℕ) {p : Point} (hp : p ∈ D.carrier) : | |
| 24 | - etaJet n F p = iteratedDeriv n (fun η => F (p.1, η)) p.2 := by | |
| 25 | - induction n generalizing p with | |
| 26 | - | zero => rfl | |
| 27 | - | succ n ih => | |
| 28 | - have he : (fun η => etaJet n F (p.1, η)) =ᶠ[𝓝 p.2] | |
| 29 | - iteratedDeriv n (fun η => F (p.1, η)) := by | |
| 30 | - filter_upwards [(continuousAt_const.prodMk continuousAt_id).eventually | |
| 31 | - (D.isOpen.mem_nhds hp)] with η hη | |
| 32 | - exact ih hη | |
| 33 | - change parameterPartial (etaJet n F) p = _ | |
| 34 | - rw [iteratedDeriv_succ] | |
| 35 | - exact (parameterPartial_hasDerivAt D (etaJet_smooth D hF n) hp).deriv.symm.trans he.deriv_eq | |
| 36 | - | |
| 37 | -theorem parameterPartial_congr_on (D : RadialDomain) {F G : Field} | |
| 38 | - (he : EqOn F G D.carrier) {p : Point} (hp : p ∈ D.carrier) : | |
| 39 | - parameterPartial F p = parameterPartial G p := by | |
| 40 | - have hh : F =ᶠ[𝓝 p] G := by | |
| 41 | - filter_upwards [D.isOpen.mem_nhds hp] with q hq | |
| 42 | - exact he hq | |
| 43 | - exact congrArg (fun A : Point →L[ℝ] ℝ => A (0, 1)) hh.fderiv_eq | |
| 44 | - | |
| 45 | -theorem etaJet_congr_on (D : RadialDomain) {F G : Field} | |
| 46 | - (he : EqOn F G D.carrier) (n : ℕ) {p : Point} (hp : p ∈ D.carrier) : | |
| 47 | - etaJet n F p = etaJet n G p := by | |
| 48 | - induction n generalizing p with | |
| 49 | - | zero => exact he hp | |
| 50 | - | succ n ih => exact parameterPartial_congr_on D (fun p hp => ih hp) hp | |
| 51 | - | |
| 52 | -theorem etaJet_primitive (D : RadialDomain) {F : Field} | |
| 53 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (n : ℕ) {p : Point} (hp : p ∈ D.carrier) : | |
| 54 | - etaJet n (primitive F) p = primitive (etaJet n F) p := by | |
| 55 | - induction n generalizing p with | |
| 56 | - | zero => rfl | |
| 57 | - | succ n ih => | |
| 58 | - change parameterPartial (etaJet n (primitive F)) p = _ | |
| 59 | - rw [parameterPartial_congr_on D (fun q hq => ih hq) hp, | |
| 60 | - parameterPartial_primitive D (etaJet_smooth D hF n) hp] | |
| 61 | - rfl | |
| 62 | - | |
| 63 | -theorem etaJet_mul_radial (D : RadialDomain) {F : Field} {c : ℝ → ℝ} | |
| 64 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (hc : ContDiff ℝ ∞ c) | |
| 65 | - (n : ℕ) {p : Point} (hp : p ∈ D.carrier) : | |
| 66 | - etaJet n (fun q => c q.1 * F q) p = c p.1 * etaJet n F p := by | |
| 67 | - have hprod : ContDiffOn ℝ ∞ (fun q : Point => c q.1 * F q) D.carrier := | |
| 68 | - (hc.comp contDiff_fst).contDiffOn.mul hF | |
| 69 | - rw [etaJet_eq_iteratedDeriv D hprod n hp, etaJet_eq_iteratedDeriv D hF n hp] | |
| 70 | - exact iteratedDeriv_const_mul (c p.1) | |
| 71 | - (((hF.contDiffAt (D.isOpen.mem_nhds hp)).comp p.2 | |
| 72 | - (contDiffAt_const.prodMk contDiffAt_id)).of_le (TransitionRamp.nat_le_infty n)) | |
| 73 | - | |
| 74 | -theorem etaJet_sub (D : RadialDomain) {F G : Field} | |
| 75 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (hG : ContDiffOn ℝ ∞ G D.carrier) | |
| 76 | - (n : ℕ) {p : Point} (hp : p ∈ D.carrier) : | |
| 77 | - etaJet n (fun q => F q - G q) p = etaJet n F p - etaJet n G p := by | |
| 78 | - rw [etaJet_eq_iteratedDeriv D (hF.sub hG) n hp, | |
| 79 | - etaJet_eq_iteratedDeriv D hF n hp, etaJet_eq_iteratedDeriv D hG n hp] | |
| 80 | - exact iteratedDeriv_sub | |
| 81 | - (((hF.contDiffAt (D.isOpen.mem_nhds hp)).comp p.2 | |
| 82 | - (contDiffAt_const.prodMk contDiffAt_id)).of_le (TransitionRamp.nat_le_infty n)) | |
| 83 | - (((hG.contDiffAt (D.isOpen.mem_nhds hp)).comp p.2 | |
| 84 | - (contDiffAt_const.prodMk contDiffAt_id)).of_le (TransitionRamp.nat_le_infty n)) | |
| 85 | - | |
| 86 | -theorem slopeCutoff_antitone {δ : ℝ} (hδ : 0 < δ) : Antitone (slopeCutoff δ) := by | |
| 87 | - intro s t hst | |
| 88 | - have he := Real.smoothTransition.monotone | |
| 89 | - (div_le_div_of_nonneg_right (sub_le_sub_right hst δ) hδ.le) | |
| 90 | - unfold slopeCutoff | |
| 91 | - linarith | |
| 92 | - | |
| 93 | -theorem slopeCutoff_deriv_nonpos {δ : ℝ} (hδ : 0 < δ) (t : ℝ) : | |
| 94 | - deriv (slopeCutoff δ) t ≤ 0 := (slopeCutoff_antitone hδ).deriv_nonpos | |
| 95 | - | |
| 96 | -/-- The prescribed same-radius ODE has a positive averaging representation. -/ | |
| 97 | -theorem continuation_parts {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 98 | - {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 99 | - (hG : ContDiffOn ℝ ∞ G (earlyStrip T hT J hJ).carrier) | |
| 100 | - {p : Point} (hp : p ∈ (earlyStrip T hT J hJ).carrier) : | |
| 101 | - continuation δ G p = slopeCutoff δ p.1 * G p - | |
| 102 | - primitive (fun q => deriv (slopeCutoff δ) q.1 * G q) p := by | |
| 103 | - let D := earlyStrip T hT J hJ | |
| 104 | - have hmem (x : ℝ) (hx : x ∈ uIcc 0 p.1) : (x, p.2) ∈ D.carrier := D.segment_mem hp hx | |
| 105 | - have hc := slopeCutoff_smooth δ | |
| 106 | - have hdc : Continuous (deriv (slopeCutoff δ)) := hc.continuous_deriv (by simp) | |
| 107 | - have hg : ContinuousOn (fun x => G (x, p.2)) (uIcc 0 p.1) := | |
| 108 | - (radial_slice_continuous D hG p.2).mono hmem | |
| 109 | - have hgd : ContinuousOn (fun x => radialPartial G (x, p.2)) (uIcc 0 p.1) := | |
| 110 | - (radial_slice_continuous D (radialPartial_smooth D hG) p.2).mono hmem | |
| 111 | - have he := intervalIntegral.integral_mul_deriv_eq_deriv_mul_of_hasDerivAt | |
| 112 | - hc.continuous.continuousOn hg | |
| 113 | - (fun x _ => (hc.differentiable (by simp)).differentiableAt.hasDerivAt) | |
| 114 | - (fun x hx => radialPartial_hasDerivAt D hG (hmem x (Ioo_subset_Icc_self hx))) | |
| 115 | - (hdc.intervalIntegrable 0 p.1) (hgd.intervalIntegrable) | |
| 116 | - change G (0, p.2) + (∫ x in (0 : ℝ)..p.1, slopeCutoff δ x * radialPartial G (x, p.2)) = _ | |
| 117 | - rw [he, slopeCutoff_one hδ (by linarith : (0 : ℝ) ≤ δ)] | |
| 118 | - simp only [one_mul, primitive] | |
| 119 | - ring | |
| 120 | - | |
| 121 | -theorem continuation_etaJet_parts {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 122 | - {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 123 | - (hG : ContDiffOn ℝ ∞ G (earlyStrip T hT J hJ).carrier) | |
| 124 | - (n : ℕ) {p : Point} (hp : p ∈ (earlyStrip T hT J hJ).carrier) : | |
| 125 | - etaJet n (continuation δ G) p = slopeCutoff δ p.1 * etaJet n G p - | |
| 126 | - primitive (fun q => deriv (slopeCutoff δ) q.1 * etaJet n G q) p := by | |
| 127 | - let D := earlyStrip T hT J hJ | |
| 128 | - have hc := slopeCutoff_smooth δ | |
| 129 | - have hd : ContDiff ℝ ∞ (deriv (slopeCutoff δ)) := (contDiff_infty_iff_deriv.mp hc).2 | |
| 130 | - have hg : ContDiffOn ℝ ∞ (fun q : Point => deriv (slopeCutoff δ) q.1 * G q) D.carrier := | |
| 131 | - (hd.comp contDiff_fst).contDiffOn.mul hG | |
| 132 | - have hprod : ContDiffOn ℝ ∞ (fun q : Point => slopeCutoff δ q.1 * G q) D.carrier := by | |
| 133 | - simpa only [Function.comp_def] using (hc.comp contDiff_fst).contDiffOn.mul hG | |
| 134 | - rw [etaJet_congr_on D (fun q hq => continuation_parts hT hδ hJ hG hq) n hp, | |
| 135 | - etaJet_sub D hprod (primitive_smooth D hg) n hp, | |
| 136 | - etaJet_mul_radial D hG hc n hp, etaJet_primitive D hg n hp] | |
| 137 | - congr 1 | |
| 138 | - apply intervalIntegral.integral_congr | |
| 139 | - intro x hx | |
| 140 | - exact etaJet_mul_radial D hG hd n (D.segment_mem hp hx) | |
| 141 | - | |
| 142 | -/-- Parameter differentiation preserves the positive-average contraction. -/ | |
| 143 | -theorem continuation_etaJet_bound {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 144 | - {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 145 | - (hG : ContDiffOn ℝ ∞ G (earlyStrip T hT J hJ).carrier) | |
| 146 | - (n : ℕ) {p : Point} (hp : p ∈ (earlyStrip T hT J hJ).carrier) | |
| 147 | - (hp0 : 0 ≤ p.1) {B : ℝ} (_hB : 0 ≤ B) | |
| 148 | - (hb : ∀ x ∈ Icc (0 : ℝ) p.1, |etaJet n G (x, p.2)| ≤ B) : | |
| 149 | - |etaJet n (continuation δ G) p| ≤ B := by | |
| 150 | - rw [continuation_etaJet_parts hT hδ hJ hG n hp] | |
| 151 | - have hd := (slopeCutoff_smooth δ).continuous_deriv (by simp) | |
| 152 | - have hi : |primitive (fun q => deriv (slopeCutoff δ) q.1 * etaJet n G q) p| ≤ | |
| 153 | - (1 - slopeCutoff δ p.1) * B := by | |
| 154 | - have he := intervalIntegral.norm_integral_le_of_norm_le (μ := volume) hp0 | |
| 155 | - (f := fun x => deriv (slopeCutoff δ) x * etaJet n G (x, p.2)) | |
| 156 | - (g := fun x => -deriv (slopeCutoff δ) x * B) | |
| 157 | - (Eventually.of_forall (fun x hx => by | |
| 158 | - rw [Real.norm_eq_abs, abs_mul, abs_of_nonpos (slopeCutoff_deriv_nonpos hδ x)] | |
| 159 | - exact mul_le_mul_of_nonneg_left (hb x ⟨hx.1.le, hx.2⟩) | |
| 160 | - (neg_nonneg.mpr (slopeCutoff_deriv_nonpos hδ x)))) | |
| 161 | - ((hd.neg.mul continuous_const).intervalIntegrable 0 p.1) | |
| 162 | - rw [intervalIntegral.integral_mul_const, intervalIntegral.integral_neg, | |
| 163 | - intervalIntegral.integral_eq_sub_of_hasDerivAt | |
| 164 | - (fun x _ => ((slopeCutoff_smooth δ).differentiable (by simp)).differentiableAt.hasDerivAt) | |
| 165 | - (hd.intervalIntegrable 0 p.1), | |
| 166 | - slopeCutoff_one hδ (by linarith : (0 : ℝ) ≤ δ)] at he | |
| 167 | - simpa only [Real.norm_eq_abs, primitive, neg_sub] using he | |
| 168 | - calc | |
| 169 | - _ ≤ |slopeCutoff δ p.1 * etaJet n G p| + | |
| 170 | - |primitive (fun q => deriv (slopeCutoff δ) q.1 * etaJet n G q) p| := by | |
| 171 | - simpa only [Real.norm_eq_abs] using norm_sub_le | |
| 172 | - (slopeCutoff δ p.1 * etaJet n G p) | |
| 173 | - (primitive (fun q => deriv (slopeCutoff δ) q.1 * etaJet n G q) p) | |
| 174 | - _ ≤ slopeCutoff δ p.1 * B + (1 - slopeCutoff δ p.1) * B := by | |
| 175 | - apply add_le_add _ hi | |
| 176 | - rw [abs_mul, abs_of_nonneg (slopeCutoff_mem δ p.1).1] | |
| 177 | - exact mul_le_mul_of_nonneg_left (hb p.1 ⟨hp0, le_rfl⟩) (slopeCutoff_mem δ p.1).1 | |
| 178 | - _ = B := by ring | |
| 179 | - | |
| 180 | -/-- The reference continuation preserves additive constants exactly. -/ | |
| 181 | -theorem continuation_add_const (δ c : ℝ) (G : Field) (p : Point) : | |
| 182 | - continuation δ (fun q => c + G q) p = c + continuation δ G p := by | |
| 183 | - have hd : dampedSlope δ (fun q => c + G q) = dampedSlope δ G := by | |
| 184 | - funext q | |
| 185 | - simp only [dampedSlope, radialPartial, fderiv_const_add] | |
| 186 | - simp only [continuation, hd] | |
| 187 | - ring | |
| 188 | - | |
| 189 | -/-- The bound covers the entire frozen hold, with no width-dependent constant. -/ | |
| 190 | -theorem continuation_jet_bound {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 191 | - (hδT : 2 * δ < T) {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 192 | - (hG : ContDiffOn ℝ ∞ G (earlyStrip T hT J hJ).carrier) | |
| 193 | - (n : ℕ) {t η B : ℝ} (ht : 0 ≤ t) (hη : η ∈ J) (hB : 0 ≤ B) | |
| 194 | - (hb : ∀ s ∈ Icc (0 : ℝ) (2 * δ), | |
| 195 | - |iteratedDeriv n (fun ξ => G (s, ξ)) η| ≤ B) : | |
| 196 | - |iteratedDeriv n (fun ξ => continuation δ G (t, ξ)) η| ≤ B := by | |
| 197 | - have hs := continuation_smooth hT hδ hδT hJ hG | |
| 198 | - have hlocal (u : ℝ) (hu : u ∈ Icc (0 : ℝ) (2 * δ)) : | |
| 199 | - |iteratedDeriv n (fun ξ => continuation δ G (u, ξ)) η| ≤ B := by | |
| 200 | - rw [← etaJet_eq_iteratedDeriv (fullStrip J hJ) hs n (p := (u, η)) ⟨mem_univ _, hη⟩] | |
| 201 | - apply continuation_etaJet_bound hT hδ hJ hG n (p := (u, η)) ⟨hu.2.trans_lt hδT, hη⟩ hu.1 hB | |
| 202 | - intro s hs | |
| 203 | - rw [etaJet_eq_iteratedDeriv (earlyStrip T hT J hJ) hG n (p := (s, η)) | |
| 204 | - ⟨(hs.2.trans hu.2).trans_lt hδT, hη⟩] | |
| 205 | - exact hb s ⟨hs.1, hs.2.trans hu.2⟩ | |
| 206 | - by_cases hsmall : t ≤ 2 * δ | |
| 207 | - · exact hlocal t ⟨ht, hsmall⟩ | |
| 208 | - · have he : (fun ξ => continuation δ G (t, ξ)) =ᶠ[𝓝 η] | |
| 209 | - (fun ξ => continuation δ G (2 * δ, ξ)) := by | |
| 210 | - filter_upwards [hJ.mem_nhds hη] with ξ hξ | |
| 211 | - exact continuation_frozen hT hδ hδT hJ hG hξ (le_of_not_ge hsmall) | |
| 212 | - rw [he.iteratedDeriv_eq n] | |
| 213 | - exact hlocal (2 * δ) ⟨by positivity, le_rfl⟩ | |
| 214 | - | |
| 215 | 13 | section NaturalReference |
| 216 | 14 | |
| 217 | 15 | open NaturalProfile NaturalAxisCoefficients TransitionRamp |
| 218 | 16 | |
| 219 | 17 | variable {h j σ Λ : ℝ} {P0 : ℝ → ℝ} (d : AnalyticInputs h j σ P0) |
| 220 | 18 | |
| 221 | -theorem short_scaled_radius {s : ℝ} (_hs0 : 0 ≤ s) (hs : s < rampLimit) : | |
| 222 | - 4 * Real.exp s ∈ Icc (0 : ℝ) (41 / 10) := by | |
| 223 | - have he : Real.exp s < 41 / 40 := by | |
| 224 | - simpa only [rampLimit, Real.exp_log (by norm_num : (0 : ℝ) < 41 / 40)] using | |
| 225 | - Real.exp_lt_exp.mpr hs | |
| 226 | - constructor <;> nlinarith [Real.exp_pos s] | |
| 227 | - | |
| 228 | -/-- All axial parameter jets, including at the axis, use one bound chosen | |
| 229 | -before the normalization and valid for every admissible reference width. -/ | |
| 230 | -theorem exists_referenceU_jets (hΛ : 0 < Λ) (N : ℕ) : | |
| 231 | - ∃ B, 1 ≤ B ∧ ∀ C, ∀ E : NaturalEntrance.CoefficientProfile d Λ C, | |
| 232 | - ∀ δ, 0 < δ → 2 * δ < rampLimit → ∀ X, 0 ≤ X → ∀ n ≤ N, | |
| 233 | - ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 234 | - |iteratedDeriv n (fun ξ => (Input.ofNatural hΛ E.family).refU δ (X, ξ)) η| ≤ B := by | |
| 235 | - obtain ⟨B, hB, hb⟩ := exists_naturalU_jets d hΛ N | |
| 236 | - refine ⟨B, hB, ?_⟩ | |
| 237 | - intro C E δ hδ hδT X hX n hn η hη | |
| 238 | - let A := Input.ofNatural hΛ E.family | |
| 239 | - have hηJ := original_interval_interior hη | |
| 240 | - by_cases hXi : X ≤ A.endpoint | |
| 241 | - · have he : (fun ξ => A.refU δ (X, ξ)) = fun ξ => E.family.U (X, ξ) := | |
| 242 | - funext (fun ξ => A.refU_eq_natural_initial δ hXi) | |
| 243 | - rw [he] | |
| 244 | - apply hb C E X _ n hn η hη | |
| 245 | - have hu := mul_le_mul_of_nonneg_left hXi hΛ.le | |
| 246 | - have heq : Λ * A.endpoint = 4 := A.scale_endpoint | |
| 247 | - rw [heq] at hu | |
| 248 | - exact ⟨mul_nonneg hΛ.le hX, by linarith⟩ | |
| 249 | - · have hXp : 0 < X := A.endpoint_pos.trans (lt_of_not_ge hXi) | |
| 250 | - have ht : 0 ≤ A.logTime X := (A.le_logTime_iff hXp).mpr | |
| 251 | - (by simpa only [Real.exp_zero, mul_one] using (le_of_not_ge hXi)) | |
| 252 | - have he : (fun ξ => A.refU δ (X, ξ)) =ᶠ[𝓝 η] | |
| 253 | - (fun ξ => continuation δ A.logU (A.logTime X, ξ)) := by | |
| 254 | - filter_upwards [parameterInterval_open.mem_nhds hηJ] with ξ hξ | |
| 255 | - exact A.refU_eq_logtime hδ hδT hξ hXp | |
| 256 | - rw [he.iteratedDeriv_eq n] | |
| 257 | - apply continuation_jet_bound rampLimit_pos hδ hδT parameterInterval_open A.logU_smooth | |
| 258 | - n ht hηJ (zero_le_one.trans hB) | |
| 259 | - intro t ht | |
| 260 | - change |iteratedDeriv n (fun ξ => E.family.U (A.endpoint * Real.exp t, ξ)) η| ≤ B | |
| 261 | - apply hb C E _ _ n hn η hη | |
| 262 | - have heq : Λ * (A.endpoint * Real.exp t) = 4 * Real.exp t := by | |
| 263 | - rw [← mul_assoc, show Λ * A.endpoint = 4 from A.scale_endpoint] | |
| 264 | - rw [heq] | |
| 265 | - exact short_scaled_radius ht.1 (ht.2.trans_lt hδT) | |
| 266 | - | |
| 267 | -/-- The normalization cancels exactly in the logarithmic natural field. -/ | |
| 268 | -theorem normalized_natural_log_identity (hσ : 0 < σ) | |
| 269 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 270 | - {C : ℝ} (E : NaturalEntrance.CoefficientProfile d Λ C) (hC : 0 < C) | |
| 271 | - {X η : ℝ} (hX : Λ * X ∈ Icc (0 : ℝ) (41 / 10)) (hη : η ∈ parameterInterval) : | |
| 272 | - Real.log C + Real.log (E.family.f (X, η)) = normalizedNaturalLog d E (Λ * X) η := by | |
| 273 | - have hphi : 0 < AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1 (Λ * X, η) := | |
| 274 | - lt_trans (by norm_num) (NaturalEntrance.coefficient_phi_lower d.coefficients hσ | |
| 275 | - (NaturalEntrance.profileErrorConstant_nonneg d) hscale E.coefficients E.norm_error hX.1 hX.2 hη) | |
| 276 | - rw [natural_normalization_identity d E hC hphi, | |
| 277 | - Real.log_mul (inv_ne_zero hC.ne') (Real.exp_pos _).ne', Real.log_inv, Real.log_exp] | |
| 278 | - ring | |
| 279 | - | |
| 280 | -noncomputable def normalizedReferenceLog {C : ℝ} | |
| 281 | - (E : NaturalEntrance.CoefficientProfile d Λ C) (hΛ : 0 < Λ) (δ X η : ℝ) : ℝ := | |
| 282 | - Real.log C + Real.log ((Input.ofNatural hΛ E.family).refF δ (X, η)) | |
| 283 | - | |
| 284 | -theorem normalizedReferenceLog_smooth {C : ℝ} | |
| 285 | - (E : NaturalEntrance.CoefficientProfile d Λ C) (hΛ : 0 < Λ) | |
| 286 | - {δ X : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) (hX : 0 ≤ X) : | |
| 287 | - ContDiffOn ℝ ∞ (normalizedReferenceLog d E hΛ δ X) parameterInterval := by | |
| 288 | - let A := Input.ofNatural hΛ E.family | |
| 289 | - have hp (η : ℝ) (hη : η ∈ parameterInterval) : (X, η) ∈ A.radialDomain.carrier := | |
| 290 | - ⟨lt_of_lt_of_le (by norm_num) (mul_nonneg hΛ.le hX), hη⟩ | |
| 291 | - have hf : ContDiffOn ℝ ∞ (fun η => A.refF δ (X, η)) parameterInterval := | |
| 292 | - (A.refF_smooth hδ hδT).comp (contDiff_const.prodMk contDiff_id).contDiffOn hp | |
| 293 | - exact contDiffOn_const.add (hf.log (fun η hη => (A.refF_pos δ (hp η hη) hX).ne')) | |
| 294 | - | |
| 295 | -/-- Both upper and lower logarithmic bounds, in every fixed parameter jet, | |
| 296 | -are uniform before choosing `C` and over the entire allowed cutoff interval. -/ | |
| 297 | -theorem exists_normalizedReferenceLog_jets (hΛ : 0 < Λ) (hσ : 0 < σ) | |
| 298 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 299 | - (N : ℕ) : | |
| 300 | - ∃ B, 1 ≤ B ∧ ∀ C, 0 < C → ∀ E : NaturalEntrance.CoefficientProfile d Λ C, | |
| 301 | - ∀ δ, 0 < δ → 2 * δ < rampLimit → ∀ X, 0 ≤ X → ∀ n ≤ N, | |
| 302 | - ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 303 | - |iteratedDeriv n (normalizedReferenceLog d E hΛ δ X) η| ≤ B := by | |
| 304 | - obtain ⟨B, hB, hb⟩ := exists_normalized_natural_jets d hΛ hσ hscale N | |
| 305 | - refine ⟨B, hB, ?_⟩ | |
| 306 | - intro C hC E δ hδ hδT X hX n hn η hη | |
| 307 | - let A := Input.ofNatural hΛ E.family | |
| 308 | - have hηJ := original_interval_interior hη | |
| 309 | - by_cases hXi : X ≤ A.endpoint | |
| 310 | - · have hY : Λ * X ∈ Icc (0 : ℝ) (41 / 10) := by | |
| 311 | - have hu := mul_le_mul_of_nonneg_left hXi hΛ.le | |
| 312 | - rw [show Λ * A.endpoint = 4 from A.scale_endpoint] at hu | |
| 313 | - exact ⟨mul_nonneg hΛ.le hX, by linarith⟩ | |
| 314 | - have he : normalizedReferenceLog d E hΛ δ X =ᶠ[𝓝 η] normalizedNaturalLog d E (Λ * X) := by | |
| 315 | - filter_upwards [parameterInterval_open.mem_nhds hηJ] with ξ hξ | |
| 316 | - unfold normalizedReferenceLog | |
| 317 | - rw [A.refF_eq_natural_initial δ hXi] | |
| 318 | - exact normalized_natural_log_identity d hσ hscale E hC hY hξ | |
| 319 | - rw [he.iteratedDeriv_eq n] | |
| 320 | - exact hb C E (Λ * X) hY n hn η hη | |
| 321 | - · have hXp : 0 < X := A.endpoint_pos.trans (lt_of_not_ge hXi) | |
| 322 | - have ht : 0 ≤ A.logTime X := (A.le_logTime_iff hXp).mpr | |
| 323 | - (by simpa only [Real.exp_zero, mul_one] using (le_of_not_ge hXi)) | |
| 324 | - let G : ProfileHistories.Field := fun p => Real.log C + A.logF p | |
| 325 | - have hG : ContDiffOn ℝ ∞ G (earlyStrip rampLimit rampLimit_pos parameterInterval parameterInterval_open).carrier := | |
| 326 | - contDiffOn_const.add A.logF_smooth | |
| 327 | - have he : normalizedReferenceLog d E hΛ δ X =ᶠ[𝓝 η] | |
| 328 | - (fun ξ => continuation δ G (A.logTime X, ξ)) := by | |
| 329 | - filter_upwards [parameterInterval_open.mem_nhds hηJ] with ξ hξ | |
| 330 | - unfold normalizedReferenceLog | |
| 331 | - rw [A.refF_eq_logtime hδ hδT hξ hXp, Real.log_exp] | |
| 332 | - exact (continuation_add_const δ (Real.log C) A.logF _).symm | |
| 333 | - rw [he.iteratedDeriv_eq n] | |
| 334 | - apply continuation_jet_bound rampLimit_pos hδ hδT parameterInterval_open hG n ht hηJ | |
| 335 | - (zero_le_one.trans hB) | |
| 336 | - intro s hs | |
| 337 | - have hY := short_scaled_radius hs.1 (hs.2.trans_lt hδT) | |
| 338 | - have heq : Λ * (A.endpoint * Real.exp s) = 4 * Real.exp s := by | |
| 339 | - rw [← mul_assoc, show Λ * A.endpoint = 4 from A.scale_endpoint] | |
| 340 | - have he : (fun ξ => G (s, ξ)) =ᶠ[𝓝 η] normalizedNaturalLog d E (4 * Real.exp s) := by | |
| 341 | - filter_upwards [parameterInterval_open.mem_nhds hηJ] with ξ hξ | |
| 342 | - change Real.log C + Real.log (E.family.f (A.endpoint * Real.exp s, ξ)) = _ | |
| 343 | - rw [normalized_natural_log_identity d hσ hscale E hC (heq ▸ hY) hξ, heq] | |
| 344 | - rw [he.iteratedDeriv_eq n] | |
| 345 | - exact hb C E (4 * Real.exp s) hY n hn η hη | |
| 346 | - | |
| 347 | - | |
| 348 | -theorem normalizedReferenceF_identity {C : ℝ} | |
| 349 | - (E : NaturalEntrance.CoefficientProfile d Λ C) (hΛ : 0 < Λ) (hC : 0 < C) | |
| 350 | - (δ : ℝ) {X η : ℝ} (hX : 0 ≤ X) (hη : η ∈ parameterInterval) : | |
| 351 | - C * (Input.ofNatural hΛ E.family).refF δ (X, η) = | |
| 352 | - Real.exp (normalizedReferenceLog d E hΛ δ X η) := by | |
| 353 | - let A := Input.ofNatural hΛ E.family | |
| 354 | - have hp : (X, η) ∈ A.radialDomain.carrier := | |
| 355 | - ⟨lt_of_lt_of_le (by norm_num) (mul_nonneg hΛ.le hX), hη⟩ | |
| 356 | - rw [normalizedReferenceLog, Real.exp_add, Real.exp_log hC, | |
| 357 | - Real.exp_log (A.refF_pos δ hp hX)] | |
| 358 | - | |
| 359 | -/-- Normalized angular fields and their reciprocals have uniform all-order | |
| 360 | -parameter bounds, including on the natural part of the reference. -/ | |
| 361 | -theorem exists_normalizedReferenceF_jets (hΛ : 0 < Λ) (hσ : 0 < σ) | |
| 362 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 363 | - (N : ℕ) : | |
| 364 | - ∃ K, 1 ≤ K ∧ ∀ C, 0 < C → ∀ E : NaturalEntrance.CoefficientProfile d Λ C, | |
| 365 | - ∀ δ, 0 < δ → 2 * δ < rampLimit → ∀ X, 0 ≤ X → ∀ n ≤ N, | |
| 366 | - ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 367 | - |iteratedDeriv n (fun ξ => C * (Input.ofNatural hΛ E.family).refF δ (X, ξ)) η| ≤ K ∧ | |
| 368 | - |iteratedDeriv n (fun ξ => (C * (Input.ofNatural hΛ E.family).refF δ (X, ξ))⁻¹) η| ≤ K := by | |
| 369 | - obtain ⟨B, hB, hb⟩ := exists_normalizedReferenceLog_jets d hΛ hσ hscale N | |
| 370 | - obtain ⟨K, hK, hk⟩ := finite_majorant (fun n => n.factorial * Real.exp B * B ^ n) N | |
| 371 | - refine ⟨K, hK, ?_⟩ | |
| 372 | - intro C hC E δ hδ hδT X hX n hn η hη | |
| 373 | - let A := Input.ofNatural hΛ E.family | |
| 374 | - let L := normalizedReferenceLog d E hΛ δ X | |
| 375 | - have hηJ := original_interval_interior hη | |
| 376 | - have hL := normalizedReferenceLog_smooth d E hΛ hδ hδT hX | |
| 377 | - have hLb (i : ℕ) (hi : i ≤ n) : |iteratedDeriv i L η| ≤ B := | |
| 378 | - hb C hC E δ hδ hδT X hX i (hi.trans hn) η hη | |
| 379 | - have he : (fun ξ => C * A.refF δ (X, ξ)) =ᶠ[𝓝 η] (fun ξ => Real.exp (L ξ)) := by | |
| 380 | - filter_upwards [parameterInterval_open.mem_nhds hηJ] with ξ hξ | |
| 381 | - exact normalizedReferenceF_identity d E hΛ hC δ hX hξ | |
| 382 | - have hi : (fun ξ => (C * A.refF δ (X, ξ))⁻¹) =ᶠ[𝓝 η] (fun ξ => Real.exp (-L ξ)) := by | |
| 383 | - filter_upwards [he] with ξ hξ | |
| 384 | - rw [hξ, Real.exp_neg] | |
| 385 | - constructor | |
| 386 | - · rw [he.iteratedDeriv_eq n] | |
| 387 | - exact (exp_jet_bound_local parameterInterval_open hL hηJ n hB hLb).trans (hk n hn) | |
| 388 | - · rw [hi.iteratedDeriv_eq n] | |
| 389 | - exact (exp_jet_bound_local parameterInterval_open hL.neg hηJ n hB | |
| 390 | - (fun i hi => by simpa only [iteratedDeriv_fun_neg, abs_neg] using hLb i hi)).trans (hk n hn) | |
| 391 | - | |
| 392 | -/-- The unnormalized angular field has its actual `C⁻¹` scale, uniformly | |
| 393 | -through the reference cutoff and the arbitrarily long frozen hold. -/ | |
| 394 | -theorem referenceF_jet_of_normalized {C δ X η K : ℝ} | |
| 395 | - (E : NaturalEntrance.CoefficientProfile d Λ C) (hΛ : 0 < Λ) (hC : 0 < C) | |
| 396 | - (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) (hX : 0 ≤ X) | |
| 397 | - (hη : η ∈ parameterInterval) (n : ℕ) | |
| 398 | - (hb : |iteratedDeriv n (fun ξ => C * (Input.ofNatural hΛ E.family).refF δ (X, ξ)) η| ≤ K) : | |
| 399 | - |iteratedDeriv n (fun ξ => (Input.ofNatural hΛ E.family).refF δ (X, ξ)) η| ≤ K / C := by | |
| 400 | - let A := Input.ofNatural hΛ E.family | |
| 401 | - have hp : (X, η) ∈ A.radialDomain.carrier := | |
| 402 | - ⟨lt_of_lt_of_le (by norm_num) (mul_nonneg hΛ.le hX), hη⟩ | |
| 403 | - have hs := ((A.refF_smooth hδ hδT).contDiffAt (A.radialDomain.isOpen.mem_nhds hp)).comp η | |
| 404 | - (contDiffAt_const.prodMk contDiffAt_id) | |
| 405 | - rw [iteratedDeriv_const_mul_field, abs_mul, abs_of_pos hC] at hb | |
| 406 | - exact (le_div_iff₀ hC).mpr (by simpa only [mul_comm] using hb) | |
| 407 | 19 | |
| 408 | 20 | end NaturalReference |
| 409 | 21 | |
+0 −415 NavierStokes/ReferenceUniformStocks.lean View file
| @@ -11,190 +11,12 @@ open Set Filter MeasureTheory ProfileHistories ReferencePath | ||
| 11 | 11 | open ReferenceUniformJets ClosedIntervalJetAlgebra |
| 12 | 12 | open scoped Topology ContDiff |
| 13 | 13 | |
| 14 | -/-- A family of smooth parameter functions with one bound for all its members. -/ | |
| 15 | -def Uniform {ι : Type*} (k : ℕ) (F : ι → ℝ → ℝ) : Prop := | |
| 16 | - (∀ i, ContDiffOn ℝ ∞ (F i) J) ∧ ∃ B, 0 ≤ B ∧ ∀ i, Bound k (F i) B | |
| 17 | - | |
| 18 | 14 | namespace Uniform |
| 19 | 15 | |
| 20 | 16 | variable {ι κ : Type*} {k : ℕ} {F G : ι → ℝ → ℝ} |
| 21 | 17 | |
| 22 | -theorem reindex (hF : Uniform k F) (r : κ → ι) : Uniform k (fun i => F (r i)) := | |
| 23 | - ⟨fun i => hF.1 (r i), by obtain ⟨B,hB,hb⟩ := hF.2; exact ⟨B,hB,fun i => hb (r i)⟩⟩ | |
| 24 | - | |
| 25 | -theorem of_le (hF : Uniform k F) {n : ℕ} (hn : n ≤ k) : Uniform n F := | |
| 26 | - ⟨hF.1, by obtain ⟨B,hB,hb⟩ := hF.2; exact ⟨B,hB,fun i => (hb i).of_le hn⟩⟩ | |
| 27 | - | |
| 28 | -theorem const (c : ℝ) : Uniform k (fun _ : ι => fun _ : ℝ => c) := | |
| 29 | - ⟨fun _ => contDiffOn_const, |c|, abs_nonneg c, fun _ => Bound.const k c⟩ | |
| 30 | - | |
| 31 | -theorem id : Uniform k (fun _ : ι => fun η : ℝ => η) := | |
| 32 | - ⟨fun _ => contDiffOn_id, 1, zero_le_one, fun _ => Bound.id k⟩ | |
| 33 | - | |
| 34 | -theorem parameter (c : ι → ℝ) {B : ℝ} (hB : 0 ≤ B) (hb : ∀ i, |c i| ≤ B) : | |
| 35 | - Uniform k (fun i => fun _ : ℝ => c i) := | |
| 36 | - ⟨fun _ => contDiffOn_const, B, hB, fun i => (Bound.const k (c i)).mono (hb i)⟩ | |
| 37 | - | |
| 38 | -theorem add (hF : Uniform k F) (hG : Uniform k G) : | |
| 39 | - Uniform k (fun i η => F i η + G i η) := by | |
| 40 | - obtain ⟨B,hB,hb⟩ := hF.2 | |
| 41 | - obtain ⟨C,hC,hc⟩ := hG.2 | |
| 42 | - exact ⟨fun i => (hF.1 i).add (hG.1 i), B+C, add_nonneg hB hC, | |
| 43 | - fun i => (hb i).add (hF.1 i) (hG.1 i) (hc i)⟩ | |
| 44 | - | |
| 45 | -theorem sub (hF : Uniform k F) (hG : Uniform k G) : | |
| 46 | - Uniform k (fun i η => F i η - G i η) := by | |
| 47 | - obtain ⟨B,hB,hb⟩ := hF.2 | |
| 48 | - obtain ⟨C,hC,hc⟩ := hG.2 | |
| 49 | - exact ⟨fun i => (hF.1 i).sub (hG.1 i), B+C, add_nonneg hB hC, | |
| 50 | - fun i => (hb i).sub (hF.1 i) (hG.1 i) (hc i)⟩ | |
| 51 | - | |
| 52 | -theorem mul (hF : Uniform k F) (hG : Uniform k G) : | |
| 53 | - Uniform k (fun i η => F i η * G i η) := by | |
| 54 | - obtain ⟨B,hB,hb⟩ := hF.2 | |
| 55 | - obtain ⟨C,hC,hc⟩ := hG.2 | |
| 56 | - exact ⟨fun i => (hF.1 i).mul (hG.1 i), 2^k*B*C, | |
| 57 | - mul_nonneg (mul_nonneg (by positivity) hB) hC, | |
| 58 | - fun i => (hb i).mul (hF.1 i) (hG.1 i) (hc i)⟩ | |
| 59 | - | |
| 60 | -theorem neg (hF : Uniform k F) : Uniform k (fun i η => -F i η) := by | |
| 61 | - simpa only [zero_sub] using (const (ι := ι) (k := k) 0).sub hF | |
| 62 | - | |
| 63 | -theorem congr (hF : Uniform k F) (he : ∀ i, EqOn (G i) (F i) J) : Uniform k G := by | |
| 64 | - obtain ⟨B,hB,hb⟩ := hF.2 | |
| 65 | - exact ⟨fun i => (hF.1 i).congr (he i), B,hB,fun i => (hb i).congr (he i)⟩ | |
| 66 | - | |
| 67 | -theorem inverse (hF : Uniform k F) {μ : ℝ} (hμ : 0 < μ) | |
| 68 | - (hp : ∀ i η, η ∈ J → μ ≤ F i η) : Uniform k (fun i η => (F i η)⁻¹) := by | |
| 69 | - obtain ⟨B,hB,hb⟩ := hF.2 | |
| 70 | - obtain ⟨C,hC,hc⟩ := inverse_bound k μ B hμ | |
| 71 | - exact ⟨fun i => (hF.1 i).inv (fun η hη => (hμ.trans_le (hp i η hη)).ne'), | |
| 72 | - C,hC,fun i => hc _ (hF.1 i) (hp i) (hb i)⟩ | |
| 73 | - | |
| 74 | 18 | end Uniform |
| 75 | 19 | |
| 76 | -theorem bound_iff_jets {k : ℕ} {f : ℝ → ℝ} {B : ℝ} | |
| 77 | - (hf : ∀ η ∈ J, ContDiffAt ℝ ∞ f η) : | |
| 78 | - Bound k f B ↔ ∀ n ≤ k, ∀ η ∈ J, |iteratedDeriv n f η| ≤ B := by | |
| 79 | - constructor <;> intro hb n hn η hη | |
| 80 | - · have hh := hb n hn η hη | |
| 81 | - rw [iteratedFDerivWithin_eq_iteratedFDeriv uniqueDiff | |
| 82 | - ((hf η hη).of_le (TransitionRamp.nat_le_infty n)) hη, | |
| 83 | - norm_iteratedFDeriv_eq_norm_iteratedDeriv, Real.norm_eq_abs] at hh | |
| 84 | - exact hh | |
| 85 | - · rw [iteratedFDerivWithin_eq_iteratedFDeriv uniqueDiff | |
| 86 | - ((hf η hη).of_le (TransitionRamp.nat_le_infty n)) hη, | |
| 87 | - norm_iteratedFDeriv_eq_norm_iteratedDeriv, Real.norm_eq_abs] | |
| 88 | - exact hb n hn η hη | |
| 89 | - | |
| 90 | -theorem slice_smoothAt (D : RadialDomain) {F : Field} | |
| 91 | - (hF : ContDiffOn ℝ ∞ F D.carrier) {X η : ℝ} (hp : (X,η) ∈ D.carrier) : | |
| 92 | - ContDiffAt ℝ ∞ (fun ξ => F (X,ξ)) η := | |
| 93 | - (hF.contDiffAt (D.isOpen.mem_nhds hp)).comp η | |
| 94 | - (contDiffAt_const.prodMk contDiffAt_id) | |
| 95 | - | |
| 96 | -theorem primitive_bound (D : RadialDomain) {F : Field} | |
| 97 | - (hF : ContDiffOn ℝ ∞ F D.carrier) {k : ℕ} {X B : ℝ} (hX : 0 ≤ X) | |
| 98 | - (hmem : ∀ x ∈ Icc 0 X, ∀ η ∈ J, (x,η) ∈ D.carrier) | |
| 99 | - (hb : ∀ x ∈ Icc 0 X, Bound k (fun η => F (x,η)) B) : | |
| 100 | - Bound k (fun η => primitive F (X,η)) (B*X) := by | |
| 101 | - apply (bound_iff_jets (fun η hη => slice_smoothAt D (primitive_smooth D hF) | |
| 102 | - (hmem X ⟨hX,le_rfl⟩ η hη))).mpr | |
| 103 | - intro n hn η hη | |
| 104 | - rw [← etaJet_eq_iteratedDeriv D (primitive_smooth D hF) n | |
| 105 | - (hmem X ⟨hX,le_rfl⟩ η hη), etaJet_primitive D hF n (hmem X ⟨hX,le_rfl⟩ η hη)] | |
| 106 | - change |∫ x in (0 : ℝ)..X, etaJet n F (x,η)| ≤ B*X | |
| 107 | - have hi := intervalIntegral.norm_integral_le_of_norm_le_const (a := (0:ℝ)) (b := X) | |
| 108 | - (C := B) (f := fun x => etaJet n F (x,η)) (fun x hx => by | |
| 109 | - rw [uIoc_of_le hX] at hx | |
| 110 | - have hxx : x ∈ Icc 0 X := ⟨hx.1.le,hx.2⟩ | |
| 111 | - rw [Real.norm_eq_abs, etaJet_eq_iteratedDeriv D hF n (hmem x hxx η hη)] | |
| 112 | - exact (bound_iff_jets (fun ξ hξ => slice_smoothAt D hF (hmem x hxx ξ hξ))).mp | |
| 113 | - (hb x hxx) n hn η hη) | |
| 114 | - simpa only [Real.norm_eq_abs, sub_zero, abs_of_nonneg hX, mul_comm] using hi | |
| 115 | - | |
| 116 | -abbrev Slab (R : ℝ) := {X : ℝ // X ∈ Icc 0 R} | |
| 117 | - | |
| 118 | -abbrev FieldUniform {ι : Type*} (k : ℕ) (R : ℝ) (F : ι → Field) : Prop := | |
| 119 | - Uniform k (fun q : ι × Slab R => fun η => F q.1 (q.2,η)) | |
| 120 | - | |
| 121 | -theorem fieldUniform_primitive {ι : Type*} (D : ι → RadialDomain) {F : ι → Field} | |
| 122 | - (hF : ∀ i, ContDiffOn ℝ ∞ (F i) (D i).carrier) {k : ℕ} {R : ℝ} (hR : 0 ≤ R) | |
| 123 | - (hmem : ∀ i, ∀ X ∈ Icc 0 R, ∀ η ∈ J, (X,η) ∈ (D i).carrier) | |
| 124 | - (hb : FieldUniform k R F) : FieldUniform k R (fun i => primitive (F i)) := by | |
| 125 | - obtain ⟨B,hB,hb⟩ := hb.2 | |
| 126 | - refine ⟨fun q η hη => (slice_smoothAt (D q.1) (primitive_smooth (D q.1) (hF q.1)) | |
| 127 | - (hmem q.1 q.2 q.2.property η hη)).contDiffWithinAt, | |
| 128 | - B*R, mul_nonneg hB hR, ?_⟩ | |
| 129 | - intro q | |
| 130 | - exact (primitive_bound (D q.1) (hF q.1) q.2.property.1 | |
| 131 | - (fun X hX => hmem q.1 X ⟨hX.1,hX.2.trans q.2.property.2⟩) | |
| 132 | - (fun X hX => hb (q.1,⟨X,⟨hX.1,hX.2.trans q.2.property.2⟩⟩))).mono | |
| 133 | - (mul_le_mul_of_nonneg_left q.2.property.2 hB) | |
| 134 | - | |
| 135 | -theorem fieldUniform_partial {ι : Type*} (D : ι → RadialDomain) {F : ι → Field} | |
| 136 | - (hF : ∀ i, ContDiffOn ℝ ∞ (F i) (D i).carrier) {k : ℕ} {R : ℝ} | |
| 137 | - (hmem : ∀ i, ∀ X ∈ Icc 0 R, ∀ η ∈ J, (X,η) ∈ (D i).carrier) | |
| 138 | - (hb : FieldUniform (k+1) R F) : FieldUniform k R (fun i => parameterPartial (F i)) := by | |
| 139 | - obtain ⟨B,hB,hb⟩ := hb.2 | |
| 140 | - refine ⟨fun q η hη => (slice_smoothAt (D q.1) (parameterPartial_smooth (D q.1) (hF q.1)) | |
| 141 | - (hmem q.1 q.2 q.2.property η hη)).contDiffWithinAt, B,hB,?_⟩ | |
| 142 | - intro q | |
| 143 | - apply (hb q).derivWithin.congr | |
| 144 | - intro η hη | |
| 145 | - exact ((parameterPartial_hasDerivAt (D q.1) (hF q.1) | |
| 146 | - (hmem q.1 q.2 q.2.property η hη)).hasDerivWithinAt.derivWithin | |
| 147 | - (uniqueDiff η hη)).symm | |
| 148 | - | |
| 149 | -theorem uniform_smooth_fixed {ι : Type*} {g : ℝ → ℝ} | |
| 150 | - (hg : ContDiffOn ℝ ∞ g parameterInterval) (k : ℕ) : | |
| 151 | - Uniform k (fun _ : ι => g) := by | |
| 152 | - obtain ⟨B,hB,hb⟩ := TransitionRamp.compact_scalar_jets parameterInterval_open isCompact_Icc | |
| 153 | - NaturalAxisCoefficients.original_interval_interior hg k | |
| 154 | - refine ⟨fun _ => hg.mono NaturalAxisCoefficients.original_interval_interior,B,hB,fun _ => ?_⟩ | |
| 155 | - exact (bound_iff_jets (fun η hη => hg.contDiffAt | |
| 156 | - (parameterInterval_open.mem_nhds (NaturalAxisCoefficients.original_interval_interior hη)))).mpr hb | |
| 157 | - | |
| 158 | -theorem parameterPartial_const_mul (D : RadialDomain) {F : Field} | |
| 159 | - (hF : ContDiffOn ℝ ∞ F D.carrier) (c : ℝ) {p : Point} (hp : p ∈ D.carrier) : | |
| 160 | - parameterPartial (fun q => c*F q) p = c*parameterPartial F p := | |
| 161 | - (parameterPartial_hasDerivAt D (contDiffOn_const.mul hF) hp).unique | |
| 162 | - ((parameterPartial_hasDerivAt D hF hp).const_mul c) | |
| 163 | - | |
| 164 | -def axialFormula {D : RadialDomain} (P : Profiles D) (h : ℝ) (p : Point) : ℝ := | |
| 165 | - (-ActivationStocks.massFlux h p.1 p.2 (P.M p) (parameterPartial P.M p)*P.U p + | |
| 166 | - NaturalAxisData.D h*(P.M p-p.2*parameterPartial P.M p) + | |
| 167 | - 4*h*p.2*P.S p-NaturalAxisData.d p.2*parameterPartial P.S p + | |
| 168 | - p.1*(4*NaturalAxisData.A h*p.2*P.pressure p- | |
| 169 | - NaturalAxisData.d p.2*parameterPartial P.pressure p)) / NaturalAxisData.L h p.2 | |
| 170 | - | |
| 171 | -theorem axialFormula_eq {D : RadialDomain} (P : Profiles D) (h : ℝ) | |
| 172 | - {p : Point} (hp : p ∈ D.carrier) (hX : 0 < p.1) : | |
| 173 | - axialFormula P h p = p.1*P.axialLag h p/NaturalAxisData.L h p.2 := by | |
| 174 | - rw [axialFormula, P.axialLag_integrated h hp hX, | |
| 175 | - ← ActivationStocks.profile_massFlux P h hp] | |
| 176 | - dsimp only [StressAlgebra.axialExponent, StressAlgebra.velocityExponent, | |
| 177 | - StressAlgebra.coordinateFactor, NaturalAxisData.D, NaturalAxisData.A, NaturalAxisData.d] | |
| 178 | - congr 1 | |
| 179 | - field_simp | |
| 180 | - ring | |
| 181 | - | |
| 182 | -def angularNormalizedFormula {D : RadialDomain} (P : Profiles D) (h C : ℝ) (p : Point) : ℝ := | |
| 183 | - (-ActivationStocks.massFlux h p.1 p.2 (P.M p) (parameterPartial P.M p) + | |
| 184 | - ActivationStocks.angularRemainder h p.2 (C*P.I p) | |
| 185 | - (parameterPartial (fun q => C*P.I q) p) (C*P.J p) | |
| 186 | - (parameterPartial (fun q => C*P.J q) p) * (2*p.1)⁻¹ * (C*P.f p)⁻¹) / | |
| 187 | - NaturalAxisData.L h p.2 | |
| 188 | - | |
| 189 | -theorem angularNormalizedFormula_eq {D : RadialDomain} (P : Profiles D) (h C : ℝ) | |
| 190 | - {p : Point} (hp : p ∈ D.carrier) (hX : 0 < p.1) (hC : 0 < C) (hf : 0 < P.f p) : | |
| 191 | - angularNormalizedFormula P h C p = ActivationStocks.profileStockOne P h p := by | |
| 192 | - rw [ActivationStocks.profileStockOne_eq P h hp hX.ne' hf.ne', angularNormalizedFormula, | |
| 193 | - parameterPartial_const_mul D P.I_smooth C hp, parameterPartial_const_mul D P.J_smooth C hp] | |
| 194 | - unfold ActivationStocks.stockOne ActivationStocks.angularRemainder | |
| 195 | - congr 2 | |
| 196 | - field_simp | |
| 197 | - | |
| 198 | 20 | section ActualReference |
| 199 | 21 | |
| 200 | 22 | open NaturalProfile |
| @@ -215,247 +37,10 @@ namespace Choice | ||
| 215 | 37 | |
| 216 | 38 | variable {d} |
| 217 | 39 | |
| 218 | -def input (hΛ : 0 < Λ) (q : Choice d Λ) : Input := Input.ofNatural hΛ q.profile.family | |
| 219 | - | |
| 220 | -def profiles (hΛ : 0 < Λ) (hP0 : ContDiff ℝ ∞ P0) (q : Choice d Λ) : | |
| 221 | - Profiles (q.input hΛ).radialDomain := | |
| 222 | - (q.input hΛ).histories q.δ_pos q.δ_lt P0 hP0 | |
| 223 | - | |
| 224 | -theorem mem (hΛ : 0 < Λ) (q : Choice d Λ) {X η : ℝ} (hX : 0 ≤ X) | |
| 225 | - (hη : η ∈ J) : (X,η) ∈ (q.input hΛ).radialDomain.carrier := | |
| 226 | - ⟨lt_of_lt_of_le (by norm_num) (mul_nonneg hΛ.le hX), NaturalAxisCoefficients.original_interval_interior hη⟩ | |
| 227 | - | |
| 228 | -theorem C_pos (q : Choice d Λ) : 0 < q.C := zero_lt_one.trans_le q.C_ge_one | |
| 229 | - | |
| 230 | 40 | end Choice |
| 231 | 41 | |
| 232 | 42 | variable (hΛ : 0 < Λ) (hP0 : ContDiff ℝ ∞ P0) |
| 233 | 43 | |
| 234 | -theorem uniform_refU (k : ℕ) (R : ℝ) : | |
| 235 | - FieldUniform k R (fun q : Choice d Λ => (q.profiles hΛ hP0).U) := by | |
| 236 | - obtain ⟨B,hB,hb⟩ := exists_referenceU_jets d hΛ k | |
| 237 | - refine ⟨fun q η hη => (slice_smoothAt _ (q.1.profiles hΛ hP0).U_smooth | |
| 238 | - (q.1.mem hΛ q.2.property.1 hη)).contDiffWithinAt, B,zero_le_one.trans hB,?_⟩ | |
| 239 | - intro q | |
| 240 | - apply (bound_iff_jets (fun η hη => slice_smoothAt _ (q.1.profiles hΛ hP0).U_smooth | |
| 241 | - (q.1.mem hΛ q.2.property.1 hη))).mpr | |
| 242 | - intro n hn η hη | |
| 243 | - exact hb q.1.C q.1.profile q.1.δ q.1.δ_pos q.1.δ_lt q.2 q.2.property.1 n hn η hη | |
| 244 | - | |
| 245 | -theorem uniform_refF_normalized (hσ : 0 < σ) | |
| 246 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 247 | - (k : ℕ) (R : ℝ) : | |
| 248 | - FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(q.profiles hΛ hP0).f p) ∧ | |
| 249 | - FieldUniform k R (fun q : Choice d Λ => fun p => (q.C*(q.profiles hΛ hP0).f p)⁻¹) := by | |
| 250 | - obtain ⟨B,hB,hb⟩ := exists_normalizedReferenceF_jets d hΛ hσ hscale k | |
| 251 | - have hs (q : Choice d Λ × Slab R) (η : ℝ) (hη : η ∈ J) : | |
| 252 | - ContDiffAt ℝ ∞ (fun ξ => q.1.C*(q.1.profiles hΛ hP0).f (q.2,ξ)) η := | |
| 253 | - contDiffAt_const.mul (slice_smoothAt _ (q.1.profiles hΛ hP0).f_smooth | |
| 254 | - (q.1.mem hΛ q.2.property.1 hη)) | |
| 255 | - have hp (q : Choice d Λ × Slab R) (η : ℝ) (hη : η ∈ J) : | |
| 256 | - 0 < q.1.C*(q.1.profiles hΛ hP0).f (q.2,η) := | |
| 257 | - mul_pos q.1.C_pos ((q.1.input hΛ).refF_pos _ (q.1.mem hΛ q.2.property.1 hη) q.2.property.1) | |
| 258 | - constructor | |
| 259 | - · refine ⟨fun q η hη => (hs q η hη).contDiffWithinAt,B,zero_le_one.trans hB,?_⟩ | |
| 260 | - intro q | |
| 261 | - apply (bound_iff_jets (hs q)).mpr | |
| 262 | - intro n hn η hη | |
| 263 | - exact (hb q.1.C q.1.C_pos q.1.profile q.1.δ q.1.δ_pos q.1.δ_lt q.2 q.2.property.1 n hn η hη).1 | |
| 264 | - · refine ⟨fun q η hη => ((hs q η hη).inv (hp q η hη).ne').contDiffWithinAt, | |
| 265 | - B,zero_le_one.trans hB,?_⟩ | |
| 266 | - intro q | |
| 267 | - apply (bound_iff_jets (fun η hη => (hs q η hη).inv (hp q η hη).ne')).mpr | |
| 268 | - intro n hn η hη | |
| 269 | - exact (hb q.1.C q.1.C_pos q.1.profile q.1.δ q.1.δ_pos q.1.δ_lt q.2 q.2.property.1 n hn η hη).2 | |
| 270 | - | |
| 271 | -theorem uniform_refF (hσ : 0 < σ) | |
| 272 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 273 | - (k : ℕ) (R : ℝ) : FieldUniform k R (fun q : Choice d Λ => (q.profiles hΛ hP0).f) := by | |
| 274 | - have hi : Uniform k (fun q : Choice d Λ × Slab R => fun _ : ℝ => q.1.C⁻¹) := | |
| 275 | - Uniform.parameter _ zero_le_one (fun q => by | |
| 276 | - rw [abs_of_pos (inv_pos.mpr q.1.C_pos)] | |
| 277 | - exact inv_le_one_of_one_le₀ q.1.C_ge_one) | |
| 278 | - exact (hi.mul (uniform_refF_normalized d hΛ hP0 hσ hscale k R).1).congr | |
| 279 | - (fun q η _ => by field_simp [q.1.C_pos.ne']) | |
| 280 | - | |
| 281 | -theorem uniform_radius {ι : Type*} (k : ℕ) {R : ℝ} (hR : 0 ≤ R) : | |
| 282 | - Uniform k (fun q : ι × Slab R => fun _ : ℝ => (q.2 : ℝ)) := | |
| 283 | - Uniform.parameter _ hR (fun q => by rw [abs_of_nonneg q.2.property.1]; exact q.2.property.2) | |
| 284 | - | |
| 285 | -theorem uniform_ref_histories (hσ : 0 < σ) | |
| 286 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 287 | - (k : ℕ) {R : ℝ} (hR : 0 ≤ R) : | |
| 288 | - FieldUniform k R (fun q : Choice d Λ => (q.profiles hΛ hP0).M) ∧ | |
| 289 | - FieldUniform k R (fun q : Choice d Λ => (q.profiles hΛ hP0).S) ∧ | |
| 290 | - FieldUniform k R (fun q : Choice d Λ => (q.profiles hΛ hP0).pressure) ∧ | |
| 291 | - FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(q.profiles hΛ hP0).I p) ∧ | |
| 292 | - FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(q.profiles hΛ hP0).J p) := by | |
| 293 | - let D := fun q : Choice d Λ => (q.input hΛ).radialDomain | |
| 294 | - let P := fun q : Choice d Λ => q.profiles hΛ hP0 | |
| 295 | - have hm : ∀ q, ∀ X ∈ Icc 0 R, ∀ η ∈ J, (X,η) ∈ (D q).carrier := | |
| 296 | - fun q X hX η hη => q.mem hΛ hX.1 hη | |
| 297 | - have hu := uniform_refU d hΛ hP0 k R | |
| 298 | - have hf := uniform_refF d hΛ hP0 hσ hscale k R | |
| 299 | - have hcf := (uniform_refF_normalized d hΛ hP0 hσ hscale k R).1 | |
| 300 | - have hx := uniform_radius (ι := Choice d Λ) k hR | |
| 301 | - have hM := fieldUniform_primitive D (fun q => (P q).U_smooth) hR hm hu | |
| 302 | - have hff : FieldUniform k R (fun q : Choice d Λ => fun p => (P q).f p^2) := by | |
| 303 | - simpa only [pow_two] using hf.mul hf | |
| 304 | - have he : FieldUniform k R (fun q : Choice d Λ => (P q).energyDensity) := by | |
| 305 | - exact ((hu.mul hu).sub (hx.mul (hf.mul hf))).congr | |
| 306 | - (fun q η _ => by dsimp [Profiles.energyDensity,P]; ring) | |
| 307 | - have hS := fieldUniform_primitive D (fun q => (P q).energyDensity_smooth) hR hm he | |
| 308 | - have hpress : FieldUniform k R (fun q : Choice d Λ => (P q).pressure) := by | |
| 309 | - have hz := fieldUniform_primitive D (fun q => (P q).f_smooth.pow 2) hR hm hff | |
| 310 | - exact (uniform_smooth_fixed (ι := Choice d Λ × Slab R) hP0.contDiffOn k).add hz | |
| 311 | - have hH : FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(P q).H p) := by | |
| 312 | - exact (((Uniform.const 2).mul hx).mul hcf).congr (fun q η _ => by dsimp [Profiles.H]; ring) | |
| 313 | - have hI := fieldUniform_primitive D | |
| 314 | - (fun q => contDiffOn_const.mul (P q).H_smooth) hR hm hH | |
| 315 | - have hI' : FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(P q).I p) := by | |
| 316 | - apply hI.congr | |
| 317 | - intro q η _ | |
| 318 | - simp only [Profiles.I, primitive, intervalIntegral.integral_const_mul] | |
| 319 | - have hJ := fieldUniform_primitive D | |
| 320 | - (fun q => contDiffOn_const.mul (P q).transportDensity_smooth) hR hm | |
| 321 | - ((hu.mul hH).congr (fun q η _ => by dsimp [Profiles.transportDensity]; ring)) | |
| 322 | - have hJ' : FieldUniform k R (fun q : Choice d Λ => fun p => q.C*(P q).J p) := by | |
| 323 | - apply hJ.congr | |
| 324 | - intro q η _ | |
| 325 | - simp only [Profiles.J, primitive, intervalIntegral.integral_const_mul] | |
| 326 | - exact ⟨hM,hS,hpress,hI',hJ'⟩ | |
| 327 | - | |
| 328 | -theorem uniform_geometric_factors (hs : NaturalAxisRange.Parameters h j) (k : ℕ) {ι : Type*} : | |
| 329 | - Uniform k (fun _ : ι => NaturalAxisData.d) ∧ | |
| 330 | - Uniform k (fun _ : ι => fun η => (NaturalAxisData.L h η)⁻¹) := by | |
| 331 | - have hi : Uniform k (fun _ : ι => fun η : ℝ => η) := Uniform.id | |
| 332 | - have hd : Uniform k (fun _ : ι => NaturalAxisData.d) := by | |
| 333 | - exact ((Uniform.const 1).sub (hi.mul hi)).congr | |
| 334 | - (fun q η _ => by dsimp [NaturalAxisData.d]; ring) | |
| 335 | - have hl : Uniform k (fun _ : ι => fun η => NaturalAxisData.L h η) := by | |
| 336 | - exact ((Uniform.const 1).sub (((Uniform.const (2*h)).mul hi).mul hi)).congr | |
| 337 | - (fun q η _ => by dsimp [NaturalAxisData.L]; ring) | |
| 338 | - exact ⟨hd,hl.inverse (by norm_num : (0:ℝ)<49/50) | |
| 339 | - (fun _ _ hη => NaturalAxisRange.L_lower_bound hs hη)⟩ | |
| 340 | - | |
| 341 | -theorem uniform_axialFormula (hs : NaturalAxisRange.Parameters h j) (hσ : 0 < σ) | |
| 342 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 343 | - (k : ℕ) {R : ℝ} (hR : 0 ≤ R) : | |
| 344 | - FieldUniform k R (fun q : Choice d Λ => axialFormula (q.profiles hΛ hP0) h) := by | |
| 345 | - let D := fun q : Choice d Λ => (q.input hΛ).radialDomain | |
| 346 | - let P := fun q : Choice d Λ => q.profiles hΛ hP0 | |
| 347 | - have hm : ∀ q, ∀ X ∈ Icc 0 R, ∀ η ∈ J, (X,η) ∈ (D q).carrier := | |
| 348 | - fun q X hX η hη => q.mem hΛ hX.1 hη | |
| 349 | - obtain ⟨hM,hS,hp,-⟩ := uniform_ref_histories d hΛ hP0 hσ hscale (k+1) hR | |
| 350 | - have hMη := fieldUniform_partial D (fun q => (P q).M_smooth) hm hM | |
| 351 | - have hSη := fieldUniform_partial D (fun q => (P q).S_smooth) hm hS | |
| 352 | - have hpη := fieldUniform_partial D (fun q => (P q).pressure_smooth) hm hp | |
| 353 | - have hM := hM.of_le (Nat.le_succ k) | |
| 354 | - have hS := hS.of_le (Nat.le_succ k) | |
| 355 | - have hp := hp.of_le (Nat.le_succ k) | |
| 356 | - have hu := uniform_refU d hΛ hP0 k R | |
| 357 | - have hx := uniform_radius (ι := Choice d Λ) k hR | |
| 358 | - have hη : Uniform k (fun _ : Choice d Λ × Slab R => fun η : ℝ => η) := Uniform.id | |
| 359 | - obtain ⟨hd,hl⟩ := uniform_geometric_factors hs k (ι := Choice d Λ × Slab R) | |
| 360 | - have hmass := (hx.sub ((((Uniform.const (2*NaturalAxisData.D h)).mul hη).mul hM))).sub | |
| 361 | - (hd.mul hMη) | |
| 362 | - have hn := (((hmass.neg.mul hu).add | |
| 363 | - ((Uniform.const (NaturalAxisData.D h)).mul (hM.sub (hη.mul hMη)))).add | |
| 364 | - (((Uniform.const (4*h)).mul hη).mul hS)).sub (hd.mul hSη) | |
| 365 | - have hlast := hx.mul ((((Uniform.const (4*NaturalAxisData.A h)).mul hη).mul hp).sub | |
| 366 | - (hd.mul hpη)) | |
| 367 | - exact ((hn.add hlast).mul hl).congr (fun q η _ => by | |
| 368 | - simp only [axialFormula,ActivationStocks.massFlux,div_eq_mul_inv,mul_assoc,P]) | |
| 369 | - | |
| 370 | -abbrev PositiveSlab (a R : ℝ) := {X : ℝ // X ∈ Icc a R} | |
| 371 | - | |
| 372 | -def toSlab {a R : ℝ} (ha : 0 ≤ a) (X : PositiveSlab a R) : Slab R := | |
| 373 | - ⟨X,ha.trans X.property.1,X.property.2⟩ | |
| 374 | - | |
| 375 | -theorem uniform_angularNormalizedFormula (hs : NaturalAxisRange.Parameters h j) (hσ : 0 < σ) | |
| 376 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 377 | - (k : ℕ) {a R : ℝ} (ha : 0 < a) (haR : a ≤ R) : | |
| 378 | - Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun η => | |
| 379 | - angularNormalizedFormula (q.1.profiles hΛ hP0) h q.1.C (q.2,η)) := by | |
| 380 | - let D := fun q : Choice d Λ => (q.input hΛ).radialDomain | |
| 381 | - let P := fun q : Choice d Λ => q.profiles hΛ hP0 | |
| 382 | - let r : Choice d Λ × PositiveSlab a R → Choice d Λ × Slab R := | |
| 383 | - fun q => (q.1,toSlab ha.le q.2) | |
| 384 | - have hm : ∀ q, ∀ X ∈ Icc 0 R, ∀ η ∈ J, (X,η) ∈ (D q).carrier := | |
| 385 | - fun q X hX η hη => q.mem hΛ hX.1 hη | |
| 386 | - obtain ⟨hM,-,-,hI,hJ⟩ := uniform_ref_histories d hΛ hP0 hσ hscale (k+1) (ha.le.trans haR) | |
| 387 | - have hMη := (fieldUniform_partial D (fun q => (P q).M_smooth) hm hM).reindex r | |
| 388 | - have hIη := (fieldUniform_partial D | |
| 389 | - (fun q => contDiffOn_const.mul (P q).I_smooth) hm hI).reindex r | |
| 390 | - have hJη := (fieldUniform_partial D | |
| 391 | - (fun q => contDiffOn_const.mul (P q).J_smooth) hm hJ).reindex r | |
| 392 | - have hM := (hM.of_le (Nat.le_succ k)).reindex r | |
| 393 | - have hI := (hI.of_le (Nat.le_succ k)).reindex r | |
| 394 | - have hJ := (hJ.of_le (Nat.le_succ k)).reindex r | |
| 395 | - have hx := (uniform_radius (ι := Choice d Λ) k (ha.le.trans haR)).reindex r | |
| 396 | - have hη : Uniform k (fun _ : Choice d Λ × PositiveSlab a R => fun η : ℝ => η) := Uniform.id | |
| 397 | - obtain ⟨hd,hl⟩ := uniform_geometric_factors hs k (ι := Choice d Λ × PositiveSlab a R) | |
| 398 | - have hmass := (hx.sub ((((Uniform.const (2*NaturalAxisData.D h)).mul hη).mul hM))).sub | |
| 399 | - (hd.mul hMη) | |
| 400 | - have hr := ((((Uniform.const (1-h)).mul hI).sub | |
| 401 | - (((Uniform.const (NaturalAxisData.D h)).mul hη).mul hIη)).sub (hd.mul hJη)).add | |
| 402 | - (((Uniform.const (2*(h-NaturalAxisData.D h))).mul hη).mul hJ) | |
| 403 | - have hxi : Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun _ : ℝ => (2*(q.2:ℝ))⁻¹) := | |
| 404 | - Uniform.parameter _ (inv_nonneg.mpr (by positivity : 0 ≤ 2*a)) (fun q => by | |
| 405 | - rw [abs_of_pos (inv_pos.mpr (mul_pos (by norm_num) (ha.trans_le q.2.property.1)))] | |
| 406 | - exact inv_anti₀ (by positivity) (mul_le_mul_of_nonneg_left q.2.property.1 (by norm_num))) | |
| 407 | - have hfi := ((uniform_refF_normalized d hΛ hP0 hσ hscale k R).2).reindex r | |
| 408 | - exact ((hmass.neg.add ((hr.mul hxi).mul hfi)).mul hl).congr (fun q η _ => by | |
| 409 | - simp only [angularNormalizedFormula,ActivationStocks.massFlux, | |
| 410 | - ActivationStocks.angularRemainder,div_eq_mul_inv,mul_assoc,P,r,toSlab]) | |
| 411 | - | |
| 412 | -/-- The four literal reference quantities in `join:reference`, with all amplitudes | |
| 413 | -and all admissible cutoff widths included in one uniform family. -/ | |
| 414 | -theorem uniform_reference_quantities (hs : NaturalAxisRange.Parameters h j) (hσ : 0 < σ) | |
| 415 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) | |
| 416 | - (k : ℕ) {a R : ℝ} (ha : 0 < a) (haR : a ≤ R) : | |
| 417 | - Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun η => | |
| 418 | - q.1.C*(q.1.profiles hΛ hP0).E (q.2,η)) ∧ | |
| 419 | - Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun η => | |
| 420 | - (q.1.C*(q.1.profiles hΛ hP0).E (q.2,η))⁻¹) ∧ | |
| 421 | - Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun η => | |
| 422 | - ActivationStocks.profileStockOne (q.1.profiles hΛ hP0) h (q.2,η)) ∧ | |
| 423 | - Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun η => | |
| 424 | - (q.1.profiles hΛ hP0).axialLag h (q.2,η) / NaturalAxisData.L h η) := by | |
| 425 | - let r : Choice d Λ × PositiveSlab a R → Choice d Λ × Slab R := | |
| 426 | - fun q => (q.1,toSlab ha.le q.2) | |
| 427 | - have hcf := ((uniform_refF_normalized d hΛ hP0 hσ hscale k R).1).reindex r | |
| 428 | - have hcfi := ((uniform_refF_normalized d hΛ hP0 hσ hscale k R).2).reindex r | |
| 429 | - have he : Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun _ : ℝ => Real.sqrt (2*(q.2:ℝ))) := | |
| 430 | - Uniform.parameter _ (Real.sqrt_nonneg _) (fun q => by | |
| 431 | - rw [abs_of_nonneg (Real.sqrt_nonneg _)] | |
| 432 | - exact Real.sqrt_le_sqrt (mul_le_mul_of_nonneg_left q.2.property.2 (by norm_num))) | |
| 433 | - have hei : Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun _ : ℝ => | |
| 434 | - (Real.sqrt (2*(q.2:ℝ)))⁻¹) := | |
| 435 | - Uniform.parameter _ (inv_nonneg.mpr (Real.sqrt_nonneg (2*a))) (fun q => by | |
| 436 | - rw [abs_of_pos (inv_pos.mpr (Real.sqrt_pos.mpr | |
| 437 | - (mul_pos (by norm_num) (ha.trans_le q.2.property.1))))] | |
| 438 | - exact inv_anti₀ (Real.sqrt_pos.mpr (by positivity)) | |
| 439 | - (Real.sqrt_le_sqrt (mul_le_mul_of_nonneg_left q.2.property.1 (by norm_num)))) | |
| 440 | - have hp := uniform_angularNormalizedFormula d hΛ hP0 hs hσ hscale k ha haR | |
| 441 | - have haF := (uniform_axialFormula d hΛ hP0 hs hσ hscale k (ha.le.trans haR)).reindex r | |
| 442 | - have hxi : Uniform k (fun q : Choice d Λ × PositiveSlab a R => fun _ : ℝ => (q.2:ℝ)⁻¹) := | |
| 443 | - Uniform.parameter _ (inv_nonneg.mpr ha.le) (fun q => by | |
| 444 | - rw [abs_of_pos (inv_pos.mpr (ha.trans_le q.2.property.1))] | |
| 445 | - exact inv_anti₀ ha q.2.property.1) | |
| 446 | - refine ⟨(he.mul hcf).congr (fun q η _ => by dsimp [Profiles.E,r,toSlab]; ring), | |
| 447 | - (hei.mul hcfi).congr (fun q η _ => by | |
| 448 | - simp only [Profiles.E,mul_inv_rev,r,toSlab]; ring), | |
| 449 | - hp.congr (fun q η hη => ?_), (haF.mul hxi).congr (fun q η hη => ?_)⟩ | |
| 450 | - · exact (angularNormalizedFormula_eq (q.1.profiles hΛ hP0) h q.1.C | |
| 451 | - (q.1.mem hΛ (ha.le.trans q.2.property.1) hη) (ha.trans_le q.2.property.1) q.1.C_pos | |
| 452 | - ((q.1.input hΛ).refF_pos q.1.δ | |
| 453 | - (q.1.mem hΛ (ha.le.trans q.2.property.1) hη) (ha.le.trans q.2.property.1))).symm | |
| 454 | - · dsimp only [r,toSlab] | |
| 455 | - rw [axialFormula_eq _ h (q.1.mem hΛ (ha.le.trans q.2.property.1) hη) | |
| 456 | - (ha.trans_le q.2.property.1)] | |
| 457 | - field_simp [(ha.trans_le q.2.property.1).ne'] | |
| 458 | - | |
| 459 | 44 | end ActualReference |
| 460 | 45 | |
| 461 | 46 | end NavierStokes.ReferenceUniformStocks |
+43 −0 routes/s1-euler-mean-1/README.md added View file
| @@ -0,0 +1,43 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-mean-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Mean*`: the first | |
| 8 | +cut of the family by declarations rather than files. It deletes 240 declarations that nothing | |
| 9 | +uses — 2761 lines across 77 files — and touches nothing else: `git diff --numstat` has 0 added | |
| 10 | +lines in every file, and the diff removes exactly 240 declaration lines, with no `import`, | |
| 11 | +`namespace` or `end` line among them. | |
| 12 | + | |
| 13 | +What is gone is the part of the family the declaration graph leaves with no user on `main`: | |
| 14 | +boundary-derivative, reflection, translation and Fréchet lemmas in `Euler/MeanBoundary*`, the | |
| 15 | +`EulerMeanCoefficients` multiplier and frame lemmas, the `EulerMeanClassical*` representative and | |
| 16 | +norm bounds, and the `EulerMeanContinuous*` translation bounds. The declarations are listed in the | |
| 17 | +pull request's description. | |
| 18 | + | |
| 19 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 20 | +`f9e8bc5`) found them unreachable from the four Comparator theorems. On this project's `main` | |
| 21 | +(`8c2e679`) the declaration graph, exported from the compiled tree, was read again under this | |
| 22 | +project's rule: a declaration Treant deleted stays when one of the paper's results reaches it (the | |
| 23 | +files `NavierStokes/PaperResults.lean` imports, `NavierStokes/R3/Theorem.lean`, | |
| 24 | +`NavierStokes/LocalPaperTheorem.lean`), when its docstring cites the paper, or when the text of a | |
| 25 | +declaration that stays names it. 640 of Treant's deletions stay for that; none is in this unit. | |
| 26 | + | |
| 27 | +Checked as a reviewer: after the deletion | |
| 28 | +- every one of the 240 declarations is absent from its file (`git grep` for its declaration line); | |
| 29 | +- no file in the tree has a qualified reference `Namespace.name` to any of them, and the only | |
| 30 | + bare-name hits in a matching namespace context are other declarations of the same short name | |
| 31 | + (`EulerMeanPacketProvider.Forcing.neg` and `.spatialDerivative` versus the `spatialDerivative`s of | |
| 32 | + `NavierStokes.ProblemStatement` and the other `neg`s); | |
| 33 | +- no deleted line cites a numbered result of the paper (no Lemma, Theorem, Proposition, Corollary, | |
| 34 | + Section or Equation number in the removed text); | |
| 35 | +- `python3 checks/challenge.py .` ends with | |
| 36 | + `ok: 4 challenge files and the build configuration as approved; 2592 Lean files, 615099 lines, …`. | |
| 37 | + | |
| 38 | +What it does not show: that every remaining declaration is needed; that is S-2. | |
| 39 | + | |
| 40 | +## Next | |
| 41 | + | |
| 42 | +The maintainer's review after `challenge` and `build`. The rest of the `Euler/Mean*` family and the | |
| 43 | +other units of #10 are separate. | |
+40 −0 routes/s1-ns-entrance-1/README.md added View file
| @@ -0,0 +1,40 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-entrance-1 | |
| 6 | + | |
| 7 | +Unit `s1-ns-entrance-1` of issue #10, family `NavierStokes/Entrance*`: delete 15 declarations of | |
| 8 | +`NavierStokes/EntranceAlignedBase.lean` that nothing uses, 137 lines, deletions only. | |
| 9 | + | |
| 10 | +Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) found them unreachable from the four | |
| 11 | +Comparator theorems. The declaration graph of this project's main agrees under the project's rule: | |
| 12 | +no result of the paper reaches them, none of the deleted docstrings cites the paper by a numbered | |
| 13 | +result or section, and no declaration that stays names them. After applying the patch, | |
| 14 | +`git grep -n -w` over the whole Lean tree finds no occurrence of any of the 15 short names. | |
| 15 | + | |
| 16 | +- `NavierStokes.EntranceAlignedBase.trueWidth_spec` | |
| 17 | +- `NavierStokes.EntranceAlignedBase.cutoffStop_lt_trueEnd` | |
| 18 | +- `NavierStokes.EntranceAlignedBase.cutoff_transition_true` | |
| 19 | +- `NavierStokes.EntranceAlignedBase.scheme_outer` | |
| 20 | +- `NavierStokes.EntranceAlignedBase.scheme_base_beta` | |
| 21 | +- `NavierStokes.EntranceAlignedBase.aligned_coefficientMatches` | |
| 22 | +- `NavierStokes.EntranceAlignedBase.zero_residuals_eq` | |
| 23 | +- `NavierStokes.EntranceAlignedBase.zero_raw_stresses_eq` | |
| 24 | +- `NavierStokes.EntranceAlignedBase.aligned_zero_stresses_eq` | |
| 25 | +- `NavierStokes.EntranceAlignedBase.aligned_moments_zero` | |
| 26 | +- `NavierStokes.EntranceAlignedBase.aligned_mass_primitive_zero` | |
| 27 | +- `NavierStokes.EntranceAlignedBase.exp_left_eq_cone` | |
| 28 | +- `NavierStokes.EntranceAlignedBase.modulated_baseFields_eq` | |
| 29 | +- `NavierStokes.EntranceAlignedBase.modulated_pressure_eq_extended` | |
| 30 | +- `NavierStokes.EntranceAlignedBase.modulated_transition_true` | |
| 31 | + | |
| 32 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 33 | +approved; 2590 Lean files, 616998 lines, toolchain leanprover/lean4:v4.34.0-rc2`. No statement or | |
| 34 | +proof that stays is changed. | |
| 35 | + | |
| 36 | +## Next | |
| 37 | + | |
| 38 | +This unit is complete. The rest of the family's Treant deletions that survive the project's rule | |
| 39 | +remain for another unit of issue #10; imports that the deleted proofs were the last users of are an | |
| 40 | +S-3 (import trimming) matter, not this unit's. | |
+35 −0 routes/s1-ns-gaussian-1/README.md added View file
| @@ -0,0 +1,35 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-gaussian-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), first wave, family | |
| 8 | +`NavierStokes/Gaussian*`: delete 39 declarations (643 lines) that nothing in the tree uses, | |
| 9 | +across 3 files. Statements and proofs that stay are untouched; the diff is deletions only. | |
| 10 | + | |
| 11 | +- `NavierStokes.GaussianEnvelope.envelope_lt_one_away_from_midpoint` | |
| 12 | + (`NavierStokes/GaussianEnvelope.lean`, 17 lines) | |
| 13 | +- 17 declarations in `NavierStokes/GaussianErrorNaturality.lean` (313 lines), from | |
| 14 | + `waveChange_waveEquiv` and `referenceParameters` through | |
| 15 | + `fromReference_gaussianBlock_cylinder` | |
| 16 | +- 21 declarations in `NavierStokes/GaussianTailFlat.lean` (313 lines), from | |
| 17 | + `profile_iteratedDeriv_support` through `reference_error_all_gains` | |
| 18 | + | |
| 19 | +Checked at `s1-ns-gaussian-1` (from main `440c919`): `git grep -n -w` over `*.lean`, `*.md`, | |
| 20 | +`*.toml` and `*.json` finds no remaining use of 38 of the 39 names; the remaining hit, | |
| 21 | +`complexCopyVelocity_zeroEntry`, is the separate declaration of that short name in | |
| 22 | +`IntervalCopyTransport` (`NavierStokes/IntervalCopyTransport.lean:321`), not the deleted one. | |
| 23 | +No deleted docstring cites the paper with a numbered Lemma, Theorem, Proposition, Corollary, | |
| 24 | +Section or Equation (one says "the manuscript's actual native phase", with no number). The unit | |
| 25 | +comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was re-read | |
| 26 | +under this project's rule that the paper's results stay; none of the 39 is reached by | |
| 27 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 28 | +`NavierStokes/LocalPaperTheorem.lean`, and none of the declarations kept names them. | |
| 29 | +`python3 checks/challenge.py .` ends with | |
| 30 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 31 | + | |
| 32 | +## Next | |
| 33 | + | |
| 34 | +Push and open the pull request; the other declaration units of #10 are separate. The | |
| 35 | +maintainer's review follows `challenge` and `build`. | |
+31 −0 routes/s1-ns-lifted-1/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-lifted-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): dead declarations in the family `NavierStokes/Lifted*`. | |
| 8 | +I delete five declarations of `NavierStokes/LiftedMeanResidual.lean` that nothing | |
| 9 | +in the tree uses, leaving every statement and proof that stays untouched. | |
| 10 | + | |
| 11 | +Deleted: `avg_zero`, `meanGoodResidual_errors`, `angularMean_fullGoodResidual_errors`, | |
| 12 | +`graphOperators_profile_smooth`, `graphOperators_regular`. | |
| 13 | + | |
| 14 | +Left out of this branch: `angularMean_fullResidual`. The unit lists it, and nothing | |
| 15 | +uses it, but its docstring says it proves "the actual full residual averages to | |
| 16 | +equation (32)", the paper's equation, so the project's rule keeps it. It is back | |
| 17 | +in the file unchanged and is not part of this pull request. | |
| 18 | + | |
| 19 | +Checked at this head: `git grep -n -w` over `*.lean` finds no remaining use of any | |
| 20 | +of the five short names (nor of the qualified names), and no deleted docstring | |
| 21 | +names a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 22 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build | |
| 23 | +configuration as approved; 2590 Lean files, 617086 lines, toolchain | |
| 24 | +leanprover/lean4:v4.34.0-rc2`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Nothing for this unit: the branch is ready to push and open. If `build` fails, the | |
| 29 | +next step is to read its log for the module `NavierStokes.LiftedMeanResidual` | |
| 30 | +(there should be no new error: the diff only removes declarations, and none is | |
| 31 | +named elsewhere in the tree). | |
+24 −0 routes/s1-ns-local-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-local-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1: the family `NavierStokes/Local*`. I delete the | |
| 8 | +50 declarations of 11 files in that family that nothing reachable from | |
| 9 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` and | |
| 10 | +`NavierStokes/LocalPaperTheorem.lean` uses, taking them from Treant's run of | |
| 11 | +2026-12-03 (TitiSkywalker/NavierStokesAndEuler at `f9e8bc5`) and keeping every | |
| 12 | +one this project's rule keeps: a declaration reached by the paper's results, a | |
| 13 | +docstring that cites the paper, or a mention in a declaration that stays. | |
| 14 | +530 lines in all, deletions only. | |
| 15 | + | |
| 16 | +Checked before committing: `git grep -w` for each short name leaves only | |
| 17 | +other declarations of the same name elsewhere in the tree, and no deleted | |
| 18 | +docstring carries a numbered reference to the paper. `python3 | |
| 19 | +checks/challenge.py .` ends `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +The maintainer's review of pull request s1-ns-local-1; later waves take the | |
| 24 | +rest of the family from the same run. | |
+29 −0 routes/s1-ns-moment-1/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-moment-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1): the declaration family `NavierStokes/Moment*`. It deletes 7 | |
| 8 | +declarations nothing in the tree uses, 62 lines in two files, deletions only: | |
| 9 | + | |
| 10 | +- `NavierStokes.MomentRepair.repair_unchanged_when_exact`, `repair_coefficients_unique`, | |
| 11 | + `repair_idempotent`, `twoPointMatrix`, `twoPointMatrix_det`, `twoPointMatrix_det_pos` | |
| 12 | + (`NavierStokes/MomentRepair.lean`) | |
| 13 | +- `NavierStokes.MomentRepairPicard.exists_compatible_small_solutions` | |
| 14 | + (`NavierStokes/MomentRepairPicard.lean`) | |
| 15 | + | |
| 16 | +The unit was cut from Treant's run of 2026-12-03 (upstream `f9e8bc5`) and read again against | |
| 17 | +this project's declaration graph on `main` under its rule that the paper's results stay: a | |
| 18 | +declaration stays when a paper result reaches it, when its docstring cites the paper, or when | |
| 19 | +a declaration that stays names it. None of the 7 is reached any of those ways. On this branch | |
| 20 | +`git grep -n -w` finds no remaining user of any of the 7 short names, qualified or not, and no | |
| 21 | +deleted docstring cites a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 22 | + | |
| 23 | +`python3 checks/challenge.py .` ends with | |
| 24 | +`ok: 4 challenge files and the build configuration as approved; 2590 Lean files, 617073 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Open the pull request for this unit. What it does not show: that every remaining declaration in | |
| 29 | +these files is needed. | |
+26 −0 routes/s1-ns-periodized-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-periodized-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), wave 1, family `NavierStokes/Periodized*`: deletes 24 declarations | |
| 8 | +(277 lines) from `NavierStokes/PeriodizedWaveBounds.lean`. Nothing else is touched and the diff is deletions only. | |
| 9 | + | |
| 10 | +The declarations were unreachable from the four Comparator theorems in Treant's run | |
| 11 | +(TitiSkywalker/NavierStokesAndEuler, 2026-12-03 at upstream `f9e8bc5`), and on this project's main the declaration | |
| 12 | +graph was read again under the paper rule: none of them is reached by a paper result (`NavierStokes/PaperResults.lean` | |
| 13 | +and what it imports, `NavierStokes/R3/Theorem.lean`, `NavierStokes/LocalPaperTheorem.lean`), none has a docstring | |
| 14 | +citing the paper, and none is named in the text of a declaration that stays. The seven deleted docstrings name no | |
| 15 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 16 | + | |
| 17 | +Checked as a reviewer: `git grep -n -w <short name>` for each of the 24 finds nothing left in the tree except two | |
| 18 | +other declarations of the same short name, both outside this family — `source_zero_germ` in | |
| 19 | +`NavierStokes/ActualCycleResidualBounds.lean` and `particularData` in | |
| 20 | +`NavierStokes/ActualCyclePreservation.lean` and `NavierStokes/ActualWaveCoefficientPeriodicity.lean` — which stay. | |
| 21 | +`python3 checks/challenge.py .` ends with `ok: …`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +The maintainer's review after `challenge` and `build`; the rest of Treant's cut list for this family that the paper | |
| 26 | +rule keeps is left for other units. | |
+24 −0 routes/s1-ns-phase-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-phase-1 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), family `NavierStokes/Phase*`. It deletes 20 declarations that | |
| 8 | +nothing on this main uses, 253 lines in three files: `NavierStokes/PhaseCalculus.lean`, | |
| 9 | +`NavierStokes/PhaseEstimates.lean` and `NavierStokes/PhaseJetBounds.lean`. | |
| 10 | + | |
| 11 | +The unit cut 21. `NavierStokes.PhaseCalculus.referenceNormal` stays: its docstring says "The comparison | |
| 12 | +vector `B (s,K)` used after equation (26)", and equation (26) is the paper's, so the keep rule in | |
| 13 | +`docs/s1-dead-code/README.md` (§"Where the list comes from", item 2) keeps it. It is left out of the | |
| 14 | +pull request; nothing else the unit cut cites the paper by a numbered result. | |
| 15 | + | |
| 16 | +For each deleted name, `git grep -n -w <name> -- '*.lean'` finds nothing in the tree, except | |
| 17 | +`referenceNormal`, where the hits are `PhaseEstimates.referenceNormal`, a different declaration of the | |
| 18 | +same short name. The diff is deletions only. `python3 checks/challenge.py .` ends with | |
| 19 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +The maintainer's review after `challenge` and `build`. The rest of the family is `s1-ns-phase-2` | |
| 24 | +(1 declaration, 19 lines) in wave 2. | |
+18 −0 routes/s1-ns-reference-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-reference-1 | |
| 6 | + | |
| 7 | +Issue #10 (S-1, delete declarations that nothing uses), unit `s1-ns-reference-1`: the family | |
| 8 | +`NavierStokes/Reference*` (`ReferenceBounds.lean`, `ReferenceEndpointRate.lean`, `ReferencePath.lean`, | |
| 9 | +`ReferenceUniformJets.lean`, `ReferenceUniformStocks.lean`). I delete the 86 declarations listed in the | |
| 10 | +unit that nothing on main uses, 1145 lines, and nothing else. The cut comes from Treant's run of | |
| 11 | +2026-12-03, re-read against this project's declaration graph under the rule that the paper's results | |
| 12 | +stay: no remaining declaration names a deleted one, and no deleted docstring cites the paper. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Open the pull request; the maintainer agent reads it with the coarser measure at the head against | |
| 17 | +`main`. A follow-up unit may merge the now-empty `ReferenceEndpointRate.lean`, | |
| 18 | +`ReferenceUniformJets.lean` and `ReferenceUniformStocks.lean` into their importers. | |