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-terminal-1
Browse files+0 −7 Euler/AnglePrimitiveParity.lean View file
| @@ -10,13 +10,6 @@ open MeasureTheory | ||
| 10 | 10 | |
| 11 | 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | 12 | |
| 13 | -omit [CompleteSpace E] in | |
| 14 | -theorem primitive_neg (P : ℝ) (f : ℝ → E) : | |
| 15 | - primitive P (fun θ => -f θ)=fun θ => -primitive P f θ := by | |
| 16 | - funext θ | |
| 17 | - simp only [primitive, rawPrimitive, intervalIntegral.integral_neg, smul_neg] | |
| 18 | - abel | |
| 19 | - | |
| 20 | 13 | /-- Reflection of the argument contributes one minus sign to a primitive. -/ |
| 21 | 14 | theorem primitive_reflection (P : ℝ) (hP : P ≠ 0) (f : ℝ → E) (hf : Continuous f) |
| 22 | 15 | (hper : Function.Periodic f P) (hmean : ∫ θ in 0..P, f θ=0) : |
+0 −25 Euler/AnglePrimitiveSpatialRegularity.lean View file
| @@ -40,30 +40,5 @@ section Continuous | ||
| 40 | 40 | |
| 41 | 41 | variable {Y : Type*} [TopologicalSpace Y] [FirstCountableTopology Y] [LocallyCompactSpace Y] |
| 42 | 42 | |
| 43 | -omit [CompleteSpace E] in | |
| 44 | -theorem rawPrimitive_joint_continuous (F : Y × ℝ → E) (hF : Continuous F) : | |
| 45 | - Continuous (fun p : Y × ℝ => rawPrimitive (fun θ => F (p.1,θ)) p.2) := by | |
| 46 | - have hG : Continuous (fun z : (Y × ℝ) × ℝ => F (z.1.1,z.1.2*z.2)) := | |
| 47 | - hF.comp (continuous_fst.fst.prodMk (continuous_fst.snd.mul continuous_snd)) | |
| 48 | - have hi := continuous_parametric_integral_of_continuous | |
| 49 | - (μ := volume) (f := fun p : Y × ℝ => fun s : ℝ => F (p.1,p.2*s)) hG | |
| 50 | - (isCompact_Icc : IsCompact (Icc (0 : ℝ) 1)) | |
| 51 | - have hi' : Continuous (fun p : Y × ℝ => ∫ s in (0 : ℝ)..1, F (p.1,p.2*s)) := by | |
| 52 | - simpa only [intervalIntegral.integral_of_le (zero_le_one : (0 : ℝ) ≤ 1), | |
| 53 | - integral_Icc_eq_integral_Ioc] using hi | |
| 54 | - simpa only [rawPrimitive_fixed_interval, Pi.smul_def'] using continuous_snd.smul hi' | |
| 55 | - | |
| 56 | -omit [CompleteSpace E] in | |
| 57 | -theorem primitive_joint_continuous (P : ℝ) (hP : 0 ≤ P) (F : Y × ℝ → E) | |
| 58 | - (hF : Continuous F) : | |
| 59 | - Continuous (fun p : Y × ℝ => primitive P (fun θ => F (p.1,θ)) p.2) := by | |
| 60 | - have hr := rawPrimitive_joint_continuous F hF | |
| 61 | - have hm := continuous_parametric_integral_of_continuous | |
| 62 | - (μ := volume) (f := fun y : Y => fun s : ℝ => rawPrimitive (fun θ => F (y,θ)) s) | |
| 63 | - hr (isCompact_Icc : IsCompact (Icc (0 : ℝ) P)) | |
| 64 | - have hm' : Continuous (fun y : Y => ∫ s in (0 : ℝ)..P, rawPrimitive (fun θ => F (y,θ)) s) := by | |
| 65 | - simpa only [intervalIntegral.integral_of_le hP, integral_Icc_eq_integral_Ioc] using hm | |
| 66 | - exact hr.sub (continuous_const.smul (hm'.comp continuous_fst)) | |
| 67 | - | |
| 68 | 43 | end Continuous |
| 69 | 44 | end EulerAngleMeanZeroPrimitive |
+0 −13 Euler/AnglePrimitiveTranslation.lean View file
| @@ -10,17 +10,4 @@ open MeasureTheory | ||
| 10 | 10 | |
| 11 | 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | 12 | |
| 13 | -theorem primitive_translate (P : ℝ) (hP : P ≠ 0) (f : ℝ → E) (hf : Continuous f) | |
| 14 | - (hper : Function.Periodic f P) (hmean : ∫ θ in 0..P, f θ=0) (a : ℝ) : | |
| 15 | - primitive P (fun θ => f (θ+a))=fun θ => primitive P f (θ+a) := by | |
| 16 | - symm | |
| 17 | - apply primitive_unique P hP (fun θ => f (θ+a)) (hf.comp (continuous_id.add continuous_const)) | |
| 18 | - · intro θ | |
| 19 | - simpa only [one_smul, Function.comp_def, id_eq] using | |
| 20 | - (primitive_hasDerivAt P f hf (θ+a)).scomp θ ((hasDerivAt_id θ).add_const a) | |
| 21 | - · rw [intervalIntegral.integral_comp_add_right] | |
| 22 | - have h := (primitive_periodic P f hf hper hmean).intervalIntegral_add_eq a 0 | |
| 23 | - rw [zero_add] at h | |
| 24 | - rw [zero_add, add_comm P a, h, primitive_mean_zero P hP f hf] | |
| 25 | - | |
| 26 | 13 | end EulerAngleMeanZeroPrimitive |
+0 −48 Euler/ChildParticleFieldTime.lean View file
| @@ -55,53 +55,5 @@ theorem childAcceleration (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 55 | 55 | |
| 56 | 56 | variable {hT : 0 ≤ T} |
| 57 | 57 | |
| 58 | -theorem displacement_hasDerivWithinAt | |
| 59 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 60 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 61 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 62 | - HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) | |
| 63 | - ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by | |
| 64 | - have he : (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) = | |
| 65 | - (fun s => (EulerChildParticleTime.displacement P D).realField T hT s x) := by | |
| 66 | - funext s | |
| 67 | - exact H.childDisplacement (projIcc 0 T hT s) x | |
| 68 | - rw [he,H.childVelocity] | |
| 69 | - exact displacement_time hP hD t x | |
| 70 | - | |
| 71 | -theorem velocity_hasDerivWithinAt | |
| 72 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 73 | - (hP₁ : SmoothTimeField.TimeDerivative T hT P₁ P₂) | |
| 74 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 75 | - (hD₁ : SmoothTimeField.TimeDerivative T hT D₁ D₂) | |
| 76 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 77 | - HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) | |
| 78 | - ((G t).childAcceleration.field x) (Icc (0 : ℝ) T) t := by | |
| 79 | - have he : (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) = | |
| 80 | - (fun s => (EulerChildParticleTime.velocity P P₁ D D₁).realField T hT s x) := by | |
| 81 | - funext s | |
| 82 | - exact H.childVelocity (projIcc 0 T hT s) x | |
| 83 | - rw [he,H.childAcceleration] | |
| 84 | - exact velocity_time hP hP₁ hD hD₁ t x | |
| 85 | - | |
| 86 | -theorem composition_hasDerivWithinAt | |
| 87 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 88 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 89 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 90 | - HasDerivWithinAt (fun s => | |
| 91 | - let F := G (projIcc 0 T hT s) | |
| 92 | - (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) | |
| 93 | - ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by | |
| 94 | - have h := (H.displacement_hasDerivWithinAt hP hD t x).const_add x | |
| 95 | - have he : (fun s => x+(G (projIcc 0 T hT s)).childDisplacement.field x) = | |
| 96 | - (fun s => | |
| 97 | - let F := G (projIcc 0 T hT s) | |
| 98 | - (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) := by | |
| 99 | - funext s | |
| 100 | - rw [EulerChildParticleFieldBounds.Data.childDisplacement_apply] | |
| 101 | - simp only [EulerChildParticleFieldBounds.Data.inner] | |
| 102 | - abel | |
| 103 | - rw [← he] | |
| 104 | - exact h | |
| 105 | - | |
| 106 | 58 | end Representation |
| 107 | 59 | end EulerChildParticleTime |
+0 −22 Euler/CoefficientJetPressureBounds.lean View file
| @@ -41,13 +41,6 @@ def TreeBound {s : ℕ} {A : SmoothCoefficient P} (K : CoefficientJet P dirs s A | ||
| 41 | 41 | | .zero A => (A.bound : ℝ) ≤ B |
| 42 | 42 | | .succ _ lower _ => (A.bound : ℝ) ≤ B ∧ ∀ i, TreeBound (lower i) B |
| 43 | 43 | |
| 44 | -omit [Fact (0 < P)] in | |
| 45 | -theorem TreeBound.root {s : ℕ} {A : SmoothCoefficient P} {K : CoefficientJet P dirs s A} | |
| 46 | - {B : ℝ} (hK : TreeBound K B) : (A.bound : ℝ) ≤ B := by | |
| 47 | - cases K with | |
| 48 | - | zero => exact hK | |
| 49 | - | succ => exact hK.1 | |
| 50 | - | |
| 51 | 44 | omit [Fact (0 < P)] in |
| 52 | 45 | theorem treeBound_of_levels {s : ℕ} {A : SmoothCoefficient P} (K : CoefficientJet P dirs s A) |
| 53 | 46 | (B : ℝ) (hb : ∀ n, n ≤ s → boundLevel P K n ≤ B) : TreeBound K B := by |
| @@ -76,21 +69,6 @@ theorem TreeBound.truncate {s : ℕ} {A : SmoothCoefficient P} | ||
| 76 | 69 | | succ dA lower hd => |
| 77 | 70 | exact ⟨hK.1,fun i => ih (hK.2 i)⟩ |
| 78 | 71 | |
| 79 | -omit [Fact (0 < P)] in | |
| 80 | -theorem TreeBound.restrict {s : ℕ} {A : SmoothCoefficient P} | |
| 81 | - {K : CoefficientJet P dirs s A} {B : ℝ} (hK : TreeBound K B) | |
| 82 | - (q : ℕ) (hq : q ≤ s) : TreeBound (EulerH6Pressure.CoefficientJet.restrict K q hq) B := by | |
| 83 | - induction q generalizing s A with | |
| 84 | - | zero => | |
| 85 | - rw [EulerH6Pressure.CoefficientJet.restrict,TreeBound] | |
| 86 | - exact hK.root | |
| 87 | - | succ q ih => | |
| 88 | - cases K with | |
| 89 | - | zero => omega | |
| 90 | - | succ dA lower hd => | |
| 91 | - rw [EulerH6Pressure.CoefficientJet.restrict,TreeBound] | |
| 92 | - exact ⟨hK.1,fun i => ih (hK.2 i) (by omega)⟩ | |
| 93 | - | |
| 94 | 72 | omit [Fact (0 < P)] in |
| 95 | 73 | theorem TreeBound.productConstant_le {s : ℕ} {A : SmoothCoefficient P} |
| 96 | 74 | {K : CoefficientJet P dirs s A} {B : ℝ} (hK : TreeBound K B) : |
+0 −7 Euler/CoefficientPathBounds.lean View file
| @@ -77,13 +77,6 @@ theorem coefficientJet_boundLevel_le_words (s n : ℕ) (t : K) : | ||
| 77 | 77 | rw [he] at hh |
| 78 | 78 | exact hh |
| 79 | 79 | |
| 80 | -theorem coefficientJet_boundLevel_le_tensor (s n : ℕ) (t : K) : | |
| 81 | - boundLevel P (coefficientJet P A hA s t) n ≤ | |
| 82 | - (4 : ℝ)^n*‖iteratedFDeriv ℝ n (translateCoefficientPath A) 0‖ := by | |
| 83 | - have hh := wordSum_le coefficientDirections coefficientDirections_norm (translateCoefficientPath A) n 0 | |
| 84 | - norm_num only [Fintype.card_fin] at hh | |
| 85 | - exact (coefficientJet_boundLevel_le_words P A hA s n t).trans hh | |
| 86 | - | |
| 87 | 80 | theorem coefficientJet_block_le_words (s q n : ℕ) (t : K) : |
| 88 | 81 | EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ |
| 89 | 82 | EulerParameterWordGevrey.coefficientBlock coefficientDirections q (translateCoefficientPath A) n 0 := by |
+0 −7 Euler/ContinuousBoundedTensor.lean View file
| @@ -140,13 +140,6 @@ def tensorPathMap (n : ℕ) : | ||
| 140 | 140 | (t : K) (x : X) (v : Fin n → E) : tensorPathMap n A t x v = A v t x := |
| 141 | 141 | tensorPath_apply n A t x v |
| 142 | 142 | |
| 143 | -theorem tensorPathMap_norm_le (n : ℕ) : | |
| 144 | - ‖tensorPathMap (K := K) (X := X) (E := E) (V := V) n‖ ≤ 1 := by | |
| 145 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 146 | - intro A | |
| 147 | - change ‖tensorPath n A‖ ≤ 1 * ‖A‖ | |
| 148 | - simpa only [one_mul] using tensorPath_norm_le n A | |
| 149 | - | |
| 150 | 143 | theorem tensorPath_iteratedFDeriv (f : E → C(K, X →ᵇ V)) (hf : ContDiff ℝ ∞ f) |
| 151 | 144 | (n : ℕ) (a : E) (t : K) (x : X) : |
| 152 | 145 | tensorPathMap n (iteratedFDeriv ℝ n f a) t x = |
+0 −6 Euler/ContinuousForcingTranslation.lean View file
| @@ -78,10 +78,4 @@ genuinely smooth translation orbit in the uniform time norm. -/ | ||
| 78 | 78 | theorem forcing_translation_contDiff : ContDiff ℝ ∞ (fun a : Space => translate a f) := |
| 79 | 79 | (forcingFamily A hA f hf).contDiff_field |
| 80 | 80 | |
| 81 | -/-- Every actual orbit derivative is controlled by the original uniform-time | |
| 82 | -ordinary L² spatial derivative with constant one. -/ | |
| 83 | -theorem forcing_translation_jet_bound (n : ℕ) (a : Space) : | |
| 84 | - ‖iteratedFDeriv ℝ n (fun b : Space => translate b f) a‖ ≤ ‖spatialJetPath A hA n‖ := | |
| 85 | - (forcingFamily A hA f hf).norm_iteratedFDeriv_field_le n a | |
| 86 | - | |
| 87 | 81 | end EulerContinuousForcing |
+0 −5 Euler/ContinuousSpatialFamily.lean View file
| @@ -229,11 +229,6 @@ private theorem norm_iteratedFDeriv_field_aux (n : ℕ) : | ||
| 229 | 229 | (derivativeBundling_norm_le_one (K := K) (V := V)) (norm_nonneg _)).trans |
| 230 | 230 | (by simpa only [one_mul, derivative_bound] using ih (Space →L[ℝ] V) A.derivative a)) |
| 231 | 231 | |
| 232 | -/-- The original pointwise uniform derivative bound holds without any additional factor. -/ | |
| 233 | -theorem norm_iteratedFDeriv_field_le (A : SpatialFamily K V) (n : ℕ) (a : Space) : | |
| 234 | - ‖iteratedFDeriv ℝ n A.field a‖ ≤ A.bound n := | |
| 235 | - norm_iteratedFDeriv_field_aux n V A a | |
| 236 | - | |
| 237 | 232 | end SpatialFamily |
| 238 | 233 | |
| 239 | 234 | end EulerContinuousSpatialFamily |
+0 −6 Euler/ContinuousTimeIntegral.lean View file
| @@ -91,12 +91,6 @@ def integral : C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E) := | ||
| 91 | 91 | @[simp] theorem integral_apply (f : C(Icc (0 : ℝ) T,E)) (t : Icc (0 : ℝ) T) : |
| 92 | 92 | integral T hT f t = realIntegral T hT f t := rfl |
| 93 | 93 | |
| 94 | -/-- The exact operator bound for the initial primitive. -/ | |
| 95 | -theorem integral_norm : ‖integral (E := E) T hT‖ ≤ T := by | |
| 96 | - apply opNorm_le_bound _ hT | |
| 97 | - intro f | |
| 98 | - exact integralLinear_bound T hT f | |
| 99 | - | |
| 100 | 94 | @[simp] theorem integral_initial (f : C(Icc (0 : ℝ) T,E)) : |
| 101 | 95 | integral T hT f ⟨0,le_rfl,hT⟩ = 0 := by |
| 102 | 96 | exact intervalIntegral.integral_same |
+0 −7 Euler/ContinuousTimeWeight.lean View file
| @@ -66,13 +66,6 @@ theorem normalize_norm_le (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | ||
| 66 | 66 | _ ≤ (g t)⁻¹ * (D*g t) := mul_le_mul_of_nonneg_left (hf t) (inv_nonneg.mpr (hg t).le) |
| 67 | 67 | _ = D := by field_simp [(hg t).ne'] |
| 68 | 68 | |
| 69 | -/-- Scalar normalization commutes with every coefficient multiplier. -/ | |
| 70 | -theorem normalize_multiplier (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | |
| 71 | - (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : | |
| 72 | - normalize g hg (multiplier A f) = multiplier A (normalize g hg f) := by | |
| 73 | - ext t | |
| 74 | - simp only [normalize_apply, multiplier_apply, map_smul] | |
| 75 | - | |
| 76 | 69 | /-- Scalar weighting commutes with every coefficient multiplier. -/ |
| 77 | 70 | theorem weight_multiplier (g : C(K,ℝ)) (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : |
| 78 | 71 | weight g (multiplier A f) = multiplier A (weight g f) := by |
+0 −14 Euler/CorrectionAssemblyCommon.lean View file
| @@ -55,20 +55,6 @@ theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | ||
| 55 | 55 | ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := |
| 56 | 56 | F.equation 6 le_rfl t ht |
| 57 | 57 | |
| 58 | -/-- Every other genuine finite-order correction realizes this same common field. | |
| 59 | -Consequently bounds proved for any particular finite solver may be transferred to the assembled solution. -/ | |
| 60 | -theorem FiniteFamily.realizes_common (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 61 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 62 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 63 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 64 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 65 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 66 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 67 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) | |
| 68 | - (t : Icc (0 : ℝ) T) : value period (u t) = F.commonPath period t := by | |
| 69 | - rw [F.unique_at_order period C q hq u hi hd hu] | |
| 70 | - exact F.value_common period C q hq t | |
| 71 | - | |
| 72 | 58 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 73 | 59 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 74 | 60 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
+0 −23 Euler/CorrectionAssemblyCompatibility.lean View file
| @@ -54,27 +54,4 @@ theorem FiniteFamily.value_base (F : FiniteFamily period hT A) (C : ComparisonDa | ||
| 54 | 54 | value period (F.solution 6 le_rfl t)) rfl |
| 55 | 55 | (fun n hn ih => (F.value_succ period C n hn t).trans ih) q hq |
| 56 | 56 | |
| 57 | -/-- Every other actual finite-order correction with zero trace and the same genuine PDE and divergence condition equals the supplied finite correction. | |
| 58 | -No comparison estimate or compatibility is assumed. -/ | |
| 59 | -theorem FiniteFamily.unique_at_order (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 60 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 61 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 62 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 63 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 64 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 65 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 66 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) : | |
| 67 | - u = F.solution q hq := by | |
| 68 | - apply inviscid_correction_unique period hq T hT.le (A.atOrder period q) | |
| 69 | - (C.stabilityBudget period q) u (F.solution q hq) | |
| 70 | - · rw [hi, F.initial] | |
| 71 | - · exact hu | |
| 72 | - · exact F.equation q hq | |
| 73 | - · intro t | |
| 74 | - change value period (A.approximation.realization (q+1) t) ∈ _ | |
| 75 | - rw [A.approximation.value_eq] | |
| 76 | - exact C.divergence t | |
| 77 | - · exact hd | |
| 78 | - · exact F.divergence q hq | |
| 79 | - | |
| 80 | 57 | end EulerCorrectionAssembly |
+0 −15 Euler/CorrectionAssemblyData.lean View file
| @@ -76,19 +76,4 @@ structure FiniteFamily {T : ℝ} (hT : 0 < T) (A : Data period T) where | ||
| 76 | 76 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 77 | 77 | ⟨t, ht.1.le, ht.2.le⟩ (solution q hq ⟨t, ht.1.le, ht.2.le⟩))) t |
| 78 | 78 | |
| 79 | -/-- Choose an actual finite correction family from proved finite-existence statements. | |
| 80 | -This is an assembly helper conditional on finite existence, not an independent source existence theorem. -/ | |
| 81 | -def finiteFamilyOfExists {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 82 | - (H : ∀ q (hq : 6 ≤ q), ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), | |
| 83 | - e ⟨0, le_rfl, hT.le⟩ = 0 ∧ | |
| 84 | - (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 85 | - ∀ t (ht : t ∈ Ioo 0 T), | |
| 86 | - HasDerivAt (fun r => value period (extendPath T hT.le e r)) | |
| 87 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 88 | - ⟨t, ht.1.le, ht.2.le⟩ (e ⟨t, ht.1.le, ht.2.le⟩))) t) : FiniteFamily period hT A where | |
| 89 | - solution q hq := Classical.choose (H q hq) | |
| 90 | - initial q hq := (Classical.choose_spec (H q hq)).1 | |
| 91 | - divergence q hq := (Classical.choose_spec (H q hq)).2.1 | |
| 92 | - equation q hq := (Classical.choose_spec (H q hq)).2.2 | |
| 93 | - | |
| 94 | 79 | end EulerCorrectionAssembly |
+0 −8 Euler/CorrectionAssemblyParity.lean View file
| @@ -119,12 +119,4 @@ theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | ||
| 119 | 119 | (F.fieldTower period C).realization q t := |
| 120 | 120 | fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t |
| 121 | 121 | |
| 122 | -/-- Every realization of the actual assembled signed pressure tower is odd. -/ | |
| 123 | -theorem FiniteFamily.pressureTower_odd (F : FiniteFamily period hT A) | |
| 124 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 125 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 126 | - oddReflection period q ((F.pressureTower period C).realization q t) = | |
| 127 | - (F.pressureTower period C).realization q t := | |
| 128 | - fieldTower_realization_odd period (F.pressureTower period C) (F.commonPressure_odd period C P) q t | |
| 129 | - | |
| 130 | 122 | end EulerCorrectionAssembly |
+0 −11 Euler/CorrectionAssemblyPressure.lean View file
| @@ -91,15 +91,4 @@ def FiniteFamily.pressureJet (F : FiniteFamily period hT A) (C : ComparisonData | ||
| 91 | 91 | exact EulerH6Pressure.SpatialJet.restrict |
| 92 | 92 | (toJet period (F.signedPressurePath period (n+6) (by omega) t)) n (by omega) |
| 93 | 93 | |
| 94 | -/-- The common correction satisfies the literal equation with its reconstructed actual signed pressure. -/ | |
| 95 | -theorem FiniteFamily.commonPath_pressure_equation (F : FiniteFamily period hT A) | |
| 96 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 97 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 98 | - (-value period (F.rawSourcePath period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩) - | |
| 99 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).operator | |
| 100 | - (F.commonPressure period ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 101 | - have h := F.commonPath_hasDerivAt period t ht | |
| 102 | - rw [(A.atOrder period 6).source_value period le_rfl] at h | |
| 103 | - exact h | |
| 104 | - | |
| 105 | 94 | end EulerCorrectionAssembly |
+0 −6 Euler/CorrectionOperators.lean View file
| @@ -30,12 +30,6 @@ def linearize (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z : X) : X | ||
| 30 | 30 | @[simp] theorem linearize_apply (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : |
| 31 | 31 | linearize B C z e = B z e + B e z + C e := rfl |
| 32 | 32 | |
| 33 | -/-- The correction source is exactly the difference of the full quadratic equations. -/ | |
| 34 | -theorem quadratic_correction_identity (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : | |
| 35 | - C (z+e) + B (z+e) (z+e) - (C z + B z z) = linearize B C z e + B e e := by | |
| 36 | - simp only [linearize_apply, map_add, add_apply] | |
| 37 | - abel | |
| 38 | - | |
| 39 | 33 | /-- Continuous data give continuous linearized operators. -/ |
| 40 | 34 | theorem linearize_continuous {T : Type*} [TopologicalSpace T] |
| 41 | 35 | (B : T → X →L[ℝ] X →L[ℝ] Y) (C : T → X →L[ℝ] Y) (z : T → X) |
+0 −14 Euler/CorrectionParity.lean View file
| @@ -36,20 +36,6 @@ theorem value_oddReflection {q : ℕ} (u : SobolevSpace period q) : | ||
| 36 | 36 | change -value period (sobolevReflection period q u) = _ |
| 37 | 37 | rw [value_sobolevReflection] |
| 38 | 38 | |
| 39 | -/-- Actual almost-everywhere odd parity is precisely a fixed point of signed reflection. -/ | |
| 40 | -theorem oddReflection_fixed_of_ae {q : ℕ} (u : SobolevSpace period q) | |
| 41 | - (hu : ∀ᵐ x ∂liftMeasure period, value period u (-x) = -value period u x) : | |
| 42 | - oddReflection period q u = u := by | |
| 43 | - apply value_injective period | |
| 44 | - rw [value_oddReflection] | |
| 45 | - have hh : reflection period (value period u) = -value period u := by | |
| 46 | - apply Lp.ext | |
| 47 | - filter_upwards [reflection_ae period (value period u), Lp.coeFn_neg (value period u), hu] | |
| 48 | - with x h1 h2 h3 | |
| 49 | - rw [h1, h2] | |
| 50 | - exact h3 | |
| 51 | - rw [hh, neg_neg] | |
| 52 | - | |
| 53 | 39 | /-- Signed reflection commutes with restriction to the next Sobolev order. -/ |
| 54 | 40 | theorem truncate_oddReflection {q : ℕ} (u : SobolevSpace period (q+1)) : |
| 55 | 41 | truncateOperator period q (oddReflection period (q+1) u) = |
+0 −51 Euler/CorrectionResidualCancellation.lean View file
| @@ -52,55 +52,4 @@ theorem residual_cancellation {q : ℕ} {T : Type*} [TopologicalSpace T] | ||
| 52 | 52 | rw [rawSource_eq_residual_increment period D hq t e,map_add] |
| 53 | 53 | abel |
| 54 | 54 | |
| 55 | -/-- The actual continuous corrected path is the prescribed approximation plus the constructed error. -/ | |
| 56 | -def correctedPath {q : ℕ} {T : ℝ} (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 57 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) : | |
| 58 | - C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := D.approximation+e | |
| 59 | - | |
| 60 | -/-- A zero initial correction preserves the actual initial field. -/ | |
| 61 | -theorem correctedPath_initial {q : ℕ} (T : ℝ) (hT : 0 ≤ T) | |
| 62 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 63 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (he : e ⟨0,le_rfl,hT⟩=0) : | |
| 64 | - correctedPath period D e ⟨0,le_rfl,hT⟩=D.approximation ⟨0,le_rfl,hT⟩ := by | |
| 65 | - change D.approximation ⟨0,le_rfl,hT⟩+e ⟨0,le_rfl,hT⟩=_ | |
| 66 | - rw [he,add_zero] | |
| 67 | - | |
| 68 | -/-- The corrected path retains the genuine lifted divergence constraint by addition in its closed subspace. -/ | |
| 69 | -theorem correctedPath_divergenceFree {q : ℕ} {T : ℝ} | |
| 70 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 71 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 72 | - (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) | |
| 73 | - (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) (t : Icc (0 : ℝ) T) : | |
| 74 | - value period (correctedPath period D e t) ∈ divergenceFreeSpace period D.κ D.direction := | |
| 75 | - (divergenceFreeSpace period D.κ D.direction).add_mem (hz t) (he t) | |
| 76 | - | |
| 77 | -/-- Adding a genuine approximate pressure to the actual correction pressure preserves membership in the lifted gradient space. -/ | |
| 78 | -theorem corrected_pressure_mem_gradient {q : ℕ} {T : Type*} [TopologicalSpace T] | |
| 79 | - (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) | |
| 80 | - (e : SobolevSpace period (q+1)) (pa : SobolevSpace period q) | |
| 81 | - (hpa : value period pa ∈ gradientSpace period D.κ D.direction) : | |
| 82 | - value period (pa+D.pressure period hq t e) ∈ gradientSpace period D.κ D.direction := | |
| 83 | - (gradientSpace period D.κ D.direction).add_mem hpa (D.pressure_mem_gradient period hq t e) | |
| 84 | - | |
| 85 | -/-- Actual approximate and correction derivatives give the zero-residual nonlinear equation for their sum, with the sum of their genuine pressures. -/ | |
| 86 | -theorem correctedPath_hasDerivAt {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) | |
| 87 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 88 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 89 | - (pa : C(Icc (0 : ℝ) T,SobolevSpace period q)) (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 90 | - (hz : HasDerivAt (fun r => truncateOperator period q (extendPath T hT D.approximation r)) | |
| 91 | - (D.residual ⟨t,ht.1.le,ht.2.le⟩- | |
| 92 | - nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (D.approximation ⟨t,ht.1.le,ht.2.le⟩)- | |
| 93 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) t) | |
| 94 | - (he : HasDerivAt (fun r => truncateOperator period q (extendPath T hT e r)) | |
| 95 | - (-D.rawSource period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 96 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 97 | - (D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t) : | |
| 98 | - HasDerivAt (fun r => truncateOperator period q (extendPath T hT (correctedPath period D e) r)) | |
| 99 | - (-nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (correctedPath period D e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 100 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 101 | - (pa ⟨t,ht.1.le,ht.2.le⟩+D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t := by | |
| 102 | - have h := (hz.add he).congr_deriv | |
| 103 | - (residual_cancellation period D hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) | |
| 104 | - convert h using 1 <;> rfl | |
| 105 | - | |
| 106 | 55 | end EulerCorrectionResidualCancellation |
+0 −21 Euler/CorrectionSmoothTimeField.lean View file
| @@ -39,25 +39,4 @@ theorem Budget.correctionCoefficient_timeDerivative (B : Budget P hT A) : | ||
| 39 | 39 | (B.fieldTower P).toSmoothTimeField_timeDerivative_of_interior (B.timeDerivativeTower P) |
| 40 | 40 | hT.le 6 (by norm_num) (B.fieldTower_hasDerivAt_timeDerivativeTower P 6 le_rfl) |
| 41 | 41 | |
| 42 | -theorem Budget.correctionCoefficient_jet_bound (B : Budget P hT A) (n : ℕ) : | |
| 43 | - ‖(B.correctionCoefficient P).jet n‖ ≤ | |
| 44 | - (sobolevEmbeddingConstant P 3 * B.correctionSize P) * | |
| 45 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 46 | - (n.factorial : ℝ)^2 := | |
| 47 | - (B.fieldTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 48 | - (B.correctionSize P) (B.reducedRadius_pos P) (B.correctionSize_nonneg P) | |
| 49 | - (B.fieldTower_reducedNorm P (n+6) n le_rfl) | |
| 50 | - | |
| 51 | -theorem Budget.correctionDerivativeCoefficient_jet_bound (B : Budget P hT A) | |
| 52 | - (C : ℝ) (hC : 0 ≤ C) | |
| 53 | - (hb : ∀ (n : ℕ) (t : Icc (0 : ℝ) T), | |
| 54 | - EulerSobolevGevreyOperators.weightedNorm P 6 n (B.reducedRadius P) | |
| 55 | - ((B.timeDerivativeTower P).realization (n+6) t) ≤ C) (n : ℕ) : | |
| 56 | - ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 57 | - (sobolevEmbeddingConstant P 3 * C) * | |
| 58 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 59 | - (n.factorial : ℝ)^2 := | |
| 60 | - (B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 61 | - C (B.reducedRadius_pos P) hC (hb n) | |
| 62 | - | |
| 63 | 42 | end EulerAllOrderDriftCorrection |
+0 −17 Euler/CorrectionTimeRestriction.lean View file
| @@ -35,21 +35,4 @@ def CorrectionData.comp {q : ℕ} {T U : Type*} [TopologicalSpace T] [Topologica | ||
| 35 | 35 | approximation := D.approximation.comp f |
| 36 | 36 | residual := D.residual.comp f |
| 37 | 37 | |
| 38 | -/-- The restricted correction source is the original actual source at the restricted time. -/ | |
| 39 | -theorem CorrectionData.comp_source {q : ℕ} {T U : Type*} [TopologicalSpace T] [TopologicalSpace U] | |
| 40 | - (D : CorrectionData period q T) (f : C(U,T)) (hq : 6 ≤ q) | |
| 41 | - (t : U) (u : SobolevSpace period (q+1)) : | |
| 42 | - ((D.comp period f).coefficients period hq).apply t u = | |
| 43 | - (D.coefficients period hq).apply (f t) u := rfl | |
| 44 | - | |
| 45 | -/-- Restricting the concrete data gives precisely the same nonlinear mild equation on a shorter interval. -/ | |
| 46 | -theorem CorrectionData.comp_quadraticDuhamel {q : ℕ} (hq : 6 ≤ q) | |
| 47 | - (ν : ℝ) (hν : 0 < ν) {T S : ℝ} (hT : 0 ≤ T) (hTS : T ≤ S) | |
| 48 | - (D : CorrectionData period q (Icc (0 : ℝ) S)) | |
| 49 | - (u₀ : SobolevSpace period (q+1)) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 50 | - (t : Icc (0 : ℝ) T) : | |
| 51 | - quadraticDuhamel period ν hν hT le_rfl | |
| 52 | - ((D.comp period (timeInclusion hTS)).coefficients period hq) u₀ u t = | |
| 53 | - quadraticDuhamel period ν hν hT hTS (D.coefficients period hq) u₀ u t := rfl | |
| 54 | - | |
| 55 | 38 | end EulerCorrectionOperators |
+0 −64 Euler/CylinderActionWords.lean View file
| @@ -46,68 +46,4 @@ theorem path_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftT | ||
| 46 | 46 | |
| 47 | 47 | end Path |
| 48 | 48 | |
| 49 | -def timeTranslateIsometry (T : ℝ) (a : LiftTangent) : | |
| 50 | - TimeLp T (CylinderL2 P V) →ₗᵢ[ℝ] TimeLp T (CylinderL2 P V) := | |
| 51 | - timeLiftIsometry T (translate P a) | |
| 52 | - | |
| 53 | -theorem timeTranslateIsometry_add (T : ℝ) (a b : LiftTangent) (f : TimeLp T (CylinderL2 P V)) : | |
| 54 | - timeTranslateIsometry P T a (timeTranslateIsometry P T b f) = timeTranslateIsometry P T (a+b) f := by | |
| 55 | - apply Lp.ext | |
| 56 | - filter_upwards [timeLift_ae T (translate P a).toContinuousLinearMap (timeTranslateIsometry P T b f), | |
| 57 | - timeLift_ae T (translate P b).toContinuousLinearMap f, | |
| 58 | - timeLift_ae T (translate P (a+b)).toContinuousLinearMap f] with t ha hb hab | |
| 59 | - change timeTranslateIsometry P T a (timeTranslateIsometry P T b f) t = _ at ha | |
| 60 | - change timeTranslateIsometry P T b f t = _ at hb | |
| 61 | - change timeTranslateIsometry P T (a+b) f t = _ at hab | |
| 62 | - rw [ha,hb,hab] | |
| 63 | - exact translate_add P a b (f t) | |
| 64 | - | |
| 65 | -theorem timeTranslateIsometry_zero (T : ℝ) (f : TimeLp T (CylinderL2 P V)) : | |
| 66 | - timeTranslateIsometry P T 0 f = f := by | |
| 67 | - apply Lp.ext | |
| 68 | - filter_upwards [timeLift_ae T (translate P 0).toContinuousLinearMap f] with t ht | |
| 69 | - change timeTranslateIsometry P T 0 f t = _ at ht | |
| 70 | - rw [ht] | |
| 71 | - exact translate_zero P (f t) | |
| 72 | - | |
| 73 | -theorem time_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 74 | - (T : ℝ) (f : TimeLp T (CylinderL2 P V)) | |
| 75 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 76 | - (n : ℕ) (a : LiftTangent) : | |
| 77 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n a = | |
| 78 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n 0 := | |
| 79 | - EulerIsometricAction.block_orbit_constant (X := LiftTangent) | |
| 80 | - (E := TimeLp T (CylinderL2 P V)) (ι := ι) (timeTranslateIsometry (V := V) P T) | |
| 81 | - (fun a b u => timeTranslateIsometry_add P T a b u) | |
| 82 | - (fun u => timeTranslateIsometry_zero P T u) directions q f hf n a | |
| 83 | - | |
| 84 | -theorem pathLp_orbit_contDiff (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 85 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : | |
| 86 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) := by | |
| 87 | - have he : (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) = | |
| 88 | - (pathLpOperator T hT) ∘ (fun a => pathTranslate P a f) := by | |
| 89 | - funext a | |
| 90 | - convert (pathLp_timeLift T hT (translate P a).toContinuousLinearMap f).symm using 1 | |
| 91 | - rfl | |
| 92 | - rw [he] | |
| 93 | - exact (pathLpOperator (E := CylinderL2 P V) T hT).contDiff.comp hf | |
| 94 | - | |
| 95 | -/-- The actual Ctime-to-time-L² inclusion preserves all mixed word blocks | |
| 96 | -with exactly the square-root time length factor. -/ | |
| 97 | -theorem pathLp_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 98 | - (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 99 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) (n : ℕ) (a : LiftTangent) : | |
| 100 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) n a ≤ | |
| 101 | - Real.sqrt T*block directions q (fun b => pathTranslate P b f) n a := by | |
| 102 | - have he : (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) = | |
| 103 | - (pathLpOperator T hT) ∘ (fun b => pathTranslate P b f) := by | |
| 104 | - funext b | |
| 105 | - convert (pathLp_timeLift T hT (translate P b).toContinuousLinearMap f).symm using 1 | |
| 106 | - rfl | |
| 107 | - rw [he] | |
| 108 | - exact (block_comp_clm_le directions q (pathLpOperator (E := CylinderL2 P V) T hT) _ hf n a).trans | |
| 109 | - (mul_le_mul_of_nonneg_right | |
| 110 | - (EulerMeanTimeContinuousTranslation.pathLpOperator_norm_sqrt T hT) | |
| 111 | - (block_nonneg directions q _ n a)) | |
| 112 | - | |
| 113 | 49 | end EulerLpCylinderTranslation |
+0 −12 Euler/CylinderAngleAverage.lean View file
| @@ -81,12 +81,6 @@ omit [CompleteSpace V] in | ||
| 81 | 81 | @[simp] theorem average_apply (u : CylinderL2 P V) : |
| 82 | 82 | average P u = averageIntegral P u := rfl |
| 83 | 83 | |
| 84 | -omit [CompleteSpace V] in | |
| 85 | -theorem average_norm : ‖average (V := V) P‖ ≤ 1 := | |
| 86 | - opNorm_le_bound _ zero_le_one (fun u => by | |
| 87 | - change ‖averageIntegral P u‖ ≤ (1 : ℝ)*‖u‖ | |
| 88 | - simpa only [one_mul] using averageIntegral_norm P u) | |
| 89 | - | |
| 90 | 84 | theorem average_translation (a : LiftTangent) (u : CylinderL2 P V) : |
| 91 | 85 | average P (translate P a u) = translate P a (average P u) := by |
| 92 | 86 | change P⁻¹ • (∫ s in (0 : ℝ)..P, angleCurve P (translate P a u) s) = |
| @@ -203,12 +197,6 @@ def supportedAverage : Supported P V S hS →L[ℝ] Supported P V S hS := | ||
| 203 | 197 | @[simp] theorem supportedAverage_coe (u : Supported P V S hS) : |
| 204 | 198 | (supportedAverage P S hS u : CylinderL2 P V) = average P (u : CylinderL2 P V) := rfl |
| 205 | 199 | |
| 206 | -theorem supportedAverage_norm : ‖supportedAverage (V := V) P S hS‖ ≤ 1 := by | |
| 207 | - apply opNorm_le_bound _ zero_le_one | |
| 208 | - intro u | |
| 209 | - change ‖averageIntegral P (u : CylinderL2 P V)‖ ≤ (1 : ℝ)*‖(u : CylinderL2 P V)‖ | |
| 210 | - simpa only [one_mul] using averageIntegral_norm P (u : CylinderL2 P V) | |
| 211 | - | |
| 212 | 200 | end Supported |
| 213 | 201 | |
| 214 | 202 | end EulerCylinderAngleAverage |
+0 −12 Euler/CylinderAngleAverageEvolution.lean View file
| @@ -50,18 +50,6 @@ omit [CompactSpace K] in | ||
| 50 | 50 | @[simp] theorem supportedPathAverage_apply (p : C(K,Supported P V S hS)) (t : K) : |
| 51 | 51 | supportedPathAverage P S hS p t = supportedAverage P S hS (p t) := rfl |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem include_supportedPathAverage (p : C(K,Supported P V S hS)) : | |
| 55 | - includePath P S hS (supportedPathAverage P S hS p) = pathAverage P (includePath P S hS p) := rfl | |
| 56 | - | |
| 57 | -theorem supportedPathAverage_norm : ‖supportedPathAverage (K := K) (V := V) P S hS‖ ≤ 1 := by | |
| 58 | - apply opNorm_le_bound _ zero_le_one | |
| 59 | - intro p | |
| 60 | - rw [one_mul] | |
| 61 | - apply (ContinuousMap.norm_le _ (norm_nonneg p)).mpr | |
| 62 | - intro t | |
| 63 | - exact (averageIntegral_norm P (p t : CylinderL2 P V)).trans (p.norm_coe_le_norm t) | |
| 64 | - | |
| 65 | 53 | end Paths |
| 66 | 54 | |
| 67 | 55 | section Evolution |
+0 −3 Euler/CylinderAngleAverageRepresentative.lean View file
| @@ -22,9 +22,6 @@ theorem average_full_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 22 | 22 | def sobolevAverage (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 23 | 23 | liftOperator P q (average P) (average_full_translation P) |
| 24 | 24 | |
| 25 | -theorem sobolevAverage_norm (q : ℕ) : ‖sobolevAverage P q‖ ≤ 1 := | |
| 26 | - (norm_liftOperator_le P q (average P) (average_full_translation P)).trans (average_norm P) | |
| 27 | - | |
| 28 | 25 | theorem sobolevAngleCurve_continuous {q : ℕ} (u : SobolevSpace P q) : |
| 29 | 26 | Continuous (fun s : ℝ => sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u) := |
| 30 | 27 | (sobolevTranslation_continuous P u).comp (EulerCylinderAnglePrimitive.angleShift_continuous P) |
+0 −18 Euler/CylinderAngleEvolution.lean View file
| @@ -68,23 +68,5 @@ theorem pathPrimitive_time_derivative (t : Icc (0 : ℝ) T) : | ||
| 68 | 68 | (Icc (0 : ℝ) T) t := |
| 69 | 69 | primitive_hasDerivWithinAt P _ t (extendPath T hT p) (f t) (hd t) |
| 70 | 70 | |
| 71 | -include hd in | |
| 72 | -/-- The literal primitive differentiates within the closed time interval at every angle. -/ | |
| 73 | -theorem classicalPrimitive_time_derivative | |
| 74 | - (hpm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) | |
| 75 | - (hfm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P f hf t (y,(s : AddCircle P)))=0) | |
| 76 | - (t : Icc (0 : ℝ) T) (y : Vector3) (θ : ℝ) : | |
| 77 | - HasDerivWithinAt (fun r => EulerAngleMeanZeroPrimitive.primitive P | |
| 78 | - (fun s => pointField P p hp (projIcc 0 T hT r) (y,(s : AddCircle P))) θ) | |
| 79 | - (EulerAngleMeanZeroPrimitive.primitive P | |
| 80 | - (fun s => pointField P f hf t (y,(s : AddCircle P))) θ) (Icc (0 : ℝ) T) t := by | |
| 81 | - have h := pointField_hasDerivWithinAt P T hT (pathPrimitive P p) (pathPrimitive P f) | |
| 82 | - (pathPrimitive_orbit_contDiff P p hp) (pathPrimitive_orbit_contDiff P f hf) | |
| 83 | - (pathPrimitive_time_derivative P T hT p f hd) t (y,(θ : AddCircle P)) | |
| 84 | - rw [pointField_primitive_formula P f hf hfm t y θ] at h | |
| 85 | - apply h.congr_of_mem _ t.property | |
| 86 | - intro r _ | |
| 87 | - exact (pointField_primitive_formula P p hp hpm (projIcc 0 T hT r) y θ).symm | |
| 88 | - | |
| 89 | 71 | end Time |
| 90 | 72 | end EulerCylinderAnglePrimitive |
+0 −3 Euler/CylinderAnglePrimitive.lean View file
| @@ -98,7 +98,4 @@ theorem primitive_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 98 | 98 | def sobolevPrimitive (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 99 | 99 | liftOperator P q (primitive P) (primitive_translation P) |
| 100 | 100 | |
| 101 | -theorem sobolevPrimitive_norm (q : ℕ) : ‖sobolevPrimitive P q‖ ≤ P := | |
| 102 | - (norm_liftOperator_le P q (primitive P) (primitive_translation P)).trans (primitive_norm P) | |
| 103 | - | |
| 104 | 101 | end EulerCylinderAnglePrimitive |
+0 −22 Euler/CylinderAngleWordBounds.lean View file
| @@ -25,20 +25,6 @@ theorem primitive_mixed_translation (a : LiftTangent) (u : LiftL2 P) : | ||
| 25 | 25 | |
| 26 | 26 | variable {X ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [Fintype ι] |
| 27 | 27 | |
| 28 | -theorem primitive_block_bound (directions : ι → X) (q : ℕ) | |
| 29 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 30 | - block directions q (fun y => primitive P (f y)) n x ≤ P*block directions q f n x := | |
| 31 | - (block_comp_clm_le directions q (primitive P) f hf n x).trans | |
| 32 | - (mul_le_mul_of_nonneg_right (primitive_norm P) (block_nonneg directions q f n x)) | |
| 33 | - | |
| 34 | -theorem primitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 35 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 36 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 37 | - block directions q (fun y => primitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 38 | - (primitive_block_bound P directions q f hf n x).trans | |
| 39 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 40 | - (mul_assoc P C _).symm) | |
| 41 | - | |
| 42 | 28 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 43 | 29 | |
| 44 | 30 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| @@ -71,12 +57,4 @@ theorem pathPrimitive_block_bound (directions : ι → X) (q : ℕ) | ||
| 71 | 57 | have hn : ‖pathPrimitive (K := K) P‖ ≤ P := pathPrimitive_norm P |
| 72 | 58 | exact h.trans (mul_le_mul_of_nonneg_right hn (block_nonneg directions q f n x)) |
| 73 | 59 | |
| 74 | -theorem pathPrimitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 75 | - (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 76 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 77 | - block directions q (fun y => pathPrimitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 78 | - (pathPrimitive_block_bound P directions q f hf n x).trans | |
| 79 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 80 | - (mul_assoc P C _).symm) | |
| 81 | - | |
| 82 | 60 | end EulerCylinderAnglePrimitive |
+0 −14 Euler/CylinderBoundedCover.lean View file
| @@ -55,10 +55,6 @@ def coverMap : SobolevSpace P 3 →L[ℝ] (LiftTangent →ᵇ Space) where | ||
| 55 | 55 | cont := AddMonoidHomClass.continuous_of_bound (coverLinear P) |
| 56 | 56 | (sobolevEmbeddingConstant P 3) (cover_norm_le P) |
| 57 | 57 | |
| 58 | -theorem coverMap_norm_le : ‖coverMap P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 59 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 60 | - exact cover_norm_le P | |
| 61 | - | |
| 62 | 58 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 63 | 59 | |
| 64 | 60 | private local instance : NormedAddCommGroup C(K, SobolevSpace P 3) := inferInstance |
| @@ -69,16 +65,6 @@ private local instance : NormedSpace ℝ C(K, LiftTangent →ᵇ Space) := infer | ||
| 69 | 65 | def coverPathMap : C(K, SobolevSpace P 3) →L[ℝ] C(K, LiftTangent →ᵇ Space) := |
| 70 | 66 | (coverMap P).compLeftContinuous ℝ K |
| 71 | 67 | |
| 72 | -theorem coverPathMap_norm_le : | |
| 73 | - ‖coverPathMap (K := K) P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 74 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 75 | - intro p | |
| 76 | - apply (ContinuousMap.norm_le _ | |
| 77 | - (mul_nonneg (sobolevEmbeddingConstant_nonneg P 3) (norm_nonneg p))).2 | |
| 78 | - intro t | |
| 79 | - exact (cover_norm_le P (p t)).trans | |
| 80 | - (mul_le_mul_of_nonneg_left (p.norm_coe_le_norm t) (sobolevEmbeddingConstant_nonneg P 3)) | |
| 81 | - | |
| 82 | 68 | def coverPath (p : C(K, LiftL2 P)) |
| 83 | 69 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 84 | 70 | C(K, LiftTangent →ᵇ Space) := coverPathMap P (sobolevPath P 3 p hp) |
+0 −6 Euler/CylinderClassicalWordBounds.lean View file
| @@ -86,12 +86,6 @@ theorem representative_strongWord (u : LiftL2 period) (hu : SmoothOrbit period u | ||
| 86 | 86 | · exact smoothField_continuous period _ |
| 87 | 87 | (iteratedFieldDerivative_smooth period w _ (representative_smooth period u hu)) |
| 88 | 88 | |
| 89 | -/-- Every actual classical mixed derivative lies in L²; this is proved from the solved orbit. -/ | |
| 90 | -theorem classicalWord_memLp (u : LiftL2 period) (hu : SmoothOrbit period u) | |
| 91 | - {n : ℕ} (w : Fin n → Fin 4) : | |
| 92 | - MemLp (iteratedFieldDerivative period w (representative period u hu)) 2 (liftMeasure period) := | |
| 93 | - (Lp.memLp (strongWord period u w)).ae_eq (strongWord_ae period u hu w) | |
| 94 | - | |
| 95 | 89 | /-- The actual classical Hq norm is exactly the finite mixed-word base sum. -/ |
| 96 | 90 | theorem classicalBaseSize_eq (q : ℕ) (u : LiftL2 period) (hu : SmoothOrbit period u) : |
| 97 | 91 | liftSobolevNorm period q (representative period u hu) = |
+0 −5 Euler/CylinderCoverDescent.lean View file
| @@ -89,11 +89,6 @@ theorem descendMap_cover (z : LiftTangent) : | ||
| 89 | 89 | descendMap P f (coveringMap P z)=coveringMap P (f z) := |
| 90 | 90 | descend_cover P (coveringMap P ∘ f) (map_fiber_constant P f hdeck) z |
| 91 | 91 | |
| 92 | -include hdeck in | |
| 93 | -theorem descendMap_continuous (hf : Continuous f) : Continuous (descendMap P f) := | |
| 94 | - descend_continuous P _ ((coveringMap_isOpenQuotient P).continuous.comp hf) | |
| 95 | - (map_fiber_constant P f hdeck) | |
| 96 | - | |
| 97 | 92 | include hdeck in |
| 98 | 93 | theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : |
| 99 | 94 | MeasurePreserving (descendMap P f) (liftMeasure P) (liftMeasure P) := |
+0 −28 Euler/CylinderDescentJets.lean View file
| @@ -61,23 +61,6 @@ theorem jetSeries_eq_local (q : LiftDomain P) (n : ℕ) : | ||
| 61 | 61 | rw [jetSeries_cover P f hperiod,localFieldLift_descend_cover P f hperiod, |
| 62 | 62 | iteratedFDeriv_comp_add_left,add_zero] |
| 63 | 63 | |
| 64 | -theorem jetSeries_joint_continuous {K : Type*} [TopologicalSpace K] | |
| 65 | - (F : K → LiftTangent → W) | |
| 66 | - (hF : ∀ t (c : AddSubgroup.zmultiples P) z, F t (z.1,(c : ℝ)+z.2)=F t z) | |
| 67 | - (n : ℕ) | |
| 68 | - (hJ : Continuous (fun z : K × LiftTangent => iteratedFDeriv ℝ n (F z.1) z.2)) : | |
| 69 | - Continuous (fun z : K × LiftDomain P => jetSeries P (F z.1) z.2 n) := | |
| 70 | - descend_joint_continuous P (fun t => iteratedFDeriv ℝ n (F t)) hJ | |
| 71 | - (fun t => fiber_constant_of_deck P _ (iteratedFDeriv_deck P (F t) (hF t) n)) | |
| 72 | - | |
| 73 | -include hperiod in | |
| 74 | -omit [NormedAddCommGroup W] [NormedSpace ℝ W] in | |
| 75 | -theorem descend_comp_map (Φ : LiftTangent → LiftTangent) : | |
| 76 | - descend P (f ∘ Φ) = descend P f ∘ descendMap P Φ := by | |
| 77 | - funext q | |
| 78 | - exact (descend_cover P f (fiber_constant_of_deck P f hperiod) | |
| 79 | - (Φ (sectionPoint P q))).symm | |
| 80 | - | |
| 81 | 64 | include hperiod in |
| 82 | 65 | theorem jetSeries_comp (Φ : LiftTangent → LiftTangent) |
| 83 | 66 | (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : |
| @@ -98,15 +81,4 @@ theorem comp_deck (Φ : LiftTangent → LiftTangent) | ||
| 98 | 81 | (f ∘ Φ) (z.1,(c : ℝ)+z.2)=(f ∘ Φ) z := by |
| 99 | 82 | simp only [Function.comp_def,hΦ,hperiod] |
| 100 | 83 | |
| 101 | -include hperiod in | |
| 102 | -theorem local_jet_comp (Φ : LiftTangent → LiftTangent) | |
| 103 | - (hdeck : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 104 | - Φ (z.1,(c : ℝ)+z.2)=((Φ z).1,(c : ℝ)+(Φ z).2)) | |
| 105 | - (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : | |
| 106 | - iteratedFDeriv ℝ n (localFieldLift P (descend P f ∘ descendMap P Φ) q) 0 = | |
| 107 | - (jetSeries P f (descendMap P Φ q)).taylorComp (jetSeries P Φ q) n := by | |
| 108 | - rw [← descend_comp_map P f hperiod Φ, | |
| 109 | - ← jetSeries_eq_local P (f ∘ Φ) (comp_deck P f hperiod Φ hdeck) q n] | |
| 110 | - exact jetSeries_comp P f hperiod Φ hf hΦ q n | |
| 111 | - | |
| 112 | 84 | end EulerCylinderCoverDescent |
+0 −6 Euler/CylinderDirichletData.lean View file
| @@ -103,12 +103,6 @@ def velocityLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) : | ||
| 103 | 103 | D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) |
| 104 | 104 | D.potential D.potential_nonneg (D.hessian_upper P) D.small |
| 105 | 105 | |
| 106 | -def accelerationLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) := | |
| 107 | - EulerTransverseFixedEvolution.accelerationLp T D.time_pos.le | |
| 108 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 109 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 110 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small | |
| 111 | - | |
| 112 | 106 | def velocityPath : TimeLp T (CylinderL2 P E) →L[ℝ] C(Icc (0 : ℝ) T,CylinderL2 P U) := |
| 113 | 107 | EulerTransverseFixedEvolution.velocityPath T D.time_pos.le |
| 114 | 108 | (D.frame P) (D.frameDerivative P) (D.hessian P) |
+0 −18 Euler/CylinderDirichletNaturality.lean View file
| @@ -35,24 +35,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U V E F : Type*} | ||
| 35 | 35 | |
| 36 | 36 | include hQ hQ₁ hback hback₁ hH |
| 37 | 37 | |
| 38 | -theorem velocityLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 39 | - G.velocityLp P (timeLift T B f) = timeLift T A (D.velocityLp P f) := | |
| 40 | - EulerFixedFrameNaturality.velocityLp_intertwines T D.time_pos.le A B | |
| 41 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 42 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 43 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 44 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 45 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 46 | - | |
| 47 | -theorem accelerationLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 48 | - G.accelerationLp P (timeLift T B f) = timeLift T A (D.accelerationLp P f) := | |
| 49 | - EulerFixedFrameNaturality.accelerationLp_intertwines T D.time_pos.le A B | |
| 50 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 51 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 52 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 53 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 54 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 55 | - | |
| 56 | 38 | theorem velocityPath_intertwines (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 57 | 39 | G.velocityPath P (timeLift T B f) t = A (D.velocityPath P f t) := |
| 58 | 40 | EulerFixedFrameNaturality.velocityPath_intertwines T D.time_pos.le A B |
+0 −48 Euler/CylinderDirichletRegularity.lean View file
| @@ -55,60 +55,12 @@ theorem hessianOrbit_contDiff (hH : ContDiff ℝ ∞ (translateCoefficientPath D | ||
| 55 | 55 | (fullPathMap (K := Icc (0 : ℝ) T) (E := E) (F := E) P).contDiff.comp |
| 56 | 56 | (hH.comp contDiff_fst) |
| 57 | 57 | |
| 58 | -theorem accelerationLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 59 | - (D.shifted a.1).accelerationLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 60 | - timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f) := | |
| 61 | - D.accelerationLp_intertwines P (D.shifted a.1) | |
| 62 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 63 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 64 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 65 | - | |
| 66 | 58 | variable (hQ : ContDiff ℝ ∞ (translateCoefficientPath D.Q)) |
| 67 | 59 | (hQ₁ : ContDiff ℝ ∞ (translateCoefficientPath D.Q₁)) |
| 68 | 60 | (hH : ContDiff ℝ ∞ (translateCoefficientPath D.H)) |
| 69 | 61 | |
| 70 | 62 | include hQ hQ₁ hH |
| 71 | 63 | |
| 72 | -theorem velocityLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 73 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 74 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f)) := by | |
| 75 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 76 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 77 | - change ContDiff ℝ ∞ g at hf | |
| 78 | - have hs := EulerTransverseFixedEvolution.velocityLp_contDiff | |
| 79 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 80 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 81 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 82 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 84 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - g hf | |
| 88 | - convert hs using 1 | |
| 89 | - funext a | |
| 90 | - exact (D.velocityLp_translation P a f).symm | |
| 91 | - | |
| 92 | -theorem accelerationLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 93 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 94 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f)) := by | |
| 95 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 96 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 97 | - change ContDiff ℝ ∞ g at hf | |
| 98 | - have hs := EulerTransverseFixedEvolution.accelerationLp_contDiff | |
| 99 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 100 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 101 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 102 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 103 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 104 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 105 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 106 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 107 | - g hf | |
| 108 | - convert hs using 1 | |
| 109 | - funext a | |
| 110 | - exact (D.accelerationLp_translation P a f).symm | |
| 111 | - | |
| 112 | 64 | theorem velocityPath_orbit_contDiff (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 113 | 65 | (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : |
| 114 | 66 | ContDiff ℝ ∞ (fun a => pathTranslate P a (D.velocityPath P (pathLp T D.time_pos.le f))) := by |
+0 −52 Euler/CylinderDirichletSobolev.lean View file
| @@ -72,56 +72,4 @@ variable {ι : Type*} [Fintype ι] | ||
| 72 | 72 | |
| 73 | 73 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR |
| 74 | 74 | |
| 75 | -/-- Actual cylinder/time L² coordinate velocity: one shift at the original | |
| 76 | -radius and fixed Sobolev order, from forcing bounds at the base translation. -/ | |
| 77 | -theorem velocityLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 78 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 79 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 80 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 81 | - (n : ℕ) (a : LiftTangent) : | |
| 82 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f)) n a ≤ | |
| 83 | - majorant R (d+1) n := by | |
| 84 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 85 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 86 | - change ContDiff ℝ ∞ g at hf | |
| 87 | - have he : (fun b : LiftTangent => (D.shifted b.1).velocityLp P | |
| 88 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 89 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f) := | |
| 90 | - funext (fun b => D.velocityLp_translation P b f) | |
| 91 | - rw [← he] | |
| 92 | - apply EulerTransverseFixedSobolev.velocityLp_block_gevrey directions hdir q T D.time_pos.le | |
| 93 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 94 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 95 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 96 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 97 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 98 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 99 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 100 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 101 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 102 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 103 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hR | |
| 104 | - g hf d _ n a | |
| 105 | - intro k b | |
| 106 | - rw [time_block_constant P directions q T f hf k b] | |
| 107 | - exact hfb k | |
| 108 | - | |
| 109 | -/-- For source intervals of length at most one, continuous forcing embeds | |
| 110 | -with no extra amplitude, and the same history estimate applies. -/ | |
| 111 | -theorem continuous_velocityLp_block_bound (hT1 : T ≤ 1) | |
| 112 | - (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 113 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) | |
| 114 | - (d : ℕ) (hfb : ∀ n, block directions q (fun a => pathTranslate P a f) n 0 ≤ Cf*majorant R d n) | |
| 115 | - (n : ℕ) (a : LiftTangent) : | |
| 116 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 117 | - (D.velocityLp P (pathLp T D.time_pos.le f))) n a ≤ majorant R (d+1) n := by | |
| 118 | - have hsqrt : Real.sqrt T ≤ 1 := by simpa using Real.sqrt_le_sqrt hT1 | |
| 119 | - apply D.velocityLp_block_bound P directions hdir q hQ hQ₁ hH Rc C₀ C₁ CH Cf R hRc | |
| 120 | - hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR (pathLp T D.time_pos.le f) | |
| 121 | - (pathLp_orbit_contDiff P T D.time_pos.le f hf) d _ n a | |
| 122 | - intro k | |
| 123 | - exact (pathLp_block_le P directions q T D.time_pos.le f hf k 0).trans | |
| 124 | - ((mul_le_mul_of_nonneg_right hsqrt (block_nonneg directions q _ k 0)).trans | |
| 125 | - (by simpa only [one_mul] using hfb k)) | |
| 126 | - | |
| 127 | 75 | end EulerCylinderDirichlet.Coefficients |
+0 −22 Euler/CylinderDirichletSupport.lean View file
| @@ -16,12 +16,6 @@ variable (P : ℝ) [Fact (0 < P)] {V : Type*} | ||
| 16 | 16 | def spatialCutoff : CylinderL2 P V →L[ℝ] CylinderL2 P V := |
| 17 | 17 | cutoffOperator (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) |
| 18 | 18 | |
| 19 | -theorem spatialCutoff_norm : ‖spatialCutoff (V := V) P S hS‖ ≤ 1 := by | |
| 20 | - apply opNorm_le_bound _ zero_le_one | |
| 21 | - intro u | |
| 22 | - change ‖cutoff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u‖ ≤ 1*‖u‖ | |
| 23 | - simpa only [one_mul] using cutoff_norm (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u | |
| 24 | - | |
| 25 | 19 | theorem spatialCutoff_fix (u : CylinderL2 P V) : |
| 26 | 20 | u ∈ Supported P V S hS ↔ spatialCutoff P S hS u = u := |
| 27 | 21 | (mem_supportedSpace_iff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u).trans eq_comm |
| @@ -83,22 +77,6 @@ theorem frameDerivative_cutoff_back (t : Icc (0 : ℝ) T) (u : CylinderL2 P U) : | ||
| 83 | 77 | rw [spatialCutoff_adjoint,spatialCutoff_adjoint] |
| 84 | 78 | exact D.frameDerivative_cutoff P S hS t u |
| 85 | 79 | |
| 86 | -theorem velocityLp_cutoff (f : TimeLp T (CylinderL2 P E)) : | |
| 87 | - D.velocityLp P (timeLift T (spatialCutoff P S hS) f) = | |
| 88 | - timeLift T (spatialCutoff P S hS) (D.velocityLp P f) := | |
| 89 | - D.velocityLp_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 90 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 91 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 92 | - (D.hessian_cutoff P S hS) f | |
| 93 | - | |
| 94 | -theorem velocityPath_cutoff (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 95 | - D.velocityPath P (timeLift T (spatialCutoff P S hS) f) t = | |
| 96 | - spatialCutoff P S hS (D.velocityPath P f t) := | |
| 97 | - D.velocityPath_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 98 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 99 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 100 | - (D.hessian_cutoff P S hS) f t | |
| 101 | - | |
| 102 | 80 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 103 | 81 | (hf : ∀ t, f t ∈ Supported P E S hS) |
| 104 | 82 | |
+0 −33 Euler/CylinderDirichletTimeBounds.lean View file
| @@ -60,39 +60,6 @@ variable {ι : Type*} [Fintype ι] | ||
| 60 | 60 | |
| 61 | 61 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hRweak hRstrong |
| 62 | 62 | |
| 63 | -/-- The actual cylinder acceleration in time L², with the same external radius. -/ | |
| 64 | -theorem accelerationLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 65 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 66 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 67 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 68 | - (n : ℕ) (a : LiftTangent) : | |
| 69 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 70 | - (D.accelerationLp P f)) n a ≤ majorant R (d+2) n := by | |
| 71 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 72 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 73 | - change ContDiff ℝ ∞ g at hf | |
| 74 | - have he : (fun b : LiftTangent => (D.shifted b.1).accelerationLp P | |
| 75 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 76 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.accelerationLp P f) := | |
| 77 | - funext (fun b => D.accelerationLp_translation P b f) | |
| 78 | - rw [← he] | |
| 79 | - apply EulerFixedEvolutionSobolev.accelerationLp_block_gevrey directions hdir q T D.time_pos.le | |
| 80 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 81 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 82 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 84 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 88 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 89 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 90 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hRweak hRstrong | |
| 91 | - g hf d _ n a | |
| 92 | - intro k b | |
| 93 | - rw [time_block_constant P directions q T f hf k b] | |
| 94 | - exact hfb k | |
| 95 | - | |
| 96 | 63 | /-- The actual continuous velocity trace from cylinder forcing. -/ |
| 97 | 64 | theorem continuousVelocity_block_bound (hT1 : T ≤ 1) |
| 98 | 65 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
+0 −16 Euler/CylinderDirichletTranslation.lean View file
| @@ -86,22 +86,6 @@ theorem shifted_frameDerivative_back (a : LiftTangent) (t : Icc (0 : ℝ) T) (u | ||
| 86 | 86 | ((translate P a).toContinuousLinearMap).adjoint ((D.shifted a.1).frameDerivative P t u) := |
| 87 | 87 | fullOperator_translation_back P a (D.Q₁ t) u |
| 88 | 88 | |
| 89 | -theorem velocityLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 90 | - (D.shifted a.1).velocityLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 91 | - timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f) := | |
| 92 | - D.velocityLp_intertwines P (D.shifted a.1) | |
| 93 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 94 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 95 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 96 | - | |
| 97 | -theorem velocityPath_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 98 | - (D.shifted a.1).velocityPath P (timeLift T (translate P a).toContinuousLinearMap f) t = | |
| 99 | - translate P a (D.velocityPath P f t) := | |
| 100 | - D.velocityPath_intertwines P (D.shifted a.1) | |
| 101 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 102 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 103 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f t | |
| 104 | - | |
| 105 | 89 | theorem continuousVelocity_translation (a : LiftTangent) |
| 106 | 90 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 107 | 91 | (D.shifted a.1).velocityPath P (pathLp T D.time_pos.le (pathTranslate P a f)) t = |
+0 −41 Euler/CylinderEndpointBounds.lean View file
| @@ -26,45 +26,4 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} | ||
| 26 | 26 | |
| 27 | 27 | include hdir hY hA hYb |
| 28 | 28 | |
| 29 | -theorem coordinate_bound (n : ℕ) : | |
| 30 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ | |
| 31 | - (L.coordinateCost*A)*majorant L.R (d+2) n := | |
| 32 | - terminal_amplitude_bound P directions q (D.endpointCoordinate P) | |
| 33 | - (fun Z hZ => D.endpointCoordinate_orbit_contDiff P L.frame_smooth | |
| 34 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 35 | - L.R L.coordinateCost d (d+2) | |
| 36 | - (fun Z hZ hb => L.coordinate_unit_bound P directions hdir Z hZ d hb) | |
| 37 | - Y hY A hA hYb n | |
| 38 | - | |
| 39 | -theorem acceleration_bound (n : ℕ) : | |
| 40 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ | |
| 41 | - A*majorant L.R (d+3) n := by | |
| 42 | - simpa only [one_mul] using terminal_amplitude_bound P directions q (D.endpointAcceleration P) | |
| 43 | - (fun Z hZ => D.endpointAcceleration_orbit_contDiff P L.frame_smooth | |
| 44 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 45 | - L.R 1 d (d+3) | |
| 46 | - (fun Z hZ hb k => by | |
| 47 | - simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Z hZ d hb k) | |
| 48 | - Y hY A hA hYb n | |
| 49 | - | |
| 50 | -theorem velocity_bound (n : ℕ) : | |
| 51 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ | |
| 52 | - (L.velocityCost*A)*majorant L.R (d+2) n := | |
| 53 | - terminal_amplitude_bound P directions q (D.endpointVelocity P) | |
| 54 | - (fun Z hZ => D.endpointVelocity_orbit_contDiff P L.frame_smooth | |
| 55 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 56 | - L.R L.velocityCost d (d+2) | |
| 57 | - (fun Z hZ hb => L.velocity_unit_bound P directions hdir Z hZ d hb) | |
| 58 | - Y hY A hA hYb n | |
| 59 | - | |
| 60 | -theorem derivative_bound (n : ℕ) : | |
| 61 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ | |
| 62 | - (L.derivativeCost*A)*majorant L.R (d+3) n := | |
| 63 | - terminal_amplitude_bound P directions q (D.endpointDerivative P) | |
| 64 | - (fun Z hZ => D.endpointDerivative_orbit_contDiff P L.frame_smooth | |
| 65 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 66 | - L.R L.derivativeCost d (d+3) | |
| 67 | - (fun Z hZ hb => L.derivative_unit_bound P directions hdir Z hZ d hb) | |
| 68 | - Y hY A hA hYb n | |
| 69 | - | |
| 70 | 29 | end EulerCylinderDirichlet.Coefficients.EndpointBudget |
+0 −25 Euler/CylinderEndpointForcing.lean View file
| @@ -103,29 +103,4 @@ theorem endpointAcceleration_eq_forced (Y : CylinderL2 P U) : | ||
| 103 | 103 | ((uniqueDiffOn_Icc D.time_pos) _ t.property)).symm.trans |
| 104 | 104 | (he.derivWithin ((uniqueDiffOn_Icc D.time_pos) _ t.property)) |
| 105 | 105 | |
| 106 | -theorem endpointVelocity_eq_forced (Y : CylinderL2 P U) : | |
| 107 | - D.endpointVelocity P Y = | |
| 108 | - multiplier (D.frame P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 109 | - D.physicalVelocity P (D.endpointForcing P Y) := by | |
| 110 | - apply ContinuousMap.ext | |
| 111 | - intro t | |
| 112 | - change D.frame P t (D.endpointCoordinate P Y t) = | |
| 113 | - D.frame P t (T⁻¹ • Y)-D.frame P t | |
| 114 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t) | |
| 115 | - rw [D.endpointCoordinate_eq_const_sub P Y t,map_sub] | |
| 116 | - | |
| 117 | -theorem endpointDerivative_eq_forced (Y : CylinderL2 P U) : | |
| 118 | - D.endpointDerivative P Y = | |
| 119 | - multiplier (D.frameDerivative P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 120 | - D.physicalDerivative P (D.endpointForcing P Y) := by | |
| 121 | - apply ContinuousMap.ext | |
| 122 | - intro t | |
| 123 | - change D.frameDerivative P t (D.endpointCoordinate P Y t)+D.frame P t (D.endpointAcceleration P Y t) = | |
| 124 | - D.frameDerivative P t (T⁻¹ • Y)-(D.frameDerivative P t | |
| 125 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t)+ | |
| 126 | - D.frame P t (D.accelerationPath P (D.endpointForcing P Y) t)) | |
| 127 | - rw [D.endpointCoordinate_eq_const_sub P Y t,D.endpointAcceleration_eq_forced P Y, | |
| 128 | - ContinuousMap.neg_apply,map_sub,map_neg] | |
| 129 | - abel | |
| 130 | - | |
| 131 | 106 | end EulerCylinderDirichlet.Coefficients |
+0 −6 Euler/CylinderGradientEmbedding.lean View file
| @@ -76,10 +76,4 @@ theorem smul_embedding_gradient_mem (κ : ℝ) (m : Space) | ||
| 76 | 76 | exact ((Submodule.span ℝ EulerMeanSolenoidal.gradientGenerators).topologicalClosure_minimal |
| 77 | 77 | hgen hclosed) hg |
| 78 | 78 | |
| 79 | -theorem embedding_gradient_mem (κ : ℝ) (hκ : κ ≠ 0) (m : Space) | |
| 80 | - (g : EulerMeanSolenoidal.L2) (hg : g ∈ EulerMeanSolenoidal.gradientSpace) : | |
| 81 | - embedding P g ∈ gradientSpace P κ m := by | |
| 82 | - have h := (gradientSpace P κ m).smul_mem κ⁻¹ (smul_embedding_gradient_mem P κ m g hg) | |
| 83 | - simpa only [smul_smul,inv_mul_cancel₀ hκ,one_smul] using h | |
| 84 | - | |
| 85 | 79 | end EulerCylinderSpatialEmbedding |
+0 −6 Euler/CylinderGraphRealization.lean View file
| @@ -58,10 +58,4 @@ theorem graph_norm_sq_le (w : Lp Vector3 2 (volume : Measure Vector3)) | ||
| 58 | 58 | ((memLp_congr_ae hu).1 (Lp.memLp u)) |
| 59 | 59 | ((memLp_congr_ae hv).1 (Lp.memLp v)) θ hθ).2 |
| 60 | 60 | |
| 61 | -theorem graphRealization_norm_sq_le : | |
| 62 | - ‖graphRealization P f hf u v hu hv θ hθ‖^2 ≤ | |
| 63 | - (2/P)*‖u‖^2+(2*P)*‖v‖^2 := | |
| 64 | - graph_norm_sq_le P f hf u v hu hv θ hθ _ | |
| 65 | - (graphRealization_ae P f hf u v hu hv θ hθ) | |
| 66 | - | |
| 67 | 61 | end EulerCylinderGraphTrace |
+0 −39 Euler/CylinderHeatEquation.lean View file
| @@ -19,15 +19,6 @@ def realHeatList (directions : List LiftTangent) (t : ℝ) (f : LiftL2 period) : | ||
| 19 | 19 | | [] => f |
| 20 | 20 | | a :: tail => realLineHeat period a t (realHeatList tail t f) |
| 21 | 21 | |
| 22 | -theorem realHeatList_eq (directions : List LiftTangent) {t : ℝ} (ht : 0 ≤ t) (f : LiftL2 period) : | |
| 23 | - realHeatList period directions t f = heatList period directions ⟨t, ht⟩ f := by | |
| 24 | - induction directions with | |
| 25 | - | nil => rfl | |
| 26 | - | cons a tail ih => | |
| 27 | - change realLineHeat period a t (realHeatList period tail t f) = | |
| 28 | - lineHeat period a ⟨t, ht⟩ (heatList period tail ⟨t, ht⟩ f) | |
| 29 | - rw [realLineHeat_eq period a ht, ih] | |
| 30 | - | |
| 31 | 22 | theorem realLineHeat_add (a : LiftTangent) (t : ℝ) (f g : LiftL2 period) : |
| 32 | 23 | realLineHeat period a t (f+g) = realLineHeat period a t f + realLineHeat period a t g := by |
| 33 | 24 | simp only [realLineHeat_eq_toNNReal, lineHeat_add] |
| @@ -42,12 +33,6 @@ theorem realHeatList_add (directions : List LiftTangent) (t : ℝ) (f g : LiftL2 | ||
| 42 | 33 | | nil => rfl |
| 43 | 34 | | cons a tail ih => simp only [realHeatList, ih, realLineHeat_add] |
| 44 | 35 | |
| 45 | -theorem realHeatList_smul (directions : List LiftTangent) (t c : ℝ) (f : LiftL2 period) : | |
| 46 | - realHeatList period directions t (c • f) = c • realHeatList period directions t f := by | |
| 47 | - induction directions with | |
| 48 | - | nil => rfl | |
| 49 | - | cons a tail ih => simp only [realHeatList, ih, realLineHeat_smul] | |
| 50 | - | |
| 51 | 36 | @[simp] theorem realHeatList_zero_field (directions : List LiftTangent) (t : ℝ) : |
| 52 | 37 | realHeatList period directions t 0 = 0 := by |
| 53 | 38 | induction directions with |
| @@ -69,11 +54,6 @@ theorem realHeatList_eq_toNNReal (directions : List LiftTangent) (t : ℝ) (f : | ||
| 69 | 54 | lineHeat period a t.toNNReal (heatList period tail t.toNNReal f) |
| 70 | 55 | rw [realLineHeat_eq_toNNReal, ih] |
| 71 | 56 | |
| 72 | -theorem realHeatList_continuous (directions : List LiftTangent) (f : LiftL2 period) : | |
| 73 | - Continuous (fun t : ℝ => realHeatList period directions t f) := by | |
| 74 | - simp_rw [realHeatList_eq_toNNReal] | |
| 75 | - exact (heatList_continuous period directions f).comp continuous_real_toNNReal | |
| 76 | - | |
| 77 | 57 | /-- Every strong coordinate derivative commutes with every finite heat product. -/ |
| 78 | 58 | theorem realHeatList_strongDerivative (directions : List LiftTangent) (a : LiftTangent) (t : ℝ) |
| 79 | 59 | (f g : LiftL2 period) (hD : HasDerivAt (lineOrbit period a f) g 0) : |
| @@ -115,23 +95,4 @@ theorem realHeatList_generator_pos {ι : Type*} (indices : List ι) (direction : | ||
| 115 | 95 | rw [halg] at h |
| 116 | 96 | exact h |
| 117 | 97 | |
| 118 | -/-- The full directional generator identity holds as a right derivative at zero as well. -/ | |
| 119 | -theorem realHeatList_generator_zero {ι : Type*} (indices : List ι) (direction : ι → LiftTangent) | |
| 120 | - (f : LiftL2 period) (df ddf : ι → LiftL2 period) | |
| 121 | - (hD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) f) (df i) 0) | |
| 122 | - (hDD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) (df i)) (ddf i) 0) : | |
| 123 | - HasDerivWithinAt (fun s => realHeatList period (indices.map direction) s f) | |
| 124 | - ((1/2 : ℝ) • (indices.map ddf).sum) (Set.Ici 0) 0 := by | |
| 125 | - have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) | |
| 126 | - (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • (indices.map ddf).sum)) := by | |
| 127 | - have hc : ContinuousAt (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) 0 := | |
| 128 | - ((realHeatList_continuous period _ _).const_smul (1/2 : ℝ)).continuousAt | |
| 129 | - simpa only [realHeatList_zero_time] using (hc.continuousWithinAt (s := Set.Ioi 0)).tendsto | |
| 130 | - apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) | |
| 131 | - (fun t ht => (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).differentiableAt.differentiableWithinAt) | |
| 132 | - (realHeatList_continuous period _ _).continuousAt.continuousWithinAt self_mem_nhdsWithin | |
| 133 | - apply hlim.congr' | |
| 134 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 135 | - exact (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).deriv.symm | |
| 136 | - | |
| 137 | 98 | end EulerGaussianCylinderHeat |
+0 −50 Euler/CylinderPathProductSupport.lean View file
| @@ -32,54 +32,4 @@ variable (p q : C(K,LiftL2 P)) | ||
| 32 | 32 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 33 | 33 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 34 | 34 | |
| 35 | -theorem scalarProductPath_supported_left (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 36 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 37 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 38 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 39 | - (spatialSet_measurable P S hS) _).mpr | |
| 40 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 41 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 42 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P p hp t] | |
| 43 | - with x hz hr hrep hx | |
| 44 | - rw [hr, ← hrep, hz hx, map_zero, zero_smul] | |
| 45 | - | |
| 46 | -theorem scalarProductPath_supported_right (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 47 | - (hs : ∀ t, q t ∈ Supported P Space S hS) (t : K) : | |
| 48 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 49 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 50 | - (spatialSet_measurable P S hS) _).mpr | |
| 51 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 52 | - (spatialSet_measurable P S hS) (q t)).mp (hs t) | |
| 53 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P q hq t] | |
| 54 | - with x hz hr hrep hx | |
| 55 | - rw [hr, ← hrep, hz hx, smul_zero] | |
| 56 | - | |
| 57 | -theorem bilinearProductPath_supported_left (B : Space →L[ℝ] Space →L[ℝ] Space) | |
| 58 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 59 | - bilinearProductPath P B p q hp hq t ∈ Supported P Space S hS := by | |
| 60 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 61 | - (spatialSet_measurable P S hS) _).mpr | |
| 62 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 63 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 64 | - filter_upwards [hzero,bilinearProductPath_ae P B p q hp hq t,pointField_ae P p hp t] | |
| 65 | - with x hz hr hrep hx | |
| 66 | - rw [hr, ← hrep, hz hx, map_zero, zero_apply] | |
| 67 | - | |
| 68 | -theorem scalarDerivativeProductPath_supported (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 69 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (i : Fin 4) (t : K) : | |
| 70 | - scalarDerivativeProductPath P L hL p q hp hq i t ∈ Supported P Space S hS := | |
| 71 | - scalarProductPath_supported_left P S hS p (derivativePath P q i) hp | |
| 72 | - (derivativePath_orbit P q hq i) L hL hs t | |
| 73 | - | |
| 74 | -theorem advectionPath_supported (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 75 | - advectionPath P p q hp hq t ∈ Supported P Space S hS := by | |
| 76 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 77 | - (spatialSet_measurable P S hS) _).mpr | |
| 78 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 79 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 80 | - filter_upwards [hzero,advectionPath_ae P p q hp hq t,pointField_ae P p hp t] | |
| 81 | - with x hz hr hrep hx | |
| 82 | - rw [hr, ← hrep, hz hx] | |
| 83 | - exact map_zero _ | |
| 84 | - | |
| 85 | 35 | end EulerCylinderPathProduct |
+0 −23 Euler/CylinderPeriodicFlow.lean View file
| @@ -33,34 +33,11 @@ theorem flow_cover (s t : ℝ) (z : LiftTangent) : | ||
| 33 | 33 | flow P V s t (coveringMap P z) = coveringMap P (V.flow s t z) := |
| 34 | 34 | descendMap_cover P (V.flow s t) (flow_deck P V hV s t) z |
| 35 | 35 | |
| 36 | -include hV in | |
| 37 | -theorem flow_continuous (s t : ℝ) : Continuous (flow P V s t) := | |
| 38 | - descendMap_continuous P (V.flow s t) (flow_deck P V hV s t) (V.flowHomeomorph s t).continuous | |
| 39 | - | |
| 40 | -include hV in | |
| 41 | -theorem flow_initial (s : ℝ) (q : LiftDomain P) : flow P V s s q=q := by | |
| 42 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 43 | - rw [flow_cover P V hV,V.flow_initial] | |
| 44 | - | |
| 45 | 36 | include hV in |
| 46 | 37 | theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := |
| 47 | 38 | descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) |
| 48 | 39 | (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) |
| 49 | 40 | |
| 50 | -include hV in | |
| 51 | -theorem flow_cocycle (r s t : ℝ) (q : LiftDomain P) : | |
| 52 | - flow P V s t (flow P V r s q)=flow P V r t q := by | |
| 53 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 54 | - rw [flow_cover P V hV,flow_cover P V hV,flow_cover P V hV,V.flow_cocycle] | |
| 55 | - | |
| 56 | -def flowHomeomorph (s t : ℝ) : LiftDomain P ≃ₜ LiftDomain P where | |
| 57 | - toFun := flow P V s t | |
| 58 | - invFun := flow P V t s | |
| 59 | - left_inv := flow_inverse P V hV s t | |
| 60 | - right_inv := flow_inverse P V hV t s | |
| 61 | - continuous_toFun := flow_continuous P V hV s t | |
| 62 | - continuous_invFun := flow_continuous P V hV t s | |
| 63 | - | |
| 64 | 41 | include hV in |
| 65 | 42 | theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by |
| 66 | 43 | have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := |
+0 −25 Euler/CylinderPotentialTime.lean View file
| @@ -50,29 +50,4 @@ theorem potentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 50 | 50 | fullProduct_hasDerivWithinAt P T hT B B₁ hBt (pathPrimitive P p) (pathPrimitive P f) |
| 51 | 51 | (pathPrimitive_time_derivative P T hT p f hd) t |
| 52 | 52 | |
| 53 | -theorem potentialField_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 54 | - HasDerivWithinAt (fun r => potentialField P B hB p hp (projIcc 0 T hT r) x) | |
| 55 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 56 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 57 | - pointField_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 58 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 59 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x | |
| 60 | - | |
| 61 | -/-- The actual curl derivative is obtained from the constructed potential, not assumed as a profile jet. -/ | |
| 62 | -theorem potentialCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 63 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 64 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 65 | - (Icc (0 : ℝ) T) t) : | |
| 66 | - HasDerivWithinAt | |
| 67 | - (fun r => liftedSlowCurl P (F r) (potentialField P B hB p hp (projIcc 0 T hT r)) x) | |
| 68 | - (liftedSlowCurl P (F t) | |
| 69 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 70 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t) x + | |
| 71 | - curlMatrix ((fieldFDeriv P (potentialField P B hB p hp t) x).comp | |
| 72 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 73 | - (Icc (0 : ℝ) T) t := | |
| 74 | - liftedSlowCurl_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 75 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 76 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x F G₁ hG | |
| 77 | - | |
| 78 | 53 | end EulerCylinderPotential |
+0 −5 Euler/CylinderRetractRepresentative.lean View file
| @@ -26,11 +26,6 @@ variable (P : ℝ) [Fact (0 < P)] {U : Type*} | ||
| 26 | 26 | def pointField (t : K) (x : LiftDomain P) : U := |
| 27 | 27 | L (EulerCylinderSmoothOrbit.pointField P (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t x) |
| 28 | 28 | |
| 29 | -theorem pointField_joint_continuous : | |
| 30 | - Continuous (fun z : K × LiftDomain P => pointField P J L p hp z.1 z.2) := | |
| 31 | - L.continuous.comp (EulerCylinderSmoothOrbit.pointField_joint_continuous P | |
| 32 | - (pathMap P J p) (pathMap_orbit_contDiff P J p hp)) | |
| 33 | - | |
| 34 | 29 | theorem pointField_smooth (t : K) (x : LiftDomain P) : |
| 35 | 30 | ContDiff ℝ ∞ (localFieldLift P (pointField P J L p hp t) x) := |
| 36 | 31 | L.contDiff.comp (EulerCylinderSmoothOrbit.pointField_smooth P |
+0 −5 Euler/CylinderScalarClassical.lean View file
| @@ -69,11 +69,6 @@ theorem classicalPrimitive_smooth | ||
| 69 | 69 | rw [he] |
| 70 | 70 | exact hq.comp (contDiff_const.add contDiff_id) |
| 71 | 71 | |
| 72 | -theorem classicalPrimitive_continuous | |
| 73 | - (hfs : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) : | |
| 74 | - Continuous (classicalPrimitive P f hf hmean) := | |
| 75 | - smoothField_continuous P _ (classicalPrimitive_smooth P f hf hmean hfs) | |
| 76 | - | |
| 77 | 72 | omit [Fact (0 < P)] in |
| 78 | 73 | /-- Angular integration does not spread spatial support. -/ |
| 79 | 74 | theorem classicalPrimitive_zero (y : Space) (hy : ∀ θ : AddCircle P, f (y,θ) = 0) (θ : AddCircle P) : |
+0 −7 Euler/CylinderSlowCurl.lean View file
| @@ -98,12 +98,5 @@ theorem field_formula (t : K) (x : LiftDomain P) : | ||
| 98 | 98 | (hD.clm_comp (continuous_const.clm_comp ((G t).continuous.comp continuous_fst))) |
| 99 | 99 | exact congrFun he x |
| 100 | 100 | |
| 101 | -theorem field_eq_liftedSlowCurl (F : K → Space → Space ≃L[ℝ] Space) | |
| 102 | - (hF : ∀ t y, G t y = (F t y).symm.toContinuousLinearMap) (t : K) : | |
| 103 | - field P G hG p hp t = liftedSlowCurl P (F t) (pointField P p hp t) := by | |
| 104 | - funext x | |
| 105 | - rw [field_formula, hF] | |
| 106 | - rfl | |
| 107 | - | |
| 108 | 101 | |
| 109 | 102 | end EulerCylinderSlowCurl |
+0 −10 Euler/CylinderSlowCurlTime.lean View file
| @@ -57,16 +57,6 @@ theorem path_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 57 | 57 | convert h using 1 <;> try rfl |
| 58 | 58 | simp [derivative, path, Finset.sum_add_distrib] |
| 59 | 59 | |
| 60 | -include hGt hd in | |
| 61 | -/-- The reconstructed classical curl has the derivative of the actual L² construction. -/ | |
| 62 | -theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 63 | - HasDerivWithinAt (fun r => field P G hG p hp (projIcc 0 T hT r) x) | |
| 64 | - (pointField P (derivative P T G G₁ p f) | |
| 65 | - (derivative_orbit P T G G₁ hG hG₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 66 | - pointField_hasDerivWithinAt P T hT (path P G p) (derivative P T G G₁ p f) | |
| 67 | - (path_orbit P G hG p hp) (derivative_orbit P T G G₁ hG hG₁ p f hp hf) | |
| 68 | - (path_hasDerivWithinAt P T hT G G₁ p f hp hf hGt hd) t x | |
| 69 | - | |
| 70 | 60 | include hG hG₁ hp hf in |
| 71 | 61 | /-- The true curl time derivative retains the same radius and one spatial shift. -/ |
| 72 | 62 | theorem derivative_block_bound (q : ℕ) (Rc C R D : ℝ) |
+0 −11 Euler/CylinderSobolevDensity.lean View file
| @@ -51,15 +51,4 @@ theorem sobolevMollifier_word_ae {q k : ℕ} (hk : k ≤ q) (n : ℕ) (u : Sobol | ||
| 51 | 51 | rw [toJet_word period u hk] at h |
| 52 | 52 | exact h |
| 53 | 53 | |
| 54 | -/-- Fields with actual smooth cylinder representatives are dense in the complete Sobolev space. -/ | |
| 55 | -theorem smooth_representatives_dense (q : ℕ) : | |
| 56 | - Dense {u : SobolevSpace period q | ∃ g : LiftDomain period → Vector3, | |
| 57 | - (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 58 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)} := by | |
| 59 | - intro u | |
| 60 | - apply mem_closure_of_tendsto (sobolevMollifier_tendsto period u) | |
| 61 | - exact Filter.Eventually.of_forall fun n => | |
| 62 | - ⟨smoothMollifier period n (value period u), sobolevMollifier_representative period n u, | |
| 63 | - smoothMollifier_smooth period n (value period u)⟩ | |
| 64 | - | |
| 65 | 54 | end EulerCylinderSobolevSpace |
+0 −23 Euler/CylinderSobolevOperators.lean View file
| @@ -96,12 +96,6 @@ theorem liftOperator_bound {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) | ||
| 96 | 96 | intro w |
| 97 | 97 | exact (A.le_opNorm _).trans (mul_le_mul_of_nonneg_left (word_norm_le period u w) (norm_nonneg A)) |
| 98 | 98 | |
| 99 | -/-- The operator norm bound for an operator lifted to the complete Sobolev space. -/ | |
| 100 | -theorem norm_liftOperator_le (q : ℕ) (A : LiftL2 period →L[ℝ] LiftL2 period) | |
| 101 | - (hA : ∀ a f, A (translation period a f) = translation period a (A f)) : | |
| 102 | - ‖liftOperator period q A hA‖ ≤ ‖A‖ := | |
| 103 | - ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg A) (liftOperator_bound period A hA) | |
| 104 | - | |
| 105 | 99 | /-- The action on the underlying field is exactly the original L² operator. -/ |
| 106 | 100 | @[simp] |
| 107 | 101 | theorem value_liftOperator {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) |
| @@ -117,23 +111,6 @@ theorem translations_commute (a b : LiftDomain period) (f : LiftL2 period) : | ||
| 117 | 111 | def sobolevTranslation (q : ℕ) (a : LiftDomain period) : SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 118 | 112 | liftOperator period q (translation period a).toContinuousLinearMap (translations_commute period a) |
| 119 | 113 | |
| 120 | -/-- Cylinder translation preserves the complete Sobolev norm exactly. -/ | |
| 121 | -theorem sobolevTranslation_norm {q : ℕ} (a : LiftDomain period) (u : SobolevSpace period q) : | |
| 122 | - ‖sobolevTranslation period q a u‖ = ‖u‖ := by | |
| 123 | - apply le_antisymm | |
| 124 | - · change ‖(sobolevTranslation period q a u).val‖ ≤ ‖u.val‖ | |
| 125 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg u.val)).mpr | |
| 126 | - intro w | |
| 127 | - change ‖translation period a (u.val w)‖ ≤ ‖u.val‖ | |
| 128 | - rw [(translation period a).norm_map] | |
| 129 | - exact norm_le_pi_norm u.val w | |
| 130 | - · change ‖u.val‖ ≤ ‖(sobolevTranslation period q a u).val‖ | |
| 131 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr | |
| 132 | - intro w | |
| 133 | - have h := norm_le_pi_norm (sobolevTranslation period q a u).val w | |
| 134 | - change ‖translation period a (u.val w)‖ ≤ _ at h | |
| 135 | - simpa only [(translation period a).norm_map] using h | |
| 136 | - | |
| 137 | 114 | /-- The translation action is strongly continuous in the complete Sobolev topology. -/ |
| 138 | 115 | theorem sobolevTranslation_continuous {q : ℕ} (u : SobolevSpace period q) : |
| 139 | 116 | Continuous (fun a => sobolevTranslation period q a u) := by |
+0 −3 Euler/CylinderSobolevSpace.lean View file
| @@ -56,9 +56,6 @@ instance sobolevNormedAddCommGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace | ||
| 56 | 56 | instance sobolevNormedSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := |
| 57 | 57 | inferInstanceAs (NormedSpace ℝ (sobolevSubspace period q).toSubmodule) |
| 58 | 58 | |
| 59 | -/-- Completeness follows from closedness of the derivative graphs in a finite product of L² spaces. -/ | |
| 60 | -theorem sobolev_complete (q : ℕ) : CompleteSpace (SobolevSpace period q) := inferInstance | |
| 61 | - | |
| 62 | 59 | /-- The underlying L² field of a Sobolev derivative array. -/ |
| 63 | 60 | def value {q : ℕ} (u : SobolevSpace period q) : LiftL2 period := u.val (emptyWord q) |
| 64 | 61 | |
+0 −10 Euler/CylinderSpatialMeanPath.lean View file
| @@ -67,14 +67,4 @@ theorem pathMean_block_bound (directions : ι → X) (q : ℕ) | ||
| 67 | 67 | directions q (pathMean (K := K) (V := V) P) f hf n x |
| 68 | 68 | exact h.trans (mul_le_mul_of_nonneg_right (pathMean_norm P) (block_nonneg directions q f n x)) |
| 69 | 69 | |
| 70 | -theorem pathMean_block_majorant (directions : ι → X) (q : ℕ) | |
| 71 | - (f : X → C(K,CylinderL2 P V)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 72 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 73 | - block directions q (fun y => pathMean P (f y)) n x ≤ | |
| 74 | - ((P⁻¹*Real.sqrt P)*C)*majorant R d n := | |
| 75 | - (pathMean_block_bound P directions q f hf n x).trans | |
| 76 | - ((mul_le_mul_of_nonneg_left (hb n x) | |
| 77 | - (mul_nonneg (inv_nonneg.mpr (le_of_lt (Fact.out : 0 < P))) (Real.sqrt_nonneg P))).trans_eq | |
| 78 | - (mul_assoc (P⁻¹*Real.sqrt P) C _).symm) | |
| 79 | - | |
| 80 | 70 | end EulerCylinderSpatialMean |
+0 −5 Euler/CylinderSpatialMeanTime.lean View file
| @@ -43,9 +43,4 @@ theorem mean_pointField_eq (t : K) : | ||
| 43 | 43 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 44 | 44 | · exact pathMean_pointField_ae P p hp t |
| 45 | 45 | |
| 46 | -theorem rawMean_pointField_contDiff (t : K) : | |
| 47 | - ContDiff ℝ ∞ (rawMean P (pointField P p hp t)) := by | |
| 48 | - rw [← mean_pointField_eq P p hp t] | |
| 49 | - exact EulerMeanSmoothRepresentative.representative_smooth _ _ | |
| 50 | - | |
| 51 | 46 | end EulerCylinderSpatialMean |
+0 −36 Euler/CylinderTerminalAmplitude.lean View file
| @@ -37,40 +37,4 @@ theorem constantPath_block_le (directions : ι → LiftTangent) (q : ℕ) | ||
| 37 | 37 | exact hb.trans ((mul_le_mul_of_nonneg_right hn (block_nonneg directions q _ n a)).trans_eq |
| 38 | 38 | (one_mul _)) |
| 39 | 39 | |
| 40 | -theorem terminal_amplitude_bound (directions : ι → LiftTangent) (q : ℕ) | |
| 41 | - (S : CylinderL2 P U →L[ℝ] C(K,CylinderL2 P V)) | |
| 42 | - (hs : ∀ Y : CylinderL2 P U, ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y) → | |
| 43 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (S Y))) | |
| 44 | - (R C : ℝ) (d e : ℕ) | |
| 45 | - (hunit : ∀ Y : CylinderL2 P U, ∀ _hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y), | |
| 46 | - (∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant R d n) → | |
| 47 | - ∀ n, block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ C*majorant R e n) | |
| 48 | - (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) | |
| 49 | - (A : ℝ) (hA : 0 ≤ A) | |
| 50 | - (hb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ A*majorant R d n) | |
| 51 | - (n : ℕ) : | |
| 52 | - block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ (C*A)*majorant R e n := by | |
| 53 | - by_cases hAz : A = 0 | |
| 54 | - · have hy : Y = 0 := by | |
| 55 | - have hh := value_zero_of_block_zero_bound directions q | |
| 56 | - (fun a : LiftTangent => translate P a Y) 0 (by simpa only [hAz,zero_mul] using hb 0) | |
| 57 | - simpa only [translate_zero] using hh | |
| 58 | - simp only [hy,map_zero,block_zero_function,hAz,mul_zero,zero_mul,le_refl] | |
| 59 | - · have hAp : 0 < A := lt_of_le_of_ne hA (Ne.symm hAz) | |
| 60 | - let Z : CylinderL2 P U := A⁻¹ • Y | |
| 61 | - have hZ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Z) := by | |
| 62 | - simpa only [Z,map_smul] using hY.const_smul A⁻¹ | |
| 63 | - have hbZ (k : ℕ) : block directions q (fun a : LiftTangent => translate P a Z) k 0 ≤ | |
| 64 | - majorant R d k := by | |
| 65 | - have hz := block_normalize_bound directions q (fun a : LiftTangent => translate P a Y) | |
| 66 | - hY A hAp R 1 d k 0 (by simpa only [one_mul] using hb k) | |
| 67 | - simpa only [Z,map_smul,one_mul] using hz | |
| 68 | - have hr := block_restore_bound directions q | |
| 69 | - (fun a : LiftTangent => pathTranslate P a (S Z)) | |
| 70 | - (fun a : LiftTangent => pathTranslate P a (S Y)) (hs Z hZ) A hA (by | |
| 71 | - intro a | |
| 72 | - simp only [Z,map_smul,smul_smul,mul_inv_cancel₀ hAz,one_smul]) R C e n 0 | |
| 73 | - (hunit Z hZ hbZ n) | |
| 74 | - exact hr.trans_eq (by ring) | |
| 75 | - | |
| 76 | 40 | end EulerLpCylinderTranslation |
+0 −10 Euler/CylinderTimePrecomposition.lean View file
| @@ -53,14 +53,4 @@ theorem pointField_timeComp (p : C(K,CylinderL2 P Space)) | ||
| 53 | 53 | · exact smoothField_continuous P _ (pointField_smooth P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) |
| 54 | 54 | · exact smoothField_continuous P _ (pointField_smooth P p hp (φ t)) |
| 55 | 55 | |
| 56 | -theorem scalarPointField_timeComp (p : C(K,CylinderL2 P ℝ)) | |
| 57 | - (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) (φ : C(L,K)) (t : L) : | |
| 58 | - scalarPointField P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t = | |
| 59 | - scalarPointField P p hp (φ t) := | |
| 60 | - Measure.eq_of_ae_eq | |
| 61 | - ((scalarPointField_ae P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t).symm.trans | |
| 62 | - (scalarPointField_ae P p hp (φ t))) | |
| 63 | - (scalarPointField_continuous P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) | |
| 64 | - (scalarPointField_continuous P p hp (φ t)) | |
| 65 | - | |
| 66 | 56 | end EulerLpCylinderTranslation |
+0 −18 Euler/DeformationTimeInverse.lean View file
| @@ -43,22 +43,4 @@ theorem inverse_strain_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) | ||
| 43 | 43 | have h := inverse_hasDerivWithinAt s t ht F G (M.comp (F t)) hFG hGF hF |
| 44 | 44 | rwa [ContinuousLinearMap.comp_assoc M (F t) (G t), hFG t ht, ContinuousLinearMap.comp_id] at h |
| 45 | 45 | |
| 46 | -def adjointVector (m₀ : Space) : (Space →L[ℝ] Space) →L[ℝ] Space := | |
| 47 | - (ContinuousLinearMap.apply ℝ Space m₀).comp | |
| 48 | - (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap | |
| 49 | - : (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space)) | |
| 50 | - | |
| 51 | -/-- The actual transported normal satisfies m_t=−M* m. -/ | |
| 52 | -theorem normal_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) | |
| 53 | - (F G : ℝ → Space →L[ℝ] Space) (M : Space →L[ℝ] Space) (m₀ : Space) | |
| 54 | - (hFG : ∀ r ∈ s, (F r).comp (G r) = ContinuousLinearMap.id ℝ Space) | |
| 55 | - (hGF : ∀ r ∈ s, (G r).comp (F r) = ContinuousLinearMap.id ℝ Space) | |
| 56 | - (hF : HasDerivWithinAt F (M.comp (F t)) s t) : | |
| 57 | - HasDerivWithinAt (fun r => (G r).adjoint m₀) (-(M.adjoint ((G t).adjoint m₀))) s t := by | |
| 58 | - have h := (adjointVector m₀).hasFDerivAt.comp_hasDerivWithinAt t | |
| 59 | - (inverse_strain_hasDerivWithinAt s t ht F G M hFG hGF hF) | |
| 60 | - convert h using 1 <;> try rfl | |
| 61 | - change -(M.adjoint ((G t).adjoint m₀)) = (-((G t).comp M)).adjoint m₀ | |
| 62 | - simp only [map_neg, adjoint_comp, neg_apply, comp_apply] | |
| 63 | - | |
| 64 | 46 | end EulerDeformationTime |
+0 −32 Euler/DevelopmentBridge.lean View file
| @@ -21,36 +21,4 @@ namespace Euler.ComparatorBridge | ||
| 21 | 21 | |
| 22 | 22 | local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) |
| 23 | 23 | |
| 24 | -theorem divergence_eq_development (v : ℝ³ → ℝ³) (x : ℝ³) : | |
| 25 | - Euler.divergence v x = EulerSmoothLimit.divergence v x := rfl | |
| 26 | - | |
| 27 | -theorem admissible_initial_data | |
| 28 | - (A : EulerLpTranslation.SmoothL2Field ℝ³) (hc : HasCompactSupport A.field) | |
| 29 | - (hd : ∀ x, EulerSmoothLimit.divergence A.field x = 0) : | |
| 30 | - InitialVelocityConditionDecay A.field := | |
| 31 | - initialVelocityConditionDecay_of_compact A.field A.smooth hc hd | |
| 32 | - | |
| 33 | -theorem exists_smoothL2Field_iff | |
| 34 | - {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 35 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) (t : ℝ) (ht : 0 ≤ t) : | |
| 36 | - (∃ A : EulerLpTranslation.SmoothL2Field ℝ³, A.field = (v · t)) ↔ | |
| 37 | - ∀ m : ℕ, MemLp (iteratedFDeriv ℝ m (v · t)) 2 volume := by | |
| 38 | - constructor | |
| 39 | - · rintro ⟨A, hA⟩ m | |
| 40 | - rw [← hA] | |
| 41 | - exact A.integrable m | |
| 42 | - · intro hjets | |
| 43 | - exact ⟨⟨(v · t), h.velocity_contDiff t ht, hjets⟩, rfl⟩ | |
| 44 | - | |
| 45 | -/-- A conversion once the required all-order spatial integrability is proved. | |
| 46 | -This hypothesis is deliberately explicit; the Comparator does not provide it. -/ | |
| 47 | -def velocityField | |
| 48 | - {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 49 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 50 | - (hjets : ∀ t ≥ 0, ∀ m : ℕ, MemLp (iteratedFDeriv ℝ m (v · t)) 2 volume) | |
| 51 | - (t : ℝ) (ht : 0 ≤ t) : EulerLpTranslation.SmoothL2Field ℝ³ where | |
| 52 | - field := (v · t) | |
| 53 | - smooth := h.velocity_contDiff t ht | |
| 54 | - integrable := hjets t ht | |
| 55 | - | |
| 56 | 24 | end Euler.ComparatorBridge |
+0 −17 Euler/FamilyNormTime.lean View file
| @@ -42,21 +42,4 @@ theorem familyNormTime_tendsto (T : ℝ) (u : ℕ → TimeLp T (I → H)) (v : T | ||
| 42 | 42 | Filter.Tendsto (fun n => familyNormTime T (u n)) Filter.atTop (𝓝 (familyNormTime T v)) := |
| 43 | 43 | (familyNorm_lipschitz.continuous_compLp (by simp [familyNorm, familySquaredNorm])).continuousAt.tendsto.comp hu |
| 44 | 44 | |
| 45 | -/-- Weighted time integrals of actual family forcing norms pass through strong L² approximations. -/ | |
| 46 | -theorem integral_familyNorm_tendsto (T : ℝ) (a : TimeLp T ℝ) | |
| 47 | - (u : ℕ → TimeLp T (I → H)) (v : TimeLp T (I → H)) | |
| 48 | - (hu : Filter.Tendsto u Filter.atTop (𝓝 v)) : | |
| 49 | - Filter.Tendsto (fun n => ∫ t, a t * familyNorm (u n t) ∂timeMeasure T) Filter.atTop | |
| 50 | - (𝓝 (∫ t, a t * familyNorm (v t) ∂timeMeasure T)) := by | |
| 51 | - have he (f : TimeLp T (I → H)) : ⟪a, familyNormTime T f⟫_ℝ = | |
| 52 | - ∫ t, a t * familyNorm (f t) ∂timeMeasure T := by | |
| 53 | - rw [L2.inner_def] | |
| 54 | - apply integral_congr_ae | |
| 55 | - filter_upwards [familyNormTime_ae T f] with t ht | |
| 56 | - rw [ht] | |
| 57 | - simp [RCLike.inner_apply, mul_comm] | |
| 58 | - have h : Filter.Tendsto (fun n => ⟪a, familyNormTime T (u n)⟫_ℝ) Filter.atTop (𝓝 ⟪a, familyNormTime T v⟫_ℝ) := | |
| 59 | - Filter.Tendsto.inner tendsto_const_nhds (familyNormTime_tendsto T u v hu) | |
| 60 | - simpa only [he] using h | |
| 61 | - | |
| 62 | 45 | end EulerFamilyNormTime |
+0 −10 Euler/FieldTowerCanonicalGraph.lean View file
| @@ -31,16 +31,6 @@ theorem canonicalGraphWordPath_norm_sq_le (n : ℕ) (w : Fin n → Fin 4) | ||
| 31 | 31 | (2/P+2*P)*‖A.realization (n+1) t‖^2 := |
| 32 | 32 | A.graphWordPath_norm_sq_le A.pointField A.pointField_smooth A.pointField_ae θ hθ n w t |
| 33 | 33 | |
| 34 | -theorem canonicalGraphWordPath_norm_sq_le_high (n : ℕ) (w : Fin n → Fin 4) | |
| 35 | - (q : ℕ) (hq : n+1 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 36 | - ‖A.canonicalGraphWordPath θ hθ n w t‖^2 ≤ | |
| 37 | - (2/P+2*P)*‖A.realization q t‖^2 := by | |
| 38 | - have hn := restrictOperator_bound P hq (A.realization q t) | |
| 39 | - rw [A.restrict_realization] at hn | |
| 40 | - have hP : 0 < P := Fact.out | |
| 41 | - exact (A.canonicalGraphWordPath_norm_sq_le θ hθ n w t).trans | |
| 42 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hn 2) (by positivity)) | |
| 43 | - | |
| 44 | 34 | theorem canonicalGraphWordPath_hasDerivAt (B : EulerAllOrderCorrectionData.FieldTower P T) |
| 45 | 35 | (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) (q : ℕ) (hq : n+1 ≤ q) |
| 46 | 36 | (t : ℝ) (ht : t ∈ Ioo 0 T) |
+0 −4 Euler/FieldTowerJetLp.lean View file
| @@ -75,8 +75,4 @@ theorem coverTensor_weighted (n : ℕ) (ρ C : ℝ) (hρ : 0 < ρ) | ||
| 75 | 75 | mul_le_mul_of_nonneg_left hlevel (pow_nonneg (norm_nonneg _) n) |
| 76 | 76 | _ = _ := by rw [weight, div_div_eq_mul_div, mul_pow, inv_pow]; ring |
| 77 | 77 | |
| 78 | -theorem toSmoothTimeField_jetSeries (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 79 | - (fun q => jetSeries P (A.toSmoothTimeField.field t : LiftTangent → Vector3) q n) = | |
| 80 | - tensor P (A.pointField t) n := rfl | |
| 81 | - | |
| 82 | 78 | end EulerAllOrderCorrectionData.FieldTower |
+0 −9 Euler/FieldTowerPointwiseGevrey.lean View file
| @@ -92,13 +92,4 @@ theorem pointField_wordSum_gevrey (s q N n : ℕ) (hq : 3 ≤ q) | ||
| 92 | 92 | simpa only [mul_comm] using hw |
| 93 | 93 | exact hd.trans_eq (by rw [weight, div_div_eq_mul_div, inv_pow]; ring) |
| 94 | 94 | |
| 95 | -theorem pointField_word_gevrey (s q N n : ℕ) (hq : 3 ≤ q) | |
| 96 | - (hns : n+q ≤ s) (hnN : n ≤ N) (ρ C : ℝ) (hρ : 0 < ρ) | |
| 97 | - (t : Icc (0 : ℝ) T) (hC : weightedNorm P q N ρ (A.realization s t) ≤ C) | |
| 98 | - (w : Fin n → Fin 4) (x : LiftDomain P) : | |
| 99 | - ‖iteratedFieldDerivative P w (A.pointField t) x‖ ≤ | |
| 100 | - (sobolevEmbeddingConstant P 3*C)*(ρ⁻¹)^n*(n.factorial : ℝ)^2 := | |
| 101 | - (single_le_sum (fun v _ => norm_nonneg (iteratedFieldDerivative P v (A.pointField t) x)) (mem_univ w)).trans | |
| 102 | - (A.pointField_wordSum_gevrey s q N n hq hns hnN ρ C hρ t hC x) | |
| 103 | - | |
| 104 | 95 | end EulerAllOrderCorrectionData.FieldTower |
+0 −8 Euler/FieldTowerRepresentative.lean View file
| @@ -55,12 +55,4 @@ theorem pointField_eq_high (q : ℕ) (hq : 3 ≤ q) (t : Icc (0 : ℝ) T) | ||
| 55 | 55 | A.pointField t x = pointEvaluation P x (restrictOperator P hq (A.realization q t)) := |
| 56 | 56 | congrArg (pointEvaluation P x) (A.restrict_realization hq t).symm |
| 57 | 57 | |
| 58 | -theorem pointField_hasDerivWithinAt (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 59 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 60 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization 3)) | |
| 61 | - (B.realization 3 t) (Icc (0 : ℝ) T) t) (x : LiftDomain P) : | |
| 62 | - HasDerivWithinAt (fun r => A.pointField (projIcc 0 T hT r) x) | |
| 63 | - (B.pointField t x) (Icc (0 : ℝ) T) t := | |
| 64 | - (pointEvaluation P x).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hd | |
| 65 | - | |
| 66 | 58 | end EulerAllOrderCorrectionData.FieldTower |
+0 −8 Euler/FieldTowerSmoothTimeField.lean View file
| @@ -74,14 +74,6 @@ def toSmoothTimeField : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := | ||
| 74 | 74 | @[simp] theorem toSmoothTimeField_apply (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 75 | 75 | A.toSmoothTimeField.field t x = A.pointField t (coveringMap P x) := rfl |
| 76 | 76 | |
| 77 | -theorem toSmoothTimeField_timeDerivative (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 78 | - (hT : 0 ≤ T) | |
| 79 | - (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT (A.realization 3)) | |
| 80 | - (B.realization 3 t) (Icc (0 : ℝ) T) t) : | |
| 81 | - SmoothTimeField.TimeDerivative T hT A.toSmoothTimeField B.toSmoothTimeField := by | |
| 82 | - intro t x | |
| 83 | - exact A.pointField_hasDerivWithinAt B hT t (hd t) (coveringMap P x) | |
| 84 | - | |
| 85 | 77 | theorem toSmoothTimeField_timeDerivative_of_interior |
| 86 | 78 | (B : EulerAllOrderCorrectionData.FieldTower P T) (hT : 0 ≤ T) |
| 87 | 79 | (q : ℕ) (hq : 3 ≤ q) |
+0 −16 Euler/FieldTowerTimeRestriction.lean View file
| @@ -17,22 +17,6 @@ local instance restrictionSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace P q) : | ||
| 17 | 17 | local instance restrictionTopology (q : ℕ) : TopologicalSpace (SobolevSpace P q) := |
| 18 | 18 | (inferInstance : PseudoMetricSpace (SobolevSpace P q)).toUniformSpace.toTopologicalSpace |
| 19 | 19 | |
| 20 | -theorem realization_hasDerivWithinAt_of_le {p q : ℕ} (h : q ≤ p) | |
| 21 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 22 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization p)) | |
| 23 | - (B.realization p t) (Icc (0 : ℝ) T) t) : | |
| 24 | - HasDerivWithinAt (extendPath T hT (A.realization q)) | |
| 25 | - (B.realization q t) (Icc (0 : ℝ) T) t := by | |
| 26 | - have hder : HasDerivWithinAt | |
| 27 | - (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) | |
| 28 | - (restrictOperator P h (B.realization p t)) (Icc (0 : ℝ) T) t := | |
| 29 | - (restrictOperator P h).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hd | |
| 30 | - have he : (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) = | |
| 31 | - extendPath T hT (A.realization q) := | |
| 32 | - funext (fun r => A.restrict_realization h (projIcc 0 T hT r)) | |
| 33 | - rw [he,B.restrict_realization h t] at hder | |
| 34 | - exact hder | |
| 35 | - | |
| 36 | 20 | theorem realization_hasDerivAt_of_le {p q : ℕ} (h : q ≤ p) |
| 37 | 21 | (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) |
| 38 | 22 | (hd : HasDerivAt (extendPath T hT (A.realization p)) |
+0 −4 Euler/FieldTowerVolumeSobolev.lean View file
| @@ -68,10 +68,6 @@ def volumeTensorPath : C(Icc (0 : ℝ) T, | ||
| 68 | 68 | Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3)) := |
| 69 | 69 | EulerVolumeSobolevPath.tensorPath Y hmp (fun i => A.physicalTensorPath k m i) D hD hJ hB |
| 70 | 70 | |
| 71 | -theorem volumePointField_smooth (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : | |
| 72 | - ContDiff ℝ ∞ (A.volumePointField k m Y t) := | |
| 73 | - (A.physicalPointField_smooth k m t).comp (hY t) | |
| 74 | - | |
| 75 | 71 | theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 76 | 72 | (A.volumeTensorPath k m Y hmp n D hD hJ hB t : Vector3 → (Vector3 [×n]→L[ℝ] Vector3)) =ᵐ[volume] |
| 77 | 73 | iteratedFDeriv ℝ n (A.volumePointField k m Y t) := |
+0 −25 Euler/FiniteEnergyTruncation.lean View file
| @@ -224,22 +224,6 @@ theorem potentialTruncation_eq (u : Space → Space) (hu : ContDiff ℝ ∞ u) | ||
| 224 | 224 | simp only [hy, Pi.one_apply, one_mul] |
| 225 | 225 | exact (curl_congr_nhds _ _ x he).trans (curl_radialPotential u hu hdiv x) |
| 226 | 226 | |
| 227 | -/-- No all-order integrability is needed to construct compact solenoidal | |
| 228 | -extensions agreeing with a smooth divergence-free field on a ball. -/ | |
| 229 | -theorem exists_compact_solenoidal_truncation | |
| 230 | - (u : Space → Space) (hu : ContDiff ℝ ∞ u) (hdiv : ∀ x, divergence u x = 0) | |
| 231 | - (r R : ℝ) (hr : 0 < r) (hrR : r < R) : | |
| 232 | - ∃ w : Space → Space, ContDiff ℝ ∞ w ∧ HasCompactSupport w ∧ | |
| 233 | - tsupport w ⊆ Metric.closedBall 0 R ∧ | |
| 234 | - (∀ x, divergence w x = 0) ∧ (∀ x ∈ Metric.ball 0 r, w x = u x) := by | |
| 235 | - let χ : ContDiffBump (0 : Space) := ⟨r, R, hr, hrR⟩ | |
| 236 | - refine ⟨potentialTruncation u χ, potentialTruncation_smooth u hu χ χ.contDiff, | |
| 237 | - potentialTruncation_compact u χ χ.hasCompactSupport, ?_, | |
| 238 | - potentialTruncation_divergence u hu χ χ.contDiff, ?_⟩ | |
| 239 | - · exact (potentialTruncation_support u χ).trans_eq χ.tsupport_eq | |
| 240 | - · intro x hx | |
| 241 | - exact potentialTruncation_eq u hu hdiv χ x (χ.eventuallyEq_one_of_mem_ball hx) | |
| 242 | - | |
| 243 | 227 | theorem partialDerivative_mul (f g : Space → ℝ) |
| 244 | 228 | (hf : Differentiable ℝ f) (hg : Differentiable ℝ g) (j : Fin 3) (x : Space) : |
| 245 | 229 | partialDerivative (fun y => f y * g y) j x = |
| @@ -442,20 +426,11 @@ theorem truncationCutoff_eventually_one (R : ℝ) (hR : 0 < R) (x : Space) | ||
| 442 | 426 | def finiteEnergyTruncation (u : Space → Space) (R : ℝ) : Space → Space := |
| 443 | 427 | potentialTruncation u (truncationCutoff R) |
| 444 | 428 | |
| 445 | -theorem finiteEnergyTruncation_smooth | |
| 446 | - (u : Space → Space) (hu : ContDiff ℝ ∞ u) (R : ℝ) : | |
| 447 | - ContDiff ℝ ∞ (finiteEnergyTruncation u R) := | |
| 448 | - potentialTruncation_smooth u hu _ (truncationCutoff_smooth R) | |
| 449 | - | |
| 450 | 429 | theorem finiteEnergyTruncation_divergence |
| 451 | 430 | (u : Space → Space) (hu : ContDiff ℝ ∞ u) (R : ℝ) (x : Space) : |
| 452 | 431 | divergence (finiteEnergyTruncation u R) x = 0 := |
| 453 | 432 | potentialTruncation_divergence u hu _ (truncationCutoff_smooth R) x |
| 454 | 433 | |
| 455 | -theorem finiteEnergyTruncation_compact (u : Space → Space) (R : ℝ) (hR : 0 < R) : | |
| 456 | - HasCompactSupport (finiteEnergyTruncation u R) := | |
| 457 | - potentialTruncation_compact u _ (truncationCutoff_compact R hR) | |
| 458 | - | |
| 459 | 434 | theorem finiteEnergyTruncation_support (u : Space → Space) (R : ℝ) (hR : 0 < R) : |
| 460 | 435 | tsupport (finiteEnergyTruncation u R) ⊆ Metric.closedBall 0 (2 * R) := |
| 461 | 436 | (potentialTruncation_support u _).trans (truncationCutoff_support R hR) |
+0 −10 Euler/FiniteGradeDiagonal.lean View file
| @@ -33,14 +33,4 @@ theorem convolution_eq_range (M n : ℕ) (hn : n ≤ M) | ||
| 33 | 33 | rw [convolution_eq_antidiagonal M n hn] |
| 34 | 34 | exact Finset.Nat.sum_antidiagonal_eq_sum_range_succ (fun i j => B (u i) (v j)) n |
| 35 | 35 | |
| 36 | -/-- No coefficient above the target grade enters its slow convolution. -/ | |
| 37 | -theorem convolution_congr_below (M n : ℕ) (hn : n ≤ M) | |
| 38 | - (B : V →ₗ[ℝ] W →ₗ[ℝ] Q) (u u' : ℕ → V) (v v' : ℕ → W) | |
| 39 | - (hu : ∀ i ≤ n, u i=u' i) (hv : ∀ i ≤ n, v i=v' i) : | |
| 40 | - convolution M B u v n = convolution M B u' v' n := by | |
| 41 | - rw [convolution_eq_range M n hn, convolution_eq_range M n hn] | |
| 42 | - apply sum_congr rfl | |
| 43 | - intro i hi | |
| 44 | - rw [hu i (by have h := mem_range.mp hi; omega), hv (n-i) (Nat.sub_le n i)] | |
| 45 | - | |
| 46 | 36 | end EulerFiniteGrades |
+0 −22 Euler/FiniteIntervalFlow.lean View file
| @@ -34,26 +34,4 @@ omit [NormedSpace ℝ E] in | ||
| 34 | 34 | |
| 35 | 35 | variable [CompleteSpace E] |
| 36 | 36 | |
| 37 | -/-- The actual finite-time flow has an actual two-sided continuous inverse. | |
| 38 | -No flow map, inverse map or ODE solution is assumed. -/ | |
| 39 | -theorem exists_flow_and_inverse (T : ℝ) (hT : 0 ≤ T) | |
| 40 | - (u : C(Icc (0 : ℝ) T, E →ᵇ E)) (K : ℝ≥0) | |
| 41 | - (hLip : ∀ t, LipschitzWith K (u t)) : | |
| 42 | - ∃ X Y : ℝ → E → E, | |
| 43 | - (∀ x, X 0 x = x) ∧ (∀ x, Y 0 x = x) ∧ | |
| 44 | - Continuous (Function.uncurry X) ∧ Continuous (Function.uncurry Y) ∧ | |
| 45 | - (∀ t x, Y t (X t x) = x) ∧ (∀ t x, X t (Y t x) = x) ∧ | |
| 46 | - (∀ (t : Icc (0 : ℝ) T) x, | |
| 47 | - HasDerivAt (fun s => X s x) (u t (X t x)) t) ∧ | |
| 48 | - (∀ (t : Icc (0 : ℝ) T) x, dist (X t x) x ≤ ‖u‖*|t.1|) := by | |
| 49 | - let V := ofTimeInterval T hT u K hLip | |
| 50 | - refine ⟨V.forward, V.backward, V.forward_zero, V.backward_zero, | |
| 51 | - V.forward_joint_continuous, V.backward_joint_continuous, | |
| 52 | - V.backward_forward, V.forward_backward, ?_, ?_⟩ | |
| 53 | - · intro t x | |
| 54 | - have h := V.forward_hasDerivAt t x | |
| 55 | - simpa only [V, ofTimeInterval_velocity] using h | |
| 56 | - · intro t x | |
| 57 | - exact V.forward_displacement t x | |
| 58 | - | |
| 59 | 37 | end EulerBoundedLipschitzFlow |
+0 −24 Euler/FixedEndpointStrong.lean View file
| @@ -164,15 +164,6 @@ theorem continuousCoordinateVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : | ||
| 164 | 164 | have hreg := coordinateSlope_h1 T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ |
| 165 | 165 | exact reconstruction_eq_path T hTpos _ _ _ hreg.1 hreg.2.1 hreg.2.2 t |
| 166 | 166 | |
| 167 | -include hd₁ hframe hTpos in | |
| 168 | -theorem historyVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : | |
| 169 | - historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = | |
| 170 | - Q t (coordinateVelocityPath T hT Q Q₁ c hc hQ H | |
| 171 | - (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 172 | - (affineTrial T hT Q Q₁) ξ) t) := by | |
| 173 | - change Q t (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t) = _ | |
| 174 | - rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe] | |
| 175 | - | |
| 176 | 167 | include hd₁ hframe hTpos in |
| 177 | 168 | theorem continuousCoordinateVelocity_hasDerivWithinAt_generator (ξ : U) (t : Icc (0 : ℝ) T) : |
| 178 | 169 | HasDerivWithinAt |
| @@ -187,21 +178,6 @@ theorem continuousCoordinateVelocity_hasDerivWithinAt_generator (ξ : U) (t : Ic | ||
| 187 | 178 | simpa only [extendPath, projIcc_of_mem hT hs] using |
| 188 | 179 | continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨s, hs⟩ |
| 189 | 180 | |
| 190 | -include hd₁ hframe hTpos in | |
| 191 | -/-- The affine-terminal coordinate history coincides with the actual | |
| 192 | -homogeneous forward solver with its own initial velocity. -/ | |
| 193 | -theorem continuousCoordinateVelocity_eq_forward | |
| 194 | - (evolution : Evolution T hT (generator T Q Q₁ c hc hQ)) | |
| 195 | - (ξ : U) (t : Icc (0 : ℝ) T) : | |
| 196 | - continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = | |
| 197 | - coordinates T hT Q Q₁ c hc hQ evolution 0 | |
| 198 | - (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ ⟨0, le_rfl, hT⟩) t := by | |
| 199 | - rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t, | |
| 200 | - continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨0, le_rfl, hT⟩] | |
| 201 | - exact coordinateVelocity_eq_forward T hT Q Q₁ Q₂ c hc hQ H hTpos hd hd₁ hframe _ | |
| 202 | - (fixedEndpointDerivative_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall _ ξ) | |
| 203 | - (coordinateSlope_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) evolution t | |
| 204 | - | |
| 205 | 181 | end Regularity |
| 206 | 182 | |
| 207 | 183 | end EulerFixedEndpointStrong |
+0 −5 Euler/FixedFrameNaturality.lean View file
| @@ -36,11 +36,6 @@ def zeroTraceMap (A : U →L[ℝ] V) : | ||
| 36 | 36 | @[simp] theorem zeroTraceMap_coe (A : U →L[ℝ] V) (u : zeroTraceDerivatives (U := U) T hT) : |
| 37 | 37 | (zeroTraceMap T hT A u : TimeLp T V) = timeLift T A (u : TimeLp T U) := rfl |
| 38 | 38 | |
| 39 | -theorem zeroTraceMap_norm (A : U →L[ℝ] V) : ‖zeroTraceMap T hT A‖ ≤ ‖A‖ := by | |
| 40 | - apply opNorm_le_bound _ (norm_nonneg A) | |
| 41 | - intro u | |
| 42 | - exact timeLift_apply_norm_le T A (u : TimeLp T U) | |
| 43 | - | |
| 44 | 39 | omit [CompleteSpace U] [CompleteSpace V] [CompleteSpace E] [CompleteSpace F] in |
| 45 | 40 | theorem timeMultiplier_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 46 | 41 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
+0 −3 Euler/GaussianCylinderHeat.lean View file
| @@ -66,9 +66,6 @@ def lineHeatOperator (a : LiftTangent) (v : ℝ≥0) : LiftL2 period →L[ℝ] L | ||
| 66 | 66 | @[simp] theorem lineHeatOperator_apply (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 67 | 67 | lineHeatOperator period a v f = lineHeat period a v f := rfl |
| 68 | 68 | |
| 69 | -theorem lineHeatOperator_norm_le (a : LiftTangent) (v : ℝ≥0) : ‖lineHeatOperator period a v‖ ≤ 1 := | |
| 70 | - ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun f => by simpa using lineHeat_norm_le period a v f) | |
| 71 | - | |
| 72 | 69 | /-- The heat average commutes with every cylinder translation. -/ |
| 73 | 70 | theorem lineHeat_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : |
| 74 | 71 | translation period b (lineHeat period a v f) = lineHeat period a v (translation period b f) := by |
+0 −28 Euler/GaussianHeatGenerator.lean View file
| @@ -26,17 +26,6 @@ theorem realLineHeat_eq (a : LiftTangent) {t : ℝ} (ht : 0 ≤ t) (f : LiftL2 p | ||
| 26 | 26 | rw [realLineHeat_eq period a le_rfl] |
| 27 | 27 | exact lineHeat_zero period a f |
| 28 | 28 | |
| 29 | -theorem realLineHeat_continuous (a : LiftTangent) (f : LiftL2 period) : | |
| 30 | - Continuous (fun t : ℝ => realLineHeat period a t f) := by | |
| 31 | - apply continuous_of_dominated (bound := fun _ : ℝ => ‖f‖) | |
| 32 | - · intro t | |
| 33 | - exact ((lineOrbit_continuous period a f).comp (continuous_const.mul continuous_id)).aestronglyMeasurable | |
| 34 | - · intro t | |
| 35 | - exact Filter.Eventually.of_forall (fun x => (lineOrbit_norm period a f _).le) | |
| 36 | - · exact integrable_const _ | |
| 37 | - · exact Filter.Eventually.of_forall (fun x => | |
| 38 | - (lineOrbit_continuous period a f).comp (Real.continuous_sqrt.mul_const x)) | |
| 39 | - | |
| 40 | 29 | /-- The chain-rule derivative of a scaled orbit, before Gaussian integration. -/ |
| 41 | 30 | theorem scaledOrbit_hasDerivAt (a : LiftTangent) (f g : LiftL2 period) |
| 42 | 31 | (hD : HasDerivAt (lineOrbit period a f) g 0) (x t : ℝ) (ht : 0 < t) : |
| @@ -128,21 +117,4 @@ theorem realLineHeat_generator_pos (a : LiftTangent) (f g h : LiftL2 period) | ||
| 128 | 117 | ← realLineHeat_eq period a ht.le h] at hd |
| 129 | 118 | exact hd |
| 130 | 119 | |
| 131 | -/-- The generator formula also holds as a genuine right derivative at zero variance. -/ | |
| 132 | -theorem realLineHeat_generator_zero (a : LiftTangent) (f g h : LiftL2 period) | |
| 133 | - (hD : HasDerivAt (lineOrbit period a f) g 0) | |
| 134 | - (hDD : HasDerivAt (lineOrbit period a g) h 0) : | |
| 135 | - HasDerivWithinAt (fun s => realLineHeat period a s f) ((1/2 : ℝ) • h) (Set.Ici 0) 0 := by | |
| 136 | - have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realLineHeat period a s h) | |
| 137 | - (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • h)) := by | |
| 138 | - have hc : ContinuousAt (fun s => (1/2 : ℝ) • realLineHeat period a s h) 0 := | |
| 139 | - ((realLineHeat_continuous period a h).const_smul (1/2 : ℝ)).continuousAt | |
| 140 | - simpa only [realLineHeat_zero] using (hc.continuousWithinAt (s := Set.Ioi 0)).tendsto | |
| 141 | - apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) | |
| 142 | - (fun t ht => (realLineHeat_generator_pos period a f g h hD hDD ht).differentiableAt.differentiableWithinAt) | |
| 143 | - (realLineHeat_continuous period a f).continuousAt.continuousWithinAt self_mem_nhdsWithin | |
| 144 | - apply hlim.congr' | |
| 145 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 146 | - exact (realLineHeat_generator_pos period a f g h hD hDD ht).deriv.symm | |
| 147 | - | |
| 148 | 120 | end EulerGaussianCylinderHeat |
+0 −16 Euler/GaussianHeatSmoothing.lean View file
| @@ -80,20 +80,4 @@ theorem lineHeat_one_derivative (a : LiftTangent) {v : ℝ≥0} (hv : 0 < v) (f | ||
| 80 | 80 | ⟨lineHeatDerivative period a v f, lineHeat_hasDerivAt period a hv f, |
| 81 | 81 | lineHeatDerivative_smoothing_bound period a hv f⟩ |
| 82 | 82 | |
| 83 | -/-- The derivative of the heat average commutes with every cylinder translation. -/ | |
| 84 | -theorem lineHeatDerivative_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : | |
| 85 | - translation period b (lineHeatDerivative period a v f) = | |
| 86 | - lineHeatDerivative period a v (translation period b f) := by | |
| 87 | - simp only [lineHeatDerivative, map_smul] | |
| 88 | - congr 1 | |
| 89 | - change (translation period b).toContinuousLinearMap | |
| 90 | - (∫ x : ℝ, x • lineOrbit period a f x ∂gaussianReal 0 v) = _ | |
| 91 | - rw [← (translation period b).toContinuousLinearMap.integral_comp_comm (gaussianMomentOrbit_integrable period a v f)] | |
| 92 | - apply integral_congr_ae | |
| 93 | - apply Filter.Eventually.of_forall | |
| 94 | - intro x | |
| 95 | - change translation period b (x • translation period (translationPath period a x) f) = | |
| 96 | - x • translation period (translationPath period a x) (translation period b f) | |
| 97 | - rw [map_smul, translation_add, translation_add, add_comm b] | |
| 98 | - | |
| 99 | 83 | end EulerGaussianCylinderHeat |
+0 −62 Euler/GevreyCorrectionSplit.lean View file
| @@ -20,24 +20,6 @@ local instance splitSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := | ||
| 20 | 20 | local instance splitBilinearGroup (q : ℕ) : SeminormedAddCommGroup |
| 21 | 21 | (SobolevSpace period (q+1) →L[ℝ] SobolevSpace period (q+1) →L[ℝ] SobolevSpace period q) := inferInstance |
| 22 | 22 | |
| 23 | -/-- The fixed-level algebraic expression is exactly the algebraic term used in the mild solver. -/ | |
| 24 | -theorem algebraicAt_eq {s : ℕ} (hs : 6 ≤ s) | |
| 25 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) | |
| 26 | - (u v : SobolevSpace period (s+1)) : | |
| 27 | - algebraicAt period hs C (truncateOperator period s u) (truncateOperator period s v) = | |
| 28 | - algebraicBilinear period hs C u v := by | |
| 29 | - rw [algebraicBilinear_apply] | |
| 30 | - rfl | |
| 31 | - | |
| 32 | -/-- The order-zero background transport is exactly e·D z_a in the mild solver. -/ | |
| 33 | -theorem backgroundDrift_eq {s : ℕ} (hs : 6 ≤ s) | |
| 34 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 35 | - (u background : SobolevSpace period (s+1)) : | |
| 36 | - backgroundDrift period hs L hL background (truncateOperator period s u) = | |
| 37 | - transportBilinear period hs L hL u background := by | |
| 38 | - rw [transportBilinear_apply] | |
| 39 | - rfl | |
| 40 | - | |
| 41 | 23 | /-- Exact splitting of the actual nonlinear increment into top transport plus the order-zero source. -/ |
| 42 | 24 | theorem correction_split_identity {s : ℕ} (hs : 6 ≤ s) |
| 43 | 25 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| @@ -81,34 +63,6 @@ theorem weightedNorm_neg {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : | ||
| 81 | 63 | change ‖-u.val ⟨⟨n+r, by omega⟩,w⟩‖ = ‖u.val ⟨⟨n+r, by omega⟩,w⟩‖ |
| 82 | 64 | exact norm_neg _ |
| 83 | 65 | |
| 84 | -/-- The actual order-zero pressure bound follows from the genuine projected inverse and the derived nonlinear estimate. -/ | |
| 85 | -theorem orderZeroPressure_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) | |
| 86 | - (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) | |
| 87 | - (G : SmoothCoefficient period) (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s G) | |
| 88 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 89 | - (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪G.coefficient x v,v⟫_ℝ) | |
| 90 | - (hbase : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) | |
| 91 | - (hsmall : 4*M*(ρ*Rc) ≤ 1) | |
| 92 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) | |
| 93 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 94 | - (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) | |
| 95 | - (C : Fin 3 → SmoothCoefficient period) | |
| 96 | - (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) | |
| 97 | - (background : SobolevSpace period (s+1)) (r e : SobolevSpace period s) : | |
| 98 | - weightedNorm period 6 N ρ (-(pressureSobolevOperator period KG κ m c hc hpos | |
| 99 | - (orderZeroSource period hs L hL (coefficientSobolevOperator period K0) | |
| 100 | - (fun i => coefficientSobolevOperator period (K i)) background r e))) ≤ | |
| 101 | - 2*M*(weightedNorm period 6 N ρ r + | |
| 102 | - (productConstant period 3 * (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i background)) + | |
| 103 | - weightedCoefficient period K0 6 N ρ + | |
| 104 | - 2 * (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * | |
| 105 | - weightedNorm period 6 N ρ (truncateOperator period s background)) * weightedNorm period 6 N ρ e + | |
| 106 | - (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * (weightedNorm period 6 N ρ e)^2) := by | |
| 107 | - rw [weightedNorm_neg period 6 N hN] | |
| 108 | - exact (weightedNorm_pressure period KG κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff _).trans | |
| 109 | - (mul_le_mul_of_nonneg_left (orderZeroSource_bound period hs N hN ρ hρ L hL C0 K0 C K background r e) | |
| 110 | - (by linarith : 0 ≤ 2*M)) | |
| 111 | - | |
| 112 | 66 | /-- The solver's actual raw source has exactly the transport/order-zero decomposition used by the energy estimate. -/ |
| 113 | 67 | theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 114 | 68 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| @@ -122,20 +76,4 @@ theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T | ||
| 122 | 76 | (D.approximation t) (D.residual t) (truncateOperator period s e) := |
| 123 | 77 | correction_split_identity period hs _ _ _ _ _ _ _ |
| 124 | 78 | |
| 125 | -/-- The actual signed correction pressure is the sum of its order-zero and transport pressure solves. -/ | |
| 126 | -theorem correctionData_pressure_split {s : ℕ} {T : Type*} [TopologicalSpace T] | |
| 127 | - (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : | |
| 128 | - D.pressure period hs t e = | |
| 129 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 130 | - (transportBilinear period hs (velocityComponents D.κ D.direction) | |
| 131 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e)) + | |
| 132 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 133 | - (orderZeroSource period hs (velocityComponents D.κ D.direction) | |
| 134 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) | |
| 135 | - (coefficientSobolevOperator period (D.linear.jet t)) | |
| 136 | - (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) | |
| 137 | - (D.approximation t) (D.residual t) (truncateOperator period s e))) := by | |
| 138 | - unfold CorrectionData.pressure | |
| 139 | - simp only [correctionData_rawSource_split period D hs t e, map_add, neg_add] | |
| 140 | - | |
| 141 | 79 | end EulerGevreyOrderZero |
+0 −27 Euler/GevreyFlowFinite.lean View file
| @@ -170,31 +170,4 @@ theorem flow_generating_sum_bound_of_jet_derivative | ||
| 170 | 170 | exact jet_integral_of_hasDerivWithinAt ψ (fun s => b s ∘ (id+ψ s)) |
| 171 | 171 | n T hψ0 (hd n hn) (hcv n hn) t ht x |
| 172 | 172 | |
| 173 | -/-- All positive spatial orders have the same radius 4R and the same | |
| 174 | -linear amplitude B*t. Smoothness and the jet equation are qualitative | |
| 175 | -inputs; the derivative estimates are conclusions. -/ | |
| 176 | -theorem flow_positive_derivative_bound | |
| 177 | - (ψ b : ℝ → E → E) (T B R : ℝ) | |
| 178 | - (hT : 0 ≤ T) (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 179 | - (hψ : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (ψ t)) | |
| 180 | - (hb : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (b t)) (hψ0 : ψ 0 = 0) | |
| 181 | - (hbjet : ∀ t ∈ Icc 0 T, ∀ y, ∀ n, 0 < n → | |
| 182 | - ‖iteratedFDeriv ℝ n (b t) y‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 183 | - (hd : ∀ n, 0 < n → ∀ t ∈ Icc 0 T, ∀ x, | |
| 184 | - HasDerivWithinAt (fun s => iteratedFDeriv ℝ n (ψ s) x) | |
| 185 | - (iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T) t) | |
| 186 | - (hcv : ∀ n, 0 < n → ∀ x, | |
| 187 | - ContinuousOn (fun t => iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T)) : | |
| 188 | - ∀ t ∈ Icc 0 T, ∀ x, ∀ n, 0 < n → | |
| 189 | - ‖iteratedFDeriv ℝ n (ψ t) x‖ ≤ B*t*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 190 | - intro t ht x n hn | |
| 191 | - apply derivative_bound_of_generating_sum (ψ t) n n R (B*t) x hR | |
| 192 | - (Finset.mem_Icc.mpr ⟨hn,le_rfl⟩) | |
| 193 | - exact flow_generating_sum_bound_of_jet_derivative ψ b n T B R hT hB hR hsmall | |
| 194 | - (fun s hs => (hψ s hs).of_le (by simp)) | |
| 195 | - (fun s hs => (hb s hs).of_le (by simp)) hψ0 | |
| 196 | - (fun s hs y j hj => hbjet s hs y j (Finset.mem_Icc.mp hj).1) | |
| 197 | - (fun j hj => hd j (Finset.mem_Icc.mp hj).1) | |
| 198 | - (fun j hj => hcv j (Finset.mem_Icc.mp hj).1) t ht x | |
| 199 | - | |
| 200 | 173 | end EulerGevreyFlowFinite |
+0 −4 Euler/GevreyGeneratingDerivatives.lean View file
| @@ -21,10 +21,6 @@ variable {E F G : Type*} | ||
| 21 | 21 | def derivativeSum (f : E → F) (N : ℕ) (z : ℝ) (x : E) : ℝ := |
| 22 | 22 | generatingSum (ftaylorSeries ℝ f x) N z |
| 23 | 23 | |
| 24 | -theorem derivativeSum_nonneg (f : E → F) (N : ℕ) (z : ℝ) (x : E) | |
| 25 | - (hz : 0 ≤ z) : 0 ≤ derivativeSum f N z x := | |
| 26 | - generatingSum_nonneg _ _ _ hz | |
| 27 | - | |
| 28 | 24 | theorem derivativeSum_add_le (f g : E → F) (N : ℕ) (z : ℝ) (x : E) |
| 29 | 25 | (hf : ContDiffAt ℝ N f x) (hg : ContDiffAt ℝ N g x) (hz : 0 ≤ z) : |
| 30 | 26 | derivativeSum (f+g) N z x ≤ derivativeSum f N z x+derivativeSum g N z x := by |
+0 −26 Euler/GevreyGrowthCoefficient.lean View file
| @@ -20,17 +20,6 @@ def growthBase (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] Lift | ||
| 20 | 20 | def growthSlope (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : ℝ := |
| 21 | 21 | (K.firstBound : ℝ)*(|κ|+‖m‖)/(2*c^2) |
| 22 | 22 | |
| 23 | -theorem growthBase_nonneg (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) : | |
| 24 | - 0 ≤ growthBase period K K' c := by | |
| 25 | - unfold growthBase heatEnergyConstant | |
| 26 | - positivity | |
| 27 | - | |
| 28 | -omit [Fact (0 < period)] in | |
| 29 | -theorem growthSlope_nonneg (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : | |
| 30 | - 0 ≤ growthSlope period K κ m c := by | |
| 31 | - unfold growthSlope | |
| 32 | - positivity | |
| 33 | - | |
| 34 | 23 | /-- Artificial viscosity contributes no unbounded constant to the actual energy estimate as it tends to zero. -/ |
| 35 | 24 | theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 36 | 25 | (κ : ℝ) (m : Vector3) (c ν : ℝ) (B : NNReal) (hν : ν ≤ 1) : |
| @@ -42,27 +31,12 @@ theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period | ||
| 42 | 31 | have h := div_le_div_of_nonneg_right hn (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (sq_nonneg c)) |
| 43 | 32 | exact h.trans_eq (by unfold growthBase growthSlope transportEnergyConstant; ring) |
| 44 | 33 | |
| 45 | -/-- The chosen genuine pointwise velocity bound depends continuously on the actual metric energy. -/ | |
| 46 | -theorem metricVelocityBound_continuous (c B : ℝ) : Continuous (metricVelocityBound period c B) := by | |
| 47 | - exact continuous_real_toNNReal.comp | |
| 48 | - (continuous_const.mul (continuous_const.add (continuous_const.mul continuous_id))) | |
| 49 | - | |
| 50 | 34 | /-- Its NNReal coercion is exactly the intended positive metric-energy majorant. -/ |
| 51 | 35 | theorem metricVelocityBound_coe (c B X : ℝ) (hc : 0 < c) (hB : 0 ≤ B) (hX : 0 ≤ X) : |
| 52 | 36 | (metricVelocityBound period c B X : ℝ) = sobolevEmbeddingConstant period 6*(B+metricAmplification c*X) := by |
| 53 | 37 | exact Real.coe_toNNReal _ (mul_nonneg (sobolevEmbeddingConstant_nonneg period 6) |
| 54 | 38 | (add_nonneg hB (mul_nonneg (le_trans zero_le_one (metricAmplification_one_le hc)) hX))) |
| 55 | 39 | |
| 56 | -/-- The actual energy growth coefficient is affine in the metric error energy, uniformly for 0<ν≤1. -/ | |
| 57 | -theorem viscousGrowth_metric (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) | |
| 58 | - (κ : ℝ) (m : Vector3) (c ν B X : ℝ) (hc : 0 < c) (hν : ν ≤ 1) (hB : 0 ≤ B) (hX : 0 ≤ X) : | |
| 59 | - viscousGrowthCoefficient period K K' κ m c ν (metricVelocityBound period c B X) ≤ | |
| 60 | - growthBase period K K' c+growthSlope period K κ m c*sobolevEmbeddingConstant period 6*B+ | |
| 61 | - (growthSlope period K κ m c*sobolevEmbeddingConstant period 6*metricAmplification c)*X := by | |
| 62 | - have h := viscousGrowth_uniform period K K' κ m c ν (metricVelocityBound period c B X) hν | |
| 63 | - rw [metricVelocityBound_coe period c B X hc hB hX] at h | |
| 64 | - exact h.trans_eq (by ring) | |
| 65 | - | |
| 66 | 40 | /-- One positive constant absorbs every derived scalar growth coefficient while preserving the signed radius term. -/ |
| 67 | 41 | theorem absorb_scalar_coefficients (g0 g1 f0 f1 f2 d r X Y B R C : ℝ) |
| 68 | 42 | (hg0 : 0 ≤ g0) (hg1 : 0 ≤ g1) (hf0 : 0 ≤ f0) (hf1 : 0 ≤ f1) (hf2 : 0 ≤ f2) (hd : 0 ≤ d) |
+0 −16 Euler/GevreyInverseMap.lean View file
| @@ -200,22 +200,6 @@ theorem fderiv_eq_inverse_field | ||
| 200 | 200 | have hv := congrArg (fun B : E →L[ℝ] E => A (Y x) (B v)) he |
| 201 | 201 | simpa only [ContinuousLinearMap.comp_apply, ContinuousLinearMap.id_apply, hleft] using hv |
| 202 | 202 | |
| 203 | -/-- Gevrey-two regularity of an actual smooth inverse map with a Gevrey-two | |
| 204 | -inverse derivative field. -/ | |
| 205 | -theorem norm_iteratedFDeriv_inverseMap | |
| 206 | - (X Y : E → E) (A : E → E →L[ℝ] E) | |
| 207 | - (hX : Differentiable ℝ X) (hY : ContDiff ℝ ∞ Y) (hA : ContDiff ℝ ∞ A) | |
| 208 | - (hXY : ∀ x, X (Y x) = x) | |
| 209 | - (hleft : ∀ x v, A x (fderiv ℝ X x v) = v) | |
| 210 | - (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) | |
| 211 | - (hAjet : ∀ j y, ‖iteratedFDeriv ℝ j A y‖ ≤ C * R^j * (j.factorial : ℝ)^2) | |
| 212 | - (n : ℕ) (x : E) : | |
| 213 | - ‖iteratedFDeriv ℝ (n+1) Y x‖ ≤ | |
| 214 | - C * (inverseMapRadius C R)^n * (n.factorial : ℝ)^2 := by | |
| 215 | - exact norm_iteratedFDeriv_of_fderiv_eq_comp Y A hY hA | |
| 216 | - (fderiv_eq_inverse_field X Y A hX (hY.differentiable (by simp)) hXY hleft) | |
| 217 | - C R hC hR hAjet n x | |
| 218 | - | |
| 219 | 203 | /-- Pullback by a map satisfying the actual inverse differential equation |
| 220 | 204 | preserves Gevrey two, with an explicit polynomial radius and unchanged |
| 221 | 205 | outer amplitude. Only differentiability of the inverse is an input. -/ |
+0 −21 Euler/GevreyMetricComparison.lean View file
| @@ -43,15 +43,6 @@ theorem blockNorm_metric_lower {s q n : ℕ} (u : SobolevSpace period s) (h : n+ | ||
| 43 | 43 | rw [blockNorm_baseWords period u h, Finset.mul_sum] |
| 44 | 44 | exact Finset.sum_le_sum fun w _ => sobolevNorm_le_baseWordMetric period K _ c hc hK |
| 45 | 45 | |
| 46 | -/-- The upper metric comparison is independent of the external word count. -/ | |
| 47 | -theorem blockNorm_metric_upper {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) | |
| 48 | - (K : LiftL2 period →L[ℝ] LiftL2 period) : | |
| 49 | - (∑ w : Fin n → Fin 4, baseWordMetricNorm period K | |
| 50 | - (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h)) ≤ | |
| 51 | - Real.sqrt ‖K‖ * blockNorm period (toJet period u) q n := by | |
| 52 | - rw [blockNorm_baseWords period u h, Finset.mul_sum] | |
| 53 | - exact Finset.sum_le_sum fun w _ => baseWordMetric_le_sobolevNorm period K _ | |
| 54 | - | |
| 55 | 46 | /-- The metric-weighted energy is exactly the external-word sum of fixed-base metric roots. -/ |
| 56 | 47 | theorem metricSum_eq {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 57 | 48 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : |
| @@ -74,18 +65,6 @@ theorem weightedNorm_metric_lower {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : | ||
| 74 | 65 | (weight_pos hρ n.val).le |
| 75 | 66 | exact h.trans_eq (by ring) |
| 76 | 67 | |
| 77 | -/-- The actual metric weighted energy is bounded by its Sobolev counterpart without a cutoff factor. -/ | |
| 78 | -theorem weightedNorm_metric_upper {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) | |
| 79 | - (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : | |
| 80 | - weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) ≤ | |
| 81 | - Real.sqrt ‖K‖ * weightedNorm period q N ρ u := by | |
| 82 | - rw [metricSum_eq, weightedNorm, ← Fin.sum_univ_eq_sum_range, Finset.mul_sum] | |
| 83 | - apply Finset.sum_le_sum | |
| 84 | - intro n _ | |
| 85 | - have h := mul_le_mul_of_nonneg_left (blockNorm_metric_upper period (q := q) (n := n.val) u (by have := n.isLt; omega) K) | |
| 86 | - (weight_pos hρ n.val).le | |
| 87 | - exact h.trans_eq (by ring) | |
| 88 | - | |
| 89 | 68 | /-- At the fixed base index six the comparison uses exactly 5461 base words. -/ |
| 90 | 69 | theorem card_baseWord_six : Fintype.card (BaseWord 6) = 5461 := by |
| 91 | 70 | rw [card_baseWord] |
+0 −16 Euler/GevreyRestriction.lean View file
| @@ -22,16 +22,6 @@ theorem weightedNorm_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r | ||
| 22 | 22 | exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl |
| 23 | 23 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) |
| 24 | 24 | |
| 25 | -/-- The actual radius-loss sum is identical under every restriction retaining its cutoff. -/ | |
| 26 | -theorem weightedLoss_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r ≤ q) (ρ : ℝ) | |
| 27 | - (u : SobolevSpace period p) : | |
| 28 | - weightedLoss period r N ρ (restrictOperator period hqp u) = weightedLoss period r N ρ u := by | |
| 29 | - apply Finset.sum_congr rfl | |
| 30 | - intro n hn | |
| 31 | - apply congrArg (fun x : ℝ => (n : ℝ)*EulerPacketWeights.weight ρ n*x) | |
| 32 | - exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl | |
| 33 | - (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) | |
| 34 | - | |
| 35 | 25 | /-- Actual derivative words agree after restricting the input to any sufficiently high Sobolev level. -/ |
| 36 | 26 | theorem wordAtLevel_restrict {p q r n : ℕ} (hqp : q ≤ p) (w : Fin n → Fin 4) (hq : n+r ≤ q) |
| 37 | 27 | (u : SobolevSpace period p) : |
| @@ -57,10 +47,4 @@ theorem weightedNorm_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | ||
| 57 | 47 | weightedNorm period r N ρ (truncateOperator period s u) = weightedNorm period r N ρ u := |
| 58 | 48 | weightedNorm_restrict period (by omega : s ≤ s+1) r N hN ρ u |
| 59 | 49 | |
| 60 | -/-- The complete-solution truncation leaves the retained radius-loss sum unchanged. -/ | |
| 61 | -theorem weightedLoss_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | |
| 62 | - (u : SobolevSpace period (s+1)) : | |
| 63 | - weightedLoss period r N ρ (truncateOperator period s u) = weightedLoss period r N ρ u := | |
| 64 | - weightedLoss_restrict period (by omega : s ≤ s+1) r N hN ρ u | |
| 65 | - | |
| 66 | 50 | end EulerGevreyRestriction |
+0 −20 Euler/GraphInvariantFlow.lean View file
| @@ -60,13 +60,6 @@ theorem graphFlow_invariant (s t : ℝ) (x : Vector3) : | ||
| 60 | 60 | @[simp] theorem graphFlow_initial (s : ℝ) (x : Vector3) : graphFlow k m V s s x=x := by |
| 61 | 61 | simp [graphFlow] |
| 62 | 62 | |
| 63 | -include hV in | |
| 64 | -theorem graphFlow_inverse (s t : ℝ) (x : Vector3) : | |
| 65 | - graphFlow k m V t s (graphFlow k m V s t x)=x := by | |
| 66 | - change (V.flow t s (graphLinear k m (graphFlow k m V s t x))).1=x | |
| 67 | - rw [← graphFlow_invariant k m V hV,V.flow_inverse] | |
| 68 | - rfl | |
| 69 | - | |
| 70 | 63 | include hV in |
| 71 | 64 | theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : |
| 72 | 65 | HasDerivAt (fun r => graphFlow k m V s r x) |
| @@ -74,17 +67,4 @@ theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : | ||
| 74 | 67 | have hd := (V.flow_hasDerivAt s t (graphLinear k m x)).fst |
| 75 | 68 | rwa [graphFlow_invariant k m V hV] at hd |
| 76 | 69 | |
| 77 | -theorem graphFlow_continuous (s t : ℝ) : Continuous (graphFlow k m V s t) := | |
| 78 | - continuous_fst.comp ((V.flowHomeomorph s t).continuous.comp (graphLinear k m).continuous) | |
| 79 | - | |
| 80 | -theorem graphFlow_forward_joint_continuous : | |
| 81 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V 0 r.1 r.2) := | |
| 82 | - continuous_fst.comp (V.forward_joint_continuous.comp | |
| 83 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 84 | - | |
| 85 | -theorem graphFlow_backward_joint_continuous : | |
| 86 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V r.1 0 r.2) := | |
| 87 | - continuous_fst.comp (V.backward_joint_continuous.comp | |
| 88 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 89 | - | |
| 90 | 70 | end EulerGraphInvariantFlow |
+0 −17 Euler/GraphPressurePotential.lean View file
| @@ -59,21 +59,4 @@ theorem gradientSpace_has_graph_potential (κ k : ℝ) (hκ : k * κ = 1) (m : V | ||
| 59 | 59 | simpa only [P, localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, |
| 60 | 60 | graphMap_apply, cylinderGraph] using hq x |
| 61 | 61 | |
| 62 | -/-- All-order coefficient and forcing jets yield an actual smooth scalar potential for the coercive graph pressure. -/ | |
| 63 | -theorem coercive_pressure_has_graph_potential (A : SmoothCoefficient period) (f : LiftL2 period) | |
| 64 | - (K : ∀ s : ℕ, CoefficientJet period EulerCylinderSobolev.standardDirection s A) | |
| 65 | - (J : ∀ s : ℕ, SpatialJet period EulerCylinderSobolev.standardDirection s f) | |
| 66 | - (κ k : ℝ) (hκ : k * κ = 1) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 67 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) : | |
| 68 | - ∃ (g : LiftDomain period → Vector3) (q : Vector3 → ℝ), | |
| 69 | - (∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) ∧ | |
| 70 | - (A.pressure κ m c hc hpos f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 71 | - ContDiff ℝ ∞ q ∧ ∀ x, gradient q x = κ • g (cylinderGraph period k m x) := by | |
| 72 | - obtain ⟨g, hgs, hrep⟩ := exists_smooth_pressure period A f K J κ m c hc hpos | |
| 73 | - have hp : A.pressure κ m c hc hpos f ∈ gradientSpace period κ m := | |
| 74 | - liftedPressure_mem period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos f | |
| 75 | - obtain ⟨q, hqs, hq⟩ := gradientSpace_has_graph_potential period κ k hκ m | |
| 76 | - (A.pressure κ m c hc hpos f) hp g hrep hgs | |
| 77 | - exact ⟨g, q, hgs, hrep, hqs, hq⟩ | |
| 78 | - | |
| 79 | 62 | end EulerGraphPressurePotential |
+0 −18 Euler/H6PressureCommutator.lean View file
| @@ -52,24 +52,6 @@ theorem commutatorBlock_zero {s q : ℕ} {A : SmoothCoefficient period} {f : Lif | ||
| 52 | 52 | (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : commutatorBlock K J q 0 = 0 := by |
| 53 | 53 | simp [commutatorBlock] |
| 54 | 54 | |
| 55 | -theorem commutatorBlock_nonneg {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 56 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 57 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : 0 ≤ commutatorBlock K J q n := | |
| 58 | - Finset.sum_nonneg (fun _ _ => sobolevSize_nonneg _ _) | |
| 59 | - | |
| 60 | -/-- Truncation preserves every valid external commutator as an actual L² field. -/ | |
| 61 | -theorem commutatorBlock_truncate {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 62 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) | |
| 63 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions (s + 1) f) (h : n ≤ s) : | |
| 64 | - commutatorBlock K.truncate J.truncate q n = commutatorBlock K J q n := by | |
| 65 | - unfold commutatorBlock | |
| 66 | - apply Finset.sum_congr rfl | |
| 67 | - intro w _ | |
| 68 | - rw [EulerPressureJetIdentities.SpatialJet.word_unique | |
| 69 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K.truncate J.truncate) | |
| 70 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K J) rfl h (by omega) w, | |
| 71 | - EulerPressureJetIdentities.SpatialJet.word_unique J.truncate J rfl h (by omega) w] | |
| 72 | - | |
| 73 | 55 | /-- The external commutator recurrence uses a fixed Sobolev norm at every leaf. -/ |
| 74 | 56 | theorem commutatorBlock_succ_le {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} |
| 75 | 57 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) |
+0 −26 Euler/H6PressureConstants.lean View file
| @@ -166,30 +166,4 @@ theorem pressureConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} | ||
| 166 | 166 | _ ≤ M ^ 3 := inverse_majorant_step hL hB hM |
| 167 | 167 | _ = (9 * L) ^ (3 ^ (q + 1)) := by dsimp [M]; rw [← pow_mul, pow_succ] |
| 168 | 168 | |
| 169 | -/-- The shifted Hq pressure estimate with an explicit polynomial coefficient constant. | |
| 170 | -All assumptions concern the actual coefficient, its derivative bounds, and coercivity. -/ | |
| 171 | -theorem pressure_shifted_Hq_polynomial_bound {s q : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 172 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 173 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 174 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 175 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 176 | - (N : ℕ) (hN : N + q ≤ s) (L ρ Rc : ℝ) | |
| 177 | - (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) | |
| 178 | - (hbasecoeff : ∀ r ≤ q, boundLevel period K r ≤ L) | |
| 179 | - (hsmall : 4 * (9 * L) ^ (3 ^ q) * (ρ * Rc) ≤ 1) | |
| 180 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → | |
| 181 | - coefficientBlock period K q l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) : | |
| 182 | - (∑ n ∈ Finset.range (N + 1), ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * | |
| 183 | - blockNorm period (J.solvePressure K κ m c hc hpos) q n) ≤ | |
| 184 | - 2 * (9 * L) ^ (3 ^ q) * ∑ n ∈ Finset.range (N + 1), | |
| 185 | - ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * blockNorm period J q n := by | |
| 186 | - have hq : q ≤ s := by omega | |
| 187 | - have hbase : (CoefficientJet.restrict K q hq).pressureConstant c ≤ (9 * L) ^ (3 ^ q) := by | |
| 188 | - apply pressureConstant_polynomial _ c L hc hL hcL | |
| 189 | - intro r hr | |
| 190 | - rw [coefficient_restrict_level period K hq hr] | |
| 191 | - exact hbasecoeff r hr | |
| 192 | - exact pressure_shifted_Hq_bound K J κ m c hc hpos N hN hq ρ Rc ((9 * L) ^ (3 ^ q)) | |
| 193 | - hρ hRc (one_le_pow₀ (by linarith)) hbase hsmall hcoeff | |
| 194 | - | |
| 195 | 169 | end EulerH6Pressure |
+0 −16 Euler/H6TransportSource.lean View file
| @@ -109,22 +109,6 @@ def transportField (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomai | ||
| 109 | 109 | LiftDomain period → Domain q := |
| 110 | 110 | ∑ i : Fin 4, (fun x => b x i • fieldDerivative period (standardDirection i) e x) |
| 111 | 111 | |
| 112 | -theorem transport_all_memLp (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) | |
| 113 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 114 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 115 | - (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) | |
| 116 | - (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : | |
| 117 | - ∀ j, ∀ w : Fin j → Fin 4, | |
| 118 | - MemLp (iteratedFieldDerivative period w (transportField period q b e)) 2 (liftMeasure period) := by | |
| 119 | - apply sum_all_memLp period Finset.univ | |
| 120 | - · intro i _ x | |
| 121 | - exact (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period _ e he x) | |
| 122 | - · intro i _ | |
| 123 | - exact product_all_memLp period q (coordinate 4 i ∘ b) _ | |
| 124 | - (postcomp_smooth period _ b hb) (fieldDerivative_smooth period _ e he) | |
| 125 | - (fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL2 r v) w) | |
| 126 | - (derivative_all_memLp period e heL2 i) | |
| 127 | - | |
| 128 | 112 | /-- The actual transport source has a single derivative on the transported H⁶ block. -/ |
| 129 | 113 | theorem transport_wordSobolevNorm_bound (q n : ℕ) |
| 130 | 114 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
+0 −17 Euler/HeatMaximalCauchy.lean View file
| @@ -128,21 +128,4 @@ theorem heat_H2_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | ||
| 128 | 128 | exact first_derivative_difference period T hT ν (u n) (u m) (f n) (f m) t i |
| 129 | 129 | (hd n t ht i) (hd m t ht i) |
| 130 | 130 | |
| 131 | -/-- Completeness constructs a genuine Bochner L²-time H² limit of the regularized heat solutions. -/ | |
| 132 | -theorem exists_heat_H2_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 133 | - (u : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 3)) | |
| 134 | - (f : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 135 | - (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, | |
| 136 | - HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u n) s))) | |
| 137 | - (value period (derivativeOperator period 0 i | |
| 138 | - (ν • laplacianOperator period 1 (extendPath T hT (u n) t) + extendPath T hT (f n) t))) t) | |
| 139 | - (hu : CauchySeq (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ | |
| 140 | - (Icc (0 : ℝ) T) (u n))) | |
| 141 | - (hf : CauchySeq (fun n => pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ | |
| 142 | - (Icc (0 : ℝ) T) (f n)))) : | |
| 143 | - ∃ U : TimeLp T (SobolevSpace period 2), | |
| 144 | - Filter.Tendsto (fun n => pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ | |
| 145 | - (Icc (0 : ℝ) T) (u n))) Filter.atTop (𝓝 U) := | |
| 146 | - cauchySeq_tendsto_of_complete (heat_H2_cauchy period T hT ν hν u f hd hu hf) | |
| 147 | - | |
| 148 | 131 | end EulerHeatMaximalCauchy |
+0 −35 Euler/HeatMaximalRegularity.lean View file
| @@ -46,29 +46,6 @@ theorem regularized_limit_restriction (T : ℝ) (hT : 0 ≤ T) | ||
| 46 | 46 | exact limit_restriction_ae T hT (truncateOperator period 1) |
| 47 | 47 | (fun n => (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u)) u U hU hrestrict |
| 48 | 48 | |
| 49 | -/-- The genuine heat estimate passes to the strong higher-order time limit without weak compactness. -/ | |
| 50 | -theorem regularized_limit_bound (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 51 | - (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 52 | - (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, | |
| 53 | - HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (regularizedState period T n u) s))) | |
| 54 | - (value period (derivativeOperator period 0 i | |
| 55 | - (ν • laplacianOperator period 1 (extendPath T hT (regularizedState period T n u) t) + | |
| 56 | - extendPath T hT (regularizedForcing period T n f) t))) t) | |
| 57 | - (U : TimeLp T (SobolevSpace period 2)) | |
| 58 | - (hU : Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U)) : | |
| 59 | - ‖U‖^2 ≤ (T+4*ν⁻¹)*‖u‖^2 + (ν⁻¹)^2 * | |
| 60 | - ‖pathLp T hT ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) f)‖^2 := by | |
| 61 | - have hlow := regularizedState_low_tendsto period T u | |
| 62 | - have hsource := pathLp_tendsto T hT _ | |
| 63 | - ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) f) | |
| 64 | - (regularizedForcing_value_tendsto period T f) | |
| 65 | - exact EulerQuadraticCauchy.limit_quadratic_bound | |
| 66 | - (fun n => lowerPath period T (regularizedState period T n u)) | |
| 67 | - (fun n => sourceTime period T hT (regularizedForcing period T n f)) | |
| 68 | - (fun n => higherTime period T hT (regularizedState period T n u)) u _ U (T+4*ν⁻¹) ((ν⁻¹)^2) | |
| 69 | - hlow hsource hU (fun n => heat_time_H2_bound period T hT ν hν | |
| 70 | - (regularizedState period T n u) (regularizedForcing period T n f) (hd n)) | |
| 71 | - | |
| 72 | 49 | /-- Completeness of actual H² Bochner space constructs its strong Cauchy limit. -/ |
| 73 | 50 | theorem exists_H2_time_limit (T : ℝ) (u : ℕ → TimeLp T (SobolevSpace period 2)) (hu : CauchySeq u) : |
| 74 | 51 | ∃ U : TimeLp T (SobolevSpace period 2), Filter.Tendsto u Filter.atTop (𝓝 U) := |
| @@ -102,16 +79,4 @@ theorem viscous_mild_maximal_regularity (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν | ||
| 102 | 79 | intro U hU |
| 103 | 80 | exact ⟨regularized_limit_restriction period T hT u U hU, hU⟩ |
| 104 | 81 | |
| 105 | -/-- Actual H² spatial representatives exist for almost every time of the genuine H¹ viscous mild solution. -/ | |
| 106 | -theorem viscous_mild_ae_H2 (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 107 | - (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) | |
| 108 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 109 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 110 | - u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + | |
| 111 | - ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r))) : | |
| 112 | - ∀ᵐ t ∂timeMeasure T, ∃ v : SobolevSpace period 2, value period v = value period (extendPath T hT u t) := by | |
| 113 | - obtain ⟨U, hU, _⟩ := viscous_mild_maximal_regularity period T hT ν hν u₀ f u hsol | |
| 114 | - filter_upwards [hU] with t ht | |
| 115 | - exact ⟨U t, congrArg (value period) ht⟩ | |
| 116 | - | |
| 117 | 82 | end EulerHeatMaximalRegularity |
+0 −20 Euler/HeatRegularizedPaths.lean View file
| @@ -58,26 +58,6 @@ theorem pathHeat_continuous {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevS | ||
| 58 | 58 | (f := fun p : ℝ≥0 × Icc (0 : ℝ) T => (p.1, u p.2)) |
| 59 | 59 | (heatOperator_joint_continuous period q) (continuous_fst.prodMk (u.continuous.comp continuous_snd)) |
| 60 | 60 | |
| 61 | -/-- A continuous path regularized by three genuine spatial heat derivatives. -/ | |
| 62 | -def regularizedPath {q : ℕ} (T : ℝ) (n : ℕ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : | |
| 63 | - C(Icc (0 : ℝ) T, SobolevSpace period (q+3)) := mapPath period T (heatRegularizer period q n) u | |
| 64 | - | |
| 65 | -/-- Regularized paths converge uniformly in their original complete Sobolev norm. -/ | |
| 66 | -theorem regularizedPath_tendsto {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : | |
| 67 | - Filter.Tendsto (fun n => mapPath period T (restrictOperator period (by omega : q ≤ q+3)) | |
| 68 | - (regularizedPath period T n u)) Filter.atTop (𝓝 u) := by | |
| 69 | - have h := (pathHeat_continuous period T u).continuousAt.tendsto.comp regularizerVariance_tendsto | |
| 70 | - have hzero : pathHeat period q T 0 u = u := by | |
| 71 | - apply ContinuousMap.ext | |
| 72 | - intro t | |
| 73 | - exact heatOperator_zero period (u t) | |
| 74 | - rw [hzero] at h | |
| 75 | - convert h using 1 | |
| 76 | - funext n | |
| 77 | - apply ContinuousMap.ext | |
| 78 | - intro t | |
| 79 | - exact restrict_heatRegularizer period n (u t) | |
| 80 | - | |
| 81 | 61 | /-- Regularization at adjacent Sobolev levels has exactly the same underlying field. -/ |
| 82 | 62 | theorem heatRegularizer_truncate {q : ℕ} (n : ℕ) (u : SobolevSpace period (q+1)) : |
| 83 | 63 | heatRegularizer period q n (truncateOperator period q u) = |
+0 −10 Euler/HeatRestart.lean View file
| @@ -47,16 +47,6 @@ theorem duhamel_restart {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 | ||
| 47 | 47 | ((shiftedHeat_continuous period ν T hT f t).intervalIntegrable (μ := volume) 0 a) |
| 48 | 48 | ((shiftedHeat_continuous period ν T hT f t).intervalIntegrable (μ := volume) a t)).symm |
| 49 | 49 | |
| 50 | -/-- The full genuine inhomogeneous heat solution restarts from its attained state. -/ | |
| 51 | -theorem inhomogeneous_heat_restart {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 ≤ T) | |
| 52 | - (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (u₀ : SobolevSpace period q) | |
| 53 | - (a t : ℝ) (ha : 0 ≤ a) (hat : a ≤ t) : | |
| 54 | - heatFlow period q ν t u₀ + duhamel period ν T hT f t = | |
| 55 | - heatFlow period q ν (t-a) (heatFlow period q ν a u₀ + duhamel period ν T hT f a) + | |
| 56 | - ∫ s in a..t, heatFlow period q ν (t-s) (extendPath T hT f s) := by | |
| 57 | - rw [map_add, heatFlow_semigroup period ν hν (t-a) a (sub_nonneg.mpr hat) ha, | |
| 58 | - sub_add_cancel, duhamel_restart period ν hν T hT f a t ha hat, add_assoc] | |
| 59 | - | |
| 60 | 50 | /-- The old-history and new-source identity written in elapsed time after the restart. -/ |
| 61 | 51 | theorem duhamel_restart_shifted {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 ≤ T) |
| 62 | 52 | (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (a t : ℝ) (ha : 0 ≤ a) (ht : 0 ≤ t) : |
+0 −36 Euler/HilbertCoerciveGevrey.lean View file
| @@ -94,42 +94,6 @@ theorem coerciveSolution_derivative_recurrence | ||
| 94 | 94 | exact hrec.trans (mul_le_mul_of_nonneg_right |
| 95 | 95 | (coerciveInverse_norm_le (A x) (c x) (hc x) (hcoercive x)) (by positivity)) |
| 96 | 96 | |
| 97 | -/-- A single factorial shift controls every actual derivative of the inverse solve. -/ | |
| 98 | -theorem coerciveSolution_gevrey | |
| 99 | - (A : P → E →L[ℝ] E) (c : P → ℝ) (hc : ∀ x, 0 < c x) | |
| 100 | - (hcoercive : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 101 | - (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) | |
| 102 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 103 | - (hinv : ∀ x, (c x)⁻¹ ≤ M) | |
| 104 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) A x‖ ≤ | |
| 105 | - Rc^(j+1) * ((j+1).factorial : ℝ)^2) | |
| 106 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 107 | - (n : ℕ) (x : P) : | |
| 108 | - ‖iteratedFDeriv ℝ n | |
| 109 | - (fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y)) x‖ ≤ | |
| 110 | - majorant R (d+1) n := by | |
| 111 | - let u := fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y) | |
| 112 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 113 | - (fun k => ‖iteratedFDeriv ℝ k f x‖) | |
| 114 | - (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun k => hforce k x) _ n | |
| 115 | - intro k | |
| 116 | - have hrec := coerciveSolution_derivative_recurrence A c hc hcoercive f hA hf x k | |
| 117 | - have hsum : (∑ j ∈ range k, | |
| 118 | - (k.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) A x‖ * | |
| 119 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ | |
| 120 | - ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 121 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ := by | |
| 122 | - apply sum_le_sum | |
| 123 | - intro j _ | |
| 124 | - have h := mul_le_mul_of_nonneg_right | |
| 125 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 126 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 127 | - simpa only [mul_assoc] using h | |
| 128 | - exact hrec.trans ((mul_le_mul_of_nonneg_left | |
| 129 | - (add_le_add (le_refl ‖iteratedFDeriv ℝ k f x‖) hsum) | |
| 130 | - (inv_nonneg.mpr (hc x).le)).trans | |
| 131 | - (mul_le_mul_of_nonneg_right (hinv x) (by positivity))) | |
| 132 | - | |
| 133 | 97 | /-- Polynomial coefficient and forcing amplitudes enter only the fixed top |
| 134 | 98 | constant, not the derivative-order radius. -/ |
| 135 | 99 | theorem coerciveSolution_gevrey_amplitudes |
+0 −23 Euler/HilbertCoerciveParameter.lean View file
| @@ -40,29 +40,6 @@ theorem contDiff_coerciveInverse_variable | ||
| 40 | 40 | exact contDiffAt_map_inverse (coerciveEquiv (A x) (c x) (hc x) (hA x)) |
| 41 | 41 | exact hinv.comp x hreg.contDiffAt |
| 42 | 42 | |
| 43 | -/-- The actual derivative of an inverse, even with a varying coercivity certificate. -/ | |
| 44 | -theorem hasDerivAt_coerciveInverse_variable | |
| 45 | - (A : ℝ → E →L[ℝ] E) (c : ℝ → ℝ) (hc : ∀ x, 0 < c x) | |
| 46 | - (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 47 | - (x : ℝ) (A₁ : E →L[ℝ] E) (hder : HasDerivAt A A₁ x) : | |
| 48 | - HasDerivAt (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) | |
| 49 | - (-(coerciveInverse (A x) (c x) (hc x) (hA x)).comp | |
| 50 | - (A₁.comp (coerciveInverse (A x) (c x) (hc x) (hA x)))) x := by | |
| 51 | - let u : (E →L[ℝ] E)ˣ := (coerciveEquiv (A x) (c x) (hc x) (hA x)).toUnit | |
| 52 | - have hu : (u : E →L[ℝ] E) = A x := by | |
| 53 | - ext v | |
| 54 | - exact coerciveEquiv_apply (A x) (c x) (hc x) (hA x) v | |
| 55 | - have hui : (↑u⁻¹ : E →L[ℝ] E) = coerciveInverse (A x) (c x) (hc x) (hA x) := rfl | |
| 56 | - have hi := hasFDerivAt_ringInverse (𝕜 := ℝ) u | |
| 57 | - rw [hu] at hi | |
| 58 | - have hcomp := hi.comp_hasDerivAt x hder | |
| 59 | - have hfun : (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) = Ring.inverse ∘ A := by | |
| 60 | - funext r | |
| 61 | - exact coerciveInverse_eq_ringInverse (A r) (c r) (hc r) (hA r) | |
| 62 | - rw [hfun] | |
| 63 | - simpa only [neg_apply, ContinuousLinearMap.mulLeftRight_apply, hui, | |
| 64 | - ContinuousLinearMap.mul_def, ContinuousLinearMap.comp_assoc] using hcomp | |
| 65 | - | |
| 66 | 43 | /-- Actual forcing-to-solution regularity for a parameterized coercive solve. -/ |
| 67 | 44 | theorem contDiff_coerciveSolution_variable |
| 68 | 45 | {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
+0 −16 Euler/HilbertCoerciveTransport.lean View file
| @@ -26,20 +26,4 @@ theorem transportedOperator_inner (D : V →L[ℝ] W) (A : W →L[ℝ] W) (u v : | ||
| 26 | 26 | ⟪transportedOperator D A u, v⟫_ℝ = ⟪A (D u), D v⟫_ℝ := by |
| 27 | 27 | exact adjoint_inner_left D v (A (D u)) |
| 28 | 28 | |
| 29 | -/-- Coercivity transports using only a proved lower bound for the coordinate map. -/ | |
| 30 | -theorem transportedOperator_coercive (D : V →L[ℝ] W) (A : W →L[ℝ] W) | |
| 31 | - (a d : ℝ) (ha : 0 ≤ a) | |
| 32 | - (hA : ∀ w, a * ‖w‖^2 ≤ ⟪A w, w⟫_ℝ) | |
| 33 | - (hD : ∀ v, d * ‖v‖^2 ≤ ‖D v‖^2) (v : V) : | |
| 34 | - (a*d) * ‖v‖^2 ≤ ⟪transportedOperator D A v, v⟫_ℝ := by | |
| 35 | - rw [transportedOperator_inner] | |
| 36 | - calc | |
| 37 | - (a*d) * ‖v‖^2 = a * (d * ‖v‖^2) := by ring | |
| 38 | - _ ≤ a * ‖D v‖^2 := mul_le_mul_of_nonneg_left (hD v) ha | |
| 39 | - _ ≤ ⟪A (D v), D v⟫_ℝ := hA (D v) | |
| 40 | - | |
| 41 | -/-- The transported forcing is the actual adjoint pullback. -/ | |
| 42 | -theorem transported_forcing_inner (D : V →L[ℝ] W) (f : W) (v : V) : | |
| 43 | - ⟪D.adjoint f, v⟫_ℝ = ⟪f, D v⟫_ℝ := adjoint_inner_left D v f | |
| 44 | - | |
| 45 | 29 | end EulerHilbertCoerciveTransport |
+0 −3 Euler/HilbertQuadraticFlow.lean View file
| @@ -55,9 +55,6 @@ theorem radial_sub_norm (x y : E) : ‖radial x-radial y‖ ≤ 2*‖x-y‖ := b | ||
| 55 | 55 | _ ≤ _ := by simpa only [mul_one] using h1 |
| 56 | 56 | linarith |
| 57 | 57 | |
| 58 | -theorem radial_lipschitz : LipschitzWith 2 (radial : E → E) := | |
| 59 | - lipschitzWith_iff_norm_sub_le.mpr radial_sub_norm | |
| 60 | - | |
| 61 | 58 | def normalized (B : E →L[ℝ] E →L[ℝ] E) (x : E) : E := B (radial x) (radial x) |
| 62 | 59 | |
| 63 | 60 | theorem bilinear_bound (B : E →L[ℝ] E →L[ℝ] E) (x y : E) : |
+0 −4 Euler/IntegralPathLimit.lean View file
| @@ -29,10 +29,6 @@ def pathIntegralOperator (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) : C(Icc (0 : ℝ) | ||
| 29 | 29 | intervalIntegral.norm_integral_le_of_norm_le_const (fun t _ => extendPath_norm_le T hT f t) |
| 30 | 30 | exact h.trans_eq (mul_comm _ _)) |
| 31 | 31 | |
| 32 | -/-- The time-integral operator is the literal Bochner interval integral. -/ | |
| 33 | -theorem pathIntegralOperator_apply (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) (f : C(Icc (0 : ℝ) T,E)) : | |
| 34 | - pathIntegralOperator T hT a b f = ∫ t in a..b, extendPath T hT f t := rfl | |
| 35 | - | |
| 36 | 32 | variable [CompleteSpace E] |
| 37 | 33 | |
| 38 | 34 | /-- Interior time derivatives with continuous endpoint traces give the exact integral evolution formula. -/ |
+0 −101 Euler/LinearDuhamelGevrey.lean View file
| @@ -50,105 +50,4 @@ theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) | ||
| 50 | 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | 52 | |
| 53 | -/-- The exact differentiated ODE yields a triangular estimate in the fixed | |
| 54 | -profile norm, with the same homogeneous and Green operators at every order. -/ | |
| 55 | -theorem weightedSolution_derivative_recurrence | |
| 56 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 57 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) | |
| 58 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 59 | - (x : P) (n : ℕ) : | |
| 60 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 61 | - C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* | |
| 62 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 63 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 64 | - ‖iteratedFDeriv ℝ (n-(j+1)) | |
| 65 | - (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by | |
| 66 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 67 | - have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ | |
| 68 | - have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + | |
| 69 | - (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by | |
| 70 | - intro y | |
| 71 | - have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by | |
| 72 | - ext p t | |
| 73 | - rfl | |
| 74 | - simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) | |
| 75 | - have hr := EulerFrozenEvolutionGevrey.derivative_recurrence | |
| 76 | - (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x | |
| 77 | - ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n | |
| 78 | - exact hr.trans (add_le_add | |
| 79 | - (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) | |
| 80 | - (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) | |
| 81 | - | |
| 82 | -/-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ | |
| 83 | -def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) | |
| 84 | - | |
| 85 | -/-- The actual forward solve loses one factorial shift. Its radius condition | |
| 86 | -contains only the propagator, coefficient and data amplitudes, and time length. -/ | |
| 87 | -theorem weightedSolution_gevrey | |
| 88 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 89 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 90 | - (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) | |
| 91 | - (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) | |
| 92 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 93 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 94 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 95 | - (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) | |
| 96 | - (n : ℕ) (x : P) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 98 | - majorant R (d+1) n := by | |
| 99 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 100 | - let M := forwardCost T C A D CB | |
| 101 | - have hCT : 0 ≤ C*T := mul_nonneg hC hT | |
| 102 | - have hM : 1 ≤ M := by | |
| 103 | - dsimp [M,forwardCost] | |
| 104 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] | |
| 105 | - have hR0 : 0 ≤ R := le_trans | |
| 106 | - (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR | |
| 107 | - have htop : C*A + C*T*D ≤ M := by | |
| 108 | - dsimp [M,forwardCost] | |
| 109 | - nlinarith [mul_nonneg hCT hCB] | |
| 110 | - have hcoef : C*T*CB ≤ M := by | |
| 111 | - dsimp [M,forwardCost] | |
| 112 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] | |
| 113 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 114 | - (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n | |
| 115 | - intro k | |
| 116 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 117 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ | |
| 118 | - have hS : 0 ≤ S := by dsimp [S]; positivity | |
| 119 | - have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k | |
| 120 | - have hcoeffOp (j : ℕ) : | |
| 121 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ | |
| 122 | - CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 123 | - have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left | |
| 124 | - (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 125 | - (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) | |
| 126 | - (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) | |
| 127 | - (x := x) hB.contDiffAt (n := j+1) (by simp) | |
| 128 | - exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans | |
| 129 | - (by simpa only [one_mul] using hcoeff j x)) | |
| 130 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * | |
| 131 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 132 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by | |
| 133 | - dsimp [S] | |
| 134 | - rw [mul_sum] | |
| 135 | - apply sum_le_sum | |
| 136 | - intro j _ | |
| 137 | - have hh := mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 139 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 140 | - convert hh using 1 | |
| 141 | - ring | |
| 142 | - have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k | |
| 143 | - have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := | |
| 144 | - hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) | |
| 145 | - (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) | |
| 146 | - change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) | |
| 147 | - apply hb.trans | |
| 148 | - calc | |
| 149 | - _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring | |
| 150 | - _ ≤ M*majorant R d k+M*S := add_le_add | |
| 151 | - (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | 53 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelNaturality.lean View file
| @@ -48,11 +48,4 @@ theorem solution_map (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | ||
| 48 | 48 | · change L (U.solution f a₀ ⟨0,le_rfl,hT⟩) = L a₀ |
| 49 | 49 | rw [U.solution_initial] |
| 50 | 50 | |
| 51 | -/-- Pointwise form of the same identity, including both endpoints. -/ | |
| 52 | -theorem solution_map_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - V.solution (L.compLeftContinuous ℝ (Icc (0 : ℝ) T) f) (L a₀) t = | |
| 55 | - L (U.solution f a₀ t) := by | |
| 56 | - exact congrArg (fun p : C(Icc (0 : ℝ) T,F) => p t) (U.solution_map V L hL f a₀) | |
| 57 | - | |
| 58 | 51 | end EulerLinearDuhamel.Evolution |
+0 −38 Euler/LinearDuhamelSymmetry.lean View file
| @@ -19,13 +19,6 @@ variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} | ||
| 19 | 19 | |
| 20 | 20 | namespace Evolution |
| 21 | 21 | |
| 22 | -/-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ | |
| 23 | -theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 24 | - U.solution f a₀ = V.solution f a₀ := by | |
| 25 | - ext t | |
| 26 | - exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) | |
| 27 | - (U.solution_initial f a₀) t | |
| 28 | - | |
| 29 | 22 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | 23 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | 24 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| @@ -41,35 +34,4 @@ end Evolution | ||
| 41 | 34 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | 35 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | 36 | |
| 44 | -/-- Reflection or any other parameter symmetry is inherited from coefficients | |
| 45 | -and data; no regularity or symmetry of the chosen propagators is required. -/ | |
| 46 | -theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) | |
| 47 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) | |
| 48 | - (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : | |
| 49 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by | |
| 50 | - have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) | |
| 51 | - have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by | |
| 52 | - ext p t | |
| 53 | - rfl | |
| 54 | - have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] | |
| 55 | - rw [hcoeff, hm, zero_apply, add_zero] at he | |
| 56 | - calc | |
| 57 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = | |
| 58 | - (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he | |
| 59 | - _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by | |
| 60 | - rw [hf x, ha₀ x, map_neg, map_neg, neg_add] | |
| 61 | - _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] | |
| 62 | - | |
| 63 | -/-- The actual forward solution stays in the union of the supports of its data. -/ | |
| 64 | -theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : | |
| 65 | - Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ | |
| 66 | - Function.support f ∪ Function.support a₀ := by | |
| 67 | - intro x hx | |
| 68 | - by_cases hf : f x = 0 | |
| 69 | - · by_cases ha : a₀ x = 0 | |
| 70 | - · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] | |
| 71 | - exact (hx hz).elim | |
| 72 | - · exact Or.inr ha | |
| 73 | - · exact Or.inl hf | |
| 74 | - | |
| 75 | 37 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelWeighted.lean View file
| @@ -64,13 +64,6 @@ theorem weightedForcing_norm (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 | ||
| 64 | 64 | def weightedSolution (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : C(Icc (0 : ℝ) T,E) := |
| 65 | 65 | normalize g hg (U.solution (weight g f) a₀) |
| 66 | 66 | |
| 67 | -/-- The normalized solution is still exactly the two actual data maps. -/ | |
| 68 | -theorem weightedSolution_eq (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 69 | - U.weightedSolution g hg f a₀ = U.weightedInitial g hg a₀ + U.weightedForcing g hg f := by | |
| 70 | - unfold weightedSolution | |
| 71 | - rw [U.solution_eq_operators, map_add] | |
| 72 | - rfl | |
| 73 | - | |
| 74 | 67 | variable {D : C(Icc (0 : ℝ) T,E →L[ℝ] E)} (V : Evolution T hT D) |
| 75 | 68 | |
| 76 | 69 | /-- Freezing the coefficient is an actual identity of constructed solutions. -/ |
+0 −24 Euler/LpBochnerRealization.lean View file
| @@ -59,30 +59,6 @@ def realization (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | ||
| 59 | 59 | (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : Lp E 2 (μ.prod ν) := |
| 60 | 60 | (field_memLp w f hf hrep).toLp f |
| 61 | 61 | |
| 62 | -theorem realization_ae (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 63 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 64 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 65 | - (realization w f hf hrep : α × β → E) =ᵐ[μ.prod ν] f := | |
| 66 | - (field_memLp w f hf hrep).coeFn_toLp | |
| 67 | - | |
| 68 | 62 | variable [SFinite μ] |
| 69 | 63 | |
| 70 | -/-- Fubini preserves the exact L² norm, with no angle or dimension factor. -/ | |
| 71 | -theorem realization_norm (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 72 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 73 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 74 | - ‖realization w f hf hrep‖ = ‖w‖ := by | |
| 75 | - have he : ‖realization w f hf hrep‖^2 = ‖w‖^2 := by | |
| 76 | - rw [norm_sq_eq_integral] | |
| 77 | - calc | |
| 78 | - _ = ∫ z, ‖f z‖^2 ∂μ.prod ν := by | |
| 79 | - apply integral_congr_ae | |
| 80 | - filter_upwards [realization_ae w f hf hrep] with z hz | |
| 81 | - rw [hz] | |
| 82 | - _ = ∫ x, ∫ y, ‖f (x,y)‖^2 ∂ν ∂μ := | |
| 83 | - integral_prod _ ((memLp_two_iff_integrable_sq_norm hf).1 (field_memLp w f hf hrep)) | |
| 84 | - _ = ∫ x, ‖w x‖^2 ∂μ := integral_congr_ae (fiber_integral w f hrep) | |
| 85 | - _ = _ := (norm_sq_eq_integral w).symm | |
| 86 | - nlinarith [norm_nonneg (realization w f hf hrep), norm_nonneg w] | |
| 87 | - | |
| 88 | 64 | end EulerLpBochnerRealization |
+0 −37 Euler/LpCylinderCoefficients.lean View file
| @@ -116,43 +116,6 @@ theorem liftedOperatorPathMap_norm : ‖liftedOperatorPathMap (V := V) period S | ||
| 116 | 116 | change ‖liftedOperatorPath period S hS T A‖ ≤ 1*‖A‖ |
| 117 | 117 | exact (liftedOperatorPath_norm period S hS T A).trans_eq (one_mul ‖A‖).symm |
| 118 | 118 | |
| 119 | -omit [CompleteSpace V] in | |
| 120 | -/-- The actual cylinder coefficient varies smoothly with all four covering parameters. -/ | |
| 121 | -theorem mixedOperator_contDiff (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) : | |
| 122 | - ContDiff ℝ ∞ (fun a : LiftTangent => liftedOperatorPath period S hS T | |
| 123 | - (translateCoefficientPath B.field a.1)) := by | |
| 124 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 125 | - (E := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 126 | - (F := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 127 | - (liftedOperatorPathMap period S hS T)).comp | |
| 128 | - (B.translation_contDiff.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 129 | - | |
| 130 | -omit [CompleteSpace V] in | |
| 131 | -/-- Mixed coefficient jets obey the original spatial tensor bound, with constant one. -/ | |
| 132 | -theorem mixedOperator_bound (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) | |
| 133 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 134 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (B.field t : Space → V →L[ℝ] V) x‖ ≤ C) | |
| 135 | - (a : LiftTangent) : | |
| 136 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => liftedOperatorPath period S hS T | |
| 137 | - (translateCoefficientPath B.field b.1)) a‖ ≤ C := by | |
| 138 | - let f : Space → C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V) := translateCoefficientPath B.field | |
| 139 | - have hf : ContDiff ℝ ∞ f := B.translation_contDiff | |
| 140 | - have hright : ‖iteratedFDeriv ℝ n (f ∘ ContinuousLinearMap.fst ℝ Space ℝ) a‖ ≤ C := by | |
| 141 | - rw [(ContinuousLinearMap.fst ℝ Space ℝ).iteratedFDeriv_comp_right hf a (by simp)] | |
| 142 | - apply (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans | |
| 143 | - calc | |
| 144 | - _ ≤ ‖iteratedFDeriv ℝ n f a.1‖ * ∏ _i : Fin n, (1 : ℝ) := by | |
| 145 | - apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) | |
| 146 | - exact Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun _ _ => ContinuousLinearMap.norm_fst_le ℝ Space ℝ) | |
| 147 | - _ ≤ C := by simpa only [Finset.prod_const_one, mul_one] using B.norm_iteratedFDeriv_translation_le n C hC hb a.1 | |
| 148 | - have hleft := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 149 | - (F := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 150 | - (G := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 151 | - (liftedOperatorPathMap period S hS T) | |
| 152 | - ((hf.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff).contDiffAt (x := a)) (n := n) (by simp) | |
| 153 | - exact hleft.trans ((mul_le_mul_of_nonneg_right (liftedOperatorPathMap_norm period S hS T) | |
| 154 | - (norm_nonneg _)).trans (by simpa only [one_mul] using hright)) | |
| 155 | - | |
| 156 | 119 | variable (hT : 0 ≤ T) (B : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) |
| 157 | 120 | |
| 158 | 121 | /-- The cylinder evolution is constructed from the genuine spatial fundamental fields. -/ |
+0 −7 Euler/LpCylinderPathBounds.lean View file
| @@ -33,13 +33,6 @@ private local instance : NormedSpace ℝ C(K,CylinderL2 P E →L[ℝ] CylinderL2 | ||
| 33 | 33 | def mixedOperatorPath (A : C(K,Space →ᵇ E →L[ℝ] F)) (a : LiftTangent) : |
| 34 | 34 | C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F) := fullPathMap P (translateCoefficientPath A a.1) |
| 35 | 35 | |
| 36 | -theorem mixedOperatorPath_contDiff (A : C(K,Space →ᵇ E →L[ℝ] F)) | |
| 37 | - (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) : | |
| 38 | - ContDiff ℝ ∞ (mixedOperatorPath P A) := | |
| 39 | - (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 40 | - (E := C(K,Space →ᵇ E →L[ℝ] F)) (F := C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F)) | |
| 41 | - (fullPathMap P)).comp (hA.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 42 | - | |
| 43 | 36 | theorem mixedOperatorPath_bound (A : C(K,Space →ᵇ E →L[ℝ] F)) |
| 44 | 37 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) (n : ℕ) (C : ℝ) |
| 45 | 38 | (hb : ∀ a, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) a‖ ≤ C) (a : LiftTangent) : |
+0 −22 Euler/LpCylinderPaths.lean View file
| @@ -114,16 +114,6 @@ theorem translatedData_contDiff (u : CylinderL2 period V) | ||
| 114 | 114 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := CylinderL2 period V) |
| 115 | 115 | (F := Supported period V S hS) (projection (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS))).comp hu |
| 116 | 116 | |
| 117 | -/-- The supported parameter family has no larger actual derivative norm. -/ | |
| 118 | -theorem norm_iteratedFDeriv_translatedData_le (u : CylinderL2 period V) | |
| 119 | - (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a u)) (n : ℕ) (a : LiftTangent) : | |
| 120 | - ‖iteratedFDeriv ℝ n (translatedData period S hS u) a‖ ≤ | |
| 121 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b u) a‖ := by | |
| 122 | - have h := (projection (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)).norm_iteratedFDeriv_comp_left | |
| 123 | - (hu.contDiffAt (x := a)) (n := n) (by simp) | |
| 124 | - exact h.trans (by simpa only [one_mul] using | |
| 125 | - mul_le_mul_of_nonneg_right (projection_norm (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)) (norm_nonneg _)) | |
| 126 | - | |
| 127 | 117 | /-- Uniform-time orbit smoothness is preserved by the fixed support projection. -/ |
| 128 | 118 | theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) |
| 129 | 119 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) : |
| @@ -131,18 +121,6 @@ theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) | ||
| 131 | 121 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := C(K,CylinderL2 period V)) |
| 132 | 122 | (F := C(K,Supported period V S hS)) (projectPath period S hS)).comp hf |
| 133 | 123 | |
| 134 | -/-- The projected forcing jets are bounded by the genuine uniform-time spatial orbit jets. -/ | |
| 135 | -theorem norm_iteratedFDeriv_translatedForcing_le (f : C(K,CylinderL2 period V)) | |
| 136 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) | |
| 137 | - (n : ℕ) (a : LiftTangent) : | |
| 138 | - ‖iteratedFDeriv ℝ n (translatedForcing period S hS f) a‖ ≤ | |
| 139 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => pathTranslate period b f) a‖ := by | |
| 140 | - have h := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 141 | - (F := C(K,CylinderL2 period V)) (G := C(K,Supported period V S hS)) | |
| 142 | - (projectPath (K := K) (V := V) period S hS) (hf.contDiffAt (x := a)) (n := n) (by simp) | |
| 143 | - exact h.trans (by simpa only [one_mul] using | |
| 144 | - mul_le_mul_of_nonneg_right (projectPath_norm (K := K) (V := V) period S hS) (norm_nonneg _)) | |
| 145 | - | |
| 146 | 124 | |
| 147 | 125 | variable {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) |
| 148 | 126 | |
+0 −8 Euler/LpCylinderRectangular.lean View file
| @@ -164,14 +164,6 @@ def supportedOperatorMap : (Space →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 164 | 164 | (supportedOperatorMap period S hS A u : CylinderL2 period F) = |
| 165 | 165 | fullOperatorMap period A (u : CylinderL2 period E) := rfl |
| 166 | 166 | |
| 167 | -theorem supportedOperatorMap_norm : ‖supportedOperatorMap (E := E) (F := F) period S hS‖ ≤ 1 := by | |
| 168 | - apply opNorm_le_bound _ zero_le_one | |
| 169 | - intro A | |
| 170 | - rw [one_mul] | |
| 171 | - exact (EulerLpOperatorField.supported_norm (liftMeasure period) (spatialSet period S) | |
| 172 | - (spatialSet_measurable period S hS) (fieldLift period A) ‖A‖ (norm_nonneg A) | |
| 173 | - (fun x _ => A.norm_coe_le_norm x.1)) | |
| 174 | - | |
| 175 | 167 | def supportedPathMap : C(K,Space →ᵇ E →L[ℝ] F) →L[ℝ] |
| 176 | 168 | C(K,Supported period E S hS →L[ℝ] Supported period F S hS) := |
| 177 | 169 | (supportedOperatorMap (E := E) (F := F) period S hS).compLeftContinuous ℝ K |
+0 −9 Euler/LpCylinderTimeWeight.lean View file
| @@ -25,18 +25,9 @@ theorem supportedMultiplier_weight (A : C(K,Space →ᵇ E →L[ℝ] F)) | ||
| 25 | 25 | intro t |
| 26 | 26 | exact (supportedOperatorMap period S hS (A t)).map_smul (g t) (u t) |
| 27 | 27 | |
| 28 | -theorem supportedMultiplier_normalize (hg : ∀ t, 0 < g t) | |
| 29 | - (A : C(K,Space →ᵇ E →L[ℝ] F)) (u : C(K,Supported period E S hS)) : | |
| 30 | - supportedMultiplierMap period S hS A (normalize g hg u) = | |
| 31 | - normalize g hg (supportedMultiplierMap period S hS A u) := | |
| 32 | - supportedMultiplier_weight period S hS (reciprocal g hg) A u | |
| 33 | - | |
| 34 | 28 | theorem include_weight (u : C(K,Supported period E S hS)) : |
| 35 | 29 | includePath period S hS (weight g u) = weight g (includePath period S hS u) := rfl |
| 36 | 30 | |
| 37 | -theorem include_normalize (hg : ∀ t, 0 < g t) (u : C(K,Supported period E S hS)) : | |
| 38 | - includePath period S hS (normalize g hg u) = normalize g hg (includePath period S hS u) := rfl | |
| 39 | - | |
| 40 | 31 | theorem translate_weight (a : LiftTangent) (u : C(K,CylinderL2 period E)) : |
| 41 | 32 | pathTranslate period a (weight g u) = weight g (pathTranslate period a u) := by |
| 42 | 33 | apply ContinuousMap.ext |
+0 −21 Euler/LpCylinderTranslation.lean View file
| @@ -75,16 +75,6 @@ omit [CompactSpace K] in | ||
| 75 | 75 | @[simp] theorem pathTranslate_apply (a : LiftTangent) (u : C(K,CylinderL2 period V)) (t : K) : |
| 76 | 76 | pathTranslate period a u t = translate period a (u t) := rfl |
| 77 | 77 | |
| 78 | -theorem pathTranslate_norm (a : LiftTangent) : ‖pathTranslate (K := K) (V := V) period a‖ ≤ 1 := by | |
| 79 | - apply opNorm_le_bound _ zero_le_one | |
| 80 | - intro u | |
| 81 | - rw [one_mul] | |
| 82 | - apply (ContinuousMap.norm_le _ (norm_nonneg u)).2 | |
| 83 | - intro t | |
| 84 | - change ‖translate period a (u t)‖ ≤ ‖u‖ | |
| 85 | - rw [LinearIsometry.norm_map] | |
| 86 | - exact u.norm_coe_le_norm t | |
| 87 | - | |
| 88 | 78 | end Translation |
| 89 | 79 | |
| 90 | 80 | section Fields |
| @@ -118,17 +108,6 @@ omit [CompactSpace K] [Fact (0 < period)] in | ||
| 118 | 108 | @[simp] theorem fieldPathLift_apply (A : C(K,Space →ᵇ W)) (t : K) (x : LiftDomain period) : |
| 119 | 109 | fieldPathLift period A t x = A t x.1 := rfl |
| 120 | 110 | |
| 121 | -omit [Fact (0 < period)] in | |
| 122 | -theorem fieldPathLift_norm : ‖fieldPathLift (K := K) (W := W) period‖ ≤ 1 := by | |
| 123 | - apply opNorm_le_bound _ zero_le_one | |
| 124 | - intro A | |
| 125 | - rw [one_mul] | |
| 126 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 127 | - intro t | |
| 128 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 | |
| 129 | - intro x | |
| 130 | - exact ((A t).norm_coe_le_norm x.1).trans (A.norm_coe_le_norm t) | |
| 131 | - | |
| 132 | 111 | end Fields |
| 133 | 112 | |
| 134 | 113 | /-- Support in a set of spatial labels, with arbitrary angular coordinate. -/ |
+0 −16 Euler/LpMultilinearBundling.lean View file
| @@ -32,20 +32,4 @@ theorem multilinearBundling_ae (D : Lp (P [×n]→L[ℝ] V) 2 μ) (v : Fin n → | ||
| 32 | 32 | exact ContinuousLinearMap.coeFn_compLp (𝕜 := ℝ) (𝕜' := ℝ) |
| 33 | 33 | (E := P [×n]→L[ℝ] V) (F := V) (σ := RingHom.id ℝ) L D |
| 34 | 34 | |
| 35 | -theorem multilinearBundling_apply_norm_le (D : Lp (P [×n]→L[ℝ] V) 2 μ) : | |
| 36 | - ‖multilinearBundling (P := P) (V := V) μ n D‖ ≤ ‖D‖ := by | |
| 37 | - apply ContinuousMultilinearMap.opNorm_le_bound (norm_nonneg D) | |
| 38 | - intro v | |
| 39 | - rw [mul_comm] | |
| 40 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 41 | - filter_upwards [multilinearBundling_ae μ n D v] with x hx | |
| 42 | - rw [hx, mul_comm] | |
| 43 | - exact (D x).le_opNorm v | |
| 44 | - | |
| 45 | -theorem multilinearBundling_norm_le_one : | |
| 46 | - ‖multilinearBundling (P := P) (V := V) μ n‖ ≤ 1 := by | |
| 47 | - apply (multilinearBundling (P := P) (V := V) μ n).opNorm_le_bound zero_le_one | |
| 48 | - intro D | |
| 49 | - simpa only [one_mul] using multilinearBundling_apply_norm_le μ n D | |
| 50 | - | |
| 51 | 35 | end EulerLpDerivative |
+0 −31 Euler/LpOperatorField.lean View file
| @@ -113,12 +113,6 @@ def fullMap : (α →ᵇ (E →L[ℝ] F)) →L[ℝ] (Lp E 2 μ →L[ℝ] Lp F 2 | ||
| 113 | 113 | change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ |
| 114 | 114 | simpa only [one_mul] using full_norm μ A) |
| 115 | 115 | |
| 116 | -theorem fullMap_norm : ‖fullMap (E := E) (F := F) μ‖ ≤ 1 := by | |
| 117 | - apply opNorm_le_bound _ zero_le_one | |
| 118 | - intro A | |
| 119 | - change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ | |
| 120 | - simpa only [one_mul] using full_norm μ A | |
| 121 | - | |
| 122 | 116 | end EulerLpOperatorField |
| 123 | 117 | |
| 124 | 118 | namespace EulerLpOperatorField |
| @@ -144,10 +138,6 @@ def supported (A : α →ᵇ (E →L[ℝ] F)) : | ||
| 144 | 138 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 145 | 139 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 146 | 140 | |
| 147 | -theorem supported_ae (A : α →ᵇ (E →L[ℝ] F)) (u : supportedSpace (V := E) μ S hS) : | |
| 148 | - ((supported μ S hS A u : supportedSpace (V := F) μ S hS) : Lp F 2 μ) =ᵐ[μ] | |
| 149 | - fun x => A x ((u : Lp E 2 μ) x) := full_ae μ A u | |
| 150 | - | |
| 151 | 141 | /-- Only values on the supporting region enter the actual operator norm. -/ |
| 152 | 142 | theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) |
| 153 | 143 | (hA : ∀ x ∈ S, ‖A x‖ ≤ C) : ‖supported μ S hS A‖ ≤ C := by |
| @@ -162,25 +152,4 @@ theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) | ||
| 162 | 152 | · exact ((A x).le_opNorm _).trans (mul_le_mul_of_nonneg_right (hA x hx) (norm_nonneg _)) |
| 163 | 153 | · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] |
| 164 | 154 | |
| 165 | -/-- A pointwise lower frame bound becomes the actual spatial-L² lower frame bound. -/ | |
| 166 | -theorem supported_norm_sq_lower (A : α →ᵇ (E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 167 | - (hA : ∀ x ∈ S, ∀ v : E, c*‖v‖^2 ≤ ‖A x v‖^2) | |
| 168 | - (u : supportedSpace (V := E) μ S hS) : | |
| 169 | - c*‖u‖^2 ≤ ‖supported μ S hS A u‖^2 := by | |
| 170 | - have hroot : (Real.sqrt c)^2 = c := Real.sq_sqrt hc | |
| 171 | - have h : ‖Real.sqrt c • (u : Lp E 2 μ)‖ ≤ ‖full μ A (u : Lp E 2 μ)‖ := by | |
| 172 | - apply Lp.norm_le_norm_of_ae_le | |
| 173 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), Lp.coeFn_smul (Real.sqrt c) (u : Lp E 2 μ), | |
| 174 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x ha hs hu | |
| 175 | - rw [ha,hs,Pi.smul_apply,norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] | |
| 176 | - by_cases hx : x ∈ S | |
| 177 | - · apply (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).1 | |
| 178 | - rw [mul_pow,hroot] | |
| 179 | - exact hA x hx _ | |
| 180 | - · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] | |
| 181 | - rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] at h | |
| 182 | - have hs := (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).2 h | |
| 183 | - change c*‖(u : Lp E 2 μ)‖^2 ≤ ‖full μ A (u : Lp E 2 μ)‖^2 | |
| 184 | - simpa only [mul_pow,hroot] using hs | |
| 185 | - | |
| 186 | 155 | end EulerLpOperatorField |
+0 −61 Euler/LpOperatorFieldPath.lean View file
| @@ -74,12 +74,6 @@ def supportedMap : (α →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 74 | 74 | |
| 75 | 75 | @[simp] theorem supportedMap_apply (A : α →ᵇ E →L[ℝ] F) : supportedMap μ S hS A = supported μ S hS A := rfl |
| 76 | 76 | |
| 77 | -theorem supportedMap_norm : ‖supportedMap (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 78 | - apply opNorm_le_bound _ zero_le_one | |
| 79 | - intro A | |
| 80 | - simpa only [one_mul,supportedMap_apply] using | |
| 81 | - supported_norm μ S hS A ‖A‖ (norm_nonneg _) (fun x _ => A.norm_coe_le_norm x) | |
| 82 | - | |
| 83 | 77 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 84 | 78 | |
| 85 | 79 | /-- The actual rectangular coefficient map uniformly along a compact time set. -/ |
| @@ -91,66 +85,11 @@ omit [CompactSpace K] in | ||
| 91 | 85 | @[simp] theorem supportedPathMap_apply (A : C(K,α →ᵇ E →L[ℝ] F)) (t : K) : |
| 92 | 86 | supportedPathMap μ S hS A t = supported μ S hS (A t) := rfl |
| 93 | 87 | |
| 94 | -theorem supportedPathMap_norm : ‖supportedPathMap (K := K) (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 95 | - apply opNorm_le_bound _ zero_le_one | |
| 96 | - intro A | |
| 97 | - rw [one_mul] | |
| 98 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 99 | - intro t | |
| 100 | - exact (supported_norm μ S hS (A t) ‖A t‖ (norm_nonneg _) (fun x _ => (A t).norm_coe_le_norm x)).trans | |
| 101 | - (A.norm_coe_le_norm t) | |
| 102 | - | |
| 103 | -omit [CompactSpace K] in | |
| 104 | -/-- Every-time pointwise lower frame bounds hold on the real L² frame path. -/ | |
| 105 | -theorem supportedPath_lower (A : C(K,α →ᵇ E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 106 | - (hA : ∀ t x, x ∈ S → ∀ v, c*‖v‖^2 ≤ ‖A t x v‖^2) | |
| 107 | - (t : K) (u : supportedSpace (V := E) μ S hS) : | |
| 108 | - c*‖u‖^2 ≤ ‖supportedPathMap μ S hS A t u‖^2 := | |
| 109 | - supported_norm_sq_lower μ S hS (A t) c hc (hA t) u | |
| 110 | - | |
| 111 | 88 | section Derivative |
| 112 | 89 | |
| 113 | 90 | variable [CompleteSpace F] |
| 114 | 91 | (T : ℝ) (hT : 0 ≤ T) (A A' : C(Icc (0 : ℝ) T,α →ᵇ E →L[ℝ] F)) |
| 115 | 92 | |
| 116 | -/-- Literal pointwise coefficient time derivatives give the genuine within-time | |
| 117 | -operator derivative; no global time extension is assumed. -/ | |
| 118 | -theorem supportedPath_hasDerivWithinAt | |
| 119 | - (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : α, | |
| 120 | - HasDerivWithinAt (fun s => extendPath T hT A s x) | |
| 121 | - (extendPath T hT A' t x) (Icc (0 : ℝ) T) t) | |
| 122 | - (t : Icc (0 : ℝ) T) : | |
| 123 | - HasDerivWithinAt (extendPath T hT (supportedPathMap μ S hS A)) | |
| 124 | - (supportedPathMap μ S hS A' t) (Icc (0 : ℝ) T) t := by | |
| 125 | - have hfield := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT A A' hpoint t t.property | |
| 126 | - have hlinear : HasFDerivAt | |
| 127 | - (fun B : α →ᵇ E →L[ℝ] F => supportedMap μ S hS B) | |
| 128 | - (supportedMap μ S hS) (extendPath T hT A t) := | |
| 129 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := α →ᵇ E →L[ℝ] F) | |
| 130 | - (F := supportedSpace (V := E) μ S hS →L[ℝ] supportedSpace (V := F) μ S hS) | |
| 131 | - (supportedMap μ S hS) | |
| 132 | - have hd := hlinear.comp_hasDerivWithinAt (t : ℝ) hfield | |
| 133 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 134 | - (supportedMap μ S hS (A' t)) (Icc (0 : ℝ) T) t | |
| 135 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 136 | - (supportedMap μ S hS (A' (projIcc 0 T hT t))) (Icc (0 : ℝ) T) t at hd | |
| 137 | - rwa [projIcc_of_mem hT t.property] at hd | |
| 138 | - | |
| 139 | 93 | end Derivative |
| 140 | 94 | |
| 141 | -/-- A localized Hessian upper bound passes to its genuine supported L² operator. -/ | |
| 142 | -theorem supported_quadratic_upper (A : α →ᵇ E →L[ℝ] E) (C : ℝ) | |
| 143 | - (hA : ∀ x ∈ S, ∀ v, ⟪A x v,v⟫_ℝ ≤ C*‖v‖^2) (u : supportedSpace (V := E) μ S hS) : | |
| 144 | - ⟪supported μ S hS A u,u⟫_ℝ ≤ C*‖u‖^2 := by | |
| 145 | - change ⟪full μ A (u : Lp E 2 μ),(u : Lp E 2 μ)⟫_ℝ ≤ C*‖(u : Lp E 2 μ)‖^2 | |
| 146 | - rw [← real_inner_self_eq_norm_sq,L2.inner_def,L2.inner_def,← integral_const_mul] | |
| 147 | - apply integral_mono_ae (L2.integrable_inner (full μ A (u : Lp E 2 μ)) (u : Lp E 2 μ)) | |
| 148 | - ((L2.integrable_inner (u : Lp E 2 μ) (u : Lp E 2 μ)).const_mul C) | |
| 149 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), | |
| 150 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x hx hu | |
| 151 | - rw [hx,real_inner_self_eq_norm_sq] | |
| 152 | - by_cases hs : x ∈ S | |
| 153 | - · exact hA x hs _ | |
| 154 | - · simp only [hu hs,map_zero,inner_zero_left,norm_zero,zero_pow (by decide : 2 ≠ 0),mul_zero,le_refl] | |
| 155 | - | |
| 156 | 95 | end EulerLpOperatorField |
+0 −6 Euler/LpSmoothJetField.lean View file
| @@ -59,12 +59,6 @@ private theorem jetField_field_aux (n : ℕ) : | ||
| 59 | 59 | (jetField n A).field x = iteratedFDeriv ℝ n A.field x := |
| 60 | 60 | jetField_field_aux n V A x |
| 61 | 61 | |
| 62 | -theorem jetField_toLp {V : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 63 | - (A : SmoothL2Field V) (n : ℕ) : (jetField n A).toLp = A.jetLp n := by | |
| 64 | - apply Lp.ext | |
| 65 | - filter_upwards [(jetField n A).toLp_ae, A.jetLp_ae n] with x h₁ h₂ | |
| 66 | - exact h₁.trans ((jetField_field A n x).trans h₂.symm) | |
| 67 | - | |
| 68 | 62 | variable {K : Type v} [TopologicalSpace K] |
| 69 | 63 | |
| 70 | 64 | private theorem continuous_jetField_jet_aux (n : ℕ) : |
+0 −25 Euler/LpSupportedConstructedEvolution.lean View file
| @@ -46,29 +46,4 @@ theorem fundamental_pointwise_derivative (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) | ||
| 46 | 46 | convert hd using 1 |
| 47 | 47 | all_goals rfl |
| 48 | 48 | |
| 49 | -/-- A genuine supported-L² evolution constructed from the original bounded coefficient. -/ | |
| 50 | -def constructedSupportedEvolution (μ : Measure α) (S : Set α) (hS : MeasurableSet S) : | |
| 51 | - Evolution T hT (operatorPath μ S hS T B) := | |
| 52 | - liftEvolution μ S hS T hT B (fundamentalPath T hT B).forward (fundamentalPath T hT B).backward | |
| 53 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 54 | - ((fundamentalPath T hT B).forward_backward t)) | |
| 55 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 56 | - ((fundamentalPath T hT B).backward_forward t)) | |
| 57 | - (fundamental_pointwise_derivative T hT B) | |
| 58 | - | |
| 59 | -/-- The actual supported-L² propagator retains the exact localized H3 bound. -/ | |
| 60 | -theorem constructedSupportedEvolution_propagator_norm | |
| 61 | - (μ : Measure α) (S : Set α) (hS : MeasurableSet S) | |
| 62 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (C : ℝ) (hC : 0 ≤ C) | |
| 63 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 64 | - ‖((fundamentalPath T hT B).forward t x).comp ((fundamentalPath T hT B).backward s x)‖ ≤ | |
| 65 | - C*g t/g s) | |
| 66 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 67 | - ‖(constructedSupportedEvolution T hT B μ S hS).propagator t s‖ ≤ C*g t/g s := by | |
| 68 | - change ‖(operator μ S hS ((fundamentalPath T hT B).forward t)).comp | |
| 69 | - (operator μ S hS ((fundamentalPath T hT B).backward s))‖ ≤ _ | |
| 70 | - rw [← operator_mul] | |
| 71 | - exact operator_norm_le μ S hS _ (C*g t/g s) | |
| 72 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 73 | - | |
| 74 | 49 | end EulerLpSupportedConstructedEvolution |
+0 −42 Euler/LpSupportedEvolution.lean View file
| @@ -111,46 +111,4 @@ def liftEvolution : Evolution T hT (operatorPath μ S hS T B) where | ||
| 111 | 111 | rw [operator_mul] at hd |
| 112 | 112 | exact hd |
| 113 | 113 | |
| 114 | -/-- The pointwise localized (H3) estimate is the actual L² propagator norm, | |
| 115 | -with the identical relative profile factor. -/ | |
| 116 | -theorem liftEvolution_propagator_norm (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) | |
| 117 | - (C : ℝ) (hC : 0 ≤ C) | |
| 118 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 119 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 120 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 121 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).propagator t s‖ ≤ C*g t/g s := by | |
| 122 | - change ‖(operator μ S hS (Φ t)).comp (operator μ S hS (Ψ s))‖ ≤ _ | |
| 123 | - rw [← operator_mul] | |
| 124 | - exact operator_norm_le μ S hS (Φ t*Ψ s) (C*g t/g s) | |
| 125 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 126 | - | |
| 127 | -/-- The actual forced supported-L² path has the source's polynomial profile bound. -/ | |
| 128 | -theorem liftedSolution_profile_bound | |
| 129 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 130 | - (a₀ : supportedSpace (V := V) μ S hS) | |
| 131 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 132 | - (C D : ℝ) (hC : 0 ≤ C) | |
| 133 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 134 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 135 | - (hf : ∀ s, ‖f s‖ ≤ D*g s) (t : Icc (0 : ℝ) T) : | |
| 136 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t‖ ≤ | |
| 137 | - C*g t*(‖a₀‖+(t : ℝ)*D) := | |
| 138 | - (liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution_profile_bound f a₀ g hg hg₀ C D hC | |
| 139 | - (liftEvolution_propagator_norm μ S hS T hT B Φ Ψ hRight hLeft hΦ g hg C hC hprop) hf t | |
| 140 | - | |
| 141 | -/-- This profile-bounded path solves the actual supported-L² differential equation. -/ | |
| 142 | -theorem liftedSolution_hasDerivWithinAt | |
| 143 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 144 | - (a₀ : supportedSpace (V := V) μ S hS) (t : Icc (0 : ℝ) T) : | |
| 145 | - HasDerivWithinAt | |
| 146 | - (extendPath T hT ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀)) | |
| 147 | - (operator μ S hS (B t) ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t) + f t) | |
| 148 | - (Icc (0 : ℝ) T) t := by | |
| 149 | - let U := liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ | |
| 150 | - have hd := U.solution_derivative f a₀ t | |
| 151 | - apply hd.congr_of_mem _ t.property | |
| 152 | - intro s hs | |
| 153 | - simp only [extendPath, projIcc_of_mem hT hs] | |
| 154 | - rfl | |
| 155 | - | |
| 156 | 114 | end EulerLpSupportedEvolution |
+0 −5 Euler/LpSupportedMultiplier.lean View file
| @@ -49,11 +49,6 @@ def operator (A : Field (α := α) (V := V)) : | ||
| 49 | 49 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 50 | 50 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 51 | 51 | |
| 52 | -/-- The supported operator retains the actual pointwise representative. -/ | |
| 53 | -theorem operator_ae (A : Field (α := α) (V := V)) (u : supportedSpace (V := V) μ S hS) : | |
| 54 | - ((operator μ S hS A u : supportedSpace μ S hS) : Lp V 2 μ) =ᵐ[μ] | |
| 55 | - fun x => A x ((u : Lp V 2 μ) x) := full_ae μ A u | |
| 56 | - | |
| 57 | 52 | /-- The actual L² bound only requires control on the set supporting the input. -/ |
| 58 | 53 | theorem operator_apply_norm_le (A : Field (α := α) (V := V)) (C : ℝ) |
| 59 | 54 | (hbound : ∀ x ∈ S, ‖A x‖ ≤ C) (u : supportedSpace (V := V) μ S hS) : |
+0 −25 Euler/LpSupportedTranslation.lean View file
| @@ -26,10 +26,6 @@ variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | ||
| 26 | 26 | /-- The exact support set of a translated field. -/ |
| 27 | 27 | def shiftedSet (a : Space) (S : Set Space) : Set Space := {x | x+a ∈ S} |
| 28 | 28 | |
| 29 | -/-- Translated supports remain measurable. -/ | |
| 30 | -theorem shiftedSet_measurable (a : Space) (S : Set Space) (hS : MeasurableSet S) : | |
| 31 | - MeasurableSet (shiftedSet a S) := hS.preimage (measurable_id.add measurable_const) | |
| 32 | - | |
| 33 | 29 | /-- Translation carries an actual supported L² field into its translated support set. -/ |
| 34 | 30 | theorem translation_mem (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) |
| 35 | 31 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| @@ -56,27 +52,6 @@ def intoLarger (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : Meas | ||
| 56 | 52 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| 57 | 53 | (intoLarger a S Ω hS hΩ hsub u : L2Space V) = translation a (u : L2Space V) := rfl |
| 58 | 54 | |
| 59 | -/-- The translated coefficient is the literal original field at `x+a`. -/ | |
| 60 | -def translatedField (A : Field (α := Space) (V := V)) (a : Space) : Field (α := Space) (V := V) := | |
| 61 | - EulerMeanCoefficients.translated A a | |
| 62 | - | |
| 63 | -/-- Actual coefficient multiplication intertwines the support-changing translation. -/ | |
| 64 | -theorem operator_intertwines (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) | |
| 65 | - (hsub : shiftedSet a S ⊆ Ω) (A : Field (α := Space) (V := V)) | |
| 66 | - (u : supportedSpace (V := V) volume S hS) : | |
| 67 | - operator volume Ω hΩ (translatedField A a) (intoLarger a S Ω hS hΩ hsub u) = | |
| 68 | - intoLarger a S Ω hS hΩ hsub (operator volume S hS A u) := by | |
| 69 | - apply Subtype.ext | |
| 70 | - apply Lp.ext | |
| 71 | - filter_upwards [full_ae volume (translatedField A a) (translation a (u : L2Space V)), | |
| 72 | - translation_ae a (u : L2Space V), translation_ae a (full volume A (u : L2Space V)), | |
| 73 | - (measurePreserving_add_right (volume : Measure Space) a).quasiMeasurePreserving.ae | |
| 74 | - (full_ae volume A (u : L2Space V))] with x hl hu hr ha | |
| 75 | - change (full volume (translatedField A a) (translation a (u : L2Space V))) x = | |
| 76 | - (translation a (full volume A (u : L2Space V))) x | |
| 77 | - rw [hl, hu, hr, ha] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 55 | /-- Compactly supported data have a qualitative translation neighborhood |
| 81 | 56 | inside any prescribed larger open support region. -/ |
| 82 | 57 | theorem compact_support_translation_margin (K Ω : Set Space) (hK : IsCompact K) (hΩ : IsOpen Ω) |
+0 −18 Euler/LpTranslation.lean View file
| @@ -44,30 +44,12 @@ theorem translation_continuous (u : L2Space V) : Continuous (fun a : Space => tr | ||
| 44 | 44 | exact continuous_const.compMeasurePreservingLp hg |
| 45 | 45 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 46 | 46 | |
| 47 | -theorem translation_norm_le (a : Space) : | |
| 48 | - ‖(translation (V := V) a).toContinuousLinearMap‖ ≤ 1 := by | |
| 49 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 50 | - intro u | |
| 51 | - simp only [LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map, one_mul, le_refl] | |
| 52 | - | |
| 53 | 47 | theorem translation_hasFDerivAt_all (u : L2Space V) (D : Space →L[ℝ] L2Space V) |
| 54 | 48 | (h : HasFDerivAt (fun a : Space => translation a u) D 0) (a : Space) : |
| 55 | 49 | HasFDerivAt (fun b : Space => translation b u) |
| 56 | 50 | ((translation a).toContinuousLinearMap.comp D) a := |
| 57 | 51 | EulerIsometricAction.hasFDerivAt_all translation translation_add u D h a |
| 58 | 52 | |
| 59 | -theorem translation_orbits_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 60 | - (u : ι → L2Space V) (v : L2Space V) (hu : Tendsto u l (𝓝 v)) : | |
| 61 | - TendstoUniformly (fun n a => translation a (u n)) (fun a => translation a v) l := | |
| 62 | - EulerIsometricAction.orbits_tendstoUniformly translation u v hu | |
| 63 | - | |
| 64 | -theorem translation_derivatives_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 65 | - (D : ι → Space →L[ℝ] L2Space V) (D₀ : Space →L[ℝ] L2Space V) | |
| 66 | - (hD : Tendsto D l (𝓝 D₀)) : | |
| 67 | - TendstoUniformly (fun n a => (translation a).toContinuousLinearMap.comp (D n)) | |
| 68 | - (fun a => (translation a).toContinuousLinearMap.comp D₀) l := | |
| 69 | - EulerIsometricAction.derivatives_tendstoUniformly translation D D₀ hD | |
| 70 | - | |
| 71 | 53 | /-- Convergent ordinary L² fields and their actual translation derivatives have the expected derivative in the limit. -/ |
| 72 | 54 | theorem translation_hasFDerivAt_limit (u : ℕ → L2Space V) |
| 73 | 55 | (D : ℕ → Space →L[ℝ] L2Space V) (u₀ : L2Space V) (D₀ : Space →L[ℝ] L2Space V) |
+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 −44 Euler/MetricHeatEnergy.lean View file
| @@ -160,48 +160,4 @@ theorem metric_heat_bound (K : SmoothCoefficient period) (f : LiftL2 period) | ||
| 160 | 160 | (2 * (K.firstBound : ℝ) ^ 2 / c ^ 2) * ‖f‖ ^ 2 := by ring |
| 161 | 161 | simpa only [Nat.cast_ofNat, harith] using hsum |
| 162 | 162 | |
| 163 | -/-- The sum of the four actual classical second coordinate derivatives on the cylinder. -/ | |
| 164 | -def classicalLaplacian (g : LiftDomain period → Vector3) : LiftDomain period → Vector3 := | |
| 165 | - fun x => ∑ i : Fin 4, fieldDerivative period (standardDirection i) | |
| 166 | - (fieldDerivative period (standardDirection i) g) x | |
| 167 | - | |
| 168 | -/-- The jet Laplacian is represented by the actual classical Laplacian of every smooth representative. -/ | |
| 169 | -theorem jetLaplacian_ae {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) | |
| 170 | - (g : LiftDomain period → Vector3) | |
| 171 | - (hrep : (f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 172 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 173 | - (jetLaplacian period J : LiftDomain period → Vector3) =ᵐ[liftMeasure period] | |
| 174 | - classicalLaplacian period g := by | |
| 175 | - have hword (i : Fin 4) : (J.word (fun _ : Fin 2 => i) : LiftDomain period → Vector3) | |
| 176 | - =ᵐ[liftMeasure period] fieldDerivative period (standardDirection i) | |
| 177 | - (fieldDerivative period (standardDirection i) g) := by | |
| 178 | - simpa only [iteratedFieldDerivative_succ, iteratedFieldDerivative_zero, Fin.tail] | |
| 179 | - using EulerStrongSmoothJet.jet_word_ae period (le_refl 2) f J (fun _ : Fin 2 => i) g hrep hg | |
| 180 | - have hall : ∀ᵐ x ∂liftMeasure period, ∀ i : Fin 4, | |
| 181 | - (J.word (fun _ : Fin 2 => i)) x = fieldDerivative period (standardDirection i) | |
| 182 | - (fieldDerivative period (standardDirection i) g) x := ae_all_iff.mpr hword | |
| 183 | - filter_upwards [Lp.coeFn_fun_finsetSum (Finset.univ : Finset (Fin 4)) | |
| 184 | - (fun i => J.word (fun _ : Fin 2 => i)), hall] with x hx hh | |
| 185 | - rw [jetLaplacian, hx] | |
| 186 | - exact Finset.sum_congr rfl (fun i _ => hh i) | |
| 187 | - | |
| 188 | -/-- The metric heat bound is an actual integral estimate for a smooth cylinder representative. -/ | |
| 189 | -theorem classical_metric_heat_bound (K : SmoothCoefficient period) (f : LiftL2 period) | |
| 190 | - (J : SpatialJet period standardDirection 2 f) (g : LiftDomain period → Vector3) | |
| 191 | - (hrep : (f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 192 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 193 | - (c : ℝ) (hc : 0 < c) | |
| 194 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K.coefficient x v, v⟫_ℝ) : | |
| 195 | - (∫ x, ⟪K.coefficient x (g x), classicalLaplacian period g x⟫_ℝ ∂liftMeasure period) ≤ | |
| 196 | - -(c ^ 2 / 2) * ∑ i : Fin 4, ‖J.word (fun _ : Fin 1 => i)‖ ^ 2 + | |
| 197 | - (2 * (K.firstBound : ℝ) ^ 2 / c ^ 2) * ‖f‖ ^ 2 := by | |
| 198 | - have hi : ⟪K.operator f, jetLaplacian period J⟫_ℝ = | |
| 199 | - ∫ x, ⟪K.coefficient x (g x), classicalLaplacian period g x⟫_ℝ ∂liftMeasure period := by | |
| 200 | - rw [L2.inner_def] | |
| 201 | - apply integral_congr_ae | |
| 202 | - filter_upwards [K.operator_ae f, jetLaplacian_ae period J g hrep hg, hrep] with x hK hΔ he | |
| 203 | - rw [hK, hΔ, he] | |
| 204 | - rw [← hi] | |
| 205 | - exact metric_heat_bound period K f J c hc hpos | |
| 206 | - | |
| 207 | 163 | end EulerMetricHeatEnergy |
+0 −96 Euler/MetricRootLimit.lean View file
| @@ -26,100 +26,4 @@ theorem regularized_root_tendsto (q : ℝ) : | ||
| 26 | 26 | (tendsto_const_nhds.add (cutoffScale_tendsto.pow 2)) |
| 27 | 27 | exact (continuous_sqrt.tendsto q).comp hq |
| 28 | 28 | |
| 29 | -/-- At fixed finite cutoff, an integrable energy inequality survives removal of the root regularization. -/ | |
| 30 | -theorem root_integral_limit (Q A F : ℝ → ℝ) (s t : ℝ) (hst : s ≤ t) | |
| 31 | - (hQ : ContinuousOn Q (Icc s t)) (hQ0 : ∀ u ∈ Icc s t, 0 ≤ Q u) | |
| 32 | - (hA : IntegrableOn A (Icc s t)) (hF : IntegrableOn F (Icc s t)) | |
| 33 | - (hineq : ∀ δ : ℝ, 0 < δ → √(Q t + δ ^ 2) - √(Q s + δ ^ 2) ≤ | |
| 34 | - ∫ u in s..t, (A u * √(Q u + δ ^ 2) + F u)) : | |
| 35 | - √(Q t) - √(Q s) ≤ ∫ u in s..t, (A u * √(Q u) + F u) := by | |
| 36 | - let μ : Measure ℝ := volume.restrict (Ioc s t) | |
| 37 | - let fn := fun n u => A u * √(Q u + cutoffScale n ^ 2) + F u | |
| 38 | - have hAQ : IntegrableOn (fun u => A u * √(Q u)) (Icc s t) := | |
| 39 | - hA.mul_continuousOn hQ.sqrt isCompact_Icc | |
| 40 | - have hAn : Integrable A μ := hA.mono_set Ioc_subset_Icc_self | |
| 41 | - have hFn : Integrable F μ := hF.mono_set Ioc_subset_Icc_self | |
| 42 | - have hAQn : Integrable (fun u => A u * √(Q u)) μ := hAQ.mono_set Ioc_subset_Icc_self | |
| 43 | - have hmeas (n : ℕ) : AEStronglyMeasurable (fn n) μ := | |
| 44 | - (((hA.mul_continuousOn ((hQ.add continuousOn_const).sqrt) isCompact_Icc).add hF).mono_set Ioc_subset_Icc_self).aestronglyMeasurable | |
| 45 | - have hbound (n : ℕ) : ∀ᵐ u ∂μ, | |
| 46 | - ‖fn n u‖ ≤ ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖ := by | |
| 47 | - filter_upwards [ae_restrict_mem measurableSet_Ioc] with u hu | |
| 48 | - have hq := hQ0 u ⟨hu.1.le, hu.2⟩ | |
| 49 | - have hr := (regularized_root_le (Q u) (cutoffScale n) hq (cutoffScale_pos n).le).trans | |
| 50 | - (add_le_add_right (cutoffScale_le_one n) (√(Q u))) | |
| 51 | - calc | |
| 52 | - _ ≤ ‖A u‖ * √(Q u + cutoffScale n ^ 2) + ‖F u‖ := by | |
| 53 | - simpa only [fn, norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] using | |
| 54 | - norm_add_le (A u * √(Q u + cutoffScale n ^ 2)) (F u) | |
| 55 | - _ ≤ ‖A u‖ * (√(Q u) + 1) + ‖F u‖ := | |
| 56 | - add_le_add_left (mul_le_mul_of_nonneg_left hr (norm_nonneg (A u))) ‖F u‖ | |
| 57 | - _ = _ := by | |
| 58 | - rw [norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] | |
| 59 | - ring | |
| 60 | - have hlim : ∀ᵐ u ∂μ, Filter.Tendsto (fun n => fn n u) Filter.atTop (𝓝 (A u * √(Q u) + F u)) := | |
| 61 | - Filter.Eventually.of_forall (fun u => | |
| 62 | - ((regularized_root_tendsto (Q u)).const_mul (A u)).add_const (F u)) | |
| 63 | - have hi := tendsto_integral_of_dominated_convergence | |
| 64 | - (fun u => ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖) hmeas | |
| 65 | - ((hAQn.norm.add hAn.norm).add hFn.norm) hbound hlim | |
| 66 | - have hii : Filter.Tendsto (fun n => ∫ u in s..t, fn n u) Filter.atTop | |
| 67 | - (𝓝 (∫ u in s..t, (A u * √(Q u) + F u))) := by | |
| 68 | - simpa only [intervalIntegral.integral_of_le hst] using hi | |
| 69 | - exact le_of_tendsto_of_tendsto' ((regularized_root_tendsto (Q t)).sub | |
| 70 | - (regularized_root_tendsto (Q s))) hii (fun n => hineq (cutoffScale n) (cutoffScale_pos n)) | |
| 71 | - | |
| 72 | -/-- The unregularized finite-family energy obeys an integral inequality even when the norm vanishes. -/ | |
| 73 | -theorem family_energy_integral_bound {ι H : Type*} [Fintype ι] | |
| 74 | - [NormedAddCommGroup H] [InnerProductSpace ℝ H] | |
| 75 | - (K : ℝ → H →L[ℝ] H) (e : ι → ℝ → H) | |
| 76 | - (s t c ν : ℝ) (K' : ℝ → H →L[ℝ] H) | |
| 77 | - (e' transport pressure forcing lap : ι → ℝ → H) (B C : ℝ → ℝ) | |
| 78 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 79 | - (hKc : ContinuousOn K (Icc s t)) (hec : ∀ i, ContinuousOn (e i) (Icc s t)) | |
| 80 | - (hB : ∀ u ∈ Ioo s t, 0 ≤ B u) (hC : ∀ u ∈ Ioo s t, 0 ≤ C u) | |
| 81 | - (hcoercive : ∀ u ∈ Icc s t, ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K u v, v⟫_ℝ) | |
| 82 | - (hKd : ∀ u ∈ Ioo s t, HasDerivAt K (K' u) u) | |
| 83 | - (hed : ∀ i u, u ∈ Ioo s t → HasDerivAt (e i) (e' i u) u) | |
| 84 | - (hsym : ∀ u ∈ Ioo s t, ∀ v w, ⟪K u v, w⟫_ℝ = ⟪v, K u w⟫_ℝ) | |
| 85 | - (heq : ∀ i u, u ∈ Ioo s t → e' i u + transport i u + pressure i u = | |
| 86 | - forcing i u + ν • lap i u) | |
| 87 | - (hp : ∀ i u, u ∈ Ioo s t → ⟪K u (e i u), pressure i u⟫_ℝ = 0) | |
| 88 | - (ht : ∀ i u, u ∈ Ioo s t → |⟪K u (e i u), transport i u⟫_ℝ| ≤ B u * ‖e i u‖ ^ 2) | |
| 89 | - (hheat : ∀ i u, u ∈ Ioo s t → ⟪K u (e i u), lap i u⟫_ℝ ≤ C u * ‖e i u‖ ^ 2) | |
| 90 | - (hAint : IntegrableOn (fun u => (‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2)) (Icc s t)) | |
| 91 | - (hFint : IntegrableOn (fun u => (‖K u‖ / c) * familyNorm (fun i => forcing i u)) (Icc s t)) : | |
| 92 | - familyMetricNorm (K t) (fun i => e i t) - familyMetricNorm (K s) (fun i => e i s) ≤ | |
| 93 | - ∫ u in s..t, (((‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2)) * | |
| 94 | - familyMetricNorm (K u) (fun i => e i u) + (‖K u‖ / c) * familyNorm (fun i => forcing i u)) := by | |
| 95 | - let Q := fun u => familyEnergy (K u) (fun i => e i u) | |
| 96 | - let A := fun u => (‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2) | |
| 97 | - let F := fun u => (‖K u‖ / c) * familyNorm (fun i => forcing i u) | |
| 98 | - have hQ : ContinuousOn Q (Icc s t) := | |
| 99 | - continuousOn_finsetSum Finset.univ (fun i _ => (hKc.clm_apply (hec i)).inner (hec i)) | |
| 100 | - have hQ0 (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q u := by | |
| 101 | - have h := familyEnergy_coercive (K u) (fun i => e i u) c (hcoercive u hu) | |
| 102 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans h | |
| 103 | - apply root_integral_limit Q A F s t hst hQ hQ0 hAint hFint | |
| 104 | - intro δ hδ | |
| 105 | - have hrootc : ContinuousOn (fun u => √(Q u + δ ^ 2)) (Icc s t) := | |
| 106 | - (hQ.add continuousOn_const).sqrt | |
| 107 | - have hφint : IntegrableOn (fun u => A u * √(Q u + δ ^ 2) + F u) (Icc s t) := | |
| 108 | - (hAint.mul_continuousOn hrootc isCompact_Icc).add hFint | |
| 109 | - refine intervalIntegral.sub_le_integral_of_hasDeriv_right_of_le | |
| 110 | - (g' := fun u => deriv (fun v => √(Q v + δ ^ 2)) u) hst hrootc ?_ hφint ?_ | |
| 111 | - · intro u hu | |
| 112 | - have hd := family_energy_hasDerivAt K e u ν (K' u) (fun i => e' i u) | |
| 113 | - (fun i => transport i u) (fun i => pressure i u) (fun i => forcing i u) (fun i => lap i u) | |
| 114 | - (hKd u hu) (fun i => hed i u hu) (hsym u hu) (fun i => heq i u hu) (fun i => hp i u hu) | |
| 115 | - have hq := hQ0 u ⟨hu.1.le, hu.2.le⟩ | |
| 116 | - have hr := HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q u + δ ^ 2 ≠ 0) | |
| 117 | - exact hr.differentiableAt.hasDerivAt.hasDerivWithinAt | |
| 118 | - · intro u hu | |
| 119 | - exact family_regularized_energy_evolution K e u δ c (B u) (C u) ν (K' u) | |
| 120 | - (fun i => e' i u) (fun i => transport i u) (fun i => pressure i u) | |
| 121 | - (fun i => forcing i u) (fun i => lap i u) hδ hc (hB u hu) (hC u hu) hν | |
| 122 | - (hcoercive u ⟨hu.1.le, hu.2.le⟩) (hKd u hu) (fun i => hed i u hu) (hsym u hu) | |
| 123 | - (fun i => heq i u hu) (fun i => hp i u hu) (fun i => ht i u hu) (fun i => hheat i u hu) | |
| 124 | - | |
| 125 | 29 | end EulerMetricRootLimit |
+0 −47 Euler/MildWordEquation.lean View file
| @@ -83,51 +83,4 @@ theorem viscous_mild_block_hasDerivAt {p q : ℕ} (hp : 2 ≤ p) | ||
| 83 | 83 | exact ordinary_mild_hasDerivAt period hp ν hν T hT (A (truncateOperator period q u₀)) |
| 84 | 84 | (mapPath period T A f) v hv t ht |
| 85 | 85 | |
| 86 | -/-- The actual derivative block of a field with enough total Sobolev regularity. -/ | |
| 87 | -def availableWordBlock {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) : | |
| 88 | - SobolevSpace period q →L[ℝ] SobolevSpace period 2 := | |
| 89 | - (wordBlock period 2 n w).comp (restrictOperator period (by omega : 2+n ≤ q)) | |
| 90 | - | |
| 91 | -/-- This available block is exactly the chosen derivative word as an L² field. -/ | |
| 92 | -theorem availableWordBlock_value {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 93 | - (u : SobolevSpace period q) : | |
| 94 | - value period (availableWordBlock period h w u) = word period u (by omega : n ≤ q) w := by | |
| 95 | - change value period (wordBlock period 2 n w (restrictOperator period (by omega : 2+n ≤ q) u)) = _ | |
| 96 | - rw [wordBlock_value] | |
| 97 | - rfl | |
| 98 | - | |
| 99 | -/-- Actual derivative-word blocks commute with heat, including the endpoint at zero variance. -/ | |
| 100 | -theorem availableWordBlock_heat {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 101 | - (v : ℝ≥0) (u : SobolevSpace period q) : | |
| 102 | - availableWordBlock period h w (heatOperator period q v u) = | |
| 103 | - heatOperator period 2 v (availableWordBlock period h w u) := by | |
| 104 | - apply value_injective period | |
| 105 | - rw [availableWordBlock_value, heatOperator_value, availableWordBlock_value] | |
| 106 | - rfl | |
| 107 | - | |
| 108 | -/-- Truncation preserves every derivative coordinate still within its range. -/ | |
| 109 | -theorem word_truncate_coordinate {q n : ℕ} (hn : n ≤ q) (w : Fin n → Fin 4) | |
| 110 | - (u : SobolevSpace period (q+1)) : | |
| 111 | - word period (truncateOperator period q u) hn w = word period u (Nat.le_trans hn (Nat.le_succ q)) w := rfl | |
| 112 | - | |
| 113 | -/-- Every finite derivative word below the source's Sobolev margin obeys the differentiated L² equation. -/ | |
| 114 | -theorem viscous_mild_word_hasDerivAt {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 115 | - (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period (q + 1)) | |
| 116 | - (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) | |
| 117 | - (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) | |
| 118 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) | |
| 119 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 120 | - u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + | |
| 121 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r | |
| 122 | - (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) | |
| 123 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 124 | - HasDerivAt (fun r => word period (extendPath T hT u r) (by omega : n ≤ q+1) w) | |
| 125 | - (ν • laplacianEvaluation period 2 (by norm_num) | |
| 126 | - (availableWordBlock period h w (truncateOperator period q (u ⟨t, ht.1.le, ht.2.le⟩))) + | |
| 127 | - word period (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩)) (by omega : n ≤ q) w) t := by | |
| 128 | - have hd := viscous_mild_block_hasDerivAt period (by norm_num : 2 ≤ 2) | |
| 129 | - (availableWordBlock period h w) (availableWordBlock_heat period h w) | |
| 130 | - ν hν T hT u₀ F hF u hsol t ht | |
| 131 | - simpa only [availableWordBlock_value, word_truncate_coordinate] using hd | |
| 132 | - | |
| 133 | 86 | end EulerMildWordEquation |
+0 −19 Euler/MovingNormalProjection.lean View file
| @@ -66,25 +66,6 @@ def normalProjectionDerivative (m m₁ : E) : E →L[ℝ] E := | ||
| 66 | 66 | -((- (2 * ⟪m, m₁⟫_ℝ) / (‖m‖ ^ 2) ^ 2) • rankOne ℝ m m + |
| 67 | 67 | (‖m‖ ^ 2)⁻¹ • (rankOne ℝ m₁ m + rankOne ℝ m m₁)) |
| 68 | 68 | |
| 69 | -/-- The projection derivative is derived from the actual ray derivative. -/ | |
| 70 | -theorem normalProjection_hasDerivAt {m : ℝ → E} {m₁ : E} {t : ℝ} | |
| 71 | - (hd : HasDerivAt m m₁ t) (hm : m t ≠ 0) : | |
| 72 | - HasDerivAt (fun s => normalProjection (m s)) | |
| 73 | - (normalProjectionDerivative (m t) m₁) t := by | |
| 74 | - have hr : HasDerivAt (fun s => rankOne ℝ (m s) (m s)) | |
| 75 | - (rankOne ℝ m₁ (m t) + rankOne ℝ (m t) m₁) t := by | |
| 76 | - convert! ContinuousLinearMap.hasDerivAt_of_bilinear | |
| 77 | - (B := (rankOne ℝ : E →L[ℝ] E →L[ℝ] E →L[ℝ] E)) (fun _ => hd) (fun _ => hd) using 1 | |
| 78 | - ext v | |
| 79 | - change ⟪m t, v⟫_ℝ • m₁ + ⟪m₁, v⟫_ℝ • m t = | |
| 80 | - ⟪m₁, v⟫_ℝ • m t + ⟪m t, v⟫_ℝ • m₁ | |
| 81 | - exact add_comm _ _ | |
| 82 | - have hi := hd.norm_sq.inv (pow_ne_zero 2 (norm_ne_zero_iff.mpr hm)) | |
| 83 | - change HasDerivAt (fun s => ContinuousLinearMap.id ℝ E - (‖m s‖ ^ 2)⁻¹ • rankOne ℝ (m s) (m s)) | |
| 84 | - (normalProjectionDerivative (m t) m₁) t | |
| 85 | - convert! (hi.smul hr).const_sub (ContinuousLinearMap.id ℝ E) using 1 | |
| 86 | - simp only [normalProjectionDerivative, Pi.inv_apply, add_comm] | |
| 87 | - | |
| 88 | 69 | theorem normalProjection_hasDerivWithinAt {m : ℝ → E} {m₁ : E} {t : ℝ} {S : Set ℝ} |
| 89 | 70 | (hd : HasDerivWithinAt m m₁ S t) (hm : m t ≠ 0) : |
| 90 | 71 | HasDerivWithinAt (fun s => normalProjection (m s)) |
+0 −19 Euler/OrdinaryAdvectionLimit.lean View file
| @@ -66,10 +66,6 @@ def projectedRhsPath (A : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 66 | 66 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := |
| 67 | 67 | fieldPath (fun t => projectedRhs (A t)) (projectedRhs_continuous A hA) |
| 68 | 68 | |
| 69 | -def pressurePath (A : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 70 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := | |
| 71 | - fieldPath (fun t => pressureField (A t)) (pressureField_continuous A hA) | |
| 72 | - | |
| 73 | 69 | theorem projectedRhsPath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 74 | 70 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : |
| 75 | 71 | projectedRhsPath A hA=(-solenoidalProjection).compLeftContinuous ℝ |
| @@ -78,14 +74,6 @@ theorem projectedRhsPath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 78 | 74 | intro t |
| 79 | 75 | exact projectedRhs_toLp (A t) |
| 80 | 76 | |
| 81 | -theorem pressurePath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 82 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : | |
| 83 | - pressurePath A hA=(solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ | |
| 84 | - (Icc (0 : ℝ) T) (advectionPath A hA) := by | |
| 85 | - apply ContinuousMap.ext | |
| 86 | - intro t | |
| 87 | - exact pressureField_toLp (A t) | |
| 88 | - | |
| 89 | 77 | theorem advectionPath_sub_norm (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 90 | 78 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 91 | 79 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (G K : ℝ) (hG0 : 0 ≤ G) (hK0 : 0 ≤ K) |
| @@ -139,12 +127,5 @@ theorem projectedRhsPath_convergence (hT : 0 ≤ T) (M : ℝ) | ||
| 139 | 127 | exact ((-solenoidalProjection).compLeftContinuous ℝ (Icc (0 : ℝ) T)).continuous.tendsto _ |
| 140 | 128 | |>.comp (L.advectionPath_convergence hT M hb) |
| 141 | 129 | |
| 142 | -theorem pressurePath_convergence (hT : 0 ≤ T) (M : ℝ) | |
| 143 | - (hb : ∀ k t, tensorNorm 3 (A k t) ≤ M) : | |
| 144 | - Tendsto (fun k => pressurePath (A k) (hA k)) atTop (𝓝 (pressurePath L.field L.field_continuous)) := by | |
| 145 | - simp only [pressurePath_eq] | |
| 146 | - exact ((solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ | |
| 147 | - (Icc (0 : ℝ) T)).continuous.tendsto _ |>.comp (L.advectionPath_convergence hT M hb) | |
| 148 | - | |
| 149 | 130 | end SmoothLimitData |
| 150 | 131 | end EulerOrdinarySobolev |
+0 −10 Euler/OrdinaryEulerCauchy.lean View file
| @@ -101,16 +101,6 @@ def limitEvolutionOfH3 (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) | ||
| 101 | 101 | limitEvolution V hpos (Evolution.all_order_bounds_of_h3 V M hM hinit) |
| 102 | 102 | (Evolution.cauchyPath_of_initial V M hM hcauchy) |
| 103 | 103 | |
| 104 | -theorem limitEvolutionOfH3_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) | |
| 105 | - (hM : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) | |
| 106 | - (hinit : ∀ q, ∃ R : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 107 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (q : ℕ) : | |
| 108 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 109 | - (𝓝 (jetPath (limitEvolutionOfH3 V hpos M hM hinit hcauchy).velocity | |
| 110 | - (limitEvolutionOfH3 V hpos M hM hinit hcauchy).velocity_continuous q)) := | |
| 111 | - limitEvolution_jet_convergence V hpos (Evolution.all_order_bounds_of_h3 V M hM hinit) | |
| 112 | - (Evolution.cauchyPath_of_initial V M hM hcauchy) q | |
| 113 | - | |
| 114 | 104 | theorem limitEvolutionOfH3_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) |
| 115 | 105 | (hM : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) |
| 116 | 106 | (hinit : ∀ q, ∃ R : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) |
+0 −119 Euler/OrdinaryEulerClassicalClass.lean View file
| @@ -28,14 +28,6 @@ theorem scalarEulerForce_field (A B : SmoothL2Field Space) (x : Space) : | ||
| 28 | 28 | (scalarEulerForce A B).field x = -((B.field x)+fderiv ℝ A.field x (A.field x)) := by |
| 29 | 29 | simp only [scalarEulerForce,fieldNeg_field,addField_field,advectionField_field] |
| 30 | 30 | |
| 31 | -theorem scalarEulerForce_continuous | |
| 32 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 33 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 34 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (n : ℕ) : | |
| 35 | - Continuous (fun t => (scalarEulerForce (A t) (B t)).jetLp n) := | |
| 36 | - continuous_jetLp_mapField _ _ | |
| 37 | - (continuous_jetLp_addField B _ hB (advectionField_continuous A hA)) n | |
| 38 | - | |
| 39 | 31 | /-- An ordinary scalar Euler equation implies the actual projected L² equation. |
| 40 | 32 | Spatial differentiability of pressure is used only at interior times. -/ |
| 41 | 33 | theorem isSmoothProjectedEuler_of_scalarEuler |
| @@ -110,82 +102,8 @@ variable (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 110 | 102 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 111 | 103 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 112 | 104 | |
| 113 | -theorem evolutionOfScalarEuler_velocity : | |
| 114 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).velocity=A := rfl | |
| 115 | - | |
| 116 | -include hB in | |
| 117 | -theorem evolutionOfScalarEuler_derivative (hpos : 0 < T) (t : Icc (0 : ℝ) T) : | |
| 118 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).derivative t=B t := by | |
| 119 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 120 | - have h₁ := U.sobolevTimeDerivative 3 t | |
| 121 | - have h₂ := sobolev_derivative_of_l2 T hT A B hA hB hd 3 t | |
| 122 | - change HasDerivWithinAt (extendPath T hT (sobolevPath A hA 3)) | |
| 123 | - (sobolevPath U.derivative U.derivative_continuous 3 t) (Icc (0 : ℝ) T) t at h₁ | |
| 124 | - have hh := (h₁.derivWithin (uniqueDiffOn_Icc hpos t t.property)).symm.trans | |
| 125 | - (h₂.derivWithin (uniqueDiffOn_Icc hpos t t.property)) | |
| 126 | - apply field_ext | |
| 127 | - funext x | |
| 128 | - have h := congrArg (observation 3 (le_refl 3) (x,(0 : AddCircle (1 : ℝ)))) hh | |
| 129 | - simpa only [sobolevPath,ContinuousMap.coe_mk,observation_apply] using h | |
| 130 | - | |
| 131 | -include hB in | |
| 132 | -theorem evolutionOfScalarEuler_pressureForce (hpos : 0 < T) (t : Icc (0 : ℝ) T) : | |
| 133 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).pressureForce t= | |
| 134 | - scalarEulerForce (A t) (B t) := by | |
| 135 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 136 | - have hd' := evolutionOfScalarEuler_derivative A B hA hB hd p hdiv hp he hpos t | |
| 137 | - apply field_ext | |
| 138 | - funext x | |
| 139 | - have hv := congrArg (fun C : SmoothL2Field Space => C.field x) hd' | |
| 140 | - rw [Evolution.derivative_field] at hv | |
| 141 | - change -fderiv ℝ (A t).field x ((A t).field x)-(U.pressureForce t).field x=(B t).field x at hv | |
| 142 | - rw [scalarEulerForce_field] | |
| 143 | - apply add_left_cancel (a := (B t).field x) | |
| 144 | - calc | |
| 145 | - (B t).field x+(U.pressureForce t).field x = -fderiv ℝ (A t).field x ((A t).field x) := | |
| 146 | - ((sub_eq_iff_eq_add).mp hv).symm | |
| 147 | - _ = (B t).field x+-((B t).field x+fderiv ℝ (A t).field x ((A t).field x)) := by abel | |
| 148 | - | |
| 149 | -include hB in | |
| 150 | -theorem evolutionOfScalarEuler_scalarPressure (hpos : 0 < T) | |
| 151 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : | |
| 152 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).scalarPressure ⟨t,ht.1.le,ht.2.le⟩ x= | |
| 153 | - p t x-p t 0 := by | |
| 154 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 155 | - let s : Icc (0 : ℝ) T := ⟨t,ht.1.le,ht.2.le⟩ | |
| 156 | - have hg (y : Space) : (U.pressureForce s).field y=gradient (p t) y := by | |
| 157 | - rw [evolutionOfScalarEuler_pressureForce A B hA hB hd p hdiv hp he hpos s, | |
| 158 | - scalarEulerForce_field] | |
| 159 | - exact (eq_neg_of_add_eq_zero_right (he t ht y)).symm | |
| 160 | - exact EulerCanonicalGraphPotential.radialPotential_eq_sub (U.pressureForce s).field | |
| 161 | - (U.pressureForce s).smooth.continuous (p t) | |
| 162 | - (potential_smooth (U.pressureForce s) (p t) (hp t ht) hg) (fun y => (hg y).symm) x | |
| 163 | - | |
| 164 | 105 | end Identification |
| 165 | 106 | |
| 166 | -/-- A strong time derivative in any genuine spatial Sobolev order gives | |
| 167 | -the L² derivative used above. In the source class one can take order two. -/ | |
| 168 | -theorem l2_timeDerivative_of_sobolev | |
| 169 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 170 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 171 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (q : ℕ) | |
| 172 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 173 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 174 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 175 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 176 | - HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) | |
| 177 | - (B ⟨t,ht.1.le,ht.2.le⟩).toLp t := by | |
| 178 | - let L : SobolevSpace 1 q →L[ℝ] L2 := | |
| 179 | - ordinaryLift.toContinuousLinearMap.adjoint.comp (valueOperator 1 q) | |
| 180 | - have hL (C : SmoothL2Field Space) : | |
| 181 | - L (ordinarySobolev q C.toLp C.translation_contDiff)=C.toLp := by | |
| 182 | - change ordinaryLift.toContinuousLinearMap.adjoint | |
| 183 | - (value 1 (ordinarySobolev q C.toLp C.translation_contDiff))=C.toLp | |
| 184 | - erw [ordinarySobolev_value] | |
| 185 | - exact congrArg (fun M : L2 →L[ℝ] L2 => M C.toLp) ordinaryLift.adjoint_comp_self | |
| 186 | - have h := L.hasFDerivAt.comp_hasDerivAt t (hd t ht) | |
| 187 | - simpa only [Function.comp_def,extendPath,sobolevPath,ContinuousMap.coe_mk,hL] using h | |
| 188 | - | |
| 189 | 107 | /-- The scalar-pressure form of the smooth ordinary Euler class. The |
| 190 | 108 | all-order spatial paths represent `C H^m` for every finite `m`. A single |
| 191 | 109 | strong L² time law and the continuous all-order derivative paths imply |
| @@ -205,43 +123,6 @@ def IsSmoothScalarEuler (A : Icc (0 : ℝ) T → SmoothL2Field Space) : Prop := | ||
| 205 | 123 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 206 | 124 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 207 | 125 | |
| 208 | -theorem isSmoothScalarEuler_of_sobolev | |
| 209 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 210 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 211 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (q : ℕ) | |
| 212 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 213 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 214 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 215 | - (p : ℝ → Space → ℝ) | |
| 216 | - (hdiv : ∀ t x, divergence (A t).field x=0) | |
| 217 | - (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) | |
| 218 | - (he : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 219 | - (B ⟨t,ht.1.le,ht.2.le⟩).field x+ | |
| 220 | - fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x | |
| 221 | - ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : | |
| 222 | - IsSmoothScalarEuler (hT := hT) A := | |
| 223 | - ⟨hA,B,p,hB,l2_timeDerivative_of_sobolev A B hA hB q hd,hdiv,hp,he⟩ | |
| 224 | - | |
| 225 | -/-- Starting from genuine continuous Sobolev realizations requires no | |
| 226 | -preselected smooth representative or pressure-force path. The order-two | |
| 227 | -time law is part of the source's `C¹ H^(m-1)` condition at `m=3`; | |
| 228 | -the continuous realizations of the derivative come from its higher orders. -/ | |
| 229 | -theorem SobolevTower.isSmoothScalarEuler (A B : SobolevTower T) | |
| 230 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 231 | - HasDerivAt (extendPath T hT (A.realization 2)) | |
| 232 | - (B.realization 2 ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 233 | - (p : ℝ → Space → ℝ) | |
| 234 | - (hdiv : ∀ t x, divergence (A.smoothField t).field x=0) | |
| 235 | - (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) | |
| 236 | - (he : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 237 | - (B.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x+ | |
| 238 | - fderiv ℝ (A.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x | |
| 239 | - ((A.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : | |
| 240 | - IsSmoothScalarEuler (hT := hT) A.smoothField := by | |
| 241 | - apply isSmoothScalarEuler_of_sobolev A.smoothField B.smoothField | |
| 242 | - A.smoothField_jet_continuous B.smoothField_jet_continuous 2 _ p hdiv hp he | |
| 243 | - simpa only [A.smoothField_path 2,B.smoothField_path 2] using hd | |
| 244 | - | |
| 245 | 126 | theorem scalarEuler_iff_projected (A : Icc (0 : ℝ) T → SmoothL2Field Space) : |
| 246 | 127 | IsSmoothScalarEuler (hT := hT) A ↔ IsSmoothProjectedEuler (hT := hT) A := by |
| 247 | 128 | constructor |
+0 −9 Euler/OrdinaryEulerConcatenation.lean View file
| @@ -103,13 +103,4 @@ theorem concatenate_left (hTpos : 0 < T) (hSpos : 0 < S) | ||
| 103 | 103 | change join T S hT hS U.velocity V.velocity t=U.velocity t |
| 104 | 104 | rw [join_left U.velocity V.velocity t.property.2,projIcc_of_mem hT t.property] |
| 105 | 105 | |
| 106 | -theorem concatenate_right (hTpos : 0 < T) (hSpos : 0 < S) | |
| 107 | - (hmatch : U.velocity ⟨T,hT,le_rfl⟩=V.velocity ⟨0,le_rfl,hS⟩) | |
| 108 | - (t : Icc (0 : ℝ) S) : | |
| 109 | - (U.concatenate V hTpos hSpos hmatch).velocity | |
| 110 | - ⟨T+t,add_nonneg hT t.property.1,add_le_add_right t.property.2 T⟩=V.velocity t := by | |
| 111 | - change join T S hT hS U.velocity V.velocity (T+t)=V.velocity t | |
| 112 | - rw [join_right U.velocity V.velocity hmatch (le_add_of_nonneg_right t.property.1), | |
| 113 | - add_sub_cancel_left,projIcc_of_mem hS t.property] | |
| 114 | - | |
| 115 | 106 | end EulerOrdinarySobolev.Evolution |
+0 −41 Euler/OrdinaryEulerContinuation.lean View file
| @@ -32,12 +32,6 @@ theorem exists_extension (hTpos : 0 < T) : | ||
| 32 | 32 | · exact U.concatenate_initial V hTpos (regularizedTime_pos A) hmatch |
| 33 | 33 | · exact U.concatenate_left V hTpos (regularizedTime_pos A) hmatch |
| 34 | 34 | |
| 35 | -theorem gradientIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : | |
| 36 | - U.gradientIntegral s ≤ U.gradientIntegral t := by | |
| 37 | - apply intervalIntegral.integral_mono_interval le_rfl s.property.1 hst | |
| 38 | - (Eventually.of_forall (fun r => U.gradientNormPath_nonneg (projIcc 0 T hT r))) | |
| 39 | - ((extendPath_continuous T hT U.gradientNormPath).intervalIntegrable 0 t) | |
| 40 | - | |
| 41 | 35 | end Evolution |
| 42 | 36 | |
| 43 | 37 | theorem HasEulerEvolution.extend {A : SmoothL2Field Space} {T : ℝ} |
| @@ -55,13 +49,6 @@ theorem no_endpoint : ¬ HasEulerEvolution A L.duration := by | ||
| 55 | 49 | obtain ⟨S,hS,hE⟩ := h.extend |
| 56 | 50 | exact L.maximal S hS hE |
| 57 | 51 | |
| 58 | -theorem gradientIntegral_unbounded (G : ℝ) : | |
| 59 | - ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S), | |
| 60 | - G < (L.evolution S hS hSL).gradientIntegral t := by | |
| 61 | - by_contra hn | |
| 62 | - push Not at hn | |
| 63 | - exact L.no_endpoint (L.endpoint_of_bounded_gradient G hn) | |
| 64 | - | |
| 65 | 52 | theorem gradient_unbounded (K : ℝ) : |
| 66 | 53 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 67 | 54 | K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| @@ -104,33 +91,5 @@ theorem gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : | ||
| 104 | 91 | exact le_trans (le_abs_self _) ((L.evolution R hR hRL).gradientNormPath.norm_coe_le_norm _) |
| 105 | 92 | · exact (hn S hS hSL t x (hτR.trans (lt_of_not_ge ht))).trans (le_max_right C K) |
| 106 | 93 | |
| 107 | -theorem gradientIntegral_agrees (S T : ℝ) (hS : 0 < S) (hT : 0 < T) | |
| 108 | - (hSL : S < L.duration) (hTL : T < L.duration) (hST : S ≤ T) | |
| 109 | - (t : Icc (0 : ℝ) S) : | |
| 110 | - (L.evolution S hS hSL).gradientIntegral t= | |
| 111 | - (L.evolution T hT hTL).gradientIntegral ⟨t,t.property.1,t.property.2.trans hST⟩ := by | |
| 112 | - apply intervalIntegral.integral_congr | |
| 113 | - intro r hr | |
| 114 | - have hrs : r ∈ Icc (0 : ℝ) (t : ℝ) := by simpa only [uIcc_of_le t.property.1] using hr | |
| 115 | - have hrS : r ∈ Icc (0 : ℝ) S := ⟨hrs.1,hrs.2.trans t.property.2⟩ | |
| 116 | - have hrT : r ∈ Icc (0 : ℝ) T := ⟨hrs.1,hrS.2.trans hST⟩ | |
| 117 | - change (L.evolution S hS hSL).gradientNormPath (projIcc 0 S hS.le r)= | |
| 118 | - (L.evolution T hT hTL).gradientNormPath (projIcc 0 T hT.le r) | |
| 119 | - rw [projIcc_of_mem hS.le hrS,projIcc_of_mem hT.le hrT] | |
| 120 | - change ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution S hS hSL).velocity ⟨r,hrS⟩).derivative‖= | |
| 121 | - ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution T hT hTL).velocity ⟨r,hrT⟩).derivative‖ | |
| 122 | - rw [L.evolution_agrees_at S T hS hT hSL hTL r hrs.1 hrS.2 hrT.2] | |
| 123 | - | |
| 124 | -theorem gradientIntegral_eventually_large (G : ℝ) : | |
| 125 | - ∃ (R : ℝ) (_hR : 0 < R) (_hRL : R < L.duration), | |
| 126 | - ∀ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration), R ≤ S → | |
| 127 | - G < (L.evolution S hS hSL).gradientIntegral ⟨S,hS.le,le_rfl⟩ := by | |
| 128 | - obtain ⟨R,hR,hRL,t,ht⟩ := L.gradientIntegral_unbounded G | |
| 129 | - refine ⟨R,hR,hRL,?_⟩ | |
| 130 | - intro S hS hSL hRS | |
| 131 | - rw [L.gradientIntegral_agrees R S hR hS hRL hSL hRS t] at ht | |
| 132 | - exact ht.trans_le ((L.evolution S hS hSL).gradientIntegral_mono | |
| 133 | - ⟨t,t.property.1,t.property.2.trans hRS⟩ ⟨S,hS.le,le_rfl⟩ (t.property.2.trans hRS)) | |
| 134 | - | |
| 135 | 94 | end FiniteLifespan |
| 136 | 95 | end EulerOrdinarySobolev |
+0 −22 Euler/OrdinaryEulerDifference.lean View file
| @@ -31,28 +31,6 @@ structure Evolution (T : ℝ) (hT : 0 ≤ T) where | ||
| 31 | 31 | ((velocity ⟨t,ht.1.le,ht.2.le⟩).field x)- |
| 32 | 32 | (pressureForce ⟨t,ht.1.le,ht.2.le⟩).field x) t |
| 33 | 33 | |
| 34 | -def evolutionOfClassical (T : ℝ) (hT : 0 ≤ T) | |
| 35 | - (U G : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 36 | - (hU : ∀ n, Continuous (fun t => (U t).jetLp n)) | |
| 37 | - (hG : ∀ n, Continuous (fun t => (G t).jetLp n)) | |
| 38 | - (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) | |
| 39 | - (hu : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) | |
| 40 | - (hp : ∀ (t : Icc (0 : ℝ) T), Differentiable ℝ (fun x => p (t,x))) | |
| 41 | - (hg : ∀ (t : Icc (0 : ℝ) T) x, gradient (fun y => p (t,y)) x=(G t).field x) | |
| 42 | - (hdiv : ∀ t x, divergence (U t).field x=0) | |
| 43 | - (hdiff : ∀ t ∈ Ioo 0 T, ∀ x, DifferentiableAt ℝ u (t,x)) | |
| 44 | - (heuler : ∀ t ∈ Ioo 0 T, ∀ x, EulerLagrangian.momentumResidual u p (t,x)=0) : | |
| 45 | - Evolution T hT where | |
| 46 | - velocity := U | |
| 47 | - pressureForce := G | |
| 48 | - velocity_continuous := hU | |
| 49 | - pressure_continuous := hG | |
| 50 | - solenoidal t := smooth_mem_solenoidal (U t).field (U t).smooth (U t).memLp (hdiv t) | |
| 51 | - gradient t := gradient_mem (G t) (fun x => p (t,x)) | |
| 52 | - (potential_smooth (G t) _ (hp t) (fun x => (hg t x).symm)) (fun x => (hg t x).symm) | |
| 53 | - time_law := EulerSmoothEulerEvolution.pointwise_time_derivative_of_classical T hT U G | |
| 54 | - u p hu hg hdiff heuler | |
| 55 | - | |
| 56 | 34 | theorem continuous_jet_fieldSub {K : Type*} [TopologicalSpace K] |
| 57 | 35 | (A B : K → SmoothL2Field Space) |
| 58 | 36 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
+0 −13 Euler/OrdinaryEulerEndpoint.lean View file
| @@ -86,17 +86,4 @@ theorem endpoint_matches_partial {T : ℝ} {hT : 0 ≤ T} | ||
| 86 | 86 | rw [hW] |
| 87 | 87 | exact ⟨(R.velocity_eq_of_initial U hi t).symm,(R.pressure_eq_of_initial U hS hi t).symm⟩ |
| 88 | 88 | |
| 89 | -theorem exists_smooth_endpoint_extension (T : ℝ) (hT : 0 < T) | |
| 90 | - (A : SmoothL2Field Space) (G : ℝ) | |
| 91 | - (hpartial : ∀ S (hS : 0 < S), S < T → | |
| 92 | - ∃ U : Evolution S hS.le, U.velocity ⟨0,le_rfl,hS.le⟩=A ∧ | |
| 93 | - ∀ t, U.gradientIntegral t ≤ G) : | |
| 94 | - ∃ W : Evolution T hT.le, W.velocity ⟨0,le_rfl,hT.le⟩=A ∧ | |
| 95 | - ∀ S (hS : 0 < S) (hST : S ≤ T) (U : Evolution S hS.le), | |
| 96 | - U.velocity ⟨0,le_rfl,hS.le⟩=A → ∀ t : Icc (0 : ℝ) S, | |
| 97 | - W.velocity ⟨t,t.property.1,t.property.2.trans hST⟩=U.velocity t ∧ | |
| 98 | - W.pressureForce ⟨t,t.property.1,t.property.2.trans hST⟩=U.pressureForce t := by | |
| 99 | - obtain ⟨W,hW⟩ := exists_smooth_endpoint T hT A G hpartial | |
| 100 | - exact ⟨W,hW,fun S hS hST U hU t => endpoint_matches_partial W A hW S hS hST U hU t⟩ | |
| 101 | - | |
| 102 | 89 | end EulerOrdinarySobolev |
+0 −34 Euler/OrdinaryEulerGradientControl.lean View file
| @@ -87,16 +87,6 @@ theorem h3_energy_gradientIntegral (U : Evolution T hT) (t : Icc (0 : ℝ) T) : | ||
| 87 | 87 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 88 | 88 | integerEnergyPath,ContinuousMap.coe_mk,gradientIntegral] using h |
| 89 | 89 | |
| 90 | -theorem h3_energy_gradient_bound (U : Evolution T hT) (K : ℝ) | |
| 91 | - (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : | |
| 92 | - wordEnergy 3 (U.velocity t) ≤ wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 93 | - Real.exp (gradientEnergyConstant*K*(t : ℝ)) := by | |
| 94 | - apply (U.h3_energy_gradientIntegral t).trans | |
| 95 | - apply mul_le_mul_of_nonneg_left _ (wordEnergy_nonneg _ _) | |
| 96 | - apply Real.exp_le_exp.mpr | |
| 97 | - exact (mul_le_mul_of_nonneg_left (U.gradientIntegral_le_const K hK t) | |
| 98 | - gradientEnergyConstant_nonneg).trans_eq (by ring) | |
| 99 | - | |
| 100 | 90 | def gradientH3Bound (U : Evolution T hT) (G : ℝ) : ℝ := |
| 101 | 91 | Real.sqrt (wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (gradientEnergyConstant*G)) |
| 102 | 92 | |
| @@ -116,28 +106,4 @@ theorem h3_tensorNorm_of_gradientIntegral (U : Evolution T hT) (G : ℝ) | ||
| 116 | 106 | tensorNorm 3 (U.velocity t) ≤ wordCount 3*U.gradientH3Bound G := |
| 117 | 107 | tensorNorm_le_wordCount _ 3 _ (U.wordBound_of_gradientIntegral G hG t) |
| 118 | 108 | |
| 119 | -theorem higher_energy_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 120 | - (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : | |
| 121 | - wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 122 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T) := | |
| 123 | - U.integer_energy_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t | |
| 124 | - | |
| 125 | -theorem higher_tensorNorm_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 126 | - (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : | |
| 127 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 128 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 129 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T)) := | |
| 130 | - U.tensorNorm_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t | |
| 131 | - | |
| 132 | -theorem higher_tensorNorm_of_gradientBound (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 133 | - (K : ℝ) (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) | |
| 134 | - (t : Icc (0 : ℝ) T) : | |
| 135 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 136 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 137 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound (K*T)*T)) := by | |
| 138 | - have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ (U.velocity t).field 0)).trans (hK t 0) | |
| 139 | - exact U.higher_tensorNorm_of_gradientIntegral m hm (K*T) | |
| 140 | - (fun s => (U.gradientIntegral_le_const K hK s).trans | |
| 141 | - (mul_le_mul_of_nonneg_left s.property.2 hK0)) t | |
| 142 | - | |
| 143 | 109 | end EulerOrdinarySobolev.Evolution |
+0 −7 Euler/OrdinaryEulerHigherEnergy.lean View file
| @@ -91,13 +91,6 @@ theorem integer_energy_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | ||
| 91 | 91 | exact mul_le_mul_of_nonneg_left t.property.2 |
| 92 | 92 | (mul_nonneg (tameEnergyConstant_nonneg m) (wordBound_nonneg (hM t))) |
| 93 | 93 | |
| 94 | -theorem tensorNorm_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 95 | - (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : | |
| 96 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 97 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (tameEnergyConstant m*M*T)) := | |
| 98 | - (tensorNorm_le_energy _ m).trans (mul_le_mul_of_nonneg_left | |
| 99 | - (Real.sqrt_le_sqrt (U.integer_energy_uniform m hm M hM t)) (wordCount_nonneg m)) | |
| 100 | - | |
| 101 | 94 | theorem higher_energy_of_h3 (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 102 | 95 | (M : ℝ) (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 103 | 96 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
+0 −12 Euler/OrdinaryEulerL2Stability.lean View file
| @@ -145,17 +145,5 @@ theorem velocityPath_norm_sub_le (U V : Evolution T hT) (K : ℝ) (hK0 : 0 ≤ K | ||
| 145 | 145 | (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr |
| 146 | 146 | (mul_le_mul_of_nonneg_left t.property.2 hK0)) (norm_nonneg _)) |
| 147 | 147 | |
| 148 | -theorem l2_stability_of_h3 (U V : Evolution T hT) (M : ℝ) | |
| 149 | - (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : | |
| 150 | - ‖(U.difference V t).toLp‖ ≤ ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖* | |
| 151 | - Real.exp ((9*EulerSmoothSobolev.smoothEmbeddingConstant*M)*t) := by | |
| 152 | - apply U.l2_stability V | |
| 153 | - intro s x | |
| 154 | - have hb := EulerSmoothSobolev.real_smooth_fderiv_le_H3 3 (U.velocity s).field | |
| 155 | - (U.velocity s).smooth (fun j _ => (U.velocity s).integrable j) x | |
| 156 | - rw [← tensorNorm_eq] at hb | |
| 157 | - exact hb.trans (mul_le_mul_of_nonneg_left (hM s) | |
| 158 | - (mul_nonneg (by norm_num) EulerSmoothSobolev.smoothEmbeddingConstant_nonneg)) | |
| 159 | - | |
| 160 | 148 | end Evolution |
| 161 | 149 | end EulerOrdinarySobolev |
+0 −15 Euler/OrdinaryEulerLimit.lean View file
| @@ -87,14 +87,6 @@ def limitEvolution (V : ℕ → Evolution T hT) (hpos : 0 < T) | ||
| 87 | 87 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) : Evolution T hT := |
| 88 | 88 | (eulerLimitData V hb h0).toEvolution hpos (Classical.choose (hb 3)) (Classical.choose_spec (hb 3)) |
| 89 | 89 | |
| 90 | -theorem limitEvolution_jet_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 91 | - (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) | |
| 92 | - (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) (q : ℕ) : | |
| 93 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 94 | - (𝓝 (jetPath (limitEvolution V hpos hb h0).velocity | |
| 95 | - (limitEvolution V hpos hb h0).velocity_continuous q)) := | |
| 96 | - (eulerLimitData V hb h0).jetPath_convergence q | |
| 97 | - | |
| 98 | 90 | theorem limitEvolution_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 99 | 91 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 100 | 92 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) |
| @@ -102,13 +94,6 @@ theorem limitEvolution_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) | ||
| 102 | 94 | ((limitEvolution V hpos hb h0).velocity ⟨0,le_rfl,hT⟩).toLp=u0 := |
| 103 | 95 | tendsto_nhds_unique ((eulerLimitData V hb h0).toLp_convergence ⟨0,le_rfl,hT⟩) hu0 |
| 104 | 96 | |
| 105 | -theorem limitEvolution_bound (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 106 | - (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) | |
| 107 | - (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) | |
| 108 | - (q : ℕ) (M : ℝ) (hM : ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) (t : Icc (0 : ℝ) T) : | |
| 109 | - tensorNorm q ((limitEvolution V hpos hb h0).velocity t) ≤ M := | |
| 110 | - (eulerLimitData V hb h0).tensorNorm_bound q M hM t | |
| 111 | - | |
| 112 | 97 | namespace Evolution |
| 113 | 98 | |
| 114 | 99 | def scalarPressure (U : Evolution T hT) (t : Icc (0 : ℝ) T) : Space → ℝ := |
+0 −5 Euler/OrdinaryEulerLocalExistence.lean View file
| @@ -149,9 +149,4 @@ theorem localEvolution_initial (A : SmoothL2Field Space) (hA : A.toLp ∈ soleno | ||
| 149 | 149 | simp only [regularizedSolution_initial] at h |
| 150 | 150 | exact tendsto_nhds_unique h tendsto_const_nhds |
| 151 | 151 | |
| 152 | -theorem exists_local_evolution (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : | |
| 153 | - ∃ (T : ℝ) (hT : 0 < T), ∃ U : Evolution T hT.le, | |
| 154 | - U.velocity ⟨0,le_rfl,hT.le⟩=A := | |
| 155 | - ⟨regularizedTime A,regularizedTime_pos A,localEvolution A hA,localEvolution_initial A hA⟩ | |
| 156 | - | |
| 157 | 152 | end EulerOrdinarySobolev |
+0 −43 Euler/OrdinaryEulerMaximal.lean View file
| @@ -110,18 +110,6 @@ theorem maximalField_jet_continuous (n : ℕ) : | ||
| 110 | 110 | rw [he] |
| 111 | 111 | exact (L.evolution S hS hSL).velocity_continuous n |
| 112 | 112 | |
| 113 | -theorem maximalPressureField_jet_continuous (n : ℕ) : | |
| 114 | - Continuous (fun t : L.Time => (L.maximalPressureField t).jetLp n) := by | |
| 115 | - apply L.continuous_of_shorter_restrictions | |
| 116 | - intro S hS hSL | |
| 117 | - have he : (fun t : Icc (0 : ℝ) S => | |
| 118 | - (L.maximalPressureField (L.shorterTime S hSL t)).jetLp n)= | |
| 119 | - (fun t => ((L.evolution S hS hSL).pressureForce t).jetLp n) := by | |
| 120 | - funext t | |
| 121 | - rw [L.maximalPressureField_eq_evolution S hS hSL t] | |
| 122 | - rw [he] | |
| 123 | - exact (L.evolution S hS hSL).pressure_continuous n | |
| 124 | - | |
| 125 | 113 | theorem maximalField_initial : L.maximalField L.initialTime=A := |
| 126 | 114 | L.evolution_initial (L.intermediateHorizon L.initialTime) |
| 127 | 115 | (L.intermediateHorizon_pos L.initialTime) (L.intermediateHorizon_lt L.initialTime) |
| @@ -130,11 +118,6 @@ theorem maximalField_solenoidal (t : L.Time) : (L.maximalField t).toLp ∈ solen | ||
| 130 | 118 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 131 | 119 | (L.intermediateHorizon_lt t)).solenoidal (L.intermediateTime t) |
| 132 | 120 | |
| 133 | -theorem maximalPressureField_gradient (t : L.Time) : | |
| 134 | - (L.maximalPressureField t).toLp ∈ gradientSpace := | |
| 135 | - (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) | |
| 136 | - (L.intermediateHorizon_lt t)).gradient (L.intermediateTime t) | |
| 137 | - | |
| 138 | 121 | def maximalVelocity (t : L.Time) : Space → Space := (L.maximalField t).field |
| 139 | 122 | |
| 140 | 123 | def maximalPressure (t : L.Time) : Space → ℝ := |
| @@ -145,12 +128,6 @@ theorem maximalVelocity_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duratio | ||
| 145 | 128 | L.maximalVelocity (L.shorterTime S hSL t)=((L.evolution S hS hSL).velocity t).field := by |
| 146 | 129 | exact congrArg SmoothL2Field.field (L.maximalField_eq_evolution S hS hSL t) |
| 147 | 130 | |
| 148 | -theorem maximalPressure_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 149 | - (t : Icc (0 : ℝ) S) : | |
| 150 | - L.maximalPressure (L.shorterTime S hSL t)=(L.evolution S hS hSL).scalarPressure t := by | |
| 151 | - simp only [maximalPressure,Evolution.scalarPressure, | |
| 152 | - L.maximalPressureField_eq_evolution S hS hSL t] | |
| 153 | - | |
| 154 | 131 | theorem maximalVelocity_initial : L.maximalVelocity L.initialTime=A.field := |
| 155 | 132 | congrArg SmoothL2Field.field L.maximalField_initial |
| 156 | 133 | |
| @@ -166,14 +143,6 @@ theorem maximalVelocity_joint_continuous : | ||
| 166 | 143 | simpa only [EulerMeanSobolevBoundedField.finiteField_apply,maximalVelocity] using |
| 167 | 144 | h.eval continuous_snd |
| 168 | 145 | |
| 169 | -theorem maximalPressureField_joint_continuous : | |
| 170 | - Continuous (fun z : L.Time × Space => (L.maximalPressureField z.1).field z.2) := by | |
| 171 | - have h : Continuous (fun z : L.Time × Space => | |
| 172 | - EulerMeanSobolevBoundedField.finiteField (L.maximalPressureField z.1)) := | |
| 173 | - (EulerMeanSobolevBoundedField.continuous_finiteField L.maximalPressureField | |
| 174 | - L.maximalPressureField_jet_continuous).comp continuous_fst | |
| 175 | - simpa only [EulerMeanSobolevBoundedField.finiteField_apply] using h.eval continuous_snd | |
| 176 | - | |
| 177 | 146 | theorem maximalVelocity_divergence (t : L.Time) (x : Space) : |
| 178 | 147 | divergence (L.maximalVelocity t) x=0 := |
| 179 | 148 | solenoidal_representative_divergence _ (L.maximalField_solenoidal t) _ |
| @@ -197,16 +166,4 @@ theorem maximal_restriction_is_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.dur | ||
| 197 | 166 | funext (fun t => (L.maximalPressureField_eq_evolution S hS hSL t).symm), |
| 198 | 167 | L.evolution_initial S hS hSL⟩ |
| 199 | 168 | |
| 200 | -theorem maximalVelocity_time_law (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 201 | - (t : ℝ) (ht : t ∈ Ioo 0 S) (x : Space) : | |
| 202 | - HasDerivAt (fun r => L.maximalVelocity | |
| 203 | - (L.shorterTime S hSL (projIcc 0 S hS.le r)) x) | |
| 204 | - (-fderiv ℝ (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x | |
| 205 | - (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩) x)- | |
| 206 | - _root_.gradient (L.maximalPressure (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x) t := by | |
| 207 | - rw [(L.maximalPressure_spec (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)).2.2 x, | |
| 208 | - L.maximalPressureField_eq_evolution S hS hSL] | |
| 209 | - simpa only [L.maximalVelocity_eq_evolution S hS hSL] using | |
| 210 | - (L.evolution S hS hSL).time_law t ht x | |
| 211 | - | |
| 212 | 169 | end EulerOrdinarySobolev.FiniteLifespan |
+0 −4 Euler/OrdinaryEulerNontriviality.lean View file
| @@ -35,10 +35,6 @@ def zeroEvolution (T : ℝ) (hT : 0 ≤ T) : Evolution T hT where | ||
| 35 | 35 | simpa only [fderiv_const_apply,zero_apply,neg_zero,sub_zero] using |
| 36 | 36 | hasDerivAt_const t (0 : Space) |
| 37 | 37 | |
| 38 | -theorem zero_has_euler (T : ℝ) (hT : 0 < T) : | |
| 39 | - HasEulerEvolution (zeroField : SmoothL2Field Space) T := | |
| 40 | - ⟨hT,zeroEvolution T hT.le,rfl⟩ | |
| 41 | - | |
| 42 | 38 | namespace FiniteLifespan |
| 43 | 39 | |
| 44 | 40 | variable {A : SmoothL2Field Space} |
+0 −3 Euler/OrdinaryEulerRestriction.lean View file
| @@ -31,9 +31,6 @@ def restrictTime : Evolution S hS where | ||
| 31 | 31 | projIcc_of_mem hT ⟨hr.1.le,hr.2.le.trans hST⟩] |
| 32 | 32 | rfl |
| 33 | 33 | |
| 34 | -theorem restrictTime_velocity (t : Icc (0 : ℝ) S) : | |
| 35 | - (U.restrictTime S hS hST).velocity t=U.velocity (initialInclusion T S hST t) := rfl | |
| 36 | - | |
| 37 | 34 | theorem restrictTime_initial : |
| 38 | 35 | (U.restrictTime S hS hST).velocity ⟨0,le_rfl,hS⟩=U.velocity ⟨0,le_rfl,hT⟩ := rfl |
| 39 | 36 | |
+0 −31 Euler/OrdinaryEulerStability.lean View file
| @@ -71,35 +71,4 @@ theorem sampled_h3_tendsto_zero (U : Evolution T hT) (V : ℕ → Evolution T hT | ||
| 71 | 71 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 72 | 72 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 73 | 73 | |
| 74 | -theorem no_gradient_escape (U : Evolution T hT) (V : ℕ → Evolution T hT) | |
| 75 | - (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) | |
| 76 | - (hinit : ∀ n, tensorNorm 3 (U.difference (V n) ⟨0,le_rfl,hT⟩) ≤ ε n) | |
| 77 | - (times : ℕ → Icc (0 : ℝ) T) : | |
| 78 | - ¬ Tendsto (fun n => ‖fderiv ℝ ((V n).velocity (times n)).field 0‖) atTop atTop := by | |
| 79 | - let err : ℕ → ℝ := fun n => (9*smoothEmbeddingConstant)* | |
| 80 | - tensorNorm 3 (U.difference (V n) (times n)) | |
| 81 | - have he : Tendsto err atTop (𝓝 0) := by | |
| 82 | - simpa only [mul_zero] using | |
| 83 | - (U.sampled_h3_tendsto_zero V ε hε hlim hinit times).const_mul (9*smoothEmbeddingConstant) | |
| 84 | - have hc : Continuous (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) := | |
| 85 | - (U.gradient_continuous 0).comp continuous_projIcc | |
| 86 | - apply EulerBreakdownCriterion.no_escape_near_compact_trajectory | |
| 87 | - (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) | |
| 88 | - (fun n => fderiv ℝ ((V n).velocity (times n)).field 0) | |
| 89 | - (fun n => (times n : ℝ)) err T hc.continuousOn (fun n => (times n).property) he | |
| 90 | - apply Eventually.of_forall | |
| 91 | - intro n | |
| 92 | - have hb := real_smooth_fderiv_le_H3 3 (U.difference (V n) (times n)).field | |
| 93 | - (U.difference (V n) (times n)).smooth | |
| 94 | - (fun j _ => (U.difference (V n) (times n)).integrable j) 0 | |
| 95 | - have hf : (U.difference (V n) (times n)).field= | |
| 96 | - ((V n).velocity (times n)).field-(U.velocity (times n)).field := | |
| 97 | - funext (fieldSub_field _ _) | |
| 98 | - rw [hf,fderiv_sub (((V n).velocity (times n)).smooth.differentiable (by simp) 0) | |
| 99 | - ((U.velocity (times n)).smooth.differentiable (by simp) 0)] at hb | |
| 100 | - rw [projIcc_of_mem hT (times n).property] | |
| 101 | - change _ ≤ (9*smoothEmbeddingConstant)*tensorNorm 3 (U.difference (V n) (times n)) | |
| 102 | - rw [tensorNorm_eq,hf] | |
| 103 | - exact hb | |
| 104 | - | |
| 105 | 74 | end EulerOrdinarySobolev.Evolution |
+0 −21 Euler/OrdinaryEulerVorticity.lean View file
| @@ -62,19 +62,6 @@ theorem pointwise_vorticity_le (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 62 | 62 | |
| 63 | 63 | def vorticityIntegral (t : Icc (0 : ℝ) T) : ℝ := realIntegral T hT U.vorticityNormPath t |
| 64 | 64 | |
| 65 | -theorem vorticityIntegral_nonneg (t : Icc (0 : ℝ) T) : 0 ≤ U.vorticityIntegral t := | |
| 66 | - intervalIntegral.integral_nonneg_of_forall t.property.1 | |
| 67 | - (fun r => U.vorticityNormPath_nonneg (projIcc 0 T hT r)) | |
| 68 | - | |
| 69 | -theorem vorticityIntegral_initial : U.vorticityIntegral ⟨0,le_rfl,hT⟩=0 := | |
| 70 | - intervalIntegral.integral_same | |
| 71 | - | |
| 72 | -theorem vorticityIntegral_continuous : Continuous U.vorticityIntegral := | |
| 73 | - (show Continuous (realIntegral T hT U.vorticityNormPath) from | |
| 74 | - (show Differentiable ℝ (realIntegral T hT U.vorticityNormPath) from | |
| 75 | - fun t => (realIntegral_hasDerivAt T hT U.vorticityNormPath t).differentiableAt).continuous).comp | |
| 76 | - continuous_subtype_val | |
| 77 | - | |
| 78 | 65 | theorem vorticityIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : |
| 79 | 66 | U.vorticityIntegral s ≤ U.vorticityIntegral t := |
| 80 | 67 | intervalIntegral.integral_mono_interval le_rfl s.property.1 hst |
| @@ -92,13 +79,5 @@ theorem vorticityIntegral_le_const (K : ℝ) | ||
| 92 | 79 | (U.vorticityNormPath_le_iff (projIcc 0 T hT r) K).mpr (hK _)) |
| 93 | 80 | _ = _ := by simp only [intervalIntegral.integral_const,sub_zero,smul_eq_mul]; ring |
| 94 | 81 | |
| 95 | -theorem vorticityNormPath_le_gradient (t : Icc (0 : ℝ) T) : | |
| 96 | - U.vorticityNormPath t ≤ ‖curlOperator‖*U.gradientNormPath t := by | |
| 97 | - apply (U.vorticityNormPath_le_iff t _).mpr | |
| 98 | - intro x | |
| 99 | - rw [← vorticityField_apply] | |
| 100 | - exact (curlOperator.le_opNorm (fderiv ℝ (U.velocity t).field x)).trans | |
| 101 | - (mul_le_mul_of_nonneg_left (U.pointwise_gradient_le t x) (norm_nonneg _)) | |
| 102 | - | |
| 103 | 82 | end Evolution |
| 104 | 83 | end EulerOrdinarySobolev |
+0 −4 Euler/OrdinaryFieldScaling.lean View file
| @@ -40,10 +40,6 @@ theorem scaleField_fderiv (c : ℝ) (A : SmoothL2Field V) (x : Space) : | ||
| 40 | 40 | fderiv ℝ (scaleField c A).field x=c • fderiv ℝ A.field x := |
| 41 | 41 | ((A.smooth.differentiable (by simp) x).hasFDerivAt.const_smul c).fderiv |
| 42 | 42 | |
| 43 | -theorem scaleField_one (A : SmoothL2Field V) : scaleField 1 A=A := by | |
| 44 | - apply field_ext | |
| 45 | - exact funext (fun x => by simp only [scaleField_field,one_smul]) | |
| 46 | - | |
| 47 | 43 | theorem scaleField_continuous {K : Type*} [TopologicalSpace K] |
| 48 | 44 | (c : ℝ) (A : K → SmoothL2Field V) |
| 49 | 45 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
+0 −3 Euler/OrdinaryGradientEnergy.lean View file
| @@ -62,9 +62,6 @@ def gradientEnergyConstant : ℝ := 54*(∑ n ∈ range 4, (6 : ℝ)^n) | ||
| 62 | 62 | theorem gradientEnergyConstant_nonneg : 0 ≤ gradientEnergyConstant := by |
| 63 | 63 | exact mul_nonneg (by norm_num) (sum_nonneg (fun _ _ => by positivity)) |
| 64 | 64 | |
| 65 | -theorem gradientEnergyConstant_eq : gradientEnergyConstant=13986 := by | |
| 66 | - norm_num [gradientEnergyConstant,sum_range_succ] | |
| 67 | - | |
| 68 | 65 | theorem eulerRhs_word_gradient (A P : SmoothL2Field Space) (K : ℝ) |
| 69 | 66 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hdiv : ∀ x, divergence A.field x=0) |
| 70 | 67 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) |
+0 −51 Euler/OrdinaryGradientLimit.lean View file
| @@ -32,59 +32,8 @@ theorem h3_tensorNorm_gradient_uniform (U : Evolution T hT) (R G : ℝ) | ||
| 32 | 32 | (mul_le_mul_of_nonneg_left |
| 33 | 33 | (pow_le_pow_left₀ (tensorNorm_nonneg 3 _) hR 2) (wordCount_nonneg 3)) |
| 34 | 34 | |
| 35 | -theorem cauchyPath_of_initial_gradient (V : ℕ → Evolution T hT) (G : ℝ) | |
| 36 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 37 | - (hinit : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) : | |
| 38 | - CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous) := by | |
| 39 | - apply Metric.cauchySeq_iff.mpr | |
| 40 | - intro ε hε | |
| 41 | - obtain ⟨N,hN⟩ := Metric.cauchySeq_iff.mp hinit (ε/Real.exp G) (div_pos hε (Real.exp_pos _)) | |
| 42 | - refine ⟨N,fun j hj k hk => ?_⟩ | |
| 43 | - have hb := (V k).velocityPath_norm_sub_le_gradientIntegral (V j) G (hG k) | |
| 44 | - have hi := mul_lt_mul_of_pos_right (hN j hj k hk) (Real.exp_pos G) | |
| 45 | - rw [div_mul_cancel₀ _ (ne_of_gt (Real.exp_pos G))] at hi | |
| 46 | - rw [dist_eq_norm,fieldPath_eq_velocityPath,fieldPath_eq_velocityPath] | |
| 47 | - apply hb.trans_lt | |
| 48 | - simpa only [dist_eq_norm,velocityPath_apply] using hi | |
| 49 | - | |
| 50 | 35 | end Evolution |
| 51 | 36 | |
| 52 | 37 | variable {T : ℝ} {hT : 0 ≤ T} |
| 53 | 38 | |
| 54 | -def limitEvolutionOfGradientIntegral (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 55 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 56 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 57 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 58 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) : Evolution T hT := | |
| 59 | - limitEvolution V hpos | |
| 60 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 61 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 62 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) | |
| 63 | - | |
| 64 | -theorem limitEvolutionOfGradientIntegral_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 65 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 66 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 67 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 68 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (q : ℕ) : | |
| 69 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 70 | - (𝓝 (jetPath (limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity | |
| 71 | - (limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity_continuous q)) := | |
| 72 | - limitEvolution_jet_convergence V hpos | |
| 73 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 74 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 75 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) q | |
| 76 | - | |
| 77 | -theorem limitEvolutionOfGradientIntegral_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 78 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 79 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 80 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 81 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (u0 : L2) | |
| 82 | - (hu0 : Tendsto (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp) atTop (𝓝 u0)) : | |
| 83 | - ((limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity | |
| 84 | - ⟨0,le_rfl,hT⟩).toLp=u0 := | |
| 85 | - limitEvolution_initial V hpos | |
| 86 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 87 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 88 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) u0 hu0 | |
| 89 | - | |
| 90 | 39 | end EulerOrdinarySobolev |
+0 −11 Euler/OrdinaryGradientStability.lean View file
| @@ -60,15 +60,4 @@ theorem l2_stability_gradientIntegral (U V : Evolution T hT) (t : Icc (0 : ℝ) | ||
| 60 | 60 | positivity |
| 61 | 61 | nlinarith [norm_nonneg (U.difference V t).toLp] |
| 62 | 62 | |
| 63 | -theorem velocityPath_norm_sub_le_gradientIntegral (U V : Evolution T hT) (G : ℝ) | |
| 64 | - (hG : ∀ t, U.gradientIntegral t ≤ G) : | |
| 65 | - ‖V.velocityPath-U.velocityPath‖ ≤ | |
| 66 | - ‖V.velocityPath ⟨0,le_rfl,hT⟩-U.velocityPath ⟨0,le_rfl,hT⟩‖*Real.exp G := by | |
| 67 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 68 | - intro t | |
| 69 | - have h := U.l2_stability_gradientIntegral V t | |
| 70 | - simp only [difference,toLp_fieldSub] at h | |
| 71 | - simpa only [ContinuousMap.sub_apply,velocityPath_apply] using h.trans | |
| 72 | - (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (hG t)) (norm_nonneg _)) | |
| 73 | - | |
| 74 | 63 | end EulerOrdinarySobolev.Evolution |
+0 −5 Euler/OrdinaryH3Envelope.lean View file
| @@ -67,11 +67,6 @@ def envelopeDerivative (U V : Evolution T hT) (δ : ℝ) (t : Icc (0 : ℝ) T) : | ||
| 67 | 67 | theorem energyPath_nonneg (U V : Evolution T hT) (t : Icc (0 : ℝ) T) : 0 ≤ U.energyPath V t := |
| 68 | 68 | wordEnergy_nonneg 3 _ |
| 69 | 69 | |
| 70 | -theorem normEnvelope_nonneg (U V : Evolution T hT) (δ : ℝ) (t : Icc (0 : ℝ) T) : | |
| 71 | - 0 ≤ U.normEnvelope V δ t := by | |
| 72 | - change 0 ≤ 40*sqrt _ | |
| 73 | - positivity | |
| 74 | - | |
| 75 | 70 | theorem normEnvelope_hasDerivWithinAt (U V : Evolution T hT) (δ : ℝ) (hδ : 0 < δ) |
| 76 | 71 | (t : Icc (0 : ℝ) T) : |
| 77 | 72 | HasDerivWithinAt (extendPath T hT (U.normEnvelope V δ)) (U.envelopeDerivative V δ t) |
+0 −8 Euler/OrdinaryH3Norms.lean View file
| @@ -46,12 +46,4 @@ theorem energy_le_tensorNorm_sq (A : SmoothL2Field Space) : | ||
| 46 | 46 | exact pow_le_pow_left₀ (norm_nonneg _) (hA n (by have := mem_range.mp hn; omega) w) 2 |
| 47 | 47 | _ = _ := by norm_num [sum_range_succ]; ring |
| 48 | 48 | |
| 49 | -theorem sqrt_energy_le_tensorNorm (A : SmoothL2Field Space) : | |
| 50 | - Real.sqrt (wordEnergy 3 A) ≤ 7*tensorNorm 3 A := by | |
| 51 | - have he := energy_le_tensorNorm_sq A | |
| 52 | - have hs := Real.sq_sqrt (wordEnergy_nonneg 3 A) | |
| 53 | - have ht := tensorNorm_nonneg 3 A | |
| 54 | - have hr := Real.sqrt_nonneg (wordEnergy 3 A) | |
| 55 | - nlinarith [sq_nonneg (tensorNorm 3 A)] | |
| 56 | - | |
| 57 | 49 | end EulerOrdinarySobolev |
+0 −34 Euler/OrdinaryMaximalVorticity.lean View file
| @@ -50,9 +50,6 @@ theorem maximalVorticityNorm_le_iff (t : L.Time) (K : ℝ) : | ||
| 50 | 50 | L.maximalVorticityNorm t ≤ K ↔ ∀ x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ K := |
| 51 | 51 | vorticityNorm_le_iff _ K |
| 52 | 52 | |
| 53 | -theorem maximalVorticityNorm_continuous : Continuous L.maximalVorticityNorm := | |
| 54 | - vorticityNorm_continuous L.maximalField L.maximalField_jet_continuous | |
| 55 | - | |
| 56 | 53 | theorem maximalVorticityNorm_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 57 | 54 | (t : Icc (0 : ℝ) S) : |
| 58 | 55 | L.maximalVorticityNorm (L.shorterTime S hSL t)=(L.evolution S hS hSL).vorticityNormPath t := by |
| @@ -73,37 +70,6 @@ theorem maximalVorticityIntegral_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < | ||
| 73 | 70 | (L.intermediateHorizon_lt (L.shorterTime S hSL t)) hSL t t.property.1 |
| 74 | 71 | (L.time_lt_intermediateHorizon (L.shorterTime S hSL t)).le t.property.2 |
| 75 | 72 | |
| 76 | -theorem maximalVorticityIntegral_nonneg (t : L.Time) : 0 ≤ L.maximalVorticityIntegral t := | |
| 77 | - (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) | |
| 78 | - (L.intermediateHorizon_lt t)).vorticityIntegral_nonneg (L.intermediateTime t) | |
| 79 | - | |
| 80 | -theorem maximalVorticityIntegral_initial : L.maximalVorticityIntegral L.initialTime=0 := | |
| 81 | - (L.evolution (L.intermediateHorizon L.initialTime) (L.intermediateHorizon_pos L.initialTime) | |
| 82 | - (L.intermediateHorizon_lt L.initialTime)).vorticityIntegral_initial | |
| 83 | - | |
| 84 | -theorem maximalVorticityIntegral_continuous : Continuous L.maximalVorticityIntegral := by | |
| 85 | - apply L.continuous_of_shorter_restrictions | |
| 86 | - intro S hS hSL | |
| 87 | - have he : (fun t : Icc (0 : ℝ) S => L.maximalVorticityIntegral (L.shorterTime S hSL t))= | |
| 88 | - (L.evolution S hS hSL).vorticityIntegral := | |
| 89 | - funext (L.maximalVorticityIntegral_eq_evolution S hS hSL) | |
| 90 | - rw [he] | |
| 91 | - exact (L.evolution S hS hSL).vorticityIntegral_continuous | |
| 92 | - | |
| 93 | -theorem maximalVorticityIntegral_mono : Monotone L.maximalVorticityIntegral := by | |
| 94 | - intro s t hst | |
| 95 | - let R := L.intermediateHorizon t | |
| 96 | - have hR : 0 < R := L.intermediateHorizon_pos t | |
| 97 | - have hRL : R < L.duration := L.intermediateHorizon_lt t | |
| 98 | - have htR : (t : ℝ) ≤ R := (L.time_lt_intermediateHorizon t).le | |
| 99 | - have hsR : (s : ℝ) ≤ R := (show (s : ℝ) ≤ t from hst).trans htR | |
| 100 | - have hs := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨s,s.property.1,hsR⟩ | |
| 101 | - have ht := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨t,t.property.1,htR⟩ | |
| 102 | - change L.maximalVorticityIntegral s=_ at hs | |
| 103 | - change L.maximalVorticityIntegral t=_ at ht | |
| 104 | - rw [hs,ht] | |
| 105 | - exact (L.evolution R hR hRL).vorticityIntegral_mono _ _ hst | |
| 106 | - | |
| 107 | 73 | theorem vorticityIntegral_eventually_large_of_unbounded |
| 108 | 74 | (hunbounded : ∀ G : ℝ, ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 109 | 75 | (t : Icc (0 : ℝ) S), G < (L.evolution S hS hSL).vorticityIntegral t) |
+0 −9 Euler/OrdinaryMaximalVorticityIntegral.lean View file
| @@ -30,20 +30,11 @@ theorem maximalVorticityDensity_nonneg (r : ℝ) : 0 ≤ L.maximalVorticityDensi | ||
| 30 | 30 | · exact L.maximalVorticityNorm_nonneg _ |
| 31 | 31 | · exact le_rfl |
| 32 | 32 | |
| 33 | -theorem maximalVorticityDensity_measurable : Measurable L.maximalVorticityDensity := by | |
| 34 | - classical | |
| 35 | - exact L.maximalVorticityNorm_continuous.measurable.dite measurable_const measurableSet_Ico | |
| 36 | - | |
| 37 | 33 | theorem maximalVorticityDensity_eq (t : L.Time) : |
| 38 | 34 | L.maximalVorticityDensity t=L.maximalVorticityNorm t := by |
| 39 | 35 | classical |
| 40 | 36 | simp only [maximalVorticityDensity,dite_eq_left t.property] |
| 41 | 37 | |
| 42 | -theorem maximalVorticityDensity_le_iff (t : L.Time) (K : ℝ) : | |
| 43 | - L.maximalVorticityDensity t ≤ K ↔ ∀ x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ K := by | |
| 44 | - rw [L.maximalVorticityDensity_eq] | |
| 45 | - exact L.maximalVorticityNorm_le_iff t K | |
| 46 | - | |
| 47 | 38 | theorem maximalVorticityDensity_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 48 | 39 | (t : Icc (0 : ℝ) S) : |
| 49 | 40 | L.maximalVorticityDensity t=(L.evolution S hS hSL).vorticityNormPath t := by |
+0 −7 Euler/OrdinaryMollifier.lean View file
| @@ -36,13 +36,6 @@ theorem smoothOrbit_contDiff (n : ℕ) (u : L2) : ContDiff ℝ ∞ (smoothOrbit | ||
| 36 | 36 | (kernel_compact n).contDiff_convolution_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 37 | 37 | (kernel_smooth n) (EulerMeanTimeTranslation.translation_continuous u).locallyIntegrable |
| 38 | 38 | |
| 39 | -theorem mollify_tendsto (u : L2) : Tendsto (fun n => mollify n u) atTop (𝓝 u) := by | |
| 40 | - have hr : Tendsto (fun n => (bump n).rOut) atTop (𝓝 (0 : ℝ)) := by | |
| 41 | - simpa only [bump,mul_zero] using cutoffScale_tendsto.const_mul 2 | |
| 42 | - have h := ContDiffBump.convolution_tendsto_right_of_continuous | |
| 43 | - (μ := (volume : Measure Space)) hr (EulerMeanTimeTranslation.translation_continuous u) 0 | |
| 44 | - simpa only [translation_zero,mollify,smoothOrbit,kernel] using h | |
| 45 | - | |
| 46 | 39 | theorem mollify_eq_integral (n : ℕ) (u : L2) : |
| 47 | 40 | mollify n u=∫ y : Space, kernel n y • translation (-y) u := by |
| 48 | 41 | simp only [mollify,smoothOrbit,convolution_def,ContinuousLinearMap.lsmul_apply,zero_sub] |
+0 −11 Euler/OrdinaryPressureCancellation.lean View file
| @@ -95,12 +95,6 @@ theorem gradient_mem (A : SmoothL2Field Space) (p : Space → ℝ) | ||
| 95 | 95 | simpa only [partialDerivative,fderiv_coordinate A.field x |
| 96 | 96 | (A.smooth.differentiable (by simp) x)] using h |
| 97 | 97 | |
| 98 | -theorem gradient_pairing_zero (A U : SmoothL2Field Space) (p : Space → ℝ) | |
| 99 | - (hp : ContDiff ℝ ∞ p) (hgrad : ∀ x, A.field x=gradient p x) | |
| 100 | - (hdiv : ∀ x, divergence U.field x=0) : ⟪A.toLp,U.toLp⟫_ℝ=0 := | |
| 101 | - pressure_pairing_zero (gradient_mem A p hp hgrad) | |
| 102 | - (smooth_mem_solenoidal U.field U.smooth U.memLp hdiv) | |
| 103 | - | |
| 104 | 98 | theorem potential_smooth (A : SmoothL2Field Space) (p : Space → ℝ) |
| 105 | 99 | (hp : Differentiable ℝ p) (hgrad : ∀ x, A.field x=gradient p x) : |
| 106 | 100 | ContDiff ℝ ∞ p := by |
| @@ -112,9 +106,4 @@ theorem potential_smooth (A : SmoothL2Field Space) (p : Space → ℝ) | ||
| 112 | 106 | rw [he] |
| 113 | 107 | exact (toDual ℝ Space).contDiff.comp A.smooth |
| 114 | 108 | |
| 115 | -theorem gradient_pairing_zero_of_differentiable (A U : SmoothL2Field Space) (p : Space → ℝ) | |
| 116 | - (hp : Differentiable ℝ p) (hgrad : ∀ x, A.field x=gradient p x) | |
| 117 | - (hdiv : ∀ x, divergence U.field x=0) : ⟪A.toLp,U.toLp⟫_ℝ=0 := | |
| 118 | - gradient_pairing_zero A U p (potential_smooth A p hp hgrad) hgrad hdiv | |
| 119 | - | |
| 120 | 109 | end EulerOrdinarySobolev |
+0 −7 Euler/OrdinaryRegularizer.lean View file
| @@ -53,13 +53,6 @@ def regularizer (n : ℕ) : SmoothingOperator where | ||
| 53 | 53 | contraction := regularizerMap_contract n |
| 54 | 54 | solenoidal _u := solenoidalProjection_mem _ |
| 55 | 55 | |
| 56 | -theorem regularizer_tendsto (u : L2) : | |
| 57 | - Tendsto (fun n => (regularizer n).op u) atTop (𝓝 (solenoidalProjection u)) := by | |
| 58 | - change Tendsto (fun n => solenoidalProjection (mollify n (solenoidalProjection u))) | |
| 59 | - atTop (𝓝 (solenoidalProjection u)) | |
| 60 | - have h := solenoidalProjection.continuous.tendsto (solenoidalProjection u) | |
| 61 | - simpa only [Function.comp_def,projection_idempotent] using h.comp (mollify_tendsto (solenoidalProjection u)) | |
| 62 | - | |
| 63 | 56 | theorem regularizer_error (n : ℕ) (A : SmoothL2Field Space) : |
| 64 | 57 | ‖(regularizer n).op A.toLp-solenoidalProjection A.toLp‖ ≤ |
| 65 | 58 | (2*EulerNoncompactTransport.cutoffScale n)*‖(solenoidalField A).derivative.toLp‖ := by |
+0 −5 Euler/OrdinarySobolevTower.lean View file
| @@ -63,11 +63,6 @@ theorem smoothField_realization (q : ℕ) (t : Icc (0 : ℝ) T) : | ||
| 63 | 63 | apply value_injective 1 |
| 64 | 64 | erw [ordinarySobolev_value,A.smoothField_toLp,A.value_eq] |
| 65 | 65 | |
| 66 | -theorem smoothField_path (q : ℕ) : | |
| 67 | - sobolevPath A.smoothField A.smoothField_jet_continuous q=A.realization q := by | |
| 68 | - apply ContinuousMap.ext | |
| 69 | - exact A.smoothField_realization q | |
| 70 | - | |
| 71 | 66 | end SobolevTower |
| 72 | 67 | |
| 73 | 68 | def ordinaryTensorOperator (q : ℕ) : |
+0 −81 Euler/PDEEnergyLimit.lean View file
| @@ -14,87 +14,6 @@ open MeasureTheory Set Real InnerProductSpace EulerLiftedGradientSpace EulerSpat | ||
| 14 | 14 | EulerVolterraConvolution EulerTimeLp EulerTimeLpPairing EulerPacketWeights |
| 15 | 15 | open scoped Topology |
| 16 | 16 | |
| 17 | -/-- Equality of an actual scalar integrand with three continuous weighted paths identifies its interval integral. -/ | |
| 18 | -theorem integral_eq_three_paths (T : ℝ) (hT : 0 ≤ T) | |
| 19 | - (a b c X Y Z : C(Icc (0 : ℝ) T, ℝ)) (f : ℝ → ℝ) | |
| 20 | - (hf : ∀ r ∈ Icc 0 T, f r = extendPath T hT a r * extendPath T hT X r + | |
| 21 | - extendPath T hT b r * extendPath T hT Y r + extendPath T hT c r * extendPath T hT Z r) : | |
| 22 | - (∫ r in (0 : ℝ)..T, f r) = | |
| 23 | - (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT X r) + | |
| 24 | - (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT Y r) + | |
| 25 | - ∫ r in (0 : ℝ)..T, extendPath T hT c r * extendPath T hT Z r := by | |
| 26 | - rw [← integral_three_paths T hT a b c X Y Z] | |
| 27 | - apply intervalIntegral.integral_congr | |
| 28 | - intro r hr | |
| 29 | - exact hf r (by simpa only [uIcc_of_le hT] using hr) | |
| 30 | - | |
| 31 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 32 | 18 | |
| 33 | -/-- Actual smooth-in-time finite-Sobolev PDE approximations imply the limiting signed integral energy bound. | |
| 34 | -The premises include their literal PDEs and strong convergence, never an assumed energy inequality. -/ | |
| 35 | -theorem weighted_pde_energy_limit {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) | |
| 36 | - (T : ℝ) (hT : 0 ≤ T) (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 37 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 38 | - (e : ℕ → α → β → ℝ → SobolevSpace period 2) | |
| 39 | - (e' p forcing : ℕ → α → β → ℝ → LiftL2 period) (z : ℝ → SobolevSpace period q) | |
| 40 | - (c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → NNReal) | |
| 41 | - (hc : 0 < c) (hν : 0 ≤ ν) | |
| 42 | - (hρc : ContinuousOn ρ (Icc 0 T)) (hρpos : ∀ r ∈ Icc 0 T, 0 < ρ r) | |
| 43 | - (hρd : ∀ r ∈ Ioo 0 T, HasDerivAt ρ (ρ' r) r) | |
| 44 | - (hKc : ContinuousOn (fun r => (K r).operator) (Icc 0 T)) | |
| 45 | - (hec : ∀ n i j, ContinuousOn (fun r => value period (e n i j r)) (Icc 0 T)) | |
| 46 | - (hKt : ∀ r ∈ Ioo 0 T, HasDerivAt (fun v => (K v).operator) (K' r) r) | |
| 47 | - (het : ∀ n i j r, r ∈ Ioo 0 T → HasDerivAt (fun v => value period (e n i j v)) (e' n i j r) r) | |
| 48 | - (hsym : ∀ r ∈ Ioo 0 T, ∀ x v w, ⟪(K r).coefficient x v, w⟫_ℝ = ⟪v, (K r).coefficient x w⟫_ℝ) | |
| 49 | - (hpos : ∀ r ∈ Icc 0 T, ∀ x v, c^2*‖v‖^2 ≤ ⟪(K r).coefficient x v, v⟫_ℝ) | |
| 50 | - (hKG : ∀ r ∈ Ioo 0 T, ∀ x v, (K r).coefficient x ((G r).coefficient x v) = v) | |
| 51 | - (hediv : ∀ n i j r, r ∈ Ioo 0 T → value period (e n i j r) ∈ divergenceFreeSpace period κ m) | |
| 52 | - (hp : ∀ n i j r, r ∈ Ioo 0 T → p n i j r ∈ gradientSpace period κ m) | |
| 53 | - (hz : ∀ r ∈ Ioo 0 T, value period (z r) ∈ divergenceFreeSpace period κ m) | |
| 54 | - (hzB : ∀ r ∈ Ioo 0 T, ∀ᵐ x ∂liftMeasure period, ‖value period (z r) x‖ ≤ B r) | |
| 55 | - (heq : ∀ n i j r, r ∈ Ioo 0 T → e' n i j r + | |
| 56 | - transportOperator period hq κ m (z r) (restrictOperator period (by norm_num : 1 ≤ 2) (e n i j r)) + | |
| 57 | - (G r).operator (p n i j r) = forcing n i j r + ν • jetLaplacian period (toJet period (e n i j r))) | |
| 58 | - (hAint : ∀ i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 59 | - viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) + | |
| 60 | - (ρ' r / ρ r) * (order i : ℝ) * weight (ρ r) (order i)) (Icc 0 T)) | |
| 61 | - (hFint : ∀ n i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 62 | - ((((K r).bound : ℝ) / c) * familyNorm (fun j => forcing n i j r))) (Icc 0 T)) | |
| 63 | - (a b d : C(Icc (0 : ℝ) T, ℝ)) | |
| 64 | - (ha : ∀ r ∈ Icc 0 T, viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) = extendPath T hT a r) | |
| 65 | - (hb : ∀ r ∈ Icc 0 T, ρ' r / ρ r = extendPath T hT b r) | |
| 66 | - (hd : ∀ r ∈ Icc 0 T, ((K r).bound : ℝ) / c = extendPath T hT d r) | |
| 67 | - (X Y Z : ℕ → C(Icc (0 : ℝ) T, ℝ)) | |
| 68 | - (hXdef : ∀ n r, r ∈ Icc 0 T → weightedMetricSum (ρ r) order (K r).operator | |
| 69 | - (fun i j => value period (e n i j r)) = extendPath T hT (X n) r) | |
| 70 | - (hYdef : ∀ n r, r ∈ Icc 0 T → weightedMetricLoss (ρ r) order (K r).operator | |
| 71 | - (fun i j => value period (e n i j r)) = extendPath T hT (Y n) r) | |
| 72 | - (hZdef : ∀ n r, r ∈ Icc 0 T → weightedForcingSum (ρ r) order | |
| 73 | - (fun i j => forcing n i j r) = extendPath T hT (Z n) r) | |
| 74 | - (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) | |
| 75 | - (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) | |
| 76 | - (hZ : Filter.Tendsto (fun n => pathLp T hT (Z n)) Filter.atTop (𝓝 f)) : | |
| 77 | - x ⟨T, hT, le_rfl⟩ - x ⟨0, le_rfl, hT⟩ ≤ | |
| 78 | - (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT x r) + | |
| 79 | - (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT y r) + | |
| 80 | - ∫ r, pathLp T hT d r * f r ∂timeMeasure T := by | |
| 81 | - apply integral_energy_limit T hT a b (pathLp T hT d) X Y (fun n => pathLp T hT (Z n)) x y f hX hY hZ | |
| 82 | - intro n | |
| 83 | - have h := weighted_sobolev_energy_integral period hq order ρ ρ' κ m K G | |
| 84 | - (e n) (e' n) (p n) (forcing n) z 0 T c ν K' B hT hc hν hρc hρpos hρd hKc (hec n) hKt (het n) | |
| 85 | - hsym hpos hKG (hediv n) (hp n) hz hzB (heq n) hAint (hFint n) | |
| 86 | - rw [hXdef n T ⟨hT, le_rfl⟩, hXdef n 0 ⟨le_rfl, hT⟩] at h | |
| 87 | - have hevalT : extendPath T hT (X n) T = X n ⟨T, hT, le_rfl⟩ := congrArg (X n) (projIcc_of_mem hT ⟨hT, le_rfl⟩) | |
| 88 | - have heval0 : extendPath T hT (X n) 0 = X n ⟨0, le_rfl, hT⟩ := congrArg (X n) (projIcc_of_mem hT ⟨le_rfl, hT⟩) | |
| 89 | - rw [hevalT, heval0] at h | |
| 90 | - have hi := integral_eq_three_paths T hT a b d (X n) (Y n) (Z n) | |
| 91 | - (fun r => viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) * | |
| 92 | - weightedMetricSum (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 93 | - (ρ' r / ρ r) * weightedMetricLoss (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 94 | - (((K r).bound : ℝ) / c) * weightedForcingSum (ρ r) order (fun i j => forcing n i j r)) | |
| 95 | - (fun r hr => by rw [ha r hr, hb r hr, hd r hr, hXdef n r hr, hYdef n r hr, hZdef n r hr]) | |
| 96 | - rw [hi] at h | |
| 97 | - rw [← inner_eq_integral, path_inner_eq_integral] | |
| 98 | - exact h | |
| 99 | - | |
| 100 | 19 | end EulerPDEEnergyLimit |
+0 −40 Euler/PacketActivationConstructed.lean View file
| @@ -27,44 +27,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 27 | 27 | (D : Data U) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 28 | 28 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 29 | 29 | |
| 30 | -def activatedData (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 31 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 32 | - Data (referencePlane (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 33 | - (cross (unit (m τ)) (unit (v τ))))) := | |
| 34 | - D.activation ⟨τ,hτ.le,hτT.le⟩ (cross (unit (m τ)) (unit (v τ))) | |
| 35 | - (activation_cross_ne_zero _ _ hm hv hmv) | |
| 36 | - | |
| 37 | -def activatedHistory (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 38 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 39 | - HistoryData ((activatedData D τ hτ hτT m v hm hv hmv).initial τ hτ hτT.le) := | |
| 40 | - B.reframe (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 41 | - (cross (unit (m τ)) (unit (v τ)))) | |
| 42 | - (activationDirection_unit _ (activation_cross_ne_zero _ _ hm hv hmv)) | |
| 43 | - | |
| 44 | -theorem constructed_initial_matching | |
| 45 | - (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) (hmv : ⟪m τ,v τ⟫_ℝ=0) | |
| 46 | - (hHs : ∀ t, (B.H.field t 0).IsSymmetric) | |
| 47 | - (h CM CH ζ a ε : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h*τ) | |
| 48 | - (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hζ : 0 ≤ ζ) (hε : 0 < ε) | |
| 49 | - (hM : ∀ t : Icc (0 : ℝ) τ, ‖(D.initial τ hτ hτT.le).M.field t 0‖ ≤ CM*h) | |
| 50 | - (hHnorm : ‖B.coefficients.labelHessian 0‖ ≤ CH*h^2) | |
| 51 | - (hζsmall : 16*(activationConstant CM CH+1)*ζ ≤ 1) | |
| 52 | - (hB : ‖D.M.field ⟨τ,hτ.le,hτT.le⟩ 0- | |
| 53 | - h • rankOne ℝ (unit (v τ)) (unit (m τ))‖ ≤ ζ*h) | |
| 54 | - (hBpp : ⟪D.M.field ⟨τ,hτ.le,hτT.le⟩ 0 (unit (m τ)),unit (m τ)⟫_ℝ < 0) : | |
| 55 | - let Da := activatedData D τ hτ hτT m v hm hv hmv | |
| 56 | - let Ba := activatedHistory D τ hτ hτT B m v hm hv hmv | |
| 57 | - let s₀ := activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 58 | - (cross (unit (m τ)) (unit (v τ))) | |
| 59 | - 0 < s₀ ∧ | |
| 60 | - scaledRay m v (fun s => Da.normal.field (Da.clamp s) 0) s₀ τ a ε 0 = ![0,0,1] ∧ | |
| 61 | - ∃ ξ : referencePlane Da.m₀, ∃ lam : ℝ, ξ ≠ 0 ∧ 0 ≤ lam ∧ | |
| 62 | - lam ≤ 8*(activationConstant CM CH+1)/ε ∧ | |
| 63 | - ‖ξ‖ ≤ (8*(activationConstant CM CH+1)*D.inverseBound)/h ∧ | |
| 64 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 0 = -lam ∧ | |
| 65 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 1 = 1 := by | |
| 66 | - exact exists_activated_primary (D := activatedData D τ hτ hτT m v hm hv hmv) | |
| 67 | - τ hτ hτT (activatedHistory D τ hτ hτT B m v hm hv hmv) | |
| 68 | - m v hm hv hmv rfl hHs h CM CH ζ a ε hh hLayer hCM hCH hζ hε hM hHnorm hζsmall hB hBpp | |
| 69 | - | |
| 70 | 30 | end EulerPacketActivationHistory |
+0 −13 Euler/PacketActivationSourceData.lean View file
| @@ -40,19 +40,6 @@ def HistoryData.reframe {D : Data U} (B : HistoryData D) (m : Space) (hm : ‖m | ||
| 40 | 40 | potential_bound := B.potential_bound |
| 41 | 41 | small := B.small |
| 42 | 42 | |
| 43 | -def Data.activation (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 44 | - Data (referencePlane (activationDirection (D.deformationEquiv t₀ 0) n)) := | |
| 45 | - D.reframe (activationDirection (D.deformationEquiv t₀ 0) n) | |
| 46 | - (activationDirection_unit _ hn) | |
| 47 | - | |
| 48 | -theorem Data.activation_normal (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 49 | - (D.activation t₀ n hn).normal.field t₀ 0 = activationRayScale (D.deformationEquiv t₀ 0) n • n := by | |
| 50 | - exact activationDirection_transport (D.deformationEquiv t₀ 0) n | |
| 51 | - | |
| 52 | -def HistoryData.activation {D : Data U} (B : HistoryData D) | |
| 53 | - (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : HistoryData (D.activation t₀ n hn) := | |
| 54 | - B.reframe (activationDirection (D.deformationEquiv t₀ 0) n) (activationDirection_unit _ hn) | |
| 55 | - | |
| 56 | 43 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 57 | 44 | (hn : ‖n‖=1) : |
| 58 | 45 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
+0 −18 Euler/PacketAngularPotential.lean View file
| @@ -18,13 +18,6 @@ theorem potential_hasDerivAt (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 18 | 18 | HasDerivAt (potential P m A) (potentialMultiplier m (A θ)) θ := |
| 19 | 19 | primitive_hasDerivAt P _ ((potentialMultiplier m).continuous.comp hA) θ |
| 20 | 20 | |
| 21 | -/-- The actual angular derivative recovers A after crossing with m. -/ | |
| 22 | -theorem cross_deriv_potential (P : ℝ) (m : Space) (hm : m ≠ 0) (A : ℝ → Space) | |
| 23 | - (hA : Continuous A) (htan : ∀ θ, ⟪m,A θ⟫_ℝ=0) (θ : ℝ) : | |
| 24 | - cross m (deriv (potential P m A) θ)=A θ := by | |
| 25 | - rw [(potential_hasDerivAt P m A hA θ).deriv] | |
| 26 | - exact cross_potentialMultiplier m (A θ) hm (htan θ) | |
| 27 | - | |
| 28 | 21 | theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) |
| 29 | 22 | (hA : Continuous A) (hper : Function.Periodic A P) |
| 30 | 23 | (hmean : ∫ θ in 0..P, A θ=0) : Function.Periodic (potential P m A) P := by |
| @@ -35,22 +28,11 @@ theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 35 | 28 | rw [(potentialMultiplier m).intervalIntegral_comp_comm (hA.intervalIntegrable 0 P), |
| 36 | 29 | hmean, map_zero] |
| 37 | 30 | |
| 38 | -theorem potential_mean_zero (P : ℝ) (hP : P ≠ 0) (m : Space) (A : ℝ → Space) | |
| 39 | - (hA : Continuous A) : (∫ θ in 0..P, potential P m A θ)=0 := | |
| 40 | - primitive_mean_zero P hP _ ((potentialMultiplier m).continuous.comp hA) | |
| 41 | - | |
| 42 | 31 | theorem potential_zero (P : ℝ) (m : Space) : |
| 43 | 32 | potential P m (fun _ => 0)=fun _ => 0 := by |
| 44 | 33 | funext θ |
| 45 | 34 | simp [potential, primitive, rawPrimitive] |
| 46 | 35 | |
| 47 | -/-- The angular construction creates no values at labels where the whole input vanishes. -/ | |
| 48 | -theorem potential_vanishes (P : ℝ) (m : Space) (A : ℝ → Space) (hA : ∀ θ, A θ=0) : | |
| 49 | - ∀ θ, potential P m A θ=0 := by | |
| 50 | - have h : A=fun _ => 0 := funext hA | |
| 51 | - rw [h, potential_zero] | |
| 52 | - exact fun _ => rfl | |
| 53 | - | |
| 54 | 36 | theorem potential_bound (P M : ℝ) (hP : 0 < P) (hM : 0 ≤ M) (m : Space) |
| 55 | 37 | (A : ℝ → Space) (hA : ∀ θ ∈ Icc 0 P, ‖A θ‖ ≤ M) (θ : ℝ) (hθ : θ ∈ Icc 0 P) : |
| 56 | 38 | ‖potential P m A θ‖ ≤ 2*P*(‖potentialMultiplier m‖*M) := by |
+0 −17 Euler/PacketApproximationBounds.lean View file
| @@ -35,21 +35,4 @@ theorem normalizedVelocity_bound (k : ℝ) (hk : 4 ≤ k) | ||
| 35 | 35 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) |
| 36 | 36 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) |
| 37 | 37 | |
| 38 | -/-- This is the inverse-frame image of W_t. The derivative of the inverse | |
| 39 | -frame is a separate coefficient term in the time derivative of z_a. -/ | |
| 40 | -theorem normalizedVelocityTimeTerm_bound (k : ℝ) (hk : 4 ≤ k) | |
| 41 | - (hbase : tailBase R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : | |
| 42 | - ((C.inverse.multiply (velocityDerivativeField hT G k⁻¹)).smul k).WordBound 6 (4*R) | |
| 43 | - (BC.multiplierCost*(fixedVelocityGradeCost R S.H0 1+fixedVelocityGradeCost R S.H0 2+1)) 0 := by | |
| 44 | - have hk0 : 0 ≤ k := by linarith | |
| 45 | - have hsmall : k⁻¹*tailBase R S.H0 BC.termCost N ≤ 1/2 := by | |
| 46 | - simpa only [div_eq_mul_inv,mul_comm] using | |
| 47 | - EulerPacketTailBound.grade_ratio_le_half k (tailBase R S.H0 BC.termCost N) hk hbase | |
| 48 | - have h := velocityDerivative_bound hT G hG hR ha hN BC.termCost BC.one_le_termCost | |
| 49 | - k⁻¹ (inv_nonneg.mpr hk0) hsmall | |
| 50 | - exact BC.normalized_approximation_bound (velocityDerivativeField hT G k⁻¹) h (by linarith) | |
| 51 | - (hRc.trans (by linarith)) hk (tailBase_nonneg R S.H0 BC.termCost BC.termCost_nonneg N) hbase | |
| 52 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) | |
| 53 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) | |
| 54 | - | |
| 55 | 38 | end EulerPacketCylinderField.ProfileRegularity |
+0 −8 Euler/PacketBudgetTimeChange.lean View file
| @@ -31,14 +31,6 @@ theorem WordBound.changeTime (hG : G.WordBound q R A d) (h : T = T') : | ||
| 31 | 31 | subst T' |
| 32 | 32 | exact hG |
| 33 | 33 | |
| 34 | -theorem WordBound.normalized_profile_eq {hT : 0 ≤ T} | |
| 35 | - {g : C(Icc (0 : ℝ) T,ℝ)} {hg : ∀ t, 0 < g t} | |
| 36 | - (hG : (G.normalized hT g hg).WordBound q R A d) | |
| 37 | - (g' : C(Icc (0 : ℝ) T,ℝ)) (hg' : ∀ t, 0 < g' t) (he : g = g') : | |
| 38 | - (G.normalized hT g' hg').WordBound q R A d := by | |
| 39 | - subst g' | |
| 40 | - exact hG | |
| 41 | - | |
| 42 | 34 | theorem WordBound.normalized_changeTime (hT : 0 ≤ T) |
| 43 | 35 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 36 | (hG : (G.normalized hT g hg).WordBound q R A d) |
+0 −18 Euler/PacketChildFieldMatch.lean View file
| @@ -187,22 +187,4 @@ variable (A : Parent) (H : LowBounds A) | ||
| 187 | 187 | (A.sourceAgreement m hm J support hSupport H) N hN k hk)) |
| 188 | 188 | (I : ParticleInverse A) |
| 189 | 189 | |
| 190 | -theorem normalizedPacketVelocity_initialized (t : Icc (0 : ℝ) A.T) : | |
| 191 | - A.normalizedPacketVelocity m hm J support hSupport Q | |
| 192 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 193 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 194 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 195 | - initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 196 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 197 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 198 | - | |
| 199 | -theorem normalizedPacketPressure_initialized (t : Icc (0 : ℝ) A.T) : | |
| 200 | - A.normalizedPacketPressure m hm J support hSupport Q | |
| 201 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 202 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 203 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 204 | - initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 205 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 206 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 207 | - | |
| 208 | 190 | end EulerParentPacketFrames.Parent |
+0 −19 Euler/PacketChildLowBounds.lean View file
| @@ -110,25 +110,6 @@ def SourceErrors (ev ep : ℝ) : Prop := | ||
| 110 | 110 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 111 | 111 | (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x))‖ ≤ ep |
| 112 | 112 | |
| 113 | -/-- The literal strict errors returned by the global same-Q packet | |
| 114 | -theorem imply the error record without any additional analytic bound. -/ | |
| 115 | -theorem sourceErrors_of_global (ev ep : ℝ) | |
| 116 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 117 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 118 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 119 | - rankOne ℝ (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x)) | |
| 120 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 121 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 122 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT H G.terminal hs (G.primaryAmplitude hball) t | |
| 123 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 124 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 125 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 126 | - E.SourceErrors m hm J support hSupport B residual k G hball hs ev ep := by | |
| 127 | - intro t x | |
| 128 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 129 | - erw [pressureTerm_eq_coefficient] | |
| 130 | - exact (herr t x).2.le | |
| 131 | - | |
| 132 | 113 | include hk hδ hδ1 in |
| 133 | 114 | theorem exactPacket_good_low_bounds |
| 134 | 115 | (ev ep CM CH Kupper : ℝ) |
+0 −6 Euler/PacketCoarseMajorant.lean View file
| @@ -14,12 +14,6 @@ theorem gradeBase_nonneg (R : ℝ) (N : ℕ) : 0 ≤ gradeBase R N := by | ||
| 14 | 14 | unfold gradeBase |
| 15 | 15 | positivity |
| 16 | 16 | |
| 17 | -theorem gradeBase_ge_one (R : ℝ) (hR : 1 ≤ R) (N : ℕ) (hN : 1 ≤ N) : | |
| 18 | - 1 ≤ gradeBase R N := by | |
| 19 | - have hn : (1 : ℝ) ≤ N := by exact_mod_cast hN | |
| 20 | - have hbase : (1 : ℝ) ≤ 4*R*(550*(N : ℝ))^2 := by nlinarith | |
| 21 | - exact one_le_pow₀ hbase | |
| 22 | - | |
| 23 | 17 | theorem factorial_le_grade_power (N p d : ℕ) (hN : 1 ≤ N) (hp : p ≤ 2*N+2) |
| 24 | 18 | (hd : d ≤ 110*(p+1)) : (d.factorial : ℝ) ≤ (550*(N : ℝ))^d := by |
| 25 | 19 | have hdN : d ≤ 550*N := by omega |
+0 −5 Euler/PacketCoefficientTower.lean View file
| @@ -24,11 +24,6 @@ def toCoefficientTower (A : MatrixCoefficient T raw) : | ||
| 24 | 24 | (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 25 | 25 | ((A.toCoefficientTower P).coefficient t).coefficient x = A.path t x.1 := rfl |
| 26 | 26 | |
| 27 | -theorem toCoefficientTower_raw (A : MatrixCoefficient T raw) | |
| 28 | - (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 29 | - ((A.toCoefficientTower P).coefficient t).coefficient (x,(θ : AddCircle P)) = | |
| 30 | - raw (t,(x,θ)) := (A.raw_eq t x θ).symm | |
| 31 | - | |
| 32 | 27 | theorem toCoefficientTower_operator (A : MatrixCoefficient T raw) |
| 33 | 28 | (t : Icc (0 : ℝ) T) : |
| 34 | 29 | ((A.toCoefficientTower P).coefficient t).operator = fullOperatorMap P (A.path t) := |
+0 −5 Euler/PacketCoefficientTowerBounds.lean View file
| @@ -18,11 +18,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {raw : EulerPacketPointJets.Domain | ||
| 18 | 18 | |
| 19 | 19 | include hRc hC hb |
| 20 | 20 | |
| 21 | -theorem toCoefficientTower_block_bound (s q n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 22 | - EulerH6Pressure.coefficientBlock P ((A.toCoefficientTower P).jet s t) q n ≤ | |
| 23 | - sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 24 | - coefficientJet_block_bound P A.path A.orbit s q Rc C hRc hC hb n t | |
| 25 | - | |
| 26 | 21 | theorem toCoefficientTower_base_bound (s q r : ℕ) (hr : r ≤ q) (t : Icc (0 : ℝ) T) : |
| 27 | 22 | boundLevel P ((A.toCoefficientTower P).jet s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := |
| 28 | 23 | coefficientJet_base_bound P A.path A.orbit Rc C hRc hC hb s q r hr t |
+0 −8 Euler/PacketCofactorGevrey.lean View file
| @@ -46,14 +46,6 @@ theorem adjugate_bound (F : P → EndSpace) (hF : ContDiff ℝ ∞ F) | ||
| 46 | 46 | (mul_nonneg (by positivity) (majorant_nonneg R hR 0 n)) |
| 47 | 47 | _ = (9*C^2)*majorant R 0 n := by ring |
| 48 | 48 | |
| 49 | -theorem inverse_contDiff (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) | |
| 50 | - (hdet : ∀ x, (operatorMatrix (F x)).det = 1) | |
| 51 | - (hI : ∀ x v, I x (F x v) = v) : ContDiff ℝ ∞ I := by | |
| 52 | - have he : I = fun x => adjugate (F x) := | |
| 53 | - funext (fun x => inverse_eq_adjugate (F x) (I x) (hdet x) (hI x)) | |
| 54 | - rw [he] | |
| 55 | - exact adjugate_contDiff F hF | |
| 56 | - | |
| 57 | 49 | theorem inverse_bound (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) |
| 58 | 50 | (hdet : ∀ x, (operatorMatrix (F x)).det = 1) |
| 59 | 51 | (hI : ∀ x v, I x (F x v) = v) |
+0 −14 Euler/PacketCommonRadius.lean View file
| @@ -87,10 +87,6 @@ namespace EulerMeanPacketProvider.Budget.GradeGuards | ||
| 87 | 87 | |
| 88 | 88 | variable {D : Data} {R : ℝ} {M : Budget D 6 R} |
| 89 | 89 | |
| 90 | -theorem enlargeRadius (W : GradeGuards M) (R' : ℝ) (h : R ≤ R') : | |
| 91 | - GradeGuards (M.enlargeRadius R' h) := | |
| 92 | - ⟨W.velocity.trans h,W.derivative.trans h,W.pressureGradient.trans h⟩ | |
| 93 | - | |
| 94 | 90 | end EulerMeanPacketProvider.Budget.GradeGuards |
| 95 | 91 | |
| 96 | 92 | namespace EulerTransversePacketJoin.Budget.GradeGuards |
| @@ -103,22 +99,12 @@ variable {P : ℝ} | ||
| 103 | 99 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 104 | 100 | {L : Budget D τ hτ hτT B (Fin 4) 6} {N : NormalBudget D 6 L.R} |
| 105 | 101 | |
| 106 | -theorem enlargeRadius (W : GradeGuards (P := P) L N) (R' : ℝ) (h : L.R ≤ R') : | |
| 107 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) := | |
| 108 | - ⟨W.common.trans h,W.corrector.trans h,W.correctorTime.trans h,W.pressureGradient.trans h⟩ | |
| 109 | - | |
| 110 | 102 | end EulerTransversePacketJoin.Budget.GradeGuards |
| 111 | 103 | |
| 112 | 104 | namespace EulerPacketCylinderField.Field |
| 113 | 105 | |
| 114 | 106 | open EulerPacketProfileRecursion EulerGevrey EulerOperatorGevreyCalculus |
| 115 | 107 | |
| 116 | -theorem WordBound.mono_radius {P T : ℝ} [Fact (0 < P)] | |
| 117 | - {raw : VectorField} {G : Field P T raw} {q d : ℕ} {R R' A : ℝ} | |
| 118 | - (hG : G.WordBound q R A d) (hR : 0 ≤ R) (hA : 0 ≤ A) (h : R ≤ R') : | |
| 119 | - G.WordBound q R' A d := fun n => (hG n).trans | |
| 120 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono R R' hR h d n) hA) | |
| 121 | - | |
| 122 | 108 | end EulerPacketCylinderField.Field |
| 123 | 109 | |
| 124 | 110 | namespace EulerPacketCommonRadius |
+0 −19 Euler/PacketCoordinateJets.lean View file
| @@ -60,25 +60,6 @@ theorem normal_coordinate (k : ℝ) (W : VectorField) (z : Domain) : | ||
| 60 | 60 | k*⟪(rawInverse D z).adjoint D.m₀,W z⟫_ℝ |
| 61 | 61 | rw [inner_smul_right,adjoint_inner_left] |
| 62 | 62 | |
| 63 | -theorem coordinate_hasDerivWithinAt (k : ℝ) (W Wt : VectorField) | |
| 64 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 65 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 66 | - (Icc (0 : ℝ) D.T) t) : | |
| 67 | - HasDerivWithinAt (fun r => coordinate D k W (r,(x,θ))) | |
| 68 | - (coordinateTime D k W Wt (t,(x,θ))) (Icc (0 : ℝ) D.T) t := by | |
| 69 | - have hi := D.inverse_hasDerivWithinAt t t.property x | |
| 70 | - have h := (hi.clm_apply hW).const_smul k | |
| 71 | - convert! h using 1 | |
| 72 | - | |
| 73 | -theorem coordinate_derivWithin (k : ℝ) (W Wt : VectorField) | |
| 74 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 75 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 76 | - (Icc (0 : ℝ) D.T) t) : | |
| 77 | - derivWithin (fun r => coordinate D k W (r,(x,θ))) (Icc (0 : ℝ) D.T) t = | |
| 78 | - coordinateTime D k W Wt (t,(x,θ)) := | |
| 79 | - (coordinate_hasDerivWithinAt D k W Wt t x θ hW).derivWithin | |
| 80 | - ((uniqueDiffOn_Icc D.T_pos) _ t.property) | |
| 81 | - | |
| 82 | 63 | section Fields |
| 83 | 64 | |
| 84 | 65 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCoordinateResidual.lean View file
| @@ -31,9 +31,6 @@ def algebraic (κ : ℝ) (Z : VectorField) (z : Domain) : Space := | ||
| 31 | 31 | def coordinatePressure (k : ℝ) (p : ScalarField) (z : Domain) : Space := |
| 32 | 32 | k • pressureGradient p z + k^2 • ((pressureJet p z).2 angleDirection • D.m₀) |
| 33 | 33 | |
| 34 | -def liftedPressure (κ : ℝ) (p : ScalarField) (z : Domain) : Space := | |
| 35 | - κ • pressureGradient p z + (pressureJet p z).2 angleDirection • D.m₀ | |
| 36 | - | |
| 37 | 34 | theorem transport_formula (κ : ℝ) (Z : VectorField) (z : Domain) : |
| 38 | 35 | transport D κ Z z = |
| 39 | 36 | κ • fderiv ℝ (fun y => Z (z.1,y)) z.2 (Z z,0) + |
| @@ -74,20 +71,6 @@ theorem normalized_pressure (k : ℝ) (p : ScalarField) (z : Domain) : | ||
| 74 | 71 | simp only [map_add,map_smul,smul_add,smul_smul,pow_two] |
| 75 | 72 | module |
| 76 | 73 | |
| 77 | -theorem coordinatePressure_eq_lifted (k : ℝ) (hk : k ≠ 0) (p : ScalarField) | |
| 78 | - (z : Domain) (hp : DifferentiableAt ℝ (fun y => p (z.1,y)) z.2) : | |
| 79 | - coordinatePressure D k p z = liftedPressure D k⁻¹ (k^2 • p) z := by | |
| 80 | - have hd : fderiv ℝ (fun y => (k^2 • p) (z.1,y)) z.2 = | |
| 81 | - k^2 • fderiv ℝ (fun y => p (z.1,y)) z.2 := by | |
| 82 | - convert! (hp.hasFDerivAt.const_smul (k^2)).fderiv using 1 | |
| 83 | - unfold liftedPressure coordinatePressure | |
| 84 | - rw [pressureGradient_eq_spatialDual,pressureGradient_eq_spatialDual, | |
| 85 | - pressureJet_angle,pressureJet_angle,hd] | |
| 86 | - simp only [smul_comp,map_smul,smul_apply,smul_smul] | |
| 87 | - have he : k⁻¹*k^2 = k := by field_simp | |
| 88 | - rw [he] | |
| 89 | - simp only [smul_eq_mul] | |
| 90 | - | |
| 91 | 74 | section Fields |
| 92 | 75 | |
| 93 | 76 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCorrectionCoefficientParity.lean View file
| @@ -59,21 +59,4 @@ theorem quadraticTower_odd (κ : ℝ) (t : Icc (0 : ℝ) D.T) (i : Fin 3) (x : L | ||
| 59 | 59 | fderiv_neg_of_even (D.F.field t : Space → Space →L[ℝ] Space) (D.F.smooth t) (hF t), |
| 60 | 60 | neg_apply,comp_neg,smul_neg] |
| 61 | 61 | |
| 62 | -include hF hM in | |
| 63 | -theorem correctionParityData (κ : ℝ) (hκ : |κ| ≤ 1) {z r : VectorField} | |
| 64 | - (Z : Field P D.T z) (G : Field P D.T r) | |
| 65 | - (hZ : JointOdd D.T z) (hG : JointOdd D.T r) : | |
| 66 | - EulerCorrectionAssembly.ParityData P (correctionDataOfFields D P κ hκ Z G) where | |
| 67 | - metric := metricTower_even D hF P | |
| 68 | - linear := linearTower_even D hF hM P | |
| 69 | - quadratic := quadraticTower_odd D hF P κ | |
| 70 | - approximation t := by | |
| 71 | - have h := Z.reflection_neg_of_raw_odd t (hZ t) | |
| 72 | - change -EulerCylinderFieldReflection.reflection P (Z.path t) = Z.path t | |
| 73 | - rw [h,neg_neg] | |
| 74 | - residual t := by | |
| 75 | - have h := G.reflection_neg_of_raw_odd t (hG t) | |
| 76 | - change -EulerCylinderFieldReflection.reflection P (G.path t) = G.path t | |
| 77 | - rw [h,neg_neg] | |
| 78 | - | |
| 79 | 62 | end EulerPacketCorrectionCoefficients |
+0 −23 Euler/PacketCorrectionMetric.lean View file
| @@ -35,12 +35,6 @@ theorem frame_adjoint_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 35 | 35 | intro w |
| 36 | 36 | rw [adjoint_inner_left,adjoint_inner_left,D.inverse_left] |
| 37 | 37 | |
| 38 | -theorem inverse_adjoint_frame (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 39 | - (D.FInv.field t x).adjoint ((D.F.field t x).adjoint v) = v := by | |
| 40 | - apply ext_inner_right ℝ | |
| 41 | - intro w | |
| 42 | - rw [adjoint_inner_left,adjoint_inner_left,D.inverse_right] | |
| 43 | - | |
| 44 | 38 | theorem metric_inner (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 45 | 39 | ⟪(metricCoefficient D).path t x v,w⟫_ℝ = |
| 46 | 40 | ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := by |
| @@ -72,23 +66,6 @@ theorem inverseMetric_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 72 | 66 | (D.F.field t x (D.FInv.field t x ((D.FInv.field t x).adjoint v))) = v |
| 73 | 67 | rw [D.inverse_right,frame_adjoint_inverse] |
| 74 | 68 | |
| 75 | -theorem metric_inverseMetric (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 76 | - (metricCoefficient D).path t x ((inverseMetricCoefficient D).path t x v) = v := by | |
| 77 | - change D.FInv.field t x | |
| 78 | - ((D.FInv.field t x).adjoint ((D.F.field t x).adjoint (D.F.field t x v))) = v | |
| 79 | - rw [inverse_adjoint_frame,D.inverse_left] | |
| 80 | - | |
| 81 | -theorem metric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : | |
| 82 | - ⟪(metricCoefficient D).path t x v,w⟫_ℝ = | |
| 83 | - ⟪v,(metricCoefficient D).path t x w⟫_ℝ := by | |
| 84 | - calc | |
| 85 | - _ = ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := | |
| 86 | - metric_inner D t x v w | |
| 87 | - _ = ⟪(D.FInv.field t x).adjoint w,(D.FInv.field t x).adjoint v⟫_ℝ := | |
| 88 | - real_inner_comm _ _ | |
| 89 | - _ = ⟪(metricCoefficient D).path t x w,v⟫_ℝ := (metric_inner D t x w v).symm | |
| 90 | - _ = _ := real_inner_comm _ _ | |
| 91 | - | |
| 92 | 69 | theorem inverseMetric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 93 | 70 | ⟪(inverseMetricCoefficient D).path t x v,w⟫_ℝ = |
| 94 | 71 | ⟪v,(inverseMetricCoefficient D).path t x w⟫_ℝ := by |
+0 −6 Euler/PacketCorrectionMetricBounds.lean View file
| @@ -62,10 +62,4 @@ theorem inverseMetricTimeBound_le_source : inverseMetricTimeBound D ≤ 2*C0*C1 | ||
| 62 | 62 | exact (inverseMetricTimeBound_le D).trans (mul_le_mul |
| 63 | 63 | (mul_le_mul_of_nonneg_left h0 (by norm_num)) h1 (norm_nonneg _) (by positivity)) |
| 64 | 64 | |
| 65 | -include hR hC0 hF in | |
| 66 | -theorem sourceMetricBudget_first_le_source (P : ℝ) [Fact (0 < P)] | |
| 67 | - (κ : ℝ) (hκ : |κ| ≤ 1) (Z G : FieldTower P D.T) (q : ℕ) : | |
| 68 | - (sourceMetricBudget D P κ hκ Z G q).first ≤ 3*C0*C0*R := | |
| 69 | - inverseMetricFirstBound_le_source D R C0 hR hC0 hF | |
| 70 | - | |
| 71 | 65 | end EulerPacketCorrectionCoefficients |
+0 −10 Euler/PacketCorrectionMetricBudget.lean View file
| @@ -130,14 +130,4 @@ def sourceMetricBudgetOfFields (κ : ℝ) (hκ : |κ| ≤ 1) | ||
| 130 | 130 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 131 | 131 | (sourceMetricBudget D P κ hκ Z G q).c = D.inverseBound⁻¹ := rfl |
| 132 | 132 | |
| 133 | -theorem sourceMetricBudget_bound_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 134 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 135 | - (sourceMetricBudget D P κ hκ Z G q).bound ≤ ‖D.F.field‖^2 := | |
| 136 | - inverseMetricBound_le D | |
| 137 | - | |
| 138 | -theorem sourceMetricBudget_time_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 139 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 140 | - (sourceMetricBudget D P κ hκ Z G q).time ≤ 2*‖D.F.field‖*‖D.F₁.field‖ := | |
| 141 | - inverseMetricTimeBound_le D | |
| 142 | - | |
| 143 | 133 | end EulerPacketCorrectionCoefficients |
+0 −9 Euler/PacketCorrectionOutputPolynomial.lean View file
| @@ -38,15 +38,6 @@ theorem outputPolynomial_eval (X : ℝ) : (outputPolynomial P).eval X=outputEnve | ||
| 38 | 38 | simp only [Polynomial.eval_add,Polynomial.eval_mul,Polynomial.eval_one,Polynomial.eval_ofNat, |
| 39 | 39 | Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X,velocityPolynomial_eval,div_eq_mul_inv,one_mul] |
| 40 | 40 | |
| 41 | -def outputConstant : ℝ := coefficientCost (outputPolynomial P) | |
| 42 | -def outputPower : ℕ := (outputPolynomial P).natDegree | |
| 43 | - | |
| 44 | -theorem outputConstant_pos : 0 < outputConstant P := coefficientCost_pos _ | |
| 45 | - | |
| 46 | -theorem outputEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 47 | - outputEnvelope P X ≤ outputConstant P*X^outputPower P := by | |
| 48 | - rw [← outputPolynomial_eval] | |
| 49 | - exact (le_abs_self _).trans (eval_bound (outputPolynomial P) X hX) | |
| 50 | 41 | |
| 51 | 42 | theorem output_components (X : ℝ) (hX : 0 ≤ X) : |
| 52 | 43 | 1 ≤ outputEnvelope P X ∧ baseEnvelope X ≤ outputEnvelope P X ∧ |
+0 −9 Euler/PacketCorrectionPrimitivePolynomial.lean View file
| @@ -85,15 +85,6 @@ theorem primitivePolynomial_eval (P : ℝ) [Fact (0 < P)] (X : ℝ) : | ||
| 85 | 85 | metricPolynomial_eval,linearPolynomial_eval,quadraticPolynomial_eval,radiusPolynomial_eval, |
| 86 | 86 | pressurePolynomialEnvelope_eval,multiplierPolynomial_eval,termPolynomial_eval] |
| 87 | 87 | |
| 88 | -def primitiveConstant (P : ℝ) [Fact (0 < P)] : ℝ := coefficientCost (primitivePolynomial P) | |
| 89 | -def primitivePower (P : ℝ) [Fact (0 < P)] : ℕ := (primitivePolynomial P).natDegree | |
| 90 | - | |
| 91 | -theorem primitiveConstant_pos (P : ℝ) [Fact (0 < P)] : 0 < primitiveConstant P := coefficientCost_pos _ | |
| 92 | - | |
| 93 | -theorem primitiveEnvelope_power (P : ℝ) [Fact (0 < P)] (X : ℝ) (hX : 1 ≤ X) : | |
| 94 | - primitiveEnvelope P X ≤ primitiveConstant P*X^(primitivePower P) := by | |
| 95 | - rw [← primitivePolynomial_eval] | |
| 96 | - exact (le_abs_self _).trans (eval_bound (primitivePolynomial P) X hX) | |
| 97 | 88 | |
| 98 | 89 | theorem primitive_components (P X : ℝ) [Fact (0 < P)] (hX : 0 ≤ X) : |
| 99 | 90 | 1 ≤ primitiveEnvelope P X ∧ 1+X ≤ primitiveEnvelope P X ∧ |
+0 −3 Euler/PacketCorrectionScalar.lean View file
| @@ -21,9 +21,6 @@ theorem delta_pos (X : ℝ) : 0 < delta X := Real.exp_pos _ | ||
| 21 | 21 | theorem delta_le_one (X : ℝ) : delta X ≤ 1 := |
| 22 | 22 | Real.exp_le_one_iff.mpr (neg_nonpos.mpr (Real.sqrt_nonneg X)) |
| 23 | 23 | |
| 24 | -theorem residual_pos (k X : ℝ) : 0 < residual k X := | |
| 25 | - mul_pos (by norm_num) (Real.exp_pos _) | |
| 26 | - | |
| 27 | 24 | /-- One polynomial inverse radius meets both packet-series and pressure- |
| 28 | 25 | inverse absorption requirements. -/ |
| 29 | 26 | theorem initialRadius_bounds (R M Rc : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) (hRc : 0 ≤ Rc) : |
+0 −3 Euler/PacketCrossProduct.lean View file
| @@ -50,9 +50,6 @@ theorem cross_negative_normalized (m a : Space) (hm : m ≠ 0) | ||
| 50 | 50 | def potentialMultiplier (m : Space) : Space →L[ℝ] Space := |
| 51 | 51 | (-((‖m‖^2)⁻¹)) • crossLeft m |
| 52 | 52 | |
| 53 | -theorem potentialMultiplier_apply (m a : Space) : | |
| 54 | - potentialMultiplier m a=(-((‖m‖^2)⁻¹)) • cross m a := rfl | |
| 55 | - | |
| 56 | 53 | theorem cross_potentialMultiplier (m a : Space) (hm : m ≠ 0) |
| 57 | 54 | (ha : ⟪m,a⟫_ℝ=0) : cross m (potentialMultiplier m a)=a := |
| 58 | 55 | cross_negative_normalized m a hm ha |
+0 −6 Euler/PacketCylinderAngularRegularity.lean View file
| @@ -41,12 +41,6 @@ theorem raw_angle_derivative_continuous (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 41 | 41 | (((G.raw_smooth t).fderiv_right (m := ∞) (by simp)).continuous.comp |
| 42 | 42 | (continuous_const.prodMk continuous_id)).clm_apply continuous_const |
| 43 | 43 | |
| 44 | -include G in | |
| 45 | -theorem raw_angle_derivative_integral (t : Icc (0 : ℝ) T) (x : Space) : | |
| 46 | - (∫ θ in (0 : ℝ)..P, fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) = 0 := | |
| 47 | - integral_derivative_eq_zero P _ _ (G.raw_angle_hasDerivAt t x) | |
| 48 | - (G.raw_angle_derivative_continuous t x) (G.raw_periodic t x) | |
| 49 | - | |
| 50 | 44 | include G in |
| 51 | 45 | theorem subtract_mean_integral (t : Icc (0 : ℝ) T) (x : Space) : |
| 52 | 46 | (∫ θ in (0 : ℝ)..P, (raw-EulerPacketProfileRecursion.angleMean P raw) (t,(x,θ))) = 0 := by |
+0 −10 Euler/PacketCylinderField.lean View file
| @@ -52,16 +52,6 @@ theorem raw_fderiv (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | ||
| 52 | 52 | funext (fun y => G.raw_eq t y.1 y.2) |
| 53 | 53 | rw [he,coverField_fderiv] |
| 54 | 54 | |
| 55 | -theorem slicedJet_spatial (s : Set ℝ) (t : Icc (0 : ℝ) T) (x v : Space) (θ : ℝ) : | |
| 56 | - (slicedJet s raw (t,(x,θ))).2 (spatialInjection v) = | |
| 57 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (v,0) := by | |
| 58 | - rw [slicedJet_space,G.raw_fderiv] | |
| 59 | - | |
| 60 | -theorem slicedJet_angular (s : Set ℝ) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 61 | - (slicedJet s raw (t,(x,θ))).2 angleDirection = | |
| 62 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (0,1) := by | |
| 63 | - rw [slicedJet_angle,G.raw_fderiv] | |
| 64 | - | |
| 65 | 55 | theorem raw_hasDerivWithinAt (hT : 0 ≤ T) (H : Field P T raw_t) |
| 66 | 56 | (h : TimeDerivative hT G H) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 67 | 57 | HasDerivWithinAt (fun r => raw (r,(x,θ))) (raw_t (t,(x,θ))) (Icc (0 : ℝ) T) t := by |
+0 −5 Euler/PacketCylinderFieldBounds.lean View file
| @@ -117,11 +117,6 @@ theorem WordBound.scalarProduct (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R | ||
| 117 | 117 | (G.scalarProduct H L hL).WordBound 6 R (3*productBlockConstant P*A*B) (d+e) := |
| 118 | 118 | scalarProductPath_majorant P L hL G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 119 | 119 | |
| 120 | -theorem WordBound.bilinear (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) | |
| 121 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : | |
| 122 | - (G.bilinear H L).WordBound 6 R (9*productBlockConstant P*‖L‖*A*B) (d+e) := | |
| 123 | - bilinearProductPath_majorant P L G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH | |
| 124 | - | |
| 125 | 120 | theorem WordBound.spatialTransport (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 126 | 121 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 127 | 122 | (G.spatialTransport H).WordBound 6 R (9*productBlockConstant P*A*B) (d+e+1) := |
+0 −21 Euler/PacketCylinderFieldProducts.lean View file
| @@ -43,27 +43,6 @@ def scalarProduct (G : Field P T raw) (H : Field P T raw') | ||
| 43 | 43 | rw [G.raw_eq,H.raw_eq] |
| 44 | 44 | exact (pointField_scalarProductPath P L hL G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 45 | 45 | |
| 46 | -def bilinear (G : Field P T raw) (H : Field P T raw') | |
| 47 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : Field P T (fun z => B (raw z) (raw' z)) where | |
| 48 | - path := bilinearProductPath P B G.path H.path G.orbit H.orbit | |
| 49 | - orbit := bilinearProductPath_orbit P B G.path H.path G.orbit H.orbit | |
| 50 | - raw_eq t x θ := by | |
| 51 | - rw [G.raw_eq,H.raw_eq] | |
| 52 | - exact (pointField_bilinearProductPath P B G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 53 | - | |
| 54 | -/-- Spatial advection is the literal ordinary derivative of the second raw field. -/ | |
| 55 | -def advection (G : Field P T raw) (H : Field P T raw') : | |
| 56 | - Field P T (fun z => fderiv ℝ (fun y : Space => raw' (z.1,(y,z.2.2))) z.2.1 (raw z)) where | |
| 57 | - path := advectionPath P G.path H.path G.orbit H.orbit | |
| 58 | - orbit := advectionPath_orbit P G.path H.path G.orbit H.orbit | |
| 59 | - raw_eq t x θ := by | |
| 60 | - have he : (fun y : Space => raw' (t,(y,θ))) = | |
| 61 | - fun y : Space => pointField P H.path H.orbit t (y,(θ : AddCircle P)) := | |
| 62 | - funext (fun y => H.raw_eq t y θ) | |
| 63 | - rw [he,coverField_spatial_fderiv P _ (pointField_smooth P H.path H.orbit t), | |
| 64 | - G.raw_eq,comp_apply,inl_apply] | |
| 65 | - exact (pointField_advectionPath P G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 66 | - | |
| 67 | 46 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 68 | 47 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 69 | 48 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
+0 −8 Euler/PacketCylinderFieldSupport.lean View file
| @@ -25,12 +25,4 @@ theorem supported_of_raw_zero | ||
| 25 | 25 | rw [hθ] at he |
| 26 | 26 | exact hz.trans (he.symm.trans (h t z.1 hzs θ)) |
| 27 | 27 | |
| 28 | -theorem raw_zero_of_supported (hSc : IsClosed S) | |
| 29 | - (h : ∀ t : Icc (0 : ℝ) T, G.path t ∈ Supported P Space S hS) | |
| 30 | - (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : | |
| 31 | - raw (t,(x,θ)) = 0 := by | |
| 32 | - rw [G.raw_eq] | |
| 33 | - exact EulerCylinderLocalSupport.pointField_zero_outside P S hS G.path G.orbit hSc h t | |
| 34 | - (x,(θ : AddCircle P)) hx | |
| 35 | - | |
| 36 | 28 | end EulerPacketCylinderField.Field |
+0 −5 Euler/PacketCylinderHighPartBounds.lean View file
| @@ -34,11 +34,6 @@ theorem wordBound_normalized_of_zero (G : Field P T raw) | ||
| 34 | 34 | |
| 35 | 35 | variable {G : Field P T raw} {q d : ℕ} {R A : ℝ} |
| 36 | 36 | |
| 37 | -theorem WordBound.highPart (hG : G.WordBound q R A d) : | |
| 38 | - G.highPart.WordBound q R (2*A) d := by | |
| 39 | - have h := hG.sub hG.angleMean | |
| 40 | - simpa only [Field.highPart,two_mul] using h | |
| 41 | - | |
| 42 | 37 | theorem WordBound.normalized_highPart (hT : 0 ≤ T) |
| 43 | 38 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 39 | (hG : (G.normalized hT g hg).WordBound q R A d) : |
+0 −10 Euler/PacketCylinderLinearTermBudget.lean View file
| @@ -21,16 +21,6 @@ theorem slowCost_le : B.slowCost ≤ B.termCost := by | ||
| 21 | 21 | |
| 22 | 22 | theorem fastCost_le : B.fastCost ≤ B.termCost := B.fastCost_le_slowCost.trans B.slowCost_le |
| 23 | 23 | |
| 24 | -theorem linearCost_le : B.linearCost ≤ B.termCost := by | |
| 25 | - have h := B.twice_linearCost_le | |
| 26 | - have h0 := B.linearCost_nonneg | |
| 27 | - linarith | |
| 28 | - | |
| 29 | -theorem multiplierCost_le : B.multiplierCost ≤ B.termCost := by | |
| 30 | - have h := B.twice_multiplierCost_le | |
| 31 | - have h0 := B.multiplierCost_nonneg | |
| 32 | - linarith | |
| 33 | - | |
| 34 | 24 | variable (hT : 0 < T) (S : Scales (Icc (0 : ℝ) T)) (p : ℕ) |
| 35 | 25 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) |
| 36 | 26 | |
+0 −25 Euler/PacketCylinderScalarGradientBounds.lean View file
| @@ -24,14 +24,6 @@ variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | ||
| 24 | 24 | def scalarGradientPath : C(K,LiftL2 P) := ∑ i : Fin 3, |
| 25 | 25 | pathMap P (gradientComponent i) (derivativePath P (pathMap P scalarEmbed p) i.succ) |
| 26 | 26 | |
| 27 | -include hp in | |
| 28 | -theorem scalarGradientPath_orbit : | |
| 29 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (scalarGradientPath p)) := by | |
| 30 | - simp only [scalarGradientPath,map_sum] | |
| 31 | - exact ContDiff.sum (fun i _ => pathMap_orbit_contDiff P (gradientComponent i) _ | |
| 32 | - (derivativePath_orbit P (pathMap P scalarEmbed p) | |
| 33 | - (pathMap_orbit_contDiff P scalarEmbed p hp) i.succ)) | |
| 34 | - | |
| 35 | 27 | include hp in |
| 36 | 28 | theorem scalarGradientPath_block_bound (q n : ℕ) (a : LiftTangent) : |
| 37 | 29 | block standardDirection q |
| @@ -89,23 +81,6 @@ variable {T : ℝ} (raw : ScalarField) (p : C(Icc (0 : ℝ) T,CylinderL2 P ℝ)) | ||
| 89 | 81 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 90 | 82 | raw (t,(x,θ)) = scalarPointField P p hp t (x,(θ : AddCircle P))) |
| 91 | 83 | |
| 92 | -theorem scalarGradientField_path : | |
| 93 | - (scalarGradientField raw p hp he).path = scalarGradientPath p := rfl | |
| 94 | - | |
| 95 | -theorem scalarGradientField_block_bound (q n : ℕ) (a : LiftTangent) : | |
| 96 | - block standardDirection q | |
| 97 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n a ≤ | |
| 98 | - 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := | |
| 99 | - scalarGradientPath_block_bound p hp q n a | |
| 100 | - | |
| 101 | -theorem scalarGradientField_majorant (q : ℕ) (R A : ℝ) (d : ℕ) | |
| 102 | - (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ | |
| 103 | - A * majorant R d n) (n : ℕ) : | |
| 104 | - block standardDirection q | |
| 105 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n 0 ≤ | |
| 106 | - (3*A) * majorant R (d+1) n := | |
| 107 | - scalarGradientPath_majorant p hp q R A d hb n | |
| 108 | - | |
| 109 | 84 | end Field |
| 110 | 85 | |
| 111 | 86 | end EulerPacketCylinderField |
+0 −3 Euler/PacketCylinderTimeUnique.lean View file
| @@ -14,7 +14,4 @@ theorem raw_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H | ||
| 14 | 14 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : raw₁ (t,(x,θ)) = raw₂ (t,(x,θ)) := |
| 15 | 15 | (G.slicedJet_temporal hT G₁ hG t x θ).symm.trans (H.slicedJet_temporal hT H₁ hH t x θ) |
| 16 | 16 | |
| 17 | -theorem path_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H₁) : | |
| 18 | - G₁.path = H₁.path := G₁.path_eq_of_raw_eq H₁ (fun t x θ => (raw_eq (hT := hT) hG hH t x θ).symm) | |
| 19 | - | |
| 20 | 17 | end EulerPacketCylinderField.TimeDerivative |
+0 −7 Euler/PacketCylinderWeightedLinear.lean View file
| @@ -83,13 +83,6 @@ theorem WordBound.normalized_multiply {q d : ℕ} {R A : ℝ} | ||
| 83 | 83 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := |
| 84 | 84 | (hG.multiply K Rc C hRc hC hA hR hK).of_path_eq _ (G.normalized_multiply_path hT g hg K) |
| 85 | 85 | |
| 86 | -theorem wordBound_normalized_finsetSum {ι : Type*} (s : Finset ι) (f : ι → VectorField) | |
| 87 | - (W : ∀ i, Field P T (f i)) (q : ℕ) (R : ℝ) (d : ℕ) (A : ι → ℝ) | |
| 88 | - (hW : ∀ i ∈ s, ((W i).normalized hT g hg).WordBound q R (A i) d) : | |
| 89 | - ((Field.finsetSum s f W).normalized hT g hg).WordBound q R (∑ i ∈ s,A i) d := | |
| 90 | - (wordBound_finsetSum s _ (fun i => (W i).normalized hT g hg) A hW).of_path_eq _ | |
| 91 | - (normalized_finsetSum_path hT g hg s f W) | |
| 92 | - | |
| 93 | 86 | theorem WordBound.angleMean {q d : ℕ} {R A : ℝ} (hG : G.WordBound q R A d) : |
| 94 | 87 | G.angleMean.WordBound q R A d := by |
| 95 | 88 | intro n |
+0 −26 Euler/PacketCylinderWeightedProduct.lean View file
| @@ -31,20 +31,6 @@ variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} | ||
| 31 | 31 | (G : Field P T raw) (H : Field P T raw') (hT : 0 ≤ T) |
| 32 | 32 | (g h b : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 33 | 33 | |
| 34 | -theorem normalized_bilinear_path (L : Space →L[ℝ] Space →L[ℝ] Space) : | |
| 35 | - ((G.bilinear H L).normalized hT b hb).path = | |
| 36 | - (((G.normalized hT g hg).bilinear (H.normalized hT h hh) L).weighted hT | |
| 37 | - (productProfileRatio g h b hb)).path := by | |
| 38 | - apply path_eq_of_raw_eq | |
| 39 | - intro t x θ | |
| 40 | - change productProfileRatio g h b hb (projIcc 0 T hT t) • | |
| 41 | - L ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) ((h (projIcc 0 T hT t))⁻¹ • raw' (t,(x,θ))) = | |
| 42 | - (b (projIcc 0 T hT t))⁻¹ • L (raw (t,(x,θ))) (raw' (t,(x,θ))) | |
| 43 | - rw [projIcc_of_mem hT t.property] | |
| 44 | - simp only [productProfileRatio_apply,map_smul,smul_apply,smul_smul] | |
| 45 | - congr 1 | |
| 46 | - field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] | |
| 47 | - | |
| 48 | 34 | theorem normalized_scalarProduct_path (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 49 | 35 | ((G.scalarProduct H L hL).normalized hT b hb).path = |
| 50 | 36 | (((G.normalized hT g hg).scalarProduct (H.normalized hT h hh) L hL).weighted hT |
| @@ -83,18 +69,6 @@ theorem normalized_spatialTransport_path : | ||
| 83 | 69 | |
| 84 | 70 | variable {G H g h b hg hh hb} |
| 85 | 71 | |
| 86 | -theorem WordBound.normalized_bilinear {R A B : ℝ} {d e : ℕ} | |
| 87 | - (hG : (G.normalized hT g hg).WordBound 6 R A d) | |
| 88 | - (hH : (H.normalized hT h hh).WordBound 6 R B e) | |
| 89 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) | |
| 90 | - (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : | |
| 91 | - ((G.bilinear H L).normalized hT b hb).WordBound 6 R | |
| 92 | - (C*(9*productBlockConstant P*‖L‖*A*B)) (d+e) := by | |
| 93 | - have hbound := (hG.bilinear hH L hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile | |
| 94 | - unfold WordBound at * | |
| 95 | - rw [G.normalized_bilinear_path H hT g h b hg hh hb L] | |
| 96 | - exact hbound | |
| 97 | - | |
| 98 | 72 | theorem WordBound.normalized_scalarProduct {R A B : ℝ} {d e : ℕ} |
| 99 | 73 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 100 | 74 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
+0 −23 Euler/PacketEulerianRegularity.lean View file
| @@ -52,17 +52,6 @@ theorem eulerianSmoothField_jetLp_continuous (n : ℕ) : | ||
| 52 | 52 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (reconstructedTower D P κ Z) |
| 53 | 53 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 54 | 54 | |
| 55 | -def eulerianCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 56 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (reconstructedTower D P κ Z) | |
| 57 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 58 | - | |
| 59 | -theorem eulerianCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 60 | - (eulerianCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 61 | - κ • D.F.field t (Y t x) (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 62 | - rw [eulerianCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 63 | - reconstructedTower_pointField] | |
| 64 | - rfl | |
| 65 | - | |
| 66 | 55 | def pressureForceSmoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space := |
| 67 | 56 | EulerPacketSourceVolumeSobolev.smoothField D (pressureForceTower D P κ Z) k D.m₀ |
| 68 | 57 | X Y hX hYX hXY hY R C hR hC hdet hF t |
| @@ -79,16 +68,4 @@ theorem pressureForceSmoothField_jetLp_continuous (n : ℕ) : | ||
| 79 | 68 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (pressureForceTower D P κ Z) |
| 80 | 69 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 81 | 70 | |
| 82 | -def pressureForceCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 83 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (pressureForceTower D P κ Z) | |
| 84 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 85 | - | |
| 86 | -theorem pressureForceCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 87 | - (pressureForceCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 88 | - κ • (D.FInv.field t (Y t x)).adjoint | |
| 89 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 90 | - rw [pressureForceCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 91 | - pressureForceTower_pointField] | |
| 92 | - rfl | |
| 93 | - | |
| 94 | 71 | end EulerPacketPhysicalField |
+0 −66 Euler/PacketExactGlobalChoice.lean View file
| @@ -36,70 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | |
| 37 | 37 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 38 | 38 | |
| 39 | -theorem initialized_exact_global_shear_hessian_eventually : | |
| 40 | - ∃ ρ0 G Cv Cp : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < Cv ∧ 0 < Cp ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - (‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 48 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 49 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 50 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k) ∧ | |
| 51 | - (‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 52 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 53 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 54 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 55 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) := by | |
| 56 | - classical | |
| 57 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 58 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 59 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 60 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 61 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 62 | - rw [hprofile] | |
| 63 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 64 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 65 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 66 | - let Cv := 1+|Kv| | |
| 67 | - let Cp := 1+|Kp| | |
| 68 | - have hCv : 0 < Cv := by dsimp only [Cv]; positivity | |
| 69 | - have hCp : 0 < Cp := by dsimp only [Cp]; positivity | |
| 70 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_gradient_hessian_eventually | |
| 71 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 72 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound 1 | |
| 73 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 74 | - intro t x | |
| 75 | - rw [← hF t x] | |
| 76 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 77 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 78 | - refine ⟨ρ0,G,Cv,Cp,hρ,hG,hCv,hCp,?_⟩ | |
| 79 | - filter_upwards [hQ,fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 80 | - with k hQ hscalar | |
| 81 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hcorrection⟩ := hQ | |
| 82 | - have hk0 : 0 < k := by linarith | |
| 83 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 84 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg (by linarith) | |
| 85 | - (hscalar.2.2.2 _ (by simp)) | |
| 86 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 87 | - intro t x | |
| 88 | - constructor | |
| 89 | - · have he := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 90 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 91 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 92 | - have hc : ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 93 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ := by | |
| 94 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).1 | |
| 95 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 96 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cv]; ring)) | |
| 97 | - · have he := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 98 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 99 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 100 | - have hc : ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹ := by | |
| 101 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).2 | |
| 102 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 103 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cp]; ring)) | |
| 104 | - | |
| 105 | 39 | end EulerPacketTerminalDatum |
+0 −19 Euler/PacketExactShearError.lean View file
| @@ -96,23 +96,4 @@ variable | ||
| 96 | 96 | |
| 97 | 97 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 98 | 98 | |
| 99 | -theorem initializedExactPhysicalVelocity_gradient_error | |
| 100 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 101 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 102 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 103 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 104 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 105 | - Cagree N hN k hk Q t Y) (X 0) - | |
| 106 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 107 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ + | |
| 108 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) | |
| 109 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) (X 0)‖ := by | |
| 110 | - rw [initializedExactPhysicalVelocity_fderiv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 111 | - Cagree N hN k hk Q t Y (X 0) hY] | |
| 112 | - have he : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel | |
| 113 | - rw [he] | |
| 114 | - exact (norm_add_le _ _).trans (add_le_add | |
| 115 | - (initializedVelocity_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 116 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t X Y hX hY hleft) le_rfl) | |
| 117 | - | |
| 118 | 99 | end EulerPacketTerminalDatum |
+0 −7 Euler/PacketFieldSobolev.lean View file
| @@ -24,13 +24,6 @@ theorem toFieldTower_derivative (G : Field P T raw) (s : ℕ) (i : Fin 4) | ||
| 24 | 24 | rw [(G.derivative i).toFieldTower_value] |
| 25 | 25 | exact wordPath_eq_sobolev P G.path G.orbit s (fun _ : Fin 1 => i) t |
| 26 | 26 | |
| 27 | -theorem toFieldTower_derivative_path (G : Field P T raw) (s : ℕ) (i : Fin 4) : | |
| 28 | - (derivativeOperator P s i).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 29 | - (G.toFieldTower.realization (s+1)) = (G.derivative i).toFieldTower.realization s := by | |
| 30 | - apply ContinuousMap.ext | |
| 31 | - intro t | |
| 32 | - exact G.toFieldTower_derivative s i t | |
| 33 | - | |
| 34 | 27 | theorem toFieldTower_levelNorm_eq (G : Field P T raw) (s n : ℕ) (hn : n ≤ s) |
| 35 | 28 | (t : Icc (0 : ℝ) T) : |
| 36 | 29 | levelNorm P (toJet P (G.toFieldTower.realization s t)) n = |
+0 −4 Euler/PacketFiniteProfileFields.lean View file
| @@ -21,10 +21,6 @@ def Field.timeDerivativeField {raw raw_t : VectorField} (G : Field P T raw) (hT | ||
| 21 | 21 | H.congr (fun t x θ => (G.raw_hasDerivWithinAt hT.le H ht t x θ).derivWithin |
| 22 | 22 | ((uniqueDiffOn_Icc hT) _ t.property)) |
| 23 | 23 | |
| 24 | -theorem Field.timeDerivativeField_time {raw raw_t : VectorField} (G : Field P T raw) (hT : 0 < T) | |
| 25 | - (H : Field P T raw_t) (ht : TimeDerivative hT.le G H) : | |
| 26 | - TimeDerivative hT.le G (G.timeDerivativeField hT H ht) := ht | |
| 27 | - | |
| 28 | 24 | namespace ProfileRegularity |
| 29 | 25 | |
| 30 | 26 | variable {N : ℕ} {a : ℕ → Profile} {support : Set Space} |
+0 −17 Euler/PacketFirstStageSupport.lean View file
| @@ -23,18 +23,6 @@ theorem forwardNext_initial_support | ||
| 23 | 23 | (frequency S.J S.X 0) (S.normal_frequency 0) (supportScale S.J S.X 1) |
| 24 | 24 | (S.support_pos 1) (S.support_one 1) (P.chooseForward hq hB) symmetric hP |
| 25 | 25 | |
| 26 | -theorem forwardNext_initial_field_support | |
| 27 | - (hP : tsupport (fun x => P.state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : | |
| 28 | - tsupport ((P.forwardNext hq hB).state.regularity.velocity | |
| 29 | - (P.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := by | |
| 30 | - have he : ((P.forwardNext hq hB).state.regularity.velocity | |
| 31 | - (P.forwardNext hq hB).parent.zeroTime).field = | |
| 32 | - fun x => (P.forwardNext hq hB).state.evolution.velocity (0,x) := | |
| 33 | - funext (fun x => ((P.forwardNext hq hB).state.regularity.velocity_match | |
| 34 | - (P.forwardNext hq hB).parent.zeroTime x).symm) | |
| 35 | - rw [he] | |
| 36 | - exact P.forwardNext_initial_support hq hB hP | |
| 37 | - | |
| 38 | 26 | end EulerPacketInduction.Stage |
| 39 | 27 | |
| 40 | 28 | namespace EulerPacketInductionScales.Scales |
| @@ -49,9 +37,4 @@ theorem firstForwardStage_initial_support : | ||
| 49 | 37 | Metric.closedBall 0 2 := |
| 50 | 38 | S.firstStage.forwardNext_initial_support hq hB S.firstStage_initial_support |
| 51 | 39 | |
| 52 | -theorem firstForwardStage_initial_field_support : | |
| 53 | - tsupport ((S.firstStage.forwardNext hq hB).state.regularity.velocity | |
| 54 | - (S.firstStage.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := | |
| 55 | - S.firstStage.forwardNext_initial_field_support hq hB S.firstStage_initial_support | |
| 56 | - | |
| 57 | 40 | end EulerPacketInductionScales.Scales |
+0 −13 Euler/PacketFiveCostGuards.lean View file
| @@ -88,17 +88,4 @@ theorem five_costs_bound : | ||
| 88 | 88 | rw [div_eq_mul_inv] |
| 89 | 89 | gcongr |
| 90 | 90 | |
| 91 | -/-- The literal source frequency assumptions follow from one explicit | |
| 92 | -polynomial comparison; the threshold does not depend on a chosen parent. -/ | |
| 93 | -theorem frequency_guards (k : ℝ) | |
| 94 | - (hbudget : costConstant P*X^(costPower P) ≤ EulerPacketSourceFrequency.smallPower k) : | |
| 95 | - tailPolynomialConstant R H CT ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 96 | - C ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 97 | - 12*growth D P Kc R H C*D.T ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 98 | - 8*growth D P Kc R H C*D.T*drift R H C/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 99 | - 8*growth D P Kc R H C*D.T/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k := by | |
| 100 | - obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := five_costs_bound P D Kc R H C CT X hX hR hH hC | |
| 101 | - hRX hHX hCX hCTX hi hm hf ht hB hM hA0 hA2 hRc hT | |
| 102 | - exact ⟨h₁.trans hbudget,h₂.trans hbudget,h₃.trans hbudget,h₄.trans hbudget,h₅.trans hbudget⟩ | |
| 103 | - | |
| 104 | 91 | end EulerPacketFiveCost |
+0 −2 Euler/PacketFiveCostPolynomial.lean View file
| @@ -116,8 +116,6 @@ theorem fivePolynomial_eval (X : ℝ) : (fivePolynomial P).eval X=fiveEnvelope P | ||
| 116 | 116 | def costConstant : ℝ := coefficientCost (fivePolynomial P) |
| 117 | 117 | def costPower : ℕ := (fivePolynomial P).natDegree |
| 118 | 118 | |
| 119 | -theorem costConstant_pos : 0 < costConstant P := coefficientCost_pos _ | |
| 120 | - | |
| 121 | 119 | theorem fiveEnvelope_power (X : ℝ) (hX : 1 ≤ X) : |
| 122 | 120 | fiveEnvelope P X ≤ costConstant P*X^(costPower P) := by |
| 123 | 121 | rw [← fivePolynomial_eval] |
+0 −19 Euler/PacketForwardChildLowBounds.lean View file
| @@ -68,25 +68,6 @@ def ForwardSourceErrors (ev ep : ℝ) : Prop := | ||
| 68 | 68 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 69 | 69 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x))‖ ≤ ep |
| 70 | 70 | |
| 71 | -/-- The literal strict errors returned by the global same-Q packet | |
| 72 | -theorem imply the error record without any additional analytic bound. -/ | |
| 73 | -theorem forwardSourceErrors_of_global (ev ep : ℝ) | |
| 74 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 75 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 76 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 77 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x)) | |
| 78 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 79 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 80 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) G.initialCoordinate (G.primaryAmplitude hball) t | |
| 81 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 82 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 83 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 84 | - E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep := by | |
| 85 | - intro t x | |
| 86 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 87 | - erw [forwardPressureTerm_eq_coefficient] | |
| 88 | - exact (herr t x).2.le | |
| 89 | - | |
| 90 | 71 | include hk hδ hδ1 in |
| 91 | 72 | theorem exactForwardPacket_good_low_bounds |
| 92 | 73 | (ev ep CM CH Kupper : ℝ) |
+0 −6 Euler/PacketForwardCommonRadius.lean View file
| @@ -42,12 +42,6 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 42 | 42 | refine ⟨hb.1.trans hR, ?_⟩ |
| 43 | 43 | exact ⟨hC,hb.2.1.trans hR,hb.2.2.1.trans hR,hb.2.2.2.1.trans hR,hb.2.2.2.2.trans hR⟩ |
| 44 | 44 | |
| 45 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 46 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 47 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 48 | - ⟨max extra (L.gradeRadius (P := P) N C),le_max_left _ _, | |
| 49 | - L.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 50 | - | |
| 51 | 45 | end EulerTransversePacketForward.Budget |
| 52 | 46 | |
| 53 | 47 | namespace EulerPacketForwardCommonRadius |
+0 −9 Euler/PacketForwardGeometryAssembly.lean View file
| @@ -133,13 +133,4 @@ theorem exists_geometry_and_growth (Ω : Set Space) (h0 : 0 ∈ Ω) | ||
| 133 | 133 | change D.normal.field (D.clamp (0+t)) x=D.normal.field t x |
| 134 | 134 | rw [zero_add,Data.clamp_coe] |
| 135 | 135 | |
| 136 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ G.radius) : | |
| 137 | - ∃ g : C(Icc (0 : ℝ) D.T,ℝ), (∀ t, 0 < g t) ∧ | |
| 138 | - g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ | |
| 139 | - PhysicalGrowth D {x | ‖x‖ ≤ (1/2 : ℝ)} g (560*P.horizon^10/P.epsilon) := by | |
| 140 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hgrowth⟩ := | |
| 141 | - G.exists_geometry_and_growth {x | ‖x‖ ≤ (1/2 : ℝ)} (by simp) | |
| 142 | - (fun _ hx => hx.trans hball) | |
| 143 | - exact ⟨_,hpos,hzero,hgrowth⟩ | |
| 144 | - | |
| 145 | 136 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −44 Euler/PacketForwardInitializedCorrectionChoice.lean View file
| @@ -31,48 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -theorem forwardInitialized_correction_budgets_eventually : | |
| 35 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 36 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 37 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 38 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 39 | - (truncation k) hn k hk)), | |
| 40 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = C := by | |
| 41 | - classical | |
| 42 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 43 | - let Kc := L.correctionCoefficients NB period | |
| 44 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 45 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 46 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 47 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 48 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 49 | - let L' := L.enlargeRadius R' hL | |
| 50 | - let N' := NB.enlargeRadius R' hL | |
| 51 | - let M' := LM.enlargeRadius R' hM | |
| 52 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 53 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 54 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 55 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 56 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 57 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 58 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 59 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 60 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 61 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 62 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 63 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 64 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 65 | - filter_upwards [fixed_costs_eventually | |
| 66 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 67 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 68 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 69 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 70 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 71 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 72 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 73 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 74 | - Ξ hΞ hF hdet | |
| 75 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 76 | - simp only [Q,forwardInitializedAllOrderBudget,ρ0,cg] | |
| 77 | - | |
| 78 | 34 | end EulerPacketTerminalDatum |
+0 −44 Euler/PacketForwardInitializedExactLifted.lean View file
| @@ -29,48 +29,4 @@ def forwardInitializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 29 | 29 | exactPacketOfResidual period Q |
| 30 | 30 | (forwardInitializedApproximationResidual M D hTime δ hδ ξ hs α Cagree N hN k hk) |
| 31 | 31 | |
| 32 | -theorem forwardInitializedExactPacket_velocity_odd | |
| 33 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 34 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 35 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 36 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 37 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 38 | - (k : ℝ) (hk : 4 ≤ k) | |
| 39 | - (Q : Budget period D.T_pos | |
| 40 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk)) | |
| 41 | - (t : Icc (0 : ℝ) D.T) : | |
| 42 | - -reflection period | |
| 43 | - ((forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 44 | - (forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 45 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 46 | - (forwardInitializedCorrectionParityData M D hTime δ hδ ξ hs α | |
| 47 | - eM hSym hF hDM Cagree N hN k hk) t | |
| 48 | - | |
| 49 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 50 | -The original source data construct the budget and the exact corrected pair | |
| 51 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 52 | -theorem forwardInitialized_exact_lifted_packets_eventually | |
| 53 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 54 | - (L : EulerTransversePacketForward.Budget D (Fin 4) 6) | |
| 55 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 56 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 57 | - (Cagree : SourceCoefficientAgreement M D) | |
| 58 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 59 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 60 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 61 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 62 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 63 | - (Q : Budget period D.T_pos | |
| 64 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 65 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 66 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 67 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 68 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := forwardInitialized_correction_budgets_eventually M D hTime | |
| 69 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 70 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 71 | - filter_upwards [he] with k hk | |
| 72 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 73 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 74 | - ⟨forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 75 | - | |
| 76 | 32 | end EulerPacketTerminalDatum |
+0 −70 Euler/PacketForwardPrimary.lean View file
| @@ -41,30 +41,9 @@ def regularity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P | ||
| 41 | 41 | ProfileRegularity P D.T D.T_pos.le D.support (profile D Y O) := |
| 42 | 42 | homogeneousPrimaryRegularity D Y O hcorrector |
| 43 | 43 | |
| 44 | -theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 45 | - linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) (vector D Y) (t,(x,θ)))+ | |
| 46 | - fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar D Y) (t,(x,θ))) = 0 := | |
| 47 | - (forcing D).jet_equation Y t x θ | |
| 48 | - | |
| 49 | -theorem tangent (t : ℝ) (x : Space) (θ : ℝ) : | |
| 50 | - inner ℝ (D.normalField (t,(x,θ))) (vector D Y (t,(x,θ))) = 0 := | |
| 51 | - (forcing D).vector_tangent Y t x θ | |
| 52 | - | |
| 53 | -theorem mean_zero (t : ℝ) (x : Space) : | |
| 54 | - (∫ θ in (0 : ℝ)..P, vector D Y (t,(x,θ))) = 0 := | |
| 55 | - (forcing D).vector_mean_zero Y t x | |
| 56 | - | |
| 57 | 44 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar D Y (t,y)) := |
| 58 | 45 | (forcing D).scalar_spatial_smooth Y t |
| 59 | 46 | |
| 60 | -theorem parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) | |
| 61 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 62 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 63 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 64 | - (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) : | |
| 65 | - ProfileParity D.T (profile D Y O) := | |
| 66 | - homogeneousPrimaryParity D Y O hcorrector hSym hF hM hY | |
| 67 | - | |
| 68 | 47 | end EulerPacketForwardPrimary |
| 69 | 48 | |
| 70 | 49 | namespace EulerPacketTerminalDatum |
| @@ -86,53 +65,4 @@ def forwardPrimaryRegularity (O : Operators) (hcorrector : O.curlCorrector = D.c | ||
| 86 | 65 | ProfileRegularity period D.T D.T_pos.le D.support (forwardPrimary D δ hδ ξ hs O) := |
| 87 | 66 | EulerPacketForwardPrimary.regularity D (initialData D δ hδ ξ hs) O hcorrector |
| 88 | 67 | |
| 89 | -theorem forwardPrimary_equation (O : Operators) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 90 | - linearPart (D.strain (t,(x,θ))) | |
| 91 | - (slicedJet (Icc (0 : ℝ) D.T) (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ)))+ | |
| 92 | - fastPressure (D.normalField (t,(x,θ))) | |
| 93 | - (pressureJet (forwardPrimary D δ hδ ξ hs O).highPressure (t,(x,θ))) = 0 := | |
| 94 | - EulerPacketForwardPrimary.equation D (initialData D δ hδ ξ hs) t x θ | |
| 95 | - | |
| 96 | -theorem forwardPrimary_tangent (O : Operators) (t : ℝ) (x : Space) (θ : ℝ) : | |
| 97 | - inner ℝ (D.normalField (t,(x,θ))) ((forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 98 | - EulerPacketForwardPrimary.tangent D (initialData D δ hδ ξ hs) t x θ | |
| 99 | - | |
| 100 | -theorem forwardPrimary_mean_zero (O : Operators) (t : ℝ) (x : Space) : | |
| 101 | - (∫ θ in (0 : ℝ)..period, (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 102 | - EulerPacketForwardPrimary.mean_zero D (initialData D δ hδ ξ hs) t x | |
| 103 | - | |
| 104 | -theorem forwardPrimary_parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) | |
| 105 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 106 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 107 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) : | |
| 108 | - ProfileParity D.T (forwardPrimary D δ hδ ξ hs O) := | |
| 109 | - EulerPacketForwardPrimary.parity D (initialData D δ hδ ξ hs) O hcorrector hSym hF hM | |
| 110 | - (terminal_reflection δ hδ ξ) | |
| 111 | - | |
| 112 | -theorem forwardPrimary_initial (O : Operators) (x : Space) (θ : ℝ) : | |
| 113 | - (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ)) = | |
| 114 | - (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by | |
| 115 | - change (EulerPacketForwardPrimary.forcing D).vector (initialData D δ hδ ξ hs) (0,(x,θ)) = _ | |
| 116 | - rw [(EulerPacketForwardPrimary.forcing D).vector_initial_of_representative | |
| 117 | - (initialData D δ hδ ξ hs) (field δ ξ) | |
| 118 | - (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ), | |
| 119 | - field_coe,map_smul] | |
| 120 | - | |
| 121 | -theorem forwardPrimary_initial_angular (O : Operators) (x : Space) : | |
| 122 | - HasDerivAt (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) | |
| 123 | - ((innerCutoff x*δ⁻¹) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) 0 := by | |
| 124 | - have he : (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) = | |
| 125 | - fun θ => (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := | |
| 126 | - funext (forwardPrimary_initial D δ hδ ξ hs O x) | |
| 127 | - rw [he] | |
| 128 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 129 | - rw [profile_deriv_zero δ hδ] at hp | |
| 130 | - exact (hp.const_mul (innerCutoff x)).smul_const (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) | |
| 131 | - | |
| 132 | -theorem forwardPrimary_initial_angular_norm (O : Operators) : | |
| 133 | - ‖deriv (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(0,θ))) 0‖ = | |
| 134 | - δ⁻¹*‖D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ 0 ξ‖ := by | |
| 135 | - rw [(forwardPrimary_initial_angular D δ hδ ξ hs O 0).deriv,innerCutoff_zero,one_mul, | |
| 136 | - norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] | |
| 137 | - | |
| 138 | 68 | end EulerPacketTerminalDatum |
+0 −43 Euler/PacketForwardPrimaryShear.lean View file
| @@ -120,47 +120,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 120 | 120 | pressureCoefficient D ξ a t x * deriv (profile δ) θ := |
| 121 | 121 | (scalar_deriv_hasDerivAt D δ hδ ξ hs a t x θ).deriv |
| 122 | 122 | |
| 123 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 124 | - deriv (deriv (fun s => scalar D (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 125 | - pressureCoefficient D ξ a t x / δ := by | |
| 126 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 127 | - | |
| 128 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 129 | - k⁻¹^2 * scalar D (initialData D δ hδ (a • ξ) hs) (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 130 | - | |
| 131 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 132 | - (x : Space) : Space →L[ℝ] Space := | |
| 133 | - lowerHessian (fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 134 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 135 | - | |
| 136 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 137 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 138 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t Y)) x = | |
| 139 | - (pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 140 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 141 | - hessianRemainder D δ hδ ξ hs a k t Y x := by | |
| 142 | - let q : LiftTangent → ℝ := fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 143 | - have hq : ContDiff ℝ ∞ q := pressure_smooth D _ t | |
| 144 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 145 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 146 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 147 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 148 | - pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 149 | - rw [angularSecond_eq_deriv hq] | |
| 150 | - exact scalar_second_deriv D δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 151 | - rw [ha] at hh | |
| 152 | - exact hh | |
| 153 | - | |
| 154 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 155 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 156 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 157 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 158 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 159 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t (Y t))) x = | |
| 160 | - (pressureCoefficient D ξ a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 161 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 162 | - hessianRemainder D δ hδ ξ hs a k t (Y t) x := | |
| 163 | - physicalPressure_hessian D δ hδ ξ hs a k hk t (Y t) | |
| 164 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 165 | - | |
| 166 | 123 | end EulerPacketForwardShear |
+0 −5 Euler/PacketForwardRadiusPolynomial.lean View file
| @@ -185,9 +185,4 @@ theorem canonicalRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 185 | 185 | unfold radiusEnvelope |
| 186 | 186 | nlinarith only [H.original_mean,H.original_forward,H.coefficient_cost,hb,hm,hg1,hgT,hextra,hreq,hjW] |
| 187 | 187 | |
| 188 | -theorem canonicalRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 189 | - (H : RadiusPrimitives L LM N BC δ ξ W) : | |
| 190 | - canonicalRadius L LM N BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 191 | - (canonicalRadius_le_envelope L LM N BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 192 | - | |
| 193 | 188 | end EulerPacketForwardRadius |
+0 −10 Euler/PacketForwardRemainder.lean View file
| @@ -78,16 +78,6 @@ theorem forwardInitializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : | ||
| 78 | 78 | (forwardInitializedProfiles_one_mean M D δ hδ ξ hs α) hN BC k hk hbase |
| 79 | 79 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]; rfl) |
| 80 | 80 | |
| 81 | -theorem forwardInitializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 82 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 83 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 84 | - ‖forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ | |
| 85 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 86 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 87 | - (forwardInitializedPrimaryRemainder_bound M D hTime δ hδ ξ hs α | |
| 88 | - L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 89 | - (by norm_num) t k D.m₀ (Y x) | |
| 90 | - | |
| 91 | 81 | theorem forwardInitializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 92 | 82 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 93 | 83 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
+0 −11 Euler/PacketForwardUniformBudget.lean View file
| @@ -59,17 +59,6 @@ def forwardUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_pos | ||
| 59 | 59 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 60 | 60 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 61 | 61 | |
| 62 | -theorem forwardUniformBudget_delta : | |
| 63 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 64 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 65 | - | |
| 66 | -theorem forwardUniformBudget_initialRadius : | |
| 67 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 68 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 69 | - initialRadius | |
| 70 | - (forwardInitializedRadius LM L NB (forwardCoefficientBudget period M D hTime NB) δ ξ) | |
| 71 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 72 | - | |
| 73 | 62 | |
| 74 | 63 | open EulerPacketCorrectionOutput EulerSobolevGevreyOperators EulerAllOrderDriftCorrection |
| 75 | 64 | |
+0 −8 Euler/PacketFrameRenewalAlgebra.lean View file
| @@ -32,12 +32,4 @@ theorem scaling_cross_flux {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | ||
| 32 | 32 | field_simp |
| 33 | 33 | ring |
| 34 | 34 | |
| 35 | -theorem scaling_pressure_ratio {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | |
| 36 | - (M : Fin 3 → Fin 3 → ℝ) (R V : Fin 3 → ℝ) (hV : V 1 ≠ 0) : | |
| 37 | - (∑ i : Fin 3, (s₀*rayScale ε i*R i)*(∑ j : Fin 3, M i j*(velocityScale ε j*V j))) = | |
| 38 | - s₀*a*(V 1)*velocityNumerator (scaledVelocityEntry a ε M) | |
| 39 | - (R 0) (R 1) (R 2) (V 0/V 1) 1 (V 2/V 1) := by | |
| 40 | - rw [scaling_flux ha, velocityNumerator_homogeneous _ _ _ _ _ _ _ hV] | |
| 41 | - ring | |
| 42 | - | |
| 43 | 35 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketGeometryControlledGrowth.lean View file
| @@ -95,14 +95,6 @@ theorem primaryAmplitude_pos (hδ : 0 < A.δ) (hh : 0 < A.hchild) : | ||
| 95 | 95 | 0 < A.primaryAmplitude hball := |
| 96 | 96 | EulerPacketGeometryLowBounds.amplitude_pos (A.lowGeometry hball) hδ hh |
| 97 | 97 | |
| 98 | -theorem primaryAmplitude_exponential : A.primaryAmplitude hball ≤ | |
| 99 | - (4*P.horizon*A.δ*A.hchild)*Real.exp (-(1/(4*P.sigma))) := by | |
| 100 | - obtain ⟨F,F₁,Z,Z₁,J⟩ := (A.lowGeometry hball).exists_geometry | |
| 101 | - have h := J.amplitude_exponential | |
| 102 | - change A.primaryAmplitude hball ≤ | |
| 103 | - (4*P.horizon*A.δ*A.hchild/(1 : ℝ))*Real.exp (-(1/(4*P.sigma))) at h | |
| 104 | - simpa only [div_one] using h | |
| 105 | - | |
| 106 | 98 | theorem halfBall_controlledGrowth : |
| 107 | 99 | ∃ g : C(Icc (0 : ℝ) D.T,ℝ), |
| 108 | 100 | (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ |
+0 −25 Euler/PacketGeometryInitialAmplitude.lean View file
| @@ -92,29 +92,4 @@ variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSp | ||
| 92 | 92 | {D : Data U} {P : ParentFrame D 0} (J : ForwardGuards P) |
| 93 | 93 | (hball : (1/2 : ℝ) ≤ J.radius) |
| 94 | 94 | |
| 95 | -theorem primaryAmplitude_polynomial (X x : ℝ) (hX : 1 ≤ X) | |
| 96 | - (hH : P.horizon ≤ X) (hh : J.hchild ≤ X) (hδ : J.δ ≤ 1) (hσ : P.sigma*x ≤ 2) : | |
| 97 | - J.primaryAmplitude hball ≤ constant*X^degree*Real.exp (-x/8) := by | |
| 98 | - have hS := zero_le_one.trans (sourceEnvelope_one X hX) | |
| 99 | - have hX0 := zero_le_one.trans hX | |
| 100 | - have hH0 := zero_le_one.trans J.horizon_lower | |
| 101 | - have hc0 := J.child_nonneg | |
| 102 | - have hd0 := J.delta_nonneg | |
| 103 | - have hpref : 4*P.horizon*J.δ*J.hchild ≤ envelope X := by | |
| 104 | - calc | |
| 105 | - _ ≤ 4*X*1*X := by gcongr | |
| 106 | - _ ≤ 4*X*1*X*(1+sourceEnvelope X) := by nlinarith only [mul_nonneg (sq_nonneg X) hS] | |
| 107 | - _ = _ := by unfold envelope; ring | |
| 108 | - have hs := sigma_exponential_bound P.sigma x J.sigma_pos hσ | |
| 109 | - apply (J.primaryAmplitude_exponential hball).trans | |
| 110 | - apply (mul_le_mul hpref hs (Real.exp_pos _).le ?_).trans | |
| 111 | - · exact mul_le_mul_of_nonneg_right (envelope_bound X hX) (Real.exp_pos _).le | |
| 112 | - · unfold envelope | |
| 113 | - positivity | |
| 114 | - | |
| 115 | -include J hball in | |
| 116 | -theorem horizon_le_growthCost : P.horizon ≤ 560*P.horizon^10/P.epsilon := by | |
| 117 | - have he : P.epsilon ≤ 1 := (J.lowGeometry hball).epsilon_le_one | |
| 118 | - exact horizon_le_cost P.horizon P.epsilon J.horizon_lower J.epsilon_pos he | |
| 119 | - | |
| 120 | 95 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −29 Euler/PacketGeometryJoinedBudget.lean View file
| @@ -38,33 +38,4 @@ theorem sourceGrowthProfile_amplitude (t : Icc (0 : ℝ) (D.T-τ)) : | ||
| 38 | 38 | 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := |
| 39 | 39 | (J.halfBall_controlledGrowth hball).choose_spec.2.2.2 t |
| 40 | 40 | |
| 41 | -theorem primaryAmplitude_bound : J.primaryAmplitude hball ≤ | |
| 42 | - 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := by | |
| 43 | - have h := J.sourceGrowthProfile_amplitude hball ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 44 | - simpa only [J.sourceGrowthProfile_initial hball,mul_one] using h | |
| 45 | - | |
| 46 | -def joinedBudget (q : ℕ) | |
| 47 | - (A V : Icc (0 : ℝ) D.T → SmoothL2Field Space) | |
| 48 | - (W : Icc (0 : ℝ) τ → SmoothL2Field Space) | |
| 49 | - (F₂ : SmoothCoefficientPath (Icc (0 : ℝ) τ) (Space →L[ℝ] Space)) | |
| 50 | - (ℓ K Ti : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) (hK : 0 ≤ K) | |
| 51 | - (hτ1 : τ ≤ 1) (hTi : τ⁻¹ ≤ Ti) | |
| 52 | - (hA : ∀ t, HasLabelBound K (A t)) (hV : ∀ t, HasLabelBound K (V t)) | |
| 53 | - (hW : ∀ t, HasLabelBound K (W t)) | |
| 54 | - (hF : ∀ t x, D.F.field t x = ContinuousLinearMap.id ℝ Space+fderiv ℝ (A t).field (ℓ • x)) | |
| 55 | - (hF₁ : ∀ t x, D.F₁.field t x = fderiv ℝ (V t).field (ℓ • x)) | |
| 56 | - (hF₂ : ∀ t x, F₂.field t x = fderiv ℝ (W t).field (ℓ • x)) | |
| 57 | - (h₂ : ∀ t ∈ Icc (0 : ℝ) τ, ∀ x : Space, | |
| 58 | - HasDerivWithinAt (fun s => extendPath τ hτ.le (D.initial τ hτ hτT.le).F₁.field s x) | |
| 59 | - (extendPath τ hτ.le F₂.field t x) (Icc (0 : ℝ) τ) t) | |
| 60 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) | |
| 61 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 62 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) : | |
| 63 | - EulerTransversePacketJoin.Budget D τ hτ hτT H (Fin 4) q := | |
| 64 | - EulerPacketParentPhysicalBudgets.joinedBudget D τ hτ hτT H q A V W F₂ | |
| 65 | - ℓ K Ti (560*P.horizon^10/P.epsilon) hℓ hℓ1 hK hτ1 hTi J.growth_constant_pos.le | |
| 66 | - hA hV hW hF hF₁ hF₂ h₂ hdet (J.sourceGrowthProfile hball) | |
| 67 | - (J.sourceGrowthProfile_positive hball) (J.sourceGrowthProfile_initial hball) | |
| 68 | - Ω hΩ hΩo hsub hΩball (J.sourceGrowthProfile_propagator hball) | |
| 69 | - | |
| 70 | 41 | end EulerPacketSourceGeometry.Guards |
+0 −20 Euler/PacketGeometryPressureCosts.lean View file
| @@ -66,16 +66,6 @@ theorem joined_upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 66 | 66 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.badRatio := by ring |
| 67 | 67 | _ ≤ _ := add_le_add hg hb |
| 68 | 68 | |
| 69 | -theorem joined_initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 70 | - A.hchild*A.badRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 71 | - have hb := L.joined_bad_pressure_cost_bound m hm R S hS H τ hτ hτT P A Ti hτ1 hTi | |
| 72 | - J D hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc hbaseH hbaseK n M | |
| 73 | - hK hTib hCMb hCHb hTheta hSigma hchild hMb | |
| 74 | - have hbase : A.hchild*A.badRatio ≤ 2*M*A.hchild*A.badRatio := by | |
| 75 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 76 | - (mul_nonneg A.child_nonneg A.badRatio_nonneg)] | |
| 77 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 78 | - | |
| 79 | 69 | end EulerParentPacketFrames.LabelData |
| 80 | 70 | |
| 81 | 71 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -137,14 +127,4 @@ theorem upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 137 | 127 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.earlyRatio := by ring |
| 138 | 128 | _ ≤ _ := add_le_add hg hb |
| 139 | 129 | |
| 140 | -omit [CompleteSpace U] in | |
| 141 | -theorem initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 142 | - A.hchild*A.earlyRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 143 | - have hb := A.bad_pressure_cost_bound J hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc | |
| 144 | - hbaseH n M hTheta hSigma hchild hMb | |
| 145 | - have hbase : A.hchild*A.earlyRatio ≤ 2*M*A.hchild*A.earlyRatio := by | |
| 146 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 147 | - (mul_nonneg A.child_nonneg A.earlyRatio_nonneg)] | |
| 148 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 149 | - | |
| 150 | 130 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −16 Euler/PacketGeometryProfileEnvelope.lean View file
| @@ -67,14 +67,6 @@ theorem budget_fullProfile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 67 | 67 | exact EulerElapsedTimePathGluing.smul_profile_le D.T τ hτ.le hτT.le L.g L.initial_one |
| 68 | 68 | (J.primaryAmplitude hball) _ ha hf t |
| 69 | 69 | |
| 70 | -include hg in | |
| 71 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 72 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 73 | - (Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime (J.primaryAmplitude hball) | |
| 74 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild*(1+L.C₀)) := | |
| 75 | - Scales.ofTimeProfile_H0_le L.fullProfile L.fullProfile_pos hTime _ _ _ (le_max_left _ _) | |
| 76 | - (fun t => (J.budget_fullProfile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 77 | - | |
| 78 | 70 | end EulerPacketSourceGeometry.Guards |
| 79 | 71 | |
| 80 | 72 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -93,12 +85,4 @@ theorem budget_profile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 93 | 85 | rw [hg] |
| 94 | 86 | exact J.sourceGrowthProfile_amplitude hball t |
| 95 | 87 | |
| 96 | -include hg in | |
| 97 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 98 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 99 | - (Scales.ofTimeProfile L.g L.positive hTime (J.primaryAmplitude hball) | |
| 100 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild) := | |
| 101 | - Scales.ofTimeProfile_H0_le L.g L.positive hTime _ _ _ (le_max_left _ _) | |
| 102 | - (fun t => (J.budget_profile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 103 | - | |
| 104 | 88 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −20 Euler/PacketGeometrySourceGrowth.lean View file
| @@ -40,10 +40,6 @@ theorem growthProfile_pos (hhorizon : G.time G.H=G.t₀+D.T) | ||
| 40 | 40 | |
| 41 | 41 | def growthConstant : ℝ := 560*G.Θ^10/G.ε |
| 42 | 42 | |
| 43 | -theorem growthConstant_pos : 0 < growthConstant G := by | |
| 44 | - unfold growthConstant | |
| 45 | - positivity [G.Theta_pos,G.epsilon_pos] | |
| 46 | - | |
| 47 | 43 | theorem physicalGrowth_of_geometry |
| 48 | 44 | (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) |
| 49 | 45 | (hhorizon : G.time G.H=G.t₀+D.T) |
| @@ -85,20 +81,4 @@ theorem physicalGrowth_of_geometry | ||
| 85 | 81 | simpa only [growthConstant,u,add_sub_cancel_left] using hb |
| 86 | 82 | _ = growthConstant G*growthProfile D G H t/growthProfile D G H s*‖w s‖ := by ring |
| 87 | 83 | |
| 88 | -/-- The profile and its physical growth property are derived together | |
| 89 | -from the actual geometry stage. They are ready for the source-budget constructors. -/ | |
| 90 | -theorem exists_growth_of_geometry | |
| 91 | - (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) | |
| 92 | - (hhorizon : G.time G.H=G.t₀+D.T) | |
| 93 | - (hstrain : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 94 | - G.M x (G.t₀+t)=D.M.field t x.1) | |
| 95 | - (hnormal : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 96 | - G.r x (G.t₀+t)=D.normal.field t x.1) : | |
| 97 | - ∃ (g : C(Icc (0 : ℝ) D.T,ℝ)) (C : ℝ), | |
| 98 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ 0 < C ∧ PhysicalGrowth D Ω g C := by | |
| 99 | - obtain ⟨F,F₁,Z,Z₁,H⟩ := G.exists_geometry | |
| 100 | - exact ⟨growthProfile D G H,growthConstant G,growthProfile_pos D G H hhorizon, | |
| 101 | - growthProfile_initial D G H,growthConstant_pos G, | |
| 102 | - physicalGrowth_of_geometry D G H hinterval hhorizon hstrain hnormal⟩ | |
| 103 | - | |
| 104 | 84 | end EulerPacketGeometrySourceGrowth |
+0 −7 Euler/PacketGevreyProfileChoice.lean View file
| @@ -43,13 +43,6 @@ theorem ofTimeProfile_growth {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ | ||
| 43 | 43 | change timeProfileChange (α • timeProfileChange g h) h.symm = α • g |
| 44 | 44 | rw [timeProfileChange_smul,timeProfileChange_roundtrip] |
| 45 | 45 | |
| 46 | -theorem ofTimeProfile_high {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 47 | - (h : T = T') (α : ℝ) (hα : 0 < α) (p : ℕ) : | |
| 48 | - timeProfileChange ((ofTimeProfile g hg h α hα).high p) h.symm = | |
| 49 | - (α*meanScale (ofTimeProfile g hg h α hα).H0 p) • g := | |
| 50 | - high_timeProfile_eq (ofTimeProfile g hg h α hα) h.symm g α | |
| 51 | - (ofTimeProfile_growth g hg h α hα) p | |
| 52 | - | |
| 53 | 46 | theorem gradeFactor_pos {K : Type*} [TopologicalSpace K] (S : Scales K) |
| 54 | 47 | (α : ℝ) (hα : 0 < α) (p : ℕ) : 0 < α*meanScale S.H0 p := |
| 55 | 48 | mul_pos hα (meanScale_pos S.H0 S.H0_pos p) |
+0 −109 Euler/PacketGraphHessian.lean View file
| @@ -19,11 +19,6 @@ def spatialGradient (q : LiftTangent → ℝ) (z : LiftTangent) : Space := | ||
| 19 | 19 | def angularDerivative (q : LiftTangent → ℝ) (z : LiftTangent) : ℝ := |
| 20 | 20 | fderiv ℝ q z (0,1) |
| 21 | 21 | |
| 22 | -theorem spatialGradient_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : | |
| 23 | - ContDiff ℝ ∞ (spatialGradient q) := | |
| 24 | - (toDual ℝ Space).symm.toContinuousLinearMap.contDiff.comp | |
| 25 | - ((contDiff_infty_iff_fderiv.mp hq).2.clm_comp contDiff_const) | |
| 26 | - | |
| 27 | 22 | theorem angularDerivative_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : |
| 28 | 23 | ContDiff ℝ ∞ (angularDerivative q) := |
| 29 | 24 | (contDiff_infty_iff_fderiv.mp hq).2.clm_apply contDiff_const |
| @@ -62,111 +57,7 @@ theorem gradient_graph {q : LiftTangent → ℝ} (k : ℝ) (m x : Space) | ||
| 62 | 57 | inl_apply,graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] |
| 63 | 58 | ring |
| 64 | 59 | |
| 65 | -theorem gradient_physical {q : LiftTangent → ℝ} (k : ℝ) (m : Space) | |
| 66 | - (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) | |
| 67 | - (hY : HasFDerivAt Y J x) (hq : DifferentiableAt ℝ q (graphMap k m (Y x))) : | |
| 68 | - gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 69 | - k⁻¹^2 • J.adjoint (spatialGradient q (graphMap k m (Y x)))+ | |
| 70 | - (k⁻¹^2*k*angularDerivative q (graphMap k m (Y x))) • J.adjoint m := by | |
| 71 | - have hg := hq.hasFDerivAt.comp (Y x) (graphMap k m).hasFDerivAt | |
| 72 | - have hc := (hg.comp x hY).const_smul (k⁻¹^2) | |
| 73 | - have hd : fderiv ℝ (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 74 | - k⁻¹^2 • ((fderiv ℝ q (graphMap k m (Y x))).comp (graphMap k m)).comp J := hc.fderiv | |
| 75 | - apply ext_inner_right ℝ | |
| 76 | - intro v | |
| 77 | - rw [inner_gradient_left,hd] | |
| 78 | - simp only [smul_apply,comp_apply,smul_eq_mul,inner_add_left,real_inner_smul_left, | |
| 79 | - adjoint_inner_left,spatialGradient,toDual_symm_apply,inl_apply, | |
| 80 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 81 | - ring | |
| 82 | - | |
| 83 | 60 | def transportedNormal (m : Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := |
| 84 | 61 | (J x).adjoint m |
| 85 | 62 | |
| 86 | -def slowForce (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 87 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := | |
| 88 | - (J x).adjoint (spatialGradient q (graphMap k m (Y x))) | |
| 89 | - | |
| 90 | -def lowerHessian (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 91 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space →L[ℝ] Space := | |
| 92 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 93 | - k⁻¹ • (angularDerivative q (graphMap k m (Y x)) • fderiv ℝ (transportedNormal m J) x + | |
| 94 | - (((fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)).comp | |
| 95 | - (J x)).smulRight (transportedNormal m J x)) | |
| 96 | - | |
| 97 | -theorem hessian_physical {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) | |
| 98 | - (k : ℝ) (hk : k ≠ 0) (m : Space) (Y : Space → Space) | |
| 99 | - (J : Space → Space →L[ℝ] Space) (hY : ∀ x, HasFDerivAt Y (J x) x) | |
| 100 | - (x : Space) (hJ : DifferentiableAt ℝ J x) : | |
| 101 | - fderiv ℝ (gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y)))) x = | |
| 102 | - angularDerivative (angularDerivative q) (graphMap k m (Y x)) • | |
| 103 | - rankOne ℝ (transportedNormal m J x) (transportedNormal m J x) + | |
| 104 | - lowerHessian q k m Y J x := by | |
| 105 | - let z := graphMap k m (Y x) | |
| 106 | - let n := transportedNormal m J | |
| 107 | - let a := fun y => angularDerivative q (graphMap k m (Y y)) | |
| 108 | - have hgraph : HasFDerivAt (fun y => graphMap k m (Y y)) | |
| 109 | - ((graphMap k m).comp (J x)) x := (graphMap k m).hasFDerivAt.comp x (hY x) | |
| 110 | - have hang : HasFDerivAt (angularDerivative q) (fderiv ℝ (angularDerivative q) z) z := | |
| 111 | - ((angularDerivative_contDiff hq).differentiable (by simp) z).hasFDerivAt | |
| 112 | - have ha : HasFDerivAt a | |
| 113 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)) x := by | |
| 114 | - convert! hang.comp x hgraph using 1 | |
| 115 | - have hn : DifferentiableAt ℝ n x := | |
| 116 | - (adjoint.differentiableAt.comp x hJ).clm_apply (differentiableAt_const m) | |
| 117 | - have hsp : DifferentiableAt ℝ (spatialGradient q) z := | |
| 118 | - (spatialGradient_contDiff hq).differentiable (by simp) z | |
| 119 | - have hspg : DifferentiableAt ℝ (fun y => spatialGradient q (graphMap k m (Y y))) x := by | |
| 120 | - have hcomp := hsp.comp x hgraph.differentiableAt | |
| 121 | - exact hcomp | |
| 122 | - have hs : DifferentiableAt ℝ (slowForce q k m Y J) x := | |
| 123 | - (adjoint.differentiableAt.comp x hJ).clm_apply hspg | |
| 124 | - have hg : gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) = | |
| 125 | - fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y) := by | |
| 126 | - funext y | |
| 127 | - rw [gradient_physical k m Y (J y) y (hY y) | |
| 128 | - (hq.differentiable (by simp) (graphMap k m (Y y)))] | |
| 129 | - simp only [slowForce,a,n,transportedNormal,smul_smul] | |
| 130 | - congr 1 | |
| 131 | - congr 1 | |
| 132 | - field_simp | |
| 133 | - rw [hg] | |
| 134 | - have hd : fderiv ℝ (fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y)) x = | |
| 135 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 136 | - k⁻¹ • (a x • fderiv ℝ n x + | |
| 137 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)).smulRight | |
| 138 | - (n x)) := | |
| 139 | - ((hs.hasFDerivAt.const_smul (k⁻¹^2)).add | |
| 140 | - ((ha.smul hn.hasFDerivAt).const_smul k⁻¹)).fderiv | |
| 141 | - rw [hd] | |
| 142 | - apply ContinuousLinearMap.ext | |
| 143 | - intro v | |
| 144 | - simp only [lowerHessian,add_apply,smul_apply,comp_apply,smulRight_apply,rankOne_apply, | |
| 145 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 146 | - have hm : ⟪m,J x v⟫_ℝ = ⟪n x,v⟫_ℝ := ((J x).adjoint_inner_left v m).symm | |
| 147 | - rw [hm] | |
| 148 | - dsimp only [z,a,n] | |
| 149 | - simp only [angularDerivative,graph_decomposition,inl_apply] | |
| 150 | - match_scalars <;> field_simp | |
| 151 | - all_goals ring | |
| 152 | - | |
| 153 | -theorem lowerHessian_norm_le (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 154 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : | |
| 155 | - ‖lowerHessian q k m Y J x‖ ≤ | |
| 156 | - |k⁻¹|^2 * ‖fderiv ℝ (slowForce q k m Y J) x‖ + | |
| 157 | - |k⁻¹| * (|angularDerivative q (graphMap k m (Y x))| * | |
| 158 | - ‖fderiv ℝ (transportedNormal m J) x‖ + | |
| 159 | - ‖(fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)‖ * | |
| 160 | - ‖J x‖ * ‖transportedNormal m J x‖) := by | |
| 161 | - unfold lowerHessian | |
| 162 | - apply (norm_add_le _ _).trans | |
| 163 | - simp only [norm_smul,Real.norm_eq_abs,abs_pow] | |
| 164 | - apply add_le_add le_rfl | |
| 165 | - apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) | |
| 166 | - apply (norm_add_le _ _).trans | |
| 167 | - simp only [norm_smul,Real.norm_eq_abs] | |
| 168 | - apply add_le_add le_rfl | |
| 169 | - rw [norm_smulRight_apply] | |
| 170 | - exact mul_le_mul_of_nonneg_right (opNorm_comp_le _ _) (norm_nonneg _) | |
| 171 | - | |
| 172 | 63 | end EulerPacketGraphHessian |
+0 −3 Euler/PacketInductionScaleBounds.lean View file
| @@ -50,9 +50,6 @@ theorem previousFrequency_one (n : ℕ) : 1 ≤ previousFrequency S.J S.D S.X n | ||
| 50 | 50 | | zero => exact S.first.frequency.one_le |
| 51 | 51 | | succ n => exact (S.normal_frequency n).one_le |
| 52 | 52 | |
| 53 | -theorem priorError_nonneg (n : ℕ) : 0 ≤ priorError S.J S.D S.X n := | |
| 54 | - rpow_nonneg (zero_le_one.trans (S.previousFrequency_one n)) _ | |
| 55 | - | |
| 56 | 53 | theorem priorError_one (n : ℕ) : priorError S.J S.D S.X n ≤ 1 := by |
| 57 | 54 | cases n with |
| 58 | 55 | | zero => exact S.first.error_small |
+0 −18 Euler/PacketInductionStage.lean View file
| @@ -88,11 +88,6 @@ theorem horizon_lower : baseHorizon S.J S.X/12 < P.parent.T := by | ||
| 88 | 88 | linarith only [hp] |
| 89 | 89 | · exact (P.time_lower hn).trans_lt P.time_lt |
| 90 | 90 | |
| 91 | -theorem horizon_reciprocal : P.parent.T⁻¹ ≤ 12/baseHorizon S.J S.X := by | |
| 92 | - have hp := div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num : (0 : ℝ) < 12) | |
| 93 | - have h := one_div_le_one_div_of_le hp P.horizon_lower.le | |
| 94 | - simpa only [one_div,inv_div] using h | |
| 95 | - | |
| 96 | 91 | theorem time_pos (hn : n ≠ 0) : 0 < P.time := |
| 97 | 92 | (div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num)).trans_le (P.time_lower hn) |
| 98 | 93 | |
| @@ -101,25 +96,12 @@ theorem time_reciprocal (hn : n ≠ 0) : P.time⁻¹ ≤ 12/baseHorizon S.J S.X | ||
| 101 | 96 | have h := one_div_le_one_div_of_le hp (P.time_lower hn) |
| 102 | 97 | simpa only [one_div,inv_div] using h |
| 103 | 98 | |
| 104 | -theorem exterior_cap : P.low.Be ≤ initialCoefficientCost+1 := by | |
| 105 | - have h := P.exterior_bound | |
| 106 | - have hs := S.initial_partial_sum n | |
| 107 | - have hd := S.delta_small | |
| 108 | - linarith only [h,hs,hd] | |
| 109 | - | |
| 110 | 99 | theorem core_cap : P.low.Bc ≤ gradientConstant*S.X^1000+2 := by |
| 111 | 100 | have h := P.core_bound |
| 112 | 101 | have hs := S.initial_partial_sum n |
| 113 | 102 | have hd := S.delta_small |
| 114 | 103 | linarith only [h,hs,hd] |
| 115 | 104 | |
| 116 | -theorem pressure_cap : P.low.K ≤ initialCoefficientCost+1 := by | |
| 117 | - have h := P.pressure_bound | |
| 118 | - have hs := S.pressure_partial_sum n | |
| 119 | - have hd := S.delta_small | |
| 120 | - have hb := S.first.pressure_small | |
| 121 | - linarith only [h,hs,hd,hb] | |
| 122 | - | |
| 123 | 105 | theorem source_stage : EulerPacketSourceScaleGuards.StageGuards S.J S.D 4 c S.X |
| 124 | 106 | geometryConstant (fun _ => P.frame.a) (fun _ => P.frame.sigma^2) n := |
| 125 | 107 | S.stage _ _ n P.coupling_bounds.1 P.coupling_bounds.2 P.tilt_lower P.tilt_upper |
+0 −9 Euler/PacketInfiniteConstruction.lean View file
| @@ -40,11 +40,6 @@ def stages : (n : ℕ) → Stage S n | ||
| 40 | 40 | | 0 => S.firstStage |
| 41 | 41 | | n+1 => (stages n).successor hq hB |
| 42 | 42 | |
| 43 | -theorem stages_zero : stages S hq hB 0=S.firstStage := rfl | |
| 44 | - | |
| 45 | -theorem stages_succ (n : ℕ) : | |
| 46 | - stages S hq hB (n+1)=(stages S hq hB n).successor hq hB := rfl | |
| 47 | - | |
| 48 | 43 | theorem stages_time (n : ℕ) : |
| 49 | 44 | (stages S hq hB (n+1)).time=(stages S hq hB n).nextTime := |
| 50 | 45 | (stages S hq hB n).successor_time hq hB |
| @@ -58,10 +53,6 @@ theorem stages_initial_step (n : ℕ) (hn : n ≠ 0) : | ||
| 58 | 53 | | zero => exact (hn rfl).elim |
| 59 | 54 | | succ n => exact (stages S hq hB (n+1)).joinedNext_initial_velocity (Nat.succ_ne_zero n) hq hB |
| 60 | 55 | |
| 61 | -theorem stages_gradient_atTop : | |
| 62 | - Tendsto (fun n => (stages S hq hB n).activationGradient) atTop atTop := | |
| 63 | - Stage.gradient_atTop (stages S hq hB) | |
| 64 | - | |
| 65 | 56 | abbrev ConstructionScales := |
| 66 | 57 | Scales (requiredExponent : ℝ) (commonThreshold gradientConstant hessianConstant) |
| 67 | 58 | |
+0 −6 Euler/PacketInitialDatumSupport.lean View file
| @@ -32,12 +32,6 @@ theorem initialDataLimit_support | ||
| 32 | 32 | change tsupport ((initialBase P).field+tail.field) ⊆ Metric.closedBall 0 2 |
| 33 | 33 | exact (tsupport_add _ _).trans (union_subset hbase htail) |
| 34 | 34 | |
| 35 | -theorem initialDataLimit_compact | |
| 36 | - (hbase : tsupport (initialBase P).field ⊆ Metric.closedBall 0 2) : | |
| 37 | - HasCompactSupport (initialDataLimit P hq hB).field := | |
| 38 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 39 | - (initialDataLimit_support P hq hB hbase) | |
| 40 | - | |
| 41 | 35 | theorem initialDataLimit_support_of_physical |
| 42 | 36 | (hbase : tsupport (fun x => (P 1).state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : |
| 43 | 37 | tsupport (initialDataLimit P hq hB).field ⊆ Metric.closedBall 0 2 := by |
+0 −23 Euler/PacketInitialExactLimit.lean View file
| @@ -39,17 +39,6 @@ variable {U : ℕ → Type} [∀ n, NormedAddCommGroup (U n)] [∀ n, InnerProdu | ||
| 39 | 39 | (hk : ∀ n, 4 ≤ frequency J X n) (hn : ∀ n, 1 ≤ truncation (frequency J X n)) |
| 40 | 40 | (Q : ∀ n, (A n).correctionBudget (frequency J X n) (hk n) (hn n)) |
| 41 | 41 | |
| 42 | -def exactPartial (N : ℕ) : Space → Space := | |
| 43 | - fun x => ∑ n ∈ range N, (A n).exactInitial (frequency J X n) (hk n) (hn n) (Q n) x | |
| 44 | - | |
| 45 | -theorem exactPartial_eq (N : ℕ) : exactPartial A J X hk hn Q N=initialPartial A J X N := by | |
| 46 | - funext x | |
| 47 | - unfold exactPartial initialPartial | |
| 48 | - apply sum_congr rfl | |
| 49 | - intro n _ | |
| 50 | - rw [Input.exactInitial_eq] | |
| 51 | - rfl | |
| 52 | - | |
| 53 | 42 | variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) |
| 54 | 43 | (p q : ℕ) (hX : 1 ≤ X) |
| 55 | 44 | (hparameter : ∀ n, (A n).parameterSize ≤ parameterEnvelope J C c p q X n) |
| @@ -59,16 +48,4 @@ variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) | ||
| 59 | 48 | |
| 60 | 49 | local notation "V" => initialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency |
| 61 | 50 | |
| 62 | -theorem selectedQ_initial_Hm (s : ℕ) : | |
| 63 | - Tendsto (fun N => derivativeSum s (exactPartial A J X hk hn Q N-(V).field)) atTop (𝓝 0) := by | |
| 64 | - simpa only [exactPartial_eq] using | |
| 65 | - initialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency s | |
| 66 | - | |
| 67 | -theorem selectedQ_fullInitial_Hm (base : SmoothL2Field Space) (s : ℕ) : | |
| 68 | - Tendsto (fun N => derivativeSum s ((base.field+exactPartial A J X hk hn Q N)- | |
| 69 | - (fullInitialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base).field)) | |
| 70 | - atTop (𝓝 0) := by | |
| 71 | - simpa only [exactPartial_eq] using | |
| 72 | - fullInitialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base s | |
| 73 | - | |
| 74 | 51 | end EulerPacketInitial |
+0 −6 Euler/PacketInitialGeometry.lean View file
| @@ -44,10 +44,4 @@ theorem activation_scaled_velocity {m v w : ℝ → Space} {t₀ a ε C γ : ℝ | ||
| 44 | 44 | rw [hu] |
| 45 | 45 | ring |
| 46 | 46 | |
| 47 | -theorem activation_tangent_pairing {m v r w : ℝ → Space} {s₀ t₀ : ℝ} | |
| 48 | - (hr : r t₀ = s₀ • cross (unit (m t₀)) (unit (v t₀))) | |
| 49 | - (hw : ⟪cross (unit (m t₀)) (unit (v t₀)),w t₀⟫_ℝ = 0) : | |
| 50 | - ⟪r t₀,w t₀⟫_ℝ = 0 := by | |
| 51 | - rw [hr, real_inner_smul_left, hw, mul_zero] | |
| 52 | - | |
| 53 | 47 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketInitialSmoothFields.lean View file
| @@ -35,12 +35,4 @@ def initializedInitialMeanField (N : ℕ) (k : ℝ) : SmoothL2Field Space where | ||
| 35 | 35 | exact scale_contDiff M.ℓ _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) |
| 36 | 36 | integrable n := initializedInitialMean_memLp M D hTime τ hτ hτT B δ hδ ξ hs α N n k |
| 37 | 37 | |
| 38 | -theorem initializedInitialHighField_field (N : ℕ) (k : ℝ) : | |
| 39 | - (initializedInitialHighField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 40 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 41 | - | |
| 42 | -theorem initializedInitialMeanField_field (N : ℕ) (k : ℝ) : | |
| 43 | - (initializedInitialMeanField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 44 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 45 | - | |
| 46 | 38 | end EulerPacketTerminalDatum |
+0 −4 Euler/PacketInitialSmoothLimit.lean View file
| @@ -77,10 +77,6 @@ theorem initialLimit_support : tsupport (V).field ⊆ Metric.closedBall 0 2 := | ||
| 77 | 77 | (actual_increment_summable A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) |
| 78 | 78 | (Metric.closedBall 0 2) Metric.isClosed_closedBall (fun n => (A n).increment_support (frequency J X n)) |
| 79 | 79 | |
| 80 | -theorem initialLimit_compact : HasCompactSupport (V).field := | |
| 81 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 82 | - (initialLimit_support A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) | |
| 83 | - | |
| 84 | 80 | def fullInitialLimit (base : SmoothL2Field Space) : SmoothL2Field Space := addField base V |
| 85 | 81 | |
| 86 | 82 | theorem fullInitialLimit_Hm (base : SmoothL2Field Space) (s : ℕ) : |
+0 −39 Euler/PacketInitializedCorrectionChoice.lean View file
| @@ -32,43 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -/-- One source-dependent initial radius and growth constant work at all | |
| 36 | -sufficiently large frequencies for the literal truncation floor(k^ϑ). -/ | |
| 37 | -theorem initialized_correction_budgets_eventually : | |
| 38 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C := by | |
| 44 | - classical | |
| 45 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 46 | - let Kc := L.correctionCoefficients NB period | |
| 47 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 48 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 49 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 50 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 51 | - rw [hprofile] | |
| 52 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 53 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 54 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 55 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 56 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 57 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 58 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 60 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 61 | - filter_upwards [fixed_costs_eventually | |
| 62 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 63 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 64 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 65 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 66 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 67 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 68 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 69 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 70 | - Ξ hΞ hF hdet | |
| 71 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 72 | - simp only [Q,initializedAllOrderBudget,ρ0,cg] | |
| 73 | - | |
| 74 | 35 | end EulerPacketTerminalDatum |
+0 −31 Euler/PacketInitializedCorrectionEstimateChoice.lean View file
| @@ -109,35 +109,4 @@ theorem initialized_correction_estimates_eventually : | ||
| 109 | 109 | hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), |
| 110 | 110 | ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ |
| 111 | 111 | |
| 112 | -/-- Every fixed polynomial loss can be paid while making all three | |
| 113 | -actual weighted H⁶ norms smaller than any prescribed inverse power. | |
| 114 | -The chosen frequency works simultaneously at every finite cutoff. -/ | |
| 115 | -theorem initialized_correction_with_power_loss_eventually | |
| 116 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 117 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 118 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 119 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 121 | - (truncation k) hn k hk)), | |
| 122 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 123 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 124 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 125 | - ((Q.fieldTower period).realization s t) < k^(-p) ∧ | |
| 126 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 127 | - ((Q.pressureTower period).realization s t) < k^(-p) ∧ | |
| 128 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 129 | - ((Q.timeDerivativeTower period).realization s t) < k^(-p) := by | |
| 130 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 131 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 132 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 133 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 135 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 136 | - intro s N hN t | |
| 137 | - have hscale : 0 ≤ physicalCost*k^loss := mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 138 | - have hb (x : ℝ) (hx : x ≤ C*delta (expansion k)) : physicalCost*k^loss*x < k^(-p) := by | |
| 139 | - apply (mul_le_mul_of_nonneg_left hx hscale).trans_lt | |
| 140 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hkbound | |
| 141 | - exact ⟨hb _ (hbounds s N hN t).1,hb _ (hbounds s N hN t).2.1,hb _ (hbounds s N hN t).2.2⟩ | |
| 142 | - | |
| 143 | 112 | end EulerPacketTerminalDatum |
+0 −45 Euler/PacketInitializedExactLifted.lean View file
| @@ -81,49 +81,4 @@ def initializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 81 | 81 | exactPacketOfResidual period Q |
| 82 | 82 | (initializedApproximationResidual M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) |
| 83 | 83 | |
| 84 | -theorem initializedExactPacket_velocity_odd | |
| 85 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 86 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 87 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 88 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 89 | - (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 90 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 91 | - (k : ℝ) (hk : 4 ≤ k) | |
| 92 | - (Q : Budget period D.T_pos | |
| 93 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) | |
| 94 | - (t : Icc (0 : ℝ) D.T) : | |
| 95 | - -reflection period | |
| 96 | - ((initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 97 | - (initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 98 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 99 | - (initializedCorrectionParityData M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - eM hSym hF hDM hBH Cagree N hN k hk) t | |
| 101 | - | |
| 102 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 103 | -The original source data construct the budget and the exact corrected pair | |
| 104 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 105 | -theorem initialized_exact_lifted_packets_eventually | |
| 106 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 107 | - (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) | |
| 108 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 109 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 110 | - (Cagree : SourceCoefficientAgreement M D) | |
| 111 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 112 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 113 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 114 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 115 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 116 | - (Q : Budget period D.T_pos | |
| 117 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 118 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 119 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 121 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := initialized_correction_budgets_eventually M D hTime τ hτ hτT B | |
| 122 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 123 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 124 | - filter_upwards [he] with k hk | |
| 125 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 126 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 127 | - ⟨initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 128 | - | |
| 129 | 84 | end EulerPacketTerminalDatum |
+0 −34 Euler/PacketInitializedHessianChoice.lean View file
| @@ -32,38 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | (hFb : ∀ n t x, |
| 33 | 33 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 34 | 34 | |
| 35 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 36 | -theorem initialized_correction_gradient_hessian_eventually (p : ℝ) : | |
| 37 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 38 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 39 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 40 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 41 | - (truncation k) hn k hk)), | |
| 42 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 43 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 44 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 45 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 46 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k^(-p) := by | |
| 47 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_physical_fields_eventually | |
| 48 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 49 | - Ξ Y hΞ hF hΞY hY hdet R CF hR hCF hFb 1 p | |
| 50 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 51 | - intro t x | |
| 52 | - rw [← hF t x] | |
| 53 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 54 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 55 | - filter_upwards [hQ] with k hQ | |
| 56 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 57 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 58 | - intro t x | |
| 59 | - have h := hbounds 1 le_rfl t x | |
| 60 | - constructor | |
| 61 | - · simpa only [norm_iteratedFDeriv_one] using h.1 | |
| 62 | - · have hkκ : k*(initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 63 | - (truncation k) hn k hk).κ=1 := by | |
| 64 | - change k*k⁻¹=1 | |
| 65 | - exact mul_inv_cancel₀ (by linarith) | |
| 66 | - rw [Q.physicalPotential_hessian_norm D period Ξ Y hX hΞY hY k hkκ t x] | |
| 67 | - exact h.2 | |
| 68 | - | |
| 69 | 35 | end EulerPacketTerminalDatum |
+0 −17 Euler/PacketInitializedInitial.lean View file
| @@ -70,23 +70,6 @@ theorem initializedInitial_common_support | ||
| 70 | 70 | initializedInitialMean_support M D hTime τ hτ hτT B δ hδ ξ hs α N k⟩ |
| 71 | 71 | exact Metric.closedBall_subset_closedBall (by have := M.ℓ_le_one; linarith) |
| 72 | 72 | |
| 73 | -include hTime in | |
| 74 | -theorem initializedInitialMean_zero (hL : M.L=0) (N : ℕ) (k : ℝ) : | |
| 75 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k = 0 := by | |
| 76 | - funext x | |
| 77 | - change M.ℓ • EulerPacketInitial.mean N k⁻¹ 0 | |
| 78 | - (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α) | |
| 79 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 | |
| 80 | - rw [EulerPacketInitial.mean_eq] | |
| 81 | - simp only [EulerPacketPointJets.fieldSum,EulerFiniteGrades.evaluate,EulerPacketInitial.timeSlice] | |
| 82 | - have hz (i : ℕ) := joinedSource_mean_initial_zero period M D hTime τ hτ hτT B | |
| 83 | - (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 84 | - (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 85 | - rfl hL i (M.ℓ⁻¹ • x) (k*inner ℝ D.m₀ (M.ℓ⁻¹ • x)) | |
| 86 | - simp only [show ∀ i, (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α i).mean | |
| 87 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 from hz, | |
| 88 | - smul_zero,Finset.sum_const_zero] | |
| 89 | - | |
| 90 | 73 | variable |
| 91 | 74 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 92 | 75 | (H : EulerTransversePacketPrimary.Budget L) |
+0 −9 Euler/PacketInitializedInitialExact.lean View file
| @@ -50,15 +50,6 @@ theorem initializedInitialMean_memLp (N n : ℕ) (k : ℝ) : | ||
| 50 | 50 | exact scale_jet_memLp M.ℓ M.ℓ_pos _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) n |
| 51 | 51 | (G.raw_graph_tensor_memLp ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀ n) |
| 52 | 52 | |
| 53 | -include hTime in | |
| 54 | -theorem initializedInitial_compact | |
| 55 | - (hS : D.support ⊆ Metric.closedBall 0 (1/2 : ℝ)) (N : ℕ) (k : ℝ) : | |
| 56 | - HasCompactSupport (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k) ∧ | |
| 57 | - HasCompactSupport (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k) := by | |
| 58 | - have h := initializedInitial_common_support M D hTime τ hτ hτT B δ hδ ξ hs α hS N k | |
| 59 | - exact ⟨(isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.1, | |
| 60 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.2⟩ | |
| 61 | - | |
| 62 | 53 | variable (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 63 | 54 | (Q : Budget period D.T_pos |
| 64 | 55 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) |
+0 −2 Euler/PacketInitializedOutputCosts.lean View file
| @@ -26,8 +26,6 @@ def polynomial : Polynomial ℝ := 1+ | ||
| 26 | 26 | def uniformConstant : ℝ := coefficientCost polynomial |
| 27 | 27 | def uniformPower : ℕ := polynomial.natDegree |
| 28 | 28 | |
| 29 | -theorem uniformConstant_pos : 0 < uniformConstant := coefficientCost_pos _ | |
| 30 | - | |
| 31 | 29 | theorem polynomial_eval (W : ℝ) : polynomial.eval W=envelope W := by |
| 32 | 30 | unfold polynomial envelope EulerPacketInitializedCost.envelope |
| 33 | 31 | simp only [Polynomial.eval_add,Polynomial.eval_one,Polynomial.eval_mul, |
+0 −50 Euler/PacketInitializedPhysicalChoice.lean View file
| @@ -36,54 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | (hFb : ∀ n t x, |
| 37 | 37 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 38 | 38 | |
| 39 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 40 | -theorem initialized_correction_physical_derivatives_eventually (N : ℕ) (p : ℝ) : | |
| 41 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 42 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 43 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 44 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 45 | - (truncation k) hn k hk)), | |
| 46 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 47 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 48 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 49 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 50 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 51 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 52 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 53 | - let Ctop := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 54 | - have hCtop : 0 ≤ Ctop := | |
| 55 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 56 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 57 | - intro t x | |
| 58 | - rw [← hF t x] | |
| 59 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 60 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 61 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 62 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 63 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 64 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 65 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 66 | - intro n hnN t x | |
| 67 | - have hk1 : 1 ≤ k := by linarith | |
| 68 | - have hk0 : 0 ≤ k := by linarith | |
| 69 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 70 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 71 | - exact inv_le_one_of_one_le₀ hk1 | |
| 72 | - have he := physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 73 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 74 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 75 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x | |
| 76 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 77 | - exact single_le_sum | |
| 78 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 79 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 80 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 81 | - have hupper : physicalFixedCost D R CF (4/ρ0) n*(Cpt*delta (expansion k))*k^n ≤ | |
| 82 | - Ctop*(Cpt*delta (expansion k))*k^N := | |
| 83 | - mul_le_mul (mul_le_mul_of_nonneg_right hcn (by positivity)) | |
| 84 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 85 | - have hsmall : Ctop*(Cpt*delta (expansion k))*k^N < k^(-p) := by | |
| 86 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 87 | - exact he.trans_lt (hupper.trans_lt hsmall) | |
| 88 | - | |
| 89 | 39 | end EulerPacketTerminalDatum |
+0 −64 Euler/PacketInitializedPhysicalFieldsChoice.lean View file
| @@ -35,68 +35,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 35 | 35 | (hFb : ∀ n t x, |
| 36 | 36 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 37 | 37 | |
| 38 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 39 | -theorem initialized_correction_physical_fields_eventually (N : ℕ) (p : ℝ) : | |
| 40 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 48 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 49 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • (D.FInv.field t (Y t y)).adjoint | |
| 50 | - (Q.pointPressure period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 51 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 54 | - let Csum := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 55 | - let Ctop := (1+9*CF)*Csum | |
| 56 | - have hCsum : 0 ≤ Csum := | |
| 57 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 58 | - have hCtop : 0 ≤ Ctop := by dsimp [Ctop]; positivity | |
| 59 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 60 | - intro t x | |
| 61 | - rw [← hF t x] | |
| 62 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 63 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 64 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 65 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 66 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 67 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 68 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 69 | - intro n hnN t x | |
| 70 | - have hk1 : 1 ≤ k := by linarith | |
| 71 | - have hk0 : 0 ≤ k := by linarith | |
| 72 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 73 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 74 | - exact inv_le_one_of_one_le₀ hk1 | |
| 75 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Csum := by | |
| 76 | - exact single_le_sum | |
| 77 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 78 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 79 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 80 | - have hcv : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := hcn.trans (by dsimp [Ctop]; nlinarith) | |
| 81 | - have hcp : 9*CF*physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 82 | - apply (mul_le_mul_of_nonneg_left hcn (by positivity : 0 ≤ 9*CF)).trans | |
| 83 | - dsimp [Ctop] | |
| 84 | - nlinarith | |
| 85 | - have absorb (v c : ℝ) (hc : c ≤ Ctop) | |
| 86 | - (hv : v ≤ c*(Cpt*delta (expansion k))*k^n) : v < k^(-p) := by | |
| 87 | - have hu : c*(Cpt*delta (expansion k))*k^n ≤ Ctop*(Cpt*delta (expansion k))*k^N := | |
| 88 | - mul_le_mul (mul_le_mul_of_nonneg_right hc (by positivity)) | |
| 89 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 90 | - apply hv.trans_lt (hu.trans_lt _) | |
| 91 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 92 | - constructor | |
| 93 | - · exact absorb _ _ hcv (physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 94 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 95 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 96 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x) | |
| 97 | - · exact absorb _ _ hcp (physicalPressureForce_power_bound D period k⁻¹ k (Q.pointPressure period) | |
| 98 | - (Q.pointPressure_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 99 | - hR hCF (by positivity) hS hdet hFb (fun j s y => (hbounds j s y).2.1) | |
| 100 | - Ξ Y hX hYd hΞY hk1 hκ n t x) | |
| 101 | - | |
| 102 | 38 | end EulerPacketTerminalDatum |
+0 −86 Euler/PacketInitializedPointwiseChoice.lean View file
| @@ -31,90 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- The actual weighted correction estimates imply literal pointwise | |
| 35 | -mixed-word Gevrey estimates, uniformly in time, order and position. | |
| 36 | -The radius 4/ρ0 and amplitude constant depend only on the fixed source data. -/ | |
| 37 | -theorem initialized_correction_pointwise_eventually : | |
| 38 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 44 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 45 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) ≤ | |
| 46 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 47 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) ≤ | |
| 48 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 49 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) ≤ | |
| 50 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 51 | - obtain ⟨ρ0,G,C,hρ,hG,hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - let Cpt := 1+sobolevEmbeddingConstant period 3*C | |
| 54 | - have hS := sobolevEmbeddingConstant_nonneg period 3 | |
| 55 | - have hCpt : 0 < Cpt := by dsimp [Cpt]; positivity | |
| 56 | - refine ⟨ρ0,G,Cpt,hρ,hG,hCpt,?_⟩ | |
| 57 | - filter_upwards [hQ] with k hQ | |
| 58 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 59 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 60 | - intro n t x | |
| 61 | - have hr : 0 < ρ0/4 := by positivity | |
| 62 | - have hInv : (ρ0/4)⁻¹=4/ρ0 := inv_div _ _ | |
| 63 | - have hbound (F : FieldTower period D.T) | |
| 64 | - (hF : weightedNorm period 6 n (ρ0/4) (F.realization (n+6) t) ≤ C*delta (expansion k)) : | |
| 65 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (F.pointField t) x‖) ≤ | |
| 66 | - Cpt*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 67 | - have h := F.pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 68 | - (ρ0/4) (C*delta (expansion k)) hr t hF x | |
| 69 | - rw [hInv] at h | |
| 70 | - have hAmp : sobolevEmbeddingConstant period 3*C ≤ Cpt := by dsimp [Cpt]; linarith | |
| 71 | - have hscale := mul_le_mul_of_nonneg_right hAmp (delta_pos (expansion k)).le | |
| 72 | - have hp := mul_le_mul_of_nonneg_right hscale (pow_nonneg (by positivity : 0 ≤ 4/ρ0) n) | |
| 73 | - have hf := mul_le_mul_of_nonneg_right hp (sq_nonneg (n.factorial : ℝ)) | |
| 74 | - apply h.trans | |
| 75 | - simpa only [mul_assoc] using hf | |
| 76 | - have he := hbound (Q.fieldTower period) (hbounds (n+6) n (by omega) t).1 | |
| 77 | - have hp := hbound (Q.pressureTower period) (hbounds (n+6) n (by omega) t).2.1 | |
| 78 | - have ht := hbound (Q.timeDerivativeTower period) (hbounds (n+6) n (by omega) t).2.2 | |
| 79 | - simpa only [Q.correctionTower_pointField period t,Q.pressureTower_pointField period t, | |
| 80 | - Q.timeDerivativeTower_pointField period t] using And.intro he (And.intro hp ht) | |
| 81 | - | |
| 82 | -/-- Even after any fixed physical polynomial loss, the whole actual | |
| 83 | -pointwise mixed-derivative Gevrey envelope is smaller than a prescribed | |
| 84 | -inverse power of the frequency. -/ | |
| 85 | -theorem initialized_correction_pointwise_power_loss_eventually | |
| 86 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 87 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 88 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 89 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 90 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 91 | - (truncation k) hn k hk)), | |
| 92 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 93 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 94 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 95 | - ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) < | |
| 96 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 97 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 98 | - ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) < | |
| 99 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 100 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 101 | - ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) < | |
| 102 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 103 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_pointwise_eventually | |
| 104 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 105 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 106 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 107 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 108 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 109 | - intro n t x | |
| 110 | - have hscale : 0 ≤ physicalCost*k^loss := | |
| 111 | - mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 112 | - have hword : 0 < (4/ρ0)^n*(n.factorial : ℝ)^2 := by positivity | |
| 113 | - have hm := mul_lt_mul_of_pos_right hkbound hword | |
| 114 | - have hbound (X : ℝ) (hX : X ≤ C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2) : | |
| 115 | - physicalCost*k^loss*X < k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 116 | - apply (mul_le_mul_of_nonneg_left hX hscale).trans_lt | |
| 117 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 118 | - exact ⟨hbound _ (hbounds n t x).1,hbound _ (hbounds n t x).2.1,hbound _ (hbounds n t x).2.2⟩ | |
| 119 | - | |
| 120 | 34 | end EulerPacketTerminalDatum |
+0 −5 Euler/PacketInitializedRadiusPolynomial.lean View file
| @@ -619,9 +619,4 @@ theorem initializedRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 619 | 619 | unfold radiusEnvelope |
| 620 | 620 | nlinarith only [hW0,hreq0,hmean0,hgrade0] |
| 621 | 621 | |
| 622 | -theorem initializedRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 623 | - (H : RadiusPrimitives LM L NB BC δ ξ W) : | |
| 624 | - initializedRadius LM L NB BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 625 | - (initializedRadius_le_envelope LM L NB BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 626 | - | |
| 627 | 622 | end EulerPacketRadiusPolynomial |
+0 −66 Euler/PacketInitializedRemainder.lean View file
| @@ -51,40 +51,6 @@ def initializedPrimaryRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : | ||
| 51 | 51 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) κ).changeTime hTime).congr |
| 52 | 52 | (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 53 | 53 | |
| 54 | -include hTime in | |
| 55 | -/-- The exact derivative split, with the primary's genuine canonical | |
| 56 | -velocity and transported normal. -/ | |
| 57 | -theorem initializedVelocity_gradient_split (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 62 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) = | |
| 63 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) + | |
| 64 | - fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 65 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 66 | - let V := vectorField τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 67 | - have hp := ((V.smul k⁻¹).raw_graph_contDiff t k D.m₀).differentiable (by simp) | |
| 68 | - have hr := ((initializedPrimaryRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α N hN k⁻¹).raw_graph_contDiff | |
| 69 | - t k D.m₀).differentiable (by simp) | |
| 70 | - have hp' : DifferentiableAt ℝ (fun y => k⁻¹ • vector τ hτ hτT B | |
| 71 | - (initialData D δ hδ (α • ξ) hs) (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 72 | - simpa only [Function.comp_def,Pi.smul_apply] using (hp (Y (X 0))).comp (X 0) hY | |
| 73 | - have hr' : DifferentiableAt ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 74 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 75 | - simpa only [Function.comp_def] using (hr (Y (X 0))).comp (X 0) hY | |
| 76 | - have he : (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 77 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) = | |
| 78 | - (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 79 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) + | |
| 80 | - (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 81 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) := by | |
| 82 | - funext y | |
| 83 | - dsimp only [initializedPrimaryRemainder,Pi.add_apply,Pi.sub_apply,Pi.smul_apply] | |
| 84 | - abel | |
| 85 | - rw [he,fderiv_add hp' hr', | |
| 86 | - scaled_terminal_physical_gradient τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft] | |
| 87 | - | |
| 88 | 54 | variable |
| 89 | 55 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 90 | 56 | (H : EulerTransversePacketPrimary.Budget L) |
| @@ -114,16 +80,6 @@ theorem initializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk | ||
| 114 | 80 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) hN BC k hk hbase |
| 115 | 81 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 116 | 82 | |
| 117 | -theorem initializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 118 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 119 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 120 | - ‖initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 121 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 122 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 123 | - (initializedPrimaryRemainder_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 124 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 125 | - (by norm_num) t k D.m₀ (Y x) | |
| 126 | - | |
| 127 | 83 | theorem initializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 128 | 84 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 129 | 85 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| @@ -168,26 +124,4 @@ theorem initializedPrimaryRemainder_physical_fderiv_inv (N : ℕ) (hN : 1 ≤ N) | ||
| 168 | 124 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hf hb) (norm_nonneg _) |
| 169 | 125 | _ = _ := by unfold initializedRemainderDerivativeCost; field_simp; ring |
| 170 | 126 | |
| 171 | -/-- The finite packet's actual center gradient differs from its exact | |
| 172 | -primary shear by O(1/k), with the genuine inverse frame norm. -/ | |
| 173 | -theorem initializedVelocity_gradient_error (N : ℕ) (hN : 1 ≤ N) | |
| 174 | - (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 175 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 176 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 177 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 178 | - ‖fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 179 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) - | |
| 180 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 181 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ := by | |
| 182 | - have hk0 : k ≠ 0 := by linarith | |
| 183 | - rw [initializedVelocity_gradient_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 184 | - N hN k hk0 t X Y hX hY hleft,add_sub_cancel_left] | |
| 185 | - have he : Y ∘ X = id := funext hleft | |
| 186 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 187 | - rw [he,fderiv_id,id_comp] at hdY | |
| 188 | - have h := initializedPrimaryRemainder_physical_fderiv_inv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 189 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y (X 0) hY | |
| 190 | - rw [hdY] at h | |
| 191 | - exact h | |
| 192 | - | |
| 193 | 127 | end EulerPacketTerminalDatum |
+0 −11 Euler/PacketInitializedUniformBudget.lean View file
| @@ -60,15 +60,4 @@ def initializedUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_po | ||
| 60 | 60 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 61 | 61 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 62 | 62 | |
| 63 | -theorem initializedUniformBudget_delta : | |
| 64 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 65 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 66 | - | |
| 67 | -theorem initializedUniformBudget_initialRadius : | |
| 68 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 69 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 70 | - initialRadius | |
| 71 | - (initializedRadius LM L NB (joinedCoefficientBudget period M D hTime τ hτ hτT B NB) δ ξ) | |
| 72 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 73 | - | |
| 74 | 63 | end EulerPacketTerminalDatum |
+0 −52 Euler/PacketJetAssembly.lean View file
| @@ -11,58 +11,6 @@ open EulerFiniteGrades Finset | ||
| 11 | 11 | |
| 12 | 12 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | 13 | |
| 14 | -theorem jet_zero (z : Domain) : jet (fun _ : Domain => (0 : E)) z = 0 := by | |
| 15 | - simp [jet] | |
| 16 | - | |
| 17 | -theorem jet_add (f g : Domain → E) (z : Domain) | |
| 18 | - (hf : DifferentiableAt ℝ f z) (hg : DifferentiableAt ℝ g z) : | |
| 19 | - jet (f+g) z = jet f z+jet g z := by | |
| 20 | - simp only [jet, Pi.add_apply, fderiv_add hf hg, Prod.mk_add_mk] | |
| 21 | - | |
| 22 | -theorem jet_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 23 | - jet (truncate N u n) z = truncate N (fun i => jet (u i) z) n := by | |
| 24 | - by_cases hn : n ≤ N | |
| 25 | - · simp only [truncate_of_le N n _ hn] | |
| 26 | - · simp only [truncate_of_gt N n _ (by omega), Pi.zero_def] | |
| 27 | - exact jet_zero z | |
| 28 | - | |
| 29 | -theorem jet_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 30 | - jet (shiftUp N u n) z = shiftUp N (fun i => jet (u i) z) n := by | |
| 31 | - cases n with | |
| 32 | - | zero => exact jet_zero z | |
| 33 | - | succ n => exact jet_truncate N n u z | |
| 34 | - | |
| 35 | -theorem differentiableAt_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 36 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 37 | - DifferentiableAt ℝ (truncate N u n) z := by | |
| 38 | - by_cases hn : n ≤ N | |
| 39 | - · simpa only [truncate_of_le N n _ hn] using hu n hn | |
| 40 | - · simpa only [truncate_of_gt N n _ (by omega), Pi.zero_def] using | |
| 41 | - (differentiableAt_const (c := (0 : E))) | |
| 42 | - | |
| 43 | -theorem differentiableAt_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 44 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 45 | - DifferentiableAt ℝ (shiftUp N u n) z := by | |
| 46 | - cases n with | |
| 47 | - | zero => exact differentiableAt_const (c := (0 : E)) | |
| 48 | - | succ n => exact differentiableAt_truncate N n u z hu | |
| 49 | - | |
| 50 | -theorem jet_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 53 | - jet (assemble N u c n) z = | |
| 54 | - assemble N (fun i => jet (u i) z) (fun i => jet (c i) z) n := by | |
| 55 | - change jet (truncate N u n+shiftUp N c n) z = _ | |
| 56 | - rw [jet_add _ _ z (differentiableAt_truncate N n u z hu) | |
| 57 | - (differentiableAt_shiftUp N n c z hc), jet_truncate, jet_shiftUp] | |
| 58 | - rfl | |
| 59 | - | |
| 60 | -theorem differentiableAt_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 61 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 62 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 63 | - DifferentiableAt ℝ (assemble N u c n) z := | |
| 64 | - (differentiableAt_truncate N n u z hu).add (differentiableAt_shiftUp N n c z hc) | |
| 65 | - | |
| 66 | 14 | /-- The extra degree N+1 is precisely the final divergence corrector in (13). -/ |
| 67 | 15 | theorem fieldSum_assemble_from_one (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) |
| 68 | 16 | (hu : u 0=0) (hc : c 0=0) (z : Domain) : |
+0 −25 Euler/PacketJoinedGradeBounds.lean View file
| @@ -147,29 +147,4 @@ theorem grade_bounds : | ||
| 147 | 147 | · exact (hπ.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 148 | 148 | L.radius_bounds.1 (mul_nonneg (by norm_num) (L.pressureAmplitude_nonneg N)) W.pressureGradient hroom.2 |
| 149 | 149 | |
| 150 | -theorem vector_grade_bound : | |
| 151 | - ((vectorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 152 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 153 | - (L.grade_bounds N W G F c hc p hp hforce).1 | |
| 154 | - | |
| 155 | -theorem derivative_grade_bound : | |
| 156 | - ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 157 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 158 | - (L.grade_bounds N W G F c hc p hp hforce).2.1 | |
| 159 | - | |
| 160 | -theorem corrector_grade_bound : | |
| 161 | - ((correctorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 162 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 163 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.1 | |
| 164 | - | |
| 165 | -theorem corrector_derivative_grade_bound : | |
| 166 | - ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 167 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 168 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.1 | |
| 169 | - | |
| 170 | -theorem pressure_gradient_grade_bound : | |
| 171 | - ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 172 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 173 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.2 | |
| 174 | - | |
| 175 | 150 | end EulerTransversePacketJoin.Budget |
+0 −15 Euler/PacketJoinedResidualFields.lean View file
| @@ -24,21 +24,6 @@ def joinedTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 24 | 24 | (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) |
| 25 | 25 | (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn |
| 26 | 26 | |
| 27 | -def joinedLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 28 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 29 | - ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame z) | |
| 30 | - ((joinedSourceOperators P M D τ hτ hτT B).strain z) | |
| 31 | - ((joinedSourceOperators P M D τ hτ hτT B).normal z) | |
| 32 | - (assembledVelocity N (joinedSourceProfiles P M D τ hτ hτT B primary)) | |
| 33 | - (assembledPressure N (joinedSourceProfiles P M D τ hτ hτT B primary)) z n) := | |
| 34 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 35 | - (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) | |
| 36 | - (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn | |
| 37 | - | |
| 38 | -theorem joinedLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 39 | - (joinedLiteralTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path = | |
| 40 | - (joinedTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path := rfl | |
| 41 | - | |
| 42 | 27 | def joinedTailSumField (N : ℕ) (κ : ℝ) : |
| 43 | 28 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 44 | 29 | recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
+0 −6 Euler/PacketJoinedSuccessor.lean View file
| @@ -180,12 +180,6 @@ def joinedNext : Stage S (n+1) := by | ||
| 180 | 180 | |
| 181 | 181 | theorem joinedNext_time : (P.joinedNext hn hq hB).time=P.nextTime := rfl |
| 182 | 182 | |
| 183 | -theorem joinedNext_initial_increment : | |
| 184 | - (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)- | |
| 185 | - P.state.evolution.velocity (0,x)) = (I).high k+(I).mean k := | |
| 186 | - GeometryJoinedChoice.initial_increment_eq I P.restrictedState k hk ell | |
| 187 | - (S.support_pos (n+1)) (S.support_one (n+1)) F symmetric | |
| 188 | - | |
| 189 | 183 | theorem joinedNext_initial_velocity : |
| 190 | 184 | (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)) = |
| 191 | 185 | (fun x => P.state.evolution.velocity (0,x))+((I).high k+(I).mean k) := |
+0 −24 Euler/PacketKnownGrade.lean View file
| @@ -20,28 +20,4 @@ theorem history_congr (p : ℕ) (u v : ℕ → VectorJet) (c : VectorJet) | ||
| 20 | 20 | · simp only [history, hi, ite_true, huv i hi] |
| 21 | 21 | · simp only [history, hi, ite_false] |
| 22 | 22 | |
| 23 | -/-- The only new nonlinear term is the mean coefficient against the primary angular derivative. -/ | |
| 24 | -theorem nonlinearGrade_eq_history (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 25 | - (FInv : Space →L[ℝ] Space) (m : Space) (u : ℕ → VectorJet) | |
| 26 | - (A B c : VectorJet) (hu0 : u 0=0) (hnew : u p=c+(A+B)) | |
| 27 | - (hprimary : ⟪m,(u 1).1⟫_ℝ=0) (hA : ⟪m,A.1⟫_ℝ=0) : | |
| 28 | - nonlinearGrade M p FInv m u = nonlinearGrade M p FInv m (history p u c)+ | |
| 29 | - fastAdvection m B (u 1) := by | |
| 30 | - have h0 : history p u c 0=0 := by simp [history, show 0<p by omega, hu0] | |
| 31 | - have h1 : history p u c 1=u 1 := by simp [history, show 1<p by omega] | |
| 32 | - have hsame : ∀ i<p, u i=history p u c i := by | |
| 33 | - intro i hi | |
| 34 | - simp [history, hi] | |
| 35 | - have hnew' : u p=history p u c p+(A+B) := by simpa [history] using hnew | |
| 36 | - simpa only [h1] using nonlinearGrade_update M p hp hMp FInv m (history p u c) u A B | |
| 37 | - h0 hsame hnew' (by simpa only [h1] using hprimary) hA | |
| 38 | - | |
| 39 | -/-- The unknown mean-primary interaction has exactly zero angular mean. -/ | |
| 40 | -theorem mean_primary_interaction_zero (P : ℝ) (m B : Space) (A Aθ : ℝ → Space) | |
| 41 | - (hA : ∀ θ, HasDerivAt A (Aθ θ) θ) (hAθ : Continuous Aθ) | |
| 42 | - (hper : Function.Periodic A P) : | |
| 43 | - (∫ θ in 0..P, ⟪m,B⟫_ℝ • Aθ θ)=0 := | |
| 44 | - EulerPeriodicDerivativeMean.integral_constant_smul_derivative_eq_zero P ⟪m,B⟫_ℝ | |
| 45 | - A Aθ hA hAθ hper | |
| 46 | - | |
| 47 | 23 | end EulerPacketPointJets |
+0 −5 Euler/PacketKnownPieceScales.lean View file
| @@ -65,11 +65,6 @@ theorem slow_shift_room (k l : KnownPiece) (i j p : ℕ) | ||
| 65 | 65 | have hs := slow_high_high_room i j p hi hj hij |
| 66 | 66 | omega |
| 67 | 67 | |
| 68 | -theorem slow_shift_room_high (k l : KnownPiece) (i j p : ℕ) | |
| 69 | - (hi : 1 ≤ i) (hj : 1 ≤ j) (hij : i+j=p) : | |
| 70 | - k.shift i+l.shift j+1 < highForceShift p := | |
| 71 | - lt_of_lt_of_le (slow_shift_room k l i j p hi hj hij) (mean_force_le_high_force p) | |
| 72 | - | |
| 73 | 68 | theorem fast_mean_shift_room (l : KnownPiece) (i j p : ℕ) |
| 74 | 69 | (hi : 2 ≤ i) (hj : 1 ≤ j) (hij : i+j=p+1) : |
| 75 | 70 | KnownPiece.mean.shift i+l.shift j+1 < highForceShift p := by |
+0 −9 Euler/PacketKnownPieces.lean View file
| @@ -32,11 +32,6 @@ def active (k : KnownPiece) (p i : ℕ) : Prop := | ||
| 32 | 32 | instance (k : KnownPiece) (p i : ℕ) : Decidable (k.active p i) := by |
| 33 | 33 | cases k <;> unfold active <;> infer_instance |
| 34 | 34 | |
| 35 | -def profileIndex (k : KnownPiece) (i : ℕ) : ℕ := | |
| 36 | - match k with | |
| 37 | - | .high | .mean => i | |
| 38 | - | .corrector => i-1 | |
| 39 | - | |
| 40 | 35 | def raw (k : KnownPiece) (p : ℕ) (a : ℕ → Profile) (i : ℕ) : VectorField := |
| 41 | 36 | if k.active p i then |
| 42 | 37 | match k with |
| @@ -54,10 +49,6 @@ theorem jet_zero_of_inactive (k : KnownPiece) (O : Operators) (p : ℕ) | ||
| 54 | 49 | k.jet O p a z i = 0 := by |
| 55 | 50 | simp only [jet, raw, hi, ite_false, slicedJet_zero'] |
| 56 | 51 | |
| 57 | -theorem active_profile_lt (k : KnownPiece) (p i : ℕ) (hi : k.active p i) : | |
| 58 | - k.profileIndex i < p := by | |
| 59 | - cases k <;> simp only [active, profileIndex] at * <;> omega | |
| 60 | - | |
| 61 | 52 | end KnownPiece |
| 62 | 53 | |
| 63 | 54 | theorem knownJets_eq_pieces (O : Operators) (p : ℕ) (hp : 2 ≤ p) |
+0 −44 Euler/PacketKnownTermSums.lean View file
| @@ -98,48 +98,4 @@ theorem PrefixFields.highForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) ( | ||
| 98 | 98 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB, he] |
| 99 | 99 | abel |
| 100 | 100 | |
| 101 | -include hc hB₁ hA hB in | |
| 102 | -theorem PrefixFields.knownForce_term_path : | |
| 103 | - (F.knownForce C (by omega) hT Ct hCt pressure).path = | |
| 104 | - -(∑ q ∈ knownTermIndices p, (F.termField C (by omega) hT Ct hCt pressure | |
| 105 | - q.1 q.2.1 q.2.2).path) := by | |
| 106 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 107 | - (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 108 | - change (F.knownForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 109 | - apply Field.path_eq_of_raw_eq | |
| 110 | - intro t x θ | |
| 111 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 112 | - (F.knownForce_decomposition hp hc hB₁ hA hB t x θ).symm | |
| 113 | - | |
| 114 | -include hc hB₁ hA hB in | |
| 115 | -theorem PrefixFields.meanForce_term_path : | |
| 116 | - (F.meanForce C (by omega) hT Ct hCt pressure).path = | |
| 117 | - -(∑ q ∈ knownTermIndices p, (F.meanTermField C (by omega) hT Ct hCt pressure | |
| 118 | - q.1 q.2.1 q.2.2).path) := by | |
| 119 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 120 | - (fun q => F.meanTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 121 | - change (F.meanForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 122 | - apply Field.path_eq_of_raw_eq | |
| 123 | - intro t x θ | |
| 124 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 125 | - (F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 126 | - | |
| 127 | -include hc hB₁ hA hB in | |
| 128 | -theorem PrefixFields.highForce_term_path (newMean : Field P T (meanResult O p a).1) : | |
| 129 | - (F.highForce C hp hT Ct hCt pressure newMean).path = | |
| 130 | - -(∑ q ∈ knownTermIndices p, (F.highTermField C (by omega) hT Ct hCt pressure | |
| 131 | - q.1 q.2.1 q.2.2).path) - | |
| 132 | - (SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 133 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega)))).path := by | |
| 134 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 135 | - (fun q => F.highTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 136 | - let A := SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 137 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega))) | |
| 138 | - rw [sub_eq_add_neg] | |
| 139 | - change (F.highForce C hp hT Ct hCt pressure newMean).path = (G.neg.sub A).path | |
| 140 | - apply Field.path_eq_of_raw_eq | |
| 141 | - intro t x θ | |
| 142 | - simpa only [Pi.sub_apply, Pi.neg_apply, Finset.sum_apply] using | |
| 143 | - (F.highForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 144 | - | |
| 145 | 101 | end EulerPacketCylinderField |
+0 −66 Euler/PacketLiftedCurl.lean View file
| @@ -79,72 +79,6 @@ theorem liftedCurl_eq_tests (κ : ℝ) (m : Vector3) (Q : LiftDomain period → | ||
| 79 | 79 | fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1) x |
| 80 | 80 | ring |
| 81 | 81 | |
| 82 | -theorem liftedCurl_smooth (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 83 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 84 | - ContDiff ℝ ∞ (localFieldLift period (liftedCurl period κ m Q) x) := by | |
| 85 | - rw [liftedCurl_eq_tests period κ m Q hQ] | |
| 86 | - exact ((curlTest_smooth period κ m 0 1 _ (component_smooth period Q hQ 2) x).add | |
| 87 | - (curlTest_smooth period κ m 1 2 _ (component_smooth period Q hQ 0) x)).add | |
| 88 | - (curlTest_smooth period κ m 2 0 _ (component_smooth period Q hQ 1) x) | |
| 89 | - | |
| 90 | -theorem scalar_fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → ℝ) | |
| 91 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 92 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (x : LiftDomain period) : | |
| 93 | - fieldDerivative period a (fun y => f y - g y) x = | |
| 94 | - fieldDerivative period a f x - fieldDerivative period a g x := by | |
| 95 | - change (fderiv ℝ (fun z => localFieldLift period f x z - localFieldLift period g x z) 0) a = _ | |
| 96 | - rw [fderiv_fun_sub (((hf x).differentiable (by simp)) 0) | |
| 97 | - (((hg x).differentiable (by simp)) 0)] | |
| 98 | - rfl | |
| 99 | - | |
| 100 | -theorem fieldDerivative_liftedCurl_component (κ : ℝ) (m : Vector3) | |
| 101 | - (Q : LiftDomain period → Vector3) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 102 | - (a : LiftTangent) (x : LiftDomain period) (i : Fin 3) : | |
| 103 | - (fieldDerivative period a (liftedCurl period κ m Q) x) i = | |
| 104 | - fieldDerivative period a | |
| 105 | - (fieldDerivative period (coordinateDirection κ m (i + 1)) (fun y => Q y (i + 2))) x - | |
| 106 | - fieldDerivative period a | |
| 107 | - (fieldDerivative period (coordinateDirection κ m (i + 2)) (fun y => Q y (i + 1))) x := by | |
| 108 | - change (EuclideanSpace.proj i) (fieldDerivative period a (liftedCurl period κ m Q) x) = _ | |
| 109 | - rw [← fieldDerivative_linear period (EuclideanSpace.proj i) (liftedCurl period κ m Q) | |
| 110 | - (liftedCurl_smooth period κ m Q hQ) a x] | |
| 111 | - have he : (fun y => (EuclideanSpace.proj i) (liftedCurl period κ m Q y)) = | |
| 112 | - fun y => fieldDerivative period (coordinateDirection κ m (i + 1)) (fun z => Q z (i + 2)) y - | |
| 113 | - fieldDerivative period (coordinateDirection κ m (i + 2)) (fun z => Q z (i + 1)) y := | |
| 114 | - funext fun y => liftedCurl_component_scalar period κ m Q hQ y i | |
| 115 | - rw [he] | |
| 116 | - exact scalar_fieldDerivative_sub period a _ _ | |
| 117 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 2))) | |
| 118 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 1))) x | |
| 119 | - | |
| 120 | -/-- The constant lifted divergence of an actual lifted curl vanishes pointwise. -/ | |
| 121 | -theorem lifted_divergence_curl (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 122 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 123 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 124 | - (liftedCurl period κ m Q) x) i) = 0 := by | |
| 125 | - simp only [fieldDerivative_liftedCurl_component period κ m Q hQ, Fin.sum_univ_three] | |
| 126 | - have h01 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 127 | - (coordinateDirection κ m 1) (fun y => Q y 2) (component_smooth period Q hQ 2) x | |
| 128 | - have h02 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 129 | - (coordinateDirection κ m 2) (fun y => Q y 1) (component_smooth period Q hQ 1) x | |
| 130 | - have h12 := fieldDerivatives_commute period (coordinateDirection κ m 1) | |
| 131 | - (coordinateDirection κ m 2) (fun y => Q y 0) (component_smooth period Q hQ 0) x | |
| 132 | - change | |
| 133 | - (fieldDerivative period (coordinateDirection κ m 0) | |
| 134 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 2)) x - | |
| 135 | - fieldDerivative period (coordinateDirection κ m 0) | |
| 136 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 1)) x) + | |
| 137 | - (fieldDerivative period (coordinateDirection κ m 1) | |
| 138 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 0)) x - | |
| 139 | - fieldDerivative period (coordinateDirection κ m 1) | |
| 140 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 2)) x) + | |
| 141 | - (fieldDerivative period (coordinateDirection κ m 2) | |
| 142 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1)) x - | |
| 143 | - fieldDerivative period (coordinateDirection κ m 2) | |
| 144 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 0)) x) = 0 | |
| 145 | - rw [h01, h02, h12] | |
| 146 | - ring | |
| 147 | - | |
| 148 | 82 | theorem component_compact (Q : LiftDomain period → Vector3) (hQ : HasCompactSupport Q) |
| 149 | 83 | (i : Fin 3) : HasCompactSupport (fun x => Q x i) := |
| 150 | 84 | hQ.of_isClosed_subset (isClosed_tsupport _) |
+0 −28 Euler/PacketLiftedPiola.lean View file
| @@ -143,21 +143,6 @@ theorem liftedPullbackCovector_compact (Ξ : Space → Space) | ||
| 143 | 143 | simp only [Function.mem_support, not_not] at hx ⊢ |
| 144 | 144 | simp only [liftedPullbackCovector, hx, map_zero] |
| 145 | 145 | |
| 146 | -/-- Actual pointwise lifted divergence vanishes for the transformed packet curl. -/ | |
| 147 | -theorem lifted_divergence_piola_curl (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 148 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 149 | - (F : Space → Space ≃L[ℝ] Space) | |
| 150 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 151 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) | |
| 152 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 153 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 154 | - (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) x) i) = 0 := by | |
| 155 | - have he : (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) = | |
| 156 | - liftedCurl period κ m (liftedPullbackCovector period Ξ Q) := | |
| 157 | - funext fun y => lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ y | |
| 158 | - rw [he] | |
| 159 | - exact lifted_divergence_curl period κ m _ (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) x | |
| 160 | - | |
| 161 | 146 | variable [Fact (0 < period)] |
| 162 | 147 | |
| 163 | 148 | /-- A genuine Bochner L² realization of the pulled-back packet curl. -/ |
| @@ -169,19 +154,6 @@ def piolaLiftedCurlLp (κ : ℝ) (m : Space) (Ξ : Space → Space) | ||
| 169 | 154 | (liftedPullbackCovector_compact period Ξ Q hc) |
| 170 | 155 | (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) |
| 171 | 156 | |
| 172 | -theorem piolaLiftedCurlLp_ae (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 173 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 174 | - (hc : HasCompactSupport Q) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 175 | - (F : Space → Space ≃L[ℝ] Space) | |
| 176 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 177 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) : | |
| 178 | - (piolaLiftedCurlLp period κ m Ξ Q hΞ hc hQ : LiftDomain period → Space) =ᵐ[liftMeasure period] | |
| 179 | - (fun x => (F x.1).symm (transformedLiftedCurl period κ m F Q x)) := by | |
| 180 | - filter_upwards [liftedCurlLp_ae period κ m (liftedPullbackCovector period Ξ Q) | |
| 181 | - (liftedPullbackCovector_compact period Ξ Q hc) | |
| 182 | - (liftedPullbackCovector_smooth period Ξ Q hΞ hQ)] with x hx | |
| 183 | - exact hx.trans (lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ x).symm | |
| 184 | - | |
| 185 | 157 | /-- The pulled-back packet satisfies the exact closed constraint used by correction assembly. -/ |
| 186 | 158 | theorem piolaLiftedCurlLp_mem (κ : ℝ) (m : Space) (Ξ : Space → Space) |
| 187 | 159 | (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
+0 −33 Euler/PacketLiftedTimeBounds.lean View file
| @@ -84,39 +84,6 @@ theorem Budget.liftedPacketDerivativeCoefficient_memLp (H : Field P T raw_t) | ||
| 84 | 84 | ((B.timeDerivativeTower P).pointField_smooth t) n |
| 85 | 85 | (H.toFieldTower.coverTensor_memLp n t) ((B.timeDerivativeTower P).coverTensor_memLp n t)) |
| 86 | 86 | |
| 87 | -theorem Budget.liftedPacketDerivativeCoefficient_jet_bound (H : Field P T raw_t) | |
| 88 | - (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) | |
| 89 | - (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) | |
| 90 | - (hH : H.WordBound 6 R Ch 0) | |
| 91 | - (hE : ∀ n (t : Icc (0 : ℝ) T), | |
| 92 | - weightedNorm P 6 n ρ ((B.timeDerivativeTower P).realization (n+6) t) ≤ Ce) (n : ℕ) : | |
| 93 | - ‖(B.liftedPacketDerivativeCoefficient P H).jet n‖ ≤ | |
| 94 | - (2*liftedInputConstant P*(Ch+Ce)) * (liftedInputRadius R ρ)^n * (n.factorial : ℝ)^2 := by | |
| 95 | - have hK : 0 ≤ liftedInputConstant P := zero_le_one.trans (liftedInputConstant_one_le P) | |
| 96 | - have hh := (hH.toSmoothTimeField_jet_bound (by norm_num) hR hCh n).trans | |
| 97 | - (time_envelope_mono (mul_nonneg hK hCh) (mul_nonneg (norm_nonneg _) hR) | |
| 98 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCh) | |
| 99 | - (liftedInputRadius_packet R ρ hR hρ) n) | |
| 100 | - have he : ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 101 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 := | |
| 102 | - ((B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n ρ Ce hρ hCe (hE n)).trans | |
| 103 | - (time_envelope_mono (mul_nonneg hK hCe) (mul_nonneg (norm_nonneg _) (inv_nonneg.mpr hρ.le)) | |
| 104 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCe) | |
| 105 | - (liftedInputRadius_error R ρ hR) n) | |
| 106 | - have hsum := (H.toSmoothTimeField.add_jet_norm_le (B.correctionDerivativeCoefficient P) n).trans | |
| 107 | - (add_le_add hh he) | |
| 108 | - have hfull := lift_jet_norm_le_full | |
| 109 | - (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction n | |
| 110 | - change ‖(lift (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction).jet n‖ ≤ _ | |
| 111 | - apply hfull.trans | |
| 112 | - calc | |
| 113 | - _ ≤ 2*‖(H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)).jet n‖ := | |
| 114 | - mul_le_mul_of_nonneg_right (by linarith) (norm_nonneg _) | |
| 115 | - _ ≤ 2*((liftedInputConstant P*Ch)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 + | |
| 116 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2) := | |
| 117 | - mul_le_mul_of_nonneg_left hsum (by norm_num) | |
| 118 | - _ = _ := by ring | |
| 119 | - | |
| 120 | 87 | theorem Budget.liftedPacketDerivativeCoefficient_L2_bound (H : Field P T raw_t) |
| 121 | 88 | (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) |
| 122 | 89 | (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) |
+0 −11 Euler/PacketLowGrades.lean View file
| @@ -29,15 +29,4 @@ namespace EulerPacketPointJets | ||
| 29 | 29 | |
| 30 | 30 | open Finset EulerSmoothLimit EulerPacketResidual |
| 31 | 31 | |
| 32 | -/-- This is the coefficient equation used in the source recursion, with actual derivatives. -/ | |
| 33 | -theorem momentumGrade_eq_diagonal (N n : ℕ) (hn : n+1 ≤ N) | |
| 34 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 35 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) : | |
| 36 | - momentumGrade N FInv M m u p z n = | |
| 37 | - linearPart M (jet (u n) z) + slowPressure FInv (jet (p n) z) + | |
| 38 | - fastPressure m (jet (p (n+1)) z) + | |
| 39 | - (∑ i ∈ range (n+1), slowAdvection FInv (jet (u i) z) (jet (u (n-i)) z)) + | |
| 40 | - (∑ i ∈ range (n+2), fastAdvection m (jet (u i) z) (jet (u (n+1-i)) z)) := | |
| 41 | - coefficient_eq_diagonal N n hn _ _ _ _ _ _ _ | |
| 42 | - | |
| 43 | 32 | end EulerPacketPointJets |
+0 −19 Euler/PacketMajorantShift.lean View file
| @@ -20,25 +20,6 @@ theorem majorant_mono_shift (R : ℝ) (hR : 1 ≤ R) (d D n : ℕ) (h : d ≤ D) | ||
| 20 | 20 | exact mul_le_mul (pow_le_pow_right₀ hR (Nat.add_le_add_left h n)) hs |
| 21 | 21 | (sq_nonneg _) (pow_nonneg (by linarith) _) |
| 22 | 22 | |
| 23 | -/-- A single spare shift pays a linear number of grade terms at one fixed radius. -/ | |
| 24 | -theorem linear_grade_cost_absorbed (C R : ℝ) (hC : 0 ≤ C) (hR : C ≤ R) | |
| 25 | - (p d n : ℕ) (hd : 0 < d) (hpd : p ≤ d) : | |
| 26 | - (C*(p : ℝ))*majorant R (d-1) n ≤ majorant R d n := by | |
| 27 | - have hR0 : 0 ≤ R := hC.trans hR | |
| 28 | - have hnd : (1 : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show 1 ≤ n+d by omega) | |
| 29 | - have hpnd : (p : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show p ≤ n+d by omega) | |
| 30 | - have hpsq : (p : ℝ) ≤ ((n+d : ℕ) : ℝ)^2 := by | |
| 31 | - nlinarith [mul_nonneg (show (0 : ℝ) ≤ ((n+d : ℕ) : ℝ) by positivity) (sub_nonneg.mpr hnd)] | |
| 32 | - have hcost : C*(p : ℝ) ≤ R*((n+d : ℕ) : ℝ)^2 := | |
| 33 | - (mul_le_mul_of_nonneg_left hpsq hC).trans (mul_le_mul_of_nonneg_right hR (sq_nonneg _)) | |
| 34 | - calc | |
| 35 | - _ ≤ (R*((n+d : ℕ) : ℝ)^2)*majorant R (d-1) n := | |
| 36 | - mul_le_mul_of_nonneg_right hcost (majorant_nonneg R hR0 _ _) | |
| 37 | - _ = majorant R d n := by | |
| 38 | - have h := majorant_succ_identity R (d-1) n | |
| 39 | - rw [show d-1+1=d by omega, show n+(d-1)+1=n+d by omega] at h | |
| 40 | - exact h.symm | |
| 41 | - | |
| 42 | 23 | theorem factorial_sum_split (n d : ℕ) : |
| 43 | 24 | (n+d).factorial ≤ 2^(n+d)*n.factorial*d.factorial := by |
| 44 | 25 | calc |
+0 −12 Euler/PacketMeanGradeBounds.lean View file
| @@ -95,16 +95,4 @@ theorem grade_bounds : | ||
| 95 | 95 | · exact (hπ.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 96 | 96 | L.radius_bounds.1 L.costs_nonneg.2.2.2 W.pressureGradient hroom |
| 97 | 97 | |
| 98 | -theorem vector_grade_bound : | |
| 99 | - ((G.vectorCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 100 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).1 | |
| 101 | - | |
| 102 | -theorem derivative_grade_bound : | |
| 103 | - ((G.vectorDerivativeCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 104 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.1 | |
| 105 | - | |
| 106 | -theorem pressure_gradient_grade_bound : | |
| 107 | - ((G.pressureGradientCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 108 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.2 | |
| 109 | - | |
| 110 | 98 | end EulerMeanPacketProvider.Budget |
+0 −6 Euler/PacketMeanPressureStepBound.lean View file
| @@ -56,10 +56,4 @@ theorem meanPressure_step_exists : | ||
| 56 | 56 | refine ⟨Q,?_⟩ |
| 57 | 57 | exact (LM.grade_bounds WM S GM MF p hp hMF).2.2.of_path_eq _ rfl |
| 58 | 58 | |
| 59 | -include WM BC hmean hRc hcost hp hG hc₀ hB₁ hA in | |
| 60 | -theorem meanPressure_step_bound (Q : Field P M.T (pressureGradient (step O p a).meanPressure)) : | |
| 61 | - (Q.normalized M.T_pos.le (S.mean p) (S.mean_pos p)).WordBound 6 R 1 (meanShift p) := by | |
| 62 | - obtain ⟨Q₀,hQ₀⟩ := meanPressure_step_exists M LM WM C BC hmean hRc hcost S hp G hG hc₀ hB₁ hA | |
| 63 | - exact hQ₀.normalized_of_raw_eq Q M.T_pos.le (S.mean p) (S.mean_pos p) (fun _ _ _ => rfl) | |
| 64 | - | |
| 65 | 59 | end EulerPacketCylinderField.ProfileBudget |
+0 −51 Euler/PacketMomentumExpansion.lean View file
| @@ -9,55 +9,4 @@ namespace EulerPacketPointJets | ||
| 9 | 9 | |
| 10 | 10 | open Finset EulerSmoothLimit EulerFiniteGrades EulerPacketResidual |
| 11 | 11 | |
| 12 | -def momentumGrade (N : ℕ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 13 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) (n : ℕ) : Space := | |
| 14 | - coefficient N (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 15 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) n | |
| 16 | - | |
| 17 | -/-- The equality expands the actual derivatives of the finite velocity and pressure sums. -/ | |
| 18 | -theorem momentum_fieldSum_eq (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 19 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 20 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 21 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 22 | - (hp : ∀ i ≤ N, DifferentiableAt ℝ (p i) z) | |
| 23 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) : | |
| 24 | - momentumResidual κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z = | |
| 25 | - evaluate (2*N) κ (momentumGrade N FInv M m u p z) := by | |
| 26 | - unfold momentumResidual | |
| 27 | - rw [jet_fieldSum N κ u z hu, jet_fieldSum N κ p z hp] | |
| 28 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 29 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) hu0 hp0 | |
| 30 | - | |
| 31 | -/-- The source's finite packet has no residual grades through N once its coefficient equations hold. -/ | |
| 32 | -theorem momentum_fieldSum_tail (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 33 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 34 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 35 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 36 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 37 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 38 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 39 | - momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z = | |
| 40 | - ∑ n ∈ Ico (N+1) (2*N+3), κ^n • momentumGrade (N+1) FInv M m u p z n := by | |
| 41 | - unfold momentumResidual | |
| 42 | - rw [jet_fieldSum (N+1) κ u z hu, jet_fieldSum (N+1) κ p z hp] | |
| 43 | - exact packet_residual_eq_tail N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 44 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) | |
| 45 | - hu0 hp0 hcancel | |
| 46 | - | |
| 47 | -/-- A bound on the actual residual follows from the surviving coefficient norms. -/ | |
| 48 | -theorem norm_momentum_fieldSum_le (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 49 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 50 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 53 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 54 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 55 | - ‖momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z‖ ≤ | |
| 56 | - ∑ n ∈ Ico (N+1) (2*N+3), |κ|^n * ‖momentumGrade (N+1) FInv M m u p z n‖ := by | |
| 57 | - rw [momentum_fieldSum_tail N κ hκ FInv M m u p z hu hp hu0 hp0 hcancel] | |
| 58 | - calc | |
| 59 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • momentumGrade (N+1) FInv M m u p z n‖ := | |
| 60 | - norm_sum_le _ _ | |
| 61 | - _ = _ := by simp only [norm_smul, norm_pow, Real.norm_eq_abs] | |
| 62 | - | |
| 63 | 12 | end EulerPacketPointJets |
+0 −31 Euler/PacketMovingFrame.lean View file
| @@ -31,12 +31,6 @@ def crossBilinear : Space →L[ℝ] Space →L[ℝ] Space := | ||
| 31 | 31 | |
| 32 | 32 | theorem crossBilinear_apply (a b : Space) : crossBilinear a b = cross a b := rfl |
| 33 | 33 | |
| 34 | -theorem cross_hasDerivAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} | |
| 35 | - (hp : HasDerivAt p p' t) (hq : HasDerivAt q q' t) : | |
| 36 | - HasDerivAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') t := by | |
| 37 | - have h := (crossBilinear.hasFDerivAt.comp_hasDerivAt t hp).clm_apply hq | |
| 38 | - simpa only [Function.comp_def, crossBilinear_apply] using h | |
| 39 | - | |
| 40 | 34 | theorem cross_hasDerivWithinAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} {S : Set ℝ} |
| 41 | 35 | (hp : HasDerivWithinAt p p' S t) (hq : HasDerivWithinAt q q' S t) : |
| 42 | 36 | HasDerivWithinAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') S t := by |
| @@ -170,19 +164,6 @@ theorem frameRate_skew (B : Space →L[ℝ] Space) (p q : Space) | ||
| 170 | 164 | |
| 171 | 165 | def normalizedFrame (m v : ℝ → Space) (t : ℝ) : Fin 3 → Space := frame (unit (m t)) (unit (v t)) |
| 172 | 166 | |
| 173 | -theorem normalizedFrame_hasDerivAt (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 174 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 175 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 176 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 177 | - HasDerivAt (fun s => normalizedFrame m v s i) | |
| 178 | - (frameRate B (unit (m t)) (unit (v t)) i) t := by | |
| 179 | - have hp := normalized_ray_hasDerivAt B hm hm0 | |
| 180 | - have hq := normalized_velocity_hasDerivAt B hv hv0 hmv | |
| 181 | - fin_cases i | |
| 182 | - · exact hp | |
| 183 | - · exact hq | |
| 184 | - · exact cross_hasDerivAt hp hq | |
| 185 | - | |
| 186 | 167 | theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) |
| 187 | 168 | {m v : ℝ → Space} {t : ℝ} {S : Set ℝ} |
| 188 | 169 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) |
| @@ -197,16 +178,4 @@ theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) | ||
| 197 | 178 | · exact hq |
| 198 | 179 | · exact cross_hasDerivWithinAt hp hq |
| 199 | 180 | |
| 200 | -/-- The source skew matrix is now identified with the derivative of the | |
| 201 | -actual normalized ray/velocity frame. -/ | |
| 202 | -theorem normalizedFrame_skew (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 203 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 204 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 205 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i j : Fin 3) : | |
| 206 | - ⟪normalizedFrame m v t i, deriv (fun s => normalizedFrame m v s j) t⟫_ℝ = | |
| 207 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) i j := by | |
| 208 | - rw [(normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv j).deriv] | |
| 209 | - exact frameRate_skew B (unit (m t)) (unit (v t)) | |
| 210 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i j | |
| 211 | - | |
| 212 | 181 | end EulerPacketMovingFrame |
+0 −17 Euler/PacketMovingRay.lean View file
| @@ -36,23 +36,6 @@ theorem movingRayRate_identity (B M : Space →L[ℝ] Space) (p q x : Space) | ||
| 36 | 36 | def movingRay (m v r : ℝ → Space) (t : ℝ) (i : Fin 3) : ℝ := |
| 37 | 37 | ⟪normalizedFrame m v t i,r t⟫_ℝ |
| 38 | 38 | |
| 39 | -/-- The actual moving-coordinate ray obeys `-(M-S)ᵀ`, with the skew | |
| 40 | -matrix already derived from the older primary ODE. -/ | |
| 41 | -theorem movingRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 42 | - {m v r : ℝ → Space} {t : ℝ} | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 44 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 45 | - (hr : HasDerivAt r (-M.adjoint (r t)) t) | |
| 46 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 47 | - HasDerivAt (fun s => movingRay m v r s i) | |
| 48 | - (-(∑ j : Fin 3, (frameMatrix M (unit (m t)) (unit (v t)) j i - | |
| 49 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) j i) * | |
| 50 | - movingRay m v r t j)) t := by | |
| 51 | - have h := (normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv i).inner ℝ hr | |
| 52 | - have he := movingRayRate_identity B M (unit (m t)) (unit (v t)) (r t) | |
| 53 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i | |
| 54 | - simpa only [movingRay, normalizedFrame, inner_neg_right, adjoint_inner_right, he] using h | |
| 55 | - | |
| 56 | 39 | /-- The same physical coordinate equation holds with one-sided endpoint derivatives. -/ |
| 57 | 40 | theorem movingRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 58 | 41 | {m v r : ℝ → Space} {t : ℝ} {S : Set ℝ} |
+0 −34 Euler/PacketNeighborInitial.lean View file
| @@ -90,18 +90,6 @@ theorem scaledRay_initial_error {m v r : ℝ → Space} {s₀ t₀ a ε D : ℝ} | ||
| 90 | 90 | |
| 91 | 91 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 92 | 92 | |
| 93 | -omit [CompleteSpace U] in | |
| 94 | -theorem frame_pair_operator_difference_le {T ε D : ℝ} | |
| 95 | - (A B : U →L[ℝ] C(Icc (0:ℝ) T, Space)) (ξ : U) (t : Icc (0:ℝ) T) | |
| 96 | - {p q : Space} (hp : ‖p‖ = 1) (hq : ‖q‖ = 1) | |
| 97 | - (hε : 0 < ε) (hε1 : ε ≤ 1) (hAB : ‖A-B‖ ≤ D) : | |
| 98 | - |⟪p,A ξ t⟫_ℝ/ε-⟪p,B ξ t⟫_ℝ/ε|+|⟪q,A ξ t⟫_ℝ-⟪q,B ξ t⟫_ℝ| ≤ | |
| 99 | - 2*D*‖ξ‖/ε := by | |
| 100 | - have hn : ‖A ξ t-B ξ t‖ ≤ D*‖ξ‖ := by | |
| 101 | - exact (((A-B) ξ).norm_coe_le_norm t).trans (((A-B).le_opNorm ξ).trans | |
| 102 | - (mul_le_mul_of_nonneg_right hAB (norm_nonneg ξ))) | |
| 103 | - simpa only [mul_assoc] using frame_pair_difference_le hp hq hε hε1 hn | |
| 104 | - | |
| 105 | 93 | variable (T : ℝ) (hT : 0 ≤ T) |
| 106 | 94 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] Space)) |
| 107 | 95 | (H : C(Icc (0 : ℝ) T, Space →L[ℝ] Space)) |
| @@ -115,26 +103,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 115 | 103 | (hp : ∀ t : Icc (0:ℝ) T, HasDerivWithinAt (extendPath T hT P) (P₁ t) (Icc (0:ℝ) T) t) |
| 116 | 104 | (hG : ∀ t z, ⟪G t z,z⟫_ℝ ≤ K*‖z‖^2) |
| 117 | 105 | |
| 118 | -/-- The two actual stationary histories use the same terminal coordinate | |
| 119 | -`ξ`; physical coefficient differences give the scaled initial error. -/ | |
| 120 | -theorem history_scaled_pair_difference_le (hTpos : 0 < T) (q q₁ d a r : ℝ) | |
| 121 | - (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ q₁) (hP₁n : ‖P₁‖ ≤ q₁) | |
| 122 | - (hD : T*‖Q₁‖+‖Q‖ ≤ d) (hD' : T*‖P₁‖+‖P‖ ≤ d) | |
| 123 | - (hA : 1+T^2*‖H‖ ≤ a) (hA' : 1+T^2*‖G‖ ≤ a) | |
| 124 | - (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) | |
| 125 | - (L₀ L₁ LH s : ℝ) (h₀ : ‖Q-P‖ ≤ L₀*s) (h₁ : ‖Q₁-P₁‖ ≤ L₁*s) (hHdiff : ‖H-G‖ ≤ LH*s) | |
| 126 | - (ξ : U) (t : Icc (0:ℝ) T) {p₀ q₀ : Space} (hp₀ : ‖p₀‖ = 1) (hq₀ : ‖q₀‖ = 1) | |
| 127 | - {ε : ℝ} (hε : 0 < ε) (hε1 : ε ≤ 1) : | |
| 128 | - let u := historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t | |
| 129 | - let v := historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall ξ t | |
| 130 | - |⟪p₀,u⟫_ℝ/ε-⟪p₀,v⟫_ℝ/ε|+|⟪q₀,u⟫_ℝ-⟪q₀,v⟫_ℝ| ≤ | |
| 131 | - 2*historyDifferenceCost T c q q₁ d a r L₀ L₁ LH*s*‖ξ‖/ε := by | |
| 132 | - have hh := historyVelocity_sub_norm_le_of_coefficient_bounds T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 133 | - P P₁ G hP hp hG hTpos q q₁ d a r hQn hPn hQ₁n hP₁n hD hD' hA hA' hr hr' | |
| 134 | - L₀ L₁ LH s h₀ h₁ hHdiff | |
| 135 | - have h := frame_pair_operator_difference_le | |
| 136 | - (historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 137 | - (historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall) ξ t hp₀ hq₀ hε hε1 hh | |
| 138 | - simpa only [mul_assoc] using h | |
| 139 | - | |
| 140 | 106 | end EulerPacketMovingFrame |
+0 −100 Euler/PacketNestedHorizons.lean View file
| @@ -24,10 +24,6 @@ def horizonTime (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : ℝ := | ||
| 24 | 24 | @[simp] theorem activationTime_zero (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) : |
| 25 | 25 | activationTime J X a β 0=0 := by simp [activationTime] |
| 26 | 26 | |
| 27 | -theorem activationTime_succ (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : | |
| 28 | - activationTime J X a β (n+1)=activationTime J X a β n+stepLength J X a β n := by | |
| 29 | - exact sum_range_succ _ n | |
| 30 | - | |
| 31 | 27 | @[simp] theorem horizonTime_zero (J : ℕ) {X : ℝ} (hX : 0 < X) (a β : ℕ → ℝ) : |
| 32 | 28 | horizonTime J X a β 0=baseHorizon J X := by |
| 33 | 29 | rw [horizonTime,activationTime_zero,zero_add,baseHorizon_eq_timeWidth J hX] |
| @@ -37,100 +33,4 @@ variable (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) (a β : ℕ → ℝ) | ||
| 37 | 33 | (hβ : ∀ n, 1/2 ≤ β n*scaleSequence J X n^2) |
| 38 | 34 | (hβ₂ : ∀ n, β n*scaleSequence J X n^2 ≤ 2) |
| 39 | 35 | |
| 40 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 41 | -theorem stepLength_bounds (n : ℕ) : | |
| 42 | - timeWidth J X n/6 ≤ stepLength J X a β n ∧ | |
| 43 | - stepLength J X a β n ≤ 2*timeWidth J X n/3 := by | |
| 44 | - have hx := quadratic_growth_pos J hJ (scaleSequence J X) hX (scaleSequence_succ J X) | |
| 45 | - exact activation_time_bounds (ha n) (ha₂ n) (previousShear_pos J hX n) | |
| 46 | - (hx n) (hx (n+1)).le (hβ n) (hβ₂ n) | |
| 47 | - | |
| 48 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 49 | -theorem stepLength_pos (n : ℕ) : 0 < stepLength J X a β n := | |
| 50 | - lt_of_lt_of_le (div_pos (timeWidth_pos J hJ hX n) (by norm_num)) | |
| 51 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).1 | |
| 52 | - | |
| 53 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 54 | -theorem activationTime_strictMono : StrictMono (activationTime J X a β) := by | |
| 55 | - apply strictMono_nat_of_lt_succ | |
| 56 | - intro n | |
| 57 | - rw [activationTime_succ] | |
| 58 | - exact lt_add_of_pos_right _ (stepLength_pos J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 59 | - | |
| 60 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 61 | -theorem activationTime_nonneg (n : ℕ) : 0 ≤ activationTime J X a β n := by | |
| 62 | - simpa only [activationTime_zero] using | |
| 63 | - (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone (Nat.zero_le n) | |
| 64 | - | |
| 65 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 66 | -theorem activationTime_pos {n : ℕ} (hn : 0 < n) : 0 < activationTime J X a β n := by | |
| 67 | - simpa only [activationTime_zero] using | |
| 68 | - activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 69 | - | |
| 70 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 71 | -theorem horizonTime_pos (n : ℕ) : 0 < horizonTime J X a β n := by | |
| 72 | - exact add_pos_of_nonneg_of_pos | |
| 73 | - (activationTime_nonneg J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 74 | - (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 75 | - | |
| 76 | -include hJ hX in | |
| 77 | -theorem activationTime_lt_horizon (n : ℕ) : | |
| 78 | - activationTime J X a β n < horizonTime J X a β n := by | |
| 79 | - exact lt_add_of_pos_right _ (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 80 | - | |
| 81 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 82 | -theorem horizonTime_succ_le (n : ℕ) (hw : timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 83 | - horizonTime J X a β (n+1) ≤ horizonTime J X a β n := by | |
| 84 | - unfold horizonTime | |
| 85 | - rw [activationTime_succ] | |
| 86 | - exact nested_horizon_of_width_ratio (timeWidth_pos J hJ hX n).le | |
| 87 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).2 hw | |
| 88 | - | |
| 89 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 90 | -theorem horizonTime_antitone (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 91 | - Antitone (horizonTime J X a β) := by | |
| 92 | - exact antitone_nat_of_succ_le (fun n => | |
| 93 | - horizonTime_succ_le J hJ X hX a β ha ha₂ hβ hβ₂ n (hw n)) | |
| 94 | - | |
| 95 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 96 | -theorem horizonTime_le_base (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) (n : ℕ) : | |
| 97 | - horizonTime J X a β n ≤ baseHorizon J X := by | |
| 98 | - simpa only [horizonTime_zero J hX a β] using | |
| 99 | - horizonTime_antitone J hJ X hX a β ha ha₂ hβ hβ₂ hw (Nat.zero_le n) | |
| 100 | - | |
| 101 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 102 | -theorem activationTime_lower {n : ℕ} (hn : 1 ≤ n) : | |
| 103 | - baseHorizon J X/12 ≤ activationTime J X a β n := by | |
| 104 | - have hfirst := (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ 0).1 | |
| 105 | - have hm := (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone hn | |
| 106 | - rw [show (1 : ℕ)=0+1 by rfl,activationTime_succ,activationTime_zero,zero_add] at hm | |
| 107 | - rw [baseHorizon_eq_timeWidth J hX] | |
| 108 | - linarith only [hfirst,hm] | |
| 109 | - | |
| 110 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 111 | -theorem common_positive_interval (n : ℕ) : baseHorizon J X/12 < horizonTime J X a β n := by | |
| 112 | - by_cases hn : n=0 | |
| 113 | - · subst n | |
| 114 | - rw [horizonTime_zero J hX] | |
| 115 | - have hb := baseHorizon_pos J hJ hX | |
| 116 | - linarith only [hb] | |
| 117 | - · exact (activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ (by omega)).trans_lt | |
| 118 | - (activationTime_lt_horizon J hJ X hX a β n) | |
| 119 | - | |
| 120 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 121 | -theorem reciprocal_horizon_le (n : ℕ) : | |
| 122 | - (horizonTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 123 | - have hb := baseHorizon_pos J hJ hX | |
| 124 | - have hs := common_positive_interval J hJ X hX a β ha ha₂ hβ hβ₂ n | |
| 125 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs.le | |
| 126 | - simpa only [one_div,inv_div] using h | |
| 127 | - | |
| 128 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 129 | -theorem reciprocal_activation_le {n : ℕ} (hn : 1 ≤ n) : | |
| 130 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 131 | - have hb := baseHorizon_pos J hJ hX | |
| 132 | - have hs := activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 133 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs | |
| 134 | - simpa only [one_div,inv_div] using h | |
| 135 | - | |
| 136 | 36 | end EulerPacketNestedHorizons |
+0 −50 Euler/PacketNormalizedPrimary.lean View file
| @@ -29,31 +29,6 @@ theorem unit_inner_self {x : E} (hx : x ≠ 0) : ⟪unit x, unit x⟫_ℝ = 1 := | ||
| 29 | 29 | theorem unit_inner_zero {x y : E} (hxy : ⟪x,y⟫_ℝ = 0) : ⟪unit x, unit y⟫_ℝ = 0 := by |
| 30 | 30 | simp only [unit, real_inner_smul_left, real_inner_smul_right, hxy, mul_zero] |
| 31 | 31 | |
| 32 | -theorem norm_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 33 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 34 | - HasDerivAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) t := by | |
| 35 | - have hn := norm_ne_zero_iff.mpr hft | |
| 36 | - have hh := hf.norm_sq.sqrt (pow_ne_zero 2 hn) | |
| 37 | - have he : (fun s => Real.sqrt (‖f s‖^2)) = (fun s => ‖f s‖) := by | |
| 38 | - funext s | |
| 39 | - exact Real.sqrt_sq (norm_nonneg _) | |
| 40 | - rw [he, Real.sqrt_sq (norm_nonneg _)] at hh | |
| 41 | - convert hh using 1 | |
| 42 | - field_simp | |
| 43 | - | |
| 44 | -theorem unit_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 45 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 46 | - HasDerivAt (fun s => unit (f s)) | |
| 47 | - (‖f t‖⁻¹ • f' - (⟪f t,f'⟫_ℝ / ‖f t‖^3) • f t) t := by | |
| 48 | - have hn := norm_ne_zero_iff.mpr hft | |
| 49 | - have h := ((norm_hasDerivAt hf hft).inv hn).smul hf | |
| 50 | - have he : -(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2 = -(⟪f t,f'⟫_ℝ / ‖f t‖^3) := by | |
| 51 | - field_simp | |
| 52 | - change HasDerivAt (fun s => unit (f s)) | |
| 53 | - (‖f t‖⁻¹ • f' + (-(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2) • f t) t at h | |
| 54 | - rw [he] at h | |
| 55 | - simpa only [neg_smul, sub_eq_add_neg, add_comm] using h | |
| 56 | - | |
| 57 | 32 | theorem norm_hasDerivWithinAt {f : ℝ → E} {f' : E} {t : ℝ} {S : Set ℝ} |
| 58 | 33 | (hf : HasDerivWithinAt f f' S t) (hft : f t ≠ 0) : |
| 59 | 34 | HasDerivWithinAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) S t := by |
| @@ -86,31 +61,6 @@ def rayRate (B : E →L[ℝ] E) (p : E) : E := -B.adjoint p + ⟪p,B p⟫_ℝ | ||
| 86 | 61 | def velocityRate (B : E →L[ℝ] E) (p q : E) : E := |
| 87 | 62 | -B q + (2*⟪p,B q⟫_ℝ) • p + ⟪q,B q⟫_ℝ • q |
| 88 | 63 | |
| 89 | -theorem normalized_ray_hasDerivAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} | |
| 90 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) (hm0 : m t ≠ 0) : | |
| 91 | - HasDerivAt (fun s => unit (m s)) (rayRate B (unit (m t))) t := by | |
| 92 | - have h := unit_hasDerivAt hm hm0 | |
| 93 | - convert h using 1 | |
| 94 | - unfold rayRate unit | |
| 95 | - rw [inner_neg_right, adjoint_inner_right, real_inner_comm (m t) (B (m t))] | |
| 96 | - simp only [map_smul, real_inner_smul_left, real_inner_smul_right, smul_smul, | |
| 97 | - div_eq_mul_inv, neg_mul, neg_smul, smul_neg] | |
| 98 | - module | |
| 99 | - | |
| 100 | -omit [CompleteSpace E] in | |
| 101 | -theorem normalized_velocity_hasDerivAt (B : E →L[ℝ] E) {m v : ℝ → E} {t : ℝ} | |
| 102 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 103 | - (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) : | |
| 104 | - HasDerivAt (fun s => unit (v s)) (velocityRate B (unit (m t)) (unit (v t))) t := by | |
| 105 | - have h := unit_hasDerivAt hv hv0 | |
| 106 | - have hvm : ⟪v t,m t⟫_ℝ = 0 := (real_inner_comm _ _).trans hmv | |
| 107 | - convert h using 1 | |
| 108 | - unfold velocityRate unit | |
| 109 | - simp only [inner_add_right, inner_neg_right, real_inner_smul_right, hvm, mul_zero, | |
| 110 | - add_zero, map_smul, real_inner_smul_left, smul_smul, smul_add, div_eq_mul_inv, | |
| 111 | - neg_mul, neg_smul, smul_neg] | |
| 112 | - module | |
| 113 | - | |
| 114 | 64 | theorem normalized_ray_hasDerivWithinAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} {S : Set ℝ} |
| 115 | 65 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) (hm0 : m t ≠ 0) : |
| 116 | 66 | HasDerivWithinAt (fun s => unit (m s)) (rayRate B (unit (m t))) S t := by |
+0 −9 Euler/PacketParentFlowDifferentiation.lean View file
| @@ -13,15 +13,6 @@ open scoped ContDiff Topology | ||
| 13 | 13 | |
| 14 | 14 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 15 | 15 | |
| 16 | -omit [CompleteSpace E] in | |
| 17 | -theorem flow_time_derivative_eq (X u : ℝ × E → E) (q : ℝ × E) | |
| 18 | - (hX : DifferentiableAt ℝ X q) | |
| 19 | - (hflow : HasDerivAt (fun s => X (s,q.2)) (u (q.1,X q)) q.1) : | |
| 20 | - fderiv ℝ X q (1,0) = u (q.1,X q) := by | |
| 21 | - have h := hX.hasFDerivAt.comp_hasDerivAt q.1 | |
| 22 | - ((hasDerivAt_id q.1).prodMk (hasDerivAt_const q.1 q.2)) | |
| 23 | - exact h.unique hflow | |
| 24 | - | |
| 25 | 16 | omit [CompleteSpace E] in |
| 26 | 17 | theorem parent_frame_time (X u : ℝ × E → E) (F : ℝ × E → E →L[ℝ] E) |
| 27 | 18 | (q : ℝ × E) (DF : (ℝ × E) →L[ℝ] (E →L[ℝ] E)) (Du : (ℝ × E) →L[ℝ] E) |
+0 −7 Euler/PacketPeriodicPotential.lean View file
| @@ -64,13 +64,6 @@ theorem field_smooth (m : Space → Space) (A : LiftDomain P → Space) | ||
| 64 | 64 | rw [he] |
| 65 | 65 | exact hQ.comp (contDiff_const.add contDiff_id) |
| 66 | 66 | |
| 67 | -theorem field_continuous (m : Space → Space) (A : LiftDomain P → Space) | |
| 68 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) | |
| 69 | - (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) | |
| 70 | - (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) : | |
| 71 | - Continuous (field P m A) := | |
| 72 | - smoothField_continuous P _ (field_smooth P m A hm hnz hA hmean) | |
| 73 | - | |
| 74 | 67 | theorem field_vanishes (m : Space → Space) (A : LiftDomain P → Space) |
| 75 | 68 | (y : Space) (hy : ∀ θ : AddCircle P, A (y,θ)=0) (θ : AddCircle P) : |
| 76 | 69 | field P m A (y,θ)=0 := by |
+0 −11 Euler/PacketPhysicalCorrectionPotential.lean View file
| @@ -21,17 +21,6 @@ def Budget.physicalPotential (k : ℝ) (Y : Icc (0 : ℝ) D.T → Space → Spac | ||
| 21 | 21 | (t : Icc (0 : ℝ) D.T) : Space → ℝ := |
| 22 | 22 | B.normalizedGraphPotential P k t ∘ Y t |
| 23 | 23 | |
| 24 | -theorem Budget.physicalPotential_joint_continuous (k : ℝ) | |
| 25 | - (Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 26 | - (hY : Continuous (Function.uncurry Y)) : | |
| 27 | - Continuous (B.physicalPotential D P k Y).uncurry := by | |
| 28 | - have hc : Continuous (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2)) := | |
| 29 | - continuous_fst.prodMk hY | |
| 30 | - have hp : Continuous ((B.normalizedGraphPotential P k).uncurry ∘ | |
| 31 | - (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2))) := | |
| 32 | - (B.normalizedGraphPotential_joint_continuous P k).comp hc | |
| 33 | - exact hp | |
| 34 | - | |
| 35 | 24 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 36 | 25 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 37 | 26 | (hXY : ∀ t x, X t (Y t x)=x) |
+0 −8 Euler/PacketPhysicalCostPolynomial.lean View file
| @@ -78,14 +78,6 @@ theorem extraPolynomial_eval (X : ℝ) : extraPolynomial.eval X=extraEnvelope X | ||
| 78 | 78 | Polynomial.eval_ofNat,Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X, |
| 79 | 79 | outputPolynomial_eval,gradePolynomial_eval,velocityPolynomial_eval,coefficientPolynomial_eval] |
| 80 | 80 | |
| 81 | -def extraConstant : ℝ := coefficientCost extraPolynomial | |
| 82 | -def extraPower : ℕ := extraPolynomial.natDegree | |
| 83 | - | |
| 84 | -theorem extraConstant_pos : 0 < extraConstant := coefficientCost_pos _ | |
| 85 | - | |
| 86 | -theorem extraEnvelope_power (X : ℝ) (hX : 1 ≤ X) : extraEnvelope X ≤ extraConstant*X^extraPower := by | |
| 87 | - rw [← extraPolynomial_eval] | |
| 88 | - exact (le_abs_self _).trans (eval_bound extraPolynomial X hX) | |
| 89 | 81 | |
| 90 | 82 | theorem physicalEnvelope_nonneg (X S : ℝ) (hX : 0 ≤ X) (hS : 0 ≤ S) : |
| 91 | 83 | 0 ≤ physicalEnvelope X S := by |
+0 −41 Euler/PacketPhysicalFieldTower.lean View file
| @@ -27,33 +27,6 @@ theorem reconstructedTower_pointField (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) | ||
| 27 | 27 | rw [reconstructedTower,FieldTower.smul_pointField,FieldTower.multiply_pointField] |
| 28 | 28 | rfl |
| 29 | 29 | |
| 30 | -def graphPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 31 | - (reconstructedTower D P κ Z).canonicalGraphWordPath | |
| 32 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 | |
| 33 | - | |
| 34 | -theorem graphPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 35 | - (graphPath D P κ Z k t : Space → Space) =ᵐ[volume] | |
| 36 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := by | |
| 37 | - have h := (reconstructedTower D P κ Z).canonicalGraphWordPath_ae | |
| 38 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 t | |
| 39 | - simpa only [graphPath,EulerCylinderSobolev.iteratedFieldDerivative_zero, | |
| 40 | - reconstructedTower_pointField,physicalPhase,cylinderGraph] using h | |
| 41 | - | |
| 42 | -def graphTensorPath (k : ℝ) (n : ℕ) : | |
| 43 | - C(Icc (0 : ℝ) D.T,Lp (Space [×n]→L[ℝ] Space) 2 (volume : Measure Space)) := | |
| 44 | - (reconstructedTower D P κ Z).physicalTensorPath k D.m₀ n | |
| 45 | - | |
| 46 | -theorem graphTensorPath_ae (k : ℝ) (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 47 | - (graphTensorPath D P κ Z k n t : Space → (Space [×n]→L[ℝ] Space)) =ᵐ[volume] | |
| 48 | - iteratedFDeriv ℝ n | |
| 49 | - (fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x))) := by | |
| 50 | - have h := (reconstructedTower D P κ Z).physicalTensorPath_ae k D.m₀ n t | |
| 51 | - have he : (reconstructedTower D P κ Z).physicalPointField k D.m₀ t = | |
| 52 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := | |
| 53 | - funext (fun x => reconstructedTower_pointField D P κ Z t (cylinderGraph P k D.m₀ x)) | |
| 54 | - rw [he] at h | |
| 55 | - exact h | |
| 56 | - | |
| 57 | 30 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 58 | 31 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 59 | 32 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| @@ -61,18 +34,4 @@ variable (X Y : Icc (0 : ℝ) D.T → Space → Space) | ||
| 61 | 34 | (hY : Continuous (Function.uncurry Y)) |
| 62 | 35 | (hdet : ∀ t x, (D.F.field t x).det=1) |
| 63 | 36 | |
| 64 | -def eulerianPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 65 | - transportPath X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) | |
| 66 | - | |
| 67 | -theorem eulerianPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 68 | - (eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t : Space → Space) =ᵐ[volume] | |
| 69 | - fun x => κ • D.F.field t (Y t x) | |
| 70 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := | |
| 71 | - transportPath_ae X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet | |
| 72 | - (graphPath D P κ Z k) _ (graphPath_ae D P κ Z k) t | |
| 73 | - | |
| 74 | -theorem eulerianPath_norm (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 75 | - ‖eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t‖ = ‖graphPath D P κ Z k t‖ := | |
| 76 | - transportPath_norm X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) t | |
| 77 | - | |
| 78 | 37 | end EulerPacketPhysicalField |
+0 −7 Euler/PacketPhysicalLowBounds.lean View file
| @@ -87,13 +87,6 @@ theorem normal_projection_quadratic_le (r z : Space) : | ||
| 87 | 87 | rw [Real.norm_eq_abs,sq_abs] at hsq |
| 88 | 88 | exact (div_le_iff₀ hn).2 (by nlinarith only [hsq]) |
| 89 | 89 | |
| 90 | -theorem pressureTerm_nonpos (amp slope : ℝ) (M : Matrix) (r w z : Space) | |
| 91 | - (hamp : 0 ≤ amp) (hslope : 0 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : | |
| 92 | - ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 0 := by | |
| 93 | - rw [pressureTerm_quadratic] | |
| 94 | - exact mul_nonpos_of_nonpos_of_nonneg (by nlinarith [mul_nonneg (mul_nonneg hamp hflux) hslope]) | |
| 95 | - (div_nonneg (sq_nonneg _) (sq_nonneg _)) | |
| 96 | - | |
| 97 | 90 | theorem pressureTerm_upper_flux (amp slope : ℝ) (M : Matrix) (r w z : Space) |
| 98 | 91 | (hamp : 0 ≤ amp) (hslope : -1 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : |
| 99 | 92 | ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 2*amp*⟪r,M w⟫_ℝ*‖z‖^2 := by |
+0 −130 Euler/PacketPhysicalStage.lean View file
| @@ -17,134 +17,4 @@ namespace EulerPacketMovingFrame | ||
| 17 | 17 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay |
| 18 | 18 | EulerPacketStage EulerPacketPerturbation InnerProductSpace ContinuousLinearMap |
| 19 | 19 | |
| 20 | -theorem physical_stage_references | |
| 21 | - {B B₁ M E : ℝ → Space →L[ℝ] Space} {m v r w : ℝ → Space} | |
| 22 | - {c s₀ t₀ a ε σ Θ T G d lam : ℝ} {S : Set ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT0 : 0 < T) (hT : T ≤ Θ) | |
| 24 | - (ha : 1/2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) | |
| 25 | - (hs₀ : s₀ ≠ 0) (hlam : 0 ≤ lam) | |
| 26 | - (hsmall : 1000000*stabilityConstant*(16*(ε*Θ*(4*G)^2+d))*Θ^40 ≤ 1) | |
| 27 | - (hmap : MapsTo (physicalTime t₀ a ε) (Icc 0 Θ) S) | |
| 28 | - (hMc : ContinuousOn M S) | |
| 29 | - (hBd : ∀ t ∈ S, HasDerivWithinAt B (B₁ t) S t) | |
| 30 | - (hmd : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) | |
| 31 | - (hvd : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ | |
| 32 | - (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) | |
| 33 | - (hrd : ∀ t ∈ S, HasDerivWithinAt r (-(M t).adjoint (r t)) S t) | |
| 34 | - (hwd : ∀ t ∈ S, HasDerivWithinAt w (-(M t) (w t)+ | |
| 35 | - (2*⟪r t,(M t) (w t)⟫_ℝ/‖r t‖^2) • r t) S t) | |
| 36 | - (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) | |
| 37 | - (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) (hrw0 : ⟪r t₀,w t₀⟫_ℝ = 0) | |
| 38 | - (hB : ∀ t ∈ S, ‖B t‖ ≤ G) (hB₁ : ∀ t ∈ S, ‖B₁ t‖ ≤ G^2) | |
| 39 | - (hE : ∀ t ∈ S, ‖E t‖ ≤ d) | |
| 40 | - (hparent : ∀ t ∈ S, M t = B t+ | |
| 41 | - primaryShear c m v t • rankOne ℝ (unit (v t)) (unit (m t))+E t) | |
| 42 | - (hb0 : rescaledFrame B m v t₀ a ε 0 0 1 = a) | |
| 43 | - (hk0 : rescaledFrame B m v t₀ a ε 0 2 1 = a*σ^2) | |
| 44 | - (hh0 : rescaledShear c m v t₀ a ε 0 = a/ε^2) | |
| 45 | - (hrInitial : norm3 (scaledRay m v r s₀ t₀ a ε 0 0) (scaledRay m v r s₀ t₀ a ε 0 1) | |
| 46 | - (scaledRay m v r s₀ t₀ a ε 0 2-1) ≤ 16*(ε*Θ*(4*G)^2+d)) | |
| 47 | - (hU0 : scaledVelocity m v w t₀ a ε 0 0 = -lam) | |
| 48 | - (hV0 : scaledVelocity m v w t₀ a ε 0 1 = 1) : | |
| 49 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 50 | - let U := fun τ => scaledVelocity m v w t₀ a ε τ 0 | |
| 51 | - let V := fun τ => scaledVelocity m v w t₀ a ε τ 1 | |
| 52 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 53 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 54 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 55 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) | |
| 56 | - (2*(1-σ^2*(σ^2*t^2))*F t) t) ∧ | |
| 57 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) | |
| 58 | - (2*(1-σ^2*(σ^2*t^2))*Z t) t) ∧ | |
| 59 | - (∀ t ∈ Icc 0 T, |V t-Z t|+|U t+Z₁ t| ≤ 160000000*e*Θ^29*(1+lam)*F t) ∧ | |
| 60 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ |V t/Z t-1| ≤ stabilityConstant*e*Θ^29 ∧ | |
| 61 | - |U t/V t+Z₁ t/Z t| ≤ 10*(stabilityConstant*e*Θ^29)) := by | |
| 62 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 63 | - let Rp := scaledRay m v r s₀ t₀ a ε | |
| 64 | - let Vp := scaledVelocity m v w t₀ a ε | |
| 65 | - let Mf := rescaledFrame M m v t₀ a ε | |
| 66 | - let Bf := rescaledFrame B m v t₀ a ε | |
| 67 | - let Rmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledRayEntry a ε (Mf τ) (frameSkew (Bf τ)) | |
| 68 | - let Amat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledVelocityEntry a ε (Mf τ) | |
| 69 | - let Cmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => | |
| 70 | - scaledVelocityEntry a ε (fun i j => Mf τ i j+frameSkew (Bf τ) i j) | |
| 71 | - have he : 0 ≤ e := by dsimp [e]; positivity | |
| 72 | - have hΘ0 : 0 ≤ Θ := by linarith | |
| 73 | - have hK : 1 ≤ stabilityConstant := le_trans (by norm_num) stabilityConstant_ge | |
| 74 | - have hbase : 1000000*e*Θ^40 ≤ 1 := by | |
| 75 | - have hnonneg := mul_nonneg (sub_nonneg.mpr hK) (mul_nonneg he (pow_nonneg hΘ0 40)) | |
| 76 | - change 1000000*stabilityConstant*e*Θ^40 ≤ 1 at hsmall | |
| 77 | - nlinarith only [hsmall, hnonneg] | |
| 78 | - have heΘ : e ≤ e*Θ^40 := by | |
| 79 | - simpa only [mul_one] using mul_le_mul_of_nonneg_left (one_le_pow₀ hΘ : 1 ≤ Θ^40) he | |
| 80 | - have heSmall : e ≤ 1 := by nlinarith only [hbase, heΘ, he] | |
| 81 | - have hpow : e*Θ^5 ≤ e*Θ^40 := | |
| 82 | - mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hΘ (by decide : 5 ≤ 40)) he | |
| 83 | - have hsmallRay : 400*(4*e)*Θ^5 ≤ 1 := by | |
| 84 | - nlinarith only [hbase, hpow, mul_nonneg he (pow_nonneg hΘ0 5)] | |
| 85 | - have ha0 : 0 < a := by linarith | |
| 86 | - have hσsq : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] | |
| 87 | - have herr := physical_matrix_errors ha hε hΘ hG hd heSmall hmap hBd hmd hvd hm0 hv0 hmv | |
| 88 | - hB hB₁ hE hparent hb0 hk0 hh0 | |
| 89 | - have hsub : Icc (0:ℝ) T ⊆ Icc 0 Θ := fun _ ht => ⟨ht.1, ht.2.trans hT⟩ | |
| 90 | - have hmapT : MapsTo (physicalTime t₀ a ε) (Icc 0 T) S := fun _ ht => hmap (hsub ht) | |
| 91 | - have hMf : ∀ i j, ContinuousOn (fun τ => Mf τ i j) (Icc 0 T) := | |
| 92 | - rescaledFrame_continuousOn B M hmapT hMc hmd hvd hm0 hv0 hmv | |
| 93 | - have hBf : ∀ i j, ContinuousOn (fun τ => Bf τ i j) (Icc 0 T) := | |
| 94 | - rescaledFrame_continuousOn B B hmapT (fun t ht => (hBd t ht).continuousWithinAt) | |
| 95 | - hmd hvd hm0 hv0 hmv | |
| 96 | - have hSf := frameSkew_continuousOn hBf | |
| 97 | - have hRmc : ∀ i j, ContinuousOn (fun τ => Rmat τ i j) (Icc 0 T) := | |
| 98 | - scaledRayEntry_continuousOn a ε hMf hSf | |
| 99 | - have hAmc : ∀ i j, ContinuousOn (fun τ => Amat τ i j) (Icc 0 T) := | |
| 100 | - scaledVelocityEntry_continuousOn a ε hMf | |
| 101 | - have hCmc : ∀ i j, ContinuousOn (fun τ => Cmat τ i j) (Icc 0 T) := | |
| 102 | - scaledVelocityEntry_continuousOn a ε (fun i j => (hMf i j).add (hSf i j)) | |
| 103 | - have hRode : ∀ i τ, τ ∈ Icc 0 T → HasDerivWithinAt (fun s => Rp s i) | |
| 104 | - (∑ j : Fin 3, Rmat τ i j*Rp τ j) (Icc 0 T) τ := by | |
| 105 | - intro i τ hτ | |
| 106 | - have ht := hmapT hτ | |
| 107 | - exact scaledRay_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) (M (physicalTime t₀ a ε τ)) | |
| 108 | - (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT (hmd _ ht) (hvd _ ht) (hrd _ ht) | |
| 109 | - (hm0 _ ht) (hv0 _ ht) (hmv _ ht) i | |
| 110 | - have hP : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 0) | |
| 111 | - (Rmat τ 0 0*Rp τ 0+Rmat τ 0 1*Rp τ 1+Rmat τ 0 2*Rp τ 2) (Icc 0 T) τ := by | |
| 112 | - intro τ hτ | |
| 113 | - simpa only [Fin.sum_univ_three] using hRode 0 τ hτ | |
| 114 | - have hQ : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 1) | |
| 115 | - (Rmat τ 1 0*Rp τ 0+Rmat τ 1 1*Rp τ 1+Rmat τ 1 2*Rp τ 2) (Icc 0 T) τ := by | |
| 116 | - intro τ hτ | |
| 117 | - simpa only [Fin.sum_univ_three] using hRode 1 τ hτ | |
| 118 | - have hN : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 2) | |
| 119 | - (Rmat τ 2 0*Rp τ 0+Rmat τ 2 1*Rp τ 1+Rmat τ 2 2*Rp τ 2) (Icc 0 T) τ := by | |
| 120 | - intro τ hτ | |
| 121 | - simpa only [Fin.sum_univ_three] using hRode 2 τ hτ | |
| 122 | - have hRclose : ∀ τ ∈ Icc 0 T, ∀ i j, |Rmat τ i j-idealRayEntry (σ^2) i j| ≤ 4*e := | |
| 123 | - fun τ hτ => (herr.2 τ (hsub hτ)).1 | |
| 124 | - have hnear := ray_closeness_within (sq_nonneg σ) hσsq hΘ hT0 hT | |
| 125 | - (mul_nonneg (by norm_num : (0:ℝ) ≤ 4) he) hsmallRay hRmc hP hQ hN hRclose | |
| 126 | - (hrInitial.trans (show e ≤ 4*e by linarith)) | |
| 127 | - have hrnonzero : ∀ τ ∈ Icc 0 T, r (physicalTime t₀ a ε τ) ≠ 0 := by | |
| 128 | - intro τ hτ hzero | |
| 129 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 130 | - apply hNne | |
| 131 | - simp only [Rp, scaledRay, movingRay, hzero, inner_zero_right, zero_div] | |
| 132 | - have hpair := rescaled_tangentPairing_zero M hmapT hrd hwd hrnonzero hrw0 | |
| 133 | - have hUV : ∀ τ ∈ Icc 0 T, | |
| 134 | - HasDerivWithinAt (fun s => Vp s 0) | |
| 135 | - (velocityFirstRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ ∧ | |
| 136 | - HasDerivWithinAt (fun s => Vp s 1) | |
| 137 | - (velocitySecondRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ := by | |
| 138 | - intro τ hτ | |
| 139 | - have ht := hmapT hτ | |
| 140 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 141 | - exact scaledVelocity_firstTwo_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) | |
| 142 | - (M (physicalTime t₀ a ε τ)) (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT | |
| 143 | - (hmd _ ht) (hvd _ ht) (hwd _ ht) (hm0 _ ht) (hv0 _ ht) (hmv _ ht) | |
| 144 | - (hrnonzero τ hτ) (hpair τ hτ) hNne | |
| 145 | - exact controlled_stage_references_within hσ hσsmall hΘ hT0 hT he hε.le herr.1 hlam hsmall | |
| 146 | - hRmc hAmc hCmc hP hQ hN (fun τ hτ => (hUV τ hτ).1) (fun τ hτ => (hUV τ hτ).2) | |
| 147 | - hRclose (fun τ hτ => (herr.2 τ (hsub hτ)).2.1) (fun τ hτ => (herr.2 τ (hsub hτ)).2.2) | |
| 148 | - hrInitial hU0 hV0 | |
| 149 | - | |
| 150 | 20 | end EulerPacketMovingFrame |
+0 −65 Euler/PacketPiola.lean View file
| @@ -24,69 +24,4 @@ theorem adjoint_apply_coordinate (A : Space →L[ℝ] Space) (q : Space) (i : Fi | ||
| 24 | 24 | simpa only [EuclideanSpace.inner_single_left, conj_trivial, one_mul] using |
| 25 | 25 | A.adjoint_inner_right (EuclideanSpace.single i 1) q |
| 26 | 26 | |
| 27 | -/-- Pull back a Euclidean covector field by the actual derivative of the coordinate map. -/ | |
| 28 | -def pullbackCovector (Ξ Q : Space → Space) (x : Space) : Space := | |
| 29 | - (fderiv ℝ Ξ x).adjoint (Q x) | |
| 30 | - | |
| 31 | -/-- Symmetric second derivatives remove the entire derivative-of-Jacobian term from curl. -/ | |
| 32 | -theorem curl_pullbackCovector (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 33 | - (x : Space) (hQ : DifferentiableAt ℝ Q x) : | |
| 34 | - vectorCurl (pullbackCovector Ξ Q) x = | |
| 35 | - curlMatrix ((fderiv ℝ Ξ x).adjoint.comp (fderiv ℝ Q x)) := by | |
| 36 | - have hD : DifferentiableAt ℝ (fderiv ℝ Ξ) x := | |
| 37 | - ((hΞ.fderiv_right (m := 1) le_rfl).differentiable one_ne_zero).differentiableAt | |
| 38 | - have hA : HasFDerivAt (fun y => (fderiv ℝ Ξ y).adjoint) | |
| 39 | - ((realAdjoint (U := Space) (E := Space)).comp (fderiv ℝ (fderiv ℝ Ξ) x)) x := | |
| 40 | - (realAdjoint (U := Space) (E := Space)).hasFDerivAt.comp x hD.hasFDerivAt | |
| 41 | - have hp := hA.clm_apply hQ.hasFDerivAt | |
| 42 | - have hzero : curlMatrix | |
| 43 | - (((realAdjoint (U := Space) (E := Space)).comp | |
| 44 | - (fderiv ℝ (fderiv ℝ Ξ) x)).flip (Q x)) = 0 := by | |
| 45 | - ext i | |
| 46 | - change ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 1) 1)).adjoint (Q x)) (i + 2) - | |
| 47 | - ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 2) 1)).adjoint (Q x)) (i + 1) = 0 | |
| 48 | - rw [adjoint_apply_coordinate, adjoint_apply_coordinate] | |
| 49 | - have hs := ((hΞ.contDiffAt (x := x)).isSymmSndFDerivAt (n := 2) (by simp)).eq | |
| 50 | - (EuclideanSpace.single (i + 1) 1) (EuclideanSpace.single (i + 2) 1) | |
| 51 | - rw [hs, sub_self] | |
| 52 | - change vectorCurl (fun y => (fderiv ℝ Ξ y).adjoint (Q y)) x = _ | |
| 53 | - rw [vectorCurl_eq_matrix _ x hp.differentiableAt, hp.fderiv, curlMatrix_add, hzero, add_zero] | |
| 54 | - | |
| 55 | -/-- The source's slow transformed curl `d × Q`, with `d=F⁻ᵀ ∇`. -/ | |
| 56 | -def transformedCurl (F : Space → Space ≃L[ℝ] Space) (Q : Space → Space) (x : Space) : Space := | |
| 57 | - curlMatrix ((fderiv ℝ Q x).comp (F x).symm.toContinuousLinearMap) | |
| 58 | - | |
| 59 | -/-- For the actual Jacobian and unit determinant, `F⁻¹(d×Q)=curl(FᵀQ)`. -/ | |
| 60 | -theorem piola_curl (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 61 | - (F : Space ≃L[ℝ] Space) (x : Space) | |
| 62 | - (hF : fderiv ℝ Ξ x = F.toContinuousLinearMap) | |
| 63 | - (hdet : (operatorMatrix F.toContinuousLinearMap).det = 1) | |
| 64 | - (hQ : DifferentiableAt ℝ Q x) : | |
| 65 | - F.symm (curlMatrix ((fderiv ℝ Q x).comp F.symm.toContinuousLinearMap)) = | |
| 66 | - vectorCurl (pullbackCovector Ξ Q) x := by | |
| 67 | - rw [curl_pullbackCovector Ξ Q hΞ x hQ, hF] | |
| 68 | - exact (curlMatrix_piola F hdet (fderiv ℝ Q x)).symm | |
| 69 | - | |
| 70 | -theorem pullbackCovector_smooth (Ξ Q : Space → Space) | |
| 71 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) : | |
| 72 | - ContDiff ℝ ∞ (pullbackCovector Ξ Q) := | |
| 73 | - ((realAdjoint (U := Space) (E := Space)).contDiff.comp | |
| 74 | - (hΞ.fderiv_right (m := ∞) (by simp))).clm_apply hQ | |
| 75 | - | |
| 76 | -/-- The transformed curl produces an actually divergence-free label velocity. -/ | |
| 77 | -theorem divergence_piola_curl (Ξ Q : Space → Space) | |
| 78 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) | |
| 79 | - (F : Space → Space ≃L[ℝ] Space) | |
| 80 | - (hF : ∀ x, fderiv ℝ Ξ x = (F x).toContinuousLinearMap) | |
| 81 | - (hdet : ∀ x, (operatorMatrix (F x).toContinuousLinearMap).det = 1) (x : Space) : | |
| 82 | - divergence (fun y => (F y).symm (transformedCurl F Q y)) x = 0 := by | |
| 83 | - have he : (fun y => (F y).symm (transformedCurl F Q y)) = | |
| 84 | - vectorCurl (pullbackCovector Ξ Q) := by | |
| 85 | - funext y | |
| 86 | - exact piola_curl Ξ Q (hΞ.of_le (by simp)) (F y) y (hF y) (hdet y) | |
| 87 | - ((hQ.differentiable (by simp)).differentiableAt) | |
| 88 | - rw [he] | |
| 89 | - exact divergence_curl (fun i y => pullbackCovector Ξ Q y i) | |
| 90 | - ((contDiff_piLp 2).mp (pullbackCovector_smooth Ξ Q hΞ hQ)) x | |
| 91 | - | |
| 92 | 27 | end EulerPacketPiola |
+0 −20 Euler/PacketPiolaPair.lean View file
| @@ -70,26 +70,6 @@ theorem coveringPotential_angle_derivative (P : ℝ) (m : Space → Space) | ||
| 70 | 70 | ((hasDerivAt_const z.2 z.1).prodMk (hasDerivAt_id z.2)) |
| 71 | 71 | exact hline.unique (potential_hasDerivAt P (m z.1) (fun θ => A (z.1, θ)) hA z.2) |
| 72 | 72 | |
| 73 | -/-- A literal source pair is a Piola curl for the actual constructed angular primitive. -/ | |
| 74 | -theorem coveringPotential_pair_piola (P κ : ℝ) (m₀ : Space) (Ξ : Space → Space) | |
| 75 | - (A : LiftTangent → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 76 | - (F : Space → Space ≃L[ℝ] Space) (z : LiftTangent) | |
| 77 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 78 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 79 | - (hm : (F z.1).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 80 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀, A z⟫_ℝ = 0) | |
| 81 | - (hA : Continuous (fun θ => A (z.1, θ))) | |
| 82 | - (hq : DifferentiableAt ℝ | |
| 83 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) : | |
| 84 | - (F z.1).symm (A z + κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 85 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 86 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 87 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 88 | - have hp := covering_piola_curl κ m₀ Ξ _ hΞ z (F z.1) hF hdet hq | |
| 89 | - rw [curl_lifted_split, coveringPotential_angle_derivative P _ A z hA hq, | |
| 90 | - cross_potentialMultiplier _ _ hm htan] at hp | |
| 91 | - simpa only [coveringSlowCurl, add_comm] using hp | |
| 92 | - | |
| 93 | 73 | variable (period : ℝ) |
| 94 | 74 | |
| 95 | 75 | def liftedSlowCurl (F : Space → Space ≃L[ℝ] Space) (Q : LiftDomain period → Space) |
+0 −37 Euler/PacketPointJets.lean View file
| @@ -72,41 +72,4 @@ def fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 72 | 72 | (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) : E := |
| 73 | 73 | evaluate M κ (fun n => u n z) |
| 74 | 74 | |
| 75 | -/-- Taking the actual first jet commutes with a finite packet sum. -/ | |
| 76 | -theorem jet_fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 77 | - (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) | |
| 78 | - (hu : ∀ n ≤ M, DifferentiableAt ℝ (u n) z) : | |
| 79 | - jet (fieldSum M κ u) z = evaluate M κ (fun n => jet (u n) z) := by | |
| 80 | - have hd := HasFDerivAt.fun_sum (u := Finset.range (M+1)) | |
| 81 | - (fun n hn => ((hu n (by have h := Finset.mem_range.mp hn; omega)).hasFDerivAt).const_smul (κ^n)) | |
| 82 | - apply Prod.ext | |
| 83 | - · change (∑ n ∈ Finset.range (M+1), κ^n • u n z) = | |
| 84 | - (AddMonoidHom.fst E (Domain →L[ℝ] E)) | |
| 85 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 86 | - rw [map_sum] | |
| 87 | - rfl | |
| 88 | - · change fderiv ℝ (fieldSum M κ u) z = _ | |
| 89 | - rw [show fderiv ℝ (fieldSum M κ u) z = | |
| 90 | - ∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z from hd.fderiv] | |
| 91 | - change (∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z) = | |
| 92 | - (AddMonoidHom.snd E (Domain →L[ℝ] E)) | |
| 93 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 94 | - rw [map_sum] | |
| 95 | - rfl | |
| 96 | - | |
| 97 | -/-- This is the literal normalized momentum expression evaluated through its true first derivatives. -/ | |
| 98 | -def momentumResidual (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 99 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : Space := | |
| 100 | - linearPart M (jet u z) + slowPressure FInv (jet p z) + κ⁻¹ • fastPressure m (jet p z) + | |
| 101 | - slowAdvection FInv (jet u z) (jet u z) + κ⁻¹ • fastAdvection m (jet u z) (jet u z) | |
| 102 | - | |
| 103 | -theorem momentumResidual_formula (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 104 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : | |
| 105 | - momentumResidual κ FInv M m u p z = | |
| 106 | - fderiv ℝ u z timeDirection + M (u z) + | |
| 107 | - FInv.adjoint ((toDual ℝ Space).symm ((fderiv ℝ p z).comp spatialInjection)) + | |
| 108 | - κ⁻¹ • (fderiv ℝ p z angleDirection • m) + | |
| 109 | - fderiv ℝ u z (spatialInjection (FInv (u z))) + | |
| 110 | - κ⁻¹ • (⟪m, u z⟫_ℝ • fderiv ℝ u z angleDirection) := rfl | |
| 111 | - | |
| 112 | 75 | end EulerPacketPointJets |
+0 −30 Euler/PacketPotentialRegularity.lean View file
| @@ -30,34 +30,4 @@ theorem coveringPotential_contDiff (P : ℝ) (hP : 0 ≤ P) | ||
| 30 | 30 | (fun z : LiftTangent => potentialMultiplier (m z.1) (A z)) |
| 31 | 31 | (((potentialMultiplier_contDiff m hm hnz).comp contDiff_fst).clm_apply hA) |
| 32 | 32 | |
| 33 | -/-- The curl is the actual first spatial derivative of the constructed potential. -/ | |
| 34 | -theorem coveringSlowCurl_contDiff (P : ℝ) (hP : 0 ≤ P) | |
| 35 | - (m : Space → Space) (A : LiftTangent → Space) | |
| 36 | - (G : Space → Space →L[ℝ] Space) | |
| 37 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) (hA : ContDiff ℝ ∞ A) | |
| 38 | - (hG : ContDiff ℝ ∞ G) : | |
| 39 | - ContDiff ℝ ∞ (fun z : LiftTangent => coveringSlowCurl (G z.1) (coveringPotential P m A) z) := by | |
| 40 | - have hQ := coveringPotential_contDiff P hP m A hm hnz hA | |
| 41 | - exact curlOperator.contDiff.comp | |
| 42 | - ((contDiff_infty_iff_fderiv.mp hQ).2.clm_comp | |
| 43 | - (contDiff_const.clm_comp (hG.comp contDiff_fst))) | |
| 44 | - | |
| 45 | -/-- The Piola identity now needs regularity only for the input fields, not for Q. -/ | |
| 46 | -theorem smooth_coveringPotential_pair_piola (P κ : ℝ) (hP : 0 ≤ P) | |
| 47 | - (m₀ : Space) (Ξ : Space → Space) (A : LiftTangent → Space) | |
| 48 | - (hΞ : ContDiff ℝ 2 Ξ) (F : Space → Space ≃L[ℝ] Space) | |
| 49 | - (hNormal : ContDiff ℝ ∞ (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀)) | |
| 50 | - (hm : ∀ y, (F y).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 51 | - (hA : ContDiff ℝ ∞ A) (z : LiftTangent) | |
| 52 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 53 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 54 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀,A z⟫_ℝ=0) : | |
| 55 | - (F z.1).symm (A z+κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 56 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 57 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 58 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 59 | - exact coveringPotential_pair_piola P κ m₀ Ξ A hΞ F z hF hdet (hm z.1) htan | |
| 60 | - (hA.continuous.comp (continuous_const.prodMk continuous_id)) | |
| 61 | - ((coveringPotential_contDiff P hP _ A hNormal hm hA).differentiable (by simp) z) | |
| 62 | - | |
| 63 | 33 | end EulerPacketPiola |
+0 −3 Euler/PacketPressureCovector.lean View file
| @@ -29,9 +29,6 @@ def gradientLinear : ScalarJet →ₗ[ℝ] Space where | ||
| 29 | 29 | map_add' J K := by simp [add_comp] |
| 30 | 30 | map_smul' c J := by simp [smul_comp] |
| 31 | 31 | |
| 32 | -theorem gradientLinear_jet (p : ScalarField) (z : Domain) : | |
| 33 | - gradientLinear (pressureJet p z)=pressureGradient p z := rfl | |
| 34 | - | |
| 35 | 32 | theorem fieldSum_assemble {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 36 | 33 | (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) (z : Domain) : |
| 37 | 34 | fieldSum (N+1) κ (assemble N u c) z=fieldSum N κ u z+κ • fieldSum N κ c z := by |
+0 −8 Euler/PacketPressureFastHessian.lean View file
| @@ -68,12 +68,4 @@ theorem norm_fderiv_smul_unit (a : LiftTangent → ℝ) (m : Space) (hm : ‖m | ||
| 68 | 68 | ‖fderiv ℝ (fun y => a y • m) z‖ = ‖fderiv ℝ a z‖ := by |
| 69 | 69 | rw [(ha.hasFDerivAt.smul_const m).fderiv,norm_smulRight_apply,hm,mul_one] |
| 70 | 70 | |
| 71 | -theorem norm_fderiv_clm_apply_le (A : Space → Space →L[ℝ] Space) (u : Space → Space) | |
| 72 | - (x : Space) (hA : DifferentiableAt ℝ A x) (hu : DifferentiableAt ℝ u x) : | |
| 73 | - ‖fderiv ℝ (fun y => A y (u y)) x‖ ≤ | |
| 74 | - ‖A x‖*‖fderiv ℝ u x‖+‖fderiv ℝ A x‖*‖u x‖ := by | |
| 75 | - rw [fderiv_clm_apply hA hu] | |
| 76 | - exact (norm_add_le _ _).trans (add_le_add (opNorm_comp_le _ _) | |
| 77 | - (by simpa only [opNorm_flip] using (fderiv ℝ A x).flip.le_opNorm (u x))) | |
| 78 | - | |
| 79 | 71 | end EulerPacketGraphHessian |
+0 −16 Euler/PacketPressureSeries.lean View file
| @@ -52,22 +52,6 @@ theorem finite_sum_le {f : ℕ → ℝ} {a : ℝ} (hf : SmallSeries f a) (N : | ||
| 52 | 52 | ∑ n ∈ Finset.range N, f n ≤ a := |
| 53 | 53 | (hf.summable.sum_le_tsum (Finset.range N) (fun n _ => hf.nonneg n)).trans hf.total_le |
| 54 | 54 | |
| 55 | -theorem upper_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 56 | - {increment error : ℕ → ℝ} {a b e : ℝ} | |
| 57 | - (hg : SmallSeries (fun n => 2*CM*goodRatio*goodCost J x n) a) | |
| 58 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 59 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 60 | - (h : ∀ n, increment n ≤ 2*CM*goodRatio*goodCost J x n+badCost J Cθ CM CMn CHn c x n+error n) : | |
| 61 | - SmallSeries increment (a+b+e) := | |
| 62 | - (add_series (add_series hg hb) he).mono h0 h | |
| 63 | - | |
| 64 | -theorem initial_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 65 | - {increment error : ℕ → ℝ} {b e : ℝ} | |
| 66 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 67 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 68 | - (h : ∀ n, increment n ≤ badCost J Cθ CM CMn CHn c x n+error n) : | |
| 69 | - SmallSeries increment (b+e) := (add_series hb he).mono h0 h | |
| 70 | - | |
| 71 | 55 | /-- The added pressure costs share the stage index and base scale with |
| 72 | 56 | any finite list of the existing source costs. -/ |
| 73 | 57 | theorem uniform_choice {ι : Type*} [Fintype ι] (s : ι → CostSpec) |
+0 −13 Euler/PacketPrimaryCommonRadius.lean View file
| @@ -46,22 +46,9 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 46 | 46 | exact ⟨hC, hb.2.1.trans hR, hb.2.2.1.trans hR, |
| 47 | 47 | hb.2.2.2.1.trans hR, hb.2.2.2.2.trans hR⟩ |
| 48 | 48 | |
| 49 | -/-- An arbitrary extra requirement can be included without changing any | |
| 50 | -source cost or the primary time profile. -/ | |
| 51 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 52 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 53 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 54 | - ⟨max extra (H.gradeRadius (P := P) N C), le_max_left _ _, | |
| 55 | - H.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 56 | - | |
| 57 | 49 | namespace GradeGuards |
| 58 | 50 | |
| 59 | 51 | variable {H N C} |
| 60 | 52 | |
| 61 | -theorem enlargeRadius (W : GradeGuards (P := P) H N C) (R' : ℝ) (h : L.R ≤ R') : | |
| 62 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 63 | - ⟨W.terminal_nonneg, W.common.trans h, W.corrector.trans h, | |
| 64 | - W.correctorTime.trans h, W.pressureGradient.trans h⟩ | |
| 65 | - | |
| 66 | 53 | end GradeGuards |
| 67 | 54 | end EulerTransversePacketPrimary.Budget |
+0 −67 Euler/PacketPrimaryDynamics.lean View file
| @@ -117,71 +117,4 @@ theorem canonicalNormal_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | ||
| 117 | 117 | simpa only [extendPath,Data.clamp,projIcc_of_mem D.T_pos.le t.property, |
| 118 | 118 | Data.normalDerivative_apply] using D.normal_hasDerivWithinAt t t.property x |
| 119 | 119 | |
| 120 | -theorem canonicalVelocity_tangent (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 121 | - ⟪D.normal.field t x,canonicalVelocity τ hτ hτT B ξ hs t x⟫_ℝ = 0 := by | |
| 122 | - have h : ⟪D.normal.field t x, | |
| 123 | - vector τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) (t,(x,Real.pi/2))⟫_ℝ = 0 := by | |
| 124 | - simpa only [Data.normalField,Data.clamp_coe] using | |
| 125 | - vector_tangent τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) t x (Real.pi/2) | |
| 126 | - simp only [canonicalVelocity,envelopedVelocity,inner_smul_right,h,mul_zero] | |
| 127 | - | |
| 128 | -theorem canonicalVelocity_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 129 | - HasDerivWithinAt (fun s => canonicalVelocity τ hτ hτT B ξ hs s x) | |
| 130 | - (-D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)+ | |
| 131 | - (2*⟪D.normal.field t x,D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)⟫_ℝ/ | |
| 132 | - ‖D.normal.field t x‖^2) • D.normal.field t x) (Icc (0 : ℝ) D.T) t := by | |
| 133 | - simpa only [physicalGenerator_apply] using canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs t x | |
| 134 | - | |
| 135 | -theorem canonicalVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 136 | - (x : Space) (hx : innerCutoff x ≠ 0) : canonicalVelocity τ hτ hτT B ξ hs t x ≠ 0 := by | |
| 137 | - intro ht | |
| 138 | - obtain ⟨s,hs0⟩ := B.coefficients.labelVelocity_exists_ne_zero x ξ hξ | |
| 139 | - let sd : Icc (0 : ℝ) D.T := ⟨s,s.property.1,s.property.2.trans hτT.le⟩ | |
| 140 | - have hz := (constructedEvolution D.T D.T_pos.le (physicalGenerator D x)).homogeneous_zero_at | |
| 141 | - (fun r => canonicalVelocity τ hτ hτT B ξ hs r x) | |
| 142 | - (fun r => canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs r x) t sd ht | |
| 143 | - change canonicalVelocity τ hτ hτT B ξ hs s x = 0 at hz | |
| 144 | - rw [canonicalVelocity_history τ hτ hτT B ξ hs s x] at hz | |
| 145 | - exact hs0 ((smul_eq_zero.mp hz).resolve_left hx) | |
| 146 | - | |
| 147 | -theorem canonicalVelocity_center_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 148 | - canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0 := | |
| 149 | - canonicalVelocity_ne_zero τ hτ hτT B ξ hs hξ t 0 (by rw [innerCutoff_zero]; exact one_ne_zero) | |
| 150 | - | |
| 151 | -theorem canonical_size_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 152 | - 0 < ‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ := | |
| 153 | - mul_pos (norm_pos_iff.mpr (HistoryData.normal_ne_zero t 0)) | |
| 154 | - (norm_pos_iff.mpr (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t)) | |
| 155 | - | |
| 156 | -def canonicalVelocityPath (x : Space) : C(Icc (0 : ℝ) D.T,Space) where | |
| 157 | - toFun t := canonicalVelocity τ hτ hτT B ξ hs t x | |
| 158 | - continuous_toFun := (show ContinuousOn (fun t => canonicalVelocity τ hτ hτT B ξ hs t x) | |
| 159 | - (Icc (0 : ℝ) D.T) from fun t ht => | |
| 160 | - (canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs ⟨t,ht⟩ x).continuousWithinAt).domRestrict | |
| 161 | - | |
| 162 | -theorem canonical_amplitude_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 163 | - (δ h : ℝ) (hδ : 0 < δ) (hh : 0 < h) : | |
| 164 | - 0 < δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := | |
| 165 | - div_pos (mul_pos hδ hh) (canonical_size_pos τ hτ hτT B ξ hs hξ t) | |
| 166 | - | |
| 167 | -/-- The actual scaled terminal datum achieves the requested primary | |
| 168 | -gradient norm; nonvanishing is proved from its nonzero terminal direction. -/ | |
| 169 | -theorem scaled_terminal_target_shear (hξ : ξ ≠ 0) (δ : ℝ) (hδ : 0 < δ) | |
| 170 | - (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 171 | - (X Y : Space → Space) (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 172 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 173 | - let α := δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) | |
| 174 | - ‖fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 175 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))) (X 0)‖ = h := by | |
| 176 | - dsimp only | |
| 177 | - have he := EulerPacketPrimaryShear.scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs | |
| 178 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t | |
| 179 | - change ‖fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 180 | - (initialData D δ hδ ((δ*h/(‖D.normal.field t 0‖* | |
| 181 | - ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) • ξ) hs) | |
| 182 | - (t,(x,k*inner ℝ D.m₀ x))) ∘ Y) (X 0)‖ = h | |
| 183 | - rw [he] | |
| 184 | - exact EulerPacketPrimaryShear.fullWave_target_shear τ hτ hτT B δ hδ ξ hs h k hh hk t X Y | |
| 185 | - hX hY hleft (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t) | |
| 186 | - | |
| 187 | 120 | end EulerPacketPrimaryFactorization |
+0 −118 Euler/PacketPrimaryFullShear.lean View file
| @@ -19,122 +19,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 19 | 19 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 20 | 20 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 21 | 21 | |
| 22 | -def fullWave (α k : ℝ) (t : Icc (0 : ℝ) D.T) (y : Space) : Space := | |
| 23 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 24 | - | |
| 25 | -theorem fullWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 26 | - HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 27 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) 0 := by | |
| 28 | - let A : Space × ℝ → Space := fun z => | |
| 29 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 30 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 31 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth t).differentiable (by simp) (0,0) | |
| 32 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 33 | - intro y | |
| 34 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 35 | - rw [vector_factorization] | |
| 36 | - simp [profile] | |
| 37 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) | |
| 38 | - (δ⁻¹ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) 0 := by | |
| 39 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 40 | - rw [profile_deriv_zero δ hδ] at hp | |
| 41 | - have he : (fun θ : ℝ => A (0,θ)) = | |
| 42 | - fun θ => profile δ θ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 := | |
| 43 | - funext (vector_factorization τ hτ hτT B δ hδ ξ hs t 0) | |
| 44 | - rw [he] | |
| 45 | - exact hp.smul_const _ | |
| 46 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 47 | - have hc : α/k*k=α := by field_simp | |
| 48 | - rw [hc] at h | |
| 49 | - convert! h using 1 | |
| 50 | - apply ContinuousLinearMap.ext | |
| 51 | - intro v | |
| 52 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 53 | - congr 1 | |
| 54 | - rw [div_eq_mul_inv] | |
| 55 | - ring | |
| 56 | - | |
| 57 | -theorem fullWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - HasFDerivAt (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 62 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) | |
| 63 | - (D.normal.field t 0)) (X 0) := by | |
| 64 | - have he : (Y ∘ X) = id := funext hleft | |
| 65 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 66 | - rw [he,fderiv_id,id_comp] at hdY | |
| 67 | - have hy : HasFDerivAt Y (D.deformationEquiv t 0).symm.toContinuousLinearMap (X 0) := | |
| 68 | - hdY ▸ hY.hasFDerivAt | |
| 69 | - have hp : HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 70 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) (Y (X 0)) := by | |
| 71 | - rw [hleft] | |
| 72 | - exact fullWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 73 | - convert! hp.comp (X 0) hy using 1 | |
| 74 | - apply ContinuousLinearMap.ext | |
| 75 | - intro v | |
| 76 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 77 | - congr 2 | |
| 78 | - exact (D.FInv.field t 0).adjoint_inner_left v D.m₀ | |
| 79 | - | |
| 80 | -theorem fullWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 81 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 82 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 83 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 84 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 85 | - (α/δ) * (‖D.normal.field t 0‖ * ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖) := by | |
| 86 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 87 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne,mul_comm | |
| 88 | - ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖ ‖D.normal.field t 0‖] | |
| 89 | - | |
| 90 | -/-- The normalized rank-one expression is exactly the one in the source | |
| 91 | -geometry record, with c=α/δ and the actual primary velocity. -/ | |
| 92 | -theorem fullWave_physical_normalized_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 93 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 94 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 95 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 96 | - (hv : envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 ≠ 0) : | |
| 97 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 98 | - ((α/δ)*(‖D.normal.field t 0‖*‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖)) • | |
| 99 | - rankOne ℝ (unit (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0)) (unit (D.normal.field t 0)) := by | |
| 100 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv] | |
| 101 | - exact rankOne_normalized _ _ _ hv (HistoryData.normal_ne_zero t 0) | |
| 102 | - | |
| 103 | -theorem fullWave_physical_canonical_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 104 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 105 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 106 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 107 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 108 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 109 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 110 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 111 | - rfl | |
| 112 | - | |
| 113 | -theorem fullWave_physical_canonical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 114 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 115 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 116 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 117 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 118 | - (α/δ) * (‖D.normal.field t 0‖ * ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := by | |
| 119 | - rw [fullWave_physical_norm τ hτ hτT B δ hδ ξ hs α k hα hk t X Y hX hY hleft, | |
| 120 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 121 | - rfl | |
| 122 | - | |
| 123 | -/-- The source amplitude choice gives exactly the requested center shear | |
| 124 | -for the genuine primary, at any chosen target time. The size in this | |
| 125 | -choice uses the velocity independent of the narrow profile δ. -/ | |
| 126 | -theorem fullWave_target_shear (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) | |
| 127 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 128 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 129 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 130 | - (hv : canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0) : | |
| 131 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs | |
| 132 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t (Y x)) (X 0)‖ = h := by | |
| 133 | - have hm : ‖D.normal.field t 0‖ ≠ 0 := norm_ne_zero_iff.mpr (HistoryData.normal_ne_zero t 0) | |
| 134 | - have hw : ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ ≠ 0 := norm_ne_zero_iff.mpr hv | |
| 135 | - rw [fullWave_physical_canonical_norm τ hτ hτT B δ hδ ξ hs _ k | |
| 136 | - (div_nonneg (mul_nonneg hδ.le hh) (mul_nonneg (norm_nonneg _) (norm_nonneg _))) | |
| 137 | - hk t X Y hX hY hleft] | |
| 138 | - field_simp [hδ.ne',hm,hw] | |
| 139 | - | |
| 140 | 22 | end EulerPacketPrimaryShear |
+0 −47 Euler/PacketPrimaryPressureShear.lean View file
| @@ -63,51 +63,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 63 | 63 | coefficient τ hτ hτT B ξ hs a t x * deriv (profile δ) θ := |
| 64 | 64 | (scalar_deriv_hasDerivAt τ hτ hτT B δ hδ ξ hs a t x θ).deriv |
| 65 | 65 | |
| 66 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 67 | - deriv (deriv (fun s => scalar τ hτ hτT B | |
| 68 | - (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 69 | - coefficient τ hτ hτT B ξ hs a t x / δ := by | |
| 70 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 71 | - | |
| 72 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 73 | - k⁻¹^2 * scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 75 | - | |
| 76 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 77 | - (x : Space) : Space →L[ℝ] Space := | |
| 78 | - lowerHessian (fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 79 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 80 | - | |
| 81 | -/-- The leading term is the literal normal tensor in source (20); the | |
| 82 | -remainder contains only terms with at least one factor of k⁻¹. -/ | |
| 83 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 84 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 85 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t Y)) x = | |
| 86 | - (coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 87 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 88 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t Y x := by | |
| 89 | - let q : LiftTangent → ℝ := fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 90 | - have hq : ContDiff ℝ ∞ q := scalar_smooth τ hτ hτT B _ t | |
| 91 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 92 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 93 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 94 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 95 | - coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 96 | - rw [angularSecond_eq_deriv hq] | |
| 97 | - exact scalar_second_deriv τ hτ hτT B δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 98 | - rw [ha] at hh | |
| 99 | - exact hh | |
| 100 | - | |
| 101 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 102 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 103 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 104 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 105 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 106 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t (Y t))) x = | |
| 107 | - (coefficient τ hτ hτT B ξ hs a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 108 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 109 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t (Y t) x := | |
| 110 | - physicalPressure_hessian τ hτ hτT B δ hδ ξ hs a k hk t (Y t) | |
| 111 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 112 | - | |
| 113 | 66 | end EulerPacketPrimaryPressure |
+0 −22 Euler/PacketPrimaryScaling.lean View file
| @@ -57,26 +57,4 @@ theorem vector_terminal_smul (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 57 | 57 | H.orbit (G.smul a).orbit t t (congrArg (fun p => p t) hp)) (x,(θ : AddCircle period)) |
| 58 | 58 | exact (H.raw_eq t x θ).trans (he.trans ((G.smul a).raw_eq t x θ).symm) |
| 59 | 59 | |
| 60 | -theorem scaled_terminal_wave_eq (a k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 61 | - (fun x : Space => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 62 | - (t,(x,k*⟪D.m₀,x⟫_ℝ))) = fullWave τ hτ hτT B δ hδ ξ hs a k t := by | |
| 63 | - funext x | |
| 64 | - rw [vector_terminal_smul τ hτ hτT B δ hδ ξ hs] | |
| 65 | - simp only [fullWave,smul_smul,div_eq_mul_inv,mul_comm] | |
| 66 | - | |
| 67 | -/-- This derivative belongs to the literal primary used by the initialized | |
| 68 | -packet, where the amplitude is inserted in its terminal datum. -/ | |
| 69 | -theorem scaled_terminal_physical_gradient (a k : ℝ) (hk : k ≠ 0) | |
| 70 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 71 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 72 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 73 | - fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))) (X 0) = | |
| 75 | - (a/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 76 | - have he := scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs a k t | |
| 77 | - change fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 78 | - (initialData D δ hδ (a • ξ) hs) (t,(x,k*⟪D.m₀,x⟫_ℝ))) ∘ Y) (X 0) = _ | |
| 79 | - rw [he] | |
| 80 | - exact fullWave_physical_canonical_gradient τ hτ hτT B δ hδ ξ hs a k hk t X Y hX hY hleft | |
| 81 | - | |
| 82 | 60 | end EulerPacketPrimaryShear |
+0 −109 Euler/PacketPrimaryShearIdentity.lean View file
| @@ -17,48 +17,6 @@ open Set Filter InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 17 | 17 | EulerSpatialCutoffs EulerPeriodicProfile |
| 18 | 18 | open scoped ContDiff |
| 19 | 19 | |
| 20 | -theorem zero_slice_hasFDerivAt (A : Space × ℝ → Space) (x a : Space) | |
| 21 | - (hA : DifferentiableAt ℝ A (x,0)) (hzero : ∀ y, A (y,0)=0) | |
| 22 | - (ha : HasDerivAt (fun θ : ℝ => A (x,θ)) a 0) : | |
| 23 | - HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (x,0) := by | |
| 24 | - have hs := hA.hasFDerivAt.comp x | |
| 25 | - ((hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const (0 : ℝ) x)) | |
| 26 | - have he : (fun y => A (y,0)) = fun _ : Space => (0 : Space) := funext hzero | |
| 27 | - change HasFDerivAt (fun y => A (y,0)) ((fderiv ℝ A (x,0)).comp (inl ℝ Space ℝ)) x at hs | |
| 28 | - rw [he] at hs | |
| 29 | - have hspace : ∀ v : Space, fderiv ℝ A (x,0) (v,0)=0 := by | |
| 30 | - intro v | |
| 31 | - have h := congrArg (fun L : Space →L[ℝ] Space => L v) | |
| 32 | - (hs.unique (hasFDerivAt_const (0 : Space) x)) | |
| 33 | - exact h | |
| 34 | - have ht := hA.hasFDerivAt.comp_hasDerivAt (0 : ℝ) | |
| 35 | - ((hasDerivAt_const (0 : ℝ) x).prodMk (hasDerivAt_id (0 : ℝ))) | |
| 36 | - have hangle : fderiv ℝ A (x,0) (0,1)=a := ht.unique ha | |
| 37 | - have hd : fderiv ℝ A (x,0) = (toSpanSingleton ℝ a).comp (snd ℝ Space ℝ) := by | |
| 38 | - apply ContinuousLinearMap.ext | |
| 39 | - rintro ⟨v,s⟩ | |
| 40 | - have hp : (v,s) = (v,(0 : ℝ))+s•((0 : Space),(1 : ℝ)) := by simp | |
| 41 | - rw [hp,map_add,map_smul,hspace,hangle] | |
| 42 | - simp | |
| 43 | - exact hd ▸ hA.hasFDerivAt | |
| 44 | - | |
| 45 | -theorem zero_phase_graph_hasFDerivAt (A : Space × ℝ → Space) (a m : Space) | |
| 46 | - (hA : DifferentiableAt ℝ A (0,0)) (hzero : ∀ y, A (y,0)=0) | |
| 47 | - (ha : HasDerivAt (fun θ : ℝ => A (0,θ)) a 0) (c k : ℝ) : | |
| 48 | - HasFDerivAt (fun y => c • A (y,k*⟪m,y⟫_ℝ)) ((c*k) • rankOne ℝ a m) 0 := by | |
| 49 | - have hp : HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (graphMap k m 0) := by | |
| 50 | - rw [map_zero] | |
| 51 | - change HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (0,0) | |
| 52 | - exact zero_slice_hasFDerivAt A 0 a hA hzero ha | |
| 53 | - have h := (hp.comp 0 (graphMap k m).hasFDerivAt).const_smul c | |
| 54 | - convert! h using 1 | |
| 55 | - apply ContinuousLinearMap.ext | |
| 56 | - intro v | |
| 57 | - simp only [smul_apply,comp_apply,toSpanSingleton_apply,coe_snd',graphMap_apply, | |
| 58 | - rankOne_apply,smul_smul] | |
| 59 | - congr 1 | |
| 60 | - ring | |
| 61 | - | |
| 62 | 20 | theorem rankOne_normalized (c : ℝ) (v m : Space) (hv : v ≠ 0) (hm : m ≠ 0) : |
| 63 | 21 | c • rankOne ℝ v m = |
| 64 | 22 | (c*(‖m‖*‖v‖)) • rankOne ℝ (unit v) (unit m) := by |
| @@ -73,71 +31,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 73 | 31 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 74 | 32 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 75 | 33 | |
| 76 | -/-- The literal leading primary on the physical phase graph in label coordinates. -/ | |
| 77 | -def historyWave (α k : ℝ) (t : Icc (0 : ℝ) τ) (y : Space) : Space := | |
| 78 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 79 | - | |
| 80 | -theorem historyWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) τ) : | |
| 81 | - HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 82 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) 0 := by | |
| 83 | - let A : Space × ℝ → Space := fun z => | |
| 84 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 85 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 86 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth | |
| 87 | - ⟨t,t.property.1,t.property.2.trans hτT.le⟩).differentiable (by simp) (0,0) | |
| 88 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 89 | - intro y | |
| 90 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 91 | - rw [vector_compact_wave_history] | |
| 92 | - simp [profile] | |
| 93 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) (δ⁻¹ • B.coefficients.labelVelocity 0 ξ t) 0 := by | |
| 94 | - simpa only [A,innerCutoff_zero,one_mul] using | |
| 95 | - angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0 | |
| 96 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 97 | - have hc : α/k*k=α := by field_simp | |
| 98 | - rw [hc] at h | |
| 99 | - convert! h using 1 | |
| 100 | - apply ContinuousLinearMap.ext | |
| 101 | - intro v | |
| 102 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 103 | - congr 1 | |
| 104 | - rw [div_eq_mul_inv] | |
| 105 | - ring | |
| 106 | - | |
| 107 | -/-- The physical gradient uses the actual inverse Jacobian, producing the | |
| 108 | -normal F⁻ᵀm₀ rather than the initial direction m₀. -/ | |
| 109 | -theorem historyWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 110 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 111 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 112 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 113 | - HasFDerivAt (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 114 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) | |
| 115 | - (D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0)) (X 0) := by | |
| 116 | - let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ | |
| 117 | - have he : (Y ∘ X) = id := funext hleft | |
| 118 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv tg 0) 0 hX hY | |
| 119 | - rw [he,fderiv_id,id_comp] at hdY | |
| 120 | - have hy : HasFDerivAt Y (D.deformationEquiv tg 0).symm.toContinuousLinearMap (X 0) := | |
| 121 | - hdY ▸ hY.hasFDerivAt | |
| 122 | - have hp : HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 123 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) (Y (X 0)) := by | |
| 124 | - rw [hleft] | |
| 125 | - exact historyWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 126 | - convert! hp.comp (X 0) hy using 1 | |
| 127 | - apply ContinuousLinearMap.ext | |
| 128 | - intro v | |
| 129 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 130 | - congr 2 | |
| 131 | - exact (D.FInv.field tg 0).adjoint_inner_left v D.m₀ | |
| 132 | - | |
| 133 | -theorem historyWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 134 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 135 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 136 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 137 | - ‖fderiv ℝ (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 138 | - (α/δ) * (‖B.coefficients.labelVelocity 0 ξ t‖ * | |
| 139 | - ‖D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0‖) := by | |
| 140 | - rw [(historyWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 141 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne] | |
| 142 | - | |
| 143 | 34 | end EulerPacketPrimaryShear |
+0 −9 Euler/PacketPrimaryUncut.lean View file
| @@ -152,13 +152,4 @@ theorem uncutVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) (x : Spac | ||
| 152 | 152 | erw [uncutVelocity_history] at hz |
| 153 | 153 | exact hs hz |
| 154 | 154 | |
| 155 | -theorem vector_uncut_factorization (δ : ℝ) (hδ : 0 < δ) (a : ℝ) | |
| 156 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 157 | - vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,(x,θ)) = | |
| 158 | - (a*innerCutoff x*profile δ θ) • uncutVelocity τ hτ hτT B ξ t x := by | |
| 159 | - rw [vector_terminal_smul,vector_factorization_canonical,canonicalVelocity_eq_cutoff_uncut] | |
| 160 | - simp only [smul_smul] | |
| 161 | - congr 1 | |
| 162 | - ring | |
| 163 | - | |
| 164 | 155 | end EulerPacketPrimaryFactorization |
+0 −8 Euler/PacketProfileBudget.lean View file
| @@ -36,14 +36,6 @@ namespace ProfileBudget | ||
| 36 | 36 | |
| 37 | 37 | variable {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 38 | 38 | |
| 39 | -theorem prefixBound {p : ℕ} {a : ℕ → Profile} | |
| 40 | - (G : ∀ i, i < p → ProfileRegularity P T hT support (a i)) | |
| 41 | - (hG : ∀ i (hi : i < p), ProfileBudget (G i hi) S R i) : | |
| 42 | - PrefixBound (ProfileRegularity.prefixFields G) hT S R where | |
| 43 | - high i hi _ := (hG i hi).high | |
| 44 | - mean i hi _ := (hG i hi).mean | |
| 45 | - corrector i hi _ := (hG i hi).corrector | |
| 46 | - | |
| 47 | 39 | theorem transfer {p : ℕ} {support' : Set Space} (hTpos : 0 < T) |
| 48 | 40 | {G : ProfileRegularity P T hT support a} (hG : ProfileBudget G S R p) |
| 49 | 41 | (H : ProfileRegularity P T hT support' a) : ProfileBudget H S R p where |
+0 −9 Euler/PacketProfileParity.lean View file
| @@ -47,15 +47,6 @@ variable {P T : ℝ} [Fact (0 < P)] {S : Set Space} {a : Profile} | ||
| 47 | 47 | |
| 48 | 48 | include H |
| 49 | 49 | |
| 50 | -theorem highDerivative_odd : JointOdd T G.high_t := | |
| 51 | - G.high.timeDerivative_odd G.highDerivative hT G.high_time H.high | |
| 52 | - | |
| 53 | -theorem meanDerivative_odd : JointOdd T G.mean_t := | |
| 54 | - G.mean.timeDerivative_odd G.meanDerivative hT G.mean_time H.mean | |
| 55 | - | |
| 56 | -theorem correctorDerivative_odd : JointOdd T G.corrector_t := | |
| 57 | - G.corrector.timeDerivative_odd G.correctorDerivative hT G.corrector_time H.corrector | |
| 58 | - | |
| 59 | 50 | end ProfileParity |
| 60 | 51 | |
| 61 | 52 | theorem JointOdd.changeTime {T T' : ℝ} {raw : VectorField} (H : JointOdd T raw) (h : T = T') : |
+0 −5 Euler/PacketProfileRecursion.lean View file
| @@ -135,11 +135,6 @@ theorem profiles_mean (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ | ||
| 135 | 135 | rw [profiles_step O primary p hp] |
| 136 | 136 | rfl |
| 137 | 137 | |
| 138 | -theorem profiles_high (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : | |
| 139 | - (profiles O primary p).high=(O.highSolve (highForce O p (profiles O primary))).1 := by | |
| 140 | - rw [profiles_step O primary p hp] | |
| 141 | - rfl | |
| 142 | - | |
| 143 | 138 | theorem profiles_corrector (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : |
| 144 | 139 | (profiles O primary p).corrector=O.curlCorrector (profiles O primary p).high := by |
| 145 | 140 | rw [profiles_step O primary p hp] |
+0 −9 Euler/PacketProfileTailGrade.lean View file
| @@ -33,13 +33,4 @@ theorem tail_grade_bound | ||
| 33 | 33 | (G N le_rfl).correctorDerivative (G N le_rfl).corrector_time (G N le_rfl).pressure |
| 34 | 34 | (hG N le_rfl hN).correctorDerivative (hG N le_rfl hN).pressure ha hb n hn |
| 35 | 35 | |
| 36 | -theorem literal_tail_grade_bound | |
| 37 | - (hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S R i) | |
| 38 | - (hN : 1 ≤ N) (hR : 1 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) | |
| 39 | - (ha : a 0=0) (hb : (a 1).mean=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 40 | - (literalTailGradeField hT G C ha n hn).WordBound 6 R | |
| 41 | - ((1+18*((N+2 : ℕ) : ℝ)^2)*BC.termCost*S.H0^(2*n+2)) (110*(n+1)) := | |
| 42 | - (tail_grade_bound hT G BC hG hN hR hRc ha hb n hn).of_path_eq | |
| 43 | - (literalTailGradeField hT G C ha n hn) (literalTailGradeField_path hT G C ha n hn) | |
| 44 | - | |
| 45 | 36 | end EulerPacketCylinderField.ProfileRegularity |
+0 −9 Euler/PacketRadiusCostPolynomial.lean View file
| @@ -139,14 +139,5 @@ theorem radiusPolynomial_eval (W : ℝ) : radiusPolynomial.eval W=radiusEnvelope | ||
| 139 | 139 | congr 3 |
| 140 | 140 | ring_nf |
| 141 | 141 | |
| 142 | -def radiusConstant : ℝ := coefficientCost radiusPolynomial | |
| 143 | -def radiusPower : ℕ := radiusPolynomial.natDegree | |
| 144 | - | |
| 145 | -theorem radiusConstant_pos : 0 < radiusConstant := coefficientCost_pos _ | |
| 146 | - | |
| 147 | -theorem radiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 148 | - radiusEnvelope W ≤ radiusConstant*W^radiusPower := by | |
| 149 | - rw [← radiusPolynomial_eval] | |
| 150 | - exact (le_abs_self _).trans (eval_bound radiusPolynomial W hW) | |
| 151 | 142 | |
| 152 | 143 | end EulerPacketRadiusPolynomial |
+0 −15 Euler/PacketRecursionAlgebra.lean View file
| @@ -40,21 +40,6 @@ theorem coefficient_assembled (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | ||
| 40 | 40 | simp only [map_add] |
| 41 | 41 | abel |
| 42 | 42 | |
| 43 | -/-- The two actual linear equations imply cancellation; no residual equation is assumed. -/ | |
| 44 | -theorem coefficient_assembled_eq_zero (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | |
| 45 | - (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) | |
| 46 | - (a b c : ℕ → V) (q π : ℕ → Q) (hq : ∀ i ≤ N, H (q i)=0) (fmean : W) | |
| 47 | - (hmean : L (b p)+G (q p)=fmean) | |
| 48 | - (hhigh : L (a p)+H (π p)= | |
| 49 | - -(L (c (p-1))+G (π (p-1))+ | |
| 50 | - convolution (N+1) B (assemble N (fun i => a i+b i) c) | |
| 51 | - (assemble N (fun i => a i+b i) c) p+ | |
| 52 | - convolution (N+1) C (assemble N (fun i => a i+b i) c) | |
| 53 | - (assemble N (fun i => a i+b i) c) (p+1))-fmean) : | |
| 54 | - coefficient (N+1) L G H B C (assemble N (fun i => a i+b i) c) (assemble N q π) p=0 := by | |
| 55 | - rw [coefficient_assembled N p hp hpN L G H B C a b c q π hq, hmean, hhigh] | |
| 56 | - abel | |
| 57 | - | |
| 58 | 43 | theorem coefficient_zero_grade (N : ℕ) (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) |
| 59 | 44 | (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) (u : ℕ → V) (q : ℕ → Q) |
| 60 | 45 | (hu0 : u 0=0) (hq0 : G (q 0)=0) (hq1 : H (q 1)=0) : |
+0 −74 Euler/PacketResidualTailActual.lean View file
| @@ -13,57 +13,6 @@ namespace EulerPacketProfileRecursion | ||
| 13 | 13 | |
| 14 | 14 | open Set EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades EulerPacketResidual |
| 15 | 15 | |
| 16 | -theorem slicedJet_assembledVelocity_finite (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) | |
| 17 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 18 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 19 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) (i : ℕ) : | |
| 20 | - slicedJet O.interval (assembledVelocity N a i) z = assembledJets O N a z i := by | |
| 21 | - unfold assembledVelocity | |
| 22 | - rw [slicedJet_assemble O.interval N i _ _ z | |
| 23 | - (fun j hj => (hA j hj).add (hB j hj)) hC] | |
| 24 | - change truncate N (fun j => slicedJet O.interval ((a j).high+(a j).mean) z) i + _ = | |
| 25 | - truncate N (fun j => slicedJet O.interval (a j).high z+slicedJet O.interval (a j).mean z) i + _ | |
| 26 | - by_cases hi : i ≤ N | |
| 27 | - · rw [truncate_of_le _ _ _ hi,truncate_of_le _ _ _ hi,slicedJet_add (hA i hi) (hB i hi)] | |
| 28 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 29 | - | |
| 30 | -theorem slicedMomentumGrade_tail_eq_recursive (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 31 | - (a : ℕ → Profile) (z : Domain) | |
| 32 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 33 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 34 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 35 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 36 | - (assembledVelocity N a) (assembledPressure N a) z n = recursiveGrade O N a z n := by | |
| 37 | - have hv : (fun i => slicedJet O.interval (assembledVelocity N a i) z) = assembledJets O N a z := | |
| 38 | - funext (slicedJet_assembledVelocity_finite O N a z hA hB hC) | |
| 39 | - have hg : truncate (N+1) | |
| 40 | - (fun i => slowPressure (O.inverseFrame z) (pressureJet (assembledPressure N a i) z)) n = | |
| 41 | - truncate (N+1) (fun i => slowPressure (O.inverseFrame z) (pressureJets N a z i)) n := by | |
| 42 | - by_cases he : n=N+1 | |
| 43 | - · subst n | |
| 44 | - rw [truncate_of_le _ _ _ le_rfl,truncate_of_le _ _ _ le_rfl] | |
| 45 | - unfold assembledPressure pressureJets | |
| 46 | - rw [assemble_last,assemble_last] | |
| 47 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 48 | - unfold slicedMomentumGrade | |
| 49 | - rw [hv] | |
| 50 | - unfold recursiveGrade coefficient | |
| 51 | - rw [hg,shiftDown_above (N+1) n _ hn,shiftDown_above (N+1) n _ hn] | |
| 52 | - | |
| 53 | -theorem slicedMomentumGrade_tail (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 54 | - (a : ℕ → Profile) (ha : a 0=0) (z : Domain) | |
| 55 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 56 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 57 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 58 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 59 | - (assembledVelocity N a) (assembledPressure N a) z n = | |
| 60 | - (if n=N+1 then | |
| 61 | - linearPart (O.strain z) (slicedJet O.interval (a N).corrector z)+ | |
| 62 | - slowPressure (O.inverseFrame z) (pressureJet (a N).highPressure z) else 0) + | |
| 63 | - nonlinearGrade (N+1) n (O.inverseFrame z) (O.normal z) (knownJets O (N+1) a z) := | |
| 64 | - (slicedMomentumGrade_tail_eq_recursive O N n hn a z hA hB hC).trans | |
| 65 | - (recursiveGrade_tail O N n hn a ha z) | |
| 66 | - | |
| 67 | 16 | end EulerPacketProfileRecursion |
| 68 | 17 | |
| 69 | 18 | namespace EulerPacketCylinderField.ProfileRegularity |
| @@ -72,27 +21,4 @@ open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion | ||
| 72 | 21 | |
| 73 | 22 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {N : ℕ} {a : ℕ → Profile} {S : Set Space} |
| 74 | 23 | |
| 75 | -def literalTailGradeField (hT : 0 < T) | |
| 76 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 77 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 78 | - Field P T (fun z => slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 79 | - (assembledVelocity N a) (assembledPressure N a) z n) := by | |
| 80 | - refine (tailGradeField hT G C ha n hn).congr ?_ | |
| 81 | - intro t x θ | |
| 82 | - apply slicedMomentumGrade_tail_eq_recursive O N n hn a (t,(x,θ)) | |
| 83 | - · intro i hi | |
| 84 | - rw [C.interval_eq] | |
| 85 | - exact (G i hi).high.sliceDifferentiable (G i hi).highDerivative hT.le (G i hi).high_time t x θ | |
| 86 | - · intro i hi | |
| 87 | - rw [C.interval_eq] | |
| 88 | - exact (G i hi).mean.sliceDifferentiable (G i hi).meanDerivative hT.le (G i hi).mean_time t x θ | |
| 89 | - · intro i hi | |
| 90 | - rw [C.interval_eq] | |
| 91 | - exact (G i hi).corrector.sliceDifferentiable (G i hi).correctorDerivative hT.le (G i hi).corrector_time t x θ | |
| 92 | - | |
| 93 | -theorem literalTailGradeField_path (hT : 0 < T) | |
| 94 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 95 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 96 | - (literalTailGradeField hT G C ha n hn).path = (tailGradeField hT G C ha n hn).path := rfl | |
| 97 | - | |
| 98 | 24 | end EulerPacketCylinderField.ProfileRegularity |
+0 −4 Euler/PacketResidualTailFields.lean View file
| @@ -59,10 +59,6 @@ theorem PrefixFields.tailGradeField_path (F : PrefixFields P T (N+1) a) | ||
| 59 | 59 | |
| 60 | 60 | def tailGrades (N : ℕ) : Finset ℕ := Ico (N+1) (2*N+3) |
| 61 | 61 | |
| 62 | -theorem tailGrades_card (N : ℕ) : (tailGrades N).card = N+2 := by | |
| 63 | - simp only [tailGrades, Nat.card_Ico] | |
| 64 | - omega | |
| 65 | - | |
| 66 | 62 | def PrefixFields.tailSumField (F : PrefixFields P T (N+1) a) |
| 67 | 63 | (C : CoefficientData P T O) (hT : 0 < T) {corrector_t : VectorField} |
| 68 | 64 | (Ct : Field P T corrector_t) |
+0 −25 Euler/PacketScalarPressureGrade.lean View file
| @@ -132,19 +132,6 @@ theorem Budget.angular_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | ||
| 132 | 132 | simpa only [angularField,Field.WordBound,Field.normalized_path, |
| 133 | 133 | show highShift p-1+1=highShift p by unfold highShift; omega] using hh |
| 134 | 134 | |
| 135 | -theorem Budget.scalar_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | |
| 136 | - (N : NormalBudget D 6 L.R) (W : Budget.GradeGuards (P := P) L N) | |
| 137 | - (G : Forcing P D raw) (F : Field P D.T raw) (c : ℝ) (hc : 0 < c) | |
| 138 | - (p : ℕ) (hp : 2 ≤ p) | |
| 139 | - (hforce : (F.normalized D.T_pos.le (c • L.fullProfile) | |
| 140 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 141 | - 6 L.R 1 (highForceShift p)) : | |
| 142 | - ((scalarField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 143 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 144 | - 6 L.R 1 (highShift p) := | |
| 145 | - (L.scalar_grade_bound_pred N W G F c hc p hp hforce).mono_shift | |
| 146 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 147 | - | |
| 148 | 135 | end EulerTransversePacketJoin |
| 149 | 136 | |
| 150 | 137 | namespace EulerTransversePacketPrimary |
| @@ -209,16 +196,4 @@ theorem Budget.angular_grade_bound | ||
| 209 | 196 | (H.scalar_grade_bound_pred N C W Y α hα hYb) |
| 210 | 197 | exact hh |
| 211 | 198 | |
| 212 | -theorem Budget.scalar_grade_bound | |
| 213 | - {L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6} | |
| 214 | - (H : Budget L) (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (C : ℝ) | |
| 215 | - (W : Budget.GradeGuards (P := P) H N C) | |
| 216 | - (Y : InitialData P D) (α : ℝ) (hα : 0 < α) | |
| 217 | - (hYb : ∀ n, block standardDirection 6 | |
| 218 | - (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ (α*C)*majorant L.R 0 n) : | |
| 219 | - ((scalarField τ hτ hτT B Y).normalized D.T_pos.le (α • L.fullProfile) | |
| 220 | - (smul_profile_pos L.fullProfile L.fullProfile_pos α hα)).WordBound 6 L.R 1 (highShift 1) := | |
| 221 | - (H.scalar_grade_bound_pred N C W Y α hα hYb).mono_shift | |
| 222 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 223 | - | |
| 224 | 199 | end EulerTransversePacketPrimary |
+0 −16 Euler/PacketScalarPressureGradient.lean View file
| @@ -104,20 +104,4 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 104 | 104 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 105 | 105 | (he : ∀ (t : Icc (0 : ℝ) D.T) x θ, p (t,(x,θ)) = scalarPointField P q hq t (x,(θ : AddCircle P))) |
| 106 | 106 | |
| 107 | -def compactPressureField : Field P D.T (coordinatePressure D k p) := | |
| 108 | - ((liftedGradientField P p q hq he k⁻¹ D.m₀).smul (k^2)).congr (fun t x θ => by | |
| 109 | - change k • pressureGradient p (t,(x,θ)) + | |
| 110 | - k^2 • ((pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) = | |
| 111 | - k^2 • (k⁻¹ • pressureGradient p (t,(x,θ)) + | |
| 112 | - (pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) | |
| 113 | - simp only [smul_add,smul_smul] | |
| 114 | - rw [show k^2*k⁻¹ = k by field_simp [hk]]) | |
| 115 | - | |
| 116 | -theorem compactPressureField_mem (S : Set Space) (hS : IsCompact S) | |
| 117 | - (hz : ∀ (t : Icc (0 : ℝ) D.T) x, x ∉ S → ∀ θ, p (t,(x,θ)) = 0) | |
| 118 | - (t : Icc (0 : ℝ) D.T) : | |
| 119 | - (compactPressureField D k hk p q hq he).path t ∈ gradientSpace P k⁻¹ D.m₀ := | |
| 120 | - (gradientSpace P k⁻¹ D.m₀).smul_mem (k^2) | |
| 121 | - (liftedGradientField_mem P p q hq he k⁻¹ D.m₀ S hS hz t) | |
| 122 | - | |
| 123 | 107 | end EulerPacketCoordinates |
+0 −22 Euler/PacketScaledRay.lean View file
| @@ -35,28 +35,6 @@ theorem scaledRayRate_algebra {a ε s₀ : ℝ} (ha : a ≠ 0) (hε : ε ≠ 0) | ||
| 35 | 35 | def scaledRay (m v r : ℝ → Space) (s₀ t₀ a ε τ : ℝ) (i : Fin 3) : ℝ := |
| 36 | 36 | movingRay m v r (physicalTime t₀ a ε τ) i / (s₀*rayScale ε i) |
| 37 | 37 | |
| 38 | -/-- The physical ODE supplies exactly the scaled coefficient matrix whose | |
| 39 | -entrywise errors are controlled in the existing propagation proof. -/ | |
| 40 | -theorem scaledRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 41 | - {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} | |
| 42 | - (ha : a ≠ 0) (hε : ε ≠ 0) (hs₀ : s₀ ≠ 0) | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 44 | - (hv : HasDerivAt v (-B (v (physicalTime t₀ a ε τ)) + | |
| 45 | - (2*⟪m (physicalTime t₀ a ε τ),B (v (physicalTime t₀ a ε τ))⟫_ℝ / | |
| 46 | - ‖m (physicalTime t₀ a ε τ)‖^2) • m (physicalTime t₀ a ε τ)) (physicalTime t₀ a ε τ)) | |
| 47 | - (hr : HasDerivAt r (-M.adjoint (r (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 48 | - (hm0 : m (physicalTime t₀ a ε τ) ≠ 0) (hv0 : v (physicalTime t₀ a ε τ) ≠ 0) | |
| 49 | - (hmv : ⟪m (physicalTime t₀ a ε τ),v (physicalTime t₀ a ε τ)⟫_ℝ = 0) (i : Fin 3) : | |
| 50 | - HasDerivAt (fun σ => scaledRay m v r s₀ t₀ a ε σ i) | |
| 51 | - (∑ j : Fin 3, scaledRayEntry a ε | |
| 52 | - (frameMatrix M (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ)))) | |
| 53 | - (frameSkew (frameMatrix B (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ))))) | |
| 54 | - i j * scaledRay m v r s₀ t₀ a ε τ j) τ := by | |
| 55 | - have h := ((movingRay_hasDerivAt B M hm hv hr hm0 hv0 hmv i).comp τ | |
| 56 | - (physicalTime_hasDerivAt t₀ a ε τ)).div_const (s₀*rayScale ε i) | |
| 57 | - rw [scaledRayRate_algebra ha hε hs₀] at h | |
| 58 | - simpa only [scaledRay, Function.comp_def] using h | |
| 59 | - | |
| 60 | 38 | /-- The same rescaling for actual one-sided time derivatives. -/ |
| 61 | 39 | theorem scaledRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 62 | 40 | {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} {S U : Set ℝ} |
+0 −20 Euler/PacketScaledVelocitySystem.lean View file
| @@ -91,24 +91,4 @@ theorem scaledVelocity_firstTwo_hasDerivWithinAt (B M : Space →L[ℝ] Space) | ||
| 91 | 91 | rw [scaledVelocityRhs_second _ _ _ _ _ hthird] at h |
| 92 | 92 | exact h |
| 93 | 93 | |
| 94 | -/-- The flux identity is valid with the actual one-sided endpoint derivatives | |
| 95 | -of packet paths, as well as in the interior. -/ | |
| 96 | -theorem velocity_scalar_flux_within | |
| 97 | - {β t u₁ v₁ : ℝ} {U V : ℝ → ℝ} {S : Set ℝ} | |
| 98 | - (hU : HasDerivWithinAt U u₁ S t) (hV : HasDerivWithinAt V v₁ S t) : | |
| 99 | - HasDerivWithinAt V (-U t + (v₁ + U t)) S t ∧ | |
| 100 | - HasDerivWithinAt (fun s => (1 + (β * s ^ 2) ^ 2) * (-U s)) | |
| 101 | - (2 * (1 - β * (β * t ^ 2)) * V t + (1 + (β * t ^ 2) ^ 2) * | |
| 102 | - (-u₁ + idealVelocityFirst β t (U t) (V t))) S t := by | |
| 103 | - refine ⟨hV.congr_deriv (by ring), ?_⟩ | |
| 104 | - have hD : HasDerivAt (fun s : ℝ => 1 + (β * s ^ 2) ^ 2) (4 * β ^ 2 * t ^ 3) t := by | |
| 105 | - convert! ((((hasDerivAt_id t).pow 2).const_mul β).pow 2).const_add 1 using 1 | |
| 106 | - simp only [Pi.pow_apply, id_eq] | |
| 107 | - ring | |
| 108 | - apply (hD.hasDerivWithinAt.mul hU.neg).congr_deriv | |
| 109 | - have hden : 1 + (β * t ^ 2) ^ 2 ≠ 0 := by positivity | |
| 110 | - dsimp [idealVelocityFirst] | |
| 111 | - field_simp | |
| 112 | - ring | |
| 113 | - | |
| 114 | 94 | end EulerPacketMovingFrame |
+0 −18 Euler/PacketShiftArithmetic.lean View file
| @@ -10,23 +10,11 @@ def meanShift (p : ℕ) : ℕ := 100*p-140 | ||
| 10 | 10 | def highForceShift (p : ℕ) : ℕ := highShift p-10 |
| 11 | 11 | def meanForceShift (p : ℕ) : ℕ := meanShift p-10 |
| 12 | 12 | |
| 13 | -theorem primary_shift : highShift 1=20 := rfl | |
| 14 | - | |
| 15 | 13 | theorem slow_high_high_room (i j p : ℕ) (hi : 1 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : |
| 16 | 14 | highShift i+highShift j+2+8 ≤ meanForceShift p := by |
| 17 | 15 | dsimp only [highShift, meanShift, meanForceShift] |
| 18 | 16 | omega |
| 19 | 17 | |
| 20 | -theorem slow_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : | |
| 21 | - meanShift i+highShift j+2+8 ≤ meanForceShift p := by | |
| 22 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 23 | - omega | |
| 24 | - | |
| 25 | -theorem slow_mean_mean_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p) : | |
| 26 | - meanShift i+meanShift j+2+8 ≤ meanForceShift p := by | |
| 27 | - dsimp only [meanShift, meanForceShift] | |
| 28 | - omega | |
| 29 | - | |
| 30 | 18 | theorem fast_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p+1) : |
| 31 | 19 | meanShift i+highShift j+2+8 ≤ highForceShift p := by |
| 32 | 20 | dsimp only [highShift, meanShift, highForceShift] |
| @@ -37,12 +25,6 @@ theorem fast_corrector_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp | ||
| 37 | 25 | dsimp only [highShift, meanShift, meanForceShift] |
| 38 | 26 | omega |
| 39 | 27 | |
| 40 | -theorem fast_corrector_corrector_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 41 | - (hp : i+j=p+1) : | |
| 42 | - highShift (i-1)+highShift (j-1)+2+8 ≤ meanForceShift p := by | |
| 43 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 44 | - omega | |
| 45 | - | |
| 46 | 28 | theorem previous_linear_room (p : ℕ) (hp : 2 ≤ p) : |
| 47 | 29 | highShift (p-1)+2+8 ≤ meanForceShift p := by |
| 48 | 30 | dsimp only [highShift, meanShift, meanForceShift] |
+0 −94 Euler/PacketShortTimePropagator.lean View file
| @@ -21,100 +21,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 21 | 21 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 22 | 22 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 23 | 23 | |
| 24 | -def shortTimeRate (C C₁ : ℝ) : ℝ := 2*(1+3*C^2)^2*C*C₁ | |
| 25 | - | |
| 26 | -theorem shortTimeRate_nonneg (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) : | |
| 27 | - 0 ≤ shortTimeRate C C₁ := by | |
| 28 | - unfold shortTimeRate | |
| 29 | - positivity | |
| 30 | - | |
| 31 | 24 | variable (D : Data U) |
| 32 | 25 | |
| 33 | -theorem sourceGenerator_norm_le (C C₁ : ℝ) (hC : 0 ≤ C) (_hC₁ : 0 ≤ C₁) | |
| 34 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 35 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 36 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 37 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 38 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ | |
| 39 | - shortTimeRate C C₁ := by | |
| 40 | - have hQ : ‖D.frame.field t x‖ ≤ C := by | |
| 41 | - simpa only [norm_iteratedFDeriv_zero] using D.frame_spatial_bound 0 C | |
| 42 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF r y) t x | |
| 43 | - have hQ₁ : ‖D.frameDerivative.field t x‖ ≤ C₁ := by | |
| 44 | - simpa only [norm_iteratedFDeriv_zero] using D.frameDerivative_spatial_bound 0 C₁ | |
| 45 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF₁ r y) t x | |
| 46 | - have hi := (gramInverse_norm (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 47 | - (D.frame_lower t x)).trans (D.frameLower_inv_le_of_frame C hC hdet hF) | |
| 48 | - have hprod : ‖(D.frame.field t x).adjoint.comp (D.frameDerivative.field t x)‖ ≤ C*C₁ := by | |
| 49 | - apply (opNorm_comp_le _ _).trans | |
| 50 | - rw [LinearIsometryEquiv.norm_map] | |
| 51 | - exact mul_le_mul hQ hQ₁ (norm_nonneg _) hC | |
| 52 | - change ‖(-2 : ℝ) • (gramInverse (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 53 | - (D.frame_lower t x)).comp ((D.frame.field t x).adjoint.comp (D.frameDerivative.field t x))‖ ≤ _ | |
| 54 | - rw [norm_smul] | |
| 55 | - norm_num only [Real.norm_eq_abs] | |
| 56 | - apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans | |
| 57 | - (mul_le_mul hi hprod (norm_nonneg _) (sq_nonneg _))) (by norm_num)).trans_eq | |
| 58 | - unfold shortTimeRate | |
| 59 | - ring | |
| 60 | - | |
| 61 | -/-- A localized coefficient bound suffices; no estimate outside S enters. -/ | |
| 62 | -theorem propagator_norm_le_two (S : Set Space) (L : ℝ) (hL : 0 ≤ L) | |
| 63 | - (hB : ∀ t : Icc (0 : ℝ) D.T, ∀ x ∈ S, | |
| 64 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ L) | |
| 65 | - (hshort : L*D.T ≤ 1/2) | |
| 66 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : | |
| 67 | - ‖propagator D t s x‖ ≤ 2 := by | |
| 68 | - let B := sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 69 | - apply (propagator D t s x).opNorm_le_bound (by norm_num) | |
| 70 | - intro v | |
| 71 | - let f' : ℝ → U := fun r => extendPath D.T D.T_pos.le B r x (coordinate D s x v r) | |
| 72 | - have hd (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 73 | - HasDerivWithinAt (coordinate D s x v) (f' r) (Icc (0 : ℝ) D.T) r := by | |
| 74 | - simpa only [f',extendPath,projIcc_of_mem D.T_pos.le hr] using | |
| 75 | - coordinate_hasDerivWithinAt D s ⟨r,hr⟩ x v | |
| 76 | - have hb (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 77 | - ‖f' r‖ ≤ L*‖coordinate D s x v r‖ := by | |
| 78 | - simp only [f',extendPath,projIcc_of_mem D.T_pos.le hr] | |
| 79 | - exact ((B ⟨r,hr⟩ x).le_opNorm _).trans | |
| 80 | - (mul_le_mul_of_nonneg_right (hB ⟨r,hr⟩ x hx) (norm_nonneg _)) | |
| 81 | - have h := EulerShortTimeLinearGrowth.norm_le_two D.T L hL (coordinate D s x v) f' | |
| 82 | - hd hb hshort s t hst | |
| 83 | - simpa only [coordinate_at,propagator_self] using h | |
| 84 | - | |
| 85 | -theorem propagator_norm_le_two_of_deformation (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 86 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 87 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 88 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 89 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) | |
| 90 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) : | |
| 91 | - ‖propagator D t s x‖ ≤ 2 := | |
| 92 | - propagator_norm_le_two D univ (shortTimeRate C C₁) (shortTimeRate_nonneg C C₁ hC hC₁) | |
| 93 | - (fun r y _ => sourceGenerator_norm_le D C C₁ hC hC₁ hdet hF hF₁ r y) | |
| 94 | - hshort t s hst x (mem_univ _) | |
| 95 | - | |
| 96 | -/-- The full source forward budget for g=1. All homogeneous propagation | |
| 97 | -estimates are proved from the displayed shortness condition. -/ | |
| 98 | -def shortTimeForwardBudget (q : ℕ) (R C C₁ : ℝ) | |
| 99 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 100 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 101 | - (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant R 0 n) | |
| 102 | - (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant R 0 n) | |
| 103 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 104 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) | |
| 105 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) : | |
| 106 | - EulerTransversePacketForward.Budget D (Fin 4) q := by | |
| 107 | - apply EulerPacketParentForwardBudget.sourceForwardBudget D q R C C₁ 2 | |
| 108 | - hR hC hC₁ (by norm_num) hdet hF hF₁ (1 : C(Icc (0 : ℝ) D.T,ℝ)) | |
| 109 | - (by intro t; norm_num) (by norm_num) Ω hΩ hΩo hsub hΩball | |
| 110 | - intro t s hst x _ | |
| 111 | - have hf (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F.field r y‖ ≤ C := by | |
| 112 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 113 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 r y | |
| 114 | - have hf₁ (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F₁.field r y‖ ≤ C₁ := by | |
| 115 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 116 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF₁ 0 r y | |
| 117 | - simpa only [ContinuousMap.one_apply,mul_one,div_one,propagator,fundamental] using | |
| 118 | - propagator_norm_le_two_of_deformation D C C₁ hC hC₁ hdet hf hf₁ hshort t s hst x | |
| 119 | - | |
| 120 | 26 | end EulerPacketSourcePropagator |
+0 −16 Euler/PacketSlicedResidual.lean View file
| @@ -21,22 +21,6 @@ def slicedMomentumGrade (s : Set ℝ) (N : ℕ) (FInv M : Space →L[ℝ] Space) | ||
| 21 | 21 | (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) |
| 22 | 22 | (fun i => pressureJet (p i) z) n |
| 23 | 23 | |
| 24 | -theorem slicedMomentum_fieldSum_eq (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 25 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 26 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 27 | - (hs : UniqueDiffWithinAt ℝ s z.1) | |
| 28 | - (hut : ∀ i ≤ N, DifferentiableWithinAt ℝ (fun t => u i (t,z.2)) s z.1) | |
| 29 | - (hux : ∀ i ≤ N, DifferentiableAt ℝ (fun y => u i (z.1,y)) z.2) | |
| 30 | - (hpx : ∀ i ≤ N, DifferentiableAt ℝ (fun y => p i (z.1,y)) z.2) | |
| 31 | - (hu0 : slicedJet s (u 0) z=0) (hp0 : fastPressure m (pressureJet (p 0) z)=0) : | |
| 32 | - slicedMomentumResidual s κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z= | |
| 33 | - evaluate (2*N) κ (slicedMomentumGrade s N FInv M m u p z) := by | |
| 34 | - unfold slicedMomentumResidual | |
| 35 | - rw [slicedJet_fieldSum s N κ u z hs hut hux, pressureJet_fieldSum N κ p z hpx] | |
| 36 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 37 | - (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) | |
| 38 | - (fun i => pressureJet (p i) z) hu0 hp0 | |
| 39 | - | |
| 40 | 24 | /-- This identity is valid at both endpoints when s=[0,T] and T>0. -/ |
| 41 | 25 | theorem slicedMomentum_fieldSum_tail (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) |
| 42 | 26 | (FInv M : Space →L[ℝ] Space) (m : Space) |
+0 −15 Euler/PacketSourceGeometryAssembly.lean View file
| @@ -66,9 +66,6 @@ theorem source_initial_tangent (x : Space) : ⟪sourceRay D x τ,A.sourceVelocit | ||
| 66 | 66 | simpa only [sourceRay,sourceVelocity,hclamp] using |
| 67 | 67 | uncutVelocity_tangent τ hτ hτT H A.terminal ⟨τ,hτ.le,hτT.le⟩ x |
| 68 | 68 | |
| 69 | -theorem sourceVelocity_ne_zero (x : Space) (t : Icc (0 : ℝ) D.T) : A.sourceVelocity x t ≠ 0 := | |
| 70 | - uncutVelocity_ne_zero τ hτ hτT H A.terminal A.terminal_properties.1 t x | |
| 71 | - | |
| 72 | 69 | omit [CompleteSpace U] in |
| 73 | 70 | theorem neighbor_components : |
| 74 | 71 | ‖D.M.derivative.field‖ ≤ P.neighborCost hτ hτT H A.CM A.CH ∧ |
| @@ -229,17 +226,5 @@ def geometryData (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ | ||
| 229 | 226 | initial_velocity_error := fun x => |
| 230 | 227 | (A.source_velocity_initial_error x (hΩ x x.property)).trans A.error_le_scaled_error |
| 231 | 228 | |
| 232 | -theorem geometryData_matrix (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 233 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 234 | - (A.geometryData Ω h0 hΩ).M x t=D.M.field (D.clamp t) x := rfl | |
| 235 | - | |
| 236 | -theorem geometryData_ray (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 237 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 238 | - (A.geometryData Ω h0 hΩ).r x t=D.normal.field (D.clamp t) x := rfl | |
| 239 | - | |
| 240 | -theorem geometryData_velocity (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 241 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 242 | - (A.geometryData Ω h0 hΩ).w x t=uncutVelocity τ hτ hτT H A.terminal t x := rfl | |
| 243 | - | |
| 244 | 229 | end Guards |
| 245 | 230 | end EulerPacketSourceGeometry |
+0 −17 Euler/PacketSourceGeometryGrowth.lean View file
| @@ -69,23 +69,6 @@ theorem exists_geometry_and_growth : | ||
| 69 | 69 | (A.source_interval Ω h0 hΩ) (A.source_horizon Ω h0 hΩ) |
| 70 | 70 | (A.source_strain Ω h0 hΩ) (A.source_normal Ω h0 hΩ) |
| 71 | 71 | |
| 72 | -include A h0 hΩ in | |
| 73 | -theorem exists_physicalGrowth : | |
| 74 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 75 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 76 | - PhysicalGrowth (D.tail τ hτ.le hτT) Ω g | |
| 77 | - (560*P.horizon^10/P.epsilon) := by | |
| 78 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hg⟩ := A.exists_geometry_and_growth Ω h0 hΩ | |
| 79 | - exact ⟨growthProfile (D.tail τ hτ.le hτT) (A.geometryData Ω h0 hΩ) J,hpos,hzero,hg⟩ | |
| 80 | - | |
| 81 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ A.radius) : | |
| 82 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 83 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 84 | - PhysicalGrowth (D.tail τ hτ.le hτT) {x | ‖x‖ ≤ (1/2 : ℝ)} g | |
| 85 | - (560*P.horizon^10/P.epsilon) := by | |
| 86 | - exact A.exists_physicalGrowth {x | ‖x‖ ≤ (1/2 : ℝ)} (by norm_num) | |
| 87 | - (fun _ hx => hx.trans hball) | |
| 88 | - | |
| 89 | 72 | omit [CompleteSpace U] in |
| 90 | 73 | include A in |
| 91 | 74 | theorem growth_constant_pos : 0 < 560*P.horizon^10/P.epsilon := by |
+0 −18 Euler/PacketSourceInitialMean.lean View file
| @@ -46,24 +46,6 @@ theorem joinedSource_mean_initial_support (p : ℕ) (θ : ℝ) : | ||
| 46 | 46 | rw [profiles_step _ _ p hp] |
| 47 | 47 | exact EulerMeanPacketProvider.meanSolve_initial_support M _ h θ |
| 48 | 48 | |
| 49 | -theorem joinedSource_mean_initial_zero (hL : M.L=0) (p : ℕ) (x : Space) (θ : ℝ) : | |
| 50 | - (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (0,(x,θ)) = 0 := by | |
| 51 | - by_cases hp0 : p=0 | |
| 52 | - · subst p | |
| 53 | - simp only [joinedSourceProfiles,profiles_zero] | |
| 54 | - rfl | |
| 55 | - by_cases hp1 : p=1 | |
| 56 | - · subst p | |
| 57 | - simp only [joinedSourceProfiles,profiles_one,hm,Pi.zero_apply] | |
| 58 | - have hp : 2 ≤ p := by omega | |
| 59 | - let h : Nonempty (EulerMeanPacketProvider.Forcing M | |
| 60 | - (meanForce (joinedSourceOperators P M D τ hτ hτT B) p | |
| 61 | - (joinedSourceProfiles P M D τ hτ hτT B primary))) := | |
| 62 | - ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ | |
| 63 | - unfold joinedSourceProfiles | |
| 64 | - rw [profiles_step _ _ p hp] | |
| 65 | - exact EulerMeanPacketProvider.meanSolve_zero_initial M hL _ h x θ | |
| 66 | - | |
| 67 | 49 | end Joined |
| 68 | 50 | |
| 69 | 51 | section Forward |
+0 −15 Euler/PacketSourceParity.lean View file
| @@ -38,19 +38,4 @@ theorem sourceProfiles_parity (hT : M.T = D.T) | ||
| 38 | 38 | ((homogeneousPrimaryRegularity D Iprimary (sourceOperators P M D I) rfl).changeTime hT.symm M.T_pos.le) |
| 39 | 39 | ((homogeneousPrimaryParity D Iprimary (sourceOperators P M D I) rfl hSym hF hDM hIprimary).changeTime hT.symm) p |
| 40 | 40 | |
| 41 | -theorem sourceProfiles_time_derivatives_odd (hT : M.T = D.T) | |
| 42 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 43 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 44 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 45 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 46 | - (hI : reflection P (I.value : CylinderL2 P U) = -(I.value : CylinderL2 P U)) | |
| 47 | - (hIprimary : reflection P (Iprimary.value : CylinderL2 P U) = -(Iprimary.value : CylinderL2 P U)) | |
| 48 | - (p : ℕ) : | |
| 49 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 50 | - JointOdd M.T G.high_t ∧ JointOdd M.T G.mean_t ∧ JointOdd M.T G.corrector_t := by | |
| 51 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 52 | - have H := sourceProfiles_parity P M D I Iprimary hT eM hSym hF hDM hI hIprimary p | |
| 53 | - exact ⟨ProfileParity.highDerivative_odd M.T_pos G H, | |
| 54 | - ProfileParity.meanDerivative_odd M.T_pos G H,ProfileParity.correctorDerivative_odd M.T_pos G H⟩ | |
| 55 | - | |
| 56 | 41 | end EulerPacketCylinderField |
+0 −14 Euler/PacketSourcePrimitiveBounds.lean View file
| @@ -29,13 +29,6 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 29 | 29 | · exact hC1 |
| 30 | 30 | · exact hCI |
| 31 | 31 | |
| 32 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 33 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 34 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 35 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 36 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 37 | - (primitiveEnvelope_power P X hX) | |
| 38 | - | |
| 39 | 32 | end EulerTransversePacketJoin.Budget |
| 40 | 33 | |
| 41 | 34 | namespace EulerTransversePacketForward.Budget |
| @@ -59,11 +52,4 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 59 | 52 | · exact hC1 |
| 60 | 53 | · exact hCI |
| 61 | 54 | |
| 62 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 63 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 64 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 65 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 66 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 67 | - (primitiveEnvelope_power P X hX) | |
| 68 | - | |
| 69 | 55 | end EulerTransversePacketForward.Budget |
+0 −9 Euler/PacketSourceRadiusPolynomial.lean View file
| @@ -337,14 +337,5 @@ theorem sourceRadiusPolynomial_eval (W : ℝ) : sourceRadiusPolynomial.eval W=so | ||
| 337 | 337 | Polynomial.eval_one,inversePolynomial_eval,inverseBlockPolynomial_eval, |
| 338 | 338 | coefficientPolynomial_eval,primitivePolynomial_eval,coeff] |
| 339 | 339 | |
| 340 | -def sourceRadiusConstant : ℝ := coefficientCost sourceRadiusPolynomial | |
| 341 | -def sourceRadiusPower : ℕ := sourceRadiusPolynomial.natDegree | |
| 342 | - | |
| 343 | -theorem sourceRadiusConstant_pos : 0 < sourceRadiusConstant := coefficientCost_pos _ | |
| 344 | - | |
| 345 | -theorem sourceRadiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 346 | - sourceRadiusEnvelope W ≤ sourceRadiusConstant*W^sourceRadiusPower := by | |
| 347 | - rw [← sourceRadiusPolynomial_eval] | |
| 348 | - exact (le_abs_self _).trans (eval_bound sourceRadiusPolynomial W hW) | |
| 349 | 340 | |
| 350 | 341 | end EulerPacketSourceRadius |
+0 −15 Euler/PacketSourceResidualFields.lean View file
| @@ -23,21 +23,6 @@ def sourceTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 23 | 23 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 24 | 24 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn |
| 25 | 25 | |
| 26 | -def sourceLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 27 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 28 | - ((sourceOperators P M D I).inverseFrame z) | |
| 29 | - ((sourceOperators P M D I).strain z) | |
| 30 | - ((sourceOperators P M D I).normal z) | |
| 31 | - (assembledVelocity N (sourceProfiles P M D I Iprimary)) | |
| 32 | - (assembledPressure N (sourceProfiles P M D I Iprimary)) z n) := | |
| 33 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 34 | - (fun i _ => sourceProfileWitness P M D hT I Iprimary i) | |
| 35 | - (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn | |
| 36 | - | |
| 37 | -theorem sourceLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 38 | - (sourceLiteralTailGradeField P M D hT I Iprimary N n hn).path = | |
| 39 | - (sourceTailGradeField P M D hT I Iprimary N n hn).path := rfl | |
| 40 | - | |
| 41 | 26 | def sourceTailSumField (N : ℕ) (κ : ℝ) : |
| 42 | 27 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 43 | 28 | recursiveGrade (sourceOperators P M D I) N (sourceProfiles P M D I Iprimary) z n) := |
+0 −59 Euler/PacketSourceScaleActual.lean View file
| @@ -221,63 +221,4 @@ structure ActualBounds (J D : ℕ) (C c X δ : ℝ) : Prop where | ||
| 221 | 221 | coefficient : ∀ a : ℕ → ℝ, (∀ n, 0 ≤ a n) → (∀ n, a n ≤ 2) → |
| 222 | 222 | SmallSeries (geometryErrorCost J D C c X a) δ |
| 223 | 223 | |
| 224 | -/-- The actual sequence, with both polynomial starting scales, has one | |
| 225 | -choice of J followed by x₀ making every geometry error uniformly and | |
| 226 | -summably small. This is uniform over the allowed frame coefficient a. -/ | |
| 227 | -theorem actual_uniform_choice (D : ℕ) (hD : 1000 ≤ D) (C c : ℝ) | |
| 228 | - (hC : 1 ≤ C) (hc : 0 ≤ c) : | |
| 229 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 230 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ := by | |
| 231 | - obtain ⟨J, hJ, hchoice⟩ := explicit_sequence_uniform_choice C c hC hc 60 | |
| 232 | - refine ⟨J, hJ, ?_⟩ | |
| 233 | - intro δ hδ | |
| 234 | - obtain ⟨Y₀, hY₀, hY⟩ := hchoice (δ/32) (by positivity) | |
| 235 | - have hp : (0:ℝ) < (J-1:ℕ) := by exact_mod_cast (show 0 < J-1 by omega) | |
| 236 | - have hall : ∀ᶠ X : ℝ in atTop, | |
| 237 | - X^1000 ≤ exp (X/((J-1:ℕ):ℝ)^7) ∧ | |
| 238 | - X^D ≤ exp (X/((J-1:ℕ):ℝ)^4) ∧ baseErrorCost J D C X ≤ δ/2 := | |
| 239 | - (eventually_pow_le_exp 1000 (pow_pos hp 7)).and | |
| 240 | - ((eventually_pow_le_exp D (pow_pos hp 4)).and | |
| 241 | - ((baseErrorCost_tendsto_zero J D (by omega) hD C hC).eventually_le_const (by positivity))) | |
| 242 | - obtain ⟨Y₁, hY₁⟩ := eventually_atTop.1 hall | |
| 243 | - refine ⟨max Y₀ Y₁, hY₀.trans (le_max_left _ _), ?_⟩ | |
| 244 | - intro X hX | |
| 245 | - have hXY₀ : Y₀ ≤ X := (le_max_left _ _).trans hX | |
| 246 | - have hXY₁ : Y₁ ≤ X := (le_max_right _ _).trans hX | |
| 247 | - have hX8 : 8 ≤ X := hY₀.trans hXY₀ | |
| 248 | - have hX1 : 1 ≤ X := by linarith only [hX8] | |
| 249 | - have hXp : 0 < X := by linarith only [hX8] | |
| 250 | - have hbase := hY₁ X hXY₁ | |
| 251 | - have hn := hY X hXY₀ | |
| 252 | - have hw : δ/32 ≤ δ := by linarith only [hδ] | |
| 253 | - refine ⟨⟨hn.coefficient.weaken hw, fun a ha ha₂ => (hn.extraTime a ha ha₂).weaken hw, | |
| 254 | - hn.width.weaken hw, hn.parent.weaken hw, hn.good.weaken hw⟩, hbase.1, hbase.2.1, ?_⟩ | |
| 255 | - intro a ha ha₂ | |
| 256 | - let f : ℕ → ℝ := fun n => 16*coefficientCost J C c 60 (scaleSequence J X) n | |
| 257 | - let z : ℕ → ℝ := fun n => if n=0 then baseErrorCost J D C X else 0 | |
| 258 | - have hf : SmallSeries f (δ/2) := by | |
| 259 | - refine ⟨fun n => mul_nonneg (by norm_num) (hn.coefficient.nonneg n), | |
| 260 | - hn.coefficient.summable.mul_left 16, ?_⟩ | |
| 261 | - change (∑' n, 16*coefficientCost J C c 60 (scaleSequence J X) n) ≤ δ/2 | |
| 262 | - rw [tsum_mul_left] | |
| 263 | - nlinarith only [hn.coefficient.total_le] | |
| 264 | - have hz : SmallSeries z (δ/2) := by | |
| 265 | - refine ⟨?_, (hasSum_ite_eq 0 (baseErrorCost J D C X)).summable, ?_⟩ | |
| 266 | - · intro n | |
| 267 | - exact ite_nonneg (baseErrorCost_nonneg J D C X (le_trans zero_le_one hC) hXp.le) le_rfl | |
| 268 | - · change (∑' n : ℕ, if n=0 then baseErrorCost J D C X else 0) ≤ δ/2 | |
| 269 | - rw [tsum_ite_eq] | |
| 270 | - exact hbase.2.2 | |
| 271 | - have hsum : SmallSeries (fun n => f n+z n) δ := by | |
| 272 | - refine ⟨fun n => add_nonneg (hf.nonneg n) (hz.nonneg n), hf.summable.add hz.summable, ?_⟩ | |
| 273 | - rw [hf.summable.tsum_add hz.summable] | |
| 274 | - linarith only [hf.total_le, hz.total_le] | |
| 275 | - apply hsum.mono | |
| 276 | - · intro n | |
| 277 | - unfold geometryErrorCost | |
| 278 | - exact mul_nonneg (geometryError_nonneg J D C c X a n (le_trans zero_le_one hC) hXp) | |
| 279 | - (pow_nonneg (by unfold sourceTheta; positivity) 60) | |
| 280 | - · intro n | |
| 281 | - exact geometryErrorCost_bound J D hJ C c X hC hX1 hc a ha ha₂ hbase.1 hbase.2.1 n | |
| 282 | - | |
| 283 | 224 | end EulerPacketSourceScaleActual |
+0 −77 Euler/PacketSourceScaleChoice.lean View file
| @@ -156,72 +156,6 @@ structure UniformBounds (J : ℕ) (C c : ℝ) (A : ℕ) (x : ℕ → ℝ) (δ : | ||
| 156 | 156 | parent : SmallSeries (parentSquareRatio J x) δ |
| 157 | 157 | good : SmallSeries (goodCost J x) δ |
| 158 | 158 | |
| 159 | -/-- One fixed choice of the starting stage makes all the actual normal-stage | |
| 160 | -coefficient, time, shear-separation and good-interval pressure series small. | |
| 161 | -The initial scale is chosen afterwards, and every later stage is covered. -/ | |
| 162 | -theorem source_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 163 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 164 | - ∀ x : ℕ → ℝ, X₀ ≤ x 0 → | |
| 165 | - (∀ n, x (n+1) = ((J+n : ℕ) : ℝ)^2*x n) → UniformBounds J C c A x δ := by | |
| 166 | - obtain ⟨J, hJ, hchoice⟩ := finite_uniform_choice (sourceCostSpec C c hC A) | |
| 167 | - refine ⟨J, hJ, ?_⟩ | |
| 168 | - intro δ hδ | |
| 169 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice (δ/3) (by positivity) | |
| 170 | - refine ⟨X₀, hX₀, ?_⟩ | |
| 171 | - intro x hx0 hx | |
| 172 | - have hJ1 : 1 ≤ J := by omega | |
| 173 | - have hx1 : ∀ n, 1 ≤ x n := quadratic_growth_one_le J hJ1 x | |
| 174 | - (by linarith only [hX₀, hx0]) hx | |
| 175 | - have hxp : ∀ n, 0 ≤ x n := fun n => le_trans zero_le_one (hx1 n) | |
| 176 | - let f := fun i : SourceCost => (sourceCostSpec C c hC A i).cost J x | |
| 177 | - have hsmall (i : SourceCost) : SmallSeries (f i) (δ/3) := by | |
| 178 | - have hh := hX x hx0 hx i | |
| 179 | - refine ⟨?_, hh.1, hh.2.1⟩ | |
| 180 | - intro n | |
| 181 | - exact monomialCost_nonneg J _ _ _ _ _ _ _ _ x n | |
| 182 | - (sourceCostSpec C c hC A i).C_pos.le (hxp n) | |
| 183 | - have hweak (i : SourceCost) : SmallSeries (f i) δ := | |
| 184 | - (hsmall i).weaken (by linarith only [hδ]) | |
| 185 | - have hsum : SmallSeries (fun n => f .shear n+f .prior n+f .neighbor n) δ := by | |
| 186 | - have hs := ((hsmall .shear).summable.add (hsmall .prior).summable).add (hsmall .neighbor).summable | |
| 187 | - refine ⟨fun n => add_nonneg (add_nonneg ((hsmall .shear).nonneg n) | |
| 188 | - ((hsmall .prior).nonneg n)) ((hsmall .neighbor).nonneg n), hs, ?_⟩ | |
| 189 | - rw [Summable.tsum_add ((hsmall .shear).summable.add (hsmall .prior).summable) | |
| 190 | - (hsmall .neighbor).summable, | |
| 191 | - Summable.tsum_add (hsmall .shear).summable (hsmall .prior).summable] | |
| 192 | - linarith only [(hsmall .shear).total_le, (hsmall .prior).total_le, (hsmall .neighbor).total_le] | |
| 193 | - refine ⟨hsum.mono ?_ ?_, ?_, (hweak .width).mono ?_ ?_, | |
| 194 | - (hweak .parent).mono ?_ ?_, (hweak .good).mono ?_ ?_⟩ | |
| 195 | - · intro n | |
| 196 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 197 | - unfold coefficientCost sourceCoefficientError sourceEpsilon sourceOlderGradient sourcePriorError sourceNeighborError | |
| 198 | - positivity | |
| 199 | - · intro n | |
| 200 | - exact sourceCoefficientError_bound J hJ C c hC hc A x hx1 n | |
| 201 | - · intro a ha ha₂ | |
| 202 | - apply (hweak .extra).mono | |
| 203 | - · intro n | |
| 204 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 205 | - unfold extraTimeCost sourceNextTimeWidth | |
| 206 | - positivity | |
| 207 | - · intro n | |
| 208 | - exact sourceExtraTime_bound J hJ1 C hC A x hx1 n (a n) (ha n) (ha₂ n) | |
| 209 | - · intro n | |
| 210 | - unfold sourceTimeRatio | |
| 211 | - positivity | |
| 212 | - · intro n | |
| 213 | - exact sourceTimeRatio_bound J hJ1 x n | |
| 214 | - · intro n | |
| 215 | - unfold parentSquareRatio | |
| 216 | - positivity | |
| 217 | - · intro n | |
| 218 | - exact (sourceParentSquareRatio_eq J x n).le | |
| 219 | - · intro n | |
| 220 | - unfold goodCost | |
| 221 | - positivity | |
| 222 | - · intro n | |
| 223 | - exact sourceGoodCost_bound J hJ x n (hxp n) | |
| 224 | - | |
| 225 | 159 | /-- The sequence in (37), now constructed rather than supplied. -/ |
| 226 | 160 | def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ |
| 227 | 161 | | 0 => X |
| @@ -232,15 +166,4 @@ def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ | ||
| 232 | 166 | theorem scaleSequence_succ (J : ℕ) (X : ℝ) (n : ℕ) : |
| 233 | 167 | scaleSequence J X (n+1) = ((J+n : ℕ) : ℝ)^2*scaleSequence J X n := rfl |
| 234 | 168 | |
| 235 | -/-- In particular the explicit sequence allows the same simultaneous choice; | |
| 236 | -no recurrence or asymptotic conclusion remains as an input. -/ | |
| 237 | -theorem explicit_sequence_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 238 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 239 | - ∀ X : ℝ, X₀ ≤ X → UniformBounds J C c A (scaleSequence J X) δ := by | |
| 240 | - obtain ⟨J, hJ, hchoice⟩ := source_uniform_choice C c hC hc A | |
| 241 | - refine ⟨J, hJ, ?_⟩ | |
| 242 | - intro δ hδ | |
| 243 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδ | |
| 244 | - exact ⟨X₀, hX₀, fun X hX' => hX (scaleSequence J X) hX' (scaleSequence_succ J X)⟩ | |
| 245 | - | |
| 246 | 169 | end EulerPacketSourceScaleChoice |
+0 −28 Euler/PacketSourceScaleGuards.lean View file
| @@ -207,34 +207,6 @@ theorem stage_guards (J D : ℕ) (hJ : 3 ≤ J) (C c X K δ : ℝ) | ||
| 207 | 207 | · exact compression_of_error_small (ha n) heps.le hθp.le htθ hg hd |
| 208 | 208 | (by simpa only [geometryError, add_assoc] using he0) |
| 209 | 209 | |
| 210 | -/-- All numerical geometry guards are achieved by one fixed stage, then one | |
| 211 | -base scale, uniformly over every frame satisfying the induction invariants. -/ | |
| 212 | -theorem exists_guarded_sequence (D : ℕ) (hD : 1000 ≤ D) (C c K : ℝ) | |
| 213 | - (hC : 4 ≤ C) (hc : 0 ≤ c) (hK : 1 ≤ K) : | |
| 214 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ η : ℝ, 0 < η → ∃ X₀ δ : ℝ, 8 ≤ X₀ ∧ 0 < δ ∧ δ ≤ η ∧ | |
| 215 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ ∧ | |
| 216 | - ∀ a β : ℕ → ℝ, (∀ n, 1/2 ≤ a n) → (∀ n, a n ≤ 2) → | |
| 217 | - (∀ n, 1/2 ≤ β n*scaleSequence J X n^2) → | |
| 218 | - (∀ n, β n*scaleSequence J X n^2 ≤ 2) → | |
| 219 | - ∀ n, StageGuards J D C c X K a β n := by | |
| 220 | - obtain ⟨J, hJ, hchoice⟩ := actual_uniform_choice D hD C c (by linarith only [hC]) hc | |
| 221 | - refine ⟨J, hJ, ?_⟩ | |
| 222 | - intro η hη | |
| 223 | - let δ : ℝ := min η (min (1/2) (1/(1000000*K))) | |
| 224 | - have hδpos : 0 < δ := by dsimp [δ]; positivity | |
| 225 | - have hδη : δ ≤ η := min_le_left _ _ | |
| 226 | - have hδhalf : δ ≤ 1/2 := (min_le_right _ _).trans (min_le_left _ _) | |
| 227 | - have hδinv : δ ≤ 1/(1000000*K) := (min_le_right _ _).trans (min_le_right _ _) | |
| 228 | - have hδK : 1000000*K*δ ≤ 1 := by | |
| 229 | - have hh := (le_div_iff₀ (show 0 < 1000000*K by positivity)).mp hδinv | |
| 230 | - nlinarith only [hh] | |
| 231 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδpos | |
| 232 | - refine ⟨X₀, δ, hX₀, hδpos, hδη, ?_⟩ | |
| 233 | - intro X hXX | |
| 234 | - have hb := hX X hXX | |
| 235 | - exact ⟨hb, fun a β ha ha₂ hβ hβ₂ n => stage_guards J D hJ C c X K δ hC (hX₀.trans hXX) | |
| 236 | - hK hδhalf hδK hb a β ha ha₂ hβ hβ₂ n⟩ | |
| 237 | - | |
| 238 | 210 | /-- Equation (39) gives the actual packet power inequality for the |
| 239 | 211 | constructed sequence, for every fixed polynomial degree and positive |
| 240 | 212 | frequency exponent. The aggregate includes any fixed base constants. -/ |
+0 −4 Euler/PacketSourceScaleShift.lean View file
| @@ -24,10 +24,6 @@ theorem supportScale_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | ||
| 24 | 24 | supportScale (J+r) (scaleSequence J X r) n=supportScale J X (r+n) := by |
| 25 | 25 | simp only [supportScale,scaleSequence_shift,Nat.add_assoc] |
| 26 | 26 | |
| 27 | -theorem spike_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | |
| 28 | - spike (J+r) (scaleSequence J X r) n=spike J X (r+n) := by | |
| 29 | - simp only [spike,scaleSequence_shift,Nat.add_assoc] | |
| 30 | - | |
| 31 | 27 | theorem parameterEnvelope_shift (J : ℕ) (hJ : 1 ≤ J) (C c : ℝ) (p q : ℕ) |
| 32 | 28 | (X : ℝ) (r n : ℕ) : |
| 33 | 29 | parameterEnvelope (J+r) C c p q (scaleSequence J X r) n= |
+0 −10 Euler/PacketSourceSmoothField.lean View file
| @@ -48,14 +48,4 @@ theorem smoothField_jetLp_continuous (n : ℕ) : | ||
| 48 | 48 | simp only [smoothField_jetLp] |
| 49 | 49 | exact (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n).continuous |
| 50 | 50 | |
| 51 | -def smoothCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 52 | - EulerMeanSobolevBoundedField.coefficientPath | |
| 53 | - (smoothField D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 54 | - (smoothField_jetLp_continuous D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 55 | - | |
| 56 | -theorem smoothCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 57 | - (smoothCoefficientPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF).field t x = | |
| 58 | - Z.pointField t (cylinderGraph P k m (Y t x)) := | |
| 59 | - EulerMeanSobolevBoundedField.coefficientPath_apply _ _ t x | |
| 60 | - | |
| 61 | 51 | end EulerPacketSourceVolumeSobolev |
+0 −12 Euler/PacketSourceVolumeSobolev.lean View file
| @@ -58,16 +58,4 @@ theorem tensorPath_ae (n : ℕ) (t : Icc (0 : ℝ) D.T) : | ||
| 58 | 58 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 59 | 59 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 60 | 60 | |
| 61 | -theorem tensorPath_norm_le (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 62 | - ‖tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t‖ ≤ | |
| 63 | - ((n.factorial : ℝ)*(finiteOrderConstant C R n)^n)*∑ i : Fin (n+1), | |
| 64 | - frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖Z.realization (i.val+1) t‖ := | |
| 65 | - Z.volumeTensorPath_norm_le k m (inversePath Y hYjoint) | |
| 66 | - (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n | |
| 67 | - (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) | |
| 68 | - (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) | |
| 69 | - (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX | |
| 70 | - (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) | |
| 71 | - (continuousInverse_contDiff D X Y hX hXY hYjoint) t | |
| 72 | - | |
| 73 | 61 | end EulerPacketSourceVolumeSobolev |
+0 −13 Euler/PacketStageInputs.lean View file
| @@ -90,10 +90,6 @@ theorem joinedInput_frequency : (P.joinedInput hn hq hB).frequencyGuard (frequen | ||
| 90 | 90 | S.source_frequency n _ (P.joinedInput hn hq hB).parameterSize_one |
| 91 | 91 | (P.joinedInput_parameterSize hn hq hB) |
| 92 | 92 | |
| 93 | -theorem joinedInput_targetTime : | |
| 94 | - ((P.joinedInput hn hq hB).geometry.lowGeometry (P.joinedInput hn hq hB).halfBall).targetTime=P.nextTime := | |
| 95 | - P.joinedGeometry_targetTime hn hq hB | |
| 96 | - | |
| 97 | 93 | theorem joinedInput_sigma_bound : |
| 98 | 94 | (P.joinedInput hn hq hB).frame.sigma*scaleSequence S.J S.X n ≤ 2 := by |
| 99 | 95 | change (P.joinedFrame hn).sigma*scaleSequence S.J S.X n ≤ 2 |
| @@ -153,15 +149,6 @@ theorem forwardInput_parameterSize : (P.forwardInput hq hB).parameterSize ≤ en | ||
| 153 | 149 | theorem forwardInput_frequency : (P.forwardInput hq hB).frequencyGuard (frequency S.J S.X 0) := |
| 154 | 150 | S.source_frequency 0 _ (P.forwardInput hq hB).parameterSize_one (P.forwardInput_parameterSize hq hB) |
| 155 | 151 | |
| 156 | -theorem forwardInput_targetTime : | |
| 157 | - ((P.forwardInput hq hB).geometry.lowGeometry (P.forwardInput hq hB).halfBall).targetTime=P.nextTime := | |
| 158 | - P.forwardGeometry_targetTime hq hB | |
| 159 | - | |
| 160 | -theorem forwardInput_sigma_bound : (P.forwardInput hq hB).frame.sigma*scaleSequence S.J S.X 0 ≤ 2 := by | |
| 161 | - change P.forwardFrame.sigma*scaleSequence S.J S.X 0 ≤ 2 | |
| 162 | - rw [P.forwardFrame_sigma] | |
| 163 | - exact P.normalized_sigma | |
| 164 | - | |
| 165 | 152 | theorem forwardInput_scale : (P.forwardInput hq hB).parent.ell=supportScale S.J S.X 0 := P.scale_eq |
| 166 | 153 | |
| 167 | 154 | end Forward |
+0 −9 Euler/PacketStageLowPropagation.lean View file
| @@ -109,15 +109,6 @@ theorem coupling_step (a : ℝ) | ||
| 109 | 109 | rw [sum_range_succ] |
| 110 | 110 | linarith only [hd,ht,P.coupling_error] |
| 111 | 111 | |
| 112 | -theorem tilt_step (σ : ℝ) | |
| 113 | - (h : |(scaleSequence S.J S.X (n+1))^2*σ^2-1| ≤ | |
| 114 | - renewalCost S.J S.D 4 c frameConstant S.X n) : | |
| 115 | - 1/2 ≤ σ^2*(scaleSequence S.J S.X (n+1))^2 ∧ | |
| 116 | - σ^2*(scaleSequence S.J S.X (n+1))^2 ≤ 2 := by | |
| 117 | - have hh := abs_le.mp h | |
| 118 | - have he := S.renewal_series.term_le n | |
| 119 | - constructor <;> nlinarith only [hh.1,hh.2,he] | |
| 120 | - | |
| 121 | 112 | end EulerPacketInduction.Stage |
| 122 | 113 | |
| 123 | 114 | namespace EulerParentPacketFrames.RenewalAtTarget |
+0 −8 Euler/PacketTailBase.lean View file
| @@ -14,14 +14,6 @@ theorem tailBase_nonneg (R H C : ℝ) (hC : 0 ≤ C) (N : ℕ) : | ||
| 14 | 14 | unfold tailBase |
| 15 | 15 | exact mul_nonneg (mul_nonneg (by positivity) (sq_nonneg H)) (gradeBase_nonneg R N) |
| 16 | 16 | |
| 17 | -theorem tailBase_ge_one (R H C : ℝ) (hR : 1 ≤ R) (hH : 1 ≤ H) | |
| 18 | - (hC : 0 ≤ C) (N : ℕ) (hN : 1 ≤ N) : 1 ≤ tailBase R H C N := by | |
| 19 | - have hf : (1 : ℝ) ≤ 1+C*(1+18*((N+2 : ℕ) : ℝ)^2) := by | |
| 20 | - have h : 0 ≤ C*(1+18*((N+2 : ℕ) : ℝ)^2) := by positivity | |
| 21 | - linarith only [h] | |
| 22 | - exact one_le_mul_of_one_le_of_one_le | |
| 23 | - (one_le_mul_of_one_le_of_one_le hf (one_le_pow₀ hH)) (gradeBase_ge_one R hR N hN) | |
| 24 | - | |
| 25 | 17 | /-- The envelope is absorbed once into the base, with no dependence on |
| 26 | 18 | the surviving grade in that base. -/ |
| 27 | 19 | theorem tailBase_absorption (R H C : ℝ) (hC : 0 ≤ C) (N n : ℕ) : |
+0 −40 Euler/PacketTailBound.lean View file
| @@ -30,44 +30,4 @@ theorem sum_geometric_Ico_le (q : ℝ) (hq : 0 ≤ q) (hqhalf : q ≤ 1/2) (a b | ||
| 30 | 30 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 32 | 32 | |
| 33 | -theorem finite_tail_norm_le (κ B : ℝ) (hκ : 0 ≤ κ) (hB : 0 ≤ B) | |
| 34 | - (hsmall : κ*B ≤ 1/2) (N : ℕ) (c : ℕ → E) | |
| 35 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 36 | - ‖∑ n ∈ Ico (N+1) (2*N+3), κ^n • c n‖ ≤ 2*B*(κ*B)^(N+1) := by | |
| 37 | - calc | |
| 38 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • c n‖ := norm_sum_le _ _ | |
| 39 | - _ = ∑ n ∈ Ico (N+1) (2*N+3), κ^n*‖c n‖ := by | |
| 40 | - simp only [norm_smul, norm_pow, Real.norm_of_nonneg hκ] | |
| 41 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), κ^n*B^(n+1) := | |
| 42 | - sum_le_sum (fun n hn => mul_le_mul_of_nonneg_left (hc n hn) (pow_nonneg hκ n)) | |
| 43 | - _ = B*(∑ n ∈ Ico (N+1) (2*N+3), (κ*B)^n) := by | |
| 44 | - rw [mul_sum] | |
| 45 | - apply sum_congr rfl | |
| 46 | - intro n _ | |
| 47 | - simp only [pow_succ, mul_pow] | |
| 48 | - ring | |
| 49 | - _ ≤ B*(2*(κ*B)^(N+1)) := mul_le_mul_of_nonneg_left | |
| 50 | - (sum_geometric_Ico_le (κ*B) (mul_nonneg hκ hB) hsmall (N+1) (2*N+3)) hB | |
| 51 | - _ = _ := by ring | |
| 52 | - | |
| 53 | -/-- Includes the source's final k times inverse-frame normalization. -/ | |
| 54 | -theorem normalized_tail_norm_le (k B C : ℝ) (hk : 0 ≤ k) (hB : 0 ≤ B) | |
| 55 | - (hsmall : B/k ≤ 1/2) (L : E →L[ℝ] F) (hL : ‖L‖ ≤ C) (N : ℕ) (c : ℕ → E) | |
| 56 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 57 | - ‖k • L (∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n)‖ ≤ | |
| 58 | - 2*C*k*B*(B/k)^(N+1) := by | |
| 59 | - have hC : 0 ≤ C := (norm_nonneg L).trans hL | |
| 60 | - have hq : k⁻¹*B=B/k := by ring | |
| 61 | - have htail := finite_tail_norm_le k⁻¹ B (inv_nonneg.mpr hk) hB | |
| 62 | - (by simpa only [hq] using hsmall) N c hc | |
| 63 | - rw [hq] at htail | |
| 64 | - rw [norm_smul, Real.norm_of_nonneg hk] | |
| 65 | - calc | |
| 66 | - _ ≤ k*(C*‖∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n‖) := | |
| 67 | - mul_le_mul_of_nonneg_left ((L.le_opNorm _).trans | |
| 68 | - (mul_le_mul_of_nonneg_right hL (norm_nonneg _))) hk | |
| 69 | - _ ≤ k*(C*(2*B*(B/k)^(N+1))) := | |
| 70 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left htail hC) hk | |
| 71 | - _ = _ := by ring | |
| 72 | - | |
| 73 | 33 | end EulerPacketTailBound |
+0 −7 Euler/PacketTerminalDatumBounds.lean View file
| @@ -95,13 +95,6 @@ def terminalMass : ℝ := supportMass period supportSet supportSet_compact | ||
| 95 | 95 | |
| 96 | 96 | theorem terminalMass_nonneg : 0 ≤ terminalMass := norm_nonneg _ |
| 97 | 97 | |
| 98 | -theorem terminal_jet_bound {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] | |
| 99 | - (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (n : ℕ) (a : LiftTangent) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b (terminal δ hδ ξ)) a‖ ≤ | |
| 101 | - (scalarJetCost δ * ‖ξ‖ * terminalMass) * majorant (jetRadius δ) 0 n := | |
| 102 | - (compactField δ hδ ξ).translation_gevrey supportSet supportSet_compact (field_support δ ξ) | |
| 103 | - (jetRadius δ) (scalarJetCost δ * ‖ξ‖) (fun k x => field_jet_bound δ hδ hδ1 ξ k x 0) n a | |
| 104 | - | |
| 105 | 98 | def wordRadius (ι : Type*) [Fintype ι] (δ : ℝ) : ℝ := |
| 106 | 99 | sobolevCoefficientRadius ι (jetRadius δ) |
| 107 | 100 | |
+0 −3 Euler/PacketTerminalInitialData.lean View file
| @@ -22,9 +22,6 @@ def initialData : InitialData period D where | ||
| 22 | 22 | orbit := terminal_orbit_contDiff δ hδ ξ |
| 23 | 23 | mean_zero := terminal_average_zero δ hδ ξ |
| 24 | 24 | |
| 25 | -theorem initialData_value : ((initialData D δ hδ ξ hs).value : CylinderL2 period U) = | |
| 26 | - terminal δ hδ ξ := rfl | |
| 27 | - | |
| 28 | 25 | theorem initialData_bound {ι : Type*} [Fintype ι] |
| 29 | 26 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 30 | 27 | (hδ1 : δ ≤ 1) (n : ℕ) : |
+0 −2 Euler/PacketTerminalPrimaryFields.lean View file
| @@ -28,8 +28,6 @@ def joinedTerminalPrimaryWitness : | ||
| 28 | 28 | (EulerTransversePacketPrimary.profileRegularity τ hτ hτT B Y |
| 29 | 29 | (joinedSourceOperators P M D τ hτ hτT B) rfl).changeTime hTime.symm M.T_pos.le |
| 30 | 30 | |
| 31 | -theorem joinedTerminalPrimary_mean : (joinedTerminalPrimary P M D τ hτ hτT B Y).mean=0 := rfl | |
| 32 | - | |
| 33 | 31 | include hTime in |
| 34 | 32 | theorem joinedTerminalPrimary_tangent (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 35 | 33 | inner ℝ (D.normalField (t,(x,θ))) ((joinedTerminalPrimary P M D τ hτ hτT B Y).high (t,(x,θ)))=0 := by |
+0 −6 Euler/PacketTimeAlgebra.lean View file
| @@ -38,10 +38,4 @@ theorem finsetSum {ι : Type*} (s : Finset ι) (f f' : ι → VectorField) | ||
| 38 | 38 | simp only [ContinuousMap.sum_apply] |
| 39 | 39 | exact h |
| 40 | 40 | |
| 41 | -theorem of_path_eq (hG : TimeDerivative hT G G') | |
| 42 | - (h : H.path=G.path) (h' : H'.path=G'.path) : TimeDerivative hT H H' := by | |
| 43 | - unfold TimeDerivative | |
| 44 | - rw [h,h'] | |
| 45 | - exact hG | |
| 46 | - | |
| 47 | 41 | end EulerPacketCylinderField.TimeDerivative |
+0 −12 Euler/PacketTimeProfileArithmetic.lean View file
| @@ -98,18 +98,6 @@ theorem fast_corrector_high_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) | ||
| 98 | 98 | highScale γ H (i-1)*highScale γ H j ≤ highScale γ H p := |
| 99 | 99 | slow_high_high_high γ H hγ hγH hH (i-1) j p (by omega) hj (by omega) |
| 100 | 100 | |
| 101 | -theorem fast_corrector_corrector_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 102 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 103 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ meanScale H p := | |
| 104 | - (slow_high_high_mean γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 105 | - (meanScale_mono H hH (Nat.sub_le p 1)) | |
| 106 | - | |
| 107 | -theorem fast_corrector_corrector_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 108 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 109 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ highScale γ H p := | |
| 110 | - (slow_high_high_high γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 111 | - (highScale_mono γ H hγ hH (Nat.sub_le p 1)) | |
| 112 | - | |
| 113 | 101 | theorem previous_linear_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) |
| 114 | 102 | (p : ℕ) (hp : 2 ≤ p) : highScale γ H (p-1) ≤ meanScale H p := by |
| 115 | 103 | have h := slow_mean_high_mean γ H hγ hγH hH 1 (p-1) p (by omega) (by omega) (by omega) |
+0 −13 Euler/PacketTimeProfiles.lean View file
| @@ -44,9 +44,6 @@ theorem mean_pos (p : ℕ) (t : K) : 0 < S.mean p t := meanScale_pos S.H0 S.H0_p | ||
| 44 | 44 | theorem high_pos (p : ℕ) (t : K) : 0 < S.high p t := |
| 45 | 45 | highScale_pos (S.growth t) S.H0 (S.growth_pos t) S.H0_pos p |
| 46 | 46 | |
| 47 | -theorem mean_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.mean i t ≤ S.mean j t := | |
| 48 | - meanScale_mono S.H0 S.H0_one_le hij | |
| 49 | - | |
| 50 | 47 | theorem high_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.high i t ≤ S.high j t := |
| 51 | 48 | highScale_mono (S.growth t) S.H0 (S.growth_pos t).le S.H0_one_le hij |
| 52 | 49 | |
| @@ -86,16 +83,6 @@ theorem fast_corrector_high_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ | ||
| 86 | 83 | fast_corrector_high_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) |
| 87 | 84 | S.H0_one_le i j p hi hj hp |
| 88 | 85 | |
| 89 | -theorem fast_corrector_corrector_mean_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 90 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.mean p t := | |
| 91 | - fast_corrector_corrector_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 92 | - S.H0_one_le i j p hi hj hp | |
| 93 | - | |
| 94 | -theorem fast_corrector_corrector_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 95 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.high p t := | |
| 96 | - fast_corrector_corrector_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 97 | - S.H0_one_le i j p hi hj hp | |
| 98 | - | |
| 99 | 86 | theorem previous_linear_mean_bound (p : ℕ) (hp : 2 ≤ p) (t : K) : S.high (p-1) t ≤ S.mean p t := |
| 100 | 87 | previous_linear_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) S.H0_one_le p hp |
| 101 | 88 | |
+0 −40 Euler/PacketTimeWordGluing.lean View file
| @@ -19,48 +19,8 @@ attribute [local instance] compactInterval | ||
| 19 | 19 | (u : Matching (E := E) S τ hτ0 hτS) : |
| 20 | 20 | glueOperator S τ hτ0 hτS u = gluePath S τ hτ0 hτS u := rfl |
| 21 | 21 | |
| 22 | -theorem gluePath_left (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 23 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc (0 : ℝ) τ) : | |
| 24 | - gluePath S τ hτ0 hτS u ⟨t, t.property.1, t.property.2.trans hτS⟩=u.val.1 t := by | |
| 25 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 26 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 27 | - rw [glue_left τ _ _ t t.property.2, projIcc_of_mem hτ0 t.property] | |
| 28 | - | |
| 29 | -theorem gluePath_right (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 30 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc τ S) : | |
| 31 | - gluePath S τ hτ0 hτS u ⟨t, hτ0.trans t.property.1, t.property.2⟩=u.val.2 t := by | |
| 32 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 33 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 34 | - rw [glue_right τ _ _ (by | |
| 35 | - simpa only [projIcc_of_mem hτ0 ⟨hτ0,le_rfl⟩, | |
| 36 | - projIcc_of_mem hτS ⟨le_rfl,hτS⟩] using matching_values S τ hτ0 hτS u) | |
| 37 | - t t.property.1, projIcc_of_mem hτS t.property] | |
| 38 | - | |
| 39 | -theorem glue_family_contDiff (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 40 | - (f : X → Matching (E := E) S τ hτ0 hτS) (hf : ContDiff ℝ ∞ f) : | |
| 41 | - ContDiff ℝ ∞ (fun x => gluePath S τ hτ0 hτS (f x)) := by | |
| 42 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 43 | - (glueOperator (E := E) S τ hτ0 hτS).contDiff.comp hf | |
| 44 | - | |
| 45 | -theorem glue_word_derivative (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 46 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 47 | - (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (x : X) : | |
| 48 | - wordDerivative directions (fun y => gluePath S τ hτ0 hτS (f y)) w x = | |
| 49 | - gluePath S τ hτ0 hτS (wordDerivative directions f w x) := by | |
| 50 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 51 | - wordDerivative_comp_clm directions (glueOperator (E := E) S τ hτ0 hτS) f hf w x | |
| 52 | - | |
| 53 | 22 | variable [Fintype ι] |
| 54 | 23 | |
| 55 | -theorem glue_word_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 56 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 57 | - (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 58 | - wordSum directions (fun y => gluePath S τ hτ0 hτS (f y)) n x ≤ | |
| 59 | - wordSum directions f n x := by | |
| 60 | - have h := wordSum_comp_clm_le directions (glueOperator S τ hτ0 hτS) f hf n x | |
| 61 | - exact h.trans ((mul_le_mul_of_nonneg_right | |
| 62 | - (glueOperator_norm_le_one S τ hτ0 hτS) (wordSum_nonneg directions f n x)).trans_eq (one_mul _)) | |
| 63 | - | |
| 64 | 24 | /-- Fixed H6 is the specialization q=6; no tensor-to-word conversion occurs. -/ |
| 65 | 25 | theorem glue_block_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 66 | 26 | (directions : ι → X) (q : ℕ) (f : X → Matching (E := E) S τ hτ0 hτS) |
+0 −10 Euler/PacketTriangular.lean View file
| @@ -36,14 +36,4 @@ theorem nonlinearGrade_update (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | ||
| 36 | 36 | fastAdvection_tangent_left m (u 1) (A+B) hprimary] |
| 37 | 37 | simp only [zero_add, add_zero, add_assoc] |
| 38 | 38 | |
| 39 | -/-- The surviving unknown term is literally (m dot B) times the primary angular derivative. -/ | |
| 40 | -theorem nonlinearGrade_update_formula (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 41 | - (FInv : Space →L[ℝ] Space) (m : Space) (u u' : ℕ → VectorJet) | |
| 42 | - (A B : VectorJet) (hu0 : u 0=0) (hu : ∀ i < p, u' i=u i) | |
| 43 | - (hnew : u' p=u p+(A+B)) (hprimary : ⟪m, (u 1).1⟫_ℝ=0) | |
| 44 | - (hA : ⟪m, A.1⟫_ℝ=0) : | |
| 45 | - nonlinearGrade M p FInv m u' = nonlinearGrade M p FInv m u + | |
| 46 | - ⟪m, B.1⟫_ℝ • (u 1).2 angleDirection := | |
| 47 | - nonlinearGrade_update M p hp hMp FInv m u u' A B hu0 hu hnew hprimary hA | |
| 48 | - | |
| 49 | 39 | end EulerPacketPointJets |
+0 −15 Euler/PacketUniformInitialBounds.lean View file
| @@ -86,19 +86,4 @@ variable (Cagree : SourceCoefficientAgreement M D) | ||
| 86 | 86 | local notation "Q" => initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα |
| 87 | 87 | L NB LM Cagree W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet |
| 88 | 88 | |
| 89 | -theorem initializedUniformBudget_initial (s : ℕ) : | |
| 90 | - scale M.ℓ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 91 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q | |
| 92 | - ⟨0,le_rfl,D.T_pos.le⟩ id)= | |
| 93 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k+ | |
| 94 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k ∧ | |
| 95 | - derivativeSum s (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 96 | - (M.ℓ⁻¹)^s*k^s*α*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) ∧ | |
| 97 | - derivativeSum s (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 98 | - (M.ℓ⁻¹)^s/k^2*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) := | |
| 99 | - ⟨initializedExactPhysicalVelocity_initial_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q, | |
| 101 | - initialized_uniform_initial_bounds M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα | |
| 102 | - L NB LM W hW hprofile k hk hfrequency s⟩ | |
| 103 | - | |
| 104 | 89 | end EulerPacketTerminalDatum |
+0 −6 Euler/PacketUniversalFrequency.lean View file
| @@ -29,11 +29,6 @@ theorem universal_frequency_eventually : ∀ᶠ k : ℝ in atTop, UniversalFrequ | ||
| 29 | 29 | eventually_ge_atTop (fixedCost 6)] with k h hk he hd |
| 30 | 30 | exact ⟨h.1,h.2.1,h.2.2.1,h.2.2.2.1,h.2.2.2.2.1,h.2.2.2.2.2,hk,he,hd⟩ |
| 31 | 31 | |
| 32 | -theorem exists_universal_frequency_threshold : | |
| 33 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ k : ℝ, K ≤ k → UniversalFrequency k := by | |
| 34 | - obtain ⟨K,hK⟩ := eventually_atTop.mp universal_frequency_eventually | |
| 35 | - exact ⟨max 1 K,le_max_left _ _,fun k hk => hK k ((le_max_right _ _).trans hk)⟩ | |
| 36 | - | |
| 37 | 32 | namespace UniversalFrequency |
| 38 | 33 | |
| 39 | 34 | variable {k : ℝ} (h : UniversalFrequency k) |
| @@ -42,7 +37,6 @@ include h | ||
| 42 | 37 | |
| 43 | 38 | theorem one_le : 1 ≤ k := by linarith [h.four] |
| 44 | 39 | theorem pos : 0 < k := zero_lt_one.trans_le h.one_le |
| 45 | -theorem truncation_one : 1 ≤ truncation k := (truncation_bounds k h.one_le).1 | |
| 46 | 40 | |
| 47 | 41 | end UniversalFrequency |
| 48 | 42 | end EulerPacketSourceFrequency |
+0 −8 Euler/PacketWeightedPhysicalErrors.lean View file
| @@ -22,14 +22,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 22 | 22 | def weightedPhysicalGradientCost (R CF ρ Cw : ℝ) : ℝ := |
| 23 | 23 | ((1+9*CF)*physicalFixedCost D R CF ρ⁻¹ 1)*(sobolevEmbeddingConstant P 3*Cw) |
| 24 | 24 | |
| 25 | -theorem weightedPhysicalGradientCost_nonneg (R CF ρ Cw : ℝ) | |
| 26 | - (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hρ : 0 < ρ) (hCw : 0 ≤ Cw) : | |
| 27 | - 0 ≤ weightedPhysicalGradientCost D P R CF ρ Cw := by | |
| 28 | - have h := physicalFixedCost_nonneg D R CF ρ⁻¹ 1 hR hCF (inv_nonneg.mpr hρ.le) | |
| 29 | - have hs := sobolevEmbeddingConstant_nonneg P 3 | |
| 30 | - unfold weightedPhysicalGradientCost | |
| 31 | - positivity | |
| 32 | - | |
| 33 | 25 | variable {A : Data P D.T} (Q : Budget P D.T_pos A) |
| 34 | 26 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 35 | 27 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
+0 −92 Euler/PacketWithinStage.lean View file
| @@ -15,96 +15,4 @@ namespace EulerPacketMovingFrame | ||
| 15 | 15 | open Set EulerPacketRay EulerPacketStage EulerPacketPerturbation |
| 16 | 16 | EulerClosedIntervalDerivativeExtension |
| 17 | 17 | |
| 18 | -/-- Relative amplification for paths with their genuine within-interval | |
| 19 | -equations. The ideal reference solutions are constructed by the scalar ODE | |
| 20 | -existence theorem, not supplied as extra assumptions. -/ | |
| 21 | -theorem controlled_stage_references_within | |
| 22 | - {σ Θ T e ε lam : ℝ} {U V P Q N : ℝ → ℝ} {R A C : ℝ → Fin 3 → Fin 3 → ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1 / 4) (hΘ : 1 ≤ Θ) | |
| 24 | - (hT0 : 0 < T) (hT : T ≤ Θ) (he : 0 ≤ e) (hε : 0 ≤ ε) (hεe : ε ≤ e) | |
| 25 | - (hlam : 0 ≤ lam) (hsmall : 1000000 * stabilityConstant * e * Θ ^ 40 ≤ 1) | |
| 26 | - (hRc : ∀ i j, ContinuousOn (fun t => R t i j) (Icc 0 T)) | |
| 27 | - (hAc : ∀ i j, ContinuousOn (fun t => A t i j) (Icc 0 T)) | |
| 28 | - (hCc : ∀ i j, ContinuousOn (fun t => C t i j) (Icc 0 T)) | |
| 29 | - (hP : ∀ t ∈ Icc 0 T, HasDerivWithinAt P | |
| 30 | - (R t 0 0 * P t + R t 0 1 * Q t + R t 0 2 * N t) (Icc 0 T) t) | |
| 31 | - (hQ : ∀ t ∈ Icc 0 T, HasDerivWithinAt Q | |
| 32 | - (R t 1 0 * P t + R t 1 1 * Q t + R t 1 2 * N t) (Icc 0 T) t) | |
| 33 | - (hN : ∀ t ∈ Icc 0 T, HasDerivWithinAt N | |
| 34 | - (R t 2 0 * P t + R t 2 1 * Q t + R t 2 2 * N t) (Icc 0 T) t) | |
| 35 | - (hU : ∀ t ∈ Icc 0 T, HasDerivWithinAt U | |
| 36 | - (velocityFirstRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 37 | - (hV : ∀ t ∈ Icc 0 T, HasDerivWithinAt V | |
| 38 | - (velocitySecondRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 39 | - (hRclose : ∀ t ∈ Icc 0 T, ∀ i j, |R t i j - idealRayEntry (σ ^ 2) i j| ≤ 4 * e) | |
| 40 | - (hAclose : ∀ t ∈ Icc 0 T, ∀ i j, |A t i j - idealVelocityEntry (σ ^ 2) i j| ≤ 3 * e) | |
| 41 | - (hCclose : ∀ t ∈ Icc 0 T, ∀ j, | |
| 42 | - |C t 0 j - idealUnprojectedEntry 0 j| ≤ 5 * e ∧ | |
| 43 | - |C t 1 j - idealUnprojectedEntry 1 j| ≤ 5 * e) | |
| 44 | - (hrayInitial : norm3 (P 0) (Q 0) (N 0 - 1) ≤ e) | |
| 45 | - (hU0 : U 0 = -lam) (hV0 : V 0 = 1) : | |
| 46 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 47 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 48 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 49 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * F₁ s) | |
| 50 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * F t) t) ∧ | |
| 51 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * Z₁ s) | |
| 52 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * Z t) t) ∧ | |
| 53 | - (∀ t ∈ Icc 0 T, |V t - Z t| + |U t + Z₁ t| ≤ | |
| 54 | - 160000000 * e * Θ ^ 29 * (1 + lam) * F t) ∧ | |
| 55 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ | |
| 56 | - |V t / Z t - 1| ≤ stabilityConstant * e * Θ ^ 29 ∧ | |
| 57 | - |U t / V t + Z₁ t / Z t| ≤ 10 * (stabilityConstant * e * Θ ^ 29)) := by | |
| 58 | - obtain ⟨P', hPeq, hP'⟩ := exists_extension hT0 hP | |
| 59 | - obtain ⟨Q', hQeq, hQ'⟩ := exists_extension hT0 hQ | |
| 60 | - obtain ⟨N', hNeq, hN'⟩ := exists_extension hT0 hN | |
| 61 | - obtain ⟨U', hUeq, hU'⟩ := exists_extension hT0 hU | |
| 62 | - obtain ⟨V', hVeq, hV'⟩ := exists_extension hT0 hV | |
| 63 | - have h0 : (0:ℝ) ∈ Icc 0 T := ⟨le_rfl, hT0.le⟩ | |
| 64 | - have hC'c : ∀ i j, ContinuousOn (fun t => firstTwoRows (C t) i j) (Icc 0 T) := by | |
| 65 | - intro i j | |
| 66 | - by_cases hi : i = 0 | |
| 67 | - · simpa only [firstTwoRows, hi, ite_true] using hCc 0 j | |
| 68 | - · simpa only [firstTwoRows, hi, ite_false] using hCc 1 j | |
| 69 | - have hC'close : ∀ t ∈ Icc 0 T, ∀ i j, | |
| 70 | - |firstTwoRows (C t) i j - idealUnprojectedEntry i j| ≤ 5*e := by | |
| 71 | - intro t ht i j | |
| 72 | - fin_cases i | |
| 73 | - · simpa [firstTwoRows] using (hCclose t ht j).1 | |
| 74 | - · simpa [firstTwoRows] using (hCclose t ht j).2 | |
| 75 | - · simpa [firstTwoRows, idealUnprojectedEntry] using (hCclose t ht j).2 | |
| 76 | - have hPe : ∀ t ∈ Icc 0 T, HasDerivAt P' | |
| 77 | - (R t 0 0*P' t+R t 0 1*Q' t+R t 0 2*N' t) t := by | |
| 78 | - intro t ht | |
| 79 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hP' t ht | |
| 80 | - have hQe : ∀ t ∈ Icc 0 T, HasDerivAt Q' | |
| 81 | - (R t 1 0*P' t+R t 1 1*Q' t+R t 1 2*N' t) t := by | |
| 82 | - intro t ht | |
| 83 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hQ' t ht | |
| 84 | - have hNe : ∀ t ∈ Icc 0 T, HasDerivAt N' | |
| 85 | - (R t 2 0*P' t+R t 2 1*Q' t+R t 2 2*N' t) t := by | |
| 86 | - intro t ht | |
| 87 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hN' t ht | |
| 88 | - have hUe : ∀ t ∈ Icc 0 T, HasDerivAt U' | |
| 89 | - (velocityFirstRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 90 | - intro t ht | |
| 91 | - simpa only [velocityFirstRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hU' t ht | |
| 92 | - have hVe : ∀ t ∈ Icc 0 T, HasDerivAt V' | |
| 93 | - (velocitySecondRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 94 | - intro t ht | |
| 95 | - simpa only [velocitySecondRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hV' t ht | |
| 96 | - have hri : norm3 (P' 0) (Q' 0) (N' 0-1) ≤ e := by | |
| 97 | - simpa only [hPeq h0, hQeq h0, hNeq h0] using hrayInitial | |
| 98 | - have hui : U' 0 = -lam := (hUeq h0).trans hU0 | |
| 99 | - have hvi : V' 0 = 1 := (hVeq h0).trans hV0 | |
| 100 | - obtain ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, herr, hrel⟩ := | |
| 101 | - controlled_stage_references hσ hσsmall hΘ hT0.le hT he hε hεe hlam hsmall | |
| 102 | - hRc hAc hC'c hPe hQe hNe hUe hVe hRclose hAclose hC'close hri hui hvi | |
| 103 | - refine ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, ?_, ?_⟩ | |
| 104 | - · intro t ht | |
| 105 | - simpa only [hUeq ht, hVeq ht] using herr t ht | |
| 106 | - · intro t ht | |
| 107 | - have ht' : t ∈ Icc 0 T := ⟨le_trans (by norm_num) ht.1, ht.2⟩ | |
| 108 | - simpa only [hUeq ht', hVeq ht'] using hrel t ht | |
| 109 | - | |
| 110 | 18 | end EulerPacketMovingFrame |
+0 −4 Euler/ParameterSobolevCommutator.lean View file
| @@ -75,10 +75,6 @@ theorem commutatorBlock_zero (directions : ι → P) (q : ℕ) (A : P → E →L | ||
| 75 | 75 | simp only [wordCommutator, Pi.sub_apply, wordDerivative_zero, sub_self] |
| 76 | 76 | simp only [commutatorBlock, he, baseSize_zero_function, sum_const_zero] |
| 77 | 77 | |
| 78 | -theorem commutatorBlock_nonneg (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) | |
| 79 | - (n : ℕ) (x : P) : 0 ≤ commutatorBlock directions q A f n x := | |
| 80 | - sum_nonneg (fun _ _ => baseSize_nonneg directions q _ x) | |
| 81 | - | |
| 82 | 78 | theorem commutatorBlock_succ_le (directions : ι → P) (q : ℕ) |
| 83 | 79 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 84 | 80 | (n : ℕ) (x : P) : |
+0 −6 Euler/ParameterSobolevLinear.lean View file
| @@ -34,12 +34,6 @@ theorem block_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | ||
| 34 | 34 | rw [he] |
| 35 | 35 | exact baseSize_comp_clm_le directions q L _ (wordDerivative_contDiff directions f hf w) x |
| 36 | 36 | |
| 37 | -theorem coefficientBlock_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | |
| 38 | - (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : | |
| 39 | - coefficientBlock directions q (L ∘ f) n x ≤ ‖L‖*coefficientBlock directions q f n x := | |
| 40 | - (mul_le_mul_of_nonneg_left (block_comp_clm_le directions q L f hf n x) (by positivity)).trans_eq | |
| 41 | - (by unfold coefficientBlock; ring) | |
| 42 | - | |
| 43 | 37 | theorem block_sub_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 44 | 38 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (n : ℕ) (x : P) : |
| 45 | 39 | block directions q (f-g) n x ≤ block directions q f n x+block directions q g n x := by |
+0 −8 Euler/ParameterSobolevProductGevrey.lean View file
| @@ -41,14 +41,6 @@ theorem block_clm_apply_gevrey (directions : ι → P) (q : ℕ) | ||
| 41 | 41 | exact (block_clm_apply_le directions q A f hA hf n x).trans |
| 42 | 42 | ((le_abs_self _).trans (by simpa only [Nat.zero_add, EulerJetProductBounds.leibnizConvolution] using hp)) |
| 43 | 43 | |
| 44 | -theorem block_linear_gevrey (directions : ι → P) (q : ℕ) | |
| 45 | - (L : E →L[ℝ] F) (f : P → E) (hf : ContDiff ℝ ∞ f) | |
| 46 | - (R C : ℝ) (d : ℕ) (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) | |
| 47 | - (n : ℕ) (x : P) : | |
| 48 | - block directions q (fun y => L (f y)) n x ≤ (‖L‖*C)*majorant R d n := | |
| 49 | - (block_comp_clm_le directions q L f hf n x).trans | |
| 50 | - (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hb n x) (norm_nonneg L)) | |
| 51 | - | |
| 52 | 44 | theorem block_add_gevrey (directions : ι → P) (q : ℕ) |
| 53 | 45 | (f g : P → E) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 54 | 46 | (R C D : ℝ) (d : ℕ) |
+0 −8 Euler/ParameterWordCalculus.lean View file
| @@ -121,12 +121,4 @@ theorem wordSum_sub_le (directions : ι → P) (f g : P → E) | ||
| 121 | 121 | rw [wordDerivative_sub directions f g hf hg w x] |
| 122 | 122 | exact norm_sub_le _ _ |
| 123 | 123 | |
| 124 | -/-- Subtracting a frozen coefficient has no positive-order derivative. -/ | |
| 125 | -theorem wordSum_sub_const_succ (directions : ι → P) (f : P → E) | |
| 126 | - (hf : ContDiff ℝ ∞ f) (c : E) (n : ℕ) (x : P) : | |
| 127 | - wordSum directions (f-fun _ => c) (n+1) x = wordSum directions f (n+1) x := by | |
| 128 | - unfold wordSum wordDerivative | |
| 129 | - rw [iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (by simp)) contDiffAt_const] | |
| 130 | - simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] | |
| 131 | - | |
| 132 | 124 | end EulerParameterWordGevrey |
+0 −78 Euler/ParameterWordInverse.lean View file
| @@ -19,82 +19,4 @@ open scoped ContDiff | ||
| 19 | 19 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 20 | 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 21 | 21 | |
| 22 | -/-- Freezing the actual inverse yields the sharp recurrence for actual ordered word sums. -/ | |
| 23 | -theorem inverse_word_recurrence (directions : ι → P) | |
| 24 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 25 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 26 | - (heq : ∀ y, A y (u y) = f y) (x : P) | |
| 27 | - (I : E →L[ℝ] E) (hI : ∀ v, I (A x v) = v) (n : ℕ) : | |
| 28 | - wordSum directions u n x ≤ ‖I‖ * | |
| 29 | - (wordSum directions f n x + ∑ j ∈ range n, | |
| 30 | - (n.choose (j+1) : ℝ) * wordSum directions A (j+1) x * | |
| 31 | - wordSum directions u (n-(j+1)) x) := by | |
| 32 | - let B : P → E →L[ℝ] E := A-fun _ => A x | |
| 33 | - have hB : ContDiff ℝ ∞ B := hA.sub contDiff_const | |
| 34 | - have hBu : ContDiff ℝ ∞ (fun y => B y (u y)) := hB.clm_apply hu | |
| 35 | - have hfreeze : u = I ∘ (f-fun y => B y (u y)) := by | |
| 36 | - funext y | |
| 37 | - dsimp [B] | |
| 38 | - rw [sub_apply, ← heq y, sub_sub_cancel] | |
| 39 | - exact (hI (u y)).symm | |
| 40 | - have hzero : wordSum directions B 0 x = 0 := by | |
| 41 | - rw [wordSum_zero] | |
| 42 | - simp only [B, Pi.sub_apply, sub_self, norm_zero] | |
| 43 | - have hpos (j : ℕ) : wordSum directions B (j+1) x = wordSum directions A (j+1) x := | |
| 44 | - wordSum_sub_const_succ directions A hA (A x) j x | |
| 45 | - have hprod := wordSum_clm_apply_le directions B u hB hu n x | |
| 46 | - unfold leibnizConvolution at hprod | |
| 47 | - rw [sum_range_succ'] at hprod | |
| 48 | - simp only [hzero, mul_zero, zero_mul, add_zero, hpos] at hprod | |
| 49 | - have hbound := wordSum_comp_clm_le directions I (f-fun y => B y (u y)) (hf.sub hBu) n x | |
| 50 | - rw [← hfreeze] at hbound | |
| 51 | - exact hbound.trans (mul_le_mul_of_nonneg_left | |
| 52 | - ((wordSum_sub_le directions f (fun y => B y (u y)) hf hBu n x).trans | |
| 53 | - (add_le_add le_rfl hprod)) (norm_nonneg I)) | |
| 54 | - | |
| 55 | -/-- The actual inverse maps a word-sum majorant to one higher factorial | |
| 56 | -shift at the identical radius. All constants are independent of the shift. -/ | |
| 57 | -theorem inverse_word_gevrey (directions : ι → P) | |
| 58 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 59 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 60 | - (heq : ∀ y, A y (u y) = f y) | |
| 61 | - (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) | |
| 62 | - (I C D M Rc R : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 63 | - (hM : 1 ≤ M) (hMC : I*C ≤ M) (hMD : I*D ≤ M) | |
| 64 | - (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 65 | - (hinv : ∀ x, ‖inverse x‖ ≤ I) | |
| 66 | - (hcoeff : ∀ j x, wordSum directions A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 67 | - (d : ℕ) (hforce : ∀ n x, wordSum directions f n x ≤ D*majorant R d n) | |
| 68 | - (n : ℕ) (x : P) : wordSum directions u n x ≤ majorant R (d+1) n := by | |
| 69 | - have hR0 : 0 ≤ R := by nlinarith | |
| 70 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 71 | - (fun k => majorant R d k) (fun k => wordSum directions u k x) (fun _ => le_rfl) _ n | |
| 72 | - intro k | |
| 73 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* | |
| 74 | - ((j+1).factorial : ℝ)^2*wordSum directions u (k-(j+1)) x | |
| 75 | - have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg | |
| 76 | - (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) | |
| 77 | - (wordSum_nonneg directions u _ x)) | |
| 78 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*wordSum directions A (j+1) x* | |
| 79 | - wordSum directions u (k-(j+1)) x) ≤ C*S := by | |
| 80 | - dsimp only [S] | |
| 81 | - rw [mul_sum] | |
| 82 | - apply sum_le_sum | |
| 83 | - intro j _ | |
| 84 | - have h := mul_le_mul_of_nonneg_right | |
| 85 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) | |
| 86 | - (wordSum_nonneg directions u (k-(j+1)) x) | |
| 87 | - convert h using 1 | |
| 88 | - ring | |
| 89 | - have hrec := inverse_word_recurrence directions A u f hA hu hf heq x (inverse x) (hleft x) k | |
| 90 | - have hb : wordSum directions u k x ≤ I*(D*majorant R d k+C*S) := by | |
| 91 | - apply hrec.trans | |
| 92 | - exact (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) (norm_nonneg _)).trans | |
| 93 | - (mul_le_mul_of_nonneg_right (hinv x) | |
| 94 | - (add_nonneg (mul_nonneg hD (majorant_nonneg R hR0 d k)) (mul_nonneg hC hS))) | |
| 95 | - have h₁ := mul_le_mul_of_nonneg_right hMC hS | |
| 96 | - have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) | |
| 97 | - change wordSum directions u k x ≤ M*(majorant R d k+S) | |
| 98 | - nlinarith | |
| 99 | - | |
| 100 | 22 | end EulerParameterWordGevrey |
+0 −22 Euler/ParameterWordRestriction.lean View file
| @@ -13,28 +13,6 @@ variable {P Q E ι κ : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 13 | 13 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 14 | 14 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] [Fintype κ] |
| 15 | 15 | |
| 16 | -/-- Restricting an alphabet only discards nonnegative summands. -/ | |
| 17 | -theorem wordSum_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) | |
| 18 | - (f : P → E) (n : ℕ) (x : P) : | |
| 19 | - wordSum (directions ∘ e) f n x ≤ wordSum directions f n x := by | |
| 20 | - classical | |
| 21 | - have hinj : Function.Injective (fun w : Fin n → ι => e ∘ w) := by | |
| 22 | - intro u v h | |
| 23 | - exact funext (fun j => he (congrFun h j)) | |
| 24 | - calc | |
| 25 | - _ = ∑ w ∈ univ.image (fun w : Fin n → ι => e ∘ w), ‖wordDerivative directions f w x‖ := by | |
| 26 | - rw [sum_image hinj.injOn] | |
| 27 | - rfl | |
| 28 | - _ ≤ ∑ w : Fin n → κ, ‖wordDerivative directions f w x‖ := | |
| 29 | - sum_le_sum_of_subset_of_nonneg (subset_univ _) (fun _ _ _ => norm_nonneg _) | |
| 30 | - | |
| 31 | -/-- The same literal subalphabet restriction is contractive on every fixed Sobolev block. -/ | |
| 32 | -theorem block_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) | |
| 33 | - (q : ℕ) (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : | |
| 34 | - block (directions ∘ e) q f n x ≤ block directions q f n x := by | |
| 35 | - rw [block_eq_sum_levels _ q f hf,block_eq_sum_levels _ q f hf] | |
| 36 | - exact sum_le_sum (fun k _ => wordSum_subalphabet_le directions e he f (n+k) x) | |
| 37 | - | |
| 38 | 16 | omit [Fintype ι] in |
| 39 | 17 | /-- A linear parameter map transports the actual directions exactly. -/ |
| 40 | 18 | theorem wordDerivative_comp_right (directions : ι → P) (A : P →L[ℝ] Q) |
+0 −17 Euler/ParentChildEulerMatch.lean View file
| @@ -51,21 +51,4 @@ theorem child_velocity_exact (t : Icc (0 : ℝ) A.T) (x : Space) : | ||
| 51 | 51 | (A.exactPacketVelocity_eq_corrected m hm J support hSupport B residual k Y u t |
| 52 | 52 | ((A.child G k m hgraph nextEll hnext hnext1).position t x)).symm |
| 53 | 53 | |
| 54 | -include hV hG hk hYX hXY hY hforce hgradient hvelocity hu hp heuler in | |
| 55 | -theorem child_acceleration_exact (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 56 | - (A.child G k m hgraph nextEll hnext hnext1).acceleration.field t x = | |
| 57 | - -A.exactPacketForce m hm J support hSupport B residual k Y force t | |
| 58 | - ((A.child G k m hgraph nextEll hnext hnext1).position t x) := by | |
| 59 | - apply (A.child G k m hgraph nextEll hnext hnext1).acceleration_physical_of_euler | |
| 60 | - (A.exactPacketVelocity m hm J support hSupport B residual k Y u) | |
| 61 | - (A.exactPacketPressure m hm J support hSupport B residual k Y p) | |
| 62 | - (A.exactPacketForce m hm J support hSupport B residual k Y force) | |
| 63 | - (A.exactPacketForce_continuous m hm J support hSupport B residual k Y force hY hforce) | |
| 64 | - (A.exactPacketPressure_gradient m hm J support hSupport B residual k hk Y hXY hY p force hp hgradient) | |
| 65 | - (A.child_velocity_exact m hm J support hSupport B residual V hV G hG k hgraph | |
| 66 | - nextEll hnext hnext1 Y hYX u hvelocity) | |
| 67 | - (A.exactPacketVelocity_differentiableAt m hm J support hSupport B residual k Y hYX hXY hY u hu) | |
| 68 | - (A.exactPacket_momentum m hm J support hSupport B residual k hk Y hYX hXY hY u p hvelocity hu hp heuler) | |
| 69 | - t x | |
| 70 | - | |
| 71 | 54 | end EulerParentPacketFrames.Parent |
+0 −9 Euler/ParentCoefficientPolynomial.lean View file
| @@ -52,15 +52,6 @@ theorem leafPolynomial_eval (K : ℝ) : leafPolynomial.eval K=leafEnvelope K := | ||
| 52 | 52 | Polynomial.eval_add,Polynomial.eval_mul,Polynomial.eval_pow,Polynomial.eval_ofNat, |
| 53 | 53 | Polynomial.eval_one,Polynomial.eval_X,Polynomial.eval_C] |
| 54 | 54 | |
| 55 | -def leafConstant : ℝ := coefficientCost leafPolynomial | |
| 56 | -def leafPower : ℕ := leafPolynomial.natDegree | |
| 57 | - | |
| 58 | -theorem leafConstant_pos : 0 < leafConstant := coefficientCost_pos _ | |
| 59 | - | |
| 60 | -theorem leafEnvelope_power (K : ℝ) (hK : 1 ≤ K) : | |
| 61 | - leafEnvelope K ≤ leafConstant*K^leafPower := by | |
| 62 | - rw [← leafPolynomial_eval] | |
| 63 | - exact (le_abs_self _).trans (eval_bound leafPolynomial K hK) | |
| 64 | 55 | |
| 65 | 56 | theorem radiusCeiling_le (K : ℝ) (hK : 0 ≤ K) : coefficientRadius K ≤ radiusCeiling K := by |
| 66 | 57 | unfold coefficientRadius radiusCeiling |
+0 −29 Euler/ParentEulerEndpoints.lean View file
| @@ -16,33 +16,4 @@ variable {A : Parent} {E : Evolution A} (S : SobolevData E) | ||
| 16 | 16 | |
| 17 | 17 | include S |
| 18 | 18 | |
| 19 | -theorem spatial_derivative_continuous (x : Space) : | |
| 20 | - Continuous (fun t : Icc (0 : ℝ) A.T => fderiv ℝ (fun y => E.velocity (t,y)) x) := by | |
| 21 | - let D := coefficientPath (fun t => (S.velocity t).derivative) | |
| 22 | - (continuous_jetLp_derivative S.velocity S.velocity_continuous) | |
| 23 | - have hc : Continuous (fun t => D.field t x) := | |
| 24 | - (BoundedContinuousFunction.evalCLM ℝ x).continuous.comp D.field.continuous | |
| 25 | - apply hc.congr | |
| 26 | - intro t | |
| 27 | - rw [show D.field t x=fderiv ℝ (S.velocity t).field x from | |
| 28 | - coefficientPath_apply _ _ t x] | |
| 29 | - rw [funext (S.velocity_match t)] | |
| 30 | - | |
| 31 | -theorem divergence_closed (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 32 | - divergence (fun y => E.velocity (t,y)) x=0 := by | |
| 33 | - let f : ℝ → ℝ := fun s => coordinateTrace | |
| 34 | - (fderiv ℝ (fun y => E.velocity (projIcc 0 A.T A.T_pos.le s,y)) x) | |
| 35 | - have hf : Continuous f := coordinateTrace.continuous.comp | |
| 36 | - ((S.spatial_derivative_continuous x).comp continuous_projIcc) | |
| 37 | - have he : EqOn f (fun _ => 0) (Ioo 0 A.T) := by | |
| 38 | - intro s hs | |
| 39 | - simpa only [f,projIcc_of_mem A.T_pos.le ⟨hs.1.le,hs.2.le⟩, | |
| 40 | - coordinateTrace_eq_linearTrace,divergence] using E.divergence_zero s hs x | |
| 41 | - have ht : (t : ℝ) ∈ closure (Ioo (0 : ℝ) A.T) := by | |
| 42 | - rw [closure_Ioo A.T_pos.ne] | |
| 43 | - exact t.property | |
| 44 | - have hh := he.closure hf continuous_const ht | |
| 45 | - simpa only [f,projIcc_of_mem A.T_pos.le t.property, | |
| 46 | - coordinateTrace_eq_linearTrace,divergence] using hh | |
| 47 | - | |
| 48 | 19 | end EulerParentPacketFrames.SobolevData |
+0 −25 Euler/ParentEulerParity.lean View file
| @@ -14,33 +14,8 @@ variable {A : Parent} (E : Evolution A) (O : OddData A) | ||
| 14 | 14 | |
| 15 | 15 | include O |
| 16 | 16 | |
| 17 | -theorem velocity_odd (t : Icc (0 : ℝ) A.T) : Function.Odd (fun x => E.velocity (t,x)) := by | |
| 18 | - intro x | |
| 19 | - change E.velocity (t,-x)= -E.velocity (t,x) | |
| 20 | - rw [E.velocity_pullback,E.velocity_pullback,E.inverse.odd O t x,O.velocity t] | |
| 21 | - | |
| 22 | -theorem force_odd (t : Icc (0 : ℝ) A.T) : Function.Odd (E.force t) := by | |
| 23 | - intro x | |
| 24 | - rw [E.force_pullback,E.force_pullback,E.inverse.odd O t x,O.acceleration t] | |
| 25 | - | |
| 26 | -theorem velocity_zero (t : Icc (0 : ℝ) A.T) : E.velocity (t,0)=0 := by | |
| 27 | - ext i | |
| 28 | - have hi : Function.Odd (fun x : Space => (E.velocity (t,x)) i) := | |
| 29 | - fun x => congrArg (fun v : Space => v i) (E.velocity_odd O t x) | |
| 30 | - exact hi.map_zero | |
| 31 | - | |
| 32 | -theorem force_zero (t : Icc (0 : ℝ) A.T) : E.force t 0=0 := by | |
| 33 | - ext i | |
| 34 | - have hi : Function.Odd (fun x : Space => (E.force t x) i) := | |
| 35 | - fun x => congrArg (fun v : Space => v i) (E.force_odd O t x) | |
| 36 | - exact hi.map_zero | |
| 37 | - | |
| 38 | 17 | theorem strain_origin (t : Icc (0 : ℝ) A.T) : |
| 39 | 18 | A.strain.field t 0=fderiv ℝ (fun y => E.velocity (t,y)) 0 := by |
| 40 | 19 | rw [E.strain_eq,smul_zero,O.position_zero] |
| 41 | 20 | |
| 42 | -theorem curvature_origin (t : Icc (0 : ℝ) A.T) : | |
| 43 | - A.curvature.field t 0=fderiv ℝ (E.force t) 0 := by | |
| 44 | - rw [E.curvature_eq,smul_zero,O.position_zero] | |
| 45 | - | |
| 46 | 21 | end EulerParentPacketFrames.Evolution |
+0 −11 Euler/ParentEulerSobolev.lean View file
| @@ -24,17 +24,6 @@ namespace SobolevData | ||
| 24 | 24 | |
| 25 | 25 | variable {A : Parent} {E : Evolution A} (S : SobolevData E) |
| 26 | 26 | |
| 27 | -theorem strong_euler (q : ℕ) (t : Icc (0 : ℝ) A.T) : | |
| 28 | - HasDerivWithinAt (extendPath A.T A.T_pos.le | |
| 29 | - (sobolevPath S.velocity S.velocity_continuous q)) | |
| 30 | - (sobolevPath (rhs S.velocity S.velocity_continuous S.force) | |
| 31 | - (rhs_jet_continuous S.velocity S.velocity_continuous S.force S.force_continuous) q t) | |
| 32 | - (Icc (0 : ℝ) A.T) t := | |
| 33 | - sobolev_evolution_of_classical A.T A.T_pos.le S.velocity S.force | |
| 34 | - S.velocity_continuous S.force_continuous E.velocity E.pressure S.velocity_match | |
| 35 | - (fun s x => (E.pressure_gradient s x).trans (S.force_match s x)) | |
| 36 | - E.velocity_differentiable E.momentum_zero q t | |
| 37 | - | |
| 38 | 27 | def restrictTime (T : ℝ) (hT : 0 < T) (hTA : T ≤ A.T) : |
| 39 | 28 | SobolevData (E.restrictTime T hT hTA) where |
| 40 | 29 | velocity t := S.velocity (initialInclusion A.T T hTA t) |
+0 −8 Euler/ParentForwardGeometryInput.lean View file
| @@ -32,10 +32,6 @@ theorem sourceGrowthProfile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 32 | 32 | G.primaryAmplitude hball*G.sourceGrowthProfile hball t ≤ 8*Real.exp 6*G.δ*G.hchild := |
| 33 | 33 | (G.halfBall_controlledGrowth hball).choose_spec.2.2.2 t |
| 34 | 34 | |
| 35 | -theorem primaryAmplitude_bound : G.primaryAmplitude hball ≤ 8*Real.exp 6*G.δ*G.hchild := by | |
| 36 | - have h := G.sourceGrowthProfile_amplitude hball ⟨0,le_rfl,D.T_pos.le⟩ | |
| 37 | - simpa only [G.sourceGrowthProfile_initial hball,mul_one] using h | |
| 38 | - | |
| 39 | 35 | omit [CompleteSpace U] in |
| 40 | 36 | include G in |
| 41 | 37 | theorem growth_constant_pos : 0 < 560*P.horizon^10/P.epsilon := by |
| @@ -81,8 +77,4 @@ def geometryForwardInputs (Ti : ℝ) (hT1 : A.T ≤ 1) (hTi : A.T⁻¹ ≤ Ti) : | ||
| 81 | 77 | normal := N.enlargeRadius Rc ((le_max_left Rn Rm).trans (le_max_right _ _)) |
| 82 | 78 | mean := M.enlargeRadius Rc ((le_max_right Rn Rm).trans (le_max_right _ _)) } |
| 83 | 79 | |
| 84 | -theorem geometryForwardInputs_growth (Ti : ℝ) (hT1 : A.T ≤ 1) (hTi : A.T⁻¹ ≤ Ti) : | |
| 85 | - (L.geometryForwardInputs H m hm J support hSupport P G hball Ω hΩ hΩo hsub hΩball | |
| 86 | - Ti hT1 hTi).linear.g=G.sourceGrowthProfile hball := rfl | |
| 87 | - | |
| 88 | 80 | end EulerParentPacketFrames.LabelData |
+0 −34 Euler/ParentForwardRadiusPolynomial.lean View file
| @@ -31,9 +31,6 @@ local notation "BC" => forwardCoefficientBudget period (A.meanData H) (A.transve | ||
| 31 | 31 | rfl (ForwardInputs.normal J) |
| 32 | 32 | local notation "Cp" => (560*P.horizon^10/P.epsilon) |
| 33 | 33 | |
| 34 | -def geometryCanonicalRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 35 | - EulerPacketForwardRadius.canonicalRadius (J).linear (J).mean (J).normal BC δ ξ | |
| 36 | - | |
| 37 | 34 | theorem geometryForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 38 | 35 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) |
| 39 | 36 | (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -97,35 +94,4 @@ theorem geometryForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 97 | 94 | delta_inverse := hδX.trans hXV |
| 98 | 95 | terminal := hξX.trans hXV } |
| 99 | 96 | |
| 100 | -theorem geometryCanonicalRadius_power (δ : ℝ) (hδ : 0 < δ) (ξ : U) (X : ℝ) | |
| 101 | - (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) | |
| 102 | - (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : | |
| 103 | - L.geometryCanonicalRadius H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ ≤ | |
| 104 | - fullConstant*X^fullPower := by | |
| 105 | - have hp := L.geometryForward_radius_primitives H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 106 | - Ti hT1 hTi δ ξ X hKX hTiX hCpX hLX hδX hξX | |
| 107 | - exact (EulerPacketForwardRadius.canonicalRadius_le_envelope (J).linear (J).mean (J).normal BC δ ξ | |
| 108 | - (sourceEnvelope X) hδ hp).trans (fullEnvelope_power X (L.K_one.trans hKX)) | |
| 109 | - | |
| 110 | -theorem geometryForward_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 111 | - let X := parameterSize L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 112 | - EulerPacketForwardRadius.RadiusPrimitives (J).linear (J).mean (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 113 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 114 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 115 | - obtain ⟨h1,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 116 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 117 | - G.growth_constant_pos.le hL0 hδ (norm_nonneg ξ) | |
| 118 | - exact ⟨L.geometryForward_radius_primitives H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 119 | - Ti hT1 hTi δ ξ _ hK hIT hC hB hD hN,sourceEnvelope_power _ h1⟩ | |
| 120 | - | |
| 121 | -theorem geometryCanonicalRadius_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 122 | - L.geometryCanonicalRadius H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ ≤ | |
| 123 | - fullConstant*(parameterSize L.K 0 Ti Cp H.L δ ‖ξ‖)^fullPower := by | |
| 124 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 125 | - obtain ⟨_,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 126 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 127 | - G.growth_constant_pos.le hL0 hδ (norm_nonneg ξ) | |
| 128 | - exact L.geometryCanonicalRadius_power H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 129 | - Ti hT1 hTi δ hδ ξ _ hK hIT hC hB hD hN | |
| 130 | - | |
| 131 | 97 | end EulerParentPacketFrames.LabelData |
+0 −8 Euler/ParentFrameReframe.lean View file
| @@ -71,12 +71,4 @@ variable (A : Parent) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ | ||
| 71 | 71 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 72 | 72 | (m' : Space) (hm' : ‖m'‖=1) (R' : V ≃ₗᵢ[ℝ] referencePlane m') |
| 73 | 73 | |
| 74 | -theorem transverse_deformation_reframe (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 75 | - (A.transverseData m' hm' R' S hS).deformationEquiv t x= | |
| 76 | - (A.transverseData m hm R S hS).deformationEquiv t x := rfl | |
| 77 | - | |
| 78 | -theorem transverse_reframe : | |
| 79 | - (A.transverseData m hm R S hS).reframe m' hm'= | |
| 80 | - A.transverseData m' hm' (LinearIsometryEquiv.refl ℝ (referencePlane m')) S hS := rfl | |
| 81 | - | |
| 82 | 74 | end EulerParentPacketFrames.Parent |
+0 −13 Euler/ParentGeometryChoiceInitial.lean View file
| @@ -14,11 +14,6 @@ open Set EulerSmoothLimit EulerPacketTerminalDatum EulerPacketSourceFrequency | ||
| 14 | 14 | |
| 15 | 15 | namespace SmoothState |
| 16 | 16 | |
| 17 | -theorem velocityIncrement_restrictTime {A B : Parent} (S : SmoothState A) (T : SmoothState B) | |
| 18 | - (s : ℝ) (hs : 0 < s) (hA : s ≤ A.T) (hB : s ≤ B.T) : | |
| 19 | - (S.restrictTime s hs hA).velocityIncrement (T.restrictTime s hs hB) = | |
| 20 | - S.velocityIncrement T := rfl | |
| 21 | - | |
| 22 | 17 | end SmoothState |
| 23 | 18 | |
| 24 | 19 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| @@ -74,10 +69,6 @@ theorem state_velocity_initial : | ||
| 74 | 69 | change (T).evolution.velocity (0,x)-S.evolution.velocity (0,x)=(I.high k+I.mean k) x at he |
| 75 | 70 | exact (sub_eq_iff_eq_add.mp he).trans (add_comm _ _) |
| 76 | 71 | |
| 77 | -theorem restricted_initial_increment (s : ℝ) (hs : 0 < s) (hT : s ≤ I.parent.T) : | |
| 78 | - (S.restrictTime s hs hT).velocityIncrement ((T).restrictTime s hs hT) 0 = | |
| 79 | - I.high k+I.mean k := initial_increment_eq I S k hk nextEll hnext hnext1 F hSym | |
| 80 | - | |
| 81 | 72 | end GeometryJoinedChoice |
| 82 | 73 | |
| 83 | 74 | namespace GeometryForwardInput |
| @@ -153,9 +144,5 @@ theorem state_velocity_initial : | ||
| 153 | 144 | change (T).evolution.velocity (0,x)-S.evolution.velocity (0,x)=(I.high k+I.mean k) x at he |
| 154 | 145 | exact (sub_eq_iff_eq_add.mp he).trans (add_comm _ _) |
| 155 | 146 | |
| 156 | -theorem restricted_initial_increment (s : ℝ) (hs : 0 < s) (hT : s ≤ I.parent.T) : | |
| 157 | - (S.restrictTime s hs hT).velocityIncrement ((T).restrictTime s hs hT) 0 = | |
| 158 | - I.high k+I.mean k := initial_increment_eq I S k hk nextEll hnext hnext1 F hSym | |
| 159 | - | |
| 160 | 147 | end GeometryForwardChoice |
| 161 | 148 | end EulerParentPacketFrames |
+0 −34 Euler/ParentGeometryChoiceLow.lean View file
| @@ -36,23 +36,6 @@ def lowBounds (CM CH : ℝ) | ||
| 36 | 36 | I.geometry I.halfBall I.delta_pos I.delta_le_one I.low |
| 37 | 37 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 38 | 38 | |
| 39 | -theorem lowBounds_values (CM CH : ℝ) | |
| 40 | - (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) | |
| 41 | - (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) | |
| 42 | - (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ | |
| 43 | - k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ | |
| 44 | - (I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))*I.parent.T+ | |
| 45 | - boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))* | |
| 46 | - I.low.r^3*I.parent.T ≤ 1/2) : | |
| 47 | - (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ | |
| 48 | - (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ | |
| 49 | - (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ | |
| 50 | - k^(-(1/4 : ℝ)) ∧ | |
| 51 | - (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ | |
| 52 | - (F.lowBounds CM CH hCM hCH hsmall).L= | |
| 53 | - boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := | |
| 54 | - ⟨rfl,rfl,rfl,rfl,rfl⟩ | |
| 55 | - | |
| 56 | 39 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 57 | 40 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 58 | 41 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| @@ -102,23 +85,6 @@ def lowBounds (CM CH : ℝ) | ||
| 102 | 85 | I.geometry I.halfBall I.cutoff_support I.delta_pos I.delta_le_one I.low |
| 103 | 86 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 104 | 87 | |
| 105 | -theorem lowBounds_values (CM CH : ℝ) | |
| 106 | - (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) | |
| 107 | - (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) | |
| 108 | - (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ | |
| 109 | - k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ | |
| 110 | - (I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))*I.parent.T+ | |
| 111 | - boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))* | |
| 112 | - I.low.r^3*I.parent.T ≤ 1/2) : | |
| 113 | - (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ | |
| 114 | - (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ | |
| 115 | - (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ | |
| 116 | - k^(-(1/4 : ℝ)) ∧ | |
| 117 | - (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ | |
| 118 | - (F.lowBounds CM CH hCM hCH hsmall).L= | |
| 119 | - boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := | |
| 120 | - ⟨rfl,rfl,rfl,rfl,rfl⟩ | |
| 121 | - | |
| 122 | 88 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 123 | 89 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 124 | 90 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
+0 −40 Euler/ParentGeometryChoiceRenewal.lean View file
| @@ -63,26 +63,6 @@ theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pn | ||
| 63 | 63 | unfold renewal |
| 64 | 64 | apply SmoothState.forwardTargetRenewal_matches |
| 65 | 65 | |
| 66 | -theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ | |
| 67 | - | |
| 68 | -theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : | |
| 69 | - (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ | |
| 70 | - |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ | |
| 71 | - 0 < (Pnew).sigma ∧ | |
| 72 | - |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by | |
| 73 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 74 | - exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ | |
| 75 | - | |
| 76 | -theorem renewal_compression (e : ℝ) (he : e ≤ 1) : | |
| 77 | - ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime | |
| 78 | - (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), | |
| 79 | - unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by | |
| 80 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 81 | - rw [H.background_compression_eq] | |
| 82 | - have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he | |
| 83 | - have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le | |
| 84 | - linarith only [hm,hc] | |
| 85 | - | |
| 86 | 66 | end EulerParentPacketFrames.GeometryForwardChoice |
| 87 | 67 | |
| 88 | 68 | namespace EulerParentPacketFrames.GeometryJoinedChoice |
| @@ -121,24 +101,4 @@ theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pn | ||
| 121 | 101 | unfold renewal |
| 122 | 102 | apply SmoothState.joinedTargetRenewal_matches |
| 123 | 103 | |
| 124 | -theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ | |
| 125 | - | |
| 126 | -theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : | |
| 127 | - (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ | |
| 128 | - |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ | |
| 129 | - 0 < (Pnew).sigma ∧ | |
| 130 | - |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by | |
| 131 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 132 | - exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ | |
| 133 | - | |
| 134 | -theorem renewal_compression (e : ℝ) (he : e ≤ 1) : | |
| 135 | - ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime | |
| 136 | - (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), | |
| 137 | - unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by | |
| 138 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 139 | - rw [H.background_compression_eq] | |
| 140 | - have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he | |
| 141 | - have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le | |
| 142 | - linarith only [hm,hc] | |
| 143 | - | |
| 144 | 104 | end EulerParentPacketFrames.GeometryJoinedChoice |
+0 −3 Euler/ParentGeometryForwardChoice.lean View file
| @@ -129,8 +129,5 @@ def state (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : SmoothState F.p | ||
| 129 | 129 | I.geometry.δ I.delta_pos I.geometry.initialCoordinate I.cutoff_support I.alpha |
| 130 | 130 | (truncation k) F.hn k hk.four F.Q F.flow F.coefficient F.graph nextEll hnext hnext1 F.labels |
| 131 | 131 | |
| 132 | -theorem state_label_constant (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : | |
| 133 | - (state I S k hk nextEll hnext hnext1 F hSym).labels.K=k^80 := F.label_constant | |
| 134 | - | |
| 135 | 132 | end GeometryForwardChoice |
| 136 | 133 | end EulerParentPacketFrames |
+0 −6 Euler/ParentGeometryJoinedChoice.lean View file
| @@ -82,11 +82,5 @@ def state (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : SmoothState F.p | ||
| 82 | 82 | I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha (truncation k) F.hn k hk.four |
| 83 | 83 | I.historyTime I.history_pos I.history_lt F.Q F.flow F.coefficient F.graph nextEll hnext hnext1 F.labels |
| 84 | 84 | |
| 85 | -theorem state_label_constant (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : | |
| 86 | - (state I S k hk nextEll hnext hnext1 F hSym).labels.K=k^80 := F.label_constant | |
| 87 | - | |
| 88 | -theorem initial_trace : I.exactInitial k hk.four F.hn F.Q=I.high k+I.mean k := | |
| 89 | - I.exactInitial_eq k hk.four F.hn F.Q | |
| 90 | - | |
| 91 | 85 | end GeometryJoinedChoice |
| 92 | 86 | end EulerParentPacketFrames |
+0 −40 Euler/ParentHistoryFrequencyGuard.lean View file
| @@ -100,44 +100,4 @@ theorem base_inverse_le_previous_frequency_pow80 (J D : ℕ) (hJ : 3 ≤ J) (hD | ||
| 100 | 100 | exact (base_inverse_le_previous_frequency J D hJ hD X hX hbase n).trans (by |
| 101 | 101 | simpa only [pow_one] using pow_le_pow_right₀ hk (by decide : 1 ≤ 80)) |
| 102 | 102 | |
| 103 | -theorem stepLength_nonneg (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 ≤ X) | |
| 104 | - (a β : ℕ → ℝ) (n : ℕ) : 0 ≤ stepLength J X a β n := | |
| 105 | - div_nonneg (hX.trans (sequence_initial_le J hJ X hX (n+1))) (sqrt_nonneg _) | |
| 106 | - | |
| 107 | -theorem activation_lower_of_initial (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) | |
| 108 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 109 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 110 | - baseHorizon J X/12 ≤ activationTime J X a β n := by | |
| 111 | - have hxnext : 0 ≤ scaleSequence J X 1 := | |
| 112 | - hX.le.trans (sequence_initial_le J hJ X hX.le 1) | |
| 113 | - have hfirst : timeWidth J X 0/6 ≤ stepLength J X a β 0 := | |
| 114 | - (EulerPacketScaleGeometry.activation_time_bounds ha ha₂ | |
| 115 | - (previousShear_pos J hX 0) hX hxnext hβ hβ₂).1 | |
| 116 | - have hsum : stepLength J X a β 0 ≤ activationTime J X a β n := by | |
| 117 | - apply Finset.single_le_sum | |
| 118 | - · intro i _ | |
| 119 | - exact stepLength_nonneg J hJ X hX.le a β i | |
| 120 | - · exact Finset.mem_range.mpr (by omega) | |
| 121 | - rw [baseHorizon_eq_timeWidth J hX] | |
| 122 | - linarith only [hfirst,hsum] | |
| 123 | - | |
| 124 | -theorem reciprocal_activation_le_base (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) | |
| 125 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 126 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 127 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 128 | - have hb := baseHorizon_pos J hJ hX | |
| 129 | - have hs := activation_lower_of_initial J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 130 | - have hi := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs | |
| 131 | - simpa only [one_div,inv_div] using hi | |
| 132 | - | |
| 133 | -theorem actual_reciprocal_activation (J D : ℕ) (hJ : 3 ≤ J) (hD : 2000 ≤ D) | |
| 134 | - (C c X δ : ℝ) (hX : 2 ≤ X) (hb : ActualBounds J D C c X δ) | |
| 135 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 136 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 137 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X ∧ | |
| 138 | - 12/baseHorizon J X ≤ previousFrequency J D X n^80 := | |
| 139 | - ⟨reciprocal_activation_le_base J (by omega) X (by linarith only [hX]) | |
| 140 | - a β ha ha₂ hβ hβ₂ hn, | |
| 141 | - base_inverse_le_previous_frequency_pow80 J D hJ hD X hX hb.initial_frequency n⟩ | |
| 142 | - | |
| 143 | 103 | end EulerParentHistoryFrequency |
+0 −19 Euler/ParentHomogeneousPacketLowBounds.lean View file
| @@ -44,25 +44,6 @@ def HomogeneousSourceErrors (ev ep : ℝ) : Prop := | ||
| 44 | 44 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 45 | 45 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x))‖ ≤ ep |
| 46 | 46 | |
| 47 | -/-- The literal strict errors returned by the global same-Q packet | |
| 48 | -theorem imply the error record without any additional analytic bound. -/ | |
| 49 | -theorem homogeneousSourceErrors_of_global (ev ep : ℝ) | |
| 50 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 51 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 52 | - ((δ*hchild)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 53 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x)) | |
| 54 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 55 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 56 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) ξ (δ*hchild) t | |
| 57 | - (E.inverse.normalized t x)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 58 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 59 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 60 | - E.HomogeneousSourceErrors m hm J support hSupport B residual k δ hchild ξ ev ep := by | |
| 61 | - intro t x | |
| 62 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 63 | - erw [forwardPressureTerm_eq_coefficient] | |
| 64 | - exact (herr t x).2.le | |
| 65 | - | |
| 66 | 47 | include hk hδ hδ1 hhchild in |
| 67 | 48 | theorem exactHomogeneousPacket_low_bounds |
| 68 | 49 | (ev ep CM CH Kupper : ℝ) |
+0 −65 Euler/ParentInitializedRadiusPolynomial.lean View file
| @@ -64,15 +64,6 @@ theorem sourcePolynomial_eval (X : ℝ) : sourcePolynomial.eval X=sourceEnvelope | ||
| 64 | 64 | simp only [sourcePolynomial,sourceEnvelope,Polynomial.eval_comp, |
| 65 | 65 | sourceRadiusPolynomial_eval,inputPolynomial_eval] |
| 66 | 66 | |
| 67 | -def sourceConstant : ℝ := coefficientCost sourcePolynomial | |
| 68 | -def sourcePower : ℕ := sourcePolynomial.natDegree | |
| 69 | - | |
| 70 | -theorem sourceConstant_pos : 0 < sourceConstant := coefficientCost_pos _ | |
| 71 | - | |
| 72 | -theorem sourceEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 73 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 74 | - rw [← sourcePolynomial_eval] | |
| 75 | - exact (le_abs_self _).trans (eval_bound sourcePolynomial X hX) | |
| 76 | 67 | |
| 77 | 68 | def parameterSize (K Ti TiTotal Cp B δ N : ℝ) : ℝ := 1+K+Ti+TiTotal+Cp+B+δ⁻¹+N |
| 78 | 69 | |
| @@ -87,24 +78,6 @@ theorem parameterSize_bounds (K Ti TiTotal Cp B δ N : ℝ) | ||
| 87 | 78 | unfold parameterSize |
| 88 | 79 | exact ⟨by linarith,by linarith,by linarith,by linarith,by linarith,by linarith,by linarith,by linarith⟩ |
| 89 | 80 | |
| 90 | -def fullEnvelope (X : ℝ) : ℝ := radiusEnvelope (sourceEnvelope X) | |
| 91 | - | |
| 92 | -def fullPolynomial : Polynomial ℝ := | |
| 93 | - radiusPolynomial.comp (sourceRadiusPolynomial.comp inputPolynomial) | |
| 94 | - | |
| 95 | -theorem fullPolynomial_eval (X : ℝ) : fullPolynomial.eval X=fullEnvelope X := by | |
| 96 | - simp only [fullPolynomial,fullEnvelope,sourceEnvelope,Polynomial.eval_comp,radiusPolynomial_eval, | |
| 97 | - sourceRadiusPolynomial_eval,inputPolynomial_eval] | |
| 98 | - | |
| 99 | -def fullConstant : ℝ := coefficientCost fullPolynomial | |
| 100 | -def fullPower : ℕ := fullPolynomial.natDegree | |
| 101 | - | |
| 102 | -theorem fullConstant_pos : 0 < fullConstant := coefficientCost_pos _ | |
| 103 | - | |
| 104 | -theorem fullEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 105 | - fullEnvelope X ≤ fullConstant*X^fullPower := by | |
| 106 | - rw [← fullPolynomial_eval] | |
| 107 | - exact (le_abs_self _).trans (eval_bound fullPolynomial X hX) | |
| 108 | 81 | |
| 109 | 82 | end EulerParentInitializedRadius |
| 110 | 83 | |
| @@ -134,9 +107,6 @@ local notation "J" => L.joinedInputs H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hC | ||
| 134 | 107 | local notation "BC" => joinedCoefficientBudget period (G.meanData H) (G.transverseData m hm R S hS) |
| 135 | 108 | rfl τ hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) (JoinedInputs.normal J) |
| 136 | 109 | |
| 137 | -def canonicalInitializedRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 138 | - initializedRadius (J).mean (J).linear (J).normal BC δ ξ | |
| 139 | - | |
| 140 | 110 | theorem joined_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 141 | 111 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hTiTotalX : TiTotal ≤ X) |
| 142 | 112 | (hCpX : Cp ≤ X) (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -217,39 +187,4 @@ theorem joined_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 217 | 187 | delta_inverse := hδX.trans hXV |
| 218 | 188 | terminal := hξX.trans hXV } |
| 219 | 189 | |
| 220 | -theorem canonicalInitializedRadius_power (δ : ℝ) (hδ : 0 < δ) (ξ : U) (X : ℝ) | |
| 221 | - (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hTiTotalX : TiTotal ≤ X) | |
| 222 | - (hCpX : Cp ≤ X) (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : | |
| 223 | - L.canonicalInitializedRadius H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 224 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ ≤ fullConstant*X^fullPower := by | |
| 225 | - have hp := L.joined_radius_primitives H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 226 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ X | |
| 227 | - hKX hTiX hTiTotalX hCpX hLX hδX hξX | |
| 228 | - exact (initializedRadius_le_envelope (J).mean (J).linear (J).normal BC δ ξ | |
| 229 | - (sourceRadiusEnvelope (inputEnvelope X)) hδ hp).trans | |
| 230 | - (fullEnvelope_power X (L.K_one.trans hKX)) | |
| 231 | - | |
| 232 | -theorem joined_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 233 | - let X := parameterSize L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 234 | - RadiusPrimitives (J).mean (J).linear (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 235 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 236 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 237 | - obtain ⟨h1,hK,hI,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 238 | - (zero_le_one.trans L.K_one) ((inv_pos.mpr hτ).le.trans hTi) | |
| 239 | - ((inv_pos.mpr G.T_pos).le.trans hTiTotal) hCp hL0 hδ (norm_nonneg ξ) | |
| 240 | - exact ⟨L.joined_radius_primitives H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 241 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ _ hK hI hIT hC hB hD hN, | |
| 242 | - sourceEnvelope_power _ h1⟩ | |
| 243 | - | |
| 244 | -theorem canonicalInitializedRadius_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 245 | - L.canonicalInitializedRadius H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 246 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ ≤ | |
| 247 | - fullConstant*(parameterSize L.K Ti TiTotal Cp H.L δ ‖ξ‖)^fullPower := by | |
| 248 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 249 | - obtain ⟨_,hK,hI,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 250 | - (zero_le_one.trans L.K_one) ((inv_pos.mpr hτ).le.trans hTi) | |
| 251 | - ((inv_pos.mpr G.T_pos).le.trans hTiTotal) hCp hL0 hδ (norm_nonneg ξ) | |
| 252 | - exact L.canonicalInitializedRadius_power H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 253 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ hδ ξ _ hK hI hIT hC hB hD hN | |
| 254 | - | |
| 255 | 190 | end EulerParentPacketFrames.LabelData |
+0 −31 Euler/ParentNeighborThreshold.lean View file
| @@ -32,11 +32,6 @@ theorem forwardThreshold_le_common (CM CH : ℝ) : | ||
| 32 | 32 | theorem joinedThreshold_le_common (CM CH : ℝ) : |
| 33 | 33 | joinedThreshold CM CH ≤ commonThreshold CM CH := le_max_right _ _ |
| 34 | 34 | |
| 35 | -theorem threshold_le_previous (J D : ℕ) (hJ : 3 ≤ J) (X : ℝ) (hX : 0 ≤ X) | |
| 36 | - (hbase : X^D ≤ exp (X/((J-1 : ℕ) : ℝ)^4)) (B : ℝ) (hB : B ≤ X^D) | |
| 37 | - (n : ℕ) : B ≤ previousFrequency J D X n := | |
| 38 | - hB.trans (initial_frequency_le_previous J D hJ X hX hbase n) | |
| 39 | - | |
| 40 | 35 | end EulerParentNeighborThreshold |
| 41 | 36 | |
| 42 | 37 | namespace EulerParentPacketFrames.LabelData |
| @@ -109,30 +104,4 @@ variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 109 | 104 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 110 | 105 | (P : ParentFrame (G.transverseData m hm R S hS) τ) |
| 111 | 106 | |
| 112 | -theorem joined_neighbor_error_of_literal_scales | |
| 113 | - (J D : ℕ) (hJ : 3 ≤ J) (hD : 2000 ≤ D) (X ρ CM CH : ℝ) | |
| 114 | - (hX : 2 ≤ X) (hbase : X^D ≤ exp (X/((J-1 : ℕ) : ℝ)^4)) | |
| 115 | - (a β : ℕ → ℝ) (ha₀ : 1/2 ≤ a 0) (ha₀₂ : a 0 ≤ 2) | |
| 116 | - (hβ₀ : 1/2 ≤ β 0*X^2) (hβ₀₂ : β 0*X^2 ≤ 2) | |
| 117 | - (n c : ℕ) (hn : 1 ≤ n) (hτliteral : τ=activationTime J X a β n) | |
| 118 | - (hτ1 : τ ≤ 1) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) | |
| 119 | - (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) | |
| 120 | - (hρ : 0 ≤ ρ) (hρ1 : ρ ≤ 1) | |
| 121 | - (hshear : P.shear=previousShear J X n) | |
| 122 | - (hKk : L.K ≤ previousFrequency J D X n^80) | |
| 123 | - (hcost : joinedThreshold CM CH ≤ previousFrequency J D X n) | |
| 124 | - (hc : requiredExponent ≤ c) (hscale : G.ell ≤ supportScale J X n) : | |
| 125 | - L.neighborScaleCost m hm R S hS H τ hτ hτT P CM CH*G.ell*ρ ≤ | |
| 126 | - neighborError J D X (c : ℝ) n := by | |
| 127 | - have hx0 : 0 < X := by linarith only [hX] | |
| 128 | - have hx1 : 1 ≤ X := by linarith only [hX] | |
| 129 | - have hTi : τ⁻¹ ≤ 12/baseHorizon J X := by | |
| 130 | - rw [hτliteral] | |
| 131 | - exact reciprocal_activation_le_base J (by omega) X hx0 a β ha₀ ha₀₂ hβ₀ hβ₀₂ hn | |
| 132 | - have hTik := base_inverse_le_previous_frequency_pow80 J D hJ hD X hX hbase n | |
| 133 | - have hk := previousFrequency_one_le J D hJ X hx1 hbase n | |
| 134 | - exact L.neighbor_error_of_source_scales m hm R S hS H τ hτ hτT P | |
| 135 | - (12/baseHorizon J X) CM CH hτ1 hTi hCM hCH ha hH J D X ρ n 80 c | |
| 136 | - hρ hρ1 hshear hk hKk hTik hcost hc (degree_le_requiredExponent.trans hc) hscale | |
| 137 | - | |
| 138 | 107 | end EulerParentPacketFrames.LabelData |
+0 −4 Euler/ParentNormalizedGeometry.lean View file
| @@ -39,10 +39,6 @@ theorem packetPosition_contDiffAt_two (t : ℝ) (ht : t ∈ Ioo 0 A.T) (x : Spac | ||
| 39 | 39 | ((A.realPosition_contDiffAt_two t ht (A.ell • x)).comp (t,x) |
| 40 | 40 | (contDiffAt_fst.prodMk (contDiffAt_snd.const_smul A.ell))).const_smul A.ell⁻¹ |
| 41 | 41 | |
| 42 | -theorem packetPosition_joint_continuous : Continuous A.packetPosition := | |
| 43 | - (A.realPosition_joint_continuous.comp | |
| 44 | - (continuous_fst.prodMk (continuous_snd.const_smul A.ell))).const_smul A.ell⁻¹ | |
| 45 | - | |
| 46 | 42 | theorem realPosition_hasFDerivAt (t : Icc (0 : ℝ) A.T) (ht : (t : ℝ) ∈ Ioo 0 A.T) (x : Space) : |
| 47 | 43 | HasFDerivAt (Function.uncurry A.realPosition) |
| 48 | 44 | ((toSpanSingleton ℝ (A.velocity.field t x)).coprod |
+0 −53 Euler/ParentPacketChildChoice.lean View file
| @@ -33,57 +33,4 @@ variable (J : JoinedInputs (A.meanData H) (A.transverseData m hm R S hS) τ hτ | ||
| 33 | 33 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 34 | 34 | |
| 35 | 35 | |
| 36 | -include L I J hδ1 hα in | |
| 37 | -theorem joined_child_eventually : | |
| 38 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 39 | - ∀ᶠ k : ℝ in atTop, | |
| 40 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 41 | - (Q : EulerAllOrderDriftCorrection.Budget period ((A.transverseData m hm R S hS)).T_pos | |
| 42 | - (initializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) | |
| 43 | - (truncation k) hn k hk)) | |
| 44 | - (G : EulerPhysicalGraphFlowBounds.Data period A.T) | |
| 45 | - (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0), | |
| 46 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 47 | - G.A = Q.liftedPacketCoefficient period | |
| 48 | - (initializedNormalizedField (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (truncation k) k) ∧ | |
| 49 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 50 | - (initializedNormalizedDerivativeField (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (truncation k) k) ∧ | |
| 51 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) A.T, | |
| 52 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 53 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 54 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 55 | - (∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 56 | - ‖fderiv ℝ (initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α | |
| 57 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t)) x - | |
| 58 | - (α*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 59 | - rankOne ℝ (canonicalVelocity τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs t (I.normalized t x)) | |
| 60 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cv/k ∧ | |
| 61 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α | |
| 62 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t))) x - | |
| 63 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs α t (I.normalized t x) * | |
| 64 | - deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 65 | - rankOne ℝ (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x)) | |
| 66 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cp/k) ∧ | |
| 67 | - ∃ (LC : LabelData (A.child G k m hgraph nextEll hnext hnext1)) | |
| 68 | - (_IC : ParticleInverse (A.child G k m hgraph nextEll hnext hnext1)), LC.K=k^80 := by | |
| 69 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := | |
| 70 | - initialized_child_label_bounds_eventually (A.meanData H) (U := U) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ hδ1 ξ hs α hα | |
| 71 | - J.linear J.normal (JoinedInputs.mean (U := U) J) (A.sourceAgreement m hm R S hS H) | |
| 72 | - (fun t x => A.packetPosition (t,x)) I.normalized | |
| 73 | - A.packetPosition_contDiff (fun t x => (A.packetPosition_spatial t x).fderiv) | |
| 74 | - I.normalized_right I.normalized_continuous A.frame_det | |
| 75 | - A.ell A.ell_pos A.ell_le_one | |
| 76 | - L.displacement L.velocity L.acceleration L.K L.K_one | |
| 77 | - L.displacement_bound L.velocity_bound L.acceleration_bound 6 | |
| 78 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 79 | - filter_upwards [hsource] with k hkdata | |
| 80 | - obtain ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hG,hG1,hgraph,hweighted,herror,hmatch,hlabel⟩ := hkdata | |
| 81 | - let LC := L.child G k m hgraph nextEll hnext hnext1 E | |
| 82 | - (fun t => (hmatch t).1) (fun t => (hmatch t).2.1) (fun t => (hmatch t).2.2.1) | |
| 83 | - (fun t => (hmatch t).2.2.2.1) (fun t => (hmatch t).2.2.2.2.1) | |
| 84 | - (fun t => (hmatch t).2.2.2.2.2.1) | |
| 85 | - (k^80) (one_le_pow₀ (by linarith : (1 : ℝ) ≤ k)) hlabel | |
| 86 | - exact ⟨hk,hn,Q,G,hgraph,hδQ,hρQ,hγQ,hG,hG1,hweighted,herror, | |
| 87 | - LC,I.child G k m hgraph nextEll hnext hnext1,rfl⟩ | |
| 88 | - | |
| 89 | 36 | end EulerParentPacketFrames.LabelData |
+0 −53 Euler/ParentPacketForwardChildChoice.lean View file
| @@ -31,57 +31,4 @@ variable (J : ForwardInputs (A.meanData H) (A.transverseData m hm R S hS)) | ||
| 31 | 31 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 32 | 32 | |
| 33 | 33 | |
| 34 | -include L I J hδ1 hα in | |
| 35 | -theorem forward_child_eventually : | |
| 36 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 37 | - ∀ᶠ k : ℝ in atTop, | |
| 38 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 39 | - (Q : EulerAllOrderDriftCorrection.Budget period ((A.transverseData m hm R S hS)).T_pos | |
| 40 | - (forwardInitializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) | |
| 41 | - (truncation k) hn k hk)) | |
| 42 | - (G : EulerPhysicalGraphFlowBounds.Data period A.T) | |
| 43 | - (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0), | |
| 44 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 45 | - G.A = Q.liftedPacketCoefficient period | |
| 46 | - (forwardInitializedNormalizedField (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (truncation k) k) ∧ | |
| 47 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 48 | - (forwardInitializedNormalizedDerivativeField (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (truncation k) k) ∧ | |
| 49 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) A.T, | |
| 50 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 51 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 52 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 53 | - (∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 54 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α | |
| 55 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t)) x - | |
| 56 | - (α*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 57 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm R S hS) ξ t (I.normalized t x)) | |
| 58 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cv/k ∧ | |
| 59 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α | |
| 60 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t))) x - | |
| 61 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm R S hS) ξ α t (I.normalized t x) * | |
| 62 | - deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 63 | - rankOne ℝ (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x)) | |
| 64 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cp/k) ∧ | |
| 65 | - ∃ (LC : LabelData (A.child G k m hgraph nextEll hnext hnext1)) | |
| 66 | - (_IC : ParticleInverse (A.child G k m hgraph nextEll hnext hnext1)), LC.K=k^80 := by | |
| 67 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := | |
| 68 | - forwardInitialized_child_label_and_shear_eventually (A.meanData H) (U := U) (A.transverseData m hm R S hS) rfl δ hδ hδ1 ξ hs α hα | |
| 69 | - J.linear J.normal (ForwardInputs.mean (U := U) J) (A.sourceAgreement m hm R S hS H) | |
| 70 | - (fun t x => A.packetPosition (t,x)) I.normalized | |
| 71 | - A.packetPosition_contDiff (fun t x => (A.packetPosition_spatial t x).fderiv) | |
| 72 | - I.normalized_right I.normalized_continuous A.frame_det | |
| 73 | - A.ell A.ell_pos A.ell_le_one | |
| 74 | - L.displacement L.velocity L.acceleration L.K L.K_one | |
| 75 | - L.displacement_bound L.velocity_bound L.acceleration_bound 6 | |
| 76 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 77 | - filter_upwards [hsource] with k hkdata | |
| 78 | - obtain ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hG,hG1,hgraph,hweighted,herror,hmatch,hlabel⟩ := hkdata | |
| 79 | - let LC := L.child G k m hgraph nextEll hnext hnext1 E | |
| 80 | - (fun t => (hmatch t).1) (fun t => (hmatch t).2.1) (fun t => (hmatch t).2.2.1) | |
| 81 | - (fun t => (hmatch t).2.2.2.1) (fun t => (hmatch t).2.2.2.2.1) | |
| 82 | - (fun t => (hmatch t).2.2.2.2.2.1) | |
| 83 | - (k^80) (one_le_pow₀ (by linarith : (1 : ℝ) ≤ k)) hlabel | |
| 84 | - exact ⟨hk,hn,Q,G,hgraph,hδQ,hρQ,hγQ,hG,hG1,hweighted,herror, | |
| 85 | - LC,I.child G k m hgraph nextEll hnext hnext1,rfl⟩ | |
| 86 | - | |
| 87 | 34 | end EulerParentPacketFrames.LabelData |
+0 −3 Euler/ParentPacketForwardInput.lean View file
| @@ -51,8 +51,5 @@ def forwardInputs (Ti : ℝ) (hT1 : G.T ≤ 1) (hTi : G.T⁻¹ ≤ Ti) : | ||
| 51 | 51 | normal := N.enlargeRadius Rc ((le_max_left Rn Rm).trans (le_max_right _ _)) |
| 52 | 52 | mean := M.enlargeRadius Rc ((le_max_right Rn Rm).trans (le_max_right _ _)) } |
| 53 | 53 | |
| 54 | -theorem forwardInputs_growth (Ti : ℝ) (hT1 : G.T ≤ 1) (hTi : G.T⁻¹ ≤ Ti) : | |
| 55 | - (L.forwardInputs H m hm R S hS CM hCM hM Ω hΩ hΩo hsub hΩball hshort Ti hT1 hTi).linear.g=1 := rfl | |
| 56 | - | |
| 57 | 54 | end LabelData |
| 58 | 55 | end EulerParentPacketFrames |
+0 −30 Euler/ParentPacketGeometryGuards.lean View file
| @@ -68,36 +68,6 @@ variable {G : Parent} (L : LabelData G) | ||
| 68 | 68 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 69 | 69 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 70 | 70 | |
| 71 | -/-- One explicit parent coefficient amplitude controls both the actual | |
| 72 | -strain and pressure Hessian throughout the history interval. -/ | |
| 73 | -def historyAmplitude : ℝ := 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 74 | - | |
| 75 | -theorem historyAmplitude_nonneg : 0 ≤ L.historyAmplitude := by | |
| 76 | - unfold historyAmplitude | |
| 77 | - positivity [gradientAmplitude_nonneg L.K] | |
| 78 | - | |
| 79 | -omit [CompleteSpace U] in | |
| 80 | -theorem history_strain_norm (t : Icc (0 : ℝ) τ) (x : Space) : | |
| 81 | - ‖((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field t x‖ ≤ | |
| 82 | - L.historyAmplitude := by | |
| 83 | - change ‖G.strain.field (initialInclusion G.T τ hτT.le t) x‖ ≤ | |
| 84 | - 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 85 | - have h := L.strain_scaled_bound 0 (initialInclusion G.T τ hτT.le t) x | |
| 86 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 87 | - Nat.cast_one,pow_zero,one_pow,mul_one] using h | |
| 88 | - | |
| 89 | -omit [CompleteSpace U] in | |
| 90 | -theorem history_hessian_norm (x : Space) : | |
| 91 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian x‖ ≤ | |
| 92 | - L.historyAmplitude := by | |
| 93 | - apply (ContinuousMap.norm_le _ L.historyAmplitude_nonneg).2 | |
| 94 | - intro t | |
| 95 | - change ‖G.curvature.field (initialInclusion G.T τ hτT.le t) x‖ ≤ | |
| 96 | - 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 97 | - have h := L.curvature_scaled_bound 0 (initialInclusion G.T τ hτT.le t) x | |
| 98 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 99 | - Nat.cast_one,pow_zero,one_pow,mul_one] using h | |
| 100 | - | |
| 101 | 71 | /-- Apply the manuscript's scalar stage bounds to the literal source |
| 102 | 72 | coefficients. The remaining inputs are older-stage center data, the |
| 103 | 73 | chosen normal, and scalar comparisons with explicit source costs. -/ |
+0 −4 Euler/ParentPacketGeometryInput.lean View file
| @@ -31,8 +31,4 @@ def geometryInputs : | ||
| 31 | 31 | (J.sourceGrowthProfile_positive hball) (J.sourceGrowthProfile_initial hball) |
| 32 | 32 | Ω hΩ hΩo hsub hΩball (J.sourceGrowthProfile_propagator hball) TiTotal hT1 hTiTotal |
| 33 | 33 | |
| 34 | -theorem geometryInputs_growth : | |
| 35 | - (L.geometryInputs H m hm R S hS τ hτ hτT P J hball Ti TiTotal hτ1 hTi | |
| 36 | - hT1 hTiTotal Ω hΩ hΩo hsub hΩball).linear.g=J.sourceGrowthProfile hball := rfl | |
| 37 | - | |
| 38 | 34 | end EulerParentPacketFrames.LabelData |
+0 −4 Euler/ParentPacketHessianSymmetry.lean View file
| @@ -51,10 +51,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 51 | 51 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 52 | 52 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 53 | 53 | |
| 54 | -theorem history_symmetric (t : Icc (0 : ℝ) G.T) (x : Space) : | |
| 55 | - ((G.historyData m hm R S hS H).H.field t x).IsSymmetric := | |
| 56 | - G.curvature_symmetric p hp hacceleration t x | |
| 57 | - | |
| 58 | 54 | theorem initial_history_symmetric (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ G.T) |
| 59 | 55 | (t : Icc (0 : ℝ) τ) (x : Space) : |
| 60 | 56 | (((G.historyData m hm R S hS H).initial τ hτ hτT).H.field t x).IsSymmetric := |
+0 −47 Euler/ParentPacketHistoryLowBounds.lean View file
| @@ -20,51 +20,4 @@ variable (G : Parent) | ||
| 20 | 20 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 21 | 21 | (S : Set Space) (hS : IsCompact S) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 22 | 22 | |
| 23 | -theorem history_strain_size_of_physical | |
| 24 | - (u : Icc (0 : ℝ) G.T → Space → Space) | |
| 25 | - (hu : ∀ t x, DifferentiableAt ℝ (u t) x) | |
| 26 | - (hvelocity : ∀ t x, G.velocity.field t x=u t (G.position t x)) | |
| 27 | - (CM : ℝ) (hCM : 0 ≤ CM) | |
| 28 | - (hbound : ∀ t x, ‖fderiv ℝ (u t) x‖ ≤ CM) : | |
| 29 | - ‖pathEvaluation 0 ((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field‖ ≤ CM := by | |
| 30 | - apply (ContinuousMap.norm_le _ hCM).2 | |
| 31 | - intro t | |
| 32 | - change ‖G.strain.field (initialInclusion G.T τ hτT.le t) 0‖ ≤ CM | |
| 33 | - rw [G.strain_physical u hu hvelocity] | |
| 34 | - exact hbound _ _ | |
| 35 | - | |
| 36 | -theorem history_hessian_size_of_physical (H : LowBounds G) | |
| 37 | - (p : Icc (0 : ℝ) G.T → Space → ℝ) (hp : ∀ t, ContDiff ℝ ∞ (p t)) | |
| 38 | - (hacceleration : ∀ t x, G.acceleration.field t x=-(gradient (p t) (G.position t x))) | |
| 39 | - (CH : ℝ) (hCH : 0 ≤ CH) | |
| 40 | - (hbound : ∀ t x, ‖fderiv ℝ (gradient (p t)) x‖ ≤ CH) : | |
| 41 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian 0‖ ≤ CH := by | |
| 42 | - apply (ContinuousMap.norm_le _ hCH).2 | |
| 43 | - intro t | |
| 44 | - change ‖G.curvature.field (initialInclusion G.T τ hτT.le t) 0‖ ≤ CH | |
| 45 | - rw [G.curvature_physical (fun t => gradient (p t)) | |
| 46 | - (fun t x => ((EulerMeanSolenoidal.contDiff_gradient (hp t)).differentiable (by simp) x)) | |
| 47 | - hacceleration] | |
| 48 | - exact hbound _ _ | |
| 49 | - | |
| 50 | -/-- The source's sharper pressure bound CH*hstar*hold supplies the | |
| 51 | -quadratic history bound when the older shear is at most hstar. -/ | |
| 52 | -theorem activation_history_sizes_of_physical (H : LowBounds G) | |
| 53 | - (u : Icc (0 : ℝ) G.T → Space → Space) | |
| 54 | - (hu : ∀ t x, DifferentiableAt ℝ (u t) x) | |
| 55 | - (hvelocity : ∀ t x, G.velocity.field t x=u t (G.position t x)) | |
| 56 | - (p : Icc (0 : ℝ) G.T → Space → ℝ) (hp : ∀ t, ContDiff ℝ ∞ (p t)) | |
| 57 | - (hacceleration : ∀ t x, G.acceleration.field t x=-(gradient (p t) (G.position t x))) | |
| 58 | - (CM CH hstar hold : ℝ) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hhstar : 0 ≤ hstar) | |
| 59 | - (hhold : 0 ≤ hold) (horder : hold ≤ hstar) | |
| 60 | - (hM : ∀ t x, ‖fderiv ℝ (u t) x‖ ≤ CM*hstar) | |
| 61 | - (hP : ∀ t x, ‖fderiv ℝ (gradient (p t)) x‖ ≤ CH*hstar*hold) : | |
| 62 | - ‖pathEvaluation 0 ((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field‖ ≤ CM*hstar ∧ | |
| 63 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian 0‖ ≤ CH*hstar^2 := by | |
| 64 | - refine ⟨G.history_strain_size_of_physical m hm R S hS τ hτ hτT u hu hvelocity | |
| 65 | - (CM*hstar) (mul_nonneg hCM hhstar) hM, ?_⟩ | |
| 66 | - refine (G.history_hessian_size_of_physical m hm R S hS τ hτ hτT H p hp hacceleration | |
| 67 | - (CH*hstar*hold) (by positivity) hP).trans ?_ | |
| 68 | - nlinarith only [mul_le_mul_of_nonneg_left horder (mul_nonneg hCH hhstar)] | |
| 69 | - | |
| 70 | 23 | end EulerParentPacketFrames.Parent |
+0 −11 Euler/ParentPacketHistoryPolynomial.lean View file
| @@ -105,15 +105,4 @@ theorem initialHistoryDifferenceScaleCost_bound : | ||
| 105 | 105 | (norm_nonneg _) (norm_nonneg _) (norm_nonneg _) hC hC1 hCH (coefficientRadius_nonneg L.K) |
| 106 | 106 | (D.frame_norm_le C hC hF) (D.frameDerivative_norm_le C1 hC1 hF1) hBH |
| 107 | 107 | |
| 108 | -omit [CompleteSpace U] in | |
| 109 | -include hτ1 hTi in | |
| 110 | -theorem initial_history_polynomial : | |
| 111 | - historyLabelDifferenceCost (G.historyOn H m hm R S hS τ hτ hτT) ≤ | |
| 112 | - (labelHistoryConstant*(1+L.K+Ti)^labelHistoryPower)*G.ell := by | |
| 113 | - have hTi0 : 0 ≤ Ti := (inv_pos.mpr hτ).le.trans hTi | |
| 114 | - exact (L.initial_history_derivative_scale m hm R S hS H τ hτ hτT).trans | |
| 115 | - (mul_le_mul_of_nonneg_right | |
| 116 | - ((L.initialHistoryDifferenceScaleCost_bound m hm R S hS H τ hτ hτT Ti hτ1 hTi).trans | |
| 117 | - (labelHistoryEnvelope_power L.K Ti (zero_le_one.trans L.K_one) hTi0)) G.ell_pos.le) | |
| 118 | - | |
| 119 | 108 | end EulerParentPacketFrames.LabelData |
+0 −58 Euler/ParentPacketNeighborBounds.lean View file
| @@ -55,30 +55,6 @@ theorem scaled_first_majorant (A : ℝ) : | ||
| 55 | 55 | norm_num [majorant,scaledRadius] |
| 56 | 56 | ring |
| 57 | 57 | |
| 58 | -theorem source_frame_derivative_norm : | |
| 59 | - ‖(G.transverseData m hm R S hS).frame.derivative.field‖ ≤ L.frameDifferenceCost*G.ell := by | |
| 60 | - have h0 := frameAmplitude_nonneg L.K | |
| 61 | - have h1 := coefficientRadius_nonneg L.K | |
| 62 | - have hell := G.ell_pos | |
| 63 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold frameDifferenceCost; positivity) | |
| 64 | - intro t x | |
| 65 | - have h := coefficient_derivative_bound m R G.frame.toSmoothCoefficientPath 1 | |
| 66 | - (frameAmplitude L.K*majorant L.scaledRadius 0 1) (L.frame_scaled_bound 1) t x | |
| 67 | - rw [L.scaled_first_majorant] at h | |
| 68 | - exact h | |
| 69 | - | |
| 70 | -theorem source_first_derivative_norm : | |
| 71 | - ‖(G.transverseData m hm R S hS).frameDerivative.derivative.field‖ ≤ L.firstDifferenceCost*G.ell := by | |
| 72 | - have h0 := gradientAmplitude_nonneg L.K | |
| 73 | - have h1 := coefficientRadius_nonneg L.K | |
| 74 | - have hell := G.ell_pos | |
| 75 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold firstDifferenceCost; positivity) | |
| 76 | - intro t x | |
| 77 | - have h := coefficient_derivative_bound m R G.first.toSmoothCoefficientPath 1 | |
| 78 | - (gradientAmplitude L.K*majorant L.scaledRadius 0 1) (L.first_scaled_bound 1) t x | |
| 79 | - rw [L.scaled_first_majorant] at h | |
| 80 | - exact h | |
| 81 | - | |
| 82 | 58 | theorem source_normal_derivative_norm : |
| 83 | 59 | ‖(G.transverseData m hm R S hS).normal.derivative.field‖ ≤ L.normalDifferenceCost*G.ell := by |
| 84 | 60 | have h1 := coefficientRadius_nonneg L.K |
| @@ -101,40 +77,6 @@ theorem source_strain_derivative_norm : | ||
| 101 | 77 | rw [L.scaled_first_majorant] at h |
| 102 | 78 | exact h |
| 103 | 79 | |
| 104 | -theorem source_curvature_derivative_norm (H : LowBounds G) : | |
| 105 | - ‖(G.historyData m hm R S hS H).H.derivative.field‖ ≤ L.strainDifferenceCost*G.ell := by | |
| 106 | - have h0 := gradientAmplitude_nonneg L.K | |
| 107 | - have h1 := coefficientRadius_nonneg L.K | |
| 108 | - have hell := G.ell_pos | |
| 109 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold strainDifferenceCost; positivity) | |
| 110 | - intro t x | |
| 111 | - have h := L.curvature_scaled_bound 1 t x | |
| 112 | - rw [L.scaled_first_majorant] at h | |
| 113 | - exact h | |
| 114 | - | |
| 115 | 80 | variable [CompleteSpace U] |
| 116 | 81 | |
| 117 | -def historyDifferenceScaleCost (H : LowBounds G) : ℝ := | |
| 118 | - let D := G.transverseData m hm R S hS | |
| 119 | - let B := G.historyData m hm R S hS H | |
| 120 | - historyDifferenceCost G.T D.frameLower ‖D.frame.field‖ ‖D.frameDerivative.field‖ | |
| 121 | - (G.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+G.T^2*‖B.H.field‖) | |
| 122 | - (historyTransportCost (D := D)) L.frameDifferenceCost L.firstDifferenceCost L.strainDifferenceCost | |
| 123 | - | |
| 124 | -omit [CompleteSpace U] in | |
| 125 | -theorem source_history_derivative_scale (H : LowBounds G) : | |
| 126 | - historyLabelDifferenceCost (G.historyData m hm R S hS H) ≤ | |
| 127 | - L.historyDifferenceScaleCost m hm R S hS H*G.ell := by | |
| 128 | - apply historyDifferenceCost_le_scale | |
| 129 | - · exact G.T_pos.le | |
| 130 | - · exact (G.transverseData m hm R S hS).frameLower_pos.le | |
| 131 | - · positivity | |
| 132 | - · positivity | |
| 133 | - · exact add_nonneg (mul_nonneg G.T_pos.le (norm_nonneg _)) (norm_nonneg _) | |
| 134 | - · positivity | |
| 135 | - · exact historyTransportCost_nonneg | |
| 136 | - · exact L.source_frame_derivative_norm m hm R S hS | |
| 137 | - · exact L.source_first_derivative_norm m hm R S hS | |
| 138 | - · exact L.source_curvature_derivative_norm m hm R S hS H | |
| 139 | - | |
| 140 | 82 | end EulerParentPacketFrames.LabelData |
+0 −23 Euler/ParentPacketNeighborPolynomial.lean View file
| @@ -186,16 +186,6 @@ theorem neighborScaleCost_polynomial : | ||
| 186 | 186 | (envelope_power L.K Ti P.epsilon⁻¹ P.shear⁻¹ CM CH (zero_le_one.trans L.K_one) |
| 187 | 187 | ((inv_pos.mpr hτ).le.trans hTi) (inv_nonneg.mpr heps.le) (inv_nonneg.mpr hshear.le) hCM hCH) |
| 188 | 188 | |
| 189 | -include hτ1 hTi hCM hCH hshear heps in | |
| 190 | -theorem source_neighbor_polynomial : | |
| 191 | - P.neighborCost hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ≤ | |
| 192 | - (EulerParentNeighborCost.constant* | |
| 193 | - (1+L.K+Ti+P.epsilon⁻¹+P.shear⁻¹+CM+CH)^EulerParentNeighborCost.degree)*G.ell := | |
| 194 | - (L.source_neighbor_scale m hm R S hS H τ hτ hτT P CM CH hCM hCH hshear heps).trans | |
| 195 | - (mul_le_mul_of_nonneg_right | |
| 196 | - (L.neighborScaleCost_polynomial m hm R S hS H τ hτ hτT P Ti CM CH hτ1 hTi hCM hCH hshear heps) | |
| 197 | - G.ell_pos.le) | |
| 198 | - | |
| 199 | 189 | include hτ1 hTi hCM hCH in |
| 200 | 190 | /-- With the actual activation scales, only the positive shear itself is |
| 201 | 191 | needed as a polynomial variable. CM and CH remain fixed low constants. -/ |
| @@ -225,17 +215,4 @@ theorem neighborScaleCost_low_polynomial (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) | ||
| 225 | 215 | (2*(1+CM+CH)*(1+L.K+Ti+P.shear))^EulerParentNeighborCost.degree := by gcongr |
| 226 | 216 | _ = _ := by rw [mul_pow]; ring |
| 227 | 217 | |
| 228 | -include hτ1 hTi hCM hCH in | |
| 229 | -theorem source_neighbor_low_polynomial (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) : | |
| 230 | - P.neighborCost hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ≤ | |
| 231 | - ((EulerParentNeighborCost.constant*(2*(1+CM+CH))^EulerParentNeighborCost.degree)* | |
| 232 | - (1+L.K+Ti+P.shear)^EulerParentNeighborCost.degree)*G.ell := by | |
| 233 | - have hHp : 0 < P.shear := zero_lt_one.trans_le hH | |
| 234 | - have ha0 : 0 < P.a := by linarith only [ha] | |
| 235 | - have hEp : 0 < P.epsilon := Real.sqrt_pos.mpr (div_pos ha0 hHp) | |
| 236 | - exact (L.source_neighbor_scale m hm R S hS H τ hτ hτT P CM CH hCM hCH hHp hEp).trans | |
| 237 | - (mul_le_mul_of_nonneg_right | |
| 238 | - (L.neighborScaleCost_low_polynomial m hm R S hS H τ hτ hτT P Ti CM CH hτ1 hTi hCM hCH ha hH) | |
| 239 | - G.ell_pos.le) | |
| 240 | - | |
| 241 | 218 | end EulerParentPacketFrames.LabelData |
+0 −12 Euler/ParentPacketRestriction.lean View file
| @@ -29,22 +29,10 @@ def restrictTime : Parent where | ||
| 29 | 29 | initial := G.initial |
| 30 | 30 | determinant t x := G.determinant (initialInclusion G.T S hST t) x |
| 31 | 31 | |
| 32 | -theorem restrictTime_frame (t : Icc (0 : ℝ) S) (x : Space) : | |
| 33 | - (G.restrictTime S hS hST).frame.field t x=G.frame.field (initialInclusion G.T S hST t) x := by | |
| 34 | - erw [frame_apply] | |
| 35 | - | |
| 36 | 32 | theorem restrictTime_first (t : Icc (0 : ℝ) S) (x : Space) : |
| 37 | 33 | (G.restrictTime S hS hST).first.field t x=G.first.field (initialInclusion G.T S hST t) x := by |
| 38 | 34 | erw [first_apply] |
| 39 | 35 | |
| 40 | -theorem restrictTime_second (t : Icc (0 : ℝ) S) (x : Space) : | |
| 41 | - (G.restrictTime S hS hST).second.field t x=G.second.field (initialInclusion G.T S hST t) x := by | |
| 42 | - erw [second_apply] | |
| 43 | - | |
| 44 | -theorem restrictTime_inverse (t : Icc (0 : ℝ) S) (x : Space) : | |
| 45 | - (G.restrictTime S hS hST).inverse.field t x=G.inverse.field (initialInclusion G.T S hST t) x := by | |
| 46 | - erw [inverse_apply] | |
| 47 | - | |
| 48 | 36 | theorem restrictTime_strain (t : Icc (0 : ℝ) S) (x : Space) : |
| 49 | 37 | (G.restrictTime S hS hST).strain.field t x=G.strain.field (initialInclusion G.T S hST t) x := by |
| 50 | 38 | erw [strain_apply] |
+0 −11 Euler/ParentPacketStrainEvolution.lean View file
| @@ -110,10 +110,6 @@ def centerCurvature (t : ℝ) : EndSpace := | ||
| 110 | 110 | def centerStrainDerivative (t : ℝ) : EndSpace := |
| 111 | 111 | extendPath G.T G.T_pos.le G.strainDerivative.field t 0 |
| 112 | 112 | |
| 113 | -theorem centerStrainDerivative_eq (t : ℝ) : | |
| 114 | - G.centerStrainDerivative t = -(G.centerStrain t).comp (G.centerStrain t)-G.centerCurvature t := | |
| 115 | - G.strainDerivative_apply (projIcc 0 G.T G.T_pos.le t) 0 | |
| 116 | - | |
| 117 | 113 | theorem centerStrain_derivative (τ : ℝ) (hτ : 0 ≤ τ) |
| 118 | 114 | (t : ℝ) (ht : t ∈ Icc τ G.T) : |
| 119 | 115 | HasDerivWithinAt G.centerStrain (G.centerStrainDerivative t) (Icc τ G.T) t := by |
| @@ -144,13 +140,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 144 | 140 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m) |
| 145 | 141 | (S : Set Space) (hS : IsCompact S) |
| 146 | 142 | |
| 147 | -theorem transverse_strain_within (t : Icc (0 : ℝ) G.T) (x : Space) : | |
| 148 | - HasDerivWithinAt | |
| 149 | - (fun s => extendPath G.T G.T_pos.le (G.transverseData m hm R S hS).M.field s x) | |
| 150 | - (-((G.transverseData m hm R S hS).M.field t x).comp | |
| 151 | - ((G.transverseData m hm R S hS).M.field t x)-G.curvature.field t x) | |
| 152 | - (Icc (0 : ℝ) G.T) t := G.strain_within t x | |
| 153 | - | |
| 154 | 143 | end Transverse |
| 155 | 144 | |
| 156 | 145 | end Parent |
+0 −19 Euler/ParentParticleInverse.lean View file
| @@ -41,29 +41,10 @@ namespace ParticleInverse | ||
| 41 | 41 | |
| 42 | 42 | variable {A : Parent} (I : ParticleInverse A) |
| 43 | 43 | |
| 44 | -include I in | |
| 45 | -theorem position_bijective (t : Icc (0 : ℝ) A.T) : Function.Bijective (A.position t) := | |
| 46 | - ⟨Function.LeftInverse.injective (I.left_inverse t), | |
| 47 | - Function.RightInverse.surjective (I.right_inverse t)⟩ | |
| 48 | - | |
| 49 | 44 | theorem field_initial (x : Space) : I.field A.zeroTime x=x := by |
| 50 | 45 | have h := I.left_inverse A.zeroTime x |
| 51 | 46 | simpa only [Parent.position, Parent.zeroTime, A.initial, add_zero] using h |
| 52 | 47 | |
| 53 | -include I in | |
| 54 | -theorem position_measurePreserving (t : Icc (0 : ℝ) A.T) : | |
| 55 | - MeasurePreserving (A.position t) volume volume := | |
| 56 | - EulerDeformationVolume.measurePreserving_of_det_one volume (A.position t) | |
| 57 | - (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) | |
| 58 | - (A.position_hasFDerivAt t) (I.position_bijective t) (A.displacement_det_one t) | |
| 59 | - | |
| 60 | -theorem field_measurePreserving (t : Icc (0 : ℝ) A.T) : | |
| 61 | - MeasurePreserving (I.field t) volume volume := | |
| 62 | - EulerFlowL2Transport.inverse_measurePreserving (A.position t) (I.field t) | |
| 63 | - (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) | |
| 64 | - (A.position_hasFDerivAt t) (I.left_inverse t) (I.right_inverse t) | |
| 65 | - (Continuous.uncurry_left t I.continuous) (A.displacement_det_one t) | |
| 66 | - | |
| 67 | 48 | def normalized (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 68 | 49 | A.packetInverse I.field (t,x) |
| 69 | 50 | |
+0 −89 Euler/ParentRenewalParameters.lean View file
| @@ -23,20 +23,6 @@ def tiltError : ℝ := 1500*G.σ+30000000*neighborStabilityConstant*G.error*G.Θ | ||
| 23 | 23 | /-- A lower bound for the magnitude of the leading compressive term. -/ |
| 24 | 24 | def compressionScale : ℝ := G.a/(20*G.ε*G.target) |
| 25 | 25 | |
| 26 | -theorem start_lt_targetTime : G.t₀ < G.targetTime := by | |
| 27 | - change G.t₀ < G.t₀+(G.ε/G.a)*G.target | |
| 28 | - exact lt_add_of_pos_right _ (mul_pos (div_pos G.epsilon_pos G.a_pos) G.target_pos) | |
| 29 | - | |
| 30 | -theorem targetTime_pos (hstart : 0 ≤ G.t₀) : 0 < G.targetTime := | |
| 31 | - hstart.trans_lt G.start_lt_targetTime | |
| 32 | - | |
| 33 | -theorem nextCoupling_pos : 0 < G.nextCoupling := by | |
| 34 | - obtain ⟨F,F1,Z,Z1,J⟩ := G.exists_geometry | |
| 35 | - have hp := J.positive_pressure G.center G.target ⟨G.target_one,G.target_le_horizon⟩ | |
| 36 | - change 0 < normalizedCoupling _ _ _ | |
| 37 | - rw [normalizedCoupling_eq] | |
| 38 | - exact div_pos hp J.target_positive | |
| 39 | - | |
| 40 | 26 | theorem nextCoupling_error : |G.nextCoupling/G.a-1| ≤ G.couplingError := by |
| 41 | 27 | obtain ⟨F,F1,Z,Z1,J⟩ := G.exists_geometry |
| 42 | 28 | exact J.next_frame.1 |
| @@ -52,10 +38,6 @@ theorem nextTilt_pos (herror : G.tiltError ≤ 1/2) : 0 < G.nextTilt := by | ||
| 52 | 38 | have hzero := mul_nonpos_of_nonneg_of_nonpos hn.le (le_of_not_gt hneg) |
| 53 | 39 | linarith only [h,herror,hzero] |
| 54 | 40 | |
| 55 | -theorem compressionScale_pos : 0 < G.compressionScale := by | |
| 56 | - unfold compressionScale | |
| 57 | - positivity [G.a_pos,G.epsilon_pos,G.target_pos] | |
| 58 | - | |
| 59 | 41 | /-- The existing geometric smallness guard leaves enough compression |
| 60 | 42 | margin for any subsequent center remainder of size at most one. -/ |
| 61 | 43 | theorem compression_margin {e : ℝ} (he : e ≤ 1) : |
| @@ -141,53 +123,13 @@ theorem shear_eq (hδ : 0 < G.δ) : P.shear=G.hchild := by | ||
| 141 | 123 | rw [J.coefficient_eq,J.ray_eq,J.velocity_eq] |
| 142 | 124 | exact G.target_shear_normalization hδ |
| 143 | 125 | |
| 144 | -theorem epsilon_eq (hδ : 0 < G.δ) : P.epsilon=Real.sqrt (P.a/G.hchild) := by | |
| 145 | - rw [ParentFrame.epsilon,J.shear_eq hδ] | |
| 146 | - | |
| 147 | -theorem normalized_ray_eq : unit (P.m G.targetTime)=unit (G.r G.center G.targetTime) := | |
| 148 | - congrArg unit J.ray_eq | |
| 149 | - | |
| 150 | -theorem normalized_velocity_eq : unit (P.v G.targetTime)=unit (G.w G.center G.targetTime) := | |
| 151 | - congrArg unit J.velocity_eq | |
| 152 | - | |
| 153 | -/-- The actual next source matrix has the prescribed target shear and | |
| 154 | -the original packet's center error. -/ | |
| 155 | -theorem target_remainder (hδ : 0 < G.δ) (hT : G.targetTime ≤ D.T) : | |
| 156 | - ‖D.M.field (D.clamp G.targetTime) 0-G.M G.center G.targetTime- | |
| 157 | - G.hchild • rankOne ℝ (unit (G.w G.center G.targetTime)) | |
| 158 | - (unit (G.r G.center G.targetTime))‖ ≤ P.error := by | |
| 159 | - have h := P.remainder_bound G.targetTime ⟨le_rfl,hT⟩ | |
| 160 | - change ‖D.M.field (D.clamp G.targetTime) 0-P.B G.targetTime- | |
| 161 | - P.shear • rankOne ℝ (unit (P.v G.targetTime)) (unit (P.m G.targetTime))‖ ≤ P.error at h | |
| 162 | - rw [J.matrix_eq,J.ray_eq,J.velocity_eq,J.shear_eq hδ] at h | |
| 163 | - exact h | |
| 164 | - | |
| 165 | -theorem coupling_pos : 0 < P.a := by rw [J.a_eq]; exact G.nextCoupling_pos | |
| 166 | - | |
| 167 | 126 | theorem coupling_error : |P.a/G.a-1| ≤ G.couplingError := by |
| 168 | 127 | rw [J.a_eq] |
| 169 | 128 | exact G.nextCoupling_error |
| 170 | 129 | |
| 171 | -theorem coupling_interval : | |
| 172 | - (1-G.couplingError)*G.a ≤ P.a ∧ P.a ≤ (1+G.couplingError)*G.a := by | |
| 173 | - have h := abs_le.mp J.coupling_error | |
| 174 | - constructor | |
| 175 | - · have hh : 1-G.couplingError ≤ P.a/G.a := by linarith only [h.1] | |
| 176 | - exact (le_div_iff₀ G.a_pos).mp hh | |
| 177 | - · have hh : P.a/G.a ≤ 1+G.couplingError := by linarith only [h.2] | |
| 178 | - exact (div_le_iff₀ G.a_pos).mp hh | |
| 179 | - | |
| 180 | -theorem coupling_absolute_error : |P.a-G.a| ≤ G.a*G.couplingError := by | |
| 181 | - rw [abs_le] | |
| 182 | - constructor <;> nlinarith only [J.coupling_interval.1,J.coupling_interval.2] | |
| 183 | - | |
| 184 | 130 | theorem sigma_sq (herror : G.tiltError ≤ 1/2) : P.sigma^2=G.nextTilt := by |
| 185 | 131 | rw [J.sigma_eq,Real.sq_sqrt (G.nextTilt_pos herror).le] |
| 186 | 132 | |
| 187 | -theorem sigma_pos (herror : G.tiltError ≤ 1/2) : 0 < P.sigma := by | |
| 188 | - rw [J.sigma_eq] | |
| 189 | - exact Real.sqrt_pos.mpr (G.nextTilt_pos herror) | |
| 190 | - | |
| 191 | 133 | theorem tilt_error (herror : G.tiltError ≤ 1/2) : |
| 192 | 134 | |(G.y⁻¹)^2*P.sigma^2-1| ≤ G.tiltError := by |
| 193 | 135 | rw [J.sigma_sq herror] |
| @@ -198,42 +140,11 @@ theorem tilt_interval (herror : G.tiltError ≤ 1/2) : | ||
| 198 | 140 | have h := abs_le.mp (J.tilt_error herror) |
| 199 | 141 | constructor <;> linarith only [h.1,h.2,herror] |
| 200 | 142 | |
| 201 | -theorem sigma_small (herror : G.tiltError ≤ 1/2) (hy : G.y ≤ 1/8) : P.sigma ≤ 1/4 := by | |
| 202 | - have hi : 8 ≤ G.y⁻¹ := by | |
| 203 | - rw [← one_div] | |
| 204 | - apply (le_div_iff₀ G.y_pos).mpr | |
| 205 | - linarith only [hy] | |
| 206 | - have hin : 64 ≤ (G.y⁻¹)^2 := by nlinarith only [hi] | |
| 207 | - have hm := mul_le_mul_of_nonneg_right hin (sq_nonneg P.sigma) | |
| 208 | - have hu := (J.tilt_interval herror).2 | |
| 209 | - nlinarith only [hm,hu,sq_nonneg (P.sigma-1/4)] | |
| 210 | - | |
| 211 | 143 | theorem background_compression_eq : |
| 212 | 144 | ⟪P.B G.targetTime (unit (P.m G.targetTime)),unit (P.m G.targetTime)⟫_ℝ= |
| 213 | 145 | G.nextCompression := by |
| 214 | 146 | rw [J.matrix_eq,J.ray_eq] |
| 215 | 147 | exact real_inner_comm _ _ |
| 216 | 148 | |
| 217 | -/-- The new packet error is retained in the compression margin. -/ | |
| 218 | -theorem activation_normal_le (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) : | |
| 219 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 220 | - unit (P.m G.targetTime)⟫_ℝ ≤ -G.compressionScale+3*(G.G+G.d)+P.error := by | |
| 221 | - have h := P.activation_normal_le ht hT | |
| 222 | - rw [J.background_compression_eq] at h | |
| 223 | - exact h.trans (add_le_add G.nextCompression_le le_rfl) | |
| 224 | - | |
| 225 | -theorem activation_compression (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) | |
| 226 | - (hmargin : 3*(G.G+G.d)+P.error < G.compressionScale) : | |
| 227 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 228 | - unit (P.m G.targetTime)⟫_ℝ < 0 := by | |
| 229 | - have h := J.activation_normal_le ht hT | |
| 230 | - linarith only [h,hmargin] | |
| 231 | - | |
| 232 | -theorem activation_compression_of_error_le_one | |
| 233 | - (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) (he : P.error ≤ 1) : | |
| 234 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 235 | - unit (P.m G.targetTime)⟫_ℝ < 0 := | |
| 236 | - J.activation_compression ht hT (G.compression_margin he) | |
| 237 | - | |
| 238 | 149 | end RenewalAtTarget |
| 239 | 150 | end EulerParentPacketFrames |
+0 −63 Euler/ParentRenewalPrefix.lean View file
| @@ -31,69 +31,6 @@ theorem bounds_of_accumulated_error {e : ℕ → ℝ} {η v : ℝ} | ||
| 31 | 31 | have ha := abs_le.mp hv |
| 32 | 32 | constructor <;> linarith only [hs,hη,ha.1,ha.2] |
| 33 | 33 | |
| 34 | -theorem accumulate_step {a e : ℕ → ℝ} (n : ℕ) | |
| 35 | - (ha : 1/2 ≤ a n) (ha2 : a n ≤ 2) (he : 0 ≤ e n) | |
| 36 | - (hprev : |a n-1| ≤ 2*∑ i ∈ range n, e i) | |
| 37 | - (hstep : |a (n+1)/a n-1| ≤ e n) : | |
| 38 | - |a (n+1)-1| ≤ 2*∑ i ∈ range (n+1), e i := by | |
| 39 | - have hi := relative_step_error (by linarith only [ha] : 0 < a n) ha2 he hstep | |
| 40 | - have ht := abs_add_le (a (n+1)-a n) (a n-1) | |
| 41 | - rw [show a (n+1)-a n+(a n-1)=a (n+1)-1 by ring] at ht | |
| 42 | - rw [sum_range_succ] | |
| 43 | - linarith only [hi,hprev,ht] | |
| 44 | - | |
| 45 | -/-- No bound on a future coupling is an input. The step estimate can | |
| 46 | -be established only after the previous finite prefix has been bounded. -/ | |
| 47 | -theorem coupling_prefix {a e : ℕ → ℝ} {η : ℝ} (N : ℕ) | |
| 48 | - (he : SmallSeries e η) (hη : η ≤ 1/4) (hzero : a 0=1) | |
| 49 | - (hstep : ∀ n < N, (∀ i ≤ n, 1/2 ≤ a i ∧ a i ≤ 2) → | |
| 50 | - |a (n+1)/a n-1| ≤ e n) : | |
| 51 | - ∀ n ≤ N, (1/2 ≤ a n ∧ a n ≤ 2) ∧ |a n-1| ≤ 2*∑ i ∈ range n, e i := by | |
| 52 | - intro n | |
| 53 | - induction n using Nat.strong_induction_on with | |
| 54 | - | h n ih => | |
| 55 | - intro hn | |
| 56 | - cases n with | |
| 57 | - | zero => simp only [hzero,sub_self,abs_zero,sum_range_zero,mul_zero]; norm_num | |
| 58 | - | succ n => | |
| 59 | - have hp := ih n (by omega) (by omega) | |
| 60 | - have hprefix : ∀ i ≤ n, 1/2 ≤ a i ∧ a i ≤ 2 := by | |
| 61 | - intro i hi | |
| 62 | - exact (ih i (by omega) (by omega)).1 | |
| 63 | - have hs := accumulate_step n hp.1.1 hp.1.2 (he.nonneg n) hp.2 | |
| 64 | - (hstep n (by omega) hprefix) | |
| 65 | - exact ⟨bounds_of_accumulated_error he hη (n+1) hs,hs⟩ | |
| 66 | - | |
| 67 | -/-- The same finite induction propagates the normalized tilt invariant | |
| 68 | -along with the coupling. Its hypotheses mention only already-built stages. -/ | |
| 69 | -theorem coupling_and_tilt_prefix {a β x e : ℕ → ℝ} {η : ℝ} (N : ℕ) | |
| 70 | - (he : SmallSeries e η) (hη : η ≤ 1/4) (hzero : a 0=1) | |
| 71 | - (hβzero : 1/2 ≤ β 0*(x 0)^2 ∧ β 0*(x 0)^2 ≤ 2) | |
| 72 | - (hstep : ∀ n < N, | |
| 73 | - (∀ i ≤ n, (1/2 ≤ a i ∧ a i ≤ 2) ∧ (1/2 ≤ β i*(x i)^2 ∧ β i*(x i)^2 ≤ 2)) → | |
| 74 | - |a (n+1)/a n-1| ≤ e n ∧ | |
| 75 | - (1/2 ≤ β (n+1)*(x (n+1))^2 ∧ β (n+1)*(x (n+1))^2 ≤ 2)) : | |
| 76 | - ∀ n ≤ N, (1/2 ≤ a n ∧ a n ≤ 2) ∧ | |
| 77 | - (1/2 ≤ β n*(x n)^2 ∧ β n*(x n)^2 ≤ 2) ∧ | |
| 78 | - |a n-1| ≤ 2*∑ i ∈ range n, e i := by | |
| 79 | - intro n | |
| 80 | - induction n using Nat.strong_induction_on with | |
| 81 | - | h n ih => | |
| 82 | - intro hn | |
| 83 | - cases n with | |
| 84 | - | zero => | |
| 85 | - refine ⟨?_,hβzero,?_⟩ <;> simp only [hzero,sub_self,abs_zero,sum_range_zero,mul_zero] <;> norm_num | |
| 86 | - | succ n => | |
| 87 | - have hp := ih n (by omega) (by omega) | |
| 88 | - have hprefix : ∀ i ≤ n, | |
| 89 | - (1/2 ≤ a i ∧ a i ≤ 2) ∧ (1/2 ≤ β i*(x i)^2 ∧ β i*(x i)^2 ≤ 2) := by | |
| 90 | - intro i hi | |
| 91 | - have h := ih i (by omega) (by omega) | |
| 92 | - exact ⟨h.1,h.2.1⟩ | |
| 93 | - have ht := hstep n (by omega) hprefix | |
| 94 | - have hs := accumulate_step n hp.1.1 hp.1.2 (he.nonneg n) hp.2.2 ht.1 | |
| 95 | - exact ⟨bounds_of_accumulated_error he hη (n+1) hs,ht.2,hs⟩ | |
| 96 | - | |
| 97 | 34 | theorem stage_congr_at {J D : ℕ} {C c X K : ℝ} {a β b γ : ℕ → ℝ} {n : ℕ} |
| 98 | 35 | (G : StageGuards J D C c X K a β n) (ha : a n=b n) (hβ : β n=γ n) : |
| 99 | 36 | StageGuards J D C c X K b γ n where |
+0 −14 Euler/ParentShortForwardRadius.lean View file
| @@ -31,9 +31,6 @@ local notation "BC" => forwardCoefficientBudget period (A.meanData H) (A.transve | ||
| 31 | 31 | rfl (ForwardInputs.normal J) |
| 32 | 32 | local notation "Cp" => (2 : ℝ) |
| 33 | 33 | |
| 34 | -def shortForwardCanonicalRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 35 | - EulerPacketForwardRadius.canonicalRadius (J).linear (J).mean (J).normal BC δ ξ | |
| 36 | - | |
| 37 | 34 | theorem shortForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 38 | 35 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) |
| 39 | 36 | (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -108,15 +105,4 @@ theorem shortForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 108 | 105 | terminal := hξX.trans hXV } |
| 109 | 106 | |
| 110 | 107 | |
| 111 | -theorem shortForward_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 112 | - let X := parameterSize L.K 0 Ti 2 H.L δ ‖ξ‖ | |
| 113 | - EulerPacketForwardRadius.RadiusPrimitives (J).linear (J).mean (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 114 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 115 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 116 | - obtain ⟨h1,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti 2 H.L δ ‖ξ‖ | |
| 117 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 118 | - (by norm_num) hL0 hδ (norm_nonneg ξ) | |
| 119 | - exact ⟨L.shortForward_radius_primitives H m hm R S hS CM hCM hM hshort | |
| 120 | - Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ _ hK hIT hC hB hD hN,sourceEnvelope_power _ h1⟩ | |
| 121 | - | |
| 122 | 108 | end EulerParentPacketFrames.LabelData |
+0 −36 Euler/ParentStageDirection.lean View file
| @@ -62,34 +62,11 @@ theorem activation_parameters : | ||
| 62 | 62 | (P.activationFrame hτ hτT).horizon=P.horizon ∧ (P.activationFrame hτ hτT).G=P.G ∧ |
| 63 | 63 | (P.activationFrame hτ hτT).error=P.error := ⟨rfl,rfl,rfl,rfl,rfl,rfl,rfl⟩ |
| 64 | 64 | |
| 65 | -/-- The new covector really transports to the old frame's cross | |
| 66 | -direction, with the same strictly positive ray scale used by Guards. -/ | |
| 67 | -theorem activation_ray : | |
| 68 | - (P.activationData hτ hτT).normal.field ⟨τ,hτ.le,hτT.le⟩ 0= | |
| 69 | - P.rayScale hτ hτT • P.crossDirection := | |
| 70 | - activationDirection_transport | |
| 71 | - ((A.transverseData m hm R S hS).deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) P.crossDirection | |
| 72 | - | |
| 73 | -theorem activation_scaled_ray : | |
| 74 | - 0 < P.rayScale hτ hτT ∧ | |
| 75 | - scaledRay P.m P.v | |
| 76 | - (fun t => (P.activationData hτ hτT).normal.field ((P.activationData hτ hτT).clamp t) 0) | |
| 77 | - (P.rayScale hτ hτT) τ P.a P.epsilon 0=![0,0,1] := by | |
| 78 | - exact actual_activation_scaled_ray (P.activationData hτ hτT) P.m P.v | |
| 79 | - ⟨τ,hτ.le,hτT.le⟩ P.a P.epsilon | |
| 80 | - (P.ray_nonzero τ ⟨le_rfl,hτT.le⟩) (P.velocity_nonzero τ ⟨le_rfl,hτT.le⟩) | |
| 81 | - (P.tangent τ ⟨le_rfl,hτT.le⟩) (P.activation_normal_choice hτ hτT) | |
| 82 | - | |
| 83 | 65 | def activationHistory (H : LowBounds A) : |
| 84 | 66 | HistoryData ((P.activationData hτ hτT).initial τ hτ hτT.le) := |
| 85 | 67 | A.historyOn H (P.activationNormal hτ hτT) (P.activationNormal_unit hτ hτT) |
| 86 | 68 | (LinearIsometryEquiv.refl ℝ (referencePlane (P.activationNormal hτ hτT))) S hS τ hτ hτT |
| 87 | 69 | |
| 88 | -theorem activation_history_eq [CompleteSpace U] (H : LowBounds A) : | |
| 89 | - P.activationHistory hτ hτT H= | |
| 90 | - (A.historyOn H m hm R S hS τ hτ hτT).reframe | |
| 91 | - (P.activationNormal hτ hτT) (P.activationNormal_unit hτ hτT) := rfl | |
| 92 | - | |
| 93 | 70 | end EulerPacketSourceGeometry.ParentFrame |
| 94 | 71 | |
| 95 | 72 | namespace EulerPacketSourceGeometry.ParentFrame |
| @@ -114,19 +91,6 @@ def forwardFrame : ParentFrame P.forwardData 0 := | ||
| 114 | 91 | theorem forward_normal_choice : P.forwardData.m₀= |
| 115 | 92 | cross (unit (P.forwardFrame.m 0)) (unit (P.forwardFrame.v 0)) := rfl |
| 116 | 93 | |
| 117 | -theorem forward_initial_frame (x : Space) : | |
| 118 | - P.forwardData.F.field ⟨0,le_rfl,A.T_pos.le⟩ x=ContinuousLinearMap.id ℝ Space := | |
| 119 | - A.frame_initial x | |
| 120 | - | |
| 121 | -theorem forward_initial_normal (x : Space) : | |
| 122 | - P.forwardData.normal.field ⟨0,le_rfl,A.T_pos.le⟩ x=P.crossDirection := by | |
| 123 | - change (A.inverse.field A.zeroTime x).adjoint P.crossDirection=P.crossDirection | |
| 124 | - have h : A.inverse.field A.zeroTime x=ContinuousLinearMap.id ℝ Space := by | |
| 125 | - apply ContinuousLinearMap.ext | |
| 126 | - intro v | |
| 127 | - exact A.inverse_initial x v | |
| 128 | - rw [h,adjoint_id,id_apply] | |
| 129 | - | |
| 130 | 94 | theorem forward_parameters : |
| 131 | 95 | P.forwardFrame.a=P.a ∧ P.forwardFrame.sigma=P.sigma ∧ |
| 132 | 96 | P.forwardFrame.shear=P.shear ∧ P.forwardFrame.epsilon=P.epsilon ∧ |
+0 −96 Euler/ParentTargetRenewal.lean View file
| @@ -73,54 +73,6 @@ theorem forwardTargetRenewal_matches : RenewalAtTarget Geo Q := by | ||
| 73 | 73 | · rfl |
| 74 | 74 | · rfl |
| 75 | 75 | |
| 76 | -theorem forwardTargetRenewal_shear : (Q).shear=G.hchild := | |
| 77 | - (forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 78 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 79 | - hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ | |
| 80 | - | |
| 81 | -theorem forwardTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ | |
| 82 | - | |
| 83 | -include hTime hCM hK he hMK hHK hM hH hδ hsource in | |
| 84 | -theorem forwardTargetRenewal_remainder (hT : tNext ≤ N.T) : | |
| 85 | - ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- | |
| 86 | - G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) | |
| 87 | - (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by | |
| 88 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 89 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 90 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 91 | - exact H.target_remainder hδ hT | |
| 92 | - | |
| 93 | -theorem forwardTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : | |
| 94 | - (Q).shear=G.hchild ∧ 0 < (Q).a ∧ | |
| 95 | - |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ | |
| 96 | - 0 < (Q).sigma ∧ | |
| 97 | - |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ | |
| 98 | - 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by | |
| 99 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 100 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 101 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 102 | - exact ⟨H.shear_eq hδ,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt, | |
| 103 | - H.tilt_error hTilt,H.tilt_interval hTilt⟩ | |
| 104 | - | |
| 105 | -theorem forwardTargetRenewal_compression | |
| 106 | - (ht : 0 < tNext) (hT : tNext < N.T) | |
| 107 | - (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : | |
| 108 | - ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), | |
| 109 | - unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 110 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 111 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 112 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 113 | - exact H.activation_compression ht hT hmargin | |
| 114 | - | |
| 115 | -theorem forwardTargetRenewal_compression_of_error_le_one | |
| 116 | - (hT : tNext < N.T) (herror : error ≤ 1) : | |
| 117 | - ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos le_rfl |>.le,hT.le⟩ 0 | |
| 118 | - (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 119 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 120 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 121 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 122 | - exact H.activation_compression_of_error_le_one ((Geo).targetTime_pos le_rfl) hT herror | |
| 123 | - | |
| 124 | 76 | end Forward |
| 125 | 77 | |
| 126 | 78 | section Joined |
| @@ -174,53 +126,5 @@ theorem joinedTargetRenewal_matches : RenewalAtTarget Geo Q := by | ||
| 174 | 126 | · rfl |
| 175 | 127 | · rfl |
| 176 | 128 | |
| 177 | -theorem joinedTargetRenewal_shear : (Q).shear=G.hchild := | |
| 178 | - (joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 179 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 180 | - hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ | |
| 181 | - | |
| 182 | -theorem joinedTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ | |
| 183 | - | |
| 184 | -include hTime hCM hK he hMK hHK hM hH hδ hsource in | |
| 185 | -theorem joinedTargetRenewal_remainder (hT : tNext ≤ N.T) : | |
| 186 | - ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- | |
| 187 | - G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) | |
| 188 | - (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by | |
| 189 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 190 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 191 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 192 | - exact E.target_remainder hδ hT | |
| 193 | - | |
| 194 | -theorem joinedTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : | |
| 195 | - (Q).shear=G.hchild ∧ 0 < (Q).a ∧ | |
| 196 | - |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ | |
| 197 | - 0 < (Q).sigma ∧ | |
| 198 | - |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ | |
| 199 | - 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by | |
| 200 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 201 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 202 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 203 | - exact ⟨E.shear_eq hδ,E.coupling_pos,E.coupling_error,E.sigma_pos hTilt, | |
| 204 | - E.tilt_error hTilt,E.tilt_interval hTilt⟩ | |
| 205 | - | |
| 206 | -theorem joinedTargetRenewal_compression | |
| 207 | - (ht : 0 < tNext) (hT : tNext < N.T) | |
| 208 | - (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : | |
| 209 | - ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), | |
| 210 | - unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 211 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 212 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 213 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 214 | - exact E.activation_compression ht hT hmargin | |
| 215 | - | |
| 216 | -theorem joinedTargetRenewal_compression_of_error_le_one | |
| 217 | - (hT : tNext < N.T) (herror : error ≤ 1) : | |
| 218 | - ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos hs.le |>.le,hT.le⟩ 0 | |
| 219 | - (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 220 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 221 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 222 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 223 | - exact E.activation_compression_of_error_le_one ((Geo).targetTime_pos hs.le) hT herror | |
| 224 | - | |
| 225 | 129 | end Joined |
| 226 | 130 | end EulerParentPacketFrames.SmoothState |
+0 −6 Euler/QuadraticSource.lean View file
| @@ -26,12 +26,6 @@ theorem source_continuous {T : Type*} [TopologicalSpace T] | ||
| 26 | 26 | ((hA.comp continuous_fst).clm_apply continuous_snd)).add |
| 27 | 27 | (((hB.comp continuous_fst).clm_apply continuous_snd).clm_apply continuous_snd))).neg |
| 28 | 28 | |
| 29 | -/-- The exact product difference identity needs no symmetry of the bilinear source. -/ | |
| 30 | -theorem quadratic_sub (B : X →L[ℝ] X →L[ℝ] Y) (u v : X) : | |
| 31 | - B u u - B v v = B (u-v) u + B v (u-v) := by | |
| 32 | - simp only [map_sub, sub_apply] | |
| 33 | - abel | |
| 34 | - | |
| 35 | 29 | /-- The quadratic source has the genuine pointwise bound used for Picard existence. -/ |
| 36 | 30 | theorem source_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 37 | 31 | (R : ℝ) (hR : 0 ≤ R) (u : X) (hu : ‖u‖ ≤ R) : |
+0 −13 Euler/ReversedVorticityTransport.lean View file
| @@ -40,17 +40,4 @@ theorem vorticity_ne_zero_along_reverse_trajectory | ||
| 40 | 40 | apply hne |
| 41 | 41 | simpa only [sub_self] using he |
| 42 | 42 | |
| 43 | -/-- A path for a modified reverse-time velocity has the same nonzero | |
| 44 | -vorticity transport whenever that velocity agrees with Euler along the path. -/ | |
| 45 | -theorem vorticity_ne_zero_along_reverse_trajectory_of_agrees | |
| 46 | - (X : ℝ → Space) (w : ℝ → Space → Space) (T : ℝ) (hT : 0 ≤ T) | |
| 47 | - (hX : ContinuousOn X (Icc 0 T)) | |
| 48 | - (hXd : ∀ s ∈ Ioo 0 T, HasDerivAt X (-w s (X s)) s) | |
| 49 | - (hw : ∀ s ∈ Ioo 0 T, w s (X s) = v (X s) (T - s)) | |
| 50 | - (hne : vectorCurl (v · T) (X 0) ≠ 0) : | |
| 51 | - vectorCurl (v · 0) (X T) ≠ 0 := by | |
| 52 | - apply h.vorticity_ne_zero_along_reverse_trajectory X T hT hX _ hne | |
| 53 | - intro s hs | |
| 54 | - simpa only [hw s hs] using hXd s hs | |
| 55 | - | |
| 56 | 43 | end Euler.EulerExistenceAndSmoothnessR3 |
+0 −5 Euler/SmallCorrectionBudget.lean View file
| @@ -118,9 +118,4 @@ def budget (hdiv : ∀ t, G.path t ∈ divergenceFreeSpace P 1 (0 : Space)) : | ||
| 118 | 118 | radius_eq _ _ _ := rfl |
| 119 | 119 | divergence t := (divergenceFreeSpace P 1 (0 : Space)).smul_mem S.value (hdiv t) |
| 120 | 120 | |
| 121 | -/-- No scalar guard is required of the input: the amplitude is explicitly | |
| 122 | -chosen from its finite actual Gevrey constants. -/ | |
| 123 | -def smallBudget (hdiv : ∀ t, G.path t ∈ divergenceFreeSpace P 1 (0 : Space)) := | |
| 124 | - budget G hG hC hR (scale P C R (residualCost P C R) hC hR (residualCost_pos P C R hR)) hdiv | |
| 125 | - | |
| 126 | 121 | end EulerSmallCorrection |
+0 −43 Euler/SmoothCoefficientTimeRestriction.lean View file
| @@ -44,33 +44,6 @@ theorem comp_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) : | ||
| 44 | 44 | intro t |
| 45 | 45 | exact A.field.norm_coe_le_norm (φ t) |
| 46 | 46 | |
| 47 | -theorem comp_jet_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) (n : ℕ) : | |
| 48 | - ‖(A.comp φ).jet n‖ ≤ ‖A.jet n‖ := by | |
| 49 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 50 | - intro t | |
| 51 | - exact (A.jet n).norm_coe_le_norm (φ t) | |
| 52 | - | |
| 53 | -theorem comp_translation (A : SmoothCoefficientPath K V) (φ : C(L,K)) (a : Space) : | |
| 54 | - translateCoefficientPath (A.comp φ).field a = | |
| 55 | - (translateCoefficientPath A.field a).comp φ := rfl | |
| 56 | - | |
| 57 | -/-- A continuous change of time parameter preserves each literal spatial | |
| 58 | -derivative bound with exactly the same constant. -/ | |
| 59 | -theorem comp_derivative_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 60 | - (n : ℕ) (C : ℝ) | |
| 61 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 62 | - (t : L) (x : Space) : | |
| 63 | - ‖iteratedFDeriv ℝ n ((A.comp φ).field t : Space → V) x‖ ≤ C := | |
| 64 | - hb (φ t) x | |
| 65 | - | |
| 66 | -theorem comp_translation_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 67 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 68 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 69 | - (a : Space) : | |
| 70 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (A.comp φ).field) a‖ ≤ C := | |
| 71 | - (A.comp φ).norm_iteratedFDeriv_translation_le n C hC | |
| 72 | - (A.comp_derivative_bound φ n C hb) a | |
| 73 | - | |
| 74 | 47 | end SmoothCoefficientPath |
| 75 | 48 | |
| 76 | 49 | end EulerMeanCoefficients |
| @@ -95,22 +68,6 @@ def initialPath (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) S,V) →L[ℝ] | ||
| 95 | 68 | def tailPath (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) (S-τ),V) := |
| 96 | 69 | ContinuousMap.compCLM ℝ V (tailInclusion S τ hτ) |
| 97 | 70 | |
| 98 | -theorem initialPath_norm (S τ : ℝ) (hτS : τ ≤ S) : ‖initialPath (V := V) S τ hτS‖ ≤ 1 := by | |
| 99 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 100 | - intro A | |
| 101 | - rw [one_mul] | |
| 102 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 103 | - intro t | |
| 104 | - exact A.norm_coe_le_norm _ | |
| 105 | - | |
| 106 | -theorem tailPath_norm (S τ : ℝ) (hτ : 0 ≤ τ) : ‖tailPath (V := V) S τ hτ‖ ≤ 1 := by | |
| 107 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 108 | - intro A | |
| 109 | - rw [one_mul] | |
| 110 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 111 | - intro t | |
| 112 | - exact A.norm_coe_le_norm _ | |
| 113 | - | |
| 114 | 71 | theorem initial_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 115 | 72 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 116 | 73 | extendPath τ hτ (initialPath S τ hτS A) t = extendPath S hS A t := by |
+0 −10 Euler/SmoothCylinderAccelerationComposition.lean View file
| @@ -27,16 +27,6 @@ def materialAccelerationJet (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | ||
| 27 | 27 | LiftTangent [×n]→L[ℝ] LiftTangent := |
| 28 | 28 | jetSeries P (materialAcceleration T hT A A₁ t) q n |
| 29 | 29 | |
| 30 | -include hA hA₁ in | |
| 31 | -theorem materialAccelerationJet_local (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | |
| 32 | - materialAccelerationJet P T hT A A₁ t q n = | |
| 33 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P | |
| 34 | - (descend P (materialAcceleration T hT A A₁ t)) q) 0 := by | |
| 35 | - apply jetSeries_eq_local | |
| 36 | - exact comp_deck P (accelerationField T A A₁ t) | |
| 37 | - (accelerationField_deck P T A A₁ hA hA₁ t) ((flowData T hT A).forward t) | |
| 38 | - (EulerCylinderPeriodicFlow.flow_deck P (flowData T hT A) (velocity_deck P T hT A hA) 0 t) | |
| 39 | - | |
| 40 | 30 | include hA hA₁ hdiv in |
| 41 | 31 | theorem materialAccelerationJet_memLp_and_bound (B R C S C₁ S₁ : ℝ) |
| 42 | 32 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −35 Euler/SmoothCylinderFlow.lean View file
| @@ -28,35 +28,6 @@ theorem velocity_deck (c : AddSubgroup.zmultiples P) (t : ℝ) (z : LiftTangent) | ||
| 28 | 28 | def forward (t : ℝ) : LiftDomain P → LiftDomain P := |
| 29 | 29 | EulerCylinderPeriodicFlow.flow P (flowData T hT A) 0 t |
| 30 | 30 | |
| 31 | -def backward (t : ℝ) : LiftDomain P → LiftDomain P := | |
| 32 | - EulerCylinderPeriodicFlow.flow P (flowData T hT A) t 0 | |
| 33 | - | |
| 34 | -include hA in | |
| 35 | -theorem forward_cover (t : ℝ) (z : LiftTangent) : | |
| 36 | - forward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).forward t z) := | |
| 37 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) 0 t z | |
| 38 | - | |
| 39 | -include hA in | |
| 40 | -theorem backward_cover (t : ℝ) (z : LiftTangent) : | |
| 41 | - backward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).backward t z) := | |
| 42 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) t 0 z | |
| 43 | - | |
| 44 | -include hA in | |
| 45 | -theorem forward_joint_continuous : Continuous (Function.uncurry (forward P T hT A)) := | |
| 46 | - EulerCylinderPeriodicFlow.forward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 47 | - | |
| 48 | -include hA in | |
| 49 | -theorem backward_joint_continuous : Continuous (Function.uncurry (backward P T hT A)) := | |
| 50 | - EulerCylinderPeriodicFlow.backward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 51 | - | |
| 52 | -include hA in | |
| 53 | -theorem backward_forward (t : ℝ) : Function.LeftInverse (backward P T hT A t) (forward P T hT A t) := | |
| 54 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) 0 t | |
| 55 | - | |
| 56 | -include hA in | |
| 57 | -theorem forward_backward (t : ℝ) : Function.RightInverse (backward P T hT A t) (forward P T hT A t) := | |
| 58 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 59 | - | |
| 60 | 31 | variable (hdiv : ∀ t x, |
| 61 | 32 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 62 | 33 | |
| @@ -66,10 +37,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 66 | 37 | EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) 0 t |
| 67 | 38 | (EulerSmoothBanachFlow.forward_measurePreserving T hT A hdiv volume t) |
| 68 | 39 | |
| 69 | -include hA hdiv in | |
| 70 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 71 | - MeasurePreserving (backward P T hT A t) (liftMeasure P) (liftMeasure P) := | |
| 72 | - EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 73 | - (EulerSmoothBanachFlow.backward_measurePreserving T hT A hdiv volume t) | |
| 74 | - | |
| 75 | 40 | end EulerSmoothCylinderFlow |
+0 −35 Euler/SmoothCylinderGevrey.lean View file
| @@ -32,44 +32,9 @@ variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) | ||
| 32 | 32 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 33 | 33 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 34 | 34 | |
| 35 | -theorem displacementJet_bound (B R : ℝ) | |
| 36 | - (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 37 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 38 | - (n : ℕ) (t : Icc (0 : ℝ) T) (q : LiftDomain P) : | |
| 39 | - ‖displacementJet P T hT A t q n‖ ≤ B*(t : ℝ)*(4*R)^n*(n.factorial : ℝ)^2 := | |
| 40 | - EulerSmoothFlowGevrey.displacement_bound T hT A B R hB hR hsmall hb | |
| 41 | - n t t.property (sectionPoint P q) | |
| 42 | - | |
| 43 | 35 | variable (hdiv : ∀ t x, |
| 44 | 36 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 45 | 37 | |
| 46 | -include hA hdiv in | |
| 47 | -theorem compositionJet_memLp_and_bound (B R C S : ℝ) | |
| 48 | - (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) | |
| 49 | - (hsmall : B*R*T ≤ 1/8) | |
| 50 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 51 | - (n : ℕ) | |
| 52 | - (hLp : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 53 | - MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) | |
| 54 | - (hNorm : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 55 | - (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) | |
| 56 | - 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) | |
| 57 | - (t : ℝ) : | |
| 58 | - MemLp (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P) ∧ | |
| 59 | - (eLpNorm (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P)).toReal ≤ | |
| 60 | - C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 := by | |
| 61 | - apply EulerGevreyJetCompositionLp.composition_memLp_and_bound (liftMeasure P) | |
| 62 | - (forward P T hT A (projIcc 0 T hT t)) | |
| 63 | - (forward_measurePreserving P T hT A hA hdiv (projIcc 0 T hT t)) | |
| 64 | - (jetSeries P (forwardCover T hT A t)) (jetSeries P (velocityCover T hT A t)) n | |
| 65 | - ((compositionJet_joint_measurable P T hT A hA n).comp (measurable_const.prodMk measurable_id)).aestronglyMeasurable | |
| 66 | - C (1+B*T) (4*R+1) S hC (by positivity) (by positivity) hS | |
| 67 | - · exact hLp (projIcc 0 T hT t) | |
| 68 | - · exact hNorm (projIcc 0 T hT t) | |
| 69 | - · intro j hj _ q | |
| 70 | - exact forward_positive_bound T hT A B R hB hR hsmall hb j hj | |
| 71 | - (projIcc 0 T hT t) (sectionPoint P q) | |
| 72 | - | |
| 73 | 38 | include hA hdiv in |
| 74 | 39 | theorem displacementJet_memLp_and_bound (B R C S : ℝ) |
| 75 | 40 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −33 Euler/SmoothCylinderJets.lean View file
| @@ -55,23 +55,6 @@ def compositionJet (t : ℝ) (q : LiftDomain P) (n : ℕ) : LiftTangent [×n]→ | ||
| 55 | 55 | (jetSeries P (velocityCover T hT A t) (forward P T hT A (projIcc 0 T hT t) q)).taylorComp |
| 56 | 56 | (jetSeries P (forwardCover T hT A t) q) n |
| 57 | 57 | |
| 58 | -include hA in | |
| 59 | -theorem displacement_cover (t : ℝ) (z : LiftTangent) : | |
| 60 | - displacement P T hT A t (coveringMap P z)=EulerSmoothBanachFlow.displacement T hT A t z := | |
| 61 | - descend_cover P _ (fiber_constant_of_deck P _ (coverDisplacement_deck P T hT A hA t)) z | |
| 62 | - | |
| 63 | -include hA in | |
| 64 | -theorem displacement_smooth (t : ℝ) (q : LiftDomain P) : | |
| 65 | - ContDiff ℝ ∞ (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) := | |
| 66 | - descend_smooth P _ (coverDisplacement_deck P T hT A hA t) | |
| 67 | - (EulerSmoothBanachFlow.displacement_contDiff T hT A t) q | |
| 68 | - | |
| 69 | -include hA in | |
| 70 | -theorem displacementJet_local (t : ℝ) (q : LiftDomain P) (n : ℕ) : | |
| 71 | - displacementJet P T hT A t q n = | |
| 72 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) 0 := | |
| 73 | - jetSeries_eq_local P _ (coverDisplacement_deck P T hT A hA t) q n | |
| 74 | - | |
| 75 | 58 | include hA in |
| 76 | 59 | theorem compositionJet_eq (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 77 | 60 | compositionJet P T hT A t q n = |
| @@ -108,12 +91,6 @@ theorem velocityJetPath_label_continuous (n : ℕ) : | ||
| 108 | 91 | (tensorPathMap n).continuous.comp |
| 109 | 92 | (ContDiff.continuous_iteratedFDeriv (by simp) (velocityFamily_contDiff T hT A)) |
| 110 | 93 | |
| 111 | -omit [Fact (0 < P)] in | |
| 112 | -theorem displacementJetPath_label_continuous (n : ℕ) : | |
| 113 | - Continuous (displacementJetPath T hT A n) := | |
| 114 | - (tensorPathMap n).continuous.comp | |
| 115 | - (ContDiff.continuous_iteratedFDeriv (by simp) (displacementFamily_contDiff T hT A)) | |
| 116 | - | |
| 117 | 94 | include hA in |
| 118 | 95 | theorem compositionJet_joint_measurable (n : ℕ) : |
| 119 | 96 | Measurable (fun z : ℝ × LiftDomain P => compositionJet P T hT A z.1 z.2 n) := by |
| @@ -125,14 +102,4 @@ theorem compositionJet_joint_measurable (n : ℕ) : | ||
| 125 | 102 | ((sectionPoint_measurable P).comp measurable_snd)) |
| 126 | 103 | simpa only [compositionJet_path P T hT A hA,Function.comp_def] using hm |
| 127 | 104 | |
| 128 | -theorem displacementJet_joint_measurable (n : ℕ) : | |
| 129 | - Measurable (fun z : ℝ × LiftDomain P => displacementJet P T hT A z.1 z.2 n) := by | |
| 130 | - have hc : Continuous (fun z : ℝ × LiftTangent => | |
| 131 | - extendPath T hT (displacementJetPath T hT A n z.2) z.1) := | |
| 132 | - ((displacementJetPath_label_continuous T hT A n).comp continuous_snd).eval | |
| 133 | - (continuous_projIcc.comp continuous_fst) | |
| 134 | - have hm := hc.measurable.comp (measurable_fst.prodMk | |
| 135 | - ((sectionPoint_measurable P).comp measurable_snd)) | |
| 136 | - simpa only [displacementJet_path,Function.comp_def] using hm | |
| 137 | - | |
| 138 | 105 | end EulerSmoothCylinderFlow |
+0 −7 Euler/SmoothFieldSobolevTime.lean View file
| @@ -103,11 +103,4 @@ theorem sobolevPath_hasDerivWithinAt (q : ℕ) (t : Icc (0 : ℝ) T) : | ||
| 103 | 103 | simp only [extendPath,sobolevPath,ContinuousMap.coe_mk,Function.comp_def,restrict_sobolev] |
| 104 | 104 | rfl |
| 105 | 105 | |
| 106 | -include hd in | |
| 107 | -theorem sobolevPath_hasDerivAt (q : ℕ) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 108 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 109 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 110 | - (sobolevPath_hasDerivWithinAt T hT A B hA hB hd q ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt | |
| 111 | - (Icc_mem_nhds ht.1 ht.2) | |
| 112 | - | |
| 113 | 106 | end EulerSmoothFieldSobolevTime |
+0 −14 Euler/SmoothFlowAcceleration.lean View file
| @@ -70,18 +70,4 @@ theorem velocityFamily_time_derivative | ||
| 70 | 70 | · intro _ s hs |
| 71 | 71 | exact velocityFamily_time_derivative_interior T hT A A₁ htime x s hs |
| 72 | 72 | |
| 73 | -theorem forward_second_time_derivative | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (x : E) (t : Icc (0 : ℝ) T) : | |
| 76 | - HasDerivWithinAt (fun s => deriv (fun r => (flowData T hT A).forward r x) s) | |
| 77 | - (accelerationFamily T hT A A₁ x t) (Icc (0 : ℝ) T) t := by | |
| 78 | - apply (velocityFamily_time_derivative T hT A A₁ htime x t).congr_of_mem _ t.property | |
| 79 | - intro s hs | |
| 80 | - rw [((flowData T hT A).forward_hasDerivAt s x).deriv] | |
| 81 | - change (flowData T hT A).velocity s ((flowData T hT A).forward s x) = | |
| 82 | - velocityFamily T hT A x (projIcc 0 T hT s) | |
| 83 | - rw [projIcc_of_mem hT hs] | |
| 84 | - exact EulerBoundedLipschitzFlow.ofTimeInterval_velocity T hT A.field | |
| 85 | - ‖A.derivative.field‖₊ (velocity_lipschitz T A) ⟨s,hs⟩ _ | |
| 86 | - | |
| 87 | 73 | end EulerSmoothBanachFlow |
+0 −10 Euler/SmoothFlowCoefficientPaths.lean View file
| @@ -65,11 +65,6 @@ def displacementCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 65 | 65 | (displacementCoefficient T hT A B R hB hR hsmall hb).field t x = |
| 66 | 66 | (flowData T hT A).forward t x-x := rfl |
| 67 | 67 | |
| 68 | -theorem displacementCoefficient_jet_norm (n : ℕ) : | |
| 69 | - ‖(displacementCoefficient T hT A B R hB hR hsmall hb).jet n‖ ≤ | |
| 70 | - B*T*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 71 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 72 | - | |
| 73 | 68 | variable (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 74 | 69 | (htime : SmoothTimeField.TimeDerivative T hT A A₁) |
| 75 | 70 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| @@ -98,9 +93,4 @@ def velocityCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 98 | 93 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).field t x = |
| 99 | 94 | A.field t ((flowData T hT A).forward t x) := rfl |
| 100 | 95 | |
| 101 | -theorem velocityCoefficient_jet_norm (n : ℕ) : | |
| 102 | - ‖(velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).jet n‖ ≤ | |
| 103 | - B*(flowRadius B R T R)^n*(n.factorial : ℝ)^2 := by | |
| 104 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 105 | - | |
| 106 | 96 | end EulerSmoothBanachFlow |
+0 −33 Euler/SmoothFlowDeformation.lean View file
| @@ -81,37 +81,4 @@ variable (htime : SmoothTimeField.TimeDerivative T hT A A₁) | ||
| 81 | 81 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| 82 | 82 | (hb₁ : ∀ n, ‖A₁.jet n‖ ≤ B₁*R₁^n*(n.factorial : ℝ)^2) |
| 83 | 83 | |
| 84 | -def deformationTimeCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 85 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).derivative | |
| 86 | - | |
| 87 | -def deformationSecondCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 88 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁).derivative | |
| 89 | - | |
| 90 | -theorem displacementCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 91 | - (displacementCoefficient T hT A B R hB hR hsmall hb) | |
| 92 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 93 | - intro t x | |
| 94 | - exact displacementFamily_time_derivative T hT A x t | |
| 95 | - | |
| 96 | -theorem velocityCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 97 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 98 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁) := by | |
| 99 | - intro t x | |
| 100 | - rw [accelerationCoefficient_apply] | |
| 101 | - exact velocityFamily_time_derivative T hT A A₁ htime x t | |
| 102 | - | |
| 103 | -theorem deformationCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 104 | - (deformationCoefficient T hT A B R hB hR hsmall hb) | |
| 105 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 106 | - have hd := SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 107 | - (displacementCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 108 | - intro t x | |
| 109 | - exact (hd t x).const_add (ContinuousLinearMap.id ℝ E) | |
| 110 | - | |
| 111 | -theorem deformationTimeCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 112 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 113 | - (deformationSecondCoefficient T hT A B R hB hR hsmall hb A₁) := | |
| 114 | - SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 115 | - (velocityCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 116 | - | |
| 117 | 84 | end EulerSmoothBanachFlow |
+0 −36 Euler/SmoothFlowJacobian.lean View file
| @@ -79,40 +79,4 @@ theorem forward_fderiv (t : Icc (0 : ℝ) T) (x : E) : | ||
| 79 | 79 | (jacobianEvolution T hT A x).forward t := |
| 80 | 80 | (forward_hasFDerivAt_label T hT A t x).fderiv |
| 81 | 81 | |
| 82 | -def jacobianEquiv (t : Icc (0 : ℝ) T) (x : E) : E ≃L[ℝ] E := | |
| 83 | - ContinuousLinearEquiv.equivOfInverse ((jacobianEvolution T hT A x).forward t) | |
| 84 | - ((jacobianEvolution T hT A x).backward t) | |
| 85 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 86 | - ((jacobianEvolution T hT A x).backward_forward t)) | |
| 87 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 88 | - ((jacobianEvolution T hT A x).forward_backward t)) | |
| 89 | - | |
| 90 | -theorem backward_hasFDerivAt_label (t : Icc (0 : ℝ) T) (x : E) : | |
| 91 | - HasFDerivAt (fun y => (flowData T hT A).backward t y) | |
| 92 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward t) x := by | |
| 93 | - apply EulerContinuousInverseDerivative.hasFDerivAt_inverse | |
| 94 | - (fun y => (flowData T hT A).forward t y) (fun y => (flowData T hT A).backward t y) x | |
| 95 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).forward t) | |
| 96 | - · exact ((flowData T hT A).backward_joint_continuous.comp | |
| 97 | - (continuous_const.prodMk continuous_id)).continuousAt | |
| 98 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 99 | - · exact Filter.Eventually.of_forall ((flowData T hT A).forward_backward t) | |
| 100 | - · intro v | |
| 101 | - exact congrArg (fun L : E →L[ℝ] E => L v) | |
| 102 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward_forward t) | |
| 103 | - | |
| 104 | -theorem backward_contDiff (t : Icc (0 : ℝ) T) : | |
| 105 | - ContDiff ℝ ∞ (fun y => (flowData T hT A).backward t y) := by | |
| 106 | - rw [contDiff_iff_contDiffAt] | |
| 107 | - intro x | |
| 108 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 109 | - (fun y => (flowData T hT A).backward t y) | |
| 110 | - (fun y => (flowData T hT A).forward t y) id x ∞ (by simp) | |
| 111 | - (((flowData T hT A).backward_joint_continuous.comp | |
| 112 | - (continuous_const.prodMk continuous_id)).continuousAt) | |
| 113 | - (forward_contDiff T hT A t).contDiffAt contDiff_id.contDiffAt | |
| 114 | - (jacobianEquiv T hT A t ((flowData T hT A).backward t x)) | |
| 115 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 116 | - · exact (flowData T hT A).forward_backward t | |
| 117 | - | |
| 118 | 82 | end EulerSmoothBanachFlow |
+0 −13 Euler/SmoothFlowJets.lean View file
| @@ -51,11 +51,6 @@ def velocityJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := | ||
| 51 | 51 | def displacementJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := |
| 52 | 52 | tensorPathMap n (iteratedFDeriv ℝ n (displacementFamily T hT A) x) |
| 53 | 53 | |
| 54 | -theorem jetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : | |
| 55 | - jetPath T hT A n x t = iteratedFDeriv ℝ n | |
| 56 | - (fun y => (flowData T hT A).forward t y) x := | |
| 57 | - tensorPath_iteratedFDeriv _ (pathFamily_contDiff T hT A) n x t | |
| 58 | - | |
| 59 | 54 | theorem velocityJetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : |
| 60 | 55 | velocityJetPath T hT A n x t = iteratedFDeriv ℝ n |
| 61 | 56 | (fun y => A.field t ((flowData T hT A).forward t y)) x := |
| @@ -127,14 +122,6 @@ theorem displacement_jet_hasDerivWithinAt (n : ℕ) (x : E) (t : Icc (0 : ℝ) T | ||
| 127 | 122 | rw [he, ← velocityJetPath_displacement] |
| 128 | 123 | exact displacementJetPath_hasDerivWithinAt T hT A n x t |
| 129 | 124 | |
| 130 | -theorem displacement_jet_continuous (n : ℕ) (x : E) : | |
| 131 | - Continuous (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) := by | |
| 132 | - have he : (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) = | |
| 133 | - extendPath T hT (displacementJetPath T hT A n x) := | |
| 134 | - funext (fun t => (displacementJetPath_apply T hT A n x t).symm) | |
| 135 | - rw [he] | |
| 136 | - exact extendPath_continuous T hT _ | |
| 137 | - | |
| 138 | 125 | theorem velocity_jet_continuous (n : ℕ) (x : E) : |
| 139 | 126 | Continuous (fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 140 | 127 | (fun y => A.field t (y + displacement T hT A t y)) x) := by |
+0 −113 Euler/SmoothFlowJoint.lean View file
| @@ -25,63 +25,6 @@ theorem accelerationFamily_contDiff : ContDiff ℝ ∞ (accelerationFamily T hT | ||
| 25 | 25 | (contDiff_apply _ _ (A.derivative.superposition_contDiff.comp hp) |
| 26 | 26 | (velocityFamily_contDiff T hT A)) |
| 27 | 27 | |
| 28 | -theorem forward_joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 29 | - HasFDerivAt (Function.uncurry (flowData T hT A).forward) | |
| 30 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) (t,x) := by | |
| 31 | - have h := joint_hasFDerivAt T hT (pathFamily T hT A) (velocityFamily T hT A) | |
| 32 | - (pathFamily_contDiff T hT A) (velocityFamily_contDiff T hT A) | |
| 33 | - (pathFamily_time_derivative T hT A) t ht x | |
| 34 | - apply h.congr_of_eventuallyEq | |
| 35 | - filter_upwards [(continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2)] with p hp | |
| 36 | - change (flowData T hT A).forward p.1 p.2 = | |
| 37 | - extendPath T hT (pathFamily T hT A p.2) p.1 | |
| 38 | - simp only [extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩, pathFamily_apply] | |
| 39 | - | |
| 40 | -theorem forward_joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 41 | - ContDiffAt ℝ 1 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 42 | - rw [contDiffAt_one_iff] | |
| 43 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 44 | - {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 45 | - (jointDerivative_continuous T hT _ _ (pathFamily_contDiff T hT A) | |
| 46 | - (velocityFamily_contDiff T hT A).continuous).continuousOn, ?_⟩ | |
| 47 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 48 | - · intro p hp | |
| 49 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 50 | - | |
| 51 | -theorem forward_jointDerivative_contDiffAt_one | |
| 52 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 53 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 54 | - ContDiffAt ℝ 1 | |
| 55 | - (Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A))) (t,x) := by | |
| 56 | - have hq := joint_contDiffAt_one T hT (velocityFamily T hT A) (accelerationFamily T hT A A₁) | |
| 57 | - (velocityFamily_contDiff T hT A) (accelerationFamily_contDiff T hT A A₁) | |
| 58 | - (velocityFamily_time_derivative T hT A A₁ htime) t ht x | |
| 59 | - have hJ := joint_contDiffAt_one T hT (spatialDerivative T (pathFamily T hT A)) | |
| 60 | - (spatialDerivative T (velocityFamily T hT A)) | |
| 61 | - (spatialDerivative_contDiff T _ (pathFamily_contDiff T hT A)) | |
| 62 | - (spatialDerivative_contDiff T _ (velocityFamily_contDiff T hT A)) | |
| 63 | - (spatialDerivative_time T hT _ _ (pathFamily_contDiff T hT A) | |
| 64 | - (velocityFamily_contDiff T hT A) (pathFamily_time_derivative T hT A)) t ht x | |
| 65 | - have hs := (ContinuousLinearMap.toSpanSingletonLIE ℝ E).toContinuousLinearEquiv.contDiff.contDiffAt.comp | |
| 66 | - (t,x) hq | |
| 67 | - let L : ((ℝ →L[ℝ] E) × (E →L[ℝ] E)) →L[ℝ] ((ℝ × E) →L[ℝ] E) := | |
| 68 | - (ContinuousLinearMap.coprodEquivL (𝕜 := ℝ) (E := ℝ) (F := E) (G := E) ℝ).toContinuousLinearMap | |
| 69 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := 1) | |
| 70 | - (E := (ℝ →L[ℝ] E) × (E →L[ℝ] E)) (F := (ℝ × E) →L[ℝ] E) L).contDiffAt.comp | |
| 71 | - (t,x) (hs.prodMk hJ) | |
| 72 | - | |
| 73 | -theorem forward_joint_contDiffAt_two | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 76 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 77 | - rw [show (2 : ℕ∞ω) = ((1 : ℕ) + 1) from rfl, contDiffAt_succ_iff_hasFDerivAt] | |
| 78 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 79 | - ⟨{p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, ?_⟩, | |
| 80 | - forward_jointDerivative_contDiffAt_one T hT A A₁ htime t ht x⟩ | |
| 81 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 82 | - · intro p hp | |
| 83 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 84 | - | |
| 85 | 28 | omit [FiniteDimensional ℝ E] in |
| 86 | 29 | def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) := |
| 87 | 30 | ContinuousLinearEquiv.equivOfInverse |
| @@ -95,61 +38,5 @@ def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) | ||
| 95 | 38 | (by intro p; ext <;> simp) |
| 96 | 39 | (by intro p; ext <;> simp) |
| 97 | 40 | |
| 98 | -def liftForward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).forward p.1 p.2) | |
| 99 | -def liftBackward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).backward p.1 p.2) | |
| 100 | - | |
| 101 | -theorem liftForward_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 102 | - HasFDerivAt (liftForward T hT A) | |
| 103 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 104 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap (t,x) := by | |
| 105 | - have h : HasFDerivAt (liftForward T hT A) | |
| 106 | - ((ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 107 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x)) (t,x) := | |
| 108 | - hasFDerivAt_fst.prodMk (forward_joint_hasFDerivAt T hT A t ht x) | |
| 109 | - have he : (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 110 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap = | |
| 111 | - (ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 112 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) := by | |
| 113 | - apply ContinuousLinearMap.ext | |
| 114 | - intro p | |
| 115 | - ext | |
| 116 | - · rfl | |
| 117 | - · change p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 118 | - (jacobianEvolution T hT A x).forward ⟨t,ht.1.le,ht.2.le⟩ p.2 = | |
| 119 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) p | |
| 120 | - simp only [jointDerivative, timeSlice, extendPath, | |
| 121 | - projIcc_of_mem hT ⟨ht.1.le,ht.2.le⟩, ContinuousLinearMap.coprod_apply, | |
| 122 | - ContinuousLinearMap.toSpanSingleton_apply] | |
| 123 | - rw [spatialDerivative_apply T _ (pathFamily_contDiff T hT A)] | |
| 124 | - change _ = p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 125 | - fderiv ℝ (fun y => (flowData T hT A).forward t y) x p.2 | |
| 126 | - rw [forward_fderiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x] | |
| 127 | - rw [he] | |
| 128 | - exact h | |
| 129 | - | |
| 130 | -theorem liftBackward_contDiffAt_two | |
| 131 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 132 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 133 | - ContDiffAt ℝ 2 (liftBackward T hT A) (t,x) := by | |
| 134 | - let y := (flowData T hT A).backward t x | |
| 135 | - have hg : ContDiffAt ℝ 2 (liftForward T hT A) (t,y) := | |
| 136 | - contDiffAt_fst.prodMk (forward_joint_contDiffAt_two T hT A A₁ htime t ht y) | |
| 137 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 138 | - (liftBackward T hT A) (liftForward T hT A) id (t,x) 2 (by norm_num) | |
| 139 | - ((continuous_fst.prodMk (flowData T hT A).backward_joint_continuous).continuousAt) | |
| 140 | - hg contDiff_id.contDiffAt | |
| 141 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ y) | |
| 142 | - (velocityFamily T hT A y ⟨t,ht.1.le,ht.2.le⟩)) | |
| 143 | - · exact liftForward_hasFDerivAt T hT A t ht y | |
| 144 | - · intro p | |
| 145 | - ext | |
| 146 | - · rfl | |
| 147 | - · exact (flowData T hT A).forward_backward p.1 p.2 | |
| 148 | - | |
| 149 | -theorem backward_joint_contDiffAt_two | |
| 150 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 151 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 152 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).backward) (t,x) := | |
| 153 | - (liftBackward_contDiffAt_two T hT A A₁ htime t ht x).snd | |
| 154 | 41 | |
| 155 | 42 | end EulerSmoothBanachFlow |
+0 −7 Euler/SmoothFlowParity.lean View file
| @@ -23,9 +23,6 @@ theorem flow_odd (ho : ∀ t, Function.Odd (V.velocity t)) (s t : ℝ) : Functio | ||
| 23 | 23 | theorem forward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : |
| 24 | 24 | Function.Odd (V.forward t) := V.flow_odd ho 0 t |
| 25 | 25 | |
| 26 | -theorem backward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : | |
| 27 | - Function.Odd (V.backward t) := V.flow_odd ho t 0 | |
| 28 | - | |
| 29 | 26 | end EulerBoundedLipschitzFlow.Data |
| 30 | 27 | |
| 31 | 28 | namespace EulerSmoothBanachFlow |
| @@ -39,8 +36,4 @@ theorem forward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | ||
| 39 | 36 | Function.Odd ((flowData T hT A).forward t) := |
| 40 | 37 | (flowData T hT A).forward_odd (fun r => ho (projIcc 0 T hT r)) t |
| 41 | 38 | |
| 42 | -theorem backward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | |
| 43 | - Function.Odd ((flowData T hT A).backward t) := | |
| 44 | - (flowData T hT A).backward_odd (fun r => ho (projIcc 0 T hT r)) t | |
| 45 | - | |
| 46 | 39 | end EulerSmoothBanachFlow |
+0 −8 Euler/SmoothFlowVolume.lean View file
| @@ -42,12 +42,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 42 | 42 | · exact ((flowData T hT A).flowHomeomorph 0 t).bijective |
| 43 | 43 | · exact jacobianEvolution_det_one T hT A hdiv t |
| 44 | 44 | |
| 45 | -include hdiv in | |
| 46 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 47 | - MeasurePreserving ((flowData T hT A).backward t) μ μ := by | |
| 48 | - let e := (flowData T hT A).flowHomeomorph 0 t | |
| 49 | - have hm : MeasurePreserving e.toMeasurableEquiv μ μ := | |
| 50 | - forward_measurePreserving T hT A hdiv μ t | |
| 51 | - exact MeasurePreserving.symm e.toMeasurableEquiv hm | |
| 52 | - | |
| 53 | 45 | end EulerSmoothBanachFlow |
+0 −29 Euler/SmoothGraphFlow.lean View file
| @@ -64,15 +64,6 @@ theorem graph_displacement_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 64 | 64 | rw [graph_flow_cover k m T hT A hgraph] |
| 65 | 65 | rfl |
| 66 | 66 | |
| 67 | -include hgraph in | |
| 68 | -theorem graph_forward_contDiff (t : Icc (0 : ℝ) T) : | |
| 69 | - ContDiff ℝ ∞ (graphFlow k m (flowData T hT A) 0 t) := by | |
| 70 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 71 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 72 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 73 | - rw [he] | |
| 74 | - exact forward_contDiff T hT (graphCoefficient k m T A) t | |
| 75 | - | |
| 76 | 67 | variable (hdiv : ∀ t z, |
| 77 | 68 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) z).toLinearMap=0) |
| 78 | 69 | |
| @@ -83,24 +74,4 @@ theorem graphCoefficient_trace_zero (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 83 | 74 | graphVelocity_trace_zero k m (A.field t) ((A.smooth t).differentiable (by simp)) |
| 84 | 75 | (hgraph t) (hdiv t) x |
| 85 | 76 | |
| 86 | -include hgraph hdiv in | |
| 87 | -theorem graph_forward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 88 | - MeasurePreserving (graphFlow k m (flowData T hT A) 0 t) volume volume := by | |
| 89 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 90 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 91 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 92 | - rw [he] | |
| 93 | - exact forward_measurePreserving T hT (graphCoefficient k m T A) | |
| 94 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 95 | - | |
| 96 | -include hgraph hdiv in | |
| 97 | -theorem graph_backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 98 | - MeasurePreserving (graphFlow k m (flowData T hT A) t 0) volume volume := by | |
| 99 | - have he : graphFlow k m (flowData T hT A) t 0 = | |
| 100 | - (flowData T hT (graphCoefficient k m T A)).backward t := | |
| 101 | - funext (graph_flow_eq k m T hT A hgraph t 0) | |
| 102 | - rw [he] | |
| 103 | - exact backward_measurePreserving T hT (graphCoefficient k m T A) | |
| 104 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 105 | - | |
| 106 | 77 | end EulerGraphInvariantFlow |
+0 −10 Euler/SmoothL2Series.lean View file
| @@ -46,12 +46,6 @@ theorem partialSum_field (A : ℕ → SmoothL2Field Space) (n : ℕ) (x : Space) | ||
| 46 | 46 | | zero => simp only [partialSum,zeroField,sum_range_zero]; rfl |
| 47 | 47 | | succ n ih => simp only [partialSum,addField_field,ih,sum_range_succ] |
| 48 | 48 | |
| 49 | -theorem partialSum_jet (A : ℕ → SmoothL2Field Space) (n q : ℕ) : | |
| 50 | - (partialSum A n).jetLp q=∑ i ∈ range n, (A i).jetLp q := by | |
| 51 | - induction n with | |
| 52 | - | zero => simp only [partialSum,zeroField_jet,sum_range_zero] | |
| 53 | - | succ n ih => simp only [partialSum,jetLp_addField,ih,sum_range_succ] | |
| 54 | - | |
| 55 | 49 | theorem partialSum_value (A : ℕ → SmoothL2Field Space) (n : ℕ) : |
| 56 | 50 | (partialSum A n).toLp=∑ i ∈ range n, (A i).toLp := by |
| 57 | 51 | induction n with |
| @@ -104,10 +98,6 @@ theorem sumField_jet_tendsto (q : ℕ) : | ||
| 104 | 98 | Tendsto (fun n => (partialSum A n).jetLp q) atTop (𝓝 ((sumField A hA).jetLp q)) := |
| 105 | 99 | (limitData A hA).jet_convergence q ⟨0,le_rfl,le_rfl⟩ |
| 106 | 100 | |
| 107 | -theorem sumField_value_tendsto : | |
| 108 | - Tendsto (fun n => (partialSum A n).toLp) atTop (𝓝 ((sumField A hA).toLp)) := | |
| 109 | - (limitData A hA).toLp_convergence ⟨0,le_rfl,le_rfl⟩ | |
| 110 | - | |
| 111 | 101 | theorem sumField_Hm_tendsto (q : ℕ) : |
| 112 | 102 | Tendsto (fun n => ∑ j ∈ range (q+1), |
| 113 | 103 | ‖(partialSum A n).jetLp j-(sumField A hA).jetLp j‖) atTop (𝓝 0) := by |
+0 −89 Euler/SmoothPathJoint.lean View file
| @@ -18,97 +18,8 @@ variable {E V : Type*} | ||
| 18 | 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 19 | 19 | (T : ℝ) (hT : 0 ≤ T) (f q : E → C(Icc (0 : ℝ) T,V)) |
| 20 | 20 | |
| 21 | -def timeSlice (t : ℝ) (x : E) : V := extendPath T hT (f x) t | |
| 22 | - | |
| 23 | -omit [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedSpace ℝ V] [FiniteDimensional ℝ V] in | |
| 24 | -theorem timeSlice_joint_continuous (hf : Continuous f) : | |
| 25 | - Continuous (Function.uncurry (timeSlice T hT f)) := by | |
| 26 | - unfold timeSlice extendPath | |
| 27 | - fun_prop | |
| 28 | - | |
| 29 | -def spatialDerivative (x : E) : C(Icc (0 : ℝ) T,E →L[ℝ] V) := | |
| 30 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 31 | - ℝ (Icc (0 : ℝ) T)) (jetFamily T f 1 x) | |
| 32 | - | |
| 33 | -theorem spatialDerivative_contDiff (hf : ContDiff ℝ ∞ f) : | |
| 34 | - ContDiff ℝ ∞ (spatialDerivative T f) := by | |
| 35 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 36 | - (E := C(Icc (0 : ℝ) T,E [×1]→L[ℝ] V)) (F := C(Icc (0 : ℝ) T,E →L[ℝ] V)) | |
| 37 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 38 | - ℝ (Icc (0 : ℝ) T))).comp (jetFamily_contDiff T f hf 1) | |
| 39 | - | |
| 40 | -theorem spatialDerivative_apply (hf : ContDiff ℝ ∞ f) (x : E) (t : Icc (0 : ℝ) T) : | |
| 41 | - spatialDerivative T f x t = fderiv ℝ (fun y => f y t) x := by | |
| 42 | - change continuousMultilinearCurryFin1 ℝ E V (jetFamily T f 1 x t) = _ | |
| 43 | - rw [jetFamily_apply T f hf] | |
| 44 | - apply ContinuousLinearMap.ext | |
| 45 | - intro v | |
| 46 | - rw [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] | |
| 47 | - simp | |
| 48 | - | |
| 49 | -theorem timeSlice_hasFDerivAt (hf : ContDiff ℝ ∞ f) (t : ℝ) (x : E) : | |
| 50 | - HasFDerivAt (timeSlice T hT f t) (spatialDerivative T f x (projIcc 0 T hT t)) x := by | |
| 51 | - rw [spatialDerivative_apply T f hf] | |
| 52 | - exact (((ContinuousMap.evalCLM ℝ (projIcc 0 T hT t)).contDiff.comp hf).differentiable | |
| 53 | - (by simp) x).hasFDerivAt | |
| 54 | - | |
| 55 | -def jointDerivative (t : ℝ) (x : E) : (ℝ × E) →L[ℝ] V := | |
| 56 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q t x)).coprod | |
| 57 | - (timeSlice T hT (spatialDerivative T f) t x) | |
| 58 | - | |
| 59 | -theorem jointDerivative_continuous (hf : ContDiff ℝ ∞ f) (hq : Continuous q) : | |
| 60 | - Continuous (Function.uncurry (jointDerivative T hT f q)) := by | |
| 61 | - exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 62 | - (timeSlice_joint_continuous T hT q hq)).continuousLinearMapCoprod | |
| 63 | - (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 64 | - (spatialDerivative_contDiff T f hf).continuous) | |
| 65 | - | |
| 66 | 21 | variable (hf : ContDiff ℝ ∞ f) (hq : ContDiff ℝ ∞ q) |
| 67 | 22 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 68 | 23 | HasDerivWithinAt (extendPath T hT (f x)) (q x t) (Icc (0 : ℝ) T) t) |
| 69 | 24 | |
| 70 | -include hf hq hd in | |
| 71 | -theorem joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 72 | - HasFDerivAt (Function.uncurry (timeSlice T hT f)) (jointDerivative T hT f q t x) (t,x) := by | |
| 73 | - have hloc : ∀ᶠ p : ℝ × E in 𝓝 (t,x), p.1 ∈ Ioo 0 T := | |
| 74 | - (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 75 | - apply HasStrictFDerivAt.hasFDerivAt | |
| 76 | - apply hasStrictFDerivAt_uncurry_coprod | |
| 77 | - (f := timeSlice T hT f) (u := (t,x)) | |
| 78 | - (f₁ := fun s y => ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q s y)) | |
| 79 | - (f₂ := timeSlice T hT (spatialDerivative T f)) | |
| 80 | - · filter_upwards [hloc] with p hp | |
| 81 | - change HasFDerivAt (fun s => timeSlice T hT f s p.2) | |
| 82 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q p.1 p.2)) p.1 | |
| 83 | - have hh := (hd p.2 ⟨p.1,hp.1.le,hp.2.le⟩).hasDerivAt (Icc_mem_nhds hp.1 hp.2) | |
| 84 | - have he : timeSlice T hT q p.1 p.2 = q p.2 ⟨p.1,hp.1.le,hp.2.le⟩ := by | |
| 85 | - simp only [timeSlice, extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩] | |
| 86 | - rw [he] | |
| 87 | - exact hh.hasFDerivAt | |
| 88 | - · apply Eventually.of_forall | |
| 89 | - intro p | |
| 90 | - exact timeSlice_hasFDerivAt T hT f hf p.1 p.2 | |
| 91 | - · exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 92 | - (timeSlice_joint_continuous T hT q hq.continuous)).continuousAt | |
| 93 | - · exact (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 94 | - (spatialDerivative_contDiff T f hf).continuous).continuousAt | |
| 95 | - | |
| 96 | -include hf hq hd in | |
| 97 | -theorem joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 98 | - ContDiffAt ℝ 1 (Function.uncurry (timeSlice T hT f)) (t,x) := by | |
| 99 | - rw [contDiffAt_one_iff] | |
| 100 | - refine ⟨Function.uncurry (jointDerivative T hT f q), {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 101 | - (jointDerivative_continuous T hT f q hf hq.continuous).continuousOn, ?_⟩ | |
| 102 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 103 | - · intro p hp | |
| 104 | - exact joint_hasFDerivAt T hT f q hf hq hd p.1 hp p.2 | |
| 105 | - | |
| 106 | -include hf hq hd in | |
| 107 | -theorem spatialDerivative_time (x : E) (t : Icc (0 : ℝ) T) : | |
| 108 | - HasDerivWithinAt (extendPath T hT (spatialDerivative T f x)) | |
| 109 | - (spatialDerivative T q x t) (Icc (0 : ℝ) T) t := by | |
| 110 | - have h := (continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.hasFDerivAt.comp_hasDerivWithinAt | |
| 111 | - (t : ℝ) (jetFamily_hasDerivWithinAt T hT f q hf hq hd 1 x t) | |
| 112 | - exact h | |
| 113 | - | |
| 114 | 25 | end EulerSmoothPathJoint |
+0 −4 Euler/SmoothPathSuperposition.lean View file
| @@ -103,8 +103,4 @@ private theorem superposition_contDiff_nat (n : ℕ) : | ||
| 103 | 103 | exact contDiff_multiplier A.derivative.superposition |
| 104 | 104 | (ih (Space →L[ℝ] V) A.derivative) |
| 105 | 105 | |
| 106 | -theorem superposition_contDiff (A : SmoothCoefficientPath K V) : | |
| 107 | - ContDiff ℝ ∞ A.superposition := | |
| 108 | - contDiff_infty.mpr (fun n => superposition_contDiff_nat n V A) | |
| 109 | - | |
| 110 | 106 | end EulerMeanCoefficients.SmoothCoefficientPath |
+0 −8 Euler/SmoothPhysicalGraphFlow.lean View file
| @@ -69,14 +69,6 @@ theorem physicalCoefficient_timeDerivative (ell : ℝ) | ||
| 69 | 69 | scaledCoefficient_timeDerivative T hT (graphCoefficient k m T A) ell |
| 70 | 70 | (graphCoefficient k m T A₁) (graphCoefficient_timeDerivative k m T hT A A₁ htime) |
| 71 | 71 | |
| 72 | -include hgraph in | |
| 73 | -theorem physical_flow_eq (ell : ℝ) (hell : ell ≠ 0) (s t : ℝ) (x : Vector3) : | |
| 74 | - (flowData T hT (physicalCoefficient k m T A ell)).flow s t x = | |
| 75 | - ell • ((flowData T hT A).flow s t (graphLinear k m (ell⁻¹ • x))).1 := by | |
| 76 | - rw [physicalCoefficient,scaled_flow_eq T hT (graphCoefficient k m T A) ell hell] | |
| 77 | - rw [← graph_flow_eq k m T hT A hgraph] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 72 | include hgraph in |
| 81 | 73 | theorem physical_displacement_eq (ell : ℝ) (hell : ell ≠ 0) |
| 82 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
+0 −20 Euler/SmoothTimeFieldDerivativeBounds.lean View file
| @@ -22,24 +22,4 @@ private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V | ||
| 22 | 22 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 23 | 23 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 24 | 24 | |
| 25 | -theorem derivative_jet_norm_le (A : SmoothTimeField K E V) (n : ℕ) : | |
| 26 | - ‖A.derivative.jet n‖ ≤ ‖A.jet (n+1)‖ := by | |
| 27 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 28 | - intro t | |
| 29 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 30 | - intro x | |
| 31 | - change ‖continuousMultilinearCurryRightEquiv' ℝ n E V (A.jet (n+1) t x)‖ ≤ _ | |
| 32 | - rw [LinearIsometryEquiv.norm_map] | |
| 33 | - exact ((A.jet (n+1) t).norm_coe_le_norm x).trans ((A.jet (n+1)).norm_coe_le_norm t) | |
| 34 | - | |
| 35 | -theorem derivative_field_norm_le (A : SmoothTimeField K E V) : | |
| 36 | - ‖A.derivative.field‖ ≤ ‖A.jet 1‖ := by | |
| 37 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 38 | - intro t | |
| 39 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 40 | - intro x | |
| 41 | - change ‖continuousMultilinearCurryFin1 ℝ E V (A.jet 1 t x)‖ ≤ _ | |
| 42 | - rw [LinearIsometryEquiv.norm_map] | |
| 43 | - exact ((A.jet 1 t).norm_coe_le_norm x).trans ((A.jet 1).norm_coe_le_norm t) | |
| 44 | - | |
| 45 | 25 | end SmoothTimeField |
+0 −19 Euler/SmoothTimeFieldFromPaths.lean View file
| @@ -63,23 +63,4 @@ def ofPathFamily : SmoothTimeField (Icc (0 : ℝ) T) E V where | ||
| 63 | 63 | iteratedFDeriv ℝ n (fun y => f y t) x := |
| 64 | 64 | jetFamily_apply T f hf n x t |
| 65 | 65 | |
| 66 | -theorem ofPathFamily_jet_norm (n : ℕ) : | |
| 67 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).jet n‖ ≤ C n := by | |
| 68 | - have hnonneg : 0 ≤ C n := (norm_nonneg _).trans (hC n ⟨0,le_rfl,hT⟩ 0) | |
| 69 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 70 | - intro t | |
| 71 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 72 | - intro x | |
| 73 | - rw [ofPathFamily_jet_apply] | |
| 74 | - exact hC n t x | |
| 75 | - | |
| 76 | -theorem ofPathFamily_field_norm : | |
| 77 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).field‖ ≤ C 0 := by | |
| 78 | - have hnonneg : 0 ≤ C 0 := (norm_nonneg _).trans (hC 0 ⟨0,le_rfl,hT⟩ 0) | |
| 79 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 80 | - intro t | |
| 81 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 82 | - intro x | |
| 83 | - exact value_bound T f C hC t x | |
| 84 | - | |
| 85 | 66 | end SmoothTimeField |
+0 −10 Euler/SmoothTimeFieldTimeJets.lean View file
| @@ -66,14 +66,4 @@ theorem TimeDerivative.derivative (htime : TimeDerivative T hT A A₁) : | ||
| 66 | 66 | (TimeDerivative.jet_pointwise T hT A A₁ htime 1 x t) |
| 67 | 67 | exact h |
| 68 | 68 | |
| 69 | -theorem TimeDerivative.jet_uniform (htime : TimeDerivative T hT A A₁) | |
| 70 | - (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 71 | - HasDerivWithinAt (extendPath T hT (A.jet n)) | |
| 72 | - (A₁.jet n t) (Icc (0 : ℝ) T) t := by | |
| 73 | - have h := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT (A.jet n) (A₁.jet n) | |
| 74 | - (fun s hs x => by | |
| 75 | - simpa only [extendPath, projIcc_of_mem hT hs] using | |
| 76 | - TimeDerivative.jet_pointwise T hT A A₁ htime n x ⟨s,hs⟩) t t.property | |
| 77 | - simpa only [extendPath, projIcc_of_mem hT t.property] using h | |
| 78 | - | |
| 79 | 69 | end SmoothTimeField |
+0 −9 Euler/SobolevCoefficientPressure.lean View file
| @@ -121,15 +121,6 @@ theorem pressureSobolevOperator_value {q : ℕ} {A : SmoothCoefficient period} | ||
| 121 | 121 | jetLift_value period (pressureL2Operator period A κ m c hc hpos) |
| 122 | 122 | (fun J => J.solvePressure K κ m c hc hpos) u |
| 123 | 123 | |
| 124 | -/-- The explicit finite-order pressure bound on the complete Sobolev norm. -/ | |
| 125 | -theorem pressureSobolevOperator_bound {q : ℕ} {A : SmoothCoefficient period} | |
| 126 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 127 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 128 | - ‖pressureSobolevOperator period K κ m c hc hpos u‖ ≤ | |
| 129 | - (K.pressureConstant c * (Fintype.card (SobolevWord q) : ℝ)) * ‖u‖ := | |
| 130 | - jetLift_bound period _ _ _ (K.pressureConstant_nonneg c hc) | |
| 131 | - (fun J => J.solvePressure_norm_le K κ m c hc hpos) u | |
| 132 | - | |
| 133 | 124 | /-- Subtracting the actual coefficient-weighted pressure defines the projected Euler forcing. -/ |
| 134 | 125 | def projectedSourceOperator {q : ℕ} {A : SmoothCoefficient period} |
| 135 | 126 | (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
+0 −59 Euler/SobolevDriftNorm.lean View file
| @@ -235,63 +235,4 @@ theorem weightedDriftNorm_eq_classical {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) ( | ||
| 235 | 235 | intro n hn |
| 236 | 236 | rw [driftBlockNorm_eq_classical period (by have := Finset.mem_range.mp hn; omega) L u f hu hf] |
| 237 | 237 | |
| 238 | -/-- Restriction of the finite Sobolev ambient space preserves each retained drift coordinate. -/ | |
| 239 | -theorem driftLevelNorm_restrict {s t n : ℕ} (h : t ≤ s) (hn : n ≤ t) | |
| 240 | - (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 241 | - driftLevelNorm period n L (restrictOperator period h u) = driftLevelNorm period n L u := by | |
| 242 | - apply Finset.sum_congr rfl | |
| 243 | - intro w _ | |
| 244 | - rw [toJet_word period (restrictOperator period h u) hn, toJet_word period u (hn.trans h)] | |
| 245 | - rfl | |
| 246 | - | |
| 247 | -theorem weightedDriftNorm_restrict {s t : ℕ} (h : t ≤ s) (q N : ℕ) (hN : N+q ≤ t) | |
| 248 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 249 | - weightedDriftNorm period q N ρ L (restrictOperator period h u) = weightedDriftNorm period q N ρ L u := by | |
| 250 | - apply Finset.sum_congr rfl | |
| 251 | - intro n hn | |
| 252 | - congr 1 | |
| 253 | - apply Finset.sum_congr rfl | |
| 254 | - intro r hr | |
| 255 | - exact driftLevelNorm_restrict period h | |
| 256 | - (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega) L u | |
| 257 | - | |
| 258 | -theorem weightedDriftNorm_truncate {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 259 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period (s+1)) : | |
| 260 | - weightedDriftNorm period q N ρ L (truncateOperator period s u) = weightedDriftNorm period q N ρ L u := by | |
| 261 | - have he : truncateOperator period s u = restrictOperator period (Nat.le_succ s) u := by | |
| 262 | - apply value_injective period | |
| 263 | - rfl | |
| 264 | - rw [he] | |
| 265 | - exact weightedDriftNorm_restrict period (Nat.le_succ s) q N hN ρ L u | |
| 266 | - | |
| 267 | -/-- Actual smooth approximations converge in the drift norm at every retained weighted cutoff. -/ | |
| 268 | -theorem weightedDriftNorm_smoothApprox_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 269 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 270 | - Tendsto (fun n => weightedDriftNorm period q N ρ L | |
| 271 | - (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u))) atTop | |
| 272 | - (𝓝 (weightedDriftNorm period q N ρ L u)) := | |
| 273 | - ((continuous_weightedDriftNorm period q N hN ρ L).tendsto u).comp (smoothApprox_tendsto period u) | |
| 274 | - | |
| 275 | -/-- A zero field has zero drift at every valid weighted cutoff. -/ | |
| 276 | -theorem weightedDriftNorm_zero {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) | |
| 277 | - (L : Vector3 →L[ℝ] Domain 4) : weightedDriftNorm period q N ρ L (0 : SobolevSpace period s) = 0 := by | |
| 278 | - apply Finset.sum_eq_zero | |
| 279 | - intro n hn | |
| 280 | - apply mul_eq_zero_of_right | |
| 281 | - apply Finset.sum_eq_zero | |
| 282 | - intro r hr | |
| 283 | - apply Finset.sum_eq_zero | |
| 284 | - intro w _ | |
| 285 | - rw [driftWordOperator_eq period | |
| 286 | - (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega : n+r ≤ s), map_zero, norm_zero] | |
| 287 | - | |
| 288 | -/-- Smoothing errors themselves tend to zero in the genuine drift norm. -/ | |
| 289 | -theorem weightedDriftNorm_smoothApprox_sub_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 290 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 291 | - Tendsto (fun n => weightedDriftNorm period q N ρ L | |
| 292 | - (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u) - u)) atTop (𝓝 0) := by | |
| 293 | - have h := ((continuous_weightedDriftNorm period q N hN ρ L).tendsto (0 : SobolevSpace period s)).comp | |
| 294 | - (by simpa only [sub_self] using (smoothApprox_tendsto period u).sub (tendsto_const_nhds (x := u))) | |
| 295 | - simpa only [Function.comp_def, weightedDriftNorm_zero period q N hN ρ L] using h | |
| 296 | - | |
| 297 | 238 | end EulerSobolevDriftNorm |
+0 −52 Euler/SobolevEnergyPaths.lean View file
| @@ -16,21 +16,6 @@ open scoped Topology | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- Underlying L² values of a finite actual Sobolev family form a bounded linear map. -/ | |
| 20 | -def familyValueOperator (q : ℕ) {I : Type*} : | |
| 21 | - (I → SobolevSpace period q) →L[ℝ] (I → LiftL2 period) := | |
| 22 | - ContinuousLinearMap.pi (fun i => (valueOperator period q).comp (ContinuousLinearMap.proj i)) | |
| 23 | - | |
| 24 | -/-- The genuine L² field-family path underlying an actual Sobolev family path. -/ | |
| 25 | -def familyValuePath (q : ℕ) {I : Type*} (T : ℝ) | |
| 26 | - (u : C(Icc (0 : ℝ) T, I → SobolevSpace period q)) : C(Icc (0 : ℝ) T, I → LiftL2 period) := | |
| 27 | - (familyValueOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) T) u | |
| 28 | - | |
| 29 | -/-- Family-path values are the literal underlying L² values of the Sobolev fields. -/ | |
| 30 | -theorem familyValuePath_apply (q : ℕ) {I : Type*} (T : ℝ) | |
| 31 | - (u : C(Icc (0 : ℝ) T, I → SobolevSpace period q)) (t : Icc (0 : ℝ) T) (i : I) : | |
| 32 | - familyValuePath period q T u t i = value period (u t i) := rfl | |
| 33 | - | |
| 34 | 19 | omit [Fact (0 < period)] in |
| 35 | 20 | /-- The actual factorial Gevrey weight along a continuous radius path. -/ |
| 36 | 21 | def gevreyWeightPath (T : ℝ) (ρ : C(Icc (0 : ℝ) T, ℝ)) (n : ℕ) : C(Icc (0 : ℝ) T, ℝ) := |
| @@ -41,41 +26,4 @@ omit [Fact (0 < period)] in | ||
| 41 | 26 | def gevreyLossWeightPath (T : ℝ) (ρ : C(Icc (0 : ℝ) T, ℝ)) (n : ℕ) : C(Icc (0 : ℝ) T, ℝ) := |
| 42 | 27 | (n : ℝ) • gevreyWeightPath T ρ n |
| 43 | 28 | |
| 44 | -/-- A continuous-path weighted forcing integral is exactly its genuine Bochner forcing pairing. -/ | |
| 45 | -theorem forcing_integral_eq {A I : Type*} [Fintype A] [Fintype I] | |
| 46 | - (T : ℝ) (hT : 0 ≤ T) (c : C(Icc (0 : ℝ) T, ℝ)) | |
| 47 | - (w : A → C(Icc (0 : ℝ) T, ℝ)) (F : A → C(Icc (0 : ℝ) T, I → LiftL2 period)) : | |
| 48 | - (∫ t, pathLp T hT c t * weightedForcingTime T hT w (fun i => pathLp T hT (F i)) t ∂timeMeasure T) = | |
| 49 | - ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT (weightedForcingPath T w F) t := by | |
| 50 | - rw [weightedForcingTime_pathLp, ← inner_eq_integral, path_inner_eq_integral] | |
| 51 | - | |
| 52 | -/-- Finite actual weighted metric energy passes through uniform field limits and strong L² forcing limits, preserving the signed radius-loss integral. -/ | |
| 53 | -theorem weighted_energy_limit {A I : Type*} [Fintype A] [Fintype I] | |
| 54 | - (T : ℝ) (hT : 0 ≤ T) (w loss : A → C(Icc (0 : ℝ) T, ℝ)) | |
| 55 | - (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) | |
| 56 | - (a b c : C(Icc (0 : ℝ) T, ℝ)) | |
| 57 | - (E : ℕ → A → C(Icc (0 : ℝ) T, I → LiftL2 period)) | |
| 58 | - (F : ℕ → A → C(Icc (0 : ℝ) T, I → LiftL2 period)) | |
| 59 | - (e : A → C(Icc (0 : ℝ) T, I → LiftL2 period)) (f : A → TimeLp T (I → LiftL2 period)) | |
| 60 | - (hE : ∀ i, Filter.Tendsto (fun n => E n i) Filter.atTop (𝓝 (e i))) | |
| 61 | - (hF : ∀ i, Filter.Tendsto (fun n => pathLp T hT (F n i)) Filter.atTop (𝓝 (f i))) | |
| 62 | - (henergy : ∀ n, weightedMetricPath T w K (E n) ⟨T, hT, le_rfl⟩ - | |
| 63 | - weightedMetricPath T w K (E n) ⟨0, le_rfl, hT⟩ ≤ | |
| 64 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (weightedMetricPath T w K (E n)) t) + | |
| 65 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (weightedMetricPath T loss K (E n)) t) + | |
| 66 | - ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT (weightedForcingPath T w (F n)) t) : | |
| 67 | - weightedMetricPath T w K e ⟨T, hT, le_rfl⟩ - weightedMetricPath T w K e ⟨0, le_rfl, hT⟩ ≤ | |
| 68 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (weightedMetricPath T w K e) t) + | |
| 69 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (weightedMetricPath T loss K e) t) + | |
| 70 | - ∫ t, pathLp T hT c t * weightedForcingTime T hT w f t ∂timeMeasure T := by | |
| 71 | - apply integral_energy_limit T hT a b (pathLp T hT c) | |
| 72 | - (fun n => weightedMetricPath T w K (E n)) (fun n => weightedMetricPath T loss K (E n)) | |
| 73 | - (fun n => weightedForcingTime T hT w (fun i => pathLp T hT (F n i))) | |
| 74 | - (weightedMetricPath T w K e) (weightedMetricPath T loss K e) (weightedForcingTime T hT w f) | |
| 75 | - (weightedMetricPath_tendsto T w K E e hE) (weightedMetricPath_tendsto T loss K E e hE) | |
| 76 | - (weightedForcingTime_tendsto T hT w (fun n i => pathLp T hT (F n i)) f hF) | |
| 77 | - intro n | |
| 78 | - rw [forcing_integral_eq period] | |
| 79 | - exact henergy n | |
| 80 | - | |
| 81 | 29 | end EulerSobolevEnergyPaths |
+0 −27 Euler/SobolevHeat.lean View file
| @@ -90,31 +90,4 @@ theorem truncate_heatGain {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace | ||
| 90 | 90 | apply value_injective period |
| 91 | 91 | simp only [value_truncateOperator, heatGain_value, heatOperator_value] |
| 92 | 92 | |
| 93 | -/-- A fixed positive amount of smoothing may be separated from any remaining heat evolution. -/ | |
| 94 | -theorem heatGain_semigroup {q : ℕ} (v w : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : | |
| 95 | - heatGain period q v hv (heatOperator period q w u) = | |
| 96 | - heatGain period q (v + w) (add_pos_of_pos_of_nonneg hv (show 0 ≤ w from bot_le)) u := by | |
| 97 | - apply value_injective period | |
| 98 | - simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] | |
| 99 | - | |
| 100 | -/-- The gained-derivative heat orbit is strongly continuous at every positive variance. -/ | |
| 101 | -theorem heatGain_continuous {q : ℕ} (u : SobolevSpace period q) : | |
| 102 | - Continuous (fun v : {v : ℝ≥0 // 0 < v} => heatGain period q v.val v.property u) := by | |
| 103 | - apply continuous_iff_continuousAt.mpr | |
| 104 | - intro v | |
| 105 | - let ε : ℝ≥0 := v.val / 2 | |
| 106 | - have hε : 0 < ε := div_pos v.property (by norm_num) | |
| 107 | - have hεv : ε < v.val := by dsimp [ε]; exact half_lt_self v.property | |
| 108 | - have hc : Continuous (fun w : {v : ℝ≥0 // 0 < v} => | |
| 109 | - heatGain period q ε hε (heatOperator period q (w.val - ε) u)) := | |
| 110 | - (heatGain period q ε hε).continuous.comp | |
| 111 | - ((heatOperator_continuous period u).comp (continuous_subtype_val.sub continuous_const)) | |
| 112 | - apply hc.continuousAt.congr_of_eventuallyEq | |
| 113 | - have he : ∀ᶠ w : {v : ℝ≥0 // 0 < v} in 𝓝 v, ε < w.val := | |
| 114 | - (continuous_subtype_val.tendsto v).eventually (Ioi_mem_nhds hεv) | |
| 115 | - filter_upwards [he] with w hw | |
| 116 | - apply value_injective period | |
| 117 | - simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] | |
| 118 | - rw [add_tsub_cancel_of_le hw.le] | |
| 119 | - | |
| 120 | 93 | end EulerSobolevHeat |
+0 −9 Euler/SobolevHeatDerivativeCommutation.lean View file
| @@ -19,13 +19,4 @@ theorem derivative_heat {q : ℕ} (i : Fin 4) (v : ℝ≥0) (u : SobolevSpace pe | ||
| 19 | 19 | funext w |
| 20 | 20 | rfl |
| 21 | 21 | |
| 22 | -/-- Actual heat commutes with the genuine Laplacian between Sobolev levels. -/ | |
| 23 | -theorem laplacian_heat {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period (q+2)) : | |
| 24 | - laplacianOperator period q (heatOperator period (q+2) v u) = | |
| 25 | - heatOperator period q v (laplacianOperator period q u) := by | |
| 26 | - rw [laplacianOperator_apply, laplacianOperator_apply, map_sum] | |
| 27 | - apply Finset.sum_congr rfl | |
| 28 | - intro i _ | |
| 29 | - rw [derivative_heat, derivative_heat] | |
| 30 | - | |
| 31 | 22 | end EulerSobolevLaplacian |
+0 −10 Euler/SobolevLaplacian.lean View file
| @@ -87,16 +87,6 @@ theorem laplacianOperator_value {q : ℕ} (u : SobolevSpace period (q+2)) : | ||
| 87 | 87 | fin_cases j <;> rfl |
| 88 | 88 | rw [hw] |
| 89 | 89 | |
| 90 | -/-- The actual complete-Sobolev Laplacian has norm at most four. -/ | |
| 91 | -theorem laplacianOperator_bound {q : ℕ} (u : SobolevSpace period (q+2)) : | |
| 92 | - ‖laplacianOperator period q u‖ ≤ 4 * ‖u‖ := by | |
| 93 | - rw [laplacianOperator_apply] | |
| 94 | - apply (norm_sum_le _ _).trans | |
| 95 | - calc | |
| 96 | - _ ≤ ∑ _i : Fin 4, ‖u‖ := Finset.sum_le_sum fun i _ => | |
| 97 | - (derivativeOperator_bound period i _).trans (derivativeOperator_bound period i u) | |
| 98 | - _ = _ := by simp | |
| 99 | - | |
| 100 | 90 | /-- The actual Laplacian commutes with every coordinate derivative. -/ |
| 101 | 91 | theorem laplacian_derivative {q : ℕ} (i : Fin 4) (u : SobolevSpace period (q+3)) : |
| 102 | 92 | laplacianOperator period q (derivativeOperator period (q+2) i u) = |
+0 −28 Euler/SobolevMaximalRegularity.lean View file
| @@ -40,32 +40,4 @@ theorem maximal_limit_restriction {q : ℕ} (T : ℝ) (hT : 0 ≤ T) | ||
| 40 | 40 | limit_restriction_ae T hT (restrictOperator period (by omega : q+1 ≤ 2+q)) |
| 41 | 41 | (fun n => maximalApproximation period q T n u) u U hU (maximalApproximation_low_tendsto period q T u) |
| 42 | 42 | |
| 43 | -/-- Actual viscous mild solutions with continuous Hq forcing and H^(q+1) values possess full H^(q+2) regularity in Bochner L² time. | |
| 44 | -The stronger field is constructed from genuine heat approximations and identified with the original field almost everywhere. -/ | |
| 45 | -theorem viscous_mild_maximal_regularity {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) | |
| 46 | - (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) | |
| 47 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 48 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 49 | - u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + | |
| 50 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) : | |
| 51 | - ∃ U : TimeLp T (SobolevSpace period (2+q)), | |
| 52 | - ((fun t => restrictOperator period (by omega : q+1 ≤ 2+q) (U t)) =ᵐ[timeMeasure T] extendPath T hT u) ∧ | |
| 53 | - Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n u)) Filter.atTop (𝓝 U) := by | |
| 54 | - refine (exists_maximal_mild_limit period ν hν T hT u₀ f u hsol).imp ?_ | |
| 55 | - intro U hU | |
| 56 | - exact ⟨maximal_limit_restriction period T hT u U hU, hU⟩ | |
| 57 | - | |
| 58 | -/-- The genuine full higher-order spatial derivatives exist at almost every time of the actual viscous solution. -/ | |
| 59 | -theorem viscous_mild_ae_higher {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) | |
| 60 | - (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) | |
| 61 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 62 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 63 | - u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + | |
| 64 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) : | |
| 65 | - ∀ᵐ t ∂timeMeasure T, ∃ v : SobolevSpace period (2+q), | |
| 66 | - restrictOperator period (by omega : q+1 ≤ 2+q) v = extendPath T hT u t := by | |
| 67 | - obtain ⟨U, hU, _⟩ := viscous_mild_maximal_regularity period ν hν T hT u₀ f u hsol | |
| 68 | - filter_upwards [hU] with t ht | |
| 69 | - exact ⟨U t, ht⟩ | |
| 70 | - | |
| 71 | 43 | end EulerSobolevMaximalRegularity |
+0 −12 Euler/SobolevNonlinearCompatibility.lean View file
| @@ -71,16 +71,4 @@ theorem restrict_projectedSource {p q : ℕ} (hqp : q ≤ p) {A : SmoothCoeffici | ||
| 71 | 71 | apply value_injective period |
| 72 | 72 | rw [value_restrictOperator, projectedSourceOperator_value, projectedSourceOperator_value, value_restrictOperator] |
| 73 | 73 | |
| 74 | -/-- The actual order-zero algebraic term as a bilinear map on one complete Sobolev level. -/ | |
| 75 | -def algebraicAtBilinear {s : ℕ} (hs : 6 ≤ s) | |
| 76 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) : | |
| 77 | - SobolevSpace period s →L[ℝ] SobolevSpace period s →L[ℝ] SobolevSpace period s := | |
| 78 | - ∑ i : Fin 3, postcompose (C i) (productHqBilinear period hs (coordinate 3 i) (coordinate_norm_le 3 i)) | |
| 79 | - | |
| 80 | -/-- This bilinear map is precisely the already bounded order-zero Euler term. -/ | |
| 81 | -theorem algebraicAtBilinear_apply {s : ℕ} (hs : 6 ≤ s) | |
| 82 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) (u v : SobolevSpace period s) : | |
| 83 | - algebraicAtBilinear period hs C u v = algebraicAt period hs C u v := by | |
| 84 | - simp only [algebraicAtBilinear, sum_apply, postcompose_apply, productHqBilinear_apply, algebraicAt] | |
| 85 | - | |
| 86 | 74 | end EulerSobolevNonlinearCompatibility |
+0 −12 Euler/SobolevPathInterpolation.lean View file
| @@ -55,11 +55,6 @@ def wordPathOperator {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) : | ||
| 55 | 55 | C(Icc (0 : ℝ) T,SobolevSpace period s) →L[ℝ] C(Icc (0 : ℝ) T,LiftL2 period) := |
| 56 | 56 | (wordOperator period ⟨⟨n,Nat.lt_succ_of_le h⟩,w⟩).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 57 | 57 | |
| 58 | -/-- The derivative path is its literal derivative coordinate at each time. -/ | |
| 59 | -theorem wordPathOperator_apply {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) | |
| 60 | - (u : C(Icc (0 : ℝ) T,SobolevSpace period s)) (t : Icc (0 : ℝ) T) : | |
| 61 | - wordPathOperator period h w T u t = word period (u t) h w := rfl | |
| 62 | - | |
| 63 | 58 | /-- The exact strong-derivative interpolation inequality also controls the uniform time-path norm. -/ |
| 64 | 59 | theorem wordPath_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) (i : Fin 4) |
| 65 | 60 | (T : ℝ) (u : C(Icc (0 : ℝ) T,SobolevSpace period s)) : |
| @@ -79,13 +74,6 @@ theorem wordPath_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) | ||
| 79 | 74 | rw [Real.sq_sqrt hA] at hs |
| 80 | 75 | exact hs |
| 81 | 76 | |
| 82 | -/-- Actual derivative-coordinate paths preserve subtraction. -/ | |
| 83 | -theorem wordPath_sub {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) | |
| 84 | - (u v : C(Icc (0 : ℝ) T,SobolevSpace period s)) : | |
| 85 | - wordPathOperator period h w T (u-v) = wordPathOperator period h w T u-wordPathOperator period h w T v := by | |
| 86 | - ext t | |
| 87 | - rfl | |
| 88 | - | |
| 89 | 77 | /-- The actual difference interpolation estimate depends only on the two given uniform state bounds. -/ |
| 90 | 78 | theorem wordPath_difference_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) (i : Fin 4) |
| 91 | 79 | (T M : ℝ) (u v : C(Icc (0 : ℝ) T,SobolevSpace period s)) (hu : ‖u‖ ≤ M) (hv : ‖v‖ ≤ M) : |
+0 −47 Euler/SobolevPressureResolvent.lean View file
| @@ -28,38 +28,6 @@ theorem pressureSobolev_mem_gradient {q : ℕ} {A : SmoothCoefficient period} | ||
| 28 | 28 | rw [pressureSobolevOperator_value] |
| 29 | 29 | exact liftedPressure_mem period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos _ |
| 30 | 30 | |
| 31 | -/-- The actual Sobolev pressure solves the original projected coefficient equation. -/ | |
| 32 | -theorem pressureSobolev_equation {q : ℕ} {A : SmoothCoefficient period} | |
| 33 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 34 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 35 | - gradientProjection period κ m | |
| 36 | - (A.operator (value period (pressureSobolevOperator period K κ m c hc hpos u))) = | |
| 37 | - gradientProjection period κ m (value period u) := by | |
| 38 | - rw [pressureSobolevOperator_value] | |
| 39 | - exact liftedPressure_equation period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos _ | |
| 40 | - | |
| 41 | -/-- Uniqueness of the Lax–Milgram solution gives uniqueness in the complete Sobolev space. -/ | |
| 42 | -theorem pressureSobolev_unique {q : ℕ} {A : SmoothCoefficient period} | |
| 43 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 44 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 45 | - (u p : SobolevSpace period q) (hp : value period p ∈ gradientSpace period κ m) | |
| 46 | - (heq : gradientProjection period κ m (A.operator (value period p)) = | |
| 47 | - gradientProjection period κ m (value period u)) : | |
| 48 | - p = pressureSobolevOperator period K κ m c hc hpos u := by | |
| 49 | - apply value_injective period | |
| 50 | - rw [pressureSobolevOperator_value] | |
| 51 | - exact liftedPressure_unique period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos | |
| 52 | - (value period u) (value period p) hp heq | |
| 53 | - | |
| 54 | -/-- The actual projected forcing lies in the lifted divergence-free space. -/ | |
| 55 | -theorem projectedSource_divergenceFree {q : ℕ} {A : SmoothCoefficient period} | |
| 56 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 57 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 58 | - value period (projectedSourceOperator period K κ m c hc hpos u) ∈ divergenceFreeSpace period κ m := by | |
| 59 | - apply (gradientSpace period κ m).orthogonalProjectionOnto_eq_zero_iff.mp | |
| 60 | - apply Subtype.ext | |
| 61 | - exact projectedSource_gradient_zero period K κ m c hc hpos u | |
| 62 | - | |
| 63 | 31 | /-- The difference of actual coefficient multipliers has the expected underlying L² action. -/ |
| 64 | 32 | theorem coefficientDifference_value {q : ℕ} {A B : SmoothCoefficient period} |
| 65 | 33 | (KA : CoefficientJet period standardDirection q A) (KB : CoefficientJet period standardDirection q B) |
| @@ -124,19 +92,4 @@ theorem pressure_resolvent {q : ℕ} {A B : SmoothCoefficient period} | ||
| 124 | 92 | intro u |
| 125 | 93 | exact pressure_resolvent_apply period KA KB κ m c d hc hd hA hB u |
| 126 | 94 | |
| 127 | -/-- The norm of the genuine pressure difference is controlled by the coefficient multiplier difference. -/ | |
| 128 | -theorem pressure_resolvent_bound {q : ℕ} {A B : SmoothCoefficient period} | |
| 129 | - (KA : CoefficientJet period standardDirection q A) (KB : CoefficientJet period standardDirection q B) | |
| 130 | - (κ : ℝ) (m : Vector3) (c d : ℝ) (hc : 0 < c) (hd : 0 < d) | |
| 131 | - (hA : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 132 | - (hB : ∀ x v, d * ‖v‖ ^ 2 ≤ ⟪B.coefficient x v, v⟫_ℝ) : | |
| 133 | - ‖pressureSobolevOperator period KA κ m c hc hA - pressureSobolevOperator period KB κ m d hd hB‖ ≤ | |
| 134 | - ‖pressureSobolevOperator period KA κ m c hc hA‖ * | |
| 135 | - ‖coefficientSobolevOperator period KB - coefficientSobolevOperator period KA‖ * | |
| 136 | - ‖pressureSobolevOperator period KB κ m d hd hB‖ := by | |
| 137 | - rw [pressure_resolvent period KA KB κ m c d hc hd hA hB] | |
| 138 | - exact ContinuousLinearMap.opNorm_comp_le _ _ |>.trans | |
| 139 | - ((mul_le_mul_of_nonneg_left (ContinuousLinearMap.opNorm_comp_le _ _) (norm_nonneg _)).trans_eq | |
| 140 | - (mul_assoc _ _ _).symm) | |
| 141 | - | |
| 142 | 95 | end EulerSobolevCoefficientPressure |
+0 −33 Euler/SobolevPressureTime.lean View file
| @@ -47,37 +47,4 @@ theorem projectedSource_continuousAt {α : Type*} [TopologicalSpace α] {q : ℕ | ||
| 47 | 47 | have hMP := hM.clm_comp hP |
| 48 | 48 | exact hMP.const_sub (ContinuousLinearMap.id ℝ (SobolevSpace period q)) |
| 49 | 49 | |
| 50 | -/-- Differentiating the genuine resolvent gives the actual Hq pressure derivative −P M′ P. -/ | |
| 51 | -theorem pressureSobolev_hasDerivAt {q : ℕ} | |
| 52 | - (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) | |
| 53 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 54 | - (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) | |
| 55 | - (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) | |
| 56 | - (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : | |
| 57 | - HasDerivAt (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) | |
| 58 | - (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp | |
| 59 | - (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))) t := by | |
| 60 | - apply hasDerivAt_of_resolvent | |
| 61 | - (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) | |
| 62 | - (fun s => coefficientSobolevOperator period (K s)) _ t M' hM | |
| 63 | - intro s r | |
| 64 | - exact pressure_resolvent period (K s) (K r) κ m c c hc hc (hpos s) (hpos r) | |
| 65 | - | |
| 66 | -/-- The complete Sobolev pressure-corrected source has the actual derivative obtained by the product rule. -/ | |
| 67 | -theorem projectedSource_hasDerivAt {q : ℕ} | |
| 68 | - (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) | |
| 69 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 70 | - (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) | |
| 71 | - (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) | |
| 72 | - (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : | |
| 73 | - HasDerivAt (fun s => projectedSourceOperator period (K s) κ m c hc (hpos s)) | |
| 74 | - (-(M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t)) + | |
| 75 | - (coefficientSobolevOperator period (K t)).comp | |
| 76 | - (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp | |
| 77 | - (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))))) t := by | |
| 78 | - have hP := pressureSobolev_hasDerivAt period A K κ m c hc hpos t M' hM | |
| 79 | - have hMP := hM.clm_comp hP | |
| 80 | - simpa only [zero_sub, Pi.sub_def, projectedSourceOperator] using | |
| 81 | - (hasDerivAt_const t (ContinuousLinearMap.id ℝ (SobolevSpace period q))).sub hMP | |
| 82 | - | |
| 83 | 50 | end EulerSobolevCoefficientPressure |
+0 −36 Euler/SobolevReflection.lean View file
| @@ -56,33 +56,6 @@ def sobolevReflection (q : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace p | ||
| 56 | 56 | apply value_injective period |
| 57 | 57 | rw [value_sobolevReflection, value_sobolevReflection, reflection_involutive] |
| 58 | 58 | |
| 59 | -/-- Every genuine derivative coordinate keeps its L² norm under reflection. -/ | |
| 60 | -theorem sobolevReflection_word_norm {q : ℕ} (u : SobolevSpace period q) (w : SobolevWord q) : | |
| 61 | - ‖(sobolevReflection period q u).val w‖ = ‖u.val w‖ := by | |
| 62 | - rw [sobolevReflection_apply, norm_smul, reflection_norm, norm_pow] | |
| 63 | - norm_num | |
| 64 | - | |
| 65 | -/-- Reflection preserves the actual finite Sobolev norm. -/ | |
| 66 | -theorem sobolevReflection_norm {q : ℕ} (u : SobolevSpace period q) : | |
| 67 | - ‖sobolevReflection period q u‖ = ‖u‖ := by | |
| 68 | - apply le_antisymm | |
| 69 | - · change ‖(sobolevReflection period q u).val‖ ≤ ‖u.val‖ | |
| 70 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg u.val)).mpr | |
| 71 | - intro w | |
| 72 | - rw [sobolevReflection_word_norm] | |
| 73 | - exact norm_le_pi_norm u.val w | |
| 74 | - · change ‖u.val‖ ≤ ‖(sobolevReflection period q u).val‖ | |
| 75 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr | |
| 76 | - intro w | |
| 77 | - have hh := norm_le_pi_norm (sobolevReflection period q u).val w | |
| 78 | - rwa [sobolevReflection_word_norm] at hh | |
| 79 | - | |
| 80 | -/-- Reflection also preserves the source's sum-over-derivatives Sobolev norm. -/ | |
| 81 | -theorem sobolevReflection_sumNorm {q : ℕ} (u : SobolevSpace period q) : | |
| 82 | - sumNorm period (sobolevReflection period q u) = sumNorm period u := by | |
| 83 | - unfold sumNorm | |
| 84 | - exact Finset.sum_congr rfl fun w _ => sobolevReflection_word_norm period u w | |
| 85 | - | |
| 86 | 59 | /-- Truncating the Sobolev order commutes with actual reflection. -/ |
| 87 | 60 | theorem truncate_reflection {q : ℕ} (u : SobolevSpace period (q + 1)) : |
| 88 | 61 | truncateOperator period q (sobolevReflection period (q + 1) u) = |
| @@ -108,15 +81,6 @@ def oddReflection (q : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace perio | ||
| 108 | 81 | @[simp] theorem oddReflection_apply {q : ℕ} (u : SobolevSpace period q) : |
| 109 | 82 | oddReflection period q u = -sobolevReflection period q u := rfl |
| 110 | 83 | |
| 111 | -/-- The signed reflection is involutive. -/ | |
| 112 | -theorem oddReflection_involutive {q : ℕ} (u : SobolevSpace period q) : | |
| 113 | - oddReflection period q (oddReflection period q u) = u := by | |
| 114 | - simp only [oddReflection_apply, map_neg, neg_neg, sobolevReflection_involutive] | |
| 115 | - | |
| 116 | -/-- The signed reflection preserves the Sobolev norm. -/ | |
| 117 | -theorem oddReflection_norm {q : ℕ} (u : SobolevSpace period q) : | |
| 118 | - ‖oddReflection period q u‖ = ‖u‖ := by rw [oddReflection_apply, norm_neg, sobolevReflection_norm] | |
| 119 | - | |
| 120 | 84 | /-- Signed reflection preserves the genuine weak divergence constraint. -/ |
| 121 | 85 | theorem oddReflection_divergenceFree {q : ℕ} (κ : ℝ) (m : Vector3) (u : SobolevSpace period q) |
| 122 | 86 | (hu : value period u ∈ divergenceFreeSpace period κ m) : |
+0 −7 Euler/SobolevRestriction.lean View file
| @@ -65,11 +65,4 @@ theorem restrictOperator_derivative {p q : ℕ} (h : q ≤ p) (i : Fin 4) (u : S | ||
| 65 | 65 | apply value_injective period |
| 66 | 66 | rfl |
| 67 | 67 | |
| 68 | -/-- Restriction commutes with every genuine cylinder translation. -/ | |
| 69 | -theorem restrictOperator_translation {p q : ℕ} (h : q ≤ p) (a : LiftDomain period) (u : SobolevSpace period p) : | |
| 70 | - restrictOperator period h (sobolevTranslation period p a u) = | |
| 71 | - sobolevTranslation period q a (restrictOperator period h u) := by | |
| 72 | - apply value_injective period | |
| 73 | - rfl | |
| 74 | - | |
| 75 | 68 | end EulerCylinderSobolevSpace |
+0 −17 Euler/SobolevSmoothProduct.lean View file
| @@ -95,23 +95,6 @@ theorem productHighLow_bound_smooth {q : ℕ} (hq : 6 ≤ q) | ||
| 95 | 95 | (mul_nonneg hpos (mul_nonneg (Nat.cast_nonneg _) (norm_nonneg U))) |
| 96 | 96 | _ = sobolevProductConstant period q * ‖U‖ * ‖v‖ := by unfold sobolevProductConstant; ring |
| 97 | 97 | |
| 98 | -/-- The high-low product is additive in its first argument. -/ | |
| 99 | -theorem productHighLow_add_left {q : ℕ} (L : Vector3 →L[ℝ] ℝ) | |
| 100 | - (u w : SobolevSpace period (q+3)) (v : SobolevSpace period q) : | |
| 101 | - productHighLow period L (u+w) v = productHighLow period L u v + productHighLow period L w v := by | |
| 102 | - apply value_injective period | |
| 103 | - change value period (productHighLow period L (u+w) v) = value period (productHighLow period L u v) + value period (productHighLow period L w v) | |
| 104 | - simp only [productHighLow_value, map_add, scalarProduct_add_left] | |
| 105 | - | |
| 106 | -/-- The high-low product is additive in its second argument. -/ | |
| 107 | -theorem productHighLow_add_right {q : ℕ} (L : Vector3 →L[ℝ] ℝ) | |
| 108 | - (u : SobolevSpace period (q+3)) (v w : SobolevSpace period q) : | |
| 109 | - productHighLow period L u (v+w) = productHighLow period L u v + productHighLow period L u w := by | |
| 110 | - apply value_injective period | |
| 111 | - change value period (productHighLow period L u (v+w)) = value period (productHighLow period L u v) + value period (productHighLow period L u w) | |
| 112 | - simp only [productHighLow_value] | |
| 113 | - exact scalarProduct_add_right period (le_refl 3) L _ _ _ | |
| 114 | - | |
| 115 | 98 | /-- Exact product difference decomposition. -/ |
| 116 | 99 | theorem productHighLow_sub {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 117 | 100 | (u w : SobolevSpace period (q+3)) (v z : SobolevSpace period q) : |
+0 −2 Euler/SobolevSourceExponent.lean View file
| @@ -13,8 +13,6 @@ open Finset EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field | ||
| 13 | 13 | |
| 14 | 14 | def fixedCost (q : ℕ) : ℝ := (2 : ℝ)^q*∑ j ∈ range (q+1), (j.factorial : ℝ)^2 |
| 15 | 15 | |
| 16 | -theorem fixedCost_nonneg (q : ℕ) : 0 ≤ fixedCost q := by unfold fixedCost; positivity | |
| 17 | - | |
| 18 | 16 | theorem coefficient_radius_le (k R : ℝ) (hk : 12 ≤ k) (hR : R ≤ k^5) : |
| 19 | 17 | sobolevCoefficientRadius (Fin 3) R ≤ k^6 := by |
| 20 | 18 | have he : sobolevCoefficientRadius (Fin 3) R = 12*R := by |
+0 −10 Euler/SobolevTimeRegularization.lean View file
| @@ -37,14 +37,4 @@ theorem heat_time_commutator_tendsto (p q : ℕ) (T : ℝ) (hT : 0 ≤ T) | ||
| 37 | 37 | have hB := heat_timeLp_tendsto period p T (timeMultiplier T hT A u) |
| 38 | 38 | simpa only [sub_self, Function.comp_def] using hA.sub hB |
| 39 | 39 | |
| 40 | -/-- The actual heat commutator vanishes in the full L² time norm. -/ | |
| 41 | -theorem heat_time_commutator_norm_tendsto (p q : ℕ) (T : ℝ) (hT : 0 ≤ T) | |
| 42 | - (A : C(Icc (0 : ℝ) T, SobolevSpace period q →L[ℝ] SobolevSpace period p)) | |
| 43 | - (u : TimeLp T (SobolevSpace period q)) : | |
| 44 | - Filter.Tendsto (fun n => ‖ | |
| 45 | - timeMultiplier T hT A ((heatOperator period q (regularizerVariance n)).compLpL 2 (timeMeasure T) u) - | |
| 46 | - (heatOperator period p (regularizerVariance n)).compLpL 2 (timeMeasure T) (timeMultiplier T hT A u)‖) | |
| 47 | - Filter.atTop (𝓝 (0 : ℝ)) := by | |
| 48 | - simpa only [norm_zero] using (heat_time_commutator_tendsto period p q T hT A u).norm | |
| 49 | - | |
| 50 | 40 | end EulerSobolevTimeRegularization |
+0 −28 Euler/SobolevTransport.lean View file
| @@ -31,34 +31,6 @@ theorem transportBilinear_apply {q : ℕ} (hq : 6 ≤ q) | ||
| 31 | 31 | simp only [transportBilinear, sum_apply, ContinuousLinearMap.bilinearComp_apply, |
| 32 | 32 | productHqBilinear_apply] |
| 33 | 33 | |
| 34 | -/-- The actual transport loses exactly one derivative, with an explicit fixed-order constant. -/ | |
| 35 | -theorem transportBilinear_bound {q : ℕ} (hq : 6 ≤ q) | |
| 36 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 37 | - (u v : SobolevSpace period (q+1)) : | |
| 38 | - ‖transportBilinear period hq L hL u v‖ ≤ (4 * sobolevProductConstant period q) * ‖u‖ * ‖v‖ := by | |
| 39 | - rw [transportBilinear_apply] | |
| 40 | - have hi (i : Fin 4) : ‖productHq period hq (L i) (hL i) | |
| 41 | - (truncateOperator period q u) (derivativeOperator period q i v)‖ ≤ | |
| 42 | - sobolevProductConstant period q * ‖u‖ * ‖v‖ := | |
| 43 | - (productHq_norm period hq (L i) (hL i) _ _).trans | |
| 44 | - (mul_le_mul (mul_le_mul_of_nonneg_left (truncateOperator_bound period u) | |
| 45 | - (sobolevProductConstant_nonneg period q)) (derivativeOperator_bound period i v) | |
| 46 | - (norm_nonneg _) (mul_nonneg (sobolevProductConstant_nonneg period q) (norm_nonneg u))) | |
| 47 | - have h := (norm_sum_le _ _).trans (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 4))) => hi i)) | |
| 48 | - simpa only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_ofNat, | |
| 49 | - mul_assoc] using h | |
| 50 | - | |
| 51 | -/-- The transport norm in the derivative-losing operator topology. -/ | |
| 52 | -theorem transportBilinear_norm {q : ℕ} (hq : 6 ≤ q) | |
| 53 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : | |
| 54 | - ‖transportBilinear period hq L hL‖ ≤ 4 * sobolevProductConstant period q := by | |
| 55 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (by norm_num) (sobolevProductConstant_nonneg period q)) | |
| 56 | - intro u | |
| 57 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (mul_nonneg (by norm_num) | |
| 58 | - (sobolevProductConstant_nonneg period q)) (norm_nonneg u)) | |
| 59 | - intro v | |
| 60 | - exact transportBilinear_bound period hq L hL u v | |
| 61 | - | |
| 62 | 34 | /-- The genuine transport is represented by the literal sum of pointwise directional products. -/ |
| 63 | 35 | theorem transportBilinear_value {q : ℕ} (hq : 6 ≤ q) |
| 64 | 36 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
+0 −40 Euler/SobolevWordBlocks.lean View file
| @@ -19,15 +19,6 @@ def wordBlock (q : ℕ) : (n : ℕ) → (Fin n → Fin 4) → | ||
| 19 | 19 | | 0, _ => ContinuousLinearMap.id ℝ (SobolevSpace period q) |
| 20 | 20 | | n + 1, w => (wordBlock q n (Fin.init w)).comp (derivativeOperator period (q + n) (w (Fin.last n))) |
| 21 | 21 | |
| 22 | -/-- Actual word differentiation is contractive between the corresponding array norms. -/ | |
| 23 | -theorem wordBlock_bound (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace period (q + n)) : | |
| 24 | - ‖wordBlock period q n w u‖ ≤ ‖u‖ := by | |
| 25 | - induction n with | |
| 26 | - | zero => exact le_rfl | |
| 27 | - | succ n ih => | |
| 28 | - exact (ih (Fin.init w) (derivativeOperator period (q + n) (w (Fin.last n)) u)).trans | |
| 29 | - (derivativeOperator_bound period (w (Fin.last n)) u) | |
| 30 | - | |
| 31 | 22 | /-- The field underlying a derivative block is exactly its genuine derivative-word coordinate. -/ |
| 32 | 23 | theorem wordBlock_value (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace period (q + n)) : |
| 33 | 24 | value period (wordBlock period q n w u) = word period u (by omega : n ≤ q + n) w := by |
| @@ -44,35 +35,4 @@ theorem wordBlock_value (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace peri | ||
| 44 | 35 | rw [Fin.snoc_init_self] |
| 45 | 36 | rfl |
| 46 | 37 | |
| 47 | -/-- Every derivative block commutes with actual cylinder translation. -/ | |
| 48 | -theorem wordBlock_translation (q n : ℕ) (w : Fin n → Fin 4) | |
| 49 | - (a : LiftDomain period) (u : SobolevSpace period (q+n)) : | |
| 50 | - wordBlock period q n w (sobolevTranslation period (q+n) a u) = | |
| 51 | - sobolevTranslation period q a (wordBlock period q n w u) := by | |
| 52 | - induction n with | |
| 53 | - | zero => rfl | |
| 54 | - | succ n ih => | |
| 55 | - change wordBlock period q n (Fin.init w) | |
| 56 | - (derivativeOperator period (q+n) (w (Fin.last n)) (sobolevTranslation period (q+n+1) a u)) = _ | |
| 57 | - rw [derivativeOperator_translation, ih] | |
| 58 | - rfl | |
| 59 | - | |
| 60 | -/-- Every actual derivative block commutes with the Gaussian heat semigroup. -/ | |
| 61 | -theorem wordBlock_heat (q n : ℕ) (w : Fin n → Fin 4) | |
| 62 | - (v : ℝ≥0) (u : SobolevSpace period (q+n)) : | |
| 63 | - wordBlock period q n w (heatOperator period (q+n) v u) = | |
| 64 | - heatOperator period q v (wordBlock period q n w u) := by | |
| 65 | - apply value_injective period | |
| 66 | - rw [wordBlock_value, heatOperator_value, wordBlock_value] | |
| 67 | - rfl | |
| 68 | - | |
| 69 | -/-- Truncating a derivative block agrees with taking the same word after truncating its input. -/ | |
| 70 | -theorem truncate_wordBlock (q n : ℕ) (w : Fin n → Fin 4) | |
| 71 | - (u : SobolevSpace period (q+1+n)) : | |
| 72 | - truncateOperator period q (wordBlock period (q+1) n w u) = | |
| 73 | - wordBlock period q n w (restrictOperator period (by omega : q+n ≤ q+1+n) u) := by | |
| 74 | - apply value_injective period | |
| 75 | - rw [value_truncateOperator, wordBlock_value, wordBlock_value] | |
| 76 | - rfl | |
| 77 | - | |
| 78 | 38 | end EulerSobolevWordBlocks |
+0 −7 Euler/SourceCylinderClassical.lean View file
| @@ -70,13 +70,6 @@ theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : | ||
| 70 | 70 | exact representative_tsupport_subset period S hS hSc.isClosed _ _ |
| 71 | 71 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property |
| 72 | 72 | |
| 73 | -theorem field_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 74 | - HasCompactSupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) := by | |
| 75 | - change HasCompactSupport (pointField period _ _ t) | |
| 76 | - rw [pointField_eq_representative] | |
| 77 | - exact representative_hasCompactSupport period S hS hSc _ _ | |
| 78 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property | |
| 79 | - | |
| 80 | 73 | /-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ |
| 81 | 74 | theorem fullVelocity_hasDerivWithinAt |
| 82 | 75 | (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
+0 −5 Euler/SourceCylinderForward.lean View file
| @@ -37,11 +37,6 @@ private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstanc | ||
| 37 | 37 | def evolution (S : Set Space) (hS : MeasurableSet S) := |
| 38 | 38 | constructedEvolution period S hS T hT (sourceGenerator Q Q₁ c hc hQ) |
| 39 | 39 | |
| 40 | -/-- The source coefficient automatically has the translated regularity needed by the solver. -/ | |
| 41 | -theorem source_coefficient_contDiff : | |
| 42 | - ContDiff ℝ ∞ (translateCoefficientPath (sourceGenerator Q Q₁ c hc hQ)) := | |
| 43 | - sourceGenerator_translation_contDiff Q Q₁ c hc hQ | |
| 44 | - | |
| 45 | 40 | include hd in |
| 46 | 41 | /-- Mixed spatial-angular external words, including a fixed Sobolev base, |
| 47 | 42 | obey the same radius for the actual constructed source solution. -/ |
+0 −20 Euler/SourceCylinderPressureField.lean View file
| @@ -124,26 +124,6 @@ theorem pressureField_zero_outside (t : Icc (0 : ℝ) T) (y : Space) (hy : y ∉ | ||
| 124 | 124 | classicalPrimitive_zero P _ _ _ y |
| 125 | 125 | (normalResidual_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t y hy) θ |
| 126 | 126 | |
| 127 | -theorem pressureField_tsupport_subset (t : Icc (0 : ℝ) T) : | |
| 128 | - tsupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) ⊆ | |
| 129 | - spatialSet P S := by | |
| 130 | - apply closure_minimal _ (hSc.isClosed.preimage continuous_fst) | |
| 131 | - intro x hx | |
| 132 | - by_contra hn | |
| 133 | - exact hx (pressureField_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm | |
| 134 | - hf₀ ha₀zero t x.1 hn x.2) | |
| 135 | - | |
| 136 | -theorem pressureField_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 137 | - HasCompactSupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) := by | |
| 138 | - have hcompact : IsCompact (spatialSet P S) := by | |
| 139 | - have he : spatialSet P S = S ×ˢ (univ : Set (AddCircle P)) := by | |
| 140 | - ext x | |
| 141 | - simp only [spatialSet,mem_preimage,mem_prod,mem_univ,and_true] | |
| 142 | - rw [he] | |
| 143 | - exact hSc.prod isCompact_univ | |
| 144 | - exact hcompact.of_isClosed_subset (isClosed_tsupport _) | |
| 145 | - (pressureField_tsupport_subset P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) | |
| 146 | - | |
| 147 | 127 | /-- Equation (11) with the actual angular derivative of the normalized pressure. -/ |
| 148 | 128 | theorem field_pressure_equation |
| 149 | 129 | (hTangent : ∀ t x v, ⟪m.field t x,Q.field t x v⟫_ℝ = 0) |
+0 −23 Euler/SourceCylinderPressureWeight.lean View file
| @@ -65,29 +65,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 65 | 65 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 66 | 66 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 67 | 67 | |
| 68 | -/-- The bounded pressure used in the coefficient estimate is exactly the PDE pressure. -/ | |
| 69 | -theorem pressurePath_eq_sourcePressure : | |
| 70 | - pressurePath P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm = | |
| 71 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 72 | - (includePath P S hS (velocity P S hS T hT Q Q₁ c hc hQ f a₀)) := rfl | |
| 73 | - | |
| 74 | 68 | variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 75 | 69 | |
| 76 | -/-- The actual pressure path divided by g, written in terms of the normalized | |
| 77 | -physical forcing and the already constructed normalized physical velocity. -/ | |
| 78 | -def normalizedPressure : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) := | |
| 79 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 80 | - (includePath P S hS (normalizedVelocity P T hT S hS Q Q₁ c hc hQ g hg f a₀)) | |
| 81 | - | |
| 82 | -theorem pressurePath_weight_eq : | |
| 83 | - pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm = | |
| 84 | - weight g (normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg) := by | |
| 85 | - rw [pressurePath_eq_sourcePressure, velocity_weight_eq, include_weight, include_weight] | |
| 86 | - exact sourcePressure_weight P M m cm hcm hm g _ _ | |
| 87 | - | |
| 88 | -theorem normalized_full_pressure_eq : | |
| 89 | - normalize g hg (pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm) = | |
| 90 | - normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg := by | |
| 91 | - rw [pressurePath_weight_eq, normalize_weight] | |
| 92 | - | |
| 93 | 70 | end EulerSourceCylinderEquation |
+0 −10 Euler/SourceCylinderTimeBounds.lean View file
| @@ -49,16 +49,6 @@ theorem coordinateRhs_contDiff | ||
| 49 | 49 | have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf |
| 50 | 50 | simpa only [coordinateRhs,map_add] using h₁.add h₂ |
| 51 | 51 | |
| 52 | -theorem physicalRhs_contDiff | |
| 53 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 54 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : | |
| 55 | - ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b | |
| 56 | - (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) := by | |
| 57 | - have h₁ := supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha | |
| 58 | - have h₂ := supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS | |
| 59 | - (coordinateRhs P S hS Q Q₁ c hc hQ f a) (coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha) | |
| 60 | - simpa only [physicalRhs,map_add] using h₁.add h₂ | |
| 61 | - | |
| 62 | 52 | def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := |
| 63 | 53 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ |
| 64 | 54 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df |
+0 −40 Euler/SourcePotentialTime.lean View file
| @@ -25,48 +25,8 @@ variable (hmt : ∀ t ∈ Icc (0 : ℝ) T, ∀ y : Space, | ||
| 25 | 25 | HasDerivWithinAt (fun r => extendPath T hT m.field r y) |
| 26 | 26 | (extendPath T hT m₁.field t y) (Icc (0 : ℝ) T) t) |
| 27 | 27 | |
| 28 | -include hmt in | |
| 29 | -/-- The polynomial coefficient really differentiates the actual source multiplier. -/ | |
| 30 | -theorem potentialCoefficient_hasDerivWithinAt (t : Icc (0 : ℝ) T) (y : Space) : | |
| 31 | - HasDerivWithinAt (fun r => extendPath T hT (potentialCoefficient m c hc hm) r y) | |
| 32 | - (potentialTimeCoefficient m m₁ c hc hm t y) (Icc (0 : ℝ) T) t := by | |
| 33 | - have hn : extendPath T hT m.field t y ≠ 0 := by | |
| 34 | - change m.field (projIcc 0 T hT t) y ≠ 0 | |
| 35 | - rw [projIcc_of_mem hT t.property] | |
| 36 | - intro hz | |
| 37 | - have h := hm t y | |
| 38 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 39 | - linarith | |
| 40 | - have h := potentialMultiplier_hasDerivWithinAt (Icc (0 : ℝ) T) t | |
| 41 | - (fun r => extendPath T hT m.field r y) (extendPath T hT m₁.field t y) | |
| 42 | - (hmt t t.property y) hn | |
| 43 | - convert h using 1 <;> try rfl | |
| 44 | - · funext r | |
| 45 | - exact potentialCoefficient_apply m c hc hm (projIcc 0 T hT r) y | |
| 46 | - · rw [potentialTimeCoefficient_apply] | |
| 47 | - change potentialMultiplierDerivative (m.field t y) (m₁.field t y) = | |
| 48 | - potentialMultiplierDerivative (m.field (projIcc 0 T hT t) y) (m₁.field (projIcc 0 T hT t) y) | |
| 49 | - rw [projIcc_of_mem hT t.property] | |
| 50 | - | |
| 51 | 28 | variable (P : ℝ) [Fact (0 < P)] |
| 52 | 29 | (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 53 | 30 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 54 | 31 | |
| 55 | -include hmt hd in | |
| 56 | -/-- Q_t is constructed from m, m_t, A and A_t; no regularity of Q is assumed. -/ | |
| 57 | -theorem sourcePotentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | |
| 58 | - HasDerivWithinAt (extendPath T hT (potentialPath P (potentialCoefficient m c hc hm) p)) | |
| 59 | - (potentialDerivative P T (potentialCoefficient m c hc hm) | |
| 60 | - (potentialTimeCoefficient m m₁ c hc hm) p f t) (Icc (0 : ℝ) T) t := by | |
| 61 | - have hcoeff : ∀ r ∈ Icc (0 : ℝ) T, ∀ y : Space, | |
| 62 | - HasDerivWithinAt (fun s => extendPath T hT (potentialCoefficient m c hc hm) s y) | |
| 63 | - (extendPath T hT (potentialTimeCoefficient m m₁ c hc hm) r y) (Icc (0 : ℝ) T) r := by | |
| 64 | - intro r hr y | |
| 65 | - have h := potentialCoefficient_hasDerivWithinAt T hT m m₁ c hc hm hmt ⟨r,hr⟩ y | |
| 66 | - exact h.congr_deriv (congrArg (fun z : Icc (0 : ℝ) T => | |
| 67 | - potentialTimeCoefficient m m₁ c hc hm z y) (projIcc_of_mem hT hr).symm) | |
| 68 | - have h := potentialPath_hasDerivWithinAt P T hT (potentialCoefficient m c hc hm) | |
| 69 | - (potentialTimeCoefficient m m₁ c hc hm) p f hcoeff hd t | |
| 70 | - exact h | |
| 71 | - | |
| 72 | 32 | end EulerSourcePotentialCoefficient |
+0 −70 Euler/SourcePotentialTimeCoefficient.lean View file
| @@ -43,18 +43,6 @@ def timeNormalPath (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] | ||
| 43 | 43 | pathCompositionMap (pathCompositionMap N (pathAdjointMap N)) (pathAdjointMap Q₁) - |
| 44 | 44 | (2 : ℝ) • pathCompositionMap (pathCompositionMap N Q₁) N |
| 45 | 45 | |
| 46 | -theorem timeNormalPath_apply (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 47 | - (t : K) (y : Space) : timeNormalPath N Q₁ t y = normalTimeMap (N t y) (Q₁ t y) := rfl | |
| 48 | - | |
| 49 | -theorem timeNormalPath_translation (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 50 | - (a : Space) : translateCoefficientPath (timeNormalPath N Q₁) a = | |
| 51 | - timeNormalPath (translateCoefficientPath N a) (translateCoefficientPath Q₁ a) := by | |
| 52 | - apply ContinuousMap.ext | |
| 53 | - intro t | |
| 54 | - apply BoundedContinuousFunction.ext | |
| 55 | - intro y | |
| 56 | - rfl | |
| 57 | - | |
| 58 | 46 | section Families |
| 59 | 47 | |
| 60 | 48 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| @@ -115,62 +103,4 @@ end Families | ||
| 115 | 103 | variable (m m₁ : SmoothCoefficientPath K Space) (c : ℝ) (hc : 0 < c) |
| 116 | 104 | (hm : ∀ t y, c ≤ ‖m.field t y‖^2) |
| 117 | 105 | |
| 118 | -def potentialTimeCoefficient : C(K,PotentialField) := | |
| 119 | - potentialPathMap (timeNormalPath (normalFunctional m c hc hm) (normalColumn m₁).field) | |
| 120 | - | |
| 121 | -theorem potentialTimeCoefficient_apply (t : K) (y : Space) : | |
| 122 | - potentialTimeCoefficient m m₁ c hc hm t y = | |
| 123 | - potentialMultiplierDerivative (m.field t y) (m₁.field t y) := by | |
| 124 | - have hn : m.field t y ≠ 0 := by | |
| 125 | - intro hz | |
| 126 | - have h := hm t y | |
| 127 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 128 | - linarith | |
| 129 | - exact normalTimeMap_potential (m.field t y) (m₁.field t y) | |
| 130 | - (normalFunctional m c hc hm t y) hn (normalFunctional_apply m c hc hm t y) | |
| 131 | - | |
| 132 | -theorem potentialTimeCoefficient_translation : | |
| 133 | - translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm) = | |
| 134 | - fun a => potentialPathMap (timeNormalPath | |
| 135 | - (translateCoefficientPath (normalFunctional m c hc hm) a) | |
| 136 | - (translateCoefficientPath (normalColumn m₁).field a)) := by | |
| 137 | - funext a | |
| 138 | - apply ContinuousMap.ext | |
| 139 | - intro t | |
| 140 | - apply BoundedContinuousFunction.ext | |
| 141 | - intro y | |
| 142 | - rfl | |
| 143 | - | |
| 144 | -theorem potentialTimeCoefficient_translation_contDiff : | |
| 145 | - ContDiff ℝ ∞ (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) := by | |
| 146 | - rw [potentialTimeCoefficient_translation] | |
| 147 | - have h := timeNormalPath_contDiff _ _ | |
| 148 | - (normalFunctional_translation_contDiff m c hc hm) (normalColumn m₁).translation_contDiff | |
| 149 | - exact (potentialPathMap (K := K)).contDiff.comp h | |
| 150 | - | |
| 151 | -/-- The derivative coefficient is polynomial in the already constructed normal functional. -/ | |
| 152 | -theorem potentialTimeCoefficient_translation_bound (R C D : ℝ) | |
| 153 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 154 | - (hbN : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath (normalFunctional m c hc hm)) a‖ ≤ | |
| 155 | - C*majorant R 0 n) | |
| 156 | - (hbm₁ : ∀ n t y, ‖iteratedFDeriv ℝ n (m₁.field t : Space → Space) y‖ ≤ D*majorant R 0 n) | |
| 157 | - (n : ℕ) (a : Space) : | |
| 158 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) a‖ ≤ | |
| 159 | - (27*C^2*D)*majorant R 0 n := by | |
| 160 | - have hQ (j : ℕ) (x : Space) : | |
| 161 | - ‖iteratedFDeriv ℝ j (translateCoefficientPath (normalColumn m₁).field) x‖ ≤ D*majorant R 0 j := by | |
| 162 | - apply (normalColumn m₁).norm_iteratedFDeriv_translation_le j (D*majorant R 0 j) | |
| 163 | - (mul_nonneg hD (majorant_nonneg R hR 0 j)) | |
| 164 | - intro t y | |
| 165 | - exact SmoothCoefficientPath.map_derivative_bound | |
| 166 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.toContinuousLinearMap | |
| 167 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.norm_toContinuousLinearMap_le | |
| 168 | - m₁ j (D*majorant R 0 j) (hbm₁ j) t y | |
| 169 | - rw [potentialTimeCoefficient_translation] | |
| 170 | - exact contraction_bound (potentialPathMap (K := K)) potentialPathMap_norm _ | |
| 171 | - (timeNormalPath_contDiff _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 172 | - (normalColumn m₁).translation_contDiff) R (27*C^2*D) hR (by positivity) 0 | |
| 173 | - (timeNormalPath_bound _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 174 | - (normalColumn m₁).translation_contDiff R C D hR hC hD hbN hQ) n a | |
| 175 | - | |
| 176 | 106 | end EulerSourcePotentialCoefficient |
+0 −9 Euler/SourcePotentialTimePath.lean View file
| @@ -50,15 +50,6 @@ theorem columnPath_norm : ‖columnPath (K := K)‖ ≤ 1 := by | ||
| 50 | 50 | rw [LinearIsometryEquiv.norm_map] |
| 51 | 51 | exact ((A t).norm_coe_le_norm y).trans (A.norm_coe_le_norm t) |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem columnPath_translation (A : C(K,Space →ᵇ Space)) (a : Space) : | |
| 55 | - translateCoefficientPath (columnPath A) a = columnPath (translateCoefficientPath A a) := by | |
| 56 | - apply ContinuousMap.ext | |
| 57 | - intro t | |
| 58 | - apply BoundedContinuousFunction.ext | |
| 59 | - intro y | |
| 60 | - rfl | |
| 61 | - | |
| 62 | 53 | section Coefficient |
| 63 | 54 | |
| 64 | 55 | variable (m : SmoothCoefficientPath K Space) (m₁ : C(K,Space →ᵇ Space)) |
+0 −12 Euler/StrongOperatorDerivative.lean View file
| @@ -31,18 +31,6 @@ theorem hasDerivAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) ( | ||
| 31 | 31 | exact (hfirst.add ha.tendsto_slope).congr' |
| 32 | 32 | (Filter.Eventually.of_forall (fun s => (slope_apply A u t s).symm)) |
| 33 | 33 | |
| 34 | -/-- The same product rule for a one-sided derivative. -/ | |
| 35 | -theorem hasDerivWithinAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) (s : Set ℝ) (u' : E) (a' : F) | |
| 36 | - (hu : HasDerivWithinAt u u' s t) (ha : HasDerivWithinAt (fun r => A r (u t)) a' s t) | |
| 37 | - (hc : ContinuousAt (fun p : ℝ × E => A p.1 p.2) (t, u')) : | |
| 38 | - HasDerivWithinAt (fun r => A r (u r)) (A t u' + a') s t := by | |
| 39 | - apply hasDerivWithinAt_iff_tendsto_slope.mpr | |
| 40 | - have hfirst : Tendsto (fun r => A r (slope u t r)) (𝓝[s \ {t}] t) (𝓝 (A t u')) := | |
| 41 | - hc.tendsto.comp ((show Tendsto (fun r : ℝ => r) (𝓝[s \ {t}] t) (𝓝 t) from nhdsWithin_le_nhds).prodMk_nhds | |
| 42 | - (hasDerivWithinAt_iff_tendsto_slope.mp hu)) | |
| 43 | - exact (hfirst.add (hasDerivWithinAt_iff_tendsto_slope.mp ha)).congr' | |
| 44 | - (Filter.Eventually.of_forall (fun r => (slope_apply A u t r).symm)) | |
| 45 | - | |
| 46 | 34 | end EulerStrongOperatorDerivative |
| 47 | 35 | |
| 48 | 36 | namespace EulerGaussianCylinderHeat |
+0 −11 Euler/TerminalTimePrimitive.lean View file
| @@ -274,17 +274,6 @@ theorem primitiveTimeLp_ae (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) : | ||
| 274 | 274 | change realPrimitive T u (projIcc 0 T hT t) = realPrimitive T u t |
| 275 | 275 | rw [projIcc_of_mem hT hmem] |
| 276 | 276 | |
| 277 | -/-- The primitive's increments within the interval are literal integrals of its L² derivative. -/ | |
| 278 | -theorem terminalPrimitive_increment (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) | |
| 279 | - (s t : Icc (0 : ℝ) T) : | |
| 280 | - terminalPrimitive T hT u t-terminalPrimitive T hT u s = ∫ r in s.val..t.val, u r := by | |
| 281 | - rw [terminalPrimitive_apply, terminalPrimitive_apply, realPrimitive_increment] | |
| 282 | - apply intervalIntegral.integral_congr | |
| 283 | - intro r hr | |
| 284 | - have hm : r ∈ Icc (0 : ℝ) T := | |
| 285 | - (uIcc_subset_Icc s.property t.property) hr | |
| 286 | - exact Set.indicator_of_mem hm _ | |
| 287 | - | |
| 288 | 277 | /-- The explicit initial trace is the negative total integral of the derivative. -/ |
| 289 | 278 | theorem initialTrace_eq_integral (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) : |
| 290 | 279 | initialTrace T hT u = -(∫ t in 0..T, u t) := |
+0 −7 Euler/TimeContinuousPrimitive.lean View file
| @@ -27,13 +27,6 @@ theorem initialPrimitive_pathLp (f : C(Icc (0 : ℝ) T,E)) : | ||
| 27 | 27 | (show Ioc (0 : ℝ) (t : ℝ) ⊆ Icc (0 : ℝ) T from |
| 28 | 28 | fun s hs => ⟨hs.1.le,hs.2.trans t.property.2⟩) he |
| 29 | 29 | |
| 30 | -theorem initialTrace_pathLp (f : C(Icc (0 : ℝ) T,E)) : | |
| 31 | - initialTrace T hT (pathLp T hT f) = | |
| 32 | - -EulerContinuousTimeIntegral.integral T hT f ⟨T,hT,le_rfl⟩ := by | |
| 33 | - have he := initialPrimitive_eq_terminal_sub T hT (pathLp T hT f) ⟨T,hT,le_rfl⟩ | |
| 34 | - rw [initialPrimitive_pathLp,terminalPrimitive_terminal,zero_sub] at he | |
| 35 | - simpa only [neg_neg] using congrArg Neg.neg he.symm | |
| 36 | - | |
| 37 | 30 | theorem primitive_eq_path (p q : C(Icc (0 : ℝ) T,E)) |
| 38 | 31 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 39 | 32 | HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) |
+0 −11 Euler/TimeH1ContinuousDerivative.lean View file
| @@ -84,15 +84,4 @@ theorem hasDerivWithinAt_of_continuous_representative (T : ℝ) (hT : 0 ≤ T) | ||
| 84 | 84 | (fun r hr => eq_continuousIntegral_add_terminal T hT q qC hq η hη hder r hr) t.property |
| 85 | 85 | simpa only [extendPath, projIcc_of_mem hT t.property] using h' |
| 86 | 86 | |
| 87 | -/-- At every interior time the actual AC path has an ordinary two-sided derivative. -/ | |
| 88 | -theorem hasDerivAt_of_continuous_representative (T : ℝ) (hT : 0 ≤ T) | |
| 89 | - (q : TimeLp T E) (qC : C(Icc (0 : ℝ) T, E)) | |
| 90 | - (hq : (q : ℝ → E) =ᵐ[timeMeasure T] extendPath T hT qC) | |
| 91 | - (η : ℝ → E) (hη : AbsolutelyContinuousOnInterval η 0 T) | |
| 92 | - (hder : ∀ᵐ r ∂timeMeasure T, HasDerivAt η (q r) r) | |
| 93 | - (t : ℝ) (ht : t ∈ Ioo (0 : ℝ) T) : | |
| 94 | - HasDerivAt η (qC ⟨t, ht.1.le, ht.2.le⟩) t := | |
| 95 | - (hasDerivWithinAt_of_continuous_representative T hT q qC hq η hη hder | |
| 96 | - ⟨t, ht.1.le, ht.2.le⟩).hasDerivAt (Icc_mem_nhds ht.1 ht.2) | |
| 97 | - | |
| 98 | 87 | end EulerTimeH1ContinuousDerivative |
+0 −19 Euler/TimeH1FrameTransport.lean View file
| @@ -118,13 +118,6 @@ def transverseBackward : transverseDerivatives T hT m →L[ℝ] zeroTraceDerivat | ||
| 118 | 118 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 119 | 119 | (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd), u.property.1, map_zero]) |
| 120 | 120 | |
| 121 | -/-- The backward transport is the actual inverse on every fixed coordinate derivative. -/ | |
| 122 | -theorem transverseBackward_forward (v : zeroTraceDerivatives (U := U) T hT) : | |
| 123 | - transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 124 | - (transverseForward T hT Q Q₁ hd m hTangent v) = v := by | |
| 125 | - apply Subtype.ext | |
| 126 | - exact coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd (v : TimeLp T U) | |
| 127 | - | |
| 128 | 121 | include hRange in |
| 129 | 122 | /-- The forward transport recovers every physical transverse derivative. -/ |
| 130 | 123 | theorem transverseForward_backward (u : transverseDerivatives T hT m) : |
| @@ -133,16 +126,4 @@ theorem transverseForward_backward (u : transverseDerivatives T hT m) : | ||
| 133 | 126 | apply Subtype.ext |
| 134 | 127 | exact coordinateDerivative_reconstruct T hT Q Q₁ c hc hQ hd m hRange u |
| 135 | 128 | |
| 136 | -/-- A proved bounded linear equivalence to a parameter-independent Hilbert space. -/ | |
| 137 | -def transverseEquiv : zeroTraceDerivatives (U := U) T hT ≃L[ℝ] transverseDerivatives T hT m where | |
| 138 | - toLinearEquiv := | |
| 139 | - { toFun := transverseForward T hT Q Q₁ hd m hTangent | |
| 140 | - invFun := transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 141 | - left_inv := transverseBackward_forward T hT Q Q₁ c hc hQ hd m hTangent | |
| 142 | - right_inv := transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange | |
| 143 | - map_add' := map_add _ | |
| 144 | - map_smul' := map_smul _ } | |
| 145 | - continuous_toFun := (transverseForward T hT Q Q₁ hd m hTangent).continuous | |
| 146 | - continuous_invFun := (transverseBackward T hT Q Q₁ c hc hQ hd m).continuous | |
| 147 | - | |
| 148 | 129 | end EulerTimeH1FrameTransport |
+0 −12 Euler/TimeH1OperatorProduct.lean View file
| @@ -58,18 +58,6 @@ theorem clm_apply_absolutelyContinuous {a b : ℝ} {A : ℝ → E →L[ℝ] F} { | ||
| 58 | 58 | variable (T : ℝ) (hT : 0 ≤ T) |
| 59 | 59 | (A A' : C(Icc (0 : ℝ) T, E →L[ℝ] F)) |
| 60 | 60 | |
| 61 | -/-- A genuine differentiable extension supplies the within-interval derivative | |
| 62 | -hypothesis for its clamped continuous path, including both endpoints. -/ | |
| 63 | -theorem operatorPath_hasDerivWithinAt_of_extension (a : ℝ → E →L[ℝ] F) | |
| 64 | - (ha : ∀ t : Icc (0 : ℝ) T, A t = a t) | |
| 65 | - (hader : ∀ t : Icc (0 : ℝ) T, HasDerivAt a (A' t) t) : | |
| 66 | - ∀ t : Icc (0 : ℝ) T, | |
| 67 | - HasDerivWithinAt (extendPath T hT A) (A' t) (Icc (0 : ℝ) T) t := by | |
| 68 | - intro t | |
| 69 | - apply (hader t).hasDerivWithinAt.congr_of_mem _ t.property | |
| 70 | - intro x hx | |
| 71 | - simpa only [extendPath, projIcc_of_mem hT hx] using ha ⟨x, hx⟩ | |
| 72 | - | |
| 73 | 61 | /-- Within-interval differentiability with a continuous derivative implies actual |
| 74 | 62 | absolute continuity of the clamped coefficient path. -/ |
| 75 | 63 | theorem operatorPath_absolutelyContinuous |
+0 −11 Euler/TimeH1PointwiseBounds.lean View file
| @@ -91,15 +91,4 @@ theorem norm_le_initial_add_uniform (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | ||
| 91 | 91 | (norm_le_initial_add T hT g η hη hder t ht).trans |
| 92 | 92 | (add_le_add le_rfl (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt ht.2) (norm_nonneg g))) |
| 93 | 93 | |
| 94 | -include hT hη hder in | |
| 95 | -/-- The actual terminal trace has the corresponding backward-in-time bound. -/ | |
| 96 | -theorem norm_le_terminal_add (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 97 | - ‖η t‖ ≤ ‖η T‖+Real.sqrt (T-t)*‖g‖ := by | |
| 98 | - have he := eq_primitive_add_terminal T hT g η hη hder t ht | |
| 99 | - calc | |
| 100 | - ‖η t‖ = ‖realPrimitive T g t+η T‖ := congrArg norm he | |
| 101 | - _ ≤ ‖realPrimitive T g t‖+‖η T‖ := norm_add_le _ _ | |
| 102 | - _ ≤ Real.sqrt (T-t)*‖g‖+‖η T‖ := add_le_add (realPrimitive_norm_le T g t ht) le_rfl | |
| 103 | - _ = ‖η T‖+Real.sqrt (T-t)*‖g‖ := add_comm _ _ | |
| 104 | - | |
| 105 | 94 | end EulerTimeH1PointwiseBounds |
+0 −25 Euler/TimeIntervalGlue.lean View file
| @@ -83,29 +83,4 @@ theorem glue_hasDerivWithinAt (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | ||
| 83 | 83 | exact ((hg t ⟨hgt.le,ht.2⟩).mono_of_mem_nhdsWithin hlocal).congr_of_eventuallyEq |
| 84 | 84 | he (glue_right τ f g hmatch t hgt.le) |
| 85 | 85 | |
| 86 | -/-- For the same first-order equation the derivative matching follows from value matching. -/ | |
| 87 | -theorem glue_evolution (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 88 | - (f g : ℝ → E) (rhs : ℝ → E → E) (hmatch : f τ=g τ) | |
| 89 | - (hf : ∀ t ∈ Icc 0 τ, HasDerivWithinAt f (rhs t (f t)) (Icc 0 τ) t) | |
| 90 | - (hg : ∀ t ∈ Icc τ S, HasDerivWithinAt g (rhs t (g t)) (Icc τ S) t) | |
| 91 | - (t : ℝ) (ht : t ∈ Icc 0 S) : | |
| 92 | - HasDerivWithinAt (glue τ f g) (rhs t (glue τ f g t)) (Icc 0 S) t := by | |
| 93 | - have h := glue_hasDerivWithinAt S τ hτ0 hτS f g (fun s => rhs s (f s)) | |
| 94 | - (fun s => rhs s (g s)) hmatch (congrArg (rhs τ) hmatch) hf hg t ht | |
| 95 | - have he : glue τ (fun s => rhs s (f s)) (fun s => rhs s (g s)) t=rhs t (glue τ f g t) := by | |
| 96 | - by_cases hx : t ≤ τ <;> simp only [glue, hx, ite_true, ite_false] | |
| 97 | - exact he ▸ h | |
| 98 | - | |
| 99 | -omit [NormedSpace ℝ E] in | |
| 100 | -/-- Joining the intervals does not change a shared pointwise time-profile bound. -/ | |
| 101 | -theorem glue_weighted_bound (S τ : ℝ) (f g : ℝ → E) (γ : ℝ → ℝ) (C : ℝ) | |
| 102 | - (hf : ∀ t ∈ Icc 0 τ, ‖f t‖ ≤ C*γ t) | |
| 103 | - (hg : ∀ t ∈ Icc τ S, ‖g t‖ ≤ C*γ t) | |
| 104 | - (t : ℝ) (ht : t ∈ Icc 0 S) : ‖glue τ f g t‖ ≤ C*γ t := by | |
| 105 | - by_cases h : t ≤ τ | |
| 106 | - · rw [glue_left τ f g t h] | |
| 107 | - exact hf t ⟨ht.1,h⟩ | |
| 108 | - · simp only [glue, h, ite_false] | |
| 109 | - exact hg t ⟨(not_le.mp h).le,ht.2⟩ | |
| 110 | - | |
| 111 | 86 | end EulerTimeIntervalGlue |
+0 −24 Euler/TimeLpBoundedMap.lean View file
| @@ -27,33 +27,9 @@ def timeLift (T : ℝ) (A : E →L[ℝ] F) : TimeLp T E →L[ℝ] TimeLp T F := | ||
| 27 | 27 | theorem timeLift_ae (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 28 | 28 | timeLift T A u =ᵐ[timeMeasure T] fun t => A (u t) := A.coeFn_compLpL u |
| 29 | 29 | |
| 30 | -theorem timeLift_norm_le (T : ℝ) (A : E →L[ℝ] F) : ‖timeLift T A‖ ≤ ‖A‖ := | |
| 31 | - A.norm_compLpL_le | |
| 32 | - | |
| 33 | 30 | theorem timeLift_apply_norm_le (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 34 | 31 | ‖timeLift T A u‖ ≤ ‖A‖*‖u‖ := A.norm_compLp_le u |
| 35 | 32 | |
| 36 | -theorem timeLift_add (T : ℝ) (A B : E →L[ℝ] F) : | |
| 37 | - timeLift T (A+B) = timeLift T A + timeLift T B := A.add_compLpL B | |
| 38 | - | |
| 39 | -theorem timeLift_smul (T : ℝ) (c : ℝ) (A : E →L[ℝ] F) : | |
| 40 | - timeLift T (c • A) = c • timeLift T A := A.smul_compLpL c | |
| 41 | - | |
| 42 | -theorem timeLift_comp (T : ℝ) (A : F →L[ℝ] G) (B : E →L[ℝ] F) : | |
| 43 | - timeLift T (A.comp B) = (timeLift T A).comp (timeLift T B) := by | |
| 44 | - apply ContinuousLinearMap.ext | |
| 45 | - intro u | |
| 46 | - apply Lp.ext | |
| 47 | - filter_upwards [timeLift_ae T (A.comp B) u, | |
| 48 | - timeLift_ae T A (timeLift T B u), timeLift_ae T B u] with t hab ha hb | |
| 49 | - exact hab.trans ((congrArg A hb).symm.trans ha.symm) | |
| 50 | - | |
| 51 | -theorem timeLift_id (T : ℝ) : timeLift T (ContinuousLinearMap.id ℝ E) = | |
| 52 | - ContinuousLinearMap.id ℝ (TimeLp T E) := by | |
| 53 | - apply ContinuousLinearMap.ext | |
| 54 | - intro u | |
| 55 | - exact Lp.ext (timeLift_ae T (ContinuousLinearMap.id ℝ E) u) | |
| 56 | - | |
| 57 | 33 | theorem zeroExtension_timeLift (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 58 | 34 | zeroExtension T (timeLift T A u) =ᵐ[volume] fun t => A (zeroExtension T u t) := by |
| 59 | 35 | have h := (ae_eq_restrict_iff_indicator_ae_eq measurableSet_Icc).1 (timeLift_ae T A u) |
+0 −23 Euler/TimeLpCoefficientMap.lean View file
| @@ -69,17 +69,6 @@ def coefficientMap : C(Icc (0 : ℝ) T, E →L[ℝ] F) →L[ℝ] (TimeLp T E → | ||
| 69 | 69 | change ‖timeMultiplier T hT A‖ ≤ (1 : ℝ) * ‖A‖ |
| 70 | 70 | simpa only [one_mul] using timeMultiplier_norm (E := E) (F := F) T hT A) |
| 71 | 71 | |
| 72 | -/-- Coefficient derivatives give genuine operator-norm derivatives of the time multiplier. -/ | |
| 73 | -theorem hasDerivAt_timeMultiplier | |
| 74 | - (A : ℝ → C(Icc (0 : ℝ) T, E →L[ℝ] F)) | |
| 75 | - (A₁ : C(Icc (0 : ℝ) T, E →L[ℝ] F)) (x : ℝ) | |
| 76 | - (hA : HasDerivAt A A₁ x) : | |
| 77 | - HasDerivAt (fun r => timeMultiplier T hT (A r)) (timeMultiplier T hT A₁) x := by | |
| 78 | - change HasDerivAt ((coefficientMap T hT) ∘ A) (coefficientMap T hT A₁) x | |
| 79 | - exact HasFDerivAt.comp_hasDerivAt | |
| 80 | - (F := C(Icc (0 : ℝ) T, E →L[ℝ] F)) (E := TimeLp T E →L[ℝ] TimeLp T F) x | |
| 81 | - (coefficientMap (E := E) (F := F) T hT).hasFDerivAt hA | |
| 82 | - | |
| 83 | 72 | /-- Every order of actual coefficient regularity passes to operator norm regularity. -/ |
| 84 | 73 | theorem contDiff_timeMultiplier {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 85 | 74 | (A : P → C(Icc (0 : ℝ) T, E →L[ℝ] F)) {n : ℕ∞ω} (hA : ContDiff ℝ n A) : |
| @@ -91,18 +80,6 @@ theorem contDiff_timeMultiplier {P : Type*} [NormedAddCommGroup P] [NormedSpace | ||
| 91 | 80 | (E := C(Icc (0 : ℝ) T, E →L[ℝ] F)) (F := TimeLp T E →L[ℝ] TimeLp T F) |
| 92 | 81 | (coefficientMap (E := E) (F := F) T hT)) hA |
| 93 | 82 | |
| 94 | -/-- Differentiating the actual frame H¹ transport with respect to an external parameter. -/ | |
| 95 | -theorem hasDerivAt_productDerivative | |
| 96 | - (A B : ℝ → C(Icc (0 : ℝ) T, E →L[ℝ] F)) | |
| 97 | - (A₁ B₁ : C(Icc (0 : ℝ) T, E →L[ℝ] F)) (x : ℝ) | |
| 98 | - (hA : HasDerivAt A A₁ x) (hB : HasDerivAt B B₁ x) : | |
| 99 | - HasDerivAt (fun r => productDerivative T hT (A r) (B r)) | |
| 100 | - ((timeMultiplier T hT B₁).comp (primitiveTimeLp T hT) + timeMultiplier T hT A₁) x := by | |
| 101 | - have h := ((hasDerivAt_timeMultiplier T hT B B₁ x hB).clm_comp | |
| 102 | - (hasDerivAt_const x (primitiveTimeLp (E := E) T hT))).add | |
| 103 | - (hasDerivAt_timeMultiplier T hT A A₁ x hA) | |
| 104 | - convert h using 1 <;> first | rfl | simp only [comp_zero, add_zero] | |
| 105 | - | |
| 106 | 83 | /-- Arbitrary-order parameter regularity of the genuine H¹ frame transport. -/ |
| 107 | 84 | theorem contDiff_productDerivative {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 108 | 85 | (A B : P → C(Icc (0 : ℝ) T, E →L[ℝ] F)) {n : ℕ∞ω} |
+0 −21 Euler/TimeLpGramGevrey.lean View file
| @@ -69,25 +69,4 @@ theorem gramSolution_gevrey (T : ℝ) (hT : 0 ≤ T) | ||
| 69 | 69 | (gramOperator_contDiff T hT Q hQ) hf c⁻¹ (3*C^2) D (gramCost c C D) Rc R |
| 70 | 70 | (by positivity) hD hM hMC hMD hRc hR (fun _ => le_rfl) hb d hbf n x |
| 71 | 71 | |
| 72 | -/-- The same estimate applies to the explicit inverse-Gram multiplier in the strong equation. -/ | |
| 73 | -theorem inverseGramMultiplier_gevrey (T : ℝ) (hT : 0 ≤ T) | |
| 74 | - (Q : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 75 | - (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 76 | - (hQ : ContDiff ℝ ∞ Q) | |
| 77 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 78 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant Rc 0 n) | |
| 79 | - (f : P → TimeLp T U) (hf : ContDiff ℝ ∞ f) | |
| 80 | - (D R : ℝ) (hD : 0 ≤ D) (hR : 2*gramCost c C D*(Rc+1) ≤ R) | |
| 81 | - (d : ℕ) (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 82 | - (n : ℕ) (x : P) : | |
| 83 | - ‖iteratedFDeriv ℝ n | |
| 84 | - (fun y => timeMultiplier T hT (gramInversePath T (Q y) c hc (hLower y)) (f y)) x‖ ≤ | |
| 85 | - majorant R (d+1) n := by | |
| 86 | - have heq : (fun y => timeMultiplier T hT (gramInversePath T (Q y) c hc (hLower y)) (f y)) = | |
| 87 | - fun y => gramSolver T hT (Q y) c hc (hLower y) (f y) := by | |
| 88 | - funext y | |
| 89 | - rw [gramSolver_eq_multiplier] | |
| 90 | - rw [heq] | |
| 91 | - exact gramSolution_gevrey T hT Q c hc hLower hQ Rc C hRc hC hbQ f hf D R hD hR d hbf n x | |
| 92 | - | |
| 93 | 72 | end EulerTimeLpGramGevrey |
+0 −12 Euler/TimePathGluing.lean View file
| @@ -78,16 +78,4 @@ theorem gluePath_right (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) | ||
| 78 | 78 | change glueFunction a b ha hb u v (projIcc 0 (a+b) (add_nonneg ha hb) (a+t)).val = _ |
| 79 | 79 | rw [projIcc_of_mem (add_nonneg ha hb) htu, glueFunction_right a b ha hb u v hmatch (a+t) (by linarith [ht.1]), add_sub_cancel_left] |
| 80 | 80 | |
| 81 | -/-- The actual pasted path is bounded by any common uniform bound for its two pieces. -/ | |
| 82 | -theorem gluePath_norm_le (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) | |
| 83 | - (u : C(Icc (0 : ℝ) a, E)) (v : C(Icc (0 : ℝ) b, E)) | |
| 84 | - (hmatch : u ⟨a,ha,le_rfl⟩ = v ⟨0,le_rfl,hb⟩) (R : ℝ) (hR : 0 ≤ R) | |
| 85 | - (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : ‖gluePath a b ha hb u v hmatch‖ ≤ R := by | |
| 86 | - apply (ContinuousMap.norm_le _ hR).mpr | |
| 87 | - intro t | |
| 88 | - change ‖if t.val ≤ a then extendPath a ha u t.val else extendPath b hb v (t.val-a)‖ ≤ R | |
| 89 | - split | |
| 90 | - · exact (extendPath_norm_le a ha u t.val).trans hu | |
| 91 | - · exact (extendPath_norm_le b hb v (t.val-a)).trans hv | |
| 92 | - | |
| 93 | 81 | end EulerTimePathGluing |
+0 −12 Euler/TimeSobolevTransport.lean View file
| @@ -44,16 +44,4 @@ theorem transportTime_ae {s : ℕ} (hs : 6 ≤ s) | ||
| 44 | 44 | fun t => asymmetricTransport period hs L hL (extendPath T hT u t) (v t) := |
| 45 | 45 | timeMultiplier_ae T hT (transportPath period hs L hL T u) v |
| 46 | 46 | |
| 47 | -/-- Genuine heat smoothing and actual transport commute asymptotically in the energy-order L² time space. -/ | |
| 48 | -theorem transport_regularization_commutator {s : ℕ} (hs : 6 ≤ s) | |
| 49 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (T : ℝ) (hT : 0 ≤ T) | |
| 50 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period s)) | |
| 51 | - (v : TimeLp T (SobolevSpace period (s+1))) : | |
| 52 | - Filter.Tendsto (fun n => | |
| 53 | - transportTime period hs L hL T hT u | |
| 54 | - ((heatOperator period (s+1) (regularizerVariance n)).compLpL 2 (timeMeasure T) v) - | |
| 55 | - (heatOperator period s (regularizerVariance n)).compLpL 2 (timeMeasure T) | |
| 56 | - (transportTime period hs L hL T hT u v)) Filter.atTop (𝓝 0) := | |
| 57 | - heat_time_commutator_tendsto period s (s+1) T hT (transportPath period hs L hL T u) v | |
| 58 | - | |
| 59 | 47 | end EulerTimeSobolevTransport |
+0 −8 Euler/TopBlockTimeNorm.lean View file
| @@ -37,12 +37,4 @@ theorem pathLp_quadratic_bound {X Y Z I : Type*} [Fintype I] | ||
| 37 | 37 | simp only [pathLp_norm_sq] |
| 38 | 38 | exact h |
| 39 | 39 | |
| 40 | -/-- All actual order-q H² blocks and the lower H^(q+1) norm control the full H^(q+2) time norm. -/ | |
| 41 | -theorem top_blocks_time_norm (period : ℝ) [Fact (0 < period)] (q : ℕ) | |
| 42 | - (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period (2+q))) : | |
| 43 | - ‖pathLp T hT u‖^2 ≤ | |
| 44 | - ‖pathLp T hT ((restrictOperator period (by omega : 1+q ≤ 2+q)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 + | |
| 45 | - ∑ w : Fin q → Fin 4, ‖pathLp T hT ((wordBlock period 2 q w).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 := | |
| 46 | - pathLp_quadratic_bound _ _ (top_blocks_norm_sq period q) T hT u | |
| 47 | - | |
| 48 | 40 | end EulerTopBlockTimeNorm |
+0 −7 Euler/TruncationFamilySmooth.lean View file
| @@ -100,12 +100,5 @@ def sqrtTimeMap (T : ℝ) : C(Icc (0 : ℝ) T, Icc (0 : ℝ) (Real.sqrt T)) wher | ||
| 100 | 100 | @[simp] theorem sqrtTimeMap_apply (T : ℝ) (t : Icc (0 : ℝ) T) : |
| 101 | 101 | (sqrtTimeMap T t : ℝ) = Real.sqrt t := rfl |
| 102 | 102 | |
| 103 | -/-- Continuous square-root reparametrization recovers the exact original family. -/ | |
| 104 | -theorem potentialTruncation_square_sqrt (v : Space × ℝ → Space) | |
| 105 | - (χ : Space → ℝ) (x : Space) {t : ℝ} (ht : 0 ≤ t) : | |
| 106 | - potentialTruncation (fun y => v (y, (Real.sqrt t) ^ 2)) χ x = | |
| 107 | - potentialTruncation (fun y => v (y, t)) χ x := by | |
| 108 | - rw [Real.sq_sqrt ht] | |
| 109 | - | |
| 110 | 103 | |
| 111 | 104 | end Euler.ComparatorBridge |
+0 −32 Euler/VolterraUniqueness.lean View file
| @@ -17,38 +17,6 @@ variable (hK : ContinuousOn (fun p : ℝ × Y => K p.1 p.2) (Ioi 0 ×ˢ (univ : | ||
| 17 | 17 | variable (hk : IntegrableOn k (Ioc 0 T)) (hk0 : ∀ r ∈ Ioc 0 T, 0 ≤ k r) |
| 18 | 18 | variable (hbound : ∀ r ∈ Ioc 0 T, ∀ y, ‖K r y‖ ≤ k r * ‖y‖) |
| 19 | 19 | |
| 20 | -include hK hk hk0 hbound in | |
| 21 | -/-- Two actual mild solutions in the contraction ball agree as continuous paths. -/ | |
| 22 | -theorem mild_solution_unique (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) | |
| 23 | - (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) | |
| 24 | - (R L : ℝ) (hL : 0 ≤ L) | |
| 25 | - (hFL : ∀ t x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖F t x - F t y‖ ≤ L * ‖x - y‖) | |
| 26 | - (hsmall : kernelMass T k * L < 1) | |
| 27 | - (u v : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) | |
| 28 | - (hsolu : ∀ t : Icc (0 : ℝ) T, u t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 29 | - K r (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) | |
| 30 | - (hsolv : ∀ t : Icc (0 : ℝ) T, v t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 31 | - K r (F (projIcc 0 T hT (t.val - r)) (v (projIcc 0 T hT (t.val - r))))) : u = v := by | |
| 32 | - have hfix (z : C(Icc (0 : ℝ) T, X)) | |
| 33 | - (hz : ∀ t : Icc (0 : ℝ) T, z t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 34 | - K r (F (projIcc 0 T hT (t.val - r)) (z (projIcc 0 T hT (t.val - r))))) : | |
| 35 | - picard T hT K k hK hk hk0 hbound a F hF z = z := by | |
| 36 | - ext t | |
| 37 | - change a t + convolution T hT K k hK hk hk0 hbound (pathNonlinearity T F hF z) t = z t | |
| 38 | - rw [convolution_eq_interval T hT K k hK hk hk0 hbound] | |
| 39 | - exact (hz t).symm | |
| 40 | - have h := picard_sub_bound T hT K k hK hk hk0 hbound a F hF R L hL hFL u v hu hv | |
| 41 | - rw [hfix u hsolu, hfix v hsolv] at h | |
| 42 | - have hn : ‖u - v‖ = 0 := by nlinarith [norm_nonneg (u - v)] | |
| 43 | - exact sub_eq_zero.mp (norm_eq_zero.mp hn) | |
| 44 | - | |
| 45 | -/-- The actual Volterra integral vanishes at time zero, giving the prescribed initial trace. -/ | |
| 46 | -theorem mild_solution_initial (a u : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) | |
| 47 | - (hsol : ∀ t : Icc (0 : ℝ) T, u t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 48 | - K r (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) : | |
| 49 | - u ⟨0, le_rfl, hT⟩ = a ⟨0, le_rfl, hT⟩ := by | |
| 50 | - simpa only [intervalIntegral.integral_same, add_zero] using hsol ⟨0, le_rfl, hT⟩ | |
| 51 | - | |
| 52 | 20 | end EulerVolterraConvolution |
| 53 | 21 | |
| 54 | 22 | namespace EulerSobolevHeat |
+0 −11 Euler/VorticityTransport.lean View file
| @@ -111,15 +111,4 @@ theorem tsupport_subset_flow_image | ||
| 111 | 111 | exact hnot ⟨Y x, subset_tsupport _ hnz, hXY x⟩ |
| 112 | 112 | exact hx (by simpa only [hXY x] using hzero (Y x) hz) |
| 113 | 113 | |
| 114 | -omit [InnerProductSpace ℝ E] in | |
| 115 | -/-- In particular each time slice has compact support. -/ | |
| 116 | -theorem hasCompactSupport_of_flow_image | |
| 117 | - (ω : ℝ → E → E) (X : ℝ → E → E) (Y : E → E) (t : ℝ) | |
| 118 | - (hc : HasCompactSupport (ω 0)) (hX : Continuous (X t)) | |
| 119 | - (hXY : ∀ x, X t (Y x) = x) | |
| 120 | - (hzero : ∀ a, ω 0 a = 0 → ω t (X t a) = 0) : | |
| 121 | - HasCompactSupport (ω t) := | |
| 122 | - (hc.image hX).of_isClosed_subset (isClosed_tsupport _) | |
| 123 | - (tsupport_subset_flow_image ω X Y t hc hX hXY hzero) | |
| 124 | - | |
| 125 | 114 | end Euler.ComparatorBridge |
+0 −102 Euler/WeightedCylinderEnergy.lean View file
| @@ -39,106 +39,4 @@ def viscousGrowthCoefficient (K : SmoothCoefficient period) | ||
| 39 | 39 | (‖K'‖ + 2 * transportEnergyConstant period K κ m B + |
| 40 | 40 | 2 * ν * heatEnergyConstant period K c) / (2 * c ^ 2) |
| 41 | 41 | |
| 42 | -/-- The finite Gevrey-weighted integral energy inequality derived from the actual viscous PDE. | |
| 43 | -The signed radius term is retained exactly, and no differentiability of the unregularized norm is assumed. -/ | |
| 44 | -theorem weighted_cylinder_energy_integral {α β : Type*} [Fintype α] [Fintype β] | |
| 45 | - (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 46 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 47 | - (e e' p forcing : α → β → ℝ → LiftL2 period) (z : ℝ → LiftL2 period) | |
| 48 | - (s t c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → ℝ≥0) | |
| 49 | - (J : ∀ i j u, u ∈ Ioo s t → SpatialJet period standardDirection 2 (e i j u)) | |
| 50 | - (g : α → β → ℝ → LiftDomain period → Vector3) | |
| 51 | - (hrep : ∀ i j u, u ∈ Ioo s t → (e i j u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i j u) | |
| 52 | - (hg : ∀ i j u, u ∈ Ioo s t → ∀ x, ContDiff ℝ ∞ (localFieldLift period (g i j u) x)) | |
| 53 | - (hDg : ∀ i j u, u ∈ Ioo s t → MemLp (fun x => fderiv ℝ (localFieldLift period (g i j u) x) 0) | |
| 54 | - 2 (liftMeasure period)) | |
| 55 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 56 | - (hρc : ContinuousOn ρ (Icc s t)) (hρpos : ∀ u ∈ Icc s t, 0 < ρ u) | |
| 57 | - (hρd : ∀ u ∈ Ioo s t, HasDerivAt ρ (ρ' u) u) | |
| 58 | - (hKc : ContinuousOn (fun u => (K u).operator) (Icc s t)) | |
| 59 | - (hec : ∀ i j, ContinuousOn (e i j) (Icc s t)) | |
| 60 | - (hKt : ∀ u ∈ Ioo s t, HasDerivAt (fun v => (K v).operator) (K' u) u) | |
| 61 | - (het : ∀ i j u, u ∈ Ioo s t → HasDerivAt (e i j) (e' i j u) u) | |
| 62 | - (hsym : ∀ u ∈ Ioo s t, ∀ x v w, | |
| 63 | - ⟪(K u).coefficient x v, w⟫_ℝ = ⟪v, (K u).coefficient x w⟫_ℝ) | |
| 64 | - (hpos : ∀ u ∈ Icc s t, ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).coefficient x v, v⟫_ℝ) | |
| 65 | - (hKG : ∀ u ∈ Ioo s t, ∀ x v, (K u).coefficient x ((G u).coefficient x v) = v) | |
| 66 | - (hediv : ∀ i j u, u ∈ Ioo s t → e i j u ∈ divergenceFreeSpace period κ m) | |
| 67 | - (hp : ∀ i j u, u ∈ Ioo s t → p i j u ∈ gradientSpace period κ m) | |
| 68 | - (hz : ∀ u ∈ Ioo s t, z u ∈ divergenceFreeSpace period κ m) | |
| 69 | - (hzB : ∀ u ∈ Ioo s t, ∀ᵐ x ∂liftMeasure period, ‖z u x‖ ≤ B u) | |
| 70 | - (heq : ∀ i j u (hu : u ∈ Ioo s t), e' i j u + | |
| 71 | - EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i j u) (z u) | |
| 72 | - (hDg i j u hu) (B u) (hzB u hu) + (G u).operator (p i j u) = | |
| 73 | - forcing i j u + ν • jetLaplacian period (J i j u hu)) | |
| 74 | - (hAint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 75 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) + | |
| 76 | - (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i)) (Icc s t)) | |
| 77 | - (hFint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 78 | - ((((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u))) (Icc s t)) : | |
| 79 | - weightedMetricSum (ρ t) order (K t).operator (fun i j => e i j t) - | |
| 80 | - weightedMetricSum (ρ s) order (K s).operator (fun i j => e i j s) ≤ | |
| 81 | - ∫ u in s..t, | |
| 82 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) * | |
| 83 | - weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 84 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 85 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 86 | - let Q := fun i u => familyEnergy (K u).operator (fun j => e i j u) | |
| 87 | - let a := fun u => viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) | |
| 88 | - let F := fun i u => (((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u) | |
| 89 | - let w := fun i u => weight (ρ u) (order i) | |
| 90 | - let w' := fun i u => (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i) | |
| 91 | - let A := fun i u => w i u * a u + w' i u | |
| 92 | - let Ψ := fun i u => A i u * √(Q i u) + w i u * F i u | |
| 93 | - have hQ (i : α) : ContinuousOn (Q i) (Icc s t) := | |
| 94 | - continuousOn_finsetSum Finset.univ (fun j _ => (hKc.clm_apply (hec i j)).inner (hec i j)) | |
| 95 | - have hQ0 (i : α) (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q i u := by | |
| 96 | - have hcoer : ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).operator v, v⟫_ℝ := | |
| 97 | - coefficientOperator_coercive (K u).coefficient (K u).measurable (K u).bound | |
| 98 | - (K u).norm_bound (c ^ 2) (hpos u hu) | |
| 99 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans | |
| 100 | - (familyEnergy_coercive (K u).operator (fun j => e i j u) c hcoer) | |
| 101 | - have hregd (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 102 | - DifferentiableAt ℝ (fun v => √(Q i v + δ ^ 2)) u := by | |
| 103 | - have hsymL : ∀ v w, ⟪(K u).operator v, w⟫_ℝ = ⟪v, (K u).operator w⟫_ℝ := | |
| 104 | - coefficientOperator_inner_swap (K u).coefficient (K u).measurable | |
| 105 | - (K u).bound (K u).norm_bound (hsym u hu) | |
| 106 | - have hd : HasDerivAt (Q i) (∑ j, (⟪K' u (e i j u), e i j u⟫_ℝ + | |
| 107 | - 2 * ⟪(K u).operator (e i j u), e' i j u⟫_ℝ)) u := | |
| 108 | - HasDerivAt.fun_sum (u := Finset.univ) (fun j _ => | |
| 109 | - metric_energy_hasDerivAt (fun v => (K v).operator) (e i j) u (K' u) (e' i j u) | |
| 110 | - (hKt u hu) (het i j u hu) hsymL) | |
| 111 | - have hq := hQ0 i u ⟨hu.1.le, hu.2.le⟩ | |
| 112 | - exact (HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q i u + δ ^ 2 ≠ 0)).differentiableAt | |
| 113 | - have hreg (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 114 | - deriv (fun v => √(Q i v + δ ^ 2)) u ≤ a u * √(Q i u + δ ^ 2) + F i u := by | |
| 115 | - exact finite_cylinder_viscous_energy period κ m K (G u) (e i) u δ c ν (K' u) | |
| 116 | - (fun j => e' i j u) (fun j => p i j u) (fun j => forcing i j u) (z u) | |
| 117 | - (fun j => J i j u hu) (fun j => g i j u) (fun j => hrep i j u hu) (fun j => hg i j u hu) | |
| 118 | - (fun j => hDg i j u hu) hδ hc hν (hKt u hu) (fun j => het i j u hu) | |
| 119 | - (hsym u hu) (hpos u ⟨hu.1.le, hu.2.le⟩) (hKG u hu) (fun j => hediv i j u hu) | |
| 120 | - (fun j => hp i j u hu) (hz u hu) (B u) (hzB u hu) (fun j => heq i j u hu) | |
| 121 | - have hi (i : α) : w i t * √(Q i t) - w i s * √(Q i s) ≤ ∫ u in s..t, Ψ i u := by | |
| 122 | - apply weighted_root_integral_of_deriv_bound (Q i) a (F i) (w i) (w' i) s t | |
| 123 | - hst (hQ i) (hQ0 i) ?_ ?_ ?_ (hregd i) (hreg i) (hAint i) (hFint i) | |
| 124 | - · exact (hρc.pow (order i)).div_const (((order i).factorial : ℝ) ^ 2) | |
| 125 | - · intro u hu | |
| 126 | - exact (weight_pos (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i)).le | |
| 127 | - · intro u hu | |
| 128 | - exact weight_hasDerivAt ρ (ρ' u) u (hρd u hu) (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i) | |
| 129 | - have hΨ (i : α) : IntervalIntegrable (Ψ i) volume s t := by | |
| 130 | - apply (intervalIntegrable_iff_integrableOn_Icc_of_le hst).mpr | |
| 131 | - exact ((hAint i).mul_continuousOn (hQ i).sqrt isCompact_Icc).add (hFint i) | |
| 132 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset α)) => hi i) | |
| 133 | - rw [Finset.sum_sub_distrib] at hsum | |
| 134 | - rw [← intervalIntegral.integral_finsetSum (fun i _ => hΨ i)] at hsum | |
| 135 | - have halg (u : ℝ) : (∑ i, Ψ i u) = | |
| 136 | - a u * weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 137 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 138 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 139 | - simp only [Ψ, A, w, w', F, Q, weightedMetricSum, weightedMetricLoss, weightedForcingSum, | |
| 140 | - familyMetricNorm, add_mul, Finset.sum_add_distrib, Finset.mul_sum] | |
| 141 | - simp only [mul_comm, mul_left_comm, mul_assoc] | |
| 142 | - simpa only [halg, w, Q, a, weightedMetricSum, familyMetricNorm] using hsum | |
| 143 | - | |
| 144 | 42 | end EulerWeightedCylinderEnergy |
+0 −11 Euler/WeightedForcingAlgebra.lean View file
| @@ -47,15 +47,4 @@ theorem weightedForcingSum_neg (ρ : ℝ) (order : α → ℕ) (f : α → β | ||
| 47 | 47 | weightedForcingSum ρ order (-f) = weightedForcingSum ρ order f := by |
| 48 | 48 | simp only [weightedForcingSum, Pi.neg_apply, familyNorm_neg] |
| 49 | 49 | |
| 50 | -/-- The forcing norm of a sum is controlled by the sum of the norms of its actual terms. -/ | |
| 51 | -theorem weightedForcingSum_sum_le {ι : Type*} (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) | |
| 52 | - (S : Finset ι) (f : ι → α → β → H) : | |
| 53 | - weightedForcingSum ρ order (∑ i ∈ S, f i) ≤ ∑ i ∈ S, weightedForcingSum ρ order (f i) := by | |
| 54 | - classical | |
| 55 | - induction S using Finset.induction_on with | |
| 56 | - | empty => simp [weightedForcingSum, familyNorm, familySquaredNorm] | |
| 57 | - | @insert i S hi ih => | |
| 58 | - rw [Finset.sum_insert hi, Finset.sum_insert hi] | |
| 59 | - exact (weightedForcingSum_add_le ρ hρ order (f i) (∑ j ∈ S, f j)).trans (add_le_add le_rfl ih) | |
| 60 | - | |
| 61 | 50 | end EulerWeightedForcingAlgebra |
+4 −3 KNOWN.md View file
| @@ -16,9 +16,10 @@ What is established about this problem, one fact a line, each with where it come | ||
| 16 | 16 | |
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 19 | -- [mind, checked] A pending build is a queue, not a failure: s1-euler-* and s1-ns-* builds submitted 12-04 16:10–16:20 were still running at 16:38, while build successes for earlier heads landed 16:35–16:37 and challenge passes 16:34–16:38 (job 2876, commit c745f05, commit 1188f6a). | |
| 20 | -- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:34–16:38 all read 2,590 Lean files but 615,252–617,128 lines, main's heads 616,018–616,920, so a count snapshots one tree (commit ff4bb09, commit 0ce78be, commit 239393c, commit cf8d932). | |
| 21 | -- [mind, checked] A challenge success is filed before the matching build: main's tip 0f1047c reads challenge success at 16:38 with its build queued, and the 02:56–03:23 passes had builds at 03:09–03:52, so a fresh pass can stand without a build (job 3411, commit 7131c8c, commit 828caff). | |
| 19 | +- Main advances several commits a minute: 30 challenge and build successes on main landed 18:23–18:34, on different heads for each check, so a tip named in a reading already trails them (commit 319f9c3, commit 3488233, commit cc9ff43). | |
| 20 | +- A pending build is a queue, not a failure: the 50 running build jobs were submitted 16:50–17:04 and started 17:32–18:08, one waiting 64 minutes, so a queued build can wait over an hour (job 3719, job 3851, job 3863). | |
| 21 | +- A challenge verdict counts its own head's tree: at 17:54–18:05 successes read 2,589 files and 582,410–586,699 lines, at 18:23–18:34 2,589 files and 561,425–575,598 lines, so a count snapshots one tree (commit 2ccee40, commit 509d828, commit 319f9c3). | |
| 22 | +- A challenge pass says nothing about the build: 509d828 passed challenge at 17:35 and failed its build at 17:39 (`Invalid field angularContinuous`), and main's tip 0f1047c reads challenge success at 16:38 with its build still queued (job 3411, commit 7131c8c, commit 509d828). | |
| 22 | 23 | - ~~Build has filed no verdict since 12-02 14:50, so a challenge success after that has no build behind it: six build jobs were submitted at 12-04 02:56, two each on main, p4-euler-section-6 and maintainer-statement, and all six are still pending (job 2168, job 2176, job 2181).~~ Build has since filed verdicts, on 12-04 03:09–03:52, for all six heads submitted at 02:56 (main 530a644 and 0bbf0b4, maintainer-statement 7131c8c, p4-euler-section-6 e86853a, plus p5-h3-approximation-doc 828caff, p2-correction-covariance 642c67e, p2-correction-full-residual d4072c4), so none is left pending (commit 530a644, commit 0bbf0b4, commit 7131c8c, commit 642c67e) |
| 23 | 24 | - Checks repeat for one head across rounds, not only at a submission: 7131c8c and e86853a got two challenge successes at 02:56, builds at 03:11–03:14 and builds again at 06:38, and 642c67e was re-challenged at 07:16 after 03:23 (commit 7131c8c, commit e86853a, commit 642c67e). |
| 24 | 25 | - A commit that changes no judged path is counted, not run: dc2f600 reads 'not run on this commit' for challenge and build. Main's later heads did run: 63e6439 passed both at 15:06, and 5d25935 at 15:23 and 15:24 (commit dc2f600, commit 63e6439, commit 5d25935). |
+0 −260 NavierStokes/ActivationBounds.lean View file
| @@ -279,52 +279,6 @@ theorem width_uniform_jet_bound {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact | ||
| 279 | 279 | (mul_nonneg hy.1 (activation_nonneg T κ y hκ.2)) |
| 280 | 280 | nlinarith |
| 281 | 281 | |
| 282 | -theorem weightedPrimitive_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 283 | - (hKJ : K ⊆ J) {B : Field} (hB : ContDiffOn ℝ ∞ B (logDomain J hJ).carrier) | |
| 284 | - (T0 : ℝ) (n : ℕ) : | |
| 285 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 286 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 287 | - |iteratedDeriv n (fun ξ => weightedPrimitive T κ B (y, ξ)) η| ≤ | |
| 288 | - M * y * activation T κ y := by | |
| 289 | - apply width_uniform_jet_bound hJ hK hKJ (primitiveErrorFactor_smooth hJ hB) | |
| 290 | - intro κ T hT u η _ | |
| 291 | - exact weightedPrimitive_scaled_factor hT.ne' κ B u η | |
| 292 | - | |
| 293 | -theorem controlled_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 294 | - (hKJ : K ⊆ J) {F : Field} (hF : ContDiffOn ℝ ∞ F (logDomain J hJ).carrier) | |
| 295 | - (T0 : ℝ) (n : ℕ) : | |
| 296 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 297 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 298 | - |iteratedDeriv n (fun ξ => controlled T κ F (y, ξ) - F (y, ξ)) η| ≤ | |
| 299 | - M * y * activation T κ y := by | |
| 300 | - apply width_uniform_jet_bound hJ hK hKJ (controlledErrorFactor_smooth hJ hF) | |
| 301 | - intro κ T hT u η hη | |
| 302 | - exact controlled_scaled_factor hT.ne' κ hJ hF u hη | |
| 303 | - | |
| 304 | -theorem angular_relative_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 305 | - (hKJ : K ⊆ J) {L : Field} (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 306 | - (T0 : ℝ) (n : ℕ) : | |
| 307 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 308 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 309 | - |iteratedDeriv n (fun ξ => | |
| 310 | - activatedAngular T κ L (y, ξ) / referenceAngular L (y, ξ) - 1) η| ≤ | |
| 311 | - M * y * activation T κ y := by | |
| 312 | - apply width_uniform_jet_bound hJ hK hKJ (relativeErrorFactor_smooth hJ hL) | |
| 313 | - intro κ T hT u η hη | |
| 314 | - exact angular_relative_scaled_factor hT.ne' κ hJ hL u hη | |
| 315 | - | |
| 316 | -theorem angular_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 317 | - (hKJ : K ⊆ J) {L : Field} (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 318 | - (T0 : ℝ) (n : ℕ) : | |
| 319 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 320 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 321 | - |iteratedDeriv n (fun ξ => | |
| 322 | - activatedAngular T κ L (y, ξ) - referenceAngular L (y, ξ)) η| ≤ | |
| 323 | - M * y * activation T κ y := by | |
| 324 | - apply width_uniform_jet_bound hJ hK hKJ (angularErrorFactor_smooth hJ hL) | |
| 325 | - intro κ T hT u η hη | |
| 326 | - exact angular_scaled_factor hT.ne' κ hJ hL u hη | |
| 327 | - | |
| 328 | 282 | /-! ## Width-uniform factors for the actual five histories -/ |
| 329 | 283 | |
| 330 | 284 | noncomputable def densityErrorFactor (X0 : ℝ) (L U : Field) |
| @@ -450,21 +404,6 @@ theorem history_scaled_factor {T : ℝ} (hT : T ≠ 0) (κ X0 : ℝ) | ||
| 450 | 404 | dsimp only [scaledDistance, historyErrorFactor] |
| 451 | 405 | ring |
| 452 | 406 | |
| 453 | -theorem history_uniform_jets (X0 : ℝ) (initial : HistoryRow → ℝ → ℝ) | |
| 454 | - {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) (hKJ : K ⊆ J) {L U : Field} | |
| 455 | - (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 456 | - (hU : ContDiffOn ℝ ∞ U (logDomain J hJ).carrier) | |
| 457 | - (T0 : ℝ) (r : HistoryRow) (n : ℕ) : | |
| 458 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 459 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 460 | - |iteratedDeriv n (fun ξ => | |
| 461 | - logHistory X0 initial (activatedAngular T κ L) (controlled T κ U) r (y, ξ) - | |
| 462 | - logHistory X0 initial (referenceAngular L) U r (y, ξ)) η| ≤ | |
| 463 | - M * y * activation T κ y := by | |
| 464 | - apply width_uniform_jet_bound hJ hK hKJ (historyErrorFactor_smooth X0 hJ hL hU r) | |
| 465 | - intro κ T hT u η hη | |
| 466 | - exact history_scaled_factor hT.ne' κ X0 initial hJ hL hU r u hη | |
| 467 | - | |
| 468 | 407 | /-! ## Genuine parameter differentiation of the scaled factors -/ |
| 469 | 408 | |
| 470 | 409 | noncomputable def etaD (H : ScaledPoint → ℝ) (q : ScaledPoint) : ℝ := |
| @@ -504,12 +443,6 @@ theorem etaD_scaledDistance_mul (H : ScaledPoint → ℝ) (q : ScaledPoint) : | ||
| 504 | 443 | etaD (fun z => scaledDistance z * H z) q = scaledDistance q * etaD H q := by |
| 505 | 444 | exact deriv_const_mul_field (scaledDistance q) |
| 506 | 445 | |
| 507 | -theorem etaD_rescale {J : Set ℝ} (hJ : IsOpen J) {F : Field} | |
| 508 | - (hF : ContDiffOn ℝ ∞ F (logDomain J hJ).carrier) {q : ScaledPoint} | |
| 509 | - (hq : q ∈ scaledDomain J) : etaD (rescale F) q = rescale (parameterPartial F) q := | |
| 510 | - (parameterPartial_hasDerivAt (logDomain J hJ) hF | |
| 511 | - (p := (q.1.2 * q.2.1, q.2.2)) ⟨mem_univ _, hq.2.2⟩).deriv | |
| 512 | - | |
| 513 | 446 | theorem etaD_congr {J : Set ℝ} (hJ : IsOpen J) {H G : ScaledPoint → ℝ} |
| 514 | 447 | (h : ∀ q ∈ scaledDomain J, H q = G q) {q : ScaledPoint} (hq : q ∈ scaledDomain J) : |
| 515 | 448 | etaD H q = etaD G q := by |
| @@ -519,205 +452,12 @@ theorem etaD_congr {J : Set ℝ} (hJ : IsOpen J) {H G : ScaledPoint → ℝ} | ||
| 519 | 452 | |
| 520 | 453 | /-! ## Independence of the continuation length on the natural overlap -/ |
| 521 | 454 | |
| 522 | -theorem continuation_radialPartial {R δ : ℝ} (hR : 0 < R) (hδ : 0 < δ) | |
| 523 | - (hδR : 2 * δ < R) {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 524 | - (hG : ContDiffOn ℝ ∞ G (ReferencePath.earlyStrip R hR J hJ).carrier) | |
| 525 | - {p : Point} (hη : p.2 ∈ J) : | |
| 526 | - radialPartial (ReferencePath.continuation δ G) p = | |
| 527 | - ReferencePath.slopeCutoff δ p.1 * radialPartial G p := | |
| 528 | - (radialPartial_hasDerivAt (ReferencePath.fullStrip J hJ) | |
| 529 | - (ReferencePath.continuation_smooth hR hδ hδR hJ hG) (p := p) ⟨mem_univ _, hη⟩).unique | |
| 530 | - (ReferencePath.continuation_hasDerivAt hR hδ hδR hJ hG (p := p) hη) | |
| 531 | - | |
| 532 | -theorem controlled_continuation_independent {R δ₁ δ₂ : ℝ} (hR : 0 < R) | |
| 533 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < R) (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < R) | |
| 534 | - {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 535 | - (hG : ContDiffOn ℝ ∞ G (ReferencePath.earlyStrip R hR J hJ).carrier) | |
| 536 | - (T κ : ℝ) {p : Point} (hη : p.2 ∈ J) (hp₁ : p.1 ≤ δ₁) (hp₂ : p.1 ≤ δ₂) : | |
| 537 | - controlled T κ (ReferencePath.continuation δ₁ G) p = | |
| 538 | - controlled T κ (ReferencePath.continuation δ₂ G) p := by | |
| 539 | - have hzero₁ := ReferencePath.continuation_eq_natural hR hδ₁ hδ₁R hJ hG | |
| 540 | - (p := (0, p.2)) hη hδ₁.le | |
| 541 | - have hzero₂ := ReferencePath.continuation_eq_natural hR hδ₂ hδ₂R hJ hG | |
| 542 | - (p := (0, p.2)) hη hδ₂.le | |
| 543 | - unfold controlled | |
| 544 | - rw [hzero₁, hzero₂] | |
| 545 | - congr 1 | |
| 546 | - apply intervalIntegral.integral_congr | |
| 547 | - intro t ht | |
| 548 | - have ht₁ : t ≤ δ₁ := (mem_uIcc.mp ht).elim | |
| 549 | - (fun h => h.2.trans hp₁) (fun h => h.2.trans hδ₁.le) | |
| 550 | - have ht₂ : t ≤ δ₂ := (mem_uIcc.mp ht).elim | |
| 551 | - (fun h => h.2.trans hp₂) (fun h => h.2.trans hδ₂.le) | |
| 552 | - dsimp only | |
| 553 | - rw [continuation_radialPartial hR hδ₁ hδ₁R hJ hG (p := (t, p.2)) hη, | |
| 554 | - continuation_radialPartial hR hδ₂ hδ₂R hJ hG (p := (t, p.2)) hη, | |
| 555 | - ReferencePath.slopeCutoff_one hδ₁ ht₁, ReferencePath.slopeCutoff_one hδ₂ ht₂] | |
| 556 | - | |
| 557 | -theorem profileInitial_congr {D : RadialDomain} (P Q : Profiles D) | |
| 558 | - (h0 : ∀ η, P.pressure0 η = Q.pressure0 η) (r : HistoryRow) (η : ℝ) : | |
| 559 | - profileInitial P r η = profileInitial Q r η := by | |
| 560 | - cases r <;> simp only [profileInitial] | |
| 561 | - exact h0 η | |
| 562 | - | |
| 563 | 455 | namespace NaturalOverlap |
| 564 | 456 | |
| 565 | 457 | open ReferencePath |
| 566 | 458 | |
| 567 | 459 | variable (N : ReferencePath.Input) |
| 568 | 460 | |
| 569 | -theorem f_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 570 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 571 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 572 | - {p : Point} (hη : p.2 ∈ parameterInterval) | |
| 573 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 574 | - FromReference.f N T κ δ₁ p = FromReference.f N T κ δ₂ p := by | |
| 575 | - by_cases hx : p.1 ≤ N.endpoint | |
| 576 | - · rw [FromReference.f_eq_reference N T κ δ₁ hx, FromReference.f_eq_reference N T κ δ₂ hx, | |
| 577 | - N.refF_eq_natural_initial δ₁ hx, N.refF_eq_natural_initial δ₂ hx] | |
| 578 | - · have hX : 0 < p.1 := N.endpoint_pos.trans (lt_of_not_ge hx) | |
| 579 | - rw [FromReference.f_eq_logtime N hT hδ₁ hδ₁R κ hη hX, | |
| 580 | - FromReference.f_eq_logtime N hT hδ₂ hδ₂R κ hη hX] | |
| 581 | - unfold activatedAngular FromReference.refLog | |
| 582 | - congr 1 | |
| 583 | - exact controlled_continuation_independent rampLimit_pos hδ₁ hδ₁R hδ₂ hδ₂R | |
| 584 | - parameterInterval_open N.logF_smooth T κ (p := (N.logTime p.1, p.2)) hη | |
| 585 | - ((N.logTime_le_iff hX).2 hp₁) ((N.logTime_le_iff hX).2 hp₂) | |
| 586 | - | |
| 587 | -theorem U_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 588 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 589 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 590 | - {p : Point} (hη : p.2 ∈ parameterInterval) | |
| 591 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 592 | - FromReference.U N T κ δ₁ p = FromReference.U N T κ δ₂ p := by | |
| 593 | - by_cases hx : p.1 ≤ N.endpoint | |
| 594 | - · rw [FromReference.U_eq_reference N T κ δ₁ hx, FromReference.U_eq_reference N T κ δ₂ hx, | |
| 595 | - N.refU_eq_natural_initial δ₁ hx, N.refU_eq_natural_initial δ₂ hx] | |
| 596 | - · have hX : 0 < p.1 := N.endpoint_pos.trans (lt_of_not_ge hx) | |
| 597 | - rw [FromReference.U_eq_logtime N hT hδ₁ hδ₁R κ hη hX, | |
| 598 | - FromReference.U_eq_logtime N hT hδ₂ hδ₂R κ hη hX] | |
| 599 | - exact controlled_continuation_independent rampLimit_pos hδ₁ hδ₁R hδ₂ hδ₂R | |
| 600 | - parameterInterval_open N.logU_smooth T κ (p := (N.logTime p.1, p.2)) hη | |
| 601 | - ((N.logTime_le_iff hX).2 hp₁) ((N.logTime_le_iff hX).2 hp₂) | |
| 602 | - | |
| 603 | -/-- Equality is from the axis up to the comparison radius, so all recomputed | |
| 604 | -histories are equal, not just their endpoint fields. -/ | |
| 605 | -theorem histories_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 606 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 607 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 608 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 609 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : 0 ≤ p.1) | |
| 610 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 611 | - profileHistory (FromReference.histories N hT hδ₁ hδ₁R κ P0 hP0) r p = | |
| 612 | - profileHistory (FromReference.histories N hT hδ₂ hδ₂R κ P0 hP0) r p := by | |
| 613 | - let A := FromReference.histories N hT hδ₁ hδ₁R κ P0 hP0 | |
| 614 | - let B := FromReference.histories N hT hδ₂ hδ₂R κ P0 hP0 | |
| 615 | - have h0 : profileInitial A r p.2 = profileInitial B r p.2 := | |
| 616 | - profileInitial_congr A B (fun _ => rfl) r p.2 | |
| 617 | - have hf : ∀ x ∈ Icc (0 : ℝ) p.1, A.f (x, p.2) = B.f (x, p.2) := by | |
| 618 | - intro x hx | |
| 619 | - exact f_independent N hT hδ₁ hδ₁R hδ₂ hδ₂R κ (p := (x, p.2)) hη | |
| 620 | - (hx.2.trans hp₁) (hx.2.trans hp₂) | |
| 621 | - have hu : ∀ x ∈ Icc (0 : ℝ) p.1, A.U (x, p.2) = B.U (x, p.2) := by | |
| 622 | - intro x hx | |
| 623 | - exact U_independent N hT hδ₁ hδ₁R hδ₂ hδ₂R κ (p := (x, p.2)) hη | |
| 624 | - (hx.2.trans hp₁) (hx.2.trans hp₂) | |
| 625 | - exact profileHistory_congr_up_to A B r hX h0 hf hu | |
| 626 | - | |
| 627 | -theorem reference_histories_independent {δ₁ δ₂ : ℝ} | |
| 628 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 629 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) | |
| 630 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 631 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : 0 ≤ p.1) | |
| 632 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 633 | - profileHistory (N.histories hδ₁ hδ₁R P0 hP0) r p = | |
| 634 | - profileHistory (N.histories hδ₂ hδ₂R P0 hP0) r p := by | |
| 635 | - let A := N.histories hδ₁ hδ₁R P0 hP0 | |
| 636 | - let B := N.histories hδ₂ hδ₂R P0 hP0 | |
| 637 | - have h0 : profileInitial A r p.2 = profileInitial B r p.2 := | |
| 638 | - profileInitial_congr A B (fun _ => rfl) r p.2 | |
| 639 | - have hf : ∀ x ∈ Icc (0 : ℝ) p.1, A.f (x, p.2) = B.f (x, p.2) := by | |
| 640 | - intro x hx | |
| 641 | - exact (N.refF_eq_natural hδ₁ hδ₁R (p := (x, p.2)) hη (hx.2.trans hp₁)).trans | |
| 642 | - (N.refF_eq_natural hδ₂ hδ₂R (p := (x, p.2)) hη (hx.2.trans hp₂)).symm | |
| 643 | - have hu : ∀ x ∈ Icc (0 : ℝ) p.1, A.U (x, p.2) = B.U (x, p.2) := by | |
| 644 | - intro x hx | |
| 645 | - exact (N.refU_eq_natural hδ₁ hδ₁R (p := (x, p.2)) hη (hx.2.trans hp₁)).trans | |
| 646 | - (N.refU_eq_natural hδ₂ hδ₂R (p := (x, p.2)) hη (hx.2.trans hp₂)).symm | |
| 647 | - exact profileHistory_congr_up_to A B r hX h0 hf hu | |
| 648 | - | |
| 649 | -theorem radius_mono {s t : ℝ} (hst : s ≤ t) : radius N.endpoint s ≤ radius N.endpoint t := | |
| 650 | - mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr hst) N.endpoint_pos.le | |
| 651 | - | |
| 652 | -theorem fixed_history_scaled_factor {T δ : ℝ} (hT : 0 < T) | |
| 653 | - (hδ : 0 < δ) (hδR : 2 * δ < rampLimit) (κ : ℝ) | |
| 654 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 655 | - (u : ℝ) {η : ℝ} (hη : η ∈ parameterInterval) : | |
| 656 | - profileHistory (FromReference.histories N hT hδ hδR κ P0 hP0) r | |
| 657 | - (radius N.endpoint (T * u), η) - | |
| 658 | - profileHistory (N.histories hδ hδR P0 hP0) r (radius N.endpoint (T * u), η) = | |
| 659 | - scaledDistance ((κ, T), (u, η)) * | |
| 660 | - historyErrorFactor N.endpoint (FromReference.refLog N δ) (FromReference.refAxial N δ) r | |
| 661 | - ((κ, T), (u, η)) := by | |
| 662 | - rw [FromReference.histories_log_formula N hT hδ hδR κ P0 hP0 r (T * u) hη, | |
| 663 | - FromReference.reference_histories_log_formula N hδ hδR P0 hP0 r (T * u) hη] | |
| 664 | - exact history_scaled_factor hT.ne' κ N.endpoint _ parameterInterval_open | |
| 665 | - (FromReference.refLog_smooth N hδ hδR) (FromReference.refAxial_smooth N hδ hδR) r u hη | |
| 666 | - | |
| 667 | -/-- The manuscript uses the same width for ACT and REF. Its first-ramp | |
| 668 | -histories have the fixed-reference factors whenever `T ≤ δ0`. -/ | |
| 669 | -theorem diagonal_history_scaled_factor {T δ0 : ℝ} (hT : 0 < T) | |
| 670 | - (hTR : 2 * T < rampLimit) (hδ0 : 0 < δ0) (hδ0R : 2 * δ0 < rampLimit) | |
| 671 | - (hTδ0 : T ≤ δ0) (κ : ℝ) (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 672 | - (r : HistoryRow) {u η : ℝ} (hu : u ∈ Icc (0 : ℝ) 1) (hη : η ∈ parameterInterval) : | |
| 673 | - profileHistory (FromReference.histories N hT hT hTR κ P0 hP0) r | |
| 674 | - (radius N.endpoint (T * u), η) - | |
| 675 | - profileHistory (N.histories hT hTR P0 hP0) r (radius N.endpoint (T * u), η) = | |
| 676 | - scaledDistance ((κ, T), (u, η)) * | |
| 677 | - historyErrorFactor N.endpoint (FromReference.refLog N δ0) (FromReference.refAxial N δ0) r | |
| 678 | - ((κ, T), (u, η)) := by | |
| 679 | - have hy : T * u ≤ T := mul_le_of_le_one_right hT.le hu.2 | |
| 680 | - have hx : 0 ≤ radius N.endpoint (T * u) := (mul_pos N.endpoint_pos (Real.exp_pos _)).le | |
| 681 | - have hxT := radius_mono N hy | |
| 682 | - have hxδ0 := radius_mono N (hy.trans hTδ0) | |
| 683 | - rw [histories_independent N hT hT hTR hδ0 hδ0R κ P0 hP0 r hη hx hxT hxδ0, | |
| 684 | - reference_histories_independent N hT hTR hδ0 hδ0R P0 hP0 r hη hx hxT hxδ0] | |
| 685 | - exact fixed_history_scaled_factor N hT hδ0 hδ0R κ P0 hP0 r u hη | |
| 686 | - | |
| 687 | -theorem diagonal_histories_uniform_jets {δ0 : ℝ} (hδ0 : 0 < δ0) | |
| 688 | - (hδ0R : 2 * δ0 < rampLimit) (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 689 | - {K : Set ℝ} (hK : IsCompact K) (hKJ : K ⊆ parameterInterval) (r : HistoryRow) (n : ℕ) : | |
| 690 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T (hT : T ∈ Ioc (0 : ℝ) δ0) (hTR : 2 * T < rampLimit), | |
| 691 | - ∀ κ ∈ Icc (0 : ℝ) 1, ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 692 | - |iteratedDeriv n (fun ξ => | |
| 693 | - profileHistory (FromReference.histories N hT.1 hT.1 hTR κ P0 hP0) r (radius N.endpoint y, ξ) - | |
| 694 | - profileHistory (N.histories hT.1 hTR P0 hP0) r (radius N.endpoint y, ξ)) η| ≤ | |
| 695 | - M * y * activation T κ y := by | |
| 696 | - obtain ⟨M, hM, hb⟩ := history_uniform_jets N.endpoint (fun _ _ => 0) | |
| 697 | - parameterInterval_open hK hKJ (FromReference.refLog_smooth N hδ0 hδ0R) | |
| 698 | - (FromReference.refAxial_smooth N hδ0 hδ0R) δ0 r n | |
| 699 | - refine ⟨M, hM, ?_⟩ | |
| 700 | - intro T hT hTR κ hκ y hy η hη | |
| 701 | - let u := y / T | |
| 702 | - have hu : u ∈ Icc (0 : ℝ) 1 := | |
| 703 | - ⟨div_nonneg hy.1 hT.1.le, (div_le_one hT.1).2 hy.2⟩ | |
| 704 | - have hTu : T * u = y := by dsimp only [u]; field_simp [hT.1.ne'] | |
| 705 | - have heq : (fun ξ => | |
| 706 | - profileHistory (FromReference.histories N hT.1 hT.1 hTR κ P0 hP0) r (radius N.endpoint y, ξ) - | |
| 707 | - profileHistory (N.histories hT.1 hTR P0 hP0) r (radius N.endpoint y, ξ)) =ᶠ[𝓝 η] | |
| 708 | - (fun ξ => logHistory N.endpoint (fun _ _ => 0) | |
| 709 | - (activatedAngular T κ (FromReference.refLog N δ0)) | |
| 710 | - (controlled T κ (FromReference.refAxial N δ0)) r (y, ξ) - | |
| 711 | - logHistory N.endpoint (fun _ _ => 0) (referenceAngular (FromReference.refLog N δ0)) | |
| 712 | - (FromReference.refAxial N δ0) r (y, ξ)) := by | |
| 713 | - filter_upwards [parameterInterval_open.mem_nhds (hKJ hη)] with ξ hξ | |
| 714 | - rw [← hTu] | |
| 715 | - exact (diagonal_history_scaled_factor N hT.1 hTR hδ0 hδ0R hT.2 κ P0 hP0 r hu hξ).trans | |
| 716 | - (history_scaled_factor hT.1.ne' κ N.endpoint (fun _ _ => 0) parameterInterval_open | |
| 717 | - (FromReference.refLog_smooth N hδ0 hδ0R) (FromReference.refAxial_smooth N hδ0 hδ0R) r u hξ).symm | |
| 718 | - rw [heq.iteratedDeriv_eq n] | |
| 719 | - exact hb T hT κ hκ y hy η hη | |
| 720 | - | |
| 721 | 461 | end NaturalOverlap |
| 722 | 462 | |
| 723 | 463 | end NavierStokes.ActivationBounds |
+0 −64 NavierStokes/ActivationCone.lean View file
| @@ -117,22 +117,6 @@ theorem collar_lower_of_errors {c B r e s v : ℝ} | ||
| 117 | 117 | have hm := mul_le_mul_of_nonneg_left (show r + s ≤ B + 1 by linarith) he |
| 118 | 118 | nlinarith |
| 119 | 119 | |
| 120 | -/-- Combining the ramp and collar estimates gives the actual lower-root | |
| 121 | -criterion, including the strict lower bound on `v`. -/ | |
| 122 | -theorem true_collar_of_errors {c B r e s P J v : ℝ} | |
| 123 | - (hc : 0 < c) (hr : 2 + c ≤ r) (hrB : r ≤ B) | |
| 124 | - (he : 0 < e) (he1 : e ≤ 1) (hs : 0 ≤ s) | |
| 125 | - (hsquarter : s ≤ 1 / 4) (hsc : s ≤ c / 2) | |
| 126 | - (hsB : (B + 1) * s ≤ 1 / 4) (heB : e * (B + 1) ≤ c / 4) | |
| 127 | - (hP : |P - r| ≤ s * e) (hv : |v - (1 - e) * r| ≤ s * e) | |
| 128 | - (hJ : |J| ≤ s * e) : | |
| 129 | - e ≤ P - v ∧ 2 + c / 2 < v ∧ 2 < P ∧ v < coneBound P J := by | |
| 130 | - obtain ⟨hgap, _, hquad⟩ := ramp_cone_of_errors hc hr hrB he he1 hs hsquarter hsc hsB hP hv hJ | |
| 131 | - have hvc := collar_lower_of_errors hc hr hrB he.le (by linarith) heB hv | |
| 132 | - have hv2 : 2 < v := by linarith | |
| 133 | - have hcone := (true_cone_iff hv2).mpr ⟨by linarith, hquad⟩ | |
| 134 | - exact ⟨hgap, hvc, hcone⟩ | |
| 135 | - | |
| 136 | 120 | /-- A single error tolerance is chosen from the fixed reference bounds. -/ |
| 137 | 121 | noncomputable def errorTolerance (c B : ℝ) : ℝ := |
| 138 | 122 | min (1 / 4) (min (c / 2) (1 / (4 * (B + 1)))) |
| @@ -272,62 +256,14 @@ theorem reducedStress_smooth {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ | ||
| 272 | 256 | (hF.mul (hA.add (hy.mul hdA))).prodMk |
| 273 | 257 | (hF.mul (hB.add (hy.mul (hdB.sub ((hκ.mul hB).mul hdR))))) |
| 274 | 258 | |
| 275 | -/-- A common coefficient bound makes the normalized stress direction nonzero | |
| 276 | -on a uniform first collar; the bound does not involve inverse damping. -/ | |
| 277 | -theorem reducedStress_first_positive {F A B κ y dA dB dR α M : ℝ} | |
| 278 | - (hF : 0 < F) (hα : 0 < α) (hA : α ≤ A) (hy : 0 ≤ y) | |
| 279 | - (hdA : |dA| ≤ M) (hsmall : y * M ≤ α / 2) : | |
| 280 | - 0 < (reducedStress F A B κ y dA dB dR).1 := by | |
| 281 | - apply mul_pos hF | |
| 282 | - have hlo := (abs_le.mp hdA).1 | |
| 283 | - have hm := mul_le_mul_of_nonneg_left hlo hy | |
| 284 | - nlinarith | |
| 285 | - | |
| 286 | -theorem reducedStress_nonzero {F A B κ y dA dB dR α M : ℝ} | |
| 287 | - (hF : 0 < F) (hα : 0 < α) (hA : α ≤ A) (hy : 0 ≤ y) | |
| 288 | - (hdA : |dA| ≤ M) (hsmall : y * M ≤ α / 2) : | |
| 289 | - reducedStress F A B κ y dA dB dR ≠ 0 := by | |
| 290 | - intro hz | |
| 291 | - have hpos := reducedStress_first_positive (B := B) (κ := κ) (dB := dB) (dR := dR) | |
| 292 | - hF hα hA hy hdA hsmall | |
| 293 | - rw [hz] at hpos | |
| 294 | - exact (lt_irrefl (0 : ℝ)) hpos | |
| 295 | - | |
| 296 | -theorem reducedStress_edge_projection (F A B κ dA dB dR : ℝ) : | |
| 297 | - (reducedStress F A B κ 0 dA dB dR).1 + | |
| 298 | - (B / A) * (reducedStress F A B κ 0 dA dB dR).2 = | |
| 299 | - F * (A + B ^ 2 / A) := by | |
| 300 | - simp only [reducedStress_at_edge] | |
| 301 | - ring | |
| 302 | - | |
| 303 | -/-- The true angular directional margin has a strictly positive edge limit. -/ | |
| 304 | -theorem reducedStress_edge_margin {F A B c κ dA dB dR : ℝ} | |
| 305 | - (hF : 0 < F) (hc : 0 < c) (hr : 2 + c ≤ A + B ^ 2 / A) : | |
| 306 | - 2 * F < (reducedStress F A B κ 0 dA dB dR).1 + | |
| 307 | - (B / A) * (reducedStress F A B κ 0 dA dB dR).2 := by | |
| 308 | - rw [reducedStress_edge_projection] | |
| 309 | - nlinarith | |
| 310 | - | |
| 311 | 259 | /-- The quadratic cone gap after removing the square of the flat activation. -/ |
| 312 | 260 | noncomputable def normalizedConeGap (r v y dP dv dJ : ℝ) : ℝ := |
| 313 | 261 | 2 * (r + y * (dP - dv)) ^ 2 - (v - 2) * (y * dJ) ^ 2 |
| 314 | 262 | |
| 315 | -theorem cone_gap_factorization (r e y dP dv dJ : ℝ) : | |
| 316 | - 2 * ((r + y * e * dP) - ((1 - e) * r + y * e * dv)) ^ 2 - | |
| 317 | - (((1 - e) * r + y * e * dv) - 2) * (y * e * dJ) ^ 2 = | |
| 318 | - e ^ 2 * normalizedConeGap r ((1 - e) * r + y * e * dv) y dP dv dJ := by | |
| 319 | - unfold normalizedConeGap | |
| 320 | - ring | |
| 321 | - | |
| 322 | 263 | @[simp] theorem normalizedConeGap_at_edge (r v dP dv dJ : ℝ) : |
| 323 | 264 | normalizedConeGap r v 0 dP dv dJ = 2 * r ^ 2 := by |
| 324 | 265 | simp [normalizedConeGap] |
| 325 | 266 | |
| 326 | -theorem normalizedConeGap_edge_positive {r : ℝ} (hr : r ≠ 0) (v dP dv dJ : ℝ) : | |
| 327 | - 0 < normalizedConeGap r v 0 dP dv dJ := by | |
| 328 | - rw [normalizedConeGap_at_edge] | |
| 329 | - positivity | |
| 330 | - | |
| 331 | 267 | /-- The actual cone coordinates formed from two stock coordinates and a shear ratio. -/ |
| 332 | 268 | noncomputable def stockProjection (p q t : ℝ) : ℝ := p + q * t |
| 333 | 269 | noncomputable def stockCross (p q t : ℝ) : ℝ := q - p * t |
+0 −32 NavierStokes/ActivationContinuation.lean View file
| @@ -1518,12 +1518,6 @@ theorem profiles_mem {p : Point} (hp : p.2 ∈ Icc (-1 : ℝ) 1) (hX : 0 ≤ p.1 | ||
| 1518 | 1518 | p ∈ r.reference.domain.carrier := |
| 1519 | 1519 | ReferenceJetBounds.reference_mem _ hX hp |
| 1520 | 1520 | |
| 1521 | -theorem bigTime_pos : 0 < r.reference.bigTime := r.refTime_pos.trans_le r.before_big | |
| 1522 | - | |
| 1523 | -theorem holdTime_pos : 0 < r.holdTime := by | |
| 1524 | - dsimp [holdTime] | |
| 1525 | - linarith [r.bigTime_pos, r.widthU_pos, r.widthA_pos] | |
| 1526 | - | |
| 1527 | 1521 | theorem startRadius_pos : 0 < r.startRadius := |
| 1528 | 1522 | mul_pos r.reference.radius0_pos (Real.exp_pos _) |
| 1529 | 1523 | |
| @@ -1991,14 +1985,6 @@ noncomputable def endpointAxial : ℝ → ℝ := | ||
| 1991 | 1985 | noncomputable def endpointLogarithm : ℝ → ℝ := |
| 1992 | 1986 | r.reference.endpointLog r.actTime r.kappa r.widthU r.widthA C |
| 1993 | 1987 | |
| 1994 | -theorem endpointAxial_smooth : | |
| 1995 | - ContDiffOn ℝ ∞ r.endpointAxial ReferencePath.parameterInterval := | |
| 1996 | - r.reference.endpointU_smooth ReferencePath.parameterInterval_open _ _ _ | |
| 1997 | - | |
| 1998 | -theorem endpointLogarithm_smooth : | |
| 1999 | - ContDiffOn ℝ ∞ r.endpointLogarithm ReferencePath.parameterInterval := | |
| 2000 | - r.reference.endpointLog_smooth ReferencePath.parameterInterval_open _ _ _ _ _ | |
| 2001 | - | |
| 2002 | 1988 | theorem initial_fields {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterval) |
| 2003 | 1989 | (hX : p.1 ≤ (ReferencePath.Input.ofNatural hΛ F).endpoint * Real.exp r.refTime) : |
| 2004 | 1990 | r.profiles.f p = StressActivation.FromReference.f (ReferencePath.Input.ofNatural hΛ F) |
| @@ -2008,24 +1994,6 @@ theorem initial_fields {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterva | ||
| 2008 | 1994 | TransitionRamp.physical_fields_eq_activation F hΛ hsmall r.refTime_pos r.refTime_bound hP0 |
| 2009 | 1995 | r.actTime_pos r.before_big r.widthU_pos r.widthA_pos hη hX |
| 2010 | 1996 | |
| 2011 | -theorem terminal_fields (hC : 0 < C) {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterval) | |
| 2012 | - (hX : 110 ≤ p.1) : | |
| 2013 | - r.profiles.f p = C⁻¹ * Real.exp (Real.log (p.1 / 110) / 10 + r.endpointLogarithm p.2) / | |
| 2014 | - Real.sqrt (2 * p.1) ∧ r.profiles.U p = r.endpointAxial p.2 := by | |
| 2015 | - have hR : r.reference.radius0 < 110 := (r.reference.radius0_lt_100 r.bigTime_pos).trans (by norm_num) | |
| 2016 | - have hfit : r.reference.bigTime + r.widthU + r.widthA ≤ r.reference.finalTime := r.finish_before.le | |
| 2017 | - refine ⟨r.reference.physicalF_held ReferencePath.parameterInterval_open r.widthA_pos | |
| 2018 | - hfit hR hC hX hη, ?_⟩ | |
| 2019 | - exact r.reference.physicalU_held ReferencePath.parameterInterval_open r.widthU_pos | |
| 2020 | - (by linarith [r.widthA_pos]) hR hX hη | |
| 2021 | - | |
| 2022 | -theorem endpointLogarithm_eq_actual (hC : 0 < C) {η : ℝ} | |
| 2023 | - (hη : η ∈ ReferencePath.parameterInterval) : | |
| 2024 | - r.endpointLogarithm η = Real.log (C * r.profiles.E (110, η)) := by | |
| 2025 | - have hR : r.reference.radius0 < 110 := (r.reference.radius0_lt_100 r.bigTime_pos).trans (by norm_num) | |
| 2026 | - exact r.reference.endpointLog_eq_actual ReferencePath.parameterInterval_open r.widthA_pos | |
| 2027 | - r.finish_before.le hR hC hη | |
| 2028 | - | |
| 2029 | 1997 | end RampParameters |
| 2030 | 1998 | |
| 2031 | 1999 | end NavierStokes.ActivationContinuation |
+0 −259 NavierStokes/ActivationHolomorphic.lean View file
| @@ -281,13 +281,6 @@ theorem slice_continuous {Ω : Set ℂ} {F : CField} (hΩ : IsOpen Ω) | ||
| 281 | 281 | exact ((hF.contDiffAt ((isOpen_univ.prod hΩ).mem_nhds ⟨mem_univ _,hz⟩)).comp x |
| 282 | 282 | (contDiffAt_id.prodMk contDiffAt_const)).continuousAt |
| 283 | 283 | |
| 284 | -theorem primitive_hasDerivAt {Ω : Set ℂ} {F : CField} (hΩ : IsOpen Ω) | |
| 285 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ Ω)) {p : CPoint} (hp : p.2 ∈ Ω) : | |
| 286 | - HasDerivAt (fun x => primitive F (x,p.2)) (F p) p.1 := by | |
| 287 | - have hc := slice_continuous hΩ hF hp | |
| 288 | - exact intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable 0 p.1) | |
| 289 | - hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt | |
| 290 | - | |
| 291 | 284 | def dampedSlope (δ : ℝ) (G : CField) (p : CPoint) : ℂ := |
| 292 | 285 | (ReferencePath.slopeCutoff δ p.1 : ℂ) * radial G p |
| 293 | 286 | |
| @@ -331,14 +324,6 @@ theorem regular_continuation {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) (hδT : 2* | ||
| 331 | 324 | exact hG.holomorphic 0 hT |
| 332 | 325 | exact hzero.add hi |
| 333 | 326 | |
| 334 | -theorem continuation_hasDerivAt {T δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < T) | |
| 335 | - {Ω : Set ℂ} (hΩ : IsOpen Ω) {G : CField} (hG : Regular (Iio T) Ω G) | |
| 336 | - {p : CPoint} (hp : p.2 ∈ Ω) : | |
| 337 | - HasDerivAt (fun x => continuation δ G (x,p.2)) (dampedSlope δ G p) p.1 := by | |
| 338 | - unfold continuation | |
| 339 | - simpa only [zero_add] using (hasDerivAt_const p.1 (G (0,p.2))).fun_add | |
| 340 | - (primitive_hasDerivAt hΩ (regular_dampedSlope hδ hδT hΩ hG).smooth hp) | |
| 341 | - | |
| 342 | 327 | theorem continuation_eq_initial {T δ : ℝ} (_ : 0 < T) (hδ : 0 < δ) (hδT : 2*δ < T) |
| 343 | 328 | {Ω : Set ℂ} (hΩ : IsOpen Ω) {G : CField} (hG : Regular (Iio T) Ω G) |
| 344 | 329 | {p : CPoint} (hp : p.2 ∈ Ω) (hx : p.1 ≤ δ) : continuation δ G p = G p := by |
| @@ -548,8 +533,6 @@ theorem logU_real (t η : ℝ) : E.logU (t,(η : ℂ)) = (N.logU (t,η) : ℂ) : | ||
| 548 | 533 | |
| 549 | 534 | def refLog (δ : ℝ) : CField := continuation δ E.logF |
| 550 | 535 | def refAxial (δ : ℝ) : CField := continuation δ E.logU |
| 551 | -def refF (δ : ℝ) : CField := attach N E.f (fun p => Complex.exp (E.refLog δ p)) | |
| 552 | -def refU (δ : ℝ) : CField := attach N E.U (E.refAxial δ) | |
| 553 | 536 | def actLog (T κ δ : ℝ) : CField := controlled T κ (E.refLog δ) |
| 554 | 537 | def actAxial (T κ δ : ℝ) : CField := controlled T κ (E.refAxial δ) |
| 555 | 538 | def actF (T κ δ : ℝ) : CField := attach N E.f (fun p => Complex.exp (E.actLog T κ δ p)) |
| @@ -597,16 +580,6 @@ theorem axial_attach_regular (hΩ : IsOpen Ω) {G : CField} (hG : Regular univ | ||
| 597 | 580 | change E.U (expPoint N (logPoint N p)) = E.U p |
| 598 | 581 | rw [expPoint_logPoint N hp] |
| 599 | 582 | |
| 600 | -theorem refF_regular (hΩ : IsOpen Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 601 | - Regular (Ioi (-R)) Ω (E.refF δ) := | |
| 602 | - E.angular_attach_regular hΩ (E.refLog_regular hΩ hδ hδT) | |
| 603 | - (fun _ hp ht => E.refLog_initial hΩ hδ hδT hp ht) | |
| 604 | - | |
| 605 | -theorem refU_regular (hΩ : IsOpen Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 606 | - Regular (Ioi (-R)) Ω (E.refU δ) := | |
| 607 | - E.axial_attach_regular hΩ (E.refAxial_regular hΩ hδ hδT) | |
| 608 | - (fun _ hp ht => E.refAxial_initial hΩ hδ hδT hp ht) | |
| 609 | - | |
| 610 | 583 | theorem actF_regular (hΩ : IsOpen Ω) {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 611 | 584 | (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) : Regular (Ioi (-R)) Ω (E.actF T κ δ) := by |
| 612 | 585 | apply E.angular_attach_regular hΩ (regular_controlled T κ hΩ (E.refLog_regular hΩ hδ hδT)) |
| @@ -649,23 +622,6 @@ theorem actAxial_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.ram | ||
| 649 | 622 | (StressActivation.FromReference.refAxial_smooth N hδ hδT) |
| 650 | 623 | (fun x _ hη => E.refAxial_real hδ hδT x hη) x hη |
| 651 | 624 | |
| 652 | -theorem refF_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 653 | - (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 654 | - E.refF δ (x,(η : ℂ)) = (N.refF δ (x,η) : ℂ) := by | |
| 655 | - by_cases hx : x ≤ N.endpoint | |
| 656 | - · simp only [refF,attach,ite_eq_left hx,ReferencePath.Input.refF,E.f_real] | |
| 657 | - · simp only [refF,attach,ite_eq_right hx,ReferencePath.Input.refF,logPoint] | |
| 658 | - rw [E.refLog_real hδ hδT _ hη,Complex.ofReal_exp] | |
| 659 | - rfl | |
| 660 | - | |
| 661 | -theorem refU_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 662 | - (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 663 | - E.refU δ (x,(η : ℂ)) = (N.refU δ (x,η) : ℂ) := by | |
| 664 | - by_cases hx : x ≤ N.endpoint | |
| 665 | - · simp only [refU,attach,ite_eq_left hx,ReferencePath.Input.refU,E.U_real] | |
| 666 | - · simp only [refU,attach,ite_eq_right hx,ReferencePath.Input.refU,logPoint] | |
| 667 | - exact E.refAxial_real hδ hδT _ hη | |
| 668 | - | |
| 669 | 625 | theorem actF_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) |
| 670 | 626 | (T κ x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : |
| 671 | 627 | E.actF T κ δ (x,(η : ℂ)) = (StressActivation.FromReference.f N T κ δ (x,η) : ℂ) := by |
| @@ -682,16 +638,6 @@ theorem actU_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLim | ||
| 682 | 638 | · simp only [actU,attach,ite_eq_right hx,StressActivation.FromReference.U,logPoint] |
| 683 | 639 | exact E.actAxial_real hδ hδT T κ _ hη |
| 684 | 640 | |
| 685 | -theorem actF_ne_zero (T κ δ : ℝ) {p : CPoint} (hx : 0 ≤ p.1) (hz : p.2 ∈ Ω) : | |
| 686 | - E.actF T κ δ p ≠ 0 := by | |
| 687 | - by_cases he : p.1 ≤ N.endpoint | |
| 688 | - · have hp := E.initial_half p.1 ⟨hx,he⟩ p.2 hz | |
| 689 | - rw [actF,attach,ite_eq_left he] | |
| 690 | - intro hn | |
| 691 | - simp only [hn,Complex.zero_re,lt_self_iff_false] at hp | |
| 692 | - · simp only [actF,attach,ite_eq_right he] | |
| 693 | - exact Complex.exp_ne_zero _ | |
| 694 | - | |
| 695 | 641 | end NaturalExtension |
| 696 | 642 | |
| 697 | 643 | open NaturalAxisCoefficients NaturalEntrance |
| @@ -926,22 +872,6 @@ theorem exists_natural_extension (hΛ : 0 < Λ) (hsmall : NaturalAxisData.SmallP | ||
| 926 | 872 | |
| 927 | 873 | end NaturalConstruction |
| 928 | 874 | |
| 929 | -def radialJet (F : CField) (k : ℕ) (p : CPoint) : ℂ := | |
| 930 | - iteratedDeriv k (fun x => F (x,p.2)) p.1 | |
| 931 | - | |
| 932 | -theorem radialJet_succ (F : CField) (k : ℕ) : radialJet F (k+1) = radial (radialJet F k) := by | |
| 933 | - funext p | |
| 934 | - simp only [radialJet,radial,iteratedDeriv_succ] | |
| 935 | - | |
| 936 | -theorem Regular.radialJet {S : Set ℝ} {Ω : Set ℂ} {F : CField} | |
| 937 | - (hF : Regular S Ω F) (hS : IsOpen S) (hΩ : IsOpen Ω) (k : ℕ) : | |
| 938 | - Regular S Ω (radialJet F k) := by | |
| 939 | - induction k with | |
| 940 | - | zero => | |
| 941 | - unfold ActivationHolomorphic.radialJet | |
| 942 | - simpa only [iteratedDeriv_zero,Prod.eta] using hF | |
| 943 | - | succ k ih => rw [radialJet_succ]; exact ih.radial hS hΩ | |
| 944 | - | |
| 945 | 875 | theorem scale_half_interval {R : ℝ} (hR : 0 < R) {x : ℝ} (hx : x ∈ Ioi (-R)) |
| 946 | 876 | {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) : t*x ∈ Ioi (-R) := by |
| 947 | 877 | rcases le_total x 0 with hn | hp |
| @@ -1037,18 +967,6 @@ theorem regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1037 | 967 | (fun _ hx _ ht => scale_half_interval E.natural.radius_pos hx ht), |
| 1038 | 968 | regular_pressure E.natural.radius_pos E.isOpen hf E.pressure0_analytic⟩ |
| 1039 | 969 | |
| 1040 | -/-- The width of the holomorphic domain is unchanged at every fixed radial | |
| 1041 | -derivative order. These are actual iterated derivatives of the functions. -/ | |
| 1042 | -theorem all_radial_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 1043 | - (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) (k : ℕ) : | |
| 1044 | - Regular (Ioi (-R)) Ω (radialJet (E.f T κ δ) k) ∧ | |
| 1045 | - Regular (Ioi (-R)) Ω (radialJet (E.U T κ δ) k) ∧ | |
| 1046 | - Regular (Ioi (-R)) Ω (radialJet (E.Ubar T κ δ) k) ∧ | |
| 1047 | - Regular (Ioi (-R)) Ω (radialJet (E.Pi T κ δ) k) := by | |
| 1048 | - obtain ⟨hf,hu,hv,hp⟩ := E.regular hT hδ hδT κ | |
| 1049 | - exact ⟨hf.radialJet isOpen_Ioi E.isOpen k,hu.radialJet isOpen_Ioi E.isOpen k, | |
| 1050 | - hv.radialJet isOpen_Ioi E.isOpen k,hp.radialJet isOpen_Ioi E.isOpen k⟩ | |
| 1051 | - | |
| 1052 | 970 | /-- The signed-square pullbacks are smooth and holomorphic through the axis, |
| 1053 | 971 | and are even in the signed radius. -/ |
| 1054 | 972 | theorem signed_regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| @@ -1061,9 +979,6 @@ theorem signed_regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1061 | 979 | exact ⟨hf.signedSquare E.natural.radius_pos,hu.signedSquare E.natural.radius_pos, |
| 1062 | 980 | hv.signedSquare E.natural.radius_pos,hp.signedSquare E.natural.radius_pos⟩ |
| 1063 | 981 | |
| 1064 | -theorem f_ne_zero (T κ δ : ℝ) {x : ℝ} (hx : 0 ≤ x) {z : ℂ} (hz : z ∈ Ω) : | |
| 1065 | - E.f T κ δ (x,z) ≠ 0 := E.natural.actF_ne_zero T κ δ hx hz | |
| 1066 | - | |
| 1067 | 982 | /-- Agreement includes the literal axis-to-radius average and pressure, |
| 1068 | 983 | with no independently prescribed moment data. -/ |
| 1069 | 984 | theorem real_profiles {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| @@ -1079,28 +994,6 @@ theorem real_profiles {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1079 | 994 | · exact average_ofReal (fun y => E.natural.actU_real hδ hδT T κ y hη) x |
| 1080 | 995 | · exact pressure_ofReal (fun y => E.natural.actF_real hδ hδT T κ y hη) (E.pressure0_real η) x |
| 1081 | 996 | |
| 1082 | -theorem reference_regular {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 1083 | - Regular (Ioi (-R)) Ω (E.natural.refF δ) ∧ | |
| 1084 | - Regular (Ioi (-R)) Ω (E.natural.refU δ) ∧ | |
| 1085 | - Regular (Ioi (-R)) Ω (average (E.natural.refU δ)) ∧ | |
| 1086 | - Regular (Ioi (-R)) Ω (pressure E.pressure0 (E.natural.refF δ)) := by | |
| 1087 | - have hf := E.natural.refF_regular E.isOpen hδ hδT | |
| 1088 | - have hu := E.natural.refU_regular E.isOpen hδ hδT | |
| 1089 | - exact ⟨hf,hu,hu.average isOpen_Ioi E.isOpen | |
| 1090 | - (fun _ hx _ ht => scale_half_interval E.natural.radius_pos hx ht), | |
| 1091 | - regular_pressure E.natural.radius_pos E.isOpen hf E.pressure0_analytic⟩ | |
| 1092 | - | |
| 1093 | -theorem reference_real_profiles {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 1094 | - (hP0 : ContDiff ℝ ∞ P0) (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 1095 | - let P := N.histories hδ hδT P0 hP0 | |
| 1096 | - E.natural.refF δ (x,(η : ℂ)) = (P.f (x,η) : ℂ) ∧ | |
| 1097 | - E.natural.refU δ (x,(η : ℂ)) = (P.U (x,η) : ℂ) ∧ | |
| 1098 | - average (E.natural.refU δ) (x,(η : ℂ)) = (P.Ubar (x,η) : ℂ) ∧ | |
| 1099 | - pressure E.pressure0 (E.natural.refF δ) (x,(η : ℂ)) = (P.pressure (x,η) : ℂ) := by | |
| 1100 | - refine ⟨E.natural.refF_real hδ hδT x hη,E.natural.refU_real hδ hδT x hη,?_,?_⟩ | |
| 1101 | - · exact average_ofReal (fun y => E.natural.refU_real hδ hδT y hη) x | |
| 1102 | - · exact pressure_ofReal (fun y => E.natural.refF_real hδ hδT y hη) (E.pressure0_real η) x | |
| 1103 | - | |
| 1104 | 997 | end InitialTube |
| 1105 | 998 | |
| 1106 | 999 | /-- Actual coefficient profiles and the actual pressure datum construct the |
| @@ -1123,158 +1016,6 @@ theorem exists_initialTube {h j σ Λ C : ℝ} {g a : ℝ → ℝ} {cap : ℝ} | ||
| 1123 | 1016 | pressure0_real := PressureDatum.complexPressure_ofReal g a |
| 1124 | 1017 | }⟩⟩ |
| 1125 | 1018 | |
| 1126 | -theorem natural_average_identity {h j Λ : ℝ} {P0 a : ℝ → ℝ} | |
| 1127 | - {f U V Pr : ProfileHistories.Field} (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a f U V Pr) | |
| 1128 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : ProfileHistories.average U p = V p := by | |
| 1129 | - by_cases hx : p.1 = 0 | |
| 1130 | - · have he : p = (0,p.2) := Prod.ext hx rfl | |
| 1131 | - rw [he,ProfileHistories.average_at_axis,hs.U_axis p.2 hp.2,hs.average_axis p.2 hp.2] | |
| 1132 | - · rw [ProfileHistories.average_eq_quotient U hx] | |
| 1133 | - change (∫ X in (0 : ℝ)..p.1, U (X,p.2)) / p.1 = V p | |
| 1134 | - rw [← hs.average_integral p hp,mul_div_cancel_left₀ _ hx] | |
| 1135 | - | |
| 1136 | -/-- The natural average recovered by complex integration is the original | |
| 1137 | -natural profile's actual average, including the regular value at the axis. -/ | |
| 1138 | -theorem natural_Ubar_real {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} {d : AnalyticInputs h j σ P0} | |
| 1139 | - (F : CoefficientProfile d Λ C) {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1140 | - average (naturalU F) (p.1,(p.2 : ℂ)) = (F.family.Ubar p : ℂ) := by | |
| 1141 | - rw [average_ofReal (fun x => naturalU_real F x p.2) p.1] | |
| 1142 | - exact congrArg Complex.ofReal (natural_average_identity F.family.natural hp) | |
| 1143 | - | |
| 1144 | -theorem natural_Pi_real {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} {d : AnalyticInputs h j σ P0} | |
| 1145 | - (F : CoefficientProfile d Λ C) {P : ℂ → ℂ} (hP : ∀ η : ℝ, P (η : ℂ) = (P0 η : ℂ)) | |
| 1146 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1147 | - pressure P (naturalF F) (p.1,(p.2 : ℂ)) = (F.family.Pi p : ℂ) := by | |
| 1148 | - rw [pressure_ofReal (fun x => naturalF_real F x p.2) (hP p.2) p.1] | |
| 1149 | - congr 1 | |
| 1150 | - have he := F.family.natural.pressure_integral p hp | |
| 1151 | - change F.family.Pi p - P0 p.2 = ProfileHistories.primitive (fun q => F.family.f q ^ 2) p at he | |
| 1152 | - linarith | |
| 1153 | - | |
| 1154 | -theorem iteratedDeriv_smooth {S : Set ℝ} (hS : IsOpen S) {g : ℝ → ℝ} | |
| 1155 | - (hg : ContDiffOn ℝ ∞ g S) (k : ℕ) : ContDiffOn ℝ ∞ (iteratedDeriv k g) S := by | |
| 1156 | - induction k with | |
| 1157 | - | zero => simpa only [iteratedDeriv_zero] using hg | |
| 1158 | - | succ k ih => | |
| 1159 | - rw [iteratedDeriv_succ] | |
| 1160 | - exact ih.deriv_of_isOpen hS (by simp) | |
| 1161 | - | |
| 1162 | -theorem iteratedDeriv_ofReal {S : Set ℝ} (hS : IsOpen S) {g : ℝ → ℝ} | |
| 1163 | - (hg : ContDiffOn ℝ ∞ g S) (k : ℕ) {x : ℝ} (hx : x ∈ S) : | |
| 1164 | - iteratedDeriv k (fun y => (g y : ℂ)) x = ((iteratedDeriv k g x : ℝ) : ℂ) := by | |
| 1165 | - induction k generalizing x with | |
| 1166 | - | zero => rfl | |
| 1167 | - | succ k ih => | |
| 1168 | - rw [iteratedDeriv_succ,iteratedDeriv_succ] | |
| 1169 | - have heq : iteratedDeriv k (fun y => (g y : ℂ)) =ᶠ[𝓝 x] | |
| 1170 | - (fun y => ((iteratedDeriv k g y : ℝ) : ℂ)) := by | |
| 1171 | - filter_upwards [hS.mem_nhds hx] with y hy | |
| 1172 | - exact ih hy | |
| 1173 | - rw [heq.deriv_eq] | |
| 1174 | - exact (((iteratedDeriv_smooth hS hg k).contDiffAt (hS.mem_nhds hx)).differentiableAt | |
| 1175 | - (by simp)).hasDerivAt.ofReal_comp.deriv | |
| 1176 | - | |
| 1177 | -/-- The holomorphic radial jets extend the actual real radial derivatives, | |
| 1178 | -including at the axis; agreement is derived from equality of the functions. -/ | |
| 1179 | -theorem radialJet_real {S : Set ℝ} {Ω : Set ℂ} (hS : IsOpen S) (_ : IsOpen Ω) | |
| 1180 | - {F : CField} (hF : Regular S Ω F) {g : ℝ → ℝ} {η : ℝ} (hη : (η : ℂ) ∈ Ω) | |
| 1181 | - (heq : ∀ x ∈ S, F (x,(η : ℂ)) = (g x : ℂ)) (k : ℕ) {x : ℝ} (hx : x ∈ S) : | |
| 1182 | - radialJet F k (x,(η : ℂ)) = ((iteratedDeriv k g x : ℝ) : ℂ) := by | |
| 1183 | - have hs : ContDiffOn ℝ ∞ (fun x => F (x,(η : ℂ))) S := | |
| 1184 | - hF.smooth.comp (contDiff_id.prodMk contDiff_const).contDiffOn (fun _ hx => ⟨hx,hη⟩) | |
| 1185 | - have hgr : ContDiffOn ℝ ∞ g S := by | |
| 1186 | - apply (Complex.reCLM.contDiff.comp_contDiffOn hs).congr | |
| 1187 | - intro y hy | |
| 1188 | - change g y = (F (y,(η : ℂ))).re | |
| 1189 | - rw [heq y hy,Complex.ofReal_re] | |
| 1190 | - have he : (fun y => F (y,(η : ℂ))) =ᶠ[𝓝 x] (fun y => (g y : ℂ)) := by | |
| 1191 | - filter_upwards [hS.mem_nhds hx] with y hy | |
| 1192 | - exact heq y hy | |
| 1193 | - exact (he.iteratedDeriv_eq k).trans (iteratedDeriv_ofReal hS hgr k hx) | |
| 1194 | - | |
| 1195 | -theorem InitialTube.real_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1196 | - (E : InitialTube N h P0 R Ω) {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 1197 | - (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 1198 | - (k : ℕ) {x η : ℝ} (hx : x ∈ Ioi (-R)) (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 1199 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 1200 | - radialJet (E.f T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.f (y,η)) x : ℝ) : ℂ) ∧ | |
| 1201 | - radialJet (E.U T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.U (y,η)) x : ℝ) : ℂ) ∧ | |
| 1202 | - radialJet (E.Ubar T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.Ubar (y,η)) x : ℝ) : ℂ) ∧ | |
| 1203 | - radialJet (E.Pi T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.pressure (y,η)) x : ℝ) : ℂ) := by | |
| 1204 | - have hη' := NaturalAxisCoefficients.original_interval_interior hη | |
| 1205 | - obtain ⟨hf,hu,hv,hp⟩ := E.regular hT hδ hδT κ | |
| 1206 | - refine ⟨radialJet_real isOpen_Ioi E.isOpen hf (E.real_mem η hη) ?_ k hx, | |
| 1207 | - radialJet_real isOpen_Ioi E.isOpen hu (E.real_mem η hη) ?_ k hx, | |
| 1208 | - radialJet_real isOpen_Ioi E.isOpen hv (E.real_mem η hη) ?_ k hx, | |
| 1209 | - radialJet_real isOpen_Ioi E.isOpen hp (E.real_mem η hη) ?_ k hx⟩ | |
| 1210 | - · intro y _ | |
| 1211 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').1 | |
| 1212 | - · intro y _ | |
| 1213 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.1 | |
| 1214 | - · intro y _ | |
| 1215 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.2.1 | |
| 1216 | - · intro y _ | |
| 1217 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.2.2 | |
| 1218 | - | |
| 1219 | -theorem scale_symmetric_interval {R x t : ℝ} (hx : x ∈ Ioo (-R) R) (ht : t ∈ Icc (0 : ℝ) 1) : | |
| 1220 | - t*x ∈ Ioo (-R) R := by | |
| 1221 | - apply abs_lt.mp | |
| 1222 | - calc | |
| 1223 | - |t*x| = t*|x| := by rw [abs_mul,abs_of_nonneg ht.1] | |
| 1224 | - _ ≤ |x| := mul_le_of_le_one_left (abs_nonneg x) ht.2 | |
| 1225 | - _ < R := abs_lt.mpr hx | |
| 1226 | - | |
| 1227 | -theorem InitialTube.natural_regular {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1228 | - (E : InitialTube N h P0 R Ω) : | |
| 1229 | - Regular (Ioo (-R) R) Ω E.natural.f ∧ | |
| 1230 | - Regular (Ioo (-R) R) Ω E.natural.U ∧ | |
| 1231 | - Regular (Ioo (-R) R) Ω (average E.natural.U) ∧ | |
| 1232 | - Regular (Ioo (-R) R) Ω (pressure E.pressure0 E.natural.f) := by | |
| 1233 | - refine ⟨E.natural.f_regular,E.natural.U_regular,?_,?_⟩ | |
| 1234 | - · exact E.natural.U_regular.average isOpen_Ioo E.isOpen | |
| 1235 | - (fun _ hx _ ht => scale_symmetric_interval hx ht) | |
| 1236 | - · exact (regular_parameter E.pressure0_analytic).add | |
| 1237 | - ((E.natural.f_regular.pow 2).primitive isOpen_Ioo E.isOpen | |
| 1238 | - (fun _ hx _ ht => scale_symmetric_interval hx ht)) | |
| 1239 | - | |
| 1240 | -theorem InitialTube.natural_all_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1241 | - (E : InitialTube N h P0 R Ω) (k : ℕ) : | |
| 1242 | - Regular (Ioo (-R) R) Ω (radialJet E.natural.f k) ∧ | |
| 1243 | - Regular (Ioo (-R) R) Ω (radialJet E.natural.U k) ∧ | |
| 1244 | - Regular (Ioo (-R) R) Ω (radialJet (average E.natural.U) k) ∧ | |
| 1245 | - Regular (Ioo (-R) R) Ω (radialJet (pressure E.pressure0 E.natural.f) k) := by | |
| 1246 | - obtain ⟨hf,hu,hv,hp⟩ := E.natural_regular | |
| 1247 | - exact ⟨hf.radialJet isOpen_Ioo E.isOpen k,hu.radialJet isOpen_Ioo E.isOpen k, | |
| 1248 | - hv.radialJet isOpen_Ioo E.isOpen k,hp.radialJet isOpen_Ioo E.isOpen k⟩ | |
| 1249 | - | |
| 1250 | -theorem InitialTube.reference_all_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1251 | - (E : InitialTube N h P0 R Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) (k : ℕ) : | |
| 1252 | - Regular (Ioi (-R)) Ω (radialJet (E.natural.refF δ) k) ∧ | |
| 1253 | - Regular (Ioi (-R)) Ω (radialJet (E.natural.refU δ) k) ∧ | |
| 1254 | - Regular (Ioi (-R)) Ω (radialJet (average (E.natural.refU δ)) k) ∧ | |
| 1255 | - Regular (Ioi (-R)) Ω (radialJet (pressure E.pressure0 (E.natural.refF δ)) k) := by | |
| 1256 | - obtain ⟨hf,hu,hv,hp⟩ := E.reference_regular hδ hδT | |
| 1257 | - exact ⟨hf.radialJet isOpen_Ioi E.isOpen k,hu.radialJet isOpen_Ioi E.isOpen k, | |
| 1258 | - hv.radialJet isOpen_Ioi E.isOpen k,hp.radialJet isOpen_Ioi E.isOpen k⟩ | |
| 1259 | - | |
| 1260 | -theorem InitialTube.natural_real_profiles {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1261 | - {d : AnalyticInputs h j σ P0} (F : CoefficientProfile d Λ C) (hΛ : 0 < Λ) | |
| 1262 | - {R : ℝ} {Ω : Set ℂ} (E : InitialTube (ReferenceJetBounds.referenceInput F hΛ) h P0 R Ω) | |
| 1263 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1264 | - E.natural.f (p.1,(p.2 : ℂ)) = (F.family.f p : ℂ) ∧ | |
| 1265 | - E.natural.U (p.1,(p.2 : ℂ)) = (F.family.U p : ℂ) ∧ | |
| 1266 | - average E.natural.U (p.1,(p.2 : ℂ)) = (F.family.Ubar p : ℂ) ∧ | |
| 1267 | - pressure E.pressure0 E.natural.f (p.1,(p.2 : ℂ)) = (F.family.Pi p : ℂ) := by | |
| 1268 | - refine ⟨E.natural.f_real _ _,E.natural.U_real _ _,?_,?_⟩ | |
| 1269 | - · rw [average_ofReal (fun x => E.natural.U_real x p.2) p.1] | |
| 1270 | - exact congrArg Complex.ofReal (natural_average_identity F.family.natural hp) | |
| 1271 | - · rw [pressure_ofReal (fun x => E.natural.f_real x p.2) (E.pressure0_real p.2) p.1] | |
| 1272 | - congr 1 | |
| 1273 | - change P0 p.2 + ProfileHistories.primitive (fun q => F.family.f q ^ 2) p = F.family.Pi p | |
| 1274 | - have he := F.family.natural.pressure_integral p hp | |
| 1275 | - change F.family.Pi p - P0 p.2 = ProfileHistories.primitive (fun q => F.family.f q ^ 2) p at he | |
| 1276 | - linarith | |
| 1277 | - | |
| 1278 | 1019 | end NavierStokes.ActivationHolomorphic |
| 1279 | 1020 | |
| 1280 | 1021 | end |
+0 −91 NavierStokes/ActivationStocks.lean View file
| @@ -174,11 +174,6 @@ end SmoothPairs | ||
| 174 | 174 | noncomputable def etaD (F : Field) (p : Point) : ℝ := |
| 175 | 175 | deriv (fun η => F (p.1, η)) p.2 |
| 176 | 176 | |
| 177 | -theorem etaD_eq_parameterPartial {D : RadialDomain} {F : Field} | |
| 178 | - (hF : ContDiffOn ℝ ∞ F D.carrier) {p : Point} (hp : p ∈ D.carrier) : | |
| 179 | - etaD F p = parameterPartial F p := | |
| 180 | - (parameterPartial_hasDerivAt D hF hp).deriv | |
| 181 | - | |
| 182 | 177 | noncomputable def logViewOne (h X0 : ℝ) (f : Field) (H : HistoryRow → Field) (p : Point) : ℝ := |
| 183 | 178 | stockOne h (radius X0 p.1) p.2 (f p) (H .mass p) (etaD (H .mass) p) |
| 184 | 179 | (H .angular p) (etaD (H .angular) p) (H .transport p) (etaD (H .transport) p) |
| @@ -359,14 +354,6 @@ theorem etaPair_actual_eq {J : Set ℝ} (hJ : IsOpen J) (A : StockPair J) | ||
| 359 | 354 | filter_upwards [hJ.mem_nhds hη] with ξ hξ |
| 360 | 355 | exact heq ξ hξ |
| 361 | 356 | |
| 362 | -theorem etaPair_reference_eq {J : Set ℝ} (hJ : IsOpen J) (A : StockPair J) | |
| 363 | - (F : Field) (κ T u : ℝ) {η : ℝ} (hη : η ∈ J) | |
| 364 | - (heq : ∀ ξ ∈ J, A.reference ((κ, T), (u, ξ)) = F (T * u, ξ)) : | |
| 365 | - (etaPair hJ A).reference ((κ, T), (u, η)) = etaD F (T * u, η) := by | |
| 366 | - apply Filter.EventuallyEq.deriv_eq | |
| 367 | - filter_upwards [hJ.mem_nhds hη] with ξ hξ | |
| 368 | - exact heq ξ hξ | |
| 369 | - | |
| 370 | 357 | noncomputable def controlledPair {J : Set ℝ} (hJ : IsOpen J) {U : Field} |
| 371 | 358 | (hU : ContDiffOn ℝ ∞ U (logDomain J hJ).carrier) : StockPair J where |
| 372 | 359 | actual := ActivationBounds.controlledValue U |
| @@ -612,10 +599,6 @@ theorem historyEtaPair_actual {T : ℝ} (hT : T ≠ 0) (κ u : ℝ) | ||
| 612 | 599 | intro ξ hξ |
| 613 | 600 | exact historyPair_actual_eq X0 initial hJ hL hU hi hT κ r u hξ |
| 614 | 601 | |
| 615 | -theorem historyEtaPair_reference (q : ScaledPoint) (r : HistoryRow) : | |
| 616 | - (etaPair hJ (historyPair X0 initial hJ hL hU hi r)).reference q = | |
| 617 | - etaD (logHistory X0 initial (referenceAngular L) U r) (q.1.2 * q.2.1, q.2.2) := rfl | |
| 618 | - | |
| 619 | 602 | theorem activationOnePair_actual {T : ℝ} (hT : T ≠ 0) (κ u : ℝ) |
| 620 | 603 | {η : ℝ} (hη : η ∈ J) : |
| 621 | 604 | (activationOnePair h hX0 initial hJ hL hU hi hcoef).actual ((κ, T), (u, η)) = |
| @@ -693,20 +676,6 @@ theorem exists_log_stock_factors : | ||
| 693 | 676 | rwa [activationTwoPair_actual h hX0 initial hJ hL hU hi hcoef hT κ u hη, |
| 694 | 677 | activationTwoPair_reference h hX0 initial hJ hL hU hi hcoef] at he |
| 695 | 678 | |
| 696 | -theorem activationOnePair_zero (κ u : ℝ) {η : ℝ} (hη : η ∈ J) : | |
| 697 | - (activationOnePair h hX0 initial hJ hL hU hi hcoef).actual ((κ, 0), (u, η)) = | |
| 698 | - (activationOnePair h hX0 initial hJ hL hU hi hcoef).reference ((κ, 0), (u, η)) := by | |
| 699 | - have he := (activationOnePair h hX0 initial hJ hL hU hi hcoef).difference | |
| 700 | - ((κ, 0), (u, η)) ⟨mem_univ _, mem_univ _, hη⟩ | |
| 701 | - simpa only [scaledDistance, zero_mul, sub_eq_zero] using he | |
| 702 | - | |
| 703 | -theorem activationTwoPair_zero (κ u : ℝ) {η : ℝ} (hη : η ∈ J) : | |
| 704 | - (activationTwoPair h hX0 initial hJ hL hU hi hcoef).actual ((κ, 0), (u, η)) = | |
| 705 | - (activationTwoPair h hX0 initial hJ hL hU hi hcoef).reference ((κ, 0), (u, η)) := by | |
| 706 | - have he := (activationTwoPair h hX0 initial hJ hL hU hi hcoef).difference | |
| 707 | - ((κ, 0), (u, η)) ⟨mem_univ _, mem_univ _, hη⟩ | |
| 708 | - simpa only [scaledDistance, zero_mul, sub_eq_zero] using he | |
| 709 | - | |
| 710 | 679 | include hX0 hJ hL hU hi hcoef in |
| 711 | 680 | theorem log_stocks_uniform_jets {K : Set ℝ} (hK : IsCompact K) (hKJ : K ⊆ J) |
| 712 | 681 | (T0 : ℝ) (n : ℕ) : |
| @@ -750,66 +719,6 @@ open ReferencePath | ||
| 750 | 719 | |
| 751 | 720 | variable (N : ReferencePath.Input) |
| 752 | 721 | |
| 753 | -/-- The factors concern the actual recomputed ACT and REF lag histories. | |
| 754 | -Their common scaled domain contains `T=0`. -/ | |
| 755 | -theorem exists_physical_stock_factors {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 756 | - (h : ℝ) (hcoef : ∀ η ∈ parameterInterval, NaturalAxisData.L h η ≠ 0) | |
| 757 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) : | |
| 758 | - ∃ P Q : ScaledPoint → ℝ, | |
| 759 | - ContDiffOn ℝ ∞ P (scaledDomain parameterInterval) ∧ | |
| 760 | - ContDiffOn ℝ ∞ Q (scaledDomain parameterInterval) ∧ | |
| 761 | - ∀ T : ℝ, ∀ hT : 0 < T, ∀ κ u η : ℝ, η ∈ parameterInterval → | |
| 762 | - profileStockOne (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 763 | - (radius N.endpoint (T * u), η) - | |
| 764 | - profileStockOne (N.histories hδ hδT P0 hP0) h (radius N.endpoint (T * u), η) = | |
| 765 | - scaledDistance ((κ, T), (u, η)) * P ((κ, T), (u, η)) ∧ | |
| 766 | - profileStockTwo (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 767 | - (radius N.endpoint (T * u), η) - | |
| 768 | - profileStockTwo (N.histories hδ hδT P0 hP0) h (radius N.endpoint (T * u), η) = | |
| 769 | - scaledDistance ((κ, T), (u, η)) * Q ((κ, T), (u, η)) := by | |
| 770 | - obtain ⟨P, Q, hP, hQ, hf⟩ := exists_log_stock_factors h N.endpoint_pos | |
| 771 | - (initial N hδ hδT P0 hP0) parameterInterval_open | |
| 772 | - (StressActivation.FromReference.refLog_smooth N hδ hδT) | |
| 773 | - (StressActivation.FromReference.refAxial_smooth N hδ hδT) | |
| 774 | - (initial_smooth N hδ hδT P0 hP0) hcoef | |
| 775 | - refine ⟨P, Q, hP, hQ, ?_⟩ | |
| 776 | - intro T hT κ u η hη | |
| 777 | - rw [actual_stockOne_logView N hT hδ hδT κ h P0 hP0 (T * u) hη, | |
| 778 | - reference_stockOne_logView N hδ hδT h P0 hP0 (T * u) hη, | |
| 779 | - actual_stockTwo_logView N hT hδ hδT κ h P0 hP0 (T * u) hη, | |
| 780 | - reference_stockTwo_logView N hδ hδT h P0 hP0 (T * u) hη] | |
| 781 | - exact hf T hT.ne' κ u η hη | |
| 782 | - | |
| 783 | -/-- One constant controls both actual stock errors for every sufficiently | |
| 784 | -small positive width and all activation parameters, including `κ=0`. -/ | |
| 785 | -theorem physical_stocks_uniform_bound {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 786 | - (h : ℝ) (hcoef : ∀ η ∈ parameterInterval, NaturalAxisData.L h η ≠ 0) | |
| 787 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (T0 : ℝ) : | |
| 788 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T : ℝ, ∀ hT : 0 < T, T ≤ T0 → ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 789 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 790 | - |profileStockOne (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 791 | - (radius N.endpoint y, η) - | |
| 792 | - profileStockOne (N.histories hδ hδT P0 hP0) h (radius N.endpoint y, η)| ≤ | |
| 793 | - M * y * activation T κ y ∧ | |
| 794 | - |profileStockTwo (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 795 | - (radius N.endpoint y, η) - | |
| 796 | - profileStockTwo (N.histories hδ hδT P0 hP0) h (radius N.endpoint y, η)| ≤ | |
| 797 | - M * y * activation T κ y := by | |
| 798 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ parameterInterval := | |
| 799 | - NaturalAxisCoefficients.original_interval_interior | |
| 800 | - obtain ⟨M, hM, hbound⟩ := log_stocks_uniform_jets h N.endpoint_pos | |
| 801 | - (initial N hδ hδT P0 hP0) parameterInterval_open | |
| 802 | - (StressActivation.FromReference.refLog_smooth N hδ hδT) | |
| 803 | - (StressActivation.FromReference.refAxial_smooth N hδ hδT) | |
| 804 | - (initial_smooth N hδ hδT P0 hP0) hcoef isCompact_Icc hKJ T0 0 | |
| 805 | - refine ⟨M, hM, ?_⟩ | |
| 806 | - intro T hT hTT κ hκ y hy η hη | |
| 807 | - rw [actual_stockOne_logView N hT hδ hδT κ h P0 hP0 y (hKJ hη), | |
| 808 | - reference_stockOne_logView N hδ hδT h P0 hP0 y (hKJ hη), | |
| 809 | - actual_stockTwo_logView N hT hδ hδT κ h P0 hP0 y (hKJ hη), | |
| 810 | - reference_stockTwo_logView N hδ hδT h P0 hP0 y (hKJ hη)] | |
| 811 | - simpa only [iteratedDeriv_zero] using hbound T ⟨hT, hTT⟩ κ hκ y hy η hη | |
| 812 | - | |
| 813 | 722 | end FromReference |
| 814 | 723 | |
| 815 | 724 | /-! ## Agreement of the reference stocks with the natural stress-free stocks -/ |
+0 −50 NavierStokes/ActiveAnnulusWeight.lean View file
| @@ -76,41 +76,6 @@ theorem edgeDistance_le_left (a b y : ℝ) : edgeDistance a b y ≤ y-a := | ||
| 76 | 76 | theorem edgeDistance_le_right (a b y : ℝ) : edgeDistance a b y ≤ b-y := |
| 77 | 77 | (min_le_right _ _).trans (min_le_right _ _) |
| 78 | 78 | |
| 79 | -theorem iteratedDeriv_zero_function (n : ℕ) : iteratedDeriv n (fun _ : ℝ => (0 : ℝ)) = fun _ => 0 := by | |
| 80 | - induction n with | |
| 81 | - | zero => rfl | |
| 82 | - | succ n ih => simp only [iteratedDeriv_succ,ih,deriv_const'] | |
| 83 | - | |
| 84 | -theorem flat_left_of_zero {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) {a : ℝ} | |
| 85 | - (hz : ∀ x < a, f x = 0) (n : ℕ) : iteratedDeriv n f a = 0 := by | |
| 86 | - have heq : EqOn (iteratedDeriv n f) (fun _ => 0) (Iio a) := by | |
| 87 | - intro x hx | |
| 88 | - have he : f =ᶠ[𝓝 x] (fun _ => 0) := by | |
| 89 | - filter_upwards [Iio_mem_nhds hx] with y hy | |
| 90 | - exact hz y hy | |
| 91 | - rw [he.iteratedDeriv_eq n,iteratedDeriv_zero_function] | |
| 92 | - have hc := heq.closure (hf.continuous_iteratedDeriv n (by exact_mod_cast le_top)) continuous_const | |
| 93 | - exact hc (by simp) | |
| 94 | - | |
| 95 | -theorem flat_right_of_zero {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) {b : ℝ} | |
| 96 | - (hz : ∀ x, b < x → f x = 0) (n : ℕ) : iteratedDeriv n f b = 0 := by | |
| 97 | - have heq : EqOn (iteratedDeriv n f) (fun _ => 0) (Ioi b) := by | |
| 98 | - intro x hx | |
| 99 | - have he : f =ᶠ[𝓝 x] (fun _ => 0) := by | |
| 100 | - filter_upwards [Ioi_mem_nhds hx] with y hy | |
| 101 | - exact hz y hy | |
| 102 | - rw [he.iteratedDeriv_eq n,iteratedDeriv_zero_function] | |
| 103 | - have hc := heq.closure (hf.continuous_iteratedDeriv n (by exact_mod_cast le_top)) continuous_const | |
| 104 | - exact hc (by simp) | |
| 105 | - | |
| 106 | -theorem weight_flat_left {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 107 | - iteratedDeriv n (weight c a b) a = 0 := | |
| 108 | - flat_left_of_zero (weight_smooth hc a b) (fun _ hx => weight_zero_left c b hx.le) n | |
| 109 | - | |
| 110 | -theorem weight_flat_right {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 111 | - iteratedDeriv n (weight c a b) b = 0 := | |
| 112 | - flat_right_of_zero (weight_smooth hc a b) (fun _ hx => weight_zero_right c a hx.le) n | |
| 113 | - | |
| 114 | 79 | theorem radialWeight_zero_left (c b : ℝ) {a X : ℝ} (hX : X ≤ Real.exp a) : radialWeight c a b X = 0 := by |
| 115 | 80 | by_cases hx : 0 < X |
| 116 | 81 | · rw [radialWeight,ite_eq_left hx] |
| @@ -143,14 +108,6 @@ theorem radialWeight_smooth {c : ℝ} (hc : 0 < c) (a b : ℝ) : ContDiff ℝ | ||
| 143 | 108 | exact radialWeight_zero_left c b hxp.le |
| 144 | 109 | exact contDiffAt_const.congr_of_eventuallyEq he |
| 145 | 110 | |
| 146 | -theorem radialWeight_flat_left {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 147 | - iteratedDeriv n (radialWeight c a b) (Real.exp a) = 0 := | |
| 148 | - flat_left_of_zero (radialWeight_smooth hc a b) (fun _ hx => radialWeight_zero_left c b hx.le) n | |
| 149 | - | |
| 150 | -theorem radialWeight_flat_right {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 151 | - iteratedDeriv n (radialWeight c a b) (Real.exp b) = 0 := | |
| 152 | - flat_right_of_zero (radialWeight_smooth hc a b) (fun _ hx => radialWeight_zero_right c a hx.le) n | |
| 153 | - | |
| 154 | 111 | theorem weight_lower_middle {c a b d y : ℝ} (hc : 0 ≤ c) (hd : 0 < d) |
| 155 | 112 | (hy : y ∈ Icc (a+d) (b-d)) : |
| 156 | 113 | FlatCutoff.edge c d * FlatCutoff.edge 4 d ≤ weight c a b y := by |
| @@ -682,13 +639,6 @@ theorem unitOfTilt_smooth : ContDiff ℝ ∞ unitOfTilt := by | ||
| 682 | 639 | have hne (t : ℝ) : Real.sqrt (1+t^2) ≠ 0 := (Real.sqrt_pos.2 (by positivity)).ne' |
| 683 | 640 | exact (hs.inv hne).prodMk (contDiff_id.div hs hne) |
| 684 | 641 | |
| 685 | -theorem unitOfTilt_normSq (t : ℝ) : (unitOfTilt t).1^2 + (unitOfTilt t).2^2 = 1 := by | |
| 686 | - have hs : 0 < Real.sqrt (1+t^2) := Real.sqrt_pos.2 (by positivity) | |
| 687 | - have hsq := Real.sq_sqrt (by positivity : 0 ≤ 1+t^2) | |
| 688 | - dsimp [unitOfTilt] | |
| 689 | - field_simp | |
| 690 | - exact hsq.symm | |
| 691 | - | |
| 692 | 642 | theorem tilt_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : tilt (r • v) = tilt v := by |
| 693 | 643 | simp only [tilt,Prod.smul_fst,Prod.smul_snd,smul_eq_mul] |
| 694 | 644 | exact mul_div_mul_left _ _ hr |
+0 −55 NavierStokes/ActualBaseResidual.lean View file
| @@ -813,16 +813,6 @@ theorem basePressure_eq_fixedPressure (n : ℕ) (x : Full) : | ||
| 813 | 813 | basePressure H v upper B n x = fixedPressure H v upper B n x.1 := |
| 814 | 814 | basePressure_angle_eq H v upper B n x.1 x.2 |
| 815 | 815 | |
| 816 | -/-- Full band transition. The auxiliary cover is arbitrary because this is | |
| 817 | -the same physical base field on every free lift. -/ | |
| 818 | -theorem basePressure_band (n m k : ℕ) (x : Point) (theta : ℝ) : | |
| 819 | - basePressure H v upper B n (x, theta) = | |
| 820 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) * | |
| 821 | - basePressure H v upper B m (GaugeStateCoherence.bandChartEquiv F.data.h n m k x, theta) := by | |
| 822 | - simp only [basePressure, pressureAtScale, physicalPoint_bandChart] | |
| 823 | - rw [← mul_assoc, mul_comm ((ChartScales.Q n / ChartScales.Q m) ^ _) (ChartScales.Q m ^ _), | |
| 824 | - band_power_product] | |
| 825 | - | |
| 826 | 816 | theorem baseError_band (n m k : ℕ) (x : Point) (theta : ℝ) (i : Fin 3) : |
| 827 | 817 | baseError H v upper B n (x, theta) i = |
| 828 | 818 | (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h + 1 / 2) * |
| @@ -864,21 +854,6 @@ theorem errorState_band (U : Set Point) (n m k : ℕ) : | ||
| 864 | 854 | · intro x hx theta i; simp [errorState] |
| 865 | 855 | · intro x hx theta i; simp [errorState] |
| 866 | 856 | |
| 867 | -theorem fixedPressure_band (U : Set Point) (n m k : ℕ) : | |
| 868 | - PhysicalResidualNaturality.ScalarOn U (GaugeStateCoherence.bandChartEquiv F.data.h n m k) | |
| 869 | - (GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 870 | - GaugeStateCoherence.bandVelocityScale F.data.h n m) | |
| 871 | - (fixedPressure H v upper B n) (fixedPressure H v upper B m) := by | |
| 872 | - intro x hx | |
| 873 | - have hp : GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 874 | - GaugeStateCoherence.bandVelocityScale F.data.h n m = | |
| 875 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) := by | |
| 876 | - unfold GaugeStateCoherence.bandVelocityScale | |
| 877 | - rw [← Real.rpow_add (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m))] | |
| 878 | - congr 1 | |
| 879 | - ring | |
| 880 | - simpa only [fixedPressure, hp] using basePressure_band H v upper B n m k x 0 | |
| 881 | - | |
| 882 | 857 | |
| 883 | 858 | /-- The actual excluded error has no angular dependence on positive time |
| 884 | 859 | and radius; this follows from the proved base equation. -/ |
| @@ -919,36 +894,6 @@ theorem baseError_angle_eq (n : ℕ) {x : Point} (hR : 0 < x.1) (hT : 0 < x.2.1. | ||
| 919 | 894 | exact add_left_cancel he |
| 920 | 895 | |
| 921 | 896 | |
| 922 | -theorem baseError_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 923 | - baseError H v upper B n ((R, (s, Y)), theta) = | |
| 924 | - baseError H v upper B n ((R, (s, Y')), theta) := rfl | |
| 925 | - | |
| 926 | -theorem basePressure_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 927 | - basePressure H v upper B n ((R, (s, Y)), theta) = | |
| 928 | - basePressure H v upper B n ((R, (s, Y')), theta) := rfl | |
| 929 | - | |
| 930 | -/-- Fixed-band common-cover specialization of the same physical error field. -/ | |
| 931 | -theorem errorState_common (U : Set Point) (n k : ℕ) : | |
| 932 | - PhysicalResidualNaturality.StateOn U (CommonBaseContext.coverLift k) 1 1 | |
| 933 | - (errorState H v upper B) (errorState H v upper B) n n := by | |
| 934 | - refine ⟨⟨?_, ?_, ?_⟩, ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 935 | - · intro x hx; simp [errorState] | |
| 936 | - · intro x hx; simp [errorState] | |
| 937 | - · intro x hx; simp [errorState] | |
| 938 | - · intro x hx; simp [errorState] | |
| 939 | - · intro x hx theta i; simp [errorState] | |
| 940 | - · intro x hx theta; simp [errorState] | |
| 941 | - · intro x hx theta i | |
| 942 | - simp [errorState, baseError, errorAtScale, physicalPoint, cylinderPoint] | |
| 943 | - · intro x hx theta i; simp [errorState] | |
| 944 | - · intro x hx theta i; simp [errorState] | |
| 945 | - | |
| 946 | -theorem fixedPressure_common (U : Set Point) (n k : ℕ) : | |
| 947 | - PhysicalResidualNaturality.ScalarOn U (CommonBaseContext.coverLift k) 1 | |
| 948 | - (fixedPressure H v upper B n) (fixedPressure H v upper B n) := by | |
| 949 | - intro x hx | |
| 950 | - simp [fixedPressure, basePressure, pressureAtScale, physicalPoint, cylinderPoint] | |
| 951 | - | |
| 952 | 897 | end Actual |
| 953 | 898 | |
| 954 | 899 | end NavierStokes.ActualBaseResidual |
+0 −21 NavierStokes/ActualBaseVelocityBounds.lean View file
| @@ -402,10 +402,6 @@ theorem heatLoss_controls_middle {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : | ||
| 402 | 402 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 403 | 403 | linarith |
| 404 | 404 | |
| 405 | -theorem heatLoss_mono {n m : ℕ} (hnm : n ≤ m) : heatLoss n ≤ heatLoss m := by | |
| 406 | - unfold heatLoss powerLoss | |
| 407 | - gcongr | |
| 408 | - | |
| 409 | 405 | section Actual |
| 410 | 406 | |
| 411 | 407 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| @@ -535,23 +531,6 @@ theorem velocity_rate (upper : ℝ) (B m : ℕ) : | ||
| 535 | 531 | exact (restricted_mem endpoint Sᶜ).mono (fun _ hz => |
| 536 | 532 | (outer_lt_box (W := W) upper).trans (lt_of_not_ge hz)) |
| 537 | 533 | |
| 538 | -/-- A common constant and neighborhood control the entire finite jet. -/ | |
| 539 | -theorem velocity_finite_rate (upper : ℝ) (B m : ℕ) : | |
| 540 | - FiniteJetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) | |
| 541 | - m (-heatLoss m) := by | |
| 542 | - have hq := endpoint_q_small F.data.h_pos F.data.h_lt_half | |
| 543 | - apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) | |
| 544 | - intro i hi | |
| 545 | - exact (velocity_rate H v upper B i).weaken hq (neg_le_neg (heatLoss_mono hi)) | |
| 546 | - | |
| 547 | -/-- Public statement with the endpoint filter and existential loss explicit. -/ | |
| 548 | -theorem exists_fixed_loss (upper : ℝ) (B : ℕ) : | |
| 549 | - ∀ m : ℕ, ∃ L : ℝ, 0 ≤ L ∧ | |
| 550 | - JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) | |
| 551 | - (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) m (-L) := by | |
| 552 | - intro m | |
| 553 | - exact ⟨heatLoss m, heatLoss_nonneg m, velocity_rate H v upper B m⟩ | |
| 554 | - | |
| 555 | 534 | end Actual |
| 556 | 535 | |
| 557 | 536 | end NavierStokes.ActualBaseVelocityBounds |
+0 −30 NavierStokes/ActualCandidateAssembly.lean View file
| @@ -132,15 +132,6 @@ theorem initialPressure_support (B N0 : ℕ) : | ||
| 132 | 132 | rw [initialPressure, ActualCandidateConstruction.pressureMeanStages_zero] |
| 133 | 133 | exact PhysicalStageSupport.support_add hw hm |
| 134 | 134 | |
| 135 | -theorem initialDirect_support (B N0 : ℕ) : | |
| 136 | - MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant | |
| 137 | - (ActualCandidateConstruction.qbig B N0) (initialDirect B N0) := by | |
| 138 | - have hm := (ActualMeanStageData.initial_shrinkingSupport B N0 | |
| 139 | - (ActualCandidateConstruction.firstBand B N0) (ActualCandidateConstruction.qbig B N0) le_rfl).1 | |
| 140 | - erw [ActualMeanStageData.initialAngularSupport_field] at hm | |
| 141 | - simp only [initialDirect, ActualCandidateConstruction.angularMeanStages_zero] | |
| 142 | - exact hm | |
| 143 | - | |
| 144 | 135 | theorem initialPotential_axisZeroOn (B N0 : ℕ) : |
| 145 | 136 | GermCandidateAssembly.AxisZeroOn |
| 146 | 137 | (MixedAxisPreservation.localDomain h (ActualCandidateConstruction.qbig B N0)) |
| @@ -217,16 +208,6 @@ theorem zerothPotential_eq_initialPotential (B N0 : ℕ) : | ||
| 217 | 208 | rw [zerothPotential, initialPotential_eq_increment] |
| 218 | 209 | rfl |
| 219 | 210 | |
| 220 | -theorem zerothPotential_smooth (B N0 : ℕ) : | |
| 221 | - ContDiffOn ℝ ∞ (zerothPotential B N0) (ActualCandidateConstruction.physicalDomain B N0) := by | |
| 222 | - rw [zerothPotential_eq_initialPotential] | |
| 223 | - exact ActualPhysicalStageBounds.initialPotential_smooth certificate modulation upper B _ _ _ le_rfl le_rfl | |
| 224 | - | |
| 225 | -theorem zerothPressure_smooth (B N0 : ℕ) : | |
| 226 | - ContDiffOn ℝ ∞ (zerothPressure B N0) (ActualCandidateConstruction.physicalDomain B N0) := | |
| 227 | - ((FinalSlowBase.pressure_smooth certificate modulation upper B).mono | |
| 228 | - (fun _ hw => ⟨hw.1, mem_univ _⟩)).add (initialPressure_smooth B N0) | |
| 229 | - | |
| 230 | 211 | /-! ## The particular fields come from the same current state |
| 231 | 212 | |
| 232 | 213 | The valid-band representative uses the common physical floor. Its local |
| @@ -859,13 +840,6 @@ theorem signedPotential_smooth (B N0 : ℕ) | ||
| 859 | 840 | outgoing.data.h_pos outgoing.data.h_lt_half).congr |
| 860 | 841 | (fun _ hw => (signedPotential_eq_native B N0 hN j hw).symm) |
| 861 | 842 | |
| 862 | -theorem signedPressure_smooth (B N0 : ℕ) | |
| 863 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 864 | - ContDiffOn ℝ ∞ (signedPressure B N0 hN j) PhysicalWaveSum.preterminal := | |
| 865 | - (((ActualSignedWaveData.signedInputs B N0 hN).pressure j).pressure_smooth | |
| 866 | - outgoing.data.h_pos outgoing.data.h_lt_half).congr | |
| 867 | - (fun _ hw => (signedPressure_eq_native B N0 hN j hw).symm) | |
| 868 | - | |
| 869 | 843 | theorem representations (B N0 : ℕ) |
| 870 | 844 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 871 | 845 | GluedStageEstimates.ActualRepresentations (runData B N0 hN) (meanCycleInput B N0 hN) |
| @@ -1180,8 +1154,4 @@ theorem selected_witness : | ||
| 1180 | 1154 | witness ActualCandidateConstruction.selectedBudget ActualCandidateConstruction.selectedThreshold |
| 1181 | 1155 | ActualCandidateConstruction.selectedThreshold_geometry |
| 1182 | 1156 | |
| 1183 | -theorem selected_candidate : ProblemStatement.candidateStatement := by | |
| 1184 | - obtain ⟨a, _, ea, eb, ep, forcing, hc, _⟩ := selected_witness | |
| 1185 | - exact ⟨_, _, forcing, hc⟩ | |
| 1186 | - | |
| 1187 | 1157 | end NavierStokes.ActualCandidateAssembly |
+0 −293 NavierStokes/ActualCandidateConstruction.lean View file
| @@ -44,33 +44,12 @@ noncomputable def cycle (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 44 | 44 | @[simp] theorem cycle_zero (B N0 : ℕ) : |
| 45 | 45 | cycle B N0 0 = ActualInitialization.initialCycleState B N0 := rfl |
| 46 | 46 | |
| 47 | -theorem cycle_succ (B N0 j : ℕ) : | |
| 48 | - cycle B N0 (j + 1) = (cycle B N0 j).step (parameters B N0) (commonContext B) := rfl | |
| 49 | - | |
| 50 | -theorem cycle_labels (B N0 j : ℕ) : | |
| 51 | - (cycle B N0 j).coefficients.labels = activeLabels standardRegion B N0 := by | |
| 52 | - induction j with | |
| 53 | - | zero => rfl | |
| 54 | - | succ j ih => exact ih | |
| 55 | - | |
| 56 | -theorem cycle_aliasCoefficients (B N0 j : ℕ) : | |
| 57 | - (cycle B N0 j).coefficients.aliasCoefficients = fun _ => 0 := by | |
| 58 | - induction j with | |
| 59 | - | zero => rfl | |
| 60 | - | succ j ih => exact ih | |
| 61 | - | |
| 62 | 47 | theorem cycle_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 63 | 48 | SameCarrier ((cycle B N0 j).coefficients.blocks l) (ActualInitialization.tangentBlock l) := by |
| 64 | 49 | induction j with |
| 65 | 50 | | zero => exact ActualInitialization.primary_tangent_carrier l |
| 66 | 51 | | succ j ih => exact ⟨ih.frequency, ih.phase, ih.angular⟩ |
| 67 | 52 | |
| 68 | -/-- Recomputing the actual constructor at this state selects precisely | |
| 69 | -the fixed parameters used by the recurrence. -/ | |
| 70 | -theorem current_parameters (B N0 j : ℕ) : | |
| 71 | - ActualCycleParameters.parameters (cycle B N0 j) = parameters B N0 := | |
| 72 | - ActualCycleParameters.parameters_eq_fixed _ (cycle_carrier B N0 j) | |
| 73 | - | |
| 74 | 53 | theorem cycle_signed_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 75 | 54 | SameCarrier ((cycle B N0 j).coefficients.blocks l) |
| 76 | 55 | ((parameters B N0).signedBlock (cycle B N0 j).coefficients (commonContext B) |
| @@ -84,22 +63,6 @@ theorem cycle_representation (B N0 j : ℕ) : | ||
| 84 | 63 | (ActualInitialization.initialCycleState B N0) (ActualInitialization.initialCycleState_represents B N0) |
| 85 | 64 | (cycle_signed_carrier B N0) j |
| 86 | 65 | |
| 87 | -theorem cycle_coefficientBands (B N0 j : ℕ) : | |
| 88 | - CoefficientBands (cycle B N0 j).coefficients := | |
| 89 | - CycleState.iterate_bands (parameterSequence B N0) (commonContext B) | |
| 90 | - (ActualInitialization.initialCycleState B N0) (ActualInitialization.coefficients_band B N0) j | |
| 91 | - | |
| 92 | -theorem cycle_residualBand (B N0 j : ℕ) : | |
| 93 | - (cycle B N0 j).coefficients.residualBand = 2 ^ (j + 1) := by | |
| 94 | - induction j with | |
| 95 | - | zero => rfl | |
| 96 | - | succ j ih => | |
| 97 | - change 2 * max (cycle B N0 j).coefficients.residualBand 1 = 2 ^ (j + 1 + 1) | |
| 98 | - have hp : 1 ≤ (2 : ℕ) ^ (j + 1) := Nat.succ_le_iff.mpr (by positivity) | |
| 99 | - rw [ih, max_eq_left hp] | |
| 100 | - simp only [pow_succ] | |
| 101 | - ring | |
| 102 | - | |
| 103 | 66 | theorem cycle_base_error (B N0 j : ℕ) : |
| 104 | 67 | (cycle B N0 j).state.errors.base = ActualInitialization.baseError B := by |
| 105 | 68 | induction j with |
| @@ -110,56 +73,15 @@ theorem cycle_base_error (B N0 j : ℕ) : | ||
| 110 | 73 | rw [CycleParameters.next_base_error] |
| 111 | 74 | exact ih |
| 112 | 75 | |
| 113 | -theorem cycle_reconstructed (B N0 j : ℕ) : | |
| 114 | - (VariableGaugeMean.reconstructState commonGauge (commonContext B) (cycle B N0 j).state).pressure = | |
| 115 | - (cycle B N0 j).state.pressure := by | |
| 116 | - cases j with | |
| 117 | - | zero => exact congrArg State.pressure (ActualInitialization.initialState_reconstructed B N0) | |
| 118 | - | succ j => | |
| 119 | - exact (parameters B N0).next_reconstructed (cycle B N0 j).coefficients | |
| 120 | - (commonContext B) (cycle B N0 j).state | |
| 121 | - | |
| 122 | -noncomputable def initialTemporalAlias (B N0 : ℕ) : Oscillation Point := | |
| 123 | - VariableGaugeMean.temporalAliasState commonGauge h (CorrectionInitialization.CommonWindow.index h) | |
| 124 | - (commonContext B) (ActualInitialization.primaryState B N0) | |
| 125 | - | |
| 126 | -noncomputable def temporalAlias (B N0 j : ℕ) : Oscillation Point := | |
| 127 | - CycleStateCoherence.temporalAliasAt (parameterSequence B N0) (commonContext B) | |
| 128 | - (ActualInitialization.initialCycleState B N0) j | |
| 129 | - | |
| 130 | -/-- Every earlier temporal alias and exactly the current pressure alias | |
| 131 | -remain present, with the signs inherited from the actual state updates. -/ | |
| 132 | -theorem cycle_alias_error (B N0 J : ℕ) : | |
| 133 | - (cycle B N0 J).state.errors.aliasError = initialTemporalAlias B N0 + | |
| 134 | - (∑ j ∈ Finset.range J, temporalAlias B N0 j) + | |
| 135 | - VariableGaugeMean.pressureAliasState commonGauge (commonContext B) (cycle B N0 J).state := by | |
| 136 | - apply CycleStateCoherence.iterate_alias_separated (parameterSequence B N0) (commonContext B) | |
| 137 | - (ActualInitialization.initialCycleState B N0) commonGauge (fun _ => rfl) | |
| 138 | - (initialTemporalAlias B N0) | |
| 139 | - exact (ActualInitialization.initialState_error_components B N0).2.2 | |
| 140 | - | |
| 141 | 76 | /-- One positive band floor is retained for every physical stage. -/ |
| 142 | 77 | noncomputable def firstBand (B N0 : ℕ) : ℕ := max 4 (ActualCycleParameters.bandFloor B N0) |
| 143 | 78 | |
| 144 | 79 | theorem firstBand_four (B N0 : ℕ) : 4 ≤ firstBand B N0 := le_max_left _ _ |
| 145 | 80 | |
| 146 | -theorem firstBand_pos (B N0 : ℕ) : 1 ≤ firstBand B N0 := | |
| 147 | - (by norm_num : 1 ≤ (4 : ℕ)).trans (firstBand_four B N0) | |
| 148 | - | |
| 149 | -theorem firstBand_ge_choice (B N0 : ℕ) : | |
| 150 | - ActualCycleParameters.bandFloor B N0 ≤ firstBand B N0 := le_max_right _ _ | |
| 151 | - | |
| 152 | -theorem firstBand_ge (B N0 : ℕ) : N0 ≤ firstBand B N0 := | |
| 153 | - (ActualCycleParameters.bandFloor_ge B N0).trans (firstBand_ge_choice B N0) | |
| 154 | - | |
| 155 | 81 | noncomputable def qbig (B N0 : ℕ) : ℝ := ChartScales.Q (firstBand B N0) |
| 156 | 82 | |
| 157 | 83 | theorem qbig_pos (B N0 : ℕ) : 0 < qbig B N0 := ChartScales.Q_pos _ |
| 158 | 84 | |
| 159 | -theorem qbig_le_choice (B N0 : ℕ) : | |
| 160 | - qbig B N0 ≤ ChartScales.Q (ActualCycleParameters.bandFloor B N0) := | |
| 161 | - ActualPrimaryCovariance.Q_antitone (firstBand_ge_choice B N0) | |
| 162 | - | |
| 163 | 85 | /-- One extra comparison band keeps every native point with `q/Q < 2` |
| 164 | 86 | inside the original raw field's validity domain. -/ |
| 165 | 87 | noncomputable def residualBand (B N0 : ℕ) : ℕ := firstBand B N0 + 1 |
| @@ -177,29 +99,9 @@ theorem twice_residual_scale (B N0 : ℕ) : | ||
| 177 | 99 | Real.rpow_add (by norm_num : (0 : ℝ) < 2), Real.rpow_neg_one] |
| 178 | 100 | ring |
| 179 | 101 | |
| 180 | -theorem nativeScale_lt_qbig (B N0 n : ℕ) (hn : residualBand B N0 ≤ n) | |
| 181 | - {r : ℝ} (hr : r < 2) : ChartScales.Q n * r < qbig B N0 := by | |
| 182 | - calc | |
| 183 | - ChartScales.Q n * r < ChartScales.Q n * 2 := | |
| 184 | - mul_lt_mul_of_pos_left hr (ChartScales.Q_pos n) | |
| 185 | - _ ≤ ChartScales.Q (residualBand B N0) * 2 := | |
| 186 | - mul_le_mul_of_nonneg_right (ActualPrimaryCovariance.Q_antitone hn) (by norm_num) | |
| 187 | - _ = qbig B N0 := by rw [mul_comm, twice_residual_scale] | |
| 188 | - | |
| 189 | 102 | noncomputable def physicalDomain (B N0 : ℕ) : Set SpaceTime := |
| 190 | 103 | CutStageEstimates.physicalSublevel h (qbig B N0) |
| 191 | 104 | |
| 192 | -theorem physicalDomain_open (B N0 : ℕ) : IsOpen (physicalDomain B N0) := | |
| 193 | - CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half _ | |
| 194 | - | |
| 195 | -theorem initial_invariant (B N0 : ℕ) : | |
| 196 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext B) | |
| 197 | - (ActualInitialization.tangentBlock (B := B) (N0 := N0)) | |
| 198 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 199 | - (ActualIterationLedger.sigma 0) (cycle B N0 0) := by | |
| 200 | - simp only [ActualIterationLedger.sigma_zero] | |
| 201 | - exact ActualInitialization.initial_invariant B N0 | |
| 202 | - | |
| 203 | 105 | /-! ## One selected initialization -/ |
| 204 | 106 | |
| 205 | 107 | noncomputable def selectedBudget : ℕ := 0 |
| @@ -209,24 +111,8 @@ noncomputable def selectedThreshold : ℕ := ActualCarrierGeometry.startingThres | ||
| 209 | 111 | theorem selectedThreshold_geometry : ActualCarrierGeometry.geometricThreshold ≤ selectedThreshold := |
| 210 | 112 | ActualCarrierGeometry.geometricThreshold_le_startingThreshold 0 |
| 211 | 113 | |
| 212 | -noncomputable def selectedCycle : ℕ → CycleState (Index selectedBudget selectedThreshold) := | |
| 213 | - cycle selectedBudget selectedThreshold | |
| 214 | - | |
| 215 | 114 | noncomputable def selectedQbig : ℝ := qbig selectedBudget selectedThreshold |
| 216 | 115 | |
| 217 | -theorem selectedQbig_pos : 0 < selectedQbig := qbig_pos _ _ | |
| 218 | - | |
| 219 | -theorem selected_initial_invariant : | |
| 220 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext selectedBudget) | |
| 221 | - (ActualInitialization.tangentBlock (B := selectedBudget) (N0 := selectedThreshold)) | |
| 222 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 223 | - (ActualIterationLedger.sigma 0) (selectedCycle 0) := initial_invariant _ _ | |
| 224 | - | |
| 225 | -theorem selected_initial_meanHypotheses : | |
| 226 | - LiftedMeanResidual.MeanHypotheses ActualInitialMeanEquation.strip.domain | |
| 227 | - (commonContext selectedBudget) (selectedCycle 0).state := | |
| 228 | - ActualInitialMeanEquation.initialized_meanHypotheses _ _ | |
| 229 | - | |
| 230 | 116 | /-! ## Exact finite physical prefixes in any valid polar chart -/ |
| 231 | 117 | |
| 232 | 118 | noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := |
| @@ -235,16 +121,6 @@ noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := | ||
| 235 | 121 | noncomputable def basePressure (B n : ℕ) : Full → ℝ := |
| 236 | 122 | ActualBaseResidual.basePressure certificate modulation upper B n |
| 237 | 123 | |
| 238 | -noncomputable def chartVelocity (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : VelocityField := | |
| 239 | - CyclePhysicalPrefixes.velocity a i (graph n) n (commonContext B) (cycle B N0 j).state | |
| 240 | - | |
| 241 | -noncomputable def chartPressure (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : PressureField := | |
| 242 | - CyclePhysicalPrefixes.pressure a i (graph n) n (basePressure B n) (cycle B N0 j).state | |
| 243 | - | |
| 244 | -noncomputable def chartVelocityStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → VelocityField := | |
| 245 | - CyclePhysicalPrefixes.velocityStages (parameterSequence B N0) (commonContext B) | |
| 246 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n | |
| 247 | - | |
| 248 | 124 | noncomputable def chartPressureStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → PressureField := |
| 249 | 125 | CyclePhysicalPrefixes.pressureStages (parameterSequence B N0) (commonContext B) |
| 250 | 126 | (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) |
| @@ -257,94 +133,10 @@ noncomputable def chartDirectStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Inde | ||
| 257 | 133 | CyclePhysicalPrefixes.directStages (parameterSequence B N0) (commonContext B) |
| 258 | 134 | (ActualInitialization.initialCycleState B N0) a i (graph n) n |
| 259 | 135 | |
| 260 | -theorem chart_velocity_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 261 | - DiagonalJetBounds.uncutPrefix (chartVelocityStages B N0 a i n) (J + 1) = | |
| 262 | - chartVelocity B N0 a i n J := | |
| 263 | - CyclePhysicalPrefixes.velocity_prefix (parameterSequence B N0) (commonContext B) | |
| 264 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n J | |
| 265 | - | |
| 266 | -theorem chart_pressure_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 267 | - DiagonalJetBounds.uncutPrefix (chartPressureStages B N0 a i n) (J + 1) = | |
| 268 | - chartPressure B N0 a i n J := | |
| 269 | - CyclePhysicalPrefixes.pressure_prefix (parameterSequence B N0) (commonContext B) | |
| 270 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) J | |
| 271 | - | |
| 272 | -theorem chart_velocity_split (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : | |
| 273 | - chartVelocityStages B N0 a i n j = | |
| 274 | - chartPotentialParts B N0 a i n j + chartDirectStages B N0 a i n j := | |
| 275 | - CyclePhysicalPrefixes.velocityStages_split (parameterSequence B N0) (commonContext B) | |
| 276 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n j | |
| 277 | - | |
| 278 | 136 | /-! The global physical representatives need only agree with an individual |
| 279 | 137 | chart on its open validity set. Finite summation and the genuine residual |
| 280 | 138 | preserve precisely this local agreement. -/ |
| 281 | 139 | |
| 282 | -theorem uncutPrefix_eqOn {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 283 | - {U : Set SpaceTime} {f g : ℕ → SpaceTime → V} | |
| 284 | - (hf : ∀ j, EqOn (f j) (g j) U) (N : ℕ) : | |
| 285 | - EqOn (DiagonalJetBounds.uncutPrefix f N) (DiagonalJetBounds.uncutPrefix g N) U := by | |
| 286 | - intro z hz | |
| 287 | - exact Finset.sum_congr rfl (fun j _ => hf j hz) | |
| 288 | - | |
| 289 | -theorem chart_velocity_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 290 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 291 | - (AP BP : ℕ → VelocityField) (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 292 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 293 | - (chartPotentialParts B N0 a i n k) U) | |
| 294 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) (J : ℕ) : | |
| 295 | - EqOn (MixedDiagonalResidual.uncutVelocity AP BP J) (chartVelocity B N0 a i n J) U := by | |
| 296 | - intro z hz | |
| 297 | - change SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix AP (J + 1)) z + | |
| 298 | - DiagonalJetBounds.uncutPrefix BP (J + 1) z = _ | |
| 299 | - rw [uncutPrefix_eqOn hB (J + 1) hz] | |
| 300 | - exact CyclePhysicalPrefixes.mixedVelocity_prefix (parameterSequence B N0) (commonContext B) | |
| 301 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n hU AP hA hcurl J hz | |
| 302 | - | |
| 303 | -theorem chart_pressure_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 304 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (PP : ℕ → PressureField) | |
| 305 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 306 | - EqOn (DiagonalJetBounds.uncutPrefix PP (J + 1)) (chartPressure B N0 a i n J) U := by | |
| 307 | - rw [← chart_pressure_prefix B N0 a i n J] | |
| 308 | - exact uncutPrefix_eqOn hP (J + 1) | |
| 309 | - | |
| 310 | -theorem chart_residual_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 311 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 312 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 313 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 314 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 315 | - (chartPotentialParts B N0 a i n k) U) | |
| 316 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 317 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 318 | - EqOn (fun z => navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 319 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2) | |
| 320 | - (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 321 | - (chartPressure B N0 a i n J) z.1 z.2) U := by | |
| 322 | - intro z hz | |
| 323 | - apply ResidualRegularity.residual_congr | |
| 324 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 325 | - chart_velocity_of_stage_realizations B N0 a i n hU AP BP hA hcurl hB J hy) | |
| 326 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 327 | - chart_pressure_of_stage_realizations B N0 a i n PP hP J hy) | |
| 328 | - | |
| 329 | -theorem chart_residual_jets_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 330 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 331 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 332 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 333 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 334 | - (chartPotentialParts B N0 a i n k) U) | |
| 335 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 336 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J m : ℕ) : | |
| 337 | - EqOn (iteratedFDeriv ℝ m (fun z => | |
| 338 | - navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 339 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2)) | |
| 340 | - (iteratedFDeriv ℝ m (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 341 | - (chartPressure B N0 a i n J) z.1 z.2)) U := by | |
| 342 | - intro z hz | |
| 343 | - exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 344 | - (eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 345 | - chart_residual_of_stage_realizations B N0 a i n hU AP BP PP hA hcurl hB hP J hy)) | |
| 346 | - m).self_of_nhds | |
| 347 | - | |
| 348 | 140 | /-! ## The actual mean fields, with one common physical representative |
| 349 | 141 | |
| 350 | 142 | The selector defining this atlas depends on the physical point and the |
| @@ -365,30 +157,6 @@ noncomputable def meanAngularField (B N0 : ℕ) (degree : ℝ) | ||
| 365 | 157 | fun w => meanField B N0 degree f w • |
| 366 | 158 | PhysicalMeanJetBounds.angularVector (PhysicalGraphBounds.radialProjection w) |
| 367 | 159 | |
| 368 | -theorem meanField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 369 | - meanField B N0 degree (f + g) = meanField B N0 degree f + meanField B N0 degree g := by | |
| 370 | - funext w | |
| 371 | - exact congrFun ((meanAtlas B N0).physical_add standardRegion.carrier degree f g) | |
| 372 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 373 | - | |
| 374 | -theorem meanField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 375 | - meanField B N0 degree (f - g) = meanField B N0 degree f - meanField B N0 degree g := by | |
| 376 | - funext w | |
| 377 | - exact congrFun ((meanAtlas B N0).physical_sub standardRegion.carrier degree f g) | |
| 378 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 379 | - | |
| 380 | -theorem meanAngularField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 381 | - meanAngularField B N0 degree (f + g) = | |
| 382 | - meanAngularField B N0 degree f + meanAngularField B N0 degree g := by | |
| 383 | - funext w | |
| 384 | - simp only [meanAngularField, meanField_add, Pi.add_apply, add_smul] | |
| 385 | - | |
| 386 | -theorem meanAngularField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 387 | - meanAngularField B N0 degree (f - g) = | |
| 388 | - meanAngularField B N0 degree f - meanAngularField B N0 degree g := by | |
| 389 | - funext w | |
| 390 | - simp only [meanAngularField, meanField_sub, Pi.sub_apply, sub_smul] | |
| 391 | - | |
| 392 | 160 | noncomputable def angularNativeStages (B N0 : ℕ) : ℕ → ActualMeanPhysicalData.Scalar := |
| 393 | 161 | fun k => Nat.casesOn k (cycle B N0 0).state.mean.angular |
| 394 | 162 | (fun j => (cycle B N0 (j + 1)).state.mean.angular - (cycle B N0 j).state.mean.angular) |
| @@ -416,40 +184,6 @@ theorem angularNativeStages_succ (B N0 j : ℕ) : | ||
| 416 | 184 | change (_ + _) + _ - _ = _ |
| 417 | 185 | abel |
| 418 | 186 | |
| 419 | -theorem uncutPrefix_succ {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 420 | - (f : ℕ → SpaceTime → V) (N : ℕ) : | |
| 421 | - DiagonalJetBounds.uncutPrefix f (N + 1) = DiagonalJetBounds.uncutPrefix f N + f N := by | |
| 422 | - funext w | |
| 423 | - exact Finset.sum_range_succ (fun j => f j w) N | |
| 424 | - | |
| 425 | -theorem angularMeanStages_prefix (B N0 J : ℕ) : | |
| 426 | - DiagonalJetBounds.uncutPrefix (angularMeanStages B N0) (J + 1) = | |
| 427 | - meanAngularField B N0 (CoordinateAlgebra.A h) (cycle B N0 J).state.mean.angular := by | |
| 428 | - induction J with | |
| 429 | - | zero => | |
| 430 | - funext w | |
| 431 | - simp [DiagonalJetBounds.uncutPrefix, angularMeanStages, angularNativeStages] | |
| 432 | - | succ J ih => | |
| 433 | - rw [uncutPrefix_succ, ih] | |
| 434 | - change _ + meanAngularField B N0 (CoordinateAlgebra.A h) | |
| 435 | - ((cycle B N0 (J + 1)).state.mean.angular - (cycle B N0 J).state.mean.angular) = _ | |
| 436 | - rw [meanAngularField_sub] | |
| 437 | - abel | |
| 438 | - | |
| 439 | -theorem pressureMeanStages_prefix (B N0 J : ℕ) : | |
| 440 | - DiagonalJetBounds.uncutPrefix (pressureMeanStages B N0) (J + 1) = | |
| 441 | - meanField B N0 (2 * CoordinateAlgebra.A h) (cycle B N0 J).state.pressure := by | |
| 442 | - induction J with | |
| 443 | - | zero => | |
| 444 | - funext w | |
| 445 | - simp [DiagonalJetBounds.uncutPrefix, pressureMeanStages, pressureNativeStages] | |
| 446 | - | succ J ih => | |
| 447 | - rw [uncutPrefix_succ, ih] | |
| 448 | - change _ + meanField B N0 (2 * CoordinateAlgebra.A h) | |
| 449 | - ((cycle B N0 (J + 1)).state.pressure - (cycle B N0 J).state.pressure) = _ | |
| 450 | - rw [meanField_sub] | |
| 451 | - abel | |
| 452 | - | |
| 453 | 187 | noncomputable def temporalNative (B N0 j : ℕ) : ActualMeanPhysicalData.Scalar := |
| 454 | 188 | VariableGaugeMean.temporalPotential (parameters B N0).gauge (parameters B N0).timeExponent |
| 455 | 189 | (parameters B N0).commonIndex (commonContext B) |
| @@ -484,11 +218,6 @@ theorem pressureMeanStages_zero (B N0 : ℕ) : | ||
| 484 | 218 | abbrev MeanCycleInput (B N0 : ℕ) := |
| 485 | 219 | ActualMeanPhysicalData.InitialCycleInput B N0 (firstBand B N0) (parameterSequence B N0) |
| 486 | 220 | |
| 487 | -theorem parameters_realizes (B N0 j : ℕ) : | |
| 488 | - CycleStateCoherence.Realizes ActualMeanPhysicalData.initialGeometry | |
| 489 | - (parameterSequence B N0 j) (commonContext B) := | |
| 490 | - ActualMeanPhysicalData.initial_realizes B _ _ | |
| 491 | - | |
| 492 | 221 | theorem streamMeanStages_succ {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 493 | 222 | streamMeanStages B N0 (j + 1) = |
| 494 | 223 | ((ActualMeanPhysicalData.initialCycleData H).streamFamily j).angularField := rfl |
| @@ -868,11 +597,6 @@ theorem streamData_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | ||
| 868 | 597 | theorem meanStreamSupport_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 869 | 598 | (meanStreamSupport H j).field = streamMeanStages B N0 j := streamData_field H j |
| 870 | 599 | |
| 871 | -theorem angularMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | |
| 872 | - ContDiffOn ℝ ∞ (angularMeanStages B N0 j) (physicalDomain B N0) := by | |
| 873 | - rw [← directData_field H j] | |
| 874 | - exact LocalAngularDiagonal.rawSeries_smooth outgoing.data.h_pos outgoing.data.h_lt_half (directData H) j | |
| 875 | - | |
| 876 | 600 | theorem streamMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 877 | 601 | ContDiffOn ℝ ∞ (streamMeanStages B N0 j) (physicalDomain B N0) := by |
| 878 | 602 | rw [← streamData_field H j] |
| @@ -942,14 +666,6 @@ noncomputable def initialPotentialStage (B N0 : ℕ) | ||
| 942 | 666 | streamCount := 1 |
| 943 | 667 | streams _ := ActualMeanStageData.initialStreamSupport B N0 (firstBand B N0) (qbig B N0) le_rfl |
| 944 | 668 | |
| 945 | -noncomputable def positivePotentialStage {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 946 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 947 | - MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h (qbig B N0)) where | |
| 948 | - waveCount := 2 | |
| 949 | - waves := ![particular, signed] | |
| 950 | - streamCount := 1 | |
| 951 | - streams _ := meanStreamSupport H (j + 1) | |
| 952 | - | |
| 953 | 669 | theorem initialPotentialStage_field (B N0 : ℕ) |
| 954 | 670 | (wave : MixedAxisPreservation.CopyPotential.{u} h) : |
| 955 | 671 | (initialPotentialStage B N0 wave).field = wave.field + streamMeanStages B N0 0 := by |
| @@ -960,13 +676,4 @@ theorem initialPotentialStage_field (B N0 : ℕ) | ||
| 960 | 676 | simp [streamMeanStages_zero] |
| 961 | 677 | erw [ActualMeanStageData.initialStreamSupport_field] |
| 962 | 678 | |
| 963 | -theorem positivePotentialStage_field {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 964 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 965 | - (positivePotentialStage H j particular signed).field = | |
| 966 | - particular.field + signed.field + streamMeanStages B N0 (j + 1) := by | |
| 967 | - funext w | |
| 968 | - change (∑ i : Fin 2, (![particular, signed] i).field w) + | |
| 969 | - (∑ _ : Fin 1, (meanStreamSupport H (j + 1)).field w) = _ | |
| 970 | - simp [Fin.sum_univ_two, meanStreamSupport_field] | |
| 971 | - | |
| 972 | 679 | end NavierStokes.ActualCandidateConstruction |
+0 −17 NavierStokes/ActualCarrierGeometry.lean View file
| @@ -33,16 +33,9 @@ noncomputable def geometricThreshold : ℕ := | ||
| 33 | 33 | before selecting `ActualPrimary.choice`. -/ |
| 34 | 34 | noncomputable def startingThreshold (requested : ℕ) : ℕ := max requested geometricThreshold |
| 35 | 35 | |
| 36 | -theorem requested_le_startingThreshold (requested : ℕ) : requested ≤ startingThreshold requested := | |
| 37 | - le_max_left _ _ | |
| 38 | - | |
| 39 | 36 | theorem geometricThreshold_le_startingThreshold (requested : ℕ) : |
| 40 | 37 | geometricThreshold ≤ startingThreshold requested := le_max_right _ _ |
| 41 | 38 | |
| 42 | -theorem startingThreshold_le_prepared (B requested : ℕ) : | |
| 43 | - startingThreshold requested ≤ (choice B (startingThreshold requested)).prepared.N := | |
| 44 | - ActualPrimary.threshold B (startingThreshold requested) | |
| 45 | - | |
| 46 | 39 | section Cells |
| 47 | 40 | |
| 48 | 41 | variable {B N0 : ℕ} |
| @@ -286,16 +279,6 @@ theorem signedLabel_injective : Function.Injective | ||
| 286 | 279 | have he' := ActualPrimaryCovariance.signedLabelOf_injective he |
| 287 | 280 | exact Prod.ext (congrArg Prod.snd he') (congrArg Prod.fst he') |
| 288 | 281 | |
| 289 | -theorem labelCarrier_window_card (hN : geometricThreshold ≤ N0) | |
| 290 | - (n : ℕ) {x : Point} | |
| 291 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) | |
| 292 | - (s : Finset (ActualPrimaryBounds.SignedLabel B N0)) | |
| 293 | - (hs : ∀ l ∈ s, x ∈ ActualInitialExcluded.labelCarrier l n) : s.card ≤ 2250 := by | |
| 294 | - apply LabelSumBounds.window_card_le s | |
| 295 | - (fun l => ActualPrimaryCovariance.signedLabelOf (l.2, l.1)) signedLabel_injective.injOn | |
| 296 | - intro l hl | |
| 297 | - exact ⟨l.2.val.property.1, labelCarrier_window hN l n hx (hs l hl)⟩ | |
| 298 | - | |
| 299 | 282 | end Windows |
| 300 | 283 | |
| 301 | 284 | section Separation |
+0 −22 NavierStokes/ActualCarrierTransport.lean View file
| @@ -35,32 +35,10 @@ variable {B N0 : ℕ} | ||
| 35 | 35 | @[simp] theorem labelCarrier_eq (l : Index B N0) (n : ℕ) : |
| 36 | 36 | ActualCarrierTransportBase.labelCarrier l n = ActualInitialization.labelCarrier l n := rfl |
| 37 | 37 | |
| 38 | -theorem canonical_geometry (l : Index B N0) (n : ℕ) : | |
| 39 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).geometry n = | |
| 40 | - geometry l n := rfl | |
| 41 | - | |
| 42 | -theorem canonical_length (l : Index B N0) (n : ℕ) : | |
| 43 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).length n = | |
| 44 | - referenceLength l / clock l n := rfl | |
| 45 | - | |
| 46 | 38 | theorem canonical_cutoff (l : Index B N0) (n : ℕ) : |
| 47 | 39 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).cutoff n = |
| 48 | 40 | ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) |
| 49 | 41 | slots.radius_pos (referenceLength_pos l) (clock l n) := |
| 50 | 42 | ActualCarrierTransportBase.cutoff_eq_native l n |
| 51 | 43 | |
| 52 | -theorem fixed_geometry (l : Index B N0) (n : ℕ) : | |
| 53 | - ((ActualCycleParameters.fixedParameters B N0).particular l).geometry n = | |
| 54 | - geometry l n := rfl | |
| 55 | - | |
| 56 | -theorem fixed_length (l : Index B N0) (n : ℕ) : | |
| 57 | - ((ActualCycleParameters.fixedParameters B N0).particular l).length n = | |
| 58 | - referenceLength l / clock l n := rfl | |
| 59 | - | |
| 60 | -theorem fixed_cutoff (l : Index B N0) (n : ℕ) : | |
| 61 | - ((ActualCycleParameters.fixedParameters B N0).particular l).cutoff n = | |
| 62 | - ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) | |
| 63 | - slots.radius_pos (referenceLength_pos l) (clock l n) := | |
| 64 | - canonical_cutoff l n | |
| 65 | - | |
| 66 | 44 | end NavierStokes.ActualCarrierTransport |
+0 −12 NavierStokes/ActualCoreSupport.lean View file
| @@ -48,11 +48,6 @@ theorem refinedCarrier_subset_broad {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 48 | 48 | refinedCarrier l n ⊆ ActualInitialization.labelCarrier l n := |
| 49 | 49 | closure_minimal (fun _ hx => hx.2.1) (ActualInitialization.labelCarrier_closed l n) |
| 50 | 50 | |
| 51 | -theorem refinedCarrier_nonnegative_time {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 52 | - refinedCarrier l n ⊆ {x : Point | 0 ≤ x.2.1.1} := | |
| 53 | - closure_minimal (fun _ hx => hx.1.le) | |
| 54 | - (isClosed_le continuous_const continuous_snd.fst.fst) | |
| 55 | - | |
| 56 | 51 | theorem radialRatio_continuousAt {x : Point} (hT : 0 < x.2.1.1) : |
| 57 | 52 | ContinuousAt radialRatio x := by |
| 58 | 53 | have hh : 0 < 2 * ActualPrimary.h := by linarith [ActualPrimary.outgoing.data.h_pos] |
| @@ -108,13 +103,6 @@ theorem mem_refinedCarrier_of_mem {B N0 : ℕ} (l : Index B N0) (n : ℕ) | ||
| 108 | 103 | (hq : nativeQ l n x ∈ Icc (1 / 2 : ℝ) 2) : x ∈ refinedCarrier l n := |
| 109 | 104 | (mem_refinedCarrier_iff l n hT).2 ⟨hb, hr, hq⟩ |
| 110 | 105 | |
| 111 | -theorem radialRatio_fast (x : Point) (Y : TorusInverse.Plane) : | |
| 112 | - radialRatio (x.1, (x.2.1, Y)) = radialRatio x := rfl | |
| 113 | - | |
| 114 | -theorem nativeQ_fast {B N0 : ℕ} (l : Index B N0) (n : ℕ) | |
| 115 | - (x : Point) (Y : TorusInverse.Plane) : | |
| 116 | - nativeQ l n (x.1, (x.2.1, Y)) = nativeQ l n x := rfl | |
| 117 | - | |
| 118 | 106 | section ActualCutoffs |
| 119 | 107 | |
| 120 | 108 | variable {B N0 : ℕ} |
+0 −985 NavierStokes/ActualCorrectionModels.lean deleted
| @@ -1,985 +0,0 @@ | ||
| 1 | -import NavierStokes.OffplaneCorrectionExtensions | |
| 2 | -import NavierStokes.BaseContextAssembly | |
| 3 | -import NavierStokes.CommonBaseContext | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# Positive-scale models of the actual correction seed | |
| 7 | - | |
| 8 | -All coefficient sequences, cutoff schedules, and discrete phase parameters | |
| 9 | -in this file are those of the supplied `FinalSlowBase` and `Prepared` object. | |
| 10 | -The positive scale is a coordinate of the model, not a second chosen base. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace NavierStokes.ActualCorrectionModels | |
| 16 | - | |
| 17 | -open Set Filter Function | |
| 18 | -open scoped Topology ContDiff InnerProductSpace | |
| 19 | - | |
| 20 | -abbrev Slow := PhaseCalculus.Slow | |
| 21 | -abbrev Model := MeanRankUpdate.ModelPoint | |
| 22 | -abbrev Inner := SimilarityProfile.InnerPoint | |
| 23 | - | |
| 24 | -noncomputable local instance : NormedAddCommGroup SmoothCovariance.Mat2 := | |
| 25 | - inferInstanceAs (NormedAddCommGroup (Fin 2 → Fin 2 → ℝ)) | |
| 26 | -noncomputable local instance : NormedSpace ℝ SmoothCovariance.Mat2 := | |
| 27 | - inferInstanceAs (NormedSpace ℝ (Fin 2 → Fin 2 → ℝ)) | |
| 28 | - | |
| 29 | -noncomputable def modelDomain : Set Model := {y | 0 < y.1} | |
| 30 | -noncomputable def radialModelDomain : Set Model := {y | 0 < y.1 ∧ 0 < y.2.1} | |
| 31 | - | |
| 32 | -theorem modelDomain_open : IsOpen modelDomain := isOpen_lt continuous_const continuous_fst | |
| 33 | -theorem radialModelDomain_open : IsOpen radialModelDomain := | |
| 34 | - modelDomain_open.inter (isOpen_lt continuous_const continuous_snd.fst) | |
| 35 | - | |
| 36 | -/-- `(q,R,Z)` goes to the actual inner coordinates. -/ | |
| 37 | -noncomputable def modelCoordinates (h : ℝ) (y : Model) : SlowBorelBase.Chart := | |
| 38 | - (y.1, (y.2.1 ^ 2 / 2 / y.1, y.2.2 / y.1 ^ CoordinateAlgebra.D h)) | |
| 39 | - | |
| 40 | -theorem modelCoordinates_smoothAt (h : ℝ) {y : Model} (hy : 0 < y.1) : | |
| 41 | - ContDiffAt ℝ ∞ (modelCoordinates h) y := by | |
| 42 | - exact contDiffAt_fst.prodMk | |
| 43 | - ((((contDiffAt_snd.fst.pow 2).div_const 2).div contDiffAt_fst hy.ne').prodMk | |
| 44 | - (contDiffAt_snd.snd.div (contDiffAt_fst.rpow_const_of_ne hy.ne') | |
| 45 | - (Real.rpow_pos_of_pos hy _).ne')) | |
| 46 | - | |
| 47 | -noncomputable def originalPoint (h : ℝ) (p : Slow) : Model := | |
| 48 | - (SimilarityHomogeneity.chartQ h p, (p.1, p.2.1)) | |
| 49 | - | |
| 50 | -noncomputable def stablePoint (h : ℝ) (p : Slow) : Model := | |
| 51 | - (OffplaneCorrectionExtensions.stableQ (2 * h) (p.2.2, p.2.1), (p.1, p.2.1)) | |
| 52 | - | |
| 53 | -noncomputable def stableDomain (h : ℝ) : Set Slow := | |
| 54 | - {p | (p.2.2, p.2.1) ∈ PositiveRepresentatives.stableTarget (2 * h)} | |
| 55 | - | |
| 56 | -noncomputable def positiveStableDomain (h : ℝ) : Set Slow := | |
| 57 | - {p | p ∈ stableDomain h ∧ 0 < p.1} | |
| 58 | - | |
| 59 | -theorem stableDomain_open (h : ℝ) : IsOpen (stableDomain h) := | |
| 60 | - (PositiveRepresentatives.stableTarget_open (2 * h)).preimage | |
| 61 | - (continuous_snd.snd.prodMk continuous_snd.fst) | |
| 62 | - | |
| 63 | -theorem positiveStableDomain_open (h : ℝ) : IsOpen (positiveStableDomain h) := | |
| 64 | - (stableDomain_open h).inter (isOpen_lt continuous_const continuous_fst) | |
| 65 | - | |
| 66 | -theorem stablePoint_pos {h : ℝ} {p : Slow} (hp : p ∈ stableDomain h) : | |
| 67 | - 0 < (stablePoint h p).1 := OffplaneCorrectionExtensions.stableQ_pos hp | |
| 68 | - | |
| 69 | -theorem stablePoint_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 70 | - {p : Slow} (hp : p ∈ stableDomain h) : ContDiffAt ℝ ∞ (stablePoint h) p := by | |
| 71 | - exact ((OffplaneCorrectionExtensions.stableQ_contDiffAt (by linarith) (by linarith) hp).comp p | |
| 72 | - (contDiffAt_snd.snd.prodMk contDiffAt_snd.fst)).prodMk | |
| 73 | - (contDiffAt_fst.prodMk contDiffAt_snd.fst) | |
| 74 | - | |
| 75 | -theorem stablePoint_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 76 | - {p : Slow} (hp : 0 < p.2.2) : stablePoint h p = originalPoint h p := by | |
| 77 | - apply Prod.ext | |
| 78 | - · exact OffplaneCorrectionExtensions.stableQ_eq_coordinateQ (by linarith) (by linarith) hp | |
| 79 | - · rfl | |
| 80 | - | |
| 81 | -theorem modelCoordinates_original (h : ℝ) (p : Slow) : | |
| 82 | - modelCoordinates h (originalPoint h p) = BaseChartJets.normalizedCoordinates h p := by | |
| 83 | - rw [BaseChartJets.normalizedCoordinates_eq] | |
| 84 | - simp only [modelCoordinates, originalPoint, SimilarityHomogeneity.chartX, | |
| 85 | - SimilarityHomogeneity.chartEta, SimilarityCoordinates.coordinateX, | |
| 86 | - SimilarityCoordinates.coordinateEta, SimilarityHomogeneity.chartQ, CoordinateAlgebra.D] | |
| 87 | - congr 3 | |
| 88 | - ring_nf | |
| 89 | - | |
| 90 | -theorem positiveTime_mem_stable {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 91 | - {p : Slow} (hp : 0 < p.2.2) : p ∈ stableDomain h := | |
| 92 | - PositiveRepresentatives.positiveTime_mem_stableTarget (by linarith) (by linarith) hp | |
| 93 | - | |
| 94 | -theorem endpoint_mem_stable {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 95 | - (R : ℝ) {Z : ℝ} (hZ : Z ≠ 0) : (R, (Z, 0)) ∈ stableDomain h := | |
| 96 | - EndpointCoordinates.zeroTime_mem_stableTarget (by linarith) (by linarith) hZ | |
| 97 | - | |
| 98 | -/-- The literal cutoff series at positive scale, including its leading power. -/ | |
| 99 | -noncomputable def scalarModel (a : ℕ → ℕ) (h b Q : ℝ) (f : ℕ → Inner → ℝ) | |
| 100 | - (y : Model) : ℝ := | |
| 101 | - y.1 ^ b * SlowBorelBase.slowSum a h f | |
| 102 | - (SlowBorelBase.scaleMap Q (modelCoordinates h y)) | |
| 103 | - | |
| 104 | -theorem scalarModel_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) (h b : ℝ) | |
| 105 | - {Q : ℝ} (hQ : 0 < Q) {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) | |
| 106 | - {y : Model} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (scalarModel a h b Q f) y := by | |
| 107 | - have hc := (SlowBorelBase.scaleMap Q).contDiff.contDiffAt.comp y (modelCoordinates_smoothAt h hy) | |
| 108 | - have hs : ContDiffAt ℝ ∞ (SlowBorelBase.slowSum a h f) | |
| 109 | - (SlowBorelBase.scaleMap Q (modelCoordinates h y)) := SlowBorelBase.slowSum_smoothAt ha hf h | |
| 110 | - (show 0 < (SlowBorelBase.scaleMap Q (modelCoordinates h y)).1 from mul_pos hQ hy) | |
| 111 | - exact (contDiffAt_fst.rpow_const_of_ne hy.ne').mul | |
| 112 | - (ContDiffAt.comp (g := SlowBorelBase.slowSum a h f) y hs hc) | |
| 113 | - | |
| 114 | -section ActualBase | |
| 115 | - | |
| 116 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 117 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 118 | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) | |
| 119 | - | |
| 120 | -noncomputable def frequencyModel (n : ℕ) (y : Model) : ℝ := | |
| 121 | - y.1 ^ (-CoordinateAlgebra.A F.data.h) / y.2.1 * | |
| 122 | - SlowBorelBase.normalizedSwirl (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization | |
| 123 | - (FinalSlowBase.coefficients H v) | |
| 124 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 125 | - | |
| 126 | -noncomputable def axialModel (n : ℕ) : Model → ℝ := | |
| 127 | - scalarModel (FinalSlowBase.scales H v upper B) F.data.h (-CoordinateAlgebra.A F.data.h) | |
| 128 | - (ChartScales.Q n) (FinalSlowBase.coefficients H v).axial | |
| 129 | - | |
| 130 | -noncomputable def streamModel (n : ℕ) : Model → ℝ := | |
| 131 | - scalarModel (FinalSlowBase.scales H v upper B) F.data.h (-CoordinateAlgebra.A F.data.h) | |
| 132 | - (ChartScales.Q n) (BaseRadialJets.averageSequence (FinalSlowBase.coefficients H v)) | |
| 133 | - | |
| 134 | -noncomputable def frequency (n : ℕ) : Slow → ℝ := frequencyModel H v upper B n ∘ stablePoint F.data.h | |
| 135 | -noncomputable def axial (n : ℕ) : Slow → ℝ := axialModel H v upper B n ∘ stablePoint F.data.h | |
| 136 | -noncomputable def stream (n : ℕ) : Slow → ℝ := streamModel H v upper B n ∘ stablePoint F.data.h | |
| 137 | - | |
| 138 | -noncomputable def radial (n : ℕ) (p : Slow) : ℝ := | |
| 139 | - -(ChartScales.epsilon F.data.h n * p.1 / 2) * PhaseCalculus.slowZ (stream H v upper B n) p | |
| 140 | - | |
| 141 | -theorem frequencyModel_smoothAt (n : ℕ) {y : Model} (hy : y ∈ radialModelDomain) : | |
| 142 | - ContDiffAt ℝ ∞ (frequencyModel H v upper B n) y := by | |
| 143 | - have hc := (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffAt.comp y | |
| 144 | - (modelCoordinates_smoothAt F.data.h hy.1) | |
| 145 | - have hs : ContDiffAt ℝ ∞ (SlowBorelBase.slowSum (FinalSlowBase.scales H v upper B) | |
| 146 | - F.data.h (FinalSlowBase.coefficients H v).phi) | |
| 147 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) := | |
| 148 | - SlowBorelBase.slowSum_smoothAt (FinalSlowBase.scales_strictMono H v upper B) | |
| 149 | - (FinalSlowBase.coefficients_smooth H v).phi F.data.h | |
| 150 | - (show 0 < (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)).1 from | |
| 151 | - mul_pos (ChartScales.Q_pos n) hy.1) | |
| 152 | - have hX : 0 < 2 * (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)).2.1 := by | |
| 153 | - change 0 < 2 * (y.2.1 ^ 2 / 2 / y.1) | |
| 154 | - exact mul_pos (by norm_num) (div_pos (div_pos (sq_pos_of_pos hy.2) (by norm_num)) hy.1) | |
| 155 | - exact ((contDiffAt_fst.rpow_const_of_ne hy.1.ne').div contDiffAt_snd.fst hy.2.ne').mul | |
| 156 | - ((((contDiffAt_const.mul hc.snd.fst).sqrt hX.ne').div_const W.axis.normalization).mul | |
| 157 | - (ContDiffAt.comp (g := SlowBorelBase.slowSum (FinalSlowBase.scales H v upper B) | |
| 158 | - F.data.h (FinalSlowBase.coefficients H v).phi) y hs hc)) | |
| 159 | - | |
| 160 | -theorem axialModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 161 | - ContDiffAt ℝ ∞ (axialModel H v upper B n) y := | |
| 162 | - scalarModel_smoothAt (FinalSlowBase.scales_strictMono H v upper B) _ _ (ChartScales.Q_pos n) | |
| 163 | - (FinalSlowBase.coefficients_smooth H v).axial hy | |
| 164 | - | |
| 165 | -theorem streamModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 166 | - ContDiffAt ℝ ∞ (streamModel H v upper B n) y := | |
| 167 | - scalarModel_smoothAt (FinalSlowBase.scales_strictMono H v upper B) _ _ (ChartScales.Q_pos n) | |
| 168 | - (BaseRadialJets.averageSequence_smooth (FinalSlowBase.coefficients_smooth H v)) hy | |
| 169 | - | |
| 170 | -theorem frequency_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 171 | - frequency H v upper B n p = BaseContextAssembly.frequencySlow H v upper B n p := by | |
| 172 | - simp only [frequency, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 173 | - frequencyModel, modelCoordinates_original] | |
| 174 | - simp only [BaseContextAssembly.frequencySlow, BaseChartJets.frequency, | |
| 175 | - BaseChartJets.frequencyFactor, BaseChartJets.axialFactor, | |
| 176 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 177 | - | |
| 178 | -theorem axial_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 179 | - axial H v upper B n p = BaseContextAssembly.axialSlow H v upper B n p := by | |
| 180 | - simp only [axial, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 181 | - axialModel, scalarModel, modelCoordinates_original] | |
| 182 | - simp only [BaseContextAssembly.axialSlow, BaseChartJets.axial, BaseChartJets.axialFactor, | |
| 183 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 184 | - | |
| 185 | -theorem stream_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 186 | - stream H v upper B n p = BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 187 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n) p := by | |
| 188 | - simp only [stream, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 189 | - streamModel, scalarModel, modelCoordinates_original] | |
| 190 | - simp only [BaseRadialJets.normalizedStream, BaseChartJets.axialFactor, | |
| 191 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 192 | - | |
| 193 | -theorem frequency_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ positiveStableDomain F.data.h) : | |
| 194 | - ContDiffAt ℝ ∞ (frequency H v upper B n) p := | |
| 195 | - (frequencyModel_smoothAt H v upper B n ⟨stablePoint_pos hp.1, hp.2⟩).comp p | |
| 196 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp.1) | |
| 197 | - | |
| 198 | -theorem axial_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 199 | - ContDiffAt ℝ ∞ (axial H v upper B n) p := | |
| 200 | - (axialModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 201 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 202 | - | |
| 203 | -theorem stream_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 204 | - ContDiffAt ℝ ∞ (stream H v upper B n) p := | |
| 205 | - (streamModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 206 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 207 | - | |
| 208 | -theorem radial_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 209 | - ContDiffAt ℝ ∞ (radial H v upper B n) p := by | |
| 210 | - have hs : ContDiffAt ℝ ∞ (PhaseCalculus.slowZ (stream H v upper B n)) p := | |
| 211 | - ((stream_smoothAt H v upper B n hp).fderiv_right (m := ∞) (by simp)).clm_apply contDiffAt_const | |
| 212 | - exact (((contDiffAt_const.mul contDiffAt_fst).div_const 2).neg).mul hs | |
| 213 | - | |
| 214 | -theorem frequency_germ (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 215 | - frequency H v upper B n =ᶠ[𝓝 p] BaseContextAssembly.frequencySlow H v upper B n := by | |
| 216 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 217 | - exact frequency_eq H v upper B n hy | |
| 218 | - | |
| 219 | -theorem axial_germ (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 220 | - axial H v upper B n =ᶠ[𝓝 p] BaseContextAssembly.axialSlow H v upper B n := by | |
| 221 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 222 | - exact axial_eq H v upper B n hy | |
| 223 | - | |
| 224 | -theorem radial_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 225 | - radial H v upper B n p = BaseContextAssembly.radialSlow H v upper B n p := by | |
| 226 | - have he : stream H v upper B n =ᶠ[𝓝 p] | |
| 227 | - BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 228 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n) := by | |
| 229 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 230 | - exact stream_eq H v upper B n hy | |
| 231 | - rw [BaseContextAssembly.radialSlow, BaseRadialJets.radial_eq_stream | |
| 232 | - (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half | |
| 233 | - (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hp] | |
| 234 | - exact congrArg (fun L : Slow →L[ℝ] ℝ => -(ChartScales.epsilon F.data.h n * p.1 / 2) * L (0, (1, 0))) he.fderiv_eq | |
| 235 | - | |
| 236 | -end ActualBase | |
| 237 | - | |
| 238 | -section ActualTarget | |
| 239 | - | |
| 240 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 241 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 242 | - (v : ModulatedProfileAssembly.Witness ld) | |
| 243 | - | |
| 244 | -/-- The same leading stress, using its proved smooth coefficient extension. -/ | |
| 245 | -noncomputable def targetModel (y : Model) : MovingFrameODE.Plane := | |
| 246 | - y.1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2) • | |
| 247 | - !₂[(FinalSlowBase.coefficients H v).stressTheta 0 (modelCoordinates F.data.h y).2, | |
| 248 | - (FinalSlowBase.coefficients H v).stressAxial 0 (modelCoordinates F.data.h y).2] | |
| 249 | - | |
| 250 | -noncomputable def target : Slow → MovingFrameODE.Plane := targetModel H v ∘ stablePoint F.data.h | |
| 251 | - | |
| 252 | -theorem targetModel_smoothAt {y : Model} (hy : 0 < y.1) : | |
| 253 | - ContDiffAt ℝ ∞ (targetModel H v) y := by | |
| 254 | - have hc := (modelCoordinates_smoothAt F.data.h hy).snd | |
| 255 | - apply (contDiffAt_fst.rpow_const_of_ne hy.ne').smul | |
| 256 | - apply (contDiffAt_piLp 2).mpr | |
| 257 | - intro i | |
| 258 | - fin_cases i | |
| 259 | - · exact ((FinalSlowBase.coefficients_smooth H v).stressTheta 0).contDiffAt.comp y hc | |
| 260 | - · exact ((FinalSlowBase.coefficients_smooth H v).stressAxial 0).contDiffAt.comp y hc | |
| 261 | - | |
| 262 | -theorem target_smoothAt {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 263 | - ContDiffAt ℝ ∞ (target H v) p := | |
| 264 | - (targetModel_smoothAt H v (stablePoint_pos hp)).comp p | |
| 265 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 266 | - | |
| 267 | -theorem target_eq {p : Slow} (hp : 0 < p.2.2) : | |
| 268 | - target H v p = PrimaryTargetBounds.actualTarget v p := by | |
| 269 | - have hq := BaseChartJets.normalizedCoordinates_q_pos F.data.h_pos F.data.h_lt_half hp | |
| 270 | - have hX : 0 ≤ (BaseChartJets.normalizedCoordinates F.data.h p).2.1 := by | |
| 271 | - rw [← modelCoordinates_original] | |
| 272 | - apply div_nonneg (div_nonneg (sq_nonneg _) (by norm_num)) | |
| 273 | - simpa only [BaseChartJets.normalizedCoordinates_eq, originalPoint] using hq.le | |
| 274 | - have heta := (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half hp).le | |
| 275 | - have hs := FinalSlowBase.leading_stress_eq H v hX heta | |
| 276 | - have he : !₂[(FinalSlowBase.coefficients H v).stressTheta 0 | |
| 277 | - (BaseChartJets.normalizedCoordinates F.data.h p).2, | |
| 278 | - (FinalSlowBase.coefficients H v).stressAxial 0 | |
| 279 | - (BaseChartJets.normalizedCoordinates F.data.h p).2] = | |
| 280 | - ProfileSpectralCone.stressVector v.profiles F.data.h | |
| 281 | - (BaseChartJets.normalizedCoordinates F.data.h p).2 := by | |
| 282 | - ext i | |
| 283 | - fin_cases i | |
| 284 | - · exact congrArg Prod.fst hs | |
| 285 | - · exact congrArg Prod.snd hs | |
| 286 | - change targetModel H v (stablePoint F.data.h p) = _ | |
| 287 | - rw [stablePoint_eq F.data.h_pos F.data.h_lt_half hp] | |
| 288 | - unfold targetModel | |
| 289 | - rw [modelCoordinates_original, he] | |
| 290 | - simp only [PrimaryTargetBounds.actualTarget, BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 291 | - | |
| 292 | -theorem target_germ {p : Slow} (hp : 0 < p.2.2) : | |
| 293 | - target H v =ᶠ[𝓝 p] PrimaryTargetBounds.actualTarget v := by | |
| 294 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 295 | - exact target_eq H v hy | |
| 296 | - | |
| 297 | -end ActualTarget | |
| 298 | - | |
| 299 | -section LocalCalculus | |
| 300 | - | |
| 301 | -theorem directional_smoothOn {U : Set Slow} (hU : IsOpen U) {f : Slow → ℝ} | |
| 302 | - (hf : ContDiffOn ℝ ∞ f U) (d : Slow) : | |
| 303 | - ContDiffOn ℝ ∞ (fun p => fderiv ℝ f p d) U := | |
| 304 | - (hf.fderiv_of_isOpen hU (by simp)).clm_apply contDiffOn_const | |
| 305 | - | |
| 306 | -theorem normal_eq_of_germs (epsilon p pz x0 theta slot : ℝ) {f g f' g' : Slow → ℝ} | |
| 307 | - {s : Slow} (hf : f =ᶠ[𝓝 s] f') (hg : g =ᶠ[𝓝 s] g') : | |
| 308 | - PhaseCalculus.phaseNormal epsilon p pz x0 f g (s, (theta, slot)) = | |
| 309 | - PhaseCalculus.phaseNormal epsilon p pz x0 f' g' (s, (theta, slot)) := by | |
| 310 | - have he : PhaseCalculus.phase epsilon p pz x0 f g =ᶠ[𝓝 (s, (theta, slot))] | |
| 311 | - PhaseCalculus.phase epsilon p pz x0 f' g' := by | |
| 312 | - filter_upwards [hf.comp_tendsto continuousAt_fst, hg.comp_tendsto continuousAt_fst] with y hyf hyg | |
| 313 | - simp only [comp_apply] at hyf hyg | |
| 314 | - simp only [PhaseCalculus.phase, hyf, hyg] | |
| 315 | - simp only [PhaseCalculus.phaseNormal, he.fderiv_eq] | |
| 316 | - | |
| 317 | -theorem normal_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 318 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 319 | - (epsilon p pz x0 theta : ℝ) (hepsilon : epsilon ≠ 0) (hR : ∀ s ∈ U, s.1 ≠ 0) : | |
| 320 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => | |
| 321 | - PhaseCalculus.phaseNormal epsilon p pz x0 f g (z.1, (theta, z.2))) (U ×ˢ univ) := by | |
| 322 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 323 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 324 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 325 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 326 | - have hfz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ f z.1) (U ×ˢ univ) := | |
| 327 | - (directional_smoothOn hU hf (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 328 | - have hgz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ g z.1) (U ×ˢ univ) := | |
| 329 | - (directional_smoothOn hU hg (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 330 | - have hex : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseEstimates.explicitNormal epsilon p pz x0 | |
| 331 | - z.1.1 z.2 (PhaseCalculus.slowR f z.1) (PhaseCalculus.slowR g z.1) | |
| 332 | - (PhaseCalculus.slowZ f z.1) (PhaseCalculus.slowZ g z.1)) (U ×ˢ univ) := by | |
| 333 | - apply (contDiffOn_piLp 2).mpr | |
| 334 | - intro i | |
| 335 | - fin_cases i | |
| 336 | - · exact contDiffOn_const.sub (contDiffOn_snd.mul ((contDiffOn_const.mul hfr).add (contDiffOn_const.mul hgr))) | |
| 337 | - · exact contDiffOn_const.div contDiffOn_fst.fst (fun z hz => hR _ hz.1) | |
| 338 | - · exact contDiffOn_const.sub ((contDiffOn_const.mul contDiffOn_snd).mul | |
| 339 | - ((contDiffOn_const.mul hfz).add (contDiffOn_const.mul hgz))) | |
| 340 | - apply hex.congr | |
| 341 | - intro z hz | |
| 342 | - exact (PhaseEstimates.phaseNormal_eq_explicit epsilon p pz x0 f g (z.1, (theta, z.2)) hepsilon | |
| 343 | - ((hf.contDiffAt (hU.mem_nhds hz.1)).differentiableAt (by simp)) | |
| 344 | - ((hg.contDiffAt (hU.mem_nhds hz.1)).differentiableAt (by simp))) | |
| 345 | - | |
| 346 | -theorem normalVelocity_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 347 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 348 | - (epsilon p pz : ℝ) : | |
| 349 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.normalSlotDerivative epsilon p pz f g z.1) | |
| 350 | - (U ×ˢ univ) := by | |
| 351 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 352 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 353 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 354 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 355 | - have hfz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ f z.1) (U ×ˢ univ) := | |
| 356 | - (directional_smoothOn hU hf (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 357 | - have hgz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ g z.1) (U ×ˢ univ) := | |
| 358 | - (directional_smoothOn hU hg (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 359 | - apply (contDiffOn_piLp 2).mpr | |
| 360 | - intro i | |
| 361 | - fin_cases i | |
| 362 | - · exact ((contDiffOn_const.mul hfr).add (contDiffOn_const.mul hgr)).neg | |
| 363 | - · exact contDiffOn_const | |
| 364 | - · exact contDiffOn_const.neg.mul ((contDiffOn_const.mul hfz).add (contDiffOn_const.mul hgz)) | |
| 365 | - | |
| 366 | -theorem shear_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 367 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) : | |
| 368 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseEstimates.shearVector f g z.1) (U ×ˢ univ) := by | |
| 369 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 370 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 371 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 372 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 373 | - apply (contDiffOn_piLp 2).mpr | |
| 374 | - intro i | |
| 375 | - fin_cases i | |
| 376 | - · exact contDiffOn_fst.fst.mul hfr | |
| 377 | - · exact hgr | |
| 378 | - | |
| 379 | -/-- Derive every geometric frame coefficient from the actual normal and | |
| 380 | -normal motion. There is no regularity assumption on a frame output. -/ | |
| 381 | -theorem frameFromNormal_smooth {U : Set (Slow × ℝ)} (hU : IsOpen U) | |
| 382 | - {n nd : Slow × ℝ → MovingFrameODE.Space} {f : Slow × ℝ → ℝ} | |
| 383 | - {g : Slow × ℝ → MovingFrameODE.Plane} {lam c rate nu : Slow × ℝ → ℝ} | |
| 384 | - (hn : ContDiffOn ℝ ∞ n U) (hd : ContDiffOn ℝ ∞ nd U) | |
| 385 | - (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 386 | - (hlam : ContDiffOn ℝ ∞ lam U) (hc : ContDiffOn ℝ ∞ c U) | |
| 387 | - (hrate : ContDiffOn ℝ ∞ rate U) (hnu : ContDiffOn ℝ ∞ nu U) | |
| 388 | - (hne : ∀ z ∈ U, MovingFrameODE.tail (n z) ≠ 0) | |
| 389 | - (hcne : ∀ z ∈ U, c z ≠ 0) : | |
| 390 | - (PrimaryODE.FrameData.ofNormalLocal n nd f g lam c rate nu).SmoothOn U := by | |
| 391 | - have hb : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.normalScale (n z)) U := by | |
| 392 | - intro z hz | |
| 393 | - exact (MovingFrameODE.contDiffAt_normalScale (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 394 | - have hbn : ∀ z ∈ U, MovingFrameODE.normalScale (n z) ≠ 0 := | |
| 395 | - fun z hz => (MovingFrameODE.normalScale_pos (hne z hz)).ne' | |
| 396 | - have hr : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.radialSlope (n z)) U := by | |
| 397 | - intro z hz | |
| 398 | - exact (MovingFrameODE.contDiffAt_radialSlope (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 399 | - have hk : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.normalDirection (n z)) U := by | |
| 400 | - intro z hz | |
| 401 | - exact (MovingFrameODE.contDiffAt_normalDirection (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 402 | - have hN := MovingFrameODE.quarterTurn.contDiff.comp_contDiffOn hk | |
| 403 | - have htn := MovingFrameODE.tailCLM.contDiff.comp_contDiffOn hn | |
| 404 | - have htd := MovingFrameODE.tailCLM.contDiff.comp_contDiffOn hd | |
| 405 | - have hrd := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) 0).contDiff.comp_contDiffOn hd | |
| 406 | - have hbd : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.scaleDerivative (n z) (nd z)) U := | |
| 407 | - (htn.inner ℝ htd).div hb hbn | |
| 408 | - have hrdot : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.slopeDerivative (n z) (nd z)) U := | |
| 409 | - (hrd.sub (hr.mul hbd)).div hb hbn | |
| 410 | - have hkd : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.directionDerivative (n z) (nd z)) U := | |
| 411 | - (hb.inv hbn).smul (htd.sub (hbd.smul hk)) | |
| 412 | - refine ⟨hb, hbd, hr, hrdot, hN.inner ℝ hkd, hf, hg, ?_, hlam, hc, hrate, ?_, hcne⟩ | |
| 413 | - · intro i | |
| 414 | - fin_cases i | |
| 415 | - · apply hk.congr | |
| 416 | - intro z hz | |
| 417 | - simp only [PrimaryODE.FrameData.ofNormalLocal, PrimaryODE.localFrame_eq (hne z hz)] | |
| 418 | - exact MovingFrameODE.normalFrame_zero _ _ | |
| 419 | - · apply hN.congr | |
| 420 | - intro z hz | |
| 421 | - simp only [PrimaryODE.FrameData.ofNormalLocal, PrimaryODE.localFrame_eq (hne z hz)] | |
| 422 | - exact MovingFrameODE.normalFrame_one _ _ | |
| 423 | - · have hv := hnu.mul (hn.inner ℝ hn) | |
| 424 | - simp only [real_inner_self_eq_norm_sq] at hv | |
| 425 | - exact hv | |
| 426 | - | |
| 427 | -theorem referenceFunctions_smooth (lam c u L : ℝ) : | |
| 428 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => ViscousPropagator.referenceEigenvalue lam u L z.2) ∧ | |
| 429 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => PrimaryODE.referenceProfile c u L z.2) ∧ | |
| 430 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => PrimaryODE.referenceProfileRate u L z.2) := by | |
| 431 | - have hs : ContDiff ℝ ∞ (fun z : Slow × ℝ => PulseGrowth.slotMagnitude u L z.2) := by | |
| 432 | - unfold PulseGrowth.slotMagnitude | |
| 433 | - exact contDiff_const.add ((contDiff_const.mul contDiff_snd).div_const L) | |
| 434 | - have hD : ContDiff ℝ ∞ (fun z : Slow × ℝ => (1 : ℝ) + PulseGrowth.slotMagnitude u L z.2 ^ 2) := | |
| 435 | - contDiff_const.add (hs.pow 2) | |
| 436 | - have hDn : ∀ z : Slow × ℝ, (1 : ℝ) + PulseGrowth.slotMagnitude u L z.2 ^ 2 ≠ 0 := fun z => by positivity | |
| 437 | - have hr := hD.sqrt hDn | |
| 438 | - refine ⟨contDiff_const.div hr (fun z => (Real.sqrt_pos.mpr (by positivity)).ne'), | |
| 439 | - contDiff_const.mul hr, (hs.mul contDiff_const).div hD hDn⟩ | |
| 440 | - | |
| 441 | -theorem ambient_smooth {U : Set (Slow × ℝ)} {d : PrimaryODE.FrameData Slow} | |
| 442 | - (hd : d.SmoothOn U) {w : Slow × ℝ → MovingFrameODE.Plane} (hw : ContDiffOn ℝ ∞ w U) : | |
| 443 | - ContDiffOn ℝ ∞ (fun z => d.ambient z (w z)) U := by | |
| 444 | - have h0 := (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 0).contDiff.comp_contDiffOn hw | |
| 445 | - have h1 := (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 1).contDiff.comp_contDiffOn hw | |
| 446 | - exact MovingFrameODE.packCLM.contDiff.comp_contDiffOn | |
| 447 | - ((h0.add h1).prodMk (((hd.rho.neg.mul (h0.add h1)).smul (hd.frame 0)).add | |
| 448 | - ((hd.eigenvector.mul (h0.sub h1)).smul (hd.frame 1)))) | |
| 449 | - | |
| 450 | -end LocalCalculus | |
| 451 | - | |
| 452 | -section ActualODE | |
| 453 | - | |
| 454 | -variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] | |
| 455 | - | |
| 456 | -omit [NormedSpace ℝ E] [CompleteSpace E] in | |
| 457 | -theorem pathFamily_eq_of_fiber {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 458 | - {F G : P × ℝ → E} {p : P} (he : ∀ t, F (p, t) = G (p, t)) (a b : ℝ) : | |
| 459 | - SmoothPathFamily.pathFamily (a := a) (b := b) F p = SmoothPathFamily.pathFamily G p := by | |
| 460 | - have hs : (fun t : Icc a b => F (p, t)) = (fun t : Icc a b => G (p, t)) := | |
| 461 | - funext fun t => he t | |
| 462 | - by_cases hc : Continuous (fun t : Icc a b => F (p, t)) | |
| 463 | - · have hg : Continuous (fun t : Icc a b => G (p, t)) := by rwa [← hs] | |
| 464 | - apply ContinuousMap.ext | |
| 465 | - intro t | |
| 466 | - rw [SmoothPathFamily.pathFamily_apply F p hc, SmoothPathFamily.pathFamily_apply G p hg, he] | |
| 467 | - · have hg : ¬ Continuous (fun t : Icc a b => G (p, t)) := by rwa [← hs] | |
| 468 | - simp only [SmoothPathFamily.pathFamily, dite_eq_right hc, dite_eq_right hg] | |
| 469 | - | |
| 470 | -/-- Actual anchored Volterra solutions agree when their primitive data | |
| 471 | -agree on the entire slow fiber. -/ | |
| 472 | -theorem reparamSolution_eq_of_fiber {A A' : Slow × ℝ → E →L[ℝ] E} | |
| 473 | - {f f' : Slow × ℝ → E} {x x' : Slow → E} {p : Slow} | |
| 474 | - (hA : ∀ t, A (p, t) = A' (p, t)) (hf : ∀ t, f (p, t) = f' (p, t)) | |
| 475 | - (hx : x p = x' p) (a t : ℝ) : | |
| 476 | - JointODE.reparamSolution a A x f (p, t) = JointODE.reparamSolution a A' x' f' (p, t) := by | |
| 477 | - have hAc : ∀ s, JointODE.rescale a A ((p, t), s) = JointODE.rescale a A' ((p, t), s) := by | |
| 478 | - intro s | |
| 479 | - simp only [JointODE.rescale, JointODE.timeMap, hA] | |
| 480 | - have hfc : ∀ s, JointODE.rescale a f ((p, t), s) = JointODE.rescale a f' ((p, t), s) := by | |
| 481 | - intro s | |
| 482 | - simp only [JointODE.rescale, JointODE.timeMap, hf] | |
| 483 | - unfold JointODE.reparamSolution SmoothPathFamily.odeFamily | |
| 484 | - rw [pathFamily_eq_of_fiber hAc, pathFamily_eq_of_fiber hfc] | |
| 485 | - dsimp only | |
| 486 | - rw [hx] | |
| 487 | - | |
| 488 | -/-- If the primitive coefficient is smooth for all slot times, the same | |
| 489 | -reparameterized solution is smooth for both signs of the terminal slot. -/ | |
| 490 | -theorem reparamSolution_smooth {U : Set Slow} (hU : IsOpen U) | |
| 491 | - {A : Slow × ℝ → E →L[ℝ] E} {f : Slow × ℝ → E} {x : Slow → E} | |
| 492 | - (hA : ContDiffOn ℝ ∞ A (U ×ˢ univ)) (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 493 | - (hx : ContDiffOn ℝ ∞ x U) (a : ℝ) : | |
| 494 | - ContDiffOn ℝ ∞ (JointODE.reparamSolution a A x f) (U ×ˢ univ) := by | |
| 495 | - have hmap : MapsTo (JointODE.timeMap a) ((U ×ˢ (univ : Set ℝ)) ×ˢ (univ : Set ℝ)) | |
| 496 | - (U ×ˢ (univ : Set ℝ)) := fun z hz => ⟨hz.1.1, mem_univ _⟩ | |
| 497 | - have hpath := SmoothPathFamily.contDiffOn_odeFamily_of_joint (a := (0 : ℝ)) (b := 1) zero_le_one | |
| 498 | - (U ×ˢ (univ : Set ℝ)) univ (hU.prod isOpen_univ) isOpen_univ (subset_univ _) | |
| 499 | - (JointODE.rescale a A) (fun p : Slow × ℝ => x p.1) (JointODE.rescale a f) | |
| 500 | - (JointODE.rescale_contDiffOn A hA hmap) | |
| 501 | - (hx.comp contDiffOn_fst (fun _ hz => hz.1)) (JointODE.rescale_contDiffOn f hf hmap) | |
| 502 | - exact (ContinuousMap.evalCLM ℝ (⟨1, zero_le_one, le_rfl⟩ : Icc (0 : ℝ) 1)).contDiff.comp_contDiffOn hpath | |
| 503 | - | |
| 504 | -end ActualODE | |
| 505 | - | |
| 506 | -section SelectedPhase | |
| 507 | - | |
| 508 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 509 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 510 | - (v : ModulatedProfileAssembly.Witness ld) {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | |
| 511 | - (a : PrimaryGeometryAssembly.Prepared H v upper B r0 N0) (hr0 : 0 < r0) | |
| 512 | - | |
| 513 | -/-- Keep the supplied representatives and all their rounded frequencies; | |
| 514 | -only the two continuous base fields are evaluated on their stable branch. -/ | |
| 515 | -noncomputable def phase (j : Fin 2) : PhaseJetBounds.PhaseFamily (PrimaryGeometryAssembly.Index W a.N) := | |
| 516 | - { (PrimaryGeometryAssembly.construction H v a hr0 j).phase with | |
| 517 | - F := fun L => frequency H v upper B (BaseChartJets.cellBand L) | |
| 518 | - G := fun L => axial H v upper B (BaseChartJets.cellBand L) } | |
| 519 | - | |
| 520 | -theorem phase_normal_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 521 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 522 | - (phase H v a hr0 j).normal L (p, s) = | |
| 523 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.normal L (p, s) := | |
| 524 | - normal_eq_of_germs _ _ _ _ _ _ (frequency_germ H v upper B _ hp) (axial_germ H v upper B _ hp) | |
| 525 | - | |
| 526 | -theorem phase_velocity_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 527 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 528 | - (phase H v a hr0 j).velocity L (p, s) = | |
| 529 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.velocity L (p, s) := by | |
| 530 | - have hf := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (frequency_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 531 | - have hg := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (axial_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 532 | - simp only [PhaseJetBounds.PhaseFamily.velocity, phase, PhaseCalculus.normalSlotDerivative, | |
| 533 | - PhaseCalculus.slowR, PhaseCalculus.slowZ, hf, hg] | |
| 534 | - rfl | |
| 535 | - | |
| 536 | -theorem phase_shear_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 537 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 538 | - (phase H v a hr0 j).shear L (p, s) = | |
| 539 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.shear L (p, s) := by | |
| 540 | - have hf := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (frequency_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 541 | - have hg := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (axial_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 542 | - simp only [PhaseJetBounds.PhaseFamily.shear, phase, PhaseEstimates.shearVector, | |
| 543 | - PhaseCalculus.slowR, hf, hg] | |
| 544 | - rfl | |
| 545 | - | |
| 546 | -theorem phase_normal_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 547 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).normal L) (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 548 | - apply normal_smoothOn (positiveStableDomain_open F.data.h) | |
| 549 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 550 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) | |
| 551 | - · exact (ChartScales.epsilon_pos F.data.h (BaseChartJets.cellBand L)).ne' | |
| 552 | - · exact fun p hp => hp.2.ne' | |
| 553 | - | |
| 554 | -theorem phase_velocity_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 555 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).velocity L) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 556 | - normalVelocity_smoothOn (positiveStableDomain_open F.data.h) | |
| 557 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 558 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) _ _ _ | |
| 559 | - | |
| 560 | -theorem phase_shear_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 561 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).shear L) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 562 | - shear_smoothOn (positiveStableDomain_open F.data.h) | |
| 563 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 564 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) | |
| 565 | - | |
| 566 | -theorem phase_p_ne_zero (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 567 | - (phase H v a hr0 j).p L ≠ 0 := by | |
| 568 | - intro hz | |
| 569 | - have he := PrimaryGeometryAssembly.carrier_mul_phase_p H v a hr0 j L | |
| 570 | - change (ChartScales.carrier F.data.h (BaseChartJets.cellBand L) : ℝ) * | |
| 571 | - (phase H v a hr0 j).p L = _ at he | |
| 572 | - rw [hz, mul_zero] at he | |
| 573 | - exact PrimaryGeometryAssembly.angularMode_ne_zero H v a j L (Int.cast_eq_zero.mp he.symm) | |
| 574 | - | |
| 575 | -theorem phase_normal_tail_ne_zero (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 576 | - {z : Slow × ℝ} (hz : z ∈ positiveStableDomain F.data.h ×ˢ (univ : Set ℝ)) : | |
| 577 | - MovingFrameODE.tail ((phase H v a hr0 j).normal L z) ≠ 0 := by | |
| 578 | - have hf := (frequency_smoothAt H v upper B (BaseChartJets.cellBand L) hz.1).differentiableAt (by simp) | |
| 579 | - have hg := (axial_smoothAt H v upper B (BaseChartJets.cellBand L) hz.1.1).differentiableAt (by simp) | |
| 580 | - have he := PhaseCalculus.phaseNormal_formula ((phase H v a hr0 j).epsilon L) | |
| 581 | - ((phase H v a hr0 j).p L) ((phase H v a hr0 j).pz L) ((phase H v a hr0 j).x0 L) | |
| 582 | - ((phase H v a hr0 j).F L) ((phase H v a hr0 j).G L) | |
| 583 | - (z.1, ((phase H v a hr0 j).theta L, z.2)) | |
| 584 | - (show (phase H v a hr0 j).epsilon L ≠ 0 from | |
| 585 | - (ChartScales.epsilon_pos F.data.h (BaseChartJets.cellBand L)).ne') hf hg | |
| 586 | - change MovingFrameODE.tail (PhaseCalculus.phaseNormal _ _ _ _ _ _ _) ≠ 0 | |
| 587 | - rw [he] | |
| 588 | - intro hh | |
| 589 | - have hz0 := congrArg (fun w : MovingFrameODE.Plane => w 0) hh | |
| 590 | - exact div_ne_zero (phase_p_ne_zero H v a hr0 j L) hz.1.2.ne' hz0 | |
| 591 | - | |
| 592 | -noncomputable def frame (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : PrimaryODE.FrameData Slow := | |
| 593 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 594 | - (phase H v a hr0 j).frameData P.lam P.c0 P.u P.L P.viscosity L | |
| 595 | - | |
| 596 | -theorem frame_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 597 | - (frame H v a hr0 j L).SmoothOn (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 598 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 599 | - have href := referenceFunctions_smooth (P.lam L) (P.c0 L) (P.u L) (P.L L) | |
| 600 | - have hfreq : ContDiffOn ℝ ∞ (frequency H v upper B (BaseChartJets.cellBand L)) | |
| 601 | - (positiveStableDomain F.data.h) := fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt | |
| 602 | - apply frameFromNormal_smooth ((positiveStableDomain_open F.data.h).prod isOpen_univ) | |
| 603 | - (phase_normal_smooth H v a hr0 j L) (phase_velocity_smooth H v a hr0 j L) | |
| 604 | - (show ContDiffOn ℝ ∞ (fun z : Slow × ℝ => frequency H v upper B (BaseChartJets.cellBand L) z.1) | |
| 605 | - (positiveStableDomain F.data.h ×ˢ univ) from | |
| 606 | - hfreq.comp contDiffOn_fst (fun _ hz => hz.1)) | |
| 607 | - (phase_shear_smooth H v a hr0 j L) href.1.contDiffOn href.2.1.contDiffOn | |
| 608 | - href.2.2.contDiffOn contDiffOn_const | |
| 609 | - (fun _ hz => phase_normal_tail_ne_zero H v a hr0 j L hz) | |
| 610 | - intro z hz | |
| 611 | - change P.c0 L * Real.sqrt (1 + PulseGrowth.slotMagnitude (P.u L) (P.L L) z.2 ^ 2) ≠ 0 | |
| 612 | - apply mul_ne_zero | |
| 613 | - · have hb := (P.c0_bound L).1 | |
| 614 | - exact abs_pos.mp (P.b_pos.trans_le hb) | |
| 615 | - · exact (Real.sqrt_pos.mpr (by positivity)).ne' | |
| 616 | - | |
| 617 | -theorem frame_coefficient_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 618 | - (mode : ℤ) {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 619 | - (frame H v a hr0 j L).coefficient mode (p, s) = | |
| 620 | - ((PrimaryGeometryAssembly.construction H v a hr0 j).frame L).coefficient mode (p, s) := by | |
| 621 | - have hF : (phase H v a hr0 j).F L p = | |
| 622 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.F L p := frequency_eq H v upper B _ hp | |
| 623 | - simp only [frame, PrimaryPulseBounds.PhaseConstruction.frame, PhaseJetBounds.PhaseFamily.frameData, | |
| 624 | - PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping, | |
| 625 | - PrimaryODE.FrameData.error11, PrimaryODE.FrameData.error12, PrimaryODE.FrameData.error21, | |
| 626 | - PrimaryODE.FrameData.error22, PrimaryODE.FrameData.errorA, PrimaryODE.FrameData.errorB, | |
| 627 | - PrimaryODE.FrameData.errorC, PrimaryODE.FrameData.ofNormalLocal, | |
| 628 | - phase_normal_eq H v a hr0 j L hp s, phase_velocity_eq H v a hr0 j L hp s, | |
| 629 | - phase_shear_eq H v a hr0 j L hp s, hF] | |
| 630 | - | |
| 631 | -theorem frame_ambient_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 632 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) (w : MovingFrameODE.Plane) : | |
| 633 | - (frame H v a hr0 j L).ambient (p, s) w = | |
| 634 | - ((PrimaryGeometryAssembly.construction H v a hr0 j).frame L).ambient (p, s) w := by | |
| 635 | - simp only [frame, PrimaryPulseBounds.PhaseConstruction.frame, PhaseJetBounds.PhaseFamily.frameData, | |
| 636 | - PrimaryODE.FrameData.ambient, PrimaryODE.FrameData.ofNormalLocal, | |
| 637 | - phase_normal_eq H v a hr0 j L hp s] | |
| 638 | - | |
| 639 | -noncomputable def pulse (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 640 | - Slow × ℝ → MovingFrameODE.Space := | |
| 641 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 642 | - PrimaryPulseBounds.normalizedPulse (frame H v a hr0 j L) (P.lam L) (P.u L) (P.L L) | |
| 643 | - | |
| 644 | -theorem fundamental_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 645 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 646 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 647 | - PrimaryPulseBounds.fundamental (frame H v a hr0 j L) (P.lam L) (P.u L) (P.L L) (p, s) = | |
| 648 | - PrimaryPulseBounds.fundamental (P.frame L) (P.lam L) (P.u L) (P.L L) (p, s) := by | |
| 649 | - exact reparamSolution_eq_of_fiber (fun t => frame_coefficient_eq H v a hr0 j L 1 hp t) | |
| 650 | - (fun _ => rfl) rfl 0 s | |
| 651 | - | |
| 652 | -theorem pulse_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 653 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 654 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 655 | - pulse H v a hr0 j L (p, s) = PrimaryPulseBounds.normalizedPulse (P.frame L) | |
| 656 | - (P.lam L) (P.u L) (P.L L) (p, s) := by | |
| 657 | - dsimp only [pulse, PrimaryPulseBounds.normalizedPulse] | |
| 658 | - rw [fundamental_eq H v a hr0 j L hp, frame_ambient_eq H v a hr0 j L hp] | |
| 659 | - | |
| 660 | -theorem fundamental_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 661 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 662 | - ContDiffOn ℝ ∞ (PrimaryPulseBounds.fundamental (frame H v a hr0 j L) | |
| 663 | - (P.lam L) (P.u L) (P.L L)) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 664 | - reparamSolution_smooth (positiveStableDomain_open F.data.h) | |
| 665 | - ((frame_smooth H v a hr0 j L).coefficient 1) contDiffOn_const contDiffOn_const 0 | |
| 666 | - | |
| 667 | -theorem pulse_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 668 | - ContDiffOn ℝ ∞ (pulse H v a hr0 j L) (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 669 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 670 | - have hc : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => (z.1, P.L L * z.2)) | |
| 671 | - (positiveStableDomain F.data.h ×ˢ univ) := | |
| 672 | - contDiffOn_fst.prodMk (contDiffOn_const.mul contDiffOn_snd) | |
| 673 | - exact (ambient_smooth (frame_smooth H v a hr0 j L) (fundamental_smooth H v a hr0 j L)).comp hc | |
| 674 | - (fun z hz => ⟨hz.1, mem_univ _⟩) | |
| 675 | - | |
| 676 | -/-- The same native Haar, temporal-stretch, and slot-length prefactor. -/ | |
| 677 | -noncomputable def covariance (vr vt : TorusInverse.Plane) | |
| 678 | - (L : PrimaryGeometryAssembly.Index W a.N) (p : Slow) : SmoothCovariance.Mat2 := | |
| 679 | - fun r c => (PartitionedCovariance.nativePrefactor vr vt r0 * | |
| 680 | - ChartScales.timeCoefficient F.data.h (BaseChartJets.cellBand L) * | |
| 681 | - ChartScales.slotLength r0 F.data.h (BaseChartJets.cellBand L)) * | |
| 682 | - ∫ t in (1 / 10 : ℝ)..(9 / 10 : ℝ), GaussianTailFlat.profile t ^ 2 * | |
| 683 | - (pulse H v a hr0 c L (p, t) 0 * pulse H v a hr0 c L (p, t) r.succ) | |
| 684 | - | |
| 685 | -theorem covariance_eq (vr vt : TorusInverse.Plane) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 686 | - {p : Slow} (hp : 0 < p.2.2) : | |
| 687 | - covariance H v a hr0 vr vt L p = PrimaryTargetBounds.preparedCovariance H v a vr vt L p := by | |
| 688 | - rw [PrimaryTargetBounds.preparedCovariance_eq_construction H v a vr vt hr0] | |
| 689 | - funext r c | |
| 690 | - unfold covariance PrimaryPulseBounds.primaryCovariance PrimaryPulseBounds.covarianceMatrix | |
| 691 | - simp_rw [pulse_eq H v a hr0 c L hp] | |
| 692 | - | |
| 693 | -theorem covariance_smooth (vr vt : TorusInverse.Plane) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 694 | - ContDiffOn ℝ ∞ (covariance H v a hr0 vr vt L) (positiveStableDomain F.data.h) := by | |
| 695 | - apply contDiffOn_pi.mpr | |
| 696 | - intro r | |
| 697 | - apply contDiffOn_pi.mpr | |
| 698 | - intro c | |
| 699 | - have hp := pulse_smooth H v a hr0 c L | |
| 700 | - have h0 := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) 0).contDiff.comp_contDiffOn hp | |
| 701 | - have hi := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) r.succ).contDiff.comp_contDiffOn hp | |
| 702 | - have hg : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => GaussianTailFlat.profile z.2 ^ 2) | |
| 703 | - (positiveStableDomain F.data.h ×ˢ univ) := | |
| 704 | - ((GaussianTailFlat.profile_contDiff.comp contDiff_snd).pow 2).contDiffOn | |
| 705 | - exact contDiffOn_const.mul (ParametricRephase.intervalIntegral_contDiffOn_of_joint _ _ | |
| 706 | - (positiveStableDomain_open F.data.h) (hg.mul (h0.mul hi)) (1 / 10) (9 / 10) (by norm_num)) | |
| 707 | - | |
| 708 | -/-- The actual periodic clock is retained as data; only its smooth slow | |
| 709 | -coefficient is evaluated on the stable branch. -/ | |
| 710 | -noncomputable def periodicPhase (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 711 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 712 | - Slow × TorusInverse.Plane → ℝ := | |
| 713 | - let P := phase H v a hr0 j | |
| 714 | - PeriodicPhaseAssembly.phase g w.cutoff | |
| 715 | - (fun p => P.pz L / P.epsilon L * p.2.1 + P.x0 L * p.1) | |
| 716 | - (fun p => P.p L * P.F L p + P.pz L * P.G L p) | |
| 717 | - | |
| 718 | -theorem periodicPhase_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 719 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 720 | - ContDiffOn ℝ ∞ (periodicPhase H v a hr0 j L g w) | |
| 721 | - (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 722 | - dsimp only [periodicPhase] | |
| 723 | - apply PeriodicPhaseAssembly.phase_contDiffOn g w | |
| 724 | - · exact (contDiffOn_const.mul contDiffOn_snd.fst).add (contDiffOn_const.mul contDiffOn_fst) | |
| 725 | - · apply (contDiffOn_const.mul _).add (contDiffOn_const.mul _) | |
| 726 | - · exact fun p hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt | |
| 727 | - · exact fun p hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt | |
| 728 | - | |
| 729 | -theorem periodicPhase_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 730 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) | |
| 731 | - {p : Slow} (hp : 0 < p.2.2) (Y : TorusInverse.Plane) : | |
| 732 | - let P := (PrimaryGeometryAssembly.construction H v a hr0 j).phase | |
| 733 | - periodicPhase H v a hr0 j L g w (p, Y) = | |
| 734 | - P.pz L / P.epsilon L * p.2.1 + P.x0 L * p.1 - | |
| 735 | - PeriodicPhaseAssembly.periodicClock g w.cutoff Y * (P.p L * P.F L p + P.pz L * P.G L p) := by | |
| 736 | - dsimp only [periodicPhase, PeriodicPhaseAssembly.phase, phase] | |
| 737 | - rw [frequency_eq H v upper B _ hp, axial_eq H v upper B _ hp] | |
| 738 | - rfl | |
| 739 | - | |
| 740 | -noncomputable def carrier (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 741 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 742 | - Slow × TorusInverse.Plane → ℂ := | |
| 743 | - HarmonicCalculus.carrier (ChartScales.carrier F.data.h (BaseChartJets.cellBand L)) | |
| 744 | - (periodicPhase H v a hr0 j L g w) | |
| 745 | - | |
| 746 | -theorem carrier_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 747 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 748 | - ContDiffOn ℝ ∞ (carrier H v a hr0 j L g w) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 749 | - HarmonicCalculus.contDiffOn_carrier _ (periodicPhase_smooth H v a hr0 j L g w) | |
| 750 | - | |
| 751 | -theorem carrier_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 752 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) | |
| 753 | - {p : Slow} (hp : 0 < p.2.2) (Y : TorusInverse.Plane) : | |
| 754 | - let P := (PrimaryGeometryAssembly.construction H v a hr0 j).phase | |
| 755 | - carrier H v a hr0 j L g w (p, Y) = | |
| 756 | - HarmonicCalculus.carrier (ChartScales.carrier F.data.h (BaseChartJets.cellBand L)) | |
| 757 | - (fun z : Slow × TorusInverse.Plane => P.pz L / P.epsilon L * z.1.2.1 + P.x0 L * z.1.1 - | |
| 758 | - PeriodicPhaseAssembly.periodicClock g w.cutoff z.2 * | |
| 759 | - (P.p L * P.F L z.1 + P.pz L * P.G L z.1)) (p, Y) := by | |
| 760 | - dsimp only [carrier, HarmonicCalculus.carrier] | |
| 761 | - rw [periodicPhase_eq H v a hr0 j L g w hp Y] | |
| 762 | - | |
| 763 | -theorem pulse_path_agreement (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 764 | - {p : Slow} (hp : 0 < p.2.2) : | |
| 765 | - (fun s => pulse H v a hr0 j L (p, s)) = | |
| 766 | - (fun s => let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 767 | - PrimaryPulseBounds.normalizedPulse (P.frame L) (P.lam L) (P.u L) (P.L L) (p, s)) := | |
| 768 | - funext (pulse_eq H v a hr0 j L hp) | |
| 769 | - | |
| 770 | -end SelectedPhase | |
| 771 | - | |
| 772 | -section ActualContext | |
| 773 | - | |
| 774 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 775 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 776 | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) | |
| 777 | - | |
| 778 | -noncomputable def stressModel (n : ℕ) (y : Model) : ℝ × ℝ := | |
| 779 | - (ChartScales.epsilon F.data.h n * y.1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2)) • | |
| 780 | - FinalSlowBase.normalizedStress H v upper B | |
| 781 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 782 | - | |
| 783 | -noncomputable def stress (n : ℕ) : Slow → ℝ × ℝ := stressModel H v upper B n ∘ stablePoint F.data.h | |
| 784 | - | |
| 785 | -noncomputable def virtualStress (n : ℕ) (p : Slow) : ℝ × ℝ := | |
| 786 | - if 0 < p.1 then stress H v upper B n p else 0 | |
| 787 | - | |
| 788 | -theorem stressModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 789 | - ContDiffAt ℝ ∞ (stressModel H v upper B n) y := by | |
| 790 | - have hc := (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffAt.comp y | |
| 791 | - (modelCoordinates_smoothAt F.data.h hy) | |
| 792 | - have hs := FinalSlowBase.normalizedStress_smoothAt H v upper B | |
| 793 | - (y := SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 794 | - (mul_pos (ChartScales.Q_pos n) hy) | |
| 795 | - exact (contDiffAt_const.mul (contDiffAt_fst.rpow_const_of_ne hy.ne')).smul | |
| 796 | - (ContDiffAt.comp (g := FinalSlowBase.normalizedStress H v upper B) y hs hc) | |
| 797 | - | |
| 798 | -theorem stress_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 799 | - ContDiffAt ℝ ∞ (stress H v upper B n) p := | |
| 800 | - (stressModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 801 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 802 | - | |
| 803 | -theorem stress_eq (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 804 | - stress H v upper B n (BaseContextAssembly.slowCoordinates x) = | |
| 805 | - BaseContextAssembly.rawStress H v upper B n x := by | |
| 806 | - rw [BaseContextAssembly.rawStress_normalized H v upper B n ht] | |
| 807 | - change stressModel H v upper B n (stablePoint F.data.h (BaseContextAssembly.slowCoordinates x)) = _ | |
| 808 | - rw [stablePoint_eq F.data.h_pos F.data.h_lt_half ht] | |
| 809 | - unfold stressModel | |
| 810 | - rw [modelCoordinates_original] | |
| 811 | - simp only [originalPoint, BaseChartJets.normalizedCoordinates_eq] | |
| 812 | - | |
| 813 | -theorem virtualStress_eq (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 814 | - virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x) = | |
| 815 | - BaseContextAssembly.virtualStress H v upper B n x := by | |
| 816 | - change (if 0 < x.1 then stress H v upper B n (BaseContextAssembly.slowCoordinates x) else 0) = _ | |
| 817 | - rw [stress_eq H v upper B n ht] | |
| 818 | - rfl | |
| 819 | - | |
| 820 | -theorem stress_zero_of_inner (n : ℕ) {p : Slow} | |
| 821 | - (hp : (modelCoordinates F.data.h (stablePoint F.data.h p)).2.1 ≤ NominalConeAssembly.activeLeft W) : | |
| 822 | - stress H v upper B n p = 0 := by | |
| 823 | - change (_ : ℝ) • FinalSlowBase.normalizedStress H v upper B | |
| 824 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h (stablePoint F.data.h p))) = 0 | |
| 825 | - rw [SlowBorelBase.scaleMap_apply, FinalSlowBase.normalizedStress_zero_left H v upper B _ hp, smul_zero] | |
| 826 | - | |
| 827 | -theorem virtualStress_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 828 | - ContDiffAt ℝ ∞ (virtualStress H v upper B n) p := by | |
| 829 | - rcases lt_trichotomy p.1 0 with hneg | hzero | hpos | |
| 830 | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by | |
| 831 | - filter_upwards [continuousAt_fst (gt_mem_nhds hneg)] with y hy | |
| 832 | - change y.1 < 0 at hy | |
| 833 | - simp only [virtualStress, ite_eq_right (not_lt.mpr hy.le)] | |
| 834 | - exact contDiffAt_const.congr_of_eventuallyEq he | |
| 835 | - · have hc := (modelCoordinates_smoothAt F.data.h (stablePoint_pos hp)).comp p | |
| 836 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 837 | - have hx : (modelCoordinates F.data.h (stablePoint F.data.h p)).2.1 < NominalConeAssembly.activeLeft W := by | |
| 838 | - simpa only [modelCoordinates, stablePoint, hzero, zero_pow (by decide : 2 ≠ 0), zero_div] using | |
| 839 | - NominalConeAssembly.activeLeft_pos W | |
| 840 | - have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by | |
| 841 | - filter_upwards [hc.snd.fst.continuousAt (gt_mem_nhds hx)] with y hy | |
| 842 | - change (modelCoordinates F.data.h (stablePoint F.data.h y)).2.1 < NominalConeAssembly.activeLeft W at hy | |
| 843 | - simp only [virtualStress, stress_zero_of_inner H v upper B n hy.le, ite_self] | |
| 844 | - exact contDiffAt_const.congr_of_eventuallyEq he | |
| 845 | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] stress H v upper B n := by | |
| 846 | - filter_upwards [continuousAt_fst (lt_mem_nhds hpos)] with y hy | |
| 847 | - exact ite_eq_left hy | |
| 848 | - exact (stress_smoothAt H v upper B n hp).congr_of_eventuallyEq he | |
| 849 | - | |
| 850 | -noncomputable def context (index : ℕ → ℕ) : CorrectionState.Context LocalSignedRequest.Point := | |
| 851 | - { CommonBaseContext.context H v upper B index with | |
| 852 | - base := { | |
| 853 | - radial := fun n x => radial H v upper B n (BaseContextAssembly.slowCoordinates x) | |
| 854 | - angular := fun n x => x.1 * frequency H v upper B n (BaseContextAssembly.slowCoordinates x) | |
| 855 | - axial := fun n x => axial H v upper B n (BaseContextAssembly.slowCoordinates x) } | |
| 856 | - virtualTheta := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).1 | |
| 857 | - virtualAxial := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).2 } | |
| 858 | - | |
| 859 | -theorem context_operators (index : ℕ → ℕ) : | |
| 860 | - (context H v upper B index).operators = (CommonBaseContext.context H v upper B index).operators := rfl | |
| 861 | - | |
| 862 | -theorem context_base_eq (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 863 | - (context H v upper B index).base.radial n x = (CommonBaseContext.context H v upper B index).base.radial n x ∧ | |
| 864 | - (context H v upper B index).base.angular n x = (CommonBaseContext.context H v upper B index).base.angular n x ∧ | |
| 865 | - (context H v upper B index).base.axial n x = (CommonBaseContext.context H v upper B index).base.axial n x := by | |
| 866 | - refine ⟨?_, ?_, ?_⟩ | |
| 867 | - · exact radial_eq H v upper B n ht | |
| 868 | - · exact congrArg (fun r => x.1 * r) (frequency_eq H v upper B n ht) | |
| 869 | - · exact axial_eq H v upper B n ht | |
| 870 | - | |
| 871 | -theorem context_stress_eq (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 872 | - (context H v upper B index).virtualTheta n x = (CommonBaseContext.context H v upper B index).virtualTheta n x ∧ | |
| 873 | - (context H v upper B index).virtualAxial n x = (CommonBaseContext.context H v upper B index).virtualAxial n x := | |
| 874 | - ⟨congrArg Prod.fst (virtualStress_eq H v upper B n ht), congrArg Prod.snd (virtualStress_eq H v upper B n ht)⟩ | |
| 875 | - | |
| 876 | -noncomputable def contextDomain (h : ℝ) : Set LocalSignedRequest.Point := | |
| 877 | - BaseContextAssembly.slowCoordinates ⁻¹' positiveStableDomain h | |
| 878 | - | |
| 879 | -theorem contextDomain_open (h : ℝ) : IsOpen (contextDomain h) := | |
| 880 | - (positiveStableDomain_open h).preimage BaseContextAssembly.slowCoordinates.continuous | |
| 881 | - | |
| 882 | -theorem contextDomain_endpoint (R : ℝ) (hR : 0 < R) {Z : ℝ} (hZ : Z ≠ 0) (Y : TorusInverse.Plane) : | |
| 883 | - (R, ((0, Z), Y)) ∈ contextDomain F.data.h := | |
| 884 | - ⟨endpoint_mem_stable F.data.h_pos F.data.h_lt_half R hZ, hR⟩ | |
| 885 | - | |
| 886 | -theorem context_base_smooth (index : ℕ → ℕ) : | |
| 887 | - MeanIncrementBounds.SmoothTriple (contextDomain F.data.h) (context H v upper B index).base := by | |
| 888 | - refine ⟨fun n x hx => ?_, fun n x hx => ?_, fun n x hx => ?_⟩ | |
| 889 | - · exact ((radial_smoothAt H v upper B n hx.1).comp x | |
| 890 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).contDiffWithinAt | |
| 891 | - · exact (contDiffAt_fst.mul ((frequency_smoothAt H v upper B n hx).comp x | |
| 892 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt)).contDiffWithinAt | |
| 893 | - · exact ((axial_smoothAt H v upper B n hx.1).comp x | |
| 894 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).contDiffWithinAt | |
| 895 | - | |
| 896 | -theorem context_stress_smooth (index : ℕ → ℕ) (n : ℕ) : | |
| 897 | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualTheta n) (contextDomain F.data.h) ∧ | |
| 898 | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualAxial n) (contextDomain F.data.h) := by | |
| 899 | - constructor | |
| 900 | - · intro x hx | |
| 901 | - exact (((virtualStress_smoothAt H v upper B n hx.1).comp x | |
| 902 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).fst).contDiffWithinAt | |
| 903 | - · intro x hx | |
| 904 | - exact (((virtualStress_smoothAt H v upper B n hx.1).comp x | |
| 905 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).snd).contDiffWithinAt | |
| 906 | - | |
| 907 | -theorem context_base_germ (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 908 | - HarmonicResidual.contextBase (context H v upper B index) n =ᶠ[𝓝 x] | |
| 909 | - HarmonicResidual.contextBase (CommonBaseContext.context H v upper B index) n := by | |
| 910 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.fst.fst).mem_nhds ht] with y hy | |
| 911 | - have he := context_base_eq H v upper B index n hy | |
| 912 | - simp only [HarmonicResidual.contextBase, he.1, he.2.1, he.2.2] | |
| 913 | - | |
| 914 | -/-- Equality is on every free radial/torus fiber, not only a graph restriction. -/ | |
| 915 | -theorem context_stress_fiberAgreement (index : ℕ → ℕ) (n : ℕ) (U : Set TorusInverse.Plane) : | |
| 916 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).virtualTheta n) | |
| 917 | - ((CommonBaseContext.context H v upper B index).virtualTheta n) ∧ | |
| 918 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).virtualAxial n) | |
| 919 | - ((CommonBaseContext.context H v upper B index).virtualAxial n) := | |
| 920 | - ⟨fun _ hx => (context_stress_eq H v upper B index n hx.2).1, | |
| 921 | - fun _ hx => (context_stress_eq H v upper B index n hx.2).2⟩ | |
| 922 | - | |
| 923 | -theorem context_base_fiberAgreement (index : ℕ → ℕ) (n : ℕ) (U : Set TorusInverse.Plane) : | |
| 924 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.radial n) | |
| 925 | - ((CommonBaseContext.context H v upper B index).base.radial n) ∧ | |
| 926 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.angular n) | |
| 927 | - ((CommonBaseContext.context H v upper B index).base.angular n) ∧ | |
| 928 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.axial n) | |
| 929 | - ((CommonBaseContext.context H v upper B index).base.axial n) := | |
| 930 | - ⟨fun _ hx => (context_base_eq H v upper B index n hx.2).1, | |
| 931 | - fun _ hx => (context_base_eq H v upper B index n hx.2).2.1, | |
| 932 | - fun _ hx => (context_base_eq H v upper B index n hx.2).2.2⟩ | |
| 933 | - | |
| 934 | -end ActualContext | |
| 935 | - | |
| 936 | -section DifferentialPreservation | |
| 937 | - | |
| 938 | -open OffplaneCorrectionExtensions MeanIncrementBounds | |
| 939 | - | |
| 940 | -/-- Agreement through actual graph differentiation, with the free radial | |
| 941 | -and torus coordinates retained. These are the differential operations used | |
| 942 | -in the particular and mean residual formulas. -/ | |
| 943 | -theorem fiberAgreement_dr {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 944 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 945 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 946 | - ∀ n, FiberAgreement U (o.dr F n) (o.dr f n) := | |
| 947 | - Operators.dr_congr (PhysicalMeanDomain.slowDomain_open (hU.inter positiveSlow_open)) o h | |
| 948 | - | |
| 949 | -theorem fiberAgreement_dz {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 950 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 951 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 952 | - ∀ n, FiberAgreement U (o.dz F n) (o.dz f n) := | |
| 953 | - Operators.dz_congr (PhysicalMeanDomain.slowDomain_open (hU.inter positiveSlow_open)) o h | |
| 954 | - | |
| 955 | -theorem fiberAgreement_time {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 956 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 957 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 958 | - ∀ n, FiberAgreement U (o.time F n) (o.time f n) := by | |
| 959 | - intro n x hx | |
| 960 | - have he := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) ((h n).eventuallyEq hU hx.1 hx.2) | |
| 961 | - simp only [Operators.time, Operators.slowTime, Operators.fastTime, Pi.add_apply, he] | |
| 962 | - | |
| 963 | -theorem fiberAgreement_viscosity {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 964 | - (o : Operators LocalSignedRequest.Point) (c : ℝ) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 965 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 966 | - ∀ n, FiberAgreement U (o.viscosity c F n) (o.viscosity c f n) := by | |
| 967 | - have hr := fiberAgreement_dr hU o h | |
| 968 | - have hrr := fiberAgreement_dr hU o hr | |
| 969 | - have hzz := fiberAgreement_dz hU o (fiberAgreement_dz hU o h) | |
| 970 | - intro n x hx | |
| 971 | - simp only [Operators.viscosity, hrr n hx, hr n hx, hzz n hx, h n hx] | |
| 972 | - | |
| 973 | -theorem fiberAgreement_mul {U : Set TorusInverse.Plane} {F f G g : LocalSignedRequest.Point → ℝ} | |
| 974 | - (hF : FiberAgreement U F f) (hG : FiberAgreement U G g) : | |
| 975 | - FiberAgreement U (fun x => F x * G x) (fun x => f x * g x) := | |
| 976 | - fun _ hx => congrArg₂ (· * ·) (hF hx) (hG hx) | |
| 977 | - | |
| 978 | -theorem fiberAgreement_add {U : Set TorusInverse.Plane} {F f G g : LocalSignedRequest.Point → ℝ} | |
| 979 | - (hF : FiberAgreement U F f) (hG : FiberAgreement U G g) : | |
| 980 | - FiberAgreement U (fun x => F x + G x) (fun x => f x + g x) := | |
| 981 | - fun _ hx => congrArg₂ (· + ·) (hF hx) (hG hx) | |
| 982 | - | |
| 983 | -end DifferentialPreservation | |
| 984 | - | |
| 985 | -end NavierStokes.ActualCorrectionModels | |
+0 −55 NavierStokes/ActualCurrentCarrierJets.lean View file
| @@ -65,9 +65,6 @@ theorem actualCarrier_character | ||
| 65 | 65 | rw [actualCarrier_phase b hb j l n, ActualParticularBackground.carrier_frequency b hb j l] |
| 66 | 66 | exact harmonic_carrier_eq l n j |
| 67 | 67 | |
| 68 | -theorem paddedCell_eq_phaseCell (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) : | |
| 69 | - ParticularPaddedBackground.paddedCell n i = ActualPhaseJetBounds.phaseCell n i := rfl | |
| 70 | - | |
| 71 | 68 | theorem mem_cells_iff (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) (z : Native) : |
| 72 | 69 | z ∈ ParticularPaddedBackground.cells n i ↔ |
| 73 | 70 | ActualParticularBackground.nativeToFull z ∈ ActualPhaseJetBounds.phaseCell n i := Iff.rfl |
| @@ -121,17 +118,6 @@ theorem weightedPhase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B | ||
| 121 | 118 | hf.comp ActualParticularBackground.nativeToFull.toContinuousLinearEquiv.contDiff.contDiffOn |
| 122 | 119 | (fun _ hy => hy)⟩ |
| 123 | 120 | |
| 124 | -theorem phase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B N0} | |
| 125 | - {z : Native} (hz : z ∈ ParticularPaddedBackground.cells n i) : | |
| 126 | - LocalPhysicalCopyBounds.SmoothNear (phase i.1 n) z := by | |
| 127 | - obtain ⟨U, hU, hx, hf⟩ := weightedPhase_smoothNear hz | |
| 128 | - have hk : (ChartScales.carrier ActualPrimary.h n : ℝ) ≠ 0 := | |
| 129 | - (ActualPrimary.chartCoefficients_frequency_pos i.1.1 i.1.2 n).ne' | |
| 130 | - refine ⟨U, hU, hx, (hf.div_const (ChartScales.carrier ActualPrimary.h n : ℝ)).congr ?_⟩ | |
| 131 | - intro y _ | |
| 132 | - rw [weightedPhase_eq] | |
| 133 | - field_simp [hk] | |
| 134 | - | |
| 135 | 121 | /-- Constants are chosen before the active label, band, copy, point, and |
| 136 | 122 | positive derivative order. Reindexing is an isometry and adds no loss. -/ |
| 137 | 123 | theorem weightedPhase_positive_jets (m : ℕ) : |
| @@ -147,31 +133,6 @@ theorem weightedPhase_positive_jets (m : ℕ) : | ||
| 147 | 133 | rw [StateReindex.norm_iteratedFDeriv_pull] |
| 148 | 134 | exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm |
| 149 | 135 | |
| 150 | -theorem phase_positive_jets (m : ℕ) : | |
| 151 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 152 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 153 | - ‖iteratedFDeriv ℝ r (phase i.1 n) z‖ ≤ | |
| 154 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 155 | - obtain ⟨C,hC,p,hb⟩ := ActualPhaseJetBounds.phase_positive_jets (B := B) (N0 := N0) m | |
| 156 | - refine ⟨C,hC,p,?_⟩ | |
| 157 | - intro n i z hz r hr hrm | |
| 158 | - change ‖iteratedFDeriv ℝ r (fun y => (ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n | |
| 159 | - (ActualParticularBackground.nativeToFull y)) z‖ ≤ _ | |
| 160 | - rw [StateReindex.norm_iteratedFDeriv_pull] | |
| 161 | - exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm | |
| 162 | - | |
| 163 | -/-- The displayed physical loss is exactly two inverse powers of epsilon. -/ | |
| 164 | -theorem weightedPhase_positive_jets_epsilon (m : ℕ) : | |
| 165 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 166 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 167 | - ‖iteratedFDeriv ℝ r (weightedPhase i.1 n) z‖ ≤ | |
| 168 | - C * ChartScales.S n ^ p * (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ 2 := by | |
| 169 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 170 | - refine ⟨C,hC,p,?_⟩ | |
| 171 | - intro n i z hz r hr hrm | |
| 172 | - rw [ActualPhaseJetBounds.inverse_epsilon_sq] | |
| 173 | - exact hb n i z hz r hr hrm | |
| 174 | - | |
| 175 | 136 | theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) |
| 176 | 137 | (k : TorusInverse.Frequency) {z : Native} |
| 177 | 138 | (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : |
| @@ -179,13 +140,6 @@ theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | ||
| 179 | 140 | weightedPhase_smoothNear (n := n) (i := (l,k)) (z := z) |
| 180 | 141 | (ActualParticularStageControls.controlPatch_subset_padded l n k hz) |
| 181 | 142 | |
| 182 | -theorem phase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | |
| 183 | - (k : TorusInverse.Frequency) {z : Native} | |
| 184 | - (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : | |
| 185 | - LocalPhysicalCopyBounds.SmoothNear (phase l n) z := | |
| 186 | - phase_smoothNear (n := n) (i := (l,k)) (z := z) | |
| 187 | - (ActualParticularStageControls.controlPatch_subset_padded l n k hz) | |
| 188 | - | |
| 189 | 143 | /-- The quantitative statement on the actual retained current-copy cells. |
| 190 | 144 | The cell hypothesis already supplies activeness; no native-band interior |
| 191 | 145 | or separate phase-jet assumption is added. -/ |
| @@ -198,13 +152,4 @@ theorem weightedPhase_positive_jets_controlPatch (m : ℕ) : | ||
| 198 | 152 | exact ⟨C,hC,p,fun l n k z hz r hr hrm => |
| 199 | 153 | hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ |
| 200 | 154 | |
| 201 | -theorem phase_positive_jets_controlPatch (m : ℕ) : | |
| 202 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ (l : Label B N0) n k z, | |
| 203 | - z ∈ ActualParticularStageControls.controlPatch l n k → ∀ r, 1 ≤ r → r ≤ m → | |
| 204 | - ‖iteratedFDeriv ℝ r (phase l n) z‖ ≤ | |
| 205 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 206 | - obtain ⟨C,hC,p,hb⟩ := phase_positive_jets (B := B) (N0 := N0) m | |
| 207 | - exact ⟨C,hC,p,fun l n k z hz r hr hrm => | |
| 208 | - hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ | |
| 209 | - | |
| 210 | 155 | end NavierStokes.ActualCurrentCarrierJets |
+0 −7 NavierStokes/ActualCurrentParticularAssembly.lean View file
| @@ -48,13 +48,6 @@ theorem localPressure_eq_sum (x : CycleState (ActualInitialization.Index B N0)) | ||
| 48 | 48 | Equiv.symm_symm, Finset.sum_map, Equiv.toEmbedding_apply, |
| 49 | 49 | ActualCycleParameters.swap_apply] |
| 50 | 50 | |
| 51 | -theorem nativeMode_eq (x : CycleState (ActualInitialization.Index B N0)) | |
| 52 | - (l : ActualInitialization.Index B N0) (j : ℤ) (n : ℕ) | |
| 53 | - (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : | |
| 54 | - ActualParticularCycleData.nativeMode x l j n z k = | |
| 55 | - (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n | |
| 56 | - (ActualWaveRegularity.particularChart z) k).re := rfl | |
| 57 | - | |
| 58 | 51 | theorem particularVelocity_eq_sum {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 59 | 52 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 60 | 53 | (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : |
+0 −114 NavierStokes/ActualCurrentParticularBounds.lean View file
| @@ -300,32 +300,6 @@ theorem character_comp_positive_jets {Φ : E → ℝ} (hΦ : ContDiff ℝ ∞ Φ | ||
| 300 | 300 | |
| 301 | 301 | variable [FiniteDimensional ℝ E] |
| 302 | 302 | |
| 303 | -theorem mode_jet_bound_local {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 304 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 305 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) | |
| 306 | - (m : ℕ) {c A B M : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) | |
| 307 | - (hab : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a x‖ ≤ A) | |
| 308 | - (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : | |
| 309 | - ∀ k ≤ m, ‖iteratedFDeriv ℝ k | |
| 310 | - (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x‖ ≤ | |
| 311 | - (2 : ℝ) ^ m * A * ((m.factorial : ℝ) * M ^ m * B ^ m) := by | |
| 312 | - obtain ⟨a', ha', hea⟩ := ha.exists_global_germ | |
| 313 | - obtain ⟨Φ', hΦ', heΦ⟩ := hΦ.exists_global_germ | |
| 314 | - have hprod : (fun y => a y * PhysicalGraphBounds.character c (Φ y)) =ᶠ[𝓝 x] | |
| 315 | - (fun y => a' y * PhysicalGraphBounds.character c (Φ' y)) := by | |
| 316 | - filter_upwards [hea, heΦ] with y hay hφy | |
| 317 | - rw [hay, hφy] | |
| 318 | - have hφbound := character_comp_positive_jets hΦ' x m hB hM hc (by | |
| 319 | - intro i hi him | |
| 320 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq heΦ i] | |
| 321 | - exact hΦb i hi him) | |
| 322 | - intro k hk | |
| 323 | - rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hprod k] | |
| 324 | - exact PhysicalGraphBounds.pointwise_product_jet_bound ha' | |
| 325 | - ((PhysicalGraphBounds.character_smooth c).comp hΦ') x hk hA (by positivity) | |
| 326 | - (by intro i hi; rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hea i]; exact hab i hi) | |
| 327 | - hφbound | |
| 328 | - | |
| 329 | 303 | theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] |
| 330 | 304 | [NormedSpace ℝ V] [NormedSpace ℂ V] [IsScalarTower ℝ ℂ V] |
| 331 | 305 | {a : E → V} {Φ : E → ℝ} {x : E} |
| @@ -374,17 +348,6 @@ theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] | ||
| 374 | 348 | (pow_le_pow_right₀ (by norm_num) hk) hD) hA |
| 375 | 349 | _ = _ := by dsimp [D]; ring |
| 376 | 350 | |
| 377 | -omit [FiniteDimensional ℝ E] in | |
| 378 | -theorem smoothNear_mode {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 379 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 380 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) (c : ℝ) : | |
| 381 | - LocalPhysicalCopyBounds.SmoothNear (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x := by | |
| 382 | - obtain ⟨U, hU, hxU, haU⟩ := ha | |
| 383 | - obtain ⟨V, hV, hxV, hΦV⟩ := hΦ | |
| 384 | - exact ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, | |
| 385 | - (haU.mono inter_subset_left).mul | |
| 386 | - ((PhysicalGraphBounds.character_smooth c).comp_contDiffOn (hΦV.mono inter_subset_right))⟩ | |
| 387 | - | |
| 388 | 351 | end Carrier |
| 389 | 352 | |
| 390 | 353 | /-! ## The current physical graph, with no copy-family premise -/ |
| @@ -570,19 +533,6 @@ theorem actual_native_pressure_bound (x : CycleState (Label B N0)) | ||
| 570 | 533 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.right) j m |
| 571 | 534 | simpa only [← actual_nativePressure_eq_character x hx] using hb |
| 572 | 535 | |
| 573 | -theorem actual_native_potential_smoothNear (x : CycleState (Label B N0)) | |
| 574 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 575 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 576 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 577 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 578 | - (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope | |
| 579 | - α (ActualParticularStageControls.currentSource x j)) | |
| 580 | - (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : | |
| 581 | - LocalPhysicalCopyBounds.SmoothNear (ActualCurrentParticularPhysical.nativePotential x l j n) z := by | |
| 582 | - rw [actual_nativePotential_eq_character x hx] | |
| 583 | - exact native_modulated_smoothNear (actual_potential_coefficient_class x hx hs hN j hj H) | |
| 584 | - (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.left) j l n hz | |
| 585 | - | |
| 586 | 536 | theorem actual_native_pressure_smoothNear (x : CycleState (Label B N0)) |
| 587 | 537 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 588 | 538 | (hs : ActualParticularStageControls.InputSupport x) |
| @@ -790,70 +740,6 @@ theorem vector_chart_physical_bound {h a b : ℝ} | ||
| 790 | 740 | (hm chart _ hdoma f hf _ ha' hfb i hi) (norm_nonneg _) (by norm_num : (0 : ℝ) ≤ 3) |
| 791 | 741 | simpa only [mul_assoc] using hb |
| 792 | 742 | |
| 793 | -/-- A physical estimate for the literal current-band oscillatory formula. | |
| 794 | -The scalar phase may already include the rounded carrier. Its positive | |
| 795 | -derivatives alone are needed, so no bound on the free angular coordinate | |
| 796 | -is introduced. -/ | |
| 797 | -theorem current_mode_physical_bound {h a b : ℝ} | |
| 798 | - (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 799 | - (Δ m : ℕ) (gain degree ρ A B H : ℝ) (p r : ℕ) | |
| 800 | - (hρ : 0 ≤ ρ) (hA : 0 ≤ A) (hB : 1 ≤ B) (hH : 0 ≤ H) : | |
| 801 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → | |
| 802 | - ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → | |
| 803 | - |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 804 | - ∀ (amp : PhysicalWaveSum.LiftPoint → ℂ) (Φ : PhysicalWaveSum.LiftPoint → ℝ) (c : ℝ), | |
| 805 | - |c| ≤ H → | |
| 806 | - LocalPhysicalCopyBounds.SmoothNear amp (PhysicalWaveSum.commonLift h n d w) → | |
| 807 | - LocalPhysicalCopyBounds.SmoothNear Φ (PhysicalWaveSum.commonLift h n d w) → | |
| 808 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 809 | - A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → | |
| 810 | - (∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 811 | - B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r) → | |
| 812 | - ‖iteratedFDeriv ℝ m (fun y => (ChartScales.Q n ^ (-degree)) • | |
| 813 | - (amp (PhysicalWaveSum.commonLift h n d y) * | |
| 814 | - PhysicalGraphBounds.character c (Φ (PhysicalWaveSum.commonLift h n d y)))) w‖ ≤ | |
| 815 | - C * q ^ (gain - currentLoss degree ρ m) := by | |
| 816 | - let A' : ℝ := (2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m | |
| 817 | - have hA' : 0 ≤ A' := by dsimp [A']; positivity | |
| 818 | - obtain ⟨C, hC, hbound⟩ := PhysicalMeanJetBounds.common_stripped_physical_bound_local (E := ℂ) (b := b) | |
| 819 | - hh hh1 ha Δ m (gain - degree - ρ * m) (p + r * m : ℕ) A' hA' | |
| 820 | - refine ⟨C, hC, ?_⟩ | |
| 821 | - intro n hn d hd w hann ht q hq hlo hhi amp Φ c hc hamp hPhi hab hPhib | |
| 822 | - have hQ := ChartScales.Q_pos n | |
| 823 | - have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) | |
| 824 | - have hQρ : 1 ≤ ChartScales.Q n ^ (-ρ) := | |
| 825 | - Real.one_le_rpow_of_pos_of_le_one_of_nonpos hQ (ChartScales.Q_le_one n) (neg_nonpos.mpr hρ) | |
| 826 | - have hBPhi : 1 ≤ B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r := | |
| 827 | - one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hB hQρ) (one_le_pow₀ hS) | |
| 828 | - have hAc : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := by positivity | |
| 829 | - have hc' : |c| ≤ 1 + H := hc.trans (by linarith) | |
| 830 | - have hjets := mode_jet_bound_local hamp hPhi m hAc hBPhi (by linarith : 1 ≤ 1 + H) hc' hab hPhib | |
| 831 | - let F : PhysicalWaveSum.LiftPoint → ℂ := fun y => (ChartScales.Q n ^ (-degree)) • | |
| 832 | - (amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 833 | - have hnear : LocalPhysicalCopyBounds.SmoothNear F (PhysicalWaveSum.commonLift h n d w) := by | |
| 834 | - obtain ⟨V, hV, hxV, hs⟩ := smoothNear_mode hamp hPhi c | |
| 835 | - exact ⟨V, hV, hxV, hs.const_smul _⟩ | |
| 836 | - have hFjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 837 | - A' * ChartScales.Q n ^ (gain - degree - ρ * m) * | |
| 838 | - ChartScales.S n ^ ((p + r * m : ℕ) : ℝ) := by | |
| 839 | - intro i hi | |
| 840 | - have hcDiff := (smoothNear_mode hamp hPhi c).contDiffAt.of_le (nat_le_infty i) | |
| 841 | - rw [show F = fun y => (ChartScales.Q n ^ (-degree)) • | |
| 842 | - (amp y * PhysicalGraphBounds.character c (Φ y)) from rfl, | |
| 843 | - iteratedFDeriv_const_smul_apply' hcDiff, | |
| 844 | - norm_smul (ChartScales.Q n ^ (-degree) : ℝ) | |
| 845 | - (iteratedFDeriv ℝ i (fun y => amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 846 | - (PhysicalWaveSum.commonLift h n d w)), | |
| 847 | - Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ (-degree)).le] | |
| 848 | - exact (mul_le_mul_of_nonneg_left (hjets i hi) (Real.rpow_pos_of_pos hQ (-degree)).le).trans_eq | |
| 849 | - (by simpa only [Real.rpow_natCast, A'] using | |
| 850 | - mode_majorant_factorization hQ (ChartScales.S n) A B H gain degree ρ p r m) | |
| 851 | - have he := hbound n hn d hd w hann ht q hq hlo hhi F hnear hFjets | |
| 852 | - convert! he using 1 | |
| 853 | - congr 2 | |
| 854 | - unfold currentLoss | |
| 855 | - ring | |
| 856 | - | |
| 857 | 743 | section ActualPhysicalRates |
| 858 | 744 | |
| 859 | 745 | open CorrectionStep CorrectionInitialization CorrectionInitialization.ActualPrimary |
+0 −53 NavierStokes/ActualCurrentParticularPhysical.lean View file
| @@ -481,36 +481,6 @@ theorem copyData_phase {x : CycleState (Label B N0)} | ||
| 481 | 481 | rw [copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l)] |
| 482 | 482 | exact ActualParticularDynamics.data_phase hx l j |
| 483 | 483 | |
| 484 | -/-- The native smoothness hypotheses are consequences of the actual | |
| 485 | -source class and support theorem; no physical jet estimate is assumed. -/ | |
| 486 | -theorem native_smooth_of_current_source (x : CycleState (Label B N0)) | |
| 487 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 488 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 489 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 490 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 491 | - (H : LabelSumBounds.UniformWaveClass | |
| 492 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 493 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 494 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) : | |
| 495 | - ContDiffOn ℝ ∞ (nativePotential x l j n) nativeDomain ∧ | |
| 496 | - ContDiffOn ℝ ∞ (fun z => (nativePressure x l j n z).re) nativeDomain := by | |
| 497 | - have hc := ActualParticularStageControls.common_bounds x hx hs hN j hj H | |
| 498 | - have ha := (ActualParticularStageControls.native_wave_to_weighted hc.1).each l | |
| 499 | - have hp := (ActualParticularStageControls.native_wave_to_weighted hc.2.2.1).each l | |
| 500 | - have he := copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l) | |
| 501 | - have ha' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 502 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) α | |
| 503 | - (copyData x l j).common.amplitude := by | |
| 504 | - rw [he] | |
| 505 | - exact ha | |
| 506 | - have hp' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 507 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) (α + 1/2) | |
| 508 | - (copyData x l j).common.pressure := by | |
| 509 | - rw [he] | |
| 510 | - exact hp | |
| 511 | - exact ⟨nativePotential_contDiffOn x l j (copyData_phase hx l j) ha' hz n, | |
| 512 | - nativePressure_re_contDiffOn x l j (copyData_phase hx l j) hp' hz n⟩ | |
| 513 | - | |
| 514 | 484 | theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : SpaceTime) : |
| 515 | 485 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h (ChartScales.Q n) |
| 516 | 486 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| @@ -525,29 +495,6 @@ theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : | ||
| 525 | 495 | PhysicalResidualBridge.ScaledGraph.map, PhysicalCurlCovariance.polarCoordinates, |
| 526 | 496 | AxisymmetricResidual.pack_two, nativePoint, cylinderPoint] |
| 527 | 497 | |
| 528 | -theorem localModes_contDiffAt_of_current_source (x : CycleState (Label B N0)) | |
| 529 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 530 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 531 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 532 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 533 | - (H : LabelSumBounds.UniformWaveClass | |
| 534 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 535 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 536 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) | |
| 537 | - {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} | |
| 538 | - (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) | |
| 539 | - (hm : nativePoint n w ∈ nativeDomain) : | |
| 540 | - ContDiffAt ℝ ∞ (localPotentialMode x l j n) w ∧ | |
| 541 | - ContDiffAt ℝ ∞ (localPressureMode x l j n) w := by | |
| 542 | - have hh := native_smooth_of_current_source x hx hs hN j hj H l hz n | |
| 543 | - have hm' := (nativeMap_polar_mem_iff n a i w).mpr hm | |
| 544 | - exact ⟨localPotentialMode_contDiffAt_of_native x l j | |
| 545 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 546 | - (hh.1.contDiffAt (nativeDomain_open.mem_nhds hm')), | |
| 547 | - localPressureMode_contDiffAt_of_native x l j | |
| 548 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 549 | - (hh.2.contDiffAt (nativeDomain_open.mem_nhds hm'))⟩ | |
| 550 | - | |
| 551 | 498 | /-! The literal cycle input discharges the raw endpoint condition. -/ |
| 552 | 499 | |
| 553 | 500 | theorem copyData_particularState (x : CycleState (ActualInitialization.Index B N0)) |
+0 −57 NavierStokes/ActualCurrentWaveSupport.lean View file
| @@ -377,31 +377,6 @@ theorem current_raw_pressure_zero_germs | ||
| 377 | 377 | n hz hr |
| 378 | 378 | exact ⟨hz'.1, hz'.2.2.1⟩ |
| 379 | 379 | |
| 380 | -theorem current_raw_pressure_annulus | |
| 381 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 382 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 383 | - (l : ActualCurrentParticularPhysical.Label B N0) | |
| 384 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 385 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 386 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 387 | - (j : ℤ) (n : ℕ) {z : ActualCurrentParticularPhysical.Native} | |
| 388 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) : | |
| 389 | - ((ActualCurrentParticularPhysical.copyData x l j).common.amplitude n z ≠ 0 → | |
| 390 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 391 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 392 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) ∧ | |
| 393 | - ((ActualCurrentParticularPhysical.copyData x l j).common.pressure n z ≠ 0 → | |
| 394 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 395 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 396 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) := by | |
| 397 | - constructor | |
| 398 | - · intro hne | |
| 399 | - by_contra hr | |
| 400 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).1.eq_of_nhds | |
| 401 | - · intro hne | |
| 402 | - by_contra hr | |
| 403 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).2.eq_of_nhds | |
| 404 | - | |
| 405 | 380 | theorem current_native_zero_germs |
| 406 | 381 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 407 | 382 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -598,26 +573,6 @@ theorem current_annulus | ||
| 598 | 573 | BandAnnulus.finset_sum (fun _ => ParticularWaveAssembly.modes x.coefficients.residualBand) |
| 599 | 574 | (fun j => (current_mode_annulus hN x l (hs l) j N).2)) |
| 600 | 575 | |
| 601 | -theorem current_local_active_zero | |
| 602 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 603 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 604 | - (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 605 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 606 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 607 | - (n : ℕ) {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band ActualPrimary.h n) | |
| 608 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 609 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 610 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 611 | - ActualCurrentParticularPhysical.localPotential x n w = 0 ∧ | |
| 612 | - ActualCurrentParticularPhysical.localPressure x n w = 0 := by | |
| 613 | - have hr : profileRadius ActualPrimary.h w ∉ | |
| 614 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 615 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := | |
| 616 | - fun hp => hX ((profileRadius_mem_iff_active hw.1).mp hp) | |
| 617 | - have hh := current_annulus hN x hs 0 | |
| 618 | - exact ⟨hh.1.zero_of_exterior (Nat.zero_le n) hw hr, | |
| 619 | - hh.2.zero_of_exterior (Nat.zero_le n) hw hr⟩ | |
| 620 | - | |
| 621 | 576 | theorem current_local_axis_germs |
| 622 | 577 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 623 | 578 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -673,18 +628,6 @@ theorem current_field_active_germs {w : SpaceTime} | ||
| 673 | 628 | hh.2.field_zero_germ ActualPrimary.outgoing.data.h_pos |
| 674 | 629 | ActualPrimary.outgoing.data.h_lt_half hP hqbig hw hr⟩ |
| 675 | 630 | |
| 676 | -theorem current_field_active_zero {w : SpaceTime} | |
| 677 | - (hw : w ∈ CutStageEstimates.physicalSublevel ActualPrimary.h qbig) | |
| 678 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 679 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 680 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 681 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 682 | - (ActualCurrentParticularPhysical.localPotential x) w = 0 ∧ | |
| 683 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 684 | - (ActualCurrentParticularPhysical.localPressure x) w = 0 := by | |
| 685 | - have hh := current_field_active_germs hN x hs hA hP hqbig hw hX | |
| 686 | - exact ⟨hh.1.eq_of_nhds, hh.2.eq_of_nhds⟩ | |
| 687 | - | |
| 688 | 631 | theorem current_field_support : |
| 689 | 632 | MixedDiagonalExtensions.SublevelShrinkingSupport ActualPrimary.h |
| 690 | 633 | PhysicalStageSupport.actualOuterConstant qbig |
+0 −95 NavierStokes/ActualCycleAssembly.lean View file
| @@ -533,29 +533,6 @@ theorem refined_signed_inputSupport (l : Index B N0) (s : StripData Point) | ||
| 533 | 533 | · intro n x hx hn |
| 534 | 534 | exact refined_signed_gaussian_zero l s request n hx hn |
| 535 | 535 | |
| 536 | -theorem refined_tangent_inputSupport (l : Index B N0) (s : StripData Point) | |
| 537 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 538 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 539 | - (ActualCoreSupport.refinedCarrier l) | |
| 540 | - ((ActualSignedStageControls.parameters l).tangentBlock s request) 0 0 := by | |
| 541 | - apply block_inputSupport_of_zero | |
| 542 | - · intro n x hx hn | |
| 543 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).1 | |
| 544 | - · intro n x hx hn | |
| 545 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 546 | - | |
| 547 | -theorem refined_curl_inputSupport (l : Index B N0) (s : StripData Point) | |
| 548 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 549 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 550 | - (ActualCoreSupport.refinedCarrier l) | |
| 551 | - ((ActualSignedStageControls.parameters l).curlBlock s request) 0 0 := by | |
| 552 | - apply inputSupport_subBlock _ (refined_tangent_inputSupport l s request) | |
| 553 | - apply block_inputSupport_of_zero | |
| 554 | - · intro n x hx hn | |
| 555 | - exact (refined_signed_common_zero_germs l s request n (x := (x,0)) hx hn).2.1.self_of_nhds | |
| 556 | - · intro n x hx hn | |
| 557 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 558 | - | |
| 559 | 536 | end RefinedSignedSupport |
| 560 | 537 | |
| 561 | 538 | |
| @@ -610,20 +587,6 @@ variable {B N0 : ℕ} (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | ||
| 610 | 587 | theorem parameterDomain_open : IsOpen ActualCarrierTransport.parameterDomain := |
| 611 | 588 | ActualPrimary.standardRegion.isOpen.preimage continuous_snd |
| 612 | 589 | |
| 613 | -include hN in | |
| 614 | -theorem associated_inputSupport | |
| 615 | - {b : HarmonicBlock Point} {G A : HarmonicResidual.BlockCoefficients Point} | |
| 616 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 617 | - (ActualInitialization.labelCarrier l) b G A) : | |
| 618 | - HarmonicSourceSupport.InputSupportOn (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) | |
| 619 | - (ActualCarrierTransport.canonicalSourceRegion l) (StateReindex.block cycleAssoc.symm b) | |
| 620 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) := by | |
| 621 | - apply inputSupport_reindex_on cycleAssoc.symm hs | |
| 622 | - · intro z hz | |
| 623 | - exact hz.1 | |
| 624 | - · intro n z hz hk | |
| 625 | - exact (ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hz.1 z.2).mp hk | |
| 626 | - | |
| 627 | 590 | theorem canonical_copyData_eq_scalar |
| 628 | 591 | (c : Context (CycleSlow × TorusInverse.Plane)) (u : State (CycleSlow × TorusInverse.Plane)) |
| 629 | 592 | (b : HarmonicBlock (CycleSlow × TorusInverse.Plane)) |
| @@ -669,38 +632,6 @@ variable (c : Context Point) (u : State Point) (b : HarmonicBlock Point) | ||
| 669 | 632 | |
| 670 | 633 | include hN hs |
| 671 | 634 | |
| 672 | -theorem canonical_source_zero_germ (j : ℤ) (n : ℕ) | |
| 673 | - {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 674 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 675 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 676 | - ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) | |
| 677 | - (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) | |
| 678 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) | |
| 679 | - j n =ᶠ[𝓝 z] fun _ => 0 := | |
| 680 | - ActualGaussianCoverage.sourceFamily_zero_germ _ _ _ _ _ (parameterDomain_open.prod isOpen_univ) | |
| 681 | - (ActualCarrierTransport.canonicalSourceRegion_closed l) (associated_inputSupport hN l hs) | |
| 682 | - j n ⟨hz, mem_univ _⟩ hn | |
| 683 | - | |
| 684 | -theorem canonical_copy_zero_germs (j : ℤ) | |
| 685 | - (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 686 | - (d : LinearWaveBounds.GraphDirections ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 687 | - (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 688 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 689 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 690 | - let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData | |
| 691 | - (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) | |
| 692 | - (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) | |
| 693 | - (StateReindex.blockCoefficients cycleAssoc.symm A) j | |
| 694 | - ((a.commonCorrected s d).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 695 | - (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 696 | - (a.globalGaussian d n =ᶠ[𝓝 z] fun _ => 0) := by | |
| 697 | - dsimp only | |
| 698 | - rw [canonical_copyData_eq_scalar] | |
| 699 | - exact ScalarParticularSupport.scalarData_zero_germs _ _ _ _ _ _ _ _ _ _ | |
| 700 | - (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain | |
| 701 | - (ActualCarrierTransport.activeSlowCore l) | |
| 702 | - (fun n z hz hn => canonical_source_zero_germ hN l c u b G A hs j n hz hn) s d n hz hn | |
| 703 | - | |
| 704 | 635 | end CanonicalParticular |
| 705 | 636 | |
| 706 | 637 | section FactorizedCarrier |
| @@ -982,17 +913,6 @@ theorem refined_particular_zero_germs (hN : ActualCarrierGeometry.geometricThres | ||
| 982 | 913 | (refined_carrier_factorization hN l) c u b G A hs j s |
| 983 | 914 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions n hz hns⟩ |
| 984 | 915 | |
| 985 | -/-- The literal recomputed signed request is allowed, so this is the | |
| 986 | -fixed cycle's exact block and Gaussian coefficient support. -/ | |
| 987 | -theorem cycle_refined_signed_inputSupport (x : CycleState (Index B N0)) (c : Context Point) | |
| 988 | - (l : Index B N0) : | |
| 989 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 990 | - (ActualCoreSupport.refinedCarrier l) | |
| 991 | - ((ActualCycleParameters.fixedParameters B N0).signedBlock x.coefficients c x.state l) | |
| 992 | - ((ActualCycleParameters.fixedParameters B N0).signedGaussianBlock x.coefficients c x.state l).velocity 0 := | |
| 993 | - refined_signed_inputSupport l ActualInitialization.geometry.strip | |
| 994 | - ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients c x.state) | |
| 995 | - | |
| 996 | 916 | end ConcreteCarriers |
| 997 | 917 | |
| 998 | 918 | section ComputedFamily |
| @@ -1106,10 +1026,6 @@ noncomputable def assemblyOfParticularSupport : | ||
| 1106 | 1026 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 1107 | 1027 | (ActualPrimary.commonContext B) x.state) |
| 1108 | 1028 | |
| 1109 | -theorem assemblyOfParticularSupport_labels : | |
| 1110 | - (assemblyOfParticularSupport x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier hpartSupport).labels = | |
| 1111 | - x.coefficients.labels := rfl | |
| 1112 | - | |
| 1113 | 1029 | /-- The actual geometric constructor. Incoming primitive support is |
| 1114 | 1030 | transported through the particular solve; signed support is proved above. -/ |
| 1115 | 1031 | noncomputable def assembly : |
| @@ -1118,17 +1034,6 @@ noncomputable def assembly : | ||
| 1118 | 1034 | (cycle_particular_inputSupport hN x (ActualPrimary.commonContext B) |
| 1119 | 1035 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l))) |
| 1120 | 1036 | |
| 1121 | -theorem assembly_labels : | |
| 1122 | - (assembly x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier).labels = x.coefficients.labels := rfl | |
| 1123 | - | |
| 1124 | -theorem family_primary : | |
| 1125 | - (family x H hσ hpart htangent hcurl hP0 hP1).primary = ActualInitialization.tangentBlock := rfl | |
| 1126 | - | |
| 1127 | -theorem family_tangent : | |
| 1128 | - (family x H hσ hpart htangent hcurl hP0 hP1).tangent = | |
| 1129 | - (ActualCycleParameters.fixedParameters B N0).signedTangent x.coefficients | |
| 1130 | - (ActualPrimary.commonContext B) x.state := rfl | |
| 1131 | - | |
| 1132 | 1037 | /-- The two additional support predicates consumed by mean composition |
| 1133 | 1038 | come from the same assembly and the same finite labels. -/ |
| 1134 | 1039 | theorem assembly_supports : |
+0 −104 NavierStokes/ActualCycleCoherence.lean View file
| @@ -87,22 +87,6 @@ theorem initial_axis (B N0 : ℕ) : AxisCoherent (ActualInitialization.initialAl | ||
| 87 | 87 | theorem initial (B N0 : ℕ) : Coherent (ActualInitialization.initialCycleState B N0) := |
| 88 | 88 | ⟨initial_state B N0, initial_blocks B N0, initial_axis B N0, rfl⟩ |
| 89 | 89 | |
| 90 | -theorem BlocksCoherent.reindex {ι κ : Type} (e : κ ≃ ι) {v : CycleCoefficients ι} | |
| 91 | - (H : BlocksCoherent v) : BlocksCoherent (ActualCycleParameters.reindexCoefficients e v) := by | |
| 92 | - intro l n m k hi | |
| 93 | - exact H (e l) n m k hi | |
| 94 | - | |
| 95 | -theorem Coherent.particular_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 96 | - StateCoherent (ActualCycleParameters.particularState x).state := H.state | |
| 97 | - | |
| 98 | -theorem Coherent.particular_blocks {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 99 | - BlocksCoherent (ActualCycleParameters.particularState x).coefficients := | |
| 100 | - H.blocks.reindex (ActualCycleParameters.swap B N0).symm | |
| 101 | - | |
| 102 | -theorem StateCoherent.atlas {u : State Point} (H : StateCoherent u) (N : ℕ) : | |
| 103 | - (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier u := | |
| 104 | - fun n _ m _ k hi => H n m k hi | |
| 105 | - | |
| 106 | 90 | theorem Coherent.reference_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) |
| 107 | 91 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) : |
| 108 | 92 | ActualReferenceRebase.StateComparison (ActualCycleParameters.particularState x) |
| @@ -731,54 +715,6 @@ theorem step (hS : ∀ l n, IsClosed (S l n)) | ||
| 731 | 715 | Coherent (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)) := |
| 732 | 716 | step_of_waves H W C (waves H W C hcover hS hcore) |
| 733 | 717 | |
| 734 | -include H W in | |
| 735 | -theorem next_primitive : | |
| 736 | - MeanStateRegularity.PrimitiveData standardRegion geometry.inner geometry.outer | |
| 737 | - (commonContext B) (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)).state := | |
| 738 | - ((ActualCycleParameters.fixedParameters B N0).next_primitive x.coefficients (commonContext B) | |
| 739 | - x.state standardRegion (realizes B N0).inner_pos (realizes B N0).exponent_pos | |
| 740 | - (realizes B N0).length H.primitives (covariance_moving H W).1 (covariance_moving H W).2 | |
| 741 | - (rank_geometry H)).1 | |
| 742 | - | |
| 743 | -include H W C in | |
| 744 | -theorem temporal_potential_overlap (N : ℕ) | |
| 745 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 746 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 747 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 748 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 749 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 750 | - (VariableGaugeMean.temporalPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 751 | - (ActualCycleParameters.fixedParameters B N0).timeExponent | |
| 752 | - (ActualCycleParameters.fixedParameters B N0).commonIndex (commonContext B) | |
| 753 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state)) := by | |
| 754 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 755 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state) := | |
| 756 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).signed | |
| 757 | - exact (ActualMeanPhysicalData.initialAtlas N).temporal_overlap standardRegion | |
| 758 | - (ActualCycleParameters.fixedParameters B N0).gauge (commonContext B) _ | |
| 759 | - (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 760 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (stage_primitives H W).signed | |
| 761 | - (realizes B N0).inner_pos (realizes B N0).exponent_pos (realizes B N0).length rfl | |
| 762 | - | |
| 763 | -include H W C in | |
| 764 | -theorem rank_potential_overlap (N : ℕ) | |
| 765 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 766 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 767 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 768 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 769 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 770 | - (VariableGaugeMean.rankPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 771 | - (ActualCycleParameters.fixedParameters B N0).rank (commonContext B) | |
| 772 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state)) := by | |
| 773 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 774 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state) := | |
| 775 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).temporal | |
| 776 | - exact (ActualMeanPhysicalData.initialAtlas N).rank_overlap standardRegion | |
| 777 | - (ActualCycleParameters.fixedParameters B N0).gauge (ActualCycleParameters.fixedParameters B N0).rank | |
| 778 | - (commonContext B) _ (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 779 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (ActualMeanPhysicalData.initial_rank_overlap N) | |
| 780 | - (stage_primitives H W).temporal (stage_primitives H W).rankGeometry | |
| 781 | - | |
| 782 | 718 | end Step |
| 783 | 719 | |
| 784 | 720 | /-! ## The fixed actual recurrence and the mean atlas input -/ |
| @@ -787,19 +723,10 @@ noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 787 | 723 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 788 | 724 | (commonContext B) (ActualInitialization.initialCycleState B N0) |
| 789 | 725 | |
| 790 | -theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl | |
| 791 | - | |
| 792 | -theorem state_succ (B N0 j : ℕ) : state B N0 (j + 1) = | |
| 793 | - (state B N0 j).step (ActualCycleParameters.fixedParameters B N0) (commonContext B) := rfl | |
| 794 | - | |
| 795 | 726 | theorem state_labels (B N0 j : ℕ) : |
| 796 | 727 | (state B N0 j).coefficients.labels = activeLabels standardRegion B N0 := |
| 797 | 728 | CycleStateCoherence.iterate_labels _ _ _ j |
| 798 | 729 | |
| 799 | -theorem state_aliasCoefficients (B N0 j : ℕ) : | |
| 800 | - (state B N0 j).coefficients.aliasCoefficients = 0 := | |
| 801 | - CycleStateCoherence.iterate_aliasCoefficients _ _ _ j | |
| 802 | - | |
| 803 | 730 | /-- Collection of the already proved actual transport laws into precisely |
| 804 | 731 | the input used by the physical mean atlas. Its covariance fields are |
| 805 | 732 | derived from the same stage data as the analytic induction. -/ |
| @@ -832,37 +759,6 @@ variable (B N0 : ℕ) (sigma : ℕ → ℝ) (S : Index B N0 → ℕ → Set Poin | ||
| 832 | 759 | (hcover : ∀ l n z, z ∈ ActualInitialization.geometry.domain → z ∈ S l n → |
| 833 | 760 | l ∈ activeLabels standardRegion B N0 n) |
| 834 | 761 | |
| 835 | -include H W hS hcore hcover in | |
| 836 | -/-- The geometric induction uses the same fixed recurrence and supplied | |
| 837 | -analytic stage data; no sequence of coherent states is assumed. -/ | |
| 838 | -theorem iterate_coherent (j : ℕ) : Coherent (state B N0 j) := by | |
| 839 | - induction j with | |
| 840 | - | zero => exact initial B N0 | |
| 841 | - | succ j ih => | |
| 842 | - exact step (H j) (W j) ih | |
| 843 | - (fun l n z hz hs => by | |
| 844 | - change l ∈ (state B N0 j).coefficients.labels n | |
| 845 | - rw [state_labels] | |
| 846 | - exact hcover l n z hz hs) hS hcore | |
| 847 | - | |
| 848 | -include H W hS hcore hcover in | |
| 849 | -theorem iterate_waves (j n m k : ℕ) | |
| 850 | - (hi : CommonWindow.index h n + k = CommonWindow.index h m) : | |
| 851 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 852 | - (state B N0 j).coefficients (commonContext B) (state B N0 j).state (overlap n m) n m k := | |
| 853 | - waves (H j) (W j) (iterate_coherent B N0 sigma S H W hS hcore hcover j) | |
| 854 | - (fun l n z hz hs => by | |
| 855 | - rw [state_labels] | |
| 856 | - exact hcover l n z hz hs) hS hcore n m k hi | |
| 857 | - | |
| 858 | -include H W hS hcore hcover in | |
| 859 | -/-- The actual mean-atlas input is derived from the same analytic | |
| 860 | -recurrence; its wave and covariance transports are conclusions. -/ | |
| 861 | -theorem mean_input (N : ℕ) : | |
| 862 | - ActualMeanPhysicalData.InitialCycleInput B N0 N (fun _ => ActualCycleParameters.fixedParameters B N0) := | |
| 863 | - mean_input_of_transport B N0 N sigma S H W | |
| 864 | - (iterate_waves B N0 sigma S H W hS hcore hcover) | |
| 865 | - | |
| 866 | 762 | end Iteration |
| 867 | 763 | |
| 868 | 764 | end NavierStokes.ActualCycleCoherence |