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-euler-euler-2
Browse files+0 −5 Euler/AllOrderDriftCorrection.lean View file
| @@ -164,9 +164,4 @@ theorem Budget.commonPath_odd (B : Budget period hT A) (P : ParityData period A) | ||
| 164 | 164 | -reflection period (B.commonPath period t) = B.commonPath period t := |
| 165 | 165 | (B.family period).commonPath_odd period (B.comparisonData period) P t |
| 166 | 166 | |
| 167 | -/-- The actual pointwise time derivative, obtained from the constructed Sobolev source. -/ | |
| 168 | -def Budget.pointTimeDerivative (B : Budget period hT A) | |
| 169 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 170 | - (B.family period).pointTimeDerivative period t x | |
| 171 | - | |
| 172 | 167 | end EulerAllOrderDriftCorrection |
+0 −10 Euler/AllOrderDriftPointwiseBounds.lean View file
| @@ -16,14 +16,4 @@ open Set Finset EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrder | ||
| 16 | 16 | variable (P : ℝ) [Fact (0 < P)] |
| 17 | 17 | {T : ℝ} {hT : 0 < T} {A : Data P T} (B : Budget P hT A) |
| 18 | 18 | |
| 19 | -/-- The canonical representative of the actual derivative tower is the | |
| 20 | -same time derivative already selected by the finite PDE construction. -/ | |
| 21 | -theorem Budget.timeDerivativeTower_pointField (t : Icc (0 : ℝ) T) : | |
| 22 | - (B.timeDerivativeTower P).pointField t = B.pointTimeDerivative P t := by | |
| 23 | - funext x | |
| 24 | - rw [(B.timeDerivativeTower P).pointField_eq_high 6 (by omega) t x, | |
| 25 | - ← B.source_eq_timeDerivativeTower P 6 le_rfl t, | |
| 26 | - ← B.solution_eq_realization P 6 le_rfl] | |
| 27 | - rfl | |
| 28 | - | |
| 29 | 19 | end EulerAllOrderDriftCorrection |
+0 −16 Euler/AllOrderDriftPressure.lean View file
| @@ -56,21 +56,11 @@ theorem Budget.pointPressure_smooth (B : Budget period hT A) | ||
| 56 | 56 | ContDiff ℝ ∞ (localFieldLift period (B.pointPressure period t) x) := |
| 57 | 57 | (B.family period).pointPressure_smooth period (B.comparisonData period) t x |
| 58 | 58 | |
| 59 | -/-- The actual graph pressure-gradient vector field of the constructed correction. -/ | |
| 60 | -def Budget.graphPressure (B : Budget period hT A) (k : ℝ) | |
| 61 | - (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := | |
| 62 | - A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) | |
| 63 | - | |
| 64 | 59 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 65 | 60 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 66 | 61 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 67 | 62 | (B.family period).normalizedGraphPotential period k t x |
| 68 | 63 | |
| 69 | -/-- Fixing the gauge by the same radial formula at every time preserves joint continuity. -/ | |
| 70 | -theorem Budget.normalizedGraphPotential_joint_continuous (B : Budget period hT A) (k : ℝ) : | |
| 71 | - Continuous (B.normalizedGraphPotential period k).uncurry := | |
| 72 | - (B.family period).normalizedGraphPotential_joint_continuous period k | |
| 73 | - | |
| 74 | 64 | /-- The actual normalized scalar pressure is spatially smooth on each time slice. -/ |
| 75 | 65 | theorem Budget.normalizedGraphPotential_smooth (B : Budget period hT A) |
| 76 | 66 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| @@ -84,10 +74,4 @@ theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) | ||
| 84 | 74 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 85 | 75 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 86 | 76 | |
| 87 | -/-- Oddness holds pointwise for the canonical pressure representative. -/ | |
| 88 | -theorem Budget.pointPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 89 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 90 | - B.pointPressure period t (-x) = -B.pointPressure period t x := | |
| 91 | - (B.family period).pointPressure_odd period (B.comparisonData period) P t x | |
| 92 | - | |
| 93 | 77 | end EulerAllOrderDriftCorrection |
+0 −9 Euler/BaseWordMetric.lean View file
| @@ -50,13 +50,4 @@ theorem sobolevNorm_le_baseWordMetric {s : ℕ} {f : LiftL2 period} | ||
| 50 | 50 | have hh := mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg (Fintype.card (BaseWord s) : ℝ)) |
| 51 | 51 | exact hsum.trans (hh.trans_eq (by ring)) |
| 52 | 52 | |
| 53 | -/-- The metric root is controlled by the actual base Sobolev sum with no extra word-count factor. -/ | |
| 54 | -theorem baseWordMetric_le_sobolevNorm {s : ℕ} {f : LiftL2 period} | |
| 55 | - (K : LiftL2 period →L[ℝ] LiftL2 period) (J : SpatialJet period standardDirection s f) : | |
| 56 | - baseWordMetricNorm period K J ≤ Real.sqrt ‖K‖ * J.sobolevNorm := by | |
| 57 | - have h := familyMetricNorm_upper K (baseWordValues period J) | |
| 58 | - have hn := familyNorm_le_sum_norm (baseWordValues period J) | |
| 59 | - rw [sum_baseWordValues_norm period J] at hn | |
| 60 | - exact h.trans (mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg _)) | |
| 61 | - | |
| 62 | 53 | end EulerBaseWordMetric |
+0 −5 Euler/BoundedFlowContinuity.lean View file
| @@ -90,9 +90,4 @@ theorem backward_joint_continuous : Continuous (Function.uncurry V.backward) := | ||
| 90 | 90 | V.flow_joint_continuous.comp |
| 91 | 91 | (continuous_fst.prodMk (continuous_const.prodMk continuous_snd)) |
| 92 | 92 | |
| 93 | -theorem forward_displacement (t : ℝ) (x : E) : | |
| 94 | - dist (V.forward t x) x ≤ V.speedBound*|t| := by | |
| 95 | - simpa only [forward, V.flow_initial, Real.dist_eq, sub_zero] using | |
| 96 | - (V.flow_lipschitz_time 0 x).dist_le_mul t 0 | |
| 97 | - | |
| 98 | 93 | end EulerBoundedLipschitzFlow.Data |
+0 −8 Euler/ChildParticleFieldBounds.lean View file
| @@ -247,13 +247,5 @@ theorem childAcceleration_apply (x : Space) : | ||
| 247 | 247 | fderiv ℝ (fderiv ℝ G.parentDisplacement.field) (G.inner x) (G.velocity.field x) (G.velocity.field x)+ |
| 248 | 248 | G.acceleration.field x+fderiv ℝ G.parentDisplacement.field (G.inner x) (G.acceleration.field x) := rfl |
| 249 | 249 | |
| 250 | -theorem child_label_bounds (K : ℝ) | |
| 251 | - (ha : EulerParameterWordGevrey.sobolevCoefficientAmplitude (Fin 3) 6 G.radius G.amplitude ≤ K) | |
| 252 | - (hr : EulerParameterWordGevrey.sobolevCoefficientRadius (Fin 3) G.radius ≤ K) : | |
| 253 | - HasLabelBound K G.childDisplacement ∧ HasLabelBound K G.childVelocity ∧ HasLabelBound K G.childAcceleration := | |
| 254 | - ⟨hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childDisplacement_bound ha hr, | |
| 255 | - hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childVelocity_bound ha hr, | |
| 256 | - hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childAcceleration_bound ha hr⟩ | |
| 257 | - | |
| 258 | 250 | end Data |
| 259 | 251 | end EulerChildParticleFieldBounds |
+0 −55 Euler/CommonPressureRepresentative.lean View file
| @@ -15,39 +15,6 @@ open scoped ContDiff | ||
| 15 | 15 | |
| 16 | 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | 17 | |
| 18 | -/-- The canonical pointwise pressure, obtained by bounded evaluation of its actual continuous H3 realization. -/ | |
| 19 | -def pointPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 20 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 21 | - pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) | |
| 22 | - (signedPressurePath period hT A B 6 le_rfl t)) | |
| 23 | - | |
| 24 | -/-- The canonical pointwise pressure represents the constructed common L² pressure. -/ | |
| 25 | -theorem pointPressure_ae {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 26 | - (t : Icc (0 : ℝ) T) : | |
| 27 | - (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] | |
| 28 | - pointPressure period hT A B t := | |
| 29 | - representative_ae period (restrictOperator period (by omega : 3 ≤ 6) | |
| 30 | - (signedPressurePath period hT A B 6 le_rfl t)) | |
| 31 | - | |
| 32 | -/-- The canonical pressure is jointly continuous in time and the actual cylinder point. -/ | |
| 33 | -theorem pointPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 34 | - (B : Budget period hT A) : | |
| 35 | - Continuous (fun p : Icc (0 : ℝ) T × LiftDomain period => pointPressure period hT A B p.1 p.2) := | |
| 36 | - path_representative_joint_continuous period | |
| 37 | - ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 38 | - (signedPressurePath period hT A B 6 le_rfl)) | |
| 39 | - | |
| 40 | -/-- These same canonical representatives are smooth in every spatial coordinate. -/ | |
| 41 | -theorem pointPressure_smooth {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 42 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 43 | - ContDiff ℝ ∞ (localFieldLift period (pointPressure period hT A B t) x) := by | |
| 44 | - obtain ⟨g, hg, ha⟩ := exists_smooth_representative period (commonPressure period hT A B t) | |
| 45 | - (fun n => pressureJet period hT A B n t) | |
| 46 | - have he : pointPressure period hT A B t = g := | |
| 47 | - representative_eq period _ g (smoothField_continuous period g hg) ha | |
| 48 | - rw [he] | |
| 49 | - exact hg x | |
| 50 | - | |
| 51 | 18 | omit [Fact (0 < period)] in |
| 52 | 19 | /-- The physical phase graph is a continuous map into the periodic cylinder. -/ |
| 53 | 20 | theorem cylinderGraph_continuous (k : ℝ) (m : Vector3) : |
| @@ -56,26 +23,4 @@ theorem cylinderGraph_continuous (k : ℝ) (m : Vector3) : | ||
| 56 | 23 | exact continuous_id.prodMk ((AddCircle.continuous_mk' period).comp |
| 57 | 24 | (continuous_const.mul (continuous_const.inner continuous_id))) |
| 58 | 25 | |
| 59 | -/-- The genuine signed graph pressure-gradient vector field. -/ | |
| 60 | -def graphPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 61 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := | |
| 62 | - A.κ • pointPressure period hT A B t (cylinderGraph period k A.direction x) | |
| 63 | - | |
| 64 | -/-- The actual graph pressure-gradient field is jointly continuous in time and space. -/ | |
| 65 | -theorem graphPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 66 | - (B : Budget period hT A) (k : ℝ) : | |
| 67 | - Continuous (graphPressure period hT A B k).uncurry := | |
| 68 | - ((pointPressure_joint_continuous period hT A B).comp | |
| 69 | - (continuous_fst.prodMk ((cylinderGraph_continuous period k A.direction).comp continuous_snd))).const_smul A.κ | |
| 70 | - | |
| 71 | -/-- Each actual canonical graph field has a genuine smooth potential by the proved lifted gradient-space reconstruction. -/ | |
| 72 | -theorem graphPressure_has_potential {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 73 | - (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : | |
| 74 | - ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ | |
| 75 | - ∀ x, gradient q x = graphPressure period hT A B k t x := | |
| 76 | - gradientSpace_has_graph_potential period A.κ k hk A.direction | |
| 77 | - (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) | |
| 78 | - (pointPressure period hT A B t) (pointPressure_ae period hT A B t) | |
| 79 | - (pointPressure_smooth period hT A B t) | |
| 80 | - | |
| 81 | 26 | end EulerCommonPressureRepresentative |
+0 −20 Euler/ConstantEulerGraph.lean View file
| @@ -42,15 +42,6 @@ theorem velocity_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : | ||
| 42 | 42 | inclusion.hasFDerivAt |
| 43 | 43 | exact hu.comp (t,x) hi |
| 44 | 44 | |
| 45 | -theorem velocity_joint_continuous : Continuous (velocity S) := by | |
| 46 | - have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc | |
| 47 | - change Continuous (fun q : ℝ × Space => S.velocity.pointField | |
| 48 | - (projIcc 0 T hT.le q.1) (coveringMap P (q.2,0))) | |
| 49 | - exact S.velocity.pointField_joint_continuous.comp | |
| 50 | - ((hc.comp continuous_fst).prodMk | |
| 51 | - ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp | |
| 52 | - (continuous_snd.prodMk continuous_const))) | |
| 53 | - | |
| 54 | 45 | theorem force_joint_continuous : Continuous (force S) := by |
| 55 | 46 | have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc |
| 56 | 47 | change Continuous (fun q : ℝ × Space => S.pressure.pointField |
| @@ -60,14 +51,6 @@ theorem force_joint_continuous : Continuous (force S) := by | ||
| 60 | 51 | ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp |
| 61 | 52 | (continuous_snd.prodMk continuous_const))) |
| 62 | 53 | |
| 63 | -theorem pressure_joint_continuous : Continuous (pressure S) := by | |
| 64 | - have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc | |
| 65 | - change Continuous (fun q : ℝ × Space => S.graphPotential 1 (projIcc 0 T hT.le q.1) q.2) | |
| 66 | - have hi : Continuous (fun q : ℝ × Space => (projIcc 0 T hT.le q.1,q.2)) := | |
| 67 | - (hc.comp continuous_fst).prodMk continuous_snd | |
| 68 | - have hh := (S.graphPotential_joint_continuous 1).comp hi | |
| 69 | - exact hh | |
| 70 | - | |
| 71 | 54 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => pressure S (t,x)) := |
| 72 | 55 | S.rawGraphPotential_smooth 1 (by norm_num [data]) t |
| 73 | 56 | |
| @@ -76,9 +59,6 @@ theorem pressure_gradient (t : ℝ) (x : Space) : | ||
| 76 | 59 | have h := S.rawGraphPotential_gradient 1 (by norm_num [data]) t x |
| 77 | 60 | simpa only [data,pressure,force,one_smul,inner_zero_left,mul_zero] using h |
| 78 | 61 | |
| 79 | -theorem pressure_zero (t : ℝ) : pressure S (t,0)=0 := | |
| 80 | - S.graphPotential_zero 1 (projIcc 0 T hT.le t) | |
| 81 | - | |
| 82 | 62 | theorem velocity_divergence (t : ℝ) (x : Space) : |
| 83 | 63 | divergence (fun y => velocity S (t,y)) x=0 := by |
| 84 | 64 | rw [divergence_eq_coordinate_sum] |
+0 −32 Euler/ContinuousAccelerationForcing.lean View file
| @@ -33,36 +33,4 @@ theorem forcing_contDiff (Q Q₁ : P → C(K,U →L[ℝ] E)) (f : P → C(K,E)) | ||
| 33 | 33 | contDiff_apply (fun x => adjointMap (Q x)) _ (contDiff_adjoint Q hQ) |
| 34 | 34 | (hf.sub ((contDiff_apply Q₁ v hQ₁ hv).const_smul (2 : ℝ))) |
| 35 | 35 | |
| 36 | -/-- One fixed amplitude controls the genuine derivatives at every order. -/ | |
| 37 | -theorem forcing_bound (Q Q₁ : P → C(K,U →L[ℝ] E)) (f : P → C(K,E)) (v : P → C(K,U)) | |
| 38 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 39 | - (hf : ContDiff ℝ ∞ f) (hv : ContDiff ℝ ∞ v) | |
| 40 | - (R C₀ C₁ F V : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 41 | - (hF : 0 ≤ F) (hV : 0 ≤ V) (d : ℕ) | |
| 42 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant R 0 n) | |
| 43 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant R 0 n) | |
| 44 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ F*majorant R d n) | |
| 45 | - (hbv : ∀ n x, ‖iteratedFDeriv ℝ n v x‖ ≤ V*majorant R d n) | |
| 46 | - (n : ℕ) (x : P) : | |
| 47 | - ‖iteratedFDeriv ℝ n (forcing Q Q₁ f v) x‖ ≤ (3*C₀*(F+6*C₁*V))*majorant R d n := by | |
| 48 | - let w := fun y => multiplier (Q₁ y) (v y) | |
| 49 | - have hw : ContDiff ℝ ∞ w := contDiff_apply Q₁ v hQ₁ hv | |
| 50 | - have hbw (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j w y‖ ≤ (3*C₁*V)*majorant R d j := by | |
| 51 | - simpa only [Nat.zero_add] using apply_bound Q₁ v hQ₁ hv R C₁ V hR hC₁ hV 0 d hbQ₁ hbv j y | |
| 52 | - have hb2w (j : ℕ) (y : P) : | |
| 53 | - ‖iteratedFDeriv ℝ j (fun z => (2 : ℝ) • w z) y‖ ≤ (6*C₁*V)*majorant R d j := by | |
| 54 | - rw [iteratedFDeriv_const_smul_apply' (hw.contDiffAt.of_le (by simp)), norm_smul] | |
| 55 | - norm_num only [Real.norm_ofNat] | |
| 56 | - nlinarith [hbw j y] | |
| 57 | - let r := fun y => f y - (2 : ℝ) • w y | |
| 58 | - have hr : ContDiff ℝ ∞ r := hf.sub (hw.const_smul (2 : ℝ)) | |
| 59 | - have hbr := sub_bound f (fun y => (2 : ℝ) • w y) hf (hw.const_smul (2 : ℝ)) | |
| 60 | - R F (6*C₁*V) d hbf hb2w | |
| 61 | - have h := apply_bound (fun y => adjointMap (Q y)) r (contDiff_adjoint Q hQ) hr | |
| 62 | - R C₀ (F+6*C₁*V) hR hC₀ (by positivity) 0 d | |
| 63 | - (EulerContinuousPathComposition.adjoint_bound Q hQ R C₀ hR hC₀ 0 hbQ) hbr n x | |
| 64 | - simp only [Nat.zero_add] at h | |
| 65 | - convert h using 1 | |
| 66 | - rfl | |
| 67 | - | |
| 68 | 36 | end EulerContinuousAccelerationForcing |
+0 −31 Euler/ContinuousAccelerationGevrey.lean View file
| @@ -47,35 +47,4 @@ theorem acceleration_contDiff {n : ℕ∞ω} | ||
| 47 | 47 | (solve_contDiff T c hc Q hLower (forcing Q Q₁ f v) hQ |
| 48 | 48 | (forcing_contDiff Q Q₁ f v hQ hQ₁ hf hv)) |
| 49 | 49 | |
| 50 | -/-- The actual continuous acceleration has one factorial shift relative to | |
| 51 | -its velocity and forcing data, with a polynomial radius condition. -/ | |
| 52 | -theorem acceleration_gevrey | |
| 53 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 54 | - (hv : ContDiff ℝ ∞ v) (hf : ContDiff ℝ ∞ f) | |
| 55 | - (Rc R C₀ C₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 56 | - (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 57 | - (hstrong : 2*gramCost c C₀ (3*C₀*(Cf+6*C₁*Cv))*(Rc+1) ≤ R) | |
| 58 | - (hQb : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant Rc 0 n) | |
| 59 | - (hQ₁b : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant Rc 0 n) | |
| 60 | - (d : ℕ) | |
| 61 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ Cf*majorant R d n) | |
| 62 | - (hvb : ∀ n x, ‖iteratedFDeriv ℝ n v x‖ ≤ Cv*majorant R d n) | |
| 63 | - (n : ℕ) (x : P) : | |
| 64 | - ‖iteratedFDeriv ℝ n | |
| 65 | - (fun y => accelerationPath T (Q y) (Q₁ y) c hc (hLower y) (v y) (f y)) x‖ ≤ | |
| 66 | - majorant R (d+1) n := by | |
| 67 | - have hbQR (k y) : ‖iteratedFDeriv ℝ k Q y‖ ≤ C₀*majorant R 0 k := | |
| 68 | - (hQb k y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hC₀) | |
| 69 | - have hbQ₁R (k y) : ‖iteratedFDeriv ℝ k Q₁ y‖ ≤ C₁*majorant R 0 k := | |
| 70 | - (hQ₁b k y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hC₁) | |
| 71 | - let g := forcing Q Q₁ f v | |
| 72 | - have hg : ContDiff ℝ ∞ g := forcing_contDiff Q Q₁ f v hQ hQ₁ hf hv | |
| 73 | - have hgb : ∀ k y, ‖iteratedFDeriv ℝ k g y‖ ≤ (3*C₀*(Cf+6*C₁*Cv))*majorant R d k := | |
| 74 | - forcing_bound Q Q₁ f v hQ hQ₁ hf hv R C₀ C₁ Cf Cv hR hC₀ hC₁ hCf hCv d | |
| 75 | - hbQR hbQ₁R hfb hvb | |
| 76 | - have hs := EulerContinuousGramGevrey.solution_gevrey T Q c hc hLower hQ | |
| 77 | - Rc C₀ hRc hC₀ hQb g hg (3*C₀*(Cf+6*C₁*Cv)) R (by positivity) hstrong d hgb n x | |
| 78 | - exact (congrArg (fun g : P → C(Icc (0 : ℝ) T,U) => ‖iteratedFDeriv ℝ n g x‖) | |
| 79 | - (acceleration_eq_solve T Q Q₁ c hc hLower v f)).trans_le hs | |
| 80 | - | |
| 81 | 50 | end EulerContinuousAccelerationGevrey |
+0 −32 Euler/ContinuousGramAcceleration.lean View file
| @@ -44,38 +44,6 @@ theorem accelerationPath_equation (v : C(Icc (0 : ℝ) T, U)) | ||
| 44 | 44 | (Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t)) := |
| 45 | 45 | gram_inverse_apply (Q t) c hc (hQ t) _ |
| 46 | 46 | |
| 47 | -/-- The continuous acceleration has the same explicit coefficient bound as the L² inverse. -/ | |
| 48 | -theorem accelerationPath_norm (v : C(Icc (0 : ℝ) T, U)) | |
| 49 | - (f : C(Icc (0 : ℝ) T, E)) : | |
| 50 | - ‖accelerationPath T Q Q₁ c hc hQ v f‖ ≤ | |
| 51 | - c⁻¹*‖Q‖*(‖f‖+2*‖Q₁‖*‖v‖) := by | |
| 52 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 53 | - intro t | |
| 54 | - have hQv : ‖Q₁ t (v t)‖ ≤ ‖Q₁‖*‖v‖ := | |
| 55 | - ((Q₁ t).le_opNorm _).trans | |
| 56 | - (mul_le_mul (Q₁.norm_coe_le_norm t) (v.norm_coe_le_norm t) (norm_nonneg (v t)) (norm_nonneg Q₁)) | |
| 57 | - have hr : ‖f t-(2 : ℝ) • Q₁ t (v t)‖ ≤ ‖f‖+2*‖Q₁‖*‖v‖ := by | |
| 58 | - calc | |
| 59 | - _ ≤ ‖f t‖+‖(2 : ℝ) • Q₁ t (v t)‖ := norm_sub_le _ _ | |
| 60 | - _ = ‖f t‖+2*‖Q₁ t (v t)‖ := by norm_num only [norm_smul, Real.norm_ofNat] | |
| 61 | - _ ≤ ‖f‖+2*(‖Q₁‖*‖v‖) := | |
| 62 | - add_le_add (f.norm_coe_le_norm t) (mul_le_mul_of_nonneg_left hQv (by norm_num)) | |
| 63 | - _ = _ := by ring | |
| 64 | - have hAdj : ‖(Q t).adjoint‖ ≤ ‖Q‖ := by | |
| 65 | - simpa only [LinearIsometryEquiv.norm_map] using Q.norm_coe_le_norm t | |
| 66 | - calc | |
| 67 | - _ ≤ ‖gramInverse (Q t) c hc (hQ t)‖ * | |
| 68 | - ‖(Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t))‖ := | |
| 69 | - (gramInverse (Q t) c hc (hQ t)).le_opNorm _ | |
| 70 | - _ ≤ c⁻¹*(‖Q‖*‖f t-(2 : ℝ) • Q₁ t (v t)‖) := | |
| 71 | - mul_le_mul (gramInverse_norm (Q t) c hc (hQ t)) | |
| 72 | - (((Q t).adjoint.le_opNorm _).trans | |
| 73 | - (mul_le_mul_of_nonneg_right hAdj (norm_nonneg _))) | |
| 74 | - (norm_nonneg _) (inv_nonneg.mpr hc.le) | |
| 75 | - _ ≤ c⁻¹*(‖Q‖*(‖f‖+2*‖Q₁‖*‖v‖)) := | |
| 76 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hr (norm_nonneg Q)) (inv_nonneg.mpr hc.le) | |
| 77 | - _ = _ := by ring | |
| 78 | - | |
| 79 | 47 | /-- Every genuine L² strong acceleration with the given continuous data is |
| 80 | 48 | almost everywhere this constructed continuous path. -/ |
| 81 | 49 | theorem accelerationPath_ae (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
+0 −25 Euler/ContinuousGramGevrey.lean View file
| @@ -120,29 +120,4 @@ theorem inversePath_gevrey (R : ℝ) (hR : 2*gramCost c C 1*(Rc+1) ≤ R) (n : | ||
| 120 | 120 | (by positivity) zero_le_one hM hMC hMD hRc hR hI hApos 0 |
| 121 | 121 | (const_bound onePath R 1 hR0 hone) n x |
| 122 | 122 | |
| 123 | -/-- The actual continuous solution has the same one-shift inverse estimate. -/ | |
| 124 | -theorem solution_gevrey (f : P → C(Icc (0 : ℝ) T,U)) (hf : ContDiff ℝ ∞ f) | |
| 125 | - (D R : ℝ) (hD : 0 ≤ D) (hR : 2*gramCost c C D*(Rc+1) ≤ R) | |
| 126 | - (d : ℕ) (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 127 | - (n : ℕ) (x : P) : | |
| 128 | - ‖iteratedFDeriv ℝ n (fun y => solve T (Q y) c hc (hLower y) (f y)) x‖ ≤ | |
| 129 | - majorant R (d+1) n := by | |
| 130 | - let A := fun y => multiplier (gramPath T (Q y)) | |
| 131 | - let V := fun y => solve T (Q y) c hc (hLower y) (f y) | |
| 132 | - let I := fun y => solve T (Q y) c hc (hLower y) | |
| 133 | - have hB := gramPath_contDiff T Q hQ | |
| 134 | - have hA : ContDiff ℝ ∞ A := contDiff_multiplier (fun y => gramPath T (Q y)) hB | |
| 135 | - have hV : ContDiff ℝ ∞ V := solve_contDiff T c hc Q hLower f hQ hf | |
| 136 | - have hAall := multiplier_bound (fun y => gramPath T (Q y)) hB Rc (3*C^2) hRc | |
| 137 | - (by positivity) 0 (gramPath_bound T Q hQ Rc C hRc hC hbQ) | |
| 138 | - have hApos (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ (j+1) A y‖ ≤ | |
| 139 | - (3*C^2)*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 140 | - simpa only [majorant, Nat.add_zero] using hAall (j+1) y | |
| 141 | - obtain ⟨hM, hMC, hMD⟩ := cost_bounds c C D hc hD | |
| 142 | - exact EulerBoundedInverseGevrey.solution_gevrey A V f hA hV hf | |
| 143 | - (fun y => solve_equation T (Q y) c hc (hLower y) (f y)) I | |
| 144 | - (fun y => solve_left_inverse T (Q y) c hc (hLower y)) | |
| 145 | - c⁻¹ (3*C^2) D (gramCost c C D) Rc R (by positivity) hD hM hMC hMD hRc hR | |
| 146 | - (fun y => solve_norm T (Q y) c hc (hLower y)) hApos d hbf n x | |
| 147 | - | |
| 148 | 123 | end EulerContinuousGramGevrey |
+0 −17 Euler/CorrectionAssemblyCommon.lean View file
| @@ -47,14 +47,6 @@ def FiniteFamily.commonJet (F : FiniteFamily period hT A) (C : ComparisonData pe | ||
| 47 | 47 | exact EulerH6Pressure.SpatialJet.restrict |
| 48 | 48 | (toJet period (F.solution (n+6) (by omega) t)) n (by omega) |
| 49 | 49 | |
| 50 | -/-- The common L² path satisfies the actual nonlinear inviscid equation. -/ | |
| 51 | -theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 54 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 55 | - ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := | |
| 56 | - F.equation 6 le_rfl t ht | |
| 57 | - | |
| 58 | 50 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 59 | 51 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 60 | 52 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| @@ -83,13 +75,4 @@ theorem FiniteFamily.pointField_smooth (F : FiniteFamily period hT A) (C : Compa | ||
| 83 | 75 | rw [he] |
| 84 | 76 | exact hg x |
| 85 | 77 | |
| 86 | -/-- The canonical smooth field has pointwise zero lifted divergence. -/ | |
| 87 | -theorem FiniteFamily.pointField_divergence (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 88 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 89 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) | |
| 90 | - (F.pointField period t) x) i) = 0 := | |
| 91 | - divergenceFree_classical_divergence_zero period A.κ A.direction (F.commonPath period t) | |
| 92 | - (F.commonPath_divergence period t) (F.pointField period t) (F.pointField_ae period t) | |
| 93 | - (F.pointField_smooth period C t) x | |
| 94 | - | |
| 95 | 78 | end EulerCorrectionAssembly |
+0 −19 Euler/CorrectionAssemblyParity.lean View file
| @@ -80,17 +80,6 @@ theorem continuous_representative_odd (u : LiftL2 period) (g : LiftDomain period | ||
| 80 | 80 | rfl |
| 81 | 81 | exact congrFun (MeasureTheory.Measure.eq_of_ae_eq ha (hg.comp continuous_neg) hg.neg) |
| 82 | 82 | |
| 83 | -/-- The canonical smooth correction is odd at every spatial and angular point. -/ | |
| 84 | -theorem FiniteFamily.pointField_odd (F : FiniteFamily period hT A) | |
| 85 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 86 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 87 | - F.pointField period t (-x) = -F.pointField period t x := by | |
| 88 | - have hc : Continuous (F.pointField period t) := | |
| 89 | - EulerMetricTransport.smoothField_continuous period (F.pointField period t) | |
| 90 | - (F.pointField_smooth period C t) | |
| 91 | - exact continuous_representative_odd period (F.commonPath period t) (F.pointField period t) | |
| 92 | - (F.commonPath_odd period C P t) hc (F.pointField_ae period t) x | |
| 93 | - | |
| 94 | 83 | /-- The actual signed coercive pressure is odd at every finite Sobolev order. -/ |
| 95 | 84 | theorem FiniteFamily.signedPressurePath_odd (F : FiniteFamily period hT A) |
| 96 | 85 | (C : ComparisonData period hT A) (P : ParityData period A) |
| @@ -111,12 +100,4 @@ theorem FiniteFamily.commonPressure_odd (F : FiniteFamily period hT A) | ||
| 111 | 100 | rw [value_oddReflection] at h |
| 112 | 101 | exact h |
| 113 | 102 | |
| 114 | -/-- Every realization of the assembled correction tower is odd. -/ | |
| 115 | -theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | |
| 116 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 117 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 118 | - oddReflection period q ((F.fieldTower period C).realization q t) = | |
| 119 | - (F.fieldTower period C).realization q t := | |
| 120 | - fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t | |
| 121 | - | |
| 122 | 103 | end EulerCorrectionAssembly |
+0 −49 Euler/CorrectionAssemblyPressureParity.lean View file
| @@ -9,24 +9,12 @@ namespace EulerGraphPressurePotential | ||
| 9 | 9 | |
| 10 | 10 | open EulerLiftedGradientSpace |
| 11 | 11 | |
| 12 | -/-- The physical phase graph respects joint spatial and angular reflection. -/ | |
| 13 | -theorem cylinderGraph_neg (period k : ℝ) (m x : Vector3) : | |
| 14 | - cylinderGraph period k m (-x) = -cylinderGraph period k m x := by | |
| 15 | - simp [cylinderGraph] | |
| 16 | - | |
| 17 | 12 | end EulerGraphPressurePotential |
| 18 | 13 | |
| 19 | 14 | namespace EulerCanonicalGraphPotential |
| 20 | 15 | |
| 21 | 16 | open EulerLiftedGradientSpace |
| 22 | 17 | |
| 23 | -/-- The canonical radial scalar potential of an odd vector field is even. | |
| 24 | -This identity does not need a choice of additive gauge or a potential-existence assumption. -/ | |
| 25 | -theorem radialPotential_even (V : Vector3 → Vector3) | |
| 26 | - (hV : ∀ x, V (-x) = -V x) (x : Vector3) : | |
| 27 | - radialPotential V (-x) = radialPotential V x := by | |
| 28 | - simp only [radialPotential, smul_neg, hV, inner_neg_neg] | |
| 29 | - | |
| 30 | 18 | end EulerCanonicalGraphPotential |
| 31 | 19 | |
| 32 | 20 | namespace EulerCorrectionAssembly |
| @@ -49,41 +37,4 @@ theorem FiniteFamily.pointPressure_odd (F : FiniteFamily period hT A) | ||
| 49 | 37 | (Continuous.uncurry_left t (F.pointPressure_joint_continuous period)) |
| 50 | 38 | (F.pointPressure_ae period t) x |
| 51 | 39 | |
| 52 | -/-- The actual signed pressure-gradient vector on the physical phase graph is odd. -/ | |
| 53 | -theorem FiniteFamily.graphPressure_odd (F : FiniteFamily period hT A) | |
| 54 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 55 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 56 | - F.graphPressure period k t (-x) = -F.graphPressure period k t x := by | |
| 57 | - unfold FiniteFamily.graphPressure | |
| 58 | - rw [cylinderGraph_neg, F.pointPressure_odd period C P, smul_neg] | |
| 59 | - | |
| 60 | -/-- The origin-normalized scalar pressure is even at every time. | |
| 61 | -In particular parity is an exact identity, not merely equality modulo a constant. -/ | |
| 62 | -theorem FiniteFamily.normalizedGraphPotential_even (F : FiniteFamily period hT A) | |
| 63 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 64 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 65 | - F.normalizedGraphPotential period k t (-x) = | |
| 66 | - F.normalizedGraphPotential period k t x := | |
| 67 | - radialPotential_even _ (F.graphPressure_odd period C P k t) x | |
| 68 | - | |
| 69 | -/-- Any smooth potential of the same graph field agrees with the canonical | |
| 70 | -radial potential after subtracting its value at the origin. -/ | |
| 71 | -theorem FiniteFamily.normalizedGraphPotential_eq_sub (F : FiniteFamily period hT A) | |
| 72 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 73 | - (hq : ContDiff ℝ ∞ q) | |
| 74 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (x : Vector3) : | |
| 75 | - F.normalizedGraphPotential period k t x = q x - q 0 := | |
| 76 | - radialPotential_eq_sub _ | |
| 77 | - (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hgrad x | |
| 78 | - | |
| 79 | -/-- The constructed scalar pressure is the unique smooth potential of its | |
| 80 | -graph field with the prescribed zero value at the origin. -/ | |
| 81 | -theorem FiniteFamily.normalizedGraphPotential_unique (F : FiniteFamily period hT A) | |
| 82 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 83 | - (hq : ContDiff ℝ ∞ q) | |
| 84 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (hq0 : q 0 = 0) : | |
| 85 | - F.normalizedGraphPotential period k t = q := by | |
| 86 | - funext x | |
| 87 | - rw [F.normalizedGraphPotential_eq_sub period k t q hq hgrad x, hq0, sub_zero] | |
| 88 | - | |
| 89 | 40 | end EulerCorrectionAssembly |
+0 −5 Euler/CorrectionAssemblyReconstruction.lean View file
| @@ -74,11 +74,6 @@ def FiniteFamily.normalizedGraphPotential (F : FiniteFamily period hT A) (k : | ||
| 74 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 75 | 75 | radialPotential (F.graphPressure period k t) x |
| 76 | 76 | |
| 77 | -/-- The reconstructed scalar pressure has zero value at the origin at every time. -/ | |
| 78 | -theorem FiniteFamily.normalizedGraphPotential_zero (F : FiniteFamily period hT A) (k : ℝ) | |
| 79 | - (t : Icc (0 : ℝ) T) : F.normalizedGraphPotential period k t 0 = 0 := | |
| 80 | - radialPotential_zero _ | |
| 81 | - | |
| 82 | 77 | /-- The normalized scalar pressure is jointly continuous, including both endpoint time slices. -/ |
| 83 | 78 | theorem FiniteFamily.normalizedGraphPotential_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : |
| 84 | 79 | Continuous (F.normalizedGraphPotential period k).uncurry := |
+0 −10 Euler/CorrectionAssemblySourceTower.lean View file
| @@ -82,19 +82,9 @@ open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrect | ||
| 82 | 82 | variable (period : ℝ) [Fact (0 < period)] |
| 83 | 83 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 84 | 84 | |
| 85 | -def Budget.rawSourceTower (B : Budget period hT A) : FieldTower period T := | |
| 86 | - (B.family period).rawSourceTower period (B.comparisonData period) | |
| 87 | - | |
| 88 | 85 | def Budget.timeDerivativeTower (B : Budget period hT A) : FieldTower period T := |
| 89 | 86 | (B.family period).timeDerivativeTower period (B.comparisonData period) |
| 90 | 87 | |
| 91 | -theorem Budget.rawSource_eq_realization (B : Budget period hT A) | |
| 92 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 93 | - (A.atOrder period q).rawSource period hq t ((B.fieldTower period).realization (q+1) t) = | |
| 94 | - (B.rawSourceTower period).realization q t := by | |
| 95 | - rw [← B.solution_eq_realization period q hq] | |
| 96 | - exact (B.family period).rawSourcePath_eq_realization period (B.comparisonData period) q hq t | |
| 97 | - | |
| 98 | 88 | theorem Budget.source_eq_timeDerivativeTower (B : Budget period hT A) |
| 99 | 89 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 100 | 90 | ((A.atOrder period q).coefficients period hq).apply t |
+0 −40 Euler/CorrectionAssemblyTime.lean View file
| @@ -28,44 +28,4 @@ def FiniteFamily.pointTimeDerivative (F : FiniteFamily period hT A) | ||
| 28 | 28 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 29 | 29 | (((A.atOrder period 6).coefficients period le_rfl).apply t (F.solution 6 le_rfl t))) |
| 30 | 30 | |
| 31 | -/-- The actual pointwise time derivative is jointly continuous in time and space. -/ | |
| 32 | -theorem FiniteFamily.pointTimeDerivative_joint_continuous (F : FiniteFamily period hT A) : | |
| 33 | - Continuous (F.pointTimeDerivative period).uncurry := | |
| 34 | - path_representative_joint_continuous period | |
| 35 | - ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 36 | - (sourcePath ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl))) | |
| 37 | - | |
| 38 | -/-- The pointwise time derivative is the literal raw-source and signed-pressure expression. -/ | |
| 39 | -theorem FiniteFamily.pointTimeDerivative_eq_pressure (F : FiniteFamily period hT A) | |
| 40 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 41 | - F.pointTimeDerivative period t x = -F.pointRawSource period t x - | |
| 42 | - (A.metric.coefficient t).coefficient x (F.pointPressure period t x) := by | |
| 43 | - unfold FiniteFamily.pointTimeDerivative | |
| 44 | - rw [EulerInviscidSobolevEvolution.CorrectionData.source_sobolev] | |
| 45 | - simp only [map_sub, map_neg] | |
| 46 | - rw [pointEvaluation_coefficient period (by omega : 3 ≤ 6) ((A.atOrder period 6).metric.coefficient t) | |
| 47 | - ((A.atOrder period 6).metric.jet t)] | |
| 48 | - rfl | |
| 49 | - | |
| 50 | -/-- The canonical common field has its genuine pointwise first time derivative at every interior time. -/ | |
| 51 | -theorem FiniteFamily.pointField_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 54 | - (F.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := by | |
| 55 | - have hd := sobolev_hasDerivAt period T hT.le | |
| 56 | - ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl) | |
| 57 | - (F.equation 6 le_rfl) t ht | |
| 58 | - have he := (((pointEvaluation period x).comp (restrictOperator period (by omega : 3 ≤ 6))).hasFDerivAt).comp_hasDerivAt t hd | |
| 59 | - simpa only [Function.comp_def, ContinuousLinearMap.comp_apply, restrictOperator_truncate, | |
| 60 | - FiniteFamily.pointField, FiniteFamily.pointTimeDerivative, extendPath] using he | |
| 61 | - | |
| 62 | -/-- The actual pointwise correction equation uses the reconstructed signed pressure and literal matrix multiplication. -/ | |
| 63 | -theorem FiniteFamily.pointField_hasDerivAt_pressure (F : FiniteFamily period hT A) | |
| 64 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 65 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 66 | - (-F.pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - | |
| 67 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x | |
| 68 | - (F.pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := by | |
| 69 | - simpa only [F.pointTimeDerivative_eq_pressure period] using F.pointField_hasDerivAt period x t ht | |
| 70 | - | |
| 71 | 31 | end EulerCorrectionAssembly |
+0 −11 Euler/FieldTowerCanonicalGraph.lean View file
| @@ -31,15 +31,4 @@ 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_hasDerivAt (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 35 | - (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) (q : ℕ) (hq : n+1 ≤ q) | |
| 36 | - (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 37 | - (hd : HasDerivAt (extendPath T hT (A.realization q)) | |
| 38 | - (B.realization q ⟨t,ht.1.le,ht.2.le⟩) t) : | |
| 39 | - HasDerivAt (extendPath T hT (A.canonicalGraphWordPath θ hθ n w)) | |
| 40 | - (B.canonicalGraphWordPath θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 41 | - A.graphWordPath_hasDerivAt B A.pointField B.pointField A.pointField_smooth B.pointField_smooth | |
| 42 | - A.pointField_ae B.pointField_ae θ hθ hT n w t ht | |
| 43 | - (A.realization_hasDerivAt_of_le B hq hT ⟨t,ht.1.le,ht.2.le⟩ hd) | |
| 44 | - | |
| 45 | 34 | end EulerAllOrderCorrectionData.FieldTower |
+0 −37 Euler/FieldTowerGraphDerivative.lean View file
| @@ -22,41 +22,4 @@ variable {P T : ℝ} [Fact (0 < P)] | ||
| 22 | 22 | (hb : ∀ t, (B.field t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g t) |
| 23 | 23 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 24 | 24 | |
| 25 | -theorem graphWordPath_hasDerivWithinAt (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) | |
| 26 | - (t : Icc (0 : ℝ) T) | |
| 27 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization (n+1))) | |
| 28 | - (B.realization (n+1) t) (Icc (0 : ℝ) T) t) : | |
| 29 | - HasDerivWithinAt (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 30 | - (B.graphWordPath g hg hb θ hθ n w t) (Icc (0 : ℝ) T) t := by | |
| 31 | - refine graph_hasDerivWithinAt P | |
| 32 | - (extendPath T hT (A.derivativeWordPath (n+1) n w (by omega))) | |
| 33 | - (extendPath T hT (A.derivativeWordPath (n+1) (n+1) (Fin.cons 0 w) le_rfl)) | |
| 34 | - (fun r => iteratedFieldDerivative P w (f (projIcc 0 T hT r))) | |
| 35 | - (fun r => iteratedFieldDerivative_smooth P w _ (hf (projIcc 0 T hT r))) | |
| 36 | - (fun r => A.derivativeWordPath_ae f hf ha (n+1) n w (by omega) (projIcc 0 T hT r)) | |
| 37 | - (fun r => A.graphWord_angular_ae f hf ha n w (projIcc 0 T hT r)) θ hθ | |
| 38 | - (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 39 | - (fun r => A.graphWordPath_ae f hf ha θ hθ n w (projIcc 0 T hT r)) | |
| 40 | - (iteratedFieldDerivative P w (g t)) | |
| 41 | - (iteratedFieldDerivative_smooth P w _ (hg t)) | |
| 42 | - (B.derivativeWordPath (n+1) n w (by omega) t) | |
| 43 | - (B.derivativeWordPath (n+1) (n+1) (Fin.cons 0 w) le_rfl t) | |
| 44 | - (B.derivativeWordPath_ae g hg hb (n+1) n w (by omega) t) | |
| 45 | - (B.graphWord_angular_ae g hg hb n w t) | |
| 46 | - (B.graphWordPath g hg hb θ hθ n w t) | |
| 47 | - (B.graphWordPath_ae g hg hb θ hθ n w t) (Icc (0 : ℝ) T) t ?_ ?_ | |
| 48 | - · exact (wordOperator P (⟨⟨n,by omega⟩,w⟩ : SobolevWord (n+1))).hasFDerivAt.comp_hasDerivWithinAt | |
| 49 | - (t : ℝ) hd | |
| 50 | - · exact (wordOperator P (⟨⟨n+1,by omega⟩,Fin.cons 0 w⟩ : SobolevWord (n+1))).hasFDerivAt.comp_hasDerivWithinAt | |
| 51 | - (t : ℝ) hd | |
| 52 | - | |
| 53 | -theorem graphWordPath_hasDerivAt (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) | |
| 54 | - (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 55 | - (hd : HasDerivAt (extendPath T hT (A.realization (n+1))) | |
| 56 | - (B.realization (n+1) ⟨t,ht.1.le,ht.2.le⟩) t) : | |
| 57 | - HasDerivAt (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 58 | - (B.graphWordPath g hg hb θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 59 | - (A.graphWordPath_hasDerivWithinAt B f g hf hg ha hb θ hθ hT n w | |
| 60 | - ⟨t,ht.1.le,ht.2.le⟩ hd.hasDerivWithinAt).hasDerivAt (Icc_mem_nhds ht.1 ht.2) | |
| 61 | - | |
| 62 | 25 | end EulerAllOrderCorrectionData.FieldTower |
+0 −15 Euler/FieldTowerTimeRestriction.lean View file
| @@ -17,19 +17,4 @@ 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_hasDerivAt_of_le {p q : ℕ} (h : q ≤ p) | |
| 21 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 22 | - (hd : HasDerivAt (extendPath T hT (A.realization p)) | |
| 23 | - (B.realization p t) t) : | |
| 24 | - HasDerivAt (extendPath T hT (A.realization q)) (B.realization q t) t := by | |
| 25 | - have hder : HasDerivAt | |
| 26 | - (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) | |
| 27 | - (restrictOperator P h (B.realization p t)) t := | |
| 28 | - (restrictOperator P h).hasFDerivAt.comp_hasDerivAt (t : ℝ) hd | |
| 29 | - have he : (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) = | |
| 30 | - extendPath T hT (A.realization q) := | |
| 31 | - funext (fun r => A.restrict_realization h (projIcc 0 T hT r)) | |
| 32 | - rw [he,B.restrict_realization h t] at hder | |
| 33 | - exact hder | |
| 34 | - | |
| 35 | 20 | end EulerAllOrderCorrectionData.FieldTower |
+0 −36 Euler/FieldTowerVolumeSobolev.lean View file
| @@ -18,32 +18,6 @@ variable {K : Type*} [TopologicalSpace K] [FirstCountableTopology K] | ||
| 18 | 18 | Continuous (fun z : K × Vector3 => iteratedFDeriv ℝ i (Y z.1) z.2)) |
| 19 | 19 | (hB : ∀ i, 1 ≤ i → i ≤ n → ∀ t x, ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ D^i) |
| 20 | 20 | |
| 21 | -theorem tensorPath_norm_le (g : K → Vector3 → Vector3) | |
| 22 | - (hg : ∀ t, ContDiff ℝ ∞ (g t)) (hY : ∀ t, ContDiff ℝ ∞ (Y t)) | |
| 23 | - (hu : ∀ i t, (u i t : Vector3 → Tensor i) =ᵐ[volume] iteratedFDeriv ℝ i (g t)) (t : K) : | |
| 24 | - ‖tensorPath Y hmp u D hD hJ hB t‖ ≤ | |
| 25 | - ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), ‖u i.val t‖ := by | |
| 26 | - have hLp : ∀ i, i ≤ n → MemLp (iteratedFDeriv ℝ i (g t)) 2 volume := | |
| 27 | - fun i _ => (memLp_congr_ae (hu i t)).mp (Lp.memLp (u i t)) | |
| 28 | - let V := compositionTensorLp (Y t) (g t) (hY t) (hg t) n D hD | |
| 29 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp | |
| 30 | - have he : tensorPath Y hmp u D hD hJ hB t = V := by | |
| 31 | - apply Lp.ext | |
| 32 | - exact (tensorPath_ae Y hmp u D hD hJ hB g hg hY hu t).trans | |
| 33 | - (compositionTensor_memLp (Y t) (g t) (hY t) (hg t) n D hD | |
| 34 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp).coeFn_toLp.symm | |
| 35 | - rw [he] | |
| 36 | - calc | |
| 37 | - ‖V‖ ≤ ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), | |
| 38 | - (eLpNorm (iteratedFDeriv ℝ i.val (g t)) 2 volume).toReal := | |
| 39 | - compositionTensorLp_norm_le (Y t) (g t) (hY t) (hg t) n D hD | |
| 40 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp | |
| 41 | - _ = _ := by | |
| 42 | - congr 1 | |
| 43 | - apply Finset.sum_congr rfl | |
| 44 | - intro i _ | |
| 45 | - rw [Lp.norm_def,eLpNorm_congr_ae (hu i.val t)] | |
| 46 | - | |
| 47 | 21 | end EulerVolumeSobolevPath |
| 48 | 22 | |
| 49 | 23 | namespace EulerAllOrderCorrectionData.FieldTower |
| @@ -75,14 +49,4 @@ theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : | ||
| 75 | 49 | (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY |
| 76 | 50 | (A.physicalTensorPath_ae k m) t |
| 77 | 51 | |
| 78 | -theorem volumeTensorPath_norm_le (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : | |
| 79 | - ‖A.volumeTensorPath k m Y hmp n D hD hJ hB t‖ ≤ | |
| 80 | - ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), | |
| 81 | - frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖A.realization (i.val+1) t‖ := by | |
| 82 | - have h := EulerVolumeSobolevPath.tensorPath_norm_le Y hmp (fun i => A.physicalTensorPath k m i) | |
| 83 | - D hD hJ hB (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY | |
| 84 | - (A.physicalTensorPath_ae k m) t | |
| 85 | - exact h.trans (mul_le_mul_of_nonneg_left | |
| 86 | - (Finset.sum_le_sum (fun i _ => A.physicalTensorValue_norm_le k m i.val t)) (by positivity)) | |
| 87 | - | |
| 88 | 52 | end EulerAllOrderCorrectionData.FieldTower |
+0 −23 Euler/FlowL2Transport.lean View file
| @@ -49,27 +49,4 @@ theorem inversePath_measurePreserving (t : K) : | ||
| 49 | 49 | inverse_measurePreserving (X t) (Y t) (F t) (hX t) (hYX t) (hXY t) |
| 50 | 50 | (Continuous.uncurry_left t hY) (hdet t) |
| 51 | 51 | |
| 52 | -/-- No operator-norm continuity of composition is assumed. Joint strong | |
| 53 | -continuity follows from actual continuity and preservation of volume. -/ | |
| 54 | -def transportPath (u : C(K,Lp E 2 (volume : Measure Vector3))) : | |
| 55 | - C(K,Lp E 2 (volume : Measure Vector3)) where | |
| 56 | - toFun t := Lp.compMeasurePreserving (inversePath Y hY t) | |
| 57 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) (u t) | |
| 58 | - continuous_toFun := u.continuous.compMeasurePreservingLp | |
| 59 | - (inversePath Y hY).continuous | |
| 60 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet) (by norm_num) | |
| 61 | - | |
| 62 | -theorem transportPath_norm (u : C(K,Lp E 2 (volume : Measure Vector3))) (t : K) : | |
| 63 | - ‖transportPath X Y F hX hYX hXY hY hdet u t‖ = ‖u t‖ := | |
| 64 | - Lp.norm_compMeasurePreserving (u t) | |
| 65 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) | |
| 66 | - | |
| 67 | -theorem transportPath_ae (u : C(K,Lp E 2 (volume : Measure Vector3))) | |
| 68 | - (f : K → Vector3 → E) (hu : ∀ t, (u t : Vector3 → E) =ᵐ[volume] f t) (t : K) : | |
| 69 | - (transportPath X Y F hX hYX hXY hY hdet u t : Vector3 → E) =ᵐ[volume] | |
| 70 | - fun x => f t (Y t x) := | |
| 71 | - (Lp.coeFn_compMeasurePreserving (u t) | |
| 72 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t)).trans | |
| 73 | - ((inversePath_measurePreserving X Y F hX hYX hXY hY hdet t).quasiMeasurePreserving.ae_eq_comp (hu t)) | |
| 74 | - | |
| 75 | 52 | end EulerFlowL2Transport |
+0 −21 Euler/GeneralRealCylinderAlgebra.lean View file
| @@ -54,27 +54,6 @@ theorem real_product_word_memLp {q n : ℕ} (hq : 6 ≤ q) (hn : n ≤ q) (w : F | ||
| 54 | 54 | filter_upwards [] with x |
| 55 | 55 | exact (Complex.norm_real _).ge |
| 56 | 56 | |
| 57 | -/-- Every scalar-vector product derivative through order q is genuinely in L². -/ | |
| 58 | -theorem scalar_vector_product_word_memLp {q n : ℕ} (hq : 6 ≤ q) (hn : n ≤ q) (d : ℕ) | |
| 59 | - (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) | |
| 60 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 61 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 62 | - (hfL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 63 | - (hgL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 64 | - MemLp (iteratedFieldDerivative period w (fun x => f x • g x)) 2 (liftMeasure period) := by | |
| 65 | - apply MemLp.of_eval_piLp | |
| 66 | - intro i | |
| 67 | - have h := real_product_word_memLp period hq hn w f (coordinate d i ∘ g) hf | |
| 68 | - (postcomp_smooth period _ g hg) hfL2 | |
| 69 | - (fun j hj v => postcomp_word_memLp period hj _ g hg hgL2 v) | |
| 70 | - rw [← coordinate_smul period d i f g] at h | |
| 71 | - have he : (fun x => iteratedFieldDerivative period w (fun x => f x • g x) x i) = | |
| 72 | - iteratedFieldDerivative period w (coordinate d i ∘ (fun x => f x • g x)) := by | |
| 73 | - funext x | |
| 74 | - exact (coordinate_word period d i w (fun x => f x • g x) (fun x => (hf x).smul (hg x)) x).symm | |
| 75 | - rw [he] | |
| 76 | - exact h | |
| 77 | - | |
| 78 | 57 | /-- Multiplication of an actual vector field by a scalar field is bounded in every Hq, q≥6. -/ |
| 79 | 58 | theorem cylinder_Hq_scalar_vector_product {q : ℕ} (hq : 6 ≤ q) (d : ℕ) |
| 80 | 59 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) |
+0 −10 Euler/IsometricActionCalculus.lean View file
| @@ -31,16 +31,6 @@ theorem hasFDerivAt_all (τ : P → E →ₗᵢ[ℝ] E) | ||
| 31 | 31 | abel_nf |
| 32 | 32 | simpa only [Function.comp_def, id_eq, sub_self, he, ContinuousLinearMap.comp_id] using hd |
| 33 | 33 | |
| 34 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 35 | -theorem orbits_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} | |
| 36 | - (u : ι → E) (v : E) (hu : Tendsto u l (𝓝 v)) : | |
| 37 | - TendstoUniformly (fun n a => τ a (u n)) (fun a => τ a v) l := by | |
| 38 | - apply Metric.tendstoUniformly_iff.mpr | |
| 39 | - intro ε hε | |
| 40 | - filter_upwards [hu.eventually (Metric.ball_mem_nhds v hε)] with n hn a | |
| 41 | - rw [(τ a).dist_map] | |
| 42 | - simpa only [Metric.mem_ball, dist_comm] using hn | |
| 43 | - | |
| 44 | 34 | theorem derivatives_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} |
| 45 | 35 | (D : ι → P →L[ℝ] E) (D₀ : P →L[ℝ] E) (hD : Tendsto D l (𝓝 D₀)) : |
| 46 | 36 | TendstoUniformly (fun n a => (τ a).toContinuousLinearMap.comp (D n)) |
+0 −4 Euler/LpSmoothFamilyJets.lean View file
| @@ -64,8 +64,4 @@ private theorem norm_iteratedFDeriv_value_aux (n : ℕ) : | ||
| 64 | 64 | (derivativeBundling_norm_le_one (P := P) (V := V) μ) (norm_nonneg _)).trans |
| 65 | 65 | (by simpa only [one_mul] using hi)) |
| 66 | 66 | |
| 67 | -/-- Each true L² derivative inherits its original fiberwise L² majorant with constant one. -/ | |
| 68 | -theorem norm_iteratedFDeriv_value_le (A : SmoothFamily μ P V) (n : ℕ) (a : P) : | |
| 69 | - ‖iteratedFDeriv ℝ n A.value a‖ ≤ ‖A.bound n‖ := norm_iteratedFDeriv_value_aux n V A a | |
| 70 | - | |
| 71 | 67 | end EulerLpSmoothFamily.SmoothFamily |
+0 −6 Euler/LpSmoothFieldAlgebra.lean View file
| @@ -144,10 +144,4 @@ theorem continuous_jetLp_derivative (A : K → SmoothL2Field V) | ||
| 144 | 144 | rw [he] |
| 145 | 145 | exact ContinuousLinearMap.continuous _ |>.comp (hA (n+1)) |
| 146 | 146 | |
| 147 | -theorem continuous_jetLp_directionalField (A : K → SmoothL2Field V) | |
| 148 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (v : Space) (n : ℕ) : | |
| 149 | - Continuous (fun t => (directionalField (A t) v).jetLp n) := | |
| 150 | - continuous_jetLp_mapField (ContinuousLinearMap.apply ℝ V v) (fun t => (A t).derivative) | |
| 151 | - (continuous_jetLp_derivative A hA) n | |
| 152 | - | |
| 153 | 147 | end EulerLpTranslation.SmoothL2Field |
+0 −9 Euler/MeanClassicalTime.lean View file
| @@ -79,15 +79,6 @@ theorem classicalAcceleration_ae | ||
| 79 | 79 | accelerationPath_ae T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower hT |
| 80 | 80 | s.velocityLp s.acceleration f s.coordinateVelocityPath fC s.coordinateVelocityPath_ae hf s.gram_equation_ae |
| 81 | 81 | |
| 82 | -/-- Coordinate velocity has the classical acceleration at every time within the interval. -/ | |
| 83 | -theorem velocity_hasDerivWithinAt | |
| 84 | - (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) | |
| 85 | - (t : Icc (0 : ℝ) T) : | |
| 86 | - HasDerivWithinAt s.velocity (s.classicalAcceleration c hc hLower fC t) (Icc (0 : ℝ) T) t := | |
| 87 | - hasDerivWithinAt_of_continuous_representative T hT s.acceleration | |
| 88 | - (s.classicalAcceleration c hc hLower fC) (s.classicalAcceleration_ae c hc hLower fC hf) | |
| 89 | - s.velocity s.velocity_ac s.velocity_derivative t | |
| 90 | - | |
| 91 | 82 | /-- The physical derivative path is the actual continuous product-rule expression. -/ |
| 92 | 83 | def classicalPhysicalDerivative : C(Icc (0 : ℝ) T, L2) := |
| 93 | 84 | ⟨fun t => F₁ t (s.coordinateVelocityPath t : L2) + |
+0 −9 Euler/MeanPacketForcingAlgebra.lean View file
| @@ -32,15 +32,6 @@ def ofSlices (A : ℝ → SmoothL2Field Space) | ||
| 32 | 32 | path_eq _ := rfl |
| 33 | 33 | raw_eq := heq |
| 34 | 34 | |
| 35 | -def zero (D : Data) : Forcing D (0 : VectorField) := | |
| 36 | - ofSlices (fun _ => zeroField) (fun _ => continuous_const) (fun _ _ _ => rfl) | |
| 37 | - | |
| 38 | -def add (G : Forcing D raw) (H : Forcing D raw') : Forcing D (raw+raw') := | |
| 39 | - ofSlices (fun t => addField (G.slices t) (H.slices t)) | |
| 40 | - (continuous_jetLp_addField (fun t : Icc (0 : ℝ) D.T => G.slices t) | |
| 41 | - (fun t : Icc (0 : ℝ) D.T => H.slices t) G.jets_continuous H.jets_continuous) | |
| 42 | - (fun t x θ => by simp only [Pi.add_apply, G.raw_eq t x θ, H.raw_eq t x θ, addField_field]) | |
| 43 | - | |
| 44 | 35 | /-- Applying a genuine bounded linear map preserves every actual L² jet. -/ |
| 45 | 36 | def map (G : Forcing D raw) (L : Space →L[ℝ] Space) : Forcing D (fun z => L (raw z)) := |
| 46 | 37 | ofSlices (fun t => mapField L (G.slices t)) |
+0 −26 Euler/PacketActivationSourceData.lean View file
| @@ -14,32 +14,6 @@ open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 14 | 14 | |
| 15 | 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 16 | 16 | |
| 17 | -def Data.reframe (D : Data U) (m : Space) (hm : ‖m‖=1) : Data (referencePlane m) where | |
| 18 | - T := D.T | |
| 19 | - T_pos := D.T_pos | |
| 20 | - support := D.support | |
| 21 | - support_compact := D.support_compact | |
| 22 | - m₀ := m | |
| 23 | - m₀_unit := hm | |
| 24 | - R := LinearIsometryEquiv.refl ℝ (referencePlane m) | |
| 25 | - F := D.F | |
| 26 | - F₁ := D.F₁ | |
| 27 | - FInv := D.FInv | |
| 28 | - M := D.M | |
| 29 | - inverse_left := D.inverse_left | |
| 30 | - inverse_right := D.inverse_right | |
| 31 | - frame_time := D.frame_time | |
| 32 | - strain_equation := D.strain_equation | |
| 33 | - | |
| 34 | -def HistoryData.reframe {D : Data U} (B : HistoryData D) (m : Space) (hm : ‖m‖=1) : | |
| 35 | - HistoryData (D.reframe m hm) where | |
| 36 | - H := B.H | |
| 37 | - jacobi := B.jacobi | |
| 38 | - potential := B.potential | |
| 39 | - potential_nonneg := B.potential_nonneg | |
| 40 | - potential_bound := B.potential_bound | |
| 41 | - small := B.small | |
| 42 | - | |
| 43 | 17 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 44 | 18 | (hn : ‖n‖=1) : |
| 45 | 19 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
+0 −14 Euler/PacketCorrectionRapidDecay.lean View file
| @@ -43,18 +43,4 @@ theorem correction_eventually_lt_inverse_power (C p : ℝ) : | ||
| 43 | 43 | apply (lt_div_iff₀ (Real.rpow_pos_of_pos hk p)).mpr |
| 44 | 44 | simpa only [mul_assoc, mul_left_comm, mul_comm] using he |
| 45 | 45 | |
| 46 | -/-- Fixed polynomial losses from physical differentiation or graph | |
| 47 | -restriction are absorbed by the same actual correction target. -/ | |
| 48 | -theorem correction_with_power_loss_eventually (C loss p : ℝ) : | |
| 49 | - ∀ᶠ k : ℝ in atTop, C*k^loss*delta (expansion k) < k^(-p) := by | |
| 50 | - filter_upwards [correction_eventually_lt_inverse_power C (p+loss), | |
| 51 | - eventually_gt_atTop (0 : ℝ)] with k he hk | |
| 52 | - have hm := mul_lt_mul_of_pos_right he (Real.rpow_pos_of_pos hk loss) | |
| 53 | - have hp : k^(-(p+loss))*k^loss=k^(-p) := by | |
| 54 | - rw [← Real.rpow_add hk] | |
| 55 | - congr 1 | |
| 56 | - ring | |
| 57 | - rw [hp] at hm | |
| 58 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 59 | - | |
| 60 | 46 | end EulerPacketSourceFrequency |
+0 −34 Euler/PacketCurlTime.lean View file
| @@ -20,38 +20,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 20 | 20 | |
| 21 | 21 | include hd |
| 22 | 22 | |
| 23 | -/-- The two product-rule terms are derived from the genuine L² evolution and actual inverse frame derivative. -/ | |
| 24 | -theorem matrixSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 25 | - (G : ℝ → Space →L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 26 | - (hG : HasDerivWithinAt G G₁ (Icc (0 : ℝ) T) t) : | |
| 27 | - HasDerivWithinAt | |
| 28 | - (fun r => curlMatrix ((fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x).comp | |
| 29 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)))) | |
| 30 | - (curlMatrix ((fieldFDeriv P (pointField P f hf t) x).comp | |
| 31 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t))) + | |
| 32 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 33 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 34 | - (Icc (0 : ℝ) T) t := by | |
| 35 | - have hL : HasDerivWithinAt (fun r => (ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)) | |
| 36 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁) (Icc (0 : ℝ) T) t := by | |
| 37 | - have h := ((hasDerivAt_const (t : ℝ) (ContinuousLinearMap.inl ℝ Space ℝ)).hasDerivWithinAt).clm_comp hG | |
| 38 | - simpa only [ContinuousLinearMap.zero_comp, zero_add] using h | |
| 39 | - have hD := pointField_fderiv_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 40 | - have h := curlOperator.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) (hD.clm_comp hL) | |
| 41 | - simpa only [Function.comp_def, map_add, curlOperator_apply, projIcc_of_mem hT t.property] using h | |
| 42 | - | |
| 43 | -/-- This is the literal lifted curl in the Piola packet construction, including both time endpoints. -/ | |
| 44 | -theorem liftedSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 45 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 46 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 47 | - (Icc (0 : ℝ) T) t) : | |
| 48 | - HasDerivWithinAt | |
| 49 | - (fun r => liftedSlowCurl P (F r) (pointField P p hp (projIcc 0 T hT r)) x) | |
| 50 | - (liftedSlowCurl P (F t) (pointField P f hf t) x + | |
| 51 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 52 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 53 | - (Icc (0 : ℝ) T) t := | |
| 54 | - matrixSlowCurl_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 55 | - (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ hG | |
| 56 | - | |
| 57 | 23 | end EulerPacketPiola |
+0 −4 Euler/PacketCylinderFieldBounds.lean View file
| @@ -29,10 +29,6 @@ theorem WordBound.transfer (h : G.WordBound q R A d) (H : Field P T raw) : H.Wor | ||
| 29 | 29 | rw [← G.path_eq_of_same_raw H] |
| 30 | 30 | exact h |
| 31 | 31 | |
| 32 | -theorem WordBound.congr (h : G.WordBound q R A d) | |
| 33 | - (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw' (t,(x,θ)) = raw (t,(x,θ))) : | |
| 34 | - (G.congr he).WordBound q R A d := h | |
| 35 | - | |
| 36 | 32 | theorem WordBound.mono_amplitude (h : G.WordBound q R A d) (hR : 0 ≤ R) (hAB : A ≤ B) : |
| 37 | 33 | G.WordBound q R B d := fun n => (h n).trans |
| 38 | 34 | (mul_le_mul_of_nonneg_right hAB (majorant_nonneg R hR d n)) |
+0 −11 Euler/PacketForwardCommonRadius.lean View file
| @@ -100,15 +100,4 @@ theorem commonRadius_guards (hC : 0 ≤ terminalCost) (R' : ℝ) | ||
| 100 | 100 | exact ⟨hm.trans hR,hl.trans hR,⟨hmv.trans hR,hmt.trans hR,hmp.trans hR⟩, |
| 101 | 101 | wf,wp,hc.trans hR,hrc.trans hR,he.trans hR⟩ |
| 102 | 102 | |
| 103 | -theorem exists_common_radius (hC : 0 ≤ terminalCost) : | |
| 104 | - ∃ (R' : ℝ) (hM : Rm ≤ R') (hL : L.R ≤ R'), | |
| 105 | - EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ | |
| 106 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 107 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ | |
| 108 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 109 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ | |
| 110 | - CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := | |
| 111 | - ⟨commonRadius M L N CB terminalCost extra, | |
| 112 | - commonRadius_guards M L N CB terminalCost extra hC _ le_rfl⟩ | |
| 113 | - | |
| 114 | 103 | end EulerPacketForwardCommonRadius |
+0 −58 Euler/PacketForwardInitializedChildShear.lean View file
| @@ -43,62 +43,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 43 | 43 | |
| 44 | 44 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 45 | 45 | |
| 46 | -theorem forwardInitialized_child_label_and_shear_eventually (q : ℕ) : | |
| 47 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 48 | - ∀ᶠ k : ℝ in atTop, | |
| 49 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 50 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 51 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 52 | - (truncation k) hn k hk)) | |
| 53 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 54 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 76 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 77 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 78 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 79 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 80 | - (∀ t n, | |
| 81 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 82 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 83 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 84 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 85 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := forwardInitialized_flow_and_shear_eventually | |
| 86 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 87 | - (1/4) (by norm_num) | |
| 88 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 89 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 90 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 91 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 92 | - with k hsource hk69 hKk hbig hcost hinv | |
| 93 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 94 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 95 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 96 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 97 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 98 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 99 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 100 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 101 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 102 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 103 | - | |
| 104 | 46 | end EulerPacketTerminalDatum |
+0 −83 Euler/PacketForwardInitializedCorrectionEstimates.lean View file
| @@ -32,87 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -theorem forwardInitialized_correction_estimates_eventually : | |
| 36 | - ∃ ρ0 γ C : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 37 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 38 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 39 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 40 | - (truncation k) hn k hk)), | |
| 41 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = γ ∧ | |
| 42 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 43 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 44 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 45 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 46 | - classical | |
| 47 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 48 | - let Kc := L.correctionCoefficients NB period | |
| 49 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 50 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 51 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 52 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 53 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 54 | - let L' := L.enlargeRadius R' hL | |
| 55 | - let N' := NB.enlargeRadius R' hL | |
| 56 | - let M' := LM.enlargeRadius R' hM | |
| 57 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 58 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 59 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 60 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 61 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 62 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 63 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 64 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 65 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 66 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 67 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 68 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 69 | - let Ce := correctionBase D | |
| 70 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 72 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 73 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce,abs_nonneg Cp,abs_nonneg Ct] | |
| 74 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp,abs_nonneg Ce,abs_nonneg Ct] | |
| 75 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct,abs_nonneg Ce,abs_nonneg Cp] | |
| 76 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 77 | - filter_upwards [fixed_costs_eventually | |
| 78 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 79 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 80 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 81 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 82 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 83 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 84 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 85 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 86 | - Ξ hΞ hF hdet | |
| 87 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 88 | - intro s N hN t | |
| 89 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,forwardInitializedAllOrderBudget] | |
| 90 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 91 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,forwardInitializedAllOrderBudget,ρ0] | |
| 92 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,forwardInitializedAllOrderBudget, | |
| 94 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 95 | - ring | |
| 96 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 97 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 98 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 99 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 100 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Cp, | |
| 101 | - correctionPressureCost,correctionSourceCost,correctionBase] | |
| 102 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 103 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 104 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 105 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 106 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ct, | |
| 107 | - correctionTimeCost,correctionSourceCost,correctionBase] | |
| 108 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 109 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 110 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 111 | - rw [hrQ,heQ] at he | |
| 112 | - rw [hrQ,hpQ,hδQ] at hp | |
| 113 | - rw [hrQ,htQ,hδQ] at ht | |
| 114 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 115 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 116 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 117 | - | |
| 118 | 35 | end EulerPacketTerminalDatum |
+0 −88 Euler/PacketForwardInitializedFlowAndShear.lean View file
| @@ -38,92 +38,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 38 | 38 | |
| 39 | 39 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 40 | 40 | |
| 41 | -theorem forwardInitialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 42 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 43 | - ∀ᶠ k : ℝ in atTop, | |
| 44 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 45 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 46 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 47 | - (truncation k) hn k hk)) | |
| 48 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 49 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 50 | - G.A = Q.liftedPacketCoefficient period | |
| 51 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 52 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 53 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 54 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 55 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 56 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 57 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 58 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 59 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 60 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 61 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 62 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 63 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 64 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 65 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 66 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 67 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 68 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 69 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 70 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 75 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 80 | - classical | |
| 81 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 82 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 83 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 84 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 85 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 86 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 87 | - let L' := L.enlargeRadius R' hL | |
| 88 | - let N' := NB.enlargeRadius R' hL | |
| 89 | - let M' := LM.enlargeRadius R' hM | |
| 90 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 92 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 93 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hsource⟩ := forwardInitialized_flow_and_correction_eventually | |
| 94 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet ε hε | |
| 95 | - let Kv := forwardInitializedGlobalShearCost L'.R S.H0 N'.C | |
| 96 | - let Kp := forwardInitializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 97 | - let Cv := 1+|Kv| | |
| 98 | - let Cp := 1+|Kp| | |
| 99 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 100 | - intro t x | |
| 101 | - rw [← hF t x] | |
| 102 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 103 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 104 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 105 | - filter_upwards [hsource, | |
| 106 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 107 | - with k hsource hscalar | |
| 108 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,hcorrection,hflow⟩ := hsource | |
| 109 | - have hk0 : 0 < k := by linarith | |
| 110 | - have hk1 : 1 ≤ k := by linarith | |
| 111 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 112 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 113 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,?_,hflow⟩ | |
| 114 | - intro t x | |
| 115 | - constructor | |
| 116 | - · have h := forwardInitializedExactPhysicalVelocity_global_gradient_error M D hTime δ hδ ξ hs α | |
| 117 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 118 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 119 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 120 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).1).trans_eq | |
| 121 | - (by dsimp [Cv]; ring)) | |
| 122 | - · have h := forwardInitializedExactPhysicalPressure_hessian_error M D hTime δ hδ ξ hs α | |
| 123 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' N' wf M' wm BC hrc hcost | |
| 124 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 125 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 126 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).2).trans_eq | |
| 127 | - (by dsimp [Cp]; ring)) | |
| 128 | - | |
| 129 | 41 | end EulerPacketTerminalDatum |
+0 −146 Euler/PacketForwardInitializedFlowBounds.lean View file
| @@ -42,150 +42,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 42 | 42 | |
| 43 | 43 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 44 | 44 | |
| 45 | -theorem forwardInitialized_flow_and_correction_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 46 | - ∃ ρ0 γ Cw : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ | |
| 47 | - ∀ᶠ k : ℝ in atTop, | |
| 48 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 49 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 50 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 51 | - (truncation k) hn k hk)) | |
| 52 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 53 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 54 | - G.A = Q.liftedPacketCoefficient period | |
| 55 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 56 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 57 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 59 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 60 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 61 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 63 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 64 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 65 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ ∧ | |
| 66 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹) ∧ | |
| 67 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 68 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 69 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 70 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 75 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 78 | - classical | |
| 79 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 80 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 81 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 82 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 83 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 84 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 85 | - let L' := L.enlargeRadius R' hL | |
| 86 | - let N' := NB.enlargeRadius R' hL | |
| 87 | - let M' := LM.enlargeRadius R' hM | |
| 88 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 89 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 90 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 91 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := forwardInitialized_correction_estimates_eventually | |
| 92 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 93 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 94 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 95 | - let Ch := 6*N'.blockAmplitude* | |
| 96 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 97 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 98 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 99 | - let Ev := 2*liftedInputConstant period*Cw | |
| 100 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 101 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 102 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_one; linarith | |
| 103 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 104 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 105 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 106 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 107 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 108 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 109 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 110 | - have hCh : 0 ≤ Ch := by | |
| 111 | - have hN := N'.blockAmplitude_nonneg | |
| 112 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 1 | |
| 113 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 2 | |
| 114 | - dsimp [Ch] | |
| 115 | - positivity | |
| 116 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 117 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 118 | - have hEta := inputExponent_pos ε hε | |
| 119 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 120 | - intro t x | |
| 121 | - rw [← hF t x] | |
| 122 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 123 | - refine ⟨ρ0,γ,Cw,hρ,hγ,hCw,?_⟩ | |
| 124 | - filter_upwards [hQ, | |
| 125 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 126 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 127 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 128 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 129 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 130 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 131 | - data_field_bounds_eventually period D.T ε hε, | |
| 132 | - data_sup_bounds_eventually period D.T ε hε] | |
| 133 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 135 | - have hk0 : 0 < k := by linarith | |
| 136 | - have hk1 : 1 ≤ k := by linarith | |
| 137 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 138 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 139 | - let V := forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k | |
| 140 | - let Vt := forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k | |
| 141 | - have hv := forwardInitializedNormalizedField_bound M D hTime δ hδ ξ hs α | |
| 142 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 143 | - have hnrm := forwardInitializedNormalizedField_normal_bound M D hTime δ hδ ξ hs α | |
| 144 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 145 | - have hvt := forwardInitializedNormalizedDerivativeField_bound M D hTime δ hδ ξ hs α | |
| 146 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 147 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 148 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 149 | - (hweighted (n+6) n le_rfl t).1 | |
| 150 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 151 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 152 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 153 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 154 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 155 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 156 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 157 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 158 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 159 | - ring | |
| 160 | - let G := Q.physicalFlowData period V Vt rfl | |
| 161 | - (forwardInitializedNormalizedField_time M D hTime δ hδ ξ hs α (truncation k) k) | |
| 162 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 163 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 164 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 165 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 166 | - rw [hsize] | |
| 167 | - exact hsmall.2.2.2) | |
| 168 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 169 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 170 | - rw [hsize] | |
| 171 | - exact hsmall.2.2.1 | |
| 172 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 173 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 174 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 175 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 176 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 177 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 178 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 179 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 180 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 181 | - · intro t z | |
| 182 | - change graphConstraint k D.m₀ | |
| 183 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 184 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 185 | - · intro t x | |
| 186 | - exact ⟨((hcorrection t x).1).trans_lt hdecay',((hcorrection t x).2).trans_lt hdecay'⟩ | |
| 187 | - · intro ell hell hell1 t | |
| 188 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 189 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 190 | - | |
| 191 | 45 | end EulerPacketTerminalDatum |
+0 −51 Euler/PacketGraphFlowFieldBounds.lean View file
| @@ -15,55 +15,4 @@ open Set Filter EulerLiftedGradientSpace EulerSmoothFlowGevrey | ||
| 15 | 15 | |
| 16 | 16 | variable (P T : ℝ) [Fact (0 < P)] |
| 17 | 17 | |
| 18 | -theorem data_field_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 19 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 20 | - G.C=G.B → G.S=G.R → G.S₁=G.R → | |
| 21 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → | |
| 22 | - G.C₁ ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 23 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 24 | - ∀ t : Icc (0 : ℝ) T, | |
| 25 | - (G.displacementField k m ell hell t).HasJetBound | |
| 26 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 27 | - (G.velocityField k m ell hell t).HasJetBound | |
| 28 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 29 | - (G.accelerationFieldL2 k m ell hell t).HasJetBound | |
| 30 | - (k^ε) (ell⁻¹*k^(1+ε)) := by | |
| 31 | - filter_upwards [physical_bounds_eventually ε (Real.sqrt (2/P+2*P)) hε (Real.sqrt_nonneg _), | |
| 32 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 33 | - intro G hC hS hS₁ hB hR hC₁ hT m hm ell hell hell1 t | |
| 34 | - have hn := hnum G.B G.R T G.C₁ ell G.B_nonneg G.R_pos.le G.time_nonneg | |
| 35 | - G.C₁_nonneg hell hR hT hC₁ hB | |
| 36 | - have hvr : G.velocityRadius=flowRadius G.B G.R T G.R := by rw [Data.velocityRadius,hS] | |
| 37 | - have har : G.accelerationRadius=flowRadius G.B G.R T (6*G.R) := by | |
| 38 | - rw [Data.accelerationRadius,hS,hS₁] | |
| 39 | - congr 1 | |
| 40 | - ring | |
| 41 | - have haa : G.accelerationAmplitude=G.C₁+3*G.B^2*G.R := by | |
| 42 | - rw [Data.accelerationAmplitude,hC] | |
| 43 | - ring | |
| 44 | - have hgf : graphFactor k m=1+k := by | |
| 45 | - rw [graphFactor,hm,abs_of_nonneg (by linarith : 0 ≤ k),mul_one] | |
| 46 | - have hv0 := G.velocityRadius_nonneg | |
| 47 | - have ha0 := G.accelerationRadius_nonneg | |
| 48 | - have hc0 := G.C_nonneg | |
| 49 | - have ht0 := G.time_nonneg | |
| 50 | - have hac0 := G.accelerationAmplitude_nonneg | |
| 51 | - have hg0 := graphFactor_nonneg k m | |
| 52 | - refine ⟨?_,?_,?_⟩ | |
| 53 | - · apply (G.displacementField_bound k m ell hell hell1 t).mono | |
| 54 | - · positivity | |
| 55 | - · positivity | |
| 56 | - · simpa only [hC,hvr] using hn.1 | |
| 57 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 58 | - · apply (G.velocityField_bound k m ell hell hell1 t).mono | |
| 59 | - · positivity | |
| 60 | - · positivity | |
| 61 | - · simpa only [hC,hvr] using hn.2.1 | |
| 62 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 63 | - · apply (G.accelerationField_bound k m ell hell hell1 t).mono | |
| 64 | - · positivity | |
| 65 | - · positivity | |
| 66 | - · simpa only [haa,har] using hn.2.2.1 | |
| 67 | - · simpa only [har,hgf] using hn.2.2.2.2 | |
| 68 | - | |
| 69 | 18 | end EulerPhysicalGraphFlowBounds |
+0 −34 Euler/PacketGraphFlowFrequency.lean View file
| @@ -11,19 +11,6 @@ namespace EulerPacketGraphFlowFrequency | ||
| 11 | 11 | |
| 12 | 12 | open Filter Real EulerSmoothFlowGevrey |
| 13 | 13 | |
| 14 | -def inputExponent (ε : ℝ) : ℝ := min (ε/6) (1/4) | |
| 15 | - | |
| 16 | -theorem inputExponent_pos (ε : ℝ) (hε : 0 < ε) : 0 < inputExponent ε := by | |
| 17 | - unfold inputExponent | |
| 18 | - positivity | |
| 19 | - | |
| 20 | -theorem inputExponent_le_quarter (ε : ℝ) : inputExponent ε ≤ 1/4 := min_le_right _ _ | |
| 21 | - | |
| 22 | -theorem six_inputExponent_le (ε : ℝ) : 6*inputExponent ε ≤ ε := by | |
| 23 | - have h := min_le_left (ε/6) (1/4 : ℝ) | |
| 24 | - dsimp [inputExponent] | |
| 25 | - linarith | |
| 26 | - | |
| 27 | 14 | private theorem flow_radius_polynomial (B R T w : ℝ) |
| 28 | 15 | (hB : 0 ≤ B) (hR : 0 ≤ R) (hT : 0 ≤ T) (hw : 71 ≤ w) |
| 29 | 16 | (hRw : R ≤ w) (hTw : T ≤ w) (hsmall : B*w ≤ 1) : |
| @@ -144,25 +131,4 @@ theorem physical_bounds_of_power (ε η K k B R T C1 ell : ℝ) | ||
| 144 | 131 | _ = _ := by rw [← Real.rpow_add hk0] |
| 145 | 132 | exact ⟨hd.trans hdisp,hv.trans hdisp,ha.trans h6,hr.trans hrad,hr1.trans hrad⟩ |
| 146 | 133 | |
| 147 | -theorem physical_bounds_eventually (ε K : ℝ) (hε : 0 < ε) (hK : 0 ≤ K) : | |
| 148 | - ∀ᶠ k : ℝ in atTop, ∀ B R T C1 ell : ℝ, | |
| 149 | - 0 ≤ B → 0 ≤ R → 0 ≤ T → 0 ≤ C1 → 0 < ell → | |
| 150 | - R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → C1 ≤ k^(inputExponent ε) → | |
| 151 | - B ≤ 2*k^(-(1/2 : ℝ)) → | |
| 152 | - K*(T*B)*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 153 | - K*B*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 154 | - K*(C1+3*B^2*R)*(1+flowRadius B R T (6*R)) ≤ k^ε ∧ | |
| 155 | - ell⁻¹*(4*flowRadius B R T R*(1+k)) ≤ ell⁻¹*k^(1+ε) ∧ | |
| 156 | - ell⁻¹*(4*flowRadius B R T (6*R)*(1+k)) ≤ ell⁻¹*k^(1+ε) := by | |
| 157 | - have hη := inputExponent_pos ε hε | |
| 158 | - have hηq := inputExponent_le_quarter ε | |
| 159 | - have hroot : 0 < 1/2-inputExponent ε := by linarith | |
| 160 | - filter_upwards [eventually_ge_atTop (1 : ℝ), | |
| 161 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop 71, | |
| 162 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop K, | |
| 163 | - (_root_.tendsto_rpow_atTop hroot).eventually_ge_atTop 2] with k hk hw hKw hr | |
| 164 | - intro B R T C1 ell hB hR hT hC1 hell hRw hTw hCw hsmall | |
| 165 | - exact physical_bounds_of_power ε (inputExponent ε) K k B R T C1 ell | |
| 166 | - hη hηq (six_inputExponent_le ε) hK hB hR hT hC1 hk hell hw hKw hRw hTw hCw hr hsmall | |
| 167 | - | |
| 168 | 134 | end EulerPacketGraphFlowFrequency |
+0 −46 Euler/PacketGraphFlowSupBounds.lean View file
| @@ -21,50 +21,4 @@ private theorem radius_le_flowRadius (B R T : ℝ) (hB : 0 ≤ B) (hR : 0 ≤ R) | ||
| 21 | 21 | |
| 22 | 22 | variable (P T : ℝ) [Fact (0 < P)] |
| 23 | 23 | |
| 24 | -theorem data_sup_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 25 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 26 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 27 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 28 | - ∀ t : Icc (0 : ℝ) T, | |
| 29 | - HasSupBound (G.displacementField k m ell hell t).field | |
| 30 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 31 | - HasSupBound (G.velocityField k m ell hell t).field | |
| 32 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) := by | |
| 33 | - filter_upwards [physical_bounds_eventually ε 1 hε zero_le_one, | |
| 34 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 35 | - intro G hB hR hT m hm ell hell hell1 t | |
| 36 | - have hk0 : 0 ≤ k := by linarith | |
| 37 | - have hn := hnum G.B G.R T 0 ell G.B_nonneg G.R_pos.le G.time_nonneg le_rfl hell | |
| 38 | - hR hT (Real.rpow_nonneg hk0 _) hB | |
| 39 | - have hgf : graphFactor k m=1+k := by rw [graphFactor,hm,abs_of_nonneg hk0,mul_one] | |
| 40 | - have hf0 : 0 ≤ flowRadius G.B G.R T G.R := by | |
| 41 | - have := G.B_nonneg | |
| 42 | - have := G.R_pos | |
| 43 | - have := G.time_nonneg | |
| 44 | - unfold flowRadius | |
| 45 | - positivity | |
| 46 | - have hrad := hn.2.2.2.1 | |
| 47 | - have hB0 := G.B_nonneg | |
| 48 | - have hT0 := G.time_nonneg | |
| 49 | - have hR0 := G.R_pos.le | |
| 50 | - have hg0 := graphFactor_nonneg k m | |
| 51 | - have hdisp : G.B*T ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 52 | - apply (show G.B*T ≤ T*G.B*(1+flowRadius G.B G.R T G.R) by | |
| 53 | - nlinarith [mul_nonneg (mul_nonneg hB0 hT0) hf0]).trans | |
| 54 | - simpa only [one_mul] using hn.1 | |
| 55 | - have hvel : G.B ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 56 | - apply (show G.B ≤ G.B*(1+flowRadius G.B G.R T G.R) by nlinarith [mul_nonneg hB0 hf0]).trans | |
| 57 | - simpa only [one_mul] using hn.2.1 | |
| 58 | - constructor | |
| 59 | - · apply (G.displacement_sup_bound k m ell hell hell1 t).mono (mul_nonneg hB0 hT0) (by positivity) hdisp | |
| 60 | - rw [hgf] | |
| 61 | - apply le_trans _ hrad | |
| 62 | - gcongr | |
| 63 | - exact radius_le_flowRadius G.B G.R T hB0 hR0 hT0 | |
| 64 | - · apply (G.velocity_sup_bound k m ell hell hell1 t).mono hB0 (by positivity) hvel | |
| 65 | - rw [hgf] | |
| 66 | - apply le_trans _ hrad | |
| 67 | - gcongr | |
| 68 | - nlinarith | |
| 69 | - | |
| 70 | 24 | end EulerPhysicalGraphFlowBounds |
+0 −58 Euler/PacketInitializedChildBounds.lean View file
| @@ -45,62 +45,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 45 | 45 | |
| 46 | 46 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 47 | 47 | |
| 48 | -theorem initialized_child_label_bounds_eventually (q : ℕ) : | |
| 49 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 50 | - ∀ᶠ k : ℝ in atTop, | |
| 51 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 52 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 53 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 54 | - (truncation k) hn k hk)) | |
| 55 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 56 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 57 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 58 | - G.A = Q.liftedPacketCoefficient period | |
| 59 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 61 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 62 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 63 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 65 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 66 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 67 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 68 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 69 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 70 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 71 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 72 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 73 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 74 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 75 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 76 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 77 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 78 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 79 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 80 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 81 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 82 | - (∀ t n, | |
| 83 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 84 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 85 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 86 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 87 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := initialized_flow_and_shear_eventually | |
| 88 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 89 | - (1/4) (by norm_num) | |
| 90 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 91 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 92 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 93 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 94 | - with k hsource hk69 hKk hbig hcost hinv | |
| 95 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 96 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 97 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 98 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 99 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 100 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 101 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 102 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 103 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 104 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 105 | - | |
| 106 | 48 | end EulerPacketTerminalDatum |
+0 −78 Euler/PacketInitializedCorrectionEstimateChoice.lean View file
| @@ -31,82 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- Original source budgets determine fixed positive constants and a | |
| 35 | -fixed positive radius for all sufficiently large frequencies. Every | |
| 36 | -norm is evaluated on the actual correction selected by the drift-aware | |
| 37 | -construction, with no pressure or time estimate as an input. -/ | |
| 38 | -theorem initialized_correction_estimates_eventually : | |
| 39 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 40 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 41 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 42 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 43 | - (truncation k) hn k hk)), | |
| 44 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 45 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 46 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 47 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 48 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 49 | - classical | |
| 50 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 51 | - let Kc := L.correctionCoefficients NB period | |
| 52 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 53 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 54 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 55 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 56 | - rw [hprofile] | |
| 57 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 58 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 60 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 61 | - let Ce := correctionBase D | |
| 62 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 63 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 64 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 65 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce, abs_nonneg Cp, abs_nonneg Ct] | |
| 66 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp, abs_nonneg Ce, abs_nonneg Ct] | |
| 67 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct, abs_nonneg Ce, abs_nonneg Cp] | |
| 68 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 69 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 70 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 72 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 73 | - filter_upwards [fixed_costs_eventually | |
| 74 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 75 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 76 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 77 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 78 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 79 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 80 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 81 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 82 | - Ξ hΞ hF hdet | |
| 83 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 84 | - intro s N hN t | |
| 85 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,initializedAllOrderBudget] | |
| 86 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 87 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,initializedAllOrderBudget,ρ0] | |
| 88 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 89 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,initializedAllOrderBudget, | |
| 90 | - initializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 91 | - ring | |
| 92 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 94 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 95 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 96 | - sourceMetricBudgetOfFields,sourceMetricBudget,Cp,correctionPressureCost,correctionSourceCost,correctionBase] | |
| 97 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 98 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 99 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 100 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 101 | - sourceMetricBudgetOfFields,sourceMetricBudget,Ct,correctionTimeCost,correctionSourceCost,correctionBase] | |
| 102 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 103 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 104 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 105 | - rw [hrQ,heQ] at he | |
| 106 | - rw [hrQ,hpQ,hδQ] at hp | |
| 107 | - rw [hrQ,htQ,hδQ] at ht | |
| 108 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 109 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 110 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 111 | - | |
| 112 | 34 | end EulerPacketTerminalDatum |
+0 −164 Euler/PacketInitializedFlowAndShear.lean View file
| @@ -44,168 +44,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 44 | 44 | |
| 45 | 45 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 46 | 46 | |
| 47 | -theorem initialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 48 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 49 | - ∀ᶠ k : ℝ in atTop, | |
| 50 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 51 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 52 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 53 | - (truncation k) hn k hk)) | |
| 54 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 76 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 80 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 81 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 82 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 83 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 84 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 85 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 86 | - classical | |
| 87 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 88 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 89 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 90 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 92 | - rw [hprofile] | |
| 93 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 94 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := initialized_correction_estimates_eventually | |
| 95 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 96 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 97 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 98 | - let Ch := 6*N'.blockAmplitude* | |
| 99 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 100 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 101 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 102 | - let Ev := 2*liftedInputConstant period*Cw | |
| 103 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 104 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 105 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 106 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 107 | - let Cv := 1+|Kv| | |
| 108 | - let Cp := 1+|Kp| | |
| 109 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_bounds.1; linarith | |
| 110 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 111 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 112 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 113 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 114 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 115 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 116 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 117 | - have hCh : 0 ≤ Ch := by | |
| 118 | - have hN := N'.blockAmplitude_nonneg | |
| 119 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 1 | |
| 120 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 2 | |
| 121 | - dsimp [Ch] | |
| 122 | - positivity | |
| 123 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 124 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 125 | - have hEta := inputExponent_pos ε hε | |
| 126 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 127 | - intro t x | |
| 128 | - rw [← hF t x] | |
| 129 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 130 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 131 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 132 | - filter_upwards [hQ, | |
| 133 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 134 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 135 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 136 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 137 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 138 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 139 | - data_field_bounds_eventually period D.T ε hε, | |
| 140 | - data_sup_bounds_eventually period D.T ε hε] | |
| 141 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 142 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 143 | - have hk0 : 0 < k := by linarith | |
| 144 | - have hk1 : 1 ≤ k := by linarith | |
| 145 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 146 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 147 | - let V := initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 148 | - let Vt := initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 149 | - have hv := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 150 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 151 | - have hnrm := initializedNormalizedField_normal_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 152 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 153 | - have hvt := initializedNormalizedDerivativeField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 154 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 155 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 156 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 157 | - (hweighted (n+6) n le_rfl t).1 | |
| 158 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 159 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 160 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 161 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 162 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 163 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 164 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 165 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 166 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 167 | - ring | |
| 168 | - let G := Q.physicalFlowData period V Vt rfl | |
| 169 | - (initializedNormalizedField_time M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) | |
| 170 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 171 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 172 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 173 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 174 | - rw [hsize] | |
| 175 | - exact hsmall.2.2.2) | |
| 176 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 177 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 178 | - rw [hsize] | |
| 179 | - exact hsmall.2.2.1 | |
| 180 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 181 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 182 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 183 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 184 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 185 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 186 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 187 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 188 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 189 | - · intro t z | |
| 190 | - change graphConstraint k D.m₀ | |
| 191 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 192 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 193 | - · intro t x | |
| 194 | - constructor | |
| 195 | - · have h := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 196 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 197 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 198 | - have hc := ((hcorrection t x).1).trans_lt hdecay' | |
| 199 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 200 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cv]; ring)) | |
| 201 | - · have h := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 202 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 203 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 204 | - have hc := ((hcorrection t x).2).trans_lt hdecay' | |
| 205 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 206 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cp]; ring)) | |
| 207 | - · intro ell hell hell1 t | |
| 208 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 209 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 210 | - | |
| 211 | 47 | end EulerPacketTerminalDatum |
+0 −44 Euler/PacketLiftedSmallness.lean View file
| @@ -13,48 +13,4 @@ open scoped Topology | ||
| 13 | 13 | |
| 14 | 14 | def liftedAmplitude (C E k : ℝ) : ℝ := C/k + E*delta (expansion k) |
| 15 | 15 | |
| 16 | -theorem fixed_div_eventually_le_inverse_half (C : ℝ) : | |
| 17 | - ∀ᶠ k : ℝ in atTop, C/k ≤ k^(-(1/2 : ℝ)) := by | |
| 18 | - filter_upwards [(_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop C, | |
| 19 | - eventually_gt_atTop (0 : ℝ)] with k hC hk | |
| 20 | - apply (div_le_iff₀ hk).mpr | |
| 21 | - have he : k^(-(1/2 : ℝ))*k = k^(1/2 : ℝ) := by | |
| 22 | - calc | |
| 23 | - _ = k^(-(1/2 : ℝ))*k^(1 : ℝ) := by rw [Real.rpow_one] | |
| 24 | - _ = k^(-(1/2 : ℝ)+1) := (Real.rpow_add hk _ _).symm | |
| 25 | - _ = _ := by norm_num | |
| 26 | - rwa [he] | |
| 27 | - | |
| 28 | -theorem liftedAmplitude_nonneg (C E k : ℝ) (hC : 0 ≤ C) (hE : 0 ≤ E) (hk : 0 ≤ k) : | |
| 29 | - 0 ≤ liftedAmplitude C E k := by | |
| 30 | - unfold liftedAmplitude | |
| 31 | - exact add_nonneg (div_nonneg hC hk) (mul_nonneg hE (delta_pos (expansion k)).le) | |
| 32 | - | |
| 33 | -theorem liftedAmplitude_eventually_le_inverse_half (C E : ℝ) : | |
| 34 | - ∀ᶠ k : ℝ in atTop, liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 35 | - filter_upwards [fixed_div_eventually_le_inverse_half C, | |
| 36 | - correction_eventually_lt_inverse_power E (1/2)] with k hC hE | |
| 37 | - have h := add_le_add hC hE.le | |
| 38 | - simpa only [liftedAmplitude, two_mul] using h | |
| 39 | - | |
| 40 | -theorem liftedAmplitude_small_eventually (C E R T : ℝ) | |
| 41 | - (hC : 0 ≤ C) (hE : 0 ≤ E) (hR : 0 ≤ R) (hT : 0 ≤ T) : | |
| 42 | - ∀ᶠ k : ℝ in atTop, 4 ≤ k ∧ 0 ≤ liftedAmplitude C E k ∧ | |
| 43 | - liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) ∧ | |
| 44 | - liftedAmplitude C E k*R*T ≤ 1/8 := by | |
| 45 | - filter_upwards [eventually_ge_atTop (4 : ℝ), | |
| 46 | - liftedAmplitude_eventually_le_inverse_half C E, | |
| 47 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop (16*R*T)] | |
| 48 | - with k hk hb hroot | |
| 49 | - have hk0 : 0 < k := by linarith | |
| 50 | - have hp : 0 < k^(1/2 : ℝ) := Real.rpow_pos_of_pos hk0 _ | |
| 51 | - refine ⟨hk, liftedAmplitude_nonneg C E k hC hE hk0.le, hb, ?_⟩ | |
| 52 | - calc | |
| 53 | - _ ≤ (2*k^(-(1/2 : ℝ)))*R*T := | |
| 54 | - mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hb hR) hT | |
| 55 | - _ = (2*R*T)/k^(1/2 : ℝ) := by rw [Real.rpow_neg hk0.le]; ring | |
| 56 | - _ ≤ 1/8 := by | |
| 57 | - apply (div_le_iff₀ hp).mpr | |
| 58 | - nlinarith | |
| 59 | - | |
| 60 | 16 | end EulerPacketSourceFrequency |
+0 −11 Euler/QuadraticCauchy.lean View file
| @@ -14,17 +14,6 @@ theorem transport_quadratic_bound {X Y Z : Type*} | ||
| 14 | 14 | (h : ‖x‖^2 ≤ a*‖y‖^2+b*‖z‖^2) : ‖x'‖^2 ≤ a*‖y'‖^2+b*‖z'‖^2 := by |
| 15 | 15 | subst x'; subst y'; subst z'; exact h |
| 16 | 16 | |
| 17 | -/-- A quadratic norm estimate passes to actual strong limits in three normed spaces. -/ | |
| 18 | -theorem limit_quadratic_bound {X Y Z : Type*} | |
| 19 | - [NormedAddCommGroup X] [NormedAddCommGroup Y] [NormedAddCommGroup Z] | |
| 20 | - (U : ℕ → X) (F : ℕ → Y) (V : ℕ → Z) (u : X) (f : Y) (v : Z) (a b : ℝ) | |
| 21 | - (hu : Filter.Tendsto U Filter.atTop (𝓝 u)) | |
| 22 | - (hf : Filter.Tendsto F Filter.atTop (𝓝 f)) | |
| 23 | - (hv : Filter.Tendsto V Filter.atTop (𝓝 v)) | |
| 24 | - (hb : ∀ n, ‖V n‖^2 ≤ a*‖U n‖^2+b*‖F n‖^2) : ‖v‖^2 ≤ a*‖u‖^2+b*‖f‖^2 := by | |
| 25 | - exact le_of_tendsto_of_tendsto' (hv.norm.pow 2) | |
| 26 | - (((hu.norm.pow 2).const_mul a).add ((hf.norm.pow 2).const_mul b)) hb | |
| 27 | - | |
| 28 | 17 | /-- A sequence whose squared differences are bounded by two Cauchy-sequence differences is Cauchy. -/ |
| 29 | 18 | theorem cauchy_of_quadratic_bound {X Y Z : Type*} |
| 30 | 19 | [NormedAddCommGroup X] [NormedAddCommGroup Y] [NormedAddCommGroup Z] |
+0 −25 Euler/ResolventCalculus.lean View file
| @@ -56,29 +56,4 @@ theorem continuousAt_of_resolvent {α : Type*} [TopologicalSpace α] (P M : α | ||
| 56 | 56 | |
| 57 | 57 | variable [NormedAlgebra ℝ R] |
| 58 | 58 | |
| 59 | -/-- Differentiating the actual resolvent identity gives the inverse derivative, after continuity has been proved from the same identity. -/ | |
| 60 | -theorem hasDerivAt_of_resolvent (P M : ℝ → R) | |
| 61 | - (hres : ∀ s t, P s - P t = P s * ((M t - M s) * P t)) | |
| 62 | - (t : ℝ) (M' : R) (hM : HasDerivAt M M' t) : | |
| 63 | - HasDerivAt P (-(P t * (M' * P t))) t := by | |
| 64 | - have hP := continuousAt_of_resolvent P M hres t hM.continuousAt | |
| 65 | - have hshift : Filter.Tendsto (fun r => P (t + r)) (𝓝[≠] 0) (𝓝 (P t)) := by | |
| 66 | - have h : Filter.Tendsto (fun r => P (t + r)) (𝓝 (0 : ℝ)) (𝓝 (P t)) := by | |
| 67 | - have hadd : Filter.Tendsto (fun r : ℝ => t + r) (𝓝 (0 : ℝ)) (𝓝 t) := by | |
| 68 | - simpa only [add_zero, id_eq] using (tendsto_const_nhds.add (Filter.tendsto_id : Filter.Tendsto id (𝓝 (0 : ℝ)) (𝓝 0))) | |
| 69 | - exact hP.tendsto.comp hadd | |
| 70 | - exact h.mono_left nhdsWithin_le_nhds | |
| 71 | - have hneg : Filter.Tendsto (fun r : ℝ => r⁻¹ • (M t - M (t + r))) (𝓝[≠] 0) (𝓝 (-M')) := by | |
| 72 | - simpa only [← smul_neg, neg_sub] using hM.tendsto_slope_zero.neg | |
| 73 | - have hlim : Filter.Tendsto (fun r : ℝ => P (t + r) * ((r⁻¹ • (M t - M (t + r))) * P t)) | |
| 74 | - (𝓝[≠] 0) (𝓝 (P t * ((-M') * P t))) := hshift.mul (hneg.mul tendsto_const_nhds) | |
| 75 | - apply hasDerivAt_iff_tendsto_slope_zero.mpr | |
| 76 | - have he : (fun r : ℝ => r⁻¹ • (P (t + r) - P t)) = | |
| 77 | - fun r : ℝ => P (t + r) * ((r⁻¹ • (M t - M (t + r))) * P t) := by | |
| 78 | - funext r | |
| 79 | - rw [hres] | |
| 80 | - simp only [smul_mul_assoc, mul_smul_comm] | |
| 81 | - rw [he] | |
| 82 | - simpa only [neg_mul, mul_neg] using hlim | |
| 83 | - | |
| 84 | 59 | end EulerResolventCalculus |
+0 −6 Euler/SeparatingTimeDerivative.lean View file
| @@ -59,10 +59,4 @@ theorem hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 59 | 59 | simpa only [extendPath,projIcc_of_mem hT hr,integral_apply] using |
| 60 | 60 | eq_initial_add_integral T hT f g L hsep hd ⟨r,hr⟩ |
| 61 | 61 | |
| 62 | -include hsep hd in | |
| 63 | -theorem hasDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 64 | - HasDerivAt (extendPath T hT f) (g ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 65 | - (hasDerivWithinAt T hT f g L hsep hd ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt | |
| 66 | - (Icc_mem_nhds ht.1 ht.2) | |
| 67 | - | |
| 68 | 62 | end EulerSeparatingTimeDerivative |
+0 −27 Euler/SmoothEulerEvolution.lean View file
| @@ -56,20 +56,6 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 56 | 56 | (hU : ∀ n, Continuous (fun t => (U t).jetLp n)) |
| 57 | 57 | (hG : ∀ n, Continuous (fun t => (G t).jetLp n)) |
| 58 | 58 | |
| 59 | -theorem sobolev_evolution | |
| 60 | - (hd : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 61 | - HasDerivAt (fun r => (U (projIcc 0 T hT r)).field x) | |
| 62 | - (-fderiv ℝ (U ⟨t,ht.1.le,ht.2.le⟩).field x ((U ⟨t,ht.1.le,ht.2.le⟩).field x)- | |
| 63 | - (G ⟨t,ht.1.le,ht.2.le⟩).field x) t) | |
| 64 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 65 | - HasDerivWithinAt (extendPath T hT (sobolevPath U hU q)) | |
| 66 | - (sobolevPath (rhs U hU G) (rhs_jet_continuous U hU G hG) q t) | |
| 67 | - (Icc (0 : ℝ) T) t := by | |
| 68 | - apply sobolevPath_hasDerivWithinAt T hT U (rhs U hU G) hU (rhs_jet_continuous U hU G hG) | |
| 69 | - intro r hr x | |
| 70 | - rw [rhs_field] | |
| 71 | - exact hd r hr x | |
| 72 | - | |
| 73 | 59 | theorem pointwise_time_derivative_of_classical |
| 74 | 60 | (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) |
| 75 | 61 | (hmatch : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) |
| @@ -109,17 +95,4 @@ theorem pointwise_time_derivative_of_classical | ||
| 109 | 95 | rw [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 110 | 96 | exact (hmatch ⟨r,hr.1.le,hr.2.le⟩ x).symm |
| 111 | 97 | |
| 112 | -theorem sobolev_evolution_of_classical | |
| 113 | - (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) | |
| 114 | - (hmatch : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) | |
| 115 | - (hgradient : ∀ (t : Icc (0 : ℝ) T) x, gradient (fun y => p (t,y)) x=(G t).field x) | |
| 116 | - (hdiff : ∀ t ∈ Ioo 0 T, ∀ x, DifferentiableAt ℝ u (t,x)) | |
| 117 | - (heuler : ∀ t ∈ Ioo 0 T, ∀ x, EulerLagrangian.momentumResidual u p (t,x)=0) | |
| 118 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 119 | - HasDerivWithinAt (extendPath T hT (sobolevPath U hU q)) | |
| 120 | - (sobolevPath (rhs U hU G) (rhs_jet_continuous U hU G hG) q t) | |
| 121 | - (Icc (0 : ℝ) T) t := | |
| 122 | - sobolev_evolution T hT U G hU hG | |
| 123 | - (pointwise_time_derivative_of_classical T hT U G u p hmatch hgradient hdiff heuler) q t | |
| 124 | - | |
| 125 | 98 | end EulerSmoothEulerEvolution |
+0 −39 Euler/SmoothPhysicalGraphFlow.lean View file
| @@ -26,36 +26,6 @@ theorem graph_materialVelocity_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 26 | 26 | rw [← graph_flow_cover k m T hT A hgraph] |
| 27 | 27 | rfl |
| 28 | 28 | |
| 29 | -include hgraph in | |
| 30 | -theorem graph_accelerationField_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 31 | - accelerationField T (graphCoefficient k m T A) (graphCoefficient k m T A₁) t x = | |
| 32 | - (accelerationField T A A₁ t (graphLinear k m x)).1 := by | |
| 33 | - let J := graphLinear k m | |
| 34 | - let L := fst ℝ Vector3 ℝ | |
| 35 | - have hd := (L.hasFDerivAt.comp x | |
| 36 | - (((A.smooth t).differentiable (by simp) (J x)).hasFDerivAt.comp x J.hasFDerivAt)).fderiv | |
| 37 | - change fderiv ℝ ((graphCoefficient k m T A).field t : Vector3 → Vector3) x = | |
| 38 | - L.comp ((fderiv ℝ (A.field t : LiftTangent → LiftTangent) (J x)).comp J) at hd | |
| 39 | - have hval : J (A.field t (J x)).1 = A.field t (J x) := by | |
| 40 | - apply Prod.ext | |
| 41 | - · rfl | |
| 42 | - · exact (sub_eq_zero.mp (hgraph t (J x))).symm | |
| 43 | - change (A₁.field t (J x)).1+ | |
| 44 | - fderiv ℝ ((graphCoefficient k m T A).field t : Vector3 → Vector3) x (A.field t (J x)).1 = _ | |
| 45 | - rw [hd,comp_apply,comp_apply,hval] | |
| 46 | - rfl | |
| 47 | - | |
| 48 | -include hgraph in | |
| 49 | -theorem graph_materialAcceleration_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 50 | - materialAcceleration T hT (graphCoefficient k m T A) (graphCoefficient k m T A₁) t x = | |
| 51 | - (materialAcceleration T hT A A₁ t (graphLinear k m x)).1 := by | |
| 52 | - unfold materialAcceleration | |
| 53 | - rw [graph_accelerationField_eq k m T A A₁ hgraph] | |
| 54 | - change (accelerationField T A A₁ t (graphLinear k m | |
| 55 | - ((flowData T hT (graphCoefficient k m T A)).flow 0 t x))).1 = _ | |
| 56 | - rw [← graph_flow_cover k m T hT A hgraph] | |
| 57 | - rfl | |
| 58 | - | |
| 59 | 29 | def physicalCoefficient (ell : ℝ) : SmoothTimeField (Icc (0 : ℝ) T) Vector3 Vector3 := |
| 60 | 30 | scaledCoefficient T (graphCoefficient k m T A) ell |
| 61 | 31 | |
| @@ -85,15 +55,6 @@ theorem physical_materialVelocity_eq (ell : ℝ) (hell : ell ≠ 0) | ||
| 85 | 55 | rw [physicalCoefficient,scaled_materialVelocity_eq T hT (graphCoefficient k m T A) ell hell, |
| 86 | 56 | graph_materialVelocity_eq k m T hT A hgraph] |
| 87 | 57 | |
| 88 | -include hgraph in | |
| 89 | -theorem physical_materialAcceleration_eq (ell : ℝ) (hell : ell ≠ 0) | |
| 90 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 91 | - materialAcceleration T hT (physicalCoefficient k m T A ell) (physicalCoefficient k m T A₁ ell) t x = | |
| 92 | - ell • (materialAcceleration T hT A A₁ t (graphLinear k m (ell⁻¹ • x))).1 := by | |
| 93 | - rw [physicalCoefficient,physicalCoefficient, | |
| 94 | - scaled_materialAcceleration_eq T hT (graphCoefficient k m T A) ell | |
| 95 | - (graphCoefficient k m T A₁) hell,graph_materialAcceleration_eq k m T hT A A₁ hgraph] | |
| 96 | - | |
| 97 | 58 | variable (hdiv : ∀ t z, |
| 98 | 59 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) z).toLinearMap=0) |
| 99 | 60 | |
+0 −21 Euler/SmoothScaledFlow.lean View file
| @@ -78,27 +78,6 @@ theorem scaledCoefficient_fderiv (hell : ell ≠ 0) (t : Icc (0 : ℝ) T) (x : E | ||
| 78 | 78 | ext v |
| 79 | 79 | simp only [FunLike.coe_smul,Pi.smul_apply,comp_apply,id_apply,map_smul,smul_smul,mul_inv_cancel₀ hell,one_smul] |
| 80 | 80 | |
| 81 | -omit [FiniteDimensional ℝ E] in | |
| 82 | -theorem scaled_accelerationField_eq | |
| 83 | - (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) (hell : ell ≠ 0) | |
| 84 | - (t : Icc (0 : ℝ) T) (x : E) : | |
| 85 | - accelerationField T (scaledCoefficient T A ell) (scaledCoefficient T A₁ ell) t x = | |
| 86 | - ell • accelerationField T A A₁ t (ell⁻¹ • x) := by | |
| 87 | - simp only [accelerationField,scaledCoefficient_apply,scaledCoefficient_fderiv T A ell hell, | |
| 88 | - map_smul,smul_add] | |
| 89 | - | |
| 90 | -theorem scaled_materialAcceleration_eq | |
| 91 | - (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) (hell : ell ≠ 0) | |
| 92 | - (t : Icc (0 : ℝ) T) (x : E) : | |
| 93 | - materialAcceleration T hT (scaledCoefficient T A ell) (scaledCoefficient T A₁ ell) t x = | |
| 94 | - ell • materialAcceleration T hT A A₁ t (ell⁻¹ • x) := by | |
| 95 | - unfold materialAcceleration | |
| 96 | - rw [scaled_accelerationField_eq T A ell A₁ hell] | |
| 97 | - change ell • accelerationField T A A₁ t | |
| 98 | - (ell⁻¹ • (flowData T hT (scaledCoefficient T A ell)).flow 0 t x) = _ | |
| 99 | - rw [scaled_flow_eq T hT A ell hell,smul_smul,inv_mul_cancel₀ hell,one_smul] | |
| 100 | - rfl | |
| 101 | - | |
| 102 | 81 | omit [FiniteDimensional ℝ E] in |
| 103 | 82 | theorem scaledCoefficient_trace_zero (hell : ell ≠ 0) |
| 104 | 83 | (hdiv : ∀ t x, LinearMap.trace ℝ E (fderiv ℝ (A.field t : E → E) x).toLinearMap=0) |
+0 −8 Euler/SmoothTimeAmplitudeBounds.lean View file
| @@ -32,14 +32,6 @@ theorem coefficient_jet_norm (ε : ℝ) (hε : 0 < ε) | ||
| 32 | 32 | exact mul_le_mul (smul_id_norm_le ε⁻¹ (inv_nonneg.mpr hε.le)) |
| 33 | 33 | (A.compTime_jet_norm (timeMap ε hε) n) (norm_nonneg _) (inv_nonneg.mpr hε.le) |
| 34 | 34 | |
| 35 | -theorem derivativeCoefficient_jet_norm (ε : ℝ) (hε : 0 < ε) | |
| 36 | - (A : SmoothTimeField (Icc (0 : ℝ) 1) E V) (n : ℕ) : | |
| 37 | - ‖(derivativeCoefficient ε hε A).jet n‖ ≤ (ε⁻¹)^2*‖A.jet n‖ := by | |
| 38 | - apply ((A.compTime (timeMap ε hε)).map_jet_norm_le | |
| 39 | - ((ε⁻¹)^2 • ContinuousLinearMap.id ℝ V) n).trans | |
| 40 | - exact mul_le_mul (smul_id_norm_le ((ε⁻¹)^2) (sq_nonneg _)) | |
| 41 | - (A.compTime_jet_norm (timeMap ε hε) n) (norm_nonneg _) (sq_nonneg _) | |
| 42 | - | |
| 43 | 35 | theorem mapField_hasJetBound (a : ℝ) (ha : 0 ≤ a) (F : SmoothL2Field V) |
| 44 | 36 | (C R : ℝ) (hF : F.HasJetBound C R) : |
| 45 | 37 | (SmoothL2Field.mapField (a • ContinuousLinearMap.id ℝ V) F).HasJetBound (a*C) R := by |
+0 −23 Euler/SobolevTimeRegularization.lean View file
| @@ -14,27 +14,4 @@ open scoped Topology | ||
| 14 | 14 | |
| 15 | 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | 16 | |
| 17 | -/-- The genuine Sobolev heat regularizations converge strongly on every Bochner L² time field. -/ | |
| 18 | -theorem heat_timeLp_tendsto (q : ℕ) (T : ℝ) (u : TimeLp T (SobolevSpace period q)) : | |
| 19 | - Filter.Tendsto (fun n => (heatOperator period q (regularizerVariance n)).compLpL 2 (timeMeasure T) u) | |
| 20 | - Filter.atTop (𝓝 u) := by | |
| 21 | - apply strong_operator_timeLp_tendsto T (fun n => heatOperator period q (regularizerVariance n)) 1 | |
| 22 | - · intro n x | |
| 23 | - simpa only [one_mul] using heatOperator_bound period (regularizerVariance n) x | |
| 24 | - · intro x | |
| 25 | - have h := (heatOperator_continuous period x).continuousAt.tendsto.comp regularizerVariance_tendsto | |
| 26 | - simpa only [heatOperator_zero, Function.comp_def] using h | |
| 27 | - | |
| 28 | -/-- Actual heat approximation commutes asymptotically with every continuous bounded time-dependent Sobolev operator. -/ | |
| 29 | -theorem heat_time_commutator_tendsto (p q : ℕ) (T : ℝ) (hT : 0 ≤ T) | |
| 30 | - (A : C(Icc (0 : ℝ) T, SobolevSpace period q →L[ℝ] SobolevSpace period p)) | |
| 31 | - (u : TimeLp T (SobolevSpace period q)) : | |
| 32 | - Filter.Tendsto (fun n => | |
| 33 | - timeMultiplier T hT A ((heatOperator period q (regularizerVariance n)).compLpL 2 (timeMeasure T) u) - | |
| 34 | - (heatOperator period p (regularizerVariance n)).compLpL 2 (timeMeasure T) (timeMultiplier T hT A u)) | |
| 35 | - Filter.atTop (𝓝 0) := by | |
| 36 | - have hA := (timeMultiplier T hT A).continuous.continuousAt.tendsto.comp (heat_timeLp_tendsto period q T u) | |
| 37 | - have hB := heat_timeLp_tendsto period p T (timeMultiplier T hT A u) | |
| 38 | - simpa only [sub_self, Function.comp_def] using hA.sub hB | |
| 39 | - | |
| 40 | 17 | end EulerSobolevTimeRegularization |
+0 −29 Euler/TransverseCoefficientGevrey.lean View file
| @@ -33,9 +33,6 @@ def derivativeCost (T C₀ C₁ : ℝ) : ℝ := T*C₁+C₀ | ||
| 33 | 33 | def formCost (T C₀ C₁ CH : ℝ) : ℝ := |
| 34 | 34 | 9 * (derivativeCost T C₀ C₁)^2 * (1 + T^2*CH) |
| 35 | 35 | |
| 36 | -/-- The polynomial cost of the actual weak forcing term. -/ | |
| 37 | -def forcingCost (T C₀ C₁ : ℝ) : ℝ := 3 * (T * derivativeCost T C₀ C₁) | |
| 38 | - | |
| 39 | 36 | omit [CompleteSpace U] [CompleteSpace E] in |
| 40 | 37 | /-- Every actual derivative of the fixed kinetic map has the same factorial bound. -/ |
| 41 | 38 | theorem fixedFrameDerivative_bound (T : ℝ) (hT : 0 ≤ T) |
| @@ -147,30 +144,4 @@ theorem fixedFrameOperator_bound (T : ℝ) (hT : 0 ≤ T) | ||
| 147 | 144 | convert h using 1 |
| 148 | 145 | rfl |
| 149 | 146 | |
| 150 | -/-- The genuine weak right side has the input shift with a fixed polynomial cost. -/ | |
| 151 | -theorem fixedForcing_bound (T : ℝ) (hT : 0 ≤ T) | |
| 152 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 153 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 154 | - (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 155 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 156 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 157 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 158 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 159 | - (n : ℕ) (x : P) : | |
| 160 | - ‖iteratedFDeriv ℝ n | |
| 161 | - (fun y => (-(fixedFramePrimitive T hT (Q y) (Q₁ y)).adjoint) (f y)) x‖ ≤ | |
| 162 | - forcingCost T C₀ C₁ * majorant R d n := by | |
| 163 | - let Z := fun y => fixedFramePrimitive T hT (Q y) (Q₁ y) | |
| 164 | - have hZ : ContDiff ℝ ∞ Z := contDiff_fixedFramePrimitive T hT Q Q₁ hQ hQ₁ | |
| 165 | - have hZT : ContDiff ℝ ∞ (fun y => (Z y).adjoint) := | |
| 166 | - contDiff_adjoint hZ | |
| 167 | - have hC : 0 ≤ T * derivativeCost T C₀ C₁ := by unfold derivativeCost; positivity | |
| 168 | - have hbound := adjoint_bound Z hZ R (T * derivativeCost T C₀ C₁) hR hC 0 | |
| 169 | - (fixedFramePrimitive_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁) | |
| 170 | - have hp (k : ℕ) (y : P) := clm_apply_bound (fun z => -(Z z).adjoint) f | |
| 171 | - hZT.neg hf R (T * derivativeCost T C₀ C₁) 1 hR hC zero_le_one 0 d | |
| 172 | - (neg_bound (fun z => (Z z).adjoint) R _ 0 hbound) | |
| 173 | - (by simpa only [one_mul] using hbf) k y | |
| 174 | - simpa only [forcingCost, mul_one, Nat.zero_add] using hp n x | |
| 175 | - | |
| 176 | 147 | end EulerTransverseCoefficientGevrey |
+0 −12 Euler/TransverseCoordinateRegularity.lean View file
| @@ -161,16 +161,4 @@ theorem coordinateDerivative_reconstruct (m : Icc (0 : ℝ) T → E) | ||
| 161 | 161 | coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) |
| 162 | 162 | (transverse_range T hT Q m hRange u) |
| 163 | 163 | |
| 164 | -include hd in | |
| 165 | -/-- The transverse physical derivative has its actual coordinate expression a.e. -/ | |
| 166 | -theorem coordinateDerivative_reconstruct_ae (m : Icc (0 : ℝ) T → E) | |
| 167 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 168 | - (u : transverseDerivatives T hT m) : | |
| 169 | - ∀ᵐ t ∂timeMeasure T, | |
| 170 | - (u : TimeLp T E) t = | |
| 171 | - extendPath T hT Q₁ t (coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) t) + | |
| 172 | - extendPath T hT Q t (coordinateDerivative T hT Q Q₁ c hc hQ (u : TimeLp T E) t) := | |
| 173 | - coordinateDerivative_reconstruct_ae_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) | |
| 174 | - (transverse_range T hT Q m hRange u) | |
| 175 | - | |
| 176 | 164 | end EulerTransverseCoordinateRegularity |
+0 −16 Euler/TransverseEndpointDifference.lean View file
| @@ -180,20 +180,4 @@ variable (m n : Icc (0 : ℝ) T → E) | ||
| 180 | 180 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ v : U, Q t v = η) |
| 181 | 181 | (hRange' : ∀ t η, ⟪n t, η⟫_ℝ = 0 → ∃ v : U, P t v = η) |
| 182 | 182 | |
| 183 | -include c hc hQ hd hP hp hm hn hRange hRange' in | |
| 184 | -/-- A genuine neighboring-label bound on the physical endpoint solutions. -/ | |
| 185 | -theorem affineEndpoint_sub_norm_le (d a r : ℝ) | |
| 186 | - (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hD' : T * ‖P₁‖ + ‖P‖ ≤ d) | |
| 187 | - (hA : 1 + T ^ 2 * ‖H‖ ≤ a) (hA' : 1 + T ^ 2 * ‖G‖ ≤ a) | |
| 188 | - (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) : | |
| 189 | - ‖endpointDerivative T hT m H K hK hH hsmall (affineTrial T hT Q Q₁) - | |
| 190 | - endpointDerivative T hT n G K hK hG hsmall (affineTrial T hT P P₁)‖ ≤ | |
| 191 | - affineCost T * endpointDifferenceCost d (2*r^2) a | |
| 192 | - (derivativeDistance T Q Q₁ P P₁) (T^2*‖H-G‖) := by | |
| 193 | - rw [← fixedEndpointDerivative_eq_endpoint T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 194 | - m hm hRange, ← fixedEndpointDerivative_eq_endpoint T hT P P₁ G c hc hP hp K hK hG hsmall | |
| 195 | - n hn hRange'] | |
| 196 | - exact fixedAffineEndpoint_sub_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 197 | - P P₁ G hP hp hG d a r hD hD' hA hA' hr hr' | |
| 198 | - | |
| 199 | 183 | end EulerTransverseEndpointDifference |
+0 −5 Euler/TransverseEndpointEnergy.lean View file
| @@ -107,11 +107,6 @@ def dirichletToNeumann (L : U →L[ℝ] TimeLp T E) : U →L[ℝ] U := | ||
| 107 | 107 | endpointOperator (transverseDerivatives T hT m) (energyOperator T hT H) |
| 108 | 108 | (1 / 2) (by norm_num) (energyOperator_coercive T hT H K hK hH hsmall) L |
| 109 | 109 | |
| 110 | -omit [CompleteSpace U] in | |
| 111 | -theorem endpointDisplacement_initial (L : U →L[ℝ] TimeLp T E) (Y : U) : | |
| 112 | - endpointDisplacement T hT m H K hK hH hsmall L Y ⟨0, le_rfl, hT⟩ = 0 := | |
| 113 | - initialPrimitive_initial T hT _ | |
| 114 | - | |
| 115 | 110 | omit [CompleteSpace U] in |
| 116 | 111 | theorem endpointDerivative_sub_mem (L : U →L[ℝ] TimeLp T E) (Y : U) : |
| 117 | 112 | endpointDerivative T hT m H K hK hH hsmall L Y - L Y ∈ transverseDerivatives T hT m := |
+0 −15 Euler/TransverseEndpointMomentum.lean View file
| @@ -138,19 +138,4 @@ theorem momentumPath_ae_of_weak (hTpos : 0 < T) (u : TimeLp T E) | ||
| 138 | 138 | constantField_ae T hT (terminalMomentum T hT Q Q₁ H u)] with t ha hp hc |
| 139 | 139 | simpa only [Pi.add_apply, hp, hc, momentumPath] using ha |
| 140 | 140 | |
| 141 | -/-- The momentum of the constructed endpoint solution has this actual continuous representative. -/ | |
| 142 | -theorem endpointDerivative_momentumPath_ae (hTpos : 0 < T) | |
| 143 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 144 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 145 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 146 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 147 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 148 | - {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 149 | - (L : V →L[ℝ] TimeLp T E) (Y : V) : | |
| 150 | - let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 151 | - (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] momentumPath T hT Q Q₁ H u := by | |
| 152 | - apply momentumPath_ae_of_weak T hT Q Q₁ H hTpos | |
| 153 | - exact initialMomentum_weak T hT Q Q₁ H hd m hm _ | |
| 154 | - (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 155 | - | |
| 156 | 141 | end EulerTransverseEndpointMomentum |
+0 −74 Euler/TransverseEndpointParameter.lean View file
| @@ -33,68 +33,12 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 33 | 33 | (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 34 | 34 | {n : ℕ∞ω} |
| 35 | 35 | |
| 36 | -theorem contDiff_initialEnergy (hH : ContDiff ℝ n H) : | |
| 37 | - ContDiff ℝ n (fun x => energyOperator T hT (H x)) := | |
| 38 | - contDiff_const.sub | |
| 39 | - (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 40 | - | |
| 41 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 42 | -theorem contDiff_initialProductDerivative (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) : | |
| 43 | - ContDiff ℝ n (fun x => initialProductDerivative T hT (Q x) (Q₁ x)) := | |
| 44 | - ((contDiff_timeMultiplier T hT Q₁ hQ₁).clm_comp contDiff_const).add | |
| 45 | - (contDiff_timeMultiplier T hT Q hQ) | |
| 46 | - | |
| 47 | 36 | variable (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c * ‖v‖ ^ 2 ≤ ‖Q x t v‖ ^ 2) |
| 48 | 37 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 49 | 38 | HasDerivWithinAt (extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) |
| 50 | 39 | (K : ℝ) (hK : 0 ≤ K) (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) |
| 51 | 40 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 52 | 41 | |
| 53 | -theorem contDiff_fixedEndpointCorrection | |
| 54 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 55 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) : | |
| 56 | - ContDiff ℝ n (fun x => fixedEndpointCorrection T hT (Q x) (Q₁ x) (H x) | |
| 57 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := by | |
| 58 | - have hA := contDiff_fixedFrameOperator T hT Q Q₁ H hQ hQ₁ hH | |
| 59 | - have hi := contDiff_coerciveInverse_variable | |
| 60 | - (fun x => fixedFrameOperator T hT (Q x) (Q₁ x) (H x)) | |
| 61 | - (fun x => fixedCoercivity T (Q x) (Q₁ x) c) | |
| 62 | - (fun x => fixedCoercivity_pos T hT (Q x) (Q₁ x) c hc) | |
| 63 | - (fun x => fixedFrameOperator_coercive T hT (Q x) (Q₁ x) (H x) | |
| 64 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall) hA | |
| 65 | - have hD := contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁ | |
| 66 | - have hE := contDiff_initialEnergy T hT H hH | |
| 67 | - exact hi.clm_comp ((contDiff_adjoint hD).clm_comp (hE.clm_comp hL)) | |
| 68 | - | |
| 69 | -theorem contDiff_fixedEndpointDerivative | |
| 70 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 71 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) : | |
| 72 | - ContDiff ℝ n (fun x => fixedEndpointDerivative T hT (Q x) (Q₁ x) (H x) | |
| 73 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := | |
| 74 | - hL.sub ((contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁).clm_comp | |
| 75 | - (contDiff_fixedEndpointCorrection T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 76 | - hQ hQ₁ hH L hL)) | |
| 77 | - | |
| 78 | -include c hc hLower hd in | |
| 79 | -/-- The physical endpoint solution inherits the proved parameter regularity. -/ | |
| 80 | -theorem contDiff_endpointDerivative | |
| 81 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 82 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) | |
| 83 | - (m : P → Icc (0 : ℝ) T → E) (hm : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 84 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) : | |
| 85 | - ContDiff ℝ n (fun x => endpointDerivative T hT (m x) (H x) | |
| 86 | - K hK (hPotential x) hsmall (L x)) := by | |
| 87 | - have he : (fun x => endpointDerivative T hT (m x) (H x) | |
| 88 | - K hK (hPotential x) hsmall (L x)) = | |
| 89 | - (fun x => fixedEndpointDerivative T hT (Q x) (Q₁ x) (H x) | |
| 90 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := by | |
| 91 | - funext x | |
| 92 | - exact (fixedEndpointDerivative_eq_endpoint T hT (Q x) (Q₁ x) (H x) | |
| 93 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (m x) (hm x) (hRange x) (L x)).symm | |
| 94 | - rw [he] | |
| 95 | - exact contDiff_fixedEndpointDerivative T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 96 | - hQ hQ₁ hH L hL | |
| 97 | - | |
| 98 | 42 | section AffineTrial |
| 99 | 43 | |
| 100 | 44 | variable (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| @@ -134,22 +78,4 @@ theorem affineTrial_tangent | ||
| 134 | 78 | |
| 135 | 79 | end AffineTrial |
| 136 | 80 | |
| 137 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 138 | -theorem contDiff_affineTrial (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) : | |
| 139 | - ContDiff ℝ n (fun x => affineTrial T hT (Q x) (Q₁ x)) := | |
| 140 | - (contDiff_initialProductDerivative T hT Q Q₁ hQ hQ₁).clm_comp contDiff_const | |
| 141 | - | |
| 142 | -include c hc hLower hd in | |
| 143 | -/-- Neighboring labels use precisely the same terminal coordinate, and the | |
| 144 | -resulting physical derivatives have the coefficient parameter regularity. -/ | |
| 145 | -theorem contDiff_affineEndpoint | |
| 146 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 147 | - (m : P → Icc (0 : ℝ) T → E) (hm : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 148 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) (ξT : U) : | |
| 149 | - ContDiff ℝ n (fun x => endpointDerivative T hT (m x) (H x) | |
| 150 | - K hK (hPotential x) hsmall (affineTrial T hT (Q x) (Q₁ x)) ξT) := | |
| 151 | - (contDiff_endpointDerivative T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 152 | - hQ hQ₁ hH (fun x => affineTrial T hT (Q x) (Q₁ x)) | |
| 153 | - (contDiff_affineTrial T hT Q Q₁ hQ hQ₁) m hm hRange).clm_apply contDiff_const | |
| 154 | - | |
| 155 | 81 | end EulerTransverseEndpointParameter |
+0 −29 Euler/TransverseEndpointUniqueness.lean View file
| @@ -81,35 +81,6 @@ theorem endpointDerivative_unique (L : V →L[ℝ] TimeLp T E) (Y : V) | ||
| 81 | 81 | have hn : ‖u - w‖ = 0 := by nlinarith only [hc, norm_nonneg (u - w)] |
| 82 | 82 | exact sub_eq_zero.mp (norm_eq_zero.mp hn) |
| 83 | 83 | |
| 84 | -/-- The stationary output depends only on the terminal trace, not on the trial lift. -/ | |
| 85 | -theorem endpointDerivative_eq_of_trial_terminal | |
| 86 | - (L₁ L₂ : V →L[ℝ] TimeLp T E) | |
| 87 | - (hL₁ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₁ Y) t⟫_ℝ = 0) | |
| 88 | - (hL₂ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₂ Y) t⟫_ℝ = 0) | |
| 89 | - (hterminal : ∀ Y, initialRealPrimitive T (L₁ Y) T = initialRealPrimitive T (L₂ Y) T) : | |
| 90 | - endpointDerivative T hT m H K hK hH hsmall L₁ = | |
| 91 | - endpointDerivative T hT m H K hK hH hsmall L₂ := by | |
| 92 | - apply ContinuousLinearMap.ext | |
| 93 | - intro Y | |
| 94 | - exact stationaryPart_eq_of_sub_mem (transverseDerivatives T hT m) (energyOperator T hT H) | |
| 95 | - (1 / 2) (by norm_num) (energyOperator_coercive T hT H K hK hH hsmall) (L₁ Y) (L₂ Y) | |
| 96 | - (sub_mem_transverse_of_terminal T hT m (L₁ Y) (L₂ Y) (hL₁ Y) (hL₂ Y) (hterminal Y)) | |
| 97 | - | |
| 98 | 84 | variable [CompleteSpace V] |
| 99 | 85 | |
| 100 | -theorem dirichletToNeumann_eq_of_trial_terminal | |
| 101 | - (L₁ L₂ : V →L[ℝ] TimeLp T E) | |
| 102 | - (hL₁ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₁ Y) t⟫_ℝ = 0) | |
| 103 | - (hL₂ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₂ Y) t⟫_ℝ = 0) | |
| 104 | - (hterminal : ∀ Y, initialRealPrimitive T (L₁ Y) T = initialRealPrimitive T (L₂ Y) T) : | |
| 105 | - dirichletToNeumann T hT m H K hK hH hsmall L₁ = | |
| 106 | - dirichletToNeumann T hT m H K hK hH hsmall L₂ := by | |
| 107 | - have he := endpointDerivative_eq_of_trial_terminal T hT m H K hK hH hsmall | |
| 108 | - L₁ L₂ hL₁ hL₂ hterminal | |
| 109 | - apply ContinuousLinearMap.ext | |
| 110 | - intro Y | |
| 111 | - apply ext_inner_right ℝ | |
| 112 | - intro Z | |
| 113 | - rw [dirichletToNeumann_inner, dirichletToNeumann_inner, he] | |
| 114 | - | |
| 115 | 86 | end EulerTransverseEndpointUniqueness |
+0 −27 Euler/TransverseFixedSpaceInverse.lean View file
| @@ -128,31 +128,4 @@ theorem fixedFrameSolver_unique (f : TimeLp T E) (u : zeroTraceDerivatives (U := | ||
| 128 | 128 | intro v |
| 129 | 129 | rw [fixedFrameOperator_inner, hu, fixedFrameOperator_inner, fixedFrameSolver_weak] |
| 130 | 130 | |
| 131 | -/-- The new fixed-space inverse is exactly the coordinates of the original | |
| 132 | -physical transverse solve, rather than a separate unconnected construction. -/ | |
| 133 | -theorem fixedFrameSolver_eq_transverse (m : Icc (0 : ℝ) T → E) | |
| 134 | - (hTangent : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 135 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 136 | - (f : TimeLp T E) : | |
| 137 | - fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f = | |
| 138 | - transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 139 | - (transverseSolver T hT m H K hK hH hsmall f) := by | |
| 140 | - symm | |
| 141 | - apply fixedFrameSolver_unique T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 142 | - intro v | |
| 143 | - let u := transverseSolver T hT m H K hK hH hsmall f | |
| 144 | - have h := transverseSolver_weak T hT m H K hK hH hsmall f | |
| 145 | - (transverseForward T hT Q Q₁ hd m hTangent v) | |
| 146 | - have hu := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) | |
| 147 | - (transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange u) | |
| 148 | - change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u) = | |
| 149 | - (u : TimeLp T E) at hu | |
| 150 | - change ⟪fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u), | |
| 151 | - fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - | |
| 152 | - ⟪timeMultiplier T hT H (primitiveTimeLp T hT | |
| 153 | - (fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u))), | |
| 154 | - fixedFramePrimitive T hT Q Q₁ v⟫_ℝ = _ | |
| 155 | - rw [hu] | |
| 156 | - exact h | |
| 157 | - | |
| 158 | 131 | end EulerTransverseFixedSpaceInverse |
+0 −23 Euler/TransverseForwardCoefficientGevrey.lean View file
| @@ -101,27 +101,4 @@ theorem generator_bound (n : ℕ) (x : P) : | ||
| 101 | 101 | norm_num only [norm_neg, Real.norm_ofNat] |
| 102 | 102 | exact (mul_le_mul_of_nonneg_left hSb (by norm_num : (0 : ℝ) ≤ 2)).trans_eq (by ring) |
| 103 | 103 | |
| 104 | -include hQr hRc hC₀ hRi hbQ in | |
| 105 | -/-- Multiplication by the actual projected-forcing coefficient preserves the | |
| 106 | -input factorial shift, with a polynomial amplitude. -/ | |
| 107 | -theorem projected_forcing_bound (f : P → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ ∞ f) | |
| 108 | - (R D : ℝ) (hR : 4*Ri ≤ R) (hD : 0 ≤ D) (d : ℕ) | |
| 109 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) (n : ℕ) (x : P) : | |
| 110 | - ‖iteratedFDeriv ℝ n (fun y => forcingOperator T (Q y) c hc (hQ y) (f y)) x‖ ≤ | |
| 111 | - (9*Ri*C₀*D)*majorant R d n := by | |
| 112 | - have hi := (inverseRadius_bounds c C₀ Rc Ri hc hRc hRi).1 | |
| 113 | - have hrad : 0 ≤ 4*Ri := by positivity | |
| 114 | - have hR0 : 0 ≤ R := hrad.trans hR | |
| 115 | - have hbL (j : ℕ) (y : P) : | |
| 116 | - ‖iteratedFDeriv ℝ j (fun z => frameLeftInversePath T (Q z) c hc (hQ z)) y‖ ≤ | |
| 117 | - (3*Ri*C₀)*majorant R 0 j := | |
| 118 | - (frameLeftInversePath_bound T Q c hc hQ hQr Rc C₀ Ri hRc hC₀ hRi hbQ j y).trans | |
| 119 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) R hrad hR 0 j) (by positivity)) | |
| 120 | - have h := apply_bound (fun y => frameLeftInversePath T (Q y) c hc (hQ y)) f | |
| 121 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hf R (3*Ri*C₀) D hR0 (by positivity) hD 0 d hbL hbf n x | |
| 122 | - have he : 3*(3*Ri*C₀)*D = 9*Ri*C₀*D := by ring | |
| 123 | - simp only [Nat.zero_add, he] at h | |
| 124 | - convert h using 1 | |
| 125 | - all_goals rfl | |
| 126 | - | |
| 127 | 104 | end EulerTransverseForwardCoefficientGevrey |
+0 −11 Euler/TransverseForwardInverse.lean View file
| @@ -90,13 +90,6 @@ theorem coordinate_equation (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : | ||
| 90 | 90 | rw [map_add, map_smul, gram_inverse_apply, gram_inverse_apply, map_sub, map_smul] |
| 91 | 91 | module |
| 92 | 92 | |
| 93 | -/-- Physical velocity is tangent at every time because it lies in the frame range. -/ | |
| 94 | -theorem velocity_tangent (m : Icc (0 : ℝ) T → E) | |
| 95 | - (hTangent : ∀ t v, ⟪m t,Q t v⟫_ℝ = 0) | |
| 96 | - (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : | |
| 97 | - ⟪m t,velocity T hT Q Q₁ c hc hQ U f a₀ t⟫_ℝ = 0 := | |
| 98 | - hTangent t _ | |
| 99 | - | |
| 100 | 93 | /-- The physical product-rule expression is its actual every-time derivative. -/ |
| 101 | 94 | theorem velocity_hasDerivWithinAt |
| 102 | 95 | (hQd : ∀ t : Icc (0 : ℝ) T, |
| @@ -139,10 +132,6 @@ theorem coordinatesOperator_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : | ||
| 139 | 132 | coordinatesOperator T hT Q Q₁ c hc hQ U (a₀,f) = coordinates T hT Q Q₁ c hc hQ U f a₀ := |
| 140 | 133 | (U.solution_eq_operators _ _).symm |
| 141 | 134 | |
| 142 | -/-- The physical forward inverse is an actual bounded linear map in its data. -/ | |
| 143 | -def velocityOperator : (V × C(Icc (0 : ℝ) T,E)) →L[ℝ] C(Icc (0 : ℝ) T,E) := | |
| 144 | - (multiplier Q).comp (coordinatesOperator T hT Q Q₁ c hc hQ U) | |
| 145 | - | |
| 146 | 135 | /-- Zero data give the zero path; this is the pointwise support-preservation mechanism. -/ |
| 147 | 136 | theorem velocity_zero : velocity T hT Q Q₁ c hc hQ U 0 0 = 0 := by |
| 148 | 137 | have hz := (coordinatesOperator T hT Q Q₁ c hc hQ U).map_zero |
+0 −46 Euler/TransverseForwardRegularity.lean View file
| @@ -36,53 +36,7 @@ theorem frameLeftInversePath_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) : | ||
| 36 | 36 | (fun x => adjointMap (Q x)) (gramInversePath_contDiff T c hc Q hQ hQr) |
| 37 | 37 | (contDiff_adjoint Q hQr) |
| 38 | 38 | |
| 39 | -/-- The literal source generator is smoothly parameterized. -/ | |
| 40 | -theorem generator_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) : | |
| 41 | - ContDiff ℝ n (fun x => generator T (Q x) (Q₁ x) c hc (hQ x)) := by | |
| 42 | - have hr := (contDiff_compose (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) Q₁ | |
| 43 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hQ₁r).const_smul (-2 : ℝ) | |
| 44 | - convert hr using 1 <;> rfl | |
| 45 | - | |
| 46 | -/-- Applying the actual projected forcing map preserves smooth parameter dependence. -/ | |
| 47 | -theorem forcing_contDiff (f : P → C(Icc (0 : ℝ) T,E)) {n : ℕ∞ω} | |
| 48 | - (hQr : ContDiff ℝ n Q) (hf : ContDiff ℝ n f) : | |
| 49 | - ContDiff ℝ n (fun x => forcingOperator T (Q x) c hc (hQ x) (f x)) := | |
| 50 | - contDiff_apply (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) f | |
| 51 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hf | |
| 52 | - | |
| 53 | 39 | variable (U : ∀ x, Evolution T hT (generator T (Q x) (Q₁ x) c hc (hQ x))) |
| 54 | 40 | (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → V) |
| 55 | 41 | |
| 56 | -/-- The actually constructed coordinates are smooth in external parameters. -/ | |
| 57 | -theorem coordinates_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 58 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 59 | - ContDiff ℝ n (fun x => coordinates T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 60 | - solution_contDiff T hT (fun x => generator T (Q x) (Q₁ x) c hc (hQ x)) U | |
| 61 | - (fun x => forcingOperator T (Q x) c hc (hQ x) (f x)) a₀ | |
| 62 | - (generator_contDiff T Q Q₁ c hc hQ hQr hQ₁r) | |
| 63 | - (forcing_contDiff T Q c hc hQ f hQr hf) ha₀ | |
| 64 | - | |
| 65 | -/-- The actual physical velocity inherits uniform-time parameter smoothness. -/ | |
| 66 | -theorem velocity_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 67 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 68 | - ContDiff ℝ n (fun x => velocity T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 69 | - contDiff_apply Q _ hQr (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀) | |
| 70 | - | |
| 71 | -/-- The actual coordinate derivative is smooth in external parameters too. -/ | |
| 72 | -theorem coordinateDerivative_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 73 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 74 | - ContDiff ℝ n (fun x => coordinateDerivative T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 75 | - (contDiff_apply _ _ (generator_contDiff T Q Q₁ c hc hQ hQr hQ₁r) | |
| 76 | - (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)).add | |
| 77 | - (forcing_contDiff T Q c hc hQ f hQr hf) | |
| 78 | - | |
| 79 | -/-- The actual physical time derivative is smooth in the same uniform-time parameter norm. -/ | |
| 80 | -theorem velocityDerivative_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 81 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 82 | - ContDiff ℝ n (fun x => velocityDerivative T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 83 | - (contDiff_apply Q₁ _ hQ₁r | |
| 84 | - (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)).add | |
| 85 | - (contDiff_apply Q _ hQr | |
| 86 | - (coordinateDerivative_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)) | |
| 87 | - | |
| 88 | 42 | end EulerTransverseForwardRegularity |
+0 −66 Euler/TransverseFrameCoordinates.lean View file
| @@ -48,20 +48,6 @@ theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | ||
| 48 | 48 | exact F.apply_symm_apply η |
| 49 | 49 | |
| 50 | 50 | omit [CompleteSpace E] in |
| 51 | -/-- The coordinate map is a left inverse to `F` restricted to the reference plane. -/ | |
| 52 | -theorem coordinates_leftInverse (F : E ≃L[ℝ] E) (m₀ : E) (ξ : referencePlane m₀) : | |
| 53 | - coordinates F m₀ (F (ξ : E)) = ξ := by | |
| 54 | - change (referencePlane m₀).orthogonalProjectionOnto (F.symm (F (ξ : E))) = ξ | |
| 55 | - rw [F.symm_apply_apply] | |
| 56 | - exact (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self ξ | |
| 57 | - | |
| 58 | -omit [CompleteSpace E] in | |
| 59 | -/-- The coordinate map has the expected polynomial bound from the inverse frame. -/ | |
| 60 | -theorem coordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) : | |
| 61 | - ‖coordinates F m₀ η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by | |
| 62 | - exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (F.symm η)).trans | |
| 63 | - (F.symm.toContinuousLinearMap.le_opNorm η) | |
| 64 | - | |
| 65 | 51 | /-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ |
| 66 | 52 | def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) |
| 67 | 53 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := |
| @@ -75,56 +61,4 @@ theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | ||
| 75 | 61 | rw [R.apply_symm_apply] |
| 76 | 62 | exact reconstruct F m₀ η hη |
| 77 | 63 | |
| 78 | -omit [CompleteSpace E] in | |
| 79 | -/-- Passing to an orthonormal coordinate basis has no extra norm cost. -/ | |
| 80 | -theorem frameCoordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 81 | - (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : | |
| 82 | - ‖frameCoordinates F m₀ R η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by | |
| 83 | - change ‖R.symm (coordinates F m₀ η)‖ ≤ _ | |
| 84 | - rw [R.symm.norm_map] | |
| 85 | - exact coordinates_norm F m₀ η | |
| 86 | - | |
| 87 | -section Paths | |
| 88 | - | |
| 89 | -variable {X : Type*} [TopologicalSpace X] | |
| 90 | - | |
| 91 | -/-- Applying a continuous inverse-frame path produces actual continuous | |
| 92 | -transverse coordinates, not separate incompatible pointwise choices. -/ | |
| 93 | -def coordinatePath (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 94 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) : C(X, U) := | |
| 95 | - ⟨fun t => R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))), | |
| 96 | - R.symm.continuous.comp ((referencePlane m₀).orthogonalProjectionOnto.continuous.comp | |
| 97 | - (A.continuous.clm_apply η.continuous))⟩ | |
| 98 | - | |
| 99 | -/-- The recovered continuous coordinates reconstruct every tangent displacement. -/ | |
| 100 | -theorem coordinatePath_reconstruct (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 101 | - (F : X → E ≃L[ℝ] E) (A : C(X, E →L[ℝ] E)) | |
| 102 | - (hA : ∀ t, A t = (F t).symm.toContinuousLinearMap) (η : C(X, E)) | |
| 103 | - (hη : ∀ t, ⟪movingNormal (F t) m₀, η t⟫_ℝ = 0) (t : X) : | |
| 104 | - F t (R (coordinatePath m₀ R A η t) : E) = η t := by | |
| 105 | - change F t (R (R.symm ((referencePlane m₀).orthogonalProjectionOnto | |
| 106 | - (A t (η t)))) : E) = η t | |
| 107 | - rw [hA t] | |
| 108 | - exact frame_reconstruct (F t) m₀ (η t) R (hη t) | |
| 109 | - | |
| 110 | -omit [CompleteSpace E] in | |
| 111 | -/-- Zero endpoint displacements give zero endpoint coordinates. -/ | |
| 112 | -theorem coordinatePath_zero_at (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 113 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) (hη : η t = 0) : | |
| 114 | - coordinatePath m₀ R A η t = 0 := by | |
| 115 | - change R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))) = 0 | |
| 116 | - simp only [hη, map_zero] | |
| 117 | - | |
| 118 | -omit [CompleteSpace E] in | |
| 119 | -/-- Pointwise coordinate control only pays the actual inverse-frame norm. -/ | |
| 120 | -theorem coordinatePath_norm (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 121 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) : | |
| 122 | - ‖coordinatePath m₀ R A η t‖ ≤ ‖A t‖ * ‖η t‖ := by | |
| 123 | - change ‖R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t)))‖ ≤ _ | |
| 124 | - rw [R.symm.norm_map] | |
| 125 | - exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (A t (η t))).trans | |
| 126 | - ((A t).le_opNorm (η t)) | |
| 127 | - | |
| 128 | -end Paths | |
| 129 | - | |
| 130 | 64 | end EulerTransverseFrameCoordinates |
+0 −139 Euler/TransverseGevreyInverse.lean View file
| @@ -31,10 +31,6 @@ def transportCeiling (T C₀ C₁ c : ℝ) : ℝ := | ||
| 31 | 31 | /-- Uniform polynomial bound for the inverse of the transported form. -/ |
| 32 | 32 | def inverseCost (T C₀ C₁ c : ℝ) : ℝ := 2 * (transportCeiling T C₀ C₁ c)^2 |
| 33 | 33 | |
| 34 | -/-- One polynomial top constant handles both coefficient and forcing amplitudes. -/ | |
| 35 | -def solveCost (T C₀ C₁ CH c : ℝ) : ℝ := | |
| 36 | - 1 + inverseCost T C₀ C₁ c * (formCost T C₀ C₁ CH + forcingCost T C₀ C₁ + 1) | |
| 37 | - | |
| 38 | 34 | variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 39 | 35 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 40 | 36 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| @@ -55,17 +51,6 @@ theorem fixedCoercivity_inv_le (T : ℝ) (hT : 0 ≤ T) | ||
| 55 | 51 | rw [he] |
| 56 | 52 | exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht0 ht 2) (by norm_num) |
| 57 | 53 | |
| 58 | -/-- The top constant is at least one for all nonnegative coefficient bounds. -/ | |
| 59 | -theorem solveCost_one_le (T C₀ C₁ CH c : ℝ) | |
| 60 | - (hT : 0 ≤ T) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) : | |
| 61 | - 1 ≤ solveCost T C₀ C₁ CH c := by | |
| 62 | - unfold solveCost | |
| 63 | - have h : 0 ≤ inverseCost T C₀ C₁ c * | |
| 64 | - (formCost T C₀ C₁ CH + forcingCost T C₀ C₁ + 1) := by | |
| 65 | - unfold inverseCost formCost forcingCost derivativeCost | |
| 66 | - positivity | |
| 67 | - linarith | |
| 68 | - | |
| 69 | 54 | variable (T : ℝ) (hT : 0 ≤ T) |
| 70 | 55 | (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 71 | 56 | (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| @@ -83,128 +68,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 83 | 68 | (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant Rc 0 n) |
| 84 | 69 | (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant Rc 0 n) |
| 85 | 70 | |
| 86 | -include hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 87 | -/-- The actual zero-endpoint coordinate solve has a single-shift factorial | |
| 88 | -bound with a radius uniform in the derivative order and input shift. -/ | |
| 89 | -theorem fixedFrameSolution_gevrey | |
| 90 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 91 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 92 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 93 | - (n : ℕ) (x : P) : | |
| 94 | - ‖iteratedFDeriv ℝ n (fun y => | |
| 95 | - fixedFrameSolver T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 96 | - K hK (hPotential y) hsmall (f y)) x‖ ≤ majorant R (d+1) n := by | |
| 97 | - let A := fun y => fixedFrameOperator T hT (Q y) (Q₁ y) (H y) | |
| 98 | - let δ := fun y => fixedCoercivity T (Q y) (Q₁ y) c | |
| 99 | - let rhs := fun y => (-(fixedFramePrimitive T hT (Q y) (Q₁ y)).adjoint) (f y) | |
| 100 | - have hδ : ∀ y, 0 < δ y := fun y => fixedCoercivity_pos T hT (Q y) (Q₁ y) c hc | |
| 101 | - have hAco : ∀ y v, δ y * ‖v‖^2 ≤ ⟪A y v, v⟫_ℝ := fun y => | |
| 102 | - fixedFrameOperator_coercive T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 103 | - K hK (hPotential y) hsmall | |
| 104 | - have hAreg : ContDiff ℝ ∞ A := contDiff_fixedFrameOperator T hT Q Q₁ H hQ hQ₁ hH | |
| 105 | - have hrhs : ContDiff ℝ ∞ rhs := | |
| 106 | - (contDiff_adjoint (contDiff_fixedFramePrimitive T hT Q Q₁ hQ hQ₁)).neg.clm_apply hf | |
| 107 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 108 | - have hR0 : 0 ≤ R := by nlinarith | |
| 109 | - have hRcR : Rc ≤ R := by nlinarith | |
| 110 | - have hCR : 0 ≤ formCost T C₀ C₁ CH := by unfold formCost; positivity | |
| 111 | - have hFR : 0 ≤ forcingCost T C₀ C₁ := by unfold forcingCost derivativeCost; positivity | |
| 112 | - have hI : 0 ≤ inverseCost T C₀ C₁ c := by unfold inverseCost; positivity | |
| 113 | - have hMC : inverseCost T C₀ C₁ c * formCost T C₀ C₁ CH ≤ solveCost T C₀ C₁ CH c := by | |
| 114 | - unfold solveCost | |
| 115 | - nlinarith | |
| 116 | - have hMF : inverseCost T C₀ C₁ c * forcingCost T C₀ C₁ ≤ solveCost T C₀ C₁ CH c := by | |
| 117 | - unfold solveCost | |
| 118 | - nlinarith | |
| 119 | - have hinv (y : P) : (δ y)⁻¹ ≤ inverseCost T C₀ C₁ c := by | |
| 120 | - apply fixedCoercivity_inv_le T hT (Q y) (Q₁ y) c hc C₀ C₁ | |
| 121 | - · simpa only [norm_iteratedFDeriv_zero, majorant, Nat.add_zero, pow_zero, | |
| 122 | - Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using hbQ 0 y | |
| 123 | - · simpa only [norm_iteratedFDeriv_zero, majorant, Nat.add_zero, pow_zero, | |
| 124 | - Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using hbQ₁ 0 y | |
| 125 | - have hbA (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ (j+1) A y‖ ≤ | |
| 126 | - formCost T C₀ C₁ CH * (Rc^(j+1) * ((j+1).factorial : ℝ)^2) := by | |
| 127 | - simpa only [majorant, Nat.add_zero] using | |
| 128 | - fixedFrameOperator_bound T hT Q Q₁ H hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH | |
| 129 | - hbQ hbQ₁ hbH (j+1) y | |
| 130 | - have hbQR (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q y‖ ≤ C₀*majorant R 0 j := | |
| 131 | - (hbQ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₀) | |
| 132 | - have hbQ₁R (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q₁ y‖ ≤ C₁*majorant R 0 j := | |
| 133 | - (hbQ₁ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₁) | |
| 134 | - have hbrhs := fixedForcing_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR0 hC₀ hC₁ hbQR hbQ₁R | |
| 135 | - f hf d hbf | |
| 136 | - exact coerciveSolution_gevrey_amplitudes A δ hδ hAco rhs hAreg hrhs | |
| 137 | - (inverseCost T C₀ C₁ c) (formCost T C₀ C₁ CH) (forcingCost T C₀ C₁) | |
| 138 | - (solveCost T C₀ C₁ CH c) Rc R hCR hFR hM hMC hMF hRc hR hinv hbA d hbrhs n x | |
| 139 | - | |
| 140 | -include hd hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 141 | -/-- The factorial estimate applies to the recovered coordinate derivative of | |
| 142 | -the original physical transverse solver. -/ | |
| 143 | -theorem transverseCoordinates_gevrey | |
| 144 | - (m : P → Icc (0 : ℝ) T → E) | |
| 145 | - (hTangent : ∀ y t v, ⟪m y t, Q y t v⟫_ℝ = 0) | |
| 146 | - (hRange : ∀ y t η, ⟪m y t, η⟫_ℝ = 0 → ∃ v : U, Q y t v = η) | |
| 147 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 148 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 149 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 150 | - (n : ℕ) (x : P) : | |
| 151 | - ‖iteratedFDeriv ℝ n (fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 152 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E)) x‖ ≤ | |
| 153 | - majorant R (d+1) n := by | |
| 154 | - let v := fun y => fixedFrameSolver T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 155 | - K hK (hPotential y) hsmall (f y) | |
| 156 | - have hv : ContDiff ℝ ∞ v := | |
| 157 | - contDiff_fixedFrameSolution T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf | |
| 158 | - have hb (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j v y‖ ≤ majorant R (d+1) j := | |
| 159 | - fixedFrameSolution_gevrey T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 160 | - hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH R hR f hf d hbf j y | |
| 161 | - have heq : (fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 162 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E)) = | |
| 163 | - fun y => (v y : TimeLp T U) := by | |
| 164 | - funext y | |
| 165 | - have he := fixedFrameSolver_eq_transverse T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 166 | - K hK (hPotential y) hsmall (m y) (hTangent y) (hRange y) (f y) | |
| 167 | - exact (congrArg (fun z : zeroTraceDerivatives (U := U) T hT => (z : TimeLp T U)) he).symm | |
| 168 | - rw [heq] | |
| 169 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 170 | - have hR0 : 0 ≤ R := by nlinarith | |
| 171 | - have hout := contraction_bound (zeroTraceDerivatives (U := U) T hT).subtypeL | |
| 172 | - (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le v hv R 1 hR0 zero_le_one (d+1) | |
| 173 | - (by simpa only [one_mul] using hb) n x | |
| 174 | - simp only [one_mul] at hout | |
| 175 | - convert hout using 1 | |
| 176 | - rfl | |
| 177 | - | |
| 178 | -include hd hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 179 | -/-- The actual physical transverse velocity has the same factorial shift, | |
| 180 | -with only the fixed coefficient multiplication constant. -/ | |
| 181 | -theorem transverseVelocity_gevrey | |
| 182 | - (m : P → Icc (0 : ℝ) T → E) | |
| 183 | - (hTangent : ∀ y t v, ⟪m y t, Q y t v⟫_ℝ = 0) | |
| 184 | - (hRange : ∀ y t η, ⟪m y t, η⟫_ℝ = 0 → ∃ v : U, Q y t v = η) | |
| 185 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 186 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 187 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 188 | - (n : ℕ) (x : P) : | |
| 189 | - ‖iteratedFDeriv ℝ n (fun y => timeMultiplier T hT (Q y) | |
| 190 | - (coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 191 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E))) x‖ ≤ | |
| 192 | - (3*C₀) * majorant R (d+1) n := by | |
| 193 | - let v := fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 194 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E) | |
| 195 | - have hv : ContDiff ℝ ∞ v := contDiff_transverse_coordinates T hT Q Q₁ H c hc hLower hd | |
| 196 | - K hK hPotential hsmall m hTangent hRange hQ hQ₁ hH f hf | |
| 197 | - have hb := transverseCoordinates_gevrey T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 198 | - hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH m hTangent hRange R hR f hf d hbf | |
| 199 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 200 | - have hR0 : 0 ≤ R := by nlinarith | |
| 201 | - have hRcR : Rc ≤ R := by nlinarith | |
| 202 | - have hbQR (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q y‖ ≤ C₀*majorant R 0 j := | |
| 203 | - (hbQ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₀) | |
| 204 | - have h := clm_apply_bound (fun y => timeMultiplier T hT (Q y)) v | |
| 205 | - (contDiff_timeMultiplier T hT Q hQ) hv R C₀ 1 hR0 hC₀ zero_le_one 0 (d+1) | |
| 206 | - (timeMultiplier_bound T hT Q hQ R C₀ hR0 hC₀ 0 hbQR) | |
| 207 | - (by simpa only [one_mul] using hb) n x | |
| 208 | - simpa only [mul_one, Nat.zero_add] using h | |
| 209 | - | |
| 210 | 71 | end EulerTransverseGevreyInverse |
+0 −24 Euler/TransverseGramInverse.lean View file
| @@ -77,30 +77,6 @@ theorem frameLeftInverse_apply (Q : U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | ||
| 77 | 77 | frameLeftInverse Q c hc hQ (Q x) = x := |
| 78 | 78 | inverse_gram_apply Q c hc hQ x |
| 79 | 79 | |
| 80 | -/-- Differentiating the actual adjoint commutes with the real derivative. -/ | |
| 81 | -theorem hasDerivAt_adjoint (Q : ℝ → U →L[ℝ] E) (Q₁ : U →L[ℝ] E) (t : ℝ) | |
| 82 | - (hQ : HasDerivAt Q Q₁ t) : | |
| 83 | - HasDerivAt (fun s => (Q s).adjoint) Q₁.adjoint t := by | |
| 84 | - exact ((realAdjoint (U := U) (E := E)).hasFDerivAt).comp_hasDerivAt t hQ | |
| 85 | - | |
| 86 | -/-- The Gram derivative is the literal product rule. -/ | |
| 87 | -theorem hasDerivAt_gram (Q : ℝ → U →L[ℝ] E) (Q₁ : U →L[ℝ] E) (t : ℝ) | |
| 88 | - (hQ : HasDerivAt Q Q₁ t) : | |
| 89 | - HasDerivAt (fun s => gram (Q s)) | |
| 90 | - (Q₁.adjoint.comp (Q t) + (Q t).adjoint.comp Q₁) t := | |
| 91 | - (hasDerivAt_adjoint Q Q₁ t hQ).clm_comp hQ | |
| 92 | - | |
| 93 | -/-- The constructed Gram inverse has the actual inverse derivative. -/ | |
| 94 | -theorem hasDerivAt_gramInverse (Q : ℝ → U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 95 | - (hQ : ∀ s x, c * ‖x‖ ^ 2 ≤ ‖Q s x‖ ^ 2) | |
| 96 | - (Q₁ : U →L[ℝ] E) (t : ℝ) (hd : HasDerivAt Q Q₁ t) : | |
| 97 | - HasDerivAt (fun s => gramInverse (Q s) c hc (hQ s)) | |
| 98 | - (-(gramInverse (Q t) c hc (hQ t)).comp | |
| 99 | - ((Q₁.adjoint.comp (Q t) + (Q t).adjoint.comp Q₁).comp | |
| 100 | - (gramInverse (Q t) c hc (hQ t)))) t := | |
| 101 | - hasDerivAt_coerciveInverse (fun s => gram (Q s)) c hc | |
| 102 | - (fun s => gram_coercive (Q s) c (hQ s)) t _ (hasDerivAt_gram Q Q₁ t hd) | |
| 103 | - | |
| 104 | 80 | open MeasureTheory Set EulerTimeLp EulerVolterraConvolution |
| 105 | 81 | |
| 106 | 82 | /-- The adjoint of a continuous coefficient path is a continuous coefficient path. -/ |
+0 −68 Euler/TransverseHighSolveFields.lean View file
| @@ -13,74 +13,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 13 | 13 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 14 | 14 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 15 | 15 | |
| 16 | -def highSolveDerivative : VectorField := by | |
| 17 | - classical | |
| 18 | - exact if h : Nonempty (Forcing P D raw) then (Classical.choice h).vectorDerivative I else 0 | |
| 19 | - | |
| 20 | -def highSolveCorrectorDerivative : VectorField := by | |
| 21 | - classical | |
| 22 | - exact if h : Nonempty (Forcing P D raw) then (Classical.choice h).correctorDerivative I else 0 | |
| 23 | - | |
| 24 | 16 | variable (h : Nonempty (Forcing P D raw)) |
| 25 | 17 | |
| 26 | -def highSolveField : Field P D.T (highSolve P D I raw).1 where | |
| 27 | - path := (Classical.choice h).fullVelocityPath I | |
| 28 | - orbit := (Classical.choice h).velocityPath_orbit I | |
| 29 | - raw_eq t x θ := by | |
| 30 | - rw [highSolve_of_admissible D I raw h] | |
| 31 | - exact ((Classical.choice h).vectorField I).raw_eq t x θ | |
| 32 | - | |
| 33 | -def highSolveDerivativeField : Field P D.T (highSolveDerivative P D I raw) where | |
| 34 | - path := (Classical.choice h).fullDerivativePath I | |
| 35 | - orbit := (Classical.choice h).derivativePath_orbit I | |
| 36 | - raw_eq t x θ := by | |
| 37 | - simp only [highSolveDerivative, dite_eq_left h] | |
| 38 | - exact ((Classical.choice h).vectorDerivativeField I).raw_eq t x θ | |
| 39 | - | |
| 40 | -theorem highSolveField_time : | |
| 41 | - TimeDerivative D.T_pos.le (highSolveField P D I raw h) (highSolveDerivativeField P D I raw h) := | |
| 42 | - (Classical.choice h).fullVelocityPath_time I | |
| 43 | - | |
| 44 | -def highSolveCorrectorField : Field P D.T (D.curlCorrector P (highSolve P D I raw).1) where | |
| 45 | - path := (Classical.choice h).correctorPath I | |
| 46 | - orbit := (Classical.choice h).correctorPath_orbit I | |
| 47 | - raw_eq t x θ := by | |
| 48 | - rw [highSolve_of_admissible D I raw h] | |
| 49 | - exact ((Classical.choice h).curlCorrectorField I).raw_eq t x θ | |
| 50 | - | |
| 51 | -def highSolveCorrectorDerivativeField : Field P D.T (highSolveCorrectorDerivative P D I raw) where | |
| 52 | - path := (Classical.choice h).correctorTimePath I | |
| 53 | - orbit := (Classical.choice h).correctorTimePath_orbit I | |
| 54 | - raw_eq t x θ := by | |
| 55 | - simp only [highSolveCorrectorDerivative, dite_eq_left h] | |
| 56 | - exact ((Classical.choice h).correctorDerivativeField I).raw_eq t x θ | |
| 57 | - | |
| 58 | -theorem highSolveCorrectorField_time : | |
| 59 | - TimeDerivative D.T_pos.le (highSolveCorrectorField P D I raw h) | |
| 60 | - (highSolveCorrectorDerivativeField P D I raw h) := | |
| 61 | - (Classical.choice h).correctorPath_time I | |
| 62 | - | |
| 63 | -theorem highSolveField_supported (t : Icc (0 : ℝ) D.T) : | |
| 64 | - (highSolveField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 65 | - ((Classical.choice h).velocityPath I t).property | |
| 66 | - | |
| 67 | -theorem highSolveDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 68 | - (highSolveDerivativeField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 69 | - ((Classical.choice h).derivativePath I t).property | |
| 70 | - | |
| 71 | -theorem highSolveCorrectorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 72 | - (highSolveCorrectorField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 73 | - (Classical.choice h).correctorPath_supported I t | |
| 74 | - | |
| 75 | -theorem highSolveCorrectorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 76 | - (highSolveCorrectorDerivativeField P D I raw h).path t ∈ | |
| 77 | - Supported P Space D.support D.support_measurable := | |
| 78 | - (Classical.choice h).correctorTimePath_supported I t | |
| 79 | - | |
| 80 | -include h in | |
| 81 | -theorem highSolveCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 82 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (highSolve P D I raw).1 (t,(x,θ))) = 0 := by | |
| 83 | - rw [highSolve_of_admissible D I raw h] | |
| 84 | - exact (Classical.choice h).curlCorrector_mean_zero I t x | |
| 85 | - | |
| 86 | 18 | end EulerTransversePacketProvider |
+0 −9 Euler/TransverseHistoryPolynomialCost.lean View file
| @@ -27,15 +27,6 @@ def differenceEnvelope (Ti ci q q1 d a r x y z : ℝ) : ℝ := | ||
| 27 | 27 | q*(4*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ |
| 28 | 28 | (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) |
| 29 | 29 | |
| 30 | -theorem differenceEnvelope_nonneg (Ti ci q q1 d a r x y z : ℝ) | |
| 31 | - (hTi : 0 ≤ Ti) (hci : 0 ≤ ci) (hq : 0 ≤ q) (hq1 : 0 ≤ q1) | |
| 32 | - (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 33 | - (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) : | |
| 34 | - 0 ≤ differenceEnvelope Ti ci q q1 d a r x y z := by | |
| 35 | - unfold differenceEnvelope slopeDifferenceEnvelope | |
| 36 | - generatorDifferenceEnvelope slopeEnvelope endpointDifferenceCost | |
| 37 | - positivity | |
| 38 | - | |
| 39 | 30 | theorem historyDifferenceCost_le_envelope (T c Ti ci q q1 d a r x y z : ℝ) |
| 40 | 31 | (hT : 0 < T) (hT1 : T ≤ 1) (hTi : T⁻¹ ≤ Ti) (hc : 0 < c) (hci : c⁻¹ ≤ ci) |
| 41 | 32 | (hq : 0 ≤ q) (hq1 : 0 ≤ q1) (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) |
+0 −7 Euler/TransverseInitialCoordinates.lean View file
| @@ -42,13 +42,6 @@ theorem initialCoordinates_initial (u : TimeLp T E) : | ||
| 42 | 42 | initialCoordinates T hT Q c hc hQ u 0 = 0 := by |
| 43 | 43 | simp only [initialCoordinates, initialRealPrimitive_initial, map_zero] |
| 44 | 44 | |
| 45 | -theorem initialCoordinateField_ae (u : TimeLp T E) : | |
| 46 | - (initialCoordinateField T hT Q c hc hQ u : ℝ → U) =ᵐ[timeMeasure T] | |
| 47 | - initialCoordinates T hT Q c hc hQ u := | |
| 48 | - fieldProduct_ae T hT (frameLeftInversePath T Q c hc hQ) | |
| 49 | - (initialPrimitiveTimeLp T hT u) (initialRealPrimitive T u) | |
| 50 | - (initialPrimitiveTimeLp_ae T hT u) | |
| 51 | - | |
| 52 | 45 | variable (hd : ∀ t : Icc (0 : ℝ) T, |
| 53 | 46 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 54 | 47 | |
+0 −4 Euler/TransverseInitialInverse.lean View file
| @@ -35,10 +35,6 @@ def initialCoordinateOperator : TimeLp T E →L[ℝ] TimeLp T U := | ||
| 35 | 35 | initialProductDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 36 | 36 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 37 | 37 | |
| 38 | -theorem initialCoordinateOperator_apply (u : TimeLp T E) : | |
| 39 | - initialCoordinateOperator T hT Q Q₁ c hc hQ u = | |
| 40 | - initialCoordinateDerivative T hT Q Q₁ c hc hQ u := rfl | |
| 41 | - | |
| 42 | 38 | include hd in |
| 43 | 39 | theorem initialCoordinates_product (u : TimeLp T U) (t : Icc (0 : ℝ) T) : |
| 44 | 40 | initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) t = |
+0 −21 Euler/TransverseMomentumRegularity.lean View file
| @@ -131,25 +131,4 @@ theorem momentum_weak | ||
| 131 | 131 | exact momentum_weak_of_product_tests T hT Q Q₁ hQ H |
| 132 | 132 | (u : TimeLp T E) f v htest |
| 133 | 133 | |
| 134 | -/-- The actual solved transverse momentum has an AC representative and the | |
| 135 | -prescribed genuine a.e. derivative. This is a regularity conclusion of the solve. -/ | |
| 136 | -theorem transverseSolver_momentum_ac (hTpos : 0 < T) | |
| 137 | - (hQ : ∀ t : Icc (0 : ℝ) T, | |
| 138 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 139 | - (m : Icc (0 : ℝ) T → E) | |
| 140 | - (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 141 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) | |
| 142 | - (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 143 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) (f : TimeLp T E) : | |
| 144 | - let u : TimeLp T E := transverseSolver T hT m H K hK hH hsmall f | |
| 145 | - ∃ p : ℝ → U, AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 146 | - (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] p ∧ | |
| 147 | - ∀ᵐ t ∂timeMeasure T, | |
| 148 | - HasDerivAt p (momentumForcing T hT Q Q₁ H u f t) t := by | |
| 149 | - apply exists_ac_representative_of_weak T hTpos | |
| 150 | - intro v hv | |
| 151 | - exact momentum_weak T hT Q Q₁ hQ m hm H | |
| 152 | - (transverseSolver T hT m H K hK hH hsmall f) f | |
| 153 | - (transverseSolver_weak T hT m H K hK hH hsmall f) v hv | |
| 154 | - | |
| 155 | 134 | end EulerTransverseMomentumRegularity |
+0 −17 Euler/TransversePacketCorrector.lean View file
| @@ -121,28 +121,11 @@ def correctorDerivative : VectorField := fun z => | ||
| 121 | 121 | pointField P (G.correctorTimePath I) (G.correctorTimePath_orbit I) |
| 122 | 122 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 123 | 123 | |
| 124 | -theorem corrector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 125 | - HasDerivWithinAt (fun r => G.corrector I (r,(x,θ))) | |
| 126 | - (G.correctorDerivative I (t,(x,θ))) (Icc (0 : ℝ) D.T) t := by | |
| 127 | - have h := pointField_hasDerivWithinAt P D.T D.T_pos.le (G.correctorPath I) (G.correctorTimePath I) | |
| 128 | - (G.correctorPath_orbit I) (G.correctorTimePath_orbit I) (G.correctorPath_time I) t (x,(θ : AddCircle P)) | |
| 129 | - simpa only [corrector, correctorDerivative, Data.clamp, projIcc_of_mem D.T_pos.le t.property] using h | |
| 130 | - | |
| 131 | 124 | theorem fullVelocityPath_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 132 | 125 | (∫ θ in (0 : ℝ)..P, pointField P (G.fullVelocityPath I) (G.velocityPath_orbit I) |
| 133 | 126 | t (x,(θ : AddCircle P))) = 0 := by |
| 134 | 127 | simpa only [vector, EulerSourceCylinderClassical.field, Data.clamp_coe] using G.vector_mean_zero I t x |
| 135 | 128 | |
| 136 | -/-- This potential is exactly the manuscript's normalized angular integral of −m×A/|m|². -/ | |
| 137 | -theorem potentialPath_eq_periodic (t : Icc (0 : ℝ) D.T) : | |
| 138 | - pointField P (G.potentialPath I) (G.potentialPath_orbit I) t = | |
| 139 | - EulerPacketPeriodicPotential.field P (fun x => D.normal.field t x) | |
| 140 | - (pointField P (G.fullVelocityPath I) (G.velocityPath_orbit I) t) := | |
| 141 | - EulerCylinderPotential.potentialField_eq_periodic P D.potentialCoefficientPath | |
| 142 | - D.potentialCoefficientPath_orbit (G.fullVelocityPath I) (G.velocityPath_orbit I) | |
| 143 | - (G.fullVelocityPath_mean_zero I) (fun t x => D.normal.field t x) | |
| 144 | - (potentialCoefficient_apply D.normal D.normalLower D.normalLower_pos D.normal_lower) t | |
| 145 | - | |
| 146 | 129 | /-- The stored corrector is the literal slow curl with the actual inverse deformation. -/ |
| 147 | 130 | theorem corrector_formula (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 148 | 131 | G.corrector I (t,(x,θ)) = |
+0 −42 Euler/TransversePacketCorrectorMean.lean View file
| @@ -15,46 +15,4 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 15 | 15 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | 16 | {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 17 | 17 | |
| 18 | -theorem fullVelocityPath_average_zero : pathAverage P (G.fullVelocityPath I) = 0 := | |
| 19 | - (pathAverage_eq_zero_iff P (G.fullVelocityPath I) (G.velocityPath_orbit I)).mpr | |
| 20 | - (G.fullVelocityPath_mean_zero I) | |
| 21 | - | |
| 22 | -theorem fullDerivativePath_average_zero : pathAverage P (G.fullDerivativePath I) = 0 := by | |
| 23 | - apply ContinuousMap.ext | |
| 24 | - intro t | |
| 25 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 26 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 27 | - G.path I.value G.mean_zero I.mean_zero t | |
| 28 | - | |
| 29 | -theorem potentialPath_average_zero : pathAverage P (G.potentialPath I) = 0 := | |
| 30 | - potentialPath_mean_zero P (G.fullVelocityPath I) D.potentialCoefficientPath | |
| 31 | - (G.fullVelocityPath_average_zero I) | |
| 32 | - | |
| 33 | -theorem potentialTimePath_average_zero : pathAverage P (G.potentialTimePath I) = 0 := by | |
| 34 | - rw [potentialTimePath, EulerCylinderPotential.potentialDerivative, map_add, | |
| 35 | - potentialPath_mean_zero P (G.fullVelocityPath I) D.potentialDerivative (G.fullVelocityPath_average_zero I), | |
| 36 | - potentialPath_mean_zero P (G.fullDerivativePath I) D.potentialCoefficientPath (G.fullDerivativePath_average_zero I), | |
| 37 | - add_zero] | |
| 38 | - | |
| 39 | -theorem correctorPath_average_zero : pathAverage P (G.correctorPath I) = 0 := | |
| 40 | - slowCurl_mean_zero P (G.potentialPath I) (G.potentialPath_orbit I) D.FInv.field | |
| 41 | - (G.potentialPath_average_zero I) | |
| 42 | - | |
| 43 | -theorem correctorTimePath_average_zero : pathAverage P (G.correctorTimePath I) = 0 := by | |
| 44 | - rw [correctorTimePath, EulerCylinderSlowCurl.derivative, map_add, | |
| 45 | - slowCurl_mean_zero P (G.potentialPath I) (G.potentialPath_orbit I) D.inverseDerivative | |
| 46 | - (G.potentialPath_average_zero I), | |
| 47 | - slowCurl_mean_zero P (G.potentialTimePath I) (G.potentialTimePath_orbit I) D.FInv.field | |
| 48 | - (G.potentialTimePath_average_zero I), add_zero] | |
| 49 | - | |
| 50 | -theorem corrector_mean_zero (t : ℝ) (x : Space) : | |
| 51 | - (∫ θ in (0 : ℝ)..P, G.corrector I (t,(x,θ))) = 0 := | |
| 52 | - (pathAverage_eq_zero_iff P (G.correctorPath I) (G.correctorPath_orbit I)).mp | |
| 53 | - (G.correctorPath_average_zero I) (D.clamp t) x | |
| 54 | - | |
| 55 | -theorem correctorDerivative_mean_zero (t : ℝ) (x : Space) : | |
| 56 | - (∫ θ in (0 : ℝ)..P, G.correctorDerivative I (t,(x,θ))) = 0 := | |
| 57 | - (pathAverage_eq_zero_iff P (G.correctorTimePath I) (G.correctorTimePath_orbit I)).mp | |
| 58 | - (G.correctorTimePath_average_zero I) (D.clamp t) x | |
| 59 | - | |
| 60 | 18 | end EulerTransversePacketProvider.Forcing |
+0 −7 Euler/TransversePacketCorrectorOperator.lean View file
| @@ -63,12 +63,5 @@ theorem curlCorrectorField_time : | ||
| 63 | 63 | TimeDerivative D.T_pos.le (G.curlCorrectorField I) (G.correctorDerivativeField I) := |
| 64 | 64 | G.correctorPath_time I |
| 65 | 65 | |
| 66 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 67 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (G.vector I) (t,(x,θ))) = 0 := by | |
| 68 | - have he : (fun θ => D.curlCorrector P (G.vector I) (t,(x,θ))) = | |
| 69 | - fun θ => G.corrector I (t,(x,θ)) := funext (fun θ => G.curlCorrector_eq I t x θ) | |
| 70 | - rw [he] | |
| 71 | - exact G.corrector_mean_zero I t x | |
| 72 | - | |
| 73 | 66 | end Forcing |
| 74 | 67 | end EulerTransversePacketProvider |
+0 −39 Euler/TransversePacketCorrectorSupport.lean View file
| @@ -19,53 +19,14 @@ theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 19 | 19 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 20 | 20 | (G.fullVelocityPath I) D.potentialCoefficientPath (fun s => (G.velocityPath I s).property) t |
| 21 | 21 | |
| 22 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 23 | - G.potentialTimePath I t ∈ Supported P Space D.support D.support_measurable := by | |
| 24 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 25 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 26 | - (G.fullVelocityPath I) D.potentialDerivative (fun s => (G.velocityPath I s).property) t | |
| 27 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 28 | - (G.fullDerivativePath I) D.potentialCoefficientPath (fun s => (G.derivativePath I s).property) t | |
| 29 | - | |
| 30 | 22 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 31 | 23 | G.correctorPath I t ∈ Supported P Space D.support D.support_measurable := |
| 32 | 24 | slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) |
| 33 | 25 | (G.potentialPath_orbit I) D.FInv.field D.support_compact.isClosed (G.potentialPath_supported I) t |
| 34 | 26 | |
| 35 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 36 | - G.correctorTimePath I t ∈ Supported P Space D.support D.support_measurable := by | |
| 37 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 38 | - · exact slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) | |
| 39 | - (G.potentialPath_orbit I) D.inverseDerivative D.support_compact.isClosed | |
| 40 | - (G.potentialPath_supported I) t | |
| 41 | - · exact slowCurlPath_supported P D.support D.support_measurable (G.potentialTimePath I) | |
| 42 | - (G.potentialTimePath_orbit I) D.FInv.field D.support_compact.isClosed | |
| 43 | - (G.potentialTimePath_supported I) t | |
| 44 | - | |
| 45 | 27 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 46 | 28 | G.corrector I (t,(x,θ)) = 0 := |
| 47 | 29 | pointField_zero_outside P D.support D.support_measurable (G.correctorPath I) (G.correctorPath_orbit I) |
| 48 | 30 | D.support_compact.isClosed (G.correctorPath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 49 | 31 | |
| 50 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 51 | - G.correctorDerivative I (t,(x,θ)) = 0 := | |
| 52 | - pointField_zero_outside P D.support D.support_measurable (G.correctorTimePath I) | |
| 53 | - (G.correctorTimePath_orbit I) D.support_compact.isClosed | |
| 54 | - (G.correctorTimePath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 55 | - | |
| 56 | -theorem corrector_compact (t θ : ℝ) : HasCompactSupport (fun x => G.corrector I (t,(x,θ))) := by | |
| 57 | - apply D.support_compact.of_isClosed_subset (isClosed_tsupport _) | |
| 58 | - apply closure_minimal _ D.support_compact.isClosed | |
| 59 | - intro x hx | |
| 60 | - by_contra hn | |
| 61 | - exact hx (G.corrector_zero_outside I t x hn θ) | |
| 62 | - | |
| 63 | -theorem correctorDerivative_compact (t θ : ℝ) : | |
| 64 | - HasCompactSupport (fun x => G.correctorDerivative I (t,(x,θ))) := by | |
| 65 | - apply D.support_compact.of_isClosed_subset (isClosed_tsupport _) | |
| 66 | - apply closure_minimal _ D.support_compact.isClosed | |
| 67 | - intro x hx | |
| 68 | - by_contra hn | |
| 69 | - exact hx (G.correctorDerivative_zero_outside I t x hn θ) | |
| 70 | - | |
| 71 | 32 | end EulerTransversePacketProvider.Forcing |
+0 −20 Euler/TransversePacketCylinderFields.lean View file
| @@ -49,24 +49,4 @@ def correctorDerivativeField : Field P D.T (G.correctorDerivative I) where | ||
| 49 | 49 | (D.clamp t) (x,(θ : AddCircle P)) = _ |
| 50 | 50 | rw [Data.clamp_coe] |
| 51 | 51 | |
| 52 | -theorem correctorField_time : | |
| 53 | - TimeDerivative D.T_pos.le (G.correctorField I) (G.correctorDerivativeField I) := | |
| 54 | - G.correctorPath_time I | |
| 55 | - | |
| 56 | -theorem vectorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 57 | - (G.vectorField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 58 | - (G.velocityPath I t).property | |
| 59 | - | |
| 60 | -theorem vectorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 61 | - (G.vectorDerivativeField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 62 | - (G.derivativePath I t).property | |
| 63 | - | |
| 64 | -theorem correctorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 65 | - (G.correctorField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 66 | - G.correctorPath_supported I t | |
| 67 | - | |
| 68 | -theorem correctorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 69 | - (G.correctorDerivativeField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 70 | - G.correctorTimePath_supported I t | |
| 71 | - | |
| 72 | 52 | end EulerTransversePacketProvider.Forcing |
+0 −33 Euler/TransversePacketEndpoint.lean View file
| @@ -28,31 +28,17 @@ def displacementPath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | ||
| 28 | 28 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 29 | 29 | B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U) |
| 30 | 30 | |
| 31 | -def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | |
| 32 | - B.coefficients.endpointAcceleration P (Y.value : CylinderL2 P U) | |
| 33 | - | |
| 34 | 31 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 35 | 32 | B.coefficients.endpointVelocity P (Y.value : CylinderL2 P U) |
| 36 | 33 | |
| 37 | 34 | def derivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 38 | 35 | B.coefficients.endpointDerivative P (Y.value : CylinderL2 P U) |
| 39 | 36 | |
| 40 | -theorem displacement_initial : displacementPath B Y ⟨0,le_rfl,D.T_pos.le⟩ = 0 := | |
| 41 | - B.coefficients.endpointDisplacement_initial P Y.value | |
| 42 | - | |
| 43 | -theorem displacement_terminal : displacementPath B Y ⟨D.T,D.T_pos.le,le_rfl⟩ = Y.value := | |
| 44 | - B.coefficients.endpointDisplacement_terminal P Y.value | |
| 45 | - | |
| 46 | 37 | theorem coordinatePath_orbit : |
| 47 | 38 | ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinatePath B Y)) := |
| 48 | 39 | B.coefficients.endpointCoordinate_orbit_contDiff P D.frame.translation_contDiff |
| 49 | 40 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 50 | 41 | |
| 51 | -theorem coordinateDerivativePath_orbit : | |
| 52 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinateDerivativePath B Y)) := | |
| 53 | - B.coefficients.endpointAcceleration_orbit_contDiff P D.frame.translation_contDiff | |
| 54 | - D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit | |
| 55 | - | |
| 56 | 42 | theorem velocityPath_orbit : |
| 57 | 43 | ContDiff ℝ ∞ (fun a => pathTranslate P a (velocityPath B Y)) := |
| 58 | 44 | B.coefficients.endpointVelocity_orbit_contDiff P D.frame.translation_contDiff |
| @@ -63,16 +49,6 @@ theorem derivativePath_orbit : | ||
| 63 | 49 | B.coefficients.endpointDerivative_orbit_contDiff P D.frame.translation_contDiff |
| 64 | 50 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 65 | 51 | |
| 66 | -theorem displacementPath_time (t : Icc (0 : ℝ) D.T) : | |
| 67 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (displacementPath B Y)) | |
| 68 | - (coordinatePath B Y t) (Icc (0 : ℝ) D.T) t := | |
| 69 | - B.coefficients.endpointDisplacement_hasDerivWithinAt P Y.value t | |
| 70 | - | |
| 71 | -theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : | |
| 72 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (coordinatePath B Y)) | |
| 73 | - (coordinateDerivativePath B Y t) (Icc (0 : ℝ) D.T) t := | |
| 74 | - B.coefficients.endpointCoordinate_hasDerivWithinAt P Y.value t | |
| 75 | - | |
| 76 | 52 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | 53 | HasDerivWithinAt (extendPath D.T D.T_pos.le (velocityPath B Y)) |
| 78 | 54 | (derivativePath B Y t) (Icc (0 : ℝ) D.T) t := |
| @@ -88,11 +64,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 88 | 64 | B.coefficients.endpointVelocity_supported P D.support D.support_measurable |
| 89 | 65 | Y.value Y.value.property t |
| 90 | 66 | |
| 91 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 92 | - derivativePath B Y t ∈ Supported P Space D.support D.support_measurable := | |
| 93 | - B.coefficients.endpointDerivative_supported P D.support D.support_measurable | |
| 94 | - Y.value Y.value.property t | |
| 95 | - | |
| 96 | 67 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 97 | 68 | average P (coordinatePath B Y t) = 0 := |
| 98 | 69 | B.coefficients.endpointCoordinate_mean_zero P Y.value Y.mean_zero t |
| @@ -101,10 +72,6 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : | ||
| 101 | 72 | average P (velocityPath B Y t) = 0 := |
| 102 | 73 | B.coefficients.endpointVelocity_mean_zero P Y.value Y.mean_zero t |
| 103 | 74 | |
| 104 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 105 | - average P (derivativePath B Y t) = 0 := | |
| 106 | - B.coefficients.endpointDerivative_mean_zero P Y.value Y.mean_zero t | |
| 107 | - | |
| 108 | 75 | def terminalInitial : InitialData P D where |
| 109 | 76 | value := ⟨coordinatePath B Y ⟨D.T,D.T_pos.le,le_rfl⟩, |
| 110 | 77 | coordinatePath_supported B Y _⟩ |
+0 −9 Euler/TransversePacketEndpointPointwise.lean View file
| @@ -60,13 +60,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 60 | 60 | {D : Data U} (B : HistoryData D) (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 61 | 61 | (hs : tsupport innerCutoff ⊆ D.support) |
| 62 | 62 | |
| 63 | -theorem compact_wave_history (t : Icc (0 : ℝ) D.T) (x : LiftDomain period) : | |
| 64 | - pointField period (velocityPath B (initialData D δ hδ ξ hs)) | |
| 65 | - (velocityPath_orbit B (initialData D δ hδ ξ hs)) t x = | |
| 66 | - scalarField δ x • B.coefficients.labelVelocity x.1 ξ t := by | |
| 67 | - rw [velocityPath_eq_history B (initialData D δ hδ ξ hs) (field δ ξ) | |
| 68 | - (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ)] | |
| 69 | - change B.coefficients.labelVelocity x.1 (scalarField δ x • ξ) t = _ | |
| 70 | - rw [map_smul,ContinuousMap.smul_apply] | |
| 71 | - | |
| 72 | 63 | end EulerPacketTerminalDatum |
+0 −27 Euler/TransversePacketForwardFullBounds.lean View file
| @@ -29,8 +29,6 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 29 | 29 | (N : EulerTransversePacketJoin.NormalBudget D q L.R) |
| 30 | 30 | |
| 31 | 31 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 32 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*L.commonCost) | |
| 33 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*L.commonCost) | |
| 34 | 32 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 35 | 33 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 36 | 34 | |
| @@ -70,31 +68,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 70 | 68 | (L.pressureAmplitude (P := P) N*A) (d+1) (L.pressure_bound N G I A hA d hforce hinitial) n |
| 71 | 69 | simpa only [show d+1+1=d+2 by omega,mul_assoc] using h |
| 72 | 70 | |
| 73 | -theorem potential_bound (n : ℕ) : | |
| 74 | - block standardDirection q (fun a => pathTranslate P a | |
| 75 | - (normalize L.g L.positive (G.potentialPath I))) n 0 ≤ | |
| 76 | - (L.potentialAmplitude (P := P) N*A)*majorant L.R (d+1) n := by | |
| 77 | - have hc := N.coefficient_bounds | |
| 78 | - have h := G.potentialPath_normalized_bound I L.g L.positive | |
| 79 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 80 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) | |
| 81 | - (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 82 | - (fun j a => (hc.2.2 j a).2.2.1) n | |
| 83 | - exact h.trans_eq (by unfold potentialAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 84 | - | |
| 85 | -theorem potential_time_bound (n : ℕ) : | |
| 86 | - block standardDirection q (fun a => pathTranslate P a | |
| 87 | - (normalize L.g L.positive (G.potentialTimePath I))) n 0 ≤ | |
| 88 | - (L.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+1) n := by | |
| 89 | - have hc := N.coefficient_bounds | |
| 90 | - have h := G.potentialTimePath_normalized_bound I L.g L.positive | |
| 91 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 92 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) | |
| 93 | - (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 94 | - (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 95 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 96 | - exact h.trans_eq (by unfold potentialTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 97 | - | |
| 98 | 71 | theorem corrector_bound (n : ℕ) : |
| 99 | 72 | block standardDirection q (fun a => pathTranslate P a |
| 100 | 73 | (normalize L.g L.positive (G.correctorPath I))) n 0 ≤ |
+0 −34 Euler/TransversePacketHistory.lean View file
| @@ -34,9 +34,6 @@ abbrev forcingPath := includePath P D.support D.support_measurable G.path | ||
| 34 | 34 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 35 | 35 | B.coefficients.velocityPath P (pathLp D.T D.T_pos.le (forcingPath G)) |
| 36 | 36 | |
| 37 | -def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | |
| 38 | - B.coefficients.accelerationPath P (forcingPath G) | |
| 39 | - | |
| 40 | 37 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 41 | 38 | B.coefficients.physicalVelocity P (forcingPath G) |
| 42 | 39 | |
| @@ -51,11 +48,6 @@ theorem coordinatePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.c | ||
| 51 | 48 | B.coefficients.velocityPath_orbit_contDiff P D.frame.translation_contDiff |
| 52 | 49 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 53 | 50 | |
| 54 | -theorem coordinateDerivativePath_orbit : | |
| 55 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinateDerivativePath G)) := | |
| 56 | - B.coefficients.accelerationPath_orbit_contDiff P D.frame.translation_contDiff | |
| 57 | - D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit | |
| 58 | - | |
| 59 | 51 | theorem velocityPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.velocityPath G)) := |
| 60 | 52 | B.coefficients.physicalVelocity_orbit_contDiff P D.frame.translation_contDiff |
| 61 | 53 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| @@ -68,11 +60,6 @@ theorem pressurePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.pre | ||
| 68 | 60 | sourcePressure_contDiff P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 69 | 61 | (forcingPath G) (B.velocityPath G) G.path_orbit (B.velocityPath_orbit G) |
| 70 | 62 | |
| 71 | -theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : | |
| 72 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (B.coordinatePath G)) | |
| 73 | - (B.coordinateDerivativePath G t) (Icc (0 : ℝ) D.T) t := | |
| 74 | - B.coefficients.velocity_hasDerivWithinAt P (forcingPath G) t | |
| 75 | - | |
| 76 | 63 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | 64 | HasDerivWithinAt (extendPath D.T D.T_pos.le (B.velocityPath G)) |
| 78 | 65 | (B.derivativePath G t) (Icc (0 : ℝ) D.T) t := |
| @@ -88,20 +75,12 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 88 | 75 | B.coefficients.physicalVelocity_supported P D.support D.support_measurable |
| 89 | 76 | (forcingPath G) (fun s => (G.path s).property) t |
| 90 | 77 | |
| 91 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 92 | - B.derivativePath G t ∈ Supported P Space D.support D.support_measurable := | |
| 93 | - B.coefficients.physicalDerivative_supported P D.support D.support_measurable | |
| 94 | - (forcingPath G) (fun s => (G.path s).property) t | |
| 95 | - | |
| 96 | 78 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.coordinatePath G t) = 0 := |
| 97 | 79 | B.coefficients.velocityPath_mean_zero P (forcingPath G) G.mean_zero t |
| 98 | 80 | |
| 99 | 81 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.velocityPath G t) = 0 := |
| 100 | 82 | B.coefficients.physicalVelocity_mean_zero P (forcingPath G) G.mean_zero t |
| 101 | 83 | |
| 102 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.derivativePath G t) = 0 := | |
| 103 | - B.coefficients.physicalDerivative_mean_zero P (forcingPath G) G.mean_zero t | |
| 104 | - | |
| 105 | 84 | def field (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := |
| 106 | 85 | pointField P (B.velocityPath G) (B.velocityPath_orbit G) t |
| 107 | 86 | |
| @@ -124,12 +103,6 @@ theorem derivativeField_ae (t : Icc (0 : ℝ) D.T) : | ||
| 124 | 103 | B.derivativePath G t =ᵐ[liftMeasure P] B.derivativeField G t := |
| 125 | 104 | pointField_ae P (B.derivativePath G) (B.derivativePath_orbit G) t |
| 126 | 105 | |
| 127 | -theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : | |
| 128 | - HasDerivWithinAt (fun s => B.field G (D.clamp s) x) | |
| 129 | - (B.derivativeField G t x) (Icc (0 : ℝ) D.T) t := | |
| 130 | - pointField_hasDerivWithinAt P D.T D.T_pos.le (B.velocityPath G) (B.derivativePath G) | |
| 131 | - (B.velocityPath_orbit G) (B.derivativePath_orbit G) (B.velocityPath_time G) t x | |
| 132 | - | |
| 133 | 106 | theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : |
| 134 | 107 | B.field G t x = 0 := by |
| 135 | 108 | change pointField P (B.velocityPath G) (B.velocityPath_orbit G) t x = 0 |
| @@ -137,13 +110,6 @@ theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 | ||
| 137 | 110 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 138 | 111 | _ _ (B.velocityPath_supported G t) x hx |
| 139 | 112 | |
| 140 | -theorem derivativeField_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : | |
| 141 | - B.derivativeField G t x = 0 := by | |
| 142 | - change pointField P (B.derivativePath G) (B.derivativePath_orbit G) t x = 0 | |
| 143 | - rw [pointField_eq_representative] | |
| 144 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 145 | - _ _ (B.derivativePath_supported G t) x hx | |
| 146 | - | |
| 147 | 113 | omit [CompleteSpace U] in |
| 148 | 114 | theorem normal_ne_zero (t : Icc (0 : ℝ) D.T) (x : Space) : D.normal.field t x ≠ 0 := by |
| 149 | 115 | intro hzero |
+0 −6 Euler/TransversePacketHistoryData.lean View file
| @@ -82,12 +82,6 @@ def coefficients : EulerCylinderDirichlet.Coefficients D.T U Space where | ||
| 82 | 82 | potential_bound := B.potential_bound |
| 83 | 83 | small := B.small |
| 84 | 84 | |
| 85 | -theorem coefficient_frame (t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : | |
| 86 | - B.coefficients.Q t x v = D.F.field t x (D.R v : Space) := rfl | |
| 87 | - | |
| 88 | -theorem coefficient_hessian (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 89 | - B.coefficients.H t x = B.H.field t x := rfl | |
| 90 | - | |
| 91 | 85 | end HistoryData |
| 92 | 86 | |
| 93 | 87 | end EulerTransversePacketProvider |
+0 −5 Euler/TransversePacketHistoryParity.lean View file
| @@ -31,11 +31,6 @@ theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | ||
| 31 | 31 | B.coefficients.physicalVelocity_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH |
| 32 | 32 | (forcingPath G) (G.path_reflection_neg hraw) t |
| 33 | 33 | |
| 34 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 35 | - reflection P (B.derivativePath G t) = -B.derivativePath G t := | |
| 36 | - B.coefficients.physicalDerivative_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 37 | - (forcingPath G) (G.path_reflection_neg hraw) t | |
| 38 | - | |
| 39 | 34 | theorem field_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 40 | 35 | B.field G t (-x,((-θ : ℝ) : AddCircle P)) = -B.field G t (x,(θ : AddCircle P)) := by |
| 41 | 36 | have he := representative_of_reflection P (B.velocityPath G t) (B.field G t) |
+0 −4 Euler/TransversePacketHistoryPressure.lean View file
| @@ -130,10 +130,6 @@ theorem pressureField_angle (t : Icc (0 : ℝ) D.T) (y : Space) (θ : ℝ) : | ||
| 130 | 130 | (B.normalResidual G t (y,(θ : AddCircle P))) θ := |
| 131 | 131 | classicalPrimitive_angle P _ _ _ y θ |
| 132 | 132 | |
| 133 | -theorem pressureField_mean_zero (t : Icc (0 : ℝ) D.T) (y : Space) : | |
| 134 | - (∫ θ in (0 : ℝ)..P, B.pressureField G t (y,(θ : AddCircle P))) = 0 := | |
| 135 | - classicalPrimitive_mean_zero P _ _ _ y | |
| 136 | - | |
| 137 | 133 | theorem pressureField_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 138 | 134 | ContDiff ℝ ∞ (localFieldLift P (B.pressureField G t) x) := |
| 139 | 135 | classicalPrimitive_smooth P _ _ _ (B.normalResidual_smooth G t) x |
+0 −14 Euler/TransversePacketHomogeneity.lean View file
| @@ -85,20 +85,6 @@ namespace EulerElapsedTimePathGluing | ||
| 85 | 85 | |
| 86 | 86 | open Set EulerPacketTimePathGluing |
| 87 | 87 | |
| 88 | -theorem join_smul {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 89 | - (S τ : ℝ) (hτ : 0 ≤ τ) (hτS : τ ≤ S) | |
| 90 | - (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) | |
| 91 | - (hm : u ⟨τ,hτ,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) (a : ℝ) : | |
| 92 | - join S τ hτ hτS (a • u) (a • v) (congrArg (a • ·) hm) = | |
| 93 | - a • join S τ hτ hτS u v hm := by | |
| 94 | - apply ContinuousMap.ext | |
| 95 | - intro t | |
| 96 | - change (if (t : ℝ) ≤ τ then a • u (projIcc 0 τ hτ t) | |
| 97 | - else a • v (elapsedTime S τ (projIcc τ S hτS t))) = | |
| 98 | - a • (if (t : ℝ) ≤ τ then u (projIcc 0 τ hτ t) | |
| 99 | - else v (elapsedTime S τ (projIcc τ S hτS t))) | |
| 100 | - split <;> rfl | |
| 101 | - | |
| 102 | 88 | end EulerElapsedTimePathGluing |
| 103 | 89 | |
| 104 | 90 | namespace EulerTransversePacketJoin |
+0 −22 Euler/TransversePacketInitial.lean View file
| @@ -49,28 +49,6 @@ theorem velocityPath_initial : | ||
| 49 | 49 | (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩) (G.coordinatePath I ⟨0,le_rfl,D.T_pos.le⟩) = _ |
| 50 | 50 | rw [G.coordinatePath_initial I] |
| 51 | 51 | |
| 52 | -theorem vector_initial_of_zero (hi : I.value = 0) (x : Space) (θ : ℝ) : | |
| 53 | - G.vector I (0,(x,θ)) = 0 := by | |
| 54 | - have hv : G.velocityPath I ⟨0,le_rfl,D.T_pos.le⟩ = 0 := by | |
| 55 | - rw [G.velocityPath_initial I,hi,map_zero] | |
| 56 | - have hfull : includePath P D.support D.support_measurable (G.velocityPath I) | |
| 57 | - ⟨0,le_rfl,D.T_pos.le⟩ = 0 := congrArg Subtype.val hv | |
| 58 | - have h := pointField_zero_of_value_zero P | |
| 59 | - (includePath P D.support D.support_measurable (G.velocityPath I)) | |
| 60 | - (G.velocityPath_orbit I) ⟨0,le_rfl,D.T_pos.le⟩ hfull (x,(θ : AddCircle P)) | |
| 61 | - simpa only [vector,EulerSourceCylinderClassical.field,Data.clamp, | |
| 62 | - projIcc_of_mem D.T_pos.le (show (0 : ℝ) ∈ Icc 0 D.T from ⟨le_rfl,D.T_pos.le⟩)] using h | |
| 63 | - | |
| 64 | -theorem vector_zero_initial (x : Space) (θ : ℝ) : | |
| 65 | - G.vector (InitialData.zero P D) (0,(x,θ)) = 0 := | |
| 66 | - G.vector_initial_of_zero (InitialData.zero P D) rfl x θ | |
| 67 | - | |
| 68 | 52 | end Forcing |
| 69 | 53 | |
| 70 | -theorem highSolve_zero_initial (D : Data U) (raw : VectorField) | |
| 71 | - (h : Nonempty (Forcing P D raw)) (x : Space) (θ : ℝ) : | |
| 72 | - (highSolve P D (InitialData.zero P D) raw).1 (0,(x,θ)) = 0 := by | |
| 73 | - rw [highSolve_of_admissible D (InitialData.zero P D) raw h] | |
| 74 | - exact (Classical.choice h).vector_zero_initial x θ | |
| 75 | - | |
| 76 | 54 | end EulerTransversePacketProvider |
+0 −5 Euler/TransversePacketIntervalData.lean View file
| @@ -86,11 +86,6 @@ theorem initial_inverseBound_le (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) : | ||
| 86 | 86 | change 1+‖(D.FInv.comp (initialInclusion D.T τ hτT)).field‖ ≤ 1+‖D.FInv.field‖ |
| 87 | 87 | linarith [D.FInv.comp_norm_le (initialInclusion D.T τ hτT)] |
| 88 | 88 | |
| 89 | -theorem tail_inverseBound_le (τ : ℝ) (hτ : 0 ≤ τ) (hτT : τ < D.T) : | |
| 90 | - (D.tail τ hτ hτT).inverseBound ≤ D.inverseBound := by | |
| 91 | - change 1+‖(D.FInv.comp (tailInclusion D.T τ hτ)).field‖ ≤ 1+‖D.FInv.field‖ | |
| 92 | - linarith [D.FInv.comp_norm_le (tailInclusion D.T τ hτ)] | |
| 93 | - | |
| 94 | 89 | end Data |
| 95 | 90 | |
| 96 | 91 | namespace HistoryData |
+0 −12 Euler/TransversePacketIntervalForcing.lean View file
| @@ -65,17 +65,5 @@ def terminalInitial : InitialData P D where | ||
| 65 | 65 | C(Icc (0 : ℝ) D.T,CylinderL2 P U) →L[ℝ] CylinderL2 P U).contDiff.comp (B.coordinatePath_orbit G) |
| 66 | 66 | mean_zero := B.coordinatePath_mean_zero G ⟨D.T,D.T_pos.le,le_rfl⟩ |
| 67 | 67 | |
| 68 | -/-- The history trace in the same fixed reference-plane coordinates is the | |
| 69 | -actual initial datum passed to the forward interval. -/ | |
| 70 | -def forwardInitial (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) : | |
| 71 | - InitialData P (D.tail τ hτ.le hτT) where | |
| 72 | - value := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).value | |
| 73 | - orbit := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).orbit | |
| 74 | - mean_zero := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).mean_zero | |
| 75 | - | |
| 76 | -theorem forwardInitial_eq (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) : | |
| 77 | - ((B.forwardInitial G τ hτ hτT).value : CylinderL2 P U) = | |
| 78 | - (B.initial τ hτ hτT.le).coordinatePath (G.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ := rfl | |
| 79 | - | |
| 80 | 68 | end HistoryData |
| 81 | 69 | end EulerTransversePacketProvider |
+0 −68 Euler/TransversePacketJoinedCorrectorSupport.lean View file
| @@ -18,89 +18,21 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 18 | 18 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 19 | 19 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 20 | 20 | |
| 21 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 22 | - average P (derivativePath τ hτ hτT B G t) = 0 := by | |
| 23 | - apply join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) | |
| 24 | - {u | average P u = 0} _ _ t | |
| 25 | - · exact B.derivativePath_mean_zero (G.initial τ hτ hτT.le) | |
| 26 | - · intro s | |
| 27 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 28 | - (D.T-τ) (sub_pos.mpr hτT).le | |
| 29 | - (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative | |
| 30 | - (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos | |
| 31 | - (D.tail τ hτ.le hτT).frame_lower (G.tail τ hτ.le hτT).path | |
| 32 | - (forwardInitial τ hτ hτT B G).value (G.tail τ hτ.le hτT).mean_zero | |
| 33 | - (forwardInitial τ hτ hτT B G).mean_zero s | |
| 34 | - | |
| 35 | 21 | theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : |
| 36 | 22 | potentialPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 37 | 23 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 38 | 24 | (velocityPath τ hτ hτT B G) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B G) t |
| 39 | 25 | |
| 40 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 41 | - potentialTimePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := by | |
| 42 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 43 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 44 | - (velocityPath τ hτ hτT B G) D.potentialDerivative (velocityPath_supported τ hτ hτT B G) t | |
| 45 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 46 | - (derivativePath τ hτ hτT B G) D.potentialCoefficientPath (derivativePath_supported τ hτ hτT B G) t | |
| 47 | - | |
| 48 | 26 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 49 | 27 | correctorPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 50 | 28 | slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) |
| 51 | 29 | (potentialPath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed |
| 52 | 30 | (potentialPath_supported τ hτ hτT B G) t |
| 53 | 31 | |
| 54 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 55 | - correctorTimePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := by | |
| 56 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 57 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) | |
| 58 | - (potentialPath_orbit τ hτ hτT B G) D.inverseDerivative D.support_compact.isClosed | |
| 59 | - (potentialPath_supported τ hτ hτT B G) t | |
| 60 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialTimePath τ hτ hτT B G) | |
| 61 | - (potentialTimePath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed | |
| 62 | - (potentialTimePath_supported τ hτ hτT B G) t | |
| 63 | - | |
| 64 | -theorem potentialPath_average_zero : pathAverage P (potentialPath τ hτ hτT B G) = 0 := | |
| 65 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B G) D.potentialCoefficientPath | |
| 66 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B G)) | |
| 67 | - | |
| 68 | -theorem potentialTimePath_average_zero : pathAverage P (potentialTimePath τ hτ hτT B G) = 0 := by | |
| 69 | - rw [potentialTimePath,EulerCylinderPotential.potentialDerivative,map_add, | |
| 70 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B G) D.potentialDerivative | |
| 71 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B G)), | |
| 72 | - potentialPath_mean_zero P (derivativePath τ hτ hτT B G) D.potentialCoefficientPath | |
| 73 | - (ContinuousMap.ext (derivativePath_mean_zero τ hτ hτT B G)),add_zero] | |
| 74 | - | |
| 75 | -theorem correctorPath_average_zero : pathAverage P (correctorPath τ hτ hτT B G) = 0 := | |
| 76 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) | |
| 77 | - D.FInv.field (potentialPath_average_zero τ hτ hτT B G) | |
| 78 | - | |
| 79 | -theorem correctorTimePath_average_zero : pathAverage P (correctorTimePath τ hτ hτT B G) = 0 := by | |
| 80 | - rw [correctorTimePath,EulerCylinderSlowCurl.derivative,map_add, | |
| 81 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) | |
| 82 | - D.inverseDerivative (potentialPath_average_zero τ hτ hτT B G), | |
| 83 | - slowCurl_mean_zero P (potentialTimePath τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) | |
| 84 | - D.FInv.field (potentialTimePath_average_zero τ hτ hτT B G),add_zero] | |
| 85 | - | |
| 86 | 32 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 87 | 33 | corrector τ hτ hτT B G (t,(x,θ)) = 0 := |
| 88 | 34 | pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B G) |
| 89 | 35 | (correctorPath_orbit τ hτ hτT B G) D.support_compact.isClosed |
| 90 | 36 | (correctorPath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 91 | 37 | |
| 92 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 93 | - correctorDerivative τ hτ hτT B G (t,(x,θ)) = 0 := | |
| 94 | - pointField_zero_outside P D.support D.support_measurable (correctorTimePath τ hτ hτT B G) | |
| 95 | - (correctorTimePath_orbit τ hτ hτT B G) D.support_compact.isClosed | |
| 96 | - (correctorTimePath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 97 | - | |
| 98 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 99 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ))) = 0 := by | |
| 100 | - have he : (fun θ => D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ))) = | |
| 101 | - fun θ => corrector τ hτ hτT B G (t,(x,θ)) := funext (curlCorrector_eq τ hτ hτT B G t x) | |
| 102 | - rw [he] | |
| 103 | - exact (pathAverage_eq_zero_iff P (correctorPath τ hτ hτT B G) (correctorPath_orbit τ hτ hτT B G)).mp | |
| 104 | - (correctorPath_average_zero τ hτ hτT B G) (D.clamp t) x | |
| 105 | - | |
| 106 | 38 | end EulerTransversePacketJoin |
+0 −6 Euler/TransversePacketJoinedField.lean View file
| @@ -48,12 +48,6 @@ def vectorDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B G) where | ||
| 48 | 48 | theorem vectorField_time : TimeDerivative D.T_pos.le (vectorField τ hτ hτT B G) |
| 49 | 49 | (vectorDerivativeField τ hτ hτT B G) := velocityPath_time τ hτ hτT B G |
| 50 | 50 | |
| 51 | -theorem vector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 52 | - HasDerivWithinAt (fun s => vector τ hτ hτT B G (s,(x,θ))) | |
| 53 | - (vectorDerivative τ hτ hτT B G (t,(x,θ))) (Icc (0 : ℝ) D.T) t := | |
| 54 | - (vectorField τ hτ hτT B G).raw_hasDerivWithinAt D.T_pos.le | |
| 55 | - (vectorDerivativeField τ hτ hτT B G) (vectorField_time τ hτ hτT B G) t x θ | |
| 56 | - | |
| 57 | 51 | theorem scalar_eq_pointField (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 58 | 52 | scalar τ hτ hτT B G (t,(x,θ)) = |
| 59 | 53 | scalarPointField P (pressurePath τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
+0 −25 Euler/TransversePacketJoinedFullBounds.lean View file
| @@ -32,8 +32,6 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 32 | 32 | (L : Budget D τ hτ hτT B (Fin 4) q) (N : NormalBudget D q L.R) |
| 33 | 33 | |
| 34 | 34 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 35 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*L.commonCost) | |
| 36 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*L.commonCost) | |
| 37 | 35 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 38 | 36 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 39 | 37 | |
| @@ -82,29 +80,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 82 | 80 | q L.R (L.pressureAmplitude (P := P) N*A) (d+3) (L.pressure_bound N G A hA d hforce) n |
| 83 | 81 | simpa only [show d+3+1=d+4 by omega,mul_assoc] using h |
| 84 | 82 | |
| 85 | -theorem potential_bound (n : ℕ) : | |
| 86 | - block standardDirection q (fun a => pathTranslate P a | |
| 87 | - (normalize L.fullProfile L.fullProfile_pos (potentialPath τ hτ hτT B G))) n 0 ≤ | |
| 88 | - (L.potentialAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 89 | - have hc := N.coefficient_bounds | |
| 90 | - have h := potentialPath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos | |
| 91 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 92 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) | |
| 93 | - (L.velocity_common_bound G A hA d hforce) (fun j a => (hc.2.2 j a).2.2.1) n | |
| 94 | - exact h.trans_eq (by unfold potentialAmplitude NormalBudget.blockAmplitude; ring) | |
| 95 | - | |
| 96 | -theorem potential_time_bound (n : ℕ) : | |
| 97 | - block standardDirection q (fun a => pathTranslate P a | |
| 98 | - (normalize L.fullProfile L.fullProfile_pos (potentialTimePath τ hτ hτT B G))) n 0 ≤ | |
| 99 | - (L.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 100 | - have hc := N.coefficient_bounds | |
| 101 | - have h := potentialTimePath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos | |
| 102 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 103 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) | |
| 104 | - (L.velocity_common_bound G A hA d hforce) (L.derivative_common_bound G A hA d hforce) | |
| 105 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 106 | - exact h.trans_eq (by unfold potentialTimeAmplitude NormalBudget.blockAmplitude; ring) | |
| 107 | - | |
| 108 | 83 | theorem corrector_bound (n : ℕ) : |
| 109 | 84 | block standardDirection q (fun a => pathTranslate P a |
| 110 | 85 | (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B G))) n 0 ≤ |
+0 −11 Euler/TransversePacketJoinedParity.lean View file
| @@ -58,11 +58,6 @@ theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 58 | 58 | (vectorField τ hτ hτT B G).raw_odd_of_reflection_neg t |
| 59 | 59 | (velocityPath_reflection_neg τ hτ hτT B G hSym hF hM hH hraw t) x θ |
| 60 | 60 | |
| 61 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 62 | - vectorDerivative τ hτ hτT B G (t,(-x,-θ)) = -vectorDerivative τ hτ hτT B G (t,(x,θ)) := | |
| 63 | - (vectorField τ hτ hτT B G).timeDerivative_odd (vectorDerivativeField τ hτ hτT B G) | |
| 64 | - D.T_pos (vectorField_time τ hτ hτT B G) (vector_odd τ hτ hτT B G hSym hF hM hH hraw) t x θ | |
| 65 | - | |
| 66 | 61 | theorem scalar_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 67 | 62 | scalar τ hτ hτT B G (t,(-x,-θ)) = scalar τ hτ hτT B G (t,(x,θ)) := by |
| 68 | 63 | by_cases ht : (t : ℝ) ≤ τ |
| @@ -92,10 +87,4 @@ theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 92 | 87 | · exact vector_mean_zero τ hτ hτT B G t |
| 93 | 88 | · exact vector_odd τ hτ hτT B G hSym hF hM hH hraw t |
| 94 | 89 | |
| 95 | -theorem correctorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 96 | - correctorDerivative τ hτ hτT B G (t,(-x,-θ)) = | |
| 97 | - -correctorDerivative τ hτ hτT B G (t,(x,θ)) := | |
| 98 | - (correctorField τ hτ hτT B G).timeDerivative_odd (correctorDerivativeField τ hτ hτT B G) | |
| 99 | - D.T_pos (correctorField_time τ hτ hτT B G) (curlCorrector_odd τ hτ hτT B G hSym hF hM hH hraw) t x θ | |
| 100 | - | |
| 101 | 90 | end EulerTransversePacketJoin |
+0 −22 Euler/TransversePacketJoinedPaths.lean View file
| @@ -91,26 +91,4 @@ theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : | ||
| 91 | 91 | · exact B.velocityPath_time (G.initial τ hτ hτT.le) |
| 92 | 92 | · exact (G.tail τ hτ.le hτT).vectorField_time (forwardInitial τ hτ hτT B G) |
| 93 | 93 | |
| 94 | -/-- The gluing step itself has no external radius cost. -/ | |
| 95 | -theorem velocityPath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 96 | - block directions q (fun b => pathTranslate P b (velocityPath τ hτ hτT B G)) n a ≤ | |
| 97 | - block directions q (fun b => pathTranslate P b (pastVelocity τ hτ hτT B G)) n a+ | |
| 98 | - block directions q (fun b => pathTranslate P b (futureVelocity τ hτ hτT B G)) n a := | |
| 99 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) | |
| 100 | - (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n a | |
| 101 | - | |
| 102 | -theorem derivativePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 103 | - block directions q (fun b => pathTranslate P b (derivativePath τ hτ hτT B G)) n a ≤ | |
| 104 | - block directions q (fun b => pathTranslate P b (pastDerivative τ hτ hτT B G)) n a+ | |
| 105 | - block directions q (fun b => pathTranslate P b (futureDerivative τ hτ hτT B G)) n a := | |
| 106 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) | |
| 107 | - (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n a | |
| 108 | - | |
| 109 | -theorem pressurePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 110 | - block directions q (fun b => pathTranslate P b (pressurePath τ hτ hτT B G)) n a ≤ | |
| 111 | - block directions q (fun b => pathTranslate P b (pastPressure τ hτ hτT B G)) n a+ | |
| 112 | - block directions q (fun b => pathTranslate P b (futurePressure τ hτ hτT B G)) n a := | |
| 113 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) | |
| 114 | - (pastPressure_orbit τ hτ hτT B G) (futurePressure_orbit τ hτ hτT B G) directions q n a | |
| 115 | - | |
| 116 | 94 | end EulerTransversePacketJoin |
+0 −47 Euler/TransversePacketJoinedProvider.lean View file
| @@ -107,38 +107,6 @@ theorem highSolve_eq : highSolve (P := P) τ hτ hτT B raw = | ||
| 107 | 107 | |
| 108 | 108 | variable (h : Nonempty (Forcing P D raw)) |
| 109 | 109 | |
| 110 | -def highVectorField : Field P D.T (highSolve (P := P) τ hτ hτT B raw).1 := | |
| 111 | - (vectorField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by | |
| 112 | - rw [highSolve_of_admissible τ hτ hτT B h]) | |
| 113 | - | |
| 114 | -def highDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B (Classical.choice h)) := | |
| 115 | - vectorDerivativeField τ hτ hτT B (Classical.choice h) | |
| 116 | - | |
| 117 | -theorem highVectorField_time : TimeDerivative D.T_pos.le | |
| 118 | - (highVectorField τ hτ hτT B h) (highDerivativeField τ hτ hτT B h) := | |
| 119 | - vectorField_time τ hτ hτT B (Classical.choice h) | |
| 120 | - | |
| 121 | -def highPressureGradientField : Field P D.T (pressureGradient (highSolve (P := P) τ hτ hτT B raw).2) := | |
| 122 | - (scalarGradientField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by | |
| 123 | - rw [highSolve_of_admissible τ hτ hτT B h]) | |
| 124 | - | |
| 125 | -def highCorrectorField : Field P D.T (D.curlCorrector P (highSolve (P := P) τ hτ hτT B raw).1) where | |
| 126 | - path := correctorPath τ hτ hτT B (Classical.choice h) | |
| 127 | - orbit := correctorPath_orbit τ hτ hτT B (Classical.choice h) | |
| 128 | - raw_eq t x θ := by | |
| 129 | - rw [highSolve_of_admissible τ hτ hτT B h] | |
| 130 | - exact (correctorField τ hτ hτT B (Classical.choice h)).raw_eq t x θ | |
| 131 | - | |
| 132 | -def highCorrectorDerivativeField : Field P D.T (correctorDerivative τ hτ hτT B (Classical.choice h)) where | |
| 133 | - path := correctorTimePath τ hτ hτT B (Classical.choice h) | |
| 134 | - orbit := correctorTimePath_orbit τ hτ hτT B (Classical.choice h) | |
| 135 | - raw_eq t x θ := (correctorDerivativeField τ hτ hτT B (Classical.choice h)).raw_eq t x θ | |
| 136 | - | |
| 137 | -theorem highCorrectorField_time : TimeDerivative D.T_pos.le | |
| 138 | - (highCorrectorField τ hτ hτT B h) (highCorrectorDerivativeField τ hτ hτT B h) := by | |
| 139 | - intro t | |
| 140 | - exact correctorPath_time τ hτ hτT B (Classical.choice h) t | |
| 141 | - | |
| 142 | 110 | include h in |
| 143 | 111 | theorem highSolve_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 144 | 112 | linearPart (D.strain (t,(x,θ))) |
| @@ -148,19 +116,4 @@ theorem highSolve_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 148 | 116 | rw [highSolve_of_admissible τ hτ hτT B h] |
| 149 | 117 | exact jet_equation τ hτ hτT B (Classical.choice h) t x θ |
| 150 | 118 | |
| 151 | -include h in | |
| 152 | -theorem highSolve_parity | |
| 153 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 154 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 155 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 156 | - (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 157 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) : | |
| 158 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).1 (t,(-x,-θ)) = | |
| 159 | - -(highSolve (P := P) τ hτ hτT B raw).1 (t,(x,θ))) ∧ | |
| 160 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).2 (t,(-x,-θ)) = | |
| 161 | - (highSolve (P := P) τ hτ hτT B raw).2 (t,(x,θ))) := by | |
| 162 | - rw [highSolve_of_admissible τ hτ hτT B h] | |
| 163 | - exact ⟨vector_odd τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw, | |
| 164 | - scalar_even τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw⟩ | |
| 165 | - | |
| 166 | 119 | end EulerTransversePacketJoin |
+0 −34 Euler/TransversePacketJoinedSupport.lean View file
| @@ -48,12 +48,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 48 | 48 | (B.velocityPath_supported (G.initial τ hτ hτT.le)) |
| 49 | 49 | (fun s => ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G) s).property) t |
| 50 | 50 | |
| 51 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 52 | - derivativePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 53 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) _ | |
| 54 | - (B.derivativePath_supported (G.initial τ hτ hτT.le)) | |
| 55 | - (fun s => ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G) s).property) t | |
| 56 | - | |
| 57 | 51 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (velocityPath τ hτ hτT B G t) = 0 := by |
| 58 | 52 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) |
| 59 | 53 | {u | average P u = 0} _ _ t |
| @@ -73,14 +67,6 @@ theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : | ||
| 73 | 67 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 74 | 68 | _ _ (velocityPath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 75 | 69 | |
| 76 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 77 | - vectorDerivative τ hτ hτT B G (t,(x,θ)) = 0 := by | |
| 78 | - change pointField P (derivativePath τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) | |
| 79 | - (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 80 | - rw [pointField_eq_representative] | |
| 81 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 82 | - _ _ (derivativePath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx | |
| 83 | - | |
| 84 | 70 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 85 | 71 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B G (t,(x,θ))) = 0 := |
| 86 | 72 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B G) |
| @@ -97,28 +83,8 @@ theorem scalar_zero_outside (t : Icc (0 : ℝ) D.T) (x : Space) (hx : x ∉ D.su | ||
| 97 | 83 | rw [scalar_right τ hτ hτT B G tr x θ] |
| 98 | 84 | exact (G.tail τ hτ.le hτT).scalar_zero_outside (forwardInitial τ hτ hτT B G) _ x hx θ |
| 99 | 85 | |
| 100 | -theorem scalar_normalized (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 101 | - (∫ θ in (0 : ℝ)..P, scalar τ hτ hτT B G (t,(x,θ))) = 0 := by | |
| 102 | - by_cases ht : (t : ℝ) ≤ τ | |
| 103 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 104 | - have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = | |
| 105 | - fun θ : ℝ => B.pressureField (G.initial τ hτ hτT.le) th (x,(θ : AddCircle P)) := | |
| 106 | - funext (fun θ => scalar_left τ hτ hτT B G th x θ) | |
| 107 | - rw [he] | |
| 108 | - exact B.pressureField_mean_zero (G.initial τ hτ hτT.le) th x | |
| 109 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 110 | - have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = | |
| 111 | - fun θ => (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := | |
| 112 | - funext (fun θ => scalar_right τ hτ hτT B G tr x θ) | |
| 113 | - rw [he] | |
| 114 | - exact (G.tail τ hτ.le hτT).scalar_normalized (forwardInitial τ hτ hτT B G) _ x | |
| 115 | - | |
| 116 | 86 | theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => vector τ hτ hτT B G (t,(x,θ))) P := by |
| 117 | 87 | intro θ |
| 118 | 88 | simp only [vector,AddCircle.coe_add_period] |
| 119 | 89 | |
| 120 | -theorem scalar_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => scalar τ hτ hτT B G (t,(x,θ))) P := by | |
| 121 | - intro θ | |
| 122 | - simp only [scalar,AddCircle.coe_add_period] | |
| 123 | - | |
| 124 | 90 | end EulerTransversePacketJoin |
+0 −4 Euler/TransversePacketLocalHistory.lean View file
| @@ -24,8 +24,4 @@ def forwardInitial : InitialData P (D.tail τ hτ.le hτT) where | ||
| 24 | 24 | orbit := (B.terminalInitial (G.initial τ hτ hτT.le)).orbit |
| 25 | 25 | mean_zero := (B.terminalInitial (G.initial τ hτ hτT.le)).mean_zero |
| 26 | 26 | |
| 27 | -theorem forwardInitial_eq : | |
| 28 | - ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) = | |
| 29 | - B.coordinatePath (G.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ := rfl | |
| 30 | - | |
| 31 | 27 | end EulerTransversePacketJoin |
+0 −13 Euler/TransversePacketParity.lean View file
| @@ -75,25 +75,12 @@ theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | ||
| 75 | 75 | D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 76 | 76 | (D.frame_even hF) (D.frameDerivative_even hF hM) G.path I.value (G.path_reflection_neg hraw) hinit t |
| 77 | 77 | |
| 78 | -include hSym hF hM hraw hinit in | |
| 79 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 80 | - reflection P (G.fullDerivativePath I t) = -G.fullDerivativePath I t := | |
| 81 | - EulerSourceCylinderParity.velocityDerivative_reflection_neg P D.support D.support_measurable hSym | |
| 82 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 83 | - (D.frame_even hF) (D.frameDerivative_even hF hM) G.path I.value (G.path_reflection_neg hraw) hinit t | |
| 84 | - | |
| 85 | 78 | include hSym hF hM hraw hinit in |
| 86 | 79 | theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 87 | 80 | G.vector I (t,(-x,-θ)) = -G.vector I (t,(x,θ)) := |
| 88 | 81 | (G.vectorField I).raw_odd_of_reflection_neg t |
| 89 | 82 | (G.velocityPath_reflection_neg I hSym hF hM hraw hinit t) x θ |
| 90 | 83 | |
| 91 | -include hSym hF hM hraw hinit in | |
| 92 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 93 | - G.vectorDerivative I (t,(-x,-θ)) = -G.vectorDerivative I (t,(x,θ)) := | |
| 94 | - (G.vectorDerivativeField I).raw_odd_of_reflection_neg t | |
| 95 | - (G.derivativePath_reflection_neg I hSym hF hM hraw hinit t) x θ | |
| 96 | - | |
| 97 | 84 | include hSym hF hM hraw hinit in |
| 98 | 85 | theorem corrector_odd_of_data (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 99 | 86 | G.corrector I (t,(-x,-θ)) = -G.corrector I (t,(x,θ)) := |
+0 −5 Euler/TransversePacketPressureGradient.lean View file
| @@ -37,9 +37,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 37 | 37 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 38 | 38 | (h : Nonempty (Forcing P D raw)) |
| 39 | 39 | |
| 40 | -/-- The total high operator has the required pressure-gradient witness on admissible forcing. -/ | |
| 41 | -def highSolvePressureGradientField : Field P D.T (pressureGradient (highSolve P D I raw).2) := | |
| 42 | - ((Classical.choice h).scalarGradientField I).congr (fun _ _ _ => by | |
| 43 | - rw [highSolve_of_admissible D I raw h]) | |
| 44 | - | |
| 45 | 40 | end EulerTransversePacketProvider |
+0 −27 Euler/TransversePacketPressureGradientBounds.lean View file
| @@ -36,31 +36,4 @@ theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg | ||
| 36 | 36 | (3*A)*majorant R (d+1) n := |
| 37 | 37 | scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n |
| 38 | 38 | |
| 39 | -theorem source_pressure_gradient_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 40 | - (q : ℕ) (Rc Cm CM Ri R Af Av : ℝ) | |
| 41 | - (hRc : 0 ≤ Rc) (hCm : 0 ≤ Cm) (hCM : 0 ≤ CM) (hAf : 0 ≤ Af) (hAv : 0 ≤ Av) | |
| 42 | - (hRi : 2*gramCost D.normalLower Cm 1*(Rc+1) ≤ Ri) | |
| 43 | - (hR : sobolevCoefficientRadius (Fin 4) (4*Ri) ≤ R) | |
| 44 | - (hm : ∀ n t x, ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ Cm*majorant Rc 0 n) | |
| 45 | - (hM : ∀ n t x, ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ CM*majorant Rc 0 n) | |
| 46 | - (d : ℕ) | |
| 47 | - (hf : ∀ n, block standardDirection q | |
| 48 | - (fun a : LiftTangent => pathTranslate P a | |
| 49 | - (normalize g hg (includePath P D.support D.support_measurable G.path))) n 0 ≤ Af*majorant R d n) | |
| 50 | - (hv : ∀ n, block standardDirection q | |
| 51 | - (fun a : LiftTangent => pathTranslate P a | |
| 52 | - (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I)))) n 0 ≤ | |
| 53 | - Av*majorant R d n) (n : ℕ) : | |
| 54 | - block standardDirection q | |
| 55 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ | |
| 56 | - (3*(P*pressureCost (Fin 4) q Ri Cm CM Af Av))*majorant R (d+1) n := by | |
| 57 | - apply G.scalarGradientField_normalized_bound I g hg q R _ d _ n | |
| 58 | - intro j | |
| 59 | - rw [G.pressurePath_normalized_eq_source I g hg] | |
| 60 | - exact sourcePressure_block_bound P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 61 | - _ _ standardDirection (fun i => by cases i using Fin.cases <;> simp [Prod.norm_def]) q | |
| 62 | - (weighted_orbit P (reciprocal g hg) _ G.path_orbit) | |
| 63 | - (weighted_orbit P (reciprocal g hg) _ (G.velocityPath_orbit I)) | |
| 64 | - Rc Cm CM Ri R Af Av hRc hCm hCM hAf hAv hRi hR hm hM d hf hv j | |
| 65 | - | |
| 66 | 39 | end EulerTransversePacketProvider.Forcing |
+0 −10 Euler/TransversePacketPressureGradientProperties.lean View file
| @@ -23,11 +23,6 @@ theorem scalarGradient_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) | ||
| 23 | 23 | pressureGradient_zero_outside (G.scalar I) t D.support D.support_compact.isClosed |
| 24 | 24 | (G.scalar_zero_outside I t) x hx θ |
| 25 | 25 | |
| 26 | -theorem scalarGradientField_supported (t : Icc (0 : ℝ) D.T) : | |
| 27 | - (G.scalarGradientField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 28 | - (G.scalarGradientField I).supported_of_raw_zero D.support D.support_measurable | |
| 29 | - (fun t => G.scalarGradient_zero_outside I t) t | |
| 30 | - | |
| 31 | 26 | theorem scalarGradient_odd |
| 32 | 27 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 33 | 28 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| @@ -46,9 +41,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 46 | 41 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 47 | 42 | (h : Nonempty (Forcing P D raw)) |
| 48 | 43 | |
| 49 | -theorem highSolvePressureGradientField_supported (t : Icc (0 : ℝ) D.T) : | |
| 50 | - (highSolvePressureGradientField P D I raw h).path t ∈ | |
| 51 | - Supported P Space D.support D.support_measurable := | |
| 52 | - (Classical.choice h).scalarGradientField_supported I t | |
| 53 | - | |
| 54 | 44 | end EulerTransversePacketProvider |
+0 −14 Euler/TransversePacketPressureParity.lean View file
| @@ -58,18 +58,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 58 | 58 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 59 | 59 | (D : Data U) (I : InitialData P D) (raw : VectorField) (h : Nonempty (Forcing P D raw)) |
| 60 | 60 | |
| 61 | -include h in | |
| 62 | -theorem highSolve_parity (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 63 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 64 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 65 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 66 | - (hinit : reflection P (I.value : CylinderL2 P U) = -(I.value : CylinderL2 P U)) : | |
| 67 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 68 | - (highSolve P D I raw).1 (t,(-x,-θ)) = -(highSolve P D I raw).1 (t,(x,θ))) ∧ | |
| 69 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 70 | - (highSolve P D I raw).2 (t,(-x,-θ)) = (highSolve P D I raw).2 (t,(x,θ))) := by | |
| 71 | - rw [highSolve_of_admissible D I raw h] | |
| 72 | - exact ⟨(Classical.choice h).vector_odd I hSym hF hM hraw hinit, | |
| 73 | - (Classical.choice h).scalar_even I hSym hF hM hraw hinit⟩ | |
| 74 | - | |
| 75 | 61 | end EulerTransversePacketProvider |
+0 −61 Euler/TransversePacketPrimaryCorrector.lean View file
| @@ -153,72 +153,18 @@ theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 153 | 153 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 154 | 154 | (velocityPath τ hτ hτT B Y) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B Y) t |
| 155 | 155 | |
| 156 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 157 | - potentialTimePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := by | |
| 158 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 159 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 160 | - (velocityPath τ hτ hτT B Y) D.potentialDerivative (velocityPath_supported τ hτ hτT B Y) t | |
| 161 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 162 | - (derivativePath τ hτ hτT B Y) D.potentialCoefficientPath (derivativePath_supported τ hτ hτT B Y) t | |
| 163 | - | |
| 164 | 156 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 165 | 157 | correctorPath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := |
| 166 | 158 | slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B Y) |
| 167 | 159 | (potentialPath_orbit τ hτ hτT B Y) D.FInv.field D.support_compact.isClosed |
| 168 | 160 | (potentialPath_supported τ hτ hτT B Y) t |
| 169 | 161 | |
| 170 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 171 | - correctorTimePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := by | |
| 172 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 173 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B Y) | |
| 174 | - (potentialPath_orbit τ hτ hτT B Y) D.inverseDerivative D.support_compact.isClosed | |
| 175 | - (potentialPath_supported τ hτ hτT B Y) t | |
| 176 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialTimePath τ hτ hτT B Y) | |
| 177 | - (potentialTimePath_orbit τ hτ hτT B Y) D.FInv.field D.support_compact.isClosed | |
| 178 | - (potentialTimePath_supported τ hτ hτT B Y) t | |
| 179 | - | |
| 180 | -theorem potentialPath_average_zero : pathAverage P (potentialPath τ hτ hτT B Y) = 0 := | |
| 181 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B Y) D.potentialCoefficientPath | |
| 182 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B Y)) | |
| 183 | - | |
| 184 | -theorem potentialTimePath_average_zero : pathAverage P (potentialTimePath τ hτ hτT B Y) = 0 := by | |
| 185 | - rw [potentialTimePath,EulerCylinderPotential.potentialDerivative,map_add, | |
| 186 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B Y) D.potentialDerivative | |
| 187 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B Y)), | |
| 188 | - potentialPath_mean_zero P (derivativePath τ hτ hτT B Y) D.potentialCoefficientPath | |
| 189 | - (ContinuousMap.ext (derivativePath_mean_zero τ hτ hτT B Y)),add_zero] | |
| 190 | - | |
| 191 | -theorem correctorPath_average_zero : pathAverage P (correctorPath τ hτ hτT B Y) = 0 := | |
| 192 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B Y) (potentialPath_orbit τ hτ hτT B Y) | |
| 193 | - D.FInv.field (potentialPath_average_zero τ hτ hτT B Y) | |
| 194 | - | |
| 195 | -theorem correctorTimePath_average_zero : pathAverage P (correctorTimePath τ hτ hτT B Y) = 0 := by | |
| 196 | - rw [correctorTimePath,EulerCylinderSlowCurl.derivative,map_add, | |
| 197 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B Y) (potentialPath_orbit τ hτ hτT B Y) | |
| 198 | - D.inverseDerivative (potentialPath_average_zero τ hτ hτT B Y), | |
| 199 | - slowCurl_mean_zero P (potentialTimePath τ hτ hτT B Y) (potentialTimePath_orbit τ hτ hτT B Y) | |
| 200 | - D.FInv.field (potentialTimePath_average_zero τ hτ hτT B Y),add_zero] | |
| 201 | - | |
| 202 | 162 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 203 | 163 | corrector τ hτ hτT B Y (t,(x,θ)) = 0 := |
| 204 | 164 | pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B Y) |
| 205 | 165 | (correctorPath_orbit τ hτ hτT B Y) D.support_compact.isClosed |
| 206 | 166 | (correctorPath_supported τ hτ hτT B Y) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 207 | 167 | |
| 208 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 209 | - correctorDerivative τ hτ hτT B Y (t,(x,θ)) = 0 := | |
| 210 | - pointField_zero_outside P D.support D.support_measurable (correctorTimePath τ hτ hτT B Y) | |
| 211 | - (correctorTimePath_orbit τ hτ hτT B Y) D.support_compact.isClosed | |
| 212 | - (correctorTimePath_supported τ hτ hτT B Y) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 213 | - | |
| 214 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 215 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (vector τ hτ hτT B Y) (t,(x,θ))) = 0 := by | |
| 216 | - have he : (fun θ => D.curlCorrector P (vector τ hτ hτT B Y) (t,(x,θ))) = | |
| 217 | - fun θ => corrector τ hτ hτT B Y (t,(x,θ)) := funext (curlCorrector_eq τ hτ hτT B Y t x) | |
| 218 | - rw [he] | |
| 219 | - exact (pathAverage_eq_zero_iff P (correctorPath τ hτ hτT B Y) (correctorPath_orbit τ hτ hτT B Y)).mp | |
| 220 | - (correctorPath_average_zero τ hτ hτT B Y) (D.clamp t) x | |
| 221 | - | |
| 222 | 168 | end EulerTransversePacketPrimary |
| 223 | 169 | |
| 224 | 170 | |
| @@ -249,11 +195,4 @@ theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 249 | 195 | · exact vector_mean_zero τ hτ hτT B Y t |
| 250 | 196 | · exact vector_odd τ hτ hτT B Y hSym hF hM hH hY t |
| 251 | 197 | |
| 252 | -theorem correctorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 253 | - correctorDerivative τ hτ hτT B Y (t,(-x,-θ)) = | |
| 254 | - -correctorDerivative τ hτ hτT B Y (t,(x,θ)) := | |
| 255 | - (correctorField τ hτ hτT B Y).timeDerivative_odd (correctorDerivativeField τ hτ hτT B Y) | |
| 256 | - D.T_pos (correctorField_time τ hτ hτT B Y) | |
| 257 | - (curlCorrector_odd τ hτ hτT B Y hSym hF hM hH hY) t x θ | |
| 258 | - | |
| 259 | 198 | end EulerTransversePacketPrimary |
+0 −18 Euler/TransversePacketPrimaryField.lean View file
| @@ -77,14 +77,6 @@ theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : | ||
| 77 | 77 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 78 | 78 | _ _ (velocityPath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 79 | 79 | |
| 80 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 81 | - vectorDerivative τ hτ hτT B Y (t,(x,θ)) = 0 := by | |
| 82 | - change pointField P (derivativePath τ hτ hτT B Y) (derivativePath_orbit τ hτ hτT B Y) | |
| 83 | - (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 84 | - rw [pointField_eq_representative] | |
| 85 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 86 | - _ _ (derivativePath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx | |
| 87 | - | |
| 88 | 80 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 89 | 81 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B Y (t,(x,θ))) = 0 := |
| 90 | 82 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B Y) |
| @@ -96,11 +88,6 @@ theorem vector_periodic (t : ℝ) (x : Space) : | ||
| 96 | 88 | intro θ |
| 97 | 89 | simp only [vector,AddCircle.coe_add_period] |
| 98 | 90 | |
| 99 | -theorem scalar_periodic (t : ℝ) (x : Space) : | |
| 100 | - Function.Periodic (fun θ => scalar τ hτ hτT B Y (t,(x,θ))) P := by | |
| 101 | - intro θ | |
| 102 | - simp only [scalar,AddCircle.coe_add_period] | |
| 103 | - | |
| 104 | 91 | theorem vector_tangent (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 105 | 92 | ⟪D.normalField (t,(x,θ)),vector τ hτ hτT B Y (t,(x,θ))⟫_ℝ = 0 := by |
| 106 | 93 | have hae : (fun z : LiftDomain P => ⟪D.normal.field t z.1, |
| @@ -130,9 +117,4 @@ theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 130 | 117 | (vectorField τ hτ hτT B Y).raw_odd_of_reflection_neg t |
| 131 | 118 | (velocityPath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ |
| 132 | 119 | |
| 133 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 134 | - vectorDerivative τ hτ hτT B Y (t,(-x,-θ)) = -vectorDerivative τ hτ hτT B Y (t,(x,θ)) := | |
| 135 | - (vectorDerivativeField τ hτ hτT B Y).raw_odd_of_reflection_neg t | |
| 136 | - (derivativePath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ | |
| 137 | - | |
| 138 | 120 | end EulerTransversePacketPrimary |
+0 −25 Euler/TransversePacketPrimaryFullBounds.lean View file
| @@ -143,8 +143,6 @@ theorem derivativeCost_nonneg : 0 ≤ H.derivativeCost := by | ||
| 143 | 143 | |
| 144 | 144 | def commonCost : ℝ := H.velocityCost+H.derivativeCost |
| 145 | 145 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 0 H.commonCost |
| 146 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*H.commonCost) | |
| 147 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*H.commonCost) | |
| 148 | 146 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*H.commonCost) |
| 149 | 147 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*H.commonCost) |
| 150 | 148 | |
| @@ -235,29 +233,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 235 | 233 | (H.pressure_bound N Y A hA d hYb) n |
| 236 | 234 | simpa only [show d+3+1=d+4 by omega,mul_assoc] using h |
| 237 | 235 | |
| 238 | -theorem potential_bound (n : ℕ) : | |
| 239 | - block standardDirection q (fun a => pathTranslate P a | |
| 240 | - (normalize L.fullProfile L.fullProfile_pos (potentialPath τ hτ hτT B Y))) n 0 ≤ | |
| 241 | - (H.potentialAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 242 | - have hc := N.coefficient_bounds | |
| 243 | - have h := potentialPath_normalized_bound τ hτ hτT B Y L.fullProfile L.fullProfile_pos | |
| 244 | - q N.coefficientRadius N.coefficientAmplitude L.R (H.commonCost*A) | |
| 245 | - hc.1 hc.2.1 (mul_nonneg H.commonCost_nonneg hA) N.radius (d+3) | |
| 246 | - (H.velocity_common_bound Y A hA d hYb) (fun j a => (hc.2.2 j a).2.2.1) n | |
| 247 | - exact h.trans_eq (by unfold potentialAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 248 | - | |
| 249 | -theorem potential_time_bound (n : ℕ) : | |
| 250 | - block standardDirection q (fun a => pathTranslate P a | |
| 251 | - (normalize L.fullProfile L.fullProfile_pos (potentialTimePath τ hτ hτT B Y))) n 0 ≤ | |
| 252 | - (H.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 253 | - have hc := N.coefficient_bounds | |
| 254 | - have h := potentialTimePath_normalized_bound τ hτ hτT B Y L.fullProfile L.fullProfile_pos | |
| 255 | - q N.coefficientRadius N.coefficientAmplitude L.R (H.commonCost*A) | |
| 256 | - hc.1 hc.2.1 (mul_nonneg H.commonCost_nonneg hA) N.radius (d+3) | |
| 257 | - (H.velocity_common_bound Y A hA d hYb) (H.derivative_common_bound Y A hA d hYb) | |
| 258 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 259 | - exact h.trans_eq (by unfold potentialTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 260 | - | |
| 261 | 236 | theorem corrector_bound (n : ℕ) : |
| 262 | 237 | block standardDirection q (fun a => pathTranslate P a |
| 263 | 238 | (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B Y))) n 0 ≤ |
+0 −16 Euler/TransversePacketPrimaryHistory.lean View file
| @@ -62,20 +62,4 @@ theorem angular_derivative_zero_history (δ : ℝ) (hδ : 0 < δ) (ξ : U) | ||
| 62 | 62 | rw [profile_deriv_zero δ hδ] at hp |
| 63 | 63 | exact (hp.const_mul (innerCutoff x)).smul_const (B.coefficients.labelVelocity x ξ t) |
| 64 | 64 | |
| 65 | -omit P [Fact (0 < P)] Y in | |
| 66 | -theorem angular_derivative_zero_origin (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 67 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : | |
| 68 | - deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0 = | |
| 69 | - δ⁻¹ • B.coefficients.labelVelocity 0 ξ t := by | |
| 70 | - simpa only [innerCutoff_zero,one_mul] using | |
| 71 | - (angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0).deriv | |
| 72 | - | |
| 73 | -omit P [Fact (0 < P)] Y in | |
| 74 | -theorem angular_derivative_zero_origin_norm (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 75 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : | |
| 76 | - ‖deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0‖ = | |
| 77 | - δ⁻¹ * ‖B.coefficients.labelVelocity 0 ξ t‖ := by | |
| 78 | - rw [angular_derivative_zero_origin τ hτ hτT B δ hδ ξ hs t,norm_smul, | |
| 79 | - Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] | |
| 80 | - | |
| 81 | 65 | end EulerTransversePacketPrimary |
+0 −23 Euler/TransversePacketPrimaryParity.lean View file
| @@ -43,15 +43,6 @@ theorem pastVelocity_reflection_neg (t : Icc (0 : ℝ) τ) : | ||
| 43 | 43 | (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) |
| 44 | 44 | hH Y.value hY t |
| 45 | 45 | |
| 46 | -theorem pastDerivative_reflection_neg (t : Icc (0 : ℝ) τ) : | |
| 47 | - reflection P (pastDerivative τ hτ hτT B Y t) = -pastDerivative τ hτ hτT B Y t := | |
| 48 | - B.coefficients.endpointDerivative_odd P | |
| 49 | - ((D.initial τ hτ hτT.le).frame_even (fun s x => hF (initialInclusion D.T τ hτT.le s) x)) | |
| 50 | - ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 51 | - (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 52 | - (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) | |
| 53 | - hH Y.value hY t | |
| 54 | - | |
| 55 | 46 | include hSym |
| 56 | 47 | |
| 57 | 48 | theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : |
| @@ -62,24 +53,10 @@ theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | ||
| 62 | 53 | (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) |
| 63 | 54 | (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t |
| 64 | 55 | |
| 65 | -theorem futureDerivative_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 66 | - reflection P (futureDerivative τ hτ hτT B Y t) = -futureDerivative τ hτ hτT B Y t := | |
| 67 | - (zeroForcing (D.tail τ hτ.le hτT)).derivativePath_reflection_neg (forwardInitial τ hτ hτT B Y) hSym | |
| 68 | - (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 69 | - (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 70 | - (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) | |
| 71 | - (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t | |
| 72 | - | |
| 73 | 56 | theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : |
| 74 | 57 | reflection P (velocityPath τ hτ hτT B Y t) = -velocityPath τ hτ hτT B Y t := |
| 75 | 58 | join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) {u | reflection P u = -u} |
| 76 | 59 | (pastVelocity_reflection_neg τ hτ hτT B Y hF hM hH hY) |
| 77 | 60 | (futureVelocity_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t |
| 78 | 61 | |
| 79 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 80 | - reflection P (derivativePath τ hτ hτT B Y t) = -derivativePath τ hτ hτT B Y t := | |
| 81 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) {u | reflection P u = -u} | |
| 82 | - (pastDerivative_reflection_neg τ hτ hτT B Y hF hM hH hY) | |
| 83 | - (futureDerivative_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t | |
| 84 | - | |
| 85 | 62 | end EulerTransversePacketPrimary |
+0 −18 Euler/TransversePacketPrimaryPaths.lean View file
| @@ -89,12 +89,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 89 | 89 | (EulerTransversePacketEndpoint.velocityPath_supported B (endpointData τ hτ hτT Y)) |
| 90 | 90 | (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y) s).property) t |
| 91 | 91 | |
| 92 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 93 | - derivativePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := | |
| 94 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) _ | |
| 95 | - (EulerTransversePacketEndpoint.derivativePath_supported B (endpointData τ hτ hτT Y)) | |
| 96 | - (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y) s).property) t | |
| 97 | - | |
| 98 | 92 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 99 | 93 | average P (velocityPath τ hτ hτT B Y t) = 0 := by |
| 100 | 94 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) |
| @@ -107,16 +101,4 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : | ||
| 107 | 101 | (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value |
| 108 | 102 | (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s |
| 109 | 103 | |
| 110 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 111 | - average P (derivativePath τ hτ hτT B Y t) = 0 := by | |
| 112 | - apply join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) | |
| 113 | - {u | average P u = 0} _ _ t | |
| 114 | - · exact EulerTransversePacketEndpoint.derivativePath_mean_zero B (endpointData τ hτ hτT Y) | |
| 115 | - · intro s | |
| 116 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 117 | - (D.T-τ) (sub_pos.mpr hτT).le (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative | |
| 118 | - (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower | |
| 119 | - (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value | |
| 120 | - (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s | |
| 121 | - | |
| 122 | 104 | end EulerTransversePacketPrimary |
+0 −5 Euler/TransversePacketPrimaryPressure.lean View file
| @@ -145,11 +145,6 @@ theorem pressureField_angle (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 145 | 145 | (normalResidual τ hτ hτT B Y t (x,(θ : AddCircle P))) θ := |
| 146 | 146 | classicalPrimitive_angle P _ _ _ x θ |
| 147 | 147 | |
| 148 | -theorem scalar_normalized (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 149 | - (∫ θ in (0 : ℝ)..P, scalar τ hτ hτT B Y (t,(x,θ))) = 0 := by | |
| 150 | - simp_rw [scalar_eq_pressureField] | |
| 151 | - exact classicalPrimitive_mean_zero P _ _ _ x | |
| 152 | - | |
| 153 | 148 | theorem normalResidual_zero_outside (t : Icc (0 : ℝ) D.T) (y : Space) (hy : y ∉ D.support) |
| 154 | 149 | (θ : AddCircle P) : normalResidual τ hτ hτT B Y t (y,θ) = 0 := by |
| 155 | 150 | have hv := pointField_zero_outside P D.support D.support_measurable |
+0 −41 Euler/TransversePacketProvider.lean View file
| @@ -69,13 +69,6 @@ theorem vector_tangent (t : ℝ) (x : Space) (θ : ℝ) : | ||
| 69 | 69 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 70 | 70 | G.path_orbit I.orbit D.normal D.frame_tangent (D.clamp t) (x,(θ : AddCircle P)) |
| 71 | 71 | |
| 72 | -theorem scalar_normalized (t : ℝ) (x : Space) : | |
| 73 | - (∫ θ in (0 : ℝ)..P, G.scalar I (t,(x,θ))) = 0 := | |
| 74 | - pressureField_mean_zero P D.support D.support_measurable D.support_compact D.T D.T_pos.le | |
| 75 | - D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value | |
| 76 | - G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 77 | - G.mean_zero I.mean_zero (D.clamp t) x | |
| 78 | - | |
| 79 | 72 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 80 | 73 | (∫ θ in (0 : ℝ)..P, G.vector I (t,(x,θ))) = 0 := by |
| 81 | 74 | have hz := EulerSourceCylinderEquation.velocity_average_zero P D.support D.support_measurable |
| @@ -95,16 +88,6 @@ theorem vector_spatial_smooth (t : ℝ) : | ||
| 95 | 88 | | rfl |
| 96 | 89 | | (funext y; simp only [vector,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) |
| 97 | 90 | |
| 98 | -theorem vectorDerivative_spatial_smooth (t : ℝ) : | |
| 99 | - ContDiff ℝ ∞ (fun y : Space × ℝ => G.vectorDerivative I (t,y)) := by | |
| 100 | - have h := derivativeField_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le | |
| 101 | - D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value | |
| 102 | - G.path_orbit I.orbit (D.clamp t) 0 | |
| 103 | - convert h using 1 | |
| 104 | - first | |
| 105 | - | rfl | |
| 106 | - | (funext y; simp only [vectorDerivative,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) | |
| 107 | - | |
| 108 | 91 | theorem scalar_spatial_smooth (t : ℝ) : |
| 109 | 92 | ContDiff ℝ ∞ (fun y : Space × ℝ => G.scalar I (t,y)) := by |
| 110 | 93 | have h := pressureField_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| @@ -134,10 +117,6 @@ theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => G.v | ||
| 134 | 117 | intro θ |
| 135 | 118 | simp only [vector,AddCircle.coe_add_period] |
| 136 | 119 | |
| 137 | -theorem scalar_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => G.scalar I (t,(x,θ))) P := by | |
| 138 | - intro θ | |
| 139 | - simp only [scalar,AddCircle.coe_add_period] | |
| 140 | - | |
| 141 | 120 | end Forcing |
| 142 | 121 | |
| 143 | 122 | /-- A total raw-field map backed by the actual forward solution on its admissible domain. -/ |
| @@ -154,24 +133,4 @@ theorem highSolve_of_admissible (D : Data U) (I : InitialData P D) (raw : Vector | ||
| 154 | 133 | highSolve P D I raw = ((Classical.choice h).vector I,(Classical.choice h).scalar I) := by |
| 155 | 134 | simp only [highSolve,dite_eq_left h] |
| 156 | 135 | |
| 157 | -theorem highSolve_contract (D : Data U) (I : InitialData P D) (raw : VectorField) | |
| 158 | - (h : Nonempty (Forcing P D raw)) : | |
| 159 | - ∃ a_t : VectorField, | |
| 160 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 161 | - HasDerivWithinAt (fun r => (highSolve P D I raw).1 (r,(x,θ))) | |
| 162 | - (a_t (t,(x,θ))) (Icc (0 : ℝ) D.T) t) ∧ | |
| 163 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 164 | - a_t (t,(x,θ))+D.strain (t,(x,θ)) ((highSolve P D I raw).1 (t,(x,θ)))+ | |
| 165 | - deriv (fun s => (highSolve P D I raw).2 (t,(x,s))) θ • D.normalField (t,(x,θ)) = raw (t,(x,θ))) ∧ | |
| 166 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (highSolve P D I raw).1 (t,y))) ∧ | |
| 167 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (highSolve P D I raw).2 (t,y))) ∧ | |
| 168 | - (∀ t x, (∫ θ in (0 : ℝ)..P, (highSolve P D I raw).2 (t,(x,θ))) = 0) := by | |
| 169 | - rw [highSolve_of_admissible D I raw h] | |
| 170 | - exact ⟨(Classical.choice h).vectorDerivative I, | |
| 171 | - (Classical.choice h).vector_hasDerivWithinAt I, | |
| 172 | - (Classical.choice h).equation I, | |
| 173 | - (Classical.choice h).vector_spatial_smooth I, | |
| 174 | - (Classical.choice h).scalar_spatial_smooth I, | |
| 175 | - (Classical.choice h).scalar_normalized I⟩ | |
| 176 | - | |
| 177 | 136 | end EulerTransversePacketProvider |
+0 −50 Euler/TransversePacketRegularity.lean View file
| @@ -23,56 +23,6 @@ private theorem continuous_cover : | ||
| 23 | 23 | continuous_fst.prodMk ((continuous_fst.comp continuous_snd).prodMk |
| 24 | 24 | ((AddCircle.continuous_mk' P).comp (continuous_snd.comp continuous_snd))) |
| 25 | 25 | |
| 26 | -theorem vector_joint_continuous : | |
| 27 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vector I (z.1,z.2)) := by | |
| 28 | - have h := (field_joint_continuous P D.support D.support_measurable D.support_compact | |
| 29 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 30 | - G.path I.value G.path_orbit I.orbit).comp (continuous_cover (P := P) (D := D)) | |
| 31 | - simpa only [vector,Data.clamp_coe,Function.comp_def] using h | |
| 32 | - | |
| 33 | -theorem scalar_joint_continuous : | |
| 34 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.scalar I (z.1,z.2)) := by | |
| 35 | - have h := (pressureField_joint_continuous P D.support D.support_measurable D.support_compact | |
| 36 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 37 | - G.path I.value G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 38 | - G.mean_zero I.mean_zero).comp (continuous_cover (P := P) (D := D)) | |
| 39 | - simpa only [scalar,Data.clamp_coe,Function.comp_def] using h | |
| 40 | - | |
| 41 | -theorem vectorDerivative_joint_continuous : | |
| 42 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vectorDerivative I (z.1,z.2)) := by | |
| 43 | - have h := (pointField_joint_continuous P | |
| 44 | - (includePath P D.support D.support_measurable (G.derivativePath I)) | |
| 45 | - (G.derivativePath_orbit I)).comp (continuous_cover (P := P) (D := D)) | |
| 46 | - simpa only [vectorDerivative,derivativeField,Data.clamp_coe,Function.comp_def] using h | |
| 47 | - | |
| 48 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 49 | - G.vectorDerivative I (t,(x,θ)) = 0 := by | |
| 50 | - change pointField P (includePath P D.support D.support_measurable (G.derivativePath I)) | |
| 51 | - (G.derivativePath_orbit I) (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 52 | - rw [pointField_eq_representative] | |
| 53 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 54 | - _ _ (G.derivativePath I (D.clamp t)).property (x,(θ : AddCircle P)) hx | |
| 55 | - | |
| 56 | -theorem vector_support (t θ : ℝ) : | |
| 57 | - tsupport (fun x : Space => G.vector I (t,(x,θ))) ⊆ D.support := by | |
| 58 | - apply closure_minimal _ D.support_compact.isClosed | |
| 59 | - intro x hx | |
| 60 | - by_contra hn | |
| 61 | - exact hx (G.vector_zero_outside I t x hn θ) | |
| 62 | - | |
| 63 | -theorem scalar_support (t θ : ℝ) : | |
| 64 | - tsupport (fun x : Space => G.scalar I (t,(x,θ))) ⊆ D.support := by | |
| 65 | - apply closure_minimal _ D.support_compact.isClosed | |
| 66 | - intro x hx | |
| 67 | - by_contra hn | |
| 68 | - exact hx (G.scalar_zero_outside I t x hn θ) | |
| 69 | - | |
| 70 | -theorem vector_compact (t θ : ℝ) : HasCompactSupport (fun x : Space => G.vector I (t,(x,θ))) := | |
| 71 | - D.support_compact.of_isClosed_subset (isClosed_tsupport _) (G.vector_support I t θ) | |
| 72 | - | |
| 73 | -theorem scalar_compact (t θ : ℝ) : HasCompactSupport (fun x : Space => G.scalar I (t,(x,θ))) := | |
| 74 | - D.support_compact.of_isClosed_subset (isClosed_tsupport _) (G.scalar_support I t θ) | |
| 75 | - | |
| 76 | 26 | end Forcing |
| 77 | 27 | |
| 78 | 28 | end EulerTransversePacketProvider |
+0 −35 Euler/TransverseParameterRegularity.lean View file
| @@ -100,39 +100,4 @@ theorem contDiff_fixedFrameSolution (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff | ||
| 100 | 100 | K hK (hPotential x) hsmall (f x)) := |
| 101 | 101 | (contDiff_fixedFrameSolver T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH).clm_apply hf |
| 102 | 102 | |
| 103 | -include hd in | |
| 104 | -/-- The coordinates of the original physical transverse solve inherit the | |
| 105 | -proved parameter regularity through equality with the fixed-space inverse. -/ | |
| 106 | -theorem contDiff_transverse_coordinates | |
| 107 | - (m : P → Icc (0 : ℝ) T → E) | |
| 108 | - (hTangent : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 109 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) | |
| 110 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 111 | - (f : P → TimeLp T E) (hf : ContDiff ℝ n f) : | |
| 112 | - ContDiff ℝ n (fun x => coordinateDerivative T hT (Q x) (Q₁ x) c hc (hLower x) | |
| 113 | - (transverseSolver T hT (m x) (H x) K hK (hPotential x) hsmall (f x) : TimeLp T E)) := by | |
| 114 | - have hsol := (zeroTraceDerivatives (U := U) T hT).subtypeL.contDiff.comp | |
| 115 | - (contDiff_fixedFrameSolution T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf) | |
| 116 | - convert hsol using 1 | |
| 117 | - funext x | |
| 118 | - have heq := fixedFrameSolver_eq_transverse T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) | |
| 119 | - K hK (hPotential x) hsmall (m x) (hTangent x) (hRange x) (f x) | |
| 120 | - exact congrArg (fun v : zeroTraceDerivatives (U := U) T hT => (v : TimeLp T U)) heq.symm | |
| 121 | - | |
| 122 | -include hd in | |
| 123 | -/-- The physical velocity of the original constructed inverse has the actual | |
| 124 | -parameter regularity of the prescribed frame and forcing. -/ | |
| 125 | -theorem contDiff_transverse_velocity | |
| 126 | - (m : P → Icc (0 : ℝ) T → E) | |
| 127 | - (hTangent : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 128 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) | |
| 129 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 130 | - (f : P → TimeLp T E) (hf : ContDiff ℝ n f) : | |
| 131 | - ContDiff ℝ n (fun x => timeMultiplier T hT (Q x) | |
| 132 | - (coordinateDerivative T hT (Q x) (Q₁ x) c hc (hLower x) | |
| 133 | - (transverseSolver T hT (m x) (H x) K hK (hPotential x) hsmall (f x) : TimeLp T E))) := | |
| 134 | - (contDiff_timeMultiplier T hT Q hQ).clm_apply | |
| 135 | - (contDiff_transverse_coordinates T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 136 | - m hTangent hRange hQ hQ₁ hH f hf) | |
| 137 | - | |
| 138 | 103 | end EulerTransverseParameterRegularity |
+0 −116 Euler/TransverseSourceCoefficientPath.lean View file
| @@ -35,15 +35,6 @@ private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance | ||
| 35 | 35 | def pathEvaluation (x : Space) : C(K,Space →ᵇ V) →L[ℝ] C(K,V) := |
| 36 | 36 | (BoundedContinuousFunction.evalCLM ℝ x).compLeftContinuous ℝ K |
| 37 | 37 | |
| 38 | -/-- Evaluation is a contraction in the genuine uniform path norm. -/ | |
| 39 | -theorem pathEvaluation_norm (x : Space) : ‖pathEvaluation (K := K) (V := V) x‖ ≤ 1 := by | |
| 40 | - apply opNorm_le_bound _ zero_le_one | |
| 41 | - intro A | |
| 42 | - rw [one_mul] | |
| 43 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 44 | - intro t | |
| 45 | - exact ((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t) | |
| 46 | - | |
| 47 | 38 | /-- The source coefficient viewed as a time path at a spatial position. -/ |
| 48 | 39 | def pointPath (A : SmoothCoefficientPath K V) (x : Space) : C(K,V) := |
| 49 | 40 | pathEvaluation 0 (translateCoefficientPath A.field x) |
| @@ -54,58 +45,8 @@ theorem pointPath_apply (A : SmoothCoefficientPath K V) (x : Space) (t : K) : | ||
| 54 | 45 | change A.field t (0+x) = A.field t x |
| 55 | 46 | rw [zero_add] |
| 56 | 47 | |
| 57 | -/-- Genuine smooth position dependence, in the uniform time-path norm. -/ | |
| 58 | -theorem pointPath_contDiff (A : SmoothCoefficientPath K V) : ContDiff ℝ ∞ (pointPath A) := by | |
| 59 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 60 | - (E := C(K,Space →ᵇ V)) (F := C(K,V)) (pathEvaluation 0)).comp A.translation_contDiff | |
| 61 | - | |
| 62 | -/-- Source pointwise derivative bounds give actual operator-norm derivatives of the time path. -/ | |
| 63 | -theorem pointPath_derivative_bound (A : SmoothCoefficientPath K V) | |
| 64 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 65 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : Space) : | |
| 66 | - ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C := by | |
| 67 | - have h := (pathEvaluation (K := K) (V := V) 0).norm_iteratedFDeriv_comp_left | |
| 68 | - (A.translation_contDiff.contDiffAt (x := x)) (n := n) (by simp) | |
| 69 | - exact h.trans ((mul_le_mul_of_nonneg_right (pathEvaluation_norm (K := K) (V := V) 0) | |
| 70 | - (norm_nonneg _)).trans (by simpa only [one_mul] using A.norm_iteratedFDeriv_translation_le n C hC hb x)) | |
| 71 | - | |
| 72 | -/-- Every prescribed factorial coefficient bound survives the time-path construction. -/ | |
| 73 | -theorem pointPath_gevrey (A : SmoothCoefficientPath K V) | |
| 74 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 75 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) | |
| 76 | - (n : ℕ) (x : Space) : | |
| 77 | - ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C*majorant Rc d n := | |
| 78 | - pointPath_derivative_bound A n _ (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x | |
| 79 | - | |
| 80 | 48 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 81 | 49 | |
| 82 | -/-- Independent angle variables can be added by a fixed spatial projection. -/ | |
| 83 | -theorem pointPath_pullback_contDiff (L : P →L[ℝ] Space) (A : SmoothCoefficientPath K V) : | |
| 84 | - ContDiff ℝ ∞ (fun x => pointPath A (L x)) := | |
| 85 | - (pointPath_contDiff A).comp L.contDiff | |
| 86 | - | |
| 87 | -/-- A spatial projection of norm at most one preserves the literal source derivative bounds. -/ | |
| 88 | -theorem pointPath_pullback_derivative_bound (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 89 | - (A : SmoothCoefficientPath K V) (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 90 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : P) : | |
| 91 | - ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C := by | |
| 92 | - change ‖iteratedFDeriv ℝ n ((pointPath A) ∘ L) x‖ ≤ C | |
| 93 | - rw [L.iteratedFDeriv_comp_right (pointPath_contDiff A) x (by simp)] | |
| 94 | - have h := (iteratedFDeriv ℝ n (pointPath A) (L x)).norm_compContinuousLinearMap_le (fun _ => L) | |
| 95 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at h | |
| 96 | - exact h.trans ((mul_le_mul (pointPath_derivative_bound A n C hC hb (L x)) | |
| 97 | - (pow_le_one₀ (norm_nonneg L) hL) (pow_nonneg (norm_nonneg L) n) hC).trans_eq (mul_one C)) | |
| 98 | - | |
| 99 | -/-- Joint spatial/angle coefficient bounds follow from the source spatial bounds. -/ | |
| 100 | -theorem pointPath_pullback_gevrey (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 101 | - (A : SmoothCoefficientPath K V) | |
| 102 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 103 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) | |
| 104 | - (n : ℕ) (x : P) : | |
| 105 | - ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C*majorant Rc d n := | |
| 106 | - pointPath_pullback_derivative_bound L hL A n _ | |
| 107 | - (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x | |
| 108 | - | |
| 109 | 50 | end Evaluation |
| 110 | 51 | |
| 111 | 52 | section Frame |
| @@ -132,65 +73,8 @@ theorem referenceEmbedding_norm : ‖referenceEmbedding m₀ Rperp‖ ≤ 1 := b | ||
| 132 | 73 | def referenceRestriction : (Space →L[ℝ] Space) →L[ℝ] (U →L[ℝ] Space) := |
| 133 | 74 | (compL ℝ U Space Space).flip (referenceEmbedding m₀ Rperp) |
| 134 | 75 | |
| 135 | -/-- The time-path reference restriction is a genuine bounded linear map. -/ | |
| 136 | -def framePathMap (T : ℝ) : C(Icc (0 : ℝ) T,Space →L[ℝ] Space) →L[ℝ] | |
| 137 | - C(Icc (0 : ℝ) T,U →L[ℝ] Space) := | |
| 138 | - (referenceRestriction m₀ Rperp).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 139 | - | |
| 140 | -/-- This restriction is exactly the source frame path `F Rperp`. -/ | |
| 141 | -theorem framePathMap_apply (T : ℝ) (A : C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) : | |
| 142 | - framePathMap m₀ Rperp T A = framePath m₀ Rperp T A := rfl | |
| 143 | - | |
| 144 | -/-- Orthogonal reference restriction does not enlarge the coefficient path norm. -/ | |
| 145 | -theorem framePathMap_norm (T : ℝ) : ‖framePathMap m₀ Rperp T‖ ≤ 1 := by | |
| 146 | - apply opNorm_le_bound _ zero_le_one | |
| 147 | - intro A | |
| 148 | - rw [one_mul] | |
| 149 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 150 | - intro t | |
| 151 | - calc | |
| 152 | - ‖framePathMap m₀ Rperp T A t‖ ≤ ‖A t‖ * ‖referenceEmbedding m₀ Rperp‖ := opNorm_comp_le _ _ | |
| 153 | - _ ≤ ‖A t‖ * 1 := mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ Rperp) (norm_nonneg _) | |
| 154 | - _ ≤ ‖A‖ := by simpa only [mul_one] using A.norm_coe_le_norm t | |
| 155 | - | |
| 156 | -/-- The actual source frame depends smoothly on position in time-path operator norm. -/ | |
| 157 | -theorem sourceFrame_contDiff (T : ℝ) | |
| 158 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : | |
| 159 | - ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A x)) := by | |
| 160 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 161 | - (E := C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) | |
| 162 | - (F := C(Icc (0 : ℝ) T,U →L[ℝ] Space)) (framePathMap m₀ Rperp T)).comp (pointPath_contDiff A) | |
| 163 | - | |
| 164 | -/-- Source spatial factorial bounds give the exact frame-path bounds used by the inverse. -/ | |
| 165 | -theorem sourceFrame_gevrey (T : ℝ) | |
| 166 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 167 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 168 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 169 | - C*majorant Rc d n) (n : ℕ) (x : Space) : | |
| 170 | - ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A y)) x‖ ≤ C*majorant Rc d n := by | |
| 171 | - exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) | |
| 172 | - (pointPath A) (pointPath_contDiff A) Rc C hRc hC d (pointPath_gevrey A Rc C hRc hC d hb) n x | |
| 173 | - | |
| 174 | 76 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 175 | 77 | |
| 176 | -/-- The literal frame remains smooth after adjoining independent angle coordinates. -/ | |
| 177 | -theorem sourceFrame_pullback_contDiff (T : ℝ) (L : P →L[ℝ] Space) | |
| 178 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : | |
| 179 | - ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A (L x))) := | |
| 180 | - (sourceFrame_contDiff m₀ Rperp T A).comp L.contDiff | |
| 181 | - | |
| 182 | -/-- The actual source `F Rperp` coefficients satisfy the full joint parameter factorial bounds. -/ | |
| 183 | -theorem sourceFrame_pullback_gevrey (T : ℝ) (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 184 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 185 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 186 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 187 | - C*majorant Rc d n) (n : ℕ) (x : P) : | |
| 188 | - ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A (L y))) x‖ ≤ | |
| 189 | - C*majorant Rc d n := by | |
| 190 | - exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) | |
| 191 | - (fun y => pointPath A (L y)) (pointPath_pullback_contDiff L A) Rc C hRc hC d | |
| 192 | - (pointPath_pullback_gevrey L hL A Rc C hRc hC d hb) n x | |
| 193 | - | |
| 194 | 78 | end Frame |
| 195 | 79 | |
| 196 | 80 | end EulerTransverseSourceCoefficientPath |
+0 −38 Euler/TransverseStrongEstimates.lean View file
| @@ -127,18 +127,6 @@ theorem coordinateDerivative_norm (hT : 0 ≤ T) (u : TimeLp T E) : | ||
| 127 | 127 | exact mul_le_mul (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hs |
| 128 | 128 | (Real.sqrt_nonneg _) (by positivity) |
| 129 | 129 | |
| 130 | -/-- The actual coercive forcing-to-coordinate-velocity map has a polynomial bound. -/ | |
| 131 | -theorem transverseCoordinateDerivative_norm (hT : 0 ≤ T) | |
| 132 | - (m : Icc (0 : ℝ) T → E) (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 133 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 134 | - (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : | |
| 135 | - ‖coordinateDerivative T hT Q Q₁ c hc hQ | |
| 136 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E)‖ ≤ | |
| 137 | - ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) * | |
| 138 | - (2 * T * ‖f‖) := by | |
| 139 | - apply (coordinateDerivative_norm T Q Q₁ c hc hQ hT _).trans | |
| 140 | - exact mul_le_mul_of_nonneg_left (transverseSolver_norm T hT m H K hK hH hsmall f) (by positivity) | |
| 141 | - | |
| 142 | 130 | /-- Inverting the projected strong equation is an exact equality of actual L² fields. -/ |
| 143 | 131 | theorem acceleration_eq_inverse (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
| 144 | 132 | (heq : ∀ᵐ t ∂timeMeasure T, gram (extendPath T hT Q t) (a t) = |
| @@ -191,30 +179,4 @@ theorem acceleration_norm (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) | ||
| 191 | 179 | gcongr |
| 192 | 180 | _ = _ := by ring |
| 193 | 181 | |
| 194 | -/-- Applying the strong bound to the actual variational solver gives a polynomial | |
| 195 | -acceleration estimate in terms of its already bounded coordinate velocity. -/ | |
| 196 | -theorem transverseCoordinateSecondDerivative_norm | |
| 197 | - (Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (hT : 0 < T) | |
| 198 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 199 | - HasDerivWithinAt (extendPath T hT.le Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 200 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 201 | - HasDerivWithinAt (extendPath T hT.le Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 202 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 203 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 204 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) | |
| 205 | - (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 206 | - (hsmall : K * (T^2/2) ≤ 1/2) | |
| 207 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) (f : TimeLp T E) : | |
| 208 | - let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 209 | - ‖coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H u f‖ ≤ | |
| 210 | - c⁻¹ * ‖Q‖ * (‖f‖ + 2 * ‖Q₁‖ * ‖coordinateDerivative T hT.le Q Q₁ c hc hQ u‖) := by | |
| 211 | - let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 212 | - obtain ⟨v, _, _, hv, _, _, heq⟩ := | |
| 213 | - transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hd hd₁ hT m hm hRange | |
| 214 | - H K hK hH hsmall hframe f | |
| 215 | - apply acceleration_norm T Q Q₁ c hc hQ hT.le | |
| 216 | - filter_upwards [hv, heq] with t hvt ht | |
| 217 | - rw [hvt] | |
| 218 | - exact ht | |
| 219 | - | |
| 220 | 182 | end EulerTransverseStrongEstimates |
+0 −139 Euler/TransverseVariationalInverse.lean View file
| @@ -68,14 +68,6 @@ instance transverseDerivatives_complete [CompleteSpace E] (T : ℝ) (hT : 0 ≤ | ||
| 68 | 68 | (m : Icc (0 : ℝ) T → E) : CompleteSpace (transverseDerivatives T hT m) := |
| 69 | 69 | (transverseDerivatives_closed T hT m).completeSpace_coe |
| 70 | 70 | |
| 71 | -/-- The zero initial trace is exactly the zero-mean condition on the time derivative. -/ | |
| 72 | -theorem transverseDerivatives_integral_zero (T : ℝ) (hT : 0 ≤ T) | |
| 73 | - (m : Icc (0 : ℝ) T → E) (u : transverseDerivatives T hT m) : | |
| 74 | - (∫ t in 0..T, (u : TimeLp T E) t) = 0 := by | |
| 75 | - have hi := u.property.1 | |
| 76 | - rw [initialTrace_eq_integral] at hi | |
| 77 | - exact neg_eq_zero.mp hi | |
| 78 | - | |
| 79 | 71 | /-- Every genuine absolutely continuous zero-endpoint transverse path with an |
| 80 | 72 | L² derivative belongs to this Hilbert model. Thus the test space is not an |
| 81 | 73 | assumed family of already solved displacements. -/ |
| @@ -106,20 +98,6 @@ theorem transversePrimitive_norm_sq (T : ℝ) (hT : 0 ≤ T) | ||
| 106 | 98 | ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := |
| 107 | 99 | primitiveTimeLp_norm_sq_le T hT (u : TimeLp T E) |
| 108 | 100 | |
| 109 | -/-- A convenient polynomial operator bound for the terminal primitive. -/ | |
| 110 | -theorem transversePrimitive_norm_le (T : ℝ) (hT : 0 ≤ T) | |
| 111 | - (m : Icc (0 : ℝ) T → E) : ‖transversePrimitive T hT m‖ ≤ T := by | |
| 112 | - apply ContinuousLinearMap.opNorm_le_bound _ hT | |
| 113 | - intro u | |
| 114 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hT (norm_nonneg u))).1 | |
| 115 | - calc | |
| 116 | - ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := | |
| 117 | - transversePrimitive_norm_sq T hT m u | |
| 118 | - _ ≤ T ^ 2 * ‖u‖ ^ 2 := by | |
| 119 | - apply mul_le_mul_of_nonneg_right _ (sq_nonneg ‖u‖) | |
| 120 | - nlinarith only [sq_nonneg T] | |
| 121 | - _ = (T * ‖u‖) ^ 2 := by ring | |
| 122 | - | |
| 123 | 101 | variable [CompleteSpace E] |
| 124 | 102 | variable (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) |
| 125 | 103 | variable (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| @@ -140,34 +118,6 @@ def transverseDisplacement : TimeLp T E →L[ℝ] C(Icc (0 : ℝ) T, E) := | ||
| 140 | 118 | ((transverseDerivatives T hT m).subtypeL.comp |
| 141 | 119 | (transverseSolver T hT m H K hK hH hsmall)) |
| 142 | 120 | |
| 143 | -/-- The solved displacement vanishes at the initial endpoint. -/ | |
| 144 | -theorem transverseDisplacement_initial (f : TimeLp T E) : | |
| 145 | - transverseDisplacement T hT m H K hK hH hsmall f ⟨0, le_rfl, hT⟩ = 0 := | |
| 146 | - (transverseSolver T hT m H K hK hH hsmall f).property.1 | |
| 147 | - | |
| 148 | -/-- The solved displacement vanishes at the terminal endpoint. -/ | |
| 149 | -theorem transverseDisplacement_terminal (f : TimeLp T E) : | |
| 150 | - transverseDisplacement T hT m H K hK hH hsmall f ⟨T, hT, le_rfl⟩ = 0 := by | |
| 151 | - change terminalPrimitive T hT | |
| 152 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) ⟨T, hT, le_rfl⟩ = 0 | |
| 153 | - exact terminalPrimitive_terminal T hT | |
| 154 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) | |
| 155 | - | |
| 156 | -/-- The solved displacement belongs to the actual moving transverse plane. -/ | |
| 157 | -theorem transverseDisplacement_tangent (f : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 158 | - ⟪m t, transverseDisplacement T hT m H K hK hH hsmall f t⟫_ℝ = 0 := | |
| 159 | - (transverseSolver T hT m H K hK hH hsmall f).property.2 t | |
| 160 | - | |
| 161 | -/-- The derivative of the constructed displacement is the solved L² field, | |
| 162 | -as an actual almost-everywhere derivative of its continuous real-time representative. -/ | |
| 163 | -theorem transverseDisplacement_hasDerivAt_ae (f : TimeLp T E) : | |
| 164 | - ∀ᵐ t ∂timeMeasure T, | |
| 165 | - HasDerivAt (realPrimitive T | |
| 166 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E)) | |
| 167 | - ((transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) t) t := | |
| 168 | - realPrimitive_hasDerivAt_ae T | |
| 169 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) | |
| 170 | - | |
| 171 | 121 | /-- The actual weak transverse displacement equation, tested against every |
| 172 | 122 | zero-endpoint displacement in the same moving plane. -/ |
| 173 | 123 | theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m) : |
| @@ -180,97 +130,8 @@ theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m | ||
| 180 | 130 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 181 | 131 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall f v |
| 182 | 132 | |
| 183 | -/-- The constructed weak inverse is unique in the actual transverse displacement space. -/ | |
| 184 | -theorem transverseSolver_unique (f : TimeLp T E) (u : transverseDerivatives T hT m) | |
| 185 | - (hu : ∀ v : transverseDerivatives T hT m, | |
| 186 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 187 | - ⟪timeMultiplier T hT H (transversePrimitive T hT m u), | |
| 188 | - transversePrimitive T hT m v⟫_ℝ = | |
| 189 | - -⟪f, transversePrimitive T hT m v⟫_ℝ) : | |
| 190 | - u = transverseSolver T hT m H K hK hH hsmall f := | |
| 191 | - dirichletSolver_unique (transversePrimitive T hT m) (timeMultiplier T hT H) | |
| 192 | - (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) | |
| 193 | - (timeMultiplier_quadratic_upper T hT H K hH) hsmall f u hu | |
| 194 | - | |
| 195 | -/-- The solved derivative has a polynomial finite-time bound, with no exponential in H. -/ | |
| 196 | -theorem transverseSolver_norm (f : TimeLp T E) : | |
| 197 | - ‖transverseSolver T hT m H K hK hH hsmall f‖ ≤ 2 * T * ‖f‖ := by | |
| 198 | - apply (dirichletSolver_norm (transversePrimitive T hT m) (timeMultiplier T hT H) | |
| 199 | - (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) | |
| 200 | - (timeMultiplier_quadratic_upper T hT H K hH) hsmall f).trans | |
| 201 | - exact mul_le_mul_of_nonneg_right | |
| 202 | - (mul_le_mul_of_nonneg_left (transversePrimitive_norm_le T hT m) (by norm_num)) | |
| 203 | - (norm_nonneg f) | |
| 204 | - | |
| 205 | 133 | /-- Zero forcing has zero displacement, the pointwise-in-label support preservation property. -/ |
| 206 | 134 | @[simp] theorem transverseDisplacement_zero : |
| 207 | 135 | transverseDisplacement T hT m H K hK hH hsmall 0 = 0 := map_zero _ |
| 208 | 136 | |
| 209 | -/-- The inverse preserves sign, hence oddness in a parameter with unchanged coefficients. -/ | |
| 210 | -theorem transverseDisplacement_neg (f : TimeLp T E) : | |
| 211 | - transverseDisplacement T hT m H K hK hH hsmall (-f) = | |
| 212 | - -transverseDisplacement T hT m H K hK hH hsmall f := map_neg _ _ | |
| 213 | - | |
| 214 | -/-- A zero angle mean of the forcing gives a zero angle mean of the displacement. | |
| 215 | -The measure can be the normalized periodic angle measure; coefficients are fixed in this parameter. -/ | |
| 216 | -theorem transverseDisplacement_integral_zero {α : Type*} [MeasurableSpace α] | |
| 217 | - (μ : Measure α) (f : α → TimeLp T E) (hf : Integrable f μ) | |
| 218 | - (hmean : ∫ a, f a ∂μ = 0) : | |
| 219 | - (∫ a, transverseDisplacement T hT m H K hK hH hsmall (f a) ∂μ) = 0 := by | |
| 220 | - rw [(transverseDisplacement T hT m H K hK hH hsmall).integral_comp_comm hf, | |
| 221 | - hmean, map_zero] | |
| 222 | - | |
| 223 | -include K hK hH hsmall in | |
| 224 | -/-- Existence and uniqueness follow from the actual sharp time primitive estimate, | |
| 225 | -the pointwise potential bound, and closed transverse constraints. -/ | |
| 226 | -theorem existsUnique_transverse_weak_solution (f : TimeLp T E) : | |
| 227 | - ∃! u : transverseDerivatives T hT m, | |
| 228 | - ∀ v : transverseDerivatives T hT m, | |
| 229 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 230 | - ⟪timeMultiplier T hT H (transversePrimitive T hT m u), | |
| 231 | - transversePrimitive T hT m v⟫_ℝ = | |
| 232 | - -⟪f, transversePrimitive T hT m v⟫_ℝ := by | |
| 233 | - exact ⟨transverseSolver T hT m H K hK hH hsmall f, | |
| 234 | - transverseSolver_weak T hT m H K hK hH hsmall f, | |
| 235 | - fun u hu => transverseSolver_unique T hT m H K hK hH hsmall f u hu⟩ | |
| 236 | - | |
| 237 | -include K hK hH hsmall in | |
| 238 | -/-- The actual weak inverse has the source's form `η = F R⊥ ξ`, with continuous | |
| 239 | -coordinates and both endpoint conditions. The frame is prescribed coefficient | |
| 240 | -data; neither a displacement nor a differential inverse is supplied. -/ | |
| 241 | -theorem exists_transverse_frame_displacement | |
| 242 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 243 | - (m₀ : E) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m₀) | |
| 244 | - (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 245 | - (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 246 | - (hA : ∀ t, A t = (F t).symm.toContinuousLinearMap) (f : TimeLp T E) : | |
| 247 | - let mF := fun t => EulerTransverseFrameCoordinates.movingNormal (F t) m₀ | |
| 248 | - ∃ (u : transverseDerivatives T hT mF) | |
| 249 | - (η : C(Icc (0 : ℝ) T, E)) (ξ : C(Icc (0 : ℝ) T, U)), | |
| 250 | - η = terminalPrimitive T hT (u : TimeLp T E) ∧ | |
| 251 | - η ⟨0, le_rfl, hT⟩ = 0 ∧ η ⟨T, hT, le_rfl⟩ = 0 ∧ | |
| 252 | - ξ ⟨0, le_rfl, hT⟩ = 0 ∧ ξ ⟨T, hT, le_rfl⟩ = 0 ∧ | |
| 253 | - (∀ t, F t (R (ξ t) : E) = η t) ∧ | |
| 254 | - ‖u‖ ≤ 2 * T * ‖f‖ ∧ | |
| 255 | - ∀ v : transverseDerivatives T hT mF, | |
| 256 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 257 | - ⟪timeMultiplier T hT H (transversePrimitive T hT mF u), | |
| 258 | - transversePrimitive T hT mF v⟫_ℝ = | |
| 259 | - -⟪f, transversePrimitive T hT mF v⟫_ℝ := by | |
| 260 | - let mF := fun t => EulerTransverseFrameCoordinates.movingNormal (F t) m₀ | |
| 261 | - let u := transverseSolver T hT mF H K hK hH hsmall f | |
| 262 | - let η := transverseDisplacement T hT mF H K hK hH hsmall f | |
| 263 | - let ξ := EulerTransverseFrameCoordinates.coordinatePath m₀ R A η | |
| 264 | - have h0 : η ⟨0, le_rfl, hT⟩ = 0 := | |
| 265 | - transverseDisplacement_initial T hT mF H K hK hH hsmall f | |
| 266 | - have hT' : η ⟨T, hT, le_rfl⟩ = 0 := | |
| 267 | - transverseDisplacement_terminal T hT mF H K hK hH hsmall f | |
| 268 | - refine ⟨u, η, ξ, rfl, h0, hT', ?_, ?_, ?_, | |
| 269 | - transverseSolver_norm T hT mF H K hK hH hsmall f, | |
| 270 | - transverseSolver_weak T hT mF H K hK hH hsmall f⟩ | |
| 271 | - · exact EulerTransverseFrameCoordinates.coordinatePath_zero_at m₀ R A η _ h0 | |
| 272 | - · exact EulerTransverseFrameCoordinates.coordinatePath_zero_at m₀ R A η _ hT' | |
| 273 | - · exact EulerTransverseFrameCoordinates.coordinatePath_reconstruct m₀ R F A hA η | |
| 274 | - (transverseDisplacement_tangent T hT mF H K hK hH hsmall f) | |
| 275 | - | |
| 276 | 137 | end EulerTransverseVariationalInverse |
+0 −45 Euler/TransverseVariationalOperator.lean View file
| @@ -67,51 +67,6 @@ theorem dirichletSolver_weak (J : V →L[ℝ] W) (H : W →L[ℝ] W) | ||
| 67 | 67 | (dirichletOperator_coercive J H L K hK hJ hH hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 68 | 68 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 69 | 69 | |
| 70 | -/-- No other derivative in the same Hilbert displacement space solves this form. -/ | |
| 71 | -theorem dirichletSolver_unique (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 72 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 73 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 74 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 75 | - (hsmall : K * L ≤ 1 / 2) (f : W) (u : V) | |
| 76 | - (hu : ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ) : | |
| 77 | - u = dirichletSolver J H L K hK hJ hH hsmall f := by | |
| 78 | - apply (coerciveEquiv (dirichletOperator J H) (1 / 2) (by norm_num) | |
| 79 | - (dirichletOperator_coercive J H L K hK hJ hH hsmall)).injective | |
| 80 | - simp only [coerciveEquiv_apply] | |
| 81 | - apply ext_inner_right ℝ | |
| 82 | - intro v | |
| 83 | - rw [dirichletOperator_inner, hu, dirichletOperator_inner, | |
| 84 | - dirichletSolver_weak] | |
| 85 | - | |
| 86 | -/-- Quantitative boundedness of the genuinely constructed solution map. -/ | |
| 87 | -theorem dirichletSolver_norm (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 88 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 89 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 90 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 91 | - (hsmall : K * L ≤ 1 / 2) (f : W) : | |
| 92 | - ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J‖ * ‖f‖ := by | |
| 93 | - have hi := coerciveInverse_apply_norm_le (dirichletOperator J H) (1 / 2) | |
| 94 | - (by norm_num) (dirichletOperator_coercive J H L K hK hJ hH hsmall) | |
| 95 | - (-J.adjoint f) | |
| 96 | - change ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ _ at hi | |
| 97 | - have ha := J.adjoint.le_opNorm f | |
| 98 | - simp only [norm_neg, inv_div, div_one, LinearIsometryEquiv.norm_map] at hi ha | |
| 99 | - calc | |
| 100 | - ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J.adjoint f‖ := hi | |
| 101 | - _ ≤ 2 * (‖J‖ * ‖f‖) := mul_le_mul_of_nonneg_left ha (by norm_num) | |
| 102 | - _ = 2 * ‖J‖ * ‖f‖ := by ring | |
| 103 | - | |
| 104 | -/-- Existence and uniqueness, as conclusions from coefficient and primitive bounds. -/ | |
| 105 | -theorem existsUnique_dirichlet_solution (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 106 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 107 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 108 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 109 | - (hsmall : K * L ≤ 1 / 2) (f : W) : | |
| 110 | - ∃! u : V, ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ := by | |
| 111 | - exact ⟨dirichletSolver J H L K hK hJ hH hsmall f, | |
| 112 | - dirichletSolver_weak J H L K hK hJ hH hsmall f, | |
| 113 | - fun u hu => dirichletSolver_unique J H L K hK hJ hH hsmall f u hu⟩ | |
| 114 | - | |
| 115 | 70 | open MeasureTheory Set EulerTimeLp EulerVolterraConvolution |
| 116 | 71 | |
| 117 | 72 | omit [CompleteSpace W] in |
+0 −96 Euler/WeightedSobolevEnergy.lean View file
| @@ -16,100 +16,4 @@ open scoped ContDiff ENNReal NNReal Topology | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- The finite Gevrey-weighted integral energy inequality derived from the actual viscous PDE. | |
| 20 | -The signed radius term is retained exactly, and no differentiability of the unregularized norm is assumed. -/ | |
| 21 | -theorem weighted_sobolev_energy_integral {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) | |
| 22 | - (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 23 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 24 | - (e : α → β → ℝ → SobolevSpace period 2) (e' p forcing : α → β → ℝ → LiftL2 period) | |
| 25 | - (z : ℝ → SobolevSpace period q) | |
| 26 | - (s t c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → ℝ≥0) | |
| 27 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 28 | - (hρc : ContinuousOn ρ (Icc s t)) (hρpos : ∀ u ∈ Icc s t, 0 < ρ u) | |
| 29 | - (hρd : ∀ u ∈ Ioo s t, HasDerivAt ρ (ρ' u) u) | |
| 30 | - (hKc : ContinuousOn (fun u => (K u).operator) (Icc s t)) | |
| 31 | - (hec : ∀ i j, ContinuousOn (fun u => value period (e i j u)) (Icc s t)) | |
| 32 | - (hKt : ∀ u ∈ Ioo s t, HasDerivAt (fun v => (K v).operator) (K' u) u) | |
| 33 | - (het : ∀ i j u, u ∈ Ioo s t → HasDerivAt (fun v => value period (e i j v)) (e' i j u) u) | |
| 34 | - (hsym : ∀ u ∈ Ioo s t, ∀ x v w, | |
| 35 | - ⟪(K u).coefficient x v, w⟫_ℝ = ⟪v, (K u).coefficient x w⟫_ℝ) | |
| 36 | - (hpos : ∀ u ∈ Icc s t, ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).coefficient x v, v⟫_ℝ) | |
| 37 | - (hKG : ∀ u ∈ Ioo s t, ∀ x v, (K u).coefficient x ((G u).coefficient x v) = v) | |
| 38 | - (hediv : ∀ i j u, u ∈ Ioo s t → value period (e i j u) ∈ divergenceFreeSpace period κ m) | |
| 39 | - (hp : ∀ i j u, u ∈ Ioo s t → p i j u ∈ gradientSpace period κ m) | |
| 40 | - (hz : ∀ u ∈ Ioo s t, value period (z u) ∈ divergenceFreeSpace period κ m) | |
| 41 | - (hzB : ∀ u ∈ Ioo s t, ∀ᵐ x ∂liftMeasure period, ‖value period (z u) x‖ ≤ B u) | |
| 42 | - (heq : ∀ i j u, u ∈ Ioo s t → e' i j u + | |
| 43 | - transportOperator period hq κ m (z u) (restrictOperator period (by norm_num : 1 ≤ 2) (e i j u)) + | |
| 44 | - (G u).operator (p i j u) = forcing i j u + ν • jetLaplacian period (toJet period (e i j u))) | |
| 45 | - (hAint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 46 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) + | |
| 47 | - (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i)) (Icc s t)) | |
| 48 | - (hFint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 49 | - ((((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u))) (Icc s t)) : | |
| 50 | - weightedMetricSum (ρ t) order (K t).operator (fun i j => value period (e i j t)) - | |
| 51 | - weightedMetricSum (ρ s) order (K s).operator (fun i j => value period (e i j s)) ≤ | |
| 52 | - ∫ u in s..t, | |
| 53 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) * | |
| 54 | - weightedMetricSum (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 55 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 56 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 57 | - let Q := fun i u => familyEnergy (K u).operator (fun j => value period (e i j u)) | |
| 58 | - let a := fun u => viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) | |
| 59 | - let F := fun i u => (((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u) | |
| 60 | - let w := fun i u => weight (ρ u) (order i) | |
| 61 | - let w' := fun i u => (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i) | |
| 62 | - let A := fun i u => w i u * a u + w' i u | |
| 63 | - let Ψ := fun i u => A i u * √(Q i u) + w i u * F i u | |
| 64 | - have hQ (i : α) : ContinuousOn (Q i) (Icc s t) := | |
| 65 | - continuousOn_finsetSum Finset.univ (fun j _ => (hKc.clm_apply (hec i j)).inner (hec i j)) | |
| 66 | - have hQ0 (i : α) (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q i u := by | |
| 67 | - have hcoer : ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).operator v, v⟫_ℝ := | |
| 68 | - coefficientOperator_coercive (K u).coefficient (K u).measurable (K u).bound | |
| 69 | - (K u).norm_bound (c ^ 2) (hpos u hu) | |
| 70 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans | |
| 71 | - (familyEnergy_coercive (K u).operator (fun j => value period (e i j u)) c hcoer) | |
| 72 | - have hregd (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 73 | - DifferentiableAt ℝ (fun v => √(Q i v + δ ^ 2)) u := by | |
| 74 | - have hsymL : ∀ v w, ⟪(K u).operator v, w⟫_ℝ = ⟪v, (K u).operator w⟫_ℝ := | |
| 75 | - coefficientOperator_inner_swap (K u).coefficient (K u).measurable | |
| 76 | - (K u).bound (K u).norm_bound (hsym u hu) | |
| 77 | - have hd : HasDerivAt (Q i) (∑ j, (⟪K' u (value period (e i j u)), value period (e i j u)⟫_ℝ + | |
| 78 | - 2 * ⟪(K u).operator (value period (e i j u)), e' i j u⟫_ℝ)) u := | |
| 79 | - HasDerivAt.fun_sum (u := Finset.univ) (fun j _ => | |
| 80 | - metric_energy_hasDerivAt (fun v => (K v).operator) (fun v => value period (e i j v)) u (K' u) (e' i j u) | |
| 81 | - (hKt u hu) (het i j u hu) hsymL) | |
| 82 | - have hq := hQ0 i u ⟨hu.1.le, hu.2.le⟩ | |
| 83 | - exact (HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q i u + δ ^ 2 ≠ 0)).differentiableAt | |
| 84 | - have hreg (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 85 | - deriv (fun v => √(Q i v + δ ^ 2)) u ≤ a u * √(Q i u + δ ^ 2) + F i u := by | |
| 86 | - exact finite_sobolev_viscous_energy period hq κ m K (G u) (e i) u δ c ν (K' u) | |
| 87 | - (fun j => e' i j u) (fun j => p i j u) (fun j => forcing i j u) (z u) | |
| 88 | - hδ hc hν (hKt u hu) (fun j => het i j u hu) | |
| 89 | - (hsym u hu) (hpos u ⟨hu.1.le, hu.2.le⟩) (hKG u hu) (fun j => hediv i j u hu) | |
| 90 | - (fun j => hp i j u hu) (hz u hu) (B u) (hzB u hu) (fun j => heq i j u hu) | |
| 91 | - | |
| 92 | - have hi (i : α) : w i t * √(Q i t) - w i s * √(Q i s) ≤ ∫ u in s..t, Ψ i u := by | |
| 93 | - apply weighted_root_integral_of_deriv_bound (Q i) a (F i) (w i) (w' i) s t | |
| 94 | - hst (hQ i) (hQ0 i) ?_ ?_ ?_ (hregd i) (hreg i) (hAint i) (hFint i) | |
| 95 | - · exact (hρc.pow (order i)).div_const (((order i).factorial : ℝ) ^ 2) | |
| 96 | - · intro u hu | |
| 97 | - exact (weight_pos (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i)).le | |
| 98 | - · intro u hu | |
| 99 | - exact weight_hasDerivAt ρ (ρ' u) u (hρd u hu) (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i) | |
| 100 | - have hΨ (i : α) : IntervalIntegrable (Ψ i) volume s t := by | |
| 101 | - apply (intervalIntegrable_iff_integrableOn_Icc_of_le hst).mpr | |
| 102 | - exact ((hAint i).mul_continuousOn (hQ i).sqrt isCompact_Icc).add (hFint i) | |
| 103 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset α)) => hi i) | |
| 104 | - rw [Finset.sum_sub_distrib] at hsum | |
| 105 | - rw [← intervalIntegral.integral_finsetSum (fun i _ => hΨ i)] at hsum | |
| 106 | - have halg (u : ℝ) : (∑ i, Ψ i u) = | |
| 107 | - a u * weightedMetricSum (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 108 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 109 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 110 | - simp only [Ψ, A, w, w', F, Q, weightedMetricSum, weightedMetricLoss, weightedForcingSum, | |
| 111 | - familyMetricNorm, add_mul, Finset.sum_add_distrib, Finset.mul_sum] | |
| 112 | - simp only [mul_comm, mul_left_comm, mul_assoc] | |
| 113 | - simpa only [halg, w, Q, a, weightedMetricSum, familyMetricNorm] using hsum | |
| 114 | - | |
| 115 | 19 | end EulerWeightedSobolevEnergy |
+5 −4 KNOWN.md View file
| @@ -16,10 +16,11 @@ What is established about this problem, one fact a line, each with where it come | ||
| 16 | 16 | |
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 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 | -- [mind, checked] A pending build is a queue, not a failure, and it drains: jobs submitted 17:12–18:16 started 18:21–19:07, one waiting 69 minutes, and 17 build successes landed on main 19:22–19:41 while job 3989 was still running at 19:42 (job 3909, job 3989, commit 4d91878). | |
| 21 | -- [mind, checked] A challenge verdict counts its own head's tree: successes at 17:54–18:05 read 2,589 files and 582,410–586,699 lines, at 18:54–19:10 549,113–554,642, at 19:21–19:32 2,588 files and 537,195–543,767, so a count snapshots one tree (commit 2ccee40, commit 43a4cc9). | |
| 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). | |
| 19 | +- [mind, checked] Challenge passes can arrive in one batch: 35 heads on `s1-*` branches took them 20:02–20:07, each reading 2,588 files and its own tree's 535,952–537,699 lines (commit 65d0309, commit 4c91414, commit 6874f42). | |
| 20 | +- Main advances several commits a minute: 30 challenge and build successes on main landed 18:23–18:34, and 37 build successes on different main heads 20:12–20:45, so a tip named in a reading already trails them (commit 319f9c3, commit cc9ff43, commit 2d7b5f4, commit b6693ec). | |
| 21 | +- A pending build is a queue, not a failure: waits of 77 minutes at 17:21 fell to none, and 51 builds submitted 19:53–20:02 on `s1-*` branches all started by 20:24, then 40 build successes landed 20:25–21:11 while main's a20b052 still waits on both (job 4146, job 4333, commit 33397d1, job 4566). | |
| 22 | +- A challenge verdict counts its own head's tree: successes at 18:54–19:10 read 549,113–554,642 lines, at 19:21–19:32 2,588 files and 537,195–543,767, at 20:04–20:09 2,588 files and 532,727–536,393, so a count snapshots one tree (commit 43a4cc9, commit fa24974, commit 5cfef49). | |
| 23 | +- [mind, checked] A challenge pass says nothing about the build: 509d828 passed challenge at 17:35 and failed its build at 17:39 (`Invalid field angularContinuous`), while main's tip 58e42b1 passed challenge at 20:07 with its build still queued (commit 509d828, commit 58e42b1, job 4391). | |
| 23 | 24 | - ~~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) |
| 24 | 25 | - 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). |
| 25 | 26 | - 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 −103 NavierStokes/AngularMomentReset.lean View file
| @@ -355,74 +355,12 @@ def baseE (lam e0 y : ℝ) : ℝ := e0 * Real.exp ((-1 / 2 - lam) * y) | ||
| 355 | 355 | def modifiedE (lam e0 y0 : ℝ) (c : Coeff) (y : ℝ) : ℝ := |
| 356 | 356 | baseE lam e0 y * (1 + relative c (y - y0)) |
| 357 | 357 | |
| 358 | -def angularScale (lam e0 X0 y0 : ℝ) : ℝ := | |
| 359 | - X0 * Real.sqrt (2 * X0) * e0 * Real.exp (angularSlope lam * y0) | |
| 360 | - | |
| 361 | -def logSlope (E : ℝ → ℝ) (y : ℝ) : ℝ := 1 / 2 + deriv E y / E y | |
| 362 | - | |
| 363 | 358 | theorem baseE_contDiff (lam e0 : ℝ) : ContDiff ℝ ∞ (baseE lam e0) := |
| 364 | 359 | contDiff_const.mul (contDiff_const.mul contDiff_id).exp |
| 365 | 360 | |
| 366 | -theorem modifiedE_contDiff (lam e0 y0 : ℝ) (c : Coeff) : | |
| 367 | - ContDiff ℝ ∞ (modifiedE lam e0 y0 c) := | |
| 368 | - (baseE_contDiff lam e0).mul | |
| 369 | - (contDiff_const.add ((relative_contDiff c).comp (contDiff_id.sub contDiff_const))) | |
| 370 | - | |
| 371 | 361 | theorem baseE_pos (lam e0 y : ℝ) (he0 : 0 < e0) : 0 < baseE lam e0 y := |
| 372 | 362 | mul_pos he0 (Real.exp_pos _) |
| 373 | 363 | |
| 374 | -theorem modifiedE_sub_support (lam e0 y0 : ℝ) (c : Coeff) : | |
| 375 | - support (modifiedE lam e0 y0 c - baseE lam e0) ⊆ | |
| 376 | - Icc (y0 - 3 / 20) (y0 + 43 / 20) := by | |
| 377 | - intro y hy | |
| 378 | - have hn : relative c (y - y0) ≠ 0 := by | |
| 379 | - intro hz | |
| 380 | - exact hy (by simp [modifiedE, hz]) | |
| 381 | - have hs := relative_support c hn | |
| 382 | - constructor <;> linarith [hs.1, hs.2] | |
| 383 | - | |
| 384 | -/-- Choosing `y0 = T - 3` places the whole edit strictly inside `(T - 4, T)`. -/ | |
| 385 | -theorem modifiedE_sub_tsupport (lam e0 y0 : ℝ) (c : Coeff) : | |
| 386 | - tsupport (modifiedE lam e0 y0 c - baseE lam e0) ⊆ Ioo (y0 - 1) (y0 + 3) := by | |
| 387 | - apply (closure_minimal (modifiedE_sub_support lam e0 y0 c) isClosed_Icc).trans | |
| 388 | - intro y hy | |
| 389 | - constructor <;> linarith [hy.1, hy.2] | |
| 390 | - | |
| 391 | -theorem modifiedE_unchanged (lam e0 y0 : ℝ) (c : Coeff) {y : ℝ} | |
| 392 | - (hy : y ∉ Ioo (y0 - 1) (y0 + 3)) : modifiedE lam e0 y0 c y = baseE lam e0 y := by | |
| 393 | - by_contra hn | |
| 394 | - apply hy | |
| 395 | - apply modifiedE_sub_tsupport lam e0 y0 c | |
| 396 | - exact subset_closure (show (modifiedE lam e0 y0 c - baseE lam e0) y ≠ 0 from sub_ne_zero.mpr hn) | |
| 397 | - | |
| 398 | -theorem baseE_hasDerivAt (lam e0 y : ℝ) : | |
| 399 | - HasDerivAt (baseE lam e0) (baseE lam e0 y * (-1 / 2 - lam)) y := by | |
| 400 | - convert! (((hasDerivAt_id y).const_mul (-1 / 2 - lam)).exp).const_mul e0 using 1 | |
| 401 | - simp [baseE] | |
| 402 | - ring | |
| 403 | - | |
| 404 | -theorem modifiedE_hasDerivAt (lam e0 y0 : ℝ) (c : Coeff) (y : ℝ) : | |
| 405 | - HasDerivAt (modifiedE lam e0 y0 c) | |
| 406 | - (baseE lam e0 y * (-1 / 2 - lam) * (1 + relative c (y - y0)) + | |
| 407 | - baseE lam e0 y * deriv (relative c) (y - y0)) y := by | |
| 408 | - have hr := (((relative_contDiff c).differentiable (by simp)).differentiableAt.hasDerivAt).comp y | |
| 409 | - ((hasDerivAt_id y).sub_const y0) | |
| 410 | - convert! (baseE_hasDerivAt lam e0 y).mul (hr.const_add 1) using 1 | |
| 411 | - simp | |
| 412 | - | |
| 413 | -theorem modifiedE_logSlope (lam e0 y0 : ℝ) (c : Coeff) (y : ℝ) (he0 : e0 ≠ 0) | |
| 414 | - (hpos : 1 + relative c (y - y0) ≠ 0) : | |
| 415 | - logSlope (modifiedE lam e0 y0 c) y = | |
| 416 | - -lam + deriv (relative c) (y - y0) / (1 + relative c (y - y0)) := by | |
| 417 | - have hb : baseE lam e0 y ≠ 0 := mul_ne_zero he0 (Real.exp_ne_zero _) | |
| 418 | - unfold logSlope | |
| 419 | - rw [(modifiedE_hasDerivAt lam e0 y0 c y).deriv] | |
| 420 | - change 1 / 2 + | |
| 421 | - (baseE lam e0 y * (-1 / 2 - lam) * (1 + relative c (y - y0)) + | |
| 422 | - baseE lam e0 y * deriv (relative c) (y - y0)) / | |
| 423 | - (baseE lam e0 y * (1 + relative c (y - y0))) = _ | |
| 424 | - field_simp ; ring | |
| 425 | - | |
| 426 | 364 | theorem weighted_translate_integral (s y0 : ℝ) (f : ℝ → ℝ) : |
| 427 | 365 | (∫ y, Real.exp (s * y) * f (y - y0)) = |
| 428 | 366 | Real.exp (s * y0) * ∫ y, Real.exp (s * y) * f y := by |
| @@ -464,11 +402,6 @@ theorem sqrt_exp_half (y : ℝ) : Real.sqrt (Real.exp y) = Real.exp (y / 2) := b | ||
| 464 | 402 | congr 1 |
| 465 | 403 | ring |
| 466 | 404 | |
| 467 | -theorem angularScale_pos (lam e0 X0 y0 : ℝ) (he0 : 0 < e0) (hX : 0 < X0) : | |
| 468 | - 0 < angularScale lam e0 X0 y0 := by | |
| 469 | - unfold angularScale | |
| 470 | - exact mul_pos (mul_pos (mul_pos hX (Real.sqrt_pos.mpr (by positivity))) he0) (Real.exp_pos _) | |
| 471 | - | |
| 472 | 405 | namespace ResetBranch |
| 473 | 406 | |
| 474 | 407 | variable {lam : ℝ} (B : ResetBranch lam) |
| @@ -480,46 +413,10 @@ theorem positive (hlam : 0 < lam) (e0 y0 δ y : ℝ) (he0 : 0 < e0) | ||
| 480 | 413 | exact (positive_and_slope_of_small lam hlam (B.coefficients δ) (y - y0) |
| 481 | 414 | (B.small_jets δ hδ (y - y0)).1 (B.small_jets δ hδ (y - y0)).2).1 |
| 482 | 415 | |
| 483 | -theorem logSlope_le (hlam : 0 < lam) (e0 y0 δ y : ℝ) (he0 : 0 < e0) | |
| 484 | - (hδ : δ ∈ Ioo (-B.radius) B.radius) : | |
| 485 | - logSlope (modifiedE lam e0 y0 (B.coefficients δ)) y ≤ -lam / 2 := by | |
| 486 | - have hp := positive_and_slope_of_small lam hlam (B.coefficients δ) (y - y0) | |
| 487 | - (B.small_jets δ hδ (y - y0)).1 (B.small_jets δ hδ (y - y0)).2 | |
| 488 | - rw [modifiedE_logSlope lam e0 y0 (B.coefficients δ) y he0.ne' hp.1.ne'] | |
| 489 | - exact hp.2 | |
| 490 | - | |
| 491 | 416 | end ResetBranch |
| 492 | 417 | |
| 493 | 418 | /-! ## Finite-interval moments, including an arbitrary earlier prefix -/ |
| 494 | 419 | |
| 495 | -theorem outside_window {a b y0 y : ℝ} (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) | |
| 496 | - (hy : y ∉ Icc a b) : y ∉ Ioo (y0 - 1) (y0 + 3) := by | |
| 497 | - intro h | |
| 498 | - exact hy ⟨ha.trans h.1.le, h.2.le.trans hb⟩ | |
| 499 | - | |
| 500 | -theorem pressure_interval_change (lam e0 y0 a b : ℝ) (c : Coeff) | |
| 501 | - (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) : | |
| 502 | - (∫ y in Icc a b, (modifiedE lam e0 y0 c y) ^ 2) - | |
| 503 | - (∫ y in Icc a b, (baseE lam e0 y) ^ 2) = | |
| 504 | - e0 ^ 2 * Real.exp (pressureSlope lam * y0) * | |
| 505 | - ∫ y, Real.exp (pressureSlope lam * y) * ((1 + relative c y) ^ 2 - 1) := by | |
| 506 | - have hm : IntegrableOn (fun y => (modifiedE lam e0 y0 c y) ^ 2) (Icc a b) := | |
| 507 | - ((modifiedE_contDiff lam e0 y0 c).continuous.pow 2).continuousOn.integrableOn_Icc | |
| 508 | - have he : IntegrableOn (fun y => (baseE lam e0 y) ^ 2) (Icc a b) := | |
| 509 | - ((baseE_contDiff lam e0).continuous.pow 2).continuousOn.integrableOn_Icc | |
| 510 | - rw [← integral_sub hm he, setIntegral_eq_integral_of_forall_compl_eq_zero] | |
| 511 | - · exact pressure_integral_formula lam e0 y0 c | |
| 512 | - · intro y hy | |
| 513 | - rw [modifiedE_unchanged lam e0 y0 c (outside_window ha hb hy), sub_self] | |
| 514 | - | |
| 515 | -theorem ResetBranch.pressure_interval_neutral {lam : ℝ} (B : ResetBranch lam) | |
| 516 | - (e0 y0 a b δ : ℝ) (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) | |
| 517 | - (hδ : δ ∈ Ioo (-B.radius) B.radius) : | |
| 518 | - (∫ y in Icc a b, (modifiedE lam e0 y0 (B.coefficients δ) y) ^ 2) = | |
| 519 | - ∫ y in Icc a b, (baseE lam e0 y) ^ 2 := by | |
| 520 | - apply sub_eq_zero.mp | |
| 521 | - rw [pressure_interval_change lam e0 y0 a b (B.coefficients δ) ha hb, B.pressure δ hδ, mul_zero] | |
| 522 | - | |
| 523 | 420 | /-! ## Smooth dependence on the angular parameter -/ |
| 524 | 421 | |
| 525 | 422 | theorem relative_joint_contDiff : |
+0 −32 NavierStokes/AxisPreservation.lean View file
| @@ -52,38 +52,6 @@ theorem velocitySum_eq_first {scales : ℕ → ℝ} | ||
| 52 | 52 | exact spatialCurl_eq_of_eventuallyEq |
| 53 | 53 | ((potentialSum_eq_first_near hscales hq hpos hzero).trans hfirst) |
| 54 | 54 | |
| 55 | -theorem origin_eventually_eq_first {scales : ℕ → ℝ} | |
| 56 | - (hscales : Tendsto scales atTop atTop) {q : SpaceTime → ℝ} | |
| 57 | - {A : ℕ → VelocityField} | |
| 58 | - (hq : ∀ t < 1, ContinuousAt q (t, 0)) | |
| 59 | - (hpos : ∀ t < 1, 0 < q (t, 0)) | |
| 60 | - (hzero : ∀ t < 1, ∀ j : ℕ, j ≠ 0 → A j =ᶠ[𝓝 (t, 0)] fun _ => 0) | |
| 61 | - (hlimit : Tendsto (fun t : ℝ => q (t, 0)) (𝓝[<] 1) (𝓝 0)) : | |
| 62 | - (fun t : ℝ => velocitySum scales q A (t, 0)) =ᶠ[𝓝[<] 1] | |
| 63 | - (fun t => SpatialCurl.spatialCurl (A 0) (t, 0)) := by | |
| 64 | - have hl := ((tendsto_const_nhds.mul hlimit).abs : | |
| 65 | - Tendsto (fun t : ℝ => |scales 0 * q (t, 0)|) (𝓝[<] 1) (𝓝 |scales 0 * 0|)) | |
| 66 | - simp only [mul_zero, abs_zero] at hl | |
| 67 | - have hsmall := hl.eventually (gt_mem_nhds (show (0 : ℝ) < 1 / 2 by norm_num)) | |
| 68 | - have hbefore : ∀ᶠ t : ℝ in 𝓝[<] 1, t < 1 := self_mem_nhdsWithin | |
| 69 | - filter_upwards [hsmall, hbefore] with t ht hbefore | |
| 70 | - exact velocitySum_eq_first hscales (hq t hbefore) (hpos t hbefore) | |
| 71 | - (hzero t hbefore) ht | |
| 72 | - | |
| 73 | -theorem origin_blowup {scales : ℕ → ℝ} | |
| 74 | - (hscales : Tendsto scales atTop atTop) {q : SpaceTime → ℝ} | |
| 75 | - {A : ℕ → VelocityField} | |
| 76 | - (hq : ∀ t < 1, ContinuousAt q (t, 0)) | |
| 77 | - (hpos : ∀ t < 1, 0 < q (t, 0)) | |
| 78 | - (hzero : ∀ t < 1, ∀ j : ℕ, j ≠ 0 → A j =ᶠ[𝓝 (t, 0)] fun _ => 0) | |
| 79 | - (hlimit : Tendsto (fun t : ℝ => q (t, 0)) (𝓝[<] 1) (𝓝 0)) | |
| 80 | - (hbase : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl (A 0) (t, 0)‖) | |
| 81 | - (𝓝[<] 1) atTop) : | |
| 82 | - Tendsto (fun t : ℝ => ‖velocitySum scales q A (t, 0)‖) (𝓝[<] 1) atTop := by | |
| 83 | - apply hbase.congr' | |
| 84 | - exact (origin_eventually_eq_first hscales hq hpos hzero hlimit).symm.mono | |
| 85 | - (fun _ ht => congrArg norm ht) | |
| 86 | - | |
| 87 | 55 | theorem physicalQ_origin {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 88 | 56 | {t : ℝ} (ht : t < 1) : physicalQ h (t, 0) = 1 - t := by |
| 89 | 57 | change SimilarityCoordinates.coordinateQ (2 * h) (1 - t, 0) = 1 - t |
+0 −98 NavierStokes/BaseChartJets.lean View file
| @@ -764,63 +764,6 @@ theorem dyadic_actual_bounds {ι : Type*} {D : Domain ι Slow} | ||
| 764 | 764 | (fun i => ChartScales.Q (band i)) (fun i => ChartScales.Q_pos (band i)) |
| 765 | 765 | (fun i => ChartScales.Q_le_one (band i)) (fun i => hN (band i) (hband i)) |
| 766 | 766 | |
| 767 | -/-- The already selected enlarged-bundle schedule of the nominal base | |
| 768 | -instantiates the chart theorem without any additional schedule choice. -/ | |
| 769 | -theorem nominal_estimates {ι : Type*} {D : Domain ι Slow} | |
| 770 | - {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 771 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 772 | - {r M qlo qhi lo hi : ℝ} | |
| 773 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 774 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 775 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 776 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 777 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 778 | - Estimates D Q (ConstructedSlowBase.nominalScales W c hc upper B) | |
| 779 | - F.data.h W.axis.normalization (AssembledSlowBase.nominalCoefficients W) := | |
| 780 | - actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 781 | - hr hM hqlo hqhi hlo H (AssembledSlowBase.nominalCoefficients_smooth W) | |
| 782 | - (ConstructedSlowBase.nominalScales_admissible_on W c hc upper B hlo.le hhi) | |
| 783 | - Q hQ hQ1 hsmall | |
| 784 | - | |
| 785 | -/-- The same conclusion for the actual solved finite modulation and its | |
| 786 | -single common weighted/ordinary Borel schedule. -/ | |
| 787 | -theorem modulated_estimates {ι : Type*} {D : Domain ι Slow} | |
| 788 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 789 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 790 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 791 | - {r M qlo qhi lo hi : ℝ} | |
| 792 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 793 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 794 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 795 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 796 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 797 | - Estimates D Q (ConstructedSlowBase.Modulated.scales v c hc upper B) | |
| 798 | - F.data.h W.axis.normalization (ConstructedSlowBase.Modulated.coefficients v) := by | |
| 799 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 800 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B) | |
| 801 | - (show SlowBorelBase.innerBox lo hi ⊆ | |
| 802 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 803 | - fun w hw => ⟨⟨hlo.le.trans hw.1.1, hw.1.2.trans hhi⟩, hw.2⟩) | |
| 804 | - exact actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 805 | - hr hM hqlo hqhi hlo H (ConstructedSlowBase.Modulated.coefficients_smooth v) ha Q hQ hQ1 hsmall | |
| 806 | - | |
| 807 | -/-- A direct paired all-jet form, with constants uniform over every index | |
| 808 | -of the chart family. -/ | |
| 809 | -theorem Estimates.uniform_errors {ι : Type*} {D : Domain ι Slow} {Q : ι → ℝ} | |
| 810 | - {a : ℕ → ℕ} {h C : ℝ} {d : SlowBorelBase.Coefficients} | |
| 811 | - (H : Estimates D Q a h C d) (N : ℕ) : | |
| 812 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ i x, x ∈ D.carrier i → ∀ j, j ≤ N → | |
| 813 | - ‖iteratedFDeriv ℝ j (fun p => frequency a h C d (Q i) p - leadingFrequency h C d p) x‖ ≤ | |
| 814 | - K * Q i ^ (2 * h) ∧ | |
| 815 | - ‖iteratedFDeriv ℝ j (fun p => axial a h d (Q i) p - leadingAxial h d p) x‖ ≤ | |
| 816 | - K * Q i ^ (2 * h) := by | |
| 817 | - obtain ⟨CF, hCF, hF⟩ := envelope_unit_bound H.frequency_error N | |
| 818 | - obtain ⟨CG, hCG, hG⟩ := envelope_unit_bound H.axial_error N | |
| 819 | - refine ⟨max CF CG, hCF.trans (le_max_left _ _), fun i x hx j hj => ?_⟩ | |
| 820 | - have hw := H.frequency_error.nonneg i x hx | |
| 821 | - exact ⟨(hF i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) hw), | |
| 822 | - (hG i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) hw)⟩ | |
| 823 | - | |
| 824 | 767 | /-- Every actual positive active label above a single fixed band. -/ |
| 825 | 768 | noncomputable def CellIndex (h lo hi : ℝ) (N : ℕ) := |
| 826 | 769 | {L : PositiveRepresentatives.ActiveLabel (PrimaryRepresentatives.referenceCompact h lo hi) // |
| @@ -843,16 +786,6 @@ theorem positiveCellDomain_convex (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo | ||
| 843 | 786 | Convex ℝ ((positiveCellDomain h lo hi N).carrier L) := |
| 844 | 787 | PositiveRepresentatives.positiveCell_convex _ _ |
| 845 | 788 | |
| 846 | -theorem positiveCellDomain_representative (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 847 | - PositiveRepresentatives.representative (PrimaryRepresentatives.referenceCompact h lo hi) L.val ∈ | |
| 848 | - (positiveCellDomain h lo hi N).carrier L := | |
| 849 | - PositiveRepresentatives.representative_mem_cell _ L.val | |
| 850 | - | |
| 851 | -theorem positiveCellDomain_covers (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 852 | - PrimaryRepresentatives.gridBox L.val.val.1 L.val.val.2 2 ∩ PositiveRepresentatives.positiveTime ⊆ | |
| 853 | - (positiveCellDomain h lo hi N).carrier L := | |
| 854 | - PositiveRepresentatives.enlarged_positive_subset_cell L.val.property.1 _ | |
| 855 | - | |
| 856 | 789 | /-- Full actual-input conclusion. The fixed annular profile and one |
| 857 | 790 | admissible Borel schedule give all-order estimates and a single local-base |
| 858 | 791 | constant on every actual enlarged positive-time cell above one band. |
| @@ -900,35 +833,4 @@ theorem exists_actual_positive_charts {a : ℕ → ℕ} {h C lo hi : ℝ} | ||
| 900 | 833 | exact he.localBaseBounds hh.le (fun L => ChartScales.Q_pos (cellBand L)) |
| 901 | 834 | (fun L => ChartScales.Q_le_one (cellBand L)) (positiveCellDomain_convex h lo hi N) |
| 902 | 835 | |
| 903 | -/-- Actual modulated base, actual common schedule, and actual positive | |
| 904 | -active cells, combined in one theorem. The only annular restriction is | |
| 905 | -that the selected schedule controls the enlarged fixed inner box. -/ | |
| 906 | -theorem exists_modulated_positive_charts | |
| 907 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 908 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 909 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B0 : ℕ) | |
| 910 | - {lo hi : ℝ} (hlo : 0 < lo) (hhi : lo ≤ hi) | |
| 911 | - (hbox : 2 * hi ≤ ConstructedSlowBase.scaleUpper W upper) (N0 : ℕ) : | |
| 912 | - let a := ConstructedSlowBase.Modulated.scales v c hc upper B0 | |
| 913 | - let d := ConstructedSlowBase.Modulated.coefficients v | |
| 914 | - ∃ N : ℕ, N0 ≤ N ∧ | |
| 915 | - Estimates (positiveCellDomain F.data.h lo hi N) | |
| 916 | - (fun L => ChartScales.Q (cellBand L)) a F.data.h W.axis.normalization d ∧ | |
| 917 | - ∃ B : ℝ, 1 ≤ B ∧ ∀ L : CellIndex F.data.h lo hi N, | |
| 918 | - PhaseEstimates.LocalBaseBounds | |
| 919 | - (frequency a F.data.h W.axis.normalization d (ChartScales.Q (cellBand L))) | |
| 920 | - (axial a F.data.h d (ChartScales.Q (cellBand L))) | |
| 921 | - (leadingFrequency F.data.h W.axis.normalization d) (leadingAxial F.data.h d) | |
| 922 | - ((positiveCellDomain F.data.h lo hi N).carrier L) B | |
| 923 | - (ChartScales.epsilon F.data.h (cellBand L)) := by | |
| 924 | - dsimp only | |
| 925 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 926 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B0) | |
| 927 | - (show SlowBorelBase.innerBox (lo / 2) (2 * hi) ⊆ | |
| 928 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 929 | - fun w hw => ⟨⟨(half_pos hlo).le.trans hw.1.1, hw.1.2.trans hbox⟩, hw.2⟩) | |
| 930 | - exact exists_actual_positive_charts (ConstructedSlowBase.height_pos W) | |
| 931 | - (ConstructedSlowBase.height_lt_half W) hlo hhi | |
| 932 | - (ConstructedSlowBase.Modulated.coefficients_smooth v) ha N0 | |
| 933 | - | |
| 934 | 836 | end NavierStokes.BaseChartJets |
+0 −101 NavierStokes/BaseContextAssembly.lean View file
| @@ -97,11 +97,6 @@ theorem physicalPoint_smooth (h : ℝ) (n : ℕ) : ContDiff ℝ ∞ (physicalPoi | ||
| 97 | 97 | · change ContDiff ℝ ∞ (fun x : Point => ChartScales.Q n ^ CoordinateAlgebra.D h * x.2.1.2) |
| 98 | 98 | exact contDiff_const.mul contDiff_snd.fst.snd |
| 99 | 99 | |
| 100 | -theorem operators_match_physical (h a b : ℝ) (hab : a < b) (n : ℕ) : | |
| 101 | - PhysicalResidualTZ.MatchesAtTZ (operators h a b hab) | |
| 102 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (commonIndex h n)) n := by | |
| 103 | - constructor <;> rfl | |
| 104 | - | |
| 105 | 100 | section OperatorBounds |
| 106 | 101 | |
| 107 | 102 | theorem timeCoefficient_uniform (h : ℝ) (hh : 0 ≤ h) : |
| @@ -560,11 +555,6 @@ theorem rawStress_smooth (U : Set Plane) (hT : ∀ p ∈ U, 0 < p.1) (n : ℕ) : | ||
| 560 | 555 | exact ((contDiffAt_const (c := (ChartScales.Q n ^ (2 * CoordinateAlgebra.A F.data.h) : ℝ))).smul ((htheta.comp x hP.contDiffAt).prodMk |
| 561 | 556 | (haxial.comp x hP.contDiffAt))).contDiffWithinAt |
| 562 | 557 | |
| 563 | -theorem rawStress_periodic (U : Set Plane) (n : ℕ) : | |
| 564 | - PhysicalMeanDomain.PeriodicOn U (fun x => (rawStress H v upper B n x).1) ∧ | |
| 565 | - PhysicalMeanDomain.PeriodicOn U (fun x => (rawStress H v upper B n x).2) := by | |
| 566 | - constructor <;> intro r s hs Y k <;> rfl | |
| 567 | - | |
| 568 | 558 | theorem rawStress_normalized (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) : |
| 569 | 559 | rawStress H v upper B n x = |
| 570 | 560 | (ChartScales.epsilon F.data.h n * |
| @@ -717,31 +707,6 @@ theorem leadingVirtualStress_eq (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (hR : 0 | ||
| 717 | 707 | · exact (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half |
| 718 | 708 | (p := slowCoordinates x) hT).le |
| 719 | 709 | |
| 720 | -noncomputable def waveCoefficients (phase : ℕ → Point × ℝ → ℝ) | |
| 721 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 722 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 723 | - LinearWaveBounds.WaveCoefficients (Point × ℝ) where | |
| 724 | - radius _ x := x.1.1 | |
| 725 | - radialBase n x := radialBase H v upper B n x.1 | |
| 726 | - frequencyBase n x := frequencyBase H v upper B n x.1 | |
| 727 | - axialBase n x := axialBase H v upper B n x.1 | |
| 728 | - phase := phase | |
| 729 | - amplitude := amplitude | |
| 730 | - pressure := pressure | |
| 731 | - frequency := frequency | |
| 732 | - | |
| 733 | -theorem waveCoefficients_match (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 734 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 735 | - (phase : ℕ → Point × ℝ → ℝ) | |
| 736 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 737 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 738 | - PrimaryResidualClass.Matches (movingStrip F.data.h_pos.le U a b cL cR ha hcL hcR) | |
| 739 | - (context H v upper B a b hab) (waveCoefficients H v upper B phase amplitude pressure frequency) := by | |
| 740 | - refine ⟨rfl, rfl, ?_⟩ | |
| 741 | - intro n | |
| 742 | - funext x i | |
| 743 | - fin_cases i <;> rfl | |
| 744 | - | |
| 745 | 710 | noncomputable def radialSlow (n : ℕ) (p : Slow) : ℝ := |
| 746 | 711 | BaseRadialJets.radial (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization |
| 747 | 712 | (FinalSlowBase.coefficients H v) (ChartScales.Q n) p |
| @@ -757,23 +722,11 @@ noncomputable def axialSlow (n : ℕ) : Slow → ℝ := | ||
| 757 | 722 | @[simp] theorem radialSlow_pullback (n : ℕ) (x : Point) : |
| 758 | 723 | radialSlow H v upper B n (slowCoordinates x) = radialBase H v upper B n x := rfl |
| 759 | 724 | |
| 760 | -theorem radialBase_stream (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) : | |
| 761 | - radialBase H v upper B n x = -(ChartScales.epsilon F.data.h n * x.1 / 2) * | |
| 762 | - PhaseCalculus.slowZ (BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 763 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n)) (slowCoordinates x) := | |
| 764 | - BaseRadialJets.radial_eq_stream (FinalSlowBase.scales_strictMono H v upper B) | |
| 765 | - F.data.h_pos F.data.h_lt_half (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hT | |
| 766 | - | |
| 767 | 725 | theorem radialSlow_smoothAt (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : |
| 768 | 726 | ContDiffAt ℝ ∞ (radialSlow H v upper B n) p := by |
| 769 | 727 | exact (physicalComponent_smoothAt H v upper B n 0 (x := insertSlow p) hp).comp p |
| 770 | 728 | insertSlow.contDiff.contDiffAt |
| 771 | 729 | |
| 772 | -/-- The slot clock can vary with the native construction. Its slow and | |
| 773 | -angular coordinates stay literal, so no phase estimate enters the binding. -/ | |
| 774 | -noncomputable def nativeCoordinates (clock : ℕ → Point → ℝ) (n : ℕ) (x : Point × ℝ) : PhaseCalculus.Slot := | |
| 775 | - (slowCoordinates x.1, (x.2, clock n x.1)) | |
| 776 | - | |
| 777 | 730 | theorem primaryCoefficients_match |
| 778 | 731 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) |
| 779 | 732 | {D : PhaseJetBounds.Domain ℕ Slow} (P : PrimaryPulseBounds.PhaseConstruction D) |
| @@ -799,44 +752,10 @@ theorem primaryCoefficients_match | ||
| 799 | 752 | radialSlow_pullback] |
| 800 | 753 | fin_cases i <;> rfl |
| 801 | 754 | |
| 802 | -theorem nativeCoefficients_match | |
| 803 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 804 | - {D : PhaseJetBounds.Domain ℕ Slow} (P : PrimaryPulseBounds.PhaseConstruction D) | |
| 805 | - (hF : P.phase.F = frequencySlow H v upper B) | |
| 806 | - (hG : P.phase.G = axialSlow H v upper B) | |
| 807 | - (clock : ℕ → Point → ℝ) | |
| 808 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 809 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 810 | - PrimaryResidualClass.Matches (nativeStrip W U) | |
| 811 | - (context H v upper B (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) | |
| 812 | - (PrimaryTargetBounds.radii_ordered W)) | |
| 813 | - (PrimaryMaterialDefect.coefficients P (radialSlow H v upper B) (nativeCoordinates clock) | |
| 814 | - amplitude pressure frequency) := | |
| 815 | - primaryCoefficients_match H v upper B U P hF hG (nativeCoordinates clock) (fun _ _ => rfl) | |
| 816 | - amplitude pressure frequency | |
| 817 | - | |
| 818 | -theorem radialSlow_productClass (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 819 | - (chi : ℕ → Point × ℝ → PhaseCalculus.Slot) | |
| 820 | - (hchi : ∀ n x, (chi n x).1 = slowCoordinates x.1) : | |
| 821 | - UnweightedClass (HarmonicWaveInteraction.productStrip (nativeStrip W U)) 1 | |
| 822 | - (fun n x => radialSlow H v upper B n (chi n x).1) := by | |
| 823 | - apply MeanIncrementBounds.class_congr (HarmonicWaveInteraction.class_lift | |
| 824 | - (radialBase_unweighted H v upper B U)) | |
| 825 | - intro n x hx | |
| 826 | - change radialSlow H v upper B n (chi n x).1 = radialBase H v upper B n x.1 | |
| 827 | - rw [hchi, radialSlow_pullback] | |
| 828 | - | |
| 829 | 755 | noncomputable def nativeContext : CorrectionState.Context Point := |
| 830 | 756 | context H v upper B (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) |
| 831 | 757 | (PrimaryTargetBounds.radii_ordered W) |
| 832 | 758 | |
| 833 | -theorem native_operator_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) : | |
| 834 | - MeanIncrementBounds.OperatorBounds (nativeStrip W U) (nativeContext H v upper B).operators | |
| 835 | - ChartScales.kappa := | |
| 836 | - operator_bounds F.data.h_pos.le U (PrimaryTargetBounds.leftRadius_pos W) | |
| 837 | - (PrimaryTargetBounds.radii_ordered W) (div_pos (FinalSlowBase.edgeExponent_pos W) (by norm_num)) | |
| 838 | - zero_lt_one | |
| 839 | - | |
| 840 | 759 | theorem native_base_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) : |
| 841 | 760 | MeanIncrementBounds.BaseBounds (nativeStrip W U) (nativeContext H v upper B).base := |
| 842 | 761 | base_bounds H v upper B U |
| @@ -864,11 +783,6 @@ theorem native_axial_isSlow (U : Set Plane) : | ||
| 864 | 783 | intro n R p hp Y |
| 865 | 784 | rfl |
| 866 | 785 | |
| 867 | -theorem native_matches_physical (n : ℕ) : | |
| 868 | - PhysicalResidualTZ.MatchesAtTZ (nativeContext H v upper B).operators | |
| 869 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) F.data.h (commonIndex F.data.h n)) n := | |
| 870 | - operators_match_physical _ _ _ _ n | |
| 871 | - | |
| 872 | 786 | theorem native_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (n : ℕ) : |
| 873 | 787 | ContDiffOn ℝ ∞ (fun x => ((nativeContext H v upper B).virtualTheta n x, |
| 874 | 788 | (nativeContext H v upper B).virtualAxial n x)) (PhysicalMeanDomain.slowDomain U.carrier) ∧ |
| @@ -886,19 +800,4 @@ theorem native_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data. | ||
| 886 | 800 | |
| 887 | 801 | end ActualFields |
| 888 | 802 | |
| 889 | -noncomputable def constructedContext (upper : ℝ) (B : ℕ) : CorrectionState.Context Point := | |
| 890 | - nativeContext FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation upper B | |
| 891 | - | |
| 892 | -theorem constructed_context_bounds (upper : ℝ) (B : ℕ) | |
| 893 | - (U : LocalSignedRequest.SlowRegion (2 * FinalSlowBase.actualProfile.outgoing.data.h)) : | |
| 894 | - MeanIncrementBounds.OperatorBounds (nativeStrip FinalSlowBase.actualProfile.nominal U) | |
| 895 | - (constructedContext upper B).operators ChartScales.kappa ∧ | |
| 896 | - MeanIncrementBounds.BaseBounds (nativeStrip FinalSlowBase.actualProfile.nominal U) | |
| 897 | - (constructedContext upper B).base ∧ | |
| 898 | - LocalRankDefect.LocalOperators U.carrier (constructedContext upper B).operators ∧ | |
| 899 | - MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U.carrier) | |
| 900 | - (constructedContext upper B).base := | |
| 901 | - ⟨native_operator_bounds _ _ upper B U, native_base_bounds _ _ upper B U, | |
| 902 | - native_operators_local _ _ upper B U.carrier, native_base_smooth _ _ upper B U⟩ | |
| 903 | - | |
| 904 | 803 | end NavierStokes.BaseContextAssembly |
+0 −87 NavierStokes/BaseExterior.lean View file
| @@ -325,10 +325,6 @@ end ExteriorSummation | ||
| 325 | 325 | |
| 326 | 326 | section PressureScaling |
| 327 | 327 | |
| 328 | -theorem q_radial (h t s s' z : ℝ) : q h (t, (s, z)) = q h (t, (s', z)) := rfl | |
| 329 | - | |
| 330 | -theorem eta_radial (h t s s' z : ℝ) : eta h (t, (s, z)) = eta h (t, (s', z)) := rfl | |
| 331 | - | |
| 332 | 328 | theorem pullback_radial_scaled (h b : ℝ) (f : InnerProfile) {p : PhysicalPoint} |
| 333 | 329 | (hq : 0 < q h p) (u : ℝ) : |
| 334 | 330 | pullback h b f (p.1, (q h p * u, p.2.2)) = q h p ^ b * f (u, eta h p) := by |
| @@ -604,19 +600,6 @@ theorem nominal_pressure_pure_heat {p : PhysicalPoint} | ||
| 604 | 600 | ((nominalExteriorRadius_pos W).trans hx').le] |
| 605 | 601 | exact nominal_angular_pure_heat W hpt |
| 606 | 602 | |
| 607 | -/-- The actual summed nominal velocity and pressure are exactly the radial | |
| 608 | -heat field outside one common profile radius, for every cutoff schedule. -/ | |
| 609 | -theorem nominal_base_eq_heat {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 610 | - EqOn (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 611 | - (heatVelocity (nominalHeatNormalization W) F.data.h) | |
| 612 | - (cartesianExterior F.data.h (nominalExteriorRadius W)) ∧ | |
| 613 | - EqOn (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 614 | - (heatPressureField (nominalHeatNormalization W) F.data.h) | |
| 615 | - (cartesianExterior F.data.h (nominalExteriorRadius W)) := | |
| 616 | - exterior_base_eq_heat ha F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le | |
| 617 | - (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) | |
| 618 | - (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) | |
| 619 | - | |
| 620 | 603 | /-- Exact zero residual in the actual summed exterior. No exterior |
| 621 | 604 | solution property is supplied as a premise. -/ |
| 622 | 605 | theorem nominal_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| @@ -627,26 +610,6 @@ theorem nominal_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) | ||
| 627 | 610 | (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) |
| 628 | 611 | (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) hz |
| 629 | 612 | |
| 630 | -theorem nominal_base_residual_germ_zero {a : ℕ → ℕ} (ha : StrictMono a) | |
| 631 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : | |
| 632 | - (fun y => navierStokesResidual | |
| 633 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 634 | - (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) | |
| 635 | - =ᶠ[𝓝 z] (fun _ => 0) := by | |
| 636 | - filter_upwards [(cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half | |
| 637 | - (nominalExteriorRadius W)).mem_nhds hz] with y hy | |
| 638 | - exact nominal_base_residual_zero W ha hy | |
| 639 | - | |
| 640 | -/-- Every physical derivative of the actual Cartesian residual is exactly | |
| 641 | -zero on the exterior, not just asymptotically small. -/ | |
| 642 | -theorem nominal_base_residual_jets_zero {a : ℕ → ℕ} (ha : StrictMono a) | |
| 643 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) (m : ℕ) : | |
| 644 | - iteratedFDeriv ℝ m (fun y => navierStokesResidual | |
| 645 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 646 | - (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) z = 0 := by | |
| 647 | - rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (nominal_base_residual_germ_zero W ha hz) m).self_of_nhds, | |
| 648 | - iteratedFDeriv_fun_zero, Pi.zero_apply] | |
| 649 | - | |
| 650 | 613 | end NominalExterior |
| 651 | 614 | |
| 652 | 615 | section TerminalExtension |
| @@ -684,58 +647,8 @@ theorem heatPressureField_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : | ||
| 684 | 647 | (show MapsTo (fun z : SpaceTime => AxisymmetricFields.profilePoint z.1 z.2) |
| 685 | 648 | closedCartesianHeatDomain closedHeatDomain from fun _ hz => hz) |
| 686 | 649 | |
| 687 | -theorem near_one_in_exterior {h R : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) | |
| 688 | - {x : Space} (hx : x 2 = 0) (_hs : 0 < AxisymmetricFields.radialEnergy x) | |
| 689 | - {t : ℝ} (ht : t ∈ Ioo (1 - AxisymmetricFields.radialEnergy x / (R + 1)) 1) : | |
| 690 | - (t, x) ∈ cartesianExterior h R := by | |
| 691 | - have hq : q h (AxisymmetricFields.profilePoint t x) = 1 - t := by | |
| 692 | - change NaturalCore.physicalQ h (t, (AxisymmetricFields.radialEnergy x, x 2)) = _ | |
| 693 | - rw [hx] | |
| 694 | - exact NaturalCore.physicalQ_at_zero_z hh hh1 ht.2 _ | |
| 695 | - refine ⟨ht.2, ?_⟩ | |
| 696 | - change R < AxisymmetricFields.radialEnergy x / q h (AxisymmetricFields.profilePoint t x) | |
| 697 | - rw [hq] | |
| 698 | - apply (lt_div_iff₀ (sub_pos.mpr ht.2)).mpr | |
| 699 | - have hRp : 0 < R + 1 := by linarith | |
| 700 | - have hsmall : 1 - t < AxisymmetricFields.radialEnergy x / (R + 1) := by linarith [ht.1] | |
| 701 | - have hprod := (lt_div_iff₀ hRp).mp hsmall | |
| 702 | - nlinarith [sub_pos.mpr ht.2] | |
| 703 | - | |
| 704 | 650 | open AssembledSlowBase |
| 705 | 651 | |
| 706 | -/-- For each fixed positive radius on the central plane, the actual base | |
| 707 | -equals the explicit heat extension on a whole terminal time interval. -/ | |
| 708 | -theorem nominal_base_terminal_extension {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 709 | - {a : ℕ → ℕ} (ha : StrictMono a) {x : Space} (hx : x 2 = 0) | |
| 710 | - (hs : 0 < AxisymmetricFields.radialEnergy x) : | |
| 711 | - ∃ δ : ℝ, 0 < δ ∧ | |
| 712 | - (∀ t ∈ Ioo (1 - δ) 1, | |
| 713 | - baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = | |
| 714 | - heatVelocity (nominalHeatNormalization W) F.data.h (t, x) ∧ | |
| 715 | - basePressure a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = | |
| 716 | - heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) ∧ | |
| 717 | - ContDiffOn ℝ ∞ (fun t => heatVelocity (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) ∧ | |
| 718 | - ContDiffOn ℝ ∞ (fun t => heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) := by | |
| 719 | - refine ⟨AxisymmetricFields.radialEnergy x / (nominalExteriorRadius W + 1), | |
| 720 | - div_pos hs (by linarith [nominalExteriorRadius_pos W]), ?_, ?_, ?_⟩ | |
| 721 | - · intro t ht | |
| 722 | - have hm := near_one_in_exterior F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le hx hs ht | |
| 723 | - exact ⟨(nominal_base_eq_heat W ha).1 hm, (nominal_base_eq_heat W ha).2 hm⟩ | |
| 724 | - · exact (heatVelocity_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp | |
| 725 | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) | |
| 726 | - · exact (heatPressureField_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp | |
| 727 | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) | |
| 728 | - | |
| 729 | -theorem nominal_base_meridional_zero {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 730 | - {a : ℕ → ℕ} (ha : StrictMono a) {z : SpaceTime} | |
| 731 | - (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : | |
| 732 | - baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 2 = 0 ∧ | |
| 733 | - z.2 0 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 0 + | |
| 734 | - z.2 1 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 1 = 0 := by | |
| 735 | - rw [(nominal_base_eq_heat W ha).1 hz, heatVelocity_eq_angularVector] | |
| 736 | - simp [BaseResidual.angularVector, coordinateVector, Fin.ext_iff] | |
| 737 | - ring | |
| 738 | - | |
| 739 | 652 | end TerminalExtension |
| 740 | 653 | |
| 741 | 654 | end NavierStokes.BaseExterior |
+0 −107 NavierStokes/BasePhaseGeometry.lean View file
| @@ -23,14 +23,6 @@ abbrev Slow := PhaseCalculus.Slow | ||
| 23 | 23 | abbrev Plane := MovingFrameODE.Plane |
| 24 | 24 | abbrev Space := MovingFrameODE.Space |
| 25 | 25 | |
| 26 | -/-- The normalized base error `Q^(2h)` is exactly the squared native small | |
| 27 | -parameter used by the phase estimates. -/ | |
| 28 | -theorem epsilon_squared (h : ℝ) (n : ℕ) : | |
| 29 | - ChartScales.epsilon h n ^ 2 = ChartScales.Q n ^ (2 * h) := by | |
| 30 | - symm | |
| 31 | - simpa only [ChartScales.epsilon, Nat.cast_ofNat, mul_comm] using | |
| 32 | - Real.rpow_mul_natCast (ChartScales.Q_pos n).le h 2 | |
| 33 | - | |
| 34 | 26 | noncomputable def dampingDenominator (u : ℝ) : ℝ := |
| 35 | 27 | (1 + u ^ 2) * Real.sqrt (1 + u ^ 2) |
| 36 | 28 | |
| @@ -77,15 +69,6 @@ theorem referenceScale_bounds {lam l M viscosity u : ℝ} | ||
| 77 | 69 | one_le_mul_of_one_le_of_one_le hvlo (dampingDenominator_one_le u) |
| 78 | 70 | exact hM.trans (le_mul_of_one_le_right (hlampos.le.trans hM) hVD) |
| 79 | 71 | |
| 80 | -theorem dyadic_referenceScale_normalization (h u : ℝ) {lam : ℝ} (hlam : 0 < lam) (n : ℕ) : | |
| 81 | - (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) * | |
| 82 | - referenceScale lam (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) u ^ 2 = | |
| 83 | - lam / dampingDenominator u := by | |
| 84 | - apply referenceScale_normalization hlam | |
| 85 | - have hk : 0 < (ChartScales.carrier h n : ℝ) := | |
| 86 | - Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h n) | |
| 87 | - exact mul_pos (ChartScales.epsilon_pos h n) (pow_pos hk 2) | |
| 88 | - | |
| 89 | 72 | theorem localBase_mono {F G F0 G0 : Slow → ℝ} {U : Set Slow} {M T ε : ℝ} |
| 90 | 73 | (h : PhaseEstimates.LocalBaseBounds F G F0 G0 U M ε) (hMT : M ≤ T) : |
| 91 | 74 | PhaseEstimates.LocalBaseBounds F G F0 G0 U T ε where |
| @@ -941,29 +924,6 @@ theorem coefficientControl (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 941 | 924 | errors _ hv := a.modal_errors hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 942 | 925 | viscosity _ hv := a.damping_error hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 943 | 926 | |
| 944 | -/-- The actual modal energy bound holds with the same constants for every | |
| 945 | -nonzero harmonic. The damping discrepancy is not multiplied by `j²`. -/ | |
| 946 | -theorem energy_bound (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 947 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 948 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) | |
| 949 | - (i : ι) (hn : LargeBand h M u (a.band i)) {q : Slow} (hq : q ∈ D.carrier i) | |
| 950 | - {v : ℝ} (hv : v ∈ a.slot i) {j : ℤ} (hj : j ≠ 0) (w : Plane) : | |
| 951 | - ⟪w, (a.frame i).coefficient j (q, v) w⟫_ℝ ≤ | |
| 952 | - (ViscousPropagator.referenceEigenvalue (a.lam i) u (a.length i) v - | |
| 953 | - ViscousPropagator.referenceViscosity (a.lam i) u (a.length i) v + | |
| 954 | - (dampingConstant M + 4 * modalConstant M u) / D.scale i) * ‖w‖ ^ 2 := by | |
| 955 | - have hν : 0 ≤ (a.frame i).viscosity (q, v) := by | |
| 956 | - change 0 ≤ a.viscosity i * ‖a.phase.normal i (q, v)‖ ^ 2 | |
| 957 | - exact mul_nonneg (zero_le_one.trans (ChartScales.carrier_viscosity_bounds h hh (a.band i)).1) | |
| 958 | - (sq_nonneg _) | |
| 959 | - have hl : 0 ≤ (a.frame i).eigenvalue (q, v) := by | |
| 960 | - change 0 ≤ a.lam i / Real.sqrt (1 + PulseGrowth.slotMagnitude u (a.length i) v ^ 2) | |
| 961 | - exact div_nonneg (a.lambda_pos hM i).le (Real.sqrt_nonneg _) | |
| 962 | - have hd := a.damping_error hh hr hM hu huM hL hslot i hn hq hv | |
| 963 | - apply (a.frame i).energy_bound (q, v) hj hl hν | |
| 964 | - · linarith [(abs_le.mp hd).1] | |
| 965 | - · exact a.modal_errors hh hr hM hu huM hL hslot i hn hq hv | |
| 966 | - | |
| 967 | 927 | noncomputable def outputBound (M : ℝ) : ℝ := frequencyBound M + 3 * M + M ^ 2 + 4 |
| 968 | 928 | noncomputable def outputLower (M u : ℝ) : ℝ := min (normalLower M u / 2) (1 / M) |
| 969 | 929 | |
| @@ -1059,11 +1019,6 @@ noncomputable def construction (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1059 | 1019 | dampingConstant M / D.scale i ≤ (a.frame i).viscosity (q, v) |
| 1060 | 1020 | linarith [(abs_le.mp hd).1] |
| 1061 | 1021 | |
| 1062 | -theorem construction_frame (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1063 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1064 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1065 | - (a.construction hh hr hM hu huM hL hslot hlarge).frame = a.frame := rfl | |
| 1066 | - | |
| 1067 | 1022 | /-- Every fixed derivative of the actual coefficient is controlled after |
| 1068 | 1023 | the derived zeroth-order geometry is inserted. -/ |
| 1069 | 1024 | theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| @@ -1076,15 +1031,6 @@ theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1076 | 1031 | p.constants p.epsilon_ne p.radius p.slot p.lam_bound p.c0_bound p.u_bound p.rate_bound |
| 1077 | 1032 | p.viscosity_bound p.B_bound p.K_unit p.slope_bound p.error_small p.normal_close |
| 1078 | 1033 | |
| 1079 | -theorem pulse_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1080 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1081 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1082 | - PrimaryPulseBounds.EnvelopeJets | |
| 1083 | - (PrimaryPulseBounds.productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) | |
| 1084 | - (fun i z => PrimaryPulseBounds.referenceP (a.lam i) u (a.length i) (a.length i * z.2)) | |
| 1085 | - (fun i => PrimaryPulseBounds.normalizedPulse (a.frame i) (a.lam i) u (a.length i)) := | |
| 1086 | - (a.construction hh hr hM hu huM hL hslot hlarge).pulse_jets | |
| 1087 | - | |
| 1088 | 1034 | theorem coefficient_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| 1089 | 1035 | (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) |
| 1090 | 1036 | (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) (j : ℤ) : |
| @@ -1107,59 +1053,6 @@ theorem normal_inner_shear {g : Plane} (hg : g ≠ 0) : | ||
| 1107 | 1053 | rw [real_inner_smul_right, real_inner_self_eq_norm_sq, normalDirection_unit hg] |
| 1108 | 1054 | ring |
| 1109 | 1055 | |
| 1110 | -/-- A compact fixed reference profile chooses every uniform constant | |
| 1111 | -before the band threshold. `A` may include all prescribed base-chart, | |
| 1112 | -derivative, and radial-annulus constants. -/ | |
| 1113 | -theorem ordered_constants {K : Set Slow} (hK : IsCompact K) | |
| 1114 | - {F0 G0 : Slow → ℝ} | |
| 1115 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1116 | - (hR : ∀ q ∈ K, 0 < q.1) | |
| 1117 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1118 | - (h r0 u A T : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1119 | - ∃ M : ℝ, 1 ≤ M ∧ A ≤ M ∧ |u| ≤ M ∧ 1 / (2 * r0) ≤ M ∧ | |
| 1120 | - 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1121 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1122 | - ∃ N ≥ N0, ∀ n ≥ N, LargeBand h M u n ∧ T ≤ ChartScales.S n := by | |
| 1123 | - obtain ⟨M0, hM0, hp⟩ := compact_parameter_bounds hK hF hg hR hc | |
| 1124 | - let M := max M0 (max A (max |u| (max (1 / (2 * r0)) (4 * r0 * ChartScales.Tg)))) | |
| 1125 | - have h0 : M0 ≤ M := le_max_left _ _ | |
| 1126 | - have hM : 1 ≤ M := hM0.trans h0 | |
| 1127 | - refine ⟨M, hM, (le_max_left _ _).trans (le_max_right _ _), | |
| 1128 | - (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _)), | |
| 1129 | - (le_max_left _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1130 | - (le_max_right _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1131 | - fun q hq => (hp q hq).mono h0, ?_⟩ | |
| 1132 | - exact exists_large_band h M u T hh hM N0 | |
| 1133 | - | |
| 1134 | -/-- One target-cone choice, one compact parameter constant, and then one | |
| 1135 | -band threshold. Both the mixed-point target margin and all analytic | |
| 1136 | -phase estimates hold after that same threshold. -/ | |
| 1137 | -theorem ordered_target_constants {K : Set Slow} (hK : IsCompact K) | |
| 1138 | - {F0 G0 : Slow → ℝ} {T0 : Slow → Plane} | |
| 1139 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1140 | - (hT : ContinuousOn T0 K) (hR : ∀ q ∈ K, 0 < q.1) | |
| 1141 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1142 | - (ht : ∀ q ∈ K, TargetCone (F0 q) (PhaseEstimates.shearVector F0 G0 q) (T0 q)) | |
| 1143 | - (h r0 A Tmin : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1144 | - ∃ u η M : ℝ, 0 < u ∧ 0 < η ∧ 1 ≤ M ∧ A ≤ M ∧ u ≤ M ∧ | |
| 1145 | - 1 / (2 * r0) ≤ M ∧ 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1146 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1147 | - ∃ N ≥ N0, (∀ n ≥ N, LargeBand h M u n ∧ Tmin ≤ ChartScales.S n) ∧ | |
| 1148 | - ∀ L : ActiveLabel K, N ≤ L.val.1 → ∀ q ∈ K, q ∈ gridBox L.val.1 L.val.2 2 → | |
| 1149 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ ≤ -η ∧ | |
| 1150 | - |c0 (F0 (representative K L)) (PhaseEstimates.shearVector F0 G0 (representative K L)) * | |
| 1151 | - ⟪T0 q, transverseDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ / | |
| 1152 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ| + η ≤ | |
| 1153 | - slopeRatio u := by | |
| 1154 | - obtain ⟨u, η, hu, hη, N1, htarget⟩ := representative_target_margin hK hF hg hT hc ht | |
| 1155 | - obtain ⟨M, hM, hA, huM, hL, hslot, hp, N, hN, hlarge⟩ := | |
| 1156 | - ordered_constants hK hF hg hR hc h r0 u A Tmin hh (max N0 N1) | |
| 1157 | - refine ⟨u, η, M, hu, hη, hM, hA, ?_, hL, hslot, hp, N, | |
| 1158 | - (le_max_left _ _).trans hN, hlarge, ?_⟩ | |
| 1159 | - · simpa only [abs_of_pos hu] using huM | |
| 1160 | - · intro L hLN q hq hbox | |
| 1161 | - exact htarget L ((le_max_right _ _).trans (hN.trans hLN)) q hq hbox | |
| 1162 | - | |
| 1163 | 1056 | /-- The actual selected mesh representatives and their derived compact |
| 1164 | 1057 | eigenpairs instantiate the analytic phase data. In particular, neither |
| 1165 | 1058 | representative closeness nor eigenpair bounds are fields of the resulting |
+0 −10 NavierStokes/BasePrefixIdentity.lean View file
| @@ -265,16 +265,6 @@ theorem prefixVelocity_germ {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 265 | 265 | filter_upwards [BaseResidual.annularPast_isOpen.mem_nhds hz] with w hw |
| 266 | 266 | exact prefixVelocity_eq_slowVelocity hh hh1 hd hm J C hw.1 w.2 hw.2 |
| 267 | 267 | |
| 268 | -/-- In the regular radial-quotient convention, the sole radial input is the | |
| 269 | -proved identity `X * beta = radialFlux`; it determines the finite curl. -/ | |
| 270 | -theorem velocityMatches_of_beta (h : ℝ) (d : Coefficients) (beta : ℕ → Inner → ℝ) | |
| 271 | - (hb : ∀ n, ∀ w ∈ profileWindow, w.1 * beta n w = | |
| 272 | - SlowDivergence.radialFlux h (SlowExpansionResidual.slowOrder h n) (d.axial n) w) : | |
| 273 | - VelocityMatches h d (SlowResidualMatching.ofBeta d.phi d.axial beta d.pressure) where | |
| 274 | - phi := fun _ _ _ => rfl | |
| 275 | - axial := fun _ _ _ => rfl | |
| 276 | - flux := fun n w hw => (hb n w hw).symm | |
| 277 | - | |
| 278 | 268 | /-- The remaining agreements concern scalar pressure and the actual canonical |
| 279 | 269 | stress primitives. No finite-field or residual identity is an input. -/ |
| 280 | 270 | structure CoefficientMatches (h C : ℝ) (d : Coefficients) |
+0 −54 NavierStokes/BaseRadialJets.lean View file
| @@ -90,22 +90,6 @@ theorem normalizedStream_eq {a : ℕ → ℕ} {h C Q : ℝ} | ||
| 90 | 90 | rw [← mul_assoc, normalized_power hQ (normalizedCoordinates_q_pos hh hh1 hT)] |
| 91 | 91 | rfl |
| 92 | 92 | |
| 93 | -theorem normalizedStream_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h Q : ℝ} | |
| 94 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) | |
| 95 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 96 | - {p : Slow} (hT : 0 < p.2.2) : ContDiffAt ℝ ∞ (normalizedStream a h d Q) p := by | |
| 97 | - have hc := normalizedCoordinates_smoothAt hh hh1 hT | |
| 98 | - have hq := normalizedCoordinates_q_pos hh hh1 hT | |
| 99 | - have hcs := (SlowBorelBase.scaleMap Q).contDiff.contDiffAt.comp p hc | |
| 100 | - have hs : ContDiffAt ℝ ∞ (SlowBorelBase.slowSum a h (averageSequence d)) | |
| 101 | - (SlowBorelBase.scaleMap Q (normalizedCoordinates h p)) := | |
| 102 | - SlowBorelBase.slowSum_smoothAt ha (averageSequence_smooth hd) h | |
| 103 | - (show 0 < (SlowBorelBase.scaleMap Q (normalizedCoordinates h p)).1 from mul_pos hQ hq) | |
| 104 | - have hp : ContDiffAt ℝ ∞ (axialFactor h) p := hc.fst.rpow_const_of_ne hq.ne' | |
| 105 | - have hsc := hs.comp p hcs | |
| 106 | - apply hp.mul | |
| 107 | - exact hsc | |
| 108 | - | |
| 109 | 93 | /-- Chain rule for the actual physical axial coordinate. -/ |
| 110 | 94 | theorem normalizedStream_deriv_Z {a : ℕ → ℕ} (ha : StrictMono a) {h C Q : ℝ} |
| 111 | 95 | (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) |
| @@ -173,17 +157,6 @@ theorem radial_eq {a : ℕ → ℕ} (ha : StrictMono a) {h C Q : ℝ} | ||
| 173 | 157 | rw [hv, normalizedStream_deriv_Z ha hh hh1 hQ hd hT, hpow] |
| 174 | 158 | ring |
| 175 | 159 | |
| 176 | -/-- Expanded formula, including the exact one-half factor. -/ | |
| 177 | -theorem radial_eq_stream {a : ℕ → ℕ} (ha : StrictMono a) {h C Q : ℝ} | |
| 178 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) | |
| 179 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 180 | - {p : Slow} (hT : 0 < p.2.2) : | |
| 181 | - radial a h C d Q p = -(Q ^ h * p.1 / 2) * | |
| 182 | - PhaseCalculus.slowZ (normalizedStream a h d Q) p := by | |
| 183 | - rw [radial_eq ha hh hh1 hQ hd hT] | |
| 184 | - unfold reducedRadial | |
| 185 | - ring | |
| 186 | - | |
| 187 | 160 | /-- The same scalar component schedule controls the actual normalized sum. |
| 188 | 161 | The result is uniform in every band/label index of `D`. -/ |
| 189 | 162 | theorem scaled_sum_polynomial {ι : Type*} {D : Domain ι Slow} |
| @@ -359,33 +332,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 359 | 332 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 360 | 333 | (v : ModulatedProfileAssembly.Witness ld) |
| 361 | 334 | |
| 362 | -/-- The corrected one-half identity for the same final aligned base. -/ | |
| 363 | -theorem final_radial_eq (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) | |
| 364 | - {p : Slow} (hT : 0 < p.2.2) : | |
| 365 | - Q ^ CoordinateAlgebra.A F.data.h * FinalSlowBase.velocity H v upper B | |
| 366 | - (bandPoint F.data.h Q p) 0 = | |
| 367 | - -(Q ^ F.data.h * p.1 / 2) * PhaseCalculus.slowZ | |
| 368 | - (normalizedStream (FinalSlowBase.scales H v upper B) F.data.h | |
| 369 | - (FinalSlowBase.coefficients H v) Q) p := | |
| 370 | - radial_eq_stream (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half hQ | |
| 371 | - (FinalSlowBase.coefficients_smooth H v) hT | |
| 372 | - | |
| 373 | -/-- The very same final weighted-bundle schedule supplies the averaged | |
| 374 | -axial estimates. No replacement scale choice is introduced. -/ | |
| 375 | -theorem final_radial_envelope {ι : Type*} {D : Domain ι Slow} | |
| 376 | - (upper : ℝ) (B : ℕ) {r M qlo qhi lo hi : ℝ} | |
| 377 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 378 | - (hhi : hi ≤ FinalSlowBase.boxRadius W upper) | |
| 379 | - (hgeom : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 380 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 381 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 382 | - EnvelopeJets (unitScale D) (fun i _ => Q i ^ F.data.h) (fun i p => | |
| 383 | - Q i ^ CoordinateAlgebra.A F.data.h * | |
| 384 | - FinalSlowBase.velocity H v upper B (bandPoint F.data.h (Q i) p) 0) := | |
| 385 | - radial_envelope F.data.h_pos F.data.h_lt_half hr hM hqlo hqhi hlo hgeom | |
| 386 | - (FinalSlowBase.coefficients_smooth H v) | |
| 387 | - (FinalSlowBase.scales_admissible_on H v upper B hlo.le hhi) Q hQ hQ1 hsmall | |
| 388 | - | |
| 389 | 335 | end FinalBase |
| 390 | 336 | |
| 391 | 337 | end NavierStokes.BaseRadialJets |
+0 −64 NavierStokes/BaseRankPatch.lean View file
| @@ -19,8 +19,6 @@ namespace NavierStokes.BaseRankPatch | ||
| 19 | 19 | open Set Filter Function BaseChartJets |
| 20 | 20 | open scoped ContDiff Topology BigOperators |
| 21 | 21 | |
| 22 | -abbrev Slow := PhaseCalculus.Slow | |
| 23 | - | |
| 24 | 22 | theorem positive_before_mean (F : OutgoingProfile.Profile) {XR : ℝ} (hXR : 0 < XR) : |
| 25 | 23 | ReservedPatches.right F XR .positive < ReservedPatches.left F XR .mean := by |
| 26 | 24 | apply ReservedPatches.radius_strictMono XR hXR |
| @@ -68,20 +66,6 @@ theorem modulated_mean_fields {p : Inner} | ||
| 68 | 66 | rw [hv.1] |
| 69 | 67 | exact (W.E_eq_sqrt_f hpos).symm.trans hn.2 |
| 70 | 68 | |
| 71 | -theorem modulated_radial_mean_fields {R eta : ℝ} | |
| 72 | - (hR : R ∈ ReservedPatches.radialWindow F W.controls.radius .mean) | |
| 73 | - (heta : |eta| ≤ 1) : | |
| 74 | - v.profiles.U (R ^ 2 / 2, eta) = 0 ∧ | |
| 75 | - v.profiles.E (R ^ 2 / 2, eta) = | |
| 76 | - FiveRowRank.background F.data.core.lam | |
| 77 | - (ReservedPatches.radialAmplitude F W.controls.radius eta) R := by | |
| 78 | - have hx := ReservedPatches.radial_mem_window F W.controls.radius W.controls.radius_pos .mean hR | |
| 79 | - have hp := (ReservedPatches.radialLeft_pos F W.controls.radius W.controls.radius_pos .mean).trans hR.1 | |
| 80 | - have hf := modulated_mean_fields v (p := (R ^ 2 / 2, eta)) hx heta | |
| 81 | - refine ⟨hf.1, ?_⟩ | |
| 82 | - rw [hf.2, ReservedPatches.square_half_power _ _ hp] | |
| 83 | - simp only [FiveRowRank.background, ReservedPatches.radialAmplitude, mul_assoc] | |
| 84 | - | |
| 85 | 69 | end Leading |
| 86 | 70 | |
| 87 | 71 | /-- Pointwise vanishing of every positive coefficient eliminates the |
| @@ -120,14 +104,6 @@ noncomputable def rankLength (h : ℝ) (s : ℝ × ℝ) : ℝ := | ||
| 120 | 104 | noncomputable def rankVelocity (h : ℝ) (s : ℝ × ℝ) : ℝ := |
| 121 | 105 | rankScale h s ^ (-CoordinateAlgebra.A h) |
| 122 | 106 | |
| 123 | -theorem rankLength_eq_qLength (h : ℝ) : rankLength h = VariableGaugeMean.qLength (2 * h) := rfl | |
| 124 | - | |
| 125 | -theorem rankScale_eq_chartQ (h R : ℝ) (s Y : ℝ × ℝ) : | |
| 126 | - rankScale h s = MeanRankUpdate.chartQ (2 * h) (R, (s, Y)) := rfl | |
| 127 | - | |
| 128 | -theorem rankEta_eq_chartEta (h R : ℝ) (s Y : ℝ × ℝ) : | |
| 129 | - rankEta h s = MeanRankUpdate.chartEta (2 * h) (R, (s, Y)) := rfl | |
| 130 | - | |
| 131 | 107 | theorem coordinates_rankScale (h R : ℝ) (s : ℝ × ℝ) : |
| 132 | 108 | (normalizedCoordinates h (R, (s.2, s.1))).1 = rankScale h s := by |
| 133 | 109 | rw [normalizedCoordinates_eq] |
| @@ -266,24 +242,6 @@ noncomputable def axialSlice (upper : ℝ) (B : ℕ) (Q : ℝ) (s : ℝ × ℝ) | ||
| 266 | 242 | axial (FinalSlowBase.scales H v upper B) F.data.h |
| 267 | 243 | (FinalSlowBase.coefficients H v) Q (R, (s.2, s.1)) |
| 268 | 244 | |
| 269 | -theorem angularSlice_physical (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) | |
| 270 | - {s : ℝ × ℝ} (hs : 0 < s.1) {R : ℝ} (hR : 0 < R) : | |
| 271 | - angularSlice H v upper B Q s R = Q ^ CoordinateAlgebra.A F.data.h * | |
| 272 | - FinalSlowBase.velocity H v upper B (bandPoint F.data.h Q (R, (s.2, s.1))) 1 := by | |
| 273 | - unfold angularSlice | |
| 274 | - rw [frequency_eq_normalized_velocity (FinalSlowBase.scales_strictMono H v upper B) | |
| 275 | - F.data.h_pos F.data.h_lt_half hQ (FinalSlowBase.coefficients_smooth H v) hs hR] | |
| 276 | - unfold FinalSlowBase.velocity | |
| 277 | - change R * (_ / R) = _ | |
| 278 | - field_simp [hR.ne'] | |
| 279 | - | |
| 280 | -theorem axialSlice_physical (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) | |
| 281 | - {s : ℝ × ℝ} (hs : 0 < s.1) (R : ℝ) : | |
| 282 | - axialSlice H v upper B Q s R = Q ^ CoordinateAlgebra.A F.data.h * | |
| 283 | - FinalSlowBase.velocity H v upper B (bandPoint F.data.h Q (R, (s.2, s.1))) 2 := | |
| 284 | - axial_eq_normalized_velocity (FinalSlowBase.scales_strictMono H v upper B) | |
| 285 | - F.data.h_pos F.data.h_lt_half hQ (FinalSlowBase.coefficients_smooth H v) hs | |
| 286 | - | |
| 287 | 245 | /-- The actual background identities required by the local rank inverse. |
| 288 | 246 | All scales and amplitudes are fixed by the original profile. -/ |
| 289 | 247 | theorem rank_fields (upper : ℝ) (B : ℕ) (Q : ℝ) |
| @@ -330,28 +288,6 @@ theorem rank_fields (upper : ℝ) (B : ℕ) (Q : ℝ) | ||
| 330 | 288 | simp only [SlowBorelBase.scaleMap_apply, coordinates_rankScale] |
| 331 | 289 | rw [hv.2, mul_zero] |
| 332 | 290 | |
| 333 | -/-- Five exact physical rows for the full final base, with the original | |
| 334 | -mean-patch radii and the actual similarity length and velocity scales. -/ | |
| 335 | -theorem five_rows (upper : ℝ) (B : ℕ) (Q : ℝ) | |
| 336 | - {s : ℝ × ℝ} (hs : 0 < s.1) (debt : MeanRankUpdate.Debt) : | |
| 337 | - FiveRowRank.FiveRows (angularSlice H v upper B Q s) (axialSlice H v upper B Q s) debt | |
| 338 | - (MeanRankUpdate.angularIncrement F.data.core.lam (rankCoefficient F W.controls.radius s) | |
| 339 | - (ReservedPatches.radialSupportLeft F W.controls.radius .mean) | |
| 340 | - (ReservedPatches.radialSupportRight F W.controls.radius .mean) | |
| 341 | - (rankLength F.data.h s) (rankVelocity F.data.h s) debt) | |
| 342 | - (MeanRankUpdate.desiredAxialIncrement F.data.core.lam (rankCoefficient F W.controls.radius s) | |
| 343 | - (ReservedPatches.radialSupportLeft F W.controls.radius .mean) | |
| 344 | - (ReservedPatches.radialSupportRight F W.controls.radius .mean) | |
| 345 | - (rankLength F.data.h s) (rankVelocity F.data.h s) debt) := | |
| 346 | - MeanRankUpdate.physical_rows_on_patch F.data.core.lam_pos | |
| 347 | - (rankCoefficient_pos F W.controls.radius s).ne' | |
| 348 | - (ReservedPatches.radialSupportLeft_pos F W.controls.radius W.controls.radius_pos .mean) | |
| 349 | - (ReservedPatches.radial_support_margins F W.controls.radius W.controls.radius_pos .mean).2.1 | |
| 350 | - (rankLength_pos F.data.h_pos F.data.h_lt_half hs) | |
| 351 | - (rankVelocity_pos F.data.h_pos F.data.h_lt_half hs).ne' debt _ _ | |
| 352 | - (fun _ hR => (rank_fields H v upper B Q hs hR).1) | |
| 353 | - (fun _ hR => (rank_fields H v upper B Q hs hR).2) | |
| 354 | - | |
| 355 | 291 | end SummedBase |
| 356 | 292 | |
| 357 | 293 | end NavierStokes.BaseRankPatch |
+0 −301 NavierStokes/BaseResidual.lean View file
| @@ -113,14 +113,6 @@ theorem baseVelocity_axis_tendsto_atTop {a : ℕ → ℕ} (ha : StrictMono a) {h | ||
| 113 | 113 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 114 | 114 | exact (baseVelocity_norm_at_origin ha hh hh1 hd C hz h0 ht).symm |
| 115 | 115 | |
| 116 | -theorem baseVelocity_speedUnbounded {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} | |
| 117 | - (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} | |
| 118 | - (hd : SmoothCoefficients d) (C : ℝ) | |
| 119 | - (hz : ∀ j, 0 < j → d.axial j (0, 0) = 0) (h0 : 0 < d.axial 0 (0, 0)) : | |
| 120 | - ProblemStatement.SpeedUnboundedAtOne (baseVelocity a h C d) := | |
| 121 | - NaturalCore.speedUnbounded_of_axis_tendsto | |
| 122 | - (baseVelocity_axis_tendsto_atTop ha hh hh1 hd C hz h0) | |
| 123 | - | |
| 124 | 116 | end Axis |
| 125 | 117 | |
| 126 | 118 | section Monomials |
| @@ -184,28 +176,6 @@ theorem exists_local_coefficient_extension {U K : Set Inner} (hU : IsOpen U) | ||
| 184 | 176 | filter_upwards [χ.open_neighborhood.mem_nhds (χ.contains hw)] with v hv |
| 185 | 177 | simp [F, χ.one_on v hv] |
| 186 | 178 | |
| 187 | -/-- Local coefficient regularity suffices for the physical estimate. All | |
| 188 | -coefficients with `1/X` or `1/L` may therefore stay on their true domain. -/ | |
| 189 | -theorem physical_monomial_bound_on {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 190 | - {U K : Set Inner} (hU : IsOpen U) (hK : IsCompact K) (hKU : K ⊆ U) | |
| 191 | - {f : Inner → ℝ} (hf : ContDiffOn ℝ ∞ f U) (b lo hi qbig : ℝ) (m : ℕ) : | |
| 192 | - ∃ C : ℝ, 0 < C ∧ ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 ≤ qbig → | |
| 193 | - (physicalChart h p).2.1 ∈ Icc lo hi → (physicalChart h p).2 ∈ K → | |
| 194 | - ‖iteratedFDeriv ℝ m (SimilarityProfile.pullback h b f) p‖ ≤ | |
| 195 | - C * (physicalChart h p).1 ^ (b - m) := by | |
| 196 | - obtain ⟨F, hF, hFe⟩ := exists_local_coefficient_extension hU hK hKU hf | |
| 197 | - obtain ⟨C, hC, hb⟩ := physical_monomial_bound hh hh1 hF b lo hi qbig m | |
| 198 | - refine ⟨C, hC, fun p hp hq hX hw => ?_⟩ | |
| 199 | - have he : SimilarityProfile.pullback h b f =ᶠ[𝓝 p] | |
| 200 | - SimilarityProfile.pullback h b F := by | |
| 201 | - filter_upwards [(hFe _ hw).comp_tendsto | |
| 202 | - (physicalChart_smoothAt hh hh1 hp).snd.continuousAt] with y hy | |
| 203 | - change (physicalChart h y).1 ^ b * f (physicalChart h y).2 = | |
| 204 | - (physicalChart h y).1 ^ b * F (physicalChart h y).2 | |
| 205 | - exact congrArg (fun v => (physicalChart h y).1 ^ b * v) hy | |
| 206 | - rw [iteratedFDeriv_eq_of_eventuallyEq he m] | |
| 207 | - exact hb p hp hq hX | |
| 208 | - | |
| 209 | 179 | end Monomials |
| 210 | 180 | |
| 211 | 181 | section CartesianMonomials |
| @@ -439,11 +409,6 @@ variable {D E F G : Type} | ||
| 439 | 409 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 440 | 410 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 441 | 411 | |
| 442 | -theorem finiteRate_mono {l : Filter D} {q : D → ℝ} {f : D → E} {M N : ℕ} {r : ℝ} | |
| 443 | - (hf : FiniteJetRate l q f M r) (hNM : N ≤ M) : FiniteJetRate l q f N r := by | |
| 444 | - obtain ⟨C, hC, hb⟩ := hf | |
| 445 | - exact ⟨C, hC, hb.mono (fun x hx m hm => hx m (hm.trans hNM))⟩ | |
| 446 | - | |
| 447 | 412 | theorem finiteRate_at {l : Filter D} {q : D → ℝ} {f : D → E} {M m : ℕ} {r : ℝ} |
| 448 | 413 | (hf : FiniteJetRate l q f M r) (hm : m ≤ M) : JetRate l q f m r := by |
| 449 | 414 | obtain ⟨C, hC, hb⟩ := hf |
| @@ -1358,33 +1323,6 @@ theorem transportTailField_eq (N : ℕ) (h e α : ℝ) (v u f : ℕ → Inner | ||
| 1358 | 1323 | funext z |
| 1359 | 1324 | exact transportTail_eq_finite_monomials N (cartesianChart h z).1 h e α v u f (cartesianChart h z).2 |
| 1360 | 1325 | |
| 1361 | -theorem transportTailField_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1362 | - {O : Set Inner} (hO : IsOpen O) (N : ℕ) (e α : ℝ) (v u f : ℕ → Inner → ℝ) | |
| 1363 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (v j) O) | |
| 1364 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 1365 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 1366 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : | |
| 1367 | - ContDiffOn ℝ ∞ (transportTailField N h e α v u f) (chartedDomain h O) := by | |
| 1368 | - rw [transportTailField_eq] | |
| 1369 | - exact ContDiffOn.sum (fun i hi => monomial_smoothOn hh hh1 hO | |
| 1370 | - (transportTerm_smoothOn hO N h e α v u f hv hu hf hX hL hi)) | |
| 1371 | - | |
| 1372 | -theorem transportTailField_rate {l : Filter SpaceTime} {h lo hi : ℝ} | |
| 1373 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) | |
| 1374 | - {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) | |
| 1375 | - (N : ℕ) (e α : ℝ) (v u f : ℕ → Inner → ℝ) | |
| 1376 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (v j) O) | |
| 1377 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 1378 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 1379 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (M : ℕ) : | |
| 1380 | - FiniteJetRate l (fun z => (cartesianChart h z).1) (transportTailField N h e α v u f) | |
| 1381 | - M (e - 1 + slowOrder h (N + 1) - M) := by | |
| 1382 | - rw [transportTailField_eq] | |
| 1383 | - exact finset_monomial_rate hh hh1 A hO hKO (transportIndices N) | |
| 1384 | - (transportTerm N h e α v u f) (transportPower N h e) (e - 1 + slowOrder h (N + 1)) | |
| 1385 | - (fun _ hi => transportTerm_smoothOn hO N h e α v u f hv hu hf hX hL hi) | |
| 1386 | - (fun _ hi => transportPower_lower hh.le N e hi) M | |
| 1387 | - | |
| 1388 | 1326 | end FiniteTailRates |
| 1389 | 1327 | |
| 1390 | 1328 | section TruncationRate |
| @@ -1400,83 +1338,6 @@ theorem radialTailExpression_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 1400 | 1338 | radialTailExpression N h C f z = radialTailField N h C f z := |
| 1401 | 1339 | (radialTail_eq_finite_monomials hh hh1 N C f hz.1 hz.2).symm |
| 1402 | 1340 | |
| 1403 | -theorem radialTailExpression_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1404 | - {O : Set Inner} (hO : IsOpen O) (N : ℕ) (C : ℝ) (f : SlowProfiles) | |
| 1405 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1406 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1407 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1408 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : | |
| 1409 | - ContDiffOn ℝ ∞ (radialTailExpression N h C f) (chartedDomain h O) := by | |
| 1410 | - apply ContDiffOn.sum | |
| 1411 | - intro i hi | |
| 1412 | - apply monomial_smoothOn hh hh1 hO | |
| 1413 | - exact (pressureTerm_smoothOn hO N h C f hv hu hf hX hL hi).div | |
| 1414 | - (contDiffOn_const.mul contDiffOn_fst) (fun w hw => mul_ne_zero (by norm_num) (hX w hw)) | |
| 1415 | - | |
| 1416 | -theorem radialTailExpression_rate {l : Filter SpaceTime} {h lo hi : ℝ} | |
| 1417 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) | |
| 1418 | - {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) | |
| 1419 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) | |
| 1420 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1421 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1422 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1423 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (M : ℕ) : | |
| 1424 | - FiniteJetRate l (fun z => (cartesianChart h z).1) (radialTailExpression N h C f) | |
| 1425 | - M (pressureExponent h - 1 + slowOrder h (N + 1) - M) := by | |
| 1426 | - apply finset_monomial_rate hh hh1 A hO hKO (pressureIndices N) | |
| 1427 | - (fun i w => pressureTerm N h C f i w / (2 * w.1)) (fun i => pressurePower N h i - 1) | |
| 1428 | - (pressureExponent h - 1 + slowOrder h (N + 1)) | |
| 1429 | - · intro i hi | |
| 1430 | - exact (pressureTerm_smoothOn hO N h C f hv hu hf hX hL hi).div | |
| 1431 | - (contDiffOn_const.mul contDiffOn_fst) (fun w hw => mul_ne_zero (by norm_num) (hX w hw)) | |
| 1432 | - · intro i hi | |
| 1433 | - have hp := pressurePower_lower hh.le N hi | |
| 1434 | - linarith | |
| 1435 | - | |
| 1436 | -/-- The actual finite residual left by the recurrence has arbitrary | |
| 1437 | -increasing order as the truncation index increases. Its rate is derived | |
| 1438 | -from the explicit omitted monomials, not supplied as a hypothesis. -/ | |
| 1439 | -theorem truncationResidual_rate {l : Filter SpaceTime} {h lo hi : ℝ} | |
| 1440 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) | |
| 1441 | - {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) | |
| 1442 | - (N : ℕ) (C : ℝ) (f : SlowProfiles) | |
| 1443 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1444 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1445 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1446 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (M : ℕ) : | |
| 1447 | - FiniteJetRate l (fun z => (cartesianChart h z).1) | |
| 1448 | - (fun z => truncationResidual N h C f z.1 z.2) M (2 * (N : ℝ) * h - 2 - M) := by | |
| 1449 | - let R := radialTailExpression N h C f | |
| 1450 | - let F := transportTailField N h (angularExponent h) 1 f.flux f.axial f.phi | |
| 1451 | - let Z := transportTailField N h (axialExponent h) 0 f.flux f.axial f.axial | |
| 1452 | - have hW := chartedDomain_isOpen hh hh1 hO | |
| 1453 | - have hlW := A.in_chartedDomain hh hh1 hKO | |
| 1454 | - have hq := A.positive_small hh hh1 | |
| 1455 | - have hRs : ContDiffOn ℝ ∞ R (chartedDomain h O) := | |
| 1456 | - radialTailExpression_smooth hh hh1 hO N C f hv hu hf hX hL | |
| 1457 | - have hFs : ContDiffOn ℝ ∞ F (chartedDomain h O) := | |
| 1458 | - transportTailField_smooth hh hh1 hO N _ _ _ _ _ hv hu hf hX hL | |
| 1459 | - have hZs : ContDiffOn ℝ ∞ Z (chartedDomain h O) := | |
| 1460 | - transportTailField_smooth hh hh1 hO N _ _ _ _ _ hv hu hu hX hL | |
| 1461 | - have hR := radialTailExpression_rate hh hh1 A hO hKO N C f hv hu hf hX hL M | |
| 1462 | - have hF := transportTailField_rate hh hh1 A hO hKO N (angularExponent h) 1 | |
| 1463 | - f.flux f.axial f.phi hv hu hf hX hL M | |
| 1464 | - have hZ := transportTailField_rate hh hh1 A hO hKO N (axialExponent h) 0 | |
| 1465 | - f.flux f.axial f.axial hv hu hu hX hL M | |
| 1466 | - obtain ⟨he, heF, heZ⟩ := common_tail_power_lower hh.le N | |
| 1467 | - have hF' := finiteRate_weaken hF hq (sub_le_sub_right heF (M : ℝ)) | |
| 1468 | - have hZ' := finiteRate_weaken hZ hq (sub_le_sub_right heZ (M : ℝ)) | |
| 1469 | - have hFC := scalarConst_rate hF' hW hlW hFs C⁻¹ | |
| 1470 | - have hr := assembleComponents_rate hW hlW A.compact A.in_carrier | |
| 1471 | - (hq.mono (fun _ hz => hz.1)) hRs (contDiffOn_const.mul hFs) hZs hR hFC hZ' | |
| 1472 | - rw [he] at hr | |
| 1473 | - apply finiteRate_congr_on hr annularPast_isOpen (A.in_annularPast hh hh1 hlo) | |
| 1474 | - intro z hz | |
| 1475 | - rw [assembleComponents_eq_pack] | |
| 1476 | - dsimp only [R] | |
| 1477 | - rw [radialTailExpression_eq hh hh1 N C f hz] | |
| 1478 | - rfl | |
| 1479 | - | |
| 1480 | 1341 | end TruncationRate |
| 1481 | 1342 | |
| 1482 | 1343 | section NonlinearAssembly |
| @@ -1515,120 +1376,6 @@ def FiniteIdentities (h C : ℝ) (d : Coefficients) (f : SlowProfiles) : Prop := | ||
| 1515 | 1376 | navierStokesResidual (prefixVelocity J h C d) (prefixPressure J h C d) z.1 z.2 = |
| 1516 | 1377 | prefixStressForce J h C d z + truncationResidual J h C f z.1 z.2 |
| 1517 | 1378 | |
| 1518 | -/-- The nonlinear residual estimate for the concrete asymptotic sum. Every | |
| 1519 | -rate used in its proof is derived above from smooth coefficients, the chosen | |
| 1520 | -scales, and the explicit finite identities. -/ | |
| 1521 | -theorem baseResidual_jetRate {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} | |
| 1522 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) | |
| 1523 | - {d : Coefficients} (hd : SmoothCoefficients d) | |
| 1524 | - (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) | |
| 1525 | - (f : SlowProfiles) {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) | |
| 1526 | - (hv : ∀ j, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1527 | - (hu : ∀ j, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1528 | - (hf : ∀ j, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1529 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 1530 | - (hfinite : FiniteIdentities h C d f) (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : | |
| 1531 | - JetRate l (fun z => (cartesianChart h z).1) (baseResidual a h C d) m n := by | |
| 1532 | - let b : ℝ := CoordinateAlgebra.A h + m + 2 | |
| 1533 | - have hA : 0 < CoordinateAlgebra.A h := by unfold CoordinateAlgebra.A; linarith | |
| 1534 | - have hm : (0 : ℝ) ≤ m := Nat.cast_nonneg m | |
| 1535 | - have hb : 0 ≤ b := by dsimp [b]; positivity | |
| 1536 | - obtain ⟨N, hN⟩ := exists_nat_ge ((n + b + 2 * CoordinateAlgebra.A h + 6 * m + 12) / h) | |
| 1537 | - let J := max (m + 2) N | |
| 1538 | - have hJ : m + 2 ≤ J := le_max_left _ _ | |
| 1539 | - have hJN : (N : ℝ) ≤ J := by exact_mod_cast le_max_right (m + 2) N | |
| 1540 | - have hgain : n + b + 2 * CoordinateAlgebra.A h + 6 * m + 12 ≤ h * ((J : ℝ) + 1) := by | |
| 1541 | - have hn' := (div_le_iff₀ hh).mp hN | |
| 1542 | - nlinarith | |
| 1543 | - have hq := A.positive_small hh hh1 | |
| 1544 | - have hU := annularPast_isOpen | |
| 1545 | - have hlU := A.in_annularPast hh hh1 hlo | |
| 1546 | - have hus := (baseVelocity_smooth ha.strictMono hh hh1 hd C).mono annularPast_subset | |
| 1547 | - have hps := (basePressure_smooth ha.strictMono hh hh1 hd C).mono annularPast_subset | |
| 1548 | - have huJs := (prefixVelocity_smooth hh hh1 hd J C).mono annularPast_subset | |
| 1549 | - have hpJs := (prefixPressure_smooth hh hh1 hd J C).mono annularPast_subset | |
| 1550 | - have htS := baseStressForce_smooth ha.strictMono hh hh1 hd C | |
| 1551 | - have htJ := prefixStressForce_smooth hh hh1 hd J C | |
| 1552 | - have hbg : FiniteJetRate l (fun z => (cartesianChart h z).1) (prefixVelocity J h C d) | |
| 1553 | - (m + 1) (-b) := by | |
| 1554 | - convert! prefixVelocity_growth (C := C) hh hh1 A hd J (m + 1) using 1 | |
| 1555 | - dsimp [b] | |
| 1556 | - push_cast | |
| 1557 | - ring | |
| 1558 | - have hvel : FiniteJetRate l (fun z => (cartesianChart h z).1) | |
| 1559 | - (fun z => baseVelocity a h C d z - prefixVelocity J h C d z) (m + 2) (n + b) := by | |
| 1560 | - apply finiteRate_weaken (velocity_prefix_rate hh hh1 A hd ha J (m + 2) (by omega)) hq | |
| 1561 | - push_cast | |
| 1562 | - nlinarith | |
| 1563 | - have hpres : FiniteJetRate l (fun z => (cartesianChart h z).1) | |
| 1564 | - (fun z => basePressure a h C d z - prefixPressure J h C d z) (m + 1) (n + b) := by | |
| 1565 | - apply finiteRate_weaken (pressure_prefix_rate hh hh1 A hd ha J (m + 1) (by omega)) hq | |
| 1566 | - push_cast | |
| 1567 | - nlinarith | |
| 1568 | - have hstress : JetRate l (fun z => (cartesianChart h z).1) | |
| 1569 | - (fun z => baseStressForce a h C d z - prefixStressForce J h C d z) m n := by | |
| 1570 | - apply (finiteRate_at (stress_prefix_rate hh hh1 A hlo hd ha J m (by omega)) le_rfl).weaken hq | |
| 1571 | - dsimp [b] at hgain | |
| 1572 | - nlinarith | |
| 1573 | - have htail : JetRate l (fun z => (cartesianChart h z).1) | |
| 1574 | - (fun z => truncationResidual J h C f z.1 z.2) m n := by | |
| 1575 | - apply (finiteRate_at (truncationResidual_rate hh hh1 A hlo hO hKO J C f | |
| 1576 | - (fun j _ => hv j) (fun j _ => hu j) (fun j _ => hf j) hX hL m) le_rfl).weaken hq | |
| 1577 | - dsimp [b] at hgain | |
| 1578 | - nlinarith | |
| 1579 | - let EJ : SpaceTime → Space := fun z => | |
| 1580 | - navierStokesResidual (prefixVelocity J h C d) (prefixPressure J h C d) z.1 z.2 - | |
| 1581 | - prefixStressForce J h C d z | |
| 1582 | - have hEJ : JetRate l (fun z => (cartesianChart h z).1) EJ m n := | |
| 1583 | - htail.congr_on hU hlU (fun z hz => by dsimp [EJ]; rw [hfinite J z hz]; abel) | |
| 1584 | - have hEJs : ContDiffOn ℝ ∞ EJ annularPast := | |
| 1585 | - (ResidualRegularity.contDiffOn_residual hU huJs hpJs).sub htJ | |
| 1586 | - let Df := residualDifference (prefixVelocity J h C d) | |
| 1587 | - (fun z => baseVelocity a h C d z - prefixVelocity J h C d z) | |
| 1588 | - (prefixPressure J h C d) (fun z => basePressure a h C d z - prefixPressure J h C d z) | |
| 1589 | - have hDf : JetRate l (fun z => (cartesianChart h z).1) Df m n := | |
| 1590 | - residualDifference_jetRate hU hlU hq huJs (hus.sub huJs) hpJs (hps.sub hpJs) | |
| 1591 | - m hb hn hbg hvel hpres | |
| 1592 | - have hDfs : ContDiffOn ℝ ∞ Df annularPast := | |
| 1593 | - (ResidualRegularity.contDiffOn_residual hU (huJs.add (hus.sub huJs)) | |
| 1594 | - (hpJs.add (hps.sub hpJs))).sub (ResidualRegularity.contDiffOn_residual hU huJs hpJs) | |
| 1595 | - have hsum := (hEJ.add hDf hU hlU hEJs hDfs).add (jetRate_neg hstress) hU hlU | |
| 1596 | - (hEJs.add hDfs) (htS.sub htJ).neg | |
| 1597 | - have hvelsum : (fun z => prefixVelocity J h C d z + | |
| 1598 | - (baseVelocity a h C d z - prefixVelocity J h C d z)) = baseVelocity a h C d := by | |
| 1599 | - funext z | |
| 1600 | - abel | |
| 1601 | - have hpressum : (fun z => prefixPressure J h C d z + | |
| 1602 | - (basePressure a h C d z - prefixPressure J h C d z)) = basePressure a h C d := by | |
| 1603 | - funext z | |
| 1604 | - abel | |
| 1605 | - have heq : (fun z => EJ z + Df z + -(baseStressForce a h C d z - prefixStressForce J h C d z)) = | |
| 1606 | - baseResidual a h C d := by | |
| 1607 | - funext z | |
| 1608 | - simp only [EJ, Df, residualDifference, hvelsum, hpressum, baseResidual] | |
| 1609 | - abel | |
| 1610 | - rwa [heq] at hsum | |
| 1611 | - | |
| 1612 | -/-- All physical Cartesian space-time jets of the actual nonlinear error | |
| 1613 | -are flat along every fixed compact annular approach to q=0. -/ | |
| 1614 | -theorem baseResidual_allJetsFlat {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} | |
| 1615 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) | |
| 1616 | - {d : Coefficients} (hd : SmoothCoefficients d) | |
| 1617 | - (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) | |
| 1618 | - (f : SlowProfiles) {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) | |
| 1619 | - (hv : ∀ j, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 1620 | - (hu : ∀ j, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 1621 | - (hf : ∀ j, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 1622 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 1623 | - (hfinite : FiniteIdentities h C d f) : | |
| 1624 | - AllJetsFlat l (fun z => (cartesianChart h z).1) (baseResidual a h C d) := by | |
| 1625 | - intro m N | |
| 1626 | - obtain ⟨K, hK, hb⟩ := baseResidual_jetRate hh hh1 A hlo hd ha f hO hKO hv hu hf hX hL | |
| 1627 | - hfinite m N (Nat.cast_nonneg N) | |
| 1628 | - refine ⟨K, hK, ?_⟩ | |
| 1629 | - filter_upwards [A.positive_small hh hh1, hb] with z hz hbound | |
| 1630 | - simpa only [abs_norm, abs_of_pos hz.1, Real.rpow_natCast] using hbound | |
| 1631 | - | |
| 1632 | 1379 | end NonlinearAssembly |
| 1633 | 1380 | |
| 1634 | 1381 | section EdgeJetTools |
| @@ -1971,24 +1718,6 @@ theorem normalizedTensor_weighted_bound {a : ℕ → ℕ} {h C : ℝ} (hh : 0 < | ||
| 1971 | 1718 | (fun _j hj w hw => higherStressQuotient_factor d zeta hj (hz w hw).ne') |
| 1972 | 1719 | (weightedBundle_quotient_scales hd hq ha) m |
| 1973 | 1720 | |
| 1974 | -/-- The common schedule is constructed from coefficient smoothness. The | |
| 1975 | -weighted estimate is an output, not part of the admissibility assumptions. -/ | |
| 1976 | -theorem exists_weighted_base_scales {h : ℝ} (hh : 0 < h) (C : ℝ) | |
| 1977 | - {d : Coefficients} (hd : SmoothCoefficients d) {K W O : Set Inner} | |
| 1978 | - (hK : IsCompact K) (hWK : W ⊆ K) (hO : IsOpen O) (hWO : W ⊆ O) | |
| 1979 | - {zeta delta : Inner → ℝ} (hzs : ContDiff ℝ ∞ zeta) | |
| 1980 | - (hz : ∀ w ∈ O, 0 < zeta w) (hdelta : ∀ w ∈ W, 0 < delta w ∧ delta w ≤ 1) | |
| 1981 | - (hfirst : PolynomialEdgeJets W zeta delta (stressPair d 1)) | |
| 1982 | - (hweight : PolynomialEdgeJets W zeta delta zeta) | |
| 1983 | - (hq : ∀ j, ContDiff ℝ ∞ (higherStressQuotient d zeta j)) (B : ℕ) : | |
| 1984 | - ∃ a : ℕ → ℕ, B ≤ a 0 ∧ AdmissibleScales h (coefficientBundle C d) K a ∧ | |
| 1985 | - ∀ m : ℕ, ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ W, | |
| 1986 | - ‖blownJet m (fun y => normalizedTensor a h d y - stressPair d 0 y.2) (q, w)‖ ≤ | |
| 1987 | - D * q ^ h * zeta w * (delta w)⁻¹ ^ N := by | |
| 1988 | - obtain ⟨a, hB, ha⟩ := exists_admissibleScales (weightedBundle_smooth hd hq C) hh hK B | |
| 1989 | - exact ⟨a, hB, weightedBundle_base_scales hd hq ha, | |
| 1990 | - normalizedTensor_weighted_bound hh hd hK hWK hO hWO hzs hz hdelta hfirst hweight hq ha⟩ | |
| 1991 | - | |
| 1992 | 1721 | end WeightedTensor |
| 1993 | 1722 | |
| 1994 | 1723 | section ConcreteWeight |
| @@ -2772,36 +2501,6 @@ theorem firstOrder_pair_outer_edgeJets (C : ℝ) (d : OutgoingTail.TailData) | ||
| 2772 | 2501 | mul_le_mul_of_nonneg_right (by linarith) (mul_nonneg (mul_nonneg hB.le hz) hd) |
| 2773 | 2502 | _ = _ := by ring |
| 2774 | 2503 | |
| 2775 | - /-- A common scale sequence with the full weighted tensor estimate, | |
| 2776 | -constructed from support, smoothness, and the actual first-order primitive. | |
| 2777 | -No tensor estimate or summation-tail estimate is assumed. -/ | |
| 2778 | -theorem exists_weighted_base_scales_from_primitives {h : ℝ} (hh : 0 < h) (C : ℝ) | |
| 2779 | - {d : Coefficients} (hd : SmoothCoefficients d) (tail : OutgoingTail.TailData) | |
| 2780 | - (y0 : ℝ) {c left width inner : ℝ} (hc : 0 < c) (hw : 0 < width) | |
| 2781 | - (hl : Real.exp left < inner) (hi : inner ≤ Real.exp (y0 + 3 - width)) | |
| 2782 | - (hs : HigherInteriorSupport d left (y0 + 3)) | |
| 2783 | - (hz : ∀ w : Inner, w.1 < inner → stressPair d 1 w = 0) | |
| 2784 | - (he : ∀ w ∈ outerWindow (Real.exp (y0 + 3 - width)) (y0 + 3), | |
| 2785 | - stressPair d 1 =ᶠ[𝓝 w] (fun v => (SlowFirstOrderEdge.stressX C tail y0 v, 0))) | |
| 2786 | - {K : Set Inner} (hK : IsCompact K) (hWK : activeWindow left (y0 + 3) ⊆ K) (B : ℕ) : | |
| 2787 | - ∃ a : ℕ → ℕ, B ≤ a 0 ∧ AdmissibleScales h (coefficientBundle C d) K a ∧ | |
| 2788 | - ∀ m : ℕ, ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → | |
| 2789 | - ∀ w ∈ activeWindow left (y0 + 3), | |
| 2790 | - ‖blownJet m (fun v => normalizedTensor a h d v - stressPair d 0 v.2) (q, w)‖ ≤ | |
| 2791 | - D * q ^ h * activeZeta c left (y0 + 3) w * (activeDelta left (y0 + 3) w)⁻¹ ^ N := by | |
| 2792 | - have hlog : left < y0 + 3 - width := Real.exp_lt_exp.mp (hl.trans_le hi) | |
| 2793 | - have hright : Real.exp (y0 + 3 - width) < Real.exp (y0 + 3) := | |
| 2794 | - Real.exp_lt_exp.mpr (by linarith) | |
| 2795 | - have hfirst := edgeJets_of_outer_collar (stressPair_smooth hd 1) hc hl hi hright hz | |
| 2796 | - (firstOrder_pair_outer_edgeJets C tail y0 hc hw hlog he) | |
| 2797 | - let O : Set Inner := Ioo (Real.exp left) (Real.exp (y0 + 3)) ×ˢ univ | |
| 2798 | - have hO : IsOpen O := isOpen_Ioo.prod isOpen_univ | |
| 2799 | - have hWO : activeWindow left (y0 + 3) ⊆ O := fun _ hw => ⟨hw.1, mem_univ _⟩ | |
| 2800 | - exact exists_weighted_base_scales hh C hd hK hWK hO hWO | |
| 2801 | - (activeZeta_smooth hc left (y0 + 3)) (fun _ hw => radialWeight_pos hw.1) | |
| 2802 | - (fun _ hw => activeDelta_bounds hw) hfirst | |
| 2803 | - (activeZeta_edgeJets (by linarith) hc) (higherStressQuotient_smooth_of_support hd hc hs) B | |
| 2804 | - | |
| 2805 | 2504 | end WeightedInputConstruction |
| 2806 | 2505 | |
| 2807 | 2506 | end NavierStokes.BaseResidual |
+0 −19 NavierStokes/BorelExtension.lean View file
| @@ -166,9 +166,6 @@ private theorem power_ratio_le {b : ℝ} (hb : 1 ≤ b) {k j : ℕ} (hkj : k < j | ||
| 166 | 166 | def boundSum (j : ℕ) (v : E) : ℝ := |
| 167 | 167 | ∑ k ∈ Finset.range j, templateBound j k v |
| 168 | 168 | |
| 169 | -theorem boundSum_nonneg (j : ℕ) (v : E) : 0 ≤ boundSum j v := | |
| 170 | - Finset.sum_nonneg fun k _ => templateBound_nonneg j k v | |
| 171 | - | |
| 172 | 169 | theorem templateBound_le_boundSum {j k : ℕ} (hkj : k < j) (v : E) : |
| 173 | 170 | templateBound j k v ≤ boundSum j v := by |
| 174 | 171 | exact Finset.single_le_sum (fun i _ => templateBound_nonneg j i v) |
| @@ -187,12 +184,6 @@ def scale (a : ℕ → E) : ℕ → ℕ := DiagonalScale.doublingEnvelope (local | ||
| 187 | 184 | theorem scale_pos (a : ℕ → E) (j : ℕ) : 0 < scale a j := |
| 188 | 185 | DiagonalScale.doublingEnvelope_pos (localScale a) j |
| 189 | 186 | |
| 190 | -theorem scale_strictMono (a : ℕ → E) : StrictMono (scale a) := | |
| 191 | - DiagonalScale.doublingEnvelope_strictMono (localScale a) | |
| 192 | - | |
| 193 | -theorem scale_doubling (a : ℕ → E) (j : ℕ) : 2 * scale a j ≤ scale a (j + 1) := | |
| 194 | - DiagonalScale.doublingEnvelope_growth (localScale a) j | |
| 195 | - | |
| 196 | 187 | theorem scale_ge_one (a : ℕ → E) (j : ℕ) : (1 : ℝ) ≤ scale a j := by |
| 197 | 188 | exact_mod_cast scale_pos a j |
| 198 | 189 | |
| @@ -251,12 +242,6 @@ variable [CompleteSpace E] | ||
| 251 | 242 | def extension (a : ℕ → E) (s : ℝ) : E := |
| 252 | 243 | ∑' j : ℕ, term (scale a j) j (a j) s |
| 253 | 244 | |
| 254 | -omit [CompleteSpace E] in | |
| 255 | -theorem extension_eq_series (a : ℕ → E) (s : ℝ) : | |
| 256 | - extension a s = ∑' j : ℕ, | |
| 257 | - (SmoothCutoffs.cutoff ((scale a j : ℝ) * s) * (s ^ j / (j.factorial : ℝ))) • a j := by | |
| 258 | - simp only [extension, term, monomial, smul_smul] | |
| 259 | - | |
| 260 | 245 | theorem extension_contDiff (a : ℕ → E) : ContDiff ℝ ∞ (extension a) := by |
| 261 | 246 | apply contDiff_tsum (N := ⊤) (v := majorant a) |
| 262 | 247 | (fun j => term_contDiff (scale a j) j (a j)) |
| @@ -315,10 +300,6 @@ omit [CompleteSpace E] in | ||
| 315 | 300 | theorem extension_tsupport (a : ℕ → E) : tsupport (extension a) ⊆ Icc (-1 : ℝ) 1 := |
| 316 | 301 | closure_minimal ((extension_support a).trans Ioo_subset_Icc_self) isClosed_Icc |
| 317 | 302 | |
| 318 | -omit [CompleteSpace E] in | |
| 319 | -theorem extension_hasCompactSupport (a : ℕ → E) : HasCompactSupport (extension a) := | |
| 320 | - isCompact_Icc.of_isClosed_subset isClosed_closure (extension_tsupport a) | |
| 321 | - | |
| 322 | 303 | end Complete |
| 323 | 304 | |
| 324 | 305 | end NavierStokes.BorelExtension |
+0 −48 NavierStokes/CompactHolomorphicFamily.lean View file
| @@ -10,52 +10,4 @@ open scoped Topology Interval NNReal | ||
| 10 | 10 | variable {K E : Type*} [TopologicalSpace K] [CompactSpace K] |
| 11 | 11 | [NormedAddCommGroup E] [NormedSpace ℂ E] [CompleteSpace E] |
| 12 | 12 | |
| 13 | -/-- Evaluation commutes with a genuine circle integral of continuous paths. -/ | |
| 14 | -theorem eval_circleIntegral {F : ℂ → C(K, E)} {c : ℂ} {R : ℝ} | |
| 15 | - (hF : CircleIntegrable F c R) (x : K) : | |
| 16 | - (∮ z in C(c, R), F z) x = ∮ z in C(c, R), F z x := by | |
| 17 | - let L : C(K, E) →L[ℂ] E := ContinuousMap.evalCLM ℂ x | |
| 18 | - change L (∫ θ in (0 : ℝ)..(2 * Real.pi), deriv (circleMap c R) θ • | |
| 19 | - F (circleMap c R θ)) = _ | |
| 20 | - rw [← L.intervalIntegral_comp_comm hF.out] | |
| 21 | - simp only [map_smul] | |
| 22 | - rfl | |
| 23 | - | |
| 24 | -/-- A continuous compact-valued family with holomorphic evaluations is | |
| 25 | -holomorphic in the supremum norm. Local uniform bounds follow from compactness. -/ | |
| 26 | -theorem differentiableOn_of_evaluations {F : ℂ → C(K, E)} {U : Set ℂ} | |
| 27 | - (hU : IsOpen U) (hF : ContinuousOn F U) | |
| 28 | - (hhol : ∀ x : K, DifferentiableOn ℂ (fun z => F z x) U) : | |
| 29 | - DifferentiableOn ℂ F U := by | |
| 30 | - intro z hz | |
| 31 | - obtain ⟨δ, hδ, hδU⟩ := Metric.mem_nhds_iff.mp (hU.mem_nhds hz) | |
| 32 | - let ρ : ℝ≥0 := ⟨δ / 2, by positivity⟩ | |
| 33 | - have hρ : 0 < ρ := by change (0 : ℝ) < δ / 2; positivity | |
| 34 | - have hDisk : closedBall z (ρ : ℝ) ⊆ U := fun w hw => | |
| 35 | - hδU (Metric.mem_ball.mpr ((Metric.mem_closedBall.mp hw).trans_lt (by | |
| 36 | - change δ / 2 < δ; linarith))) | |
| 37 | - have hc : ContinuousOn F (closedBall z (ρ : ℝ)) := hF.mono hDisk | |
| 38 | - have hi : CircleIntegrable F z ρ := | |
| 39 | - (hc.mono sphere_subset_closedBall).circleIntegrable ρ.2 | |
| 40 | - have heq : (fun w => (2 * Real.pi * I : ℂ)⁻¹ • | |
| 41 | - ∮ v in C(z, (ρ : ℝ)), (v - w)⁻¹ • F v) =ᶠ[𝓝 z] F := by | |
| 42 | - filter_upwards [Metric.isOpen_ball.mem_nhds | |
| 43 | - (Metric.mem_ball_self (show 0 < (ρ : ℝ) from hρ))] with w hw | |
| 44 | - ext x | |
| 45 | - have hkernel : ContinuousOn (fun v : ℂ => (v - w)⁻¹) (sphere z (ρ : ℝ)) := | |
| 46 | - (continuous_id.sub continuous_const).continuousOn.inv₀ (fun v hv => | |
| 47 | - sub_ne_zero.mpr (by | |
| 48 | - intro he | |
| 49 | - change v = w at he | |
| 50 | - subst v | |
| 51 | - exact (Metric.mem_ball.mp hw).ne (Metric.mem_sphere.mp hv))) | |
| 52 | - have hk : CircleIntegrable (fun v => (v - w)⁻¹ • F v) z ρ := | |
| 53 | - (hkernel.smul (hc.mono sphere_subset_closedBall)).circleIntegrable ρ.2 | |
| 54 | - change (2 * Real.pi * I : ℂ)⁻¹ • (∮ v in C(z, (ρ : ℝ)), (v - w)⁻¹ • F v) x = _ | |
| 55 | - rw [eval_circleIntegral hk] | |
| 56 | - have hDC := ((hhol x).mono (closure_ball_subset_closedBall.trans hDisk)).diffContOnCl | |
| 57 | - exact hDC.two_pi_i_inv_smul_circleIntegral_sub_inv_smul hw | |
| 58 | - have hd := (hasFPowerSeriesOn_cauchy_integral hi hρ).analyticAt.differentiableAt | |
| 59 | - exact (hd.congr_of_eventuallyEq heq.symm).differentiableWithinAt | |
| 60 | - | |
| 61 | 13 | end NavierStokes.CompactHolomorphicFamily |
+0 −5 NavierStokes/CompactSpatialForceDecay.lean View file
| @@ -77,11 +77,6 @@ theorem jet_decay {S : Set Space} (hS : IsCompact S) {f : VelocityField} | ||
| 77 | 77 | · rw [jet_zero_outside hS.isClosed hs m ht hx, norm_zero] |
| 78 | 78 | exact le_of_lt (div_pos (lt_of_lt_of_le zero_lt_one (le_max_right _ _)) hp) |
| 79 | 79 | |
| 80 | -theorem rescale_supported {S : Set Space} {f : VelocityField} (hf : SupportedIn S f) | |
| 81 | - (a : ℝ) {c : ℝ} (hc : 0 ≤ c) : SupportedIn S (ComparatorBridge.rescale a c f) := by | |
| 82 | - intro t ht x hx | |
| 83 | - simp only [ComparatorBridge.rescale, hf (c * t) (mul_nonneg hc ht) x hx, smul_zero] | |
| 84 | - | |
| 85 | 80 | theorem forceConditionDecay {S : Set Space} (hS : IsCompact S) {f : VelocityField} |
| 86 | 81 | (hf : ContDiffOn ℝ ∞ f futureDomain) (hs : SupportedIn S f) |
| 87 | 82 | (htime : CompactFutureTimeSupport f) : |
+0 −62 NavierStokes/CycleStateCoherence.lean View file
| @@ -470,17 +470,6 @@ theorem CycleTransport.axis {ι : Type} {G : Geometry} {p : CycleParameters ι} | ||
| 470 | 470 | VariableGaugeMean.pressureAliasState p.gauge c u m (bandChartEquiv G.h n m k x,0) i)) |
| 471 | 471 | ring |
| 472 | 472 | |
| 473 | -theorem CycleTransport.step {ι : Type} {G : Geometry} {p : CycleParameters ι} | |
| 474 | - {x : CycleState ι} {c : Context Point} {V : Set Plane} {n m k : ℕ} | |
| 475 | - (H : CycleTransport G p x.coefficients c x.state V n m k) | |
| 476 | - (HA : AxisBand G V n m k x.axisymmetricAlias) : | |
| 477 | - StateBand G V n m k (x.step p c).state ∧ | |
| 478 | - AxisBand G V n m k (x.step p c).axisymmetricAlias := ⟨H.next, H.axis HA⟩ | |
| 479 | - | |
| 480 | -/-- Stored labels and harmonic aliases are never reselected by a cycle. -/ | |
| 481 | -theorem step_labels {ι : Type} (p : CycleParameters ι) (c : Context Point) (x : CycleState ι) : | |
| 482 | - (x.step p c).coefficients.labels = x.coefficients.labels := rfl | |
| 483 | - | |
| 484 | 473 | theorem iterate_labels {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) |
| 485 | 474 | (seed : CycleState ι) (j : ℕ) : |
| 486 | 475 | (CycleState.iterate p c seed j).coefficients.labels = seed.coefficients.labels := by |
| @@ -488,13 +477,6 @@ theorem iterate_labels {ι : Type} (p : ℕ → CycleParameters ι) (c : Context | ||
| 488 | 477 | | zero => rfl |
| 489 | 478 | | succ j ih => exact ih |
| 490 | 479 | |
| 491 | -theorem iterate_aliasCoefficients {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) | |
| 492 | - (seed : CycleState ι) (j : ℕ) : | |
| 493 | - (CycleState.iterate p c seed j).coefficients.aliasCoefficients = seed.coefficients.aliasCoefficients := by | |
| 494 | - induction j with | |
| 495 | - | zero => rfl | |
| 496 | - | succ j ih => exact ih | |
| 497 | - | |
| 498 | 480 | /-- The primitive wave laws also propagate the complete individual |
| 499 | 481 | harmonic blocks, so they remain available to the next reference solve. -/ |
| 500 | 482 | theorem block_fields_next {ι : Type} {G : Geometry} {p : CycleParameters ι} |
| @@ -596,48 +578,4 @@ theorem iterate_state_axis {ι : Type} (G : Geometry) (p : ℕ → CycleParamete | ||
| 596 | 578 | |
| 597 | 579 | /-! ## Explicit retention of the current pressure and all temporal aliases -/ |
| 598 | 580 | |
| 599 | -noncomputable def temporalAliasAt {ι : Type} (p : ℕ → CycleParameters ι) | |
| 600 | - (c : Context Point) (seed : CycleState ι) (j : ℕ) : Oscillation Point := | |
| 601 | - let x := CycleState.iterate p c seed j | |
| 602 | - VariableGaugeMean.temporalAliasState (p j).gauge (p j).timeExponent (p j).commonIndex c | |
| 603 | - ((p j).afterSigned x.coefficients c x.state) | |
| 604 | - | |
| 605 | -/-- The obsolete pressure alias cancels at every step. The initial alias, | |
| 606 | -every earlier temporal alias, and exactly one current pressure alias are | |
| 607 | -retained with their actual signs. This is an identity of full fields. -/ | |
| 608 | -theorem iterate_alias_error {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) | |
| 609 | - (seed : CycleState ι) (g : VariableGaugeMean.GaugeData Plane) | |
| 610 | - (hg : ∀ j, (p j).gauge = g) (J : ℕ) : | |
| 611 | - (CycleState.iterate p c seed J).state.errors.aliasError = | |
| 612 | - seed.state.errors.aliasError + (∑ j ∈ Finset.range J, temporalAliasAt p c seed j) + | |
| 613 | - (VariableGaugeMean.pressureAliasState g c (CycleState.iterate p c seed J).state - | |
| 614 | - VariableGaugeMean.pressureAliasState g c seed.state) := by | |
| 615 | - induction J with | |
| 616 | - | zero => simp only [CycleState.iterate_zero, Finset.sum_range_zero, add_zero, sub_self] | |
| 617 | - | succ J ih => | |
| 618 | - let x := CycleState.iterate p c seed J | |
| 619 | - have hstep : (x.step (p J) c).state.errors.aliasError = | |
| 620 | - x.state.errors.aliasError + temporalAliasAt p c seed J + | |
| 621 | - (VariableGaugeMean.pressureAliasState g c (x.step (p J) c).state - | |
| 622 | - VariableGaugeMean.pressureAliasState g c x.state) := by | |
| 623 | - rw [show (x.step (p J) c).state = (p J).next x.coefficients c x.state from rfl, | |
| 624 | - (p J).next_alias_error x.coefficients c x.state] | |
| 625 | - simp only [temporalAliasAt, hg J] | |
| 626 | - rfl | |
| 627 | - rw [CycleState.iterate_succ, hstep, Finset.sum_range_succ] | |
| 628 | - change x.state.errors.aliasError + _ + _ = _ | |
| 629 | - rw [show x.state.errors.aliasError = _ from ih] | |
| 630 | - abel | |
| 631 | - | |
| 632 | -theorem iterate_alias_separated {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) | |
| 633 | - (seed : CycleState ι) (g : VariableGaugeMean.GaugeData Plane) | |
| 634 | - (hg : ∀ j, (p j).gauge = g) (other : Oscillation Point) | |
| 635 | - (hseed : seed.state.errors.aliasError = other + VariableGaugeMean.pressureAliasState g c seed.state) | |
| 636 | - (J : ℕ) : | |
| 637 | - (CycleState.iterate p c seed J).state.errors.aliasError = | |
| 638 | - other + (∑ j ∈ Finset.range J, temporalAliasAt p c seed j) + | |
| 639 | - VariableGaugeMean.pressureAliasState g c (CycleState.iterate p c seed J).state := by | |
| 640 | - rw [iterate_alias_error p c seed g hg J, hseed] | |
| 641 | - abel | |
| 642 | - | |
| 643 | 581 | end NavierStokes.CycleStateCoherence |
+0 −171 NavierStokes/HarmonicCalculus.lean View file
| @@ -319,11 +319,6 @@ noncomputable def vectorMode (κ : ℝ) (Φ : E → ℝ) (a : E → ComplexVecto | ||
| 319 | 319 | noncomputable def angularGenerator (a : ComplexVector) : ComplexVector := |
| 320 | 320 | ![-a 1, a 0, 0] |
| 321 | 321 | |
| 322 | -theorem angularGenerator_sq (a : ComplexVector) : | |
| 323 | - angularGenerator (angularGenerator a) = ![-a 0, -a 1, 0] := by | |
| 324 | - ext i | |
| 325 | - fin_cases i <;> simp [angularGenerator] | |
| 326 | - | |
| 327 | 322 | /-- The scalar component Laplacians plus the two cylindrical frame |
| 328 | 323 | connections. Its identification with Cartesian vector Laplacian belongs to |
| 329 | 324 | the cylindrical coordinate calculus. -/ |
| @@ -535,174 +530,8 @@ theorem longitudinal_gain (R : E → ℝ) (Vr Vθ Vz : E → E) | ||
| 535 | 530 | simpa only [abs_mul] using longitudinal_gain_frequency R Vr Vθ Vz (k * (j : ℝ)) |
| 536 | 531 | (mul_ne_zero hk hjr) hΦ ha haθ hdiv hr₀ hr hn₀ hn hA hAr hAz |
| 537 | 532 | |
| 538 | -/-- Operator norms of the actual full coefficient derivatives can be | |
| 539 | -used to supply the directional derivative bounds above. -/ | |
| 540 | -theorem norm_along_le (V : E → E) (f : E → F) (x : E) : | |
| 541 | - ‖along V f x‖ ≤ ‖fderiv ℝ f x‖ * ‖V x‖ := | |
| 542 | - (fderiv ℝ f x).le_opNorm (V x) | |
| 543 | - | |
| 544 | 533 | /-! ## Finite jets of the longitudinal contraction -/ |
| 545 | 534 | |
| 546 | -theorem contDiffOn_strippedDivergence {U : Set E} {R : E → ℝ} {Vr Vz : E → E} | |
| 547 | - {a : E → ComplexVector} (hU : IsOpen U) | |
| 548 | - (hR : ContDiffOn ℝ ∞ R U) (hRne : ∀ x ∈ U, R x ≠ 0) | |
| 549 | - (hr : ContDiffOn ℝ ∞ Vr U) (hz : ContDiffOn ℝ ∞ Vz U) | |
| 550 | - (ha₀ : ContDiffOn ℝ ∞ (fun y => a y 0) U) | |
| 551 | - (ha₂ : ContDiffOn ℝ ∞ (fun y => a y 2) U) : | |
| 552 | - ContDiffOn ℝ ∞ (strippedDivergence R Vr Vz a) U := | |
| 553 | - ((contDiffOn_along hU hr ha₀).add ((hR.inv hRne).smul ha₀)).add | |
| 554 | - (contDiffOn_along hU hz ha₂) | |
| 555 | - | |
| 556 | -/-- At every derivative order, the contraction `n·a` has the same | |
| 557 | -inverse-frequency factor. Derivatives of the normal are included on the | |
| 558 | -left, and derivatives of the full coefficient divergence on the right. -/ | |
| 559 | -theorem normalDot_jet_norm_eq {U : Set E} (R : E → ℝ) (Vr Vθ Vz : E → E) | |
| 560 | - (κ : ℝ) {Φ : E → ℝ} {a : E → ComplexVector} {x : E} (m : ℕ) | |
| 561 | - (hκ : κ ≠ 0) (hU : IsOpen U) (hΦ : DifferentiableOn ℝ Φ U) | |
| 562 | - (ha : ∀ i, DifferentiableOn ℝ (fun y => a y i) U) | |
| 563 | - (haθ : ∀ y ∈ U, along Vθ (fun z => a z 1) y = 0) | |
| 564 | - (hdiv : ∀ y ∈ U, cylindricalDivergence R Vr Vθ Vz (vectorMode κ Φ a) y = 0) | |
| 565 | - (hS : ContDiffOn ℝ ∞ (strippedDivergence R Vr Vz a) U) (hx : x ∈ U) : | |
| 566 | - ‖iteratedFDeriv ℝ m (fun y => normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y)) x‖ = | |
| 567 | - ‖iteratedFDeriv ℝ m (strippedDivergence R Vr Vz a) x‖ / |κ| := by | |
| 568 | - have hc : phaseFactor κ ≠ 0 := by | |
| 569 | - apply norm_ne_zero_iff.mp | |
| 570 | - simpa only [norm_phaseFactor] using abs_ne_zero.mpr hκ | |
| 571 | - have heq : EqOn (fun y => normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y)) | |
| 572 | - (fun y => (-(phaseFactor κ)⁻¹) • strippedDivergence R Vr Vz a y) U := by | |
| 573 | - intro y hy | |
| 574 | - have he := longitudinal_identity R Vr Vθ Vz κ | |
| 575 | - ((hΦ y hy).differentiableAt (hU.mem_nhds hy)) | |
| 576 | - (fun i => (ha i y hy).differentiableAt (hU.mem_nhds hy)) (haθ y hy) (hdiv y hy) | |
| 577 | - calc | |
| 578 | - _ = -strippedDivergence R Vr Vz a y / phaseFactor κ := | |
| 579 | - (eq_div_iff hc).mpr (by simpa only [mul_comm] using he) | |
| 580 | - _ = _ := by simp only [smul_eq_mul, div_eq_mul_inv]; ring | |
| 581 | - have he : (fun y => normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y)) =ᶠ[𝓝 x] | |
| 582 | - (fun y => (-(phaseFactor κ)⁻¹) • strippedDivergence R Vr Vz a y) := | |
| 583 | - eventually_of_mem (hU.mem_nhds hx) heq | |
| 584 | - have he' : (fun y => normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y)) =ᶠ[𝓝[univ] x] | |
| 585 | - (fun y => (-(phaseFactor κ)⁻¹) • strippedDivergence R Vr Vz a y) := by | |
| 586 | - simpa only [nhdsWithin_univ] using he | |
| 587 | - have hj := he'.iteratedFDerivWithin_eq (𝕜 := ℝ) he.self_of_nhds m | |
| 588 | - simp only [iteratedFDerivWithin_univ] at hj | |
| 589 | - rw [hj, iteratedFDeriv_const_smul_apply' | |
| 590 | - ((hS.contDiffAt (hU.mem_nhds hx)).of_le | |
| 591 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl m))] | |
| 592 | - simp only [norm_smul, norm_neg, norm_inv, norm_phaseFactor, div_eq_mul_inv] | |
| 593 | - ring | |
| 594 | - | |
| 595 | -/-- Uniform finite-jet version of the exact contraction estimate. -/ | |
| 596 | -theorem normalDot_finiteJetBound {U : Set E} (R : E → ℝ) (Vr Vθ Vz : E → E) | |
| 597 | - (κ : ℝ) {Φ : E → ℝ} {a : E → ComplexVector} {m : ℕ} {C : ℝ} | |
| 598 | - (hκ : κ ≠ 0) (hU : IsOpen U) (hΦ : DifferentiableOn ℝ Φ U) | |
| 599 | - (ha : ∀ i, DifferentiableOn ℝ (fun y => a y i) U) | |
| 600 | - (haθ : ∀ y ∈ U, along Vθ (fun z => a z 1) y = 0) | |
| 601 | - (hdiv : ∀ y ∈ U, cylindricalDivergence R Vr Vθ Vz (vectorMode κ Φ a) y = 0) | |
| 602 | - (hS : ContDiffOn ℝ ∞ (strippedDivergence R Vr Vz a) U) | |
| 603 | - (hJ : JetBounds.FiniteJetBound m (strippedDivergence R Vr Vz a) U C) : | |
| 604 | - JetBounds.FiniteJetBound m | |
| 605 | - (fun y => normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y)) U (C / |κ|) := by | |
| 606 | - intro n hn x hx | |
| 607 | - rw [normalDot_jet_norm_eq R Vr Vθ Vz κ n hκ hU hΦ ha haθ hdiv hS hx] | |
| 608 | - exact div_le_div_of_nonneg_right (hJ n hn x hx) (abs_nonneg κ) | |
| 609 | - | |
| 610 | -/-- The coefficient divergence bound is derived from actual coefficient | |
| 611 | -jets through order `m+1`, and graph-direction and inverse-radius jets | |
| 612 | -through order `m`. -/ | |
| 613 | -theorem strippedDivergence_finiteJetBound {U : Set E} {R : E → ℝ} {Vr Vz : E → E} | |
| 614 | - {a : E → ComplexVector} {m : ℕ} {Ar Az Cr Cz CI : ℝ} | |
| 615 | - (hU : IsOpen U) (hR : ContDiffOn ℝ ∞ R U) (hRne : ∀ x ∈ U, R x ≠ 0) | |
| 616 | - (hr : ContDiffOn ℝ ∞ Vr U) (hz : ContDiffOn ℝ ∞ Vz U) | |
| 617 | - (ha₀ : ContDiffOn ℝ ∞ (fun y => a y 0) U) | |
| 618 | - (ha₂ : ContDiffOn ℝ ∞ (fun y => a y 2) U) | |
| 619 | - (hAr : JetBounds.FiniteJetBound (m + 1) (fun y => a y 0) U Ar) | |
| 620 | - (hAz : JetBounds.FiniteJetBound (m + 1) (fun y => a y 2) U Az) | |
| 621 | - (hCr : JetBounds.FiniteJetBound m Vr U Cr) | |
| 622 | - (hCz : JetBounds.FiniteJetBound m Vz U Cz) | |
| 623 | - (hCI : JetBounds.FiniteJetBound m (fun y => (R y)⁻¹) U CI) : | |
| 624 | - JetBounds.FiniteJetBound m (strippedDivergence R Vr Vz a) U | |
| 625 | - ((2 : ℝ) ^ m * Ar * Cr + | |
| 626 | - ‖(ContinuousLinearMap.lsmul ℝ ℝ : ℝ →L[ℝ] ℂ →L[ℝ] ℂ)‖ * (2 : ℝ) ^ m * CI * Ar + | |
| 627 | - (2 : ℝ) ^ m * Az * Cz) := by | |
| 628 | - have hm := ENat.natCast_le_of_coe_top_le_withTop le_rfl m | |
| 629 | - have hm1 := ENat.natCast_le_of_coe_top_le_withTop le_rfl (m + 1) | |
| 630 | - have hbr := JetBounds.FiniteJetBound.transport hU (hr.of_le hm) (ha₀.of_le hm1) hCr hAr | |
| 631 | - have hbz := JetBounds.FiniteJetBound.transport hU (hz.of_le hm) (ha₂.of_le hm1) hCz hAz | |
| 632 | - have hbi := JetBounds.FiniteJetBound.bilinear | |
| 633 | - (ContinuousLinearMap.lsmul ℝ ℝ : ℝ →L[ℝ] ℂ →L[ℝ] ℂ) hU | |
| 634 | - ((hR.inv hRne).of_le hm) (ha₀.of_le hm) hCI (hAr.of_le (Nat.le_succ m)) | |
| 635 | - have hdr := (contDiffOn_along hU hr ha₀).of_le hm | |
| 636 | - have hdz := (contDiffOn_along hU hz ha₂).of_le hm | |
| 637 | - have hdi := ((hR.inv hRne).smul ha₀).of_le hm | |
| 638 | - exact JetBounds.FiniteJetBound.add hU (hdr.add hdi) hdz | |
| 639 | - (JetBounds.FiniteJetBound.add hU hdr hdi hbr hbi) hbz | |
| 640 | - | |
| 641 | 535 | /-! ## Compatibility with the phase and graph already formalized -/ |
| 642 | 536 | |
| 643 | -/-- This carrier is the previously formalized slot harmonic, including its | |
| 644 | -integer-harmonic and angular-period conventions. -/ | |
| 645 | -theorem carrier_eq_slot_harmonic (k : ℝ) (j : ℤ) (ε p pz x₀ : ℝ) | |
| 646 | - (F G : PhaseCalculus.Slow → ℝ) : | |
| 647 | - carrier (k * (j : ℝ)) (PhaseCalculus.phase ε p pz x₀ F G) = | |
| 648 | - PhaseCalculus.harmonic k j ε p pz x₀ F G := by | |
| 649 | - funext q | |
| 650 | - unfold carrier phaseFactor PhaseCalculus.harmonic | |
| 651 | - apply congrArg Complex.exp | |
| 652 | - simp only [Complex.ofReal_mul] | |
| 653 | - ring | |
| 654 | - | |
| 655 | -/-- The graph direction in the axial slot is `ε ∂Z`; after that rescaling | |
| 656 | -the normal here is exactly the normal used in the phase module. -/ | |
| 657 | -theorem phaseNormal_eq_slot_normal (ε p pz x₀ : ℝ) | |
| 658 | - (F G : PhaseCalculus.Slow → ℝ) (q : PhaseCalculus.Slot) : | |
| 659 | - phaseNormal (fun y : PhaseCalculus.Slot => y.1.1) | |
| 660 | - (fun _ => PhaseCalculus.eR) (fun _ => PhaseCalculus.eTheta) | |
| 661 | - (fun _ => ε • PhaseCalculus.eZ) (PhaseCalculus.phase ε p pz x₀ F G) q = | |
| 662 | - PhaseCalculus.phaseNormal ε p pz x₀ F G q := by | |
| 663 | - ext i | |
| 664 | - fin_cases i <;> | |
| 665 | - simp [phaseNormal, PhaseCalculus.phaseNormal, along, map_smul, smul_eq_mul] | |
| 666 | - | |
| 667 | -/-- Restricting a complex harmonic to the actual auxiliary graph gives the | |
| 668 | -radial product formula with the genuine radial graph vector field. -/ | |
| 669 | -theorem graph_deriv_radial_mode (d : ℝ) (vr vt : GraphCalculus.Plane) (κ : ℝ) | |
| 670 | - {Φ : GraphCalculus.Lift → ℝ} {a : GraphCalculus.Lift → ℂ} {r t : ℝ} | |
| 671 | - (hr : r ≠ 0) (hΦ : DifferentiableAt ℝ Φ (GraphCalculus.graph d vr vt (r, t))) | |
| 672 | - (ha : DifferentiableAt ℝ a (GraphCalculus.graph d vr vt (r, t))) : | |
| 673 | - deriv (fun s => mode κ Φ a (GraphCalculus.graph d vr vt (s, t))) r = | |
| 674 | - (along (GraphCalculus.radialVector d vr) a (GraphCalculus.graph d vr vt (r, t)) + | |
| 675 | - phaseFactor κ * Complex.ofReal | |
| 676 | - (along (GraphCalculus.radialVector d vr) Φ (GraphCalculus.graph d vr vt (r, t))) * | |
| 677 | - a (GraphCalculus.graph d vr vt (r, t))) * | |
| 678 | - carrier κ Φ (GraphCalculus.graph d vr vt (r, t)) := by | |
| 679 | - have hm : DifferentiableAt ℝ (mode κ Φ a) (GraphCalculus.graph d vr vt (r, t)) := | |
| 680 | - ha.mul (differentiableAt_carrier κ hΦ) | |
| 681 | - calc | |
| 682 | - _ = along (GraphCalculus.radialVector d vr) (mode κ Φ a) | |
| 683 | - (GraphCalculus.graph d vr vt (r, t)) := | |
| 684 | - (hm.hasFDerivAt.comp_hasDerivAt r | |
| 685 | - (GraphCalculus.hasDerivAt_graph_radial d vr vt r t hr)).deriv | |
| 686 | - _ = _ := along_mode _ κ hΦ ha | |
| 687 | - | |
| 688 | -/-- The analogous actual graph pullback identity in its time direction. -/ | |
| 689 | -theorem graph_deriv_time_mode (d : ℝ) (vr vt : GraphCalculus.Plane) (κ : ℝ) | |
| 690 | - {Φ : GraphCalculus.Lift → ℝ} {a : GraphCalculus.Lift → ℂ} {r t : ℝ} | |
| 691 | - (hΦ : DifferentiableAt ℝ Φ (GraphCalculus.graph d vr vt (r, t))) | |
| 692 | - (ha : DifferentiableAt ℝ a (GraphCalculus.graph d vr vt (r, t))) : | |
| 693 | - deriv (fun s => mode κ Φ a (GraphCalculus.graph d vr vt (r, s))) t = | |
| 694 | - (along (fun _ => GraphCalculus.timeVector vt) a (GraphCalculus.graph d vr vt (r, t)) + | |
| 695 | - phaseFactor κ * Complex.ofReal | |
| 696 | - (along (fun _ => GraphCalculus.timeVector vt) Φ (GraphCalculus.graph d vr vt (r, t))) * | |
| 697 | - a (GraphCalculus.graph d vr vt (r, t))) * | |
| 698 | - carrier κ Φ (GraphCalculus.graph d vr vt (r, t)) := by | |
| 699 | - have hm : DifferentiableAt ℝ (mode κ Φ a) (GraphCalculus.graph d vr vt (r, t)) := | |
| 700 | - ha.mul (differentiableAt_carrier κ hΦ) | |
| 701 | - calc | |
| 702 | - _ = along (fun _ => GraphCalculus.timeVector vt) (mode κ Φ a) | |
| 703 | - (GraphCalculus.graph d vr vt (r, t)) := | |
| 704 | - (hm.hasFDerivAt.comp_hasDerivAt t | |
| 705 | - (GraphCalculus.hasDerivAt_graph_time d vr vt r t)).deriv | |
| 706 | - _ = _ := along_mode _ κ hΦ ha | |
| 707 | - | |
| 708 | 537 | end NavierStokes.HarmonicCalculus |
+0 −76 NavierStokes/HarmonicCovariance.lean View file
| @@ -139,82 +139,6 @@ theorem mixedBlockCovariance_mem {s : StripData D} {P : ℕ → D → ℝ} {α | ||
| 139 | 139 | (fun n => hband.1 n i) (ha i) (hb j) hP0 hP1 |
| 140 | 140 | a.frequency a.phase a.angularFrequency hkp |
| 141 | 141 | |
| 142 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 143 | -theorem angularAverage_add {f g : OscillatoryScalar D} | |
| 144 | - (hf : ∀ n x, Continuous (fun θ : ℝ => f n (x, θ))) | |
| 145 | - (hg : ∀ n x, Continuous (fun θ : ℝ => g n (x, θ))) : | |
| 146 | - angularAverage (f + g) = angularAverage f + angularAverage g := by | |
| 147 | - funext n x | |
| 148 | - exact HarmonicResidual.realAngularMean_add (hf n x) (hg n x) | |
| 149 | - | |
| 150 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 151 | -theorem angularProduct_add_error (A B C E : OscillatoryScalar D) | |
| 152 | - (hA : ∀ n x, Continuous (fun θ : ℝ => A n (x, θ))) | |
| 153 | - (hB : ∀ n x, Continuous (fun θ : ℝ => B n (x, θ))) | |
| 154 | - (hC : ∀ n x, Continuous (fun θ : ℝ => C n (x, θ))) | |
| 155 | - (hE : ∀ n x, Continuous (fun θ : ℝ => E n (x, θ))) : | |
| 156 | - angularAverage ((A + C) * (B + E)) - angularAverage (A * B) = | |
| 157 | - angularAverage (A * E) + angularAverage (C * B) + angularAverage (C * E) := by | |
| 158 | - have he : (A + C) * (B + E) = A * B + (A * E + C * B + C * E) := by | |
| 159 | - funext n p | |
| 160 | - simp only [Pi.add_apply, Pi.mul_apply] | |
| 161 | - ring | |
| 162 | - rw [he, angularAverage_add | |
| 163 | - (fun n x => (hA n x).mul (hB n x)) | |
| 164 | - (fun n x => ((hA n x).mul (hE n x)).add ((hC n x).mul (hB n x)) |>.add | |
| 165 | - ((hC n x).mul (hE n x))), | |
| 166 | - angularAverage_add | |
| 167 | - (fun n x => ((hA n x).mul (hE n x)).add ((hC n x).mul (hB n x))) | |
| 168 | - (fun n x => (hC n x).mul (hE n x)), | |
| 169 | - angularAverage_add | |
| 170 | - (fun n x => (hA n x).mul (hE n x)) | |
| 171 | - (fun n x => (hC n x).mul (hB n x))] | |
| 172 | - abel | |
| 173 | - | |
| 174 | -/-- The error in the actual angular covariance has order `1.5-κ`: | |
| 175 | -the two primary-curl products and the curl-curl product are all retained. -/ | |
| 176 | -theorem realAngularProduct_curl_error_mem {s : StripData D} {P : ℕ → D → ℝ} | |
| 177 | - {κ : ℝ} (hκ : κ ≤ 1 / 2) | |
| 178 | - (a b da db : ℕ → Coefficients D) (N : ℕ) | |
| 179 | - (hband : ∀ n, BandLimited (a n) N) (hdband : ∀ n, BandLimited (da n) N) | |
| 180 | - (ha : ∀ j, WaveClass s P (1 / 2) (fun n x => a n j x)) | |
| 181 | - (hb : ∀ j, WaveClass s P (1 / 2) (fun n x => b n j x)) | |
| 182 | - (hda : ∀ j, WaveClass s P (1 - κ) (fun n x => da n j x)) | |
| 183 | - (hdb : ∀ j, WaveClass s P (1 - κ) (fun n x => db n j x)) | |
| 184 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 185 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) | |
| 186 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) (hkp : ∀ n, kp n ≠ 0) : | |
| 187 | - MeanClass s (3 / 2 - κ) | |
| 188 | - (angularAverage (fun n p => | |
| 189 | - (field (a n + da n) (k n) (Φ n) (kp n) p).re * | |
| 190 | - (field (b n + db n) (k n) (Φ n) (kp n) p).re) - | |
| 191 | - angularAverage (fun n p => | |
| 192 | - (field (a n) (k n) (Φ n) (kp n) p).re * | |
| 193 | - (field (b n) (k n) (Φ n) (kp n) p).re)) := by | |
| 194 | - let A : OscillatoryScalar D := fun n p => (field (a n) (k n) (Φ n) (kp n) p).re | |
| 195 | - let B : OscillatoryScalar D := fun n p => (field (b n) (k n) (Φ n) (kp n) p).re | |
| 196 | - let C : OscillatoryScalar D := fun n p => (field (da n) (k n) (Φ n) (kp n) p).re | |
| 197 | - let E : OscillatoryScalar D := fun n p => (field (db n) (k n) (Φ n) (kp n) p).re | |
| 198 | - have hAE : MeanClass s (3 / 2 - κ) (angularAverage (A * E)) := by | |
| 199 | - convert! realAngularProduct_mem a db N hband ha hdb hP0 hP1 k Φ kp hkp using 1 | |
| 200 | - ring | |
| 201 | - have hCB : MeanClass s (3 / 2 - κ) (angularAverage (C * B)) := by | |
| 202 | - convert! realAngularProduct_mem da b N hdband hda hb hP0 hP1 k Φ kp hkp using 1 | |
| 203 | - ring | |
| 204 | - have hCE : MeanClass s (3 / 2 - κ) (angularAverage (C * E)) := | |
| 205 | - (realAngularProduct_mem da db N hdband hda hdb hP0 hP1 k Φ kp hkp).mono_exponent (by linarith) | |
| 206 | - have he := angularProduct_add_error A B C E | |
| 207 | - (fun n x => Complex.continuous_re.comp (field_angular_continuous (a n) (k n) (Φ n) (kp n) x)) | |
| 208 | - (fun n x => Complex.continuous_re.comp (field_angular_continuous (b n) (k n) (Φ n) (kp n) x)) | |
| 209 | - (fun n x => Complex.continuous_re.comp (field_angular_continuous (da n) (k n) (Φ n) (kp n) x)) | |
| 210 | - (fun n x => Complex.continuous_re.comp (field_angular_continuous (db n) (k n) (Φ n) (kp n) x)) | |
| 211 | - have herr : MeanClass s (3 / 2 - κ) | |
| 212 | - (angularAverage ((A + C) * (B + E)) - angularAverage (A * B)) := by | |
| 213 | - rw [he] | |
| 214 | - exact (hAE.add hCB).add hCE | |
| 215 | - simp only [A, B, C, E, HarmonicResidual.field_add, Complex.add_re] at herr ⊢ | |
| 216 | - exact herr | |
| 217 | - | |
| 218 | 142 | end RealCoefficientCovariance |
| 219 | 143 | |
| 220 | 144 | end NavierStokes.HarmonicCovariance |
+0 −224 NavierStokes/HarmonicFields.lean View file
| @@ -203,28 +203,6 @@ theorem angularMean_field {α : Type*} (c : Coefficients α) (k : ℝ) (Φ : α | ||
| 203 | 203 | noncomputable def coefficientMass {α : Type*} (c : Coefficients α) (x : α) : ℝ := |
| 204 | 204 | ∑ j ∈ c.support, ‖c j x‖ |
| 205 | 205 | |
| 206 | -theorem coefficientMass_nonneg {α : Type*} (c : Coefficients α) (x : α) : | |
| 207 | - 0 ≤ coefficientMass c x := Finset.sum_nonneg (fun _ _ => norm_nonneg _) | |
| 208 | - | |
| 209 | -/-- A value estimate with constant one, independent of every frequency | |
| 210 | -and of the largest occupied harmonic. -/ | |
| 211 | -theorem norm_evaluate_le_mass {α : Type*} (c : Coefficients α) (x : α) (φ : ℝ) : | |
| 212 | - ‖evaluate c x φ‖ ≤ coefficientMass c x := by | |
| 213 | - calc | |
| 214 | - _ ≤ ∑ j ∈ c.support, ‖c j x * character j φ‖ := norm_sum_le _ _ | |
| 215 | - _ = _ := by simp only [norm_mul, norm_character, mul_one, coefficientMass] | |
| 216 | - | |
| 217 | -theorem norm_field_le_mass {α : Type*} (c : Coefficients α) (k : ℝ) (Φ : α → ℝ) | |
| 218 | - (kp : ℤ) (p : α × ℝ) : ‖field c k Φ kp p‖ ≤ coefficientMass c p.1 := | |
| 219 | - norm_evaluate_le_mass c p.1 _ | |
| 220 | - | |
| 221 | -theorem norm_field_product_le {α : Type*} (c d : Coefficients α) (k : ℝ) (Φ : α → ℝ) | |
| 222 | - (kp : ℤ) (p : α × ℝ) : | |
| 223 | - ‖field (c * d) k Φ kp p‖ ≤ coefficientMass c p.1 * coefficientMass d p.1 := by | |
| 224 | - rw [field_mul, norm_mul] | |
| 225 | - exact mul_le_mul (norm_field_le_mass c k Φ kp p) (norm_field_le_mass d k Φ kp p) | |
| 226 | - (norm_nonneg _) (coefficientMass_nonneg c p.1) | |
| 227 | - | |
| 228 | 206 | theorem convolution_apply {α : Type*} (c d : Coefficients α) (m : ℤ) (x : α) : |
| 229 | 207 | (c * d) m x = ∑ j ∈ c.support, c j x * d (m - j) x := by |
| 230 | 208 | rw [AddMonoidAlgebra.coeff_mul] |
| @@ -284,51 +262,6 @@ theorem field_real {α : Type*} {c : Coefficients α} (hc : ConjugateSymmetric c | ||
| 284 | 262 | ((field c k Φ kp p).re : ℂ) = field c k Φ kp p := |
| 285 | 263 | Complex.conj_eq_iff_re.mp (evaluate_conj_eq_self hc p.1 _) |
| 286 | 264 | |
| 287 | -/-- The zero mode of the actual product is the complex coefficient | |
| 288 | -covariance, with conjugacy supplying the negative harmonics. -/ | |
| 289 | -theorem angularMean_coefficient_covariance {α : Type*} (c : Coefficients α) | |
| 290 | - {d : Coefficients α} (hd : ConjugateSymmetric d) (k : ℝ) (Φ : α → ℝ) | |
| 291 | - {kp : ℤ} (hkp : kp ≠ 0) (x : α) : | |
| 292 | - angularMean (fun θ => field c k Φ kp (x, θ) * field d k Φ kp (x, θ)) = | |
| 293 | - ∑ j ∈ c.support, c j x * conj (d j x) := by | |
| 294 | - rw [angularMean_product c d k Φ hkp x] | |
| 295 | - exact Finset.sum_congr rfl (fun j _ => congrArg (c j x * ·) (hd j x)) | |
| 296 | - | |
| 297 | -theorem chart_trace (c : Coefficients ProblemStatement.SpaceTime) (Ψ : ProblemStatement.SpaceTime → ℝ) | |
| 298 | - (kp : ℤ) (hc : ∀ j ∈ c.support, MeanResidual.AngularInvariant (c j)) | |
| 299 | - (hΨ : ∀ q θ, Ψ (MeanResidual.angularShift q θ) = Ψ q + (kp : ℝ) * θ) | |
| 300 | - (q : ProblemStatement.SpaceTime) (θ : ℝ) : | |
| 301 | - evaluate c (MeanResidual.angularShift q θ) (Ψ (MeanResidual.angularShift q θ)) = | |
| 302 | - field c 1 Ψ kp (q, θ) := by | |
| 303 | - rw [hΨ] | |
| 304 | - unfold evaluate field | |
| 305 | - simp only [one_mul] | |
| 306 | - exact Finset.sum_congr rfl (fun j hj => congrArg (· * character j (Ψ q + (kp : ℝ) * θ)) | |
| 307 | - (hc j hj q θ)) | |
| 308 | - | |
| 309 | -/-- The coefficient covariance is the actual angular average used by | |
| 310 | -`MeanResidual`, when coefficients are angularly invariant and the phase | |
| 311 | -has the stated integer angular increment. -/ | |
| 312 | -theorem meanResidual_product_covariance | |
| 313 | - (c d : Coefficients ProblemStatement.SpaceTime) (Ψ : ProblemStatement.SpaceTime → ℝ) | |
| 314 | - {kp : ℤ} (hkp : kp ≠ 0) | |
| 315 | - (hc : ∀ j ∈ c.support, MeanResidual.AngularInvariant (c j)) | |
| 316 | - (hd : ∀ j ∈ d.support, MeanResidual.AngularInvariant (d j)) | |
| 317 | - (hΨ : ∀ q θ, Ψ (MeanResidual.angularShift q θ) = Ψ q + (kp : ℝ) * θ) | |
| 318 | - (hconj : ConjugateSymmetric d) (q : ProblemStatement.SpaceTime) : | |
| 319 | - MeanResidual.average (fun y => evaluate c y (Ψ y) * evaluate d y (Ψ y)) q = | |
| 320 | - ∑ j ∈ c.support, c j q * conj (d j q) := by | |
| 321 | - have he : MeanResidual.average (fun y => evaluate c y (Ψ y) * evaluate d y (Ψ y)) q = | |
| 322 | - angularMean (fun θ => field c 1 Ψ kp (q, θ) * field d 1 Ψ kp (q, θ)) := by | |
| 323 | - simp only [MeanResidual.average, angularMean, MeanResidual.period, period, | |
| 324 | - Complex.real_smul, Complex.ofReal_inv] | |
| 325 | - congr 1 | |
| 326 | - apply intervalIntegral.integral_congr | |
| 327 | - intro θ hθ | |
| 328 | - dsimp only | |
| 329 | - rw [chart_trace c Ψ kp hc hΨ, chart_trace d Ψ kp hd hΨ] | |
| 330 | - rw [he, angularMean_coefficient_covariance c hconj 1 Ψ hkp q] | |
| 331 | - | |
| 332 | 265 | def BandLimited {α : Type*} (c : Coefficients α) (N : ℕ) : Prop := |
| 333 | 266 | ∀ j ∈ c.support, j.natAbs ≤ N |
| 334 | 267 | |
| @@ -363,74 +296,6 @@ noncomputable def constantCoefficient {α : Type*} (a : α → ℂ) : Coefficien | ||
| 363 | 296 | theorem band_constantCoefficient {α : Type*} (a : α → ℂ) : |
| 364 | 297 | BandLimited (constantCoefficient a) 0 := band_single_zero a |
| 365 | 298 | |
| 366 | -/-- A literal quadratic update with arbitrary slow coefficient functions. -/ | |
| 367 | -noncomputable def quadraticStep {α : Type*} (A B C : α → ℂ) (c : Coefficients α) : | |
| 368 | - Coefficients α := | |
| 369 | - constantCoefficient A + constantCoefficient B * c + constantCoefficient C * (c * c) | |
| 370 | - | |
| 371 | -theorem band_quadraticStep {α : Type*} (A B C : α → ℂ) {c : Coefficients α} {N : ℕ} | |
| 372 | - (hc : BandLimited c N) : BandLimited (quadraticStep A B C c) (N + N) := by | |
| 373 | - have hB : BandLimited (constantCoefficient B * c) N := by | |
| 374 | - simpa only [zero_add] using (band_constantCoefficient B).mul hc | |
| 375 | - have hC : BandLimited (constantCoefficient C * (c * c)) (N + N) := by | |
| 376 | - simpa only [zero_add] using (band_constantCoefficient C).mul (hc.mul hc) | |
| 377 | - exact ((band_constantCoefficient A).mono (Nat.zero_le _) |>.add | |
| 378 | - (hB.mono (Nat.le_add_right _ _))).add hC | |
| 379 | - | |
| 380 | -noncomputable def quadraticIterate {α : Type*} (A B C : ℕ → α → ℂ) (c : Coefficients α) : | |
| 381 | - ℕ → Coefficients α | |
| 382 | - | 0 => c | |
| 383 | - | n + 1 => quadraticStep (A n) (B n) (C n) (quadraticIterate A B C c n) | |
| 384 | - | |
| 385 | -/-- Starting in harmonics `{-1,0,1}`, the actual convolution update has | |
| 386 | -largest harmonic value at most `2^stage`. This is a bound on values, | |
| 387 | -not merely on the number of supported frequencies. -/ | |
| 388 | -theorem band_quadraticIterate {α : Type*} (A B C : ℕ → α → ℂ) {c : Coefficients α} | |
| 389 | - (hc : BandLimited c 1) (n : ℕ) : BandLimited (quadraticIterate A B C c n) (2 ^ n) := by | |
| 390 | - induction n with | |
| 391 | - | zero => simpa only [quadraticIterate, pow_zero] using hc | |
| 392 | - | succ n ih => | |
| 393 | - simpa only [quadraticIterate, pow_succ, mul_two] using | |
| 394 | - band_quadraticStep (A n) (B n) (C n) ih | |
| 395 | - | |
| 396 | -theorem quadratic_angular_frequency_bound {α : Type*} (A B C : ℕ → α → ℂ) | |
| 397 | - {c : Coefficients α} (hc : BandLimited c 1) (n : ℕ) (kp : ℤ) | |
| 398 | - {j : ℤ} (hj : j ∈ (quadraticIterate A B C c n).support) : | |
| 399 | - (j * kp).natAbs ≤ 2 ^ n * kp.natAbs := by | |
| 400 | - rw [Int.natAbs_mul] | |
| 401 | - exact Nat.mul_le_mul_right _ (band_quadraticIterate A B C hc n j hj) | |
| 402 | - | |
| 403 | -theorem field_quadraticStep {α : Type*} (A B C : α → ℂ) (c : Coefficients α) | |
| 404 | - (k : ℝ) (Φ : α → ℝ) (kp : ℤ) (p : α × ℝ) : | |
| 405 | - field (quadraticStep A B C c) k Φ kp p = | |
| 406 | - A p.1 + B p.1 * field c k Φ kp p + C p.1 * field c k Φ kp p ^ 2 := by | |
| 407 | - simp only [quadraticStep, field, evaluate_add, evaluate_mul, constantCoefficient, evaluate_single, | |
| 408 | - character_zero, mul_one, pow_two] | |
| 409 | - | |
| 410 | -noncomputable def quadraticEnvelope {α : Type*} (A B C : ℕ → α → ℂ) | |
| 411 | - (c : Coefficients α) (x : α) : ℕ → ℝ | |
| 412 | - | 0 => coefficientMass c x | |
| 413 | - | n + 1 => ‖A n x‖ + ‖B n x‖ * quadraticEnvelope A B C c x n + | |
| 414 | - ‖C n x‖ * quadraticEnvelope A B C c x n ^ 2 | |
| 415 | - | |
| 416 | -/-- The value envelope follows the actual quadratic update and contains | |
| 417 | -no factor involving the harmonic band or its cardinality. -/ | |
| 418 | -theorem norm_quadraticIterate_le {α : Type*} (A B C : ℕ → α → ℂ) (c : Coefficients α) | |
| 419 | - (k : ℝ) (Φ : α → ℝ) (kp : ℤ) (p : α × ℝ) (n : ℕ) : | |
| 420 | - ‖field (quadraticIterate A B C c n) k Φ kp p‖ ≤ quadraticEnvelope A B C c p.1 n := by | |
| 421 | - induction n with | |
| 422 | - | zero => exact norm_field_le_mass c k Φ kp p | |
| 423 | - | succ n ih => | |
| 424 | - rw [quadraticIterate, field_quadraticStep, quadraticEnvelope] | |
| 425 | - calc | |
| 426 | - _ ≤ ‖A n p.1‖ + ‖B n p.1‖ * ‖field (quadraticIterate A B C c n) k Φ kp p‖ + | |
| 427 | - ‖C n p.1‖ * ‖field (quadraticIterate A B C c n) k Φ kp p‖ ^ 2 := by | |
| 428 | - exact (norm_add_le _ _).trans (add_le_add | |
| 429 | - ((norm_add_le _ _).trans (by rw [norm_mul])) (by rw [norm_mul, norm_pow])) | |
| 430 | - _ ≤ _ := add_le_add | |
| 431 | - (add_le_add_right (mul_le_mul_of_nonneg_left ih (norm_nonneg _)) _) | |
| 432 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) ih 2) (norm_nonneg _)) | |
| 433 | - | |
| 434 | 299 | section Derivatives |
| 435 | 300 | |
| 436 | 301 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -445,18 +310,6 @@ theorem character_eq_carrier (j : ℤ) (k : ℝ) (Φ : E → ℝ) (x : E) : | ||
| 445 | 310 | simp only [HarmonicCalculus.phaseFactor, Complex.ofReal_mul, Complex.ofReal_intCast] |
| 446 | 311 | ring |
| 447 | 312 | |
| 448 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 449 | -theorem wave_eq_evaluate (c : Coefficients E) (k : ℝ) (Φ : E → ℝ) (x : E) : | |
| 450 | - wave c k Φ x = evaluate c x (k * Φ x) := by | |
| 451 | - apply Finset.sum_congr rfl | |
| 452 | - intro j hj | |
| 453 | - change c j x * Complex.exp (HarmonicCalculus.phaseFactor (k * (j : ℝ)) * (Φ x : ℂ)) = | |
| 454 | - c j x * Complex.exp ((j : ℂ) * ((k * Φ x : ℝ) : ℂ) * Complex.I) | |
| 455 | - apply congrArg (c j x * ·) | |
| 456 | - apply congrArg Complex.exp | |
| 457 | - simp only [HarmonicCalculus.phaseFactor, Complex.ofReal_mul, Complex.ofReal_intCast] | |
| 458 | - ring | |
| 459 | - | |
| 460 | 313 | noncomputable def derivativeCoefficient (V : E → E) (k : ℝ) (Φ : E → ℝ) |
| 461 | 314 | (j : ℤ) (a : E → ℂ) (x : E) : ℂ := |
| 462 | 315 | HarmonicCalculus.along V a x + HarmonicCalculus.phaseFactor (k * (j : ℝ)) * |
| @@ -491,35 +344,6 @@ theorem BandLimited.differentiate (V : E → E) (k : ℝ) (Φ : E → ℝ) | ||
| 491 | 344 | BandLimited (differentiate V k Φ c) N := |
| 492 | 345 | fun j hj => hc j (support_differentiate V k Φ c hj) |
| 493 | 346 | |
| 494 | -theorem wave_differentiate_expansion (V : E → E) (k : ℝ) (Φ : E → ℝ) | |
| 495 | - (c : Coefficients E) (x : E) : | |
| 496 | - wave (differentiate V k Φ c) k Φ x = | |
| 497 | - ∑ j ∈ c.support, derivativeCoefficient V k Φ j (c j) x * | |
| 498 | - HarmonicCalculus.carrier (k * (j : ℝ)) Φ x := by | |
| 499 | - unfold wave Coefficients.sum Finsupp.sum | |
| 500 | - have hs := Finset.sum_subset (support_differentiate V k Φ c) (f := fun j : ℤ => | |
| 501 | - HarmonicCalculus.mode (k * (j : ℝ)) Φ (differentiate V k Φ c j) x) (by | |
| 502 | - intro j hj hnot | |
| 503 | - change HarmonicCalculus.mode (k * (j : ℝ)) Φ (differentiate V k Φ c j) x = 0 | |
| 504 | - rw [Finsupp.notMem_support_iff.mp hnot] | |
| 505 | - simp [HarmonicCalculus.mode]) | |
| 506 | - exact hs | |
| 507 | - | |
| 508 | -/-- Differentiating the actual finite wave applies the full product rule | |
| 509 | -to each coefficient and phase, and introduces no new harmonic values. -/ | |
| 510 | -theorem along_wave (V : E → E) (k : ℝ) (Φ : E → ℝ) (c : Coefficients E) {x : E} | |
| 511 | - (hΦ : DifferentiableAt ℝ Φ x) (hc : ∀ j ∈ c.support, DifferentiableAt ℝ (c j) x) : | |
| 512 | - HarmonicCalculus.along V (wave c k Φ) x = wave (differentiate V k Φ c) k Φ x := by | |
| 513 | - rw [wave_differentiate_expansion] | |
| 514 | - change fderiv ℝ (fun y => ∑ j ∈ c.support, | |
| 515 | - HarmonicCalculus.mode (k * (j : ℝ)) Φ (c j) y) x (V x) = _ | |
| 516 | - dsimp only [HarmonicCalculus.mode] | |
| 517 | - rw [fderiv_fun_sum (fun j hj => (hc j hj).fun_mul | |
| 518 | - (HarmonicCalculus.differentiableAt_carrier (k * (j : ℝ)) hΦ))] | |
| 519 | - simp only [_root_.sum_apply] | |
| 520 | - exact Finset.sum_congr rfl (fun j hj => HarmonicCalculus.along_mode V | |
| 521 | - (k * (j : ℝ)) hΦ (hc j hj)) | |
| 522 | - | |
| 523 | 347 | theorem along_field_slow (V : E → E) (k : ℝ) (Φ : E → ℝ) (kp : ℤ) |
| 524 | 348 | (c : Coefficients E) (θ : ℝ) {x : E} |
| 525 | 349 | (hΦ : DifferentiableAt ℝ Φ x) (hc : ∀ j ∈ c.support, DifferentiableAt ℝ (c j) x) : |
| @@ -557,54 +381,6 @@ theorem derivativeCoefficient_contDiffOn {U : Set E} (hU : IsOpen U) | ||
| 557 | 381 | ((contDiffOn_const.mul (Complex.ofRealCLM.contDiff.comp_contDiffOn |
| 558 | 382 | (HarmonicCalculus.contDiffOn_along hU hV hΦ))).mul ha) |
| 559 | 383 | |
| 560 | -theorem differentiate_contDiffOn {U : Set E} (hU : IsOpen U) | |
| 561 | - {V : E → E} {Φ : E → ℝ} (hV : ContDiffOn ℝ ∞ V U) (hΦ : ContDiffOn ℝ ∞ Φ U) | |
| 562 | - (k : ℝ) {c : Coefficients E} (hc : ∀ j ∈ c.support, ContDiffOn ℝ ∞ (c j) U) : | |
| 563 | - ∀ j ∈ (differentiate V k Φ c).support, ContDiffOn ℝ ∞ (differentiate V k Φ c j) U := by | |
| 564 | - intro j hj | |
| 565 | - exact derivativeCoefficient_contDiffOn hU hV hΦ (hc j (support_differentiate V k Φ c hj)) k j | |
| 566 | - | |
| 567 | -noncomputable def iteratedCoefficients (V : E → E) (k : ℝ) (Φ : E → ℝ) (c : Coefficients E) : | |
| 568 | - ℕ → Coefficients E | |
| 569 | - | 0 => c | |
| 570 | - | n + 1 => differentiate V k Φ (iteratedCoefficients V k Φ c n) | |
| 571 | - | |
| 572 | -noncomputable def iteratedAlong (V : E → E) : ℕ → (E → ℂ) → E → ℂ | |
| 573 | - | 0, f => f | |
| 574 | - | n + 1, f => HarmonicCalculus.along V (iteratedAlong V n f) | |
| 575 | - | |
| 576 | -theorem band_iteratedCoefficients (V : E → E) (k : ℝ) (Φ : E → ℝ) | |
| 577 | - {c : Coefficients E} {N : ℕ} (hc : BandLimited c N) (n : ℕ) : | |
| 578 | - BandLimited (iteratedCoefficients V k Φ c n) N := by | |
| 579 | - induction n with | |
| 580 | - | zero => exact hc | |
| 581 | - | succ n ih => exact ih.differentiate V k Φ | |
| 582 | - | |
| 583 | -theorem iteratedCoefficients_contDiffOn {U : Set E} (hU : IsOpen U) | |
| 584 | - {V : E → E} {Φ : E → ℝ} (hV : ContDiffOn ℝ ∞ V U) (hΦ : ContDiffOn ℝ ∞ Φ U) | |
| 585 | - (k : ℝ) {c : Coefficients E} (hc : ∀ j ∈ c.support, ContDiffOn ℝ ∞ (c j) U) (n : ℕ) : | |
| 586 | - ∀ j ∈ (iteratedCoefficients V k Φ c n).support, | |
| 587 | - ContDiffOn ℝ ∞ (iteratedCoefficients V k Φ c n j) U := by | |
| 588 | - induction n with | |
| 589 | - | zero => exact hc | |
| 590 | - | succ n ih => exact differentiate_contDiffOn hU hV hΦ k ih | |
| 591 | - | |
| 592 | -/-- All repeated actual directional derivatives retain the original | |
| 593 | -finite set of harmonic values. Direction-field derivatives are included. -/ | |
| 594 | -theorem iteratedAlong_wave {U : Set E} (hU : IsOpen U) | |
| 595 | - {V : E → E} {Φ : E → ℝ} (hV : ContDiffOn ℝ ∞ V U) (hΦ : ContDiffOn ℝ ∞ Φ U) | |
| 596 | - (k : ℝ) {c : Coefficients E} (hc : ∀ j ∈ c.support, ContDiffOn ℝ ∞ (c j) U) (n : ℕ) : | |
| 597 | - EqOn (iteratedAlong V n (wave c k Φ)) (wave (iteratedCoefficients V k Φ c n) k Φ) U := by | |
| 598 | - induction n with | |
| 599 | - | zero => exact fun _ _ => rfl | |
| 600 | - | succ n ih => | |
| 601 | - intro x hx | |
| 602 | - change HarmonicCalculus.along V (iteratedAlong V n (wave c k Φ)) x = _ | |
| 603 | - rw [HarmonicCalculus.along_congr hU ih hx] | |
| 604 | - exact along_wave V k Φ _ ((hΦ.contDiffAt (hU.mem_nhds hx)).differentiableAt (by simp)) | |
| 605 | - (fun j hj => ((iteratedCoefficients_contDiffOn hU hV hΦ k hc n j hj).contDiffAt | |
| 606 | - (hU.mem_nhds hx)).differentiableAt (by simp)) | |
| 607 | - | |
| 608 | 384 | end Derivatives |
| 609 | 385 | |
| 610 | 386 | theorem character_hasDerivAt (j : ℤ) (θ : ℝ) : |
+0 −178 NavierStokes/HarmonicMeanInteraction.lean View file
| @@ -56,15 +56,6 @@ theorem constant_mul_constant (f g : D → ℂ) : | ||
| 56 | 56 | · simp [hj, constantCoefficient] |
| 57 | 57 | · simp [constantCoefficient, hj] |
| 58 | 58 | |
| 59 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 60 | -theorem constant_add (f g : D → ℂ) : | |
| 61 | - constantCoefficient f + constantCoefficient g = constantCoefficient (fun x => f x + g x) := by | |
| 62 | - ext j x | |
| 63 | - by_cases hj : j = 0 | |
| 64 | - · subst j | |
| 65 | - simp [constantCoefficient] | |
| 66 | - · simp [constantCoefficient, hj] | |
| 67 | - | |
| 68 | 59 | theorem differentiate_constant (V : D → D) (k : ℝ) (Φ : D → ℝ) (f : D → ℂ) : |
| 69 | 60 | differentiate V k Φ (constantCoefficient f) = constantCoefficient (along V f) := by |
| 70 | 61 | ext j x |
| @@ -147,12 +138,6 @@ theorem realCoefficients_add (a b : Coefficients D) : | ||
| 147 | 138 | simp only [HarmonicResidual.realCoefficients_apply, coeff_add, map_add] |
| 148 | 139 | ring |
| 149 | 140 | |
| 150 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 151 | -theorem realCoefficients_local_congr {U : Set D} {a b : Coefficients D} | |
| 152 | - (hab : ∀ j x, x ∈ U → a j x = b j x) (j : ℤ) {x : D} (hx : x ∈ U) : | |
| 153 | - HarmonicResidual.realCoefficients a j x = HarmonicResidual.realCoefficients b j x := by | |
| 154 | - simp only [HarmonicResidual.realCoefficients_apply, hab j x hx, hab (-j) x hx] | |
| 155 | - | |
| 156 | 141 | noncomputable def tripleField (h : MeanIncrementBounds.Triple D) (n : ℕ) (x : D) : ComplexVector := |
| 157 | 142 | ![(h.radial n x : ℂ), (h.angular n x : ℂ), (h.axial n x : ℂ)] |
| 158 | 143 | |
| @@ -448,16 +433,6 @@ noncomputable def residualDifferenceBlock (c : CorrectionState.Context D) | ||
| 448 | 433 | phase := b.phase |
| 449 | 434 | angularFrequency := b.angularFrequency |
| 450 | 435 | |
| 451 | -theorem residualDifferenceBlock_field (c : CorrectionState.Context D) | |
| 452 | - (s₀ s₁ : CorrectionState.State D) (b : CorrectionState.HarmonicBlock D) | |
| 453 | - (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) (n : ℕ) (x : D × ℝ) (i : Fin 3) : | |
| 454 | - (residualDifferenceBlock c s₀ s₁ b G A₀ A₁).oscillation n x i = | |
| 455 | - (HarmonicResidual.residualBlock c s₁ b G A₁).oscillation n x i - | |
| 456 | - (HarmonicResidual.residualBlock c s₀ b G A₀).oscillation n x i := by | |
| 457 | - simp only [residualDifferenceBlock, CorrectionState.HarmonicBlock.oscillation, | |
| 458 | - HarmonicResidual.field_sub, Complex.sub_re] | |
| 459 | - rfl | |
| 460 | - | |
| 461 | 436 | theorem residualDifferenceBlock_class {s : StripData D} {κ α H : ℝ} {P : ℕ → D → ℝ} |
| 462 | 437 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 463 | 438 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| @@ -480,157 +455,4 @@ theorem residualDifferenceBlock_class {s : StripData D} {κ α H : ℝ} {P : ℕ | ||
| 480 | 455 | |
| 481 | 456 | /-! ## Frequency support and physical cross-advection -/ |
| 482 | 457 | |
| 483 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 484 | -theorem nonconstant_sub (a b : Coefficients D) : | |
| 485 | - HarmonicResidual.nonconstant (a - b) = | |
| 486 | - HarmonicResidual.nonconstant a - HarmonicResidual.nonconstant b := by | |
| 487 | - ext j x | |
| 488 | - by_cases hj : j = 0 | |
| 489 | - · subst j | |
| 490 | - simp [HarmonicResidual.nonconstant] | |
| 491 | - · simp only [nonconstant_apply_of_ne _ hj, coeff_sub] | |
| 492 | - | |
| 493 | -noncomputable def transportDifference (g : HarmonicResidual.Frame D) | |
| 494 | - (k : ℝ) (Φ : D → ℝ) (kp : ℤ) (B₀ B₁ : D → ComplexVector) | |
| 495 | - (a : HarmonicResidual.VectorCoefficients D) (i : Fin 3) : Coefficients D := | |
| 496 | - (HarmonicResidual.transport g k Φ kp (HarmonicResidual.constantVector B₁) a i - | |
| 497 | - HarmonicResidual.transport g k Φ kp (HarmonicResidual.constantVector B₀) a i) + | |
| 498 | - (HarmonicResidual.transport g k Φ kp a (HarmonicResidual.constantVector B₁) i - | |
| 499 | - HarmonicResidual.transport g k Φ kp a (HarmonicResidual.constantVector B₀) i) | |
| 500 | - | |
| 501 | -theorem nonlinear_difference_algebra (g : HarmonicResidual.Frame D) | |
| 502 | - (k : ℝ) (Φ : D → ℝ) (kp : ℤ) (B₀ B₁ : D → ComplexVector) | |
| 503 | - (a : HarmonicResidual.VectorCoefficients D) (p : Coefficients D) (i : Fin 3) : | |
| 504 | - HarmonicResidual.nonlinearResidual g k Φ kp (HarmonicResidual.constantVector B₁) a p i - | |
| 505 | - HarmonicResidual.nonlinearResidual g k Φ kp (HarmonicResidual.constantVector B₀) a p i = | |
| 506 | - transportDifference g k Φ kp B₀ B₁ a i := by | |
| 507 | - unfold HarmonicResidual.nonlinearResidual HarmonicResidual.linearResidual transportDifference | |
| 508 | - abel | |
| 509 | - | |
| 510 | -theorem transportDifference_band (g : HarmonicResidual.Frame D) | |
| 511 | - (k : ℝ) (Φ : D → ℝ) (kp : ℤ) (B₀ B₁ : D → ComplexVector) | |
| 512 | - {a : HarmonicResidual.VectorCoefficients D} {N : ℕ} (ha : ∀ i, BandLimited (a i) N) (i : Fin 3) : | |
| 513 | - BandLimited (transportDifference g k Φ kp B₀ B₁ a i) N := by | |
| 514 | - have hleft (B : D → ComplexVector) : | |
| 515 | - BandLimited (HarmonicResidual.transport g k Φ kp (HarmonicResidual.constantVector B) a i) N := by | |
| 516 | - have h := HarmonicResidual.band_transport g k Φ kp (fun j => band_constantCoefficient (fun x => B x j)) ha i | |
| 517 | - simp only [zero_add] at h | |
| 518 | - exact h | |
| 519 | - have hright (B : D → ComplexVector) : | |
| 520 | - BandLimited (HarmonicResidual.transport g k Φ kp a (HarmonicResidual.constantVector B) i) N := by | |
| 521 | - have h := HarmonicResidual.band_transport g k Φ kp ha (fun j => band_constantCoefficient (fun x => B x j)) i | |
| 522 | - simp only [add_zero] at h | |
| 523 | - exact h | |
| 524 | - exact (HarmonicResidual.band_sub (hleft B₁) (hleft B₀)).add | |
| 525 | - (HarmonicResidual.band_sub (hright B₁) (hright B₀)) | |
| 526 | - | |
| 527 | -theorem residualDifferenceBlock_algebra (c : CorrectionState.Context D) | |
| 528 | - (s₀ s₁ : CorrectionState.State D) (b : CorrectionState.HarmonicBlock D) | |
| 529 | - (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) (n : ℕ) (i : Fin 3) : | |
| 530 | - (residualDifferenceBlock c s₀ s₁ b G A₀ A₁).velocity n i = | |
| 531 | - HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients | |
| 532 | - (transportDifference (HarmonicResidual.contextFrame c n) (b.frequency n) (b.phase n) | |
| 533 | - (b.angularFrequency n) | |
| 534 | - (HarmonicResidual.contextBase c n + HarmonicResidual.stateMean s₀ n) | |
| 535 | - (HarmonicResidual.contextBase c n + HarmonicResidual.stateMean s₁ n) | |
| 536 | - (blockAmplitude b n) i - (A₁ n i - A₀ n i))) := by | |
| 537 | - let N₀ := HarmonicResidual.nonlinearResidual (HarmonicResidual.contextFrame c n) | |
| 538 | - (b.frequency n) (b.phase n) (b.angularFrequency n) | |
| 539 | - (HarmonicResidual.constantVector (HarmonicResidual.contextBase c n + HarmonicResidual.stateMean s₀ n)) | |
| 540 | - (blockAmplitude b n) (HarmonicResidual.realCoefficients (b.pressure n)) i | |
| 541 | - let N₁ := HarmonicResidual.nonlinearResidual (HarmonicResidual.contextFrame c n) | |
| 542 | - (b.frequency n) (b.phase n) (b.angularFrequency n) | |
| 543 | - (HarmonicResidual.constantVector (HarmonicResidual.contextBase c n + HarmonicResidual.stateMean s₁ n)) | |
| 544 | - (blockAmplitude b n) (HarmonicResidual.realCoefficients (b.pressure n)) i | |
| 545 | - change HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients (N₁ - G n i - A₁ n i)) - | |
| 546 | - HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients (N₀ - G n i - A₀ n i)) = _ | |
| 547 | - rw [← nonconstant_sub, ← realCoefficients_sub] | |
| 548 | - congr 2 | |
| 549 | - calc | |
| 550 | - (N₁ - G n i - A₁ n i) - (N₀ - G n i - A₀ n i) = (N₁ - N₀) - (A₁ n i - A₀ n i) := by abel | |
| 551 | - _ = _ := by rw [nonlinear_difference_algebra] | |
| 552 | - | |
| 553 | -/-- A mean-only update preserves the existing harmonic-value bound. -/ | |
| 554 | -theorem residualDifferenceBlock_band (c : CorrectionState.Context D) | |
| 555 | - (s₀ s₁ : CorrectionState.State D) (b : CorrectionState.HarmonicBlock D) | |
| 556 | - (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) {N : ℕ} (hb : b.BandLimited N) | |
| 557 | - (hA : ∀ n i, BandLimited (A₁ n i - A₀ n i) 0) : | |
| 558 | - (residualDifferenceBlock c s₀ s₁ b G A₀ A₁).BandLimited N := by | |
| 559 | - refine ⟨?_, fun _ => HarmonicResidual.band_zero N⟩ | |
| 560 | - intro n i | |
| 561 | - rw [residualDifferenceBlock_algebra] | |
| 562 | - exact HarmonicResidual.band_nonconstant (HarmonicResidual.band_realCoefficients | |
| 563 | - (HarmonicResidual.band_sub (transportDifference_band _ _ _ _ _ _ | |
| 564 | - (fun j => HarmonicResidual.band_realCoefficients (hb.1 n j)) i) | |
| 565 | - ((hA n i).mono (Nat.zero_le N)))) | |
| 566 | - | |
| 567 | -theorem residualDifferenceBlock_conjugate (c : CorrectionState.Context D) | |
| 568 | - (s₀ s₁ : CorrectionState.State D) (b : CorrectionState.HarmonicBlock D) | |
| 569 | - (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) (n : ℕ) (i : Fin 3) : | |
| 570 | - ConjugateSymmetric ((residualDifferenceBlock c s₀ s₁ b G A₀ A₁).velocity n i) := by | |
| 571 | - intro j x | |
| 572 | - simp only [residualDifferenceBlock, coeff_sub, | |
| 573 | - HarmonicResidual.residualBlock_conjugate c s₁ b G A₁ n i j x, | |
| 574 | - HarmonicResidual.residualBlock_conjugate c s₀ b G A₀ n i j x, map_sub] | |
| 575 | - | |
| 576 | -theorem residualDifferenceBlock_zero_mode (c : CorrectionState.Context D) | |
| 577 | - (s₀ s₁ : CorrectionState.State D) (b : CorrectionState.HarmonicBlock D) | |
| 578 | - (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) (n : ℕ) (i : Fin 3) : | |
| 579 | - (residualDifferenceBlock c s₀ s₁ b G A₀ A₁).velocity n i 0 = 0 := by | |
| 580 | - change (HarmonicResidual.residualBlock c s₁ b G A₁).velocity n i 0 - | |
| 581 | - (HarmonicResidual.residualBlock c s₀ b G A₀).velocity n i 0 = 0 | |
| 582 | - rw [HarmonicResidual.residualBlock_zero_mode, HarmonicResidual.residualBlock_zero_mode, sub_self] | |
| 583 | - | |
| 584 | -/-- The same finite coefficients evaluate to the two actual cross-advection fields. -/ | |
| 585 | -theorem crossCoefficients_field {U : Set D} (hU : IsOpen U) (g : HarmonicResidual.Frame D) | |
| 586 | - (k : ℝ) {Φ : D → ℝ} (hΦ : ContDiffOn ℝ ∞ Φ U) (kp : ℤ) | |
| 587 | - (m : D → ComplexVector) (hm : ∀ i, ContDiffOn ℝ ∞ (fun x => m x i) U) | |
| 588 | - (a : HarmonicResidual.VectorCoefficients D) (ha : ∀ i, HarmonicResidual.SmoothCoefficients U (a i)) | |
| 589 | - {x : D × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) : | |
| 590 | - HarmonicResidual.vectorField (crossCoefficients g k Φ kp m a) k Φ kp x = | |
| 591 | - LinearWaveResidual.transport (fun y => g.radius y.1) (HarmonicResidual.liftDirection g.radial) | |
| 592 | - HarmonicResidual.angularDirection (HarmonicResidual.liftDirection g.axial) | |
| 593 | - (fun y => m y.1) (HarmonicResidual.vectorField a k Φ kp) x + | |
| 594 | - LinearWaveResidual.transport (fun y => g.radius y.1) (HarmonicResidual.liftDirection g.radial) | |
| 595 | - HarmonicResidual.angularDirection (HarmonicResidual.liftDirection g.axial) | |
| 596 | - (HarmonicResidual.vectorField a k Φ kp) (fun y => m y.1) x := by | |
| 597 | - have hm' : ∀ i, HarmonicResidual.SmoothCoefficients U (HarmonicResidual.constantVector m i) := | |
| 598 | - fun i => HarmonicResidual.smoothCoefficients_constant (hm i) | |
| 599 | - have hleft := HarmonicResidual.field_transport hU g (HarmonicResidual.constantVector m) ha hΦ k kp hx | |
| 600 | - have hright := HarmonicResidual.field_transport hU g a hm' hΦ k kp hx | |
| 601 | - have he : HarmonicResidual.vectorField (HarmonicResidual.constantVector m) k Φ kp = | |
| 602 | - fun y : D × ℝ => m y.1 := by | |
| 603 | - funext y | |
| 604 | - exact HarmonicResidual.vectorField_constantVector m k Φ kp y | |
| 605 | - rw [he] at hleft hright | |
| 606 | - ext i | |
| 607 | - change field (_ + _) k Φ kp x = _ | |
| 608 | - rw [HarmonicResidual.field_add] | |
| 609 | - exact congrFun (congrArg₂ (· + ·) hleft hright) i | |
| 610 | - | |
| 611 | -/-- The computed block differences reconstruct the actual change in the good | |
| 612 | -nonconstant residual. This is an identity, with no uniform sum estimate assumed. -/ | |
| 613 | -theorem grouped_wave_change {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 614 | - {c : CorrectionState.Context D} {s₀ s₁ : CorrectionState.State D} | |
| 615 | - {labels : ℕ → Finset ι} {blocks : ι → CorrectionState.HarmonicBlock D} | |
| 616 | - {G A₀ A₁ : ι → HarmonicResidual.BlockCoefficients D} | |
| 617 | - (hrep₀ : HarmonicResidual.BlockRepresentation labels blocks G A₀ s₀) | |
| 618 | - (hrep₁ : HarmonicResidual.BlockRepresentation labels blocks G A₁ s₁) {n : ℕ} | |
| 619 | - (h₀ : HarmonicResidual.ExtractionRegular U c s₀ labels blocks G A₀ n) | |
| 620 | - (h₁ : HarmonicResidual.ExtractionRegular U c s₁ labels blocks G A₁ n) | |
| 621 | - {x : D × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : | |
| 622 | - HarmonicResidual.stateGoodWaveResidual c s₁ n x i - | |
| 623 | - HarmonicResidual.stateGoodWaveResidual c s₀ n x i = | |
| 624 | - ∑ l ∈ labels n, (residualDifferenceBlock c s₀ s₁ (blocks l) (G l) (A₀ l) (A₁ l)).oscillation n x i := by | |
| 625 | - rw [HarmonicResidual.stateGoodWaveResidual_grouped hU hrep₁ h₁ hx i, | |
| 626 | - HarmonicResidual.stateGoodWaveResidual_grouped hU hrep₀ h₀ hx i] | |
| 627 | - simp only [residualDifferenceBlock_field, Finset.sum_sub_distrib] | |
| 628 | - | |
| 629 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 630 | -/-- A recomputed mean pressure is unrestricted in this application; its | |
| 631 | -contribution is in the mean residual, not in the fixed label's wave block. -/ | |
| 632 | -theorem stateMean_addIncrement (s₀ : CorrectionState.State D) (h : MeanIncrementBounds.Triple D) | |
| 633 | - (δp : CorrectionState.ScalarField D) (δe : CorrectionState.ExcludedErrors D) : | |
| 634 | - (s₀.addIncrement h δp 0 0 δe).mean = MeanIncrementBounds.updated s₀.mean h := rfl | |
| 635 | - | |
| 636 | 458 | end NavierStokes.HarmonicMeanInteraction |
+0 −94 NavierStokes/HarmonicResidual.lean View file
| @@ -515,13 +515,6 @@ theorem extract_field (c : Coefficients D) (k : ℝ) (Φ : D → ℝ) | ||
| 515 | 515 | rw [AddMonoidAlgebra.coeff_mul_single_apply] |
| 516 | 516 | simp |
| 517 | 517 | |
| 518 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 519 | -/-- For a nonzero angular frequency the coefficients are uniquely determined by the field. -/ | |
| 520 | -theorem coefficients_unique {c d : Coefficients D} (k : ℝ) (Φ : D → ℝ) | |
| 521 | - {kp : ℤ} (hkp : kp ≠ 0) (he : field c k Φ kp = field d k Φ kp) : c = d := by | |
| 522 | - ext j x | |
| 523 | - rw [← extract_field c k Φ hkp j x, he, extract_field d k Φ hkp j x] | |
| 524 | - | |
| 525 | 518 | noncomputable def nonconstant (c : Coefficients D) : Coefficients D := c.erase 0 |
| 526 | 519 | |
| 527 | 520 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| @@ -541,13 +534,6 @@ theorem field_nonconstant (c : Coefficients D) (k : ℝ) (Φ : D → ℝ) | ||
| 541 | 534 | field (nonconstant c) k Φ kp p = field c k Φ kp p - c 0 p.1 := by |
| 542 | 535 | rw [nonconstant_eq_sub, field_sub, field_constant] |
| 543 | 536 | |
| 544 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 545 | -theorem angularMean_nonconstant (c : Coefficients D) (k : ℝ) (Φ : D → ℝ) | |
| 546 | - {kp : ℤ} (hkp : kp ≠ 0) (x : D) : | |
| 547 | - angularMean (fun θ => field (nonconstant c) k Φ kp (x, θ)) = 0 := by | |
| 548 | - rw [angularMean_field _ k Φ hkp x] | |
| 549 | - simp [nonconstant] | |
| 550 | - | |
| 551 | 537 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 552 | 538 | theorem nonconstant_conjugate {c : Coefficients D} (hc : ConjugateSymmetric c) : |
| 553 | 539 | ConjugateSymmetric (nonconstant c) := by |
| @@ -563,12 +549,6 @@ theorem band_nonconstant {c : Coefficients D} {N : ℕ} (hc : BandLimited c N) : | ||
| 563 | 549 | exact hc j ((Finset.mem_erase.mp (show j ∈ c.support.erase 0 by |
| 564 | 550 | simpa only [nonconstant, HarmonicFields.Coefficients.support, AddMonoidAlgebra.coeff_erase, Finsupp.support_erase] using hj)).2) |
| 565 | 551 | |
| 566 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 567 | -theorem nonconstant_support {c : Coefficients D} {j : ℤ} | |
| 568 | - (hj : j ∈ (nonconstant c).support) : j ≠ 0 := by | |
| 569 | - exact (Finset.mem_erase.mp (show j ∈ c.support.erase 0 by | |
| 570 | - simpa only [nonconstant, HarmonicFields.Coefficients.support, AddMonoidAlgebra.coeff_erase, Finsupp.support_erase] using hj)).1 | |
| 571 | - | |
| 572 | 552 | theorem SmoothCoefficients.nonconstant {U : Set D} {c : Coefficients D} |
| 573 | 553 | (hc : SmoothCoefficients U c) : SmoothCoefficients U (nonconstant c) := by |
| 574 | 554 | rw [nonconstant_eq_sub] |
| @@ -1160,14 +1140,6 @@ theorem LabelData.waveResidualCoefficients_band (d : LabelData D) (g : Frame D) | ||
| 1160 | 1140 | ∀ i, BandLimited (d.waveResidualCoefficients g B M i) (max (N + N) E) := |
| 1161 | 1141 | fun i => band_nonconstant (d.residualCoefficients_band g B M hu hp hg ha i) |
| 1162 | 1142 | |
| 1163 | -theorem LabelData.waveResidualCoefficients_values (d : LabelData D) (g : Frame D) | |
| 1164 | - (B M : D → ComplexVector) {N E : ℕ} | |
| 1165 | - (hu : ∀ i, BandLimited (d.velocity i) N) (hp : BandLimited d.pressure N) | |
| 1166 | - (hg : ∀ i, BandLimited (d.gaussian i) E) (ha : ∀ i, BandLimited (d.aliasError i) E) | |
| 1167 | - (i : Fin 3) (j : ℤ) (hj : j ∈ (d.waveResidualCoefficients g B M i).support) : | |
| 1168 | - j ≠ 0 ∧ j.natAbs ≤ max (N + N) E := | |
| 1169 | - ⟨nonconstant_support hj, d.waveResidualCoefficients_band g B M hu hp hg ha i j hj⟩ | |
| 1170 | - | |
| 1171 | 1143 | theorem LabelData.residualCoefficients_conjugate (d : LabelData D) (g : Frame D) |
| 1172 | 1144 | (B M : D → ComplexVector) (i : Fin 3) : ConjugateSymmetric (d.residualCoefficients g B M i) := |
| 1173 | 1145 | realCoefficients_conjugate _ |
| @@ -1189,12 +1161,6 @@ theorem LabelData.waveResidualCoefficients_smooth {U : Set D} (hU : IsOpen U) | ||
| 1189 | 1161 | (fun i => smoothCoefficients_constant ((hB i).add (hM i))) hd.velocity hd.pressure i).sub |
| 1190 | 1162 | (hgaussian i)).sub (halias i)).realCoefficients.nonconstant |
| 1191 | 1163 | |
| 1192 | -theorem LabelData.extract_residual (d : LabelData D) (g : Frame D) | |
| 1193 | - (B M : D → ComplexVector) (hkp : d.angularFrequency ≠ 0) (i : Fin 3) (j : ℤ) (x : D) : | |
| 1194 | - extract (field (d.residualCoefficients g B M i) d.frequency d.phase d.angularFrequency) | |
| 1195 | - d.frequency d.phase d.angularFrequency j x = d.residualCoefficients g B M i j x := | |
| 1196 | - extract_field _ _ _ hkp _ _ | |
| 1197 | - | |
| 1198 | 1164 | noncomputable def realAngularMean (f : ℝ → ℝ) : ℝ := |
| 1199 | 1165 | (∫ θ in (0 : ℝ)..period, f θ) / period |
| 1200 | 1166 | |
| @@ -1380,13 +1346,6 @@ theorem ofBlock_tsupport_wave (b : CorrectionState.HarmonicBlock D) | ||
| 1380 | 1346 | rw [ofBlock_wave, h] |
| 1381 | 1347 | rfl |
| 1382 | 1348 | |
| 1383 | -theorem ofBlock_regular {U : Set D} (b : CorrectionState.HarmonicBlock D) | |
| 1384 | - (gaussian aliasError : BlockCoefficients D) (n : ℕ) | |
| 1385 | - (hΦ : ContDiffOn ℝ ∞ (b.phase n) U) | |
| 1386 | - (hv : ∀ i, SmoothCoefficients U (b.velocity n i)) (hp : SmoothCoefficients U (b.pressure n)) : | |
| 1387 | - (ofBlock b gaussian aliasError n).Regular U := | |
| 1388 | - ⟨hΦ, fun i => (hv i).realCoefficients, hp.realCoefficients⟩ | |
| 1389 | - | |
| 1390 | 1349 | /-- Only representations of the stored fields are inputs; no residual identity is assumed. |
| 1391 | 1350 | The finite label set may vary with the band. -/ |
| 1392 | 1351 | structure BlockRepresentation {ι : Type*} (labels : ℕ → Finset ι) |
| @@ -1539,59 +1498,6 @@ theorem residualBlock_zero_mode (c : CorrectionState.Context D) (s : CorrectionS | ||
| 1539 | 1498 | (residualBlock c s b gaussian aliasError).velocity n i 0 = 0 := |
| 1540 | 1499 | Finsupp.erase_same |
| 1541 | 1500 | |
| 1542 | -theorem residualBlock_smooth {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 1543 | - {c : CorrectionState.Context D} {s : CorrectionState.State D} {labels : ℕ → Finset ι} | |
| 1544 | - {blocks : ι → CorrectionState.HarmonicBlock D} {gaussian aliasError : ι → BlockCoefficients D} {n : ℕ} | |
| 1545 | - (h : ExtractionRegular U c s labels blocks gaussian aliasError n) {l : ι} (hl : l ∈ labels n) : | |
| 1546 | - ∀ i, SmoothCoefficients U ((residualBlock c s (blocks l) (gaussian l) (aliasError l)).velocity n i) := | |
| 1547 | - LabelData.waveResidualCoefficients_smooth hU h.frame _ _ h.base h.mean _ | |
| 1548 | - (h.blocks l hl) (h.gaussian l hl) (h.aliasError l hl) | |
| 1549 | - | |
| 1550 | -theorem residualBlock_values (c : CorrectionState.Context D) (s : CorrectionState.State D) | |
| 1551 | - (b : CorrectionState.HarmonicBlock D) (gaussian aliasError : BlockCoefficients D) | |
| 1552 | - {N E : ℕ} (hb : b.BandLimited N) | |
| 1553 | - (hg : ∀ n i, BandLimited (gaussian n i) E) (ha : ∀ n i, BandLimited (aliasError n i) E) | |
| 1554 | - (n : ℕ) (i : Fin 3) (j : ℤ) | |
| 1555 | - (hj : j ∈ ((residualBlock c s b gaussian aliasError).velocity n i).support) : | |
| 1556 | - j ≠ 0 ∧ j.natAbs ≤ max (N + N) E := | |
| 1557 | - ⟨nonconstant_support hj, (residualBlock_band c s b gaussian aliasError hb hg ha).1 n i j hj⟩ | |
| 1558 | - | |
| 1559 | -/-- A fixed stage can have large harmonic values, but the next quadratic stage | |
| 1560 | -has an explicit bound independent of band and label count. -/ | |
| 1561 | -theorem residualBlock_stage_band (c : CorrectionState.Context D) (s : CorrectionState.State D) | |
| 1562 | - (b : CorrectionState.HarmonicBlock D) (gaussian aliasError : BlockCoefficients D) | |
| 1563 | - (stage : ℕ) (hb : b.BandLimited (2 ^ stage)) | |
| 1564 | - (hg : ∀ n i, BandLimited (gaussian n i) (2 ^ (stage + 1))) | |
| 1565 | - (ha : ∀ n i, BandLimited (aliasError n i) (2 ^ (stage + 1))) : | |
| 1566 | - (residualBlock c s b gaussian aliasError).BandLimited (2 ^ (stage + 1)) := by | |
| 1567 | - have he : 2 ^ stage + 2 ^ stage = 2 ^ (stage + 1) := by omega | |
| 1568 | - simpa only [he, max_self] using residualBlock_band c s b gaussian aliasError hb hg ha | |
| 1569 | - | |
| 1570 | -theorem residualBlock_extract (c : CorrectionState.Context D) (s : CorrectionState.State D) | |
| 1571 | - (b : CorrectionState.HarmonicBlock D) (gaussian aliasError : BlockCoefficients D) | |
| 1572 | - (n : ℕ) (hkp : b.angularFrequency n ≠ 0) (i : Fin 3) (j : ℤ) (x : D) : | |
| 1573 | - extract (fun y => ((residualBlock c s b gaussian aliasError).oscillation n y i : ℂ)) | |
| 1574 | - (b.frequency n) (b.phase n) (b.angularFrequency n) j x = | |
| 1575 | - (residualBlock c s b gaussian aliasError).velocity n i j x := by | |
| 1576 | - have he : (fun y => ((residualBlock c s b gaussian aliasError).oscillation n y i : ℂ)) = | |
| 1577 | - field ((residualBlock c s b gaussian aliasError).velocity n i) | |
| 1578 | - (b.frequency n) (b.phase n) (b.angularFrequency n) := by | |
| 1579 | - funext y | |
| 1580 | - exact field_real (residualBlock_conjugate c s b gaussian aliasError n i) _ _ _ _ | |
| 1581 | - rw [he] | |
| 1582 | - exact extract_field _ _ _ hkp _ _ | |
| 1583 | - | |
| 1584 | -theorem residualBlock_mean_zero (c : CorrectionState.Context D) (s : CorrectionState.State D) | |
| 1585 | - (b : CorrectionState.HarmonicBlock D) (gaussian aliasError : BlockCoefficients D) | |
| 1586 | - (n : ℕ) (hkp : b.angularFrequency n ≠ 0) (i : Fin 3) (x : D) : | |
| 1587 | - CorrectionState.angularAverage | |
| 1588 | - (fun m y => (residualBlock c s b gaussian aliasError).oscillation m y i) n x = 0 := by | |
| 1589 | - change realAngularMean (fun θ => (field | |
| 1590 | - ((residualBlock c s b gaussian aliasError).velocity n i) | |
| 1591 | - (b.frequency n) (b.phase n) (b.angularFrequency n) (x, θ)).re) = 0 | |
| 1592 | - rw [realAngularMean_field _ _ _ hkp x, residualBlock_zero_mode] | |
| 1593 | - rfl | |
| 1594 | - | |
| 1595 | 1501 | /-- Reconstruction of the full differentiated residual, with every excluded error restored once. -/ |
| 1596 | 1502 | theorem stateFullResidual_reconstructed {ι : Type*} {U : Set D} (hU : IsOpen U) |
| 1597 | 1503 | {c : CorrectionState.Context D} {s : CorrectionState.State D} {labels : ℕ → Finset ι} |
+0 −474 NavierStokes/HarmonicSourceSupport.lean View file
| @@ -100,11 +100,6 @@ theorem realProjection (hc : NonzeroSupported K c) : NonzeroSupported K (realCoe | ||
| 100 | 100 | simp only [realCoefficients_apply, hc j hj x hx, hc (-j) (neg_ne_zero.mpr hj) x hx, |
| 101 | 101 | map_zero, add_zero, mul_zero] |
| 102 | 102 | |
| 103 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 104 | -theorem nonconstant (hc : NonzeroSupported K c) : NonzeroSupported K (HarmonicResidual.nonconstant c) := by | |
| 105 | - intro j hj x hx | |
| 106 | - simpa only [HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj] using hc j hj x hx | |
| 107 | - | |
| 108 | 103 | omit [NormedSpace ℝ D] in |
| 109 | 104 | theorem tsupport (hc : NonzeroSupported K c) (hK : IsClosed K) {j : ℤ} (hj : j ≠ 0) : |
| 110 | 105 | _root_.tsupport (c j) ⊆ K := by |
| @@ -113,13 +108,6 @@ theorem tsupport (hc : NonzeroSupported K c) (hK : IsClosed K) {j : ℤ} (hj : j | ||
| 113 | 108 | by_contra hn |
| 114 | 109 | exact hx (hc j hj x hn) |
| 115 | 110 | |
| 116 | -omit [NormedSpace ℝ D] in | |
| 117 | -theorem of_tsupport (hc : ∀ j : ℤ, j ≠ 0 → _root_.tsupport (c j) ⊆ K) : | |
| 118 | - NonzeroSupported K c := by | |
| 119 | - intro j hj x hx | |
| 120 | - by_contra hn | |
| 121 | - exact hx (hc j hj (subset_tsupport (c j) hn)) | |
| 122 | - | |
| 123 | 111 | end NonzeroSupported |
| 124 | 112 | |
| 125 | 113 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| @@ -192,17 +180,6 @@ theorem realCoefficients_sub (c d : HarmonicFields.Coefficients D) : | ||
| 192 | 180 | rw [map_sub] |
| 193 | 181 | ring |
| 194 | 182 | |
| 195 | -theorem nonlinear_ofBlock_supported {K : Set D} (hK : IsClosed K) | |
| 196 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 197 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) (n : ℕ) | |
| 198 | - (hv : ∀ i, NonzeroSupported K (b.velocity n i)) (hp : NonzeroSupported K (b.pressure n)) : | |
| 199 | - ∀ i, NonzeroSupported K | |
| 200 | - (HarmonicResidual.nonlinearResidual (contextFrame c n) (b.frequency n) (b.phase n) | |
| 201 | - (b.angularFrequency n) (constantVector (contextBase c n + stateMean u n)) | |
| 202 | - (ofBlock b G A n).velocity (ofBlock b G A n).pressure i) := | |
| 203 | - nonlinearResidual_supported hK _ _ _ _ (fun _ => NonzeroSupported.constant _) | |
| 204 | - (fun i => (hv i).realProjection) hp.realProjection | |
| 205 | - | |
| 206 | 183 | /-- The exact excluded nonzero coefficient. Its mean part is removed |
| 207 | 184 | even when that part is not localized in a native slot. -/ |
| 208 | 185 | noncomputable def excludedSource (G A : HarmonicResidual.BlockCoefficients D) |
| @@ -224,58 +201,6 @@ theorem residualSource_apply_ne_zero (c : CorrectionState.Context D) (u : Correc | ||
| 224 | 201 | AddMonoidAlgebra.coeff_sub, Finsupp.sub_apply, Pi.sub_apply] |
| 225 | 202 | rfl |
| 226 | 203 | |
| 227 | -/-- Outside the wave and pressure cells, the literal residual source is | |
| 228 | -exactly the negative excluded nonzero coefficient. No error is discarded. -/ | |
| 229 | -theorem residualSource_outside (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 230 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 231 | - {K : Set D} (hK : IsClosed K) (n : ℕ) | |
| 232 | - (hv : ∀ i, NonzeroSupported K (b.velocity n i)) (hp : NonzeroSupported K (b.pressure n)) | |
| 233 | - (j : ℤ) {x : D} (hx : x ∉ K) : | |
| 234 | - ParticularWaveAssembly.residualSource c u b G A j n x = excludedSource G A j n x := by | |
| 235 | - by_cases hj : j = 0 | |
| 236 | - · subst j | |
| 237 | - rw [ParticularWaveAssembly.residualSource_zero] | |
| 238 | - ext i | |
| 239 | - simp [excludedSource, HarmonicResidual.nonconstant] | |
| 240 | - · ext i | |
| 241 | - rw [residualSource_apply_ne_zero c u b G A hj] | |
| 242 | - have hn := ((nonlinear_ofBlock_supported hK c u b G A n hv hp i).realProjection) j hj x hx | |
| 243 | - simp only [hn, excludedSource, HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj, zero_sub] | |
| 244 | - | |
| 245 | -theorem residualSource_complement_germ (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 246 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 247 | - {K : Set D} (hK : IsClosed K) (n : ℕ) | |
| 248 | - (hv : ∀ i, NonzeroSupported K (b.velocity n i)) (hp : NonzeroSupported K (b.pressure n)) | |
| 249 | - (j : ℤ) {x : D} (hx : x ∉ K) : | |
| 250 | - ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] excludedSource G A j n := by | |
| 251 | - filter_upwards [hK.isOpen_compl.mem_nhds hx] with y hy | |
| 252 | - exact residualSource_outside c u b G A hK n hv hp j hy | |
| 253 | - | |
| 254 | -theorem residualSource_support (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 255 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 256 | - {K : Set D} (hK : IsClosed K) (n : ℕ) | |
| 257 | - (hv : ∀ i, NonzeroSupported K (b.velocity n i)) (hp : NonzeroSupported K (b.pressure n)) | |
| 258 | - (hG : ∀ i, NonzeroSupported K (G n i)) (hA : ∀ i, NonzeroSupported K (A n i)) (j : ℤ) : | |
| 259 | - support (ParticularWaveAssembly.residualSource c u b G A j n) ⊆ K := by | |
| 260 | - intro x hx | |
| 261 | - by_contra hnot | |
| 262 | - apply hx | |
| 263 | - rw [residualSource_outside c u b G A hK n hv hp j hnot] | |
| 264 | - ext i | |
| 265 | - by_cases hj : j = 0 | |
| 266 | - · simp [excludedSource, HarmonicResidual.nonconstant, hj] | |
| 267 | - · simp only [excludedSource, HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj, | |
| 268 | - (hG i).realProjection j hj x hnot, (hA i).realProjection j hj x hnot, neg_zero, sub_zero, | |
| 269 | - Pi.zero_apply] | |
| 270 | - | |
| 271 | -theorem residualSource_tsupport (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 272 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 273 | - {K : Set D} (hK : IsClosed K) (n : ℕ) | |
| 274 | - (hv : ∀ i, NonzeroSupported K (b.velocity n i)) (hp : NonzeroSupported K (b.pressure n)) | |
| 275 | - (hG : ∀ i, NonzeroSupported K (G n i)) (hA : ∀ i, NonzeroSupported K (A n i)) (j : ℤ) : | |
| 276 | - tsupport (ParticularWaveAssembly.residualSource c u b G A j n) ⊆ K := | |
| 277 | - closure_minimal (residualSource_support c u b G A hK n hv hp hG hA j) hK | |
| 278 | - | |
| 279 | 204 | /-! ## Support of the actual real fields suffices -/ |
| 280 | 205 | |
| 281 | 206 | theorem nonlinear_ofBlock_supported_of_real {K : Set D} (hK : IsClosed K) |
| @@ -348,76 +273,8 @@ theorem realCoefficient_eq_zero_of_field | ||
| 348 | 273 | simp only [extract, field_realCoefficients, hf, Complex.ofReal_zero, zero_mul] |
| 349 | 274 | simp [HarmonicFields.angularMean] |
| 350 | 275 | |
| 351 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 352 | -/-- Fourier uniqueness transfers support of the evaluated real field to | |
| 353 | -its actual real-projected coefficients; no coefficient support is assumed. -/ | |
| 354 | -theorem realCoefficients_supported_of_field | |
| 355 | - (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) | |
| 356 | - {kp : ℤ} (hkp : kp ≠ 0) {K : Set D} | |
| 357 | - (hf : ∀ x, x ∉ K → ∀ θ, (HarmonicFields.field c k Φ kp (x, θ)).re = 0) : | |
| 358 | - NonzeroSupported K (realCoefficients c) := | |
| 359 | - fun j _ x hx => realCoefficient_eq_zero_of_field c k Φ hkp j x (hf x hx) | |
| 360 | - | |
| 361 | -omit [NormedSpace ℝ D] in | |
| 362 | -theorem realCoefficients_tsupport_of_field | |
| 363 | - (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) | |
| 364 | - {kp : ℤ} (hkp : kp ≠ 0) {K : Set D} (hK : IsClosed K) | |
| 365 | - (hf : ∀ x, x ∉ K → ∀ θ, (HarmonicFields.field c k Φ kp (x, θ)).re = 0) | |
| 366 | - (j : ℤ) : tsupport (realCoefficients c j) ⊆ K := by | |
| 367 | - apply closure_minimal _ hK | |
| 368 | - intro x hx | |
| 369 | - by_contra hn | |
| 370 | - exact hx (realCoefficient_eq_zero_of_field c k Φ hkp j x (hf x hn)) | |
| 371 | - | |
| 372 | -theorem residualSource_support_of_fields | |
| 373 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 374 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 375 | - {K : Set D} (hK : IsClosed K) (n : ℕ) (hkp : b.angularFrequency n ≠ 0) | |
| 376 | - (hv : ∀ x, x ∉ K → ∀ θ i, b.oscillation n (x, θ) i = 0) | |
| 377 | - (hp : ∀ x, x ∉ K → ∀ θ, b.oscillatoryPressure n (x, θ) = 0) | |
| 378 | - (hG : ∀ x, x ∉ K → ∀ θ i, | |
| 379 | - (HarmonicResidual.vectorField (G n) (b.frequency n) (b.phase n) | |
| 380 | - (b.angularFrequency n) (x, θ) i).re = 0) | |
| 381 | - (hA : ∀ x, x ∉ K → ∀ θ i, | |
| 382 | - (HarmonicResidual.vectorField (A n) (b.frequency n) (b.phase n) | |
| 383 | - (b.angularFrequency n) (x, θ) i).re = 0) (j : ℤ) : | |
| 384 | - support (ParticularWaveAssembly.residualSource c u b G A j n) ⊆ K := by | |
| 385 | - apply residualSource_support_of_real c u b G A hK n | |
| 386 | - · intro i | |
| 387 | - exact realCoefficients_supported_of_field _ _ _ hkp (fun x hx θ => hv x hx θ i) | |
| 388 | - · exact realCoefficients_supported_of_field _ _ _ hkp hp | |
| 389 | - · intro i | |
| 390 | - exact realCoefficients_supported_of_field _ _ _ hkp (fun x hx θ => hG x hx θ i) | |
| 391 | - · intro i | |
| 392 | - exact realCoefficients_supported_of_field _ _ _ hkp (fun x hx θ => hA x hx θ i) | |
| 393 | - | |
| 394 | 276 | /-! ## The uncovered source is estimated from its explicit excluded errors -/ |
| 395 | 277 | |
| 396 | -theorem residualSource_complementJets | |
| 397 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 398 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 399 | - {I : Type*} (K : PeriodizedWaveBounds.Cells D I) | |
| 400 | - (hv : ∀ n i, NonzeroSupported (⋃ a, K.carrier n a) (realCoefficients (b.velocity n i))) | |
| 401 | - (hp : ∀ n, NonzeroSupported (⋃ a, K.carrier n a) (realCoefficients (b.pressure n))) | |
| 402 | - (j : ℤ) {s : WeightedClasses.StripData D} {w : ℕ → D → ℝ} {α : ℝ} | |
| 403 | - (he : WeightedClasses.MemClass s w α (excludedSource G A j)) : | |
| 404 | - PeriodizedWaveBounds.ComplementJets s w α K.carrier | |
| 405 | - (ParticularWaveAssembly.residualSource c u b G A j) := by | |
| 406 | - have hg (n : ℕ) (x : D) (hx : ∀ a, x ∉ K.carrier n a) : | |
| 407 | - ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] excludedSource G A j n := | |
| 408 | - residualSource_complement_germ_of_real c u b G A | |
| 409 | - ((K.locallyFinite n).isClosed_iUnion (K.closed n)) n (hv n) (hp n) j (by simpa using hx) | |
| 410 | - constructor | |
| 411 | - · intro n x hx hK | |
| 412 | - exact ((he.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).congr_of_eventuallyEq | |
| 413 | - (hg n x hK) | |
| 414 | - · intro m | |
| 415 | - obtain ⟨C, hC, p, hb⟩ := he.bounds m | |
| 416 | - refine ⟨C, hC, p, ?_⟩ | |
| 417 | - intro n x hx hK a ha | |
| 418 | - rw [PeriodizedWaveBounds.jets_eq_of_germ (hg n x hK) a] | |
| 419 | - exact hb n x hx a ha | |
| 420 | - | |
| 421 | 278 | /-! ## Coverage by all actual native copies -/ |
| 422 | 279 | |
| 423 | 280 | section NativeCoverage |
| @@ -435,110 +292,10 @@ theorem nativeUnion_closed (g : Geometry) {K : Set Plane} (hK : IsCompact K) : | ||
| 435 | 292 | (PeriodizedWaveBounds.nativeCell_locallyFinite g hK).isClosed_iUnion |
| 436 | 293 | (PeriodizedWaveBounds.nativeCell_closed g hK.isClosed) |
| 437 | 294 | |
| 438 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 439 | -/-- The union of copy-coordinate cells is precisely the periodic lift of | |
| 440 | -the native cell's actual geometric image. -/ | |
| 441 | -theorem mem_nativeUnion_iff (g : Geometry) (K : Set Plane) (z : P × Plane) : | |
| 442 | - z ∈ nativeUnion g K ↔ z.2 ∈ SlotGeometry.liftedSupport g.gap | |
| 443 | - ((fun w => g.center + g.basis w) '' K) := by | |
| 444 | - constructor | |
| 445 | - · intro hz | |
| 446 | - obtain ⟨k, hk⟩ := mem_iUnion.mp hz | |
| 447 | - refine ⟨g.center + g.basis (g.coordinates k z.2), ⟨g.coordinates k z.2, hk, rfl⟩, ?_⟩ | |
| 448 | - have he : coverPower g.gap z.2 - (g.center + g.basis (g.coordinates k z.2)) = | |
| 449 | - latticePoint k := by | |
| 450 | - rw [ParticularWaveAssembly.native_coordinate_image] | |
| 451 | - have hn : latticePoint (-k) = -latticePoint k := by ext <;> simp [latticePoint] | |
| 452 | - rw [hn] | |
| 453 | - abel | |
| 454 | - change (SlotGeometry.cover ^ g.gap) z.2 - | |
| 455 | - (g.center + g.basis (g.coordinates k z.2)) ∈ SlotGeometry.lattice | |
| 456 | - rw [← coverPower_apply, he] | |
| 457 | - exact ⟨⟨k.1, rfl⟩, ⟨k.2, rfl⟩⟩ | |
| 458 | - · rintro ⟨w, ⟨v, hv, rfl⟩, hz⟩ | |
| 459 | - obtain ⟨⟨a, ha⟩, ⟨b, hb⟩⟩ := hz | |
| 460 | - have he : coverPower g.gap z.2 - (g.center + g.basis v) = latticePoint (a, b) := by | |
| 461 | - rw [coverPower_apply] | |
| 462 | - exact Prod.ext ha.symm hb.symm | |
| 463 | - refine mem_iUnion.mpr ⟨(a, b), ?_⟩ | |
| 464 | - change g.coordinates (a, b) z.2 ∈ K | |
| 465 | - have hc : g.coordinates (a, b) z.2 = v := by | |
| 466 | - unfold Geometry.coordinates | |
| 467 | - rw [show coverPower g.gap z.2 - g.center - latticePoint (a, b) = g.basis v from by | |
| 468 | - rw [(sub_eq_iff_eq_add).mp he] | |
| 469 | - abel] | |
| 470 | - exact g.basis.symm_apply_apply v | |
| 471 | - rwa [hc] | |
| 472 | - | |
| 473 | -theorem sourceFamily_covered | |
| 474 | - (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 475 | - (b : CorrectionState.HarmonicBlock (P × Plane)) | |
| 476 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) | |
| 477 | - (g : ℕ → Geometry) (K : ℕ → Set Plane) (hK : ∀ n, IsCompact (K n)) | |
| 478 | - (hv : ∀ n i, NonzeroSupported (nativeUnion (g n) (K n)) (realCoefficients (b.velocity n i))) | |
| 479 | - (hp : ∀ n, NonzeroSupported (nativeUnion (g n) (K n)) (realCoefficients (b.pressure n))) | |
| 480 | - (hG : ∀ n i, NonzeroSupported (nativeUnion (g n) (K n)) (realCoefficients (G n i))) | |
| 481 | - (hA : ∀ n i, NonzeroSupported (nativeUnion (g n) (K n)) (realCoefficients (A n i))) | |
| 482 | - (j : ℤ) (n : ℕ) : | |
| 483 | - support (ParticularWaveAssembly.sourceFamily c u b G A j n) ⊆ | |
| 484 | - ⋃ k : Frequency, PeriodizedWaveBounds.nativeCell (P := P × ℝ) (g n) (K n) k := by | |
| 485 | - intro x hx | |
| 486 | - have hs := residualSource_support_of_real c u b G A (nativeUnion_closed (g n) (hK n)) n | |
| 487 | - (hv n) (hp n) (hG n) (hA n) j hx | |
| 488 | - obtain ⟨k, hk⟩ := mem_iUnion.mp hs | |
| 489 | - exact mem_iUnion.mpr ⟨k, hk⟩ | |
| 490 | - | |
| 491 | 295 | end NativeCoverage |
| 492 | 296 | |
| 493 | 297 | /-! ## Different labels: genuine derivative products vanish on separated slots -/ |
| 494 | 298 | |
| 495 | -/-- Pointwise disjoint products on a neighborhood give the zero germ of | |
| 496 | -the right factor whenever a component of the left factor is nonzero. | |
| 497 | -This handles boundary points without imposing globally disjoint supports. -/ | |
| 498 | -theorem transport_zero_of_product_germ (R : D → ℝ) (Vr Vθ Vz : D → D) | |
| 499 | - {u v : D → ComplexVector} {x : D} | |
| 500 | - (hc : ∀ i, ContinuousAt (fun y => u y i) x) | |
| 501 | - (hp : ∀ᶠ y in 𝓝 x, ∀ i j, u y i * v y j = 0) : | |
| 502 | - LinearWaveResidual.transport R Vr Vθ Vz u v x = 0 := by | |
| 503 | - classical | |
| 504 | - by_cases hu : u x = 0 | |
| 505 | - · ext i | |
| 506 | - simp [LinearWaveResidual.transport, hu] | |
| 507 | - · obtain ⟨i, hi⟩ : ∃ i, u x i ≠ 0 := by | |
| 508 | - by_contra h | |
| 509 | - push Not at h | |
| 510 | - exact hu (funext h) | |
| 511 | - have he : v =ᶠ[𝓝 x] fun _ => 0 := by | |
| 512 | - filter_upwards [hp, (hc i).eventually_ne hi] with y hy hne | |
| 513 | - funext j | |
| 514 | - exact (mul_eq_zero.mp (hy i j)).resolve_left hne | |
| 515 | - have hv : v x = 0 := he.self_of_nhds | |
| 516 | - have hd (j : Fin 3) (V : D → D) : along V (fun y => v y j) x = 0 := by | |
| 517 | - have hej : (fun y => v y j) =ᶠ[𝓝 x] fun _ => (0 : ℂ) := | |
| 518 | - he.mono (fun _ hy => congrFun hy j) | |
| 519 | - simp only [along, hej.fderiv_eq, fderiv_fun_const, Pi.zero_apply, | |
| 520 | - _root_.zero_apply] | |
| 521 | - ext j | |
| 522 | - fin_cases j <;> simp [LinearWaveResidual.transport, hv, hd, angularGenerator] | |
| 523 | - | |
| 524 | -theorem transport_sum_self_of_product_germs {ι : Type*} (s : Finset ι) | |
| 525 | - (R : D → ℝ) (Vr Vθ Vz : D → D) (u : ι → D → ComplexVector) {x : D} | |
| 526 | - (hu : ∀ l ∈ s, ∀ i, DifferentiableAt ℝ (fun y => u l y i) x) | |
| 527 | - (hp : ∀ l ∈ s, ∀ k ∈ s, l ≠ k → | |
| 528 | - ∀ᶠ y in 𝓝 x, ∀ i j, u l y i * u k y j = 0) : | |
| 529 | - LinearWaveResidual.transport R Vr Vθ Vz (∑ l ∈ s, u l) (∑ l ∈ s, u l) x = | |
| 530 | - ∑ l ∈ s, LinearWaveResidual.transport R Vr Vθ Vz (u l) (u l) x := by | |
| 531 | - classical | |
| 532 | - rw [Actual.transport_sum_left] | |
| 533 | - apply Finset.sum_congr rfl | |
| 534 | - intro l hl | |
| 535 | - rw [Actual.transport_sum_right s R Vr Vθ Vz (u l) u hu] | |
| 536 | - apply Finset.sum_eq_single l | |
| 537 | - · intro k hk hkl | |
| 538 | - exact transport_zero_of_product_germ R Vr Vθ Vz | |
| 539 | - (fun i => (hu l hl i).continuousAt) (hp l hl k hk (Ne.symm hkl)) | |
| 540 | - · exact fun h => (h hl).elim | |
| 541 | - | |
| 542 | 299 | section ColoredSlots |
| 543 | 300 | |
| 544 | 301 | open CorrectionState LabelSumBounds |
| @@ -548,69 +305,6 @@ variable {ι : Type*} {d h : ℝ} {vr vt : TorusInverse.Plane} | ||
| 548 | 305 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 549 | 306 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 550 | 307 | |
| 551 | -omit [NormedSpace ℝ D] in | |
| 552 | -theorem supported_product_germ (hU : IsOpen U) | |
| 553 | - (hu : SupportedOscillations sys label χ Y U u) | |
| 554 | - (hv : SupportedOscillations sys label χ Y U v) | |
| 555 | - {l k : ι} {n : ℕ} (hl : 1 ≤ (label n l).1) (hk : 1 ≤ (label n k).1) | |
| 556 | - (hne : label n l ≠ label n k) {x : D × ℝ} (hx : x.1 ∈ U) : | |
| 557 | - ∀ᶠ y in 𝓝 x, ∀ i j, | |
| 558 | - LinearWaveResidual.realLift (u l n) y i * LinearWaveResidual.realLift (v k n) y j = 0 := by | |
| 559 | - filter_upwards [(liftDomain_open hU).mem_nhds ⟨hx, mem_univ x.2⟩] with y hy | |
| 560 | - intro i j | |
| 561 | - change (u l n y i : ℂ) * (v k n y j : ℂ) = 0 | |
| 562 | - rw [← Complex.ofReal_mul, | |
| 563 | - supported_cross_product_zero hu hv hl hk hne hy.1 y.2 i j, Complex.ofReal_zero] | |
| 564 | - | |
| 565 | -/-- The actual colored-slot geometry eliminates cross-label advection, | |
| 566 | -including every derivative of the right factor in the cylindrical operator. -/ | |
| 567 | -theorem supported_transport_zero (hU : IsOpen U) | |
| 568 | - (hu : SupportedOscillations sys label χ Y U u) | |
| 569 | - (hv : SupportedOscillations sys label χ Y U v) | |
| 570 | - {l k : ι} {n : ℕ} (hl : 1 ≤ (label n l).1) (hk : 1 ≤ (label n k).1) | |
| 571 | - (hne : label n l ≠ label n k) {x : D × ℝ} (hx : x.1 ∈ U) | |
| 572 | - (hc : ∀ i, ContinuousAt (fun y => u l n y i) x) | |
| 573 | - (R : D × ℝ → ℝ) (Vr Vθ Vz : D × ℝ → D × ℝ) : | |
| 574 | - LinearWaveResidual.transport R Vr Vθ Vz (LinearWaveResidual.realLift (u l n)) | |
| 575 | - (LinearWaveResidual.realLift (v k n)) x = 0 := by | |
| 576 | - apply transport_zero_of_product_germ R Vr Vθ Vz | |
| 577 | - · intro i | |
| 578 | - exact Complex.continuous_ofReal.continuousAt.comp (hc i) | |
| 579 | - · exact supported_product_germ hU hu hv hl hk hne hx | |
| 580 | - | |
| 581 | -/-- The nonlinear residual of the actual finite sum is the sum of its | |
| 582 | -same-label residuals. Cross-label cancellation comes from the geometric | |
| 583 | -support predicate, not from an assumed PDE cancellation. -/ | |
| 584 | -theorem supported_nonlinearResidual_sum (hU : IsOpen U) | |
| 585 | - (hs : SupportedOscillations sys label χ Y U u) (labels : Finset ι) (n : ℕ) | |
| 586 | - (hlevel : ∀ l ∈ labels, 1 ≤ (label n l).1) | |
| 587 | - (hinj : Set.InjOn (label n) (↑labels : Set ι)) | |
| 588 | - (ε : ℝ) (R : D × ℝ → ℝ) {Vr Vθ Vz : D × ℝ → D × ℝ} | |
| 589 | - (Vt : D × ℝ → D × ℝ) | |
| 590 | - (hr : ContDiffOn ℝ ∞ Vr (liftDomain U)) | |
| 591 | - (hθ : ContDiffOn ℝ ∞ Vθ (liftDomain U)) | |
| 592 | - (hz : ContDiffOn ℝ ∞ Vz (liftDomain U)) | |
| 593 | - (B : D × ℝ → ComplexVector) (p : ι → D × ℝ → ℂ) | |
| 594 | - (hu : ∀ l ∈ labels, ∀ i, ContDiffOn ℝ ∞ (fun y => u l n y i) (liftDomain U)) | |
| 595 | - (hp : ∀ l ∈ labels, ContDiffOn ℝ ∞ (p l) (liftDomain U)) | |
| 596 | - {x : D × ℝ} (hx : x.1 ∈ U) : | |
| 597 | - Actual.nonlinearResidual ε R Vr Vθ Vz Vt B | |
| 598 | - (∑ l ∈ labels, LinearWaveResidual.realLift (u l n)) (∑ l ∈ labels, p l) x = | |
| 599 | - ∑ l ∈ labels, Actual.nonlinearResidual ε R Vr Vθ Vz Vt B | |
| 600 | - (LinearWaveResidual.realLift (u l n)) (p l) x := by | |
| 601 | - have hcx : x ∈ liftDomain U := ⟨hx, mem_univ x.2⟩ | |
| 602 | - have hcu (l : ι) (hl : l ∈ labels) (i : Fin 3) : | |
| 603 | - ContDiffOn ℝ ∞ (fun y => LinearWaveResidual.realLift (u l n) y i) (liftDomain U) := | |
| 604 | - Complex.ofRealCLM.contDiff.comp_contDiffOn (hu l hl i) | |
| 605 | - unfold Actual.nonlinearResidual | |
| 606 | - rw [Actual.linearResidual_sum labels (liftDomain_open hU) ε R Vt hr hθ hz B _ p hcu hp hcx, | |
| 607 | - transport_sum_self_of_product_germs labels R Vr Vθ Vz _ (fun l hl i => | |
| 608 | - ((hcu l hl i).contDiffAt ((liftDomain_open hU).mem_nhds hcx)).differentiableAt (by simp)), | |
| 609 | - Finset.sum_add_distrib] | |
| 610 | - intro l hl k hk hne | |
| 611 | - exact supported_product_germ hU hs hs (hlevel l hl) (hlevel k hk) | |
| 612 | - (fun he => hne (hinj hl hk he)) hx | |
| 613 | - | |
| 614 | 308 | end ColoredSlots |
| 615 | 309 | |
| 616 | 310 | /-! ## Relative support on the actual open strip -/ |
| @@ -659,11 +353,6 @@ omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | ||
| 659 | 353 | theorem constant (f : D → ℂ) : NonzeroSupportedOn U K (constantCoefficient f) := |
| 660 | 354 | of_global (NonzeroSupported.constant f) |
| 661 | 355 | |
| 662 | -theorem differentiate (hc : NonzeroSupportedOn U K c) (hU : IsOpen U) (hK : IsClosed K) | |
| 663 | - (V : D → D) (k : ℝ) (Φ : D → ℝ) : | |
| 664 | - NonzeroSupportedOn U K (HarmonicFields.differentiate V k Φ c) := | |
| 665 | - of_enlarge (hc.enlarge.differentiate (hU.isClosed_compl.union hK) V k Φ) | |
| 666 | - | |
| 667 | 356 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 668 | 357 | theorem realProjection (hc : NonzeroSupportedOn U K c) : |
| 669 | 358 | NonzeroSupportedOn U K (realCoefficients c) := by |
| @@ -757,131 +446,12 @@ theorem zero_complementJets_of_germs | ||
| 757 | 446 | rw [PeriodizedWaveBounds.jets_eq_of_germ (hg n x hx hn) j] |
| 758 | 447 | simp [WeightedClasses.majorant] |
| 759 | 448 | |
| 760 | -theorem residualSource_zero_complementJets | |
| 761 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 762 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 763 | - {I : Type*} (K : PeriodizedWaveBounds.Cells D I) (s : WeightedClasses.StripData D) | |
| 764 | - (hs : InputSupportOn s.domain (fun n => ⋃ i, K.carrier n i) b G A) | |
| 765 | - (j : ℤ) (w : ℕ → D → ℝ) (α : ℝ) : | |
| 766 | - PeriodizedWaveBounds.ComplementJets s w α K.carrier | |
| 767 | - (ParticularWaveAssembly.residualSource c u b G A j) := by | |
| 768 | - apply zero_complementJets_of_germs | |
| 769 | - intro n x hx hn | |
| 770 | - exact residualSource_zero_germ_on c u b G A s.isOpen_domain | |
| 771 | - (fun n => (K.locallyFinite n).isClosed_iUnion (K.closed n)) hs j n hx (by simpa using hn) | |
| 772 | - | |
| 773 | -/-- If an excluded nonzero tail is present outside the native cells, its | |
| 774 | -actual class supplies the complement estimate. The source is not replaced | |
| 775 | -by zero there. -/ | |
| 776 | -theorem residualSource_complementJets_on | |
| 777 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 778 | - (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) | |
| 779 | - {I : Type*} (K : PeriodizedWaveBounds.Cells D I) (s : WeightedClasses.StripData D) | |
| 780 | - (hv : ∀ n i, NonzeroSupportedOn s.domain (⋃ a, K.carrier n a) | |
| 781 | - (realCoefficients (b.velocity n i))) | |
| 782 | - (hp : ∀ n, NonzeroSupportedOn s.domain (⋃ a, K.carrier n a) | |
| 783 | - (realCoefficients (b.pressure n))) | |
| 784 | - (j : ℤ) {w : ℕ → D → ℝ} {α : ℝ} | |
| 785 | - (he : WeightedClasses.MemClass s w α (excludedSource G A j)) : | |
| 786 | - PeriodizedWaveBounds.ComplementJets s w α K.carrier | |
| 787 | - (ParticularWaveAssembly.residualSource c u b G A j) := by | |
| 788 | - have hg (n : ℕ) (x : D) (hx : x ∈ s.domain) (hn : ∀ a, x ∉ K.carrier n a) : | |
| 789 | - ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] excludedSource G A j n := | |
| 790 | - residualSource_complement_germ_on c u b G A s.isOpen_domain | |
| 791 | - ((K.locallyFinite n).isClosed_iUnion (K.closed n)) n (hv n) (hp n) j hx (by simpa using hn) | |
| 792 | - constructor | |
| 793 | - · intro n x hx hn | |
| 794 | - exact ((he.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).congr_of_eventuallyEq | |
| 795 | - (hg n x hx hn) | |
| 796 | - · intro m | |
| 797 | - obtain ⟨C, hC, p, hb⟩ := he.bounds m | |
| 798 | - refine ⟨C, hC, p, ?_⟩ | |
| 799 | - intro n x hx hn a ha | |
| 800 | - rw [PeriodizedWaveBounds.jets_eq_of_germ (hg n x hx hn) a] | |
| 801 | - exact hb n x hx a ha | |
| 802 | - | |
| 803 | 449 | section RelativeNativeCoverage |
| 804 | 450 | |
| 805 | 451 | open CommonCoverSolve TorusInverse |
| 806 | 452 | |
| 807 | 453 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 808 | 454 | |
| 809 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 810 | -/-- Angular extraction and the actual coordinate identity transfer support | |
| 811 | -in a geometric native slot to support in the union of all copy cells. -/ | |
| 812 | -theorem coefficient_nativeSupport_of_field | |
| 813 | - (c : HarmonicFields.Coefficients (P × Plane)) (k : ℝ) (Φ : P × Plane → ℝ) | |
| 814 | - {kp : ℤ} (hkp : kp ≠ 0) (g : Geometry) (K : Set Plane) | |
| 815 | - {U : Set (P × Plane)} (level : ℕ) (slot : Set Plane) (Y : P × Plane → Plane) | |
| 816 | - (hcoord : ∀ x, x ∈ U → coverPower g.gap x.2 = (SlotGeometry.cover ^ level) (Y x)) | |
| 817 | - (hslot : slot ⊆ (fun v => g.center + g.basis v) '' K) | |
| 818 | - (hf : ∀ x, x ∈ U → ∀ θ, (field c k Φ kp (x, θ)).re ≠ 0 → | |
| 819 | - Y x ∈ SlotGeometry.liftedSupport level slot) : | |
| 820 | - NonzeroSupportedOn U (nativeUnion g K) (realCoefficients c) := by | |
| 821 | - apply realCoefficients_supportedOn_of_field c k Φ hkp | |
| 822 | - intro x hx hn θ | |
| 823 | - by_contra hne | |
| 824 | - obtain ⟨v, hv, ht⟩ := hf x hx θ hne | |
| 825 | - apply hn | |
| 826 | - apply (mem_nativeUnion_iff g K x).mpr | |
| 827 | - refine ⟨v, hslot hv, ?_⟩ | |
| 828 | - change SlotGeometry.torusEq ((SlotGeometry.cover ^ g.gap) x.2) v | |
| 829 | - rw [← coverPower_apply, hcoord x hx] | |
| 830 | - exact ht | |
| 831 | - | |
| 832 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 833 | -theorem block_velocity_nativeSupport | |
| 834 | - {ι : Type*} {d h : ℝ} {vr vt : Plane} | |
| 835 | - (sys : PartitionedCovariance.SlotSystem d h vr vt) | |
| 836 | - (label : ℕ → ι → SlotColoring.Label) | |
| 837 | - (χ : ℕ → P × Plane → LabelSumBounds.WindowPoint) (Y : ℕ → P × Plane → Plane) | |
| 838 | - {U : Set (P × Plane)} (b : ι → CorrectionState.HarmonicBlock (P × Plane)) | |
| 839 | - (hb : LabelSumBounds.SupportedOscillations sys label χ Y U (fun l => (b l).oscillation)) | |
| 840 | - (l : ι) (n : ℕ) (hkp : (b l).angularFrequency n ≠ 0) (g : Geometry) (K : Set Plane) | |
| 841 | - (hcoord : ∀ x, x ∈ U → coverPower g.gap x.2 = | |
| 842 | - (SlotGeometry.cover ^ SlotColoring.nativeIndex h (label n l).1) (Y n x)) | |
| 843 | - (hslot : PartitionedCovariance.slotSet h sys.radius vr vt (label n l) ⊆ | |
| 844 | - (fun v => g.center + g.basis v) '' K) (i : Fin 3) : | |
| 845 | - NonzeroSupportedOn U (nativeUnion g K) (realCoefficients ((b l).velocity n i)) := by | |
| 846 | - apply coefficient_nativeSupport_of_field _ _ _ hkp g K _ _ (Y n) hcoord hslot | |
| 847 | - intro x hx θ hn | |
| 848 | - exact (hb l n x hx θ i hn).2 | |
| 849 | - | |
| 850 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 851 | -theorem InputSupportOn.of_native_fields | |
| 852 | - (b : CorrectionState.HarmonicBlock (P × Plane)) | |
| 853 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) | |
| 854 | - (g : ℕ → Geometry) (K : ℕ → Set Plane) {U : Set (P × Plane)} | |
| 855 | - (level : ℕ → ℕ) (slot : ℕ → Set Plane) (Y : ℕ → P × Plane → Plane) | |
| 856 | - (hkp : ∀ n, b.angularFrequency n ≠ 0) | |
| 857 | - (hcoord : ∀ n x, x ∈ U → coverPower (g n).gap x.2 = | |
| 858 | - (SlotGeometry.cover ^ level n) (Y n x)) | |
| 859 | - (hslot : ∀ n, slot n ⊆ (fun v => (g n).center + (g n).basis v) '' K n) | |
| 860 | - (hv : ∀ n x, x ∈ U → ∀ θ i, b.oscillation n (x, θ) i ≠ 0 → | |
| 861 | - Y n x ∈ SlotGeometry.liftedSupport (level n) (slot n)) | |
| 862 | - (hp : ∀ n x, x ∈ U → ∀ θ, b.oscillatoryPressure n (x, θ) ≠ 0 → | |
| 863 | - Y n x ∈ SlotGeometry.liftedSupport (level n) (slot n)) | |
| 864 | - (hG : ∀ n x, x ∈ U → ∀ θ i, | |
| 865 | - (vectorField (G n) (b.frequency n) (b.phase n) (b.angularFrequency n) (x, θ) i).re ≠ 0 → | |
| 866 | - Y n x ∈ SlotGeometry.liftedSupport (level n) (slot n)) | |
| 867 | - (hA : ∀ n x, x ∈ U → ∀ θ i, | |
| 868 | - (vectorField (A n) (b.frequency n) (b.phase n) (b.angularFrequency n) (x, θ) i).re ≠ 0 → | |
| 869 | - Y n x ∈ SlotGeometry.liftedSupport (level n) (slot n)) : | |
| 870 | - InputSupportOn U (fun n => nativeUnion (g n) (K n)) b G A := by | |
| 871 | - constructor | |
| 872 | - · intro n i | |
| 873 | - exact coefficient_nativeSupport_of_field _ _ _ (hkp n) (g n) (K n) (level n) (slot n) | |
| 874 | - (Y n) (hcoord n) (hslot n) (fun x hx θ hn => hv n x hx θ i hn) | |
| 875 | - · intro n | |
| 876 | - exact coefficient_nativeSupport_of_field _ _ _ (hkp n) (g n) (K n) (level n) (slot n) | |
| 877 | - (Y n) (hcoord n) (hslot n) (hp n) | |
| 878 | - · intro n i | |
| 879 | - exact coefficient_nativeSupport_of_field _ _ _ (hkp n) (g n) (K n) (level n) (slot n) | |
| 880 | - (Y n) (hcoord n) (hslot n) (fun x hx θ hn => hG n x hx θ i hn) | |
| 881 | - · intro n i | |
| 882 | - exact coefficient_nativeSupport_of_field _ _ _ (hkp n) (g n) (K n) (level n) (slot n) | |
| 883 | - (Y n) (hcoord n) (hslot n) (fun x hx θ hn => hA n x hx θ i hn) | |
| 884 | - | |
| 885 | 455 | theorem sourceFamily_zero_germ_on |
| 886 | 456 | (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) |
| 887 | 457 | (b : CorrectionState.HarmonicBlock (P × Plane)) |
| @@ -926,48 +496,4 @@ end RelativeNativeCoverage | ||
| 926 | 496 | |
| 927 | 497 | /-! ## Unrestricted zero modes and the exact excluded-tail obstruction -/ |
| 928 | 498 | |
| 929 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 930 | -theorem realCoefficient_eq_zero_of_field_constant | |
| 931 | - (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) | |
| 932 | - {kp : ℤ} (hkp : kp ≠ 0) {j : ℤ} (hj : j ≠ 0) (x : D) (m : ℝ) | |
| 933 | - (hf : ∀ θ, (field c k Φ kp (x, θ)).re = m) : | |
| 934 | - realCoefficients c j x = 0 := by | |
| 935 | - rw [← extract_field (realCoefficients c) k Φ hkp j x] | |
| 936 | - trans extract (field (constantCoefficient (fun _ : D => (m : ℂ))) k Φ kp) k Φ kp j x | |
| 937 | - · unfold extract | |
| 938 | - congr 1 | |
| 939 | - funext θ | |
| 940 | - rw [field_realCoefficients, hf θ, field_constant] | |
| 941 | - · rw [extract_field _ _ _ hkp] | |
| 942 | - simp [constantCoefficient, hj] | |
| 943 | - | |
| 944 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 945 | -/-- Outside the slot, the real field may have any angularly constant | |
| 946 | -part. Only its nonzero Fourier modes are constrained. -/ | |
| 947 | -theorem realCoefficients_supportedOn_of_field_constant | |
| 948 | - (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) | |
| 949 | - {kp : ℤ} (hkp : kp ≠ 0) {U K : Set D} | |
| 950 | - (hf : ∀ x, x ∈ U → x ∉ K → ∃ m : ℝ, ∀ θ, (field c k Φ kp (x, θ)).re = m) : | |
| 951 | - NonzeroSupportedOn U K (realCoefficients c) := by | |
| 952 | - intro j hj x hx hn | |
| 953 | - obtain ⟨m, hm⟩ := hf x hx hn | |
| 954 | - exact realCoefficient_eq_zero_of_field_constant c k Φ hkp hj x m hm | |
| 955 | - | |
| 956 | -/-- An explicit obstruction to dropping the excluded-source condition: | |
| 957 | -even a zero wave and zero pressure leave a nonzero residual if the stored | |
| 958 | -Gaussian family contains an unlocalized first harmonic. -/ | |
| 959 | -theorem zero_wave_unlocalized_error | |
| 960 | - (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 961 | - (b : CorrectionState.HarmonicBlock D) (n : ℕ) | |
| 962 | - (hv : ∀ i, b.velocity n i = 0) (hp : b.pressure n = 0) (x : D) : | |
| 963 | - ParticularWaveAssembly.residualSource c u b | |
| 964 | - (fun _ _ => AddMonoidAlgebra.single (1 : ℤ) (fun _ => (1 : ℂ))) 0 1 n x = | |
| 965 | - fun _ => -(2 : ℂ)⁻¹ := by | |
| 966 | - rw [residualSource_outside c u b _ _ isClosed_empty n | |
| 967 | - (fun i => by rw [hv i]; exact NonzeroSupported.zero) | |
| 968 | - (by rw [hp]; exact NonzeroSupported.zero) 1 (Set.notMem_empty x)] | |
| 969 | - ext i | |
| 970 | - norm_num [excludedSource, HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, realCoefficients_apply, | |
| 971 | - AddMonoidAlgebra.coeff_single, Finsupp.single_apply, -LaurentPolynomial.single_eq_C_mul_T] | |
| 972 | - | |
| 973 | 499 | end NavierStokes.HarmonicSourceSupport |
+0 −31 NavierStokes/HarmonicStructurePreservation.lean View file
| @@ -51,13 +51,6 @@ theorem withCarrier_eq {a b : CorrectionState.HarmonicBlock D} | ||
| 51 | 51 | cases hangular |
| 52 | 52 | rfl |
| 53 | 53 | |
| 54 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 55 | -theorem singleMode_addBlock_of_sameCarrier {a b : CorrectionState.HarmonicBlock D} | |
| 56 | - (hfrequency : b.frequency = a.frequency) (hphase : b.phase = a.phase) | |
| 57 | - (hangular : b.angularFrequency = a.angularFrequency) (j : ℤ) (n : ℕ) : | |
| 58 | - singleMode (addBlock a b) j n = singleMode a j n + singleMode b j n := by | |
| 59 | - rw [singleMode_addBlock, withCarrier_eq hfrequency hphase hangular] | |
| 60 | - | |
| 61 | 54 | theorem amplitude_contDiffOn {U : Set D} {b : CorrectionState.HarmonicBlock D} |
| 62 | 55 | (hb : ∀ n i, HarmonicResidual.SmoothCoefficients U (b.velocity n i)) |
| 63 | 56 | (j : ℤ) (n : ℕ) (i : Fin 3) : |
| @@ -91,22 +84,6 @@ theorem cylindricalDivergence_add {E : Type*} [NormedAddCommGroup E] [NormedSpac | ||
| 91 | 84 | smul_add] |
| 92 | 85 | abel |
| 93 | 86 | |
| 94 | -theorem velocity_smooth_addBlock {U : Set D} {a b : CorrectionState.HarmonicBlock D} | |
| 95 | - (ha : ∀ n i, HarmonicResidual.SmoothCoefficients U (a.velocity n i)) | |
| 96 | - (hb : ∀ n i, HarmonicResidual.SmoothCoefficients U (b.velocity n i)) : | |
| 97 | - ∀ n i, HarmonicResidual.SmoothCoefficients U ((addBlock a b).velocity n i) := | |
| 98 | - fun n i => (ha n i).add (hb n i) | |
| 99 | - | |
| 100 | -theorem pressure_smooth_addBlock {U : Set D} {a b : CorrectionState.HarmonicBlock D} | |
| 101 | - (ha : ∀ n, HarmonicResidual.SmoothCoefficients U (a.pressure n)) | |
| 102 | - (hb : ∀ n, HarmonicResidual.SmoothCoefficients U (b.pressure n)) : | |
| 103 | - ∀ n, HarmonicResidual.SmoothCoefficients U ((addBlock a b).pressure n) := | |
| 104 | - fun n => (ha n).add (hb n) | |
| 105 | - | |
| 106 | -theorem phase_smooth_addBlock {U : Set D} {a b : CorrectionState.HarmonicBlock D} | |
| 107 | - (ha : ∀ n, ContDiffOn ℝ ∞ (a.phase n) U) : | |
| 108 | - ∀ n, ContDiffOn ℝ ∞ ((addBlock a b).phase n) U := ha | |
| 109 | - | |
| 110 | 87 | /-- The carrier-retaining sum preserves modewise solenoidality when the |
| 111 | 88 | second input is interpreted on the retained carrier. -/ |
| 112 | 89 | theorem modeSolenoidal_addBlock_withCarrier {s : StripData D} |
| @@ -160,12 +137,4 @@ theorem zeroPressure_addBlock {a b : CorrectionState.HarmonicBlock D} | ||
| 160 | 137 | change (a.pressure n + b.pressure n) 0 = 0 |
| 161 | 138 | rw [AddMonoidAlgebra.coeff_add, Finsupp.add_apply, ha n, hb n, add_zero] |
| 162 | 139 | |
| 163 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 164 | -theorem zeroMode_withCarrier {a b : CorrectionState.HarmonicBlock D} | |
| 165 | - (hb : ZeroMode b) : ZeroMode (withCarrier a b) := hb | |
| 166 | - | |
| 167 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 168 | -theorem zeroPressure_withCarrier {a b : CorrectionState.HarmonicBlock D} | |
| 169 | - (hb : ∀ n, b.pressure n 0 = 0) : ∀ n, (withCarrier a b).pressure n 0 = 0 := hb | |
| 170 | - | |
| 171 | 140 | end NavierStokes.HarmonicStructurePreservation |
+0 −152 NavierStokes/HarmonicWaveInteraction.lean View file
| @@ -401,23 +401,6 @@ theorem transport_wave_class {s : StripData D} {κ α β : ℝ} {P : ℕ → D | ||
| 401 | 401 | (transport_raw_class c ho hR ha hb ha0 hb0 hN hΦ hk hdiv m i) |
| 402 | 402 | ho.weight_le_one hP0 hP1 |
| 403 | 403 | |
| 404 | -theorem transport_mean_class {s : StripData D} {κ α β : ℝ} {P : ℕ → D → ℝ} | |
| 405 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 406 | - (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 407 | - {a b : CorrectionState.HarmonicBlock D} {N : ℕ} | |
| 408 | - (ha : a.WaveBounds s P α) (hb : b.WaveBounds s P β) | |
| 409 | - (ha0 : ZeroMode a) (hb0 : ZeroMode b) (hN : a.BandLimited N) | |
| 410 | - (hΦ : ∀ n, ContDiffOn ℝ ∞ (a.phase n) s.domain) | |
| 411 | - (hk : ∀ n, a.frequency n ≠ 0) (hdiv : ModeSolenoidal s c a) | |
| 412 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 413 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) (m : ℤ) (i : Fin 3) : | |
| 414 | - MeanClass s (α + β - κ) | |
| 415 | - (fun n x => HarmonicResidual.transport (HarmonicResidual.contextFrame c n) | |
| 416 | - (a.frequency n) (a.phase n) (a.angularFrequency n) | |
| 417 | - (blockAmplitude a n) (blockAmplitude b n) i m x) := | |
| 418 | - wave_square_weight_mean | |
| 419 | - (transport_raw_class c ho hR ha hb ha0 hb0 hN hΦ hk hdiv m i) hP0 hP1 | |
| 420 | - | |
| 421 | 404 | /-- Coefficients evaluated using the original label's carrier. -/ |
| 422 | 405 | noncomputable def withCarrier (carrierData b : CorrectionState.HarmonicBlock D) : |
| 423 | 406 | CorrectionState.HarmonicBlock D where |
| @@ -444,13 +427,6 @@ theorem addBlock_oscillation (a b : CorrectionState.HarmonicBlock D) (n : ℕ) | ||
| 444 | 427 | simp only [addBlock, withCarrier, CorrectionState.HarmonicBlock.oscillation, |
| 445 | 428 | HarmonicResidual.field_add, Complex.add_re] |
| 446 | 429 | |
| 447 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 448 | -theorem addBlock_pressure (a b : CorrectionState.HarmonicBlock D) (n : ℕ) (p : D × ℝ) : | |
| 449 | - (addBlock a b).oscillatoryPressure n p = a.oscillatoryPressure n p + | |
| 450 | - (withCarrier a b).oscillatoryPressure n p := by | |
| 451 | - simp only [addBlock, withCarrier, CorrectionState.HarmonicBlock.oscillatoryPressure, | |
| 452 | - HarmonicResidual.field_add, Complex.add_re] | |
| 453 | - | |
| 454 | 430 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 455 | 431 | theorem blockAmplitude_addBlock (a b : CorrectionState.HarmonicBlock D) (n : ℕ) : |
| 456 | 432 | blockAmplitude (addBlock a b) n = blockAmplitude a n + blockAmplitude b n := by |
| @@ -518,61 +494,6 @@ theorem nonlinearCoefficients_wave_class {s : StripData D} {κ α β : ℝ} {P : | ||
| 518 | 494 | (min_le_left _ _)).add ((square_wave_class c ho hR a hb hb0 hN hΦ hk hdb hP0 hP1 j i).mono_exponent |
| 519 | 495 | (min_le_right _ _)) |
| 520 | 496 | |
| 521 | -noncomputable def nonlinearErrorBlock (c : CorrectionState.Context D) | |
| 522 | - (a b : CorrectionState.HarmonicBlock D) : CorrectionState.HarmonicBlock D where | |
| 523 | - velocity := fun n i => HarmonicResidual.nonconstant | |
| 524 | - (HarmonicResidual.realCoefficients (nonlinearCoefficients c a b n i)) | |
| 525 | - pressure := fun _ => 0 | |
| 526 | - frequency := a.frequency | |
| 527 | - phase := a.phase | |
| 528 | - angularFrequency := a.angularFrequency | |
| 529 | - | |
| 530 | -theorem nonlinearErrorBlock_class {s : StripData D} {κ α β : ℝ} {P : ℕ → D → ℝ} | |
| 531 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 532 | - (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 533 | - {a b : CorrectionState.HarmonicBlock D} {M N : ℕ} | |
| 534 | - (ha : a.WaveBounds s P α) (hb : b.WaveBounds s P β) | |
| 535 | - (ha0 : ZeroMode a) (hb0 : ZeroMode b) (hM : a.BandLimited M) (hN : b.BandLimited N) | |
| 536 | - (hΦ : ∀ n, ContDiffOn ℝ ∞ (a.phase n) s.domain) (hk : ∀ n, a.frequency n ≠ 0) | |
| 537 | - (hda : ModeSolenoidal s c a) (hdb : ModeSolenoidal s c (withCarrier a b)) | |
| 538 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 539 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : | |
| 540 | - (nonlinearErrorBlock c a b).WaveBounds s P (min (α + β - κ) (β + β - κ)) := by | |
| 541 | - intro i j hj | |
| 542 | - have hh m := nonlinearCoefficients_wave_class c ho hR ha hb ha0 hb0 hM hN hΦ hk hda hdb hP0 hP1 m i | |
| 543 | - have hr := realCoefficient_class (fun n => nonlinearCoefficients c a b n i) j (hh j) (hh (-j)) | |
| 544 | - apply class_congr hr | |
| 545 | - intro n x _ | |
| 546 | - exact (nonconstant_apply_of_ne _ hj x).symm | |
| 547 | - | |
| 548 | -theorem nonlinearErrorBlock_band (c : CorrectionState.Context D) | |
| 549 | - {a b : CorrectionState.HarmonicBlock D} {M N : ℕ} | |
| 550 | - (ha : a.BandLimited M) (hb : b.BandLimited N) : | |
| 551 | - (nonlinearErrorBlock c a b).BandLimited (max (M + N) (N + N)) := by | |
| 552 | - refine ⟨fun n i => ?_, fun _ => HarmonicResidual.band_zero _⟩ | |
| 553 | - apply HarmonicResidual.band_nonconstant | |
| 554 | - apply HarmonicResidual.band_realCoefficients | |
| 555 | - have ha' r := HarmonicResidual.band_realCoefficients (ha.1 n r) | |
| 556 | - have hb' r := HarmonicResidual.band_realCoefficients (hb.1 n r) | |
| 557 | - have hab := HarmonicResidual.band_transport (HarmonicResidual.contextFrame c n) | |
| 558 | - (a.frequency n) (a.phase n) (a.angularFrequency n) ha' hb' i | |
| 559 | - have hba := HarmonicResidual.band_transport (HarmonicResidual.contextFrame c n) | |
| 560 | - (a.frequency n) (a.phase n) (a.angularFrequency n) hb' ha' i | |
| 561 | - have hbb := HarmonicResidual.band_transport (HarmonicResidual.contextFrame c n) | |
| 562 | - (a.frequency n) (a.phase n) (a.angularFrequency n) hb' hb' i | |
| 563 | - exact ((hab.mono (le_max_left _ _)).add (hba.mono (by omega))).add | |
| 564 | - (hbb.mono (le_max_right _ _)) | |
| 565 | - | |
| 566 | -theorem nonlinearErrorBlock_conjugate (c : CorrectionState.Context D) | |
| 567 | - (a b : CorrectionState.HarmonicBlock D) (n : ℕ) (i : Fin 3) : | |
| 568 | - ConjugateSymmetric ((nonlinearErrorBlock c a b).velocity n i) := | |
| 569 | - HarmonicResidual.nonconstant_conjugate (HarmonicResidual.realCoefficients_conjugate _) | |
| 570 | - | |
| 571 | -theorem nonlinearErrorBlock_zero (c : CorrectionState.Context D) | |
| 572 | - (a b : CorrectionState.HarmonicBlock D) : ZeroMode (nonlinearErrorBlock c a b) := by | |
| 573 | - intro n i | |
| 574 | - simp [nonlinearErrorBlock, HarmonicResidual.nonconstant] | |
| 575 | - | |
| 576 | 497 | /-! ## Identification with the actual differentiated residual -/ |
| 577 | 498 | |
| 578 | 499 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| @@ -1054,82 +975,9 @@ theorem interactionBlock_band (c : CorrectionState.Context D) (u : CorrectionSta | ||
| 1054 | 975 | (fun r => HarmonicResidual.band_realCoefficients (hb.1 n r)) i |
| 1055 | 976 | exact (hcross.mono (by omega)).add (nonlinearCoefficients_band c ha hb n i) |
| 1056 | 977 | |
| 1057 | -theorem interactionBlock_conjugate (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 1058 | - (a b : CorrectionState.HarmonicBlock D) (n : ℕ) (i : Fin 3) : | |
| 1059 | - ConjugateSymmetric ((interactionBlock c u a b).velocity n i) := | |
| 1060 | - HarmonicResidual.nonconstant_conjugate (HarmonicResidual.realCoefficients_conjugate _) | |
| 1061 | - | |
| 1062 | 978 | theorem interactionBlock_zero (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 1063 | 979 | (a b : CorrectionState.HarmonicBlock D) : ZeroMode (interactionBlock c u a b) := by |
| 1064 | 980 | intro n i |
| 1065 | 981 | simp [interactionBlock, HarmonicResidual.nonconstant] |
| 1066 | 982 | |
| 1067 | -theorem linearGoodBlock_band (c : CorrectionState.Context D) (a : CorrectionState.HarmonicBlock D) | |
| 1068 | - {b : CorrectionState.HarmonicBlock D} {g : HarmonicResidual.BlockCoefficients D} {N E : ℕ} | |
| 1069 | - (hb : b.BandLimited N) (hg : ∀ n i, BandLimited (g n i) E) : | |
| 1070 | - (linearGoodBlock c a b g).BandLimited (max N E) := by | |
| 1071 | - refine ⟨fun n i => ?_, fun _ => HarmonicResidual.band_zero _⟩ | |
| 1072 | - apply HarmonicResidual.band_nonconstant | |
| 1073 | - apply HarmonicResidual.band_realCoefficients | |
| 1074 | - have hlin := HarmonicResidual.band_linearResidual (HarmonicResidual.contextFrame c n) | |
| 1075 | - (a.frequency n) (a.phase n) (a.angularFrequency n) | |
| 1076 | - (B := HarmonicResidual.constantVector (HarmonicResidual.contextBase c n)) | |
| 1077 | - (fun _ => band_constantCoefficient _) | |
| 1078 | - (fun r => HarmonicResidual.band_realCoefficients (hb.1 n r)) | |
| 1079 | - (HarmonicResidual.band_realCoefficients (hb.2 n)) i | |
| 1080 | - exact HarmonicResidual.band_sub (hlin.mono (le_max_left _ _)) ((hg n i).mono (le_max_right _ _)) | |
| 1081 | - | |
| 1082 | -theorem linearGoodBlock_conjugate (c : CorrectionState.Context D) | |
| 1083 | - (a b : CorrectionState.HarmonicBlock D) (g : HarmonicResidual.BlockCoefficients D) (n : ℕ) (i : Fin 3) : | |
| 1084 | - ConjugateSymmetric ((linearGoodBlock c a b g).velocity n i) := | |
| 1085 | - HarmonicResidual.nonconstant_conjugate (HarmonicResidual.realCoefficients_conjugate _) | |
| 1086 | - | |
| 1087 | -theorem linearGoodBlock_zero (c : CorrectionState.Context D) | |
| 1088 | - (a b : CorrectionState.HarmonicBlock D) (g : HarmonicResidual.BlockCoefficients D) : | |
| 1089 | - ZeroMode (linearGoodBlock c a b g) := by | |
| 1090 | - intro n i | |
| 1091 | - simp [linearGoodBlock, HarmonicResidual.nonconstant] | |
| 1092 | - | |
| 1093 | -noncomputable def waveResidualDifferenceBlock (c : CorrectionState.Context D) | |
| 1094 | - (u₀ u₁ : CorrectionState.State D) (a b : CorrectionState.HarmonicBlock D) | |
| 1095 | - (G g A₀ A₁ : HarmonicResidual.BlockCoefficients D) : CorrectionState.HarmonicBlock D where | |
| 1096 | - velocity := fun n i => (HarmonicResidual.residualBlock c u₁ (addBlock a b) (G + g) A₁).velocity n i - | |
| 1097 | - (HarmonicResidual.residualBlock c u₀ a G A₀).velocity n i | |
| 1098 | - pressure := fun _ => 0 | |
| 1099 | - frequency := a.frequency | |
| 1100 | - phase := a.phase | |
| 1101 | - angularFrequency := a.angularFrequency | |
| 1102 | - | |
| 1103 | -theorem waveResidualDifferenceBlock_field (c : CorrectionState.Context D) | |
| 1104 | - (u₀ u₁ : CorrectionState.State D) (a b : CorrectionState.HarmonicBlock D) | |
| 1105 | - (G g A₀ A₁ : HarmonicResidual.BlockCoefficients D) (n : ℕ) (x : D × ℝ) (i : Fin 3) : | |
| 1106 | - (waveResidualDifferenceBlock c u₀ u₁ a b G g A₀ A₁).oscillation n x i = | |
| 1107 | - (HarmonicResidual.residualBlock c u₁ (addBlock a b) (G + g) A₁).oscillation n x i - | |
| 1108 | - (HarmonicResidual.residualBlock c u₀ a G A₀).oscillation n x i := by | |
| 1109 | - simp only [waveResidualDifferenceBlock, CorrectionState.HarmonicBlock.oscillation, | |
| 1110 | - HarmonicResidual.field_sub, Complex.sub_re] | |
| 1111 | - rfl | |
| 1112 | - | |
| 1113 | -/-- The grouped difference is the change in the actual good nonconstant PDE | |
| 1114 | -residual. Cross-label products vanish by the disjoint supports contained in | |
| 1115 | -`ExtractionRegular`; finite sums alone are not used as uniform estimates. -/ | |
| 1116 | -theorem grouped_wave_change {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 1117 | - {c : CorrectionState.Context D} {u₀ u₁ : CorrectionState.State D} | |
| 1118 | - {labels : ℕ → Finset ι} {a b : ι → CorrectionState.HarmonicBlock D} | |
| 1119 | - {G g A₀ A₁ : ι → HarmonicResidual.BlockCoefficients D} | |
| 1120 | - (hrep₀ : HarmonicResidual.BlockRepresentation labels a G A₀ u₀) | |
| 1121 | - (hrep₁ : HarmonicResidual.BlockRepresentation labels (fun l => addBlock (a l) (b l)) | |
| 1122 | - (fun l => G l + g l) A₁ u₁) {n : ℕ} | |
| 1123 | - (h₀ : HarmonicResidual.ExtractionRegular U c u₀ labels a G A₀ n) | |
| 1124 | - (h₁ : HarmonicResidual.ExtractionRegular U c u₁ labels (fun l => addBlock (a l) (b l)) | |
| 1125 | - (fun l => G l + g l) A₁ n) | |
| 1126 | - {x : D × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : | |
| 1127 | - HarmonicResidual.stateGoodWaveResidual c u₁ n x i - | |
| 1128 | - HarmonicResidual.stateGoodWaveResidual c u₀ n x i = | |
| 1129 | - ∑ l ∈ labels n, (waveResidualDifferenceBlock c u₀ u₁ (a l) (b l) | |
| 1130 | - (G l) (g l) (A₀ l) (A₁ l)).oscillation n x i := by | |
| 1131 | - rw [HarmonicResidual.stateGoodWaveResidual_grouped hU hrep₁ h₁ hx i, | |
| 1132 | - HarmonicResidual.stateGoodWaveResidual_grouped hU hrep₀ h₀ hx i] | |
| 1133 | - simp only [waveResidualDifferenceBlock_field, Finset.sum_sub_distrib] | |
| 1134 | - | |
| 1135 | 983 | end NavierStokes.HarmonicWaveInteraction |
+0 −108 NavierStokes/IntegratedMeanBalances.lean View file
| @@ -55,13 +55,6 @@ theorem deriv_smooth {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) : | ||
| 55 | 55 | theorem ae_radial_ne_zero : ∀ᵐ r : ℝ, r ≠ 0 := by |
| 56 | 56 | simpa only [mem_singleton_iff] using (countable_singleton (0 : ℝ)).ae_notMem volume |
| 57 | 57 | |
| 58 | -theorem integral_deriv_zero {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) | |
| 59 | - (hs : HasCompactSupport f) : (∫ r, deriv f r) = 0 := | |
| 60 | - integral_eq_zero_of_hasDerivAt_of_integrable | |
| 61 | - (fun r => (hf.differentiable (by simp) r).hasDerivAt) | |
| 62 | - ((deriv_smooth hf).continuous.integrable_of_hasCompactSupport hs.deriv) | |
| 63 | - (hf.continuous.integrable_of_hasCompactSupport hs) | |
| 64 | - | |
| 65 | 58 | /-- Weighted integration by parts; compact support supplies both endpoint terms. -/ |
| 66 | 59 | theorem moment_deriv_succ {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 67 | 60 | (hs : HasCompactSupport f) (n : ℕ) : |
| @@ -365,28 +358,10 @@ theorem fixedPartial_smooth (v : (P × ℝ) × ℝ) {F : (P × ℝ) × ℝ → | ||
| 365 | 358 | (hF : ContDiff ℝ ∞ F) : ContDiff ℝ ∞ (fixedPartial v F) := |
| 366 | 359 | (hF.fderiv_right (by simp)).clm_apply contDiff_const |
| 367 | 360 | |
| 368 | -theorem fixedPartial_periodic (v : (P × ℝ) × ℝ) {F : (P × ℝ) × ℝ → ℝ} | |
| 369 | - (hp : TorusPeriodic F) : TorusPeriodic (fixedPartial v F) := by | |
| 370 | - constructor | |
| 371 | - · intro q | |
| 372 | - have he : (fun x => F (x + ((0, 0), 1))) = F := funext hp.first | |
| 373 | - have hd := congrArg (fun f => fderiv ℝ f q) he | |
| 374 | - rw [fderiv_comp_add_right] at hd | |
| 375 | - exact congrArg (fun L : ((P × ℝ) × ℝ) →L[ℝ] ℝ => L v) hd | |
| 376 | - · intro q | |
| 377 | - have he : (fun x => F (x + ((0, 1), 0))) = F := funext hp.second | |
| 378 | - have hd := congrArg (fun f => fderiv ℝ f q) he | |
| 379 | - rw [fderiv_comp_add_right] at hd | |
| 380 | - exact congrArg (fun L : ((P × ℝ) × ℝ) →L[ℝ] ℝ => L v) hd | |
| 381 | - | |
| 382 | 361 | theorem torusInner_smooth {F : (P × ℝ) × ℝ → ℝ} (hF : ContDiff ℝ ∞ F) : |
| 383 | 362 | ContDiff ℝ ∞ (torusInner F) := |
| 384 | 363 | TransportPrimitive.parameterIntegral_contDiff (g := F) hF 0 1 |
| 385 | 364 | |
| 386 | -theorem torusAverage_smooth {F : (P × ℝ) × ℝ → ℝ} (hF : ContDiff ℝ ∞ F) : | |
| 387 | - ContDiff ℝ ∞ (torusAverage F) := | |
| 388 | - TransportPrimitive.parameterIntegral_contDiff (g := torusInner F) (torusInner_smooth hF) 0 1 | |
| 389 | - | |
| 390 | 365 | /-- Both parameter-integral interchanges are proved from joint smoothness on |
| 391 | 366 | the compact torus coordinate square. -/ |
| 392 | 367 | theorem torusAverage_fderiv {F : (P × ℝ) × ℝ → ℝ} (hF : ContDiff ℝ ∞ F) (p v : P) : |
| @@ -480,55 +455,6 @@ theorem torusAverage_torusPartial_zero (v : ℝ × ℝ) {F : (P × ℝ) × ℝ | ||
| 480 | 455 | torusAverage_first_zero hF hp, torusAverage_second_zero hF hp] |
| 481 | 456 | simp |
| 482 | 457 | |
| 483 | -noncomputable def graphPartial (a : P → ℝ) (v : P) (w : ℝ × ℝ) | |
| 484 | - (F : (P × ℝ) × ℝ → ℝ) (q : (P × ℝ) × ℝ) : ℝ := | |
| 485 | - slowPartial v F q + a q.1.1 * torusPartial w F q | |
| 486 | - | |
| 487 | -theorem graphPartial_smooth {a : P → ℝ} {F : (P × ℝ) × ℝ → ℝ} | |
| 488 | - (ha : ContDiff ℝ ∞ a) (hF : ContDiff ℝ ∞ F) (v : P) (w : ℝ × ℝ) : | |
| 489 | - ContDiff ℝ ∞ (graphPartial a v w F) := | |
| 490 | - (fixedPartial_smooth _ hF).add ((ha.comp contDiff_fst.fst).mul (fixedPartial_smooth _ hF)) | |
| 491 | - | |
| 492 | -theorem graphPartial_periodic (a : P → ℝ) (v : P) (w : ℝ × ℝ) | |
| 493 | - {F : (P × ℝ) × ℝ → ℝ} (hp : TorusPeriodic F) : | |
| 494 | - TorusPeriodic (graphPartial a v w F) := by | |
| 495 | - have hs := fixedPartial_periodic ((v, 0), 0) hp | |
| 496 | - have ht := fixedPartial_periodic ((0, w.2), w.1) hp | |
| 497 | - constructor | |
| 498 | - · intro q | |
| 499 | - simp only [graphPartial, slowPartial, torusPartial] | |
| 500 | - rw [hs.first, ht.first] | |
| 501 | - simp only [Prod.add_def, add_zero] | |
| 502 | - · intro q | |
| 503 | - simp only [graphPartial, slowPartial, torusPartial] | |
| 504 | - rw [hs.second, ht.second] | |
| 505 | - simp only [Prod.add_def, add_zero] | |
| 506 | - | |
| 507 | -/-- Graph lift terms integrate to zero; only the genuine slow derivative remains. -/ | |
| 508 | -theorem torusAverage_graphPartial {a : P → ℝ} {F : (P × ℝ) × ℝ → ℝ} | |
| 509 | - (ha : ContDiff ℝ ∞ a) (hF : ContDiff ℝ ∞ F) (hp : TorusPeriodic F) | |
| 510 | - (v p : P) (w : ℝ × ℝ) : | |
| 511 | - torusAverage (graphPartial a v w F) p = fderiv ℝ (torusAverage F) p v := by | |
| 512 | - have hs : ContDiff ℝ ∞ (slowPartial v F) := fixedPartial_smooth _ hF | |
| 513 | - have ht : ContDiff ℝ ∞ (fun q => a q.1.1 * torusPartial w F q) := | |
| 514 | - (ha.comp contDiff_fst.fst).mul (fixedPartial_smooth _ hF) | |
| 515 | - unfold graphPartial | |
| 516 | - rw [torusAverage_add hs ht, torusAverage_coeff_mul, | |
| 517 | - torusAverage_torusPartial_zero w hF hp, mul_zero, add_zero] | |
| 518 | - exact (torusAverage_fderiv hF p v).symm | |
| 519 | - | |
| 520 | -theorem torusAverage_graphPartial_twice {a : P → ℝ} {F : (P × ℝ) × ℝ → ℝ} | |
| 521 | - (ha : ContDiff ℝ ∞ a) (hF : ContDiff ℝ ∞ F) (hp : TorusPeriodic F) | |
| 522 | - (v p : P) (w : ℝ × ℝ) : | |
| 523 | - torusAverage (graphPartial a v w (graphPartial a v w F)) p = | |
| 524 | - fderiv ℝ (fun q => fderiv ℝ (torusAverage F) q v) p v := by | |
| 525 | - rw [torusAverage_graphPartial ha (graphPartial_smooth ha hF v w) | |
| 526 | - (graphPartial_periodic a v w hp)] | |
| 527 | - have he : torusAverage (graphPartial a v w F) = | |
| 528 | - (fun q => fderiv ℝ (torusAverage F) q v) := | |
| 529 | - funext (fun q => torusAverage_graphPartial ha hF hp v q w) | |
| 530 | - rw [he] | |
| 531 | - | |
| 532 | 458 | end Torus |
| 533 | 459 | |
| 534 | 460 | /-! ## The averaged chart balances and their exact weighted integrals -/ |
| @@ -766,15 +692,6 @@ theorem radialDivergence_supported {a b : ℝ} {f : ℝ → ℝ} | ||
| 766 | 692 | simp [radialDivergence, zero_of_not_mem_interval hs hn, |
| 767 | 693 | zero_of_not_mem_interval (deriv_support_interval hs) hn] |
| 768 | 694 | |
| 769 | -theorem angularViscosity_supported {a b : ℝ} {f : ℝ → ℝ} | |
| 770 | - (hs : support f ⊆ Icc a b) : support (angularRadialViscosity f) ⊆ Icc a b := by | |
| 771 | - intro r hr | |
| 772 | - by_contra hn | |
| 773 | - apply hr | |
| 774 | - simp [angularRadialViscosity, zero_of_not_mem_interval hs hn, | |
| 775 | - zero_of_not_mem_interval (deriv_support_interval hs) hn, | |
| 776 | - zero_of_not_mem_interval (deriv_support_interval (deriv_support_interval hs)) hn] | |
| 777 | - | |
| 778 | 695 | theorem axialViscosity_supported {a b : ℝ} {f : ℝ → ℝ} |
| 779 | 696 | (hs : support f ⊆ Icc a b) : support (axialRadialViscosity f) ⊆ Icc a b := by |
| 780 | 697 | intro r hr |
| @@ -792,21 +709,6 @@ theorem SmoothShell.zero_of_not_mem {a b : ℝ} {F : MeanField} (hF : SmoothShel | ||
| 792 | 709 | by_contra h |
| 793 | 710 | exact hx (hF.supported h) |
| 794 | 711 | |
| 795 | -theorem angularBalance_supported {a b : ℝ} (ε : ℝ) | |
| 796 | - {v radialFlux axialFlux virtualFlux : MeanField} | |
| 797 | - (hv : SmoothShell a b v) (hr : SmoothShell a b radialFlux) | |
| 798 | - (hz : SmoothShell a b axialFlux) (hT : SmoothShell a b virtualFlux) : | |
| 799 | - RadialAlias.RadiallySupported a b (angularBalance ε v radialFlux axialFlux virtualFlux) := by | |
| 800 | - intro x hx | |
| 801 | - by_contra hn | |
| 802 | - apply hx | |
| 803 | - simp [angularBalance, | |
| 804 | - (hv.partial (1, 0)).zero_of_not_mem hn, (hz.partial (0, 1)).zero_of_not_mem hn, | |
| 805 | - ((hv.partial (0, 1)).partial (0, 1)).zero_of_not_mem hn, | |
| 806 | - zero_of_not_mem_interval (radialDivergence_supported (hr.slice_support x.2) 2) hn, | |
| 807 | - zero_of_not_mem_interval (radialDivergence_supported (hT.slice_support x.2) 2) hn, | |
| 808 | - zero_of_not_mem_interval (angularViscosity_supported (hv.slice_support x.2)) hn] | |
| 809 | - | |
| 810 | 712 | theorem axialBalance_supported {a b : ℝ} (ε : ℝ) |
| 811 | 713 | {γ radialFlux axialFlux pressure virtualFlux : MeanField} |
| 812 | 714 | (hγ : SmoothShell a b γ) (hr : SmoothShell a b radialFlux) |
| @@ -830,16 +732,6 @@ theorem positive_radialMoment {a b : ℝ} (ha : 0 < a) {F : MeanField} | ||
| 830 | 732 | intro r hr |
| 831 | 733 | exact hs (right_ne_zero_of_mul hr) |
| 832 | 734 | |
| 833 | -theorem integrated_angular_positive {a b : ℝ} (ha : 0 < a) (ε : ℝ) | |
| 834 | - {v radialFlux axialFlux virtualFlux : MeanField} | |
| 835 | - (hv : SmoothShell a b v) (hr : SmoothShell a b radialFlux) | |
| 836 | - (hz : SmoothShell a b axialFlux) (hT : SmoothShell a b virtualFlux) | |
| 837 | - (hmass : radialMoment 2 v = 0) (p : MeanParameter) : | |
| 838 | - (∫ r in Ioi (0 : ℝ), r ^ 2 * angularBalance ε v radialFlux axialFlux virtualFlux (r, p)) = | |
| 839 | - ε * fderiv ℝ (radialMoment 2 axialFlux) p (0, 1) := by | |
| 840 | - rw [positive_radialMoment ha (angularBalance_supported ε hv hr hz hT), | |
| 841 | - integrated_angular_balance ε hv hr hz hT hmass] | |
| 842 | - | |
| 843 | 735 | theorem integrated_axial_positive {a b : ℝ} (ha : 0 < a) (ε : ℝ) |
| 844 | 736 | {γ radialFlux axialFlux pressure virtualFlux gr ρ : MeanField} |
| 845 | 737 | (hγ : SmoothShell a b γ) (hr : SmoothShell a b radialFlux) |
+0 −83 NavierStokes/LabelCounting.lean View file
| @@ -31,11 +31,6 @@ def relevantLabels (n : ℕ) (A : ℝ) (B : Set Position) : Set Label := | ||
| 31 | 31 | theorem nativeSpacing_eq (n : ℕ) : nativeSpacing n = ((n : ℝ) ^ 6)⁻¹ := by |
| 32 | 32 | simp only [nativeSpacing, ChartScales.S, ← pow_mul] |
| 33 | 33 | |
| 34 | -theorem nativeSpacing_mul_six {n : ℕ} (hn : 1 ≤ n) : | |
| 35 | - nativeSpacing n * (n : ℝ) ^ 6 = 1 := by | |
| 36 | - rw [nativeSpacing_eq, inv_mul_cancel₀] | |
| 37 | - exact pow_ne_zero _ (by exact_mod_cast (by omega : n ≠ 0)) | |
| 38 | - | |
| 39 | 34 | /-- A coordinate bounded in physical chart units gives an explicit integer |
| 40 | 35 | index bound. The center may vary freely; only the radius affects the count. -/ |
| 41 | 36 | theorem index_bound {n : ℕ} (hn : 1 ≤ n) {A x c : ℝ} {i : ℤ} {M K : ℕ} |
| @@ -64,17 +59,6 @@ theorem index_bound {n : ℕ} (hn : 1 ≤ n) {A x c : ℝ} {i : ℤ} {M K : ℕ} | ||
| 64 | 59 | push_cast |
| 65 | 60 | rfl |
| 66 | 61 | |
| 67 | -theorem slowMask_tsupport_subset_normalizedBox {n : ℕ} (hn : 1 ≤ n) | |
| 68 | - (k : Grid) (σ : Bool) {A : ℝ} (hA : 1 ≤ A) : | |
| 69 | - tsupport (slowMask n k) ⊆ normalizedBox A (n, k, σ) := by | |
| 70 | - intro x hx j | |
| 71 | - have hj := slowMask_tsupport_subset hn k hx j (mem_univ j) | |
| 72 | - change |x j - nativeSpacing n * (k j : ℝ)| ≤ A * nativeSpacing n | |
| 73 | - have hδ := nativeSpacing_pos hn | |
| 74 | - have hm : nativeSpacing n ≤ A * nativeSpacing n := by nlinarith | |
| 75 | - rw [abs_le] | |
| 76 | - constructor <;> linarith [hj.1, hj.2] | |
| 77 | - | |
| 78 | 62 | /-- Explicit count for any chart region contained in a coordinate rectangle. |
| 79 | 63 | Coordinates of radius zero make only a constant contribution to this bound. -/ |
| 80 | 64 | theorem rectangle_count {n : ℕ} (hn : 1 ≤ n) {A : ℝ} {K : ℕ} (hA : A ≤ K) |
| @@ -238,22 +222,6 @@ theorem pointwise_count (A : ℝ) : | ||
| 238 | 222 | obtain ⟨hfin, hcount⟩ := pointwise_count_of_bound D hK q x |
| 239 | 223 | exact ⟨hfin, by exact_mod_cast hcount⟩ |
| 240 | 224 | |
| 241 | -/-- The original mask-support regions are contained in every enlargement | |
| 242 | -of factor at least one. Thus the count above applies to the actual labels | |
| 243 | -of the constructed partition, including their support boundaries. -/ | |
| 244 | -theorem labelRegion_subset_pointwiseLabels {D A q : ℝ} {x : Position} {L : Label} | |
| 245 | - (hA : 1 ≤ A) (hn : 1 ≤ L.1) | |
| 246 | - (hL : (q, x) ∈ PhysicalWaveSum.labelRegion D L) : | |
| 247 | - L ∈ pointwiseLabels D A q x := by | |
| 248 | - refine ⟨hn, hL.1, slowMask_tsupport_subset_normalizedBox hn L.2.1 L.2.2 hA ?_⟩ | |
| 249 | - have hs : tsupport (physicalSlowMask D L.1 L.2.1) ⊆ | |
| 250 | - (slowCoordinates D L.1) ⁻¹' tsupport (slowMask L.1 L.2.1) := by | |
| 251 | - apply closure_minimal | |
| 252 | - · intro y hy | |
| 253 | - exact subset_tsupport (slowMask L.1 L.2.1) hy | |
| 254 | - · exact isClosed_closure.preimage (slowCoordinates_smooth D L.1).continuous | |
| 255 | - exact hs hL.2 | |
| 256 | - | |
| 257 | 225 | /-- All three conclusions of `geom:label-counts` for an arbitrary fixed |
| 258 | 226 | enlargement. Constants are chosen before the band and point variables. -/ |
| 259 | 227 | theorem number_of_relevant_labels (A : ℝ) : |
| @@ -280,55 +248,4 @@ theorem restrict_count (Γ : Set Label) {s : Set Label} {C : ℝ} | ||
| 280 | 248 | exact_mod_cast Set.ncard_le_ncard inter_subset_right hs.1 |
| 281 | 249 | exact hcard.trans hs.2 |
| 282 | 250 | |
| 283 | -/-- Literal label-family version of the three counting bounds. The fixed | |
| 284 | -set `Γ` may impose every admissibility condition of the construction. -/ | |
| 285 | -theorem number_of_relevant_labels_restrict (A : ℝ) (Γ : Set Label) : | |
| 286 | - (∃ C > 0, ∀ D q : ℝ, ∀ x : Position, | |
| 287 | - (Γ ∩ pointwiseLabels D A q x).Finite ∧ | |
| 288 | - ((Γ ∩ pointwiseLabels D A q x).ncard : ℝ) ≤ C) ∧ | |
| 289 | - (∀ B : Set Position, IsCompact B → ∃ C > 0, ∀ n : ℕ, 1 ≤ n → | |
| 290 | - (Γ ∩ relevantLabels n A B).Finite ∧ | |
| 291 | - ((Γ ∩ relevantLabels n A B).ncard : ℝ) ≤ C * ChartScales.S n ^ 9) ∧ | |
| 292 | - (∀ I : Set ℝ, Bornology.IsBounded I → ∃ C > 0, ∀ n : ℕ, 1 ≤ n → ∀ Z T : ℝ, | |
| 293 | - (Γ ∩ relevantLabels n A (radialSlice I Z T)).Finite ∧ | |
| 294 | - ((Γ ∩ relevantLabels n A (radialSlice I Z T)).ncard : ℝ) ≤ | |
| 295 | - C * ChartScales.S n ^ 3) := by | |
| 296 | - obtain ⟨⟨C, hC, hpoint⟩, hchart, hradial⟩ := number_of_relevant_labels A | |
| 297 | - refine ⟨⟨C, hC, fun D q x => restrict_count Γ (hpoint D q x)⟩, ?_, ?_⟩ | |
| 298 | - · intro B hB | |
| 299 | - obtain ⟨C, hC, hcount⟩ := hchart B hB | |
| 300 | - exact ⟨C, hC, fun n hn => restrict_count Γ (hcount n hn)⟩ | |
| 301 | - · intro I hI | |
| 302 | - obtain ⟨C, hC, hcount⟩ := hradial I hI | |
| 303 | - exact ⟨C, hC, fun n hn Z T => restrict_count Γ (hcount n hn Z T)⟩ | |
| 304 | - | |
| 305 | -theorem physicalBox_iff_normalizedBox (D : ℝ) {n : ℕ} (_hn : 1 ≤ n) | |
| 306 | - (k : Grid) (σ : Bool) (x : Position) : | |
| 307 | - x ∈ physicalBox D (n, k, σ) ↔ | |
| 308 | - slowCoordinates D n x ∈ normalizedBox 2 (n, k, σ) := by | |
| 309 | - have hw (j : Fin 3) : width D j n = | |
| 310 | - ChartScales.Q n ^ axisExponent D j * nativeSpacing n := by | |
| 311 | - unfold width | |
| 312 | - rw [spacing_eq_scaled_mesh] | |
| 313 | - simp only [ChartScales.Q, nativeSpacing, ChartScales.S, one_div] | |
| 314 | - have he (j : Fin 3) : | |
| 315 | - |slowCoordinates D n x j - nativeSpacing n * (k j : ℝ)| = | |
| 316 | - |x j - width D j n * (k j : ℝ)| / ChartScales.Q n ^ axisExponent D j := by | |
| 317 | - have hq := Real.rpow_pos_of_pos (ChartScales.Q_pos n) (axisExponent D j) | |
| 318 | - have he : slowCoordinates D n x j - nativeSpacing n * (k j : ℝ) = | |
| 319 | - (x j - width D j n * (k j : ℝ)) / ChartScales.Q n ^ axisExponent D j := by | |
| 320 | - dsimp [slowCoordinates] | |
| 321 | - rw [hw] | |
| 322 | - field_simp | |
| 323 | - rw [he, abs_div, abs_of_pos hq] | |
| 324 | - change (∀ j, |x j - width D j n * (k j : ℝ)| ≤ 2 * width D j n) ↔ _ | |
| 325 | - change _ ↔ ∀ j, |slowCoordinates D n x j - nativeSpacing n * (k j : ℝ)| ≤ | |
| 326 | - 2 * nativeSpacing n | |
| 327 | - simp only [he] | |
| 328 | - apply forall_congr' | |
| 329 | - intro j | |
| 330 | - have hq := Real.rpow_pos_of_pos (ChartScales.Q_pos n) (axisExponent D j) | |
| 331 | - rw [div_le_iff₀ hq, hw] | |
| 332 | - constructor <;> intro h <;> nlinarith | |
| 333 | - | |
| 334 | 251 | end NavierStokes.LabelCounting |
+0 −108 NavierStokes/LabelSumBounds.lean View file
| @@ -305,17 +305,6 @@ theorem labelRegion_subset_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : | ||
| 305 | 305 | refine ⟨⟨by linarith [ht.1], by linarith [ht.2]⟩, ?_⟩ |
| 306 | 306 | exact SquaredPartition.physicalSlowMask_tsupport_subset_physicalBox d hl _ _ hx.2 |
| 307 | 307 | |
| 308 | -theorem physicalMask_tsupport_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : WindowPoint} | |
| 309 | - (hl : 1 ≤ l.1) (hq : 0 < x.1) (hx : x ∈ tsupport (PhysicalWaveSum.physicalMask d l)) : | |
| 310 | - (SquaredPartition.logCoordinate x.1, x.2) ∈ closedWindow d l := | |
| 311 | - labelRegion_subset_closedWindow hl (PhysicalWaveSum.physicalMask_tsupport_subset d l hx) hq | |
| 312 | - | |
| 313 | -theorem physicalMask_jet_tsupport_closedWindow {d : ℝ} {l : SlotColoring.Label} {x : WindowPoint} | |
| 314 | - (hl : 1 ≤ l.1) (hq : 0 < x.1) (m : ℕ) | |
| 315 | - (hx : x ∈ tsupport (iteratedFDeriv ℝ m (PhysicalWaveSum.physicalMask d l))) : | |
| 316 | - (SquaredPartition.logCoordinate x.1, x.2) ∈ closedWindow d l := | |
| 317 | - physicalMask_tsupport_closedWindow hl hq ((tsupport_iteratedFDeriv_subset m) hx) | |
| 318 | - | |
| 319 | 308 | theorem window_card_le {d : ℝ} {x : WindowPoint} (F : Finset ι) |
| 320 | 309 | (label : ι → SlotColoring.Label) (hinj : Set.InjOn label (F : Set ι)) |
| 321 | 310 | (hF : ∀ l ∈ F, 1 ≤ (label l).1 ∧ x ∈ closedWindow d (label l)) : F.card ≤ 2250 := by |
| @@ -679,65 +668,6 @@ theorem SupportedOscillations.sub {d h : ℝ} {vr vt : TorusInverse.Plane} | ||
| 679 | 668 | simpa only [Pi.sub_apply, hzero, zero_sub, neg_ne_zero] using hn |
| 680 | 669 | · exact hu l n x hx θ i hzero |
| 681 | 670 | |
| 682 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 683 | -/-- A native covered profile and a supported slow factor give the exact | |
| 684 | -support predicate used above. This also covers derivatives of the slow | |
| 685 | -mask, since their closed supports lie in the same window. -/ | |
| 686 | -theorem covered_product_supported {d h : ℝ} {vr vt : TorusInverse.Plane} | |
| 687 | - (sys : PartitionedCovariance.SlotSystem d h vr vt) | |
| 688 | - (label : ℕ → ι → SlotColoring.Label) (χ : ℕ → D → WindowPoint) | |
| 689 | - (Y : ℕ → D → TorusInverse.Plane) (U : Set D) | |
| 690 | - (a : ι → ℕ → D → ℝ → Fin 3 → ℝ) | |
| 691 | - (f : ι → ℕ → D → ℝ → Fin 3 → TorusInverse.Plane → ℝ) | |
| 692 | - (ha : ∀ l n x, x ∈ U → ∀ θ i, a l n x θ i ≠ 0 → χ n x ∈ closedWindow d (label n l)) | |
| 693 | - (hf : ∀ l n x, x ∈ U → ∀ θ i, support (f l n x θ i) ⊆ | |
| 694 | - PartitionedCovariance.slotSet h sys.radius vr vt (label n l)) : | |
| 695 | - SupportedOscillations sys label χ Y U (fun l n p i => | |
| 696 | - a l n p.1 p.2 i * PartitionedCovariance.covered | |
| 697 | - (SlotColoring.nativeIndex h (label n l).1) (f l n p.1 p.2 i) (Y n p.1)) := by | |
| 698 | - intro l n x hx θ i hn | |
| 699 | - obtain ⟨ha0, hf0⟩ := mul_ne_zero_iff.mp hn | |
| 700 | - exact ⟨ha l n x hx θ i ha0, PartitionedCovariance.covered_support (hf l n x hx θ i) _ hf0⟩ | |
| 701 | - | |
| 702 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 703 | -/-- The actual physical mask automatically supplies the slow-window | |
| 704 | -condition for a covered native wave, with arbitrary phase and amplitude. -/ | |
| 705 | -theorem native_wave_supported {d h : ℝ} {vr vt : TorusInverse.Plane} | |
| 706 | - (sys : PartitionedCovariance.SlotSystem d h vr vt) | |
| 707 | - (label : ℕ → ι → SlotColoring.Label) (hlevel : ∀ n l, 1 ≤ (label n l).1) | |
| 708 | - (q : ℕ → D → ℝ) (position : ℕ → D → SlotColoring.Position) | |
| 709 | - (Y : ℕ → D → TorusInverse.Plane) (U : Set D) (hq : ∀ n x, x ∈ U → 0 < q n x) | |
| 710 | - (scale : ι → ℕ → D → Fin 3 → ℝ) | |
| 711 | - (f : ι → ℕ → D → Fin 3 → TorusInverse.Plane → ℝ) | |
| 712 | - (mode : ι → ℕ → ℤ) (phase : ι → ℕ → D → TorusInverse.Plane → ℝ) | |
| 713 | - (hf : ∀ l n x, x ∈ U → ∀ i, support (f l n x i) ⊆ | |
| 714 | - PartitionedCovariance.slotSet h sys.radius vr vt (label n l)) : | |
| 715 | - SupportedOscillations sys label | |
| 716 | - (fun n x => (SquaredPartition.logCoordinate (q n x), position n x)) Y U | |
| 717 | - (fun l n p i => PartitionedCovariance.wave | |
| 718 | - (scale l n p.1 i * PartitionedCovariance.physicalMask d (label n l) | |
| 719 | - (q n p.1) (position n p.1)) | |
| 720 | - (SlotColoring.nativeIndex h (label n l).1) (f l n p.1 i) | |
| 721 | - (mode l n) (phase l n p.1) (Y n p.1) p.2) := by | |
| 722 | - intro l n x hx θ i hn | |
| 723 | - obtain ⟨hprod, _⟩ := mul_ne_zero_iff.mp hn | |
| 724 | - obtain ⟨hamp, hprof⟩ := mul_ne_zero_iff.mp hprod | |
| 725 | - have hmask := (mul_ne_zero_iff.mp hamp).2 | |
| 726 | - have hregion : (q n x, position n x) ∈ PhysicalWaveSum.labelRegion d (label n l) := | |
| 727 | - PhysicalWaveSum.physicalMask_support_subset d (label n l) hmask | |
| 728 | - exact ⟨labelRegion_subset_closedWindow (hlevel n l) hregion (hq n x hx), | |
| 729 | - PartitionedCovariance.covered_support (hf l n x hx i) _ hprof⟩ | |
| 730 | - | |
| 731 | -/-- The signed tail-label convention used by PrimaryFieldAssembly is | |
| 732 | -injective and has positive levels for every chosen start `N ≥ 1`. -/ | |
| 733 | -theorem signedTailLabel_admissible {N : ℕ} (hN : 1 ≤ N) : | |
| 734 | - Function.Injective (PartitionedCovariance.signedTailLabel N) ∧ | |
| 735 | - ∀ a, 1 ≤ (PartitionedCovariance.signedTailLabel N a).1 := by | |
| 736 | - refine ⟨PartitionedCovariance.signedTailLabel_injective N, ?_⟩ | |
| 737 | - intro a | |
| 738 | - change 1 ≤ a.1.1 + N | |
| 739 | - omega | |
| 740 | - | |
| 741 | 671 | /-! ## The full signed covariance remainder, below CorrectionStep -/ |
| 742 | 672 | |
| 743 | 673 | abbrev Tensor (D : Type) := Fin 3 → Fin 3 → ScalarField D |
| @@ -1143,19 +1073,6 @@ theorem uniformClass_of_envelopeJets {s : StripData D} | ||
| 1143 | 1073 | (mul_nonneg (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le (hw l n x hx)) |
| 1144 | 1074 | _ = _ := by unfold majorant; ring |
| 1145 | 1075 | |
| 1146 | -theorem uniformWaveClass_of_envelopeJets {s : StripData D} | |
| 1147 | - {V : PhaseJetBounds.Domain (ℕ × ι) D} {W : (ℕ × ι) → D → ℝ} | |
| 1148 | - {a : (ℕ × ι) → D → E} (ha : PrimaryPulseBounds.EnvelopeJets V W a) | |
| 1149 | - {P : ι → ℕ → D → ℝ} {α K : ℝ} {q : ℕ} (hK : 1 ≤ K) | |
| 1150 | - (hscale : ∀ n l, V.scale (n, l) ≤ K * s.slow n ^ q) | |
| 1151 | - (hdom : ∀ n l, s.domain ⊆ V.carrier (n, l)) | |
| 1152 | - (hP : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) | |
| 1153 | - (hW : ∀ l n x, x ∈ s.domain → | |
| 1154 | - W (n, l) x ≤ s.epsilon n ^ α * (Real.sqrt (s.zeta x) * P l n x)) : | |
| 1155 | - UniformWaveClass s P α (fun l n => a (n, l)) := | |
| 1156 | - uniformClass_of_envelopeJets ha hK hscale hdom | |
| 1157 | - (fun l n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP l n x hx)) hW | |
| 1158 | - | |
| 1159 | 1076 | theorem uniformClass_of_polynomialJets {s : StripData D} |
| 1160 | 1077 | {V : PhaseJetBounds.Domain (ℕ × ι) D} {a : (ℕ × ι) → D → E} |
| 1161 | 1078 | (ha : PhaseJetBounds.PolynomialJets V a) {K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| @@ -1165,29 +1082,4 @@ theorem uniformClass_of_polynomialJets {s : StripData D} | ||
| 1165 | 1082 | uniformClass_of_envelopeJets (PrimaryPulseBounds.EnvelopeJets.of_polynomial ha) |
| 1166 | 1083 | hK hscale hdom (fun _ _ _ _ => zero_le_one) (by intro l n x hx; simp) |
| 1167 | 1084 | |
| 1168 | -theorem slotSet_isCompact (h r : ℝ) (vr vt : TorusInverse.Plane) (l : SlotColoring.Label) : | |
| 1169 | - IsCompact (PartitionedCovariance.slotSet h r vr vt l) := by | |
| 1170 | - have he : PartitionedCovariance.slotSet h r vr vt l = | |
| 1171 | - (fun z : ℝ × ℝ => PartitionedCovariance.slotCenter h l + z.1 • vr + z.2 • vt) '' | |
| 1172 | - (Icc (-(2 * r)) (2 * r) ×ˢ Icc (-(2 * r)) (2 * r)) := by | |
| 1173 | - ext x | |
| 1174 | - constructor | |
| 1175 | - · rintro ⟨ξ, η, hξ, hη, he⟩ | |
| 1176 | - exact ⟨(ξ, η), ⟨abs_le.mp hξ, abs_le.mp hη⟩, he.symm⟩ | |
| 1177 | - · rintro ⟨⟨ξ, η⟩, ⟨hξ, hη⟩, he⟩ | |
| 1178 | - exact ⟨ξ, η, abs_le.mpr hξ, abs_le.mpr hη, he.symm⟩ | |
| 1179 | - rw [he] | |
| 1180 | - exact (isCompact_Icc.prod isCompact_Icc).image | |
| 1181 | - ((continuous_const.add (continuous_fst.smul continuous_const)).add | |
| 1182 | - (continuous_snd.smul continuous_const)) | |
| 1183 | - | |
| 1184 | -/-- Native derivatives stay inside the same closed padded slot, including | |
| 1185 | -entry and exit. Periodizing such a derivative can therefore reuse | |
| 1186 | -`PartitionedCovariance.covered_support` and the original slot separation. -/ | |
| 1187 | -theorem native_jet_tsupport_subset {h r : ℝ} {vr vt : TorusInverse.Plane} | |
| 1188 | - {l : SlotColoring.Label} {f : TorusInverse.Plane → E} | |
| 1189 | - (hf : support f ⊆ PartitionedCovariance.slotSet h r vr vt l) (m : ℕ) : | |
| 1190 | - tsupport (iteratedFDeriv ℝ m f) ⊆ PartitionedCovariance.slotSet h r vr vt l := | |
| 1191 | - (tsupport_iteratedFDeriv_subset m).trans (closure_minimal hf (slotSet_isCompact h r vr vt l).isClosed) | |
| 1192 | - | |
| 1193 | 1085 | end NavierStokes.LabelSumBounds |
+0 −252 NavierStokes/LabelSupportPreservation.lean View file
| @@ -148,126 +148,12 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 148 | 148 | |
| 149 | 149 | include hS hsupport |
| 150 | 150 | |
| 151 | -theorem data_pressure_zero_germ (l : Label) (n : ℕ) (k : Frequency) | |
| 152 | - {x : (P × ℝ) × Plane} (hx : x.1.1 ∈ s.domain) | |
| 153 | - (htime : ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2 ∈ | |
| 154 | - Ioo 0 (ScaledActualParticularControl.length F clock l n)) | |
| 155 | - (hpath : ∀ v ∈ Icc 0 (ScaledActualParticularControl.length F clock l n), | |
| 156 | - (x.1.1, (ScaledActualParticularControl.geometry reference gap clock l n).path k x.2 v) ∉ | |
| 157 | - sourceRegions F clock reference gap r S l n) : | |
| 158 | - (data F clock reference gap r hr base tangent ctx u b G A j l).pressure n k | |
| 159 | - =ᶠ[𝓝 x] fun _ => 0 := by | |
| 160 | - apply complexCopyPressure_zero_germ _ _ _ _ _ htime | |
| 161 | - intro v hv | |
| 162 | - exact data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 163 | - s S hS hsupport l n (x := (x.1, _)) hx (hpath v hv) | |
| 164 | - | |
| 165 | -/-- The exact particular solve retains the smaller source cell, even | |
| 166 | -though its raw cutoff is supported on a larger padded cell. -/ | |
| 167 | -theorem data_native_zero_alternative | |
| 168 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 169 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 170 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 171 | - (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 172 | - (hx : x.1.1 ∈ s.domain) | |
| 173 | - (hk : x ∈ nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 174 | - (outerFamily F clock r l n) k) | |
| 175 | - (hn : (x.1.1, x.2) ∉ sourceRegions F clock reference gap r S l n) : | |
| 176 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k | |
| 177 | - =ᶠ[𝓝 x] fun _ => 0) ∨ | |
| 178 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).amplitude n k | |
| 179 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 180 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).pressure n k | |
| 181 | - =ᶠ[𝓝 x] fun _ => 0)) := by | |
| 182 | - let g := ScaledActualParticularControl.geometry reference gap clock l n | |
| 183 | - have hi : InjOn TorusAverages.quotientPoint | |
| 184 | - ((fun z => g.center + g.basis z) '' outerCell (r l n) (F.L (l,n)) (clock.value l n)) := | |
| 185 | - transported_outer_injective (reference l n) (gap l n) (hr l n) (F.L_pos (l,n)) | |
| 186 | - (clock.value_pos l n) (hinj l n) | |
| 187 | - have hk' : g.coordinates k x.2 ∈ outerCell (r l n) (F.L (l,n)) (clock.value l n) := hk | |
| 188 | - by_cases ht : (g.coordinates k x.2).2 ∈ Ioo 0 (ScaledActualParticularControl.length F clock l n) | |
| 189 | - · have hzero (hpath : ∀ v ∈ Icc 0 (ScaledActualParticularControl.length F clock l n), | |
| 190 | - (x.1.1, g.path k x.2 v) ∉ sourceRegions F clock reference gap r S l n) : | |
| 191 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).amplitude n k | |
| 192 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 193 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).pressure n k | |
| 194 | - =ᶠ[𝓝 x] fun _ => 0) := | |
| 195 | - ⟨data_amplitude_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 196 | - s S hS hsupport l n k hx hpath, | |
| 197 | - data_pressure_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 198 | - s S hS hsupport l n k hx ht hpath⟩ | |
| 199 | - by_cases hp : x.1.1 ∈ S l n | |
| 200 | - · by_cases hxi : (g.coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) | |
| 201 | - · left | |
| 202 | - have htime : (g.coordinates k x.2).2 ∉ | |
| 203 | - Icc ((F.L (l,n) / clock.value l n) / 6) (5 * (F.L (l,n) / clock.value l n) / 6) := by | |
| 204 | - intro hv | |
| 205 | - apply hn | |
| 206 | - refine ⟨hp, mem_iUnion.mpr ⟨k, ?_⟩⟩ | |
| 207 | - exact ⟨hxi, hv⟩ | |
| 208 | - exact (nativeCutoff_source_time_zero_germ (hr l n) (F.L_pos (l,n)) | |
| 209 | - (clock.value_pos l n) htime).comp_tendsto | |
| 210 | - ((g.coordinates_contDiff k).continuous.comp continuous_snd).continuousAt | |
| 211 | - · right | |
| 212 | - apply hzero | |
| 213 | - intro v hv hh | |
| 214 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hh.2 | |
| 215 | - exact path_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) | |
| 216 | - hi hk' hxi v hv i hi' | |
| 217 | - · right | |
| 218 | - exact hzero (fun _ _ hh => hp hh.1) | |
| 219 | - · left | |
| 220 | - exact (nativeCutoff_time_zero_germ (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) ht).comp_tendsto | |
| 221 | - ((g.coordinates_contDiff k).continuous.comp continuous_snd).continuousAt | |
| 222 | - | |
| 223 | -/-- All three literal particular output fields have zero germs off the | |
| 224 | -incoming label carrier. This is independent of every numerical jet bound. -/ | |
| 225 | -theorem particular_zero_germs | |
| 226 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 227 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 228 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 229 | - (outStrip : StripData ((P × ℝ) × Plane)) (d : GraphDirections ((P × ℝ) × Plane)) | |
| 230 | - (l : Label) (n : ℕ) {x : (P × ℝ) × Plane} (hx : x.1.1 ∈ s.domain) | |
| 231 | - (hn : (x.1.1, x.2) ∉ sourceRegions F clock reference gap r S l n) : | |
| 232 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).commonCorrected outStrip d).amplitude n | |
| 233 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 234 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).common.pressure n | |
| 235 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 236 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian d n | |
| 237 | - =ᶠ[𝓝 x] fun _ => 0) := by | |
| 238 | - apply common_zero_germs_of_native | |
| 239 | - (data F clock reference gap r hr base tangent ctx u b G A j l) | |
| 240 | - (cells F clock reference gap r hr hinj l) | |
| 241 | - (data_cutoff_support F clock reference gap r hr base tangent ctx u b G A j l) outStrip d | |
| 242 | - (data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 243 | - s S hS hsupport l n hx hn) | |
| 244 | - intro k hk | |
| 245 | - exact data_native_zero_alternative F clock reference gap r hr base tangent ctx u b G A j | |
| 246 | - s S hS hsupport hinj l n k hx hk hn | |
| 247 | - | |
| 248 | 151 | end Particular |
| 249 | 152 | |
| 250 | 153 | section Signed |
| 251 | 154 | |
| 252 | 155 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 253 | 156 | |
| 254 | -/-- The same copy data as the signed update: the inverse-quotient | |
| 255 | -amplitude, its projected homogeneous pressure, and zero inhomogeneous source. -/ | |
| 256 | -noncomputable def signedCopyData (base : WaveCoefficients D) (s : StripData D) | |
| 257 | - (d : GraphDirections D) (matrix : I → ℕ → D → SignedWaveUpdate.Mat2) | |
| 258 | - (target : I → ℕ → D → SignedWaveUpdate.Vec2) | |
| 259 | - (request : ℕ → D → SignedWaveUpdate.Vec2) (mask : I → ℕ → D → ℝ) | |
| 260 | - (fundamental normalMotion : I → ℕ → D → ProblemStatement.Space) | |
| 261 | - (action : I → ℕ → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space) | |
| 262 | - (cutoff : I → ℕ → D → ℝ) (column : Fin 2) : CopyData D I where | |
| 263 | - background := base | |
| 264 | - amplitude n i := (SignedWaveUpdate.coefficients base s d (matrix i) (target i) request | |
| 265 | - (mask i) (fundamental i) (normalMotion i) (action i) column).amplitude n | |
| 266 | - pressure n i := (SignedWaveUpdate.coefficients base s d (matrix i) (target i) request | |
| 267 | - (mask i) (fundamental i) (normalMotion i) (action i) column).pressure n | |
| 268 | - cutoff n i := cutoff i n | |
| 269 | - source := fun _ _ => 0 | |
| 270 | - | |
| 271 | 157 | variable (base : WaveCoefficients D) (s : StripData D) (d : GraphDirections D) |
| 272 | 158 | (matrix : I → ℕ → D → SignedWaveUpdate.Mat2) |
| 273 | 159 | (target : I → ℕ → D → SignedWaveUpdate.Vec2) |
| @@ -276,47 +162,12 @@ variable (base : WaveCoefficients D) (s : StripData D) (d : GraphDirections D) | ||
| 276 | 162 | (action : I → ℕ → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space) |
| 277 | 163 | (cutoff : I → ℕ → D → ℝ) (column : Fin 2) |
| 278 | 164 | |
| 279 | -theorem signed_raw_zero_of_mask (n : ℕ) (i : I) (x : D) (hm : mask i n x = 0) : | |
| 280 | - (signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).amplitude n i x = 0 ∧ | |
| 281 | - (signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).pressure n i x = 0 := by | |
| 282 | - simp [signedCopyData, SignedWaveUpdate.coefficients, | |
| 283 | - SignedWaveUpdate.homogeneousCoefficients, SignedWaveUpdate.signedVector, SignedWaveUpdate.signedScalar, | |
| 284 | - hm, ParticularWaveBounds.projectedPressure, TangentProjection.pressureCoefficient] | |
| 285 | - | |
| 286 | -theorem signed_zero_germs_of_mask_germs (K : Cells D I) | |
| 287 | - (hcutoff : ∀ n i, support (cutoff i n) ⊆ K.carrier n i) | |
| 288 | - {n : ℕ} {x : D} (hm : ∀ i, mask i n =ᶠ[𝓝 x] fun _ => 0) : | |
| 289 | - (((signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).commonCorrected s d).amplitude n | |
| 290 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 291 | - ((signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).common.pressure n | |
| 292 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 293 | - ((signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).globalGaussian d n | |
| 294 | - =ᶠ[𝓝 x] fun _ => 0) := by | |
| 295 | - apply common_zero_germs_of_native _ K hcutoff s d (Filter.EventuallyEq.refl _ _) | |
| 296 | - intro i _ | |
| 297 | - right | |
| 298 | - constructor | |
| 299 | - · filter_upwards [hm i] with y hy | |
| 300 | - exact (signed_raw_zero_of_mask base s d matrix target request mask fundamental normalMotion action cutoff column n i y hy).1 | |
| 301 | - · filter_upwards [hm i] with y hy | |
| 302 | - exact (signed_raw_zero_of_mask base s d matrix target request mask fundamental normalMotion action cutoff column n i y hy).2 | |
| 303 | - | |
| 304 | 165 | end Signed |
| 305 | 166 | |
| 306 | 167 | section ClosedSupport |
| 307 | 168 | |
| 308 | 169 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] [Zero E] |
| 309 | 170 | |
| 310 | -omit [NormedSpace ℝ D] in | |
| 311 | -/-- Relative support on an open physical domain gives ambient zero germs | |
| 312 | -outside a closed carrier. No off-domain totalization is constrained. -/ | |
| 313 | -theorem zero_germ_of_local_support {U K : Set D} (hU : IsOpen U) (hK : IsClosed K) | |
| 314 | - {f : D → E} (hs : U ∩ support f ⊆ K) {x : D} (hx : x ∈ U) (hn : x ∉ K) : | |
| 315 | - f =ᶠ[𝓝 x] fun _ => 0 := by | |
| 316 | - filter_upwards [hU.mem_nhds hx, hK.isOpen_compl.mem_nhds hn] with y hy hny | |
| 317 | - by_contra hz | |
| 318 | - exact hny (hs ⟨hy, hz⟩) | |
| 319 | - | |
| 320 | 171 | end ClosedSupport |
| 321 | 172 | |
| 322 | 173 | section CoefficientSupport |
| @@ -473,45 +324,6 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 473 | 324 | |
| 474 | 325 | include hS hsupport hinj |
| 475 | 326 | |
| 476 | -/-- A single actual particular mode, with its actual Gaussian error, | |
| 477 | -has the same carrier as its incoming label. -/ | |
| 478 | -theorem particular_mode_inputSupport (j : ℤ) (l : Label) : | |
| 479 | - HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) (sourceRegions F clock reference gap r S l) | |
| 480 | - (ParticularWaveAssembly.nativeModeBlock j (b l) | |
| 481 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).commonCorrected outStrip d)) | |
| 482 | - (ParticularWaveAssembly.nativeModeBlock j (b l) | |
| 483 | - { base l with | |
| 484 | - amplitude := (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian d | |
| 485 | - pressure := fun _ _ => 0 }).velocity 0 := by | |
| 486 | - apply modeBlock_inputSupport | |
| 487 | - · intro n x hx hn | |
| 488 | - exact (particular_zero_germs F clock reference gap r hr base tangent ctx u b G A j | |
| 489 | - s S hS hsupport hinj outStrip d l n (x := ((x.1, 0), x.2)) hx.1 hn).1.self_of_nhds | |
| 490 | - · intro n x hx hn | |
| 491 | - exact (particular_zero_germs F clock reference gap r hr base tangent ctx u b G A j | |
| 492 | - s S hS hsupport hinj outStrip d l n (x := ((x.1, 0), x.2)) hx.1 hn).2.1.self_of_nhds | |
| 493 | - · intro n x hx hn | |
| 494 | - exact (particular_zero_germs F clock reference gap r hr base tangent ctx u b G A j | |
| 495 | - s S hS hsupport hinj outStrip d l n (x := ((x.1, 0), x.2)) hx.1 hn).2.2.self_of_nhds | |
| 496 | - | |
| 497 | -/-- Finite reassembly of all signed particular modes retains the fixed | |
| 498 | -label carrier, with no growth or derivative estimate as an input. -/ | |
| 499 | -theorem particular_assembled_inputSupport (N : ℕ) (l : Label) : | |
| 500 | - HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) (sourceRegions F clock reference gap r S l) | |
| 501 | - (ErrorHarmonics.sumBlock (ParticularWaveAssembly.modes N) | |
| 502 | - (b l).frequency (b l).phase (b l).angularFrequency (fun j => | |
| 503 | - ParticularWaveAssembly.nativeModeBlock j (b l) | |
| 504 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).commonCorrected outStrip d))) | |
| 505 | - (fun n i => ∑ j ∈ ParticularWaveAssembly.modes N, | |
| 506 | - (ParticularWaveAssembly.nativeModeBlock j (b l) | |
| 507 | - { base l with | |
| 508 | - amplitude := (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian d | |
| 509 | - pressure := fun _ _ => 0 }).velocity n i) 0 := by | |
| 510 | - apply inputSupport_sumBlock | |
| 511 | - intro j _ | |
| 512 | - exact particular_mode_inputSupport F clock reference gap r hr base tangent ctx u b G A | |
| 513 | - s S hS hsupport hinj outStrip d j l | |
| 514 | - | |
| 515 | 327 | end ParticularAssembly |
| 516 | 328 | |
| 517 | 329 | section SignedAssembly |
| @@ -525,34 +337,6 @@ variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 525 | 337 | (action : I → ℕ → D × ℝ → ProblemStatement.Space →L[ℝ] ProblemStatement.Space) |
| 526 | 338 | (cutoff : I → ℕ → D × ℝ → ℝ) (column : Fin 2) |
| 527 | 339 | |
| 528 | -/-- Local support of the actual signed masks supplies the new block's | |
| 529 | -support. Mask support is the only hypothesis on the inverse quotient, | |
| 530 | -fundamental, and projected pressure; their numerical size is immaterial. -/ | |
| 531 | -theorem signed_inputSupport (outer : Cells (D × ℝ) I) | |
| 532 | - (hcutoff : ∀ n i, support (cutoff i n) ⊆ outer.carrier n i) | |
| 533 | - {U : Set D} {K : ℕ → Set D} (hU : IsOpen U) (hK : ∀ n, IsClosed (K n)) | |
| 534 | - (hmask : ∀ n i, (U ×ˢ (univ : Set ℝ)) ∩ support (mask i n) ⊆ Prod.fst ⁻¹' K n) | |
| 535 | - (angularFrequency : ℕ → ℤ) : | |
| 536 | - HarmonicSourceSupport.InputSupportOn U K | |
| 537 | - (SignedWaveUpdate.blockOfCoefficients | |
| 538 | - ((signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).commonCorrected s d) | |
| 539 | - angularFrequency) | |
| 540 | - (SignedWaveUpdate.coefficientBlock base.frequency (fun n x => base.phase n (x, 0)) angularFrequency | |
| 541 | - (fun n x => (signedCopyData base s d matrix target request mask fundamental normalMotion action cutoff column).globalGaussian d n (x, 0)) | |
| 542 | - (fun _ _ => 0)).velocity 0 := by | |
| 543 | - have hzero (n : ℕ) (x : D) (hx : x ∈ U) (hn : x ∉ K n) := | |
| 544 | - signed_zero_germs_of_mask_germs base s d matrix target request mask fundamental normalMotion action cutoff column | |
| 545 | - outer hcutoff (n := n) (x := (x, 0)) (fun i => | |
| 546 | - zero_germ_of_local_support (hU.prod isOpen_univ) ((hK n).preimage continuous_fst) | |
| 547 | - (hmask n i) ⟨hx, mem_univ _⟩ hn) | |
| 548 | - apply blockOfCoefficients_inputSupport | |
| 549 | - · intro n x hx hn | |
| 550 | - exact (hzero n x hx hn).1.self_of_nhds | |
| 551 | - · intro n x hx hn | |
| 552 | - exact (hzero n x hx hn).2.1.self_of_nhds | |
| 553 | - · intro n x hx hn | |
| 554 | - exact (hzero n x hx hn).2.2.self_of_nhds | |
| 555 | - | |
| 556 | 340 | end SignedAssembly |
| 557 | 341 | |
| 558 | 342 | section TransportedMask |
| @@ -560,42 +344,6 @@ section TransportedMask | ||
| 560 | 344 | variable {P Q : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 561 | 345 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 562 | 346 | |
| 563 | -/-- Clock transport of a native mask keeps the actual source window. | |
| 564 | -The primitive mask may contain all radial and dyadic slow cutoffs. -/ | |
| 565 | -theorem transported_mask_support (χ : P →L[ℝ] Q) (g : Geometry) (k : Frequency) | |
| 566 | - {S : Set Q} {r L c : ℝ} (hc : 0 < c) {mask : Q × Plane → ℝ} | |
| 567 | - (hm : support mask ⊆ S ×ˢ ActualGaussianCoverage.sourceCell r L 1) : | |
| 568 | - support (fun x : P × Plane => mask | |
| 569 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 570 | - ActualGaussianCoverage.sourceRegion (χ ⁻¹' S) g r L c := by | |
| 571 | - intro x hx | |
| 572 | - have hs := hm hx | |
| 573 | - exact ⟨hs.1, mem_iUnion.mpr ⟨k, (ActualGaussianCoverage.mem_sourceCell_clock hc _).mpr hs.2⟩⟩ | |
| 574 | - | |
| 575 | -/-- The slow pullback and the locally finite native union form one closed | |
| 576 | -carrier. This is the closure used by the next residual-source calculation. -/ | |
| 577 | -theorem transported_carrier_closed (χ : P →L[ℝ] Q) (g : Geometry) | |
| 578 | - {S : Set Q} (hS : IsClosed S) (r L c : ℝ) : | |
| 579 | - IsClosed (ActualGaussianCoverage.sourceRegion (χ ⁻¹' S) g r L c) := | |
| 580 | - ActualGaussianCoverage.sourceRegion_closed (hS.preimage χ.continuous) g r L c | |
| 581 | - | |
| 582 | -theorem transported_mask_tsupport (χ : P →L[ℝ] Q) (g : Geometry) (k : Frequency) | |
| 583 | - {S : Set Q} (hS : IsClosed S) {r L c : ℝ} (hc : 0 < c) {mask : Q × Plane → ℝ} | |
| 584 | - (hm : support mask ⊆ S ×ˢ ActualGaussianCoverage.sourceCell r L 1) : | |
| 585 | - tsupport (fun x : P × Plane => mask | |
| 586 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 587 | - ActualGaussianCoverage.sourceRegion (χ ⁻¹' S) g r L c := | |
| 588 | - closure_minimal (transported_mask_support χ g k hc hm) (transported_carrier_closed χ g hS r L c) | |
| 589 | - | |
| 590 | -theorem transported_mask_zero_germ (χ : P →L[ℝ] Q) (g : Geometry) (k : Frequency) | |
| 591 | - {S : Set Q} (hS : IsClosed S) {r L c : ℝ} (hc : 0 < c) {mask : Q × Plane → ℝ} | |
| 592 | - (hm : support mask ⊆ S ×ˢ ActualGaussianCoverage.sourceCell r L 1) | |
| 593 | - {x : P × Plane} (hx : x ∉ ActualGaussianCoverage.sourceRegion (χ ⁻¹' S) g r L c) : | |
| 594 | - (fun y : P × Plane => mask | |
| 595 | - (χ y.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k y.2))) =ᶠ[𝓝 x] fun _ => 0 := | |
| 596 | - zero_germ_of_support (transported_carrier_closed χ g hS r L c) | |
| 597 | - (transported_mask_support χ g k hc hm) hx | |
| 598 | - | |
| 599 | 347 | end TransportedMask |
| 600 | 348 | |
| 601 | 349 | end NavierStokes.LabelSupportPreservation |
+0 −679 NavierStokes/OffplaneCorrectionExtensions.lean View file
| @@ -20,7 +20,6 @@ open scoped Topology ContDiff BigOperators | ||
| 20 | 20 | |
| 21 | 21 | abbrev Slow := PressureStream.Plane |
| 22 | 22 | abbrev Lift := PressureStream.Lift Slow |
| 23 | -abbrev Model := MeanRankUpdate.ModelPoint × PressureStream.Plane | |
| 24 | 23 | |
| 25 | 24 | noncomputable def stableQ (coord : ℝ) (s : Slow) : ℝ := |
| 26 | 25 | (PositiveRepresentatives.stableInverse coord s).1 |
| @@ -70,36 +69,6 @@ structure Window (coord a b : ℝ) where | ||
| 70 | 69 | left : ∀ s ∈ carrier, lower ≤ stableLength coord s * a |
| 71 | 70 | right : ∀ s ∈ carrier, stableLength coord s * b ≤ upper |
| 72 | 71 | |
| 73 | -theorem exists_window_at {coord a b : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 74 | - (ha : 0 < a) (hab : a < b) {s₀ : Slow} | |
| 75 | - (hs : s₀ ∈ PositiveRepresentatives.stableTarget coord) : | |
| 76 | - ∃ W : Window coord a b, s₀ ∈ W.carrier := by | |
| 77 | - let L := stableLength coord s₀ | |
| 78 | - have hL : 0 < L := stableLength_pos hs | |
| 79 | - have hl := (stableLength_contDiffAt hc hc1 hs).continuousAt | |
| 80 | - have hnear : ∀ᶠ s in 𝓝 s₀, | |
| 81 | - s ∈ PositiveRepresentatives.stableTarget coord ∧ | |
| 82 | - L / 2 < stableLength coord s ∧ stableLength coord s < 2 * L := by | |
| 83 | - filter_upwards [(PositiveRepresentatives.stableTarget_open coord).mem_nhds hs, | |
| 84 | - hl (lt_mem_nhds (half_lt_self hL)), hl (gt_mem_nhds (show L < 2 * L by linarith))] | |
| 85 | - with s hst hlo hhi | |
| 86 | - exact ⟨hst, hlo, hhi⟩ | |
| 87 | - obtain ⟨U, hUsub, hU, hzU⟩ := mem_nhds_iff.mp hnear | |
| 88 | - refine ⟨⟨U, hU, fun s hs => (hUsub hs).1, L / 2 * a, 2 * L * b, | |
| 89 | - mul_pos (half_pos hL) ha, ?_, ?_, ?_⟩, hzU⟩ | |
| 90 | - · have hprod := mul_lt_mul_of_pos_left hab hL | |
| 91 | - have hprodpos := mul_pos hL ha | |
| 92 | - nlinarith | |
| 93 | - · intro s hsU | |
| 94 | - exact mul_le_mul_of_nonneg_right (hUsub hsU).2.1.le ha.le | |
| 95 | - · intro s hsU | |
| 96 | - exact mul_le_mul_of_nonneg_right (hUsub hsU).2.2.le (ha.trans hab).le | |
| 97 | - | |
| 98 | -theorem exists_endpoint_window {coord a b Z : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 99 | - (ha : 0 < a) (hab : a < b) (hZ : Z ≠ 0) : | |
| 100 | - ∃ W : Window coord a b, (0, Z) ∈ W.carrier := | |
| 101 | - exists_window_at hc hc1 ha hab (EndpointCoordinates.zeroTime_mem_stableTarget hc hc1 hZ) | |
| 102 | - | |
| 103 | 72 | namespace Window |
| 104 | 73 | |
| 105 | 74 | variable {coord a b : ℝ} (W : Window coord a b) |
| @@ -123,8 +92,6 @@ end Window | ||
| 123 | 92 | continued formulas themselves are defined on the full stable neighborhood. -/ |
| 124 | 93 | noncomputable def positiveSlow : Set Slow := {s | 0 < s.1} |
| 125 | 94 | |
| 126 | -theorem positiveSlow_open : IsOpen positiveSlow := isOpen_lt continuous_const continuous_fst | |
| 127 | - | |
| 128 | 95 | def FiberAgreement {V : Type*} (U : Set Slow) (F f : Lift → V) : Prop := |
| 129 | 96 | EqOn F f (PhysicalMeanDomain.slowDomain (U ∩ positiveSlow)) |
| 130 | 97 | |
| @@ -133,80 +100,6 @@ theorem FiberAgreement.fiber {V : Type*} {U : Set Slow} {F f : Lift → V} | ||
| 133 | 100 | ∀ r Y, F (r, (s, Y)) = f (r, (s, Y)) := |
| 134 | 101 | fun _ _ => h ⟨hs, ht⟩ |
| 135 | 102 | |
| 136 | -theorem FiberAgreement.eventuallyEq {V : Type*} {U : Set Slow} (hU : IsOpen U) {F f : Lift → V} | |
| 137 | - (h : FiberAgreement U F f) {p : Lift} (hp : p.2.1 ∈ U) (ht : 0 < p.2.1.1) : | |
| 138 | - F =ᶠ[𝓝 p] f := by | |
| 139 | - filter_upwards [(PhysicalMeanDomain.slowDomain_open (hU.inter positiveSlow_open)).mem_nhds | |
| 140 | - (show p ∈ PhysicalMeanDomain.slowDomain (U ∩ positiveSlow) from ⟨hp, ht⟩)] with z hz | |
| 141 | - exact h hz | |
| 142 | - | |
| 143 | -/-- A primitive model retains the fast torus coordinate and the physical | |
| 144 | -radial variable; only the time coordinate is replaced by `q`. -/ | |
| 145 | -noncomputable def stableModel (coord : ℝ) (p : Lift) : Model := | |
| 146 | - ((stableQ coord p.2.1, (p.1, p.2.1.2)), p.2.2) | |
| 147 | - | |
| 148 | -noncomputable def physicalModel (coord : ℝ) (p : Lift) : Model := | |
| 149 | - ((SimilarityCoordinates.coordinateQ coord p.2.1, (p.1, p.2.1.2)), p.2.2) | |
| 150 | - | |
| 151 | -noncomputable def modelDomain : Set Model := {y | 0 < y.1.1} | |
| 152 | - | |
| 153 | -theorem modelDomain_open : IsOpen modelDomain := | |
| 154 | - isOpen_lt continuous_const (continuous_fst.comp continuous_fst) | |
| 155 | - | |
| 156 | -theorem stableModel_contDiffOn {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) : | |
| 157 | - ContDiffOn ℝ ∞ (stableModel coord) | |
| 158 | - (PhysicalMeanDomain.slowDomain (PositiveRepresentatives.stableTarget coord)) := by | |
| 159 | - intro p hp | |
| 160 | - have hq := (stableQ_contDiffAt hc hc1 hp).comp p contDiffAt_snd.fst | |
| 161 | - exact ((hq.prodMk (contDiffAt_fst.prodMk contDiffAt_snd.fst.snd)).prodMk | |
| 162 | - contDiffAt_snd.snd).contDiffWithinAt | |
| 163 | - | |
| 164 | -theorem stableModel_mem {coord : ℝ} {p : Lift} | |
| 165 | - (hp : p.2.1 ∈ PositiveRepresentatives.stableTarget coord) : | |
| 166 | - stableModel coord p ∈ modelDomain := stableQ_pos hp | |
| 167 | - | |
| 168 | -noncomputable def continuedSource (coord : ℝ) (F : Model → ℝ) : Lift → ℝ := | |
| 169 | - F ∘ stableModel coord | |
| 170 | - | |
| 171 | -noncomputable def physicalSource (coord : ℝ) (F : Model → ℝ) : Lift → ℝ := | |
| 172 | - F ∘ physicalModel coord | |
| 173 | - | |
| 174 | -theorem continuedSource_smooth {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 175 | - {F : Model → ℝ} (hF : ContDiffOn ℝ ∞ F modelDomain) : | |
| 176 | - ContDiffOn ℝ ∞ (continuedSource coord F) | |
| 177 | - (PhysicalMeanDomain.slowDomain (PositiveRepresentatives.stableTarget coord)) := | |
| 178 | - hF.comp (stableModel_contDiffOn hc hc1) (fun _ hp => stableModel_mem hp) | |
| 179 | - | |
| 180 | -theorem continuedSource_agreement {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 181 | - (F : Model → ℝ) (U : Set Slow) : | |
| 182 | - FiberAgreement U (continuedSource coord F) (physicalSource coord F) := by | |
| 183 | - intro p hp | |
| 184 | - simp only [continuedSource, physicalSource, comp_apply, stableModel, physicalModel, | |
| 185 | - stableQ_eq_coordinateQ hc hc1 hp.2] | |
| 186 | - | |
| 187 | -/-- A support condition on the explicit primitive model, before any mean | |
| 188 | -operation is performed. -/ | |
| 189 | -def ModelSupported {V : Type*} [Zero V] (a b : ℝ) (F : Model → V) : Prop := | |
| 190 | - ∀ y ∈ modelDomain, F y ≠ 0 → | |
| 191 | - y.1.2.1 ∈ Icc (Real.sqrt y.1.1 * a) (Real.sqrt y.1.1 * b) | |
| 192 | - | |
| 193 | -def ModelPeriodic (F : Model → ℝ) : Prop := | |
| 194 | - ∀ y : MeanRankUpdate.ModelPoint, 0 < y.1 → | |
| 195 | - FourierAlias.TorusPeriodic (fun Y => F (y, Y)) | |
| 196 | - | |
| 197 | -theorem continuedSource_periodic {coord : ℝ} {F : Model → ℝ} (hF : ModelPeriodic F) | |
| 198 | - {U : Set Slow} (hU : U ⊆ PositiveRepresentatives.stableTarget coord) : | |
| 199 | - PhysicalMeanDomain.PeriodicOn U (continuedSource coord F) := by | |
| 200 | - intro r s hs | |
| 201 | - exact hF (stableQ coord s, (r, s.2)) (stableQ_pos (hU hs)) | |
| 202 | - | |
| 203 | -theorem continuedSource_supported {coord a b : ℝ} {F : Model → ℝ} | |
| 204 | - (hF : ModelSupported a b F) {U : Set Slow} | |
| 205 | - (hU : U ⊆ PositiveRepresentatives.stableTarget coord) : | |
| 206 | - VariableGaugeMean.SupportedGauge a b (stableLength coord) U (continuedSource coord F) := by | |
| 207 | - intro p hp hn | |
| 208 | - exact hF (stableModel coord p) (stableModel_mem (hU hp)) hn | |
| 209 | - | |
| 210 | 103 | namespace Window |
| 211 | 104 | |
| 212 | 105 | variable {coord a b : ℝ} (W : Window coord a b) |
| @@ -257,21 +150,6 @@ theorem streamPotential_smooth (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) | ||
| 257 | 150 | (stableLength coord) v W.isOpen (fun _ hs => W.length_pos hs) hwf hws |
| 258 | 151 | exact VariableGaugeMean.divideRadius_contDiffOn W.lower_pos W.isOpen hI (W.fixed_support hIs) |
| 259 | 152 | |
| 260 | -theorem compactAlias_smooth (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) | |
| 261 | - (M : ℝ) (v : Slow) {f : Lift → ℝ} | |
| 262 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain W.carrier)) | |
| 263 | - (hs : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : | |
| 264 | - ContDiffOn ℝ ∞ (VariableGaugeMean.compactAlias d a b M (stableLength coord) v f) | |
| 265 | - (PhysicalMeanDomain.slowDomain W.carrier) := by | |
| 266 | - have hC := VariableGaugeMean.cutoffRadialDerivative_contDiffOn ha d b | |
| 267 | - (W.length_smooth hc hc1) (fun _ hs => W.length_pos hs) | |
| 268 | - have hJ := VariableGaugeMean.physicalTotal_contDiffOn (M := M) | |
| 269 | - W.lower_pos W.lower_lt_upper hd v W.isOpen hf (W.fixed_support hs) | |
| 270 | - apply (hC.mul hJ).congr | |
| 271 | - intro p hp | |
| 272 | - exact VariableGaugeMean.compactAlias_reference W.lower_pos ha hab hd (stableLength coord) v | |
| 273 | - (fun _ hs => W.length_pos hs) W.left hs p hp | |
| 274 | - | |
| 275 | 153 | end Window |
| 276 | 154 | |
| 277 | 155 | section ExactAgreement |
| @@ -314,15 +192,6 @@ theorem streamPotential_agreement (d a b M : ℝ) (v : Slow) : | ||
| 314 | 192 | intro p hp |
| 315 | 193 | exact congrArg (fun t => t / p.1) (compactPrimitive_agreement hc hc1 hw d a b M v hp) |
| 316 | 194 | |
| 317 | -theorem compactAlias_agreement (d a b M : ℝ) (v : Slow) : | |
| 318 | - FiberAgreement U (VariableGaugeMean.compactAlias d a b M (stableLength coord) v F) | |
| 319 | - (VariableGaugeMean.compactAlias d a b M (VariableGaugeMean.qLength coord) v f) := by | |
| 320 | - intro p hp | |
| 321 | - dsimp only [VariableGaugeMean.compactAlias] | |
| 322 | - rw [stableLength_eq_qLength hc hc1 hp.2] | |
| 323 | - exact PhysicalMeanDomain.physicalAlias_fiberLocal d _ _ M v F f p.2.1 | |
| 324 | - (he.fiber hp.1 hp.2) p.1 p.2.2 | |
| 325 | - | |
| 326 | 195 | omit hc hc1 in |
| 327 | 196 | theorem temporalAtIndex_agreement (h : ℝ) (n i : ℕ) : |
| 328 | 197 | FiberAgreement U (MeanChartCompatibility.temporalAtIndex h n i F) |
| @@ -346,13 +215,6 @@ namespace SupportedContinuation | ||
| 346 | 215 | |
| 347 | 216 | variable {coord a b : ℝ} {W : Window coord a b} (hc : 0 < coord) (hc1 : coord < 1) |
| 348 | 217 | |
| 349 | -noncomputable def ofModel (F : Model → ℝ) (hF : ContDiffOn ℝ ∞ F modelDomain) | |
| 350 | - (hs : ModelSupported a b F) : SupportedContinuation W (physicalSource coord F) where | |
| 351 | - value := continuedSource coord F | |
| 352 | - smooth := (continuedSource_smooth hc hc1 hF).mono (fun _ hp => W.stable hp) | |
| 353 | - supported := continuedSource_supported hs W.stable | |
| 354 | - agrees := continuedSource_agreement hc hc1 F W.carrier | |
| 355 | - | |
| 356 | 218 | noncomputable def primitive {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 357 | 219 | (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) (M : ℝ) (v : Slow) : |
| 358 | 220 | SupportedContinuation W |
| @@ -384,18 +246,6 @@ noncomputable def stream {f : Lift → ℝ} (e : SupportedContinuation W f) | ||
| 384 | 246 | W.isOpen (fun _ hs => W.length_pos hs) e.smooth e.supported |
| 385 | 247 | agrees := streamPotential_agreement hc hc1 e.agrees d a b M v |
| 386 | 248 | |
| 387 | -noncomputable def aliasField {f : Lift → ℝ} (e : SupportedContinuation W f) | |
| 388 | - (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) (M : ℝ) (v : Slow) : | |
| 389 | - SupportedContinuation W | |
| 390 | - (VariableGaugeMean.compactAlias d a b M (VariableGaugeMean.qLength coord) v f) where | |
| 391 | - value := VariableGaugeMean.compactAlias d a b M (stableLength coord) v e.value | |
| 392 | - smooth := W.compactAlias_smooth hc hc1 ha hab hd M v e.smooth e.supported | |
| 393 | - supported := by | |
| 394 | - intro p hp hn | |
| 395 | - exact RadialPullback.physicalAlias_supported (mul_pos (W.length_pos hp) ha) | |
| 396 | - (mul_lt_mul_of_pos_left hab (W.length_pos hp)) hd M ((0 : Slow), v) e.value hn | |
| 397 | - agrees := compactAlias_agreement hc hc1 e.agrees d a b M v | |
| 398 | - | |
| 399 | 249 | omit hc hc1 in |
| 400 | 250 | noncomputable def temporal {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 401 | 251 | (h : ℝ) (n i : ℕ) (hp : PhysicalMeanDomain.PeriodicOn W.carrier e.value) : |
| @@ -411,56 +261,6 @@ namespace SupportedContinuation | ||
| 411 | 261 | |
| 412 | 262 | variable {coord a b : ℝ} {W : Window coord a b} |
| 413 | 263 | |
| 414 | -noncomputable def scaleSlow {f : Lift → ℝ} (e : SupportedContinuation W f) | |
| 415 | - {c : Slow → ℝ} (C : Slow → ℝ) (hC : ContDiffOn ℝ ∞ C W.carrier) | |
| 416 | - (he : EqOn C c (W.carrier ∩ positiveSlow)) : | |
| 417 | - SupportedContinuation W (fun p => c p.2.1 * f p) where | |
| 418 | - value := fun p => C p.2.1 * e.value p | |
| 419 | - smooth := (hC.comp contDiffOn_snd.fst (fun _ hp => hp)).mul e.smooth | |
| 420 | - supported := fun p hp hn => e.supported p hp (right_ne_zero_of_mul hn) | |
| 421 | - agrees := fun _ hp => congrArg₂ (fun x y : ℝ => x * y) (he hp) (e.agrees hp) | |
| 422 | - | |
| 423 | -noncomputable def finiteSum {ι : Type*} (s : Finset ι) (f : ι → Lift → ℝ) | |
| 424 | - (e : ∀ i, SupportedContinuation W (f i)) : | |
| 425 | - SupportedContinuation W (fun p => ∑ i ∈ s, f i p) where | |
| 426 | - value := fun p => ∑ i ∈ s, (e i).value p | |
| 427 | - smooth := ContDiffOn.sum (fun i _ => (e i).smooth) | |
| 428 | - supported := by | |
| 429 | - intro p hp hn | |
| 430 | - by_contra hr | |
| 431 | - apply hn | |
| 432 | - apply Finset.sum_eq_zero | |
| 433 | - intro i _ | |
| 434 | - by_contra hi | |
| 435 | - exact hr ((e i).supported p hp hi) | |
| 436 | - agrees := by | |
| 437 | - intro p hp | |
| 438 | - exact Finset.sum_congr rfl (fun i _ => (e i).agrees hp) | |
| 439 | - | |
| 440 | -/-- Actual radial/torus integration produces smooth slow debt coefficients | |
| 441 | -on the continued neighborhood. -/ | |
| 442 | -theorem pressureMass_smooth {f : Lift → ℝ} (e : SupportedContinuation W f) : | |
| 443 | - ContDiffOn ℝ ∞ (PressureStream.pressureMass e.value) W.carrier := by | |
| 444 | - have hm := PhysicalMeanDomain.liftedPressureMass_contDiffOn W.isOpen e.smooth (W.fixed_support e.supported) | |
| 445 | - have hmap : ContDiffOn ℝ ∞ (fun s : Slow => ((0 : ℝ), (s, (0 : Slow)))) W.carrier := | |
| 446 | - contDiffOn_const.prodMk (contDiffOn_id.prodMk contDiffOn_const) | |
| 447 | - exact hm.comp hmap (fun _ hp => hp) | |
| 448 | - | |
| 449 | -theorem pressureMass_agreement {f : Lift → ℝ} (e : SupportedContinuation W f) : | |
| 450 | - EqOn (PressureStream.pressureMass e.value) (PressureStream.pressureMass f) | |
| 451 | - (W.carrier ∩ positiveSlow) := by | |
| 452 | - intro s hs | |
| 453 | - exact PhysicalMeanDomain.liftedPressureMass_fiberLocal e.value f s (e.agrees.fiber hs.1 hs.2) 0 0 | |
| 454 | - | |
| 455 | -theorem support_on_past {f : Lift → ℝ} (e : SupportedContinuation W f) | |
| 456 | - (hc : 0 < coord) (hc1 : coord < 1) {p : Lift} | |
| 457 | - (hp : p.2.1 ∈ W.carrier) (ht : 0 < p.2.1.1) (hn : f p ≠ 0) : | |
| 458 | - p.1 ∈ Icc (VariableGaugeMean.qLength coord p.2.1 * a) | |
| 459 | - (VariableGaugeMean.qLength coord p.2.1 * b) := by | |
| 460 | - have he := e.agrees ⟨hp, ht⟩ | |
| 461 | - have hs := e.supported p hp (fun hzero => hn (he.symm.trans hzero)) | |
| 462 | - simpa only [stableLength_eq_qLength hc hc1 ht] using hs | |
| 463 | - | |
| 464 | 264 | end SupportedContinuation |
| 465 | 265 | |
| 466 | 266 | section ReferenceODE |
| @@ -470,42 +270,6 @@ variable {P Q V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 470 | 270 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 471 | 271 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 472 | 272 | |
| 473 | -/-- Reparameterize primitive ODE coefficients and forcing, while keeping | |
| 474 | -the native-copy path and its entry point unchanged. -/ | |
| 475 | -noncomputable def pullLinearData (φ : P → Q) (d : CommonCoverSolve.LinearData Q V E) : | |
| 476 | - CommonCoverSolve.LinearData P V E where | |
| 477 | - coefficient := fun p => d.coefficient (φ p.1, p.2) | |
| 478 | - forcingMap := fun p => d.forcingMap (φ p.1, p.2) | |
| 479 | - source := fun p => d.source (φ p.1, p.2) | |
| 480 | - | |
| 481 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 482 | - [CompleteSpace E] in | |
| 483 | -theorem coefficientPath_pull (φ : P → Q) (d : CommonCoverSolve.LinearData Q V E) | |
| 484 | - (g : CommonCoverSolve.Geometry) (k : TorusInverse.Frequency) (p : P × Slow) (a b : ℝ) : | |
| 485 | - (pullLinearData φ d).coefficientPath (a := a) (b := b) g k p = | |
| 486 | - d.coefficientPath g k (φ p.1, p.2) := rfl | |
| 487 | - | |
| 488 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 489 | - [CompleteSpace E] in | |
| 490 | -theorem forcingPath_pull (φ : P → Q) (d : CommonCoverSolve.LinearData Q V E) | |
| 491 | - (g : CommonCoverSolve.Geometry) (k : TorusInverse.Frequency) (p : P × Slow) (a b : ℝ) : | |
| 492 | - (pullLinearData φ d).forcingPath (a := a) (b := b) g k p = | |
| 493 | - d.forcingPath g k (φ p.1, p.2) := rfl | |
| 494 | - | |
| 495 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 496 | -/-- This is the actual Volterra solution operator, including its anchored | |
| 497 | -path. Reparameterization is an equality of definitions. -/ | |
| 498 | -theorem copySolve_pull (φ : P → Q) (d : CommonCoverSolve.LinearData Q V E) | |
| 499 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 500 | - (k : TorusInverse.Frequency) (p : P × Slow) : | |
| 501 | - (pullLinearData φ d).copySolve g hab k p = d.copySolve g hab k (φ p.1, p.2) := rfl | |
| 502 | - | |
| 503 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 504 | -theorem commonSolve_pull (φ : P → Q) (d : CommonCoverSolve.LinearData Q V E) | |
| 505 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 506 | - (κ : Slow → ℝ) (p : P × Slow) : | |
| 507 | - (pullLinearData φ d).commonSolve g hab κ p = d.commonSolve g hab κ (φ p.1, p.2) := rfl | |
| 508 | - | |
| 509 | 273 | end ReferenceODE |
| 510 | 274 | |
| 511 | 275 | section ContinuedReferenceODE |
| @@ -513,118 +277,10 @@ section ContinuedReferenceODE | ||
| 513 | 277 | variable {V E : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 514 | 278 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 515 | 279 | |
| 516 | -noncomputable def stableParameter (coord : ℝ) (p : ℝ × Slow) : MeanRankUpdate.ModelPoint := | |
| 517 | - (stableQ coord p.2, (p.1, p.2.2)) | |
| 518 | - | |
| 519 | -noncomputable def physicalParameter (coord : ℝ) (p : ℝ × Slow) : MeanRankUpdate.ModelPoint := | |
| 520 | - (SimilarityCoordinates.coordinateQ coord p.2, (p.1, p.2.2)) | |
| 521 | - | |
| 522 | -noncomputable def continuedReferenceSolve (coord : ℝ) | |
| 523 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 524 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) (κ : Slow → ℝ) : Lift → E := | |
| 525 | - fun p => (pullLinearData (stableParameter coord) d).commonSolve g hab κ ((p.1, p.2.1), p.2.2) | |
| 526 | - | |
| 527 | -noncomputable def physicalReferenceSolve (coord : ℝ) | |
| 528 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 529 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) (κ : Slow → ℝ) : Lift → E := | |
| 530 | - fun p => (pullLinearData (physicalParameter coord) d).commonSolve g hab κ ((p.1, p.2.1), p.2.2) | |
| 531 | - | |
| 532 | -theorem continuedReferenceSolve_eq (coord : ℝ) | |
| 533 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 534 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) (κ : Slow → ℝ) : | |
| 535 | - continuedReferenceSolve coord d g hab κ = d.commonSolve g hab κ ∘ stableModel coord := rfl | |
| 536 | - | |
| 537 | -theorem physicalReferenceSolve_eq (coord : ℝ) | |
| 538 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 539 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) (κ : Slow → ℝ) : | |
| 540 | - physicalReferenceSolve coord d g hab κ = d.commonSolve g hab κ ∘ physicalModel coord := rfl | |
| 541 | - | |
| 542 | -/-- The actual sum of localized native Volterra solves continues smoothly | |
| 543 | -from smooth primitive matrix, conversion map, and source models. No | |
| 544 | -regularity assumption is made on a solved amplitude. -/ | |
| 545 | -theorem continuedReferenceSolve_smooth {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 546 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 547 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 548 | - (hA : ContDiffOn ℝ ∞ d.coefficient (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 549 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 550 | - (hf : ContDiffOn ℝ ∞ d.source (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 551 | - {κ : Slow → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 552 | - (hsκ : tsupport κ ⊆ univ ×ˢ Ioo a b) : | |
| 553 | - ContDiffOn ℝ ∞ (continuedReferenceSolve coord d g hab κ) | |
| 554 | - (PhysicalMeanDomain.slowDomain (PositiveRepresentatives.stableTarget coord)) := by | |
| 555 | - have hsolve := d.commonSolve_contDiffOn g hab PhysicalCoordinateBounds.positiveTime_isOpen | |
| 556 | - hA hB hf hκ hcκ hsκ | |
| 557 | - exact hsolve.comp (stableModel_contDiffOn hc hc1) | |
| 558 | - (fun _ hp => ⟨stableQ_pos hp, mem_univ _⟩) | |
| 559 | - | |
| 560 | -theorem referenceSolve_agreement {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 561 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 562 | - (g : CommonCoverSolve.Geometry) {a b : ℝ} (hab : a ≤ b) (κ : Slow → ℝ) (U : Set Slow) : | |
| 563 | - FiberAgreement U (continuedReferenceSolve coord d g hab κ) | |
| 564 | - (physicalReferenceSolve coord d g hab κ) := by | |
| 565 | - intro p hp | |
| 566 | - rw [continuedReferenceSolve_eq, physicalReferenceSolve_eq] | |
| 567 | - simp only [comp_apply, stableModel, physicalModel, stableQ_eq_coordinateQ hc hc1 hp.2] | |
| 568 | - | |
| 569 | -/-- Radial support of the primitive forcing propagates through the | |
| 570 | -zero-entry Volterra solve and the actual sum of its native copies. -/ | |
| 571 | -theorem referenceSolve_model_supported | |
| 572 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 573 | - (g : CommonCoverSolve.Geometry) {s t : ℝ} (hst : s ≤ t) (κ : Slow → ℝ) | |
| 574 | - {a b : ℝ} (hs : ModelSupported a b d.source) : | |
| 575 | - ModelSupported a b (d.commonSolve g hst κ) := by | |
| 576 | - intro y hy hn | |
| 577 | - by_contra hr | |
| 578 | - have hsource : ∀ Y : Slow, d.source (y.1, Y) = 0 := by | |
| 579 | - intro Y | |
| 580 | - by_contra hne | |
| 581 | - exact hr (hs (y.1, Y) hy hne) | |
| 582 | - have hcopy (k : TorusInverse.Frequency) : d.copySolve g hst k y = 0 := | |
| 583 | - d.copySolve_zero_of_source_zero g hst k y.1 y.2 (fun _ _ => hsource _) | |
| 584 | - apply hn | |
| 585 | - simp only [CommonCoverSolve.LinearData.commonSolve, CommonCoverSolve.LinearData.localizedCopy, | |
| 586 | - hcopy, smul_zero, tsum_zero] | |
| 587 | - | |
| 588 | -/-- A real component of an actual reference solve supplies a primitive | |
| 589 | -continuation for the mean calculus. Its smoothness and support are derived | |
| 590 | -from the ODE inputs, not assumed for the solved component. -/ | |
| 591 | -noncomputable def referenceContinuation {coord a b : ℝ} {W : Window coord a b} | |
| 592 | - (hc : 0 < coord) (hc1 : coord < 1) | |
| 593 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 594 | - (g : CommonCoverSolve.Geometry) {s t : ℝ} (hst : s ≤ t) | |
| 595 | - (hA : ContDiffOn ℝ ∞ d.coefficient (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 596 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 597 | - (hf : ContDiffOn ℝ ∞ d.source (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 598 | - (hs : ModelSupported a b d.source) | |
| 599 | - {κ : Slow → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 600 | - (hsκ : tsupport κ ⊆ univ ×ˢ Ioo s t) (L : E →L[ℝ] ℝ) : | |
| 601 | - SupportedContinuation W (fun p => L (physicalReferenceSolve coord d g hst κ p)) := by | |
| 602 | - have hmodel := d.commonSolve_contDiffOn g hst PhysicalCoordinateBounds.positiveTime_isOpen | |
| 603 | - hA hB hf hκ hcκ hsκ | |
| 604 | - have hsmodel := referenceSolve_model_supported d g hst κ hs | |
| 605 | - refine SupportedContinuation.ofModel hc hc1 (fun y => L (d.commonSolve g hst κ y)) ?_ ?_ | |
| 606 | - · exact (L.contDiff.comp_contDiffOn hmodel).mono (fun y hy => ⟨hy, mem_univ _⟩) | |
| 607 | - · intro y hy hn | |
| 608 | - apply hsmodel y hy | |
| 609 | - intro hz | |
| 610 | - exact hn (by simp only [hz, map_zero]) | |
| 611 | - | |
| 612 | 280 | end ContinuedReferenceODE |
| 613 | 281 | |
| 614 | 282 | section ContinuedPhase |
| 615 | 283 | |
| 616 | -/-- The actual periodic-clock phase is continued by the same stable | |
| 617 | -parameter substitution, keeping every clock and native-copy datum fixed. -/ | |
| 618 | -theorem continued_periodic_phase_smooth {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 619 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) | |
| 620 | - {A B : MeanRankUpdate.ModelPoint → ℝ} | |
| 621 | - (hA : ContDiffOn ℝ ∞ A PhysicalCoordinateBounds.positiveTime) | |
| 622 | - (hB : ContDiffOn ℝ ∞ B PhysicalCoordinateBounds.positiveTime) : | |
| 623 | - ContDiffOn ℝ ∞ (continuedSource coord (PeriodicPhaseAssembly.phase g w.cutoff A B)) | |
| 624 | - (PhysicalMeanDomain.slowDomain (PositiveRepresentatives.stableTarget coord)) := by | |
| 625 | - apply continuedSource_smooth hc hc1 | |
| 626 | - exact (PeriodicPhaseAssembly.phase_contDiffOn g w hA hB).mono (fun y hy => ⟨hy, mem_univ _⟩) | |
| 627 | - | |
| 628 | 284 | end ContinuedPhase |
| 629 | 285 | |
| 630 | 286 | section FullReferenceCarrier |
| @@ -632,97 +288,10 @@ section FullReferenceCarrier | ||
| 632 | 288 | variable {V E : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 633 | 289 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 634 | 290 | |
| 635 | -noncomputable def referenceCarrierModel | |
| 636 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 637 | - (g : CommonCoverSolve.Geometry) {s t : ℝ} (hst : s ≤ t) (κ : Slow → ℝ) | |
| 638 | - (w : PeriodicPhaseAssembly.ClockWindow) (A B : MeanRankUpdate.ModelPoint → ℝ) | |
| 639 | - (frequency : ℝ) (L : E →L[ℝ] ℂ) (y : Model) : ℝ := | |
| 640 | - (HarmonicCalculus.mode frequency (PeriodicPhaseAssembly.phase g w.cutoff A B) | |
| 641 | - (fun z => L (d.commonSolve g hst κ z)) y).re | |
| 642 | - | |
| 643 | -/-- The complete carrier keeps the genuine periodic clock and multiplies | |
| 644 | -the actual reference solve. The phase is not replaced by an unwrapped | |
| 645 | -single-copy expression. -/ | |
| 646 | -theorem referenceCarrier_physical_formula (coord : ℝ) | |
| 647 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 648 | - (g : CommonCoverSolve.Geometry) {s t : ℝ} (hst : s ≤ t) (κ : Slow → ℝ) | |
| 649 | - (w : PeriodicPhaseAssembly.ClockWindow) (A B : MeanRankUpdate.ModelPoint → ℝ) | |
| 650 | - (frequency : ℝ) (L : E →L[ℝ] ℂ) (p : Lift) : | |
| 651 | - physicalSource coord (referenceCarrierModel d g hst κ w A B frequency L) p = | |
| 652 | - (L (physicalReferenceSolve coord d g hst κ p) * | |
| 653 | - HarmonicCalculus.carrier frequency | |
| 654 | - (physicalSource coord (PeriodicPhaseAssembly.phase g w.cutoff A B)) p).re := rfl | |
| 655 | - | |
| 656 | -noncomputable def referenceCarrierContinuation {coord a b : ℝ} {W : Window coord a b} | |
| 657 | - (hc : 0 < coord) (hc1 : coord < 1) | |
| 658 | - (d : CommonCoverSolve.LinearData MeanRankUpdate.ModelPoint V E) | |
| 659 | - (g : CommonCoverSolve.Geometry) {s t : ℝ} (hst : s ≤ t) | |
| 660 | - (hM : ContDiffOn ℝ ∞ d.coefficient (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 661 | - (hL : ContDiffOn ℝ ∞ d.forcingMap (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 662 | - (hf : ContDiffOn ℝ ∞ d.source (PhysicalCoordinateBounds.positiveTime ×ˢ univ)) | |
| 663 | - (hs : ModelSupported a b d.source) | |
| 664 | - {κ : Slow → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 665 | - (hsκ : tsupport κ ⊆ univ ×ˢ Ioo s t) | |
| 666 | - (w : PeriodicPhaseAssembly.ClockWindow) (A B : MeanRankUpdate.ModelPoint → ℝ) | |
| 667 | - (hA : ContDiffOn ℝ ∞ A PhysicalCoordinateBounds.positiveTime) | |
| 668 | - (hB : ContDiffOn ℝ ∞ B PhysicalCoordinateBounds.positiveTime) | |
| 669 | - (frequency : ℝ) (L : E →L[ℝ] ℂ) : | |
| 670 | - SupportedContinuation W | |
| 671 | - (physicalSource coord (referenceCarrierModel d g hst κ w A B frequency L)) := by | |
| 672 | - have hsol := d.commonSolve_contDiffOn g hst PhysicalCoordinateBounds.positiveTime_isOpen | |
| 673 | - hM hL hf hκ hcκ hsκ | |
| 674 | - have hphase := PeriodicPhaseAssembly.phase_contDiffOn g w hA hB | |
| 675 | - have hmode := HarmonicCalculus.contDiffOn_mode frequency hphase (L.contDiff.comp_contDiffOn hsol) | |
| 676 | - have hsmodel := referenceSolve_model_supported d g hst κ hs | |
| 677 | - refine SupportedContinuation.ofModel hc hc1 | |
| 678 | - (referenceCarrierModel d g hst κ w A B frequency L) ?_ ?_ | |
| 679 | - · exact (Complex.reCLM.contDiff.comp_contDiffOn hmode).mono (fun y hy => ⟨hy, mem_univ _⟩) | |
| 680 | - · intro y hy hn | |
| 681 | - apply hsmodel y hy | |
| 682 | - intro hz | |
| 683 | - exact hn (by simp only [referenceCarrierModel, HarmonicCalculus.mode, hz, map_zero, | |
| 684 | - zero_mul, Complex.zero_re]) | |
| 685 | - | |
| 686 | 291 | end FullReferenceCarrier |
| 687 | 292 | |
| 688 | 293 | section RankModels |
| 689 | 294 | |
| 690 | -theorem rankAngular_model_supported (coord A B lam a b : ℝ) (hab : a < b) | |
| 691 | - (d : MeanRankUpdate.Debt) : | |
| 692 | - ModelSupported a b (fun y => MeanRankUpdate.angularModel coord A B lam a b d y.1) := by | |
| 693 | - intro y hy hn | |
| 694 | - have hr := MeanRankUpdate.angularIncrement_tsupport lam (MeanRankUpdate.modelAmplitude coord B y.1) | |
| 695 | - a b (MeanRankUpdate.modelVelocity A y.1) (Real.sqrt_pos.mpr hy) hab d (subset_tsupport _ hn) | |
| 696 | - exact ⟨hr.1.le, hr.2.le⟩ | |
| 697 | - | |
| 698 | -theorem rankAxial_model_supported (coord A B lam a b : ℝ) (hab : a < b) | |
| 699 | - (d : MeanRankUpdate.Debt) : | |
| 700 | - ModelSupported a b (fun y => MeanRankUpdate.axialModel coord A B lam a b d y.1) := by | |
| 701 | - intro y hy hn | |
| 702 | - have hr := MeanRankUpdate.desiredAxialIncrement_tsupport lam (MeanRankUpdate.modelAmplitude coord B y.1) | |
| 703 | - a b (MeanRankUpdate.modelVelocity A y.1) (Real.sqrt_pos.mpr hy) hab d (subset_tsupport _ hn) | |
| 704 | - exact ⟨hr.1.le, hr.2.le⟩ | |
| 705 | - | |
| 706 | -/-- The explicit five-row angular kernel supplies its own primitive | |
| 707 | -continuation; its smoothness is not an additional source assumption. -/ | |
| 708 | -noncomputable def rankAngularContinuation {coord a b : ℝ} {W : Window coord a b} | |
| 709 | - (hc : 0 < coord) (hc1 : coord < 1) (A B lam : ℝ) (hB : B ≠ 0) (hab : a < b) | |
| 710 | - (d : MeanRankUpdate.Debt) : | |
| 711 | - SupportedContinuation W (MeanRankUpdate.chartKernel coord (MeanRankUpdate.angularModel coord A B lam a b d)) := by | |
| 712 | - apply SupportedContinuation.ofModel hc hc1 (fun y => MeanRankUpdate.angularModel coord A B lam a b d y.1) | |
| 713 | - · exact (MeanRankUpdate.angularModel_contDiffOn coord A B lam a b hB d).comp | |
| 714 | - contDiffOn_fst (fun _ hy => hy) | |
| 715 | - · exact rankAngular_model_supported coord A B lam a b hab d | |
| 716 | - | |
| 717 | -noncomputable def rankAxialContinuation {coord a b : ℝ} {W : Window coord a b} | |
| 718 | - (hc : 0 < coord) (hc1 : coord < 1) (A B lam : ℝ) (hB : B ≠ 0) (hab : a < b) | |
| 719 | - (d : MeanRankUpdate.Debt) : | |
| 720 | - SupportedContinuation W (MeanRankUpdate.chartKernel coord (MeanRankUpdate.axialModel coord A B lam a b d)) := by | |
| 721 | - apply SupportedContinuation.ofModel hc hc1 (fun y => MeanRankUpdate.axialModel coord A B lam a b d y.1) | |
| 722 | - · exact (MeanRankUpdate.axialModel_contDiffOn coord A B lam a b hB d).comp | |
| 723 | - contDiffOn_fst (fun _ hy => hy) | |
| 724 | - · exact rankAxial_model_supported coord A B lam a b hab d | |
| 725 | - | |
| 726 | 295 | end RankModels |
| 727 | 296 | |
| 728 | 297 | section PhysicalFields |
| @@ -746,58 +315,9 @@ noncomputable def physicalDomain (U : Set Slow) : Set SpaceTime := physicalSlow | ||
| 746 | 315 | theorem physicalDomain_open {U : Set Slow} (hU : IsOpen U) : IsOpen (physicalDomain U) := |
| 747 | 316 | hU.preimage physicalSlow_contDiff.continuous |
| 748 | 317 | |
| 749 | -theorem radius_pos_of_projection {w : SpaceTime} | |
| 750 | - (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : 0 < AnnularEndpoint.radius w := | |
| 751 | - (norm_pos_iff.mpr hw).trans_le (PolarCharts.norm_le_radius _) | |
| 752 | - | |
| 753 | -theorem radius_contDiffAt {w : SpaceTime} (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : | |
| 754 | - ContDiffAt ℝ ∞ AnnularEndpoint.radius w := by | |
| 755 | - have hs : w.2 0 ^ 2 + w.2 1 ^ 2 ≠ 0 := by | |
| 756 | - intro hz | |
| 757 | - apply hw | |
| 758 | - apply Prod.ext | |
| 759 | - · change w.2 0 = 0 | |
| 760 | - nlinarith [sq_nonneg (w.2 1), sq_nonneg (w.2 0)] | |
| 761 | - · change w.2 1 = 0 | |
| 762 | - nlinarith [sq_nonneg (w.2 1), sq_nonneg (w.2 0)] | |
| 763 | - change ContDiffAt ℝ ∞ (fun z : SpaceTime => Real.sqrt (z.2 0 ^ 2 + z.2 1 ^ 2)) w | |
| 764 | - exact ((((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd).contDiffAt.pow 2).add | |
| 765 | - (((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd).contDiffAt.pow 2)).sqrt hs | |
| 766 | - | |
| 767 | -theorem physicalLift_contDiffAt (h : ℝ) (n : ℕ) {w : SpaceTime} | |
| 768 | - (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : ContDiffAt ℝ ∞ (physicalLift h n) w := | |
| 769 | - (radius_contDiffAt hw).prodMk (physicalSlow_contDiff.contDiffAt.prodMk | |
| 770 | - (PhysicalGraphBounds.contDiffAt_nativeGraph h n hw)) | |
| 771 | - | |
| 772 | 318 | noncomputable def physicalScalar (h : ℝ) (n : ℕ) (f : Lift → ℝ) : SpaceTime → ℝ := |
| 773 | 319 | f ∘ physicalLift h n |
| 774 | 320 | |
| 775 | -theorem physicalScalar_zero_germ (h : ℝ) (n : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 776 | - {c e : ℝ} {f : Lift → ℝ} (hs : PhysicalMeanDomain.SupportedOn c e U f) | |
| 777 | - {w : SpaceTime} (hw : w ∈ physicalDomain U) (hr : AnnularEndpoint.radius w < c) : | |
| 778 | - physicalScalar h n f =ᶠ[𝓝 w] fun _ => 0 := by | |
| 779 | - filter_upwards [(physicalDomain_open hU).mem_nhds hw, | |
| 780 | - AnnularEndpoint.radius_continuous.continuousAt (gt_mem_nhds hr)] with z hz hzr | |
| 781 | - by_contra hn | |
| 782 | - exact (not_lt_of_ge (hs (physicalLift h n z) hz hn).1) hzr | |
| 783 | - | |
| 784 | -/-- A positive lower radial support bound removes the coordinate singularity | |
| 785 | -on the symmetry axis. No smoothness of the graph at the axis is assumed. -/ | |
| 786 | -theorem physicalScalar_smooth (h : ℝ) (n : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 787 | - {c e : ℝ} (hc : 0 < c) {f : Lift → ℝ} | |
| 788 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 789 | - (hs : PhysicalMeanDomain.SupportedOn c e U f) : | |
| 790 | - ContDiffOn ℝ ∞ (physicalScalar h n f) (physicalDomain U) := by | |
| 791 | - intro w hw | |
| 792 | - by_cases ha : PhysicalGraphBounds.radialProjection w = 0 | |
| 793 | - · have hr : AnnularEndpoint.radius w = 0 := by | |
| 794 | - simp only [AnnularEndpoint.radius, ha, PolarCharts.radius, Prod.fst_zero, Prod.snd_zero, | |
| 795 | - zero_pow (by decide : 2 ≠ 0), zero_add, Real.sqrt_zero] | |
| 796 | - exact (contDiffAt_const.congr_of_eventuallyEq | |
| 797 | - (physicalScalar_zero_germ h n hU hs hw (hr ▸ hc))).contDiffWithinAt | |
| 798 | - · exact ((hf.contDiffAt ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hw)).comp w | |
| 799 | - (physicalLift_contDiffAt h n ha)).contDiffWithinAt | |
| 800 | - | |
| 801 | 321 | /-- `streamPotential` is already the azimuthal component of the vector |
| 802 | 322 | potential, including its division by the radial variable. -/ |
| 803 | 323 | noncomputable def azimuthalPotential (h : ℝ) (n : ℕ) (f : Lift → ℝ) (w : SpaceTime) : Space := |
| @@ -809,150 +329,12 @@ noncomputable def azimuthalPotential (h : ℝ) (n : ℕ) (f : Lift → ℝ) (w : | ||
| 809 | 329 | noncomputable def angularField (h : ℝ) (n : ℕ) (f : Lift → ℝ) : SpaceTime → Space := |
| 810 | 330 | azimuthalPotential h n f |
| 811 | 331 | |
| 812 | -theorem azimuthalPotential_smooth (h : ℝ) (n : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 813 | - {c e : ℝ} (hc : 0 < c) {f : Lift → ℝ} | |
| 814 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 815 | - (hs : PhysicalMeanDomain.SupportedOn c e U f) : | |
| 816 | - ContDiffOn ℝ ∞ (azimuthalPotential h n f) (physicalDomain U) := by | |
| 817 | - intro w hw | |
| 818 | - by_cases ha : PhysicalGraphBounds.radialProjection w = 0 | |
| 819 | - · have hr : AnnularEndpoint.radius w = 0 := by | |
| 820 | - simp [AnnularEndpoint.radius, ha, PolarCharts.radius] | |
| 821 | - have he : azimuthalPotential h n f =ᶠ[𝓝 w] fun _ => 0 := by | |
| 822 | - filter_upwards [physicalScalar_zero_germ h n hU hs hw (hr ▸ hc)] with z hz | |
| 823 | - simp only [azimuthalPotential, hz, mul_zero, zero_smul, add_zero] | |
| 824 | - exact (contDiffAt_const.congr_of_eventuallyEq he).contDiffWithinAt | |
| 825 | - · have hR := radius_contDiffAt ha | |
| 826 | - have hRn := (radius_pos_of_projection ha).ne' | |
| 827 | - have hψ := (physicalScalar_smooth h n hU hc hf hs).contDiffAt | |
| 828 | - ((physicalDomain_open hU).mem_nhds hw) | |
| 829 | - have h0 : ContDiffAt ℝ ∞ (fun z : SpaceTime => z.2 0) w := | |
| 830 | - ((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd).contDiffAt | |
| 831 | - have h1 : ContDiffAt ℝ ∞ (fun z : SpaceTime => z.2 1) w := | |
| 832 | - ((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd).contDiffAt | |
| 833 | - exact ((((h1.neg.div hR hRn).mul hψ).smul contDiffAt_const).add | |
| 834 | - (((h0.div hR hRn).mul hψ).smul contDiffAt_const)).contDiffWithinAt | |
| 835 | - | |
| 836 | 332 | namespace SupportedContinuation |
| 837 | 333 | |
| 838 | 334 | variable {coord a b : ℝ} {W : Window coord a b} {f : Lift → ℝ} |
| 839 | 335 | |
| 840 | -noncomputable def physicalExtension (e : SupportedContinuation W f) (h : ℝ) (n : ℕ) | |
| 841 | - {x : Space} (hx : (0, x 2) ∈ W.carrier) : | |
| 842 | - JointResidualLimits.OneSidedExtension (physicalScalar h n f) x where | |
| 843 | - value := physicalScalar h n e.value | |
| 844 | - domain := physicalDomain W.carrier | |
| 845 | - isOpen := physicalDomain_open W.isOpen | |
| 846 | - mem := by simpa only [physicalDomain, mem_preimage, physicalSlow, sub_self] using hx | |
| 847 | - smooth := physicalScalar_smooth h n W.isOpen W.lower_pos e.smooth (W.fixed_support e.supported) | |
| 848 | - agrees := by | |
| 849 | - intro w hw | |
| 850 | - exact e.agrees ⟨hw.1, show 0 < 1 - w.1 from sub_pos.mpr hw.2.1⟩ | |
| 851 | - | |
| 852 | -noncomputable def azimuthalExtension (e : SupportedContinuation W f) (h : ℝ) (n : ℕ) | |
| 853 | - {x : Space} (hx : (0, x 2) ∈ W.carrier) : | |
| 854 | - JointResidualLimits.OneSidedExtension (azimuthalPotential h n f) x where | |
| 855 | - value := azimuthalPotential h n e.value | |
| 856 | - domain := physicalDomain W.carrier | |
| 857 | - isOpen := physicalDomain_open W.isOpen | |
| 858 | - mem := by simpa only [physicalDomain, mem_preimage, physicalSlow, sub_self] using hx | |
| 859 | - smooth := azimuthalPotential_smooth h n W.isOpen W.lower_pos e.smooth (W.fixed_support e.supported) | |
| 860 | - agrees := by | |
| 861 | - intro w hw | |
| 862 | - have he := (e.physicalExtension h n hx).agrees hw | |
| 863 | - change physicalScalar h n e.value w = physicalScalar h n f w at he | |
| 864 | - dsimp only [azimuthalPotential] | |
| 865 | - rw [he] | |
| 866 | - | |
| 867 | -noncomputable def angularExtension (e : SupportedContinuation W f) (h : ℝ) (n : ℕ) | |
| 868 | - {x : Space} (hx : (0, x 2) ∈ W.carrier) : | |
| 869 | - JointResidualLimits.OneSidedExtension (angularField h n f) x := | |
| 870 | - e.azimuthalExtension h n hx | |
| 871 | - | |
| 872 | 336 | end SupportedContinuation |
| 873 | 337 | |
| 874 | -/-- The scalar pressure and the actual azimuthal mean potential (and hence | |
| 875 | -its Cartesian curl) have ambient endpoint extensions from primitive model | |
| 876 | -smoothness and support. No extension of a solved field is an input. -/ | |
| 877 | -theorem mean_model_extensions {h a b d : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 878 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (M : ℝ) (v : Slow) (n : ℕ) | |
| 879 | - (F : Model → ℝ) (hF : ContDiffOn ℝ ∞ F modelDomain) (hs : ModelSupported a b F) | |
| 880 | - {x : Space} (hx : x 2 ≠ 0) : | |
| 881 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 882 | - (physicalScalar h n (VariableGaugeMean.meanPressure d a b M hab | |
| 883 | - (VariableGaugeMean.qLength (2 * h)) v (physicalSource (2 * h) F))) x) ∧ | |
| 884 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 885 | - (azimuthalPotential h n (VariableGaugeMean.streamPotential d a b M | |
| 886 | - (VariableGaugeMean.qLength (2 * h)) v (physicalSource (2 * h) F))) x) ∧ | |
| 887 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 888 | - (SpatialCurl.spatialCurl (azimuthalPotential h n (VariableGaugeMean.streamPotential d a b M | |
| 889 | - (VariableGaugeMean.qLength (2 * h)) v (physicalSource (2 * h) F)))) x) := by | |
| 890 | - have hc : 0 < 2 * h := by linarith | |
| 891 | - have hc1 : 2 * h < 1 := by linarith | |
| 892 | - obtain ⟨W, hw⟩ := exists_endpoint_window hc hc1 ha hab hx | |
| 893 | - let e : SupportedContinuation W (physicalSource (2 * h) F) := | |
| 894 | - SupportedContinuation.ofModel hc hc1 F hF hs | |
| 895 | - let ep := (e.pressure hc hc1 ha hab hd M v).physicalExtension h n hw | |
| 896 | - let eA := (e.stream hc hc1 ha hab hd M v).azimuthalExtension h n hw | |
| 897 | - exact ⟨⟨ep⟩, ⟨eA⟩, ⟨AnnularEndpoint.curlExtension eA⟩⟩ | |
| 898 | - | |
| 899 | -/-- The actual temporal inverse is taken before reconstructing its mean | |
| 900 | -stream potential. Its full-fiber continuation comes from the input torus | |
| 901 | -periodicity and the proved inverse construction. -/ | |
| 902 | -theorem temporal_mean_model_extension {h a b d : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 903 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (M : ℝ) (v : Slow) (n i : ℕ) | |
| 904 | - (F : Model → ℝ) (hF : ContDiffOn ℝ ∞ F modelDomain) (hs : ModelSupported a b F) | |
| 905 | - (hp : ModelPeriodic F) {x : Space} (hx : x 2 ≠ 0) : | |
| 906 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 907 | - (azimuthalPotential h n (VariableGaugeMean.streamPotential d a b M | |
| 908 | - (VariableGaugeMean.qLength (2 * h)) v | |
| 909 | - (MeanChartCompatibility.temporalAtIndex h n i (physicalSource (2 * h) F)))) x) := by | |
| 910 | - have hc : 0 < 2 * h := by linarith | |
| 911 | - have hc1 : 2 * h < 1 := by linarith | |
| 912 | - obtain ⟨W, hw⟩ := exists_endpoint_window hc hc1 ha hab hx | |
| 913 | - let e : SupportedContinuation W (physicalSource (2 * h) F) := | |
| 914 | - SupportedContinuation.ofModel hc hc1 F hF hs | |
| 915 | - have heper : PhysicalMeanDomain.PeriodicOn W.carrier e.value := continuedSource_periodic hp W.stable | |
| 916 | - exact ⟨((e.temporal h n i heper).stream hc hc1 ha hab hd M v).azimuthalExtension h n hw⟩ | |
| 917 | - | |
| 918 | -theorem mean_models_supported {coord a b d : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 919 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (M : ℝ) (v : Slow) | |
| 920 | - (F : Model → ℝ) (hF : ContDiffOn ℝ ∞ F modelDomain) (hs : ModelSupported a b F) : | |
| 921 | - VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength coord) positiveSlow | |
| 922 | - (VariableGaugeMean.meanPressure d a b M hab (VariableGaugeMean.qLength coord) v (physicalSource coord F)) ∧ | |
| 923 | - VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength coord) positiveSlow | |
| 924 | - (VariableGaugeMean.streamPotential d a b M (VariableGaugeMean.qLength coord) v (physicalSource coord F)) := by | |
| 925 | - constructor | |
| 926 | - · intro p hp hn | |
| 927 | - obtain ⟨W, hw⟩ := exists_window_at hc hc1 ha hab | |
| 928 | - (PositiveRepresentatives.positiveTime_mem_stableTarget hc hc1 hp) | |
| 929 | - let e : SupportedContinuation W (physicalSource coord F) := SupportedContinuation.ofModel hc hc1 F hF hs | |
| 930 | - exact (e.pressure hc hc1 ha hab hd M v).support_on_past hc hc1 hw hp hn | |
| 931 | - · intro p hp hn | |
| 932 | - obtain ⟨W, hw⟩ := exists_window_at hc hc1 ha hab | |
| 933 | - (PositiveRepresentatives.positiveTime_mem_stableTarget hc hc1 hp) | |
| 934 | - let e : SupportedContinuation W (physicalSource coord F) := SupportedContinuation.ofModel hc hc1 F hF hs | |
| 935 | - exact (e.stream hc hc1 ha hab hd M v).support_on_past hc hc1 hw hp hn | |
| 936 | - | |
| 937 | -theorem physicalScalar_shrinkingSupport (h : ℝ) (n : ℕ) {a b : ℝ} {f : Lift → ℝ} | |
| 938 | - (hf : VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength (2 * h)) positiveSlow f) : | |
| 939 | - AnnularEndpoint.ShrinkingSupport h b (physicalScalar h n f) := by | |
| 940 | - intro w ht hn | |
| 941 | - have hs := (hf (physicalLift h n w) (show 0 < 1 - w.1 from sub_pos.mpr ht) hn).2 | |
| 942 | - change AnnularEndpoint.radius w ≤ | |
| 943 | - Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2)) * b at hs | |
| 944 | - change AnnularEndpoint.radius w ≤ | |
| 945 | - b * Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2)) | |
| 946 | - simpa only [mul_comm] using hs | |
| 947 | - | |
| 948 | -theorem azimuthalPotential_shrinkingSupport (h : ℝ) (n : ℕ) {a b : ℝ} {f : Lift → ℝ} | |
| 949 | - (hf : VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength (2 * h)) positiveSlow f) : | |
| 950 | - AnnularEndpoint.ShrinkingSupport h b (azimuthalPotential h n f) := by | |
| 951 | - intro w ht hn | |
| 952 | - apply physicalScalar_shrinkingSupport h n hf w ht | |
| 953 | - intro hz | |
| 954 | - exact hn (by simp only [azimuthalPotential, hz, mul_zero, zero_smul, add_zero]) | |
| 955 | - | |
| 956 | 338 | end PhysicalFields |
| 957 | 339 | |
| 958 | 340 | section DiagonalCutoffs |
| @@ -1019,65 +401,4 @@ theorem diagonal_extension {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 1019 | 401 | |
| 1020 | 402 | end DiagonalCutoffs |
| 1021 | 403 | |
| 1022 | -/-- All stages of actual moving mean reconstruction can be summed with the | |
| 1023 | -chosen cutoff schedule at a nonzero-axial endpoint. The model assumptions | |
| 1024 | -are on the primitive source of each stage. -/ | |
| 1025 | -theorem mean_diagonal_extensions {h a b d : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1026 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 1027 | - (M : ℕ → ℝ) (v : ℕ → Slow) (n : ℕ → ℕ) | |
| 1028 | - (F : ℕ → Model → ℝ) (hF : ∀ j, ContDiffOn ℝ ∞ (F j) modelDomain) | |
| 1029 | - (hs : ∀ j, ModelSupported a b (F j)) {scale : ℕ → ℝ} (hscale : Tendsto scale atTop atTop) | |
| 1030 | - {x : Space} (hx : x 2 ≠ 0) : | |
| 1031 | - let p := fun j => physicalScalar h (n j) (VariableGaugeMean.meanPressure d a b (M j) hab | |
| 1032 | - (VariableGaugeMean.qLength (2 * h)) (v j) (physicalSource (2 * h) (F j))) | |
| 1033 | - let A := fun j => azimuthalPotential h (n j) (VariableGaugeMean.streamPotential d a b (M j) | |
| 1034 | - (VariableGaugeMean.qLength (2 * h)) (v j) (physicalSource (2 * h) (F j))) | |
| 1035 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 1036 | - (SolenoidalDiagonal.potentialSum scale (PhysicalWaveSum.physicalQ h) p) x) ∧ | |
| 1037 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 1038 | - (SolenoidalDiagonal.potentialSum scale (PhysicalWaveSum.physicalQ h) A) x) ∧ | |
| 1039 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 1040 | - (SolenoidalDiagonal.velocitySum scale (PhysicalWaveSum.physicalQ h) A) x) := by | |
| 1041 | - have he := fun j => mean_model_extensions hh hh1 ha hab hd (M j) (v j) (n j) (F j) (hF j) (hs j) hx | |
| 1042 | - obtain ⟨eA⟩ := diagonal_extension hh hh1 hscale hx (fun j => (he j).2.1) | |
| 1043 | - exact ⟨diagonal_extension hh hh1 hscale hx (fun j => (he j).1), ⟨eA⟩, | |
| 1044 | - ⟨AnnularEndpoint.curlExtension eA⟩⟩ | |
| 1045 | - | |
| 1046 | -/-- Combining the new positive-q continuation with the shrinking-support | |
| 1047 | -argument gives full away-extensions for these actually reconstructed mean | |
| 1048 | -families. The common outer support bound is a conclusion of the primitive | |
| 1049 | -model support, rather than an additional output assumption. -/ | |
| 1050 | -theorem mean_diagonal_awayExtensions {h a b d : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1051 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 1052 | - (M : ℕ → ℝ) (v : ℕ → Slow) (n : ℕ → ℕ) | |
| 1053 | - (F : ℕ → Model → ℝ) (hF : ∀ j, ContDiffOn ℝ ∞ (F j) modelDomain) | |
| 1054 | - (hs : ∀ j, ModelSupported a b (F j)) {scale : ℕ → ℝ} (hscale : Tendsto scale atTop atTop) : | |
| 1055 | - let p := fun j => physicalScalar h (n j) (VariableGaugeMean.meanPressure d a b (M j) hab | |
| 1056 | - (VariableGaugeMean.qLength (2 * h)) (v j) (physicalSource (2 * h) (F j))) | |
| 1057 | - let A := fun j => azimuthalPotential h (n j) (VariableGaugeMean.streamPotential d a b (M j) | |
| 1058 | - (VariableGaugeMean.qLength (2 * h)) (v j) (physicalSource (2 * h) (F j))) | |
| 1059 | - JointResidualLimits.AwayExtensions (SolenoidalDiagonal.potentialSum scale (PhysicalWaveSum.physicalQ h) p) ∧ | |
| 1060 | - JointResidualLimits.AwayExtensions (SolenoidalDiagonal.potentialSum scale (PhysicalWaveSum.physicalQ h) A) ∧ | |
| 1061 | - JointResidualLimits.AwayExtensions (SolenoidalDiagonal.velocitySum scale (PhysicalWaveSum.physicalQ h) A) := by | |
| 1062 | - have hsup j := mean_models_supported (by linarith : 0 < 2 * h) (by linarith : 2 * h < 1) | |
| 1063 | - ha hab hd (M j) (v j) (F j) (hF j) (hs j) | |
| 1064 | - have hps := AnnularEndpoint.ShrinkingSupport.potentialSum | |
| 1065 | - (fun j => physicalScalar_shrinkingSupport h (n j) (hsup j).1) scale (PhysicalWaveSum.physicalQ h) | |
| 1066 | - have hAs := AnnularEndpoint.ShrinkingSupport.potentialSum | |
| 1067 | - (fun j => azimuthalPotential_shrinkingSupport h (n j) (hsup j).2) scale (PhysicalWaveSum.physicalQ h) | |
| 1068 | - have hvs := hAs.spatialCurl hh hh1 | |
| 1069 | - refine ⟨?_, ?_, ?_⟩ | |
| 1070 | - · intro x hx | |
| 1071 | - by_cases hz : x 2 = 0 | |
| 1072 | - · exact hps.oneSidedExtension hh hh1 hx hz | |
| 1073 | - · exact (mean_diagonal_extensions hh hh1 ha hab hd M v n F hF hs hscale hz).1 | |
| 1074 | - · intro x hx | |
| 1075 | - by_cases hz : x 2 = 0 | |
| 1076 | - · exact hAs.oneSidedExtension hh hh1 hx hz | |
| 1077 | - · exact (mean_diagonal_extensions hh hh1 ha hab hd M v n F hF hs hscale hz).2.1 | |
| 1078 | - · intro x hx | |
| 1079 | - by_cases hz : x 2 = 0 | |
| 1080 | - · exact hvs.oneSidedExtension hh hh1 hx hz | |
| 1081 | - · exact (mean_diagonal_extensions hh hh1 ha hab hd M v n F hF hs hscale hz).2.2 | |
| 1082 | - | |
| 1083 | 404 | end NavierStokes.OffplaneCorrectionExtensions |
+0 −20 NavierStokes/OffplaneJetExtensions.lean View file
| @@ -249,16 +249,6 @@ theorem rawStage_extension {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 249 | 249 | intro m |
| 250 | 250 | exact ⟨C j m, p j m, g j - L m, fun w hw _ hq1 => hb j hj m w ⟨hw.1, hw⟩ hq1⟩ |
| 251 | 251 | |
| 252 | -theorem rawStages_extensions {h qbig : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 253 | - (hqbig : qbig ≤ 1) {F : ℕ → SpaceTime → V} {g L : ℕ → ℝ} {C p : ℕ → ℕ → ℝ} | |
| 254 | - (hb : CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) F g L C p | |
| 255 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig)) | |
| 256 | - (hf : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (F j) (CutStageEstimates.physicalSublevel h qbig)) | |
| 257 | - {x : Space} (hx : x 2 ≠ 0) | |
| 258 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 259 | - ∀ j, 1 ≤ j → Nonempty (JointResidualLimits.OneSidedExtension (F j) x) := | |
| 260 | - fun j hj => rawStage_extension hh hh1 hqbig hb hj (hf j hj) hx hqx | |
| 261 | - | |
| 262 | 252 | end PhysicalExtensions |
| 263 | 253 | |
| 264 | 254 | section Assembly |
| @@ -307,16 +297,6 @@ section FiniteInitialPieces | ||
| 307 | 297 | |
| 308 | 298 | open ActualPhysicalStageBounds |
| 309 | 299 | |
| 310 | -theorem mean_field_extension {h degree qbig : ℝ} (M : MeanInput h degree) | |
| 311 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : qbig ≤ 1) | |
| 312 | - (hq : qbig ≤ ChartScales.Q M.firstBand) {x : Space} (hx : x 2 ≠ 0) | |
| 313 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 314 | - Nonempty (JointResidualLimits.OneSidedExtension M.family.field x) := by | |
| 315 | - apply extension_of_power_jets hh hh1 hqbig (M.field_smooth hh hh1 hq) _ hx hqx | |
| 316 | - intro m | |
| 317 | - obtain ⟨C, _, hb⟩ := M.field_bound hh hh1 hq m | |
| 318 | - exact ⟨C, h * M.alpha - PhysicalMeanJetBounds.loss degree m, hb⟩ | |
| 319 | - | |
| 320 | 300 | theorem mean_angular_extension {h degree qbig : ℝ} (M : MeanInput h degree) |
| 321 | 301 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : qbig ≤ 1) |
| 322 | 302 | (hq : qbig ≤ ChartScales.Q M.firstBand) {x : Space} (hx : x 2 ≠ 0) |
+0 −185 NavierStokes/ParticularCopyBounds.lean View file
| @@ -274,37 +274,6 @@ theorem coefficients_jets | ||
| 274 | 274 | have hpi := forced_projectedPressure hN hNd hA hui (hf.map imagPart) hweight hb hl hh hfrequency |
| 275 | 275 | exact hpr.add (hpi.map ((ContinuousLinearMap.mul ℝ ℂ) Complex.I)) hweight |
| 276 | 276 | |
| 277 | -/-- The common cutoff is applied once, before the periodized sum and the | |
| 278 | -exact curl. These are the native hypotheses of `common_bounds_from_native`. -/ | |
| 279 | -theorem coefficients_localized_jets | |
| 280 | - (hr : ModalControl s α d (fun n => realData (t n) (source n)) harmonic g L envelope cells) | |
| 281 | - (hi : ModalControl s α d (fun n => imagData (t n) (source n)) harmonic g L envelope cells) | |
| 282 | - (hW : ∀ n x, x ∈ s.domain → 0 ≤ W n x) | |
| 283 | - (hcompare : ∀ n k x, x ∈ s.domain → x ∈ cells n k → | |
| 284 | - envelope n ((g n).coordinates k x.2).2 ≤ W n x) | |
| 285 | - (hN : LocalJets s (fun _ _ => 1) 0 cells | |
| 286 | - (fun n k x => (t n).normal (nativePoint (g n) k x))) | |
| 287 | - (hNd : LocalJets s (fun _ _ => 1) 0 cells | |
| 288 | - (fun n k x => (t n).normalDot (nativePoint (g n) k x))) | |
| 289 | - (hA : LocalJets s (fun _ _ => 1) 0 cells | |
| 290 | - (fun n k x => (t n).action (nativePoint (g n) k x))) | |
| 291 | - (hf : LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells (fun n _ => source n)) | |
| 292 | - {b M : ℝ} (hb : 0 < b) | |
| 293 | - (hl : ∀ n k x, x ∈ s.domain → x ∈ cells n k → b ≤ ‖(t n).normal (nativePoint (g n) k x)‖) | |
| 294 | - (hh : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ‖(t n).normal (nativePoint (g n) k x)‖ ≤ M) | |
| 295 | - (hfrequency : BandBound s (1/2) (fun n => 1 / base.frequency n)) | |
| 296 | - (cutoff : Frequency → ℕ → P × Plane → ℝ) | |
| 297 | - (hcutoff : LocalJets s (fun _ _ => 1) 0 cells (fun n k => cutoff k n)) : | |
| 298 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells | |
| 299 | - (fun n k => ((complexCopyCoefficients base t source g (fun _ => k) L hL).withCutoff (cutoff k)).amplitude n) ∧ | |
| 300 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (α+1/2) cells | |
| 301 | - (fun n k => ((complexCopyCoefficients base t source g (fun _ => k) L hL).withCutoff (cutoff k)).pressure n) := by | |
| 302 | - obtain ⟨ha, hp⟩ := coefficients_jets base t source g L hL envelope W d harmonic cells | |
| 303 | - hr hi hW hcompare hN hNd hA hf hb hl hh hfrequency | |
| 304 | - have hw n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW n x hx) | |
| 305 | - refine ⟨hcutoff.smul ha hw, ?_⟩ | |
| 306 | - simpa only [WaveCoefficients.withCutoff, Complex.real_smul] using hcutoff.smul hp hw | |
| 307 | - | |
| 308 | 277 | end ActualComplex |
| 309 | 278 | |
| 310 | 279 | section NativeEnvelope |
| @@ -317,30 +286,6 @@ noncomputable def nativeEnvelope (K : Cells (P × Plane) Frequency) | ||
| 317 | 286 | exact if h : ∃ k, x ∈ K.carrier n k then |
| 318 | 287 | envelope n ((g n).coordinates (Classical.choose h) x.2).2 else 0 |
| 319 | 288 | |
| 320 | -omit [NormedSpace ℝ P] in | |
| 321 | -theorem nativeEnvelope_eq (K : Cells (P × Plane) Frequency) | |
| 322 | - (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) {n : ℕ} {k : Frequency} {x : P × Plane} | |
| 323 | - (hx : x ∈ K.carrier n k) : | |
| 324 | - nativeEnvelope K g envelope n x = envelope n ((g n).coordinates k x.2).2 := by | |
| 325 | - classical | |
| 326 | - let hex : ∃ j : Frequency, x ∈ K.carrier n j := ⟨k,hx⟩ | |
| 327 | - unfold nativeEnvelope | |
| 328 | - rw [dite_eq_left hex] | |
| 329 | - have hchoose : Classical.choose hex = k := | |
| 330 | - K.unique n (Classical.choose hex) k x (Classical.choose_spec hex) hx | |
| 331 | - rw [hchoose] | |
| 332 | - | |
| 333 | -omit [NormedSpace ℝ P] in | |
| 334 | -theorem nativeEnvelope_nonneg (K : Cells (P × Plane) Frequency) | |
| 335 | - (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) | |
| 336 | - (he : ∀ n v, 0 ≤ envelope n v) (n : ℕ) (x : P × Plane) : | |
| 337 | - 0 ≤ nativeEnvelope K g envelope n x := by | |
| 338 | - classical | |
| 339 | - unfold nativeEnvelope | |
| 340 | - split_ifs | |
| 341 | - · exact he _ _ | |
| 342 | - · exact le_rfl | |
| 343 | - | |
| 344 | 289 | omit [NormedSpace ℝ P] in |
| 345 | 290 | theorem nativeEnvelope_le_one (K : Cells (P × Plane) Frequency) |
| 346 | 291 | (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) |
| @@ -523,142 +468,12 @@ theorem uniform_coefficients_jets | ||
| 523 | 468 | (UniformPrimaryWeights.pull_bandBound hfrequency e) |
| 524 | 469 | exact ⟨uniform_local_of_pull he hboth.1, uniform_local_of_pull he hboth.2⟩ |
| 525 | 470 | |
| 526 | -theorem uniform_coefficients_localized_jets | |
| 527 | - (hr : UniformModalControl s α d (fun l n => realData (t l n) (source l n)) harmonic g L envelope cells) | |
| 528 | - (hi : UniformModalControl s α d (fun l n => imagData (t l n) (source l n)) harmonic g L envelope cells) | |
| 529 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 530 | - (hcompare : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → | |
| 531 | - envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) | |
| 532 | - (hN : UniformLocalJets s (fun _ _ _ => 1) 0 cells | |
| 533 | - (fun l n k x => (t l n).normal (nativePoint (g l n) k x))) | |
| 534 | - (hNd : UniformLocalJets s (fun _ _ _ => 1) 0 cells | |
| 535 | - (fun l n k x => (t l n).normalDot (nativePoint (g l n) k x))) | |
| 536 | - (hA : UniformLocalJets s (fun _ _ _ => 1) 0 cells | |
| 537 | - (fun l n k x => (t l n).action (nativePoint (g l n) k x))) | |
| 538 | - (hf : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells (fun l n _ => source l n)) | |
| 539 | - {b M : ℝ} (hb : 0 < b) | |
| 540 | - (hl : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → b ≤ ‖(t l n).normal (nativePoint (g l n) k x)‖) | |
| 541 | - (hh : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → ‖(t l n).normal (nativePoint (g l n) k x)‖ ≤ M) | |
| 542 | - (hfrequency : UniformPrimaryWeights.UniformBandBound s (1/2) (fun l n => 1 / (base l).frequency n)) | |
| 543 | - (cutoff : Label → Frequency → ℕ → P × Plane → ℝ) | |
| 544 | - (hcutoff : UniformLocalJets s (fun _ _ _ => 1) 0 cells (fun l n k => cutoff l k n)) : | |
| 545 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells | |
| 546 | - (fun l n k => ((complexCopyCoefficients (base l) (t l) (source l) (g l) | |
| 547 | - (fun _ => k) (L l) (hL l)).withCutoff (cutoff l k)).amplitude n) ∧ | |
| 548 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (α+1/2) cells | |
| 549 | - (fun l n k => ((complexCopyCoefficients (base l) (t l) (source l) (g l) | |
| 550 | - (fun _ => k) (L l) (hL l)).withCutoff (cutoff l k)).pressure n) := by | |
| 551 | - obtain ⟨ha, hp⟩ := uniform_coefficients_jets base t source g L hL envelope W d harmonic cells | |
| 552 | - hr hi hW hcompare hN hNd hA hf hb hl hh hfrequency | |
| 553 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) | |
| 554 | - refine ⟨uniform_smul hcutoff ha hw, ?_⟩ | |
| 555 | - simpa only [WaveCoefficients.withCutoff, Complex.real_smul] using uniform_smul hcutoff hp hw | |
| 556 | - | |
| 557 | 471 | end UniformLabels |
| 558 | 472 | |
| 559 | 473 | section PeriodicTranslation |
| 560 | 474 | |
| 561 | 475 | open HarmonicCalculus |
| 562 | 476 | |
| 563 | -theorem jets_of_translate {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 564 | - [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} (a : E) | |
| 565 | - (he : ∀ y, f (y+a) = g y) (m : ℕ) (x : E) : | |
| 566 | - iteratedFDeriv ℝ m f (x+a) = iteratedFDeriv ℝ m g x := by | |
| 567 | - rw [← iteratedFDeriv_comp_add_right] | |
| 568 | - exact congrArg (fun f => iteratedFDeriv ℝ m f x) (funext he) | |
| 569 | - | |
| 570 | -/-- Periodic translation preserves every full jet of the actual solution. | |
| 571 | -The copy index moves by the genuine common-cover index map. -/ | |
| 572 | -theorem velocity_jets_deck (t : TangentData P ProblemStatement.Space) | |
| 573 | - (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 574 | - (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : P × Plane) : | |
| 575 | - iteratedFDeriv ℝ m (complexCopyVelocity t source g hab (k+coverIndex g.gap q)) | |
| 576 | - (x + (0,TorusAverages.latticePoint q)) = | |
| 577 | - iteratedFDeriv ℝ m (complexCopyVelocity t source g hab k) x := | |
| 578 | - jets_of_translate (0,TorusAverages.latticePoint q) | |
| 579 | - (fun y => by | |
| 580 | - rcases y with ⟨p,Y⟩ | |
| 581 | - simpa only [Prod.mk_add_mk, add_zero] using | |
| 582 | - complexCopyVelocity_deck t source g hab k q p (hperiodic p) Y) m x | |
| 583 | - | |
| 584 | -theorem pressure_jets_deck (t : TangentData P ProblemStatement.Space) | |
| 585 | - (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 586 | - (hperiodic : ∀ p, PeriodicAt source p) (frequency : ℝ) (k q : Frequency) (m : ℕ) (x : P × Plane) : | |
| 587 | - iteratedFDeriv ℝ m (complexCopyPressure t source g hab (k+coverIndex g.gap q) frequency) | |
| 588 | - (x + (0,TorusAverages.latticePoint q)) = | |
| 589 | - iteratedFDeriv ℝ m (complexCopyPressure t source g hab k frequency) x := | |
| 590 | - jets_of_translate (0,TorusAverages.latticePoint q) | |
| 591 | - (fun y => by | |
| 592 | - rcases y with ⟨p,Y⟩ | |
| 593 | - simpa only [Prod.mk_add_mk, add_zero] using | |
| 594 | - complexCopyPressure_deck t source g hab k q frequency p (hperiodic p) Y) m x | |
| 595 | - | |
| 596 | -/-- A zero-gap cover permits reduction to the zero copy. For a refined | |
| 597 | -cover the preceding deck theorem retains its actual index subgroup. -/ | |
| 598 | -theorem velocity_jets_zero_copy (t : TangentData P ProblemStatement.Space) | |
| 599 | - (source : P × Plane → ComplexVector) (g : Geometry) (hgap : g.gap = 0) | |
| 600 | - {a b : ℝ} (hab : a ≤ b) (hperiodic : ∀ p, PeriodicAt source p) | |
| 601 | - (q : Frequency) (m : ℕ) (x : P × Plane) : | |
| 602 | - iteratedFDeriv ℝ m (complexCopyVelocity t source g hab q) (x + (0,TorusAverages.latticePoint q)) = | |
| 603 | - iteratedFDeriv ℝ m (complexCopyVelocity t source g hab 0) x := by | |
| 604 | - simpa only [coverIndex, hgap, Function.iterate_zero, id_eq, zero_add] using | |
| 605 | - velocity_jets_deck t source g hab hperiodic 0 q m x | |
| 606 | - | |
| 607 | -theorem coefficient_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) (g : Geometry) | |
| 608 | - (harmonic : ℤ) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : | |
| 609 | - iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)).coefficient harmonic) | |
| 610 | - (x + ((0,TorusAverages.latticePoint q),0)) = | |
| 611 | - iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g k).coefficient harmonic) x := by | |
| 612 | - apply jets_of_translate | |
| 613 | - rintro ⟨⟨p,Y⟩,v⟩ | |
| 614 | - simp only [Prod.mk_add_mk, add_zero] | |
| 615 | - change d.coefficient harmonic ((p, (g.coordinates (k+coverIndex g.gap q) | |
| 616 | - (Y+TorusAverages.latticePoint q)).1), v) = | |
| 617 | - d.coefficient harmonic ((p, (g.coordinates k Y).1), v) | |
| 618 | - rw [g.coordinates_deck] | |
| 619 | - | |
| 620 | -theorem source_jets_deck (source : P × Plane → ProblemStatement.Space) (g : Geometry) | |
| 621 | - (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : | |
| 622 | - iteratedFDeriv ℝ m (PrimaryCopyBridge.copySource source g (k+coverIndex g.gap q)) | |
| 623 | - (x + ((0,TorusAverages.latticePoint q),0)) = | |
| 624 | - iteratedFDeriv ℝ m (PrimaryCopyBridge.copySource source g k) x := by | |
| 625 | - apply jets_of_translate | |
| 626 | - rintro ⟨⟨p,Y⟩,v⟩ | |
| 627 | - simp only [Prod.mk_add_mk, add_zero] | |
| 628 | - change source (p, g.path (k+coverIndex g.gap q) (Y+TorusAverages.latticePoint q) v) = | |
| 629 | - source (p, g.path k Y v) | |
| 630 | - rw [g.path_deck, hperiodic] | |
| 631 | - | |
| 632 | -theorem synthesis_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) (g : Geometry) | |
| 633 | - (i : Fin 2) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : | |
| 634 | - iteratedFDeriv ℝ m (synthesisColumn (PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)) i) | |
| 635 | - (x + ((0,TorusAverages.latticePoint q),0)) = | |
| 636 | - iteratedFDeriv ℝ m (synthesisColumn (PrimaryCopyBridge.copyFrame d g k) i) x := by | |
| 637 | - apply jets_of_translate | |
| 638 | - rintro ⟨⟨p,Y⟩,v⟩ | |
| 639 | - simp only [Prod.mk_add_mk, add_zero] | |
| 640 | - change synthesisColumn d i ((p, (g.coordinates (k+coverIndex g.gap q) | |
| 641 | - (Y+TorusAverages.latticePoint q)).1), v) = | |
| 642 | - synthesisColumn d i ((p, (g.coordinates k Y).1), v) | |
| 643 | - rw [g.coordinates_deck] | |
| 644 | - | |
| 645 | -theorem forcing_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) | |
| 646 | - (source : P × Plane → ProblemStatement.Space) (g : Geometry) | |
| 647 | - (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : | |
| 648 | - iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)).forcing | |
| 649 | - (PrimaryCopyBridge.copySource source g (k+coverIndex g.gap q))) | |
| 650 | - (x + ((0,TorusAverages.latticePoint q),0)) = | |
| 651 | - iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g k).forcing | |
| 652 | - (PrimaryCopyBridge.copySource source g k)) x := by | |
| 653 | - apply jets_of_translate | |
| 654 | - rintro ⟨⟨p,Y⟩,v⟩ | |
| 655 | - simp only [Prod.mk_add_mk, add_zero] | |
| 656 | - change frameForcingLinear d ((p, (g.coordinates (k+coverIndex g.gap q) | |
| 657 | - (Y+TorusAverages.latticePoint q)).1), v) | |
| 658 | - (source (p, g.path (k+coverIndex g.gap q) (Y+TorusAverages.latticePoint q) v)) = | |
| 659 | - frameForcingLinear d ((p, (g.coordinates k Y).1), v) (source (p, g.path k Y v)) | |
| 660 | - rw [g.coordinates_deck, g.path_deck, hperiodic] | |
| 661 | - | |
| 662 | 477 | end PeriodicTranslation |
| 663 | 478 | |
| 664 | 479 | end NavierStokes.ParticularCopyBounds |
+0 −157 NavierStokes/ParticularOneSided.lean View file
| @@ -23,22 +23,6 @@ section InputTraces | ||
| 23 | 23 | variable {Y E : Type*} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 24 | 24 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 25 | 25 | |
| 26 | -/-- Uniform bounds on every actual interior derivative and the continuous | |
| 27 | -zeroth trace imply genuine joint within smoothness on the closure. Thus | |
| 28 | -one-sided input jets can be supplied as limits, without an open extension. | |
| 29 | --/ | |
| 30 | -theorem contDiffOn_closure_of_uniform_jets {O : Set Y} (hO : IsOpen O) | |
| 31 | - (hc : Convex ℝ O) {f : Y → E} (hf : ContDiffOn ℝ ∞ f O) | |
| 32 | - (htrace : ContinuousOn f (closure O)) | |
| 33 | - (hb : ∀ n : ℕ, ∃ C : ℝ, ∀ x ∈ O, ‖iteratedFDeriv ℝ n f x‖ ≤ C) : | |
| 34 | - ContDiffOn ℝ ∞ f (closure O) := by | |
| 35 | - have he := GenericEndpointExtension.closedField_contDiffOn hO hc hf hb | |
| 36 | - have hi : EqOn (GenericEndpointExtension.closedField O f) f O := | |
| 37 | - fun _ hx => GenericEndpointExtension.closedField_eq hO hf hx | |
| 38 | - have heq : EqOn (GenericEndpointExtension.closedField O f) f (closure O) := | |
| 39 | - hi.of_subset_closure he.continuousOn htrace subset_closure Subset.rfl | |
| 40 | - exact he.congr (fun _ hx => (heq hx).symm) | |
| 41 | - | |
| 42 | 26 | end InputTraces |
| 43 | 27 | |
| 44 | 28 | section UniformJets |
| @@ -46,26 +30,6 @@ section UniformJets | ||
| 46 | 30 | variable {Y E : Type*} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 47 | 31 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 48 | 32 | |
| 49 | -/-- Compact-set uniformity for all mixed boundary jets follows from the | |
| 50 | -proved joint within smoothness, at each fixed derivative order. -/ | |
| 51 | -theorem uniformContinuousOn_jets {S : Set Y} (hS : UniqueDiffOn ℝ S) | |
| 52 | - {f : Y → E} (hf : ContDiffOn ℝ ∞ f S) | |
| 53 | - {K : Set Y} (hK : IsCompact K) (hKS : K ⊆ S) (n : ℕ) : | |
| 54 | - UniformContinuousOn (iteratedFDerivWithin ℝ n f S) K := | |
| 55 | - hK.uniformContinuousOn_of_continuous | |
| 56 | - ((hf.continuousOn_iteratedFDerivWithin | |
| 57 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) hS).mono hKS) | |
| 58 | - | |
| 59 | -omit [NormedSpace ℝ Y] [NormedSpace ℝ E] in | |
| 60 | -theorem tendstoUniformlyOn_of_joint_continuous {s : Set ℝ} {K : Set Y} | |
| 61 | - {F : ℝ → Y → E} (hK : IsCompact K) | |
| 62 | - (hF : ContinuousOn F.uncurry (s ×ˢ K)) {t : ℝ} (ht : t ∈ s) : | |
| 63 | - TendstoUniformlyOn F (F t) (𝓝[s] t) K := by | |
| 64 | - intro u hu | |
| 65 | - obtain ⟨v, hv, hnear⟩ := hK.mem_uniformity_of_prod hF ht (symmetrize_mem_uniformity hu) | |
| 66 | - filter_upwards [hv] with r hr y hy | |
| 67 | - exact (hnear r hr y hy).2 | |
| 68 | - | |
| 69 | 33 | end UniformJets |
| 70 | 34 | |
| 71 | 35 | section CommonTorus |
| @@ -73,7 +37,6 @@ section CommonTorus | ||
| 73 | 37 | variable {X : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 74 | 38 | |
| 75 | 39 | def slowDomain (W : Set X) : Set (ℝ × X) := Ici (0 : ℝ) ×ˢ W |
| 76 | -def positiveDomain (W : Set X) : Set (ℝ × X) := Ioi (0 : ℝ) ×ˢ W | |
| 77 | 40 | |
| 78 | 41 | theorem slowDomain_convex {W : Set X} (hW : Convex ℝ W) : |
| 79 | 42 | Convex ℝ (slowDomain W) := (convex_Ici 0).prod hW |
| @@ -81,88 +44,6 @@ theorem slowDomain_convex {W : Set X} (hW : Convex ℝ W) : | ||
| 81 | 44 | theorem slowDomain_uniqueDiff {W : Set X} (hW : IsOpen W) : |
| 82 | 45 | UniqueDiffOn ℝ (slowDomain W) := (uniqueDiffOn_Ici 0).prod hW.uniqueDiffOn |
| 83 | 46 | |
| 84 | -/-- The same construction is local in slow time; no values for τ≥T need | |
| 85 | -be smooth. This is the form used on compact sets with q>0. -/ | |
| 86 | -theorem commonCoefficients_local_oneSided (t : TangentData (ℝ × X) ProblemStatement.Space) | |
| 87 | - (f : (ℝ × X) × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 88 | - {a b T : ℝ} (hab : a ≤ b) {W : Set X} (hW : IsOpen W) (hcW : Convex ℝ W) | |
| 89 | - (hN : ContDiffOn ℝ ∞ t.normal ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 90 | - (hNd : ContDiffOn ℝ ∞ t.normalDot ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 91 | - (hK : ContDiffOn ℝ ∞ t.action ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 92 | - (hδ : ContDiffOn ℝ ∞ t.damping ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 93 | - (hf : ContDiffOn ℝ ∞ f ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 94 | - (hn : ∀ x ∈ (Ico 0 T ×ˢ W) ×ˢ univ, t.normal x ≠ 0) | |
| 95 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 96 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) : | |
| 97 | - ContDiffOn ℝ ∞ (commonVelocity t f g hab κ) ((Ico 0 T ×ˢ W) ×ˢ univ) ∧ | |
| 98 | - ContDiffOn ℝ ∞ (commonPressure t f g hab κ frequency) ((Ico 0 T ×ˢ W) ×ˢ univ) := | |
| 99 | - commonCoefficients_contDiffOn_within t f g hab ((convex_Ico 0 T).prod hcW) | |
| 100 | - ((uniqueDiffOn_Ico 0 T).prod hW.uniqueDiffOn) hN hNd hK hδ hf hn hκ hcκ hsupp frequency | |
| 101 | - | |
| 102 | -/-- Uniform convergence of the actual interior mixed jets to the genuine | |
| 103 | -one-sided boundary jets on any compact transverse parameter set. -/ | |
| 104 | -theorem uniform_endpoint_jets {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 105 | - {T : ℝ} (hT : 0 < T) {W : Set X} (hW : IsOpen W) | |
| 106 | - {F : (ℝ × X) × Plane → E} | |
| 107 | - (hF : ContDiffOn ℝ ∞ F ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 108 | - {K : Set (X × Plane)} (hK : IsCompact K) (hKW : K ⊆ W ×ˢ univ) (n : ℕ) : | |
| 109 | - TendstoUniformlyOn (fun τ z => iteratedFDeriv ℝ n F ((τ, z.1), z.2)) | |
| 110 | - (fun z => iteratedFDerivWithin ℝ n F ((Ico 0 T ×ˢ W) ×ˢ univ) ((0, z.1), z.2)) | |
| 111 | - (𝓝[>] (0 : ℝ)) K := by | |
| 112 | - let S : Set ((ℝ × X) × Plane) := (Ico 0 T ×ˢ W) ×ˢ univ | |
| 113 | - let J := iteratedFDerivWithin ℝ n F S | |
| 114 | - have hS : UniqueDiffOn ℝ S := ((uniqueDiffOn_Ico 0 T).prod hW.uniqueDiffOn).prod uniqueDiffOn_univ | |
| 115 | - have hJ : ContinuousOn J S := hF.continuousOn_iteratedFDerivWithin | |
| 116 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) hS | |
| 117 | - have hjoint : ContinuousOn (fun z : ℝ × (X × Plane) => J ((z.1, z.2.1), z.2.2)) | |
| 118 | - (Ico 0 T ×ˢ K) := | |
| 119 | - hJ.comp ((continuous_fst.prodMk continuous_snd.fst).prodMk continuous_snd.snd).continuousOn | |
| 120 | - (fun _ hz => ⟨⟨hz.1, (hKW hz.2).1⟩, mem_univ _⟩) | |
| 121 | - have hlim := tendstoUniformlyOn_of_joint_continuous | |
| 122 | - (F := fun (τ : ℝ) (z : X × Plane) => J ((τ, z.1), z.2)) (s := Ico 0 T) hK hjoint | |
| 123 | - (show (0 : ℝ) ∈ Ico 0 T from ⟨le_rfl, hT⟩) | |
| 124 | - have hlim' : TendstoUniformlyOn (fun τ z => J ((τ, z.1), z.2)) | |
| 125 | - (fun z => J ((0, z.1), z.2)) (𝓝[Ioo 0 T] (0 : ℝ)) K := | |
| 126 | - fun u hu => (hlim u hu).filter_mono (nhdsWithin_mono _ Ioo_subset_Ico_self) | |
| 127 | - rw [← nhdsWithin_Ioo_eq_nhdsGT hT] | |
| 128 | - apply hlim'.congr | |
| 129 | - filter_upwards [self_mem_nhdsWithin] with τ hτ z hz | |
| 130 | - have hpoint : ((τ, z.1), z.2) ∈ (Ioo 0 T ×ˢ W) ×ˢ (univ : Set Plane) := | |
| 131 | - ⟨⟨hτ, (hKW hz).1⟩, mem_univ _⟩ | |
| 132 | - have hsub : (Ioo 0 T ×ˢ W) ×ˢ (univ : Set Plane) ⊆ S := | |
| 133 | - Set.prod_mono (Set.prod_mono Ioo_subset_Ico_self Subset.rfl) Subset.rfl | |
| 134 | - exact iteratedFDerivWithin_eq_iteratedFDeriv hS | |
| 135 | - (((hF.mono hsub).contDiffAt (((isOpen_Ioo.prod hW).prod isOpen_univ).mem_nhds hpoint)).of_le | |
| 136 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl n)) (hsub hpoint) | |
| 137 | - | |
| 138 | -/-- The uniform one-sided endpoint clause for the actual common-torus | |
| 139 | -particular inverse, including pressure and every fixed mixed derivative. -/ | |
| 140 | -theorem commonCoefficients_uniform_endpoint_jets | |
| 141 | - (t : TangentData (ℝ × X) ProblemStatement.Space) | |
| 142 | - (f : (ℝ × X) × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 143 | - {a b T : ℝ} (hab : a ≤ b) (hT : 0 < T) | |
| 144 | - {W : Set X} (hW : IsOpen W) (hcW : Convex ℝ W) | |
| 145 | - (hN : ContDiffOn ℝ ∞ t.normal ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 146 | - (hNd : ContDiffOn ℝ ∞ t.normalDot ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 147 | - (hK : ContDiffOn ℝ ∞ t.action ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 148 | - (hδ : ContDiffOn ℝ ∞ t.damping ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 149 | - (hf : ContDiffOn ℝ ∞ f ((Ico 0 T ×ˢ W) ×ˢ univ)) | |
| 150 | - (hn : ∀ x ∈ (Ico 0 T ×ˢ W) ×ˢ univ, t.normal x ≠ 0) | |
| 151 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 152 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) | |
| 153 | - {C : Set (X × Plane)} (hC : IsCompact C) (hCW : C ⊆ W ×ˢ univ) (n : ℕ) : | |
| 154 | - TendstoUniformlyOn | |
| 155 | - (fun τ z => iteratedFDeriv ℝ n (commonVelocity t f g hab κ) ((τ, z.1), z.2)) | |
| 156 | - (fun z => iteratedFDerivWithin ℝ n (commonVelocity t f g hab κ) | |
| 157 | - ((Ico 0 T ×ˢ W) ×ˢ univ) ((0, z.1), z.2)) (𝓝[>] (0 : ℝ)) C ∧ | |
| 158 | - TendstoUniformlyOn | |
| 159 | - (fun τ z => iteratedFDeriv ℝ n (commonPressure t f g hab κ frequency) ((τ, z.1), z.2)) | |
| 160 | - (fun z => iteratedFDerivWithin ℝ n (commonPressure t f g hab κ frequency) | |
| 161 | - ((Ico 0 T ×ˢ W) ×ˢ univ) ((0, z.1), z.2)) (𝓝[>] (0 : ℝ)) C := by | |
| 162 | - obtain ⟨hv, hp⟩ := commonCoefficients_local_oneSided t f g hab hW hcW hN hNd hK hδ hf hn | |
| 163 | - hκ hcκ hsupp frequency | |
| 164 | - exact ⟨uniform_endpoint_jets hT hW hv hC hCW n, uniform_endpoint_jets hT hW hp hC hCW n⟩ | |
| 165 | - | |
| 166 | 47 | /-- The paper's actual complex common-torus inverse, for arbitrary source |
| 167 | 48 | coefficients with one-sided slow regularity at τ=0. Primitive geometry and |
| 168 | 49 | source are the only smoothness inputs. -/ |
| @@ -182,44 +63,6 @@ theorem commonCoefficients_oneSided (t : TangentData (ℝ × X) ProblemStatement | ||
| 182 | 63 | commonCoefficients_contDiffOn_within t f g hab (slowDomain_convex hcW) |
| 183 | 64 | (slowDomain_uniqueDiff hW) hN hNd hK hδ hf hn hκ hcκ hsupp frequency |
| 184 | 65 | |
| 185 | -/-- Each actual interior joint derivative tends to its one-sided endpoint | |
| 186 | -jet, for velocity and pressure simultaneously. -/ | |
| 187 | -theorem commonCoefficients_endpoint_jets (t : TangentData (ℝ × X) ProblemStatement.Space) | |
| 188 | - (f : (ℝ × X) × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 189 | - {a b : ℝ} (hab : a ≤ b) {W : Set X} (hW : IsOpen W) (hcW : Convex ℝ W) | |
| 190 | - (hN : ContDiffOn ℝ ∞ t.normal (slowDomain W ×ˢ univ)) | |
| 191 | - (hNd : ContDiffOn ℝ ∞ t.normalDot (slowDomain W ×ˢ univ)) | |
| 192 | - (hK : ContDiffOn ℝ ∞ t.action (slowDomain W ×ˢ univ)) | |
| 193 | - (hδ : ContDiffOn ℝ ∞ t.damping (slowDomain W ×ˢ univ)) | |
| 194 | - (hf : ContDiffOn ℝ ∞ f (slowDomain W ×ˢ univ)) | |
| 195 | - (hn : ∀ x ∈ slowDomain W ×ˢ univ, t.normal x ≠ 0) | |
| 196 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 197 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) | |
| 198 | - {x : X} (hx : x ∈ W) (Y : Plane) (n : ℕ) : | |
| 199 | - Tendsto (iteratedFDeriv ℝ n (commonVelocity t f g hab κ)) | |
| 200 | - (𝓝[positiveDomain W ×ˢ univ] ((0, x), Y)) | |
| 201 | - (𝓝 (iteratedFDerivWithin ℝ n (commonVelocity t f g hab κ) | |
| 202 | - (slowDomain W ×ˢ univ) ((0, x), Y))) ∧ | |
| 203 | - Tendsto (iteratedFDeriv ℝ n (commonPressure t f g hab κ frequency)) | |
| 204 | - (𝓝[positiveDomain W ×ˢ univ] ((0, x), Y)) | |
| 205 | - (𝓝 (iteratedFDerivWithin ℝ n (commonPressure t f g hab κ frequency) | |
| 206 | - (slowDomain W ×ˢ univ) ((0, x), Y))) := by | |
| 207 | - obtain ⟨hv, hp⟩ := commonCoefficients_oneSided t f g hab hW hcW hN hNd hK hδ hf hn | |
| 208 | - hκ hcκ hsupp frequency | |
| 209 | - have hOS : positiveDomain W ×ˢ (univ : Set Plane) ⊆ slowDomain W ×ˢ univ := by | |
| 210 | - intro z hz | |
| 211 | - have ht : 0 < z.1.1 := hz.1.1 | |
| 212 | - exact ⟨⟨ht.le, hz.1.2⟩, hz.2⟩ | |
| 213 | - have he : (((0 : ℝ), x), Y) ∈ slowDomain W ×ˢ (univ : Set Plane) := by | |
| 214 | - change (0 ≤ (0 : ℝ) ∧ x ∈ W) ∧ Y ∈ (univ : Set Plane) | |
| 215 | - exact ⟨⟨le_rfl, hx⟩, mem_univ _⟩ | |
| 216 | - exact ⟨WithinJetClosure.tendsto_iteratedFDeriv | |
| 217 | - ((slowDomain_uniqueDiff hW).prod uniqueDiffOn_univ) | |
| 218 | - ((isOpen_Ioi.prod hW).prod isOpen_univ) hOS hv n he, | |
| 219 | - WithinJetClosure.tendsto_iteratedFDeriv | |
| 220 | - ((slowDomain_uniqueDiff hW).prod uniqueDiffOn_univ) | |
| 221 | - ((isOpen_Ioi.prod hW).prod isOpen_univ) hOS hp n he⟩ | |
| 222 | - | |
| 223 | 66 | end CommonTorus |
| 224 | 67 | |
| 225 | 68 | end NavierStokes.ParticularOneSided |
+0 −4 NavierStokes/ParticularPaddedBackground.lean View file
| @@ -29,10 +29,6 @@ noncomputable def paddedCell (n : ℕ) (i : CopyIndex B N0) : Set ActualPrimary. | ||
| 29 | 29 | noncomputable def cells (n : ℕ) (i : CopyIndex B N0) : Set ActualParticularBackground.Native := |
| 30 | 30 | ActualParticularBackground.nativeToFull ⁻¹' paddedCell n i |
| 31 | 31 | |
| 32 | -theorem primary_control_subset_padded (n : ℕ) (i : CopyIndex B N0) : | |
| 33 | - controlCell n i ⊆ paddedCell n i := | |
| 34 | - fun _ hx => ⟨hx.1, hx.2.1, hx.2.2.1⟩ | |
| 35 | - | |
| 36 | 32 | theorem padded_q (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 37 | 33 | {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} |
| 38 | 34 | (hc : x ∈ paddedCell n i) : |
+0 −263 NavierStokes/ParticularWaveAssembly.lean View file
| @@ -88,12 +88,6 @@ theorem residualSource_zero {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D | ||
| 88 | 88 | funext i |
| 89 | 89 | simp only [residualSource, HarmonicResidual.residualBlock_zero_mode, Pi.zero_apply] |
| 90 | 90 | |
| 91 | -theorem residualSource_conjugate {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 92 | - (c : Context D) (u : State D) (b : HarmonicBlock D) | |
| 93 | - (G A : HarmonicResidual.BlockCoefficients D) (j : ℤ) (n : ℕ) (x : D) (i : Fin 3) : | |
| 94 | - residualSource c u b G A (-j) n x i = conj (residualSource c u b G A j n x i) := | |
| 95 | - HarmonicResidual.residualBlock_conjugate c u b G A n i j x | |
| 96 | - | |
| 97 | 91 | /-- A pair at the original label's carrier, for both velocity and pressure. -/ |
| 98 | 92 | noncomputable def modeBlock {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) |
| 99 | 93 | (kp : ℕ → ℤ) (v : ℕ → D → ComplexVector) (p : ℕ → D → ℂ) : HarmonicBlock D where |
| @@ -219,18 +213,6 @@ theorem copySolve_transport (t : TangentData P H) (φ : Q → P) | ||
| 219 | 213 | rw [transportTangent_linearData, CopySolveCompatibility.copySolve_scaleSource, |
| 220 | 214 | CopySolveCompatibility.copySolve_transform] |
| 221 | 215 | |
| 222 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 223 | -/-- All transported views equal a pullback of one actual common-cover | |
| 224 | -Volterra output; no chartwise output is supplied as a hypothesis. -/ | |
| 225 | -theorem commonSolve_transport (t : TangentData P H) (φ : Q → P) | |
| 226 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) (amplitude : ℝ) | |
| 227 | - (κ : Plane → ℝ) (q : Q) (Y : Plane) : | |
| 228 | - (transportTangent t φ gap amplitude).linearData.commonSolve | |
| 229 | - (CopySolveCompatibility.refineGeometry g gap) hab κ (q, Y) = | |
| 230 | - amplitude • t.linearData.commonSolve g hab κ (φ q, coverPower gap Y) := by | |
| 231 | - rw [transportTangent_linearData, CopySolveCompatibility.commonSolve_scaleSource, | |
| 232 | - CopySolveCompatibility.commonSolve_transform] | |
| 233 | - | |
| 234 | 216 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 235 | 217 | theorem copyPressureReal_transport (t : TangentData P H) (φ : Q → P) |
| 236 | 218 | (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) (amplitude : ℝ) |
| @@ -320,29 +302,6 @@ theorem assembledBlock_classes {D : Type} [NormedAddCommGroup D] [NormedSpace | ||
| 320 | 302 | rw [he] |
| 321 | 303 | exact hh |
| 322 | 304 | |
| 323 | -theorem assembledBlock_mean_zero {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 324 | - (N : ℕ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 325 | - (v : ℤ → ℕ → D → ComplexVector) (p : ℤ → ℕ → D → ℂ) | |
| 326 | - (hkp : ∀ n, kp n ≠ 0) : | |
| 327 | - (∀ i, angularAverage (fun n x => (assembledBlock N k Φ kp v p).oscillation n x i) = 0) ∧ | |
| 328 | - angularAverage (assembledBlock N k Φ kp v p).oscillatoryPressure = 0 := by | |
| 329 | - constructor | |
| 330 | - · intro i | |
| 331 | - funext n x | |
| 332 | - change (∫ θ in (0 : ℝ)..2 * Real.pi, | |
| 333 | - (field ((assembledBlock N k Φ kp v p).velocity n i) (k n) (Φ n) (kp n) (x,θ)).re) / | |
| 334 | - (2 * Real.pi) = 0 | |
| 335 | - rw [SignedWaveUpdate.angularAverage_re_field, angularMean_field _ _ _ (hkp n), | |
| 336 | - (assembledBlock_zero N k Φ kp v p).1 n i] | |
| 337 | - rfl | |
| 338 | - · funext n x | |
| 339 | - change (∫ θ in (0 : ℝ)..2 * Real.pi, | |
| 340 | - (field ((assembledBlock N k Φ kp v p).pressure n) (k n) (Φ n) (kp n) (x,θ)).re) / | |
| 341 | - (2 * Real.pi) = 0 | |
| 342 | - rw [SignedWaveUpdate.angularAverage_re_field, angularMean_field _ _ _ (hkp n), | |
| 343 | - (assembledBlock_zero N k Φ kp v p).2 n] | |
| 344 | - rfl | |
| 345 | - | |
| 346 | 305 | noncomputable def fullModeBlock {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) |
| 347 | 306 | (kp : ℕ → ℤ) (a : LinearWaveBounds.WaveCoefficients (D × ℝ)) : HarmonicBlock D := |
| 348 | 307 | modeBlock j k Φ kp (fun n x => a.amplitude n (x,0)) (fun n x => a.pressure n (x,0)) |
| @@ -376,15 +335,6 @@ theorem fullModeBlock_represents {D : Type} [NormedAddCommGroup D] [NormedSpace | ||
| 376 | 335 | rw [field_conjugatePair, Complex.ofReal_re, hc] |
| 377 | 336 | simp only [mode, hp n x.1 x.2] |
| 378 | 337 | |
| 379 | -theorem fullModeBlock_classes {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 380 | - {s : StripData (D × ℝ)} {W : ℕ → D × ℝ → ℝ} {α γ : ℝ} | |
| 381 | - (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 382 | - (a : LinearWaveBounds.WaveCoefficients (D × ℝ)) | |
| 383 | - (ha : WaveClass s W α a.amplitude) (hp : WaveClass s W γ a.pressure) : | |
| 384 | - (fullModeBlock j k Φ kp a).WaveBounds (SignedWaveUpdate.sectionStrip s) (fun n x => W n (x,0)) α ∧ | |
| 385 | - (fullModeBlock j k Φ kp a).PressureBounds (SignedWaveUpdate.sectionStrip s) (fun n x => W n (x,0)) γ := | |
| 386 | - modeBlock_classes j k Φ kp (SignedWaveUpdate.class_zeroSection ha) (SignedWaveUpdate.class_zeroSection hp) | |
| 387 | - | |
| 388 | 338 | /-! ## Complex reference transport, including pressure -/ |
| 389 | 339 | |
| 390 | 340 | section ComplexTransport |
| @@ -454,18 +404,6 @@ theorem complexCopyPressure_transport (t : TangentData P ProblemStatement.Space) | ||
| 454 | 404 | copyPressure_transport _ _ _ _ _ _ _ _ hreference hfrequency, smul_add, Complex.real_smul] |
| 455 | 405 | ring |
| 456 | 406 | |
| 457 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 458 | -theorem periodizedCopies_transport {H : Type} [NormedAddCommGroup H] [NormedSpace ℝ H] | |
| 459 | - [CompleteSpace H] (g : Geometry) (κ : Plane → ℝ) | |
| 460 | - (F : Frequency → P × Plane → H) (φ : Q → P) (gap : ℕ) (amplitude : ℝ) | |
| 461 | - (q : Q) (Y : Plane) : | |
| 462 | - periodizedCopies (CopySolveCompatibility.refineGeometry g gap) κ | |
| 463 | - (fun k q => amplitude • F k (φ q.1, coverPower gap q.2)) (q,Y) = | |
| 464 | - amplitude • periodizedCopies g κ F (φ q, coverPower gap Y) := by | |
| 465 | - unfold periodizedCopies | |
| 466 | - simp only [CopySolveCompatibility.coordinates_refine, smul_comm _ amplitude] | |
| 467 | - exact tsum_const_smul'' amplitude | |
| 468 | - | |
| 469 | 407 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 470 | 408 | theorem commonVelocity_transport (t : TangentData P ProblemStatement.Space) |
| 471 | 409 | (f : P × Plane → ComplexVector) (φ : Q → P) |
| @@ -588,24 +526,6 @@ theorem actualBandPressure_eq_reference (r : Reference P) (charts : BandCharts P | ||
| 588 | 526 | field_simp [hjr, hfrequency n] |
| 589 | 527 | rw [he] |
| 590 | 528 | |
| 591 | -theorem referenceVelocity_finite (r : Reference P) | |
| 592 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 593 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (p : P × Plane) : | |
| 594 | - ∃ I : Finset Frequency, referenceVelocity r c u b G A j p = ∑ k ∈ I, | |
| 595 | - r.cutoff (r.geometry.coordinates k p.2) • | |
| 596 | - complexCopyVelocity (r.tangent j) (residualSource c u b G A j r.band) | |
| 597 | - r.geometry r.length_pos.le k p := | |
| 598 | - periodizedCopies_eq_finite_sum r.geometry r.cutoff_compact _ p | |
| 599 | - | |
| 600 | -theorem referencePressure_finite (r : Reference P) | |
| 601 | - (c : Context (P × Plane)) (u : State (P × Plane)) (b : HarmonicBlock (P × Plane)) | |
| 602 | - (G A : HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (p : P × Plane) : | |
| 603 | - ∃ I : Finset Frequency, referencePressure r c u b G A j p = ∑ k ∈ I, | |
| 604 | - r.cutoff (r.geometry.coordinates k p.2) • | |
| 605 | - complexCopyPressure (r.tangent j) (residualSource c u b G A j r.band) | |
| 606 | - r.geometry r.length_pos.le k ((j : ℝ) * b.frequency r.band) p := | |
| 607 | - periodizedCopies_eq_finite_sum r.geometry r.cutoff_compact _ p | |
| 608 | - | |
| 609 | 529 | end FixedReference |
| 610 | 530 | |
| 611 | 531 | /-! ## Angular invariance is inherited by the actual complex solve -/ |
| @@ -639,25 +559,6 @@ theorem complexCopyPressure_invariant {θ : P} {t : TangentData P ProblemStateme | ||
| 639 | 559 | exact (hr.copyPressure_invariant g hab k frequency).map₂ |
| 640 | 560 | (hi.copyPressure_invariant g hab k frequency) (fun v w => v + Complex.I * w) |
| 641 | 561 | |
| 642 | -theorem commonVelocity_invariant {θ : P} {t : TangentData P ProblemStatement.Space} | |
| 643 | - {source : P × Plane → ComplexVector} (ht : TangentInvariant θ t) | |
| 644 | - (hs : Invariant (θ, (0 : Plane)) source) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 645 | - (κ : Plane → ℝ) : Invariant (θ, (0 : Plane)) (ParticularWaveBounds.commonVelocity t source g hab κ) := by | |
| 646 | - apply Invariant.tsum_invariant | |
| 647 | - intro k | |
| 648 | - exact (nativeCutoff_invariant θ g κ k).map₂ | |
| 649 | - (complexCopyVelocity_invariant ht hs g hab k) (fun r v => r • v) | |
| 650 | - | |
| 651 | -theorem commonPressure_invariant {θ : P} {t : TangentData P ProblemStatement.Space} | |
| 652 | - {source : P × Plane → ComplexVector} (ht : TangentInvariant θ t) | |
| 653 | - (hs : Invariant (θ, (0 : Plane)) source) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 654 | - (κ : Plane → ℝ) (frequency : ℝ) : | |
| 655 | - Invariant (θ, (0 : Plane)) (ParticularWaveBounds.commonPressure t source g hab κ frequency) := by | |
| 656 | - apply Invariant.tsum_invariant | |
| 657 | - intro k | |
| 658 | - exact (nativeCutoff_invariant θ g κ k).map₂ | |
| 659 | - (complexCopyPressure_invariant ht hs g hab k frequency) (fun r v => r • v) | |
| 660 | - | |
| 661 | 562 | noncomputable def angleLift {E : Type} (f : P × Plane → E) : (P × ℝ) × Plane → E := |
| 662 | 563 | fun z => f (z.1.1, z.2) |
| 663 | 564 | |
| @@ -693,9 +594,6 @@ noncomputable def angleShuffle : ((P × Plane) × ℝ) ≃ₗᵢ[ℝ] ((P × ℝ | ||
| 693 | 594 | change max (max ‖p‖ ‖θ‖) ‖Y‖ = max (max ‖p‖ ‖Y‖) ‖θ‖ |
| 694 | 595 | ac_rfl |
| 695 | 596 | |
| 696 | -theorem angleShuffle_apply (x : P × Plane) (θ : ℝ) : | |
| 697 | - angleShuffle (x,θ) = ((x.1,θ),x.2) := rfl | |
| 698 | - | |
| 699 | 597 | theorem invariant_angleShuffle {E : Type} {f : (P × ℝ) × Plane → E} |
| 700 | 598 | (hf : Invariant (((0 : P), (1 : ℝ)), (0 : Plane)) f) (x : P × Plane) (θ : ℝ) : |
| 701 | 599 | f (angleShuffle (x,θ)) = f (angleShuffle (x,0)) := by |
| @@ -850,19 +748,6 @@ theorem periodizedCopies_germ (g : Geometry) (κ : Plane → ℝ) | ||
| 850 | 748 | filter_upwards [hc.continuousAt.preimage_mem_nhds (hΩ.mem_nhds hp)] with q hq |
| 851 | 749 | exact periodizedCopies_eq_weighted_single g κ F hinj hsupp k q hq |
| 852 | 750 | |
| 853 | -omit [CompleteSpace H] in | |
| 854 | -theorem periodizedCopies_jets (g : Geometry) (κ : Plane → ℝ) | |
| 855 | - (F : Frequency → P × Plane → H) {Ω : Set Plane} (hΩ : IsOpen Ω) | |
| 856 | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' Ω)) | |
| 857 | - (hsupp : Function.support κ ⊆ Ω) (k : Frequency) (p : P × Plane) | |
| 858 | - (hp : g.coordinates k p.2 ∈ Ω) (m : ℕ) : | |
| 859 | - iteratedFDeriv ℝ m (periodizedCopies g κ F) p = | |
| 860 | - iteratedFDeriv ℝ m (fun q => κ (g.coordinates k q.2) • F k q) p := by | |
| 861 | - have he := periodizedCopies_germ g κ F hΩ hinj hsupp k p hp | |
| 862 | - have hw : periodizedCopies g κ F =ᶠ[𝓝[univ] p] | |
| 863 | - (fun q => κ (g.coordinates k q.2) • F k q) := by simpa only [nhdsWithin_univ] using he | |
| 864 | - simpa only [iteratedFDerivWithin_univ] using hw.iteratedFDerivWithin_eq he.self_of_nhds m | |
| 865 | - | |
| 866 | 751 | end NativeLocalization |
| 867 | 752 | |
| 868 | 753 | /-! ## The forced coefficients from the literal residual source -/ |
| @@ -1336,14 +1221,6 @@ theorem nativeSlice_waveClass {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ | ||
| 1336 | 1221 | WaveClass (sectionStrip s) (fun n x => W n (angleShuffle (x,0))) α |
| 1337 | 1222 | (fun n x => f n (angleShuffle (x,0))) := nativeSlice_class hf |
| 1338 | 1223 | |
| 1339 | -theorem nativeModeBlock_classes {s : StripData ((P × ℝ) × Plane)} | |
| 1340 | - {W : ℕ → (P × ℝ) × Plane → ℝ} {α γ : ℝ} | |
| 1341 | - (j : ℤ) (b : HarmonicBlock (P × Plane)) (a : WaveCoefficients ((P × ℝ) × Plane)) | |
| 1342 | - (ha : WaveClass s W α a.amplitude) (hp : WaveClass s W γ a.pressure) : | |
| 1343 | - (nativeModeBlock j b a).WaveBounds (sectionStrip s) (fun n x => W n (angleShuffle (x,0))) α ∧ | |
| 1344 | - (nativeModeBlock j b a).PressureBounds (sectionStrip s) (fun n x => W n (angleShuffle (x,0))) γ := | |
| 1345 | - modeBlock_classes j b.frequency b.phase b.angularFrequency (nativeSlice_waveClass ha) (nativeSlice_waveClass hp) | |
| 1346 | - | |
| 1347 | 1224 | theorem nativeModeBlock_represents (j : ℤ) (b : HarmonicBlock (P × Plane)) |
| 1348 | 1225 | (a : WaveCoefficients ((P × ℝ) × Plane)) |
| 1349 | 1226 | (ha : ∀ n, Invariant (((0 : P), (1 : ℝ)), (0 : Plane)) (a.amplitude n)) |
| @@ -1544,12 +1421,6 @@ theorem local_result : | ||
| 1544 | 1421 | C.normal_lower C.normal_upper C.inverse_frequency C.geometry C.frequency_nonzero |
| 1545 | 1422 | C.loss_le_half C.slot.cutoff C.slot.cutoff_memClass C.radius_eq C.exact_conditions |
| 1546 | 1423 | |
| 1547 | -theorem gaussian_flat (β : ℝ) : UnweightedClass s β | |
| 1548 | - (excludedSlotError dirs C.slot.cutoff | |
| 1549 | - (actualCopyCoefficients r charts c u b G A j base copy).amplitude (sourceFamily c u b G A j)) := | |
| 1550 | - LinearWaveBounds.excludedSlotError_all_gains C.slot dirs C.slot_fast C.flat_edges C.band_scales | |
| 1551 | - C.local_result.1 C.source_bounds C.gaussian_rate_pos C.gaussian_envelope β | |
| 1552 | - | |
| 1553 | 1424 | theorem raw_tangent : ∀ n x, x ∈ s.domain → |
| 1554 | 1425 | normalDot ((actualCarrier base b j).normal s dirs n x) |
| 1555 | 1426 | ((actualCopyCoefficients r charts c u b G A j base copy).amplitude n x) = 0 := |
| @@ -1562,14 +1433,6 @@ theorem normal_nonzero (n : ℕ) (x : (P × ℝ) × Plane) (hx : x ∈ s.domain) | ||
| 1562 | 1433 | rw [C.geometry.normal n x hx] |
| 1563 | 1434 | exact norm_pos_iff.mp (C.normal_min_pos.trans_le (C.normal_lower n x hx)) |
| 1564 | 1435 | |
| 1565 | -theorem exact_curl (n : ℕ) {x : (P × ℝ) × Plane} (hx : x ∈ s.domain) : | |
| 1566 | - let a := actualCopyCoefficients r charts c u b G A j base copy | |
| 1567 | - CurlClassBounds.cylindricalCurl (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) | |
| 1568 | - (dirs.axialField s n) ((a.withCutoff C.slot.cutoff).curlPotential s dirs n) x = | |
| 1569 | - vectorMode (a.frequency n) (a.phase n) ((a.corrected s dirs C.slot.cutoff).amplitude n) x := by | |
| 1570 | - exact corrected_realizes_curl C.raw_bounds C.slot.cutoff_memClass n (C.background.cylindrical n) | |
| 1571 | - (C.frequency_nonzero n) (C.background.phase_smooth n) (C.normal_nonzero n) (C.raw_tangent n) hx | |
| 1572 | - | |
| 1573 | 1436 | theorem divergence_zero (n : ℕ) {x : (P × ℝ) × Plane} (hx : x ∈ s.domain) : |
| 1574 | 1437 | let a := actualCopyCoefficients r charts c u b G A j base copy |
| 1575 | 1438 | cylindricalDivergence (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) |
| @@ -1787,27 +1650,9 @@ noncomputable def gaussianBlock {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) | ||
| 1787 | 1650 | assembledBlock N D.carrierBlock.frequency D.carrierBlock.phase D.carrierBlock.angularFrequency |
| 1788 | 1651 | (fun j n x => D.gaussianFamily C j n (angleShuffle (x,0))) (fun _ _ _ => 0) |
| 1789 | 1652 | |
| 1790 | -theorem update_band (N : ℕ) : (D.updateBlock N).BandLimited N := assembledBlock_band _ _ _ _ _ _ | |
| 1791 | -theorem update_real (N : ℕ) : ErrorHarmonics.RealBlock (D.updateBlock N) := assembledBlock_real _ _ _ _ _ _ | |
| 1792 | 1653 | |
| 1793 | 1654 | variable {D} {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 1794 | 1655 | |
| 1795 | -theorem good_band : (D.goodBlock C).BandLimited N := assembledBlock_band _ _ _ _ _ _ | |
| 1796 | -theorem gaussian_band : (D.gaussianBlock C).BandLimited N := assembledBlock_band _ _ _ _ _ _ | |
| 1797 | -theorem good_real : ErrorHarmonics.RealBlock (D.goodBlock C) := assembledBlock_real _ _ _ _ _ _ | |
| 1798 | -theorem gaussian_real : ErrorHarmonics.RealBlock (D.gaussianBlock C) := assembledBlock_real _ _ _ _ _ _ | |
| 1799 | - | |
| 1800 | -theorem error_mean_zero (hkp : ∀ n, D.carrierBlock.angularFrequency n ≠ 0) : | |
| 1801 | - ((∀ i, angularAverage (fun n x => (D.goodBlock C).oscillation n x i) = 0) ∧ | |
| 1802 | - angularAverage (D.goodBlock C).oscillatoryPressure = 0) ∧ | |
| 1803 | - ((∀ i, angularAverage (fun n x => (D.gaussianBlock C).oscillation n x i) = 0) ∧ | |
| 1804 | - angularAverage (D.gaussianBlock C).oscillatoryPressure = 0) := | |
| 1805 | - ⟨assembledBlock_mean_zero _ _ _ _ _ _ hkp, assembledBlock_mean_zero _ _ _ _ _ _ hkp⟩ | |
| 1806 | - | |
| 1807 | -theorem update_mean_zero (hkp : ∀ n, D.carrierBlock.angularFrequency n ≠ 0) : | |
| 1808 | - (∀ i, angularAverage (fun n x => (D.updateBlock N).oscillation n x i) = 0) ∧ | |
| 1809 | - angularAverage (D.updateBlock N).oscillatoryPressure = 0 := | |
| 1810 | - assembledBlock_mean_zero _ _ _ _ _ _ hkp | |
| 1811 | 1656 | |
| 1812 | 1657 | include C in |
| 1813 | 1658 | theorem update_represents : |
| @@ -1831,63 +1676,6 @@ theorem update_represents : | ||
| 1831 | 1676 | (fun n x => (D.wave j).amplitude n (angleShuffle (x,0))) |
| 1832 | 1677 | (fun n x => (D.wave j).pressure n (angleShuffle (x,0))) n x).symm.trans he |
| 1833 | 1678 | |
| 1834 | -theorem update_classes (W : ℕ → (P × ℝ) × Plane → ℝ) | |
| 1835 | - (hW : ∀ n x, x ∈ D.strip.domain → 0 ≤ W n x) | |
| 1836 | - (hCW : ∀ j hj n x, x ∈ D.strip.domain → (C j hj).weight n x ≤ W n x) : | |
| 1837 | - (D.updateBlock N).WaveBounds (sectionStrip D.strip) (fun n x => W n (angleShuffle (x,0))) α ∧ | |
| 1838 | - (D.updateBlock N).PressureBounds (sectionStrip D.strip) (fun n x => W n (angleShuffle (x,0))) (α + 1 / 2) := by | |
| 1839 | - have hw : ∀ n x, x ∈ D.strip.domain → 0 ≤ Real.sqrt (D.strip.zeta x) * W n x := | |
| 1840 | - fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n x hx) | |
| 1841 | - apply assembledBlock_classes | |
| 1842 | - · intro n x hx | |
| 1843 | - exact hW n _ hx | |
| 1844 | - · intro j hj | |
| 1845 | - apply nativeSlice_waveClass | |
| 1846 | - exact (C j hj).common_classes.1.mono_weight hw | |
| 1847 | - (fun n x hx => mul_le_mul_of_nonneg_left (hCW j hj n x hx) (Real.sqrt_nonneg _)) | |
| 1848 | - · intro j hj | |
| 1849 | - apply nativeSlice_waveClass | |
| 1850 | - exact (C j hj).common_classes.2.mono_weight hw | |
| 1851 | - (fun n x hx => mul_le_mul_of_nonneg_left (hCW j hj n x hx) (Real.sqrt_nonneg _)) | |
| 1852 | - | |
| 1853 | -theorem good_classes (W : ℕ → (P × ℝ) × Plane → ℝ) | |
| 1854 | - (hW : ∀ n x, x ∈ D.strip.domain → 0 ≤ W n x) | |
| 1855 | - (hCW : ∀ j hj n x, x ∈ D.strip.domain → (C j hj).weight n x ≤ W n x) : | |
| 1856 | - (D.goodBlock C).WaveBounds (sectionStrip D.strip) (fun n x => W n (angleShuffle (x,0))) | |
| 1857 | - (α + 1 / 2 - 3 * κ) := by | |
| 1858 | - have hw : ∀ n x, x ∈ D.strip.domain → 0 ≤ Real.sqrt (D.strip.zeta x) * W n x := | |
| 1859 | - fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n x hx) | |
| 1860 | - have hh := assembledBlock_classes (s := sectionStrip D.strip) | |
| 1861 | - (α := α + 1 / 2 - 3 * κ) (γ := (0 : ℝ)) | |
| 1862 | - N D.carrierBlock.frequency D.carrierBlock.phase D.carrierBlock.angularFrequency | |
| 1863 | - (v := fun j n x => D.goodFamily C j n (angleShuffle (x,0))) (p := fun _ _ _ => 0) | |
| 1864 | - (fun n x hx => hW n _ hx) ?_ ?_ | |
| 1865 | - · exact hh.1 | |
| 1866 | - · intro j hj | |
| 1867 | - simp only [goodFamily, dite_eq_left hj] | |
| 1868 | - apply nativeSlice_waveClass | |
| 1869 | - exact (C j hj).local_result.2.2.2.1.mono_weight hw | |
| 1870 | - (fun n x hx => mul_le_mul_of_nonneg_left (hCW j hj n x hx) (Real.sqrt_nonneg _)) | |
| 1871 | - · intro j hj | |
| 1872 | - exact MemClass.zero (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n _ hx)) | |
| 1873 | - | |
| 1874 | -theorem gaussian_classes (β : ℝ) (i : Fin 3) (m : ℤ) : | |
| 1875 | - UnweightedClass (sectionStrip D.strip) β (fun n x => (D.gaussianBlock C).velocity n i m x) := by | |
| 1876 | - have hj (j : ℤ) (h : j ∈ modes N) : UnweightedClass (sectionStrip D.strip) β | |
| 1877 | - (fun n x => ErrorHarmonics.conjugatePair j | |
| 1878 | - (fun x => D.gaussianFamily C j n (angleShuffle (x,0)) i) m x) := by | |
| 1879 | - simp only [gaussianFamily, dite_eq_left h] | |
| 1880 | - exact pair_class (CurlClassBounds.class_component (nativeSlice_class ((C j h).gaussian_flat β)) i) j m | |
| 1881 | - have hh := MemClass.sum (modes N) | |
| 1882 | - (fun j n x => ErrorHarmonics.conjugatePair j | |
| 1883 | - (fun x => D.gaussianFamily C j n (angleShuffle (x,0)) i) m x) | |
| 1884 | - (fun _ _ _ => (zero_le_one : (0 : ℝ) ≤ 1)) hj | |
| 1885 | - apply LinearWaveBounds.class_congr hh | |
| 1886 | - intro n x hx | |
| 1887 | - change _ = (∑ j ∈ modes N, ErrorHarmonics.conjugatePair j | |
| 1888 | - (fun x => D.gaussianFamily C j n (angleShuffle (x,0)) i)) m x | |
| 1889 | - rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply, Finset.sum_apply] | |
| 1890 | - | |
| 1891 | 1679 | theorem cancellation_sum |
| 1892 | 1680 | (hN : (HarmonicResidual.residualBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput).BandLimited N) |
| 1893 | 1681 | (n : ℕ) (x : (P × Plane) × ℝ) (hx : angleShuffle x ∈ D.strip.domain) : |
| @@ -1957,57 +1745,6 @@ theorem pressure_smooth (j : ℤ) (hj : j ∈ modes N) (n : ℕ) : | ||
| 1957 | 1745 | HarmonicCalculus.contDiffOn_mode _ ((C j hj).background.phase_smooth n) |
| 1958 | 1746 | ((C j hj).common_classes.2.smooth n) |
| 1959 | 1747 | |
| 1960 | -theorem divergence_zero (n : ℕ) {x : (P × ℝ) × Plane} (hx : x ∈ D.strip.domain) : | |
| 1961 | - cylindricalDivergence (D.background.radius n) (D.directions.radialField n) | |
| 1962 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip n) | |
| 1963 | - (fun y i => (D.velocity N n y i : ℂ)) x = 0 := by | |
| 1964 | - apply real_divergence_sum_zero (modes N) | |
| 1965 | - · intro j hj i | |
| 1966 | - exact ((D.wave_smooth C j hj n i).contDiffAt (D.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 1967 | - · intro j hj | |
| 1968 | - exact (C j hj).common_divergence_zero n hx | |
| 1969 | - | |
| 1970 | -/-- One actual real field cancels the current grouped residual, with the | |
| 1971 | -computed good field and both Gaussian tails retained on the right. -/ | |
| 1972 | -theorem real_cancellation (hpos : 0 < N) | |
| 1973 | - (hN : (HarmonicResidual.residualBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput).BandLimited N) | |
| 1974 | - (n : ℕ) (x : (P × Plane) × ℝ) (hx : angleShuffle x ∈ D.strip.domain) : | |
| 1975 | - LinearWaveResidual.realComponentLinearResidual (D.strip.epsilon n) (D.background.radius n) | |
| 1976 | - (D.directions.radialField n) (fun _ => D.directions.angular) (D.directions.axialField D.strip n) | |
| 1977 | - (LinearWaveResidual.timeDirection (D.strip.epsilon n) (D.directions.fastField n) (fun _ => D.directions.slow)) | |
| 1978 | - (LinearWaveResidual.base (D.background.radius n) (D.background.radialBase n) | |
| 1979 | - (D.background.frequencyBase n) (D.background.axialBase n)) | |
| 1980 | - (D.velocity N n) (D.pressure N n) (angleShuffle x) + | |
| 1981 | - (HarmonicResidual.residualBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput).oscillation n x = | |
| 1982 | - (D.goodBlock C).oscillation n x + (D.gaussianBlock C).oscillation n x := by | |
| 1983 | - have h1 : (1 : ℤ) ∈ modes N := by rw [mem_modes]; norm_num; omega | |
| 1984 | - let C0 := C 1 h1 | |
| 1985 | - have hB (i : Fin 3) : DifferentiableAt ℝ (fun y => LinearWaveResidual.base | |
| 1986 | - (D.background.radius n) (D.background.radialBase n) (D.background.frequencyBase n) | |
| 1987 | - (D.background.axialBase n) y i) (angleShuffle x) := | |
| 1988 | - LinearWaveResidual.differentiableAt_base | |
| 1989 | - (((C0.background.cylindrical n).radius_smooth.contDiffAt (D.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) | |
| 1990 | - (((C0.base_bounds.radial_base.smooth n).contDiffAt (D.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) | |
| 1991 | - (((C0.base_bounds.frequency_base.smooth n).contDiffAt (D.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) | |
| 1992 | - (((C0.base_bounds.axial_base.smooth n).contDiffAt (D.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) i | |
| 1993 | - have he := real_linearResidual_sum (modes N) D.strip.isOpen_domain (D.strip.epsilon n) | |
| 1994 | - (D.background.radius n) | |
| 1995 | - (LinearWaveResidual.timeDirection (D.strip.epsilon n) (D.directions.fastField n) (fun _ => D.directions.slow)) | |
| 1996 | - (C0.background.cylindrical n).radial_smooth (C0.background.cylindrical n).angular_smooth | |
| 1997 | - (C0.background.cylindrical n).axial_smooth | |
| 1998 | - (LinearWaveResidual.base (D.background.radius n) (D.background.radialBase n) | |
| 1999 | - (D.background.frequencyBase n) (D.background.axialBase n)) | |
| 2000 | - (fun j => vectorMode ((D.wave j).frequency n) ((D.wave j).phase n) ((D.wave j).amplitude n)) | |
| 2001 | - (fun j => mode ((D.wave j).frequency n) ((D.wave j).phase n) ((D.wave j).pressure n)) | |
| 2002 | - (fun j hj i => D.wave_smooth C j hj n i) (fun j hj => D.pressure_smooth C j hj n) hB hx | |
| 2003 | - calc | |
| 2004 | - _ = (fun i => ∑ j ∈ modes N, | |
| 2005 | - ((D.wave j).harmonicResidual D.strip D.directions n (angleShuffle x) i).re) + | |
| 2006 | - (HarmonicResidual.residualBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput).oscillation n x := | |
| 2007 | - congrArg (fun v => v + (HarmonicResidual.residualBlock D.context D.state D.carrierBlock | |
| 2008 | - D.gaussianInput D.aliasInput).oscillation n x) he | |
| 2009 | - _ = _ := D.cancellation_sum C hN n x hx | |
| 2010 | - | |
| 2011 | 1748 | end AssemblyData |
| 2012 | 1749 | |
| 2013 | 1750 | end FiniteConstruction |
+0 −1057 NavierStokes/ParticularWaveBounds.lean View file
| @@ -155,78 +155,6 @@ section FamilyEstimate | ||
| 155 | 155 | variable {ι : Type*} {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 156 | 156 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 157 | 157 | |
| 158 | -/-- A band-uniform family version of the joint forced estimate. Both input | |
| 159 | -predicates refer to actual full derivatives of the coefficient and source. -/ | |
| 160 | -theorem forced_family_envelope_jets | |
| 161 | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) | |
| 162 | - (L μ : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) | |
| 163 | - (A : ι → Q × ℝ → H →L[ℝ] H) | |
| 164 | - (hA : PhaseJetBounds.PolynomialJets (productDomain D V hV) A) | |
| 165 | - (P rate : ι → ℝ → ℝ) (hP : ∀ i t, 0 < P i t) | |
| 166 | - (hdP : ∀ i t, HasDerivAt (P i) (rate i t * P i t) t) | |
| 167 | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) | |
| 168 | - (f : ι → Q × ℝ → H) | |
| 169 | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * P i z.2) f) | |
| 170 | - {K₀ : ℝ} (hK₀ : 1 ≤ K₀) (hμ : ∀ i, 0 ≤ μ i) | |
| 171 | - (hslot : ∀ i, L i ≤ K₀ * D.scale i) | |
| 172 | - (hExp : ∀ i, Real.exp (μ i * L i) ≤ K₀) | |
| 173 | - (henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : H, | |
| 174 | - ⟪x, A i (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2) : | |
| 175 | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 176 | - (fun i z => w i z.1 * P i z.2) | |
| 177 | - (fun i => JointODE.reparamSolution 0 (A i) (fun _ => 0) (f i)) := by | |
| 178 | - refine ⟨fun i x hx => mul_nonneg (hw i x.1 hx.1) (hP i x.2).le, ?_, ?_⟩ | |
| 179 | - · intro i z hz | |
| 180 | - exact (JointODE.reparamSolution_contDiffAt (D.carrier i) (V i) (D.isOpen i) (hV i) (hI i) | |
| 181 | - (A i) (fun _ => 0) (f i) (hA.smooth i) contDiffOn_const (hf.smooth i) | |
| 182 | - (show z ∈ D.carrier i ×ˢ Icc 0 (L i) from ⟨hz.1, hz.2.1.le, hz.2.2.le⟩)).contDiffWithinAt | |
| 183 | - intro N | |
| 184 | - obtain ⟨C, hC, m, hm⟩ := hA.bound N | |
| 185 | - obtain ⟨C', hC', m', hm'⟩ := hf.bound N | |
| 186 | - let K := C + C' + K₀ + 1 | |
| 187 | - have hK : 1 ≤ K := by dsimp [K]; linarith | |
| 188 | - have hCK : C ≤ K := by dsimp [K]; linarith | |
| 189 | - have hC'K : C' ≤ K := by dsimp [K]; linarith | |
| 190 | - have hK₀K : K₀ ≤ K := by dsimp [K]; linarith | |
| 191 | - let B := (2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3 | |
| 192 | - have hB : 1 ≤ B := one_le_mul_of_one_le_of_one_le (one_le_pow₀ (by norm_num)) | |
| 193 | - (one_le_pow₀ (hK.trans (le_rescaleConstant N K))) | |
| 194 | - refine ⟨B ^ (N + 1), one_le_pow₀ hB, (m + m' + 2) * (N + 1), ?_⟩ | |
| 195 | - intro i z hz j hj | |
| 196 | - have hS := D.one_le_scale i | |
| 197 | - have hS0 := zero_le_one.trans hS | |
| 198 | - have hw0 := hw i z.1 hz.1 | |
| 199 | - have hAj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L i), | |
| 200 | - ‖iteratedFDeriv ℝ k (A i) (z.1, v)‖ ≤ K * D.scale i ^ (m + m') := by | |
| 201 | - intro k hk v hv | |
| 202 | - exact (hm i k hk (z.1, v) ⟨hz.1, hI i hv⟩).trans | |
| 203 | - (mul_le_mul hCK (pow_le_pow_right₀ hS (Nat.le_add_right m m')) | |
| 204 | - (pow_nonneg hS0 _) (zero_le_one.trans hK)) | |
| 205 | - have hfj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L i), | |
| 206 | - ‖iteratedFDeriv ℝ k (f i) (z.1, v)‖ ≤ w i z.1 * K * D.scale i ^ (m + m') * P i v := by | |
| 207 | - intro k hk v hv | |
| 208 | - calc | |
| 209 | - _ ≤ C' * D.scale i ^ m' * (w i z.1 * P i v) := hm' i (z.1, v) ⟨hz.1, hI i hv⟩ k hk | |
| 210 | - _ ≤ K * D.scale i ^ (m + m') * (w i z.1 * P i v) := | |
| 211 | - mul_le_mul_of_nonneg_right (mul_le_mul hC'K | |
| 212 | - (pow_le_pow_right₀ hS (Nat.le_add_left m' m)) (pow_nonneg hS0 _) | |
| 213 | - (zero_le_one.trans hK)) (mul_nonneg hw0 (hP i v).le) | |
| 214 | - _ = _ := by ring | |
| 215 | - have hh := forced_joint_jet_bound (hL i) hS hK (hμ i) hw0 | |
| 216 | - ((hslot i).trans (mul_le_mul_of_nonneg_right hK₀K hS0)) | |
| 217 | - ((hExp i).trans hK₀K) (D.carrier i) (V i) (D.isOpen i) (hV i) (hI i) | |
| 218 | - (A i) (hA.smooth i) (P i) (rate i) (hP i) (hdP i) (f i) (hf.smooth i) hz.1 | |
| 219 | - ⟨hz.2.1.le, hz.2.2.le⟩ (henergy i z.1 hz.1) (m + m') N hAj hfj j hj | |
| 220 | - calc | |
| 221 | - _ ≤ w i z.1 * B ^ (j + 1) * D.scale i ^ ((m + m' + 2) * (j + 1)) * P i z.2 := hh | |
| 222 | - _ = (B ^ (j + 1) * D.scale i ^ ((m + m' + 2) * (j + 1))) * | |
| 223 | - (w i z.1 * P i z.2) := by ring | |
| 224 | - _ ≤ _ := mul_le_mul_of_nonneg_right | |
| 225 | - (mul_le_mul (pow_le_pow_right₀ hB (Nat.add_le_add_right hj 1)) | |
| 226 | - (pow_le_pow_right₀ hS (Nat.mul_le_mul_left _ (Nat.add_le_add_right hj 1))) | |
| 227 | - (pow_nonneg hS0 _) (pow_nonneg (zero_le_one.trans hB) _)) | |
| 228 | - (mul_nonneg hw0 (hP i z.2).le) | |
| 229 | - | |
| 230 | 158 | end FamilyEstimate |
| 231 | 159 | |
| 232 | 160 | section EnvelopeTransfer |
| @@ -235,22 +163,6 @@ variable {ι E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 235 | 163 | variable [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 236 | 164 | variable {D : PhaseJetBounds.Domain ι E} {w : ι → E → ℝ} {f g : ι → E → F} |
| 237 | 165 | |
| 238 | -/-- Local equality transfers the actual derivative estimates; no derivatives | |
| 239 | -of an extension outside the open carrier are used. -/ | |
| 240 | -theorem envelopeJets_congr (hf : EnvelopeJets D w f) | |
| 241 | - (he : ∀ i, EqOn (f i) (g i) (D.carrier i)) : EnvelopeJets D w g := by | |
| 242 | - refine ⟨hf.nonneg, fun i => (hf.smooth i).congr (he i).symm, ?_⟩ | |
| 243 | - intro N | |
| 244 | - obtain ⟨C, hC, m, hb⟩ := hf.bound N | |
| 245 | - refine ⟨C, hC, m, ?_⟩ | |
| 246 | - intro i x hx j hj | |
| 247 | - have heq : f i =ᶠ[𝓝 x] g i := eventually_of_mem ((D.isOpen i).mem_nhds hx) (he i) | |
| 248 | - have heq' : f i =ᶠ[𝓝[univ] x] g i := by simpa only [nhdsWithin_univ] using heq | |
| 249 | - have hjet := heq'.iteratedFDerivWithin_eq (𝕜 := ℝ) heq.self_of_nhds j | |
| 250 | - simp only [iteratedFDerivWithin_univ] at hjet | |
| 251 | - rw [← hjet] | |
| 252 | - exact hb i x hx j hj | |
| 253 | - | |
| 254 | 166 | end EnvelopeTransfer |
| 255 | 167 | |
| 256 | 168 | section AffineEvaluation |
| @@ -273,34 +185,6 @@ theorem norm_jet_comp_affine {U : Set F} (hU : IsOpen U) {f : F → G} | ||
| 273 | 185 | simpa only [Function.comp_def, iteratedFDeriv_comp_add_left] using |
| 274 | 186 | PhaseJetBounds.norm_jet_comp_linear hV hft L hx j |
| 275 | 187 | |
| 276 | -theorem envelopeJets_precomp_affine {D : PhaseJetBounds.Domain ι E} | |
| 277 | - {D' : PhaseJetBounds.Domain ι F} {w : ι → F → ℝ} {f : ι → F → G} | |
| 278 | - (hf : EnvelopeJets D' w f) (L : ι → E →L[ℝ] F) (c : ι → F) | |
| 279 | - (hscale : ∀ i, D'.scale i = D.scale i) | |
| 280 | - (hmap : ∀ i, MapsTo (fun x => c i + L i x) (D.carrier i) (D'.carrier i)) | |
| 281 | - {C : ℝ} {k : ℕ} (hC : 1 ≤ C) (hL : ∀ i, ‖L i‖ ≤ C * D.scale i ^ k) : | |
| 282 | - EnvelopeJets D (fun i x => w i (c i + L i x)) (fun i x => f i (c i + L i x)) := by | |
| 283 | - refine ⟨fun i x hx => hf.nonneg i _ (hmap i hx), | |
| 284 | - fun i => (hf.smooth i).comp (contDiffOn_const.add (L i).contDiff.contDiffOn) (hmap i), ?_⟩ | |
| 285 | - intro N | |
| 286 | - obtain ⟨A, hA, m, hm⟩ := hf.bound N | |
| 287 | - refine ⟨A * C ^ N, one_le_mul_of_one_le_of_one_le hA (one_le_pow₀ hC), m + k * N, ?_⟩ | |
| 288 | - intro i x hx j hj | |
| 289 | - have hc : 1 ≤ C * D.scale i ^ k := | |
| 290 | - one_le_mul_of_one_le_of_one_le hC (one_le_pow₀ (D.one_le_scale i)) | |
| 291 | - have hpow : ‖L i‖ ^ j ≤ (C * D.scale i ^ k) ^ N := | |
| 292 | - (pow_le_pow_left₀ (norm_nonneg _) (hL i) j).trans (pow_le_pow_right₀ hc hj) | |
| 293 | - have hw := hf.nonneg i (c i + L i x) (hmap i hx) | |
| 294 | - have hb : 0 ≤ A * D'.scale i ^ m * w i (c i + L i x) := | |
| 295 | - mul_nonneg (mul_nonneg (zero_le_one.trans hA) | |
| 296 | - (pow_nonneg (zero_le_one.trans (D'.one_le_scale i)) _)) hw | |
| 297 | - calc | |
| 298 | - _ ≤ ‖iteratedFDeriv ℝ j (f i) (c i + L i x)‖ * ‖L i‖ ^ j := | |
| 299 | - norm_jet_comp_affine (D'.isOpen i) (hf.smooth i) (L i) (c i) (hmap i hx) j | |
| 300 | - _ ≤ (A * D'.scale i ^ m * w i (c i + L i x)) * (C * D.scale i ^ k) ^ N := | |
| 301 | - mul_le_mul (hm i _ (hmap i hx) j hj) hpow (pow_nonneg (norm_nonneg _) _) hb | |
| 302 | - _ = _ := by rw [hscale, mul_pow, pow_add, pow_mul]; ring | |
| 303 | - | |
| 304 | 188 | end AffineEvaluation |
| 305 | 189 | |
| 306 | 190 | section CopyFamilies |
| @@ -312,63 +196,6 @@ variable {ι : Type} {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 312 | 196 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 313 | 197 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 314 | 198 | |
| 315 | -/-- The same bound for the actual copy-path Volterra extension. Uniqueness | |
| 316 | -identifies it with the endpoint-rescaled solve on an open slot. -/ | |
| 317 | -theorem anchoredSolve_family_envelope_jets | |
| 318 | - (D : PhaseJetBounds.Domain ι (P × Plane)) (I : ι → Set ℝ) (hI : ∀ i, IsOpen (I i)) | |
| 319 | - (L μ : ι → ℝ) (hL : ∀ i, 0 < L i) (hslotI : ∀ i, Icc 0 (L i) ⊆ I i) | |
| 320 | - (d : ι → LinearData P V H) (g : ι → Geometry) (copy : ι → Frequency) | |
| 321 | - (hA : PhaseJetBounds.PolynomialJets (productDomain D I hI) | |
| 322 | - (fun i => (d i).coefficientAlong (g i) (copy i))) | |
| 323 | - (W rate : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) | |
| 324 | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) | |
| 325 | - (w : ι → P × Plane → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) | |
| 326 | - (hf : EnvelopeJets (productDomain D I hI) (fun i z => w i z.1 * W i z.2) | |
| 327 | - (fun i => (d i).forcingAlong (g i) (copy i))) | |
| 328 | - {K : ℝ} (hK : 1 ≤ K) (hμ : ∀ i, 0 ≤ μ i) | |
| 329 | - (hslot : ∀ i, L i ≤ K * D.scale i) (hExp : ∀ i, Real.exp (μ i * L i) ≤ K) | |
| 330 | - (henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : H, | |
| 331 | - ⟪x, (d i).coefficientAlong (g i) (copy i) (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2) : | |
| 332 | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 333 | - (fun i z => w i z.1 * W i z.2) | |
| 334 | - (fun i z => (d i).anchoredSolve (g i) (hL i).le (copy i) z.1 z.2) := by | |
| 335 | - have hs := forced_family_envelope_jets D I hI L μ hL hslotI _ hA W rate hW hdW w hw _ hf | |
| 336 | - hK hμ hslot hExp henergy | |
| 337 | - apply envelopeJets_congr hs | |
| 338 | - intro i z hz | |
| 339 | - have hAc := (hA.smooth i).continuousOn.mono (prod_mono Subset.rfl (hslotI i)) | |
| 340 | - have hfc := (hf.smooth i).continuousOn.mono (prod_mono Subset.rfl (hslotI i)) | |
| 341 | - exact JointODE.reparamSolution_eq_actualSolution (hL i).le _ _ _ hAc hfc | |
| 342 | - ⟨hz.1, hz.2.1.le, hz.2.2.le⟩ | |
| 343 | - | |
| 344 | -/-- Evaluation at the current native slot costs only the norm of the actual | |
| 345 | -affine coordinate map. This statement is uniform over copy indices. -/ | |
| 346 | -theorem copySolve_envelope_of_anchored | |
| 347 | - (D D' : PhaseJetBounds.Domain ι (P × Plane)) (L : ι → ℝ) (hL : ∀ i, 0 < L i) | |
| 348 | - (d : ι → LinearData P V H) (g : ι → Geometry) (copy : ι → Frequency) | |
| 349 | - (w : ι → P × Plane → ℝ) (W : ι → ℝ → ℝ) | |
| 350 | - (hs : EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 351 | - (fun i z => w i z.1 * W i z.2) | |
| 352 | - (fun i z => (d i).anchoredSolve (g i) (hL i).le (copy i) z.1 z.2)) | |
| 353 | - (hscale : ∀ i, D.scale i = D'.scale i) | |
| 354 | - (hdom : ∀ i, D'.carrier i ⊆ D.carrier i) | |
| 355 | - (hslot : ∀ i p, p ∈ D'.carrier i → ((g i).coordinates (copy i) p.2).2 ∈ Ioo 0 (L i)) | |
| 356 | - {C : ℝ} {k : ℕ} (hC : 1 ≤ C) | |
| 357 | - (hcost : ∀ i, CommonCoverClass.argumentCost (g i) ≤ C * D'.scale i ^ k) : | |
| 358 | - EnvelopeJets D' (fun i p => w i p * W i ((g i).coordinates (copy i) p.2).2) | |
| 359 | - (fun i => (d i).copySolve (g i) (hL i).le (copy i)) := by | |
| 360 | - have hh := envelopeJets_precomp_affine hs | |
| 361 | - (fun i => CommonCoverClass.currentLinear P (g i)) | |
| 362 | - (fun i => CommonCoverClass.currentArgument (P := P) (g i) (copy i) 0) | |
| 363 | - hscale (fun i p hp => ?_) hC | |
| 364 | - (fun i => (CommonCoverClass.norm_currentLinear_le (P := P) (g i)).trans (hcost i)) | |
| 365 | - · simp_rw [← CommonCoverClass.currentArgument_affine] at hh | |
| 366 | - simp only [CommonCoverClass.currentArgument] at hh ⊢ | |
| 367 | - exact hh | |
| 368 | - · dsimp only | |
| 369 | - rw [← CommonCoverClass.currentArgument_affine] | |
| 370 | - exact ⟨hdom i hp, hslot i p hp⟩ | |
| 371 | - | |
| 372 | 199 | end CopyFamilies |
| 373 | 200 | |
| 374 | 201 | section CopyJointEstimate |
| @@ -379,72 +206,6 @@ variable {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 379 | 206 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 380 | 207 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 381 | 208 | |
| 382 | -/-- Full derivatives of the actual current copy field. In particular the | |
| 383 | -scale `S` may be the frozen spatial growth/edge factor at `p`; no uniform | |
| 384 | -distance from a cutoff edge is required. -/ | |
| 385 | -theorem copySolve_joint_jet_bound (d : LinearData P V H) (g : Geometry) (copy : Frequency) | |
| 386 | - {L S K μ w : ℝ} (hL : 0 < L) (hS : 1 ≤ S) (hK : 1 ≤ K) (hμ : 0 ≤ μ) (hw : 0 ≤ w) | |
| 387 | - (hslot : L ≤ K * S) (hExp : Real.exp (μ * L) ≤ K) | |
| 388 | - {U : Set P} (hU : IsOpen U) | |
| 389 | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) | |
| 390 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) | |
| 391 | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) | |
| 392 | - (W rate : ℝ → ℝ) (hW : ∀ t, 0 < W t) (hdW : ∀ t, HasDerivAt W (rate t * W t) t) | |
| 393 | - {p : P × Plane} (hp : p.1 ∈ U) (heta : (g.coordinates copy p.2).2 ∈ Ioo 0 L) | |
| 394 | - (henergy : ∀ v ∈ Icc 0 L, ∀ x : H, | |
| 395 | - ⟪x, d.coefficientAlong g copy (p, v) x⟫_ℝ ≤ (rate v + μ) * ‖x‖ ^ 2) | |
| 396 | - (m N : ℕ) | |
| 397 | - (hAj : ∀ j ≤ N, ∀ v ∈ Icc 0 L, | |
| 398 | - ‖iteratedFDeriv ℝ j (d.coefficientAlong g copy) (p, v)‖ ≤ K * S ^ m) | |
| 399 | - (hfj : ∀ j ≤ N, ∀ v ∈ Icc 0 L, | |
| 400 | - ‖iteratedFDeriv ℝ j (d.forcingAlong g copy) (p, v)‖ ≤ w * K * S ^ m * W v) | |
| 401 | - (j : ℕ) (hj : j ≤ N) : | |
| 402 | - ‖iteratedFDeriv ℝ j (d.copySolve g hL.le copy) p‖ ≤ | |
| 403 | - w * ((2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3) ^ (j + 1) * | |
| 404 | - S ^ ((m + 2) * (j + 1)) * W (g.coordinates copy p.2).2 * | |
| 405 | - CommonCoverClass.argumentCost g ^ j := by | |
| 406 | - let A := d.coefficientAlong g copy | |
| 407 | - let f := d.forcingAlong g copy | |
| 408 | - let r := JointODE.reparamSolution 0 A (fun _ => 0) f | |
| 409 | - let T := (U ×ˢ (univ : Set Plane)) ×ˢ Ioo 0 L | |
| 410 | - have hT : IsOpen T := (hU.prod isOpen_univ).prod isOpen_Ioo | |
| 411 | - have hAs : ContDiffOn ℝ ∞ A ((U ×ˢ univ) ×ˢ (univ : Set ℝ)) := d.coefficientAlong_contDiffOn g copy hA | |
| 412 | - have hfs : ContDiffOn ℝ ∞ f ((U ×ˢ univ) ×ˢ (univ : Set ℝ)) := d.forcingAlong_contDiffOn g copy hB hf | |
| 413 | - have hrs : ContDiffOn ℝ ∞ r T := by | |
| 414 | - intro z hz | |
| 415 | - exact (JointODE.reparamSolution_contDiffAt (U ×ˢ univ) univ (hU.prod isOpen_univ) | |
| 416 | - isOpen_univ (subset_univ _) A (fun _ => 0) f hAs contDiffOn_const hfs | |
| 417 | - (show z ∈ (U ×ˢ univ) ×ˢ Icc 0 L from ⟨hz.1, hz.2.1.le, hz.2.2.le⟩)).contDiffWithinAt | |
| 418 | - have hcur : CommonCoverClass.currentArgument g copy p ∈ T := ⟨⟨hp, mem_univ _⟩, heta⟩ | |
| 419 | - have heq : (fun q => r (CommonCoverClass.currentArgument g copy q)) =ᶠ[𝓝 p] | |
| 420 | - d.copySolve g hL.le copy := by | |
| 421 | - filter_upwards [((CommonCoverClass.currentArgument_smooth (P := P) g copy).continuous.isOpen_preimage _ hT).mem_nhds hcur] with q hq | |
| 422 | - exact JointODE.reparamSolution_eq_actualSolution hL.le A (fun _ => 0) f | |
| 423 | - (hAs.continuousOn.mono (prod_mono Subset.rfl (subset_univ _))) | |
| 424 | - (hfs.continuousOn.mono (prod_mono Subset.rfl (subset_univ _))) | |
| 425 | - (show CommonCoverClass.currentArgument g copy q ∈ (U ×ˢ univ) ×ˢ Icc 0 L from | |
| 426 | - ⟨hq.1, hq.2.1.le, hq.2.2.le⟩) | |
| 427 | - have heq' : (fun q => r (CommonCoverClass.currentArgument g copy q)) =ᶠ[𝓝[univ] p] | |
| 428 | - d.copySolve g hL.le copy := by simpa only [nhdsWithin_univ] using heq | |
| 429 | - have hjet := heq'.iteratedFDerivWithin_eq (𝕜 := ℝ) heq.self_of_nhds j | |
| 430 | - simp only [iteratedFDerivWithin_univ] at hjet | |
| 431 | - rw [← hjet] | |
| 432 | - have haff := norm_jet_comp_affine hT hrs (CommonCoverClass.currentLinear P g) | |
| 433 | - (CommonCoverClass.currentArgument (P := P) g copy 0) | |
| 434 | - (by simpa only [← CommonCoverClass.currentArgument_affine] using hcur) j | |
| 435 | - simp_rw [← CommonCoverClass.currentArgument_affine] at haff | |
| 436 | - have hbnd := forced_joint_jet_bound hL hS hK hμ hw hslot hExp (U ×ˢ univ) univ | |
| 437 | - (hU.prod isOpen_univ) isOpen_univ (subset_univ _) A hAs W rate hW hdW f hfs | |
| 438 | - ⟨hp, mem_univ _⟩ ⟨heta.1.le, heta.2.le⟩ henergy m N hAj hfj j hj | |
| 439 | - apply haff.trans | |
| 440 | - exact mul_le_mul hbnd | |
| 441 | - (pow_le_pow_left₀ (norm_nonneg _) (CommonCoverClass.norm_currentLinear_le (P := P) g) j) | |
| 442 | - (pow_nonneg (norm_nonneg _) j) | |
| 443 | - (by | |
| 444 | - have := hW (g.coordinates copy p.2).2 | |
| 445 | - have hR := hK.trans (le_rescaleConstant N K) | |
| 446 | - positivity) | |
| 447 | - | |
| 448 | 209 | end CopyJointEstimate |
| 449 | 210 | |
| 450 | 211 | section CopyClass |
| @@ -455,99 +216,6 @@ variable {P V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 455 | 216 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 456 | 217 | variable [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 457 | 218 | |
| 458 | -/-- The actual particular solution belongs to `W_α`. Input bounds are on | |
| 459 | -the full joint derivatives of the pulled-back coefficient and source; | |
| 460 | -the edge power may depend on the requested derivative order. -/ | |
| 461 | -theorem copySolve_waveClass | |
| 462 | - (s : StripData (P × Plane)) (α : ℝ) | |
| 463 | - (d : ℕ → LinearData P V H) (g : ℕ → Geometry) (copy : ℕ → Frequency) | |
| 464 | - (L μ : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 465 | - (W rate : ℕ → ℝ → ℝ) (hW : ∀ n t, 0 < W n t) | |
| 466 | - (hdW : ∀ n t, HasDerivAt (W n) (rate n t * W n t) t) | |
| 467 | - {U : Set P} (hU : IsOpen U) (hdom : ∀ p ∈ s.domain, p.1 ∈ U) | |
| 468 | - (hA : ∀ n, ContDiffOn ℝ ∞ (d n).coefficient (U ×ˢ univ)) | |
| 469 | - (hB : ∀ n, ContDiffOn ℝ ∞ (d n).forcingMap (U ×ˢ univ)) | |
| 470 | - (hf : ∀ n, ContDiffOn ℝ ∞ (d n).source (U ×ˢ univ)) | |
| 471 | - (heta : ∀ n p, p ∈ s.domain → ((g n).coordinates (copy n) p.2).2 ∈ Ioo 0 (L n)) | |
| 472 | - {K₀ : ℝ} {q : ℕ} (hK₀ : 1 ≤ K₀) (hμ : ∀ n, 0 ≤ μ n) | |
| 473 | - (hslot : ∀ n, L n ≤ K₀ * s.slow n) (hExp : ∀ n, Real.exp (μ n * L n) ≤ K₀) | |
| 474 | - (hcost : ∀ n, CommonCoverClass.argumentCost (g n) ≤ K₀ * s.slow n ^ q) | |
| 475 | - (henergy : ∀ n p, p ∈ s.domain → ∀ v ∈ Icc 0 (L n), ∀ x : H, | |
| 476 | - ⟪x, (d n).coefficientAlong (g n) (copy n) (p, v) x⟫_ℝ ≤ | |
| 477 | - (rate n v + μ n) * ‖x‖ ^ 2) | |
| 478 | - (hinput : ∀ N : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, ∀ n p, p ∈ s.domain → | |
| 479 | - ∀ j ≤ N, ∀ v ∈ Icc 0 (L n), | |
| 480 | - ‖iteratedFDeriv ℝ j ((d n).coefficientAlong (g n) (copy n)) (p, v)‖ ≤ | |
| 481 | - C * s.growth n p ^ m ∧ | |
| 482 | - ‖iteratedFDeriv ℝ j ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ | |
| 483 | - (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * C * s.growth n p ^ m * W n v) : | |
| 484 | - WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α | |
| 485 | - (fun n => (d n).copySolve (g n) (hL n).le (copy n)) := by | |
| 486 | - refine ⟨fun n p _ => mul_nonneg (Real.sqrt_nonneg _) (hW n _).le, ?_, ?_⟩ | |
| 487 | - · intro n p hp | |
| 488 | - exact ((d n).copySolve_contDiffAt (g n) (hL n).le hU (copy n) | |
| 489 | - (hA n) (hB n) (hf n) (hdom p hp) (heta n p hp)).contDiffWithinAt | |
| 490 | - intro N | |
| 491 | - obtain ⟨C, hC, m, hm⟩ := hinput N | |
| 492 | - let K := C + K₀ + 1 | |
| 493 | - have hK : 1 ≤ K := by dsimp [K]; linarith | |
| 494 | - have hCK : C ≤ K := by dsimp [K]; linarith | |
| 495 | - have hK₀K : K₀ ≤ K := by dsimp [K]; linarith | |
| 496 | - let B := (2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3 | |
| 497 | - have hB' : 1 ≤ B := one_le_mul_of_one_le_of_one_le (one_le_pow₀ (by norm_num)) | |
| 498 | - (one_le_pow₀ (hK.trans (le_rescaleConstant N K))) | |
| 499 | - refine ⟨B ^ (N + 1) * K₀ ^ N, by positivity, (m + 2) * (N + 1) + q * N, ?_⟩ | |
| 500 | - intro n p hp j hj | |
| 501 | - have hG := s.one_le_growth n p | |
| 502 | - have hG0 := s.growth_nonneg n p | |
| 503 | - have heps := (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le | |
| 504 | - have hw : 0 ≤ s.epsilon n ^ α * Real.sqrt (s.zeta p) := mul_nonneg heps (Real.sqrt_nonneg _) | |
| 505 | - have hAj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L n), | |
| 506 | - ‖iteratedFDeriv ℝ k ((d n).coefficientAlong (g n) (copy n)) (p, v)‖ ≤ K * s.growth n p ^ m := by | |
| 507 | - intro k hk v hv | |
| 508 | - exact ((hm n p hp k hk v hv).1).trans | |
| 509 | - (mul_le_mul_of_nonneg_right hCK (pow_nonneg hG0 _)) | |
| 510 | - have hfj : ∀ k ≤ N, ∀ v ∈ Icc 0 (L n), | |
| 511 | - ‖iteratedFDeriv ℝ k ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ | |
| 512 | - (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * K * s.growth n p ^ m * W n v := by | |
| 513 | - intro k hk v hv | |
| 514 | - exact ((hm n p hp k hk v hv).2).trans | |
| 515 | - (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right | |
| 516 | - (mul_le_mul_of_nonneg_left hCK hw) (pow_nonneg hG0 _)) (hW n v).le) | |
| 517 | - have hh := copySolve_joint_jet_bound (d n) (g n) (copy n) (hL n) hG hK (hμ n) hw | |
| 518 | - ((hslot n).trans (mul_le_mul hK₀K (s.slow_le_growth n p) | |
| 519 | - (zero_le_one.trans (s.one_le_slow n)) (zero_le_one.trans hK))) | |
| 520 | - ((hExp n).trans hK₀K) hU (hA n) (hB n) (hf n) (W n) (rate n) (hW n) (hdW n) | |
| 521 | - (hdom p hp) (heta n p hp) (henergy n p hp) m N hAj hfj j hj | |
| 522 | - have hcg : CommonCoverClass.argumentCost (g n) ≤ K₀ * s.growth n p ^ q := | |
| 523 | - (hcost n).trans (mul_le_mul_of_nonneg_left | |
| 524 | - (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n p) q) | |
| 525 | - (zero_le_one.trans hK₀)) | |
| 526 | - have hcp : CommonCoverClass.argumentCost (g n) ^ j ≤ K₀ ^ N * s.growth n p ^ (q * N) := by | |
| 527 | - calc | |
| 528 | - _ ≤ (K₀ * s.growth n p ^ q) ^ j := pow_le_pow_left₀ | |
| 529 | - (zero_le_one.trans (CommonCoverClass.one_le_argumentCost (g n))) hcg j | |
| 530 | - _ ≤ (K₀ * s.growth n p ^ q) ^ N := pow_le_pow_right₀ | |
| 531 | - (one_le_mul_of_one_le_of_one_le hK₀ (one_le_pow₀ hG)) hj | |
| 532 | - _ = _ := by rw [mul_pow, pow_mul] | |
| 533 | - have hwp := (hW n ((g n).coordinates (copy n) p.2).2).le | |
| 534 | - calc | |
| 535 | - _ ≤ (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (j + 1) * | |
| 536 | - s.growth n p ^ ((m + 2) * (j + 1)) * W n ((g n).coordinates (copy n) p.2).2 * | |
| 537 | - CommonCoverClass.argumentCost (g n) ^ j := hh | |
| 538 | - _ ≤ (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (N + 1) * | |
| 539 | - s.growth n p ^ ((m + 2) * (N + 1)) * W n ((g n).coordinates (copy n) p.2).2 * | |
| 540 | - (K₀ ^ N * s.growth n p ^ (q * N)) := by | |
| 541 | - apply mul_le_mul _ hcp | |
| 542 | - (pow_nonneg (zero_le_one.trans (CommonCoverClass.one_le_argumentCost (g n))) _) | |
| 543 | - (by positivity) | |
| 544 | - apply mul_le_mul_of_nonneg_right _ hwp | |
| 545 | - exact mul_le_mul | |
| 546 | - (mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hB' (Nat.add_le_add_right hj 1)) hw) | |
| 547 | - (pow_le_pow_right₀ hG (Nat.mul_le_mul_left _ (Nat.add_le_add_right hj 1))) | |
| 548 | - (pow_nonneg hG0 _) (by positivity) | |
| 549 | - _ = _ := by unfold majorant; rw [pow_add]; ring | |
| 550 | - | |
| 551 | 219 | end CopyClass |
| 552 | 220 | |
| 553 | 221 | section ControlData |
| @@ -590,16 +258,6 @@ structure CopyControl (s : StripData (P × Plane)) (α : ℝ) | ||
| 590 | 258 | ‖iteratedFDeriv ℝ j ((d n).forcingAlong (g n) (copy n)) (p, v)‖ ≤ |
| 591 | 259 | (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * C * s.growth n p ^ m * W n v |
| 592 | 260 | |
| 593 | -theorem CopyControl.waveClass {s : StripData (P × Plane)} {α : ℝ} | |
| 594 | - {d : ℕ → LinearData P V H} {g : ℕ → Geometry} {copy : ℕ → Frequency} | |
| 595 | - {L : ℕ → ℝ} {W : ℕ → ℝ → ℝ} (h : CopyControl s α d g copy L W) | |
| 596 | - (hL : ∀ n, 0 < L n) : | |
| 597 | - WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α | |
| 598 | - (fun n => (d n).copySolve (g n) (hL n).le (copy n)) := | |
| 599 | - copySolve_waveClass s α d g copy L h.errorRate hL W h.rate h.envelope_pos h.envelope_deriv | |
| 600 | - h.open_slow h.domain h.coefficient_smooth h.forcingMap_smooth h.source_smooth h.current_slot | |
| 601 | - h.constant_ge_one h.errorRate_nonneg h.length_bound h.exponential_bound h.coordinate_bound h.energy h.input_jets | |
| 602 | - | |
| 603 | 261 | end ControlData |
| 604 | 262 | |
| 605 | 263 | section CopyEquation |
| @@ -624,36 +282,6 @@ theorem path_hasDerivAt (g : Geometry) (k : Frequency) (Y : Plane) (s : ℝ) : | ||
| 624 | 282 | simpa only [one_smul, id_eq] using |
| 625 | 283 | (((hasDerivAt_id s).sub_const (g.coordinates k Y).2).smul_const (slotDirection g)).const_add Y |
| 626 | 284 | |
| 627 | -/-- Differentiation of the actual reanchored copy solve is differentiation | |
| 628 | -along the fixed common-coordinate slot vector. -/ | |
| 629 | -theorem along_copySolve (d : LinearData P V H) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 630 | - {U : Set P} (hU : IsOpen U) (k : Frequency) | |
| 631 | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) | |
| 632 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) | |
| 633 | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) | |
| 634 | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) : | |
| 635 | - HarmonicCalculus.along (fun _ => ((0 : P), slotDirection g)) (d.copySolve g hab k) (p, Y) = | |
| 636 | - d.coefficient (p, g.coordinates k Y) (d.copySolve g hab k (p, Y)) + | |
| 637 | - d.forcingMap (p, g.coordinates k Y) (d.source (p, Y)) := by | |
| 638 | - let t := (g.coordinates k Y).2 | |
| 639 | - have hpath : HasDerivAt (fun s => (p, g.path k Y s)) ((0 : P), slotDirection g) t := | |
| 640 | - (hasDerivAt_const t p).prodMk (path_hasDerivAt g k Y t) | |
| 641 | - have hcopy : DifferentiableAt ℝ (d.copySolve g hab k) (p, Y) := | |
| 642 | - (d.copySolve_contDiffAt g hab hU k hA hB hf (p := (p, Y)) hp heta).differentiableAt (by simp) | |
| 643 | - have hc : HasFDerivAt (d.copySolve g hab k) | |
| 644 | - (fderiv ℝ (d.copySolve g hab k) (p, Y)) (p, g.path k Y t) := by | |
| 645 | - simpa only [t, g.path_current] using hcopy.hasFDerivAt | |
| 646 | - have hd : HasDerivAt (fun s => d.copySolve g hab k (p, g.path k Y s)) | |
| 647 | - (fderiv ℝ (d.copySolve g hab k) (p, Y) ((0 : P), slotDirection g)) t := | |
| 648 | - HasFDerivAt.comp_hasDerivAt (l := d.copySolve g hab k) | |
| 649 | - (l' := fderiv ℝ (d.copySolve g hab k) (p, Y)) | |
| 650 | - (f := fun s => (p, g.path k Y s)) t hc hpath | |
| 651 | - have hs := d.copySolve_alongPath_hasDerivAt g hab k hA.continuousOn hB.continuousOn | |
| 652 | - hf.continuousOn hp Y ⟨t, heta.1.le, heta.2.le⟩ | |
| 653 | - have he := hd.unique hs | |
| 654 | - simpa only [HarmonicCalculus.along, LinearData.coefficientAlong, LinearData.forcingAlong, | |
| 655 | - t, g.path_current, Prod.mk.eta] using he | |
| 656 | - | |
| 657 | 285 | noncomputable def nativePoint (g : Geometry) (k : Frequency) (p : P × Plane) : P × Plane := |
| 658 | 286 | (p.1, g.coordinates k p.2) |
| 659 | 287 | |
| @@ -669,32 +297,6 @@ noncomputable def copyPressure (t : TangentData P H) (g : Geometry) | ||
| 669 | 297 | {a b : ℝ} (hab : a ≤ b) (k : Frequency) (frequency : ℝ) (p : P × Plane) : ℂ := |
| 670 | 298 | Complex.I * (copyPressureReal t g hab k p : ℂ) / (frequency : ℂ) |
| 671 | 299 | |
| 672 | -/-- Exact pressure cancellation for the constructed copy solution. This | |
| 673 | -equation is derived from the ODE; it is not an assumption on an output. -/ | |
| 674 | -theorem copySolve_pressure_balance (t : TangentData P H) (g : Geometry) | |
| 675 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : IsOpen U) (k : Frequency) | |
| 676 | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) | |
| 677 | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) | |
| 678 | - (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) | |
| 679 | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) : | |
| 680 | - HarmonicCalculus.along (fun _ => ((0 : P), slotDirection g)) | |
| 681 | - (t.linearData.copySolve g hab k) (p, Y) + | |
| 682 | - t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y)) + | |
| 683 | - t.damping (p, g.coordinates k Y) • t.linearData.copySolve g hab k (p, Y) - | |
| 684 | - copyPressureReal t g hab k (p, Y) • t.normal (p, g.coordinates k Y) = -t.source (p, Y) := by | |
| 685 | - rw [along_copySolve t.linearData g hab hU k hA hB hf hp Y heta] | |
| 686 | - simp only [show t.linearData.source = t.source from rfl] | |
| 687 | - have he : t.linearData.coefficient (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y)) + | |
| 688 | - t.linearData.forcingMap (p, g.coordinates k Y) (t.source (p, Y)) = | |
| 689 | - TangentProjection.projectedRhs (t.normal (p, g.coordinates k Y)) | |
| 690 | - (t.normalDot (p, g.coordinates k Y)) (t.linearData.copySolve g hab k (p, Y)) | |
| 691 | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) | |
| 692 | - (t.source (p, Y)) (t.damping (p, g.coordinates k Y)) := by | |
| 693 | - simp only [TangentData.linearData, negativeTangentProjection_apply, | |
| 694 | - ← sub_eq_add_neg, TangentODE.projectedOperator_apply] | |
| 695 | - rw [he] | |
| 696 | - exact TangentProjection.pressure_cancellation _ _ _ _ _ _ | |
| 697 | - | |
| 698 | 300 | end CopyEquation |
| 699 | 301 | |
| 700 | 302 | section WeightedPressure |
| @@ -704,22 +306,6 @@ open WeightedClasses | ||
| 704 | 306 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 705 | 307 | variable {s : StripData E} {w : ℕ → E → ℝ} {α : ℝ} |
| 706 | 308 | |
| 707 | -/-- The epsilon power retained in a constructed envelope is exactly the | |
| 708 | -exponent in the manuscript's all-jet class. -/ | |
| 709 | -theorem envelopeJets_memClass {f : ℕ → E → ProblemStatement.Space} | |
| 710 | - (hf : EnvelopeJets (PrimaryPulseBounds.phaseDomain s) | |
| 711 | - (fun n x => s.epsilon n ^ α * w n x) f) | |
| 712 | - (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) : MemClass s w α f := by | |
| 713 | - have hg := hf.memClass s (fun _ => rfl) (fun _ => rfl) | |
| 714 | - refine ⟨hw, hg.smooth, ?_⟩ | |
| 715 | - intro m | |
| 716 | - obtain ⟨C, hC, p, hb⟩ := hg.bounds m | |
| 717 | - refine ⟨C, hC, p, ?_⟩ | |
| 718 | - intro n x hx j hj | |
| 719 | - convert! hb n x hx j hj using 1 | |
| 720 | - simp only [majorant, Real.rpow_zero] | |
| 721 | - ring | |
| 722 | - | |
| 723 | 309 | theorem real_inner_class {u v : ℕ → E → ProblemStatement.Space} |
| 724 | 310 | (hu : UnweightedClass s 0 u) (hv : MemClass s w α v) : |
| 725 | 311 | MemClass s w α (fun n x => ⟪u n x, v n x⟫_ℝ) := by |
| @@ -851,66 +437,6 @@ theorem normalDot_complexify (N a : ProblemStatement.Space) : | ||
| 851 | 437 | normalDot N (CurlClassBounds.complexify a) = (⟪N, a⟫_ℝ : ℂ) := by |
| 852 | 438 | simp [normalDot, PiLp.inner_apply, Fin.sum_univ_three, mul_comm] |
| 853 | 439 | |
| 854 | -/-- Tangency is propagated by the constructed ODE, then transferred to | |
| 855 | -the complex coefficient used in the harmonic field. -/ | |
| 856 | -theorem copyVelocity_tangent (t : TangentData P ProblemStatement.Space) (g : Geometry) | |
| 857 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (k : Frequency) | |
| 858 | - (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 859 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 860 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (hδ : ContinuousOn t.damping (U ×ˢ univ)) | |
| 861 | - {p : P} (hp : p ∈ U) (Y : Plane) | |
| 862 | - (hn0 : ∀ v ∈ Icc a b, t.normal (p, ((g.coordinates k Y).1, v)) ≠ 0) | |
| 863 | - (hn : ∀ v ∈ Icc a b, | |
| 864 | - HasDerivAt (fun r => t.normal (p, ((g.coordinates k Y).1, r))) | |
| 865 | - (t.normalDot (p, ((g.coordinates k Y).1, v))) v) | |
| 866 | - (heta : (g.coordinates k Y).2 ∈ Icc a b) : | |
| 867 | - normalDot (t.normal (p, g.coordinates k Y)) (copyVelocity t g hab k (p, Y)) = 0 := by | |
| 868 | - rw [copyVelocity, normalDot_complexify, | |
| 869 | - t.copySolve_tangent g hab k hA hB hf hδ hp Y hn0 hn heta] | |
| 870 | - rfl | |
| 871 | - | |
| 872 | -/-- The pressure in `copyPressure` cancels the actual principal operator | |
| 873 | -of the copy wave. The three matching hypotheses identify only primitive | |
| 874 | -normal, damping, and base-action data with the displayed physical operator. -/ | |
| 875 | -theorem copySolve_principal (t : TangentData P ProblemStatement.Space) (g : Geometry) | |
| 876 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : IsOpen U) (k : Frequency) | |
| 877 | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) | |
| 878 | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) | |
| 879 | - (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) | |
| 880 | - (ε frequency : ℝ) (hfrequency : frequency ≠ 0) | |
| 881 | - (R F G Φ : P × Plane → ℝ) (Vr Vθ Vz : P × Plane → P × Plane) | |
| 882 | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates k Y).2 ∈ Ioo a b) | |
| 883 | - (hN : phaseNormal R Vr Vθ Vz Φ (p, Y) = t.normal (p, g.coordinates k Y)) | |
| 884 | - (hδ : t.damping (p, g.coordinates k Y) = | |
| 885 | - ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) | |
| 886 | - (hK : CurlClassBounds.complexify | |
| 887 | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) = | |
| 888 | - LinearWaveResidual.shear R F G Vr (copyVelocity t g hab k) (p, Y)) : | |
| 889 | - LinearWaveResidual.principal ε frequency R F G Vr Vθ Vz | |
| 890 | - (fun _ => ((0 : P), slotDirection g)) Φ (copyVelocity t g hab k) | |
| 891 | - (copyPressure t g hab k frequency) (p, Y) = -CurlClassBounds.complexify (t.source (p, Y)) := by | |
| 892 | - have hu : DifferentiableAt ℝ (t.linearData.copySolve g hab k) (p, Y) := | |
| 893 | - (t.linearData.copySolve_contDiffAt g hab hU k hA hB hf (p := (p, Y)) hp heta).differentiableAt (by simp) | |
| 894 | - have hd := along_copySolve t.linearData g hab hU k hA hB hf hp Y heta | |
| 895 | - simp only [TangentData.linearData, negativeTangentProjection_apply, | |
| 896 | - ← sub_eq_add_neg, TangentODE.projectedOperator_apply] at hd | |
| 897 | - have hdu : along (fun _ => ((0 : P), slotDirection g)) (t.linearData.copySolve g hab k) (p, Y) = | |
| 898 | - TangentProjection.projectedRhs (phaseNormal R Vr Vθ Vz Φ (p, Y)) | |
| 899 | - (t.normalDot (p, g.coordinates k Y)) (t.linearData.copySolve g hab k (p, Y)) | |
| 900 | - (t.action (p, g.coordinates k Y) (t.linearData.copySolve g hab k (p, Y))) | |
| 901 | - (t.source (p, Y)) (ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) := by | |
| 902 | - rw [← hδ, hN] | |
| 903 | - exact hd | |
| 904 | - have hh := principal_eq_neg_source_of_projected ε frequency hfrequency R F G Φ Vr Vθ Vz | |
| 905 | - (fun _ => ((0 : P), slotDirection g)) (t.linearData.copySolve g hab k) | |
| 906 | - (fun z => t.normalDot (nativePoint g k z)) | |
| 907 | - (fun z => t.action (nativePoint g k z) (t.linearData.copySolve g hab k z)) t.source hu hdu hK | |
| 908 | - ext i | |
| 909 | - have hi := congrFun hh i | |
| 910 | - simp only [LinearWaveResidual.principal, projectedPressure, copyPressure, copyPressureReal, | |
| 911 | - copyVelocity, nativePoint, hN, Pi.neg_apply] at hi ⊢ | |
| 912 | - exact hi | |
| 913 | - | |
| 914 | 440 | /-- The coefficient family to which the cutoff and exact-curl construction |
| 915 | 441 | is applied; neither velocity nor pressure is supplied as an output input. -/ |
| 916 | 442 | noncomputable def copyCoefficients (base : LinearWaveBounds.WaveCoefficients (P × Plane)) |
| @@ -985,116 +511,6 @@ theorem forcing_eq_columns (d : FrameData Q) (f : Q × ℝ → PrimaryODE.Space) | ||
| 985 | 511 | |
| 986 | 512 | variable {ι : Type*} |
| 987 | 513 | |
| 988 | -/-- The actual moving-frame source projection preserves the entire source | |
| 989 | -envelope, including its small prefactor. -/ | |
| 990 | -theorem frame_forcing_envelope_jets | |
| 991 | - {D : PhaseJetBounds.Domain ι (Q × ℝ)} {d : ι → FrameData Q} | |
| 992 | - (hd : PhaseJetBounds.FrameJets D d) {w : ι → Q × ℝ → ℝ} {f : ι → Q × ℝ → PrimaryODE.Space} | |
| 993 | - (hf : EnvelopeJets D w f) : EnvelopeJets D w (fun i => (d i).forcing (f i)) := by | |
| 994 | - have hc (j : Fin 3) : PhaseJetBounds.PolynomialJets D | |
| 995 | - (fun i => (d i).forcing (fun _ => ProblemStatement.coordinateVector j)) := | |
| 996 | - hd.forcing (PhaseJetBounds.PolynomialJets.const_fixed _) | |
| 997 | - have h (j : Fin 3) := (hf.map (EuclideanSpace.proj j)).smul_polynomial (hc j) | |
| 998 | - apply (h 0 |>.add (h 1) |>.add (h 2)).congr | |
| 999 | - intro i z hz | |
| 1000 | - rw [forcing_eq_columns, Fin.sum_univ_three] | |
| 1001 | - rfl | |
| 1002 | - | |
| 1003 | -/-- A forced family in the genuine modal coordinates. The energy estimate | |
| 1004 | -comes from the four explicit modal errors and nonnegative viscosity, rather | |
| 1005 | -than an energy hypothesis about the ambient projected operator. -/ | |
| 1006 | -theorem forced_modal_family_envelope_jets | |
| 1007 | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) | |
| 1008 | - (L : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) | |
| 1009 | - (d : ι → FrameData Q) (hd : PhaseJetBounds.FrameJets (productDomain D V hV) d) | |
| 1010 | - (harmonic : ℤ) (hharmonic : harmonic ≠ 0) | |
| 1011 | - (W rate referenceDamping : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) | |
| 1012 | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) | |
| 1013 | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) | |
| 1014 | - (f : ι → Q × ℝ → PrimaryODE.Space) | |
| 1015 | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * W i z.2) f) | |
| 1016 | - {K C E : ℝ} (hK : 1 ≤ K) (hC : 0 ≤ C) (hE : 0 ≤ E) | |
| 1017 | - (hslot : ∀ i, L i ≤ K * D.scale i) | |
| 1018 | - (href : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1019 | - rate i v = (d i).eigenvalue (p, v) - referenceDamping i v) | |
| 1020 | - (hlam : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).eigenvalue (p, v)) | |
| 1021 | - (hvisc : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).viscosity (p, v)) | |
| 1022 | - (hviscError : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1023 | - referenceDamping i v - E / D.scale i ≤ (d i).viscosity (p, v)) | |
| 1024 | - (herror : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1025 | - |(d i).error11 (p, v)| ≤ C / D.scale i ∧ |(d i).error12 (p, v)| ≤ C / D.scale i ∧ | |
| 1026 | - |(d i).error21 (p, v)| ≤ C / D.scale i ∧ |(d i).error22 (p, v)| ≤ C / D.scale i) : | |
| 1027 | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 1028 | - (fun i z => w i z.1 * W i z.2) | |
| 1029 | - (fun i z => solution (hL i).le (d i) harmonic (fun _ => 0) (f i) z.1 z.2) := by | |
| 1030 | - let μ := fun i => (E + 4 * C) / D.scale i | |
| 1031 | - let K' := K + Real.exp ((E + 4 * C) * K) + 1 | |
| 1032 | - have hKK' : K ≤ K' := by dsimp [K']; linarith [Real.exp_pos ((E + 4 * C) * K)] | |
| 1033 | - have hK' : 1 ≤ K' := hK.trans hKK' | |
| 1034 | - have hμ : ∀ i, 0 ≤ μ i := fun i => div_nonneg (by positivity) (zero_le_one.trans (D.one_le_scale i)) | |
| 1035 | - have hExp : ∀ i, Real.exp (μ i * L i) ≤ K' := by | |
| 1036 | - intro i | |
| 1037 | - have hs : 0 < D.scale i := lt_of_lt_of_le zero_lt_one (D.one_le_scale i) | |
| 1038 | - have hr : L i / D.scale i ≤ K := (div_le_iff₀ hs).mpr (by simpa only [mul_comm] using hslot i) | |
| 1039 | - have hh : μ i * L i ≤ (E + 4 * C) * K := by | |
| 1040 | - dsimp [μ] | |
| 1041 | - calc | |
| 1042 | - _ = (E + 4 * C) * (L i / D.scale i) := by ring | |
| 1043 | - _ ≤ _ := mul_le_mul_of_nonneg_left hr (by positivity) | |
| 1044 | - exact (Real.exp_le_exp.mpr hh).trans (by dsimp [K']; linarith) | |
| 1045 | - have henergy : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), ∀ x : PrimaryODE.State, | |
| 1046 | - ⟪x, (d i).coefficient harmonic (p, v) x⟫_ℝ ≤ (rate i v + μ i) * ‖x‖ ^ 2 := by | |
| 1047 | - intro i p hp v hv x | |
| 1048 | - rw [href i p hp v hv] | |
| 1049 | - exact (d i).energy_bound (p, v) hharmonic (hlam i p hp v hv) (hvisc i p hp v hv) | |
| 1050 | - (hviscError i p hp v hv) (herror i p hp v hv) x | |
| 1051 | - have hs := forced_family_envelope_jets D V hV L μ hL hI | |
| 1052 | - (fun i => (d i).coefficient harmonic) (hd.coefficient harmonic) W rate hW hdW w hw | |
| 1053 | - (fun i => (d i).forcing (f i)) (frame_forcing_envelope_jets hd hf) hK' hμ | |
| 1054 | - (fun i => (hslot i).trans (mul_le_mul_of_nonneg_right hKK' (zero_le_one.trans (D.one_le_scale i)))) | |
| 1055 | - hExp henergy | |
| 1056 | - apply hs.congr | |
| 1057 | - intro i z hz | |
| 1058 | - exact JointODE.reparamSolution_eq_actualSolution (hL i).le _ _ _ | |
| 1059 | - (((hd.smoothOn i).coefficient harmonic).continuousOn.mono (prod_mono Subset.rfl (hI i))) | |
| 1060 | - (((hd.smoothOn i).forcing (hf.smooth i)).continuousOn.mono (prod_mono Subset.rfl (hI i))) | |
| 1061 | - ⟨hz.1, hz.2.1.le, hz.2.2.le⟩ | |
| 1062 | - | |
| 1063 | -/-- The same forced estimate after actual moving-frame reconstruction. The | |
| 1064 | -reference energy bound is used only in the modal two-dimensional state. -/ | |
| 1065 | -theorem forced_ambient_family_envelope_jets | |
| 1066 | - (D : PhaseJetBounds.Domain ι Q) (V : ι → Set ℝ) (hV : ∀ i, IsOpen (V i)) | |
| 1067 | - (L : ι → ℝ) (hL : ∀ i, 0 < L i) (hI : ∀ i, Icc 0 (L i) ⊆ V i) | |
| 1068 | - (d : ι → FrameData Q) (hd : PhaseJetBounds.FrameJets (productDomain D V hV) d) | |
| 1069 | - (harmonic : ℤ) (hharmonic : harmonic ≠ 0) | |
| 1070 | - (W rate referenceDamping : ι → ℝ → ℝ) (hW : ∀ i t, 0 < W i t) | |
| 1071 | - (hdW : ∀ i t, HasDerivAt (W i) (rate i t * W i t) t) | |
| 1072 | - (w : ι → Q → ℝ) (hw : ∀ i p, p ∈ D.carrier i → 0 ≤ w i p) | |
| 1073 | - (f : ι → Q × ℝ → PrimaryODE.Space) | |
| 1074 | - (hf : EnvelopeJets (productDomain D V hV) (fun i z => w i z.1 * W i z.2) f) | |
| 1075 | - {K C E : ℝ} (hK : 1 ≤ K) (hC : 0 ≤ C) (hE : 0 ≤ E) | |
| 1076 | - (hslot : ∀ i, L i ≤ K * D.scale i) | |
| 1077 | - (href : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1078 | - rate i v = (d i).eigenvalue (p, v) - referenceDamping i v) | |
| 1079 | - (hlam : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).eigenvalue (p, v)) | |
| 1080 | - (hvisc : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), 0 ≤ (d i).viscosity (p, v)) | |
| 1081 | - (hviscError : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1082 | - referenceDamping i v - E / D.scale i ≤ (d i).viscosity (p, v)) | |
| 1083 | - (herror : ∀ i p, p ∈ D.carrier i → ∀ v ∈ Icc 0 (L i), | |
| 1084 | - |(d i).error11 (p, v)| ≤ C / D.scale i ∧ |(d i).error12 (p, v)| ≤ C / D.scale i ∧ | |
| 1085 | - |(d i).error21 (p, v)| ≤ C / D.scale i ∧ |(d i).error22 (p, v)| ≤ C / D.scale i) : | |
| 1086 | - EnvelopeJets (productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 1087 | - (fun i z => w i z.1 * W i z.2) | |
| 1088 | - (fun i z => ambientSolution (hL i).le (d i) harmonic (fun _ => 0) (f i) z.1 z.2) := by | |
| 1089 | - have hm := forced_modal_family_envelope_jets D V hV L hL hI d hd harmonic hharmonic | |
| 1090 | - W rate referenceDamping hW hdW w hw f hf hK hC hE hslot href hlam hvisc hviscError herror | |
| 1091 | - apply ambient_envelope_jets hm | |
| 1092 | - intro j | |
| 1093 | - have hc := EnvelopeJets.of_polynomial (synthesisColumn_polynomial hd j) | |
| 1094 | - have hcr := hc.restrict (D' := productDomain D (fun i => Ioo 0 (L i)) (fun _ => isOpen_Ioo)) | |
| 1095 | - (fun _ => rfl) (fun i z hz => ⟨hz.1, hI i ⟨hz.2.1.le, hz.2.2.le⟩⟩) | |
| 1096 | - exact hcr.to_polynomial (fun _ _ _ => le_rfl) | |
| 1097 | - | |
| 1098 | 514 | end ModalConstruction |
| 1099 | 515 | |
| 1100 | 516 | section ModalJetTransfer |
| @@ -1658,53 +1074,6 @@ private theorem shear_at_constant (R F G : E → ℝ) (Vr : E → E) | ||
| 1658 | 1074 | LinearWaveResidual.shear R F G Vr (fun _ => a x) x = |
| 1659 | 1075 | LinearWaveResidual.shear R F G Vr a x := rfl |
| 1660 | 1076 | |
| 1661 | -/-- Exact cancellation for an arbitrary complex source, obtained from | |
| 1662 | -the two actual real copy solves. -/ | |
| 1663 | -theorem complexCopy_principal (t : TangentData P ProblemStatement.Space) | |
| 1664 | - (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 1665 | - {U : Set P} (hU : IsOpen U) (copy : Frequency) | |
| 1666 | - (hA : ContDiffOn ℝ ∞ t.linearData.coefficient (U ×ˢ univ)) | |
| 1667 | - (hB : ContDiffOn ℝ ∞ t.linearData.forcingMap (U ×ˢ univ)) | |
| 1668 | - (hf : ContDiffOn ℝ ∞ source (U ×ˢ univ)) | |
| 1669 | - (ε frequency : ℝ) (hfrequency : frequency ≠ 0) | |
| 1670 | - (R F G Φ : P × Plane → ℝ) (Vr Vθ Vz : P × Plane → P × Plane) | |
| 1671 | - {p : P} (hp : p ∈ U) (Y : Plane) (heta : (g.coordinates copy Y).2 ∈ Ioo a b) | |
| 1672 | - (hN : phaseNormal R Vr Vθ Vz Φ (p, Y) = t.normal (p, g.coordinates copy Y)) | |
| 1673 | - (hδ : t.damping (p, g.coordinates copy Y) = | |
| 1674 | - ε * frequency ^ 2 * ‖phaseNormal R Vr Vθ Vz Φ (p, Y)‖ ^ 2) | |
| 1675 | - (hK : ∀ v : ProblemStatement.Space, | |
| 1676 | - CurlClassBounds.complexify (t.action (p, g.coordinates copy Y) v) = | |
| 1677 | - LinearWaveResidual.shear R F G Vr (fun _ => CurlClassBounds.complexify v) (p, Y)) : | |
| 1678 | - LinearWaveResidual.principal ε frequency R F G Vr Vθ Vz | |
| 1679 | - (fun _ => ((0 : P), slotDirection g)) Φ (complexCopyVelocity t source g hab copy) | |
| 1680 | - (complexCopyPressure t source g hab copy frequency) (p, Y) = -source (p, Y) := by | |
| 1681 | - rw [complexCopyVelocity_eq_parts, complexCopyPressure_eq_parts] | |
| 1682 | - have hfr : ContDiffOn ℝ ∞ (realData t source).source (U ×ˢ univ) := realPart.contDiff.comp_contDiffOn hf | |
| 1683 | - have hfi : ContDiffOn ℝ ∞ (imagData t source).source (U ×ˢ univ) := imagPart.contDiff.comp_contDiffOn hf | |
| 1684 | - have hr := copySolve_principal (realData t source) g hab hU copy hA hB hfr ε frequency hfrequency R F G Φ Vr Vθ Vz | |
| 1685 | - (p := p) hp Y heta hN hδ ( | |
| 1686 | - (hK ((realData t source).linearData.copySolve g hab copy (p, Y))).trans | |
| 1687 | - (shear_at_constant R F G Vr (copyVelocity (realData t source) g hab copy) (p, Y))) | |
| 1688 | - have hi := copySolve_principal (imagData t source) g hab hU copy hA hB hfi ε frequency hfrequency R F G Φ Vr Vθ Vz | |
| 1689 | - (p := p) hp Y heta hN hδ ( | |
| 1690 | - (hK ((imagData t source).linearData.copySolve g hab copy (p, Y))).trans | |
| 1691 | - (shear_at_constant R F G Vr (copyVelocity (imagData t source) g hab copy) (p, Y))) | |
| 1692 | - have hur : DifferentiableAt ℝ ((realData t source).linearData.copySolve g hab copy) (p, Y) := | |
| 1693 | - ((realData t source).linearData.copySolve_contDiffAt g hab hU copy hA hB hfr (p := (p, Y)) hp heta).differentiableAt (by simp) | |
| 1694 | - have hui : DifferentiableAt ℝ ((imagData t source).linearData.copySolve g hab copy) (p, Y) := | |
| 1695 | - ((imagData t source).linearData.copySolve_contDiffAt g hab hU copy hA hB hfi (p := (p, Y)) hp heta).differentiableAt (by simp) | |
| 1696 | - have hvr := copyVelocity_component_differentiable (realData t source) g hab copy (p := (p, Y)) hur | |
| 1697 | - have hvi := copyVelocity_component_differentiable (imagData t source) g hab copy (p := (p, Y)) hui | |
| 1698 | - have hc := principal_parts_cancel ε frequency R F G Φ Vr Vθ Vz | |
| 1699 | - (fun _ => ((0 : P), slotDirection g)) (copyVelocity (realData t source) g hab copy) (copyVelocity (imagData t source) g hab copy) | |
| 1700 | - (copyPressure (realData t source) g hab copy frequency) (copyPressure (imagData t source) g hab copy frequency) | |
| 1701 | - (CurlClassBounds.complexify ((realData t source).source (p, Y))) (CurlClassBounds.complexify ((imagData t source).source (p, Y))) | |
| 1702 | - (x := (p, Y)) hvr hvi hr hi | |
| 1703 | - have hparts : CurlClassBounds.complexify ((realData t source).source (p, Y)) + | |
| 1704 | - Complex.I • CurlClassBounds.complexify ((imagData t source).source (p, Y)) = source (p, Y) := | |
| 1705 | - complex_parts (source (p, Y)) | |
| 1706 | - exact hc.trans (congrArg Neg.neg hparts) | |
| 1707 | - | |
| 1708 | 1077 | /-- The same exact cancellation with regularity required only along the |
| 1709 | 1078 | actual finite copy paths. -/ |
| 1710 | 1079 | theorem complexCopy_principal_of_path (t : TangentData P ProblemStatement.Space) |
| @@ -1773,40 +1142,6 @@ structure CopyGeometryMatch (s : StripData (P × Plane)) (dirs : GraphDirections | ||
| 1773 | 1142 | LinearWaveResidual.shear (base.radius n) (base.frequencyBase n) (base.axialBase n) |
| 1774 | 1143 | (dirs.radialField n) (fun _ => CurlClassBounds.complexify v) x |
| 1775 | 1144 | |
| 1776 | -/-- Every amplitude and pressure hypothesis of the linear-wave estimate | |
| 1777 | -is obtained from the actual forced solves and their primitive input bounds. -/ | |
| 1778 | -theorem complexCopy_inputBounds | |
| 1779 | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} | |
| 1780 | - (base : WaveCoefficients (P × Plane)) | |
| 1781 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1782 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 1783 | - (W : ℕ → ℝ → ℝ) | |
| 1784 | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) | |
| 1785 | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) | |
| 1786 | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) | |
| 1787 | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) | |
| 1788 | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) | |
| 1789 | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) | |
| 1790 | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) | |
| 1791 | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) | |
| 1792 | - {b M : ℝ} (hpos : 0 < b) | |
| 1793 | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) | |
| 1794 | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) | |
| 1795 | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) : | |
| 1796 | - InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs | |
| 1797 | - (complexCopyCoefficients base t source g copy L hL) := by | |
| 1798 | - have hru := hr.waveClass hL | |
| 1799 | - have hiu := hi.waveClass hL | |
| 1800 | - have hv := complexCopyVelocity_class (hL := hL) hru hiu | |
| 1801 | - have hpr := copyPressure_class (t := fun n => realData (t n) (source n)) (hL := hL) | |
| 1802 | - hN hNdot hA hru (hf.map realPart) hpos hlower hupper hfrequency | |
| 1803 | - have hpi := copyPressure_class (t := fun n => imagData (t n) (source n)) (hL := hL) | |
| 1804 | - hN hNdot hA hiu (hf.map imagPart) hpos hlower hupper hfrequency | |
| 1805 | - have hp := hpr.add (constant_complex_mul hpi Complex.I) | |
| 1806 | - exact { hb with | |
| 1807 | - amplitude := fun i => hv.map (ContinuousLinearMap.proj i) | |
| 1808 | - pressure := hp } | |
| 1809 | - | |
| 1810 | 1145 | /-- Every amplitude and pressure hypothesis of the linear-wave estimate |
| 1811 | 1146 | is obtained from the actual forced solves and their primitive input bounds. -/ |
| 1812 | 1147 | theorem complexCopy_inputBounds_of_modal |
| @@ -1841,34 +1176,6 @@ theorem complexCopy_inputBounds_of_modal | ||
| 1841 | 1176 | amplitude := fun i => hv.map (ContinuousLinearMap.proj i) |
| 1842 | 1177 | pressure := hp } |
| 1843 | 1178 | |
| 1844 | -/-- The constructed complex coefficient satisfies the principal cancellation | |
| 1845 | -needed by the exact residual decomposition. No cancellation hypothesis is | |
| 1846 | -accepted as an input. -/ | |
| 1847 | -theorem complexCopyCoefficients_principal | |
| 1848 | - {s : StripData (P × Plane)} {dirs : GraphDirections (P × Plane)} | |
| 1849 | - (base : WaveCoefficients (P × Plane)) | |
| 1850 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1851 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 1852 | - {U : Set P} (hU : IsOpen U) (hdom : ∀ p ∈ s.domain, p.1 ∈ U) | |
| 1853 | - (hA : ∀ n, ContDiffOn ℝ ∞ (t n).linearData.coefficient (U ×ˢ univ)) | |
| 1854 | - (hB : ∀ n, ContDiffOn ℝ ∞ (t n).linearData.forcingMap (U ×ˢ univ)) | |
| 1855 | - (hf : ∀ n, ContDiffOn ℝ ∞ (source n) (U ×ˢ univ)) | |
| 1856 | - (hslot : ∀ n p, p ∈ s.domain → ((g n).coordinates (copy n) p.2).2 ∈ Ioo 0 (L n)) | |
| 1857 | - (hgeometry : CopyGeometryMatch s dirs base t g copy) | |
| 1858 | - (hfrequency : ∀ n, base.frequency n ≠ 0) : | |
| 1859 | - ∀ n x, x ∈ s.domain → | |
| 1860 | - (complexCopyCoefficients base t source g copy L hL).principal s dirs n x = -source n x := by | |
| 1861 | - intro n x hx | |
| 1862 | - have hh := complexCopy_principal (t n) (source n) (g n) (hL n).le hU (copy n) (hA n) (hB n) (hf n) | |
| 1863 | - (s.epsilon n) (base.frequency n) (hfrequency n) (base.radius n) (base.frequencyBase n) | |
| 1864 | - (base.axialBase n) (base.phase n) (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) | |
| 1865 | - (hdom x hx) x.2 (hslot n x hx) (hgeometry.normal n x hx) (hgeometry.damping n x hx) | |
| 1866 | - (hgeometry.action n x hx) | |
| 1867 | - have hfast : dirs.fastField n = fun _ => ((0 : P), slotDirection (g n)) := by | |
| 1868 | - funext z | |
| 1869 | - exact hgeometry.fast n | |
| 1870 | - simpa only [WaveCoefficients.principal, complexCopyCoefficients, hfast, Prod.mk.eta] using hh | |
| 1871 | - | |
| 1872 | 1179 | /-- The principal equation for the actual modal construction. All required |
| 1873 | 1180 | regularity is local to the finite integration interval. -/ |
| 1874 | 1181 | theorem complexCopyCoefficients_principal_of_modal |
| @@ -1929,112 +1236,6 @@ theorem complexCopyCoefficients_tangent_of_modal | ||
| 1929 | 1236 | (copyVelocity (imagData (t n) (source n)) (g n) (hL n).le (copy n) x) = 0 at htI |
| 1930 | 1237 | rw [hadd, htR, htI, mul_zero, add_zero] |
| 1931 | 1238 | |
| 1932 | -/-- Complete class and actual residual statements for the constructed complex | |
| 1933 | -particular wave. Both Gaussian cutoff terms remain on the right-hand side. -/ | |
| 1934 | -theorem constructed_particular_wave | |
| 1935 | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} | |
| 1936 | - (base : WaveCoefficients (P × Plane)) | |
| 1937 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1938 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 1939 | - (W : ℕ → ℝ → ℝ) | |
| 1940 | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) | |
| 1941 | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) | |
| 1942 | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) | |
| 1943 | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) | |
| 1944 | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) | |
| 1945 | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) | |
| 1946 | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) | |
| 1947 | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) | |
| 1948 | - {b M : ℝ} (hpos : 0 < b) | |
| 1949 | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) | |
| 1950 | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) | |
| 1951 | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) | |
| 1952 | - (hgeometry : CopyGeometryMatch s dirs base t g copy) | |
| 1953 | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) | |
| 1954 | - (hsource_smooth : ∀ n, ContDiffOn ℝ ∞ (source n) (hr.slowDomain ×ˢ univ)) | |
| 1955 | - (hκ : κ ≤ 1 / 2) (ψ : ℕ → P × Plane → ℝ) (hψ : UnweightedClass s 0 ψ) | |
| 1956 | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) | |
| 1957 | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs ψ)) : | |
| 1958 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 1959 | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 | |
| 1960 | - WaveClass s P α a.amplitude ∧ | |
| 1961 | - WaveClass s P α (a.corrected s dirs ψ).amplitude ∧ | |
| 1962 | - WaveClass s P (α + 1 / 2) (a.corrected s dirs ψ).pressure ∧ | |
| 1963 | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs ψ) ∧ | |
| 1964 | - ∀ n x, x ∈ s.domain → | |
| 1965 | - (a.corrected s dirs ψ).harmonicResidual s dirs n x + | |
| 1966 | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = | |
| 1967 | - (fun i => (a.constructedGood s dirs ψ n x i + | |
| 1968 | - excludedSlotError dirs ψ a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by | |
| 1969 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 1970 | - have h0 := complexCopy_inputBounds base t source g copy L hL W hr hi hb hN hNdot hA hf | |
| 1971 | - hpos hlower hupper hfrequency | |
| 1972 | - have hNa : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) (a.normal s dirs) := by | |
| 1973 | - apply hN.congr | |
| 1974 | - intro n x hx | |
| 1975 | - exact (hgeometry.normal n x hx).symm | |
| 1976 | - have hlow : ∀ n x, x ∈ s.domain → b ≤ ‖a.normal s dirs n x‖ := by | |
| 1977 | - intro n x hx | |
| 1978 | - change b ≤ ‖base.normal s dirs n x‖ | |
| 1979 | - rw [hgeometry.normal n x hx] | |
| 1980 | - exact hlower n x hx | |
| 1981 | - have hupp : ∀ n x, x ∈ s.domain → ‖a.normal s dirs n x‖ ≤ M := by | |
| 1982 | - intro n x hx | |
| 1983 | - change ‖base.normal s dirs n x‖ ≤ M | |
| 1984 | - rw [hgeometry.normal n x hx] | |
| 1985 | - exact hupper n x hx | |
| 1986 | - have hsolve := complexCopyCoefficients_principal base t source g copy L hL hr.open_slow hr.domain | |
| 1987 | - hr.coefficient_smooth hr.forcingMap_smooth hsource_smooth hr.current_slot hgeometry hfrequency_ne | |
| 1988 | - have hcorr := (h0.with_cutoff hψ).curlCorrection_class hR hNa hpos hlow hupp hfrequency | |
| 1989 | - have hc := (h0.with_cutoff hψ).add_curl_amplitude hκ (fun i => CurlClassBounds.class_component hcorr i) | |
| 1990 | - have hout := constructed_linear_wave_with_excluded h0 hκ hψ hR hNa hpos hlow hupp hfrequency hsolve hg | |
| 1991 | - exact ⟨component_classes h0.amplitude, component_classes hc.amplitude, hc.pressure, hout.1, hout.2⟩ | |
| 1992 | - | |
| 1993 | -/-- The cutoff remainder is both retained in the exact equation and proved | |
| 1994 | -smaller than every prescribed epsilon power under the Gaussian envelope. -/ | |
| 1995 | -theorem constructed_particular_wave_with_flat_error | |
| 1996 | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} | |
| 1997 | - (base : WaveCoefficients (P × Plane)) | |
| 1998 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 1999 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 2000 | - (W : ℕ → ℝ → ℝ) | |
| 2001 | - (hr : CopyControl s α (fun n => (realData (t n) (source n)).linearData) g copy L W) | |
| 2002 | - (hi : CopyControl s α (fun n => (imagData (t n) (source n)).linearData) g copy L W) | |
| 2003 | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) | |
| 2004 | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) | |
| 2005 | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) | |
| 2006 | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) | |
| 2007 | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) | |
| 2008 | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) | |
| 2009 | - {b M : ℝ} (hpos : 0 < b) | |
| 2010 | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) | |
| 2011 | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) | |
| 2012 | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) | |
| 2013 | - (hgeometry : CopyGeometryMatch s dirs base t g copy) | |
| 2014 | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) | |
| 2015 | - (hsource_smooth : ∀ n, ContDiffOn ℝ ∞ (source n) (hr.slowDomain ×ˢ univ)) | |
| 2016 | - (hκ : κ ≤ 1 / 2) (slot : GaussianTailFlat.SlotFamily s) | |
| 2017 | - (hfast : ∀ n, slot.linear n (dirs.fastScale n • dirs.fast) = (slot.length n)⁻¹) | |
| 2018 | - (edges : GaussianTailFlat.FlatEdges s) (scales : GaussianTailFlat.BandScaleControl s) | |
| 2019 | - {c : ℝ} (hc : 0 < c) | |
| 2020 | - (hW : ∀ n x, x ∈ s.domain → W n ((g n).coordinates (copy n) x.2).2 ≤ | |
| 2021 | - Real.exp (-c * (slot.coordinate n x - 1 / 2) ^ 2 * slot.length n)) | |
| 2022 | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) | |
| 2023 | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs slot.cutoff)) : | |
| 2024 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 2025 | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 | |
| 2026 | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs slot.cutoff) ∧ | |
| 2027 | - (∀ β : ℝ, UnweightedClass s β (excludedSlotError dirs slot.cutoff a.amplitude source)) ∧ | |
| 2028 | - ∀ n x, x ∈ s.domain → | |
| 2029 | - (a.corrected s dirs slot.cutoff).harmonicResidual s dirs n x + | |
| 2030 | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = | |
| 2031 | - (fun i => (a.constructedGood s dirs slot.cutoff n x i + | |
| 2032 | - excludedSlotError dirs slot.cutoff a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by | |
| 2033 | - have hres := constructed_particular_wave base t source g copy L hL W hr hi hb hN hNdot hA hf | |
| 2034 | - hpos hlower hupper hfrequency hgeometry hfrequency_ne hsource_smooth hκ slot.cutoff slot.cutoff_memClass hR hg | |
| 2035 | - exact ⟨hres.2.2.2.1, fun β => excludedSlotError_all_gains slot dirs hfast edges scales hres.1 hf hc hW β, | |
| 2036 | - hres.2.2.2.2⟩ | |
| 2037 | - | |
| 2038 | 1239 | |
| 2039 | 1240 | /-- Complete class and actual residual statements for the constructed complex |
| 2040 | 1241 | particular wave. Both Gaussian cutoff terms remain on the right-hand side. -/ |
| @@ -2096,50 +1297,6 @@ theorem constructed_modal_particular_wave | ||
| 2096 | 1297 | have hout := constructed_linear_wave_with_excluded h0 hκ hψ hR hNa hpos hlow hupp hfrequency hsolve hg |
| 2097 | 1298 | exact ⟨component_classes h0.amplitude, component_classes hc.amplitude, hc.pressure, hout.1, hout.2⟩ |
| 2098 | 1299 | |
| 2099 | -/-- The cutoff remainder is both retained in the exact equation and proved | |
| 2100 | -smaller than every prescribed epsilon power under the Gaussian envelope. -/ | |
| 2101 | -theorem constructed_modal_particular_wave_with_flat_error | |
| 2102 | - {s : StripData (P × Plane)} {α κ : ℝ} {dirs : GraphDirections (P × Plane)} | |
| 2103 | - (base : WaveCoefficients (P × Plane)) | |
| 2104 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 2105 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 2106 | - (W : ℕ → ℝ → ℝ) (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) | |
| 2107 | - (hr : ModalCopyControl s α d (fun n => realData (t n) (source n)) harmonic g copy L W) | |
| 2108 | - (hi : ModalCopyControl s α d (fun n => imagData (t n) (source n)) harmonic g copy L W) | |
| 2109 | - (hb : InputBounds s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α κ dirs (zeroAmplitudes base)) | |
| 2110 | - (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) | |
| 2111 | - (fun n p => (t n).normal (nativePoint (g n) (copy n) p))) | |
| 2112 | - (hNdot : UnweightedClass s 0 (fun n p => (t n).normalDot (nativePoint (g n) (copy n) p))) | |
| 2113 | - (hA : UnweightedClass s 0 (fun n p => (t n).action (nativePoint (g n) (copy n) p))) | |
| 2114 | - (hf : WaveClass s (fun n p => W n ((g n).coordinates (copy n) p.2).2) α source) | |
| 2115 | - {b M : ℝ} (hpos : 0 < b) | |
| 2116 | - (hlower : ∀ n p, p ∈ s.domain → b ≤ ‖(t n).normal (nativePoint (g n) (copy n) p)‖) | |
| 2117 | - (hupper : ∀ n p, p ∈ s.domain → ‖(t n).normal (nativePoint (g n) (copy n) p)‖ ≤ M) | |
| 2118 | - (hfrequency : BandBound s (1 / 2) (fun n => 1 / base.frequency n)) | |
| 2119 | - (hgeometry : CopyGeometryMatch s dirs base t g copy) | |
| 2120 | - (hfrequency_ne : ∀ n, base.frequency n ≠ 0) | |
| 2121 | - (hκ : κ ≤ 1 / 2) (slot : GaussianTailFlat.SlotFamily s) | |
| 2122 | - (hfast : ∀ n, slot.linear n (dirs.fastScale n • dirs.fast) = (slot.length n)⁻¹) | |
| 2123 | - (edges : GaussianTailFlat.FlatEdges s) (scales : GaussianTailFlat.BandScaleControl s) | |
| 2124 | - {c : ℝ} (hc : 0 < c) | |
| 2125 | - (hW : ∀ n x, x ∈ s.domain → W n ((g n).coordinates (copy n) x.2).2 ≤ | |
| 2126 | - Real.exp (-c * (slot.coordinate n x - 1 / 2) ^ 2 * slot.length n)) | |
| 2127 | - {R : P × Plane → ℝ} (hR : base.radius = fun _ => R) | |
| 2128 | - (hg : ExactConditions s dirs ((complexCopyCoefficients base t source g copy L hL).corrected s dirs slot.cutoff)) : | |
| 2129 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 2130 | - let P := fun n p => W n ((g n).coordinates (copy n) p.2).2 | |
| 2131 | - WaveClass s P (α + 1 / 2 - 3 * κ) (a.constructedGood s dirs slot.cutoff) ∧ | |
| 2132 | - (∀ β : ℝ, UnweightedClass s β (excludedSlotError dirs slot.cutoff a.amplitude source)) ∧ | |
| 2133 | - ∀ n x, x ∈ s.domain → | |
| 2134 | - (a.corrected s dirs slot.cutoff).harmonicResidual s dirs n x + | |
| 2135 | - (fun i => source n x i * carrier (a.frequency n) (a.phase n) x) = | |
| 2136 | - (fun i => (a.constructedGood s dirs slot.cutoff n x i + | |
| 2137 | - excludedSlotError dirs slot.cutoff a.amplitude source n x i) * carrier (a.frequency n) (a.phase n) x) := by | |
| 2138 | - have hres := constructed_modal_particular_wave base t source g copy L hL W d harmonic hr hi hb hN hNdot hA hf | |
| 2139 | - hpos hlower hupper hfrequency hgeometry hfrequency_ne hκ slot.cutoff slot.cutoff_memClass hR hg | |
| 2140 | - exact ⟨hres.2.2.2.1, fun β => excludedSlotError_all_gains slot dirs hfast edges scales hres.1 hf hc hW β, | |
| 2141 | - hres.2.2.2.2⟩ | |
| 2142 | - | |
| 2143 | 1300 | end ConstructedWave |
| 2144 | 1301 | |
| 2145 | 1302 | section AngularAndCurl |
| @@ -2148,74 +1305,8 @@ open CommonCoverSolve TorusInverse HarmonicCalculus WeightedClasses LinearWaveBo | ||
| 2148 | 1305 | |
| 2149 | 1306 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 2150 | 1307 | |
| 2151 | -/-- Primitive angular invariance of the real geometry and source is | |
| 2152 | -preserved by both actual complex outputs. The carrier remains equivariant. -/ | |
| 2153 | -theorem complexCopyCoefficients_invariant | |
| 2154 | - (base : WaveCoefficients (P × Plane)) | |
| 2155 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 2156 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 2157 | - (θ : P) | |
| 2158 | - (hr : ∀ n, CopyAngularInvariance.TangentInvariant θ (realData (t n) (source n))) | |
| 2159 | - (hi : ∀ n, CopyAngularInvariance.TangentInvariant θ (imagData (t n) (source n))) (n : ℕ) : | |
| 2160 | - CopyAngularInvariance.Invariant (θ, (0 : Plane)) | |
| 2161 | - ((complexCopyCoefficients base t source g copy L hL).amplitude n) ∧ | |
| 2162 | - CopyAngularInvariance.Invariant (θ, (0 : Plane)) | |
| 2163 | - ((complexCopyCoefficients base t source g copy L hL).pressure n) := by | |
| 2164 | - constructor | |
| 2165 | - · exact (((hr n).copySolve_invariant (g n) (hL n).le (copy n)).map CurlClassBounds.complexify).map₂ | |
| 2166 | - (((hi n).copySolve_invariant (g n) (hL n).le (copy n)).map CurlClassBounds.complexify) | |
| 2167 | - (fun a b => a + Complex.I • b) | |
| 2168 | - · exact ((hr n).copyPressure_invariant (g n) (hL n).le (copy n) (base.frequency n)).map₂ | |
| 2169 | - ((hi n).copyPressure_invariant (g n) (hL n).le (copy n) (base.frequency n)) | |
| 2170 | - (fun a b => a + Complex.I * b) | |
| 2171 | - | |
| 2172 | -/-- The modal construction really realizes the corrected field as a curl, | |
| 2173 | -and its actual harmonic divergence vanishes. No output tangency or smoothness | |
| 2174 | -hypothesis is used. -/ | |
| 2175 | -theorem modal_corrected_is_curl_and_divergence_zero | |
| 2176 | - {s : StripData (P × Plane)} {α : ℝ} {dirs : GraphDirections (P × Plane)} | |
| 2177 | - (base : WaveCoefficients (P × Plane)) | |
| 2178 | - (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) | |
| 2179 | - (g : ℕ → Geometry) (copy : ℕ → Frequency) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) | |
| 2180 | - (W : ℕ → ℝ → ℝ) (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) | |
| 2181 | - (hr : ModalCopyControl s α d (fun n => realData (t n) (source n)) harmonic g copy L W) | |
| 2182 | - (hi : ModalCopyControl s α d (fun n => imagData (t n) (source n)) harmonic g copy L W) | |
| 2183 | - (hgeometry : CopyGeometryMatch s dirs base t g copy) | |
| 2184 | - (ψ : ℕ → P × Plane → ℝ) (n : ℕ) (hψ : ContDiffOn ℝ ∞ (ψ n) s.domain) | |
| 2185 | - (G : CurlClassBounds.CylindricalGeometry s.domain (base.radius n) (dirs.radialField n) | |
| 2186 | - (fun _ => dirs.angular) (dirs.axialField s n)) | |
| 2187 | - (hK : base.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (base.phase n) s.domain) | |
| 2188 | - (hn : ∀ x ∈ s.domain, base.normal s dirs n x ≠ 0) {x : P × Plane} (hx : x ∈ s.domain) : | |
| 2189 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 2190 | - CurlClassBounds.cylindricalCurl (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) | |
| 2191 | - (dirs.axialField s n) ((a.withCutoff ψ).curlPotential s dirs n) x = | |
| 2192 | - vectorMode (base.frequency n) (base.phase n) ((a.corrected s dirs ψ).amplitude n) x ∧ | |
| 2193 | - cylindricalDivergence (base.radius n) (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) | |
| 2194 | - (vectorMode (base.frequency n) (base.phase n) ((a.corrected s dirs ψ).amplitude n)) x = 0 := by | |
| 2195 | - let a := complexCopyCoefficients base t source g copy L hL | |
| 2196 | - have hvr := CurlClassBounds.complexify.contDiff.comp_contDiffOn (hr.contDiffOn hL n) | |
| 2197 | - have hvi := CurlClassBounds.complexify.contDiff.comp_contDiffOn (hi.contDiffOn hL n) | |
| 2198 | - have hv : ContDiffOn ℝ ∞ (a.amplitude n) s.domain := | |
| 2199 | - hvr.add ((complexScale Complex.I).contDiff.comp_contDiffOn hvi) | |
| 2200 | - have ht := complexCopyCoefficients_tangent_of_modal base t source g copy L hL W d harmonic hr hi hgeometry n | |
| 2201 | - have hcut := cutoff_tangent (a := a) ψ n ht | |
| 2202 | - exact ⟨CurlClassBounds.cylindricalCurl_vectorPotential G hK hΦ (hψ.smul hv) hn hcut hx, | |
| 2203 | - CurlClassBounds.realizedCoefficient_divergence G hK hΦ (hψ.smul hv) hn hcut hx⟩ | |
| 2204 | - | |
| 2205 | 1308 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 2206 | 1309 | |
| 2207 | -/-- Localization is retained after taking the actual curl, including on | |
| 2208 | -the cutoff boundary. -/ | |
| 2209 | -theorem correctedCurl_tsupport_subset (s : StripData D) (dirs : GraphDirections D) | |
| 2210 | - (a : WaveCoefficients D) (ψ : ℕ → D → ℝ) (n : ℕ) : | |
| 2211 | - tsupport (CurlClassBounds.cylindricalCurl (a.radius n) (dirs.radialField n) (fun _ => dirs.angular) | |
| 2212 | - (dirs.axialField s n) ((a.withCutoff ψ).curlPotential s dirs n)) ⊆ | |
| 2213 | - tsupport (ψ n) ∩ tsupport (a.amplitude n) := by | |
| 2214 | - have h := CurlClassBounds.realizedWave_tsupport_subset (a.frequency n) (a.radius n) | |
| 2215 | - (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) (a.phase n) | |
| 2216 | - (fun x => ψ n x • a.amplitude n x) | |
| 2217 | - exact h.trans (subset_inter (tsupport_smul_subset_left _ _) (tsupport_smul_subset_right _ _)) | |
| 2218 | - | |
| 2219 | 1310 | end AngularAndCurl |
| 2220 | 1311 | |
| 2221 | 1312 | section RealityAndSupport |
| @@ -2224,96 +1315,6 @@ open CommonCoverSolve TorusInverse HarmonicCalculus | ||
| 2224 | 1315 | |
| 2225 | 1316 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 2226 | 1317 | |
| 2227 | -noncomputable def scaleTangentSource (t : TangentData P ProblemStatement.Space) (c : ℝ) : | |
| 2228 | - TangentData P ProblemStatement.Space := { t with source := fun p => c • t.source p } | |
| 2229 | - | |
| 2230 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2231 | -theorem copyVelocity_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) | |
| 2232 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (p : P × Plane) : | |
| 2233 | - copyVelocity (scaleTangentSource t c) g hab k p = c • copyVelocity t g hab k p := by | |
| 2234 | - change CurlClassBounds.complexify | |
| 2235 | - ((CopySolveCompatibility.scaleSource t.linearData c).copySolve g hab k p) = _ | |
| 2236 | - rw [CopySolveCompatibility.copySolve_scaleSource] | |
| 2237 | - exact map_smul _ _ _ | |
| 2238 | - | |
| 2239 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2240 | -theorem copyPressureReal_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) | |
| 2241 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (p : P × Plane) : | |
| 2242 | - copyPressureReal (scaleTangentSource t c) g hab k p = c * copyPressureReal t g hab k p := by | |
| 2243 | - have hs : (scaleTangentSource t c).linearData.copySolve g hab k p = | |
| 2244 | - c • t.linearData.copySolve g hab k p := | |
| 2245 | - CopySolveCompatibility.copySolve_scaleSource t.linearData g hab c k p.1 p.2 | |
| 2246 | - change TangentProjection.pressureCoefficient (t.normal (nativePoint g k p)) | |
| 2247 | - (t.normalDot (nativePoint g k p)) ((scaleTangentSource t c).linearData.copySolve g hab k p) | |
| 2248 | - (t.action (nativePoint g k p) ((scaleTangentSource t c).linearData.copySolve g hab k p)) | |
| 2249 | - (c • t.source p) = c * TangentProjection.pressureCoefficient (t.normal (nativePoint g k p)) | |
| 2250 | - (t.normalDot (nativePoint g k p)) (t.linearData.copySolve g hab k p) | |
| 2251 | - (t.action (nativePoint g k p) (t.linearData.copySolve g hab k p)) (t.source p) | |
| 2252 | - rw [hs] | |
| 2253 | - simp only [TangentProjection.pressureCoefficient, map_smul, real_inner_smul_right] | |
| 2254 | - ring | |
| 2255 | - | |
| 2256 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2257 | -theorem copyPressure_scaleSource (t : TangentData P ProblemStatement.Space) (c : ℝ) | |
| 2258 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (k : Frequency) (frequency : ℝ) (p : P × Plane) : | |
| 2259 | - copyPressure (scaleTangentSource t c) g hab k frequency p = c • copyPressure t g hab k frequency p := by | |
| 2260 | - simp only [copyPressure, copyPressureReal_scaleSource, Complex.ofReal_mul, Complex.real_smul] | |
| 2261 | - ring | |
| 2262 | - | |
| 2263 | -noncomputable def conjugateSource (f : P × Plane → ComplexVector) : P × Plane → ComplexVector := | |
| 2264 | - fun p i => star (f p i) | |
| 2265 | - | |
| 2266 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2267 | -theorem realData_conjugate (t : TangentData P ProblemStatement.Space) (f : P × Plane → ComplexVector) : | |
| 2268 | - realData t (conjugateSource f) = realData t f := by | |
| 2269 | - have he : (fun p => realPart (conjugateSource f p)) = fun p => realPart (f p) := by | |
| 2270 | - funext p | |
| 2271 | - ext i | |
| 2272 | - simp [conjugateSource] | |
| 2273 | - unfold realData | |
| 2274 | - rw [he] | |
| 2275 | - | |
| 2276 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2277 | -theorem imagData_conjugate (t : TangentData P ProblemStatement.Space) (f : P × Plane → ComplexVector) : | |
| 2278 | - imagData t (conjugateSource f) = scaleTangentSource (imagData t f) (-1) := by | |
| 2279 | - have he : (fun p => imagPart (conjugateSource f p)) = fun p => (-1 : ℝ) • imagPart (f p) := by | |
| 2280 | - funext p | |
| 2281 | - ext i | |
| 2282 | - simp [conjugateSource] | |
| 2283 | - unfold imagData scaleTangentSource | |
| 2284 | - rw [he] | |
| 2285 | - | |
| 2286 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2287 | -/-- Conjugation of a source conjugates the actual zero-entry velocity. -/ | |
| 2288 | -theorem complexCopyVelocity_conjugate (t : TangentData P ProblemStatement.Space) | |
| 2289 | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 2290 | - (k : Frequency) (p : P × Plane) : | |
| 2291 | - complexCopyVelocity t (conjugateSource f) g hab k p = | |
| 2292 | - fun i => star (complexCopyVelocity t f g hab k p i) := by | |
| 2293 | - rw [complexCopyVelocity, realData_conjugate, imagData_conjugate, copyVelocity_scaleSource] | |
| 2294 | - ext i | |
| 2295 | - simp [complexCopyVelocity, copyVelocity] | |
| 2296 | - | |
| 2297 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2298 | -/-- The sign change of the harmonic frequency is essential to pressure | |
| 2299 | -conjugation. This proves the symmetry required for a real paired wave. -/ | |
| 2300 | -theorem complexCopyPressure_conjugate (t : TangentData P ProblemStatement.Space) | |
| 2301 | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 2302 | - (k : Frequency) (frequency : ℝ) (p : P × Plane) : | |
| 2303 | - complexCopyPressure t (conjugateSource f) g hab k (-frequency) p = | |
| 2304 | - star (complexCopyPressure t f g hab k frequency p) := by | |
| 2305 | - rw [complexCopyPressure, realData_conjugate, imagData_conjugate, copyPressure_scaleSource] | |
| 2306 | - simp [complexCopyPressure, copyPressure] | |
| 2307 | - ring | |
| 2308 | - | |
| 2309 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 2310 | -theorem complexCopyVelocity_at_entry (t : TangentData P ProblemStatement.Space) | |
| 2311 | - (f : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 2312 | - (k : Frequency) (p : P) (ξ : ℝ) : | |
| 2313 | - complexCopyVelocity t f g hab k (p, g.point k (ξ, a)) = 0 := by | |
| 2314 | - simp only [complexCopyVelocity, copyVelocity, LinearData.copySolve_at_entry, | |
| 2315 | - map_zero, smul_zero, add_zero] | |
| 2316 | - | |
| 2317 | 1318 | /-- Support is propagated along the actual earlier-point path. Pointwise |
| 2318 | 1319 | vanishing of the source at only the current point is not used. -/ |
| 2319 | 1320 | theorem complexCopyVelocity_zero_of_path (t : TangentData P ProblemStatement.Space) |
| @@ -2398,48 +1399,6 @@ noncomputable def periodizedCopies (g : Geometry) (κ : Plane → ℝ) | ||
| 2398 | 1399 | (F : Frequency → P × Plane → H) (p : P × Plane) : H := |
| 2399 | 1400 | ∑' k : Frequency, κ (g.coordinates k p.2) • F k p |
| 2400 | 1401 | |
| 2401 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in | |
| 2402 | -/-- Compact localization makes the displayed series an actual finite sum | |
| 2403 | -at each point; no summability fallback is used by the construction. -/ | |
| 2404 | -theorem periodizedCopies_eq_finite_sum (g : Geometry) {κ : Plane → ℝ} (hκ : HasCompactSupport κ) | |
| 2405 | - (F : Frequency → P × Plane → H) (p : P × Plane) : | |
| 2406 | - ∃ I : Finset Frequency, periodizedCopies g κ F p = ∑ k ∈ I, κ (g.coordinates k p.2) • F k p := by | |
| 2407 | - obtain ⟨I, hI⟩ := g.finite_copy_cutoffs hκ ‖p.2‖ | |
| 2408 | - refine ⟨I, tsum_eq_sum (fun k hk => ?_)⟩ | |
| 2409 | - rw [hI p.2 le_rfl k hk, zero_smul] | |
| 2410 | - | |
| 2411 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in | |
| 2412 | -/-- On a plateau occupied by exactly one copy, periodization gives that | |
| 2413 | -actual copy. No summability convention enters this equality. -/ | |
| 2414 | -theorem periodizedCopies_eq_single (g : Geometry) (κ : Plane → ℝ) | |
| 2415 | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) | |
| 2416 | - (hk : κ (g.coordinates k p.2) = 1) | |
| 2417 | - (hother : ∀ l : Frequency, l ≠ k → κ (g.coordinates l p.2) = 0) : | |
| 2418 | - periodizedCopies g κ F p = F k p := by | |
| 2419 | - unfold periodizedCopies | |
| 2420 | - rw [tsum_eq_single k (fun l hl => by rw [hother l hl, zero_smul]), hk, one_smul] | |
| 2421 | - | |
| 2422 | -omit [NormedSpace ℝ P] [CompleteSpace H] in | |
| 2423 | -theorem periodizedCopies_eventuallyEq_single (g : Geometry) (κ : Plane → ℝ) | |
| 2424 | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) | |
| 2425 | - (hκ : ∀ᶠ y in 𝓝 p, κ (g.coordinates k y.2) = 1 ∧ | |
| 2426 | - ∀ l : Frequency, l ≠ k → κ (g.coordinates l y.2) = 0) : | |
| 2427 | - periodizedCopies g κ F =ᶠ[𝓝 p] F k := by | |
| 2428 | - filter_upwards [hκ] with y hy | |
| 2429 | - exact periodizedCopies_eq_single g κ F k y hy.1 hy.2 | |
| 2430 | - | |
| 2431 | -omit [CompleteSpace H] in | |
| 2432 | -/-- Germ agreement preserves every actual Fréchet derivative, including | |
| 2433 | -mixed derivatives in the slow and torus variables. -/ | |
| 2434 | -theorem periodizedCopies_iteratedFDeriv_eq_single (g : Geometry) (κ : Plane → ℝ) | |
| 2435 | - (F : Frequency → P × Plane → H) (k : Frequency) (p : P × Plane) | |
| 2436 | - (hκ : ∀ᶠ y in 𝓝 p, κ (g.coordinates k y.2) = 1 ∧ | |
| 2437 | - ∀ l : Frequency, l ≠ k → κ (g.coordinates l y.2) = 0) (m : ℕ) : | |
| 2438 | - iteratedFDeriv ℝ m (periodizedCopies g κ F) p = iteratedFDeriv ℝ m (F k) p := by | |
| 2439 | - have he := periodizedCopies_eventuallyEq_single g κ F k p hκ | |
| 2440 | - have hw : periodizedCopies g κ F =ᶠ[𝓝[univ] p] F k := by simpa only [nhdsWithin_univ] using he | |
| 2441 | - simpa only [iteratedFDerivWithin_univ] using hw.iteratedFDerivWithin_eq he.self_of_nhds m | |
| 2442 | - | |
| 2443 | 1402 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace H] in |
| 2444 | 1403 | theorem periodizedCopies_periodic (g : Geometry) (κ : Plane → ℝ) |
| 2445 | 1404 | (F : Frequency → P × Plane → H) (p : P) |
| @@ -2534,22 +1493,6 @@ theorem phaseNormal_reindex (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz | ||
| 2534 | 1493 | (fun y => Φ (e y)) x = phaseNormal R Vr Vθ Vz Φ (e x) := by |
| 2535 | 1494 | simp only [phaseNormal, along_reindex e _ hΦ] |
| 2536 | 1495 | |
| 2537 | -theorem principal_reindex (e : E ≃ₗᵢ[ℝ] F) (ε frequency : ℝ) | |
| 2538 | - (R F₀ G Φ : F → ℝ) (Vr Vθ Vz Vf : F → F) (a : F → ComplexVector) (p : F → ℂ) | |
| 2539 | - {x : E} (hF : DifferentiableAt ℝ F₀ (e x)) (hG : DifferentiableAt ℝ G (e x)) | |
| 2540 | - (hΦ : DifferentiableAt ℝ Φ (e x)) | |
| 2541 | - (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) (e x)) : | |
| 2542 | - LinearWaveResidual.principal ε frequency (fun y => R (e y)) (fun y => F₀ (e y)) (fun y => G (e y)) | |
| 2543 | - (reindexVector e Vr) (reindexVector e Vθ) (reindexVector e Vz) (reindexVector e Vf) | |
| 2544 | - (fun y => Φ (e y)) (fun y => a (e y)) (fun y => p (e y)) x = | |
| 2545 | - LinearWaveResidual.principal ε frequency R F₀ G Vr Vθ Vz Vf Φ a p (e x) := by | |
| 2546 | - have hN := phaseNormal_reindex e R Vr Vθ Vz hΦ | |
| 2547 | - have hK : LinearWaveResidual.shear (fun y => R (e y)) (fun y => F₀ (e y)) (fun y => G (e y)) | |
| 2548 | - (reindexVector e Vr) (fun y => a (e y)) x = LinearWaveResidual.shear R F₀ G Vr a (e x) := by | |
| 2549 | - simp only [LinearWaveResidual.shear, along_reindex e Vr hF, along_reindex e Vr hG] | |
| 2550 | - ext i | |
| 2551 | - simp only [LinearWaveResidual.principal, hN, hK, along_reindex e Vf (ha i)] | |
| 2552 | - | |
| 2553 | 1496 | noncomputable def reindexCoefficients (e : E ≃ₗᵢ[ℝ] F) (a : WaveCoefficients F) : WaveCoefficients E where |
| 2554 | 1497 | radius n x := a.radius n (e x) |
| 2555 | 1498 | radialBase n x := a.radialBase n (e x) |
+0 −56 NavierStokes/ParticularWithinBounds.lean View file
| @@ -14,60 +14,4 @@ open PrimaryPulseBounds | ||
| 14 | 14 | variable {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 15 | 15 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 16 | 16 | |
| 17 | -/-- The same explicit forced bound for genuine within jets, at slow-time | |
| 18 | -boundaries and at both pulse endpoints. Input estimates are required only | |
| 19 | -in the interior slow domain. Their constants survive passage to the trace. | |
| 20 | --/ | |
| 21 | -theorem forced_joint_jet_bound_within | |
| 22 | - {L S K μ w : ℝ} (hL : 0 < L) (hS : 1 ≤ S) (hK : 1 ≤ K) (hμ : 0 ≤ μ) | |
| 23 | - (hw : 0 ≤ w) (hslot : L ≤ K * S) (hExp : Real.exp (μ * L) ≤ K) | |
| 24 | - {U : Set Q} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 25 | - (A : Q × ℝ → H →L[ℝ] H) (hA : ContDiffOn ℝ ∞ A (U ×ˢ univ)) | |
| 26 | - (P rate : ℝ → ℝ) (hP : ∀ t, 0 < P t) | |
| 27 | - (hdP : ∀ t, HasDerivAt P (rate t * P t) t) | |
| 28 | - (f : Q × ℝ → H) (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 29 | - {p : Q} (hp : p ∈ U) (hpc : p ∈ closure (interior U)) | |
| 30 | - {t : ℝ} (ht : t ∈ Icc 0 L) | |
| 31 | - (henergy : ∀ q ∈ interior U, ∀ v ∈ Icc 0 L, ∀ x : H, | |
| 32 | - ⟪x, A (q, v) x⟫_ℝ ≤ (rate v + μ) * ‖x‖ ^ 2) | |
| 33 | - (m N : ℕ) | |
| 34 | - (hjets : ∀ q ∈ interior U, ∀ j ≤ N, ∀ v ∈ Icc 0 L, | |
| 35 | - ‖iteratedFDeriv ℝ j A (q, v)‖ ≤ K * S ^ m) | |
| 36 | - (hfjets : ∀ q ∈ interior U, ∀ j ≤ N, ∀ v ∈ Icc 0 L, | |
| 37 | - ‖iteratedFDeriv ℝ j f (q, v)‖ ≤ w * K * S ^ m * P v) | |
| 38 | - (j : ℕ) (hj : j ≤ N) : | |
| 39 | - ‖iteratedFDerivWithin ℝ j | |
| 40 | - (JointODE.actualSolution hL.le A (fun _ => 0) f) (U ×ˢ Icc 0 L) (p, t)‖ ≤ | |
| 41 | - w * ((2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3) ^ (j + 1) * | |
| 42 | - S ^ ((m + 2) * (j + 1)) * P t := by | |
| 43 | - let r := JointODE.reparamSolution 0 A (fun _ => 0) f | |
| 44 | - have hrs : ContDiffOn ℝ ∞ r (U ×ˢ univ) := | |
| 45 | - WithinJointODE.contDiffOn_reparamSolution hU hu A (fun _ => 0) f hA contDiffOn_const hf | |
| 46 | - have heq : EqOn r (JointODE.actualSolution hL.le A (fun _ => 0) f) (U ×ˢ Icc 0 L) := by | |
| 47 | - intro z hz | |
| 48 | - exact JointODE.reparamSolution_eq_actualSolution hL.le A (fun _ => 0) f | |
| 49 | - (hA.continuousOn.mono (Set.prod_mono Subset.rfl (subset_univ _))) | |
| 50 | - (hf.continuousOn.mono (Set.prod_mono Subset.rfl (subset_univ _))) hz | |
| 51 | - rw [← iteratedFDerivWithin_congr heq ⟨hp, ht⟩ j, | |
| 52 | - iteratedFDerivWithin_subset (Set.prod_mono Subset.rfl (subset_univ _)) | |
| 53 | - (hu.prod (uniqueDiffOn_Icc hL)) (hu.prod uniqueDiffOn_univ) | |
| 54 | - (hrs.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl j)) ⟨hp, ht⟩] | |
| 55 | - let B : Q × ℝ → ℝ := fun z => | |
| 56 | - w * ((2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3) ^ (j + 1) * | |
| 57 | - S ^ ((m + 2) * (j + 1)) * P z.2 | |
| 58 | - have hPc : Continuous P := continuous_iff_continuousAt.mpr (fun x => (hdP x).continuousAt) | |
| 59 | - refine WithinJetClosure.norm_iteratedFDerivWithin_le | |
| 60 | - (O := interior U ×ˢ Ioo (0 : ℝ) L) (hu.prod uniqueDiffOn_univ) | |
| 61 | - (isOpen_interior.prod isOpen_Ioo) (Set.prod_mono interior_subset (subset_univ _)) hrs | |
| 62 | - (B := B) (continuous_const.mul (hPc.comp continuous_snd)).continuousOn j ?_ | |
| 63 | - ⟨hp, mem_univ _⟩ ?_ | |
| 64 | - · intro z hz | |
| 65 | - exact forced_joint_jet_bound hL hS hK hμ hw hslot hExp | |
| 66 | - (interior U) univ isOpen_interior isOpen_univ (subset_univ _) A | |
| 67 | - (hA.mono (Set.prod_mono interior_subset Subset.rfl)) P rate hP hdP f | |
| 68 | - (hf.mono (Set.prod_mono interior_subset Subset.rfl)) hz.1 (Ioo_subset_Icc_self hz.2) | |
| 69 | - (henergy z.1 hz.1) m N (hjets z.1 hz.1) (hfjets z.1 hz.1) j hj | |
| 70 | - · rw [closure_prod_eq, closure_Ioo hL.ne] | |
| 71 | - exact ⟨hpc, ht⟩ | |
| 72 | - | |
| 73 | 17 | end NavierStokes.ParticularWaveBounds |
+3 −3 NavierStokes/PhaseJetBounds.lean View file
| @@ -736,9 +736,9 @@ theorem frameJets_ofNormalLocal | ||
| 736 | 736 | rw [he, abs_zero] at hbnd |
| 737 | 737 | linarith |
| 738 | 738 | |
| 739 | -/-- The form consumed by `PrimaryODE.norm_iteratedFDeriv_solution_le_polynomial` | |
| 740 | -and `WeightedODEJets`: all parameter jets at fixed slot time share one | |
| 741 | -constant and one power of S. The constant is independent of the slot time. -/ | |
| 739 | +/-- The form consumed by `WeightedODEJets`: all parameter jets at fixed slot | |
| 740 | +time share one constant and one power of S. The constant is independent of | |
| 741 | +the slot time. -/ | |
| 742 | 742 | theorem PolynomialJets.parameter_bound {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 743 | 743 | {f : ι → Q × ℝ → F} (hf : PolynomialJets D f) (N : ℕ) : |
| 744 | 744 | ∃ C : ℝ, 1 ≤ C ∧ ∃ m : ℕ, ∀ i p v, (p, v) ∈ D.carrier i → |
+0 −310 NavierStokes/PrimaryCopyBounds.lean View file
| @@ -373,26 +373,6 @@ noncomputable def primaryVelocity (F : Fin 2 → PhaseConstruction U) | ||
| 373 | 373 | PartitionedCovariance.amplitude (ε i) (mask i x) (pulseMatrix F pref χ i x) (T i x) j • |
| 374 | 374 | pulseVector F χ j i x |
| 375 | 375 | |
| 376 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 377 | -theorem primaryVelocity_mask_mul (F : Fin 2 → PhaseConstruction U) | |
| 378 | - (pref : Fin 2 → ι → ℝ) (χ : ι → D → PhaseCalculus.Slow × ℝ) (ε : ι → ℝ) | |
| 379 | - (T : ι → D → SmoothCovariance.Vec2) (mask κ : ι → D → ℝ) (j : Fin 2) (i : ι) (x : D) : | |
| 380 | - primaryVelocity F pref χ ε T (fun i x => κ i x * mask i x) j i x = | |
| 381 | - κ i x • primaryVelocity F pref χ ε T mask j i x := by | |
| 382 | - simp only [primaryVelocity, PartitionedCovariance.amplitude, smul_smul] | |
| 383 | - congr 1 | |
| 384 | - ring | |
| 385 | - | |
| 386 | -theorem primaryVelocity_complexify {U : Domain ℕ PhaseCalculus.Slow} | |
| 387 | - (s : StripData D) (F : Fin 2 → PhaseConstruction U) (pref : Fin 2 → ℕ → ℝ) | |
| 388 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (T : ℕ → D → SmoothCovariance.Vec2) | |
| 389 | - (mask : ℕ → D → ℝ) (j : Fin 2) (n : ℕ) (x : D) : | |
| 390 | - CurlClassBounds.complexify (primaryVelocity F pref χ s.epsilon T mask j n x) = | |
| 391 | - PrimaryPulseBounds.uncutPrimaryWave s pref (fun j => (F j).frame) | |
| 392 | - (fun j => (F j).lam) (fun j => (F j).u) (fun j => (F j).L) χ T mask j n x := by | |
| 393 | - simp only [primaryVelocity, map_smul, PrimaryPulseBounds.uncutPrimaryWave, | |
| 394 | - primaryCoefficient, chartCovariance, pulseMatrix, pulseVector] | |
| 395 | - | |
| 396 | 376 | theorem pulseMatrix_jets (F : Fin 2 → PhaseConstruction U) |
| 397 | 377 | (pref : Fin 2 → ι → ℝ) (χ : ι → D → PhaseCalculus.Slow × ℝ) |
| 398 | 378 | (hscale : ∀ i, U.scale i = V.scale i) |
| @@ -484,44 +464,6 @@ theorem constant_weight (a : ι → E) (v : ι → ℝ) (hv : ∀ i, 0 ≤ v i) | ||
| 484 | 464 | exact mul_nonneg (mul_nonneg (zero_le_one.trans hC) |
| 485 | 465 | (pow_nonneg (zero_le_one.trans (V.one_le_growth i hx)) _)) (hv i) |
| 486 | 466 | |
| 487 | -/-- A compactly contained outer cutoff extends the true native function. | |
| 488 | -Every cutoff derivative is included in the product estimate. -/ | |
| 489 | -theorem localize {V' : JetDomain ι D} {a : ι → D → ℝ} | |
| 490 | - (hf : NativeJets V w f) (ha : PolynomialJets V'.toDomain a) | |
| 491 | - (hscale : ∀ i, V'.scale i = V.scale i) | |
| 492 | - (hsub : ∀ i, V.carrier i ⊆ V'.carrier i) | |
| 493 | - (hgrowth : ∀ i x, x ∈ V.carrier i → V.growth i x = V'.growth i x) | |
| 494 | - (hw : ∀ i x, x ∈ V'.carrier i → 0 ≤ w i x) | |
| 495 | - (hsupport : ∀ i, tsupport (a i) ∩ V'.carrier i ⊆ V.carrier i) : | |
| 496 | - NativeJets V' w (fun i x => a i x • f i x) := by | |
| 497 | - have ha' : PolynomialJets V.toDomain a := by | |
| 498 | - refine ⟨fun i => (ha.smooth i).mono (hsub i), ?_⟩ | |
| 499 | - intro m | |
| 500 | - obtain ⟨C, hC, p, hb⟩ := ha.bound m | |
| 501 | - exact ⟨C, hC, p, fun i j hj x hx => by simpa only [hscale] using hb i j hj x (hsub i hx)⟩ | |
| 502 | - have hp := hf.polynomial_smul ha' | |
| 503 | - have hout (i : ι) (x : D) (hx : x ∈ V'.carrier i) (hn : x ∉ V.carrier i) : | |
| 504 | - (fun y => a i y • f i y) =ᶠ[𝓝 x] fun _ => (0 : E) := by | |
| 505 | - have ht : x ∉ tsupport (a i) := fun ht => hn (hsupport i ⟨ht, hx⟩) | |
| 506 | - filter_upwards [notMem_tsupport_iff_eventuallyEq.mp ht] with y hy | |
| 507 | - simp only [hy, Pi.zero_apply, zero_smul] | |
| 508 | - refine ⟨hw, ?_, ?_⟩ | |
| 509 | - · intro i x hx | |
| 510 | - by_cases hi : x ∈ V.carrier i | |
| 511 | - · exact ((hp.smooth i).contDiffAt ((V.isOpen i).mem_nhds hi)).contDiffWithinAt | |
| 512 | - · exact (contDiffAt_const.congr_of_eventuallyEq (hout i x hx hi)).contDiffWithinAt | |
| 513 | - · intro m | |
| 514 | - obtain ⟨C, hC, p, hb⟩ := hp.bound m | |
| 515 | - refine ⟨C, hC, p, ?_⟩ | |
| 516 | - intro i x hx j hj | |
| 517 | - by_cases hi : x ∈ V.carrier i | |
| 518 | - · simpa only [hgrowth i x hi] using hb i x hi j hj | |
| 519 | - · rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (hout i x hx hi) j, | |
| 520 | - iteratedFDeriv_fun_zero] | |
| 521 | - simp only [Pi.zero_apply, norm_zero] | |
| 522 | - exact mul_nonneg (mul_nonneg (zero_le_one.trans hC) | |
| 523 | - (pow_nonneg (zero_le_one.trans (V'.one_le_growth i hx)) _)) (hw i x hx) | |
| 524 | - | |
| 525 | 467 | end NativeJets |
| 526 | 468 | |
| 527 | 469 | section PressureGain |
| @@ -691,13 +633,6 @@ theorem profile_mul_outerCutoff (t : ℝ) : | ||
| 691 | 633 | · rw [outerCutoff_one h, mul_one] |
| 692 | 634 | · rw [GaussianTailFlat.profile_zero (le_of_not_ge h), zero_mul] |
| 693 | 635 | |
| 694 | -theorem outerCutoff_jet_bounded (m : ℕ) : | |
| 695 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ t : ℝ, ‖iteratedFDeriv ℝ m outerCutoff t‖ ≤ C := by | |
| 696 | - have hs := outerBump.hasCompactSupport.iteratedFDeriv (𝕜 := ℝ) m | |
| 697 | - obtain ⟨C, hC⟩ := hs.exists_bound_of_continuous | |
| 698 | - (outerCutoff_smooth.continuous_iteratedFDeriv (nat_le_infty m)) | |
| 699 | - exact ⟨max C 0, le_max_right _ _, fun t => (hC t).trans (le_max_left _ _)⟩ | |
| 700 | - | |
| 701 | 636 | theorem affine_profile_jets (U : Domain ι D) (f : ℝ → ℝ) (hf : ContDiff ℝ ∞ f) |
| 702 | 637 | (hjets : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ t : ℝ, ‖iteratedFDeriv ℝ m f t‖ ≤ C) |
| 703 | 638 | (L : ι → D →L[ℝ] ℝ) (c : ι → ℝ) {K : ℝ} (hK : 1 ≤ K) (q : ℕ) |
| @@ -719,12 +654,6 @@ theorem affine_profile_jets (U : Domain ι D) (f : ℝ → ℝ) (hf : ContDiff | ||
| 719 | 654 | (by positivity) (by linarith) |
| 720 | 655 | _ = _ := by rw [mul_pow, ← pow_mul]; ring |
| 721 | 656 | |
| 722 | -theorem outerCutoff_affine_jets (U : Domain ι D) (L : ι → D →L[ℝ] ℝ) | |
| 723 | - (c : ι → ℝ) {K : ℝ} (hK : 1 ≤ K) (q : ℕ) | |
| 724 | - (hL : ∀ i, ‖L i‖ ≤ K * U.scale i ^ q) : | |
| 725 | - PolynomialJets U (fun i x => outerCutoff (L i x + c i)) := | |
| 726 | - affine_profile_jets U outerCutoff outerCutoff_smooth outerCutoff_jet_bounded L c hK q hL | |
| 727 | - | |
| 728 | 657 | theorem gaussianCutoff_affine_jets (U : Domain ι D) (L : ι → D →L[ℝ] ℝ) |
| 729 | 658 | (c : ι → ℝ) {K : ℝ} (hK : 1 ≤ K) (q : ℕ) |
| 730 | 659 | (hL : ∀ i, ‖L i‖ ≤ K * U.scale i ^ q) : |
| @@ -732,40 +661,6 @@ theorem gaussianCutoff_affine_jets (U : Domain ι D) (L : ι → D →L[ℝ] ℝ | ||
| 732 | 661 | affine_profile_jets U GaussianTailFlat.profile GaussianTailFlat.profile_contDiff |
| 733 | 662 | GaussianTailFlat.profile_jet_bounded L c hK q hL |
| 734 | 663 | |
| 735 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 736 | -/-- The outer extension never inserts a second Gaussian cutoff. -/ | |
| 737 | -theorem gaussian_outer_primary (u : D → E) (τ : D → ℝ) : | |
| 738 | - (fun x => GaussianTailFlat.profile (τ x) • (outerCutoff (τ x) • u x)) = | |
| 739 | - (fun x => GaussianTailFlat.profile (τ x) • u x) := by | |
| 740 | - funext x | |
| 741 | - rw [smul_smul, profile_mul_outerCutoff] | |
| 742 | - | |
| 743 | -theorem outerCutoff_affine_support (L : D →L[ℝ] ℝ) (c : ℝ) : | |
| 744 | - tsupport (fun x => outerCutoff (L x + c)) ⊆ {x | L x + c ∈ Ioo (0 : ℝ) 1} := by | |
| 745 | - have hs : tsupport (fun x => outerCutoff (L x + c)) ⊆ | |
| 746 | - {x | L x + c ∈ Icc (1 / 12 : ℝ) (11 / 12)} := by | |
| 747 | - apply closure_minimal _ (isClosed_Icc.preimage (L.continuous.add continuous_const)) | |
| 748 | - intro x hx | |
| 749 | - exact outerCutoff_support (subset_tsupport outerCutoff hx) | |
| 750 | - intro x hx | |
| 751 | - have h := hs hx | |
| 752 | - constructor <;> linarith [h.1, h.2] | |
| 753 | - | |
| 754 | -/-- The actual outer cutoff permits a larger native domain while retaining | |
| 755 | -the uncut fundamental's Gaussian envelope and flat weight. -/ | |
| 756 | -theorem outer_localized_jets {V V' : JetDomain ι D} {w : ι → D → ℝ} {f : ι → D → E} | |
| 757 | - (hf : NativeJets V w f) (L : ι → D →L[ℝ] ℝ) (c : ι → ℝ) | |
| 758 | - {K : ℝ} (hK : 1 ≤ K) (q : ℕ) (hL : ∀ i, ‖L i‖ ≤ K * V'.scale i ^ q) | |
| 759 | - (hscale : ∀ i, V'.scale i = V.scale i) | |
| 760 | - (hsub : ∀ i, V.carrier i ⊆ V'.carrier i) | |
| 761 | - (hgrowth : ∀ i x, x ∈ V.carrier i → V.growth i x = V'.growth i x) | |
| 762 | - (hinside : ∀ i x, x ∈ V'.carrier i → L i x + c i ∈ Ioo (0 : ℝ) 1 → x ∈ V.carrier i) | |
| 763 | - (hw : ∀ i x, x ∈ V'.carrier i → 0 ≤ w i x) : | |
| 764 | - NativeJets V' w (fun i x => outerCutoff (L i x + c i) • f i x) := by | |
| 765 | - apply hf.localize (outerCutoff_affine_jets V'.toDomain L c hK q hL) hscale hsub hgrowth hw | |
| 766 | - intro i x hx | |
| 767 | - exact hinside i x hx.2 (outerCutoff_affine_support (L i) (c i) hx.1) | |
| 768 | - | |
| 769 | 664 | /-! ### Transfer to the actual copy coordinates -/ |
| 770 | 665 | |
| 771 | 666 | section Copies |
| @@ -839,66 +734,6 @@ theorem NativeJets.copy_localJets (hf : NativeJets V w f) | ||
| 839 | 734 | rw [majorant, mul_pow, ← pow_mul, pow_add] |
| 840 | 735 | ring |
| 841 | 736 | |
| 842 | -/-- A literal cutoff times the native function gives its own support | |
| 843 | -proof. Local finiteness and uniqueness then retain the very same uniform | |
| 844 | -constants in the actual infinite copy sum. -/ | |
| 845 | -theorem NativeJets.localized_copy_sum_uniformClass (hf : NativeJets V w f) | |
| 846 | - (s : StripData X) (W : Λ → ℕ → X → ℝ) (α : ℝ) | |
| 847 | - (κ : ι → D → ℝ) (hκ : PolynomialJets V.toDomain κ) | |
| 848 | - (index : Λ → ℕ → ι) (L : Λ → ℕ → I → X →L[ℝ] D) (c : Λ → ℕ → I → D) | |
| 849 | - (K : Λ → PeriodizedWaveBounds.Cells X I) | |
| 850 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 851 | - (hcut : ∀ l n i x, κ (index l n) (L l n i x + c l n i) ≠ 0 → x ∈ (K l).carrier n i) | |
| 852 | - (hmap : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 853 | - L l n i x + c l n i ∈ V.carrier (index l n)) | |
| 854 | - {A B : ℝ} (hA : 1 ≤ A) (hB : 1 ≤ B) (a b : ℕ) | |
| 855 | - (hgrowth : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 856 | - V.growth (index l n) (L l n i x + c l n i) ≤ A * s.growth n x ^ a) | |
| 857 | - (hlinear : ∀ l n i, ‖L l n i‖ ≤ B * s.slow n ^ b) | |
| 858 | - (hweight : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 859 | - w (index l n) (L l n i x + c l n i) ≤ s.epsilon n ^ α * W l n x) : | |
| 860 | - LabelSumBounds.UniformClass s W α | |
| 861 | - (fun l n => PeriodizedWaveBounds.copySum | |
| 862 | - (affineCopy (fun i x => κ i x • f i x) index L c l n)) := by | |
| 863 | - apply PeriodizedWaveBounds.copySum_uniformClass K hW | |
| 864 | - · intro l n i x hx | |
| 865 | - apply hcut l n i x | |
| 866 | - intro he | |
| 867 | - exact hx (by simp only [affineCopy, he, zero_smul]) | |
| 868 | - · exact (hf.polynomial_smul hκ).copy_localJets s W α index L c | |
| 869 | - (fun l => (K l).carrier) hW hmap hA hB a b hgrowth hlinear hweight | |
| 870 | - | |
| 871 | -/-- The explicit outer slot bump is included in the differentiated | |
| 872 | -cutoff. This endpoint assumes support only of the scalar cutoffs. -/ | |
| 873 | -theorem NativeJets.outer_copy_sum_uniformClass (hf : NativeJets V w f) | |
| 874 | - (s : StripData X) (W : Λ → ℕ → X → ℝ) (α : ℝ) | |
| 875 | - (κ : ι → D → ℝ) (hκ : PolynomialJets V.toDomain κ) | |
| 876 | - (τ : ι → D →L[ℝ] ℝ) (t0 : ι → ℝ) {H : ℝ} (hH : 1 ≤ H) (q : ℕ) | |
| 877 | - (hτ : ∀ i, ‖τ i‖ ≤ H * V.scale i ^ q) | |
| 878 | - (index : Λ → ℕ → ι) (L : Λ → ℕ → I → X →L[ℝ] D) (c : Λ → ℕ → I → D) | |
| 879 | - (K : Λ → PeriodizedWaveBounds.Cells X I) | |
| 880 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 881 | - (hcut : ∀ l n i x, κ (index l n) (L l n i x + c l n i) ≠ 0 → | |
| 882 | - outerCutoff (τ (index l n) (L l n i x + c l n i) + t0 (index l n)) ≠ 0 → | |
| 883 | - x ∈ (K l).carrier n i) | |
| 884 | - (hmap : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 885 | - L l n i x + c l n i ∈ V.carrier (index l n)) | |
| 886 | - {A B : ℝ} (hA : 1 ≤ A) (hB : 1 ≤ B) (a b : ℕ) | |
| 887 | - (hgrowth : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 888 | - V.growth (index l n) (L l n i x + c l n i) ≤ A * s.growth n x ^ a) | |
| 889 | - (hlinear : ∀ l n i, ‖L l n i‖ ≤ B * s.slow n ^ b) | |
| 890 | - (hweight : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → | |
| 891 | - w (index l n) (L l n i x + c l n i) ≤ s.epsilon n ^ α * W l n x) : | |
| 892 | - LabelSumBounds.UniformClass s W α | |
| 893 | - (fun l n => PeriodizedWaveBounds.copySum | |
| 894 | - (affineCopy (fun i x => (κ i x * outerCutoff (τ i x + t0 i)) • f i x) index L c l n)) := by | |
| 895 | - apply hf.localized_copy_sum_uniformClass s W α | |
| 896 | - (fun i x => κ i x * outerCutoff (τ i x + t0 i)) | |
| 897 | - (hκ.mul (outerCutoff_affine_jets V.toDomain τ t0 hH q hτ)) index L c K hW | |
| 898 | - _ hmap hA hB a b hgrowth hlinear hweight | |
| 899 | - intro l n i x hx | |
| 900 | - exact hcut l n i x (mul_ne_zero_iff.mp hx).1 (mul_ne_zero_iff.mp hx).2 | |
| 901 | - | |
| 902 | 737 | end Copies |
| 903 | 738 | |
| 904 | 739 | namespace NativeJets |
| @@ -1322,47 +1157,6 @@ theorem preparedMask_zero_germ {F₀ : OutgoingProfile.Profile} {W₀ : NominalP | ||
| 1322 | 1157 | apply hout |
| 1323 | 1158 | exact PrimaryGeometryAssembly.cellDomain_support L ⟨hs, hT⟩ |
| 1324 | 1159 | |
| 1325 | -/-- The actual slow mask and actual outer bump extend a native field to | |
| 1326 | -the whole larger chart. Off its own cell it is locally zero, including | |
| 1327 | -all slow-mask and slot-cutoff derivatives. -/ | |
| 1328 | -theorem NativeJets.prepared_mask_outer_localize | |
| 1329 | - {F₀ : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F₀} {N : ℕ} | |
| 1330 | - {V V' : JetDomain (PrimaryGeometryAssembly.Index W₀ N) D} | |
| 1331 | - {w : PrimaryGeometryAssembly.Index W₀ N → D → ℝ} | |
| 1332 | - {f : PrimaryGeometryAssembly.Index W₀ N → D → E} (hf : NativeJets V w f) | |
| 1333 | - (χ : PrimaryGeometryAssembly.Index W₀ N → D → PhaseCalculus.Slow) | |
| 1334 | - (hχ : PolynomialJets V'.toDomain χ) | |
| 1335 | - (hscaleBand : ∀ L, V'.scale L = ChartScales.S (PrimaryGeometryAssembly.label W₀ L).1) | |
| 1336 | - (hT : ∀ L x, x ∈ V'.carrier L → 0 < (χ L x).2.2) | |
| 1337 | - (τ : PrimaryGeometryAssembly.Index W₀ N → D →L[ℝ] ℝ) | |
| 1338 | - (t0 : PrimaryGeometryAssembly.Index W₀ N → ℝ) | |
| 1339 | - {K : ℝ} (hK : 1 ≤ K) (q : ℕ) (hτ : ∀ L, ‖τ L‖ ≤ K * V'.scale L ^ q) | |
| 1340 | - (hscale : ∀ L, V'.scale L = V.scale L) | |
| 1341 | - (hsub : ∀ L, V.carrier L ⊆ V'.carrier L) | |
| 1342 | - (hgrowth : ∀ L x, x ∈ V.carrier L → V.growth L x = V'.growth L x) | |
| 1343 | - (hinside : ∀ L x, x ∈ V'.carrier L → | |
| 1344 | - χ L x ∈ (PrimaryGeometryAssembly.domain W₀ N).carrier L → | |
| 1345 | - τ L x + t0 L ∈ Ioo (0 : ℝ) 1 → x ∈ V.carrier L) | |
| 1346 | - (hw : ∀ L x, x ∈ V'.carrier L → 0 ≤ w L x) : | |
| 1347 | - NativeJets V' w (fun L x => | |
| 1348 | - (PrimaryRepresentatives.nativeMask (PrimaryGeometryAssembly.label W₀ L).1 | |
| 1349 | - (PrimaryGeometryAssembly.label W₀ L).2 (χ L x) * outerCutoff (τ L x + t0 L)) • f L x) := by | |
| 1350 | - have hm := nativeMask_comp_jets V'.toDomain χ hχ | |
| 1351 | - (fun L => (PrimaryGeometryAssembly.label W₀ L).1) | |
| 1352 | - (fun L => (PrimaryGeometryAssembly.label W₀ L).2) | |
| 1353 | - (fun L => L.val.property.1) hscaleBand | |
| 1354 | - apply hf.localize (hm.mul (outerCutoff_affine_jets V'.toDomain τ t0 hK q hτ)) | |
| 1355 | - hscale hsub hgrowth hw | |
| 1356 | - intro L x hx | |
| 1357 | - apply hinside L x hx.2 | |
| 1358 | - · have hs := tsupport_mul_subset_left hx.1 | |
| 1359 | - by_contra hout | |
| 1360 | - have hz := preparedMask_zero_germ L (hT L x hx.2) hout | |
| 1361 | - have hz' := hz.comp_tendsto | |
| 1362 | - (((hχ.smooth L).contDiffAt ((V'.isOpen L).mem_nhds hx.2)).continuousAt) | |
| 1363 | - exact (notMem_tsupport_iff_eventuallyEq.mpr hz') hs | |
| 1364 | - · exact outerCutoff_affine_support (τ L) (t0 L) (tsupport_mul_subset_right hx.1) | |
| 1365 | - | |
| 1366 | 1160 | /-! ### The two orientations share one family of constants -/ |
| 1367 | 1161 | |
| 1368 | 1162 | noncomputable def signDomain (V : JetDomain ι D) : JetDomain (Fin 2 × ι) D where |
| @@ -1402,110 +1196,6 @@ open CommonCoverSolve TorusInverse | ||
| 1402 | 1196 | variable {P H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 1403 | 1197 | [NormedAddCommGroup H] [NormedSpace ℝ H] {Λ : Type*} |
| 1404 | 1198 | |
| 1405 | -noncomputable def nativePointLinear (g : Geometry) : (P × TorusInverse.Plane) →L[ℝ] (P × TorusInverse.Plane) := | |
| 1406 | - (ContinuousLinearMap.fst ℝ P TorusInverse.Plane).prod | |
| 1407 | - (g.coordinateLinear.comp (ContinuousLinearMap.snd ℝ P TorusInverse.Plane)) | |
| 1408 | - | |
| 1409 | -theorem nativePoint_affine (g : Geometry) (k : Frequency) (x : P × TorusInverse.Plane) : | |
| 1410 | - ParticularWaveBounds.nativePoint g k x = | |
| 1411 | - nativePointLinear g x + ParticularWaveBounds.nativePoint g k 0 := by | |
| 1412 | - apply Prod.ext | |
| 1413 | - · simp [ParticularWaveBounds.nativePoint, nativePointLinear] | |
| 1414 | - · change g.coordinates k x.2 = g.coordinateLinear x.2 + g.coordinates k 0 | |
| 1415 | - rw [g.coordinates_eq_affine k x.2, add_comm] | |
| 1416 | - | |
| 1417 | -theorem norm_nativePointLinear_le (g : Geometry) : | |
| 1418 | - ‖nativePointLinear (P := P) g‖ ≤ CommonCoverClass.argumentCost g := by | |
| 1419 | - have hcost := CommonCoverClass.one_le_argumentCost g | |
| 1420 | - have hc : ‖g.coordinateLinear‖ ≤ CommonCoverClass.argumentCost g := by | |
| 1421 | - unfold CommonCoverClass.argumentCost | |
| 1422 | - have h : 0 ≤ ‖g.pointLinear‖ * (1 + ‖g.coordinateLinear‖) := by positivity | |
| 1423 | - linarith | |
| 1424 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans hcost) | |
| 1425 | - intro x | |
| 1426 | - change ‖(x.1, g.coordinateLinear x.2)‖ ≤ _ | |
| 1427 | - rw [Prod.norm_def] | |
| 1428 | - apply max_le | |
| 1429 | - · exact (norm_fst_le x).trans (le_mul_of_one_le_left (norm_nonneg x) hcost) | |
| 1430 | - · exact (g.coordinateLinear.le_opNorm x.2).trans | |
| 1431 | - (mul_le_mul hc (norm_snd_le x) (norm_nonneg _) (zero_le_one.trans hcost)) | |
| 1432 | - | |
| 1433 | -/-- For the actual band basis, the affine derivative cost is uniform in | |
| 1434 | -the center and lattice translation. -/ | |
| 1435 | -theorem nativePointLinear_band_bound (B : TorusInverse.Plane ≃L[ℝ] TorusInverse.Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 1436 | - {n gap Δ : ℕ} (hn : 4 ≤ n) (hgap : gap ≤ Δ) (center : TorusInverse.Plane) : | |
| 1437 | - ‖nativePointLinear (P := P) (CommonCoverClass.bandGeometry B h n gap center)‖ ≤ | |
| 1438 | - CommonCoverClass.bandArgumentCost B Δ * ChartScales.S n := | |
| 1439 | - (norm_nativePointLinear_le _).trans | |
| 1440 | - (CommonCoverClass.bandGeometry_argumentCost_le B hh hn hgap center) | |
| 1441 | - | |
| 1442 | -theorem NativeJets.native_copy_localJets | |
| 1443 | - {V : JetDomain ι (P × TorusInverse.Plane)} {w : ι → P × TorusInverse.Plane → ℝ} {f : ι → P × TorusInverse.Plane → H} | |
| 1444 | - (hf : NativeJets V w f) (s : StripData (P × TorusInverse.Plane)) | |
| 1445 | - (W : Λ → ℕ → P × TorusInverse.Plane → ℝ) (α : ℝ) | |
| 1446 | - (index : Λ → ℕ → ι) (g : Λ → ℕ → Geometry) (Ω : Λ → ℕ → Set TorusInverse.Plane) | |
| 1447 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 1448 | - (hmap : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1449 | - ParticularWaveBounds.nativePoint (g l n) k x ∈ V.carrier (index l n)) | |
| 1450 | - {A B : ℝ} (hA : 1 ≤ A) (hB : 1 ≤ B) (a b : ℕ) | |
| 1451 | - (hgrowth : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1452 | - V.growth (index l n) (ParticularWaveBounds.nativePoint (g l n) k x) ≤ A * s.growth n x ^ a) | |
| 1453 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ B * s.slow n ^ b) | |
| 1454 | - (hweight : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1455 | - w (index l n) (ParticularWaveBounds.nativePoint (g l n) k x) ≤ s.epsilon n ^ α * W l n x) : | |
| 1456 | - PeriodizedWaveBounds.UniformLocalJets s W α | |
| 1457 | - (fun l n => PeriodizedWaveBounds.nativeCell (g l n) (Ω l n)) | |
| 1458 | - (fun l n k x => f (index l n) (ParticularWaveBounds.nativePoint (g l n) k x)) := by | |
| 1459 | - have h := hf.copy_localJets s W α index | |
| 1460 | - (fun l n _ => nativePointLinear (g l n)) | |
| 1461 | - (fun l n k => ParticularWaveBounds.nativePoint (g l n) k 0) | |
| 1462 | - (fun l n => PeriodizedWaveBounds.nativeCell (g l n) (Ω l n)) hW | |
| 1463 | - (by simp only [← nativePoint_affine]; exact hmap) hA hB a b | |
| 1464 | - (by simp only [← nativePoint_affine]; exact hgrowth) | |
| 1465 | - (fun l n _ => (norm_nativePointLinear_le (g l n)).trans (hgeometry l n)) | |
| 1466 | - (by simp only [← nativePoint_affine]; exact hweight) | |
| 1467 | - have he : affineCopy f index (fun l n _ => nativePointLinear (g l n)) | |
| 1468 | - (fun l n k => ParticularWaveBounds.nativePoint (g l n) k 0) = | |
| 1469 | - (fun l n k x => f (index l n) (ParticularWaveBounds.nativePoint (g l n) k x)) := by | |
| 1470 | - funext l n k x | |
| 1471 | - dsimp only [affineCopy] | |
| 1472 | - rw [← nativePoint_affine] | |
| 1473 | - rw [he] at h | |
| 1474 | - exact h | |
| 1475 | - | |
| 1476 | -/-- The constructed native field is periodized over the genuine covering | |
| 1477 | -lattice. Support is proved from the scalar cutoff, and the native cells | |
| 1478 | -are constructed from compactness and injectivity of that patch. -/ | |
| 1479 | -theorem NativeJets.native_copy_sum_uniformClass | |
| 1480 | - {V : JetDomain ι (P × TorusInverse.Plane)} {w : ι → P × TorusInverse.Plane → ℝ} {f : ι → P × TorusInverse.Plane → H} | |
| 1481 | - (hf : NativeJets V w f) (s : StripData (P × TorusInverse.Plane)) | |
| 1482 | - (W : Λ → ℕ → P × TorusInverse.Plane → ℝ) (α : ℝ) | |
| 1483 | - (index : Λ → ℕ → ι) (g : Λ → ℕ → Geometry) (Ω : Λ → ℕ → Set TorusInverse.Plane) | |
| 1484 | - (hcompact : ∀ l n, IsCompact (Ω l n)) | |
| 1485 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 1486 | - ((fun z => (g l n).center + (g l n).basis z) '' Ω l n)) | |
| 1487 | - (κ : ι → TorusInverse.Plane → ℝ) (hκ : PolynomialJets V.toDomain (fun i x => κ i x.2)) | |
| 1488 | - (hcut : ∀ l n, support (κ (index l n)) ⊆ Ω l n) | |
| 1489 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 1490 | - (hmap : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1491 | - ParticularWaveBounds.nativePoint (g l n) k x ∈ V.carrier (index l n)) | |
| 1492 | - {A B : ℝ} (hA : 1 ≤ A) (hB : 1 ≤ B) (a b : ℕ) | |
| 1493 | - (hgrowth : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1494 | - V.growth (index l n) (ParticularWaveBounds.nativePoint (g l n) k x) ≤ A * s.growth n x ^ a) | |
| 1495 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ B * s.slow n ^ b) | |
| 1496 | - (hweight : ∀ l n k x, x ∈ s.domain → (g l n).coordinates k x.2 ∈ Ω l n → | |
| 1497 | - w (index l n) (ParticularWaveBounds.nativePoint (g l n) k x) ≤ s.epsilon n ^ α * W l n x) : | |
| 1498 | - LabelSumBounds.UniformClass s W α | |
| 1499 | - (fun l n => ParticularWaveBounds.periodizedCopies (g l n) (κ (index l n)) | |
| 1500 | - (fun k x => f (index l n) (ParticularWaveBounds.nativePoint (g l n) k x))) := by | |
| 1501 | - apply PeriodizedWaveBounds.copySum_uniformClass | |
| 1502 | - (fun l => PeriodizedWaveBounds.nativeCells (g l) (Ω l) (hcompact l) (hinj l)) hW | |
| 1503 | - · intro l n | |
| 1504 | - exact PeriodizedWaveBounds.native_localized_support (g l n) (hcut l n) | |
| 1505 | - (fun k x => f (index l n) (ParticularWaveBounds.nativePoint (g l n) k x)) | |
| 1506 | - · exact (hf.polynomial_smul hκ).native_copy_localJets s W α index g Ω hW | |
| 1507 | - hmap hA hB a b hgrowth hgeometry hweight | |
| 1508 | - | |
| 1509 | 1199 | end NativeCopies |
| 1510 | 1200 | |
| 1511 | 1201 | end NavierStokes.PrimaryCopyBounds |
+0 −104 NavierStokes/PrimaryCopyBridge.lean View file
| @@ -176,9 +176,6 @@ structure Inputs (Ω : Set (P × Plane)) (a b : ℝ) : Prop where | ||
| 176 | 176 | noncomputable def reconstructedPath (hab : a ≤ b) (q : P × Plane) : ℝ → Space := |
| 177 | 177 | PrimaryODE.ambientSolution hab (copyFrame d g k) j (fun _ => 0) (copySource t.source g k) q |
| 178 | 178 | |
| 179 | -noncomputable def reconstructedCopy (hab : a ≤ b) (q : P × Plane) : Space := | |
| 180 | - reconstructedPath d t j g k hab q (g.coordinates k q.2).2 | |
| 181 | - | |
| 182 | 179 | omit [NormedAddCommGroup P] in |
| 183 | 180 | theorem reconstructedPath_initial (hab : a ≤ b) (q : P × Plane) : |
| 184 | 181 | reconstructedPath d t j g k hab q a = 0 := by |
| @@ -236,12 +233,6 @@ theorem reconstructedPath_tangent (hab : a ≤ b) {Ω : Set (P × Plane)} | ||
| 236 | 233 | exact PrimaryODE.ambientSolution_tangent hab (copyFrame d g k) j (fun _ => 0) |
| 237 | 234 | (copySource t.source g k) q v |
| 238 | 235 | |
| 239 | -theorem reconstructedCopy_eq_copySolve (hab : a ≤ b) {Ω : Set (P × Plane)} | |
| 240 | - (h : Inputs d t j g k Ω a b) {q : P × Plane} (hq : q ∈ Ω) | |
| 241 | - (hv : (g.coordinates k q.2).2 ∈ Icc a b) : | |
| 242 | - reconstructedCopy d t j g k hab q = t.linearData.copySolve g hab k q := | |
| 243 | - reconstructedPath_eq_anchoredSolve d t j g k hab h hq hv | |
| 244 | - | |
| 245 | 236 | /-! The smooth endpoint-rescaled modal representative used by the jet |
| 246 | 237 | estimates identifies with the very same copy solve. -/ |
| 247 | 238 | |
| @@ -306,18 +297,6 @@ theorem reparamCopy_iteratedFDeriv_eq (hab : a ≤ b) {Ω : Set (P × Plane)} | ||
| 306 | 297 | have he := (reparamCopy_eqOn d t j g k hab h).iteratedFDerivWithin (𝕜 := ℝ) n hq |
| 307 | 298 | simpa only [iteratedFDerivWithin_of_isOpen _ (copyInterior_isOpen g k hΩ a b) hq] using he |
| 308 | 299 | |
| 309 | -theorem reparamPath_iteratedFDeriv_eq (hab : a ≤ b) {Ω : Set (P × Plane)} | |
| 310 | - (hΩ : IsOpen Ω) (h : Inputs d t j g k Ω a b) {z : (P × Plane) × ℝ} | |
| 311 | - (hz : z ∈ Ω ×ˢ Ioo a b) (n : ℕ) : | |
| 312 | - iteratedFDeriv ℝ n (reparamPath d t j g k a) z = | |
| 313 | - iteratedFDeriv ℝ n (fun w : (P × Plane) × ℝ => t.linearData.anchoredSolve g hab k w.1 w.2) z := by | |
| 314 | - have he : EqOn (reparamPath d t j g k a) | |
| 315 | - (fun w : (P × Plane) × ℝ => t.linearData.anchoredSolve g hab k w.1 w.2) (Ω ×ˢ Ioo a b) := by | |
| 316 | - intro w hw | |
| 317 | - exact reparamPath_eq_anchoredSolve d t j g k hab h ⟨hw.1, hw.2.1.le, hw.2.2.le⟩ | |
| 318 | - have hj := he.iteratedFDerivWithin (𝕜 := ℝ) n hz | |
| 319 | - simpa only [iteratedFDerivWithin_of_isOpen _ (hΩ.prod isOpen_Ioo) hz] using hj | |
| 320 | - | |
| 321 | 300 | end Bridge |
| 322 | 301 | |
| 323 | 302 | /-! ## Smooth primitive data discharge the continuity requirements -/ |
| @@ -409,19 +388,6 @@ section CanonicalInputs | ||
| 409 | 388 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 410 | 389 | (d : PrimaryODE.FrameData (P × ℝ)) (g : CommonCoverSolve.Geometry) (k : Frequency) |
| 411 | 390 | |
| 412 | -theorem copyParameter_contDiff : ContDiff ℝ ∞ (copyParameter (P := P) g k) := | |
| 413 | - contDiff_fst.prodMk (((g.coordinates_contDiff k).comp contDiff_snd).fst) | |
| 414 | - | |
| 415 | -theorem copyArgument_contDiff : | |
| 416 | - ContDiff ℝ ∞ (fun z : (P × Plane) × ℝ => (copyParameter g k z.1, z.2)) := | |
| 417 | - ((copyParameter_contDiff g k).comp contDiff_fst).prodMk contDiff_snd | |
| 418 | - | |
| 419 | -theorem copyFrame_smoothOn {S : Set ((P × ℝ) × ℝ)} {Ω : Set ((P × Plane) × ℝ)} | |
| 420 | - (hd : d.SmoothOn S) | |
| 421 | - (hmap : MapsTo (fun z : (P × Plane) × ℝ => (copyParameter g k z.1, z.2)) Ω S) : | |
| 422 | - (copyFrame d g k).SmoothOn Ω := | |
| 423 | - reindex_smoothOn d _ hd (copyArgument_contDiff g k).contDiffOn hmap | |
| 424 | - | |
| 425 | 391 | theorem copySource_contDiffOn {f : P × Plane → Space} {S : Set (P × Plane)} |
| 426 | 392 | {Ω : Set ((P × Plane) × ℝ)} (hf : ContDiffOn ℝ ∞ f S) |
| 427 | 393 | (hmap : MapsTo (fun z : (P × Plane) × ℝ => (z.1.1, g.path k z.1.2 z.2)) Ω S) : |
| @@ -456,32 +422,6 @@ theorem inputs_of_smooth_frame (j : ℤ) (f : P × Plane → Space) | ||
| 456 | 422 | simpa only [CommonCoverSolve.negativeTangentProjection_apply] using |
| 457 | 423 | projectedForcing_continuousOn hn hf.continuousOn hn0 |
| 458 | 424 | |
| 459 | -/-- Direct canonical bridge, with assumptions only on smooth primitive frame | |
| 460 | -and source data and their actual slot derivatives. -/ | |
| 461 | -theorem frame_reconstructedCopy_eq_copySolve (j : ℤ) (f : P × Plane → Space) | |
| 462 | - {Ω : Set (P × Plane)} {a b : ℝ} (hab : a ≤ b) | |
| 463 | - (hd : (copyFrame d g k).SmoothOn (Ω ×ˢ Icc a b)) | |
| 464 | - (hf : ContDiffOn ℝ ∞ (copySource f g k) (Ω ×ˢ Icc a b)) | |
| 465 | - (hk : ∀ q ∈ Ω, d.Kinematics (copyParameter g k q) (Icc a b)) | |
| 466 | - {q : P × Plane} (hq : q ∈ Ω) (hv : (g.coordinates k q.2).2 ∈ Icc a b) : | |
| 467 | - reconstructedCopy d (frameTangentData d j f) j g k hab q = | |
| 468 | - (frameTangentData d j f).linearData.copySolve g hab k q := | |
| 469 | - reconstructedCopy_eq_copySolve d _ j g k hab | |
| 470 | - (inputs_of_smooth_frame d g k j f hd hf hk) hq hv | |
| 471 | - | |
| 472 | -/-- Exact transfer of all ordinary full tensors to the canonical copy solve. | |
| 473 | -The interval endpoints retain the pointwise equality proved above. -/ | |
| 474 | -theorem frame_reparamCopy_iteratedFDeriv_eq (j : ℤ) (f : P × Plane → Space) | |
| 475 | - {Ω : Set (P × Plane)} {a b : ℝ} (hab : a ≤ b) (hΩ : IsOpen Ω) | |
| 476 | - (hd : (copyFrame d g k).SmoothOn (Ω ×ˢ Icc a b)) | |
| 477 | - (hf : ContDiffOn ℝ ∞ (copySource f g k) (Ω ×ˢ Icc a b)) | |
| 478 | - (hk : ∀ q ∈ Ω, d.Kinematics (copyParameter g k q) (Icc a b)) | |
| 479 | - {q : P × Plane} (hq : q ∈ copyInterior g k Ω a b) (n : ℕ) : | |
| 480 | - iteratedFDeriv ℝ n (reparamCopy d (frameTangentData d j f) j g k a) q = | |
| 481 | - iteratedFDeriv ℝ n ((frameTangentData d j f).linearData.copySolve g hab k) q := | |
| 482 | - reparamCopy_iteratedFDeriv_eq d _ j g k hab hΩ | |
| 483 | - (inputs_of_smooth_frame d g k j f hd hf hk) hq n | |
| 484 | - | |
| 485 | 425 | end CanonicalInputs |
| 486 | 426 | |
| 487 | 427 | /-! ## Seeded primary paths: the same equation, with their own initial data -/ |
| @@ -492,50 +432,6 @@ variable {P : Type} [NormedAddCommGroup P] | ||
| 492 | 432 | (d : PrimaryODE.FrameData (P × ℝ)) (t : CommonCoverSolve.TangentData P Space) |
| 493 | 433 | (j : ℤ) (g : CommonCoverSolve.Geometry) (k : Frequency) {a b : ℝ} |
| 494 | 434 | |
| 495 | -noncomputable def seededReconstructedPath (hab : a ≤ b) (x₀ : P × Plane → State) | |
| 496 | - (q : P × Plane) : ℝ → Space := | |
| 497 | - PrimaryODE.ambientSolution hab (copyFrame d g k) j x₀ (copySource t.source g k) q | |
| 498 | - | |
| 499 | -omit [NormedAddCommGroup P] in | |
| 500 | -theorem seededReconstructedPath_initial (hab : a ≤ b) (x₀ : P × Plane → State) (q : P × Plane) : | |
| 501 | - seededReconstructedPath d t j g k hab x₀ q a = | |
| 502 | - d.ambient (copyParameter g k q, a) (x₀ q) := by | |
| 503 | - unfold seededReconstructedPath PrimaryODE.ambientSolution | |
| 504 | - rw [PrimaryODE.solution_initial] | |
| 505 | - rfl | |
| 506 | - | |
| 507 | -/-- The reconstructed seeded path satisfies the actual tangent equation. | |
| 508 | -This is not an identification with the zero-entry copy solve. -/ | |
| 509 | -theorem seededReconstructedPath_hasDerivAt (hab : a ≤ b) (x₀ : P × Plane → State) | |
| 510 | - {Ω : Set (P × Plane)} (h : Inputs d t j g k Ω a b) | |
| 511 | - {q : P × Plane} (hq : q ∈ Ω) {v : ℝ} (hv : v ∈ Icc a b) : | |
| 512 | - let z := (q.1, ((g.coordinates k q.2).1, v)) | |
| 513 | - HasDerivAt (seededReconstructedPath d t j g k hab x₀ q) | |
| 514 | - (TangentProjection.projectedRhs (t.normal z) (t.normalDot z) | |
| 515 | - (seededReconstructedPath d t j g k hab x₀ q v) | |
| 516 | - (t.action z (seededReconstructedPath d t j g k hab x₀ q v)) | |
| 517 | - (t.source (q.1, g.path k q.2 v)) (t.damping z)) v := by | |
| 518 | - have hd : HasDerivAt (seededReconstructedPath d t j g k hab x₀ q) | |
| 519 | - (t.linearData.coefficientAlong g k (q, v) (seededReconstructedPath d t j g k hab x₀ q v) + | |
| 520 | - t.linearData.forcingAlong g k (q, v)) v := by | |
| 521 | - rw [linear_rhs_eq_projected d t j g k (h.compatibility q hq) hv] | |
| 522 | - exact PrimaryODE.ambientSolution_hasDerivAt hab (copyFrame d g k) j x₀ | |
| 523 | - (copySource t.source g k) h.modal_coefficient h.modal_forcing hq | |
| 524 | - (reindex_kinematics d (copyParameter g k) (h.kinematics q hq)) hv | |
| 525 | - simpa only [CommonCoverSolve.LinearData.coefficientAlong, CommonCoverSolve.LinearData.forcingAlong, | |
| 526 | - CommonCoverSolve.TangentData.linearData, CommonCoverSolve.negativeTangentProjection_apply, | |
| 527 | - ← sub_eq_add_neg, TangentODE.projectedOperator_apply] using hd | |
| 528 | - | |
| 529 | -theorem seededReconstructedPath_tangent (hab : a ≤ b) (x₀ : P × Plane → State) | |
| 530 | - {Ω : Set (P × Plane)} (h : Inputs d t j g k Ω a b) | |
| 531 | - {q : P × Plane} (hq : q ∈ Ω) {v : ℝ} (hv : v ∈ Icc a b) : | |
| 532 | - ⟪t.normal (q.1, ((g.coordinates k q.2).1, v)), | |
| 533 | - seededReconstructedPath d t j g k hab x₀ q v⟫_ℝ = 0 := by | |
| 534 | - change ⟪t.normal ((copyParameter g k q).1, ((copyParameter g k q).2, v)), _⟫_ℝ = 0 | |
| 535 | - rw [(h.compatibility q hq).normal v hv] | |
| 536 | - exact PrimaryODE.ambientSolution_tangent hab (copyFrame d g k) j x₀ | |
| 537 | - (copySource t.source g k) q v | |
| 538 | - | |
| 539 | 435 | end Seeded |
| 540 | 436 | |
| 541 | 437 | end NavierStokes.PrimaryCopyBridge |
+3 −114 NavierStokes/PrimaryCovarianceBounds.lean View file
| @@ -365,20 +365,6 @@ theorem ZeroOrderBounds.strictCone {R detGap entryBound inverseLower zeta : ℝ} | ||
| 365 | 365 | SmoothCovariance.StrictCone H T := |
| 366 | 366 | (SmoothCovariance.weights_pos_iff H T).mp (h.weights_pos hR ha hzeta) |
| 367 | 367 | |
| 368 | -theorem sqrt_S_eq (n : ℕ) : Real.sqrt (ChartScales.S n) = (n : ℝ) := by | |
| 369 | - exact Real.sqrt_sq (Nat.cast_nonneg n) | |
| 370 | - | |
| 371 | -/-- The weaker inverse bound required by the square-root jet theorem is | |
| 372 | -an immediate consequence, without losing the flat target factor. -/ | |
| 373 | -theorem ZeroOrderBounds.primary_weight_lower {n : ℕ} {detGap entryBound inverseLower zeta : ℝ} | |
| 374 | - {H : Mat2} {T : Vec2} | |
| 375 | - (h : ZeroOrderBounds (Real.sqrt (ChartScales.S n)) detGap entryBound inverseLower zeta H T) | |
| 376 | - (hn : 1 ≤ n) (ha : 0 ≤ inverseLower) (hzeta : 0 ≤ zeta) (j : Fin 2) : | |
| 377 | - inverseLower * zeta ≤ SmoothCovariance.weights H T j := by | |
| 378 | - apply h.weight_lower _ ha hzeta j | |
| 379 | - rw [sqrt_S_eq] | |
| 380 | - exact_mod_cast hn | |
| 381 | - | |
| 382 | 368 | /-- For the actual native pair, all uniform zeroth-order constants are |
| 383 | 369 | chosen before the band. Only pointwise pulse and normalized-direction |
| 384 | 370 | estimates are inputs; no integrated matrix margin is assumed. -/ |
| @@ -616,111 +602,14 @@ structure CoefficientControl (d : PrimaryODE.FrameData Q) (lam u L S C D : ℝ) | ||
| 616 | 602 | viscosity : ∀ v ∈ Icc 0 L, |
| 617 | 603 | |d.viscosity (p, v) - ViscousPropagator.referenceViscosity lam u L v| ≤ D / S |
| 618 | 604 | |
| 619 | -/-- The literal `primaryCovariance` with the native chart prefactor and | |
| 620 | -slot length; the integrands still use the actual constructed ODE solution. -/ | |
| 621 | -noncomputable def nativePrimaryCovariance | |
| 622 | - (vr vt : TorusInverse.Plane) (r0 h : ℝ) | |
| 623 | - (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) (lam u : Fin 2 → ℕ → ℝ) | |
| 624 | - (n : ℕ) (p : Q) : Mat2 := | |
| 625 | - PrimaryPulseBounds.primaryCovariance | |
| 626 | - (fun _ n => PartitionedCovariance.nativePrefactor vr vt r0 * | |
| 627 | - ChartScales.timeCoefficient h n * ChartScales.slotLength r0 h n) | |
| 628 | - d lam u (fun _ n => ChartScales.slotLength r0 h n) n p | |
| 629 | - | |
| 630 | -/-- Uniform zeroth-order bounds for the same actual primary covariance | |
| 631 | -used in `PrimaryPulseBounds`. All constants and the band threshold are | |
| 632 | -chosen from the fixed compact model, reference range, and coefficient | |
| 633 | -error constants. In particular they are chosen before the band, the | |
| 634 | -particular ODE coefficients, and the possibly flat target factor `zeta`. | |
| 635 | - | |
| 636 | -The only directional input is a pointwise ratio estimate for the actual | |
| 637 | -uncut primary. Gaussian size, positive column masses, determinant gap, | |
| 638 | -and inverse-weight lower bounds are derived in the proof. -/ | |
| 639 | -theorem compact_native_primary_bounds {K : Set Q} | |
| 640 | - (hK : IsCompact K) (H0 : Q → Mat2) (T0 : Q → Vec2) | |
| 641 | - (hH0 : ∀ i j, ContinuousOn (fun p => H0 p i j) K) | |
| 642 | - (hT0 : ∀ i, ContinuousOn (fun p => T0 p i) K) | |
| 643 | - (hcone : ∀ p ∈ K, SmoothCovariance.StrictCone (H0 p) (T0 p)) | |
| 644 | - {R : Set (ℝ × ℝ)} (hR : IsCompact R) | |
| 645 | - (hRpos : ∀ z ∈ R, 0 < z.1 ∧ 0 < z.2) | |
| 646 | - (vr vt : TorusInverse.Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | |
| 647 | - {r0 h C D E F : ℝ} (hr0 : 0 < r0) (hh : 0 ≤ h) | |
| 648 | - (hC : 0 ≤ C) (hD : 0 ≤ D) (hE : 0 ≤ E) (hF : 0 ≤ F) : | |
| 649 | - ∃ N : ℕ, 4 ≤ N ∧ ∃ detGap entryBound inverseLower : ℝ, | |
| 650 | - 0 < detGap ∧ 1 ≤ entryBound ∧ 0 < inverseLower ∧ | |
| 651 | - ∀ n : ℕ, N ≤ n → | |
| 652 | - ∀ (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) (lam u : Fin 2 → ℕ → ℝ) | |
| 653 | - (U : Set Q), | |
| 654 | - (∀ c, ContinuousOn ((d c n).coefficient 1) (U ×ˢ Icc 0 (ChartScales.slotLength r0 h n))) → | |
| 655 | - ∀ p ∈ K, p ∈ U → | |
| 656 | - (∀ c, (d c n).Kinematics p (Icc 0 (ChartScales.slotLength r0 h n))) → | |
| 657 | - (∀ c, (lam c n, u c n) ∈ R) → | |
| 658 | - (∀ c, CoefficientControl (d c n) (lam c n) (u c n) | |
| 659 | - (ChartScales.slotLength r0 h n) (ChartScales.S n) C D p) → | |
| 660 | - (∀ c i v, v ∈ Icc 0 (ChartScales.slotLength r0 h n) → | |
| 661 | - |PrimaryPulseBounds.normalizedPulse (d c n) (lam c n) (u c n) | |
| 662 | - (ChartScales.slotLength r0 h n) (p, v / ChartScales.slotLength r0 h n) i.succ / | |
| 663 | - PrimaryPulseBounds.normalizedPulse (d c n) (lam c n) (u c n) | |
| 664 | - (ChartScales.slotLength r0 h n) (p, v / ChartScales.slotLength r0 h n) 0 - H0 p i c| ≤ | |
| 665 | - E / ChartScales.slotLength r0 h n + | |
| 666 | - F * |v - ChartScales.slotLength r0 h n / 2| / ChartScales.slotLength r0 h n) → | |
| 667 | - ∀ zeta : ℝ, 0 ≤ zeta → | |
| 668 | - ZeroOrderBounds (Real.sqrt (ChartScales.S n)) detGap entryBound inverseLower zeta | |
| 669 | - (nativePrimaryCovariance vr vt r0 h d lam u n p) | |
| 670 | - (FlatCovariance.scaledTarget zeta (T0 p)) := by | |
| 671 | - obtain ⟨gap, b, B, hgap, hb, hB, href⟩ := compact_reference_bounds hR | |
| 672 | - Prod.fst Prod.snd continuous_fst.continuousOn continuous_snd.continuousOn | |
| 673 | - (fun z hz => (hRpos z hz).1) (fun z hz => (hRpos z hz).2) | |
| 674 | - let Kslot := 2 * r0 * ChartScales.Tg | |
| 675 | - let a := primaryLower C D Kslot | |
| 676 | - let A := primaryUpper C D Kslot | |
| 677 | - have ha : 0 < a := primaryLower_pos _ _ _ | |
| 678 | - have hApos : 0 < A := primaryUpper_pos _ _ _ | |
| 679 | - obtain ⟨N0, hN04, detGap, M, alpha, hgapM, hM, halpha, hpair⟩ := | |
| 680 | - compact_chart_pair_bounds hK H0 T0 hH0 hT0 hcone vr vt hdet | |
| 681 | - (B := B) hr0 hh ha hApos hb hE hF | |
| 682 | - obtain ⟨N1, hN14, hN1⟩ := eventually_slow_large (2 * GrowingMode.coneConstant gap C) | |
| 683 | - obtain ⟨N2, hN24, hN2⟩ := eventually_slotRadius_large hr0 hh 1 | |
| 684 | - refine ⟨max N0 (max N1 N2), hN04.trans (le_max_left _ _), | |
| 685 | - detGap, M, alpha, hgapM, hM, halpha, ?_⟩ | |
| 686 | - intro n hn d lam u U hA p hp hpU hk hrange hcoeff hratio zeta hzeta | |
| 687 | - have hn0 : N0 ≤ n := (le_max_left _ _).trans hn | |
| 688 | - have hn1 : N1 ≤ n := (le_max_left _ _).trans ((le_max_right _ _).trans hn) | |
| 689 | - have hn2 : N2 ≤ n := (le_max_right _ _).trans ((le_max_right _ _).trans hn) | |
| 690 | - have hn4 : 4 ≤ n := hN04.trans hn0 | |
| 691 | - have hL : 0 < ChartScales.slotLength r0 h n := slotLength_pos hr0 h n | |
| 692 | - let P : Fin 2 → PartitionedCovariance.Pulse := fun c => | |
| 693 | - PrimaryPulseBounds.canonicalPrimaryPulse (d c n) (lam c n) (u c n) | |
| 694 | - hL U (hA c) p hpU (hk c) | |
| 695 | - have hPulse (c : Fin 2) : PulseCovariance.PulseBounds (slotRadius r0 h n) a A b B | |
| 696 | - (P c).ψ (P c).x := by | |
| 697 | - apply canonicalPrimaryPulse_bounds (d c n) (lam c n) (u c n) hL | |
| 698 | - (hN2 n hn2) (slotRadius_sq hr0 h n) U (hA c) p hpU (hk c) | |
| 699 | - hgap hb hB hC hD (ChartScales.S_pos (by omega)) (hN1 n hn1) | |
| 700 | - · simpa only [Kslot, mul_assoc] using (ChartScales.slotLength_bounds r0 h hr0.le hh hn4).2 | |
| 701 | - · exact (hcoeff c).eigenvalue | |
| 702 | - · exact (hcoeff c).errors | |
| 703 | - · exact (hcoeff c).viscosity | |
| 704 | - · exact href (lam c n, u c n) (hrange c) _ hL | |
| 705 | - have hactual := hpair n hn0 p hp P hPulse | |
| 706 | - (fun c i v hv => by | |
| 707 | - rw [canonicalPrimaryPulse_ratio (d c n) (lam c n) (u c n) hL U (hA c) p hpU (hk c) hv] | |
| 708 | - exact hratio c i v hv) zeta hzeta | |
| 709 | - have heq : nativePrimaryCovariance vr vt r0 h d lam u n p = | |
| 710 | - PartitionedCovariance.pairMatrix vr vt r0 (fun _ => ChartScales.timeCoefficient h n) P := by | |
| 711 | - exact PrimaryPulseBounds.primaryCovariance_eq_canonicalPairMatrix _ _ _ _ _ n U p hpU | |
| 712 | - (fun _ => hL) hA hk vr vt r0 (fun _ => ChartScales.timeCoefficient h n) (fun _ => rfl) | |
| 713 | - rw [heq] | |
| 714 | - exact hactual | |
| 715 | - | |
| 716 | 605 | end NativePrimary |
| 717 | 606 | |
| 718 | 607 | /-! ## Scalar-cone input adapter -/ |
| 719 | 608 | |
| 720 | 609 | /-- The manuscript's two signed model columns satisfy all model-side |
| 721 | -inputs of `compact_native_primary_bounds` directly from the scalar cone. | |
| 722 | -The actual pulse directions may be compared to these columns using the | |
| 723 | -ratio hypothesis of that theorem. -/ | |
| 610 | +inputs of the primary covariance estimate directly from the scalar cone. | |
| 611 | +The actual pulse directions may be compared to these columns using a | |
| 612 | +pointwise ratio estimate for the uncut primary. -/ | |
| 724 | 613 | theorem scalar_cone_model {X : Type*} [TopologicalSpace X] {K : Set X} |
| 725 | 614 | {c₀ u m t : X → ℝ} (hc₀ : ContinuousOn c₀ K) (hu : ContinuousOn u K) |
| 726 | 615 | (hm : ContinuousOn m K) (ht : ContinuousOn t K) |
+0 −642 NavierStokes/PrimaryFieldAssembly.lean View file
| @@ -17,7 +17,6 @@ open Set Function PartitionedCovariance HarmonicCalculus | ||
| 17 | 17 | open scoped BigOperators Topology |
| 18 | 18 | |
| 19 | 19 | abbrev Vector := Fin 3 → ℝ |
| 20 | -abbrev SignedIndex := UnsignedLabel × Fin 2 | |
| 21 | 20 | |
| 22 | 21 | /-- The three components of one literal native pulse. -/ |
| 23 | 22 | noncomputable def pulseVector (P : Pulse) (r : ℝ) (z : Plane) : Vector := |
| @@ -161,27 +160,6 @@ theorem slotVelocity_formula {U : UnsignedLabel} (P : PairData sys U) | ||
| 161 | 160 | rw [slotVelocity_formula, coveredVector_succ] |
| 162 | 161 | rfl |
| 163 | 162 | |
| 164 | -theorem slotVelocity_mask_zero {U : UnsignedLabel} (P : PairData sys U) | |
| 165 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : ℝ) (T : Vec2) | |
| 166 | - (q : ℝ) (x : SlotColoring.Position) (hm : mask D U q x = 0) | |
| 167 | - (j : Fin 2) (Y : Plane) (θ : ℝ) : | |
| 168 | - slotVelocity P hdet outer ε T q x j Y θ = 0 := by | |
| 169 | - funext i | |
| 170 | - simp [slotVelocity_formula, amplitude, hm] | |
| 171 | - | |
| 172 | -/-- The same finite set of signed labels works for all auxiliary points | |
| 173 | -and all angles at a positive physical point. -/ | |
| 174 | -theorem finite_active_slots (D : ℝ) (N : ℕ) {q : ℝ} (hq : 0 < q) | |
| 175 | - (x : SlotColoring.Position) : | |
| 176 | - ∃ F : Finset SignedIndex, ∀ a : SignedIndex, a ∉ F → | |
| 177 | - mask D (tailLabel N a.1) q x = 0 := by | |
| 178 | - classical | |
| 179 | - let hs := finite_active_masks D N hq x | |
| 180 | - refine ⟨hs.toFinset.product Finset.univ, ?_⟩ | |
| 181 | - intro a ha | |
| 182 | - by_contra hm | |
| 183 | - exact ha (Finset.mem_product.mpr ⟨hs.mem_toFinset.mpr hm, Finset.mem_univ _⟩) | |
| 184 | - | |
| 185 | 163 | private theorem finsum_vector_apply {ι : Type*} (f : ι → Vector) (s : Finset ι) |
| 186 | 164 | (hf : ∀ a, a ∉ s → f a = 0) (i : Fin 3) : |
| 187 | 165 | (∑ᶠ a, f a) i = ∑ᶠ a, f a i := by |
| @@ -199,126 +177,8 @@ private theorem finsum_vector_apply {ι : Type*} (f : ι → Vector) (s : Finset | ||
| 199 | 177 | rw [hv, hi] |
| 200 | 178 | simp only [Finset.sum_apply] |
| 201 | 179 | |
| 202 | -noncomputable def principalField {N : ℕ} | |
| 203 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 204 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 205 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 206 | - (Y : Plane) (θ : ℝ) : Vector := | |
| 207 | - ∑ᶠ a : SignedIndex, | |
| 208 | - slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ | |
| 209 | - | |
| 210 | -theorem principalField_finite {N : ℕ} | |
| 211 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 212 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 213 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) : | |
| 214 | - ∃ F : Finset SignedIndex, ∀ Y θ, | |
| 215 | - principalField P hdet outer ε T q x Y θ = | |
| 216 | - ∑ a ∈ F, slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ := by | |
| 217 | - classical | |
| 218 | - obtain ⟨F, hF⟩ := finite_active_slots D N hq x | |
| 219 | - refine ⟨F, ?_⟩ | |
| 220 | - intro Y θ | |
| 221 | - apply finsum_eq_sum_of_support_subset | |
| 222 | - intro a ha | |
| 223 | - by_contra hn | |
| 224 | - exact ha (slotVelocity_mask_zero (P a.1) hdet _ _ _ q x (hF a hn) _ Y θ) | |
| 225 | - | |
| 226 | -theorem principalField_apply {N : ℕ} | |
| 227 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 228 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 229 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) | |
| 230 | - (Y : Plane) (θ : ℝ) (i : Fin 3) : | |
| 231 | - principalField P hdet outer ε T q x Y θ i = | |
| 232 | - ∑ᶠ a : SignedIndex, | |
| 233 | - slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ i := by | |
| 234 | - obtain ⟨F, hF⟩ := finite_active_slots D N hq x | |
| 235 | - exact finsum_vector_apply _ F | |
| 236 | - (fun a ha => slotVelocity_mask_zero (P a.1) hdet _ _ _ q x (hF a ha) _ Y θ) i | |
| 237 | - | |
| 238 | -theorem principalField_components {N : ℕ} | |
| 239 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 240 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 241 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) | |
| 242 | - (Y : Plane) (θ : ℝ) : | |
| 243 | - principalField P hdet outer ε T q x Y θ 0 = | |
| 244 | - assembledRadial P hdet outer ε T q x Y θ ∧ | |
| 245 | - ∀ i : Fin 2, principalField P hdet outer ε T q x Y θ i.succ = | |
| 246 | - assembledTangent P hdet outer ε T q x i Y θ := by | |
| 247 | - constructor | |
| 248 | - · simp only [principalField_apply P hdet outer ε T hq x, slotVelocity_zero, | |
| 249 | - assembledRadial] | |
| 250 | - · intro i | |
| 251 | - simp only [principalField_apply P hdet outer ε T hq x, slotVelocity_succ, | |
| 252 | - assembledTangent] | |
| 253 | - | |
| 254 | -/-- The angular integral and torus-square integral of this actual vector | |
| 255 | -field give the physical target, with the original inverse square roots. -/ | |
| 256 | -theorem physical_principal_covariance (sys : SlotSystem D h vr vt) | |
| 257 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (N : ℕ) (hN : 1 ≤ N) | |
| 258 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 259 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 260 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 261 | - SmoothCovariance.StrictCone (P U).matrix (chartTarget h q N T0 U)) (i : Fin 2) : | |
| 262 | - doubleAverage (fun Y θ => | |
| 263 | - principalField P hdet (physicalOuter h N) (physicalViscosity h N) | |
| 264 | - (chartTarget h q N T0) q x Y θ 0 * | |
| 265 | - principalField P hdet (physicalOuter h N) (physicalViscosity h N) | |
| 266 | - (chartTarget h q N T0) q x Y θ i.succ) = | |
| 267 | - q ^ (-velocityExponent h - 1 / 2) * T0 i := by | |
| 268 | - simp_rw [(principalField_components P hdet _ _ _ hq x _ _).1, | |
| 269 | - (principalField_components P hdet _ _ _ hq x _ _).2 i] | |
| 270 | - exact physical_primary_covariance sys hdet N hN P hq hqN x T0 hcone i | |
| 271 | - | |
| 272 | 180 | /-! ## A single cutoff, before periodization -/ |
| 273 | 181 | |
| 274 | -/-- Multiplication by a locally supported cutoff commutes with actual | |
| 275 | -periodization on an injective slot. No choice of a lattice copy is needed. -/ | |
| 276 | -theorem periodize_smul_of_injective_support {S : Set Plane} | |
| 277 | - (hS : InjOn TorusAverages.quotientPoint S) {ψ : Plane → ℝ} {a : Plane → Vector} | |
| 278 | - (hψ : support ψ ⊆ S) (ha : support a ⊆ S) (Y : Plane) : | |
| 279 | - TorusAverages.periodize ψ Y • TorusAverages.periodize a Y = | |
| 280 | - TorusAverages.periodize (fun z => ψ z • a z) Y := by | |
| 281 | - have hprod : support (fun z => ψ z • a z) ⊆ S := by | |
| 282 | - intro z hz | |
| 283 | - apply hψ | |
| 284 | - intro he | |
| 285 | - exact hz (by simp [he]) | |
| 286 | - by_cases hactive : ∃ k : TorusInverse.Frequency, ψ (TorusAverages.latticePoint k + Y) ≠ 0 | |
| 287 | - · obtain ⟨k, hk⟩ := hactive | |
| 288 | - rw [TorusAverages.periodize_eq_native_copy hS hψ (hψ hk), | |
| 289 | - TorusAverages.periodize_eq_native_copy hS ha (hψ hk), | |
| 290 | - TorusAverages.periodize_eq_native_copy hS hprod (hψ hk)] | |
| 291 | - · have hz : ∀ k : TorusInverse.Frequency, ψ (TorusAverages.latticePoint k + Y) = 0 := by | |
| 292 | - simpa only [not_exists, not_not] using hactive | |
| 293 | - simp [TorusAverages.periodize, hz] | |
| 294 | - | |
| 295 | -/-- Primitive local factorization suffices to identify the coefficient | |
| 296 | -after applying its single cutoff. This is not an assumed covariance or | |
| 297 | -assembled-field identity. -/ | |
| 298 | -theorem cutoff_periodized_coefficient {U : UnsignedLabel} (P : PairData sys U) | |
| 299 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (j : Fin 2) | |
| 300 | - (ψ : Plane → ℝ) (a : Plane → Vector) | |
| 301 | - (hψ : support ψ ⊆ slotSet h sys.radius vr vt (signedLabel U j)) | |
| 302 | - (ha : support a ⊆ slotSet h sys.radius vr vt (signedLabel U j)) | |
| 303 | - (hlocal : ∀ z, ψ z • a z = nativeVector P hdet j z) | |
| 304 | - (outer ε : ℝ) (T : Vec2) (q : ℝ) (x : SlotColoring.Position) (Y : Plane) : | |
| 305 | - TorusAverages.periodize ψ ((SlotGeometry.cover ^ SlotColoring.nativeIndex h U.1) Y) • | |
| 306 | - (fun i => ((outer * amplitude ε (mask D U q x) P.matrix T j * | |
| 307 | - TorusAverages.periodize a | |
| 308 | - ((SlotGeometry.cover ^ SlotColoring.nativeIndex h U.1) Y) i : ℝ) : ℂ)) = | |
| 309 | - slotAmplitude P hdet outer ε T q x j Y := by | |
| 310 | - have hh := periodize_smul_of_injective_support (sys.injective (signedLabel U j)) hψ ha | |
| 311 | - ((SlotGeometry.cover ^ SlotColoring.nativeIndex h U.1) Y) | |
| 312 | - have he : (fun z => ψ z • a z) = nativeVector P hdet j := funext hlocal | |
| 313 | - rw [he] at hh | |
| 314 | - funext i | |
| 315 | - have hi := congrFun hh i | |
| 316 | - simp only [Pi.smul_apply, smul_eq_mul] at hi | |
| 317 | - simp only [Pi.smul_apply, Complex.real_smul, slotAmplitude, coveredVector] | |
| 318 | - rw [← hi] | |
| 319 | - push_cast | |
| 320 | - ring | |
| 321 | - | |
| 322 | 182 | /-- Identification with any actual frequency/phase presentation of the |
| 323 | 183 | same harmonic, including the frequency convention of `WaveCoefficients`. -/ |
| 324 | 184 | theorem mode_identification {X : Type*} (κ : ℝ) (Φ : X → ℝ) |
| @@ -357,18 +217,6 @@ theorem actual_phase_identification (k ε p pz x0 : ℝ) | ||
| 357 | 217 | rw [← hm] |
| 358 | 218 | ring |
| 359 | 219 | |
| 360 | -/-- The rounded angular frequency is the exact same nonzero integer as in | |
| 361 | -the pair data; this identity does not use an approximate rounding bound. -/ | |
| 362 | -theorem rounded_phase_identification (k ε target pz x0 : ℝ) (hk : k ≠ 0) | |
| 363 | - (F G : PhaseCalculus.Slow → ℝ) (s : PhaseCalculus.Slow) | |
| 364 | - (v : Plane → ℝ) (Y : Plane) (θ : ℝ) : | |
| 365 | - k * PhaseCalculus.phase ε (PhaseEstimates.roundedFrequency k target) pz x0 F G | |
| 366 | - (s, θ, v Y) = | |
| 367 | - (PhaseEstimates.nonzeroRound (k * target) : ℝ) * θ + | |
| 368 | - roundedPhaseRemainder k ε target pz x0 F G s v Y := | |
| 369 | - actual_phase_identification k ε _ pz x0 F G s v _ | |
| 370 | - (PhaseEstimates.roundedFrequency_integer hk target) Y θ | |
| 371 | - | |
| 372 | 220 | /-! ## The exact curl retains its covariance error -/ |
| 373 | 221 | |
| 374 | 222 | section CurlCorrection |
| @@ -377,51 +225,8 @@ open LinearWaveBounds WeightedClasses | ||
| 377 | 225 | |
| 378 | 226 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 379 | 227 | |
| 380 | -noncomputable def cutoffVelocity (a : WaveCoefficients X) (ψ : ℕ → X → ℝ) | |
| 381 | - (n : ℕ) (x : X) : Vector := | |
| 382 | - fun i => (vectorMode (a.frequency n) (a.phase n) | |
| 383 | - ((a.withCutoff ψ).amplitude n) x i).re | |
| 384 | - | |
| 385 | -noncomputable def curlVelocity (a : WaveCoefficients X) (s : StripData X) | |
| 386 | - (d : GraphDirections X) (ψ : ℕ → X → ℝ) (n : ℕ) (x : X) : Vector := | |
| 387 | - fun i => (vectorMode (a.frequency n) (a.phase n) | |
| 388 | - ((a.withCutoff ψ).curlCorrection s d n) x i).re | |
| 389 | - | |
| 390 | -noncomputable def correctedVelocity (a : WaveCoefficients X) (s : StripData X) | |
| 391 | - (d : GraphDirections X) (ψ : ℕ → X → ℝ) (n : ℕ) (x : X) : Vector := | |
| 392 | - fun i => (vectorMode (a.frequency n) (a.phase n) | |
| 393 | - ((a.corrected s d ψ).amplitude n) x i).re | |
| 394 | - | |
| 395 | -theorem correctedVelocity_split (a : WaveCoefficients X) (s : StripData X) | |
| 396 | - (d : GraphDirections X) (ψ : ℕ → X → ℝ) (n : ℕ) (x : X) : | |
| 397 | - correctedVelocity a s d ψ n x = cutoffVelocity a ψ n x + curlVelocity a s d ψ n x := by | |
| 398 | - funext i | |
| 399 | - simp [correctedVelocity, cutoffVelocity, curlVelocity, WaveCoefficients.corrected, | |
| 400 | - WaveCoefficients.addAmplitude, vectorMode, mode, add_mul] | |
| 401 | - | |
| 402 | -omit [NormedAddCommGroup X] [NormedSpace ℝ X] in | |
| 403 | -theorem cutoffVelocity_identification (a : WaveCoefficients X) (ψ : ℕ → X → ℝ) | |
| 404 | - (n : ℕ) (z : X) {U : UnsignedLabel} (P : PairData sys U) | |
| 405 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : ℝ) (T : Vec2) | |
| 406 | - (q : ℝ) (x : SlotColoring.Position) (j : Fin 2) (Y : Plane) (θ : ℝ) | |
| 407 | - (ha : (a.withCutoff ψ).amplitude n z = slotAmplitude P hdet outer ε T q x j Y) | |
| 408 | - (hphase : a.frequency n * a.phase n z = slotPhase P j (Y, θ)) : | |
| 409 | - cutoffVelocity a ψ n z = slotVelocity P hdet outer ε T q x j Y θ := | |
| 410 | - mode_identification (a.frequency n) (a.phase n) ((a.withCutoff ψ).amplitude n) z | |
| 411 | - P hdet outer ε T q x j Y θ ha hphase | |
| 412 | - | |
| 413 | 228 | end CurlCorrection |
| 414 | 229 | |
| 415 | -noncomputable def covarianceError (V R : Plane → ℝ → Vector) (i : Fin 2) | |
| 416 | - (Y : Plane) (θ : ℝ) : ℝ := | |
| 417 | - V Y θ 0 * R Y θ i.succ + R Y θ 0 * V Y θ i.succ + R Y θ 0 * R Y θ i.succ | |
| 418 | - | |
| 419 | -theorem covariance_expansion (V R : Plane → ℝ → Vector) (i : Fin 2) (Y : Plane) (θ : ℝ) : | |
| 420 | - (V Y θ + R Y θ) 0 * (V Y θ + R Y θ) i.succ = | |
| 421 | - V Y θ 0 * V Y θ i.succ + covarianceError V R i Y θ := by | |
| 422 | - simp only [Pi.add_apply, covarianceError] | |
| 423 | - ring | |
| 424 | - | |
| 425 | 230 | private theorem continuous_angularMean {f : Plane → ℝ → ℝ} |
| 426 | 231 | (hf : Continuous f.uncurry) : Continuous (fun Y => SmoothLoop.angularMean (f Y)) := |
| 427 | 232 | (intervalIntegral.continuous_parametric_intervalIntegral_of_continuous' hf |
| @@ -438,33 +243,6 @@ private theorem squareAverage_add {f g : Plane → ℝ} (hf : Continuous f) (hg | ||
| 438 | 243 | · exact (hg.continuousOn.integrableOn_compact (isCompact_Icc.prod isCompact_Icc)).mono_set |
| 439 | 244 | (Set.prod_mono Ico_subset_Icc_self Ico_subset_Icc_self) |
| 440 | 245 | |
| 441 | -theorem doubleAverage_add {f g : Plane → ℝ → ℝ} | |
| 442 | - (hf : Continuous f.uncurry) (hg : Continuous g.uncurry) : | |
| 443 | - doubleAverage (fun Y θ => f Y θ + g Y θ) = doubleAverage f + doubleAverage g := by | |
| 444 | - unfold doubleAverage | |
| 445 | - have he : (fun Y => SmoothLoop.angularMean (fun θ => f Y θ + g Y θ)) = | |
| 446 | - fun Y => SmoothLoop.angularMean (f Y) + SmoothLoop.angularMean (g Y) := by | |
| 447 | - funext Y | |
| 448 | - apply SmoothLoop.angularMean_add | |
| 449 | - · exact hf.comp (continuous_const.prodMk continuous_id) | |
| 450 | - · exact hg.comp (continuous_const.prodMk continuous_id) | |
| 451 | - rw [he] | |
| 452 | - exact squareAverage_add (continuous_angularMean hf) (continuous_angularMean hg) | |
| 453 | - | |
| 454 | -/-- The covariance of the exact curl has three explicitly retained error | |
| 455 | -products, rather than being identified with the principal covariance. -/ | |
| 456 | -theorem averaged_covariance_expansion (V R : Plane → ℝ → Vector) | |
| 457 | - (hV : Continuous V.uncurry) (hR : Continuous R.uncurry) (i : Fin 2) : | |
| 458 | - doubleAverage (fun Y θ => (V Y θ + R Y θ) 0 * (V Y θ + R Y θ) i.succ) = | |
| 459 | - doubleAverage (fun Y θ => V Y θ 0 * V Y θ i.succ) + | |
| 460 | - doubleAverage (covarianceError V R i) := by | |
| 461 | - simp_rw [covariance_expansion] | |
| 462 | - apply doubleAverage_add | |
| 463 | - · exact ((continuous_apply 0).comp hV).mul ((continuous_apply i.succ).comp hV) | |
| 464 | - · exact ((((continuous_apply 0).comp hV).mul ((continuous_apply i.succ).comp hR)).add | |
| 465 | - (((continuous_apply 0).comp hR).mul ((continuous_apply i.succ).comp hV))).add | |
| 466 | - (((continuous_apply 0).comp hR).mul ((continuous_apply i.succ).comp hR)) | |
| 467 | - | |
| 468 | 246 | /-! ## Canonical source data: actual ODE pulses and the same matrix -/ |
| 469 | 247 | |
| 470 | 248 | section Source |
| @@ -619,46 +397,6 @@ theorem actualVelocity_eq (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | ||
| 619 | 397 | |
| 620 | 398 | end SourcePair |
| 621 | 399 | |
| 622 | -noncomputable def sourceField {N : ℕ} | |
| 623 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 624 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 625 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 626 | - (Y : Plane) (θ : ℝ) : Vector := | |
| 627 | - ∑ᶠ a : SignedIndex, | |
| 628 | - (A a.1).actualVelocity hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ | |
| 629 | - | |
| 630 | -theorem sourceField_eq {N : ℕ} | |
| 631 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 632 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 633 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 634 | - (Y : Plane) (θ : ℝ) : | |
| 635 | - sourceField A hdet outer ε T q x Y θ = | |
| 636 | - principalField (fun U => (A U).pairData) hdet outer ε T q x Y θ := by | |
| 637 | - unfold sourceField principalField | |
| 638 | - apply finsum_congr | |
| 639 | - intro a | |
| 640 | - exact (A a.1).actualVelocity_eq hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ | |
| 641 | - | |
| 642 | -/-- End-to-end principal covariance for the actual ODE/source coefficient. | |
| 643 | -The assumed cone concerns its actual normalized ODE integral matrix. -/ | |
| 644 | -theorem physical_source_covariance (sys : SlotSystem D h vr vt) | |
| 645 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (N : ℕ) (hN : 1 ≤ N) | |
| 646 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 647 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 648 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 649 | - SmoothCovariance.StrictCone (A U).sourceMatrix (chartTarget h q N T0 U)) (i : Fin 2) : | |
| 650 | - doubleAverage (fun Y θ => | |
| 651 | - sourceField A hdet (physicalOuter h N) (physicalViscosity h N) | |
| 652 | - (chartTarget h q N T0) q x Y θ 0 * | |
| 653 | - sourceField A hdet (physicalOuter h N) (physicalViscosity h N) | |
| 654 | - (chartTarget h q N T0) q x Y θ i.succ) = | |
| 655 | - q ^ (-velocityExponent h - 1 / 2) * T0 i := by | |
| 656 | - simp_rw [sourceField_eq] | |
| 657 | - apply physical_principal_covariance sys hdet N hN _ hq hqN x T0 _ i | |
| 658 | - intro U hU | |
| 659 | - rw [← (A U).sourceMatrix_eq] | |
| 660 | - exact hcone U hU | |
| 661 | - | |
| 662 | 400 | end Source |
| 663 | 401 | |
| 664 | 402 | /-! ## Adapter to the actual `WaveCoefficients.withCutoff` field -/ |
| @@ -670,66 +408,6 @@ open LinearWaveBounds | ||
| 670 | 408 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 671 | 409 | variable {Q : Type} [NormedAddCommGroup Q] |
| 672 | 410 | |
| 673 | -noncomputable def cutoffModeField (a : SignedIndex → WaveCoefficients X) | |
| 674 | - (ψ : SignedIndex → ℕ → X → ℝ) (band : SignedIndex → ℕ) | |
| 675 | - (point : SignedIndex → Plane → ℝ → X) (Y : Plane) (θ : ℝ) : Vector := | |
| 676 | - ∑ᶠ b : SignedIndex, cutoffVelocity (a b) (ψ b) (band b) (point b Y θ) | |
| 677 | - | |
| 678 | -omit [NormedAddCommGroup X] [NormedSpace ℝ X] in | |
| 679 | -/-- The only bindings are the constructed coefficient and phase. The field | |
| 680 | -and its assembled covariance are conclusions of this adapter. -/ | |
| 681 | -theorem cutoffModeField_eq_source {N : ℕ} | |
| 682 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 683 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 684 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 685 | - (a : SignedIndex → WaveCoefficients X) (ψ : SignedIndex → ℕ → X → ℝ) | |
| 686 | - (band : SignedIndex → ℕ) (point : SignedIndex → Plane → ℝ → X) | |
| 687 | - (hcoeff : ∀ b Y θ, ((a b).withCutoff (ψ b)).amplitude (band b) (point b Y θ) = | |
| 688 | - (A b.1).actualAmplitude hdet (outer b.1) (ε b.1) (T b.1) q x b.2 Y) | |
| 689 | - (hphase : ∀ b Y θ, (a b).frequency (band b) * (a b).phase (band b) (point b Y θ) = | |
| 690 | - slotPhase (A b.1).pairData b.2 (Y, θ)) (Y : Plane) (θ : ℝ) : | |
| 691 | - cutoffModeField a ψ band point Y θ = sourceField A hdet outer ε T q x Y θ := by | |
| 692 | - unfold cutoffModeField sourceField | |
| 693 | - apply finsum_congr | |
| 694 | - intro b | |
| 695 | - rw [(A b.1).actualVelocity_eq] | |
| 696 | - exact cutoffVelocity_identification (a b) (ψ b) (band b) (point b Y θ) | |
| 697 | - (A b.1).pairData hdet (outer b.1) (ε b.1) (T b.1) q x b.2 Y θ | |
| 698 | - ((hcoeff b Y θ).trans ((A b.1).actualAmplitude_eq hdet _ _ _ q x b.2 Y)) | |
| 699 | - (hphase b Y θ) | |
| 700 | - | |
| 701 | -omit [NormedAddCommGroup X] [NormedSpace ℝ X] in | |
| 702 | -theorem cutoffModeField_physical_covariance (sys : SlotSystem D h vr vt) | |
| 703 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (N : ℕ) (hN : 1 ≤ N) | |
| 704 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 705 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 706 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 707 | - SmoothCovariance.StrictCone (A U).sourceMatrix (chartTarget h q N T0 U)) | |
| 708 | - (a : SignedIndex → WaveCoefficients X) (ψ : SignedIndex → ℕ → X → ℝ) | |
| 709 | - (band : SignedIndex → ℕ) (point : SignedIndex → Plane → ℝ → X) | |
| 710 | - (hcoeff : ∀ b Y θ, ((a b).withCutoff (ψ b)).amplitude (band b) (point b Y θ) = | |
| 711 | - (A b.1).actualAmplitude hdet (physicalOuter h N b.1) (physicalViscosity h N b.1) | |
| 712 | - (chartTarget h q N T0 b.1) q x b.2 Y) | |
| 713 | - (hphase : ∀ b Y θ, (a b).frequency (band b) * (a b).phase (band b) (point b Y θ) = | |
| 714 | - slotPhase (A b.1).pairData b.2 (Y, θ)) (i : Fin 2) : | |
| 715 | - doubleAverage (fun Y θ => cutoffModeField a ψ band point Y θ 0 * | |
| 716 | - cutoffModeField a ψ band point Y θ i.succ) = | |
| 717 | - q ^ (-velocityExponent h - 1 / 2) * T0 i := by | |
| 718 | - simp_rw [cutoffModeField_eq_source A hdet _ _ _ q x a ψ band point hcoeff hphase] | |
| 719 | - exact physical_source_covariance sys hdet N hN A hq hqN x T0 hcone i | |
| 720 | - | |
| 721 | -/-- A finite exact-curl assembly retains the sum of its actual curl | |
| 722 | -corrections. This applies before any covariance estimate is made. -/ | |
| 723 | -theorem finite_corrected_field_split {ι : Type*} (F : Finset ι) | |
| 724 | - (a : ι → WaveCoefficients X) (s : ι → WeightedClasses.StripData X) | |
| 725 | - (d : ι → GraphDirections X) (ψ : ι → ℕ → X → ℝ) | |
| 726 | - (band : ι → ℕ) (point : ι → X) : | |
| 727 | - (∑ b ∈ F, correctedVelocity (a b) (s b) (d b) (ψ b) (band b) (point b)) = | |
| 728 | - (∑ b ∈ F, cutoffVelocity (a b) (ψ b) (band b) (point b)) + | |
| 729 | - ∑ b ∈ F, curlVelocity (a b) (s b) (d b) (ψ b) (band b) (point b) := by | |
| 730 | - simp_rw [correctedVelocity_split] | |
| 731 | - exact Finset.sum_add_distrib | |
| 732 | - | |
| 733 | 411 | end CoefficientAssembly |
| 734 | 412 | |
| 735 | 413 | /-! ## The angular covariance is a genuine function on the auxiliary torus -/ |
| @@ -751,255 +429,6 @@ private theorem covering_iterate_add_lattice (n : ℕ) (Y : Plane) (k : TorusInv | ||
| 751 | 429 | rw [Function.iterate_succ_apply', ih, covering_add_lattice, |
| 752 | 430 | Function.iterate_succ_apply', Function.iterate_succ_apply'] |
| 753 | 431 | |
| 754 | -theorem covered_periodic (n : ℕ) (f : Plane → ℝ) (Y : Plane) (k : TorusInverse.Frequency) : | |
| 755 | - covered n f (Y + TorusAverages.latticePoint k) = covered n f Y := by | |
| 756 | - unfold covered | |
| 757 | - rw [covering_iterate_add_lattice, TorusAverages.periodize_periodic] | |
| 758 | - | |
| 759 | -theorem slot_cross_zero {N : ℕ} (hN : 1 ≤ N) | |
| 760 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 761 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 762 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) | |
| 763 | - {a b : SignedIndex} (hab : a ≠ b) (Y : Plane) (θ : ℝ) (i : Fin 2) : | |
| 764 | - slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ 0 * | |
| 765 | - slotVelocity (P b.1) hdet (outer b.1) (ε b.1) (T b.1) q x b.2 Y θ i.succ = 0 := by | |
| 766 | - have hlevel (c : SignedIndex) : 1 ≤ (signedTailLabel N c).1 := by | |
| 767 | - change 1 ≤ c.1.1 + N | |
| 768 | - omega | |
| 769 | - have hne : signedTailLabel N a ≠ signedTailLabel N b := | |
| 770 | - fun he => hab ((signedTailLabel_injective N) he) | |
| 771 | - have hz := sys.wave_cross_zero (hlevel a) (hlevel b) hne | |
| 772 | - ((P a.1).rawRadial_support hdet a.2) ((P b.1).rawTangent_support hdet b.2 i) hq x Y θ | |
| 773 | - (outer a.1 * Real.sqrt (ε a.1) * SmoothCovariance.amplitudes (P a.1).matrix (T a.1) a.2) | |
| 774 | - (outer b.1 * Real.sqrt (ε b.1) * SmoothCovariance.amplitudes (P b.1).matrix (T b.1) b.2) | |
| 775 | - ((P a.1).modes a.2) ((P b.1).modes b.2) ((P a.1).phases a.2) ((P b.1).phases b.2) | |
| 776 | - simp only [slotVelocity_zero, slotVelocity_succ, PairData.radialWave, PairData.tangentWave, | |
| 777 | - signedTailLabel, physicalMask_signedLabel, amplitude, mul_assoc] at hz ⊢ | |
| 778 | - exact hz | |
| 779 | - | |
| 780 | -noncomputable def diagonalCovariance {N : ℕ} | |
| 781 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 782 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 783 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 784 | - (a : SignedIndex) (i : Fin 2) (Y : Plane) : ℝ := | |
| 785 | - (outer a.1 * amplitude (ε a.1) (mask D (tailLabel N a.1) q x) (P a.1).matrix (T a.1) a.2) ^ 2 * | |
| 786 | - covered (SlotColoring.nativeIndex h (tailLabel N a.1).1) ((P a.1).rawRadial hdet a.2) Y * | |
| 787 | - covered (SlotColoring.nativeIndex h (tailLabel N a.1).1) ((P a.1).rawTangent hdet a.2 i) Y * (1 / 2) | |
| 788 | - | |
| 789 | -/-- Both off-diagonal elimination and angular integration are performed | |
| 790 | -on the actual finite active family, before descending to the torus. -/ | |
| 791 | -theorem angular_principal_finite {N : ℕ} (hN : 1 ≤ N) | |
| 792 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 793 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 794 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) (i : Fin 2) : | |
| 795 | - ∃ F : Finset SignedIndex, ∀ Y, | |
| 796 | - SmoothLoop.angularMean (fun θ => principalField P hdet outer ε T q x Y θ 0 * | |
| 797 | - principalField P hdet outer ε T q x Y θ i.succ) = | |
| 798 | - ∑ a ∈ F, diagonalCovariance P hdet outer ε T q x a i Y := by | |
| 799 | - classical | |
| 800 | - obtain ⟨F, hF⟩ := principalField_finite P hdet outer ε T hq x | |
| 801 | - refine ⟨F, ?_⟩ | |
| 802 | - intro Y | |
| 803 | - have hprod (θ : ℝ) : principalField P hdet outer ε T q x Y θ 0 * | |
| 804 | - principalField P hdet outer ε T q x Y θ i.succ = | |
| 805 | - ∑ a ∈ F, slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ 0 * | |
| 806 | - slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ i.succ := by | |
| 807 | - simp only [hF Y θ, Finset.sum_apply] | |
| 808 | - apply sum_product_diagonal | |
| 809 | - intro a _ b _ hab | |
| 810 | - exact slot_cross_zero hN P hdet outer ε T hq x hab Y θ i | |
| 811 | - simp_rw [hprod] | |
| 812 | - rw [angularMean_sum F] | |
| 813 | - · apply Finset.sum_congr rfl | |
| 814 | - intro a _ | |
| 815 | - simp only [slotVelocity_zero, slotVelocity_succ, PairData.radialWave, PairData.tangentWave] | |
| 816 | - exact angularMean_wave_product _ _ _ _ _ ((P a.1).modes_ne a.2) _ _ | |
| 817 | - · intro a _ | |
| 818 | - simp only [slotVelocity_zero, slotVelocity_succ, PairData.radialWave, PairData.tangentWave] | |
| 819 | - exact (wave_continuous_theta _ _ _ _ _ _).mul (wave_continuous_theta _ _ _ _ _ _) | |
| 820 | - | |
| 821 | -theorem angular_principal_regular {N : ℕ} (hN : 1 ≤ N) | |
| 822 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 823 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 824 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) (i : Fin 2) : | |
| 825 | - let f := fun Y => SmoothLoop.angularMean (fun θ => | |
| 826 | - principalField P hdet outer ε T q x Y θ 0 * principalField P hdet outer ε T q x Y θ i.succ) | |
| 827 | - Continuous f ∧ ∀ Y k, f (Y + TorusAverages.latticePoint k) = f Y := by | |
| 828 | - dsimp only | |
| 829 | - obtain ⟨F, hF⟩ := angular_principal_finite hN P hdet outer ε T hq x i | |
| 830 | - constructor | |
| 831 | - · simp_rw [hF] | |
| 832 | - apply continuous_finsetSum | |
| 833 | - intro a _ | |
| 834 | - exact ((continuous_const.mul | |
| 835 | - (covered_continuous ((P a.1).rawRadial_continuous hdet a.2) | |
| 836 | - ((P a.1).rawRadial_compact hdet a.2) _)).mul | |
| 837 | - (covered_continuous ((P a.1).rawTangent_continuous hdet a.2 i) | |
| 838 | - ((P a.1).rawTangent_compact hdet a.2 i) _)).mul continuous_const | |
| 839 | - · intro Y k | |
| 840 | - rw [hF, hF] | |
| 841 | - apply Finset.sum_congr rfl | |
| 842 | - intro a _ | |
| 843 | - unfold diagonalCovariance | |
| 844 | - rw [covered_periodic, covered_periodic] | |
| 845 | - | |
| 846 | -/-- The square average is exactly the Haar integral of the angular | |
| 847 | -covariance's continuous descent to the auxiliary torus. -/ | |
| 848 | -theorem principal_torus_average {N : ℕ} (hN : 1 ≤ N) | |
| 849 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 850 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 851 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) (i : Fin 2) : | |
| 852 | - ∃ g : C(TorusInverse.Torus, ℂ), | |
| 853 | - (∀ Y, g (TorusAverages.quotientPoint Y) = | |
| 854 | - ((SmoothLoop.angularMean (fun θ => principalField P hdet outer ε T q x Y θ 0 * | |
| 855 | - principalField P hdet outer ε T q x Y θ i.succ) : ℝ) : ℂ)) ∧ | |
| 856 | - (∫ z, g z ∂TorusInverse.torusMeasure) = | |
| 857 | - ((doubleAverage (fun Y θ => principalField P hdet outer ε T q x Y θ 0 * | |
| 858 | - principalField P hdet outer ε T q x Y θ i.succ) : ℝ) : ℂ) := by | |
| 859 | - obtain ⟨hc, hp⟩ := angular_principal_regular hN P hdet outer ε T hq x i | |
| 860 | - let f : Plane → ℝ := fun Y => SmoothLoop.angularMean (fun θ => | |
| 861 | - principalField P hdet outer ε T q x Y θ 0 * principalField P hdet outer ε T q x Y θ i.succ) | |
| 862 | - have hcc : Continuous (fun Y => (f Y : ℂ)) := Complex.continuous_ofReal.comp hc | |
| 863 | - have hpc : SmoothFourierData.UnitPeriodic (fun Y => (f Y : ℂ)) := by | |
| 864 | - intro Y k | |
| 865 | - exact congrArg Complex.ofReal (hp Y k) | |
| 866 | - let g := SmoothFourierData.descendContinuous (fun Y => (f Y : ℂ)) hcc hpc | |
| 867 | - refine ⟨g, fun _ => rfl, ?_⟩ | |
| 868 | - rw [← TorusAverages.squareAverage_torusLift g] | |
| 869 | - change TorusAverages.squareAverage (fun Y => (f Y : ℂ)) = | |
| 870 | - ((TorusAverages.squareAverage f : ℝ) : ℂ) | |
| 871 | - simp only [TorusAverages.squareAverage, ← intervalIntegral.integral_ofReal] | |
| 872 | - | |
| 873 | -theorem physical_source_torus_covariance {Q : Type} [NormedAddCommGroup Q] | |
| 874 | - (sys : SlotSystem D h vr vt) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | |
| 875 | - (N : ℕ) (hN : 1 ≤ N) (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 876 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 877 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 878 | - SmoothCovariance.StrictCone (A U).sourceMatrix (chartTarget h q N T0 U)) (i : Fin 2) : | |
| 879 | - ∃ g : C(TorusInverse.Torus, ℂ), | |
| 880 | - (∀ Y, g (TorusAverages.quotientPoint Y) = | |
| 881 | - ((SmoothLoop.angularMean (fun θ => | |
| 882 | - sourceField A hdet (physicalOuter h N) (physicalViscosity h N) | |
| 883 | - (chartTarget h q N T0) q x Y θ 0 * | |
| 884 | - sourceField A hdet (physicalOuter h N) (physicalViscosity h N) | |
| 885 | - (chartTarget h q N T0) q x Y θ i.succ) : ℝ) : ℂ)) ∧ | |
| 886 | - (∫ z, g z ∂TorusInverse.torusMeasure) = | |
| 887 | - ((q ^ (-velocityExponent h - 1 / 2) * T0 i : ℝ) : ℂ) := by | |
| 888 | - obtain ⟨g, hg, hint⟩ := principal_torus_average hN (fun U => (A U).pairData) hdet | |
| 889 | - (physicalOuter h N) (physicalViscosity h N) (chartTarget h q N T0) hq x i | |
| 890 | - refine ⟨g, ?_, ?_⟩ | |
| 891 | - · simpa only [sourceField_eq] using hg | |
| 892 | - · have hphys := physical_source_covariance sys hdet N hN A hq hqN x T0 hcone i | |
| 893 | - simp only [sourceField_eq] at hphys | |
| 894 | - rw [hphys] at hint | |
| 895 | - exact hint | |
| 896 | - | |
| 897 | -theorem nativeVector_continuous {U : UnsignedLabel} (P : PairData sys U) | |
| 898 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (j : Fin 2) : | |
| 899 | - Continuous (nativeVector P hdet j) := by | |
| 900 | - apply continuous_pi | |
| 901 | - intro i | |
| 902 | - refine Fin.cases ?_ (fun k => ?_) i | |
| 903 | - · exact P.rawRadial_continuous hdet j | |
| 904 | - · exact P.rawTangent_continuous hdet j k | |
| 905 | - | |
| 906 | -theorem slotVelocity_continuous {U : UnsignedLabel} (P : PairData sys U) | |
| 907 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : ℝ) (T : Vec2) | |
| 908 | - (q : ℝ) (x : SlotColoring.Position) (j : Fin 2) (hphase : Continuous (P.phases j)) : | |
| 909 | - Continuous (fun z : Plane × ℝ => slotVelocity P hdet outer ε T q x j z.1 z.2) := by | |
| 910 | - have hcov : Continuous (coveredVector P hdet j) := | |
| 911 | - (TorusAverages.periodize_continuous (nativeVector_continuous P hdet j) | |
| 912 | - (nativeVector_compact P hdet j)).comp (SlotGeometry.cover ^ SlotColoring.nativeIndex h U.1).continuous | |
| 913 | - apply continuous_pi | |
| 914 | - intro i | |
| 915 | - simp only [slotVelocity_formula] | |
| 916 | - exact (continuous_const.mul (((continuous_apply i).comp hcov).comp continuous_fst)).mul | |
| 917 | - (Real.continuous_cos.comp ((continuous_const.mul continuous_snd).add (hphase.comp continuous_fst))) | |
| 918 | - | |
| 919 | -theorem principalField_continuous {N : ℕ} | |
| 920 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 921 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 922 | - (T : UnsignedLabel → Vec2) {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) | |
| 923 | - (hphase : ∀ U j, Continuous ((P U).phases j)) : | |
| 924 | - Continuous (fun z : Plane × ℝ => principalField P hdet outer ε T q x z.1 z.2) := by | |
| 925 | - obtain ⟨F, hF⟩ := principalField_finite P hdet outer ε T hq x | |
| 926 | - have he : (fun z : Plane × ℝ => principalField P hdet outer ε T q x z.1 z.2) = | |
| 927 | - fun z => ∑ a ∈ F, slotVelocity (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 z.1 z.2 := by | |
| 928 | - funext z | |
| 929 | - exact hF z.1 z.2 | |
| 930 | - rw [he] | |
| 931 | - exact continuous_finsetSum F (fun a _ => | |
| 932 | - slotVelocity_continuous (P a.1) hdet (outer a.1) (ε a.1) (T a.1) q x a.2 (hphase a.1 a.2)) | |
| 933 | - | |
| 934 | -/-- The physical covariance target belongs to the principal field. Adding | |
| 935 | -the actual curl remainder preserves all three covariance error terms. -/ | |
| 936 | -theorem physical_source_plus_remainder {Q : Type} [NormedAddCommGroup Q] | |
| 937 | - (sys : SlotSystem D h vr vt) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | |
| 938 | - (N : ℕ) (hN : 1 ≤ N) (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 939 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 940 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 941 | - SmoothCovariance.StrictCone (A U).sourceMatrix (chartTarget h q N T0 U)) | |
| 942 | - (hphase : ∀ U j, Continuous ((A U).phase j)) | |
| 943 | - (R : Plane → ℝ → Vector) (hR : Continuous R.uncurry) (i : Fin 2) : | |
| 944 | - let V := sourceField A hdet (physicalOuter h N) (physicalViscosity h N) (chartTarget h q N T0) q x | |
| 945 | - doubleAverage (fun Y θ => (V Y θ + R Y θ) 0 * (V Y θ + R Y θ) i.succ) = | |
| 946 | - q ^ (-velocityExponent h - 1 / 2) * T0 i + doubleAverage (covarianceError V R i) := by | |
| 947 | - dsimp only | |
| 948 | - have hV : Continuous (sourceField A hdet (physicalOuter h N) (physicalViscosity h N) | |
| 949 | - (chartTarget h q N T0) q x).uncurry := by | |
| 950 | - change Continuous (fun z : Plane × ℝ => sourceField A hdet (physicalOuter h N) | |
| 951 | - (physicalViscosity h N) (chartTarget h q N T0) q x z.1 z.2) | |
| 952 | - simp_rw [sourceField_eq] | |
| 953 | - exact principalField_continuous (fun U => (A U).pairData) hdet _ _ _ hq x hphase | |
| 954 | - rw [averaged_covariance_expansion _ R hV hR i, | |
| 955 | - physical_source_covariance sys hdet N hN A hq hqN x T0 hcone i] | |
| 956 | - | |
| 957 | -/-- Integer angular modes give actual full-turn periodicity. -/ | |
| 958 | -theorem slotVelocity_angular_periodic {U : UnsignedLabel} (P : PairData sys U) | |
| 959 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : ℝ) (T : Vec2) | |
| 960 | - (q : ℝ) (x : SlotColoring.Position) (j : Fin 2) (Y : Plane) (θ : ℝ) : | |
| 961 | - slotVelocity P hdet outer ε T q x j Y (θ + 2 * Real.pi) = | |
| 962 | - slotVelocity P hdet outer ε T q x j Y θ := by | |
| 963 | - funext i | |
| 964 | - simp only [slotVelocity_formula] | |
| 965 | - congr 1 | |
| 966 | - rw [show (P.modes j : ℝ) * (θ + 2 * Real.pi) + P.phases j Y = | |
| 967 | - ((P.modes j : ℝ) * θ + P.phases j Y) + (P.modes j : ℝ) * (2 * Real.pi) by ring] | |
| 968 | - exact Real.cos_add_int_mul_two_pi _ _ | |
| 969 | - | |
| 970 | -theorem principalField_angular_periodic {N : ℕ} | |
| 971 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 972 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 973 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) (Y : Plane) (θ : ℝ) : | |
| 974 | - principalField P hdet outer ε T q x Y (θ + 2 * Real.pi) = | |
| 975 | - principalField P hdet outer ε T q x Y θ := by | |
| 976 | - unfold principalField | |
| 977 | - apply finsum_congr | |
| 978 | - intro a | |
| 979 | - exact slotVelocity_angular_periodic (P a.1) hdet _ _ _ q x a.2 Y θ | |
| 980 | - | |
| 981 | -/-- Full-field auxiliary periodicity uses the source phase convention. | |
| 982 | -The angular covariance's periodicity above needed no such hypothesis. -/ | |
| 983 | -theorem principalField_auxiliary_periodic {N : ℕ} | |
| 984 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 985 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 986 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 987 | - (hphase : ∀ U j Y k, (P U).phases j (Y + TorusAverages.latticePoint k) = (P U).phases j Y) | |
| 988 | - (Y : Plane) (θ : ℝ) (k : TorusInverse.Frequency) : | |
| 989 | - principalField P hdet outer ε T q x (Y + TorusAverages.latticePoint k) θ = | |
| 990 | - principalField P hdet outer ε T q x Y θ := by | |
| 991 | - unfold principalField | |
| 992 | - apply finsum_congr | |
| 993 | - intro a | |
| 994 | - have hcov : coveredVector (P a.1) hdet a.2 (Y + TorusAverages.latticePoint k) = | |
| 995 | - coveredVector (P a.1) hdet a.2 Y := by | |
| 996 | - funext i | |
| 997 | - refine Fin.cases ?_ (fun l => ?_) i | |
| 998 | - · simp only [coveredVector_zero, covered_periodic] | |
| 999 | - · simp only [coveredVector_succ, covered_periodic] | |
| 1000 | - funext i | |
| 1001 | - simp only [slotVelocity_formula, hcov, hphase] | |
| 1002 | - | |
| 1003 | 432 | /-! ## Explicit conversion from chart velocity to physical velocity -/ |
| 1004 | 433 | |
| 1005 | 434 | theorem slotVelocity_outer_scale {U : UnsignedLabel} (P : PairData sys U) |
| @@ -1010,14 +439,6 @@ theorem slotVelocity_outer_scale {U : UnsignedLabel} (P : PairData sys U) | ||
| 1010 | 439 | simp only [Pi.smul_apply, smul_eq_mul, slotVelocity_formula] |
| 1011 | 440 | ring |
| 1012 | 441 | |
| 1013 | -theorem SourcePair.actualVelocity_outer_scale {Q : Type} [NormedAddCommGroup Q] | |
| 1014 | - {U : UnsignedLabel} (A : SourcePair Q sys U) | |
| 1015 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : ℝ) (T : Vec2) | |
| 1016 | - (q : ℝ) (x : SlotColoring.Position) (j : Fin 2) (Y : Plane) (θ : ℝ) : | |
| 1017 | - A.actualVelocity hdet outer ε T q x j Y θ = outer • A.actualVelocity hdet 1 ε T q x j Y θ := by | |
| 1018 | - rw [A.actualVelocity_eq, A.actualVelocity_eq] | |
| 1019 | - exact slotVelocity_outer_scale A.pairData hdet outer ε T q x j Y θ | |
| 1020 | - | |
| 1021 | 442 | section PhysicalCoefficientAssembly |
| 1022 | 443 | |
| 1023 | 444 | open LinearWaveBounds |
| @@ -1025,69 +446,6 @@ open LinearWaveBounds | ||
| 1025 | 446 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 1026 | 447 | variable {Q : Type} [NormedAddCommGroup Q] |
| 1027 | 448 | |
| 1028 | -/-- Chart velocity is converted to physical velocity outside the chart | |
| 1029 | -coefficient. The weighted class of the original coefficient is unchanged. -/ | |
| 1030 | -noncomputable def scaledCutoffModeField (outer : UnsignedLabel → ℝ) | |
| 1031 | - (a : SignedIndex → WaveCoefficients X) (ψ : SignedIndex → ℕ → X → ℝ) | |
| 1032 | - (band : SignedIndex → ℕ) (point : SignedIndex → Plane → ℝ → X) | |
| 1033 | - (Y : Plane) (θ : ℝ) : Vector := | |
| 1034 | - ∑ᶠ b : SignedIndex, outer b.1 • cutoffVelocity (a b) (ψ b) (band b) (point b Y θ) | |
| 1035 | - | |
| 1036 | -omit [NormedAddCommGroup X] [NormedSpace ℝ X] in | |
| 1037 | -theorem scaledCutoffModeField_eq_source {N : ℕ} | |
| 1038 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 1039 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 1040 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) | |
| 1041 | - (a : SignedIndex → WaveCoefficients X) (ψ : SignedIndex → ℕ → X → ℝ) | |
| 1042 | - (band : SignedIndex → ℕ) (point : SignedIndex → Plane → ℝ → X) | |
| 1043 | - (hcoeff : ∀ b Y θ, ((a b).withCutoff (ψ b)).amplitude (band b) (point b Y θ) = | |
| 1044 | - (A b.1).actualAmplitude hdet 1 (ε b.1) (T b.1) q x b.2 Y) | |
| 1045 | - (hphase : ∀ b Y θ, (a b).frequency (band b) * (a b).phase (band b) (point b Y θ) = | |
| 1046 | - slotPhase (A b.1).pairData b.2 (Y, θ)) (Y : Plane) (θ : ℝ) : | |
| 1047 | - scaledCutoffModeField outer a ψ band point Y θ = sourceField A hdet outer ε T q x Y θ := by | |
| 1048 | - unfold scaledCutoffModeField sourceField | |
| 1049 | - apply finsum_congr | |
| 1050 | - intro b | |
| 1051 | - rw [(A b.1).actualVelocity_outer_scale] | |
| 1052 | - congr 1 | |
| 1053 | - rw [(A b.1).actualVelocity_eq] | |
| 1054 | - exact cutoffVelocity_identification (a b) (ψ b) (band b) (point b Y θ) | |
| 1055 | - (A b.1).pairData hdet 1 (ε b.1) (T b.1) q x b.2 Y θ | |
| 1056 | - ((hcoeff b Y θ).trans ((A b.1).actualAmplitude_eq hdet 1 _ _ q x b.2 Y)) | |
| 1057 | - (hphase b Y θ) | |
| 1058 | - | |
| 1059 | -omit [NormedAddCommGroup X] [NormedSpace ℝ X] in | |
| 1060 | -/-- The physical factor is exactly `Q^(-A)` applied to each chart field. | |
| 1061 | -It is not inserted into the coefficient before the chart wave estimates. -/ | |
| 1062 | -theorem scaledCutoffModeField_physical_covariance (sys : SlotSystem D h vr vt) | |
| 1063 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (N : ℕ) (hN : 1 ≤ N) | |
| 1064 | - (A : (U : UnsignedLabel) → SourcePair Q sys (tailLabel N U)) | |
| 1065 | - {q : ℝ} (hq : 0 < q) (hqN : q ≤ ChartScales.Q N) (x : SlotColoring.Position) (T0 : Vec2) | |
| 1066 | - (hcone : ∀ U, mask D (tailLabel N U) q x ≠ 0 → | |
| 1067 | - SmoothCovariance.StrictCone (A U).sourceMatrix (chartTarget h q N T0 U)) | |
| 1068 | - (a : SignedIndex → WaveCoefficients X) (ψ : SignedIndex → ℕ → X → ℝ) | |
| 1069 | - (band : SignedIndex → ℕ) (point : SignedIndex → Plane → ℝ → X) | |
| 1070 | - (hcoeff : ∀ b Y θ, ((a b).withCutoff (ψ b)).amplitude (band b) (point b Y θ) = | |
| 1071 | - (A b.1).actualAmplitude hdet 1 (physicalViscosity h N b.1) | |
| 1072 | - (chartTarget h q N T0 b.1) q x b.2 Y) | |
| 1073 | - (hphase : ∀ b Y θ, (a b).frequency (band b) * (a b).phase (band b) (point b Y θ) = | |
| 1074 | - slotPhase (A b.1).pairData b.2 (Y, θ)) (i : Fin 2) : | |
| 1075 | - doubleAverage (fun Y θ => scaledCutoffModeField (physicalOuter h N) a ψ band point Y θ 0 * | |
| 1076 | - scaledCutoffModeField (physicalOuter h N) a ψ band point Y θ i.succ) = | |
| 1077 | - q ^ (-velocityExponent h - 1 / 2) * T0 i := by | |
| 1078 | - simp_rw [scaledCutoffModeField_eq_source A hdet _ _ _ q x a ψ band point hcoeff hphase] | |
| 1079 | - exact physical_source_covariance sys hdet N hN A hq hqN x T0 hcone i | |
| 1080 | - | |
| 1081 | -theorem finite_scaled_corrected_field_split {ι : Type*} (F : Finset ι) (outer : ι → ℝ) | |
| 1082 | - (a : ι → WaveCoefficients X) (s : ι → WeightedClasses.StripData X) | |
| 1083 | - (d : ι → GraphDirections X) (ψ : ι → ℕ → X → ℝ) | |
| 1084 | - (band : ι → ℕ) (point : ι → X) : | |
| 1085 | - (∑ b ∈ F, outer b • correctedVelocity (a b) (s b) (d b) (ψ b) (band b) (point b)) = | |
| 1086 | - (∑ b ∈ F, outer b • cutoffVelocity (a b) (ψ b) (band b) (point b)) + | |
| 1087 | - ∑ b ∈ F, outer b • curlVelocity (a b) (s b) (d b) (ψ b) (band b) (point b) := by | |
| 1088 | - simp_rw [correctedVelocity_split, smul_add] | |
| 1089 | - exact Finset.sum_add_distrib | |
| 1090 | - | |
| 1091 | 449 | end PhysicalCoefficientAssembly |
| 1092 | 450 | |
| 1093 | 451 | end NavierStokes.PrimaryFieldAssembly |
+0 −102 NavierStokes/PrimaryGeometryAssembly.lean View file
| @@ -36,10 +36,6 @@ noncomputable def openCell (n : ℕ) (k : SlotColoring.Grid) : Set Slow := | ||
| 36 | 36 | theorem openCell_open (n : ℕ) (k : SlotColoring.Grid) : IsOpen (openCell n k) := |
| 37 | 37 | (isOpen_Ioo.prod (isOpen_Ioo.prod isOpen_Ioo)).inter PositiveRepresentatives.positiveTime_open |
| 38 | 38 | |
| 39 | -theorem openCell_convex (n : ℕ) (k : SlotColoring.Grid) : Convex ℝ (openCell n k) := | |
| 40 | - ((convex_Ioo _ _).prod ((convex_Ioo _ _).prod (convex_Ioo _ _))).inter | |
| 41 | - PositiveRepresentatives.positiveTime_convex | |
| 42 | - | |
| 43 | 39 | theorem openCell_subset_box (n : ℕ) (k : SlotColoring.Grid) : |
| 44 | 40 | openCell n k ⊆ PrimaryRepresentatives.gridBox n k 2 := by |
| 45 | 41 | intro p hp j |
| @@ -186,13 +182,6 @@ theorem native_support_in_carrier {N : ℕ} (L : Index W N) : | ||
| 186 | 182 | PositiveRepresentatives.positiveTime ⊆ (domain W N).carrier L := |
| 187 | 183 | cellDomain_support L |
| 188 | 184 | |
| 189 | -theorem native_jet_support_in_carrier {N : ℕ} (L : Index W N) (m : ℕ) : | |
| 190 | - tsupport (iteratedFDeriv ℝ m (PrimaryRepresentatives.nativeMask L.val.val.1 L.val.val.2)) ∩ | |
| 191 | - PositiveRepresentatives.positiveTime ⊆ (domain W N).carrier L := by | |
| 192 | - intro p hp | |
| 193 | - exact native_support_in_carrier W L | |
| 194 | - ⟨tsupport_iteratedFDeriv_subset (𝕜 := ℝ) m hp.1, hp.2⟩ | |
| 195 | - | |
| 196 | 185 | /-- Every genuinely nonzero physical mask has one of the joint positive |
| 197 | 186 | labels used here. The implicit inverse is never evaluated at zero time. -/ |
| 198 | 187 | theorem physicalMask_has_index {N : ℕ} (L : PartitionedCovariance.UnsignedLabel) |
| @@ -469,70 +458,22 @@ noncomputable def phases (hcone : LeadingStressWeights.FullTrueCone v) | ||
| 469 | 458 | (domain W (prepared H v hcone upper B r0 hbox N0).N) := |
| 470 | 459 | construction H v (prepared H v hcone upper B r0 hbox N0) hr0 |
| 471 | 460 | |
| 472 | -/-- A canonical box large enough for every enlarged chart of the active | |
| 473 | -annulus. This uses exactly `FinalSlowBase.scales H v (2*activeRight) B`. -/ | |
| 474 | -noncomputable def canonicalPrepared (hcone : LeadingStressWeights.FullTrueCone v) | |
| 475 | - (B : ℕ) (r0 : ℝ) (N0 : ℕ) : | |
| 476 | - Prepared H v (2 * NominalConeAssembly.activeRight W) B r0 N0 := | |
| 477 | - prepared H v hcone (2 * NominalConeAssembly.activeRight W) B r0 (le_max_left _ _) N0 | |
| 478 | - | |
| 479 | -noncomputable def canonicalPhases (hcone : LeadingStressWeights.FullTrueCone v) | |
| 480 | - (B : ℕ) (r0 : ℝ) (hr0 : 0 < r0) (N0 : ℕ) : | |
| 481 | - Fin 2 → PrimaryPulseBounds.PhaseConstruction | |
| 482 | - (domain W (canonicalPrepared H v hcone B r0 N0).N) := | |
| 483 | - construction H v (canonicalPrepared H v hcone B r0 N0) hr0 | |
| 484 | - | |
| 485 | -theorem prepared_threshold (hcone : LeadingStressWeights.FullTrueCone v) | |
| 486 | - (upper : ℝ) (B : ℕ) (r0 : ℝ) | |
| 487 | - (hbox : 2 * NominalConeAssembly.activeRight W ≤ FinalSlowBase.boxRadius W upper) | |
| 488 | - (N0 : ℕ) : N0 ≤ (prepared H v hcone upper B r0 hbox N0).N := | |
| 489 | - (prepared H v hcone upper B r0 hbox N0).threshold | |
| 490 | - | |
| 491 | 461 | section Bindings |
| 492 | 462 | |
| 493 | 463 | variable {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} |
| 494 | 464 | (a : Prepared H v upper B r0 N0) (hr0 : 0 < r0) |
| 495 | 465 | |
| 496 | -theorem four_le_threshold : 4 ≤ a.N := (a.large a.N le_rfl).four_le | |
| 497 | - | |
| 498 | 466 | theorem construction_frequency (c : Fin 2) (L : Index W a.N) : |
| 499 | 467 | (construction H v a hr0 c).phase.F L = frequency H v upper B (BaseChartJets.cellBand L) := rfl |
| 500 | 468 | |
| 501 | 469 | theorem construction_axial (c : Fin 2) (L : Index W a.N) : |
| 502 | 470 | (construction H v a hr0 c).phase.G L = axial H v upper B (BaseChartJets.cellBand L) := rfl |
| 503 | 471 | |
| 504 | -theorem construction_epsilon (c : Fin 2) (L : Index W a.N) : | |
| 505 | - (construction H v a hr0 c).phase.epsilon L = | |
| 506 | - ChartScales.epsilon F.data.h (BaseChartJets.cellBand L) := rfl | |
| 507 | - | |
| 508 | -theorem construction_viscosity (c : Fin 2) (L : Index W a.N) : | |
| 509 | - (construction H v a hr0 c).viscosity L = | |
| 510 | - ChartScales.epsilon F.data.h (BaseChartJets.cellBand L) * | |
| 511 | - (ChartScales.carrier F.data.h (BaseChartJets.cellBand L) : ℝ) ^ 2 := rfl | |
| 512 | - | |
| 513 | -theorem construction_length (c : Fin 2) (L : Index W a.N) : | |
| 514 | - (construction H v a hr0 c).L L = | |
| 515 | - ChartScales.slotLength r0 F.data.h (BaseChartJets.cellBand L) := rfl | |
| 516 | - | |
| 517 | -theorem construction_slot (c : Fin 2) (L : Index W a.N) : | |
| 518 | - (construction H v a hr0 c).V L = | |
| 519 | - Ioo (-ChartScales.slotLength r0 F.data.h (BaseChartJets.cellBand L)) | |
| 520 | - (2 * ChartScales.slotLength r0 F.data.h (BaseChartJets.cellBand L)) := rfl | |
| 521 | - | |
| 522 | 472 | theorem construction_lambda (c : Fin 2) (L : Index W a.N) : |
| 523 | 473 | (construction H v a hr0 c).lam L = |
| 524 | 474 | PrimaryRepresentatives.lambda0 (leadingFrequency H v (representative W L)) |
| 525 | 475 | (shear H v (representative W L)) := rfl |
| 526 | 476 | |
| 527 | -theorem construction_ratio (c : Fin 2) (L : Index W a.N) : | |
| 528 | - (construction H v a hr0 c).c0 L = | |
| 529 | - PrimaryRepresentatives.c0 (leadingFrequency H v (representative W L)) | |
| 530 | - (shear H v (representative W L)) := rfl | |
| 531 | - | |
| 532 | -theorem construction_transverse (c : Fin 2) (L : Index W a.N) : | |
| 533 | - (construction H v a hr0 c).K L = | |
| 534 | - PrimaryRepresentatives.transverseDirection (shear H v (representative W L)) := rfl | |
| 535 | - | |
| 536 | 477 | theorem construction_u (c : Fin 2) (L : Index W a.N) : |
| 537 | 478 | (construction H v a hr0 c).u L = a.u := rfl |
| 538 | 479 | |
| @@ -549,15 +490,6 @@ theorem carrier_mul_phase_p (c : Fin 2) (L : Index W a.N) : | ||
| 549 | 490 | (construction H v a hr0 c).phase.p L = (angularMode H v a c L : ℝ) := |
| 550 | 491 | (family H v a c).carrier_mul_angular_frequency L |
| 551 | 492 | |
| 552 | -theorem angular_rounding_error (c : Fin 2) (L : Index W a.N) : | |
| 553 | - |(construction H v a hr0 c).phase.p L - (family H v a c).target L| ≤ | |
| 554 | - 1 / (ChartScales.carrier F.data.h (BaseChartJets.cellBand L) : ℝ) := | |
| 555 | - (family H v a c).angular_rounding_error L | |
| 556 | - | |
| 557 | -theorem phase_signs (L : Index W a.N) : | |
| 558 | - (family H v a 0).sigma L = 1 ∧ (family H v a 1).sigma L = -1 := by | |
| 559 | - norm_num [family, phaseSign] | |
| 560 | - | |
| 561 | 493 | theorem common_bounds (c d : Fin 2) : |
| 562 | 494 | (construction H v a hr0 c).r = (construction H v a hr0 d).r ∧ |
| 563 | 495 | (construction H v a hr0 c).b = (construction H v a hr0 d).b ∧ |
| @@ -566,9 +498,6 @@ theorem common_bounds (c d : Fin 2) : | ||
| 566 | 498 | (construction H v a hr0 c).E = (construction H v a hr0 d).E := |
| 567 | 499 | ⟨rfl, rfl, rfl, rfl, rfl⟩ |
| 568 | 500 | |
| 569 | -theorem carrier_time_positive {L : Index W a.N} {p : Slow} | |
| 570 | - (hp : p ∈ (domain W a.N).carrier L) : 0 < p.2.2 := hp.2 | |
| 571 | - | |
| 572 | 501 | theorem target_eq_normalized_stress {p : Slow} (hp : p ∈ referenceSet W) |
| 573 | 502 | (hT : 0 < p.2.2) |
| 574 | 503 | (hX : (BaseChartJets.normalizedCoordinates F.data.h p).2.1 ∈ |
| @@ -580,20 +509,6 @@ theorem target_eq_normalized_stress {p : Slow} (hp : p ∈ referenceSet W) | ||
| 580 | 509 | have hs := a.target_actual p hp (by simpa only [he] using hX) |
| 581 | 510 | simpa only [he] using hs |
| 582 | 511 | |
| 583 | -theorem frequency_eq_physical {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) (n : ℕ) : | |
| 584 | - frequency H v upper B n p = ChartScales.Q n ^ CoordinateAlgebra.A F.data.h * | |
| 585 | - FinalSlowBase.velocity H v upper B (BaseChartJets.bandPoint F.data.h (ChartScales.Q n) p) 1 / p.1 := by | |
| 586 | - exact BaseChartJets.frequency_eq_normalized_velocity | |
| 587 | - (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half | |
| 588 | - (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hT hR | |
| 589 | - | |
| 590 | -theorem axial_eq_physical {p : Slow} (hT : 0 < p.2.2) (n : ℕ) : | |
| 591 | - axial H v upper B n p = ChartScales.Q n ^ CoordinateAlgebra.A F.data.h * | |
| 592 | - FinalSlowBase.velocity H v upper B (BaseChartJets.bandPoint F.data.h (ChartScales.Q n) p) 2 := by | |
| 593 | - exact BaseChartJets.axial_eq_normalized_velocity | |
| 594 | - (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half | |
| 595 | - (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hT | |
| 596 | - | |
| 597 | 512 | end Bindings |
| 598 | 513 | |
| 599 | 514 | /-! ## A later common cutoff preserves the already selected geometry -/ |
| @@ -646,23 +561,6 @@ noncomputable def restrict {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | ||
| 646 | 561 | (a.restrict N hN).eta = a.eta ∧ (a.restrict N hN).target = a.target := |
| 647 | 562 | ⟨rfl, rfl, rfl, rfl⟩ |
| 648 | 563 | |
| 649 | -theorem restrict_frame {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | |
| 650 | - (a : Prepared H v upper B r0 N0) (hr0 : 0 < r0) (N : ℕ) (hN : a.N ≤ N) | |
| 651 | - (c : Fin 2) (L : Index W N) : | |
| 652 | - (construction H v (a.restrict N hN) hr0 c).frame L = | |
| 653 | - (construction H v a hr0 c).frame (earlierIndex hN L) := rfl | |
| 654 | - | |
| 655 | -theorem restrict_angularMode {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | |
| 656 | - (a : Prepared H v upper B r0 N0) (N : ℕ) (hN : a.N ≤ N) | |
| 657 | - (c : Fin 2) (L : Index W N) : | |
| 658 | - angularMode H v (a.restrict N hN) c L = angularMode H v a c (earlierIndex hN L) := rfl | |
| 659 | - | |
| 660 | -theorem restrict_phase_p {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | |
| 661 | - (a : Prepared H v upper B r0 N0) (hr0 : 0 < r0) (N : ℕ) (hN : a.N ≤ N) | |
| 662 | - (c : Fin 2) (L : Index W N) : | |
| 663 | - (construction H v (a.restrict N hN) hr0 c).phase.p L = | |
| 664 | - (construction H v a hr0 c).phase.p (earlierIndex hN L) := rfl | |
| 665 | - | |
| 666 | 564 | end Prepared |
| 667 | 565 | |
| 668 | 566 | end ActualFields |
+0 −158 NavierStokes/PrimaryMaterialDefect.lean View file
| @@ -50,36 +50,8 @@ theorem axialField (n : ℕ) {x : E} (hx : x ∈ s.domain) : | ||
| 50 | 50 | fderiv ℝ (χ n) x (d.axialField s n x) = s.epsilon n • PhaseCalculus.eZ := by |
| 51 | 51 | simp only [GraphDirections.axialField, map_smul, hχ.axial n x hx] |
| 52 | 52 | |
| 53 | -theorem timeField (n : ℕ) {x : E} (hx : x ∈ s.domain) : | |
| 54 | - fderiv ℝ (χ n) x | |
| 55 | - (LinearWaveResidual.timeDirection (s.epsilon n) (d.fastField n) (fun _ => d.slow) x) = | |
| 56 | - PhaseCalculus.eV - s.epsilon n • PhaseCalculus.eT := by | |
| 57 | - simp only [LinearWaveResidual.timeDirection, map_sub, map_smul, | |
| 58 | - hχ.fast n x hx, hχ.slow n x hx] | |
| 59 | - | |
| 60 | 53 | end NativeCoordinates |
| 61 | 54 | |
| 62 | -/-- For affine native/common coordinate maps, checking the six images is | |
| 63 | -linear algebra. No differentiability premise is needed. -/ | |
| 64 | -theorem affine_coordinates (s : StripData E) (d : GraphDirections E) | |
| 65 | - (L : ℕ → E →L[ℝ] Slot) (c : ℕ → Slot) | |
| 66 | - (hr : ∀ n, L n d.radial = PhaseCalculus.eR) | |
| 67 | - (ha : ∀ n, L n d.auxiliary = 0) | |
| 68 | - (hθ : ∀ n, L n d.angular = PhaseCalculus.eTheta) | |
| 69 | - (hz : ∀ n, L n d.axial = PhaseCalculus.eZ) | |
| 70 | - (hf : ∀ n, d.fastScale n • L n d.fast = PhaseCalculus.eV) | |
| 71 | - (ht : ∀ n, L n d.slow = PhaseCalculus.eT) : | |
| 72 | - NativeCoordinates s d (fun n x => L n x + c n) := by | |
| 73 | - have hd n x : fderiv ℝ (fun y => L n y + c n) x = L n := | |
| 74 | - ((L n).hasFDerivAt.add_const (c n)).fderiv | |
| 75 | - refine ⟨fun n _ _ => (L n).differentiableAt.add_const _, ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 76 | - · intro n x _; rw [hd]; exact hr n | |
| 77 | - · intro n x _; rw [hd]; exact ha n | |
| 78 | - · intro n x _; rw [hd]; exact hθ n | |
| 79 | - · intro n x _; rw [hd]; exact hz n | |
| 80 | - · intro n x _; rw [hd]; simpa only [GraphDirections.fastField, map_smul] using hf n | |
| 81 | - · intro n x _; rw [hd]; exact ht n | |
| 82 | - | |
| 83 | 55 | section CommonPullback |
| 84 | 56 | |
| 85 | 57 | variable {E' : Type*} [NormedAddCommGroup E'] [NormedSpace ℝ E'] |
| @@ -224,85 +196,6 @@ theorem polynomial_comp_unweighted | ||
| 224 | 196 | ((PrimaryPulseBounds.EnvelopeJets.of_polynomial hf).comp hc hscale hmap).memClass s |
| 225 | 197 | (fun _ => rfl) (fun _ => rfl) |
| 226 | 198 | |
| 227 | -/-- The same composition result allows polynomial inverse-edge losses in | |
| 228 | -the slow chart itself. This is a quantitative chain-rule estimate, not | |
| 229 | -an assumption about the pulled-back base derivatives. -/ | |
| 230 | -theorem polynomial_comp_with_edges | |
| 231 | - {s : StripData E} {U : PhaseJetBounds.Domain ℕ Slow} | |
| 232 | - {f : ℕ → Slow → ℝ} (hf : PhaseJetBounds.PolynomialJets U f) | |
| 233 | - {c : ℕ → E → Slow} (hc : UnweightedClass s 0 c) | |
| 234 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 235 | - (hmap : ∀ n, MapsTo (c n) s.domain (U.carrier n)) : | |
| 236 | - UnweightedClass s 0 (fun n x => f n (c n x)) := by | |
| 237 | - refine ⟨fun _ _ _ => zero_le_one, fun n => (hf.smooth n).comp (hc.smooth n) (hmap n), ?_⟩ | |
| 238 | - intro N | |
| 239 | - obtain ⟨A, hA, m, ha⟩ := hf.bound N | |
| 240 | - obtain ⟨B, hB, k, hb⟩ := hc.bounds N | |
| 241 | - refine ⟨(N.factorial : ℝ) * A * (B + 1) ^ N, by positivity, m + k * N, ?_⟩ | |
| 242 | - intro n x hx j hj | |
| 243 | - have hg0 := s.growth_nonneg n x | |
| 244 | - have hg1 := s.one_le_growth n x | |
| 245 | - have hD : 1 ≤ (B + 1) * s.growth n x ^ k := | |
| 246 | - one_le_mul_of_one_le_of_one_le (by linarith) (one_le_pow₀ hg1) | |
| 247 | - have hinner (a : ℕ) (haN : a ≤ N) : | |
| 248 | - ‖iteratedFDeriv ℝ a (c n) x‖ ≤ (B + 1) * s.growth n x ^ k := by | |
| 249 | - have hh := hb n x hx a haN | |
| 250 | - simp only [majorant, Real.rpow_zero, mul_one] at hh | |
| 251 | - exact hh.trans (mul_le_mul_of_nonneg_right (by linarith) (pow_nonneg hg0 _)) | |
| 252 | - have houter (a : ℕ) (haN : a ≤ N) : | |
| 253 | - ‖iteratedFDeriv ℝ a (f n) (c n x)‖ ≤ A * s.growth n x ^ m := by | |
| 254 | - have hh := ha n a haN _ (hmap n hx) | |
| 255 | - rw [hscale n] at hh | |
| 256 | - exact hh.trans (mul_le_mul_of_nonneg_left | |
| 257 | - (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n x) _) | |
| 258 | - (zero_le_one.trans hA)) | |
| 259 | - have hn : (j : WithTop ℕ∞) ≤ ∞ := ENat.natCast_le_of_coe_top_le_withTop le_rfl j | |
| 260 | - have hchain := norm_iteratedFDerivWithin_comp_le (hf.smooth n) (hc.smooth n) hn | |
| 261 | - (U.isOpen n).uniqueDiffOn s.isOpen_domain.uniqueDiffOn (hmap n) hx | |
| 262 | - (C := A * s.growth n x ^ m) (D := (B + 1) * s.growth n x ^ k) | |
| 263 | - (fun a haj => ?_) (fun a ha1 haj => ?_) | |
| 264 | - · rw [iteratedFDerivWithin_of_isOpen j s.isOpen_domain hx] at hchain | |
| 265 | - simp only [majorant, Real.rpow_zero, mul_one] | |
| 266 | - calc | |
| 267 | - _ ≤ (j.factorial : ℝ) * (A * s.growth n x ^ m) * ((B + 1) * s.growth n x ^ k) ^ j := hchain | |
| 268 | - _ ≤ (N.factorial : ℝ) * (A * s.growth n x ^ m) * ((B + 1) * s.growth n x ^ k) ^ N := by | |
| 269 | - apply mul_le_mul | |
| 270 | - · exact mul_le_mul_of_nonneg_right (by exact_mod_cast Nat.factorial_le hj) (by positivity) | |
| 271 | - · exact pow_le_pow_right₀ hD hj | |
| 272 | - · positivity | |
| 273 | - · positivity | |
| 274 | - _ = _ := by rw [mul_pow, pow_add, pow_mul]; ring | |
| 275 | - · rw [iteratedFDerivWithin_of_isOpen a (U.isOpen n) (hmap n hx)] | |
| 276 | - exact houter a (haj.trans hj) | |
| 277 | - · rw [iteratedFDerivWithin_of_isOpen a s.isOpen_domain hx] | |
| 278 | - exact (hinner a (haj.trans hj)).trans (by simpa using pow_le_pow_right₀ hD ha1) | |
| 279 | - | |
| 280 | -/-- The actual affine clock has polynomial jets from its value and linear | |
| 281 | -coefficient bounds. This supplies the slot-coordinate class in either | |
| 282 | -native or common coordinates. -/ | |
| 283 | -theorem affine_slot_class (s : StripData E) (L : ℕ → E →L[ℝ] ℝ) (c : ℕ → ℝ) | |
| 284 | - {C : ℝ} {m : ℕ} (hC : 1 ≤ C) | |
| 285 | - (hL : ∀ n, ‖L n‖ ≤ C * s.slow n ^ m) | |
| 286 | - (hv : ∀ n x, x ∈ s.domain → |L n x + c n| ≤ C * s.slow n ^ m) : | |
| 287 | - UnweightedClass s 0 (fun n x => L n x + c n) := by | |
| 288 | - apply PrimaryPulseBounds.polynomial_memClass s | |
| 289 | - refine ⟨fun n => (L n).contDiff.contDiffOn.add contDiffOn_const, fun _ => ⟨C, hC, m, ?_⟩⟩ | |
| 290 | - intro n j _ x hx | |
| 291 | - have hd : fderiv ℝ (fun y => L n y + c n) = fun _ => L n := by | |
| 292 | - funext y | |
| 293 | - exact ((L n).hasFDerivAt.add_const (c n)).fderiv | |
| 294 | - cases j with | |
| 295 | - | zero => simpa only [norm_iteratedFDeriv_zero, Real.norm_eq_abs, PrimaryPulseBounds.phaseDomain] using hv n x hx | |
| 296 | - | succ j => | |
| 297 | - rw [← norm_iteratedFDeriv_fderiv, hd] | |
| 298 | - cases j with | |
| 299 | - | zero => simpa only [norm_iteratedFDeriv_zero, PrimaryPulseBounds.phaseDomain] using hL n | |
| 300 | - | succ j => | |
| 301 | - rw [iteratedFDeriv_succ_const] | |
| 302 | - simp only [Pi.zero_apply, norm_zero] | |
| 303 | - exact mul_nonneg (zero_le_one.trans hC) | |
| 304 | - (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _) | |
| 305 | - | |
| 306 | 199 | section Primary |
| 307 | 200 | |
| 308 | 201 | variable {U : PhaseJetBounds.Domain ℕ Slow} |
| @@ -402,57 +295,6 @@ theorem defect_class (P : PrimaryPulseBounds.PhaseConstruction U) | ||
| 402 | 295 | intro n x hx |
| 403 | 296 | exact (defect_formula P s d χ b amplitude pressure frequency hχ hmap heps n hx (hR n x hx)).symm |
| 404 | 297 | |
| 405 | -theorem defect_class_of_mean (P : PrimaryPulseBounds.PhaseConstruction U) | |
| 406 | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) | |
| 407 | - (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) | |
| 408 | - (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) | |
| 409 | - (hχ : NativeCoordinates s d χ) | |
| 410 | - (hslow : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) (fun n x => (χ n x).1)) | |
| 411 | - (hslot : UnweightedClass s 0 (fun n x => (χ n x).2.2)) | |
| 412 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 413 | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) | |
| 414 | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) | |
| 415 | - (hR : ∀ n x, x ∈ s.domain → 0 < (χ n x).1.1) | |
| 416 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) | |
| 417 | - (hb : MeanClass s 1 (fun n x => b n (χ n x).1)) : | |
| 418 | - UnweightedClass s 1 ((coefficients P b χ amplitude pressure frequency).defect s d) := | |
| 419 | - defect_class P s d χ b amplitude pressure frequency hχ hslow hslot hscale hmap heps hR | |
| 420 | - (mean_unweighted hb hζ) | |
| 421 | - | |
| 422 | -/-- Field matching binds an existing wave record to the exact phase. It | |
| 423 | -does not assume equality or bounds of its material defect. -/ | |
| 424 | -theorem defect_class_of_fields (P : PrimaryPulseBounds.PhaseConstruction U) | |
| 425 | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) | |
| 426 | - (a : WaveCoefficients E) | |
| 427 | - (hχ : NativeCoordinates s d χ) | |
| 428 | - (hslow : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) (fun n x => (χ n x).1)) | |
| 429 | - (hslot : UnweightedClass s 0 (fun n x => (χ n x).2.2)) | |
| 430 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 431 | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) | |
| 432 | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) | |
| 433 | - (hR : ∀ n x, x ∈ s.domain → 0 < (χ n x).1.1) | |
| 434 | - (hb : UnweightedClass s 1 (fun n x => b n (χ n x).1)) | |
| 435 | - (hbfield : a.radialBase = fun n x => b n (χ n x).1) | |
| 436 | - (hFfield : a.frequencyBase = fun n x => P.phase.F n (χ n x).1) | |
| 437 | - (hGfield : a.axialBase = fun n x => P.phase.G n (χ n x).1) | |
| 438 | - (hphase : a.phase = pulledPhase P χ) : UnweightedClass s 1 (a.defect s d) := by | |
| 439 | - have hd := defect_class P s d χ b a.amplitude a.pressure a.frequency | |
| 440 | - hχ hslow hslot hscale hmap heps hR hb | |
| 441 | - apply class_congr hd | |
| 442 | - intro n x _ | |
| 443 | - simp only [WaveCoefficients.defect, LinearWaveResidual.materialPhaseDefect, | |
| 444 | - coefficients, hbfield, hFfield, hGfield, hphase] | |
| 445 | - | |
| 446 | 298 | end Primary |
| 447 | 299 | |
| 448 | -/-- One finite-prefix constant and one polynomial degree work for every | |
| 449 | -band and point. This is the explicit jet form of the order-one class. -/ | |
| 450 | -theorem finite_jet_bounds {s : StripData E} {f : ℕ → E → ℝ} | |
| 451 | - (hf : UnweightedClass s 1 f) (m : ℕ) : | |
| 452 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n x, x ∈ s.domain → ∀ j ≤ m, | |
| 453 | - ‖iteratedFDeriv ℝ j (f n) x‖ ≤ C * s.epsilon n * s.growth n x ^ p := by | |
| 454 | - obtain ⟨C, hC, p, hb⟩ := hf.bounds m | |
| 455 | - exact ⟨C, hC, p, fun n x hx j hj => by | |
| 456 | - simpa only [majorant, Real.rpow_one, mul_one] using hb n x hx j hj⟩ | |
| 457 | - | |
| 458 | 300 | end NavierStokes.PrimaryMaterialDefect |
+0 −496 NavierStokes/PrimaryODE.lean View file
| @@ -337,44 +337,8 @@ theorem FrameData.SmoothOn.forcing {d : FrameData Q} {Ω : Set (Q × ℝ)} | ||
| 337 | 337 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) MovingFrameODE.pairCLM).comp_contDiffOn |
| 338 | 338 | (((hx.add hdiv).div_const 2).prodMk ((hx.sub hdiv).div_const 2)) |
| 339 | 339 | |
| 340 | -/-- Jointly smooth physical/frame inputs give an actually constructed smooth | |
| 341 | -family of modal paths. -/ | |
| 342 | -theorem solutionPath_contDiffOn {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 343 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 344 | - (hd : d.SmoothOn (U ×ˢ V)) (j : ℤ) (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 345 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : | |
| 346 | - ContDiffOn ℝ ∞ (SmoothPathFamily.odeFamily hab (d.coefficient j) x₀ (d.forcing f)) U := | |
| 347 | - SmoothPathFamily.contDiffOn_odeFamily_of_joint hab U V hU hV hI | |
| 348 | - (d.coefficient j) x₀ (d.forcing f) (hd.coefficient j) hx₀ (hd.forcing hf) | |
| 349 | - | |
| 350 | 340 | end Smooth |
| 351 | 341 | |
| 352 | -/-- Geometric perturbations of the actual frame produce the four modal error | |
| 353 | -bounds. The two reference identities are the chosen eigenpair equations. -/ | |
| 354 | -theorem FrameData.modal_errors_of_geometry {Q : Type} (d : FrameData Q) (z : Q × ℝ) | |
| 355 | - (B₀ : Frame) (g₀ : State) {F₀ s M η H κ : ℝ} | |
| 356 | - (hM : 1 ≤ M) (hη : 0 ≤ η) (hH : 0 ≤ H) | |
| 357 | - (hρ : |d.rho z| ≤ M) (hs : |s| ≤ M) (hF₀ : |F₀| ≤ M) (hg₀ : ‖g₀‖ ≤ M) | |
| 358 | - (horth : ⟪B₀ 0, g₀⟫_ℝ = 0) | |
| 359 | - (hF : |d.F z - F₀| ≤ η) (hg : ‖d.shear z - g₀‖ ≤ η) | |
| 360 | - (hK : ‖d.frame z 0 - B₀ 0‖ ≤ η) (hN : ‖d.frame z 1 - B₀ 1‖ ≤ η) | |
| 361 | - (hρd : |d.rho z - s| ≤ η) (hρ' : |d.rhoDot z| ≤ η) (hrot : |d.rotation z| ≤ η) | |
| 362 | - (hpair₁ : d.eigenvalue z / d.eigenvector z = 2 * F₀ * (B₀ 1 0) / (1 + s ^ 2)) | |
| 363 | - (hpair₂ : d.eigenvalue z * d.eigenvector z = -(2 * F₀ * (B₀ 1 0) + ⟪B₀ 1, g₀⟫_ℝ)) | |
| 364 | - (hh : |d.eigenvector z| ≤ H) (hhi : |1 / d.eigenvector z| ≤ H) | |
| 365 | - (hrate : |d.eigenRate z| ≤ κ) : | |
| 366 | - |d.error11 z| ≤ (1 + 2 * H) * ((16 * M ^ 2 * (1 + M)) * η) + κ ∧ | |
| 367 | - |d.error12 z| ≤ (1 + 2 * H) * ((16 * M ^ 2 * (1 + M)) * η) + κ ∧ | |
| 368 | - |d.error21 z| ≤ (1 + 2 * H) * ((16 * M ^ 2 * (1 + M)) * η) + κ ∧ | |
| 369 | - |d.error22 z| ≤ (1 + 2 * H) * ((16 * M ^ 2 * (1 + M)) * η) + κ := by | |
| 370 | - obtain ⟨ha, hb, hc⟩ := MovingFrameODE.frame_coefficients_close | |
| 371 | - hM hη hρ hs hF₀ hg₀ horth hF hg hK hN hρd hρ' hrot | |
| 372 | - have hb' : |d.errorB z| ≤ (16 * M ^ 2 * (1 + M)) * η := by | |
| 373 | - simpa only [FrameData.errorB, hpair₁] using hb | |
| 374 | - have hc' : |d.errorC z| ≤ (16 * M ^ 2 * (1 + M)) * η := by | |
| 375 | - simpa only [FrameData.errorC, hpair₂] using hc | |
| 376 | - exact MovingFrameODE.modal_errors_le hH ha hb' hc' hh hhi hrate | |
| 377 | - | |
| 378 | 342 | /-- Scalar viscosity keeps the same sign at every nonzero integer harmonic. |
| 379 | 343 | The modal energy estimate is derived from entrywise coefficient errors. -/ |
| 380 | 344 | theorem FrameData.energy_bound {Q : Type} (d : FrameData Q) (z : Q × ℝ) |
| @@ -491,239 +455,18 @@ section Forward | ||
| 491 | 455 | variable {Q : Type} [NormedAddCommGroup Q] |
| 492 | 456 | variable {a b : ℝ} |
| 493 | 457 | |
| 494 | -theorem solution_forward_bound (hab : a ≤ b) (d : FrameData Q) {j : ℤ} (hj : j ≠ 0) | |
| 495 | - (x₀ : Q → State) (f : Q × ℝ → Space) {U : Set Q} | |
| 496 | - (hA : ContinuousOn (d.coefficient j) (U ×ˢ Icc a b)) | |
| 497 | - (hf : ContinuousOn (d.forcing f) (U ×ˢ Icc a b)) | |
| 498 | - {p : Q} (hp : p ∈ U) (referenceDamping rate P : ℝ → ℝ) | |
| 499 | - {S C D : ℝ} (hS : 0 < S) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 500 | - (hPpos : ∀ v, 0 < P v) (hP : ∀ v, HasDerivAt P (rate v * P v) v) | |
| 501 | - (hreference : ∀ v ∈ Icc a b, rate v = d.eigenvalue (p, v) - referenceDamping v) | |
| 502 | - (hlam : ∀ v ∈ Icc a b, 0 ≤ d.eigenvalue (p, v)) | |
| 503 | - (hν : ∀ v ∈ Icc a b, 0 ≤ d.viscosity (p, v)) | |
| 504 | - (hνerr : ∀ v ∈ Icc a b, referenceDamping v - D / S ≤ d.viscosity (p, v)) | |
| 505 | - (herr : ∀ v ∈ Icc a b, | |
| 506 | - |d.error11 (p, v)| ≤ C / S ∧ |d.error12 (p, v)| ≤ C / S ∧ | |
| 507 | - |d.error21 (p, v)| ≤ C / S ∧ |d.error22 (p, v)| ≤ C / S) : | |
| 508 | - ∀ v ∈ Icc a b, ‖solution hab d j x₀ f p v‖ ≤ | |
| 509 | - Real.exp (((D + 4 * C) / S) * (v - a)) * P v * | |
| 510 | - (‖x₀ p‖ / P a + ∫ s in a..v, ‖d.forcing f (p, s)‖ / P s) := by | |
| 511 | - have hode (v : ℝ) (hv : v ∈ Icc a b) := solution_hasDerivAt hab d j x₀ f hA hf hp hv | |
| 512 | - have hu : ContinuousOn (solution hab d j x₀ f p) (Icc a b) := | |
| 513 | - fun v hv => (hode v hv).continuousAt.continuousWithinAt | |
| 514 | - have hforce : ContinuousOn (fun v => d.forcing f (p, v)) (Icc a b) := | |
| 515 | - hf.comp (continuous_const.prodMk continuous_id).continuousOn (fun v hv => ⟨hp, hv⟩) | |
| 516 | - have he (v : ℝ) (hv : v ∈ Ico a b) (w : State) : | |
| 517 | - ⟪w, d.coefficient j (p, v) w⟫_ℝ ≤ (rate v + (D + 4 * C) / S) * ‖w‖ ^ 2 := by | |
| 518 | - have hv' := Ico_subset_Icc_self hv | |
| 519 | - rw [hreference v hv'] | |
| 520 | - exact d.energy_bound (p, v) hj (hlam v hv') (hν v hv') (hνerr v hv') (herr v hv') w | |
| 521 | - have hbnd := ViscousPropagator.norm_le_envelope_mul_integral_on | |
| 522 | - (fun v => d.coefficient j (p, v)) rate P (div_nonneg (by positivity) hS.le) | |
| 523 | - hPpos hP hu hforce (fun v hv => (hode v (Ico_subset_Icc_self hv)).hasDerivWithinAt) he | |
| 524 | - simpa only [solution_initial] using hbnd | |
| 525 | - | |
| 526 | -/-- The same forward propagator constant applies to every nonzero harmonic. | |
| 527 | -The start of the finite interval may be any earlier slot time. -/ | |
| 528 | -theorem homogeneous_forward_bound (hab : a ≤ b) (d : FrameData Q) {j : ℤ} (hj : j ≠ 0) | |
| 529 | - (x₀ : Q → State) {U : Set Q} | |
| 530 | - (hA : ContinuousOn (d.coefficient j) (U ×ˢ Icc a b)) | |
| 531 | - {p : Q} (hp : p ∈ U) (referenceDamping rate P : ℝ → ℝ) | |
| 532 | - {S C D L : ℝ} (hS : 0 < S) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 533 | - (hslot : b - a ≤ L * S) | |
| 534 | - (hPpos : ∀ v, 0 < P v) (hP : ∀ v, HasDerivAt P (rate v * P v) v) | |
| 535 | - (hreference : ∀ v ∈ Icc a b, rate v = d.eigenvalue (p, v) - referenceDamping v) | |
| 536 | - (hlam : ∀ v ∈ Icc a b, 0 ≤ d.eigenvalue (p, v)) | |
| 537 | - (hν : ∀ v ∈ Icc a b, 0 ≤ d.viscosity (p, v)) | |
| 538 | - (hνerr : ∀ v ∈ Icc a b, referenceDamping v - D / S ≤ d.viscosity (p, v)) | |
| 539 | - (herr : ∀ v ∈ Icc a b, | |
| 540 | - |d.error11 (p, v)| ≤ C / S ∧ |d.error12 (p, v)| ≤ C / S ∧ | |
| 541 | - |d.error21 (p, v)| ≤ C / S ∧ |d.error22 (p, v)| ≤ C / S) : | |
| 542 | - ∀ v ∈ Icc a b, ‖solution hab d j x₀ (fun _ => 0) p v‖ ≤ | |
| 543 | - Real.exp ((D + 4 * C) * L) * (P v / P a) * ‖x₀ p‖ := by | |
| 544 | - have hf : ContinuousOn (d.forcing (fun _ => 0)) (U ×ˢ Icc a b) := by | |
| 545 | - rw [FrameData.forcing_zero_function] | |
| 546 | - exact continuousOn_const | |
| 547 | - have hbnd := solution_forward_bound hab d hj x₀ (fun _ => 0) hA hf hp referenceDamping rate P | |
| 548 | - hS hC hD hPpos hP hreference hlam hν hνerr herr | |
| 549 | - simp only [FrameData.forcing_zero, norm_zero, zero_div, intervalIntegral.integral_zero, add_zero] at hbnd | |
| 550 | - intro v hv | |
| 551 | - have hexp : Real.exp (((D + 4 * C) / S) * (v - a)) ≤ Real.exp ((D + 4 * C) * L) := by | |
| 552 | - apply Real.exp_le_exp.mpr | |
| 553 | - have hfactor : ((D + 4 * C) / S) * (L * S) = (D + 4 * C) * L := by | |
| 554 | - field_simp | |
| 555 | - rw [← hfactor] | |
| 556 | - exact mul_le_mul_of_nonneg_left ((sub_le_sub_right hv.2 a).trans hslot) | |
| 557 | - (div_nonneg (by positivity) hS.le) | |
| 558 | - calc | |
| 559 | - _ ≤ Real.exp (((D + 4 * C) / S) * (v - a)) * P v * (‖x₀ p‖ / P a) := hbnd v hv | |
| 560 | - _ ≤ Real.exp ((D + 4 * C) * L) * P v * (‖x₀ p‖ / P a) := | |
| 561 | - mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hexp (hPpos v).le) | |
| 562 | - (div_nonneg (norm_nonneg _) (hPpos a).le) | |
| 563 | - _ = _ := by ring | |
| 564 | - | |
| 565 | -/-- Zero-initial source solves are constructed by the same operator, and retain | |
| 566 | -every prescribed small amplitude factor in the source bound. -/ | |
| 567 | -theorem zero_initial_source_bound (hab : a ≤ b) (d : FrameData Q) {j : ℤ} (hj : j ≠ 0) | |
| 568 | - (f : Q × ℝ → Space) {U : Set Q} | |
| 569 | - (hA : ContinuousOn (d.coefficient j) (U ×ˢ Icc a b)) | |
| 570 | - (hf : ContinuousOn (d.forcing f) (U ×ˢ Icc a b)) | |
| 571 | - {p : Q} (hp : p ∈ U) (referenceDamping rate P : ℝ → ℝ) | |
| 572 | - {S C D K : ℝ} (hS : 0 < S) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 573 | - (hPpos : ∀ v, 0 < P v) (hP : ∀ v, HasDerivAt P (rate v * P v) v) | |
| 574 | - (hreference : ∀ v ∈ Icc a b, rate v = d.eigenvalue (p, v) - referenceDamping v) | |
| 575 | - (hlam : ∀ v ∈ Icc a b, 0 ≤ d.eigenvalue (p, v)) | |
| 576 | - (hν : ∀ v ∈ Icc a b, 0 ≤ d.viscosity (p, v)) | |
| 577 | - (hνerr : ∀ v ∈ Icc a b, referenceDamping v - D / S ≤ d.viscosity (p, v)) | |
| 578 | - (herr : ∀ v ∈ Icc a b, | |
| 579 | - |d.error11 (p, v)| ≤ C / S ∧ |d.error12 (p, v)| ≤ C / S ∧ | |
| 580 | - |d.error21 (p, v)| ≤ C / S ∧ |d.error22 (p, v)| ≤ C / S) | |
| 581 | - (hsource : ∀ v ∈ Icc a b, ‖d.forcing f (p, v)‖ ≤ K * P v) : | |
| 582 | - ∀ v ∈ Icc a b, ‖solution hab d j (fun _ => 0) f p v‖ ≤ | |
| 583 | - Real.exp (((D + 4 * C) / S) * (v - a)) * P v * (K * (v - a)) := by | |
| 584 | - have hode (v : ℝ) (hv : v ∈ Icc a b) := solution_hasDerivAt hab d j (fun _ => 0) f hA hf hp hv | |
| 585 | - apply ViscousPropagator.zero_initial_source_bound (fun v => d.coefficient j (p, v)) rate P | |
| 586 | - (div_nonneg (by positivity) hS.le) hPpos hP | |
| 587 | - (fun v hv => (hode v hv).continuousAt.continuousWithinAt) | |
| 588 | - (hf.comp (continuous_const.prodMk continuous_id).continuousOn (fun v hv => ⟨hp, hv⟩)) | |
| 589 | - (fun v hv => (hode v (Ico_subset_Icc_self hv)).hasDerivWithinAt) | |
| 590 | - _ (solution_initial hab d j (fun _ => 0) f p) hsource | |
| 591 | - intro v hv w | |
| 592 | - have hv' := Ico_subset_Icc_self hv | |
| 593 | - rw [hreference v hv'] | |
| 594 | - exact d.energy_bound (p, v) hj (hlam v hv') (hν v hv') (hνerr v hv') (herr v hv') w | |
| 595 | - | |
| 596 | 458 | end Forward |
| 597 | 459 | |
| 598 | 460 | section PhaseFrame |
| 599 | 461 | |
| 600 | 462 | variable {Q : Type} |
| 601 | 463 | |
| 602 | -/-- Build the actual frame from a supplied phase covector. All frame rates | |
| 603 | -are computed from its supplied derivative; viscosity is the physical scalar | |
| 604 | -multiple of the squared phase norm. -/ | |
| 605 | -noncomputable def FrameData.ofNormal (n nDot : Q × ℝ → Space) | |
| 606 | - (hne : ∀ z, MovingFrameODE.tail (n z) ≠ 0) | |
| 607 | - (F : Q × ℝ → ℝ) (g : Q × ℝ → State) | |
| 608 | - (lam h hRate viscosityScale : Q × ℝ → ℝ) : FrameData Q where | |
| 609 | - beta z := MovingFrameODE.normalScale (n z) | |
| 610 | - betaDot z := PhaseEstimates.scaleDerivative (n z) (nDot z) | |
| 611 | - rho z := MovingFrameODE.radialSlope (n z) | |
| 612 | - rhoDot z := PhaseEstimates.slopeDerivative (n z) (nDot z) | |
| 613 | - rotation z := PhaseEstimates.angularVelocity (n z) (nDot z) | |
| 614 | - F := F | |
| 615 | - shear := g | |
| 616 | - frame z := MovingFrameODE.normalFrame (n z) (hne z) | |
| 617 | - eigenvalue := lam | |
| 618 | - eigenvector := h | |
| 619 | - eigenRate := hRate | |
| 620 | - viscosity z := viscosityScale z * ‖n z‖ ^ 2 | |
| 621 | - | |
| 622 | -theorem FrameData.ofNormal_normal (n nDot : Q × ℝ → Space) | |
| 623 | - (hne : ∀ z, MovingFrameODE.tail (n z) ≠ 0) | |
| 624 | - (F : Q × ℝ → ℝ) (g : Q × ℝ → State) | |
| 625 | - (lam h hRate viscosityScale : Q × ℝ → ℝ) (z : Q × ℝ) : | |
| 626 | - (FrameData.ofNormal n nDot hne F g lam h hRate viscosityScale).normal z = n z := | |
| 627 | - MovingFrameODE.normal_reconstructed (hne z) | |
| 628 | - | |
| 629 | -theorem FrameData.ofNormal_kinematics (n nDot : Q × ℝ → Space) | |
| 630 | - (hne : ∀ z, MovingFrameODE.tail (n z) ≠ 0) | |
| 631 | - (F : Q × ℝ → ℝ) (g : Q × ℝ → State) | |
| 632 | - (lam h hRate viscosityScale : Q × ℝ → ℝ) (p : Q) (I : Set ℝ) | |
| 633 | - (hn : ∀ v ∈ I, HasDerivAt (fun t => n (p, t)) (nDot (p, v)) v) | |
| 634 | - (hh : ∀ v ∈ I, h (p, v) ≠ 0) | |
| 635 | - (hdh : ∀ v ∈ I, HasDerivAt (fun t => h (p, t)) (hRate (p, v) * h (p, v)) v) : | |
| 636 | - (FrameData.ofNormal n nDot hne F g lam h hRate viscosityScale).Kinematics p I := by | |
| 637 | - refine ⟨fun v _ => (MovingFrameODE.normalScale_pos (hne (p, v))).ne', hh, | |
| 638 | - ?_, ?_, hdh, ?_, ?_⟩ | |
| 639 | - · intro v hv | |
| 640 | - exact PhaseEstimates.hasDerivAt_normalScale (hn v hv) (hne (p, v)) | |
| 641 | - · intro v hv | |
| 642 | - exact PhaseEstimates.hasDerivAt_radialSlope (hn v hv) (hne (p, v)) | |
| 643 | - · intro v hv | |
| 644 | - simpa only [FrameData.ofNormal, MovingFrameODE.normalFrame_zero, | |
| 645 | - MovingFrameODE.normalFrame_one] using | |
| 646 | - (PhaseEstimates.hasDerivAt_actual_frame (hn v hv) (hne (p, v))).1 | |
| 647 | - · intro v hv | |
| 648 | - simpa only [FrameData.ofNormal, MovingFrameODE.normalFrame_zero, | |
| 649 | - MovingFrameODE.normalFrame_one] using | |
| 650 | - (PhaseEstimates.hasDerivAt_actual_frame (hn v hv) (hne (p, v))).2 | |
| 651 | - | |
| 652 | -theorem FrameData.Kinematics.normal_hasDerivAt {d : FrameData Q} {p : Q} {I : Set ℝ} | |
| 653 | - (hk : d.Kinematics p I) {v : ℝ} (hv : v ∈ I) : | |
| 654 | - HasDerivAt (fun t => d.normal (p, t)) (d.normalMotion (p, v)) v := | |
| 655 | - MovingFrameODE.hasDerivAt_normal (hk.beta_deriv v hv) (hk.rho_deriv v hv) (hk.frameK_deriv v hv) | |
| 656 | - | |
| 657 | -theorem FrameData.ofNormal_normalMotion (n nDot : Q × ℝ → Space) | |
| 658 | - (hne : ∀ z, MovingFrameODE.tail (n z) ≠ 0) | |
| 659 | - (F : Q × ℝ → ℝ) (g : Q × ℝ → State) | |
| 660 | - (lam h hRate viscosityScale : Q × ℝ → ℝ) {p : Q} {v : ℝ} | |
| 661 | - (hn : HasDerivAt (fun t => n (p, t)) (nDot (p, v)) v) : | |
| 662 | - (FrameData.ofNormal n nDot hne F g lam h hRate viscosityScale).normalMotion (p, v) = nDot (p, v) := by | |
| 663 | - have hbeta := PhaseEstimates.hasDerivAt_normalScale hn (hne (p, v)) | |
| 664 | - have hrho := PhaseEstimates.hasDerivAt_radialSlope hn (hne (p, v)) | |
| 665 | - have hK : HasDerivAt (fun t => MovingFrameODE.normalFrame (n (p, t)) (hne (p, t)) 0) | |
| 666 | - (PhaseEstimates.angularVelocity (n (p, v)) (nDot (p, v)) • | |
| 667 | - MovingFrameODE.normalFrame (n (p, v)) (hne (p, v)) 1) v := by | |
| 668 | - simpa only [MovingFrameODE.normalFrame_zero, MovingFrameODE.normalFrame_one] using | |
| 669 | - (PhaseEstimates.hasDerivAt_actual_frame hn (hne (p, v))).1 | |
| 670 | - have hd := MovingFrameODE.hasDerivAt_normal hbeta hrho hK | |
| 671 | - have heq : (fun t => MovingFrameODE.normal (MovingFrameODE.normalScale (n (p, t))) | |
| 672 | - (MovingFrameODE.radialSlope (n (p, t))) (MovingFrameODE.normalFrame (n (p, t)) (hne (p, t)))) = | |
| 673 | - (fun t => n (p, t)) := by | |
| 674 | - funext t | |
| 675 | - exact MovingFrameODE.normal_reconstructed (hne (p, t)) | |
| 676 | - rw [heq] at hd | |
| 677 | - exact hd.unique hn | |
| 678 | - | |
| 679 | 464 | end PhaseFrame |
| 680 | 465 | |
| 681 | 466 | section ParameterJets |
| 682 | 467 | |
| 683 | 468 | variable {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 684 | 469 | |
| 685 | -/-- Full ordinary Fréchet jets of the same constructed solution. All numerical | |
| 686 | -jet assumptions concern explicitly defined coefficients, initial data and | |
| 687 | -forcing; the output jet bound is derived by the triangular variational ODE. -/ | |
| 688 | -theorem norm_iteratedFDeriv_solution_le_polynomial {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 689 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 690 | - (hd : d.SmoothOn (U ×ˢ V)) {j : ℤ} (hj : j ≠ 0) | |
| 691 | - (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 692 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) | |
| 693 | - {p : Q} (hp : p ∈ U) (referenceDamping rate W : ℝ → ℝ) | |
| 694 | - {S C D K w : ℝ} (hS : 1 ≤ S) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 695 | - (hK : 1 ≤ K) (hw : 0 ≤ w) | |
| 696 | - (hW : ∀ v, 0 < W v) (hdW : ∀ v, HasDerivAt W (rate v * W v) v) | |
| 697 | - (hreference : ∀ v ∈ Icc a b, rate v = d.eigenvalue (p, v) - referenceDamping v) | |
| 698 | - (hlam : ∀ v ∈ Icc a b, 0 ≤ d.eigenvalue (p, v)) | |
| 699 | - (hν : ∀ v ∈ Icc a b, 0 ≤ d.viscosity (p, v)) | |
| 700 | - (hνerr : ∀ v ∈ Icc a b, referenceDamping v - D / S ≤ d.viscosity (p, v)) | |
| 701 | - (herr : ∀ v ∈ Icc a b, | |
| 702 | - |d.error11 (p, v)| ≤ C / S ∧ |d.error12 (p, v)| ≤ C / S ∧ | |
| 703 | - |d.error21 (p, v)| ≤ C / S ∧ |d.error22 (p, v)| ≤ C / S) | |
| 704 | - (hExp : Real.exp (((D + 4 * C) / S) * (b - a)) ≤ K) (hslot : b - a ≤ K * S) | |
| 705 | - (m N : ℕ) | |
| 706 | - (hAj : ∀ k : ℕ, k ≤ N → ∀ v : Icc a b, | |
| 707 | - ‖iteratedFDeriv ℝ k (fun q => d.coefficient j (q, v)) p‖ ≤ K * S ^ m) | |
| 708 | - (hxj : ∀ k : ℕ, k ≤ N → ‖iteratedFDeriv ℝ k x₀ p‖ ≤ w * K * S ^ m * W a) | |
| 709 | - (hfj : ∀ k : ℕ, k ≤ N → ∀ v : Icc a b, | |
| 710 | - ‖iteratedFDeriv ℝ k (fun q => d.forcing f (q, v)) p‖ ≤ w * K * S ^ m * W v) | |
| 711 | - (n : ℕ) (hn : n ≤ N) (v : Icc a b) : | |
| 712 | - ‖iteratedFDeriv ℝ n (fun q => solution hab d j x₀ f q v) p‖ ≤ | |
| 713 | - w * ((2 : ℝ) ^ (N + 1) * K ^ 3) ^ (n + 1) * S ^ ((m + 1) * (n + 1)) * W v := by | |
| 714 | - have heq : (fun q => solution hab d j x₀ f q v) = | |
| 715 | - (fun q => SmoothPathFamily.odeFamily hab (d.coefficient j) x₀ (d.forcing f) q v) := by | |
| 716 | - funext q | |
| 717 | - exact extendedFamily_eq_path _ _ _ _ _ _ | |
| 718 | - rw [heq] | |
| 719 | - apply WeightedODEJets.norm_iteratedFDeriv_odeFamily_le_polynomial hab U V hU hV hI | |
| 720 | - (d.coefficient j) x₀ (d.forcing f) (hd.coefficient j) hx₀ (hd.forcing hf) hp | |
| 721 | - rate W (div_nonneg (by positivity) (zero_le_one.trans hS)) hW hdW | |
| 722 | - _ hExp hS hK hw hslot m N hAj hxj hfj n hn v | |
| 723 | - intro t z | |
| 724 | - rw [hreference t t.2] | |
| 725 | - exact d.energy_bound (p, t) hj (hlam t t.2) (hν t t.2) (hνerr t t.2) (herr t t.2) z | |
| 726 | - | |
| 727 | 470 | end ParameterJets |
| 728 | 471 | |
| 729 | 472 | noncomputable def referenceProfile (c₀ u ell v : ℝ) : ℝ := |
| @@ -891,263 +634,24 @@ theorem primarySeed_reference_contDiffOn {ell : ℝ} (hell : 0 ≤ ell) | ||
| 891 | 634 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) MovingFrameODE.pairCLM).comp_contDiffOn |
| 892 | 635 | (hE.prodMk contDiffOn_const) |
| 893 | 636 | |
| 894 | -theorem primary_reference_path_contDiffOn {ell : ℝ} (hell : 0 ≤ ell) (d : FrameData Q) | |
| 895 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc 0 ell ⊆ V) | |
| 896 | - (hd : d.SmoothOn (U ×ˢ V)) (lam u : Q → ℝ) | |
| 897 | - (hlam : ContDiffOn ℝ ∞ lam U) (hu : ContDiffOn ℝ ∞ u U) : | |
| 898 | - ContDiffOn ℝ ∞ (SmoothPathFamily.odeFamily hell (d.coefficient 1) | |
| 899 | - (primarySeed 0 (referenceEnvelope lam u ell)) (d.forcing (fun _ => 0))) U := | |
| 900 | - solutionPath_contDiffOn hell d U V hU hV hI hd 1 | |
| 901 | - (primarySeed 0 (referenceEnvelope lam u ell)) (fun _ => 0) | |
| 902 | - (primarySeed_reference_contDiffOn hell U V hU hV hI lam u hlam hu) contDiffOn_const | |
| 903 | - | |
| 904 | -/-- Parameter smoothness of the constructed extension at every time in the | |
| 905 | -closed slot, including its endpoints. -/ | |
| 906 | -theorem solution_contDiffOn {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 907 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 908 | - (hd : d.SmoothOn (U ×ˢ V)) (j : ℤ) (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 909 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) (v : Icc a b) : | |
| 910 | - ContDiffOn ℝ ∞ (fun q => solution hab d j x₀ f q v) U := by | |
| 911 | - have hpath := solutionPath_contDiffOn hab d U V hU hV hI hd j x₀ f hx₀ hf | |
| 912 | - have heval := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 913 | - (ContinuousMap.evalCLM ℝ v)).comp_contDiffOn hpath | |
| 914 | - apply heval.congr | |
| 915 | - intro q _ | |
| 916 | - exact extendedFamily_eq_path _ _ _ _ _ _ | |
| 917 | - | |
| 918 | -/-- Reconstructed ambient tangent vectors inherit parameter smoothness from | |
| 919 | -the same constructed modal path and the explicit smooth frame data. -/ | |
| 920 | -theorem ambientSolution_contDiffOn {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 921 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 922 | - (hd : d.SmoothOn (U ×ˢ V)) (j : ℤ) (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 923 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) (v : Icc a b) : | |
| 924 | - ContDiffOn ℝ ∞ (fun q => ambientSolution hab d j x₀ f q v) U := by | |
| 925 | - have hz := solution_contDiffOn hab d U V hU hV hI hd j x₀ f hx₀ hf v | |
| 926 | - have hz0 := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 927 | - (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 0)).comp_contDiffOn hz | |
| 928 | - have hz1 := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 929 | - (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 1)).comp_contDiffOn hz | |
| 930 | - have hs : MapsTo (fun q : Q => (q, (v : ℝ))) U (U ×ˢ V) := fun _ hq => ⟨hq, hI v.2⟩ | |
| 931 | - have hc : ContDiffOn ℝ ∞ (fun q : Q => (q, (v : ℝ))) U := | |
| 932 | - contDiffOn_id.prodMk contDiffOn_const | |
| 933 | - have hr := hd.rho.comp hc hs | |
| 934 | - have hh := hd.eigenvector.comp hc hs | |
| 935 | - have hK := (hd.frame 0).comp hc hs | |
| 936 | - have hN := (hd.frame 1).comp hc hs | |
| 937 | - have hx := hz0.add hz1 | |
| 938 | - have hy := hh.mul (hz0.sub hz1) | |
| 939 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) MovingFrameODE.packCLM).comp_contDiffOn | |
| 940 | - (hx.prodMk (((hr.neg.mul hx).smul hK).add (hy.smul hN))) | |
| 941 | - | |
| 942 | 637 | end SmoothPrimary |
| 943 | 638 | |
| 944 | 639 | section Joint |
| 945 | 640 | |
| 946 | 641 | variable {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 947 | 642 | |
| 948 | -/-- Genuine joint parameter/time smoothness of the constructed solution on | |
| 949 | -the closed slot. The joint theorem constructs a smooth representative by | |
| 950 | -time rescaling, rather than claiming the clamped extension smooth outside. -/ | |
| 951 | -theorem solution_joint_contDiffOn {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 952 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 953 | - (hd : d.SmoothOn (U ×ˢ V)) (j : ℤ) (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 954 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : | |
| 955 | - ContDiffOn ℝ ∞ (fun z : Q × ℝ => solution hab d j x₀ f z.1 z.2) (U ×ˢ Icc a b) := | |
| 956 | - JointODE.contDiffOn_solutionExtension_joint hab U V hU hV hI | |
| 957 | - (d.coefficient j) x₀ (d.forcing f) (hd.coefficient j) hx₀ (hd.forcing hf) | |
| 958 | - | |
| 959 | -theorem ambientSolution_joint_contDiffOn {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 960 | - (U : Set Q) (V : Set ℝ) (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 961 | - (hd : d.SmoothOn (U ×ˢ V)) (j : ℤ) (x₀ : Q → State) (f : Q × ℝ → Space) | |
| 962 | - (hx₀ : ContDiffOn ℝ ∞ x₀ U) (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : | |
| 963 | - ContDiffOn ℝ ∞ (fun z : Q × ℝ => ambientSolution hab d j x₀ f z.1 z.2) (U ×ˢ Icc a b) := by | |
| 964 | - have hz := solution_joint_contDiffOn hab d U V hU hV hI hd j x₀ f hx₀ hf | |
| 965 | - have hz0 := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 966 | - (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 0)).comp_contDiffOn hz | |
| 967 | - have hz1 := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 968 | - (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 1)).comp_contDiffOn hz | |
| 969 | - have hs : U ×ˢ Icc a b ⊆ U ×ˢ V := Set.prod_mono Subset.rfl hI | |
| 970 | - have hr := hd.rho.mono hs | |
| 971 | - have hh := hd.eigenvector.mono hs | |
| 972 | - have hK := (hd.frame 0).mono hs | |
| 973 | - have hN := (hd.frame 1).mono hs | |
| 974 | - have hx := hz0.add hz1 | |
| 975 | - have hy := hh.mul (hz0.sub hz1) | |
| 976 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) MovingFrameODE.packCLM).comp_contDiffOn | |
| 977 | - (hx.prodMk (((hr.neg.mul hx).smul hK).add (hy.smul hN))) | |
| 978 | - | |
| 979 | 643 | end Joint |
| 980 | 644 | |
| 981 | -/-- The physical viscosity perturbation follows from closeness of the actual | |
| 982 | -phase normal. This gives the damping input without assuming an ODE bound. -/ | |
| 983 | -theorem viscosity_error_of_normal_comparison {n n₀ : Space} {κ η M : ℝ} | |
| 984 | - (hκ : 0 ≤ κ) (hclose : ‖n - n₀‖ ≤ η) (hn₀ : ‖n₀‖ ≤ M) : | |
| 985 | - |κ * ‖n‖ ^ 2 - κ * ‖n₀‖ ^ 2| ≤ κ * η * (2 * M + η) := by | |
| 986 | - have hη : 0 ≤ η := (norm_nonneg _).trans hclose | |
| 987 | - have hd : |‖n‖ - ‖n₀‖| ≤ η := (abs_norm_sub_norm_le n n₀).trans hclose | |
| 988 | - have hs : ‖n‖ + ‖n₀‖ ≤ 2 * M + η := by linarith [(abs_le.mp hd).2] | |
| 989 | - have he : κ * ‖n‖ ^ 2 - κ * ‖n₀‖ ^ 2 = κ * ((‖n‖ - ‖n₀‖) * (‖n‖ + ‖n₀‖)) := by ring | |
| 990 | - rw [he, abs_mul, abs_of_nonneg hκ, abs_mul, | |
| 991 | - abs_of_nonneg (add_nonneg (norm_nonneg n) (norm_nonneg n₀))] | |
| 992 | - calc | |
| 993 | - κ * (|‖n‖ - ‖n₀‖| * (‖n‖ + ‖n₀‖)) ≤ κ * (η * (2 * M + η)) := | |
| 994 | - mul_le_mul_of_nonneg_left | |
| 995 | - (mul_le_mul hd hs (add_nonneg (norm_nonneg n) (norm_nonneg n₀)) hη) hκ | |
| 996 | - _ = _ := by ring | |
| 997 | - | |
| 998 | -/-- The source transformation has a uniform norm bound from elementary frame | |
| 999 | -and eigenvector bounds, independently of the harmonic index. -/ | |
| 1000 | -theorem FrameData.forcing_norm_le {Q : Type} (d : FrameData Q) (f : Q × ℝ → Space) | |
| 1001 | - (z : Q × ℝ) {R H : ℝ} (hR : 0 ≤ R) (hH : 0 ≤ H) | |
| 1002 | - (hrho : |d.rho z| ≤ R) (hh : |1 / d.eigenvector z| ≤ H) : | |
| 1003 | - ‖d.forcing f z‖ ≤ (1 + R + H) * ‖f z‖ := by | |
| 1004 | - have hf0 : |f z 0| ≤ ‖f z‖ := by | |
| 1005 | - simpa only [Real.norm_eq_abs] using PiLp.norm_apply_le (f z) 0 | |
| 1006 | - have hi (i : Fin 2) : |⟪d.frame z i, MovingFrameODE.tail (f z)⟫_ℝ| ≤ ‖f z‖ := by | |
| 1007 | - apply (abs_real_inner_le_norm _ _).trans | |
| 1008 | - rw [(d.frame z).norm_eq_one i, one_mul] | |
| 1009 | - exact PhaseEstimates.tail_norm_le _ | |
| 1010 | - have hx : |d.forceX f z| ≤ (1 + R) * ‖f z‖ := by | |
| 1011 | - unfold FrameData.forceX | |
| 1012 | - apply (MovingFrameODE.abs_div_le_of_one_le _ _ (by nlinarith [sq_nonneg (d.rho z)])).trans | |
| 1013 | - rw [abs_neg] | |
| 1014 | - calc | |
| 1015 | - |f z 0 - d.rho z * ⟪d.frame z 0, MovingFrameODE.tail (f z)⟫_ℝ| ≤ | |
| 1016 | - |f z 0| + |d.rho z * ⟪d.frame z 0, MovingFrameODE.tail (f z)⟫_ℝ| := abs_sub _ _ | |
| 1017 | - _ = |f z 0| + |d.rho z| * |⟪d.frame z 0, MovingFrameODE.tail (f z)⟫_ℝ| := by rw [abs_mul] | |
| 1018 | - _ ≤ ‖f z‖ + R * ‖f z‖ := add_le_add hf0 (mul_le_mul hrho (hi 0) (abs_nonneg _) hR) | |
| 1019 | - _ = _ := by ring | |
| 1020 | - have hy : |d.forceY f z| ≤ ‖f z‖ := by simpa only [FrameData.forceY, abs_neg] using hi 1 | |
| 1021 | - have hdiv : |d.forceY f z / d.eigenvector z| ≤ H * ‖f z‖ := by | |
| 1022 | - calc | |
| 1023 | - |d.forceY f z / d.eigenvector z| = |1 / d.eigenvector z| * |d.forceY f z| := by | |
| 1024 | - rw [abs_div, abs_div, abs_one] | |
| 1025 | - ring | |
| 1026 | - _ ≤ _ := mul_le_mul hh hy (abs_nonneg _) hH | |
| 1027 | - apply (MovingFrameODE.plane_norm_le_coordinate_sum (d.forcing f z)).trans | |
| 1028 | - change |(d.forceX f z + d.forceY f z / d.eigenvector z) / 2| + | |
| 1029 | - |(d.forceX f z - d.forceY f z / d.eigenvector z) / 2| ≤ _ | |
| 1030 | - rw [abs_div, abs_div] | |
| 1031 | - rw [abs_of_pos (by norm_num : (0 : ℝ) < 2)] | |
| 1032 | - nlinarith [abs_add_le (d.forceX f z) (d.forceY f z / d.eigenvector z), | |
| 1033 | - abs_sub (d.forceX f z) (d.forceY f z / d.eigenvector z)] | |
| 1034 | - | |
| 1035 | 645 | private theorem norm_pack_le (x : ℝ) (v : State) : ‖MovingFrameODE.pack x v‖ ≤ |x| + ‖v‖ := by |
| 1036 | 646 | have hs := MovingFrameODE.inner_pack x x v v |
| 1037 | 647 | simp only [real_inner_self_eq_norm_sq] at hs |
| 1038 | 648 | nlinarith [norm_nonneg (MovingFrameODE.pack x v), norm_nonneg v, abs_nonneg x, |
| 1039 | 649 | sq_abs x, mul_nonneg (abs_nonneg x) (norm_nonneg v)] |
| 1040 | 650 | |
| 1041 | -theorem FrameData.ambient_norm_le {Q : Type} (d : FrameData Q) (z : Q × ℝ) (w : State) | |
| 1042 | - {R H : ℝ} (hrho : |d.rho z| ≤ R) (hh : |d.eigenvector z| ≤ H) : | |
| 1043 | - ‖d.ambient z w‖ ≤ 2 * (1 + R + H) * ‖w‖ := by | |
| 1044 | - have hR : 0 ≤ R := (abs_nonneg _).trans hrho | |
| 1045 | - have hH : 0 ≤ H := (abs_nonneg _).trans hh | |
| 1046 | - have hw (i : Fin 2) : |w i| ≤ ‖w‖ := by | |
| 1047 | - simpa only [Real.norm_eq_abs] using PiLp.norm_apply_le w i | |
| 1048 | - have hx : |w 0 + w 1| ≤ 2 * ‖w‖ := (abs_add_le _ _).trans (by linarith [hw 0, hw 1]) | |
| 1049 | - have hdiff : |w 0 - w 1| ≤ 2 * ‖w‖ := (abs_sub _ _).trans (by linarith [hw 0, hw 1]) | |
| 1050 | - have htail : ‖(-d.rho z * (w 0 + w 1)) • d.frame z 0 + | |
| 1051 | - (d.eigenvector z * (w 0 - w 1)) • d.frame z 1‖ ≤ | |
| 1052 | - |d.rho z| * |w 0 + w 1| + |d.eigenvector z| * |w 0 - w 1| := by | |
| 1053 | - apply (norm_add_le _ _).trans_eq | |
| 1054 | - simp only [norm_smul, Real.norm_eq_abs, abs_mul, abs_neg, (d.frame z).norm_eq_one, mul_one] | |
| 1055 | - change ‖MovingFrameODE.pack (w 0 + w 1) | |
| 1056 | - ((-d.rho z * (w 0 + w 1)) • d.frame z 0 + | |
| 1057 | - (d.eigenvector z * (w 0 - w 1)) • d.frame z 1)‖ ≤ _ | |
| 1058 | - apply (norm_pack_le _ _).trans | |
| 1059 | - have hrx := mul_le_mul hrho hx (abs_nonneg _) hR | |
| 1060 | - have hhy := mul_le_mul hh hdiff (abs_nonneg _) hH | |
| 1061 | - nlinarith | |
| 1062 | - | |
| 1063 | -/-- The inverse coordinate transformation is uniformly bounded too, so the | |
| 1064 | -modal forward estimate is a genuine ambient tangent propagator estimate. -/ | |
| 1065 | -theorem FrameData.norm_le_ambient {Q : Type} (d : FrameData Q) (z : Q × ℝ) (w : State) | |
| 1066 | - {H : ℝ} (hne : d.eigenvector z ≠ 0) (hh : |1 / d.eigenvector z| ≤ H) : | |
| 1067 | - ‖w‖ ≤ (1 + H) * ‖d.ambient z w‖ := by | |
| 1068 | - have hH : 0 ≤ H := (abs_nonneg _).trans hh | |
| 1069 | - have hx : |w 0 + w 1| ≤ ‖d.ambient z w‖ := by | |
| 1070 | - simpa only [FrameData.ambient, MovingFrameODE.tangent, MovingFrameODE.pack_zero, Real.norm_eq_abs] | |
| 1071 | - using PiLp.norm_apply_le (d.ambient z w) 0 | |
| 1072 | - have hy : |d.eigenvector z * (w 0 - w 1)| ≤ ‖d.ambient z w‖ := by | |
| 1073 | - have he : ⟪d.frame z 1, MovingFrameODE.tail (d.ambient z w)⟫_ℝ = | |
| 1074 | - d.eigenvector z * (w 0 - w 1) := by | |
| 1075 | - simp only [FrameData.ambient, MovingFrameODE.tangent, MovingFrameODE.tail_pack, | |
| 1076 | - inner_add_right, inner_smul_right, MovingFrameODE.frame_inner10, | |
| 1077 | - MovingFrameODE.frame_inner11, mul_zero, mul_one, zero_add] | |
| 1078 | - rw [← he] | |
| 1079 | - apply (abs_real_inner_le_norm _ _).trans | |
| 1080 | - rw [(d.frame z).norm_eq_one 1, one_mul] | |
| 1081 | - exact PhaseEstimates.tail_norm_le _ | |
| 1082 | - have hdiff : |w 0 - w 1| ≤ H * ‖d.ambient z w‖ := by | |
| 1083 | - calc | |
| 1084 | - |w 0 - w 1| = |1 / d.eigenvector z| * |d.eigenvector z * (w 0 - w 1)| := by | |
| 1085 | - rw [← abs_mul] | |
| 1086 | - congr 1 | |
| 1087 | - field_simp | |
| 1088 | - _ ≤ _ := mul_le_mul hh hy (abs_nonneg _) hH | |
| 1089 | - have hp : 2 * |w 0| ≤ |w 0 + w 1| + |w 0 - w 1| := by | |
| 1090 | - have hi := abs_add_le (w 0 + w 1) (w 0 - w 1) | |
| 1091 | - have he : w 0 + w 1 + (w 0 - w 1) = 2 * w 0 := by ring | |
| 1092 | - rw [he, abs_mul, abs_of_pos (by norm_num : (0 : ℝ) < 2)] at hi | |
| 1093 | - exact hi | |
| 1094 | - have hq : 2 * |w 1| ≤ |w 0 + w 1| + |w 0 - w 1| := by | |
| 1095 | - have hi := abs_sub (w 0 + w 1) (w 0 - w 1) | |
| 1096 | - have he : w 0 + w 1 - (w 0 - w 1) = 2 * w 1 := by ring | |
| 1097 | - rw [he, abs_mul, abs_of_pos (by norm_num : (0 : ℝ) < 2)] at hi | |
| 1098 | - exact hi | |
| 1099 | - have hn := MovingFrameODE.plane_norm_le_coordinate_sum w | |
| 1100 | - nlinarith | |
| 1101 | - | |
| 1102 | 651 | section AmbientForward |
| 1103 | 652 | |
| 1104 | 653 | variable {Q : Type} [NormedAddCommGroup Q] |
| 1105 | 654 | |
| 1106 | -/-- The forward estimate in actual ambient tangent norm, with constants | |
| 1107 | -independent of the nonzero integer harmonic. -/ | |
| 1108 | -theorem ambient_homogeneous_forward_bound {a b : ℝ} (hab : a ≤ b) (d : FrameData Q) | |
| 1109 | - {j : ℤ} (hj : j ≠ 0) (x₀ : Q → State) {U : Set Q} | |
| 1110 | - (hA : ContinuousOn (d.coefficient j) (U ×ˢ Icc a b)) | |
| 1111 | - {p : Q} (hp : p ∈ U) (referenceDamping rate P : ℝ → ℝ) | |
| 1112 | - {S C D L R H : ℝ} (hS : 0 < S) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 1113 | - (hslot : b - a ≤ L * S) | |
| 1114 | - (hPpos : ∀ v, 0 < P v) (hP : ∀ v, HasDerivAt P (rate v * P v) v) | |
| 1115 | - (hreference : ∀ v ∈ Icc a b, rate v = d.eigenvalue (p, v) - referenceDamping v) | |
| 1116 | - (hlam : ∀ v ∈ Icc a b, 0 ≤ d.eigenvalue (p, v)) | |
| 1117 | - (hν : ∀ v ∈ Icc a b, 0 ≤ d.viscosity (p, v)) | |
| 1118 | - (hνerr : ∀ v ∈ Icc a b, referenceDamping v - D / S ≤ d.viscosity (p, v)) | |
| 1119 | - (herr : ∀ v ∈ Icc a b, | |
| 1120 | - |d.error11 (p, v)| ≤ C / S ∧ |d.error12 (p, v)| ≤ C / S ∧ | |
| 1121 | - |d.error21 (p, v)| ≤ C / S ∧ |d.error22 (p, v)| ≤ C / S) | |
| 1122 | - (hrho : ∀ v ∈ Icc a b, |d.rho (p, v)| ≤ R) | |
| 1123 | - (hh : ∀ v ∈ Icc a b, |d.eigenvector (p, v)| ≤ H) | |
| 1124 | - (hne : d.eigenvector (p, a) ≠ 0) (hhi : |1 / d.eigenvector (p, a)| ≤ H) : | |
| 1125 | - ∀ v ∈ Icc a b, ‖ambientSolution hab d j x₀ (fun _ => 0) p v‖ ≤ | |
| 1126 | - (2 * (1 + R + H) * (1 + H) * Real.exp ((D + 4 * C) * L)) * | |
| 1127 | - (P v / P a) * ‖ambientSolution hab d j x₀ (fun _ => 0) p a‖ := by | |
| 1128 | - have hbnd := homogeneous_forward_bound hab d hj x₀ hA hp referenceDamping rate P | |
| 1129 | - hS hC hD hslot hPpos hP hreference hlam hν hνerr herr | |
| 1130 | - have hstart : ‖x₀ p‖ ≤ (1 + H) * ‖ambientSolution hab d j x₀ (fun _ => 0) p a‖ := by | |
| 1131 | - simpa only [ambientSolution, solution_initial] using | |
| 1132 | - d.norm_le_ambient (p, a) (x₀ p) hne hhi | |
| 1133 | - have hR : 0 ≤ R := (abs_nonneg _).trans (hrho a ⟨le_rfl, hab⟩) | |
| 1134 | - have hH : 0 ≤ H := (abs_nonneg _).trans (hh a ⟨le_rfl, hab⟩) | |
| 1135 | - have hfac : 0 ≤ 2 * (1 + R + H) := by positivity | |
| 1136 | - intro v hv | |
| 1137 | - calc | |
| 1138 | - _ ≤ (2 * (1 + R + H)) * ‖solution hab d j x₀ (fun _ => 0) p v‖ := | |
| 1139 | - d.ambient_norm_le (p, v) _ (hrho v hv) (hh v hv) | |
| 1140 | - _ ≤ (2 * (1 + R + H)) * | |
| 1141 | - (Real.exp ((D + 4 * C) * L) * (P v / P a) * ‖x₀ p‖) := | |
| 1142 | - mul_le_mul_of_nonneg_left (hbnd v hv) hfac | |
| 1143 | - _ ≤ (2 * (1 + R + H)) * | |
| 1144 | - (Real.exp ((D + 4 * C) * L) * (P v / P a) * | |
| 1145 | - ((1 + H) * ‖ambientSolution hab d j x₀ (fun _ => 0) p a‖)) := by | |
| 1146 | - apply mul_le_mul_of_nonneg_left _ hfac | |
| 1147 | - exact mul_le_mul_of_nonneg_left hstart | |
| 1148 | - (mul_nonneg (Real.exp_pos _).le (div_pos (hPpos v) (hPpos a)).le) | |
| 1149 | - _ = _ := by ring | |
| 1150 | - | |
| 1151 | 655 | end AmbientForward |
| 1152 | 656 | |
| 1153 | 657 | section LocalPhaseFrame |
+0 −220 NavierStokes/PrimaryPulseBounds.lean View file
| @@ -744,12 +744,6 @@ theorem EnvelopeJets.restrict {D D' : PhaseJetBounds.Domain ι E} {w : ι → E | ||
| 744 | 744 | intro i x hx j hj |
| 745 | 745 | simpa only [hscale i] using hm i x (hsub i hx) j hj |
| 746 | 746 | |
| 747 | -theorem polynomial_memClass_of_domain {D : PhaseJetBounds.Domain ℕ E} {f : ℕ → E → F} | |
| 748 | - (hf : PhaseJetBounds.PolynomialJets D f) (s : WeightedClasses.StripData E) | |
| 749 | - (hscale : ∀ i, D.scale i = s.slow i) (hdom : ∀ i, D.carrier i = s.domain) : | |
| 750 | - WeightedClasses.UnweightedClass s 0 f := | |
| 751 | - (EnvelopeJets.of_polynomial hf).memClass s hscale hdom | |
| 752 | - | |
| 753 | 747 | end DomainRestriction |
| 754 | 748 | |
| 755 | 749 | section AmbientClass |
| @@ -759,18 +753,6 @@ open WeightedClasses | ||
| 759 | 753 | variable {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 760 | 754 | variable {s : StripData (Q × ℝ)} {P : ℕ → Q × ℝ → ℝ} |
| 761 | 755 | |
| 762 | -theorem synthesis_memClass {c : Fin 2 → ℕ → Q × ℝ → Space} | |
| 763 | - {z : ℕ → Q × ℝ → State} (hc : ∀ j, UnweightedClass s 0 (c j)) | |
| 764 | - (hz : MemClass s P 0 z) : | |
| 765 | - MemClass s P 0 (fun n x => z n x 0 • c 0 n x + z n x 1 • c 1 n x) := by | |
| 766 | - have hz0 := hz.map (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 0) | |
| 767 | - have hz1 := hz.map (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 1) | |
| 768 | - have h0 : MemClass s P 0 (fun n x => z n x 0 • c 0 n x) := by | |
| 769 | - simpa only [PiLp.proj_apply, mul_one, zero_add] using hz0.smul (hc 0) | |
| 770 | - have h1 : MemClass s P 0 (fun n x => z n x 1 • c 1 n x) := by | |
| 771 | - simpa only [PiLp.proj_apply, mul_one, zero_add] using hz1.smul (hc 1) | |
| 772 | - exact h0.add h1 | |
| 773 | - | |
| 774 | 756 | end AmbientClass |
| 775 | 757 | |
| 776 | 758 | section CovarianceIntegrals |
| @@ -987,44 +969,6 @@ theorem primaryCoefficient_waveClass | ||
| 987 | 969 | congr 1 |
| 988 | 970 | ring |
| 989 | 971 | |
| 990 | -/-- The actual normal-cross-product curl correction with the rounded | |
| 991 | -carrier and any nonzero integer harmonic. -/ | |
| 992 | -noncomputable def primaryCurlRemainder (s : StripData E) | |
| 993 | - (N : ℕ → E → Space) (R : E → ℝ) (Vr Vθ Vz : ℕ → E → E) | |
| 994 | - (harmonic : ℕ → ℤ) (a : ℕ → E → HarmonicCalculus.ComplexVector) : | |
| 995 | - ℕ → E → HarmonicCalculus.ComplexVector := fun n => | |
| 996 | - CurlClassBounds.curlRemainder | |
| 997 | - (CurlClassBounds.carrierFrequency s n * (harmonic n : ℝ)) R (Vr n) (Vθ n) (Vz n) | |
| 998 | - (fun x => CurlClassBounds.normalCoefficient (N n x) (a n x)) | |
| 999 | - | |
| 1000 | -theorem primaryCurlRemainder_waveClass | |
| 1001 | - {s : StripData E} {P : ℕ → E → ℝ} {κ : ℝ} | |
| 1002 | - {N : ℕ → E → Space} {R : E → ℝ} {Vr Vθ Vz : ℕ → E → E} | |
| 1003 | - {harmonic : ℕ → ℤ} {a : ℕ → E → HarmonicCalculus.ComplexVector} | |
| 1004 | - (hN : PhaseJetBounds.PolynomialJets (phaseDomain s) N) | |
| 1005 | - (ha : WaveClass s P (1 / 2) a) | |
| 1006 | - {b M : ℝ} (hb : 0 < b) | |
| 1007 | - (hlower : ∀ n x, x ∈ s.domain → b ≤ ‖N n x‖) | |
| 1008 | - (hupper : ∀ n x, x ∈ s.domain → ‖N n x‖ ≤ M) | |
| 1009 | - (hκ : 0 ≤ κ) (hr : UnweightedClass s (-κ) Vr) (hθ : UnweightedClass s 0 Vθ) | |
| 1010 | - (hz : UnweightedClass s 1 Vz) (hR : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) | |
| 1011 | - (hharmonic : ∀ n, harmonic n ≠ 0) : | |
| 1012 | - WaveClass s P (1 - κ) (primaryCurlRemainder s N R Vr Vθ Vz harmonic a) := by | |
| 1013 | - have h := CurlClassBounds.normalCurlRemainder_class hN ha hb hlower hupper hκ hr hθ hz hR | |
| 1014 | - (CurlClassBounds.harmonic_inverse_bandBound s harmonic hharmonic) | |
| 1015 | - simp only [show (1 / 2 + 1 / 2 : ℝ) = 1 by norm_num] at h | |
| 1016 | - exact h | |
| 1017 | - | |
| 1018 | -/-- In particular the exact-curl change meets the cumulative 0.68 budget. -/ | |
| 1019 | -theorem primaryCurlRemainder_budget | |
| 1020 | - {s : StripData E} {P : ℕ → E → ℝ} {κ : ℝ} | |
| 1021 | - {N : ℕ → E → Space} {R : E → ℝ} {Vr Vθ Vz : ℕ → E → E} | |
| 1022 | - {harmonic : ℕ → ℤ} {a : ℕ → E → HarmonicCalculus.ComplexVector} | |
| 1023 | - (h : WaveClass s P (1 - κ) (primaryCurlRemainder s N R Vr Vθ Vz harmonic a)) | |
| 1024 | - (hκ : κ ≤ 8 / 25) : | |
| 1025 | - WaveClass s P (17 / 25) (primaryCurlRemainder s N R Vr Vθ Vz harmonic a) := | |
| 1026 | - h.mono_exponent (by linarith) | |
| 1027 | - | |
| 1028 | 972 | end PrimaryClass |
| 1029 | 973 | |
| 1030 | 974 | section EnvelopeAlgebra |
| @@ -1507,49 +1451,6 @@ noncomputable def primaryWave (s : StripData E) | ||
| 1507 | 1451 | primaryCoefficient s (chartCovariance pref d lam u L χ) T mask |
| 1508 | 1452 | (fun n x => cutoffPulse (d c n) (lam c n) (u c n) (L c n) (χ n x)) c |
| 1509 | 1453 | |
| 1510 | -/-- Assembly with the actual phase-frame pulse, the actual integrated | |
| 1511 | -covariance matrix, the fixed slot cutoff, and a chart of polynomial scale. | |
| 1512 | -The remaining matrix hypotheses are strictly order zero. -/ | |
| 1513 | -theorem primaryWave_waveClass | |
| 1514 | - (s : StripData E) (D : PhaseJetBounds.Domain ℕ Q) | |
| 1515 | - (pref : Fin 2 → ℕ → ℝ) (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) | |
| 1516 | - (lam u L : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Q × ℝ) | |
| 1517 | - (T : ℕ → E → SmoothCovariance.Vec2) (mask : ℕ → E → ℝ) | |
| 1518 | - (hscale : ∀ n, D.scale n = s.slow n) | |
| 1519 | - (hχ : PhaseJetBounds.PolynomialJets (phaseDomain s) χ) | |
| 1520 | - (hmap : ∀ n x, x ∈ s.domain → (χ n x).1 ∈ D.carrier n) | |
| 1521 | - (hpref : ∀ c, PhaseJetBounds.PolynomialJets D (fun n _ => pref c n)) | |
| 1522 | - (hpulse : ∀ c, EnvelopeJets | |
| 1523 | - (productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) | |
| 1524 | - (fun n z => referenceP (lam c n) (u c n) (L c n) (L c n * z.2)) | |
| 1525 | - (fun n => normalizedPulse (d c n) (lam c n) (u c n) (L c n))) | |
| 1526 | - (hlam : ∀ c n, 0 < lam c n) (hu : ∀ c n, 0 < u c n) (hL : ∀ c n, 0 < L c n) | |
| 1527 | - (hT : ∀ i, MeanClass s 0 (fun n x => T n x i)) | |
| 1528 | - (hmask : PhaseJetBounds.PolynomialJets (phaseDomain s) mask) | |
| 1529 | - {b M a : ℝ} (hb : 0 < b) (hM : 1 ≤ M) (ha : 0 < a) | |
| 1530 | - (hdet : ∀ n x, x ∈ s.domain → | |
| 1531 | - b ≤ |(normalizedMatrix (Real.sqrt (s.slow n)) (chartCovariance pref d lam u L χ n x)).det|) | |
| 1532 | - (hentry : ∀ n x, x ∈ s.domain → ∀ i j, | |
| 1533 | - |Real.sqrt (s.slow n) * chartCovariance pref d lam u L χ n x i j| ≤ M) | |
| 1534 | - (hζ : ∀ x, x ∈ s.domain → 0 < s.zeta x) | |
| 1535 | - (hlower : ∀ n x, x ∈ s.domain → ∀ j, | |
| 1536 | - a * s.zeta x ≤ SmoothCovariance.weights (chartCovariance pref d lam u L χ n x) (T n x) j) | |
| 1537 | - (c : Fin 2) : | |
| 1538 | - WaveClass s (fun n x => GaussianTailFlat.referenceSlotEnvelope | |
| 1539 | - (lam c n) (u c n) (L c n) (χ n x).2) (1 / 2) | |
| 1540 | - (primaryWave s pref d lam u L χ T mask c) := by | |
| 1541 | - have hH (i j : Fin 2) : PhaseJetBounds.PolynomialJets (phaseDomain s) | |
| 1542 | - (fun n x => chartCovariance pref d lam u L χ n x i j) := by | |
| 1543 | - apply ((EnvelopeJets.of_polynomial | |
| 1544 | - (primaryCovariance_entry_polynomial D pref d lam u L hpref hpulse hlam hu hL i j)).comp | |
| 1545 | - (hχ.clm (ContinuousLinearMap.fst ℝ Q ℝ)) hscale hmap).to_polynomial | |
| 1546 | - intro n x hx | |
| 1547 | - rfl | |
| 1548 | - have hp := cutoffPulse_envelope_jets D (d c) (lam c) (u c) (L c) (hpulse c) | |
| 1549 | - have hpc := hp.comp hχ hscale (fun n x hx => ⟨hmap n x hx, mem_univ _⟩) | |
| 1550 | - have hv := hpc.memClass s (fun _ => rfl) (fun _ => rfl) | |
| 1551 | - exact primaryCoefficient_waveClass hH hT hmask hv hb hM ha hdet hentry hζ hlower c | |
| 1552 | - | |
| 1553 | 1454 | end ChartAssembly |
| 1554 | 1455 | |
| 1555 | 1456 | section PhaseConstruction |
| @@ -1656,38 +1557,6 @@ noncomputable def phaseWave (s : StripData E) {D : Domain ℕ Slow} | ||
| 1656 | 1557 | primaryWave s pref (fun c => (F c).frame) (fun c => (F c).lam) |
| 1657 | 1558 | (fun c => (F c).u) (fun c => (F c).L) χ T mask c |
| 1658 | 1559 | |
| 1659 | -/-- End-to-end primary class membership from the actual phase/base inputs. | |
| 1660 | -The covariance matrix in the hypotheses is the integral of these same | |
| 1661 | -constructed pulses. Its derivative bounds and all amplitude jets are | |
| 1662 | -derived in the proof. -/ | |
| 1663 | -theorem phaseWave_waveClass | |
| 1664 | - (s : StripData E) (D : Domain ℕ Slow) (F : Fin 2 → PhaseConstruction D) | |
| 1665 | - (pref : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Slow × ℝ) | |
| 1666 | - (T : ℕ → E → SmoothCovariance.Vec2) (mask : ℕ → E → ℝ) | |
| 1667 | - (hscale : ∀ n, D.scale n = s.slow n) | |
| 1668 | - (hχ : PolynomialJets (phaseDomain s) χ) | |
| 1669 | - (hmap : ∀ n x, x ∈ s.domain → (χ n x).1 ∈ D.carrier n) | |
| 1670 | - (hpref : ∀ c, PolynomialJets D (fun n _ => pref c n)) | |
| 1671 | - (hT : ∀ i, MeanClass s 0 (fun n x => T n x i)) | |
| 1672 | - (hmask : PolynomialJets (phaseDomain s) mask) | |
| 1673 | - {b M a : ℝ} (hb : 0 < b) (hM : 1 ≤ M) (ha : 0 < a) | |
| 1674 | - (hdet : ∀ n x, x ∈ s.domain → | |
| 1675 | - b ≤ |(normalizedMatrix (Real.sqrt (s.slow n)) | |
| 1676 | - (phaseCovariance F pref n (χ n x).1)).det|) | |
| 1677 | - (hentry : ∀ n x, x ∈ s.domain → ∀ i j, | |
| 1678 | - |Real.sqrt (s.slow n) * phaseCovariance F pref n (χ n x).1 i j| ≤ M) | |
| 1679 | - (hζ : ∀ x, x ∈ s.domain → 0 < s.zeta x) | |
| 1680 | - (hlower : ∀ n x, x ∈ s.domain → ∀ j, | |
| 1681 | - a * s.zeta x ≤ SmoothCovariance.weights (phaseCovariance F pref n (χ n x).1) (T n x) j) | |
| 1682 | - (c : Fin 2) : | |
| 1683 | - WaveClass s (fun n x => GaussianTailFlat.referenceSlotEnvelope | |
| 1684 | - ((F c).lam n) ((F c).u n) ((F c).L n) (χ n x).2) (1 / 2) | |
| 1685 | - (phaseWave s F pref χ T mask c) := | |
| 1686 | - primaryWave_waveClass s D pref (fun c => (F c).frame) (fun c => (F c).lam) | |
| 1687 | - (fun c => (F c).u) (fun c => (F c).L) χ T mask hscale hχ hmap hpref | |
| 1688 | - (fun c => (F c).pulse_jets) (fun c => (F c).lam_pos) (fun c => (F c).u_pos) | |
| 1689 | - (fun c => (F c).L_pos) hT hmask hb hM ha hdet hentry hζ hlower c | |
| 1690 | - | |
| 1691 | 1560 | end PhaseConstruction |
| 1692 | 1561 | |
| 1693 | 1562 | section LocalProfiles |
| @@ -1747,55 +1616,6 @@ open PhaseJetBounds WeightedClasses | ||
| 1747 | 1616 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1748 | 1617 | {s : StripData E} {D : Domain ℕ Slow} |
| 1749 | 1618 | |
| 1750 | -noncomputable def PhaseConstruction.chartNormal (p : PhaseConstruction D) | |
| 1751 | - (χ : ℕ → E → Slow × ℝ) (n : ℕ) (x : E) : Space := | |
| 1752 | - p.phase.normal n ((χ n x).1, p.L n * (χ n x).2) | |
| 1753 | - | |
| 1754 | -/-- The normal appearing in the curl coefficient is the actual phase | |
| 1755 | -normal. Its jets and lower bound are derived from the same phase inputs. -/ | |
| 1756 | -theorem PhaseConstruction.chartNormal_bounds (p : PhaseConstruction D) | |
| 1757 | - (χ : ℕ → E → Slow × ℝ) (hscale : ∀ n, D.scale n = s.slow n) | |
| 1758 | - (hχ : PolynomialJets (phaseDomain s) χ) | |
| 1759 | - (hmap : ∀ n x, x ∈ s.domain → (χ n x).1 ∈ D.carrier n) | |
| 1760 | - (hslot : ∀ n x, x ∈ s.domain → p.L n * (χ n x).2 ∈ p.V n) : | |
| 1761 | - PolynomialJets (phaseDomain s) (p.chartNormal χ) ∧ | |
| 1762 | - (∀ n x, x ∈ s.domain → p.b ≤ ‖p.chartNormal χ n x‖) ∧ | |
| 1763 | - (∀ n x, x ∈ s.domain → ‖p.chartNormal χ n x‖ ≤ p.M ^ 2 + 3 * p.M) := by | |
| 1764 | - have hL : PolynomialJets (phaseDomain s) (fun n _ => p.L n) := by | |
| 1765 | - apply PolynomialJets.const _ (m := 1) p.one_le_M | |
| 1766 | - intro n | |
| 1767 | - have hh := p.slot n (p.L n) (p.interval n ⟨(p.L_pos n).le, le_rfl⟩) | |
| 1768 | - simpa only [phaseDomain, pow_one, Real.norm_eq_abs, hscale n] using hh | |
| 1769 | - have hg := (hχ.clm (ContinuousLinearMap.fst ℝ Slow ℝ)).pair | |
| 1770 | - (hL.mul (hχ.clm (ContinuousLinearMap.snd ℝ Slow ℝ))) | |
| 1771 | - have hmaps : ∀ n, MapsTo (fun x => ((χ n x).1, p.L n * (χ n x).2)) | |
| 1772 | - s.domain ((D.slot p.V p.openV).carrier n) := | |
| 1773 | - fun n x hx => ⟨hmap n x hx, hslot n x hx⟩ | |
| 1774 | - have hj := (EnvelopeJets.of_polynomial p.normal_jets).comp hg hscale hmaps | |
| 1775 | - refine ⟨hj.to_polynomial (fun _ _ _ => le_rfl), ?_, ?_⟩ | |
| 1776 | - · intro n x hx | |
| 1777 | - exact p.normal_range.1 n _ (hmaps n hx) | |
| 1778 | - · intro n x hx | |
| 1779 | - exact p.normal_range.2 n _ (hmaps n hx) | |
| 1780 | - | |
| 1781 | -/-- The exact-curl remainder bound specializes to the actual phase normal, | |
| 1782 | -without an assumed normal-jet or propagator estimate. -/ | |
| 1783 | -theorem PhaseConstruction.curlRemainder_waveClass (p : PhaseConstruction D) | |
| 1784 | - (χ : ℕ → E → Slow × ℝ) (hscale : ∀ n, D.scale n = s.slow n) | |
| 1785 | - (hχ : PolynomialJets (phaseDomain s) χ) | |
| 1786 | - (hmap : ∀ n x, x ∈ s.domain → (χ n x).1 ∈ D.carrier n) | |
| 1787 | - (hslot : ∀ n x, x ∈ s.domain → p.L n * (χ n x).2 ∈ p.V n) | |
| 1788 | - {P : ℕ → E → ℝ} {a : ℕ → E → HarmonicCalculus.ComplexVector} | |
| 1789 | - (ha : WaveClass s P (1 / 2) a) {κ : ℝ} (hκ : 0 ≤ κ) | |
| 1790 | - {R : E → ℝ} {Vr Vθ Vz : ℕ → E → E} {harmonic : ℕ → ℤ} | |
| 1791 | - (hr : UnweightedClass s (-κ) Vr) (hθ : UnweightedClass s 0 Vθ) | |
| 1792 | - (hz : UnweightedClass s 1 Vz) (hR : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) | |
| 1793 | - (hharmonic : ∀ n, harmonic n ≠ 0) : | |
| 1794 | - WaveClass s P (1 - κ) | |
| 1795 | - (primaryCurlRemainder s (p.chartNormal χ) R Vr Vθ Vz harmonic a) := by | |
| 1796 | - obtain ⟨hn, hlo, hup⟩ := p.chartNormal_bounds χ hscale hχ hmap hslot | |
| 1797 | - exact primaryCurlRemainder_waveClass hn ha p.b_pos hlo hup hκ hr hθ hz hR hharmonic | |
| 1798 | - | |
| 1799 | 1619 | end PhaseCurl |
| 1800 | 1620 | |
| 1801 | 1621 | section CanonicalPulse |
| @@ -2020,46 +1840,6 @@ theorem primaryWave_eq_cutoff (s : StripData E) | ||
| 2020 | 1840 | simp only [primaryWave, uncutPrimaryWave, primaryCoefficient, cutoffPulse, map_smul, |
| 2021 | 1841 | smul_smul, mul_comm] |
| 2022 | 1842 | |
| 2023 | -/-- The same quantitative estimate before applying the external Gaussian | |
| 2024 | -slot cutoff. This is the class used for the homogeneous principal equation. -/ | |
| 2025 | -theorem uncutPrimaryWave_waveClass | |
| 2026 | - (s : StripData E) (D : PhaseJetBounds.Domain ℕ Q) | |
| 2027 | - (pref : Fin 2 → ℕ → ℝ) (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) | |
| 2028 | - (lam u L : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Q × ℝ) | |
| 2029 | - (T : ℕ → E → SmoothCovariance.Vec2) (mask : ℕ → E → ℝ) | |
| 2030 | - (hscale : ∀ n, D.scale n = s.slow n) | |
| 2031 | - (hχ : PhaseJetBounds.PolynomialJets (phaseDomain s) χ) | |
| 2032 | - (hmap : ∀ n x, x ∈ s.domain → (χ n x) ∈ D.carrier n ×ˢ Ioo (0 : ℝ) 1) | |
| 2033 | - (hpref : ∀ c, PhaseJetBounds.PolynomialJets D (fun n _ => pref c n)) | |
| 2034 | - (hpulse : ∀ c, EnvelopeJets | |
| 2035 | - (productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) | |
| 2036 | - (fun n z => referenceP (lam c n) (u c n) (L c n) (L c n * z.2)) | |
| 2037 | - (fun n => normalizedPulse (d c n) (lam c n) (u c n) (L c n))) | |
| 2038 | - (hlam : ∀ c n, 0 < lam c n) (hu : ∀ c n, 0 < u c n) (hL : ∀ c n, 0 < L c n) | |
| 2039 | - (hT : ∀ i, MeanClass s 0 (fun n x => T n x i)) | |
| 2040 | - (hmask : PhaseJetBounds.PolynomialJets (phaseDomain s) mask) | |
| 2041 | - {b M a : ℝ} (hb : 0 < b) (hM : 1 ≤ M) (ha : 0 < a) | |
| 2042 | - (hdet : ∀ n x, x ∈ s.domain → | |
| 2043 | - b ≤ |(normalizedMatrix (Real.sqrt (s.slow n)) (chartCovariance pref d lam u L χ n x)).det|) | |
| 2044 | - (hentry : ∀ n x, x ∈ s.domain → ∀ i j, | |
| 2045 | - |Real.sqrt (s.slow n) * chartCovariance pref d lam u L χ n x i j| ≤ M) | |
| 2046 | - (hζ : ∀ x, x ∈ s.domain → 0 < s.zeta x) | |
| 2047 | - (hlower : ∀ n x, x ∈ s.domain → ∀ j, | |
| 2048 | - a * s.zeta x ≤ SmoothCovariance.weights (chartCovariance pref d lam u L χ n x) (T n x) j) | |
| 2049 | - (c : Fin 2) : | |
| 2050 | - WaveClass s (fun n x => referenceP (lam c n) (u c n) (L c n) (L c n * (χ n x).2)) | |
| 2051 | - (1 / 2) (uncutPrimaryWave s pref d lam u L χ T mask c) := by | |
| 2052 | - have hH (i j : Fin 2) : PhaseJetBounds.PolynomialJets (phaseDomain s) | |
| 2053 | - (fun n x => chartCovariance pref d lam u L χ n x i j) := by | |
| 2054 | - apply ((EnvelopeJets.of_polynomial | |
| 2055 | - (primaryCovariance_entry_polynomial D pref d lam u L hpref hpulse hlam hu hL i j)).comp | |
| 2056 | - (hχ.clm (ContinuousLinearMap.fst ℝ Q ℝ)) hscale (fun n x hx => (hmap n x hx).1)).to_polynomial | |
| 2057 | - intro n x hx | |
| 2058 | - rfl | |
| 2059 | - have hp := (hpulse c).comp hχ hscale hmap | |
| 2060 | - have hv := hp.memClass s (fun _ => rfl) (fun _ => rfl) | |
| 2061 | - exact primaryCoefficient_waveClass hH hT hmask hv hb hM ha hdet hentry hζ hlower c | |
| 2062 | - | |
| 2063 | 1843 | end CutoffFactorization |
| 2064 | 1844 | |
| 2065 | 1845 | end NavierStokes.PrimaryPulseBounds |
+0 −87 NavierStokes/PrimaryRepresentatives.lean View file
| @@ -41,10 +41,6 @@ theorem position_smooth : ContDiff ℝ ∞ position := by | ||
| 41 | 41 | · exact contDiff_snd.fst |
| 42 | 42 | · exact contDiff_snd.snd |
| 43 | 43 | |
| 44 | -theorem slow_smooth : ContDiff ℝ ∞ slow := | |
| 45 | - (contDiff_apply ℝ ℝ 0).prodMk | |
| 46 | - ((contDiff_apply ℝ ℝ 1).prodMk (contDiff_apply ℝ ℝ 2)) | |
| 47 | - | |
| 48 | 44 | theorem norm_slow_sub_le {x y : Position} {c : ℝ} |
| 49 | 45 | (h : ∀ j, |x j - y j| ≤ c) : ‖slow x - slow y‖ ≤ c := by |
| 50 | 46 | change max |x 0 - y 0| (max |x 1 - y 1| |x 2 - y 2|) ≤ c |
| @@ -127,26 +123,6 @@ theorem width_eq_scaled_spacing (D : ℝ) (n : ℕ) (j : Fin 3) : | ||
| 127 | 123 | rw [SlotColoring.spacing_eq_scaled_mesh] |
| 128 | 124 | simp only [ChartScales.Q, SquaredPartition.nativeSpacing, ChartScales.S, one_div] |
| 129 | 125 | |
| 130 | -theorem physicalBox_normalizes (D : ℝ) (L : SlotColoring.Label) {x : Position} | |
| 131 | - (hx : x ∈ SlotColoring.physicalBox D L) : | |
| 132 | - normalizedSlow D L.1 x ∈ gridBox L.1 L.2.1 2 := by | |
| 133 | - intro j | |
| 134 | - have hp : 0 < ChartScales.Q L.1 ^ SlotColoring.axisExponent D j := | |
| 135 | - Real.rpow_pos_of_pos (ChartScales.Q_pos _) _ | |
| 136 | - have he : position (normalizedSlow D L.1 x) j - | |
| 137 | - SquaredPartition.nativeSpacing L.1 * (L.2.1 j : ℝ) = | |
| 138 | - (x j - SlotColoring.width D j L.1 * (L.2.1 j : ℝ)) / | |
| 139 | - (ChartScales.Q L.1 ^ SlotColoring.axisExponent D j) := by | |
| 140 | - simp only [normalizedSlow, position_slow, SquaredPartition.slowCoordinates, | |
| 141 | - width_eq_scaled_spacing] | |
| 142 | - field_simp | |
| 143 | - rw [he, abs_div, abs_of_pos hp] | |
| 144 | - apply (div_le_iff₀ hp).mpr | |
| 145 | - have hj := hx j | |
| 146 | - rw [width_eq_scaled_spacing] at hj | |
| 147 | - rw [width_eq_scaled_spacing] | |
| 148 | - nlinarith | |
| 149 | - | |
| 150 | 126 | theorem physicalMask_nativeMask (D : ℝ) (L : Label) (q : ℝ) (x : Position) : |
| 151 | 127 | PartitionedCovariance.mask D L q x = SquaredPartition.dyadicMask (L.1 : ℤ) q * |
| 152 | 128 | nativeMask L.1 L.2 (normalizedSlow D L.1 x) := by |
| @@ -173,18 +149,6 @@ theorem grid_mesh_tendsto_zero : | ||
| 173 | 149 | hS.inv_tendsto_atTop |
| 174 | 150 | simpa only [div_eq_mul_inv, mul_zero] using hi.const_mul (3 : ℝ) |
| 175 | 151 | |
| 176 | -/-- All enlarged boxes of active sufficiently fine labels lie in a single | |
| 177 | -prescribed open base-control chart. -/ | |
| 178 | -theorem enlarged_eventually_in_chart {K U : Set Slow} (hK : IsCompact K) | |
| 179 | - (hU : IsOpen U) (hKU : K ⊆ U) : | |
| 180 | - ∃ N : ℕ, ∀ L : ActiveLabel K, N ≤ L.val.1 → gridBox L.val.1 L.val.2 2 ⊆ U := by | |
| 181 | - obtain ⟨r, hr, hsub⟩ := hK.exists_cthickening_subset_open hU hKU | |
| 182 | - obtain ⟨N, hN⟩ := eventually_atTop.mp ((tendsto_order.1 grid_mesh_tendsto_zero).2 r hr) | |
| 183 | - refine ⟨N, fun L hL q hq => hsub ?_⟩ | |
| 184 | - apply Metric.mem_cthickening_of_dist_le q (representative K L) r K (representative_mem K L) | |
| 185 | - simpa only [dist_eq_norm] using | |
| 186 | - (representative_enlarged_distance K L hq).trans (hN _ hL).le | |
| 187 | - | |
| 188 | 152 | /-! ## Reference frame and exact unstable-mode parameters -/ |
| 189 | 153 | |
| 190 | 154 | noncomputable def normalDirection (g : Plane) : Plane := ‖g‖⁻¹ • g |
| @@ -253,11 +217,6 @@ theorem ReferenceCone.coupling_neg {F : ℝ} {g : Plane} (h : ReferenceCone F g) | ||
| 253 | 217 | exact div_neg_of_neg_of_pos (mul_neg_of_pos_of_neg (by linarith [h.frequency_pos]) h.theta_neg) |
| 254 | 218 | (norm_pos_iff.mpr h.shear_ne_zero) |
| 255 | 219 | |
| 256 | -theorem ReferenceCone.normalDirection_theta_neg {F : ℝ} {g : Plane} (h : ReferenceCone F g) : | |
| 257 | - normalDirection g 0 < 0 := by | |
| 258 | - rw [normalDirection_theta] | |
| 259 | - exact div_neg_of_neg_of_pos h.theta_neg (norm_pos_iff.mpr h.shear_ne_zero) | |
| 260 | - | |
| 261 | 220 | theorem ReferenceCone.coupling_add_norm_pos {F : ℝ} {g : Plane} (h : ReferenceCone F g) : |
| 262 | 221 | 0 < coupling F g + ‖g‖ := by |
| 263 | 222 | have hg := norm_pos_iff.mpr h.shear_ne_zero |
| @@ -398,14 +357,6 @@ theorem ParameterBounds.positive_lower {M R F : ℝ} {g : Plane} | ||
| 398 | 357 | reciprocal_lower hM0 hc.lambda0_pos h.lambda_inv, |
| 399 | 358 | reciprocal_lower hM0 (abs_pos.mpr hc.c0_neg.ne) h.ratio_inv⟩ |
| 400 | 359 | |
| 401 | -theorem representative_parameter_bounds {K : Set Slow} (hK : IsCompact K) | |
| 402 | - {F : Slow → ℝ} {g : Slow → Plane} (hF : ContinuousOn F K) (hg : ContinuousOn g K) | |
| 403 | - (hR : ∀ q ∈ K, 0 < q.1) (hc : ∀ q ∈ K, ReferenceCone (F q) (g q)) : | |
| 404 | - ∃ M : ℝ, 1 ≤ M ∧ ∀ L : ActiveLabel K, | |
| 405 | - ParameterBounds M (representative K L).1 (F (representative K L)) (g (representative K L)) := by | |
| 406 | - obtain ⟨M, hM, hb⟩ := compact_parameter_bounds hK hF hg hR hc | |
| 407 | - exact ⟨M, hM, fun L => hb _ (representative_mem K L)⟩ | |
| 408 | - | |
| 409 | 360 | /-! ## A fixed compact set from the actual normalized similarity range -/ |
| 410 | 361 | |
| 411 | 362 | /-- Normalized active points, including the limiting time face `T = 0`. -/ |
| @@ -473,9 +424,6 @@ noncomputable def baseChart (a b : ℝ) : Set Slow := | ||
| 473 | 424 | theorem baseChart_open (a b : ℝ) : IsOpen (baseChart a b) := |
| 474 | 425 | isOpen_Ioo.prod (isOpen_Ioo.prod isOpen_Ioo) |
| 475 | 426 | |
| 476 | -theorem baseChart_convex (a b : ℝ) : Convex ℝ (baseChart a b) := | |
| 477 | - (convex_Ioo _ _).prod ((convex_Ioo _ _).prod (convex_Ioo _ _)) | |
| 478 | - | |
| 479 | 427 | theorem referenceCompact_subset_baseChart {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h < 1 / 2) |
| 480 | 428 | (ha : 0 < a) (hab : a ≤ b) : referenceCompact h a b ⊆ baseChart a b := by |
| 481 | 429 | intro q hq |
| @@ -485,13 +433,6 @@ theorem referenceCompact_subset_baseChart {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h | ||
| 485 | 433 | ⟨⟨by linarith [hZ.1], by linarith [hZ.2]⟩, |
| 486 | 434 | ⟨by linarith [hT.1], by linarith [hT.2]⟩⟩⟩ |
| 487 | 435 | |
| 488 | -theorem reference_enlarged_eventually_in_chart {h a b : ℝ} (hh : 0 ≤ h) | |
| 489 | - (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a ≤ b) : | |
| 490 | - ∃ N : ℕ, ∀ L : ActiveLabel (referenceCompact h a b), N ≤ L.val.1 → | |
| 491 | - gridBox L.val.1 L.val.2 2 ⊆ baseChart a b := | |
| 492 | - enlarged_eventually_in_chart (referenceCompact_isCompact hh hh1 ha hab) | |
| 493 | - (baseChart_open a b) (referenceCompact_subset_baseChart hh hh1 ha hab) | |
| 494 | - | |
| 495 | 436 | theorem normalizedSlow_coordinates (D : ℝ) (n : ℕ) (x : Position) : |
| 496 | 437 | normalizedSlow D n x = |
| 497 | 438 | (x 0 / ChartScales.Q n ^ (1 / 2 : ℝ), (x 1 / ChartScales.Q n ^ D, x 2 / ChartScales.Q n)) := by |
| @@ -539,15 +480,6 @@ theorem physicalMask_normalized_mem {h a b : ℝ} (L : Label) {q : ℝ} {x : Pos | ||
| 539 | 480 | q / ChartScales.Q L.1, hqn, hnormeq, ?_⟩ |
| 540 | 481 | simpa only [hratio] using hX |
| 541 | 482 | |
| 542 | -theorem physicalMask_has_representative {h a b : ℝ} (L : Label) (hL : 1 ≤ L.1) | |
| 543 | - {q : ℝ} {x : Position} (hq : 0 < q) (hR : 0 ≤ x 0) (hT : 0 ≤ x 2) | |
| 544 | - (he : SimilarityCoordinates.forwardScalar (2 * h) (x 1) q = x 2) | |
| 545 | - (hX : x 0 ^ 2 / (2 * q) ∈ Icc a b) | |
| 546 | - (hm : PartitionedCovariance.mask (CoordinateAlgebra.D h) L q x ≠ 0) : | |
| 547 | - ∃ A : ActiveLabel (referenceCompact h a b), A.val = L := | |
| 548 | - physicalMask_active (referenceCompact h a b) (CoordinateAlgebra.D h) L hL | |
| 549 | - (physicalMask_normalized_mem L hq hR hT he hX hm) hm | |
| 550 | - | |
| 551 | 483 | /-! ## One target-direction parameter, with uniform mixed-point slack -/ |
| 552 | 484 | |
| 553 | 485 | noncomputable def targetRatio (F : ℝ) (g T : Plane) : ℝ := |
| @@ -690,25 +622,6 @@ theorem compact_mixed_target {K : Set Slow} (hK : IsCompact K) | ||
| 690 | 622 | apply (div_lt_iff₀ (neg_pos.mpr hneg)).mpr |
| 691 | 623 | exact sub_pos.mp (hpb q₀ h₀ q hq (hdist.trans_le (min_le_right _ _))) |
| 692 | 624 | |
| 693 | -/-- A single `u` works for the actual selected representatives and every | |
| 694 | -active target point in the enlarged boxes of all sufficiently fine labels. -/ | |
| 695 | -theorem representative_target_choice {K : Set Slow} (hK : IsCompact K) | |
| 696 | - {F : Slow → ℝ} {g T : Slow → Plane} | |
| 697 | - (hF : ContinuousOn F K) (hg : ContinuousOn g K) (hT : ContinuousOn T K) | |
| 698 | - (hc : ∀ q ∈ K, ReferenceCone (F q) (g q)) | |
| 699 | - (ht : ∀ q ∈ K, TargetCone (F q) (g q) (T q)) : | |
| 700 | - ∃ u : ℝ, 0 < u ∧ ∃ N : ℕ, ∀ L : ActiveLabel K, N ≤ L.val.1 → | |
| 701 | - ∀ q ∈ K, q ∈ gridBox L.val.1 L.val.2 2 → | |
| 702 | - ⟪T q, normalDirection (g (representative K L))⟫_ℝ < 0 ∧ | |
| 703 | - |c0 (F (representative K L)) (g (representative K L)) * | |
| 704 | - ⟪T q, transverseDirection (g (representative K L))⟫_ℝ / | |
| 705 | - ⟪T q, normalDirection (g (representative K L))⟫_ℝ| < slopeRatio u := by | |
| 706 | - obtain ⟨u, δ, hu, hδ, hb⟩ := compact_mixed_target hK hF hg hT hc ht | |
| 707 | - obtain ⟨N, hN⟩ := eventually_atTop.mp ((tendsto_order.1 grid_mesh_tendsto_zero).2 δ hδ) | |
| 708 | - refine ⟨u, hu, N, fun L hL q hq hbox => hb _ (representative_mem K L) q hq ?_⟩ | |
| 709 | - simpa only [dist_eq_norm] using | |
| 710 | - (representative_enlarged_distance K L hbox).trans_lt (hN _ hL) | |
| 711 | - | |
| 712 | 625 | /-- The mixed-point cone has a positive numerical margin independent of |
| 713 | 626 | both points. The single selected `u` is strictly above the supremum. -/ |
| 714 | 627 | theorem compact_mixed_target_margin {K : Set Slow} (hK : IsCompact K) |
+0 −7 NavierStokes/PrimaryResidualClass.lean View file
| @@ -264,13 +264,6 @@ theorem primary_bounds : (primaryBlock s c a ψ kp).WaveBounds s P (1 / 2) := by | ||
| 264 | 264 | exact SignedWaveUpdate.conjugatePair_class |
| 265 | 265 | (wave_slice (h.corrected_bounds.amplitude i)) j |
| 266 | 266 | |
| 267 | -theorem primary_pressure : (primaryBlock s c a ψ kp).PressureBounds s P 1 := by | |
| 268 | - intro j _ | |
| 269 | - have hp := SignedWaveUpdate.conjugatePair_class | |
| 270 | - (wave_slice h.corrected_bounds.pressure) j | |
| 271 | - simp only [show (1 / 2 : ℝ) + 1 / 2 = 1 by norm_num] at hp | |
| 272 | - exact hp | |
| 273 | - | |
| 274 | 267 | theorem exact_conditions : LinearWaveBounds.ExactConditions (HarmonicWaveInteraction.productStrip s) |
| 275 | 268 | (directions c) (corrected s c a ψ) := |
| 276 | 269 | exactConditions_corrected_of_invariants ψ h.phase_smooth |
+0 −40 NavierStokes/PrimaryTargetBounds.lean View file
| @@ -469,16 +469,6 @@ noncomputable def familyCovariance (vr vt : TorusInverse.Plane) | ||
| 469 | 469 | (fun j => (a j).frame) (fun j => (a j).lam) (fun _ _ => u) |
| 470 | 470 | (fun j => (a j).length) i p |
| 471 | 471 | |
| 472 | -theorem familyCovariance_eq_native (vr vt : TorusInverse.Plane) | |
| 473 | - (a : Fin 2 → FamilyData D h r0 u M) (hc : CompatiblePair a) (i : ι) (p : Slow) : | |
| 474 | - familyCovariance vr vt a i p = nativePrimaryCovariance vr vt r0 h | |
| 475 | - (fun j _ => (a j).frame i) (fun j _ => (a j).lam i) (fun _ _ => u) | |
| 476 | - ((a 0).band i) p := by | |
| 477 | - unfold familyCovariance nativePrimaryCovariance PrimaryPulseBounds.primaryCovariance | |
| 478 | - ext r c | |
| 479 | - change _ * _ = _ * _ | |
| 480 | - simp only [FamilyData.length, hc.band] | |
| 481 | - | |
| 482 | 472 | /-- Uniform finite-matrix bounds follow from the actual constructed |
| 483 | 473 | phases and their ODEs. The model point only records the common |
| 484 | 474 | representative and a unit target direction. -/ |
| @@ -912,36 +902,6 @@ theorem targetAmplitude_lower_all (hcone : LeadingStressWeights.FullTrueCone v) | ||
| 912 | 902 | rw [movingWeight_eq W hp.2 hp'.radius, weight_zero_of_not_active W hx, mul_zero] |
| 913 | 903 | exact targetAmplitude_nonneg v hp.2 |
| 914 | 904 | |
| 915 | -/-- The chart target at its own band is exactly the actual leading | |
| 916 | -stress times the residual scalar coordinate. -/ | |
| 917 | -theorem covarianceTarget_eq_actual {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) | |
| 918 | - (N : ℕ) (U : PartitionedCovariance.UnsignedLabel) : | |
| 919 | - FinalSlowBase.covarianceTarget H v | |
| 920 | - (ChartScales.Q (U.1+N) * (BaseChartJets.normalizedCoordinates F.data.h p).1) N U p = | |
| 921 | - actualTarget v p := by | |
| 922 | - have hq := BaseChartJets.normalizedCoordinates_q_pos F.data.h_pos F.data.h_lt_half hT | |
| 923 | - have hX := ProfileSpectralCone.normalized_X_pos F.data.h_pos F.data.h_lt_half hT hR | |
| 924 | - have heta := (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half hT).le | |
| 925 | - have he := EntranceAlignedBase.modulated_leading_stress_eq H v hX.le heta | |
| 926 | - have hdiv : ChartScales.Q (U.1+N) / | |
| 927 | - (ChartScales.Q (U.1+N) * (BaseChartJets.normalizedCoordinates F.data.h p).1) = | |
| 928 | - ((BaseChartJets.normalizedCoordinates F.data.h p).1)⁻¹ := by | |
| 929 | - field_simp [(ChartScales.Q_pos (U.1+N)).ne'] | |
| 930 | - have hfactor : (ChartScales.Q (U.1+N) / | |
| 931 | - (ChartScales.Q (U.1+N) * (BaseChartJets.normalizedCoordinates F.data.h p).1)) ^ | |
| 932 | - (PartitionedCovariance.velocityExponent F.data.h + 1/2) = | |
| 933 | - (BaseChartJets.normalizedCoordinates F.data.h p).1 ^ (-CoordinateAlgebra.A F.data.h - 1/2) := by | |
| 934 | - rw [hdiv, Real.inv_rpow hq.le, ← Real.rpow_neg hq.le] | |
| 935 | - congr 1 | |
| 936 | - unfold PartitionedCovariance.velocityExponent CoordinateAlgebra.A | |
| 937 | - ring | |
| 938 | - ext k | |
| 939 | - fin_cases k <;> | |
| 940 | - simp [FinalSlowBase.covarianceTarget, PartitionedCovariance.chartTarget, | |
| 941 | - actualTarget, ProfileSpectralCone.stressVector, FinalSlowBase.coefficients, | |
| 942 | - he.1, he.2, PiLp.smul_apply, smul_eq_mul] <;> | |
| 943 | - exact Or.inl (by simpa only [one_div] using hfactor) | |
| 944 | - | |
| 945 | 905 | end ActualTarget |
| 946 | 906 | |
| 947 | 907 | section FinalBounds |
+0 −384 NavierStokes/TerminalCompensation.lean View file
| @@ -56,12 +56,6 @@ noncomputable def bump (P : Patch) (j : Fin 3) : ℝ → ℝ := | ||
| 56 | 56 | theorem bump_contDiff (P : Patch) (j : Fin 3) : ContDiff ℝ ∞ (bump P j) := |
| 57 | 57 | LocalizedMomentRepair.bump_contDiff _ _ |
| 58 | 58 | |
| 59 | -theorem bump_nonneg (P : Patch) (j : Fin 3) (x : ℝ) : 0 ≤ bump P j x := | |
| 60 | - LocalizedMomentRepair.bump_nonneg _ _ _ | |
| 61 | - | |
| 62 | -theorem bump_le_one (P : Patch) (j : Fin 3) (x : ℝ) : bump P j x ≤ 1 := | |
| 63 | - LocalizedMomentRepair.bump_le_one _ _ _ | |
| 64 | - | |
| 65 | 59 | theorem bump_tsupport (P : Patch) (j : Fin 3) : |
| 66 | 60 | tsupport (bump P j) ⊆ Ioo (lower P j) (upper P j) := |
| 67 | 61 | LocalizedMomentRepair.bump_tsupport_subset_open _ _ (lower_lt_upper P j) |
| @@ -127,10 +121,6 @@ theorem correction_tsupport (P : Patch) (c : Coeff) : | ||
| 127 | 121 | obtain ⟨j, hj⟩ := mem_iUnion.mp hm |
| 128 | 122 | exact ⟨(lower_gt_left P j).trans hj.1, hj.2.trans (upper_lt_right P j)⟩ |
| 129 | 123 | |
| 130 | -theorem correction_hasCompactSupport (P : Patch) (c : Coeff) : | |
| 131 | - HasCompactSupport (correction P c) := | |
| 132 | - HasCompactSupport.of_support_subset_isCompact isCompact_Icc (correction_support P c) | |
| 133 | - | |
| 134 | 124 | theorem weighted_integrable (P : Patch) (s : ℝ) (g : ℝ → ℝ) |
| 135 | 125 | (hg : Continuous g) (hs : support g ⊆ Icc P.left P.right) : |
| 136 | 126 | Integrable (fun x => x ^ s * g x) := by |
| @@ -464,14 +454,6 @@ noncomputable def correctionCLM (P : Patch) (x : ℝ) : Coeff →L[ℝ] ℝ := | ||
| 464 | 454 | simp only [correction, Pi.smul_apply, smul_eq_mul, mul_assoc, Finset.mul_sum, |
| 465 | 455 | RingHom.id_apply] } |
| 466 | 456 | |
| 467 | -theorem correctionCLM_apply (P : Patch) (x : ℝ) (c : Coeff) : | |
| 468 | - correctionCLM P x c = correction P c x := rfl | |
| 469 | - | |
| 470 | -theorem correction_parameter_deriv (P : Patch) {c : ℝ → Coeff} {η : ℝ} | |
| 471 | - (hc : DifferentiableAt ℝ c η) (x : ℝ) : | |
| 472 | - deriv (fun s => correction P (c s) x) η = correction P (deriv c η) x := | |
| 473 | - ((correctionCLM P x).hasFDerivAt.comp_hasDerivAt η hc.hasDerivAt).deriv | |
| 474 | - | |
| 475 | 457 | theorem correction_family_contDiffOn (P : Patch) {U : Set ℝ} {c : ℝ → Coeff} |
| 476 | 458 | (hc : ContDiffOn ℝ ∞ c U) : |
| 477 | 459 | ContDiffOn ℝ ∞ (fun z : ℝ × ℝ => correction P (c z.1) z.2) (U ×ˢ univ) := by |
| @@ -480,20 +462,6 @@ theorem correction_family_contDiffOn (P : Patch) {U : Set ℝ} {c : ℝ → Coef | ||
| 480 | 462 | exact ((contDiffOn_pi.mp hc j).comp contDiffOn_fst (fun z hz => hz.1)).mul |
| 481 | 463 | ((bump_contDiff P j).comp_contDiffOn contDiffOn_snd) |
| 482 | 464 | |
| 483 | -/-- Composition with the debt gives the true parameter derivative, with no | |
| 484 | -regularity hypothesis on a previously chosen solution branch. -/ | |
| 485 | -theorem composed_solver_deriv_bound {g : Coeff → Coeff} {ε C : ℝ} | |
| 486 | - (hg : ContDiffOn ℝ ∞ g (Metric.ball 0 ε)) | |
| 487 | - (hbound : ∀ v ∈ Metric.ball (0 : Coeff) ε, ‖fderiv ℝ g v‖ ≤ C) | |
| 488 | - {d : ℝ → Coeff} {η : ℝ} (hd : DifferentiableAt ℝ d η) | |
| 489 | - (hmem : d η ∈ Metric.ball (0 : Coeff) ε) : | |
| 490 | - ‖deriv (g ∘ d) η‖ ≤ C * ‖deriv d η‖ := by | |
| 491 | - have hgd := (hg.contDiffAt (Metric.isOpen_ball.mem_nhds hmem)).differentiableAt | |
| 492 | - (by simp : (∞ : WithTop ℕ∞) ≠ 0) | |
| 493 | - rw [(hgd.hasFDerivAt.comp_hasDerivAt η hd.hasDerivAt).deriv] | |
| 494 | - exact ((fderiv ℝ g (d η)).le_opNorm _).trans | |
| 495 | - (mul_le_mul_of_nonneg_right (hbound (d η) hmem) (norm_nonneg _)) | |
| 496 | - | |
| 497 | 465 | /-- The physical profile uses the actual additive bumps at scale `R`. -/ |
| 498 | 466 | noncomputable def physicalProfile (P : Patch) (lam R a : ℝ) (c : Coeff) (X : ℝ) : ℝ := |
| 499 | 467 | a * (baseProfile lam (X / R) + correction P c (X / R)) |
| @@ -606,55 +574,6 @@ theorem amplitudeFactors_contDiffOn {U : Set ℝ} {a : ℝ → ℝ} | ||
| 606 | 574 | · exact (contDiffOn_const.mul (ha.pow 2)).inv (fun η hη => by have := hpos η hη; positivity) |
| 607 | 575 | · exact ha.inv (fun η hη => (hpos η hη).ne') |
| 608 | 576 | |
| 609 | -theorem amplitudeDebt_contDiffOn {U : Set ℝ} {a : ℝ → ℝ} | |
| 610 | - (ha : ContDiffOn ℝ ∞ a U) (hpos : ∀ η ∈ U, 0 < a η) (v : Coeff) : | |
| 611 | - ContDiffOn ℝ ∞ (fun η => amplitudeDebt (a η) v) U := | |
| 612 | - ((amplitudeFactors_contDiffOn ha hpos).mul contDiffOn_const).neg | |
| 613 | - | |
| 614 | -theorem compact_amplitude_bounds {U S : Set ℝ} (hU : IsOpen U) (hS : IsCompact S) | |
| 615 | - (hSU : S ⊆ U) {a : ℝ → ℝ} (ha : ContDiffOn ℝ ∞ a U) | |
| 616 | - (hpos : ∀ η ∈ U, 0 < a η) : | |
| 617 | - ∃ D : ℝ, 0 < D ∧ ∀ η ∈ S, | |
| 618 | - ‖amplitudeFactors (a η)‖ ≤ D ∧ | |
| 619 | - ‖deriv (fun θ => amplitudeFactors (a θ)) η‖ ≤ D ∧ | |
| 620 | - |a η| ≤ D ∧ |deriv a η| ≤ D := by | |
| 621 | - have hF := amplitudeFactors_contDiffOn ha hpos | |
| 622 | - have hFd : ContDiffOn ℝ ∞ (deriv (fun θ => amplitudeFactors (a θ))) U := | |
| 623 | - hF.deriv_of_isOpen hU (by simp) | |
| 624 | - have had : ContDiffOn ℝ ∞ (deriv a) U := ha.deriv_of_isOpen hU (by simp) | |
| 625 | - obtain ⟨B₀, hb₀⟩ := hS.exists_bound_of_continuousOn (hF.continuousOn.mono hSU) | |
| 626 | - obtain ⟨B₁, hb₁⟩ := hS.exists_bound_of_continuousOn (hFd.continuousOn.mono hSU) | |
| 627 | - obtain ⟨B₂, hb₂⟩ := hS.exists_bound_of_continuousOn (ha.continuousOn.mono hSU) | |
| 628 | - obtain ⟨B₃, hb₃⟩ := hS.exists_bound_of_continuousOn (had.continuousOn.mono hSU) | |
| 629 | - let D : ℝ := 1 + |B₀| + |B₁| + |B₂| + |B₃| | |
| 630 | - have hD₀ : B₀ ≤ D := by dsimp [D]; linarith [le_abs_self B₀, abs_nonneg B₁, abs_nonneg B₂, abs_nonneg B₃] | |
| 631 | - have hD₁ : B₁ ≤ D := by dsimp [D]; linarith [le_abs_self B₁, abs_nonneg B₀, abs_nonneg B₂, abs_nonneg B₃] | |
| 632 | - have hD₂ : B₂ ≤ D := by dsimp [D]; linarith [le_abs_self B₂, abs_nonneg B₀, abs_nonneg B₁, abs_nonneg B₃] | |
| 633 | - have hD₃ : B₃ ≤ D := by dsimp [D]; linarith [le_abs_self B₃, abs_nonneg B₀, abs_nonneg B₁, abs_nonneg B₂] | |
| 634 | - refine ⟨D, by dsimp [D]; positivity, fun η hη => ⟨(hb₀ η hη).trans hD₀, | |
| 635 | - (hb₁ η hη).trans hD₁, ?_, ?_⟩⟩ | |
| 636 | - · exact (hb₂ η hη).trans hD₂ | |
| 637 | - · exact (hb₃ η hη).trans hD₃ | |
| 638 | - | |
| 639 | -theorem amplitudeDebt_bounds {U S : Set ℝ} (hU : IsOpen U) (hSU : S ⊆ U) | |
| 640 | - {a : ℝ → ℝ} (ha : ContDiffOn ℝ ∞ a U) (hpos : ∀ η ∈ U, 0 < a η) | |
| 641 | - {D : ℝ} (hD : ∀ η ∈ S, ‖amplitudeFactors (a η)‖ ≤ D ∧ | |
| 642 | - ‖deriv (fun θ => amplitudeFactors (a θ)) η‖ ≤ D) | |
| 643 | - (v : Coeff) {η : ℝ} (hη : η ∈ S) : | |
| 644 | - ‖amplitudeDebt (a η) v‖ ≤ D * ‖v‖ ∧ | |
| 645 | - ‖deriv (fun θ => amplitudeDebt (a θ) v) η‖ ≤ D * ‖v‖ := by | |
| 646 | - have hF : DifferentiableAt ℝ (fun θ => amplitudeFactors (a θ)) η := | |
| 647 | - ((amplitudeFactors_contDiffOn ha hpos).contDiffAt (hU.mem_nhds (hSU hη))).differentiableAt | |
| 648 | - (by simp : (∞ : WithTop ℕ∞) ≠ 0) | |
| 649 | - constructor | |
| 650 | - · dsimp [amplitudeDebt] | |
| 651 | - rw [norm_neg] | |
| 652 | - exact (norm_mul_le _ _).trans (mul_le_mul_of_nonneg_right (hD η hη).1 (norm_nonneg v)) | |
| 653 | - · simp only [amplitudeDebt] | |
| 654 | - rw [((hF.hasDerivAt.mul_const v).fun_neg).deriv] | |
| 655 | - rw [norm_neg] | |
| 656 | - exact (norm_mul_le _ _).trans (mul_le_mul_of_nonneg_right (hD η hη).2 (norm_nonneg v)) | |
| 657 | - | |
| 658 | 577 | /-- The value, normalized radial derivative, and parameter derivative of the |
| 659 | 578 | actual additive profile perturbation are all small. -/ |
| 660 | 579 | noncomputable def FirstJetBound (P : Patch) (a : ℝ → ℝ) (c : ℝ → Coeff) |
| @@ -663,108 +582,6 @@ noncomputable def FirstJetBound (P : Patch) (a : ℝ → ℝ) (c : ℝ → Coeff | ||
| 663 | 582 | |a η * deriv (correction P (c η)) x| ≤ L ∧ |
| 664 | 583 | |deriv (fun θ => a θ * correction P (c θ) x) η| ≤ L |
| 665 | 584 | |
| 666 | -/-- One debt threshold and one first-jet constant work on the entire compact | |
| 667 | -parameter range. Both are independent of the physical radial scale. -/ | |
| 668 | -theorem exists_uniform_parameter_compensation (P : Patch) (lam : ℝ) (hlam : 0 ≤ lam) | |
| 669 | - {U S : Set ℝ} (hU : IsOpen U) (hS : IsCompact S) (hSU : S ⊆ U) | |
| 670 | - (a : ℝ → ℝ) (ha : ContDiffOn ℝ ∞ a U) (hpos : ∀ η ∈ U, 0 < a η) : | |
| 671 | - ∃ ε C : ℝ, 0 < ε ∧ 0 < C ∧ ∀ v : Coeff, ‖v‖ < ε → | |
| 672 | - ∃ (c : ℝ → Coeff) (V : Set ℝ), | |
| 673 | - IsOpen V ∧ S ⊆ V ∧ V ⊆ U ∧ ContDiffOn ℝ ∞ c V ∧ | |
| 674 | - ∀ η ∈ S, momentMap P lam (c η) = amplitudeDebt (a η) v ∧ | |
| 675 | - ‖c η‖ ≤ C * ‖v‖ ∧ ‖deriv c η‖ ≤ C * ‖v‖ ∧ | |
| 676 | - FirstJetBound P a c η (C * ‖v‖) ∧ | |
| 677 | - ∀ x : ℝ, 0 < x → 0 < a η * (baseProfile lam x + correction P (c η) x) := by | |
| 678 | - obtain ⟨g, ε₀, C₀, hε₀, hC₀, hg, hg0, hspec⟩ := exists_normalized_compensation P lam hlam | |
| 679 | - obtain ⟨D, hD, hbounds⟩ := compact_amplitude_bounds hU hS hSU ha hpos | |
| 680 | - obtain ⟨J, hJ, hjet⟩ := correction_first_jet_bound P | |
| 681 | - let B : ℝ := C₀ * D | |
| 682 | - let T : ℝ := D * B + D * (J * B) | |
| 683 | - let C : ℝ := 1 + B + T | |
| 684 | - have hB : 0 < B := mul_pos hC₀ hD | |
| 685 | - have hT : 0 < T := by dsimp [T]; positivity | |
| 686 | - have hC : 0 < C := by dsimp [C]; positivity | |
| 687 | - have hBC : B ≤ C := by dsimp [C]; linarith | |
| 688 | - have hTC : T ≤ C := by dsimp [C]; linarith | |
| 689 | - have hDBC : D * B ≤ C := by dsimp [T] at hTC; nlinarith [mul_pos hD (mul_pos hJ hB)] | |
| 690 | - refine ⟨ε₀ / D, C, div_pos hε₀ hD, hC, ?_⟩ | |
| 691 | - intro v hv | |
| 692 | - let d : ℝ → Coeff := fun η => amplitudeDebt (a η) v | |
| 693 | - have hd : ContDiffOn ℝ ∞ d U := amplitudeDebt_contDiffOn ha hpos v | |
| 694 | - let V : Set ℝ := U ∩ d ⁻¹' Metric.ball 0 ε₀ | |
| 695 | - have hV : IsOpen V := hd.continuousOn.isOpen_inter_preimage hU Metric.isOpen_ball | |
| 696 | - have hd_bound : ∀ η ∈ S, ‖d η‖ ≤ D * ‖v‖ ∧ ‖deriv d η‖ ≤ D * ‖v‖ := by | |
| 697 | - intro η hη | |
| 698 | - exact amplitudeDebt_bounds hU hSU ha hpos | |
| 699 | - (fun η hη => ⟨(hbounds η hη).1, (hbounds η hη).2.1⟩) v hη | |
| 700 | - have hSV : S ⊆ V := by | |
| 701 | - intro η hη | |
| 702 | - refine ⟨hSU hη, ?_⟩ | |
| 703 | - change dist (d η) 0 < ε₀ | |
| 704 | - rw [dist_zero_right] | |
| 705 | - apply (hd_bound η hη).1.trans_lt | |
| 706 | - have ht := (lt_div_iff₀ hD).mp hv | |
| 707 | - simpa only [mul_comm] using ht | |
| 708 | - let c : ℝ → Coeff := g ∘ d | |
| 709 | - have hc : ContDiffOn ℝ ∞ c V := | |
| 710 | - hg.comp (hd.mono inter_subset_left) (fun η hη => hη.2) | |
| 711 | - refine ⟨c, V, hV, hSV, inter_subset_left, hc, ?_⟩ | |
| 712 | - intro η hη | |
| 713 | - have hηV := hSV hη | |
| 714 | - have hηU := hSU hη | |
| 715 | - have hm : d η ∈ Metric.ball (0 : Coeff) ε₀ := hηV.2 | |
| 716 | - have hval : ‖c η‖ ≤ B * ‖v‖ := by | |
| 717 | - exact ((hspec (d η) hm).2.1).trans | |
| 718 | - (by simpa only [B, mul_assoc] using mul_le_mul_of_nonneg_left (hd_bound η hη).1 hC₀.le) | |
| 719 | - have hdif : DifferentiableAt ℝ d η := | |
| 720 | - (hd.contDiffAt (hU.mem_nhds hηU)).differentiableAt (by simp) | |
| 721 | - have hcdif : DifferentiableAt ℝ c η := | |
| 722 | - (hc.contDiffAt (hV.mem_nhds hηV)).differentiableAt (by simp) | |
| 723 | - have hcderiv : ‖deriv c η‖ ≤ B * ‖v‖ := by | |
| 724 | - apply (composed_solver_deriv_bound hg (fun w hw => (hspec w hw).2.2.1) hdif hm).trans | |
| 725 | - simpa only [B, mul_assoc] using mul_le_mul_of_nonneg_left (hd_bound η hη).2 hC₀.le | |
| 726 | - have hcorr : ∀ x, |correction P (c η) x| ≤ B * ‖v‖ ∧ | |
| 727 | - |deriv (correction P (c η)) x| ≤ B * ‖v‖ := by | |
| 728 | - intro x | |
| 729 | - have hb : C₀ * ‖d η‖ ≤ B * ‖v‖ := by | |
| 730 | - simpa only [B, mul_assoc] using mul_le_mul_of_nonneg_left (hd_bound η hη).1 hC₀.le | |
| 731 | - exact ⟨((hspec (d η) hm).2.2.2 x).1.1.trans hb, | |
| 732 | - ((hspec (d η) hm).2.2.2 x).1.2.trans hb⟩ | |
| 733 | - refine ⟨(hspec (d η) hm).1, | |
| 734 | - hval.trans (mul_le_mul_of_nonneg_right hBC (norm_nonneg v)), | |
| 735 | - hcderiv.trans (mul_le_mul_of_nonneg_right hBC (norm_nonneg v)), ?_, ?_⟩ | |
| 736 | - · intro x | |
| 737 | - have ha₀ : |a η| ≤ D := (hbounds η hη).2.2.1 | |
| 738 | - have ha₁ : |deriv a η| ≤ D := (hbounds η hη).2.2.2 | |
| 739 | - have hparam : |deriv (fun θ => correction P (c θ) x) η| ≤ (J * B) * ‖v‖ := by | |
| 740 | - rw [correction_parameter_deriv P hcdif x] | |
| 741 | - exact ((hjet (deriv c η) x).1).trans | |
| 742 | - (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left hcderiv hJ.le) | |
| 743 | - have hmul₀ : |a η * correction P (c η) x| ≤ (D * B) * ‖v‖ := by | |
| 744 | - rw [abs_mul] | |
| 745 | - exact (mul_le_mul ha₀ (hcorr x).1 (abs_nonneg _) hD.le).trans_eq (by ring) | |
| 746 | - have hmul₁ : |a η * deriv (correction P (c η)) x| ≤ (D * B) * ‖v‖ := by | |
| 747 | - rw [abs_mul] | |
| 748 | - exact (mul_le_mul ha₀ (hcorr x).2 (abs_nonneg _) hD.le).trans_eq (by ring) | |
| 749 | - refine ⟨hmul₀.trans (mul_le_mul_of_nonneg_right hDBC (norm_nonneg v)), | |
| 750 | - hmul₁.trans (mul_le_mul_of_nonneg_right hDBC (norm_nonneg v)), ?_⟩ | |
| 751 | - have hadif : DifferentiableAt ℝ a η := | |
| 752 | - (ha.contDiffAt (hU.mem_nhds hηU)).differentiableAt (by simp) | |
| 753 | - have hfdif : DifferentiableAt ℝ (fun θ => correction P (c θ) x) η := | |
| 754 | - (correctionCLM P x).differentiableAt.comp η hcdif | |
| 755 | - rw [(hadif.hasDerivAt.fun_mul hfdif.hasDerivAt).deriv] | |
| 756 | - calc | |
| 757 | - _ ≤ |deriv a η * correction P (c η) x| + | |
| 758 | - |a η * deriv (fun θ => correction P (c θ) x) η| := abs_add_le _ _ | |
| 759 | - _ ≤ D * (B * ‖v‖) + D * ((J * B) * ‖v‖) := by | |
| 760 | - simp only [abs_mul] | |
| 761 | - exact add_le_add (mul_le_mul ha₁ (hcorr x).1 (abs_nonneg _) hD.le) | |
| 762 | - (mul_le_mul ha₀ hparam (abs_nonneg _) hD.le) | |
| 763 | - _ = T * ‖v‖ := by dsimp [T]; ring | |
| 764 | - _ ≤ C * ‖v‖ := mul_le_mul_of_nonneg_right hTC (norm_nonneg v) | |
| 765 | - · intro x hx | |
| 766 | - exact mul_pos (hpos η hηU) (((hspec (d η) hm).2.2.2 x).2 hx) | |
| 767 | - | |
| 768 | 585 | theorem physicalProfile_eq_clean_outside (P : Patch) (lam R a : ℝ) (c : Coeff) (X : ℝ) |
| 769 | 586 | (hX : X / R ∉ Ioo P.left P.right) : |
| 770 | 587 | physicalProfile P lam R a c X = cleanProfile lam R a X := by |
| @@ -773,172 +590,11 @@ theorem physicalProfile_eq_clean_outside (P : Patch) (lam R a : ℝ) (c : Coeff) | ||
| 773 | 590 | exact hX (correction_tsupport P c (subset_tsupport _ hn)) |
| 774 | 591 | simp only [physicalProfile, cleanProfile, hz, add_zero] |
| 775 | 592 | |
| 776 | -theorem physicalDifference_hasCompactSupport (P : Patch) (lam R a : ℝ) (hR : 0 < R) | |
| 777 | - (c : Coeff) : | |
| 778 | - HasCompactSupport (fun X => physicalProfile P lam R a c X - cleanProfile lam R a X) := by | |
| 779 | - apply HasCompactSupport.of_support_subset_isCompact | |
| 780 | - (isCompact_Icc : IsCompact (Icc (R * P.left) (R * P.right))) | |
| 781 | - intro X hX | |
| 782 | - have hn : correction P c (X / R) ≠ 0 := by | |
| 783 | - intro hz | |
| 784 | - apply hX | |
| 785 | - simp only [physicalProfile, cleanProfile, hz, add_zero, sub_self] | |
| 786 | - have hx := correction_support P c hn | |
| 787 | - constructor | |
| 788 | - · have h := (le_div_iff₀ hR).mp hx.1 | |
| 789 | - simpa only [mul_comm] using h | |
| 790 | - · have h := (div_le_iff₀ hR).mp hx.2 | |
| 791 | - simpa only [mul_comm] using h | |
| 792 | - | |
| 793 | -/-- On the reserved patch `U=0`, so the mixed axial-angular moment is unchanged. -/ | |
| 794 | -theorem mixed_moment_unchanged (P : Patch) (lam R a : ℝ) (c : Coeff) (U : ℝ → ℝ) | |
| 795 | - (hU : ∀ X, X / R ∈ Ioo P.left P.right → U X = 0) : | |
| 796 | - (∫ X, U X * physicalProfile P lam R a c X) = ∫ X, U X * cleanProfile lam R a X := by | |
| 797 | - congr 1 | |
| 798 | - funext X | |
| 799 | - by_cases hX : X / R ∈ Ioo P.left P.right | |
| 800 | - · simp [hU X hX] | |
| 801 | - · rw [physicalProfile_eq_clean_outside P lam R a c X hX] | |
| 802 | - | |
| 803 | -theorem angular_scale_eq (R : ℝ) (hR : 0 < R) : | |
| 804 | - R * Real.sqrt (2 * R) = Real.sqrt 2 * R ^ (3 / 2 : ℝ) := by | |
| 805 | - rw [Real.sqrt_mul (by norm_num : (0 : ℝ) ≤ 2), Real.sqrt_eq_rpow R, | |
| 806 | - show (3 / 2 : ℝ) = 1 + 1 / 2 by norm_num, Real.rpow_add hR, Real.rpow_one] | |
| 807 | - ring | |
| 808 | - | |
| 809 | -noncomputable def heatDebt (T : OutgoingTail.TailData) (ν K η : ℝ) : Coeff := | |
| 810 | - ![HeatTailEdit.pressureDebt (HeatTailEdit.outgoingProfile T K η) T.h ν K, | |
| 811 | - HeatTailEdit.energyDebt (HeatTailEdit.outgoingProfile T K η) T.h ν K, | |
| 812 | - HeatTailEdit.angularDebt (HeatTailEdit.outgoingProfile T K η) T.h ν K] | |
| 813 | - | |
| 814 | -theorem heatDebt_independent (T : OutgoingTail.TailData) (ν : ℝ) {K : ℝ} | |
| 815 | - (hK : 0 < K) (η : ℝ) : heatDebt T ν K η = heatDebt T ν K 0 := by | |
| 816 | - ext i | |
| 817 | - fin_cases i | |
| 818 | - · exact (HeatTailEdit.outgoing_pressureDebt_eq T ν η hK).trans | |
| 819 | - (HeatTailEdit.outgoing_pressureDebt_eq T ν 0 hK).symm | |
| 820 | - · exact (HeatTailEdit.outgoing_energyDebt_eq T ν η hK).trans | |
| 821 | - (HeatTailEdit.outgoing_energyDebt_eq T ν 0 hK).symm | |
| 822 | - · exact (HeatTailEdit.outgoing_angularDebt_eq T ν η hK).trans | |
| 823 | - (HeatTailEdit.outgoing_angularDebt_eq T ν 0 hK).symm | |
| 824 | - | |
| 825 | -/-- The actual heat-tail debts become uniformly `O(1/K)` in the fixed patch | |
| 826 | -coordinate when the patch radius is `q*K`. No debt estimate is assumed. -/ | |
| 827 | -theorem scaled_heatDebt_bound (T : OutgoingTail.TailData) (ν q : ℝ) | |
| 828 | - (hν : 0 < ν) (hq : 0 < q) : | |
| 829 | - ∃ C : ℝ, 0 < C ∧ ∀ K : ℝ, 0 < K → | |
| 830 | - ‖scaledDebt (q * K) (heatDebt T ν K 0)‖ ≤ C / K := by | |
| 831 | - let H := HeatTailEdit.heatConstant T.h ν | |
| 832 | - let e := HeatTailEdit.outgoingAmplitude T | |
| 833 | - let A := HeatTailEdit.exponent T.h | |
| 834 | - have hH : 0 < H := HeatTailEdit.heatConstant_pos T.h_pos hν | |
| 835 | - have he : 0 < e := HeatTailEdit.outgoingAmplitude_pos T | |
| 836 | - have hA : 0 < A := by dsimp [A, HeatTailEdit.exponent]; linarith [T.h_pos] | |
| 837 | - have hh : 0 < T.h := T.h_pos | |
| 838 | - let P₀ : ℝ := 2 * H * e ^ 2 / (2 * A + 1) | |
| 839 | - let S₀ : ℝ := 2 * H * e ^ 2 / (2 * A) | |
| 840 | - let I₀ : ℝ := Real.sqrt 2 * H * e / T.h | |
| 841 | - have hP₀ : 0 < P₀ := by dsimp [P₀]; positivity | |
| 842 | - have hS₀ : 0 < S₀ := by dsimp [S₀]; positivity | |
| 843 | - have hI₀ : 0 < I₀ := by dsimp [I₀]; positivity | |
| 844 | - have hsqrt : 0 < Real.sqrt (2 * q) := Real.sqrt_pos.2 (by positivity) | |
| 845 | - let C : ℝ := P₀ + S₀ / q + I₀ / (q * Real.sqrt (2 * q)) | |
| 846 | - have hC : 0 < C := by dsimp [C]; positivity | |
| 847 | - have hSq : 0 < S₀ / q := div_pos hS₀ hq | |
| 848 | - have hIq : 0 < I₀ / (q * Real.sqrt (2 * q)) := div_pos hI₀ (mul_pos hq hsqrt) | |
| 849 | - have hCP : P₀ ≤ C := by dsimp [C]; linarith | |
| 850 | - have hCS : S₀ / q ≤ C := by dsimp [C]; linarith | |
| 851 | - have hCI : I₀ / (q * Real.sqrt (2 * q)) ≤ C := by dsimp [C]; linarith | |
| 852 | - refine ⟨C, hC, ?_⟩ | |
| 853 | - intro K hK | |
| 854 | - have hqK : 0 < q * K := mul_pos hq hK | |
| 855 | - have hrootK : 0 < Real.sqrt K := Real.sqrt_pos.2 hK | |
| 856 | - have hrootqK : 0 < Real.sqrt (2 * (q * K)) := Real.sqrt_pos.2 (by positivity) | |
| 857 | - have hp : |heatDebt T ν K 0 0| ≤ P₀ / K := by | |
| 858 | - convert! (HeatTailEdit.outgoing_pressure T hν hK 0).2 using 1 | |
| 859 | - dsimp [P₀, H, e, A] | |
| 860 | - rw [div_div] | |
| 861 | - congr 1 | |
| 862 | - ring | |
| 863 | - have hs : |heatDebt T ν K 0 1| ≤ S₀ := (HeatTailEdit.outgoing_energy T hν hK 0).2 | |
| 864 | - have hi : |heatDebt T ν K 0 2| ≤ I₀ * Real.sqrt K := by | |
| 865 | - convert! (HeatTailEdit.outgoing_angular T hν hK 0).2 using 1 | |
| 866 | - dsimp [I₀, H, e] | |
| 867 | - ring | |
| 868 | - apply (pi_norm_le_iff_of_nonneg (div_nonneg hC.le hK.le)).mpr | |
| 869 | - intro i | |
| 870 | - fin_cases i | |
| 871 | - · change |heatDebt T ν K 0 0| ≤ C / K | |
| 872 | - exact hp.trans (div_le_div_of_nonneg_right hCP hK.le) | |
| 873 | - · change |heatDebt T ν K 0 1 / (q * K)| ≤ C / K | |
| 874 | - rw [abs_div, abs_of_pos hqK] | |
| 875 | - calc | |
| 876 | - _ ≤ S₀ / (q * K) := div_le_div_of_nonneg_right hs hqK.le | |
| 877 | - _ = (S₀ / q) / K := (div_div S₀ q K).symm | |
| 878 | - _ ≤ C / K := div_le_div_of_nonneg_right hCS hK.le | |
| 879 | - · change |heatDebt T ν K 0 2 / (q * K * Real.sqrt (2 * (q * K)))| ≤ C / K | |
| 880 | - rw [abs_div, abs_of_pos (mul_pos hqK hrootqK)] | |
| 881 | - calc | |
| 882 | - _ ≤ (I₀ * Real.sqrt K) / (q * K * Real.sqrt (2 * (q * K))) := | |
| 883 | - div_le_div_of_nonneg_right hi (mul_pos hqK hrootqK).le | |
| 884 | - _ = (I₀ / (q * Real.sqrt (2 * q))) / K := by | |
| 885 | - rw [← mul_assoc 2 q K, Real.sqrt_mul (by positivity : 0 ≤ 2 * q)] | |
| 886 | - field_simp | |
| 887 | - _ ≤ C / K := div_le_div_of_nonneg_right hCI hK.le | |
| 888 | - | |
| 889 | 593 | theorem FirstJetBound.mono {P : Patch} {a : ℝ → ℝ} {c : ℝ → Coeff} {η L M : ℝ} |
| 890 | 594 | (h : FirstJetBound P a c η L) (hLM : L ≤ M) : FirstJetBound P a c η M := by |
| 891 | 595 | intro x |
| 892 | 596 | exact ⟨(h x).1.trans hLM, (h x).2.1.trans hLM, (h x).2.2.trans hLM⟩ |
| 893 | 597 | |
| 894 | -/-- The actual outgoing heat edit is compensated for every sufficiently large | |
| 895 | -radius, uniformly on the compact parameter range, with `O(1/K)` first-jet cost. -/ | |
| 896 | -theorem exists_heat_compensation (P : Patch) (lam : ℝ) (hlam : 0 ≤ lam) | |
| 897 | - (T : OutgoingTail.TailData) (ν q : ℝ) (hν : 0 < ν) (hq : 0 < q) | |
| 898 | - {U S : Set ℝ} (hU : IsOpen U) (hS : IsCompact S) (hSU : S ⊆ U) | |
| 899 | - (a : ℝ → ℝ) (ha : ContDiffOn ℝ ∞ a U) (hpos : ∀ η ∈ U, 0 < a η) : | |
| 900 | - ∃ K₀ C : ℝ, 0 < K₀ ∧ 0 < C ∧ ∀ K : ℝ, K₀ ≤ K → | |
| 901 | - ∃ (c : ℝ → Coeff) (V : Set ℝ), | |
| 902 | - IsOpen V ∧ S ⊆ V ∧ V ⊆ U ∧ ContDiffOn ℝ ∞ c V ∧ | |
| 903 | - ∀ η ∈ S, | |
| 904 | - physicalMoments P lam (q * K) (a η) (c η) + heatDebt T ν K η = 0 ∧ | |
| 905 | - ‖c η‖ ≤ C / K ∧ ‖deriv c η‖ ≤ C / K ∧ | |
| 906 | - FirstJetBound P a c η (C / K) ∧ | |
| 907 | - ∀ X : ℝ, 0 < X → 0 < physicalProfile P lam (q * K) (a η) (c η) X := by | |
| 908 | - obtain ⟨ε, C₁, hε, hC₁, hsolve⟩ := | |
| 909 | - exists_uniform_parameter_compensation P lam hlam hU hS hSU a ha hpos | |
| 910 | - obtain ⟨C₂, hC₂, hdebt⟩ := scaled_heatDebt_bound T ν q hν hq | |
| 911 | - let K₀ : ℝ := 1 + C₂ / ε | |
| 912 | - have hK₀ : 0 < K₀ := by dsimp [K₀]; positivity | |
| 913 | - refine ⟨K₀, C₁ * C₂, hK₀, mul_pos hC₁ hC₂, ?_⟩ | |
| 914 | - intro K hlarge | |
| 915 | - have hK : 0 < K := hK₀.trans_le hlarge | |
| 916 | - have hqK : 0 < q * K := mul_pos hq hK | |
| 917 | - let v := scaledDebt (q * K) (heatDebt T ν K 0) | |
| 918 | - have hv : ‖v‖ ≤ C₂ / K := hdebt K hK | |
| 919 | - have hvsmall : ‖v‖ < ε := by | |
| 920 | - apply hv.trans_lt | |
| 921 | - apply (div_lt_iff₀ hK).mpr | |
| 922 | - have hk' : C₂ / ε < K := by dsimp [K₀] at hlarge; linarith | |
| 923 | - have ht := (div_lt_iff₀ hε).mp hk' | |
| 924 | - simpa only [mul_comm] using ht | |
| 925 | - obtain ⟨c, V, hV, hSV, hVU, hc, hspec⟩ := hsolve v hvsmall | |
| 926 | - refine ⟨c, V, hV, hSV, hVU, hc, ?_⟩ | |
| 927 | - intro η hη | |
| 928 | - have hs := hspec η hη | |
| 929 | - have hcost : C₁ * ‖v‖ ≤ C₁ * C₂ / K := by | |
| 930 | - simpa only [mul_div_assoc] using mul_le_mul_of_nonneg_left hv hC₁.le | |
| 931 | - have hmoment : momentMap P lam (c η) = normalizedDebt (q * K) (a η) (heatDebt T ν K 0) := by | |
| 932 | - rw [normalizedDebt_eq] | |
| 933 | - exact hs.1 | |
| 934 | - have hexact := physicalMoments_cancel P lam (q * K) (a η) hqK | |
| 935 | - (hpos η (hSU hη)) (c η) (heatDebt T ν K 0) hmoment | |
| 936 | - refine ⟨?_, hs.2.1.trans hcost, hs.2.2.1.trans hcost, | |
| 937 | - hs.2.2.2.1.mono hcost, ?_⟩ | |
| 938 | - · rwa [heatDebt_independent T ν hK η] | |
| 939 | - · intro X hX | |
| 940 | - exact hs.2.2.2.2 (X / (q * K)) (div_pos hX hqK) | |
| 941 | - | |
| 942 | 598 | /-- All three physical moment changes are genuine integrable functions. -/ |
| 943 | 599 | theorem physicalMoments_integrable (P : Patch) (lam R a : ℝ) (hR : 0 < R) (c : Coeff) : |
| 944 | 600 | Integrable (fun X => ((physicalProfile P lam R a c X) ^ 2 - |
| @@ -979,44 +635,4 @@ theorem physicalMoments_positive_radius (P : Patch) (lam R a : ℝ) (hR : 0 < R) | ||
| 979 | 635 | intro X hX <;> |
| 980 | 636 | rw [physicalProfile_eq_clean_of_nonpos P lam R a hR c (le_of_not_gt hX)] <;> simp |
| 981 | 637 | |
| 982 | -/-- A reserved patch ending before the heat switch has no overlap with the | |
| 983 | -actual heat perturbation on positive radii. -/ | |
| 984 | -theorem patch_heat_disjoint (P : Patch) (lam q K a h ν : ℝ) | |
| 985 | - (hq : 0 < q) (hK : 0 < K) (hpatch : q * P.right ≤ 1) | |
| 986 | - (c : Coeff) (E : ℝ → ℝ) {X : ℝ} (hX : 0 < X) : | |
| 987 | - (physicalProfile P lam (q * K) a c X - cleanProfile lam (q * K) a X) * | |
| 988 | - HeatTailEdit.change E h ν K X = 0 := by | |
| 989 | - by_cases hXK : X ≤ K | |
| 990 | - · simp only [HeatTailEdit.change, HeatTailEdit.edit_before E h ν hK hX hXK, | |
| 991 | - sub_self, mul_zero] | |
| 992 | - · have hout : X / (q * K) ∉ Ioo P.left P.right := by | |
| 993 | - intro hx | |
| 994 | - have hl := (div_lt_iff₀ (mul_pos hq hK)).mp hx.2 | |
| 995 | - have hp := mul_le_mul_of_nonneg_right hpatch hK.le | |
| 996 | - nlinarith | |
| 997 | - rw [physicalProfile_eq_clean_outside P lam (q * K) a c X hout, sub_self, zero_mul] | |
| 998 | - | |
| 999 | -theorem square_change_add_of_disjoint (b p t : ℝ) (hpt : p * t = 0) : | |
| 1000 | - (b + p + t) ^ 2 - b ^ 2 = ((b + p) ^ 2 - b ^ 2) + ((b + t) ^ 2 - b ^ 2) := by | |
| 1001 | - nlinarith | |
| 1002 | - | |
| 1003 | -/-- The constructed physical profile is jointly smooth in the parameter and | |
| 1004 | -positive radius, whenever the amplitude and solved coefficients are smooth. -/ | |
| 1005 | -theorem physicalProfile_family_contDiffOn (P : Patch) (lam R : ℝ) (hR : 0 < R) | |
| 1006 | - {U : Set ℝ} {a : ℝ → ℝ} {c : ℝ → Coeff} | |
| 1007 | - (ha : ContDiffOn ℝ ∞ a U) (hc : ContDiffOn ℝ ∞ c U) : | |
| 1008 | - ContDiffOn ℝ ∞ | |
| 1009 | - (fun z : ℝ × ℝ => physicalProfile P lam R (a z.1) (c z.1) z.2) (U ×ˢ Ioi 0) := by | |
| 1010 | - have ha' : ContDiffOn ℝ ∞ (fun z : ℝ × ℝ => a z.1) (U ×ˢ Ioi 0) := | |
| 1011 | - ha.comp contDiffOn_fst (fun z hz => hz.1) | |
| 1012 | - have hb : ContDiffOn ℝ ∞ (fun z : ℝ × ℝ => baseProfile lam (z.2 / R)) (U ×ˢ Ioi 0) := by | |
| 1013 | - intro z hz | |
| 1014 | - exact ((Real.contDiffAt_rpow_const_of_ne (div_pos hz.2 hR).ne').comp z | |
| 1015 | - (contDiffAt_snd.div_const R)).contDiffWithinAt | |
| 1016 | - have hr : ContDiffOn ℝ ∞ | |
| 1017 | - (fun z : ℝ × ℝ => correction P (c z.1) (z.2 / R)) (U ×ˢ Ioi 0) := | |
| 1018 | - (correction_family_contDiffOn P hc).comp | |
| 1019 | - (contDiffOn_fst.prodMk (contDiffOn_snd.div_const R)) (fun z hz => ⟨hz.1, mem_univ _⟩) | |
| 1020 | - exact ha'.mul (hb.add hr) | |
| 1021 | - | |
| 1022 | 638 | end NavierStokes.TerminalCompensation |
+0 −50 NavierStokes/TerminalCone.lean View file
| @@ -362,24 +362,6 @@ theorem profileAxialStress_le_angular (d : OutgoingTail.TailData) (hsmall : Smal | ||
| 362 | 362 | |
| 363 | 363 | /-! ## Uniform cone margin through the actual terminal edge -/ |
| 364 | 364 | |
| 365 | -theorem profileAngularFactor_pos {C : ℝ} (hC : 0 < C) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 366 | - {δ eta : ℝ} (hδ : 0 ≤ δ) (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 367 | - 0 < TerminalEdgeFactor.profileAngularFactor C d y0 (eta, δ) := by | |
| 368 | - rcases hδ.eq_or_lt with hzero | hpos | |
| 369 | - · rw [← hzero] | |
| 370 | - exact TerminalEdgeFactor.profileAngularFactor_zero_pos hC d y0 heta | |
| 371 | - · have hT := profileAngularStress_pos hC d y0 hpos heta | |
| 372 | - rw [TerminalEdgeFactor.profileAngularStress_factorization] at hT | |
| 373 | - exact (mul_pos_iff_of_pos_left (div_pos (FlatCutoff.edge_pos 4 hpos) (pow_pos hpos 3))).mp hT | |
| 374 | - | |
| 375 | -theorem profileTilt_contDiffAt {C : ℝ} (hC : 0 < C) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 376 | - {δ eta : ℝ} (hδ : 0 ≤ δ) (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 377 | - ContDiffAt ℝ ∞ (TerminalEdgeFactor.profileTilt C d y0) (eta, δ) := | |
| 378 | - ((contDiffAt_snd.pow 6).mul | |
| 379 | - (TerminalEdgeFactor.profileAxialFactor_contDiff C d y0).contDiffAt).div | |
| 380 | - (TerminalEdgeFactor.profileAngularFactor_contDiff C d y0).contDiffAt | |
| 381 | - (profileAngularFactor_pos hC d y0 hδ heta).ne' | |
| 382 | - | |
| 383 | 365 | theorem profileTilt_abs_le_one (d : OutgoingTail.TailData) (hsmall : SmallTail d) |
| 384 | 366 | {K δ eta : ℝ} (hK : 0 < K) (hδ : 0 ≤ δ) (hδ' : δ ≤ 5 / 2) |
| 385 | 367 | (heta : eta ∈ Icc (-1 : ℝ) 1) : |
| @@ -510,23 +492,11 @@ theorem E_eq_profileAngularVelocity (F : OutgoingProfile.Profile) {XR : ℝ} | ||
| 510 | 492 | ParametricHeatTail.diffusion] |
| 511 | 493 | ring |
| 512 | 494 | |
| 513 | -theorem U_eq_zero (F : OutgoingProfile.Profile) {XR : ℝ} (hXR : 0 < XR) {y eta : ℝ} | |
| 514 | - (hy : terminalStart F.data ≤ y) : HeatedOutgoing.U F XR (XR * Real.exp y, eta) = 0 := by | |
| 515 | - apply HeatedOutgoing.U_after_switch F XR eta (XR * Real.exp y) hXR | |
| 516 | - apply HeatedOutgoing.full_switch_above_radius (OutgoingDilation.switchRadius_pos F XR hXR) | |
| 517 | - (mul_pos hXR (Real.exp_pos y)) | |
| 518 | - rw [tailTime_clock F hXR y] | |
| 519 | - dsimp only [terminalStart] at hy | |
| 520 | - linarith | |
| 521 | - | |
| 522 | 495 | /-- Chosen only after the core schedule and `h`. This bound contains no |
| 523 | 496 | compensation coefficient or data-dependent edge-collar width. -/ |
| 524 | 497 | noncomputable def radiusThreshold (F : OutgoingProfile.Profile) : ℝ := |
| 525 | 498 | 32 / Real.exp (HeatTailEdit.switchStart F.data) |
| 526 | 499 | |
| 527 | -theorem radiusThreshold_pos (F : OutgoingProfile.Profile) : 0 < radiusThreshold F := | |
| 528 | - div_pos (by norm_num) (Real.exp_pos _) | |
| 529 | - | |
| 530 | 500 | theorem switchRadius_ge_32 (F : OutgoingProfile.Profile) {XR : ℝ} |
| 531 | 501 | (hXR : radiusThreshold F ≤ XR) : 32 ≤ OutgoingDilation.switchRadius F XR := by |
| 532 | 502 | exact (div_le_iff₀ (Real.exp_pos (HeatTailEdit.switchStart F.data))).mp hXR |
| @@ -560,24 +530,4 @@ theorem full_interval_direction_margin (F : OutgoingProfile.Profile) {XR y eta : | ||
| 560 | 530 | linarith |
| 561 | 531 | exact profile_cone_margin F.data hsmall (switchRadius_ge_32 F hXR) hδ hδ' heta |
| 562 | 532 | |
| 563 | -/-- The actual compensated velocity uses precisely the terminal field whose | |
| 564 | -true cone was proved above. The existing witness, its coefficients, and the | |
| 565 | -base outgoing profile are retained. -/ | |
| 566 | -theorem same_witness_full_cone (F : OutgoingProfile.Profile) {XR C y eta : ℝ} | |
| 567 | - (w : HeatedOutgoing.CompensationWitness F XR C) | |
| 568 | - (hsmall : SmallTail F.data) (hXR : radiusThreshold F ≤ XR) | |
| 569 | - (hy : terminalStart F.data ≤ y) (hy' : y < OutgoingTail.tailEnd F.data) | |
| 570 | - (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 571 | - HeatedOutgoing.E F XR w.coefficients (XR * Real.exp y, eta) = | |
| 572 | - TerminalEdgeFactor.profileAngularVelocity (normalization F XR) F.data (shift F XR) | |
| 573 | - (profilePoint F y eta) ∧ | |
| 574 | - HeatedOutgoing.U F XR (XR * Real.exp y, eta) = 0 ∧ | |
| 575 | - 2 < TerminalEdgeFactor.profileP (normalization F XR) F.data (shift F XR) (profilePoint F y eta) ∧ | |
| 576 | - TerminalEdgeFactor.profileSpeed (normalization F XR) F.data (shift F XR) (profilePoint F y eta) < | |
| 577 | - ConeAlgebra.coneBound | |
| 578 | - (TerminalEdgeFactor.profileP (normalization F XR) F.data (shift F XR) (profilePoint F y eta)) | |
| 579 | - (TerminalEdgeFactor.profileJ (normalization F XR) F.data (shift F XR) (profilePoint F y eta)) := | |
| 580 | - ⟨E_eq_profileAngularVelocity F w.coefficients w.radius_pos hy heta, | |
| 581 | - U_eq_zero F w.radius_pos hy, full_interval_true_cone F hsmall hXR hy hy' heta⟩ | |
| 582 | - | |
| 583 | 533 | end NavierStokes.TerminalCone |
+0 −214 NavierStokes/TerminalEdgeFactor.lean View file
| @@ -117,10 +117,6 @@ theorem carrier_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | ||
| 117 | 117 | (div_pos (sq_pos_of_pos (radius_pos d y0 y)) (by norm_num))).comp y |
| 118 | 118 | (chartPoint_contDiff d y0).contDiffAt |
| 119 | 119 | |
| 120 | -theorem carrier_pos {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : | |
| 121 | - 0 < carrier C d y0 y := | |
| 122 | - heatAmplitude_pos hC (by linarith [d.h_pos]) (timeOf_lt_one y.1) (radius_pos d y0 y) | |
| 123 | - | |
| 124 | 120 | noncomputable def carrierRadial (C : ℝ) (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : ℝ := |
| 125 | 121 | radius d y0 y * SimilarityProfile.partialS (physicalHeat C (1 + d.h)) (chartPoint d y0 y) |
| 126 | 122 | |
| @@ -238,20 +234,6 @@ theorem radialFlatDensity_integral {c R r : ℝ} (hc : 0 < c) (hR : 0 < R) (hr : | ||
| 238 | 234 | simpa only [sub_neg_eq_add, zero_add] using |
| 239 | 235 | integral_Ioi_of_hasDerivAt_of_tendsto' hd (radialFlatDensity_integrable hc hR hr j ha) hz |
| 240 | 236 | |
| 241 | -theorem chart_tau_identity (d : TailData) (p : EdgeParam) : | |
| 242 | - 1 - timeOf p = chartQ d p * (1 - chartEta d p ^ 2) := by | |
| 243 | - exact SimilarityCoordinates.tau_coordinate_identity | |
| 244 | - (by linarith [d.h_pos] : 0 < 2 * d.h) | |
| 245 | - (by linarith [d.h_lt_half] : 2 * d.h < 1) | |
| 246 | - (p := (1 - timeOf p, p.2)) (sub_pos.mpr (timeOf_lt_one p)) | |
| 247 | - | |
| 248 | -/-- The physical heat argument retains the varying factor `1-eta²`. -/ | |
| 249 | -theorem physical_heat_argument (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : | |
| 250 | - 2 * (1 - timeOf y.1) / (radius d y0 y ^ 2 / 2) = | |
| 251 | - 2 * (1 - chartEta d y.1 ^ 2) / Real.exp (y0 + 3 - y.2) := by | |
| 252 | - rw [chart_tau_identity, radius_square] | |
| 253 | - field_simp [(chartQ_pos d y.1).ne'] | |
| 254 | - | |
| 255 | 237 | noncomputable def logTaper (d : TailData) (y0 : ℝ) (y : ℝ) : ℝ := tailShape d (y - y0) |
| 256 | 238 | noncomputable def radialTaper (d : TailData) (y0 : ℝ) (p : EdgeParam) : ℝ → ℝ := |
| 257 | 239 | radialSlice (flattening d.h (logTaper d y0)) (timeOf p) p.2 |
| @@ -311,12 +293,6 @@ noncomputable def correctionCoefficient (C : ℝ) (d : TailData) (y0 : ℝ) | ||
| 311 | 293 | (radius d y0 y * carrier C d y0 y - radius d y0 y ^ 2 * carrierRadial C d y0 y) * |
| 312 | 294 | taperSlopeFactor d y.2 |
| 313 | 295 | |
| 314 | -theorem boundaryCoefficient_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 315 | - ContDiff ℝ ∞ (boundaryCoefficient C d y0) := | |
| 316 | - (((contDiff_const.mul (carrier_contDiff C d y0)).div (radius_contDiff d y0) | |
| 317 | - (fun y => (radius_pos d y0 y).ne')).mul | |
| 318 | - ((taperSlopeFactor_contDiff d).comp contDiff_snd)) | |
| 319 | - | |
| 320 | 296 | theorem timeCoefficient_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : |
| 321 | 297 | ContDiff ℝ ∞ (timeCoefficient C d y0) := |
| 322 | 298 | ((((radius_contDiff d y0).pow 3).mul (carrier_contDiff C d y0)).div |
| @@ -460,16 +436,6 @@ noncomputable def angularFactor (C : ℝ) (d : TailData) (y0 : ℝ) (y : EdgePar | ||
| 460 | 436 | (ParametricFlatFactor.factor 4 3 (timeCoefficient C d y0) y + |
| 461 | 437 | ParametricFlatFactor.factor 4 3 (correctionCoefficient C d y0) y) |
| 462 | 438 | |
| 463 | -theorem angularFactor_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 464 | - ContDiff ℝ ∞ (angularFactor C d y0) := | |
| 465 | - (boundaryCoefficient_contDiff C d y0).add | |
| 466 | - (((contDiff_snd.pow 3).div ((radius_contDiff d y0).pow 2) | |
| 467 | - (fun y => (sq_pos_of_pos (radius_pos d y0 y)).ne')).mul | |
| 468 | - ((ParametricFlatFactor.factor_contDiff (by norm_num : (0 : ℝ) < 4) 3 | |
| 469 | - (timeCoefficient_contDiff C d y0)).add | |
| 470 | - (ParametricFlatFactor.factor_contDiff (by norm_num : (0 : ℝ) < 4) 3 | |
| 471 | - (correctionCoefficient_contDiff C d y0)))) | |
| 472 | - | |
| 473 | 439 | /-- The leading angular stress itself, with all backward-integral hypotheses |
| 474 | 440 | proved for the actual heat carrier and actual outgoing taper. -/ |
| 475 | 441 | theorem angularStress_factorization (C : ℝ) (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : |
| @@ -496,40 +462,6 @@ theorem angularStress_factorization (C : ℝ) (d : TailData) (y0 : ℝ) (y : Edg | ||
| 496 | 462 | unfold angularFactor boundaryCoefficient FlatPrimitive.scale |
| 497 | 463 | ring |
| 498 | 464 | |
| 499 | -theorem angularFactor_zero (C : ℝ) (d : TailData) (y0 : ℝ) (p : EdgeParam) : | |
| 500 | - angularFactor C d y0 (p, 0) = | |
| 501 | - (2 * carrier C d y0 (p, 0) / radius d y0 (p, 0)) * taperSlopeFactor d 0 := by | |
| 502 | - simp only [angularFactor, zero_pow (by norm_num : 3 ≠ 0), zero_div, zero_mul, | |
| 503 | - add_zero, boundaryCoefficient] | |
| 504 | - | |
| 505 | -theorem angularFactor_zero_pos {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) (p : EdgeParam) : | |
| 506 | - 0 < angularFactor C d y0 (p, 0) := by | |
| 507 | - rw [angularFactor_zero] | |
| 508 | - exact mul_pos (div_pos (mul_pos (by norm_num) (carrier_pos hC d y0 (p, 0))) | |
| 509 | - (radius_pos d y0 (p, 0))) (taperSlopeFactor_zero_pos d) | |
| 510 | - | |
| 511 | -theorem angularFactor_eventually_pos {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) (p : EdgeParam) : | |
| 512 | - ∀ᶠ y in 𝓝 (p, (0 : ℝ)), 0 < angularFactor C d y0 y := | |
| 513 | - (angularFactor_contDiff C d y0).continuous.continuousAt.eventually | |
| 514 | - (Ioi_mem_nhds (angularFactor_zero_pos hC d y0 p)) | |
| 515 | - | |
| 516 | -theorem angularStress_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 517 | - ContDiff ℝ ∞ (angularStress C d y0) := by | |
| 518 | - have heq : angularStress C d y0 = fun y : EdgeParam × ℝ => | |
| 519 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) * angularFactor C d y0 y := | |
| 520 | - funext (angularStress_factorization C d y0) | |
| 521 | - rw [heq] | |
| 522 | - exact ((FlatCutoff.edge_div_pow_contDiff (by norm_num : (0 : ℝ) < 4) 3).comp | |
| 523 | - contDiff_snd).mul (angularFactor_contDiff C d y0) | |
| 524 | - | |
| 525 | -theorem angularStress_normalized (C : ℝ) (d : TailData) (y0 : ℝ) (p : EdgeParam) | |
| 526 | - {δ : ℝ} (hδ : 0 < δ) : | |
| 527 | - angularStress C d y0 (p, δ) / (Real.exp (-4 / δ ^ 2) / δ ^ 3) = | |
| 528 | - angularFactor C d y0 (p, δ) := by | |
| 529 | - rw [angularStress_factorization, FlatCutoff.edge_of_pos 4 hδ] | |
| 530 | - have hden : Real.exp (-4 / δ ^ 2) / δ ^ 3 ≠ 0 := by positivity | |
| 531 | - exact mul_div_cancel_left₀ _ hden | |
| 532 | - | |
| 533 | 465 | /-- The same edge coordinate in the regular radial variable `s=r²/2`. -/ |
| 534 | 466 | noncomputable def logCoordinate (S s : ℝ) : ℝ := edgeCoordinate S s / 2 |
| 535 | 467 | |
| @@ -671,12 +603,6 @@ theorem axialCoefficient_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | ||
| 671 | 603 | noncomputable def axialFactor (C : ℝ) (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : ℝ := |
| 672 | 604 | ParametricFlatFactor.factor 4 0 (axialCoefficient C d y0) y / radius d y0 y |
| 673 | 605 | |
| 674 | -theorem axialFactor_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 675 | - ContDiff ℝ ∞ (axialFactor C d y0) := | |
| 676 | - (ParametricFlatFactor.factor_contDiff (by norm_num : (0 : ℝ) < 4) 0 | |
| 677 | - (axialCoefficient_contDiff C d y0)).div (radius_contDiff d y0) | |
| 678 | - (fun y => (radius_pos d y0 y).ne') | |
| 679 | - | |
| 680 | 606 | /-- The actual canonical pressure gradient on the physical chart. -/ |
| 681 | 607 | noncomputable def pressureGradient (C : ℝ) (d : TailData) (y0 : ℝ) |
| 682 | 608 | (y : EdgeParam × ℝ) : ℝ := |
| @@ -1228,12 +1154,6 @@ theorem angularStress_normalizedParam (C : ℝ) (d : TailData) (y0 x : ℝ) | ||
| 1228 | 1154 | rw [angularStress_factorization, profileAngularStress_factorization, |
| 1229 | 1155 | angularFactor_normalizedParam C d y0 x hη] |
| 1230 | 1156 | |
| 1231 | -theorem pressureGradient_normalizedParam (C : ℝ) (d : TailData) (y0 x : ℝ) | |
| 1232 | - {η : ℝ} (hη : η ^ 2 < 1) : | |
| 1233 | - pressureGradient C d y0 (normalizedParam η, x) = profilePressureGradient C d y0 (η, x) := by | |
| 1234 | - rw [pressureGradient_factorization, profilePressureGradient_factorization, | |
| 1235 | - pressureFactor_normalizedParam C d y0 x hη] | |
| 1236 | - | |
| 1237 | 1157 | theorem axialStress_normalizedParam (C : ℝ) (d : TailData) (y0 x : ℝ) |
| 1238 | 1158 | {η : ℝ} (hη : η ^ 2 < 1) : |
| 1239 | 1159 | axialStress C d y0 (normalizedParam η, x) = profileAxialStress C d y0 (η, x) := by |
| @@ -1284,38 +1204,6 @@ theorem profileStressFactor_zero_ne {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : | ||
| 1284 | 1204 | have hzero := congrArg Prod.fst he |
| 1285 | 1205 | exact (profileAngularFactor_zero_pos hC d y0 hη).ne' hzero |
| 1286 | 1206 | |
| 1287 | -/-- Actual full tensors, uniformly through both endpoints of the profile interval. -/ | |
| 1288 | -theorem profileStress_jets (C : ℝ) (d : TailData) (y0 : ℝ) (n : ℕ) {b : ℝ} (hb : 0 < b) : | |
| 1289 | - ∃ A : ℝ, 0 < A ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 1290 | - ∀ x : ℝ, 0 < x → x ≤ b → | |
| 1291 | - ‖iteratedFDeriv ℝ i (profileStress C d y0) (η, x)‖ ≤ A * FlatCutoff.edge 4 x / x ^ N := by | |
| 1292 | - have he : profileStress C d y0 = fun y => | |
| 1293 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) • profileStressFactor C d y0 y := | |
| 1294 | - funext (profileStress_factorization C d y0) | |
| 1295 | - rw [he] | |
| 1296 | - exact EdgeWeightJets.edge_smul_iteratedFDeriv_bound (by norm_num) 3 | |
| 1297 | - (profileStressFactor_contDiff C d y0) isCompact_Icc n hb | |
| 1298 | - | |
| 1299 | -theorem profileAngularStress_edge_jets (C : ℝ) (d : TailData) (y0 : ℝ) (n : ℕ) (η : ℝ) : | |
| 1300 | - iteratedFDeriv ℝ n (profileAngularStress C d y0) (η, 0) = 0 := by | |
| 1301 | - have he : profileAngularStress C d y0 = | |
| 1302 | - EdgeWeightJets.weighted 4 3 (profileAngularFactor C d y0) := | |
| 1303 | - funext (profileAngularStress_factorization C d y0) | |
| 1304 | - rw [he] | |
| 1305 | - exact EdgeWeightJets.weighted_iteratedFDeriv_zero (by norm_num) 3 | |
| 1306 | - (profileAngularFactor_contDiff C d y0) n η | |
| 1307 | - | |
| 1308 | -theorem profileAxialStress_edge_jets (C : ℝ) (d : TailData) (y0 : ℝ) (n : ℕ) (η : ℝ) : | |
| 1309 | - iteratedFDeriv ℝ n (profileAxialStress C d y0) (η, 0) = 0 := by | |
| 1310 | - have he : profileAxialStress C d y0 = | |
| 1311 | - EdgeWeightJets.weighted 4 0 (fun y : ℝ × ℝ => y.2 ^ 3 * profileAxialFactor C d y0 y) := by | |
| 1312 | - funext y | |
| 1313 | - simpa only [EdgeWeightJets.weighted, pow_zero, div_one, mul_assoc] using | |
| 1314 | - profileAxialStress_factorization C d y0 y | |
| 1315 | - rw [he] | |
| 1316 | - exact EdgeWeightJets.weighted_iteratedFDeriv_zero (by norm_num) 0 | |
| 1317 | - ((contDiff_snd.pow 3).mul (profileAxialFactor_contDiff C d y0)) n η | |
| 1318 | - | |
| 1319 | 1207 | noncomputable def profileTilt (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) : ℝ := |
| 1320 | 1208 | y.2 ^ 6 * profileAxialFactor C d y0 y / profileAngularFactor C d y0 y |
| 1321 | 1209 | |
| @@ -1339,14 +1227,6 @@ theorem profileTilt_contDiffAt {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) | ||
| 1339 | 1227 | (profileAngularFactor_contDiff C d y0).contDiffAt |
| 1340 | 1228 | (profileAngularFactor_zero_pos hC d y0 hη).ne' |
| 1341 | 1229 | |
| 1342 | -theorem profileTilt_tendsto_zero {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) | |
| 1343 | - {η : ℝ} (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 1344 | - Tendsto (profileTilt C d y0) (𝓝 (η, 0)) (𝓝 0) := by | |
| 1345 | - have he := (profileTilt_contDiffAt hC d y0 hη).continuousAt | |
| 1346 | - change Tendsto (profileTilt C d y0) (𝓝 (η, 0)) | |
| 1347 | - (𝓝 (profileTilt C d y0 (η, 0))) at he | |
| 1348 | - simpa only [profileTilt_zero] using he | |
| 1349 | - | |
| 1350 | 1230 | /-- The actual velocity shear ratio for the terminal product `K f_o`. -/ |
| 1351 | 1231 | noncomputable def profileSpeed (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) : ℝ := |
| 1352 | 1232 | 1 - profileRadius y0 y.2 * profileCarrierRadial C d y0 y / profileCarrier C d y0 y - |
| @@ -1493,11 +1373,6 @@ theorem profile_uniform_cone {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) : | ||
| 1493 | 1373 | noncomputable def profileAngularVelocity (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) : ℝ := |
| 1494 | 1374 | profileCarrier C d y0 y * tailShape d (3 - y.2) |
| 1495 | 1375 | |
| 1496 | -theorem profileAngularVelocity_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 1497 | - ContDiff ℝ ∞ (profileAngularVelocity C d y0) := | |
| 1498 | - (profileCarrier_contDiff C d y0).mul | |
| 1499 | - ((tailShape_contDiff d).comp (contDiff_const.sub contDiff_snd)) | |
| 1500 | - | |
| 1501 | 1376 | theorem profileS_hasDerivAt (y0 x : ℝ) : HasDerivAt (profileS y0) (-profileS y0 x) x := by |
| 1502 | 1377 | convert! (((hasDerivAt_const x (y0 + 3)).sub (hasDerivAt_id x)).exp) using 1 |
| 1503 | 1378 | simp [profileS] |
| @@ -1557,86 +1432,15 @@ theorem profileSpeed_eq_log_deriv {C : ℝ} (hC : 0 < C) (d : TailData) (y0 η x | ||
| 1557 | 1432 | (tailShape_pos d (3 - x)).ne'] |
| 1558 | 1433 | ring |
| 1559 | 1434 | |
| 1560 | -/-- The strict cone inequalities for the actual stress hold throughout one | |
| 1561 | -positive-width terminal collar, uniformly through the closed profile interval. -/ | |
| 1562 | -theorem profile_relative_cone {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) : | |
| 1563 | - ∃ ε : ℝ, 0 < ε ∧ ∀ η ∈ Icc (-1 : ℝ) 1, ∀ x : ℝ, 0 < x → x < ε → | |
| 1564 | - 0 < profileAngularStress C d y0 (η, x) ∧ 2 < profileSpeed C d y0 (η, x) ∧ | |
| 1565 | - (profileSpeed C d y0 (η, x) - 2) * profileAxialStress C d y0 (η, x) ^ 2 < | |
| 1566 | - 2 * profileAngularStress C d y0 (η, x) ^ 2 := by | |
| 1567 | - obtain ⟨ε, m, hε, hm, hb⟩ := profile_uniform_cone hC d y0 | |
| 1568 | - refine ⟨ε, hε, ?_⟩ | |
| 1569 | - intro η hη x hx hxε | |
| 1570 | - obtain ⟨ha, hv, hg⟩ := hb η hη x (by simpa only [abs_of_pos hx] using hxε) | |
| 1571 | - have hTa : 0 < profileAngularStress C d y0 (η, x) := by | |
| 1572 | - rw [profileAngularStress_factorization] | |
| 1573 | - exact mul_pos (div_pos (FlatCutoff.edge_pos 4 hx) (pow_pos hx _)) (hm.trans_le ha) | |
| 1574 | - refine ⟨hTa, by linarith, ?_⟩ | |
| 1575 | - have hg' : (profileSpeed C d y0 (η, x) - 2) * | |
| 1576 | - (profileAxialStress C d y0 (η, x) / profileAngularStress C d y0 (η, x)) ^ 2 < 2 := by | |
| 1577 | - rw [profileTilt_eq_ratio C d y0 η hx] | |
| 1578 | - change m ≤ 2 - (profileSpeed C d y0 (η, x) - 2) * profileTilt C d y0 (η, x) ^ 2 at hg | |
| 1579 | - linarith | |
| 1580 | - apply (div_lt_iff₀ (sq_pos_of_pos hTa)).mp | |
| 1581 | - simpa only [div_pow, mul_div_assoc] using hg' | |
| 1582 | - | |
| 1583 | 1435 | /-! ## The same weighted estimates on compact physical parameter sets -/ |
| 1584 | 1436 | |
| 1585 | 1437 | noncomputable def physicalStress (C : ℝ) (d : TailData) (y0 : ℝ) |
| 1586 | 1438 | (y : EdgeParam × ℝ) : ℝ × ℝ := (angularStress C d y0 y, axialStress C d y0 y) |
| 1587 | 1439 | |
| 1588 | -noncomputable def physicalStressFactor (C : ℝ) (d : TailData) (y0 : ℝ) | |
| 1589 | - (y : EdgeParam × ℝ) : ℝ × ℝ := (angularFactor C d y0 y, y.2 ^ 6 * axialFactor C d y0 y) | |
| 1590 | - | |
| 1591 | -theorem physicalStressFactor_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 1592 | - ContDiff ℝ ∞ (physicalStressFactor C d y0) := | |
| 1593 | - (angularFactor_contDiff C d y0).prodMk ((contDiff_snd.pow 6).mul (axialFactor_contDiff C d y0)) | |
| 1594 | - | |
| 1595 | -theorem physicalStress_factorization (C : ℝ) (d : TailData) (y0 : ℝ) (y : EdgeParam × ℝ) : | |
| 1596 | - physicalStress C d y0 y = | |
| 1597 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) • physicalStressFactor C d y0 y := by | |
| 1598 | - apply Prod.ext | |
| 1599 | - · exact angularStress_factorization C d y0 y | |
| 1600 | - · change axialStress C d y0 y = | |
| 1601 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) * (y.2 ^ 6 * axialFactor C d y0 y) | |
| 1602 | - rw [axialStress_factorization] | |
| 1603 | - by_cases hx : y.2 = 0 | |
| 1604 | - · simp [hx] | |
| 1605 | - · field_simp [hx] | |
| 1606 | - | |
| 1607 | -theorem physicalStress_jets (C : ℝ) (d : TailData) (y0 : ℝ) {S : Set EdgeParam} | |
| 1608 | - (hS : IsCompact S) (n : ℕ) {b : ℝ} (hb : 0 < b) : | |
| 1609 | - ∃ A : ℝ, 0 < A ∧ ∃ N : ℕ, ∀ i ≤ n, ∀ p ∈ S, ∀ x : ℝ, 0 < x → x ≤ b → | |
| 1610 | - ‖iteratedFDeriv ℝ i (physicalStress C d y0) (p, x)‖ ≤ A * FlatCutoff.edge 4 x / x ^ N := by | |
| 1611 | - have he : physicalStress C d y0 = fun y => | |
| 1612 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) • physicalStressFactor C d y0 y := | |
| 1613 | - funext (physicalStress_factorization C d y0) | |
| 1614 | - rw [he] | |
| 1615 | - exact EdgeWeightJets.edge_smul_iteratedFDeriv_bound (by norm_num) 3 | |
| 1616 | - (physicalStressFactor_contDiff C d y0) hS n hb | |
| 1617 | - | |
| 1618 | -theorem physicalStress_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | |
| 1619 | - ContDiff ℝ ∞ (physicalStress C d y0) := by | |
| 1620 | - have he : physicalStress C d y0 = fun y => | |
| 1621 | - (FlatCutoff.edge 4 y.2 / y.2 ^ 3) • physicalStressFactor C d y0 y := | |
| 1622 | - funext (physicalStress_factorization C d y0) | |
| 1623 | - rw [he] | |
| 1624 | - exact ((FlatCutoff.edge_div_pow_contDiff (by norm_num : (0 : ℝ) < 4) 3).comp | |
| 1625 | - contDiff_snd).smul (physicalStressFactor_contDiff C d y0) | |
| 1626 | - | |
| 1627 | 1440 | theorem profileStress_of_nonpos (C : ℝ) (d : TailData) (y0 : ℝ) |
| 1628 | 1441 | {y : ℝ × ℝ} (hy : y.2 ≤ 0) : profileStress C d y0 y = 0 := by |
| 1629 | 1442 | rw [profileStress_factorization, FlatCutoff.edge_of_nonpos 4 hy, zero_div, zero_smul] |
| 1630 | 1443 | |
| 1631 | -theorem physicalStress_of_nonpos (C : ℝ) (d : TailData) (y0 : ℝ) | |
| 1632 | - {y : EdgeParam × ℝ} (hy : y.2 ≤ 0) : physicalStress C d y0 y = 0 := by | |
| 1633 | - rw [physicalStress_factorization, FlatCutoff.edge_of_nonpos 4 hy, zero_div, zero_smul] | |
| 1634 | - | |
| 1635 | -theorem physicalStress_normalizedParam (C : ℝ) (d : TailData) (y0 x : ℝ) | |
| 1636 | - {η : ℝ} (hη : η ^ 2 < 1) : | |
| 1637 | - physicalStress C d y0 (normalizedParam η, x) = profileStress C d y0 (η, x) := by | |
| 1638 | - exact Prod.ext (angularStress_normalizedParam C d y0 x hη) (axialStress_normalizedParam C d y0 x hη) | |
| 1639 | - | |
| 1640 | 1444 | /-! ## The genuine root-form cone on the terminal collar -/ |
| 1641 | 1445 | |
| 1642 | 1446 | noncomputable def profileSwirlCoefficient (C : ℝ) (d : TailData) (y0 : ℝ) |
| @@ -1654,22 +1458,4 @@ noncomputable def profileP (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) | ||
| 1654 | 1458 | noncomputable def profileJ (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) : ℝ := |
| 1655 | 1459 | profileAxialStress C d y0 y / profileSwirlCoefficient C d y0 y |
| 1656 | 1460 | |
| 1657 | -/-- Applying the exact true-cone equivalence to the actual terminal stress, | |
| 1658 | -with `P-v=Tθ/F` and `J=Tz/F`, rather than taking a large-amplitude limit. -/ | |
| 1659 | -theorem profile_true_cone {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : ℝ) : | |
| 1660 | - ∃ ε : ℝ, 0 < ε ∧ ∀ η ∈ Icc (-1 : ℝ) 1, ∀ x : ℝ, 0 < x → x < ε → | |
| 1661 | - 2 < profileP C d y0 (η, x) ∧ profileSpeed C d y0 (η, x) < | |
| 1662 | - ConeAlgebra.coneBound (profileP C d y0 (η, x)) (profileJ C d y0 (η, x)) := by | |
| 1663 | - obtain ⟨ε, hε, hb⟩ := profile_relative_cone hC d y0 | |
| 1664 | - refine ⟨ε, hε, ?_⟩ | |
| 1665 | - intro η hη x hx hxε | |
| 1666 | - obtain ⟨hT, hv, hm⟩ := hb η hη x hx hxε | |
| 1667 | - have hF := profileSwirlCoefficient_pos hC d y0 (y := (η, x)) hη | |
| 1668 | - apply (ConeAlgebra.true_cone_iff hv).mpr | |
| 1669 | - constructor | |
| 1670 | - · exact lt_add_of_pos_right _ (div_pos hT hF) | |
| 1671 | - · have hd := div_lt_div_of_pos_right hm (sq_pos_of_pos hF) | |
| 1672 | - simp only [profileP, profileJ, add_sub_cancel_left, div_pow] | |
| 1673 | - simpa only [mul_div_assoc] using hd | |
| 1674 | - | |
| 1675 | 1461 | end NavierStokes.TerminalEdgeFactor |
+0 −86 NavierStokes/TerminalHistoryBridge.lean View file
| @@ -41,92 +41,6 @@ theorem split_positive_integral {f : ℝ → ℝ} (hf : IntegrableOn f (Ioi 0)) | ||
| 41 | 41 | (setIntegral_union Ioc_disjoint_Ioi_same measurableSet_Ioi |
| 42 | 42 | (hf.mono_set Ioc_subset_Ioi_self) (hf.mono_set (Ioi_subset_Ioi hX))).symm |
| 43 | 43 | |
| 44 | -theorem angularHistory_integrable {F : Profile} {XR C : ℝ} | |
| 45 | - (w : CompensationWitness F XR C) {η X : ℝ} | |
| 46 | - (hη : η ∈ HeatedOutgoing.parameterDomain) (hX : 0 < X) : | |
| 47 | - IntegrableOn (fun u => HeatedOutgoing.H F XR w.coefficients (u,η)) (Ioc 0 X) := by | |
| 48 | - have hi := (OutgoingDilation.I_integrable F XR η X w.radius_pos hX).add | |
| 49 | - ((w.changeRow_integrable η 2 hη).mono_set Ioc_subset_Ioi_self) | |
| 50 | - apply IntegrableOn.congr_fun hi _ measurableSet_Ioc | |
| 51 | - intro u hu | |
| 52 | - change Real.sqrt (2*u) * OutgoingDilation.E F XR (u,η) + | |
| 53 | - Real.sqrt (2*u) * (HeatedOutgoing.E F XR w.coefficients (u,η) - OutgoingDilation.E F XR (u,η)) = | |
| 54 | - Real.sqrt (2*u) * HeatedOutgoing.E F XR w.coefficients (u,η) | |
| 55 | - ring | |
| 56 | - | |
| 57 | -/-- The exact renormalized angular moment determines the forward history | |
| 58 | -from the future, for the very same supplied compensation coefficients. -/ | |
| 59 | -theorem angularHistory_eq_power_sub_future {F : Profile} {XR C : ℝ} | |
| 60 | - (w : CompensationWitness F XR C) {η X : ℝ} | |
| 61 | - (hη : η ∈ HeatedOutgoing.parameterDomain) (hX : 0 < X) : | |
| 62 | - angularHistory F XR w.coefficients η X = powerHistory F XR X - | |
| 63 | - ∫ u in Ioi X, HeatedOutgoing.H F XR w.coefficients (u,η) - | |
| 64 | - OutgoingDilation.powerH F XR u := by | |
| 65 | - have hi := angularHistory_integrable w hη hX | |
| 66 | - have hr : IntegrableOn (fun u => HeatedOutgoing.H F XR w.coefficients (u,η) - | |
| 67 | - OutgoingDilation.powerH F XR u) (Ioc 0 X) := | |
| 68 | - (w.renormalized_integrable η hη).mono_set Ioc_subset_Ioi_self | |
| 69 | - have hp : IntegrableOn (OutgoingDilation.powerH F XR) (Ioc 0 X) := by | |
| 70 | - apply IntegrableOn.congr_fun (hi.sub hr) _ measurableSet_Ioc | |
| 71 | - intro u hu | |
| 72 | - dsimp | |
| 73 | - ring | |
| 74 | - have hsplit := split_positive_integral (w.renormalized_integrable η hη) hX.le | |
| 75 | - rw [w.renormalized_zero η hη,integral_sub hi hp] at hsplit | |
| 76 | - unfold angularHistory powerHistory | |
| 77 | - linarith | |
| 78 | - | |
| 79 | -theorem energyHistory_eq_neg_future {F : Profile} {XR C B : ℝ} | |
| 80 | - (hF : OutgoingProfile.Specification F B) (w : CompensationWitness F XR C) | |
| 81 | - {η X : ℝ} (hη : η ∈ HeatedOutgoing.parameterDomain) (hX : 0 ≤ X) : | |
| 82 | - energyHistory F XR w.coefficients η X = | |
| 83 | - -(∫ u in Ioi X, HeatedOutgoing.energyDensity F XR w.coefficients η u) := by | |
| 84 | - have hs := split_positive_integral (w.energy_integrable η hη) hX | |
| 85 | - have hz := w.energy_zero hF η hη | |
| 86 | - unfold HeatedOutgoing.totalS at hz | |
| 87 | - rw [hz] at hs | |
| 88 | - unfold energyHistory | |
| 89 | - linarith | |
| 90 | - | |
| 91 | -theorem square_integrable_after_switch {F : Profile} {XR C : ℝ} | |
| 92 | - (w : CompensationWitness F XR C) {η X : ℝ} | |
| 93 | - (hη : η ∈ HeatedOutgoing.parameterDomain) (hX : OutgoingDilation.switchRadius F XR ≤ X) : | |
| 94 | - IntegrableOn (fun u => HeatedOutgoing.E F XR w.coefficients (u,η)^2) (Ioi X) := by | |
| 95 | - have hXp : 0 < X := (OutgoingDilation.switchRadius_pos F XR w.radius_pos).trans_le hX | |
| 96 | - have hi := ((w.energy_integrable η hη).mono_set (Ioi_subset_Ioi hXp.le)).const_mul (-2) | |
| 97 | - apply IntegrableOn.congr_fun hi _ measurableSet_Ioi | |
| 98 | - intro u hu | |
| 99 | - dsimp only | |
| 100 | - rw [HeatedOutgoing.energyDensity, | |
| 101 | - HeatedOutgoing.U_after_switch F XR η u w.radius_pos (hX.trans hu.le)] | |
| 102 | - ring | |
| 103 | - | |
| 104 | -theorem energyHistory_eq_square_future {F : Profile} {XR C B : ℝ} | |
| 105 | - (hF : OutgoingProfile.Specification F B) (w : CompensationWitness F XR C) | |
| 106 | - {η X : ℝ} (hη : η ∈ HeatedOutgoing.parameterDomain) | |
| 107 | - (hX : OutgoingDilation.switchRadius F XR ≤ X) : | |
| 108 | - energyHistory F XR w.coefficients η X = | |
| 109 | - (1/2 : ℝ) * ∫ u in Ioi X, HeatedOutgoing.E F XR w.coefficients (u,η)^2 := by | |
| 110 | - have hXp : 0 < X := (OutgoingDilation.switchRadius_pos F XR w.radius_pos).trans_le hX | |
| 111 | - rw [energyHistory_eq_neg_future hF w hη hXp.le] | |
| 112 | - have he : (∫ u in Ioi X, HeatedOutgoing.energyDensity F XR w.coefficients η u) = | |
| 113 | - ∫ u in Ioi X, -(HeatedOutgoing.E F XR w.coefficients (u,η)^2/2) := by | |
| 114 | - apply setIntegral_congr_fun measurableSet_Ioi | |
| 115 | - intro u hu | |
| 116 | - rw [HeatedOutgoing.energyDensity, | |
| 117 | - HeatedOutgoing.U_after_switch F XR η u w.radius_pos (hX.trans hu.le)] | |
| 118 | - ring | |
| 119 | - rw [he,integral_neg,integral_div] | |
| 120 | - ring | |
| 121 | - | |
| 122 | -theorem transport_histories_zero_after_switch {F : Profile} {XR C : ℝ} | |
| 123 | - (w : CompensationWitness F XR C) (η : ℝ) {X : ℝ} | |
| 124 | - (hX : OutgoingDilation.switchRadius F XR ≤ X) : | |
| 125 | - HeatedOutgoing.U F XR (X,η) = 0 ∧ HeatedOutgoing.M F XR η X = 0 ∧ | |
| 126 | - HeatedOutgoing.J F XR w.coefficients η X = 0 := | |
| 127 | - w.after_pulse η X ((OutgoingDilation.switchRadius_pos F XR w.radius_pos).trans_le hX) | |
| 128 | - ((HeatedOutgoing.pulseEnd_le_switch F XR w.radius_pos).trans hX) | |
| 129 | - | |
| 130 | 44 | noncomputable def normalization (F : Profile) (XR : ℝ) : ℝ := |
| 131 | 45 | TerminalPressure.releasedNormalization F.data (OutgoingDilation.switchRadius F XR) |
| 132 | 46 | |
+0 −122 NavierStokes/TerminalPressure.lean View file
| @@ -844,12 +844,6 @@ noncomputable def outgoingPressure (C : ℝ) (d : OutgoingTail.TailData) (y0 : | ||
| 844 | 844 | SimilarityProfile.PhysicalProfile := |
| 845 | 845 | TerminalStress.canonicalPressure (TerminalStress.swirlCoefficient C d.h (outgoingTaper d y0)) |
| 846 | 846 | |
| 847 | -theorem outgoingPressure_contDiffAt (C : ℝ) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 848 | - {p : SimilarityProfile.PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : | |
| 849 | - ContDiffAt ℝ ∞ (outgoingPressure C d y0) p := | |
| 850 | - canonicalPressure_contDiffAt C d.h_pos d.h_lt_half ht hs (outgoingTaper_contDiff d y0) | |
| 851 | - (outgoingTaper_bounds d y0) (outgoingTaper_plateau d y0) | |
| 852 | - | |
| 853 | 847 | /-- Fully expanded formula for the actual pressure derivative needed in the |
| 854 | 848 | terminal edge chart. The integration coordinate is the physical `s=r^2/2`. -/ |
| 855 | 849 | theorem outgoingPressure_partialZ (C : ℝ) (d : OutgoingTail.TailData) (y0 : ℝ) |
| @@ -863,30 +857,6 @@ theorem outgoingPressure_partialZ (C : ℝ) (d : OutgoingTail.TailData) (y0 : | ||
| 863 | 857 | (outgoingTaper_bounds d y0) (outgoingTaper_plateau d y0) |
| 864 | 858 | simpa only [outgoingPressure, axialPressureIntegral, outgoingTaper_deriv, outgoingTaper] using he |
| 865 | 859 | |
| 866 | -theorem outgoingPressure_partialZ_bound (C : ℝ) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 867 | - {p : SimilarityProfile.PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : | |
| 868 | - |SimilarityProfile.partialZ (outgoingPressure C d y0) p| ≤ | |
| 869 | - (2 / (1 - 2 * d.h)) * SimilarityProfile.q d.h p ^ (-CoordinateAlgebra.D d.h) * | |
| 870 | - TerminalStress.physicalHeat C (1 + d.h) p ^ 2 * | |
| 871 | - (1 - OutgoingTail.tailShape d (Real.log (SimilarityProfile.X d.h p) - y0)) := by | |
| 872 | - have hb := canonicalPressure_partialZ_bound C d.h_pos d.h_lt_half ht hs | |
| 873 | - (outgoingTaper_contDiff d y0) (outgoingTaper_bounds d y0) (outgoingTaper_deriv_nonneg d y0) | |
| 874 | - (outgoingTaper_plateau d y0) | |
| 875 | - apply hb.trans | |
| 876 | - exact mul_le_mul_of_nonneg_right | |
| 877 | - (mul_le_mul_of_nonneg_right (logScaleDerivative_bound d.h_pos d.h_lt_half ht) (sq_nonneg _)) | |
| 878 | - (sub_nonneg.mpr (outgoingTaper_bounds d y0 _).2) | |
| 879 | - | |
| 880 | -theorem outgoingPressure_edge_bound (C : ℝ) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 881 | - {p : SimilarityProfile.PhysicalPoint} {δ : ℝ} (ht : p.1 < 1) (hs : 0 < p.2.1) | |
| 882 | - (hδ : Real.log (SimilarityProfile.X d.h p) = y0 + 3 - δ) : | |
| 883 | - |SimilarityProfile.partialZ (outgoingPressure C d y0) p| ≤ | |
| 884 | - (2 / (1 - 2 * d.h)) * SimilarityProfile.q d.h p ^ (-CoordinateAlgebra.D d.h) * | |
| 885 | - TerminalStress.physicalHeat C (1 + d.h) p ^ 2 * | |
| 886 | - (d.rho * FlatCutoff.edge 4 δ * TerminalStress.taperFactor δ) := by | |
| 887 | - have hb := outgoingPressure_partialZ_bound C d y0 ht hs | |
| 888 | - rwa [hδ, show y0 + 3 - δ - y0 = 3 - δ by ring, TerminalStress.tailShape_deficit] at hb | |
| 889 | - | |
| 890 | 860 | /-! ## Compact support of the terminal forcing and its positive mass -/ |
| 891 | 861 | |
| 892 | 862 | theorem integrableOn_Ioi_of_eventually_zero {g : ℝ → ℝ} {r : ℝ} (hr : 0 < r) |
| @@ -1413,96 +1383,4 @@ theorem released_terminal_tilt (d : OutgoingTail.TailData) {K y0 t z r R Λ : | ||
| 1413 | 1383 | mul_le_mul_of_nonneg_left (outgoingAmplitude_suppressed d) (by positivity) |
| 1414 | 1384 | _ = _ := by ring |
| 1415 | 1385 | |
| 1416 | -theorem released_terminal_tilt_small (d : OutgoingTail.TailData) {K y0 t z r R Λ ε : ℝ} | |
| 1417 | - (hK : 0 < K) (hh4 : d.h ≤ 1 / 4) (ht : t < 1) (hr : 0 < r) (hrR : r ≤ R) | |
| 1418 | - (hΛ : 1 ≤ Λ) (hRΛ : R ^ 2 ≤ Λ * r ^ 2) | |
| 1419 | - (hX : K ≤ SimilarityProfile.X d.h (TerminalStress.radiusPoint t r z)) | |
| 1420 | - (hR : y0 + 3 ≤ Real.log (SimilarityProfile.X d.h (TerminalStress.radiusPoint t R z))) | |
| 1421 | - (hinside : Real.log (SimilarityProfile.X d.h (TerminalStress.radiusPoint t r z)) < y0 + 3) | |
| 1422 | - (hsmall : d.h ≤ ε / (1 + 16 * Λ * (Λ - 1) * OutgoingTail.finalAngular d (d.releaseStart, 0))) : | |
| 1423 | - |axialBackwardStress (releasedNormalization d K) d.h (outgoingTaper d y0) t z r| / | |
| 1424 | - TerminalStress.terminalStress (releasedNormalization d K) d.h (outgoingTaper d y0) t z r ≤ ε := by | |
| 1425 | - have hb := (released_terminal_tilt d hK hh4 ht hr hrR hΛ hRΛ hX hR hinside).2 | |
| 1426 | - let B := 16 * Λ * (Λ - 1) * OutgoingTail.finalAngular d (d.releaseStart, 0) | |
| 1427 | - have hB : 0 ≤ B := mul_nonneg (mul_nonneg (mul_nonneg (by norm_num) (zero_le_one.trans hΛ)) | |
| 1428 | - (sub_nonneg.mpr hΛ)) (OutgoingTail.finalAngular_pos d _).le | |
| 1429 | - have hh1 : d.h ≤ 1 := by linarith | |
| 1430 | - have hhpow : d.h ^ 4 ≤ d.h := by | |
| 1431 | - calc | |
| 1432 | - _ = d.h * d.h ^ 3 := by ring | |
| 1433 | - _ ≤ d.h * 1 ^ 3 := mul_le_mul_of_nonneg_left (pow_le_pow_left₀ d.h_pos.le hh1 3) d.h_pos.le | |
| 1434 | - _ = _ := by ring | |
| 1435 | - have hs : d.h * (1 + B) ≤ ε := (le_div_iff₀ (by linarith : 0 < 1 + B)).mp hsmall | |
| 1436 | - apply hb.trans | |
| 1437 | - change B * d.h ^ 4 ≤ ε | |
| 1438 | - nlinarith [mul_le_mul_of_nonneg_left hhpow hB, d.h_pos] | |
| 1439 | - | |
| 1440 | -/-- Full physical residual formula after discharging the pressure regularity | |
| 1441 | -and improper-integral assumptions. The axial viscosity of the swirl is retained. -/ | |
| 1442 | -theorem outgoing_navierStokesResidual (C : ℝ) (d : OutgoingTail.TailData) (y0 : ℝ) | |
| 1443 | - {t : ℝ} {x : ProblemStatement.Space} (ht : t < 1) | |
| 1444 | - (hs : 0 < AxisymmetricFields.radialEnergy x) : | |
| 1445 | - ProblemStatement.navierStokesResidual | |
| 1446 | - (TerminalStress.terminalVelocity C d.h (outgoingTaper d y0)) | |
| 1447 | - (TerminalStress.terminalPressure C d.h (outgoingTaper d y0)) t x = | |
| 1448 | - AxisymmetricResidual.pack | |
| 1449 | - (-x 1 / Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * | |
| 1450 | - (TerminalStress.leadingResidual C d.h (outgoingTaper d y0) t | |
| 1451 | - (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) - | |
| 1452 | - TerminalStress.axialViscosity C d.h (outgoingTaper d y0) (AxisymmetricFields.profilePoint t x))) | |
| 1453 | - (x 0 / Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * | |
| 1454 | - (TerminalStress.leadingResidual C d.h (outgoingTaper d y0) t | |
| 1455 | - (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) - | |
| 1456 | - TerminalStress.axialViscosity C d.h (outgoingTaper d y0) (AxisymmetricFields.profilePoint t x))) | |
| 1457 | - (SimilarityProfile.partialZ (outgoingPressure C d y0) (AxisymmetricFields.profilePoint t x)) := by | |
| 1458 | - let a := AxisymmetricFields.radialEnergy x / 2 | |
| 1459 | - have ha : 0 < a := by dsimp [a]; positivity | |
| 1460 | - have hi := swirlCoefficient_sq_integrable C (p := (t, (a, x 2))) d.h_pos d.h_lt_half ht ha | |
| 1461 | - (outgoingTaper_contDiff d y0).continuous (outgoingTaper_bounds d y0) | |
| 1462 | - have hc : ContinuousOn (fun s => TerminalStress.swirlCoefficient C d.h (outgoingTaper d y0) | |
| 1463 | - (t, (s, x 2)) ^ 2) (Ioi a) := by | |
| 1464 | - intro s hs' | |
| 1465 | - have hlocal := TerminalStress.swirlCoefficient_contDiffAt C | |
| 1466 | - (p := (t, (s, x 2))) (f := outgoingTaper d y0) d.h_pos d.h_lt_half ht (ha.trans hs') | |
| 1467 | - ((outgoingTaper_contDiff d y0).contDiffAt.of_le (WithTop.coe_le_coe.mpr le_top)) | |
| 1468 | - exact (((hlocal.comp s (contDiffAt_const.prodMk | |
| 1469 | - (contDiffAt_id.prodMk contDiffAt_const))).continuousAt).pow 2).continuousWithinAt | |
| 1470 | - exact TerminalStress.terminal_navierStokesResidual C d.h_pos d.h_lt_half ht hs | |
| 1471 | - ((outgoingTaper_contDiff d y0).contDiffAt.of_le (WithTop.coe_le_coe.mpr le_top)) | |
| 1472 | - (show a < AxisymmetricFields.radialEnergy x by dsimp [a]; linarith) hi hc | |
| 1473 | - ((outgoingPressure_contDiffAt C d y0 ht hs).differentiableAt (by simp)) | |
| 1474 | - | |
| 1475 | -/-- The backward axial primitive has the required cylindrical divergence, | |
| 1476 | -computed from actual derivatives of the canonical pressure. -/ | |
| 1477 | -theorem axialBackwardStress_divergence {C h t z r R Y : ℝ} {f : ℝ → ℝ} | |
| 1478 | - (hC : 0 < C) (hh : 0 < h) (hh1 : h < 1 / 2) (ht : t < 1) | |
| 1479 | - (hr : 0 < r) (hrR : r ≤ R) (hf : ContDiff ℝ ∞ f) | |
| 1480 | - (hb : ∀ y, 0 ≤ f y ∧ f y ≤ 1) (hmono : ∀ y, 0 ≤ deriv f y) | |
| 1481 | - (hplateau : ∀ y, Y ≤ y → f y = 1) | |
| 1482 | - (hR : Y ≤ Real.log (SimilarityProfile.X h (TerminalStress.radiusPoint t R z))) : | |
| 1483 | - deriv (axialBackwardStress C h f t z) r + axialBackwardStress C h f t z r / r = | |
| 1484 | - -SimilarityProfile.partialZ (TerminalStress.canonicalPressure | |
| 1485 | - (TerminalStress.swirlCoefficient C h f)) (TerminalStress.radiusPoint t r z) := by | |
| 1486 | - let g : ℝ → ℝ := fun s => SimilarityProfile.partialZ (TerminalStress.canonicalPressure | |
| 1487 | - (TerminalStress.swirlCoefficient C h f)) (t, (s, z)) | |
| 1488 | - have ha : 0 < (r / 2) ^ 2 / 2 := by positivity | |
| 1489 | - have hab : (r / 2) ^ 2 / 2 < r ^ 2 / 2 := by nlinarith [sq_pos_of_pos hr] | |
| 1490 | - have hi : IntegrableOn g (Ioi ((r / 2) ^ 2 / 2)) := | |
| 1491 | - (axialBackwardStress_bound hC hh hh1 ht (by positivity : 0 < r / 2) | |
| 1492 | - (by linarith : r / 2 ≤ R) hf hb hmono hplateau hR).1 | |
| 1493 | - have hc : ContinuousOn g (Ioi ((r / 2) ^ 2 / 2)) := by | |
| 1494 | - intro s hs | |
| 1495 | - exact (((canonicalPressure_partialZ_contDiffAt C (p := (t, (s, z))) hh hh1 ht | |
| 1496 | - (ha.trans hs) hf hb hplateau).comp s | |
| 1497 | - (contDiffAt_const.prodMk (contDiffAt_id.prodMk contDiffAt_const))).continuousAt).continuousWithinAt | |
| 1498 | - have hd := (TerminalStress.neg_tailIntegral_hasDerivAt hab hi hc).fun_neg | |
| 1499 | - simp only [neg_neg] at hd | |
| 1500 | - have hdr := hd.comp r (RadialHeatProfile.radiusSquared_hasDerivAt r) | |
| 1501 | - have hquot := hdr.fun_div (hasDerivAt_id r) hr.ne' | |
| 1502 | - change HasDerivAt (axialBackwardStress C h f t z) _ r at hquot | |
| 1503 | - rw [hquot.deriv] | |
| 1504 | - change _ = -g (r ^ 2 / 2) | |
| 1505 | - dsimp only [axialBackwardStress, Function.comp_apply, id_eq] | |
| 1506 | - field_simp [hr.ne'] ; ring | |
| 1507 | - | |
| 1508 | 1386 | end NavierStokes.TerminalPressure |
+0 −186 NavierStokes/TerminalStress.lean View file
| @@ -88,25 +88,6 @@ theorem correction_nonneg {K f : ℝ → ℝ} {r : ℝ} (hr : 0 ≤ r) | ||
| 88 | 88 | exact sub_nonneg.mpr ((mul_nonpos_of_nonneg_of_nonpos (sq_nonneg r) hKr).trans |
| 89 | 89 | (mul_nonneg hr hK)) |
| 90 | 90 | |
| 91 | -/-- The backward stress controls the positive radial boundary term. -/ | |
| 92 | -theorem backwardStress_ge_boundary {K f T : ℝ → ℝ} {r : ℝ} (hr : 0 < r) | |
| 93 | - (hK : ∀ u ∈ Ici r, DifferentiableAt ℝ K u) | |
| 94 | - (hf : ∀ u ∈ Ici r, ContDiffAt ℝ 2 f u) | |
| 95 | - (hv : IntegrableOn (fun u => u ^ 2 * viscousResidual K f u) (Ioi r)) | |
| 96 | - (hc : IntegrableOn (correction K f) (Ioi r)) | |
| 97 | - (ht : IntegrableOn (fun u => u ^ 2 * T u) (Ioi r)) | |
| 98 | - (hboundary : Tendsto (boundary K f) atTop (𝓝 0)) | |
| 99 | - (hKpos : ∀ u ∈ Ioi r, 0 ≤ K u) (hKdec : ∀ u ∈ Ioi r, deriv K u ≤ 0) | |
| 100 | - (hfinc : ∀ u ∈ Ioi r, 0 ≤ deriv f u) (hTpos : ∀ u ∈ Ioi r, 0 ≤ T u) : | |
| 101 | - K r * deriv f r ≤ backwardStress (fun u => T u + viscousResidual K f u) r := by | |
| 102 | - rw [backwardStress_formula hr hK hf hv hc ht hboundary] | |
| 103 | - have ht0 : 0 ≤ ∫ u in Ioi r, u ^ 2 * T u := | |
| 104 | - setIntegral_nonneg measurableSet_Ioi (fun u hu => mul_nonneg (sq_nonneg u) (hTpos u hu)) | |
| 105 | - have hc0 : 0 ≤ ∫ u in Ioi r, correction K f u := | |
| 106 | - setIntegral_nonneg measurableSet_Ioi (fun u hu => | |
| 107 | - correction_nonneg (hr.le.trans hu.le) (hKpos u hu) (hKdec u hu) (hfinc u hu)) | |
| 108 | - exact le_add_of_nonneg_right (div_nonneg (add_nonneg ht0 hc0) (sq_nonneg r)) | |
| 109 | - | |
| 110 | 91 | /-- A precise version of the time-integral lower comparison. The extra |
| 111 | 92 | coefficient comparison is distinct from mere monotonicity of `K`. -/ |
| 112 | 93 | theorem backwardStress_ge_mass {K f T : ℝ → ℝ} {r c : ℝ} (hr : 0 < r) |
| @@ -529,16 +510,6 @@ theorem pureSwirl_navierStokesResidual {F P : PhysicalProfile} {t : ℝ} {x : Pr | ||
| 529 | 510 | · ring |
| 530 | 511 | · ring |
| 531 | 512 | |
| 532 | -/-- Exact axial viscosity retained in the terminal physical residual. -/ | |
| 533 | -noncomputable def axialViscosity (C h : ℝ) (f : ℝ → ℝ) (p : PhysicalPoint) : ℝ := | |
| 534 | - Real.sqrt (2 * p.2.1) * partialZ (partialZ (swirlCoefficient C h f)) p | |
| 535 | - | |
| 536 | -noncomputable def terminalVelocity (C h : ℝ) (f : ℝ → ℝ) : ProblemStatement.VelocityField := | |
| 537 | - AxisymmetricResidual.velocity (fun _ => 0) (swirlCoefficient C h f) (fun _ => 0) | |
| 538 | - | |
| 539 | -noncomputable def terminalPressure (C h : ℝ) (f : ℝ → ℝ) : ProblemStatement.PressureField := | |
| 540 | - AxisymmetricResidual.pressure (canonicalPressure (swirlCoefficient C h f)) | |
| 541 | - | |
| 542 | 513 | theorem radiusPoint_profilePoint {t : ℝ} {x : ProblemStatement.Space} |
| 543 | 514 | (hs : 0 ≤ AxisymmetricFields.radialEnergy x) : |
| 544 | 515 | radiusPoint t (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) = |
| @@ -547,74 +518,6 @@ theorem radiusPoint_profilePoint {t : ℝ} {x : ProblemStatement.Space} | ||
| 547 | 518 | rw [Real.sq_sqrt (show 0 ≤ 2 * AxisymmetricFields.radialEnergy x by positivity)] |
| 548 | 519 | simp |
| 549 | 520 | |
| 550 | -/-- Full terminal residual, with canonical radial balance and the omitted | |
| 551 | -axial-viscosity term displayed. The pressure's joint differentiability and | |
| 552 | -the tail-integral hypotheses are explicit and do not impose a residual identity. -/ | |
| 553 | -theorem terminal_navierStokesResidual (C : ℝ) {h t : ℝ} {x : ProblemStatement.Space} | |
| 554 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ht : t < 1) | |
| 555 | - (hs : 0 < AxisymmetricFields.radialEnergy x) {f : ℝ → ℝ} | |
| 556 | - (hf : ContDiffAt ℝ 2 f | |
| 557 | - (Real.log (SimilarityProfile.X h (AxisymmetricFields.profilePoint t x)))) | |
| 558 | - {a : ℝ} (ha : a < AxisymmetricFields.radialEnergy x) | |
| 559 | - (hi : IntegrableOn (fun s => swirlCoefficient C h f (t, (s, x 2)) ^ 2) (Ioi a)) | |
| 560 | - (hc : ContinuousOn (fun s => swirlCoefficient C h f (t, (s, x 2)) ^ 2) (Ioi a)) | |
| 561 | - (hP : DifferentiableAt ℝ (canonicalPressure (swirlCoefficient C h f)) | |
| 562 | - (AxisymmetricFields.profilePoint t x)) : | |
| 563 | - ProblemStatement.navierStokesResidual (terminalVelocity C h f) (terminalPressure C h f) t x = | |
| 564 | - AxisymmetricResidual.pack | |
| 565 | - (-x 1 / Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * | |
| 566 | - (leadingResidual C h f t (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) - | |
| 567 | - axialViscosity C h f (AxisymmetricFields.profilePoint t x))) | |
| 568 | - (x 0 / Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * | |
| 569 | - (leadingResidual C h f t (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) - | |
| 570 | - axialViscosity C h f (AxisymmetricFields.profilePoint t x))) | |
| 571 | - (partialZ (canonicalPressure (swirlCoefficient C h f)) (AxisymmetricFields.profilePoint t x)) := by | |
| 572 | - have hF : ContDiffAt ℝ 2 (swirlCoefficient C h f) (AxisymmetricFields.profilePoint t x) := | |
| 573 | - swirlCoefficient_contDiffAt C (p := AxisymmetricFields.profilePoint t x) (f := f) hh hh1 ht hs hf | |
| 574 | - have hpS : partialS (canonicalPressure (swirlCoefficient C h f)) (AxisymmetricFields.profilePoint t x) = | |
| 575 | - swirlCoefficient C h f (AxisymmetricFields.profilePoint t x) ^ 2 := | |
| 576 | - canonicalPressure_partialS (F := swirlCoefficient C h f) (p := AxisymmetricFields.profilePoint t x) ha hi hc hP | |
| 577 | - have hr : 0 < Real.sqrt (2 * AxisymmetricFields.radialEnergy x) := Real.sqrt_pos.2 (by positivity) | |
| 578 | - have hpoint := radiusPoint_profilePoint (t := t) hs.le | |
| 579 | - have hf' : ContDiffAt ℝ 2 f | |
| 580 | - (Real.log (SimilarityProfile.X h (radiusPoint t (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2)))) := by | |
| 581 | - rw [hpoint] | |
| 582 | - exact hf | |
| 583 | - have hlead := swirlCoefficient_leading_residual C (h := h) (t := t) | |
| 584 | - (r := Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (z := x 2) (f := f) hh hh1 ht hr hf' | |
| 585 | - rw [hpoint] at hlead | |
| 586 | - have hcoef : residualCoefficient (swirlCoefficient C h f) (AxisymmetricFields.profilePoint t x) = | |
| 587 | - (leadingResidual C h f t (Real.sqrt (2 * AxisymmetricFields.radialEnergy x)) (x 2) - | |
| 588 | - axialViscosity C h f (AxisymmetricFields.profilePoint t x)) / | |
| 589 | - Real.sqrt (2 * AxisymmetricFields.radialEnergy x) := by | |
| 590 | - apply (eq_div_iff hr.ne').2 | |
| 591 | - dsimp [residualCoefficient, axialViscosity] | |
| 592 | - change _ = _ - Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * _ | |
| 593 | - linear_combination hlead | |
| 594 | - unfold terminalVelocity terminalPressure | |
| 595 | - rw [pureSwirl_navierStokesResidual (F := swirlCoefficient C h f) | |
| 596 | - (P := canonicalPressure (swirlCoefficient C h f)) hF hP, | |
| 597 | - hpS, sub_self, mul_zero, mul_zero, zero_sub, zero_add, hcoef] | |
| 598 | - apply congrArg₂ (fun a b : ℝ => AxisymmetricResidual.pack a b | |
| 599 | - (partialZ (canonicalPressure (swirlCoefficient C h f)) (AxisymmetricFields.profilePoint t x))) | |
| 600 | - · ring | |
| 601 | - · ring | |
| 602 | - | |
| 603 | -/-- A backward stress solves the actual radial divergence equation without | |
| 604 | -any hypothesis about its integral over the whole radius. -/ | |
| 605 | -theorem backwardStress_divergence {R : ℝ → ℝ} {a r : ℝ} (hr : r ≠ 0) (ha : a < r) | |
| 606 | - (hi : IntegrableOn (fun u => u ^ 2 * R u) (Ioi a)) | |
| 607 | - (hc : ContinuousOn (fun u => u ^ 2 * R u) (Ioi a)) : | |
| 608 | - deriv (backwardStress R) r + 2 * backwardStress R r / r = -R r := by | |
| 609 | - have hd := (neg_tailIntegral_hasDerivAt ha hi hc).fun_neg | |
| 610 | - have hd' : HasDerivAt (fun x => ∫ u in Ioi x, u ^ 2 * R u) (-(r ^ 2 * R r)) r := by | |
| 611 | - simpa only [neg_neg] using hd | |
| 612 | - have hT := hd'.fun_div ((hasDerivAt_id r).fun_pow 2) (pow_ne_zero 2 hr) | |
| 613 | - rw [show deriv (backwardStress R) r = _ from hT.deriv] | |
| 614 | - unfold backwardStress | |
| 615 | - simp only [Nat.cast_ofNat, Nat.reduceSub, pow_one, mul_one, id_eq] | |
| 616 | - field_simp ; ring | |
| 617 | - | |
| 618 | 521 | noncomputable def forwardStress (R : ℝ → ℝ) (r : ℝ) : ℝ := |
| 619 | 522 | -(∫ u in (0 : ℝ)..r, u ^ 2 * R u) / r ^ 2 |
| 620 | 523 | |
| @@ -648,23 +551,6 @@ theorem leadingResidual_eq_time_add (C h : ℝ) (f : ℝ → ℝ) (t r z : ℝ) | ||
| 648 | 551 | rw [mul_div_assoc] |
| 649 | 552 | rfl |
| 650 | 553 | |
| 651 | -theorem timeResidual_nonneg {C h t r z : ℝ} (hC : 0 < C) (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 652 | - (ht : t < 1) (hr : 0 < r) {f : ℝ → ℝ} | |
| 653 | - (hf : 0 ≤ deriv f (Real.log (SimilarityProfile.X h (radiusPoint t r z)))) : | |
| 654 | - 0 ≤ timeResidual C h f t z r := | |
| 655 | - div_nonneg (mul_nonneg (heatAmplitude_pos hC (by linarith) ht hr).le hf) | |
| 656 | - (timeDenominator_pos hh hh1 ht).le | |
| 657 | - | |
| 658 | -theorem terminal_correction_nonneg {C h t r z : ℝ} (hC : 0 < C) (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 659 | - (ht : t < 1) (hr : 0 < r) {f : ℝ → ℝ} | |
| 660 | - (hf : DifferentiableAt ℝ f (Real.log (SimilarityProfile.X h (radiusPoint t r z)))) | |
| 661 | - (hfpos : 0 ≤ deriv f (Real.log (SimilarityProfile.X h (radiusPoint t r z)))) : | |
| 662 | - 0 ≤ correction (heatAmplitude C (1 + h) t) (radialSlice (flattening h f) t z) r := by | |
| 663 | - apply correction_nonneg hr.le (heatAmplitude_pos hC (by linarith) ht hr).le | |
| 664 | - (heatAmplitude_deriv_neg hC (by linarith) ht hr).le | |
| 665 | - rw [(flattening_radial_hasDerivAt hh hh1 ht hr hf).deriv] | |
| 666 | - exact div_nonneg (mul_nonneg (by norm_num) hfpos) hr.le | |
| 667 | - | |
| 668 | 554 | theorem heatAmplitude_antitoneOn {C a t : ℝ} (hC : 0 < C) (ha : 1 < a) (ht : t < 1) : |
| 669 | 555 | AntitoneOn (heatAmplitude C a t) (Ioi 0) := by |
| 670 | 556 | apply antitoneOn_of_deriv_nonpos (convex_Ioi 0) |
| @@ -751,46 +637,6 @@ theorem terminalStress_formula (C : ℝ) {h t r z : ℝ} | ||
| 751 | 637 | rw [he] |
| 752 | 638 | exact backwardStress_formula hr hK hF hv hc hT hb |
| 753 | 639 | |
| 754 | -theorem terminalStress_ge_boundary {C h t r z : ℝ} | |
| 755 | - (hC : 0 < C) (hh : 0 < h) (hh1 : h < 1 / 2) (ht : t < 1) (hr : 0 < r) | |
| 756 | - {f : ℝ → ℝ} (hf : ContDiff ℝ 2 f) (hmono : ∀ y, 0 ≤ deriv f y) | |
| 757 | - (hv : IntegrableOn (fun u => u ^ 2 * viscousResidual (heatAmplitude C (1 + h) t) | |
| 758 | - (radialSlice (flattening h f) t z) u) (Ioi r)) | |
| 759 | - (hc : IntegrableOn (correction (heatAmplitude C (1 + h) t) | |
| 760 | - (radialSlice (flattening h f) t z)) (Ioi r)) | |
| 761 | - (hT : IntegrableOn (fun u => u ^ 2 * timeResidual C h f t z u) (Ioi r)) | |
| 762 | - (hb : Tendsto (boundary (heatAmplitude C (1 + h) t) | |
| 763 | - (radialSlice (flattening h f) t z)) atTop (𝓝 0)) : | |
| 764 | - heatAmplitude C (1 + h) t r * deriv (radialSlice (flattening h f) t z) r ≤ | |
| 765 | - terminalStress C h f t z r := by | |
| 766 | - rw [terminalStress_formula C hh hh1 ht hr hf hv hc hT hb] | |
| 767 | - apply le_add_of_nonneg_right | |
| 768 | - apply div_nonneg _ (sq_nonneg r) | |
| 769 | - apply add_nonneg | |
| 770 | - · apply setIntegral_nonneg measurableSet_Ioi | |
| 771 | - intro u hu | |
| 772 | - exact mul_nonneg (sq_nonneg u) (timeResidual_nonneg hC hh hh1 ht (hr.trans hu) (hmono _)) | |
| 773 | - · apply setIntegral_nonneg measurableSet_Ioi | |
| 774 | - intro u hu | |
| 775 | - exact terminal_correction_nonneg hC hh hh1 ht (hr.trans hu) | |
| 776 | - (hf.differentiable (by norm_num) _) (hmono _) | |
| 777 | - | |
| 778 | -theorem terminalStress_nonneg {C h t r z : ℝ} | |
| 779 | - (hC : 0 < C) (hh : 0 < h) (hh1 : h < 1 / 2) (ht : t < 1) (hr : 0 < r) | |
| 780 | - {f : ℝ → ℝ} (hf : ContDiff ℝ 2 f) (hmono : ∀ y, 0 ≤ deriv f y) | |
| 781 | - (hv : IntegrableOn (fun u => u ^ 2 * viscousResidual (heatAmplitude C (1 + h) t) | |
| 782 | - (radialSlice (flattening h f) t z) u) (Ioi r)) | |
| 783 | - (hc : IntegrableOn (correction (heatAmplitude C (1 + h) t) | |
| 784 | - (radialSlice (flattening h f) t z)) (Ioi r)) | |
| 785 | - (hT : IntegrableOn (fun u => u ^ 2 * timeResidual C h f t z u) (Ioi r)) | |
| 786 | - (hb : Tendsto (boundary (heatAmplitude C (1 + h) t) | |
| 787 | - (radialSlice (flattening h f) t z)) atTop (𝓝 0)) : | |
| 788 | - 0 ≤ terminalStress C h f t z r := by | |
| 789 | - apply le_trans _ (terminalStress_ge_boundary hC hh hh1 ht hr hf hmono hv hc hT hb) | |
| 790 | - apply mul_nonneg (heatAmplitude_pos hC (by linarith) ht hr).le | |
| 791 | - rw [(flattening_radial_hasDerivAt hh hh1 ht hr (hf.differentiable (by norm_num) _)).deriv] | |
| 792 | - exact div_nonneg (mul_nonneg (by norm_num) (hmono _)) hr.le | |
| 793 | - | |
| 794 | 640 | /-- A plateau at infinity automatically removes the radial boundary term, |
| 795 | 641 | irrespective of the behavior of the heat carrier there. -/ |
| 796 | 642 | theorem deriv_eventually_zero_of_eventually_const {g : ℝ → ℝ} {c : ℝ} |
| @@ -918,38 +764,6 @@ section ParametricEdge | ||
| 918 | 764 | |
| 919 | 765 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 920 | 766 | |
| 921 | -/-- The boundary term and actual backward integrals after the edge change of variables. -/ | |
| 922 | -noncomputable def edgeStress (c : ℝ) (b a : E × ℝ → ℝ) (y : E × ℝ) : ℝ := | |
| 923 | - (FlatCutoff.edge c y.2 / y.2 ^ 3) * b y + ParametricFlatFactor.primitive c 3 a y | |
| 924 | - | |
| 925 | -noncomputable def normalizedEdgeStress (c : ℝ) (b a : E × ℝ → ℝ) (y : E × ℝ) : ℝ := | |
| 926 | - b y + y.2 ^ 3 * ParametricFlatFactor.factor c 3 a y | |
| 927 | - | |
| 928 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] in | |
| 929 | -/-- Actual integral factorization, including auxiliary parameters. -/ | |
| 930 | -theorem edgeStress_factorization (c : ℝ) (b a : E × ℝ → ℝ) (y : E × ℝ) : | |
| 931 | - edgeStress c b a y = (FlatCutoff.edge c y.2 / y.2 ^ 3) * normalizedEdgeStress c b a y := by | |
| 932 | - rw [edgeStress, ParametricFlatFactor.primitive_eq_scale_mul_factor] | |
| 933 | - unfold FlatPrimitive.scale normalizedEdgeStress | |
| 934 | - ring | |
| 935 | - | |
| 936 | -theorem normalizedEdgeStress_contDiff {c : ℝ} (hc : 0 < c) {b a : E × ℝ → ℝ} | |
| 937 | - (hb : ContDiff ℝ ∞ b) (ha : ContDiff ℝ ∞ a) : | |
| 938 | - ContDiff ℝ ∞ (normalizedEdgeStress c b a) := | |
| 939 | - hb.add ((contDiff_snd.pow 3).mul (ParametricFlatFactor.factor_contDiff hc 3 ha)) | |
| 940 | - | |
| 941 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] in | |
| 942 | -theorem normalizedEdgeStress_zero (c : ℝ) (b a : E × ℝ → ℝ) (p : E) : | |
| 943 | - normalizedEdgeStress c b a (p, 0) = b (p, 0) := by simp [normalizedEdgeStress] | |
| 944 | - | |
| 945 | -theorem normalizedEdgeStress_eventually_pos {c : ℝ} (hc : 0 < c) {b a : E × ℝ → ℝ} | |
| 946 | - (hb : ContDiff ℝ ∞ b) (ha : ContDiff ℝ ∞ a) (p : E) (hbp : 0 < b (p, 0)) : | |
| 947 | - ∀ᶠ y in 𝓝 (p, 0), 0 < normalizedEdgeStress c b a y := by | |
| 948 | - have hp : 0 < normalizedEdgeStress c b a (p, 0) := by | |
| 949 | - rw [normalizedEdgeStress_zero] | |
| 950 | - exact hbp | |
| 951 | - exact (normalizedEdgeStress_contDiff hc hb ha).continuous.continuousAt.eventually (Ioi_mem_nhds hp) | |
| 952 | - | |
| 953 | 767 | end ParametricEdge |
| 954 | 768 | |
| 955 | 769 | end NavierStokes.TerminalStress |
+14 −84 NavierStokes/TrueConeLoop.lean View file
| @@ -133,10 +133,6 @@ theorem varianceRoot_sq (a δ v : ℝ) (ha : 0 < a) : | ||
| 133 | 133 | varianceRoot a δ v ^ 2 = correction δ v / a := by |
| 134 | 134 | simp only [varianceRoot, div_pow, Real.sq_sqrt ha.le, correction] |
| 135 | 135 | |
| 136 | -theorem varianceRoot_zero (a δ v : ℝ) (hδ : 0 < δ) (hv : highSpeed δ ≤ v) : | |
| 137 | - varianceRoot a δ v = 0 := by | |
| 138 | - simp only [varianceRoot, correctionRoot_zero δ v hδ hv, zero_div] | |
| 139 | - | |
| 140 | 136 | theorem varianceRoot_bound (amin a δ v : ℝ) (hmin : 0 < amin) (ha : amin ≤ a) |
| 141 | 137 | (hδ : 0 < δ) (hδ₁ : δ ≤ 1) (hv : 0 < v) : |
| 142 | 138 | varianceRoot a δ v ≤ Real.sqrt (3 / amin) := by |
| @@ -229,10 +225,6 @@ theorem seedSpeed_nominal_of_inactive (a m δ : ℝ) | ||
| 229 | 225 | simp only [seedSpeed, correctedSpeed, correction, correctionRoot, hzero, |
| 230 | 226 | zero_mul, zero_pow (by decide : (2 : ℕ) ≠ 0), add_zero] |
| 231 | 227 | |
| 232 | -theorem seedTilt_nominal (a m d p δ : ℝ) (hδ : 0 < δ) | |
| 233 | - (hh : highSpeed δ ≤ nominalSpeed a m) : seedTilt a m d p δ = (fun _ => m) := | |
| 234 | - seedTilt_nominal_of_inactive a m d p δ (speedCutoff_zero δ _ hδ hh) | |
| 235 | - | |
| 236 | 228 | theorem seed_cone (a m p₁ p₂ d δ R : ℝ) (ha : 0 < a) (hd : 0 < d) |
| 237 | 229 | (hδ : 0 < δ) (hδ₁ : δ ≤ 1) (hR : Real.sqrt (3 / a) ≤ R) |
| 238 | 230 | (hmargin : 2 ≤ p₁ + p₂ * m - d) |
| @@ -278,14 +270,16 @@ def InTrueCone (p₁ p₂ A C : ℝ) : Prop := | ||
| 278 | 270 | 0 < A ∧ 2 < A * (1 + (C / A) ^ 2) ∧ 2 < p₁ + p₂ * (C / A) ∧ |
| 279 | 271 | A * (1 + (C / A) ^ 2) < coneBound (p₁ + p₂ * (C / A)) (p₂ - p₁ * (C / A)) |
| 280 | 272 | |
| 281 | -/-- Positive additive margins for all four scalar inequalities, including | |
| 282 | -the positive first shear component. -/ | |
| 273 | +/-- The vector `Ψ` of cone gaps (4.35), as it appears in Lemma C.1, Appendix C.1: | |
| 274 | +positive additive margins for all four scalar inequalities, including the | |
| 275 | +positive first shear component. -/ | |
| 283 | 276 | def HasConeMargin (ε p₁ p₂ A C : ℝ) : Prop := |
| 284 | 277 | ε ≤ A ∧ ε ≤ A * (1 + (C / A) ^ 2) - 2 ∧ ε ≤ p₁ + p₂ * (C / A) - 2 ∧ |
| 285 | 278 | ε ≤ coneBound (p₁ + p₂ * (C / A)) (p₂ - p₁ * (C / A)) - A * (1 + (C / A) ^ 2) |
| 286 | 279 | |
| 287 | -/-- Compact slow parameters and a periodic fast parameter turn strict | |
| 288 | -pointwise cone inequalities into one positive margin at every fast angle. -/ | |
| 280 | +/-- The compactness step of Lemma C.1, Appendix C.1, (C.2): compact slow | |
| 281 | +parameters and a periodic fast parameter turn strict pointwise cone | |
| 282 | +inequalities into one positive margin at every fast angle. -/ | |
| 289 | 283 | theorem compact_periodic_trueCone_margins {X : Type*} [TopologicalSpace X] |
| 290 | 284 | (p₁ p₂ : X → ℝ) (A C : X × ℝ → ℝ) {K : Set X} (hK : IsCompact K) |
| 291 | 285 | (hp₁ : ContinuousOn p₁ K) (hp₂ : ContinuousOn p₂ K) |
| @@ -331,12 +325,6 @@ theorem compact_periodic_trueCone_margins {X : Type*} [TopologicalSpace X] | ||
| 331 | 325 | (min_le_right _ _).trans (hmc (x, θ) hmem).2.1, |
| 332 | 326 | (min_le_right _ _).trans (hmc (x, θ) hmem).2.2⟩ |
| 333 | 327 | |
| 334 | -theorem constructed_smooth (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ : 0 < δ) : | |
| 335 | - ContDiff ℝ ∞ (constructedA a m d p δ ha hd hδ) ∧ | |
| 336 | - ContDiff ℝ ∞ (constructedC a m d p δ ha hd hδ) := by | |
| 337 | - have h := smooth_loop_shears (seedTilt a m d p δ) (seedSpeed a m δ) (seedTilt_contDiff a m d p δ) | |
| 338 | - exact ⟨rephase_contDiff _ _ h.1, rephase_contDiff _ _ h.2⟩ | |
| 339 | - | |
| 340 | 328 | theorem constructed_periodic (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ : 0 < δ) : |
| 341 | 329 | Function.Periodic (constructedA a m d p δ ha hd hδ) 1 ∧ |
| 342 | 330 | Function.Periodic (constructedC a m d p δ ha hd hδ) 1 := by |
| @@ -405,37 +393,6 @@ theorem constructed_nominal (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ | ||
| 405 | 393 | have hnz := ne_of_gt (one_add_sq_pos m) |
| 406 | 394 | field_simp |
| 407 | 395 | |
| 408 | -/-- Fixed-parameter true-cone realization, with no assumed loop or margin. | |
| 409 | -The nominal data need only satisfy the relaxed cone. -/ | |
| 410 | -theorem exists_trueCone_loop (a m p₁ p₂ : ℝ) (ha : 0 < a) | |
| 411 | - (hP : 2 < p₁ + p₂ * m) | |
| 412 | - (hrelaxed : nominalSpeed a m < coneBound (p₁ + p₂ * m) (p₂ - p₁ * m)) : | |
| 413 | - ∃ A C : ℝ → ℝ, ContDiff ℝ ∞ A ∧ ContDiff ℝ ∞ C ∧ | |
| 414 | - Function.Periodic A 1 ∧ Function.Periodic C 1 ∧ | |
| 415 | - (∫ φ in (0 : ℝ)..1, A φ) = a ∧ (∫ φ in (0 : ℝ)..1, C φ) = a * m ∧ | |
| 416 | - ∀ φ, InTrueCone p₁ p₂ (A φ) (C φ) := by | |
| 417 | - let d := (p₁ + p₂ * m - 2) / 2 | |
| 418 | - have hd : 0 < d := by dsimp [d]; linarith | |
| 419 | - have hmargin : 2 ≤ p₁ + p₂ * m - d := by dsimp [d]; linarith | |
| 420 | - let R := Real.sqrt (3 / a) | |
| 421 | - obtain ⟨ε, hε, hU⟩ := uniform_tilt_cone_margin (X := ℝ) (K := {0}) isCompact_singleton | |
| 422 | - (fun _ => m) (fun _ => p₁) (fun _ => p₂) continuous_const continuous_const continuous_const | |
| 423 | - d R hd (fun _ _ => hmargin) | |
| 424 | - let δ := min ε 1 | |
| 425 | - have hδ : 0 < δ := lt_min hε (by norm_num) | |
| 426 | - have hδ₁ : δ ≤ 1 := min_le_right _ _ | |
| 427 | - have hUδ : ∀ r ∈ Icc (0 : ℝ) R, ∀ θ, | |
| 428 | - 2 + δ ≤ coneBound (p₁ + p₂ * solvedTilt m d p₂ r θ) (p₂ - p₁ * solvedTilt m d p₂ r θ) := by | |
| 429 | - intro r hr θ | |
| 430 | - exact (add_le_add_right (min_le_left ε 1) 2).trans (hU 0 (by simp) r hr θ) | |
| 431 | - let A := constructedA a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 432 | - let C := constructedC a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 433 | - have hs := constructed_smooth a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 434 | - have hp := constructed_periodic a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 435 | - have hm := constructed_means a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 436 | - exact ⟨A, C, hs.1, hs.2, hp.1, hp.2, hm.1, hm.2, | |
| 437 | - constructed_trueCone a m p₁ p₂ d δ R ha hd hδ hδ₁ le_rfl hmargin hrelaxed hUδ⟩ | |
| 438 | - | |
| 439 | 396 | structure FamilyChoices {X : Type*} (a m p₁ p₂ : X → ℝ) (K B : Set X) where |
| 440 | 397 | aMin : ℝ |
| 441 | 398 | d : ℝ |
| @@ -495,35 +452,6 @@ theorem exists_family_choices {X : Type*} [TopologicalSpace X] | ||
| 495 | 452 | dsimp [highSpeed] |
| 496 | 453 | linarith |
| 497 | 454 | |
| 498 | -theorem FamilyChoices.root_bound {X : Type*} {a m p₁ p₂ : X → ℝ} {K B : Set X} | |
| 499 | - (c : FamilyChoices a m p₁ p₂ K B) {x : X} (hx : x ∈ K) : | |
| 500 | - varianceRoot (a x) c.delta (nominalSpeed (a x) (m x)) ∈ Icc (0 : ℝ) c.radius := by | |
| 501 | - have ha : 0 < a x := lt_of_lt_of_le c.aMin_pos (c.aMin_le x hx) | |
| 502 | - rw [c.radius_eq] | |
| 503 | - exact ⟨varianceRoot_nonneg _ _ _, varianceRoot_bound c.aMin (a x) c.delta _ | |
| 504 | - c.aMin_pos (c.aMin_le x hx) c.delta_pos c.delta_le_one (mul_pos ha (one_add_sq_pos _))⟩ | |
| 505 | - | |
| 506 | -theorem FamilyChoices.amplitude_bound {X : Type*} {a m p₁ p₂ : X → ℝ} {K B : Set X} | |
| 507 | - (c : FamilyChoices a m p₁ p₂ K B) {x : X} (hx : x ∈ K) : | |
| 508 | - 0 ≤ solveScale c.d (p₂ x) (varianceRoot (a x) c.delta (nominalSpeed (a x) (m x))) ∧ | |
| 509 | - solveScale c.d (p₂ x) (varianceRoot (a x) c.delta (nominalSpeed (a x) (m x))) < c.maxAmplitude := by | |
| 510 | - let r := varianceRoot (a x) c.delta (nominalSpeed (a x) (m x)) | |
| 511 | - have hr := c.root_bound hx | |
| 512 | - have hμ := solveScale_nonneg c.d (p₂ x) r c.d_pos hr.1 | |
| 513 | - refine ⟨hμ, ?_⟩ | |
| 514 | - have htarget : tiltVariance c.d (p₂ x) (solveScale c.d (p₂ x) r) ≤ 3 / c.aMin := by | |
| 515 | - rw [solveScale_variance _ _ _ (ne_of_gt c.d_pos)] | |
| 516 | - have hR := Real.sq_sqrt (div_nonneg (by norm_num : (0 : ℝ) ≤ 3) c.aMin_pos.le) | |
| 517 | - have hrle : r ≤ Real.sqrt (3 / c.aMin) := by simpa only [c.radius_eq] using hr.2 | |
| 518 | - have hsqnonneg := Real.sqrt_nonneg (3 / c.aMin) | |
| 519 | - nlinarith [hr.1] | |
| 520 | - by_contra hn | |
| 521 | - have hμM : c.maxAmplitude ≤ solveScale c.d (p₂ x) r := le_of_not_gt hn | |
| 522 | - have hmono := (tiltVariance_strictMonoOn c.d (p₂ x) c.d_pos).monotoneOn | |
| 523 | - c.maxAmplitude_pos.le hμ hμM | |
| 524 | - have hlarge := c.amplitude_large x hx | |
| 525 | - linarith | |
| 526 | - | |
| 527 | 455 | section SmoothFamily |
| 528 | 456 | |
| 529 | 457 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -725,10 +653,11 @@ theorem family_joint_contDiffOn [FiniteDimensional ℝ E] | ||
| 725 | 653 | ParametricRephase.rephaseFamily_contDiffOn (familyDensity a m p d δ hd hδ) |
| 726 | 654 | (unphasedC a m p d δ) _ hU hrate hf.2⟩ |
| 727 | 655 | |
| 728 | -/-- Full compact-family true-cone realization. The set `B` can be the two | |
| 729 | -interval boundary faces (including any compact auxiliary parameter set). | |
| 730 | -The output agrees exactly with the nominal shear on an open neighborhood | |
| 731 | -of `B`, and is jointly C∞ in slow parameters and periodic angle. -/ | |
| 656 | +/-- The loop construction of Lemma C.1, Appendix C.1, (C.1) and (C.3), without | |
| 657 | +the uniform margin (C.2). The set `B` can be the two interval boundary faces | |
| 658 | +(including any compact auxiliary parameter set). The output agrees exactly | |
| 659 | +with the nominal shear on an open neighborhood of `B`, and is jointly C∞ in | |
| 660 | +slow parameters and periodic angle. -/ | |
| 732 | 661 | theorem exists_compact_trueCone_family [FiniteDimensional ℝ E] |
| 733 | 662 | (a m p₁ p₂ : E → ℝ) {K B : Set E} |
| 734 | 663 | (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) |
| @@ -760,8 +689,9 @@ theorem exists_compact_trueCone_family [FiniteDimensional ℝ E] | ||
| 760 | 689 | exact ⟨U, N, A, C, isOpen_lt continuous_const ha.continuous, haK, |
| 761 | 690 | hN, hBN, hNU, hs.1, hs.2, family_pointwise_properties a m p₁ p₂ c hrelaxed, hmatch⟩ |
| 762 | 691 | |
| 763 | -/-- The complete family theorem with one strictly positive margin valid | |
| 764 | -for every slow parameter in `K` and every fast angle. -/ | |
| 692 | +/-- Lemma C.1, Appendix C.1, (C.1)–(C.3): the complete family theorem with | |
| 693 | +one strictly positive margin valid for every slow parameter in `K` and every | |
| 694 | +fast angle. -/ | |
| 765 | 695 | theorem exists_compact_trueCone_family_with_margin [FiniteDimensional ℝ E] |
| 766 | 696 | (a m p₁ p₂ : E → ℝ) {K B : Set E} |
| 767 | 697 | (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) |
+7 −16 NavierStokes/TrueConeLoopPaper.lean View file
| @@ -2,8 +2,10 @@ import NavierStokes.TrueConeLoop | ||
| 2 | 2 | import NavierStokes.FlatPrimitivePaper |
| 3 | 3 | import Mathlib.Topology.MetricSpace.Thickening |
| 4 | 4 | |
| 5 | -/-! Compact loop data specified on a neighborhood of the closed parameter | |
| 6 | -set suffice for the loop construction and its uniform cone margin. -/ | |
| 5 | +/-! Lemma C.1 of the paper (Appendix C.1, (C.1)–(C.3)) with the paper's | |
| 6 | +regularity localized: compact loop data specified on a neighborhood of the | |
| 7 | +closed parameter set suffice for the loop construction and its uniform cone | |
| 8 | +margin. -/ | |
| 7 | 9 | |
| 8 | 10 | noncomputable section |
| 9 | 11 | |
| @@ -16,8 +18,9 @@ open TrueConeLoop SmoothLoop LoopMoments LoopVariance ConeAlgebra | ||
| 16 | 18 | |
| 17 | 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | 20 | |
| 19 | -/-- All input regularity is local to the compact parameter rectangle. The | |
| 20 | -output agrees with the original data near the boundary within that rectangle. -/ | |
| 21 | +/-- Lemma C.1, Appendix C.1, (C.1)–(C.3) with all input regularity local to | |
| 22 | +the compact parameter rectangle. The output agrees with the original data | |
| 23 | +near the boundary within that rectangle. -/ | |
| 21 | 24 | theorem exists_local_family_with_margin (a m p₁ p₂ : E → ℝ) {K B O : Set E} |
| 22 | 25 | (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) (hO : IsOpen O) (hKO : K ⊆ O) |
| 23 | 26 | (ha : ContDiffOn ℝ ∞ a O) (hm : ContDiffOn ℝ ∞ m O) |
| @@ -54,16 +57,4 @@ theorem exists_local_family_with_margin (a m p₁ p₂ : E → ℝ) {K B O : Set | ||
| 54 | 57 | · intro x hx φ |
| 55 | 58 | simpa only [hea hx.1, hem hx.1] using hb x hx.2 φ |
| 56 | 59 | |
| 57 | -omit [NormedSpace ℝ E] [FiniteDimensional ℝ E] in | |
| 58 | -/-- The compact boundary neighborhood gives a single positive collar | |
| 59 | -width for all parameter values and all loop angles. -/ | |
| 60 | -theorem uniform_boundary_collar {K B N : Set E} (hB : IsCompact B) | |
| 61 | - (hN : IsOpen N) (hBN : B ⊆ N) {a m : E → ℝ} {A C : E × ℝ → ℝ} | |
| 62 | - (hmatch : ∀ x ∈ K ∩ N, ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x) : | |
| 63 | - ∃ δ : ℝ, 0 < δ ∧ ∀ x ∈ K, ∀ y ∈ B, dist x y < δ → | |
| 64 | - ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x := by | |
| 65 | - obtain ⟨δ, hδ, hb⟩ := hB.exists_thickening_subset_open hN hBN | |
| 66 | - exact ⟨δ, hδ, fun x hx y hy hxy => | |
| 67 | - hmatch x ⟨hx, hb (Metric.mem_thickening_iff.mpr ⟨y, hy, hxy⟩)⟩⟩ | |
| 68 | - | |
| 69 | 60 | end NavierStokes.TrueConeLoopPaper |
+19 −0 routes/s1-euler-all-2/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-all-2 | |
| 6 | + | |
| 7 | +Deletes the 5 declarations of the family `Euler/All*` that nothing uses, 31 lines in 3 files. The diff is deletions only: no statement and no proof that stays is changed. None of the five is named by a declaration left in the tree as `B.…` on a `Budget` (`git grep -w` finds only other declarations of the same short name, in `FiniteFamily`, `ExactLiftedPacket` or at namespace level), and no deleted docstring cites the paper. | |
| 8 | + | |
| 9 | +- `Budget.pointTimeDerivative` — `Euler/AllOrderDriftCorrection.lean` | |
| 10 | +- `Budget.timeDerivativeTower_pointField` — `Euler/AllOrderDriftPointwiseBounds.lean` | |
| 11 | +- `Budget.graphPressure` — `Euler/AllOrderDriftPressure.lean` | |
| 12 | +- `Budget.normalizedGraphPotential_joint_continuous` — `Euler/AllOrderDriftPressure.lean` | |
| 13 | +- `Budget.pointPressure_odd` — `Euler/AllOrderDriftPressure.lean` | |
| 14 | + | |
| 15 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration graph of this project's `main` at `4385cbe`, under the keep rule. `docs/s1-dead-code/` holds the plan. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The rest of the family and the other units of #10 are separate. | |
+19 −0 routes/s1-euler-base-2/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-base-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `Euler/Base*` family, second unit, `Euler/BaseWordMetric.lean`. I delete one declaration | |
| 8 | +that nothing uses, 9 lines, from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) | |
| 9 | +re-read against this main's declaration graph under the project's rule that the paper's results stay: | |
| 10 | + | |
| 11 | +- `EulerBaseWordMetric.baseWordMetric_le_sobolevNorm` | |
| 12 | + | |
| 13 | +Deletions only; no statement or proof that stays is touched. `git grep -w` finds no remaining reference to the name in | |
| 14 | +the tree, and the deleted docstring cites no numbered result of the paper. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Nothing in this unit; the pull request is open and the checks decide. The inverse inequality | |
| 19 | +`EulerBaseWordMetric.sobolevNorm_le_baseWordMetric` in the same file stays. | |
+19 −0 routes/s1-euler-bounded-2/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-bounded-2 | |
| 6 | + | |
| 7 | +One declaration of the family `Euler/Bounded*` that nothing uses, deleted from | |
| 8 | +`Euler/BoundedFlowContinuity.lean`: | |
| 9 | + | |
| 10 | +- `EulerBoundedLipschitzFlow.Data.forward_displacement` (5 lines, no docstring) | |
| 11 | + | |
| 12 | +`git grep -w forward_displacement` finds nothing left in the tree, so nothing on | |
| 13 | +`main` names it. Deletions only: no statement or proof that stays is changed, and no | |
| 14 | +docstring citing the paper went with it. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Nothing left in this unit. A reviewer can check the diff is deletions only and that | |
| 19 | +the name is gone; the `build` check reports on the head. | |
+23 −0 routes/s1-euler-child-2/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-child-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `Euler/Child*`: deletes one declaration of | |
| 8 | +`Euler/ChildParticleFieldBounds.lean` (8 lines) that nothing uses: | |
| 9 | +`EulerChildParticleFieldBounds.Data.child_label_bounds`. | |
| 10 | + | |
| 11 | +Nothing in the tree names it. `git grep -n -w child_label_bounds` has no hit, and the | |
| 12 | +plain `git grep -n child_label_bounds` finds only other, unrelated declarations of the | |
| 13 | +same short name (`Euler/PacketForwardUniformChild.lean`, | |
| 14 | +`Euler/PacketInitializedChildBounds.lean`, `Euler/PacketInitializedUniformChild.lean`, | |
| 15 | +and their callers `Euler/ParentUniformForwardChild.lean`, | |
| 16 | +`Euler/ParentUniformJoinedChild.lean`); no `Data.child_label_bounds` reference remains. | |
| 17 | +The deleted declaration carries no docstring, so no citation to the paper goes with it. | |
| 18 | +The diff is deletions only. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +The maintainer's review after `challenge` and `build`. The rest of the cut list is in | |
| 23 | +`docs/s1-dead-code/`. | |
+26 −0 routes/s1-euler-common-2/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-common-2 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (#10), family `Euler/Common*`: delete 7 declarations from | |
| 8 | +`Euler/CommonPressureRepresentative.lean` that nothing uses (55 lines, deletions only): | |
| 9 | +`pointPressure`, `pointPressure_ae`, `pointPressure_joint_continuous`, `pointPressure_smooth`, | |
| 10 | +`graphPressure`, `graphPressure_joint_continuous` and `graphPressure_has_potential`. | |
| 11 | + | |
| 12 | +How I checked it as a reviewer. `git grep -n -w` for each of the seven finds no user in the tree: | |
| 13 | +every hit is another declaration of the same short name under a different namespace or a | |
| 14 | +structure projection (`Budget.pointPressure`, `FiniteFamily.pointPressure_ae`, | |
| 15 | +`GraphPressure.graphPressure`, …), and no file writes `EulerCommonPressureRepresentative.` before any | |
| 16 | +of the seven. The only references to the namespace point at `cylinderGraph_continuous`, which stays, | |
| 17 | +and two files import the module for it. No deleted docstring names a numbered result of the paper | |
| 18 | +(Lemma, Theorem, Proposition, Corollary, Section, Equation), so the keep rule keeps nothing here. | |
| 19 | +The diff is those deletions alone; every statement and proof that stays is unchanged. | |
| 20 | + | |
| 21 | +`python3 checks/challenge.py .` ends with | |
| 22 | +`ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 538182 lines, …`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +Open the pull request; the rest of the `Euler/Common*` family and the other units of #10 are separate. | |
+16 −0 routes/s1-euler-constant-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-constant-2 | |
| 6 | + | |
| 7 | +Unit of S-1 (#10): delete three declarations of the `Euler/Constant*` family that nothing uses, from | |
| 8 | +`Euler/ConstantEulerGraph.lean` — `EulerConstantEuler.velocity_joint_continuous`, | |
| 9 | +`EulerConstantEuler.pressure_joint_continuous` and `EulerConstantEuler.pressure_zero` (20 lines). The diff is | |
| 10 | +deletions only; no statement or proof that stays is changed. `git grep` finds no user of the three qualified names on | |
| 11 | +main, and the remaining hits on their short names are other declarations in other namespaces. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push, open the pull request against `main`, and leave it for the `challenge` and `build` checks and the maintainer | |
| 16 | +agent's review. | |
+37 −0 routes/s1-euler-continuous-2/README.md added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-continuous-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Continuous*`: deletes four | |
| 8 | +declarations that nothing uses, 120 lines in four files, and nothing else. | |
| 9 | + | |
| 10 | +- `EulerContinuousAccelerationForcing.forcing_bound` (`Euler/ContinuousAccelerationForcing.lean`) | |
| 11 | +- `EulerContinuousAccelerationGevrey.acceleration_gevrey` (`Euler/ContinuousAccelerationGevrey.lean`) | |
| 12 | +- `EulerContinuousGramAcceleration.accelerationPath_norm` (`Euler/ContinuousGramAcceleration.lean`) | |
| 13 | +- `EulerContinuousGramGevrey.solution_gevrey` (`Euler/ContinuousGramGevrey.lean`) | |
| 14 | + | |
| 15 | +Checked as a reviewer. `git grep -n -w` for each short name over the tree: `acceleration_gevrey` and | |
| 16 | +`accelerationPath_norm` have no hit at all. The hits for the other two are other declarations of the same short name, | |
| 17 | +and stay: `Euler/TimeLpAccelerationForcing.lean:45` is `EulerTimeLpAccelerationForcing.forcing_bound`, and | |
| 18 | +`Euler/BoundedInverseGevrey.lean:23` is `EulerBoundedInverseGevrey.solution_gevrey`, which the remaining declarations | |
| 19 | +at `Euler/BoundedFieldGramGevrey.lean:119` and `Euler/ContinuousGramGevrey.lean:118` use. On `main`, the only | |
| 20 | +reference to a deleted fully qualified name is `EulerContinuousGramGevrey.solution_gevrey` at | |
| 21 | +`Euler/ContinuousAccelerationGevrey.lean:76`, inside `acceleration_gevrey`, deleted here too; that same proof is the | |
| 22 | +only user of `forcing_bound`. No deleted docstring cites the paper by number: the four say what the lemma states and | |
| 23 | +name no Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 24 | + | |
| 25 | +Note on applying the unit's patch: `git apply --3way /work/unit/change.patch` answered "repository lacks the | |
| 26 | +necessary blob to perform 3-way merge. Falling back to direct application..." once per file, then applied the patch | |
| 27 | +directly and exited 0; `git diff --cached` is the unit's diff exactly (4 files, 120 deletions, no insertion). | |
| 28 | + | |
| 29 | +Provenance. The four came from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the | |
| 30 | +declaration graph of this project's main, re-cut at `29529e9` under the project's rule that the paper's results stay. | |
| 31 | + | |
| 32 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 33 | + | |
| 34 | +## Next | |
| 35 | + | |
| 36 | +The maintainer's review after `challenge` and `build`. The rest of the `Euler/Continuous*` family and the other | |
| 37 | +declaration units of #10 are separate. | |
+16 −0 routes/s1-euler-correction-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-correction-2 | |
| 6 | + | |
| 7 | +Unit `s1-euler-correction-2` of S-1 (#10): delete 17 declarations nothing uses in the family | |
| 8 | +`Euler/Correction*`, 140 lines across `Euler/CorrectionAssemblyCommon.lean`, | |
| 9 | +`CorrectionAssemblyParity.lean`, `CorrectionAssemblyPressureParity.lean`, | |
| 10 | +`CorrectionAssemblyReconstruction.lean`, `CorrectionAssemblySourceTower.lean` and | |
| 11 | +`CorrectionAssemblyTime.lean`. Deletions only; no statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Read the maintainer's verdict on the pull request; if a declaration turns out to be needed, | |
| 16 | +restore just that one on `main` rather than reopening the whole unit. | |
+18 −0 routes/s1-euler-field-2/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-field-2 | |
| 6 | + | |
| 7 | +Deletes 6 unused declarations of the family `Euler/Field*` (99 lines, 4 files): | |
| 8 | +`canonicalGraphWordPath_hasDerivAt`, `graphWordPath_hasDerivWithinAt`, | |
| 9 | +`graphWordPath_hasDerivAt`, `realization_hasDerivAt_of_le`, | |
| 10 | +`EulerVolumeSobolevPath.tensorPath_norm_le` and `volumeTensorPath_norm_le`. | |
| 11 | +Cut from Treant's run of 2026-12-03 against main's declaration graph; all were | |
| 12 | +unreachable and none has a docstring naming the paper. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +A reviewer checks that nothing left in the tree names these (done: no hits, but for | |
| 17 | +two unrelated same-named `tensorPath_norm_le`); if the maintainer asks, the same | |
| 18 | +scan can be repeated for the next family. | |
+20 −0 routes/s1-euler-flow-2/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-flow-2 | |
| 6 | + | |
| 7 | +The unit `Euler/Flow*` of S-1 (#10, "Delete declarations that nothing uses"), which in the tree is the one file | |
| 8 | +`Euler/FlowL2Transport.lean`. I delete the 3 declarations of it that nothing uses — `transportPath`, | |
| 9 | +`transportPath_norm` and `transportPath_ae` (23 lines). Treant's run of 2026-12-03 found them unreachable from | |
| 10 | +the four Comparator theorems, and this project's declaration graph on `main` does not reach them either. No | |
| 11 | +statement or proof that stays is changed; the diff is deletions only. | |
| 12 | + | |
| 13 | +Checked in the tree left here: `git grep -n -w` for `transportPath_norm` and `transportPath_ae` finds nothing, and | |
| 14 | +the only hits for `transportPath` are the separate declaration in `EulerTimeSobolevTransport`. No deleted docstring | |
| 15 | +cites a numbered result of either paper. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Nothing left in this unit. If a later wave wants to look at `Euler/FlowL2Transport.lean` again, the kept | |
| 20 | +`inverseHomeomorph`, `inverse_measurePreserving`, `inversePath` and `inversePath_measurePreserving` stay for now. | |
+24 −0 routes/s1-euler-general-2/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-general-2 | |
| 6 | + | |
| 7 | +Family `Euler/General*`: delete the one declaration in this family that nothing uses, | |
| 8 | +`EulerGeneralCylinderAlgebra.scalar_vector_product_word_memLp` in | |
| 9 | +`Euler/GeneralRealCylinderAlgebra.lean` (21 lines, deletions only). It was found | |
| 10 | +unreachable by Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 11 | +`f9e8bc5`), and it stays within this project's keep rule: its docstring cites no numbered | |
| 12 | +result, it is not an existence result, and no declaration left in the tree names it. | |
| 13 | + | |
| 14 | +Checked by hand: `git grep -n -w scalar_vector_product_word_memLp` finds only | |
| 15 | +`routes/s1-euler-h5-1/README.md`, which names the different | |
| 16 | +`EulerH5CylinderAlgebra.scalar_vector_product_word_memLp` (same short name, already | |
| 17 | +deleted in `cb84cd5`). The deleted docstring — "Every scalar-vector product derivative | |
| 18 | +through order q is genuinely in L²." — names no Lemma, Theorem, Proposition, Corollary, | |
| 19 | +Section or Equation. `python3 checks/challenge.py .` ends with `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing left in this unit: the pull request is open and the maintainer's review decides | |
| 24 | +it. Another unit of #10 starts from the board. | |
+21 −0 routes/s1-euler-isometric-2/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-isometric-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `Euler/Isometric*` family. It deletes 1 declaration | |
| 8 | +(`EulerIsometricAction.orbits_tendstoUniformly`), 10 lines in `Euler/IsometricActionCalculus.lean`, | |
| 9 | +on the declaration graph of `main` under the project's rule that the paper's results stay. The diff | |
| 10 | +is deletions only: no statement or proof that stays is changed, and the deleted block carries no | |
| 11 | +docstring, so nothing there cited the paper. | |
| 12 | + | |
| 13 | +The check that the name is gone from the tree is `git grep -n -w orbits_tendstoUniformly`: no hit. | |
| 14 | +The only nearby text is `translation_orbits_tendstoUniformly` in `Euler/ClosedTranslationGraph.lean`, | |
| 15 | +a separate declaration that re-proves the argument in its own namespace and does not call the | |
| 16 | +deleted one. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push this branch and open the pull request into `main`; then let the `build` check report. The | |
| 21 | +other families of #10 are other units. | |
+16 −0 routes/s1-euler-lp-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-lp-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): wave 2 of the `Euler/Lp*` family, `Euler/LpSmoothFamilyJets.lean` and `Euler/LpSmoothFieldAlgebra.lean`. I delete 2 declarations that nothing uses, 10 lines, from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) re-read against this main's declaration graph under the project's rule that the paper's results stay. Deletions only; no statement or proof that stays is touched. | |
| 8 | + | |
| 9 | +- `EulerLpSmoothFamily.SmoothFamily.norm_iteratedFDeriv_value_le` (`Euler/LpSmoothFamilyJets.lean`) | |
| 10 | +- `EulerLpTranslation.SmoothL2Field.continuous_jetLp_directionalField` (`Euler/LpSmoothFieldAlgebra.lean`) | |
| 11 | + | |
| 12 | +`git grep -n -w` for both short names finds nothing left in the tree, and neither deleted block cites a numbered result of the paper. The private `norm_iteratedFDeriv_value_aux` was reachable only through the deleted theorem and is now unused; it is not in this unit and stays. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Nothing in this unit; the pull request is open and the checks decide. If a later unit takes the now-unused `norm_iteratedFDeriv_value_aux`, read `git log` for this branch: the deleted names are in the pull request description. | |
+39 −0 routes/s1-euler-mean-2/README.md added View file
| @@ -0,0 +1,39 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-mean-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Mean*`: the second | |
| 8 | +cut of the family. It deletes 3 declarations that nothing uses, 18 lines in 2 files, and touches | |
| 9 | +nothing else: the diff is deletions only, with no `import`, `namespace` or `end` line in it. | |
| 10 | + | |
| 11 | +- `EulerMeanVariationalInverse.StrongMeanEvolution.velocity_hasDerivWithinAt` | |
| 12 | + (`Euler/MeanClassicalTime.lean`) | |
| 13 | +- `EulerMeanPacketProvider.Forcing.zero` (`Euler/MeanPacketForcingAlgebra.lean`) | |
| 14 | +- `EulerMeanPacketProvider.Forcing.add` (`Euler/MeanPacketForcingAlgebra.lean`) | |
| 15 | + | |
| 16 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 17 | +`f9e8bc5`) found them unreachable from the four Comparator theorems. This wave was cut again on | |
| 18 | +this project's `main` (`29529e9`) under the keep rule: a declaration stays when the paper's results | |
| 19 | +reach it, when its docstring names the paper, when it is an existence result with a docstring, when | |
| 20 | +it sits in a file that states results or must match the challenge word for word, when an earlier | |
| 21 | +pull request was made to keep it, or when a declaration that stays refers to it or names it. | |
| 22 | + | |
| 23 | +Checked as a reviewer: after the deletion | |
| 24 | +- none of the three is named in the tree — no `StrongMeanEvolution.velocity_hasDerivWithinAt` and no | |
| 25 | + `Forcing.zero` or `Forcing.add`; the bare `velocity_hasDerivWithinAt` hits are other declarations | |
| 26 | + of the same short name in other namespaces (`EulerCylinderDirichlet.Coefficients`, | |
| 27 | + `EulerFixedEndpointClassical`, `EulerSourceCylinderEquation`, `EulerTransverseForwardInverse`), | |
| 28 | + and the files in `namespace EulerMeanPacketProvider.Forcing` use neither `zero` nor `add`; | |
| 29 | +- no deleted docstring cites the paper (the one removed docstring is one line, with no Lemma, | |
| 30 | + Theorem, Proposition, Corollary, Section or Equation number); | |
| 31 | +- `python3 checks/challenge.py .` ends with | |
| 32 | + `ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 538219 lines, …`. | |
| 33 | + | |
| 34 | +What it does not show: that every remaining declaration is needed. | |
| 35 | + | |
| 36 | +## Next | |
| 37 | + | |
| 38 | +Nothing left in this unit. Whoever continues the family: the next cut is the remaining | |
| 39 | +`Euler/Mean*` declarations with no user on `main`. | |
+23 −0 routes/s1-euler-packet-2/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-packet-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10), the `Euler/Packet*` family, wave 2: delete the 25 | |
| 8 | +declarations that nothing uses, 939 lines across 16 files of `Euler/`. The | |
| 9 | +list was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 10 | +and re-checked against this project's main under the keep rule: a declaration | |
| 11 | +that the paper's results reach, that names the paper in its docstring, that is | |
| 12 | +an existence result, or that a kept declaration refers to stays. None of the 25 | |
| 13 | +is kept by that rule, and no remaining Lean file names any of them after the | |
| 14 | +deletion. | |
| 15 | + | |
| 16 | +The diff is deletions only: no statement and no proof that stays is changed, and | |
| 17 | +no import is touched. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Open the pull request into `main`. The `build` check on its head decides the | |
| 22 | +rest; nothing here needs a reader's edit. A later wave can take the same family | |
| 23 | +again from the remaining unreachable declarations. | |
+14 −0 routes/s1-euler-quadratic-2/README.md added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-quadratic-2 | |
| 6 | + | |
| 7 | +The `Euler/Quadratic*` family of S-1. This unit deletes from `Euler/QuadraticCauchy.lean` the | |
| 8 | +1 declaration `EulerQuadraticCauchy.limit_quadratic_bound` (11 lines), which nothing in the tree | |
| 9 | +uses. The diff is deletions only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Nothing in this unit. The pull request `s1-euler-quadratic-2` answers part of #10; whoever takes | |
| 14 | +the next unit of the family reads the review of that pull request first. | |
+16 −0 routes/s1-euler-resolvent-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-resolvent-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1: delete declarations that nothing uses): the family `Euler/Resolvent*`, in | |
| 8 | +`Euler/ResolventCalculus.lean`. I delete `EulerResolventCalculus.hasDerivAt_of_resolvent` (25 lines), which | |
| 9 | +nothing in the tree names or uses. The rest of the file, including `local_norm_bound`, | |
| 10 | +`local_difference_bound` and `continuousAt_of_resolvent`, stays unchanged; its only importer, | |
| 11 | +`Euler/SobolevPressureTime.lean`, is untouched. The deleted docstring cites no numbered result of a paper. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Nothing left in this unit: the deletion is the whole change. If a reviewer wants the declaration kept, the | |
| 16 | +only step back is `git revert` of this commit. | |
+19 −0 routes/s1-euler-separating-2/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-separating-2 | |
| 6 | + | |
| 7 | +S-1, one unit: the family `Euler/Separating*`. In `Euler/SeparatingTimeDerivative.lean` | |
| 8 | +I delete the declaration `EulerSeparatingTimeDerivative.hasDerivAt` (unit.json lines | |
| 9 | +62–66, 6 lines), which nothing in the tree names or uses. The diff is deletions only; | |
| 10 | +no statement or proof that stays is changed. The deleted block carried no docstring, so | |
| 11 | +no docstring citing the paper is lost. The three modules that import the file | |
| 12 | +(`Euler/SmoothFieldSobolevTime.lean`, `Euler/SmoothFlowAcceleration.lean`, | |
| 13 | +`Euler/SmoothTimeFieldChain.lean`) use `EulerSeparatingTimeDerivative.hasDerivWithinAt`, | |
| 14 | +which stays. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Pull request open against `main`; waiting on the `challenge` and `build` checks and the | |
| 19 | +maintainer's review. Nothing else in this family is touched. | |
+13 −0 routes/s1-euler-smooth-2/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-smooth-2 | |
| 6 | + | |
| 7 | +Wave 2 of the family `Euler/Smooth*`: delete the 8 declarations of it that nothing uses, 95 lines in | |
| 8 | +`Euler/SmoothEulerEvolution.lean`, `Euler/SmoothPhysicalGraphFlow.lean`, `Euler/SmoothScaledFlow.lean` and | |
| 9 | +`Euler/SmoothTimeAmplitudeBounds.lean`. The diff is deletions only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Open the pull request. Anything further on this family is another unit of #10. | |
+22 −0 routes/s1-euler-sobolev-2/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-sobolev-2 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (#10), family `Euler/Sobolev*`: it deletes the | |
| 8 | +2 declarations that nothing uses from `Euler/SobolevTimeRegularization.lean`, | |
| 9 | +`EulerSobolevTimeRegularization.heat_timeLp_tendsto` and | |
| 10 | +`EulerSobolevTimeRegularization.heat_time_commutator_tendsto`, 23 lines. Deletions only: no | |
| 11 | +statement and no proof that stays is touched. | |
| 12 | + | |
| 13 | +They were cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 14 | +`f9e8bc5`) and re-read against the declaration graph of this project's `main` at `29529e9` | |
| 15 | +under the rule that the paper's results stay. Checked at `29529e9` with this change applied: | |
| 16 | +`git grep -n -w` on each of the two short names finds nothing left in the tree, and neither | |
| 17 | +deleted docstring cites a numbered result of the paper. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push and open the pull request into `main`; `challenge` and `build` decide it, then the | |
| 22 | +maintainer's review. The rest of the family, and the other units of #10, are separate. | |
+32 −0 routes/s1-euler-transverse-1/README.md added View file
| @@ -0,0 +1,32 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-transverse-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Transverse*`. The unit | |
| 8 | +lists 242 declarations, 2179 lines in 64 files; I delete 217 of them, 1836 lines in 62 files. The Lean | |
| 9 | +diff is deletions only: no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +25 of the unit's declarations are left out of this pull request. Six deleted docstrings cite the paper | |
| 12 | +by equation number, so their declarations stay: `EulerTransverseForwardCoefficientGevrey.generator_bound` | |
| 13 | +(equation (12)), `EulerTransverseForwardInverse.coordinate_equation` ((12)) and `velocity_balance` | |
| 14 | +((11)), `EulerTransverseSourceFrame.framePath_second_equation` ((10)) and `sourceFrame_strong` ((10)), | |
| 15 | +and `EulerTransverseStrongEquation.transverseSolver_strong` ((10)). The other 19 are what those six | |
| 16 | +name, transitively within the unit: `coordinatePrimitive_initial`, `coordinatePrimitive_reconstruct`, | |
| 17 | +`dirichletSolver_weak`, `frameCoordinates`, `frame_reconstruct`, `movingNormal`, `reconstruct`, | |
| 18 | +`tangent_iff`, `frameLeftInversePath_bound`, `inversePath_coefficient_bound`, | |
| 19 | +`frameLeftInversePath_contDiff`, `framePath`, `framePath_apply`, `framePath_hasDerivWithinAt`, | |
| 20 | +`framePath_lower_bound`, `framePath_range`, `framePath_tangent`, `momentum_weak`, | |
| 21 | +`transverseSolver_weak`. With them back, all of `Euler/TransverseSourceFrame.lean` stays in the unit | |
| 22 | +and the file is no longer touched. | |
| 23 | + | |
| 24 | +As a reviewer would, I checked the rest: `git grep -n -w` of each of the 171 distinct short names still | |
| 25 | +deleted finds no hit anywhere in the tree, and none of the 1836 deleted lines cites the paper (no | |
| 26 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation, and no `§`, `Eq.`, `Thm.`, | |
| 27 | +`Prop.`, `Cor.` or `Lem.` either). `python3 checks/challenge.py .` ends with `ok`, and all 62 changed files type-check under `lake env lean`. | |
| 28 | + | |
| 29 | +## Next | |
| 30 | + | |
| 31 | +Push and open the pull request; the `build` check says whether it builds. The other units of #10 are | |
| 32 | +separate branches. | |
+29 −0 routes/s1-euler-weighted-2/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-weighted-2 | |
| 6 | + | |
| 7 | +Wave 2 of S-1 (#10), the family `Euler/Weighted*`: one declaration of that family that nothing | |
| 8 | +uses, cut again from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 9 | +`f9e8bc5`) against the declaration graph of main under this project's rule that the paper's | |
| 10 | +results stay. | |
| 11 | + | |
| 12 | +Deleted here, 96 lines in 1 file, deletions only: | |
| 13 | + | |
| 14 | +- `EulerWeightedSobolevEnergy.weighted_sobolev_energy_integral` (`Euler/WeightedSobolevEnergy.lean`) | |
| 15 | + | |
| 16 | +The declaration is not reached by a result of the paper and its docstring cites no numbered | |
| 17 | +result (no Lemma, Theorem, Proposition, Corollary, Section or Equation). After the change | |
| 18 | +`git grep -n -w weighted_sobolev_energy_integral` finds nothing in the tree, so no remaining | |
| 19 | +declaration names it. `python3 checks/challenge.py .` ends with `ok`. | |
| 20 | + | |
| 21 | +`Euler/WeightedSobolevEnergy.lean` keeps its imports and its namespace, which the file header and | |
| 22 | +the `open` lines still describe; no declaration of it remains. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The build check decides the rest. If a later unit needs `weighted_sobolev_energy_integral`, it is | |
| 27 | +in this file's parent commit: restore it there rather than rewrite it. The wave-1 unit | |
| 28 | +(`routes/s1-euler-weighted-1`) deleted `weighted_cylinder_energy_integral` and | |
| 29 | +`weightedForcingSum_sum_le` from other files of the family. | |
+23 −0 routes/s1-ns-angular-2/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-angular-2 | |
| 6 | + | |
| 7 | +Unit `s1-ns-angular-2` of issue #10 (S-1: Delete declarations that nothing uses), family | |
| 8 | +`NavierStokes/Angular*`. I delete 14 declarations of `NavierStokes/AngularMomentReset.lean` that | |
| 9 | +nothing reachable uses: 103 lines, deletions only, no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the | |
| 12 | +declaration graph of this project's `main`, under this project's rule that the paper's results stay. | |
| 13 | +None of the deleted declarations is reached by a paper result, named by the text of a declaration | |
| 14 | +that stays, or cited in a docstring that names the paper (`git grep -n -w` on each short name; the | |
| 15 | +remaining hits are other declarations of the same short name: `angularScale` and `angularScale_pos` | |
| 16 | +in `NavierStokes/RepairConeBounds.lean`, `logSlope` in `NavierStokes/ReferenceBounds.lean`, | |
| 17 | +`NavierStokes/LeadingStressWeights.lean` and `NavierStokes/LoopVariance.lean`). | |
| 18 | + | |
| 19 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing; the pull request is open. If the maintainer asks for a change in this unit, edit the same branch. | |
+18 −0 routes/s1-ns-axis-2/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axis-2 | |
| 6 | + | |
| 7 | +Wave 2 of the family `NavierStokes/Axis*`: delete the 2 declarations that nothing | |
| 8 | +uses, 32 lines in `NavierStokes/AxisPreservation.lean`, deletions only. The unit was | |
| 9 | +cut from Treant's run of 2026-12-03 and from this project's declaration graph under | |
| 10 | +the rule that the paper's results stay. `origin_eventually_eq_first` and | |
| 11 | +`origin_blowup` are gone from the tree; the only remaining `origin_blowup` is the | |
| 12 | +separate declaration `GermCandidateAssembly.origin_blowup`, and no deleted block had | |
| 13 | +a docstring naming a numbered result of the paper. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +The pull request into `main` is open; wait for `build`. If it reports an error, the | |
| 18 | +declaration it names is still used by one that stays and is put back on this branch. | |
+18 −0 routes/s1-ns-base-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-base-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 1, family | |
| 8 | +`NavierStokes/Base*`: deletes 58 declarations, 822 lines, in `BaseChartJets`, | |
| 9 | +`BaseContextAssembly`, `BaseExterior`, `BasePhaseGeometry`, `BasePrefixIdentity`, | |
| 10 | +`BaseRadialJets`, `BaseRankPatch` and `BaseResidual`. The list and the lines come from | |
| 11 | +`/work/unit/unit.json`, cut from Treant's run of 2026-12-03 from the declaration graph | |
| 12 | +of main under this project's rule that the paper's results stay; the diff is deletions | |
| 13 | +only and no statement or proof that stays is changed. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +The maintainer's review after `challenge` and `build`; the other declaration units of | |
| 18 | +the family and the other wave-1 units of #10 follow in pull requests of their own. | |
+21 −0 routes/s1-ns-borel-2/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-borel-2 | |
| 6 | + | |
| 7 | +S-1, the family `NavierStokes/Borel*`: the second unit on `NavierStokes/BorelExtension.lean`, | |
| 8 | +after the first (`s1-ns-borel-1`, merged) took 9 declarations of it. This unit deletes the 5 | |
| 9 | +declarations of the file that nothing left in the tree uses: 19 lines, deletions only; every | |
| 10 | +declaration that stays is unchanged. | |
| 11 | + | |
| 12 | +Checked in this branch's tree: `git grep -n -w` finds no hit for any of the five short names | |
| 13 | +(`boundSum_nonneg`, `scale_strictMono`, `scale_doubling`, `extension_eq_series`, | |
| 14 | +`extension_hasCompactSupport`), so no fully qualified `NavierStokes.BorelExtension.<name>` | |
| 15 | +remains either. None of the five carried a docstring, so none cites a numbered result of the | |
| 16 | +paper. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push, open the pull request, and leave the rest of #10 to the other units. Then the | |
| 21 | +maintainer's review after `challenge` and `build`. | |
+22 −0 routes/s1-ns-compact-2/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-compact-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Compact*`: | |
| 8 | +delete three declarations that nothing uses, 53 lines in two files. | |
| 9 | +`NavierStokes.CompactHolomorphicFamily.eval_circleIntegral` and | |
| 10 | +`NavierStokes.CompactHolomorphicFamily.differentiableOn_of_evaluations` in | |
| 11 | +`NavierStokes/CompactHolomorphicFamily.lean` (the second used the first, so both go together), and | |
| 12 | +`NavierStokes.CompactSpatialForceDecay.rescale_supported` in | |
| 13 | +`NavierStokes/CompactSpatialForceDecay.lean`. A `git grep -n -w` over the tree finds none of the | |
| 14 | +three short names anywhere after the deletion, and none of the deleted docstrings names a numbered | |
| 15 | +result of the paper. The diff is deletions only; `NavierStokes/CompactHolomorphicFamily.lean` is | |
| 16 | +left with its import and its namespace, now declaring nothing. `python3 checks/challenge.py .` | |
| 17 | +ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push and open the pull request; the rest of the `Compact*` family and the other units of #10 are | |
| 22 | +separate. | |
+21 −0 routes/s1-ns-cycle-2/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cycle-2 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), wave 2, family `NavierStokes/Cycle`: deletes 6 declarations from | |
| 8 | +`NavierStokes/CycleStateCoherence.lean` — 62 lines — that nothing in the tree uses. The patch is deletions only; | |
| 9 | +no statement and no proof that stays changes. | |
| 10 | + | |
| 11 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and read on this project's | |
| 12 | +main at `4385cbe` against its declaration graph: a declaration stays when a result of the paper reaches it, when | |
| 13 | +its docstring cites the paper, or when the text of a declaration that stays names it. Each of the 6 names here | |
| 14 | +was checked absent from the tree after the deletion (`git grep -n -w`), and neither deleted docstring cites the | |
| 15 | +paper. The earlier wave-1 declaration unit of this family is `s1-ns-cycle-1`; the file unit, `s1-ns-cycle-files`, | |
| 16 | +was merged as pull request #50. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +The maintainer's review after `challenge` and `build`; the other declaration units of #10 follow in pull requests of | |
| 21 | +their own. | |
+23 −0 routes/s1-ns-harmonic-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-harmonic-1 | |
| 6 | + | |
| 7 | +Unit of S-1 (#10): the `NavierStokes/Harmonic*` family. Deletes 109 declarations that nothing uses, 1400 lines in | |
| 8 | +`HarmonicCalculus.lean`, `HarmonicCovariance.lean`, `HarmonicFields.lean`, `HarmonicMeanInteraction.lean`, | |
| 9 | +`HarmonicResidual.lean`, `HarmonicSourceSupport.lean`, `HarmonicStructurePreservation.lean` and | |
| 10 | +`HarmonicWaveInteraction.lean`. The diff is deletions only. Before committing I checked that no retained file names | |
| 11 | +any deleted declaration (each short name `git grep -n -w`, qualified references checked too; the only short-name hits | |
| 12 | +are other declarations of the same name in other files) and that no deleted docstring cites the paper (no numbered | |
| 13 | +Lemma, Theorem, Proposition, Corollary, Section or Equation among the deleted lines). | |
| 14 | + | |
| 15 | +`HarmonicCalculus.cylindricalLaplacian_mode_angular_independent` and `HarmonicCalculus.longitudinal_gain` were put | |
| 16 | +back, with the four declarations they rest on (`norm_strippedDivergence_le`, `normalDot_norm_eq_div`, | |
| 17 | +`longitudinalCoefficient_bound`, `longitudinal_gain_frequency`): their docstrings state a formula of the manuscript, | |
| 18 | +which the review holds is not ours to delete. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +The pull request is open; if `build` reports an error, it will name a declaration that still had a user—restore that | |
| 23 | +declaration from `origin/main` and drop it from a later unit, not from this one. | |
+36 −0 routes/s1-ns-integrated-1/README.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-integrated-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Integrated*`, wave 1. The unit names 21 | |
| 8 | +declarations of `NavierStokes/IntegratedMeanBalances.lean`; this deletes 11 of them (108 lines, deletions only). | |
| 9 | + | |
| 10 | +The other 10 stay, so they are left out of this pull request. `integrated_axial_constructed_pressure` has a | |
| 11 | +docstring that cites the paper: "The second identity of (34) with pressure supplied by the actual compact primitive | |
| 12 | +(33)" (this file's other docstrings use (32)–(34) the same way, as the Navier–Stokes paper's equation numbers), and | |
| 13 | +the project's rule keeps a declaration whose docstring cites the paper. Its proof refers to | |
| 14 | +`integrated_axial_positive`, which refers to `positive_radialMoment` and `axialBalance_supported`, which refer to | |
| 15 | +`SmoothShell.slice_support`, `SmoothShell.zero_of_not_mem`, `zero_of_not_mem_interval`, `deriv_support_interval`, | |
| 16 | +`radialDivergence_supported` and `axialViscosity_supported`; those stay with it. That is 10 of the unit's 21. | |
| 17 | + | |
| 18 | +Deleted: `integral_deriv_zero`, `fixedPartial_periodic`, `torusAverage_smooth`, `graphPartial`, | |
| 19 | +`graphPartial_smooth`, `graphPartial_periodic`, `torusAverage_graphPartial`, `torusAverage_graphPartial_twice`, | |
| 20 | +`angularViscosity_supported`, `angularBalance_supported`, `integrated_angular_positive`. | |
| 21 | + | |
| 22 | +Checks on the tree after the deletion: | |
| 23 | + | |
| 24 | +- `git grep -n -w` for each deleted short name finds nothing, except `fixedPartial_periodic`, which finds only the | |
| 25 | + two other declarations of that short name (`NavierStokes/ParametricTorusInverse.lean:72`, | |
| 26 | + `NavierStokes/SmoothFamilyTorusInverse.lean:69`), on different types. | |
| 27 | +- No deleted docstring cites the paper; the only one that did (`integrated_axial_constructed_pressure`) is one of | |
| 28 | + the 10 left in. | |
| 29 | +- No statement or proof that stays is changed, and no other file is touched. | |
| 30 | +- `python3 checks/challenge.py .` ends with `ok: …`. | |
| 31 | + | |
| 32 | +## Next | |
| 33 | + | |
| 34 | +The maintainer's review after `challenge` and `build`. The 10 left back are tied to the paper's (33)/(34) through | |
| 35 | +the one docstring; the family's later units (`s1-ns-integrated-2`, `-3`, `-4`) are in other waves and other pull | |
| 36 | +requests. | |
+51 −0 routes/s1-ns-label-1/README.md added View file
| @@ -0,0 +1,51 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-label-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Label*`. After the review on | |
| 8 | +`bd22eea`, it deletes 27 of the 59 declarations the unit first listed, 443 lines in three files; | |
| 9 | +the other 32 stay. | |
| 10 | + | |
| 11 | +How the list was cut. Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 12 | +`f9e8bc5`) deleted the 59 as unreachable from the four Comparator theorems. On this project's main | |
| 13 | +the declaration graph was read again under the rule that the paper's results stay: a declaration | |
| 14 | +stays when the files `NavierStokes/PaperResults.lean` imports, `NavierStokes/R3/Theorem.lean` or | |
| 15 | +`NavierStokes/LocalPaperTheorem.lean` reach it, when its docstring names a result of the paper, or | |
| 16 | +when the text of a declaration that stays names it. A declaration is also never deleted only | |
| 17 | +because no Lean theorem uses it when it states a result of the paper (AGENTS.md, "Changes we don't | |
| 18 | +want"). | |
| 19 | + | |
| 20 | +The four paper results. These state the paper's counting estimates and are the reason the unit is | |
| 21 | +not a wholesale deletion: | |
| 22 | + | |
| 23 | +- `LabelCounting.bounded_chart_count` — "The compact-chart estimate of `geom:counting-bounds`" | |
| 24 | +- `LabelCounting.compact_chart_count` — "the manuscript's `C_B S_n^9` estimate" | |
| 25 | +- `LabelCounting.bounded_radial_count` — "The radial-line estimate of `geom:counting-bounds`" | |
| 26 | +- `LabelCounting.number_of_relevant_labels` — "All three conclusions of `geom:label-counts`" | |
| 27 | + | |
| 28 | +Keeping them keeps their dependencies in `NavierStokes/LabelCounting.lean`: `normalizedBox`, | |
| 29 | +`relevantLabels`, `nativeSpacing_eq`, `index_bound`, `rectangle_count`, `radialSlice`, | |
| 30 | +`radial_rectangle_count`, `chart_count_of_coordinate_bound`, `radial_count_of_bound`, | |
| 31 | +`pointwiseLabels`, `pointwise_count_of_bound` and `pointwise_count`; `restrict_count` stays too, as | |
| 32 | +the general statement that restricting a label family cannot increase any of the three counting | |
| 33 | +bounds. `NavierStokes/LabelCountingFinite.lean` keeps all 15 declarations of the unit, which the | |
| 34 | +counts above use. Neither file is an import-only shell, so there is no import question to carry to | |
| 35 | +a separate pull request. | |
| 36 | + | |
| 37 | +What is deleted. `NavierStokes/LabelCounting.lean` loses `nativeSpacing_mul_six`, | |
| 38 | +`slowMask_tsupport_subset_normalizedBox`, `labelRegion_subset_pointwiseLabels`, | |
| 39 | +`number_of_relevant_labels_restrict` and `physicalBox_iff_normalizedBox` (5 of 22); | |
| 40 | +`NavierStokes/LabelSumBounds.lean` loses all 8 of the unit's declarations (108 lines); | |
| 41 | +`NavierStokes/LabelSupportPreservation.lean` loses all 14 (252 lines). None of them states a result | |
| 42 | +of the paper, and none has a user on main. | |
| 43 | + | |
| 44 | +Checked before committing: `git grep -n -w` for each of the 27 short names over the whole tree | |
| 45 | +finds nothing outside their own declaration (`radialSlice` hits are `TerminalStress.radialSlice`, a | |
| 46 | +different declaration). `python3 checks/challenge.py .` ends with `ok`. | |
| 47 | + | |
| 48 | +## Next | |
| 49 | + | |
| 50 | +This is the pull request. After it merges, another `NavierStokes/Label*` unit of #10, if one is | |
| 51 | +cut, is separate. | |
+21 −0 routes/s1-ns-offplane-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-offplane-1 | |
| 6 | + | |
| 7 | +The `NavierStokes/Offplane*` family: `NavierStokes/OffplaneCorrectionExtensions.lean` and | |
| 8 | +`NavierStokes/OffplaneJetExtensions.lean`. This unit deletes the 69 declarations of those files | |
| 9 | +that nothing in the tree uses — 699 lines, deletions only, no statement or proof that stays | |
| 10 | +changed. Before committing, every deleted short name was grepped (`git grep -n -w`) in the tree | |
| 11 | +left behind: no remaining file names one, the three hits being other declarations of the same | |
| 12 | +short name (`OneSidedExtension.eventuallyEq` / `FiberGerm.eventuallyEq`, | |
| 13 | +`SlowFirstOrderEdge.physicalSource`, `LabelData.aliasField`). No deleted docstring cites a | |
| 14 | +numbered result of either paper, so nothing of the paper's that the project keeps was removed. | |
| 15 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push `s1-ns-offplane-1` and open the pull request into `main`; the `build` check says whether the | |
| 20 | +two modules still compile and decides the rest. No Lean module is fetched here, so nothing was | |
| 21 | +built locally. | |
+49 −0 routes/s1-ns-particular-1/README.md added View file
| @@ -0,0 +1,49 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-particular-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Particular*`: deletes 89 declarations, 1722 | |
| 8 | +lines, in six of the seven files of the family — 12 in `NavierStokes/ParticularCopyBounds.lean`, 8 in | |
| 9 | +`NavierStokes/ParticularOneSided.lean`, 1 in `NavierStokes/ParticularPaddedBackground.lean`, 27 in | |
| 10 | +`NavierStokes/ParticularWaveAssembly.lean`, 40 in `NavierStokes/ParticularWaveBounds.lean` and 1 in | |
| 11 | +`NavierStokes/ParticularWithinBounds.lean`. The diff is deletions only; no statement and no proof that stays is | |
| 12 | +changed, and no file is renamed or moved. | |
| 13 | + | |
| 14 | +Where the list comes from. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 15 | +`f9e8bc5`) cut these as unreachable from the four Comparator theorems. On this project's `main` (now at | |
| 16 | +`a23e89f`, after the merge from `origin/main`, the declaration graph of the compiled tree) the list was read | |
| 17 | +again under this project's rule: a declaration stays when one of the paper's results reaches it (the files | |
| 18 | +`NavierStokes/PaperResults.lean` imports, `NavierStokes/R3/Theorem.lean`, `NavierStokes/LocalPaperTheorem.lean`), | |
| 19 | +when its docstring cites the paper, or when the text of a declaration that stays names it. None of the 89 deleted | |
| 20 | +here is reached by any of those. | |
| 21 | + | |
| 22 | +Kept for the paper. `NavierStokes.ParticularOneSided.commonCoefficients_oneSided` stays: its docstring says | |
| 23 | +"The paper's actual complex common-torus inverse, for arbitrary source coefficients with one-sided slow | |
| 24 | +regularity at τ=0", which names the paper's object, so the screening rule keeps it. With it stay what its proof | |
| 25 | +names: `slowDomain`, `slowDomain_convex` and `slowDomain_uniqueDiff` in `NavierStokes/ParticularOneSided.lean`, | |
| 26 | +and `commonCoefficients_contDiffOn_within`, `periodizedCopies_contDiffOn_within`, | |
| 27 | +`complexCopy_contDiffOn_within`, `copyPressure_contDiffOn_within` and `tangent_coefficients_contDiffOn` in | |
| 28 | +`NavierStokes/ParticularWithinPressure.lean`. Those five are all of that file's declarations, so | |
| 29 | +`NavierStokes/ParticularWithinPressure.lean` is untouched by this pull request. `git grep -n -i paper` over the | |
| 30 | +deleted lines finds nothing: no other deleted docstring names the paper or a numbered result of it. | |
| 31 | + | |
| 32 | +Checked before opening the pull request. `git grep -n -w <short name>` over the tree after the patch finds no use of | |
| 33 | +any of the 89 short names; the only hits are different declarations that happen to share a short name | |
| 34 | +(`SignedCopyBounds.coefficients_localized_jets`, `SignedCopyBounds.uniform_coefficients_localized_jets`, | |
| 35 | +`CopySolveCompatibility.commonSolve_transport`, `ScaledTangentTransport.commonSolve_transport`, | |
| 36 | +`TangentInvariant.commonPressure_invariant`, `LocalRankDefect.positiveDomain`, `DirectAngularDiagonal.positiveDomain`, | |
| 37 | +`ActualParticularCoherence.gaussian_band`, `ActualParticularCycleData.good_real`, | |
| 38 | +`ParticularWaveBounds.ModalCopyControl.waveClass`, `divergence_zero` in the Euler files and in | |
| 39 | +`ComparatorChallenges/`). `python3 checks/challenge.py .` ends with `ok`: 4 challenge files and the build | |
| 40 | +configuration as approved; 2589 Lean files, 555959 lines, toolchain leanprover/lean4:v4.34.0-rc2. | |
| 41 | + | |
| 42 | +Left for another unit. `NavierStokes/ParticularWithinBounds.lean` keeps only its imports, `open`s and `variable` | |
| 43 | +lines after these deletions, with no declaration left; deleting the file itself is a file unit, not this one. | |
| 44 | +`NavierStokes/ParticularWithinPressure.lean` keeps its five declarations and is not part of this change. | |
| 45 | + | |
| 46 | +## Next | |
| 47 | + | |
| 48 | +The maintainer's review after `challenge` and `build`. If `build` reports a name this patch missed, add it to | |
| 49 | +`## Next` here with the file and line and fix the patch rather than the tree by hand. | |
+72 −0 routes/s1-ns-primary-1/README.md added View file
| @@ -0,0 +1,72 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-primary-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations that nothing uses): the family | |
| 8 | +`NavierStokes/Primary*`, eleven files, 159 declarations, 2554 lines. This pull | |
| 9 | +request deletes 150 of them, 2277 lines. The other nine stay: six are the only | |
| 10 | +Lean statement of a fact the manuscript prints, and three are what those six | |
| 11 | +need to be stated and proved. | |
| 12 | + | |
| 13 | +## What stays, and why | |
| 14 | + | |
| 15 | +The six, with the prose in their docstrings that ties them to the manuscript: | |
| 16 | + | |
| 17 | +- `PrimaryCovarianceBounds.scalar_cone_model` — "The manuscript's two signed | |
| 18 | + model columns satisfy all model-side inputs…" | |
| 19 | +- `PrimaryFieldAssembly.actual_phase_identification` — "The phase in the | |
| 20 | + manuscript gives precisely the recorded integer…" | |
| 21 | +- `PrimaryODE.primary_gaussian_bounds` — "The actual primary is bounded above | |
| 22 | + and below by the manuscript's Gaussian envelopes." | |
| 23 | +- `PrimaryODE.primarySeed_reference_contDiffOn` — "The manuscript normalization | |
| 24 | + `z₊(0)=P(0), z₋(0)=0` is itself a smooth parameter family…" | |
| 25 | +- `PrimaryCopyBounds.exists_prepared_primary_jets` — "The determinant, entry and | |
| 26 | + inverse-weight constants are produced by the actual same-profile | |
| 27 | + construction…" | |
| 28 | +- `PrimaryCopyBounds.exists_prepared_pair_jets` — the final native primary | |
| 29 | + estimate, and the existence result of the prepared pair jets. | |
| 30 | + | |
| 31 | +What those six need, and what would otherwise be deleted with them: | |
| 32 | + | |
| 33 | +- `PrimaryODE.referenceEnvelope` (in the statement of `primary_gaussian_bounds` | |
| 34 | + and `primarySeed_reference_contDiffOn`); | |
| 35 | +- `PrimaryODE.initialEnvelope_contDiffOn` and | |
| 36 | + `PrimaryODE.referenceRate_contDiffOn` (in the proof of | |
| 37 | + `primarySeed_reference_contDiffOn`). | |
| 38 | + | |
| 39 | +## How the unit was cut | |
| 40 | + | |
| 41 | +The unit was cut from Treant's run of 2026-12-03 | |
| 42 | +(TitiSkywalker/NavierStokesAndEuler) and re-checked on this project's main | |
| 43 | +under its rule: a declaration Treant deleted stays when a paper result reaches | |
| 44 | +it or its docstring cites the paper. `git grep -n -w` over the tree finds none | |
| 45 | +of the deleted short names as a use of a deleted declaration; the nine hits | |
| 46 | +that remain are other declarations of the same short name — | |
| 47 | +`EulerProof.localize`, `PositiveAxisSystem.sourceField`, | |
| 48 | +`FamilyData.angular_rounding_error`, `GaussianTailFlat.finite_jet_bounds`, | |
| 49 | +`ViscousPropagator.zero_initial_source_bound`, | |
| 50 | +`ActualPrimaryBounds.chartNormal`, `CurlClassBounds.curlRemainder_waveClass` | |
| 51 | +and `PositiveRepresentatives.representative_parameter_bounds` — except one | |
| 52 | +docstring in `PhaseJetBounds.lean` that named the deleted | |
| 53 | +`PrimaryODE.norm_iteratedFDeriv_solution_le_polynomial`; that sentence now | |
| 54 | +names only `WeightedODEJets`. One more docstring names a deleted declaration | |
| 55 | +once the six come back: `scalar_cone_model`'s said its model columns satisfy | |
| 56 | +the inputs of the deleted `compact_native_primary_bounds`, and now says they | |
| 57 | +satisfy the inputs of the primary covariance estimate. The change is deletions | |
| 58 | +plus those two docstrings: no statement or proof that stays is altered. | |
| 59 | + | |
| 60 | +## Rule gap for the next family | |
| 61 | + | |
| 62 | +The filter that cut this unit looked for a numbered reference (Lemma, Theorem, | |
| 63 | +Proposition, Corollary, Section or Equation) in each docstring. The six above | |
| 64 | +cite the manuscript in prose instead, so the filter missed them on the first | |
| 65 | +pass. A docstring that states a manuscript result in prose counts the same as a | |
| 66 | +numbered reference: the declaration stays even when no Lean theorem uses it. | |
| 67 | +`AGENTS.md`, "Changes we don't want", has the rule. | |
| 68 | + | |
| 69 | +## Next | |
| 70 | + | |
| 71 | +The revision that restores the nine declarations is pushed. Leave the `build` | |
| 72 | +check to report; then `status: done` once it is taken in. | |
+50 −0 routes/s1-ns-terminal-1/README.md added View file
| @@ -0,0 +1,50 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-terminal-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Terminal*`: deletes 79 | |
| 8 | +declarations that nothing uses, 1042 lines in `TerminalCompensation.lean`, | |
| 9 | +`TerminalCone.lean`, `TerminalEdgeFactor.lean`, `TerminalHistoryBridge.lean`, | |
| 10 | +`TerminalPressure.lean` and `TerminalStress.lean`. The diff is deletions only; no | |
| 11 | +statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and | |
| 14 | +from the declaration graph of this project's `main`, under this project's rule that the | |
| 15 | +paper's results stay (`NavierStokes/PaperResults.lean` and what it imports, | |
| 16 | +`NavierStokes/R3/Theorem.lean`, `NavierStokes/LocalPaperTheorem.lean`). None of the 79 | |
| 17 | +deleted is named by the text of a declaration that stays, and no deleted docstring cites | |
| 18 | +the paper. | |
| 19 | + | |
| 20 | +Kept back at review. `NavierStokes/TerminalEdgePaper.profileStress_lower_bound` is a | |
| 21 | +result the paper prints — its docstring names the printed exponential-over-cubic lower | |
| 22 | +bound on the collar — and `NavierStokes/PaperAdditionalResults.lean`, one of the files | |
| 23 | +carrying the paper's results, imports `NavierStokes/TerminalEdgePaper.lean`; the theorem | |
| 24 | +and its file stay, as the review asked. Its proof is the text of `main` and calls | |
| 25 | +`profile_uniform_cone` in `NavierStokes/TerminalEdgeFactor.lean`, so that theorem stays, | |
| 26 | +and with it the three lemmas its proof calls: `profileTilt_contDiffAt`, | |
| 27 | +`profileSpeed_contDiffAt` and `profileConeGap_zero`. Five of the original 84 are | |
| 28 | +withdrawn from the unit for that reason; none of them has a user on `main` either, and | |
| 29 | +nothing else is changed. | |
| 30 | + | |
| 31 | +Checked on this branch. `git grep -n -w` over the Lean tree finds none of the 79 short | |
| 32 | +names except other declarations of the same short name that stay: `bump_nonneg` and | |
| 33 | +`bump_le_one` in `AngularMomentReset.lean` and `LocalizedMomentRepair.lean`, | |
| 34 | +`carrier_pos` in `ActualSignedCoherence.lean` and `OutgoingTail.lean`, | |
| 35 | +`correction_hasCompactSupport` in `FiveProfileMoments.lean`, `angularHistory_integrable`, | |
| 36 | +`angularHistory_eq_power_sub_future` and `energyHistory_eq_square_future` in | |
| 37 | +`HeatTailHistoryLimits.lean`, `profileStress_jets` in `SlowFirstOrderEdge.lean`, and | |
| 38 | +`profile_relative_cone` in `TerminalCone.lean`. `profileTilt_contDiffAt` was declared | |
| 39 | +twice (`TerminalCone.lean` and `TerminalEdgeFactor.lean`): the `TerminalCone` copy is | |
| 40 | +deleted, the `TerminalEdgeFactor` copy stays with the theorem that uses it. No deleted | |
| 41 | +docstring cites a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of | |
| 42 | +a paper. | |
| 43 | + | |
| 44 | +`python3 checks/challenge.py .` ends `ok: 4 challenge files and the build configuration as | |
| 45 | +approved; 2588 Lean files, 537195 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 46 | + | |
| 47 | +## Next | |
| 48 | + | |
| 49 | +The maintainer's review of this head; the other declaration units of #10 follow in pull | |
| 50 | +requests of their own. | |
+28 −0 routes/s1-ns-true-1/README.md added View file
| @@ -0,0 +1,28 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-true-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1): from the family `NavierStokes/True*`, deletes the 7 declarations that nothing uses | |
| 8 | +(86 lines in 2 files, `NavierStokes/TrueConeLoop.lean` and `NavierStokes/TrueConeLoopPaper.lean`), and keeps the | |
| 9 | +five that state the paper's Lemma C.1 (Appendix C.1, (C.1)–(C.3)), adding that citation to their docstrings. | |
| 10 | + | |
| 11 | +Deleted: `TrueConeLoop.varianceRoot_zero`, `seedTilt_nominal`, `constructed_smooth`, `exists_trueCone_loop`, | |
| 12 | +`FamilyChoices.root_bound`, `FamilyChoices.amplitude_bound`, `TrueConeLoopPaper.uniform_boundary_collar`. | |
| 13 | +`git grep -n -w` finds no user of any short name; `root_bound` and `amplitude_bound` hit only same-named | |
| 14 | +declarations in other namespaces (`Euler/PacketUniversalFrequency.lean`, `Euler/TransversePacketAmplitude.lean`, | |
| 15 | +`NavierStokes/PhysicalClassBounds.lean`, `PhysicalCopyBounds.lean`), which the rule allows. | |
| 16 | + | |
| 17 | +Kept: `HasConeMargin` (the vector `Ψ` of cone gaps (4.35)), `compact_periodic_trueCone_margins` (the compactness | |
| 18 | +step that gives the uniform margin (C.2)), `exists_compact_trueCone_family` (the loop construction, (C.1) and | |
| 19 | +(C.3)), `exists_compact_trueCone_family_with_margin` (Lemma C.1 itself), and `TrueConeLoopPaper.exists_local_family_with_margin` | |
| 20 | +(the same with the paper's regularity localized); the module docstring of `TrueConeLoopPaper.lean` names it. | |
| 21 | + | |
| 22 | +The maintainer's review of the first head found that four of the twelve were Lemma C.1 and that the filter used — | |
| 23 | +keep what a file under `PaperResults.lean` reaches — cannot see a declaration that is a paper result and is reached | |
| 24 | +by nothing else. This head applies that: only 86 lines go, no declaration that states a numbered paper result. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +The rest of the family and the other units of #10 are separate. | |