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 origin/main into s1-ns-base-2
Browse filesResolves the conflict in NavierStokes/BaseChartJets.lean: main deleted nominal_estimates, modulated_estimates and Estimates.uniform_errors; this branch deletes actual_localBase_and_polynomial and dyadic_actual_bounds. The file is main's, less those two declarations. Deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main s1-euler-all-3 s1-euler-correction-3 s1-euler-cylinder-3 s1-euler-dirichlet-6 s1-euler-exact-3 s1-euler-finite-3 s1-euler-hilbert-6 s1-euler-lp-3 s1-euler-ordinary-6 s1-euler-packet-3 s1-euler-source-6 s1-euler-transverse-6 s1-euler-volume-3 s1-ns-actual-3 s1-ns-annular-6 s1-ns-base-2 s1-ns-base-6 s1-ns-borel-3 s1-ns-constructed-3 s1-ns-copy-6 s1-ns-correction-3 s1-ns-curl-6 s1-ns-current-3 s1-ns-cycle-3 s1-ns-error-3 s1-ns-even-3 s1-ns-final-6 s1-ns-first-3 s1-ns-flat-3 s1-ns-fourier-3 s1-ns-harmonic-6 s1-ns-heat-3 s1-ns-joint-3 s1-ns-linear-6 s1-ns-localized-6 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-parametric-6 s1-ns-particular-6 s1-ns-partitioned-6 s1-ns-periodic-3 s1-ns-physical-3 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-smooth-3 s1-ns-spacetime-3 s1-ns-temporal-3 s1-ns-torus-3 s1-ns-variable-3 s1-ns-wave-3 s1-ns-weighted-3 s1-ns-whole-3
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+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 −22 Euler/CylinderCoverDescent.lean View file
| @@ -39,18 +39,6 @@ theorem descend_continuous {V : Type*} [TopologicalSpace V] (f : LiftTangent → | ||
| 39 | 39 | rw [h] |
| 40 | 40 | exact hf |
| 41 | 41 | |
| 42 | -theorem descend_joint_continuous {K V : Type*} [TopologicalSpace K] [TopologicalSpace V] | |
| 43 | - (f : K → LiftTangent → V) (hf : Continuous (Function.uncurry f)) | |
| 44 | - (he : ∀ t a b, coveringMap P a=coveringMap P b → f t a=f t b) : | |
| 45 | - Continuous (fun z : K × LiftDomain P => descend P (f z.1) z.2) := by | |
| 46 | - apply (IsOpenQuotientMap.id.prodMap (coveringMap_isOpenQuotient P)).isQuotientMap.continuous_iff.mpr | |
| 47 | - have h : (fun z : K × LiftDomain P => descend P (f z.1) z.2) ∘ | |
| 48 | - Prod.map id (coveringMap P) = Function.uncurry f := by | |
| 49 | - funext z | |
| 50 | - exact descend_cover P (f z.1) (he z.1) z.2 | |
| 51 | - rw [h] | |
| 52 | - exact hf | |
| 53 | - | |
| 54 | 42 | omit [Fact (0 < P)] in |
| 55 | 43 | theorem fiber_constant_of_deck {V : Type*} (f : LiftTangent → V) |
| 56 | 44 | (hf : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) |
| @@ -96,14 +84,4 @@ theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : | ||
| 96 | 84 | (descend_measurable P _ ((coveringMap_isOpenQuotient P).continuous.measurable.comp hf.measurable)) |
| 97 | 85 | hdeck (fun z => (descendMap_cover P f hdeck z).symm) |
| 98 | 86 | |
| 99 | -include hdeck in | |
| 100 | -theorem descendMap_leftInverse (g : LiftTangent → LiftTangent) | |
| 101 | - (hg : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 102 | - g (z.1,(c : ℝ)+z.2)=((g z).1,(c : ℝ)+(g z).2)) | |
| 103 | - (hgf : Function.LeftInverse g f) : | |
| 104 | - Function.LeftInverse (descendMap P g) (descendMap P f) := by | |
| 105 | - intro q | |
| 106 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 107 | - rw [descendMap_cover P f hdeck,descendMap_cover P g hg,hgf] | |
| 108 | - | |
| 109 | 87 | end EulerCylinderCoverDescent |
+0 −11 Euler/CylinderCoveringDerivative.lean View file
| @@ -33,15 +33,4 @@ theorem coverField_contDiff (f : LiftDomain P → V) | ||
| 33 | 33 | rw [coverField_eq_local] |
| 34 | 34 | exact hf 0 |
| 35 | 35 | |
| 36 | -omit [Fact (0 < P)] in | |
| 37 | -/-- The raw spatial derivative is exactly the spatial restriction of the cylinder derivative. -/ | |
| 38 | -theorem coverField_spatial_fderiv (f : LiftDomain P → V) | |
| 39 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (x : Space) (θ : ℝ) : | |
| 40 | - fderiv ℝ (fun y : Space => f (y,(θ : AddCircle P))) x = | |
| 41 | - (fieldFDeriv P f (x,(θ : AddCircle P))).comp (ContinuousLinearMap.inl ℝ Space ℝ) := by | |
| 42 | - have hi : HasFDerivAt (fun y : Space => (y,θ)) (ContinuousLinearMap.inl ℝ Space ℝ) x := | |
| 43 | - (hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const θ x) | |
| 44 | - have hd := ((coverField_contDiff P f hf).differentiable (by simp) (x,θ)).hasFDerivAt.comp x hi | |
| 45 | - simpa only [Function.comp_def, coverField_fderiv] using hd.fderiv | |
| 46 | - | |
| 47 | 36 | end EulerCylinderSmoothOrbit |
+0 −7 Euler/CylinderDescentJets.lean View file
| @@ -54,13 +54,6 @@ theorem descend_smooth (hf : ContDiff ℝ ∞ f) (q : LiftDomain P) : | ||
| 54 | 54 | rw [localFieldLift_descend_cover P f hperiod] |
| 55 | 55 | exact hf.comp (contDiff_const.add contDiff_id) |
| 56 | 56 | |
| 57 | -include hperiod in | |
| 58 | -theorem jetSeries_eq_local (q : LiftDomain P) (n : ℕ) : | |
| 59 | - jetSeries P f q n=iteratedFDeriv ℝ n (localFieldLift P (descend P f) q) 0 := by | |
| 60 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 61 | - rw [jetSeries_cover P f hperiod,localFieldLift_descend_cover P f hperiod, | |
| 62 | - iteratedFDeriv_comp_add_left,add_zero] | |
| 63 | - | |
| 64 | 57 | include hperiod in |
| 65 | 58 | theorem jetSeries_comp (Φ : LiftTangent → LiftTangent) |
| 66 | 59 | (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : |
+0 −58 Euler/CylinderPathBilinear.lean View file
| @@ -26,67 +26,9 @@ theorem sum_components (u : Space) : (∑ i : Fin 3, component i u • basisVect | ||
| 26 | 26 | ext i |
| 27 | 27 | simp [component, basisVector, Pi.single_apply, mul_ite] |
| 28 | 28 | |
| 29 | -theorem bilinear_components (B : Space →L[ℝ] Space →L[ℝ] Space) (u v : Space) : | |
| 30 | - (∑ i : Fin 3, B (basisVector i) (component i u • v)) = B u v := by | |
| 31 | - have h := congrArg (fun z : Space => B z v) (sum_components u) | |
| 32 | - simpa only [map_sum, _root_.sum_apply, map_smul, smul_apply] using h | |
| 33 | - | |
| 34 | 29 | variable (P : ℝ) [Fact (0 < P)] {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 35 | 30 | (B : Space →L[ℝ] Space →L[ℝ] Space) (p q : C(K,LiftL2 P)) |
| 36 | 31 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 37 | 32 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 38 | 33 | |
| 39 | -def bilinearTerm (i : Fin 3) : C(K,LiftL2 P) := | |
| 40 | - pathMap P (B (basisVector i)) | |
| 41 | - (scalarProductPath P (component i) (component_norm i) p q hp hq) | |
| 42 | - | |
| 43 | -theorem bilinearTerm_orbit (i : Fin 3) : | |
| 44 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearTerm P B p q hp hq i)) := | |
| 45 | - pathMap_orbit_contDiff P (B (basisVector i)) _ | |
| 46 | - (scalarProductPath_orbit P (component i) (component_norm i) p q hp hq) | |
| 47 | - | |
| 48 | -/-- An arbitrary fixed bilinear vector operation on the actual L² paths. -/ | |
| 49 | -def bilinearProductPath : C(K,LiftL2 P) := ∑ i : Fin 3, bilinearTerm P B p q hp hq i | |
| 50 | - | |
| 51 | -theorem bilinearProductPath_orbit : | |
| 52 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearProductPath P B p q hp hq)) := by | |
| 53 | - simp only [bilinearProductPath, map_sum] | |
| 54 | - exact ContDiff.sum (fun i _ => bilinearTerm_orbit P B p q hp hq i) | |
| 55 | - | |
| 56 | -theorem bilinearTerm_ae (i : Fin 3) (t : K) : | |
| 57 | - (bilinearTerm P B p q hp hq i t : LiftDomain P → Space) =ᵐ[liftMeasure P] | |
| 58 | - fun x => B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := by | |
| 59 | - filter_upwards [map_ae P (B (basisVector i)) | |
| 60 | - (scalarProductPath P (component i) (component_norm i) p q hp hq t), | |
| 61 | - scalarProductPath_ae P (component i) (component_norm i) p q hp hq t] with x hm hp | |
| 62 | - exact hm.trans (congrArg (B (basisVector i)) hp) | |
| 63 | - | |
| 64 | -theorem bilinearProductPath_ae (t : K) : | |
| 65 | - (bilinearProductPath P B p q hp hq t : LiftDomain P → Space) =ᵐ[liftMeasure P] | |
| 66 | - fun x => B (pointField P p hp t x) (pointField P q hq t x) := by | |
| 67 | - have ht : ∀ᶠ x in ae (liftMeasure P), ∀ i : Fin 3, | |
| 68 | - bilinearTerm P B p q hp hq i t x = | |
| 69 | - B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := | |
| 70 | - Filter.eventually_all.mpr (fun i => bilinearTerm_ae P B p q hp hq i t) | |
| 71 | - have hs := Lp.coeFn_fun_finsetSum (univ : Finset (Fin 3)) | |
| 72 | - (fun i => bilinearTerm P B p q hp hq i t) | |
| 73 | - filter_upwards [hs,ht] with x hs ht | |
| 74 | - change (∑ i : Fin 3, bilinearTerm P B p q hp hq i t) x = _ | |
| 75 | - rw [hs] | |
| 76 | - exact (sum_congr rfl (fun i _ => ht i)).trans | |
| 77 | - (bilinear_components B (pointField P p hp t x) (pointField P q hq t x)) | |
| 78 | - | |
| 79 | -/-- The reconstructed field agrees everywhere with the literal nonlinearity. -/ | |
| 80 | -theorem pointField_bilinearProductPath (t : K) (x : LiftDomain P) : | |
| 81 | - pointField P (bilinearProductPath P B p q hp hq) | |
| 82 | - (bilinearProductPath_orbit P B p q hp hq) t x = | |
| 83 | - B (pointField P p hp t x) (pointField P q hq t x) := by | |
| 84 | - have he := Measure.eq_of_ae_eq | |
| 85 | - ((pointField_ae P _ (bilinearProductPath_orbit P B p q hp hq) t).symm.trans | |
| 86 | - (bilinearProductPath_ae P B p q hp hq t)) | |
| 87 | - (smoothField_continuous P _ (pointField_smooth P _ _ t)) | |
| 88 | - ((B.continuous.comp (smoothField_continuous P _ (pointField_smooth P p hp t))).clm_apply | |
| 89 | - (smoothField_continuous P _ (pointField_smooth P q hq t))) | |
| 90 | - exact congrFun he x | |
| 91 | - | |
| 92 | 34 | end EulerCylinderPathProduct |
+0 −53 Euler/CylinderPathBilinearBounds.lean View file
| @@ -20,61 +20,8 @@ private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance | ||
| 20 | 20 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 21 | 21 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 22 | 22 | |
| 23 | -theorem pathMap_block_le (A : Space →L[ℝ] Space) (p : C(K,LiftL2 P)) | |
| 24 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) | |
| 25 | - (q n : ℕ) (a : LiftTangent) : | |
| 26 | - block standardDirection q (fun b : LiftTangent => pathTranslate P b (pathMap P A p)) n a ≤ | |
| 27 | - ‖A‖*block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n a := by | |
| 28 | - have he : (fun b : LiftTangent => pathTranslate P b (pathMap P A p)) = | |
| 29 | - pathMap P A ∘ (fun b : LiftTangent => pathTranslate P b p) := | |
| 30 | - funext (fun b => (pathMap_translation P A b p).symm) | |
| 31 | - rw [he] | |
| 32 | - have hnorm : ‖pathMap (K := K) P A‖ ≤ ‖A‖ := pathMap_norm (K := K) P A | |
| 33 | - have h := block_comp_clm_le (P := LiftTangent) (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) | |
| 34 | - standardDirection q (pathMap (K := K) P A) | |
| 35 | - (fun b : LiftTangent => pathTranslate P b p) hp n a | |
| 36 | - exact h.trans (mul_le_mul_of_nonneg_right hnorm | |
| 37 | - (block_nonneg standardDirection q (fun b : LiftTangent => pathTranslate P b p) n a)) | |
| 38 | - | |
| 39 | 23 | variable (B : Space →L[ℝ] Space →L[ℝ] Space) (p q : C(K,LiftL2 P)) |
| 40 | 24 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 41 | 25 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 42 | 26 | |
| 43 | -/-- The field word radius is unchanged by an arbitrary fixed bounded bilinear vector map. -/ | |
| 44 | -theorem bilinearProductPath_majorant (R A C : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hC : 0 ≤ C) | |
| 45 | - (d e : ℕ) (a : LiftTangent) | |
| 46 | - (hb : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b p) n a ≤ | |
| 47 | - A*majorant R d n) | |
| 48 | - (hc : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b q) n a ≤ | |
| 49 | - C*majorant R e n) (n : ℕ) : | |
| 50 | - block standardDirection 6 | |
| 51 | - (fun b : LiftTangent => pathTranslate P b (bilinearProductPath P B p q hp hq)) n a ≤ | |
| 52 | - (9*productBlockConstant P*‖B‖*A*C)*majorant R (d+e) n := by | |
| 53 | - have ht (i : Fin 3) : | |
| 54 | - block standardDirection 6 | |
| 55 | - (fun b : LiftTangent => pathTranslate P b (bilinearTerm P B p q hp hq i)) n a ≤ | |
| 56 | - (3*productBlockConstant P*‖B‖*A*C)*majorant R (d+e) n := by | |
| 57 | - have hi : ‖B (basisVector i)‖ ≤ ‖B‖ := by | |
| 58 | - simpa [basisVector] using B.le_opNorm (basisVector i) | |
| 59 | - have hs := scalarProductPath_majorant P (component i) (component_norm i) | |
| 60 | - p q hp hq R A C hR hA hC d e a hb hc n | |
| 61 | - have hpos : 0 ≤ (3*productBlockConstant P*A*C)*majorant R (d+e) n := | |
| 62 | - mul_nonneg (by have := productBlockConstant_nonneg P; positivity) (majorant_nonneg R hR _ _) | |
| 63 | - have h := (pathMap_block_le P (B (basisVector i)) | |
| 64 | - (scalarProductPath P (component i) (component_norm i) p q hp hq) | |
| 65 | - (scalarProductPath_orbit P (component i) (component_norm i) p q hp hq) 6 n a).trans | |
| 66 | - (mul_le_mul_of_nonneg_left hs (norm_nonneg _)) | |
| 67 | - exact h.trans ((mul_le_mul_of_nonneg_right hi hpos).trans_eq (by ring)) | |
| 68 | - let f := fun i : Fin 3 => fun b : LiftTangent => pathTranslate P b (bilinearTerm P B p q hp hq i) | |
| 69 | - have he : (fun b : LiftTangent => pathTranslate P b (bilinearProductPath P B p q hp hq)) = | |
| 70 | - ∑ i : Fin 3, f i := by | |
| 71 | - funext b | |
| 72 | - simp only [bilinearProductPath, map_sum, f, Finset.sum_apply] | |
| 73 | - rw [he] | |
| 74 | - have h := block_finset_sum_le standardDirection 6 univ f | |
| 75 | - (fun i _ => bilinearTerm_orbit P B p q hp hq i) n a | |
| 76 | - exact h.trans ((sum_le_sum (fun i _ => ht i)).trans_eq (by | |
| 77 | - simp only [sum_const, card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_ofNat] | |
| 78 | - ring)) | |
| 79 | - | |
| 80 | 27 | end EulerCylinderPathProduct |
+0 −24 Euler/CylinderPeriodicFlow.lean View file
| @@ -28,30 +28,6 @@ theorem flow_deck (s t : ℝ) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : | ||
| 28 | 28 | |
| 29 | 29 | def flow (s t : ℝ) : LiftDomain P → LiftDomain P := descendMap P (V.flow s t) |
| 30 | 30 | |
| 31 | -include hV in | |
| 32 | -theorem flow_cover (s t : ℝ) (z : LiftTangent) : | |
| 33 | - flow P V s t (coveringMap P z) = coveringMap P (V.flow s t z) := | |
| 34 | - descendMap_cover P (V.flow s t) (flow_deck P V hV s t) z | |
| 35 | - | |
| 36 | -include hV in | |
| 37 | -theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := | |
| 38 | - descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) | |
| 39 | - (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) | |
| 40 | - | |
| 41 | -include hV in | |
| 42 | -theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by | |
| 43 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := | |
| 44 | - (coveringMap_isOpenQuotient P).continuous.comp V.forward_joint_continuous | |
| 45 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.forward t z)) hf | |
| 46 | - (fun t => map_fiber_constant P (V.flow 0 t) (flow_deck P V hV 0 t)) | |
| 47 | - | |
| 48 | -include hV in | |
| 49 | -theorem backward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V z.1 0 z.2) := by | |
| 50 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.backward z.1 z.2)) := | |
| 51 | - (coveringMap_isOpenQuotient P).continuous.comp V.backward_joint_continuous | |
| 52 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.backward t z)) hf | |
| 53 | - (fun t => map_fiber_constant P (V.flow t 0) (flow_deck P V hV t 0)) | |
| 54 | - | |
| 55 | 31 | include hV in |
| 56 | 32 | theorem flow_measurePreserving (s t : ℝ) (hf : MeasurePreserving (V.flow s t) volume volume) : |
| 57 | 33 | MeasurePreserving (flow P V s t) (liftMeasure P) (liftMeasure P) := |
+0 −4 Euler/CylinderReflection.lean View file
| @@ -34,10 +34,6 @@ theorem reflection_ae (f : LiftL2 period) : | ||
| 34 | 34 | (measurePreserving_reflection period).quasiMeasurePreserving.ae (reflection_ae period f)] with x hx hy |
| 35 | 35 | rw [hx, hy, neg_neg] |
| 36 | 36 | |
| 37 | -/-- Reflection preserves the actual L² norm. -/ | |
| 38 | -theorem reflection_norm (f : LiftL2 period) : ‖reflection period f‖ = ‖f‖ := | |
| 39 | - (reflection period).norm_map f | |
| 40 | - | |
| 41 | 37 | /-- Reflection reverses translations in every spatial or angular direction. -/ |
| 42 | 38 | theorem reflection_translation (a : LiftDomain period) (f : LiftL2 period) : |
| 43 | 39 | reflection period (translation period a f) = translation period (-a) (reflection period f) := by |
+0 −9 Euler/CylinderSobolevDerivatives.lean View file
| @@ -91,13 +91,4 @@ theorem derivativeOperator_hasDerivAt {q : ℕ} (i : Fin 4) (u : SobolevSpace pe | ||
| 91 | 91 | (u.val (emptyWord (q + 1)))) (u.val (derivativeIndex i (emptyWord q))) 0 |
| 92 | 92 | simpa only [word, emptyWord, derivativeIndex, hw] using hd |
| 93 | 93 | |
| 94 | -/-- Coordinate differentiation commutes with actual Sobolev translation. -/ | |
| 95 | -theorem derivativeOperator_translation {q : ℕ} (i : Fin 4) (a : LiftDomain period) | |
| 96 | - (u : SobolevSpace period (q + 1)) : | |
| 97 | - derivativeOperator period q i (sobolevTranslation period (q + 1) a u) = | |
| 98 | - sobolevTranslation period q a (derivativeOperator period q i u) := by | |
| 99 | - apply Subtype.ext | |
| 100 | - funext w | |
| 101 | - rfl | |
| 102 | - | |
| 103 | 94 | end EulerCylinderSobolevSpace |
+0 −64 Euler/CylinderViscousEnergy.lean View file
| @@ -21,68 +21,4 @@ def heatEnergyConstant (K : SmoothCoefficient period) (c : ℝ) : ℝ := | ||
| 21 | 21 | def transportEnergyConstant (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (B : ℝ≥0) : ℝ := |
| 22 | 22 | (1 / 2 : ℝ) * K.firstBound * ((|κ| + ‖m‖) * B) |
| 23 | 23 | |
| 24 | -/-- The regularized root of a finite sum of actual cylinder word energies obeys the viscous estimate. -/ | |
| 25 | -theorem finite_cylinder_viscous_energy {ι : Type*} [Fintype ι] | |
| 26 | - (κ : ℝ) (m : Vector3) (K : ℝ → SmoothCoefficient period) (G : SmoothCoefficient period) | |
| 27 | - (e : ι → ℝ → LiftL2 period) (t δ c ν : ℝ) | |
| 28 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) | |
| 29 | - (e' p forcing : ι → LiftL2 period) (z : LiftL2 period) | |
| 30 | - (J : ∀ i, SpatialJet period standardDirection 2 (e i t)) | |
| 31 | - (g : ι → LiftDomain period → Vector3) | |
| 32 | - (hrep : ∀ i, (e i t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i) | |
| 33 | - (hg : ∀ i x, ContDiff ℝ ∞ (localFieldLift period (g i) x)) | |
| 34 | - (hDg : ∀ i, MemLp (fun x => fderiv ℝ (localFieldLift period (g i) x) 0) | |
| 35 | - 2 (liftMeasure period)) | |
| 36 | - (hδ : 0 < δ) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 37 | - (hKt : HasDerivAt (fun s => (K s).operator) K' t) | |
| 38 | - (het : ∀ i, HasDerivAt (e i) (e' i) t) | |
| 39 | - (hsym : ∀ x v w, ⟪(K t).coefficient x v, w⟫_ℝ = ⟪v, (K t).coefficient x w⟫_ℝ) | |
| 40 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K t).coefficient x v, v⟫_ℝ) | |
| 41 | - (hKG : ∀ x v, (K t).coefficient x (G.coefficient x v) = v) | |
| 42 | - (hediv : ∀ i, e i t ∈ divergenceFreeSpace period κ m) | |
| 43 | - (hp : ∀ i, p i ∈ gradientSpace period κ m) | |
| 44 | - (hz : z ∈ divergenceFreeSpace period κ m) (B : ℝ≥0) | |
| 45 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 46 | - (heq : ∀ i, e' i + EulerRepresentativeMetricEvolution.liftedTransport period κ m | |
| 47 | - (g i) z (hDg i) B hzB + G.operator (p i) = forcing i + ν • jetLaplacian period (J i)) : | |
| 48 | - deriv (fun s => √(familyEnergy (K s).operator (fun i => e i s) + δ ^ 2)) t ≤ | |
| 49 | - ((‖K'‖ + 2 * transportEnergyConstant period (K t) κ m B + | |
| 50 | - 2 * ν * heatEnergyConstant period (K t) c) / (2 * c ^ 2)) * | |
| 51 | - √(familyEnergy (K t).operator (fun i => e i t) + δ ^ 2) + | |
| 52 | - (((K t).bound : ℝ) / c) * familyNorm forcing := by | |
| 53 | - let β := transportEnergyConstant period (K t) κ m B | |
| 54 | - let C := heatEnergyConstant period (K t) c | |
| 55 | - have hβ : 0 ≤ β := by dsimp [β, transportEnergyConstant]; positivity | |
| 56 | - have hC : 0 ≤ C := by dsimp [C, heatEnergyConstant]; positivity | |
| 57 | - have hcoer : ∀ u, c ^ 2 * ‖u‖ ^ 2 ≤ ⟪(K t).operator u, u⟫_ℝ := | |
| 58 | - coefficientOperator_coercive (K t).coefficient (K t).measurable | |
| 59 | - (K t).bound (K t).norm_bound (c ^ 2) hpos | |
| 60 | - have hsymL : ∀ v w, ⟪(K t).operator v, w⟫_ℝ = ⟪v, (K t).operator w⟫_ℝ := | |
| 61 | - coefficientOperator_inner_swap (K t).coefficient (K t).measurable | |
| 62 | - (K t).bound (K t).norm_bound hsym | |
| 63 | - have hpL (i : ι) : ⟪(K t).operator (e i t), G.operator (p i)⟫_ℝ = 0 := | |
| 64 | - metric_pressure_cancellation period κ m (K t).coefficient G.coefficient | |
| 65 | - (K t).measurable G.measurable (K t).bound G.bound (K t).norm_bound G.norm_bound | |
| 66 | - hsym hKG (hediv i) (hp i) | |
| 67 | - have htL (i : ι) : |⟪(K t).operator (e i t), | |
| 68 | - EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB⟫_ℝ| ≤ | |
| 69 | - β * ‖e i t‖ ^ 2 := | |
| 70 | - EulerRepresentativeMetricEvolution.metric_transport_inner_bound period κ m (K t).coefficient | |
| 71 | - (K t).measurable (e i t) (g i) z (hrep i) (K t).smooth (hg i) (hDg i) hsym hz | |
| 72 | - (K t).bound (K t).firstBound B (K t).norm_bound (K t).norm_first hzB | |
| 73 | - have hheat (i : ι) : ⟪(K t).operator (e i t), jetLaplacian period (J i)⟫_ℝ ≤ C * ‖e i t‖ ^ 2 := by | |
| 74 | - have h := metric_heat_bound period (K t) (e i t) (J i) c hc hpos | |
| 75 | - have hd : 0 ≤ ∑ j : Fin 4, ‖(J i).word (fun _ : Fin 1 => j)‖ ^ 2 := | |
| 76 | - Finset.sum_nonneg (fun j _ => sq_nonneg _) | |
| 77 | - dsimp [C, heatEnergyConstant] | |
| 78 | - nlinarith [sq_nonneg c] | |
| 79 | - have h := family_regularized_energy_evolution (fun s => (K s).operator) e t δ c β C ν K' e' | |
| 80 | - (fun i => EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB) | |
| 81 | - (fun i => G.operator (p i)) forcing (fun i => jetLaplacian period (J i)) | |
| 82 | - hδ hc hβ hC hν hcoer hKt het hsymL heq hpL htL hheat | |
| 83 | - have hop : ‖(K t).operator‖ ≤ (K t).bound := | |
| 84 | - coefficientOperator_norm_le (K t).coefficient (K t).measurable (K t).bound (K t).norm_bound | |
| 85 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 86 | - (div_le_div_of_nonneg_right hop hc.le) (familyNorm_nonneg forcing)) _) | |
| 87 | - | |
| 88 | 24 | end EulerCylinderViscousEnergy |
+0 −80 Euler/EulerC1Breakdown.lean View file
| @@ -25,13 +25,6 @@ def maximalC1Norm (t : L.Time) : ℝ := L.maximalVelocityNorm t+L.maximalGradien | ||
| 25 | 25 | |
| 26 | 26 | theorem maximalVelocityNorm_nonneg (t : L.Time) : 0 ≤ L.maximalVelocityNorm t := norm_nonneg _ |
| 27 | 27 | |
| 28 | -theorem maximalGradientNorm_nonneg (t : L.Time) : 0 ≤ L.maximalGradientNorm t := norm_nonneg _ | |
| 29 | - | |
| 30 | -theorem maximalVelocityNorm_le_iff (t : L.Time) (K : ℝ) : | |
| 31 | - L.maximalVelocityNorm t ≤ K ↔ ∀ x, ‖L.maximalVelocity t x‖ ≤ K := by | |
| 32 | - rw [maximalVelocityNorm,BoundedContinuousFunction.norm_le_of_nonempty] | |
| 33 | - simp only [finiteField_apply,maximalVelocity] | |
| 34 | - | |
| 35 | 28 | theorem maximalGradientNorm_le_iff (t : L.Time) (K : ℝ) : |
| 36 | 29 | L.maximalGradientNorm t ≤ K ↔ ∀ x, ‖fderiv ℝ (L.maximalVelocity t) x‖ ≤ K := by |
| 37 | 30 | rw [maximalGradientNorm,BoundedContinuousFunction.norm_le_of_nonempty] |
| @@ -48,13 +41,6 @@ theorem maximalGradientNorm_continuous : Continuous L.maximalGradientNorm := | ||
| 48 | 41 | theorem maximalC1Norm_continuous : Continuous L.maximalC1Norm := |
| 49 | 42 | L.maximalVelocityNorm_continuous.add L.maximalGradientNorm_continuous |
| 50 | 43 | |
| 51 | -theorem maximalGradientNorm_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 52 | - (t : Icc (0 : ℝ) S) : | |
| 53 | - L.maximalGradientNorm (L.shorterTime S hSL t)=(L.evolution S hS hSL).gradientNormPath t := by | |
| 54 | - change ‖finiteField (L.maximalField (L.shorterTime S hSL t)).derivative‖=_ | |
| 55 | - rw [L.maximalField_eq_evolution S hS hSL t] | |
| 56 | - rfl | |
| 57 | - | |
| 58 | 44 | theorem maximalVelocity_gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : |
| 59 | 45 | ∃ (t : L.Time) (x : Space), τ < t ∧ K < ‖fderiv ℝ (L.maximalVelocity t) x‖ := by |
| 60 | 46 | obtain ⟨S,hS,hSL,t,x,ht,hx⟩ := L.gradient_unbounded_near_endpoint τ K hτ |
| @@ -81,72 +67,6 @@ open scoped ContDiff | ||
| 81 | 67 | |
| 82 | 68 | abbrev MaximalTime : Type := lifespan.Time |
| 83 | 69 | |
| 84 | -def maximalVelocity (t : MaximalTime) : Space → Space := lifespan.maximalVelocity t | |
| 85 | - | |
| 86 | -def maximalPressure (t : MaximalTime) : Space → ℝ := lifespan.maximalPressure t | |
| 87 | - | |
| 88 | -def maximalVelocityNorm (t : MaximalTime) : ℝ := lifespan.maximalVelocityNorm t | |
| 89 | - | |
| 90 | -def maximalGradientNorm (t : MaximalTime) : ℝ := lifespan.maximalGradientNorm t | |
| 91 | - | |
| 92 | 70 | def maximalC1Norm (t : MaximalTime) : ℝ := lifespan.maximalC1Norm t |
| 93 | 71 | |
| 94 | -theorem initialDatum_no_endpoint : ¬ HasSmoothEulerSolution initialDatum.field lifespan.duration := by | |
| 95 | - intro h | |
| 96 | - exact lifespan.no_endpoint ((hasSmoothEulerSolution_iff initialDatum lifespan.duration).mp h) | |
| 97 | - | |
| 98 | -theorem maximalVelocity_initial : maximalVelocity lifespan.initialTime=initialDatum.field := | |
| 99 | - lifespan.maximalVelocity_initial | |
| 100 | - | |
| 101 | -theorem maximalVelocity_smooth (t : MaximalTime) : ContDiff ℝ ∞ (maximalVelocity t) := | |
| 102 | - lifespan.maximalVelocity_smooth t | |
| 103 | - | |
| 104 | -theorem maximalVelocity_joint_continuous : | |
| 105 | - Continuous (fun z : MaximalTime × Space => maximalVelocity z.1 z.2) := | |
| 106 | - lifespan.maximalVelocity_joint_continuous | |
| 107 | - | |
| 108 | -theorem maximalVelocity_divergence (t : MaximalTime) (x : Space) : | |
| 109 | - divergence (maximalVelocity t) x=0 := lifespan.maximalVelocity_divergence t x | |
| 110 | - | |
| 111 | -theorem maximalPressure_spec (t : MaximalTime) : | |
| 112 | - ContDiff ℝ ∞ (maximalPressure t) ∧ maximalPressure t 0=0 ∧ | |
| 113 | - ∀ x, _root_.gradient (maximalPressure t) x=(lifespan.maximalPressureField t).field x := | |
| 114 | - lifespan.maximalPressure_spec t | |
| 115 | - | |
| 116 | -theorem maximalGradientNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 117 | - maximalGradientNorm t ≤ K ↔ ∀ x, ‖fderiv ℝ (maximalVelocity t) x‖ ≤ K := | |
| 118 | - lifespan.maximalGradientNorm_le_iff t K | |
| 119 | - | |
| 120 | -theorem maximalVelocityNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 121 | - maximalVelocityNorm t ≤ K ↔ ∀ x, ‖maximalVelocity t x‖ ≤ K := | |
| 122 | - lifespan.maximalVelocityNorm_le_iff t K | |
| 123 | - | |
| 124 | -theorem maximalGradientNorm_continuous : Continuous maximalGradientNorm := | |
| 125 | - lifespan.maximalGradientNorm_continuous | |
| 126 | - | |
| 127 | -theorem maximalC1Norm_continuous : Continuous maximalC1Norm := | |
| 128 | - lifespan.maximalC1Norm_continuous | |
| 129 | - | |
| 130 | -theorem pointwiseGradient_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 131 | - ∃ (t : MaximalTime) (x : Space), τ < t ∧ K < ‖fderiv ℝ (maximalVelocity t) x‖ := | |
| 132 | - lifespan.maximalVelocity_gradient_unbounded_near_endpoint τ K hτ | |
| 133 | - | |
| 134 | -/-- The gradient supremum has infinite upper limit at the actual maximal time. -/ | |
| 135 | -theorem gradient_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 136 | - ∃ t : MaximalTime, τ < t ∧ K < maximalGradientNorm t := | |
| 137 | - lifespan.maximalGradientNorm_unbounded_near_endpoint τ K hτ | |
| 138 | - | |
| 139 | -/-- The same characterization for the sum of the actual velocity and gradient suprema. -/ | |
| 140 | -theorem c1_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 141 | - ∃ t : MaximalTime, τ < t ∧ K < maximalC1Norm t := | |
| 142 | - lifespan.maximalC1Norm_unbounded_near_endpoint τ K hτ | |
| 143 | - | |
| 144 | -theorem initialDatum_c1_breakdown : | |
| 145 | - 0 < lifespan.duration ∧ lifespan.duration ≤ 1 ∧ | |
| 146 | - ¬ HasSmoothEulerSolution initialDatum.field lifespan.duration ∧ | |
| 147 | - ∀ τ : ℝ, τ < lifespan.duration → ∀ K : ℝ, | |
| 148 | - ∃ t : MaximalTime, τ < t ∧ K < maximalC1Norm t := | |
| 149 | - ⟨lifespan.duration_pos,lifespan_le_one,initialDatum_no_endpoint, | |
| 150 | - fun τ hτ K => c1_unbounded_near_maximal_time τ K hτ⟩ | |
| 151 | - | |
| 152 | 72 | end EulerPacketInduction |
+0 −24 Euler/EulerC1Limsup.lean View file
| @@ -27,15 +27,6 @@ theorem map_time_atTop : | ||
| 27 | 27 | map_coe_atTop_of_Ioo_subset (fun _ ht => ht.2) |
| 28 | 28 | (fun _ _ => ⟨0,L.duration_pos,fun _ ht => ⟨ht.1.le,ht.2⟩⟩) |
| 29 | 29 | |
| 30 | -theorem endpointFilter_neBot : L.endpointFilter.NeBot := by | |
| 31 | - let : Nonempty L.Time := ⟨L.initialTime⟩ | |
| 32 | - rw [L.endpointFilter_eq_atTop] | |
| 33 | - infer_instance | |
| 34 | - | |
| 35 | -theorem time_tendsto_endpoint : | |
| 36 | - Tendsto (fun t : L.Time => (t : ℝ)) atTop (𝓝[<] L.duration) := | |
| 37 | - L.map_time_atTop.le | |
| 38 | - | |
| 39 | 30 | /-- Arbitrarily large values in every terminal interval force the actual |
| 40 | 31 | extended nonnegative upper limit to be infinity. -/ |
| 41 | 32 | theorem ofReal_limsup_eq_top_of_unbounded (f : L.Time → ℝ) |
| @@ -51,12 +42,6 @@ theorem ofReal_limsup_eq_top_of_unbounded (f : L.Time → ℝ) | ||
| 51 | 42 | obtain ⟨t,ht,hft⟩ := hf s s.property.2 b.toReal |
| 52 | 43 | exact ⟨t,ht.le,(ENNReal.lt_ofReal_iff_toReal_lt (ne_of_lt hb)).mpr hft⟩ |
| 53 | 44 | |
| 54 | -theorem maximalGradientNorm_limsup : | |
| 55 | - Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalGradientNorm t)) | |
| 56 | - L.endpointFilter=⊤ := | |
| 57 | - L.ofReal_limsup_eq_top_of_unbounded L.maximalGradientNorm | |
| 58 | - (fun τ hτ K => L.maximalGradientNorm_unbounded_near_endpoint τ K hτ) | |
| 59 | - | |
| 60 | 45 | theorem maximalC1Norm_limsup : |
| 61 | 46 | Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalC1Norm t)) |
| 62 | 47 | L.endpointFilter=⊤ := |
| @@ -75,15 +60,6 @@ namespace EulerPacketInduction | ||
| 75 | 60 | open Filter |
| 76 | 61 | open scoped Topology ENNReal |
| 77 | 62 | |
| 78 | -theorem maximalTime_map_atTop : | |
| 79 | - Filter.map (fun t : MaximalTime => (t : ℝ)) atTop=𝓝[<] lifespan.duration := | |
| 80 | - lifespan.map_time_atTop | |
| 81 | - | |
| 82 | -theorem maximalGradientNorm_limsup : | |
| 83 | - Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalGradientNorm t)) | |
| 84 | - (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := | |
| 85 | - lifespan.maximalGradientNorm_limsup | |
| 86 | - | |
| 87 | 63 | theorem maximalC1Norm_limsup : |
| 88 | 64 | Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalC1Norm t)) |
| 89 | 65 | (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := |
+0 −13 Euler/EulerFiniteLifespan.lean View file
| @@ -36,17 +36,4 @@ theorem hasSmoothEulerSolution_iff (A : SmoothL2Field Space) (T : ℝ) : | ||
| 36 | 36 | · rintro ⟨hT,U,hU⟩ |
| 37 | 37 | exact ⟨hT,U,congrArg SmoothL2Field.field hU⟩ |
| 38 | 38 | |
| 39 | -theorem exists_compact_smooth_finite_lifespan : | |
| 40 | - ∃ u₀ : Space → Space, ContDiff ℝ ∞ u₀ ∧ HasCompactSupport u₀ ∧ | |
| 41 | - (∀ x, divergence u₀ x=0) ∧ | |
| 42 | - ∃ T : ℝ, 0 < T ∧ T ≤ 1 ∧ | |
| 43 | - (∀ t : ℝ, 0 < t → t < T → HasSmoothEulerSolution u₀ t) ∧ | |
| 44 | - (∀ t : ℝ, T < t → ¬ HasSmoothEulerSolution u₀ t) := by | |
| 45 | - refine ⟨initialDatum.field,initialDatum.smooth,initialDatum_compact,initialDatum_divergence, | |
| 46 | - lifespan.duration,lifespan.duration_pos,lifespan_le_one,?_,?_⟩ | |
| 47 | - · intro t ht htT | |
| 48 | - exact (hasSmoothEulerSolution_iff initialDatum t).mpr (lifespan.shorter t ht htT) | |
| 49 | - · intro t hTt h | |
| 50 | - exact lifespan.maximal t hTt ((hasSmoothEulerSolution_iff initialDatum t).mp h) | |
| 51 | - | |
| 52 | 39 | end EulerPacketInduction |
+19 −4072 Euler/EulerProof.lean View file
| @@ -362,27 +362,6 @@ theorem triangular_inverse_majorant (A Rc R : ℝ) | ||
| 362 | 362 | _ = (A / R + 2 * A * (Rc / R)) * majorant R (d + 1) n := by ring |
| 363 | 363 | _ ≤ majorant R (d + 1) n := mul_le_of_le_one_left hw hbudget |
| 364 | 364 | |
| 365 | -/-- For coefficient and inverse size `P^c`, the single polynomial radius `P^(2c+2)` suffices. -/ | |
| 366 | -theorem triangular_inverse_polynomial_radius (P : ℝ) (hP : 2 ≤ P) (c d : ℕ) | |
| 367 | - (F Z : ℕ → ℝ) | |
| 368 | - (hF : ∀ n, F n ≤ majorant (P ^ (2 * c + 2)) d n) | |
| 369 | - (hZ : ∀ n, Z n ≤ P ^ c * (F n + ∑ k ∈ range n, | |
| 370 | - (n.choose (k + 1) : ℝ) * (P ^ c) ^ (k + 1) * ((k + 1).factorial : ℝ) ^ 2 * | |
| 371 | - Z (n - (k + 1)))) : | |
| 372 | - ∀ n, Z n ≤ majorant (P ^ (2 * c + 2)) (d + 1) n := by | |
| 373 | - have hPc : 1 ≤ P ^ c := one_le_pow₀ (by linarith) | |
| 374 | - have hPc0 : 0 ≤ P ^ c := by linarith | |
| 375 | - have hP2 : 4 ≤ P ^ 2 := by nlinarith [sq_nonneg (P - 2)] | |
| 376 | - have heq : P ^ (2 * c + 2) = (P ^ c) ^ 2 * P ^ 2 := by | |
| 377 | - rw [show 2 * c + 2 = c * 2 + 2 by omega, pow_add, pow_mul] | |
| 378 | - have hlarge : 2 * P ^ c * (P ^ c + 1) ≤ P ^ (2 * c + 2) := by | |
| 379 | - calc | |
| 380 | - _ ≤ (P ^ c) ^ 2 * 4 := by nlinarith | |
| 381 | - _ ≤ (P ^ c) ^ 2 * P ^ 2 := mul_le_mul_of_nonneg_left hP2 (sq_nonneg _) | |
| 382 | - _ = _ := heq.symm | |
| 383 | - exact triangular_inverse_majorant (P ^ c) (P ^ c) (P ^ (2 * c + 2)) | |
| 384 | - hPc hPc0 hlarge d F Z hF hZ | |
| 385 | - | |
| 386 | 365 | /-- The shifted product rule applies directly to arbitrary real sequences bounded in absolute value. -/ |
| 387 | 366 | theorem sequence_product_majorant (R A B : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 388 | 367 | (d₁ d₂ : ℕ) (f g : ℕ → ℝ) |
| @@ -731,32 +710,6 @@ theorem projectedOperator_sub (G H : E →L[ℝ] E) : | ||
| 731 | 710 | ext x |
| 732 | 711 | simp [projectedOperator] |
| 733 | 712 | |
| 734 | -theorem projectedOperator_norm_le (G : E →L[ℝ] E) : | |
| 735 | - ‖projectedOperator S G‖ ≤ ‖G‖ := by | |
| 736 | - apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) | |
| 737 | - intro x | |
| 738 | - calc | |
| 739 | - ‖projectedOperator S G x‖ ≤ ‖G (x : E)‖ := | |
| 740 | - S.norm_orthogonalProjectionOnto_apply_le (G x) | |
| 741 | - _ ≤ ‖G‖ * ‖x‖ := G.le_opNorm x | |
| 742 | - | |
| 743 | -theorem projectedInverse_norm_sub_le (G H : E →L[ℝ] E) (c d : ℝ) | |
| 744 | - (hc : 0 < c) (hd : 0 < d) | |
| 745 | - (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) | |
| 746 | - (hH : ∀ x, d * ‖x‖ ^ 2 ≤ ⟪H x, x⟫_ℝ) : | |
| 747 | - ‖projectedInverse S G c hc hG - projectedInverse S H d hd hH‖ ≤ | |
| 748 | - c⁻¹ * d⁻¹ * ‖H - G‖ := by | |
| 749 | - calc | |
| 750 | - ‖projectedInverse S G c hc hG - projectedInverse S H d hd hH‖ ≤ | |
| 751 | - c⁻¹ * d⁻¹ * ‖projectedOperator S H - projectedOperator S G‖ := | |
| 752 | - coerciveInverse_norm_sub_le (projectedOperator S G) (projectedOperator S H) | |
| 753 | - c d hc hd (projectedOperator_coercive S G c hG) | |
| 754 | - (projectedOperator_coercive S H d hH) | |
| 755 | - _ = c⁻¹ * d⁻¹ * ‖projectedOperator S (H - G)‖ := by rw [projectedOperator_sub] | |
| 756 | - _ ≤ c⁻¹ * d⁻¹ * ‖H - G‖ := | |
| 757 | - mul_le_mul_of_nonneg_left (projectedOperator_norm_le S (H - G)) | |
| 758 | - (mul_nonneg (inv_nonneg.2 hc.le) (inv_nonneg.2 hd.le)) | |
| 759 | - | |
| 760 | 713 | /-- Solves the projected equation with an ambient forcing vector. -/ |
| 761 | 714 | def pressureSolver (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 762 | 715 | (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) : E →L[ℝ] S := |
| @@ -795,20 +748,6 @@ theorem existsUnique_projected_solution (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < | ||
| 795 | 748 | |
| 796 | 749 | end Subspace |
| 797 | 750 | |
| 798 | -/-- Closedness supplies completeness; no inverse or existence hypothesis is assumed. -/ | |
| 799 | -theorem closed_subspace_inverse [CompleteSpace E] (S : Submodule ℝ E) | |
| 800 | - (hS : IsClosed (S : Set E)) (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 801 | - (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) : | |
| 802 | - ∃ I : S →L[ℝ] S, | |
| 803 | - (∀ f y : S, ⟪G (I f : E), (y : E)⟫_ℝ = ⟪(f : E), (y : E)⟫_ℝ) ∧ | |
| 804 | - ‖I‖ ≤ c⁻¹ := by | |
| 805 | - let : CompleteSpace S := hS.completeSpace_coe | |
| 806 | - refine ⟨projectedInverse S G c hc hG, ?_, projectedInverse_norm_le S G c hc hG⟩ | |
| 807 | - intro f y | |
| 808 | - rw [← projectedOperator_inner S G (projectedInverse S G c hc hG f) y, | |
| 809 | - projectedOperator_inverse_apply] | |
| 810 | - rfl | |
| 811 | - | |
| 812 | 751 | end EulerCoerciveProjection |
| 813 | 752 | |
| 814 | 753 | end |
| @@ -829,124 +768,6 @@ def differenceQuotient (τ : E →L[ℝ] E) (h : ℝ) : E →L[ℝ] E := | ||
| 829 | 768 | /-- The operator commutator D T minus T D. -/ |
| 830 | 769 | def commutator (D T : E →L[ℝ] E) : E →L[ℝ] E := D.comp T - T.comp D |
| 831 | 770 | |
| 832 | -/-- Repeated commutation with an operator, defined by its actual algebraic formula. -/ | |
| 833 | -def iteratedRingCommutator {R : Type*} [Ring R] (D T : R) : ℕ → R | |
| 834 | - | 0 => T | |
| 835 | - | n + 1 => D * iteratedRingCommutator D T n - iteratedRingCommutator D T n * D | |
| 836 | - | |
| 837 | -theorem mul_iteratedRingCommutator {R : Type*} [Ring R] (D T : R) (n : ℕ) : | |
| 838 | - D * iteratedRingCommutator D T n = | |
| 839 | - iteratedRingCommutator D T n * D + iteratedRingCommutator D T (n + 1) := by | |
| 840 | - simp only [iteratedRingCommutator] | |
| 841 | - abel | |
| 842 | - | |
| 843 | -/-- The complete noncommutative Leibniz formula, proved from the commutator definition. -/ | |
| 844 | -theorem iterated_operator_leibniz {R : Type*} [Ring R] (D T : R) (n : ℕ) : | |
| 845 | - D ^ n * T = ∑ l ∈ Finset.range (n + 1), | |
| 846 | - n.choose l • (iteratedRingCommutator D T l * D ^ (n - l)) := by | |
| 847 | - induction n with | |
| 848 | - | zero => simp [iteratedRingCommutator] | |
| 849 | - | succ n ih => | |
| 850 | - rw [pow_succ', mul_assoc, ih, Finset.mul_sum, | |
| 851 | - Finset.sum_choose_succ_nsmul (fun l r => iteratedRingCommutator D T l * D ^ r) n, | |
| 852 | - ← Finset.sum_add_distrib] | |
| 853 | - apply Finset.sum_congr rfl | |
| 854 | - intro l hl | |
| 855 | - have hln : l ≤ n := Nat.lt_succ_iff.mp (Finset.mem_range.mp hl) | |
| 856 | - have hsub : n + 1 - l = (n - l) + 1 := by omega | |
| 857 | - calc | |
| 858 | - D * (n.choose l • (iteratedRingCommutator D T l * D ^ (n - l))) = | |
| 859 | - n.choose l • ((D * iteratedRingCommutator D T l) * D ^ (n - l)) := by | |
| 860 | - rw [mul_smul_comm, mul_assoc] | |
| 861 | - _ = n.choose l • ((iteratedRingCommutator D T l * D + | |
| 862 | - iteratedRingCommutator D T (l + 1)) * D ^ (n - l)) := by | |
| 863 | - rw [mul_iteratedRingCommutator] | |
| 864 | - _ = n.choose l • (iteratedRingCommutator D T l * D ^ (n + 1 - l)) + | |
| 865 | - n.choose l • (iteratedRingCommutator D T (l + 1) * D ^ (n - l)) := by | |
| 866 | - rw [add_mul, nsmul_add, hsub, pow_succ', mul_assoc] | |
| 867 | - | |
| 868 | -theorem inverse_commutator_apply (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 869 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 870 | - D (coerciveInverse T c hc hT f) = | |
| 871 | - coerciveInverse T c hc hT | |
| 872 | - (D f - commutator D T (coerciveInverse T c hc hT f)) := by | |
| 873 | - apply (coerciveEquiv T c hc hT).injective | |
| 874 | - simp only [coerciveEquiv_apply, operator_inverse_apply, commutator, | |
| 875 | - sub_apply, ContinuousLinearMap.comp_apply] | |
| 876 | - abel | |
| 877 | - | |
| 878 | -theorem inverse_commutator_norm_le (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 879 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 880 | - ‖D (coerciveInverse T c hc hT f)‖ ≤ | |
| 881 | - c⁻¹ * (‖D f‖ + ‖commutator D T (coerciveInverse T c hc hT f)‖) := by | |
| 882 | - rw [inverse_commutator_apply T D c hc hT f] | |
| 883 | - exact (coerciveInverse_apply_norm_le T c hc hT _).trans | |
| 884 | - (mul_le_mul_of_nonneg_left (norm_sub_le _ _) (inv_nonneg.2 hc.le)) | |
| 885 | - | |
| 886 | -/-- The full differentiated inverse recurrence, derived from the operator equation. -/ | |
| 887 | -theorem inverse_iterated_commutator_apply (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 888 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) (n : ℕ) : | |
| 889 | - (D ^ (n + 1)) (coerciveInverse T c hc hT f) = | |
| 890 | - coerciveInverse T c hc hT | |
| 891 | - ((D ^ (n + 1)) f - ∑ l ∈ Finset.range (n + 1), | |
| 892 | - (n + 1).choose (l + 1) • | |
| 893 | - (iteratedRingCommutator D T (l + 1) | |
| 894 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f)))) := by | |
| 895 | - have hprod := congrArg (fun A : E →L[ℝ] E => A (coerciveInverse T c hc hT f)) | |
| 896 | - (iterated_operator_leibniz D T (n + 1)) | |
| 897 | - simp only [mul_apply_eq_comp, operator_inverse_apply, sum_apply, smul_apply] at hprod | |
| 898 | - rw [Finset.sum_range_succ'] at hprod | |
| 899 | - simp only [Nat.choose_zero_right, iteratedRingCommutator, Nat.sub_zero, | |
| 900 | - one_smul, Nat.add_sub_add_right] at hprod | |
| 901 | - apply (coerciveEquiv T c hc hT).injective | |
| 902 | - simp only [coerciveEquiv_apply, operator_inverse_apply] | |
| 903 | - apply eq_sub_of_add_eq | |
| 904 | - exact (add_comm _ _).trans hprod.symm | |
| 905 | - | |
| 906 | -/-- The quantitative all-order recurrence follows from the exact commutator identity. -/ | |
| 907 | -theorem inverse_iterated_commutator_norm_le (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 908 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) (n : ℕ) : | |
| 909 | - ‖(D ^ (n + 1)) (coerciveInverse T c hc hT f)‖ ≤ c⁻¹ * | |
| 910 | - (‖(D ^ (n + 1)) f‖ + ∑ l ∈ Finset.range (n + 1), | |
| 911 | - ((n + 1).choose (l + 1) : ℝ) * ‖iteratedRingCommutator D T (l + 1)‖ * | |
| 912 | - ‖(D ^ (n - l)) (coerciveInverse T c hc hT f)‖) := by | |
| 913 | - have hs : ‖∑ l ∈ Finset.range (n + 1), (n + 1).choose (l + 1) • | |
| 914 | - (iteratedRingCommutator D T (l + 1) | |
| 915 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f)))‖ ≤ | |
| 916 | - ∑ l ∈ Finset.range (n + 1), | |
| 917 | - ((n + 1).choose (l + 1) : ℝ) * ‖iteratedRingCommutator D T (l + 1)‖ * | |
| 918 | - ‖(D ^ (n - l)) (coerciveInverse T c hc hT f)‖ := by | |
| 919 | - refine (norm_sum_le _ _).trans ?_ | |
| 920 | - apply Finset.sum_le_sum | |
| 921 | - intro l _ | |
| 922 | - rw [← Nat.cast_smul_eq_nsmul ℝ, norm_smul, Real.norm_natCast] | |
| 923 | - simpa only [mul_assoc] using mul_le_mul_of_nonneg_left | |
| 924 | - ((iteratedRingCommutator D T (l + 1)).le_opNorm | |
| 925 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f))) | |
| 926 | - (Nat.cast_nonneg ((n + 1).choose (l + 1))) | |
| 927 | - rw [inverse_iterated_commutator_apply T D c hc hT f n] | |
| 928 | - refine (coerciveInverse_apply_norm_le T c hc hT _).trans ?_ | |
| 929 | - apply mul_le_mul_of_nonneg_left _ (inv_nonneg.2 hc.le) | |
| 930 | - exact (norm_sub_le _ _).trans (add_le_add_right hs _) | |
| 931 | - | |
| 932 | -omit [CompleteSpace E] in | |
| 933 | -theorem differenceQuotient_commutator (τ T : E →L[ℝ] E) (h : ℝ) : | |
| 934 | - commutator (differenceQuotient τ h) T = h⁻¹ • commutator τ T := by | |
| 935 | - ext x | |
| 936 | - simp only [commutator, differenceQuotient, ContinuousLinearMap.comp_apply, | |
| 937 | - sub_apply, smul_apply, ContinuousLinearMap.id_apply, map_sub, map_smul] | |
| 938 | - simp only [smul_sub] | |
| 939 | - abel | |
| 940 | - | |
| 941 | -/-- The spatial difference-quotient estimate, before any passage to weak derivatives. -/ | |
| 942 | -theorem inverse_differenceQuotient_norm_le (T τ : E →L[ℝ] E) (h c : ℝ) (hc : 0 < c) | |
| 943 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 944 | - ‖differenceQuotient τ h (coerciveInverse T c hc hT f)‖ ≤ | |
| 945 | - c⁻¹ * (‖differenceQuotient τ h f‖ + | |
| 946 | - ‖h⁻¹ • commutator τ T (coerciveInverse T c hc hT f)‖) := by | |
| 947 | - simpa only [differenceQuotient_commutator, smul_apply] using | |
| 948 | - inverse_commutator_norm_le T (differenceQuotient τ h) c hc hT f | |
| 949 | - | |
| 950 | 771 | theorem coerciveInverse_eq_mapInverse (T : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 951 | 772 | (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) : |
| 952 | 773 | coerciveInverse T c hc hT = T.inverse := by |
| @@ -966,26 +787,6 @@ theorem coerciveInverse_eq_ringInverse (T : E →L[ℝ] E) (c : ℝ) (hc : 0 < c | ||
| 966 | 787 | rw [ContinuousLinearMap.ringInverse_eq_inverse] |
| 967 | 788 | exact coerciveInverse_eq_mapInverse T c hc hT |
| 968 | 789 | |
| 969 | -/-- A `Cⁿ` family of coercive operators has a `Cⁿ` family of the constructed inverses. -/ | |
| 970 | -theorem contDiff_coerciveInverse (T : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 971 | - (hT : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪T t x, x⟫_ℝ) {n : ℕ∞ω} | |
| 972 | - (hreg : ContDiff ℝ n T) : | |
| 973 | - ContDiff ℝ n (fun t => coerciveInverse (T t) c hc (hT t)) := by | |
| 974 | - have he : ∀ t, (coerciveEquiv (T t) c hc (hT t) : E →L[ℝ] E) = T t := by | |
| 975 | - intro t | |
| 976 | - ext x | |
| 977 | - exact coerciveEquiv_apply (T t) c hc (hT t) x | |
| 978 | - have hfun : (fun t => coerciveInverse (T t) c hc (hT t)) = | |
| 979 | - fun t => (T t).inverse := by | |
| 980 | - funext t | |
| 981 | - exact coerciveInverse_eq_mapInverse (T t) c hc (hT t) | |
| 982 | - rw [hfun, contDiff_iff_contDiffAt] | |
| 983 | - intro t | |
| 984 | - have hinv : ContDiffAt ℝ n ContinuousLinearMap.inverse (T t) := by | |
| 985 | - rw [← he t] | |
| 986 | - exact contDiffAt_map_inverse (coerciveEquiv (T t) c hc (hT t)) | |
| 987 | - exact hinv.comp t hreg.contDiffAt | |
| 988 | - | |
| 989 | 790 | /-- The time derivative of the constructed inverse is `-I T' I`. -/ |
| 990 | 791 | theorem hasDerivAt_coerciveInverse (T : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 991 | 792 | (hT : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪T t x, x⟫_ℝ) |
| @@ -1023,12 +824,6 @@ section Projected | ||
| 1023 | 824 | |
| 1024 | 825 | variable (S : Submodule ℝ E) [CompleteSpace S] |
| 1025 | 826 | |
| 1026 | -omit [CompleteSpace E] in | |
| 1027 | -theorem contDiff_projectedOperator (G : ℝ → E →L[ℝ] E) {n : ℕ∞ω} | |
| 1028 | - (hreg : ContDiff ℝ n G) : | |
| 1029 | - ContDiff ℝ n (fun t => projectedOperator S (G t)) := by | |
| 1030 | - exact contDiff_const.clm_comp (hreg.clm_comp contDiff_const) | |
| 1031 | - | |
| 1032 | 827 | omit [CompleteSpace E] in |
| 1033 | 828 | theorem hasDerivAt_projectedOperator (G : ℝ → E →L[ℝ] E) (t : ℝ) |
| 1034 | 829 | (G₁ : E →L[ℝ] E) (hder : HasDerivAt G G₁ t) : |
| @@ -1037,26 +832,6 @@ theorem hasDerivAt_projectedOperator (G : ℝ → E →L[ℝ] E) (t : ℝ) | ||
| 1037 | 832 | (hasDerivAt_const t S.orthogonalProjectionOnto).clm_comp |
| 1038 | 833 | (hder.clm_comp (hasDerivAt_const t S.subtypeL)) |
| 1039 | 834 | |
| 1040 | -omit [CompleteSpace E] in | |
| 1041 | -theorem contDiff_projectedInverse (G : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 1042 | - (hG : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪G t x, x⟫_ℝ) {n : ℕ∞ω} | |
| 1043 | - (hreg : ContDiff ℝ n G) : | |
| 1044 | - ContDiff ℝ n (fun t => projectedInverse S (G t) c hc (hG t)) := | |
| 1045 | - contDiff_coerciveInverse (fun t => projectedOperator S (G t)) c hc | |
| 1046 | - (fun t => projectedOperator_coercive S (G t) c (hG t)) | |
| 1047 | - (contDiff_projectedOperator S G hreg) | |
| 1048 | - | |
| 1049 | -omit [CompleteSpace E] in | |
| 1050 | -theorem hasDerivAt_projectedInverse (G : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 1051 | - (hG : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪G t x, x⟫_ℝ) | |
| 1052 | - (t : ℝ) (G₁ : E →L[ℝ] E) (hder : HasDerivAt G G₁ t) : | |
| 1053 | - HasDerivAt (fun s => projectedInverse S (G s) c hc (hG s)) | |
| 1054 | - (-(projectedInverse S (G t) c hc (hG t)).comp | |
| 1055 | - ((projectedOperator S G₁).comp (projectedInverse S (G t) c hc (hG t)))) t := | |
| 1056 | - hasDerivAt_coerciveInverse (fun t => projectedOperator S (G t)) c hc | |
| 1057 | - (fun t => projectedOperator_coercive S (G t) c (hG t)) t | |
| 1058 | - (projectedOperator S G₁) (hasDerivAt_projectedOperator S G t G₁ hder) | |
| 1059 | - | |
| 1060 | 835 | end Projected |
| 1061 | 836 | |
| 1062 | 837 | end EulerInverseRegularity |
| @@ -1277,15 +1052,6 @@ instance gradientSpace_complete (κ : ℝ) (m : Vector3) : | ||
| 1277 | 1052 | def gradientProjection (κ : ℝ) (m : Vector3) : LiftL2 period →L[ℝ] LiftL2 period := |
| 1278 | 1053 | (gradientSpace period κ m).starProjection |
| 1279 | 1054 | |
| 1280 | -/-- The projection bound is independent of the frequency parameter κ. -/ | |
| 1281 | -theorem gradientProjection_norm_le (κ : ℝ) (m : Vector3) : | |
| 1282 | - ‖gradientProjection period κ m‖ ≤ 1 := | |
| 1283 | - (gradientSpace period κ m).starProjection_norm_le | |
| 1284 | - | |
| 1285 | -theorem gradientProjection_apply_norm_le (κ : ℝ) (m : Vector3) (f : LiftL2 period) : | |
| 1286 | - ‖gradientProjection period κ m f‖ ≤ ‖f‖ := | |
| 1287 | - (gradientSpace period κ m).norm_starProjection_apply_le f | |
| 1288 | - | |
| 1289 | 1055 | theorem testGradient_mem (κ : ℝ) (m : Vector3) {g : LiftL2 period} |
| 1290 | 1056 | (hg : g ∈ ({g : EulerLiftedGradientSpace.LiftL2 period | ∃ φ : EulerLiftedGradientSpace.LiftDomain period → ℝ, (HasCompactSupport φ ∧ ∀ x, ContDiff ℝ ∞ (EulerLiftedGradientSpace.localLift period φ x)) ∧ g =ᵐ[EulerLiftedGradientSpace.liftMeasure period] EulerLiftedGradientSpace.liftedGradient period κ m φ})) : g ∈ gradientSpace period κ m := |
| 1291 | 1057 | (Submodule.span ℝ (({g : EulerLiftedGradientSpace.LiftL2 period | ∃ φ : EulerLiftedGradientSpace.LiftDomain period → ℝ, (HasCompactSupport φ ∧ ∀ x, ContDiff ℝ ∞ (EulerLiftedGradientSpace.localLift period φ x)) ∧ g =ᵐ[EulerLiftedGradientSpace.liftMeasure period] EulerLiftedGradientSpace.liftedGradient period κ m φ}))).le_topologicalClosure |
| @@ -1495,37 +1261,6 @@ section LiftedSolver | ||
| 1495 | 1261 | |
| 1496 | 1262 | variable (period : ℝ) [Fact (0 < period)] |
| 1497 | 1263 | |
| 1498 | -theorem existsUnique_lifted_pressure (κ : ℝ) (m : Vector3) | |
| 1499 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1500 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 1501 | - (C : ℝ≥0) (hbound : ∀ x, ‖A x‖ ≤ C) (c : ℝ) (hc : 0 < c) | |
| 1502 | - (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) (f : LiftL2 period) : | |
| 1503 | - ∃! p : gradientSpace period κ m, | |
| 1504 | - (gradientSpace period κ m).orthogonalProjectionOnto | |
| 1505 | - (coefficientOperator A hA C hbound (p : LiftL2 period)) = | |
| 1506 | - (gradientSpace period κ m).orthogonalProjectionOnto f := | |
| 1507 | - existsUnique_projected_solution (gradientSpace period κ m) | |
| 1508 | - (coefficientOperator A hA C hbound) c hc | |
| 1509 | - (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 1510 | - | |
| 1511 | -theorem exists_lifted_pressure_with_bound (κ : ℝ) (m : Vector3) | |
| 1512 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1513 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 1514 | - (C : ℝ≥0) (hbound : ∀ x, ‖A x‖ ≤ C) (c : ℝ) (hc : 0 < c) | |
| 1515 | - (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) (f : LiftL2 period) : | |
| 1516 | - ∃ p : gradientSpace period κ m, | |
| 1517 | - (gradientSpace period κ m).orthogonalProjectionOnto | |
| 1518 | - (coefficientOperator A hA C hbound (p : LiftL2 period)) = | |
| 1519 | - (gradientSpace period κ m).orthogonalProjectionOnto f ∧ | |
| 1520 | - ‖p‖ ≤ c⁻¹ * ‖f‖ := by | |
| 1521 | - let hcoercive := coefficientOperator_coercive A hA C hbound c hpositive | |
| 1522 | - refine ⟨pressureSolver (gradientSpace period κ m) | |
| 1523 | - (coefficientOperator A hA C hbound) c hc hcoercive f, ?_, ?_⟩ | |
| 1524 | - · exact pressureSolver_equation (gradientSpace period κ m) | |
| 1525 | - (coefficientOperator A hA C hbound) c hc hcoercive f | |
| 1526 | - · exact pressureSolver_apply_norm_le (gradientSpace period κ m) | |
| 1527 | - (coefficientOperator A hA C hbound) c hc hcoercive f | |
| 1528 | - | |
| 1529 | 1264 | /-- Exact metric-pressure cancellation for pointwise inverse symmetric coefficient fields. -/ |
| 1530 | 1265 | theorem metric_pressure_cancellation (κ : ℝ) (m : Vector3) |
| 1531 | 1266 | (K G : LiftDomain period → Vector3 →L[ℝ] Vector3) |
| @@ -1669,16 +1404,6 @@ def metricEnergy (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | ||
| 1669 | 1404 | (e : LiftDomain period → Vector3) (x : LiftDomain period) : ℝ := |
| 1670 | 1405 | (1 / 2 : ℝ) * ⟪K x (e x), e x⟫_ℝ |
| 1671 | 1406 | |
| 1672 | -omit [Fact (0 < period)] in | |
| 1673 | -theorem metricEnergy_compact (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1674 | - (e : LiftDomain period → Vector3) (he : HasCompactSupport e) : | |
| 1675 | - HasCompactSupport (metricEnergy period K e) := by | |
| 1676 | - apply he.mono | |
| 1677 | - intro x hx | |
| 1678 | - contrapose! hx | |
| 1679 | - simp only [Function.mem_support, not_not] at hx | |
| 1680 | - simp [Function.mem_support, metricEnergy, hx] | |
| 1681 | - | |
| 1682 | 1407 | omit [Fact (0 < period)] in |
| 1683 | 1408 | theorem metricEnergy_smooth (K : LiftDomain period → Vector3 →L[ℝ] Vector3) |
| 1684 | 1409 | (e : LiftDomain period → Vector3) |
| @@ -1716,135 +1441,6 @@ theorem metricEnergy_fderiv (K : LiftDomain period → Vector3 →L[ℝ] Vector3 | ||
| 1716 | 1441 | rw [hs] |
| 1717 | 1442 | ring |
| 1718 | 1443 | |
| 1719 | -omit [Fact (0 < period)] in | |
| 1720 | -theorem metricEnergy_gradient_transport (κ : ℝ) (m : Vector3) | |
| 1721 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1722 | - (e : LiftDomain period → Vector3) | |
| 1723 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1724 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1725 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1726 | - (x : LiftDomain period) (z : Vector3) : | |
| 1727 | - ⟪liftedGradient period κ m (metricEnergy period K e) x, z⟫_ℝ = | |
| 1728 | - ⟪K x (e x), | |
| 1729 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m z)⟫_ℝ + | |
| 1730 | - (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1731 | - (transportDirection κ m z)) (e x), e x⟫_ℝ := by | |
| 1732 | - rw [liftedGradient_eq_vectorOfLinear, vectorOfLinear_inner] | |
| 1733 | - exact metricEnergy_fderiv period K e hK he hsym x _ | |
| 1734 | - | |
| 1735 | -theorem metric_transport_zero (κ : ℝ) (m : Vector3) | |
| 1736 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1737 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1738 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1739 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1740 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1741 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) : | |
| 1742 | - ∫ x, (⟪K x (e x), | |
| 1743 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ + | |
| 1744 | - (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1745 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) ∂liftMeasure period = 0 := by | |
| 1746 | - have htest := weak_divergence_test_integral period κ m hz (metricEnergy period K e) | |
| 1747 | - ⟨metricEnergy_compact period K e hec, metricEnergy_smooth period K e hK he⟩ | |
| 1748 | - convert htest using 1 | |
| 1749 | - apply integral_congr_ae | |
| 1750 | - exact Filter.Eventually.of_forall fun x => | |
| 1751 | - (metricEnergy_gradient_transport period κ m K e hK he hsym x (z x)).symm | |
| 1752 | - | |
| 1753 | -/-- The compact vector coefficient whose pairing with velocity is the metric transport term. -/ | |
| 1754 | -def transportFlux (κ : ℝ) (m : Vector3) | |
| 1755 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1756 | - (e : LiftDomain period → Vector3) (x : LiftDomain period) : Vector3 := | |
| 1757 | - vectorOfLinear κ m ((innerSL ℝ (K x (e x))).comp | |
| 1758 | - (fderiv ℝ (localFieldLift period e x) 0)) | |
| 1759 | - | |
| 1760 | -omit [Fact (0 < period)] in | |
| 1761 | -theorem transportFlux_inner (κ : ℝ) (m : Vector3) | |
| 1762 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1763 | - (e : LiftDomain period → Vector3) (x : LiftDomain period) (z : Vector3) : | |
| 1764 | - ⟪transportFlux period κ m K e x, z⟫_ℝ = | |
| 1765 | - ⟪K x (e x), | |
| 1766 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m z)⟫_ℝ := by | |
| 1767 | - rw [transportFlux, vectorOfLinear_inner] | |
| 1768 | - rfl | |
| 1769 | - | |
| 1770 | -omit [Fact (0 < period)] in | |
| 1771 | -theorem transportFlux_continuous (κ : ℝ) (m : Vector3) | |
| 1772 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1773 | - (e : LiftDomain period → Vector3) | |
| 1774 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1775 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) : | |
| 1776 | - Continuous (transportFlux period κ m K e) := by | |
| 1777 | - apply (PiLp.continuous_toLp 2 (fun _ : Fin 3 => ℝ)).comp | |
| 1778 | - apply continuous_pi | |
| 1779 | - intro i | |
| 1780 | - exact ((smoothField_continuous period K hK).clm_apply | |
| 1781 | - (smoothField_continuous period e he)).inner | |
| 1782 | - ((localFDeriv_continuous period e he).clm_apply continuous_const) | |
| 1783 | - | |
| 1784 | -omit [Fact (0 < period)] in | |
| 1785 | -theorem transportFlux_compact (κ : ℝ) (m : Vector3) | |
| 1786 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1787 | - (e : LiftDomain period → Vector3) (he : HasCompactSupport e) : | |
| 1788 | - HasCompactSupport (transportFlux period κ m K e) := by | |
| 1789 | - apply he.mono | |
| 1790 | - intro x hx | |
| 1791 | - contrapose! hx | |
| 1792 | - simp only [Function.mem_support, not_not] at hx ⊢ | |
| 1793 | - apply PiLp.ext | |
| 1794 | - intro i | |
| 1795 | - simp [transportFlux, vectorOfLinear, hx] | |
| 1796 | - | |
| 1797 | -theorem compact_pairing_integrable (f : LiftDomain period → Vector3) | |
| 1798 | - (hf : Continuous f) (hfc : HasCompactSupport f) (z : LiftL2 period) : | |
| 1799 | - Integrable (fun x => ⟪f x, z x⟫_ℝ) (liftMeasure period) := by | |
| 1800 | - have hlp : MemLp f 2 (liftMeasure period) := hf.memLp_of_hasCompactSupport hfc | |
| 1801 | - apply (L2.integrable_inner (hlp.toLp f) z).congr | |
| 1802 | - filter_upwards [hlp.coeFn_toLp] with x hx | |
| 1803 | - rw [hx] | |
| 1804 | - | |
| 1805 | -theorem metric_transport_integrable (κ : ℝ) (m : Vector3) | |
| 1806 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1807 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1808 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1809 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) (z : LiftL2 period) : | |
| 1810 | - Integrable (fun x => ⟪K x (e x), | |
| 1811 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ) | |
| 1812 | - (liftMeasure period) := by | |
| 1813 | - simpa only [transportFlux_inner] using | |
| 1814 | - compact_pairing_integrable period (transportFlux period κ m K e) | |
| 1815 | - (transportFlux_continuous period κ m K e hK he) | |
| 1816 | - (transportFlux_compact period κ m K e hec) z | |
| 1817 | - | |
| 1818 | -theorem metric_transport_by_parts (κ : ℝ) (m : Vector3) | |
| 1819 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1820 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1821 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1822 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1823 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1824 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) : | |
| 1825 | - (∫ x, ⟪K x (e x), | |
| 1826 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ | |
| 1827 | - ∂liftMeasure period) = | |
| 1828 | - -(∫ x, (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1829 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ ∂liftMeasure period) := by | |
| 1830 | - have ht := metric_transport_integrable period κ m K e hec hK he z | |
| 1831 | - have hg := compact_pairing_integrable period | |
| 1832 | - (liftedGradient period κ m (metricEnergy period K e)) | |
| 1833 | - (liftedGradient_continuous period κ m (metricEnergy period K e) | |
| 1834 | - (metricEnergy_smooth period K e hK he)) | |
| 1835 | - (liftedGradient_hasCompactSupport period κ m (metricEnergy period K e) | |
| 1836 | - (metricEnergy_compact period K e hec)) z | |
| 1837 | - simp only [metricEnergy_gradient_transport period κ m K e hK he hsym] at hg | |
| 1838 | - have hq : Integrable (fun x => (1 / 2 : ℝ) * | |
| 1839 | - ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1840 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) (liftMeasure period) := by | |
| 1841 | - convert hg.sub ht using 1 | |
| 1842 | - funext x | |
| 1843 | - simp | |
| 1844 | - have hzint := metric_transport_zero period κ m K e hec hK he hsym hz | |
| 1845 | - rw [integral_add ht hq] at hzint | |
| 1846 | - exact eq_neg_of_add_eq_zero_left hzint | |
| 1847 | - | |
| 1848 | 1444 | theorem transportDirection_norm_le (κ : ℝ) (m v : Vector3) : |
| 1849 | 1445 | ‖transportDirection κ m v‖ ≤ (|κ| + ‖m‖) * ‖v‖ := by |
| 1850 | 1446 | rw [transportDirection, Prod.norm_mk, norm_smul, Real.norm_eq_abs] |
| @@ -1854,72 +1450,6 @@ theorem transportDirection_norm_le (κ : ℝ) (m v : Vector3) : | ||
| 1854 | 1450 | · exact (norm_inner_le_norm m v).trans |
| 1855 | 1451 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left (abs_nonneg κ)) (norm_nonneg v)) |
| 1856 | 1452 | |
| 1857 | -theorem metric_transport_bound (κ : ℝ) (m : Vector3) | |
| 1858 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1859 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1860 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1861 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1862 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1863 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 1864 | - (C B : ℝ≥0) | |
| 1865 | - (hDK : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ C) | |
| 1866 | - (hb : ∀ᵐ x ∂liftMeasure period, ‖transportDirection κ m (z x)‖ ≤ B) : | |
| 1867 | - |∫ x, ⟪K x (e x), | |
| 1868 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ | |
| 1869 | - ∂liftMeasure period| ≤ | |
| 1870 | - (1 / 2 : ℝ) * C * B * ∫ x, ‖e x‖ ^ 2 ∂liftMeasure period := by | |
| 1871 | - rw [metric_transport_by_parts period κ m K e hec hK he hsym hz, abs_neg] | |
| 1872 | - have heLp : MemLp e 2 (liftMeasure period) := | |
| 1873 | - (smoothField_continuous period e he).memLp_of_hasCompactSupport hec | |
| 1874 | - have heint := heLp.norm.integrable_sq | |
| 1875 | - have hbound := norm_integral_le_of_norm_le | |
| 1876 | - (heint.const_mul ((1 / 2 : ℝ) * C * B)) (f := fun x => (1 / 2 : ℝ) * | |
| 1877 | - ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1878 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) ?_ | |
| 1879 | - · simpa only [Real.norm_eq_abs, integral_const_mul] using hbound | |
| 1880 | - filter_upwards [hb] with x hx | |
| 1881 | - have hL : ‖fderiv ℝ (localFieldLift period K x) 0 | |
| 1882 | - (transportDirection κ m (z x))‖ ≤ (C : ℝ) * B := | |
| 1883 | - ((fderiv ℝ (localFieldLift period K x) 0).le_opNorm _).trans | |
| 1884 | - (mul_le_mul (hDK x) hx (norm_nonneg _) C.coe_nonneg) | |
| 1885 | - have hLe : ‖(fderiv ℝ (localFieldLift period K x) 0 | |
| 1886 | - (transportDirection κ m (z x))) (e x)‖ ≤ (C : ℝ) * B * ‖e x‖ := | |
| 1887 | - ((fderiv ℝ (localFieldLift period K x) 0 | |
| 1888 | - (transportDirection κ m (z x))).le_opNorm _).trans | |
| 1889 | - (mul_le_mul_of_nonneg_right hL (norm_nonneg _)) | |
| 1890 | - calc | |
| 1891 | - _ = (1 / 2 : ℝ) * ‖⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1892 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ‖ := by | |
| 1893 | - rw [norm_mul] | |
| 1894 | - norm_num | |
| 1895 | - _ ≤ (1 / 2 : ℝ) * (‖(fderiv ℝ (localFieldLift period K x) 0 | |
| 1896 | - (transportDirection κ m (z x))) (e x)‖ * ‖e x‖) := | |
| 1897 | - mul_le_mul_of_nonneg_left (norm_inner_le_norm _ _) (by norm_num) | |
| 1898 | - _ ≤ (1 / 2 : ℝ) * (((C : ℝ) * B * ‖e x‖) * ‖e x‖) := | |
| 1899 | - mul_le_mul_of_nonneg_left | |
| 1900 | - (mul_le_mul_of_nonneg_right hLe (norm_nonneg _)) (by norm_num) | |
| 1901 | - _ = _ := by ring | |
| 1902 | - | |
| 1903 | -theorem metric_transport_L2_bound (κ : ℝ) (m : Vector3) | |
| 1904 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1905 | - (e : LiftL2 period) (hec : HasCompactSupport (fun x => e x)) | |
| 1906 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1907 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 1908 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1909 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 1910 | - (C B : ℝ≥0) | |
| 1911 | - (hDK : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ C) | |
| 1912 | - (hb : ∀ᵐ x ∂liftMeasure period, ‖transportDirection κ m (z x)‖ ≤ B) : | |
| 1913 | - |∫ x, ⟪K x (e x), | |
| 1914 | - fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 1915 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period| ≤ | |
| 1916 | - (1 / 2 : ℝ) * C * B * ‖e‖ ^ 2 := by | |
| 1917 | - have hn : (∫ x, ‖e x‖ ^ 2 ∂liftMeasure period) = ‖e‖ ^ 2 := by | |
| 1918 | - rw [← real_inner_self_eq_norm_sq, L2.inner_def] | |
| 1919 | - simp only [real_inner_self_eq_norm_sq] | |
| 1920 | - simpa only [hn] using metric_transport_bound period κ m K (fun x => e x) | |
| 1921 | - hec hK he hsym hz C B hDK hb | |
| 1922 | - | |
| 1923 | 1453 | end EulerMetricTransport |
| 1924 | 1454 | |
| 1925 | 1455 | end |
| @@ -1953,10 +1483,6 @@ theorem directionalDerivative_smooth (a : V) (f : V → W) (hf : ContDiff ℝ | ||
| 1953 | 1483 | ContDiff ℝ ∞ (directionalDerivative a f) := by |
| 1954 | 1484 | exact (hf.fderiv_right (by simp)).clm_apply contDiff_const |
| 1955 | 1485 | |
| 1956 | -theorem transport_smooth (b : V → V) (f : V → W) | |
| 1957 | - (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) : ContDiff ℝ ∞ (transport b f) := by | |
| 1958 | - exact (hf.fderiv_right (by simp)).clm_apply hb | |
| 1959 | - | |
| 1960 | 1486 | theorem directional_transport_commutator (a : V) (b : V → V) (f : V → W) |
| 1961 | 1487 | (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) (x : V) : |
| 1962 | 1488 | directionalDerivative a (transport b f) x = |
| @@ -1979,14 +1505,6 @@ theorem directional_transport_commutator (a : V) (b : V → V) (f : V → W) | ||
| 1979 | 1505 | rw [hs] |
| 1980 | 1506 | exact add_comm _ _ |
| 1981 | 1507 | |
| 1982 | -theorem directional_transport_commutator_norm (a : V) (b : V → V) (f : V → W) | |
| 1983 | - (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) (x : V) : | |
| 1984 | - ‖directionalDerivative a (transport b f) x - | |
| 1985 | - transport b (directionalDerivative a f) x‖ ≤ | |
| 1986 | - ‖fderiv ℝ f x‖ * ‖directionalDerivative a b x‖ := by | |
| 1987 | - rw [directional_transport_commutator a b f hb hf x, add_sub_cancel_left] | |
| 1988 | - exact (fderiv ℝ f x).le_opNorm _ | |
| 1989 | - | |
| 1990 | 1508 | end Euclidean |
| 1991 | 1509 | |
| 1992 | 1510 | variable (period : ℝ) |
| @@ -1999,11 +1517,6 @@ variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] | ||
| 1999 | 1517 | def fieldDerivative (a : LiftTangent) (f : LiftDomain period → W) |
| 2000 | 1518 | (x : LiftDomain period) : W := fderiv ℝ (localFieldLift period f x) 0 a |
| 2001 | 1519 | |
| 2002 | -/-- The actual directional transport operator on a cylinder field. -/ | |
| 2003 | -def fieldTransport (b : LiftDomain period → LiftTangent) | |
| 2004 | - (f : LiftDomain period → W) (x : LiftDomain period) : W := | |
| 2005 | - fderiv ℝ (localFieldLift period f x) 0 (b x) | |
| 2006 | - | |
| 2007 | 1520 | omit [NormedAddCommGroup W] [NormedSpace ℝ W] in |
| 2008 | 1521 | theorem localFieldLift_shift (f : LiftDomain period → W) (x : LiftDomain period) |
| 2009 | 1522 | (h : LiftTangent) : |
| @@ -2027,52 +1540,12 @@ theorem localFieldLift_fieldDerivative (a : LiftTangent) | ||
| 2027 | 1540 | exact congrArg (fun L : LiftTangent →L[ℝ] W => L a) |
| 2028 | 1541 | (fderiv_localFieldLift_shift period f x h) |
| 2029 | 1542 | |
| 2030 | -theorem localFieldLift_fieldTransport (b : LiftDomain period → LiftTangent) | |
| 2031 | - (f : LiftDomain period → W) (x : LiftDomain period) : | |
| 2032 | - localFieldLift period (fieldTransport period b f) x = | |
| 2033 | - transport (localFieldLift period b x) (localFieldLift period f x) := by | |
| 2034 | - funext h | |
| 2035 | - exact congrArg (fun L : LiftTangent →L[ℝ] W => L (localFieldLift period b x h)) | |
| 2036 | - (fderiv_localFieldLift_shift period f x h) | |
| 2037 | - | |
| 2038 | 1543 | theorem fieldDerivative_smooth (a : LiftTangent) (f : LiftDomain period → W) |
| 2039 | 1544 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : |
| 2040 | 1545 | ContDiff ℝ ∞ (localFieldLift period (fieldDerivative period a f) x) := by |
| 2041 | 1546 | rw [localFieldLift_fieldDerivative] |
| 2042 | 1547 | exact directionalDerivative_smooth a _ (hf x) |
| 2043 | 1548 | |
| 2044 | -theorem fieldTransport_smooth (b : LiftDomain period → LiftTangent) | |
| 2045 | - (f : LiftDomain period → W) | |
| 2046 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2047 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2048 | - ContDiff ℝ ∞ (localFieldLift period (fieldTransport period b f) x) := by | |
| 2049 | - rw [localFieldLift_fieldTransport] | |
| 2050 | - exact transport_smooth _ _ (hb x) (hf x) | |
| 2051 | - | |
| 2052 | -theorem field_transport_commutator (a : LiftTangent) | |
| 2053 | - (b : LiftDomain period → LiftTangent) (f : LiftDomain period → W) | |
| 2054 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2055 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2056 | - fieldDerivative period a (fieldTransport period b f) x = | |
| 2057 | - fieldTransport period b (fieldDerivative period a f) x + | |
| 2058 | - fderiv ℝ (localFieldLift period f x) 0 (fieldDerivative period a b x) := by | |
| 2059 | - have hc := directional_transport_commutator a (localFieldLift period b x) | |
| 2060 | - (localFieldLift period f x) (hb x) (hf x) 0 | |
| 2061 | - simpa only [fieldDerivative, fieldTransport, localFieldLift_fieldTransport, | |
| 2062 | - localFieldLift_fieldDerivative, directionalDerivative, transport, localFieldLift, | |
| 2063 | - Prod.fst_zero, Prod.snd_zero, AddCircle.coe_zero, add_zero] using hc | |
| 2064 | - | |
| 2065 | -theorem field_transport_commutator_norm (a : LiftTangent) | |
| 2066 | - (b : LiftDomain period → LiftTangent) (f : LiftDomain period → W) | |
| 2067 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2068 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2069 | - ‖fieldDerivative period a (fieldTransport period b f) x - | |
| 2070 | - fieldTransport period b (fieldDerivative period a f) x‖ ≤ | |
| 2071 | - ‖fderiv ℝ (localFieldLift period f x) 0‖ * | |
| 2072 | - ‖fieldDerivative period a b x‖ := by | |
| 2073 | - rw [field_transport_commutator period a b f hb hf x, add_sub_cancel_left] | |
| 2074 | - exact (fderiv ℝ (localFieldLift period f x) 0).le_opNorm _ | |
| 2075 | - | |
| 2076 | 1549 | end Fields |
| 2077 | 1550 | |
| 2078 | 1551 | end EulerTransportDerivatives |
| @@ -2482,33 +1955,6 @@ theorem pressure_translation_hasDerivAt (κ : ℝ) (m : Vector3) (a : LiftTangen | ||
| 2482 | 1955 | simp [At, translatedCoefficient] |
| 2483 | 1956 | simpa only [hzero, translationPath_zero, translation_zero] using hsol |
| 2484 | 1957 | |
| 2485 | -theorem pressure_translation_derivative_norm (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2486 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 2487 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 2488 | - (hAs : ∀ x, ContDiff ℝ ∞ (localFieldLift period A x)) | |
| 2489 | - (C D M : ℝ≥0) (hAb : ∀ x, ‖A x‖ ≤ C) | |
| 2490 | - (hDA : ∀ x, ‖fderiv ℝ (localFieldLift period A x) 0‖ ≤ D) | |
| 2491 | - (hDDA : ∀ x y, ‖fderiv ℝ (fderiv ℝ (localFieldLift period A x)) y‖ ≤ M) | |
| 2492 | - (c : ℝ) (hc : 0 < c) (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) | |
| 2493 | - (f f' : LiftL2 period) | |
| 2494 | - (hf : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2495 | - ‖deriv (fun t => translation period (translationPath period a t) | |
| 2496 | - (liftedPressure period κ m A hA C hAb c hc hpos f)) 0‖ ≤ | |
| 2497 | - c⁻¹ * (‖f'‖ + (D : ℝ) * ‖a‖ * | |
| 2498 | - ‖liftedPressure period κ m A hA C hAb c hc hpos f‖) := by | |
| 2499 | - have hd := pressure_translation_hasDerivAt period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2500 | - c hc hpos f f' hf | |
| 2501 | - rw [hd.deriv] | |
| 2502 | - refine (pressureSolver_apply_norm_le (gradientSpace period κ m) | |
| 2503 | - (coefficientOperator A hA C hAb) c hc | |
| 2504 | - (coefficientOperator_coercive A hA C hAb c hpos) _).trans ?_ | |
| 2505 | - apply mul_le_mul_of_nonneg_left _ (inv_nonneg.mpr hc.le) | |
| 2506 | - refine (norm_sub_le _ _).trans (add_le_add_right ?_ ‖f'‖) | |
| 2507 | - exact coefficientApply_norm_le (translatedCoefficientDerivative period a A 0) | |
| 2508 | - (translatedCoefficientDerivative_measurable period a A hAs) (D * ‖a‖₊) | |
| 2509 | - (fun x => translatedCoefficientDerivative_bound period a A D hDA x) | |
| 2510 | - (liftedPressure period κ m A hA C hAb c hc hpos f) | |
| 2511 | - | |
| 2512 | 1958 | end LiftedTranslation |
| 2513 | 1959 | |
| 2514 | 1960 | end EulerPressureSpatialRegularity |
| @@ -2828,60 +2274,6 @@ theorem strong_translation_derivative_weak (a : LiftTangent) (f f' : LiftL2 peri | ||
| 2828 | 2274 | filter_upwards [derivativeFieldLp_ae period a φ hφc hφ] with x hx |
| 2829 | 2275 | rw [hx] |
| 2830 | 2276 | |
| 2831 | -theorem divergenceFree_translation_mem (κ : ℝ) (m : Vector3) (a : LiftDomain period) | |
| 2832 | - {f : LiftL2 period} (hf : f ∈ divergenceFreeSpace period κ m) : | |
| 2833 | - translation period a f ∈ divergenceFreeSpace period κ m := by | |
| 2834 | - intro g hg | |
| 2835 | - rw [real_inner_comm, translation_pairing, real_inner_comm] | |
| 2836 | - exact hf (translation period (-a) g) (gradientSpace_translation_mem period κ m (-a) hg) | |
| 2837 | - | |
| 2838 | -theorem divergenceFree_translation_derivative (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2839 | - {f f' : LiftL2 period} (hf : f ∈ divergenceFreeSpace period κ m) | |
| 2840 | - (hder : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2841 | - f' ∈ divergenceFreeSpace period κ m := by | |
| 2842 | - have hlim := hder.tendsto_slope_zero | |
| 2843 | - simp only [zero_add, translationPath_zero, translation_zero] at hlim | |
| 2844 | - apply (gradientSpace period κ m).isClosed_orthogonal.mem_of_tendsto hlim | |
| 2845 | - exact Filter.Eventually.of_forall fun t => (divergenceFreeSpace period κ m).smul_mem _ | |
| 2846 | - ((divergenceFreeSpace period κ m).sub_mem | |
| 2847 | - (divergenceFree_translation_mem period κ m (translationPath period a t) hf) hf) | |
| 2848 | - | |
| 2849 | -theorem pressure_has_weak_derivative (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2850 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 2851 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 2852 | - (hAs : ∀ x, ContDiff ℝ ∞ (localFieldLift period A x)) | |
| 2853 | - (C D M : ℝ≥0) (hAb : ∀ x, ‖A x‖ ≤ C) | |
| 2854 | - (hDA : ∀ x, ‖fderiv ℝ (localFieldLift period A x) 0‖ ≤ D) | |
| 2855 | - (hDDA : ∀ x y, ‖fderiv ℝ (fderiv ℝ (localFieldLift period A x)) y‖ ≤ M) | |
| 2856 | - (c : ℝ) (hc : 0 < c) (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) | |
| 2857 | - (f f' : LiftL2 period) | |
| 2858 | - (hf : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2859 | - ∃ p' : LiftL2 period, | |
| 2860 | - HasDerivAt (fun t => translation period (translationPath period a t) | |
| 2861 | - (liftedPressure period κ m A hA C hAb c hc hpos f)) p' 0 ∧ | |
| 2862 | - p' ∈ gradientSpace period κ m ∧ | |
| 2863 | - ‖p'‖ ≤ c⁻¹ * (‖f'‖ + (D : ℝ) * ‖a‖ * | |
| 2864 | - ‖liftedPressure period κ m A hA C hAb c hc hpos f‖) ∧ | |
| 2865 | - ∀ (φ : LiftDomain period → Vector3), HasCompactSupport φ → | |
| 2866 | - (∀ x, ContDiff ℝ ∞ (localFieldLift period φ x)) → | |
| 2867 | - (∫ x, ⟪p' x, φ x⟫_ℝ ∂liftMeasure period) = | |
| 2868 | - -(∫ x, ⟪(liftedPressure period κ m A hA C hAb c hc hpos f) x, | |
| 2869 | - fieldDerivative period a φ x⟫_ℝ ∂liftMeasure period) := by | |
| 2870 | - let p := liftedPressure period κ m A hA C hAb c hc hpos f | |
| 2871 | - let p' := liftedPressure period κ m A hA C hAb c hc hpos | |
| 2872 | - (f' - EulerLiftedPressure.coefficientOperator (translatedCoefficientDerivative period a A 0) | |
| 2873 | - (translatedCoefficientDerivative_measurable period a A hAs) (D * ‖a‖₊) | |
| 2874 | - (fun x => translatedCoefficientDerivative_bound period a A D hDA x) p) | |
| 2875 | - have hpd : HasDerivAt (fun t => translation period (translationPath period a t) p) p' 0 := | |
| 2876 | - pressure_translation_hasDerivAt period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2877 | - c hc hpos f f' hf | |
| 2878 | - refine ⟨p', hpd, liftedPressure_mem period κ m A hA C hAb c hc hpos _, ?_, ?_⟩ | |
| 2879 | - · have hn := pressure_translation_derivative_norm period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2880 | - c hc hpos f f' hf | |
| 2881 | - rwa [hpd.deriv] at hn | |
| 2882 | - · intro φ hφc hφ | |
| 2883 | - exact strong_translation_derivative_weak period a p p' hpd φ hφc hφ | |
| 2884 | - | |
| 2885 | 2277 | end EulerLiftedWeakDerivative |
| 2886 | 2278 | |
| 2887 | 2279 | end |
| @@ -4083,27 +3475,6 @@ theorem metric_transport_H1_bound (κ : ℝ) (m : Vector3) | ||
| 4083 | 3475 | filter_upwards [hv] with x hx |
| 4084 | 3476 | exact metricCorrection_pointwise_bound period K e D β x _ (hD x) hx |
| 4085 | 3477 | |
| 4086 | -/-- The noncompact transport estimate expressed in the genuine L² Hilbert norm. -/ | |
| 4087 | -theorem metric_transport_L2_H1_bound (κ : ℝ) (m : Vector3) | |
| 4088 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) (e : LiftL2 period) | |
| 4089 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 4090 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 4091 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4092 | - 2 (liftMeasure period)) | |
| 4093 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 4094 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 4095 | - (C D B : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4096 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ D) | |
| 4097 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4098 | - |∫ x, ⟪K x (e x), fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4099 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period| ≤ | |
| 4100 | - (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) * ‖e‖ ^ 2 := by | |
| 4101 | - have hn : (∫ x, ‖e x‖ ^ 2 ∂liftMeasure period) = ‖e‖ ^ 2 := by | |
| 4102 | - rw [← real_inner_self_eq_norm_sq, L2.inner_def] | |
| 4103 | - simp only [real_inner_self_eq_norm_sq] | |
| 4104 | - simpa only [hn] using metric_transport_H1_bound period κ m K (fun x => e x) | |
| 4105 | - hK he (Lp.memLp e) hDe hsym hz C D B hC hD hzB | |
| 4106 | - | |
| 4107 | 3478 | end EulerNoncompactTransport |
| 4108 | 3479 | |
| 4109 | 3480 | end |
| @@ -4158,60 +3529,6 @@ theorem energy_derivative_bound (K K' : H →L[ℝ] H) (e transport forcing : H) | ||
| 4158 | 3529 | have ht' := (abs_le.mp ht).1 |
| 4159 | 3530 | nlinarith |
| 4160 | 3531 | |
| 4161 | -/-- A positive regularization gives a differentiable metric norm even at zero. -/ | |
| 4162 | -theorem regularized_metric_norm_hasDerivAt (K : ℝ → H →L[ℝ] H) (e : ℝ → H) | |
| 4163 | - (t δ : ℝ) (K' : H →L[ℝ] H) (e' : H) | |
| 4164 | - (hδ : 0 < δ) (hpos : 0 ≤ ⟪K t (e t), e t⟫_ℝ) | |
| 4165 | - (hK : HasDerivAt K K' t) (he : HasDerivAt e e' t) | |
| 4166 | - (hsym : ∀ v w, ⟪K t v, w⟫_ℝ = ⟪v, K t w⟫_ℝ) : | |
| 4167 | - HasDerivAt (fun s => √(⟪K s (e s), e s⟫_ℝ + δ ^ 2)) | |
| 4168 | - ((⟪K' (e t), e t⟫_ℝ + 2 * ⟪K t (e t), e'⟫_ℝ) / | |
| 4169 | - (2 * √(⟪K t (e t), e t⟫_ℝ + δ ^ 2))) t := by | |
| 4170 | - exact HasDerivAt.sqrt | |
| 4171 | - ((metric_energy_hasDerivAt K e t K' e' hK he hsym).add_const (δ ^ 2)) (by nlinarith) | |
| 4172 | - | |
| 4173 | -/-- The norm estimate used before summing Gevrey weights. All terms come from | |
| 4174 | -the actual differential equation; no estimate for the energy derivative is assumed. -/ | |
| 4175 | -theorem regularized_metric_norm_evolution (K : ℝ → H →L[ℝ] H) (e : ℝ → H) | |
| 4176 | - (t δ c B : ℝ) (K' : H →L[ℝ] H) (e' transport pressure forcing : H) | |
| 4177 | - (hδ : 0 < δ) (hc : 0 < c) (hB : 0 ≤ B) | |
| 4178 | - (hcoercive : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪K t (e t), e t⟫_ℝ) | |
| 4179 | - (hK : HasDerivAt K K' t) (he : HasDerivAt e e' t) | |
| 4180 | - (hsym : ∀ v w, ⟪K t v, w⟫_ℝ = ⟪v, K t w⟫_ℝ) | |
| 4181 | - (heq : e' + transport + pressure = forcing) | |
| 4182 | - (hp : ⟪K t (e t), pressure⟫_ℝ = 0) | |
| 4183 | - (ht : |⟪K t (e t), transport⟫_ℝ| ≤ B * ‖e t‖ ^ 2) : | |
| 4184 | - deriv (fun s => √(⟪K s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4185 | - ((‖K'‖ + 2 * B) / (2 * c ^ 2)) * √(⟪K t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4186 | - (‖K t‖ / c) * ‖forcing‖ := by | |
| 4187 | - let E := √(⟪K t (e t), e t⟫_ℝ + δ ^ 2) | |
| 4188 | - have hq : 0 ≤ ⟪K t (e t), e t⟫_ℝ := | |
| 4189 | - (mul_nonneg (sq_nonneg c) (sq_nonneg ‖e t‖)).trans hcoercive | |
| 4190 | - have hE : 0 < E := sqrt_pos.2 (by nlinarith) | |
| 4191 | - have hE2 : E ^ 2 = ⟪K t (e t), e t⟫_ℝ + δ ^ 2 := sq_sqrt (by nlinarith) | |
| 4192 | - have hnorm : ‖e t‖ ≤ E / c := by | |
| 4193 | - apply (le_div_iff₀ hc).2 | |
| 4194 | - nlinarith [norm_nonneg (e t)] | |
| 4195 | - have hnorm2 : ‖e t‖ ^ 2 ≤ E ^ 2 / c ^ 2 := by | |
| 4196 | - rw [← div_pow] | |
| 4197 | - exact pow_le_pow_left₀ (norm_nonneg _) hnorm 2 | |
| 4198 | - have hdiff := metric_energy_evolution K e t K' e' transport pressure forcing hK he hsym heq hp | |
| 4199 | - have hroot := HasDerivAt.sqrt (hdiff.add_const (δ ^ 2)) (by nlinarith : | |
| 4200 | - ⟪K t (e t), e t⟫_ℝ + δ ^ 2 ≠ 0) | |
| 4201 | - rw [hroot.deriv] | |
| 4202 | - change (_ / (2 * E)) ≤ _ | |
| 4203 | - apply (div_le_iff₀ (by positivity : 0 < 2 * E)).2 | |
| 4204 | - have hb := energy_derivative_bound (K t) K' (e t) transport forcing B hB ht | |
| 4205 | - have h1 := mul_le_mul_of_nonneg_left hnorm2 | |
| 4206 | - (show 0 ≤ ‖K'‖ + 2 * B by positivity) | |
| 4207 | - have h2 := mul_le_mul_of_nonneg_left hnorm | |
| 4208 | - (show 0 ≤ 2 * ‖K t‖ * ‖forcing‖ by positivity) | |
| 4209 | - calc | |
| 4210 | - _ ≤ (‖K'‖ + 2 * B) * ‖e t‖ ^ 2 + 2 * ‖K t‖ * ‖e t‖ * ‖forcing‖ := hb | |
| 4211 | - _ ≤ (‖K'‖ + 2 * B) * (E ^ 2 / c ^ 2) + | |
| 4212 | - 2 * ‖K t‖ * (E / c) * ‖forcing‖ := by nlinarith | |
| 4213 | - _ = _ := by dsimp [E]; field_simp | |
| 4214 | - | |
| 4215 | 3532 | end EulerMetricEnergyEvolution |
| 4216 | 3533 | |
| 4217 | 3534 | end |
| @@ -4229,132 +3546,6 @@ open scoped ContDiff ENNReal NNReal Topology | ||
| 4229 | 3546 | |
| 4230 | 3547 | variable (period : ℝ) [Fact (0 < period)] |
| 4231 | 3548 | |
| 4232 | -/-- The actual directional transport derivative is square integrable under H¹ and bounded velocity. -/ | |
| 4233 | -theorem liftedTransport_memLp (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4234 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4235 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4236 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4237 | - MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4238 | - (transportDirection κ m (z x))) 2 (liftMeasure period) := by | |
| 4239 | - apply hDe.of_le_mul (c := (|κ| + ‖m‖) * B) | |
| 4240 | - · exact aestronglyMeasurable_apply period hDe.aestronglyMeasurable | |
| 4241 | - (transportDirection_aestronglyMeasurable period κ m z) | |
| 4242 | - filter_upwards [hzB] with x hx | |
| 4243 | - have hv := (transportDirection_norm_le κ m (z x)).trans | |
| 4244 | - (mul_le_mul_of_nonneg_left hx (add_nonneg (abs_nonneg _) (norm_nonneg _))) | |
| 4245 | - calc | |
| 4246 | - _ ≤ ‖fderiv ℝ (localFieldLift period (fun y => e y) x) 0‖ * | |
| 4247 | - ‖transportDirection κ m (z x)‖ := ContinuousLinearMap.le_opNorm _ _ | |
| 4248 | - _ ≤ ‖fderiv ℝ (localFieldLift period (fun y => e y) x) 0‖ * ((|κ| + ‖m‖) * B) := | |
| 4249 | - mul_le_mul_of_nonneg_left hv (norm_nonneg _) | |
| 4250 | - _ = _ := by ring | |
| 4251 | - | |
| 4252 | -/-- The genuine L² element represented by the lifted directional transport derivative. -/ | |
| 4253 | -def liftedTransport (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4254 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4255 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4256 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : LiftL2 period := | |
| 4257 | - (liftedTransport_memLp period κ m e z hDe B hzB).toLp _ | |
| 4258 | - | |
| 4259 | -theorem liftedTransport_ae (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4260 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4261 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4262 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4263 | - liftedTransport period κ m e z hDe B hzB =ᵐ[liftMeasure period] | |
| 4264 | - fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4265 | - (transportDirection κ m (z x)) := | |
| 4266 | - (liftedTransport_memLp period κ m e z hDe B hzB).coeFn_toLp | |
| 4267 | - | |
| 4268 | -/-- The Hilbert metric pairing equals the actual spatial transport integral. -/ | |
| 4269 | -theorem metric_transport_inner_eq (κ : ℝ) (m : Vector3) | |
| 4270 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4271 | - (hKm : AEStronglyMeasurable K (liftMeasure period)) (C : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4272 | - (e z : LiftL2 period) | |
| 4273 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4274 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4275 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4276 | - ⟪coefficientOperator K hKm C hC e, liftedTransport period κ m e z hDe B hzB⟫_ℝ = | |
| 4277 | - ∫ x, ⟪K x (e x), fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4278 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period := by | |
| 4279 | - rw [L2.inner_def] | |
| 4280 | - apply integral_congr_ae | |
| 4281 | - filter_upwards [coefficientOperator_ae K hKm C hC e, liftedTransport_ae period κ m e z hDe B hzB] | |
| 4282 | - with x hx hy | |
| 4283 | - rw [hx, hy] | |
| 4284 | - | |
| 4285 | -/-- The transport bound required by the Hilbert energy theorem, with genuine spatial fields. -/ | |
| 4286 | -theorem metric_transport_inner_bound (κ : ℝ) (m : Vector3) | |
| 4287 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4288 | - (hKm : AEStronglyMeasurable K (liftMeasure period)) | |
| 4289 | - (e z : LiftL2 period) | |
| 4290 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 4291 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 4292 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4293 | - 2 (liftMeasure period)) | |
| 4294 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 4295 | - (hz : z ∈ divergenceFreeSpace period κ m) | |
| 4296 | - (C D B : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4297 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ D) | |
| 4298 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4299 | - |⟪coefficientOperator K hKm C hC e, liftedTransport period κ m e z hDe B hzB⟫_ℝ| ≤ | |
| 4300 | - (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) * ‖e‖ ^ 2 := by | |
| 4301 | - rw [metric_transport_inner_eq] | |
| 4302 | - exact metric_transport_L2_H1_bound period κ m K e hK he hDe hsym hz C D B hC hD hzB | |
| 4303 | - | |
| 4304 | -/-- A pointwise matrix family acting on the actual lifted L² space. -/ | |
| 4305 | -def metricFamily (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4306 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4307 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) : ℝ → LiftL2 period →L[ℝ] LiftL2 period := | |
| 4308 | - fun t => coefficientOperator (K t) (hKm t) C (hC t) | |
| 4309 | - | |
| 4310 | -/-- The metric norm estimate for the actual lifted transport-pressure equation. -/ | |
| 4311 | -theorem lifted_regularized_energy_evolution (κ : ℝ) (m : Vector3) | |
| 4312 | - (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4313 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4314 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) | |
| 4315 | - (e : ℝ → LiftL2 period) (t δ c : ℝ) | |
| 4316 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) (e' z p forcing : LiftL2 period) | |
| 4317 | - (hδ : 0 < δ) (hc : 0 < c) | |
| 4318 | - (hKt : HasDerivAt (metricFamily period K hKm C hC) K' t) (het : HasDerivAt e e' t) | |
| 4319 | - (hKs : ∀ x, ContDiff ℝ ∞ (localFieldLift period (K t) x)) | |
| 4320 | - (hes : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e t y) x)) | |
| 4321 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e t y) x) 0) | |
| 4322 | - 2 (liftMeasure period)) | |
| 4323 | - (hsym : ∀ x v w, ⟪K t x v, w⟫_ℝ = ⟪v, K t x w⟫_ℝ) | |
| 4324 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K t x v, v⟫_ℝ) | |
| 4325 | - (G : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4326 | - (hGm : AEStronglyMeasurable G (liftMeasure period)) (E : ℝ≥0) (hG : ∀ x, ‖G x‖ ≤ E) | |
| 4327 | - (hKG : ∀ x v, K t x (G x v) = v) | |
| 4328 | - (hep : e t ∈ divergenceFreeSpace period κ m) (hp : p ∈ gradientSpace period κ m) | |
| 4329 | - (hz : z ∈ divergenceFreeSpace period κ m) (D B : ℝ≥0) | |
| 4330 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period (K t) x) 0‖ ≤ D) | |
| 4331 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 4332 | - (heq : e' + liftedTransport period κ m (e t) z hDe B hzB + | |
| 4333 | - coefficientOperator G hGm E hG p = forcing) : | |
| 4334 | - deriv (fun s => Real.sqrt (⟪metricFamily period K hKm C hC s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4335 | - ((‖K'‖ + (D : ℝ) * ((|κ| + ‖m‖) * B)) / (2 * c ^ 2)) * | |
| 4336 | - Real.sqrt (⟪metricFamily period K hKm C hC t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4337 | - ((C : ℝ) / c) * ‖forcing‖ := by | |
| 4338 | - let A := metricFamily period K hKm C hC | |
| 4339 | - let β : ℝ := (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) | |
| 4340 | - have hβ : 0 ≤ β := by dsimp [β]; positivity | |
| 4341 | - have hsymL : ∀ v w, ⟪A t v, w⟫_ℝ = ⟪v, A t w⟫_ℝ := | |
| 4342 | - coefficientOperator_inner_swap (K t) (hKm t) C (hC t) hsym | |
| 4343 | - have hposL : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪A t (e t), e t⟫_ℝ := | |
| 4344 | - coefficientOperator_coercive (K t) (hKm t) C (hC t) (c ^ 2) hpos (e t) | |
| 4345 | - have hpL : ⟪A t (e t), coefficientOperator G hGm E hG p⟫_ℝ = 0 := | |
| 4346 | - metric_pressure_cancellation period κ m (K t) G (hKm t) hGm C E (hC t) hG hsym hKG hep hp | |
| 4347 | - have htL := metric_transport_inner_bound period κ m (K t) (hKm t) (e t) z | |
| 4348 | - hKs hes hDe hsym hz C D B (hC t) hD hzB | |
| 4349 | - have h := regularized_metric_norm_evolution A e t δ c β K' e' | |
| 4350 | - (liftedTransport period κ m (e t) z hDe B hzB) (coefficientOperator G hGm E hG p) | |
| 4351 | - forcing hδ hc hβ hposL hKt het hsymL heq hpL htL | |
| 4352 | - have hA : ‖A t‖ ≤ C := coefficientOperator_norm_le (K t) (hKm t) C (hC t) | |
| 4353 | - have hb : 2 * β = (D : ℝ) * ((|κ| + ‖m‖) * B) := by dsimp [β]; ring | |
| 4354 | - rw [hb] at h | |
| 4355 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 4356 | - (div_le_div_of_nonneg_right hA hc.le) (norm_nonneg forcing)) _) | |
| 4357 | - | |
| 4358 | 3549 | end EulerLiftedMetricEvolution |
| 4359 | 3550 | |
| 4360 | 3551 | end |
| @@ -4456,62 +3647,6 @@ theorem metric_transport_inner_bound (κ : ℝ) (m : Vector3) | ||
| 4456 | 3647 | simpa only [hn] using metric_transport_H1_bound period κ m K g |
| 4457 | 3648 | hK he ((memLp_congr_ae hrep).mp (Lp.memLp e)) hDe hsym hz C D B hC hD hzB |
| 4458 | 3649 | |
| 4459 | -/-- A pointwise matrix family acting on the actual lifted L² space. -/ | |
| 4460 | -def metricFamily (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4461 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4462 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) : ℝ → LiftL2 period →L[ℝ] LiftL2 period := | |
| 4463 | - fun t => coefficientOperator (K t) (hKm t) C (hC t) | |
| 4464 | - | |
| 4465 | -/-- The metric norm estimate for the actual lifted transport-pressure equation. -/ | |
| 4466 | -theorem lifted_regularized_energy_evolution (κ : ℝ) (m : Vector3) | |
| 4467 | - (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4468 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4469 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) | |
| 4470 | - (e : ℝ → LiftL2 period) (t δ c : ℝ) | |
| 4471 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) (e' z p forcing : LiftL2 period) | |
| 4472 | - (hδ : 0 < δ) (hc : 0 < c) | |
| 4473 | - (hKt : HasDerivAt (metricFamily period K hKm C hC) K' t) (het : HasDerivAt e e' t) | |
| 4474 | - (hKs : ∀ x, ContDiff ℝ ∞ (localFieldLift period (K t) x)) | |
| 4475 | - (g : LiftDomain period → Vector3) | |
| 4476 | - (hrep : (e t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 4477 | - (hes : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 4478 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period g x) 0) | |
| 4479 | - 2 (liftMeasure period)) | |
| 4480 | - (hsym : ∀ x v w, ⟪K t x v, w⟫_ℝ = ⟪v, K t x w⟫_ℝ) | |
| 4481 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K t x v, v⟫_ℝ) | |
| 4482 | - (G : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4483 | - (hGm : AEStronglyMeasurable G (liftMeasure period)) (E : ℝ≥0) (hG : ∀ x, ‖G x‖ ≤ E) | |
| 4484 | - (hKG : ∀ x v, K t x (G x v) = v) | |
| 4485 | - (hep : e t ∈ divergenceFreeSpace period κ m) (hp : p ∈ gradientSpace period κ m) | |
| 4486 | - (hz : z ∈ divergenceFreeSpace period κ m) (D B : ℝ≥0) | |
| 4487 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period (K t) x) 0‖ ≤ D) | |
| 4488 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 4489 | - (heq : e' + liftedTransport period κ m g z hDe B hzB + | |
| 4490 | - coefficientOperator G hGm E hG p = forcing) : | |
| 4491 | - deriv (fun s => Real.sqrt (⟪metricFamily period K hKm C hC s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4492 | - ((‖K'‖ + (D : ℝ) * ((|κ| + ‖m‖) * B)) / (2 * c ^ 2)) * | |
| 4493 | - Real.sqrt (⟪metricFamily period K hKm C hC t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4494 | - ((C : ℝ) / c) * ‖forcing‖ := by | |
| 4495 | - let A := metricFamily period K hKm C hC | |
| 4496 | - let β : ℝ := (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) | |
| 4497 | - have hβ : 0 ≤ β := by dsimp [β]; positivity | |
| 4498 | - have hsymL : ∀ v w, ⟪A t v, w⟫_ℝ = ⟪v, A t w⟫_ℝ := | |
| 4499 | - coefficientOperator_inner_swap (K t) (hKm t) C (hC t) hsym | |
| 4500 | - have hposL : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪A t (e t), e t⟫_ℝ := | |
| 4501 | - coefficientOperator_coercive (K t) (hKm t) C (hC t) (c ^ 2) hpos (e t) | |
| 4502 | - have hpL : ⟪A t (e t), coefficientOperator G hGm E hG p⟫_ℝ = 0 := | |
| 4503 | - metric_pressure_cancellation period κ m (K t) G (hKm t) hGm C E (hC t) hG hsym hKG hep hp | |
| 4504 | - have htL := metric_transport_inner_bound period κ m (K t) (hKm t) (e t) g z hrep | |
| 4505 | - hKs hes hDe hsym hz C D B (hC t) hD hzB | |
| 4506 | - have h := regularized_metric_norm_evolution A e t δ c β K' e' | |
| 4507 | - (liftedTransport period κ m g z hDe B hzB) (coefficientOperator G hGm E hG p) | |
| 4508 | - forcing hδ hc hβ hposL hKt het hsymL heq hpL htL | |
| 4509 | - have hA : ‖A t‖ ≤ C := coefficientOperator_norm_le (K t) (hKm t) C (hC t) | |
| 4510 | - have hb : 2 * β = (D : ℝ) * ((|κ| + ‖m‖) * B) := by dsimp [β]; ring | |
| 4511 | - rw [hb] at h | |
| 4512 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 4513 | - (div_le_div_of_nonneg_right hA hc.le) (norm_nonneg forcing)) _) | |
| 4514 | - | |
| 4515 | 3650 | end EulerRepresentativeMetricEvolution |
| 4516 | 3651 | |
| 4517 | 3652 | end |
| @@ -4573,19 +3708,6 @@ theorem word_mem_gradientSpace {s n : ℕ} {f : LiftL2 period} | ||
| 4573 | 3708 | (J.word_hasDerivAt (by omega : n < s) (Fin.tail w) (w 0)) |
| 4574 | 3709 | simpa only [Fin.cons_self_tail] using h |
| 4575 | 3710 | |
| 4576 | -/-- Every valid word of a solenoidal Sobolev jet remains genuinely weakly solenoidal. -/ | |
| 4577 | -theorem word_mem_divergenceFreeSpace {s n : ℕ} {f : LiftL2 period} | |
| 4578 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 4579 | - (κ : ℝ) (m : Vector3) (hf : f ∈ divergenceFreeSpace period κ m) (hn : n ≤ s) | |
| 4580 | - (w : Fin n → Fin 4) : J.word w ∈ divergenceFreeSpace period κ m := by | |
| 4581 | - induction n with | |
| 4582 | - | zero => simpa using hf | |
| 4583 | - | succ n ih => | |
| 4584 | - have h := divergenceFree_translation_derivative period κ m (directions (w 0)) | |
| 4585 | - (ih (by omega) (Fin.tail w)) | |
| 4586 | - (J.word_hasDerivAt (by omega : n < s) (Fin.tail w) (w 0)) | |
| 4587 | - simpa only [Fin.cons_self_tail] using h | |
| 4588 | - | |
| 4589 | 3711 | /-- A bounded operator commuting with actual translations maps genuine spatial jets. -/ |
| 4590 | 3712 | def map (L : LiftL2 period →L[ℝ] LiftL2 period) |
| 4591 | 3713 | (hL : ∀ a f, translation period a (L f) = L (translation period a f)) |
| @@ -4654,26 +3776,6 @@ theorem pressure_word_inverse {s n : ℕ} {A : SmoothCoefficient period} | ||
| 4654 | 3776 | rw [map_sub, map_sub, hp] |
| 4655 | 3777 | abel |
| 4656 | 3778 | |
| 4657 | -/-- The rigorous triangular pressure estimate before its product commutator is summed. -/ | |
| 4658 | -theorem pressure_word_norm_le {s n : ℕ} {A : SmoothCoefficient period} | |
| 4659 | - {f : LiftL2 period} (K : CoefficientJet period directions s A) | |
| 4660 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 4661 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 4662 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 4663 | - (hn : n ≤ s) (w : Fin n → Fin 4) : | |
| 4664 | - ‖(J.solvePressure K κ m c hc hpos).word w‖ ≤ c⁻¹ * | |
| 4665 | - (‖J.word w‖ + ‖(EulerSpatialSobolevInverse.SpatialJet.multiply K | |
| 4666 | - (J.solvePressure K κ m c hc hpos)).word w - | |
| 4667 | - A.operator ((J.solvePressure K κ m c hc hpos).word w)‖) := by | |
| 4668 | - calc | |
| 4669 | - _ = ‖A.pressure κ m c hc hpos (J.word w - | |
| 4670 | - ((EulerSpatialSobolevInverse.SpatialJet.multiply K (J.solvePressure K κ m c hc hpos)).word w - | |
| 4671 | - A.operator ((J.solvePressure K κ m c hc hpos).word w)))‖ := by | |
| 4672 | - congr 1 | |
| 4673 | - exact pressure_word_inverse K J κ m c hc hpos hn w | |
| 4674 | - _ ≤ _ := (A.pressure_norm κ m c hc hpos _).trans | |
| 4675 | - (mul_le_mul_of_nonneg_left (norm_sub_le _ _) (inv_nonneg.mpr hc.le)) | |
| 4676 | - | |
| 4677 | 3779 | end SpatialJet |
| 4678 | 3780 | |
| 4679 | 3781 | end EulerPressureJetIdentities |
| @@ -4936,12 +4038,6 @@ theorem sum_commutatorConvolution_right (A : ℕ → ℝ) (B : Fin 4 → ℕ → | ||
| 4936 | 4038 | simp only [commutatorConvolution] |
| 4937 | 4039 | rw [Finset.sum_sub_distrib, sum_leibnizConvolution_right, Finset.mul_sum] |
| 4938 | 4040 | |
| 4939 | -/-- The actual product commutator at one derivative order, summed over coordinate words. -/ | |
| 4940 | -def commutatorLevel {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 4941 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 4942 | - (n : ℕ) : ℝ := | |
| 4943 | - ∑ w : Fin n → Fin 4, ‖(SpatialJet.multiply K J).word w - A.operator (J.word w)‖ | |
| 4944 | - | |
| 4945 | 4041 | theorem sum_word_snoc (n : ℕ) (F : (Fin (n + 1) → Fin 4) → ℝ) : |
| 4946 | 4042 | (∑ w, F w) = ∑ i, ∑ w : Fin n → Fin 4, F (Fin.snoc w i) := by |
| 4947 | 4043 | calc |
| @@ -4969,135 +4065,6 @@ theorem multiply_word_snoc {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL | ||
| 4969 | 4065 | subst j |
| 4970 | 4066 | rfl |
| 4971 | 4067 | |
| 4972 | -theorem commutatorLevel_succ_le {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 4973 | - (dA : Fin 4 → SmoothCoefficient period) | |
| 4974 | - (lowerA : ∀ i, CoefficientJet period directions s (dA i)) | |
| 4975 | - (hA : ∀ i x, (dA i).coefficient x = EulerTransportDerivatives.fieldDerivative period | |
| 4976 | - (directions i) A.coefficient x) | |
| 4977 | - (df : Fin 4 → LiftL2 period) (lowerF : ∀ i, SpatialJet period directions s (df i)) | |
| 4978 | - (hF : ∀ i, HasDerivAt (fun t => translation period (translationPath period (directions i) t) f) | |
| 4979 | - (df i) 0) : | |
| 4980 | - commutatorLevel (CoefficientJet.succ dA lowerA hA) (SpatialJet.succ df lowerF hF) (n + 1) ≤ | |
| 4981 | - ∑ i, (commutatorLevel (CoefficientJet.succ dA lowerA hA).truncate (lowerF i) n + | |
| 4982 | - levelNorm period (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate) n) := by | |
| 4983 | - rw [commutatorLevel, sum_word_snoc] | |
| 4984 | - apply Finset.sum_le_sum | |
| 4985 | - intro i _ | |
| 4986 | - rw [commutatorLevel, levelNorm_eq_words, ← Finset.sum_add_distrib] | |
| 4987 | - apply Finset.sum_le_sum | |
| 4988 | - intro w _ | |
| 4989 | - rw [multiply_word_snoc] | |
| 4990 | - simp only [SpatialJet.word_succ, Fin.init_snoc] | |
| 4991 | - simp only [Fin.snoc, Fin.val_last, cast_eq] | |
| 4992 | - generalize hval : (if h : n < n then w ((Fin.last n).castLT h) else i) = j | |
| 4993 | - have hj : j = i := hval.symm.trans (dite_eq_right (Nat.lt_irrefl n)) | |
| 4994 | - clear hval | |
| 4995 | - subst j | |
| 4996 | - have heq : (SpatialJet.multiply (CoefficientJet.succ dA lowerA hA).truncate (lowerF i)).word w + | |
| 4997 | - (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate).word w - | |
| 4998 | - A.operator ((lowerF i).word w) = | |
| 4999 | - ((SpatialJet.multiply (CoefficientJet.succ dA lowerA hA).truncate (lowerF i)).word w - | |
| 5000 | - A.operator ((lowerF i).word w)) + | |
| 5001 | - (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate).word w := by abel | |
| 5002 | - rw [heq] | |
| 5003 | - exact norm_add_le _ _ | |
| 5004 | -/-- Sharp all-order commutator estimate, with only positive coefficient derivative orders. -/ | |
| 5005 | -theorem commutatorLevel_le {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5006 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5007 | - (hn : n ≤ s) : | |
| 5008 | - commutatorLevel K J n ≤ | |
| 5009 | - commutatorConvolution (boundLevel period K) (levelNorm period J) n := by | |
| 5010 | - induction n generalizing s A f with | |
| 5011 | - | zero => simp [commutatorLevel, commutatorConvolution_eq_sum] | |
| 5012 | - | succ n ih => | |
| 5013 | - cases s with | |
| 5014 | - | zero => omega | |
| 5015 | - | succ s => | |
| 5016 | - cases K with | |
| 5017 | - | succ dA lowerA hA => | |
| 5018 | - cases J with | |
| 5019 | - | succ df lowerF hF => | |
| 5020 | - let K := CoefficientJet.succ dA lowerA hA | |
| 5021 | - let J := SpatialJet.succ df lowerF hF | |
| 5022 | - have hterm : ∀ i, | |
| 5023 | - commutatorLevel K.truncate (lowerF i) n + | |
| 5024 | - levelNorm period (SpatialJet.multiply (lowerA i) J.truncate) n ≤ | |
| 5025 | - commutatorConvolution (boundLevel period K) (levelNorm period (lowerF i)) n + | |
| 5026 | - leibnizConvolution (boundLevel period (lowerA i)) (levelNorm period J) n := by | |
| 5027 | - intro i | |
| 5028 | - have hleft := ih K.truncate (lowerF i) (by omega : n ≤ s) | |
| 5029 | - have hright := multiply_levelNorm_le (lowerA i) J.truncate (by omega : n ≤ s) | |
| 5030 | - have heqL := commutatorConvolution_congr (boundLevel period K.truncate) | |
| 5031 | - (levelNorm period (lowerF i)) (boundLevel period K) (levelNorm period (lowerF i)) n | |
| 5032 | - (fun l hl => boundLevel_truncate K (by omega)) (fun _ _ => rfl) | |
| 5033 | - have heqR := leibnizConvolution_congr (boundLevel period (lowerA i)) | |
| 5034 | - (levelNorm period J.truncate) (boundLevel period (lowerA i)) (levelNorm period J) n | |
| 5035 | - (fun _ _ => rfl) (fun l hl => levelNorm_truncate J (by omega)) | |
| 5036 | - rw [heqL] at hleft | |
| 5037 | - rw [heqR] at hright | |
| 5038 | - exact add_le_add hleft hright | |
| 5039 | - calc | |
| 5040 | - _ ≤ ∑ i, (commutatorLevel K.truncate (lowerF i) n + | |
| 5041 | - levelNorm period (SpatialJet.multiply (lowerA i) J.truncate) n) := | |
| 5042 | - commutatorLevel_succ_le dA lowerA hA df lowerF hF | |
| 5043 | - _ ≤ ∑ i, (commutatorConvolution (boundLevel period K) (levelNorm period (lowerF i)) n + | |
| 5044 | - leibnizConvolution (boundLevel period (lowerA i)) (levelNorm period J) n) := | |
| 5045 | - Finset.sum_le_sum fun i _ => hterm i | |
| 5046 | - _ = commutatorConvolution (boundLevel period K) | |
| 5047 | - (fun l => ∑ i, levelNorm period (lowerF i) l) n + | |
| 5048 | - leibnizConvolution (fun l => ∑ i, boundLevel period (lowerA i) l) | |
| 5049 | - (levelNorm period J) n := by | |
| 5050 | - rw [Finset.sum_add_distrib, sum_commutatorConvolution_right, sum_leibnizConvolution_left] | |
| 5051 | - _ = commutatorConvolution (boundLevel period K) (levelNorm period J) (n + 1) := by | |
| 5052 | - rw [commutatorConvolution_succ] | |
| 5053 | - congr 2 <;> funext l <;> simp only [K, J, levelNorm, boundLevel] | |
| 5054 | - | |
| 5055 | -/-- The all-order pressure recurrence for actual L² derivative words, with the entire | |
| 5056 | -positive-order coefficient convolution derived from the product rule. -/ | |
| 5057 | -theorem pressure_level_recurrence {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5058 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5059 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5060 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (hn : n ≤ s) : | |
| 5061 | - levelNorm period (J.solvePressure K κ m c hc hpos) n ≤ c⁻¹ * | |
| 5062 | - (levelNorm period J n + ∑ l ∈ Finset.range n, | |
| 5063 | - (n.choose (l + 1) : ℝ) * boundLevel period K (l + 1) * | |
| 5064 | - levelNorm period (J.solvePressure K κ m c hc hpos) (n - (l + 1))) := by | |
| 5065 | - let P := J.solvePressure K κ m c hc hpos | |
| 5066 | - have hw := fun w : Fin n → Fin 4 => | |
| 5067 | - EulerPressureJetIdentities.SpatialJet.pressure_word_norm_le K J κ m c hc hpos hn w | |
| 5068 | - calc | |
| 5069 | - _ = ∑ w : Fin n → Fin 4, ‖P.word w‖ := levelNorm_eq_words P | |
| 5070 | - _ ≤ ∑ w : Fin n → Fin 4, c⁻¹ * (‖J.word w‖ + | |
| 5071 | - ‖(SpatialJet.multiply K P).word w - A.operator (P.word w)‖) := | |
| 5072 | - Finset.sum_le_sum fun w _ => hw w | |
| 5073 | - _ = c⁻¹ * (levelNorm period J n + commutatorLevel K P n) := by | |
| 5074 | - rw [← Finset.mul_sum, Finset.sum_add_distrib, ← levelNorm_eq_words] | |
| 5075 | - rfl | |
| 5076 | - _ ≤ c⁻¹ * (levelNorm period J n + | |
| 5077 | - commutatorConvolution (boundLevel period K) (levelNorm period P) n) := | |
| 5078 | - mul_le_mul_of_nonneg_left (add_le_add_right (commutatorLevel_le K P hn) _) | |
| 5079 | - (inv_nonneg.mpr hc.le) | |
| 5080 | - _ = _ := by rw [commutatorConvolution_eq_sum] | |
| 5081 | - | |
| 5082 | -/-- A finite jet has no stored derivatives above its order. -/ | |
| 5083 | -theorem levelNorm_eq_zero_of_lt {s n : ℕ} {f : LiftL2 period} | |
| 5084 | - (J : SpatialJet period directions s f) (hn : s < n) : levelNorm period J n = 0 := by | |
| 5085 | - induction s generalizing f n with | |
| 5086 | - | zero => | |
| 5087 | - cases J | |
| 5088 | - cases n with | |
| 5089 | - | zero => omega | |
| 5090 | - | succ n => rw [levelNorm] | |
| 5091 | - | succ s ih => | |
| 5092 | - cases J with | |
| 5093 | - | succ df lower hd => | |
| 5094 | - cases n with | |
| 5095 | - | zero => omega | |
| 5096 | - | succ n => | |
| 5097 | - rw [levelNorm] | |
| 5098 | - apply Finset.sum_eq_zero | |
| 5099 | - intro i _ | |
| 5100 | - exact ih (lower i) (by omega) | |
| 5101 | 4068 | |
| 5102 | 4069 | end EulerJetProductBounds |
| 5103 | 4070 | |
| @@ -5115,71 +4082,6 @@ open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobole | ||
| 5115 | 4082 | |
| 5116 | 4083 | variable (period : ℝ) [Fact (0 < period)] |
| 5117 | 4084 | |
| 5118 | -/-- Every finite pressure solve obeys a Gevrey bound uniform in the cutoff order. | |
| 5119 | -The triangular recurrence is derived from genuine strong translation derivatives. -/ | |
| 5120 | -theorem pressure_gevrey_majorant {directions : Fin 4 → LiftTangent} | |
| 5121 | - {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5122 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5123 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5124 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 5125 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hcM : c⁻¹ ≤ M) (hRc : 0 ≤ Rc) | |
| 5126 | - (hR : 2 * M * (Rc + 1) ≤ R) (d : ℕ) | |
| 5127 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ s → boundLevel period K l ≤ majorant Rc 0 l) | |
| 5128 | - (hsource : ∀ n ≤ s, levelNorm period J n ≤ majorant R d n) (n : ℕ) : | |
| 5129 | - levelNorm period (J.solvePressure K κ m c hc hpos) n ≤ majorant R (d + 1) n := by | |
| 5130 | - let P := J.solvePressure K κ m c hc hpos | |
| 5131 | - have hM0 : 0 ≤ M := by linarith | |
| 5132 | - have hR0 : 0 ≤ R := by nlinarith | |
| 5133 | - have hz : ∀ j, 0 ≤ levelNorm period P j := fun _ => levelNorm_nonneg P | |
| 5134 | - have hf : ∀ j, 0 ≤ levelNorm period J j := fun _ => levelNorm_nonneg J | |
| 5135 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 5136 | - (levelNorm period J) (levelNorm period P) _ _ n | |
| 5137 | - · intro j | |
| 5138 | - by_cases hj : j ≤ s | |
| 5139 | - · exact hsource j hj | |
| 5140 | - · rw [levelNorm_eq_zero_of_lt J (by omega)] | |
| 5141 | - exact majorant_nonneg R hR0 d j | |
| 5142 | - · intro j | |
| 5143 | - have hsum0 : 0 ≤ ∑ l ∈ Finset.range j, | |
| 5144 | - (j.choose (l + 1) : ℝ) * Rc ^ (l + 1) * ((l + 1).factorial : ℝ) ^ 2 * | |
| 5145 | - levelNorm period P (j - (l + 1)) := by | |
| 5146 | - apply Finset.sum_nonneg | |
| 5147 | - intro l _ | |
| 5148 | - exact mul_nonneg (by positivity) (hz _) | |
| 5149 | - by_cases hj : j ≤ s | |
| 5150 | - · have hrec := pressure_level_recurrence K J κ m c hc hpos hj | |
| 5151 | - have hsum : (∑ l ∈ Finset.range j, | |
| 5152 | - (j.choose (l + 1) : ℝ) * boundLevel period K (l + 1) * | |
| 5153 | - levelNorm period P (j - (l + 1))) ≤ | |
| 5154 | - ∑ l ∈ Finset.range j, | |
| 5155 | - (j.choose (l + 1) : ℝ) * Rc ^ (l + 1) * ((l + 1).factorial : ℝ) ^ 2 * | |
| 5156 | - levelNorm period P (j - (l + 1)) := by | |
| 5157 | - apply Finset.sum_le_sum | |
| 5158 | - intro l hl | |
| 5159 | - have hlj : l < j := Finset.mem_range.mp hl | |
| 5160 | - have hcoef := hcoeff (l + 1) (by omega) (by omega) | |
| 5161 | - have hm := mul_le_mul_of_nonneg_right | |
| 5162 | - (mul_le_mul_of_nonneg_left hcoef (Nat.cast_nonneg (j.choose (l + 1)))) (hz (j - (l + 1))) | |
| 5163 | - simpa only [majorant, Nat.add_zero, mul_assoc] using hm | |
| 5164 | - exact hrec.trans ((mul_le_mul_of_nonneg_left (add_le_add_right hsum _) (inv_nonneg.mpr hc.le)).trans | |
| 5165 | - (mul_le_mul_of_nonneg_right hcM (add_nonneg (hf j) hsum0))) | |
| 5166 | - · rw [levelNorm_eq_zero_of_lt P (by omega)] | |
| 5167 | - exact mul_nonneg hM0 (add_nonneg (hf j) hsum0) | |
| 5168 | - | |
| 5169 | -/-- The same Gevrey inverse estimate written as the actual sum over all coordinate derivative words. -/ | |
| 5170 | -theorem pressure_word_sum_majorant {directions : Fin 4 → LiftTangent} | |
| 5171 | - {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5172 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5173 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5174 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 5175 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hcM : c⁻¹ ≤ M) (hRc : 0 ≤ Rc) | |
| 5176 | - (hR : 2 * M * (Rc + 1) ≤ R) (d : ℕ) | |
| 5177 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ s → boundLevel period K l ≤ majorant Rc 0 l) | |
| 5178 | - (hsource : ∀ n ≤ s, levelNorm period J n ≤ majorant R d n) (n : ℕ) : | |
| 5179 | - (∑ w : Fin n → Fin 4, ‖(J.solvePressure K κ m c hc hpos).word w‖) ≤ majorant R (d + 1) n := by | |
| 5180 | - rw [← levelNorm_eq_words] | |
| 5181 | - exact pressure_gevrey_majorant period K J κ m c hc hpos M Rc R hM hcM hRc hR d hcoeff hsource n | |
| 5182 | - | |
| 5183 | 4085 | end EulerPressureGevrey |
| 5184 | 4086 | |
| 5185 | 4087 | end |
| @@ -5225,154 +4127,6 @@ theorem divergence_eq_trace (f : Space → Space) (x : Space) : | ||
| 5225 | 4127 | divergence f x = LinearMap.trace ℝ Space (fderiv ℝ f x).toLinearMap := |
| 5226 | 4128 | rfl |
| 5227 | 4129 | |
| 5228 | -/-- Order-zero bounds prove actual pointwise convergence of the series. -/ | |
| 5229 | -theorem summable_values (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5230 | - (hv : ∀ k, Summable (v k)) | |
| 5231 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (x : Space) : | |
| 5232 | - Summable (fun n => f n x) := by | |
| 5233 | - apply Summable.of_norm_bounded (hv 0) | |
| 5234 | - intro n | |
| 5235 | - simpa only [norm_iteratedFDeriv_zero] using hb 0 n x | |
| 5236 | - | |
| 5237 | -/-- Uniform convergence of the ordinary sequence of finite partial sums. -/ | |
| 5238 | -theorem uniform_convergence (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5239 | - (hv : ∀ k, Summable (v k)) | |
| 5240 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) : | |
| 5241 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) | |
| 5242 | - (fun x => ∑' n, f n x) atTop := by | |
| 5243 | - apply tendstoUniformly_tsum_nat (hv 0) | |
| 5244 | - intro n x | |
| 5245 | - simpa only [norm_iteratedFDeriv_zero] using hb 0 n x | |
| 5246 | - | |
| 5247 | -/-- Every order of differentiability is retained by the convergent series. -/ | |
| 5248 | -theorem contDiff_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5249 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5250 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) : | |
| 5251 | - ContDiff ℝ ∞ (fun x => ∑' n, f n x) := by | |
| 5252 | - exact contDiff_tsum hf (fun k _ => hv k) (fun k n x _ => hb k n x) | |
| 5253 | - | |
| 5254 | -/-- All iterated derivatives of the sum are the sums of the actual derivatives. -/ | |
| 5255 | -theorem iterated_derivative_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5256 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5257 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (k : ℕ) (x : Space) : | |
| 5258 | - iteratedFDeriv ℝ k (fun y => ∑' n, f n y) x = ∑' n, iteratedFDeriv ℝ k (f n) x := by | |
| 5259 | - exact iteratedFDeriv_tsum_apply hf (fun j _ => hv j) (fun j n y _ => hb j n y) le_top x | |
| 5260 | - | |
| 5261 | -/-- Uniform convergence holds separately at every derivative order. -/ | |
| 5262 | -theorem uniform_derivative_convergence (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5263 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5264 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (k : ℕ) : | |
| 5265 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, iteratedFDeriv ℝ k (f n) x) | |
| 5266 | - (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) atTop := by | |
| 5267 | - rw [iteratedFDeriv_tsum hf (fun j _ => hv j) (fun j n x _ => hb j n x) le_top] | |
| 5268 | - exact tendstoUniformly_tsum_nat (hv k) (fun n x => hb k n x) | |
| 5269 | - | |
| 5270 | -/-- A common closed support set also contains the topological support of the sum. -/ | |
| 5271 | -theorem tsupport_sum_subset (f : ℕ → Space → Space) (K : Set Space) (hK : IsClosed K) | |
| 5272 | - (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5273 | - tsupport (fun x => ∑' n, f n x) ⊆ K := by | |
| 5274 | - apply closure_minimal _ hK | |
| 5275 | - intro x hx | |
| 5276 | - by_contra hxK | |
| 5277 | - have hz : ∀ n, f n x = 0 := by | |
| 5278 | - intro n | |
| 5279 | - by_contra hn | |
| 5280 | - exact hxK (hsupp n hn) | |
| 5281 | - exact hx (by simp [hz]) | |
| 5282 | - | |
| 5283 | -/-- Compact support follows from the prescribed common compact set. -/ | |
| 5284 | -theorem compactSupport_sum (f : ℕ → Space → Space) (K : Set Space) (hK : IsCompact K) | |
| 5285 | - (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5286 | - HasCompactSupport (fun x => ∑' n, f n x) := | |
| 5287 | - hK.of_isClosed_subset (isClosed_tsupport _) (tsupport_sum_subset f K hK.isClosed hsupp) | |
| 5288 | - | |
| 5289 | -/-- The divergence of the series is the series of the divergences. -/ | |
| 5290 | -theorem divergence_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5291 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5292 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (x : Space) : | |
| 5293 | - divergence (fun y => ∑' n, f n y) x = ∑' n, divergence (f n) x := by | |
| 5294 | - have hd : ∀ n y, ‖fderiv ℝ (f n) y‖ ≤ v 1 n := by | |
| 5295 | - intro n y | |
| 5296 | - simpa only [norm_iteratedFDeriv_one] using hb 1 n y | |
| 5297 | - have hsd : Summable (fun n => fderiv ℝ (f n) x) := | |
| 5298 | - Summable.of_norm_bounded (hv 1) (fun n => hd n x) | |
| 5299 | - simp only [divergence, ← coordinateTrace_eq_linearTrace] | |
| 5300 | - rw [fderiv_tsum_apply (hv 1) (fun n => (hf n).differentiable (by simp)) hd | |
| 5301 | - (summable_values f v hv hb (0 : Space)) x] | |
| 5302 | - exact coordinateTrace.map_tsum hsd | |
| 5303 | - | |
| 5304 | -/-- The solenoidal condition is preserved by the series. -/ | |
| 5305 | -theorem divergence_free_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5306 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5307 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5308 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5309 | - ∀ x, divergence (fun y => ∑' n, f n y) x = 0 := by | |
| 5310 | - intro x | |
| 5311 | - rw [divergence_sum f v hf hv hb x] | |
| 5312 | - simp [hdiv] | |
| 5313 | - | |
| 5314 | -/-- The common-support smooth limit belongs to every `L^p`, in particular to `L²`. -/ | |
| 5315 | -theorem memLp_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5316 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5317 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5318 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5319 | - (p : ℝ≥0∞) : MemLp (fun x => ∑' n, f n x) p volume := | |
| 5320 | - (contDiff_sum f v hf hv hb).continuous.memLp_of_hasCompactSupport | |
| 5321 | - (compactSupport_sum f K hK hsupp) | |
| 5322 | - | |
| 5323 | -/-- Every derivative of the limit is also in every `L^p`. -/ | |
| 5324 | -theorem memLp_iterated_derivative_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5325 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5326 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5327 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5328 | - (k : ℕ) (p : ℝ≥0∞) : | |
| 5329 | - MemLp (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) p volume := by | |
| 5330 | - have hc : Continuous (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) := | |
| 5331 | - ContDiff.continuous_iteratedFDeriv (by simp) (contDiff_sum f v hf hv hb) | |
| 5332 | - exact hc.memLp_of_hasCompactSupport ((compactSupport_sum f K hK hsupp).iteratedFDeriv k) | |
| 5333 | - | |
| 5334 | -/-- Finite kinetic energy is obtained as integrability of the squared Euclidean norm. -/ | |
| 5335 | -theorem finite_energy_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5336 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5337 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5338 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5339 | - Integrable (fun x => ‖∑' n, f n x‖ ^ 2) volume := | |
| 5340 | - (memLp_sum f v hf hv hb K hK hsupp 2).integrable_norm_pow (by norm_num) | |
| 5341 | - | |
| 5342 | -/-- Odd parity also passes to the pointwise series. -/ | |
| 5343 | -theorem odd_sum (f : ℕ → Space → Space) (hodd : ∀ n x, f n (-x) = -f n x) : | |
| 5344 | - ∀ x, (∑' n, f n (-x)) = -(∑' n, f n x) := by | |
| 5345 | - intro x | |
| 5346 | - simp [hodd, tsum_neg] | |
| 5347 | - | |
| 5348 | -/-- | |
| 5349 | -Constructs the limit initial velocity with all required qualitative properties. | |
| 5350 | -The pointwise `HasSum` and uniform-convergence conclusions ensure the result is | |
| 5351 | -the actual series, and every derivative order is shown to commute with that sum. | |
| 5352 | --/ | |
| 5353 | -theorem smooth_compact_solenoidal_limit (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5354 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5355 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5356 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5357 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5358 | - ∃ u : Space → Space, | |
| 5359 | - (∀ x, HasSum (fun n => f n x) (u x)) ∧ | |
| 5360 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) u atTop ∧ | |
| 5361 | - ContDiff ℝ ∞ u ∧ tsupport u ⊆ K ∧ HasCompactSupport u ∧ | |
| 5362 | - MemLp u 2 volume ∧ Integrable (fun x => ‖u x‖ ^ 2) volume ∧ | |
| 5363 | - (∀ x, divergence u x = 0) ∧ | |
| 5364 | - (∀ k x, iteratedFDeriv ℝ k u x = ∑' n, iteratedFDeriv ℝ k (f n) x) := by | |
| 5365 | - refine ⟨fun x => ∑' n, f n x, ?_⟩ | |
| 5366 | - exact ⟨fun x => (summable_values f v hv hb x).hasSum, | |
| 5367 | - uniform_convergence f v hv hb, | |
| 5368 | - contDiff_sum f v hf hv hb, | |
| 5369 | - tsupport_sum_subset f K hK.isClosed hsupp, | |
| 5370 | - compactSupport_sum f K hK hsupp, | |
| 5371 | - memLp_sum f v hf hv hb K hK hsupp 2, | |
| 5372 | - finite_energy_sum f v hf hv hb K hK hsupp, | |
| 5373 | - divergence_free_sum f v hf hv hb hdiv, | |
| 5374 | - iterated_derivative_sum f v hf hv hb⟩ | |
| 5375 | - | |
| 5376 | 4130 | end EulerSmoothLimit |
| 5377 | 4131 | |
| 5378 | 4132 | end |
| @@ -5412,25 +4166,6 @@ theorem besselWeight_neg_mul (d : ℕ) (s : ℝ) (ξ : Domain d) : | ||
| 5412 | 4166 | have he : -s / 2 + s / 2 = 0 := by ring |
| 5413 | 4167 | rw [he, Real.rpow_zero] |
| 5414 | 4168 | |
| 5415 | -theorem besselWeight_add (d : ℕ) (s t : ℝ) (ξ : Domain d) : | |
| 5416 | - besselWeight d (s + t) ξ = besselWeight d s ξ * besselWeight d t ξ := by | |
| 5417 | - unfold besselWeight | |
| 5418 | - rw [← Real.rpow_add (by positivity)] | |
| 5419 | - congr 1 | |
| 5420 | - ring | |
| 5421 | - | |
| 5422 | -/-- One derivative factor is absorbed by one Sobolev order. -/ | |
| 5423 | -theorem besselWeight_mul_norm_le (d : ℕ) (s : ℝ) (ξ : Domain d) : | |
| 5424 | - besselWeight d s ξ * ‖ξ‖ ≤ besselWeight d (s + 1) ξ := by | |
| 5425 | - have hn : ‖ξ‖ ≤ besselWeight d 1 ξ := by | |
| 5426 | - unfold besselWeight | |
| 5427 | - rw [← Real.sqrt_eq_rpow] | |
| 5428 | - calc | |
| 5429 | - ‖ξ‖ = Real.sqrt (‖ξ‖ ^ 2) := (Real.sqrt_sq (norm_nonneg ξ)).symm | |
| 5430 | - _ ≤ _ := Real.sqrt_le_sqrt (by linarith) | |
| 5431 | - rw [besselWeight_add] | |
| 5432 | - exact mul_le_mul_of_nonneg_left hn (besselWeight_pos d s ξ).le | |
| 5433 | - | |
| 5434 | 4169 | /-- The reciprocal Bessel weight is in L² exactly in the range needed here. -/ |
| 5435 | 4170 | theorem reciprocal_weight_memLp (d : ℕ) (s : ℝ) (hs : (d : ℝ) < 2 * s) : |
| 5436 | 4171 | MemLp (besselWeight d (-s)) 2 (volume : Measure (Domain d)) := by |
| @@ -5509,93 +4244,6 @@ theorem norm_apply_le_sobolevNorm (d : ℕ) (s : ℝ) (hs : (d : ℝ) < 2 * s) | ||
| 5509 | 4244 | |
| 5510 | 4245 | open scoped LineDeriv |
| 5511 | 4246 | |
| 5512 | -omit [CompleteSpace F] in | |
| 5513 | -/-- The actual Fourier multiplier formula bounds each directional derivative. -/ | |
| 5514 | -theorem fourier_lineDeriv_norm_le (d : ℕ) (f : 𝓢(Domain d, F)) (m ξ : Domain d) : | |
| 5515 | - ‖𝓕 (∂_{m} f) ξ‖ ≤ (2 * Real.pi) * ‖ξ‖ * ‖m‖ * ‖𝓕 f ξ‖ := by | |
| 5516 | - have ht : (fun ξ : Domain d => inner ℝ ξ m).HasTemperateGrowth := | |
| 5517 | - ((innerSL ℝ).flip m).hasTemperateGrowth | |
| 5518 | - have he : 𝓕 (∂_{m} f) ξ = (2 * Real.pi * Complex.I) • ((inner ℝ ξ m) • 𝓕 f ξ) := by | |
| 5519 | - rw [SchwartzMap.fourier_lineDerivOp_eq] | |
| 5520 | - simp [SchwartzMap.smulLeftCLM_apply_apply ht] | |
| 5521 | - have hc : ‖(2 * Real.pi * Complex.I : ℂ)‖ = 2 * Real.pi := by | |
| 5522 | - simp [Real.pi_pos.le] | |
| 5523 | - rw [he, norm_smul, norm_smul, hc] | |
| 5524 | - have hi := norm_inner_le_norm (𝕜 := ℝ) ξ m | |
| 5525 | - nlinarith [mul_le_mul_of_nonneg_left | |
| 5526 | - (mul_le_mul_of_nonneg_right hi (norm_nonneg (𝓕 f ξ))) (show 0 ≤ 2 * Real.pi by positivity)] | |
| 5527 | - | |
| 5528 | -omit [CompleteSpace F] in | |
| 5529 | -theorem weightedFourier_lineDeriv_norm_le (d : ℕ) (s : ℝ) | |
| 5530 | - (f : 𝓢(Domain d, F)) (m ξ : Domain d) : | |
| 5531 | - ‖weightedFourier d s (∂_{m} f) ξ‖ ≤ | |
| 5532 | - (2 * Real.pi * ‖m‖) * ‖weightedFourier d (s + 1) f ξ‖ := by | |
| 5533 | - rw [weightedFourier_apply, weightedFourier_apply, norm_smul, norm_smul, | |
| 5534 | - Real.norm_of_nonneg (besselWeight_pos d s ξ).le, | |
| 5535 | - Real.norm_of_nonneg (besselWeight_pos d (s + 1) ξ).le] | |
| 5536 | - calc | |
| 5537 | - _ ≤ besselWeight d s ξ * ((2 * Real.pi) * ‖ξ‖ * ‖m‖ * ‖𝓕 f ξ‖) := | |
| 5538 | - mul_le_mul_of_nonneg_left (fourier_lineDeriv_norm_le d f m ξ) (besselWeight_pos d s ξ).le | |
| 5539 | - _ = (2 * Real.pi * ‖m‖) * (besselWeight d s ξ * ‖ξ‖) * ‖𝓕 f ξ‖ := by ring | |
| 5540 | - _ ≤ (2 * Real.pi * ‖m‖) * besselWeight d (s + 1) ξ * ‖𝓕 f ξ‖ := by | |
| 5541 | - gcongr | |
| 5542 | - exact besselWeight_mul_norm_le d s ξ | |
| 5543 | - _ = _ := by ring | |
| 5544 | - | |
| 5545 | -omit [CompleteSpace F] in | |
| 5546 | -/-- A directional derivative maps H^(s+1) to H^s with its explicit Fourier factor. -/ | |
| 5547 | -theorem sobolevNorm_lineDeriv_le (d : ℕ) (s : ℝ) (f : 𝓢(Domain d, F)) (m : Domain d) : | |
| 5548 | - sobolevNorm d s (∂_{m} f) ≤ (2 * Real.pi * ‖m‖) * sobolevNorm d (s + 1) f := by | |
| 5549 | - unfold sobolevNorm | |
| 5550 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 5551 | - filter_upwards [(weightedFourier d s (∂_{m} f)).coeFn_toLp 2, | |
| 5552 | - (weightedFourier d (s + 1) f).coeFn_toLp 2] with ξ hd hf | |
| 5553 | - rw [hd, hf] | |
| 5554 | - exact weightedFourier_lineDeriv_norm_le d s f m ξ | |
| 5555 | - | |
| 5556 | -omit [CompleteSpace F] in | |
| 5557 | -/-- Iterating the Fourier multiplier estimate loses exactly one Sobolev order per derivative. -/ | |
| 5558 | -theorem sobolevNorm_iteratedLineDeriv_le (d k : ℕ) (s : ℝ) | |
| 5559 | - (f : 𝓢(Domain d, F)) (m : Fin k → Domain d) : | |
| 5560 | - sobolevNorm d s (∂^{m} f) ≤ | |
| 5561 | - (2 * Real.pi) ^ k * (∏ i, ‖m i‖) * sobolevNorm d (s + k) f := by | |
| 5562 | - induction k generalizing s with | |
| 5563 | - | zero => simp | |
| 5564 | - | succ k ih => | |
| 5565 | - rw [LineDeriv.iteratedLineDerivOp_succ_left] | |
| 5566 | - calc | |
| 5567 | - _ ≤ (2 * Real.pi * ‖m 0‖) * sobolevNorm d (s + 1) (∂^{Fin.tail m} f) := | |
| 5568 | - sobolevNorm_lineDeriv_le d s (∂^{Fin.tail m} f) (m 0) | |
| 5569 | - _ ≤ (2 * Real.pi * ‖m 0‖) * | |
| 5570 | - ((2 * Real.pi) ^ k * (∏ i, ‖Fin.tail m i‖) * | |
| 5571 | - sobolevNorm d ((s + 1) + k) f) := by | |
| 5572 | - gcongr | |
| 5573 | - exact ih (s + 1) (Fin.tail m) | |
| 5574 | - _ = _ := by | |
| 5575 | - rw [Fin.prod_univ_succ, pow_succ] | |
| 5576 | - have he : (s + 1) + (k : ℝ) = s + (↑(k + 1) : ℝ) := by push_cast; ring | |
| 5577 | - rw [he] | |
| 5578 | - simp only [Fin.tail] | |
| 5579 | - ring | |
| 5580 | - | |
| 5581 | -/-- Sobolev embedding controls the operator norm of every actual Fréchet derivative. -/ | |
| 5582 | -theorem iteratedFDeriv_norm_le_sobolevNorm (d k : ℕ) (s : ℝ) | |
| 5583 | - (hs : (d : ℝ) < 2 * s) (f : 𝓢(Domain d, F)) (x : Domain d) : | |
| 5584 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5585 | - embeddingConstant d s hs * (2 * Real.pi) ^ k * sobolevNorm d (s + k) f := by | |
| 5586 | - apply ContinuousMultilinearMap.opNorm_le_bound (by | |
| 5587 | - unfold embeddingConstant sobolevNorm | |
| 5588 | - positivity) | |
| 5589 | - intro m | |
| 5590 | - rw [← SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] | |
| 5591 | - calc | |
| 5592 | - _ ≤ embeddingConstant d s hs * sobolevNorm d s (∂^{m} f) := | |
| 5593 | - norm_apply_le_sobolevNorm d s hs (∂^{m} f) x | |
| 5594 | - _ ≤ embeddingConstant d s hs * | |
| 5595 | - ((2 * Real.pi) ^ k * (∏ i, ‖m i‖) * sobolevNorm d (s + k) f) := | |
| 5596 | - mul_le_mul_of_nonneg_left (sobolevNorm_iteratedLineDeriv_le d k s f m) (norm_nonneg _) | |
| 5597 | - _ = _ := by ring | |
| 5598 | - | |
| 5599 | 4247 | /-- Coordinatewise complexification is an actual linear isometry of Euclidean spaces. -/ |
| 5600 | 4248 | noncomputable def complexify (q : ℕ) : |
| 5601 | 4249 | Domain q →ₗᵢ[ℝ] EuclideanSpace ℂ (Fin q) where |
| @@ -5606,86 +4254,8 @@ noncomputable def complexify (q : ℕ) : | ||
| 5606 | 4254 | rw [EuclideanSpace.norm_eq, EuclideanSpace.norm_eq] |
| 5607 | 4255 | simp |
| 5608 | 4256 | |
| 5609 | -/-- Coordinatewise isometric complexification of a real Schwartz vector field. -/ | |
| 5610 | -noncomputable def complexifySchwartz (d q : ℕ) (f : 𝓢(Domain d, Domain q)) : | |
| 5611 | - 𝓢(Domain d, EuclideanSpace ℂ (Fin q)) := | |
| 5612 | - SchwartzMap.postcompCLM (complexify q).toContinuousLinearMap f | |
| 5613 | - | |
| 5614 | -/-- The usual Fourier Hˢ norm of a real vector field, via isometric complexification. -/ | |
| 5615 | -noncomputable def realSobolevNorm (d q : ℕ) (s : ℝ) (f : 𝓢(Domain d, Domain q)) : ℝ := | |
| 5616 | - sobolevNorm d s (complexifySchwartz d q f) | |
| 5617 | - | |
| 5618 | -theorem complexifySchwartz_iteratedFDeriv_norm (d q k : ℕ) | |
| 5619 | - (f : 𝓢(Domain d, Domain q)) (x : Domain d) : | |
| 5620 | - ‖iteratedFDeriv ℝ k (complexifySchwartz d q f) x‖ = ‖iteratedFDeriv ℝ k f x‖ := by | |
| 5621 | - change ‖iteratedFDeriv ℝ k ((complexify q) ∘ f) x‖ = _ | |
| 5622 | - exact (complexify q).norm_iteratedFDeriv_comp_left f.smooth'.contDiffAt (by simp) | |
| 5623 | - | |
| 5624 | -/-- Sobolev embedding for genuine real Euclidean vector fields and all derivative orders. -/ | |
| 5625 | -theorem real_iteratedFDeriv_norm_le_sobolevNorm (d q k : ℕ) (s : ℝ) | |
| 5626 | - (hs : (d : ℝ) < 2 * s) (f : 𝓢(Domain d, Domain q)) (x : Domain d) : | |
| 5627 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5628 | - embeddingConstant d s hs * (2 * Real.pi) ^ k * realSobolevNorm d q (s + k) f := by | |
| 5629 | - rw [← complexifySchwartz_iteratedFDeriv_norm d q k f x] | |
| 5630 | - exact iteratedFDeriv_norm_le_sobolevNorm d k s hs (complexifySchwartz d q f) x | |
| 5631 | - | |
| 5632 | -/-- On ℝ³, `H^(k+2)` controls every derivative of order `k`. In particular, `H³ → C¹`. -/ | |
| 5633 | -theorem real_three_dimensional_sobolev (q k : ℕ) | |
| 5634 | - (f : 𝓢(Domain 3, Domain q)) (x : Domain 3) : | |
| 5635 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5636 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5637 | - realSobolevNorm 3 q (2 + k) f := | |
| 5638 | - real_iteratedFDeriv_norm_le_sobolevNorm 3 q k 2 (by norm_num) f x | |
| 5639 | - | |
| 5640 | -/-- On ℝ⁴, `H^(k+3)` controls every derivative of order `k`. -/ | |
| 5641 | -theorem real_four_dimensional_sobolev (q k : ℕ) | |
| 5642 | - (f : 𝓢(Domain 4, Domain q)) (x : Domain 4) : | |
| 5643 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5644 | - embeddingConstant 4 3 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5645 | - realSobolevNorm 4 q (3 + k) f := | |
| 5646 | - real_iteratedFDeriv_norm_le_sobolevNorm 4 q k 3 (by norm_num) f x | |
| 5647 | - | |
| 5648 | -/-- The same concrete Fourier norm, now for an unbundled smooth compactly supported field. -/ | |
| 5649 | -noncomputable def compactSobolevNorm (d q : ℕ) (s : ℝ) (f : Domain d → Domain q) | |
| 5650 | - (hf : ContDiff ℝ ∞ f) (hc : HasCompactSupport f) : ℝ := | |
| 5651 | - realSobolevNorm d q s (hc.toSchwartzMap hf) | |
| 5652 | - | |
| 5653 | -theorem compact_iteratedFDeriv_norm_le (q k : ℕ) (f : Domain 3 → Domain q) | |
| 5654 | - (hf : ContDiff ℝ ∞ f) (hc : HasCompactSupport f) (x : Domain 3) : | |
| 5655 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5656 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5657 | - compactSobolevNorm 3 q (2 + k) f hf hc := | |
| 5658 | - real_three_dimensional_sobolev q k (hc.toSchwartzMap hf) x | |
| 5659 | - | |
| 5660 | 4257 | open Filter EulerSmoothLimit |
| 5661 | 4258 | |
| 5662 | -/-- | |
| 5663 | -The all-order Sobolev estimates construct the actual smooth, compactly supported, | |
| 5664 | -finite-energy solenoidal limit. Uniform derivative bounds are derived by Fourier | |
| 5665 | -analysis inside the proof, rather than supplied as an additional hypothesis. | |
| 5666 | --/ | |
| 5667 | -theorem smooth_compact_solenoidal_limit_of_sobolev | |
| 5668 | - (f : ℕ → Space → Space) (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 5669 | - (hc : ∀ n, HasCompactSupport (f n)) | |
| 5670 | - (hSob : ∀ k : ℕ, Summable (fun n => | |
| 5671 | - compactSobolevNorm 3 3 (2 + k) (f n) (hf n) (hc n))) | |
| 5672 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5673 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5674 | - ∃ u : Space → Space, | |
| 5675 | - (∀ x, HasSum (fun n => f n x) (u x)) ∧ | |
| 5676 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) u atTop ∧ | |
| 5677 | - ContDiff ℝ ∞ u ∧ tsupport u ⊆ K ∧ HasCompactSupport u ∧ | |
| 5678 | - MemLp u 2 volume ∧ Integrable (fun x => ‖u x‖ ^ 2) volume ∧ | |
| 5679 | - (∀ x, divergence u x = 0) ∧ | |
| 5680 | - (∀ k x, iteratedFDeriv ℝ k u x = ∑' n, iteratedFDeriv ℝ k (f n) x) := by | |
| 5681 | - let v : ℕ → ℕ → ℝ := fun k n => | |
| 5682 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5683 | - compactSobolevNorm 3 3 (2 + k) (f n) (hf n) (hc n) | |
| 5684 | - have hv : ∀ k, Summable (v k) := fun k => (hSob k).mul_left _ | |
| 5685 | - have hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n := | |
| 5686 | - fun k n x => compact_iteratedFDeriv_norm_le 3 k (f n) (hf n) (hc n) x | |
| 5687 | - exact EulerSmoothLimit.smooth_compact_solenoidal_limit f v hf hv hb K hK hsupp hdiv | |
| 5688 | - | |
| 5689 | 4259 | end EulerSobolev |
| 5690 | 4260 | |
| 5691 | 4261 | end |
| @@ -5697,47 +4267,10 @@ namespace EulerSobolevProducts | ||
| 5697 | 4267 | open MeasureTheory FourierTransform EulerSobolev |
| 5698 | 4268 | open scoped SchwartzMap ENNReal ContDiff LineDeriv Convolution |
| 5699 | 4269 | |
| 5700 | -theorem sobolevNorm_zero (d : ℕ) (f : 𝓢(Domain d, ℂ)) : | |
| 5701 | - sobolevNorm d 0 f = ‖f.toLp 2‖ := by | |
| 5702 | - have he : weightedFourier d 0 f = 𝓕 f := by | |
| 5703 | - ext ξ | |
| 5704 | - simp [weightedFourier_apply, besselWeight] | |
| 5705 | - simp [sobolevNorm, he] | |
| 5706 | - | |
| 5707 | -theorem besselWeight_mono (d : ℕ) {s t : ℝ} (hst : s ≤ t) (ξ : Domain d) : | |
| 5708 | - besselWeight d s ξ ≤ besselWeight d t ξ := by | |
| 5709 | - apply Real.rpow_le_rpow_of_exponent_le (by nlinarith [sq_nonneg ‖ξ‖]) | |
| 5710 | - exact div_le_div_of_nonneg_right hst (by norm_num) | |
| 5711 | - | |
| 5712 | -theorem sobolevNorm_mono (d : ℕ) {s t : ℝ} (hst : s ≤ t) (f : 𝓢(Domain d, ℂ)) : | |
| 5713 | - sobolevNorm d s f ≤ sobolevNorm d t f := by | |
| 5714 | - unfold sobolevNorm | |
| 5715 | - apply Lp.norm_le_norm_of_ae_le | |
| 5716 | - filter_upwards [(weightedFourier d s f).coeFn_toLp 2, | |
| 5717 | - (weightedFourier d t f).coeFn_toLp 2] with ξ hs ht | |
| 5718 | - rw [hs, ht, weightedFourier_apply, weightedFourier_apply, norm_smul, norm_smul, | |
| 5719 | - Real.norm_of_nonneg (besselWeight_pos d s ξ).le, | |
| 5720 | - Real.norm_of_nonneg (besselWeight_pos d t ξ).le] | |
| 5721 | - exact mul_le_mul_of_nonneg_right (besselWeight_mono d hst ξ) (norm_nonneg _) | |
| 5722 | - | |
| 5723 | 4270 | /-- Repeated differentiation in one fixed direction, as a Schwartz function. -/ |
| 5724 | 4271 | noncomputable def directional (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : |
| 5725 | 4272 | 𝓢(Domain d, ℂ) := ∂^{fun _ : Fin n => v} f |
| 5726 | 4273 | |
| 5727 | -theorem directional_eq_iteratedDeriv (d n : ℕ) (v x : Domain d) | |
| 5728 | - (f : 𝓢(Domain d, ℂ)) : | |
| 5729 | - directional d n v f x = iteratedDeriv n (fun t : ℝ => f (x + t • v)) 0 := by | |
| 5730 | - rw [directional, SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv, | |
| 5731 | - iteratedDeriv_eq_iteratedFDeriv] | |
| 5732 | - let L : ℝ →L[ℝ] Domain d := (ContinuousLinearMap.id ℝ ℝ).smulRight v | |
| 5733 | - have hC : ContDiff ℝ ∞ (fun z => f (x + z)) := f.smooth'.comp (contDiff_const.add contDiff_id) | |
| 5734 | - have he := L.iteratedFDeriv_comp_right hC (0 : ℝ) (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 5735 | - change iteratedFDeriv ℝ n f x (fun _ => v) = _ | |
| 5736 | - change _ = iteratedFDeriv ℝ n ((fun z => f (x + z)) ∘ L) 0 (fun _ => 1) | |
| 5737 | - rw [he] | |
| 5738 | - simp [L, ContinuousMultilinearMap.compContinuousLinearMap_apply, | |
| 5739 | - iteratedFDeriv_comp_add_left] | |
| 5740 | - | |
| 5741 | 4274 | /-- Pointwise multiplication of two complex Schwartz functions. -/ |
| 5742 | 4275 | noncomputable def product (d : ℕ) (f g : 𝓢(Domain d, ℂ)) : 𝓢(Domain d, ℂ) := |
| 5743 | 4276 | SchwartzMap.pairing (ContinuousLinearMap.mul ℂ ℂ) f g |
| @@ -5745,43 +4278,6 @@ noncomputable def product (d : ℕ) (f g : 𝓢(Domain d, ℂ)) : 𝓢(Domain d, | ||
| 5745 | 4278 | @[simp] theorem product_apply (d : ℕ) (f g : 𝓢(Domain d, ℂ)) (x : Domain d) : |
| 5746 | 4279 | product d f g x = f x * g x := rfl |
| 5747 | 4280 | |
| 5748 | -theorem directional_product (d n : ℕ) (v : Domain d) (f g : 𝓢(Domain d, ℂ)) : | |
| 5749 | - directional d n v (product d f g) = | |
| 5750 | - ∑ j ∈ Finset.range (n + 1), (n.choose j : ℂ) • | |
| 5751 | - product d (directional d j v f) (directional d (n-j) v g) := by | |
| 5752 | - ext x | |
| 5753 | - simp only [directional_eq_iteratedDeriv, product_apply, sum_apply, | |
| 5754 | - smul_apply, smul_eq_mul] | |
| 5755 | - have hf : ContDiff ℝ ∞ (fun t : ℝ => f (x + t • v)) := | |
| 5756 | - f.smooth'.comp (contDiff_const.add (contDiff_id.smul contDiff_const)) | |
| 5757 | - have hg : ContDiff ℝ ∞ (fun t : ℝ => g (x + t • v)) := | |
| 5758 | - g.smooth'.comp (contDiff_const.add (contDiff_id.smul contDiff_const)) | |
| 5759 | - simpa only [Pi.mul_apply, mul_assoc] using iteratedDeriv_fun_mul | |
| 5760 | - (hf.of_le (by simp)).contDiffAt (hg.of_le (by simp)).contDiffAt | |
| 5761 | - | |
| 5762 | -theorem directional_L2_le (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : | |
| 5763 | - ‖(directional d n v f).toLp 2‖ ≤ | |
| 5764 | - (2 * Real.pi) ^ n * ‖v‖ ^ n * sobolevNorm d n f := by | |
| 5765 | - rw [← sobolevNorm_zero] | |
| 5766 | - simpa [directional] using sobolevNorm_iteratedLineDeriv_le d n 0 f (fun _ => v) | |
| 5767 | - | |
| 5768 | -theorem besselWeight_six_le_pure_six (d : ℕ) (ξ : Domain d) : | |
| 5769 | - besselWeight d 6 ξ ≤ ((d : ℝ) + 1) ^ 2 * (1 + ∑ i, ‖ξ i‖ ^ 6) := by | |
| 5770 | - let a : Option (Fin d) → ℝ := fun i => match i with | |
| 5771 | - | none => 1 | |
| 5772 | - | some i => ‖ξ i‖ ^ 2 | |
| 5773 | - have ha : ∀ i ∈ (Finset.univ : Finset (Option (Fin d))), 0 ≤ a i := by | |
| 5774 | - intro i _ | |
| 5775 | - cases i <;> simp only [a] <;> positivity | |
| 5776 | - have h := pow_sum_le_card_mul_sum_pow ha 2 | |
| 5777 | - have he : besselWeight d 6 ξ = (1 + ∑ i, ‖ξ i‖ ^ 2) ^ 3 := by | |
| 5778 | - norm_num [besselWeight, EuclideanSpace.norm_sq_eq] | |
| 5779 | - rw [he] | |
| 5780 | - have hp (i : Fin d) : ‖ξ i‖ ^ 6 = (ξ i) ^ 6 := by | |
| 5781 | - exact (by decide : Even 6).pow_abs (ξ i) | |
| 5782 | - simp only [hp] | |
| 5783 | - simpa [a, Fintype.sum_option, ← pow_mul, Nat.mul_comm] using h | |
| 5784 | - | |
| 5785 | 4281 | theorem fourier_directional_norm (d n : ℕ) (v : Domain d) |
| 5786 | 4282 | (f : 𝓢(Domain d, ℂ)) (ξ : Domain d) : |
| 5787 | 4283 | ‖𝓕 (directional d n v f) ξ‖ = |
| @@ -5832,194 +4328,8 @@ theorem normLp_le_sum {ι : Type*} [Fintype ι] (d : ℕ) (f : 𝓢(Domain d, | ||
| 5832 | 4328 | _ ≤ C * ∑ i, ‖normLp d (g i)‖ := mul_le_mul_of_nonneg_left (norm_sum_le _ _) hC |
| 5833 | 4329 | _ = _ := by simp only [norm_normLp] |
| 5834 | 4330 | |
| 5835 | -theorem sobolevNorm_six_le_pure_derivatives (d : ℕ) (f : 𝓢(Domain d, ℂ)) : | |
| 5836 | - sobolevNorm d 6 f ≤ ((d : ℝ) + 1) ^ 2 * | |
| 5837 | - (‖f.toLp 2‖ + (2 * Real.pi) ^ (-6 : ℤ) * | |
| 5838 | - ∑ i : Fin d, ‖(directional d 6 (EuclideanSpace.single i 1) f).toLp 2‖) := by | |
| 5839 | - let g : Option (Fin d) → 𝓢(Domain d, ℂ) := fun i => match i with | |
| 5840 | - | none => 𝓕 f | |
| 5841 | - | some i => ((2 * Real.pi) ^ (-6 : ℤ) : ℝ) • | |
| 5842 | - 𝓕 (directional d 6 (EuclideanSpace.single i 1) f) | |
| 5843 | - have hpoint (ξ : Domain d) : | |
| 5844 | - ‖weightedFourier d 6 f ξ‖ ≤ ((d : ℝ) + 1) ^ 2 * ∑ i, ‖g i ξ‖ := by | |
| 5845 | - rw [weightedFourier_apply, norm_smul, Real.norm_of_nonneg (besselWeight_pos d 6 ξ).le] | |
| 5846 | - have hg : ∑ i, ‖g i ξ‖ = (1 + ∑ i, ‖ξ i‖ ^ 6) * ‖𝓕 f ξ‖ := by | |
| 5847 | - rw [Fintype.sum_option] | |
| 5848 | - simp only [g, smul_apply, norm_smul, | |
| 5849 | - Real.norm_of_nonneg (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)), | |
| 5850 | - fourier_directional_norm, EuclideanSpace.inner_single_right, | |
| 5851 | - starRingEnd_apply, star_trivial] | |
| 5852 | - have hp : (2 * Real.pi) ^ (-6 : ℤ) * (2 * Real.pi) ^ (6 : ℕ) = 1 := by | |
| 5853 | - rw [show (-6 : ℤ) = -(6 : ℤ) from rfl, zpow_neg] | |
| 5854 | - exact inv_mul_cancel₀ (by positivity) | |
| 5855 | - simp_rw [← mul_assoc, hp, one_mul] | |
| 5856 | - rw [add_mul, one_mul, Finset.sum_mul] | |
| 5857 | - rw [hg] | |
| 5858 | - nlinarith [mul_le_mul_of_nonneg_right (besselWeight_six_le_pure_six d ξ) (norm_nonneg (𝓕 f ξ))] | |
| 5859 | - have h := normLp_le_sum d (weightedFourier d 6 f) g (((d : ℝ) + 1) ^ 2) | |
| 5860 | - (sq_nonneg _) hpoint | |
| 5861 | - have hnorm : ∑ i, ‖(g i).toLp 2‖ = ‖f.toLp 2‖ + | |
| 5862 | - (2 * Real.pi) ^ (-6 : ℤ) * ∑ i : Fin d, | |
| 5863 | - ‖(directional d 6 (EuclideanSpace.single i 1) f).toLp 2‖ := by | |
| 5864 | - rw [Fintype.sum_option] | |
| 5865 | - simp only [g] | |
| 5866 | - change ‖(𝓕 f).toLp 2‖ + ∑ i, | |
| 5867 | - ‖SchwartzMap.toLpCLM ℝ ℂ 2 volume (((2 * Real.pi) ^ (-6 : ℤ)) • | |
| 5868 | - 𝓕 (directional d 6 (EuclideanSpace.single i 1) f))‖ = _ | |
| 5869 | - simp only [map_smul, norm_smul, | |
| 5870 | - Real.norm_of_nonneg (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)), | |
| 5871 | - SchwartzMap.toLpCLM_apply, SchwartzMap.norm_fourier_toL2_eq, Finset.mul_sum] | |
| 5872 | - rw [hnorm] at h | |
| 5873 | - exact h | |
| 5874 | - | |
| 5875 | -theorem product_L2_le_of_sup (d : ℕ) (f g : 𝓢(Domain d, ℂ)) (A : ℝ) | |
| 5876 | - (hA : ∀ x, ‖f x‖ ≤ A) : ‖(product d f g).toLp 2‖ ≤ A * ‖g.toLp 2‖ := by | |
| 5877 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 5878 | - filter_upwards [(product d f g).coeFn_toLp 2, g.coeFn_toLp 2] with x hp hg | |
| 5879 | - rw [hp, hg, product_apply, norm_mul] | |
| 5880 | - exact mul_le_mul_of_nonneg_right (hA x) (norm_nonneg _) | |
| 5881 | - | |
| 5882 | -theorem directional_sup_le_H6 (d j : ℕ) (hd : (d : ℝ) < 2 * 3) (hj : j ≤ 3) | |
| 5883 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f : 𝓢(Domain d, ℂ)) (x : Domain d) : | |
| 5884 | - ‖directional d j v f x‖ ≤ | |
| 5885 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 6 f := by | |
| 5886 | - have hC : 0 ≤ embeddingConstant d 3 hd := norm_nonneg _ | |
| 5887 | - have hS : 0 ≤ sobolevNorm d (3+j) f := norm_nonneg _ | |
| 5888 | - have hb := sobolevNorm_iteratedLineDeriv_le d j 3 f (fun _ : Fin j => v) | |
| 5889 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hb | |
| 5890 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 5891 | - have hs : sobolevNorm d (3 + j) f ≤ sobolevNorm d 6 f := | |
| 5892 | - sobolevNorm_mono d (by exact_mod_cast (show 3 + j ≤ 6 by omega)) f | |
| 5893 | - calc | |
| 5894 | - _ ≤ embeddingConstant d 3 hd * sobolevNorm d 3 (directional d j v f) := | |
| 5895 | - norm_apply_le_sobolevNorm d 3 hd _ x | |
| 5896 | - _ ≤ embeddingConstant d 3 hd * | |
| 5897 | - ((2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d (3 + j) f) := | |
| 5898 | - mul_le_mul_of_nonneg_left hb (norm_nonneg _) | |
| 5899 | - _ ≤ embeddingConstant d 3 hd * ((2 * Real.pi) ^ j * 1 * sobolevNorm d 6 f) := by | |
| 5900 | - gcongr | |
| 5901 | - _ = _ := by ring | |
| 5902 | - | |
| 5903 | -theorem directional_L2_le_H6 (d j : ℕ) (hj : j ≤ 6) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 5904 | - (f : 𝓢(Domain d, ℂ)) : | |
| 5905 | - ‖(directional d j v f).toLp 2‖ ≤ (2 * Real.pi) ^ j * sobolevNorm d 6 f := by | |
| 5906 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 5907 | - have hS : 0 ≤ sobolevNorm d j f := norm_nonneg _ | |
| 5908 | - have hmono : sobolevNorm d j f ≤ sobolevNorm d 6 f := | |
| 5909 | - sobolevNorm_mono d (s := (j : ℝ)) (t := 6) (by exact_mod_cast hj) f | |
| 5910 | - calc | |
| 5911 | - _ ≤ (2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d j f := directional_L2_le d j v f | |
| 5912 | - _ ≤ (2 * Real.pi) ^ j * 1 * sobolevNorm d 6 f := by | |
| 5913 | - gcongr | |
| 5914 | - _ = _ := by ring | |
| 5915 | - | |
| 5916 | 4331 | attribute [local irreducible] sobolevNorm embeddingConstant |
| 5917 | 4332 | |
| 5918 | -theorem product_directional_L2_le_left (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) | |
| 5919 | - (hj : j ≤ 3) (hk : k ≤ 6) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 5920 | - (f g : 𝓢(Domain d, ℂ)) : | |
| 5921 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 5922 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 5923 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5924 | - have hC : 0 ≤ embeddingConstant d 3 hd := by unfold embeddingConstant; exact norm_nonneg _ | |
| 5925 | - have hS : 0 ≤ sobolevNorm d 6 f := by unfold sobolevNorm; exact norm_nonneg _ | |
| 5926 | - have hA := product_L2_le_of_sup d (directional d j v f) (directional d k v g) | |
| 5927 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 6 f) | |
| 5928 | - (directional_sup_le_H6 d j hd hj v hv f) | |
| 5929 | - have hB := mul_le_mul_of_nonneg_left (directional_L2_le_H6 d k hk v hv g) | |
| 5930 | - (mul_nonneg (mul_nonneg hC (by positivity : 0 ≤ (2 * Real.pi) ^ j)) hS) | |
| 5931 | - have harith (A B C p : ℝ) : (C * p ^ j * A) * (p ^ k * B) = | |
| 5932 | - C * p ^ (j+k) * A * B := by rw [pow_add]; ring | |
| 5933 | - exact hA.trans (hB.trans_eq (harith _ _ _ _)) | |
| 5934 | - | |
| 5935 | -theorem product_directional_L2_le (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) (hjk : j+k ≤ 6) | |
| 5936 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 5937 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 5938 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 5939 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5940 | - by_cases hj : j ≤ 3 | |
| 5941 | - · exact product_directional_L2_le_left d j k hd hj (by omega) v hv f g | |
| 5942 | - · have he : product d (directional d j v f) (directional d k v g) = | |
| 5943 | - product d (directional d k v g) (directional d j v f) := by | |
| 5944 | - ext x | |
| 5945 | - simp [mul_comm] | |
| 5946 | - rw [he] | |
| 5947 | - have h := product_directional_L2_le_left d k j hd (by omega) (by omega) v hv g f | |
| 5948 | - rw [Nat.add_comm k j] at h | |
| 5949 | - convert h using 1; ring | |
| 5950 | - | |
| 5951 | -theorem directional_product_L2_le (d n : ℕ) (hd : (d : ℝ) < 2 * 3) (hn : n ≤ 6) | |
| 5952 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 5953 | - ‖(directional d n v (product d f g)).toLp 2‖ ≤ | |
| 5954 | - 2 ^ n * (embeddingConstant d 3 hd * (2 * Real.pi) ^ n * | |
| 5955 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5956 | - rw [directional_product] | |
| 5957 | - change ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume | |
| 5958 | - (∑ j ∈ Finset.range (n+1), (n.choose j : ℂ) • | |
| 5959 | - product d (directional d j v f) (directional d (n-j) v g))‖ ≤ _ | |
| 5960 | - rw [map_sum] | |
| 5961 | - calc | |
| 5962 | - _ ≤ ∑ j ∈ Finset.range (n+1), | |
| 5963 | - ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume ((n.choose j : ℂ) • | |
| 5964 | - product d (directional d j v f) (directional d (n-j) v g))‖ := norm_sum_le _ _ | |
| 5965 | - _ = ∑ j ∈ Finset.range (n+1), (n.choose j : ℝ) * | |
| 5966 | - ‖(product d (directional d j v f) (directional d (n-j) v g)).toLp 2‖ := by | |
| 5967 | - simp only [map_smul, norm_smul, Complex.norm_natCast, SchwartzMap.toLpCLM_apply] | |
| 5968 | - _ ≤ ∑ j ∈ Finset.range (n+1), (n.choose j : ℝ) * | |
| 5969 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ n * | |
| 5970 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5971 | - apply Finset.sum_le_sum | |
| 5972 | - intro j hj | |
| 5973 | - have hjn : j ≤ n := by simpa using (Finset.mem_range.1 hj) | |
| 5974 | - have h := product_directional_L2_le d j (n-j) hd (by omega) v hv f g | |
| 5975 | - rw [Nat.add_sub_of_le hjn] at h | |
| 5976 | - exact mul_le_mul_of_nonneg_left h (Nat.cast_nonneg _) | |
| 5977 | - _ = _ := by | |
| 5978 | - rw [← Finset.sum_mul] | |
| 5979 | - congr 1 | |
| 5980 | - exact_mod_cast Nat.sum_range_choose n | |
| 5981 | - | |
| 5982 | -/-- A concrete algebra constant, obtained by Leibniz, Plancherel and the Sobolev embedding. -/ | |
| 5983 | -theorem sobolevNorm_six_product (d : ℕ) (hd : (d : ℝ) < 2 * 3) (f g : 𝓢(Domain d, ℂ)) : | |
| 5984 | - sobolevNorm d 6 (product d f g) ≤ | |
| 5985 | - (((d : ℝ) + 1) ^ 2 * (1 + 64 * d) * embeddingConstant d 3 hd) * | |
| 5986 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5987 | - have hzero : ‖(product d f g).toLp 2‖ ≤ | |
| 5988 | - embeddingConstant d 3 hd * sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5989 | - simpa only [directional, LineDeriv.iteratedLineDerivOp_fin_zero, pow_zero, one_mul, | |
| 5990 | - mul_one] using directional_product_L2_le d 0 hd (by omega) | |
| 5991 | - 0 (by simp) f g | |
| 5992 | - have hsix (i : Fin d) : | |
| 5993 | - ‖(directional d 6 (EuclideanSpace.single i 1) (product d f g)).toLp 2‖ ≤ | |
| 5994 | - 64 * (embeddingConstant d 3 hd * (2 * Real.pi) ^ 6 * | |
| 5995 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5996 | - have h := directional_product_L2_le d 6 hd (by omega) | |
| 5997 | - (EuclideanSpace.single i 1) (by simp) f g | |
| 5998 | - rw [show (2 : ℝ) ^ 6 = 64 by norm_num] at h | |
| 5999 | - exact h | |
| 6000 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin d))) => hsix i) | |
| 6001 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul] at hsum | |
| 6002 | - have hp : (2 * Real.pi) ^ (-6 : ℤ) * (2 * Real.pi) ^ (6 : ℕ) = 1 := by | |
| 6003 | - rw [show (-6 : ℤ) = -(6 : ℤ) from rfl, zpow_neg] | |
| 6004 | - exact inv_mul_cancel₀ (by positivity) | |
| 6005 | - have harith (D C A B p r : ℝ) (hpr : r * p = 1) : | |
| 6006 | - (D + 1) ^ 2 * (C*A*B + r*(D*(64*(C*p*A*B)))) = | |
| 6007 | - ((D + 1) ^ 2 * (1 + 64*D) * C) * A * B := by | |
| 6008 | - linear_combination ((D + 1) ^ 2 * (64*D) * C * A * B) * hpr | |
| 6009 | - have hA := sobolevNorm_six_le_pure_derivatives d (product d f g) | |
| 6010 | - have hB := mul_le_mul_of_nonneg_left | |
| 6011 | - (add_le_add hzero (mul_le_mul_of_nonneg_left hsum | |
| 6012 | - (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)))) | |
| 6013 | - (sq_nonneg ((d : ℝ) + 1)) | |
| 6014 | - exact hA.trans (hB.trans_eq (harith _ _ _ _ _ _ hp)) | |
| 6015 | - | |
| 6016 | -/-- The fixed four-dimensional `H⁶` algebra estimate used in the packet energy argument. -/ | |
| 6017 | -theorem four_dimensional_H6_algebra (f g : 𝓢(Domain 4, ℂ)) : | |
| 6018 | - sobolevNorm 4 6 (product 4 f g) ≤ | |
| 6019 | - (6425 * embeddingConstant 4 3 (by norm_num)) * | |
| 6020 | - sobolevNorm 4 6 f * sobolevNorm 4 6 g := by | |
| 6021 | - convert sobolevNorm_six_product 4 (by norm_num) f g using 1; norm_num | |
| 6022 | - | |
| 6023 | 4333 | end EulerSobolevProducts |
| 6024 | 4334 | |
| 6025 | 4335 | end |
| @@ -6038,143 +4348,13 @@ open MeasureTheory FourierTransform EulerSobolev EulerSobolevProducts | ||
| 6038 | 4348 | open scoped SchwartzMap ENNReal ContDiff LineDeriv |
| 6039 | 4349 | |
| 6040 | 4350 | |
| 6041 | -theorem directional_sup_le_H5 (d j : ℕ) (hd : (d : ℝ) < 2 * 3) (hj : j ≤ 2) | |
| 6042 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f : 𝓢(Domain d, ℂ)) (x : Domain d) : | |
| 6043 | - ‖directional d j v f x‖ ≤ | |
| 6044 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 5 f := by | |
| 6045 | - have hC : 0 ≤ embeddingConstant d 3 hd := norm_nonneg _ | |
| 6046 | - have hS : 0 ≤ sobolevNorm d (3+j) f := norm_nonneg _ | |
| 6047 | - have hb := sobolevNorm_iteratedLineDeriv_le d j 3 f (fun _ : Fin j => v) | |
| 6048 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hb | |
| 6049 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 6050 | - have hs : sobolevNorm d (3 + j) f ≤ sobolevNorm d 5 f := | |
| 6051 | - sobolevNorm_mono d (by exact_mod_cast (show 3 + j ≤ 5 by omega)) f | |
| 6052 | - calc | |
| 6053 | - _ ≤ embeddingConstant d 3 hd * sobolevNorm d 3 (directional d j v f) := | |
| 6054 | - norm_apply_le_sobolevNorm d 3 hd _ x | |
| 6055 | - _ ≤ embeddingConstant d 3 hd * | |
| 6056 | - ((2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d (3 + j) f) := | |
| 6057 | - mul_le_mul_of_nonneg_left hb hC | |
| 6058 | - _ ≤ embeddingConstant d 3 hd * ((2 * Real.pi) ^ j * 1 * sobolevNorm d 5 f) := by | |
| 6059 | - gcongr | |
| 6060 | - _ = _ := by ring | |
| 6061 | - | |
| 6062 | -theorem directional_L2_le_H5 (d j : ℕ) (hj : j ≤ 5) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 6063 | - (f : 𝓢(Domain d, ℂ)) : | |
| 6064 | - ‖(directional d j v f).toLp 2‖ ≤ (2 * Real.pi) ^ j * sobolevNorm d 5 f := by | |
| 6065 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 6066 | - have hS : 0 ≤ sobolevNorm d j f := norm_nonneg _ | |
| 6067 | - have hmono : sobolevNorm d j f ≤ sobolevNorm d 5 f := | |
| 6068 | - sobolevNorm_mono d (s := (j : ℝ)) (t := 5) (by exact_mod_cast hj) f | |
| 6069 | - calc | |
| 6070 | - _ ≤ (2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d j f := directional_L2_le d j v f | |
| 6071 | - _ ≤ (2 * Real.pi) ^ j * 1 * sobolevNorm d 5 f := by gcongr | |
| 6072 | - _ = _ := by ring | |
| 6073 | - | |
| 6074 | 4351 | attribute [local irreducible] sobolevNorm embeddingConstant |
| 6075 | 4352 | |
| 6076 | -theorem product_directional_L2_H5_left (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) | |
| 6077 | - (hj : j ≤ 2) (hk : k ≤ 5) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 6078 | - (f g : 𝓢(Domain d, ℂ)) : | |
| 6079 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 6080 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 6081 | - sobolevNorm d 5 f * sobolevNorm d 5 g := by | |
| 6082 | - have hC : 0 ≤ embeddingConstant d 3 hd := by unfold embeddingConstant; exact norm_nonneg _ | |
| 6083 | - have hS : 0 ≤ sobolevNorm d 5 f := by unfold sobolevNorm; exact norm_nonneg _ | |
| 6084 | - have hA := product_L2_le_of_sup d (directional d j v f) (directional d k v g) | |
| 6085 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 5 f) | |
| 6086 | - (directional_sup_le_H5 d j hd hj v hv f) | |
| 6087 | - have hB := mul_le_mul_of_nonneg_left (directional_L2_le_H5 d k hk v hv g) | |
| 6088 | - (mul_nonneg (mul_nonneg hC (by positivity : 0 ≤ (2 * Real.pi) ^ j)) hS) | |
| 6089 | - have harith (A B C p : ℝ) : (C * p ^ j * A) * (p ^ k * B) = | |
| 6090 | - C * p ^ (j+k) * A * B := by rw [pow_add]; ring | |
| 6091 | - exact hA.trans (hB.trans_eq (harith _ _ _ _)) | |
| 6092 | - | |
| 6093 | -theorem product_directional_L2_H5 (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) (hjk : j+k ≤ 5) | |
| 6094 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 6095 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 6096 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 6097 | - sobolevNorm d 5 f * sobolevNorm d 5 g := by | |
| 6098 | - by_cases hj : j ≤ 2 | |
| 6099 | - · exact product_directional_L2_H5_left d j k hd hj (by omega) v hv f g | |
| 6100 | - · have he : product d (directional d j v f) (directional d k v g) = | |
| 6101 | - product d (directional d k v g) (directional d j v f) := by | |
| 6102 | - ext x | |
| 6103 | - simp [mul_comm] | |
| 6104 | - rw [he] | |
| 6105 | - have h := product_directional_L2_H5_left d k j hd (by omega) (by omega) v hv g f | |
| 6106 | - rw [Nat.add_comm k j] at h | |
| 6107 | - convert h using 1; ring | |
| 6108 | - | |
| 6109 | 4353 | /-- The actual commutator of an iterated directional derivative with multiplication. -/ |
| 6110 | 4354 | noncomputable def commutator (d n : ℕ) (v : Domain d) (b h : 𝓢(Domain d, ℂ)) : |
| 6111 | 4355 | 𝓢(Domain d, ℂ) := |
| 6112 | 4356 | directional d n v (product d b h) - product d b (directional d n v h) |
| 6113 | 4357 | |
| 6114 | -theorem directional_succ_right (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : | |
| 6115 | - directional d (n+1) v f = directional d n v (directional d 1 v f) := by | |
| 6116 | - simp [directional, LineDeriv.iteratedLineDerivOp_succ_right, Fin.init_def] | |
| 6117 | - | |
| 6118 | -theorem commutator_expansion (d n : ℕ) (v : Domain d) (b h : 𝓢(Domain d, ℂ)) : | |
| 6119 | - commutator d n v b h = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 6120 | - product d (directional d j v (directional d 1 v b)) (directional d (n-(j+1)) v h) := by | |
| 6121 | - unfold commutator | |
| 6122 | - rw [directional_product, Finset.sum_range_succ'] | |
| 6123 | - simp only [Nat.choose_zero_right, Nat.cast_one, directional, | |
| 6124 | - LineDeriv.iteratedLineDerivOp_fin_zero, Nat.sub_zero, one_smul, add_sub_cancel_right] | |
| 6125 | - apply Finset.sum_congr rfl | |
| 6126 | - intro j _ | |
| 6127 | - congr 2 | |
| 6128 | - exact directional_succ_right d j v b | |
| 6129 | - | |
| 6130 | -theorem sum_choose_successors_le (n : ℕ) : | |
| 6131 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ)) ≤ 2 ^ n := by | |
| 6132 | - have h : (∑ j ∈ Finset.range (n+1), (n.choose j : ℝ)) = 2 ^ n := by | |
| 6133 | - exact_mod_cast Nat.sum_range_choose n | |
| 6134 | - rw [Finset.sum_range_succ'] at h | |
| 6135 | - simp only [Nat.choose_zero_right, Nat.cast_one] at h | |
| 6136 | - linarith | |
| 6137 | - | |
| 6138 | -/-- | |
| 6139 | -No derivative is lost in the fixed-order transport commutator: after removing | |
| 6140 | -the top term, one derivative falls on `b`, leaving a total of at most five. | |
| 6141 | --/ | |
| 6142 | -theorem transport_commutator_L2 (d n : ℕ) (hd : (d : ℝ) < 2 * 3) (hn : n ≤ 6) | |
| 6143 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (b h : 𝓢(Domain d, ℂ)) : | |
| 6144 | - ‖(commutator d n v b h).toLp 2‖ ≤ | |
| 6145 | - 2 ^ n * (embeddingConstant d 3 hd * (2 * Real.pi) ^ (n-1) * | |
| 6146 | - sobolevNorm d 5 (directional d 1 v b) * sobolevNorm d 5 h) := by | |
| 6147 | - rw [commutator_expansion] | |
| 6148 | - change ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume | |
| 6149 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 6150 | - product d (directional d j v (directional d 1 v b)) (directional d (n-(j+1)) v h))‖ ≤ _ | |
| 6151 | - rw [map_sum] | |
| 6152 | - calc | |
| 6153 | - _ ≤ ∑ j ∈ Finset.range n, | |
| 6154 | - ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume ((n.choose (j+1) : ℂ) • | |
| 6155 | - product d (directional d j v (directional d 1 v b)) | |
| 6156 | - (directional d (n-(j+1)) v h))‖ := norm_sum_le _ _ | |
| 6157 | - _ = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 6158 | - ‖(product d (directional d j v (directional d 1 v b)) | |
| 6159 | - (directional d (n-(j+1)) v h)).toLp 2‖ := by | |
| 6160 | - simp only [map_smul, norm_smul, Complex.norm_natCast, SchwartzMap.toLpCLM_apply] | |
| 6161 | - _ ≤ ∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 6162 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ (n-1) * | |
| 6163 | - sobolevNorm d 5 (directional d 1 v b) * sobolevNorm d 5 h) := by | |
| 6164 | - apply Finset.sum_le_sum | |
| 6165 | - intro j hj | |
| 6166 | - have hjn : j < n := Finset.mem_range.1 hj | |
| 6167 | - have he : j + (n-(j+1)) = n-1 := by omega | |
| 6168 | - have hbound := product_directional_L2_H5 d j (n-(j+1)) hd (by omega) v hv | |
| 6169 | - (directional d 1 v b) h | |
| 6170 | - rw [he] at hbound | |
| 6171 | - exact mul_le_mul_of_nonneg_left hbound (Nat.cast_nonneg _) | |
| 6172 | - _ ≤ _ := by | |
| 6173 | - rw [← Finset.sum_mul] | |
| 6174 | - apply mul_le_mul_of_nonneg_right (sum_choose_successors_le n) | |
| 6175 | - unfold embeddingConstant sobolevNorm | |
| 6176 | - positivity | |
| 6177 | - | |
| 6178 | 4358 | end EulerSobolevTransport |
| 6179 | 4359 | |
| 6180 | 4360 | end |
| @@ -6409,14 +4589,6 @@ theorem euclideanCover_fundamental_measurePreserving (a : ℝ) : | ||
| 6409 | 4589 | (covering_fundamental_measurePreserving period a).comp |
| 6410 | 4590 | (coordinateEquiv_fundamental_measurePreserving period a) |
| 6411 | 4591 | |
| 6412 | -/-- The fundamental-strip Lᵖ seminorm is exactly the Lᵖ seminorm on the cylinder. -/ | |
| 6413 | -theorem eLpNorm_cover {F : Type*} [NormedAddCommGroup F] | |
| 6414 | - (f : LiftDomain period → F) (hf : AEStronglyMeasurable f (liftMeasure period)) | |
| 6415 | - (a : ℝ) (p : ℝ≥0∞) : | |
| 6416 | - eLpNorm (f ∘ euclideanCover period) p (stripMeasure period a) = | |
| 6417 | - eLpNorm f p (liftMeasure period) := | |
| 6418 | - eLpNorm_comp_measurePreserving hf (euclideanCover_fundamental_measurePreserving period a) | |
| 6419 | - | |
| 6420 | 4592 | /-- Square integrability of actual fields transfers to their Euclidean periodic lifts. -/ |
| 6421 | 4593 | theorem memLp_cover {F : Type*} [NormedAddCommGroup F] |
| 6422 | 4594 | (f : LiftDomain period → F) (hf : MemLp f 2 (liftMeasure period)) (a : ℝ) : |
| @@ -7582,281 +5754,9 @@ noncomputable def pureFieldDerivative (n : ℕ) (i : Fin 4) (f : LiftDomain peri | ||
| 7582 | 5754 | pureFieldDerivative period (n+1) i f = |
| 7583 | 5755 | fieldDerivative period (standardDirection i) (pureFieldDerivative period n i f) := rfl |
| 7584 | 5756 | |
| 7585 | -theorem pureFieldDerivative_succ_right (n : ℕ) (i : Fin 4) (f : LiftDomain period → ℂ) : | |
| 7586 | - pureFieldDerivative period (n+1) i f = | |
| 7587 | - pureFieldDerivative period n i (pureFieldDerivative period 1 i f) := by | |
| 7588 | - induction n with | |
| 7589 | - | zero => rfl | |
| 7590 | - | succ n ih => | |
| 7591 | - rw [pureFieldDerivative_succ, ih, pureFieldDerivative_succ] | |
| 7592 | - rfl | |
| 7593 | - | |
| 7594 | -theorem pureFieldDerivative_eq_iteratedDeriv (n : ℕ) (i : Fin 4) (f : LiftDomain period → ℂ) | |
| 7595 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 7596 | - pureFieldDerivative period n i f x = iteratedDeriv n | |
| 7597 | - (fun t : ℝ => euclideanLift period f x (t • EuclideanSpace.single i 1)) 0 := by | |
| 7598 | - have hA := euclideanLift_iteratedFieldDerivative period (fun _ : Fin n => i) f hf x 0 | |
| 7599 | - rw [euclideanLift_zero] at hA | |
| 7600 | - rw [pureFieldDerivative, hA, iteratedDeriv_eq_iteratedFDeriv] | |
| 7601 | - let L : ℝ →L[ℝ] Domain 4 := (ContinuousLinearMap.id ℝ ℝ).smulRight (EuclideanSpace.single i 1) | |
| 7602 | - have hB := L.iteratedFDeriv_comp_right (euclideanLift_smooth period f hf x) | |
| 7603 | - (0 : ℝ) (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7604 | - change _ = iteratedFDeriv ℝ n (euclideanLift period f x ∘ L) 0 (fun _ => 1) | |
| 7605 | - rw [hB] | |
| 7606 | - simp [L, ContinuousMultilinearMap.compContinuousLinearMap_apply] | |
| 7607 | - | |
| 7608 | -theorem pureFieldDerivative_product (n : ℕ) (i : Fin 4) (f g : LiftDomain period → ℂ) | |
| 7609 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7610 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 7611 | - pureFieldDerivative period n i (f*g) = | |
| 7612 | - ∑ j ∈ Finset.range (n+1), (n.choose j : ℂ) • | |
| 7613 | - (pureFieldDerivative period j i f * pureFieldDerivative period (n-j) i g) := by | |
| 7614 | - funext x | |
| 7615 | - rw [pureFieldDerivative_eq_iteratedDeriv period n i (f*g) (product_smooth period f g hf hg)] | |
| 7616 | - have hline : ContDiff ℝ ∞ (fun t : ℝ => t • (EuclideanSpace.single i 1 : Domain 4)) := | |
| 7617 | - contDiff_id.smul contDiff_const | |
| 7618 | - have hF := ((euclideanLift_smooth period f hf x).comp hline).of_le | |
| 7619 | - (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7620 | - have hG := ((euclideanLift_smooth period g hg x).comp hline).of_le | |
| 7621 | - (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7622 | - have h := iteratedDeriv_mul (x := (0 : ℝ)) hF.contDiffAt hG.contDiffAt | |
| 7623 | - have he : (fun t : ℝ => euclideanLift period (f*g) x (t • EuclideanSpace.single i 1)) = | |
| 7624 | - (euclideanLift period f x ∘ (fun t : ℝ => t • EuclideanSpace.single i 1)) * | |
| 7625 | - (euclideanLift period g x ∘ (fun t : ℝ => t • EuclideanSpace.single i 1)) := rfl | |
| 7626 | - rw [he] | |
| 7627 | - simpa only [Function.comp_def, Finset.sum_apply, Pi.smul_apply, smul_eq_mul, Pi.mul_apply, | |
| 7628 | - pureFieldDerivative_eq_iteratedDeriv period _ i f hf, | |
| 7629 | - pureFieldDerivative_eq_iteratedDeriv period _ i g hg, mul_assoc] using h | |
| 7630 | - | |
| 7631 | - | |
| 7632 | -/-- The actual commutator of pure coordinate differentiation with multiplication. -/ | |
| 7633 | -noncomputable def coordinateCommutator (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) := | |
| 7634 | - pureFieldDerivative period n i (b*h) - b * pureFieldDerivative period n i h | |
| 7635 | - | |
| 7636 | -theorem coordinateCommutator_expansion (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) | |
| 7637 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7638 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 7639 | - coordinateCommutator period n i b h = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 7640 | - (pureFieldDerivative period j i (pureFieldDerivative period 1 i b) * | |
| 7641 | - pureFieldDerivative period (n-(j+1)) i h) := by | |
| 7642 | - unfold coordinateCommutator | |
| 7643 | - rw [pureFieldDerivative_product period n i b h hb hh, Finset.sum_range_succ'] | |
| 7644 | - simp only [Nat.choose_zero_right, Nat.cast_one, pureFieldDerivative_zero, Nat.sub_zero, | |
| 7645 | - one_smul, add_sub_cancel_right] | |
| 7646 | - apply Finset.sum_congr rfl | |
| 7647 | - intro j _ | |
| 7648 | - rw [pureFieldDerivative_succ_right] | |
| 7649 | 5757 | |
| 7650 | 5758 | variable [Fact (0 < period)] |
| 7651 | 5759 | |
| 7652 | -theorem word_H3_le_H5 {m : ℕ} (hm : m ≤ 2) (w : Fin m → Fin 4) | |
| 7653 | - (f : LiftDomain period → ℂ) : | |
| 7654 | - liftSobolevNorm period 3 (iteratedFieldDerivative period w f) ≤ | |
| 7655 | - 85 * liftSobolevNorm period 5 f := by | |
| 7656 | - have hA : liftSobolevNorm period 3 (iteratedFieldDerivative period w f) ≤ | |
| 7657 | - ∑ n ∈ Finset.range 4, ∑ _v : Fin n → Fin 4, liftSobolevNorm period 5 f := by | |
| 7658 | - apply Finset.sum_le_sum | |
| 7659 | - intro n hn | |
| 7660 | - apply Finset.sum_le_sum | |
| 7661 | - intro v _ | |
| 7662 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period v w f | |
| 7663 | - rw [hu] | |
| 7664 | - exact word_L2_le_liftSobolevNorm period (by have := Finset.mem_range.1 hn; omega) u f | |
| 7665 | - have he (A : ℝ) : (∑ n ∈ Finset.range 4, ∑ _v : Fin n → Fin 4, A) = 85*A := by | |
| 7666 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, nsmul_eq_mul] | |
| 7667 | - norm_num [Finset.sum_range_succ] | |
| 7668 | - ring | |
| 7669 | - exact hA.trans_eq (he _) | |
| 7670 | - | |
| 7671 | -theorem pureFieldDerivative_le_H5 {m : ℕ} (hm : m ≤ 2) (i : Fin 4) | |
| 7672 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7673 | - (hfL2 : ∀ j ≤ 5, ∀ w : Fin j → Fin 4, | |
| 7674 | - MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 7675 | - ‖pureFieldDerivative period m i f x‖ ≤ | |
| 7676 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 7677 | - have hA := cylinder_pointwise_le_H3 period (pureFieldDerivative period m i f) | |
| 7678 | - (iteratedFieldDerivative_smooth period _ f hf) | |
| 7679 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 5) v (fun _ => i) f hfL2) x | |
| 7680 | - have hB := mul_le_mul_of_nonneg_left (word_H3_le_H5 period hm (fun _ => i) f) | |
| 7681 | - (cylinderEmbeddingConstant_nonneg period) | |
| 7682 | - have he (C A : ℝ) : C*(85*A) = (85*C)*A := by ring | |
| 7683 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 7684 | - | |
| 7685 | -/-- An L² envelope depending only on five derivatives of each argument. -/ | |
| 7686 | -noncomputable def commutatorEnvelope (f g : LiftDomain period → ℂ) : LiftDomain period → ℝ := | |
| 7687 | - liftSobolevNorm period 5 f • totalMagnitude period 5 g + | |
| 7688 | - liftSobolevNorm period 5 g • totalMagnitude period 5 f | |
| 7689 | - | |
| 7690 | -theorem commutatorEnvelope_nonneg (f g : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 7691 | - 0 ≤ commutatorEnvelope period f g x := | |
| 7692 | - add_nonneg (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 7693 | - (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 7694 | - | |
| 7695 | -omit [Fact (0 < period)] in | |
| 7696 | -theorem pureFieldDerivative_le_total {n : ℕ} (hn : n ≤ 5) (i : Fin 4) | |
| 7697 | - (f : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 7698 | - ‖pureFieldDerivative period n i f x‖ ≤ totalMagnitude period 5 f x := by | |
| 7699 | - have hA : ‖pureFieldDerivative period n i f x‖ ≤ wordMagnitude period n f x := | |
| 7700 | - Finset.single_le_sum (f := fun w : Fin n → Fin 4 => ‖iteratedFieldDerivative period w f x‖) | |
| 7701 | - (fun _ _ => norm_nonneg _) (Finset.mem_univ (fun _ => i)) | |
| 7702 | - exact hA.trans (wordMagnitude_le_total period 5 n hn f x) | |
| 7703 | - | |
| 7704 | -theorem pure_product_le_envelope {j k : ℕ} (hjk : j+k ≤ 5) (i : Fin 4) | |
| 7705 | - (f g : LiftDomain period → ℂ) | |
| 7706 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7707 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 7708 | - (hfL2 : ∀ n ≤ 5, ∀ w : Fin n → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 7709 | - (hgL2 : ∀ n ≤ 5, ∀ w : Fin n → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 7710 | - (x : LiftDomain period) : | |
| 7711 | - ‖pureFieldDerivative period j i f x * pureFieldDerivative period k i g x‖ ≤ | |
| 7712 | - (85 * cylinderEmbeddingConstant period) * commutatorEnvelope period f g x := by | |
| 7713 | - rw [norm_mul] | |
| 7714 | - have hc : 0 ≤ 85 * cylinderEmbeddingConstant period := | |
| 7715 | - mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period) | |
| 7716 | - by_cases hj : j ≤ 2 | |
| 7717 | - · have hA := mul_le_mul (pureFieldDerivative_le_H5 period hj i f hf hfL2 x) | |
| 7718 | - (pureFieldDerivative_le_total period (by omega : k ≤ 5) i g x) (norm_nonneg _) | |
| 7719 | - (mul_nonneg hc (liftSobolevNorm_nonneg period 5 f)) | |
| 7720 | - have hB : liftSobolevNorm period 5 f * totalMagnitude period 5 g x ≤ commutatorEnvelope period f g x := | |
| 7721 | - le_add_of_nonneg_right (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 7722 | - rw [mul_assoc] at hA | |
| 7723 | - exact hA.trans (mul_le_mul_of_nonneg_left hB hc) | |
| 7724 | - · have hA := mul_le_mul (pureFieldDerivative_le_total period (by omega : j ≤ 5) i f x) | |
| 7725 | - (pureFieldDerivative_le_H5 period (by omega : k ≤ 2) i g hg hgL2 x) (norm_nonneg _) | |
| 7726 | - (totalMagnitude_nonneg period 5 f x) | |
| 7727 | - have hB : liftSobolevNorm period 5 g * totalMagnitude period 5 f x ≤ commutatorEnvelope period f g x := | |
| 7728 | - le_add_of_nonneg_left (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 7729 | - have he (A B C : ℝ) : A*(B*C)=B*(C*A) := by ring | |
| 7730 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hc)) | |
| 7731 | - | |
| 7732 | -theorem coordinateCommutator_pointwise_le {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7733 | - (b h : LiftDomain period → ℂ) | |
| 7734 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7735 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7736 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7737 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7738 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7739 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 7740 | - ‖coordinateCommutator period n i b h x‖ ≤ | |
| 7741 | - (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7742 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x := by | |
| 7743 | - rw [coordinateCommutator_expansion period n i b h hb hh] | |
| 7744 | - have hA := norm_sum_le (Finset.range n) (fun j => (n.choose (j+1) : ℂ) • | |
| 7745 | - (pureFieldDerivative period j i (pureFieldDerivative period 1 i b) x * | |
| 7746 | - pureFieldDerivative period (n-(j+1)) i h x)) | |
| 7747 | - simp only [norm_smul, Complex.norm_natCast] at hA | |
| 7748 | - have hB : (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 7749 | - ‖pureFieldDerivative period j i (pureFieldDerivative period 1 i b) x * | |
| 7750 | - pureFieldDerivative period (n-(j+1)) i h x‖) ≤ | |
| 7751 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ)) * | |
| 7752 | - ((85 * cylinderEmbeddingConstant period) * | |
| 7753 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x) := by | |
| 7754 | - rw [Finset.sum_mul] | |
| 7755 | - apply Finset.sum_le_sum | |
| 7756 | - intro j hj | |
| 7757 | - exact mul_le_mul_of_nonneg_left (pure_product_le_envelope period | |
| 7758 | - (by have := Finset.mem_range.1 hj; omega : j+(n-(j+1)) ≤ 5) i | |
| 7759 | - (pureFieldDerivative period 1 i b) h (iteratedFieldDerivative_smooth period _ b hb) | |
| 7760 | - hh hbL2 hhL2 x) (Nat.cast_nonneg _) | |
| 7761 | - have hchoose := EulerSobolevTransport.sum_choose_successors_le n | |
| 7762 | - have hp : (2 : ℝ)^n ≤ 64 := by | |
| 7763 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hn | |
| 7764 | - norm_num at h ⊢ | |
| 7765 | - exact h | |
| 7766 | - have hc : 0 ≤ (85 * cylinderEmbeddingConstant period) * | |
| 7767 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x := | |
| 7768 | - mul_nonneg (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) | |
| 7769 | - (commutatorEnvelope_nonneg period _ _ x) | |
| 7770 | - have hC := mul_le_mul_of_nonneg_right (hchoose.trans hp) hc | |
| 7771 | - simpa only [Finset.sum_apply, Pi.smul_apply, Pi.mul_apply] using | |
| 7772 | - hA.trans (hB.trans (hC.trans_eq (mul_assoc _ _ _).symm)) | |
| 7773 | - | |
| 7774 | -theorem commutatorEnvelope_memLp (f g : LiftDomain period → ℂ) | |
| 7775 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7776 | - MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 7777 | - (hgL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7778 | - MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 7779 | - MemLp (commutatorEnvelope period f g) 2 (liftMeasure period) := | |
| 7780 | - ((totalMagnitude_memLp period 5 g hgL2).const_smul (liftSobolevNorm period 5 f)).add | |
| 7781 | - ((totalMagnitude_memLp period 5 f hfL2).const_smul (liftSobolevNorm period 5 g)) | |
| 7782 | - | |
| 7783 | -theorem commutatorEnvelope_L2_le (f g : LiftDomain period → ℂ) | |
| 7784 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7785 | - MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 7786 | - (hgL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7787 | - MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 7788 | - ‖(commutatorEnvelope_memLp period f g hfL2 hgL2).toLp (commutatorEnvelope period f g)‖ ≤ | |
| 7789 | - 2 * liftSobolevNorm period 5 f * liftSobolevNorm period 5 g := by | |
| 7790 | - change ‖liftSobolevNorm period 5 f • (totalMagnitude_memLp period 5 g hgL2).toLp _ + | |
| 7791 | - liftSobolevNorm period 5 g • (totalMagnitude_memLp period 5 f hfL2).toLp _‖ ≤ _ | |
| 7792 | - have hA := norm_add_le | |
| 7793 | - (liftSobolevNorm period 5 f • (totalMagnitude_memLp period 5 g hgL2).toLp (totalMagnitude period 5 g)) | |
| 7794 | - (liftSobolevNorm period 5 g • (totalMagnitude_memLp period 5 f hfL2).toLp (totalMagnitude period 5 f)) | |
| 7795 | - simp only [norm_smul, Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 f), | |
| 7796 | - Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 g)] at hA | |
| 7797 | - have hB := add_le_add | |
| 7798 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 g hgL2) (liftSobolevNorm_nonneg period 5 f)) | |
| 7799 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 f hfL2) (liftSobolevNorm_nonneg period 5 g)) | |
| 7800 | - have he (A B : ℝ) : A*B+B*A = 2*A*B := by ring | |
| 7801 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 7802 | - | |
| 7803 | -omit [Fact (0 < period)] in | |
| 7804 | -theorem coordinateCommutator_smooth (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) | |
| 7805 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7806 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 7807 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (coordinateCommutator period n i b h) x) := by | |
| 7808 | - intro x | |
| 7809 | - exact (iteratedFieldDerivative_smooth period _ (b*h) (product_smooth period b h hb hh) x).sub | |
| 7810 | - ((hb x).mul (iteratedFieldDerivative_smooth period _ h hh x)) | |
| 7811 | - | |
| 7812 | -/-- The commutator is in L²; neither factor needs compact support or decay assumptions beyond H⁵. -/ | |
| 7813 | -theorem coordinateCommutator_memLp {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7814 | - (b h : LiftDomain period → ℂ) | |
| 7815 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7816 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7817 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7818 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7819 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7820 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 7821 | - MemLp (coordinateCommutator period n i b h) 2 (liftMeasure period) := by | |
| 7822 | - apply (commutatorEnvelope_memLp period (pureFieldDerivative period 1 i b) h hbL2 hhL2).of_le_mul | |
| 7823 | - ((smoothField_continuous period _ (coordinateCommutator_smooth period n i b h hb hh)).aestronglyMeasurable) | |
| 7824 | - filter_upwards [] with x | |
| 7825 | - rw [Real.norm_of_nonneg (commutatorEnvelope_nonneg period _ _ x)] | |
| 7826 | - exact coordinateCommutator_pointwise_le period hn i b h hb hh hbL2 hhL2 x | |
| 7827 | - | |
| 7828 | -/-- No derivative is lost: `[D_i^n,b]h` is controlled by H⁵ of `D_i b` and H⁵ of `h`. -/ | |
| 7829 | -theorem cylinder_transport_commutator_L2 {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7830 | - (b h : LiftDomain period → ℂ) | |
| 7831 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7832 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7833 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7834 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7835 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7836 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 7837 | - (eLpNorm (coordinateCommutator period n i b h) 2 (liftMeasure period)).toReal ≤ | |
| 7838 | - (128 * 85 * cylinderEmbeddingConstant period) * | |
| 7839 | - liftSobolevNorm period 5 (pureFieldDerivative period 1 i b) * liftSobolevNorm period 5 h := by | |
| 7840 | - have hq := commutatorEnvelope_memLp period (pureFieldDerivative period 1 i b) h hbL2 hhL2 | |
| 7841 | - have hA := eLpNorm_le_mul_eLpNorm_of_ae_le_mul (μ := liftMeasure period) | |
| 7842 | - (Filter.Eventually.of_forall (fun x => show ‖coordinateCommutator period n i b h x‖ ≤ | |
| 7843 | - (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7844 | - ‖commutatorEnvelope period (pureFieldDerivative period 1 i b) h x‖ by | |
| 7845 | - rw [Real.norm_of_nonneg (commutatorEnvelope_nonneg period _ _ x)] | |
| 7846 | - exact coordinateCommutator_pointwise_le period hn i b h hb hh hbL2 hhL2 x)) (2 : ℝ≥0∞) | |
| 7847 | - have hc : 0 ≤ 64 * (85 * cylinderEmbeddingConstant period) := | |
| 7848 | - mul_nonneg (by norm_num) (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) | |
| 7849 | - have hfin : ENNReal.ofReal (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7850 | - eLpNorm (commutatorEnvelope period (pureFieldDerivative period 1 i b) h) 2 (liftMeasure period) ≠ ⊤ := by | |
| 7851 | - finiteness | |
| 7852 | - have hB := ENNReal.toReal_mono hfin hA | |
| 7853 | - simp only [ENNReal.toReal_mul, ENNReal.toReal_ofReal hc] at hB | |
| 7854 | - have hC := mul_le_mul_of_nonneg_left | |
| 7855 | - (commutatorEnvelope_L2_le period (pureFieldDerivative period 1 i b) h hbL2 hhL2) hc | |
| 7856 | - rw [Lp.norm_toLp] at hC | |
| 7857 | - have he (C A B : ℝ) : (64*(85*C))*(2*A*B) = (128*85*C)*A*B := by ring | |
| 7858 | - exact hB.trans (hC.trans_eq (he _ _ _)) | |
| 7859 | - | |
| 7860 | 5760 | end EulerCylinderTransport |
| 7861 | 5761 | |
| 7862 | 5762 | end |
| @@ -7873,97 +5773,6 @@ open scoped ContDiff ENNReal | ||
| 7873 | 5773 | |
| 7874 | 5774 | variable (period : ℝ) [Fact (0 < period)] |
| 7875 | 5775 | |
| 7876 | -omit [Fact (0 < period)] in | |
| 7877 | -theorem iteratedFieldDerivative_compact {n : ℕ} (w : Fin n → Fin 4) | |
| 7878 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) : | |
| 7879 | - HasCompactSupport (iteratedFieldDerivative period w f) := by | |
| 7880 | - induction n with | |
| 7881 | - | zero => exact hfc | |
| 7882 | - | succ n ih => exact fieldDerivative_compact period _ _ (ih (Fin.tail w)) | |
| 7883 | - | |
| 7884 | -omit [Fact (0 < period)] in | |
| 7885 | -/-- Splitting off the last direction agrees with the jet's derivative-word convention. -/ | |
| 7886 | -theorem iteratedFieldDerivative_init_last {n : ℕ} (w : Fin (n+1) → Fin 4) | |
| 7887 | - (f : LiftDomain period → Vector3) : | |
| 7888 | - iteratedFieldDerivative period w f = iteratedFieldDerivative period (Fin.init w) | |
| 7889 | - (fieldDerivative period (standardDirection (w (Fin.last n))) f) := by | |
| 7890 | - induction n with | |
| 7891 | - | zero => rfl | |
| 7892 | - | succ n ih => | |
| 7893 | - change fieldDerivative period (standardDirection (w 0)) | |
| 7894 | - (iteratedFieldDerivative period (Fin.tail w) f) = | |
| 7895 | - fieldDerivative period (standardDirection (w 0)) | |
| 7896 | - (iteratedFieldDerivative period (Fin.tail (Fin.init w)) | |
| 7897 | - (fieldDerivative period (standardDirection (w (Fin.last (n+1)))) f)) | |
| 7898 | - rw [ih (Fin.tail w)] | |
| 7899 | - rfl | |
| 7900 | - | |
| 7901 | -theorem translation_hasDerivAt_smoothFieldLp (a : LiftTangent) | |
| 7902 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7903 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7904 | - HasDerivAt (fun t => translation period (translationPath period a t) | |
| 7905 | - (smoothFieldLp period f hfc hf)) | |
| 7906 | - (smoothFieldLp period (fieldDerivative period a f) | |
| 7907 | - (fieldDerivative_compact period a f hfc) (fieldDerivative_smooth period a f hf)) 0 := | |
| 7908 | - smoothFieldLp_translation_hasDerivAt period a f hfc hf | |
| 7909 | - | |
| 7910 | -/-- The actual strong L² translation jet of a smooth compact field. -/ | |
| 7911 | -noncomputable def compactSmoothJet (n : ℕ) (f : LiftDomain period → Vector3) | |
| 7912 | - (hfc : HasCompactSupport f) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7913 | - SpatialJet period standardDirection n (smoothFieldLp period f hfc hf) := | |
| 7914 | - match n with | |
| 7915 | - | 0 => .zero _ | |
| 7916 | - | n+1 => .succ (fun i => smoothFieldLp period (fieldDerivative period (standardDirection i) f) | |
| 7917 | - (fieldDerivative_compact period _ f hfc) (fieldDerivative_smooth period _ f hf)) | |
| 7918 | - (fun i => compactSmoothJet n (fieldDerivative period (standardDirection i) f) | |
| 7919 | - (fieldDerivative_compact period _ f hfc) (fieldDerivative_smooth period _ f hf)) | |
| 7920 | - (fun i => translation_hasDerivAt_smoothFieldLp period (standardDirection i) f hfc hf) | |
| 7921 | - | |
| 7922 | -theorem smoothFieldLp_congr (f g : LiftDomain period → Vector3) (he : f = g) | |
| 7923 | - (hfc : HasCompactSupport f) (hgc : HasCompactSupport g) | |
| 7924 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7925 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 7926 | - smoothFieldLp period f hfc hf = smoothFieldLp period g hgc hg := by | |
| 7927 | - subst g | |
| 7928 | - rfl | |
| 7929 | - | |
| 7930 | -/-- Every word in the strong jet is represented by the corresponding actual smooth derivative. -/ | |
| 7931 | -theorem compactSmoothJet_word {s n : ℕ} (hn : n ≤ s) (w : Fin n → Fin 4) | |
| 7932 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7933 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7934 | - (compactSmoothJet period s f hfc hf).word w = | |
| 7935 | - smoothFieldLp period (iteratedFieldDerivative period w f) | |
| 7936 | - (iteratedFieldDerivative_compact period w f hfc) (iteratedFieldDerivative_smooth period w f hf) := by | |
| 7937 | - induction n generalizing s f with | |
| 7938 | - | zero => simp only [SpatialJet.word_zero, iteratedFieldDerivative_zero] | |
| 7939 | - | succ n ih => | |
| 7940 | - cases s with | |
| 7941 | - | zero => omega | |
| 7942 | - | succ s => | |
| 7943 | - rw [compactSmoothJet, SpatialJet.word_succ] | |
| 7944 | - rw [ih (by omega : n ≤ s)] | |
| 7945 | - exact smoothFieldLp_congr period _ _ (iteratedFieldDerivative_init_last period w f).symm _ _ _ _ | |
| 7946 | - | |
| 7947 | -/-- The L² norm of each jet word is exactly the norm of the actual classical derivative. -/ | |
| 7948 | -theorem compactSmoothJet_word_norm {s n : ℕ} (hn : n ≤ s) (w : Fin n → Fin 4) | |
| 7949 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7950 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7951 | - ‖(compactSmoothJet period s f hfc hf).word w‖ = | |
| 7952 | - (eLpNorm (iteratedFieldDerivative period w f) 2 (liftMeasure period)).toReal := by | |
| 7953 | - rw [compactSmoothJet_word period hn w f hfc hf] | |
| 7954 | - rw [smoothFieldLp, Lp.norm_toLp] | |
| 7955 | - | |
| 7956 | -/-- The strong Sobolev jet norm is exactly the actual derivative-word Sobolev norm. -/ | |
| 7957 | -theorem compactSmoothJet_sobolevNorm (s : ℕ) (f : LiftDomain period → Vector3) | |
| 7958 | - (hfc : HasCompactSupport f) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7959 | - (compactSmoothJet period s f hfc hf).sobolevNorm = liftSobolevNorm period s f := by | |
| 7960 | - rw [SpatialJet.sobolevNorm_eq_sum_words] | |
| 7961 | - apply Finset.sum_congr rfl | |
| 7962 | - intro n hn | |
| 7963 | - apply Finset.sum_congr rfl | |
| 7964 | - intro w _ | |
| 7965 | - exact compactSmoothJet_word_norm period (by have := Finset.mem_range.1 hn; omega) w f hfc hf | |
| 7966 | - | |
| 7967 | 5776 | end EulerCompactSmoothJet |
| 7968 | 5777 | |
| 7969 | 5778 | end |
| @@ -8091,10 +5900,6 @@ theorem pointwise_le_L2_second_derivatives (f : 𝓢(Domain 3, F)) (x : Domain 3 | ||
| 8091 | 5900 | noncomputable def tensorSobolevNorm (s : ℕ) (f : Domain 3 → F) : ℝ := |
| 8092 | 5901 | Finset.sum (Finset.range (s+1)) (fun j => (eLpNorm (iteratedFDeriv ℝ j f) 2 volume).toReal) |
| 8093 | 5902 | |
| 8094 | -omit [CompleteSpace F] in | |
| 8095 | -theorem tensorSobolevNorm_nonneg (s : ℕ) (f : Domain 3 → F) : 0 ≤ tensorSobolevNorm s f := | |
| 8096 | - Finset.sum_nonneg (fun _ _ => ENNReal.toReal_nonneg) | |
| 8097 | - | |
| 8098 | 5903 | omit [CompleteSpace F] in |
| 8099 | 5904 | theorem tensorSobolevNorm_mono {s t : ℕ} (hst : s ≤ t) (f : Domain 3 → F) : |
| 8100 | 5905 | tensorSobolevNorm s f ≤ tensorSobolevNorm t f := |
| @@ -8515,476 +6320,12 @@ noncomputable def listDerivative : List (Fin 4) → (LiftDomain period → ℂ) | ||
| 8515 | 6320 | | [], f => f |
| 8516 | 6321 | | i::l, f => fieldDerivative period (standardDirection i) (listDerivative l f) |
| 8517 | 6322 | |
| 8518 | -/-- The same list as a finite derivative word. -/ | |
| 8519 | -def listWord : (l : List (Fin 4)) → Fin l.length → Fin 4 | |
| 8520 | - | [], i => Fin.elim0 i | |
| 8521 | - | i::l, j => Fin.cases i (listWord l) j | |
| 8522 | - | |
| 8523 | 6323 | @[simp] theorem listDerivative_nil (f : LiftDomain period → ℂ) : listDerivative period [] f = f := rfl |
| 8524 | 6324 | @[simp] theorem listDerivative_cons (i : Fin 4) (l : List (Fin 4)) (f : LiftDomain period → ℂ) : |
| 8525 | 6325 | listDerivative period (i::l) f = fieldDerivative period (standardDirection i) (listDerivative period l f) := rfl |
| 8526 | 6326 | |
| 8527 | -theorem listDerivative_eq_word (l : List (Fin 4)) (f : LiftDomain period → ℂ) : | |
| 8528 | - listDerivative period l f = iteratedFieldDerivative period (listWord l) f := by | |
| 8529 | - induction l with | |
| 8530 | - | nil => rfl | |
| 8531 | - | cons i l ih => | |
| 8532 | - rw [listDerivative_cons, ih] | |
| 8533 | - rfl | |
| 8534 | - | |
| 8535 | -theorem listDerivative_smooth (l : List (Fin 4)) (f : LiftDomain period → ℂ) | |
| 8536 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 8537 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (listDerivative period l f) x) := by | |
| 8538 | - rw [listDerivative_eq_word] | |
| 8539 | - exact iteratedFieldDerivative_smooth period _ f hf | |
| 8540 | - | |
| 8541 | -theorem listDerivative_append (l m : List (Fin 4)) (f : LiftDomain period → ℂ) : | |
| 8542 | - listDerivative period (l++m) f = listDerivative period l (listDerivative period m f) := by | |
| 8543 | - induction l with | |
| 8544 | - | nil => rfl | |
| 8545 | - | cons i l ih => simp only [List.cons_append, listDerivative_cons, ih] | |
| 8546 | - | |
| 8547 | -theorem fieldDerivative_add (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8548 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8549 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8550 | - fieldDerivative period a (f+g) = fieldDerivative period a f + fieldDerivative period a g := by | |
| 8551 | - funext x | |
| 8552 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.add | |
| 8553 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8554 | - exact congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8555 | - | |
| 8556 | -theorem fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8557 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8558 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8559 | - fieldDerivative period a (f-g) = fieldDerivative period a f - fieldDerivative period a g := by | |
| 8560 | - funext x | |
| 8561 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.sub | |
| 8562 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8563 | - exact congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8564 | - | |
| 8565 | -theorem fieldDerivative_mul (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8566 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8567 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8568 | - fieldDerivative period a (f*g) = fieldDerivative period a f * g + f * fieldDerivative period a g := by | |
| 8569 | - funext x | |
| 8570 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.mul | |
| 8571 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8572 | - have he := congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8573 | - have hfg : localFieldLift period (f*g) x = localFieldLift period f x * localFieldLift period g x := rfl | |
| 8574 | - change fderiv ℝ (localFieldLift period (f*g) x) 0 a = _ | |
| 8575 | - rw [hfg] | |
| 8576 | - have hzf : localFieldLift period f x 0 = f x := by simp [localFieldLift] | |
| 8577 | - have hzg : localFieldLift period g x 0 = g x := by simp [localFieldLift] | |
| 8578 | - rw [hzf, hzg] at he | |
| 8579 | - simpa [fieldDerivative, add_comm, mul_comm] using he | |
| 8580 | - | |
| 8581 | -theorem listDerivative_add (l : List (Fin 4)) (f g : LiftDomain period → ℂ) | |
| 8582 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8583 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8584 | - listDerivative period l (f+g) = listDerivative period l f + listDerivative period l g := by | |
| 8585 | - induction l with | |
| 8586 | - | nil => rfl | |
| 8587 | - | cons i l ih => | |
| 8588 | - rw [listDerivative_cons, ih, fieldDerivative_add period _ _ _ | |
| 8589 | - (listDerivative_smooth period l f hf) (listDerivative_smooth period l g hg)] | |
| 8590 | - rfl | |
| 8591 | - | |
| 8592 | -theorem listDerivative_zero (l : List (Fin 4)) : listDerivative period l 0 = 0 := by | |
| 8593 | - induction l with | |
| 8594 | - | nil => rfl | |
| 8595 | - | cons i l ih => | |
| 8596 | - rw [listDerivative_cons, ih] | |
| 8597 | - ext x | |
| 8598 | - change fderiv ℝ (fun _ : LiftTangent => (0 : ℂ)) 0 (standardDirection i) = 0 | |
| 8599 | - simp | |
| 8600 | - | |
| 8601 | -/-- The commutator of an arbitrary coordinate word and multiplication. -/ | |
| 8602 | -noncomputable def mixedCommutator (l : List (Fin 4)) (b h : LiftDomain period → ℂ) := | |
| 8603 | - listDerivative period l (b*h) - b * listDerivative period l h | |
| 8604 | - | |
| 8605 | -theorem mixedCommutator_smooth (l : List (Fin 4)) (b h : LiftDomain period → ℂ) | |
| 8606 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8607 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 8608 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (mixedCommutator period l b h) x) := | |
| 8609 | - fun x => (listDerivative_smooth period l (b*h) (product_smooth period b h hb hh) x).sub | |
| 8610 | - ((hb x).mul (listDerivative_smooth period l h hh x)) | |
| 8611 | - | |
| 8612 | -/-- Exact telescoping step; the top derivative on the transported field cancels. -/ | |
| 8613 | -theorem mixedCommutator_cons (i : Fin 4) (l : List (Fin 4)) (b h : LiftDomain period → ℂ) | |
| 8614 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8615 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 8616 | - mixedCommutator period (i::l) b h = | |
| 8617 | - fieldDerivative period (standardDirection i) b * listDerivative period l h + | |
| 8618 | - fieldDerivative period (standardDirection i) (mixedCommutator period l b h) := by | |
| 8619 | - unfold mixedCommutator | |
| 8620 | - rw [fieldDerivative_sub period _ _ _ | |
| 8621 | - (listDerivative_smooth period l (b*h) (product_smooth period b h hb hh)) | |
| 8622 | - (product_smooth period b _ hb (listDerivative_smooth period l h hh)), | |
| 8623 | - fieldDerivative_mul period _ _ _ hb (listDerivative_smooth period l h hh)] | |
| 8624 | - simp only [listDerivative_cons] | |
| 8625 | - ext x | |
| 8626 | - simp only [Pi.add_apply, Pi.sub_apply, Pi.mul_apply] | |
| 8627 | - ring | |
| 8628 | - | |
| 8629 | 6327 | variable [Fact (0 < period)] |
| 8630 | 6328 | |
| 8631 | -theorem word_pointwise_le_H5 {m : ℕ} (hm : m ≤ 2) (w : Fin m → Fin 4) | |
| 8632 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8633 | - (hfL2 : ∀ j ≤ 5, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 8634 | - (x : LiftDomain period) : | |
| 8635 | - ‖iteratedFieldDerivative period w f x‖ ≤ | |
| 8636 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 8637 | - have hA := cylinder_pointwise_le_H3 period (iteratedFieldDerivative period w f) | |
| 8638 | - (iteratedFieldDerivative_smooth period w f hf) | |
| 8639 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 5) v w f hfL2) x | |
| 8640 | - have hB := mul_le_mul_of_nonneg_left (word_H3_le_H5 period hm w f) (cylinderEmbeddingConstant_nonneg period) | |
| 8641 | - have he (C A : ℝ) : C*(85*A) = (85*C)*A := by ring | |
| 8642 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 8643 | - | |
| 8644 | -omit [Fact (0 < period)] in | |
| 8645 | -theorem tensor_list_le_total {j : ℕ} (l : List (Fin 4)) (hjl : l.length+j ≤ 5) | |
| 8646 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 8647 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ ≤ | |
| 8648 | - 1024 * totalMagnitude period 5 f x := by | |
| 8649 | - have hA := euclideanLift_tensor_norm_le period j (listDerivative period l f) | |
| 8650 | - (listDerivative_smooth period l f hf) x 0 | |
| 8651 | - simp only [euclideanLift_zero] at hA | |
| 8652 | - have hB : (∑ w : Fin j → Fin 4, ‖iteratedFieldDerivative period w (listDerivative period l f) x‖) ≤ | |
| 8653 | - (4 : ℝ)^j * totalMagnitude period 5 f x := by | |
| 8654 | - have hb (w : Fin j → Fin 4) : ‖iteratedFieldDerivative period w (listDerivative period l f) x‖ ≤ | |
| 8655 | - totalMagnitude period 5 f x := by | |
| 8656 | - rw [listDerivative_eq_word] | |
| 8657 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period w (listWord l) f | |
| 8658 | - rw [hu] | |
| 8659 | - exact (Finset.single_le_sum (f := fun v : Fin (l.length+j) → Fin 4 => ‖iteratedFieldDerivative period v f x‖) | |
| 8660 | - (fun _ _ => norm_nonneg _) (Finset.mem_univ u)).trans | |
| 8661 | - (wordMagnitude_le_total period 5 (l.length+j) hjl f x) | |
| 8662 | - simpa only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, | |
| 8663 | - nsmul_eq_mul, Nat.cast_pow, Nat.cast_ofNat] using Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin j → Fin 4))) => hb w) | |
| 8664 | - have hp : (4 : ℝ)^j ≤ 1024 := by | |
| 8665 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 4) (show j ≤ 5 by omega) | |
| 8666 | - norm_num at h ⊢ | |
| 8667 | - exact h | |
| 8668 | - exact hA.trans (hB.trans (mul_le_mul_of_nonneg_right hp (totalMagnitude_nonneg period 5 f x))) | |
| 8669 | - | |
| 8670 | -theorem tensor_list_low_le_H5 {j : ℕ} (l : List (Fin 4)) (hjl : l.length+j ≤ 2) | |
| 8671 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8672 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 8673 | - (x : LiftDomain period) : | |
| 8674 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ ≤ | |
| 8675 | - 1024 * ((85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f) := by | |
| 8676 | - have hA := euclideanLift_tensor_norm_le period j (listDerivative period l f) | |
| 8677 | - (listDerivative_smooth period l f hf) x 0 | |
| 8678 | - simp only [euclideanLift_zero] at hA | |
| 8679 | - have hb (w : Fin j → Fin 4) : ‖iteratedFieldDerivative period w (listDerivative period l f) x‖ ≤ | |
| 8680 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 8681 | - rw [listDerivative_eq_word] | |
| 8682 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period w (listWord l) f | |
| 8683 | - rw [hu] | |
| 8684 | - exact word_pointwise_le_H5 period hjl u f hf hfL2 x | |
| 8685 | - have hB := Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin j → Fin 4))) => hb w) | |
| 8686 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, | |
| 8687 | - nsmul_eq_mul, Nat.cast_pow, Nat.cast_ofNat] at hB | |
| 8688 | - have hp : (4 : ℝ)^j ≤ 1024 := by | |
| 8689 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 4) (show j ≤ 5 by omega) | |
| 8690 | - norm_num at h ⊢ | |
| 8691 | - exact h | |
| 8692 | - exact hA.trans (hB.trans (mul_le_mul_of_nonneg_right hp | |
| 8693 | - (mul_nonneg (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) (liftSobolevNorm_nonneg period 5 f)))) | |
| 8694 | - | |
| 8695 | -/-- A fixed finite constant for differentiated products of total order at most five. -/ | |
| 8696 | -noncomputable def mixedProductConstant : ℝ := | |
| 8697 | - 32 * (1024 * 1024 * (85 * cylinderEmbeddingConstant period)) | |
| 8698 | - | |
| 8699 | -theorem mixedProductConstant_nonneg : 0 ≤ mixedProductConstant period := by | |
| 8700 | - unfold mixedProductConstant | |
| 8701 | - exact mul_nonneg (by norm_num) (mul_nonneg (by norm_num) | |
| 8702 | - (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period))) | |
| 8703 | - | |
| 8704 | -theorem tensor_list_product_term_le (l m : List (Fin 4)) {j k : ℕ} | |
| 8705 | - (horder : (l.length+j)+(m.length+k) ≤ 5) (f g : LiftDomain period → ℂ) | |
| 8706 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8707 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 8708 | - (hfL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 8709 | - (hgL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 8710 | - (x : LiftDomain period) : | |
| 8711 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ * | |
| 8712 | - ‖iteratedFDeriv ℝ k (euclideanLift period (listDerivative period m g) x) 0‖ ≤ | |
| 8713 | - (1024 * 1024 * (85 * cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x := by | |
| 8714 | - have hc : 0 ≤ 85 * cylinderEmbeddingConstant period := | |
| 8715 | - mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period) | |
| 8716 | - have hK : 0 ≤ 1024 * 1024 * (85 * cylinderEmbeddingConstant period) := mul_nonneg (by norm_num) hc | |
| 8717 | - by_cases hl : l.length+j ≤ 2 | |
| 8718 | - · have hA := mul_le_mul (tensor_list_low_le_H5 period l hl f hf hfL2 x) | |
| 8719 | - (tensor_list_le_total period m (by omega : m.length+k ≤ 5) g hg x) (norm_nonneg _) | |
| 8720 | - (mul_nonneg (by norm_num) (mul_nonneg hc (liftSobolevNorm_nonneg period 5 f))) | |
| 8721 | - have he (C A M : ℝ) : (1024*(C*A))*(1024*M) = (1024*1024*C)*(A*M) := by ring | |
| 8722 | - have hB : liftSobolevNorm period 5 f * totalMagnitude period 5 g x ≤ commutatorEnvelope period f g x := | |
| 8723 | - le_add_of_nonneg_right (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 8724 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hK)) | |
| 8725 | - · have hA := mul_le_mul (tensor_list_le_total period l (by omega : l.length+j ≤ 5) f hf x) | |
| 8726 | - (tensor_list_low_le_H5 period m (by omega : m.length+k ≤ 2) g hg hgL2 x) (norm_nonneg _) | |
| 8727 | - (mul_nonneg (by norm_num) (totalMagnitude_nonneg period 5 f x)) | |
| 8728 | - have he (C A M : ℝ) : (1024*M)*(1024*(C*A)) = (1024*1024*C)*(A*M) := by ring | |
| 8729 | - have hB : liftSobolevNorm period 5 g * totalMagnitude period 5 f x ≤ commutatorEnvelope period f g x := | |
| 8730 | - le_add_of_nonneg_left (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 8731 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hK)) | |
| 8732 | - | |
| 8733 | -/-- Every prefixed product occurring in the telescoping commutator has a uniform H⁵ envelope. -/ | |
| 8734 | -theorem list_product_pointwise_le (l m : List (Fin 4)) (horder : l.length+m.length ≤ 5) | |
| 8735 | - (f g : LiftDomain period → ℂ) | |
| 8736 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8737 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 8738 | - (hfL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 8739 | - (hgL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 8740 | - (x : LiftDomain period) : | |
| 8741 | - ‖listDerivative period l (f * listDerivative period m g) x‖ ≤ | |
| 8742 | - mixedProductConstant period * commutatorEnvelope period f g x := by | |
| 8743 | - have hmg := listDerivative_smooth period m g hg | |
| 8744 | - have hprod := product_smooth period f (listDerivative period m g) hf hmg | |
| 8745 | - have he := euclideanLift_iteratedFieldDerivative period (listWord l) (f * listDerivative period m g) hprod x 0 | |
| 8746 | - rw [euclideanLift_zero] at he | |
| 8747 | - rw [listDerivative_eq_word, he] | |
| 8748 | - have hA := (iteratedFDeriv ℝ l.length (euclideanLift period (f * listDerivative period m g) x) 0).le_opNorm | |
| 8749 | - (fun j => EuclideanSpace.single (listWord l j) (1 : ℝ)) | |
| 8750 | - simp only [PiLp.norm_single, norm_one, Finset.prod_const_one, mul_one] at hA | |
| 8751 | - have hB := norm_iteratedFDeriv_mul_le (euclideanLift_smooth period f hf x) | |
| 8752 | - (euclideanLift_smooth period (listDerivative period m g) hmg x) 0 | |
| 8753 | - (by simp : (l.length : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 8754 | - have hC : (∑ j ∈ Finset.range (l.length+1), (l.length.choose j : ℝ) * | |
| 8755 | - ‖iteratedFDeriv ℝ j (euclideanLift period f x) 0‖ * | |
| 8756 | - ‖iteratedFDeriv ℝ (l.length-j) (euclideanLift period (listDerivative period m g) x) 0‖) ≤ | |
| 8757 | - 2^l.length * ((1024*1024*(85*cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x) := by | |
| 8758 | - calc | |
| 8759 | - _ ≤ ∑ j ∈ Finset.range (l.length+1), (l.length.choose j : ℝ) * | |
| 8760 | - ((1024*1024*(85*cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x) := by | |
| 8761 | - apply Finset.sum_le_sum | |
| 8762 | - intro j hj | |
| 8763 | - rw [mul_assoc] | |
| 8764 | - exact mul_le_mul_of_nonneg_left (tensor_list_product_term_le period [] m | |
| 8765 | - (by have := Finset.mem_range.1 hj; omega : (0+j)+(m.length+(l.length-j)) ≤ 5) | |
| 8766 | - f g hf hg hfL2 hgL2 x) (Nat.cast_nonneg _) | |
| 8767 | - _ = _ := by | |
| 8768 | - rw [← Finset.sum_mul] | |
| 8769 | - congr 1 | |
| 8770 | - exact_mod_cast Nat.sum_range_choose l.length | |
| 8771 | - have hp : (2 : ℝ)^l.length ≤ 32 := by | |
| 8772 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) (show l.length ≤ 5 by omega) | |
| 8773 | - norm_num at h ⊢ | |
| 8774 | - exact h | |
| 8775 | - have hD := mul_le_mul_of_nonneg_right hp (mul_nonneg | |
| 8776 | - (mul_nonneg (by norm_num : (0 : ℝ) ≤ 1024*1024) | |
| 8777 | - (mul_nonneg (by norm_num : (0 : ℝ) ≤ 85) (cylinderEmbeddingConstant_nonneg period))) | |
| 8778 | - (commutatorEnvelope_nonneg period f g x)) | |
| 8779 | - exact hA.trans (hB.trans (hC.trans (hD.trans_eq (mul_assoc _ _ _).symm))) | |
| 8780 | - | |
| 8781 | -/-- Sum of the H⁵ norms of all four actual first derivatives of the coefficient. -/ | |
| 8782 | -noncomputable def gradientSobolevNorm (b : LiftDomain period → ℂ) : ℝ := | |
| 8783 | - ∑ i : Fin 4, liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b) | |
| 8784 | - | |
| 8785 | -/-- Pointwise sum of all words of order at most five applied to the first coefficient derivatives. -/ | |
| 8786 | -noncomputable def gradientMagnitude (b : LiftDomain period → ℂ) (x : LiftDomain period) : ℝ := | |
| 8787 | - ∑ i : Fin 4, totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x | |
| 8788 | - | |
| 8789 | -theorem gradientSobolevNorm_nonneg (b : LiftDomain period → ℂ) : 0 ≤ gradientSobolevNorm period b := | |
| 8790 | - Finset.sum_nonneg (fun _ _ => liftSobolevNorm_nonneg period 5 _) | |
| 8791 | - | |
| 8792 | -omit [Fact (0 < period)] in | |
| 8793 | -theorem gradientMagnitude_nonneg (b : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8794 | - 0 ≤ gradientMagnitude period b x := Finset.sum_nonneg (fun _ _ => totalMagnitude_nonneg period 5 _ x) | |
| 8795 | - | |
| 8796 | -/-- One square-integrable envelope controls every mixed transport commutator through order six. -/ | |
| 8797 | -noncomputable def mixedEnvelope (b h : LiftDomain period → ℂ) : LiftDomain period → ℝ := | |
| 8798 | - gradientSobolevNorm period b • totalMagnitude period 5 h + liftSobolevNorm period 5 h • gradientMagnitude period b | |
| 8799 | - | |
| 8800 | -theorem mixedEnvelope_nonneg (b h : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8801 | - 0 ≤ mixedEnvelope period b h x := | |
| 8802 | - add_nonneg (mul_nonneg (gradientSobolevNorm_nonneg period b) (totalMagnitude_nonneg period 5 h x)) | |
| 8803 | - (mul_nonneg (liftSobolevNorm_nonneg period 5 h) (gradientMagnitude_nonneg period b x)) | |
| 8804 | - | |
| 8805 | -theorem commutatorEnvelope_le_mixed (i : Fin 4) (b h : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8806 | - commutatorEnvelope period (fieldDerivative period (standardDirection i) b) h x ≤ mixedEnvelope period b h x := by | |
| 8807 | - have hS : liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b) ≤ gradientSobolevNorm period b := | |
| 8808 | - Finset.single_le_sum (f := fun i : Fin 4 => liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b)) | |
| 8809 | - (fun _ _ => liftSobolevNorm_nonneg period 5 _) (Finset.mem_univ i) | |
| 8810 | - have hM : totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x ≤ gradientMagnitude period b x := | |
| 8811 | - Finset.single_le_sum (f := fun i : Fin 4 => totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x) | |
| 8812 | - (fun _ _ => totalMagnitude_nonneg period 5 _ x) (Finset.mem_univ i) | |
| 8813 | - exact add_le_add (mul_le_mul_of_nonneg_right hS (totalMagnitude_nonneg period 5 h x)) | |
| 8814 | - (mul_le_mul_of_nonneg_left hM (liftSobolevNorm_nonneg period 5 h)) | |
| 8815 | - | |
| 8816 | -/-- The telescoping estimate remains valid under an arbitrary derivative prefix. -/ | |
| 8817 | -theorem prefixed_commutator_pointwise_le (outer inner : List (Fin 4)) | |
| 8818 | - (horder : outer.length+inner.length ≤ 6) (b h : LiftDomain period → ℂ) | |
| 8819 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8820 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8821 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8822 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8823 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8824 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 8825 | - ‖listDerivative period outer (mixedCommutator period inner b h) x‖ ≤ | |
| 8826 | - (inner.length : ℝ) * mixedProductConstant period * mixedEnvelope period b h x := by | |
| 8827 | - induction inner generalizing outer with | |
| 8828 | - | nil => | |
| 8829 | - have he : mixedCommutator period [] b h = 0 := by simp [mixedCommutator] | |
| 8830 | - rw [he, listDerivative_zero] | |
| 8831 | - simp | |
| 8832 | - | cons i inner ih => | |
| 8833 | - rw [mixedCommutator_cons period i inner b h hb hh, | |
| 8834 | - listDerivative_add period outer _ _ | |
| 8835 | - (product_smooth period _ _ (fieldDerivative_smooth period _ b hb) (listDerivative_smooth period inner h hh)) | |
| 8836 | - (fieldDerivative_smooth period _ _ (mixedCommutator_smooth period inner b h hb hh))] | |
| 8837 | - have hA := norm_add_le | |
| 8838 | - (listDerivative period outer (fieldDerivative period (standardDirection i) b * listDerivative period inner h) x) | |
| 8839 | - (listDerivative period outer (fieldDerivative period (standardDirection i) (mixedCommutator period inner b h)) x) | |
| 8840 | - have hfirst := list_product_pointwise_le period outer inner | |
| 8841 | - (by simp only [List.length_cons] at horder; omega) | |
| 8842 | - (fieldDerivative period (standardDirection i) b) h (fieldDerivative_smooth period _ b hb) hh (hbL2 i) hhL2 x | |
| 8843 | - have hfirst' := hfirst.trans (mul_le_mul_of_nonneg_left (commutatorEnvelope_le_mixed period i b h x) | |
| 8844 | - (mixedProductConstant_nonneg period)) | |
| 8845 | - have hsecond := ih (outer ++ [i]) (by simp only [List.length_append, List.length_cons, List.length_nil] at *; omega) | |
| 8846 | - rw [listDerivative_append] at hsecond | |
| 8847 | - have hB := add_le_add hfirst' hsecond | |
| 8848 | - have he (n B Q : ℝ) : B*Q+n*B*Q=(n+1)*B*Q := by ring | |
| 8849 | - have hC := hA.trans (hB.trans_eq (he _ _ _)) | |
| 8850 | - simpa only [List.length_cons, Nat.cast_add, Nat.cast_one, Pi.add_apply] using hC | |
| 8851 | - | |
| 8852 | -theorem gradientMagnitude_memLp (b : LiftDomain period → ℂ) | |
| 8853 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8854 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) : | |
| 8855 | - MemLp (gradientMagnitude period b) 2 (liftMeasure period) := | |
| 8856 | - memLp_finsetSum _ (fun i _ => totalMagnitude_memLp period 5 _ (hbL2 i)) | |
| 8857 | - | |
| 8858 | -theorem gradientMagnitude_L2_le (b : LiftDomain period → ℂ) | |
| 8859 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8860 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) : | |
| 8861 | - ‖(gradientMagnitude_memLp period b hbL2).toLp (gradientMagnitude period b)‖ ≤ gradientSobolevNorm period b := by | |
| 8862 | - have he : gradientMagnitude period b = ∑ i : Fin 4, | |
| 8863 | - totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) := by | |
| 8864 | - funext x | |
| 8865 | - simp [gradientMagnitude] | |
| 8866 | - have hA : eLpNorm (gradientMagnitude period b) 2 (liftMeasure period) ≤ | |
| 8867 | - ∑ i : Fin 4, eLpNorm (totalMagnitude period 5 (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period) := by | |
| 8868 | - rw [he] | |
| 8869 | - exact eLpNorm_sum_le (fun i _ => (totalMagnitude_memLp period 5 _ (hbL2 i)).1) (by norm_num) | |
| 8870 | - have hfin (i : Fin 4) (_hi : i ∈ (Finset.univ : Finset (Fin 4))) : | |
| 8871 | - eLpNorm (totalMagnitude period 5 (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period) ≠ ⊤ := | |
| 8872 | - (totalMagnitude_memLp period 5 _ (hbL2 i)).eLpNorm_ne_top | |
| 8873 | - have hB := ENNReal.toReal_mono (ENNReal.sum_ne_top.2 hfin) hA | |
| 8874 | - rw [ENNReal.toReal_sum hfin] at hB | |
| 8875 | - rw [Lp.norm_toLp] | |
| 8876 | - apply hB.trans | |
| 8877 | - apply Finset.sum_le_sum | |
| 8878 | - intro i _ | |
| 8879 | - have h := totalMagnitude_L2_le period 5 (fieldDerivative period (standardDirection i) b) (hbL2 i) | |
| 8880 | - rw [Lp.norm_toLp] at h | |
| 8881 | - exact h | |
| 8882 | - | |
| 8883 | -theorem mixedEnvelope_memLp (b h : LiftDomain period → ℂ) | |
| 8884 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8885 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8886 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8887 | - MemLp (mixedEnvelope period b h) 2 (liftMeasure period) := | |
| 8888 | - ((totalMagnitude_memLp period 5 h hhL2).const_smul (gradientSobolevNorm period b)).add | |
| 8889 | - ((gradientMagnitude_memLp period b hbL2).const_smul (liftSobolevNorm period 5 h)) | |
| 8890 | - | |
| 8891 | -theorem mixedEnvelope_L2_le (b h : LiftDomain period → ℂ) | |
| 8892 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8893 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8894 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8895 | - ‖(mixedEnvelope_memLp period b h hbL2 hhL2).toLp (mixedEnvelope period b h)‖ ≤ | |
| 8896 | - 2 * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8897 | - change ‖gradientSobolevNorm period b • (totalMagnitude_memLp period 5 h hhL2).toLp _ + | |
| 8898 | - liftSobolevNorm period 5 h • (gradientMagnitude_memLp period b hbL2).toLp _‖ ≤ _ | |
| 8899 | - have hA := norm_add_le | |
| 8900 | - (gradientSobolevNorm period b • (totalMagnitude_memLp period 5 h hhL2).toLp (totalMagnitude period 5 h)) | |
| 8901 | - (liftSobolevNorm period 5 h • (gradientMagnitude_memLp period b hbL2).toLp (gradientMagnitude period b)) | |
| 8902 | - simp only [norm_smul, Real.norm_of_nonneg (gradientSobolevNorm_nonneg period b), | |
| 8903 | - Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 h)] at hA | |
| 8904 | - have hB := add_le_add | |
| 8905 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 h hhL2) (gradientSobolevNorm_nonneg period b)) | |
| 8906 | - (mul_le_mul_of_nonneg_left (gradientMagnitude_L2_le period b hbL2) (liftSobolevNorm_nonneg period 5 h)) | |
| 8907 | - have he (A B : ℝ) : A*B+B*A = 2*A*B := by ring | |
| 8908 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 8909 | - | |
| 8910 | -theorem mixedCommutator_pointwise_le (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8911 | - (b h : LiftDomain period → ℂ) | |
| 8912 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8913 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8914 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8915 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8916 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) | |
| 8917 | - (x : LiftDomain period) : | |
| 8918 | - ‖mixedCommutator period l b h x‖ ≤ (6 * mixedProductConstant period) * mixedEnvelope period b h x := by | |
| 8919 | - have hA := prefixed_commutator_pointwise_le period [] l (by simpa using hl) b h hb hh hbL2 hhL2 x | |
| 8920 | - have hB := mul_le_mul_of_nonneg_right (show (l.length : ℝ) ≤ 6 by exact_mod_cast hl) | |
| 8921 | - (mul_nonneg (mixedProductConstant_nonneg period) (mixedEnvelope_nonneg period b h x)) | |
| 8922 | - rw [← mul_assoc, ← mul_assoc] at hB | |
| 8923 | - exact hA.trans hB | |
| 8924 | - | |
| 8925 | -/-- Every mixed commutator through order six is a genuine L² function. -/ | |
| 8926 | -theorem mixedCommutator_memLp (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8927 | - (b h : LiftDomain period → ℂ) | |
| 8928 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8929 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8930 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8931 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8932 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8933 | - MemLp (mixedCommutator period l b h) 2 (liftMeasure period) := by | |
| 8934 | - apply (mixedEnvelope_memLp period b h hbL2 hhL2).of_le_mul | |
| 8935 | - ((smoothField_continuous period _ (mixedCommutator_smooth period l b h hb hh)).aestronglyMeasurable) | |
| 8936 | - filter_upwards [] with x | |
| 8937 | - rw [Real.norm_of_nonneg (mixedEnvelope_nonneg period b h x)] | |
| 8938 | - exact mixedCommutator_pointwise_le period l hl b h hb hh hbL2 hhL2 x | |
| 8939 | - | |
| 8940 | -/-- The full mixed coordinate commutator bound, with no derivative loss. -/ | |
| 8941 | -theorem mixed_transport_commutator_L2 (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8942 | - (b h : LiftDomain period → ℂ) | |
| 8943 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8944 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8945 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8946 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8947 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8948 | - (eLpNorm (mixedCommutator period l b h) 2 (liftMeasure period)).toReal ≤ | |
| 8949 | - (12 * mixedProductConstant period) * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8950 | - have hq := mixedEnvelope_memLp period b h hbL2 hhL2 | |
| 8951 | - have hA := eLpNorm_le_mul_eLpNorm_of_ae_le_mul (μ := liftMeasure period) | |
| 8952 | - (Filter.Eventually.of_forall (fun x => show ‖mixedCommutator period l b h x‖ ≤ | |
| 8953 | - (6 * mixedProductConstant period) * ‖mixedEnvelope period b h x‖ by | |
| 8954 | - rw [Real.norm_of_nonneg (mixedEnvelope_nonneg period b h x)] | |
| 8955 | - exact mixedCommutator_pointwise_le period l hl b h hb hh hbL2 hhL2 x)) (2 : ℝ≥0∞) | |
| 8956 | - have hc : 0 ≤ 6 * mixedProductConstant period := mul_nonneg (by norm_num) (mixedProductConstant_nonneg period) | |
| 8957 | - have hfin : ENNReal.ofReal (6 * mixedProductConstant period) * | |
| 8958 | - eLpNorm (mixedEnvelope period b h) 2 (liftMeasure period) ≠ ⊤ := by finiteness | |
| 8959 | - have hB := ENNReal.toReal_mono hfin hA | |
| 8960 | - simp only [ENNReal.toReal_mul, ENNReal.toReal_ofReal hc] at hB | |
| 8961 | - have hC := mul_le_mul_of_nonneg_left (mixedEnvelope_L2_le period b h hbL2 hhL2) hc | |
| 8962 | - rw [Lp.norm_toLp] at hC | |
| 8963 | - have he (C A B : ℝ) : (6*C)*(2*A*B)=(12*C)*A*B := by ring | |
| 8964 | - exact hB.trans (hC.trans_eq (he _ _ _)) | |
| 8965 | - | |
| 8966 | -omit [Fact (0 < period)] in | |
| 8967 | -theorem listDerivative_ofFn {n : ℕ} (w : Fin n → Fin 4) (f : LiftDomain period → ℂ) : | |
| 8968 | - listDerivative period (List.ofFn w) f = iteratedFieldDerivative period w f := by | |
| 8969 | - induction n with | |
| 8970 | - | zero => simp | |
| 8971 | - | succ n ih => | |
| 8972 | - rw [List.ofFn_succ, listDerivative_cons, ih] | |
| 8973 | - rfl | |
| 8974 | - | |
| 8975 | -/-- The same no-loss estimate in the finite-word convention used by the Sobolev jets. -/ | |
| 8976 | -theorem word_transport_commutator_L2 {n : ℕ} (hn : n ≤ 6) (w : Fin n → Fin 4) | |
| 8977 | - (b h : LiftDomain period → ℂ) | |
| 8978 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8979 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8980 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ v : Fin r → Fin 4, | |
| 8981 | - MemLp (iteratedFieldDerivative period v (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8982 | - (hhL2 : ∀ r ≤ 5, ∀ v : Fin r → Fin 4, MemLp (iteratedFieldDerivative period v h) 2 (liftMeasure period)) : | |
| 8983 | - (eLpNorm (iteratedFieldDerivative period w (b*h) - b*iteratedFieldDerivative period w h) 2 (liftMeasure period)).toReal ≤ | |
| 8984 | - (12 * mixedProductConstant period) * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8985 | - have hA := mixed_transport_commutator_L2 period (List.ofFn w) (by simpa using hn) b h hb hh hbL2 hhL2 | |
| 8986 | - simpa only [mixedCommutator, listDerivative_ofFn] using hA | |
| 8987 | - | |
| 8988 | 6329 | end EulerMixedCylinderTransport |
| 8989 | 6330 | |
| 8990 | 6331 | end |
| @@ -9001,19 +6342,6 @@ open scoped ENNReal ContDiff | ||
| 9001 | 6342 | |
| 9002 | 6343 | variable (period : ℝ) [Fact (0 < period)] |
| 9003 | 6344 | |
| 9004 | -/-- All low-order real vector derivative words are bounded by the actual H⁶ norm. -/ | |
| 9005 | -theorem vector_word_pointwise_le_H6 (q : ℕ) {m : ℕ} (hm : m ≤ 3) (w : Fin m → Fin 4) | |
| 9006 | - (f : LiftDomain period → Domain q) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 9007 | - (hfL2 : ∀ j ≤ 6, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 9008 | - (x : LiftDomain period) : | |
| 9009 | - ‖iteratedFieldDerivative period w f x‖ ≤ | |
| 9010 | - ((q : ℝ) * cylinderEmbeddingConstant period) * (85 * liftSobolevNorm period 6 f) := by | |
| 9011 | - have hA := vector_cylinder_pointwise_le_H3 period q (iteratedFieldDerivative period w f) | |
| 9012 | - (iteratedFieldDerivative_smooth period w f hf) | |
| 9013 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 6) v w f hfL2) x | |
| 9014 | - exact hA.trans (mul_le_mul_of_nonneg_left (word_H3_le_H6 period hm w f) | |
| 9015 | - (mul_nonneg (Nat.cast_nonneg _) (cylinderEmbeddingConstant_nonneg period))) | |
| 9016 | - | |
| 9017 | 6345 | section General |
| 9018 | 6346 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 9019 | 6347 | |
| @@ -9046,247 +6374,28 @@ theorem linear_norm_le_standard_sum (A : LiftTangent →L[ℝ] F) : | ||
| 9046 | 6374 | _ = ∑ i : Fin 4, ‖coordinateEquiv.symm v i‖ * ‖A (standardDirection i)‖ := by simp only [norm_smul] |
| 9047 | 6375 | _ ≤ ∑ i : Fin 4, ‖v‖ * ‖A (standardDirection i)‖ := by |
| 9048 | 6376 | exact Finset.sum_le_sum (fun i _ => mul_le_mul_of_nonneg_right (tangent_coordinate_norm_le v i) (norm_nonneg _)) |
| 9049 | - _ = _ := by rw [← Finset.mul_sum]; ring | |
| 9050 | - | |
| 9051 | -omit [Fact (0 < period)] in | |
| 9052 | -theorem fieldFDeriv_norm_le_standard_sum (f : LiftDomain period → F) (x : LiftDomain period) : | |
| 9053 | - ‖fieldFDeriv period f x‖ ≤ ∑ i : Fin 4, ‖fieldDerivative period (standardDirection i) f x‖ := | |
| 9054 | - linear_norm_le_standard_sum (fieldFDeriv period f x) | |
| 9055 | - | |
| @@ -9362,9 +6471,6 @@ theorem mollifierKernel_compact (n : ℕ) : HasCompactSupport (mollifierKernel n | ||
| @@ -9429,9 +6535,6 @@ def mollifierOperator (n : ℕ) : LiftL2 period →L[ℝ] LiftL2 period := | ||
| @@ -9464,13 +6567,6 @@ theorem mollifyJet_word {directions : Fin 4 → LiftTangent} {s k : ℕ} {f : Li | ||
| @@ -9529,32 +6625,6 @@ theorem mollify_orbit_contDiff (n : ℕ) (f : LiftL2 period) : | ||
| @@ -9730,28 +6800,6 @@ theorem cylinderConvolution_smooth (φ : ContDiffBump (0 : Domain 4)) (f : LiftD | ||
| @@ -9908,19 +6956,6 @@ theorem smoothMollifier_word_ae {s k : ℕ} (hk : k ≤ s) (U : LiftL2 period) | ||
| @@ -10351,97 +7386,6 @@ theorem norm_integral_sq_le_length_mul {E : Type*} [NormedAddCommGroup E] | ||
| @@ -10783,16 +7727,6 @@ theorem euler_perturbation_along_flow (u w : ℝ × E → E) | ||
| @@ -10925,11 +7859,6 @@ theorem tsupport_curl_subset (ψ : Fin 3 → Space → ℝ) (K : Set Space) | ||
| @@ -11011,41 +7940,6 @@ theorem curl_congr_nhds (ψ φ : Fin 3 → Space → ℝ) (x : Space) | ||
| @@ -11212,9 +8106,6 @@ theorem rawBump_support : tsupport rawBump ⊆ Icc (-1 : ℝ) 1 := by | ||
| @@ -11976,51 +8867,6 @@ namespace EulerAnglePartition | ||
| @@ -12063,80 +8909,6 @@ theorem shrinking_radius_cancels_loss (C B Δ ρ R₀ X : ℝ) | ||
| @@ -12147,80 +8919,6 @@ namespace EulerEnergyParameters | ||
| @@ -12404,24 +9102,6 @@ theorem weight_hasDerivAt (ρ : ℝ → ℝ) (ρ' t : ℝ) (hρ : HasDerivAt ρ | ||
| @@ -12541,18 +9221,6 @@ theorem no_escape_near_compact_trajectory | ||
| @@ -12565,53 +9233,6 @@ open EulerSmoothLimit EulerSobolev EulerSmoothSobolev EulerEnergyBootstrap | ||
| @@ -12638,22 +9259,6 @@ theorem determinant_hasDerivAt (F M : ℝ → Matrix (Fin 3) (Fin 3) ℝ) (t : | ||
| @@ -12967,34 +9572,6 @@ theorem shifted_weighted_inverse (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) | ||
| @@ -13012,33 +9589,6 @@ namespace EulerPacketAlgebra | ||
| @@ -13061,34 +9611,6 @@ theorem scalar_equation (β : ℝ) (U V : ℝ → ℝ) | ||
| @@ -15017,18 +11539,6 @@ theorem equation30_ideal_frame_bounds | ||
| @@ -17164,51 +13674,6 @@ theorem pressure_ratio_error | ||
| @@ -18414,37 +14879,6 @@ theorem equation30_exists_global | ||
| @@ -18929,21 +15363,6 @@ theorem target_compression_order40 | ||
| @@ -19354,23 +15773,6 @@ theorem sourceParameterExponent_relative_tendsto_zero (J : ℕ) (hJ : 2 ≤ J) | ||
| @@ -19415,62 +15817,6 @@ theorem perturbed_exponential_decay_summable (J : ℕ) (hJ : 1 ≤ J) (x : ℕ | ||
| @@ -19531,63 +15877,6 @@ theorem nested_horizon_of_width_ratio | ||
| @@ -19781,97 +16070,6 @@ theorem polynomial_source_scale_summable | ||
| @@ -19913,59 +16111,6 @@ theorem source_shear_gradient_bound | ||
| @@ -19979,17 +16124,6 @@ namespace EulerPacketSourceTime | ||
| @@ -20029,43 +16163,6 @@ theorem source_time_ratio_identity (J : ℕ) (x : ℕ → ℝ) (n : ℕ) : | ||
| @@ -20103,74 +16200,6 @@ theorem source_extra_time_bound | ||
| @@ -20213,46 +16242,6 @@ theorem base_exponential_decay (T p b : ℝ) (m k : ℕ) (hb : 0 < b) : | ||
| @@ -20597,34 +16586,6 @@ theorem uniform_source_cost_tsum_bound | ||
| @@ -20733,20 +16694,6 @@ theorem source_activation_ode_guards {j x β : ℝ} | ||
| Diff truncated — view the file for the rest. | ||
+0 −27 Euler/EulerSingularity.lean View file
| @@ -71,41 +71,14 @@ open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation | ||
| 71 | 71 | EulerLpTranslation.SmoothL2Field EulerOrdinarySobolev EulerMeanCutoffCurl |
| 72 | 72 | open scoped ContDiff ENNReal Topology |
| 73 | 73 | |
| 74 | -def maximalVorticityNorm (t : MaximalTime) : ℝ := lifespan.maximalVorticityNorm t | |
| 75 | - | |
| 76 | 74 | def maximalVorticityDensity (r : ℝ) : ℝ := lifespan.maximalVorticityDensity r |
| 77 | 75 | |
| 78 | -def maximalVorticityIntegral (t : MaximalTime) : ℝ := lifespan.maximalVorticityIntegral t | |
| 79 | - | |
| 80 | -theorem maximalVorticityNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 81 | - maximalVorticityNorm t ≤ K ↔ ∀ x, ‖vectorCurl (maximalVelocity t) x‖ ≤ K := | |
| 82 | - lifespan.maximalVorticityNorm_le_iff t K | |
| 83 | - | |
| 84 | -theorem maximalVorticityDensity_spec (t : MaximalTime) : | |
| 85 | - maximalVorticityDensity t=maximalVorticityNorm t := | |
| 86 | - lifespan.maximalVorticityDensity_eq t | |
| 87 | - | |
| 88 | -theorem maximalVorticityIntegral_spec (t : MaximalTime) : | |
| 89 | - (∫ r in (0 : ℝ)..(t : ℝ), maximalVorticityDensity r)=maximalVorticityIntegral t := | |
| 90 | - lifespan.maximalVorticityDensity_integral_eq t | |
| 91 | - | |
| 92 | 76 | theorem initialDatum_nonzero : initialDatum.field ≠ 0 := lifespan.initial_nonzero |
| 93 | 77 | |
| 94 | 78 | theorem initialDatum_existence_iff (T : ℝ) : |
| 95 | 79 | HasSmoothEulerSolution initialDatum.field T ↔ 0 < T ∧ T < lifespan.duration := |
| 96 | 80 | (hasSmoothEulerSolution_iff initialDatum T).trans (lifespan.hasEulerEvolution_iff T) |
| 97 | 81 | |
| 98 | -theorem initialDatum_scalar_existence_iff (T : ℝ) : | |
| 99 | - HasScalarEulerEvolution initialDatum T ↔ 0 < T ∧ T < lifespan.duration := | |
| 100 | - lifespan.hasScalarEulerEvolution_iff T | |
| 101 | - | |
| 102 | -theorem maximalVorticityIntegral_tendsto : | |
| 103 | - Tendsto maximalVorticityIntegral | |
| 104 | - (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration)) atTop := by | |
| 105 | - change Tendsto lifespan.maximalVorticityIntegral lifespan.endpointFilter atTop | |
| 106 | - rw [lifespan.endpointFilter_eq_atTop] | |
| 107 | - exact lifespan.vorticityIntegral_tendsto_atTop | |
| 108 | - | |
| 109 | 82 | theorem maximalVorticity_integral_infinite : |
| 110 | 83 | (∫⁻ r in Ico (0 : ℝ) lifespan.duration, ENNReal.ofReal (maximalVorticityDensity r))=⊤ := |
| 111 | 84 | lifespan.vorticity_lintegral_eq_top |
+0 −5 Euler/EulerTimeRescaling.lean View file
| @@ -75,11 +75,6 @@ def timeMap (ε : ℝ) (hε : 0 < ε) : C(Icc (0 : ℝ) ε,Icc (0 : ℝ) 1) wher | ||
| 75 | 75 | toFun t := ⟨t/ε,div_nonneg t.property.1 hε.le,(div_le_one hε).mpr t.property.2⟩ |
| 76 | 76 | continuous_toFun := (continuous_subtype_val.div_const ε).subtype_mk _ |
| 77 | 77 | |
| 78 | -theorem timeMap_initial (ε : ℝ) (hε : 0 < ε) : | |
| 79 | - timeMap ε hε ⟨0,le_rfl,hε.le⟩=⟨0,le_rfl,by norm_num⟩ := by | |
| 80 | - apply Subtype.ext | |
| 81 | - exact zero_div ε | |
| 82 | - | |
| 83 | 78 | theorem scaled_time_interior (ε : ℝ) (hε : 0 < ε) (t : ℝ) (ht : t ∈ Ioo 0 ε) : |
| 84 | 79 | ε⁻¹*t ∈ Ioo (0 : ℝ) 1 := by |
| 85 | 80 | rw [mul_comm,← div_eq_mul_inv] |
+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 −44 Euler/FrozenEvolutionGevrey.lean View file
| @@ -18,48 +18,4 @@ open scoped ContDiff | ||
| 18 | 18 | variable {P E X : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 20 | 20 | |
| 21 | -/-- The triangular recurrence is derived from actual Fréchet derivatives of | |
| 22 | -the frozen equation; it is not an assumed sequence estimate. -/ | |
| 23 | -theorem derivative_recurrence | |
| 24 | - (B : P → X →L[ℝ] X) (u f : P → X) (a : P → E) | |
| 25 | - (hB : ContDiff ℝ ∞ B) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) (ha : ContDiff ℝ ∞ a) | |
| 26 | - (x : P) (H : E →L[ℝ] X) (K : X →L[ℝ] X) | |
| 27 | - (heq : ∀ y, u y = H (a y) + K (f y + (B y-B x) (u y))) (n : ℕ) : | |
| 28 | - ‖iteratedFDeriv ℝ n u x‖ ≤ ‖H‖*‖iteratedFDeriv ℝ n a x‖ + ‖K‖* | |
| 29 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 30 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) B x‖ * | |
| 31 | - ‖iteratedFDeriv ℝ (n-(j+1)) u x‖) := by | |
| 32 | - let C : P → X →L[ℝ] X := fun y => B y-B x | |
| 33 | - let p : P → X := fun y => C y (u y) | |
| 34 | - let q : P → X := f+p | |
| 35 | - have hC : ContDiff ℝ ∞ C := hB.sub contDiff_const | |
| 36 | - have hp : ContDiff ℝ ∞ p := hC.clm_apply hu | |
| 37 | - have hq : ContDiff ℝ ∞ q := hf.add hp | |
| 38 | - have hfreeze : u = (H ∘ a) + (K ∘ q) := funext heq | |
| 39 | - have hzero : ‖iteratedFDeriv ℝ 0 C x‖ = 0 := by | |
| 40 | - rw [norm_iteratedFDeriv_zero] | |
| 41 | - simp [C] | |
| 42 | - have hpositive (j : ℕ) : iteratedFDeriv ℝ (j+1) C x = iteratedFDeriv ℝ (j+1) B x := by | |
| 43 | - change iteratedFDeriv ℝ (j+1) (B - fun _ => B x) x = _ | |
| 44 | - rw [iteratedFDeriv_sub_apply (hB.contDiffAt.of_le (by simp)) contDiffAt_const] | |
| 45 | - simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] | |
| 46 | - have hprod := norm_iteratedFDeriv_clm_apply hC hu x (n := n) (by simp) | |
| 47 | - rw [sum_range_succ'] at hprod | |
| 48 | - simp only [hzero, mul_zero, zero_mul, add_zero, hpositive] at hprod | |
| 49 | - have hqnorm : ‖iteratedFDeriv ℝ n q x‖ ≤ | |
| 50 | - ‖iteratedFDeriv ℝ n f x‖ + ‖iteratedFDeriv ℝ n p x‖ := by | |
| 51 | - change ‖iteratedFDeriv ℝ n (f+p) x‖ ≤ _ | |
| 52 | - rw [iteratedFDeriv_add_apply (hf.contDiffAt.of_le (by simp)) (hp.contDiffAt.of_le (by simp))] | |
| 53 | - exact norm_add_le _ _ | |
| 54 | - have hH := H.norm_iteratedFDeriv_comp_left (x := x) ha.contDiffAt (n := n) (by simp) | |
| 55 | - have hK := K.norm_iteratedFDeriv_comp_left (x := x) hq.contDiffAt (n := n) (by simp) | |
| 56 | - have hsum : ‖iteratedFDeriv ℝ n u x‖ ≤ | |
| 57 | - ‖iteratedFDeriv ℝ n (H ∘ a) x‖ + ‖iteratedFDeriv ℝ n (K ∘ q) x‖ := by | |
| 58 | - conv_lhs => rw [hfreeze] | |
| 59 | - rw [iteratedFDeriv_add_apply ((H.contDiff.comp ha).contDiffAt.of_le (by simp)) | |
| 60 | - ((K.contDiff.comp hq).contDiffAt.of_le (by simp))] | |
| 61 | - exact norm_add_le _ _ | |
| 62 | - exact hsum.trans (add_le_add hH (hK.trans (mul_le_mul_of_nonneg_left | |
| 63 | - (hqnorm.trans (add_le_add le_rfl hprod)) (norm_nonneg K)))) | |
| 64 | - | |
| 65 | 21 | end EulerFrozenEvolutionGevrey |
+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 −32 Euler/HeatMaximalRegularity.lean View file
| @@ -29,23 +29,6 @@ theorem regularized_mild_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < | ||
| 29 | 29 | · exact (regularizedState_low_tendsto period T u).cauchySeq |
| 30 | 30 | · exact (pathLp_tendsto T hT _ _ (regularizedForcing_value_tendsto period T f)).cauchySeq |
| 31 | 31 | |
| 32 | -/-- The strong higher-order limit has exactly the original lower-order field almost everywhere in time. -/ | |
| 33 | -theorem regularized_limit_restriction (T : ℝ) (hT : 0 ≤ T) | |
| 34 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) (U : TimeLp T (SobolevSpace period 2)) | |
| 35 | - (hU : Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U)) : | |
| 36 | - ((fun t => truncateOperator period 1 (U t)) =ᵐ[timeMeasure T] extendPath T hT u) := by | |
| 37 | - have hlow := regularizedState_low_tendsto period T u | |
| 38 | - have hrestrict : Filter.Tendsto (fun n => (truncateOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 39 | - ((truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u))) Filter.atTop (𝓝 u) := by | |
| 40 | - convert hlow using 1 | |
| 41 | - funext n | |
| 42 | - apply ContinuousMap.ext | |
| 43 | - intro t | |
| 44 | - apply value_injective period | |
| 45 | - rfl | |
| 46 | - exact limit_restriction_ae T hT (truncateOperator period 1) | |
| 47 | - (fun n => (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u)) u U hU hrestrict | |
| 48 | - | |
| 49 | 32 | /-- Completeness of actual H² Bochner space constructs its strong Cauchy limit. -/ |
| 50 | 33 | theorem exists_H2_time_limit (T : ℝ) (u : ℕ → TimeLp T (SobolevSpace period 2)) (hu : CauchySeq u) : |
| 51 | 34 | ∃ U : TimeLp T (SobolevSpace period 2), Filter.Tendsto u Filter.atTop (𝓝 U) := |
| @@ -64,19 +47,4 @@ theorem exists_regularized_mild_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : | ||
| 64 | 47 | regularized_mild_cauchy period T hT ν hν u₀ f u hsol |
| 65 | 48 | exact exists_H2_time_limit period T (fun n => higherTime period T hT (regularizedState period T n u)) hc |
| 66 | 49 | |
| 67 | -/-- The actual viscous mild solution with H¹ values and continuous L² source has two full spatial derivatives in L² time. | |
| 68 | -The higher-regularity element is constructed in the complete Bochner space and identified with the original field almost everywhere. -/ | |
| 69 | -theorem viscous_mild_maximal_regularity (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 70 | - (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) | |
| 71 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 72 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 73 | - u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + | |
| 74 | - ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r))) : | |
| 75 | - ∃ U : TimeLp T (SobolevSpace period 2), | |
| 76 | - ((fun t => truncateOperator period 1 (U t)) =ᵐ[timeMeasure T] extendPath T hT u) ∧ | |
| 77 | - Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U) := by | |
| 78 | - refine (exists_regularized_mild_limit period T hT ν hν u₀ f u hsol).imp ?_ | |
| 79 | - intro U hU | |
| 80 | - exact ⟨regularized_limit_restriction period T hT u U hU, hU⟩ | |
| 81 | - | |
| 82 | 50 | end EulerHeatMaximalRegularity |
+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 −5 Euler/ParentChoiceInitialSupport.lean View file
| @@ -79,11 +79,6 @@ theorem initial_support (hS : tsupport (fun x => S.evolution.velocity (0,x)) ⊆ | ||
| 79 | 79 | exact (tsupport_add _ _).trans |
| 80 | 80 | (union_subset hS ((tsupport_add _ _).trans (union_subset h.1 h.2))) |
| 81 | 81 | |
| 82 | -theorem initial_compact (hS : tsupport (fun x => S.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : | |
| 83 | - HasCompactSupport (fun x => (state I S k hk nextEll hnext hnext1 F hSym).evolution.velocity (0,x)) := | |
| 84 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 85 | - (initial_support I S k hk nextEll hnext hnext1 F hSym hS) | |
| 86 | - | |
| 87 | 82 | end GeometryForwardChoice |
| 88 | 83 | |
| 89 | 84 | namespace GeometryJoinedChoice |
+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 −5 Euler/TimeH1FieldProduct.lean View file
| @@ -97,9 +97,4 @@ theorem fieldProduct_h1 (p q : TimeLp T E) (η : ℝ → E) | ||
| 97 | 97 | fieldProduct_ae T hT A p η hp, |
| 98 | 98 | fieldProduct_hasDerivAt_ae T hT A A' hA p q η hp hηder⟩ |
| 99 | 99 | |
| 100 | -/-- The constructed derivative has the expected operator-norm bound. -/ | |
| 101 | -theorem fieldProductDerivative_norm_le (p q : TimeLp T E) : | |
| 102 | - ‖fieldProductDerivative T hT A A' p q‖ ≤ ‖A'‖*‖p‖+‖A‖*‖q‖ := | |
| 103 | - (norm_add_le _ _).trans (add_le_add (timeApply_bound T hT A' p) (timeApply_bound T hT A q)) | |
| 104 | - | |
| 105 | 100 | end EulerTimeH1FieldProduct |
+0 −59 Euler/TimeH1PointwiseBounds.lean View file
| @@ -32,63 +32,4 @@ theorem eq_primitive_add_terminal (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | ||
| 32 | 32 | hsub hdsub (sub_self _) t ht |
| 33 | 33 | exact sub_eq_iff_eq_add.mp h |
| 34 | 34 | |
| 35 | -include hT hη hder in | |
| 36 | -/-- The increment is the actual integral of the L² derivative's zero extension. -/ | |
| 37 | -theorem increment_eq_integral (s t : ℝ) (hs : s ∈ Icc (0 : ℝ) T) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 38 | - η t-η s = ∫ r in s..t, zeroExtension T g r := by | |
| 39 | - calc | |
| 40 | - η t-η s = (realPrimitive T g t+η T)-(realPrimitive T g s+η T) := | |
| 41 | - congrArg₂ (fun x y : E => x-y) | |
| 42 | - (eq_primitive_add_terminal T hT g η hη hder t ht) | |
| 43 | - (eq_primitive_add_terminal T hT g η hη hder s hs) | |
| 44 | - _ = realPrimitive T g t-realPrimitive T g s := by abel | |
| 45 | - _ = ∫ r in s..t, zeroExtension T g r := realPrimitive_increment T g s t | |
| 46 | - | |
| 47 | -include hT hη hder in | |
| 48 | -/-- The exact square-root modulus follows from Bochner Cauchy--Schwarz. -/ | |
| 49 | -theorem increment_norm_sq_le (s t : ℝ) (hs : s ∈ Icc (0 : ℝ) T) | |
| 50 | - (ht : t ∈ Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 51 | - ‖η t-η s‖^2 ≤ (t-s)*‖g‖^2 := by | |
| 52 | - have hlocal := norm_integral_sq_le_length_mul (zeroExtension T g) hst | |
| 53 | - (zeroExtension_integrable T g).intervalIntegrable | |
| 54 | - (zeroExtension_norm_sq_integrable T g).intervalIntegrable | |
| 55 | - have hmono : (∫ r in s..t, ‖zeroExtension T g r‖^2) ≤ ‖g‖^2 := by | |
| 56 | - rw [intervalIntegral.integral_of_le hst] | |
| 57 | - exact (setIntegral_le_integral (zeroExtension_norm_sq_integrable T g) | |
| 58 | - (Filter.Eventually.of_forall (fun r => sq_nonneg ‖zeroExtension T g r‖))).trans_eq | |
| 59 | - (zeroExtension_norm_sq_integral T g) | |
| 60 | - calc | |
| 61 | - ‖η t-η s‖^2 = ‖∫ r in s..t, zeroExtension T g r‖^2 := | |
| 62 | - congrArg (fun x : E => ‖x‖^2) (increment_eq_integral T hT g η hη hder s t hs ht) | |
| 63 | - _ ≤ (t-s)*(∫ r in s..t, ‖zeroExtension T g r‖^2) := hlocal | |
| 64 | - _ ≤ (t-s)*‖g‖^2 := mul_le_mul_of_nonneg_left hmono (sub_nonneg.mpr hst) | |
| 65 | - | |
| 66 | -include hT hη hder in | |
| 67 | -/-- A genuine H¹ path has the quantitative square-root continuity bound. -/ | |
| 68 | -theorem increment_norm_le (s t : ℝ) (hs : s ∈ Icc (0 : ℝ) T) | |
| 69 | - (ht : t ∈ Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 70 | - ‖η t-η s‖ ≤ Real.sqrt (t-s)*‖g‖ := by | |
| 71 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))).1 | |
| 72 | - rw [mul_pow, Real.sq_sqrt (sub_nonneg.mpr hst)] | |
| 73 | - exact increment_norm_sq_le T hT g η hη hder s t hs ht hst | |
| 74 | - | |
| 75 | -include hT hη hder in | |
| 76 | -/-- The actual initial trace and L² derivative control the whole time path. -/ | |
| 77 | -theorem norm_le_initial_add (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 78 | - ‖η t‖ ≤ ‖η 0‖+Real.sqrt t*‖g‖ := by | |
| 79 | - have hi := increment_norm_le T hT g η hη hder 0 t ⟨le_rfl, hT⟩ ht ht.1 | |
| 80 | - simp only [sub_zero] at hi | |
| 81 | - calc | |
| 82 | - ‖η t‖ = ‖(η t-η 0)+η 0‖ := congrArg norm (sub_add_cancel (η t) (η 0)).symm | |
| 83 | - _ ≤ ‖η t-η 0‖+‖η 0‖ := norm_add_le _ _ | |
| 84 | - _ ≤ Real.sqrt t*‖g‖+‖η 0‖ := add_le_add hi le_rfl | |
| 85 | - _ = ‖η 0‖+Real.sqrt t*‖g‖ := add_comm _ _ | |
| 86 | - | |
| 87 | -include hT hη hder in | |
| 88 | -/-- The uniform-in-time version needed by fixed-index inverse estimates. -/ | |
| 89 | -theorem norm_le_initial_add_uniform (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 90 | - ‖η t‖ ≤ ‖η 0‖+Real.sqrt T*‖g‖ := | |
| 91 | - (norm_le_initial_add T hT g η hη hder t ht).trans | |
| 92 | - (add_le_add le_rfl (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt ht.2) (norm_nonneg g))) | |
| 93 | - | |
| 94 | 35 | end EulerTimeH1PointwiseBounds |
+0 −30 Euler/TimeH1Reconstruction.lean View file
| @@ -143,34 +143,4 @@ theorem reconstruction_contDiff (T : ℝ) (hT : 0 ≤ T) | ||
| 143 | 143 | exact ((valuePart (E := E) T hT).contDiff.comp hp).add |
| 144 | 144 | ((derivativePart (E := E) T hT).contDiff.comp hq) |
| 145 | 145 | |
| 146 | -omit [CompleteSpace E] in | |
| 147 | -/-- Every actual parameter derivative has the uniform time-trace estimate; | |
| 148 | -the trace costs a fixed polynomial multiplier, independent of the order. -/ | |
| 149 | -theorem reconstruction_gevrey (T : ℝ) (hT : 0 < T) | |
| 150 | - (p q : P → TimeLp T E) (hp : ContDiff ℝ ∞ p) (hq : ContDiff ℝ ∞ q) | |
| 151 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 152 | - (hbp : ∀ n x, ‖iteratedFDeriv ℝ n p x‖ ≤ C*majorant R d n) | |
| 153 | - (hbq : ∀ n x, ‖iteratedFDeriv ℝ n q x‖ ≤ D*majorant R d n) | |
| 154 | - (n : ℕ) (x : P) : | |
| 155 | - ‖iteratedFDeriv ℝ n (fun y => reconstruction T hT.le (p y,q y)) x‖ ≤ | |
| 156 | - ((T⁻¹*Real.sqrt T)*C + (2*Real.sqrt T)*D) * majorant R d n := by | |
| 157 | - have hvalue (k : ℕ) (y : P) : | |
| 158 | - ‖iteratedFDeriv ℝ k (fun z => valuePart T hT.le (p z)) y‖ ≤ | |
| 159 | - ((T⁻¹*Real.sqrt T)*C) * majorant R d k := by | |
| 160 | - exact (linear_bound (valuePart (E := E) T hT.le) p hp R C d hbp k y).trans | |
| 161 | - (mul_le_mul_of_nonneg_right | |
| 162 | - (mul_le_mul_of_nonneg_right (valuePart_norm_le (E := E) T hT) hC) | |
| 163 | - (majorant_nonneg R hR d k)) | |
| 164 | - have hderivative (k : ℕ) (y : P) : | |
| 165 | - ‖iteratedFDeriv ℝ k (fun z => derivativePart T hT.le (q z)) y‖ ≤ | |
| 166 | - ((2*Real.sqrt T)*D) * majorant R d k := by | |
| 167 | - exact (linear_bound (derivativePart (E := E) T hT.le) q hq R D d hbq k y).trans | |
| 168 | - (mul_le_mul_of_nonneg_right | |
| 169 | - (mul_le_mul_of_nonneg_right (derivativePart_norm_le (E := E) T hT) hD) | |
| 170 | - (majorant_nonneg R hR d k)) | |
| 171 | - exact add_bound (fun z => valuePart T hT.le (p z)) (fun z => derivativePart T hT.le (q z)) | |
| 172 | - ((valuePart (E := E) T hT.le).contDiff.comp hp) | |
| 173 | - ((derivativePart (E := E) T hT.le).contDiff.comp hq) | |
| 174 | - R ((T⁻¹*Real.sqrt T)*C) ((2*Real.sqrt T)*D) d hvalue hderivative n x | |
| 175 | - | |
| 176 | 146 | end EulerTimeH1Reconstruction |
+0 −41 Euler/TimeLpAccelerationForcing.lean View file
| @@ -41,45 +41,4 @@ theorem forcing_contDiff (T : ℝ) (hT : 0 ≤ T) | ||
| 41 | 41 | (contDiff_timeMultiplier T hT Q hQ)).clm_apply |
| 42 | 42 | (hf.sub (((contDiff_timeMultiplier T hT Q₁ hQ₁).clm_apply hv).const_smul (2 : ℝ))) |
| 43 | 43 | |
| 44 | -/-- One fixed polynomial amplitude controls all genuine forcing derivatives. -/ | |
| 45 | -theorem forcing_bound (T : ℝ) (hT : 0 ≤ T) | |
| 46 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 47 | - (f : P → TimeLp T E) (v : P → TimeLp T U) | |
| 48 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 49 | - (hf : ContDiff ℝ ∞ f) (hv : ContDiff ℝ ∞ v) | |
| 50 | - (R C₀ C₁ F V : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 51 | - (hF : 0 ≤ F) (hV : 0 ≤ V) (d : ℕ) | |
| 52 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant R 0 n) | |
| 53 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant R 0 n) | |
| 54 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ F*majorant R d n) | |
| 55 | - (hbv : ∀ n x, ‖iteratedFDeriv ℝ n v x‖ ≤ V*majorant R d n) | |
| 56 | - (n : ℕ) (x : P) : | |
| 57 | - ‖iteratedFDeriv ℝ n (forcing T hT Q Q₁ f v) x‖ ≤ | |
| 58 | - (3*C₀*(F+6*C₁*V))*majorant R d n := by | |
| 59 | - let w := fun y => timeMultiplier T hT (Q₁ y) (v y) | |
| 60 | - have hw : ContDiff ℝ ∞ w := (contDiff_timeMultiplier T hT Q₁ hQ₁).clm_apply hv | |
| 61 | - have hbw (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j w y‖ ≤ (3*C₁*V)*majorant R d j := by | |
| 62 | - simpa only [Nat.zero_add] using clm_apply_bound | |
| 63 | - (fun z => timeMultiplier T hT (Q₁ z)) v (contDiff_timeMultiplier T hT Q₁ hQ₁) hv | |
| 64 | - R C₁ V hR hC₁ hV 0 d (timeMultiplier_bound T hT Q₁ hQ₁ R C₁ hR hC₁ 0 hbQ₁) hbv j y | |
| 65 | - have hb2w (j : ℕ) (y : P) : | |
| 66 | - ‖iteratedFDeriv ℝ j (fun z => (2 : ℝ) • w z) y‖ ≤ (6*C₁*V)*majorant R d j := by | |
| 67 | - rw [iteratedFDeriv_const_smul_apply' (hw.contDiffAt.of_le (by simp)), norm_smul] | |
| 68 | - norm_num only [Real.norm_ofNat] | |
| 69 | - nlinarith [hbw j y] | |
| 70 | - let r := fun y => f y - (2 : ℝ) • w y | |
| 71 | - have hr : ContDiff ℝ ∞ r := hf.sub (hw.const_smul (2 : ℝ)) | |
| 72 | - have hbr := sub_bound f (fun y => (2 : ℝ) • w y) hf (hw.const_smul (2 : ℝ)) | |
| 73 | - R F (6*C₁*V) d hbf hb2w | |
| 74 | - have hAdj : ContDiff ℝ ∞ (fun y => (timeMultiplier T hT (Q y)).adjoint) := | |
| 75 | - (realAdjoint (U := TimeLp T U) (E := TimeLp T E)).contDiff.comp (contDiff_timeMultiplier T hT Q hQ) | |
| 76 | - have h := clm_apply_bound | |
| 77 | - (fun y => (timeMultiplier T hT (Q y)).adjoint) r hAdj hr R C₀ (F+6*C₁*V) | |
| 78 | - hR hC₀ (by positivity) 0 d | |
| 79 | - (adjoint_bound (fun y => timeMultiplier T hT (Q y)) (contDiff_timeMultiplier T hT Q hQ) | |
| 80 | - R C₀ hR hC₀ 0 (timeMultiplier_bound T hT Q hQ R C₀ hR hC₀ 0 hbQ)) hbr n x | |
| 81 | - simp only [Nat.zero_add] at h | |
| 82 | - convert h using 1 | |
| 83 | - rfl | |
| 84 | - | |
| 85 | 44 | end EulerTimeLpAccelerationForcing |
+0 −3 Euler/TimeLpBoundedMap.lean View file
| @@ -27,9 +27,6 @@ def timeLift (T : ℝ) (A : E →L[ℝ] F) : TimeLp T E →L[ℝ] TimeLp T F := | ||
| 27 | 27 | theorem timeLift_ae (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 28 | 28 | timeLift T A u =ᵐ[timeMeasure T] fun t => A (u t) := A.coeFn_compLpL u |
| 29 | 29 | |
| 30 | -theorem timeLift_apply_norm_le (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : | |
| 31 | - ‖timeLift T A u‖ ≤ ‖A‖*‖u‖ := A.norm_compLp_le u | |
| 32 | - | |
| 33 | 30 | theorem zeroExtension_timeLift (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 34 | 31 | zeroExtension T (timeLift T A u) =ᵐ[volume] fun t => A (zeroExtension T u t) := by |
| 35 | 32 | have h := (ae_eq_restrict_iff_indicator_ae_eq measurableSet_Icc).1 (timeLift_ae T A u) |
+0 −33 Euler/TimeLpGramGevrey.lean View file
| @@ -36,37 +36,4 @@ theorem gramSolution_contDiff (T : ℝ) (hT : 0 ≤ T) | ||
| 36 | 36 | (fun _ => hc) (fun x => gramOperator_coercive T hT (Q x) c (hLower x)) f |
| 37 | 37 | (gramOperator_contDiff T hT Q hQ) hf |
| 38 | 38 | |
| 39 | -/-- One factorial shift for the genuine Gram inverse, with an explicit polynomial radius condition. -/ | |
| 40 | -theorem gramSolution_gevrey (T : ℝ) (hT : 0 ≤ T) | |
| 41 | - (Q : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 42 | - (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 43 | - (hQ : ContDiff ℝ ∞ Q) | |
| 44 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 45 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant Rc 0 n) | |
| 46 | - (f : P → TimeLp T U) (hf : ContDiff ℝ ∞ f) | |
| 47 | - (D R : ℝ) (hD : 0 ≤ D) (hR : 2*gramCost c C D*(Rc+1) ≤ R) | |
| 48 | - (d : ℕ) (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 49 | - (n : ℕ) (x : P) : | |
| 50 | - ‖iteratedFDeriv ℝ n (fun y => gramSolver T hT (Q y) c hc (hLower y) (f y)) x‖ ≤ | |
| 51 | - majorant R (d+1) n := by | |
| 52 | - have hci : 0 ≤ c⁻¹ := inv_nonneg.mpr hc.le | |
| 53 | - have hM : 1 ≤ gramCost c C D := by | |
| 54 | - unfold gramCost | |
| 55 | - have : 0 ≤ c⁻¹*(3*C^2+D+1) := by positivity | |
| 56 | - linarith | |
| 57 | - have hMC : c⁻¹*(3*C^2) ≤ gramCost c C D := by | |
| 58 | - unfold gramCost | |
| 59 | - nlinarith | |
| 60 | - have hMD : c⁻¹*D ≤ gramCost c C D := by | |
| 61 | - unfold gramCost | |
| 62 | - nlinarith [sq_nonneg C] | |
| 63 | - have hb (j : ℕ) (y : P) : | |
| 64 | - ‖iteratedFDeriv ℝ (j+1) (fun z => gramOperator T hT (Q z)) y‖ ≤ | |
| 65 | - (3*C^2)*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 66 | - simpa only [majorant, Nat.add_zero] using gramOperator_bound T hT Q hQ Rc C hRc hC hbQ (j+1) y | |
| 67 | - exact coerciveSolution_gevrey_amplitudes (fun y => gramOperator T hT (Q y)) (fun _ => c) | |
| 68 | - (fun _ => hc) (fun y => gramOperator_coercive T hT (Q y) c (hLower y)) f | |
| 69 | - (gramOperator_contDiff T hT Q hQ) hf c⁻¹ (3*C^2) D (gramCost c C D) Rc R | |
| 70 | - (by positivity) hD hM hMC hMD hRc hR (fun _ => le_rfl) hb d hbf n x | |
| 71 | - | |
| 72 | 39 | end EulerTimeLpGramGevrey |
+0 −71 Euler/TimeLpPairing.lean View file
| @@ -16,75 +16,4 @@ theorem inner_eq_integral (T : ℝ) (a b : TimeLp T ℝ) : | ||
| 16 | 16 | apply integral_congr_ae |
| 17 | 17 | exact Filter.Eventually.of_forall fun t => by simp [RCLike.inner_apply, mul_comm] |
| 18 | 18 | |
| 19 | -/-- Continuous-path Bochner pairings equal the ordinary interval integral. -/ | |
| 20 | -theorem path_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) (a b : C(Icc (0 : ℝ) T, ℝ)) : | |
| 21 | - ⟪pathLp T hT a, pathLp T hT b⟫_ℝ = | |
| 22 | - ∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT b t := by | |
| 23 | - rw [inner_eq_integral] | |
| 24 | - have he : (∫ t, pathLp T hT a t*pathLp T hT b t ∂timeMeasure T) = | |
| 25 | - ∫ t in Icc 0 T, extendPath T hT a t * extendPath T hT b t := by | |
| 26 | - apply integral_congr_ae | |
| 27 | - filter_upwards [pathLp_ae T hT a, pathLp_ae T hT b] with t h1 h2 | |
| 28 | - rw [h1, h2] | |
| 29 | - rw [he, integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] | |
| 30 | - | |
| 31 | -/-- Signed integral coefficients pass continuously through uniform scalar energy convergence. -/ | |
| 32 | -theorem integral_product_path_tendsto (T : ℝ) (hT : 0 ≤ T) (a : C(Icc (0 : ℝ) T, ℝ)) | |
| 33 | - (f : ℕ → C(Icc (0 : ℝ) T, ℝ)) (g : C(Icc (0 : ℝ) T, ℝ)) | |
| 34 | - (hf : Filter.Tendsto f Filter.atTop (𝓝 g)) : | |
| 35 | - Filter.Tendsto (fun n => ∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (f n) t) | |
| 36 | - Filter.atTop (𝓝 (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT g t)) := by | |
| 37 | - have h : Filter.Tendsto (fun n => ⟪pathLp T hT a, pathLp T hT (f n)⟫_ℝ) Filter.atTop | |
| 38 | - (𝓝 ⟪pathLp T hT a, pathLp T hT g⟫_ℝ) := | |
| 39 | - Filter.Tendsto.inner tendsto_const_nhds (pathLp_tendsto T hT f g hf) | |
| 40 | - simpa only [path_inner_eq_integral] using h | |
| 41 | - | |
| 42 | -/-- Strong Bochner convergence passes signed scalar weighted integrals to their actual limit. -/ | |
| 43 | -theorem integral_product_timeLp_tendsto (T : ℝ) (a : TimeLp T ℝ) | |
| 44 | - (f : ℕ → TimeLp T ℝ) (g : TimeLp T ℝ) | |
| 45 | - (hf : Filter.Tendsto f Filter.atTop (𝓝 g)) : | |
| 46 | - Filter.Tendsto (fun n => ∫ t, a t*f n t ∂timeMeasure T) Filter.atTop | |
| 47 | - (𝓝 (∫ t, a t*g t ∂timeMeasure T)) := by | |
| 48 | - have h : Filter.Tendsto (fun n => ⟪a, f n⟫_ℝ) Filter.atTop (𝓝 ⟪a, g⟫_ℝ) := | |
| 49 | - Filter.Tendsto.inner tendsto_const_nhds hf | |
| 50 | - simpa only [inner_eq_integral] using h | |
| 51 | - | |
| 52 | -/-- Three continuous weighted scalar paths have the literal additive interval integral. -/ | |
| 53 | -theorem integral_three_paths (T : ℝ) (hT : 0 ≤ T) | |
| 54 | - (a b c x y f : C(Icc (0 : ℝ) T, ℝ)) : | |
| 55 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t + | |
| 56 | - extendPath T hT b t * extendPath T hT y t + extendPath T hT c t * extendPath T hT f t) = | |
| 57 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t) + | |
| 58 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT y t) + | |
| 59 | - ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT f t := by | |
| 60 | - have ha := ((extendPath_continuous T hT a).mul (extendPath_continuous T hT x)).intervalIntegrable (μ := volume) 0 T | |
| 61 | - have hb := ((extendPath_continuous T hT b).mul (extendPath_continuous T hT y)).intervalIntegrable (μ := volume) 0 T | |
| 62 | - have hc := ((extendPath_continuous T hT c).mul (extendPath_continuous T hT f)).intervalIntegrable (μ := volume) 0 T | |
| 63 | - change IntervalIntegrable (fun t => extendPath T hT a t * extendPath T hT x t) volume 0 T at ha | |
| 64 | - change IntervalIntegrable (fun t => extendPath T hT b t * extendPath T hT y t) volume 0 T at hb | |
| 65 | - change IntervalIntegrable (fun t => extendPath T hT c t * extendPath T hT f t) volume 0 T at hc | |
| 66 | - rw [intervalIntegral.integral_add (ha.add hb) hc, intervalIntegral.integral_add ha hb] | |
| 67 | - | |
| 68 | -/-- An actual integral energy inequality survives uniform state convergence and strong L² forcing convergence, with the signed loss term unchanged. -/ | |
| 69 | -theorem integral_energy_limit (T : ℝ) (hT : 0 ≤ T) | |
| 70 | - (a b : C(Icc (0 : ℝ) T, ℝ)) (c : TimeLp T ℝ) | |
| 71 | - (X Y : ℕ → C(Icc (0 : ℝ) T, ℝ)) (F : ℕ → TimeLp T ℝ) | |
| 72 | - (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) | |
| 73 | - (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) | |
| 74 | - (hF : Filter.Tendsto F Filter.atTop (𝓝 f)) | |
| 75 | - (henergy : ∀ n, X n ⟨T, hT, le_rfl⟩ - X n ⟨0, le_rfl, hT⟩ ≤ | |
| 76 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (X n) t) + | |
| 77 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (Y n) t) + | |
| 78 | - ∫ t, c t * F n t ∂timeMeasure T) : | |
| 79 | - x ⟨T, hT, le_rfl⟩ - x ⟨0, le_rfl, hT⟩ ≤ | |
| 80 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t) + | |
| 81 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT y t) + | |
| 82 | - ∫ t, c t * f t ∂timeMeasure T := by | |
| 83 | - have ht := (continuous_eval_const (⟨T, hT, le_rfl⟩ : Icc (0 : ℝ) T)).continuousAt.tendsto.comp hX | |
| 84 | - have h0 := (continuous_eval_const (⟨0, le_rfl, hT⟩ : Icc (0 : ℝ) T)).continuousAt.tendsto.comp hX | |
| 85 | - exact le_of_tendsto_of_tendsto' (ht.sub h0) | |
| 86 | - (((integral_product_path_tendsto T hT a X x hX).add | |
| 87 | - (integral_product_path_tendsto T hT b Y y hY)).add | |
| 88 | - (integral_product_timeLp_tendsto T c F f hF)) henergy | |
| 89 | - | |
| 90 | 19 | end EulerTimeLpPairing |
+0 −50 Euler/TimeLpStrongContinuity.lean View file
| @@ -17,54 +17,4 @@ open scoped Topology | ||
| 17 | 17 | |
| 18 | 18 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | 19 | |
| 20 | -/-- A pointwise formula for the square distance between two genuine lifted fields. -/ | |
| 21 | -theorem timeLift_norm_sub_sq (T : ℝ) (A B : E →L[ℝ] E) (u : TimeLp T E) : | |
| 22 | - ‖timeLift T A u-timeLift T B u‖^2 = | |
| 23 | - ∫ t, ‖A (u t)-B (u t)‖^2 ∂timeMeasure T := by | |
| 24 | - refine (norm_sq_eq_integral T (timeLift T A u-timeLift T B u)).trans ?_ | |
| 25 | - apply integral_congr_ae | |
| 26 | - filter_upwards [Lp.coeFn_sub (timeLift T A u) (timeLift T B u), | |
| 27 | - timeLift_ae T A u, timeLift_ae T B u] with t hs ha hb | |
| 28 | - simp only [Pi.sub_apply, ha, hb] at hs | |
| 29 | - exact congrArg (fun v : E => ‖v‖^2) hs | |
| 30 | - | |
| 31 | -/-- A strongly continuous family of spatial isometries remains strongly | |
| 32 | -continuous on the genuine Bochner time space. -/ | |
| 33 | -theorem timeLift_strongly_continuous {X : Type*} [TopologicalSpace X] | |
| 34 | - [FirstCountableTopology X] (T : ℝ) (A : X → E →L[ℝ] E) | |
| 35 | - (hA : ∀ x v, ‖A x v‖ = ‖v‖) | |
| 36 | - (hc : ∀ v, Continuous (fun x => A x v)) (u : TimeLp T E) : | |
| 37 | - Continuous (fun x => timeLift T (A x) u) := by | |
| 38 | - apply continuous_iff_continuousAt.2 | |
| 39 | - intro x₀ | |
| 40 | - let g : X → ℝ → ℝ := fun x t => ‖A x (u t)-A x₀ (u t)‖^2 | |
| 41 | - have hm (x : X) : AEStronglyMeasurable (g x) (timeMeasure T) := by | |
| 42 | - exact (((A x).continuous.comp_aestronglyMeasurable (Lp.aestronglyMeasurable u)).sub | |
| 43 | - ((A x₀).continuous.comp_aestronglyMeasurable (Lp.aestronglyMeasurable u))).norm.pow 2 | |
| 44 | - have hb (x : X) (t : ℝ) : ‖g x t‖ ≤ 4*‖u t‖^2 := by | |
| 45 | - have hn : ‖A x (u t)-A x₀ (u t)‖ ≤ 2*‖u t‖ := by | |
| 46 | - calc | |
| 47 | - _ ≤ ‖A x (u t)‖+‖A x₀ (u t)‖ := norm_sub_le _ _ | |
| 48 | - _ = 2*‖u t‖ := by rw [hA, hA]; ring | |
| 49 | - calc | |
| 50 | - ‖g x t‖ = ‖A x (u t)-A x₀ (u t)‖^2 := Real.norm_of_nonneg (sq_nonneg _) | |
| 51 | - _ ≤ (2*‖u t‖)^2 := pow_le_pow_left₀ (norm_nonneg _) hn 2 | |
| 52 | - _ = 4*‖u t‖^2 := by ring | |
| 53 | - have hi : Integrable (fun t => 4*‖u t‖^2) (timeMeasure T) := | |
| 54 | - ((Lp.memLp u).integrable_norm_pow (by norm_num)).const_mul 4 | |
| 55 | - have hl (t : ℝ) : Tendsto (fun x => g x t) (𝓝 x₀) (𝓝 (0 : ℝ)) := by | |
| 56 | - have h := (((hc (u t)).tendsto x₀).sub_const (A x₀ (u t))).norm.pow 2 | |
| 57 | - simpa only [sub_self, norm_zero, zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using h | |
| 58 | - have hint : Tendsto (fun x => ∫ t, g x t ∂timeMeasure T) (𝓝 x₀) (𝓝 (0 : ℝ)) := by | |
| 59 | - simpa only [integral_zero] using | |
| 60 | - (tendsto_integral_filter_of_dominated_convergence (fun t => 4*‖u t‖^2) | |
| 61 | - (Eventually.of_forall hm) (Eventually.of_forall (fun x => Eventually.of_forall (hb x))) hi | |
| 62 | - (Eventually.of_forall hl)) | |
| 63 | - have hs : Tendsto (fun x => ‖timeLift T (A x) u-timeLift T (A x₀) u‖^2) | |
| 64 | - (𝓝 x₀) (𝓝 (0 : ℝ)) := by | |
| 65 | - exact hint.congr' (Eventually.of_forall (fun x => (timeLift_norm_sub_sq T (A x) (A x₀) u).symm)) | |
| 66 | - apply tendsto_iff_norm_sub_tendsto_zero.2 | |
| 67 | - have hroot := Real.continuous_sqrt.continuousAt.tendsto.comp hs | |
| 68 | - simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hroot | |
| 69 | - | |
| 70 | 20 | end EulerTimeLpBoundedMap |
+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 −18 Euler/VorticityTransport.lean View file
| @@ -93,22 +93,4 @@ theorem transport_eq_zero_along_trajectory | ||
| 93 | 93 | · exact hzero |
| 94 | 94 | · exact ht |
| 95 | 95 | |
| 96 | -omit [InnerProductSpace ℝ E] in | |
| 97 | -/-- Compact initial support remains in its compact image whenever zero | |
| 98 | -initial values are propagated along every trajectory and the flow has a | |
| 99 | -right inverse at the specified time. -/ | |
| 100 | -theorem tsupport_subset_flow_image | |
| 101 | - (ω : ℝ → E → E) (X : ℝ → E → E) (Y : E → E) (t : ℝ) | |
| 102 | - (hc : HasCompactSupport (ω 0)) (hX : Continuous (X t)) | |
| 103 | - (hXY : ∀ x, X t (Y x) = x) | |
| 104 | - (hzero : ∀ a, ω 0 a = 0 → ω t (X t a) = 0) : | |
| 105 | - tsupport (ω t) ⊆ X t '' tsupport (ω 0) := by | |
| 106 | - apply closure_minimal _ (hc.image hX).isClosed | |
| 107 | - intro x hx | |
| 108 | - by_contra hnot | |
| 109 | - have hz : ω 0 (Y x) = 0 := by | |
| 110 | - by_contra hnz | |
| 111 | - exact hnot ⟨Y x, subset_tsupport _ hnz, hXY x⟩ | |
| 112 | - exact hx (by simpa only [hXY x] using hzero (Y x) hz) | |
| 113 | - | |
| 114 | 96 | end Euler.ComparatorBridge |
+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] Checks can arrive in one batch: 35 heads on `s1-*` branches took challenge passes 20:02–20:07, each reading 2,588 files and its own tree's 535,952–537,699 lines, and 19 build successes on `s1-ns-*` heads landed 21:41–21:58, 17 more at 22:08–22:28 (commit 4c91414, commit 092df93). | |
| 20 | +- Main advances several commits a minute: 25 challenge successes on main landed 22:45–22:50 and 13 build successes 22:45–22:54, after 19 challenge successes 21:41–21:58, so a tip named in a reading already trails them (commit a716ddf, commit cc9ff43, commit 8f7dec3). | |
| 21 | +- A pending build is a queue, not a failure: three batches of 50 builds, submitted 19:58–20:08, 20:03–20:53 and 21:14–21:56, had all started, the last by 22:33 after waits up to 37 minutes, and 4c91414 got its build success at 21:53 (job 4440, job 4695, commit 4c91414). | |
| 22 | +- A challenge verdict counts its own head's tree, so counts drift as main shrinks: 2,588 files and 537,195–543,767 lines at 19:21–19:32, 522,484–523,968 at 22:08–22:28, 509,509–520,268 at 22:45–22:50 (commit 8f7dec3, commit c4c7f0b). | |
| 23 | +- A challenge pass says nothing about the build: 509d828 passed challenge at 17:35 and failed its build at 17:39 (`Invalid field angularContinuous`); c4c7f0b passed challenge at 22:50 and its build is still queued (commit 509d828, commit c4c7f0b, job 4792). | |
| 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 −6 NavierStokes/ActivationContinuation.lean View file
| @@ -1979,12 +1979,6 @@ variable {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | ||
| 1979 | 1979 | {hΛ : 0 < Λ} {hsmall : NaturalAxisData.SmallParameters h j} |
| 1980 | 1980 | {hP0 : ContDiff ℝ ∞ P0} (r : RampParameters F hΛ hsmall hP0) |
| 1981 | 1981 | |
| 1982 | -noncomputable def endpointAxial : ℝ → ℝ := | |
| 1983 | - r.reference.endpointU r.actTime r.kappa r.widthU | |
| 1984 | - | |
| 1985 | -noncomputable def endpointLogarithm : ℝ → ℝ := | |
| 1986 | - r.reference.endpointLog r.actTime r.kappa r.widthU r.widthA C | |
| 1987 | - | |
| 1988 | 1982 | theorem initial_fields {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterval) |
| 1989 | 1983 | (hX : p.1 ≤ (ReferencePath.Input.ofNatural hΛ F).endpoint * Real.exp r.refTime) : |
| 1990 | 1984 | r.profiles.f p = StressActivation.FromReference.f (ReferencePath.Input.ofNatural hΛ F) |
+0 −122 NavierStokes/ActiveAnnulusWeight.lean View file
| @@ -587,16 +587,6 @@ theorem exists_radial_derivative_bound {K : Set E} (hK : IsCompact K) | ||
| 587 | 587 | dsimp [C] |
| 588 | 588 | ring |
| 589 | 589 | |
| 590 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℝ V] in | |
| 591 | -theorem radial_lower_bound {K : Set E} {a b c m : ℝ} {T : E × ℝ → V} | |
| 592 | - (hlower : ∀ p ∈ K, ∀ y ∈ Ioo a b, m * weight c a b y ≤ ‖T (p,y)‖) | |
| 593 | - {p : E} (hp : p ∈ K) {X : ℝ} (hX : X ∈ Ioo (Real.exp a) (Real.exp b)) : | |
| 594 | - m * radialWeight c a b X ≤ ‖radialPullback T (p,X)‖ := by | |
| 595 | - have hXp : 0 < X := (Real.exp_pos a).trans hX.1 | |
| 596 | - rw [radialWeight,ite_eq_left hXp] | |
| 597 | - exact hlower p hp (Real.log X) | |
| 598 | - ⟨(Real.lt_log_iff_exp_lt hXp).2 hX.1,(Real.log_lt_iff_lt_exp hXp).2 hX.2⟩ | |
| 599 | - | |
| 600 | 590 | /-- The complete estimates in both fixed profile charts. -/ |
| 601 | 591 | noncomputable def WeightedBounds (K : Set E) (c a b : ℝ) (T : E × ℝ → V) : Prop := |
| 602 | 592 | (∃ m : ℝ, 0 < m ∧ ∀ p ∈ K, ∀ y ∈ Ioo a b, m * weight c a b y ≤ ‖T (p,y)‖) ∧ |
| @@ -643,9 +633,6 @@ theorem tilt_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : tilt (r • v) = t | ||
| 643 | 633 | simp only [tilt,Prod.smul_fst,Prod.smul_snd,smul_eq_mul] |
| 644 | 634 | exact mul_div_mul_left _ _ hr |
| 645 | 635 | |
| 646 | -theorem direction_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : direction (r • v) = direction v := by | |
| 647 | - simp only [direction,tilt_smul hr] | |
| 648 | - | |
| 649 | 636 | theorem direction_smooth {O : Set (E × ℝ)} {B : E × ℝ → ℝ × ℝ} |
| 650 | 637 | (hB : ContDiffOn ℝ ∞ B O) (hne : ∀ q ∈ O, (B q).1 ≠ 0) : |
| 651 | 638 | ContDiffOn ℝ ∞ (fun q => direction (B q)) O := |
| @@ -681,36 +668,6 @@ theorem compact_positive_collar {K : Set E} (hK : IsCompact K) | ||
| 681 | 668 | have hpos : 0 < g (p,x) := (hdom (show (p,x) ∈ K ×ˢ Icc (0 : ℝ) d from ⟨hp,hx⟩)).2 |
| 682 | 669 | simpa only [Real.norm_eq_abs,abs_of_pos hpos] using hh |
| 683 | 670 | |
| 684 | -/-- A positive angular edge factor yields a genuine smooth unit direction | |
| 685 | -for the stress, even where the stress itself vanishes at the edge. -/ | |
| 686 | -theorem EdgeFactor.direction_collar {K : Set E} (hK : IsCompact K) {c : ℝ} | |
| 687 | - {T : E × ℝ → ℝ × ℝ} (F : EdgeFactor K c T) | |
| 688 | - (hfirst : ∀ p ∈ K, 0 < (F.coefficient (p,0)).1) : | |
| 689 | - ∃ d : ℝ, ∃ W : Set (E × ℝ), 0 < d ∧ d < F.width ∧ IsOpen W ∧ | |
| 690 | - K ×ˢ Icc (0 : ℝ) d ⊆ W ∧ | |
| 691 | - ContDiffOn ℝ ∞ (fun q => direction (F.coefficient q)) W ∧ | |
| 692 | - (∀ p ∈ K, ∀ x : ℝ, 0 < x → x ≤ d → | |
| 693 | - direction (T (p,x)) = direction (F.coefficient (p,x))) ∧ | |
| 694 | - (∀ p ∈ K, ∀ x : ℝ, 0 < x → x ≤ d → 0 < (T (p,x)).1) := by | |
| 695 | - obtain ⟨d0,ε,hd0,hε,hdom,hbound⟩ := compact_positive_collar hK F.domain_open | |
| 696 | - F.smooth.fst.continuousOn F.boundary_mem hfirst | |
| 697 | - let W := {q | q ∈ F.domain ∧ 0 < (F.coefficient q).1} | |
| 698 | - let d := min d0 (F.width/2) | |
| 699 | - have hd : 0 < d := lt_min hd0 (half_pos F.width_pos) | |
| 700 | - have hdd : d ≤ d0 := min_le_left _ _ | |
| 701 | - have hdw : d < F.width := (min_le_right _ _).trans_lt (half_lt_self F.width_pos) | |
| 702 | - have hpos (p : E) (hp : p ∈ K) (x : ℝ) (hx : x ∈ Icc (0 : ℝ) d) : | |
| 703 | - 0 < (F.coefficient (p,x)).1 := hε.trans_le (hbound p hp x ⟨hx.1,hx.2.trans hdd⟩) | |
| 704 | - refine ⟨d,W,hd,hdw,positive_domain_open F.domain_open F.smooth.fst.continuousOn,?_,?_,?_,?_⟩ | |
| 705 | - · exact fun q hq => ⟨hdom ⟨hq.1,hq.2.1,hq.2.2.trans hdd⟩,hpos q.1 hq.1 q.2 hq.2⟩ | |
| 706 | - · exact direction_smooth (F.smooth.mono (fun _ hq => hq.1)) (fun _ hq => hq.2.ne') | |
| 707 | - · intro p hp x hx hxd | |
| 708 | - rw [F.identity p hp x hx (hxd.trans_lt hdw)] | |
| 709 | - exact direction_smul (div_pos (FlatCutoff.edge_pos _ hx) (pow_pos hx _)).ne' _ | |
| 710 | - · intro p hp x hx hxd | |
| 711 | - rw [F.identity p hp x hx (hxd.trans_lt hdw),Prod.smul_fst,smul_eq_mul] | |
| 712 | - exact mul_pos (div_pos (FlatCutoff.edge_pos _ hx) (pow_pos hx _)) (hpos p hp x ⟨hx.le,hxd⟩) | |
| 713 | - | |
| 714 | 671 | noncomputable def directionProjection (s t : ℝ) : ℝ := 1+s*t |
| 715 | 672 | noncomputable def directionGap (v s t : ℝ) : ℝ := 2*(directionProjection s t)^2 - (v-2)*(t-s)^2 |
| 716 | 673 | |
| @@ -1048,85 +1005,6 @@ theorem exists_natural_activation_factor_aligned {h j σ Λ C : ℝ} {P0 : ℝ | ||
| 1048 | 1005 | (div_pos (sub_pos.mpr hκ) (stepDenominator_pos T 0)).ne',hedge] |
| 1049 | 1006 | exact mul_div_mul_left _ _ (Real.exp_pos _).ne' |
| 1050 | 1007 | |
| 1051 | -/-- The initial ACT stress has a genuine smooth unit-direction extension and | |
| 1052 | -a strict cone margin relative to its actual shear. -/ | |
| 1053 | -theorem natural_activation_strict_direction {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1054 | - {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} | |
| 1055 | - (hΛ : 0 < Λ) (F : NaturalEntrance.EntranceProfile d Λ C) | |
| 1056 | - (hP0 : ContDiff ℝ ∞ P0) (hsmall : NaturalAxisData.SmallParameters h j) | |
| 1057 | - {δ : ℝ} (hδ : 0 < δ) (hδlim : 2*δ < ReferencePath.rampLimit) | |
| 1058 | - {T κ : ℝ} (hT : 0 < T) (hκ : κ < 1) : | |
| 1059 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1060 | - let L := FromReference.refLog N δ | |
| 1061 | - let U := FromReference.refAxial N δ | |
| 1062 | - let I := ActivationStocks.FromReference.initial N hδ hδlim P0 hP0 | |
| 1063 | - let S := fun q : ℝ × ℝ => activatedStress h N.endpoint I L U T κ (q.2,q.1) | |
| 1064 | - ∃ G : EdgeFactor (Icc (-1 : ℝ) 1) (T^2) S, | |
| 1065 | - HasStrictDirectionCollar (Icc (-1 : ℝ) 1) S G.coefficient | |
| 1066 | - (fun q => shearSize T κ N.endpoint L U (q.2,q.1)) | |
| 1067 | - (fun q => shearSlope T κ N.endpoint L U (q.2,q.1)) G.width := by | |
| 1068 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1069 | - let L := FromReference.refLog N δ | |
| 1070 | - let U := FromReference.refAxial N δ | |
| 1071 | - have hL := FromReference.refLog_smooth N hδ hδlim | |
| 1072 | - have hU := FromReference.refAxial_smooth N hδ hδlim | |
| 1073 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ ReferencePath.parameterInterval := | |
| 1074 | - NaturalAxisCoefficients.original_interval_interior | |
| 1075 | - obtain ⟨G,hGfirst,hGalign⟩ := exists_natural_activation_factor_aligned hΛ F hP0 hsmall hδ hδlim hT hκ | |
| 1076 | - obtain ⟨τ,α,M,hτ,_,hα,_,hb⟩ := natural_reference_bounds hΛ F hδ hδlim | |
| 1077 | - have hA0 : ∀ η ∈ Icc (-1 : ℝ) 1, 0 < referenceP1 L (0,η) := by | |
| 1078 | - intro η hη | |
| 1079 | - exact hα.trans_le (hb 0 ⟨le_rfl,hτ.le⟩ η hη).1 | |
| 1080 | - obtain ⟨O,hO,hKO,hv,hs⟩ := actual_shear_domain hT κ N.endpoint_pos | |
| 1081 | - ReferencePath.parameterInterval_open hKJ hL hU hA0 | |
| 1082 | - refine ⟨G,G.aligned_collar isCompact_Icc hGfirst hO hKO hv.continuousOn hs.continuousOn ?_⟩ | |
| 1083 | - intro η hη | |
| 1084 | - obtain ⟨hAz,hBz⟩ := actual_shear_coordinates_zero hT κ N.endpoint_pos | |
| 1085 | - ReferencePath.parameterInterval_open hL hU (hKJ hη) | |
| 1086 | - rw [hGalign η hη] | |
| 1087 | - change referenceP2 N.endpoint L U (0,η) / referenceP1 L (0,η) = | |
| 1088 | - actualP2 T κ N.endpoint L U (0,η) / actualP1 T κ L (0,η) | |
| 1089 | - rw [hAz,hBz] | |
| 1090 | - | |
| 1091 | -theorem natural_activation_true_direction {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1092 | - {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} | |
| 1093 | - (hΛ : 0 < Λ) (F : NaturalEntrance.EntranceProfile d Λ C) | |
| 1094 | - (hP0 : ContDiff ℝ ∞ P0) (hsmall : NaturalAxisData.SmallParameters h j) | |
| 1095 | - {δ : ℝ} (hδ : 0 < δ) (hδlim : 2*δ < ReferencePath.rampLimit) | |
| 1096 | - {T κ : ℝ} (hT : 0 < T) (hκ : κ < 1) : | |
| 1097 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1098 | - let L := FromReference.refLog N δ | |
| 1099 | - let U := FromReference.refAxial N δ | |
| 1100 | - let I := ActivationStocks.FromReference.initial N hδ hδlim P0 hP0 | |
| 1101 | - let S := fun q : ℝ × ℝ => activatedStress h N.endpoint I L U T κ (q.2,q.1) | |
| 1102 | - ∃ G : EdgeFactor (Icc (-1 : ℝ) 1) (T^2) S, | |
| 1103 | - HasTrueDirectionCollar (Icc (-1 : ℝ) 1) S G.coefficient | |
| 1104 | - (fun q => shearSize T κ N.endpoint L U (q.2,q.1)) | |
| 1105 | - (fun q => shearSlope T κ N.endpoint L U (q.2,q.1)) G.width := by | |
| 1106 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1107 | - let L := FromReference.refLog N δ | |
| 1108 | - let U := FromReference.refAxial N δ | |
| 1109 | - have hL := FromReference.refLog_smooth N hδ hδlim | |
| 1110 | - have hU := FromReference.refAxial_smooth N hδ hδlim | |
| 1111 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ ReferencePath.parameterInterval := | |
| 1112 | - NaturalAxisCoefficients.original_interval_interior | |
| 1113 | - obtain ⟨G,hdir⟩ := natural_activation_strict_direction hΛ F hP0 hsmall hδ hδlim hT hκ | |
| 1114 | - obtain ⟨τ,α,M,hτ,_,hα,_,hb⟩ := natural_reference_bounds hΛ F hδ hδlim | |
| 1115 | - have hA0 : ∀ η ∈ Icc (-1 : ℝ) 1, 0 < referenceP1 L (0,η) := by | |
| 1116 | - intro η hη | |
| 1117 | - exact hα.trans_le (hb 0 ⟨le_rfl,hτ.le⟩ η hη).1 | |
| 1118 | - obtain ⟨O,hO,hKO,hv,hs⟩ := actual_shear_domain hT κ N.endpoint_pos | |
| 1119 | - ReferencePath.parameterInterval_open hKJ hL hU hA0 | |
| 1120 | - refine ⟨G,hdir.true_of_speed isCompact_Icc hO hKO hv.continuousOn ?_⟩ | |
| 1121 | - intro η hη | |
| 1122 | - obtain ⟨hAz,hBz⟩ := actual_shear_coordinates_zero hT κ N.endpoint_pos | |
| 1123 | - ReferencePath.parameterInterval_open hL hU (hKJ hη) | |
| 1124 | - change 2 < shearSize T κ N.endpoint L U (0,η) | |
| 1125 | - unfold shearSize | |
| 1126 | - rw [hAz,hBz] | |
| 1127 | - have hh := (hb 0 ⟨le_rfl,hτ.le⟩ η hη).2.1 | |
| 1128 | - linarith | |
| 1129 | - | |
| 1130 | 1008 | end ActualActivation |
| 1131 | 1009 | |
| 1132 | 1010 | section ActualTerminal |
+0 −128 NavierStokes/ActualBasePressureBounds.lean View file
| @@ -12,140 +12,12 @@ namespace NavierStokes.ActualBasePressureBounds | ||
| 12 | 12 | |
| 13 | 13 | open ProblemStatement SlowBorelBase BaseResidual DiagonalResidual ActualBaseVelocityBounds |
| 14 | 14 | |
| 15 | -def pressureLoss (m : ℕ) : ℝ := 4 * ((m : ℝ) + 1) | |
| 16 | - | |
| 17 | -theorem pressureLoss_nonneg (m : ℕ) : 0 ≤ pressureLoss m := by | |
| 18 | - unfold pressureLoss | |
| 19 | - positivity | |
| 20 | - | |
| 21 | -theorem pressureLoss_controls_core {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : | |
| 22 | - -pressureLoss m ≤ -2 * CoordinateAlgebra.A h - 2 * m := by | |
| 23 | - unfold pressureLoss CoordinateAlgebra.A | |
| 24 | - have hm : 0 ≤ (m : ℝ) := by positivity | |
| 25 | - linarith | |
| 26 | - | |
| 27 | 15 | section Actual |
| 28 | 16 | |
| 29 | 17 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 30 | 18 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 31 | 19 | (v : ModulatedProfileAssembly.Witness ld) |
| 32 | 20 | |
| 33 | -theorem actual_bounded_rate (upper : ℝ) (B : ℕ) {l : Filter SpaceTime} | |
| 34 | - (hl : l ≤ endpoint) | |
| 35 | - (hbox : ∀ᶠ z in l, (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper) | |
| 36 | - (m : ℕ) : | |
| 37 | - FiniteJetRate l (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) | |
| 38 | - m (-2 * CoordinateAlgebra.A F.data.h - 2 * m) := by | |
| 39 | - let A := boundedApproach F.data.h_pos F.data.h_lt_half hl (FinalSlowBase.boxRadius W upper) hbox | |
| 40 | - have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ hz => ⟨hz, mem_univ _⟩) | |
| 41 | - have hq := A.positive_small F.data.h_pos F.data.h_lt_half | |
| 42 | - have hd := FinalSlowBase.coefficients_smooth H v | |
| 43 | - have ha := FinalSlowBase.scales_admissible H v upper B | |
| 44 | - have hr := pressure_prefix_rate F.data.h_pos F.data.h_lt_half A hd ha m m (by omega) | |
| 45 | - have hs := cartesian_prefix_growth F.data.h_pos F.data.h_lt_half A | |
| 46 | - (bundleComponent_smooth hd W.axis.normalization 2) (-2 * CoordinateAlgebra.A F.data.h) m m | |
| 47 | - have hr' := finiteRate_weaken hr hq (show -2 * CoordinateAlgebra.A F.data.h - 2 * m ≤ | |
| 48 | - F.data.h * ((m : ℝ) + 1) - 2 * CoordinateAlgebra.A F.data.h - 2 * m by | |
| 49 | - have hm : 0 ≤ F.data.h * ((m : ℝ) + 1) := mul_nonneg F.data.h_pos.le (by positivity) | |
| 50 | - linarith) | |
| 51 | - have hs' := finiteRate_weaken hs hq (show -2 * CoordinateAlgebra.A F.data.h - 2 * m ≤ | |
| 52 | - -2 * CoordinateAlgebra.A F.data.h - m by | |
| 53 | - have hm : 0 ≤ (m : ℝ) := by positivity | |
| 54 | - linarith) | |
| 55 | - have hps := cartesianUncutPrefix_smooth (b := -2 * CoordinateAlgebra.A F.data.h) | |
| 56 | - F.data.h_pos F.data.h_lt_half | |
| 57 | - (bundleComponent_smooth hd W.axis.normalization 2) m | |
| 58 | - have hsum := finiteRate_add hr' hs' past_isOpen hp | |
| 59 | - ((FinalSlowBase.pressure_smooth H v upper B).sub hps) hps | |
| 60 | - simp only [prefixPressure, sub_add_cancel] at hsum | |
| 61 | - exact hsum | |
| 62 | - | |
| 63 | -theorem actual_leading_eq (upper : ℝ) (B : ℕ) : | |
| 64 | - EqOn (FinalSlowBase.pressure H v upper B) | |
| 65 | - (cartesianMonomial F.data.h (-2 * CoordinateAlgebra.A F.data.h) | |
| 66 | - ((FinalSlowBase.coefficients H v).pressure 0)) | |
| 67 | - (BaseExterior.cartesianExterior F.data.h (AssembledSlowBase.nominalOuterX W)) := by | |
| 68 | - intro z hz | |
| 69 | - exact BaseExterior.exterior_pressure_eq_leading F.data.h_pos F.data.h_lt_half | |
| 70 | - (actual_exterior_coefficients H v) hz | |
| 71 | - | |
| 72 | -theorem actual_middle_rate (upper : ℝ) (B : ℕ) {l : Filter SpaceTime} | |
| 73 | - (hl : l ≤ endpoint) {R : ℝ} | |
| 74 | - (hR : ∀ᶠ z in l, (cartesianChart F.data.h z).2.1 ≤ R) | |
| 75 | - (houter : ∀ᶠ z in l, AssembledSlowBase.nominalOuterX W < (cartesianChart F.data.h z).2.1) | |
| 76 | - (m : ℕ) : | |
| 77 | - FiniteJetRate l (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) | |
| 78 | - m (-2 * CoordinateAlgebra.A F.data.h - m) := by | |
| 79 | - let A := boundedApproach F.data.h_pos F.data.h_lt_half hl R hR | |
| 80 | - have hr := monomial_rate F.data.h_pos F.data.h_lt_half A | |
| 81 | - ((FinalSlowBase.coefficients_smooth H v).pressure 0) (-2 * CoordinateAlgebra.A F.data.h) m | |
| 82 | - exact finiteRate_congr_on hr | |
| 83 | - (BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half _) | |
| 84 | - ((endpoint_past.filter_mono hl).and houter) (actual_leading_eq H v upper B).symm | |
| 85 | - | |
| 86 | -/-- Separate the finite coefficient region from the literal heat exterior. | |
| 87 | -The heat estimate is consumed at its actual exponent without changing the | |
| 88 | -Borel schedule or imposing a bound on similarity radius. -/ | |
| 89 | -theorem pressure_rate_of_heat (upper : ℝ) (B m : ℕ) | |
| 90 | - (hheat : ∀ (l : Filter SpaceTime), l ≤ endpoint → | |
| 91 | - (∀ᶠ z in l, BaseExterior.nominalExteriorRadius W < (cartesianChart F.data.h z).2.1) → | |
| 92 | - JetRate l (PhysicalWaveSum.physicalQ F.data.h) | |
| 93 | - (BaseExterior.heatPressureField (BaseExterior.nominalHeatNormalization W) F.data.h) | |
| 94 | - m (-pressureLoss m)) : | |
| 95 | - JetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) | |
| 96 | - m (-pressureLoss m) := by | |
| 97 | - let S : Set SpaceTime := {z | (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper} | |
| 98 | - have hq := endpoint_q_small F.data.h_pos F.data.h_lt_half | |
| 99 | - apply rate_glue (S := S) (hq.mono (fun _ hz => hz.1)) | |
| 100 | - · have hr := actual_bounded_rate H v upper B | |
| 101 | - (show endpoint ⊓ 𝓟 S ≤ endpoint from inf_le_left) | |
| 102 | - (show ∀ᶠ z in endpoint ⊓ 𝓟 S, | |
| 103 | - (cartesianChart F.data.h z).2.1 ≤ FinalSlowBase.boxRadius W upper from restricted_mem endpoint S) m | |
| 104 | - exact (finiteRate_at hr le_rfl).weaken (hq.filter_mono inf_le_left) | |
| 105 | - (pressureLoss_controls_core F.data.h_lt_half m) | |
| 106 | - · let l := endpoint ⊓ 𝓟 Sᶜ | |
| 107 | - have hl : l ≤ endpoint := inf_le_left | |
| 108 | - have ho : ∀ᶠ z in l, | |
| 109 | - AssembledSlowBase.nominalOuterX W < (cartesianChart F.data.h z).2.1 := | |
| 110 | - (restricted_mem endpoint Sᶜ).mono (fun _ hz => | |
| 111 | - (outer_lt_box (W := W) upper).trans (lt_of_not_ge hz)) | |
| 112 | - let T : Set SpaceTime := {z | (cartesianChart F.data.h z).2.1 ≤ BaseExterior.nominalExteriorRadius W} | |
| 113 | - apply rate_glue (S := T) ((hq.filter_mono hl).mono (fun _ hz => hz.1)) | |
| 114 | - · have hr := actual_middle_rate H v upper B (show l ⊓ 𝓟 T ≤ endpoint from inf_le_left.trans hl) | |
| 115 | - (show ∀ᶠ z in l ⊓ 𝓟 T, | |
| 116 | - (cartesianChart F.data.h z).2.1 ≤ BaseExterior.nominalExteriorRadius W from restricted_mem l T) | |
| 117 | - (ho.filter_mono inf_le_left) m | |
| 118 | - apply (finiteRate_at hr le_rfl).weaken (hq.filter_mono (inf_le_left.trans hl)) | |
| 119 | - have hc := pressureLoss_controls_core F.data.h_lt_half m | |
| 120 | - have hm : 0 ≤ (m : ℝ) := by positivity | |
| 121 | - linarith | |
| 122 | - · have hl' : l ⊓ 𝓟 Tᶜ ≤ endpoint := inf_le_left.trans hl | |
| 123 | - have hR : ∀ᶠ z in l ⊓ 𝓟 Tᶜ, | |
| 124 | - BaseExterior.nominalExteriorRadius W < (cartesianChart F.data.h z).2.1 := | |
| 125 | - (restricted_mem l Tᶜ).mono (fun _ hz => lt_of_not_ge hz) | |
| 126 | - exact (hheat _ hl' hR).congr_on | |
| 127 | - (BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half _) | |
| 128 | - ((endpoint_past.filter_mono hl').and hR) (FinalSlowBase.exterior_fields_eq_heat H v upper B).2.symm | |
| 129 | - | |
| 130 | -/-- The actual pressure has one fixed-order polynomial bound on the full | |
| 131 | -origin endpoint filter, including arbitrary similarity radii. -/ | |
| 132 | -theorem pressure_rate (upper : ℝ) (B m : ℕ) : | |
| 133 | - JetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.pressure H v upper B) | |
| 134 | - m (-pressureLoss m) := by | |
| 135 | - apply pressure_rate_of_heat H v upper B m | |
| 136 | - intro l hl hR | |
| 137 | - obtain ⟨C, hC, hb⟩ := WholeDomainHeatBounds.heat_pressure_bound | |
| 138 | - (BaseExterior.nominalHeatNormalization W) F.data.h_pos F.data.h_lt_half | |
| 139 | - (BaseExterior.nominalExteriorRadius_pos W) m | |
| 140 | - refine ⟨C, hC, ?_⟩ | |
| 141 | - filter_upwards [endpoint_past.filter_mono hl, | |
| 142 | - (endpoint_q_small F.data.h_pos F.data.h_lt_half).filter_mono hl, hR] with w hw hq hRw | |
| 143 | - exact (hb w hw hq.2 hRw).trans (mul_le_mul_of_nonneg_left | |
| 144 | - (Real.rpow_le_rpow_of_exponent_ge hq.1 hq.2 (by | |
| 145 | - unfold pressureLoss WholeDomainHeatBounds.heatLoss | |
| 146 | - have hm : 0 ≤ (m : ℝ) := by positivity | |
| 147 | - linarith)) hC) | |
| 148 | - | |
| 149 | 21 | end Actual |
| 150 | 22 | |
| 151 | 23 | end NavierStokes.ActualBasePressureBounds |
+0 −7 NavierStokes/ActualBaseVelocityBounds.lean View file
| @@ -271,13 +271,6 @@ theorem extension_uniform_jets {a : ℝ} (ha : 1 < a) (m : ℕ) : | ||
| 271 | 271 | |
| 272 | 272 | noncomputable def heatLoss (m : ℕ) : ℝ := powerLoss m * ((m : ℝ) + 2) |
| 273 | 273 | |
| 274 | -theorem heatLoss_eq (m : ℕ) : heatLoss m = (4 * (m : ℝ) + 2) * ((m : ℝ) + 2) := by | |
| 275 | - unfold heatLoss powerLoss | |
| 276 | - ring | |
| 277 | - | |
| 278 | -theorem heatLoss_nonneg (m : ℕ) : 0 ≤ heatLoss m := | |
| 279 | - mul_nonneg (powerLoss_nonneg m) (by positivity) | |
| 280 | - | |
| 281 | 274 | theorem heat_velocity_rate {l : Filter SpaceTime} (hl : l ≤ endpoint) |
| 282 | 275 | {h R : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 < R) |
| 283 | 276 | (hlR : ∀ᶠ z in l, R < (cartesianChart h z).2.1) (C : ℝ) (m : ℕ) : |
+0 −24 NavierStokes/ActualCandidateAssembly.lean View file
| @@ -42,18 +42,6 @@ noncomputable def initialPressure (B N0 : ℕ) : PressureField := | ||
| 42 | 42 | noncomputable def initialDirect (B N0 : ℕ) : VelocityField := |
| 43 | 43 | ActualCandidateConstruction.angularMeanStages B N0 0 |
| 44 | 44 | |
| 45 | -noncomputable def initialDirectData (B N0 : ℕ) : | |
| 46 | - DirectAngularDiagonal.AngularData | |
| 47 | - (LocalAngularDiagonal.localSlowDomain h (ActualCandidateConstruction.qbig B N0)) := | |
| 48 | - ActualMeanStageData.initialAngularData B N0 (ActualCandidateConstruction.firstBand B N0) | |
| 49 | - (ActualCandidateConstruction.qbig B N0) le_rfl | |
| 50 | - | |
| 51 | -theorem initialDirectData_field (B N0 : ℕ) : | |
| 52 | - DirectAngularDiagonal.angularField (initialDirectData B N0).scalar = initialDirect B N0 := by | |
| 53 | - exact (ActualMeanStageData.initialAngularData_field B N0 | |
| 54 | - (ActualCandidateConstruction.firstBand B N0) (ActualCandidateConstruction.qbig B N0) le_rfl).trans | |
| 55 | - (ActualCandidateConstruction.angularMeanStages_zero B N0).symm | |
| 56 | - | |
| 57 | 45 | theorem initialPotential_eq_stage (B N0 : ℕ) : |
| 58 | 46 | initialPotential B N0 = |
| 59 | 47 | (ActualCandidateConstruction.initialPotentialStage B N0 |
| @@ -92,18 +80,6 @@ theorem initialPotential_smooth (B N0 : ℕ) : | ||
| 92 | 80 | exact ActualPhysicalStageBounds.initialIncrement_smooth _ _ _ |
| 93 | 81 | outgoing.data.h_pos outgoing.data.h_lt_half le_rfl le_rfl |
| 94 | 82 | |
| 95 | -theorem initialPressure_smooth (B N0 : ℕ) : | |
| 96 | - ContDiffOn ℝ ∞ (initialPressure B N0) (ActualCandidateConstruction.physicalDomain B N0) := by | |
| 97 | - rw [initialPressure_eq_increment] | |
| 98 | - exact ActualPhysicalStageBounds.initialPressureIncrement_smooth _ _ | |
| 99 | - outgoing.data.h_pos outgoing.data.h_lt_half le_rfl | |
| 100 | - | |
| 101 | -theorem initialDirect_smooth (B N0 : ℕ) : | |
| 102 | - ContDiffOn ℝ ∞ (initialDirect B N0) (ActualCandidateConstruction.physicalDomain B N0) := by | |
| 103 | - rw [← initialDirectData_field] | |
| 104 | - exact (initialDirectData B N0).field_smooth | |
| 105 | - (LocalAngularDiagonal.localSlowDomain_open outgoing.data.h_pos outgoing.data.h_lt_half _) | |
| 106 | - | |
| 107 | 83 | theorem initialPotential_support (B N0 : ℕ) : |
| 108 | 84 | MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant |
| 109 | 85 | (ActualCandidateConstruction.qbig B N0) (initialPotential B N0) := by |
+0 −13 NavierStokes/ActualCandidateConstruction.lean View file
| @@ -63,16 +63,6 @@ theorem cycle_representation (B N0 j : ℕ) : | ||
| 63 | 63 | (ActualInitialization.initialCycleState B N0) (ActualInitialization.initialCycleState_represents B N0) |
| 64 | 64 | (cycle_signed_carrier B N0) j |
| 65 | 65 | |
| 66 | -theorem cycle_base_error (B N0 j : ℕ) : | |
| 67 | - (cycle B N0 j).state.errors.base = ActualInitialization.baseError B := by | |
| 68 | - induction j with | |
| 69 | - | zero => exact (ActualInitialization.initialState_error_components B N0).1 | |
| 70 | - | succ j ih => | |
| 71 | - change ((parameters B N0).next (cycle B N0 j).coefficients (commonContext B) | |
| 72 | - (cycle B N0 j).state).errors.base = _ | |
| 73 | - rw [CycleParameters.next_base_error] | |
| 74 | - exact ih | |
| 75 | - | |
| 76 | 66 | /-- One positive band floor is retained for every physical stage. -/ |
| 77 | 67 | noncomputable def firstBand (B N0 : ℕ) : ℕ := max 4 (ActualCycleParameters.bandFloor B N0) |
| 78 | 68 | |
| @@ -86,9 +76,6 @@ theorem qbig_pos (B N0 : ℕ) : 0 < qbig B N0 := ChartScales.Q_pos _ | ||
| 86 | 76 | inside the original raw field's validity domain. -/ |
| 87 | 77 | noncomputable def residualBand (B N0 : ℕ) : ℕ := firstBand B N0 + 1 |
| 88 | 78 | |
| 89 | -theorem residualBand_four (B N0 : ℕ) : 4 ≤ residualBand B N0 := | |
| 90 | - (firstBand_four B N0).trans (Nat.le_succ _) | |
| 91 | - | |
| 92 | 79 | theorem firstBand_le_residualBand (B N0 : ℕ) : firstBand B N0 ≤ residualBand B N0 := Nat.le_succ _ |
| 93 | 80 | |
| 94 | 81 | theorem twice_residual_scale (B N0 : ℕ) : |
+0 −4 NavierStokes/ActualCycleCoherence.lean View file
| @@ -723,10 +723,6 @@ noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 723 | 723 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 724 | 724 | (commonContext B) (ActualInitialization.initialCycleState B N0) |
| 725 | 725 | |
| 726 | -theorem state_labels (B N0 j : ℕ) : | |
| 727 | - (state B N0 j).coefficients.labels = activeLabels standardRegion B N0 := | |
| 728 | - CycleStateCoherence.iterate_labels _ _ _ j | |
| 729 | - | |
| 730 | 726 | /-- Collection of the already proved actual transport laws into precisely |
| 731 | 727 | the input used by the physical mean atlas. Its covariance fields are |
| 732 | 728 | derived from the same stage data as the analytic induction. -/ |
+0 −3 NavierStokes/ActualGaussianCoverage.lean View file
| @@ -584,9 +584,6 @@ end CurrentSourceJets | ||
| 584 | 584 | |
| 585 | 585 | /-! ## Bindings to the selected reference window and primary family -/ |
| 586 | 586 | |
| 587 | -noncomputable def referenceCutoff (r L : ℝ) (hr : 0 < r) (hL : 0 < L) (z : Plane) : ℝ := | |
| 588 | - (referenceWindow r L hr hL).cutoff z * GaussianTailFlat.slotCutoff L z.2 | |
| 589 | - | |
| 590 | 587 | theorem mem_sourceCell_clock {r L c : ℝ} (hc : 0 < c) (z : Plane) : |
| 591 | 588 | z ∈ sourceCell r L c ↔ |
| 592 | 589 | CopySolveCompatibility.nativeTimeMap 0 c z ∈ sourceCell r L 1 := by |
+0 −6 NavierStokes/ActualMeanPhysicalData.lean View file
| @@ -162,12 +162,6 @@ def Atlas.StateOverlap {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 162 | 162 | StateOn (PhysicalMeanDomain.slowDomain (overlap h U n m)) |
| 163 | 163 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m |
| 164 | 164 | |
| 165 | -theorem Atlas.StateOverlap.radial {h : ℝ} {N Δ : ℕ} {A : Atlas h N Δ} | |
| 166 | - {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) : | |
| 167 | - A.OverlapLaw U (CoordinateAlgebra.A h) u.mean.radial := by | |
| 168 | - intro n hn m hm k hk x hx | |
| 169 | - exact (H n hn m hm k hk).mean.radial x hx | |
| 170 | - | |
| 171 | 165 | theorem Atlas.StateOverlap.angular {h : ℝ} {N Δ : ℕ} {A : Atlas h N Δ} |
| 172 | 166 | {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) : |
| 173 | 167 | A.OverlapLaw U (CoordinateAlgebra.A h) u.mean.angular := by |
+0 −3 NavierStokes/ActualParticularBackground.lean View file
| @@ -138,9 +138,6 @@ noncomputable def nativeToFull : Native ≃ₗᵢ[ℝ] ActualPrimary.FullPoint : | ||
| 138 | 138 | noncomputable def nativeStrip : StripData Native := |
| 139 | 139 | ParticularWaveBounds.reindexStrip nativeToFull ActualPrimaryBounds.fullStrip |
| 140 | 140 | |
| 141 | -noncomputable def cells {B N0 : ℕ} (n : ℕ) (i : CopyIndex B N0) : Set Native := | |
| 142 | - nativeToFull ⁻¹' ActualPrimaryBounds.controlCell n i | |
| 143 | - | |
| 144 | 141 | noncomputable def directions (B : ℕ) : GraphDirections Native := |
| 145 | 142 | ParticularWaveBounds.reindexDirections nativeToFull (ActualPrimaryBounds.directions B) |
| 146 | 143 | |
+0 −30 NavierStokes/ActualParticularControl.lean View file
| @@ -442,24 +442,6 @@ noncomputable def forgetAngle : ((P × ℝ) × Plane) →L[ℝ] (P × Plane) := | ||
| 442 | 442 | ((ContinuousLinearMap.fst ℝ P ℝ).comp (ContinuousLinearMap.fst ℝ (P × ℝ) Plane)).prod |
| 443 | 443 | (ContinuousLinearMap.snd ℝ (P × ℝ) Plane) |
| 444 | 444 | |
| 445 | -/-- The additional angular variable is genuinely absent from the current | |
| 446 | -source. Its introduction preserves the same moving strip weight. -/ | |
| 447 | -theorem sourceFamily_uniform | |
| 448 | - (s : StripData P) (g : Label → ℕ → Geometry) (r L : Label → ℕ → ℝ) | |
| 449 | - (W : Label → ℕ → ℝ → ℝ) (α : ℝ) | |
| 450 | - (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 451 | - (b : Label → CorrectionState.HarmonicBlock (P × Plane)) | |
| 452 | - (G A : Label → HarmonicResidual.BlockCoefficients (P × Plane)) (j : Label → ℤ) | |
| 453 | - (h : ∀ i : Fin 3, UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 454 | - (groupedEnvelope g r L W) α (fun l n x => | |
| 455 | - (HarmonicResidual.residualBlock c u (b l) (G l) (A l)).velocity n i (j l) x)) : | |
| 456 | - UniformWaveClass (CommonCoverClass.sourceStrip (angleStrip s)) | |
| 457 | - (groupedEnvelope g r L W) α (fun l => | |
| 458 | - ParticularWaveAssembly.sourceFamily c u (b l) (G l) (A l) (j l)) := by | |
| 459 | - exact uniform_parameter_pull | |
| 460 | - (residualSource_uniform (CommonCoverClass.sourceStrip s) (groupedEnvelope g r L W) α c u b G A j h) | |
| 461 | - (forgetAngle (P := P)) | |
| 462 | - | |
| 463 | 445 | end CurrentResidual |
| 464 | 446 | |
| 465 | 447 | section FiniteHarmonics |
| @@ -494,18 +476,6 @@ private theorem frame_smooth_mono {Q : Type} [NormedAddCommGroup Q] [NormedSpace | ||
| 494 | 476 | h.eigenvalue.mono hVU, h.eigenvector.mono hVU, h.eigenRate.mono hVU, |
| 495 | 477 | h.viscosity.mono hVU, fun x hx => h.eigenvector_ne_zero x (hVU hx)⟩ |
| 496 | 478 | |
| 497 | -noncomputable def phaseNeighborhood (s : StripData P) (F : PhaseConstruction D) | |
| 498 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 499 | - (l : Label) (n : ℕ) (k : Frequency) : Set (P × Plane) := | |
| 500 | - {x | x.1 ∈ s.domain ∧ χ x.1 ∈ D.carrier (l,n) ∧ | |
| 501 | - ((g l n).coordinates k x.2).2 ∈ Ioo 0 (F.L (l,n))} | |
| 502 | - | |
| 503 | -noncomputable def phasePatch (s : StripData P) (F : PhaseConstruction D) | |
| 504 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 505 | - (r : Label → ℕ → ℝ) (l : Label) (n : ℕ) (k : Frequency) : Set (P × Plane) := | |
| 506 | - phaseNeighborhood s F χ g l n k ∩ | |
| 507 | - {x | ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n)} | |
| 508 | - | |
| 509 | 479 | end ReferenceControl |
| 510 | 480 | |
| 511 | 481 | section ActualSourceControl |
+0 −15 NavierStokes/ActualSignedControl.lean View file
| @@ -64,13 +64,6 @@ variable {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} | ||
| 64 | 64 | |
| 65 | 65 | include h |
| 66 | 66 | |
| 67 | -theorem cutoff_jets : PolynomialJets V.toDomain | |
| 68 | - (fun i x => GaussianTailFlat.profile (χ i x).2) := by | |
| 69 | - apply (h.coordinate_jets.clm (ContinuousLinearMap.snd ℝ PhaseCalculus.Slow ℝ)).compact_comp | |
| 70 | - isOpen_univ GaussianTailFlat.profile_contDiff.contDiffOn isCompact_Icc (subset_univ _) | |
| 71 | - intro i x hx | |
| 72 | - exact ⟨(h.coordinate_mem i x hx).2.1.le, (h.coordinate_mem i x hx).2.2.le⟩ | |
| 73 | - | |
| 74 | 67 | end ReferenceBounds |
| 75 | 68 | |
| 76 | 69 | /-- Only affine coordinate geometry and weight/scale comparisons are |
| @@ -109,14 +102,6 @@ variable {s : StripData X} {V : JetDomain ι D} {ζ : ι → D → ℝ} | ||
| 109 | 102 | noncomputable def pull (f : ι → D → E) : Λ → ℕ → I → X → E := |
| 110 | 103 | affineCopy f c.index c.linear c.shift |
| 111 | 104 | |
| 112 | -theorem weighted {f : ι → D → E} (hf : NativeJets V ζ f) : | |
| 113 | - UniformLocalJets s (fun _ _ x => s.zeta x) 0 K (c.pull f) := by | |
| 114 | - apply hf.copy_localJets s (fun _ _ x => s.zeta x) 0 c.index c.linear c.shift K | |
| 115 | - (fun _ _ x hx => s.zeta_nonneg x hx) c.maps c.growth_one c.linear_one | |
| 116 | - c.growthDegree c.linearDegree c.growth_bound c.linear_bound | |
| 117 | - intro l n i x hx hi | |
| 118 | - simp only [Real.rpow_zero, one_mul, c.weight_eq l n i x hx hi, le_refl] | |
| 119 | - | |
| 120 | 105 | theorem envelope {w : ι → D → ℝ} {f : ι → D → E} (hf : NativeJets V w f) |
| 121 | 106 | {W : Λ → ℕ → X → ℝ} (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) |
| 122 | 107 | (hw : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → |
+0 −19 NavierStokes/ActualSignedPhysicalData.lean View file
| @@ -1609,25 +1609,6 @@ variable | ||
| 1609 | 1609 | |
| 1610 | 1610 | /- Every fixed physical jet is controlled by the supplied native exponent, |
| 1611 | 1611 | with the physical potential scaling retained exactly. -/ |
| 1612 | -include G hp hn hP hf hpotential in | |
| 1613 | -theorem potential_physical_bound (m : ℕ) : | |
| 1614 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ x ∈ PhysicalWaveSum.preterminal, | |
| 1615 | - PhysicalWaveSum.physicalQ h x ≤ 1 → | |
| 1616 | - ‖iteratedFDeriv ℝ m | |
| 1617 | - (PhysicalCopyBounds.vectorSum (potentialFamily sys hh f) (a / 4) h sys.radius) x‖ ≤ | |
| 1618 | - C * PhysicalWaveSum.physicalQ h x ^ | |
| 1619 | - (h * α - PhysicalClassBounds.physicalLoss h (-h) m) := | |
| 1620 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector_bound hh0 hh1 m | |
| 1621 | - | |
| 1622 | -include G hp hn hP hf hpressure in | |
| 1623 | -theorem pressure_physical_bound (m : ℕ) : | |
| 1624 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ x ∈ PhysicalWaveSum.preterminal, | |
| 1625 | - PhysicalWaveSum.physicalQ h x ≤ 1 → | |
| 1626 | - ‖iteratedFDeriv ℝ m | |
| 1627 | - (fun y => ((pressureFamily sys hh f).sum (a / 4) h sys.radius y).re) x‖ ≤ | |
| 1628 | - C * PhysicalWaveSum.physicalQ h x ^ | |
| 1629 | - (h * α - PhysicalClassBounds.physicalLoss h (-(2 * CoordinateAlgebra.A h)) m) := | |
| 1630 | - (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).pressure_bound hh0 hh1 m | |
| 1631 | 1612 | |
| 1632 | 1613 | end WaveData |
| 1633 | 1614 | |
+0 −74 NavierStokes/AlignedProfileSpectralCone.lean View file
| @@ -47,16 +47,6 @@ theorem modulated_frequency_eq {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) : | ||
| 47 | 47 | (EntranceAlignedBase.modulated_zero_fields H v hX.le heta.le).1] |
| 48 | 48 | field_simp [W.axis.normalization_pos.ne'] |
| 49 | 49 | |
| 50 | -theorem modulated_frequency_pos {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) : | |
| 51 | - 0 < BaseChartJets.leadingFrequency F.data.h W.axis.normalization | |
| 52 | - (EntranceAlignedBase.modulatedCoefficients H v) p := by | |
| 53 | - have hh := ConstructedSlowBase.height_pos W | |
| 54 | - have hh1 := ConstructedSlowBase.height_lt_half W | |
| 55 | - rw [modulated_frequency_eq H v hT hR] | |
| 56 | - exact mul_pos (Real.rpow_pos_of_pos (BaseChartJets.normalizedCoordinates_q_pos hh hh1 hT) _) | |
| 57 | - (v.positive_f (normalized_X_pos hh hh1 hT hR) | |
| 58 | - (abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 hT).le)) | |
| 59 | - | |
| 60 | 50 | theorem modulated_shear_eq {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) : |
| 61 | 51 | PhaseEstimates.shearVector |
| 62 | 52 | (BaseChartJets.leadingFrequency F.data.h W.axis.normalization |
| @@ -77,70 +67,6 @@ theorem modulated_shear_eq {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) : | ||
| 77 | 67 | (d.domain_nonnegative hX.le (d.parameters_contains (abs_le.mp heta))) |
| 78 | 68 | (v.positive_f hX (abs_le.mp heta)).ne' hg.1 hg.2 |
| 79 | 69 | |
| 80 | -/-- The primitive true-cone conclusion of the actual finite modulation is | |
| 81 | -converted into the two spectral cones for its own leading fields. -/ | |
| 82 | -theorem modulated_spectral_cones | |
| 83 | - (hcone : ∀ w : Point, NominalConeAssembly.activeLeft W < w.1 → | |
| 84 | - w.1 < NominalConeAssembly.activeRight W → w.2 ∈ Icc (-1 : ℝ) 1 → | |
| 85 | - TrueConeLoop.InTrueCone (ActivationStocks.profileStockOne v.profiles F.data.h w) | |
| 86 | - (ActivationStocks.profileStockTwo v.profiles F.data.h w) | |
| 87 | - (ModulatedCone.angularShear v.profiles.E w) | |
| 88 | - (ModulatedCone.signedAxialShear v.profiles.E v.profiles.U w)) | |
| 89 | - {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) | |
| 90 | - (hl : NominalConeAssembly.activeLeft W < (BaseChartJets.normalizedCoordinates F.data.h p).2.1) | |
| 91 | - (hr : (BaseChartJets.normalizedCoordinates F.data.h p).2.1 < NominalConeAssembly.activeRight W) : | |
| 92 | - let F₀ := BaseChartJets.leadingFrequency F.data.h W.axis.normalization | |
| 93 | - (EntranceAlignedBase.modulatedCoefficients H v) | |
| 94 | - let G₀ := BaseChartJets.leadingAxial F.data.h (EntranceAlignedBase.modulatedCoefficients H v) | |
| 95 | - PrimaryRepresentatives.ReferenceCone (F₀ p) (PhaseEstimates.shearVector F₀ G₀ p) ∧ | |
| 96 | - PrimaryRepresentatives.TargetCone (F₀ p) (PhaseEstimates.shearVector F₀ G₀ p) | |
| 97 | - (stressVector v.profiles F.data.h (BaseChartJets.normalizedCoordinates F.data.h p).2) := by | |
| 98 | - dsimp only | |
| 99 | - rw [modulated_shear_eq H v hT hR] | |
| 100 | - have hh := ConstructedSlowBase.height_pos W | |
| 101 | - have hh1 := ConstructedSlowBase.height_lt_half W | |
| 102 | - have hX := normalized_X_pos hh hh1 hT hR | |
| 103 | - have heta := abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 hT).le | |
| 104 | - exact profile_spectral_cones v.profiles F.data.h | |
| 105 | - (d.domain_nonnegative hX.le (d.parameters_contains heta)) hX (v.positive_f hX heta) | |
| 106 | - (modulated_frequency_pos H v hT hR) (hcone _ hl hr heta) | |
| 107 | - | |
| 108 | -/-- The literal covariance target is a positive chart rescaling of the | |
| 109 | -same actual zeroth stress coefficients. -/ | |
| 110 | -theorem modulated_chartTarget_cones | |
| 111 | - (hcone : ∀ w : Point, NominalConeAssembly.activeLeft W < w.1 → | |
| 112 | - w.1 < NominalConeAssembly.activeRight W → w.2 ∈ Icc (-1 : ℝ) 1 → | |
| 113 | - TrueConeLoop.InTrueCone (ActivationStocks.profileStockOne v.profiles F.data.h w) | |
| 114 | - (ActivationStocks.profileStockTwo v.profiles F.data.h w) | |
| 115 | - (ModulatedCone.angularShear v.profiles.E w) | |
| 116 | - (ModulatedCone.signedAxialShear v.profiles.E v.profiles.U w)) | |
| 117 | - {p : Slow} (hT : 0 < p.2.2) (hR : 0 < p.1) | |
| 118 | - (hl : NominalConeAssembly.activeLeft W < (BaseChartJets.normalizedCoordinates F.data.h p).2.1) | |
| 119 | - (hr : (BaseChartJets.normalizedCoordinates F.data.h p).2.1 < NominalConeAssembly.activeRight W) | |
| 120 | - {q : ℝ} (hq : 0 < q) (N : ℕ) (U : PartitionedCovariance.UnsignedLabel) : | |
| 121 | - let coeff := EntranceAlignedBase.modulatedCoefficients H v | |
| 122 | - let w := (BaseChartJets.normalizedCoordinates F.data.h p).2 | |
| 123 | - let F₀ := BaseChartJets.leadingFrequency F.data.h W.axis.normalization coeff | |
| 124 | - let G₀ := BaseChartJets.leadingAxial F.data.h coeff | |
| 125 | - let T := PartitionedCovariance.chartTarget F.data.h q N | |
| 126 | - ![coeff.stressTheta 0 w, coeff.stressAxial 0 w] U | |
| 127 | - PrimaryRepresentatives.ReferenceCone (F₀ p) (PhaseEstimates.shearVector F₀ G₀ p) ∧ | |
| 128 | - PrimaryRepresentatives.TargetCone (F₀ p) (PhaseEstimates.shearVector F₀ G₀ p) !₂[T 0, T 1] := by | |
| 129 | - have hbase := modulated_spectral_cones H v hcone hT hR hl hr | |
| 130 | - have hX := normalized_X_pos (ConstructedSlowBase.height_pos W) | |
| 131 | - (ConstructedSlowBase.height_lt_half W) hT hR | |
| 132 | - have heta := (BaseChartJets.normalizedCoordinates_eta (ConstructedSlowBase.height_pos W) | |
| 133 | - (ConstructedSlowBase.height_lt_half W) hT).le | |
| 134 | - have he := EntranceAlignedBase.modulated_leading_stress_eq H v hX.le heta | |
| 135 | - dsimp only | |
| 136 | - refine ⟨hbase.1, ?_⟩ | |
| 137 | - have ht := hbase.2.pos_smul (Real.rpow_pos_of_pos | |
| 138 | - (div_pos (ChartScales.Q_pos (U.1 + N)) hq) | |
| 139 | - (PartitionedCovariance.velocityExponent F.data.h + 1 / 2)) | |
| 140 | - convert! ht using 1 | |
| 141 | - ext i | |
| 142 | - fin_cases i <;> simp [PartitionedCovariance.chartTarget, stressVector, he.1, he.2] | |
| 143 | - | |
| 144 | 70 | end Modulated |
| 145 | 71 | |
| 146 | 72 | /-! ## A single Euclidean direction through both zero-amplitude edges -/ |
+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 −43 NavierStokes/AssembledSlowBase.lean View file
| @@ -1242,12 +1242,6 @@ theorem nominalCoefficients_zero_fields {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta | ||
| 1242 | 1242 | rw [profiles_zero] |
| 1243 | 1243 | exact baseFields_pressure (nominalDomain W) W.axis.normalization W.profiles (nominalParameters_domain W) hX |
| 1244 | 1244 | |
| 1245 | -theorem nominalCoefficients_stress_zero {p : ℝ × ℝ} | |
| 1246 | - (hp : p.1 ≤ nominalInner W / 8) (n : ℕ) : | |
| 1247 | - (nominalCoefficients W).stressTheta n p = 0 ∧ (nominalCoefficients W).stressAxial n p = 0 := | |
| 1248 | - coefficients_stress_zero_left (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) | |
| 1249 | - (nominalParameters_contains W) n hp | |
| 1250 | - | |
| 1251 | 1245 | theorem nominalCoefficients_stress_eq {p : ℝ × ℝ} |
| 1252 | 1246 | (hp : 0 ≤ p.1) (heta : |p.2| ≤ 1) (n : ℕ) : |
| 1253 | 1247 | (nominalCoefficients W).stressTheta n p = |
| @@ -1272,43 +1266,6 @@ theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : | ||
| 1272 | 1266 | SlowBorelBase.exists_base_fields W.axis.small.h_pos (by linarith [W.axis.small.h_le]) |
| 1273 | 1267 | (nominalCoefficients_smooth W) W.axis.normalization lo hi N |
| 1274 | 1268 | |
| 1275 | -theorem nominal_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1276 | - (hX : 0 < p.1) (heta : p.2 ∈ nominalParameters W) : | |
| 1277 | - SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization | |
| 1278 | - (asSlowProfiles (nominalScheme W)) n p = 0 := by | |
| 1279 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1280 | - · have hpg : (asSlowProfiles (nominalScheme W)).pressure 0 =ᶠ[𝓝 p] W.profiles.pressure := by | |
| 1281 | - filter_upwards [continuous_fst.continuousAt (Ioi_mem_nhds hX)] with q hq | |
| 1282 | - change xProfile (profiles (nominalScheme W) 0).pressure q = _ | |
| 1283 | - rw [profiles_zero] | |
| 1284 | - exact baseFields_pressure (nominalDomain W) W.axis.normalization W.profiles | |
| 1285 | - (nominalParameters_domain W) hq.le | |
| 1286 | - have hpr : SimilarityProfile.partialX ((asSlowProfiles (nominalScheme W)).pressure 0) p = | |
| 1287 | - W.profiles.f p ^ 2 := by | |
| 1288 | - rw [SimilarityProfile.partialX, hpg.fderiv_eq] | |
| 1289 | - exact W.profiles.radialPartial_pressure (nominalParameters_domain W p.1 hX.le p.2 heta) | |
| 1290 | - have hphi : (asSlowProfiles (nominalScheme W)).phi 0 p = W.axis.normalization * W.profiles.f p := by | |
| 1291 | - change xProfile (profiles (nominalScheme W) 0).phi p = _ | |
| 1292 | - rw [profiles_zero] | |
| 1293 | - exact baseFields_phi (nominalDomain W) W.axis.normalization W.profiles | |
| 1294 | - (nominalParameters_domain W) hX.le | |
| 1295 | - simp only [SlowExpansionResidual.pressureCoefficient, SlowExpansionResidual.previous, | |
| 1296 | - SlowExpansionResidual.convolution, Finset.Nat.antidiagonal_zero, Finset.sum_singleton, | |
| 1297 | - hpr, hphi, zero_div, add_zero] | |
| 1298 | - field_simp [W.axis.normalization_pos.ne'] ; ring | |
| 1299 | - · exact profiles_pressureCoefficient (nominalScheme W) hn hX heta | |
| 1300 | - | |
| 1301 | -theorem nominalCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |eta| ≤ 1) : | |
| 1302 | - (nominalCoefficients W).phi n (0, eta) = 0 ∧ | |
| 1303 | - (nominalCoefficients W).axial n (0, eta) = 0 ∧ | |
| 1304 | - (nominalCoefficients W).pressure n (0, eta) = 0 := | |
| 1305 | - ⟨extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1306 | - (nominalParameters_contains W) hn 0 heta, | |
| 1307 | - extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1308 | - (nominalParameters_contains W) hn 1 heta, | |
| 1309 | - extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1310 | - (nominalParameters_contains W) hn 3 heta⟩ | |
| 1311 | - | |
| 1312 | 1269 | theorem nominalCoefficients_positive_exterior {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} |
| 1313 | 1270 | (hp : nominalOuterX W ≤ p.1) : |
| 1314 | 1271 | (nominalCoefficients W).phi n p = 0 ∧ (nominalCoefficients W).axial n p = 0 ∧ |
+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 −19 NavierStokes/AxisymmetricFields.lean View file
| @@ -152,19 +152,6 @@ theorem velocity_two (H K : Profile) (t : ℝ) (x : Space) | ||
| 152 | 152 | unfold radialEnergy |
| 153 | 153 | ring |
| 154 | 154 | |
| 155 | -/-- The Cartesian potential is smooth on all of space, including the axis. -/ | |
| 156 | -theorem contDiff_potential {H K : Profile} {n : WithTop ℕ∞} | |
| 157 | - (hH : ContDiff ℝ n H) (hK : ContDiff ℝ n K) : ContDiff ℝ n (potential H K) := by | |
| 158 | - have h0 : ContDiff ℝ n (fun w : SpaceTime => w.2 0) := | |
| 159 | - (projection 0).contDiff.comp contDiff_snd | |
| 160 | - have h1 : ContDiff ℝ n (fun w : SpaceTime => w.2 1) := | |
| 161 | - (projection 1).contDiff.comp contDiff_snd | |
| 162 | - have hHv := hH.comp contDiff_profilePoint | |
| 163 | - have hKv := hK.comp contDiff_profilePoint | |
| 164 | - exact (((contDiff_const.mul (h1.mul hHv)).smul contDiff_const).add | |
| 165 | - ((contDiff_const.mul (h0.mul hHv)).smul contDiff_const)).add | |
| 166 | - (hKv.smul contDiff_const) | |
| 167 | - | |
| 168 | 155 | /-- Smoothness may be required only on a prescribed set of times. -/ |
| 169 | 156 | theorem contDiffOn_potential {H K : Profile} {times : Set ℝ} {n : WithTop ℕ∞} |
| 170 | 157 | (hH : ContDiffOn ℝ n H (times ×ˢ (univ : Set (ℝ × ℝ)))) |
| @@ -190,12 +177,6 @@ theorem contDiffOn_velocity {H K : Profile} {times : Set ℝ} {m n : WithTop ℕ | ||
| 190 | 177 | ContDiffOn ℝ m (velocity H K) (times ×ˢ (univ : Set Space)) := |
| 191 | 178 | SpatialCurl.contDiffOn_spatialCurl (contDiffOn_potential hH hK) hmn |
| 192 | 179 | |
| 193 | -theorem divergence_velocity {H K : Profile} | |
| 194 | - (hH : ContDiff ℝ 2 H) (hK : ContDiff ℝ 2 K) (t : ℝ) (x : Space) : | |
| 195 | - spatialDivergence (velocity H K) t x = 0 := | |
| 196 | - SpatialCurl.spatialDivergence_spatialCurl (potential H K) t x | |
| 197 | - (((contDiff_potential hH hK).comp (contDiff_const.prodMk contDiff_id)).contDiffAt) | |
| 198 | - | |
| 199 | 180 | theorem divergence_velocity_on {H K : Profile} {times : Set ℝ} |
| 200 | 181 | (hH : ContDiffOn ℝ 2 H (times ×ˢ (univ : Set (ℝ × ℝ)))) |
| 201 | 182 | (hK : ContDiffOn ℝ 2 K (times ×ˢ (univ : Set (ℝ × ℝ)))) |
+0 −271 NavierStokes/AxisymmetricResidual.lean View file
| @@ -56,11 +56,6 @@ def scalarLaplacian (g : Space → ℝ) (x : Space) : ℝ := | ||
| 56 | 56 | def vectorLaplacian (g : Space → Space) (x : Space) : Space := |
| 57 | 57 | ∑ i : Fin 3, fderiv ℝ (fun y => fderiv ℝ g y (coordinateVector i)) x (coordinateVector i) |
| 58 | 58 | |
| 59 | -theorem contDiff_direction {g : Space → ℝ} {m n : WithTop ℕ∞} | |
| 60 | - (hg : ContDiff ℝ n g) (hmn : m + 1 ≤ n) (i : Fin 3) : | |
| 61 | - ContDiff ℝ m (fun x => direction g i x) := | |
| 62 | - (hg.fderiv_right hmn).clm_apply contDiff_const | |
| 63 | - | |
| 64 | 59 | theorem direction_add {a b : Space → ℝ} (ha : Differentiable ℝ a) |
| 65 | 60 | (hb : Differentiable ℝ b) (i : Fin 3) (x : Space) : |
| 66 | 61 | direction (fun y => a y + b y) i x = direction a i x + direction b i x := by |
| @@ -79,79 +74,10 @@ theorem direction_neg (a : Space → ℝ) (i : Fin 3) (x : Space) : | ||
| 79 | 74 | direction (fun y => -a y) i x = -direction a i x := by |
| 80 | 75 | simp [direction] |
| 81 | 76 | |
| 82 | -theorem scalarLaplacian_add {a b : Space → ℝ} (ha : ContDiff ℝ 2 a) | |
| 83 | - (hb : ContDiff ℝ 2 b) (x : Space) : | |
| 84 | - scalarLaplacian (fun y => a y + b y) x = scalarLaplacian a x + scalarLaplacian b x := by | |
| 85 | - unfold scalarLaplacian | |
| 86 | - simp_rw [direction_add (ha.differentiable (by norm_num)) (hb.differentiable (by norm_num))] | |
| 87 | - simp_rw [direction_add | |
| 88 | - ((contDiff_direction ha (m := 1) (by norm_num) _).differentiable (by norm_num)) | |
| 89 | - ((contDiff_direction hb (m := 1) (by norm_num) _).differentiable (by norm_num))] | |
| 90 | - exact Finset.sum_add_distrib | |
| 91 | - | |
| 92 | -theorem scalarLaplacian_sub {a b : Space → ℝ} (ha : ContDiff ℝ 2 a) | |
| 93 | - (hb : ContDiff ℝ 2 b) (x : Space) : | |
| 94 | - scalarLaplacian (fun y => a y - b y) x = scalarLaplacian a x - scalarLaplacian b x := by | |
| 95 | - unfold scalarLaplacian | |
| 96 | - simp_rw [direction_sub (ha.differentiable (by norm_num)) (hb.differentiable (by norm_num))] | |
| 97 | - simp_rw [direction_sub | |
| 98 | - ((contDiff_direction ha (m := 1) (by norm_num) _).differentiable (by norm_num)) | |
| 99 | - ((contDiff_direction hb (m := 1) (by norm_num) _).differentiable (by norm_num))] | |
| 100 | - simp only [Finset.sum_sub_distrib] | |
| 101 | - | |
| 102 | 77 | theorem scalarLaplacian_neg (a : Space → ℝ) (x : Space) : |
| 103 | 78 | scalarLaplacian (fun y => -a y) x = -scalarLaplacian a x := by |
| 104 | 79 | simp only [scalarLaplacian, direction_neg, Finset.sum_neg_distrib] |
| 105 | 80 | |
| 106 | -theorem direction_coord_mul {g : Space → ℝ} (hg : Differentiable ℝ g) | |
| 107 | - (i j : Fin 3) (x : Space) : | |
| 108 | - direction (fun y => y i * g y) j x = | |
| 109 | - (coordinateVector j) i * g x + x i * direction g j x := by | |
| 110 | - unfold direction | |
| 111 | - change (fderiv ℝ (fun y => projection i y * g y) x) (coordinateVector j) = _ | |
| 112 | - rw [fderiv_fun_mul (projection i).differentiableAt (hg x)] | |
| 113 | - simp | |
| 114 | - ring | |
| 115 | - | |
| 116 | -theorem second_direction_coord_mul {g : Space → ℝ} (hg : ContDiff ℝ 2 g) | |
| 117 | - (i j : Fin 3) (x : Space) : | |
| 118 | - direction (fun y => direction (fun z => z i * g z) j y) j x = | |
| 119 | - 2 * (coordinateVector j) i * direction g j x + | |
| 120 | - x i * direction (fun y => direction g j y) j x := by | |
| 121 | - have hd := hg.differentiable (by norm_num) | |
| 122 | - have hdg := (contDiff_direction hg (m := 1) (by norm_num) j).differentiable (by norm_num) | |
| 123 | - simp_rw [direction_coord_mul hd i j] | |
| 124 | - change (fderiv ℝ (fun y => (coordinateVector j) i * g y + | |
| 125 | - projection i y * direction g j y) x) (coordinateVector j) = _ | |
| 126 | - rw [fderiv_fun_add ((hd x).const_mul ((coordinateVector j) i)) | |
| 127 | - ((projection i).differentiableAt.fun_mul (hdg x))] | |
| 128 | - rw [fderiv_const_mul (hd x), fderiv_fun_mul (projection i).differentiableAt (hdg x)] | |
| 129 | - simp [direction] | |
| 130 | - ring | |
| 131 | - | |
| 132 | -theorem scalarLaplacian_coord_mul {g : Space → ℝ} (hg : ContDiff ℝ 2 g) | |
| 133 | - (i : Fin 3) (x : Space) : | |
| 134 | - scalarLaplacian (fun y => y i * g y) x = | |
| 135 | - x i * scalarLaplacian g x + 2 * direction g i x := by | |
| 136 | - unfold scalarLaplacian | |
| 137 | - simp_rw [second_direction_coord_mul hg] | |
| 138 | - fin_cases i <;> simp [Fin.sum_univ_three, coordinateVector] <;> ring | |
| 139 | - | |
| 140 | -theorem vectorLaplacian_pack {a b c : Space → ℝ} | |
| 141 | - (ha : ContDiff ℝ 2 a) (hb : ContDiff ℝ 2 b) (hc : ContDiff ℝ 2 c) (x : Space) : | |
| 142 | - vectorLaplacian (fun y => pack (a y) (b y) (c y)) x = | |
| 143 | - pack (scalarLaplacian a x) (scalarLaplacian b x) (scalarLaplacian c x) := by | |
| 144 | - unfold vectorLaplacian | |
| 145 | - simp_rw [fderiv_pack_apply (ha.differentiable (by norm_num) _) | |
| 146 | - (hb.differentiable (by norm_num) _) (hc.differentiable (by norm_num) _)] | |
| 147 | - change (∑ i : Fin 3, fderiv ℝ (fun y => pack (direction a i y) (direction b i y) | |
| 148 | - (direction c i y)) x (coordinateVector i)) = _ | |
| 149 | - simp_rw [fderiv_pack_apply | |
| 150 | - ((contDiff_direction ha (m := 1) (by norm_num) _).differentiable (by norm_num) x) | |
| 151 | - ((contDiff_direction hb (m := 1) (by norm_num) _).differentiable (by norm_num) x) | |
| 152 | - ((contDiff_direction hc (m := 1) (by norm_num) _).differentiable (by norm_num) x)] | |
| 153 | - simp only [scalarLaplacian, direction, pack, Finset.sum_add_distrib, ← Finset.sum_smul] | |
| 154 | - | |
| 155 | 81 | def lift (G : Profile) (t : ℝ) (x : Space) : ℝ := G (profilePoint t x) |
| 156 | 82 | |
| 157 | 83 | /-- Joint differentiability is needed only along the spatial slice being evaluated. -/ |
| @@ -165,77 +91,12 @@ def SliceC2 (G : Profile) (t : ℝ) : Prop := | ||
| 165 | 91 | theorem SliceC2.differentiable {G : Profile} {t : ℝ} (hG : SliceC2 G t) : |
| 166 | 92 | SliceDifferentiable G t := fun x => (hG x).differentiableAt (by norm_num) |
| 167 | 93 | |
| 168 | -theorem contDiff_lift_slice {G : Profile} {t : ℝ} (hG : SliceC2 G t) : | |
| 169 | - ContDiff ℝ 2 (lift G t) := by | |
| 170 | - rw [contDiff_iff_contDiffAt] | |
| 171 | - intro x | |
| 172 | - exact (hG x).comp x (contDiff_profilePoint_slice t).contDiffAt | |
| 173 | - | |
| 174 | 94 | def partialT (G : Profile) (p : ProfilePoint) : ℝ := fderiv ℝ G p (1, (0, 0)) |
| 175 | 95 | def laplaceScalar (G : Profile) (p : ProfilePoint) : ℝ := |
| 176 | 96 | 2 * p.2.1 * partialS (partialS G) p + 2 * partialS G p + partialZ (partialZ G) p |
| 177 | 97 | def laplaceWeighted (G : Profile) (p : ProfilePoint) : ℝ := |
| 178 | 98 | 2 * p.2.1 * partialS (partialS G) p + 4 * partialS G p + partialZ (partialZ G) p |
| 179 | 99 | |
| 180 | -theorem fderiv_lift_apply {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) | |
| 181 | - (x v : Space) : fderiv ℝ (lift G t) x v = | |
| 182 | - (x 0 * v 0 + x 1 * v 1) * partialS G (profilePoint t x) + | |
| 183 | - v 2 * partialZ G (profilePoint t x) := by | |
| 184 | - change (fderiv ℝ (fun y => G (profilePoint t y)) x) v = _ | |
| 185 | - rw [(hasFDerivAt_profile_composition G t x (hG _)).fderiv] | |
| 186 | - exact profileDerivative_apply G t x v | |
| 187 | - | |
| 188 | -theorem direction_lift_zero {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) (x : Space) : | |
| 189 | - direction (lift G t) 0 x = x 0 * lift (partialS G) t x := by | |
| 190 | - unfold direction | |
| 191 | - rw [fderiv_lift_apply hG] | |
| 192 | - simp [coordinateVector, lift] | |
| 193 | - | |
| 194 | -theorem direction_lift_one {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) (x : Space) : | |
| 195 | - direction (lift G t) 1 x = x 1 * lift (partialS G) t x := by | |
| 196 | - unfold direction | |
| 197 | - rw [fderiv_lift_apply hG] | |
| 198 | - simp [coordinateVector, lift] | |
| 199 | - | |
| 200 | -theorem direction_lift_two {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) (x : Space) : | |
| 201 | - direction (lift G t) 2 x = lift (partialZ G) t x := by | |
| 202 | - unfold direction | |
| 203 | - rw [fderiv_lift_apply hG] | |
| 204 | - simp [coordinateVector, lift] | |
| 205 | - | |
| 206 | -theorem scalarLaplacian_lift {G : Profile} {t : ℝ} (hG : SliceC2 G t) (x : Space) : | |
| 207 | - scalarLaplacian (lift G t) x = laplaceScalar G (profilePoint t x) := by | |
| 208 | - have hd := hG.differentiable | |
| 209 | - have hs : SliceDifferentiable (partialS G) t := fun x => | |
| 210 | - (((hG x).fderiv_right (m := 1) (by norm_num)).clm_apply contDiffAt_const).differentiableAt (by norm_num) | |
| 211 | - have hz : SliceDifferentiable (partialZ G) t := fun x => | |
| 212 | - (((hG x).fderiv_right (m := 1) (by norm_num)).clm_apply contDiffAt_const).differentiableAt (by norm_num) | |
| 213 | - have hls : Differentiable ℝ (lift (partialS G) t) := | |
| 214 | - fun x => (hs x).comp x ((contDiff_profilePoint_slice t (n := 1)).differentiable (by norm_num) x) | |
| 215 | - unfold scalarLaplacian | |
| 216 | - rw [Fin.sum_univ_three] | |
| 217 | - simp_rw [direction_lift_zero hd, direction_lift_one hd, direction_lift_two hd] | |
| 218 | - rw [direction_coord_mul hls, direction_coord_mul hls] | |
| 219 | - rw [direction_lift_zero hs, direction_lift_one hs, direction_lift_two hz] | |
| 220 | - simp [coordinateVector, lift, laplaceScalar, profilePoint, radialEnergy] | |
| 221 | - ring | |
| 222 | - | |
| 223 | -theorem scalarLaplacian_weighted_zero {G : Profile} {t : ℝ} (hG : SliceC2 G t) (x : Space) : | |
| 224 | - scalarLaplacian (fun y => y 0 * lift G t y) x = | |
| 225 | - x 0 * laplaceWeighted G (profilePoint t x) := by | |
| 226 | - rw [scalarLaplacian_coord_mul (contDiff_lift_slice hG), scalarLaplacian_lift hG, | |
| 227 | - direction_lift_zero hG.differentiable] | |
| 228 | - unfold lift laplaceScalar laplaceWeighted | |
| 229 | - ring | |
| 230 | - | |
| 231 | -theorem scalarLaplacian_weighted_one {G : Profile} {t : ℝ} (hG : SliceC2 G t) (x : Space) : | |
| 232 | - scalarLaplacian (fun y => y 1 * lift G t y) x = | |
| 233 | - x 1 * laplaceWeighted G (profilePoint t x) := by | |
| 234 | - rw [scalarLaplacian_coord_mul (contDiff_lift_slice hG), scalarLaplacian_lift hG, | |
| 235 | - direction_lift_one hG.differentiable] | |
| 236 | - unfold lift laplaceScalar laplaceWeighted | |
| 237 | - ring | |
| 238 | - | |
| 239 | 100 | def componentX (B F : Profile) (t : ℝ) (x : Space) : ℝ := |
| 240 | 101 | -(x 0 * lift B t x + x 1 * lift F t x) |
| 241 | 102 | def componentY (B F : Profile) (t : ℝ) (x : Space) : ℝ := |
| @@ -254,17 +115,6 @@ def velocityJacobian (B F U : Profile) (t : ℝ) (x : Space) : Space →L[ℝ] S | ||
| 254 | 115 | (x 1 • profileDerivative B t x + lift B t x • projection 1)) |
| 255 | 116 | (profileDerivative U t x) |
| 256 | 117 | |
| 257 | -theorem hasFDerivAt_velocity {B F U : Profile} {t : ℝ} | |
| 258 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 259 | - (hU : SliceDifferentiable U t) (x : Space) : | |
| 260 | - HasFDerivAt (fun y => velocity B F U (t, y)) (velocityJacobian B F U t x) x := by | |
| 261 | - have hb := hasFDerivAt_profile_composition B t x (hB x) | |
| 262 | - have hf := hasFDerivAt_profile_composition F t x (hF x) | |
| 263 | - have hu := hasFDerivAt_profile_composition U t x (hU x) | |
| 264 | - exact hasFDerivAt_pack | |
| 265 | - ((((projection 0).hasFDerivAt.mul hb).add ((projection 1).hasFDerivAt.mul hf)).neg) | |
| 266 | - (((projection 0).hasFDerivAt.mul hf).sub ((projection 1).hasFDerivAt.mul hb)) hu | |
| 267 | - | |
| 268 | 118 | def advectionRadial (B F U : Profile) (p : ProfilePoint) : ℝ := |
| 269 | 119 | (B p) ^ 2 - (F p) ^ 2 + 2 * p.2.1 * B p * partialS B p - U p * partialZ B p |
| 270 | 120 | def advectionAngular (B F U : Profile) (p : ProfilePoint) : ℝ := |
| @@ -272,72 +122,6 @@ def advectionAngular (B F U : Profile) (p : ProfilePoint) : ℝ := | ||
| 272 | 122 | def advectionAxial (B U : Profile) (p : ProfilePoint) : ℝ := |
| 273 | 123 | -2 * p.2.1 * B p * partialS U p + U p * partialZ U p |
| 274 | 124 | |
| 275 | -theorem advection_velocity {B F U : Profile} {t : ℝ} | |
| 276 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 277 | - (hU : SliceDifferentiable U t) (x : Space) : | |
| 278 | - advection (velocity B F U) t x = | |
| 279 | - pack (x 0 * advectionRadial B F U (profilePoint t x) + | |
| 280 | - x 1 * advectionAngular B F U (profilePoint t x)) | |
| 281 | - (x 1 * advectionRadial B F U (profilePoint t x) - | |
| 282 | - x 0 * advectionAngular B F U (profilePoint t x)) | |
| 283 | - (advectionAxial B U (profilePoint t x)) := by | |
| 284 | - change (fderiv ℝ (fun y => velocity B F U (t, y)) x) (velocity B F U (t, x)) = _ | |
| 285 | - rw [(hasFDerivAt_velocity hB hF hU x).fderiv] | |
| 286 | - simp only [velocityJacobian, packDerivative_apply] | |
| 287 | - ext i | |
| 288 | - fin_cases i <;> simp [profileDerivative_apply, velocity, componentX, componentY, lift, | |
| 289 | - advectionRadial, advectionAngular, advectionAxial, profilePoint, radialEnergy, | |
| 290 | - pack, coordinateVector] <;> ring | |
| 291 | - | |
| 292 | -theorem divergence_velocity {B F U : Profile} {t : ℝ} | |
| 293 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 294 | - (hU : SliceDifferentiable U t) (x : Space) : | |
| 295 | - spatialDivergence (velocity B F U) t x = | |
| 296 | - partialZ U (profilePoint t x) - 2 * B (profilePoint t x) - | |
| 297 | - 2 * radialEnergy x * partialS B (profilePoint t x) := by | |
| 298 | - unfold spatialDivergence spatialDerivative | |
| 299 | - rw [(hasFDerivAt_velocity hB hF hU x).fderiv, Fin.sum_univ_three] | |
| 300 | - simp [velocityJacobian, packDerivative_apply, profileDerivative_apply, | |
| 301 | - coordinateVector, profilePoint, radialEnergy, lift] | |
| 302 | - ring | |
| 303 | - | |
| 304 | -theorem spatialLaplacian_velocity {B F U : Profile} {t : ℝ} | |
| 305 | - (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) (x : Space) : | |
| 306 | - spatialLaplacian (velocity B F U) t x = | |
| 307 | - pack (-x 0 * laplaceWeighted B (profilePoint t x) - | |
| 308 | - x 1 * laplaceWeighted F (profilePoint t x)) | |
| 309 | - (-x 1 * laplaceWeighted B (profilePoint t x) + | |
| 310 | - x 0 * laplaceWeighted F (profilePoint t x)) | |
| 311 | - (laplaceScalar U (profilePoint t x)) := by | |
| 312 | - have hb := contDiff_lift_slice hB | |
| 313 | - have hf := contDiff_lift_slice hF | |
| 314 | - have hu := contDiff_lift_slice hU | |
| 315 | - have h0b : ContDiff ℝ 2 (fun y : Space => y 0 * lift B t y) := (projection 0).contDiff.mul hb | |
| 316 | - have h1b : ContDiff ℝ 2 (fun y : Space => y 1 * lift B t y) := (projection 1).contDiff.mul hb | |
| 317 | - have h0f : ContDiff ℝ 2 (fun y : Space => y 0 * lift F t y) := (projection 0).contDiff.mul hf | |
| 318 | - have h1f : ContDiff ℝ 2 (fun y : Space => y 1 * lift F t y) := (projection 1).contDiff.mul hf | |
| 319 | - have hx : ContDiff ℝ 2 (componentX B F t) := (h0b.add h1f).neg | |
| 320 | - have hy : ContDiff ℝ 2 (componentY B F t) := h0f.sub h1b | |
| 321 | - change vectorLaplacian (fun y => pack (componentX B F t y) (componentY B F t y) | |
| 322 | - (lift U t y)) x = _ | |
| 323 | - rw [vectorLaplacian_pack hx hy hu] | |
| 324 | - unfold componentX componentY | |
| 325 | - rw [scalarLaplacian_neg, scalarLaplacian_add h0b h1f, scalarLaplacian_sub h0f h1b] | |
| 326 | - rw [scalarLaplacian_weighted_zero hB, scalarLaplacian_weighted_one hF, | |
| 327 | - scalarLaplacian_weighted_zero hF, scalarLaplacian_weighted_one hB, scalarLaplacian_lift hU] | |
| 328 | - ext i | |
| 329 | - fin_cases i <;> simp [pack, coordinateVector] <;> ring | |
| 330 | - | |
| 331 | -theorem pressureGradient_pressure {P : Profile} {t : ℝ} | |
| 332 | - (hP : SliceDifferentiable P t) (x : Space) : | |
| 333 | - pressureGradient (pressure P) t x = | |
| 334 | - pack (x 0 * partialS P (profilePoint t x)) (x 1 * partialS P (profilePoint t x)) | |
| 335 | - (partialZ P (profilePoint t x)) := by | |
| 336 | - change (∑ i : Fin 3, fderiv ℝ (lift P t) x (coordinateVector i) • coordinateVector i) = _ | |
| 337 | - simp_rw [fderiv_lift_apply hP] | |
| 338 | - rw [Fin.sum_univ_three] | |
| 339 | - simp [pack, coordinateVector] | |
| 340 | - | |
| 341 | 125 | def timeProfileJacobian : ℝ →L[ℝ] ProfilePoint := |
| 342 | 126 | (ContinuousLinearMap.id ℝ ℝ).prod (0 : ℝ →L[ℝ] ℝ × ℝ) |
| 343 | 127 | def timeProfileDerivative (G : Profile) (p : ProfilePoint) : ℝ →L[ℝ] ℝ := |
| @@ -346,31 +130,6 @@ def timeProfileDerivative (G : Profile) (p : ProfilePoint) : ℝ →L[ℝ] ℝ : | ||
| 346 | 130 | @[simp] theorem timeProfileDerivative_one (G : Profile) (p : ProfilePoint) : |
| 347 | 131 | timeProfileDerivative G p 1 = partialT G p := rfl |
| 348 | 132 | |
| 349 | -theorem hasFDerivAt_time_lift {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) (x : Space) : | |
| 350 | - HasFDerivAt (fun s => lift G s x) (timeProfileDerivative G (profilePoint t x)) t := by | |
| 351 | - have hp : HasFDerivAt (fun s => profilePoint s x) timeProfileJacobian t := | |
| 352 | - (hasFDerivAt_id t).prodMk (hasFDerivAt_const (radialEnergy x, x 2) t) | |
| 353 | - exact (hG x).hasFDerivAt.comp t hp | |
| 354 | - | |
| 355 | -theorem temporalDerivative_velocity {B F U : Profile} {t : ℝ} | |
| 356 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 357 | - (hU : SliceDifferentiable U t) (x : Space) : | |
| 358 | - temporalDerivative (velocity B F U) t x = | |
| 359 | - pack (-x 0 * partialT B (profilePoint t x) - x 1 * partialT F (profilePoint t x)) | |
| 360 | - (-x 1 * partialT B (profilePoint t x) + x 0 * partialT F (profilePoint t x)) | |
| 361 | - (partialT U (profilePoint t x)) := by | |
| 362 | - have hb := hasFDerivAt_time_lift hB x | |
| 363 | - have hf := hasFDerivAt_time_lift hF x | |
| 364 | - have hu := hasFDerivAt_time_lift hU x | |
| 365 | - have hv := hasFDerivAt_pack (((hb.const_mul (x 0)).fun_add (hf.const_mul (x 1))).fun_neg) | |
| 366 | - ((hf.const_mul (x 0)).fun_sub (hb.const_mul (x 1))) hu | |
| 367 | - change (fderiv ℝ (fun s => pack (-(x 0 * lift B s x + x 1 * lift F s x)) | |
| 368 | - (x 0 * lift F s x - x 1 * lift B s x) (lift U s x)) t) 1 = _ | |
| 369 | - rw [hv.fderiv] | |
| 370 | - simp | |
| 371 | - ext i | |
| 372 | - fin_cases i <;> simp [pack, coordinateVector] <;> ring | |
| 373 | - | |
| 374 | 133 | def residualRadial (B F U P : Profile) (p : ProfilePoint) : ℝ := |
| 375 | 134 | -partialT B p + advectionRadial B F U p + laplaceWeighted B p + partialS P p |
| 376 | 135 | def residualAngular (B F U : Profile) (p : ProfilePoint) : ℝ := |
| @@ -378,36 +137,6 @@ def residualAngular (B F U : Profile) (p : ProfilePoint) : ℝ := | ||
| 378 | 137 | def residualAxial (B U P : Profile) (p : ProfilePoint) : ℝ := |
| 379 | 138 | partialT U p + advectionAxial B U p - laplaceScalar U p + partialZ P p |
| 380 | 139 | |
| 381 | -/-- Exact physical Navier--Stokes residual, at viscosity one, including radial, | |
| 382 | -angular, and axial viscosity. Its hypotheses need no continuation past time `t`. -/ | |
| 383 | -theorem navierStokesResidual_velocity {B F U P : Profile} {t : ℝ} | |
| 384 | - (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) | |
| 385 | - (hP : SliceDifferentiable P t) (x : Space) : | |
| 386 | - navierStokesResidual (velocity B F U) (pressure P) t x = | |
| 387 | - pack (x 0 * residualRadial B F U P (profilePoint t x) + | |
| 388 | - x 1 * residualAngular B F U (profilePoint t x)) | |
| 389 | - (x 1 * residualRadial B F U P (profilePoint t x) - | |
| 390 | - x 0 * residualAngular B F U (profilePoint t x)) | |
| 391 | - (residualAxial B U P (profilePoint t x)) := by | |
| 392 | - unfold navierStokesResidual | |
| 393 | - rw [temporalDerivative_velocity hB.differentiable hF.differentiable hU.differentiable, | |
| 394 | - advection_velocity hB.differentiable hF.differentiable hU.differentiable, | |
| 395 | - spatialLaplacian_velocity hB hF hU, pressureGradient_pressure hP] | |
| 396 | - ext i | |
| 397 | - fin_cases i <;> simp [pack, coordinateVector, | |
| 398 | - residualRadial, residualAngular, residualAxial] <;> ring | |
| 399 | - | |
| 400 | -/-- The three explicit coefficient equations imply the actual Cartesian PDE. -/ | |
| 401 | -theorem navierStokesResidual_eq_zero {B F U P : Profile} {t : ℝ} | |
| 402 | - (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) | |
| 403 | - (hP : SliceDifferentiable P t) (x : Space) | |
| 404 | - (hr : residualRadial B F U P (profilePoint t x) = 0) | |
| 405 | - (ha : residualAngular B F U (profilePoint t x) = 0) | |
| 406 | - (hz : residualAxial B U P (profilePoint t x) = 0) : | |
| 407 | - navierStokesResidual (velocity B F U) (pressure P) t x = 0 := by | |
| 408 | - rw [navierStokesResidual_velocity hB hF hU hP] | |
| 409 | - simp [hr, ha, hz, pack] | |
| 410 | - | |
| 411 | 140 | def fromPotentialB (H : Profile) (p : ProfilePoint) : ℝ := partialZ H p / 2 |
| 412 | 141 | def fromPotentialF (K : Profile) (p : ProfilePoint) : ℝ := -partialS K p |
| 413 | 142 | def fromPotentialU (H : Profile) (p : ProfilePoint) : ℝ := H p + p.2.1 * partialS H p |
+0 −108 NavierStokes/AxisymmetricResidualGrouping.lean View file
| @@ -134,16 +134,6 @@ theorem Representation.erase {ι : Type*} {labels : ℕ → Finset ι} | ||
| 134 | 134 | rw [h.aliasError] |
| 135 | 135 | exact add_sub_cancel_right _ _ |
| 136 | 136 | |
| 137 | -theorem extractionRegular_erase {ι : Type*} {U : Set D} {c : Context D} {s : State D} | |
| 138 | - {labels : ℕ → Finset ι} {blocks : ι → HarmonicBlock D} | |
| 139 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} {n : ℕ} | |
| 140 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 141 | - (axis : MeanVector D) : | |
| 142 | - HarmonicResidual.ExtractionRegular U c (eraseAxisymmetricAlias s axis) | |
| 143 | - labels blocks gaussian aliasCoeffs n := | |
| 144 | - ⟨h.frame, h.base, h.mean, h.pressure, h.blocks, h.gaussian, h.aliasError, | |
| 145 | - h.disjoint, h.angular_nonzero⟩ | |
| 146 | - | |
| 147 | 137 | @[simp] theorem residualBlock_erase (c : Context D) (s : State D) (axis : MeanVector D) |
| 148 | 138 | (b : HarmonicBlock D) (gaussian aliasCoeffs : HarmonicResidual.BlockCoefficients D) : |
| 149 | 139 | HarmonicResidual.residualBlock c (eraseAxisymmetricAlias s axis) b gaussian aliasCoeffs = |
| @@ -157,102 +147,4 @@ theorem extractionRegular_erase {ι : Type*} {U : Set D} {c : Context D} {s : St | ||
| 157 | 147 | (eraseAxisymmetricAlias s axis) = |
| 158 | 148 | HarmonicResidual.stateMeanCoefficientValue labels blocks gaussian aliasCoeffs c s := rfl |
| 159 | 149 | |
| 160 | -/-- The existing finite harmonic representation implies continuity in the | |
| 161 | -angular variable even when the independent base error is not regular. -/ | |
| 162 | -theorem represented_goodResidual_angular_continuous {ι : Type*} {U : Set D} | |
| 163 | - (hU : IsOpen U) {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 164 | - {blocks : ι → HarmonicBlock D} | |
| 165 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 166 | - (hrep : HarmonicResidual.BlockRepresentation labels blocks gaussian aliasCoeffs s) {n : ℕ} | |
| 167 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 168 | - {x : D} (hx : x ∈ U) (i : Fin 3) : | |
| 169 | - Continuous (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) := by | |
| 170 | - let data := fun l => HarmonicResidual.ofBlock (blocks l) (gaussian l) (aliasCoeffs l) n | |
| 171 | - have he : (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) = | |
| 172 | - fun θ => (HarmonicResidual.meanCoefficients (HarmonicResidual.contextFrame c n) | |
| 173 | - (HarmonicResidual.contextBase c n) (HarmonicResidual.stateMean s n) | |
| 174 | - (fun y => (s.pressure n y : ℂ)) i 0 x).re + | |
| 175 | - HarmonicResidual.contextVirtual c n x i + | |
| 176 | - ∑ l ∈ labels n, (HarmonicFields.field | |
| 177 | - ((data l).residualCoefficients (HarmonicResidual.contextFrame c n) | |
| 178 | - (HarmonicResidual.contextBase c n) (HarmonicResidual.stateMean s n) i) | |
| 179 | - (data l).frequency (data l).phase (data l).angularFrequency (x, θ)).re := by | |
| 180 | - funext θ | |
| 181 | - rw [hrep.goodResidual_eq c n (x, θ) i] | |
| 182 | - exact HarmonicResidual.goodResidual_grouped (labels n) data hU h.frame _ _ _ _ | |
| 183 | - h.base h.mean (Complex.ofRealCLM.contDiff.comp_contDiffOn h.pressure) | |
| 184 | - h.blocks h.dataDisjoint ⟨hx, mem_univ θ⟩ i | |
| 185 | - rw [he] | |
| 186 | - exact continuous_const.add (continuous_finsetSum (labels n) (fun l _ => | |
| 187 | - Complex.continuous_re.comp (HarmonicFields.field_angular_continuous _ _ _ _ _))) | |
| 188 | - | |
| 189 | -/-- Actual nonconstant residual grouping, with no smoothness or support | |
| 190 | -assumption on the independent axisymmetric alias. -/ | |
| 191 | -theorem stateGoodWaveResidual_grouped {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 192 | - {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 193 | - {blocks : ι → HarmonicBlock D} | |
| 194 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 195 | - {axis : MeanVector D} | |
| 196 | - (hrep : Representation labels blocks gaussian aliasCoeffs s axis) {n : ℕ} | |
| 197 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 198 | - {x : D × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : | |
| 199 | - HarmonicResidual.stateGoodWaveResidual c s n x i = | |
| 200 | - ∑ l ∈ labels n, | |
| 201 | - (HarmonicResidual.residualBlock c s (blocks l) (gaussian l) (aliasCoeffs l)).oscillation n x i := by | |
| 202 | - have hr := extractionRegular_erase h axis | |
| 203 | - have hc := represented_goodResidual_angular_continuous hU hrep.erase hr hx.1 i | |
| 204 | - have he := stateGoodWaveResidual_addAxisymmetricAlias c (eraseAxisymmetricAlias s axis) | |
| 205 | - axis n x i (hc.intervalIntegrable _ _) | |
| 206 | - rw [add_eraseAxisymmetricAlias] at he | |
| 207 | - rw [he, HarmonicResidual.stateGoodWaveResidual_grouped hU hrep.erase hr hx i] | |
| 208 | - rfl | |
| 209 | - | |
| 210 | -/-- The independent alias changes the actual zero mode by its negative. -/ | |
| 211 | -theorem stateGoodResidual_angularAverage {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 212 | - {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 213 | - {blocks : ι → HarmonicBlock D} | |
| 214 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 215 | - {axis : MeanVector D} | |
| 216 | - (hrep : Representation labels blocks gaussian aliasCoeffs s axis) {n : ℕ} | |
| 217 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 218 | - {x : D} (hx : x ∈ U) (i : Fin 3) : | |
| 219 | - angularAverage (fun m y => HarmonicResidual.stateGoodResidual c s m y i) n x = | |
| 220 | - HarmonicResidual.stateMeanCoefficientValue labels blocks gaussian aliasCoeffs | |
| 221 | - c s n x i - axis n x i := by | |
| 222 | - have hr := extractionRegular_erase h axis | |
| 223 | - have hc := represented_goodResidual_angular_continuous hU hrep.erase hr hx i | |
| 224 | - have he := angularAverage_sub_axisymmetric | |
| 225 | - (fun m y => HarmonicResidual.stateGoodResidual c (eraseAxisymmetricAlias s axis) m y i) | |
| 226 | - (fun m y => axis m y i) n x (hc.intervalIntegrable _ _) | |
| 227 | - have hb : (fun m y => HarmonicResidual.stateGoodResidual c | |
| 228 | - (eraseAxisymmetricAlias s axis) m y i - axis m y.1 i) = | |
| 229 | - (fun m y => HarmonicResidual.stateGoodResidual c s m y i) := by | |
| 230 | - funext m y | |
| 231 | - rw [stateGoodResidual_eraseAxisymmetricAlias] | |
| 232 | - exact add_sub_cancel_right _ _ | |
| 233 | - rw [hb, ← HarmonicResidual.stateMeanCoefficientValue_eq_average hU hrep.erase hr hx i, | |
| 234 | - stateMeanCoefficientValue_erase] at he | |
| 235 | - exact he | |
| 236 | - | |
| 237 | -/-- The complete residual retains the actual excluded errors and the corrected | |
| 238 | -mean mode. In particular the independent alias is never silently discarded. -/ | |
| 239 | -theorem stateFullResidual_reconstructed {ι : Type*} {U : Set D} (hU : IsOpen U) | |
| 240 | - {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 241 | - {blocks : ι → HarmonicBlock D} | |
| 242 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 243 | - {axis : MeanVector D} | |
| 244 | - (hrep : Representation labels blocks gaussian aliasCoeffs s axis) {n : ℕ} | |
| 245 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 246 | - {x : D × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : | |
| 247 | - HarmonicResidual.stateFullResidual c s n x i = | |
| 248 | - (∑ l ∈ labels n, | |
| 249 | - (HarmonicResidual.residualBlock c s (blocks l) (gaussian l) (aliasCoeffs l)).oscillation n x i) + | |
| 250 | - (HarmonicResidual.stateMeanCoefficientValue labels blocks gaussian aliasCoeffs | |
| 251 | - c s n x.1 i - axis n x.1 i) + s.errors.total n x i := by | |
| 252 | - have he := stateGoodWaveResidual_grouped hU hrep h hx i | |
| 253 | - simp only [HarmonicResidual.stateGoodWaveResidual] at he | |
| 254 | - rw [stateGoodResidual_angularAverage hU hrep h hx.1 i] at he | |
| 255 | - simp only [HarmonicResidual.stateGoodResidual, Pi.sub_apply] at he | |
| 256 | - linarith | |
| 257 | - | |
| 258 | 150 | end NavierStokes.AxisymmetricResidualGrouping |
+0 −128 NavierStokes/BandReindexedSignedMeanGain.lean View file
| @@ -27,138 +27,10 @@ structure SameCarrierAt {D : Type} (a b : HarmonicBlock D) (n : ℕ) : Prop wher | ||
| 27 | 27 | phase : b.phase n = a.phase n |
| 28 | 28 | angular : b.angularFrequency n = a.angularFrequency n |
| 29 | 29 | |
| 30 | -/-- Equality of the stored coefficients and carrier metadata identifies the | |
| 31 | -actual harmonic field at this band. Pressure data are not used in covariance. -/ | |
| 32 | -theorem oscillation_eq_at_band_of_coefficients {D : Type} | |
| 33 | - (a b : HarmonicBlock D) (n : ℕ) | |
| 34 | - (hv : a.velocity n = b.velocity n) (hc : SameCarrierAt a b n) : | |
| 35 | - a.oscillation n = b.oscillation n := by | |
| 36 | - funext p i | |
| 37 | - simp only [HarmonicBlock.oscillation, hv, hc.frequency, hc.phase, hc.angular] | |
| 38 | - | |
| 39 | 30 | /-! ## Finite reindexing of actual fields -/ |
| 40 | 31 | |
| 41 | -/-- Reindex a finite sum using only the coefficient and carrier identities | |
| 42 | -on its active labels. Inactive labels need not have distinct images. -/ | |
| 43 | -theorem fieldSum_reindex_of_coefficients {D ι κ : Type} [DecidableEq κ] | |
| 44 | - (labels : ℕ → Finset ι) (nativeLabels : ℕ → Finset κ) | |
| 45 | - (a : ι → HarmonicBlock D) (b : κ → HarmonicBlock D) | |
| 46 | - (e : ℕ → ι → κ) | |
| 47 | - (he : ∀ n, Set.InjOn (e n) (labels n : Set ι)) | |
| 48 | - (hlabels : ∀ n, (labels n).image (e n) = nativeLabels n) | |
| 49 | - (hv : ∀ n l, l ∈ labels n → (a l).velocity n = (b (e n l)).velocity n) | |
| 50 | - (hc : ∀ n l, l ∈ labels n → SameCarrierAt (a l) (b (e n l)) n) : | |
| 51 | - LabelSumBounds.fieldSum labels (fun l => (a l).oscillation) = | |
| 52 | - LabelSumBounds.fieldSum nativeLabels (fun l => (b l).oscillation) := by | |
| 53 | - funext n p i | |
| 54 | - simp only [LabelSumBounds.fieldSum] | |
| 55 | - rw [← hlabels n, Finset.sum_image (he n)] | |
| 56 | - apply Finset.sum_congr rfl | |
| 57 | - intro l hl | |
| 58 | - exact congrFun (congrFun | |
| 59 | - (oscillation_eq_at_band_of_coefficients (a l) (b (e n l)) n | |
| 60 | - (hv n l hl) (hc n l hl)) p) i | |
| 61 | - | |
| 62 | 32 | /-! ## The native requested cross for arbitrary physical labels -/ |
| 63 | 33 | |
| 64 | -/-- The actual primary and tangent sums agree with the native sums after | |
| 65 | -bandwise finite reindexing. This theorem does not reindex `SignedFamily`, | |
| 66 | -so none of its uniform coefficient bounds acquire a label-dependent constant. -/ | |
| 67 | -theorem native_fields | |
| 68 | - (G : Geometry) (B : NativeData G) (c : Context Point) (u : State Point) | |
| 69 | - {ι : Type} {P : ι → ℕ → Point → ℝ} {α δ β η : ℝ} | |
| 70 | - (f : LabelSumBounds.SignedFamily G.strip P α δ β η) (a : Assembly f) | |
| 71 | - (e : ℕ → ι → NativeIndex) | |
| 72 | - (he : ∀ n, Set.InjOn (e n) (a.labels n : Set ι)) | |
| 73 | - (hlabels : ∀ n, (a.labels n).image (e n) = B.labels n) | |
| 74 | - (hp : ∀ n l, l ∈ a.labels n → | |
| 75 | - (f.primary l).velocity n = (B.primaryBlocks (e n l)).velocity n) | |
| 76 | - (hcp : ∀ n l, l ∈ a.labels n → | |
| 77 | - SameCarrierAt (f.primary l) (B.primaryBlocks (e n l)) n) | |
| 78 | - (ht : ∀ n l, l ∈ a.labels n → | |
| 79 | - (f.tangent l).velocity n = (B.signedBlocks c u (e n l)).velocity n) | |
| 80 | - (hct : ∀ n l, l ∈ a.labels n → | |
| 81 | - SameCarrierAt (f.tangent l) (B.signedBlocks c u (e n l)) n) : | |
| 82 | - primaryField f a = LabelSumBounds.fieldSum B.labels | |
| 83 | - (fun l => (B.primaryBlocks l).oscillation) ∧ | |
| 84 | - tangentField f a = LabelSumBounds.fieldSum B.labels | |
| 85 | - (fun l => (B.signedBlocks c u l).oscillation) := by | |
| 86 | - exact ⟨fieldSum_reindex_of_coefficients a.labels B.labels f.primary B.primaryBlocks | |
| 87 | - e he hlabels hp hcp, | |
| 88 | - fieldSum_reindex_of_coefficients a.labels B.labels f.tangent (B.signedBlocks c u) | |
| 89 | - e he hlabels ht hct⟩ | |
| 90 | - | |
| 91 | -/-- The same primary matrix, masks, fundamental, and signed inverse supply | |
| 92 | -the requested physical stress. Both cross identities are conclusions. -/ | |
| 93 | -theorem native_family_cross | |
| 94 | - (G : Geometry) (B : NativeData G) (c : Context Point) (u : State Point) | |
| 95 | - {ι : Type} {P : ι → ℕ → Point → ℝ} {α δ β η : ℝ} | |
| 96 | - (f : LabelSumBounds.SignedFamily G.strip P α δ β η) (a : Assembly f) | |
| 97 | - (e : ℕ → ι → NativeIndex) | |
| 98 | - (he : ∀ n, Set.InjOn (e n) (a.labels n : Set ι)) | |
| 99 | - (hlabels : ∀ n, (a.labels n).image (e n) = B.labels n) | |
| 100 | - (hp : ∀ n l, l ∈ a.labels n → | |
| 101 | - (f.primary l).velocity n = (B.primaryBlocks (e n l)).velocity n) | |
| 102 | - (hcp : ∀ n l, l ∈ a.labels n → | |
| 103 | - SameCarrierAt (f.primary l) (B.primaryBlocks (e n l)) n) | |
| 104 | - (ht : ∀ n l, l ∈ a.labels n → | |
| 105 | - (f.tangent l).velocity n = (B.signedBlocks c u (e n l)).velocity n) | |
| 106 | - (hct : ∀ n l, l ∈ a.labels n → | |
| 107 | - SameCarrierAt (f.tangent l) (B.signedBlocks c u (e n l)) n) : | |
| 108 | - Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 1)) | |
| 109 | - (physicalSigma G 2 (u.thetaResidual c)) ∧ | |
| 110 | - Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 2)) | |
| 111 | - (physicalSigma G 1 (u.axialResidual c)) := by | |
| 112 | - obtain ⟨hprimary, htangent⟩ := native_fields G B c u f a e he hlabels hp hcp ht hct | |
| 113 | - constructor | |
| 114 | - · have ht := B.requested_cross c u 0 | |
| 115 | - simp only [crossTensor, hprimary, htangent, LocalSignedRequest.requestedStress, | |
| 116 | - Matrix.cons_val_zero] at ht ⊢ | |
| 117 | - exact ht | |
| 118 | - · have ht := B.requested_cross c u 1 | |
| 119 | - simp only [crossTensor, hprimary, htangent, LocalSignedRequest.requestedStress, | |
| 120 | - Matrix.cons_val_one] at ht ⊢ | |
| 121 | - exact ht | |
| 122 | - | |
| 123 | 34 | /-! ## The gain for the original family and literal reconstructed state -/ |
| 124 | 35 | |
| 125 | -/-- Signed-wave mean gain for fixed physical labels and a band-dependent | |
| 126 | -native reindexing. The input uniform bounds remain those of `f` on the | |
| 127 | -original label type. The output is the actual moving-gauge reconstructed | |
| 128 | -state, including the supplied Gaussian error and all covariance terms. -/ | |
| 129 | -theorem native_signed_mean_gain | |
| 130 | - (G : Geometry) (B : NativeData G) (c : Context Point) (u : State Point) | |
| 131 | - {ι : Type} {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} | |
| 132 | - (hσ : 1 / 5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1 / 100000) | |
| 133 | - (f : LabelSumBounds.SignedFamily G.strip P (1 / 2) (17 / 25) | |
| 134 | - (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) | |
| 135 | - (e : ℕ → ι → NativeIndex) | |
| 136 | - (he : ∀ n, Set.InjOn (e n) (a.labels n : Set ι)) | |
| 137 | - (hlabels : ∀ n, (a.labels n).image (e n) = B.labels n) | |
| 138 | - (hp : ∀ n l, l ∈ a.labels n → | |
| 139 | - (f.primary l).velocity n = (B.primaryBlocks (e n l)).velocity n) | |
| 140 | - (hcp : ∀ n l, l ∈ a.labels n → | |
| 141 | - SameCarrierAt (f.primary l) (B.primaryBlocks (e n l)) n) | |
| 142 | - (ht : ∀ n l, l ∈ a.labels n → | |
| 143 | - (f.tangent l).velocity n = (B.signedBlocks c u (e n l)).velocity n) | |
| 144 | - (hct : ∀ n l, l ∈ a.labels n → | |
| 145 | - SameCarrierAt (f.tangent l) (B.signedBlocks c u (e n l)) n) | |
| 146 | - (q : OscillatoryScalar Point) (gaussian : Oscillation Point) | |
| 147 | - (hold : u.oscillation = oldField f a) | |
| 148 | - (H : LocalData G c u (tangentField f a + curlField f a) q gaussian) | |
| 149 | - (ho : OperatorBounds G.strip G.operators κ) | |
| 150 | - (hX : ∀ i j, MovingField G (incrementTensor f a i j)) | |
| 151 | - (hS : ∀ i j, MovingField G (crossTensor f a i j)) | |
| 152 | - (hθ : MeanClass G.strip (1 + σ - κ) (u.thetaResidual c)) | |
| 153 | - (hz : MeanClass G.strip (1 + σ - κ) (u.axialResidual c)) | |
| 154 | - (hd : DefectBounds G.slowStrip (σ - κ) c u) : | |
| 155 | - let v := waveStage G.gauge c u (tangentField f a + curlField f a) q gaussian | |
| 156 | - MeanClass G.strip (1 + σ - 2 * κ) (v.thetaResidual c) ∧ | |
| 157 | - MeanClass G.strip (1 + σ - 2 * κ) (v.axialResidual c) ∧ | |
| 158 | - MeanClass G.strip (1 + σ + 17 / 100) (StateMomentBalances.meanBar (v.thetaResidual c)) ∧ | |
| 159 | - MeanClass G.strip (1 + σ + 17 / 100) (StateMomentBalances.meanBar (v.axialResidual c)) := by | |
| 160 | - obtain ⟨hcθ, hcz⟩ := native_family_cross G B c u f a e he hlabels hp hcp ht hct | |
| 161 | - exact SignedMeanGain.signed_mean_gain_of_cross G c u hσ hκ hκsmall f a q gaussian | |
| 162 | - hold H ho hX hS hθ hz hd hcθ hcz | |
| 163 | - | |
| 164 | 36 | end NavierStokes.BandReindexedSignedMeanGain |
+0 −97 NavierStokes/BaseChartJets.lean View file
| @@ -717,62 +717,6 @@ theorem exists_dyadic_cutoff {qhi : ℝ} (hqhi : 0 < qhi) (N0 : ℕ) : | ||
| 717 | 717 | simp only [ChartScales.epsilon, Real.rpow_zero, Real.rpow_one, one_mul] at hb |
| 718 | 718 | exact ((lt_div_iff₀ hqhi).mp hb).le |
| 719 | 719 | |
| 720 | -/-- The already selected enlarged-bundle schedule of the nominal base | |
| 721 | -instantiates the chart theorem without any additional schedule choice. -/ | |
| 722 | -theorem nominal_estimates {ι : Type*} {D : Domain ι Slow} | |
| 723 | - {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 724 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 725 | - {r M qlo qhi lo hi : ℝ} | |
| 726 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 727 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 728 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 729 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 730 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 731 | - Estimates D Q (ConstructedSlowBase.nominalScales W c hc upper B) | |
| 732 | - F.data.h W.axis.normalization (AssembledSlowBase.nominalCoefficients W) := | |
| 733 | - actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 734 | - hr hM hqlo hqhi hlo H (AssembledSlowBase.nominalCoefficients_smooth W) | |
| 735 | - (ConstructedSlowBase.nominalScales_admissible_on W c hc upper B hlo.le hhi) | |
| 736 | - Q hQ hQ1 hsmall | |
| 737 | - | |
| 738 | -/-- The same conclusion for the actual solved finite modulation and its | |
| 739 | -single common weighted/ordinary Borel schedule. -/ | |
| 740 | -theorem modulated_estimates {ι : Type*} {D : Domain ι Slow} | |
| 741 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 742 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 743 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 744 | - {r M qlo qhi lo hi : ℝ} | |
| 745 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 746 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 747 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 748 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 749 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 750 | - Estimates D Q (ConstructedSlowBase.Modulated.scales v c hc upper B) | |
| 751 | - F.data.h W.axis.normalization (ConstructedSlowBase.Modulated.coefficients v) := by | |
| 752 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 753 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B) | |
| 754 | - (show SlowBorelBase.innerBox lo hi ⊆ | |
| 755 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 756 | - fun w hw => ⟨⟨hlo.le.trans hw.1.1, hw.1.2.trans hhi⟩, hw.2⟩) | |
| 757 | - exact actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 758 | - hr hM hqlo hqhi hlo H (ConstructedSlowBase.Modulated.coefficients_smooth v) ha Q hQ hQ1 hsmall | |
| 759 | - | |
| 760 | -/-- A direct paired all-jet form, with constants uniform over every index | |
| 761 | -of the chart family. -/ | |
| 762 | -theorem Estimates.uniform_errors {ι : Type*} {D : Domain ι Slow} {Q : ι → ℝ} | |
| 763 | - {a : ℕ → ℕ} {h C : ℝ} {d : SlowBorelBase.Coefficients} | |
| 764 | - (H : Estimates D Q a h C d) (N : ℕ) : | |
| 765 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ i x, x ∈ D.carrier i → ∀ j, j ≤ N → | |
| 766 | - ‖iteratedFDeriv ℝ j (fun p => frequency a h C d (Q i) p - leadingFrequency h C d p) x‖ ≤ | |
| 767 | - K * Q i ^ (2 * h) ∧ | |
| 768 | - ‖iteratedFDeriv ℝ j (fun p => axial a h d (Q i) p - leadingAxial h d p) x‖ ≤ | |
| 769 | - K * Q i ^ (2 * h) := by | |
| 770 | - obtain ⟨CF, hCF, hF⟩ := envelope_unit_bound H.frequency_error N | |
| 771 | - obtain ⟨CG, hCG, hG⟩ := envelope_unit_bound H.axial_error N | |
| 772 | - refine ⟨max CF CG, hCF.trans (le_max_left _ _), fun i x hx j hj => ?_⟩ | |
| 773 | - have hw := H.frequency_error.nonneg i x hx | |
| 774 | - exact ⟨(hF i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) hw), | |
| 775 | - (hG i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) hw)⟩ | |
| 776 | 720 | |
| 777 | 721 | /-- Every actual positive active label above a single fixed band. -/ |
| 778 | 722 | noncomputable def CellIndex (h lo hi : ℝ) (N : ℕ) := |
| @@ -796,16 +740,6 @@ theorem positiveCellDomain_convex (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo | ||
| 796 | 740 | Convex ℝ ((positiveCellDomain h lo hi N).carrier L) := |
| 797 | 741 | PositiveRepresentatives.positiveCell_convex _ _ |
| 798 | 742 | |
| 799 | -theorem positiveCellDomain_representative (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 800 | - PositiveRepresentatives.representative (PrimaryRepresentatives.referenceCompact h lo hi) L.val ∈ | |
| 801 | - (positiveCellDomain h lo hi N).carrier L := | |
| 802 | - PositiveRepresentatives.representative_mem_cell _ L.val | |
| 803 | - | |
| 804 | -theorem positiveCellDomain_covers (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 805 | - PrimaryRepresentatives.gridBox L.val.val.1 L.val.val.2 2 ∩ PositiveRepresentatives.positiveTime ⊆ | |
| 806 | - (positiveCellDomain h lo hi N).carrier L := | |
| 807 | - PositiveRepresentatives.enlarged_positive_subset_cell L.val.property.1 _ | |
| 808 | - | |
| 809 | 743 | /-- Full actual-input conclusion. The fixed annular profile and one |
| 810 | 744 | admissible Borel schedule give all-order estimates and a single local-base |
| 811 | 745 | constant on every actual enlarged positive-time cell above one band. |
| @@ -853,35 +787,4 @@ theorem exists_actual_positive_charts {a : ℕ → ℕ} {h C lo hi : ℝ} | ||
| 853 | 787 | exact he.localBaseBounds hh.le (fun L => ChartScales.Q_pos (cellBand L)) |
| 854 | 788 | (fun L => ChartScales.Q_le_one (cellBand L)) (positiveCellDomain_convex h lo hi N) |
| 855 | 789 | |
| 856 | -/-- Actual modulated base, actual common schedule, and actual positive | |
| 857 | -active cells, combined in one theorem. The only annular restriction is | |
| 858 | -that the selected schedule controls the enlarged fixed inner box. -/ | |
| 859 | -theorem exists_modulated_positive_charts | |
| 860 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 861 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 862 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B0 : ℕ) | |
| 863 | - {lo hi : ℝ} (hlo : 0 < lo) (hhi : lo ≤ hi) | |
| 864 | - (hbox : 2 * hi ≤ ConstructedSlowBase.scaleUpper W upper) (N0 : ℕ) : | |
| 865 | - let a := ConstructedSlowBase.Modulated.scales v c hc upper B0 | |
| 866 | - let d := ConstructedSlowBase.Modulated.coefficients v | |
| 867 | - ∃ N : ℕ, N0 ≤ N ∧ | |
| 868 | - Estimates (positiveCellDomain F.data.h lo hi N) | |
| 869 | - (fun L => ChartScales.Q (cellBand L)) a F.data.h W.axis.normalization d ∧ | |
| 870 | - ∃ B : ℝ, 1 ≤ B ∧ ∀ L : CellIndex F.data.h lo hi N, | |
| 871 | - PhaseEstimates.LocalBaseBounds | |
| 872 | - (frequency a F.data.h W.axis.normalization d (ChartScales.Q (cellBand L))) | |
| 873 | - (axial a F.data.h d (ChartScales.Q (cellBand L))) | |
| 874 | - (leadingFrequency F.data.h W.axis.normalization d) (leadingAxial F.data.h d) | |
| 875 | - ((positiveCellDomain F.data.h lo hi N).carrier L) B | |
| 876 | - (ChartScales.epsilon F.data.h (cellBand L)) := by | |
| 877 | - dsimp only | |
| 878 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 879 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B0) | |
| 880 | - (show SlowBorelBase.innerBox (lo / 2) (2 * hi) ⊆ | |
| 881 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 882 | - fun w hw => ⟨⟨(half_pos hlo).le.trans hw.1.1, hw.1.2.trans hbox⟩, hw.2⟩) | |
| 883 | - exact exists_actual_positive_charts (ConstructedSlowBase.height_pos W) | |
| 884 | - (ConstructedSlowBase.height_lt_half W) hlo hhi | |
| 885 | - (ConstructedSlowBase.Modulated.coefficients_smooth v) ha N0 | |
| 886 | - | |
| 887 | 790 | 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 | |
| @@ -73,15 +65,6 @@ theorem referenceScale_bounds {lam l M viscosity u : ℝ} | ||
| 73 | 65 | one_le_mul_of_one_le_of_one_le hvlo (dampingDenominator_one_le u) |
| 74 | 66 | exact hM.trans (le_mul_of_one_le_right (hlampos.le.trans hM) hVD) |
| 75 | 67 | |
| 76 | -theorem dyadic_referenceScale_normalization (h u : ℝ) {lam : ℝ} (hlam : 0 < lam) (n : ℕ) : | |
| 77 | - (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) * | |
| 78 | - referenceScale lam (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) u ^ 2 = | |
| 79 | - lam / dampingDenominator u := by | |
| 80 | - apply referenceScale_normalization hlam | |
| 81 | - have hk : 0 < (ChartScales.carrier h n : ℝ) := | |
| 82 | - Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h n) | |
| 83 | - exact mul_pos (ChartScales.epsilon_pos h n) (pow_pos hk 2) | |
| 84 | - | |
| 85 | 68 | theorem localBase_mono {F G F0 G0 : Slow → ℝ} {U : Set Slow} {M T ε : ℝ} |
| 86 | 69 | (h : PhaseEstimates.LocalBaseBounds F G F0 G0 U M ε) (hMT : M ≤ T) : |
| 87 | 70 | PhaseEstimates.LocalBaseBounds F G F0 G0 U T ε where |
| @@ -937,29 +920,6 @@ theorem coefficientControl (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 937 | 920 | errors _ hv := a.modal_errors hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 938 | 921 | viscosity _ hv := a.damping_error hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 939 | 922 | |
| 940 | -/-- The actual modal energy bound holds with the same constants for every | |
| 941 | -nonzero harmonic. The damping discrepancy is not multiplied by `j²`. -/ | |
| 942 | -theorem energy_bound (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 943 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 944 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) | |
| 945 | - (i : ι) (hn : LargeBand h M u (a.band i)) {q : Slow} (hq : q ∈ D.carrier i) | |
| 946 | - {v : ℝ} (hv : v ∈ a.slot i) {j : ℤ} (hj : j ≠ 0) (w : Plane) : | |
| 947 | - ⟪w, (a.frame i).coefficient j (q, v) w⟫_ℝ ≤ | |
| 948 | - (ViscousPropagator.referenceEigenvalue (a.lam i) u (a.length i) v - | |
| 949 | - ViscousPropagator.referenceViscosity (a.lam i) u (a.length i) v + | |
| 950 | - (dampingConstant M + 4 * modalConstant M u) / D.scale i) * ‖w‖ ^ 2 := by | |
| 951 | - have hν : 0 ≤ (a.frame i).viscosity (q, v) := by | |
| 952 | - change 0 ≤ a.viscosity i * ‖a.phase.normal i (q, v)‖ ^ 2 | |
| 953 | - exact mul_nonneg (zero_le_one.trans (ChartScales.carrier_viscosity_bounds h hh (a.band i)).1) | |
| 954 | - (sq_nonneg _) | |
| 955 | - have hl : 0 ≤ (a.frame i).eigenvalue (q, v) := by | |
| 956 | - change 0 ≤ a.lam i / Real.sqrt (1 + PulseGrowth.slotMagnitude u (a.length i) v ^ 2) | |
| 957 | - exact div_nonneg (a.lambda_pos hM i).le (Real.sqrt_nonneg _) | |
| 958 | - have hd := a.damping_error hh hr hM hu huM hL hslot i hn hq hv | |
| 959 | - apply (a.frame i).energy_bound (q, v) hj hl hν | |
| 960 | - · linarith [(abs_le.mp hd).1] | |
| 961 | - · exact a.modal_errors hh hr hM hu huM hL hslot i hn hq hv | |
| 962 | - | |
| 963 | 923 | noncomputable def outputBound (M : ℝ) : ℝ := frequencyBound M + 3 * M + M ^ 2 + 4 |
| 964 | 924 | noncomputable def outputLower (M u : ℝ) : ℝ := min (normalLower M u / 2) (1 / M) |
| 965 | 925 | |
| @@ -1055,11 +1015,6 @@ noncomputable def construction (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1055 | 1015 | dampingConstant M / D.scale i ≤ (a.frame i).viscosity (q, v) |
| 1056 | 1016 | linarith [(abs_le.mp hd).1] |
| 1057 | 1017 | |
| 1058 | -theorem construction_frame (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1059 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1060 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1061 | - (a.construction hh hr hM hu huM hL hslot hlarge).frame = a.frame := rfl | |
| 1062 | - | |
| 1063 | 1018 | /-- Every fixed derivative of the actual coefficient is controlled after |
| 1064 | 1019 | the derived zeroth-order geometry is inserted. -/ |
| 1065 | 1020 | theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| @@ -1072,15 +1027,6 @@ theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1072 | 1027 | p.constants p.epsilon_ne p.radius p.slot p.lam_bound p.c0_bound p.u_bound p.rate_bound |
| 1073 | 1028 | p.viscosity_bound p.B_bound p.K_unit p.slope_bound p.error_small p.normal_close |
| 1074 | 1029 | |
| 1075 | -theorem pulse_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1076 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1077 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1078 | - PrimaryPulseBounds.EnvelopeJets | |
| 1079 | - (PrimaryPulseBounds.productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) | |
| 1080 | - (fun i z => PrimaryPulseBounds.referenceP (a.lam i) u (a.length i) (a.length i * z.2)) | |
| 1081 | - (fun i => PrimaryPulseBounds.normalizedPulse (a.frame i) (a.lam i) u (a.length i)) := | |
| 1082 | - (a.construction hh hr hM hu huM hL hslot hlarge).pulse_jets | |
| 1083 | - | |
| 1084 | 1030 | theorem coefficient_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| 1085 | 1031 | (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) |
| 1086 | 1032 | (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) (j : ℤ) : |
| @@ -1103,59 +1049,6 @@ theorem normal_inner_shear {g : Plane} (hg : g ≠ 0) : | ||
| 1103 | 1049 | rw [real_inner_smul_right, real_inner_self_eq_norm_sq, normalDirection_unit hg] |
| 1104 | 1050 | ring |
| 1105 | 1051 | |
| 1106 | -/-- A compact fixed reference profile chooses every uniform constant | |
| 1107 | -before the band threshold. `A` may include all prescribed base-chart, | |
| 1108 | -derivative, and radial-annulus constants. -/ | |
| 1109 | -theorem ordered_constants {K : Set Slow} (hK : IsCompact K) | |
| 1110 | - {F0 G0 : Slow → ℝ} | |
| 1111 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1112 | - (hR : ∀ q ∈ K, 0 < q.1) | |
| 1113 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1114 | - (h r0 u A T : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1115 | - ∃ M : ℝ, 1 ≤ M ∧ A ≤ M ∧ |u| ≤ M ∧ 1 / (2 * r0) ≤ M ∧ | |
| 1116 | - 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1117 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1118 | - ∃ N ≥ N0, ∀ n ≥ N, LargeBand h M u n ∧ T ≤ ChartScales.S n := by | |
| 1119 | - obtain ⟨M0, hM0, hp⟩ := compact_parameter_bounds hK hF hg hR hc | |
| 1120 | - let M := max M0 (max A (max |u| (max (1 / (2 * r0)) (4 * r0 * ChartScales.Tg)))) | |
| 1121 | - have h0 : M0 ≤ M := le_max_left _ _ | |
| 1122 | - have hM : 1 ≤ M := hM0.trans h0 | |
| 1123 | - refine ⟨M, hM, (le_max_left _ _).trans (le_max_right _ _), | |
| 1124 | - (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _)), | |
| 1125 | - (le_max_left _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1126 | - (le_max_right _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1127 | - fun q hq => (hp q hq).mono h0, ?_⟩ | |
| 1128 | - exact exists_large_band h M u T hh hM N0 | |
| 1129 | - | |
| 1130 | -/-- One target-cone choice, one compact parameter constant, and then one | |
| 1131 | -band threshold. Both the mixed-point target margin and all analytic | |
| 1132 | -phase estimates hold after that same threshold. -/ | |
| 1133 | -theorem ordered_target_constants {K : Set Slow} (hK : IsCompact K) | |
| 1134 | - {F0 G0 : Slow → ℝ} {T0 : Slow → Plane} | |
| 1135 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1136 | - (hT : ContinuousOn T0 K) (hR : ∀ q ∈ K, 0 < q.1) | |
| 1137 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1138 | - (ht : ∀ q ∈ K, TargetCone (F0 q) (PhaseEstimates.shearVector F0 G0 q) (T0 q)) | |
| 1139 | - (h r0 A Tmin : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1140 | - ∃ u η M : ℝ, 0 < u ∧ 0 < η ∧ 1 ≤ M ∧ A ≤ M ∧ u ≤ M ∧ | |
| 1141 | - 1 / (2 * r0) ≤ M ∧ 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1142 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1143 | - ∃ N ≥ N0, (∀ n ≥ N, LargeBand h M u n ∧ Tmin ≤ ChartScales.S n) ∧ | |
| 1144 | - ∀ L : ActiveLabel K, N ≤ L.val.1 → ∀ q ∈ K, q ∈ gridBox L.val.1 L.val.2 2 → | |
| 1145 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ ≤ -η ∧ | |
| 1146 | - |c0 (F0 (representative K L)) (PhaseEstimates.shearVector F0 G0 (representative K L)) * | |
| 1147 | - ⟪T0 q, transverseDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ / | |
| 1148 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ| + η ≤ | |
| 1149 | - slopeRatio u := by | |
| 1150 | - obtain ⟨u, η, hu, hη, N1, htarget⟩ := representative_target_margin hK hF hg hT hc ht | |
| 1151 | - obtain ⟨M, hM, hA, huM, hL, hslot, hp, N, hN, hlarge⟩ := | |
| 1152 | - ordered_constants hK hF hg hR hc h r0 u A Tmin hh (max N0 N1) | |
| 1153 | - refine ⟨u, η, M, hu, hη, hM, hA, ?_, hL, hslot, hp, N, | |
| 1154 | - (le_max_left _ _).trans hN, hlarge, ?_⟩ | |
| 1155 | - · simpa only [abs_of_pos hu] using huM | |
| 1156 | - · intro L hLN q hq hbox | |
| 1157 | - exact htarget L ((le_max_right _ _).trans (hN.trans hLN)) q hq hbox | |
| 1158 | - | |
| 1159 | 1052 | /-- The actual selected mesh representatives and their derived compact |
| 1160 | 1053 | eigenpairs instantiate the analytic phase data. In particular, neither |
| 1161 | 1054 | 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} |
| @@ -296,33 +269,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 296 | 269 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 297 | 270 | (v : ModulatedProfileAssembly.Witness ld) |
| 298 | 271 | |
| 299 | -/-- The corrected one-half identity for the same final aligned base. -/ | |
| 300 | -theorem final_radial_eq (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) | |
| 301 | - {p : Slow} (hT : 0 < p.2.2) : | |
| 302 | - Q ^ CoordinateAlgebra.A F.data.h * FinalSlowBase.velocity H v upper B | |
| 303 | - (bandPoint F.data.h Q p) 0 = | |
| 304 | - -(Q ^ F.data.h * p.1 / 2) * PhaseCalculus.slowZ | |
| 305 | - (normalizedStream (FinalSlowBase.scales H v upper B) F.data.h | |
| 306 | - (FinalSlowBase.coefficients H v) Q) p := | |
| 307 | - radial_eq_stream (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half hQ | |
| 308 | - (FinalSlowBase.coefficients_smooth H v) hT | |
| 309 | - | |
| 310 | -/-- The very same final weighted-bundle schedule supplies the averaged | |
| 311 | -axial estimates. No replacement scale choice is introduced. -/ | |
| 312 | -theorem final_radial_envelope {ι : Type*} {D : Domain ι Slow} | |
| 313 | - (upper : ℝ) (B : ℕ) {r M qlo qhi lo hi : ℝ} | |
| 314 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 315 | - (hhi : hi ≤ FinalSlowBase.boxRadius W upper) | |
| 316 | - (hgeom : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 317 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 318 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 319 | - EnvelopeJets (unitScale D) (fun i _ => Q i ^ F.data.h) (fun i p => | |
| 320 | - Q i ^ CoordinateAlgebra.A F.data.h * | |
| 321 | - FinalSlowBase.velocity H v upper B (bandPoint F.data.h (Q i) p) 0) := | |
| 322 | - radial_envelope F.data.h_pos F.data.h_lt_half hr hM hqlo hqhi hlo hgeom | |
| 323 | - (FinalSlowBase.coefficients_smooth H v) | |
| 324 | - (FinalSlowBase.scales_admissible_on H v upper B hlo.le hhi) Q hQ hQ1 hsmall | |
| 325 | - | |
| 326 | 272 | end FinalBase |
| 327 | 273 | |
| 328 | 274 | 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 −76 NavierStokes/BoundaryAxisJets.lean View file
| @@ -76,13 +76,6 @@ theorem axisJet_eq_iteratedDeriv_pos {F : ℝ × P → E} {z : P} | ||
| 76 | 76 | rw [iteratedDeriv_succ, ← hEq.deriv_eq] |
| 77 | 77 | exact (axisJet_hasDerivAt_pos hf he k hX).deriv.symm |
| 78 | 78 | |
| 79 | -theorem axisJet_zero {F : ℝ × P → E} {z : P} | |
| 80 | - (hf : ContDiff ℝ ∞ (fun r => F (r, z))) (k : ℕ) : | |
| 81 | - axisJet F k (0, z) = ((k.factorial : ℝ) / ((2 * k).factorial : ℝ)) • | |
| 82 | - iteratedDeriv (2 * k) (fun r => F (r, z)) 0 := by | |
| 83 | - simpa only [axisJet, radialJet, Real.sqrt_zero] using | |
| 84 | - EvenSmoothDescent.radialIterate_at_zero k hf | |
| 85 | - | |
| 86 | 79 | /-! ## Locality of the genuine Hadamard iterates -/ |
| 87 | 80 | |
| 88 | 81 | theorem scaled_mem_Ioo {R r t : ℝ} (hr : r ∈ Ioo (-R) R) (ht : t ∈ Icc (0 : ℝ) 1) : |
| @@ -329,9 +322,6 @@ theorem radialJet_holomorphic {U : Set ℂ} (hU : IsOpen U) {F : ℝ × ℂ → | ||
| 329 | 322 | noncomputable def complexPartial (F : ℝ × ℂ → B) (p : ℝ × ℂ) : B := |
| 330 | 323 | deriv (fun z => F (p.1, z)) p.2 |
| 331 | 324 | |
| 332 | -noncomputable def complexJet (F : ℝ × ℂ → B) (m : ℕ) (p : ℝ × ℂ) : B := | |
| 333 | - iteratedDeriv m (fun z => F (p.1, z)) p.2 | |
| 334 | - | |
| 335 | 325 | omit [CompleteSpace B] in |
| 336 | 326 | theorem complexPartial_eq_real_fderiv {U : Set ℂ} (hU : IsOpen U) {F : ℝ × ℂ → B} |
| 337 | 327 | {r : ℝ} (hhol : DifferentiableOn ℂ (fun z => F (r, z)) U) {z : ℂ} (hz : z ∈ U) : |
| @@ -359,24 +349,6 @@ theorem complexPartial_contDiffOn {S : Set ℝ} {U : Set ℂ} (hS : IsOpen S) (h | ||
| 359 | 349 | filter_upwards [(hS.prod hU).mem_nhds hp] with q hq |
| 360 | 350 | exact complexPartial_eq_real_fderiv hU (hhol q.1 hq.1) hq.2 |
| 361 | 351 | |
| 362 | -theorem complexJet_contDiffOn {S : Set ℝ} {U : Set ℂ} (hS : IsOpen S) (hU : IsOpen U) | |
| 363 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (S ×ˢ U)) | |
| 364 | - (hhol : ∀ r ∈ S, DifferentiableOn ℂ (fun z => F (r, z)) U) (m : ℕ) : | |
| 365 | - ContDiffOn ℝ ∞ (complexJet F m) (S ×ˢ U) := by | |
| 366 | - induction m with | |
| 367 | - | zero => exact hF | |
| 368 | - | succ m ih => | |
| 369 | - have hh : ∀ r ∈ S, DifferentiableOn ℂ (fun z => complexJet F m (r, z)) U := | |
| 370 | - fun r hr => VolterraRegularity.holomorphic_iteratedDeriv hU (hhol r hr) m | |
| 371 | - have heq : complexJet F (m + 1) = complexPartial (complexJet F m) := by | |
| 372 | - funext p | |
| 373 | - simp only [complexJet, complexPartial, iteratedDeriv_succ] | |
| 374 | - rw [heq] | |
| 375 | - exact complexPartial_contDiffOn hS hU ih hh | |
| 376 | - | |
| 377 | -noncomputable def mixedAxisJet (F : ℝ × ℂ → B) (k m : ℕ) (p : ℝ × ℂ) : B := | |
| 378 | - iteratedDeriv m (fun z => axisJet F k (p.1, z)) p.2 | |
| 379 | - | |
| 380 | 352 | /-! ## Interior localization retaining the full radial domain -/ |
| 381 | 353 | |
| 382 | 354 | noncomputable def interiorBump {R S : ℝ} (hS : 0 < S) (hSR : S < R) : ContDiffBump (0 : ℝ) where |
| @@ -510,25 +482,6 @@ theorem radialJet_even_full {R : ℝ} (hR : 0 < R) {F : ℝ × ℂ → B} {z : | ||
| 510 | 482 | ← radialJet_interiorLocalized_eq hS hSR F z k hrS] |
| 511 | 483 | exact radialJet_even (interiorLocalized_even hS hSR he) k r |
| 512 | 484 | |
| 513 | -omit [CompleteSpace B] in | |
| 514 | -theorem axisJet_square_full {R : ℝ} (hR : 0 < R) {F : ℝ × ℂ → B} {z : ℂ} | |
| 515 | - (he : ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 516 | - {r : ℝ} (hr : r ∈ Ioo (-R) R) : axisJet F k (r ^ 2, z) = radialJet F k r z := by | |
| 517 | - change radialJet F k (Real.sqrt (r ^ 2)) z = _ | |
| 518 | - rw [Real.sqrt_sq_eq_abs] | |
| 519 | - rcases le_or_gt 0 r with hs | hs | |
| 520 | - · rw [abs_of_nonneg hs] | |
| 521 | - · rw [abs_of_neg hs, radialJet_even_full hR he k hr] | |
| 522 | - | |
| 523 | -theorem axisJet_pullback_holomorphic_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 524 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 525 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 526 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 527 | - {r : ℝ} (hr : r ∈ Ioo (-R) R) : | |
| 528 | - DifferentiableOn ℂ (fun z => axisJet F k (r ^ 2, z)) U := | |
| 529 | - (radialJet_holomorphic_full hR hU hF hhol k hr).congr | |
| 530 | - (fun z hz => axisJet_square_full hR (he z hz) k hr) | |
| 531 | - | |
| 532 | 485 | theorem axisJet_derivatives_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 533 | 486 | {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) |
| 534 | 487 | (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) |
| @@ -569,35 +522,6 @@ theorem axisJet_eq_ordinary_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOp | ||
| 569 | 522 | axisJet F k (X, z) = iteratedDeriv k (fun Y => F (Real.sqrt Y, z)) X := |
| 570 | 523 | (axisJet_derivatives_full hR hU hF he k ⟨hX.1.le, hX.2⟩ hz).2 hX.1 |
| 571 | 524 | |
| 572 | -omit [CompleteSpace B] in | |
| 573 | -theorem mixedAxisJet_square_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 574 | - {F : ℝ × ℂ → B} (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) | |
| 575 | - (k m : ℕ) {r : ℝ} (hr : r ∈ Ioo (-R) R) {z : ℂ} (hz : z ∈ U) : | |
| 576 | - mixedAxisJet F k m (r ^ 2, z) = | |
| 577 | - complexJet (fun p : ℝ × ℂ => radialJet F k p.1 p.2) m (r, z) := by | |
| 578 | - have heq : (fun w => axisJet F k (r ^ 2, w)) =ᶠ[𝓝 z] (fun w => radialJet F k r w) := by | |
| 579 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 580 | - exact axisJet_square_full hR (he w hw) k hr | |
| 581 | - exact heq.iteratedDeriv_eq m | |
| 582 | - | |
| 583 | -theorem mixedAxisJet_pullback_contDiffOn_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} | |
| 584 | - (hU : IsOpen U) {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 585 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 586 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) : | |
| 587 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => mixedAxisJet F k m (p.1 ^ 2, p.2)) (Ioo (-R) R ×ˢ U) := by | |
| 588 | - have h := complexJet_contDiffOn isOpen_Ioo hU (radialJet_joint_contDiffOn_full hR hU hF k) | |
| 589 | - (fun r hr => radialJet_holomorphic_full hR hU hF hhol k hr) m | |
| 590 | - exact h.congr fun p hp => mixedAxisJet_square_full hR hU he k m hp.1 hp.2 | |
| 591 | - | |
| 592 | -theorem mixedAxisJet_pullback_holomorphic_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} | |
| 593 | - (hU : IsOpen U) {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 594 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 595 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 596 | - {r : ℝ} (hr : r ∈ Ioo (-R) R) : | |
| 597 | - DifferentiableOn ℂ (fun z => mixedAxisJet F k m (r ^ 2, z)) U := | |
| 598 | - VolterraRegularity.holomorphic_iteratedDeriv hU | |
| 599 | - (axisJet_pullback_holomorphic_full hR hU hF hhol he k hr) m | |
| 600 | - | |
| 601 | 525 | end Holomorphic |
| 602 | 526 | |
| 603 | 527 | end NavierStokes.BoundaryAxisJets |
+0 −6 NavierStokes/CauchyRestriction.lean View file
| @@ -155,12 +155,6 @@ def derivativeCLM (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) : | ||
| 155 | 155 | C(Disk c σ, E) →ₗ[ℂ] C(Disk c ρ, E)).mkContinuous |
| 156 | 156 | (σ - ρ)⁻¹ (norm_cauchyMap_le c hgap) |
| 157 | 157 | |
| 158 | -theorem norm_derivativeCLM_le (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) : | |
| 159 | - ‖derivativeCLM (E := E) c hgap‖ ≤ (σ - ρ)⁻¹ := by | |
| 160 | - have hδ : 0 < σ - ρ := sub_pos.mpr hgap | |
| 161 | - apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) | |
| 162 | - exact norm_cauchyMap_le c hgap | |
| 163 | - | |
| 164 | 158 | variable [CompleteSpace E] |
| 165 | 159 | |
| 166 | 160 | theorem derivativeCLM_apply_integral (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) |
+0 −152 NavierStokes/ClosedIntervalJetAlgebra.lean View file
| @@ -29,14 +29,6 @@ theorem Bound.const (k : ℕ) (c : ℝ) : Bound k (fun _ => c) |c| := by | ||
| 29 | 29 | · rw [iteratedFDerivWithin_const_of_ne hn0] |
| 30 | 30 | simpa only [Pi.zero_apply, norm_zero] using abs_nonneg c |
| 31 | 31 | |
| 32 | -theorem Bound.add {k : ℕ} {f g : ℝ → ℝ} {A B : ℝ} | |
| 33 | - (hf : ContDiffOn ℝ ∞ f J) (hg : ContDiffOn ℝ ∞ g J) | |
| 34 | - (ha : Bound k f A) (hb : Bound k g B) : Bound k (fun η => f η + g η) (A + B) := by | |
| 35 | - intro n hn η hη | |
| 36 | - rw [fun_iteratedFDerivWithin_add_apply ((hf η hη).of_le (WeightedQuotients.nat_le_infty n)) | |
| 37 | - ((hg η hη).of_le (WeightedQuotients.nat_le_infty n)) uniqueDiff hη] | |
| 38 | - exact (norm_add_le _ _).trans (add_le_add (ha n hn η hη) (hb n hn η hη)) | |
| 39 | - | |
| 40 | 32 | theorem Bound.sub {k : ℕ} {f g : ℝ → ℝ} {A B : ℝ} |
| 41 | 33 | (hf : ContDiffOn ℝ ∞ f J) (hg : ContDiffOn ℝ ∞ g J) |
| 42 | 34 | (ha : Bound k f A) (hb : Bound k g B) : Bound k (fun η => f η - g η) (A + B) := by |
| @@ -74,45 +66,6 @@ theorem Bound.mul {k : ℕ} {f g : ℝ → ℝ} {A B : ℝ} | ||
| 74 | 66 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 75 | 67 | (pow_le_pow_right₀ (by norm_num) hn) ha.nonneg) hb.nonneg |
| 76 | 68 | |
| 77 | -/-- The inverse bound depends only on the positive lower bound and the input jet bound. -/ | |
| 78 | -theorem inverse_bound (k : ℕ) (μ B : ℝ) (hμ : 0 < μ) : | |
| 79 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ f : ℝ → ℝ, ContDiffOn ℝ ∞ f J → | |
| 80 | - (∀ η ∈ J, μ ≤ f η) → Bound k f B → Bound k (fun η => (f η)⁻¹) C := by | |
| 81 | - let R := max 1 (max B μ⁻¹) | |
| 82 | - have hR : 1 ≤ R := le_max_left _ _ | |
| 83 | - have hR0 : 0 ≤ R := zero_le_one.trans hR | |
| 84 | - let C := (k.factorial : ℝ) * WeightedQuotients.coeffBound (-1) k * R^(2*k+1) | |
| 85 | - have hcoef := WeightedQuotients.coeffBound_nonneg (-1) k | |
| 86 | - refine ⟨C, mul_nonneg (mul_nonneg (Nat.cast_nonneg _) hcoef) (pow_nonneg hR0 _), ?_⟩ | |
| 87 | - intro f hf hp hb n hn η hη | |
| 88 | - have hfpos : ∀ η ∈ J, 0 < f η := fun η hη => hμ.trans_le (hp η hη) | |
| 89 | - have hg : ContDiffOn ℝ ∞ (fun t : ℝ => t ^ (-1 : ℝ)) (Ioi 0) := by | |
| 90 | - intro t ht | |
| 91 | - exact (Real.contDiffAt_rpow_const_of_ne (show 0 < t from ht).ne').contDiffWithinAt | |
| 92 | - have hinv : (f η)⁻¹ ≤ R := (inv_anti₀ hμ (hp η hη)).trans | |
| 93 | - ((le_max_right _ _).trans (le_max_right _ _)) | |
| 94 | - have hc := norm_iteratedFDerivWithin_comp_le hg hf (WeightedQuotients.nat_le_infty n) | |
| 95 | - isOpen_Ioi.uniqueDiffOn uniqueDiff hfpos hη (C := WeightedQuotients.coeffBound (-1) k * R^(k+1)) | |
| 96 | - (D := R) (by | |
| 97 | - intro i hi | |
| 98 | - rw [iteratedFDerivWithin_of_isOpen i isOpen_Ioi (hfpos η hη)] | |
| 99 | - apply WeightedQuotients.rpow_jet_bound (-1) hR (hfpos η hη) _ hinv (hi.trans hn) | |
| 100 | - simpa only [Real.rpow_neg_one] using hinv) (by | |
| 101 | - intro i hi hik | |
| 102 | - exact (hb i (hik.trans hn) η hη).trans | |
| 103 | - (((le_max_left _ _).trans (le_max_right _ _)).trans | |
| 104 | - (by simpa only [pow_one] using pow_le_pow_right₀ hR hi))) | |
| 105 | - simp only [Function.comp_def, Real.rpow_neg_one] at hc | |
| 106 | - refine hc.trans ?_ | |
| 107 | - dsimp [C] | |
| 108 | - calc | |
| 109 | - (n.factorial : ℝ) * (WeightedQuotients.coeffBound (-1) k * R^(k+1)) * R^n | |
| 110 | - = n.factorial * WeightedQuotients.coeffBound (-1) k * R^(k+1+n) := by rw [pow_add]; ring | |
| 111 | - _ ≤ k.factorial * WeightedQuotients.coeffBound (-1) k * R^(2*k+1) := by | |
| 112 | - exact mul_le_mul (mul_le_mul_of_nonneg_right (by exact_mod_cast Nat.factorial_le hn) hcoef) | |
| 113 | - (pow_le_pow_right₀ hR (by omega)) (pow_nonneg hR0 _) | |
| 114 | - (mul_nonneg (Nat.cast_nonneg _) hcoef) | |
| 115 | - | |
| 116 | 69 | /-- Uniform algebraic control of a pair and a linear bound for its difference. -/ |
| 117 | 70 | structure PairBound (k : ℕ) (f g : ℝ → ℝ) (B C ε : ℝ) : Prop where |
| 118 | 71 | smooth_left : ContDiffOn ℝ ∞ f J |
| @@ -127,52 +80,11 @@ namespace PairBound | ||
| 127 | 80 | |
| 128 | 81 | variable {k : ℕ} {f g u v : ℝ → ℝ} {A B C D ε : ℝ} |
| 129 | 82 | |
| 130 | -theorem mono (h : PairBound k f g A C ε) {A' C' : ℝ} | |
| 131 | - (ha : A ≤ A') (hc : C ≤ C') (hε : 0 ≤ ε) : PairBound k f g A' C' ε := | |
| 132 | - ⟨h.smooth_left, h.smooth_right, h.left.mono ha, h.right.mono ha, | |
| 133 | - h.difference.mono (mul_le_mul_of_nonneg_right hc hε)⟩ | |
| 134 | - | |
| 135 | 83 | theorem same (hf : ContDiffOn ℝ ∞ f J) (hb : Bound k f A) (ε : ℝ) : |
| 136 | 84 | PairBound k f f A 0 ε := by |
| 137 | 85 | refine ⟨hf, hf, hb, hb, ?_⟩ |
| 138 | 86 | simpa only [sub_self, zero_mul, abs_zero] using Bound.const k 0 |
| 139 | 87 | |
| 140 | -theorem const (k : ℕ) (c ε : ℝ) : PairBound k (fun _ => c) (fun _ => c) |c| 0 ε := | |
| 141 | - same contDiffOn_const (Bound.const k c) ε | |
| 142 | - | |
| 143 | -theorem add (h : PairBound k f g A C ε) (i : PairBound k u v B D ε) : | |
| 144 | - PairBound k (fun η => f η + u η) (fun η => g η + v η) (A+B) (C+D) ε := by | |
| 145 | - refine ⟨h.smooth_left.add i.smooth_left, h.smooth_right.add i.smooth_right, | |
| 146 | - h.left.add h.smooth_left i.smooth_left i.left, | |
| 147 | - h.right.add h.smooth_right i.smooth_right i.right, ?_⟩ | |
| 148 | - have hd := h.difference.add (h.smooth_right.sub h.smooth_left) | |
| 149 | - (i.smooth_right.sub i.smooth_left) i.difference | |
| 150 | - rw [← add_mul] at hd | |
| 151 | - exact hd.congr (fun η _ => by ring) | |
| 152 | - | |
| 153 | -theorem sub (h : PairBound k f g A C ε) (i : PairBound k u v B D ε) : | |
| 154 | - PairBound k (fun η => f η - u η) (fun η => g η - v η) (A+B) (C+D) ε := by | |
| 155 | - refine ⟨h.smooth_left.sub i.smooth_left, h.smooth_right.sub i.smooth_right, | |
| 156 | - h.left.sub h.smooth_left i.smooth_left i.left, | |
| 157 | - h.right.sub h.smooth_right i.smooth_right i.right, ?_⟩ | |
| 158 | - have hd := h.difference.sub (h.smooth_right.sub h.smooth_left) | |
| 159 | - (i.smooth_right.sub i.smooth_left) i.difference | |
| 160 | - rw [← add_mul] at hd | |
| 161 | - exact hd.congr (fun η _ => by ring) | |
| 162 | - | |
| 163 | -theorem mul (h : PairBound k f g A C ε) (i : PairBound k u v B D ε) : | |
| 164 | - PairBound k (fun η => f η * u η) (fun η => g η * v η) | |
| 165 | - ((2 : ℝ)^k*A*B) ((2 : ℝ)^k*(C*B+A*D)) ε := by | |
| 166 | - refine ⟨h.smooth_left.mul i.smooth_left, h.smooth_right.mul i.smooth_right, | |
| 167 | - h.left.mul h.smooth_left i.smooth_left i.left, | |
| 168 | - h.right.mul h.smooth_right i.smooth_right i.right, ?_⟩ | |
| 169 | - have h₁ := h.difference.mul (h.smooth_right.sub h.smooth_left) i.smooth_right i.right | |
| 170 | - have h₂ := h.left.mul h.smooth_left (i.smooth_right.sub i.smooth_left) i.difference | |
| 171 | - have hd := h₁.add ((h.smooth_right.sub h.smooth_left).mul i.smooth_right) | |
| 172 | - (h.smooth_left.mul (i.smooth_right.sub i.smooth_left)) h₂ | |
| 173 | - convert hd.congr (fun η _ => show g η * v η - f η * u η = | |
| 174 | - (g η-f η)*v η+f η*(v η-u η) by ring) using 1; ring | |
| 175 | - | |
| 176 | 88 | theorem inverse (h : PairBound k f g A C ε) {μ T : ℝ} (hμ : 0 < μ) |
| 177 | 89 | (hf : ∀ η ∈ J, μ ≤ f η) (hg : ∀ η ∈ J, μ ≤ g η) |
| 178 | 90 | (hb : ∀ z : ℝ → ℝ, ContDiffOn ℝ ∞ z J → |
| @@ -197,25 +109,6 @@ theorem inverse (h : PairBound k f g A C ε) {μ T : ℝ} (hμ : 0 < μ) | ||
| 197 | 109 | |
| 198 | 110 | end PairBound |
| 199 | 111 | |
| 200 | -theorem Bound.derivWithin {k : ℕ} {f : ℝ → ℝ} {B : ℝ} | |
| 201 | - (hf : Bound (k+1) f B) : Bound k (derivWithin f J) B := by | |
| 202 | - intro n hn η hη | |
| 203 | - rw [norm_iteratedFDerivWithin_eq_norm_iteratedDerivWithin, | |
| 204 | - ← iteratedDerivWithin_succ', ← norm_iteratedFDerivWithin_eq_norm_iteratedDerivWithin] | |
| 205 | - exact hf (n+1) (by omega) η hη | |
| 206 | - | |
| 207 | -theorem PairBound.derivWithin {k : ℕ} {f g : ℝ → ℝ} {B C ε : ℝ} | |
| 208 | - (h : PairBound (k+1) f g B C ε) : | |
| 209 | - PairBound k (derivWithin f J) (derivWithin g J) B C ε := by | |
| 210 | - refine ⟨h.smooth_left.derivWithin uniqueDiff (by simp), | |
| 211 | - h.smooth_right.derivWithin uniqueDiff (by simp), h.left.derivWithin, | |
| 212 | - h.right.derivWithin, ?_⟩ | |
| 213 | - apply h.difference.derivWithin.congr | |
| 214 | - intro η hη | |
| 215 | - symm | |
| 216 | - exact derivWithin_sub ((h.smooth_right.differentiableOn (by simp)) η hη) | |
| 217 | - ((h.smooth_left.differentiableOn (by simp)) η hη) | |
| 218 | - | |
| 219 | 112 | |
| 220 | 113 | |
| 221 | 114 | theorem Bound.id (k : ℕ) : Bound k (fun η => η) 1 := by |
| @@ -227,15 +120,6 @@ theorem Bound.id (k : ℕ) : Bound k (fun η => η) 1 := by | ||
| 227 | 120 | · exact le_rfl |
| 228 | 121 | · norm_num |
| 229 | 122 | |
| 230 | -theorem Bound.of_le {k l : ℕ} {f : ℝ → ℝ} {B : ℝ} | |
| 231 | - (hf : Bound l f B) (hkl : k ≤ l) : Bound k f B := | |
| 232 | - fun n hn η hη => hf n (hn.trans hkl) η hη | |
| 233 | - | |
| 234 | -theorem PairBound.of_le {k l : ℕ} {f g : ℝ → ℝ} {B C ε : ℝ} | |
| 235 | - (hf : PairBound l f g B C ε) (hkl : k ≤ l) : PairBound k f g B C ε := | |
| 236 | - ⟨hf.smooth_left, hf.smooth_right, hf.left.of_le hkl, hf.right.of_le hkl, | |
| 237 | - hf.difference.of_le hkl⟩ | |
| 238 | - | |
| 239 | 123 | /-- A finite expression made from the exact scalar additions and products. -/ |
| 240 | 124 | inductive PolynomialExpression (ι : Type) |
| 241 | 125 | | input : ι → PolynomialExpression ι |
| @@ -248,42 +132,6 @@ namespace PolynomialExpression | ||
| 248 | 132 | |
| 249 | 133 | variable {ι : Type} |
| 250 | 134 | |
| 251 | -def eval (x : ι → ℝ → ℝ) : PolynomialExpression ι → ℝ → ℝ | |
| 252 | - | input i => x i | |
| 253 | - | constant c => fun _ => c | |
| 254 | - | add p q => fun η => eval x p η + eval x q η | |
| 255 | - | sub p q => fun η => eval x p η - eval x q η | |
| 256 | - | mul p q => fun η => eval x p η * eval x q η | |
| 257 | - | |
| 258 | -def bounds (k : ℕ) (B C : ι → ℝ) : PolynomialExpression ι → ℝ × ℝ | |
| 259 | - | input i => (B i, C i) | |
| 260 | - | constant c => (|c|, 0) | |
| 261 | - | add p q | sub p q => ((bounds k B C p).1+(bounds k B C q).1, | |
| 262 | - (bounds k B C p).2+(bounds k B C q).2) | |
| 263 | - | mul p q => ((2 : ℝ)^k*(bounds k B C p).1*(bounds k B C q).1, | |
| 264 | - (2 : ℝ)^k*((bounds k B C p).2*(bounds k B C q).1+ | |
| 265 | - (bounds k B C p).1*(bounds k B C q).2)) | |
| 266 | - | |
| 267 | -theorem bounds_nonneg (k : ℕ) {B C : ι → ℝ} (hB : ∀ i, 0 ≤ B i) | |
| 268 | - (hC : ∀ i, 0 ≤ C i) (p : PolynomialExpression ι) : | |
| 269 | - 0 ≤ (bounds k B C p).1 ∧ 0 ≤ (bounds k B C p).2 := by | |
| 270 | - induction p with | |
| 271 | - | input i => exact ⟨hB i, hC i⟩ | |
| 272 | - | constant c => exact ⟨abs_nonneg c, le_rfl⟩ | |
| 273 | - | add p q hp hq | sub p q hp hq => exact ⟨add_nonneg hp.1 hq.1, add_nonneg hp.2 hq.2⟩ | |
| 274 | - | mul p q hp hq => exact ⟨mul_nonneg (mul_nonneg (by positivity) hp.1) hq.1, | |
| 275 | - mul_nonneg (by positivity) (add_nonneg (mul_nonneg hp.2 hq.1) (mul_nonneg hp.1 hq.2))⟩ | |
| 276 | - | |
| 277 | -theorem eval_pairBound {k : ℕ} {f g : ι → ℝ → ℝ} {B C : ι → ℝ} {ε : ℝ} | |
| 278 | - (h : ∀ i, PairBound k (f i) (g i) (B i) (C i) ε) (p : PolynomialExpression ι) : | |
| 279 | - PairBound k (p.eval f) (p.eval g) (bounds k B C p).1 (bounds k B C p).2 ε := by | |
| 280 | - induction p with | |
| 281 | - | input i => exact h i | |
| 282 | - | constant c => exact PairBound.const k c ε | |
| 283 | - | add p q hp hq => exact hp.add hq | |
| 284 | - | sub p q hp hq => exact hp.sub hq | |
| 285 | - | mul p q hp hq => exact hp.mul hq | |
| 286 | - | |
| 287 | 135 | end PolynomialExpression |
| 288 | 136 | |
| 289 | 137 | end NavierStokes.ClosedIntervalJetAlgebra |
+0 −4 NavierStokes/CommonBaseContext.lean View file
| @@ -19,7 +19,6 @@ open scoped ContDiff Topology BigOperators | ||
| 19 | 19 | |
| 20 | 20 | abbrev Plane := BaseContextAssembly.Plane |
| 21 | 21 | abbrev Point := BaseContextAssembly.Point |
| 22 | -abbrev Slow := BaseContextAssembly.Slow | |
| 23 | 22 | |
| 24 | 23 | /-- Scalar hypotheses on the chosen common index, including every low band. -/ |
| 25 | 24 | structure IndexBounds (h : ℝ) (index : ℕ → ℕ) (K : ℕ) : Prop where |
| @@ -123,9 +122,6 @@ theorem coverPower_temporal (k : ℕ) : | ||
| 123 | 122 | rw [CommonCoverSolve.coverPower_apply] |
| 124 | 123 | exact PhysicalGraphBounds.cover_pow_timeDirection k |
| 125 | 124 | |
| 126 | -noncomputable def pull {E : Type*} (gap : ℕ → ℕ) (f : ℕ → Point → E) (n : ℕ) (x : Point) : E := | |
| 127 | - f n (coverLift (gap n) x) | |
| 128 | - | |
| 129 | 125 | end Cover |
| 130 | 126 | |
| 131 | 127 | section CoverClass |
+0 −30 NavierStokes/CommonCoverClass.lean View file
| @@ -97,11 +97,6 @@ noncomputable def sourceLinear (P : Type) [NormedAddCommGroup P] [NormedSpace | ||
| 97 | 97 | sourceLinear P g w = |
| 98 | 98 | (w.1.1, g.pointLinear ((g.coordinateLinear w.1.2).1, w.2)) := rfl |
| 99 | 99 | |
| 100 | -theorem nativeArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : | |
| 101 | - nativeArgument g k w = nativeArgument g k 0 + nativeLinear P g w := by | |
| 102 | - simp only [nativeArgument, g.coordinates_eq_affine k w.1.2, nativeLinear_apply] | |
| 103 | - ext <;> simp | |
| 104 | - | |
| 105 | 100 | theorem sourceArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : |
| 106 | 101 | sourceArgument g k w = sourceArgument g k 0 + sourceLinear P g w := by |
| 107 | 102 | have ha : ((g.coordinates k w.1.2).1, w.2) = |
| @@ -113,14 +108,6 @@ theorem sourceArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : | ||
| 113 | 108 | ContinuousLinearMap.comp_apply, ContinuousLinearEquiv.coe_coe] |
| 114 | 109 | ext <;> simp |
| 115 | 110 | |
| 116 | -theorem nativeArgument_smooth (g : CCS) (k : Frequency) : | |
| 117 | - ContDiff ℝ ∞ (nativeArgument (P := P) g k) := by | |
| 118 | - have he : nativeArgument (P := P) g k = | |
| 119 | - fun w => nativeArgument g k 0 + nativeLinear P g w := | |
| 120 | - funext (nativeArgument_affine g k) | |
| 121 | - rw [he] | |
| 122 | - exact contDiff_const.add (nativeLinear P g).contDiff | |
| 123 | - | |
| 124 | 111 | theorem sourceArgument_smooth (g : CCS) (k : Frequency) : |
| 125 | 112 | ContDiff ℝ ∞ (sourceArgument (P := P) g k) := by |
| 126 | 113 | have he : sourceArgument (P := P) g k = |
| @@ -139,23 +126,6 @@ theorem one_le_argumentCost (g : CCS) : 1 ≤ argumentCost g := by | ||
| 139 | 126 | have h : 0 ≤ ‖g.pointLinear‖ * (1 + ‖g.coordinateLinear‖) := by positivity |
| 140 | 127 | linarith [norm_nonneg g.coordinateLinear] |
| 141 | 128 | |
| 142 | -theorem norm_nativeLinear_le (g : CCS) : ‖nativeLinear P g‖ ≤ argumentCost g := by | |
| 143 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (one_le_argumentCost g)) | |
| 144 | - intro w | |
| 145 | - rw [nativeLinear_apply, Prod.norm_def, Prod.norm_def] | |
| 146 | - have hcoord : ‖(g.coordinateLinear w.1.2).1‖ ≤ ‖g.coordinateLinear‖ * ‖w‖ := | |
| 147 | - (norm_fst_le _).trans ((g.coordinateLinear.le_opNorm _).trans | |
| 148 | - (mul_le_mul_of_nonneg_left ((norm_snd_le w.1).trans (norm_fst_le w)) (norm_nonneg _))) | |
| 149 | - have hc : ‖g.coordinateLinear‖ ≤ argumentCost g := by | |
| 150 | - unfold argumentCost | |
| 151 | - have h : 0 ≤ ‖g.pointLinear‖ * (1 + ‖g.coordinateLinear‖) := by positivity | |
| 152 | - linarith | |
| 153 | - have h1 : ‖w‖ ≤ argumentCost g * ‖w‖ := | |
| 154 | - le_mul_of_one_le_left (norm_nonneg _) (one_le_argumentCost g) | |
| 155 | - exact max_le ((norm_fst_le w.1).trans ((norm_fst_le w).trans h1)) | |
| 156 | - (max_le (hcoord.trans (mul_le_mul_of_nonneg_right hc (norm_nonneg _))) | |
| 157 | - ((norm_snd_le w).trans h1)) | |
| 158 | - | |
| 159 | 129 | theorem norm_sourceLinear_le (g : CCS) : ‖sourceLinear P g‖ ≤ argumentCost g := by |
| 160 | 130 | apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (one_le_argumentCost g)) |
| 161 | 131 | intro w |
+0 −61 NavierStokes/CommonCoverSolve.lean View file
| @@ -518,31 +518,6 @@ copies are evaluated at their own absolute-lift points. -/ | ||
| 518 | 518 | noncomputable def commonSolve (κ : Plane → ℝ) (p : P × Plane) : E := |
| 519 | 519 | ∑' k : Frequency, d.localizedCopy g hab κ k p |
| 520 | 520 | |
| 521 | -theorem localizedCopy_deck (κ : Plane → ℝ) (k n : Frequency) | |
| 522 | - (p : P) (hp : PeriodicAt d.source p) (Y : Plane) : | |
| 523 | - d.localizedCopy g hab κ (k + coverIndex g.gap n) (p, Y + TorusAverages.latticePoint n) = | |
| 524 | - d.localizedCopy g hab κ k (p, Y) := by | |
| 525 | - unfold localizedCopy | |
| 526 | - rw [g.coordinates_deck, d.copySolve_deck g hab k n p hp] | |
| 527 | - | |
| 528 | -/-- Common-torus periodicity follows by reindexing the actual copy sum. | |
| 529 | -The source is required to be periodic only in the common variable. -/ | |
| 530 | -theorem commonSolve_periodic (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) | |
| 531 | - (Y : Plane) (n : Frequency) : | |
| 532 | - d.commonSolve g hab κ (p, Y + TorusAverages.latticePoint n) = | |
| 533 | - d.commonSolve g hab κ (p, Y) := by | |
| 534 | - unfold commonSolve | |
| 535 | - calc | |
| 536 | - (∑' k : Frequency, d.localizedCopy g hab κ k (p, Y + TorusAverages.latticePoint n)) = | |
| 537 | - ∑' k : Frequency, d.localizedCopy g hab κ (k + coverIndex g.gap n) | |
| 538 | - (p, Y + TorusAverages.latticePoint n) := | |
| 539 | - ((Equiv.addRight (coverIndex g.gap n)).tsum_eq | |
| 540 | - (fun k => d.localizedCopy g hab κ k (p, Y + TorusAverages.latticePoint n))).symm | |
| 541 | - _ = ∑' k : Frequency, d.localizedCopy g hab κ k (p, Y) := by | |
| 542 | - apply tsum_congr | |
| 543 | - intro k | |
| 544 | - exact d.localizedCopy_deck g hab κ k n p hp Y | |
| 545 | - | |
| 546 | 521 | omit [NormedSpace ℝ P] in |
| 547 | 522 | theorem commonSolve_eventually_eq_sum {κ : Plane → ℝ} (hκ : HasCompactSupport κ) |
| 548 | 523 | (p : P × Plane) : |
| @@ -575,32 +550,6 @@ end Paths | ||
| 575 | 550 | |
| 576 | 551 | /-! ## A function on the quotient torus, not merely a periodic lift -/ |
| 577 | 552 | |
| 578 | -def LatticePeriodic {W : Type} (f : Plane → W) : Prop := | |
| 579 | - ∀ Y : Plane, ∀ k : Frequency, f (Y + TorusAverages.latticePoint k) = f Y | |
| 580 | - | |
| 581 | -theorem latticePeriodic_first {W : Type} {f : Plane → W} (hf : LatticePeriodic f) (y : ℝ) : | |
| 582 | - Function.Periodic (fun x => f (x, y)) 1 := by | |
| 583 | - intro x | |
| 584 | - simpa [TorusAverages.latticePoint] using hf (x, y) (1, 0) | |
| 585 | - | |
| 586 | -theorem latticePeriodic_second {W : Type} {f : Plane → W} (hf : LatticePeriodic f) (x : ℝ) : | |
| 587 | - Function.Periodic (fun y => f (x, y)) 1 := by | |
| 588 | - intro y | |
| 589 | - simpa [TorusAverages.latticePoint] using hf (x, y) (0, 1) | |
| 590 | - | |
| 591 | -noncomputable def firstDescent {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 592 | - (z : UnitAddCircle) (y : ℝ) : W := (latticePeriodic_first hf y).lift z | |
| 593 | - | |
| 594 | -theorem firstDescent_periodic {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 595 | - (z : UnitAddCircle) : Function.Periodic (firstDescent f hf z) 1 := by | |
| 596 | - intro y | |
| 597 | - refine Quotient.inductionOn' z (fun x => ?_) | |
| 598 | - change f (x, y + 1) = f (x, y) | |
| 599 | - exact latticePeriodic_second hf x y | |
| 600 | - | |
| 601 | -noncomputable def torusDescent {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 602 | - (z : Torus) : W := (firstDescent_periodic f hf z.1).lift z.2 | |
| 603 | - | |
| 604 | 553 | namespace LinearData |
| 605 | 554 | |
| 606 | 555 | variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| @@ -608,16 +557,6 @@ variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 608 | 557 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 609 | 558 | {a b : ℝ} (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) |
| 610 | 559 | |
| 611 | -/-- The constructed common-torus solution is obtained by a genuine quotient | |
| 612 | -lift of the reindexed copy sum. -/ | |
| 613 | -noncomputable def commonOnTorus (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) : | |
| 614 | - Torus → E := torusDescent (fun Y => d.commonSolve g hab κ (p, Y)) | |
| 615 | - (d.commonSolve_periodic g hab κ p hp) | |
| 616 | - | |
| 617 | -theorem commonOnTorus_coe (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) (Y : Plane) : | |
| 618 | - d.commonOnTorus g hab κ p hp (TorusAverages.quotientPoint Y) = | |
| 619 | - d.commonSolve g hab κ (p, Y) := rfl | |
| 620 | - | |
| 621 | 560 | /-! Joint regularity is derived from the actual ODE construction. -/ |
| 622 | 561 | |
| 623 | 562 | theorem anchoredSolve_contDiffOn {U : Set P} (hU : IsOpen U) (k : Frequency) |
+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 −97 NavierStokes/ConstructedSlowBase.lean View file
| @@ -290,21 +290,6 @@ theorem modified_origin {a : ℕ → ℕ} (ha : StrictMono a) {t : ℝ} (ht : t | ||
| 290 | 290 | (fun _ hn => (modifiedCoefficients_axis W Q M hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) ht, |
| 291 | 291 | modified_leading_origin] |
| 292 | 292 | |
| 293 | -theorem modified_axis_tendsto {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 294 | - Tendsto (fun t : ℝ => | |
| 295 | - ‖baseVelocity a F.data.h W.axis.normalization (modifiedCoefficients W Q M) (t, 0)‖) | |
| 296 | - (𝓝[<] 1) atTop := by | |
| 297 | - apply BaseResidual.baseVelocity_axis_tendsto_atTop ha (height_pos W) (height_lt_half W) | |
| 298 | - (modifiedCoefficients_smooth W Q M) W.axis.normalization | |
| 299 | - (fun _ hn => (modifiedCoefficients_axis W Q M hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) | |
| 300 | - rw [modified_leading_origin] | |
| 301 | - exact W.axis.small.j_pos | |
| 302 | - | |
| 303 | -theorem modified_speedUnbounded {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 304 | - ProblemStatement.SpeedUnboundedAtOne | |
| 305 | - (baseVelocity a F.data.h W.axis.normalization (modifiedCoefficients W Q M)) := | |
| 306 | - NaturalCore.speedUnbounded_of_axis_tendsto (modified_axis_tendsto W Q M ha) | |
| 307 | - | |
| 308 | 293 | end Modified |
| 309 | 294 | |
| 310 | 295 | section CommonWeightedSchedule |
| @@ -364,13 +349,6 @@ theorem activeLeft_margin : Real.exp (activeLeft W) < nominalInner W / 8 := by | ||
| 364 | 349 | rw [exp_activeLeft] |
| 365 | 350 | linarith [nominalInner_pos W] |
| 366 | 351 | |
| 367 | -theorem core_before_outer : nominalInner W / 8 < nominalOuterX W := by | |
| 368 | - have hi := (nominalInner_lt_stop W).trans (nominalStop_lt_initial W) | |
| 369 | - have ho := (W.controls.Xi_lt_heatJoin W.separated).trans | |
| 370 | - (W.controls.heatJoin_lt_radius.trans (nominalOuterX_gt_radius W)) | |
| 371 | - have hxi := nominalInitial_le_Xi W | |
| 372 | - linarith [nominalInner_pos W] | |
| 373 | - | |
| 374 | 352 | theorem switch_before_collar : BaseExterior.nominalHeatSwitch W < Real.exp (terminalShift W + 2) := by |
| 375 | 353 | change BaseExterior.nominalHeatSwitch W < |
| 376 | 354 | Real.exp (Real.log (BaseExterior.nominalHeatSwitch W) - 1 / 5 + 2) |
| @@ -388,20 +366,6 @@ theorem collar_before_upper : Real.exp (terminalShift W + 2) < activeUpper W := | ||
| 388 | 366 | theorem outer_before_upper : nominalOuterX W < activeUpper W := |
| 389 | 367 | (outer_before_collar W).trans (collar_before_upper W) |
| 390 | 368 | |
| 391 | -theorem core_before_collar : nominalInner W / 8 ≤ Real.exp (terminalShift W + 3 - 1) := by | |
| 392 | - have hh := (core_before_outer W).trans (outer_before_collar W) | |
| 393 | - simpa only [show terminalShift W + 3 - 1 = terminalShift W + 2 by ring] using hh.le | |
| 394 | - | |
| 395 | -theorem activeLeft_before_collar : activeLeft W < terminalShift W + 2 := | |
| 396 | - Real.exp_lt_exp.mp ((activeLeft_margin W).trans | |
| 397 | - ((core_before_outer W).trans (outer_before_collar W))) | |
| 398 | - | |
| 399 | -theorem activeWindow_subset_box (upper : ℝ) : | |
| 400 | - BaseResidual.activeWindow (activeLeft W) (activeRight W) ⊆ innerBox 0 (scaleUpper W upper) := by | |
| 401 | - intro w hw | |
| 402 | - exact ⟨⟨(Real.exp_pos _).le.trans hw.1.1.le, | |
| 403 | - hw.1.2.le.trans (le_max_right upper (activeUpper W))⟩, hw.2⟩ | |
| 404 | - | |
| 405 | 369 | theorem nominal_higher_support : |
| 406 | 370 | BaseResidual.HigherInteriorSupport (nominalCoefficients W) (activeLeft W) (activeRight W) := |
| 407 | 371 | nominal_higherInteriorSupport W (activeLeft_margin W) (outer_before_upper W) |
| @@ -504,19 +468,6 @@ theorem modifiedScales_origin {t : ℝ} (ht : t < 1) : | ||
| 504 | 468 | ProblemStatement.coordinateVector 2 := |
| 505 | 469 | modified_origin W Q M (modifiedScales_strictMono W c hc upper B Q M) ht |
| 506 | 470 | |
| 507 | -theorem modifiedScales_speedUnbounded : | |
| 508 | - ProblemStatement.SpeedUnboundedAtOne | |
| 509 | - (baseVelocity (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 510 | - (modifiedCoefficients W Q M)) := | |
| 511 | - modified_speedUnbounded W Q M (modifiedScales_strictMono W c hc upper B Q M) | |
| 512 | - | |
| 513 | -theorem modifiedScales_potential_smooth : | |
| 514 | - ContDiffOn ℝ ∞ | |
| 515 | - (potential (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 516 | - (modifiedCoefficients W Q M)) past := | |
| 517 | - potential_smooth (modifiedScales_strictMono W c hc upper B Q M) (height_pos W) (height_lt_half W) | |
| 518 | - (modifiedCoefficients_smooth W Q M) W.axis.normalization | |
| 519 | - | |
| 520 | 471 | end SelectedSchedules |
| 521 | 472 | |
| 522 | 473 | section ActualWeightedStress |
| @@ -527,26 +478,6 @@ variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | ||
| 527 | 478 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 528 | 479 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 529 | 480 | |
| 530 | -/-- A finite modification additionally retains its literal angular history. | |
| 531 | -This fixes the first-order integration constant; the actual modulation | |
| 532 | -witness proves this equality from its five restored rows. -/ | |
| 533 | -theorem modifiedScales_weighted_bound | |
| 534 | - (hI : ∀ eta ∈ S, Q.I (nominalOuterX W, eta) = W.profiles.I (nominalOuterX W, eta)) : | |
| 535 | - WeightedStressBound (modifiedScales W c hc upper B Q M) F.data.h (modifiedCoefficients W Q M) | |
| 536 | - c (activeLeft W) (activeRight W) := by | |
| 537 | - refine weighted_on_actual_scales (height_pos W) (modifiedCoefficients_smooth W Q M) hc | |
| 538 | - (activeLeft_margin W) (core_before_collar W) ?_ (modified_higher_support W Q M) ?_ | |
| 539 | - (FirstOrderBaseEdge.modified_first_edgeJets W Q M hI hc (activeLeft_before_collar W)) | |
| 540 | - (innerBox_isCompact 0 (scaleUpper W upper)) (activeWindow_subset_box W upper) | |
| 541 | - (modifiedScales_spec W c hc upper B Q M).2 | |
| 542 | - · apply Real.exp_lt_exp.mpr | |
| 543 | - change terminalShift W + 3 - 1 < terminalShift W + 3 | |
| 544 | - linarith | |
| 545 | - · intro w hw | |
| 546 | - have hz := coefficients_stress_zero_left (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 547 | - (modifiedZeroOrder W Q M) M.contains 1 hw.le | |
| 548 | - exact Prod.ext hz.1 hz.2 | |
| 549 | - | |
| 550 | 481 | end ActualWeightedStress |
| 551 | 482 | |
| 552 | 483 | namespace Modulated |
| @@ -589,10 +520,6 @@ noncomputable def pressure (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | ||
| 589 | 520 | ProblemStatement.PressureField := |
| 590 | 521 | basePressure (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 591 | 522 | |
| 592 | -noncomputable def stressForce (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 593 | - ProblemStatement.SpaceTime → ProblemStatement.Space := | |
| 594 | - BaseResidual.baseStressForce (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) | |
| 595 | - | |
| 596 | 523 | noncomputable def error (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 597 | 524 | ProblemStatement.SpaceTime → ProblemStatement.Space := |
| 598 | 525 | BaseResidual.baseResidual (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| @@ -601,46 +528,22 @@ noncomputable def vectorPotential (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | ||
| 601 | 528 | ProblemStatement.VelocityField := |
| 602 | 529 | potential (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 603 | 530 | |
| 604 | -theorem velocity_eq_curl (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 605 | - velocity v c hc upper B = SpatialCurl.spatialCurl (vectorPotential v c hc upper B) := rfl | |
| 606 | - | |
| 607 | -theorem vectorPotential_smooth (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 608 | - ContDiffOn ℝ ∞ (vectorPotential v c hc upper B) BaseResidual.past := | |
| 609 | - modifiedScales_potential_smooth W c hc upper B v.profiles v.finiteModification | |
| 610 | - | |
| 611 | 531 | theorem origin (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) : |
| 612 | 532 | velocity v c hc upper B (t, 0) = |
| 613 | 533 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2 := |
| 614 | 534 | modifiedScales_origin W c hc upper B v.profiles v.finiteModification ht |
| 615 | 535 | |
| 616 | -theorem speedUnbounded (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 617 | - ProblemStatement.SpeedUnboundedAtOne (velocity v c hc upper B) := | |
| 618 | - modifiedScales_speedUnbounded W c hc upper B v.profiles v.finiteModification | |
| 619 | - | |
| 620 | 536 | theorem finiteIdentities : |
| 621 | 537 | BaseResidual.FiniteIdentities F.data.h W.axis.normalization (coefficients v) |
| 622 | 538 | (asSlowProfiles (modifiedScheme W v.profiles v.finiteModification)) := |
| 623 | 539 | modified_finiteIdentities W v.profiles v.finiteModification |
| 624 | 540 | |
| 625 | -theorem residual_identity (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) (z : ProblemStatement.SpaceTime) : | |
| 626 | - ProblemStatement.navierStokesResidual (velocity v c hc upper B) (pressure v c hc upper B) z.1 z.2 = | |
| 627 | - stressForce v c hc upper B z + error v c hc upper B z := | |
| 628 | - BaseResidual.baseResidual_identity _ _ _ _ z | |
| 629 | - | |
| 630 | 541 | theorem error_allJetsFlat (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 631 | 542 | {l : Filter ProblemStatement.SpaceTime} {radius : ℝ} |
| 632 | 543 | (P : BaseResidual.PhysicalApproach l F.data.h 0 radius) (hr : radius ≤ scaleUpper W upper) : |
| 633 | 544 | ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) (error v c hc upper B) := |
| 634 | 545 | modifiedScales_allJetsFlat W c hc upper B v.profiles v.finiteModification P hr |
| 635 | 546 | |
| 636 | -/-- Every finite identity and support input of this weighted estimate is | |
| 637 | -proved for the same actual modulation witness. -/ | |
| 638 | -theorem weighted_bound (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 639 | - WeightedStressBound (scales v c hc upper B) F.data.h (coefficients v) | |
| 640 | - c (activeLeft W) (activeRight W) := | |
| 641 | - modifiedScales_weighted_bound W c hc upper B v.profiles v.finiteModification | |
| 642 | - (fun _ heta => v.slow_outer_angular heta) | |
| 643 | - | |
| 644 | 547 | end Modulated |
| 645 | 548 | |
| 646 | 549 | end NavierStokes.ConstructedSlowBase |
+0 −117 NavierStokes/CorrectionStep.lean View file
| @@ -239,12 +239,6 @@ section ActualMeanAndDivergence | ||
| 239 | 239 | |
| 240 | 240 | open CorrectionState |
| 241 | 241 | |
| 242 | -theorem angularMean_fullGoodResidual {U : Set D} {c : Context D} {u : State D} | |
| 243 | - (H : LiftedMeanResidual.MeanHypotheses U c u) (n : ℕ) {x : D} | |
| 244 | - (hx : x ∈ U) (i : Fin 3) : | |
| 245 | - angularMeanVector (fullGoodResidual c u) n x i = u.meanGoodResidual c n x i := | |
| 246 | - LiftedMeanResidual.angularMean_fullGoodResidual H n hx i | |
| 247 | - | |
| 248 | 242 | noncomputable def meanLift (m : Triple D) : Oscillation D := |
| 249 | 243 | fun n x => meanComponents m n x.1 |
| 250 | 244 | |
| @@ -1333,10 +1327,6 @@ theorem withCarrier_of_same {a b : HarmonicBlock D} (h : SameCarrier a b) : | ||
| 1333 | 1327 | subst bkp |
| 1334 | 1328 | rfl |
| 1335 | 1329 | |
| 1336 | -noncomputable def SignedParameters.gaussianBlock (p : SignedParameters D) (s : StripData D) | |
| 1337 | - (request : ℕ → D × ℝ → SignedWaveUpdate.Vec2) : HarmonicBlock D := | |
| 1338 | - SignedWaveUpdate.gaussianBlock (p.coefficients s request) p.directions p.cutoff p.angularFrequency | |
| 1339 | - | |
| 1340 | 1330 | end ConstructedSignedLinear |
| 1341 | 1331 | |
| 1342 | 1332 | section ConstructedSignedInvariants |
| @@ -2690,36 +2680,6 @@ theorem NativeControl.global_bounds (h : p.NativeControl s c u b G A j W α κ) | ||
| 2690 | 2680 | (LocalizedWaveBounds.LocalClass.band_const h.inverse_frequency) |
| 2691 | 2681 | (fun n i x hx hi => (h.phase_cover n i x hx hi).imp_right localized_zero_of_source_path) |
| 2692 | 2682 | |
| 2693 | -theorem sectionStrip_nativeStrip (s : StripData (Q × Plane)) : | |
| 2694 | - ParticularWaveAssembly.sectionStrip (nativeStrip s) = s := by | |
| 2695 | - cases s | |
| 2696 | - rfl | |
| 2697 | - | |
| 2698 | -theorem assembled_bounds (p : ParticularParameters Q) (s : StripData (Q × Plane)) | |
| 2699 | - (c : Context (Q × Plane)) (u : State (Q × Plane)) (b : HarmonicBlock (Q × Plane)) | |
| 2700 | - (G A : HarmonicResidual.BlockCoefficients (Q × Plane)) (N : ℕ) | |
| 2701 | - {W : ℕ → (Q × ℝ) × Plane → ℝ} {α κ : ℝ} | |
| 2702 | - (C : ∀ j ∈ ParticularWaveAssembly.modes N, p.NativeControl s c u b G A j W α κ) | |
| 2703 | - (hW : ∀ n x, x ∈ (nativeStrip s).domain → 0 ≤ W n x) (hκ : κ ≤ 1 / 2) : | |
| 2704 | - (p.updateBlock s c u b G A N).WaveBounds s | |
| 2705 | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) α ∧ | |
| 2706 | - (p.updateBlock s c u b G A N).PressureBounds s | |
| 2707 | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) (α + 1 / 2) ∧ | |
| 2708 | - (p.goodBlock s c u b G A N).WaveBounds s | |
| 2709 | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) (α + 1 / 2 - 3 * κ) := by | |
| 2710 | - have hu := ParticularWaveAssembly.assembledBlock_classes | |
| 2711 | - (s := ParticularWaveAssembly.sectionStrip (nativeStrip s)) N b.frequency b.phase b.angularFrequency | |
| 2712 | - (fun n x hx => hW n _ hx) | |
| 2713 | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.1) | |
| 2714 | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.2.1) | |
| 2715 | - have hg := ParticularWaveAssembly.assembledBlock_classes | |
| 2716 | - (s := ParticularWaveAssembly.sectionStrip (nativeStrip s)) (γ := (0 : ℝ)) N | |
| 2717 | - b.frequency b.phase b.angularFrequency (fun n x hx => hW n _ hx) | |
| 2718 | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.2.2.2) | |
| 2719 | - (fun _ _ => MemClass.zero (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n _ hx))) | |
| 2720 | - rw [sectionStrip_nativeStrip] at hu hg | |
| 2721 | - exact ⟨hu.1, hu.2, hg.1⟩ | |
| 2722 | - | |
| 2723 | 2683 | end ParticularParameters |
| 2724 | 2684 | |
| 2725 | 2685 | end PeriodizedNativeBounds |
| @@ -2894,26 +2854,6 @@ variable {a : PeriodizedWaveBounds.CopyData D I} {s : StripData D} | ||
| 2894 | 2854 | |
| 2895 | 2855 | include g |
| 2896 | 2856 | |
| 2897 | -theorem common_amplitude (n : ℕ) : | |
| 2898 | - CopyAngularInvariance.Invariant d.angular (a.common.amplitude n) := | |
| 2899 | - a.common_amplitude_invariant d.angular (fun n i => g.cutoff i n) | |
| 2900 | - (fun n i => g.amplitude i n) n | |
| 2901 | - | |
| 2902 | -theorem common_pressure (n : ℕ) : | |
| 2903 | - CopyAngularInvariance.Invariant d.angular (a.common.pressure n) := | |
| 2904 | - a.common_pressure_invariant d.angular (fun n i => g.cutoff i n) | |
| 2905 | - (fun n i => g.pressure i n) n | |
| 2906 | - | |
| 2907 | -theorem good (n : ℕ) : | |
| 2908 | - CopyAngularInvariance.Invariant d.angular (a.globalGood s d n) := | |
| 2909 | - a.globalGood_invariant s d (fun n i => g.cutoff i n) (fun n i => g.amplitude i n) | |
| 2910 | - (fun n i => g.pressure i n) g.radius g.radial_base g.frequency_base g.axial_base | |
| 2911 | - g.radial_field (fun _ => CopyAngularInvariance.Invariant.const _) g.phase n | |
| 2912 | - | |
| 2913 | -theorem gaussian (hf : ∀ n, CopyAngularInvariance.Invariant d.angular (a.source n)) (n : ℕ) : | |
| 2914 | - CopyAngularInvariance.Invariant d.angular (a.globalGaussian d n) := | |
| 2915 | - a.globalGaussian_invariant d d.angular (fun n i => g.cutoff i n) | |
| 2916 | - (fun n i => g.amplitude i n) hf n | |
| 2917 | 2857 | end NativeAngularGeometry |
| 2918 | 2858 | |
| 2919 | 2859 | namespace PeriodizedSignedParameters |
| @@ -3233,15 +3173,6 @@ theorem iterate_representation (p : ℕ → CycleParameters ι) (c : Context Cyc | ||
| 3233 | 3173 | | succ n ih => |
| 3234 | 3174 | exact (p n).next_representation (iterate p c seed n).coefficients c (iterate p c seed n).state ih (hc n) |
| 3235 | 3175 | |
| 3236 | -theorem iterate_bands (p : ℕ → CycleParameters ι) (c : Context CyclePoint) (seed : CycleState ι) | |
| 3237 | - (hseed : CoefficientBands seed.coefficients) : | |
| 3238 | - ∀ n, CoefficientBands (iterate p c seed n).coefficients := by | |
| 3239 | - intro n | |
| 3240 | - induction n with | |
| 3241 | - | zero => exact hseed | |
| 3242 | - | succ n ih => | |
| 3243 | - exact (p n).next_coefficient_bands (iterate p c seed n).coefficients c (iterate p c seed n).state ih | |
| 3244 | - | |
| 3245 | 3176 | end CycleState |
| 3246 | 3177 | |
| 3247 | 3178 | end ActualRecurrence |
| @@ -3880,46 +3811,6 @@ noncomputable def fromReference | ||
| 3880 | 3811 | background := D.background |
| 3881 | 3812 | directions := D.directions |
| 3882 | 3813 | |
| 3883 | -theorem fromReference_amplitude | |
| 3884 | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n : ℕ) : | |
| 3885 | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n = | |
| 3886 | - angleLift (PhysicalParticularWave.residualBandAmplitude D h (ChartScales.Q_pos n) | |
| 3887 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j n) := | |
| 3888 | - common_amplitude _ _ _ _ _ _ _ _ | |
| 3889 | - | |
| 3890 | -theorem fromReference_pressure | |
| 3891 | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n : ℕ) | |
| 3892 | - (hk : (j:ℝ)*D.carrierBlock.frequency n ≠ 0) : | |
| 3893 | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n = | |
| 3894 | - angleLift (PhysicalParticularWave.residualBandPressure D h (ChartScales.Q_pos n) | |
| 3895 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j n) := | |
| 3896 | - common_pressure _ _ _ _ _ _ _ _ hk | |
| 3897 | - | |
| 3898 | -/-- Full-lift current-state coherence identifies the actual solved amplitude | |
| 3899 | -with the one reference physical wave, before taking a graph restriction. -/ | |
| 3900 | -theorem fromReference_coherent_amplitude | |
| 3901 | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n i : ℕ) | |
| 3902 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 3903 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 3904 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 3905 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) : | |
| 3906 | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n = | |
| 3907 | - angleLift (PhysicalParticularWave.bandAmplitude D h (ChartScales.Q_pos n) | |
| 3908 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j) := by | |
| 3909 | - rw [fromReference_amplitude, H.residualBandAmplitude_eq hn hr] | |
| 3910 | - | |
| 3911 | -theorem fromReference_coherent_pressure | |
| 3912 | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n i : ℕ) | |
| 3913 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 3914 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 3915 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 3916 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 3917 | - (hk : (j:ℝ)*D.carrierBlock.frequency n ≠ 0) : | |
| 3918 | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n = | |
| 3919 | - angleLift (PhysicalParticularWave.bandPressure D h (ChartScales.Q_pos n) | |
| 3920 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j) := by | |
| 3921 | - rw [fromReference_pressure D h gap j n hk, H.residualBandPressure_eq hn hr] | |
| 3922 | - | |
| 3923 | 3814 | end ParticularParameters |
| 3924 | 3815 | |
| 3925 | 3816 | end CoherentReferenceParticular |
| @@ -4642,14 +4533,6 @@ theorem withAxis (h : CycleRepresentation v u axis) : | ||
| 4642 | 4533 | AxisymmetricResidualGrouping.Representation v.labels v.blocks v.gaussian v.aliasCoefficients u axis := |
| 4643 | 4534 | ⟨h.velocity, h.pressure, h.gaussian, h.aliasError⟩ |
| 4644 | 4535 | |
| 4645 | -theorem fullGoodWaveResidual_grouped_local (h : CycleRepresentation v u axis) | |
| 4646 | - {U : Set CyclePoint} (hU : IsOpen U) {c : Context CyclePoint} {n : ℕ} | |
| 4647 | - (hr : LocalResidualGrouping.ExtractionRegular U c u v.labels v.blocks v.gaussian v.aliasCoefficients n) | |
| 4648 | - {x : CyclePoint × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : | |
| 4649 | - fullGoodWaveResidual c u n x i = ∑ l ∈ v.labels n, | |
| 4650 | - (HarmonicResidual.residualBlock c u (v.blocks l) (v.gaussian l) (v.aliasCoefficients l)).oscillation n x i := | |
| 4651 | - LocalResidualGrouping.stateGoodWaveResidual_grouped hU h.withAxis hr hx i | |
| 4652 | - | |
| 4653 | 4536 | theorem fullResidual_reconstructed_local (h : CycleRepresentation v u axis) |
| 4654 | 4537 | {U : Set CyclePoint} (hU : IsOpen U) {c : Context CyclePoint} {n : ℕ} |
| 4655 | 4538 | (hr : LocalResidualGrouping.ExtractionRegular U c u v.labels v.blocks v.gaussian v.aliasCoefficients n) |
+0 −17 NavierStokes/CorrectionStepFullResidual.lean View file
| @@ -79,26 +79,9 @@ noncomputable def fullResidual (c : Context D) (u : State D) : Oscillation D := | ||
| 79 | 79 | (complexBase c n) (complexPerturbation u n) (complexPressure u n) x i).re + |
| 80 | 80 | virtualDivergence c n x i + u.errors.base n x i |
| 81 | 81 | |
| 82 | -noncomputable def fullGoodResidual (c : Context D) (u : State D) : Oscillation D := | |
| 83 | - fullResidual c u - u.errors.total | |
| 84 | - | |
| 85 | 82 | noncomputable def angularMeanVector (f : Oscillation D) : MeanVector D := |
| 86 | 83 | fun n x i => angularAverage (fun k p => f k p i) n x |
| 87 | 84 | |
| 88 | -noncomputable def angularNonconstant (f : Oscillation D) : Oscillation D := | |
| 89 | - fun n x i => f n x i - angularMeanVector f n x.1 i | |
| 90 | - | |
| 91 | -noncomputable def fullGoodWaveResidual (c : Context D) (u : State D) : Oscillation D := | |
| 92 | - angularNonconstant (fullGoodResidual c u) | |
| 93 | - | |
| 94 | -theorem fullResidual_decomposition (c : Context D) (u : State D) : | |
| 95 | - fullResidual c u = fun n x i => fullGoodWaveResidual c u n x i + | |
| 96 | - angularMeanVector (fullGoodResidual c u) n x.1 i + u.errors.total n x i := by | |
| 97 | - funext n x i | |
| 98 | - simp only [fullGoodWaveResidual, angularNonconstant, fullGoodResidual, | |
| 99 | - Pi.sub_apply] | |
| 100 | - ring | |
| 101 | - | |
| 102 | 85 | end FullFields |
| 103 | 86 | |
| 104 | 87 | section ActualCovariance |
+0 −14 NavierStokes/CurlClassBounds.lean View file
| @@ -667,20 +667,6 @@ theorem curlRemainder_waveClass | ||
| 667 | 667 | (coefficient R (Vr n) (Vθ n) (Vz n) (Φ n) (a n))) := |
| 668 | 668 | normalCurlRemainder_class hN ha hb hlower hupper hκ hr hθ hz hR hK |
| 669 | 669 | |
| 670 | -theorem realizedCoefficient_waveClass | |
| 671 | - (hN : PhaseJetBounds.PolynomialJets (phaseDomain s) | |
| 672 | - (fun n => HarmonicCalculus.phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n))) | |
| 673 | - (ha : WaveClass s P α a) {b M : ℝ} (hb : 0 < b) | |
| 674 | - (hlower : ∀ n x, x ∈ s.domain → b ≤ ‖HarmonicCalculus.phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x‖) | |
| 675 | - (hupper : ∀ n x, x ∈ s.domain → ‖HarmonicCalculus.phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x‖ ≤ M) | |
| 676 | - (hκ : 0 ≤ κ) (hκhalf : κ ≤ 1 / 2) | |
| 677 | - (hr : UnweightedClass s (-κ) Vr) (hθ : UnweightedClass s 0 Vθ) | |
| 678 | - (hz : UnweightedClass s 1 Vz) (hR : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) | |
| 679 | - (hK : BandBound s (1 / 2) (fun n => 1 / K n)) : | |
| 680 | - WaveClass s P α (fun n => realizedCoefficient (K n) R (Vr n) (Vθ n) (Vz n) (Φ n) (a n)) := by | |
| 681 | - have hrem := curlRemainder_waveClass hN ha hb hlower hupper hκ hr hθ hz hR hK | |
| 682 | - exact ha.add (hrem.mono_exponent (by linarith)) | |
| 683 | - | |
| 684 | 670 | end WaveClasses |
| 685 | 671 | |
| 686 | 672 | section Support |
+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 −51 NavierStokes/DefectIncrementBounds.lean View file
| @@ -606,33 +606,6 @@ theorem Shell.sliceIntegrable {a b : ℝ} {f : ScalarField (Point P)} (hf : Shel | ||
| 606 | 606 | ((hf.smooth n).continuous.comp (continuous_id.prodMk continuous_const)) |
| 607 | 607 | (IntegratedMeanBalances.radial_slice_compact (hf.supported n) (p, 0)) k |
| 608 | 608 | |
| 609 | -theorem fiveRows_mass_zero {o : Operators (Point P)} {base m h : Triple (Point P)} | |
| 610 | - {W : Fin 3 → Fin 3 → ScalarField (Point P)} | |
| 611 | - (hv : IsSlow h.angular) (hg : IsSlow h.axial) | |
| 612 | - (hrows : ∀ n p, FiveRowRank.FiveRows (slowSlice base.angular n p) (slowSlice base.axial n p) | |
| 613 | - (defects o base m W n p) (slowSlice h.angular n p) (slowSlice h.axial n p)) : | |
| 614 | - barMoment 2 h.angular = 0 ∧ barMoment 1 h.axial = 0 := by | |
| 615 | - constructor | |
| 616 | - · funext n p | |
| 617 | - rw [barMoment_slow hv] | |
| 618 | - exact (hrows n p).1 | |
| 619 | - · funext n p | |
| 620 | - rw [barMoment_slow hg] | |
| 621 | - simpa only [pow_one, Pi.zero_apply] using (hrows n p).2.1 | |
| 622 | - | |
| 623 | -theorem fiveRows_preserve_masses {a b : ℝ} {o : Operators (Point P)} | |
| 624 | - {base m h : Triple (Point P)} {W : Fin 3 → Fin 3 → ScalarField (Point P)} | |
| 625 | - (hm : ShellTriple a b m) (hh : ShellTriple a b h) | |
| 626 | - (hv : IsSlow h.angular) (hg : IsSlow h.axial) | |
| 627 | - (hrows : ∀ n p, FiveRowRank.FiveRows (slowSlice base.angular n p) (slowSlice base.axial n p) | |
| 628 | - (defects o base m W n p) (slowSlice h.angular n p) (slowSlice h.axial n p)) : | |
| 629 | - barMoment 2 (updated m h).angular = barMoment 2 m.angular ∧ | |
| 630 | - barMoment 1 (updated m h).axial = barMoment 1 m.axial := by | |
| 631 | - obtain ⟨hzv, hzg⟩ := fiveRows_mass_zero hv hg hrows | |
| 632 | - change barMoment 2 (m.angular + h.angular) = _ ∧ barMoment 1 (m.axial + h.axial) = _ | |
| 633 | - rw [barMoment_add hm.angular hh.angular, barMoment_add hm.axial hh.axial, hzv, hzg] | |
| 634 | - simp | |
| 635 | - | |
| 636 | 609 | /-- The three moment rows are exactly those solved in (35), including the |
| 637 | 610 | minus sign and factor one half in the axial pressure moment. -/ |
| 638 | 611 | theorem linearRows_eq_neg_of_fiveRows {a b : ℝ} (ha : 0 < a) |
| @@ -784,22 +757,6 @@ theorem solved_rows {a b : ℝ} (ha : 0 < a) (hop : PositiveOperators c.operator | ||
| 784 | 757 | (rankIncrement_angular_slow p r axial c u) (hg.axial_slow axial) |
| 785 | 758 | u.covariance (hg.fiveRows axial) |
| 786 | 759 | |
| 787 | -theorem preserve_masses {a b : ℝ} (hm : ShellTriple a b u.mean) | |
| 788 | - (hh : ShellTriple a b (CorrectionState.rankIncrement p r axial c u)) : | |
| 789 | - CorrectionState.radialMoment 2 (CorrectionState.rankStage p r axial c u).mean.angular = | |
| 790 | - CorrectionState.radialMoment 2 u.mean.angular ∧ | |
| 791 | - CorrectionState.radialMoment 1 (CorrectionState.rankStage p r axial c u).mean.axial = | |
| 792 | - CorrectionState.radialMoment 1 u.mean.axial := | |
| 793 | - fiveRows_preserve_masses hm hh (rankIncrement_angular_slow p r axial c u) | |
| 794 | - (hg.axial_slow axial) (hg.fiveRows axial) | |
| 795 | - | |
| 796 | -theorem zeroMasses {a b : ℝ} (hm : ShellTriple a b u.mean) | |
| 797 | - (hh : ShellTriple a b (CorrectionState.rankIncrement p r axial c u)) | |
| 798 | - (hzero : CorrectionState.ZeroMasses u) : | |
| 799 | - CorrectionState.ZeroMasses (CorrectionState.rankStage p r axial c u) := by | |
| 800 | - obtain ⟨hv, hz⟩ := hg.preserve_masses axial hm hh | |
| 801 | - exact ⟨hv.trans hzero.1, hz.trans hzero.2⟩ | |
| 802 | - | |
| 803 | 760 | end RankGeometry |
| 804 | 761 | |
| 805 | 762 | section ConstructedBounds |
| @@ -837,14 +794,6 @@ theorem rankStage_defect_class (i : Fin 3) : | ||
| 837 | 794 | exact defects_after_rank_mem ha hab hcL hcR ε S hε hεone hS hop hbs hms hhs |
| 838 | 795 | u.covariance hW ho hb hm hh hH (hg.solved_rows axial ha hop hbs hhs hV hG) i |
| 839 | 796 | |
| 840 | -include ha hab hcL hcR axial hg hop hbs hms hhs hW hV hG ho hb hm hh hH in | |
| 841 | -theorem rankStage_defectBounds {σ : ℝ} (hσ : 1 + σ ≤ H + 9 / 10 - 2 * κ) : | |
| 842 | - CorrectionState.DefectBounds (MeanMomentBounds.slowStripData (D := P) ε S hε hεone hS) σ c | |
| 843 | - (CorrectionState.rankStage p r axial c u) := by | |
| 844 | - intro i | |
| 845 | - exact (rankStage_defect_class ha hab hcL hcR ε S hε hεone hS axial hg hop hbs hms hhs hW | |
| 846 | - hV hG ho hb hm hh hH i).mono_exponent hσ | |
| 847 | - | |
| 848 | 797 | end ConstructedBounds |
| 849 | 798 | |
| 850 | 799 | end |
+0 −35 NavierStokes/DirectAngularDiagonal.lean View file
| @@ -263,13 +263,6 @@ theorem angularSum_eventuallyEq_partial {a : ℕ → ℝ} (ha : Tendsto a atTop | ||
| 263 | 263 | ∃ N : ℕ, angularSum a q b =ᶠ[𝓝 x] angularPartial a q b N := |
| 264 | 264 | SolenoidalDiagonal.potentialSum_eventuallyEq_partial ha hq hx _ |
| 265 | 265 | |
| 266 | -theorem angularSum_smooth {U : Set Slow} (hU : IsOpen U) (D : ℕ → AngularData U) | |
| 267 | - {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) {q : SpaceTime → ℝ} | |
| 268 | - (hq : ContDiffOn ℝ ∞ q (physicalDomain U)) (hpos : ∀ x ∈ physicalDomain U, 0 < q x) : | |
| 269 | - ContDiffOn ℝ ∞ (angularSum a q (fun j => (D j).scalar)) (physicalDomain U) := | |
| 270 | - SolenoidalDiagonal.potentialSum_contDiffOn ha (physicalDomain_open hU) hpos hq | |
| 271 | - (fun j => (D j).field_smooth hU) | |
| 272 | - | |
| 273 | 266 | theorem angularSum_divergence {U : Set Slow} (hU : IsOpen U) (D : ℕ → AngularData U) |
| 274 | 267 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) (q : Coefficient) |
| 275 | 268 | (hq : ContDiffOn ℝ ∞ q (positiveDomain U)) |
| @@ -306,11 +299,6 @@ noncomputable def mixedVelocity (a : ℕ → ℝ) (q : SpaceTime → ℝ) | ||
| 306 | 299 | (A : ℕ → VelocityField) (b : ℕ → Coefficient) : VelocityField := |
| 307 | 300 | fun x => SolenoidalDiagonal.velocitySum a q A x + angularSum a q b x |
| 308 | 301 | |
| 309 | -theorem mixedVelocity_axis (a : ℕ → ℝ) (q : SpaceTime → ℝ) (A : ℕ → VelocityField) | |
| 310 | - (b : ℕ → Coefficient) (t : ℝ) (x : Space) (h0 : x 0 = 0) (h1 : x 1 = 0) : | |
| 311 | - mixedVelocity a q A b (t, x) = SolenoidalDiagonal.velocitySum a q A (t, x) := by | |
| 312 | - rw [mixedVelocity, angularSum_axis a q b t x h0 h1, add_zero] | |
| 313 | - | |
| 314 | 302 | /-! ## The actual similarity cutoff -/ |
| 315 | 303 | |
| 316 | 304 | noncomputable def preterminalSlow : Set Slow := {s | s.1 < 1} |
| @@ -319,9 +307,6 @@ theorem preterminalSlow_open : IsOpen preterminalSlow := isOpen_lt continuous_fs | ||
| 319 | 307 | |
| 320 | 308 | noncomputable def qCoefficient (h : ℝ) : Coefficient := SimilarityProfile.q h |
| 321 | 309 | |
| 322 | -theorem qCoefficient_physical (h : ℝ) (w : SpaceTime) : | |
| 323 | - qCoefficient h (cylPoint w) = PhysicalWaveSum.physicalQ h w := rfl | |
| 324 | - | |
| 325 | 310 | theorem qCoefficient_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 326 | 311 | ContDiffOn ℝ ∞ (qCoefficient h) (positiveDomain preterminalSlow) := |
| 327 | 312 | fun _ hp => (SimilarityProfile.q_smoothAt hh hh1 hp.1).contDiffWithinAt |
| @@ -330,13 +315,6 @@ theorem physicalQ_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : | ||
| 330 | 315 | ContDiffOn ℝ ∞ (PhysicalWaveSum.physicalQ h) (physicalDomain preterminalSlow) := |
| 331 | 316 | fun _ hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt |
| 332 | 317 | |
| 333 | -theorem actual_diagonal_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 334 | - (D : ℕ → AngularData preterminalSlow) {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) : | |
| 335 | - ContDiffOn ℝ ∞ (angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) | |
| 336 | - PhysicalWaveSum.preterminal := | |
| 337 | - angularSum_smooth preterminalSlow_open D ha (physicalQ_smooth hh hh1) | |
| 338 | - (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx) | |
| 339 | - | |
| 340 | 318 | /-! ## The existing Cartesian spatial cutoff is axisymmetric -/ |
| 341 | 319 | |
| 342 | 320 | noncomputable def spatialProfile (p : CylPoint) : ℝ := |
| @@ -380,19 +358,6 @@ theorem spatialCut_angularSum_divergence {U : Set Slow} (hU : IsOpen U) (D : ℕ | ||
| 380 | 358 | exact angularSum_divergence hU |
| 381 | 359 | (fun j => (D j).multiply spatialProfile spatialProfile_smooth.contDiffOn) ha q hq hqp hpos hx |
| 382 | 360 | |
| 383 | -theorem actual_spatialCut_diagonal_divergence {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 384 | - (D : ℕ → AngularData preterminalSlow) {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | |
| 385 | - (t : ℝ) (ht : t < 1) (x : Space) : | |
| 386 | - spatialDivergence (SpatialLocalization.cutPotential | |
| 387 | - (angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar))) t x = 0 := by | |
| 388 | - have hqp : ContDiffOn ℝ ∞ (fun w => qCoefficient h (cylPoint w)) (physicalDomain preterminalSlow) := by | |
| 389 | - simpa only [qCoefficient_physical] using physicalQ_smooth hh hh1 | |
| 390 | - have hpos : ∀ w ∈ physicalDomain preterminalSlow, 0 < qCoefficient h (cylPoint w) := | |
| 391 | - fun _ hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw | |
| 392 | - have he := spatialCut_angularSum_divergence preterminalSlow_open D ha (qCoefficient h) | |
| 393 | - (qCoefficient_smooth hh hh1) hqp hpos (x := (t, x)) ht | |
| 394 | - simpa only [qCoefficient_physical] using he | |
| 395 | - | |
| 396 | 361 | /-! ## Actual full-fiber means restricted to a physical graph -/ |
| 397 | 362 | |
| 398 | 363 | /-! ## Agreement with the actual offplane continuation fields -/ |
+0 −17 NavierStokes/EntranceAlignedBase.lean View file
| @@ -777,23 +777,6 @@ theorem modulated_positive_stress_zero_right {n : ℕ} (hn : 0 < n) {p : ℝ × | ||
| 777 | 777 | · exact aligned_stress_zero_right W H v.profiles v.finiteModification (modulation_after_entrance (d := d)) |
| 778 | 778 | (by omega) ((ConstructedSlowBase.outer_before_upper W).le.trans hp') |
| 779 | 779 | |
| 780 | -theorem modulated_positive_radialSupport {n : ℕ} (hn : 0 < n) : | |
| 781 | - SlowStressSupport.radialSupport (Icc (-1 : ℝ) 1) (zeroEnd W H d.modulation.left) | |
| 782 | - (NominalConeAssembly.activeRight W) ((modulatedCoefficients H v).stressTheta n) ∧ | |
| 783 | - SlowStressSupport.radialSupport (Icc (-1 : ℝ) 1) (zeroEnd W H d.modulation.left) | |
| 784 | - (NominalConeAssembly.activeRight W) ((modulatedCoefficients H v).stressAxial n) := by | |
| 785 | - have hz (eta : ℝ) (heta : eta ∈ Icc (-1 : ℝ) 1) (X : ℝ) | |
| 786 | - (hX : X ∉ Icc (zeroEnd W H d.modulation.left) (NominalConeAssembly.activeRight W)) : | |
| 787 | - (modulatedCoefficients H v).stressTheta n (X, eta) = 0 ∧ | |
| 788 | - (modulatedCoefficients H v).stressAxial n (X, eta) = 0 := by | |
| 789 | - by_cases hl : X ≤ zeroEnd W H d.modulation.left | |
| 790 | - · exact modulated_positive_stress_zero H v hn hl | |
| 791 | - · have hr : NominalConeAssembly.activeRight W ≤ X := by | |
| 792 | - by_contra hh | |
| 793 | - exact hX ⟨(lt_of_not_ge hl).le, (lt_of_not_ge hh).le⟩ | |
| 794 | - exact modulated_positive_stress_zero_right H v hn hr heta | |
| 795 | - exact ⟨fun eta he X hX => (hz eta he X hX).1, fun eta he X hX => (hz eta he X hX).2⟩ | |
| 796 | - | |
| 797 | 780 | theorem modulated_stress_zero_right (n : ℕ) {p : ℝ × ℝ} |
| 798 | 781 | (hp : NominalConeAssembly.activeRight W ≤ p.1) (heta : p.2 ∈ Icc (-1 : ℝ) 1) : |
| 799 | 782 | (modulatedCoefficients H v).stressTheta n p = 0 ∧ (modulatedCoefficients H v).stressAxial n p = 0 := by |
+0 −13 NavierStokes/ErrorHarmonics.lean View file
| @@ -99,19 +99,6 @@ noncomputable def zeroBlock {D : Type} (k : ℕ → ℝ) (Φ : ℕ → D → ℝ | ||
| 99 | 99 | phase := Φ |
| 100 | 100 | angularFrequency := kp |
| 101 | 101 | |
| 102 | -theorem zeroBlock_evaluation {D : Type} (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 103 | - (a : MeanVector D) (n : ℕ) (p : D × ℝ) (i : Fin 3) : | |
| 104 | - (zeroBlock k Φ kp a).oscillation n p i = a n p.1 i := by | |
| 105 | - change (field (constantCoefficient (fun x => (a n x i : ℂ))) (k n) (Φ n) (kp n) p).re = _ | |
| 106 | - unfold field constantCoefficient | |
| 107 | - rw [evaluate_single, character_zero, mul_one, Complex.ofReal_re] | |
| 108 | - | |
| 109 | -theorem zeroBlock_band {D : Type} (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 110 | - (a : MeanVector D) : HarmonicBlock.BandLimited (zeroBlock k Φ kp a) 0 := by | |
| 111 | - refine ⟨fun n i => band_constantCoefficient _, ?_⟩ | |
| 112 | - intro n l hl | |
| 113 | - simp [zeroBlock] at hl | |
| 114 | - | |
| 115 | 102 | theorem zeroBlock_symmetric {D : Type} (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) |
| 116 | 103 | (a : MeanVector D) (n : ℕ) (i : Fin 3) : |
| 117 | 104 | ConjugateSymmetric ((zeroBlock k Φ kp a).velocity n i) := by |
+0 −16 NavierStokes/EvenSmoothDescent.lean View file
| @@ -189,14 +189,6 @@ theorem iteratedDeriv_radialDerivative_zero {f : ℝ → E} (hf : ContDiff ℝ | ||
| 189 | 189 | |
| 190 | 190 | noncomputable def descent (f : ℝ → E) (X : ℝ) : E := f (Real.sqrt X) |
| 191 | 191 | |
| 192 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] in | |
| 193 | -theorem descent_square {f : ℝ → E} (he : Function.Even f) (x : ℝ) : | |
| 194 | - descent f (x ^ 2) = f x := by | |
| 195 | - rw [descent, Real.sqrt_sq_eq_abs] | |
| 196 | - rcases le_or_gt 0 x with hx | hx | |
| 197 | - · rw [abs_of_nonneg hx] | |
| 198 | - · rw [abs_of_neg hx, he] | |
| 199 | - | |
| 200 | 192 | omit [NormedSpace ℝ E] [CompleteSpace E] in |
| 201 | 193 | theorem continuous_descent {f : ℝ → E} (hf : Continuous f) : Continuous (descent f) := |
| 202 | 194 | hf.comp Real.continuous_sqrt |
| @@ -279,14 +271,6 @@ theorem iteratedDerivWithin_descent {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | ||
| 279 | 271 | exact (hasDerivWithinAt_descent (contDiff_radialIterate hf n) |
| 280 | 272 | (even_radialIterate he n) hX).derivWithin (uniqueDiffOn_Ici 0 X hX) |
| 281 | 273 | |
| 282 | -theorem contDiffOn_descent {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | |
| 283 | - (he : Function.Even f) : ContDiffOn ℝ ∞ (descent f) (Ici 0) := by | |
| 284 | - apply contDiffOn_of_differentiableOn_deriv | |
| 285 | - intro n _ X hX | |
| 286 | - exact ((hasDerivWithinAt_descent (contDiff_radialIterate hf n) | |
| 287 | - (even_radialIterate he n) hX).congr_of_mem | |
| 288 | - (iteratedDerivWithin_descent hf he n) hX).differentiableWithinAt | |
| 289 | - | |
| 290 | 274 | theorem radialIterate_at_zero (n : ℕ) {f : ℝ → E} (hf : ContDiff ℝ ∞ f) : |
| 291 | 275 | radialIterate f n 0 = |
| 292 | 276 | ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by |
+0 −112 NavierStokes/ExponentLedger.lean View file
| @@ -34,31 +34,6 @@ def particularGain (σ κ : ℝ) : ℝ := | ||
| 34 | 34 | min (min (min (1 / 2 - 3 * κ) (1 / 2 - κ)) |
| 35 | 35 | (waveExponent σ - κ)) (2 / 5) |
| 36 | 36 | |
| 37 | -/-- Minimum of the four listed gains for the signed wave correction. -/ | |
| 38 | -def signedGain (σ κ : ℝ) : ℝ := | |
| 39 | - min (min (min (1 / 2 - 4 * κ) (2 / 5 - κ)) | |
| 40 | - (1 / 2 - 2 * κ)) (waveExponent σ - 3 * κ) | |
| 41 | - | |
| 42 | -theorem mean_eq_wave_add_half (σ : ℝ) : | |
| 43 | - meanExponent σ = waveExponent σ + 1 / 2 := by | |
| 44 | - unfold meanExponent waveExponent | |
| 45 | - ring | |
| 46 | - | |
| 47 | -theorem wave_at_least_seven_tenths {σ : ℝ} (hσ : 1 / 5 ≤ σ) : | |
| 48 | - 7 / 10 ≤ waveExponent σ := by | |
| 49 | - unfold waveExponent | |
| 50 | - linarith | |
| 51 | - | |
| 52 | -theorem wave_increment (σ : ℝ) : | |
| 53 | - waveExponent (σ + 1 / 10) = waveExponent σ + 1 / 10 := by | |
| 54 | - unfold waveExponent | |
| 55 | - ring | |
| 56 | - | |
| 57 | -theorem mean_increment (σ : ℝ) : | |
| 58 | - meanExponent (σ + 1 / 10) = meanExponent σ + 1 / 10 := by | |
| 59 | - unfold meanExponent | |
| 60 | - ring | |
| 61 | - | |
| 62 | 37 | /-! ## Step 1: particular correction -/ |
| 63 | 38 | |
| 64 | 39 | /-- The displayed lower bound is in fact equality for the stated parameter range. -/ |
| @@ -70,83 +45,12 @@ theorem particular_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) | ||
| 70 | 45 | simp only [le_min_iff] |
| 71 | 46 | exact ⟨⟨⟨by linarith, by linarith⟩, by linarith⟩, le_refl _⟩ |
| 72 | 47 | |
| 73 | -theorem particular_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) | |
| 74 | - (hκ : κ ≤ 1 / 100000) : | |
| 75 | - waveExponent (σ + 1 / 10) < waveExponent σ + particularGain σ κ := by | |
| 76 | - rw [particular_gain_eq hσ hκ, wave_increment] | |
| 77 | - linarith | |
| 78 | - | |
| 79 | 48 | /-! ## Step 2: signed correction -/ |
| 80 | 49 | |
| 81 | -theorem signed_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) | |
| 82 | - (hκ : κ ≤ 1 / 100000) : | |
| 83 | - signedGain σ κ = 2 / 5 - κ := by | |
| 84 | - unfold signedGain waveExponent | |
| 85 | - apply le_antisymm | |
| 86 | - · exact le_trans (min_le_left _ _) (le_trans (min_le_left _ _) (min_le_right _ _)) | |
| 87 | - · simp only [le_min_iff] | |
| 88 | - exact ⟨⟨⟨by linarith, le_refl _⟩, by linarith⟩, by linarith⟩ | |
| 89 | - | |
| 90 | -theorem signed_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) | |
| 91 | - (hκ : κ ≤ 1 / 100000) : | |
| 92 | - waveExponent (σ + 1 / 10) < waveExponent σ + signedGain σ κ := by | |
| 93 | - rw [signed_gain_eq hσ hκ, wave_increment] | |
| 94 | - linarith | |
| 95 | - | |
| 96 | 50 | /-! ## Steps 3 and 4: mean and defect updates -/ |
| 97 | 51 | |
| 98 | -theorem mean_update_wave_identity (σ κ : ℝ) : | |
| 99 | - meanUpdateExponent σ κ = waveExponent σ + 1 / 2 - 2 * κ := by | |
| 100 | - unfold meanUpdateExponent | |
| 101 | - rw [mean_eq_wave_add_half] | |
| 102 | - | |
| 103 | -theorem mean_update_wave_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 104 | - waveExponent (σ + 1 / 10) < meanUpdateExponent σ κ := by | |
| 105 | - rw [mean_update_wave_identity, wave_increment] | |
| 106 | - linarith | |
| 107 | - | |
| 108 | -theorem completed_mean_gain_eq {κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 109 | - min (17 / 100) (1 - 4 * κ) = 17 / 100 := by | |
| 110 | - apply min_eq_left | |
| 111 | - linarith | |
| 112 | - | |
| 113 | -theorem completed_mean_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 114 | - meanExponent (σ + 1 / 10) < | |
| 115 | - meanExponent σ + min (17 / 100) (1 - 4 * κ) := by | |
| 116 | - rw [completed_mean_gain_eq hκ, mean_increment] | |
| 117 | - linarith | |
| 118 | - | |
| 119 | -theorem completed_defect_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 120 | - meanExponent (σ + 1 / 10) < meanExponent σ + 9 / 10 - 4 * κ := by | |
| 121 | - rw [mean_increment] | |
| 122 | - linarith | |
| 123 | - | |
| 124 | 52 | /-! ## Cumulative exponent bounds -/ |
| 125 | 53 | |
| 126 | -theorem signed_increment_lower_bound {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) | |
| 127 | - (hκ : κ ≤ 1 / 100000) : | |
| 128 | - 69999 / 100000 ≤ waveExponent σ - κ := by | |
| 129 | - unfold waveExponent | |
| 130 | - linarith | |
| 131 | - | |
| 132 | -theorem signed_increment_above_cumulative_difference {σ κ : ℝ} | |
| 133 | - (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : | |
| 134 | - 17 / 25 < waveExponent σ - κ := by | |
| 135 | - have h := signed_increment_lower_bound hσ hκ | |
| 136 | - linarith | |
| 137 | - | |
| 138 | -theorem particular_increment_above_cumulative_difference {σ : ℝ} | |
| 139 | - (hσ : 1 / 5 ≤ σ) : | |
| 140 | - 17 / 25 < waveExponent σ := by | |
| 141 | - have h := wave_at_least_seven_tenths hσ | |
| 142 | - linarith | |
| 143 | - | |
| 144 | -theorem mean_increment_above_cumulative_mean {σ κ : ℝ} | |
| 145 | - (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : | |
| 146 | - 9 / 10 < meanUpdateExponent σ κ := by | |
| 147 | - unfold meanUpdateExponent meanExponent | |
| 148 | - linarith | |
| 149 | - | |
| 150 | 54 | /-! ## Exact fixed choice and quantifier bookkeeping -/ |
| 151 | 55 | |
| 152 | 56 | /-- Iterated accuracy parameters; this does not assert existence of the iterates. -/ |
| @@ -167,22 +71,6 @@ theorem stage_parameter_admissible (n : ℕ) : | ||
| 167 | 71 | have hn : (0 : ℝ) ≤ (n : ℝ) := Nat.cast_nonneg n |
| 168 | 72 | linarith |
| 169 | 73 | |
| 170 | -/-- The same fixed κ works for the numerical comparisons at every finite stage. -/ | |
| 171 | -theorem all_stage_arithmetic (n : ℕ) {κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 172 | - waveExponent (stageParameter (n + 1)) < | |
| 173 | - waveExponent (stageParameter n) + particularGain (stageParameter n) κ ∧ | |
| 174 | - waveExponent (stageParameter (n + 1)) < | |
| 175 | - waveExponent (stageParameter n) + signedGain (stageParameter n) κ ∧ | |
| 176 | - waveExponent (stageParameter (n + 1)) < meanUpdateExponent (stageParameter n) κ ∧ | |
| 177 | - meanExponent (stageParameter (n + 1)) < | |
| 178 | - meanExponent (stageParameter n) + min (17 / 100) (1 - 4 * κ) ∧ | |
| 179 | - meanExponent (stageParameter (n + 1)) < | |
| 180 | - meanExponent (stageParameter n) + 9 / 10 - 4 * κ := by | |
| 181 | - rw [stage_parameter_succ] | |
| 182 | - exact ⟨particular_gain_exceeds_tenth (stage_parameter_admissible n) hκ, | |
| 183 | - signed_gain_exceeds_tenth (stage_parameter_admissible n) hκ, | |
| 184 | - mean_update_wave_margin hκ, completed_mean_margin hκ, completed_defect_margin hκ⟩ | |
| 185 | - | |
| 186 | 74 | end |
| 187 | 75 | |
| 188 | 76 | end NavierStokes.ExponentLedger |
+0 −22 NavierStokes/FinalSlowBase.lean View file
| @@ -193,9 +193,6 @@ theorem leading_coefficient_jets (hcone : LeadingStressWeights.FullTrueCone v) ( | ||
| 193 | 193 | noncomputable def leadingFrequency : PhaseCalculus.Slow → ℝ := |
| 194 | 194 | BaseChartJets.leadingFrequency F.data.h W.axis.normalization (coefficients H v) |
| 195 | 195 | |
| 196 | -noncomputable def leadingAxial : PhaseCalculus.Slow → ℝ := | |
| 197 | - BaseChartJets.leadingAxial F.data.h (coefficients H v) | |
| 198 | - | |
| 199 | 196 | /-- The actual covariance target, including its positive chart factor. -/ |
| 200 | 197 | noncomputable def covarianceTarget (q : ℝ) (N : ℕ) (U : PartitionedCovariance.UnsignedLabel) |
| 201 | 198 | (p : PhaseCalculus.Slow) : MovingFrameODE.Plane := |
| @@ -301,16 +298,6 @@ theorem error_jetRate (upper : ℝ) (B : ℕ) {l : Filter ProblemStatement.Space | ||
| 301 | 298 | v.finiteModification.contains F.data.h_pos F.data.h_lt_half P |
| 302 | 299 | (scales_admissible_on H v upper B le_rfl hr) (finiteIdentities H v) m n hn |
| 303 | 300 | |
| 304 | -theorem error_allJetsFlat (upper : ℝ) (B : ℕ) {l : Filter ProblemStatement.SpaceTime} {radius : ℝ} | |
| 305 | - (P : BaseResidual.PhysicalApproach l F.data.h 0 radius) (hr : radius ≤ boxRadius W upper) : | |
| 306 | - ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) (error H v upper B) := | |
| 307 | - ConstructedSlowBase.repaired_allJetsFlat | |
| 308 | - (EntranceAlignedBase.smallLocalization W H v.profiles v.finiteModification ld.after_initial) | |
| 309 | - (EntranceAlignedBase.smallBaseAgreement W H v.profiles v.finiteModification ld.after_initial) | |
| 310 | - (EntranceAlignedBase.smallZeroOrder W H v.profiles v.finiteModification ld.after_initial) | |
| 311 | - v.finiteModification.contains F.data.h_pos F.data.h_lt_half P | |
| 312 | - (scales_admissible_on H v upper B le_rfl hr) (finiteIdentities H v) | |
| 313 | - | |
| 314 | 301 | theorem leading_origin : (coefficients H v).axial 0 (0, 0) = W.axis.j := by |
| 315 | 302 | have he := EntranceAlignedBase.modulated_leading_axis H v (eta := 0) (by constructor <;> norm_num) |
| 316 | 303 | simp only [mul_zero, zero_add] at he |
| @@ -453,15 +440,6 @@ theorem exterior_residual_zero (upper : ℝ) (B : ℕ) {z : ProblemStatement.Spa | ||
| 453 | 440 | (coefficients_smooth H v) (ModulatedExterior.actual_squared_swirl_restored v) |
| 454 | 441 | (scales_strictMono H v upper B) hz |
| 455 | 442 | |
| 456 | -theorem exterior_residual_jets_zero (upper : ℝ) (B m : ℕ) {z : ProblemStatement.SpaceTime} | |
| 457 | - (hz : z ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : | |
| 458 | - iteratedFDeriv ℝ m (fun p => ProblemStatement.navierStokesResidual | |
| 459 | - (velocity H v upper B) (pressure H v upper B) p.1 p.2) z = 0 := | |
| 460 | - ModulatedExterior.realized_residual_jets_zero W v.profiles v.finiteModification (realizesScheme H v) | |
| 461 | - (EntranceAlignedBase.modulated_base_eq H v) (EntranceAlignedBase.modulated_outer H v) | |
| 462 | - (coefficients_smooth H v) (ModulatedExterior.actual_squared_swirl_restored v) | |
| 463 | - (scales_strictMono H v upper B) hz m | |
| 464 | - | |
| 465 | 443 | end Fields |
| 466 | 444 | |
| 467 | 445 | /-- Intermediate data produced by the proved nominal and finite-modulation |
+0 −46 NavierStokes/FirstOrderBaseEdge.lean View file
| @@ -305,33 +305,6 @@ theorem nominal_angular_zero_eq {R eta : ℝ} (hR : 0 < R) (heta : eta ∈ nomin | ||
| 305 | 305 | (baseFields (nominalDomain W) W.axis.normalization W.profiles (nominalParameters_domain W)).phi (R, eta) = _ |
| 306 | 306 | exact hh.trans (W.E_eq_sqrt_f (p := (R ^ 2 / 2, eta)) (by positivity)).symm |
| 307 | 307 | |
| 308 | -theorem nominal_axial_mass_zero {eta : ℝ} (heta : eta ∈ nominalParameters W) : | |
| 309 | - SlowStressSupport.moment (nominalScheme W).B 1 (axialHistory (nominalScheme W) 0) eta = 0 := by | |
| 310 | - have he : SlowStressSupport.moment (nominalScheme W).B 1 (axialHistory (nominalScheme W) 0) eta = | |
| 311 | - PositiveOrderMoments.massHistory (nominalScheme W).base.axial ((nominalScheme W).B, eta) := by | |
| 312 | - apply intervalIntegral.integral_congr | |
| 313 | - intro R _ | |
| 314 | - dsimp only | |
| 315 | - rw [axialHistory_eq _ _ heta, profiles_zero] | |
| 316 | - simp only [pow_one, PositiveOrderMoments.weightedAxial] | |
| 317 | - rw [he] | |
| 318 | - change PositiveOrderMoments.massHistory | |
| 319 | - (baseFields (nominalDomain W) W.axis.normalization W.profiles (nominalParameters_domain W)).axial | |
| 320 | - (nominalOuterRadius W, eta) = 0 | |
| 321 | - rw [baseFields_mass _ _ _ _ (nominalOuterRadius_pos W).le heta] | |
| 322 | - exact nominal_mass_exterior W (nominalParameters_domain W) eta heta | |
| 323 | - | |
| 324 | -theorem nominal_first_axial_zero {p : ℝ × ℝ} (hX : nominalOuterX W ≤ p.1) : | |
| 325 | - (nominalCoefficients W).stressAxial 1 p = 0 := by | |
| 326 | - have hz := first_axial_exterior (nominalScheme W) (nominal_base_beta W) | |
| 327 | - (fun _ he => nominal_axial_mass_zero W he) | |
| 328 | - change extendCoreZero _ _ _ p = 0 | |
| 329 | - apply extendCoreZero_zero_right _ _ _ (nominalOuterRadius_pos W).le _ | |
| 330 | - (by simpa only [nominalOuterRadius_square] using hX) | |
| 331 | - intro eta heta R hR | |
| 332 | - rw [zEven_eq _ _ _ _ ((nominalOuterRadius_pos W).le.trans hR)] | |
| 333 | - exact hz eta heta R hR | |
| 334 | - | |
| 335 | 308 | theorem nominal_first_angular_eq {p : ℝ × ℝ} (hX : nominalOuterX W < p.1) |
| 336 | 309 | (heta : p.2 ∈ Ioo (-1 : ℝ) 1) |
| 337 | 310 | (hfull : 1 / 2 < Real.log (p.1 / OutgoingDilation.switchRadius F W.controls.radius) + 1 / 5) : |
| @@ -428,14 +401,6 @@ theorem terminalInner_full {F : OutgoingProfile.Profile} (W : NominalProfile.Wit | ||
| 428 | 401 | unfold terminalShift TerminalHistoryBridge.shift at hl |
| 429 | 402 | linarith |
| 430 | 403 | |
| 431 | -theorem nominal_first_pair_eq {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) : | |
| 432 | - EqOn (BaseResidual.stressPair (nominalCoefficients W) 1) | |
| 433 | - (fun p => (SlowFirstOrderEdge.stressX (terminalAmplitude W) F.data (terminalShift W) p, 0)) | |
| 434 | - (Ioi (terminalInner W) ×ˢ Ioo (-1 : ℝ) 1) := by | |
| 435 | - intro p hp | |
| 436 | - have hc := terminalInner_full W hp.1 | |
| 437 | - exact Prod.ext (nominal_first_angular_eq W hc.1 hp.2 hc.2) (nominal_first_axial_zero W hc.1.le) | |
| 438 | - | |
| 439 | 404 | /-- The scalar terminal factor has the same entire derivative tensor as the |
| 440 | 405 | actual stress through both physical parameter endpoints. The proof uses |
| 441 | 406 | continuity of each tensor, without identifying different outside extensions. -/ |
| @@ -468,17 +433,6 @@ theorem edgeJets_of_interior_equality {F : OutgoingProfile.Profile} (W : Nominal | ||
| 468 | 433 | he m hpi hp.2] |
| 469 | 434 | exact hb p hp |
| 470 | 435 | |
| 471 | -theorem nominal_first_edgeJets {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 472 | - {c left : ℝ} (hc : 0 < c) (hl : left < terminalShift W + 2) : | |
| 473 | - BaseResidual.PolynomialEdgeJets | |
| 474 | - (BaseResidual.outerWindow (Real.exp (terminalShift W + 3 - 1)) (terminalShift W + 3)) | |
| 475 | - (BaseResidual.activeZeta c left (terminalShift W + 3)) | |
| 476 | - (BaseResidual.activeDelta left (terminalShift W + 3)) | |
| 477 | - (BaseResidual.stressPair (nominalCoefficients W) 1) := by | |
| 478 | - have hs := nominalCoefficients_smooth W | |
| 479 | - exact edgeJets_of_interior_equality W ((hs.stressTheta 1).prodMk (hs.stressAxial 1)) | |
| 480 | - (nominal_first_pair_eq W) hc hl | |
| 481 | - | |
| 482 | 436 | /-! ## Transfer through a finite modification with the restored angular row -/ |
| 483 | 437 | |
| 484 | 438 | theorem moment_axialOp_congr {S : Set ℝ} (hS : IsOpen S) {f g : SlowStressSupport.Field} |
+0 −10 NavierStokes/FlatCovariance.lean View file
| @@ -50,16 +50,6 @@ def signedAmplitude (σ τ : ℝ) (κ : Vec2) (G : ℝ → Mat2) | ||
| 50 | 50 | (T R : ℝ → Vec2) (x : ℝ) : Vec2 := |
| 51 | 51 | fun i => inverseCoefficients τ κ G R x i / (2 * primaryAmplitude σ κ G T x i) |
| 52 | 52 | |
| 53 | -theorem edge_mul (c d x : ℝ) : edge c x * edge d x = edge (c + d) x := by | |
| 54 | - by_cases hx : x ≤ 0 | |
| 55 | - · simp [FlatCutoff.edge_of_nonpos c hx, FlatCutoff.edge_of_nonpos d hx, | |
| 56 | - FlatCutoff.edge_of_nonpos (c + d) hx] | |
| 57 | - · have hp : 0 < x := lt_of_not_ge hx | |
| 58 | - rw [FlatCutoff.edge_of_pos c hp, FlatCutoff.edge_of_pos d hp, | |
| 59 | - FlatCutoff.edge_of_pos (c + d) hp, ← Real.exp_add] | |
| 60 | - congr 1 | |
| 61 | - ring | |
| 62 | - | |
| 63 | 53 | theorem determinant_columns (G : Mat2) (c : Vec2) : |
| 64 | 54 | (columns G c).det = c 0 * c 1 * G.det := by |
| 65 | 55 | simp only [Matrix.det_fin_two, columns] |
+0 −7 NavierStokes/FlatPrimitiveFactor.lean View file
| @@ -255,11 +255,4 @@ theorem scale_eq_rpow (c : ℝ) (j : ℕ) {x : ℝ} (hx : 0 < x) : | ||
| 255 | 255 | rw [← Real.rpow_natCast x 3, ← Real.rpow_natCast x j, ← Real.rpow_sub hx] |
| 256 | 256 | norm_num |
| 257 | 257 | |
| 258 | -theorem factor_sqrt_contDiffAt_zero {c : ℝ} (hc : 0 < c) (j : ℕ) {b : ℝ → ℝ} | |
| 259 | - (hb : ContDiff ℝ ∞ b) (hb0 : 0 < b 0) : | |
| 260 | - ContDiffAt ℝ ∞ (fun x => Real.sqrt (factor c j b x)) 0 := by | |
| 261 | - apply (factor_contDiff hc j hb).contDiffAt.sqrt | |
| 262 | - rw [factor_at_zero hc j b] | |
| 263 | - exact (div_pos hb0 (mul_pos (by norm_num) hc)).ne' | |
| 264 | - | |
| 265 | 258 | end NavierStokes.FlatPrimitiveFactor |
+0 −22 NavierStokes/Flatness.lean View file
| @@ -73,26 +73,4 @@ theorem PowerFlat.mul (hf : PowerFlat l q f) (hg : PowerFlat l q g) : | ||
| 73 | 73 | mul_le_mul hfx hgx' (abs_nonneg _) (mul_nonneg hC (pow_nonneg (abs_nonneg _) _)) |
| 74 | 74 | _ = (C * D) * |q x| ^ n := by ring |
| 75 | 75 | |
| 76 | -/-- A flat scalar times a scalar with a fixed power loss remains flat. This | |
| 77 | -models one factor in the residual product estimates, provided the stated | |
| 78 | -bounds have already been established for the actual factors. -/ | |
| 79 | -theorem PowerFlat.mul_of_power_bound (hf : PowerFlat l q f) | |
| 80 | - (hq : ∀ᶠ x in l, q x ≠ 0) (loss : ℕ) {D : ℝ} (hD : 0 ≤ D) | |
| 81 | - (hg : ∀ᶠ x in l, |g x| ≤ D / |q x| ^ loss) : | |
| 82 | - PowerFlat l q (fun x => f x * g x) := by | |
| 83 | - intro n | |
| 84 | - obtain ⟨C, hC, hfb⟩ := hf (n + loss) | |
| 85 | - refine ⟨C * D, mul_nonneg hC hD, ?_⟩ | |
| 86 | - filter_upwards [hq, hfb, hg] with x hqx hfx hgx | |
| 87 | - have hden : |q x| ^ loss ≠ 0 := pow_ne_zero _ (abs_ne_zero.mpr hqx) | |
| 88 | - calc | |
| 89 | - |f x * g x| = |f x| * |g x| := abs_mul _ _ | |
| 90 | - _ ≤ (C * |q x| ^ (n + loss)) * (D / |q x| ^ loss) := | |
| 91 | - mul_le_mul hfx hgx (abs_nonneg _) | |
| 92 | - (mul_nonneg hC (pow_nonneg (abs_nonneg _) _)) | |
| 93 | - _ = ((C * D) * |q x| ^ n) * (|q x| ^ loss / |q x| ^ loss) := by | |
| 94 | - rw [pow_add] | |
| 95 | - ring | |
| 96 | - _ = (C * D) * |q x| ^ n := by rw [div_self hden, mul_one] | |
| 97 | - | |
| 98 | 76 | end NavierStokes.Flatness |
+0 −19 NavierStokes/FourierAlias.lean View file
| @@ -136,25 +136,6 @@ theorem torusMean_intervalIntegral {g : State → F} (hg : Continuous g) | ||
| 136 | 136 | simp_rw [hx] |
| 137 | 137 | exact intervalIntegral_comm hc hab (by norm_num) |
| 138 | 138 | |
| 139 | -/-- The shifted total integral has exactly the radially integrated source mean. -/ | |
| 140 | -theorem torusMean_totalIntegral {a b M : ℝ} {v : Plane} {f : State → F} | |
| 141 | - (hab : a ≤ b) (hf : Continuous f) (hp : ∀ U, TorusPeriodic (fun Y => f (U, Y))) | |
| 142 | - (hs : RadialAlias.RadiallySupported a b f) (U : ℝ) : | |
| 143 | - sliceMean (TransportPrimitive.totalIntegral M v f) U = ∫ s in a..b, sliceMean f s := by | |
| 144 | - have heq : (fun Y => TransportPrimitive.totalIntegral M v f (U, Y)) = | |
| 145 | - (fun Y => ∫ s in a..b, f (s, Y + (M * (s - U)) • v)) := by | |
| 146 | - funext Y | |
| 147 | - exact TransportPrimitive.totalIntegral_eq_radialInterval hf hs (U, Y) | |
| 148 | - have hc : Continuous (fun z : State => f (z.1, z.2 + (M * (z.1 - U)) • v)) := by | |
| 149 | - exact hf.comp (continuous_fst.prodMk | |
| 150 | - (continuous_snd.add ((continuous_const.mul (continuous_fst.sub continuous_const)).smul | |
| 151 | - continuous_const))) | |
| 152 | - change torusMean (fun Y => TransportPrimitive.totalIntegral M v f (U, Y)) = _ | |
| 153 | - rw [heq, torusMean_intervalIntegral hc hab] | |
| 154 | - apply intervalIntegral.integral_congr | |
| 155 | - intro s _ | |
| 156 | - exact torusMean_translate (hp s) ((M * (s - U)) • v) | |
| 157 | - | |
| 158 | 139 | variable [CompleteSpace F] |
| 159 | 140 | |
| 160 | 141 | end Averages |
+0 −12 NavierStokes/FuturePressureBounds.lean View file
| @@ -442,18 +442,6 @@ theorem Pi_increment (d : TailData) (a y eta : ℝ) : | ||
| 442 | 442 | unfold Pi |
| 443 | 443 | linarith |
| 444 | 444 | |
| 445 | -theorem Pi_hasDerivAt_y (d : TailData) (y eta : ℝ) : | |
| 446 | - HasDerivAt (fun t => Pi d t eta) ((1 / 2) * finalAngular d (y, eta) ^ 2) y := by | |
| 447 | - have hf : Continuous (fun t => finalAngular d (t, eta) ^ 2) := | |
| 448 | - (((finalAngular_contDiff d).continuous.comp | |
| 449 | - (continuous_id.prodMk continuous_const)).pow 2) | |
| 450 | - have heq : (fun t => Pi d t eta) = fun t => | |
| 451 | - Pi d 0 eta + (1 / 2) * primitive (fun v => finalAngular d (v, eta) ^ 2) t := by | |
| 452 | - funext t | |
| 453 | - exact Pi_increment d 0 t eta | |
| 454 | - rw [heq] | |
| 455 | - exact ((primitive_hasDerivAt hf y).const_mul (1 / 2)).const_add _ | |
| 456 | - | |
| 457 | 445 | theorem Pi_eq_axisPressure_add (d : TailData) (y eta : ℝ) : |
| 458 | 446 | Pi d y eta = axisPressure d eta + |
| 459 | 447 | (1 / 2) * ∫ t in Iic y, finalAngular d (t, eta) ^ 2 := by |
+0 −18 NavierStokes/GaugeExcludedBounds.lean View file
| @@ -65,12 +65,6 @@ theorem state_gr_mem {s : StripData D} {c : CorrectionState.Context D} | ||
| 65 | 65 | MeanClass s (min (9 / 10) γ - 2 * κ) (u.gr c) := |
| 66 | 66 | radialSource_mem ho hb hu.velocity u.covariance hW |
| 67 | 67 | |
| 68 | -theorem meanClass_unweighted {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 69 | - {s : StripData D} {β : ℝ} {f : ℕ → D → E} | |
| 70 | - (hf : MeanClass s β f) (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : | |
| 71 | - UnweightedClass s β f := | |
| 72 | - hf.mono_weight (fun _ _ _ => zero_le_one) (fun _ x hx => hζ x hx) | |
| 73 | - | |
| 74 | 68 | end RadialSource |
| 75 | 69 | |
| 76 | 70 | section VectorLifts |
| @@ -117,18 +111,6 @@ end VectorLifts | ||
| 117 | 111 | |
| 118 | 112 | section MovingWeight |
| 119 | 113 | |
| 120 | -theorem movingStrip_zeta_le_one {coord a b cL cR : ℝ} (U : SlowRegion coord) | |
| 121 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 122 | - (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) | |
| 123 | - (x : MeanStateRegularity.Point) : | |
| 124 | - (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL).zeta x ≤ 1 := by | |
| 125 | - change WeightedRadialPrimitive.zeta cL cR (WeightedRadialPrimitive.logLength a b) | |
| 126 | - (WeightedRadialPrimitive.logPosition a (profileMap coord x).1) ≤ 1 | |
| 127 | - unfold WeightedRadialPrimitive.zeta | |
| 128 | - exact (mul_le_mul (WeightedRadialPrimitive.edge_le_one hcL.le _) | |
| 129 | - (WeightedRadialPrimitive.edge_le_one hcR.le _) (FlatCutoff.edge_nonneg _ _) | |
| 130 | - zero_le_one).trans_eq (one_mul 1) | |
| 131 | - | |
| 132 | 114 | end MovingWeight |
| 133 | 115 | |
| 134 | 116 | /-- The actual moving strip, with the manuscript's band scale. -/ |
+0 −6 NavierStokes/GaussianErrorNaturality.lean View file
| @@ -107,7 +107,6 @@ open CorrectionState | ||
| 107 | 107 | |
| 108 | 108 | abbrev Parameter := PhysicalParticularWave.Parameter |
| 109 | 109 | abbrev WaveSpace := PhysicalParticularWave.WaveSpace |
| 110 | -abbrev Cylinder := PhysicalParticularWave.Cylinder | |
| 111 | 110 | |
| 112 | 111 | /-- The full native change of variables, conjugate to the actual |
| 113 | 112 | cylindrical change of band and common cover. -/ |
| @@ -120,11 +119,6 @@ noncomputable def waveChange (h Q Qr : ℝ) (gap : ℕ) : WaveSpace →L[ℝ] Wa | ||
| 120 | 119 | waveChange h Q Qr gap x = |
| 121 | 120 | ((PhysicalParticularWave.parameterChange h Q Qr x.1.1, x.1.2), coverPower gap x.2) := rfl |
| 122 | 121 | |
| 123 | -noncomputable def nativeData (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (j : ℤ) : | |
| 124 | - PeriodizedWaveBounds.CopyData WaveSpace Frequency := | |
| 125 | - (CorrectionStep.ParticularParameters.fromReference D h gap).copyData | |
| 126 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j | |
| 127 | - | |
| 128 | 122 | theorem copyData_amplitude (p : CorrectionStep.ParticularParameters Parameter) |
| 129 | 123 | (C : Context (Parameter × Plane)) (u : State (Parameter × Plane)) |
| 130 | 124 | (b : HarmonicBlock (Parameter × Plane)) |
+0 −66 NavierStokes/GaussianTailFlat.lean View file
| @@ -659,74 +659,8 @@ theorem referenceSlotEnvelope_bound {lam u L : ℝ} | ||
| 659 | 659 | |
| 660 | 660 | namespace SlotFamily |
| 661 | 661 | |
| 662 | -/-- The fundamental need only be smooth in the open slot. Away from that | |
| 663 | -slot the exact error agrees locally with the smooth source. This avoids any | |
| 664 | -smoothness assertion for a clamped ODE extension across its endpoints. -/ | |
| 665 | -theorem error_contDiff_of_slot {s : StripData D} (g : SlotFamily s) {u f : ℕ → D → E} | |
| 666 | - (hu : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 667 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (n : ℕ) : | |
| 668 | - ContDiff ℝ ∞ (g.error u f n) := by | |
| 669 | - classical | |
| 670 | - rw [contDiff_iff_contDiffAt] | |
| 671 | - intro x | |
| 672 | - by_cases hx : g.coordinate n x ∈ Ioo (0 : ℝ) 1 | |
| 673 | - · have hU : IsOpen {y | g.coordinate n y ∈ Ioo (0 : ℝ) 1} := | |
| 674 | - isOpen_Ioo.preimage (g.coordinate_contDiff n).continuous | |
| 675 | - have hus := (hu n).contDiffAt (hU.mem_nhds hx) | |
| 676 | - have ht : ContDiffAt ℝ ∞ (g.coordinate n) x := (g.coordinate_contDiff n).contDiffAt | |
| 677 | - exact ((contDiffAt_const.mul (profileDeriv_contDiff.contDiffAt.comp x ht)).smul hus).add | |
| 678 | - ((contDiffAt_const.sub (profile_contDiff.contDiffAt.comp x ht)).smul (hf n).contDiffAt) | |
| 679 | - · have hout : 1 / 3 < |g.coordinate n x - 1 / 2| := by | |
| 680 | - have hx' : g.coordinate n x ≤ 0 ∨ 1 ≤ g.coordinate n x := by | |
| 681 | - simpa only [mem_Ioo, not_and_or, not_lt] using hx | |
| 682 | - rcases hx' with hx' | hx' | |
| 683 | - · rw [abs_of_nonpos (by linarith)] | |
| 684 | - linarith | |
| 685 | - · rw [abs_of_nonneg (by linarith)] | |
| 686 | - linarith | |
| 687 | - have hp := (profile_eventually_zero hout).comp_tendsto | |
| 688 | - (g.coordinate_contDiff n).continuous.continuousAt | |
| 689 | - have hd := (profile_eventually_zero hout).deriv.comp_tendsto | |
| 690 | - (g.coordinate_contDiff n).continuous.continuousAt | |
| 691 | - have he : g.error u f n =ᶠ[𝓝 x] f n := by | |
| 692 | - filter_upwards [hp, hd] with y hpy hdy | |
| 693 | - have hp' : profile (g.coordinate n y) = 0 := hpy | |
| 694 | - have hd' : deriv profile (g.coordinate n y) = 0 := by simpa using hdy | |
| 695 | - simp [error, cutoffError, hp', hd'] | |
| 696 | - exact (hf n).contDiffAt.congr_of_eventuallyEq he | |
| 697 | - | |
| 698 | 662 | open PhysicalGraphBounds ProblemStatement |
| 699 | 663 | |
| 700 | -/-- The same result for the actual oscillatory carrier. The phase estimates | |
| 701 | -are the primitive estimates consumed by `carrier_class_physical_bound`. -/ | |
| 702 | -theorem error_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) | |
| 703 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 704 | - {P : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → ℂ} | |
| 705 | - (hu : WaveClass s P α u) (hf : WaveClass s P α f) (hc : 0 < c) | |
| 706 | - (hP : ∀ n x, x ∈ s.domain → | |
| 707 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 708 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 709 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 710 | - {h a b B e H : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 711 | - (hB : 1 ≤ B) (he : 0 ≤ e) (hH : 0 ≤ H) (m : ℕ) (N : ℝ) : | |
| 712 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ p : SpaceTime, | |
| 713 | - scaledRadial n p ∈ annulus a b → |p.1| ≤ 1 → physicalLift h n p ∈ s.domain → | |
| 714 | - ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 715 | - ∀ (Φ : LiftPoint → ℝ) (j : ℤ), ContDiff ℝ ∞ Φ → |(j : ℝ)| ≤ H → | |
| 716 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i Φ (physicalLift h n p)‖ ≤ | |
| 717 | - B * ChartScales.S n ^ e * ChartScales.Q n ^ (-1 : ℝ)) → | |
| 718 | - ‖iteratedFDeriv ℝ m | |
| 719 | - ((fun y => g.error u f n y * character ((ChartScales.carrier h n : ℝ) * (j : ℝ)) (Φ y)) ∘ | |
| 720 | - physicalLift h n) p‖ ≤ C * q ^ N := by | |
| 721 | - obtain ⟨A, hA, hab⟩ := g.error_stripped_bound edges scales hu hf hc hP m (N + waveLoss h m) | |
| 722 | - obtain ⟨C, hC, hb⟩ := carrier_class_physical_bound (b := b) hh hh1 ha m | |
| 723 | - (N + waveLoss h m) 0 e A B H hA hB he hH | |
| 724 | - refine ⟨C, hC, fun n hn p hp ht hd q hq hlo hhi Φ j hΦ hj hΦb => ?_⟩ | |
| 725 | - have hh := hb n hn p hp ht q hq hlo hhi (g.error u f n) Φ j | |
| 726 | - (g.error_contDiff_of_slot hu_smooth hf_smooth n) hΦ hj (fun i hi => by | |
| 727 | - simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n p) hd i hi) hΦb | |
| 728 | - simpa only [add_sub_cancel_right] using hh | |
| 729 | - | |
| 730 | 664 | end SlotFamily |
| 731 | 665 | |
| 732 | 666 | /-! ## The two summands separately -/ |
+0 −66 NavierStokes/GlobalSlowProfiles.lean View file
| @@ -1718,63 +1718,12 @@ theorem profiles_x_pressure_derivative {S : Set ℝ} {h C : ℝ} (s : Scheme S h | ||
| 1718 | 1718 | rw [← profiles_pressure_eq s hn] at hd |
| 1719 | 1719 | exact hp.unique hd |
| 1720 | 1720 | |
| 1721 | -theorem radialZ_eq_axialOp {S : Set ℝ} {h : ℝ} (d : Domain S h) (b : ℝ) (u : EvenProfile S) | |
| 1722 | - {w : ℝ × ℝ} (heta : w.2 ∈ S) : | |
| 1723 | - PositiveOrderMoments.radialZ h b u w = axialOp d b u w := by | |
| 1724 | - have hx := radius_mul_xDerivative d.isOpen u heta w.1 | |
| 1725 | - change w.1 * xDerivative d.isOpen u w = ProfileHistories.radialPartial u w at hx | |
| 1726 | - simp only [PositiveOrderMoments.radialZ, axialOp, mul_apply, add_apply, sub_apply, | |
| 1727 | - constant_apply, inverseDenominator_apply] | |
| 1728 | - change (2 * w.2 * b * u w + PositiveAxisSystem.edge w.2 * etaDerivative d.isOpen u w - | |
| 1729 | - w.2 * w.1 * ProfileHistories.radialPartial u w) / PositiveAxisSystem.ell h w.2 = | |
| 1730 | - (2 * b * w.2 * u w + (1 - w.2 ^ 2) * etaDerivative d.isOpen u w - | |
| 1731 | - 2 * w.2 * (w.1 ^ 2 / 2) * xDerivative d.isOpen u w) * (PositiveAxisSystem.ell h w.2)⁻¹ | |
| 1732 | - rw [← hx] | |
| 1733 | - simp only [PositiveAxisSystem.edge, div_eq_mul_inv] | |
| 1734 | - ring | |
| 1735 | - | |
| 1736 | -theorem betaFromU_x_divergence {S : Set ℝ} {h : ℝ} (d : Domain S h) (lam : ℝ) | |
| 1737 | - (u : EvenProfile S) {w : ℝ × ℝ} (hX : 0 < w.1) (heta : w.2 ∈ S) : | |
| 1738 | - SimilarityProfile.partialX (AxisSourceRegularity.axisFactor (xProfile (betaFromU d lam u))) w + | |
| 1739 | - SimilarityProfile.Z h (-PositiveAxisSystem.a h + lam) (xProfile u) w = 0 := by | |
| 1740 | - let b := betaFromU d lam u | |
| 1741 | - let R := Real.sqrt (2 * w.1) | |
| 1742 | - have hR : R ≠ 0 := (Real.sqrt_pos.mpr (mul_pos (by norm_num) hX)).ne' | |
| 1743 | - have hR2 : R ^ 2 / 2 = w.1 := by | |
| 1744 | - dsimp [R]; rw [Real.sq_sqrt (mul_pos (by norm_num) hX).le]; ring | |
| 1745 | - have hb := ProfileHistories.radialPartial_hasDerivAt (PositiveOrderMoments.parameterDomain S d.isOpen) | |
| 1746 | - b.smooth (p := (R, w.2)) ⟨mem_univ _, heta⟩ | |
| 1747 | - have hr : HasDerivAt (fun r : ℝ => r ^ 2 / 2) R R := by | |
| 1748 | - convert! ((hasDerivAt_id R).pow 2).div_const 2 using 1 | |
| 1749 | - norm_num | |
| 1750 | - have he := (hr.mul hb).unique (reconstructed_flux_derivative d lam u (R := R) heta) | |
| 1751 | - dsimp only at he | |
| 1752 | - have hx := radius_mul_xDerivative d.isOpen b heta R | |
| 1753 | - change R * xDerivative d.isOpen b (R, w.2) = ProfileHistories.radialPartial b (R, w.2) at hx | |
| 1754 | - rw [← hx, radialZ_eq_axialOp d _ u (w := (R, w.2)) heta, hR2] at he | |
| 1755 | - rw [AxisSourceRegularity.partialX_axisFactor ((xProfile_contDiffAt d.isOpen b hX heta).differentiableAt (by simp)), | |
| 1756 | - xProfile_partialX d.isOpen b hX heta, ← xProfile_axialOp d _ u hX heta] | |
| 1757 | - change b (R, w.2) + w.1 * xDerivative d.isOpen b (R, w.2) + | |
| 1758 | - axialOp d (-PositiveAxisSystem.a h + lam) u (R, w.2) = 0 | |
| 1759 | - apply mul_left_cancel₀ hR | |
| 1760 | - linear_combination he | |
| 1761 | - | |
| 1762 | 1721 | noncomputable def asSlowProfiles {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) : |
| 1763 | 1722 | SlowExpansionResidual.SlowProfiles := |
| 1764 | 1723 | SlowResidualMatching.ofBeta (fun j => xProfile (profiles s j).phi) |
| 1765 | 1724 | (fun j => xProfile (profiles s j).axial) (fun j => xProfile (profiles s j).beta) |
| 1766 | 1725 | (fun j => xProfile (profiles s j).pressure) |
| 1767 | 1726 | |
| 1768 | -/-- Exact global divergence at every positive order. -/ | |
| 1769 | -theorem profiles_divergenceCoefficient {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | |
| 1770 | - {n : ℕ} (hn : 0 < n) {w : ℝ × ℝ} (hX : 0 < w.1) (heta : w.2 ∈ S) : | |
| 1771 | - SlowExpansionResidual.divergenceCoefficient h (asSlowProfiles s) n w = 0 := by | |
| 1772 | - change SimilarityProfile.partialX (AxisSourceRegularity.axisFactor (xProfile (profiles s n).beta)) w + | |
| 1773 | - SimilarityProfile.Z h (SlowExpansionResidual.axialExponent h + SlowExpansionResidual.slowOrder h n) | |
| 1774 | - (xProfile (profiles s n).axial) w = 0 | |
| 1775 | - rw [profiles_beta_eq s hn] | |
| 1776 | - exact betaFromU_x_divergence s.domain (AxisSourceRegularity.slowOrder h n) (profiles s n).axial hX heta | |
| 1777 | - | |
| 1778 | 1727 | /-- Exact global pressure row, with the actual preceding radial residual. -/ |
| 1779 | 1728 | theorem profiles_pressureCoefficient {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) |
| 1780 | 1729 | {n : ℕ} (hn : 0 < n) {w : ℝ × ℝ} (hX : 0 < w.1) (heta : w.2 ∈ S) : |
| @@ -1835,21 +1784,6 @@ theorem profiles_axis_zero {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | ||
| 1835 | 1784 | rw [he, A.zero_axis n hn (localIndex i) _ (L.parameter_embedding eta heta)] |
| 1836 | 1785 | rfl |
| 1837 | 1786 | |
| 1838 | -theorem profiles_axis_right_jets {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | |
| 1839 | - {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} | |
| 1840 | - {A : SlowRecursion.LocalHierarchy rho U h C base} | |
| 1841 | - (L : Localization s A inner) (B0 : BaseAgreement s A inner) | |
| 1842 | - {n : ℕ} (hn : 0 < n) (i : Fin 4) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : | |
| 1843 | - iteratedDerivWithin m (fun X => xProfile (component (profiles s n) i) (X, eta)) (Ici 0) 0 = | |
| 1844 | - iteratedDerivWithin m (fun X => SlowRecursion.profile (A.coefficients n (localIndex i)) (X, eta)) (Ici 0) 0 := by | |
| 1845 | - have he : (fun X => xProfile (component (profiles s n) i) (X, eta)) =ᶠ[𝓝[Ici 0] 0] | |
| 1846 | - fun X => SlowRecursion.profile (A.coefficients n (localIndex i)) (X, eta) := by | |
| 1847 | - have hN : ∀ᶠ X : ℝ in 𝓝 0, X < inner := isOpen_Iio.mem_nhds L.inner_pos | |
| 1848 | - filter_upwards [self_mem_nhdsWithin, hN.filter_mono nhdsWithin_le_nhds] with X hX hXi | |
| 1849 | - exact profiles_inner_eq L B0 hn i (w := (X, eta)) hX hXi heta | |
| 1850 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin] | |
| 1851 | - rw [he.iteratedFDerivWithin_eq (profiles_inner_eq L B0 hn i (w := (0, eta)) le_rfl L.inner_pos heta) m] | |
| 1852 | - | |
| 1853 | 1787 | /-- Germ locality transfers the two solved tangential equations. No |
| 1854 | 1788 | agreement outside the fixed inner region is required. -/ |
| 1855 | 1789 | theorem profiles_inner_tangential {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} |
+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 −14 NavierStokes/HeatTailEdit.lean View file
| @@ -71,10 +71,6 @@ theorem multiplier_bounds {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) (hX : 0 | ||
| 71 | 71 | dsimp [multiplier] |
| 72 | 72 | constructor <;> nlinarith |
| 73 | 73 | |
| 74 | -theorem edit_pos {E : ℝ → ℝ} {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) | |
| 75 | - (hX : 0 < X) (hE : 0 < E X) : 0 < edit E h ν K X := | |
| 76 | - mul_pos hE (multiplier_bounds hh hν hX).1 | |
| 77 | - | |
| 78 | 74 | theorem switch_contDiffOn {K : ℝ} (hK : 0 < K) : |
| 79 | 75 | ContDiffOn ℝ ∞ (switch K) (Ioi 0) := by |
| 80 | 76 | intro X hX |
| @@ -436,16 +432,6 @@ theorem outgoingProfile_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : | ||
| 436 | 432 | exact ((finalAngular_contDiff d).contDiffAt.comp p |
| 437 | 433 | ((contDiffAt_const.add hl).prodMk contDiffAt_snd)).contDiffWithinAt |
| 438 | 434 | |
| 439 | -theorem outgoingEdit_pos (d : TailData) {ν K X : ℝ} (hν : 0 ≤ ν) (hX : 0 < X) | |
| 440 | - (eta : ℝ) : 0 < outgoingEdit d ν K eta X := | |
| 441 | - edit_pos d.h_pos hν hX (outgoingProfile_pos d K eta X) | |
| 442 | - | |
| 443 | -/-- Exact matching before tail logarithmic time `0.2`. -/ | |
| 444 | -theorem outgoingEdit_before (d : TailData) (ν eta : ℝ) {K X : ℝ} | |
| 445 | - (hK : 0 < K) (hX : 0 < X) (hXK : X ≤ K) : | |
| 446 | - outgoingEdit d ν K eta X = outgoingProfile d K eta X := | |
| 447 | - edit_before _ _ _ hK hX hXK | |
| 448 | - | |
| 449 | 435 | /-- At tail logarithmic time `0.5`, the full heat factor is present. -/ |
| 450 | 436 | theorem outgoingEdit_full (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 451 | 437 | (hK : 0 < K) (hX : 0 < X) (hfull : 1 / 2 ≤ Real.log (X / K) + 1 / 5) : |
+0 −135 NavierStokes/InitializedPhysicalBackground.lean View file
| @@ -68,36 +68,6 @@ section NativeInitialization | ||
| 68 | 68 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 69 | 69 | {I K : Type*} |
| 70 | 70 | |
| 71 | -/-- This applies the actual native-copy estimate at initialization, where | |
| 72 | -the positive-stage `RawStageBounds` interface is not available. -/ | |
| 73 | -theorem potentialIncrement_rate (WA : WaveData h D I K (Fin 3)) | |
| 74 | - (MA : MeanData h (CoordinateAlgebra.A h - 1 / 2)) | |
| 75 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} | |
| 76 | - (hqbig : 0 < qbig) (hq : qbig ≤ ChartScales.Q MA.firstBand) (m : ℕ) : | |
| 77 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 78 | - (potentialIncrement WA MA) m | |
| 79 | - (-seedPotentialLoss h WA.alpha WA.shift MA.alpha m) := by | |
| 80 | - obtain ⟨C, hC, hb⟩ := potentialIncrement_bound | |
| 81 | - (g := 0) (waveOffset := -(h * WA.alpha + WA.shift)) (meanOffset := -(h * MA.alpha)) | |
| 82 | - WA MA hh hh1 hq (by linarith) (by linarith) m | |
| 83 | - refine ⟨C, hC, ?_⟩ | |
| 84 | - filter_upwards [endpoint_sublevel hh hh1 hqbig, | |
| 85 | - ActualBaseVelocityBounds.endpoint_q_small hh hh1] with w hw hqw | |
| 86 | - simpa only [seedPotentialLoss, zero_sub] using hb w hw hqw.2 | |
| 87 | - | |
| 88 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 89 | -theorem directIncrement_rate (MB : MeanData h (CoordinateAlgebra.A h)) | |
| 90 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} | |
| 91 | - (hqbig : 0 < qbig) (hq : qbig ≤ ChartScales.Q MB.firstBand) (m : ℕ) : | |
| 92 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 93 | - MB.family.angularField m (-seedDirectLoss h MB.alpha m) := by | |
| 94 | - obtain ⟨C, hC, hb⟩ := MB.angular_bound_with_gain | |
| 95 | - (g := 0) (delta := -(h * MB.alpha)) hh hh1 hq (by linarith) m | |
| 96 | - refine ⟨C, hC, ?_⟩ | |
| 97 | - filter_upwards [endpoint_sublevel hh hh1 hqbig, | |
| 98 | - ActualBaseVelocityBounds.endpoint_q_small hh hh1] with w hw hqw | |
| 99 | - simpa only [seedDirectLoss, directLoss, zero_sub] using hb w hw hqw.2 | |
| 100 | - | |
| 101 | 71 | end NativeInitialization |
| 102 | 72 | |
| 103 | 73 | section ActualBase |
| @@ -107,111 +77,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 107 | 77 | (v : ModulatedProfileAssembly.Witness ld) |
| 108 | 78 | {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 109 | 79 | |
| 110 | -noncomputable def initializedPotential (upper : ℝ) (B : ℕ) | |
| 111 | - (WA : WaveData F.data.h D I K (Fin 3)) | |
| 112 | - (MA : MeanData F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) : VelocityField := | |
| 113 | - fun w => TailGaugePotential.finalPotential H v upper B w + potentialIncrement WA MA w | |
| 114 | - | |
| 115 | -/-- Literal curl of the initialized potential plus the direct angular | |
| 116 | -initialization. The latter is not differentiated as a potential. -/ | |
| 117 | -noncomputable def initializedVelocity (upper : ℝ) (B : ℕ) | |
| 118 | - (WA : WaveData F.data.h D I K (Fin 3)) | |
| 119 | - (MA : MeanData F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 120 | - (MB : MeanData F.data.h (CoordinateAlgebra.A F.data.h)) : VelocityField := | |
| 121 | - fun w => SpatialCurl.spatialCurl (initializedPotential H v upper B WA MA) w + | |
| 122 | - MB.family.angularField w | |
| 123 | - | |
| 124 | -/-- The only use of the anchored gauge is its proved equality of curls. -/ | |
| 125 | -theorem initializedVelocity_decomposition (upper : ℝ) (B : ℕ) | |
| 126 | - (WA : WaveData F.data.h D I K (Fin 3)) | |
| 127 | - (MA : MeanData F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 128 | - (MB : MeanData F.data.h (CoordinateAlgebra.A F.data.h)) | |
| 129 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q MA.firstBand) : | |
| 130 | - EqOn (initializedVelocity H v upper B WA MA MB) | |
| 131 | - (fun w => FinalSlowBase.velocity H v upper B w + | |
| 132 | - SpatialCurl.spatialCurl (potentialIncrement WA MA) w + MB.family.angularField w) | |
| 133 | - (CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 134 | - have hbase : ContDiffOn ℝ ∞ (TailGaugePotential.finalPotential H v upper B) | |
| 135 | - (CutStageEstimates.physicalSublevel F.data.h qbig) := | |
| 136 | - (TailGaugePotential.finalPotential_smooth H v upper B).mono | |
| 137 | - (fun _ hw => ⟨hw.1, mem_univ _⟩) | |
| 138 | - have hinc := potentialIncrement_smooth WA MA F.data.h_pos F.data.h_lt_half hq | |
| 139 | - intro w hw | |
| 140 | - unfold initializedVelocity initializedPotential | |
| 141 | - rw [spatialCurl_add_on (CutStageEstimates.physicalSublevel_open F.data.h_pos | |
| 142 | - F.data.h_lt_half qbig) hbase hinc hw] | |
| 143 | - dsimp only | |
| 144 | - rw [TailGaugePotential.finalPotential_sameCurl H v upper B hw.1] | |
| 145 | - | |
| 146 | -/-- Initial physical velocity bound from native initialization data and | |
| 147 | -the actual constructed base. There is no initial-velocity rate premise. -/ | |
| 148 | -theorem initializedVelocity_rate (upper : ℝ) (B : ℕ) | |
| 149 | - (WA : WaveData F.data.h D I K (Fin 3)) | |
| 150 | - (MA : MeanData F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 151 | - (MB : MeanData F.data.h (CoordinateAlgebra.A F.data.h)) (m : ℕ) : | |
| 152 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 153 | - (initializedVelocity H v upper B WA MA MB) m | |
| 154 | - (-initialLoss F.data.h WA.alpha WA.shift MA.alpha MB.alpha m) := by | |
| 155 | - let qbig := min (ChartScales.Q MA.firstBand) (ChartScales.Q MB.firstBand) | |
| 156 | - have hqbig : 0 < qbig := lt_min (ChartScales.Q_pos _) (ChartScales.Q_pos _) | |
| 157 | - have hqA : qbig ≤ ChartScales.Q MA.firstBand := min_le_left _ _ | |
| 158 | - have hqB : qbig ≤ ChartScales.Q MB.firstBand := min_le_right _ _ | |
| 159 | - let U := CutStageEstimates.physicalSublevel F.data.h qbig | |
| 160 | - have hU : IsOpen U := CutStageEstimates.physicalSublevel_open F.data.h_pos F.data.h_lt_half qbig | |
| 161 | - have hlU : ∀ᶠ w in ActualBaseVelocityBounds.endpoint, w ∈ U := | |
| 162 | - endpoint_sublevel F.data.h_pos F.data.h_lt_half hqbig | |
| 163 | - have hq := ActualBaseVelocityBounds.endpoint_q_small F.data.h_pos F.data.h_lt_half | |
| 164 | - have hsBase : ContDiffOn ℝ ∞ (FinalSlowBase.velocity H v upper B) U := | |
| 165 | - (FinalSlowBase.velocity_smooth H v upper B).mono (fun _ hw => ⟨hw.1, mem_univ _⟩) | |
| 166 | - have hsInc : ContDiffOn ℝ ∞ (potentialIncrement WA MA) U := | |
| 167 | - potentialIncrement_smooth WA MA F.data.h_pos F.data.h_lt_half hqA | |
| 168 | - have hsDirect : ContDiffOn ℝ ∞ MB.family.angularField U := | |
| 169 | - MB.angular_smooth F.data.h_pos F.data.h_lt_half hqB | |
| 170 | - have hsCurl := spatialCurl_smoothOn hU hsInc | |
| 171 | - have hbase := (ActualBaseVelocityBounds.velocity_rate H v upper B m).weaken hq | |
| 172 | - (neg_le_neg (le_max_left (ActualBaseVelocityBounds.heatLoss m) | |
| 173 | - (max (seedPotentialLoss F.data.h WA.alpha WA.shift MA.alpha (m + 1)) | |
| 174 | - (seedDirectLoss F.data.h MB.alpha m)))) | |
| 175 | - have hinc : JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 176 | - (SpatialCurl.spatialCurl (potentialIncrement WA MA)) m | |
| 177 | - (-initialLoss F.data.h WA.alpha WA.shift MA.alpha MB.alpha m) := by | |
| 178 | - apply ((potentialIncrement_rate WA MA F.data.h_pos F.data.h_lt_half hqbig hqA | |
| 179 | - (m + 1)).spatialCurl hU hlU hsInc).weaken hq | |
| 180 | - exact neg_le_neg ((le_max_left _ _).trans (le_max_right _ _)) | |
| 181 | - have hdirect : JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 182 | - MB.family.angularField m (-initialLoss F.data.h WA.alpha WA.shift MA.alpha MB.alpha m) := by | |
| 183 | - apply (directIncrement_rate MB F.data.h_pos F.data.h_lt_half hqbig hqB m).weaken hq | |
| 184 | - exact neg_le_neg ((le_max_right _ _).trans (le_max_right _ _)) | |
| 185 | - have hsum := (hbase.add hinc hU hlU hsBase hsCurl).add hdirect hU hlU | |
| 186 | - (hsBase.add hsCurl) hsDirect | |
| 187 | - exact hsum.congr_on hU hlU | |
| 188 | - (initializedVelocity_decomposition H v upper B WA MA MB hqA).symm | |
| 189 | - | |
| 190 | -/-- An exact representation adapter for initialization assembled elsewhere. | |
| 191 | -Its inputs identify the literal potential and direct angular field on an | |
| 192 | -eventual open neighborhood; no bound on either initialized velocity or | |
| 193 | -the base gauge is assumed. -/ | |
| 194 | -theorem represented_initial_rate (upper : ℝ) (B : ℕ) | |
| 195 | - (WA : WaveData F.data.h D I K (Fin 3)) | |
| 196 | - (MA : MeanData F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 197 | - (MB : MeanData F.data.h (CoordinateAlgebra.A F.data.h)) | |
| 198 | - {A Bdirect : ℕ → VelocityField} {U : Set SpaceTime} | |
| 199 | - (hU : IsOpen U) (hlU : ∀ᶠ w in ActualBaseVelocityBounds.endpoint, w ∈ U) | |
| 200 | - (hA : EqOn (A 0) (initializedPotential H v upper B WA MA) U) | |
| 201 | - (hB : EqOn (Bdirect 0) MB.family.angularField U) (m : ℕ) : | |
| 202 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 203 | - (MixedDiagonalResidual.uncutVelocity A Bdirect 0) m | |
| 204 | - (-initialLoss F.data.h WA.alpha WA.shift MA.alpha MB.alpha m) := by | |
| 205 | - apply (initializedVelocity_rate H v upper B WA MA MB m).congr_on hU hlU | |
| 206 | - intro w hw | |
| 207 | - have he : A 0 =ᶠ[𝓝 w] initializedPotential H v upper B WA MA := by | |
| 208 | - filter_upwards [hU.mem_nhds hw] with y hy | |
| 209 | - exact hA hy | |
| 210 | - rw [MixedFiniteBackground.uncutVelocity_zero] | |
| 211 | - change SpatialCurl.spatialCurl (initializedPotential H v upper B WA MA) w + | |
| 212 | - MB.family.angularField w = SpatialCurl.spatialCurl (A 0) w + Bdirect 0 w | |
| 213 | - rw [SolenoidalDiagonal.spatialCurl_eq_of_eventuallyEq he, hB hw] | |
| 214 | - | |
| 215 | 80 | end ActualBase |
| 216 | 81 | |
| 217 | 82 | end NavierStokes.InitializedPhysicalBackground |
+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 −91 NavierStokes/JointResidualLimits.lean View file
| @@ -153,97 +153,6 @@ theorem boundaryLimits_locallyUniform {f : SpaceTime → V} (hzero : VanishingJo | ||
| 153 | 153 | intro x |
| 154 | 154 | simpa only [past_filter] using boundaryLimits_joint hzero hext n x |
| 155 | 155 | |
| 156 | -theorem boundaryLimits_uniformOn_compact {f : SpaceTime → V} (hzero : VanishingJointJets f) | |
| 157 | - (hext : AwayExtensions f) (n : ℕ) {K : Set Space} (hK : IsCompact K) : | |
| 158 | - TendstoUniformlyOn (fun t x => iteratedFDeriv ℝ n f (t, x)) | |
| 159 | - (fun x => boundaryLimits f hext x n) (𝓝[<] (1 : ℝ)) K := | |
| 160 | - (tendstoLocallyUniformly_iff_forall_isCompact.mp (boundaryLimits_locallyUniform hzero hext n)) K hK | |
| 161 | - | |
| 162 | -theorem past_filter_neBot (x : Space) : | |
| 163 | - (𝓝[SpacetimeEndpoint.openPast 1] ((1 : ℝ), x)).NeBot := by | |
| 164 | - rw [past_filter] | |
| 165 | - infer_instance | |
| 166 | - | |
| 167 | -theorem boundaryLimits_independent {f : SpaceTime → V} (hzero : VanishingJointJets f) | |
| 168 | - (h₁ h₂ : AwayExtensions f) : boundaryLimits f h₁ = boundaryLimits f h₂ := by | |
| 169 | - funext x n | |
| 170 | - let := past_filter_neBot x | |
| 171 | - exact tendsto_nhds_unique (boundaryLimits_joint hzero h₁ n x) (boundaryLimits_joint hzero h₂ n x) | |
| 172 | - | |
| 173 | -/-- Actual derivative recurrence on the open past; the jet family is not | |
| 174 | -independent input data. -/ | |
| 175 | -theorem actual_derivative_recurrence {f : SpaceTime → V} | |
| 176 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) (n : ℕ) (z : SpaceTime) | |
| 177 | - (hz : z.1 < 1) : | |
| 178 | - HasFDerivAt (iteratedFDeriv ℝ n f) | |
| 179 | - (iteratedFDeriv ℝ (n + 1) f z).curryLeft z := by | |
| 180 | - have hs : ContDiffAt ℝ ∞ f z := hf.contDiffAt | |
| 181 | - ((SpacetimeEndpoint.openPast_isOpen 1).mem_nhds ⟨hz, mem_univ z.2⟩) | |
| 182 | - have hi : ContDiffAt ℝ 1 (iteratedFDeriv ℝ n f) z := | |
| 183 | - hs.iteratedFDeriv_right (by exact_mod_cast (le_top : 1 + (n : ℕ∞) ≤ ⊤)) | |
| 184 | - have hd := (hi.differentiableAt (by simp)).hasFDerivAt | |
| 185 | - rw [fderiv_iteratedFDeriv] at hd | |
| 186 | - exact hd | |
| 187 | - | |
| 188 | -theorem boundaryLimits_smooth {f : SpaceTime → V} | |
| 189 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 190 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) : | |
| 191 | - ContDiff ℝ ∞ (fun x => boundaryLimits f hext x n) := | |
| 192 | - SpacetimeEndpoint.boundary_tensors_contDiff (J := ftaylorSeries ℝ f) | |
| 193 | - (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n | |
| 194 | - | |
| 195 | -theorem extendedJets_compatible {f : SpaceTime → V} | |
| 196 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 197 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) | |
| 198 | - (z : SpaceTime) (hz : z ∈ SpacetimeEndpoint.closedPast 1) : | |
| 199 | - HasFDerivWithinAt | |
| 200 | - (fun y => SpacetimeEndpoint.extendJets 1 (ftaylorSeries ℝ f) (boundaryLimits f hext) y n) | |
| 201 | - (SpacetimeEndpoint.extendJets 1 (ftaylorSeries ℝ f) (boundaryLimits f hext) z (n + 1)).curryLeft | |
| 202 | - (SpacetimeEndpoint.closedPast 1) z := | |
| 203 | - SpacetimeEndpoint.extendedJets_hasFDerivWithinAt (J := ftaylorSeries ℝ f) | |
| 204 | - (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n z hz | |
| 205 | - | |
| 206 | -/-- Spatial differentiation of a boundary tensor is restriction of the next | |
| 207 | -full spacetime tensor to a spatial first argument. -/ | |
| 208 | -theorem boundaryLimits_hasFDerivAt {f : SpaceTime → V} | |
| 209 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 210 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) (x : Space) : | |
| 211 | - HasFDerivAt (fun y => boundaryLimits f hext y n) | |
| 212 | - ((boundaryLimits f hext x (n + 1)).curryLeft.comp (ContinuousLinearMap.inr ℝ ℝ Space)) x := by | |
| 213 | - have hd := extendedJets_compatible hf hzero hext n (1, x) ⟨le_refl (1 : ℝ), mem_univ x⟩ | |
| 214 | - have hi : HasFDerivAt (fun y : Space => ((1 : ℝ), y)) | |
| 215 | - (ContinuousLinearMap.inr ℝ ℝ Space) x := | |
| 216 | - (hasFDerivAt_const (1 : ℝ) x).prodMk (hasFDerivAt_id x) | |
| 217 | - have hc := hd.comp x (hi.hasFDerivWithinAt (s := univ)) | |
| 218 | - (fun y _ => show ((1 : ℝ), y) ∈ SpacetimeEndpoint.closedPast 1 from | |
| 219 | - ⟨le_refl (1 : ℝ), mem_univ y⟩) | |
| 220 | - simpa only [Function.comp_def, SpacetimeEndpoint.extendJets, SpacetimeEndpoint.extendTrace_at] | |
| 221 | - using hc.hasFDerivAt_of_univ | |
| 222 | - | |
| 223 | -/-- On `t < 1` this is the original function; on `t ≥ 1` this auxiliary | |
| 224 | -closed-side extension is constant in time with the constructed boundary trace. -/ | |
| 225 | -noncomputable def extendedResidual (f : SpaceTime → V) (hext : AwayExtensions f) : SpaceTime → V := | |
| 226 | - SpacetimeEndpoint.extendTrace 1 f (fun x => (boundaryLimits f hext x 0).curry0) | |
| 227 | - | |
| 228 | -theorem extendedResidual_agrees (f : SpaceTime → V) (hext : AwayExtensions f) : | |
| 229 | - EqOn (extendedResidual f hext) f (SpacetimeEndpoint.openPast 1) := | |
| 230 | - fun _ hz => SpacetimeEndpoint.extendTrace_of_lt hz.1 | |
| 231 | - | |
| 232 | -theorem extendedResidual_smooth {f : SpaceTime → V} | |
| 233 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 234 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) : | |
| 235 | - ContDiffOn ℝ ∞ (extendedResidual f hext) (SpacetimeEndpoint.closedPast 1) := | |
| 236 | - SpacetimeEndpoint.contDiffOn_joint_extension (J := ftaylorSeries ℝ f) | |
| 237 | - (fun _ _ => rfl) (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) | |
| 238 | - | |
| 239 | -theorem extendedResidual_boundary_jets {f : SpaceTime → V} | |
| 240 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 241 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) (x : Space) : | |
| 242 | - iteratedFDerivWithin ℝ n (extendedResidual f hext) | |
| 243 | - (SpacetimeEndpoint.closedPast 1) (1, x) = boundaryLimits f hext x n := | |
| 244 | - SpacetimeEndpoint.boundary_jets_eq_limits (J := ftaylorSeries ℝ f) | |
| 245 | - (fun _ _ => rfl) (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n x | |
| 246 | - | |
| 247 | 156 | /-- The limit portion of the `CandidateFromLimits` input is constructed |
| 248 | 157 | solely from actual joint jet limits and one-sided local extensions. -/ |
| 249 | 158 | theorem exists_residual_limits {f : SpaceTime → V} |
+0 −19 NavierStokes/LinearWaveResidual.lean View file
| @@ -402,25 +402,6 @@ theorem realMap_linearResidual {U : Set E} (L : ℂ →L[ℝ] ℝ) (ε : ℝ) (R | ||
| 402 | 402 | |
| 403 | 403 | open ProblemStatement |
| 404 | 404 | |
| 405 | -noncomputable def bilinearAdvection (u v : Space → Space) (q : Space) : Space := | |
| 406 | - u q 0 • CylindricalResidual.dCoord 0 v q + | |
| 407 | - (u q 1 / q 0) • (CylindricalResidual.dCoord 1 v q + CylindricalResidual.connection (v q)) + | |
| 408 | - u q 2 • CylindricalResidual.dCoord 2 v q | |
| 409 | - | |
| 410 | -theorem cartesianBilinearAdvection_components {u v : Space → Space} {q : Space} | |
| 411 | - (hv : DifferentiableAt ℝ v (CylindricalResidual.chart q)) (hr : q 0 ≠ 0) : | |
| 412 | - fderiv ℝ v (CylindricalResidual.chart q) (u (CylindricalResidual.chart q)) = | |
| 413 | - CylindricalResidual.frame (q 1) | |
| 414 | - (bilinearAdvection (CylindricalResidual.components u) (CylindricalResidual.components v) q) := by | |
| 415 | - have he := CylindricalResidual.cartesianDerivative_components hv hr | |
| 416 | - (CylindricalResidual.components u q) | |
| 417 | - have hu : CylindricalResidual.frame (q 1) (CylindricalResidual.components u q) = | |
| 418 | - u (CylindricalResidual.chart q) := CylindricalResidual.frame_inverse' _ _ | |
| 419 | - rw [hu] at he | |
| 420 | - have he' := congrArg (CylindricalResidual.frame (q 1)) he | |
| 421 | - simp only [CylindricalResidual.frame_inverse'] at he' | |
| 422 | - exact he' | |
| 423 | - | |
| 424 | 405 | noncomputable def spaceDirection (i : Fin 3) (_ : SpaceTime) : SpaceTime := |
| 425 | 406 | (0, coordinateVector i) |
| 426 | 407 | |
+0 −9 NavierStokes/LocalAngularDiagonal.lean View file
| @@ -47,15 +47,6 @@ noncomputable def rawSeries | ||
| 47 | 47 | (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) : ℕ → VelocityField := |
| 48 | 48 | fun j => DirectAngularDiagonal.angularField (D j).scalar |
| 49 | 49 | |
| 50 | -theorem rawSeries_eq | |
| 51 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : | |
| 52 | - rawSeries D j = DirectAngularDiagonal.angularField (D j).scalar := rfl | |
| 53 | - | |
| 54 | -theorem rawSeries_smooth (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 55 | - (D : ℕ → DirectAngularDiagonal.AngularData (localSlowDomain h qbig)) (j : ℕ) : | |
| 56 | - ContDiffOn ℝ ∞ (rawSeries D j) (CutStageEstimates.physicalSublevel h qbig) := | |
| 57 | - (D j).field_smooth (localSlowDomain_open hh hh1 qbig) | |
| 58 | - | |
| 59 | 50 | /-- Axis preservation uses exactly the same local scalars and support, |
| 60 | 51 | without imposing global raw smoothness. -/ |
| 61 | 52 | noncomputable def angularSupport |
+0 −34 NavierStokes/LocalPhysicalCopyBounds.lean View file
| @@ -414,40 +414,6 @@ structure PatchData (f : CopyFamily H K) (a h r0 : ℝ) where | ||
| 414 | 414 | PhysicalGraphBounds.scaledRadial I.1.val.1 y ∈ PolarCharts.chartDomain a chart → |
| 415 | 415 | slotSlow ((f.carrier k I.1).withChart chart) a h I.1.val.1 r0 y ∈ slowCore k I.1 |
| 416 | 416 | |
| 417 | -/-- Closed cores keep every supported phase evaluation inside the genuine | |
| 418 | -smooth patch even at the boundary of the amplitude's support. -/ | |
| 419 | -theorem PatchData.smoothData (hp : PatchData f a h r0) | |
| 420 | - (hr : SupportData f a b h r0 Z Δ) (ha : 0 < a) : SmoothData f a h r0 := by | |
| 421 | - constructor | |
| 422 | - · intro k I w hw hts | |
| 423 | - have hgeo := hr.tsupport_geometry I k hts | |
| 424 | - have hx : commonLift h I.1.val.1 (f.gap I.1) w ∈ hp.amplitudeCore k I := | |
| 425 | - closed_property_on_tsupport isOpen_univ (mem_univ w) | |
| 426 | - (commonLift_continuousAt_of_annulus ha _ _ hgeo.1) (hp.amplitudeClosed k I) | |
| 427 | - (fun y _ hy => hp.amplitudeSupport k I (globalWave_ne_zero_amp hy)) hts | |
| 428 | - exact SmoothNear.of_open (hp.amplitudeOpen k I) (hp.amplitudeSmooth k I) | |
| 429 | - (hp.amplitudeSubset k I hx) | |
| 430 | - · intro k I w hw hts chart hchart | |
| 431 | - have hgeo := hr.tsupport_geometry I k hts | |
| 432 | - have haxis := PhysicalGraphBounds.scaledRadial_ne_zero (PhysicalGraphBounds.annulus_axisFree ha hgeo.1) | |
| 433 | - let U : Set SpaceTime := preterminal ∩ (PhysicalGraphBounds.scaledRadial I.1.val.1) ⁻¹' | |
| 434 | - PolarCharts.chartDomain a chart | |
| 435 | - have hU : IsOpen U := preterminal_open.inter | |
| 436 | - ((PolarCharts.chartDomain_open a chart).preimage (PhysicalGraphBounds.scaledRadial I.1.val.1).continuous) | |
| 437 | - have hwU : w ∈ U := ⟨hw, hchart⟩ | |
| 438 | - have hx : slotSlow ((f.carrier k I.1).withChart chart) a h I.1.val.1 r0 w ∈ hp.slowCore k I.1 := | |
| 439 | - closed_property_on_tsupport hU hwU | |
| 440 | - (slotSlow_continuousAt ha ((f.carrier k I.1).withChart chart) h I.1.val.1 r0 haxis) | |
| 441 | - (hp.slowClosed k I.1) | |
| 442 | - (fun y hy hne => hp.slowSupport k I y hy.1 (globalWave_ne_zero_amp hne) chart hy.2) hts | |
| 443 | - exact ⟨SmoothNear.of_open (hp.slowOpen k I.1) (hp.FSmooth k I.1) (hp.slowSubset k I.1 hx), | |
| 444 | - SmoothNear.of_open (hp.slowOpen k I.1) (hp.GSmooth k I.1) (hp.slowSubset k I.1 hx)⟩ | |
| 445 | - | |
| 446 | -theorem PatchData.sum_smooth (hp : PatchData f a h r0) | |
| 447 | - (hr : SupportData f a b h r0 Z Δ) (hc : SupportCells f) (ha : 0 < a) | |
| 448 | - (hh : 0 < h) (hh1 : h < 1 / 2) : ContDiffOn ℝ ∞ (f.sum a h r0) preterminal := | |
| 449 | - hr.sum_smooth (hp.smoothData hr ha) hc ha hh hh1 | |
| 450 | - | |
| 451 | 417 | theorem SupportData.sum_locally_finite (hr : SupportData f a b h r0 Z Δ) |
| 452 | 418 | (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 453 | 419 | ∃ s : Finset (WaveIndex H), s.card ≤ 2250 * (2 * H + 1) ∧ |
+0 −18 NavierStokes/LocalRankDefect.lean View file
| @@ -994,22 +994,4 @@ theorem increment_supportedGauge {a b : ℝ} (ha : 0 < a) (hab : a < b) (hU : Is | ||
| 994 | 994 | |
| 995 | 995 | end RankGeometry |
| 996 | 996 | |
| 997 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 998 | -/-- A fixed reserved profile interval has a uniform positive distance from | |
| 999 | -both outer moving edges after division by the actual local length. -/ | |
| 1000 | -theorem normalized_support_margin {a b lo hi : ℝ} (hal : a < lo) (hhb : hi < b) | |
| 1001 | - (ell : ℕ → P → ℝ) (U : Set P) (f : ScalarField (Point P)) | |
| 1002 | - (hell : ∀ n x, x ∈ U → 0 < ell n x) | |
| 1003 | - (hs : ∀ n, VariableGaugeMean.SupportedGauge lo hi (ell n) U (f n)) : | |
| 1004 | - ∃ δ : ℝ, 0 < δ ∧ ∀ n p, p.2.1 ∈ U → f n p ≠ 0 → | |
| 1005 | - δ ≤ p.1 / ell n p.2.1 - a ∧ δ ≤ b - p.1 / ell n p.2.1 := by | |
| 1006 | - refine ⟨min (lo - a) (b - hi), lt_min (sub_pos.mpr hal) (sub_pos.mpr hhb), ?_⟩ | |
| 1007 | - intro n p hp hn | |
| 1008 | - have hr := hs n p hp hn | |
| 1009 | - have hl : lo ≤ p.1 / ell n p.2.1 := (le_div_iff₀ (hell n _ hp)).mpr (by simpa only [mul_comm] using hr.1) | |
| 1010 | - have hh : p.1 / ell n p.2.1 ≤ hi := (div_le_iff₀ (hell n _ hp)).mpr (by simpa only [mul_comm] using hr.2) | |
| 1011 | - have h1 := min_le_left (lo - a) (b - hi) | |
| 1012 | - have h2 := min_le_right (lo - a) (b - hi) | |
| 1013 | - constructor <;> linarith | |
| 1014 | - | |
| 1015 | 997 | end NavierStokes.LocalRankDefect |
+0 −109 NavierStokes/LocalizedCurlRealization.lean View file
| @@ -62,20 +62,6 @@ namespace RawData | ||
| 62 | 62 | variable {a : CopyData D I} {s : StripData D} {d : GraphDirections D} |
| 63 | 63 | {C : ℕ → I → Set D} |
| 64 | 64 | |
| 65 | -theorem of_localClasses {wa wψ : ℕ → I → D → ℝ} {α β : ℝ} | |
| 66 | - (hG : ∀ n i, CylindricalGeometry (s.domain ∩ C n i) (a.background.radius n) | |
| 67 | - (d.radialField n) (fun _ => d.angular) (d.axialField s n)) | |
| 68 | - (hΦ : ∀ n i, ContDiffOn ℝ ∞ (a.background.phase n) (s.domain ∩ C n i)) | |
| 69 | - (ha : LocalizedWaveBounds.LocalClass s C wa α a.amplitude) | |
| 70 | - (hψ : LocalizedWaveBounds.LocalClass s C wψ β a.cutoff) | |
| 71 | - (hK : ∀ n, a.background.frequency n ≠ 0) | |
| 72 | - (hn : ∀ n i x, x ∈ s.domain ∩ C n i → a.background.normal s d n x ≠ 0) | |
| 73 | - (ht : ∀ n i x, x ∈ s.domain ∩ C n i → | |
| 74 | - normalDot (a.background.normal s d n x) (a.amplitude n i x) = 0) : | |
| 75 | - RawData a s d C := | |
| 76 | - ⟨hG, hΦ, fun n i x hx => (ha.smooth n i x hx.1 hx.2).contDiffWithinAt, | |
| 77 | - fun n i x hx => (hψ.smooth n i x hx.1 hx.2).contDiffWithinAt, hK, hn, ht⟩ | |
| 78 | - | |
| 79 | 65 | variable (h : RawData a s d C) |
| 80 | 66 | |
| 81 | 67 | include h |
| @@ -103,14 +89,6 @@ theorem native_realizes_curl (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain ∩ | ||
| 103 | 89 | (h.phase n i) (h.localized_smooth n i) (h.normal n i) |
| 104 | 90 | (fun _ hx => h.localized_tangent n i hx) hx |
| 105 | 91 | |
| 106 | -theorem native_divergence_zero (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain ∩ C n i) : | |
| 107 | - cylindricalDivergence (a.background.radius n) (d.radialField n) (fun _ => d.angular) | |
| 108 | - (d.axialField s n) (vectorMode (a.background.frequency n) (a.background.phase n) | |
| 109 | - ((a.corrected s d i).amplitude n)) x = 0 := | |
| 110 | - realizedCoefficient_divergence (h.geometry n i) (h.frequency n) | |
| 111 | - (h.phase n i) (h.localized_smooth n i) (h.normal n i) | |
| 112 | - (fun _ hx => h.localized_tangent n i hx) hx | |
| 113 | - | |
| 114 | 92 | theorem native_velocity_smooth (n : ℕ) (i : I) : |
| 115 | 93 | ContDiffOn ℝ ∞ (vectorMode (a.background.frequency n) (a.background.phase n) |
| 116 | 94 | ((a.corrected s d i).amplitude n)) (s.domain ∩ C n i) := by |
| @@ -176,43 +154,6 @@ variable {a : CopyData D I} {s : StripData D} {d : GraphDirections D} | ||
| 176 | 154 | |
| 177 | 155 | include h K hs hcover |
| 178 | 156 | |
| 179 | -theorem common_realizes_curl (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 180 | - cylindricalCurl (a.background.radius n) (d.radialField n) (fun _ => d.angular) | |
| 181 | - (d.axialField s n) (a.common.curlPotential s d n) x = | |
| 182 | - vectorMode (a.background.frequency n) (a.background.phase n) | |
| 183 | - ((a.commonCorrected s d).amplitude n) x := by | |
| 184 | - apply a.common_realizes_curl K hs s d _ n hx | |
| 185 | - intro m i y hy hi | |
| 186 | - rcases hcover m i y hy hi with hC | hz | |
| 187 | - · exact h.native_realizes_curl m i ⟨hy, hC⟩ | |
| 188 | - · exact (native_identities_of_zero_germ a s d hz).1 | |
| 189 | - | |
| 190 | -theorem common_divergence_zero (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 191 | - cylindricalDivergence (a.background.radius n) (d.radialField n) (fun _ => d.angular) | |
| 192 | - (d.axialField s n) (vectorMode (a.background.frequency n) (a.background.phase n) | |
| 193 | - ((a.commonCorrected s d).amplitude n)) x = 0 := by | |
| 194 | - apply a.common_divergence_zero K hs s d _ n hx | |
| 195 | - intro m i y hy hi | |
| 196 | - rcases hcover m i y hy hi with hC | hz | |
| 197 | - · exact h.native_divergence_zero m i ⟨hy, hC⟩ | |
| 198 | - · exact (native_identities_of_zero_germ a s d hz).2 | |
| 199 | - | |
| 200 | -theorem common_potential_smooth (n : ℕ) : | |
| 201 | - ContDiffOn ℝ ∞ (a.common.curlPotential s d n) s.domain := by | |
| 202 | - intro x hx | |
| 203 | - apply ContDiffAt.contDiffWithinAt | |
| 204 | - classical | |
| 205 | - by_cases hi : ∃ i, x ∈ K.carrier n i | |
| 206 | - · obtain ⟨i, hi⟩ := hi | |
| 207 | - have hg := a.common_potential_germ K hs s d n hi | |
| 208 | - rcases hcover n i x hx hi with hC | hz | |
| 209 | - · exact ((h.native_potential_smooth n i).contDiffAt | |
| 210 | - ((h.geometry n i).isOpen.mem_nhds ⟨hx, hC⟩)).congr_of_eventuallyEq hg | |
| 211 | - · exact contDiffAt_const.congr_of_eventuallyEq | |
| 212 | - (hg.trans (native_zero_germs a s d hz).1) | |
| 213 | - · exact contDiffAt_const.congr_of_eventuallyEq | |
| 214 | - (a.common_potential_zero_germ K hs s d (not_exists.mp hi)) | |
| 215 | - | |
| 216 | 157 | theorem common_velocity_smooth (n : ℕ) : |
| 217 | 158 | ContDiffOn ℝ ∞ (vectorMode (a.background.frequency n) (a.background.phase n) |
| 218 | 159 | ((a.commonCorrected s d).amplitude n)) s.domain := by |
| @@ -241,21 +182,6 @@ end RawData | ||
| 241 | 182 | |
| 242 | 183 | /-! ## Tangency of the actual raw coefficients -/ |
| 243 | 184 | |
| 244 | -theorem signed_coefficients_tangent_at {s : StripData D} {d : GraphDirections D} | |
| 245 | - (a : WaveCoefficients D) | |
| 246 | - (H : ℕ → D → SignedWaveUpdate.Mat2) | |
| 247 | - (T R : ℕ → D → SignedWaveUpdate.Vec2) (mask : ℕ → D → ℝ) | |
| 248 | - (v Ndot : ℕ → D → ProblemStatement.Space) | |
| 249 | - (A : ℕ → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space) | |
| 250 | - (j : Fin 2) (n : ℕ) {x : D} | |
| 251 | - (ht : ⟪a.normal s d n x, v n x⟫_ℝ = 0) : | |
| 252 | - normalDot ((SignedWaveUpdate.coefficients a s d H T R mask v Ndot A j).normal s d n x) | |
| 253 | - ((SignedWaveUpdate.coefficients a s d H T R mask v Ndot A j).amplitude n x) = 0 := by | |
| 254 | - change normalDot (a.normal s d n x) (CurlClassBounds.complexify | |
| 255 | - (SignedWaveUpdate.signedScalar s H T R mask j n x • v n x)) = 0 | |
| 256 | - rw [SignedWaveUpdate.normalDot_complexify, inner_smul_right, ht, mul_zero] | |
| 257 | - rfl | |
| 258 | - | |
| 259 | 185 | section Particular |
| 260 | 186 | |
| 261 | 187 | open CommonCoverSolve TorusInverse ParticularWaveBounds |
| @@ -269,41 +195,6 @@ variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 269 | 195 | {harmonic : ℤ} {g : ℕ → Geometry} {L : ℕ → ℝ} {envelope : ℕ → ℝ → ℝ} |
| 270 | 196 | {C : ℕ → Frequency → Set (P × Plane)} |
| 271 | 197 | |
| 272 | -/-- The particular coefficient is tangent because each actual finite-path | |
| 273 | -modal solve reconstructs into the tangent plane. Its two modal | |
| 274 | -neighborhoods need not coincide, and no global modal control is used. -/ | |
| 275 | -theorem complexCopyCoefficients_tangent_at | |
| 276 | - (base : WaveCoefficients (P × Plane)) (hL : ∀ n, 0 < L n) | |
| 277 | - (hr : ParticularCopyBounds.ModalControl s α frame | |
| 278 | - (fun n => realData (t n) (source n)) harmonic g L envelope C) | |
| 279 | - (hi : ParticularCopyBounds.ModalControl s α frame | |
| 280 | - (fun n => imagData (t n) (source n)) harmonic g L envelope C) | |
| 281 | - (n : ℕ) (k : Frequency) {x : P × Plane} (hx : x ∈ s.domain) (hk : x ∈ C n k) | |
| 282 | - (hN : base.normal s dirs n x = (t n).normal (nativePoint (g n) k x)) : | |
| 283 | - normalDot (base.normal s dirs n x) | |
| 284 | - ((complexCopyCoefficients base t source g (fun _ => k) L hL).amplitude n x) = 0 := by | |
| 285 | - have hxR := hr.contains n k x hx hk | |
| 286 | - have hxI := hi.contains n k x hx hk | |
| 287 | - have htR := copyVelocity_tangent_of_modal (frame n) (realData (t n) (source n)) harmonic | |
| 288 | - (g n) k (hL n).le (hr.bridge n k) hxR | |
| 289 | - ⟨(hr.current_slot n k x hxR).1.le, (hr.current_slot n k x hxR).2.le⟩ | |
| 290 | - have htI := copyVelocity_tangent_of_modal (frame n) (imagData (t n) (source n)) harmonic | |
| 291 | - (g n) k (hL n).le (hi.bridge n k) hxI | |
| 292 | - ⟨(hi.current_slot n k x hxI).1.le, (hi.current_slot n k x hxI).2.le⟩ | |
| 293 | - rw [hN] | |
| 294 | - change normalDot ((t n).normal (nativePoint (g n) k x)) | |
| 295 | - (copyVelocity (realData (t n) (source n)) (g n) (hL n).le k x + | |
| 296 | - Complex.I • copyVelocity (imagData (t n) (source n)) (g n) (hL n).le k x) = 0 | |
| 297 | - have hadd (N : ProblemStatement.Space) (u v : HarmonicCalculus.ComplexVector) : | |
| 298 | - normalDot N (u + Complex.I • v) = normalDot N u + Complex.I * normalDot N v := by | |
| 299 | - simp only [normalDot, Pi.add_apply, Pi.smul_apply, smul_eq_mul] | |
| 300 | - ring | |
| 301 | - change normalDot ((t n).normal (nativePoint (g n) k x)) | |
| 302 | - (copyVelocity (realData (t n) (source n)) (g n) (hL n).le k x) = 0 at htR | |
| 303 | - change normalDot ((t n).normal (nativePoint (g n) k x)) | |
| 304 | - (copyVelocity (imagData (t n) (source n)) (g n) (hL n).le k x) = 0 at htI | |
| 305 | - rw [hadd, htR, htI, mul_zero, add_zero] | |
| 306 | - | |
| 307 | 198 | end Particular |
| 308 | 199 | |
| 309 | 200 | end NavierStokes.LocalizedCurlRealization |
+0 −203 NavierStokes/LocalizedGaussianBounds.lean View file
| @@ -144,109 +144,6 @@ open LocalizedWaveBounds | ||
| 144 | 144 | variable {D E J : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 145 | 145 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 146 | 146 | |
| 147 | -/-- The index may be the pair (spatial label, lattice copy). Both the | |
| 148 | -Gaussian envelope and the native length are allowed to depend on it. -/ | |
| 149 | -theorem indexed_gaussian_tail_bound {s : StripData D} {K : ℕ → J → Set D} | |
| 150 | - {W : ℕ → J → D → ℝ} {α c : ℝ} {f : ℕ → J → D → E} | |
| 151 | - (hf : LocalWave s K W α f) (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 152 | - (θ : ℕ → J → D → ℝ) (L : ℕ → J → ℝ) (hL : ∀ n i, 0 < L n i) | |
| 153 | - (ell : ℝ) (hell : 0 < ell) (hLell : ∀ n i, ell * ChartScales.S n ≤ L n i) (hc : 0 < c) | |
| 154 | - (hW : ∀ n i x, x ∈ s.domain → x ∈ K n i → | |
| 155 | - W n i x ≤ Real.exp (-c * (θ n i x - 1 / 2) ^ 2 * L n i)) | |
| 156 | - (hzero : ∀ n i x, x ∈ s.domain → x ∈ K n i → | |
| 157 | - |θ n i x - 1 / 2| < 1 / 5 → f n i =ᶠ[𝓝 x] fun _ => 0) | |
| 158 | - (m : ℕ) : ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ n i x, x ∈ s.domain → x ∈ K n i → | |
| 159 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (f n i) x‖ ≤ | |
| 160 | - A * (1 + ChartScales.S n) ^ p * Real.exp (-(c * ell / 50) * ChartScales.S n) := by | |
| 161 | - obtain ⟨A, hA, p, hb⟩ := hf.bounds m | |
| 162 | - obtain ⟨B, hB, hweight⟩ := edges.uniform_weight p | |
| 163 | - have hconstant := scales.constant_one_le | |
| 164 | - have hdec : 0 < c * ell / 25 := by positivity | |
| 165 | - obtain ⟨C, hC, hgauss⟩ := fixed_power_gaussian_bound hdec (scales.power * α) | |
| 166 | - refine ⟨A * B * scales.constant ^ p * C, by positivity, scales.degree * p, ?_⟩ | |
| 167 | - intro n i x hx hi j hj | |
| 168 | - have hQ := ChartScales.Q_pos n | |
| 169 | - by_cases hmid : |θ n i x - 1 / 2| < 1 / 5 | |
| 170 | - · rw [jets_eq_of_germ (hzero n i x hx hi hmid) j] | |
| 171 | - simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] | |
| 172 | - have hS : 0 ≤ ChartScales.S n := sq_nonneg _ | |
| 173 | - positivity | |
| 174 | - have htail : 1 / 5 ≤ |θ n i x - 1 / 2| := le_of_not_gt hmid | |
| 175 | - have hsq : (1 / 25 : ℝ) ≤ (θ n i x - 1 / 2) ^ 2 := by | |
| 176 | - have hh := pow_le_pow_left₀ (by norm_num : (0 : ℝ) ≤ 1 / 5) htail 2 | |
| 177 | - norm_num [sq_abs] at hh ⊢ | |
| 178 | - exact hh | |
| 179 | - have hPg : W n i x ≤ Real.exp (-(c * ell / 25) * ChartScales.S n) := by | |
| 180 | - apply (hW n i x hx hi).trans | |
| 181 | - apply (Real.exp_le_exp.2 ?_).trans (gaussian_length_comparison hc.le (hLell n i)) | |
| 182 | - nlinarith [mul_le_mul_of_nonneg_left hsq (mul_nonneg hc.le (hL n i).le)] | |
| 183 | - have hslow0 : 0 ≤ s.slow n := zero_le_one.trans (s.one_le_slow n) | |
| 184 | - have hK0 : 0 ≤ scales.constant := zero_le_one.trans scales.constant_one_le | |
| 185 | - have hslowp : s.slow n ^ p ≤ | |
| 186 | - scales.constant ^ p * (1 + ChartScales.S n) ^ (scales.degree * p) := by | |
| 187 | - simpa only [mul_pow, ← pow_mul] using pow_le_pow_left₀ hslow0 (scales.slow_le n) p | |
| 188 | - have hmajor : majorant s (fun n x => Real.sqrt (s.zeta x) * W n i x) α A p n x ≤ | |
| 189 | - (A * B * scales.constant ^ p) * ChartScales.Q n ^ (scales.power * α) * | |
| 190 | - ((1 + ChartScales.S n) ^ (scales.degree * p) * | |
| 191 | - Real.exp (-(c * ell / 25) * ChartScales.S n)) := by | |
| 192 | - rw [majorant, StripData.growth, mul_pow, scales.epsilon_eq, ← Real.rpow_mul hQ.le] | |
| 193 | - calc | |
| 194 | - _ = (A * ChartScales.Q n ^ (scales.power * α) * s.slow n ^ p) * | |
| 195 | - (Real.sqrt (s.zeta x) * max 1 (s.delta x)⁻¹ ^ p) * W n i x := by ring | |
| 196 | - _ ≤ (A * ChartScales.Q n ^ (scales.power * α) * s.slow n ^ p) * | |
| 197 | - (Real.sqrt (s.zeta x) * max 1 (s.delta x)⁻¹ ^ p) * | |
| 198 | - Real.exp (-(c * ell / 25) * ChartScales.S n) := | |
| 199 | - mul_le_mul_of_nonneg_left hPg (by positivity) | |
| 200 | - _ ≤ (A * ChartScales.Q n ^ (scales.power * α) * s.slow n ^ p) * B * | |
| 201 | - Real.exp (-(c * ell / 25) * ChartScales.S n) := by | |
| 202 | - gcongr | |
| 203 | - exact hweight x hx | |
| 204 | - _ ≤ (A * ChartScales.Q n ^ (scales.power * α) * | |
| 205 | - (scales.constant ^ p * (1 + ChartScales.S n) ^ (scales.degree * p))) * B * | |
| 206 | - Real.exp (-(c * ell / 25) * ChartScales.S n) := by gcongr | |
| 207 | - _ = _ := by ring | |
| 208 | - calc | |
| 209 | - _ ≤ majorant s (fun n x => Real.sqrt (s.zeta x) * W n i x) α A p n x := hb n i x hx hi j hj | |
| 210 | - _ ≤ _ := hmajor | |
| 211 | - _ = (A * B * scales.constant ^ p) * (1 + ChartScales.S n) ^ (scales.degree * p) * | |
| 212 | - (ChartScales.Q n ^ (scales.power * α) * | |
| 213 | - Real.exp (-(c * ell / 25) * ChartScales.S n)) := by ring | |
| 214 | - _ ≤ (A * B * scales.constant ^ p) * (1 + ChartScales.S n) ^ (scales.degree * p) * | |
| 215 | - (C * Real.exp (-((c * ell / 25) / 2) * ChartScales.S n)) := by | |
| 216 | - have hS : 0 ≤ ChartScales.S n := sq_nonneg _ | |
| 217 | - exact mul_le_mul_of_nonneg_left (hgauss n) (by positivity) | |
| 218 | - _ = _ := by | |
| 219 | - rw [show c * ell / 25 / 2 = c * ell / 50 by ring] | |
| 220 | - ring | |
| 221 | - | |
| 222 | -theorem indexed_gaussian_all_gains {s : StripData D} {K : ℕ → J → Set D} | |
| 223 | - {W : ℕ → J → D → ℝ} {α c : ℝ} {f : ℕ → J → D → E} | |
| 224 | - (hf : LocalWave s K W α f) (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 225 | - (θ : ℕ → J → D → ℝ) (L : ℕ → J → ℝ) (hL : ∀ n i, 0 < L n i) | |
| 226 | - (ell : ℝ) (hell : 0 < ell) (hLell : ∀ n i, ell * ChartScales.S n ≤ L n i) (hc : 0 < c) | |
| 227 | - (hW : ∀ n i x, x ∈ s.domain → x ∈ K n i → | |
| 228 | - W n i x ≤ Real.exp (-c * (θ n i x - 1 / 2) ^ 2 * L n i)) | |
| 229 | - (hzero : ∀ n i x, x ∈ s.domain → x ∈ K n i → | |
| 230 | - |θ n i x - 1 / 2| < 1 / 5 → f n i =ᶠ[𝓝 x] fun _ => 0) | |
| 231 | - (β : ℝ) : LocalUnweighted s K β f := by | |
| 232 | - refine ⟨fun _ _ _ _ => zero_le_one, hf.smooth, ?_⟩ | |
| 233 | - intro m | |
| 234 | - obtain ⟨A, hA, p, hb⟩ := indexed_gaussian_tail_bound hf edges scales θ L hL | |
| 235 | - ell hell hLell hc hW hzero m | |
| 236 | - obtain ⟨B, hB, hflat⟩ := gaussian_beats_Q_power (by positivity : 0 < c * ell / 50) p (scales.power * β) | |
| 237 | - refine ⟨A * B, mul_nonneg hA hB.le, 0, ?_⟩ | |
| 238 | - intro n i x hx hi j hj | |
| 239 | - have ht := (hb n i x hx hi j hj).trans | |
| 240 | - (show A * (1 + ChartScales.S n) ^ p * Real.exp (-(c * ell / 50) * ChartScales.S n) ≤ | |
| 241 | - (A * B) * ChartScales.Q n ^ (scales.power * β) by | |
| 242 | - calc | |
| 243 | - _ = A * ((1 + ChartScales.S n) ^ p * Real.exp (-(c * ell / 50) * ChartScales.S n)) := by ring | |
| 244 | - _ ≤ A * (B * ChartScales.Q n ^ (scales.power * β)) := | |
| 245 | - mul_le_mul_of_nonneg_left (hflat n) hA | |
| 246 | - _ = _ := by ring) | |
| 247 | - simpa only [majorant, pow_zero, mul_one, scales.epsilon_eq, | |
| 248 | - ← Real.rpow_mul (ChartScales.Q_pos n).le] using ht | |
| 249 | - | |
| 250 | 147 | end IndexedEstimates |
| 251 | 148 | |
| 252 | 149 | section UniformGluing |
| @@ -368,52 +265,6 @@ theorem indexedCutoffError_wave_class {s : StripData D} (d : GraphDirections D) | ||
| 368 | 265 | simp only [zero_add] at he |
| 369 | 266 | exact he |
| 370 | 267 | |
| 371 | -theorem uniform_localGaussian_all_gains_from_supported_native | |
| 372 | - (a : L → CopyData D I) {s : StripData D} (d : GraphDirections D) | |
| 373 | - (C K : L → ℕ → I → Set D) {W : L → ℕ → D → ℝ} {α c : ℝ} | |
| 374 | - (hWnonneg : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 375 | - (hψ : UniformLocalJets s (fun _ _ _ => 1) 0 C (fun l => (a l).cutoff)) | |
| 376 | - (hfast : BandBound s 0 d.fastScale) | |
| 377 | - (hu : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 378 | - (fun l => (a l).amplitude)) | |
| 379 | - (hf : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 380 | - (fun l n _ => (a l).source n)) | |
| 381 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 382 | - (θ : L → ℕ → I → D → ℝ) (length : L → ℕ → ℝ) | |
| 383 | - (hL : ∀ l n, 0 < length l n) (ell : ℝ) (hell : 0 < ell) | |
| 384 | - (hLell : ∀ l n, ell * ChartScales.S n ≤ length l n) (hc : 0 < c) | |
| 385 | - (hW : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → | |
| 386 | - W l n x ≤ Real.exp (-c * (θ l n i x - 1 / 2) ^ 2 * length l n)) | |
| 387 | - (hcentral : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → |θ l n i x - 1 / 2| < 1 / 5 → | |
| 388 | - ((a l).cutoff n i =ᶠ[𝓝 x] fun _ => 1) ∨ | |
| 389 | - (((a l).amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0))) | |
| 390 | - (houtside : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → x ∉ C l n i → | |
| 391 | - (((a l).cutoff n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0)) ∨ | |
| 392 | - (((a l).amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0))) | |
| 393 | - (β : ℝ) : UniformLocalJets s (fun _ _ _ => 1) β K (fun l => (a l).localGaussian d) := by | |
| 394 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hWnonneg l n x hx) | |
| 395 | - have hψ' := LocalClass.of_uniformLocalJets (fun _ _ _ _ => zero_le_one) hψ | |
| 396 | - have hu' := LocalClass.of_uniformLocalJets hw hu | |
| 397 | - have hf' := LocalClass.of_uniformLocalJets hw hf | |
| 398 | - have he : LocalWave s (fun n (ji : L × I) => C ji.1 n ji.2) | |
| 399 | - (fun n ji x => W ji.1 n x) α (fun n ji => (a ji.1).localGaussian d n ji.2) := | |
| 400 | - indexedCutoffError_wave_class d hψ' hfast hu' hf' | |
| 401 | - have hflat := indexed_gaussian_all_gains he edges scales | |
| 402 | - (fun n ji => θ ji.1 n ji.2) (fun n ji => length ji.1 n) | |
| 403 | - (fun n ji => hL ji.1 n) ell hell (fun n ji => hLell ji.1 n) hc | |
| 404 | - (fun n ji x hx hi => hW ji.1 n ji.2 x hx hi) | |
| 405 | - (fun n ji x hx hi hm => by | |
| 406 | - rcases hcentral ji.1 n ji.2 x hx hi hm with hOne | ⟨hU, hF⟩ | |
| 407 | - · exact (a ji.1).localGaussian_zero_of_cutoff_one d hOne | |
| 408 | - · exact (a ji.1).localGaussian_zero_of_fields d hU hF) β | |
| 409 | - apply LocalClass.to_uniformLocalJets | |
| 410 | - apply hflat.enlarge | |
| 411 | - intro n ji x hx hi | |
| 412 | - by_cases hC : x ∈ C ji.1 n ji.2 | |
| 413 | - · exact Or.inl hC | |
| 414 | - · exact Or.inr (localGaussian_zero_of_inactive (a ji.1) d | |
| 415 | - (houtside ji.1 n ji.2 x hx hi hC)) | |
| 416 | - | |
| 417 | 268 | theorem uniform_globalGaussian_class_with_complement |
| 418 | 269 | (a : L → CopyData D I) (K : L → Cells D I) |
| 419 | 270 | (hs : ∀ l n i, support ((a l).cutoff n i) ⊆ (K l).carrier n i) |
| @@ -426,41 +277,6 @@ theorem uniform_globalGaussian_class_with_complement | ||
| 426 | 277 | (fun l n _ _ _ hx => (a l).globalGaussian_germ (K l) (hs l) d n hx) |
| 427 | 278 | (fun l _ _ _ hx => (a l).globalGaussian_uncovered_germ (K l) (hs l) d hx) |
| 428 | 279 | |
| 429 | -/-- The constants precede every spatial label, band and native copy. | |
| 430 | -The uncovered source is included with its own equally uniform jet bound. -/ | |
| 431 | -theorem uniform_globalGaussian_all_gains_from_supported_native | |
| 432 | - (a : L → CopyData D I) (K : L → Cells D I) | |
| 433 | - (hs : ∀ l n i, support ((a l).cutoff n i) ⊆ (K l).carrier n i) | |
| 434 | - {s : StripData D} (d : GraphDirections D) (C : L → ℕ → I → Set D) | |
| 435 | - {W : L → ℕ → D → ℝ} {α c : ℝ} | |
| 436 | - (hWnonneg : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 437 | - (hψ : UniformLocalJets s (fun _ _ _ => 1) 0 C (fun l => (a l).cutoff)) | |
| 438 | - (hfast : BandBound s 0 d.fastScale) | |
| 439 | - (hu : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 440 | - (fun l => (a l).amplitude)) | |
| 441 | - (hf : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 442 | - (fun l n _ => (a l).source n)) | |
| 443 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 444 | - (θ : L → ℕ → I → D → ℝ) (length : L → ℕ → ℝ) | |
| 445 | - (hL : ∀ l n, 0 < length l n) (ell : ℝ) (hell : 0 < ell) | |
| 446 | - (hLell : ∀ l n, ell * ChartScales.S n ≤ length l n) (hc : 0 < c) | |
| 447 | - (hW : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → | |
| 448 | - W l n x ≤ Real.exp (-c * (θ l n i x - 1 / 2) ^ 2 * length l n)) | |
| 449 | - (hcentral : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → |θ l n i x - 1 / 2| < 1 / 5 → | |
| 450 | - ((a l).cutoff n i =ᶠ[𝓝 x] fun _ => 1) ∨ | |
| 451 | - (((a l).amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0))) | |
| 452 | - (houtside : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → x ∉ C l n i → | |
| 453 | - (((a l).cutoff n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0)) ∨ | |
| 454 | - (((a l).amplitude n i =ᶠ[𝓝 x] fun _ => 0) ∧ ((a l).source n =ᶠ[𝓝 x] fun _ => 0))) | |
| 455 | - (β : ℝ) | |
| 456 | - (hcomplement : UniformComplementJets s (fun _ _ _ => 1) β | |
| 457 | - (fun l => (K l).carrier) (fun l => (a l).source)) : | |
| 458 | - LabelSumBounds.UniformClass s (fun _ _ _ => 1) β (fun l => (a l).globalGaussian d) := | |
| 459 | - uniform_globalGaussian_class_with_complement a K hs d (fun _ _ _ _ => zero_le_one) | |
| 460 | - (uniform_localGaussian_all_gains_from_supported_native a d C (fun l => (K l).carrier) | |
| 461 | - hWnonneg hψ hfast hu hf edges scales θ length hL ell hell hLell hc hW hcentral houtside β) | |
| 462 | - hcomplement | |
| 463 | - | |
| 464 | 280 | theorem uniform_source_complement_of_zero |
| 465 | 281 | (a : L → CopyData D I) (s : StripData D) (K : L → Cells D I) |
| 466 | 282 | (hzero : ∀ l, (a l).source = fun _ _ => 0) (β : ℝ) : |
| @@ -507,25 +323,6 @@ theorem source_complement_of_harmonicSupport | ||
| 507 | 323 | rw [hsource] |
| 508 | 324 | exact sourceFamily_zero_complementJets c u b G A g K hK hU hs s hdom j _ β |
| 509 | 325 | |
| 510 | -theorem uniform_source_complement_of_harmonicSupport | |
| 511 | - (a : L → CopyData ((P × ℝ) × Plane) Frequency) | |
| 512 | - (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 513 | - (b : L → CorrectionState.HarmonicBlock (P × Plane)) | |
| 514 | - (G A : L → HarmonicResidual.BlockCoefficients (P × Plane)) | |
| 515 | - (g : L → ℕ → Geometry) (K : L → ℕ → Set Plane) (hK : ∀ l n, IsCompact (K l n)) | |
| 516 | - {U : Set (P × Plane)} (hU : IsOpen U) | |
| 517 | - (hs : ∀ l, InputSupportOn U (fun n => nativeUnion (g l n) (K l n)) (b l) (G l) (A l)) | |
| 518 | - (s : StripData ((P × ℝ) × Plane)) | |
| 519 | - (hdom : ∀ x, x ∈ s.domain → (x.1.1, x.2) ∈ U) | |
| 520 | - (j : L → ℤ) (hsource : ∀ l, (a l).source = sourceFamily c u (b l) (G l) (A l) (j l)) | |
| 521 | - (β : ℝ) : UniformComplementJets s (fun _ _ _ => 1) β | |
| 522 | - (fun l n => nativeCell (g l n) (K l n)) (fun l => (a l).source) := by | |
| 523 | - apply UniformComplementJets.of_zero_germs | |
| 524 | - intro l n x hx hn | |
| 525 | - rw [hsource l] | |
| 526 | - exact sourceFamily_zero_germ_on c u (b l) (G l) (A l) (g l) (K l) (hK l) hU | |
| 527 | - (hs l) (j l) n (hdom x hx) hn | |
| 528 | - | |
| 529 | 326 | /-- If an excluded harmonic tail remains outside the cells, its actual |
| 530 | 327 | uniform class transfers to the literal incoming source. It is kept in |
| 531 | 328 | the final global Gaussian, not set to zero. -/ |
+0 −40 NavierStokes/LocalizedMeanInteraction.lean View file
| @@ -375,46 +375,6 @@ theorem realMeanCross_class {s : StripData D} {C : ℕ → Set D} | ||
| 375 | 375 | |
| 376 | 376 | /-! ## The literal residual and interaction blocks -/ |
| 377 | 377 | |
| 378 | -/-- The normal-free wave-wave estimate is combined with the newly | |
| 379 | -localized mean-wave estimate, preserving both gains and their minimum. -/ | |
| 380 | -theorem interactionBlock_class {s : StripData D} {C : ℕ → Set D} | |
| 381 | - {κ α β H : ℝ} {P : ℕ → D → ℝ} | |
| 382 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 383 | - (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 384 | - {u : CorrectionState.State D} (hm : MeanIncrementBounds.IncrementBounds s H u.mean) | |
| 385 | - {a b : CorrectionState.HarmonicBlock D} {M N : ℕ} | |
| 386 | - (ha : a.WaveBounds s P α) (hb : b.WaveBounds s P β) | |
| 387 | - (ha0 : HarmonicWaveInteraction.ZeroMode a) (hb0 : HarmonicWaveInteraction.ZeroMode b) | |
| 388 | - (hM : a.BandLimited M) (hN : b.BandLimited N) | |
| 389 | - (hΦ : ∀ n, ContDiffOn ℝ ∞ (a.phase n) s.domain) (hk : ∀ n, a.frequency n ≠ 0) | |
| 390 | - (hda : HarmonicWaveInteraction.ModeSolenoidal s c a) | |
| 391 | - (hdb : HarmonicWaveInteraction.ModeSolenoidal s c (HarmonicWaveInteraction.withCarrier a b)) | |
| 392 | - (hNormal : ∀ i, LocalUnweighted s (fun n (_ : Unit) => C n) 0 | |
| 393 | - (fun n _ x => slowNormal c ho hR a.phase n x i)) | |
| 394 | - (hFreq : BandBound s (-(1 / 2)) a.frequency) | |
| 395 | - (hAng : BandBound s (-(1 / 2)) (fun n => (a.angularFrequency n : ℝ))) | |
| 396 | - (hz : ∀ n x, x ∈ s.domain → x ∉ C n → | |
| 397 | - ∀ i j, j ≠ 0 → b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) | |
| 398 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 399 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : | |
| 400 | - (HarmonicWaveInteraction.interactionBlock c u a b).WaveBounds s P | |
| 401 | - (min (β + H - 1 / 2) (min (α + β - κ) (β + β - κ))) := by | |
| 402 | - intro i j hj | |
| 403 | - have hmean := realMeanCross_class c ho hκ hR hm | |
| 404 | - (b := HarmonicWaveInteraction.withCarrier a b) hb hNormal hFreq hAng hz hj i | |
| 405 | - have hnon m := HarmonicWaveInteraction.nonlinearCoefficients_wave_class c ho hR | |
| 406 | - ha hb ha0 hb0 hM hN hΦ hk hda hdb hP0 hP1 m i | |
| 407 | - have hn := realCoefficient_class | |
| 408 | - (fun n => HarmonicWaveInteraction.nonlinearCoefficients c a b n i) j (hnon j) (hnon (-j)) | |
| 409 | - apply class_congr ((hmean.mono_exponent (min_le_left _ _)).add | |
| 410 | - (hn.mono_exponent (min_le_right _ _))) | |
| 411 | - intro n x _ | |
| 412 | - change _ = HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients | |
| 413 | - (meanCross c u.mean (HarmonicWaveInteraction.withCarrier a b) n i + | |
| 414 | - HarmonicWaveInteraction.nonlinearCoefficients c a b n i)) j x | |
| 415 | - rw [nonconstant_apply_of_ne _ hj, realCoefficients_add] | |
| 416 | - rfl | |
| 417 | - | |
| 418 | 378 | theorem residualBlock_mean_update_class {s : StripData D} {C : ℕ → Set D} |
| 419 | 379 | {κ α H : ℝ} {P : ℕ → D → ℝ} |
| 420 | 380 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
+0 −65 NavierStokes/LocalizedMomentRepair.lean View file
| @@ -203,11 +203,6 @@ theorem repair_smul (a l u d : Fin n → ℝ) (r : ℝ) : | ||
| 203 | 203 | simp only [repair, coefficients, Matrix.mulVec_smul, Pi.smul_apply, smul_eq_mul, |
| 204 | 204 | Finset.mul_sum, mul_assoc] |
| 205 | 205 | |
| 206 | -theorem repair_sub (a l u d e : Fin n → ℝ) : | |
| 207 | - repair a l u (d - e) = repair a l u d - repair a l u e := by | |
| 208 | - ext t | |
| 209 | - simp only [repair, coefficients, Matrix.mulVec_sub, Pi.sub_apply, sub_mul, Finset.sum_sub_distrib] | |
| 210 | - | |
| 211 | 206 | /-- The fixed-interval, fixed-exponent repair depends linearly on the moment debt. -/ |
| 212 | 207 | def repairLinearMap (a l u : Fin n → ℝ) : (Fin n → ℝ) →ₗ[ℝ] (ℝ → ℝ) where |
| 213 | 208 | toFun := repair a l u |
| @@ -287,66 +282,6 @@ theorem smooth_compact_derivative_bound (f : ℝ → ℝ) (hf : ContDiff ℝ ∞ | ||
| 287 | 282 | |
| 288 | 283 | variable {n : ℕ} |
| 289 | 284 | |
| 290 | -/-- Every derivative of the repair is the same linear combination of fixed coordinate repairs. -/ | |
| 291 | -theorem repair_iteratedDeriv_coordinate (a l u d : Fin n → ℝ) (k : ℕ) (t : ℝ) : | |
| 292 | - iteratedDeriv k (repair a l u d) t = | |
| 293 | - ∑ j, d j * iteratedDeriv k (repair a l u (Pi.single j 1)) t := by | |
| 294 | - rw [repair_eq_sum_coordinate a l u d] | |
| 295 | - rw [iteratedDeriv_finite_sum Finset.univ | |
| 296 | - (fun j x => d j * repair a l u (Pi.single j 1) x) | |
| 297 | - (fun j => contDiff_const.mul (repair_contDiff a l u (Pi.single j 1))) k t] | |
| 298 | - apply Finset.sum_congr rfl | |
| 299 | - intro j _ | |
| 300 | - exact iteratedDeriv_const_mul (d j) | |
| 301 | - ((repair_contDiff a l u (Pi.single j 1)).of_le | |
| 302 | - (by exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).contDiffAt | |
| 303 | - | |
| 304 | -/-- A uniform-in-space linear estimate for each derivative, with all geometric data fixed. -/ | |
| 305 | -theorem repair_derivative_bound (a l u : Fin n → ℝ) (hlu : ∀ j, l j < u j) (k : ℕ) : | |
| 306 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ (d : Fin n → ℝ) (t : ℝ), | |
| 307 | - |iteratedDeriv k (repair a l u d) t| ≤ C * ‖d‖ := by | |
| 308 | - have hb : ∀ j : Fin n, ∃ C : ℝ, 0 ≤ C ∧ ∀ t, | |
| 309 | - |iteratedDeriv k (repair a l u (Pi.single j 1)) t| ≤ C := fun j => | |
| 310 | - smooth_compact_derivative_bound _ (repair_contDiff a l u (Pi.single j 1)) | |
| 311 | - (repair_hasCompactSupport a l u (Pi.single j 1) hlu) k | |
| 312 | - choose C hC hbound using hb | |
| 313 | - refine ⟨∑ j, C j, Finset.sum_nonneg (fun j _ => hC j), fun d t => ?_⟩ | |
| 314 | - rw [repair_iteratedDeriv_coordinate] | |
| 315 | - calc | |
| 316 | - |∑ j, d j * iteratedDeriv k (repair a l u (Pi.single j 1)) t| ≤ | |
| 317 | - ∑ j, |d j * iteratedDeriv k (repair a l u (Pi.single j 1)) t| := | |
| 318 | - Finset.abs_sum_le_sum_abs _ _ | |
| 319 | - _ ≤ ∑ j, ‖d‖ * C j := by | |
| 320 | - apply Finset.sum_le_sum | |
| 321 | - intro j _ | |
| 322 | - rw [abs_mul] | |
| 323 | - apply mul_le_mul _ (hbound j t) (abs_nonneg _) (norm_nonneg _) | |
| 324 | - simpa only [Real.norm_eq_abs] using norm_le_pi_norm d j | |
| 325 | - _ = (∑ j, C j) * ‖d‖ := by rw [← Finset.mul_sum, mul_comm] | |
| 326 | - | |
| 327 | -/-- All derivatives through any prescribed finite order depend Lipschitz-continuously | |
| 328 | -on the moment debt, uniformly over the spatial coordinate. -/ | |
| 329 | -theorem repair_finite_jet_bound (a l u : Fin n → ℝ) (hlu : ∀ j, l j < u j) (N : ℕ) : | |
| 330 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ k ≤ N, ∀ (d e : Fin n → ℝ) (t : ℝ), | |
| 331 | - |iteratedDeriv k (repair a l u d) t - iteratedDeriv k (repair a l u e) t| ≤ | |
| 332 | - C * ‖d - e‖ := by | |
| 333 | - choose C hC hbound using repair_derivative_bound a l u hlu | |
| 334 | - refine ⟨∑ k ∈ Finset.range (N + 1), C k, Finset.sum_nonneg (fun k _ => hC k), ?_⟩ | |
| 335 | - intro k hk d e t | |
| 336 | - have hsub : iteratedDeriv k (repair a l u (d - e)) t = | |
| 337 | - iteratedDeriv k (repair a l u d) t - iteratedDeriv k (repair a l u e) t := by | |
| 338 | - rw [repair_sub] | |
| 339 | - exact iteratedDeriv_sub | |
| 340 | - ((repair_contDiff a l u d).of_le | |
| 341 | - (by exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).contDiffAt | |
| 342 | - ((repair_contDiff a l u e).of_le | |
| 343 | - (by exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).contDiffAt | |
| 344 | - rw [← hsub] | |
| 345 | - apply (hbound k (d - e) t).trans | |
| 346 | - apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) | |
| 347 | - exact Finset.single_le_sum (fun j _ => hC j) | |
| 348 | - (Finset.mem_range.mpr (Nat.lt_succ_of_le hk)) | |
| 349 | - | |
| 350 | 285 | end Jets |
| 351 | 286 | |
| 352 | 287 | end NavierStokes.LocalizedMomentRepair |
+0 −25 NavierStokes/LocalizedWaveBounds.lean View file
| @@ -1368,31 +1368,6 @@ theorem corrected_coefficient_eq_good_add_excluded_at | ||
| 1368 | 1368 | rw [hp, he, WaveCoefficients.goodCoefficient, ← hc] |
| 1369 | 1369 | abel |
| 1370 | 1370 | |
| 1371 | -/-- The cutoff/curl identity needs only native smoothness and actual | |
| 1372 | -equations on an open native patch. No global `InputBounds` occurs. -/ | |
| 1373 | -theorem harmonicResidual_eq_good_add_excluded_on | |
| 1374 | - (a : WaveCoefficients D) (s : StripData D) (d : GraphDirections D) | |
| 1375 | - (ψ : ℕ → D → ℝ) (f source : ℕ → D → ComplexVector) (n : ℕ) {U : Set D} | |
| 1376 | - (h : ExactOn ((a.withCutoff ψ).addAmplitude f) s d n U) | |
| 1377 | - {x : D} (hx : x ∈ U) | |
| 1378 | - (ha : ∀ j, DifferentiableAt ℝ (fun y => a.amplitude n y j) x) | |
| 1379 | - (hψ : DifferentiableAt ℝ (ψ n) x) | |
| 1380 | - (hf : ∀ j, DifferentiableAt ℝ (fun y => f n y j) x) | |
| 1381 | - (hsolve : a.principal s d n x = -source n x) : | |
| 1382 | - ((a.withCutoff ψ).addAmplitude f).harmonicResidual s d n x + | |
| 1383 | - (fun j => source n x j * carrier (a.frequency n) (a.phase n) x) = | |
| 1384 | - (fun j => (a.goodCoefficient s d ψ f n x j + | |
| 1385 | - LinearWaveBounds.excludedSlotError d ψ a.amplitude source n x j) * | |
| 1386 | - carrier (a.frequency n) (a.phase n) x) := by | |
| 1387 | - rw [harmonicResidual_eq_on h hx] | |
| 1388 | - have he := corrected_coefficient_eq_good_add_excluded_at a s d ψ f source n x ha hψ hf hsolve | |
| 1389 | - ext j | |
| 1390 | - have hej := congrFun he j | |
| 1391 | - simp only [Pi.add_apply] at hej ⊢ | |
| 1392 | - change (_ + _) * carrier (a.frequency n) (a.phase n) x + | |
| 1393 | - source n x j * carrier (a.frequency n) (a.phase n) x = _ | |
| 1394 | - rw [← add_mul, hej] | |
| 1395 | - | |
| 1396 | 1371 | end LocalIdentities |
| 1397 | 1372 | |
| 1398 | 1373 | end NavierStokes.LocalizedWaveBounds |
+0 −26 NavierStokes/MaximalLifespan.lean View file
| @@ -205,32 +205,6 @@ theorem candidate_admissible_lifespans {u : VelocityField} {p : PressureField} | ||
| 205 | 205 | · intro ht |
| 206 | 206 | exact ⟨u, p, (candidate_is_classical_solution h).restrict ht.1 ht.2⟩ |
| 207 | 207 | |
| 208 | -/-- A global classical solution would restrict to a forbidden lifespan | |
| 209 | -greater than one. This makes the exclusion of infinite-time continuation | |
| 210 | -explicit without assuming any existence theorem. -/ | |
| 211 | -theorem candidate_excludes_global_solution {u v : VelocityField} {p q : PressureField} | |
| 212 | - {f : VelocityField} (h : CandidateProperties u p f) | |
| 213 | - (hv : ContDiffOn ℝ ∞ v futureDomain) (hq : ContDiffOn ℝ ∞ q futureDomain) | |
| 214 | - (hpv : UnitSpatialPeriodsOn (Ici (0 : ℝ)) v) | |
| 215 | - (hpq : UnitSpatialPeriodsOn (Ici (0 : ℝ)) q) | |
| 216 | - (hvzero : ∀ x : Space, v (0, x) = 0) | |
| 217 | - (hdv : ∀ t : ℝ, 0 ≤ t → ∀ x : Space, spatialDivergence v t x = 0) | |
| 218 | - (hNSv : ∀ t : ℝ, 0 < t → ∀ x : Space, navierStokesResidual v q t x = f (t, x)) : | |
| 219 | - False := by | |
| 220 | - have hsub : lifespanDomain 2 ⊆ futureDomain := by | |
| 221 | - intro z hz | |
| 222 | - exact ⟨hz.1.1, hz.2⟩ | |
| 223 | - apply candidate_no_solution_after_one h (T := 2) (by norm_num) | |
| 224 | - refine ⟨by norm_num, hv.mono hsub, hq.mono hsub, ?_, ?_, hvzero, ?_, ?_⟩ | |
| 225 | - · intro t ht x i | |
| 226 | - exact hpv t ht.1 x i | |
| 227 | - · intro t ht x i | |
| 228 | - exact hpq t ht.1 x i | |
| 229 | - · intro t ht x | |
| 230 | - exact hdv t ht.1 x | |
| 231 | - · intro t ht x | |
| 232 | - exact hNSv t ht.1 x | |
| 233 | - | |
| 234 | 208 | theorem zero_classical_solution_of_zero_force {f : VelocityField} {T : ℝ} |
| 235 | 209 | (hT : 0 < T) (hf : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x : Space, f (t, x) = 0) : |
| 236 | 210 | ClassicalSolution f (fun _ => 0) T (fun _ => 0) (fun _ => 0) := by |
+0 −64 NavierStokes/MeanChartCompatibility.lean View file
| @@ -330,11 +330,6 @@ theorem coverPull_smooth (l : ℝ) (P : S →L[ℝ] T) (k : ℕ) (u : ℝ) | ||
| 330 | 330 | {f : PressureStream.Lift T → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 331 | 331 | ContDiff ℝ ∞ (coverPull l P k u f) := pull_smooth _ _ _ hf |
| 332 | 332 | |
| 333 | -theorem coverPull_periodic (l : ℝ) (P : S →L[ℝ] T) (k : ℕ) (u : ℝ) | |
| 334 | - {f : PressureStream.Lift T → ℝ} (hp : PressureStream.TorusPeriodicLift f) : | |
| 335 | - PressureStream.TorusPeriodicLift (coverPull l P k u f) := | |
| 336 | - TemporalMeanUpdate.pullbackCover_periodic k (parameterPull_periodic l P u hp) | |
| 337 | - | |
| 338 | 333 | theorem torusAverage_parameterPull (l : ℝ) (P : S →L[ℝ] T) (u : ℝ) |
| 339 | 334 | (f : PressureStream.Lift T → ℝ) (p : ℝ × S) : |
| 340 | 335 | PressureStream.torusAverage (parameterPull l P u f) p = |
| @@ -956,13 +951,6 @@ noncomputable def commonTemporalFields (r : ℕ → CorrectionState.Reconstructi | ||
| 956 | 951 | (PressureStream.physicalSpeed (r n).exponent ((r n).frequency n)) |
| 957 | 952 | ((0 : S), (r n).radialDirection) (commonTemporalPotential r h index fz n) |
| 958 | 953 | |
| 959 | -noncomputable def commonTemporalAlias (r : ℕ → CorrectionState.ReconstructionData) | |
| 960 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) : | |
| 961 | - PressureStream.Lift S → ℝ := | |
| 962 | - PressureStream.divideRadius (RadialPullback.physicalAlias (r n).exponent (r n).inner | |
| 963 | - (r n).outer ((r n).frequency n) ((0 : S), (r n).radialDirection) | |
| 964 | - (PressureStream.weightedSource (temporalAtIndex h n (index n) (f n)))) | |
| 965 | - | |
| 966 | 954 | noncomputable def commonTemporalIncrement (r : ℕ → CorrectionState.ReconstructionData) |
| 967 | 955 | (h : ℝ) (index : ℕ → ℕ) (axial : S × Plane) |
| 968 | 956 | (c : CorrectionState.Context (PressureStream.Lift S)) |
| @@ -997,58 +985,6 @@ theorem commonTemporalPotential_supported (r : ℕ → CorrectionState.Reconstru | ||
| 997 | 985 | PressureStream.streamPotential_supported ha (r n).inner_lt_outer hd _ |
| 998 | 986 | (temporalAtIndex_smooth h n (index n) hf hp) (temporalAtIndex_supported h n (index n) hs) |
| 999 | 987 | |
| 1000 | -theorem commonTemporalAlias_smooth (r : ℕ → CorrectionState.ReconstructionData) | |
| 1001 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1002 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1003 | - (hf : ContDiff ℝ ∞ (f n)) (hp : PressureStream.TorusPeriodicLift (f n)) | |
| 1004 | - (hs : RadialAlias.RadiallySupported (r n).inner (r n).outer (f n)) : | |
| 1005 | - ContDiff ℝ ∞ (commonTemporalAlias r h index f n) := | |
| 1006 | - PressureStream.divideRadius_contDiff ha | |
| 1007 | - (RadialPullback.physicalAlias_contDiff ha (r n).inner_lt_outer hd | |
| 1008 | - (PressureStream.weightedSource_contDiff (temporalAtIndex_smooth h n (index n) hf hp)) | |
| 1009 | - (PressureStream.weightedSource_supported (temporalAtIndex_supported h n (index n) hs)) | |
| 1010 | - ((r n).frequency n) ((0 : S), (r n).radialDirection)) | |
| 1011 | - (RadialPullback.physicalAlias_supported ha (r n).inner_lt_outer hd _ _ _) | |
| 1012 | - | |
| 1013 | -theorem commonTemporalFields_axial_eq (r : ℕ → CorrectionState.ReconstructionData) | |
| 1014 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 1015 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1016 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1017 | - (hf : ContDiff ℝ ∞ (fz n)) (hp : PressureStream.TorusPeriodicLift (fz n)) | |
| 1018 | - (hs : RadialAlias.RadiallySupported (r n).inner (r n).outer (fz n)) : | |
| 1019 | - (commonTemporalFields r h index epsilon axial fθ fz).axial n = | |
| 1020 | - fun z => temporalAtIndex h n (index n) (fz n) z - commonTemporalAlias r h index fz n z := by | |
| 1021 | - funext z | |
| 1022 | - exact PressureStream.streamGamma_eq_desired_sub_alias_global ha (r n).inner_lt_outer hd _ | |
| 1023 | - (temporalAtIndex_smooth h n (index n) hf hp) (temporalAtIndex_supported h n (index n) hs) z | |
| 1024 | - | |
| 1025 | -theorem commonTemporalFields_fast_cancellation (r : ℕ → CorrectionState.ReconstructionData) | |
| 1026 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 1027 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1028 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1029 | - (hθ : ContDiff ℝ ∞ (fθ n)) (hz : ContDiff ℝ ∞ (fz n)) | |
| 1030 | - (hpθ : PressureStream.TorusPeriodicLift (fθ n)) (hpz : PressureStream.TorusPeriodicLift (fz n)) | |
| 1031 | - (hsz : RadialAlias.RadiallySupported (r n).inner (r n).outer (fz n)) | |
| 1032 | - (z : PressureStream.Lift S) : | |
| 1033 | - fastAtIndex h n (index n) ((commonTemporalFields r h index epsilon axial fθ fz).angular n) z + | |
| 1034 | - TemporalMeanUpdate.centered (fθ n) z = 0 ∧ | |
| 1035 | - fastAtIndex h n (index n) ((commonTemporalFields r h index epsilon axial fθ fz).axial n) z + | |
| 1036 | - TemporalMeanUpdate.centered (fz n) z = | |
| 1037 | - -fastAtIndex h n (index n) (commonTemporalAlias r h index fz n) z := by | |
| 1038 | - constructor | |
| 1039 | - · exact add_eq_zero_iff_eq_neg.mpr (temporalAtIndex_fast_cancellation h n (index n) hθ hpθ z) | |
| 1040 | - · rw [commonTemporalFields_axial_eq r h index epsilon axial fθ fz n ha hd hz hpz hsz] | |
| 1041 | - have hf := (temporalAtIndex_smooth h n (index n) hz hpz).differentiable (by simp) | |
| 1042 | - have hg := (commonTemporalAlias_smooth r h index fz n ha hd hz hpz hsz).differentiable (by simp) | |
| 1043 | - have he : fastAtIndex h n (index n) | |
| 1044 | - (fun z => temporalAtIndex h n (index n) (fz n) z - commonTemporalAlias r h index fz n z) z = | |
| 1045 | - fastAtIndex h n (index n) (temporalAtIndex h n (index n) (fz n)) z - | |
| 1046 | - fastAtIndex h n (index n) (commonTemporalAlias r h index fz n) z := by | |
| 1047 | - simp only [fastAtIndex, PressureStream.graphDz, fderiv_fun_sub (hf z) (hg z), | |
| 1048 | - _root_.sub_apply, mul_sub] | |
| 1049 | - rw [he, temporalAtIndex_fast_cancellation h n (index n) hz hpz z] | |
| 1050 | - ring | |
| 1051 | - | |
| 1052 | 988 | end CommonTemporalReconstruction |
| 1053 | 989 | |
| 1054 | 990 | section PhysicalTemporalFields |
+0 −17 NavierStokes/MeanMomentBounds.lean View file
| @@ -495,23 +495,6 @@ theorem meanClass_radialMoment | ||
| 495 | 495 | (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) |
| 496 | 496 | simpa only [pressureMass_radialWeighted_fun] using h |
| 497 | 497 | |
| 498 | -theorem meanClass_radialMoment_lift | |
| 499 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 500 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 501 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 502 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 503 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 504 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) | |
| 505 | - (k : ℕ) : | |
| 506 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 507 | - (fun n (x : PressureStream.Lift P) => IntegratedMeanBalances.radialMoment k | |
| 508 | - (PressureStream.torusAverage (f n)) x.2.1) := by | |
| 509 | - have h := meanClass_pressureMass_lift ha hab hcL hcR ε S hε hεone hS | |
| 510 | - (fun n => radialWeighted_contDiff k (hf n)) | |
| 511 | - (fun n => radialWeighted_supported k (hs n)) | |
| 512 | - (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) | |
| 513 | - simpa only [pressureMass_radialWeighted] using h | |
| 514 | - | |
| 515 | 498 | end WeightedMoments |
| 516 | 499 | |
| 517 | 500 | end |
+0 −194 NavierStokes/MeanRankUpdate.lean View file
| @@ -1657,13 +1657,6 @@ theorem concrete_rank_stream_meanClass (coord qlo qhi rlo rhi cL cR A B lam a b | ||
| 1657 | 1657 | (normalizedStrip_weight_margin coord qlo qhi rlo rhi cL cR a b hc hc1 hrlo hcL hcR |
| 1658 | 1658 | ε S hε hεone hS hleft hright) w hd |
| 1659 | 1659 | |
| 1660 | -theorem radial_physical_scale_gain (s : WeightedClasses.StripData ChartPoint) {α : ℝ} | |
| 1661 | - {β : ℕ → ChartPoint → ℝ} (hβ : WeightedClasses.MeanClass s α β) : | |
| 1662 | - WeightedClasses.MeanClass s (α + 1) (fun n p => s.epsilon n * β n p) := by | |
| 1663 | - have he : WeightedClasses.BandBound s 1 (fun n => s.epsilon n) := by | |
| 1664 | - simpa only [Real.rpow_one] using WeightedClasses.bandBound_rpow s 1 | |
| 1665 | - simpa only [smul_eq_mul] using hβ.band_smul he | |
| 1666 | - | |
| 1667 | 1660 | end PrimitiveClass |
| 1668 | 1661 | |
| 1669 | 1662 | section ExactPrimitive |
| @@ -1684,41 +1677,6 @@ theorem scaledPrimitive_zero_below {l r : ℝ} (hl : 0 ≤ l) {f : ℝ → ℝ} | ||
| 1684 | 1677 | _ = 0 := by simp |
| 1685 | 1678 | rw [he, mul_zero] |
| 1686 | 1679 | |
| 1687 | -theorem scaledPrimitive_sum (f : Fin 3 → ℝ → ℝ) (hf : ∀ i, Continuous (f i)) (d : Debt) (r : ℝ) : | |
| 1688 | - scaledPrimitive (fun x => ∑ i : Fin 3, d i * f i x) r = | |
| 1689 | - ∑ i : Fin 3, d i * scaledPrimitive (f i) r := by | |
| 1690 | - unfold scaledPrimitive | |
| 1691 | - have he : (fun t => t * ∑ i : Fin 3, d i * f i (r * t)) = | |
| 1692 | - (fun t => ∑ i : Fin 3, d i * (t * f i (r * t))) := by | |
| 1693 | - funext t | |
| 1694 | - rw [Finset.mul_sum] | |
| 1695 | - apply Finset.sum_congr rfl | |
| 1696 | - intro i _ | |
| 1697 | - ring | |
| 1698 | - rw [he, intervalIntegral.integral_finsetSum] | |
| 1699 | - · rw [Finset.mul_sum] | |
| 1700 | - apply Finset.sum_congr rfl | |
| 1701 | - intro i _ | |
| 1702 | - rw [intervalIntegral.integral_const_mul] | |
| 1703 | - ring | |
| 1704 | - · intro i _ | |
| 1705 | - exact (continuous_const.mul (continuous_id.mul ((hf i).comp | |
| 1706 | - (continuous_const.mul continuous_id)))).intervalIntegrable 0 1 | |
| 1707 | - | |
| 1708 | -theorem chartPotential_eq_scaledPrimitive (coord A B lam a b : ℝ) (d : ChartPoint → Debt) | |
| 1709 | - (p : ChartPoint) : | |
| 1710 | - chartPotential coord A B lam a b d p = | |
| 1711 | - scaledPrimitive (desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1712 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p)) p.1 := by | |
| 1713 | - have he : desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1714 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p) = | |
| 1715 | - (fun r => ∑ i : Fin 3, d p i * desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1716 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (Pi.single i 1) r) := by | |
| 1717 | - funext r | |
| 1718 | - exact desiredAxialIncrement_eq_sum _ _ _ _ _ _ _ _ | |
| 1719 | - rw [he, scaledPrimitive_sum _ (fun i => (desiredAxialIncrement_smooth _ _ _ _ _ _ _).continuous)] | |
| 1720 | - rfl | |
| 1721 | - | |
| 1722 | 1680 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1723 | 1681 | |
| 1724 | 1682 | /-- The stream is the ordinary zero-axis primitive for a slow zero-mass |
| @@ -1790,74 +1748,6 @@ end ExactPrimitive | ||
| 1790 | 1748 | |
| 1791 | 1749 | section ActualChartStream |
| 1792 | 1750 | |
| 1793 | -noncomputable def slowChartDesired (coord A B lam a b : ℝ) (d : PressureStream.Plane → Debt) : | |
| 1794 | - ℝ × PressureStream.Plane → ℝ := | |
| 1795 | - fun p => chartAxial coord A B lam a b (fun z => d z.2.1) (p.1, p.2, 0) | |
| 1796 | - | |
| 1797 | -noncomputable def actualChartPotential (coord A B lam a b power lo hi M : ℝ) | |
| 1798 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1799 | - PressureStream.streamPotential power lo hi M ((0 : PressureStream.Plane), v) | |
| 1800 | - (slowLift (slowChartDesired coord A B lam a b d)) | |
| 1801 | - | |
| 1802 | -noncomputable def actualChartRadial (coord A B lam a b power lo hi M : ℝ) | |
| 1803 | - (v : PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1804 | - (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1805 | - PressureStream.streamBeta w (actualChartPotential coord A B lam a b power lo hi M v d) | |
| 1806 | - | |
| 1807 | -theorem actualChartPotential_eq_chartPotential {coord A B lam a b power lo hi M qlo qhi : ℝ} | |
| 1808 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1809 | - (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1810 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1811 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) {p : ChartPoint} | |
| 1812 | - (hq : chartQ coord p ∈ Icc qlo qhi) : | |
| 1813 | - actualChartPotential coord A B lam a b power lo hi M v d p = | |
| 1814 | - chartPotential coord A B lam a b (fun z => d z.2.1) p := by | |
| 1815 | - have hqp : 0 < chartQ coord p := hqlo.trans_le hq.1 | |
| 1816 | - have hf : ContDiff ℝ ∞ (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) := | |
| 1817 | - desiredAxialIncrement_smooth lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1818 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p.2.1) | |
| 1819 | - have hs : support (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) ⊆ Icc lo hi := by | |
| 1820 | - intro r hr | |
| 1821 | - have ht := desiredAxialIncrement_tsupport lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1822 | - (chartQ coord p ^ (-A)) (Real.sqrt_pos.mpr hqp) hab (d p.2.1) (subset_closure hr) | |
| 1823 | - exact ⟨(hleft.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le)).trans ht.1.le, | |
| 1824 | - ht.2.le.trans ((mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le).trans hright)⟩ | |
| 1825 | - have hm : (∫ r, r * slowChartDesired coord A B lam a b d (r, p.2.1)) = 0 := | |
| 1826 | - (physical_five_rows (C := shapedAmplitude B (chartEta coord p)) (ell := Real.sqrt (chartQ coord p)) | |
| 1827 | - (U := chartQ coord p ^ (-A)) hlam (shapedAmplitude_ne_zero hB _) ha hab | |
| 1828 | - (Real.sqrt_pos.mpr hqp) (Real.rpow_pos_of_pos hqp _).ne' (d p.2.1)).2.1 | |
| 1829 | - have he := slow_streamPotential_eq_scaledPrimitive_slice (M := M) hlo horder hp v | |
| 1830 | - (slowChartDesired coord A B lam a b d) p hf hs hm | |
| 1831 | - exact he.trans (chartPotential_eq_scaledPrimitive coord A B lam a b (fun z => d z.2.1) p).symm | |
| 1832 | - | |
| 1833 | -/-- The full slow stream estimate is for the actual `PressureStream` | |
| 1834 | -operator. The proof does not extend data outside the positive-time domain. -/ | |
| 1835 | -theorem actual_rank_stream_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1836 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1837 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1838 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1839 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1840 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1841 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1842 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1843 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1844 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1845 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1846 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1847 | - WeightedClasses.MeanClass s α (fun n => actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) ∧ | |
| 1848 | - WeightedClasses.MeanClass s α (fun n => actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) := by | |
| 1849 | - have h := (rank_stream_meanClass (A := A) (B := B) (lam := lam) s hc hc1 hlam ha hab hB hqlo | |
| 1850 | - hT hq hR hz w hd).1 | |
| 1851 | - have hpot : WeightedClasses.MeanClass s α | |
| 1852 | - (fun n => actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) := | |
| 1853 | - meanClass_congr_on h (fun n p hps => actualChartPotential_eq_chartPotential | |
| 1854 | - hlam hB ha hab hp hlo horder hqlo hleft hright (v n) (d n) (hq p hps)) | |
| 1855 | - refine ⟨hpot, ?_⟩ | |
| 1856 | - have hder := (hpot.directional (0, w)).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 1857 | - simp only [actualChartRadial, | |
| 1858 | - _root_.neg_apply, ContinuousLinearMap.id_apply] at hder ⊢ | |
| 1859 | - exact hder | |
| 1860 | - | |
| 1861 | 1751 | end ActualChartStream |
| 1862 | 1752 | |
| 1863 | 1753 | section LocalSlowStream |
| @@ -1910,94 +1800,10 @@ end LocalSlowStream | ||
| 1910 | 1800 | |
| 1911 | 1801 | section ActualChartIdentities |
| 1912 | 1802 | |
| 1913 | -noncomputable def actualChartAxial (coord A B lam a b power lo hi M : ℝ) | |
| 1914 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1915 | - PressureStream.streamGamma (PressureStream.physicalSpeed power M) ((0 : PressureStream.Plane), v) | |
| 1916 | - (actualChartPotential coord A B lam a b power lo hi M v d) | |
| 1917 | - | |
| 1918 | -theorem actualChartAxial_eq_desired {coord A B lam a b power lo hi M qlo qhi : ℝ} | |
| 1919 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1920 | - (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1921 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1922 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) {p : ChartPoint} | |
| 1923 | - (hq : chartQ coord p ∈ Icc qlo qhi) | |
| 1924 | - (hΨ : DifferentiableAt ℝ (actualChartPotential coord A B lam a b power lo hi M v d) p) : | |
| 1925 | - actualChartAxial coord A B lam a b power lo hi M v d p = slowChartDesired coord A B lam a b d (p.1, p.2.1) := by | |
| 1926 | - have hqp : 0 < chartQ coord p := hqlo.trans_le hq.1 | |
| 1927 | - have hf : ContDiff ℝ ∞ (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) := | |
| 1928 | - desiredAxialIncrement_smooth lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1929 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p.2.1) | |
| 1930 | - have hs : support (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) ⊆ Icc lo hi := by | |
| 1931 | - intro r hr | |
| 1932 | - have ht := desiredAxialIncrement_tsupport lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1933 | - (chartQ coord p ^ (-A)) (Real.sqrt_pos.mpr hqp) hab (d p.2.1) (subset_closure hr) | |
| 1934 | - exact ⟨(hleft.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le)).trans ht.1.le, | |
| 1935 | - ht.2.le.trans ((mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le).trans hright)⟩ | |
| 1936 | - have hm : (∫ r, r * slowChartDesired coord A B lam a b d (r, p.2.1)) = 0 := | |
| 1937 | - (physical_five_rows (C := shapedAmplitude B (chartEta coord p)) (ell := Real.sqrt (chartQ coord p)) | |
| 1938 | - (U := chartQ coord p ^ (-A)) hlam (shapedAmplitude_ne_zero hB _) ha hab | |
| 1939 | - (Real.sqrt_pos.mpr hqp) (Real.rpow_pos_of_pos hqp _).ne' (d p.2.1)).2.1 | |
| 1940 | - exact slow_streamGamma_eq_desired_slice hlo horder hp v | |
| 1941 | - (slowChartDesired coord A B lam a b d) p hf hs hm hΨ | |
| 1942 | - | |
| 1943 | -/-- Exact slow realization and divergence on the actual normalized physical | |
| 1944 | -domain, derived from the input defect class rather than assumed regularity. -/ | |
| 1945 | -theorem actual_rank_stream_identities (s : WeightedClasses.StripData ChartPoint) | |
| 1946 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1947 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1948 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1949 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1950 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1951 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1952 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1953 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1954 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1955 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1956 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1957 | - ∀ n p, p ∈ s.domain → | |
| 1958 | - actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n) p = | |
| 1959 | - slowChartDesired coord A B lam a b (d n) (p.1, p.2.1) ∧ | |
| 1960 | - PressureStream.graphDivergence (PressureStream.physicalSpeed power (M n)) ((0 : PressureStream.Plane), v n) w | |
| 1961 | - (actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) | |
| 1962 | - (actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n)) p = 0 := by | |
| 1963 | - have hclass := (actual_rank_stream_meanClass (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1964 | - hleft hright hT hq hR hz M v w hd).1 | |
| 1965 | - intro n p hps | |
| 1966 | - have hΨ := (hclass.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hps) | |
| 1967 | - have hΨ2 : ContDiffAt ℝ 2 (actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) p := | |
| 1968 | - hΨ.of_le (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le | |
| 1969 | - have hr : p.1 ≠ 0 := (hlo.trans_le (hR p hps).1).ne' | |
| 1970 | - refine ⟨actualChartAxial_eq_desired hlam hB ha hab hp hlo horder hqlo hleft hright | |
| 1971 | - (v n) (d n) (hq p hps) (hΨ.differentiableAt (by simp)), ?_⟩ | |
| 1972 | - exact PressureStream.stream_divergence_zero ((0 : PressureStream.Plane), v n) w | |
| 1973 | - hΨ2 ((PressureStream.physicalSpeed_smooth power (M n) hr).differentiableAt (by simp)) hr | |
| 1974 | - | |
| 1975 | 1803 | end ActualChartIdentities |
| 1976 | 1804 | |
| 1977 | 1805 | section AllVelocityClasses |
| 1978 | 1806 | |
| 1979 | -theorem actual_rank_velocity_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1980 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1981 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1982 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1983 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1984 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1985 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1986 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1987 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1988 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1989 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1990 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1991 | - WeightedClasses.MeanClass s α (fun n => chartAngular coord A B lam a b (fun p => d n p.2.1)) ∧ | |
| 1992 | - WeightedClasses.MeanClass s α (fun n => actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n)) ∧ | |
| 1993 | - WeightedClasses.MeanClass s α (fun n => actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) := by | |
| 1994 | - have hfields := rank_update_meanClass (A := A) (B := B) (lam := lam) s hc hc1 ha hab hB hqlo hT hq hR hz hd | |
| 1995 | - have hstream := actual_rank_stream_meanClass (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1996 | - hleft hright hT hq hR hz M v w hd | |
| 1997 | - have he := actual_rank_stream_identities (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1998 | - hleft hright hT hq hR hz M v w hd | |
| 1999 | - exact ⟨hfields.1, meanClass_congr_on hfields.2 (fun n p hps => (he n p hps).1), hstream.2⟩ | |
| 2000 | - | |
| 2001 | 1807 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 2002 | 1808 | |
| 2003 | 1809 | theorem slow_streamPotential_phase_independent (lo hi power M : ℝ) (v : PressureStream.Plane) |
+0 −3 NavierStokes/MeanResidual.lean View file
| @@ -695,9 +695,6 @@ noncomputable def fluxDifference (base mean osc : Components) (i j : Fin 3) : Sc | ||
| 695 | 695 | theorem covariance_smooth {osc : Components} (ho : ∀ i, ContDiff ℝ ∞ (osc i)) (i j : Fin 3) : |
| 696 | 696 | ContDiff ℝ ∞ (covariance osc i j) := average_smooth ((ho i).mul (ho j)) |
| 697 | 697 | |
| 698 | -theorem covariance_symm (osc : Components) (i j : Fin 3) : covariance osc i j = covariance osc j i := by | |
| 699 | - simp only [covariance, mul_comm] | |
| 700 | - | |
| 701 | 698 | theorem total_smooth {base mean osc : Components} |
| 702 | 699 | (hb : ∀ i, ContDiff ℝ ∞ (base i)) (hm : ∀ i, ContDiff ℝ ∞ (mean i)) |
| 703 | 700 | (ho : ∀ i, ContDiff ℝ ∞ (osc i)) (i : Fin 3) : |
+0 −10 NavierStokes/MixedAxisPreservation.lean View file
| @@ -321,16 +321,6 @@ noncomputable def initializedDiagonal {h : ℝ} {Ω : Set SpaceTime} | ||
| 321 | 321 | (scales : ℕ → ℝ) : VelocityField := |
| 322 | 322 | mixedDiagonal (initializedBase base initial) p D scales |
| 323 | 323 | |
| 324 | -theorem initializedSeries_zero {h : ℝ} {Ω : Set SpaceTime} | |
| 325 | - (base : VelocityField) (initial : PotentialStage.{u} h Ω) | |
| 326 | - (p : ℕ → PotentialStage.{u} h Ω) (w : SpaceTime) : | |
| 327 | - initializedSeries base initial p 0 w = base w + initial.field w := rfl | |
| 328 | - | |
| 329 | -theorem initializedSeries_succ {h : ℝ} {Ω : Set SpaceTime} | |
| 330 | - (base : VelocityField) (initial : PotentialStage.{u} h Ω) | |
| 331 | - (p : ℕ → PotentialStage.{u} h Ω) (j : ℕ) : | |
| 332 | - initializedSeries base initial p (j + 1) = (p j).field := rfl | |
| 333 | - | |
| 334 | 324 | theorem initializedBase_germ {h : ℝ} {Ω : Set SpaceTime} |
| 335 | 325 | (base : VelocityField) (initial : PotentialStage.{u} h Ω) |
| 336 | 326 | (hh : 0 < h) (hh1 : h < 1 / 2) (hΩ : IsOpen Ω) {w : SpaceTime} |
+0 −5 NavierStokes/MixedFiniteBackground.lean View file
| @@ -63,11 +63,6 @@ theorem nonemptyPrefix_jetRate {l : Filter D} {q : D → ℝ} {A : ℕ → D → | ||
| 63 | 63 | |
| 64 | 64 | end General |
| 65 | 65 | |
| 66 | -/-- The one derivative needed for the potential is paid independently of | |
| 67 | -the correction index. The direct field pays no curl derivative. -/ | |
| 68 | -noncomputable def backgroundLoss (LA LB LAzero LBzero : ℕ → ℝ) (m : ℕ) : ℝ := | |
| 69 | - max (max (LA (m + 1)) (LAzero (m + 1))) (max (LB m) (LBzero m)) | |
| 70 | - | |
| 71 | 66 | noncomputable def stageVelocity (A B : ℕ → VelocityField) (j : ℕ) : VelocityField := |
| 72 | 67 | fun x => SpatialCurl.spatialCurl (A j) x + B j x |
| 73 | 68 | |
+0 −37 NavierStokes/NativeBandExtension.lean View file
| @@ -684,11 +684,6 @@ theorem native_mem_of_data (L : PrimaryGeometryAssembly.Index W a.N) {x : Native | ||
| 684 | 684 | apply (BaseContextAssembly.nativeStrip_mem W _ _).mpr |
| 685 | 685 | exact ⟨⟨hx.1, hq⟩, hx.2⟩ |
| 686 | 686 | |
| 687 | -theorem native_mem_band (L : PrimaryGeometryAssembly.Index W a.N) {x : Native} | |
| 688 | - (hx : x ∈ (ActualSignedGeometry.nativeDomain H v a).carrier L) : | |
| 689 | - nativeQ F.data.h x ∈ Ioo (1 / 2 : ℝ) 2 := | |
| 690 | - ((BaseContextAssembly.nativeStrip_mem W _ _).mp hx.1.2).1.2 | |
| 691 | - | |
| 692 | 687 | theorem band_pair_zero_jets_off_native (M : ClosedMargins H v a vr vt) |
| 693 | 688 | (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) {x : Native} |
| 694 | 689 | (hx : x ∈ radialInterior W) |
| @@ -724,20 +719,6 @@ theorem band_pair_zero_jets_off_native (M : ClosedMargins H v a vr vt) | ||
| 724 | 719 | · have hz := band_pair_zero_germ_cell H v a hr0 vr vt j L hx.1 hp |
| 725 | 720 | exact ⟨(zero_germ_jets hz.1).2 n, (zero_germ_jets hz.2).2 n⟩ |
| 726 | 721 | |
| 727 | -theorem band_pair_band_edge_jets (M : ClosedMargins H v a vr vt) | |
| 728 | - (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) {x : Native} | |
| 729 | - (hx : x ∈ radialInterior W) (he : nativeQ F.data.h x = 1 / 2 ∨ nativeQ F.data.h x = 2) (n : ℕ) : | |
| 730 | - iteratedFDeriv ℝ n (bandVelocity H v a hr0 vr vt j L) x = 0 ∧ | |
| 731 | - iteratedFDeriv ℝ n (bandPressure H v a hr0 vr vt j L) x = 0 := by | |
| 732 | - apply band_pair_zero_jets_off_native H v a hr0 vr vt M j L hx _ n | |
| 733 | - intro hi | |
| 734 | - have hq := native_mem_band H v a L hi | |
| 735 | - rcases he with he | he | |
| 736 | - · rw [he] at hq | |
| 737 | - exact (lt_irrefl _ hq.1) | |
| 738 | - · rw [he] at hq | |
| 739 | - exact (lt_irrefl _ hq.2) | |
| 740 | - | |
| 741 | 722 | /-- The full open radial domain, preserving the original native growth |
| 742 | 723 | function exactly and adding the flat band/transverse boundary points. -/ |
| 743 | 724 | noncomputable def radialDomain : JetDomain (PrimaryGeometryAssembly.Index W a.N) Native where |
| @@ -950,24 +931,6 @@ theorem band_pair_native_regular_of_raw_jets (M : ClosedMargins H v a vr vt) (j | ||
| 950 | 931 | · exact (hp.polynomial_smul (outerCutoff_native_polynomial H v a hr0)).congr |
| 951 | 932 | (fun L x _ => (bandPressure_eq_outer H v a hr0 vr vt j L x).symm) |
| 952 | 933 | |
| 953 | -/-- The band boundary tensors remain zero after the radial attachment, | |
| 954 | -including the intersections of the band and radial boundaries. -/ | |
| 955 | -theorem attached_pair_band_edge_jets (M : ClosedMargins H v a vr vt) (j : Fin 2) | |
| 956 | - (hu : NativeJets (ActualSignedGeometry.nativeDomain H v a) (velocityWeight H v a hr0 j) | |
| 957 | - (preOuterVelocity H v a hr0 vr vt j)) | |
| 958 | - (hp : NativeJets (ActualSignedGeometry.nativeDomain H v a) (pressureWeight H v a hr0 j) | |
| 959 | - (preOuterPressure H v a hr0 vr vt j)) | |
| 960 | - (L : PrimaryGeometryAssembly.Index W a.N) {x : Native} | |
| 961 | - (hT : 0 < x.1.2.2) (he : nativeQ F.data.h x = 1 / 2 ∨ nativeQ F.data.h x = 2) (n : ℕ) : | |
| 962 | - iteratedFDeriv ℝ n (WaveEdgeExtension.nativeExtension W (bandVelocity H v a hr0 vr vt j L)) x = 0 ∧ | |
| 963 | - iteratedFDeriv ℝ n (WaveEdgeExtension.nativeExtension W (bandPressure H v a hr0 vr vt j L)) x = 0 := by | |
| 964 | - obtain ⟨hv, hp'⟩ := band_pair_native_regular_of_raw_jets H v a hr0 vr vt M j hu hp L | |
| 965 | - by_cases hi : WaveEdgeExtension.nativeRadius F.data.h x ∈ | |
| 966 | - Ioo (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) | |
| 967 | - · rw [hv.jet_inside n hT hi, hp'.jet_inside n hT hi] | |
| 968 | - exact band_pair_band_edge_jets H v a hr0 vr vt M j L ⟨hT, hi⟩ he n | |
| 969 | - · exact ⟨hv.jet_outside n hT hi, hp'.jet_outside n hT hi⟩ | |
| 970 | - | |
| 971 | 934 | end Attachment |
| 972 | 935 | |
| 973 | 936 | end NavierStokes.NativeBandExtension |
+0 −46 NavierStokes/NaturalAxisBridge.lean View file
| @@ -57,14 +57,6 @@ theorem partialEta_profile (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 57 | 57 | simpa only [partialEta, AxisEvaluation.mixedSeries_zero] using |
| 58 | 58 | (AxisEvaluation.mixedSeries_hasDerivAt_eta I hε A 0 0 hp.1 hp.2).deriv |
| 59 | 59 | |
| 60 | -theorem mixedDerivative_profile (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 61 | - (A : AxisSpace I ε) (k m : ℕ) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : | |
| 62 | - mixedDerivative k m (AxisEvaluation.profile I ε A) p = | |
| 63 | - AxisEvaluation.mixedSeries I ε A k m p := by | |
| 64 | - simpa only [mixedDerivative, AxisEvaluation.mixedSeries, AxisEvaluation.term, | |
| 65 | - AxisEvaluation.polynomialJet] using | |
| 66 | - AxisEvaluation.mixed_derivative_profile I hε A k m hp.1 hp.2 | |
| 67 | - | |
| 68 | 60 | theorem radialEvaluation_eq (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 69 | 61 | (r : ℕ) (A : AxisSpace I ε) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 70 | 62 | radialEvaluation I ε r A p = radialDifferential r (AxisEvaluation.profile I ε A) p := by |
| @@ -91,10 +83,6 @@ theorem profile_sub (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 91 | 83 | simpa only [AxisEvaluation.mixedSeries_zero] using |
| 92 | 84 | AxisEvaluation.mixedSeries_sub I hε A B 0 0 hp |
| 93 | 85 | |
| 94 | -theorem profile_zero (I : Window) (ε : ℝ) (p : ℝ × ℝ) : | |
| 95 | - AxisEvaluation.profile I ε (0 : AxisSpace I ε) p = 0 := by | |
| 96 | - simp [AxisEvaluation.profile, coefficient] | |
| 97 | - | |
| 98 | 86 | theorem radialEvaluation_add (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 99 | 87 | (r : ℕ) (A B : AxisSpace I ε) {p : ℝ × ℝ} (hp : |p.1| < 20) : |
| 100 | 88 | radialEvaluation I ε r (A + B) p = |
| @@ -636,40 +624,6 @@ structure IsLeadingSolution (I : Window) (d : ParameterData) | ||
| 636 | 624 | axial_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 637 | 625 | 2 * radialDifferential 1 u p = -d.inverseL p.2 * d.zStar p.2 |
| 638 | 626 | |
| 639 | -/-- The profiles used in the error estimate really solve the regular | |
| 640 | -leading equations with the prescribed axis data. -/ | |
| 641 | -theorem reference_isLeadingSolution (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 642 | - (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) | |
| 643 | - (hd : CompatibleData I ε χ d) : | |
| 644 | - IsLeadingSolution I (parameters I ε χ d) | |
| 645 | - (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).1) | |
| 646 | - (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).2) := by | |
| 647 | - have hzero : RadiallyConstant I ε (0 : AxisSpace I ε) := by | |
| 648 | - intro n hn η hη | |
| 649 | - simp [coefficient] | |
| 650 | - have hφ : (referenceCoefficients I hε χ d).1 + | |
| 651 | - AxisResolvent.naturalOperator I hε χ (referenceCoefficients I hε χ d).1 = | |
| 652 | - d.one + (0 : ℝ) • (AxisContraction.naturalRemainder | |
| 653 | - (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) 0 0 | |
| 654 | - (referenceCoefficients I hε χ d)).1 := by | |
| 655 | - simpa only [referenceCoefficients, AxisContraction.referencePair, zero_smul, add_zero] using | |
| 656 | - AxisResolvent.naturalResolvent_equation I hε χ d.one | |
| 657 | - have hu : (referenceCoefficients I hε χ d).2 = | |
| 658 | - -(1 / 2 : ℝ) • AxisOperators.regularInverse I hε 1 (by norm_num) | |
| 659 | - (AxisOperators.product I hε d.inverseL d.zStar) + | |
| 660 | - (0 : ℝ) • (AxisContraction.naturalRemainder | |
| 661 | - (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) 0 0 | |
| 662 | - (referenceCoefficients I hε χ d)).2 := by | |
| 663 | - simp only [zero_smul, add_zero] | |
| 664 | - rfl | |
| 665 | - have hs := integrated_solution I hε χ d hd 0 0 (by norm_num) 0 hzero | |
| 666 | - (referenceCoefficients I hε χ d) hφ hu | |
| 667 | - refine ⟨hs.phi_smooth, hs.u_smooth, hs.phi_axis, hs.u_axis, ?_, ?_⟩ | |
| 668 | - · intro p hp | |
| 669 | - simpa only [zero_mul, add_zero] using hs.angular_equation p hp | |
| 670 | - · intro p hp | |
| 671 | - simpa only [zero_mul, add_zero] using hs.axial_equation p hp | |
| 672 | - | |
| 673 | 627 | /-- A fixed finite constant computed from the input norms and the genuine |
| 674 | 628 | bounded operators. It is independent of `Λ` and of the amplitude in its norm ball. -/ |
| 675 | 629 | def errorConstant (I : Window) {ε : ℝ} (hε : 0 < ε) |
+0 −24 NavierStokes/NaturalAxisCoefficients.lean View file
| @@ -426,21 +426,6 @@ theorem CoefficientFamily.compatible {h j σ : ℝ} {P : ℝ → ℝ} | ||
| 426 | 426 | change deriv (fun y : ℝ => 4 * y + j) x = 4 |
| 427 | 427 | simp |
| 428 | 428 | |
| 429 | -theorem ideal_prefix_fixed_coefficients {h j : ℝ} | |
| 430 | - (hsmall : NaturalAxisRange.Parameters h j) | |
| 431 | - {g a : ℝ → ℝ} {cap B : ℝ} | |
| 432 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 433 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 434 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 435 | - ∃ δ σ : ℝ, 0 < δ ∧ 0 < σ ∧ | |
| 436 | - (∀ x ∈ Icc (-1 : ℝ) 1, | |
| 437 | - |NaturalAxisData.Z h j (PressureDatum.pressure g a) x| ≤ δ → | |
| 438 | - 99 / 100 < NaturalAxisData.chi h j σ x) ∧ | |
| 439 | - Nonempty (CoefficientFamily h j σ (PressureDatum.pressure g a)) := by | |
| 440 | - obtain ⟨δ, σ, hδ, hσ, hcut, _⟩ := | |
| 441 | - NaturalAxisRange.ideal_prefix_cutoff_parameters hsmall hp hB hg ha | |
| 442 | - exact ⟨δ, σ, hδ, hσ, hcut, exists_coefficientFamily hsmall hσ hp⟩ | |
| 443 | - | |
| 444 | 429 | /-- The actual normalized logarithmic phase, as a complex segment integral. -/ |
| 445 | 430 | def axisPhase (h j σ : ℝ) : ℂ → ℂ := |
| 446 | 431 | AnalyticPrimitive.primitive (complexGradient h j σ) |
| @@ -520,15 +505,6 @@ theorem realAmplitude_pos (h j σ Λ : ℝ) {C : ℝ} (hC : 0 < C) (x : ℝ) : | ||
| 520 | 505 | 0 < realAmplitude h j σ Λ C x := |
| 521 | 506 | div_pos (Real.exp_pos _) hC |
| 522 | 507 | |
| 523 | -/-- The true logarithmic derivative is the prescribed `ξ₀=Λκ`. -/ | |
| 524 | -theorem AnalyticInputs.realAmplitude_logDerivative {h j σ : ℝ} {P : ℝ → ℝ} | |
| 525 | - (d : AnalyticInputs h j σ P) (Λ : ℝ) {C : ℝ} (hC : 0 < C) | |
| 526 | - {x : ℝ} (hx : x ∈ window.interval) : | |
| 527 | - deriv (realAmplitude h j σ Λ C) x / realAmplitude h j σ Λ C x = | |
| 528 | - Λ * realGradient h j σ x := by | |
| 529 | - rw [(d.realAmplitude_hasDerivAt Λ C hx).deriv] | |
| 530 | - exact mul_div_cancel_right₀ _ (realAmplitude_pos h j σ Λ hC x).ne' | |
| 531 | - | |
| 532 | 508 | def AnalyticInputs.normalizationThreshold {h j σ : ℝ} {P : ℝ → ℝ} |
| 533 | 509 | (d : AnalyticInputs h j σ P) (Λ : ℝ) : ℝ := |
| 534 | 510 | Real.exp (Λ * realPartSup (axisPhase h j σ) d.compactSet) |
+0 −34 NavierStokes/NaturalAxisData.lean View file
| @@ -97,10 +97,6 @@ theorem neg_W_lower_bound {h j η : ℝ} (p : SmallParameters h j) | ||
| 97 | 97 | rw [neg_W_formula] |
| 98 | 98 | nlinarith [p.h_le, p.j_le] |
| 99 | 99 | |
| 100 | -theorem neg_W_gt {h j η : ℝ} (p : SmallParameters h j) | |
| 101 | - (hη : η ∈ Icc (-1 : ℝ) 1) : 14 / 5 < -W h j η := by | |
| 102 | - linarith [neg_W_lower_bound p hη] | |
| 103 | - | |
| 104 | 100 | theorem H_contDiff (h j : ℝ) : ContDiff ℝ ∞ (H h j) := by |
| 105 | 101 | unfold H U d |
| 106 | 102 | exact (contDiff_const.mul contDiff_id).add |
| @@ -138,13 +134,6 @@ theorem H_pos_of_nonneg {h j η : ℝ} (p : SmallParameters h j) | ||
| 138 | 134 | exact add_pos_of_pos_of_nonneg (mul_pos (D_pos p) hpos) |
| 139 | 135 | (mul_nonneg (d_nonneg hη) hU) |
| 140 | 136 | |
| 141 | -theorem H_neg_of_le_left {h j η : ℝ} (p : SmallParameters h j) | |
| 142 | - (hη : η ∈ Icc (-1 : ℝ) 1) (hleft : η ≤ -j / 4) : H h j η < 0 := by | |
| 143 | - have hη0 : η < 0 := by linarith [p.j_pos] | |
| 144 | - have hU : U j η ≤ 0 := by dsimp [U]; linarith | |
| 145 | - exact add_neg_of_neg_of_nonpos (mul_neg_of_pos_of_neg (D_pos p) hη0) | |
| 146 | - (mul_nonpos_of_nonneg_of_nonpos (d_nonneg hη) hU) | |
| 147 | - | |
| 148 | 137 | theorem root_negative {h j η : ℝ} (p : SmallParameters h j) |
| 149 | 138 | (hη : η ∈ Icc (-1 : ℝ) 1) (hzero : H h j η = 0) : η < 0 := by |
| 150 | 139 | by_contra hn |
| @@ -354,27 +343,4 @@ theorem pressureData_of_ideal_prefix {g a : ℝ → ℝ} {cap B : ℝ} | ||
| 354 | 343 | · simp |
| 355 | 344 | · exact (mul_pos hpη (PressureDatum.deriv_pressure_pos hp hmass hpη)).le |
| 356 | 345 | |
| 357 | -/-- End-to-end real cutoff construction from the actual weighted pressure | |
| 358 | -integral and its ideal prefix, rather than assumed pressure conclusions. -/ | |
| 359 | -theorem ideal_prefix_cutoff_parameters {h j : ℝ} (p : SmallParameters h j) | |
| 360 | - {g a : ℝ → ℝ} {cap B : ℝ} | |
| 361 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 362 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 363 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 364 | - ∃ δ σ : ℝ, 0 < δ ∧ 0 < σ ∧ | |
| 365 | - (∀ η ∈ Icc (-1 : ℝ) 1, | |
| 366 | - |Z h j (PressureDatum.pressure g a) η| ≤ δ → 99 / 100 < chi h j σ η) ∧ | |
| 367 | - ContDiff ℝ ∞ (chi h j σ) := | |
| 368 | - exists_cutoff_parameters p (pressureData_of_ideal_prefix hp hB hg ha) | |
| 369 | - | |
| 370 | -theorem ideal_prefix_root_positive {h j : ℝ} (p : SmallParameters h j) | |
| 371 | - {g a : ℝ → ℝ} {cap B : ℝ} | |
| 372 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 373 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 374 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 375 | - ∃ η₀ : ℝ, η₀ ∈ Ioo (-j / 4) (-j / 5) ∧ H h j η₀ = 0 ∧ | |
| 376 | - j / 5 < Z h j (PressureDatum.pressure g a) η₀ ∧ | |
| 377 | - ∀ η ∈ Icc (-1 : ℝ) 1, H h j η = 0 → η = η₀ := | |
| 378 | - exists_root_with_positive_Z p (pressureData_of_ideal_prefix hp hB hg ha) | |
| 379 | - | |
| 380 | 346 | end NavierStokes.NaturalAxisData |
+0 −36 NavierStokes/NaturalAxisRange.lean View file
| @@ -48,25 +48,6 @@ theorem L_pos {h j η : ℝ} (p : Parameters h j) | ||
| 48 | 48 | (hη : η ∈ Icc (-1 : ℝ) 1) : 0 < L h η := by |
| 49 | 49 | linarith [L_lower_bound p hη] |
| 50 | 50 | |
| 51 | -theorem neg_W_lower_bound {h j η : ℝ} (p : Parameters h j) | |
| 52 | - (hη : η ∈ Icc (-1 : ℝ) 1) : 287 / 100 ≤ -W h j η := by | |
| 53 | - have hDj : 0 ≤ 2 * D h * j := | |
| 54 | - mul_nonneg (mul_nonneg (by norm_num) (D_pos p).le) p.j_pos.le | |
| 55 | - have hDjle : 2 * D h * j ≤ j := by | |
| 56 | - nlinarith [mul_nonneg (show 0 ≤ 1 - 2 * D h by linarith [(D_bounds p).2]) p.j_pos.le] | |
| 57 | - have hηDj : -(2 * D h * j) ≤ 2 * D h * j * η := by | |
| 58 | - nlinarith [mul_nonneg hDj (show 0 ≤ η + 1 by linarith [hη.1])] | |
| 59 | - have hhη : h * η ^ 2 ≤ h := by | |
| 60 | - have hp := mul_nonneg p.h_pos.le (d_nonneg hη) | |
| 61 | - dsimp [d] at hp | |
| 62 | - nlinarith | |
| 63 | - rw [neg_W_formula] | |
| 64 | - nlinarith [p.h_le, p.j_le] | |
| 65 | - | |
| 66 | -theorem neg_W_gt {h j η : ℝ} (p : Parameters h j) | |
| 67 | - (hη : η ∈ Icc (-1 : ℝ) 1) : 14 / 5 < -W h j η := by | |
| 68 | - linarith [neg_W_lower_bound p hη] | |
| 69 | - | |
| 70 | 51 | theorem H_left_neg {h j : ℝ} (p : Parameters h j) : H h j (-j / 4) < 0 := by |
| 71 | 52 | rw [H_at_left] |
| 72 | 53 | have hp := mul_pos (D_pos p) p.j_pos |
| @@ -89,13 +70,6 @@ theorem H_pos_of_nonneg {h j η : ℝ} (p : Parameters h j) | ||
| 89 | 70 | exact add_pos_of_pos_of_nonneg (mul_pos (D_pos p) hpos) |
| 90 | 71 | (mul_nonneg (d_nonneg hη) hU) |
| 91 | 72 | |
| 92 | -theorem H_neg_of_le_left {h j η : ℝ} (p : Parameters h j) | |
| 93 | - (hη : η ∈ Icc (-1 : ℝ) 1) (hleft : η ≤ -j / 4) : H h j η < 0 := by | |
| 94 | - have hη0 : η < 0 := by linarith [p.j_pos] | |
| 95 | - have hU : U j η ≤ 0 := by dsimp [U]; linarith | |
| 96 | - exact add_neg_of_neg_of_nonpos (mul_neg_of_pos_of_neg (D_pos p) hη0) | |
| 97 | - (mul_nonpos_of_nonneg_of_nonpos (d_nonneg hη) hU) | |
| 98 | - | |
| 99 | 73 | theorem root_negative {h j η : ℝ} (p : Parameters h j) |
| 100 | 74 | (hη : η ∈ Icc (-1 : ℝ) 1) (hzero : H h j η = 0) : η < 0 := by |
| 101 | 75 | by_contra hn |
| @@ -228,16 +202,6 @@ theorem ideal_prefix_cutoff_parameters {h j : ℝ} (p : Parameters h j) | ||
| 228 | 202 | ContDiff ℝ ∞ (chi h j σ) := |
| 229 | 203 | exists_cutoff_parameters p (pressureData_of_ideal_prefix hp hB hg ha) |
| 230 | 204 | |
| 231 | -theorem ideal_prefix_root_positive {h j : ℝ} (p : Parameters h j) | |
| 232 | - {g a : ℝ → ℝ} {cap B : ℝ} | |
| 233 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 234 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 235 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 236 | - ∃ η₀ : ℝ, η₀ ∈ Ioo (-j / 4) (-j / 5) ∧ H h j η₀ = 0 ∧ | |
| 237 | - j / 5 < Z h j (PressureDatum.pressure g a) η₀ ∧ | |
| 238 | - ∀ η ∈ Icc (-1 : ℝ) 1, H h j η = 0 → η = η₀ := | |
| 239 | - exists_root_with_positive_Z p (pressureData_of_ideal_prefix hp hB hg ha) | |
| 240 | - | |
| 241 | 205 | /-- Cancellation in the complete axis source preserves its strict margin. -/ |
| 242 | 206 | theorem base_source_lower {h j η : ℝ} (p : Parameters h j) |
| 243 | 207 | (hη : η ∈ Icc (-1 : ℝ) 1) : |
+0 −135 NavierStokes/NaturalCoefficientBridge.lean View file
| @@ -196,20 +196,6 @@ theorem naturalFlux_eq_radialFlux {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V P | ||
| 196 | 196 | simp only [naturalFlux, SlowDivergence.radialFlux, he.eq_of_nhds, hd, add_zero] |
| 197 | 197 | ring |
| 198 | 198 | |
| 199 | -/-- The same unscaled pressure solves the normalized slow pressure equation; | |
| 200 | -the `C⁻²` in that equation cancels the square of `C*f`. -/ | |
| 201 | -theorem natural_pressure_zero {h j Λ C : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} | |
| 202 | - (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) | |
| 203 | - (hC : C ≠ 0) {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) : | |
| 204 | - pressureCoefficient h C (naturalProfiles h C f U V P) 0 w = 0 := by | |
| 205 | - have hp := hs.pressure_smooth.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hw) | |
| 206 | - have hd : partialX P w = f w ^ 2 := | |
| 207 | - (partialX_eq_slice (hp.differentiableAt (by simp))).trans (hs.pressure_equation w hw) | |
| 208 | - simp only [pressureCoefficient, naturalProfiles, zeroSequence, ↓reduceIte, | |
| 209 | - convolution, Finset.Nat.antidiagonal_zero, Finset.sum_singleton, previous_zero, | |
| 210 | - zero_div, add_zero, hd] | |
| 211 | - field_simp ; ring | |
| 212 | - | |
| 213 | 199 | /-- Germ transfer to any actual slow sequence. Higher coefficients are |
| 214 | 200 | irrelevant at order zero. No order-zero residual equation is a hypothesis. -/ |
| 215 | 201 | theorem zero_of_natural_germs {h j Λ C : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| @@ -361,24 +347,6 @@ theorem zero_of_initial_profiles (hsmall : NaturalAxisData.SmallParameters h j) | ||
| 361 | 347 | |
| 362 | 348 | end ConstructedFamily |
| 363 | 349 | |
| 364 | -/-- The order-zero profile sequence formed from genuine histories. The | |
| 365 | -stored radial component is beta; `ofBeta` inserts its required factor `X`. -/ | |
| 366 | -noncomputable def historiesProfiles {D : ProfileHistories.RadialDomain} | |
| 367 | - (h C : ℝ) (Q : ProfileHistories.Profiles D) : SlowProfiles := | |
| 368 | - SlowResidualMatching.ofBeta (zeroSequence (fun p => C * Q.f p)) | |
| 369 | - (zeroSequence Q.U) | |
| 370 | - (zeroSequence (fun p => SlowDivergence.radialFlux h 0 Q.U p / p.1)) | |
| 371 | - (zeroSequence Q.pressure) | |
| 372 | - | |
| 373 | -theorem historiesProfiles_flux {D : ProfileHistories.RadialDomain} | |
| 374 | - (h C : ℝ) (Q : ProfileHistories.Profiles D) : | |
| 375 | - (historiesProfiles h C Q).flux 0 = SlowDivergence.radialFlux h 0 Q.U := by | |
| 376 | - funext p | |
| 377 | - change p.1 * (SlowDivergence.radialFlux h 0 Q.U p / p.1) = _ | |
| 378 | - by_cases hp : p.1 = 0 | |
| 379 | - · simp [SlowDivergence.radialFlux, hp] | |
| 380 | - · rw [mul_comm, div_mul_cancel₀ _ hp] | |
| 381 | - | |
| 382 | 350 | section Transition |
| 383 | 351 | |
| 384 | 352 | variable {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| @@ -390,35 +358,6 @@ variable (hP0 : ContDiff ℝ ∞ P0) (hT : 0 < T) | ||
| 390 | 358 | variable (hb : δ ≤ (TransitionRamp.ofNatural F hΛ hsmall hδ hδT hP0).bigTime) |
| 391 | 359 | variable (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) |
| 392 | 360 | |
| 393 | -/-- Concrete matching for the exact stock continuation later used by the | |
| 394 | -nominal profile. -/ | |
| 395 | -theorem transition_initial_fields : | |
| 396 | - let Q := TransitionRamp.physicalProfiles F hΛ hsmall hδ hδT hP0 | |
| 397 | - (κ := κ) hT hb hw₁ hw₂ | |
| 398 | - EqOn Q.f F.f (initialBand Λ) ∧ EqOn Q.U F.U (initialBand Λ) := by | |
| 399 | - constructor | |
| 400 | - · intro p hp | |
| 401 | - exact (TransitionRamp.physical_fields_natural F hΛ hsmall hδ hδT hP0 | |
| 402 | - T κ w₁ w₂ hp.1.2).1 | |
| 403 | - · intro p hp | |
| 404 | - exact (TransitionRamp.physical_fields_natural F hΛ hsmall hδ hδT hP0 | |
| 405 | - T κ w₁ w₂ hp.1.2).2 | |
| 406 | - | |
| 407 | -theorem transition_coefficients_zero {p : InnerPoint} (hp : p ∈ initialCore Λ) : | |
| 408 | - let Q := TransitionRamp.physicalProfiles F hΛ hsmall hδ hδT hP0 | |
| 409 | - (κ := κ) hT hb hw₁ hw₂ | |
| 410 | - angularCoefficient h (historiesProfiles h C Q) 0 p = 0 ∧ | |
| 411 | - axialCoefficient h (historiesProfiles h C Q) 0 p = 0 := by | |
| 412 | - let Q := TransitionRamp.physicalProfiles F hΛ hsmall hδ hδT hP0 | |
| 413 | - (κ := κ) hT hb hw₁ hw₂ | |
| 414 | - obtain ⟨hf, hu⟩ := transition_initial_fields F hΛ hsmall hδ hδT hP0 | |
| 415 | - (κ := κ) hT hb hw₁ hw₂ | |
| 416 | - apply zero_of_initial_profiles F hΛ hP0 hsmall Q rfl hf hu hp | |
| 417 | - · exact Filter.EventuallyEq.rfl | |
| 418 | - · exact Filter.EventuallyEq.rfl | |
| 419 | - · rw [historiesProfiles_flux] | |
| 420 | - · exact Filter.EventuallyEq.rfl | |
| 421 | - | |
| 422 | 361 | end Transition |
| 423 | 362 | |
| 424 | 363 | section ActualHierarchy |
| @@ -460,48 +399,6 @@ variable (hzero : ∀ p ∈ Ioo (0 : ℝ) r ×ˢ S, | ||
| 460 | 399 | |
| 461 | 400 | include ha hzero |
| 462 | 401 | |
| 463 | -theorem radial_densities_zero {R η : ℝ} (hR : R ∈ Icc (0 : ℝ) a) (hη : η ∈ S) : | |
| 464 | - SlowResidualMatching.thetaDensity h C f 0 (R, η) = 0 ∧ | |
| 465 | - SlowResidualMatching.zDensity h f 0 (R, η) = 0 := by | |
| 466 | - by_cases hz : R = 0 | |
| 467 | - · subst R | |
| 468 | - simp [SlowResidualMatching.thetaDensity, SlowResidualMatching.zDensity] | |
| 469 | - · have hp : 0 < R := lt_of_le_of_ne hR.1 (Ne.symm hz) | |
| 470 | - have hsum : 0 ≤ a + R := by linarith [hR.2] | |
| 471 | - have hsq : R ^ 2 / 2 < r := by | |
| 472 | - nlinarith [mul_nonneg (sub_nonneg.mpr hR.2) hsum] | |
| 473 | - have he := hzero (R ^ 2 / 2, η) ⟨⟨by positivity, hsq⟩, hη⟩ | |
| 474 | - simp only [SlowResidualMatching.thetaDensity, SlowResidualMatching.zDensity, | |
| 475 | - SlowResidualMatching.radiusPoint, he.1, he.2, mul_zero, and_self] | |
| 476 | - | |
| 477 | -/-- Both defining radial integrals vanish. This proves the integration | |
| 478 | -constants are zero, rather than only proving a derivative equation. -/ | |
| 479 | -theorem radial_primitives_zero {R η : ℝ} (hR : R ∈ Icc (0 : ℝ) a) (hη : η ∈ S) : | |
| 480 | - ProfileHistories.primitive (SlowResidualMatching.thetaDensity h C f 0) (R, η) = 0 ∧ | |
| 481 | - ProfileHistories.primitive (SlowResidualMatching.zDensity h f 0) (R, η) = 0 := by | |
| 482 | - have hint (F : InnerProfile) (hF : ∀ ρ ∈ Icc (0 : ℝ) a, F (ρ, η) = 0) : | |
| 483 | - ProfileHistories.primitive F (R, η) = 0 := by | |
| 484 | - change (∫ ρ in (0 : ℝ)..R, F (ρ, η)) = 0 | |
| 485 | - calc | |
| 486 | - _ = ∫ _ρ in (0 : ℝ)..R, (0 : ℝ) := by | |
| 487 | - apply intervalIntegral.integral_congr | |
| 488 | - intro ρ hρ | |
| 489 | - rw [uIcc_of_le hR.1] at hρ | |
| 490 | - exact hF ρ ⟨hρ.1, hρ.2.trans hR.2⟩ | |
| 491 | - _ = 0 := by simp | |
| 492 | - exact ⟨hint _ (fun ρ hρ => (radial_densities_zero (C := C) ha hzero hρ hη).1), | |
| 493 | - hint _ (fun ρ hρ => (radial_densities_zero (C := C) ha hzero hρ hη).2)⟩ | |
| 494 | - | |
| 495 | -/-- The canonical negative stress primitives are zero on the entire inner | |
| 496 | -half-line, including their defined zero extension across the axis. -/ | |
| 497 | -theorem radial_stresses_zero {R η : ℝ} (hR : R ≤ a) (hη : η ∈ S) : | |
| 498 | - SlowStressSupport.stress 2 (SlowResidualMatching.thetaDensity h C f 0) (R, η) = 0 ∧ | |
| 499 | - SlowStressSupport.stress 1 (SlowResidualMatching.zDensity h f 0) (R, η) = 0 := by | |
| 500 | - exact ⟨SlowStressSupport.stress_inner 2 | |
| 501 | - (fun η hη R hR => (radial_densities_zero (C := C) ha hzero hR hη).1) hR hη, | |
| 502 | - SlowStressSupport.stress_inner 1 | |
| 503 | - (fun η hη R hR => (radial_densities_zero (C := C) ha hzero hR hη).2) hR hη⟩ | |
| 504 | - | |
| 505 | 402 | end RadialPrimitives |
| 506 | 403 | |
| 507 | 404 | section ActualNatural |
| @@ -577,38 +474,6 @@ theorem fromNatural_coefficients_zero {p : InnerPoint} (hp0 : p ∈ initialCore | ||
| 577 | 474 | exact (ActualSlowAxis.fromNatural_base_values hp hP0 F hΛ hsmall hσ |
| 578 | 475 | hT hδ hδT κ hq.1.1.le hq.2).2.2.2 |
| 579 | 476 | |
| 580 | -/-- For the same constructed natural/ACT hierarchy, the defining integrals | |
| 581 | -and both canonical stresses vanish on a fixed positive neighborhood of the | |
| 582 | -axis. The radius here is strictly inside the natural coefficient core. -/ | |
| 583 | -theorem fromNatural_primitives_and_stresses_zero {R η : ℝ} | |
| 584 | - (hR : R ∈ Icc (0 : ℝ) (Real.sqrt (4 / Λ))) | |
| 585 | - (hη : (η : ℂ) ∈ ActualSlowAxis.parameterDomain | |
| 586 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow | |
| 587 | - (ActualSlowAxis.tubeWidth hp hP0 F hΛ hsmall hσ))) : | |
| 588 | - let A := ActualSlowAxis.fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 589 | - let f := SlowResidualMatching.hierarchyProfiles A | |
| 590 | - ProfileHistories.primitive (SlowResidualMatching.thetaDensity h C f 0) (R, η) = 0 ∧ | |
| 591 | - ProfileHistories.primitive (SlowResidualMatching.zDensity h f 0) (R, η) = 0 ∧ | |
| 592 | - SlowStressSupport.stress 2 (SlowResidualMatching.thetaDensity h C f 0) (R, η) = 0 ∧ | |
| 593 | - SlowStressSupport.stress 1 (SlowResidualMatching.zDensity h f 0) (R, η) = 0 := by | |
| 594 | - let A := ActualSlowAxis.fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 595 | - let f := SlowResidualMatching.hierarchyProfiles A | |
| 596 | - let S : Set ℝ := {η | (η : ℂ) ∈ ActualSlowAxis.parameterDomain | |
| 597 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow | |
| 598 | - (ActualSlowAxis.tubeWidth hp hP0 F hΛ hsmall hσ))} | |
| 599 | - have hz : ∀ p ∈ Ioo (0 : ℝ) (4 / Λ) ×ˢ S, | |
| 600 | - angularCoefficient h f 0 p = 0 ∧ axialCoefficient h f 0 p = 0 := by | |
| 601 | - intro p hp' | |
| 602 | - exact fromNatural_coefficients_zero hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 603 | - ⟨hp'.1, ActualSlowAxis.parameterDomain_real_interval hp'.2⟩ hp'.2 | |
| 604 | - have hpos : 0 < (4 : ℝ) / Λ := div_pos (by norm_num) hΛ | |
| 605 | - have ha : Real.sqrt (4 / Λ) ^ 2 / 2 < 4 / Λ := by | |
| 606 | - rw [Real.sq_sqrt hpos.le] | |
| 607 | - linarith | |
| 608 | - obtain ⟨hθ, hz'⟩ := radial_primitives_zero (C := C) ha hz hR hη | |
| 609 | - obtain ⟨hsθ, hsz⟩ := radial_stresses_zero (C := C) ha hz hR.2 hη | |
| 610 | - exact ⟨hθ, hz', hsθ, hsz⟩ | |
| 611 | - | |
| 612 | 477 | end ActualNatural |
| 613 | 478 | |
| 614 | 479 | end NavierStokes.NaturalCoefficientBridge |
+0 −175 NavierStokes/NaturalCore.lean View file
| @@ -185,46 +185,6 @@ theorem radialPrimitive_contDiffOn {Λ : ℝ} {f : ℝ × ℝ → ℝ} | ||
| 185 | 185 | have hmul := contDiffOn_fst.mul hi |
| 186 | 186 | exact hmul.congr (fun p _ => radialPrimitive_unit_interval f p) |
| 187 | 187 | |
| 188 | -theorem radial_interval_mem_domain {Λ : ℝ} {p : ℝ × ℝ} | |
| 189 | - (hp : p ∈ NaturalProfile.domain Λ) {r : ℝ} (hr : r ∈ uIcc (0 : ℝ) p.1) : | |
| 190 | - (r, p.2) ∈ NaturalProfile.domain Λ := by | |
| 191 | - change (Λ * p.1 ∈ Ioo (-20 : ℝ) 20) ∧ | |
| 192 | - p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right at hp | |
| 193 | - change (Λ * r ∈ Ioo (-20 : ℝ) 20) ∧ | |
| 194 | - p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right | |
| 195 | - refine ⟨?_, hp.2⟩ | |
| 196 | - have hr' : |r| ≤ |p.1| := by simpa only [sub_zero] using abs_sub_left_of_mem_uIcc hr | |
| 197 | - have hbound : |Λ * r| ≤ |Λ * p.1| := by | |
| 198 | - simpa only [abs_mul] using mul_le_mul_of_nonneg_left hr' (abs_nonneg Λ) | |
| 199 | - exact abs_lt.mp (hbound.trans_lt (abs_lt.mpr hp.1)) | |
| 200 | - | |
| 201 | -/-- The radial primitive has the claimed ordinary derivative by the | |
| 202 | -fundamental theorem of calculus on its actual profile domain. -/ | |
| 203 | -theorem radialPrimitive_hasDerivAt {Λ : ℝ} {f : ℝ × ℝ → ℝ} | |
| 204 | - (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) | |
| 205 | - {p : ℝ × ℝ} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 206 | - HasDerivAt (fun r => radialPrimitive f (r, p.2)) (f p) p.1 := by | |
| 207 | - let I : Set ℝ := {r | (r, p.2) ∈ NaturalProfile.domain Λ} | |
| 208 | - have hI : IsOpen I := (NaturalProfile.domain_isOpen Λ).preimage | |
| 209 | - (continuous_id.prodMk continuous_const) | |
| 210 | - have hcont : ∀ r ∈ I, ContinuousAt (fun s => f (s, p.2)) r := by | |
| 211 | - intro r hr | |
| 212 | - exact ((hf.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hr)).comp r | |
| 213 | - (contDiffAt_id.prodMk contDiffAt_const)).continuousAt | |
| 214 | - have hsegment : ContinuousOn (fun r => f (r, p.2)) (uIcc 0 p.1) := by | |
| 215 | - intro r hr | |
| 216 | - exact (hcont r (radial_interval_mem_domain hp hr)).continuousWithinAt | |
| 217 | - exact intervalIntegral.integral_hasDerivAt_right hsegment.intervalIntegrable | |
| 218 | - (ContinuousAt.stronglyMeasurableAtFilter hI hcont p.1 hp) (hcont p.1 hp) | |
| 219 | - | |
| 220 | -theorem partialS_eq_deriv_slice {F : Profile} {p : ProfilePoint} | |
| 221 | - (hF : DifferentiableAt ℝ F p) : | |
| 222 | - partialS F p = deriv (fun s => F (p.1, (s, p.2.2))) p.2.1 := by | |
| 223 | - symm | |
| 224 | - exact (hF.hasFDerivAt.comp_hasDerivAt p.2.1 | |
| 225 | - ((hasDerivAt_const p.2.1 p.1).prodMk | |
| 226 | - ((hasDerivAt_id p.2.1).prodMk (hasDerivAt_const p.2.1 p.2.2)))).deriv | |
| 227 | - | |
| 228 | 188 | theorem meridionalPotential_contDiffAt {h Λ : ℝ} {V : ℝ × ℝ → ℝ} |
| 229 | 189 | (hh : 0 < h) (hh1 : h < 1 / 2) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) |
| 230 | 190 | {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : |
| @@ -244,40 +204,6 @@ theorem swirlPotential_contDiffAt {h Λ : ℝ} {f : ℝ × ℝ → ℝ} | ||
| 244 | 204 | ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2)).comp p |
| 245 | 205 | (similarityPoint_contDiffAt hh hh1 hp.1)) |
| 246 | 206 | |
| 247 | -theorem meridionalPotential_partialS {h Λ : ℝ} {V : ℝ × ℝ → ℝ} | |
| 248 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) | |
| 249 | - {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : | |
| 250 | - partialS (meridionalPotential h V) p = | |
| 251 | - physicalQ h p ^ (-NaturalAxisData.A h) / physicalQ h p * | |
| 252 | - NaturalAxisBridge.partialY V (similarityPoint h p) := by | |
| 253 | - have hVs : DifferentiableAt ℝ | |
| 254 | - (fun X => V (X, physicalEta h p)) (p.2.1 / physicalQ h p) := | |
| 255 | - ((hV.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2)).comp | |
| 256 | - (p.2.1 / physicalQ h p) (contDiffAt_id.prodMk contDiffAt_const)).differentiableAt (by simp) | |
| 257 | - rw [partialS_eq_deriv_slice | |
| 258 | - ((meridionalPotential_contDiffAt hh hh1 hV hp).differentiableAt (by simp))] | |
| 259 | - have hd := (hVs.hasDerivAt.comp p.2.1 | |
| 260 | - ((hasDerivAt_id p.2.1).div_const (physicalQ h p))).const_mul | |
| 261 | - (physicalQ h p ^ (-NaturalAxisData.A h)) | |
| 262 | - convert! hd.deriv using 1 | |
| 263 | - dsimp only [meridionalPotential, similarityPoint, | |
| 264 | - physicalQ, physicalEta, NaturalAxisBridge.partialY] | |
| 265 | - ring | |
| 266 | - | |
| 267 | -theorem swirlPotential_partialS {h Λ : ℝ} {f : ℝ × ℝ → ℝ} | |
| 268 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) | |
| 269 | - {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : | |
| 270 | - partialS (swirlPotential h f) p = | |
| 271 | - -(physicalQ h p ^ (-h) / physicalQ h p) * f (similarityPoint h p) := by | |
| 272 | - rw [partialS_eq_deriv_slice | |
| 273 | - ((swirlPotential_contDiffAt hh hh1 hf hp).differentiableAt (by simp))] | |
| 274 | - have hd := ((radialPrimitive_hasDerivAt hf hp.2).comp p.2.1 | |
| 275 | - ((hasDerivAt_id p.2.1).div_const (physicalQ h p))).const_mul | |
| 276 | - (-(physicalQ h p ^ (-h))) | |
| 277 | - convert! hd.deriv using 1 | |
| 278 | - dsimp only [swirlPotential, similarityPoint, physicalQ, physicalEta] | |
| 279 | - ring | |
| 280 | - | |
| 281 | 207 | /-- The potential is genuinely jointly smooth in Cartesian spacetime, |
| 282 | 208 | including the axis, throughout the explicitly stated core domain. -/ |
| 283 | 209 | theorem corePotential_contDiffAt {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} |
| @@ -319,85 +245,6 @@ theorem coreVelocity_divergence {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} | ||
| 319 | 245 | exact ((corePotential_contDiffAt hh hh1 hf hV hx).comp x |
| 320 | 246 | (contDiffAt_const.prodMk contDiffAt_id)).of_le (nat_le_infty 2) |
| 321 | 247 | |
| 322 | -/-- The averaged meridional potential recovers the actual axial profile. -/ | |
| 323 | -theorem coreVelocity_axial {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} | |
| 324 | - {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 325 | - (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) | |
| 326 | - {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) : | |
| 327 | - coreVelocity h f V (t, x) 2 = | |
| 328 | - physicalQ h (profilePoint t x) ^ (-NaturalAxisData.A h) * | |
| 329 | - U (similarityPoint h (profilePoint t x)) := by | |
| 330 | - have hH := (meridionalPotential_contDiffAt hh hh1 hs.average_smooth hx).differentiableAt (by simp) | |
| 331 | - have hK := (swirlPotential_contDiffAt hh hh1 hs.f_smooth hx).differentiableAt (by simp) | |
| 332 | - change velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 2 = _ | |
| 333 | - rw [velocity_two _ _ t x hH hK, | |
| 334 | - meridionalPotential_partialS hh hh1 hs.average_smooth hx, | |
| 335 | - ← hs.average_equation _ hx.2] | |
| 336 | - dsimp only [meridionalPotential, similarityPoint, profilePoint] | |
| 337 | - ring | |
| 338 | - | |
| 339 | -theorem coreVelocity_angular {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} | |
| 340 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 341 | - (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) | |
| 342 | - (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) | |
| 343 | - {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) : | |
| 344 | - x 0 * coreVelocity h f V (t, x) 1 - x 1 * coreVelocity h f V (t, x) 0 = | |
| 345 | - 2 * radialEnergy x * (physicalQ h (profilePoint t x) ^ (-h) / | |
| 346 | - physicalQ h (profilePoint t x)) * f (similarityPoint h (profilePoint t x)) := by | |
| 347 | - have hH := (meridionalPotential_contDiffAt hh hh1 hV hx).differentiableAt (by simp) | |
| 348 | - have hK := (swirlPotential_contDiffAt hh hh1 hf hx).differentiableAt (by simp) | |
| 349 | - change x 0 * velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 1 - | |
| 350 | - x 1 * velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 0 = _ | |
| 351 | - rw [velocity_one _ _ t x hH hK, velocity_zero _ _ t x hH hK, | |
| 352 | - swirlPotential_partialS hh hh1 hf hx] | |
| 353 | - dsimp only [radialEnergy] | |
| 354 | - ring | |
| 355 | - | |
| 356 | -theorem scaled_sqrt_identity {q s : ℝ} (hq : 0 < q) (hs : 0 ≤ s) (h : ℝ) : | |
| 357 | - Real.sqrt (2 * s) * (q ^ (-h) / q) = | |
| 358 | - q ^ (-NaturalAxisData.A h) * Real.sqrt (2 * (s / q)) := by | |
| 359 | - have hc : q ^ (-h) / q = q ^ (-NaturalAxisData.A h) / Real.sqrt q := by | |
| 360 | - rw [Real.sqrt_eq_rpow, ← Real.rpow_sub hq, ← Real.rpow_sub_one hq.ne'] | |
| 361 | - congr 1 | |
| 362 | - dsimp only [NaturalAxisData.A] | |
| 363 | - ring | |
| 364 | - rw [show 2 * (s / q) = (2 * s) / q by ring, | |
| 365 | - Real.sqrt_div (mul_nonneg (by norm_num) hs), hc] | |
| 366 | - ring | |
| 367 | - | |
| 368 | -/-- Away from the axis the cylindrical azimuthal velocity is precisely | |
| 369 | -`q^(-A) sqrt(2X) f(X,eta)`. The Cartesian field remains smooth on the axis. -/ | |
| 370 | -theorem coreVelocity_swirl {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} | |
| 371 | - (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 372 | - (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) | |
| 373 | - (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) | |
| 374 | - {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) (hs : 0 < radialEnergy x) : | |
| 375 | - (x 0 * coreVelocity h f V (t, x) 1 - x 1 * coreVelocity h f V (t, x) 0) / | |
| 376 | - Real.sqrt (2 * radialEnergy x) = | |
| 377 | - physicalQ h (profilePoint t x) ^ (-NaturalAxisData.A h) * | |
| 378 | - Real.sqrt (2 * (similarityPoint h (profilePoint t x)).1) * | |
| 379 | - f (similarityPoint h (profilePoint t x)) := by | |
| 380 | - rw [coreVelocity_angular hh hh1 hf hV hx] | |
| 381 | - have hr : Real.sqrt (2 * radialEnergy x) ≠ 0 := | |
| 382 | - (Real.sqrt_pos.mpr (mul_pos (by norm_num) hs)).ne' | |
| 383 | - have hr2 : Real.sqrt (2 * radialEnergy x) ^ 2 = 2 * radialEnergy x := | |
| 384 | - Real.sq_sqrt (mul_nonneg (by norm_num) hs.le) | |
| 385 | - have hquot : (2 * radialEnergy x) / Real.sqrt (2 * radialEnergy x) = | |
| 386 | - Real.sqrt (2 * radialEnergy x) := | |
| 387 | - (div_eq_iff hr).2 (by simpa only [pow_two] using hr2.symm) | |
| 388 | - calc | |
| 389 | - _ = Real.sqrt (2 * radialEnergy x) * | |
| 390 | - (physicalQ h (profilePoint t x) ^ (-h) / physicalQ h (profilePoint t x)) * | |
| 391 | - f (similarityPoint h (profilePoint t x)) := by | |
| 392 | - calc | |
| 393 | - _ = ((2 * radialEnergy x) / Real.sqrt (2 * radialEnergy x)) * | |
| 394 | - (physicalQ h (profilePoint t x) ^ (-h) / physicalQ h (profilePoint t x)) * | |
| 395 | - f (similarityPoint h (profilePoint t x)) := by ring | |
| 396 | - _ = _ := by rw [hquot] | |
| 397 | - _ = _ := by | |
| 398 | - rw [scaled_sqrt_identity (physicalQ_pos hh hh1 hx.1) hs.le] | |
| 399 | - rfl | |
| 400 | - | |
| 401 | 248 | /-- The axial velocity is exactly the prescribed nonzero axis datum, |
| 402 | 249 | multiplied by the singular similarity scale. -/ |
| 403 | 250 | theorem coreVelocity_at_origin {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} |
| @@ -459,28 +306,6 @@ theorem coreVelocity_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} | ||
| 459 | 306 | SpeedUnboundedAtOne (coreVelocity h f V) := |
| 460 | 307 | speedUnbounded_of_axis_tendsto (coreVelocity_axis_tendsto_atTop hh hh1 hj hs) |
| 461 | 308 | |
| 462 | -/-- Any field which agrees with the core along the axis sufficiently near | |
| 463 | -time one has the exact target's quantified unbounded-speed property. -/ | |
| 464 | -theorem extension_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} | |
| 465 | - {f U V Pr : ℝ × ℝ → ℝ} {u : VelocityField} | |
| 466 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) | |
| 467 | - (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) | |
| 468 | - (hagrees : ∀ᶠ t in 𝓝[<] (1 : ℝ), u (t, 0) = coreVelocity h f V (t, 0)) : | |
| 469 | - SpeedUnboundedAtOne u := by | |
| 470 | - apply speedUnbounded_of_axis_tendsto | |
| 471 | - apply (coreVelocity_axis_tendsto_atTop hh hh1 hj hs).congr' | |
| 472 | - exact hagrees.mono (fun t ht => congrArg norm ht.symm) | |
| 473 | - | |
| 474 | -theorem extension_on_core_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} | |
| 475 | - {f U V Pr : ℝ × ℝ → ℝ} {u : VelocityField} | |
| 476 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) | |
| 477 | - (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) | |
| 478 | - (hagrees : EqOn u (coreVelocity h f V) (coreDomain h Λ)) : | |
| 479 | - SpeedUnboundedAtOne u := by | |
| 480 | - apply extension_speedUnbounded hh hh1 hj hs | |
| 481 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 482 | - exact hagrees (core_axis_mem h Λ ht) | |
| 483 | - | |
| 484 | 309 | /-- The constructed natural profiles produce an actual smooth, |
| 485 | 310 | divergence-free physical core with unbounded speed. This is a local core |
| 486 | 311 | existence statement, not the existence of the final forced periodic flow. -/ |
+0 −64 NavierStokes/NaturalEntrance.lean View file
| @@ -317,29 +317,6 @@ def referenceRemainder {h j σ : ℝ} {P0 : ℝ → ℝ} (v : CoefficientFamily | ||
| 317 | 317 | (p : entranceSet) : ℝ := |
| 318 | 318 | sourceRemainder h j σ p 0 (sourceJets v.epsilon_pos (referencePair v) p) |
| 319 | 319 | |
| 320 | -theorem reference_phi_value {h j σ : ℝ} {P0 : ℝ → ℝ} (v : CoefficientFamily h j σ P0) | |
| 321 | - (p : entranceSet) : | |
| 322 | - sourceJets v.epsilon_pos (referencePair v) p 0 = | |
| 323 | - AxisSeries.profile (NaturalAxisData.chi h j σ p.val.2) p.val.1 := by | |
| 324 | - have hη : p.val.2 ∈ window.interval := | |
| 325 | - ⟨(original_interval_interior p.property.2).1.le, (original_interval_interior p.property.2).2.le⟩ | |
| 326 | - change AxisEvaluation.mixedSeries window v.epsilon (referencePair v).1 0 0 p.val = _ | |
| 327 | - rw [AxisEvaluation.mixedSeries_zero] | |
| 328 | - change AxisEvaluation.profile window v.epsilon | |
| 329 | - (referenceCoefficients window v.epsilon_pos (v.elements .chi) v.axisData).1 | |
| 330 | - (p.val.1, p.val.2) = _ | |
| 331 | - rw [AxisReference.referenceCoefficients_profile_eq_series window v.epsilon_pos | |
| 332 | - (v.elements .chi) v.axisData v.compatible hη] | |
| 333 | - rw [v.value .chi hη] | |
| 334 | - rfl | |
| 335 | - | |
| 336 | -theorem reference_phi_lower {h j σ : ℝ} {P0 : ℝ → ℝ} (v : CoefficientFamily h j σ P0) | |
| 337 | - (hσ : 0 < σ) (p : entranceSet) : | |
| 338 | - 1 / 4 < sourceJets v.epsilon_pos (referencePair v) p 0 := by | |
| 339 | - rw [reference_phi_value v p] | |
| 340 | - exact AxisSeries.profile_gt_quarter _ _ (NaturalAxisData.chi_bounds h j hσ _).1 | |
| 341 | - (NaturalAxisData.chi_bounds h j hσ _).2.le p.property.1.1 p.property.1.2 | |
| 342 | - | |
| 343 | 320 | theorem reference_phiY_zero {h j σ : ℝ} {P0 : ℝ → ℝ} (v : CoefficientFamily h j σ P0) |
| 344 | 321 | (p : entranceSet) (hchi : NaturalAxisData.chi h j σ p.val.2 = 0) : |
| 345 | 322 | sourceJets v.epsilon_pos (referencePair v) p 1 = 0 := by |
| @@ -1155,23 +1132,6 @@ theorem exists_entranceProfile {h j σ δ : ℝ} {P0 : ℝ → ℝ} | ||
| 1155 | 1132 | exact F.cone_at_four hsmall hδ hΛone hΛN hC hcut hη |
| 1156 | 1133 | (ha (4 / Λ, η) hpoint (by positivity)) |
| 1157 | 1134 | |
| 1158 | -/-- Ideal-prefix pressure data produce the actual initial stress-free | |
| 1159 | -cone test in the prescribed order: cutoff, common analytic radius, scale, | |
| 1160 | -and only then normalization. -/ | |
| 1161 | -theorem ideal_prefix_entranceProfile {h j : ℝ} | |
| 1162 | - (hsmall : NaturalAxisRange.Parameters h j) | |
| 1163 | - {g a : ℝ → ℝ} {cap B : ℝ} | |
| 1164 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 1165 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 1166 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 1167 | - ∃ δ σ : ℝ, 0 < δ ∧ 0 < σ ∧ | |
| 1168 | - ∃ d : AnalyticInputs h j σ (PressureDatum.pressure g a), | |
| 1169 | - ∃ M : ℝ, 0 < M ∧ ∀ Λ : ℝ, M ≤ Λ → ∀ C : ℝ, | |
| 1170 | - entranceNormalization d Λ δ ≤ C → Nonempty (EntranceProfile d Λ C) := by | |
| 1171 | - obtain ⟨δ, σ, hδ, hσ, hcut, ⟨d⟩⟩ := ideal_prefix_analytic_inputs hsmall hp hB hg ha | |
| 1172 | - exact ⟨δ, σ, hδ, hσ, d, | |
| 1173 | - exists_entranceProfile d hsmall hσ (PressureDatum.pressure_contDiff hp) hδ hcut⟩ | |
| 1174 | - | |
| 1175 | 1135 | private theorem first_two_derivatives_continuous {g : ℝ → ℝ} {x : ℝ} |
| 1176 | 1136 | (hg : ContDiffAt ℝ 2 g x) : |
| 1177 | 1137 | ContinuousAt (deriv g) x ∧ ContinuousAt (deriv (deriv g)) x := by |
| @@ -1361,30 +1321,6 @@ theorem EntranceProfile.regular_lag_coordinates {h j σ Λ C : ℝ} {P0 : ℝ | ||
| 1361 | 1321 | unfold p2 |
| 1362 | 1322 | rw [hn, ← mul_div_assoc, div_div] |
| 1363 | 1323 | |
| 1364 | -/-- The strict entrance inequality also holds when written entirely in | |
| 1365 | -terms of the source-integral stocks, with no independent stock hypotheses. -/ | |
| 1366 | -theorem EntranceProfile.regular_cone_at_four {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1367 | - {d : AnalyticInputs h j σ P0} (F : EntranceProfile d Λ C) | |
| 1368 | - (hsmall : NaturalAxisRange.Parameters h j) (hΛ : 0 < Λ) | |
| 1369 | - {η : ℝ} (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 1370 | - let p : ℝ × ℝ := (4 / Λ, η) | |
| 1371 | - let q := p.1 * regularAngularLag h F.profile.family.f F.profile.family.U | |
| 1372 | - F.profile.family.Ubar p / NaturalAxisData.L h η | |
| 1373 | - let n := p.1 * regularAxialLag h F.profile.family.U F.profile.family.Ubar | |
| 1374 | - F.profile.family.Pi p / (NaturalAxisData.L h η * angularVelocity F.profile.family.f p) | |
| 1375 | - 9 / 4 < q + n ^ 2 / q := by | |
| 1376 | - dsimp only | |
| 1377 | - have hpoint : rescalePoint Λ (4 / Λ, η) ∈ entranceSet := by | |
| 1378 | - have heq : Λ * (4 / Λ) = 4 := by field_simp | |
| 1379 | - change (Λ * (4 / Λ), η) ∈ entranceSet | |
| 1380 | - rw [heq] | |
| 1381 | - exact ⟨by norm_num, hη⟩ | |
| 1382 | - obtain ⟨hq, hn⟩ := F.regular_lag_coordinates hsmall hΛ hpoint (by positivity) | |
| 1383 | - change p1 F.profile.family.f (4 / Λ, η) = _ at hq | |
| 1384 | - change p2 F.profile.family.f F.profile.family.U (4 / Λ, η) = _ at hn | |
| 1385 | - rw [← hq, ← hn] | |
| 1386 | - exact F.cone_margin η hη | |
| 1387 | - | |
| 1388 | 1324 | end NavierStokes.NaturalEntrance |
| 1389 | 1325 | |
| 1390 | 1326 | end |
+0 −16 NavierStokes/NaturalExitBounds.lean View file
| @@ -225,20 +225,4 @@ theorem Estimates.regular_lag_bounds {Λ C : ℝ} {E : EntranceProfile d Λ C} { | ||
| 225 | 225 | exact ⟨H.p1_lower X η hX hYX hη, (H.p1_positive_upper X η hX hYX hη).1, |
| 226 | 226 | (H.p1_positive_upper X η hX hYX hη).2, H.ns_error (X, η) hp⟩ |
| 227 | 227 | |
| 228 | -/-- The analytic inputs and cutoff are constructed from the ideal-prefix | |
| 229 | -pressure datum; no separate analytic-family or exit estimate is assumed. -/ | |
| 230 | -theorem ideal_prefix_exit {h j : ℝ} (hsmall : NaturalAxisRange.Parameters h j) | |
| 231 | - {g a : ℝ → ℝ} {cap amplitude : ℝ} | |
| 232 | - (hp : PressureDatum.Admissible g a cap) (hA : 2 ≤ amplitude) | |
| 233 | - (hg : ∀ y ≤ 0, g y = amplitude ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 234 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 235 | - ∃ δ σ : ℝ, 0 < δ ∧ 0 < σ ∧ | |
| 236 | - ∃ d : AnalyticInputs h j σ (PressureDatum.pressure g a), | |
| 237 | - 0 < lowerConstant d ∧ ∃ B : ℕ → ℝ, (∀ m, 1 ≤ B m) ∧ | |
| 238 | - ∃ M > 0, ∀ Λ ≥ M, ∀ C, entranceNormalization d Λ δ ≤ C → | |
| 239 | - ∃ E : EntranceProfile d Λ C, Estimates d E B := by | |
| 240 | - obtain ⟨δ, σ, hδ, hσ, hcut, ⟨d⟩⟩ := ideal_prefix_analytic_inputs hsmall hp hA hg ha | |
| 241 | - exact ⟨δ, σ, hδ, hσ, d, | |
| 242 | - exists_exit d hsmall hσ (PressureDatum.pressure_contDiff hp) hδ hcut⟩ | |
| 243 | - | |
| 244 | 228 | end NavierStokes.NaturalExitBounds |
+0 −19 NavierStokes/NaturalProfile.lean View file
| @@ -79,15 +79,6 @@ theorem pullback_hasDerivAt_Y {F : ℝ × ℝ → ℝ} | ||
| 79 | 79 | simp only [Function.comp_def, mul_one] at hd |
| 80 | 80 | convert! hd using 1 ; simp only [rescalePoint, partialY, mul_comm] |
| 81 | 81 | |
| 82 | -theorem pullback_partialY {F : ℝ × ℝ → ℝ} | |
| 83 | - (hF : ContDiffOn ℝ ∞ F (AxisEvaluation.strip window 20)) | |
| 84 | - (Λ : ℝ) {p : ℝ × ℝ} (hp : p ∈ domain Λ) : | |
| 85 | - partialY (pullback Λ F) p = Λ * partialY F (rescalePoint Λ p) := | |
| 86 | - (pullback_hasDerivAt_Y hF Λ hp).deriv | |
| 87 | - | |
| 88 | -theorem pullback_partialEta (Λ : ℝ) (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : | |
| 89 | - partialEta (pullback Λ F) p = partialEta F (rescalePoint Λ p) := rfl | |
| 90 | - | |
| 91 | 82 | theorem pullback_second_Y {F : ℝ × ℝ → ℝ} |
| 92 | 83 | (hF : ContDiffOn ℝ ∞ F (AxisEvaluation.strip window 20)) |
| 93 | 84 | (Λ : ℝ) {p : ℝ × ℝ} (hp : p ∈ domain Λ) : |
| @@ -112,16 +103,6 @@ theorem pullback_second_Y {F : ℝ × ℝ → ℝ} | ||
| 112 | 103 | simp only [iteratedDeriv_succ, iteratedDeriv_zero] |
| 113 | 104 | ring |
| 114 | 105 | |
| 115 | -theorem pullback_radialDifferential {F : ℝ × ℝ → ℝ} | |
| 116 | - (hF : ContDiffOn ℝ ∞ F (AxisEvaluation.strip window 20)) | |
| 117 | - (Λ : ℝ) (r : ℕ) {p : ℝ × ℝ} (hp : p ∈ domain Λ) : | |
| 118 | - radialDifferential r (pullback Λ F) p = | |
| 119 | - Λ * radialDifferential r F (rescalePoint Λ p) := by | |
| 120 | - unfold radialDifferential | |
| 121 | - rw [pullback_second_Y hF Λ hp, pullback_partialY hF Λ hp] | |
| 122 | - dsimp [rescalePoint] | |
| 123 | - ring | |
| 124 | - | |
| 125 | 106 | theorem affineProfile_partialY {F : ℝ × ℝ → ℝ} |
| 126 | 107 | (hF : ContDiffOn ℝ ∞ F (AxisEvaluation.strip window 20)) |
| 127 | 108 | (b : ℝ → ℝ) (c Λ : ℝ) {p : ℝ × ℝ} (hp : p ∈ domain Λ) : |
+0 −19 NavierStokes/NilpotentVolterra.lean View file
| @@ -184,9 +184,6 @@ theorem extendPath_continuous {R : ℝ} (hR : 0 ≤ R) (f : Path R) : | ||
| 184 | 184 | Continuous (extendPath hR f) := |
| 185 | 185 | f.continuous.comp continuous_projIcc |
| 186 | 186 | |
| 187 | -theorem extendPath_apply {R : ℝ} (hR : 0 ≤ R) (f : Path R) (ξ : Icc (0 : ℝ) R) : | |
| 188 | - extendPath hR f ξ = f ξ := by simp only [extendPath, projIcc_val] | |
| 189 | - | |
| 190 | 187 | def pathInverseValue {R : ℝ} (hR : 0 ≤ R) (c : Fin 6 → ℕ) (f : Path R) : Path R := |
| 191 | 188 | ⟨fun ξ i => regularPrimitive (c i) (fun s => extendPath hR f s i) ξ, |
| 192 | 189 | continuous_pi fun i => |
| @@ -1021,20 +1018,4 @@ theorem integralSolution_spec_open {R : ℝ} (hR : 0 ≤ R) | ||
| 1021 | 1018 | exact ⟨hholo.differentiableAt (Metric.isOpen_ball.mem_nhds hz'), heq z hz'⟩ |
| 1022 | 1019 | exact ⟨fun z hz => (hlocal z hz).1.differentiableWithinAt, fun z hz => (hlocal z hz).2⟩ |
| 1023 | 1020 | |
| 1024 | -/-- Zero axis data make the axis derivative depend only on the given forcing. -/ | |
| 1025 | -theorem IsRegularSolution.axis_derivative_eq_forcing | |
| 1026 | - {R : ℝ} {U : Set ℂ} {A₀ A₁ : VolterraAnalyticBounds.Coeff} | |
| 1027 | - {f W : VolterraAnalyticBounds.Field} (hsol : IsRegularSolution R U A₀ A₁ f W) | |
| 1028 | - (hU : IsOpen U) {z : ℂ} (hz : z ∈ U) (i : Fin 6) : | |
| 1029 | - radialDeriv W 0 z i = (1 / ((VolterraAnalyticBounds.exponent i : ℝ) + 1)) • f 0 z i := by | |
| 1030 | - have hp : VolterraAnalyticBounds.parameterDeriv W 0 z = 0 := by | |
| 1031 | - funext j | |
| 1032 | - have he : (fun w => W 0 w j) =ᶠ[𝓝 z] (fun _ : ℂ => (0 : ℂ)) := by | |
| 1033 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 1034 | - exact congrFun (hsol.axis_zero w hw) j | |
| 1035 | - exact he.deriv_eq.trans (deriv_const z 0) | |
| 1036 | - rw [hsol.axis_derivative z hz i] | |
| 1037 | - simp only [equationRHS, VolterraAnalyticBounds.matrixAction, | |
| 1038 | - hsol.axis_zero z hz, hp, Matrix.mulVec_zero, add_zero, Pi.add_apply, Pi.zero_apply] | |
| 1039 | - | |
| 1040 | 1021 | end NavierStokes.NilpotentVolterra |
+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 −9 NavierStokes/OscillatoryCurl.lean View file
| @@ -90,13 +90,4 @@ def potential (k : ℝ) (Φ : PressureField) (a : VelocityField) : VelocityField | ||
| 90 | 90 | def wave (k : ℝ) (Φ : PressureField) (a : VelocityField) : VelocityField := |
| 91 | 91 | SpatialCurl.spatialCurl (potential k Φ a) |
| 92 | 92 | |
| 93 | -theorem phaseNormal_contDiffOn {U : Set SpaceTime} {Φ : PressureField} | |
| 94 | - (hU : IsOpen U) (hΦ : ContDiffOn ℝ ∞ Φ U) : ContDiffOn ℝ ∞ (phaseNormal Φ) U := | |
| 95 | - (ResidualRegularity.contDiffOn_space_fderiv hU hΦ (m := ∞) (by simp)).continuousLinearMap_comp | |
| 96 | - gradientLinear | |
| 97 | - | |
| 98 | -/-- The coefficient remaining after removing the sine oscillation. -/ | |
| 99 | -def strippedRemainder (k : ℝ) (B : VelocityField) : VelocityField := | |
| 100 | - fun z => (1 / k) • SpatialCurl.spatialCurl B z | |
| 101 | - | |
| 102 | 93 | end NavierStokes.OscillatoryCurl |
+0 −12 NavierStokes/ParametricEvenDescent.lean View file
| @@ -363,16 +363,4 @@ theorem descend_square_local {U : Set ℝ} {R : ℝ} {F : Plane → E} | ||
| 363 | 363 | descend F (p, r ^ 2) = F (p, r) := |
| 364 | 364 | EvenSmoothDescent.descent_square_local (f := fun r => F (p, r)) (he p hp) hr |
| 365 | 365 | |
| 366 | -/-- The radial right jets in the joint descent are the exact even radial jets. -/ | |
| 367 | -theorem iteratedDerivWithin_descend_axis_local {U : Set ℝ} {R : ℝ} (hR : 0 < R) | |
| 368 | - {F : Plane → E} (hF : ContDiffOn ℝ ∞ F (U ×ˢ Ioo (-R) R)) | |
| 369 | - (he : ∀ p ∈ U, ∀ r ∈ Ioo (-R) R, F (p, -r) = F (p, r)) | |
| 370 | - {p : ℝ} (hp : p ∈ U) (n : ℕ) : | |
| 371 | - iteratedDerivWithin n (fun X => descend F (p, X)) (Ici 0) 0 = | |
| 372 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • | |
| 373 | - iteratedDeriv (2 * n) (fun r => F (p, r)) 0 := by | |
| 374 | - apply EvenSmoothDescent.iteratedDerivWithin_descent_zero_local (f := fun r => F (p, r)) hR | |
| 375 | - · exact hF.comp (contDiff_const.prodMk contDiff_id).contDiffOn (fun r hr => ⟨hp, hr⟩) | |
| 376 | - · exact he p hp | |
| 377 | - | |
| 378 | 366 | end NavierStokes.ParametricEvenDescent |
+0 −13 NavierStokes/ParametricFlatFactor.lean View file
| @@ -66,11 +66,6 @@ theorem coefficient_slice_contDiff {b : E × ℝ → ℝ} (hb : ContDiff ℝ ∞ | ||
| 66 | 66 | ContDiff ℝ ∞ (fun u : ℝ => b (p, u)) := |
| 67 | 67 | hb.comp (contDiff_const.prodMk contDiff_id) |
| 68 | 68 | |
| 69 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 70 | -theorem factor_at_zero {c : ℝ} (hc : 0 < c) (j : ℕ) (b : E × ℝ → ℝ) (p : E) : | |
| 71 | - factor c j b (p, 0) = b (p, 0) / (2 * c) := | |
| 72 | - FlatPrimitiveFactor.factor_at_zero hc j (fun u => b (p, u)) | |
| 73 | - | |
| 74 | 69 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 75 | 70 | theorem primitive_factorization (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) |
| 76 | 71 | (p : E) {x : ℝ} (hx : 0 < x) : |
| @@ -87,14 +82,6 @@ theorem primitive_eq_scale_mul_factor (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) | ||
| 87 | 82 | FlatPrimitive.scale, FlatCutoff.edge_of_nonpos c hx] |
| 88 | 83 | · exact primitive_factorization c j b y.1 (lt_of_not_ge hx) |
| 89 | 84 | |
| 90 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] in | |
| 91 | -theorem integral_original_factorization (c : ℝ) (j : ℕ) (b : E × ℝ → ℝ) | |
| 92 | - (p : E) {x : ℝ} (hx : 0 < x) : | |
| 93 | - (∫ u in (0 : ℝ)..x, (Real.exp (-c / u ^ 2) / u ^ j) * b (p, u)) = | |
| 94 | - Real.exp (-c / x ^ 2) * x ^ (3 - (j : ℝ)) * factor c j b (p, x) := by | |
| 95 | - rw [FlatPrimitiveFactor.integral_exp_eq_primitive c j (fun u => b (p, u)) hx.le, | |
| 96 | - primitive_factorization c j b p hx, FlatPrimitiveFactor.scale_eq_rpow c j hx] | |
| 97 | - | |
| 98 | 85 | theorem kernel_joint_contDiffAt (c : ℝ) (j : ℕ) {b : E × ℝ → ℝ} |
| 99 | 86 | (hb : ContDiff ℝ ∞ b) (y : E × ℝ) {t : ℝ} (ht : 0 < t) : |
| 100 | 87 | ContDiffAt ℝ ∞ (fun q : ℝ × (E × ℝ) => kernel c j b q.2 q.1) (t, y) := by |
+0 −23 NavierStokes/ParametricHeatTail.lean View file
| @@ -455,11 +455,6 @@ theorem weightedDebtJet_bound (square : Bool) (n : ℕ) {L ν : ℝ} | ||
| 455 | 455 | simpa only [weightedDebtJet, Real.norm_eq_abs, integral_const_mul, |
| 456 | 456 | integral_weightedKernel (lt_of_lt_of_le zero_lt_one hK) hpq, mul_div_assoc] using hb' |
| 457 | 457 | |
| 458 | -theorem weightedJet_integrable (square : Bool) (n : ℕ) {ν : ℝ} (hν : 0 ≤ ν) : | |
| 459 | - IntegrableOn (weightedJet W square h K q n ν) (Ioi K) := | |
| 460 | - chain_integrable (weightedJet_measurable hh hK hW square) | |
| 461 | - (weightedJet_dominated hh hK hB hweight hpq square) n hν | |
| 462 | - | |
| 463 | 458 | theorem weightedDebtJet_eq_iteratedDerivWithin (square : Bool) (n : ℕ) {ν : ℝ} (hν : 0 ≤ ν) : |
| 464 | 459 | iteratedDerivWithin n (weightedDebtJet W square h K q 0) (Ici 0) ν = |
| 465 | 460 | weightedDebtJet W square h K q n ν := |
| @@ -840,24 +835,6 @@ theorem physical_debts_integrable (d : TailData) {K eta : ℝ} (hK : 0 < K) | ||
| 840 | 835 | noncomputable def physicalEdit (d : TailData) (K eta X : ℝ) : ℝ := |
| 841 | 836 | outgoingEdit d (diffusion eta) K eta X |
| 842 | 837 | |
| 843 | -theorem physicalEdit_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : | |
| 844 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => physicalEdit d K p.2 p.1) | |
| 845 | - (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) := by | |
| 846 | - have hE := (outgoingProfile_joint_contDiffOn d hK).mono | |
| 847 | - (show Ioi (0 : ℝ) ×ˢ Icc (-1 : ℝ) 1 ⊆ Ioi 0 ×ˢ univ from fun p hp => ⟨hp.1, mem_univ _⟩) | |
| 848 | - have hD : ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => diffusion p.2) | |
| 849 | - (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) := diffusion_contDiff.comp_contDiffOn contDiffOn_snd | |
| 850 | - have hr : ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => 2 * diffusion p.2 / p.1) | |
| 851 | - (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) := | |
| 852 | - (contDiffOn_const.mul hD).div contDiffOn_fst (fun p hp => (show 0 < p.1 from hp.1).ne') | |
| 853 | - have hH := (RadialHeatProfile.profile_contDiffOn (a := 1 + d.h) (by linarith [d.h_pos])).comp | |
| 854 | - hr (show MapsTo (fun p : ℝ × ℝ => 2 * diffusion p.2 / p.1) | |
| 855 | - (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) (Ici 0) from fun p hp => | |
| 856 | - div_nonneg (mul_nonneg (by norm_num) (diffusion_mem hp.2).1) (show 0 < p.1 from hp.1).le) | |
| 857 | - have hs := (switch_contDiffOn hK).comp contDiffOn_fst | |
| 858 | - (show MapsTo (Prod.fst : ℝ × ℝ → ℝ) (Ioi 0 ×ˢ Icc (-1 : ℝ) 1) (Ioi 0) from fun _ hp => hp.1) | |
| 859 | - exact hE.mul (contDiffOn_const.add (hs.mul (hH.sub contDiffOn_const))) | |
| 860 | - | |
| 861 | 838 | theorem heat_ratio_physical {q s τ : ℝ} (hq : 0 < q) (hs : 0 < s) : |
| 862 | 839 | 2 * (τ / q) / (s / q) = 2 * τ / s := by |
| 863 | 840 | field_simp [hq.ne', hs.ne'] |
+0 −15 NavierStokes/ParametricModulation.lean View file
| @@ -457,21 +457,6 @@ theorem realized_profiles_uniform_eta_jets | ||
| 457 | 457 | hU (asRadialPrimitive_contDiff _ hprim.2) hperiodB KX Kη hKX hKη k |
| 458 | 458 | exact ⟨CE, CU, hCE, hCU, fun n hn X hX η hη => ⟨hbE n hn X hX η hη, hbU n hn X hX η hη⟩⟩ |
| 459 | 459 | |
| 460 | -/-- The constructed profiles agree exactly with the nominal profiles on one | |
| 461 | -open neighborhood of the prescribed boundary set, for every frequency. -/ | |
| 462 | -theorem realized_profiles_boundary_match | |
| 463 | - (r : TrueConeRealization a m p₁ p₂ K B) (E U : RadialParameter → ℝ) | |
| 464 | - (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) (hBK : B ⊆ K) : | |
| 465 | - ∃ N : Set RadialParameter, IsOpen N ∧ B ⊆ N ∧ ∀ n X η : ℝ, (X, η) ∈ N → | |
| 466 | - realizedE r E n X η = E (X, η) ∧ realizedU r E U n X η = U (X, η) := by | |
| 467 | - obtain ⟨N, hN, hBN, hz⟩ := r.boundary_vanishing E ha hm hBK | |
| 468 | - refine ⟨N, hN, hBN, ?_⟩ | |
| 469 | - intro n X η hp | |
| 470 | - have h := hz (X, η) hp (n * Real.log X) | |
| 471 | - simp only [realizedE, realizedU, RadialModulation.modulatedE, RadialModulation.modulatedU, | |
| 472 | - asRadialPrimitive, RadialModulation.phasePoint, h.1, h.2, zero_div, | |
| 473 | - Real.exp_zero, mul_one, add_zero, and_self] | |
| 474 | - | |
| 475 | 460 | theorem theta_derivative_asRadialPrimitive |
| 476 | 461 | (Q : RadialParameter × ℝ → ℝ) (hQ : ContDiff ℝ ∞ Q) (X η θ : ℝ) : |
| 477 | 462 | HasDerivAt (fun s => Q ((X, η), s)) |
+0 −69 NavierStokes/ParametricRadialExtension.lean View file
| @@ -184,13 +184,6 @@ theorem halfPlaneExtension_eq {g : Plane → E} | ||
| 184 | 184 | rw [SpacetimeGluing.smoothExtension_eqOn_past (halfPlaneLift_contDiffOn hg) hmem] |
| 185 | 185 | simp [halfPlaneLift, ProblemStatement.coordinateVector] |
| 186 | 186 | |
| 187 | -omit [CompleteSpace E] in | |
| 188 | -theorem halfPlaneExtension_zero {g : Plane → E} | |
| 189 | - (hg : ContDiffOn ℝ ∞ g (Ici 0 ×ˢ (univ : Set ℝ))) {p : Plane} (hp : p.1 ≤ -1) : | |
| 190 | - halfPlaneExtension g hg p = 0 := by | |
| 191 | - apply SpacetimeGluing.smoothExtension_zero_from | |
| 192 | - linarith | |
| 193 | - | |
| 194 | 187 | /-- The global smooth extension. The outer parameter cutoff and the |
| 195 | 188 | negative radial support bound are independent of the input profile. -/ |
| 196 | 189 | noncomputable def extension {S : Set ℝ} (w : ParameterWindow S) (F : Plane → E) |
| @@ -213,39 +206,12 @@ theorem extension_eq {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | ||
| 213 | 206 | rw [extension, halfPlaneExtension_eq _ hX, w.bump_one heta, one_smul] |
| 214 | 207 | simp only [descent, regularize, w.parameterMap_eq heta] |
| 215 | 208 | |
| 216 | -theorem extension_zero_negative {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 217 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 218 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 219 | - {p : Plane} (hX : p.1 ≤ -1) : extension w F hF he p = 0 := by | |
| 220 | - rw [extension, halfPlaneExtension_zero _ hX, smul_zero] | |
| 221 | - | |
| 222 | 209 | theorem extension_zero_parameter {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} |
| 223 | 210 | (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) |
| 224 | 211 | (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) |
| 225 | 212 | {p : Plane} (heta : w.outer ≤ |p.2|) : extension w F hF he p = 0 := by |
| 226 | 213 | rw [extension, w.bump_zero heta, zero_smul] |
| 227 | 214 | |
| 228 | -theorem extension_eqOn {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 229 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 230 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) : | |
| 231 | - EqOn (extension w F hF he) (descent F) (Ici 0 ×ˢ Ioo (-w.inner) w.inner) := by | |
| 232 | - intro p hp | |
| 233 | - exact extension_eq w hF he hp.1 (abs_lt.mpr hp.2).le | |
| 234 | - | |
| 235 | -/-- Every full mixed derivative of the extension, including at the axis, | |
| 236 | -is the genuine derivative within the physical closed half-plane. -/ | |
| 237 | -theorem extension_mixed_jets {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 238 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 239 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 240 | - (n : ℕ) {p : Plane} (hp : p ∈ Ici 0 ×ˢ Ioo (-w.inner) w.inner) : | |
| 241 | - iteratedFDeriv ℝ n (extension w F hF he) p = | |
| 242 | - iteratedFDerivWithin ℝ n (descent F) (Ici 0 ×ˢ Ioo (-w.inner) w.inner) p := by | |
| 243 | - have hu : UniqueDiffOn ℝ (Ici 0 ×ˢ Ioo (-w.inner) w.inner : Set Plane) := | |
| 244 | - (uniqueDiffOn_Ici 0).prod isOpen_Ioo.uniqueDiffOn | |
| 245 | - rw [← iteratedFDerivWithin_eq_iteratedFDeriv hu | |
| 246 | - ((extension_contDiff w hF he).of_le (nat_le_infty n)).contDiffAt hp] | |
| 247 | - exact iteratedFDerivWithin_congr (extension_eqOn w hF he) hp n | |
| 248 | - | |
| 249 | 215 | /-- Exact recovery on the signed radius. This also covers the axis. -/ |
| 250 | 216 | theorem extension_pullback {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} |
| 251 | 217 | (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) |
| @@ -259,23 +225,6 @@ theorem extension_pullback {S : Set ℝ} (w : ParameterWindow S) {F : Plane → | ||
| 259 | 225 | · rw [abs_of_neg (lt_of_not_ge hr)] |
| 260 | 226 | exact he eta (w.outer_subset (abs_lt.mp (heta.trans_lt w.inner_lt_outer))) r |
| 261 | 227 | |
| 262 | -/-- Exact right jets of the literal descended radial profile. -/ | |
| 263 | -theorem extension_radial_jets {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 264 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 265 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 266 | - (n : ℕ) {X eta : ℝ} (hX : 0 ≤ X) (heta : |eta| ≤ w.inner) : | |
| 267 | - iteratedDeriv n (fun Y => extension w F hF he (Y, eta)) X = | |
| 268 | - iteratedDerivWithin n (fun Y => F (Real.sqrt (2 * Y), eta)) (Ici 0) X := by | |
| 269 | - have hg : ContDiff ℝ ∞ (fun Y => extension w F hF he (Y, eta)) := | |
| 270 | - (extension_contDiff w hF he).comp (contDiff_id.prodMk contDiff_const) | |
| 271 | - have hwithin : iteratedDerivWithin n (fun Y => extension w F hF he (Y, eta)) (Ici 0) X = | |
| 272 | - iteratedDeriv n (fun Y => extension w F hF he (Y, eta)) X := by | |
| 273 | - rw [iteratedDerivWithin_eq_iteratedFDerivWithin, iteratedDeriv_eq_iteratedFDeriv, | |
| 274 | - iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Ici 0) | |
| 275 | - (hg.of_le (nat_le_infty n)).contDiffAt hX] | |
| 276 | - rw [← hwithin] | |
| 277 | - exact iteratedDerivWithin_congr (fun Y hY => extension_eq w hF he hY heta) hX | |
| 278 | - | |
| 279 | 228 | /-- Exterior support is inherited globally in the parameter, not only on |
| 280 | 229 | the interval where exact agreement with the input is required. -/ |
| 281 | 230 | theorem extension_zero_exterior {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} |
| @@ -292,22 +241,4 @@ theorem extension_zero_exterior {S : Set ℝ} (w : ParameterWindow S) {F : Plane | ||
| 292 | 241 | change w.bump p.2 • F (Real.sqrt (2 * p.1), w.parameterMap p.2) = 0 |
| 293 | 242 | rw [hzero _ (w.parameterMap_mem p.2) _ hsqrt, smul_zero] |
| 294 | 243 | |
| 295 | -/-- A uniform support rectangle for all profiles with the same exterior | |
| 296 | -radius. The negative extension occupies at most the fixed interval [-1,0]. -/ | |
| 297 | -theorem extension_tsupport {S : Set ℝ} (w : ParameterWindow S) {F : Plane → E} | |
| 298 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ S)) | |
| 299 | - (he : ∀ eta ∈ S, ∀ r, F (-r, eta) = F (r, eta)) | |
| 300 | - {B : ℝ} (hB : 0 ≤ B) | |
| 301 | - (hzero : ∀ eta ∈ S, ∀ r, B ≤ r → F (r, eta) = 0) : | |
| 302 | - tsupport (extension w F hF he) ⊆ | |
| 303 | - Icc (-1 : ℝ) (B ^ 2 / 2) ×ˢ Icc (-w.outer) w.outer := by | |
| 304 | - apply closure_minimal _ (isClosed_Icc.prod isClosed_Icc) | |
| 305 | - intro p hp | |
| 306 | - have hlo : -1 < p.1 := lt_of_not_ge fun h => hp (extension_zero_negative w hF he h) | |
| 307 | - have hhi : p.1 < B ^ 2 / 2 := | |
| 308 | - lt_of_not_ge fun h => hp (extension_zero_exterior w hF he hB hzero h) | |
| 309 | - have heta : |p.2| < w.outer := | |
| 310 | - lt_of_not_ge fun h => hp (extension_zero_parameter w hF he h) | |
| 311 | - exact ⟨⟨hlo.le, hhi.le⟩, abs_le.mp heta.le⟩ | |
| 312 | - | |
| 313 | 244 | end NavierStokes.ParametricRadialExtension |
+0 −6 NavierStokes/ParametricTerminalCompensation.lean View file
| @@ -29,12 +29,6 @@ theorem FirstJetWithinBound.mono {P : Patch} {a : ℝ → ℝ} {c : ℝ → Coef | ||
| 29 | 29 | intro x |
| 30 | 30 | exact ⟨(h x).1.trans hLM, (h x).2.1.trans hLM, (h x).2.2.trans hLM⟩ |
| 31 | 31 | |
| 32 | -theorem FirstJetWithinBound.toFirstJetBound {P : Patch} {a : ℝ → ℝ} {c : ℝ → Coeff} | |
| 33 | - {S : Set ℝ} {η L : ℝ} (h : FirstJetWithinBound P a c S η L) (hS : S ∈ 𝓝 η) : | |
| 34 | - FirstJetBound P a c η L := by | |
| 35 | - intro x | |
| 36 | - simpa only [derivWithin_of_mem_nhds hS] using h x | |
| 37 | - | |
| 38 | 32 | theorem compact_amplitude_within_bounds {S : Set ℝ} (hS : IsCompact S) |
| 39 | 33 | (huniq : UniqueDiffOn ℝ S) {a : ℝ → ℝ} (ha : ContDiffOn ℝ ∞ a S) |
| 40 | 34 | (hpos : ∀ η ∈ S, 0 < a η) : |
+0 −336 NavierStokes/ParametricTorusInverse.lean View file
| @@ -43,18 +43,12 @@ noncomputable def coefficient (f : Source) (p : ℝ) (k : Frequency) : ℂ := | ||
| 43 | 43 | |
| 44 | 44 | noncomputable def mean (f : Source) (p : ℝ) : ℂ := coefficient f p 0 |
| 45 | 45 | |
| 46 | -def ZeroMean (f : Source) : Prop := ∀ p, mean f p = 0 | |
| 47 | - | |
| 48 | 46 | noncomputable def inverse (d : Direction) (f : Source) (z : Point) : ℂ := |
| 49 | 47 | directionalInverse d (coefficient f z.1) z.2 |
| 50 | 48 | |
| 51 | 49 | noncomputable def iterateInverse (d : Direction) (n : ℕ) (f : Source) : Source := |
| 52 | 50 | (inverse d)^[n] f |
| 53 | 51 | |
| 54 | -theorem mean_eq_integral (f : Source) (p : ℝ) : | |
| 55 | - mean f p = ∫ y in (0 : ℝ)..1, ∫ x in (0 : ℝ)..1, f (p, (x, y)) := | |
| 56 | - SmoothFourierData.coefficient_zero_eq_integral _ | |
| 57 | - | |
| 58 | 52 | theorem slice_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (p : ℝ) : |
| 59 | 53 | ContDiff ℝ ∞ (slice f p) := |
| 60 | 54 | hf.comp (contDiff_const.prodMk contDiff_id) |
| @@ -81,31 +75,12 @@ theorem fixedPartial_periodic {f : Source} (hp : Periodic f) (v : Point) : | ||
| 81 | 75 | simpa only [slice, Prod.mk_add_mk, add_zero] using |
| 82 | 76 | congrArg (fun L : Point →L[ℝ] ℂ => L v) hd |
| 83 | 77 | |
| 84 | -theorem parameterPartial_periodic {f : Source} (hp : Periodic f) : | |
| 85 | - Periodic (parameterPartial f) := fixedPartial_periodic hp (1, 0) | |
| 86 | - | |
| 87 | 78 | theorem torusXJet_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 88 | 79 | ContDiff ℝ ∞ (torusXJet n f) := by |
| 89 | 80 | induction n with |
| 90 | 81 | | zero => exact hf |
| 91 | 82 | | succ n ih => exact torusXPartial_smooth ih |
| 92 | 83 | |
| 93 | -theorem parameterJet_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (n : ℕ) : | |
| 94 | - ContDiff ℝ ∞ (parameterJet n f) := by | |
| 95 | - induction n with | |
| 96 | - | zero => exact hf | |
| 97 | - | succ n ih => | |
| 98 | - rw [parameterJet, Function.iterate_succ_apply'] | |
| 99 | - exact parameterPartial_smooth ih | |
| 100 | - | |
| 101 | -theorem parameterJet_periodic {f : Source} (hp : Periodic f) (n : ℕ) : | |
| 102 | - Periodic (parameterJet n f) := by | |
| 103 | - induction n with | |
| 104 | - | zero => exact hp | |
| 105 | - | succ n ih => | |
| 106 | - rw [parameterJet, Function.iterate_succ_apply'] | |
| 107 | - exact parameterPartial_periodic ih | |
| 108 | - | |
| 109 | 84 | theorem swapTorus_smooth {f : Source} (hf : ContDiff ℝ ∞ f) : |
| 110 | 85 | ContDiff ℝ ∞ (swapTorus f) := |
| 111 | 86 | hf.comp (contDiff_fst.prodMk (contDiff_snd.snd.prodMk contDiff_snd.fst)) |
| @@ -171,14 +146,6 @@ theorem weightedSource_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (k : Freque | ||
| 171 | 146 | ((kernel_smooth k).comp (contDiff_snd.prodMk contDiff_fst.snd)).mul |
| 172 | 147 | (hf.comp (contDiff_fst.fst.prodMk (contDiff_snd.prodMk contDiff_fst.snd))) |
| 173 | 148 | |
| 174 | -theorem coefficient_smooth {f : Source} (hf : ContDiff ℝ ∞ f) (k : Frequency) : | |
| 175 | - ContDiff ℝ ∞ (fun p => coefficient f p k) := by | |
| 176 | - have hi := TransportPrimitive.parameterIntegral_contDiff (weightedSource_smooth hf k) | |
| 177 | - (0 : ℝ) 1 | |
| 178 | - have ho := TransportPrimitive.parameterIntegral_contDiff hi (0 : ℝ) 1 | |
| 179 | - simpa only [coefficient, SmoothFourierData.coefficient_eq_doubleIntegral, weightedSource, | |
| 180 | - slice] using ho | |
| 181 | - | |
| 182 | 149 | theorem coefficient_hasDerivAt {f : Source} (hf : ContDiff ℝ ∞ f) |
| 183 | 150 | (k : Frequency) (p : ℝ) : |
| 184 | 151 | HasDerivAt (fun q => coefficient f q k) (coefficient (parameterPartial f) p k) p := by |
| @@ -202,14 +169,6 @@ theorem coefficient_hasDerivAt {f : Source} (hf : ContDiff ℝ ∞ f) | ||
| 202 | 169 | simpa only [coefficient, SmoothFourierData.coefficient_eq_doubleIntegral, slice, |
| 203 | 170 | inner, innerD, weightedSource] using ho |
| 204 | 171 | |
| 205 | -theorem parameterPartial_zeroMean {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 206 | - (hm : ZeroMean f) : ZeroMean (parameterPartial f) := by | |
| 207 | - intro p | |
| 208 | - have he : (fun q => coefficient f q 0) = fun _ => (0 : ℂ) := funext hm | |
| 209 | - have hd := (coefficient_hasDerivAt hf 0 p).deriv | |
| 210 | - rw [he, deriv_const] at hd | |
| 211 | - exact hd.symm | |
| 212 | - | |
| 213 | 172 | /-- Uniform polynomial decay on any fixed compact parameter interval, |
| 214 | 173 | derived from bounds for actual torus derivatives. -/ |
| 215 | 174 | theorem exists_uniform_coefficient_bound {f : Source} (hf : ContDiff ℝ ∞ f) |
| @@ -305,22 +264,6 @@ theorem multiplied_coeff_bound {m a : Frequency → ℂ} {s : ℕ} {C B : ℝ} | ||
| 305 | 264 | _ = C * (weight k ^ (s + 4) * ‖a k‖) := by rw [pow_add]; ring |
| 306 | 265 | _ ≤ C * B := mul_le_mul_of_nonneg_left (ha k) hC |
| 307 | 266 | |
| 308 | -theorem uniform_multiplied_coeff_bound {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 309 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (a b : ℝ) : | |
| 310 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ p ∈ Icc a b, ∀ k, | |
| 311 | - ‖m k * coefficient f p k‖ ≤ C * (weight k ^ 4)⁻¹ := by | |
| 312 | - obtain ⟨s, M, hM, hm⟩ := hm | |
| 313 | - obtain ⟨B, hB, hbound⟩ := exists_uniform_coefficient_bound hf hp (s + 4) a b | |
| 314 | - exact ⟨M * B, mul_nonneg hM hB, fun p hp k => multiplied_coeff_bound hM hm (hbound p hp) k⟩ | |
| 315 | - | |
| 316 | -noncomputable def applyMultiplier (m : Frequency → ℂ) (f : Source) (z : Point) : ℂ := | |
| 317 | - series (fun k => m k * coefficient f z.1 k) z.2 | |
| 318 | - | |
| 319 | -theorem multiplied_coeff_rapid {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 320 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (p : ℝ) : | |
| 321 | - Rapid (fun k => m k * coefficient f p k) := | |
| 322 | - hm.rapid_mul (SmoothFourierData.rapid_coefficient (slice_smooth hf p) (hp p)) | |
| 323 | - | |
| 324 | 267 | noncomputable def jointDP : Point →L[ℝ] ℝ := ContinuousLinearMap.fst ℝ ℝ Plane |
| 325 | 268 | noncomputable def jointDX : Point →L[ℝ] ℝ := |
| 326 | 269 | TorusInverse.dx.comp (ContinuousLinearMap.snd ℝ ℝ Plane) |
| @@ -338,288 +281,9 @@ noncomputable def jointLiftY : ℂ →L[ℝ] (Point →L[ℝ] ℂ) := | ||
| 338 | 281 | @[simp] theorem jointLiftX_apply (c : ℂ) (v : Point) : jointLiftX c v = v.2.1 • c := rfl |
| 339 | 282 | @[simp] theorem jointLiftY_apply (c : ℂ) (v : Point) : jointLiftY c v = v.2.2 • c := rfl |
| 340 | 283 | |
| 341 | -noncomputable def multiplierTermDerivative (m : Frequency → ℂ) (f : Source) | |
| 342 | - (k : Frequency) (z : Point) : Point →L[ℝ] ℂ := | |
| 343 | - jointLiftP (m k * coefficient (parameterPartial f) z.1 k * mode k z.2) + | |
| 344 | - jointLiftX (multiplierX m k * coefficient f z.1 k * mode k z.2) + | |
| 345 | - jointLiftY (multiplierY m k * coefficient f z.1 k * mode k z.2) | |
| 346 | - | |
| 347 | -theorem hasFDerivAt_multiplierTerm {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 348 | - (m : Frequency → ℂ) (k : Frequency) (z : Point) : | |
| 349 | - HasFDerivAt (fun w : Point => m k * coefficient f w.1 k * mode k w.2) | |
| 350 | - (multiplierTermDerivative m f k z) z := by | |
| 351 | - have hc : HasFDerivAt (fun w : Point => coefficient f w.1 k) | |
| 352 | - (jointLiftP (coefficient (parameterPartial f) z.1 k)) z := by | |
| 353 | - convert! (coefficient_hasDerivAt hf k z.1).hasFDerivAt.comp z | |
| 354 | - (hasFDerivAt_fst) using 1 | |
| 355 | - have he : HasFDerivAt (fun w : Point => mode k w.2) | |
| 356 | - (mode k z.2 • ((phase k).comp (ContinuousLinearMap.snd ℝ ℝ Plane))) z := | |
| 357 | - ((phase k).hasFDerivAt.comp z (hasFDerivAt_snd)).cexp | |
| 358 | - have hd : multiplierTermDerivative m f k z = | |
| 359 | - (m k * coefficient f z.1 k) • | |
| 360 | - (mode k z.2 • ((phase k).comp (ContinuousLinearMap.snd ℝ ℝ Plane))) + | |
| 361 | - mode k z.2 • (m k • jointLiftP (coefficient (parameterPartial f) z.1 k)) := by | |
| 362 | - apply ContinuousLinearMap.ext | |
| 363 | - intro v | |
| 364 | - change v.1 • (m k * coefficient (parameterPartial f) z.1 k * mode k z.2) + | |
| 365 | - v.2.1 • (freqX k * m k * coefficient f z.1 k * mode k z.2) + | |
| 366 | - v.2.2 • (freqY k * m k * coefficient f z.1 k * mode k z.2) = | |
| 367 | - (m k * coefficient f z.1 k) • | |
| 368 | - (mode k z.2 • (v.2.1 • freqX k + v.2.2 • freqY k)) + | |
| 369 | - mode k z.2 • (m k • (v.1 • coefficient (parameterPartial f) z.1 k)) | |
| 370 | - simp only [Complex.real_smul, smul_eq_mul] | |
| 371 | - ring | |
| 372 | - rw [hd] | |
| 373 | - exact (hc.const_mul (m k)).mul he | |
| 374 | - | |
| 375 | -theorem norm_multiplierTermDerivative_le (m : Frequency → ℂ) (f : Source) | |
| 376 | - (k : Frequency) (z : Point) : | |
| 377 | - ‖multiplierTermDerivative m f k z‖ ≤ | |
| 378 | - ‖jointLiftP‖ * ‖m k * coefficient (parameterPartial f) z.1 k‖ + | |
| 379 | - ‖jointLiftX‖ * ‖multiplierX m k * coefficient f z.1 k‖ + | |
| 380 | - ‖jointLiftY‖ * ‖multiplierY m k * coefficient f z.1 k‖ := by | |
| 381 | - unfold multiplierTermDerivative | |
| 382 | - apply (norm_add_le _ _).trans | |
| 383 | - apply add_le_add | |
| 384 | - · apply (norm_add_le _ _).trans | |
| 385 | - apply add_le_add | |
| 386 | - · simpa only [norm_mul, norm_mode, mul_one] using | |
| 387 | - jointLiftP.le_opNorm (m k * coefficient (parameterPartial f) z.1 k * mode k z.2) | |
| 388 | - · simpa only [norm_mul, norm_mode, mul_one] using | |
| 389 | - jointLiftX.le_opNorm (multiplierX m k * coefficient f z.1 k * mode k z.2) | |
| 390 | - · simpa only [norm_mul, norm_mode, mul_one] using | |
| 391 | - jointLiftY.le_opNorm (multiplierY m k * coefficient f z.1 k * mode k z.2) | |
| 392 | - | |
| 393 | -theorem uniform_multiplierDerivative_bound {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 394 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (a b : ℝ) : | |
| 395 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ z : Point, z.1 ∈ Icc a b → ∀ k, | |
| 396 | - ‖multiplierTermDerivative m f k z‖ ≤ C * (weight k ^ 4)⁻¹ := by | |
| 397 | - obtain ⟨CP, hCP, hP⟩ := uniform_multiplied_coeff_bound hm | |
| 398 | - (parameterPartial_smooth hf) (parameterPartial_periodic hp) a b | |
| 399 | - obtain ⟨CX, hCX, hX⟩ := uniform_multiplied_coeff_bound hm.mulX hf hp a b | |
| 400 | - obtain ⟨CY, hCY, hY⟩ := uniform_multiplied_coeff_bound hm.mulY hf hp a b | |
| 401 | - refine ⟨‖jointLiftP‖ * CP + ‖jointLiftX‖ * CX + ‖jointLiftY‖ * CY, by positivity, ?_⟩ | |
| 402 | - intro z hz k | |
| 403 | - apply (norm_multiplierTermDerivative_le m f k z).trans | |
| 404 | - calc | |
| 405 | - _ ≤ ‖jointLiftP‖ * (CP * (weight k ^ 4)⁻¹) + | |
| 406 | - ‖jointLiftX‖ * (CX * (weight k ^ 4)⁻¹) + | |
| 407 | - ‖jointLiftY‖ * (CY * (weight k ^ 4)⁻¹) := by | |
| 408 | - gcongr | |
| 409 | - · exact hP z.1 hz k | |
| 410 | - · exact hX z.1 hz k | |
| 411 | - · exact hY z.1 hz k | |
| 412 | - _ = _ := by ring | |
| 413 | - | |
| 414 | -theorem hasFDerivAt_applyMultiplier {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 415 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (z : Point) : | |
| 416 | - HasFDerivAt (applyMultiplier m f) (∑' k, multiplierTermDerivative m f k z) z := by | |
| 417 | - obtain ⟨C, hC, hbound⟩ := uniform_multiplierDerivative_bound hm hf hp (z.1 - 1) (z.1 + 1) | |
| 418 | - have hs : Summable (fun k : Frequency => C * (weight k ^ 4)⁻¹) := | |
| 419 | - SmoothFourierData.summable_weight_inv_four.mul_left C | |
| 420 | - have hbox : ∀ w ∈ Metric.ball z 1, w.1 ∈ Icc (z.1 - 1) (z.1 + 1) := by | |
| 421 | - intro w hw | |
| 422 | - have hd : dist w.1 z.1 < 1 := by | |
| 423 | - simpa only [dist_eq_norm, Prod.fst_sub] using | |
| 424 | - (norm_fst_le (w - z)).trans_lt (show ‖w - z‖ < 1 by | |
| 425 | - simpa only [dist_eq_norm] using Metric.mem_ball.mp hw) | |
| 426 | - rw [Real.dist_eq] at hd | |
| 427 | - constructor <;> linarith [(abs_lt.mp hd).1, (abs_lt.mp hd).2] | |
| 428 | - exact hasFDerivAt_tsum_of_isPreconnected hs Metric.isOpen_ball | |
| 429 | - (convex_ball z (1 : ℝ)).isPreconnected | |
| 430 | - (fun k w _ => hasFDerivAt_multiplierTerm hf m k w) | |
| 431 | - (fun k w hw => hbound w (hbox w hw) k) | |
| 432 | - (Metric.mem_ball_self (by norm_num : (0 : ℝ) < 1)) | |
| 433 | - (summable_terms (multiplied_coeff_rapid hm hf hp z.1) z.2) | |
| 434 | - (Metric.mem_ball_self (by norm_num : (0 : ℝ) < 1)) | |
| 435 | - | |
| 436 | -theorem fderiv_applyMultiplier {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 437 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) (z : Point) : | |
| 438 | - fderiv ℝ (applyMultiplier m f) z = | |
| 439 | - jointLiftP (applyMultiplier m (parameterPartial f) z) + | |
| 440 | - jointLiftX (applyMultiplier (multiplierX m) f z) + | |
| 441 | - jointLiftY (applyMultiplier (multiplierY m) f z) := by | |
| 442 | - have hP := summable_terms (multiplied_coeff_rapid hm | |
| 443 | - (parameterPartial_smooth hf) (parameterPartial_periodic hp) z.1) z.2 | |
| 444 | - have hX := summable_terms (multiplied_coeff_rapid hm.mulX hf hp z.1) z.2 | |
| 445 | - have hY := summable_terms (multiplied_coeff_rapid hm.mulY hf hp z.1) z.2 | |
| 446 | - rw [(hasFDerivAt_applyMultiplier hm hf hp z).fderiv] | |
| 447 | - simp only [multiplierTermDerivative] | |
| 448 | - rw [Summable.tsum_add ((jointLiftP.summable hP).add (jointLiftX.summable hX)) | |
| 449 | - (jointLiftY.summable hY), | |
| 450 | - Summable.tsum_add (jointLiftP.summable hP) (jointLiftX.summable hX), | |
| 451 | - ← jointLiftP.map_tsum hP, ← jointLiftX.map_tsum hX, ← jointLiftY.map_tsum hY] | |
| 452 | - rfl | |
| 453 | - | |
| 454 | -/-- Joint smoothness is derived from actual locally uniform Fourier | |
| 455 | -differentiation, allowing arbitrary polynomially growing multipliers. -/ | |
| 456 | -theorem applyMultiplier_smooth_nat (n : ℕ) {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 457 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) : | |
| 458 | - ContDiff ℝ n (applyMultiplier m f) := by | |
| 459 | - induction n generalizing m f with | |
| 460 | - | zero => | |
| 461 | - exact contDiff_zero.mpr (show Differentiable ℝ (applyMultiplier m f) from | |
| 462 | - fun z => (hasFDerivAt_applyMultiplier hm hf hp z).differentiableAt).continuous | |
| 463 | - | succ n ih => | |
| 464 | - rw [show ((n + 1 : ℕ) : WithTop ℕ∞) = (n : WithTop ℕ∞) + 1 by simp, | |
| 465 | - contDiff_succ_iff_fderiv] | |
| 466 | - refine ⟨fun z => (hasFDerivAt_applyMultiplier hm hf hp z).differentiableAt, by simp, ?_⟩ | |
| 467 | - have he : fderiv ℝ (applyMultiplier m f) = fun z => | |
| 468 | - jointLiftP (applyMultiplier m (parameterPartial f) z) + | |
| 469 | - jointLiftX (applyMultiplier (multiplierX m) f z) + | |
| 470 | - jointLiftY (applyMultiplier (multiplierY m) f z) := | |
| 471 | - funext (fderiv_applyMultiplier hm hf hp) | |
| 472 | - rw [he] | |
| 473 | - exact ((jointLiftP.contDiff.comp | |
| 474 | - (ih hm (parameterPartial_smooth hf) (parameterPartial_periodic hp))).add | |
| 475 | - (jointLiftX.contDiff.comp (ih hm.mulX hf hp))).add | |
| 476 | - (jointLiftY.contDiff.comp (ih hm.mulY hf hp)) | |
| 477 | - | |
| 478 | -theorem applyMultiplier_smooth {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 479 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) : | |
| 480 | - ContDiff ℝ ∞ (applyMultiplier m f) := | |
| 481 | - contDiff_infty.mpr (fun n => applyMultiplier_smooth_nat n hm hf hp) | |
| 482 | - | |
| 483 | -theorem inverse_smooth (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 484 | - (hp : Periodic f) : ContDiff ℝ ∞ (inverse d f) := | |
| 485 | - applyMultiplier_smooth (inverseMultiplier_growth d) hf hp | |
| 486 | - | |
| 487 | -theorem parameterPartial_applyMultiplier {m : Frequency → ℂ} (hm : PolynomialGrowth m) | |
| 488 | - {f : Source} (hf : ContDiff ℝ ∞ f) (hp : Periodic f) : | |
| 489 | - parameterPartial (applyMultiplier m f) = applyMultiplier m (parameterPartial f) := by | |
| 490 | - funext z | |
| 491 | - simp [parameterPartial, fderiv_applyMultiplier hm hf hp, jointLiftP_apply, | |
| 492 | - jointLiftX_apply, jointLiftY_apply] | |
| 493 | - | |
| 494 | -theorem parameterPartial_inverse (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 495 | - (hp : Periodic f) : parameterPartial (inverse d f) = inverse d (parameterPartial f) := | |
| 496 | - parameterPartial_applyMultiplier (inverseMultiplier_growth d) hf hp | |
| 497 | - | |
| 498 | -theorem inverse_periodic (d : Direction) (f : Source) : Periodic (inverse d f) := by | |
| 499 | - intro p Y k | |
| 500 | - exact directionalInverse_periodic d (coefficient f p) Y k.1 k.2 | |
| 501 | - | |
| 502 | -/-- The inverse has zero mean even if the input has a nonzero constant mode. -/ | |
| 503 | -theorem inverse_zeroMean (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 504 | - (hp : Periodic f) : ZeroMean (inverse d f) := by | |
| 505 | - intro p | |
| 506 | - have ha := SmoothFourierData.rapid_coefficient (slice_smooth hf p) (hp p) | |
| 507 | - let g : C(Torus, ℂ) := | |
| 508 | - ⟨torusSeries (inverseCoeff d (coefficient f p)), | |
| 509 | - continuous_torusSeries (ha.inverseCoeff d)⟩ | |
| 510 | - have hg : SmoothFourierData.torusLift g = slice (inverse d f) p := by | |
| 511 | - funext Y | |
| 512 | - exact (series_eq_torusSeries (inverseCoeff d (coefficient f p)) Y).symm | |
| 513 | - change SmoothFourierData.coefficient (slice (inverse d f) p) 0 = 0 | |
| 514 | - rw [← hg, SmoothFourierData.coefficient_zero_eq_mean] | |
| 515 | - exact TorusInverse.inverse_zero_mean d ha | |
| 516 | - | |
| 517 | -noncomputable def directionalPartial (d : Direction) (f : Source) (z : Point) : ℂ := | |
| 518 | - fderiv ℝ f z (0, vector d) | |
| 519 | - | |
| 520 | -/-- Exact inversion for the given function, with the derivative taken in the | |
| 521 | -joint parameter--torus space. -/ | |
| 522 | -theorem inverse_solves (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 523 | - (hp : Periodic f) (hm : ZeroMean f) : directionalPartial d (inverse d f) = f := by | |
| 524 | - funext z | |
| 525 | - have hz := SmoothFourierData.inverse_solves_smooth_periodic d | |
| 526 | - (slice_smooth hf z.1) (hp z.1) (by | |
| 527 | - change (∫ y in (0 : ℝ)..1, ∫ x in (0 : ℝ)..1, f (z.1, (x, y))) = 0 | |
| 528 | - rw [← mean_eq_integral] | |
| 529 | - exact hm z.1) z.2 | |
| 530 | - have hd := congrArg (fun L : Plane →L[ℝ] ℂ => L (vector d)) | |
| 531 | - (slice_hasFDerivAt (inverse_smooth d hf hp) z.1 z.2).fderiv | |
| 532 | - exact hd.symm.trans hz | |
| 533 | - | |
| 534 | -theorem inverse_preserves_parameter_support (d : Direction) (f : Source) (S : Set ℝ) | |
| 535 | - (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) : | |
| 536 | - ∀ p, p ∉ S → ∀ Y, inverse d f (p, Y) = 0 := by | |
| 537 | - apply TorusInverse.inverse_preserves_parameter_support d (coefficient f) S | |
| 538 | - intro p hp k | |
| 539 | - simp only [coefficient, SmoothFourierData.coefficient_eq_doubleIntegral, slice, | |
| 540 | - hs p hp, mul_zero, intervalIntegral.integral_zero] | |
| 541 | - | |
| 542 | 284 | @[simp] theorem parameterJet_zero (f : Source) : parameterJet 0 f = f := rfl |
| 543 | 285 | |
| 544 | -theorem parameterJet_succ (n : ℕ) (f : Source) : | |
| 545 | - parameterJet (n + 1) f = parameterPartial (parameterJet n f) := | |
| 546 | - Function.iterate_succ_apply' _ _ _ | |
| 547 | - | |
| 548 | -/-- All actual derivatives in the external parameter commute with inversion. -/ | |
| 549 | -theorem parameterJet_inverse (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 550 | - (hp : Periodic f) (n : ℕ) : | |
| 551 | - parameterJet n (inverse d f) = inverse d (parameterJet n f) := by | |
| 552 | - induction n with | |
| 553 | - | zero => rfl | |
| 554 | - | succ n ih => | |
| 555 | - rw [parameterJet_succ, ih, parameterPartial_inverse d (parameterJet_smooth hf n) | |
| 556 | - (parameterJet_periodic hp n), parameterJet_succ] | |
| 557 | - | |
| 558 | 286 | @[simp] theorem iterateInverse_zero (d : Direction) (f : Source) : |
| 559 | 287 | iterateInverse d 0 f = f := rfl |
| 560 | 288 | |
| 561 | -theorem iterateInverse_succ (d : Direction) (n : ℕ) (f : Source) : | |
| 562 | - iterateInverse d (n + 1) f = inverse d (iterateInverse d n f) := | |
| 563 | - Function.iterate_succ_apply' _ _ _ | |
| 564 | - | |
| 565 | -theorem iterateInverse_periodic (d : Direction) {f : Source} (hp : Periodic f) | |
| 566 | - (n : ℕ) : Periodic (iterateInverse d n f) := by | |
| 567 | - induction n with | |
| 568 | - | zero => exact hp | |
| 569 | - | succ n ih => | |
| 570 | - rw [iterateInverse_succ] | |
| 571 | - exact inverse_periodic d _ | |
| 572 | - | |
| 573 | -theorem iterateInverse_smooth (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 574 | - (hp : Periodic f) (n : ℕ) : ContDiff ℝ ∞ (iterateInverse d n f) := by | |
| 575 | - induction n with | |
| 576 | - | zero => exact hf | |
| 577 | - | succ n ih => | |
| 578 | - rw [iterateInverse_succ] | |
| 579 | - exact inverse_smooth d ih (iterateInverse_periodic d hp n) | |
| 580 | - | |
| 581 | -/-- A genuine mixed coordinate jet: first actual parameter derivatives, then | |
| 582 | -the indicated word of actual torus-coordinate derivatives. -/ | |
| 583 | -noncomputable def mixedJet (q : ℕ) (w : List Bool) (f : Source) (z : Point) : ℂ := | |
| 584 | - derivativeWord w (slice (parameterJet q f) z.1) z.2 | |
| 585 | - | |
| 586 | -noncomputable def mixedLossConstant (r : ℕ) : ℝ := | |
| 587 | - ((6 * ‖omega⁻¹‖) * ‖omega‖ ^ r) * 3 ^ (r + 5) * | |
| 588 | - ∑' k : Frequency, (weight k ^ 4)⁻¹ | |
| 589 | - | |
| 590 | -theorem mixedLossConstant_nonneg (r : ℕ) : 0 ≤ mixedLossConstant r := by | |
| 591 | - unfold mixedLossConstant | |
| 592 | - positivity | |
| 593 | - | |
| 594 | -/-- Uniform finite loss: a mixed output jet with r torus derivatives requires | |
| 595 | -only r+5 pure torus derivatives of the same parameter jet of the input. | |
| 596 | -The constant is independent of the parameter set and the function. -/ | |
| 597 | -theorem mixedJet_inverse_bound (d : Direction) {f : Source} (hf : ContDiff ℝ ∞ f) | |
| 598 | - (hp : Periodic f) (q : ℕ) (w : List Bool) (S : Set ℝ) {C : ℝ} | |
| 599 | - (hzero : ∀ p ∈ S, ∀ x ∈ Icc (0 : ℝ) 1, ∀ y ∈ Icc (0 : ℝ) 1, | |
| 600 | - ‖parameterJet q f (p, (x, y))‖ ≤ C) | |
| 601 | - (hfirst : ∀ p ∈ S, ∀ x ∈ Icc (0 : ℝ) 1, ∀ y ∈ Icc (0 : ℝ) 1, | |
| 602 | - ‖SmoothFourierData.xJet (w.length + 5) (slice (parameterJet q f) p) (x, y)‖ ≤ C) | |
| 603 | - (hsecond : ∀ p ∈ S, ∀ x ∈ Icc (0 : ℝ) 1, ∀ y ∈ Icc (0 : ℝ) 1, | |
| 604 | - ‖SmoothFourierData.xJet (w.length + 5) | |
| 605 | - (SmoothFourierData.swapFunction (slice (parameterJet q f) p)) (x, y)‖ ≤ C) | |
| 606 | - (p : ℝ) (hps : p ∈ S) (Y : Plane) : | |
| 607 | - ‖mixedJet q w (inverse d f) (p, Y)‖ ≤ mixedLossConstant w.length * C := by | |
| 608 | - rw [mixedJet, parameterJet_inverse d hf hp] | |
| 609 | - have hq := slice_smooth (parameterJet_smooth hf q) p | |
| 610 | - have hpq := parameterJet_periodic hp q p | |
| 611 | - have hbound := SmoothFourierData.coefficient_seminorm_bound hq hpq (w.length + 1) | |
| 612 | - (hzero p hps) (by simpa only [Nat.add_assoc] using hfirst p hps) | |
| 613 | - (by simpa only [Nat.add_assoc] using hsecond p hps) | |
| 614 | - calc | |
| 615 | - _ ≤ ((6 * ‖omega⁻¹‖) * ‖omega‖ ^ w.length) * | |
| 616 | - coeffSeminorm (w.length + 1) (coefficient (parameterJet q f) p) := | |
| 617 | - inverse_derivativeWord_bound d (SmoothFourierData.rapid_coefficient hq hpq) w Y | |
| 618 | - _ ≤ ((6 * ‖omega⁻¹‖) * ‖omega‖ ^ w.length) * | |
| 619 | - ((3 ^ ((w.length + 1) + 4) * C) * ∑' k : Frequency, (weight k ^ 4)⁻¹) := | |
| 620 | - mul_le_mul_of_nonneg_left hbound (by positivity) | |
| 621 | - _ = mixedLossConstant w.length * C := by | |
| 622 | - simp only [mixedLossConstant, Nat.add_assoc] | |
| 623 | - ring | |
| 624 | - | |
| 625 | 289 | end NavierStokes.ParametricTorusInverse |
+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) |