Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

Merge remote-tracking branch 'origin/main' into s1-ns-localized-1
Browse filesConflicts in LocalizedGaussianBounds.lean and LocalizedMeanInteraction.lean resolved by taking main's file and removing the 20 declarations this branch deletes where main still had them; main's own deletions stay deleted.
main maintainer-statement p1-ns-physical s1-euler-all-3 s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-6 s1-euler-exact-3 s1-euler-finite-3 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-lp-3 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-3 s1-euler-packet-8 s1-euler-source-6 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-ns-actual-3 s1-ns-actual-8 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-3 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-3 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-3 s1-ns-edge-6 s1-ns-error-3 s1-ns-error-9 s1-ns-even-3 s1-ns-final-6 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-3 s1-ns-flat-8 s1-ns-fourier-3 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-3 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-6 s1-ns-linear-7 s1-ns-localized-1 s1-ns-localized-6 s1-ns-mean-1 s1-ns-mean-8 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-offplane-6 s1-ns-parametric-6 s1-ns-particular-10 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-9 s1-ns-primary-6 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-signed-8 s1-ns-slow-6 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-spacetime-3 s1-ns-state-8 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-6 s1-ns-torus-3 s1-ns-uniform-8 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-wave-11 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
+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 −64 Euler/CylinderActionWords.lean View file
| @@ -46,68 +46,4 @@ theorem path_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftT | ||
| 46 | 46 | |
| 47 | 47 | end Path |
| 48 | 48 | |
| 49 | -def timeTranslateIsometry (T : ℝ) (a : LiftTangent) : | |
| 50 | - TimeLp T (CylinderL2 P V) →ₗᵢ[ℝ] TimeLp T (CylinderL2 P V) := | |
| 51 | - timeLiftIsometry T (translate P a) | |
| 52 | - | |
| 53 | -theorem timeTranslateIsometry_add (T : ℝ) (a b : LiftTangent) (f : TimeLp T (CylinderL2 P V)) : | |
| 54 | - timeTranslateIsometry P T a (timeTranslateIsometry P T b f) = timeTranslateIsometry P T (a+b) f := by | |
| 55 | - apply Lp.ext | |
| 56 | - filter_upwards [timeLift_ae T (translate P a).toContinuousLinearMap (timeTranslateIsometry P T b f), | |
| 57 | - timeLift_ae T (translate P b).toContinuousLinearMap f, | |
| 58 | - timeLift_ae T (translate P (a+b)).toContinuousLinearMap f] with t ha hb hab | |
| 59 | - change timeTranslateIsometry P T a (timeTranslateIsometry P T b f) t = _ at ha | |
| 60 | - change timeTranslateIsometry P T b f t = _ at hb | |
| 61 | - change timeTranslateIsometry P T (a+b) f t = _ at hab | |
| 62 | - rw [ha,hb,hab] | |
| 63 | - exact translate_add P a b (f t) | |
| 64 | - | |
| 65 | -theorem timeTranslateIsometry_zero (T : ℝ) (f : TimeLp T (CylinderL2 P V)) : | |
| 66 | - timeTranslateIsometry P T 0 f = f := by | |
| 67 | - apply Lp.ext | |
| 68 | - filter_upwards [timeLift_ae T (translate P 0).toContinuousLinearMap f] with t ht | |
| 69 | - change timeTranslateIsometry P T 0 f t = _ at ht | |
| 70 | - rw [ht] | |
| 71 | - exact translate_zero P (f t) | |
| 72 | - | |
| 73 | -theorem time_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 74 | - (T : ℝ) (f : TimeLp T (CylinderL2 P V)) | |
| 75 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 76 | - (n : ℕ) (a : LiftTangent) : | |
| 77 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n a = | |
| 78 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n 0 := | |
| 79 | - EulerIsometricAction.block_orbit_constant (X := LiftTangent) | |
| 80 | - (E := TimeLp T (CylinderL2 P V)) (ι := ι) (timeTranslateIsometry (V := V) P T) | |
| 81 | - (fun a b u => timeTranslateIsometry_add P T a b u) | |
| 82 | - (fun u => timeTranslateIsometry_zero P T u) directions q f hf n a | |
| 83 | - | |
| 84 | -theorem pathLp_orbit_contDiff (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 85 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : | |
| 86 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) := by | |
| 87 | - have he : (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) = | |
| 88 | - (pathLpOperator T hT) ∘ (fun a => pathTranslate P a f) := by | |
| 89 | - funext a | |
| 90 | - convert (pathLp_timeLift T hT (translate P a).toContinuousLinearMap f).symm using 1 | |
| 91 | - rfl | |
| 92 | - rw [he] | |
| 93 | - exact (pathLpOperator (E := CylinderL2 P V) T hT).contDiff.comp hf | |
| 94 | - | |
| 95 | -/-- The actual Ctime-to-time-L² inclusion preserves all mixed word blocks | |
| 96 | -with exactly the square-root time length factor. -/ | |
| 97 | -theorem pathLp_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 98 | - (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 99 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) (n : ℕ) (a : LiftTangent) : | |
| 100 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) n a ≤ | |
| 101 | - Real.sqrt T*block directions q (fun b => pathTranslate P b f) n a := by | |
| 102 | - have he : (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) = | |
| 103 | - (pathLpOperator T hT) ∘ (fun b => pathTranslate P b f) := by | |
| 104 | - funext b | |
| 105 | - convert (pathLp_timeLift T hT (translate P b).toContinuousLinearMap f).symm using 1 | |
| 106 | - rfl | |
| 107 | - rw [he] | |
| 108 | - exact (block_comp_clm_le directions q (pathLpOperator (E := CylinderL2 P V) T hT) _ hf n a).trans | |
| 109 | - (mul_le_mul_of_nonneg_right | |
| 110 | - (EulerMeanTimeContinuousTranslation.pathLpOperator_norm_sqrt T hT) | |
| 111 | - (block_nonneg directions q _ n a)) | |
| 112 | - | |
| 113 | 49 | end EulerLpCylinderTranslation |
+0 −12 Euler/CylinderAngleAverage.lean View file
| @@ -81,12 +81,6 @@ omit [CompleteSpace V] in | ||
| 81 | 81 | @[simp] theorem average_apply (u : CylinderL2 P V) : |
| 82 | 82 | average P u = averageIntegral P u := rfl |
| 83 | 83 | |
| 84 | -omit [CompleteSpace V] in | |
| 85 | -theorem average_norm : ‖average (V := V) P‖ ≤ 1 := | |
| 86 | - opNorm_le_bound _ zero_le_one (fun u => by | |
| 87 | - change ‖averageIntegral P u‖ ≤ (1 : ℝ)*‖u‖ | |
| 88 | - simpa only [one_mul] using averageIntegral_norm P u) | |
| 89 | - | |
| 90 | 84 | theorem average_translation (a : LiftTangent) (u : CylinderL2 P V) : |
| 91 | 85 | average P (translate P a u) = translate P a (average P u) := by |
| 92 | 86 | change P⁻¹ • (∫ s in (0 : ℝ)..P, angleCurve P (translate P a u) s) = |
| @@ -203,12 +197,6 @@ def supportedAverage : Supported P V S hS →L[ℝ] Supported P V S hS := | ||
| 203 | 197 | @[simp] theorem supportedAverage_coe (u : Supported P V S hS) : |
| 204 | 198 | (supportedAverage P S hS u : CylinderL2 P V) = average P (u : CylinderL2 P V) := rfl |
| 205 | 199 | |
| 206 | -theorem supportedAverage_norm : ‖supportedAverage (V := V) P S hS‖ ≤ 1 := by | |
| 207 | - apply opNorm_le_bound _ zero_le_one | |
| 208 | - intro u | |
| 209 | - change ‖averageIntegral P (u : CylinderL2 P V)‖ ≤ (1 : ℝ)*‖(u : CylinderL2 P V)‖ | |
| 210 | - simpa only [one_mul] using averageIntegral_norm P (u : CylinderL2 P V) | |
| 211 | - | |
| 212 | 200 | end Supported |
| 213 | 201 | |
| 214 | 202 | end EulerCylinderAngleAverage |
+0 −12 Euler/CylinderAngleAverageEvolution.lean View file
| @@ -50,18 +50,6 @@ omit [CompactSpace K] in | ||
| 50 | 50 | @[simp] theorem supportedPathAverage_apply (p : C(K,Supported P V S hS)) (t : K) : |
| 51 | 51 | supportedPathAverage P S hS p t = supportedAverage P S hS (p t) := rfl |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem include_supportedPathAverage (p : C(K,Supported P V S hS)) : | |
| 55 | - includePath P S hS (supportedPathAverage P S hS p) = pathAverage P (includePath P S hS p) := rfl | |
| 56 | - | |
| 57 | -theorem supportedPathAverage_norm : ‖supportedPathAverage (K := K) (V := V) P S hS‖ ≤ 1 := by | |
| 58 | - apply opNorm_le_bound _ zero_le_one | |
| 59 | - intro p | |
| 60 | - rw [one_mul] | |
| 61 | - apply (ContinuousMap.norm_le _ (norm_nonneg p)).mpr | |
| 62 | - intro t | |
| 63 | - exact (averageIntegral_norm P (p t : CylinderL2 P V)).trans (p.norm_coe_le_norm t) | |
| 64 | - | |
| 65 | 53 | end Paths |
| 66 | 54 | |
| 67 | 55 | section Evolution |
+0 −3 Euler/CylinderAngleAverageRepresentative.lean View file
| @@ -22,9 +22,6 @@ theorem average_full_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 22 | 22 | def sobolevAverage (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 23 | 23 | liftOperator P q (average P) (average_full_translation P) |
| 24 | 24 | |
| 25 | -theorem sobolevAverage_norm (q : ℕ) : ‖sobolevAverage P q‖ ≤ 1 := | |
| 26 | - (norm_liftOperator_le P q (average P) (average_full_translation P)).trans (average_norm P) | |
| 27 | - | |
| 28 | 25 | theorem sobolevAngleCurve_continuous {q : ℕ} (u : SobolevSpace P q) : |
| 29 | 26 | Continuous (fun s : ℝ => sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u) := |
| 30 | 27 | (sobolevTranslation_continuous P u).comp (EulerCylinderAnglePrimitive.angleShift_continuous P) |
+0 −18 Euler/CylinderAngleEvolution.lean View file
| @@ -68,23 +68,5 @@ theorem pathPrimitive_time_derivative (t : Icc (0 : ℝ) T) : | ||
| 68 | 68 | (Icc (0 : ℝ) T) t := |
| 69 | 69 | primitive_hasDerivWithinAt P _ t (extendPath T hT p) (f t) (hd t) |
| 70 | 70 | |
| 71 | -include hd in | |
| 72 | -/-- The literal primitive differentiates within the closed time interval at every angle. -/ | |
| 73 | -theorem classicalPrimitive_time_derivative | |
| 74 | - (hpm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) | |
| 75 | - (hfm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P f hf t (y,(s : AddCircle P)))=0) | |
| 76 | - (t : Icc (0 : ℝ) T) (y : Vector3) (θ : ℝ) : | |
| 77 | - HasDerivWithinAt (fun r => EulerAngleMeanZeroPrimitive.primitive P | |
| 78 | - (fun s => pointField P p hp (projIcc 0 T hT r) (y,(s : AddCircle P))) θ) | |
| 79 | - (EulerAngleMeanZeroPrimitive.primitive P | |
| 80 | - (fun s => pointField P f hf t (y,(s : AddCircle P))) θ) (Icc (0 : ℝ) T) t := by | |
| 81 | - have h := pointField_hasDerivWithinAt P T hT (pathPrimitive P p) (pathPrimitive P f) | |
| 82 | - (pathPrimitive_orbit_contDiff P p hp) (pathPrimitive_orbit_contDiff P f hf) | |
| 83 | - (pathPrimitive_time_derivative P T hT p f hd) t (y,(θ : AddCircle P)) | |
| 84 | - rw [pointField_primitive_formula P f hf hfm t y θ] at h | |
| 85 | - apply h.congr_of_mem _ t.property | |
| 86 | - intro r _ | |
| 87 | - exact (pointField_primitive_formula P p hp hpm (projIcc 0 T hT r) y θ).symm | |
| 88 | - | |
| 89 | 71 | end Time |
| 90 | 72 | end EulerCylinderAnglePrimitive |
+0 −3 Euler/CylinderAnglePrimitive.lean View file
| @@ -98,7 +98,4 @@ theorem primitive_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 98 | 98 | def sobolevPrimitive (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 99 | 99 | liftOperator P q (primitive P) (primitive_translation P) |
| 100 | 100 | |
| 101 | -theorem sobolevPrimitive_norm (q : ℕ) : ‖sobolevPrimitive P q‖ ≤ P := | |
| 102 | - (norm_liftOperator_le P q (primitive P) (primitive_translation P)).trans (primitive_norm P) | |
| 103 | - | |
| 104 | 101 | end EulerCylinderAnglePrimitive |
+0 −22 Euler/CylinderAngleWordBounds.lean View file
| @@ -25,20 +25,6 @@ theorem primitive_mixed_translation (a : LiftTangent) (u : LiftL2 P) : | ||
| 25 | 25 | |
| 26 | 26 | variable {X ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [Fintype ι] |
| 27 | 27 | |
| 28 | -theorem primitive_block_bound (directions : ι → X) (q : ℕ) | |
| 29 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 30 | - block directions q (fun y => primitive P (f y)) n x ≤ P*block directions q f n x := | |
| 31 | - (block_comp_clm_le directions q (primitive P) f hf n x).trans | |
| 32 | - (mul_le_mul_of_nonneg_right (primitive_norm P) (block_nonneg directions q f n x)) | |
| 33 | - | |
| 34 | -theorem primitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 35 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 36 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 37 | - block directions q (fun y => primitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 38 | - (primitive_block_bound P directions q f hf n x).trans | |
| 39 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 40 | - (mul_assoc P C _).symm) | |
| 41 | - | |
| 42 | 28 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 43 | 29 | |
| 44 | 30 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| @@ -71,12 +57,4 @@ theorem pathPrimitive_block_bound (directions : ι → X) (q : ℕ) | ||
| 71 | 57 | have hn : ‖pathPrimitive (K := K) P‖ ≤ P := pathPrimitive_norm P |
| 72 | 58 | exact h.trans (mul_le_mul_of_nonneg_right hn (block_nonneg directions q f n x)) |
| 73 | 59 | |
| 74 | -theorem pathPrimitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 75 | - (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 76 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 77 | - block directions q (fun y => pathPrimitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 78 | - (pathPrimitive_block_bound P directions q f hf n x).trans | |
| 79 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 80 | - (mul_assoc P C _).symm) | |
| 81 | - | |
| 82 | 60 | end EulerCylinderAnglePrimitive |
+0 −14 Euler/CylinderBoundedCover.lean View file
| @@ -55,10 +55,6 @@ def coverMap : SobolevSpace P 3 →L[ℝ] (LiftTangent →ᵇ Space) where | ||
| 55 | 55 | cont := AddMonoidHomClass.continuous_of_bound (coverLinear P) |
| 56 | 56 | (sobolevEmbeddingConstant P 3) (cover_norm_le P) |
| 57 | 57 | |
| 58 | -theorem coverMap_norm_le : ‖coverMap P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 59 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 60 | - exact cover_norm_le P | |
| 61 | - | |
| 62 | 58 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 63 | 59 | |
| 64 | 60 | private local instance : NormedAddCommGroup C(K, SobolevSpace P 3) := inferInstance |
| @@ -69,16 +65,6 @@ private local instance : NormedSpace ℝ C(K, LiftTangent →ᵇ Space) := infer | ||
| 69 | 65 | def coverPathMap : C(K, SobolevSpace P 3) →L[ℝ] C(K, LiftTangent →ᵇ Space) := |
| 70 | 66 | (coverMap P).compLeftContinuous ℝ K |
| 71 | 67 | |
| 72 | -theorem coverPathMap_norm_le : | |
| 73 | - ‖coverPathMap (K := K) P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 74 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 75 | - intro p | |
| 76 | - apply (ContinuousMap.norm_le _ | |
| 77 | - (mul_nonneg (sobolevEmbeddingConstant_nonneg P 3) (norm_nonneg p))).2 | |
| 78 | - intro t | |
| 79 | - exact (cover_norm_le P (p t)).trans | |
| 80 | - (mul_le_mul_of_nonneg_left (p.norm_coe_le_norm t) (sobolevEmbeddingConstant_nonneg P 3)) | |
| 81 | - | |
| 82 | 68 | def coverPath (p : C(K, LiftL2 P)) |
| 83 | 69 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 84 | 70 | C(K, LiftTangent →ᵇ Space) := coverPathMap P (sobolevPath P 3 p hp) |
+0 −6 Euler/CylinderClassicalWordBounds.lean View file
| @@ -86,12 +86,6 @@ theorem representative_strongWord (u : LiftL2 period) (hu : SmoothOrbit period u | ||
| 86 | 86 | · exact smoothField_continuous period _ |
| 87 | 87 | (iteratedFieldDerivative_smooth period w _ (representative_smooth period u hu)) |
| 88 | 88 | |
| 89 | -/-- Every actual classical mixed derivative lies in L²; this is proved from the solved orbit. -/ | |
| 90 | -theorem classicalWord_memLp (u : LiftL2 period) (hu : SmoothOrbit period u) | |
| 91 | - {n : ℕ} (w : Fin n → Fin 4) : | |
| 92 | - MemLp (iteratedFieldDerivative period w (representative period u hu)) 2 (liftMeasure period) := | |
| 93 | - (Lp.memLp (strongWord period u w)).ae_eq (strongWord_ae period u hu w) | |
| 94 | - | |
| 95 | 89 | /-- The actual classical Hq norm is exactly the finite mixed-word base sum. -/ |
| 96 | 90 | theorem classicalBaseSize_eq (q : ℕ) (u : LiftL2 period) (hu : SmoothOrbit period u) : |
| 97 | 91 | liftSobolevNorm period q (representative period u hu) = |
+0 −27 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) |
| @@ -89,11 +77,6 @@ theorem descendMap_cover (z : LiftTangent) : | ||
| 89 | 77 | descendMap P f (coveringMap P z)=coveringMap P (f z) := |
| 90 | 78 | descend_cover P (coveringMap P ∘ f) (map_fiber_constant P f hdeck) z |
| 91 | 79 | |
| 92 | -include hdeck in | |
| 93 | -theorem descendMap_continuous (hf : Continuous f) : Continuous (descendMap P f) := | |
| 94 | - descend_continuous P _ ((coveringMap_isOpenQuotient P).continuous.comp hf) | |
| 95 | - (map_fiber_constant P f hdeck) | |
| 96 | - | |
| 97 | 80 | include hdeck in |
| 98 | 81 | theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : |
| 99 | 82 | MeasurePreserving (descendMap P f) (liftMeasure P) (liftMeasure P) := |
| @@ -101,14 +84,4 @@ theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : | ||
| 101 | 84 | (descend_measurable P _ ((coveringMap_isOpenQuotient P).continuous.measurable.comp hf.measurable)) |
| 102 | 85 | hdeck (fun z => (descendMap_cover P f hdeck z).symm) |
| 103 | 86 | |
| 104 | -include hdeck in | |
| 105 | -theorem descendMap_leftInverse (g : LiftTangent → LiftTangent) | |
| 106 | - (hg : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 107 | - g (z.1,(c : ℝ)+z.2)=((g z).1,(c : ℝ)+(g z).2)) | |
| 108 | - (hgf : Function.LeftInverse g f) : | |
| 109 | - Function.LeftInverse (descendMap P g) (descendMap P f) := by | |
| 110 | - intro q | |
| 111 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 112 | - rw [descendMap_cover P f hdeck,descendMap_cover P g hg,hgf] | |
| 113 | - | |
| 114 | 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 −35 Euler/CylinderDescentJets.lean View file
| @@ -54,30 +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 | -theorem jetSeries_joint_continuous {K : Type*} [TopologicalSpace K] | |
| 65 | - (F : K → LiftTangent → W) | |
| 66 | - (hF : ∀ t (c : AddSubgroup.zmultiples P) z, F t (z.1,(c : ℝ)+z.2)=F t z) | |
| 67 | - (n : ℕ) | |
| 68 | - (hJ : Continuous (fun z : K × LiftTangent => iteratedFDeriv ℝ n (F z.1) z.2)) : | |
| 69 | - Continuous (fun z : K × LiftDomain P => jetSeries P (F z.1) z.2 n) := | |
| 70 | - descend_joint_continuous P (fun t => iteratedFDeriv ℝ n (F t)) hJ | |
| 71 | - (fun t => fiber_constant_of_deck P _ (iteratedFDeriv_deck P (F t) (hF t) n)) | |
| 72 | - | |
| 73 | -include hperiod in | |
| 74 | -omit [NormedAddCommGroup W] [NormedSpace ℝ W] in | |
| 75 | -theorem descend_comp_map (Φ : LiftTangent → LiftTangent) : | |
| 76 | - descend P (f ∘ Φ) = descend P f ∘ descendMap P Φ := by | |
| 77 | - funext q | |
| 78 | - exact (descend_cover P f (fiber_constant_of_deck P f hperiod) | |
| 79 | - (Φ (sectionPoint P q))).symm | |
| 80 | - | |
| 81 | 57 | include hperiod in |
| 82 | 58 | theorem jetSeries_comp (Φ : LiftTangent → LiftTangent) |
| 83 | 59 | (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : |
| @@ -98,15 +74,4 @@ theorem comp_deck (Φ : LiftTangent → LiftTangent) | ||
| 98 | 74 | (f ∘ Φ) (z.1,(c : ℝ)+z.2)=(f ∘ Φ) z := by |
| 99 | 75 | simp only [Function.comp_def,hΦ,hperiod] |
| 100 | 76 | |
| 101 | -include hperiod in | |
| 102 | -theorem local_jet_comp (Φ : LiftTangent → LiftTangent) | |
| 103 | - (hdeck : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 104 | - Φ (z.1,(c : ℝ)+z.2)=((Φ z).1,(c : ℝ)+(Φ z).2)) | |
| 105 | - (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : | |
| 106 | - iteratedFDeriv ℝ n (localFieldLift P (descend P f ∘ descendMap P Φ) q) 0 = | |
| 107 | - (jetSeries P f (descendMap P Φ q)).taylorComp (jetSeries P Φ q) n := by | |
| 108 | - rw [← descend_comp_map P f hperiod Φ, | |
| 109 | - ← jetSeries_eq_local P (f ∘ Φ) (comp_deck P f hperiod Φ hdeck) q n] | |
| 110 | - exact jetSeries_comp P f hperiod Φ hf hΦ q n | |
| 111 | - | |
| 112 | 77 | end EulerCylinderCoverDescent |
+0 −6 Euler/CylinderDirichletData.lean View file
| @@ -103,12 +103,6 @@ def velocityLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) : | ||
| 103 | 103 | D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) |
| 104 | 104 | D.potential D.potential_nonneg (D.hessian_upper P) D.small |
| 105 | 105 | |
| 106 | -def accelerationLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) := | |
| 107 | - EulerTransverseFixedEvolution.accelerationLp T D.time_pos.le | |
| 108 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 109 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 110 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small | |
| 111 | - | |
| 112 | 106 | def velocityPath : TimeLp T (CylinderL2 P E) →L[ℝ] C(Icc (0 : ℝ) T,CylinderL2 P U) := |
| 113 | 107 | EulerTransverseFixedEvolution.velocityPath T D.time_pos.le |
| 114 | 108 | (D.frame P) (D.frameDerivative P) (D.hessian P) |
+0 −18 Euler/CylinderDirichletNaturality.lean View file
| @@ -35,24 +35,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U V E F : Type*} | ||
| 35 | 35 | |
| 36 | 36 | include hQ hQ₁ hback hback₁ hH |
| 37 | 37 | |
| 38 | -theorem velocityLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 39 | - G.velocityLp P (timeLift T B f) = timeLift T A (D.velocityLp P f) := | |
| 40 | - EulerFixedFrameNaturality.velocityLp_intertwines T D.time_pos.le A B | |
| 41 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 42 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 43 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 44 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 45 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 46 | - | |
| 47 | -theorem accelerationLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 48 | - G.accelerationLp P (timeLift T B f) = timeLift T A (D.accelerationLp P f) := | |
| 49 | - EulerFixedFrameNaturality.accelerationLp_intertwines T D.time_pos.le A B | |
| 50 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 51 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 52 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 53 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 54 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 55 | - | |
| 56 | 38 | theorem velocityPath_intertwines (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 57 | 39 | G.velocityPath P (timeLift T B f) t = A (D.velocityPath P f t) := |
| 58 | 40 | EulerFixedFrameNaturality.velocityPath_intertwines T D.time_pos.le A B |
+0 −48 Euler/CylinderDirichletRegularity.lean View file
| @@ -55,60 +55,12 @@ theorem hessianOrbit_contDiff (hH : ContDiff ℝ ∞ (translateCoefficientPath D | ||
| 55 | 55 | (fullPathMap (K := Icc (0 : ℝ) T) (E := E) (F := E) P).contDiff.comp |
| 56 | 56 | (hH.comp contDiff_fst) |
| 57 | 57 | |
| 58 | -theorem accelerationLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 59 | - (D.shifted a.1).accelerationLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 60 | - timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f) := | |
| 61 | - D.accelerationLp_intertwines P (D.shifted a.1) | |
| 62 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 63 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 64 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 65 | - | |
| 66 | 58 | variable (hQ : ContDiff ℝ ∞ (translateCoefficientPath D.Q)) |
| 67 | 59 | (hQ₁ : ContDiff ℝ ∞ (translateCoefficientPath D.Q₁)) |
| 68 | 60 | (hH : ContDiff ℝ ∞ (translateCoefficientPath D.H)) |
| 69 | 61 | |
| 70 | 62 | include hQ hQ₁ hH |
| 71 | 63 | |
| 72 | -theorem velocityLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 73 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 74 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f)) := by | |
| 75 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 76 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 77 | - change ContDiff ℝ ∞ g at hf | |
| 78 | - have hs := EulerTransverseFixedEvolution.velocityLp_contDiff | |
| 79 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 80 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 81 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 82 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 84 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - g hf | |
| 88 | - convert hs using 1 | |
| 89 | - funext a | |
| 90 | - exact (D.velocityLp_translation P a f).symm | |
| 91 | - | |
| 92 | -theorem accelerationLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 93 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 94 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f)) := by | |
| 95 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 96 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 97 | - change ContDiff ℝ ∞ g at hf | |
| 98 | - have hs := EulerTransverseFixedEvolution.accelerationLp_contDiff | |
| 99 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 100 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 101 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 102 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 103 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 104 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 105 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 106 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 107 | - g hf | |
| 108 | - convert hs using 1 | |
| 109 | - funext a | |
| 110 | - exact (D.accelerationLp_translation P a f).symm | |
| 111 | - | |
| 112 | 64 | theorem velocityPath_orbit_contDiff (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 113 | 65 | (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : |
| 114 | 66 | ContDiff ℝ ∞ (fun a => pathTranslate P a (D.velocityPath P (pathLp T D.time_pos.le f))) := by |
+0 −52 Euler/CylinderDirichletSobolev.lean View file
| @@ -72,56 +72,4 @@ variable {ι : Type*} [Fintype ι] | ||
| 72 | 72 | |
| 73 | 73 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR |
| 74 | 74 | |
| 75 | -/-- Actual cylinder/time L² coordinate velocity: one shift at the original | |
| 76 | -radius and fixed Sobolev order, from forcing bounds at the base translation. -/ | |
| 77 | -theorem velocityLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 78 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 79 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 80 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 81 | - (n : ℕ) (a : LiftTangent) : | |
| 82 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f)) n a ≤ | |
| 83 | - majorant R (d+1) n := by | |
| 84 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 85 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 86 | - change ContDiff ℝ ∞ g at hf | |
| 87 | - have he : (fun b : LiftTangent => (D.shifted b.1).velocityLp P | |
| 88 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 89 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f) := | |
| 90 | - funext (fun b => D.velocityLp_translation P b f) | |
| 91 | - rw [← he] | |
| 92 | - apply EulerTransverseFixedSobolev.velocityLp_block_gevrey directions hdir q T D.time_pos.le | |
| 93 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 94 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 95 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 96 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 97 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 98 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 99 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 100 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 101 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 102 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 103 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hR | |
| 104 | - g hf d _ n a | |
| 105 | - intro k b | |
| 106 | - rw [time_block_constant P directions q T f hf k b] | |
| 107 | - exact hfb k | |
| 108 | - | |
| 109 | -/-- For source intervals of length at most one, continuous forcing embeds | |
| 110 | -with no extra amplitude, and the same history estimate applies. -/ | |
| 111 | -theorem continuous_velocityLp_block_bound (hT1 : T ≤ 1) | |
| 112 | - (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 113 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) | |
| 114 | - (d : ℕ) (hfb : ∀ n, block directions q (fun a => pathTranslate P a f) n 0 ≤ Cf*majorant R d n) | |
| 115 | - (n : ℕ) (a : LiftTangent) : | |
| 116 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 117 | - (D.velocityLp P (pathLp T D.time_pos.le f))) n a ≤ majorant R (d+1) n := by | |
| 118 | - have hsqrt : Real.sqrt T ≤ 1 := by simpa using Real.sqrt_le_sqrt hT1 | |
| 119 | - apply D.velocityLp_block_bound P directions hdir q hQ hQ₁ hH Rc C₀ C₁ CH Cf R hRc | |
| 120 | - hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR (pathLp T D.time_pos.le f) | |
| 121 | - (pathLp_orbit_contDiff P T D.time_pos.le f hf) d _ n a | |
| 122 | - intro k | |
| 123 | - exact (pathLp_block_le P directions q T D.time_pos.le f hf k 0).trans | |
| 124 | - ((mul_le_mul_of_nonneg_right hsqrt (block_nonneg directions q _ k 0)).trans | |
| 125 | - (by simpa only [one_mul] using hfb k)) | |
| 126 | - | |
| 127 | 75 | end EulerCylinderDirichlet.Coefficients |
+0 −22 Euler/CylinderDirichletSupport.lean View file
| @@ -16,12 +16,6 @@ variable (P : ℝ) [Fact (0 < P)] {V : Type*} | ||
| 16 | 16 | def spatialCutoff : CylinderL2 P V →L[ℝ] CylinderL2 P V := |
| 17 | 17 | cutoffOperator (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) |
| 18 | 18 | |
| 19 | -theorem spatialCutoff_norm : ‖spatialCutoff (V := V) P S hS‖ ≤ 1 := by | |
| 20 | - apply opNorm_le_bound _ zero_le_one | |
| 21 | - intro u | |
| 22 | - change ‖cutoff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u‖ ≤ 1*‖u‖ | |
| 23 | - simpa only [one_mul] using cutoff_norm (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u | |
| 24 | - | |
| 25 | 19 | theorem spatialCutoff_fix (u : CylinderL2 P V) : |
| 26 | 20 | u ∈ Supported P V S hS ↔ spatialCutoff P S hS u = u := |
| 27 | 21 | (mem_supportedSpace_iff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u).trans eq_comm |
| @@ -83,22 +77,6 @@ theorem frameDerivative_cutoff_back (t : Icc (0 : ℝ) T) (u : CylinderL2 P U) : | ||
| 83 | 77 | rw [spatialCutoff_adjoint,spatialCutoff_adjoint] |
| 84 | 78 | exact D.frameDerivative_cutoff P S hS t u |
| 85 | 79 | |
| 86 | -theorem velocityLp_cutoff (f : TimeLp T (CylinderL2 P E)) : | |
| 87 | - D.velocityLp P (timeLift T (spatialCutoff P S hS) f) = | |
| 88 | - timeLift T (spatialCutoff P S hS) (D.velocityLp P f) := | |
| 89 | - D.velocityLp_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 90 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 91 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 92 | - (D.hessian_cutoff P S hS) f | |
| 93 | - | |
| 94 | -theorem velocityPath_cutoff (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 95 | - D.velocityPath P (timeLift T (spatialCutoff P S hS) f) t = | |
| 96 | - spatialCutoff P S hS (D.velocityPath P f t) := | |
| 97 | - D.velocityPath_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 98 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 99 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 100 | - (D.hessian_cutoff P S hS) f t | |
| 101 | - | |
| 102 | 80 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 103 | 81 | (hf : ∀ t, f t ∈ Supported P E S hS) |
| 104 | 82 | |
+0 −33 Euler/CylinderDirichletTimeBounds.lean View file
| @@ -60,39 +60,6 @@ variable {ι : Type*} [Fintype ι] | ||
| 60 | 60 | |
| 61 | 61 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hRweak hRstrong |
| 62 | 62 | |
| 63 | -/-- The actual cylinder acceleration in time L², with the same external radius. -/ | |
| 64 | -theorem accelerationLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 65 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 66 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 67 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 68 | - (n : ℕ) (a : LiftTangent) : | |
| 69 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 70 | - (D.accelerationLp P f)) n a ≤ majorant R (d+2) n := by | |
| 71 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 72 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 73 | - change ContDiff ℝ ∞ g at hf | |
| 74 | - have he : (fun b : LiftTangent => (D.shifted b.1).accelerationLp P | |
| 75 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 76 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.accelerationLp P f) := | |
| 77 | - funext (fun b => D.accelerationLp_translation P b f) | |
| 78 | - rw [← he] | |
| 79 | - apply EulerFixedEvolutionSobolev.accelerationLp_block_gevrey directions hdir q T D.time_pos.le | |
| 80 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 81 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 82 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 84 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 88 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 89 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 90 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hRweak hRstrong | |
| 91 | - g hf d _ n a | |
| 92 | - intro k b | |
| 93 | - rw [time_block_constant P directions q T f hf k b] | |
| 94 | - exact hfb k | |
| 95 | - | |
| 96 | 63 | /-- The actual continuous velocity trace from cylinder forcing. -/ |
| 97 | 64 | theorem continuousVelocity_block_bound (hT1 : T ≤ 1) |
| 98 | 65 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
+0 −16 Euler/CylinderDirichletTranslation.lean View file
| @@ -86,22 +86,6 @@ theorem shifted_frameDerivative_back (a : LiftTangent) (t : Icc (0 : ℝ) T) (u | ||
| 86 | 86 | ((translate P a).toContinuousLinearMap).adjoint ((D.shifted a.1).frameDerivative P t u) := |
| 87 | 87 | fullOperator_translation_back P a (D.Q₁ t) u |
| 88 | 88 | |
| 89 | -theorem velocityLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 90 | - (D.shifted a.1).velocityLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 91 | - timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f) := | |
| 92 | - D.velocityLp_intertwines P (D.shifted a.1) | |
| 93 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 94 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 95 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 96 | - | |
| 97 | -theorem velocityPath_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 98 | - (D.shifted a.1).velocityPath P (timeLift T (translate P a).toContinuousLinearMap f) t = | |
| 99 | - translate P a (D.velocityPath P f t) := | |
| 100 | - D.velocityPath_intertwines P (D.shifted a.1) | |
| 101 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 102 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 103 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f t | |
| 104 | - | |
| 105 | 89 | theorem continuousVelocity_translation (a : LiftTangent) |
| 106 | 90 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 107 | 91 | (D.shifted a.1).velocityPath P (pathLp T D.time_pos.le (pathTranslate P a f)) t = |
+0 −41 Euler/CylinderEndpointBounds.lean View file
| @@ -26,45 +26,4 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} | ||
| 26 | 26 | |
| 27 | 27 | include hdir hY hA hYb |
| 28 | 28 | |
| 29 | -theorem coordinate_bound (n : ℕ) : | |
| 30 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ | |
| 31 | - (L.coordinateCost*A)*majorant L.R (d+2) n := | |
| 32 | - terminal_amplitude_bound P directions q (D.endpointCoordinate P) | |
| 33 | - (fun Z hZ => D.endpointCoordinate_orbit_contDiff P L.frame_smooth | |
| 34 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 35 | - L.R L.coordinateCost d (d+2) | |
| 36 | - (fun Z hZ hb => L.coordinate_unit_bound P directions hdir Z hZ d hb) | |
| 37 | - Y hY A hA hYb n | |
| 38 | - | |
| 39 | -theorem acceleration_bound (n : ℕ) : | |
| 40 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ | |
| 41 | - A*majorant L.R (d+3) n := by | |
| 42 | - simpa only [one_mul] using terminal_amplitude_bound P directions q (D.endpointAcceleration P) | |
| 43 | - (fun Z hZ => D.endpointAcceleration_orbit_contDiff P L.frame_smooth | |
| 44 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 45 | - L.R 1 d (d+3) | |
| 46 | - (fun Z hZ hb k => by | |
| 47 | - simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Z hZ d hb k) | |
| 48 | - Y hY A hA hYb n | |
| 49 | - | |
| 50 | -theorem velocity_bound (n : ℕ) : | |
| 51 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ | |
| 52 | - (L.velocityCost*A)*majorant L.R (d+2) n := | |
| 53 | - terminal_amplitude_bound P directions q (D.endpointVelocity P) | |
| 54 | - (fun Z hZ => D.endpointVelocity_orbit_contDiff P L.frame_smooth | |
| 55 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 56 | - L.R L.velocityCost d (d+2) | |
| 57 | - (fun Z hZ hb => L.velocity_unit_bound P directions hdir Z hZ d hb) | |
| 58 | - Y hY A hA hYb n | |
| 59 | - | |
| 60 | -theorem derivative_bound (n : ℕ) : | |
| 61 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ | |
| 62 | - (L.derivativeCost*A)*majorant L.R (d+3) n := | |
| 63 | - terminal_amplitude_bound P directions q (D.endpointDerivative P) | |
| 64 | - (fun Z hZ => D.endpointDerivative_orbit_contDiff P L.frame_smooth | |
| 65 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 66 | - L.R L.derivativeCost d (d+3) | |
| 67 | - (fun Z hZ hb => L.derivative_unit_bound P directions hdir Z hZ d hb) | |
| 68 | - Y hY A hA hYb n | |
| 69 | - | |
| 70 | 29 | end EulerCylinderDirichlet.Coefficients.EndpointBudget |
+0 −25 Euler/CylinderEndpointForcing.lean View file
| @@ -103,29 +103,4 @@ theorem endpointAcceleration_eq_forced (Y : CylinderL2 P U) : | ||
| 103 | 103 | ((uniqueDiffOn_Icc D.time_pos) _ t.property)).symm.trans |
| 104 | 104 | (he.derivWithin ((uniqueDiffOn_Icc D.time_pos) _ t.property)) |
| 105 | 105 | |
| 106 | -theorem endpointVelocity_eq_forced (Y : CylinderL2 P U) : | |
| 107 | - D.endpointVelocity P Y = | |
| 108 | - multiplier (D.frame P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 109 | - D.physicalVelocity P (D.endpointForcing P Y) := by | |
| 110 | - apply ContinuousMap.ext | |
| 111 | - intro t | |
| 112 | - change D.frame P t (D.endpointCoordinate P Y t) = | |
| 113 | - D.frame P t (T⁻¹ • Y)-D.frame P t | |
| 114 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t) | |
| 115 | - rw [D.endpointCoordinate_eq_const_sub P Y t,map_sub] | |
| 116 | - | |
| 117 | -theorem endpointDerivative_eq_forced (Y : CylinderL2 P U) : | |
| 118 | - D.endpointDerivative P Y = | |
| 119 | - multiplier (D.frameDerivative P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 120 | - D.physicalDerivative P (D.endpointForcing P Y) := by | |
| 121 | - apply ContinuousMap.ext | |
| 122 | - intro t | |
| 123 | - change D.frameDerivative P t (D.endpointCoordinate P Y t)+D.frame P t (D.endpointAcceleration P Y t) = | |
| 124 | - D.frameDerivative P t (T⁻¹ • Y)-(D.frameDerivative P t | |
| 125 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t)+ | |
| 126 | - D.frame P t (D.accelerationPath P (D.endpointForcing P Y) t)) | |
| 127 | - rw [D.endpointCoordinate_eq_const_sub P Y t,D.endpointAcceleration_eq_forced P Y, | |
| 128 | - ContinuousMap.neg_apply,map_sub,map_neg] | |
| 129 | - abel | |
| 130 | - | |
| 131 | 106 | end EulerCylinderDirichlet.Coefficients |
+0 −6 Euler/CylinderGradientEmbedding.lean View file
| @@ -76,10 +76,4 @@ theorem smul_embedding_gradient_mem (κ : ℝ) (m : Space) | ||
| 76 | 76 | exact ((Submodule.span ℝ EulerMeanSolenoidal.gradientGenerators).topologicalClosure_minimal |
| 77 | 77 | hgen hclosed) hg |
| 78 | 78 | |
| 79 | -theorem embedding_gradient_mem (κ : ℝ) (hκ : κ ≠ 0) (m : Space) | |
| 80 | - (g : EulerMeanSolenoidal.L2) (hg : g ∈ EulerMeanSolenoidal.gradientSpace) : | |
| 81 | - embedding P g ∈ gradientSpace P κ m := by | |
| 82 | - have h := (gradientSpace P κ m).smul_mem κ⁻¹ (smul_embedding_gradient_mem P κ m g hg) | |
| 83 | - simpa only [smul_smul,inv_mul_cancel₀ hκ,one_smul] using h | |
| 84 | - | |
| 85 | 79 | end EulerCylinderSpatialEmbedding |
+0 −6 Euler/CylinderGraphRealization.lean View file
| @@ -58,10 +58,4 @@ theorem graph_norm_sq_le (w : Lp Vector3 2 (volume : Measure Vector3)) | ||
| 58 | 58 | ((memLp_congr_ae hu).1 (Lp.memLp u)) |
| 59 | 59 | ((memLp_congr_ae hv).1 (Lp.memLp v)) θ hθ).2 |
| 60 | 60 | |
| 61 | -theorem graphRealization_norm_sq_le : | |
| 62 | - ‖graphRealization P f hf u v hu hv θ hθ‖^2 ≤ | |
| 63 | - (2/P)*‖u‖^2+(2*P)*‖v‖^2 := | |
| 64 | - graph_norm_sq_le P f hf u v hu hv θ hθ _ | |
| 65 | - (graphRealization_ae P f hf u v hu hv θ hθ) | |
| 66 | - | |
| 67 | 61 | end EulerCylinderGraphTrace |
+0 −39 Euler/CylinderHeatEquation.lean View file
| @@ -19,15 +19,6 @@ def realHeatList (directions : List LiftTangent) (t : ℝ) (f : LiftL2 period) : | ||
| 19 | 19 | | [] => f |
| 20 | 20 | | a :: tail => realLineHeat period a t (realHeatList tail t f) |
| 21 | 21 | |
| 22 | -theorem realHeatList_eq (directions : List LiftTangent) {t : ℝ} (ht : 0 ≤ t) (f : LiftL2 period) : | |
| 23 | - realHeatList period directions t f = heatList period directions ⟨t, ht⟩ f := by | |
| 24 | - induction directions with | |
| 25 | - | nil => rfl | |
| 26 | - | cons a tail ih => | |
| 27 | - change realLineHeat period a t (realHeatList period tail t f) = | |
| 28 | - lineHeat period a ⟨t, ht⟩ (heatList period tail ⟨t, ht⟩ f) | |
| 29 | - rw [realLineHeat_eq period a ht, ih] | |
| 30 | - | |
| 31 | 22 | theorem realLineHeat_add (a : LiftTangent) (t : ℝ) (f g : LiftL2 period) : |
| 32 | 23 | realLineHeat period a t (f+g) = realLineHeat period a t f + realLineHeat period a t g := by |
| 33 | 24 | simp only [realLineHeat_eq_toNNReal, lineHeat_add] |
| @@ -42,12 +33,6 @@ theorem realHeatList_add (directions : List LiftTangent) (t : ℝ) (f g : LiftL2 | ||
| 42 | 33 | | nil => rfl |
| 43 | 34 | | cons a tail ih => simp only [realHeatList, ih, realLineHeat_add] |
| 44 | 35 | |
| 45 | -theorem realHeatList_smul (directions : List LiftTangent) (t c : ℝ) (f : LiftL2 period) : | |
| 46 | - realHeatList period directions t (c • f) = c • realHeatList period directions t f := by | |
| 47 | - induction directions with | |
| 48 | - | nil => rfl | |
| 49 | - | cons a tail ih => simp only [realHeatList, ih, realLineHeat_smul] | |
| 50 | - | |
| 51 | 36 | @[simp] theorem realHeatList_zero_field (directions : List LiftTangent) (t : ℝ) : |
| 52 | 37 | realHeatList period directions t 0 = 0 := by |
| 53 | 38 | induction directions with |
| @@ -69,11 +54,6 @@ theorem realHeatList_eq_toNNReal (directions : List LiftTangent) (t : ℝ) (f : | ||
| 69 | 54 | lineHeat period a t.toNNReal (heatList period tail t.toNNReal f) |
| 70 | 55 | rw [realLineHeat_eq_toNNReal, ih] |
| 71 | 56 | |
| 72 | -theorem realHeatList_continuous (directions : List LiftTangent) (f : LiftL2 period) : | |
| 73 | - Continuous (fun t : ℝ => realHeatList period directions t f) := by | |
| 74 | - simp_rw [realHeatList_eq_toNNReal] | |
| 75 | - exact (heatList_continuous period directions f).comp continuous_real_toNNReal | |
| 76 | - | |
| 77 | 57 | /-- Every strong coordinate derivative commutes with every finite heat product. -/ |
| 78 | 58 | theorem realHeatList_strongDerivative (directions : List LiftTangent) (a : LiftTangent) (t : ℝ) |
| 79 | 59 | (f g : LiftL2 period) (hD : HasDerivAt (lineOrbit period a f) g 0) : |
| @@ -115,23 +95,4 @@ theorem realHeatList_generator_pos {ι : Type*} (indices : List ι) (direction : | ||
| 115 | 95 | rw [halg] at h |
| 116 | 96 | exact h |
| 117 | 97 | |
| 118 | -/-- The full directional generator identity holds as a right derivative at zero as well. -/ | |
| 119 | -theorem realHeatList_generator_zero {ι : Type*} (indices : List ι) (direction : ι → LiftTangent) | |
| 120 | - (f : LiftL2 period) (df ddf : ι → LiftL2 period) | |
| 121 | - (hD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) f) (df i) 0) | |
| 122 | - (hDD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) (df i)) (ddf i) 0) : | |
| 123 | - HasDerivWithinAt (fun s => realHeatList period (indices.map direction) s f) | |
| 124 | - ((1/2 : ℝ) • (indices.map ddf).sum) (Set.Ici 0) 0 := by | |
| 125 | - have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) | |
| 126 | - (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • (indices.map ddf).sum)) := by | |
| 127 | - have hc : ContinuousAt (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) 0 := | |
| 128 | - ((realHeatList_continuous period _ _).const_smul (1/2 : ℝ)).continuousAt | |
| 129 | - simpa only [realHeatList_zero_time] using (hc.continuousWithinAt (s := Set.Ioi 0)).tendsto | |
| 130 | - apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) | |
| 131 | - (fun t ht => (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).differentiableAt.differentiableWithinAt) | |
| 132 | - (realHeatList_continuous period _ _).continuousAt.continuousWithinAt self_mem_nhdsWithin | |
| 133 | - apply hlim.congr' | |
| 134 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 135 | - exact (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).deriv.symm | |
| 136 | - | |
| 137 | 98 | end EulerGaussianCylinderHeat |
+0 −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 −50 Euler/CylinderPathProductSupport.lean View file
| @@ -32,54 +32,4 @@ variable (p q : C(K,LiftL2 P)) | ||
| 32 | 32 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 33 | 33 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 34 | 34 | |
| 35 | -theorem scalarProductPath_supported_left (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 36 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 37 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 38 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 39 | - (spatialSet_measurable P S hS) _).mpr | |
| 40 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 41 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 42 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P p hp t] | |
| 43 | - with x hz hr hrep hx | |
| 44 | - rw [hr, ← hrep, hz hx, map_zero, zero_smul] | |
| 45 | - | |
| 46 | -theorem scalarProductPath_supported_right (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 47 | - (hs : ∀ t, q t ∈ Supported P Space S hS) (t : K) : | |
| 48 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 49 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 50 | - (spatialSet_measurable P S hS) _).mpr | |
| 51 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 52 | - (spatialSet_measurable P S hS) (q t)).mp (hs t) | |
| 53 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P q hq t] | |
| 54 | - with x hz hr hrep hx | |
| 55 | - rw [hr, ← hrep, hz hx, smul_zero] | |
| 56 | - | |
| 57 | -theorem bilinearProductPath_supported_left (B : Space →L[ℝ] Space →L[ℝ] Space) | |
| 58 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 59 | - bilinearProductPath P B p q hp hq t ∈ Supported P Space S hS := by | |
| 60 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 61 | - (spatialSet_measurable P S hS) _).mpr | |
| 62 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 63 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 64 | - filter_upwards [hzero,bilinearProductPath_ae P B p q hp hq t,pointField_ae P p hp t] | |
| 65 | - with x hz hr hrep hx | |
| 66 | - rw [hr, ← hrep, hz hx, map_zero, zero_apply] | |
| 67 | - | |
| 68 | -theorem scalarDerivativeProductPath_supported (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 69 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (i : Fin 4) (t : K) : | |
| 70 | - scalarDerivativeProductPath P L hL p q hp hq i t ∈ Supported P Space S hS := | |
| 71 | - scalarProductPath_supported_left P S hS p (derivativePath P q i) hp | |
| 72 | - (derivativePath_orbit P q hq i) L hL hs t | |
| 73 | - | |
| 74 | -theorem advectionPath_supported (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 75 | - advectionPath P p q hp hq t ∈ Supported P Space S hS := by | |
| 76 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 77 | - (spatialSet_measurable P S hS) _).mpr | |
| 78 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 79 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 80 | - filter_upwards [hzero,advectionPath_ae P p q hp hq t,pointField_ae P p hp t] | |
| 81 | - with x hz hr hrep hx | |
| 82 | - rw [hr, ← hrep, hz hx] | |
| 83 | - exact map_zero _ | |
| 84 | - | |
| 85 | 35 | end EulerCylinderPathProduct |
+0 −47 Euler/CylinderPeriodicFlow.lean View file
| @@ -28,53 +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_continuous (s t : ℝ) : Continuous (flow P V s t) := | |
| 38 | - descendMap_continuous P (V.flow s t) (flow_deck P V hV s t) (V.flowHomeomorph s t).continuous | |
| 39 | - | |
| 40 | -include hV in | |
| 41 | -theorem flow_initial (s : ℝ) (q : LiftDomain P) : flow P V s s q=q := by | |
| 42 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 43 | - rw [flow_cover P V hV,V.flow_initial] | |
| 44 | - | |
| 45 | -include hV in | |
| 46 | -theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := | |
| 47 | - descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) | |
| 48 | - (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) | |
| 49 | - | |
| 50 | -include hV in | |
| 51 | -theorem flow_cocycle (r s t : ℝ) (q : LiftDomain P) : | |
| 52 | - flow P V s t (flow P V r s q)=flow P V r t q := by | |
| 53 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 54 | - rw [flow_cover P V hV,flow_cover P V hV,flow_cover P V hV,V.flow_cocycle] | |
| 55 | - | |
| 56 | -def flowHomeomorph (s t : ℝ) : LiftDomain P ≃ₜ LiftDomain P where | |
| 57 | - toFun := flow P V s t | |
| 58 | - invFun := flow P V t s | |
| 59 | - left_inv := flow_inverse P V hV s t | |
| 60 | - right_inv := flow_inverse P V hV t s | |
| 61 | - continuous_toFun := flow_continuous P V hV s t | |
| 62 | - continuous_invFun := flow_continuous P V hV t s | |
| 63 | - | |
| 64 | -include hV in | |
| 65 | -theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by | |
| 66 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := | |
| 67 | - (coveringMap_isOpenQuotient P).continuous.comp V.forward_joint_continuous | |
| 68 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.forward t z)) hf | |
| 69 | - (fun t => map_fiber_constant P (V.flow 0 t) (flow_deck P V hV 0 t)) | |
| 70 | - | |
| 71 | -include hV in | |
| 72 | -theorem backward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V z.1 0 z.2) := by | |
| 73 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.backward z.1 z.2)) := | |
| 74 | - (coveringMap_isOpenQuotient P).continuous.comp V.backward_joint_continuous | |
| 75 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.backward t z)) hf | |
| 76 | - (fun t => map_fiber_constant P (V.flow t 0) (flow_deck P V hV t 0)) | |
| 77 | - | |
| 78 | 31 | include hV in |
| 79 | 32 | theorem flow_measurePreserving (s t : ℝ) (hf : MeasurePreserving (V.flow s t) volume volume) : |
| 80 | 33 | MeasurePreserving (flow P V s t) (liftMeasure P) (liftMeasure P) := |
+0 −25 Euler/CylinderPotentialTime.lean View file
| @@ -50,29 +50,4 @@ theorem potentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 50 | 50 | fullProduct_hasDerivWithinAt P T hT B B₁ hBt (pathPrimitive P p) (pathPrimitive P f) |
| 51 | 51 | (pathPrimitive_time_derivative P T hT p f hd) t |
| 52 | 52 | |
| 53 | -theorem potentialField_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 54 | - HasDerivWithinAt (fun r => potentialField P B hB p hp (projIcc 0 T hT r) x) | |
| 55 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 56 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 57 | - pointField_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 58 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 59 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x | |
| 60 | - | |
| 61 | -/-- The actual curl derivative is obtained from the constructed potential, not assumed as a profile jet. -/ | |
| 62 | -theorem potentialCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 63 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 64 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 65 | - (Icc (0 : ℝ) T) t) : | |
| 66 | - HasDerivWithinAt | |
| 67 | - (fun r => liftedSlowCurl P (F r) (potentialField P B hB p hp (projIcc 0 T hT r)) x) | |
| 68 | - (liftedSlowCurl P (F t) | |
| 69 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 70 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t) x + | |
| 71 | - curlMatrix ((fieldFDeriv P (potentialField P B hB p hp t) x).comp | |
| 72 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 73 | - (Icc (0 : ℝ) T) t := | |
| 74 | - liftedSlowCurl_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 75 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 76 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x F G₁ hG | |
| 77 | - | |
| 78 | 53 | end EulerCylinderPotential |
+0 −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 −5 Euler/CylinderRetractRepresentative.lean View file
| @@ -26,11 +26,6 @@ variable (P : ℝ) [Fact (0 < P)] {U : Type*} | ||
| 26 | 26 | def pointField (t : K) (x : LiftDomain P) : U := |
| 27 | 27 | L (EulerCylinderSmoothOrbit.pointField P (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t x) |
| 28 | 28 | |
| 29 | -theorem pointField_joint_continuous : | |
| 30 | - Continuous (fun z : K × LiftDomain P => pointField P J L p hp z.1 z.2) := | |
| 31 | - L.continuous.comp (EulerCylinderSmoothOrbit.pointField_joint_continuous P | |
| 32 | - (pathMap P J p) (pathMap_orbit_contDiff P J p hp)) | |
| 33 | - | |
| 34 | 29 | theorem pointField_smooth (t : K) (x : LiftDomain P) : |
| 35 | 30 | ContDiff ℝ ∞ (localFieldLift P (pointField P J L p hp t) x) := |
| 36 | 31 | L.contDiff.comp (EulerCylinderSmoothOrbit.pointField_smooth P |
+0 −5 Euler/CylinderScalarClassical.lean View file
| @@ -69,11 +69,6 @@ theorem classicalPrimitive_smooth | ||
| 69 | 69 | rw [he] |
| 70 | 70 | exact hq.comp (contDiff_const.add contDiff_id) |
| 71 | 71 | |
| 72 | -theorem classicalPrimitive_continuous | |
| 73 | - (hfs : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) : | |
| 74 | - Continuous (classicalPrimitive P f hf hmean) := | |
| 75 | - smoothField_continuous P _ (classicalPrimitive_smooth P f hf hmean hfs) | |
| 76 | - | |
| 77 | 72 | omit [Fact (0 < P)] in |
| 78 | 73 | /-- Angular integration does not spread spatial support. -/ |
| 79 | 74 | theorem classicalPrimitive_zero (y : Space) (hy : ∀ θ : AddCircle P, f (y,θ) = 0) (θ : AddCircle P) : |
+0 −7 Euler/CylinderSlowCurl.lean View file
| @@ -98,12 +98,5 @@ theorem field_formula (t : K) (x : LiftDomain P) : | ||
| 98 | 98 | (hD.clm_comp (continuous_const.clm_comp ((G t).continuous.comp continuous_fst))) |
| 99 | 99 | exact congrFun he x |
| 100 | 100 | |
| 101 | -theorem field_eq_liftedSlowCurl (F : K → Space → Space ≃L[ℝ] Space) | |
| 102 | - (hF : ∀ t y, G t y = (F t y).symm.toContinuousLinearMap) (t : K) : | |
| 103 | - field P G hG p hp t = liftedSlowCurl P (F t) (pointField P p hp t) := by | |
| 104 | - funext x | |
| 105 | - rw [field_formula, hF] | |
| 106 | - rfl | |
| 107 | - | |
| 108 | 101 | |
| 109 | 102 | end EulerCylinderSlowCurl |
+0 −10 Euler/CylinderSlowCurlTime.lean View file
| @@ -57,16 +57,6 @@ theorem path_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 57 | 57 | convert h using 1 <;> try rfl |
| 58 | 58 | simp [derivative, path, Finset.sum_add_distrib] |
| 59 | 59 | |
| 60 | -include hGt hd in | |
| 61 | -/-- The reconstructed classical curl has the derivative of the actual L² construction. -/ | |
| 62 | -theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 63 | - HasDerivWithinAt (fun r => field P G hG p hp (projIcc 0 T hT r) x) | |
| 64 | - (pointField P (derivative P T G G₁ p f) | |
| 65 | - (derivative_orbit P T G G₁ hG hG₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 66 | - pointField_hasDerivWithinAt P T hT (path P G p) (derivative P T G G₁ p f) | |
| 67 | - (path_orbit P G hG p hp) (derivative_orbit P T G G₁ hG hG₁ p f hp hf) | |
| 68 | - (path_hasDerivWithinAt P T hT G G₁ p f hp hf hGt hd) t x | |
| 69 | - | |
| 70 | 60 | include hG hG₁ hp hf in |
| 71 | 61 | /-- The true curl time derivative retains the same radius and one spatial shift. -/ |
| 72 | 62 | theorem derivative_block_bound (q : ℕ) (Rc C R D : ℝ) |
+0 −11 Euler/CylinderSobolevDensity.lean View file
| @@ -51,15 +51,4 @@ theorem sobolevMollifier_word_ae {q k : ℕ} (hk : k ≤ q) (n : ℕ) (u : Sobol | ||
| 51 | 51 | rw [toJet_word period u hk] at h |
| 52 | 52 | exact h |
| 53 | 53 | |
| 54 | -/-- Fields with actual smooth cylinder representatives are dense in the complete Sobolev space. -/ | |
| 55 | -theorem smooth_representatives_dense (q : ℕ) : | |
| 56 | - Dense {u : SobolevSpace period q | ∃ g : LiftDomain period → Vector3, | |
| 57 | - (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 58 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)} := by | |
| 59 | - intro u | |
| 60 | - apply mem_closure_of_tendsto (sobolevMollifier_tendsto period u) | |
| 61 | - exact Filter.Eventually.of_forall fun n => | |
| 62 | - ⟨smoothMollifier period n (value period u), sobolevMollifier_representative period n u, | |
| 63 | - smoothMollifier_smooth period n (value period u)⟩ | |
| 64 | - | |
| 65 | 54 | end EulerCylinderSobolevSpace |
+0 −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 −23 Euler/CylinderSobolevOperators.lean View file
| @@ -96,12 +96,6 @@ theorem liftOperator_bound {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) | ||
| 96 | 96 | intro w |
| 97 | 97 | exact (A.le_opNorm _).trans (mul_le_mul_of_nonneg_left (word_norm_le period u w) (norm_nonneg A)) |
| 98 | 98 | |
| 99 | -/-- The operator norm bound for an operator lifted to the complete Sobolev space. -/ | |
| 100 | -theorem norm_liftOperator_le (q : ℕ) (A : LiftL2 period →L[ℝ] LiftL2 period) | |
| 101 | - (hA : ∀ a f, A (translation period a f) = translation period a (A f)) : | |
| 102 | - ‖liftOperator period q A hA‖ ≤ ‖A‖ := | |
| 103 | - ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg A) (liftOperator_bound period A hA) | |
| 104 | - | |
| 105 | 99 | /-- The action on the underlying field is exactly the original L² operator. -/ |
| 106 | 100 | @[simp] |
| 107 | 101 | theorem value_liftOperator {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) |
| @@ -117,23 +111,6 @@ theorem translations_commute (a b : LiftDomain period) (f : LiftL2 period) : | ||
| 117 | 111 | def sobolevTranslation (q : ℕ) (a : LiftDomain period) : SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 118 | 112 | liftOperator period q (translation period a).toContinuousLinearMap (translations_commute period a) |
| 119 | 113 | |
| 120 | -/-- Cylinder translation preserves the complete Sobolev norm exactly. -/ | |
| 121 | -theorem sobolevTranslation_norm {q : ℕ} (a : LiftDomain period) (u : SobolevSpace period q) : | |
| 122 | - ‖sobolevTranslation period q a u‖ = ‖u‖ := by | |
| 123 | - apply le_antisymm | |
| 124 | - · change ‖(sobolevTranslation period q a u).val‖ ≤ ‖u.val‖ | |
| 125 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg u.val)).mpr | |
| 126 | - intro w | |
| 127 | - change ‖translation period a (u.val w)‖ ≤ ‖u.val‖ | |
| 128 | - rw [(translation period a).norm_map] | |
| 129 | - exact norm_le_pi_norm u.val w | |
| 130 | - · change ‖u.val‖ ≤ ‖(sobolevTranslation period q a u).val‖ | |
| 131 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr | |
| 132 | - intro w | |
| 133 | - have h := norm_le_pi_norm (sobolevTranslation period q a u).val w | |
| 134 | - change ‖translation period a (u.val w)‖ ≤ _ at h | |
| 135 | - simpa only [(translation period a).norm_map] using h | |
| 136 | - | |
| 137 | 114 | /-- The translation action is strongly continuous in the complete Sobolev topology. -/ |
| 138 | 115 | theorem sobolevTranslation_continuous {q : ℕ} (u : SobolevSpace period q) : |
| 139 | 116 | Continuous (fun a => sobolevTranslation period q a u) := by |
+0 −3 Euler/CylinderSobolevSpace.lean View file
| @@ -56,9 +56,6 @@ instance sobolevNormedAddCommGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace | ||
| 56 | 56 | instance sobolevNormedSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := |
| 57 | 57 | inferInstanceAs (NormedSpace ℝ (sobolevSubspace period q).toSubmodule) |
| 58 | 58 | |
| 59 | -/-- Completeness follows from closedness of the derivative graphs in a finite product of L² spaces. -/ | |
| 60 | -theorem sobolev_complete (q : ℕ) : CompleteSpace (SobolevSpace period q) := inferInstance | |
| 61 | - | |
| 62 | 59 | /-- The underlying L² field of a Sobolev derivative array. -/ |
| 63 | 60 | def value {q : ℕ} (u : SobolevSpace period q) : LiftL2 period := u.val (emptyWord q) |
| 64 | 61 | |
+0 −10 Euler/CylinderSpatialMeanPath.lean View file
| @@ -67,14 +67,4 @@ theorem pathMean_block_bound (directions : ι → X) (q : ℕ) | ||
| 67 | 67 | directions q (pathMean (K := K) (V := V) P) f hf n x |
| 68 | 68 | exact h.trans (mul_le_mul_of_nonneg_right (pathMean_norm P) (block_nonneg directions q f n x)) |
| 69 | 69 | |
| 70 | -theorem pathMean_block_majorant (directions : ι → X) (q : ℕ) | |
| 71 | - (f : X → C(K,CylinderL2 P V)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 72 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 73 | - block directions q (fun y => pathMean P (f y)) n x ≤ | |
| 74 | - ((P⁻¹*Real.sqrt P)*C)*majorant R d n := | |
| 75 | - (pathMean_block_bound P directions q f hf n x).trans | |
| 76 | - ((mul_le_mul_of_nonneg_left (hb n x) | |
| 77 | - (mul_nonneg (inv_nonneg.mpr (le_of_lt (Fact.out : 0 < P))) (Real.sqrt_nonneg P))).trans_eq | |
| 78 | - (mul_assoc (P⁻¹*Real.sqrt P) C _).symm) | |
| 79 | - | |
| 80 | 70 | end EulerCylinderSpatialMean |
+0 −5 Euler/CylinderSpatialMeanTime.lean View file
| @@ -43,9 +43,4 @@ theorem mean_pointField_eq (t : K) : | ||
| 43 | 43 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 44 | 44 | · exact pathMean_pointField_ae P p hp t |
| 45 | 45 | |
| 46 | -theorem rawMean_pointField_contDiff (t : K) : | |
| 47 | - ContDiff ℝ ∞ (rawMean P (pointField P p hp t)) := by | |
| 48 | - rw [← mean_pointField_eq P p hp t] | |
| 49 | - exact EulerMeanSmoothRepresentative.representative_smooth _ _ | |
| 50 | - | |
| 51 | 46 | end EulerCylinderSpatialMean |
+0 −36 Euler/CylinderTerminalAmplitude.lean View file
| @@ -37,40 +37,4 @@ theorem constantPath_block_le (directions : ι → LiftTangent) (q : ℕ) | ||
| 37 | 37 | exact hb.trans ((mul_le_mul_of_nonneg_right hn (block_nonneg directions q _ n a)).trans_eq |
| 38 | 38 | (one_mul _)) |
| 39 | 39 | |
| 40 | -theorem terminal_amplitude_bound (directions : ι → LiftTangent) (q : ℕ) | |
| 41 | - (S : CylinderL2 P U →L[ℝ] C(K,CylinderL2 P V)) | |
| 42 | - (hs : ∀ Y : CylinderL2 P U, ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y) → | |
| 43 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (S Y))) | |
| 44 | - (R C : ℝ) (d e : ℕ) | |
| 45 | - (hunit : ∀ Y : CylinderL2 P U, ∀ _hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y), | |
| 46 | - (∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant R d n) → | |
| 47 | - ∀ n, block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ C*majorant R e n) | |
| 48 | - (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) | |
| 49 | - (A : ℝ) (hA : 0 ≤ A) | |
| 50 | - (hb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ A*majorant R d n) | |
| 51 | - (n : ℕ) : | |
| 52 | - block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ (C*A)*majorant R e n := by | |
| 53 | - by_cases hAz : A = 0 | |
| 54 | - · have hy : Y = 0 := by | |
| 55 | - have hh := value_zero_of_block_zero_bound directions q | |
| 56 | - (fun a : LiftTangent => translate P a Y) 0 (by simpa only [hAz,zero_mul] using hb 0) | |
| 57 | - simpa only [translate_zero] using hh | |
| 58 | - simp only [hy,map_zero,block_zero_function,hAz,mul_zero,zero_mul,le_refl] | |
| 59 | - · have hAp : 0 < A := lt_of_le_of_ne hA (Ne.symm hAz) | |
| 60 | - let Z : CylinderL2 P U := A⁻¹ • Y | |
| 61 | - have hZ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Z) := by | |
| 62 | - simpa only [Z,map_smul] using hY.const_smul A⁻¹ | |
| 63 | - have hbZ (k : ℕ) : block directions q (fun a : LiftTangent => translate P a Z) k 0 ≤ | |
| 64 | - majorant R d k := by | |
| 65 | - have hz := block_normalize_bound directions q (fun a : LiftTangent => translate P a Y) | |
| 66 | - hY A hAp R 1 d k 0 (by simpa only [one_mul] using hb k) | |
| 67 | - simpa only [Z,map_smul,one_mul] using hz | |
| 68 | - have hr := block_restore_bound directions q | |
| 69 | - (fun a : LiftTangent => pathTranslate P a (S Z)) | |
| 70 | - (fun a : LiftTangent => pathTranslate P a (S Y)) (hs Z hZ) A hA (by | |
| 71 | - intro a | |
| 72 | - simp only [Z,map_smul,smul_smul,mul_inv_cancel₀ hAz,one_smul]) R C e n 0 | |
| 73 | - (hunit Z hZ hbZ n) | |
| 74 | - exact hr.trans_eq (by ring) | |
| 75 | - | |
| 76 | 40 | end EulerLpCylinderTranslation |
+0 −10 Euler/CylinderTimePrecomposition.lean View file
| @@ -53,14 +53,4 @@ theorem pointField_timeComp (p : C(K,CylinderL2 P Space)) | ||
| 53 | 53 | · exact smoothField_continuous P _ (pointField_smooth P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) |
| 54 | 54 | · exact smoothField_continuous P _ (pointField_smooth P p hp (φ t)) |
| 55 | 55 | |
| 56 | -theorem scalarPointField_timeComp (p : C(K,CylinderL2 P ℝ)) | |
| 57 | - (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) (φ : C(L,K)) (t : L) : | |
| 58 | - scalarPointField P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t = | |
| 59 | - scalarPointField P p hp (φ t) := | |
| 60 | - Measure.eq_of_ae_eq | |
| 61 | - ((scalarPointField_ae P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t).symm.trans | |
| 62 | - (scalarPointField_ae P p hp (φ t))) | |
| 63 | - (scalarPointField_continuous P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) | |
| 64 | - (scalarPointField_continuous P p hp (φ t)) | |
| 65 | - | |
| 66 | 56 | end EulerLpCylinderTranslation |
+0 −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 −40 Euler/PacketActivationConstructed.lean View file
| @@ -27,44 +27,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 27 | 27 | (D : Data U) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 28 | 28 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 29 | 29 | |
| 30 | -def activatedData (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 31 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 32 | - Data (referencePlane (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 33 | - (cross (unit (m τ)) (unit (v τ))))) := | |
| 34 | - D.activation ⟨τ,hτ.le,hτT.le⟩ (cross (unit (m τ)) (unit (v τ))) | |
| 35 | - (activation_cross_ne_zero _ _ hm hv hmv) | |
| 36 | - | |
| 37 | -def activatedHistory (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 38 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 39 | - HistoryData ((activatedData D τ hτ hτT m v hm hv hmv).initial τ hτ hτT.le) := | |
| 40 | - B.reframe (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 41 | - (cross (unit (m τ)) (unit (v τ)))) | |
| 42 | - (activationDirection_unit _ (activation_cross_ne_zero _ _ hm hv hmv)) | |
| 43 | - | |
| 44 | -theorem constructed_initial_matching | |
| 45 | - (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) (hmv : ⟪m τ,v τ⟫_ℝ=0) | |
| 46 | - (hHs : ∀ t, (B.H.field t 0).IsSymmetric) | |
| 47 | - (h CM CH ζ a ε : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h*τ) | |
| 48 | - (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hζ : 0 ≤ ζ) (hε : 0 < ε) | |
| 49 | - (hM : ∀ t : Icc (0 : ℝ) τ, ‖(D.initial τ hτ hτT.le).M.field t 0‖ ≤ CM*h) | |
| 50 | - (hHnorm : ‖B.coefficients.labelHessian 0‖ ≤ CH*h^2) | |
| 51 | - (hζsmall : 16*(activationConstant CM CH+1)*ζ ≤ 1) | |
| 52 | - (hB : ‖D.M.field ⟨τ,hτ.le,hτT.le⟩ 0- | |
| 53 | - h • rankOne ℝ (unit (v τ)) (unit (m τ))‖ ≤ ζ*h) | |
| 54 | - (hBpp : ⟪D.M.field ⟨τ,hτ.le,hτT.le⟩ 0 (unit (m τ)),unit (m τ)⟫_ℝ < 0) : | |
| 55 | - let Da := activatedData D τ hτ hτT m v hm hv hmv | |
| 56 | - let Ba := activatedHistory D τ hτ hτT B m v hm hv hmv | |
| 57 | - let s₀ := activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 58 | - (cross (unit (m τ)) (unit (v τ))) | |
| 59 | - 0 < s₀ ∧ | |
| 60 | - scaledRay m v (fun s => Da.normal.field (Da.clamp s) 0) s₀ τ a ε 0 = ![0,0,1] ∧ | |
| 61 | - ∃ ξ : referencePlane Da.m₀, ∃ lam : ℝ, ξ ≠ 0 ∧ 0 ≤ lam ∧ | |
| 62 | - lam ≤ 8*(activationConstant CM CH+1)/ε ∧ | |
| 63 | - ‖ξ‖ ≤ (8*(activationConstant CM CH+1)*D.inverseBound)/h ∧ | |
| 64 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 0 = -lam ∧ | |
| 65 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 1 = 1 := by | |
| 66 | - exact exists_activated_primary (D := activatedData D τ hτ hτT m v hm hv hmv) | |
| 67 | - τ hτ hτT (activatedHistory D τ hτ hτT B m v hm hv hmv) | |
| 68 | - m v hm hv hmv rfl hHs h CM CH ζ a ε hh hLayer hCM hCH hζ hε hM hHnorm hζsmall hB hBpp | |
| 69 | - | |
| 70 | 30 | end EulerPacketActivationHistory |
+0 −39 Euler/PacketActivationSourceData.lean View file
| @@ -14,45 +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 | -def Data.activation (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 44 | - Data (referencePlane (activationDirection (D.deformationEquiv t₀ 0) n)) := | |
| 45 | - D.reframe (activationDirection (D.deformationEquiv t₀ 0) n) | |
| 46 | - (activationDirection_unit _ hn) | |
| 47 | - | |
| 48 | -theorem Data.activation_normal (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 49 | - (D.activation t₀ n hn).normal.field t₀ 0 = activationRayScale (D.deformationEquiv t₀ 0) n • n := by | |
| 50 | - exact activationDirection_transport (D.deformationEquiv t₀ 0) n | |
| 51 | - | |
| 52 | -def HistoryData.activation {D : Data U} (B : HistoryData D) | |
| 53 | - (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : HistoryData (D.activation t₀ n hn) := | |
| 54 | - B.reframe (activationDirection (D.deformationEquiv t₀ 0) n) (activationDirection_unit _ hn) | |
| 55 | - | |
| 56 | 17 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 57 | 18 | (hn : ‖n‖=1) : |
| 58 | 19 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
+0 −18 Euler/PacketAngularPotential.lean View file
| @@ -18,13 +18,6 @@ theorem potential_hasDerivAt (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 18 | 18 | HasDerivAt (potential P m A) (potentialMultiplier m (A θ)) θ := |
| 19 | 19 | primitive_hasDerivAt P _ ((potentialMultiplier m).continuous.comp hA) θ |
| 20 | 20 | |
| 21 | -/-- The actual angular derivative recovers A after crossing with m. -/ | |
| 22 | -theorem cross_deriv_potential (P : ℝ) (m : Space) (hm : m ≠ 0) (A : ℝ → Space) | |
| 23 | - (hA : Continuous A) (htan : ∀ θ, ⟪m,A θ⟫_ℝ=0) (θ : ℝ) : | |
| 24 | - cross m (deriv (potential P m A) θ)=A θ := by | |
| 25 | - rw [(potential_hasDerivAt P m A hA θ).deriv] | |
| 26 | - exact cross_potentialMultiplier m (A θ) hm (htan θ) | |
| 27 | - | |
| 28 | 21 | theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) |
| 29 | 22 | (hA : Continuous A) (hper : Function.Periodic A P) |
| 30 | 23 | (hmean : ∫ θ in 0..P, A θ=0) : Function.Periodic (potential P m A) P := by |
| @@ -35,22 +28,11 @@ theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 35 | 28 | rw [(potentialMultiplier m).intervalIntegral_comp_comm (hA.intervalIntegrable 0 P), |
| 36 | 29 | hmean, map_zero] |
| 37 | 30 | |
| 38 | -theorem potential_mean_zero (P : ℝ) (hP : P ≠ 0) (m : Space) (A : ℝ → Space) | |
| 39 | - (hA : Continuous A) : (∫ θ in 0..P, potential P m A θ)=0 := | |
| 40 | - primitive_mean_zero P hP _ ((potentialMultiplier m).continuous.comp hA) | |
| 41 | - | |
| 42 | 31 | theorem potential_zero (P : ℝ) (m : Space) : |
| 43 | 32 | potential P m (fun _ => 0)=fun _ => 0 := by |
| 44 | 33 | funext θ |
| 45 | 34 | simp [potential, primitive, rawPrimitive] |
| 46 | 35 | |
| 47 | -/-- The angular construction creates no values at labels where the whole input vanishes. -/ | |
| 48 | -theorem potential_vanishes (P : ℝ) (m : Space) (A : ℝ → Space) (hA : ∀ θ, A θ=0) : | |
| 49 | - ∀ θ, potential P m A θ=0 := by | |
| 50 | - have h : A=fun _ => 0 := funext hA | |
| 51 | - rw [h, potential_zero] | |
| 52 | - exact fun _ => rfl | |
| 53 | - | |
| 54 | 36 | theorem potential_bound (P M : ℝ) (hP : 0 < P) (hM : 0 ≤ M) (m : Space) |
| 55 | 37 | (A : ℝ → Space) (hA : ∀ θ ∈ Icc 0 P, ‖A θ‖ ≤ M) (θ : ℝ) (hθ : θ ∈ Icc 0 P) : |
| 56 | 38 | ‖potential P m A θ‖ ≤ 2*P*(‖potentialMultiplier m‖*M) := by |
+0 −17 Euler/PacketApproximationBounds.lean View file
| @@ -35,21 +35,4 @@ theorem normalizedVelocity_bound (k : ℝ) (hk : 4 ≤ k) | ||
| 35 | 35 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) |
| 36 | 36 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) |
| 37 | 37 | |
| 38 | -/-- This is the inverse-frame image of W_t. The derivative of the inverse | |
| 39 | -frame is a separate coefficient term in the time derivative of z_a. -/ | |
| 40 | -theorem normalizedVelocityTimeTerm_bound (k : ℝ) (hk : 4 ≤ k) | |
| 41 | - (hbase : tailBase R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : | |
| 42 | - ((C.inverse.multiply (velocityDerivativeField hT G k⁻¹)).smul k).WordBound 6 (4*R) | |
| 43 | - (BC.multiplierCost*(fixedVelocityGradeCost R S.H0 1+fixedVelocityGradeCost R S.H0 2+1)) 0 := by | |
| 44 | - have hk0 : 0 ≤ k := by linarith | |
| 45 | - have hsmall : k⁻¹*tailBase R S.H0 BC.termCost N ≤ 1/2 := by | |
| 46 | - simpa only [div_eq_mul_inv,mul_comm] using | |
| 47 | - EulerPacketTailBound.grade_ratio_le_half k (tailBase R S.H0 BC.termCost N) hk hbase | |
| 48 | - have h := velocityDerivative_bound hT G hG hR ha hN BC.termCost BC.one_le_termCost | |
| 49 | - k⁻¹ (inv_nonneg.mpr hk0) hsmall | |
| 50 | - exact BC.normalized_approximation_bound (velocityDerivativeField hT G k⁻¹) h (by linarith) | |
| 51 | - (hRc.trans (by linarith)) hk (tailBase_nonneg R S.H0 BC.termCost BC.termCost_nonneg N) hbase | |
| 52 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) | |
| 53 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) | |
| 54 | - | |
| 55 | 38 | end EulerPacketCylinderField.ProfileRegularity |
+0 −8 Euler/PacketBudgetTimeChange.lean View file
| @@ -31,14 +31,6 @@ theorem WordBound.changeTime (hG : G.WordBound q R A d) (h : T = T') : | ||
| 31 | 31 | subst T' |
| 32 | 32 | exact hG |
| 33 | 33 | |
| 34 | -theorem WordBound.normalized_profile_eq {hT : 0 ≤ T} | |
| 35 | - {g : C(Icc (0 : ℝ) T,ℝ)} {hg : ∀ t, 0 < g t} | |
| 36 | - (hG : (G.normalized hT g hg).WordBound q R A d) | |
| 37 | - (g' : C(Icc (0 : ℝ) T,ℝ)) (hg' : ∀ t, 0 < g' t) (he : g = g') : | |
| 38 | - (G.normalized hT g' hg').WordBound q R A d := by | |
| 39 | - subst g' | |
| 40 | - exact hG | |
| 41 | - | |
| 42 | 34 | theorem WordBound.normalized_changeTime (hT : 0 ≤ T) |
| 43 | 35 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 36 | (hG : (G.normalized hT g hg).WordBound q R A d) |
+0 −18 Euler/PacketChildFieldMatch.lean View file
| @@ -187,22 +187,4 @@ variable (A : Parent) (H : LowBounds A) | ||
| 187 | 187 | (A.sourceAgreement m hm J support hSupport H) N hN k hk)) |
| 188 | 188 | (I : ParticleInverse A) |
| 189 | 189 | |
| 190 | -theorem normalizedPacketVelocity_initialized (t : Icc (0 : ℝ) A.T) : | |
| 191 | - A.normalizedPacketVelocity m hm J support hSupport Q | |
| 192 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 193 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 194 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 195 | - initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 196 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 197 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 198 | - | |
| 199 | -theorem normalizedPacketPressure_initialized (t : Icc (0 : ℝ) A.T) : | |
| 200 | - A.normalizedPacketPressure m hm J support hSupport Q | |
| 201 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 202 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 203 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 204 | - initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 205 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 206 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 207 | - | |
| 208 | 190 | end EulerParentPacketFrames.Parent |
+0 −19 Euler/PacketChildLowBounds.lean View file
| @@ -110,25 +110,6 @@ def SourceErrors (ev ep : ℝ) : Prop := | ||
| 110 | 110 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 111 | 111 | (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x))‖ ≤ ep |
| 112 | 112 | |
| 113 | -/-- The literal strict errors returned by the global same-Q packet | |
| 114 | -theorem imply the error record without any additional analytic bound. -/ | |
| 115 | -theorem sourceErrors_of_global (ev ep : ℝ) | |
| 116 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 117 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 118 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 119 | - rankOne ℝ (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x)) | |
| 120 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 121 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 122 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT H G.terminal hs (G.primaryAmplitude hball) t | |
| 123 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 124 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 125 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 126 | - E.SourceErrors m hm J support hSupport B residual k G hball hs ev ep := by | |
| 127 | - intro t x | |
| 128 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 129 | - erw [pressureTerm_eq_coefficient] | |
| 130 | - exact (herr t x).2.le | |
| 131 | - | |
| 132 | 113 | include hk hδ hδ1 in |
| 133 | 114 | theorem exactPacket_good_low_bounds |
| 134 | 115 | (ev ep CM CH Kupper : ℝ) |
+0 −6 Euler/PacketCoarseMajorant.lean View file
| @@ -14,12 +14,6 @@ theorem gradeBase_nonneg (R : ℝ) (N : ℕ) : 0 ≤ gradeBase R N := by | ||
| 14 | 14 | unfold gradeBase |
| 15 | 15 | positivity |
| 16 | 16 | |
| 17 | -theorem gradeBase_ge_one (R : ℝ) (hR : 1 ≤ R) (N : ℕ) (hN : 1 ≤ N) : | |
| 18 | - 1 ≤ gradeBase R N := by | |
| 19 | - have hn : (1 : ℝ) ≤ N := by exact_mod_cast hN | |
| 20 | - have hbase : (1 : ℝ) ≤ 4*R*(550*(N : ℝ))^2 := by nlinarith | |
| 21 | - exact one_le_pow₀ hbase | |
| 22 | - | |
| 23 | 17 | theorem factorial_le_grade_power (N p d : ℕ) (hN : 1 ≤ N) (hp : p ≤ 2*N+2) |
| 24 | 18 | (hd : d ≤ 110*(p+1)) : (d.factorial : ℝ) ≤ (550*(N : ℝ))^d := by |
| 25 | 19 | have hdN : d ≤ 550*N := by omega |
+0 −5 Euler/PacketCoefficientTower.lean View file
| @@ -24,11 +24,6 @@ def toCoefficientTower (A : MatrixCoefficient T raw) : | ||
| 24 | 24 | (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 25 | 25 | ((A.toCoefficientTower P).coefficient t).coefficient x = A.path t x.1 := rfl |
| 26 | 26 | |
| 27 | -theorem toCoefficientTower_raw (A : MatrixCoefficient T raw) | |
| 28 | - (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 29 | - ((A.toCoefficientTower P).coefficient t).coefficient (x,(θ : AddCircle P)) = | |
| 30 | - raw (t,(x,θ)) := (A.raw_eq t x θ).symm | |
| 31 | - | |
| 32 | 27 | theorem toCoefficientTower_operator (A : MatrixCoefficient T raw) |
| 33 | 28 | (t : Icc (0 : ℝ) T) : |
| 34 | 29 | ((A.toCoefficientTower P).coefficient t).operator = fullOperatorMap P (A.path t) := |
+0 −5 Euler/PacketCoefficientTowerBounds.lean View file
| @@ -18,11 +18,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {raw : EulerPacketPointJets.Domain | ||
| 18 | 18 | |
| 19 | 19 | include hRc hC hb |
| 20 | 20 | |
| 21 | -theorem toCoefficientTower_block_bound (s q n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 22 | - EulerH6Pressure.coefficientBlock P ((A.toCoefficientTower P).jet s t) q n ≤ | |
| 23 | - sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 24 | - coefficientJet_block_bound P A.path A.orbit s q Rc C hRc hC hb n t | |
| 25 | - | |
| 26 | 21 | theorem toCoefficientTower_base_bound (s q r : ℕ) (hr : r ≤ q) (t : Icc (0 : ℝ) T) : |
| 27 | 22 | boundLevel P ((A.toCoefficientTower P).jet s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := |
| 28 | 23 | coefficientJet_base_bound P A.path A.orbit Rc C hRc hC hb s q r hr t |
+0 −8 Euler/PacketCofactorGevrey.lean View file
| @@ -46,14 +46,6 @@ theorem adjugate_bound (F : P → EndSpace) (hF : ContDiff ℝ ∞ F) | ||
| 46 | 46 | (mul_nonneg (by positivity) (majorant_nonneg R hR 0 n)) |
| 47 | 47 | _ = (9*C^2)*majorant R 0 n := by ring |
| 48 | 48 | |
| 49 | -theorem inverse_contDiff (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) | |
| 50 | - (hdet : ∀ x, (operatorMatrix (F x)).det = 1) | |
| 51 | - (hI : ∀ x v, I x (F x v) = v) : ContDiff ℝ ∞ I := by | |
| 52 | - have he : I = fun x => adjugate (F x) := | |
| 53 | - funext (fun x => inverse_eq_adjugate (F x) (I x) (hdet x) (hI x)) | |
| 54 | - rw [he] | |
| 55 | - exact adjugate_contDiff F hF | |
| 56 | - | |
| 57 | 49 | theorem inverse_bound (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) |
| 58 | 50 | (hdet : ∀ x, (operatorMatrix (F x)).det = 1) |
| 59 | 51 | (hI : ∀ x v, I x (F x v) = v) |
+0 −14 Euler/PacketCommonRadius.lean View file
| @@ -87,10 +87,6 @@ namespace EulerMeanPacketProvider.Budget.GradeGuards | ||
| 87 | 87 | |
| 88 | 88 | variable {D : Data} {R : ℝ} {M : Budget D 6 R} |
| 89 | 89 | |
| 90 | -theorem enlargeRadius (W : GradeGuards M) (R' : ℝ) (h : R ≤ R') : | |
| 91 | - GradeGuards (M.enlargeRadius R' h) := | |
| 92 | - ⟨W.velocity.trans h,W.derivative.trans h,W.pressureGradient.trans h⟩ | |
| 93 | - | |
| 94 | 90 | end EulerMeanPacketProvider.Budget.GradeGuards |
| 95 | 91 | |
| 96 | 92 | namespace EulerTransversePacketJoin.Budget.GradeGuards |
| @@ -103,22 +99,12 @@ variable {P : ℝ} | ||
| 103 | 99 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 104 | 100 | {L : Budget D τ hτ hτT B (Fin 4) 6} {N : NormalBudget D 6 L.R} |
| 105 | 101 | |
| 106 | -theorem enlargeRadius (W : GradeGuards (P := P) L N) (R' : ℝ) (h : L.R ≤ R') : | |
| 107 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) := | |
| 108 | - ⟨W.common.trans h,W.corrector.trans h,W.correctorTime.trans h,W.pressureGradient.trans h⟩ | |
| 109 | - | |
| 110 | 102 | end EulerTransversePacketJoin.Budget.GradeGuards |
| 111 | 103 | |
| 112 | 104 | namespace EulerPacketCylinderField.Field |
| 113 | 105 | |
| 114 | 106 | open EulerPacketProfileRecursion EulerGevrey EulerOperatorGevreyCalculus |
| 115 | 107 | |
| 116 | -theorem WordBound.mono_radius {P T : ℝ} [Fact (0 < P)] | |
| 117 | - {raw : VectorField} {G : Field P T raw} {q d : ℕ} {R R' A : ℝ} | |
| 118 | - (hG : G.WordBound q R A d) (hR : 0 ≤ R) (hA : 0 ≤ A) (h : R ≤ R') : | |
| 119 | - G.WordBound q R' A d := fun n => (hG n).trans | |
| 120 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono R R' hR h d n) hA) | |
| 121 | - | |
| 122 | 108 | end EulerPacketCylinderField.Field |
| 123 | 109 | |
| 124 | 110 | namespace EulerPacketCommonRadius |
+0 −19 Euler/PacketCoordinateJets.lean View file
| @@ -60,25 +60,6 @@ theorem normal_coordinate (k : ℝ) (W : VectorField) (z : Domain) : | ||
| 60 | 60 | k*⟪(rawInverse D z).adjoint D.m₀,W z⟫_ℝ |
| 61 | 61 | rw [inner_smul_right,adjoint_inner_left] |
| 62 | 62 | |
| 63 | -theorem coordinate_hasDerivWithinAt (k : ℝ) (W Wt : VectorField) | |
| 64 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 65 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 66 | - (Icc (0 : ℝ) D.T) t) : | |
| 67 | - HasDerivWithinAt (fun r => coordinate D k W (r,(x,θ))) | |
| 68 | - (coordinateTime D k W Wt (t,(x,θ))) (Icc (0 : ℝ) D.T) t := by | |
| 69 | - have hi := D.inverse_hasDerivWithinAt t t.property x | |
| 70 | - have h := (hi.clm_apply hW).const_smul k | |
| 71 | - convert! h using 1 | |
| 72 | - | |
| 73 | -theorem coordinate_derivWithin (k : ℝ) (W Wt : VectorField) | |
| 74 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 75 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 76 | - (Icc (0 : ℝ) D.T) t) : | |
| 77 | - derivWithin (fun r => coordinate D k W (r,(x,θ))) (Icc (0 : ℝ) D.T) t = | |
| 78 | - coordinateTime D k W Wt (t,(x,θ)) := | |
| 79 | - (coordinate_hasDerivWithinAt D k W Wt t x θ hW).derivWithin | |
| 80 | - ((uniqueDiffOn_Icc D.T_pos) _ t.property) | |
| 81 | - | |
| 82 | 63 | section Fields |
| 83 | 64 | |
| 84 | 65 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCoordinateResidual.lean View file
| @@ -31,9 +31,6 @@ def algebraic (κ : ℝ) (Z : VectorField) (z : Domain) : Space := | ||
| 31 | 31 | def coordinatePressure (k : ℝ) (p : ScalarField) (z : Domain) : Space := |
| 32 | 32 | k • pressureGradient p z + k^2 • ((pressureJet p z).2 angleDirection • D.m₀) |
| 33 | 33 | |
| 34 | -def liftedPressure (κ : ℝ) (p : ScalarField) (z : Domain) : Space := | |
| 35 | - κ • pressureGradient p z + (pressureJet p z).2 angleDirection • D.m₀ | |
| 36 | - | |
| 37 | 34 | theorem transport_formula (κ : ℝ) (Z : VectorField) (z : Domain) : |
| 38 | 35 | transport D κ Z z = |
| 39 | 36 | κ • fderiv ℝ (fun y => Z (z.1,y)) z.2 (Z z,0) + |
| @@ -74,20 +71,6 @@ theorem normalized_pressure (k : ℝ) (p : ScalarField) (z : Domain) : | ||
| 74 | 71 | simp only [map_add,map_smul,smul_add,smul_smul,pow_two] |
| 75 | 72 | module |
| 76 | 73 | |
| 77 | -theorem coordinatePressure_eq_lifted (k : ℝ) (hk : k ≠ 0) (p : ScalarField) | |
| 78 | - (z : Domain) (hp : DifferentiableAt ℝ (fun y => p (z.1,y)) z.2) : | |
| 79 | - coordinatePressure D k p z = liftedPressure D k⁻¹ (k^2 • p) z := by | |
| 80 | - have hd : fderiv ℝ (fun y => (k^2 • p) (z.1,y)) z.2 = | |
| 81 | - k^2 • fderiv ℝ (fun y => p (z.1,y)) z.2 := by | |
| 82 | - convert! (hp.hasFDerivAt.const_smul (k^2)).fderiv using 1 | |
| 83 | - unfold liftedPressure coordinatePressure | |
| 84 | - rw [pressureGradient_eq_spatialDual,pressureGradient_eq_spatialDual, | |
| 85 | - pressureJet_angle,pressureJet_angle,hd] | |
| 86 | - simp only [smul_comp,map_smul,smul_apply,smul_smul] | |
| 87 | - have he : k⁻¹*k^2 = k := by field_simp | |
| 88 | - rw [he] | |
| 89 | - simp only [smul_eq_mul] | |
| 90 | - | |
| 91 | 74 | section Fields |
| 92 | 75 | |
| 93 | 76 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCorrectionCoefficientParity.lean View file
| @@ -59,21 +59,4 @@ theorem quadraticTower_odd (κ : ℝ) (t : Icc (0 : ℝ) D.T) (i : Fin 3) (x : L | ||
| 59 | 59 | fderiv_neg_of_even (D.F.field t : Space → Space →L[ℝ] Space) (D.F.smooth t) (hF t), |
| 60 | 60 | neg_apply,comp_neg,smul_neg] |
| 61 | 61 | |
| 62 | -include hF hM in | |
| 63 | -theorem correctionParityData (κ : ℝ) (hκ : |κ| ≤ 1) {z r : VectorField} | |
| 64 | - (Z : Field P D.T z) (G : Field P D.T r) | |
| 65 | - (hZ : JointOdd D.T z) (hG : JointOdd D.T r) : | |
| 66 | - EulerCorrectionAssembly.ParityData P (correctionDataOfFields D P κ hκ Z G) where | |
| 67 | - metric := metricTower_even D hF P | |
| 68 | - linear := linearTower_even D hF hM P | |
| 69 | - quadratic := quadraticTower_odd D hF P κ | |
| 70 | - approximation t := by | |
| 71 | - have h := Z.reflection_neg_of_raw_odd t (hZ t) | |
| 72 | - change -EulerCylinderFieldReflection.reflection P (Z.path t) = Z.path t | |
| 73 | - rw [h,neg_neg] | |
| 74 | - residual t := by | |
| 75 | - have h := G.reflection_neg_of_raw_odd t (hG t) | |
| 76 | - change -EulerCylinderFieldReflection.reflection P (G.path t) = G.path t | |
| 77 | - rw [h,neg_neg] | |
| 78 | - | |
| 79 | 62 | end EulerPacketCorrectionCoefficients |
+0 −23 Euler/PacketCorrectionMetric.lean View file
| @@ -35,12 +35,6 @@ theorem frame_adjoint_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 35 | 35 | intro w |
| 36 | 36 | rw [adjoint_inner_left,adjoint_inner_left,D.inverse_left] |
| 37 | 37 | |
| 38 | -theorem inverse_adjoint_frame (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 39 | - (D.FInv.field t x).adjoint ((D.F.field t x).adjoint v) = v := by | |
| 40 | - apply ext_inner_right ℝ | |
| 41 | - intro w | |
| 42 | - rw [adjoint_inner_left,adjoint_inner_left,D.inverse_right] | |
| 43 | - | |
| 44 | 38 | theorem metric_inner (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 45 | 39 | ⟪(metricCoefficient D).path t x v,w⟫_ℝ = |
| 46 | 40 | ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := by |
| @@ -72,23 +66,6 @@ theorem inverseMetric_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 72 | 66 | (D.F.field t x (D.FInv.field t x ((D.FInv.field t x).adjoint v))) = v |
| 73 | 67 | rw [D.inverse_right,frame_adjoint_inverse] |
| 74 | 68 | |
| 75 | -theorem metric_inverseMetric (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 76 | - (metricCoefficient D).path t x ((inverseMetricCoefficient D).path t x v) = v := by | |
| 77 | - change D.FInv.field t x | |
| 78 | - ((D.FInv.field t x).adjoint ((D.F.field t x).adjoint (D.F.field t x v))) = v | |
| 79 | - rw [inverse_adjoint_frame,D.inverse_left] | |
| 80 | - | |
| 81 | -theorem metric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : | |
| 82 | - ⟪(metricCoefficient D).path t x v,w⟫_ℝ = | |
| 83 | - ⟪v,(metricCoefficient D).path t x w⟫_ℝ := by | |
| 84 | - calc | |
| 85 | - _ = ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := | |
| 86 | - metric_inner D t x v w | |
| 87 | - _ = ⟪(D.FInv.field t x).adjoint w,(D.FInv.field t x).adjoint v⟫_ℝ := | |
| 88 | - real_inner_comm _ _ | |
| 89 | - _ = ⟪(metricCoefficient D).path t x w,v⟫_ℝ := (metric_inner D t x w v).symm | |
| 90 | - _ = _ := real_inner_comm _ _ | |
| 91 | - | |
| 92 | 69 | theorem inverseMetric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 93 | 70 | ⟪(inverseMetricCoefficient D).path t x v,w⟫_ℝ = |
| 94 | 71 | ⟪v,(inverseMetricCoefficient D).path t x w⟫_ℝ := by |
+0 −6 Euler/PacketCorrectionMetricBounds.lean View file
| @@ -62,10 +62,4 @@ theorem inverseMetricTimeBound_le_source : inverseMetricTimeBound D ≤ 2*C0*C1 | ||
| 62 | 62 | exact (inverseMetricTimeBound_le D).trans (mul_le_mul |
| 63 | 63 | (mul_le_mul_of_nonneg_left h0 (by norm_num)) h1 (norm_nonneg _) (by positivity)) |
| 64 | 64 | |
| 65 | -include hR hC0 hF in | |
| 66 | -theorem sourceMetricBudget_first_le_source (P : ℝ) [Fact (0 < P)] | |
| 67 | - (κ : ℝ) (hκ : |κ| ≤ 1) (Z G : FieldTower P D.T) (q : ℕ) : | |
| 68 | - (sourceMetricBudget D P κ hκ Z G q).first ≤ 3*C0*C0*R := | |
| 69 | - inverseMetricFirstBound_le_source D R C0 hR hC0 hF | |
| 70 | - | |
| 71 | 65 | end EulerPacketCorrectionCoefficients |
+0 −10 Euler/PacketCorrectionMetricBudget.lean View file
| @@ -130,14 +130,4 @@ def sourceMetricBudgetOfFields (κ : ℝ) (hκ : |κ| ≤ 1) | ||
| 130 | 130 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 131 | 131 | (sourceMetricBudget D P κ hκ Z G q).c = D.inverseBound⁻¹ := rfl |
| 132 | 132 | |
| 133 | -theorem sourceMetricBudget_bound_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 134 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 135 | - (sourceMetricBudget D P κ hκ Z G q).bound ≤ ‖D.F.field‖^2 := | |
| 136 | - inverseMetricBound_le D | |
| 137 | - | |
| 138 | -theorem sourceMetricBudget_time_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 139 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 140 | - (sourceMetricBudget D P κ hκ Z G q).time ≤ 2*‖D.F.field‖*‖D.F₁.field‖ := | |
| 141 | - inverseMetricTimeBound_le D | |
| 142 | - | |
| 143 | 133 | end EulerPacketCorrectionCoefficients |
+0 −9 Euler/PacketCorrectionOutputPolynomial.lean View file
| @@ -38,15 +38,6 @@ theorem outputPolynomial_eval (X : ℝ) : (outputPolynomial P).eval X=outputEnve | ||
| 38 | 38 | simp only [Polynomial.eval_add,Polynomial.eval_mul,Polynomial.eval_one,Polynomial.eval_ofNat, |
| 39 | 39 | Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X,velocityPolynomial_eval,div_eq_mul_inv,one_mul] |
| 40 | 40 | |
| 41 | -def outputConstant : ℝ := coefficientCost (outputPolynomial P) | |
| 42 | -def outputPower : ℕ := (outputPolynomial P).natDegree | |
| 43 | - | |
| 44 | -theorem outputConstant_pos : 0 < outputConstant P := coefficientCost_pos _ | |
| 45 | - | |
| 46 | -theorem outputEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 47 | - outputEnvelope P X ≤ outputConstant P*X^outputPower P := by | |
| 48 | - rw [← outputPolynomial_eval] | |
| 49 | - exact (le_abs_self _).trans (eval_bound (outputPolynomial P) X hX) | |
| 50 | 41 | |
| 51 | 42 | theorem output_components (X : ℝ) (hX : 0 ≤ X) : |
| 52 | 43 | 1 ≤ outputEnvelope P X ∧ baseEnvelope X ≤ outputEnvelope P X ∧ |
+0 −9 Euler/PacketCorrectionPrimitivePolynomial.lean View file
| @@ -85,15 +85,6 @@ theorem primitivePolynomial_eval (P : ℝ) [Fact (0 < P)] (X : ℝ) : | ||
| 85 | 85 | metricPolynomial_eval,linearPolynomial_eval,quadraticPolynomial_eval,radiusPolynomial_eval, |
| 86 | 86 | pressurePolynomialEnvelope_eval,multiplierPolynomial_eval,termPolynomial_eval] |
| 87 | 87 | |
| 88 | -def primitiveConstant (P : ℝ) [Fact (0 < P)] : ℝ := coefficientCost (primitivePolynomial P) | |
| 89 | -def primitivePower (P : ℝ) [Fact (0 < P)] : ℕ := (primitivePolynomial P).natDegree | |
| 90 | - | |
| 91 | -theorem primitiveConstant_pos (P : ℝ) [Fact (0 < P)] : 0 < primitiveConstant P := coefficientCost_pos _ | |
| 92 | - | |
| 93 | -theorem primitiveEnvelope_power (P : ℝ) [Fact (0 < P)] (X : ℝ) (hX : 1 ≤ X) : | |
| 94 | - primitiveEnvelope P X ≤ primitiveConstant P*X^(primitivePower P) := by | |
| 95 | - rw [← primitivePolynomial_eval] | |
| 96 | - exact (le_abs_self _).trans (eval_bound (primitivePolynomial P) X hX) | |
| 97 | 88 | |
| 98 | 89 | theorem primitive_components (P X : ℝ) [Fact (0 < P)] (hX : 0 ≤ X) : |
| 99 | 90 | 1 ≤ primitiveEnvelope P X ∧ 1+X ≤ primitiveEnvelope P X ∧ |
+0 −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 −3 Euler/PacketCorrectionScalar.lean View file
| @@ -21,9 +21,6 @@ theorem delta_pos (X : ℝ) : 0 < delta X := Real.exp_pos _ | ||
| 21 | 21 | theorem delta_le_one (X : ℝ) : delta X ≤ 1 := |
| 22 | 22 | Real.exp_le_one_iff.mpr (neg_nonpos.mpr (Real.sqrt_nonneg X)) |
| 23 | 23 | |
| 24 | -theorem residual_pos (k X : ℝ) : 0 < residual k X := | |
| 25 | - mul_pos (by norm_num) (Real.exp_pos _) | |
| 26 | - | |
| 27 | 24 | /-- One polynomial inverse radius meets both packet-series and pressure- |
| 28 | 25 | inverse absorption requirements. -/ |
| 29 | 26 | theorem initialRadius_bounds (R M Rc : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) (hRc : 0 ≤ Rc) : |
+0 −3 Euler/PacketCrossProduct.lean View file
| @@ -50,9 +50,6 @@ theorem cross_negative_normalized (m a : Space) (hm : m ≠ 0) | ||
| 50 | 50 | def potentialMultiplier (m : Space) : Space →L[ℝ] Space := |
| 51 | 51 | (-((‖m‖^2)⁻¹)) • crossLeft m |
| 52 | 52 | |
| 53 | -theorem potentialMultiplier_apply (m a : Space) : | |
| 54 | - potentialMultiplier m a=(-((‖m‖^2)⁻¹)) • cross m a := rfl | |
| 55 | - | |
| 56 | 53 | theorem cross_potentialMultiplier (m a : Space) (hm : m ≠ 0) |
| 57 | 54 | (ha : ⟪m,a⟫_ℝ=0) : cross m (potentialMultiplier m a)=a := |
| 58 | 55 | cross_negative_normalized m a hm ha |
+0 −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 −6 Euler/PacketCylinderAngularRegularity.lean View file
| @@ -41,12 +41,6 @@ theorem raw_angle_derivative_continuous (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 41 | 41 | (((G.raw_smooth t).fderiv_right (m := ∞) (by simp)).continuous.comp |
| 42 | 42 | (continuous_const.prodMk continuous_id)).clm_apply continuous_const |
| 43 | 43 | |
| 44 | -include G in | |
| 45 | -theorem raw_angle_derivative_integral (t : Icc (0 : ℝ) T) (x : Space) : | |
| 46 | - (∫ θ in (0 : ℝ)..P, fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) = 0 := | |
| 47 | - integral_derivative_eq_zero P _ _ (G.raw_angle_hasDerivAt t x) | |
| 48 | - (G.raw_angle_derivative_continuous t x) (G.raw_periodic t x) | |
| 49 | - | |
| 50 | 44 | include G in |
| 51 | 45 | theorem subtract_mean_integral (t : Icc (0 : ℝ) T) (x : Space) : |
| 52 | 46 | (∫ θ in (0 : ℝ)..P, (raw-EulerPacketProfileRecursion.angleMean P raw) (t,(x,θ))) = 0 := by |
+0 −10 Euler/PacketCylinderField.lean View file
| @@ -52,16 +52,6 @@ theorem raw_fderiv (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | ||
| 52 | 52 | funext (fun y => G.raw_eq t y.1 y.2) |
| 53 | 53 | rw [he,coverField_fderiv] |
| 54 | 54 | |
| 55 | -theorem slicedJet_spatial (s : Set ℝ) (t : Icc (0 : ℝ) T) (x v : Space) (θ : ℝ) : | |
| 56 | - (slicedJet s raw (t,(x,θ))).2 (spatialInjection v) = | |
| 57 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (v,0) := by | |
| 58 | - rw [slicedJet_space,G.raw_fderiv] | |
| 59 | - | |
| 60 | -theorem slicedJet_angular (s : Set ℝ) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 61 | - (slicedJet s raw (t,(x,θ))).2 angleDirection = | |
| 62 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (0,1) := by | |
| 63 | - rw [slicedJet_angle,G.raw_fderiv] | |
| 64 | - | |
| 65 | 55 | theorem raw_hasDerivWithinAt (hT : 0 ≤ T) (H : Field P T raw_t) |
| 66 | 56 | (h : TimeDerivative hT G H) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 67 | 57 | HasDerivWithinAt (fun r => raw (r,(x,θ))) (raw_t (t,(x,θ))) (Icc (0 : ℝ) T) t := by |
+0 −9 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)) |
| @@ -117,11 +113,6 @@ theorem WordBound.scalarProduct (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R | ||
| 117 | 113 | (G.scalarProduct H L hL).WordBound 6 R (3*productBlockConstant P*A*B) (d+e) := |
| 118 | 114 | scalarProductPath_majorant P L hL G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 119 | 115 | |
| 120 | -theorem WordBound.bilinear (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) | |
| 121 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : | |
| 122 | - (G.bilinear H L).WordBound 6 R (9*productBlockConstant P*‖L‖*A*B) (d+e) := | |
| 123 | - bilinearProductPath_majorant P L G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH | |
| 124 | - | |
| 125 | 116 | theorem WordBound.spatialTransport (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 126 | 117 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 127 | 118 | (G.spatialTransport H).WordBound 6 R (9*productBlockConstant P*A*B) (d+e+1) := |
+0 −21 Euler/PacketCylinderFieldProducts.lean View file
| @@ -43,27 +43,6 @@ def scalarProduct (G : Field P T raw) (H : Field P T raw') | ||
| 43 | 43 | rw [G.raw_eq,H.raw_eq] |
| 44 | 44 | exact (pointField_scalarProductPath P L hL G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 45 | 45 | |
| 46 | -def bilinear (G : Field P T raw) (H : Field P T raw') | |
| 47 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : Field P T (fun z => B (raw z) (raw' z)) where | |
| 48 | - path := bilinearProductPath P B G.path H.path G.orbit H.orbit | |
| 49 | - orbit := bilinearProductPath_orbit P B G.path H.path G.orbit H.orbit | |
| 50 | - raw_eq t x θ := by | |
| 51 | - rw [G.raw_eq,H.raw_eq] | |
| 52 | - exact (pointField_bilinearProductPath P B G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 53 | - | |
| 54 | -/-- Spatial advection is the literal ordinary derivative of the second raw field. -/ | |
| 55 | -def advection (G : Field P T raw) (H : Field P T raw') : | |
| 56 | - Field P T (fun z => fderiv ℝ (fun y : Space => raw' (z.1,(y,z.2.2))) z.2.1 (raw z)) where | |
| 57 | - path := advectionPath P G.path H.path G.orbit H.orbit | |
| 58 | - orbit := advectionPath_orbit P G.path H.path G.orbit H.orbit | |
| 59 | - raw_eq t x θ := by | |
| 60 | - have he : (fun y : Space => raw' (t,(y,θ))) = | |
| 61 | - fun y : Space => pointField P H.path H.orbit t (y,(θ : AddCircle P)) := | |
| 62 | - funext (fun y => H.raw_eq t y θ) | |
| 63 | - rw [he,coverField_spatial_fderiv P _ (pointField_smooth P H.path H.orbit t), | |
| 64 | - G.raw_eq,comp_apply,inl_apply] | |
| 65 | - exact (pointField_advectionPath P G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 66 | - | |
| 67 | 46 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 68 | 47 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 69 | 48 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
+0 −8 Euler/PacketCylinderFieldSupport.lean View file
| @@ -25,12 +25,4 @@ theorem supported_of_raw_zero | ||
| 25 | 25 | rw [hθ] at he |
| 26 | 26 | exact hz.trans (he.symm.trans (h t z.1 hzs θ)) |
| 27 | 27 | |
| 28 | -theorem raw_zero_of_supported (hSc : IsClosed S) | |
| 29 | - (h : ∀ t : Icc (0 : ℝ) T, G.path t ∈ Supported P Space S hS) | |
| 30 | - (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : | |
| 31 | - raw (t,(x,θ)) = 0 := by | |
| 32 | - rw [G.raw_eq] | |
| 33 | - exact EulerCylinderLocalSupport.pointField_zero_outside P S hS G.path G.orbit hSc h t | |
| 34 | - (x,(θ : AddCircle P)) hx | |
| 35 | - | |
| 36 | 28 | end EulerPacketCylinderField.Field |
+0 −5 Euler/PacketCylinderHighPartBounds.lean View file
| @@ -34,11 +34,6 @@ theorem wordBound_normalized_of_zero (G : Field P T raw) | ||
| 34 | 34 | |
| 35 | 35 | variable {G : Field P T raw} {q d : ℕ} {R A : ℝ} |
| 36 | 36 | |
| 37 | -theorem WordBound.highPart (hG : G.WordBound q R A d) : | |
| 38 | - G.highPart.WordBound q R (2*A) d := by | |
| 39 | - have h := hG.sub hG.angleMean | |
| 40 | - simpa only [Field.highPart,two_mul] using h | |
| 41 | - | |
| 42 | 37 | theorem WordBound.normalized_highPart (hT : 0 ≤ T) |
| 43 | 38 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 39 | (hG : (G.normalized hT g hg).WordBound q R A d) : |
+0 −10 Euler/PacketCylinderLinearTermBudget.lean View file
| @@ -21,16 +21,6 @@ theorem slowCost_le : B.slowCost ≤ B.termCost := by | ||
| 21 | 21 | |
| 22 | 22 | theorem fastCost_le : B.fastCost ≤ B.termCost := B.fastCost_le_slowCost.trans B.slowCost_le |
| 23 | 23 | |
| 24 | -theorem linearCost_le : B.linearCost ≤ B.termCost := by | |
| 25 | - have h := B.twice_linearCost_le | |
| 26 | - have h0 := B.linearCost_nonneg | |
| 27 | - linarith | |
| 28 | - | |
| 29 | -theorem multiplierCost_le : B.multiplierCost ≤ B.termCost := by | |
| 30 | - have h := B.twice_multiplierCost_le | |
| 31 | - have h0 := B.multiplierCost_nonneg | |
| 32 | - linarith | |
| 33 | - | |
| 34 | 24 | variable (hT : 0 < T) (S : Scales (Icc (0 : ℝ) T)) (p : ℕ) |
| 35 | 25 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) |
| 36 | 26 | |
+0 −25 Euler/PacketCylinderScalarGradientBounds.lean View file
| @@ -24,14 +24,6 @@ variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | ||
| 24 | 24 | def scalarGradientPath : C(K,LiftL2 P) := ∑ i : Fin 3, |
| 25 | 25 | pathMap P (gradientComponent i) (derivativePath P (pathMap P scalarEmbed p) i.succ) |
| 26 | 26 | |
| 27 | -include hp in | |
| 28 | -theorem scalarGradientPath_orbit : | |
| 29 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (scalarGradientPath p)) := by | |
| 30 | - simp only [scalarGradientPath,map_sum] | |
| 31 | - exact ContDiff.sum (fun i _ => pathMap_orbit_contDiff P (gradientComponent i) _ | |
| 32 | - (derivativePath_orbit P (pathMap P scalarEmbed p) | |
| 33 | - (pathMap_orbit_contDiff P scalarEmbed p hp) i.succ)) | |
| 34 | - | |
| 35 | 27 | include hp in |
| 36 | 28 | theorem scalarGradientPath_block_bound (q n : ℕ) (a : LiftTangent) : |
| 37 | 29 | block standardDirection q |
| @@ -89,23 +81,6 @@ variable {T : ℝ} (raw : ScalarField) (p : C(Icc (0 : ℝ) T,CylinderL2 P ℝ)) | ||
| 89 | 81 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 90 | 82 | raw (t,(x,θ)) = scalarPointField P p hp t (x,(θ : AddCircle P))) |
| 91 | 83 | |
| 92 | -theorem scalarGradientField_path : | |
| 93 | - (scalarGradientField raw p hp he).path = scalarGradientPath p := rfl | |
| 94 | - | |
| 95 | -theorem scalarGradientField_block_bound (q n : ℕ) (a : LiftTangent) : | |
| 96 | - block standardDirection q | |
| 97 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n a ≤ | |
| 98 | - 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := | |
| 99 | - scalarGradientPath_block_bound p hp q n a | |
| 100 | - | |
| 101 | -theorem scalarGradientField_majorant (q : ℕ) (R A : ℝ) (d : ℕ) | |
| 102 | - (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ | |
| 103 | - A * majorant R d n) (n : ℕ) : | |
| 104 | - block standardDirection q | |
| 105 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n 0 ≤ | |
| 106 | - (3*A) * majorant R (d+1) n := | |
| 107 | - scalarGradientPath_majorant p hp q R A d hb n | |
| 108 | - | |
| 109 | 84 | end Field |
| 110 | 85 | |
| 111 | 86 | end EulerPacketCylinderField |
+0 −3 Euler/PacketCylinderTimeUnique.lean View file
| @@ -14,7 +14,4 @@ theorem raw_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H | ||
| 14 | 14 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : raw₁ (t,(x,θ)) = raw₂ (t,(x,θ)) := |
| 15 | 15 | (G.slicedJet_temporal hT G₁ hG t x θ).symm.trans (H.slicedJet_temporal hT H₁ hH t x θ) |
| 16 | 16 | |
| 17 | -theorem path_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H₁) : | |
| 18 | - G₁.path = H₁.path := G₁.path_eq_of_raw_eq H₁ (fun t x θ => (raw_eq (hT := hT) hG hH t x θ).symm) | |
| 19 | - | |
| 20 | 17 | end EulerPacketCylinderField.TimeDerivative |
+0 −7 Euler/PacketCylinderWeightedLinear.lean View file
| @@ -83,13 +83,6 @@ theorem WordBound.normalized_multiply {q d : ℕ} {R A : ℝ} | ||
| 83 | 83 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := |
| 84 | 84 | (hG.multiply K Rc C hRc hC hA hR hK).of_path_eq _ (G.normalized_multiply_path hT g hg K) |
| 85 | 85 | |
| 86 | -theorem wordBound_normalized_finsetSum {ι : Type*} (s : Finset ι) (f : ι → VectorField) | |
| 87 | - (W : ∀ i, Field P T (f i)) (q : ℕ) (R : ℝ) (d : ℕ) (A : ι → ℝ) | |
| 88 | - (hW : ∀ i ∈ s, ((W i).normalized hT g hg).WordBound q R (A i) d) : | |
| 89 | - ((Field.finsetSum s f W).normalized hT g hg).WordBound q R (∑ i ∈ s,A i) d := | |
| 90 | - (wordBound_finsetSum s _ (fun i => (W i).normalized hT g hg) A hW).of_path_eq _ | |
| 91 | - (normalized_finsetSum_path hT g hg s f W) | |
| 92 | - | |
| 93 | 86 | theorem WordBound.angleMean {q d : ℕ} {R A : ℝ} (hG : G.WordBound q R A d) : |
| 94 | 87 | G.angleMean.WordBound q R A d := by |
| 95 | 88 | intro n |
+0 −26 Euler/PacketCylinderWeightedProduct.lean View file
| @@ -31,20 +31,6 @@ variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} | ||
| 31 | 31 | (G : Field P T raw) (H : Field P T raw') (hT : 0 ≤ T) |
| 32 | 32 | (g h b : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 33 | 33 | |
| 34 | -theorem normalized_bilinear_path (L : Space →L[ℝ] Space →L[ℝ] Space) : | |
| 35 | - ((G.bilinear H L).normalized hT b hb).path = | |
| 36 | - (((G.normalized hT g hg).bilinear (H.normalized hT h hh) L).weighted hT | |
| 37 | - (productProfileRatio g h b hb)).path := by | |
| 38 | - apply path_eq_of_raw_eq | |
| 39 | - intro t x θ | |
| 40 | - change productProfileRatio g h b hb (projIcc 0 T hT t) • | |
| 41 | - L ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) ((h (projIcc 0 T hT t))⁻¹ • raw' (t,(x,θ))) = | |
| 42 | - (b (projIcc 0 T hT t))⁻¹ • L (raw (t,(x,θ))) (raw' (t,(x,θ))) | |
| 43 | - rw [projIcc_of_mem hT t.property] | |
| 44 | - simp only [productProfileRatio_apply,map_smul,smul_apply,smul_smul] | |
| 45 | - congr 1 | |
| 46 | - field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] | |
| 47 | - | |
| 48 | 34 | theorem normalized_scalarProduct_path (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 49 | 35 | ((G.scalarProduct H L hL).normalized hT b hb).path = |
| 50 | 36 | (((G.normalized hT g hg).scalarProduct (H.normalized hT h hh) L hL).weighted hT |
| @@ -83,18 +69,6 @@ theorem normalized_spatialTransport_path : | ||
| 83 | 69 | |
| 84 | 70 | variable {G H g h b hg hh hb} |
| 85 | 71 | |
| 86 | -theorem WordBound.normalized_bilinear {R A B : ℝ} {d e : ℕ} | |
| 87 | - (hG : (G.normalized hT g hg).WordBound 6 R A d) | |
| 88 | - (hH : (H.normalized hT h hh).WordBound 6 R B e) | |
| 89 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) | |
| 90 | - (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : | |
| 91 | - ((G.bilinear H L).normalized hT b hb).WordBound 6 R | |
| 92 | - (C*(9*productBlockConstant P*‖L‖*A*B)) (d+e) := by | |
| 93 | - have hbound := (hG.bilinear hH L hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile | |
| 94 | - unfold WordBound at * | |
| 95 | - rw [G.normalized_bilinear_path H hT g h b hg hh hb L] | |
| 96 | - exact hbound | |
| 97 | - | |
| 98 | 72 | theorem WordBound.normalized_scalarProduct {R A B : ℝ} {d e : ℕ} |
| 99 | 73 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 100 | 74 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
+0 −23 Euler/PacketEulerianRegularity.lean View file
| @@ -52,17 +52,6 @@ theorem eulerianSmoothField_jetLp_continuous (n : ℕ) : | ||
| 52 | 52 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (reconstructedTower D P κ Z) |
| 53 | 53 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 54 | 54 | |
| 55 | -def eulerianCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 56 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (reconstructedTower D P κ Z) | |
| 57 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 58 | - | |
| 59 | -theorem eulerianCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 60 | - (eulerianCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 61 | - κ • D.F.field t (Y t x) (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 62 | - rw [eulerianCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 63 | - reconstructedTower_pointField] | |
| 64 | - rfl | |
| 65 | - | |
| 66 | 55 | def pressureForceSmoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space := |
| 67 | 56 | EulerPacketSourceVolumeSobolev.smoothField D (pressureForceTower D P κ Z) k D.m₀ |
| 68 | 57 | X Y hX hYX hXY hY R C hR hC hdet hF t |
| @@ -79,16 +68,4 @@ theorem pressureForceSmoothField_jetLp_continuous (n : ℕ) : | ||
| 79 | 68 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (pressureForceTower D P κ Z) |
| 80 | 69 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 81 | 70 | |
| 82 | -def pressureForceCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 83 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (pressureForceTower D P κ Z) | |
| 84 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 85 | - | |
| 86 | -theorem pressureForceCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 87 | - (pressureForceCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 88 | - κ • (D.FInv.field t (Y t x)).adjoint | |
| 89 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 90 | - rw [pressureForceCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 91 | - pressureForceTower_pointField] | |
| 92 | - rfl | |
| 93 | - | |
| 94 | 71 | end EulerPacketPhysicalField |
+0 −66 Euler/PacketExactGlobalChoice.lean View file
| @@ -36,70 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | |
| 37 | 37 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 38 | 38 | |
| 39 | -theorem initialized_exact_global_shear_hessian_eventually : | |
| 40 | - ∃ ρ0 G Cv Cp : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < Cv ∧ 0 < Cp ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - (‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 48 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 49 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 50 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k) ∧ | |
| 51 | - (‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 52 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 53 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 54 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 55 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) := by | |
| 56 | - classical | |
| 57 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 58 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 59 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 60 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 61 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 62 | - rw [hprofile] | |
| 63 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 64 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 65 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 66 | - let Cv := 1+|Kv| | |
| 67 | - let Cp := 1+|Kp| | |
| 68 | - have hCv : 0 < Cv := by dsimp only [Cv]; positivity | |
| 69 | - have hCp : 0 < Cp := by dsimp only [Cp]; positivity | |
| 70 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_gradient_hessian_eventually | |
| 71 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 72 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound 1 | |
| 73 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 74 | - intro t x | |
| 75 | - rw [← hF t x] | |
| 76 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 77 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 78 | - refine ⟨ρ0,G,Cv,Cp,hρ,hG,hCv,hCp,?_⟩ | |
| 79 | - filter_upwards [hQ,fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 80 | - with k hQ hscalar | |
| 81 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hcorrection⟩ := hQ | |
| 82 | - have hk0 : 0 < k := by linarith | |
| 83 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 84 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg (by linarith) | |
| 85 | - (hscalar.2.2.2 _ (by simp)) | |
| 86 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 87 | - intro t x | |
| 88 | - constructor | |
| 89 | - · have he := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 90 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 91 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 92 | - have hc : ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 93 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ := by | |
| 94 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).1 | |
| 95 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 96 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cv]; ring)) | |
| 97 | - · have he := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 98 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 99 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 100 | - have hc : ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹ := by | |
| 101 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).2 | |
| 102 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 103 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cp]; ring)) | |
| 104 | - | |
| 105 | 39 | end EulerPacketTerminalDatum |
+0 −19 Euler/PacketExactShearError.lean View file
| @@ -96,23 +96,4 @@ variable | ||
| 96 | 96 | |
| 97 | 97 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 98 | 98 | |
| 99 | -theorem initializedExactPhysicalVelocity_gradient_error | |
| 100 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 101 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 102 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 103 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 104 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 105 | - Cagree N hN k hk Q t Y) (X 0) - | |
| 106 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 107 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ + | |
| 108 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) | |
| 109 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) (X 0)‖ := by | |
| 110 | - rw [initializedExactPhysicalVelocity_fderiv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 111 | - Cagree N hN k hk Q t Y (X 0) hY] | |
| 112 | - have he : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel | |
| 113 | - rw [he] | |
| 114 | - exact (norm_add_le _ _).trans (add_le_add | |
| 115 | - (initializedVelocity_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 116 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t X Y hX hY hleft) le_rfl) | |
| 117 | - | |
| 118 | 99 | end EulerPacketTerminalDatum |
+0 −7 Euler/PacketFieldSobolev.lean View file
| @@ -24,13 +24,6 @@ theorem toFieldTower_derivative (G : Field P T raw) (s : ℕ) (i : Fin 4) | ||
| 24 | 24 | rw [(G.derivative i).toFieldTower_value] |
| 25 | 25 | exact wordPath_eq_sobolev P G.path G.orbit s (fun _ : Fin 1 => i) t |
| 26 | 26 | |
| 27 | -theorem toFieldTower_derivative_path (G : Field P T raw) (s : ℕ) (i : Fin 4) : | |
| 28 | - (derivativeOperator P s i).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 29 | - (G.toFieldTower.realization (s+1)) = (G.derivative i).toFieldTower.realization s := by | |
| 30 | - apply ContinuousMap.ext | |
| 31 | - intro t | |
| 32 | - exact G.toFieldTower_derivative s i t | |
| 33 | - | |
| 34 | 27 | theorem toFieldTower_levelNorm_eq (G : Field P T raw) (s n : ℕ) (hn : n ≤ s) |
| 35 | 28 | (t : Icc (0 : ℝ) T) : |
| 36 | 29 | levelNorm P (toJet P (G.toFieldTower.realization s t)) n = |
+0 −4 Euler/PacketFiniteProfileFields.lean View file
| @@ -21,10 +21,6 @@ def Field.timeDerivativeField {raw raw_t : VectorField} (G : Field P T raw) (hT | ||
| 21 | 21 | H.congr (fun t x θ => (G.raw_hasDerivWithinAt hT.le H ht t x θ).derivWithin |
| 22 | 22 | ((uniqueDiffOn_Icc hT) _ t.property)) |
| 23 | 23 | |
| 24 | -theorem Field.timeDerivativeField_time {raw raw_t : VectorField} (G : Field P T raw) (hT : 0 < T) | |
| 25 | - (H : Field P T raw_t) (ht : TimeDerivative hT.le G H) : | |
| 26 | - TimeDerivative hT.le G (G.timeDerivativeField hT H ht) := ht | |
| 27 | - | |
| 28 | 24 | namespace ProfileRegularity |
| 29 | 25 | |
| 30 | 26 | variable {N : ℕ} {a : ℕ → Profile} {support : Set Space} |
+0 −17 Euler/PacketFirstStageSupport.lean View file
| @@ -23,18 +23,6 @@ theorem forwardNext_initial_support | ||
| 23 | 23 | (frequency S.J S.X 0) (S.normal_frequency 0) (supportScale S.J S.X 1) |
| 24 | 24 | (S.support_pos 1) (S.support_one 1) (P.chooseForward hq hB) symmetric hP |
| 25 | 25 | |
| 26 | -theorem forwardNext_initial_field_support | |
| 27 | - (hP : tsupport (fun x => P.state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : | |
| 28 | - tsupport ((P.forwardNext hq hB).state.regularity.velocity | |
| 29 | - (P.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := by | |
| 30 | - have he : ((P.forwardNext hq hB).state.regularity.velocity | |
| 31 | - (P.forwardNext hq hB).parent.zeroTime).field = | |
| 32 | - fun x => (P.forwardNext hq hB).state.evolution.velocity (0,x) := | |
| 33 | - funext (fun x => ((P.forwardNext hq hB).state.regularity.velocity_match | |
| 34 | - (P.forwardNext hq hB).parent.zeroTime x).symm) | |
| 35 | - rw [he] | |
| 36 | - exact P.forwardNext_initial_support hq hB hP | |
| 37 | - | |
| 38 | 26 | end EulerPacketInduction.Stage |
| 39 | 27 | |
| 40 | 28 | namespace EulerPacketInductionScales.Scales |
| @@ -49,9 +37,4 @@ theorem firstForwardStage_initial_support : | ||
| 49 | 37 | Metric.closedBall 0 2 := |
| 50 | 38 | S.firstStage.forwardNext_initial_support hq hB S.firstStage_initial_support |
| 51 | 39 | |
| 52 | -theorem firstForwardStage_initial_field_support : | |
| 53 | - tsupport ((S.firstStage.forwardNext hq hB).state.regularity.velocity | |
| 54 | - (S.firstStage.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := | |
| 55 | - S.firstStage.forwardNext_initial_field_support hq hB S.firstStage_initial_support | |
| 56 | - | |
| 57 | 40 | end EulerPacketInductionScales.Scales |
+0 −13 Euler/PacketFiveCostGuards.lean View file
| @@ -88,17 +88,4 @@ theorem five_costs_bound : | ||
| 88 | 88 | rw [div_eq_mul_inv] |
| 89 | 89 | gcongr |
| 90 | 90 | |
| 91 | -/-- The literal source frequency assumptions follow from one explicit | |
| 92 | -polynomial comparison; the threshold does not depend on a chosen parent. -/ | |
| 93 | -theorem frequency_guards (k : ℝ) | |
| 94 | - (hbudget : costConstant P*X^(costPower P) ≤ EulerPacketSourceFrequency.smallPower k) : | |
| 95 | - tailPolynomialConstant R H CT ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 96 | - C ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 97 | - 12*growth D P Kc R H C*D.T ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 98 | - 8*growth D P Kc R H C*D.T*drift R H C/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 99 | - 8*growth D P Kc R H C*D.T/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k := by | |
| 100 | - obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := five_costs_bound P D Kc R H C CT X hX hR hH hC | |
| 101 | - hRX hHX hCX hCTX hi hm hf ht hB hM hA0 hA2 hRc hT | |
| 102 | - exact ⟨h₁.trans hbudget,h₂.trans hbudget,h₃.trans hbudget,h₄.trans hbudget,h₅.trans hbudget⟩ | |
| 103 | - | |
| 104 | 91 | end EulerPacketFiveCost |
+0 −2 Euler/PacketFiveCostPolynomial.lean View file
| @@ -116,8 +116,6 @@ theorem fivePolynomial_eval (X : ℝ) : (fivePolynomial P).eval X=fiveEnvelope P | ||
| 116 | 116 | def costConstant : ℝ := coefficientCost (fivePolynomial P) |
| 117 | 117 | def costPower : ℕ := (fivePolynomial P).natDegree |
| 118 | 118 | |
| 119 | -theorem costConstant_pos : 0 < costConstant P := coefficientCost_pos _ | |
| 120 | - | |
| 121 | 119 | theorem fiveEnvelope_power (X : ℝ) (hX : 1 ≤ X) : |
| 122 | 120 | fiveEnvelope P X ≤ costConstant P*X^(costPower P) := by |
| 123 | 121 | rw [← fivePolynomial_eval] |
+0 −19 Euler/PacketForwardChildLowBounds.lean View file
| @@ -68,25 +68,6 @@ def ForwardSourceErrors (ev ep : ℝ) : Prop := | ||
| 68 | 68 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 69 | 69 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x))‖ ≤ ep |
| 70 | 70 | |
| 71 | -/-- The literal strict errors returned by the global same-Q packet | |
| 72 | -theorem imply the error record without any additional analytic bound. -/ | |
| 73 | -theorem forwardSourceErrors_of_global (ev ep : ℝ) | |
| 74 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 75 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 76 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 77 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x)) | |
| 78 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 79 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 80 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) G.initialCoordinate (G.primaryAmplitude hball) t | |
| 81 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 82 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 83 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 84 | - E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep := by | |
| 85 | - intro t x | |
| 86 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 87 | - erw [forwardPressureTerm_eq_coefficient] | |
| 88 | - exact (herr t x).2.le | |
| 89 | - | |
| 90 | 71 | include hk hδ hδ1 in |
| 91 | 72 | theorem exactForwardPacket_good_low_bounds |
| 92 | 73 | (ev ep CM CH Kupper : ℝ) |
+0 −17 Euler/PacketForwardCommonRadius.lean View file
| @@ -42,12 +42,6 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 42 | 42 | refine ⟨hb.1.trans hR, ?_⟩ |
| 43 | 43 | exact ⟨hC,hb.2.1.trans hR,hb.2.2.1.trans hR,hb.2.2.2.1.trans hR,hb.2.2.2.2.trans hR⟩ |
| 44 | 44 | |
| 45 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 46 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 47 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 48 | - ⟨max extra (L.gradeRadius (P := P) N C),le_max_left _ _, | |
| 49 | - L.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 50 | - | |
| 51 | 45 | end EulerTransversePacketForward.Budget |
| 52 | 46 | |
| 53 | 47 | namespace EulerPacketForwardCommonRadius |
| @@ -106,15 +100,4 @@ theorem commonRadius_guards (hC : 0 ≤ terminalCost) (R' : ℝ) | ||
| 106 | 100 | exact ⟨hm.trans hR,hl.trans hR,⟨hmv.trans hR,hmt.trans hR,hmp.trans hR⟩, |
| 107 | 101 | wf,wp,hc.trans hR,hrc.trans hR,he.trans hR⟩ |
| 108 | 102 | |
| 109 | -theorem exists_common_radius (hC : 0 ≤ terminalCost) : | |
| 110 | - ∃ (R' : ℝ) (hM : Rm ≤ R') (hL : L.R ≤ R'), | |
| 111 | - EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ | |
| 112 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 113 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ | |
| 114 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 115 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ | |
| 116 | - CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := | |
| 117 | - ⟨commonRadius M L N CB terminalCost extra, | |
| 118 | - commonRadius_guards M L N CB terminalCost extra hC _ le_rfl⟩ | |
| 119 | - | |
| 120 | 103 | end EulerPacketForwardCommonRadius |
+0 −9 Euler/PacketForwardGeometryAssembly.lean View file
| @@ -133,13 +133,4 @@ theorem exists_geometry_and_growth (Ω : Set Space) (h0 : 0 ∈ Ω) | ||
| 133 | 133 | change D.normal.field (D.clamp (0+t)) x=D.normal.field t x |
| 134 | 134 | rw [zero_add,Data.clamp_coe] |
| 135 | 135 | |
| 136 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ G.radius) : | |
| 137 | - ∃ g : C(Icc (0 : ℝ) D.T,ℝ), (∀ t, 0 < g t) ∧ | |
| 138 | - g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ | |
| 139 | - PhysicalGrowth D {x | ‖x‖ ≤ (1/2 : ℝ)} g (560*P.horizon^10/P.epsilon) := by | |
| 140 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hgrowth⟩ := | |
| 141 | - G.exists_geometry_and_growth {x | ‖x‖ ≤ (1/2 : ℝ)} (by simp) | |
| 142 | - (fun _ hx => hx.trans hball) | |
| 143 | - exact ⟨_,hpos,hzero,hgrowth⟩ | |
| 144 | - | |
| 145 | 136 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −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 −44 Euler/PacketForwardInitializedCorrectionChoice.lean View file
| @@ -31,48 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -theorem forwardInitialized_correction_budgets_eventually : | |
| 35 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 36 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 37 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 38 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 39 | - (truncation k) hn k hk)), | |
| 40 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = C := by | |
| 41 | - classical | |
| 42 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 43 | - let Kc := L.correctionCoefficients NB period | |
| 44 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 45 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 46 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 47 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 48 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 49 | - let L' := L.enlargeRadius R' hL | |
| 50 | - let N' := NB.enlargeRadius R' hL | |
| 51 | - let M' := LM.enlargeRadius R' hM | |
| 52 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 53 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 54 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 55 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 56 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 57 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 58 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 59 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 60 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 61 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 62 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 63 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 64 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 65 | - filter_upwards [fixed_costs_eventually | |
| 66 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 67 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 68 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 69 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 70 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 71 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 72 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 73 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 74 | - Ξ hΞ hF hdet | |
| 75 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 76 | - simp only [Q,forwardInitializedAllOrderBudget,ρ0,cg] | |
| 77 | - | |
| 78 | 34 | end EulerPacketTerminalDatum |
+0 −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 −44 Euler/PacketForwardInitializedExactLifted.lean View file
| @@ -29,48 +29,4 @@ def forwardInitializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 29 | 29 | exactPacketOfResidual period Q |
| 30 | 30 | (forwardInitializedApproximationResidual M D hTime δ hδ ξ hs α Cagree N hN k hk) |
| 31 | 31 | |
| 32 | -theorem forwardInitializedExactPacket_velocity_odd | |
| 33 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 34 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 35 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 36 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 37 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 38 | - (k : ℝ) (hk : 4 ≤ k) | |
| 39 | - (Q : Budget period D.T_pos | |
| 40 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk)) | |
| 41 | - (t : Icc (0 : ℝ) D.T) : | |
| 42 | - -reflection period | |
| 43 | - ((forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 44 | - (forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 45 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 46 | - (forwardInitializedCorrectionParityData M D hTime δ hδ ξ hs α | |
| 47 | - eM hSym hF hDM Cagree N hN k hk) t | |
| 48 | - | |
| 49 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 50 | -The original source data construct the budget and the exact corrected pair | |
| 51 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 52 | -theorem forwardInitialized_exact_lifted_packets_eventually | |
| 53 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 54 | - (L : EulerTransversePacketForward.Budget D (Fin 4) 6) | |
| 55 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 56 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 57 | - (Cagree : SourceCoefficientAgreement M D) | |
| 58 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 59 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 60 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 61 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 62 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 63 | - (Q : Budget period D.T_pos | |
| 64 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 65 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 66 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 67 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 68 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := forwardInitialized_correction_budgets_eventually M D hTime | |
| 69 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 70 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 71 | - filter_upwards [he] with k hk | |
| 72 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 73 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 74 | - ⟨forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 75 | - | |
| 76 | 32 | end EulerPacketTerminalDatum |
+0 −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 −70 Euler/PacketForwardPrimary.lean View file
| @@ -41,30 +41,9 @@ def regularity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P | ||
| 41 | 41 | ProfileRegularity P D.T D.T_pos.le D.support (profile D Y O) := |
| 42 | 42 | homogeneousPrimaryRegularity D Y O hcorrector |
| 43 | 43 | |
| 44 | -theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 45 | - linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) (vector D Y) (t,(x,θ)))+ | |
| 46 | - fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar D Y) (t,(x,θ))) = 0 := | |
| 47 | - (forcing D).jet_equation Y t x θ | |
| 48 | - | |
| 49 | -theorem tangent (t : ℝ) (x : Space) (θ : ℝ) : | |
| 50 | - inner ℝ (D.normalField (t,(x,θ))) (vector D Y (t,(x,θ))) = 0 := | |
| 51 | - (forcing D).vector_tangent Y t x θ | |
| 52 | - | |
| 53 | -theorem mean_zero (t : ℝ) (x : Space) : | |
| 54 | - (∫ θ in (0 : ℝ)..P, vector D Y (t,(x,θ))) = 0 := | |
| 55 | - (forcing D).vector_mean_zero Y t x | |
| 56 | - | |
| 57 | 44 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar D Y (t,y)) := |
| 58 | 45 | (forcing D).scalar_spatial_smooth Y t |
| 59 | 46 | |
| 60 | -theorem parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) | |
| 61 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 62 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 63 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 64 | - (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) : | |
| 65 | - ProfileParity D.T (profile D Y O) := | |
| 66 | - homogeneousPrimaryParity D Y O hcorrector hSym hF hM hY | |
| 67 | - | |
| 68 | 47 | end EulerPacketForwardPrimary |
| 69 | 48 | |
| 70 | 49 | namespace EulerPacketTerminalDatum |
| @@ -86,53 +65,4 @@ def forwardPrimaryRegularity (O : Operators) (hcorrector : O.curlCorrector = D.c | ||
| 86 | 65 | ProfileRegularity period D.T D.T_pos.le D.support (forwardPrimary D δ hδ ξ hs O) := |
| 87 | 66 | EulerPacketForwardPrimary.regularity D (initialData D δ hδ ξ hs) O hcorrector |
| 88 | 67 | |
| 89 | -theorem forwardPrimary_equation (O : Operators) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 90 | - linearPart (D.strain (t,(x,θ))) | |
| 91 | - (slicedJet (Icc (0 : ℝ) D.T) (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ)))+ | |
| 92 | - fastPressure (D.normalField (t,(x,θ))) | |
| 93 | - (pressureJet (forwardPrimary D δ hδ ξ hs O).highPressure (t,(x,θ))) = 0 := | |
| 94 | - EulerPacketForwardPrimary.equation D (initialData D δ hδ ξ hs) t x θ | |
| 95 | - | |
| 96 | -theorem forwardPrimary_tangent (O : Operators) (t : ℝ) (x : Space) (θ : ℝ) : | |
| 97 | - inner ℝ (D.normalField (t,(x,θ))) ((forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 98 | - EulerPacketForwardPrimary.tangent D (initialData D δ hδ ξ hs) t x θ | |
| 99 | - | |
| 100 | -theorem forwardPrimary_mean_zero (O : Operators) (t : ℝ) (x : Space) : | |
| 101 | - (∫ θ in (0 : ℝ)..period, (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 102 | - EulerPacketForwardPrimary.mean_zero D (initialData D δ hδ ξ hs) t x | |
| 103 | - | |
| 104 | -theorem forwardPrimary_parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) | |
| 105 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 106 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 107 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) : | |
| 108 | - ProfileParity D.T (forwardPrimary D δ hδ ξ hs O) := | |
| 109 | - EulerPacketForwardPrimary.parity D (initialData D δ hδ ξ hs) O hcorrector hSym hF hM | |
| 110 | - (terminal_reflection δ hδ ξ) | |
| 111 | - | |
| 112 | -theorem forwardPrimary_initial (O : Operators) (x : Space) (θ : ℝ) : | |
| 113 | - (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ)) = | |
| 114 | - (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by | |
| 115 | - change (EulerPacketForwardPrimary.forcing D).vector (initialData D δ hδ ξ hs) (0,(x,θ)) = _ | |
| 116 | - rw [(EulerPacketForwardPrimary.forcing D).vector_initial_of_representative | |
| 117 | - (initialData D δ hδ ξ hs) (field δ ξ) | |
| 118 | - (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ), | |
| 119 | - field_coe,map_smul] | |
| 120 | - | |
| 121 | -theorem forwardPrimary_initial_angular (O : Operators) (x : Space) : | |
| 122 | - HasDerivAt (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) | |
| 123 | - ((innerCutoff x*δ⁻¹) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) 0 := by | |
| 124 | - have he : (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) = | |
| 125 | - fun θ => (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := | |
| 126 | - funext (forwardPrimary_initial D δ hδ ξ hs O x) | |
| 127 | - rw [he] | |
| 128 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 129 | - rw [profile_deriv_zero δ hδ] at hp | |
| 130 | - exact (hp.const_mul (innerCutoff x)).smul_const (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) | |
| 131 | - | |
| 132 | -theorem forwardPrimary_initial_angular_norm (O : Operators) : | |
| 133 | - ‖deriv (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(0,θ))) 0‖ = | |
| 134 | - δ⁻¹*‖D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ 0 ξ‖ := by | |
| 135 | - rw [(forwardPrimary_initial_angular D δ hδ ξ hs O 0).deriv,innerCutoff_zero,one_mul, | |
| 136 | - norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] | |
| 137 | - | |
| 138 | 68 | end EulerPacketTerminalDatum |
+0 −43 Euler/PacketForwardPrimaryShear.lean View file
| @@ -120,47 +120,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 120 | 120 | pressureCoefficient D ξ a t x * deriv (profile δ) θ := |
| 121 | 121 | (scalar_deriv_hasDerivAt D δ hδ ξ hs a t x θ).deriv |
| 122 | 122 | |
| 123 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 124 | - deriv (deriv (fun s => scalar D (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 125 | - pressureCoefficient D ξ a t x / δ := by | |
| 126 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 127 | - | |
| 128 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 129 | - k⁻¹^2 * scalar D (initialData D δ hδ (a • ξ) hs) (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 130 | - | |
| 131 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 132 | - (x : Space) : Space →L[ℝ] Space := | |
| 133 | - lowerHessian (fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 134 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 135 | - | |
| 136 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 137 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 138 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t Y)) x = | |
| 139 | - (pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 140 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 141 | - hessianRemainder D δ hδ ξ hs a k t Y x := by | |
| 142 | - let q : LiftTangent → ℝ := fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 143 | - have hq : ContDiff ℝ ∞ q := pressure_smooth D _ t | |
| 144 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 145 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 146 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 147 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 148 | - pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 149 | - rw [angularSecond_eq_deriv hq] | |
| 150 | - exact scalar_second_deriv D δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 151 | - rw [ha] at hh | |
| 152 | - exact hh | |
| 153 | - | |
| 154 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 155 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 156 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 157 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 158 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 159 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t (Y t))) x = | |
| 160 | - (pressureCoefficient D ξ a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 161 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 162 | - hessianRemainder D δ hδ ξ hs a k t (Y t) x := | |
| 163 | - physicalPressure_hessian D δ hδ ξ hs a k hk t (Y t) | |
| 164 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 165 | - | |
| 166 | 123 | end EulerPacketForwardShear |
+0 −5 Euler/PacketForwardRadiusPolynomial.lean View file
| @@ -185,9 +185,4 @@ theorem canonicalRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 185 | 185 | unfold radiusEnvelope |
| 186 | 186 | nlinarith only [H.original_mean,H.original_forward,H.coefficient_cost,hb,hm,hg1,hgT,hextra,hreq,hjW] |
| 187 | 187 | |
| 188 | -theorem canonicalRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 189 | - (H : RadiusPrimitives L LM N BC δ ξ W) : | |
| 190 | - canonicalRadius L LM N BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 191 | - (canonicalRadius_le_envelope L LM N BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 192 | - | |
| 193 | 188 | end EulerPacketForwardRadius |
+0 −10 Euler/PacketForwardRemainder.lean View file
| @@ -78,16 +78,6 @@ theorem forwardInitializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : | ||
| 78 | 78 | (forwardInitializedProfiles_one_mean M D δ hδ ξ hs α) hN BC k hk hbase |
| 79 | 79 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]; rfl) |
| 80 | 80 | |
| 81 | -theorem forwardInitializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 82 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 83 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 84 | - ‖forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ | |
| 85 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 86 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 87 | - (forwardInitializedPrimaryRemainder_bound M D hTime δ hδ ξ hs α | |
| 88 | - L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 89 | - (by norm_num) t k D.m₀ (Y x) | |
| 90 | - | |
| 91 | 81 | theorem forwardInitializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 92 | 82 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 93 | 83 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
+0 −11 Euler/PacketForwardUniformBudget.lean View file
| @@ -59,17 +59,6 @@ def forwardUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_pos | ||
| 59 | 59 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 60 | 60 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 61 | 61 | |
| 62 | -theorem forwardUniformBudget_delta : | |
| 63 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 64 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 65 | - | |
| 66 | -theorem forwardUniformBudget_initialRadius : | |
| 67 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 68 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 69 | - initialRadius | |
| 70 | - (forwardInitializedRadius LM L NB (forwardCoefficientBudget period M D hTime NB) δ ξ) | |
| 71 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 72 | - | |
| 73 | 62 | |
| 74 | 63 | open EulerPacketCorrectionOutput EulerSobolevGevreyOperators EulerAllOrderDriftCorrection |
| 75 | 64 | |
+0 −8 Euler/PacketFrameRenewalAlgebra.lean View file
| @@ -32,12 +32,4 @@ theorem scaling_cross_flux {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | ||
| 32 | 32 | field_simp |
| 33 | 33 | ring |
| 34 | 34 | |
| 35 | -theorem scaling_pressure_ratio {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | |
| 36 | - (M : Fin 3 → Fin 3 → ℝ) (R V : Fin 3 → ℝ) (hV : V 1 ≠ 0) : | |
| 37 | - (∑ i : Fin 3, (s₀*rayScale ε i*R i)*(∑ j : Fin 3, M i j*(velocityScale ε j*V j))) = | |
| 38 | - s₀*a*(V 1)*velocityNumerator (scaledVelocityEntry a ε M) | |
| 39 | - (R 0) (R 1) (R 2) (V 0/V 1) 1 (V 2/V 1) := by | |
| 40 | - rw [scaling_flux ha, velocityNumerator_homogeneous _ _ _ _ _ _ _ hV] | |
| 41 | - ring | |
| 42 | - | |
| 43 | 35 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketGeometryControlledGrowth.lean View file
| @@ -95,14 +95,6 @@ theorem primaryAmplitude_pos (hδ : 0 < A.δ) (hh : 0 < A.hchild) : | ||
| 95 | 95 | 0 < A.primaryAmplitude hball := |
| 96 | 96 | EulerPacketGeometryLowBounds.amplitude_pos (A.lowGeometry hball) hδ hh |
| 97 | 97 | |
| 98 | -theorem primaryAmplitude_exponential : A.primaryAmplitude hball ≤ | |
| 99 | - (4*P.horizon*A.δ*A.hchild)*Real.exp (-(1/(4*P.sigma))) := by | |
| 100 | - obtain ⟨F,F₁,Z,Z₁,J⟩ := (A.lowGeometry hball).exists_geometry | |
| 101 | - have h := J.amplitude_exponential | |
| 102 | - change A.primaryAmplitude hball ≤ | |
| 103 | - (4*P.horizon*A.δ*A.hchild/(1 : ℝ))*Real.exp (-(1/(4*P.sigma))) at h | |
| 104 | - simpa only [div_one] using h | |
| 105 | - | |
| 106 | 98 | theorem halfBall_controlledGrowth : |
| 107 | 99 | ∃ g : C(Icc (0 : ℝ) D.T,ℝ), |
| 108 | 100 | (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ |
+0 −25 Euler/PacketGeometryInitialAmplitude.lean View file
| @@ -92,29 +92,4 @@ variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSp | ||
| 92 | 92 | {D : Data U} {P : ParentFrame D 0} (J : ForwardGuards P) |
| 93 | 93 | (hball : (1/2 : ℝ) ≤ J.radius) |
| 94 | 94 | |
| 95 | -theorem primaryAmplitude_polynomial (X x : ℝ) (hX : 1 ≤ X) | |
| 96 | - (hH : P.horizon ≤ X) (hh : J.hchild ≤ X) (hδ : J.δ ≤ 1) (hσ : P.sigma*x ≤ 2) : | |
| 97 | - J.primaryAmplitude hball ≤ constant*X^degree*Real.exp (-x/8) := by | |
| 98 | - have hS := zero_le_one.trans (sourceEnvelope_one X hX) | |
| 99 | - have hX0 := zero_le_one.trans hX | |
| 100 | - have hH0 := zero_le_one.trans J.horizon_lower | |
| 101 | - have hc0 := J.child_nonneg | |
| 102 | - have hd0 := J.delta_nonneg | |
| 103 | - have hpref : 4*P.horizon*J.δ*J.hchild ≤ envelope X := by | |
| 104 | - calc | |
| 105 | - _ ≤ 4*X*1*X := by gcongr | |
| 106 | - _ ≤ 4*X*1*X*(1+sourceEnvelope X) := by nlinarith only [mul_nonneg (sq_nonneg X) hS] | |
| 107 | - _ = _ := by unfold envelope; ring | |
| 108 | - have hs := sigma_exponential_bound P.sigma x J.sigma_pos hσ | |
| 109 | - apply (J.primaryAmplitude_exponential hball).trans | |
| 110 | - apply (mul_le_mul hpref hs (Real.exp_pos _).le ?_).trans | |
| 111 | - · exact mul_le_mul_of_nonneg_right (envelope_bound X hX) (Real.exp_pos _).le | |
| 112 | - · unfold envelope | |
| 113 | - positivity | |
| 114 | - | |
| 115 | -include J hball in | |
| 116 | -theorem horizon_le_growthCost : P.horizon ≤ 560*P.horizon^10/P.epsilon := by | |
| 117 | - have he : P.epsilon ≤ 1 := (J.lowGeometry hball).epsilon_le_one | |
| 118 | - exact horizon_le_cost P.horizon P.epsilon J.horizon_lower J.epsilon_pos he | |
| 119 | - | |
| 120 | 95 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −29 Euler/PacketGeometryJoinedBudget.lean View file
| @@ -38,33 +38,4 @@ theorem sourceGrowthProfile_amplitude (t : Icc (0 : ℝ) (D.T-τ)) : | ||
| 38 | 38 | 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := |
| 39 | 39 | (J.halfBall_controlledGrowth hball).choose_spec.2.2.2 t |
| 40 | 40 | |
| 41 | -theorem primaryAmplitude_bound : J.primaryAmplitude hball ≤ | |
| 42 | - 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := by | |
| 43 | - have h := J.sourceGrowthProfile_amplitude hball ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 44 | - simpa only [J.sourceGrowthProfile_initial hball,mul_one] using h | |
| 45 | - | |
| 46 | -def joinedBudget (q : ℕ) | |
| 47 | - (A V : Icc (0 : ℝ) D.T → SmoothL2Field Space) | |
| 48 | - (W : Icc (0 : ℝ) τ → SmoothL2Field Space) | |
| 49 | - (F₂ : SmoothCoefficientPath (Icc (0 : ℝ) τ) (Space →L[ℝ] Space)) | |
| 50 | - (ℓ K Ti : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) (hK : 0 ≤ K) | |
| 51 | - (hτ1 : τ ≤ 1) (hTi : τ⁻¹ ≤ Ti) | |
| 52 | - (hA : ∀ t, HasLabelBound K (A t)) (hV : ∀ t, HasLabelBound K (V t)) | |
| 53 | - (hW : ∀ t, HasLabelBound K (W t)) | |
| 54 | - (hF : ∀ t x, D.F.field t x = ContinuousLinearMap.id ℝ Space+fderiv ℝ (A t).field (ℓ • x)) | |
| 55 | - (hF₁ : ∀ t x, D.F₁.field t x = fderiv ℝ (V t).field (ℓ • x)) | |
| 56 | - (hF₂ : ∀ t x, F₂.field t x = fderiv ℝ (W t).field (ℓ • x)) | |
| 57 | - (h₂ : ∀ t ∈ Icc (0 : ℝ) τ, ∀ x : Space, | |
| 58 | - HasDerivWithinAt (fun s => extendPath τ hτ.le (D.initial τ hτ hτT.le).F₁.field s x) | |
| 59 | - (extendPath τ hτ.le F₂.field t x) (Icc (0 : ℝ) τ) t) | |
| 60 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) | |
| 61 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 62 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) : | |
| 63 | - EulerTransversePacketJoin.Budget D τ hτ hτT H (Fin 4) q := | |
| 64 | - EulerPacketParentPhysicalBudgets.joinedBudget D τ hτ hτT H q A V W F₂ | |
| 65 | - ℓ K Ti (560*P.horizon^10/P.epsilon) hℓ hℓ1 hK hτ1 hTi J.growth_constant_pos.le | |
| 66 | - hA hV hW hF hF₁ hF₂ h₂ hdet (J.sourceGrowthProfile hball) | |
| 67 | - (J.sourceGrowthProfile_positive hball) (J.sourceGrowthProfile_initial hball) | |
| 68 | - Ω hΩ hΩo hsub hΩball (J.sourceGrowthProfile_propagator hball) | |
| 69 | - | |
| 70 | 41 | end EulerPacketSourceGeometry.Guards |
+0 −20 Euler/PacketGeometryPressureCosts.lean View file
| @@ -66,16 +66,6 @@ theorem joined_upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 66 | 66 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.badRatio := by ring |
| 67 | 67 | _ ≤ _ := add_le_add hg hb |
| 68 | 68 | |
| 69 | -theorem joined_initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 70 | - A.hchild*A.badRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 71 | - have hb := L.joined_bad_pressure_cost_bound m hm R S hS H τ hτ hτT P A Ti hτ1 hTi | |
| 72 | - J D hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc hbaseH hbaseK n M | |
| 73 | - hK hTib hCMb hCHb hTheta hSigma hchild hMb | |
| 74 | - have hbase : A.hchild*A.badRatio ≤ 2*M*A.hchild*A.badRatio := by | |
| 75 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 76 | - (mul_nonneg A.child_nonneg A.badRatio_nonneg)] | |
| 77 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 78 | - | |
| 79 | 69 | end EulerParentPacketFrames.LabelData |
| 80 | 70 | |
| 81 | 71 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -137,14 +127,4 @@ theorem upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 137 | 127 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.earlyRatio := by ring |
| 138 | 128 | _ ≤ _ := add_le_add hg hb |
| 139 | 129 | |
| 140 | -omit [CompleteSpace U] in | |
| 141 | -theorem initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 142 | - A.hchild*A.earlyRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 143 | - have hb := A.bad_pressure_cost_bound J hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc | |
| 144 | - hbaseH n M hTheta hSigma hchild hMb | |
| 145 | - have hbase : A.hchild*A.earlyRatio ≤ 2*M*A.hchild*A.earlyRatio := by | |
| 146 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 147 | - (mul_nonneg A.child_nonneg A.earlyRatio_nonneg)] | |
| 148 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 149 | - | |
| 150 | 130 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −16 Euler/PacketGeometryProfileEnvelope.lean View file
| @@ -67,14 +67,6 @@ theorem budget_fullProfile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 67 | 67 | exact EulerElapsedTimePathGluing.smul_profile_le D.T τ hτ.le hτT.le L.g L.initial_one |
| 68 | 68 | (J.primaryAmplitude hball) _ ha hf t |
| 69 | 69 | |
| 70 | -include hg in | |
| 71 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 72 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 73 | - (Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime (J.primaryAmplitude hball) | |
| 74 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild*(1+L.C₀)) := | |
| 75 | - Scales.ofTimeProfile_H0_le L.fullProfile L.fullProfile_pos hTime _ _ _ (le_max_left _ _) | |
| 76 | - (fun t => (J.budget_fullProfile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 77 | - | |
| 78 | 70 | end EulerPacketSourceGeometry.Guards |
| 79 | 71 | |
| 80 | 72 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -93,12 +85,4 @@ theorem budget_profile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 93 | 85 | rw [hg] |
| 94 | 86 | exact J.sourceGrowthProfile_amplitude hball t |
| 95 | 87 | |
| 96 | -include hg in | |
| 97 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 98 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 99 | - (Scales.ofTimeProfile L.g L.positive hTime (J.primaryAmplitude hball) | |
| 100 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild) := | |
| 101 | - Scales.ofTimeProfile_H0_le L.g L.positive hTime _ _ _ (le_max_left _ _) | |
| 102 | - (fun t => (J.budget_profile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 103 | - | |
| 104 | 88 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −20 Euler/PacketGeometrySourceGrowth.lean View file
| @@ -40,10 +40,6 @@ theorem growthProfile_pos (hhorizon : G.time G.H=G.t₀+D.T) | ||
| 40 | 40 | |
| 41 | 41 | def growthConstant : ℝ := 560*G.Θ^10/G.ε |
| 42 | 42 | |
| 43 | -theorem growthConstant_pos : 0 < growthConstant G := by | |
| 44 | - unfold growthConstant | |
| 45 | - positivity [G.Theta_pos,G.epsilon_pos] | |
| 46 | - | |
| 47 | 43 | theorem physicalGrowth_of_geometry |
| 48 | 44 | (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) |
| 49 | 45 | (hhorizon : G.time G.H=G.t₀+D.T) |
| @@ -85,20 +81,4 @@ theorem physicalGrowth_of_geometry | ||
| 85 | 81 | simpa only [growthConstant,u,add_sub_cancel_left] using hb |
| 86 | 82 | _ = growthConstant G*growthProfile D G H t/growthProfile D G H s*‖w s‖ := by ring |
| 87 | 83 | |
| 88 | -/-- The profile and its physical growth property are derived together | |
| 89 | -from the actual geometry stage. They are ready for the source-budget constructors. -/ | |
| 90 | -theorem exists_growth_of_geometry | |
| 91 | - (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) | |
| 92 | - (hhorizon : G.time G.H=G.t₀+D.T) | |
| 93 | - (hstrain : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 94 | - G.M x (G.t₀+t)=D.M.field t x.1) | |
| 95 | - (hnormal : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 96 | - G.r x (G.t₀+t)=D.normal.field t x.1) : | |
| 97 | - ∃ (g : C(Icc (0 : ℝ) D.T,ℝ)) (C : ℝ), | |
| 98 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ 0 < C ∧ PhysicalGrowth D Ω g C := by | |
| 99 | - obtain ⟨F,F₁,Z,Z₁,H⟩ := G.exists_geometry | |
| 100 | - exact ⟨growthProfile D G H,growthConstant G,growthProfile_pos D G H hhorizon, | |
| 101 | - growthProfile_initial D G H,growthConstant_pos G, | |
| 102 | - physicalGrowth_of_geometry D G H hinterval hhorizon hstrain hnormal⟩ | |
| 103 | - | |
| 104 | 84 | end EulerPacketGeometrySourceGrowth |
+0 −7 Euler/PacketGevreyProfileChoice.lean View file
| @@ -43,13 +43,6 @@ theorem ofTimeProfile_growth {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ | ||
| 43 | 43 | change timeProfileChange (α • timeProfileChange g h) h.symm = α • g |
| 44 | 44 | rw [timeProfileChange_smul,timeProfileChange_roundtrip] |
| 45 | 45 | |
| 46 | -theorem ofTimeProfile_high {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 47 | - (h : T = T') (α : ℝ) (hα : 0 < α) (p : ℕ) : | |
| 48 | - timeProfileChange ((ofTimeProfile g hg h α hα).high p) h.symm = | |
| 49 | - (α*meanScale (ofTimeProfile g hg h α hα).H0 p) • g := | |
| 50 | - high_timeProfile_eq (ofTimeProfile g hg h α hα) h.symm g α | |
| 51 | - (ofTimeProfile_growth g hg h α hα) p | |
| 52 | - | |
| 53 | 46 | theorem gradeFactor_pos {K : Type*} [TopologicalSpace K] (S : Scales K) |
| 54 | 47 | (α : ℝ) (hα : 0 < α) (p : ℕ) : 0 < α*meanScale S.H0 p := |
| 55 | 48 | mul_pos hα (meanScale_pos S.H0 S.H0_pos p) |
+0 −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 −109 Euler/PacketGraphHessian.lean View file
| @@ -19,11 +19,6 @@ def spatialGradient (q : LiftTangent → ℝ) (z : LiftTangent) : Space := | ||
| 19 | 19 | def angularDerivative (q : LiftTangent → ℝ) (z : LiftTangent) : ℝ := |
| 20 | 20 | fderiv ℝ q z (0,1) |
| 21 | 21 | |
| 22 | -theorem spatialGradient_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : | |
| 23 | - ContDiff ℝ ∞ (spatialGradient q) := | |
| 24 | - (toDual ℝ Space).symm.toContinuousLinearMap.contDiff.comp | |
| 25 | - ((contDiff_infty_iff_fderiv.mp hq).2.clm_comp contDiff_const) | |
| 26 | - | |
| 27 | 22 | theorem angularDerivative_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : |
| 28 | 23 | ContDiff ℝ ∞ (angularDerivative q) := |
| 29 | 24 | (contDiff_infty_iff_fderiv.mp hq).2.clm_apply contDiff_const |
| @@ -62,111 +57,7 @@ theorem gradient_graph {q : LiftTangent → ℝ} (k : ℝ) (m x : Space) | ||
| 62 | 57 | inl_apply,graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] |
| 63 | 58 | ring |
| 64 | 59 | |
| 65 | -theorem gradient_physical {q : LiftTangent → ℝ} (k : ℝ) (m : Space) | |
| 66 | - (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) | |
| 67 | - (hY : HasFDerivAt Y J x) (hq : DifferentiableAt ℝ q (graphMap k m (Y x))) : | |
| 68 | - gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 69 | - k⁻¹^2 • J.adjoint (spatialGradient q (graphMap k m (Y x)))+ | |
| 70 | - (k⁻¹^2*k*angularDerivative q (graphMap k m (Y x))) • J.adjoint m := by | |
| 71 | - have hg := hq.hasFDerivAt.comp (Y x) (graphMap k m).hasFDerivAt | |
| 72 | - have hc := (hg.comp x hY).const_smul (k⁻¹^2) | |
| 73 | - have hd : fderiv ℝ (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 74 | - k⁻¹^2 • ((fderiv ℝ q (graphMap k m (Y x))).comp (graphMap k m)).comp J := hc.fderiv | |
| 75 | - apply ext_inner_right ℝ | |
| 76 | - intro v | |
| 77 | - rw [inner_gradient_left,hd] | |
| 78 | - simp only [smul_apply,comp_apply,smul_eq_mul,inner_add_left,real_inner_smul_left, | |
| 79 | - adjoint_inner_left,spatialGradient,toDual_symm_apply,inl_apply, | |
| 80 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 81 | - ring | |
| 82 | - | |
| 83 | 60 | def transportedNormal (m : Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := |
| 84 | 61 | (J x).adjoint m |
| 85 | 62 | |
| 86 | -def slowForce (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 87 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := | |
| 88 | - (J x).adjoint (spatialGradient q (graphMap k m (Y x))) | |
| 89 | - | |
| 90 | -def lowerHessian (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 91 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space →L[ℝ] Space := | |
| 92 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 93 | - k⁻¹ • (angularDerivative q (graphMap k m (Y x)) • fderiv ℝ (transportedNormal m J) x + | |
| 94 | - (((fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)).comp | |
| 95 | - (J x)).smulRight (transportedNormal m J x)) | |
| 96 | - | |
| 97 | -theorem hessian_physical {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) | |
| 98 | - (k : ℝ) (hk : k ≠ 0) (m : Space) (Y : Space → Space) | |
| 99 | - (J : Space → Space →L[ℝ] Space) (hY : ∀ x, HasFDerivAt Y (J x) x) | |
| 100 | - (x : Space) (hJ : DifferentiableAt ℝ J x) : | |
| 101 | - fderiv ℝ (gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y)))) x = | |
| 102 | - angularDerivative (angularDerivative q) (graphMap k m (Y x)) • | |
| 103 | - rankOne ℝ (transportedNormal m J x) (transportedNormal m J x) + | |
| 104 | - lowerHessian q k m Y J x := by | |
| 105 | - let z := graphMap k m (Y x) | |
| 106 | - let n := transportedNormal m J | |
| 107 | - let a := fun y => angularDerivative q (graphMap k m (Y y)) | |
| 108 | - have hgraph : HasFDerivAt (fun y => graphMap k m (Y y)) | |
| 109 | - ((graphMap k m).comp (J x)) x := (graphMap k m).hasFDerivAt.comp x (hY x) | |
| 110 | - have hang : HasFDerivAt (angularDerivative q) (fderiv ℝ (angularDerivative q) z) z := | |
| 111 | - ((angularDerivative_contDiff hq).differentiable (by simp) z).hasFDerivAt | |
| 112 | - have ha : HasFDerivAt a | |
| 113 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)) x := by | |
| 114 | - convert! hang.comp x hgraph using 1 | |
| 115 | - have hn : DifferentiableAt ℝ n x := | |
| 116 | - (adjoint.differentiableAt.comp x hJ).clm_apply (differentiableAt_const m) | |
| 117 | - have hsp : DifferentiableAt ℝ (spatialGradient q) z := | |
| 118 | - (spatialGradient_contDiff hq).differentiable (by simp) z | |
| 119 | - have hspg : DifferentiableAt ℝ (fun y => spatialGradient q (graphMap k m (Y y))) x := by | |
| 120 | - have hcomp := hsp.comp x hgraph.differentiableAt | |
| 121 | - exact hcomp | |
| 122 | - have hs : DifferentiableAt ℝ (slowForce q k m Y J) x := | |
| 123 | - (adjoint.differentiableAt.comp x hJ).clm_apply hspg | |
| 124 | - have hg : gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) = | |
| 125 | - fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y) := by | |
| 126 | - funext y | |
| 127 | - rw [gradient_physical k m Y (J y) y (hY y) | |
| 128 | - (hq.differentiable (by simp) (graphMap k m (Y y)))] | |
| 129 | - simp only [slowForce,a,n,transportedNormal,smul_smul] | |
| 130 | - congr 1 | |
| 131 | - congr 1 | |
| 132 | - field_simp | |
| 133 | - rw [hg] | |
| 134 | - have hd : fderiv ℝ (fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y)) x = | |
| 135 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 136 | - k⁻¹ • (a x • fderiv ℝ n x + | |
| 137 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)).smulRight | |
| 138 | - (n x)) := | |
| 139 | - ((hs.hasFDerivAt.const_smul (k⁻¹^2)).add | |
| 140 | - ((ha.smul hn.hasFDerivAt).const_smul k⁻¹)).fderiv | |
| 141 | - rw [hd] | |
| 142 | - apply ContinuousLinearMap.ext | |
| 143 | - intro v | |
| 144 | - simp only [lowerHessian,add_apply,smul_apply,comp_apply,smulRight_apply,rankOne_apply, | |
| 145 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 146 | - have hm : ⟪m,J x v⟫_ℝ = ⟪n x,v⟫_ℝ := ((J x).adjoint_inner_left v m).symm | |
| 147 | - rw [hm] | |
| 148 | - dsimp only [z,a,n] | |
| 149 | - simp only [angularDerivative,graph_decomposition,inl_apply] | |
| 150 | - match_scalars <;> field_simp | |
| 151 | - all_goals ring | |
| 152 | - | |
| 153 | -theorem lowerHessian_norm_le (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 154 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : | |
| 155 | - ‖lowerHessian q k m Y J x‖ ≤ | |
| 156 | - |k⁻¹|^2 * ‖fderiv ℝ (slowForce q k m Y J) x‖ + | |
| 157 | - |k⁻¹| * (|angularDerivative q (graphMap k m (Y x))| * | |
| 158 | - ‖fderiv ℝ (transportedNormal m J) x‖ + | |
| 159 | - ‖(fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)‖ * | |
| 160 | - ‖J x‖ * ‖transportedNormal m J x‖) := by | |
| 161 | - unfold lowerHessian | |
| 162 | - apply (norm_add_le _ _).trans | |
| 163 | - simp only [norm_smul,Real.norm_eq_abs,abs_pow] | |
| 164 | - apply add_le_add le_rfl | |
| 165 | - apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) | |
| 166 | - apply (norm_add_le _ _).trans | |
| 167 | - simp only [norm_smul,Real.norm_eq_abs] | |
| 168 | - apply add_le_add le_rfl | |
| 169 | - rw [norm_smulRight_apply] | |
| 170 | - exact mul_le_mul_of_nonneg_right (opNorm_comp_le _ _) (norm_nonneg _) | |
| 171 | - | |
| 172 | 63 | end EulerPacketGraphHessian |
+0 −3 Euler/PacketInductionScaleBounds.lean View file
| @@ -50,9 +50,6 @@ theorem previousFrequency_one (n : ℕ) : 1 ≤ previousFrequency S.J S.D S.X n | ||
| 50 | 50 | | zero => exact S.first.frequency.one_le |
| 51 | 51 | | succ n => exact (S.normal_frequency n).one_le |
| 52 | 52 | |
| 53 | -theorem priorError_nonneg (n : ℕ) : 0 ≤ priorError S.J S.D S.X n := | |
| 54 | - rpow_nonneg (zero_le_one.trans (S.previousFrequency_one n)) _ | |
| 55 | - | |
| 56 | 53 | theorem priorError_one (n : ℕ) : priorError S.J S.D S.X n ≤ 1 := by |
| 57 | 54 | cases n with |
| 58 | 55 | | zero => exact S.first.error_small |
+0 −18 Euler/PacketInductionStage.lean View file
| @@ -88,11 +88,6 @@ theorem horizon_lower : baseHorizon S.J S.X/12 < P.parent.T := by | ||
| 88 | 88 | linarith only [hp] |
| 89 | 89 | · exact (P.time_lower hn).trans_lt P.time_lt |
| 90 | 90 | |
| 91 | -theorem horizon_reciprocal : P.parent.T⁻¹ ≤ 12/baseHorizon S.J S.X := by | |
| 92 | - have hp := div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num : (0 : ℝ) < 12) | |
| 93 | - have h := one_div_le_one_div_of_le hp P.horizon_lower.le | |
| 94 | - simpa only [one_div,inv_div] using h | |
| 95 | - | |
| 96 | 91 | theorem time_pos (hn : n ≠ 0) : 0 < P.time := |
| 97 | 92 | (div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num)).trans_le (P.time_lower hn) |
| 98 | 93 | |
| @@ -101,25 +96,12 @@ theorem time_reciprocal (hn : n ≠ 0) : P.time⁻¹ ≤ 12/baseHorizon S.J S.X | ||
| 101 | 96 | have h := one_div_le_one_div_of_le hp (P.time_lower hn) |
| 102 | 97 | simpa only [one_div,inv_div] using h |
| 103 | 98 | |
| 104 | -theorem exterior_cap : P.low.Be ≤ initialCoefficientCost+1 := by | |
| 105 | - have h := P.exterior_bound | |
| 106 | - have hs := S.initial_partial_sum n | |
| 107 | - have hd := S.delta_small | |
| 108 | - linarith only [h,hs,hd] | |
| 109 | - | |
| 110 | 99 | theorem core_cap : P.low.Bc ≤ gradientConstant*S.X^1000+2 := by |
| 111 | 100 | have h := P.core_bound |
| 112 | 101 | have hs := S.initial_partial_sum n |
| 113 | 102 | have hd := S.delta_small |
| 114 | 103 | linarith only [h,hs,hd] |
| 115 | 104 | |
| 116 | -theorem pressure_cap : P.low.K ≤ initialCoefficientCost+1 := by | |
| 117 | - have h := P.pressure_bound | |
| 118 | - have hs := S.pressure_partial_sum n | |
| 119 | - have hd := S.delta_small | |
| 120 | - have hb := S.first.pressure_small | |
| 121 | - linarith only [h,hs,hd,hb] | |
| 122 | - | |
| 123 | 105 | theorem source_stage : EulerPacketSourceScaleGuards.StageGuards S.J S.D 4 c S.X |
| 124 | 106 | geometryConstant (fun _ => P.frame.a) (fun _ => P.frame.sigma^2) n := |
| 125 | 107 | S.stage _ _ n P.coupling_bounds.1 P.coupling_bounds.2 P.tilt_lower P.tilt_upper |
+0 −9 Euler/PacketInfiniteConstruction.lean View file
| @@ -40,11 +40,6 @@ def stages : (n : ℕ) → Stage S n | ||
| 40 | 40 | | 0 => S.firstStage |
| 41 | 41 | | n+1 => (stages n).successor hq hB |
| 42 | 42 | |
| 43 | -theorem stages_zero : stages S hq hB 0=S.firstStage := rfl | |
| 44 | - | |
| 45 | -theorem stages_succ (n : ℕ) : | |
| 46 | - stages S hq hB (n+1)=(stages S hq hB n).successor hq hB := rfl | |
| 47 | - | |
| 48 | 43 | theorem stages_time (n : ℕ) : |
| 49 | 44 | (stages S hq hB (n+1)).time=(stages S hq hB n).nextTime := |
| 50 | 45 | (stages S hq hB n).successor_time hq hB |
| @@ -58,10 +53,6 @@ theorem stages_initial_step (n : ℕ) (hn : n ≠ 0) : | ||
| 58 | 53 | | zero => exact (hn rfl).elim |
| 59 | 54 | | succ n => exact (stages S hq hB (n+1)).joinedNext_initial_velocity (Nat.succ_ne_zero n) hq hB |
| 60 | 55 | |
| 61 | -theorem stages_gradient_atTop : | |
| 62 | - Tendsto (fun n => (stages S hq hB n).activationGradient) atTop atTop := | |
| 63 | - Stage.gradient_atTop (stages S hq hB) | |
| 64 | - | |
| 65 | 56 | abbrev ConstructionScales := |
| 66 | 57 | Scales (requiredExponent : ℝ) (commonThreshold gradientConstant hessianConstant) |
| 67 | 58 | |
+0 −6 Euler/PacketInitialDatumSupport.lean View file
| @@ -32,12 +32,6 @@ theorem initialDataLimit_support | ||
| 32 | 32 | change tsupport ((initialBase P).field+tail.field) ⊆ Metric.closedBall 0 2 |
| 33 | 33 | exact (tsupport_add _ _).trans (union_subset hbase htail) |
| 34 | 34 | |
| 35 | -theorem initialDataLimit_compact | |
| 36 | - (hbase : tsupport (initialBase P).field ⊆ Metric.closedBall 0 2) : | |
| 37 | - HasCompactSupport (initialDataLimit P hq hB).field := | |
| 38 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 39 | - (initialDataLimit_support P hq hB hbase) | |
| 40 | - | |
| 41 | 35 | theorem initialDataLimit_support_of_physical |
| 42 | 36 | (hbase : tsupport (fun x => (P 1).state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : |
| 43 | 37 | tsupport (initialDataLimit P hq hB).field ⊆ Metric.closedBall 0 2 := by |
+0 −23 Euler/PacketInitialExactLimit.lean View file
| @@ -39,17 +39,6 @@ variable {U : ℕ → Type} [∀ n, NormedAddCommGroup (U n)] [∀ n, InnerProdu | ||
| 39 | 39 | (hk : ∀ n, 4 ≤ frequency J X n) (hn : ∀ n, 1 ≤ truncation (frequency J X n)) |
| 40 | 40 | (Q : ∀ n, (A n).correctionBudget (frequency J X n) (hk n) (hn n)) |
| 41 | 41 | |
| 42 | -def exactPartial (N : ℕ) : Space → Space := | |
| 43 | - fun x => ∑ n ∈ range N, (A n).exactInitial (frequency J X n) (hk n) (hn n) (Q n) x | |
| 44 | - | |
| 45 | -theorem exactPartial_eq (N : ℕ) : exactPartial A J X hk hn Q N=initialPartial A J X N := by | |
| 46 | - funext x | |
| 47 | - unfold exactPartial initialPartial | |
| 48 | - apply sum_congr rfl | |
| 49 | - intro n _ | |
| 50 | - rw [Input.exactInitial_eq] | |
| 51 | - rfl | |
| 52 | - | |
| 53 | 42 | variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) |
| 54 | 43 | (p q : ℕ) (hX : 1 ≤ X) |
| 55 | 44 | (hparameter : ∀ n, (A n).parameterSize ≤ parameterEnvelope J C c p q X n) |
| @@ -59,16 +48,4 @@ variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) | ||
| 59 | 48 | |
| 60 | 49 | local notation "V" => initialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency |
| 61 | 50 | |
| 62 | -theorem selectedQ_initial_Hm (s : ℕ) : | |
| 63 | - Tendsto (fun N => derivativeSum s (exactPartial A J X hk hn Q N-(V).field)) atTop (𝓝 0) := by | |
| 64 | - simpa only [exactPartial_eq] using | |
| 65 | - initialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency s | |
| 66 | - | |
| 67 | -theorem selectedQ_fullInitial_Hm (base : SmoothL2Field Space) (s : ℕ) : | |
| 68 | - Tendsto (fun N => derivativeSum s ((base.field+exactPartial A J X hk hn Q N)- | |
| 69 | - (fullInitialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base).field)) | |
| 70 | - atTop (𝓝 0) := by | |
| 71 | - simpa only [exactPartial_eq] using | |
| 72 | - fullInitialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base s | |
| 73 | - | |
| 74 | 51 | end EulerPacketInitial |
+0 −6 Euler/PacketInitialGeometry.lean View file
| @@ -44,10 +44,4 @@ theorem activation_scaled_velocity {m v w : ℝ → Space} {t₀ a ε C γ : ℝ | ||
| 44 | 44 | rw [hu] |
| 45 | 45 | ring |
| 46 | 46 | |
| 47 | -theorem activation_tangent_pairing {m v r w : ℝ → Space} {s₀ t₀ : ℝ} | |
| 48 | - (hr : r t₀ = s₀ • cross (unit (m t₀)) (unit (v t₀))) | |
| 49 | - (hw : ⟪cross (unit (m t₀)) (unit (v t₀)),w t₀⟫_ℝ = 0) : | |
| 50 | - ⟪r t₀,w t₀⟫_ℝ = 0 := by | |
| 51 | - rw [hr, real_inner_smul_left, hw, mul_zero] | |
| 52 | - | |
| 53 | 47 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketInitialSmoothFields.lean View file
| @@ -35,12 +35,4 @@ def initializedInitialMeanField (N : ℕ) (k : ℝ) : SmoothL2Field Space where | ||
| 35 | 35 | exact scale_contDiff M.ℓ _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) |
| 36 | 36 | integrable n := initializedInitialMean_memLp M D hTime τ hτ hτT B δ hδ ξ hs α N n k |
| 37 | 37 | |
| 38 | -theorem initializedInitialHighField_field (N : ℕ) (k : ℝ) : | |
| 39 | - (initializedInitialHighField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 40 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 41 | - | |
| 42 | -theorem initializedInitialMeanField_field (N : ℕ) (k : ℝ) : | |
| 43 | - (initializedInitialMeanField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 44 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 45 | - | |
| 46 | 38 | end EulerPacketTerminalDatum |
+0 −4 Euler/PacketInitialSmoothLimit.lean View file
| @@ -77,10 +77,6 @@ theorem initialLimit_support : tsupport (V).field ⊆ Metric.closedBall 0 2 := | ||
| 77 | 77 | (actual_increment_summable A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) |
| 78 | 78 | (Metric.closedBall 0 2) Metric.isClosed_closedBall (fun n => (A n).increment_support (frequency J X n)) |
| 79 | 79 | |
| 80 | -theorem initialLimit_compact : HasCompactSupport (V).field := | |
| 81 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 82 | - (initialLimit_support A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) | |
| 83 | - | |
| 84 | 80 | def fullInitialLimit (base : SmoothL2Field Space) : SmoothL2Field Space := addField base V |
| 85 | 81 | |
| 86 | 82 | theorem fullInitialLimit_Hm (base : SmoothL2Field Space) (s : ℕ) : |
+0 −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 −39 Euler/PacketInitializedCorrectionChoice.lean View file
| @@ -32,43 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -/-- One source-dependent initial radius and growth constant work at all | |
| 36 | -sufficiently large frequencies for the literal truncation floor(k^ϑ). -/ | |
| 37 | -theorem initialized_correction_budgets_eventually : | |
| 38 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C := by | |
| 44 | - classical | |
| 45 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 46 | - let Kc := L.correctionCoefficients NB period | |
| 47 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 48 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 49 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 50 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 51 | - rw [hprofile] | |
| 52 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 53 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 54 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 55 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 56 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 57 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 58 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 60 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 61 | - filter_upwards [fixed_costs_eventually | |
| 62 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 63 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 64 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 65 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 66 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 67 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 68 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 69 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 70 | - Ξ hΞ hF hdet | |
| 71 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 72 | - simp only [Q,initializedAllOrderBudget,ρ0,cg] | |
| 73 | - | |
| 74 | 35 | end EulerPacketTerminalDatum |
+0 −109 Euler/PacketInitializedCorrectionEstimateChoice.lean View file
| @@ -31,113 +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 | -/-- Every fixed polynomial loss can be paid while making all three | |
| 113 | -actual weighted H⁶ norms smaller than any prescribed inverse power. | |
| 114 | -The chosen frequency works simultaneously at every finite cutoff. -/ | |
| 115 | -theorem initialized_correction_with_power_loss_eventually | |
| 116 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 117 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 118 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 119 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 121 | - (truncation k) hn k hk)), | |
| 122 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 123 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 124 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 125 | - ((Q.fieldTower period).realization s t) < k^(-p) ∧ | |
| 126 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 127 | - ((Q.pressureTower period).realization s t) < k^(-p) ∧ | |
| 128 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 129 | - ((Q.timeDerivativeTower period).realization s t) < k^(-p) := by | |
| 130 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 131 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 132 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 133 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 135 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 136 | - intro s N hN t | |
| 137 | - have hscale : 0 ≤ physicalCost*k^loss := mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 138 | - have hb (x : ℝ) (hx : x ≤ C*delta (expansion k)) : physicalCost*k^loss*x < k^(-p) := by | |
| 139 | - apply (mul_le_mul_of_nonneg_left hx hscale).trans_lt | |
| 140 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hkbound | |
| 141 | - exact ⟨hb _ (hbounds s N hN t).1,hb _ (hbounds s N hN t).2.1,hb _ (hbounds s N hN t).2.2⟩ | |
| 142 | - | |
| 143 | 34 | end EulerPacketTerminalDatum |
+0 −45 Euler/PacketInitializedExactLifted.lean View file
| @@ -81,49 +81,4 @@ def initializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 81 | 81 | exactPacketOfResidual period Q |
| 82 | 82 | (initializedApproximationResidual M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) |
| 83 | 83 | |
| 84 | -theorem initializedExactPacket_velocity_odd | |
| 85 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 86 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 87 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 88 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 89 | - (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 90 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 91 | - (k : ℝ) (hk : 4 ≤ k) | |
| 92 | - (Q : Budget period D.T_pos | |
| 93 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) | |
| 94 | - (t : Icc (0 : ℝ) D.T) : | |
| 95 | - -reflection period | |
| 96 | - ((initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 97 | - (initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 98 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 99 | - (initializedCorrectionParityData M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - eM hSym hF hDM hBH Cagree N hN k hk) t | |
| 101 | - | |
| 102 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 103 | -The original source data construct the budget and the exact corrected pair | |
| 104 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 105 | -theorem initialized_exact_lifted_packets_eventually | |
| 106 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 107 | - (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) | |
| 108 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 109 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 110 | - (Cagree : SourceCoefficientAgreement M D) | |
| 111 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 112 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 113 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 114 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 115 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 116 | - (Q : Budget period D.T_pos | |
| 117 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 118 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 119 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 121 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := initialized_correction_budgets_eventually M D hTime τ hτ hτT B | |
| 122 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 123 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 124 | - filter_upwards [he] with k hk | |
| 125 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 126 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 127 | - ⟨initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 128 | - | |
| 129 | 84 | end EulerPacketTerminalDatum |
+0 −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 −34 Euler/PacketInitializedHessianChoice.lean View file
| @@ -32,38 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | (hFb : ∀ n t x, |
| 33 | 33 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 34 | 34 | |
| 35 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 36 | -theorem initialized_correction_gradient_hessian_eventually (p : ℝ) : | |
| 37 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 38 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 39 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 40 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 41 | - (truncation k) hn k hk)), | |
| 42 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 43 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 44 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 45 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 46 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k^(-p) := by | |
| 47 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_physical_fields_eventually | |
| 48 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 49 | - Ξ Y hΞ hF hΞY hY hdet R CF hR hCF hFb 1 p | |
| 50 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 51 | - intro t x | |
| 52 | - rw [← hF t x] | |
| 53 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 54 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 55 | - filter_upwards [hQ] with k hQ | |
| 56 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 57 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 58 | - intro t x | |
| 59 | - have h := hbounds 1 le_rfl t x | |
| 60 | - constructor | |
| 61 | - · simpa only [norm_iteratedFDeriv_one] using h.1 | |
| 62 | - · have hkκ : k*(initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 63 | - (truncation k) hn k hk).κ=1 := by | |
| 64 | - change k*k⁻¹=1 | |
| 65 | - exact mul_inv_cancel₀ (by linarith) | |
| 66 | - rw [Q.physicalPotential_hessian_norm D period Ξ Y hX hΞY hY k hkκ t x] | |
| 67 | - exact h.2 | |
| 68 | - | |
| 69 | 35 | end EulerPacketTerminalDatum |
+0 −17 Euler/PacketInitializedInitial.lean View file
| @@ -70,23 +70,6 @@ theorem initializedInitial_common_support | ||
| 70 | 70 | initializedInitialMean_support M D hTime τ hτ hτT B δ hδ ξ hs α N k⟩ |
| 71 | 71 | exact Metric.closedBall_subset_closedBall (by have := M.ℓ_le_one; linarith) |
| 72 | 72 | |
| 73 | -include hTime in | |
| 74 | -theorem initializedInitialMean_zero (hL : M.L=0) (N : ℕ) (k : ℝ) : | |
| 75 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k = 0 := by | |
| 76 | - funext x | |
| 77 | - change M.ℓ • EulerPacketInitial.mean N k⁻¹ 0 | |
| 78 | - (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α) | |
| 79 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 | |
| 80 | - rw [EulerPacketInitial.mean_eq] | |
| 81 | - simp only [EulerPacketPointJets.fieldSum,EulerFiniteGrades.evaluate,EulerPacketInitial.timeSlice] | |
| 82 | - have hz (i : ℕ) := joinedSource_mean_initial_zero period M D hTime τ hτ hτT B | |
| 83 | - (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 84 | - (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 85 | - rfl hL i (M.ℓ⁻¹ • x) (k*inner ℝ D.m₀ (M.ℓ⁻¹ • x)) | |
| 86 | - simp only [show ∀ i, (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α i).mean | |
| 87 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 from hz, | |
| 88 | - smul_zero,Finset.sum_const_zero] | |
| 89 | - | |
| 90 | 73 | variable |
| 91 | 74 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 92 | 75 | (H : EulerTransversePacketPrimary.Budget L) |
+0 −9 Euler/PacketInitializedInitialExact.lean View file
| @@ -50,15 +50,6 @@ theorem initializedInitialMean_memLp (N n : ℕ) (k : ℝ) : | ||
| 50 | 50 | exact scale_jet_memLp M.ℓ M.ℓ_pos _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) n |
| 51 | 51 | (G.raw_graph_tensor_memLp ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀ n) |
| 52 | 52 | |
| 53 | -include hTime in | |
| 54 | -theorem initializedInitial_compact | |
| 55 | - (hS : D.support ⊆ Metric.closedBall 0 (1/2 : ℝ)) (N : ℕ) (k : ℝ) : | |
| 56 | - HasCompactSupport (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k) ∧ | |
| 57 | - HasCompactSupport (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k) := by | |
| 58 | - have h := initializedInitial_common_support M D hTime τ hτ hτT B δ hδ ξ hs α hS N k | |
| 59 | - exact ⟨(isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.1, | |
| 60 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.2⟩ | |
| 61 | - | |
| 62 | 53 | variable (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 63 | 54 | (Q : Budget period D.T_pos |
| 64 | 55 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) |
+0 −2 Euler/PacketInitializedOutputCosts.lean View file
| @@ -26,8 +26,6 @@ def polynomial : Polynomial ℝ := 1+ | ||
| 26 | 26 | def uniformConstant : ℝ := coefficientCost polynomial |
| 27 | 27 | def uniformPower : ℕ := polynomial.natDegree |
| 28 | 28 | |
| 29 | -theorem uniformConstant_pos : 0 < uniformConstant := coefficientCost_pos _ | |
| 30 | - | |
| 31 | 29 | theorem polynomial_eval (W : ℝ) : polynomial.eval W=envelope W := by |
| 32 | 30 | unfold polynomial envelope EulerPacketInitializedCost.envelope |
| 33 | 31 | simp only [Polynomial.eval_add,Polynomial.eval_one,Polynomial.eval_mul, |
+0 −50 Euler/PacketInitializedPhysicalChoice.lean View file
| @@ -36,54 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | (hFb : ∀ n t x, |
| 37 | 37 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 38 | 38 | |
| 39 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 40 | -theorem initialized_correction_physical_derivatives_eventually (N : ℕ) (p : ℝ) : | |
| 41 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 42 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 43 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 44 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 45 | - (truncation k) hn k hk)), | |
| 46 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 47 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 48 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 49 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 50 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 51 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 52 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 53 | - let Ctop := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 54 | - have hCtop : 0 ≤ Ctop := | |
| 55 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 56 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 57 | - intro t x | |
| 58 | - rw [← hF t x] | |
| 59 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 60 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 61 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 62 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 63 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 64 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 65 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 66 | - intro n hnN t x | |
| 67 | - have hk1 : 1 ≤ k := by linarith | |
| 68 | - have hk0 : 0 ≤ k := by linarith | |
| 69 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 70 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 71 | - exact inv_le_one_of_one_le₀ hk1 | |
| 72 | - have he := physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 73 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 74 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 75 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x | |
| 76 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 77 | - exact single_le_sum | |
| 78 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 79 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 80 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 81 | - have hupper : physicalFixedCost D R CF (4/ρ0) n*(Cpt*delta (expansion k))*k^n ≤ | |
| 82 | - Ctop*(Cpt*delta (expansion k))*k^N := | |
| 83 | - mul_le_mul (mul_le_mul_of_nonneg_right hcn (by positivity)) | |
| 84 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 85 | - have hsmall : Ctop*(Cpt*delta (expansion k))*k^N < k^(-p) := by | |
| 86 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 87 | - exact he.trans_lt (hupper.trans_lt hsmall) | |
| 88 | - | |
| 89 | 39 | end EulerPacketTerminalDatum |
+0 −64 Euler/PacketInitializedPhysicalFieldsChoice.lean View file
| @@ -35,68 +35,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 35 | 35 | (hFb : ∀ n t x, |
| 36 | 36 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 37 | 37 | |
| 38 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 39 | -theorem initialized_correction_physical_fields_eventually (N : ℕ) (p : ℝ) : | |
| 40 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 48 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 49 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • (D.FInv.field t (Y t y)).adjoint | |
| 50 | - (Q.pointPressure period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 51 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 54 | - let Csum := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 55 | - let Ctop := (1+9*CF)*Csum | |
| 56 | - have hCsum : 0 ≤ Csum := | |
| 57 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 58 | - have hCtop : 0 ≤ Ctop := by dsimp [Ctop]; positivity | |
| 59 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 60 | - intro t x | |
| 61 | - rw [← hF t x] | |
| 62 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 63 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 64 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 65 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 66 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 67 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 68 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 69 | - intro n hnN t x | |
| 70 | - have hk1 : 1 ≤ k := by linarith | |
| 71 | - have hk0 : 0 ≤ k := by linarith | |
| 72 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 73 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 74 | - exact inv_le_one_of_one_le₀ hk1 | |
| 75 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Csum := by | |
| 76 | - exact single_le_sum | |
| 77 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 78 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 79 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 80 | - have hcv : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := hcn.trans (by dsimp [Ctop]; nlinarith) | |
| 81 | - have hcp : 9*CF*physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 82 | - apply (mul_le_mul_of_nonneg_left hcn (by positivity : 0 ≤ 9*CF)).trans | |
| 83 | - dsimp [Ctop] | |
| 84 | - nlinarith | |
| 85 | - have absorb (v c : ℝ) (hc : c ≤ Ctop) | |
| 86 | - (hv : v ≤ c*(Cpt*delta (expansion k))*k^n) : v < k^(-p) := by | |
| 87 | - have hu : c*(Cpt*delta (expansion k))*k^n ≤ Ctop*(Cpt*delta (expansion k))*k^N := | |
| 88 | - mul_le_mul (mul_le_mul_of_nonneg_right hc (by positivity)) | |
| 89 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 90 | - apply hv.trans_lt (hu.trans_lt _) | |
| 91 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 92 | - constructor | |
| 93 | - · exact absorb _ _ hcv (physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 94 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 95 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 96 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x) | |
| 97 | - · exact absorb _ _ hcp (physicalPressureForce_power_bound D period k⁻¹ k (Q.pointPressure period) | |
| 98 | - (Q.pointPressure_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 99 | - hR hCF (by positivity) hS hdet hFb (fun j s y => (hbounds j s y).2.1) | |
| 100 | - Ξ Y hX hYd hΞY hk1 hκ n t x) | |
| 101 | - | |
| 102 | 38 | end EulerPacketTerminalDatum |
+0 −86 Euler/PacketInitializedPointwiseChoice.lean View file
| @@ -31,90 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- The actual weighted correction estimates imply literal pointwise | |
| 35 | -mixed-word Gevrey estimates, uniformly in time, order and position. | |
| 36 | -The radius 4/ρ0 and amplitude constant depend only on the fixed source data. -/ | |
| 37 | -theorem initialized_correction_pointwise_eventually : | |
| 38 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 44 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 45 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) ≤ | |
| 46 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 47 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) ≤ | |
| 48 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 49 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) ≤ | |
| 50 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 51 | - obtain ⟨ρ0,G,C,hρ,hG,hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - let Cpt := 1+sobolevEmbeddingConstant period 3*C | |
| 54 | - have hS := sobolevEmbeddingConstant_nonneg period 3 | |
| 55 | - have hCpt : 0 < Cpt := by dsimp [Cpt]; positivity | |
| 56 | - refine ⟨ρ0,G,Cpt,hρ,hG,hCpt,?_⟩ | |
| 57 | - filter_upwards [hQ] with k hQ | |
| 58 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 59 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 60 | - intro n t x | |
| 61 | - have hr : 0 < ρ0/4 := by positivity | |
| 62 | - have hInv : (ρ0/4)⁻¹=4/ρ0 := inv_div _ _ | |
| 63 | - have hbound (F : FieldTower period D.T) | |
| 64 | - (hF : weightedNorm period 6 n (ρ0/4) (F.realization (n+6) t) ≤ C*delta (expansion k)) : | |
| 65 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (F.pointField t) x‖) ≤ | |
| 66 | - Cpt*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 67 | - have h := F.pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 68 | - (ρ0/4) (C*delta (expansion k)) hr t hF x | |
| 69 | - rw [hInv] at h | |
| 70 | - have hAmp : sobolevEmbeddingConstant period 3*C ≤ Cpt := by dsimp [Cpt]; linarith | |
| 71 | - have hscale := mul_le_mul_of_nonneg_right hAmp (delta_pos (expansion k)).le | |
| 72 | - have hp := mul_le_mul_of_nonneg_right hscale (pow_nonneg (by positivity : 0 ≤ 4/ρ0) n) | |
| 73 | - have hf := mul_le_mul_of_nonneg_right hp (sq_nonneg (n.factorial : ℝ)) | |
| 74 | - apply h.trans | |
| 75 | - simpa only [mul_assoc] using hf | |
| 76 | - have he := hbound (Q.fieldTower period) (hbounds (n+6) n (by omega) t).1 | |
| 77 | - have hp := hbound (Q.pressureTower period) (hbounds (n+6) n (by omega) t).2.1 | |
| 78 | - have ht := hbound (Q.timeDerivativeTower period) (hbounds (n+6) n (by omega) t).2.2 | |
| 79 | - simpa only [Q.correctionTower_pointField period t,Q.pressureTower_pointField period t, | |
| 80 | - Q.timeDerivativeTower_pointField period t] using And.intro he (And.intro hp ht) | |
| 81 | - | |
| 82 | -/-- Even after any fixed physical polynomial loss, the whole actual | |
| 83 | -pointwise mixed-derivative Gevrey envelope is smaller than a prescribed | |
| 84 | -inverse power of the frequency. -/ | |
| 85 | -theorem initialized_correction_pointwise_power_loss_eventually | |
| 86 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 87 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 88 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 89 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 90 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 91 | - (truncation k) hn k hk)), | |
| 92 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 93 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 94 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 95 | - ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) < | |
| 96 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 97 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 98 | - ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) < | |
| 99 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 100 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 101 | - ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) < | |
| 102 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 103 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_pointwise_eventually | |
| 104 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 105 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 106 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 107 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 108 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 109 | - intro n t x | |
| 110 | - have hscale : 0 ≤ physicalCost*k^loss := | |
| 111 | - mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 112 | - have hword : 0 < (4/ρ0)^n*(n.factorial : ℝ)^2 := by positivity | |
| 113 | - have hm := mul_lt_mul_of_pos_right hkbound hword | |
| 114 | - have hbound (X : ℝ) (hX : X ≤ C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2) : | |
| 115 | - physicalCost*k^loss*X < k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 116 | - apply (mul_le_mul_of_nonneg_left hX hscale).trans_lt | |
| 117 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 118 | - exact ⟨hbound _ (hbounds n t x).1,hbound _ (hbounds n t x).2.1,hbound _ (hbounds n t x).2.2⟩ | |
| 119 | - | |
| 120 | 34 | end EulerPacketTerminalDatum |
+0 −5 Euler/PacketInitializedRadiusPolynomial.lean View file
| @@ -619,9 +619,4 @@ theorem initializedRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 619 | 619 | unfold radiusEnvelope |
| 620 | 620 | nlinarith only [hW0,hreq0,hmean0,hgrade0] |
| 621 | 621 | |
| 622 | -theorem initializedRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 623 | - (H : RadiusPrimitives LM L NB BC δ ξ W) : | |
| 624 | - initializedRadius LM L NB BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 625 | - (initializedRadius_le_envelope LM L NB BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 626 | - | |
| 627 | 622 | end EulerPacketRadiusPolynomial |
+0 −66 Euler/PacketInitializedRemainder.lean View file
| @@ -51,40 +51,6 @@ def initializedPrimaryRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : | ||
| 51 | 51 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) κ).changeTime hTime).congr |
| 52 | 52 | (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 53 | 53 | |
| 54 | -include hTime in | |
| 55 | -/-- The exact derivative split, with the primary's genuine canonical | |
| 56 | -velocity and transported normal. -/ | |
| 57 | -theorem initializedVelocity_gradient_split (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 62 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) = | |
| 63 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) + | |
| 64 | - fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 65 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 66 | - let V := vectorField τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 67 | - have hp := ((V.smul k⁻¹).raw_graph_contDiff t k D.m₀).differentiable (by simp) | |
| 68 | - have hr := ((initializedPrimaryRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α N hN k⁻¹).raw_graph_contDiff | |
| 69 | - t k D.m₀).differentiable (by simp) | |
| 70 | - have hp' : DifferentiableAt ℝ (fun y => k⁻¹ • vector τ hτ hτT B | |
| 71 | - (initialData D δ hδ (α • ξ) hs) (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 72 | - simpa only [Function.comp_def,Pi.smul_apply] using (hp (Y (X 0))).comp (X 0) hY | |
| 73 | - have hr' : DifferentiableAt ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 74 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 75 | - simpa only [Function.comp_def] using (hr (Y (X 0))).comp (X 0) hY | |
| 76 | - have he : (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 77 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) = | |
| 78 | - (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 79 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) + | |
| 80 | - (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 81 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) := by | |
| 82 | - funext y | |
| 83 | - dsimp only [initializedPrimaryRemainder,Pi.add_apply,Pi.sub_apply,Pi.smul_apply] | |
| 84 | - abel | |
| 85 | - rw [he,fderiv_add hp' hr', | |
| 86 | - scaled_terminal_physical_gradient τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft] | |
| 87 | - | |
| 88 | 54 | variable |
| 89 | 55 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 90 | 56 | (H : EulerTransversePacketPrimary.Budget L) |
| @@ -114,16 +80,6 @@ theorem initializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk | ||
| 114 | 80 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) hN BC k hk hbase |
| 115 | 81 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 116 | 82 | |
| 117 | -theorem initializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 118 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 119 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 120 | - ‖initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 121 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 122 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 123 | - (initializedPrimaryRemainder_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 124 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 125 | - (by norm_num) t k D.m₀ (Y x) | |
| 126 | - | |
| 127 | 83 | theorem initializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 128 | 84 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 129 | 85 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| @@ -168,26 +124,4 @@ theorem initializedPrimaryRemainder_physical_fderiv_inv (N : ℕ) (hN : 1 ≤ N) | ||
| 168 | 124 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hf hb) (norm_nonneg _) |
| 169 | 125 | _ = _ := by unfold initializedRemainderDerivativeCost; field_simp; ring |
| 170 | 126 | |
| 171 | -/-- The finite packet's actual center gradient differs from its exact | |
| 172 | -primary shear by O(1/k), with the genuine inverse frame norm. -/ | |
| 173 | -theorem initializedVelocity_gradient_error (N : ℕ) (hN : 1 ≤ N) | |
| 174 | - (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 175 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 176 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 177 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 178 | - ‖fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 179 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) - | |
| 180 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 181 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ := by | |
| 182 | - have hk0 : k ≠ 0 := by linarith | |
| 183 | - rw [initializedVelocity_gradient_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 184 | - N hN k hk0 t X Y hX hY hleft,add_sub_cancel_left] | |
| 185 | - have he : Y ∘ X = id := funext hleft | |
| 186 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 187 | - rw [he,fderiv_id,id_comp] at hdY | |
| 188 | - have h := initializedPrimaryRemainder_physical_fderiv_inv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 189 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y (X 0) hY | |
| 190 | - rw [hdY] at h | |
| 191 | - exact h | |
| 192 | - | |
| 193 | 127 | end EulerPacketTerminalDatum |
+0 −11 Euler/PacketInitializedUniformBudget.lean View file
| @@ -60,15 +60,4 @@ def initializedUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_po | ||
| 60 | 60 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 61 | 61 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 62 | 62 | |
| 63 | -theorem initializedUniformBudget_delta : | |
| 64 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 65 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 66 | - | |
| 67 | -theorem initializedUniformBudget_initialRadius : | |
| 68 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 69 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 70 | - initialRadius | |
| 71 | - (initializedRadius LM L NB (joinedCoefficientBudget period M D hTime τ hτ hτT B NB) δ ξ) | |
| 72 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 73 | - | |
| 74 | 63 | end EulerPacketTerminalDatum |
+0 −52 Euler/PacketJetAssembly.lean View file
| @@ -11,58 +11,6 @@ open EulerFiniteGrades Finset | ||
| 11 | 11 | |
| 12 | 12 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | 13 | |
| 14 | -theorem jet_zero (z : Domain) : jet (fun _ : Domain => (0 : E)) z = 0 := by | |
| 15 | - simp [jet] | |
| 16 | - | |
| 17 | -theorem jet_add (f g : Domain → E) (z : Domain) | |
| 18 | - (hf : DifferentiableAt ℝ f z) (hg : DifferentiableAt ℝ g z) : | |
| 19 | - jet (f+g) z = jet f z+jet g z := by | |
| 20 | - simp only [jet, Pi.add_apply, fderiv_add hf hg, Prod.mk_add_mk] | |
| 21 | - | |
| 22 | -theorem jet_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 23 | - jet (truncate N u n) z = truncate N (fun i => jet (u i) z) n := by | |
| 24 | - by_cases hn : n ≤ N | |
| 25 | - · simp only [truncate_of_le N n _ hn] | |
| 26 | - · simp only [truncate_of_gt N n _ (by omega), Pi.zero_def] | |
| 27 | - exact jet_zero z | |
| 28 | - | |
| 29 | -theorem jet_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 30 | - jet (shiftUp N u n) z = shiftUp N (fun i => jet (u i) z) n := by | |
| 31 | - cases n with | |
| 32 | - | zero => exact jet_zero z | |
| 33 | - | succ n => exact jet_truncate N n u z | |
| 34 | - | |
| 35 | -theorem differentiableAt_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 36 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 37 | - DifferentiableAt ℝ (truncate N u n) z := by | |
| 38 | - by_cases hn : n ≤ N | |
| 39 | - · simpa only [truncate_of_le N n _ hn] using hu n hn | |
| 40 | - · simpa only [truncate_of_gt N n _ (by omega), Pi.zero_def] using | |
| 41 | - (differentiableAt_const (c := (0 : E))) | |
| 42 | - | |
| 43 | -theorem differentiableAt_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 44 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 45 | - DifferentiableAt ℝ (shiftUp N u n) z := by | |
| 46 | - cases n with | |
| 47 | - | zero => exact differentiableAt_const (c := (0 : E)) | |
| 48 | - | succ n => exact differentiableAt_truncate N n u z hu | |
| 49 | - | |
| 50 | -theorem jet_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 53 | - jet (assemble N u c n) z = | |
| 54 | - assemble N (fun i => jet (u i) z) (fun i => jet (c i) z) n := by | |
| 55 | - change jet (truncate N u n+shiftUp N c n) z = _ | |
| 56 | - rw [jet_add _ _ z (differentiableAt_truncate N n u z hu) | |
| 57 | - (differentiableAt_shiftUp N n c z hc), jet_truncate, jet_shiftUp] | |
| 58 | - rfl | |
| 59 | - | |
| 60 | -theorem differentiableAt_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 61 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 62 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 63 | - DifferentiableAt ℝ (assemble N u c n) z := | |
| 64 | - (differentiableAt_truncate N n u z hu).add (differentiableAt_shiftUp N n c z hc) | |
| 65 | - | |
| 66 | 14 | /-- The extra degree N+1 is precisely the final divergence corrector in (13). -/ |
| 67 | 15 | theorem fieldSum_assemble_from_one (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) |
| 68 | 16 | (hu : u 0=0) (hc : c 0=0) (z : Domain) : |
+0 −25 Euler/PacketJoinedGradeBounds.lean View file
| @@ -147,29 +147,4 @@ theorem grade_bounds : | ||
| 147 | 147 | · exact (hπ.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 148 | 148 | L.radius_bounds.1 (mul_nonneg (by norm_num) (L.pressureAmplitude_nonneg N)) W.pressureGradient hroom.2 |
| 149 | 149 | |
| 150 | -theorem vector_grade_bound : | |
| 151 | - ((vectorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 152 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 153 | - (L.grade_bounds N W G F c hc p hp hforce).1 | |
| 154 | - | |
| 155 | -theorem derivative_grade_bound : | |
| 156 | - ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 157 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 158 | - (L.grade_bounds N W G F c hc p hp hforce).2.1 | |
| 159 | - | |
| 160 | -theorem corrector_grade_bound : | |
| 161 | - ((correctorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 162 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 163 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.1 | |
| 164 | - | |
| 165 | -theorem corrector_derivative_grade_bound : | |
| 166 | - ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 167 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 168 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.1 | |
| 169 | - | |
| 170 | -theorem pressure_gradient_grade_bound : | |
| 171 | - ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 172 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 173 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.2 | |
| 174 | - | |
| 175 | 150 | end EulerTransversePacketJoin.Budget |
+0 −15 Euler/PacketJoinedResidualFields.lean View file
| @@ -24,21 +24,6 @@ def joinedTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 24 | 24 | (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) |
| 25 | 25 | (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn |
| 26 | 26 | |
| 27 | -def joinedLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 28 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 29 | - ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame z) | |
| 30 | - ((joinedSourceOperators P M D τ hτ hτT B).strain z) | |
| 31 | - ((joinedSourceOperators P M D τ hτ hτT B).normal z) | |
| 32 | - (assembledVelocity N (joinedSourceProfiles P M D τ hτ hτT B primary)) | |
| 33 | - (assembledPressure N (joinedSourceProfiles P M D τ hτ hτT B primary)) z n) := | |
| 34 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 35 | - (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) | |
| 36 | - (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn | |
| 37 | - | |
| 38 | -theorem joinedLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 39 | - (joinedLiteralTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path = | |
| 40 | - (joinedTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path := rfl | |
| 41 | - | |
| 42 | 27 | def joinedTailSumField (N : ℕ) (κ : ℝ) : |
| 43 | 28 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 44 | 29 | recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
+0 −6 Euler/PacketJoinedSuccessor.lean View file
| @@ -180,12 +180,6 @@ def joinedNext : Stage S (n+1) := by | ||
| 180 | 180 | |
| 181 | 181 | theorem joinedNext_time : (P.joinedNext hn hq hB).time=P.nextTime := rfl |
| 182 | 182 | |
| 183 | -theorem joinedNext_initial_increment : | |
| 184 | - (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)- | |
| 185 | - P.state.evolution.velocity (0,x)) = (I).high k+(I).mean k := | |
| 186 | - GeometryJoinedChoice.initial_increment_eq I P.restrictedState k hk ell | |
| 187 | - (S.support_pos (n+1)) (S.support_one (n+1)) F symmetric | |
| 188 | - | |
| 189 | 183 | theorem joinedNext_initial_velocity : |
| 190 | 184 | (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)) = |
| 191 | 185 | (fun x => P.state.evolution.velocity (0,x))+((I).high k+(I).mean k) := |
+0 −24 Euler/PacketKnownGrade.lean View file
| @@ -20,28 +20,4 @@ theorem history_congr (p : ℕ) (u v : ℕ → VectorJet) (c : VectorJet) | ||
| 20 | 20 | · simp only [history, hi, ite_true, huv i hi] |
| 21 | 21 | · simp only [history, hi, ite_false] |
| 22 | 22 | |
| 23 | -/-- The only new nonlinear term is the mean coefficient against the primary angular derivative. -/ | |
| 24 | -theorem nonlinearGrade_eq_history (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 25 | - (FInv : Space →L[ℝ] Space) (m : Space) (u : ℕ → VectorJet) | |
| 26 | - (A B c : VectorJet) (hu0 : u 0=0) (hnew : u p=c+(A+B)) | |
| 27 | - (hprimary : ⟪m,(u 1).1⟫_ℝ=0) (hA : ⟪m,A.1⟫_ℝ=0) : | |
| 28 | - nonlinearGrade M p FInv m u = nonlinearGrade M p FInv m (history p u c)+ | |
| 29 | - fastAdvection m B (u 1) := by | |
| 30 | - have h0 : history p u c 0=0 := by simp [history, show 0<p by omega, hu0] | |
| 31 | - have h1 : history p u c 1=u 1 := by simp [history, show 1<p by omega] | |
| 32 | - have hsame : ∀ i<p, u i=history p u c i := by | |
| 33 | - intro i hi | |
| 34 | - simp [history, hi] | |
| 35 | - have hnew' : u p=history p u c p+(A+B) := by simpa [history] using hnew | |
| 36 | - simpa only [h1] using nonlinearGrade_update M p hp hMp FInv m (history p u c) u A B | |
| 37 | - h0 hsame hnew' (by simpa only [h1] using hprimary) hA | |
| 38 | - | |
| 39 | -/-- The unknown mean-primary interaction has exactly zero angular mean. -/ | |
| 40 | -theorem mean_primary_interaction_zero (P : ℝ) (m B : Space) (A Aθ : ℝ → Space) | |
| 41 | - (hA : ∀ θ, HasDerivAt A (Aθ θ) θ) (hAθ : Continuous Aθ) | |
| 42 | - (hper : Function.Periodic A P) : | |
| 43 | - (∫ θ in 0..P, ⟪m,B⟫_ℝ • Aθ θ)=0 := | |
| 44 | - EulerPeriodicDerivativeMean.integral_constant_smul_derivative_eq_zero P ⟪m,B⟫_ℝ | |
| 45 | - A Aθ hA hAθ hper | |
| 46 | - | |
| 47 | 23 | end EulerPacketPointJets |
+0 −5 Euler/PacketKnownPieceScales.lean View file
| @@ -65,11 +65,6 @@ theorem slow_shift_room (k l : KnownPiece) (i j p : ℕ) | ||
| 65 | 65 | have hs := slow_high_high_room i j p hi hj hij |
| 66 | 66 | omega |
| 67 | 67 | |
| 68 | -theorem slow_shift_room_high (k l : KnownPiece) (i j p : ℕ) | |
| 69 | - (hi : 1 ≤ i) (hj : 1 ≤ j) (hij : i+j=p) : | |
| 70 | - k.shift i+l.shift j+1 < highForceShift p := | |
| 71 | - lt_of_lt_of_le (slow_shift_room k l i j p hi hj hij) (mean_force_le_high_force p) | |
| 72 | - | |
| 73 | 68 | theorem fast_mean_shift_room (l : KnownPiece) (i j p : ℕ) |
| 74 | 69 | (hi : 2 ≤ i) (hj : 1 ≤ j) (hij : i+j=p+1) : |
| 75 | 70 | KnownPiece.mean.shift i+l.shift j+1 < highForceShift p := by |
+0 −9 Euler/PacketKnownPieces.lean View file
| @@ -32,11 +32,6 @@ def active (k : KnownPiece) (p i : ℕ) : Prop := | ||
| 32 | 32 | instance (k : KnownPiece) (p i : ℕ) : Decidable (k.active p i) := by |
| 33 | 33 | cases k <;> unfold active <;> infer_instance |
| 34 | 34 | |
| 35 | -def profileIndex (k : KnownPiece) (i : ℕ) : ℕ := | |
| 36 | - match k with | |
| 37 | - | .high | .mean => i | |
| 38 | - | .corrector => i-1 | |
| 39 | - | |
| 40 | 35 | def raw (k : KnownPiece) (p : ℕ) (a : ℕ → Profile) (i : ℕ) : VectorField := |
| 41 | 36 | if k.active p i then |
| 42 | 37 | match k with |
| @@ -54,10 +49,6 @@ theorem jet_zero_of_inactive (k : KnownPiece) (O : Operators) (p : ℕ) | ||
| 54 | 49 | k.jet O p a z i = 0 := by |
| 55 | 50 | simp only [jet, raw, hi, ite_false, slicedJet_zero'] |
| 56 | 51 | |
| 57 | -theorem active_profile_lt (k : KnownPiece) (p i : ℕ) (hi : k.active p i) : | |
| 58 | - k.profileIndex i < p := by | |
| 59 | - cases k <;> simp only [active, profileIndex] at * <;> omega | |
| 60 | - | |
| 61 | 52 | end KnownPiece |
| 62 | 53 | |
| 63 | 54 | theorem knownJets_eq_pieces (O : Operators) (p : ℕ) (hp : 2 ≤ p) |
+0 −44 Euler/PacketKnownTermSums.lean View file
| @@ -98,48 +98,4 @@ theorem PrefixFields.highForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) ( | ||
| 98 | 98 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB, he] |
| 99 | 99 | abel |
| 100 | 100 | |
| 101 | -include hc hB₁ hA hB in | |
| 102 | -theorem PrefixFields.knownForce_term_path : | |
| 103 | - (F.knownForce C (by omega) hT Ct hCt pressure).path = | |
| 104 | - -(∑ q ∈ knownTermIndices p, (F.termField C (by omega) hT Ct hCt pressure | |
| 105 | - q.1 q.2.1 q.2.2).path) := by | |
| 106 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 107 | - (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 108 | - change (F.knownForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 109 | - apply Field.path_eq_of_raw_eq | |
| 110 | - intro t x θ | |
| 111 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 112 | - (F.knownForce_decomposition hp hc hB₁ hA hB t x θ).symm | |
| 113 | - | |
| 114 | -include hc hB₁ hA hB in | |
| 115 | -theorem PrefixFields.meanForce_term_path : | |
| 116 | - (F.meanForce C (by omega) hT Ct hCt pressure).path = | |
| 117 | - -(∑ q ∈ knownTermIndices p, (F.meanTermField C (by omega) hT Ct hCt pressure | |
| 118 | - q.1 q.2.1 q.2.2).path) := by | |
| 119 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 120 | - (fun q => F.meanTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 121 | - change (F.meanForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 122 | - apply Field.path_eq_of_raw_eq | |
| 123 | - intro t x θ | |
| 124 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 125 | - (F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 126 | - | |
| 127 | -include hc hB₁ hA hB in | |
| 128 | -theorem PrefixFields.highForce_term_path (newMean : Field P T (meanResult O p a).1) : | |
| 129 | - (F.highForce C hp hT Ct hCt pressure newMean).path = | |
| 130 | - -(∑ q ∈ knownTermIndices p, (F.highTermField C (by omega) hT Ct hCt pressure | |
| 131 | - q.1 q.2.1 q.2.2).path) - | |
| 132 | - (SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 133 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega)))).path := by | |
| 134 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 135 | - (fun q => F.highTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 136 | - let A := SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 137 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega))) | |
| 138 | - rw [sub_eq_add_neg] | |
| 139 | - change (F.highForce C hp hT Ct hCt pressure newMean).path = (G.neg.sub A).path | |
| 140 | - apply Field.path_eq_of_raw_eq | |
| 141 | - intro t x θ | |
| 142 | - simpa only [Pi.sub_apply, Pi.neg_apply, Finset.sum_apply] using | |
| 143 | - (F.highForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 144 | - | |
| 145 | 101 | end EulerPacketCylinderField |
+0 −66 Euler/PacketLiftedCurl.lean View file
| @@ -79,72 +79,6 @@ theorem liftedCurl_eq_tests (κ : ℝ) (m : Vector3) (Q : LiftDomain period → | ||
| 79 | 79 | fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1) x |
| 80 | 80 | ring |
| 81 | 81 | |
| 82 | -theorem liftedCurl_smooth (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 83 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 84 | - ContDiff ℝ ∞ (localFieldLift period (liftedCurl period κ m Q) x) := by | |
| 85 | - rw [liftedCurl_eq_tests period κ m Q hQ] | |
| 86 | - exact ((curlTest_smooth period κ m 0 1 _ (component_smooth period Q hQ 2) x).add | |
| 87 | - (curlTest_smooth period κ m 1 2 _ (component_smooth period Q hQ 0) x)).add | |
| 88 | - (curlTest_smooth period κ m 2 0 _ (component_smooth period Q hQ 1) x) | |
| 89 | - | |
| 90 | -theorem scalar_fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → ℝ) | |
| 91 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 92 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (x : LiftDomain period) : | |
| 93 | - fieldDerivative period a (fun y => f y - g y) x = | |
| 94 | - fieldDerivative period a f x - fieldDerivative period a g x := by | |
| 95 | - change (fderiv ℝ (fun z => localFieldLift period f x z - localFieldLift period g x z) 0) a = _ | |
| 96 | - rw [fderiv_fun_sub (((hf x).differentiable (by simp)) 0) | |
| 97 | - (((hg x).differentiable (by simp)) 0)] | |
| 98 | - rfl | |
| 99 | - | |
| 100 | -theorem fieldDerivative_liftedCurl_component (κ : ℝ) (m : Vector3) | |
| 101 | - (Q : LiftDomain period → Vector3) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 102 | - (a : LiftTangent) (x : LiftDomain period) (i : Fin 3) : | |
| 103 | - (fieldDerivative period a (liftedCurl period κ m Q) x) i = | |
| 104 | - fieldDerivative period a | |
| 105 | - (fieldDerivative period (coordinateDirection κ m (i + 1)) (fun y => Q y (i + 2))) x - | |
| 106 | - fieldDerivative period a | |
| 107 | - (fieldDerivative period (coordinateDirection κ m (i + 2)) (fun y => Q y (i + 1))) x := by | |
| 108 | - change (EuclideanSpace.proj i) (fieldDerivative period a (liftedCurl period κ m Q) x) = _ | |
| 109 | - rw [← fieldDerivative_linear period (EuclideanSpace.proj i) (liftedCurl period κ m Q) | |
| 110 | - (liftedCurl_smooth period κ m Q hQ) a x] | |
| 111 | - have he : (fun y => (EuclideanSpace.proj i) (liftedCurl period κ m Q y)) = | |
| 112 | - fun y => fieldDerivative period (coordinateDirection κ m (i + 1)) (fun z => Q z (i + 2)) y - | |
| 113 | - fieldDerivative period (coordinateDirection κ m (i + 2)) (fun z => Q z (i + 1)) y := | |
| 114 | - funext fun y => liftedCurl_component_scalar period κ m Q hQ y i | |
| 115 | - rw [he] | |
| 116 | - exact scalar_fieldDerivative_sub period a _ _ | |
| 117 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 2))) | |
| 118 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 1))) x | |
| 119 | - | |
| 120 | -/-- The constant lifted divergence of an actual lifted curl vanishes pointwise. -/ | |
| 121 | -theorem lifted_divergence_curl (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 122 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 123 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 124 | - (liftedCurl period κ m Q) x) i) = 0 := by | |
| 125 | - simp only [fieldDerivative_liftedCurl_component period κ m Q hQ, Fin.sum_univ_three] | |
| 126 | - have h01 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 127 | - (coordinateDirection κ m 1) (fun y => Q y 2) (component_smooth period Q hQ 2) x | |
| 128 | - have h02 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 129 | - (coordinateDirection κ m 2) (fun y => Q y 1) (component_smooth period Q hQ 1) x | |
| 130 | - have h12 := fieldDerivatives_commute period (coordinateDirection κ m 1) | |
| 131 | - (coordinateDirection κ m 2) (fun y => Q y 0) (component_smooth period Q hQ 0) x | |
| 132 | - change | |
| 133 | - (fieldDerivative period (coordinateDirection κ m 0) | |
| 134 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 2)) x - | |
| 135 | - fieldDerivative period (coordinateDirection κ m 0) | |
| 136 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 1)) x) + | |
| 137 | - (fieldDerivative period (coordinateDirection κ m 1) | |
| 138 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 0)) x - | |
| 139 | - fieldDerivative period (coordinateDirection κ m 1) | |
| 140 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 2)) x) + | |
| 141 | - (fieldDerivative period (coordinateDirection κ m 2) | |
| 142 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1)) x - | |
| 143 | - fieldDerivative period (coordinateDirection κ m 2) | |
| 144 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 0)) x) = 0 | |
| 145 | - rw [h01, h02, h12] | |
| 146 | - ring | |
| 147 | - | |
| 148 | 82 | theorem component_compact (Q : LiftDomain period → Vector3) (hQ : HasCompactSupport Q) |
| 149 | 83 | (i : Fin 3) : HasCompactSupport (fun x => Q x i) := |
| 150 | 84 | hQ.of_isClosed_subset (isClosed_tsupport _) |
+0 −28 Euler/PacketLiftedPiola.lean View file
| @@ -143,21 +143,6 @@ theorem liftedPullbackCovector_compact (Ξ : Space → Space) | ||
| 143 | 143 | simp only [Function.mem_support, not_not] at hx ⊢ |
| 144 | 144 | simp only [liftedPullbackCovector, hx, map_zero] |
| 145 | 145 | |
| 146 | -/-- Actual pointwise lifted divergence vanishes for the transformed packet curl. -/ | |
| 147 | -theorem lifted_divergence_piola_curl (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 148 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 149 | - (F : Space → Space ≃L[ℝ] Space) | |
| 150 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 151 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) | |
| 152 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 153 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 154 | - (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) x) i) = 0 := by | |
| 155 | - have he : (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) = | |
| 156 | - liftedCurl period κ m (liftedPullbackCovector period Ξ Q) := | |
| 157 | - funext fun y => lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ y | |
| 158 | - rw [he] | |
| 159 | - exact lifted_divergence_curl period κ m _ (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) x | |
| 160 | - | |
| 161 | 146 | variable [Fact (0 < period)] |
| 162 | 147 | |
| 163 | 148 | /-- A genuine Bochner L² realization of the pulled-back packet curl. -/ |
| @@ -169,19 +154,6 @@ def piolaLiftedCurlLp (κ : ℝ) (m : Space) (Ξ : Space → Space) | ||
| 169 | 154 | (liftedPullbackCovector_compact period Ξ Q hc) |
| 170 | 155 | (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) |
| 171 | 156 | |
| 172 | -theorem piolaLiftedCurlLp_ae (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 173 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 174 | - (hc : HasCompactSupport Q) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 175 | - (F : Space → Space ≃L[ℝ] Space) | |
| 176 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 177 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) : | |
| 178 | - (piolaLiftedCurlLp period κ m Ξ Q hΞ hc hQ : LiftDomain period → Space) =ᵐ[liftMeasure period] | |
| 179 | - (fun x => (F x.1).symm (transformedLiftedCurl period κ m F Q x)) := by | |
| 180 | - filter_upwards [liftedCurlLp_ae period κ m (liftedPullbackCovector period Ξ Q) | |
| 181 | - (liftedPullbackCovector_compact period Ξ Q hc) | |
| 182 | - (liftedPullbackCovector_smooth period Ξ Q hΞ hQ)] with x hx | |
| 183 | - exact hx.trans (lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ x).symm | |
| 184 | - | |
| 185 | 157 | /-- The pulled-back packet satisfies the exact closed constraint used by correction assembly. -/ |
| 186 | 158 | theorem piolaLiftedCurlLp_mem (κ : ℝ) (m : Space) (Ξ : Space → Space) |
| 187 | 159 | (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
+0 −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 −33 Euler/PacketLiftedTimeBounds.lean View file
| @@ -84,39 +84,6 @@ theorem Budget.liftedPacketDerivativeCoefficient_memLp (H : Field P T raw_t) | ||
| 84 | 84 | ((B.timeDerivativeTower P).pointField_smooth t) n |
| 85 | 85 | (H.toFieldTower.coverTensor_memLp n t) ((B.timeDerivativeTower P).coverTensor_memLp n t)) |
| 86 | 86 | |
| 87 | -theorem Budget.liftedPacketDerivativeCoefficient_jet_bound (H : Field P T raw_t) | |
| 88 | - (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) | |
| 89 | - (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) | |
| 90 | - (hH : H.WordBound 6 R Ch 0) | |
| 91 | - (hE : ∀ n (t : Icc (0 : ℝ) T), | |
| 92 | - weightedNorm P 6 n ρ ((B.timeDerivativeTower P).realization (n+6) t) ≤ Ce) (n : ℕ) : | |
| 93 | - ‖(B.liftedPacketDerivativeCoefficient P H).jet n‖ ≤ | |
| 94 | - (2*liftedInputConstant P*(Ch+Ce)) * (liftedInputRadius R ρ)^n * (n.factorial : ℝ)^2 := by | |
| 95 | - have hK : 0 ≤ liftedInputConstant P := zero_le_one.trans (liftedInputConstant_one_le P) | |
| 96 | - have hh := (hH.toSmoothTimeField_jet_bound (by norm_num) hR hCh n).trans | |
| 97 | - (time_envelope_mono (mul_nonneg hK hCh) (mul_nonneg (norm_nonneg _) hR) | |
| 98 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCh) | |
| 99 | - (liftedInputRadius_packet R ρ hR hρ) n) | |
| 100 | - have he : ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 101 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 := | |
| 102 | - ((B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n ρ Ce hρ hCe (hE n)).trans | |
| 103 | - (time_envelope_mono (mul_nonneg hK hCe) (mul_nonneg (norm_nonneg _) (inv_nonneg.mpr hρ.le)) | |
| 104 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCe) | |
| 105 | - (liftedInputRadius_error R ρ hR) n) | |
| 106 | - have hsum := (H.toSmoothTimeField.add_jet_norm_le (B.correctionDerivativeCoefficient P) n).trans | |
| 107 | - (add_le_add hh he) | |
| 108 | - have hfull := lift_jet_norm_le_full | |
| 109 | - (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction n | |
| 110 | - change ‖(lift (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction).jet n‖ ≤ _ | |
| 111 | - apply hfull.trans | |
| 112 | - calc | |
| 113 | - _ ≤ 2*‖(H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)).jet n‖ := | |
| 114 | - mul_le_mul_of_nonneg_right (by linarith) (norm_nonneg _) | |
| 115 | - _ ≤ 2*((liftedInputConstant P*Ch)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 + | |
| 116 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2) := | |
| 117 | - mul_le_mul_of_nonneg_left hsum (by norm_num) | |
| 118 | - _ = _ := by ring | |
| 119 | - | |
| 120 | 87 | theorem Budget.liftedPacketDerivativeCoefficient_L2_bound (H : Field P T raw_t) |
| 121 | 88 | (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) |
| 122 | 89 | (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) |
+0 −11 Euler/PacketLowGrades.lean View file
| @@ -29,15 +29,4 @@ namespace EulerPacketPointJets | ||
| 29 | 29 | |
| 30 | 30 | open Finset EulerSmoothLimit EulerPacketResidual |
| 31 | 31 | |
| 32 | -/-- This is the coefficient equation used in the source recursion, with actual derivatives. -/ | |
| 33 | -theorem momentumGrade_eq_diagonal (N n : ℕ) (hn : n+1 ≤ N) | |
| 34 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 35 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) : | |
| 36 | - momentumGrade N FInv M m u p z n = | |
| 37 | - linearPart M (jet (u n) z) + slowPressure FInv (jet (p n) z) + | |
| 38 | - fastPressure m (jet (p (n+1)) z) + | |
| 39 | - (∑ i ∈ range (n+1), slowAdvection FInv (jet (u i) z) (jet (u (n-i)) z)) + | |
| 40 | - (∑ i ∈ range (n+2), fastAdvection m (jet (u i) z) (jet (u (n+1-i)) z)) := | |
| 41 | - coefficient_eq_diagonal N n hn _ _ _ _ _ _ _ | |
| 42 | - | |
| 43 | 32 | end EulerPacketPointJets |
+0 −19 Euler/PacketMajorantShift.lean View file
| @@ -20,25 +20,6 @@ theorem majorant_mono_shift (R : ℝ) (hR : 1 ≤ R) (d D n : ℕ) (h : d ≤ D) | ||
| 20 | 20 | exact mul_le_mul (pow_le_pow_right₀ hR (Nat.add_le_add_left h n)) hs |
| 21 | 21 | (sq_nonneg _) (pow_nonneg (by linarith) _) |
| 22 | 22 | |
| 23 | -/-- A single spare shift pays a linear number of grade terms at one fixed radius. -/ | |
| 24 | -theorem linear_grade_cost_absorbed (C R : ℝ) (hC : 0 ≤ C) (hR : C ≤ R) | |
| 25 | - (p d n : ℕ) (hd : 0 < d) (hpd : p ≤ d) : | |
| 26 | - (C*(p : ℝ))*majorant R (d-1) n ≤ majorant R d n := by | |
| 27 | - have hR0 : 0 ≤ R := hC.trans hR | |
| 28 | - have hnd : (1 : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show 1 ≤ n+d by omega) | |
| 29 | - have hpnd : (p : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show p ≤ n+d by omega) | |
| 30 | - have hpsq : (p : ℝ) ≤ ((n+d : ℕ) : ℝ)^2 := by | |
| 31 | - nlinarith [mul_nonneg (show (0 : ℝ) ≤ ((n+d : ℕ) : ℝ) by positivity) (sub_nonneg.mpr hnd)] | |
| 32 | - have hcost : C*(p : ℝ) ≤ R*((n+d : ℕ) : ℝ)^2 := | |
| 33 | - (mul_le_mul_of_nonneg_left hpsq hC).trans (mul_le_mul_of_nonneg_right hR (sq_nonneg _)) | |
| 34 | - calc | |
| 35 | - _ ≤ (R*((n+d : ℕ) : ℝ)^2)*majorant R (d-1) n := | |
| 36 | - mul_le_mul_of_nonneg_right hcost (majorant_nonneg R hR0 _ _) | |
| 37 | - _ = majorant R d n := by | |
| 38 | - have h := majorant_succ_identity R (d-1) n | |
| 39 | - rw [show d-1+1=d by omega, show n+(d-1)+1=n+d by omega] at h | |
| 40 | - exact h.symm | |
| 41 | - | |
| 42 | 23 | theorem factorial_sum_split (n d : ℕ) : |
| 43 | 24 | (n+d).factorial ≤ 2^(n+d)*n.factorial*d.factorial := by |
| 44 | 25 | calc |
+0 −12 Euler/PacketMeanGradeBounds.lean View file
| @@ -95,16 +95,4 @@ theorem grade_bounds : | ||
| 95 | 95 | · exact (hπ.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 96 | 96 | L.radius_bounds.1 L.costs_nonneg.2.2.2 W.pressureGradient hroom |
| 97 | 97 | |
| 98 | -theorem vector_grade_bound : | |
| 99 | - ((G.vectorCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 100 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).1 | |
| 101 | - | |
| 102 | -theorem derivative_grade_bound : | |
| 103 | - ((G.vectorDerivativeCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 104 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.1 | |
| 105 | - | |
| 106 | -theorem pressure_gradient_grade_bound : | |
| 107 | - ((G.pressureGradientCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 108 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.2 | |
| 109 | - | |
| 110 | 98 | end EulerMeanPacketProvider.Budget |
+0 −6 Euler/PacketMeanPressureStepBound.lean View file
| @@ -56,10 +56,4 @@ theorem meanPressure_step_exists : | ||
| 56 | 56 | refine ⟨Q,?_⟩ |
| 57 | 57 | exact (LM.grade_bounds WM S GM MF p hp hMF).2.2.of_path_eq _ rfl |
| 58 | 58 | |
| 59 | -include WM BC hmean hRc hcost hp hG hc₀ hB₁ hA in | |
| 60 | -theorem meanPressure_step_bound (Q : Field P M.T (pressureGradient (step O p a).meanPressure)) : | |
| 61 | - (Q.normalized M.T_pos.le (S.mean p) (S.mean_pos p)).WordBound 6 R 1 (meanShift p) := by | |
| 62 | - obtain ⟨Q₀,hQ₀⟩ := meanPressure_step_exists M LM WM C BC hmean hRc hcost S hp G hG hc₀ hB₁ hA | |
| 63 | - exact hQ₀.normalized_of_raw_eq Q M.T_pos.le (S.mean p) (S.mean_pos p) (fun _ _ _ => rfl) | |
| 64 | - | |
| 65 | 59 | end EulerPacketCylinderField.ProfileBudget |
+0 −51 Euler/PacketMomentumExpansion.lean View file
| @@ -9,55 +9,4 @@ namespace EulerPacketPointJets | ||
| 9 | 9 | |
| 10 | 10 | open Finset EulerSmoothLimit EulerFiniteGrades EulerPacketResidual |
| 11 | 11 | |
| 12 | -def momentumGrade (N : ℕ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 13 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) (n : ℕ) : Space := | |
| 14 | - coefficient N (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 15 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) n | |
| 16 | - | |
| 17 | -/-- The equality expands the actual derivatives of the finite velocity and pressure sums. -/ | |
| 18 | -theorem momentum_fieldSum_eq (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 19 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 20 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 21 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 22 | - (hp : ∀ i ≤ N, DifferentiableAt ℝ (p i) z) | |
| 23 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) : | |
| 24 | - momentumResidual κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z = | |
| 25 | - evaluate (2*N) κ (momentumGrade N FInv M m u p z) := by | |
| 26 | - unfold momentumResidual | |
| 27 | - rw [jet_fieldSum N κ u z hu, jet_fieldSum N κ p z hp] | |
| 28 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 29 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) hu0 hp0 | |
| 30 | - | |
| 31 | -/-- The source's finite packet has no residual grades through N once its coefficient equations hold. -/ | |
| 32 | -theorem momentum_fieldSum_tail (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 33 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 34 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 35 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 36 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 37 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 38 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 39 | - momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z = | |
| 40 | - ∑ n ∈ Ico (N+1) (2*N+3), κ^n • momentumGrade (N+1) FInv M m u p z n := by | |
| 41 | - unfold momentumResidual | |
| 42 | - rw [jet_fieldSum (N+1) κ u z hu, jet_fieldSum (N+1) κ p z hp] | |
| 43 | - exact packet_residual_eq_tail N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 44 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) | |
| 45 | - hu0 hp0 hcancel | |
| 46 | - | |
| 47 | -/-- A bound on the actual residual follows from the surviving coefficient norms. -/ | |
| 48 | -theorem norm_momentum_fieldSum_le (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 49 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 50 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 53 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 54 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 55 | - ‖momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z‖ ≤ | |
| 56 | - ∑ n ∈ Ico (N+1) (2*N+3), |κ|^n * ‖momentumGrade (N+1) FInv M m u p z n‖ := by | |
| 57 | - rw [momentum_fieldSum_tail N κ hκ FInv M m u p z hu hp hu0 hp0 hcancel] | |
| 58 | - calc | |
| 59 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • momentumGrade (N+1) FInv M m u p z n‖ := | |
| 60 | - norm_sum_le _ _ | |
| 61 | - _ = _ := by simp only [norm_smul, norm_pow, Real.norm_eq_abs] | |
| 62 | - | |
| 63 | 12 | end EulerPacketPointJets |
+0 −31 Euler/PacketMovingFrame.lean View file
| @@ -31,12 +31,6 @@ def crossBilinear : Space →L[ℝ] Space →L[ℝ] Space := | ||
| 31 | 31 | |
| 32 | 32 | theorem crossBilinear_apply (a b : Space) : crossBilinear a b = cross a b := rfl |
| 33 | 33 | |
| 34 | -theorem cross_hasDerivAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} | |
| 35 | - (hp : HasDerivAt p p' t) (hq : HasDerivAt q q' t) : | |
| 36 | - HasDerivAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') t := by | |
| 37 | - have h := (crossBilinear.hasFDerivAt.comp_hasDerivAt t hp).clm_apply hq | |
| 38 | - simpa only [Function.comp_def, crossBilinear_apply] using h | |
| 39 | - | |
| 40 | 34 | theorem cross_hasDerivWithinAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} {S : Set ℝ} |
| 41 | 35 | (hp : HasDerivWithinAt p p' S t) (hq : HasDerivWithinAt q q' S t) : |
| 42 | 36 | HasDerivWithinAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') S t := by |
| @@ -170,19 +164,6 @@ theorem frameRate_skew (B : Space →L[ℝ] Space) (p q : Space) | ||
| 170 | 164 | |
| 171 | 165 | def normalizedFrame (m v : ℝ → Space) (t : ℝ) : Fin 3 → Space := frame (unit (m t)) (unit (v t)) |
| 172 | 166 | |
| 173 | -theorem normalizedFrame_hasDerivAt (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 174 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 175 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 176 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 177 | - HasDerivAt (fun s => normalizedFrame m v s i) | |
| 178 | - (frameRate B (unit (m t)) (unit (v t)) i) t := by | |
| 179 | - have hp := normalized_ray_hasDerivAt B hm hm0 | |
| 180 | - have hq := normalized_velocity_hasDerivAt B hv hv0 hmv | |
| 181 | - fin_cases i | |
| 182 | - · exact hp | |
| 183 | - · exact hq | |
| 184 | - · exact cross_hasDerivAt hp hq | |
| 185 | - | |
| 186 | 167 | theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) |
| 187 | 168 | {m v : ℝ → Space} {t : ℝ} {S : Set ℝ} |
| 188 | 169 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) |
| @@ -197,16 +178,4 @@ theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) | ||
| 197 | 178 | · exact hq |
| 198 | 179 | · exact cross_hasDerivWithinAt hp hq |
| 199 | 180 | |
| 200 | -/-- The source skew matrix is now identified with the derivative of the | |
| 201 | -actual normalized ray/velocity frame. -/ | |
| 202 | -theorem normalizedFrame_skew (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 203 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 204 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 205 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i j : Fin 3) : | |
| 206 | - ⟪normalizedFrame m v t i, deriv (fun s => normalizedFrame m v s j) t⟫_ℝ = | |
| 207 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) i j := by | |
| 208 | - rw [(normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv j).deriv] | |
| 209 | - exact frameRate_skew B (unit (m t)) (unit (v t)) | |
| 210 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i j | |
| 211 | - | |
| 212 | 181 | end EulerPacketMovingFrame |
+0 −17 Euler/PacketMovingRay.lean View file
| @@ -36,23 +36,6 @@ theorem movingRayRate_identity (B M : Space →L[ℝ] Space) (p q x : Space) | ||
| 36 | 36 | def movingRay (m v r : ℝ → Space) (t : ℝ) (i : Fin 3) : ℝ := |
| 37 | 37 | ⟪normalizedFrame m v t i,r t⟫_ℝ |
| 38 | 38 | |
| 39 | -/-- The actual moving-coordinate ray obeys `-(M-S)ᵀ`, with the skew | |
| 40 | -matrix already derived from the older primary ODE. -/ | |
| 41 | -theorem movingRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 42 | - {m v r : ℝ → Space} {t : ℝ} | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 44 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 45 | - (hr : HasDerivAt r (-M.adjoint (r t)) t) | |
| 46 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 47 | - HasDerivAt (fun s => movingRay m v r s i) | |
| 48 | - (-(∑ j : Fin 3, (frameMatrix M (unit (m t)) (unit (v t)) j i - | |
| 49 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) j i) * | |
| 50 | - movingRay m v r t j)) t := by | |
| 51 | - have h := (normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv i).inner ℝ hr | |
| 52 | - have he := movingRayRate_identity B M (unit (m t)) (unit (v t)) (r t) | |
| 53 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i | |
| 54 | - simpa only [movingRay, normalizedFrame, inner_neg_right, adjoint_inner_right, he] using h | |
| 55 | - | |
| 56 | 39 | /-- The same physical coordinate equation holds with one-sided endpoint derivatives. -/ |
| 57 | 40 | theorem movingRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 58 | 41 | {m v r : ℝ → Space} {t : ℝ} {S : Set ℝ} |
+0 −34 Euler/PacketNeighborInitial.lean View file
| @@ -90,18 +90,6 @@ theorem scaledRay_initial_error {m v r : ℝ → Space} {s₀ t₀ a ε D : ℝ} | ||
| 90 | 90 | |
| 91 | 91 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 92 | 92 | |
| 93 | -omit [CompleteSpace U] in | |
| 94 | -theorem frame_pair_operator_difference_le {T ε D : ℝ} | |
| 95 | - (A B : U →L[ℝ] C(Icc (0:ℝ) T, Space)) (ξ : U) (t : Icc (0:ℝ) T) | |
| 96 | - {p q : Space} (hp : ‖p‖ = 1) (hq : ‖q‖ = 1) | |
| 97 | - (hε : 0 < ε) (hε1 : ε ≤ 1) (hAB : ‖A-B‖ ≤ D) : | |
| 98 | - |⟪p,A ξ t⟫_ℝ/ε-⟪p,B ξ t⟫_ℝ/ε|+|⟪q,A ξ t⟫_ℝ-⟪q,B ξ t⟫_ℝ| ≤ | |
| 99 | - 2*D*‖ξ‖/ε := by | |
| 100 | - have hn : ‖A ξ t-B ξ t‖ ≤ D*‖ξ‖ := by | |
| 101 | - exact (((A-B) ξ).norm_coe_le_norm t).trans (((A-B).le_opNorm ξ).trans | |
| 102 | - (mul_le_mul_of_nonneg_right hAB (norm_nonneg ξ))) | |
| 103 | - simpa only [mul_assoc] using frame_pair_difference_le hp hq hε hε1 hn | |
| 104 | - | |
| 105 | 93 | variable (T : ℝ) (hT : 0 ≤ T) |
| 106 | 94 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] Space)) |
| 107 | 95 | (H : C(Icc (0 : ℝ) T, Space →L[ℝ] Space)) |
| @@ -115,26 +103,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 115 | 103 | (hp : ∀ t : Icc (0:ℝ) T, HasDerivWithinAt (extendPath T hT P) (P₁ t) (Icc (0:ℝ) T) t) |
| 116 | 104 | (hG : ∀ t z, ⟪G t z,z⟫_ℝ ≤ K*‖z‖^2) |
| 117 | 105 | |
| 118 | -/-- The two actual stationary histories use the same terminal coordinate | |
| 119 | -`ξ`; physical coefficient differences give the scaled initial error. -/ | |
| 120 | -theorem history_scaled_pair_difference_le (hTpos : 0 < T) (q q₁ d a r : ℝ) | |
| 121 | - (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ q₁) (hP₁n : ‖P₁‖ ≤ q₁) | |
| 122 | - (hD : T*‖Q₁‖+‖Q‖ ≤ d) (hD' : T*‖P₁‖+‖P‖ ≤ d) | |
| 123 | - (hA : 1+T^2*‖H‖ ≤ a) (hA' : 1+T^2*‖G‖ ≤ a) | |
| 124 | - (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) | |
| 125 | - (L₀ L₁ LH s : ℝ) (h₀ : ‖Q-P‖ ≤ L₀*s) (h₁ : ‖Q₁-P₁‖ ≤ L₁*s) (hHdiff : ‖H-G‖ ≤ LH*s) | |
| 126 | - (ξ : U) (t : Icc (0:ℝ) T) {p₀ q₀ : Space} (hp₀ : ‖p₀‖ = 1) (hq₀ : ‖q₀‖ = 1) | |
| 127 | - {ε : ℝ} (hε : 0 < ε) (hε1 : ε ≤ 1) : | |
| 128 | - let u := historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t | |
| 129 | - let v := historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall ξ t | |
| 130 | - |⟪p₀,u⟫_ℝ/ε-⟪p₀,v⟫_ℝ/ε|+|⟪q₀,u⟫_ℝ-⟪q₀,v⟫_ℝ| ≤ | |
| 131 | - 2*historyDifferenceCost T c q q₁ d a r L₀ L₁ LH*s*‖ξ‖/ε := by | |
| 132 | - have hh := historyVelocity_sub_norm_le_of_coefficient_bounds T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 133 | - P P₁ G hP hp hG hTpos q q₁ d a r hQn hPn hQ₁n hP₁n hD hD' hA hA' hr hr' | |
| 134 | - L₀ L₁ LH s h₀ h₁ hHdiff | |
| 135 | - have h := frame_pair_operator_difference_le | |
| 136 | - (historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 137 | - (historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall) ξ t hp₀ hq₀ hε hε1 hh | |
| 138 | - simpa only [mul_assoc] using h | |
| 139 | - | |
| 140 | 106 | end EulerPacketMovingFrame |
+0 −100 Euler/PacketNestedHorizons.lean View file
| @@ -24,10 +24,6 @@ def horizonTime (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : ℝ := | ||
| 24 | 24 | @[simp] theorem activationTime_zero (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) : |
| 25 | 25 | activationTime J X a β 0=0 := by simp [activationTime] |
| 26 | 26 | |
| 27 | -theorem activationTime_succ (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : | |
| 28 | - activationTime J X a β (n+1)=activationTime J X a β n+stepLength J X a β n := by | |
| 29 | - exact sum_range_succ _ n | |
| 30 | - | |
| 31 | 27 | @[simp] theorem horizonTime_zero (J : ℕ) {X : ℝ} (hX : 0 < X) (a β : ℕ → ℝ) : |
| 32 | 28 | horizonTime J X a β 0=baseHorizon J X := by |
| 33 | 29 | rw [horizonTime,activationTime_zero,zero_add,baseHorizon_eq_timeWidth J hX] |
| @@ -37,100 +33,4 @@ variable (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) (a β : ℕ → ℝ) | ||
| 37 | 33 | (hβ : ∀ n, 1/2 ≤ β n*scaleSequence J X n^2) |
| 38 | 34 | (hβ₂ : ∀ n, β n*scaleSequence J X n^2 ≤ 2) |
| 39 | 35 | |
| 40 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 41 | -theorem stepLength_bounds (n : ℕ) : | |
| 42 | - timeWidth J X n/6 ≤ stepLength J X a β n ∧ | |
| 43 | - stepLength J X a β n ≤ 2*timeWidth J X n/3 := by | |
| 44 | - have hx := quadratic_growth_pos J hJ (scaleSequence J X) hX (scaleSequence_succ J X) | |
| 45 | - exact activation_time_bounds (ha n) (ha₂ n) (previousShear_pos J hX n) | |
| 46 | - (hx n) (hx (n+1)).le (hβ n) (hβ₂ n) | |
| 47 | - | |
| 48 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 49 | -theorem stepLength_pos (n : ℕ) : 0 < stepLength J X a β n := | |
| 50 | - lt_of_lt_of_le (div_pos (timeWidth_pos J hJ hX n) (by norm_num)) | |
| 51 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).1 | |
| 52 | - | |
| 53 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 54 | -theorem activationTime_strictMono : StrictMono (activationTime J X a β) := by | |
| 55 | - apply strictMono_nat_of_lt_succ | |
| 56 | - intro n | |
| 57 | - rw [activationTime_succ] | |
| 58 | - exact lt_add_of_pos_right _ (stepLength_pos J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 59 | - | |
| 60 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 61 | -theorem activationTime_nonneg (n : ℕ) : 0 ≤ activationTime J X a β n := by | |
| 62 | - simpa only [activationTime_zero] using | |
| 63 | - (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone (Nat.zero_le n) | |
| 64 | - | |
| 65 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 66 | -theorem activationTime_pos {n : ℕ} (hn : 0 < n) : 0 < activationTime J X a β n := by | |
| 67 | - simpa only [activationTime_zero] using | |
| 68 | - activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 69 | - | |
| 70 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 71 | -theorem horizonTime_pos (n : ℕ) : 0 < horizonTime J X a β n := by | |
| 72 | - exact add_pos_of_nonneg_of_pos | |
| 73 | - (activationTime_nonneg J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 74 | - (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 75 | - | |
| 76 | -include hJ hX in | |
| 77 | -theorem activationTime_lt_horizon (n : ℕ) : | |
| 78 | - activationTime J X a β n < horizonTime J X a β n := by | |
| 79 | - exact lt_add_of_pos_right _ (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 80 | - | |
| 81 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 82 | -theorem horizonTime_succ_le (n : ℕ) (hw : timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 83 | - horizonTime J X a β (n+1) ≤ horizonTime J X a β n := by | |
| 84 | - unfold horizonTime | |
| 85 | - rw [activationTime_succ] | |
| 86 | - exact nested_horizon_of_width_ratio (timeWidth_pos J hJ hX n).le | |
| 87 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).2 hw | |
| 88 | - | |
| 89 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 90 | -theorem horizonTime_antitone (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 91 | - Antitone (horizonTime J X a β) := by | |
| 92 | - exact antitone_nat_of_succ_le (fun n => | |
| 93 | - horizonTime_succ_le J hJ X hX a β ha ha₂ hβ hβ₂ n (hw n)) | |
| 94 | - | |
| 95 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 96 | -theorem horizonTime_le_base (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) (n : ℕ) : | |
| 97 | - horizonTime J X a β n ≤ baseHorizon J X := by | |
| 98 | - simpa only [horizonTime_zero J hX a β] using | |
| 99 | - horizonTime_antitone J hJ X hX a β ha ha₂ hβ hβ₂ hw (Nat.zero_le n) | |
| 100 | - | |
| 101 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 102 | -theorem activationTime_lower {n : ℕ} (hn : 1 ≤ n) : | |
| 103 | - baseHorizon J X/12 ≤ activationTime J X a β n := by | |
| 104 | - have hfirst := (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ 0).1 | |
| 105 | - have hm := (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone hn | |
| 106 | - rw [show (1 : ℕ)=0+1 by rfl,activationTime_succ,activationTime_zero,zero_add] at hm | |
| 107 | - rw [baseHorizon_eq_timeWidth J hX] | |
| 108 | - linarith only [hfirst,hm] | |
| 109 | - | |
| 110 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 111 | -theorem common_positive_interval (n : ℕ) : baseHorizon J X/12 < horizonTime J X a β n := by | |
| 112 | - by_cases hn : n=0 | |
| 113 | - · subst n | |
| 114 | - rw [horizonTime_zero J hX] | |
| 115 | - have hb := baseHorizon_pos J hJ hX | |
| 116 | - linarith only [hb] | |
| 117 | - · exact (activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ (by omega)).trans_lt | |
| 118 | - (activationTime_lt_horizon J hJ X hX a β n) | |
| 119 | - | |
| 120 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 121 | -theorem reciprocal_horizon_le (n : ℕ) : | |
| 122 | - (horizonTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 123 | - have hb := baseHorizon_pos J hJ hX | |
| 124 | - have hs := common_positive_interval J hJ X hX a β ha ha₂ hβ hβ₂ n | |
| 125 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs.le | |
| 126 | - simpa only [one_div,inv_div] using h | |
| 127 | - | |
| 128 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 129 | -theorem reciprocal_activation_le {n : ℕ} (hn : 1 ≤ n) : | |
| 130 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 131 | - have hb := baseHorizon_pos J hJ hX | |
| 132 | - have hs := activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 133 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs | |
| 134 | - simpa only [one_div,inv_div] using h | |
| 135 | - | |
| 136 | 36 | end EulerPacketNestedHorizons |
+0 −50 Euler/PacketNormalizedPrimary.lean View file
| @@ -29,31 +29,6 @@ theorem unit_inner_self {x : E} (hx : x ≠ 0) : ⟪unit x, unit x⟫_ℝ = 1 := | ||
| 29 | 29 | theorem unit_inner_zero {x y : E} (hxy : ⟪x,y⟫_ℝ = 0) : ⟪unit x, unit y⟫_ℝ = 0 := by |
| 30 | 30 | simp only [unit, real_inner_smul_left, real_inner_smul_right, hxy, mul_zero] |
| 31 | 31 | |
| 32 | -theorem norm_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 33 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 34 | - HasDerivAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) t := by | |
| 35 | - have hn := norm_ne_zero_iff.mpr hft | |
| 36 | - have hh := hf.norm_sq.sqrt (pow_ne_zero 2 hn) | |
| 37 | - have he : (fun s => Real.sqrt (‖f s‖^2)) = (fun s => ‖f s‖) := by | |
| 38 | - funext s | |
| 39 | - exact Real.sqrt_sq (norm_nonneg _) | |
| 40 | - rw [he, Real.sqrt_sq (norm_nonneg _)] at hh | |
| 41 | - convert hh using 1 | |
| 42 | - field_simp | |
| 43 | - | |
| 44 | -theorem unit_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 45 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 46 | - HasDerivAt (fun s => unit (f s)) | |
| 47 | - (‖f t‖⁻¹ • f' - (⟪f t,f'⟫_ℝ / ‖f t‖^3) • f t) t := by | |
| 48 | - have hn := norm_ne_zero_iff.mpr hft | |
| 49 | - have h := ((norm_hasDerivAt hf hft).inv hn).smul hf | |
| 50 | - have he : -(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2 = -(⟪f t,f'⟫_ℝ / ‖f t‖^3) := by | |
| 51 | - field_simp | |
| 52 | - change HasDerivAt (fun s => unit (f s)) | |
| 53 | - (‖f t‖⁻¹ • f' + (-(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2) • f t) t at h | |
| 54 | - rw [he] at h | |
| 55 | - simpa only [neg_smul, sub_eq_add_neg, add_comm] using h | |
| 56 | - | |
| 57 | 32 | theorem norm_hasDerivWithinAt {f : ℝ → E} {f' : E} {t : ℝ} {S : Set ℝ} |
| 58 | 33 | (hf : HasDerivWithinAt f f' S t) (hft : f t ≠ 0) : |
| 59 | 34 | HasDerivWithinAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) S t := by |
| @@ -86,31 +61,6 @@ def rayRate (B : E →L[ℝ] E) (p : E) : E := -B.adjoint p + ⟪p,B p⟫_ℝ | ||
| 86 | 61 | def velocityRate (B : E →L[ℝ] E) (p q : E) : E := |
| 87 | 62 | -B q + (2*⟪p,B q⟫_ℝ) • p + ⟪q,B q⟫_ℝ • q |
| 88 | 63 | |
| 89 | -theorem normalized_ray_hasDerivAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} | |
| 90 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) (hm0 : m t ≠ 0) : | |
| 91 | - HasDerivAt (fun s => unit (m s)) (rayRate B (unit (m t))) t := by | |
| 92 | - have h := unit_hasDerivAt hm hm0 | |
| 93 | - convert h using 1 | |
| 94 | - unfold rayRate unit | |
| 95 | - rw [inner_neg_right, adjoint_inner_right, real_inner_comm (m t) (B (m t))] | |
| 96 | - simp only [map_smul, real_inner_smul_left, real_inner_smul_right, smul_smul, | |
| 97 | - div_eq_mul_inv, neg_mul, neg_smul, smul_neg] | |
| 98 | - module | |
| 99 | - | |
| 100 | -omit [CompleteSpace E] in | |
| 101 | -theorem normalized_velocity_hasDerivAt (B : E →L[ℝ] E) {m v : ℝ → E} {t : ℝ} | |
| 102 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 103 | - (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) : | |
| 104 | - HasDerivAt (fun s => unit (v s)) (velocityRate B (unit (m t)) (unit (v t))) t := by | |
| 105 | - have h := unit_hasDerivAt hv hv0 | |
| 106 | - have hvm : ⟪v t,m t⟫_ℝ = 0 := (real_inner_comm _ _).trans hmv | |
| 107 | - convert h using 1 | |
| 108 | - unfold velocityRate unit | |
| 109 | - simp only [inner_add_right, inner_neg_right, real_inner_smul_right, hvm, mul_zero, | |
| 110 | - add_zero, map_smul, real_inner_smul_left, smul_smul, smul_add, div_eq_mul_inv, | |
| 111 | - neg_mul, neg_smul, smul_neg] | |
| 112 | - module | |
| 113 | - | |
| 114 | 64 | theorem normalized_ray_hasDerivWithinAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} {S : Set ℝ} |
| 115 | 65 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) (hm0 : m t ≠ 0) : |
| 116 | 66 | HasDerivWithinAt (fun s => unit (m s)) (rayRate B (unit (m t))) S t := by |
+0 −9 Euler/PacketParentFlowDifferentiation.lean View file
| @@ -13,15 +13,6 @@ open scoped ContDiff Topology | ||
| 13 | 13 | |
| 14 | 14 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 15 | 15 | |
| 16 | -omit [CompleteSpace E] in | |
| 17 | -theorem flow_time_derivative_eq (X u : ℝ × E → E) (q : ℝ × E) | |
| 18 | - (hX : DifferentiableAt ℝ X q) | |
| 19 | - (hflow : HasDerivAt (fun s => X (s,q.2)) (u (q.1,X q)) q.1) : | |
| 20 | - fderiv ℝ X q (1,0) = u (q.1,X q) := by | |
| 21 | - have h := hX.hasFDerivAt.comp_hasDerivAt q.1 | |
| 22 | - ((hasDerivAt_id q.1).prodMk (hasDerivAt_const q.1 q.2)) | |
| 23 | - exact h.unique hflow | |
| 24 | - | |
| 25 | 16 | omit [CompleteSpace E] in |
| 26 | 17 | theorem parent_frame_time (X u : ℝ × E → E) (F : ℝ × E → E →L[ℝ] E) |
| 27 | 18 | (q : ℝ × E) (DF : (ℝ × E) →L[ℝ] (E →L[ℝ] E)) (Du : (ℝ × E) →L[ℝ] E) |
+0 −7 Euler/PacketPeriodicPotential.lean View file
| @@ -64,13 +64,6 @@ theorem field_smooth (m : Space → Space) (A : LiftDomain P → Space) | ||
| 64 | 64 | rw [he] |
| 65 | 65 | exact hQ.comp (contDiff_const.add contDiff_id) |
| 66 | 66 | |
| 67 | -theorem field_continuous (m : Space → Space) (A : LiftDomain P → Space) | |
| 68 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) | |
| 69 | - (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) | |
| 70 | - (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) : | |
| 71 | - Continuous (field P m A) := | |
| 72 | - smoothField_continuous P _ (field_smooth P m A hm hnz hA hmean) | |
| 73 | - | |
| 74 | 67 | theorem field_vanishes (m : Space → Space) (A : LiftDomain P → Space) |
| 75 | 68 | (y : Space) (hy : ∀ θ : AddCircle P, A (y,θ)=0) (θ : AddCircle P) : |
| 76 | 69 | field P m A (y,θ)=0 := by |
+0 −11 Euler/PacketPhysicalCorrectionPotential.lean View file
| @@ -21,17 +21,6 @@ def Budget.physicalPotential (k : ℝ) (Y : Icc (0 : ℝ) D.T → Space → Spac | ||
| 21 | 21 | (t : Icc (0 : ℝ) D.T) : Space → ℝ := |
| 22 | 22 | B.normalizedGraphPotential P k t ∘ Y t |
| 23 | 23 | |
| 24 | -theorem Budget.physicalPotential_joint_continuous (k : ℝ) | |
| 25 | - (Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 26 | - (hY : Continuous (Function.uncurry Y)) : | |
| 27 | - Continuous (B.physicalPotential D P k Y).uncurry := by | |
| 28 | - have hc : Continuous (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2)) := | |
| 29 | - continuous_fst.prodMk hY | |
| 30 | - have hp : Continuous ((B.normalizedGraphPotential P k).uncurry ∘ | |
| 31 | - (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2))) := | |
| 32 | - (B.normalizedGraphPotential_joint_continuous P k).comp hc | |
| 33 | - exact hp | |
| 34 | - | |
| 35 | 24 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 36 | 25 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 37 | 26 | (hXY : ∀ t x, X t (Y t x)=x) |
+0 −8 Euler/PacketPhysicalCostPolynomial.lean View file
| @@ -78,14 +78,6 @@ theorem extraPolynomial_eval (X : ℝ) : extraPolynomial.eval X=extraEnvelope X | ||
| 78 | 78 | Polynomial.eval_ofNat,Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X, |
| 79 | 79 | outputPolynomial_eval,gradePolynomial_eval,velocityPolynomial_eval,coefficientPolynomial_eval] |
| 80 | 80 | |
| 81 | -def extraConstant : ℝ := coefficientCost extraPolynomial | |
| 82 | -def extraPower : ℕ := extraPolynomial.natDegree | |
| 83 | - | |
| 84 | -theorem extraConstant_pos : 0 < extraConstant := coefficientCost_pos _ | |
| 85 | - | |
| 86 | -theorem extraEnvelope_power (X : ℝ) (hX : 1 ≤ X) : extraEnvelope X ≤ extraConstant*X^extraPower := by | |
| 87 | - rw [← extraPolynomial_eval] | |
| 88 | - exact (le_abs_self _).trans (eval_bound extraPolynomial X hX) | |
| 89 | 81 | |
| 90 | 82 | theorem physicalEnvelope_nonneg (X S : ℝ) (hX : 0 ≤ X) (hS : 0 ≤ S) : |
| 91 | 83 | 0 ≤ physicalEnvelope X S := by |
+0 −41 Euler/PacketPhysicalFieldTower.lean View file
| @@ -27,33 +27,6 @@ theorem reconstructedTower_pointField (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) | ||
| 27 | 27 | rw [reconstructedTower,FieldTower.smul_pointField,FieldTower.multiply_pointField] |
| 28 | 28 | rfl |
| 29 | 29 | |
| 30 | -def graphPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 31 | - (reconstructedTower D P κ Z).canonicalGraphWordPath | |
| 32 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 | |
| 33 | - | |
| 34 | -theorem graphPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 35 | - (graphPath D P κ Z k t : Space → Space) =ᵐ[volume] | |
| 36 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := by | |
| 37 | - have h := (reconstructedTower D P κ Z).canonicalGraphWordPath_ae | |
| 38 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 t | |
| 39 | - simpa only [graphPath,EulerCylinderSobolev.iteratedFieldDerivative_zero, | |
| 40 | - reconstructedTower_pointField,physicalPhase,cylinderGraph] using h | |
| 41 | - | |
| 42 | -def graphTensorPath (k : ℝ) (n : ℕ) : | |
| 43 | - C(Icc (0 : ℝ) D.T,Lp (Space [×n]→L[ℝ] Space) 2 (volume : Measure Space)) := | |
| 44 | - (reconstructedTower D P κ Z).physicalTensorPath k D.m₀ n | |
| 45 | - | |
| 46 | -theorem graphTensorPath_ae (k : ℝ) (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 47 | - (graphTensorPath D P κ Z k n t : Space → (Space [×n]→L[ℝ] Space)) =ᵐ[volume] | |
| 48 | - iteratedFDeriv ℝ n | |
| 49 | - (fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x))) := by | |
| 50 | - have h := (reconstructedTower D P κ Z).physicalTensorPath_ae k D.m₀ n t | |
| 51 | - have he : (reconstructedTower D P κ Z).physicalPointField k D.m₀ t = | |
| 52 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := | |
| 53 | - funext (fun x => reconstructedTower_pointField D P κ Z t (cylinderGraph P k D.m₀ x)) | |
| 54 | - rw [he] at h | |
| 55 | - exact h | |
| 56 | - | |
| 57 | 30 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 58 | 31 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 59 | 32 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| @@ -61,18 +34,4 @@ variable (X Y : Icc (0 : ℝ) D.T → Space → Space) | ||
| 61 | 34 | (hY : Continuous (Function.uncurry Y)) |
| 62 | 35 | (hdet : ∀ t x, (D.F.field t x).det=1) |
| 63 | 36 | |
| 64 | -def eulerianPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 65 | - transportPath X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) | |
| 66 | - | |
| 67 | -theorem eulerianPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 68 | - (eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t : Space → Space) =ᵐ[volume] | |
| 69 | - fun x => κ • D.F.field t (Y t x) | |
| 70 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := | |
| 71 | - transportPath_ae X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet | |
| 72 | - (graphPath D P κ Z k) _ (graphPath_ae D P κ Z k) t | |
| 73 | - | |
| 74 | -theorem eulerianPath_norm (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 75 | - ‖eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t‖ = ‖graphPath D P κ Z k t‖ := | |
| 76 | - transportPath_norm X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) t | |
| 77 | - | |
| 78 | 37 | end EulerPacketPhysicalField |
+0 −7 Euler/PacketPhysicalLowBounds.lean View file
| @@ -87,13 +87,6 @@ theorem normal_projection_quadratic_le (r z : Space) : | ||
| 87 | 87 | rw [Real.norm_eq_abs,sq_abs] at hsq |
| 88 | 88 | exact (div_le_iff₀ hn).2 (by nlinarith only [hsq]) |
| 89 | 89 | |
| 90 | -theorem pressureTerm_nonpos (amp slope : ℝ) (M : Matrix) (r w z : Space) | |
| 91 | - (hamp : 0 ≤ amp) (hslope : 0 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : | |
| 92 | - ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 0 := by | |
| 93 | - rw [pressureTerm_quadratic] | |
| 94 | - exact mul_nonpos_of_nonpos_of_nonneg (by nlinarith [mul_nonneg (mul_nonneg hamp hflux) hslope]) | |
| 95 | - (div_nonneg (sq_nonneg _) (sq_nonneg _)) | |
| 96 | - | |
| 97 | 90 | theorem pressureTerm_upper_flux (amp slope : ℝ) (M : Matrix) (r w z : Space) |
| 98 | 91 | (hamp : 0 ≤ amp) (hslope : -1 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : |
| 99 | 92 | ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 2*amp*⟪r,M w⟫_ℝ*‖z‖^2 := by |
+0 −130 Euler/PacketPhysicalStage.lean View file
| @@ -17,134 +17,4 @@ namespace EulerPacketMovingFrame | ||
| 17 | 17 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay |
| 18 | 18 | EulerPacketStage EulerPacketPerturbation InnerProductSpace ContinuousLinearMap |
| 19 | 19 | |
| 20 | -theorem physical_stage_references | |
| 21 | - {B B₁ M E : ℝ → Space →L[ℝ] Space} {m v r w : ℝ → Space} | |
| 22 | - {c s₀ t₀ a ε σ Θ T G d lam : ℝ} {S : Set ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT0 : 0 < T) (hT : T ≤ Θ) | |
| 24 | - (ha : 1/2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) | |
| 25 | - (hs₀ : s₀ ≠ 0) (hlam : 0 ≤ lam) | |
| 26 | - (hsmall : 1000000*stabilityConstant*(16*(ε*Θ*(4*G)^2+d))*Θ^40 ≤ 1) | |
| 27 | - (hmap : MapsTo (physicalTime t₀ a ε) (Icc 0 Θ) S) | |
| 28 | - (hMc : ContinuousOn M S) | |
| 29 | - (hBd : ∀ t ∈ S, HasDerivWithinAt B (B₁ t) S t) | |
| 30 | - (hmd : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) | |
| 31 | - (hvd : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ | |
| 32 | - (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) | |
| 33 | - (hrd : ∀ t ∈ S, HasDerivWithinAt r (-(M t).adjoint (r t)) S t) | |
| 34 | - (hwd : ∀ t ∈ S, HasDerivWithinAt w (-(M t) (w t)+ | |
| 35 | - (2*⟪r t,(M t) (w t)⟫_ℝ/‖r t‖^2) • r t) S t) | |
| 36 | - (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) | |
| 37 | - (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) (hrw0 : ⟪r t₀,w t₀⟫_ℝ = 0) | |
| 38 | - (hB : ∀ t ∈ S, ‖B t‖ ≤ G) (hB₁ : ∀ t ∈ S, ‖B₁ t‖ ≤ G^2) | |
| 39 | - (hE : ∀ t ∈ S, ‖E t‖ ≤ d) | |
| 40 | - (hparent : ∀ t ∈ S, M t = B t+ | |
| 41 | - primaryShear c m v t • rankOne ℝ (unit (v t)) (unit (m t))+E t) | |
| 42 | - (hb0 : rescaledFrame B m v t₀ a ε 0 0 1 = a) | |
| 43 | - (hk0 : rescaledFrame B m v t₀ a ε 0 2 1 = a*σ^2) | |
| 44 | - (hh0 : rescaledShear c m v t₀ a ε 0 = a/ε^2) | |
| 45 | - (hrInitial : norm3 (scaledRay m v r s₀ t₀ a ε 0 0) (scaledRay m v r s₀ t₀ a ε 0 1) | |
| 46 | - (scaledRay m v r s₀ t₀ a ε 0 2-1) ≤ 16*(ε*Θ*(4*G)^2+d)) | |
| 47 | - (hU0 : scaledVelocity m v w t₀ a ε 0 0 = -lam) | |
| 48 | - (hV0 : scaledVelocity m v w t₀ a ε 0 1 = 1) : | |
| 49 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 50 | - let U := fun τ => scaledVelocity m v w t₀ a ε τ 0 | |
| 51 | - let V := fun τ => scaledVelocity m v w t₀ a ε τ 1 | |
| 52 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 53 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 54 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 55 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) | |
| 56 | - (2*(1-σ^2*(σ^2*t^2))*F t) t) ∧ | |
| 57 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) | |
| 58 | - (2*(1-σ^2*(σ^2*t^2))*Z t) t) ∧ | |
| 59 | - (∀ t ∈ Icc 0 T, |V t-Z t|+|U t+Z₁ t| ≤ 160000000*e*Θ^29*(1+lam)*F t) ∧ | |
| 60 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ |V t/Z t-1| ≤ stabilityConstant*e*Θ^29 ∧ | |
| 61 | - |U t/V t+Z₁ t/Z t| ≤ 10*(stabilityConstant*e*Θ^29)) := by | |
| 62 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 63 | - let Rp := scaledRay m v r s₀ t₀ a ε | |
| 64 | - let Vp := scaledVelocity m v w t₀ a ε | |
| 65 | - let Mf := rescaledFrame M m v t₀ a ε | |
| 66 | - let Bf := rescaledFrame B m v t₀ a ε | |
| 67 | - let Rmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledRayEntry a ε (Mf τ) (frameSkew (Bf τ)) | |
| 68 | - let Amat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledVelocityEntry a ε (Mf τ) | |
| 69 | - let Cmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => | |
| 70 | - scaledVelocityEntry a ε (fun i j => Mf τ i j+frameSkew (Bf τ) i j) | |
| 71 | - have he : 0 ≤ e := by dsimp [e]; positivity | |
| 72 | - have hΘ0 : 0 ≤ Θ := by linarith | |
| 73 | - have hK : 1 ≤ stabilityConstant := le_trans (by norm_num) stabilityConstant_ge | |
| 74 | - have hbase : 1000000*e*Θ^40 ≤ 1 := by | |
| 75 | - have hnonneg := mul_nonneg (sub_nonneg.mpr hK) (mul_nonneg he (pow_nonneg hΘ0 40)) | |
| 76 | - change 1000000*stabilityConstant*e*Θ^40 ≤ 1 at hsmall | |
| 77 | - nlinarith only [hsmall, hnonneg] | |
| 78 | - have heΘ : e ≤ e*Θ^40 := by | |
| 79 | - simpa only [mul_one] using mul_le_mul_of_nonneg_left (one_le_pow₀ hΘ : 1 ≤ Θ^40) he | |
| 80 | - have heSmall : e ≤ 1 := by nlinarith only [hbase, heΘ, he] | |
| 81 | - have hpow : e*Θ^5 ≤ e*Θ^40 := | |
| 82 | - mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hΘ (by decide : 5 ≤ 40)) he | |
| 83 | - have hsmallRay : 400*(4*e)*Θ^5 ≤ 1 := by | |
| 84 | - nlinarith only [hbase, hpow, mul_nonneg he (pow_nonneg hΘ0 5)] | |
| 85 | - have ha0 : 0 < a := by linarith | |
| 86 | - have hσsq : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] | |
| 87 | - have herr := physical_matrix_errors ha hε hΘ hG hd heSmall hmap hBd hmd hvd hm0 hv0 hmv | |
| 88 | - hB hB₁ hE hparent hb0 hk0 hh0 | |
| 89 | - have hsub : Icc (0:ℝ) T ⊆ Icc 0 Θ := fun _ ht => ⟨ht.1, ht.2.trans hT⟩ | |
| 90 | - have hmapT : MapsTo (physicalTime t₀ a ε) (Icc 0 T) S := fun _ ht => hmap (hsub ht) | |
| 91 | - have hMf : ∀ i j, ContinuousOn (fun τ => Mf τ i j) (Icc 0 T) := | |
| 92 | - rescaledFrame_continuousOn B M hmapT hMc hmd hvd hm0 hv0 hmv | |
| 93 | - have hBf : ∀ i j, ContinuousOn (fun τ => Bf τ i j) (Icc 0 T) := | |
| 94 | - rescaledFrame_continuousOn B B hmapT (fun t ht => (hBd t ht).continuousWithinAt) | |
| 95 | - hmd hvd hm0 hv0 hmv | |
| 96 | - have hSf := frameSkew_continuousOn hBf | |
| 97 | - have hRmc : ∀ i j, ContinuousOn (fun τ => Rmat τ i j) (Icc 0 T) := | |
| 98 | - scaledRayEntry_continuousOn a ε hMf hSf | |
| 99 | - have hAmc : ∀ i j, ContinuousOn (fun τ => Amat τ i j) (Icc 0 T) := | |
| 100 | - scaledVelocityEntry_continuousOn a ε hMf | |
| 101 | - have hCmc : ∀ i j, ContinuousOn (fun τ => Cmat τ i j) (Icc 0 T) := | |
| 102 | - scaledVelocityEntry_continuousOn a ε (fun i j => (hMf i j).add (hSf i j)) | |
| 103 | - have hRode : ∀ i τ, τ ∈ Icc 0 T → HasDerivWithinAt (fun s => Rp s i) | |
| 104 | - (∑ j : Fin 3, Rmat τ i j*Rp τ j) (Icc 0 T) τ := by | |
| 105 | - intro i τ hτ | |
| 106 | - have ht := hmapT hτ | |
| 107 | - exact scaledRay_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) (M (physicalTime t₀ a ε τ)) | |
| 108 | - (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT (hmd _ ht) (hvd _ ht) (hrd _ ht) | |
| 109 | - (hm0 _ ht) (hv0 _ ht) (hmv _ ht) i | |
| 110 | - have hP : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 0) | |
| 111 | - (Rmat τ 0 0*Rp τ 0+Rmat τ 0 1*Rp τ 1+Rmat τ 0 2*Rp τ 2) (Icc 0 T) τ := by | |
| 112 | - intro τ hτ | |
| 113 | - simpa only [Fin.sum_univ_three] using hRode 0 τ hτ | |
| 114 | - have hQ : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 1) | |
| 115 | - (Rmat τ 1 0*Rp τ 0+Rmat τ 1 1*Rp τ 1+Rmat τ 1 2*Rp τ 2) (Icc 0 T) τ := by | |
| 116 | - intro τ hτ | |
| 117 | - simpa only [Fin.sum_univ_three] using hRode 1 τ hτ | |
| 118 | - have hN : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 2) | |
| 119 | - (Rmat τ 2 0*Rp τ 0+Rmat τ 2 1*Rp τ 1+Rmat τ 2 2*Rp τ 2) (Icc 0 T) τ := by | |
| 120 | - intro τ hτ | |
| 121 | - simpa only [Fin.sum_univ_three] using hRode 2 τ hτ | |
| 122 | - have hRclose : ∀ τ ∈ Icc 0 T, ∀ i j, |Rmat τ i j-idealRayEntry (σ^2) i j| ≤ 4*e := | |
| 123 | - fun τ hτ => (herr.2 τ (hsub hτ)).1 | |
| 124 | - have hnear := ray_closeness_within (sq_nonneg σ) hσsq hΘ hT0 hT | |
| 125 | - (mul_nonneg (by norm_num : (0:ℝ) ≤ 4) he) hsmallRay hRmc hP hQ hN hRclose | |
| 126 | - (hrInitial.trans (show e ≤ 4*e by linarith)) | |
| 127 | - have hrnonzero : ∀ τ ∈ Icc 0 T, r (physicalTime t₀ a ε τ) ≠ 0 := by | |
| 128 | - intro τ hτ hzero | |
| 129 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 130 | - apply hNne | |
| 131 | - simp only [Rp, scaledRay, movingRay, hzero, inner_zero_right, zero_div] | |
| 132 | - have hpair := rescaled_tangentPairing_zero M hmapT hrd hwd hrnonzero hrw0 | |
| 133 | - have hUV : ∀ τ ∈ Icc 0 T, | |
| 134 | - HasDerivWithinAt (fun s => Vp s 0) | |
| 135 | - (velocityFirstRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ ∧ | |
| 136 | - HasDerivWithinAt (fun s => Vp s 1) | |
| 137 | - (velocitySecondRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ := by | |
| 138 | - intro τ hτ | |
| 139 | - have ht := hmapT hτ | |
| 140 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 141 | - exact scaledVelocity_firstTwo_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) | |
| 142 | - (M (physicalTime t₀ a ε τ)) (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT | |
| 143 | - (hmd _ ht) (hvd _ ht) (hwd _ ht) (hm0 _ ht) (hv0 _ ht) (hmv _ ht) | |
| 144 | - (hrnonzero τ hτ) (hpair τ hτ) hNne | |
| 145 | - exact controlled_stage_references_within hσ hσsmall hΘ hT0 hT he hε.le herr.1 hlam hsmall | |
| 146 | - hRmc hAmc hCmc hP hQ hN (fun τ hτ => (hUV τ hτ).1) (fun τ hτ => (hUV τ hτ).2) | |
| 147 | - hRclose (fun τ hτ => (herr.2 τ (hsub hτ)).2.1) (fun τ hτ => (herr.2 τ (hsub hτ)).2.2) | |
| 148 | - hrInitial hU0 hV0 | |
| 149 | - | |
| 150 | 20 | end EulerPacketMovingFrame |
+0 −65 Euler/PacketPiola.lean View file
| @@ -24,69 +24,4 @@ theorem adjoint_apply_coordinate (A : Space →L[ℝ] Space) (q : Space) (i : Fi | ||
| 24 | 24 | simpa only [EuclideanSpace.inner_single_left, conj_trivial, one_mul] using |
| 25 | 25 | A.adjoint_inner_right (EuclideanSpace.single i 1) q |
| 26 | 26 | |
| 27 | -/-- Pull back a Euclidean covector field by the actual derivative of the coordinate map. -/ | |
| 28 | -def pullbackCovector (Ξ Q : Space → Space) (x : Space) : Space := | |
| 29 | - (fderiv ℝ Ξ x).adjoint (Q x) | |
| 30 | - | |
| 31 | -/-- Symmetric second derivatives remove the entire derivative-of-Jacobian term from curl. -/ | |
| 32 | -theorem curl_pullbackCovector (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 33 | - (x : Space) (hQ : DifferentiableAt ℝ Q x) : | |
| 34 | - vectorCurl (pullbackCovector Ξ Q) x = | |
| 35 | - curlMatrix ((fderiv ℝ Ξ x).adjoint.comp (fderiv ℝ Q x)) := by | |
| 36 | - have hD : DifferentiableAt ℝ (fderiv ℝ Ξ) x := | |
| 37 | - ((hΞ.fderiv_right (m := 1) le_rfl).differentiable one_ne_zero).differentiableAt | |
| 38 | - have hA : HasFDerivAt (fun y => (fderiv ℝ Ξ y).adjoint) | |
| 39 | - ((realAdjoint (U := Space) (E := Space)).comp (fderiv ℝ (fderiv ℝ Ξ) x)) x := | |
| 40 | - (realAdjoint (U := Space) (E := Space)).hasFDerivAt.comp x hD.hasFDerivAt | |
| 41 | - have hp := hA.clm_apply hQ.hasFDerivAt | |
| 42 | - have hzero : curlMatrix | |
| 43 | - (((realAdjoint (U := Space) (E := Space)).comp | |
| 44 | - (fderiv ℝ (fderiv ℝ Ξ) x)).flip (Q x)) = 0 := by | |
| 45 | - ext i | |
| 46 | - change ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 1) 1)).adjoint (Q x)) (i + 2) - | |
| 47 | - ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 2) 1)).adjoint (Q x)) (i + 1) = 0 | |
| 48 | - rw [adjoint_apply_coordinate, adjoint_apply_coordinate] | |
| 49 | - have hs := ((hΞ.contDiffAt (x := x)).isSymmSndFDerivAt (n := 2) (by simp)).eq | |
| 50 | - (EuclideanSpace.single (i + 1) 1) (EuclideanSpace.single (i + 2) 1) | |
| 51 | - rw [hs, sub_self] | |
| 52 | - change vectorCurl (fun y => (fderiv ℝ Ξ y).adjoint (Q y)) x = _ | |
| 53 | - rw [vectorCurl_eq_matrix _ x hp.differentiableAt, hp.fderiv, curlMatrix_add, hzero, add_zero] | |
| 54 | - | |
| 55 | -/-- The source's slow transformed curl `d × Q`, with `d=F⁻ᵀ ∇`. -/ | |
| 56 | -def transformedCurl (F : Space → Space ≃L[ℝ] Space) (Q : Space → Space) (x : Space) : Space := | |
| 57 | - curlMatrix ((fderiv ℝ Q x).comp (F x).symm.toContinuousLinearMap) | |
| 58 | - | |
| 59 | -/-- For the actual Jacobian and unit determinant, `F⁻¹(d×Q)=curl(FᵀQ)`. -/ | |
| 60 | -theorem piola_curl (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 61 | - (F : Space ≃L[ℝ] Space) (x : Space) | |
| 62 | - (hF : fderiv ℝ Ξ x = F.toContinuousLinearMap) | |
| 63 | - (hdet : (operatorMatrix F.toContinuousLinearMap).det = 1) | |
| 64 | - (hQ : DifferentiableAt ℝ Q x) : | |
| 65 | - F.symm (curlMatrix ((fderiv ℝ Q x).comp F.symm.toContinuousLinearMap)) = | |
| 66 | - vectorCurl (pullbackCovector Ξ Q) x := by | |
| 67 | - rw [curl_pullbackCovector Ξ Q hΞ x hQ, hF] | |
| 68 | - exact (curlMatrix_piola F hdet (fderiv ℝ Q x)).symm | |
| 69 | - | |
| 70 | -theorem pullbackCovector_smooth (Ξ Q : Space → Space) | |
| 71 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) : | |
| 72 | - ContDiff ℝ ∞ (pullbackCovector Ξ Q) := | |
| 73 | - ((realAdjoint (U := Space) (E := Space)).contDiff.comp | |
| 74 | - (hΞ.fderiv_right (m := ∞) (by simp))).clm_apply hQ | |
| 75 | - | |
| 76 | -/-- The transformed curl produces an actually divergence-free label velocity. -/ | |
| 77 | -theorem divergence_piola_curl (Ξ Q : Space → Space) | |
| 78 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) | |
| 79 | - (F : Space → Space ≃L[ℝ] Space) | |
| 80 | - (hF : ∀ x, fderiv ℝ Ξ x = (F x).toContinuousLinearMap) | |
| 81 | - (hdet : ∀ x, (operatorMatrix (F x).toContinuousLinearMap).det = 1) (x : Space) : | |
| 82 | - divergence (fun y => (F y).symm (transformedCurl F Q y)) x = 0 := by | |
| 83 | - have he : (fun y => (F y).symm (transformedCurl F Q y)) = | |
| 84 | - vectorCurl (pullbackCovector Ξ Q) := by | |
| 85 | - funext y | |
| 86 | - exact piola_curl Ξ Q (hΞ.of_le (by simp)) (F y) y (hF y) (hdet y) | |
| 87 | - ((hQ.differentiable (by simp)).differentiableAt) | |
| 88 | - rw [he] | |
| 89 | - exact divergence_curl (fun i y => pullbackCovector Ξ Q y i) | |
| 90 | - ((contDiff_piLp 2).mp (pullbackCovector_smooth Ξ Q hΞ hQ)) x | |
| 91 | - | |
| 92 | 27 | end EulerPacketPiola |
+0 −20 Euler/PacketPiolaPair.lean View file
| @@ -70,26 +70,6 @@ theorem coveringPotential_angle_derivative (P : ℝ) (m : Space → Space) | ||
| 70 | 70 | ((hasDerivAt_const z.2 z.1).prodMk (hasDerivAt_id z.2)) |
| 71 | 71 | exact hline.unique (potential_hasDerivAt P (m z.1) (fun θ => A (z.1, θ)) hA z.2) |
| 72 | 72 | |
| 73 | -/-- A literal source pair is a Piola curl for the actual constructed angular primitive. -/ | |
| 74 | -theorem coveringPotential_pair_piola (P κ : ℝ) (m₀ : Space) (Ξ : Space → Space) | |
| 75 | - (A : LiftTangent → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 76 | - (F : Space → Space ≃L[ℝ] Space) (z : LiftTangent) | |
| 77 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 78 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 79 | - (hm : (F z.1).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 80 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀, A z⟫_ℝ = 0) | |
| 81 | - (hA : Continuous (fun θ => A (z.1, θ))) | |
| 82 | - (hq : DifferentiableAt ℝ | |
| 83 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) : | |
| 84 | - (F z.1).symm (A z + κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 85 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 86 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 87 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 88 | - have hp := covering_piola_curl κ m₀ Ξ _ hΞ z (F z.1) hF hdet hq | |
| 89 | - rw [curl_lifted_split, coveringPotential_angle_derivative P _ A z hA hq, | |
| 90 | - cross_potentialMultiplier _ _ hm htan] at hp | |
| 91 | - simpa only [coveringSlowCurl, add_comm] using hp | |
| 92 | - | |
| 93 | 73 | variable (period : ℝ) |
| 94 | 74 | |
| 95 | 75 | def liftedSlowCurl (F : Space → Space ≃L[ℝ] Space) (Q : LiftDomain period → Space) |
+0 −37 Euler/PacketPointJets.lean View file
| @@ -72,41 +72,4 @@ def fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 72 | 72 | (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) : E := |
| 73 | 73 | evaluate M κ (fun n => u n z) |
| 74 | 74 | |
| 75 | -/-- Taking the actual first jet commutes with a finite packet sum. -/ | |
| 76 | -theorem jet_fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 77 | - (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) | |
| 78 | - (hu : ∀ n ≤ M, DifferentiableAt ℝ (u n) z) : | |
| 79 | - jet (fieldSum M κ u) z = evaluate M κ (fun n => jet (u n) z) := by | |
| 80 | - have hd := HasFDerivAt.fun_sum (u := Finset.range (M+1)) | |
| 81 | - (fun n hn => ((hu n (by have h := Finset.mem_range.mp hn; omega)).hasFDerivAt).const_smul (κ^n)) | |
| 82 | - apply Prod.ext | |
| 83 | - · change (∑ n ∈ Finset.range (M+1), κ^n • u n z) = | |
| 84 | - (AddMonoidHom.fst E (Domain →L[ℝ] E)) | |
| 85 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 86 | - rw [map_sum] | |
| 87 | - rfl | |
| 88 | - · change fderiv ℝ (fieldSum M κ u) z = _ | |
| 89 | - rw [show fderiv ℝ (fieldSum M κ u) z = | |
| 90 | - ∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z from hd.fderiv] | |
| 91 | - change (∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z) = | |
| 92 | - (AddMonoidHom.snd E (Domain →L[ℝ] E)) | |
| 93 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 94 | - rw [map_sum] | |
| 95 | - rfl | |
| 96 | - | |
| 97 | -/-- This is the literal normalized momentum expression evaluated through its true first derivatives. -/ | |
| 98 | -def momentumResidual (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 99 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : Space := | |
| 100 | - linearPart M (jet u z) + slowPressure FInv (jet p z) + κ⁻¹ • fastPressure m (jet p z) + | |
| 101 | - slowAdvection FInv (jet u z) (jet u z) + κ⁻¹ • fastAdvection m (jet u z) (jet u z) | |
| 102 | - | |
| 103 | -theorem momentumResidual_formula (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 104 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : | |
| 105 | - momentumResidual κ FInv M m u p z = | |
| 106 | - fderiv ℝ u z timeDirection + M (u z) + | |
| 107 | - FInv.adjoint ((toDual ℝ Space).symm ((fderiv ℝ p z).comp spatialInjection)) + | |
| 108 | - κ⁻¹ • (fderiv ℝ p z angleDirection • m) + | |
| 109 | - fderiv ℝ u z (spatialInjection (FInv (u z))) + | |
| 110 | - κ⁻¹ • (⟪m, u z⟫_ℝ • fderiv ℝ u z angleDirection) := rfl | |
| 111 | - | |
| 112 | 75 | end EulerPacketPointJets |
+0 −30 Euler/PacketPotentialRegularity.lean View file
| @@ -30,34 +30,4 @@ theorem coveringPotential_contDiff (P : ℝ) (hP : 0 ≤ P) | ||
| 30 | 30 | (fun z : LiftTangent => potentialMultiplier (m z.1) (A z)) |
| 31 | 31 | (((potentialMultiplier_contDiff m hm hnz).comp contDiff_fst).clm_apply hA) |
| 32 | 32 | |
| 33 | -/-- The curl is the actual first spatial derivative of the constructed potential. -/ | |
| 34 | -theorem coveringSlowCurl_contDiff (P : ℝ) (hP : 0 ≤ P) | |
| 35 | - (m : Space → Space) (A : LiftTangent → Space) | |
| 36 | - (G : Space → Space →L[ℝ] Space) | |
| 37 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) (hA : ContDiff ℝ ∞ A) | |
| 38 | - (hG : ContDiff ℝ ∞ G) : | |
| 39 | - ContDiff ℝ ∞ (fun z : LiftTangent => coveringSlowCurl (G z.1) (coveringPotential P m A) z) := by | |
| 40 | - have hQ := coveringPotential_contDiff P hP m A hm hnz hA | |
| 41 | - exact curlOperator.contDiff.comp | |
| 42 | - ((contDiff_infty_iff_fderiv.mp hQ).2.clm_comp | |
| 43 | - (contDiff_const.clm_comp (hG.comp contDiff_fst))) | |
| 44 | - | |
| 45 | -/-- The Piola identity now needs regularity only for the input fields, not for Q. -/ | |
| 46 | -theorem smooth_coveringPotential_pair_piola (P κ : ℝ) (hP : 0 ≤ P) | |
| 47 | - (m₀ : Space) (Ξ : Space → Space) (A : LiftTangent → Space) | |
| 48 | - (hΞ : ContDiff ℝ 2 Ξ) (F : Space → Space ≃L[ℝ] Space) | |
| 49 | - (hNormal : ContDiff ℝ ∞ (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀)) | |
| 50 | - (hm : ∀ y, (F y).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 51 | - (hA : ContDiff ℝ ∞ A) (z : LiftTangent) | |
| 52 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 53 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 54 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀,A z⟫_ℝ=0) : | |
| 55 | - (F z.1).symm (A z+κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 56 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 57 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 58 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 59 | - exact coveringPotential_pair_piola P κ m₀ Ξ A hΞ F z hF hdet (hm z.1) htan | |
| 60 | - (hA.continuous.comp (continuous_const.prodMk continuous_id)) | |
| 61 | - ((coveringPotential_contDiff P hP _ A hNormal hm hA).differentiable (by simp) z) | |
| 62 | - | |
| 63 | 33 | end EulerPacketPiola |
+0 −3 Euler/PacketPressureCovector.lean View file
| @@ -29,9 +29,6 @@ def gradientLinear : ScalarJet →ₗ[ℝ] Space where | ||
| 29 | 29 | map_add' J K := by simp [add_comp] |
| 30 | 30 | map_smul' c J := by simp [smul_comp] |
| 31 | 31 | |
| 32 | -theorem gradientLinear_jet (p : ScalarField) (z : Domain) : | |
| 33 | - gradientLinear (pressureJet p z)=pressureGradient p z := rfl | |
| 34 | - | |
| 35 | 32 | theorem fieldSum_assemble {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 36 | 33 | (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) (z : Domain) : |
| 37 | 34 | fieldSum (N+1) κ (assemble N u c) z=fieldSum N κ u z+κ • fieldSum N κ c z := by |
+0 −8 Euler/PacketPressureFastHessian.lean View file
| @@ -68,12 +68,4 @@ theorem norm_fderiv_smul_unit (a : LiftTangent → ℝ) (m : Space) (hm : ‖m | ||
| 68 | 68 | ‖fderiv ℝ (fun y => a y • m) z‖ = ‖fderiv ℝ a z‖ := by |
| 69 | 69 | rw [(ha.hasFDerivAt.smul_const m).fderiv,norm_smulRight_apply,hm,mul_one] |
| 70 | 70 | |
| 71 | -theorem norm_fderiv_clm_apply_le (A : Space → Space →L[ℝ] Space) (u : Space → Space) | |
| 72 | - (x : Space) (hA : DifferentiableAt ℝ A x) (hu : DifferentiableAt ℝ u x) : | |
| 73 | - ‖fderiv ℝ (fun y => A y (u y)) x‖ ≤ | |
| 74 | - ‖A x‖*‖fderiv ℝ u x‖+‖fderiv ℝ A x‖*‖u x‖ := by | |
| 75 | - rw [fderiv_clm_apply hA hu] | |
| 76 | - exact (norm_add_le _ _).trans (add_le_add (opNorm_comp_le _ _) | |
| 77 | - (by simpa only [opNorm_flip] using (fderiv ℝ A x).flip.le_opNorm (u x))) | |
| 78 | - | |
| 79 | 71 | end EulerPacketGraphHessian |
+0 −16 Euler/PacketPressureSeries.lean View file
| @@ -52,22 +52,6 @@ theorem finite_sum_le {f : ℕ → ℝ} {a : ℝ} (hf : SmallSeries f a) (N : | ||
| 52 | 52 | ∑ n ∈ Finset.range N, f n ≤ a := |
| 53 | 53 | (hf.summable.sum_le_tsum (Finset.range N) (fun n _ => hf.nonneg n)).trans hf.total_le |
| 54 | 54 | |
| 55 | -theorem upper_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 56 | - {increment error : ℕ → ℝ} {a b e : ℝ} | |
| 57 | - (hg : SmallSeries (fun n => 2*CM*goodRatio*goodCost J x n) a) | |
| 58 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 59 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 60 | - (h : ∀ n, increment n ≤ 2*CM*goodRatio*goodCost J x n+badCost J Cθ CM CMn CHn c x n+error n) : | |
| 61 | - SmallSeries increment (a+b+e) := | |
| 62 | - (add_series (add_series hg hb) he).mono h0 h | |
| 63 | - | |
| 64 | -theorem initial_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 65 | - {increment error : ℕ → ℝ} {b e : ℝ} | |
| 66 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 67 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 68 | - (h : ∀ n, increment n ≤ badCost J Cθ CM CMn CHn c x n+error n) : | |
| 69 | - SmallSeries increment (b+e) := (add_series hb he).mono h0 h | |
| 70 | - | |
| 71 | 55 | /-- The added pressure costs share the stage index and base scale with |
| 72 | 56 | any finite list of the existing source costs. -/ |
| 73 | 57 | theorem uniform_choice {ι : Type*} [Fintype ι] (s : ι → CostSpec) |
+0 −13 Euler/PacketPrimaryCommonRadius.lean View file
| @@ -46,22 +46,9 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 46 | 46 | exact ⟨hC, hb.2.1.trans hR, hb.2.2.1.trans hR, |
| 47 | 47 | hb.2.2.2.1.trans hR, hb.2.2.2.2.trans hR⟩ |
| 48 | 48 | |
| 49 | -/-- An arbitrary extra requirement can be included without changing any | |
| 50 | -source cost or the primary time profile. -/ | |
| 51 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 52 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 53 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 54 | - ⟨max extra (H.gradeRadius (P := P) N C), le_max_left _ _, | |
| 55 | - H.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 56 | - | |
| 57 | 49 | namespace GradeGuards |
| 58 | 50 | |
| 59 | 51 | variable {H N C} |
| 60 | 52 | |
| 61 | -theorem enlargeRadius (W : GradeGuards (P := P) H N C) (R' : ℝ) (h : L.R ≤ R') : | |
| 62 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 63 | - ⟨W.terminal_nonneg, W.common.trans h, W.corrector.trans h, | |
| 64 | - W.correctorTime.trans h, W.pressureGradient.trans h⟩ | |
| 65 | - | |
| 66 | 53 | end GradeGuards |
| 67 | 54 | end EulerTransversePacketPrimary.Budget |
+0 −67 Euler/PacketPrimaryDynamics.lean View file
| @@ -117,71 +117,4 @@ theorem canonicalNormal_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | ||
| 117 | 117 | simpa only [extendPath,Data.clamp,projIcc_of_mem D.T_pos.le t.property, |
| 118 | 118 | Data.normalDerivative_apply] using D.normal_hasDerivWithinAt t t.property x |
| 119 | 119 | |
| 120 | -theorem canonicalVelocity_tangent (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 121 | - ⟪D.normal.field t x,canonicalVelocity τ hτ hτT B ξ hs t x⟫_ℝ = 0 := by | |
| 122 | - have h : ⟪D.normal.field t x, | |
| 123 | - vector τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) (t,(x,Real.pi/2))⟫_ℝ = 0 := by | |
| 124 | - simpa only [Data.normalField,Data.clamp_coe] using | |
| 125 | - vector_tangent τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) t x (Real.pi/2) | |
| 126 | - simp only [canonicalVelocity,envelopedVelocity,inner_smul_right,h,mul_zero] | |
| 127 | - | |
| 128 | -theorem canonicalVelocity_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 129 | - HasDerivWithinAt (fun s => canonicalVelocity τ hτ hτT B ξ hs s x) | |
| 130 | - (-D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)+ | |
| 131 | - (2*⟪D.normal.field t x,D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)⟫_ℝ/ | |
| 132 | - ‖D.normal.field t x‖^2) • D.normal.field t x) (Icc (0 : ℝ) D.T) t := by | |
| 133 | - simpa only [physicalGenerator_apply] using canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs t x | |
| 134 | - | |
| 135 | -theorem canonicalVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 136 | - (x : Space) (hx : innerCutoff x ≠ 0) : canonicalVelocity τ hτ hτT B ξ hs t x ≠ 0 := by | |
| 137 | - intro ht | |
| 138 | - obtain ⟨s,hs0⟩ := B.coefficients.labelVelocity_exists_ne_zero x ξ hξ | |
| 139 | - let sd : Icc (0 : ℝ) D.T := ⟨s,s.property.1,s.property.2.trans hτT.le⟩ | |
| 140 | - have hz := (constructedEvolution D.T D.T_pos.le (physicalGenerator D x)).homogeneous_zero_at | |
| 141 | - (fun r => canonicalVelocity τ hτ hτT B ξ hs r x) | |
| 142 | - (fun r => canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs r x) t sd ht | |
| 143 | - change canonicalVelocity τ hτ hτT B ξ hs s x = 0 at hz | |
| 144 | - rw [canonicalVelocity_history τ hτ hτT B ξ hs s x] at hz | |
| 145 | - exact hs0 ((smul_eq_zero.mp hz).resolve_left hx) | |
| 146 | - | |
| 147 | -theorem canonicalVelocity_center_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 148 | - canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0 := | |
| 149 | - canonicalVelocity_ne_zero τ hτ hτT B ξ hs hξ t 0 (by rw [innerCutoff_zero]; exact one_ne_zero) | |
| 150 | - | |
| 151 | -theorem canonical_size_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 152 | - 0 < ‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ := | |
| 153 | - mul_pos (norm_pos_iff.mpr (HistoryData.normal_ne_zero t 0)) | |
| 154 | - (norm_pos_iff.mpr (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t)) | |
| 155 | - | |
| 156 | -def canonicalVelocityPath (x : Space) : C(Icc (0 : ℝ) D.T,Space) where | |
| 157 | - toFun t := canonicalVelocity τ hτ hτT B ξ hs t x | |
| 158 | - continuous_toFun := (show ContinuousOn (fun t => canonicalVelocity τ hτ hτT B ξ hs t x) | |
| 159 | - (Icc (0 : ℝ) D.T) from fun t ht => | |
| 160 | - (canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs ⟨t,ht⟩ x).continuousWithinAt).domRestrict | |
| 161 | - | |
| 162 | -theorem canonical_amplitude_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 163 | - (δ h : ℝ) (hδ : 0 < δ) (hh : 0 < h) : | |
| 164 | - 0 < δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := | |
| 165 | - div_pos (mul_pos hδ hh) (canonical_size_pos τ hτ hτT B ξ hs hξ t) | |
| 166 | - | |
| 167 | -/-- The actual scaled terminal datum achieves the requested primary | |
| 168 | -gradient norm; nonvanishing is proved from its nonzero terminal direction. -/ | |
| 169 | -theorem scaled_terminal_target_shear (hξ : ξ ≠ 0) (δ : ℝ) (hδ : 0 < δ) | |
| 170 | - (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 171 | - (X Y : Space → Space) (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 172 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 173 | - let α := δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) | |
| 174 | - ‖fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 175 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))) (X 0)‖ = h := by | |
| 176 | - dsimp only | |
| 177 | - have he := EulerPacketPrimaryShear.scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs | |
| 178 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t | |
| 179 | - change ‖fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 180 | - (initialData D δ hδ ((δ*h/(‖D.normal.field t 0‖* | |
| 181 | - ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) • ξ) hs) | |
| 182 | - (t,(x,k*inner ℝ D.m₀ x))) ∘ Y) (X 0)‖ = h | |
| 183 | - rw [he] | |
| 184 | - exact EulerPacketPrimaryShear.fullWave_target_shear τ hτ hτT B δ hδ ξ hs h k hh hk t X Y | |
| 185 | - hX hY hleft (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t) | |
| 186 | - | |
| 187 | 120 | end EulerPacketPrimaryFactorization |
+0 −118 Euler/PacketPrimaryFullShear.lean View file
| @@ -19,122 +19,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 19 | 19 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 20 | 20 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 21 | 21 | |
| 22 | -def fullWave (α k : ℝ) (t : Icc (0 : ℝ) D.T) (y : Space) : Space := | |
| 23 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 24 | - | |
| 25 | -theorem fullWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 26 | - HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 27 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) 0 := by | |
| 28 | - let A : Space × ℝ → Space := fun z => | |
| 29 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 30 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 31 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth t).differentiable (by simp) (0,0) | |
| 32 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 33 | - intro y | |
| 34 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 35 | - rw [vector_factorization] | |
| 36 | - simp [profile] | |
| 37 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) | |
| 38 | - (δ⁻¹ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) 0 := by | |
| 39 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 40 | - rw [profile_deriv_zero δ hδ] at hp | |
| 41 | - have he : (fun θ : ℝ => A (0,θ)) = | |
| 42 | - fun θ => profile δ θ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 := | |
| 43 | - funext (vector_factorization τ hτ hτT B δ hδ ξ hs t 0) | |
| 44 | - rw [he] | |
| 45 | - exact hp.smul_const _ | |
| 46 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 47 | - have hc : α/k*k=α := by field_simp | |
| 48 | - rw [hc] at h | |
| 49 | - convert! h using 1 | |
| 50 | - apply ContinuousLinearMap.ext | |
| 51 | - intro v | |
| 52 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 53 | - congr 1 | |
| 54 | - rw [div_eq_mul_inv] | |
| 55 | - ring | |
| 56 | - | |
| 57 | -theorem fullWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - HasFDerivAt (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 62 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) | |
| 63 | - (D.normal.field t 0)) (X 0) := by | |
| 64 | - have he : (Y ∘ X) = id := funext hleft | |
| 65 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 66 | - rw [he,fderiv_id,id_comp] at hdY | |
| 67 | - have hy : HasFDerivAt Y (D.deformationEquiv t 0).symm.toContinuousLinearMap (X 0) := | |
| 68 | - hdY ▸ hY.hasFDerivAt | |
| 69 | - have hp : HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 70 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) (Y (X 0)) := by | |
| 71 | - rw [hleft] | |
| 72 | - exact fullWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 73 | - convert! hp.comp (X 0) hy using 1 | |
| 74 | - apply ContinuousLinearMap.ext | |
| 75 | - intro v | |
| 76 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 77 | - congr 2 | |
| 78 | - exact (D.FInv.field t 0).adjoint_inner_left v D.m₀ | |
| 79 | - | |
| 80 | -theorem fullWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 81 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 82 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 83 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 84 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 85 | - (α/δ) * (‖D.normal.field t 0‖ * ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖) := by | |
| 86 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 87 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne,mul_comm | |
| 88 | - ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖ ‖D.normal.field t 0‖] | |
| 89 | - | |
| 90 | -/-- The normalized rank-one expression is exactly the one in the source | |
| 91 | -geometry record, with c=α/δ and the actual primary velocity. -/ | |
| 92 | -theorem fullWave_physical_normalized_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 93 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 94 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 95 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 96 | - (hv : envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 ≠ 0) : | |
| 97 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 98 | - ((α/δ)*(‖D.normal.field t 0‖*‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖)) • | |
| 99 | - rankOne ℝ (unit (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0)) (unit (D.normal.field t 0)) := by | |
| 100 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv] | |
| 101 | - exact rankOne_normalized _ _ _ hv (HistoryData.normal_ne_zero t 0) | |
| 102 | - | |
| 103 | -theorem fullWave_physical_canonical_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 104 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 105 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 106 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 107 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 108 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 109 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 110 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 111 | - rfl | |
| 112 | - | |
| 113 | -theorem fullWave_physical_canonical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 114 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 115 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 116 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 117 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 118 | - (α/δ) * (‖D.normal.field t 0‖ * ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := by | |
| 119 | - rw [fullWave_physical_norm τ hτ hτT B δ hδ ξ hs α k hα hk t X Y hX hY hleft, | |
| 120 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 121 | - rfl | |
| 122 | - | |
| 123 | -/-- The source amplitude choice gives exactly the requested center shear | |
| 124 | -for the genuine primary, at any chosen target time. The size in this | |
| 125 | -choice uses the velocity independent of the narrow profile δ. -/ | |
| 126 | -theorem fullWave_target_shear (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) | |
| 127 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 128 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 129 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 130 | - (hv : canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0) : | |
| 131 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs | |
| 132 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t (Y x)) (X 0)‖ = h := by | |
| 133 | - have hm : ‖D.normal.field t 0‖ ≠ 0 := norm_ne_zero_iff.mpr (HistoryData.normal_ne_zero t 0) | |
| 134 | - have hw : ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ ≠ 0 := norm_ne_zero_iff.mpr hv | |
| 135 | - rw [fullWave_physical_canonical_norm τ hτ hτT B δ hδ ξ hs _ k | |
| 136 | - (div_nonneg (mul_nonneg hδ.le hh) (mul_nonneg (norm_nonneg _) (norm_nonneg _))) | |
| 137 | - hk t X Y hX hY hleft] | |
| 138 | - field_simp [hδ.ne',hm,hw] | |
| 139 | - | |
| 140 | 22 | end EulerPacketPrimaryShear |
+0 −47 Euler/PacketPrimaryPressureShear.lean View file
| @@ -63,51 +63,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 63 | 63 | coefficient τ hτ hτT B ξ hs a t x * deriv (profile δ) θ := |
| 64 | 64 | (scalar_deriv_hasDerivAt τ hτ hτT B δ hδ ξ hs a t x θ).deriv |
| 65 | 65 | |
| 66 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 67 | - deriv (deriv (fun s => scalar τ hτ hτT B | |
| 68 | - (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 69 | - coefficient τ hτ hτT B ξ hs a t x / δ := by | |
| 70 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 71 | - | |
| 72 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 73 | - k⁻¹^2 * scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 75 | - | |
| 76 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 77 | - (x : Space) : Space →L[ℝ] Space := | |
| 78 | - lowerHessian (fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 79 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 80 | - | |
| 81 | -/-- The leading term is the literal normal tensor in source (20); the | |
| 82 | -remainder contains only terms with at least one factor of k⁻¹. -/ | |
| 83 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 84 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 85 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t Y)) x = | |
| 86 | - (coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 87 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 88 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t Y x := by | |
| 89 | - let q : LiftTangent → ℝ := fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 90 | - have hq : ContDiff ℝ ∞ q := scalar_smooth τ hτ hτT B _ t | |
| 91 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 92 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 93 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 94 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 95 | - coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 96 | - rw [angularSecond_eq_deriv hq] | |
| 97 | - exact scalar_second_deriv τ hτ hτT B δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 98 | - rw [ha] at hh | |
| 99 | - exact hh | |
| 100 | - | |
| 101 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 102 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 103 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 104 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 105 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 106 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t (Y t))) x = | |
| 107 | - (coefficient τ hτ hτT B ξ hs a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 108 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 109 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t (Y t) x := | |
| 110 | - physicalPressure_hessian τ hτ hτT B δ hδ ξ hs a k hk t (Y t) | |
| 111 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 112 | - | |
| 113 | 66 | end EulerPacketPrimaryPressure |
+0 −22 Euler/PacketPrimaryScaling.lean View file
| @@ -57,26 +57,4 @@ theorem vector_terminal_smul (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 57 | 57 | H.orbit (G.smul a).orbit t t (congrArg (fun p => p t) hp)) (x,(θ : AddCircle period)) |
| 58 | 58 | exact (H.raw_eq t x θ).trans (he.trans ((G.smul a).raw_eq t x θ).symm) |
| 59 | 59 | |
| 60 | -theorem scaled_terminal_wave_eq (a k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 61 | - (fun x : Space => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 62 | - (t,(x,k*⟪D.m₀,x⟫_ℝ))) = fullWave τ hτ hτT B δ hδ ξ hs a k t := by | |
| 63 | - funext x | |
| 64 | - rw [vector_terminal_smul τ hτ hτT B δ hδ ξ hs] | |
| 65 | - simp only [fullWave,smul_smul,div_eq_mul_inv,mul_comm] | |
| 66 | - | |
| 67 | -/-- This derivative belongs to the literal primary used by the initialized | |
| 68 | -packet, where the amplitude is inserted in its terminal datum. -/ | |
| 69 | -theorem scaled_terminal_physical_gradient (a k : ℝ) (hk : k ≠ 0) | |
| 70 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 71 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 72 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 73 | - fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))) (X 0) = | |
| 75 | - (a/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 76 | - have he := scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs a k t | |
| 77 | - change fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 78 | - (initialData D δ hδ (a • ξ) hs) (t,(x,k*⟪D.m₀,x⟫_ℝ))) ∘ Y) (X 0) = _ | |
| 79 | - rw [he] | |
| 80 | - exact fullWave_physical_canonical_gradient τ hτ hτT B δ hδ ξ hs a k hk t X Y hX hY hleft | |
| 81 | - | |
| 82 | 60 | end EulerPacketPrimaryShear |
+0 −109 Euler/PacketPrimaryShearIdentity.lean View file
| @@ -17,48 +17,6 @@ open Set Filter InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 17 | 17 | EulerSpatialCutoffs EulerPeriodicProfile |
| 18 | 18 | open scoped ContDiff |
| 19 | 19 | |
| 20 | -theorem zero_slice_hasFDerivAt (A : Space × ℝ → Space) (x a : Space) | |
| 21 | - (hA : DifferentiableAt ℝ A (x,0)) (hzero : ∀ y, A (y,0)=0) | |
| 22 | - (ha : HasDerivAt (fun θ : ℝ => A (x,θ)) a 0) : | |
| 23 | - HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (x,0) := by | |
| 24 | - have hs := hA.hasFDerivAt.comp x | |
| 25 | - ((hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const (0 : ℝ) x)) | |
| 26 | - have he : (fun y => A (y,0)) = fun _ : Space => (0 : Space) := funext hzero | |
| 27 | - change HasFDerivAt (fun y => A (y,0)) ((fderiv ℝ A (x,0)).comp (inl ℝ Space ℝ)) x at hs | |
| 28 | - rw [he] at hs | |
| 29 | - have hspace : ∀ v : Space, fderiv ℝ A (x,0) (v,0)=0 := by | |
| 30 | - intro v | |
| 31 | - have h := congrArg (fun L : Space →L[ℝ] Space => L v) | |
| 32 | - (hs.unique (hasFDerivAt_const (0 : Space) x)) | |
| 33 | - exact h | |
| 34 | - have ht := hA.hasFDerivAt.comp_hasDerivAt (0 : ℝ) | |
| 35 | - ((hasDerivAt_const (0 : ℝ) x).prodMk (hasDerivAt_id (0 : ℝ))) | |
| 36 | - have hangle : fderiv ℝ A (x,0) (0,1)=a := ht.unique ha | |
| 37 | - have hd : fderiv ℝ A (x,0) = (toSpanSingleton ℝ a).comp (snd ℝ Space ℝ) := by | |
| 38 | - apply ContinuousLinearMap.ext | |
| 39 | - rintro ⟨v,s⟩ | |
| 40 | - have hp : (v,s) = (v,(0 : ℝ))+s•((0 : Space),(1 : ℝ)) := by simp | |
| 41 | - rw [hp,map_add,map_smul,hspace,hangle] | |
| 42 | - simp | |
| 43 | - exact hd ▸ hA.hasFDerivAt | |
| 44 | - | |
| 45 | -theorem zero_phase_graph_hasFDerivAt (A : Space × ℝ → Space) (a m : Space) | |
| 46 | - (hA : DifferentiableAt ℝ A (0,0)) (hzero : ∀ y, A (y,0)=0) | |
| 47 | - (ha : HasDerivAt (fun θ : ℝ => A (0,θ)) a 0) (c k : ℝ) : | |
| 48 | - HasFDerivAt (fun y => c • A (y,k*⟪m,y⟫_ℝ)) ((c*k) • rankOne ℝ a m) 0 := by | |
| 49 | - have hp : HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (graphMap k m 0) := by | |
| 50 | - rw [map_zero] | |
| 51 | - change HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (0,0) | |
| 52 | - exact zero_slice_hasFDerivAt A 0 a hA hzero ha | |
| 53 | - have h := (hp.comp 0 (graphMap k m).hasFDerivAt).const_smul c | |
| 54 | - convert! h using 1 | |
| 55 | - apply ContinuousLinearMap.ext | |
| 56 | - intro v | |
| 57 | - simp only [smul_apply,comp_apply,toSpanSingleton_apply,coe_snd',graphMap_apply, | |
| 58 | - rankOne_apply,smul_smul] | |
| 59 | - congr 1 | |
| 60 | - ring | |
| 61 | - | |
| 62 | 20 | theorem rankOne_normalized (c : ℝ) (v m : Space) (hv : v ≠ 0) (hm : m ≠ 0) : |
| 63 | 21 | c • rankOne ℝ v m = |
| 64 | 22 | (c*(‖m‖*‖v‖)) • rankOne ℝ (unit v) (unit m) := by |
| @@ -73,71 +31,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 73 | 31 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 74 | 32 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 75 | 33 | |
| 76 | -/-- The literal leading primary on the physical phase graph in label coordinates. -/ | |
| 77 | -def historyWave (α k : ℝ) (t : Icc (0 : ℝ) τ) (y : Space) : Space := | |
| 78 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 79 | - | |
| 80 | -theorem historyWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) τ) : | |
| 81 | - HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 82 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) 0 := by | |
| 83 | - let A : Space × ℝ → Space := fun z => | |
| 84 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 85 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 86 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth | |
| 87 | - ⟨t,t.property.1,t.property.2.trans hτT.le⟩).differentiable (by simp) (0,0) | |
| 88 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 89 | - intro y | |
| 90 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 91 | - rw [vector_compact_wave_history] | |
| 92 | - simp [profile] | |
| 93 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) (δ⁻¹ • B.coefficients.labelVelocity 0 ξ t) 0 := by | |
| 94 | - simpa only [A,innerCutoff_zero,one_mul] using | |
| 95 | - angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0 | |
| 96 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 97 | - have hc : α/k*k=α := by field_simp | |
| 98 | - rw [hc] at h | |
| 99 | - convert! h using 1 | |
| 100 | - apply ContinuousLinearMap.ext | |
| 101 | - intro v | |
| 102 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 103 | - congr 1 | |
| 104 | - rw [div_eq_mul_inv] | |
| 105 | - ring | |
| 106 | - | |
| 107 | -/-- The physical gradient uses the actual inverse Jacobian, producing the | |
| 108 | -normal F⁻ᵀm₀ rather than the initial direction m₀. -/ | |
| 109 | -theorem historyWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 110 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 111 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 112 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 113 | - HasFDerivAt (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 114 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) | |
| 115 | - (D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0)) (X 0) := by | |
| 116 | - let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ | |
| 117 | - have he : (Y ∘ X) = id := funext hleft | |
| 118 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv tg 0) 0 hX hY | |
| 119 | - rw [he,fderiv_id,id_comp] at hdY | |
| 120 | - have hy : HasFDerivAt Y (D.deformationEquiv tg 0).symm.toContinuousLinearMap (X 0) := | |
| 121 | - hdY ▸ hY.hasFDerivAt | |
| 122 | - have hp : HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 123 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) (Y (X 0)) := by | |
| 124 | - rw [hleft] | |
| 125 | - exact historyWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 126 | - convert! hp.comp (X 0) hy using 1 | |
| 127 | - apply ContinuousLinearMap.ext | |
| 128 | - intro v | |
| 129 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 130 | - congr 2 | |
| 131 | - exact (D.FInv.field tg 0).adjoint_inner_left v D.m₀ | |
| 132 | - | |
| 133 | -theorem historyWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 134 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 135 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 136 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 137 | - ‖fderiv ℝ (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 138 | - (α/δ) * (‖B.coefficients.labelVelocity 0 ξ t‖ * | |
| 139 | - ‖D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0‖) := by | |
| 140 | - rw [(historyWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 141 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne] | |
| 142 | - | |
| 143 | 34 | end EulerPacketPrimaryShear |
+0 −9 Euler/PacketPrimaryUncut.lean View file
| @@ -152,13 +152,4 @@ theorem uncutVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) (x : Spac | ||
| 152 | 152 | erw [uncutVelocity_history] at hz |
| 153 | 153 | exact hs hz |
| 154 | 154 | |
| 155 | -theorem vector_uncut_factorization (δ : ℝ) (hδ : 0 < δ) (a : ℝ) | |
| 156 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 157 | - vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,(x,θ)) = | |
| 158 | - (a*innerCutoff x*profile δ θ) • uncutVelocity τ hτ hτT B ξ t x := by | |
| 159 | - rw [vector_terminal_smul,vector_factorization_canonical,canonicalVelocity_eq_cutoff_uncut] | |
| 160 | - simp only [smul_smul] | |
| 161 | - congr 1 | |
| 162 | - ring | |
| 163 | - | |
| 164 | 155 | end EulerPacketPrimaryFactorization |
+0 −8 Euler/PacketProfileBudget.lean View file
| @@ -36,14 +36,6 @@ namespace ProfileBudget | ||
| 36 | 36 | |
| 37 | 37 | variable {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 38 | 38 | |
| 39 | -theorem prefixBound {p : ℕ} {a : ℕ → Profile} | |
| 40 | - (G : ∀ i, i < p → ProfileRegularity P T hT support (a i)) | |
| 41 | - (hG : ∀ i (hi : i < p), ProfileBudget (G i hi) S R i) : | |
| 42 | - PrefixBound (ProfileRegularity.prefixFields G) hT S R where | |
| 43 | - high i hi _ := (hG i hi).high | |
| 44 | - mean i hi _ := (hG i hi).mean | |
| 45 | - corrector i hi _ := (hG i hi).corrector | |
| 46 | - | |
| 47 | 39 | theorem transfer {p : ℕ} {support' : Set Space} (hTpos : 0 < T) |
| 48 | 40 | {G : ProfileRegularity P T hT support a} (hG : ProfileBudget G S R p) |
| 49 | 41 | (H : ProfileRegularity P T hT support' a) : ProfileBudget H S R p where |
+0 −9 Euler/PacketProfileParity.lean View file
| @@ -47,15 +47,6 @@ variable {P T : ℝ} [Fact (0 < P)] {S : Set Space} {a : Profile} | ||
| 47 | 47 | |
| 48 | 48 | include H |
| 49 | 49 | |
| 50 | -theorem highDerivative_odd : JointOdd T G.high_t := | |
| 51 | - G.high.timeDerivative_odd G.highDerivative hT G.high_time H.high | |
| 52 | - | |
| 53 | -theorem meanDerivative_odd : JointOdd T G.mean_t := | |
| 54 | - G.mean.timeDerivative_odd G.meanDerivative hT G.mean_time H.mean | |
| 55 | - | |
| 56 | -theorem correctorDerivative_odd : JointOdd T G.corrector_t := | |
| 57 | - G.corrector.timeDerivative_odd G.correctorDerivative hT G.corrector_time H.corrector | |
| 58 | - | |
| 59 | 50 | end ProfileParity |
| 60 | 51 | |
| 61 | 52 | theorem JointOdd.changeTime {T T' : ℝ} {raw : VectorField} (H : JointOdd T raw) (h : T = T') : |
+0 −5 Euler/PacketProfileRecursion.lean View file
| @@ -135,11 +135,6 @@ theorem profiles_mean (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ | ||
| 135 | 135 | rw [profiles_step O primary p hp] |
| 136 | 136 | rfl |
| 137 | 137 | |
| 138 | -theorem profiles_high (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : | |
| 139 | - (profiles O primary p).high=(O.highSolve (highForce O p (profiles O primary))).1 := by | |
| 140 | - rw [profiles_step O primary p hp] | |
| 141 | - rfl | |
| 142 | - | |
| 143 | 138 | theorem profiles_corrector (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : |
| 144 | 139 | (profiles O primary p).corrector=O.curlCorrector (profiles O primary p).high := by |
| 145 | 140 | rw [profiles_step O primary p hp] |
+0 −9 Euler/PacketProfileTailGrade.lean View file
| @@ -33,13 +33,4 @@ theorem tail_grade_bound | ||
| 33 | 33 | (G N le_rfl).correctorDerivative (G N le_rfl).corrector_time (G N le_rfl).pressure |
| 34 | 34 | (hG N le_rfl hN).correctorDerivative (hG N le_rfl hN).pressure ha hb n hn |
| 35 | 35 | |
| 36 | -theorem literal_tail_grade_bound | |
| 37 | - (hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S R i) | |
| 38 | - (hN : 1 ≤ N) (hR : 1 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) | |
| 39 | - (ha : a 0=0) (hb : (a 1).mean=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 40 | - (literalTailGradeField hT G C ha n hn).WordBound 6 R | |
| 41 | - ((1+18*((N+2 : ℕ) : ℝ)^2)*BC.termCost*S.H0^(2*n+2)) (110*(n+1)) := | |
| 42 | - (tail_grade_bound hT G BC hG hN hR hRc ha hb n hn).of_path_eq | |
| 43 | - (literalTailGradeField hT G C ha n hn) (literalTailGradeField_path hT G C ha n hn) | |
| 44 | - | |
| 45 | 36 | end EulerPacketCylinderField.ProfileRegularity |
+0 −9 Euler/PacketRadiusCostPolynomial.lean View file
| @@ -139,14 +139,5 @@ theorem radiusPolynomial_eval (W : ℝ) : radiusPolynomial.eval W=radiusEnvelope | ||
| 139 | 139 | congr 3 |
| 140 | 140 | ring_nf |
| 141 | 141 | |
| 142 | -def radiusConstant : ℝ := coefficientCost radiusPolynomial | |
| 143 | -def radiusPower : ℕ := radiusPolynomial.natDegree | |
| 144 | - | |
| 145 | -theorem radiusConstant_pos : 0 < radiusConstant := coefficientCost_pos _ | |
| 146 | - | |
| 147 | -theorem radiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 148 | - radiusEnvelope W ≤ radiusConstant*W^radiusPower := by | |
| 149 | - rw [← radiusPolynomial_eval] | |
| 150 | - exact (le_abs_self _).trans (eval_bound radiusPolynomial W hW) | |
| 151 | 142 | |
| 152 | 143 | end EulerPacketRadiusPolynomial |
+0 −15 Euler/PacketRecursionAlgebra.lean View file
| @@ -40,21 +40,6 @@ theorem coefficient_assembled (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | ||
| 40 | 40 | simp only [map_add] |
| 41 | 41 | abel |
| 42 | 42 | |
| 43 | -/-- The two actual linear equations imply cancellation; no residual equation is assumed. -/ | |
| 44 | -theorem coefficient_assembled_eq_zero (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | |
| 45 | - (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) | |
| 46 | - (a b c : ℕ → V) (q π : ℕ → Q) (hq : ∀ i ≤ N, H (q i)=0) (fmean : W) | |
| 47 | - (hmean : L (b p)+G (q p)=fmean) | |
| 48 | - (hhigh : L (a p)+H (π p)= | |
| 49 | - -(L (c (p-1))+G (π (p-1))+ | |
| 50 | - convolution (N+1) B (assemble N (fun i => a i+b i) c) | |
| 51 | - (assemble N (fun i => a i+b i) c) p+ | |
| 52 | - convolution (N+1) C (assemble N (fun i => a i+b i) c) | |
| 53 | - (assemble N (fun i => a i+b i) c) (p+1))-fmean) : | |
| 54 | - coefficient (N+1) L G H B C (assemble N (fun i => a i+b i) c) (assemble N q π) p=0 := by | |
| 55 | - rw [coefficient_assembled N p hp hpN L G H B C a b c q π hq, hmean, hhigh] | |
| 56 | - abel | |
| 57 | - | |
| 58 | 43 | theorem coefficient_zero_grade (N : ℕ) (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) |
| 59 | 44 | (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) (u : ℕ → V) (q : ℕ → Q) |
| 60 | 45 | (hu0 : u 0=0) (hq0 : G (q 0)=0) (hq1 : H (q 1)=0) : |
+0 −74 Euler/PacketResidualTailActual.lean View file
| @@ -13,57 +13,6 @@ namespace EulerPacketProfileRecursion | ||
| 13 | 13 | |
| 14 | 14 | open Set EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades EulerPacketResidual |
| 15 | 15 | |
| 16 | -theorem slicedJet_assembledVelocity_finite (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) | |
| 17 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 18 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 19 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) (i : ℕ) : | |
| 20 | - slicedJet O.interval (assembledVelocity N a i) z = assembledJets O N a z i := by | |
| 21 | - unfold assembledVelocity | |
| 22 | - rw [slicedJet_assemble O.interval N i _ _ z | |
| 23 | - (fun j hj => (hA j hj).add (hB j hj)) hC] | |
| 24 | - change truncate N (fun j => slicedJet O.interval ((a j).high+(a j).mean) z) i + _ = | |
| 25 | - truncate N (fun j => slicedJet O.interval (a j).high z+slicedJet O.interval (a j).mean z) i + _ | |
| 26 | - by_cases hi : i ≤ N | |
| 27 | - · rw [truncate_of_le _ _ _ hi,truncate_of_le _ _ _ hi,slicedJet_add (hA i hi) (hB i hi)] | |
| 28 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 29 | - | |
| 30 | -theorem slicedMomentumGrade_tail_eq_recursive (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 31 | - (a : ℕ → Profile) (z : Domain) | |
| 32 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 33 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 34 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 35 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 36 | - (assembledVelocity N a) (assembledPressure N a) z n = recursiveGrade O N a z n := by | |
| 37 | - have hv : (fun i => slicedJet O.interval (assembledVelocity N a i) z) = assembledJets O N a z := | |
| 38 | - funext (slicedJet_assembledVelocity_finite O N a z hA hB hC) | |
| 39 | - have hg : truncate (N+1) | |
| 40 | - (fun i => slowPressure (O.inverseFrame z) (pressureJet (assembledPressure N a i) z)) n = | |
| 41 | - truncate (N+1) (fun i => slowPressure (O.inverseFrame z) (pressureJets N a z i)) n := by | |
| 42 | - by_cases he : n=N+1 | |
| 43 | - · subst n | |
| 44 | - rw [truncate_of_le _ _ _ le_rfl,truncate_of_le _ _ _ le_rfl] | |
| 45 | - unfold assembledPressure pressureJets | |
| 46 | - rw [assemble_last,assemble_last] | |
| 47 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 48 | - unfold slicedMomentumGrade | |
| 49 | - rw [hv] | |
| 50 | - unfold recursiveGrade coefficient | |
| 51 | - rw [hg,shiftDown_above (N+1) n _ hn,shiftDown_above (N+1) n _ hn] | |
| 52 | - | |
| 53 | -theorem slicedMomentumGrade_tail (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 54 | - (a : ℕ → Profile) (ha : a 0=0) (z : Domain) | |
| 55 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 56 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 57 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 58 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 59 | - (assembledVelocity N a) (assembledPressure N a) z n = | |
| 60 | - (if n=N+1 then | |
| 61 | - linearPart (O.strain z) (slicedJet O.interval (a N).corrector z)+ | |
| 62 | - slowPressure (O.inverseFrame z) (pressureJet (a N).highPressure z) else 0) + | |
| 63 | - nonlinearGrade (N+1) n (O.inverseFrame z) (O.normal z) (knownJets O (N+1) a z) := | |
| 64 | - (slicedMomentumGrade_tail_eq_recursive O N n hn a z hA hB hC).trans | |
| 65 | - (recursiveGrade_tail O N n hn a ha z) | |
| 66 | - | |
| 67 | 16 | end EulerPacketProfileRecursion |
| 68 | 17 | |
| 69 | 18 | namespace EulerPacketCylinderField.ProfileRegularity |
| @@ -72,27 +21,4 @@ open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion | ||
| 72 | 21 | |
| 73 | 22 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {N : ℕ} {a : ℕ → Profile} {S : Set Space} |
| 74 | 23 | |
| 75 | -def literalTailGradeField (hT : 0 < T) | |
| 76 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 77 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 78 | - Field P T (fun z => slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 79 | - (assembledVelocity N a) (assembledPressure N a) z n) := by | |
| 80 | - refine (tailGradeField hT G C ha n hn).congr ?_ | |
| 81 | - intro t x θ | |
| 82 | - apply slicedMomentumGrade_tail_eq_recursive O N n hn a (t,(x,θ)) | |
| 83 | - · intro i hi | |
| 84 | - rw [C.interval_eq] | |
| 85 | - exact (G i hi).high.sliceDifferentiable (G i hi).highDerivative hT.le (G i hi).high_time t x θ | |
| 86 | - · intro i hi | |
| 87 | - rw [C.interval_eq] | |
| 88 | - exact (G i hi).mean.sliceDifferentiable (G i hi).meanDerivative hT.le (G i hi).mean_time t x θ | |
| 89 | - · intro i hi | |
| 90 | - rw [C.interval_eq] | |
| 91 | - exact (G i hi).corrector.sliceDifferentiable (G i hi).correctorDerivative hT.le (G i hi).corrector_time t x θ | |
| 92 | - | |
| 93 | -theorem literalTailGradeField_path (hT : 0 < T) | |
| 94 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 95 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 96 | - (literalTailGradeField hT G C ha n hn).path = (tailGradeField hT G C ha n hn).path := rfl | |
| 97 | - | |
| 98 | 24 | end EulerPacketCylinderField.ProfileRegularity |
+0 −4 Euler/PacketResidualTailFields.lean View file
| @@ -59,10 +59,6 @@ theorem PrefixFields.tailGradeField_path (F : PrefixFields P T (N+1) a) | ||
| 59 | 59 | |
| 60 | 60 | def tailGrades (N : ℕ) : Finset ℕ := Ico (N+1) (2*N+3) |
| 61 | 61 | |
| 62 | -theorem tailGrades_card (N : ℕ) : (tailGrades N).card = N+2 := by | |
| 63 | - simp only [tailGrades, Nat.card_Ico] | |
| 64 | - omega | |
| 65 | - | |
| 66 | 62 | def PrefixFields.tailSumField (F : PrefixFields P T (N+1) a) |
| 67 | 63 | (C : CoefficientData P T O) (hT : 0 < T) {corrector_t : VectorField} |
| 68 | 64 | (Ct : Field P T corrector_t) |
+0 −25 Euler/PacketScalarPressureGrade.lean View file
| @@ -132,19 +132,6 @@ theorem Budget.angular_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | ||
| 132 | 132 | simpa only [angularField,Field.WordBound,Field.normalized_path, |
| 133 | 133 | show highShift p-1+1=highShift p by unfold highShift; omega] using hh |
| 134 | 134 | |
| 135 | -theorem Budget.scalar_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | |
| 136 | - (N : NormalBudget D 6 L.R) (W : Budget.GradeGuards (P := P) L N) | |
| 137 | - (G : Forcing P D raw) (F : Field P D.T raw) (c : ℝ) (hc : 0 < c) | |
| 138 | - (p : ℕ) (hp : 2 ≤ p) | |
| 139 | - (hforce : (F.normalized D.T_pos.le (c • L.fullProfile) | |
| 140 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 141 | - 6 L.R 1 (highForceShift p)) : | |
| 142 | - ((scalarField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 143 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 144 | - 6 L.R 1 (highShift p) := | |
| 145 | - (L.scalar_grade_bound_pred N W G F c hc p hp hforce).mono_shift | |
| 146 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 147 | - | |
| 148 | 135 | end EulerTransversePacketJoin |
| 149 | 136 | |
| 150 | 137 | namespace EulerTransversePacketPrimary |
| @@ -209,16 +196,4 @@ theorem Budget.angular_grade_bound | ||
| 209 | 196 | (H.scalar_grade_bound_pred N C W Y α hα hYb) |
| 210 | 197 | exact hh |
| 211 | 198 | |
| 212 | -theorem Budget.scalar_grade_bound | |
| 213 | - {L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6} | |
| 214 | - (H : Budget L) (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (C : ℝ) | |
| 215 | - (W : Budget.GradeGuards (P := P) H N C) | |
| 216 | - (Y : InitialData P D) (α : ℝ) (hα : 0 < α) | |
| 217 | - (hYb : ∀ n, block standardDirection 6 | |
| 218 | - (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ (α*C)*majorant L.R 0 n) : | |
| 219 | - ((scalarField τ hτ hτT B Y).normalized D.T_pos.le (α • L.fullProfile) | |
| 220 | - (smul_profile_pos L.fullProfile L.fullProfile_pos α hα)).WordBound 6 L.R 1 (highShift 1) := | |
| 221 | - (H.scalar_grade_bound_pred N C W Y α hα hYb).mono_shift | |
| 222 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 223 | - | |
| 224 | 199 | end EulerTransversePacketPrimary |
+0 −16 Euler/PacketScalarPressureGradient.lean View file
| @@ -104,20 +104,4 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 104 | 104 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 105 | 105 | (he : ∀ (t : Icc (0 : ℝ) D.T) x θ, p (t,(x,θ)) = scalarPointField P q hq t (x,(θ : AddCircle P))) |
| 106 | 106 | |
| 107 | -def compactPressureField : Field P D.T (coordinatePressure D k p) := | |
| 108 | - ((liftedGradientField P p q hq he k⁻¹ D.m₀).smul (k^2)).congr (fun t x θ => by | |
| 109 | - change k • pressureGradient p (t,(x,θ)) + | |
| 110 | - k^2 • ((pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) = | |
| 111 | - k^2 • (k⁻¹ • pressureGradient p (t,(x,θ)) + | |
| 112 | - (pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) | |
| 113 | - simp only [smul_add,smul_smul] | |
| 114 | - rw [show k^2*k⁻¹ = k by field_simp [hk]]) | |
| 115 | - | |
| 116 | -theorem compactPressureField_mem (S : Set Space) (hS : IsCompact S) | |
| 117 | - (hz : ∀ (t : Icc (0 : ℝ) D.T) x, x ∉ S → ∀ θ, p (t,(x,θ)) = 0) | |
| 118 | - (t : Icc (0 : ℝ) D.T) : | |
| 119 | - (compactPressureField D k hk p q hq he).path t ∈ gradientSpace P k⁻¹ D.m₀ := | |
| 120 | - (gradientSpace P k⁻¹ D.m₀).smul_mem (k^2) | |
| 121 | - (liftedGradientField_mem P p q hq he k⁻¹ D.m₀ S hS hz t) | |
| 122 | - | |
| 123 | 107 | end EulerPacketCoordinates |
+0 −22 Euler/PacketScaledRay.lean View file
| @@ -35,28 +35,6 @@ theorem scaledRayRate_algebra {a ε s₀ : ℝ} (ha : a ≠ 0) (hε : ε ≠ 0) | ||
| 35 | 35 | def scaledRay (m v r : ℝ → Space) (s₀ t₀ a ε τ : ℝ) (i : Fin 3) : ℝ := |
| 36 | 36 | movingRay m v r (physicalTime t₀ a ε τ) i / (s₀*rayScale ε i) |
| 37 | 37 | |
| 38 | -/-- The physical ODE supplies exactly the scaled coefficient matrix whose | |
| 39 | -entrywise errors are controlled in the existing propagation proof. -/ | |
| 40 | -theorem scaledRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 41 | - {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} | |
| 42 | - (ha : a ≠ 0) (hε : ε ≠ 0) (hs₀ : s₀ ≠ 0) | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 44 | - (hv : HasDerivAt v (-B (v (physicalTime t₀ a ε τ)) + | |
| 45 | - (2*⟪m (physicalTime t₀ a ε τ),B (v (physicalTime t₀ a ε τ))⟫_ℝ / | |
| 46 | - ‖m (physicalTime t₀ a ε τ)‖^2) • m (physicalTime t₀ a ε τ)) (physicalTime t₀ a ε τ)) | |
| 47 | - (hr : HasDerivAt r (-M.adjoint (r (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 48 | - (hm0 : m (physicalTime t₀ a ε τ) ≠ 0) (hv0 : v (physicalTime t₀ a ε τ) ≠ 0) | |
| 49 | - (hmv : ⟪m (physicalTime t₀ a ε τ),v (physicalTime t₀ a ε τ)⟫_ℝ = 0) (i : Fin 3) : | |
| 50 | - HasDerivAt (fun σ => scaledRay m v r s₀ t₀ a ε σ i) | |
| 51 | - (∑ j : Fin 3, scaledRayEntry a ε | |
| 52 | - (frameMatrix M (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ)))) | |
| 53 | - (frameSkew (frameMatrix B (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ))))) | |
| 54 | - i j * scaledRay m v r s₀ t₀ a ε τ j) τ := by | |
| 55 | - have h := ((movingRay_hasDerivAt B M hm hv hr hm0 hv0 hmv i).comp τ | |
| 56 | - (physicalTime_hasDerivAt t₀ a ε τ)).div_const (s₀*rayScale ε i) | |
| 57 | - rw [scaledRayRate_algebra ha hε hs₀] at h | |
| 58 | - simpa only [scaledRay, Function.comp_def] using h | |
| 59 | - | |
| 60 | 38 | /-- The same rescaling for actual one-sided time derivatives. -/ |
| 61 | 39 | theorem scaledRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 62 | 40 | {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} {S U : Set ℝ} |
+0 −20 Euler/PacketScaledVelocitySystem.lean View file
| @@ -91,24 +91,4 @@ theorem scaledVelocity_firstTwo_hasDerivWithinAt (B M : Space →L[ℝ] Space) | ||
| 91 | 91 | rw [scaledVelocityRhs_second _ _ _ _ _ hthird] at h |
| 92 | 92 | exact h |
| 93 | 93 | |
| 94 | -/-- The flux identity is valid with the actual one-sided endpoint derivatives | |
| 95 | -of packet paths, as well as in the interior. -/ | |
| 96 | -theorem velocity_scalar_flux_within | |
| 97 | - {β t u₁ v₁ : ℝ} {U V : ℝ → ℝ} {S : Set ℝ} | |
| 98 | - (hU : HasDerivWithinAt U u₁ S t) (hV : HasDerivWithinAt V v₁ S t) : | |
| 99 | - HasDerivWithinAt V (-U t + (v₁ + U t)) S t ∧ | |
| 100 | - HasDerivWithinAt (fun s => (1 + (β * s ^ 2) ^ 2) * (-U s)) | |
| 101 | - (2 * (1 - β * (β * t ^ 2)) * V t + (1 + (β * t ^ 2) ^ 2) * | |
| 102 | - (-u₁ + idealVelocityFirst β t (U t) (V t))) S t := by | |
| 103 | - refine ⟨hV.congr_deriv (by ring), ?_⟩ | |
| 104 | - have hD : HasDerivAt (fun s : ℝ => 1 + (β * s ^ 2) ^ 2) (4 * β ^ 2 * t ^ 3) t := by | |
| 105 | - convert! ((((hasDerivAt_id t).pow 2).const_mul β).pow 2).const_add 1 using 1 | |
| 106 | - simp only [Pi.pow_apply, id_eq] | |
| 107 | - ring | |
| 108 | - apply (hD.hasDerivWithinAt.mul hU.neg).congr_deriv | |
| 109 | - have hden : 1 + (β * t ^ 2) ^ 2 ≠ 0 := by positivity | |
| 110 | - dsimp [idealVelocityFirst] | |
| 111 | - field_simp | |
| 112 | - ring | |
| 113 | - | |
| 114 | 94 | end EulerPacketMovingFrame |
+0 −18 Euler/PacketShiftArithmetic.lean View file
| @@ -10,23 +10,11 @@ def meanShift (p : ℕ) : ℕ := 100*p-140 | ||
| 10 | 10 | def highForceShift (p : ℕ) : ℕ := highShift p-10 |
| 11 | 11 | def meanForceShift (p : ℕ) : ℕ := meanShift p-10 |
| 12 | 12 | |
| 13 | -theorem primary_shift : highShift 1=20 := rfl | |
| 14 | - | |
| 15 | 13 | theorem slow_high_high_room (i j p : ℕ) (hi : 1 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : |
| 16 | 14 | highShift i+highShift j+2+8 ≤ meanForceShift p := by |
| 17 | 15 | dsimp only [highShift, meanShift, meanForceShift] |
| 18 | 16 | omega |
| 19 | 17 | |
| 20 | -theorem slow_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : | |
| 21 | - meanShift i+highShift j+2+8 ≤ meanForceShift p := by | |
| 22 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 23 | - omega | |
| 24 | - | |
| 25 | -theorem slow_mean_mean_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p) : | |
| 26 | - meanShift i+meanShift j+2+8 ≤ meanForceShift p := by | |
| 27 | - dsimp only [meanShift, meanForceShift] | |
| 28 | - omega | |
| 29 | - | |
| 30 | 18 | theorem fast_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p+1) : |
| 31 | 19 | meanShift i+highShift j+2+8 ≤ highForceShift p := by |
| 32 | 20 | dsimp only [highShift, meanShift, highForceShift] |
| @@ -37,12 +25,6 @@ theorem fast_corrector_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp | ||
| 37 | 25 | dsimp only [highShift, meanShift, meanForceShift] |
| 38 | 26 | omega |
| 39 | 27 | |
| 40 | -theorem fast_corrector_corrector_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 41 | - (hp : i+j=p+1) : | |
| 42 | - highShift (i-1)+highShift (j-1)+2+8 ≤ meanForceShift p := by | |
| 43 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 44 | - omega | |
| 45 | - | |
| 46 | 28 | theorem previous_linear_room (p : ℕ) (hp : 2 ≤ p) : |
| 47 | 29 | highShift (p-1)+2+8 ≤ meanForceShift p := by |
| 48 | 30 | dsimp only [highShift, meanShift, meanForceShift] |
+0 −94 Euler/PacketShortTimePropagator.lean View file
| @@ -21,100 +21,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 21 | 21 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 22 | 22 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 23 | 23 | |
| 24 | -def shortTimeRate (C C₁ : ℝ) : ℝ := 2*(1+3*C^2)^2*C*C₁ | |
| 25 | - | |
| 26 | -theorem shortTimeRate_nonneg (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) : | |
| 27 | - 0 ≤ shortTimeRate C C₁ := by | |
| 28 | - unfold shortTimeRate | |
| 29 | - positivity | |
| 30 | - | |
| 31 | 24 | variable (D : Data U) |
| 32 | 25 | |
| 33 | -theorem sourceGenerator_norm_le (C C₁ : ℝ) (hC : 0 ≤ C) (_hC₁ : 0 ≤ C₁) | |
| 34 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 35 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 36 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 37 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 38 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ | |
| 39 | - shortTimeRate C C₁ := by | |
| 40 | - have hQ : ‖D.frame.field t x‖ ≤ C := by | |
| 41 | - simpa only [norm_iteratedFDeriv_zero] using D.frame_spatial_bound 0 C | |
| 42 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF r y) t x | |
| 43 | - have hQ₁ : ‖D.frameDerivative.field t x‖ ≤ C₁ := by | |
| 44 | - simpa only [norm_iteratedFDeriv_zero] using D.frameDerivative_spatial_bound 0 C₁ | |
| 45 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF₁ r y) t x | |
| 46 | - have hi := (gramInverse_norm (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 47 | - (D.frame_lower t x)).trans (D.frameLower_inv_le_of_frame C hC hdet hF) | |
| 48 | - have hprod : ‖(D.frame.field t x).adjoint.comp (D.frameDerivative.field t x)‖ ≤ C*C₁ := by | |
| 49 | - apply (opNorm_comp_le _ _).trans | |
| 50 | - rw [LinearIsometryEquiv.norm_map] | |
| 51 | - exact mul_le_mul hQ hQ₁ (norm_nonneg _) hC | |
| 52 | - change ‖(-2 : ℝ) • (gramInverse (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 53 | - (D.frame_lower t x)).comp ((D.frame.field t x).adjoint.comp (D.frameDerivative.field t x))‖ ≤ _ | |
| 54 | - rw [norm_smul] | |
| 55 | - norm_num only [Real.norm_eq_abs] | |
| 56 | - apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans | |
| 57 | - (mul_le_mul hi hprod (norm_nonneg _) (sq_nonneg _))) (by norm_num)).trans_eq | |
| 58 | - unfold shortTimeRate | |
| 59 | - ring | |
| 60 | - | |
| 61 | -/-- A localized coefficient bound suffices; no estimate outside S enters. -/ | |
| 62 | -theorem propagator_norm_le_two (S : Set Space) (L : ℝ) (hL : 0 ≤ L) | |
| 63 | - (hB : ∀ t : Icc (0 : ℝ) D.T, ∀ x ∈ S, | |
| 64 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ L) | |
| 65 | - (hshort : L*D.T ≤ 1/2) | |
| 66 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : | |
| 67 | - ‖propagator D t s x‖ ≤ 2 := by | |
| 68 | - let B := sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 69 | - apply (propagator D t s x).opNorm_le_bound (by norm_num) | |
| 70 | - intro v | |
| 71 | - let f' : ℝ → U := fun r => extendPath D.T D.T_pos.le B r x (coordinate D s x v r) | |
| 72 | - have hd (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 73 | - HasDerivWithinAt (coordinate D s x v) (f' r) (Icc (0 : ℝ) D.T) r := by | |
| 74 | - simpa only [f',extendPath,projIcc_of_mem D.T_pos.le hr] using | |
| 75 | - coordinate_hasDerivWithinAt D s ⟨r,hr⟩ x v | |
| 76 | - have hb (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 77 | - ‖f' r‖ ≤ L*‖coordinate D s x v r‖ := by | |
| 78 | - simp only [f',extendPath,projIcc_of_mem D.T_pos.le hr] | |
| 79 | - exact ((B ⟨r,hr⟩ x).le_opNorm _).trans | |
| 80 | - (mul_le_mul_of_nonneg_right (hB ⟨r,hr⟩ x hx) (norm_nonneg _)) | |
| 81 | - have h := EulerShortTimeLinearGrowth.norm_le_two D.T L hL (coordinate D s x v) f' | |
| 82 | - hd hb hshort s t hst | |
| 83 | - simpa only [coordinate_at,propagator_self] using h | |
| 84 | - | |
| 85 | -theorem propagator_norm_le_two_of_deformation (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 86 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 87 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 88 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 89 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) | |
| 90 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) : | |
| 91 | - ‖propagator D t s x‖ ≤ 2 := | |
| 92 | - propagator_norm_le_two D univ (shortTimeRate C C₁) (shortTimeRate_nonneg C C₁ hC hC₁) | |
| 93 | - (fun r y _ => sourceGenerator_norm_le D C C₁ hC hC₁ hdet hF hF₁ r y) | |
| 94 | - hshort t s hst x (mem_univ _) | |
| 95 | - | |
| 96 | -/-- The full source forward budget for g=1. All homogeneous propagation | |
| 97 | -estimates are proved from the displayed shortness condition. -/ | |
| 98 | -def shortTimeForwardBudget (q : ℕ) (R C C₁ : ℝ) | |
| 99 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 100 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 101 | - (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant R 0 n) | |
| 102 | - (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant R 0 n) | |
| 103 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 104 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) | |
| 105 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) : | |
| 106 | - EulerTransversePacketForward.Budget D (Fin 4) q := by | |
| 107 | - apply EulerPacketParentForwardBudget.sourceForwardBudget D q R C C₁ 2 | |
| 108 | - hR hC hC₁ (by norm_num) hdet hF hF₁ (1 : C(Icc (0 : ℝ) D.T,ℝ)) | |
| 109 | - (by intro t; norm_num) (by norm_num) Ω hΩ hΩo hsub hΩball | |
| 110 | - intro t s hst x _ | |
| 111 | - have hf (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F.field r y‖ ≤ C := by | |
| 112 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 113 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 r y | |
| 114 | - have hf₁ (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F₁.field r y‖ ≤ C₁ := by | |
| 115 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 116 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF₁ 0 r y | |
| 117 | - simpa only [ContinuousMap.one_apply,mul_one,div_one,propagator,fundamental] using | |
| 118 | - propagator_norm_le_two_of_deformation D C C₁ hC hC₁ hdet hf hf₁ hshort t s hst x | |
| 119 | - | |
| 120 | 26 | end EulerPacketSourcePropagator |
+0 −16 Euler/PacketSlicedResidual.lean View file
| @@ -21,22 +21,6 @@ def slicedMomentumGrade (s : Set ℝ) (N : ℕ) (FInv M : Space →L[ℝ] Space) | ||
| 21 | 21 | (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) |
| 22 | 22 | (fun i => pressureJet (p i) z) n |
| 23 | 23 | |
| 24 | -theorem slicedMomentum_fieldSum_eq (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 25 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 26 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 27 | - (hs : UniqueDiffWithinAt ℝ s z.1) | |
| 28 | - (hut : ∀ i ≤ N, DifferentiableWithinAt ℝ (fun t => u i (t,z.2)) s z.1) | |
| 29 | - (hux : ∀ i ≤ N, DifferentiableAt ℝ (fun y => u i (z.1,y)) z.2) | |
| 30 | - (hpx : ∀ i ≤ N, DifferentiableAt ℝ (fun y => p i (z.1,y)) z.2) | |
| 31 | - (hu0 : slicedJet s (u 0) z=0) (hp0 : fastPressure m (pressureJet (p 0) z)=0) : | |
| 32 | - slicedMomentumResidual s κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z= | |
| 33 | - evaluate (2*N) κ (slicedMomentumGrade s N FInv M m u p z) := by | |
| 34 | - unfold slicedMomentumResidual | |
| 35 | - rw [slicedJet_fieldSum s N κ u z hs hut hux, pressureJet_fieldSum N κ p z hpx] | |
| 36 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 37 | - (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) | |
| 38 | - (fun i => pressureJet (p i) z) hu0 hp0 | |
| 39 | - | |
| 40 | 24 | /-- This identity is valid at both endpoints when s=[0,T] and T>0. -/ |
| 41 | 25 | theorem slicedMomentum_fieldSum_tail (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) |
| 42 | 26 | (FInv M : Space →L[ℝ] Space) (m : Space) |
+0 −15 Euler/PacketSourceGeometryAssembly.lean View file
| @@ -66,9 +66,6 @@ theorem source_initial_tangent (x : Space) : ⟪sourceRay D x τ,A.sourceVelocit | ||
| 66 | 66 | simpa only [sourceRay,sourceVelocity,hclamp] using |
| 67 | 67 | uncutVelocity_tangent τ hτ hτT H A.terminal ⟨τ,hτ.le,hτT.le⟩ x |
| 68 | 68 | |
| 69 | -theorem sourceVelocity_ne_zero (x : Space) (t : Icc (0 : ℝ) D.T) : A.sourceVelocity x t ≠ 0 := | |
| 70 | - uncutVelocity_ne_zero τ hτ hτT H A.terminal A.terminal_properties.1 t x | |
| 71 | - | |
| 72 | 69 | omit [CompleteSpace U] in |
| 73 | 70 | theorem neighbor_components : |
| 74 | 71 | ‖D.M.derivative.field‖ ≤ P.neighborCost hτ hτT H A.CM A.CH ∧ |
| @@ -229,17 +226,5 @@ def geometryData (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ | ||
| 229 | 226 | initial_velocity_error := fun x => |
| 230 | 227 | (A.source_velocity_initial_error x (hΩ x x.property)).trans A.error_le_scaled_error |
| 231 | 228 | |
| 232 | -theorem geometryData_matrix (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 233 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 234 | - (A.geometryData Ω h0 hΩ).M x t=D.M.field (D.clamp t) x := rfl | |
| 235 | - | |
| 236 | -theorem geometryData_ray (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 237 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 238 | - (A.geometryData Ω h0 hΩ).r x t=D.normal.field (D.clamp t) x := rfl | |
| 239 | - | |
| 240 | -theorem geometryData_velocity (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 241 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 242 | - (A.geometryData Ω h0 hΩ).w x t=uncutVelocity τ hτ hτT H A.terminal t x := rfl | |
| 243 | - | |
| 244 | 229 | end Guards |
| 245 | 230 | end EulerPacketSourceGeometry |
+0 −17 Euler/PacketSourceGeometryGrowth.lean View file
| @@ -69,23 +69,6 @@ theorem exists_geometry_and_growth : | ||
| 69 | 69 | (A.source_interval Ω h0 hΩ) (A.source_horizon Ω h0 hΩ) |
| 70 | 70 | (A.source_strain Ω h0 hΩ) (A.source_normal Ω h0 hΩ) |
| 71 | 71 | |
| 72 | -include A h0 hΩ in | |
| 73 | -theorem exists_physicalGrowth : | |
| 74 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 75 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 76 | - PhysicalGrowth (D.tail τ hτ.le hτT) Ω g | |
| 77 | - (560*P.horizon^10/P.epsilon) := by | |
| 78 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hg⟩ := A.exists_geometry_and_growth Ω h0 hΩ | |
| 79 | - exact ⟨growthProfile (D.tail τ hτ.le hτT) (A.geometryData Ω h0 hΩ) J,hpos,hzero,hg⟩ | |
| 80 | - | |
| 81 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ A.radius) : | |
| 82 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 83 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 84 | - PhysicalGrowth (D.tail τ hτ.le hτT) {x | ‖x‖ ≤ (1/2 : ℝ)} g | |
| 85 | - (560*P.horizon^10/P.epsilon) := by | |
| 86 | - exact A.exists_physicalGrowth {x | ‖x‖ ≤ (1/2 : ℝ)} (by norm_num) | |
| 87 | - (fun _ hx => hx.trans hball) | |
| 88 | - | |
| 89 | 72 | omit [CompleteSpace U] in |
| 90 | 73 | include A in |
| 91 | 74 | theorem growth_constant_pos : 0 < 560*P.horizon^10/P.epsilon := by |
+0 −18 Euler/PacketSourceInitialMean.lean View file
| @@ -46,24 +46,6 @@ theorem joinedSource_mean_initial_support (p : ℕ) (θ : ℝ) : | ||
| 46 | 46 | rw [profiles_step _ _ p hp] |
| 47 | 47 | exact EulerMeanPacketProvider.meanSolve_initial_support M _ h θ |
| 48 | 48 | |
| 49 | -theorem joinedSource_mean_initial_zero (hL : M.L=0) (p : ℕ) (x : Space) (θ : ℝ) : | |
| 50 | - (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (0,(x,θ)) = 0 := by | |
| 51 | - by_cases hp0 : p=0 | |
| 52 | - · subst p | |
| 53 | - simp only [joinedSourceProfiles,profiles_zero] | |
| 54 | - rfl | |
| 55 | - by_cases hp1 : p=1 | |
| 56 | - · subst p | |
| 57 | - simp only [joinedSourceProfiles,profiles_one,hm,Pi.zero_apply] | |
| 58 | - have hp : 2 ≤ p := by omega | |
| 59 | - let h : Nonempty (EulerMeanPacketProvider.Forcing M | |
| 60 | - (meanForce (joinedSourceOperators P M D τ hτ hτT B) p | |
| 61 | - (joinedSourceProfiles P M D τ hτ hτT B primary))) := | |
| 62 | - ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ | |
| 63 | - unfold joinedSourceProfiles | |
| 64 | - rw [profiles_step _ _ p hp] | |
| 65 | - exact EulerMeanPacketProvider.meanSolve_zero_initial M hL _ h x θ | |
| 66 | - | |
| 67 | 49 | end Joined |
| 68 | 50 | |
| 69 | 51 | section Forward |
+0 −15 Euler/PacketSourceParity.lean View file
| @@ -38,19 +38,4 @@ theorem sourceProfiles_parity (hT : M.T = D.T) | ||
| 38 | 38 | ((homogeneousPrimaryRegularity D Iprimary (sourceOperators P M D I) rfl).changeTime hT.symm M.T_pos.le) |
| 39 | 39 | ((homogeneousPrimaryParity D Iprimary (sourceOperators P M D I) rfl hSym hF hDM hIprimary).changeTime hT.symm) p |
| 40 | 40 | |
| 41 | -theorem sourceProfiles_time_derivatives_odd (hT : M.T = D.T) | |
| 42 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 43 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 44 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 45 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 46 | - (hI : reflection P (I.value : CylinderL2 P U) = -(I.value : CylinderL2 P U)) | |
| 47 | - (hIprimary : reflection P (Iprimary.value : CylinderL2 P U) = -(Iprimary.value : CylinderL2 P U)) | |
| 48 | - (p : ℕ) : | |
| 49 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 50 | - JointOdd M.T G.high_t ∧ JointOdd M.T G.mean_t ∧ JointOdd M.T G.corrector_t := by | |
| 51 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 52 | - have H := sourceProfiles_parity P M D I Iprimary hT eM hSym hF hDM hI hIprimary p | |
| 53 | - exact ⟨ProfileParity.highDerivative_odd M.T_pos G H, | |
| 54 | - ProfileParity.meanDerivative_odd M.T_pos G H,ProfileParity.correctorDerivative_odd M.T_pos G H⟩ | |
| 55 | - | |
| 56 | 41 | end EulerPacketCylinderField |
+0 −14 Euler/PacketSourcePrimitiveBounds.lean View file
| @@ -29,13 +29,6 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 29 | 29 | · exact hC1 |
| 30 | 30 | · exact hCI |
| 31 | 31 | |
| 32 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 33 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 34 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 35 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 36 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 37 | - (primitiveEnvelope_power P X hX) | |
| 38 | - | |
| 39 | 32 | end EulerTransversePacketJoin.Budget |
| 40 | 33 | |
| 41 | 34 | namespace EulerTransversePacketForward.Budget |
| @@ -59,11 +52,4 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 59 | 52 | · exact hC1 |
| 60 | 53 | · exact hCI |
| 61 | 54 | |
| 62 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 63 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 64 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 65 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 66 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 67 | - (primitiveEnvelope_power P X hX) | |
| 68 | - | |
| 69 | 55 | end EulerTransversePacketForward.Budget |
+0 −9 Euler/PacketSourceRadiusPolynomial.lean View file
| @@ -337,14 +337,5 @@ theorem sourceRadiusPolynomial_eval (W : ℝ) : sourceRadiusPolynomial.eval W=so | ||
| 337 | 337 | Polynomial.eval_one,inversePolynomial_eval,inverseBlockPolynomial_eval, |
| 338 | 338 | coefficientPolynomial_eval,primitivePolynomial_eval,coeff] |
| 339 | 339 | |
| 340 | -def sourceRadiusConstant : ℝ := coefficientCost sourceRadiusPolynomial | |
| 341 | -def sourceRadiusPower : ℕ := sourceRadiusPolynomial.natDegree | |
| 342 | - | |
| 343 | -theorem sourceRadiusConstant_pos : 0 < sourceRadiusConstant := coefficientCost_pos _ | |
| 344 | - | |
| 345 | -theorem sourceRadiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 346 | - sourceRadiusEnvelope W ≤ sourceRadiusConstant*W^sourceRadiusPower := by | |
| 347 | - rw [← sourceRadiusPolynomial_eval] | |
| 348 | - exact (le_abs_self _).trans (eval_bound sourceRadiusPolynomial W hW) | |
| 349 | 340 | |
| 350 | 341 | end EulerPacketSourceRadius |
+0 −15 Euler/PacketSourceResidualFields.lean View file
| @@ -23,21 +23,6 @@ def sourceTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 23 | 23 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 24 | 24 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn |
| 25 | 25 | |
| 26 | -def sourceLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 27 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 28 | - ((sourceOperators P M D I).inverseFrame z) | |
| 29 | - ((sourceOperators P M D I).strain z) | |
| 30 | - ((sourceOperators P M D I).normal z) | |
| 31 | - (assembledVelocity N (sourceProfiles P M D I Iprimary)) | |
| 32 | - (assembledPressure N (sourceProfiles P M D I Iprimary)) z n) := | |
| 33 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 34 | - (fun i _ => sourceProfileWitness P M D hT I Iprimary i) | |
| 35 | - (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn | |
| 36 | - | |
| 37 | -theorem sourceLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 38 | - (sourceLiteralTailGradeField P M D hT I Iprimary N n hn).path = | |
| 39 | - (sourceTailGradeField P M D hT I Iprimary N n hn).path := rfl | |
| 40 | - | |
| 41 | 26 | def sourceTailSumField (N : ℕ) (κ : ℝ) : |
| 42 | 27 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 43 | 28 | recursiveGrade (sourceOperators P M D I) N (sourceProfiles P M D I Iprimary) z n) := |
+0 −59 Euler/PacketSourceScaleActual.lean View file
| @@ -221,63 +221,4 @@ structure ActualBounds (J D : ℕ) (C c X δ : ℝ) : Prop where | ||
| 221 | 221 | coefficient : ∀ a : ℕ → ℝ, (∀ n, 0 ≤ a n) → (∀ n, a n ≤ 2) → |
| 222 | 222 | SmallSeries (geometryErrorCost J D C c X a) δ |
| 223 | 223 | |
| 224 | -/-- The actual sequence, with both polynomial starting scales, has one | |
| 225 | -choice of J followed by x₀ making every geometry error uniformly and | |
| 226 | -summably small. This is uniform over the allowed frame coefficient a. -/ | |
| 227 | -theorem actual_uniform_choice (D : ℕ) (hD : 1000 ≤ D) (C c : ℝ) | |
| 228 | - (hC : 1 ≤ C) (hc : 0 ≤ c) : | |
| 229 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 230 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ := by | |
| 231 | - obtain ⟨J, hJ, hchoice⟩ := explicit_sequence_uniform_choice C c hC hc 60 | |
| 232 | - refine ⟨J, hJ, ?_⟩ | |
| 233 | - intro δ hδ | |
| 234 | - obtain ⟨Y₀, hY₀, hY⟩ := hchoice (δ/32) (by positivity) | |
| 235 | - have hp : (0:ℝ) < (J-1:ℕ) := by exact_mod_cast (show 0 < J-1 by omega) | |
| 236 | - have hall : ∀ᶠ X : ℝ in atTop, | |
| 237 | - X^1000 ≤ exp (X/((J-1:ℕ):ℝ)^7) ∧ | |
| 238 | - X^D ≤ exp (X/((J-1:ℕ):ℝ)^4) ∧ baseErrorCost J D C X ≤ δ/2 := | |
| 239 | - (eventually_pow_le_exp 1000 (pow_pos hp 7)).and | |
| 240 | - ((eventually_pow_le_exp D (pow_pos hp 4)).and | |
| 241 | - ((baseErrorCost_tendsto_zero J D (by omega) hD C hC).eventually_le_const (by positivity))) | |
| 242 | - obtain ⟨Y₁, hY₁⟩ := eventually_atTop.1 hall | |
| 243 | - refine ⟨max Y₀ Y₁, hY₀.trans (le_max_left _ _), ?_⟩ | |
| 244 | - intro X hX | |
| 245 | - have hXY₀ : Y₀ ≤ X := (le_max_left _ _).trans hX | |
| 246 | - have hXY₁ : Y₁ ≤ X := (le_max_right _ _).trans hX | |
| 247 | - have hX8 : 8 ≤ X := hY₀.trans hXY₀ | |
| 248 | - have hX1 : 1 ≤ X := by linarith only [hX8] | |
| 249 | - have hXp : 0 < X := by linarith only [hX8] | |
| 250 | - have hbase := hY₁ X hXY₁ | |
| 251 | - have hn := hY X hXY₀ | |
| 252 | - have hw : δ/32 ≤ δ := by linarith only [hδ] | |
| 253 | - refine ⟨⟨hn.coefficient.weaken hw, fun a ha ha₂ => (hn.extraTime a ha ha₂).weaken hw, | |
| 254 | - hn.width.weaken hw, hn.parent.weaken hw, hn.good.weaken hw⟩, hbase.1, hbase.2.1, ?_⟩ | |
| 255 | - intro a ha ha₂ | |
| 256 | - let f : ℕ → ℝ := fun n => 16*coefficientCost J C c 60 (scaleSequence J X) n | |
| 257 | - let z : ℕ → ℝ := fun n => if n=0 then baseErrorCost J D C X else 0 | |
| 258 | - have hf : SmallSeries f (δ/2) := by | |
| 259 | - refine ⟨fun n => mul_nonneg (by norm_num) (hn.coefficient.nonneg n), | |
| 260 | - hn.coefficient.summable.mul_left 16, ?_⟩ | |
| 261 | - change (∑' n, 16*coefficientCost J C c 60 (scaleSequence J X) n) ≤ δ/2 | |
| 262 | - rw [tsum_mul_left] | |
| 263 | - nlinarith only [hn.coefficient.total_le] | |
| 264 | - have hz : SmallSeries z (δ/2) := by | |
| 265 | - refine ⟨?_, (hasSum_ite_eq 0 (baseErrorCost J D C X)).summable, ?_⟩ | |
| 266 | - · intro n | |
| 267 | - exact ite_nonneg (baseErrorCost_nonneg J D C X (le_trans zero_le_one hC) hXp.le) le_rfl | |
| 268 | - · change (∑' n : ℕ, if n=0 then baseErrorCost J D C X else 0) ≤ δ/2 | |
| 269 | - rw [tsum_ite_eq] | |
| 270 | - exact hbase.2.2 | |
| 271 | - have hsum : SmallSeries (fun n => f n+z n) δ := by | |
| 272 | - refine ⟨fun n => add_nonneg (hf.nonneg n) (hz.nonneg n), hf.summable.add hz.summable, ?_⟩ | |
| 273 | - rw [hf.summable.tsum_add hz.summable] | |
| 274 | - linarith only [hf.total_le, hz.total_le] | |
| 275 | - apply hsum.mono | |
| 276 | - · intro n | |
| 277 | - unfold geometryErrorCost | |
| 278 | - exact mul_nonneg (geometryError_nonneg J D C c X a n (le_trans zero_le_one hC) hXp) | |
| 279 | - (pow_nonneg (by unfold sourceTheta; positivity) 60) | |
| 280 | - · intro n | |
| 281 | - exact geometryErrorCost_bound J D hJ C c X hC hX1 hc a ha ha₂ hbase.1 hbase.2.1 n | |
| 282 | - | |
| 283 | 224 | end EulerPacketSourceScaleActual |
+0 −77 Euler/PacketSourceScaleChoice.lean View file
| @@ -156,72 +156,6 @@ structure UniformBounds (J : ℕ) (C c : ℝ) (A : ℕ) (x : ℕ → ℝ) (δ : | ||
| 156 | 156 | parent : SmallSeries (parentSquareRatio J x) δ |
| 157 | 157 | good : SmallSeries (goodCost J x) δ |
| 158 | 158 | |
| 159 | -/-- One fixed choice of the starting stage makes all the actual normal-stage | |
| 160 | -coefficient, time, shear-separation and good-interval pressure series small. | |
| 161 | -The initial scale is chosen afterwards, and every later stage is covered. -/ | |
| 162 | -theorem source_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 163 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 164 | - ∀ x : ℕ → ℝ, X₀ ≤ x 0 → | |
| 165 | - (∀ n, x (n+1) = ((J+n : ℕ) : ℝ)^2*x n) → UniformBounds J C c A x δ := by | |
| 166 | - obtain ⟨J, hJ, hchoice⟩ := finite_uniform_choice (sourceCostSpec C c hC A) | |
| 167 | - refine ⟨J, hJ, ?_⟩ | |
| 168 | - intro δ hδ | |
| 169 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice (δ/3) (by positivity) | |
| 170 | - refine ⟨X₀, hX₀, ?_⟩ | |
| 171 | - intro x hx0 hx | |
| 172 | - have hJ1 : 1 ≤ J := by omega | |
| 173 | - have hx1 : ∀ n, 1 ≤ x n := quadratic_growth_one_le J hJ1 x | |
| 174 | - (by linarith only [hX₀, hx0]) hx | |
| 175 | - have hxp : ∀ n, 0 ≤ x n := fun n => le_trans zero_le_one (hx1 n) | |
| 176 | - let f := fun i : SourceCost => (sourceCostSpec C c hC A i).cost J x | |
| 177 | - have hsmall (i : SourceCost) : SmallSeries (f i) (δ/3) := by | |
| 178 | - have hh := hX x hx0 hx i | |
| 179 | - refine ⟨?_, hh.1, hh.2.1⟩ | |
| 180 | - intro n | |
| 181 | - exact monomialCost_nonneg J _ _ _ _ _ _ _ _ x n | |
| 182 | - (sourceCostSpec C c hC A i).C_pos.le (hxp n) | |
| 183 | - have hweak (i : SourceCost) : SmallSeries (f i) δ := | |
| 184 | - (hsmall i).weaken (by linarith only [hδ]) | |
| 185 | - have hsum : SmallSeries (fun n => f .shear n+f .prior n+f .neighbor n) δ := by | |
| 186 | - have hs := ((hsmall .shear).summable.add (hsmall .prior).summable).add (hsmall .neighbor).summable | |
| 187 | - refine ⟨fun n => add_nonneg (add_nonneg ((hsmall .shear).nonneg n) | |
| 188 | - ((hsmall .prior).nonneg n)) ((hsmall .neighbor).nonneg n), hs, ?_⟩ | |
| 189 | - rw [Summable.tsum_add ((hsmall .shear).summable.add (hsmall .prior).summable) | |
| 190 | - (hsmall .neighbor).summable, | |
| 191 | - Summable.tsum_add (hsmall .shear).summable (hsmall .prior).summable] | |
| 192 | - linarith only [(hsmall .shear).total_le, (hsmall .prior).total_le, (hsmall .neighbor).total_le] | |
| 193 | - refine ⟨hsum.mono ?_ ?_, ?_, (hweak .width).mono ?_ ?_, | |
| 194 | - (hweak .parent).mono ?_ ?_, (hweak .good).mono ?_ ?_⟩ | |
| 195 | - · intro n | |
| 196 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 197 | - unfold coefficientCost sourceCoefficientError sourceEpsilon sourceOlderGradient sourcePriorError sourceNeighborError | |
| 198 | - positivity | |
| 199 | - · intro n | |
| 200 | - exact sourceCoefficientError_bound J hJ C c hC hc A x hx1 n | |
| 201 | - · intro a ha ha₂ | |
| 202 | - apply (hweak .extra).mono | |
| 203 | - · intro n | |
| 204 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 205 | - unfold extraTimeCost sourceNextTimeWidth | |
| 206 | - positivity | |
| 207 | - · intro n | |
| 208 | - exact sourceExtraTime_bound J hJ1 C hC A x hx1 n (a n) (ha n) (ha₂ n) | |
| 209 | - · intro n | |
| 210 | - unfold sourceTimeRatio | |
| 211 | - positivity | |
| 212 | - · intro n | |
| 213 | - exact sourceTimeRatio_bound J hJ1 x n | |
| 214 | - · intro n | |
| 215 | - unfold parentSquareRatio | |
| 216 | - positivity | |
| 217 | - · intro n | |
| 218 | - exact (sourceParentSquareRatio_eq J x n).le | |
| 219 | - · intro n | |
| 220 | - unfold goodCost | |
| 221 | - positivity | |
| 222 | - · intro n | |
| 223 | - exact sourceGoodCost_bound J hJ x n (hxp n) | |
| 224 | - | |
| 225 | 159 | /-- The sequence in (37), now constructed rather than supplied. -/ |
| 226 | 160 | def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ |
| 227 | 161 | | 0 => X |
| @@ -232,15 +166,4 @@ def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ | ||
| 232 | 166 | theorem scaleSequence_succ (J : ℕ) (X : ℝ) (n : ℕ) : |
| 233 | 167 | scaleSequence J X (n+1) = ((J+n : ℕ) : ℝ)^2*scaleSequence J X n := rfl |
| 234 | 168 | |
| 235 | -/-- In particular the explicit sequence allows the same simultaneous choice; | |
| 236 | -no recurrence or asymptotic conclusion remains as an input. -/ | |
| 237 | -theorem explicit_sequence_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 238 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 239 | - ∀ X : ℝ, X₀ ≤ X → UniformBounds J C c A (scaleSequence J X) δ := by | |
| 240 | - obtain ⟨J, hJ, hchoice⟩ := source_uniform_choice C c hC hc A | |
| 241 | - refine ⟨J, hJ, ?_⟩ | |
| 242 | - intro δ hδ | |
| 243 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδ | |
| 244 | - exact ⟨X₀, hX₀, fun X hX' => hX (scaleSequence J X) hX' (scaleSequence_succ J X)⟩ | |
| 245 | - | |
| 246 | 169 | end EulerPacketSourceScaleChoice |
+0 −28 Euler/PacketSourceScaleGuards.lean View file
| @@ -207,34 +207,6 @@ theorem stage_guards (J D : ℕ) (hJ : 3 ≤ J) (C c X K δ : ℝ) | ||
| 207 | 207 | · exact compression_of_error_small (ha n) heps.le hθp.le htθ hg hd |
| 208 | 208 | (by simpa only [geometryError, add_assoc] using he0) |
| 209 | 209 | |
| 210 | -/-- All numerical geometry guards are achieved by one fixed stage, then one | |
| 211 | -base scale, uniformly over every frame satisfying the induction invariants. -/ | |
| 212 | -theorem exists_guarded_sequence (D : ℕ) (hD : 1000 ≤ D) (C c K : ℝ) | |
| 213 | - (hC : 4 ≤ C) (hc : 0 ≤ c) (hK : 1 ≤ K) : | |
| 214 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ η : ℝ, 0 < η → ∃ X₀ δ : ℝ, 8 ≤ X₀ ∧ 0 < δ ∧ δ ≤ η ∧ | |
| 215 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ ∧ | |
| 216 | - ∀ a β : ℕ → ℝ, (∀ n, 1/2 ≤ a n) → (∀ n, a n ≤ 2) → | |
| 217 | - (∀ n, 1/2 ≤ β n*scaleSequence J X n^2) → | |
| 218 | - (∀ n, β n*scaleSequence J X n^2 ≤ 2) → | |
| 219 | - ∀ n, StageGuards J D C c X K a β n := by | |
| 220 | - obtain ⟨J, hJ, hchoice⟩ := actual_uniform_choice D hD C c (by linarith only [hC]) hc | |
| 221 | - refine ⟨J, hJ, ?_⟩ | |
| 222 | - intro η hη | |
| 223 | - let δ : ℝ := min η (min (1/2) (1/(1000000*K))) | |
| 224 | - have hδpos : 0 < δ := by dsimp [δ]; positivity | |
| 225 | - have hδη : δ ≤ η := min_le_left _ _ | |
| 226 | - have hδhalf : δ ≤ 1/2 := (min_le_right _ _).trans (min_le_left _ _) | |
| 227 | - have hδinv : δ ≤ 1/(1000000*K) := (min_le_right _ _).trans (min_le_right _ _) | |
| 228 | - have hδK : 1000000*K*δ ≤ 1 := by | |
| 229 | - have hh := (le_div_iff₀ (show 0 < 1000000*K by positivity)).mp hδinv | |
| 230 | - nlinarith only [hh] | |
| 231 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδpos | |
| 232 | - refine ⟨X₀, δ, hX₀, hδpos, hδη, ?_⟩ | |
| 233 | - intro X hXX | |
| 234 | - have hb := hX X hXX | |
| 235 | - exact ⟨hb, fun a β ha ha₂ hβ hβ₂ n => stage_guards J D hJ C c X K δ hC (hX₀.trans hXX) | |
| 236 | - hK hδhalf hδK hb a β ha ha₂ hβ hβ₂ n⟩ | |
| 237 | - | |
| 238 | 210 | /-- Equation (39) gives the actual packet power inequality for the |
| 239 | 211 | constructed sequence, for every fixed polynomial degree and positive |
| 240 | 212 | frequency exponent. The aggregate includes any fixed base constants. -/ |
+0 −4 Euler/PacketSourceScaleShift.lean View file
| @@ -24,10 +24,6 @@ theorem supportScale_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | ||
| 24 | 24 | supportScale (J+r) (scaleSequence J X r) n=supportScale J X (r+n) := by |
| 25 | 25 | simp only [supportScale,scaleSequence_shift,Nat.add_assoc] |
| 26 | 26 | |
| 27 | -theorem spike_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | |
| 28 | - spike (J+r) (scaleSequence J X r) n=spike J X (r+n) := by | |
| 29 | - simp only [spike,scaleSequence_shift,Nat.add_assoc] | |
| 30 | - | |
| 31 | 27 | theorem parameterEnvelope_shift (J : ℕ) (hJ : 1 ≤ J) (C c : ℝ) (p q : ℕ) |
| 32 | 28 | (X : ℝ) (r n : ℕ) : |
| 33 | 29 | parameterEnvelope (J+r) C c p q (scaleSequence J X r) n= |
+0 −10 Euler/PacketSourceSmoothField.lean View file
| @@ -48,14 +48,4 @@ theorem smoothField_jetLp_continuous (n : ℕ) : | ||
| 48 | 48 | simp only [smoothField_jetLp] |
| 49 | 49 | exact (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n).continuous |
| 50 | 50 | |
| 51 | -def smoothCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 52 | - EulerMeanSobolevBoundedField.coefficientPath | |
| 53 | - (smoothField D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 54 | - (smoothField_jetLp_continuous D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 55 | - | |
| 56 | -theorem smoothCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 57 | - (smoothCoefficientPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF).field t x = | |
| 58 | - Z.pointField t (cylinderGraph P k m (Y t x)) := | |
| 59 | - EulerMeanSobolevBoundedField.coefficientPath_apply _ _ t x | |
| 60 | - | |
| 61 | 51 | end EulerPacketSourceVolumeSobolev |
+0 −12 Euler/PacketSourceVolumeSobolev.lean View file
| @@ -58,16 +58,4 @@ theorem tensorPath_ae (n : ℕ) (t : Icc (0 : ℝ) D.T) : | ||
| 58 | 58 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 59 | 59 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 60 | 60 | |
| 61 | -theorem tensorPath_norm_le (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 62 | - ‖tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t‖ ≤ | |
| 63 | - ((n.factorial : ℝ)*(finiteOrderConstant C R n)^n)*∑ i : Fin (n+1), | |
| 64 | - frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖Z.realization (i.val+1) t‖ := | |
| 65 | - Z.volumeTensorPath_norm_le k m (inversePath Y hYjoint) | |
| 66 | - (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n | |
| 67 | - (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) | |
| 68 | - (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) | |
| 69 | - (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX | |
| 70 | - (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) | |
| 71 | - (continuousInverse_contDiff D X Y hX hXY hYjoint) t | |
| 72 | - | |
| 73 | 61 | end EulerPacketSourceVolumeSobolev |
+0 −13 Euler/PacketStageInputs.lean View file
| @@ -90,10 +90,6 @@ theorem joinedInput_frequency : (P.joinedInput hn hq hB).frequencyGuard (frequen | ||
| 90 | 90 | S.source_frequency n _ (P.joinedInput hn hq hB).parameterSize_one |
| 91 | 91 | (P.joinedInput_parameterSize hn hq hB) |
| 92 | 92 | |
| 93 | -theorem joinedInput_targetTime : | |
| 94 | - ((P.joinedInput hn hq hB).geometry.lowGeometry (P.joinedInput hn hq hB).halfBall).targetTime=P.nextTime := | |
| 95 | - P.joinedGeometry_targetTime hn hq hB | |
| 96 | - | |
| 97 | 93 | theorem joinedInput_sigma_bound : |
| 98 | 94 | (P.joinedInput hn hq hB).frame.sigma*scaleSequence S.J S.X n ≤ 2 := by |
| 99 | 95 | change (P.joinedFrame hn).sigma*scaleSequence S.J S.X n ≤ 2 |
| @@ -153,15 +149,6 @@ theorem forwardInput_parameterSize : (P.forwardInput hq hB).parameterSize ≤ en | ||
| 153 | 149 | theorem forwardInput_frequency : (P.forwardInput hq hB).frequencyGuard (frequency S.J S.X 0) := |
| 154 | 150 | S.source_frequency 0 _ (P.forwardInput hq hB).parameterSize_one (P.forwardInput_parameterSize hq hB) |
| 155 | 151 | |
| 156 | -theorem forwardInput_targetTime : | |
| 157 | - ((P.forwardInput hq hB).geometry.lowGeometry (P.forwardInput hq hB).halfBall).targetTime=P.nextTime := | |
| 158 | - P.forwardGeometry_targetTime hq hB | |
| 159 | - | |
| 160 | -theorem forwardInput_sigma_bound : (P.forwardInput hq hB).frame.sigma*scaleSequence S.J S.X 0 ≤ 2 := by | |
| 161 | - change P.forwardFrame.sigma*scaleSequence S.J S.X 0 ≤ 2 | |
| 162 | - rw [P.forwardFrame_sigma] | |
| 163 | - exact P.normalized_sigma | |
| 164 | - | |
| 165 | 152 | theorem forwardInput_scale : (P.forwardInput hq hB).parent.ell=supportScale S.J S.X 0 := P.scale_eq |
| 166 | 153 | |
| 167 | 154 | end Forward |
+0 −9 Euler/PacketStageLowPropagation.lean View file
| @@ -109,15 +109,6 @@ theorem coupling_step (a : ℝ) | ||
| 109 | 109 | rw [sum_range_succ] |
| 110 | 110 | linarith only [hd,ht,P.coupling_error] |
| 111 | 111 | |
| 112 | -theorem tilt_step (σ : ℝ) | |
| 113 | - (h : |(scaleSequence S.J S.X (n+1))^2*σ^2-1| ≤ | |
| 114 | - renewalCost S.J S.D 4 c frameConstant S.X n) : | |
| 115 | - 1/2 ≤ σ^2*(scaleSequence S.J S.X (n+1))^2 ∧ | |
| 116 | - σ^2*(scaleSequence S.J S.X (n+1))^2 ≤ 2 := by | |
| 117 | - have hh := abs_le.mp h | |
| 118 | - have he := S.renewal_series.term_le n | |
| 119 | - constructor <;> nlinarith only [hh.1,hh.2,he] | |
| 120 | - | |
| 121 | 112 | end EulerPacketInduction.Stage |
| 122 | 113 | |
| 123 | 114 | namespace EulerParentPacketFrames.RenewalAtTarget |
+0 −8 Euler/PacketTailBase.lean View file
| @@ -14,14 +14,6 @@ theorem tailBase_nonneg (R H C : ℝ) (hC : 0 ≤ C) (N : ℕ) : | ||
| 14 | 14 | unfold tailBase |
| 15 | 15 | exact mul_nonneg (mul_nonneg (by positivity) (sq_nonneg H)) (gradeBase_nonneg R N) |
| 16 | 16 | |
| 17 | -theorem tailBase_ge_one (R H C : ℝ) (hR : 1 ≤ R) (hH : 1 ≤ H) | |
| 18 | - (hC : 0 ≤ C) (N : ℕ) (hN : 1 ≤ N) : 1 ≤ tailBase R H C N := by | |
| 19 | - have hf : (1 : ℝ) ≤ 1+C*(1+18*((N+2 : ℕ) : ℝ)^2) := by | |
| 20 | - have h : 0 ≤ C*(1+18*((N+2 : ℕ) : ℝ)^2) := by positivity | |
| 21 | - linarith only [h] | |
| 22 | - exact one_le_mul_of_one_le_of_one_le | |
| 23 | - (one_le_mul_of_one_le_of_one_le hf (one_le_pow₀ hH)) (gradeBase_ge_one R hR N hN) | |
| 24 | - | |
| 25 | 17 | /-- The envelope is absorbed once into the base, with no dependence on |
| 26 | 18 | the surviving grade in that base. -/ |
| 27 | 19 | theorem tailBase_absorption (R H C : ℝ) (hC : 0 ≤ C) (N n : ℕ) : |
+0 −40 Euler/PacketTailBound.lean View file
| @@ -30,44 +30,4 @@ theorem sum_geometric_Ico_le (q : ℝ) (hq : 0 ≤ q) (hqhalf : q ≤ 1/2) (a b | ||
| 30 | 30 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 32 | 32 | |
| 33 | -theorem finite_tail_norm_le (κ B : ℝ) (hκ : 0 ≤ κ) (hB : 0 ≤ B) | |
| 34 | - (hsmall : κ*B ≤ 1/2) (N : ℕ) (c : ℕ → E) | |
| 35 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 36 | - ‖∑ n ∈ Ico (N+1) (2*N+3), κ^n • c n‖ ≤ 2*B*(κ*B)^(N+1) := by | |
| 37 | - calc | |
| 38 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • c n‖ := norm_sum_le _ _ | |
| 39 | - _ = ∑ n ∈ Ico (N+1) (2*N+3), κ^n*‖c n‖ := by | |
| 40 | - simp only [norm_smul, norm_pow, Real.norm_of_nonneg hκ] | |
| 41 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), κ^n*B^(n+1) := | |
| 42 | - sum_le_sum (fun n hn => mul_le_mul_of_nonneg_left (hc n hn) (pow_nonneg hκ n)) | |
| 43 | - _ = B*(∑ n ∈ Ico (N+1) (2*N+3), (κ*B)^n) := by | |
| 44 | - rw [mul_sum] | |
| 45 | - apply sum_congr rfl | |
| 46 | - intro n _ | |
| 47 | - simp only [pow_succ, mul_pow] | |
| 48 | - ring | |
| 49 | - _ ≤ B*(2*(κ*B)^(N+1)) := mul_le_mul_of_nonneg_left | |
| 50 | - (sum_geometric_Ico_le (κ*B) (mul_nonneg hκ hB) hsmall (N+1) (2*N+3)) hB | |
| 51 | - _ = _ := by ring | |
| 52 | - | |
| 53 | -/-- Includes the source's final k times inverse-frame normalization. -/ | |
| 54 | -theorem normalized_tail_norm_le (k B C : ℝ) (hk : 0 ≤ k) (hB : 0 ≤ B) | |
| 55 | - (hsmall : B/k ≤ 1/2) (L : E →L[ℝ] F) (hL : ‖L‖ ≤ C) (N : ℕ) (c : ℕ → E) | |
| 56 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 57 | - ‖k • L (∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n)‖ ≤ | |
| 58 | - 2*C*k*B*(B/k)^(N+1) := by | |
| 59 | - have hC : 0 ≤ C := (norm_nonneg L).trans hL | |
| 60 | - have hq : k⁻¹*B=B/k := by ring | |
| 61 | - have htail := finite_tail_norm_le k⁻¹ B (inv_nonneg.mpr hk) hB | |
| 62 | - (by simpa only [hq] using hsmall) N c hc | |
| 63 | - rw [hq] at htail | |
| 64 | - rw [norm_smul, Real.norm_of_nonneg hk] | |
| 65 | - calc | |
| 66 | - _ ≤ k*(C*‖∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n‖) := | |
| 67 | - mul_le_mul_of_nonneg_left ((L.le_opNorm _).trans | |
| 68 | - (mul_le_mul_of_nonneg_right hL (norm_nonneg _))) hk | |
| 69 | - _ ≤ k*(C*(2*B*(B/k)^(N+1))) := | |
| 70 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left htail hC) hk | |
| 71 | - _ = _ := by ring | |
| 72 | - | |
| 73 | 33 | end EulerPacketTailBound |
+0 −7 Euler/PacketTerminalDatumBounds.lean View file
| @@ -95,13 +95,6 @@ def terminalMass : ℝ := supportMass period supportSet supportSet_compact | ||
| 95 | 95 | |
| 96 | 96 | theorem terminalMass_nonneg : 0 ≤ terminalMass := norm_nonneg _ |
| 97 | 97 | |
| 98 | -theorem terminal_jet_bound {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] | |
| 99 | - (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (n : ℕ) (a : LiftTangent) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b (terminal δ hδ ξ)) a‖ ≤ | |
| 101 | - (scalarJetCost δ * ‖ξ‖ * terminalMass) * majorant (jetRadius δ) 0 n := | |
| 102 | - (compactField δ hδ ξ).translation_gevrey supportSet supportSet_compact (field_support δ ξ) | |
| 103 | - (jetRadius δ) (scalarJetCost δ * ‖ξ‖) (fun k x => field_jet_bound δ hδ hδ1 ξ k x 0) n a | |
| 104 | - | |
| 105 | 98 | def wordRadius (ι : Type*) [Fintype ι] (δ : ℝ) : ℝ := |
| 106 | 99 | sobolevCoefficientRadius ι (jetRadius δ) |
| 107 | 100 | |
+0 −3 Euler/PacketTerminalInitialData.lean View file
| @@ -22,9 +22,6 @@ def initialData : InitialData period D where | ||
| 22 | 22 | orbit := terminal_orbit_contDiff δ hδ ξ |
| 23 | 23 | mean_zero := terminal_average_zero δ hδ ξ |
| 24 | 24 | |
| 25 | -theorem initialData_value : ((initialData D δ hδ ξ hs).value : CylinderL2 period U) = | |
| 26 | - terminal δ hδ ξ := rfl | |
| 27 | - | |
| 28 | 25 | theorem initialData_bound {ι : Type*} [Fintype ι] |
| 29 | 26 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 30 | 27 | (hδ1 : δ ≤ 1) (n : ℕ) : |
+0 −2 Euler/PacketTerminalPrimaryFields.lean View file
| @@ -28,8 +28,6 @@ def joinedTerminalPrimaryWitness : | ||
| 28 | 28 | (EulerTransversePacketPrimary.profileRegularity τ hτ hτT B Y |
| 29 | 29 | (joinedSourceOperators P M D τ hτ hτT B) rfl).changeTime hTime.symm M.T_pos.le |
| 30 | 30 | |
| 31 | -theorem joinedTerminalPrimary_mean : (joinedTerminalPrimary P M D τ hτ hτT B Y).mean=0 := rfl | |
| 32 | - | |
| 33 | 31 | include hTime in |
| 34 | 32 | theorem joinedTerminalPrimary_tangent (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 35 | 33 | inner ℝ (D.normalField (t,(x,θ))) ((joinedTerminalPrimary P M D τ hτ hτT B Y).high (t,(x,θ)))=0 := by |
+0 −6 Euler/PacketTimeAlgebra.lean View file
| @@ -38,10 +38,4 @@ theorem finsetSum {ι : Type*} (s : Finset ι) (f f' : ι → VectorField) | ||
| 38 | 38 | simp only [ContinuousMap.sum_apply] |
| 39 | 39 | exact h |
| 40 | 40 | |
| 41 | -theorem of_path_eq (hG : TimeDerivative hT G G') | |
| 42 | - (h : H.path=G.path) (h' : H'.path=G'.path) : TimeDerivative hT H H' := by | |
| 43 | - unfold TimeDerivative | |
| 44 | - rw [h,h'] | |
| 45 | - exact hG | |
| 46 | - | |
| 47 | 41 | end EulerPacketCylinderField.TimeDerivative |
+0 −12 Euler/PacketTimeProfileArithmetic.lean View file
| @@ -98,18 +98,6 @@ theorem fast_corrector_high_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) | ||
| 98 | 98 | highScale γ H (i-1)*highScale γ H j ≤ highScale γ H p := |
| 99 | 99 | slow_high_high_high γ H hγ hγH hH (i-1) j p (by omega) hj (by omega) |
| 100 | 100 | |
| 101 | -theorem fast_corrector_corrector_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 102 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 103 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ meanScale H p := | |
| 104 | - (slow_high_high_mean γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 105 | - (meanScale_mono H hH (Nat.sub_le p 1)) | |
| 106 | - | |
| 107 | -theorem fast_corrector_corrector_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 108 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 109 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ highScale γ H p := | |
| 110 | - (slow_high_high_high γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 111 | - (highScale_mono γ H hγ hH (Nat.sub_le p 1)) | |
| 112 | - | |
| 113 | 101 | theorem previous_linear_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) |
| 114 | 102 | (p : ℕ) (hp : 2 ≤ p) : highScale γ H (p-1) ≤ meanScale H p := by |
| 115 | 103 | have h := slow_mean_high_mean γ H hγ hγH hH 1 (p-1) p (by omega) (by omega) (by omega) |
+0 −13 Euler/PacketTimeProfiles.lean View file
| @@ -44,9 +44,6 @@ theorem mean_pos (p : ℕ) (t : K) : 0 < S.mean p t := meanScale_pos S.H0 S.H0_p | ||
| 44 | 44 | theorem high_pos (p : ℕ) (t : K) : 0 < S.high p t := |
| 45 | 45 | highScale_pos (S.growth t) S.H0 (S.growth_pos t) S.H0_pos p |
| 46 | 46 | |
| 47 | -theorem mean_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.mean i t ≤ S.mean j t := | |
| 48 | - meanScale_mono S.H0 S.H0_one_le hij | |
| 49 | - | |
| 50 | 47 | theorem high_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.high i t ≤ S.high j t := |
| 51 | 48 | highScale_mono (S.growth t) S.H0 (S.growth_pos t).le S.H0_one_le hij |
| 52 | 49 | |
| @@ -86,16 +83,6 @@ theorem fast_corrector_high_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ | ||
| 86 | 83 | fast_corrector_high_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) |
| 87 | 84 | S.H0_one_le i j p hi hj hp |
| 88 | 85 | |
| 89 | -theorem fast_corrector_corrector_mean_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 90 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.mean p t := | |
| 91 | - fast_corrector_corrector_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 92 | - S.H0_one_le i j p hi hj hp | |
| 93 | - | |
| 94 | -theorem fast_corrector_corrector_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 95 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.high p t := | |
| 96 | - fast_corrector_corrector_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 97 | - S.H0_one_le i j p hi hj hp | |
| 98 | - | |
| 99 | 86 | theorem previous_linear_mean_bound (p : ℕ) (hp : 2 ≤ p) (t : K) : S.high (p-1) t ≤ S.mean p t := |
| 100 | 87 | previous_linear_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) S.H0_one_le p hp |
| 101 | 88 | |
+0 −40 Euler/PacketTimeWordGluing.lean View file
| @@ -19,48 +19,8 @@ attribute [local instance] compactInterval | ||
| 19 | 19 | (u : Matching (E := E) S τ hτ0 hτS) : |
| 20 | 20 | glueOperator S τ hτ0 hτS u = gluePath S τ hτ0 hτS u := rfl |
| 21 | 21 | |
| 22 | -theorem gluePath_left (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 23 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc (0 : ℝ) τ) : | |
| 24 | - gluePath S τ hτ0 hτS u ⟨t, t.property.1, t.property.2.trans hτS⟩=u.val.1 t := by | |
| 25 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 26 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 27 | - rw [glue_left τ _ _ t t.property.2, projIcc_of_mem hτ0 t.property] | |
| 28 | - | |
| 29 | -theorem gluePath_right (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 30 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc τ S) : | |
| 31 | - gluePath S τ hτ0 hτS u ⟨t, hτ0.trans t.property.1, t.property.2⟩=u.val.2 t := by | |
| 32 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 33 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 34 | - rw [glue_right τ _ _ (by | |
| 35 | - simpa only [projIcc_of_mem hτ0 ⟨hτ0,le_rfl⟩, | |
| 36 | - projIcc_of_mem hτS ⟨le_rfl,hτS⟩] using matching_values S τ hτ0 hτS u) | |
| 37 | - t t.property.1, projIcc_of_mem hτS t.property] | |
| 38 | - | |
| 39 | -theorem glue_family_contDiff (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 40 | - (f : X → Matching (E := E) S τ hτ0 hτS) (hf : ContDiff ℝ ∞ f) : | |
| 41 | - ContDiff ℝ ∞ (fun x => gluePath S τ hτ0 hτS (f x)) := by | |
| 42 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 43 | - (glueOperator (E := E) S τ hτ0 hτS).contDiff.comp hf | |
| 44 | - | |
| 45 | -theorem glue_word_derivative (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 46 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 47 | - (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (x : X) : | |
| 48 | - wordDerivative directions (fun y => gluePath S τ hτ0 hτS (f y)) w x = | |
| 49 | - gluePath S τ hτ0 hτS (wordDerivative directions f w x) := by | |
| 50 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 51 | - wordDerivative_comp_clm directions (glueOperator (E := E) S τ hτ0 hτS) f hf w x | |
| 52 | - | |
| 53 | 22 | variable [Fintype ι] |
| 54 | 23 | |
| 55 | -theorem glue_word_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 56 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 57 | - (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 58 | - wordSum directions (fun y => gluePath S τ hτ0 hτS (f y)) n x ≤ | |
| 59 | - wordSum directions f n x := by | |
| 60 | - have h := wordSum_comp_clm_le directions (glueOperator S τ hτ0 hτS) f hf n x | |
| 61 | - exact h.trans ((mul_le_mul_of_nonneg_right | |
| 62 | - (glueOperator_norm_le_one S τ hτ0 hτS) (wordSum_nonneg directions f n x)).trans_eq (one_mul _)) | |
| 63 | - | |
| 64 | 24 | /-- Fixed H6 is the specialization q=6; no tensor-to-word conversion occurs. -/ |
| 65 | 25 | theorem glue_block_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 66 | 26 | (directions : ι → X) (q : ℕ) (f : X → Matching (E := E) S τ hτ0 hτS) |
+0 −10 Euler/PacketTriangular.lean View file
| @@ -36,14 +36,4 @@ theorem nonlinearGrade_update (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | ||
| 36 | 36 | fastAdvection_tangent_left m (u 1) (A+B) hprimary] |
| 37 | 37 | simp only [zero_add, add_zero, add_assoc] |
| 38 | 38 | |
| 39 | -/-- The surviving unknown term is literally (m dot B) times the primary angular derivative. -/ | |
| 40 | -theorem nonlinearGrade_update_formula (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 41 | - (FInv : Space →L[ℝ] Space) (m : Space) (u u' : ℕ → VectorJet) | |
| 42 | - (A B : VectorJet) (hu0 : u 0=0) (hu : ∀ i < p, u' i=u i) | |
| 43 | - (hnew : u' p=u p+(A+B)) (hprimary : ⟪m, (u 1).1⟫_ℝ=0) | |
| 44 | - (hA : ⟪m, A.1⟫_ℝ=0) : | |
| 45 | - nonlinearGrade M p FInv m u' = nonlinearGrade M p FInv m u + | |
| 46 | - ⟪m, B.1⟫_ℝ • (u 1).2 angleDirection := | |
| 47 | - nonlinearGrade_update M p hp hMp FInv m u u' A B hu0 hu hnew hprimary hA | |
| 48 | - | |
| 49 | 39 | end EulerPacketPointJets |
+0 −15 Euler/PacketUniformInitialBounds.lean View file
| @@ -86,19 +86,4 @@ variable (Cagree : SourceCoefficientAgreement M D) | ||
| 86 | 86 | local notation "Q" => initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα |
| 87 | 87 | L NB LM Cagree W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet |
| 88 | 88 | |
| 89 | -theorem initializedUniformBudget_initial (s : ℕ) : | |
| 90 | - scale M.ℓ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 91 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q | |
| 92 | - ⟨0,le_rfl,D.T_pos.le⟩ id)= | |
| 93 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k+ | |
| 94 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k ∧ | |
| 95 | - derivativeSum s (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 96 | - (M.ℓ⁻¹)^s*k^s*α*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) ∧ | |
| 97 | - derivativeSum s (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 98 | - (M.ℓ⁻¹)^s/k^2*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) := | |
| 99 | - ⟨initializedExactPhysicalVelocity_initial_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q, | |
| 101 | - initialized_uniform_initial_bounds M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα | |
| 102 | - L NB LM W hW hprofile k hk hfrequency s⟩ | |
| 103 | - | |
| 104 | 89 | end EulerPacketTerminalDatum |
+0 −6 Euler/PacketUniversalFrequency.lean View file
| @@ -29,11 +29,6 @@ theorem universal_frequency_eventually : ∀ᶠ k : ℝ in atTop, UniversalFrequ | ||
| 29 | 29 | eventually_ge_atTop (fixedCost 6)] with k h hk he hd |
| 30 | 30 | exact ⟨h.1,h.2.1,h.2.2.1,h.2.2.2.1,h.2.2.2.2.1,h.2.2.2.2.2,hk,he,hd⟩ |
| 31 | 31 | |
| 32 | -theorem exists_universal_frequency_threshold : | |
| 33 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ k : ℝ, K ≤ k → UniversalFrequency k := by | |
| 34 | - obtain ⟨K,hK⟩ := eventually_atTop.mp universal_frequency_eventually | |
| 35 | - exact ⟨max 1 K,le_max_left _ _,fun k hk => hK k ((le_max_right _ _).trans hk)⟩ | |
| 36 | - | |
| 37 | 32 | namespace UniversalFrequency |
| 38 | 33 | |
| 39 | 34 | variable {k : ℝ} (h : UniversalFrequency k) |
| @@ -42,7 +37,6 @@ include h | ||
| 42 | 37 | |
| 43 | 38 | theorem one_le : 1 ≤ k := by linarith [h.four] |
| 44 | 39 | theorem pos : 0 < k := zero_lt_one.trans_le h.one_le |
| 45 | -theorem truncation_one : 1 ≤ truncation k := (truncation_bounds k h.one_le).1 | |
| 46 | 40 | |
| 47 | 41 | end UniversalFrequency |
| 48 | 42 | end EulerPacketSourceFrequency |
+0 −8 Euler/PacketWeightedPhysicalErrors.lean View file
| @@ -22,14 +22,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 22 | 22 | def weightedPhysicalGradientCost (R CF ρ Cw : ℝ) : ℝ := |
| 23 | 23 | ((1+9*CF)*physicalFixedCost D R CF ρ⁻¹ 1)*(sobolevEmbeddingConstant P 3*Cw) |
| 24 | 24 | |
| 25 | -theorem weightedPhysicalGradientCost_nonneg (R CF ρ Cw : ℝ) | |
| 26 | - (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hρ : 0 < ρ) (hCw : 0 ≤ Cw) : | |
| 27 | - 0 ≤ weightedPhysicalGradientCost D P R CF ρ Cw := by | |
| 28 | - have h := physicalFixedCost_nonneg D R CF ρ⁻¹ 1 hR hCF (inv_nonneg.mpr hρ.le) | |
| 29 | - have hs := sobolevEmbeddingConstant_nonneg P 3 | |
| 30 | - unfold weightedPhysicalGradientCost | |
| 31 | - positivity | |
| 32 | - | |
| 33 | 25 | variable {A : Data P D.T} (Q : Budget P D.T_pos A) |
| 34 | 26 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 35 | 27 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
+0 −92 Euler/PacketWithinStage.lean View file
| @@ -15,96 +15,4 @@ namespace EulerPacketMovingFrame | ||
| 15 | 15 | open Set EulerPacketRay EulerPacketStage EulerPacketPerturbation |
| 16 | 16 | EulerClosedIntervalDerivativeExtension |
| 17 | 17 | |
| 18 | -/-- Relative amplification for paths with their genuine within-interval | |
| 19 | -equations. The ideal reference solutions are constructed by the scalar ODE | |
| 20 | -existence theorem, not supplied as extra assumptions. -/ | |
| 21 | -theorem controlled_stage_references_within | |
| 22 | - {σ Θ T e ε lam : ℝ} {U V P Q N : ℝ → ℝ} {R A C : ℝ → Fin 3 → Fin 3 → ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1 / 4) (hΘ : 1 ≤ Θ) | |
| 24 | - (hT0 : 0 < T) (hT : T ≤ Θ) (he : 0 ≤ e) (hε : 0 ≤ ε) (hεe : ε ≤ e) | |
| 25 | - (hlam : 0 ≤ lam) (hsmall : 1000000 * stabilityConstant * e * Θ ^ 40 ≤ 1) | |
| 26 | - (hRc : ∀ i j, ContinuousOn (fun t => R t i j) (Icc 0 T)) | |
| 27 | - (hAc : ∀ i j, ContinuousOn (fun t => A t i j) (Icc 0 T)) | |
| 28 | - (hCc : ∀ i j, ContinuousOn (fun t => C t i j) (Icc 0 T)) | |
| 29 | - (hP : ∀ t ∈ Icc 0 T, HasDerivWithinAt P | |
| 30 | - (R t 0 0 * P t + R t 0 1 * Q t + R t 0 2 * N t) (Icc 0 T) t) | |
| 31 | - (hQ : ∀ t ∈ Icc 0 T, HasDerivWithinAt Q | |
| 32 | - (R t 1 0 * P t + R t 1 1 * Q t + R t 1 2 * N t) (Icc 0 T) t) | |
| 33 | - (hN : ∀ t ∈ Icc 0 T, HasDerivWithinAt N | |
| 34 | - (R t 2 0 * P t + R t 2 1 * Q t + R t 2 2 * N t) (Icc 0 T) t) | |
| 35 | - (hU : ∀ t ∈ Icc 0 T, HasDerivWithinAt U | |
| 36 | - (velocityFirstRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 37 | - (hV : ∀ t ∈ Icc 0 T, HasDerivWithinAt V | |
| 38 | - (velocitySecondRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 39 | - (hRclose : ∀ t ∈ Icc 0 T, ∀ i j, |R t i j - idealRayEntry (σ ^ 2) i j| ≤ 4 * e) | |
| 40 | - (hAclose : ∀ t ∈ Icc 0 T, ∀ i j, |A t i j - idealVelocityEntry (σ ^ 2) i j| ≤ 3 * e) | |
| 41 | - (hCclose : ∀ t ∈ Icc 0 T, ∀ j, | |
| 42 | - |C t 0 j - idealUnprojectedEntry 0 j| ≤ 5 * e ∧ | |
| 43 | - |C t 1 j - idealUnprojectedEntry 1 j| ≤ 5 * e) | |
| 44 | - (hrayInitial : norm3 (P 0) (Q 0) (N 0 - 1) ≤ e) | |
| 45 | - (hU0 : U 0 = -lam) (hV0 : V 0 = 1) : | |
| 46 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 47 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 48 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 49 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * F₁ s) | |
| 50 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * F t) t) ∧ | |
| 51 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * Z₁ s) | |
| 52 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * Z t) t) ∧ | |
| 53 | - (∀ t ∈ Icc 0 T, |V t - Z t| + |U t + Z₁ t| ≤ | |
| 54 | - 160000000 * e * Θ ^ 29 * (1 + lam) * F t) ∧ | |
| 55 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ | |
| 56 | - |V t / Z t - 1| ≤ stabilityConstant * e * Θ ^ 29 ∧ | |
| 57 | - |U t / V t + Z₁ t / Z t| ≤ 10 * (stabilityConstant * e * Θ ^ 29)) := by | |
| 58 | - obtain ⟨P', hPeq, hP'⟩ := exists_extension hT0 hP | |
| 59 | - obtain ⟨Q', hQeq, hQ'⟩ := exists_extension hT0 hQ | |
| 60 | - obtain ⟨N', hNeq, hN'⟩ := exists_extension hT0 hN | |
| 61 | - obtain ⟨U', hUeq, hU'⟩ := exists_extension hT0 hU | |
| 62 | - obtain ⟨V', hVeq, hV'⟩ := exists_extension hT0 hV | |
| 63 | - have h0 : (0:ℝ) ∈ Icc 0 T := ⟨le_rfl, hT0.le⟩ | |
| 64 | - have hC'c : ∀ i j, ContinuousOn (fun t => firstTwoRows (C t) i j) (Icc 0 T) := by | |
| 65 | - intro i j | |
| 66 | - by_cases hi : i = 0 | |
| 67 | - · simpa only [firstTwoRows, hi, ite_true] using hCc 0 j | |
| 68 | - · simpa only [firstTwoRows, hi, ite_false] using hCc 1 j | |
| 69 | - have hC'close : ∀ t ∈ Icc 0 T, ∀ i j, | |
| 70 | - |firstTwoRows (C t) i j - idealUnprojectedEntry i j| ≤ 5*e := by | |
| 71 | - intro t ht i j | |
| 72 | - fin_cases i | |
| 73 | - · simpa [firstTwoRows] using (hCclose t ht j).1 | |
| 74 | - · simpa [firstTwoRows] using (hCclose t ht j).2 | |
| 75 | - · simpa [firstTwoRows, idealUnprojectedEntry] using (hCclose t ht j).2 | |
| 76 | - have hPe : ∀ t ∈ Icc 0 T, HasDerivAt P' | |
| 77 | - (R t 0 0*P' t+R t 0 1*Q' t+R t 0 2*N' t) t := by | |
| 78 | - intro t ht | |
| 79 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hP' t ht | |
| 80 | - have hQe : ∀ t ∈ Icc 0 T, HasDerivAt Q' | |
| 81 | - (R t 1 0*P' t+R t 1 1*Q' t+R t 1 2*N' t) t := by | |
| 82 | - intro t ht | |
| 83 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hQ' t ht | |
| 84 | - have hNe : ∀ t ∈ Icc 0 T, HasDerivAt N' | |
| 85 | - (R t 2 0*P' t+R t 2 1*Q' t+R t 2 2*N' t) t := by | |
| 86 | - intro t ht | |
| 87 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hN' t ht | |
| 88 | - have hUe : ∀ t ∈ Icc 0 T, HasDerivAt U' | |
| 89 | - (velocityFirstRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 90 | - intro t ht | |
| 91 | - simpa only [velocityFirstRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hU' t ht | |
| 92 | - have hVe : ∀ t ∈ Icc 0 T, HasDerivAt V' | |
| 93 | - (velocitySecondRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 94 | - intro t ht | |
| 95 | - simpa only [velocitySecondRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hV' t ht | |
| 96 | - have hri : norm3 (P' 0) (Q' 0) (N' 0-1) ≤ e := by | |
| 97 | - simpa only [hPeq h0, hQeq h0, hNeq h0] using hrayInitial | |
| 98 | - have hui : U' 0 = -lam := (hUeq h0).trans hU0 | |
| 99 | - have hvi : V' 0 = 1 := (hVeq h0).trans hV0 | |
| 100 | - obtain ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, herr, hrel⟩ := | |
| 101 | - controlled_stage_references hσ hσsmall hΘ hT0.le hT he hε hεe hlam hsmall | |
| 102 | - hRc hAc hC'c hPe hQe hNe hUe hVe hRclose hAclose hC'close hri hui hvi | |
| 103 | - refine ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, ?_, ?_⟩ | |
| 104 | - · intro t ht | |
| 105 | - simpa only [hUeq ht, hVeq ht] using herr t ht | |
| 106 | - · intro t ht | |
| 107 | - have ht' : t ∈ Icc 0 T := ⟨le_trans (by norm_num) ht.1, ht.2⟩ | |
| 108 | - simpa only [hUeq ht', hVeq ht'] using hrel t ht | |
| 109 | - | |
| 110 | 18 | end EulerPacketMovingFrame |
+0 −4 Euler/ParameterSobolevCommutator.lean View file
| @@ -75,10 +75,6 @@ theorem commutatorBlock_zero (directions : ι → P) (q : ℕ) (A : P → E →L | ||
| 75 | 75 | simp only [wordCommutator, Pi.sub_apply, wordDerivative_zero, sub_self] |
| 76 | 76 | simp only [commutatorBlock, he, baseSize_zero_function, sum_const_zero] |
| 77 | 77 | |
| 78 | -theorem commutatorBlock_nonneg (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) | |
| 79 | - (n : ℕ) (x : P) : 0 ≤ commutatorBlock directions q A f n x := | |
| 80 | - sum_nonneg (fun _ _ => baseSize_nonneg directions q _ x) | |
| 81 | - | |
| 82 | 78 | theorem commutatorBlock_succ_le (directions : ι → P) (q : ℕ) |
| 83 | 79 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 84 | 80 | (n : ℕ) (x : P) : |
+0 −6 Euler/ParameterSobolevLinear.lean View file
| @@ -34,12 +34,6 @@ theorem block_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | ||
| 34 | 34 | rw [he] |
| 35 | 35 | exact baseSize_comp_clm_le directions q L _ (wordDerivative_contDiff directions f hf w) x |
| 36 | 36 | |
| 37 | -theorem coefficientBlock_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | |
| 38 | - (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : | |
| 39 | - coefficientBlock directions q (L ∘ f) n x ≤ ‖L‖*coefficientBlock directions q f n x := | |
| 40 | - (mul_le_mul_of_nonneg_left (block_comp_clm_le directions q L f hf n x) (by positivity)).trans_eq | |
| 41 | - (by unfold coefficientBlock; ring) | |
| 42 | - | |
| 43 | 37 | theorem block_sub_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 44 | 38 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (n : ℕ) (x : P) : |
| 45 | 39 | block directions q (f-g) n x ≤ block directions q f n x+block directions q g n x := by |
+0 −8 Euler/ParameterSobolevProductGevrey.lean View file
| @@ -41,14 +41,6 @@ theorem block_clm_apply_gevrey (directions : ι → P) (q : ℕ) | ||
| 41 | 41 | exact (block_clm_apply_le directions q A f hA hf n x).trans |
| 42 | 42 | ((le_abs_self _).trans (by simpa only [Nat.zero_add, EulerJetProductBounds.leibnizConvolution] using hp)) |
| 43 | 43 | |
| 44 | -theorem block_linear_gevrey (directions : ι → P) (q : ℕ) | |
| 45 | - (L : E →L[ℝ] F) (f : P → E) (hf : ContDiff ℝ ∞ f) | |
| 46 | - (R C : ℝ) (d : ℕ) (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) | |
| 47 | - (n : ℕ) (x : P) : | |
| 48 | - block directions q (fun y => L (f y)) n x ≤ (‖L‖*C)*majorant R d n := | |
| 49 | - (block_comp_clm_le directions q L f hf n x).trans | |
| 50 | - (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hb n x) (norm_nonneg L)) | |
| 51 | - | |
| 52 | 44 | theorem block_add_gevrey (directions : ι → P) (q : ℕ) |
| 53 | 45 | (f g : P → E) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 54 | 46 | (R C D : ℝ) (d : ℕ) |
+0 −8 Euler/ParameterWordCalculus.lean View file
| @@ -121,12 +121,4 @@ theorem wordSum_sub_le (directions : ι → P) (f g : P → E) | ||
| 121 | 121 | rw [wordDerivative_sub directions f g hf hg w x] |
| 122 | 122 | exact norm_sub_le _ _ |
| 123 | 123 | |
| 124 | -/-- Subtracting a frozen coefficient has no positive-order derivative. -/ | |
| 125 | -theorem wordSum_sub_const_succ (directions : ι → P) (f : P → E) | |
| 126 | - (hf : ContDiff ℝ ∞ f) (c : E) (n : ℕ) (x : P) : | |
| 127 | - wordSum directions (f-fun _ => c) (n+1) x = wordSum directions f (n+1) x := by | |
| 128 | - unfold wordSum wordDerivative | |
| 129 | - rw [iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (by simp)) contDiffAt_const] | |
| 130 | - simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] | |
| 131 | - | |
| 132 | 124 | end EulerParameterWordGevrey |
+0 −78 Euler/ParameterWordInverse.lean View file
| @@ -19,82 +19,4 @@ open scoped ContDiff | ||
| 19 | 19 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 20 | 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 21 | 21 | |
| 22 | -/-- Freezing the actual inverse yields the sharp recurrence for actual ordered word sums. -/ | |
| 23 | -theorem inverse_word_recurrence (directions : ι → P) | |
| 24 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 25 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 26 | - (heq : ∀ y, A y (u y) = f y) (x : P) | |
| 27 | - (I : E →L[ℝ] E) (hI : ∀ v, I (A x v) = v) (n : ℕ) : | |
| 28 | - wordSum directions u n x ≤ ‖I‖ * | |
| 29 | - (wordSum directions f n x + ∑ j ∈ range n, | |
| 30 | - (n.choose (j+1) : ℝ) * wordSum directions A (j+1) x * | |
| 31 | - wordSum directions u (n-(j+1)) x) := by | |
| 32 | - let B : P → E →L[ℝ] E := A-fun _ => A x | |
| 33 | - have hB : ContDiff ℝ ∞ B := hA.sub contDiff_const | |
| 34 | - have hBu : ContDiff ℝ ∞ (fun y => B y (u y)) := hB.clm_apply hu | |
| 35 | - have hfreeze : u = I ∘ (f-fun y => B y (u y)) := by | |
| 36 | - funext y | |
| 37 | - dsimp [B] | |
| 38 | - rw [sub_apply, ← heq y, sub_sub_cancel] | |
| 39 | - exact (hI (u y)).symm | |
| 40 | - have hzero : wordSum directions B 0 x = 0 := by | |
| 41 | - rw [wordSum_zero] | |
| 42 | - simp only [B, Pi.sub_apply, sub_self, norm_zero] | |
| 43 | - have hpos (j : ℕ) : wordSum directions B (j+1) x = wordSum directions A (j+1) x := | |
| 44 | - wordSum_sub_const_succ directions A hA (A x) j x | |
| 45 | - have hprod := wordSum_clm_apply_le directions B u hB hu n x | |
| 46 | - unfold leibnizConvolution at hprod | |
| 47 | - rw [sum_range_succ'] at hprod | |
| 48 | - simp only [hzero, mul_zero, zero_mul, add_zero, hpos] at hprod | |
| 49 | - have hbound := wordSum_comp_clm_le directions I (f-fun y => B y (u y)) (hf.sub hBu) n x | |
| 50 | - rw [← hfreeze] at hbound | |
| 51 | - exact hbound.trans (mul_le_mul_of_nonneg_left | |
| 52 | - ((wordSum_sub_le directions f (fun y => B y (u y)) hf hBu n x).trans | |
| 53 | - (add_le_add le_rfl hprod)) (norm_nonneg I)) | |
| 54 | - | |
| 55 | -/-- The actual inverse maps a word-sum majorant to one higher factorial | |
| 56 | -shift at the identical radius. All constants are independent of the shift. -/ | |
| 57 | -theorem inverse_word_gevrey (directions : ι → P) | |
| 58 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 59 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 60 | - (heq : ∀ y, A y (u y) = f y) | |
| 61 | - (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) | |
| 62 | - (I C D M Rc R : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 63 | - (hM : 1 ≤ M) (hMC : I*C ≤ M) (hMD : I*D ≤ M) | |
| 64 | - (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 65 | - (hinv : ∀ x, ‖inverse x‖ ≤ I) | |
| 66 | - (hcoeff : ∀ j x, wordSum directions A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 67 | - (d : ℕ) (hforce : ∀ n x, wordSum directions f n x ≤ D*majorant R d n) | |
| 68 | - (n : ℕ) (x : P) : wordSum directions u n x ≤ majorant R (d+1) n := by | |
| 69 | - have hR0 : 0 ≤ R := by nlinarith | |
| 70 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 71 | - (fun k => majorant R d k) (fun k => wordSum directions u k x) (fun _ => le_rfl) _ n | |
| 72 | - intro k | |
| 73 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* | |
| 74 | - ((j+1).factorial : ℝ)^2*wordSum directions u (k-(j+1)) x | |
| 75 | - have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg | |
| 76 | - (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) | |
| 77 | - (wordSum_nonneg directions u _ x)) | |
| 78 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*wordSum directions A (j+1) x* | |
| 79 | - wordSum directions u (k-(j+1)) x) ≤ C*S := by | |
| 80 | - dsimp only [S] | |
| 81 | - rw [mul_sum] | |
| 82 | - apply sum_le_sum | |
| 83 | - intro j _ | |
| 84 | - have h := mul_le_mul_of_nonneg_right | |
| 85 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) | |
| 86 | - (wordSum_nonneg directions u (k-(j+1)) x) | |
| 87 | - convert h using 1 | |
| 88 | - ring | |
| 89 | - have hrec := inverse_word_recurrence directions A u f hA hu hf heq x (inverse x) (hleft x) k | |
| 90 | - have hb : wordSum directions u k x ≤ I*(D*majorant R d k+C*S) := by | |
| 91 | - apply hrec.trans | |
| 92 | - exact (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) (norm_nonneg _)).trans | |
| 93 | - (mul_le_mul_of_nonneg_right (hinv x) | |
| 94 | - (add_nonneg (mul_nonneg hD (majorant_nonneg R hR0 d k)) (mul_nonneg hC hS))) | |
| 95 | - have h₁ := mul_le_mul_of_nonneg_right hMC hS | |
| 96 | - have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) | |
| 97 | - change wordSum directions u k x ≤ M*(majorant R d k+S) | |
| 98 | - nlinarith | |
| 99 | - | |
| 100 | 22 | end EulerParameterWordGevrey |
+0 −22 Euler/ParameterWordRestriction.lean View file
| @@ -13,28 +13,6 @@ variable {P Q E ι κ : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 13 | 13 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 14 | 14 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] [Fintype κ] |
| 15 | 15 | |
| 16 | -/-- Restricting an alphabet only discards nonnegative summands. -/ | |
| 17 | -theorem wordSum_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) | |
| 18 | - (f : P → E) (n : ℕ) (x : P) : | |
| 19 | - wordSum (directions ∘ e) f n x ≤ wordSum directions f n x := by | |
| 20 | - classical | |
| 21 | - have hinj : Function.Injective (fun w : Fin n → ι => e ∘ w) := by | |
| 22 | - intro u v h | |
| 23 | - exact funext (fun j => he (congrFun h j)) | |
| 24 | - calc | |
| 25 | - _ = ∑ w ∈ univ.image (fun w : Fin n → ι => e ∘ w), ‖wordDerivative directions f w x‖ := by | |
| 26 | - rw [sum_image hinj.injOn] | |
| 27 | - rfl | |
| 28 | - _ ≤ ∑ w : Fin n → κ, ‖wordDerivative directions f w x‖ := | |
| 29 | - sum_le_sum_of_subset_of_nonneg (subset_univ _) (fun _ _ _ => norm_nonneg _) | |
| 30 | - | |
| 31 | -/-- The same literal subalphabet restriction is contractive on every fixed Sobolev block. -/ | |
| 32 | -theorem block_subalphabet_le (directions : κ → P) (e : ι → κ) (he : Function.Injective e) | |
| 33 | - (q : ℕ) (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : | |
| 34 | - block (directions ∘ e) q f n x ≤ block directions q f n x := by | |
| 35 | - rw [block_eq_sum_levels _ q f hf,block_eq_sum_levels _ q f hf] | |
| 36 | - exact sum_le_sum (fun k _ => wordSum_subalphabet_le directions e he f (n+k) x) | |
| 37 | - | |
| 38 | 16 | omit [Fintype ι] in |
| 39 | 17 | /-- A linear parameter map transports the actual directions exactly. -/ |
| 40 | 18 | theorem wordDerivative_comp_right (directions : ι → P) (A : P →L[ℝ] Q) |
+0 −17 Euler/ParentChildEulerMatch.lean View file
| @@ -51,21 +51,4 @@ theorem child_velocity_exact (t : Icc (0 : ℝ) A.T) (x : Space) : | ||
| 51 | 51 | (A.exactPacketVelocity_eq_corrected m hm J support hSupport B residual k Y u t |
| 52 | 52 | ((A.child G k m hgraph nextEll hnext hnext1).position t x)).symm |
| 53 | 53 | |
| 54 | -include hV hG hk hYX hXY hY hforce hgradient hvelocity hu hp heuler in | |
| 55 | -theorem child_acceleration_exact (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 56 | - (A.child G k m hgraph nextEll hnext hnext1).acceleration.field t x = | |
| 57 | - -A.exactPacketForce m hm J support hSupport B residual k Y force t | |
| 58 | - ((A.child G k m hgraph nextEll hnext hnext1).position t x) := by | |
| 59 | - apply (A.child G k m hgraph nextEll hnext hnext1).acceleration_physical_of_euler | |
| 60 | - (A.exactPacketVelocity m hm J support hSupport B residual k Y u) | |
| 61 | - (A.exactPacketPressure m hm J support hSupport B residual k Y p) | |
| 62 | - (A.exactPacketForce m hm J support hSupport B residual k Y force) | |
| 63 | - (A.exactPacketForce_continuous m hm J support hSupport B residual k Y force hY hforce) | |
| 64 | - (A.exactPacketPressure_gradient m hm J support hSupport B residual k hk Y hXY hY p force hp hgradient) | |
| 65 | - (A.child_velocity_exact m hm J support hSupport B residual V hV G hG k hgraph | |
| 66 | - nextEll hnext hnext1 Y hYX u hvelocity) | |
| 67 | - (A.exactPacketVelocity_differentiableAt m hm J support hSupport B residual k Y hYX hXY hY u hu) | |
| 68 | - (A.exactPacket_momentum m hm J support hSupport B residual k hk Y hYX hXY hY u p hvelocity hu hp heuler) | |
| 69 | - t x | |
| 70 | - | |
| 71 | 54 | end EulerParentPacketFrames.Parent |
+0 −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 −9 Euler/ParentCoefficientPolynomial.lean View file
| @@ -52,15 +52,6 @@ theorem leafPolynomial_eval (K : ℝ) : leafPolynomial.eval K=leafEnvelope K := | ||
| 52 | 52 | Polynomial.eval_add,Polynomial.eval_mul,Polynomial.eval_pow,Polynomial.eval_ofNat, |
| 53 | 53 | Polynomial.eval_one,Polynomial.eval_X,Polynomial.eval_C] |
| 54 | 54 | |
| 55 | -def leafConstant : ℝ := coefficientCost leafPolynomial | |
| 56 | -def leafPower : ℕ := leafPolynomial.natDegree | |
| 57 | - | |
| 58 | -theorem leafConstant_pos : 0 < leafConstant := coefficientCost_pos _ | |
| 59 | - | |
| 60 | -theorem leafEnvelope_power (K : ℝ) (hK : 1 ≤ K) : | |
| 61 | - leafEnvelope K ≤ leafConstant*K^leafPower := by | |
| 62 | - rw [← leafPolynomial_eval] | |
| 63 | - exact (le_abs_self _).trans (eval_bound leafPolynomial K hK) | |
| 64 | 55 | |
| 65 | 56 | theorem radiusCeiling_le (K : ℝ) (hK : 0 ≤ K) : coefficientRadius K ≤ radiusCeiling K := by |
| 66 | 57 | unfold coefficientRadius radiusCeiling |
+0 −29 Euler/ParentEulerEndpoints.lean View file
| @@ -16,33 +16,4 @@ variable {A : Parent} {E : Evolution A} (S : SobolevData E) | ||
| 16 | 16 | |
| 17 | 17 | include S |
| 18 | 18 | |
| 19 | -theorem spatial_derivative_continuous (x : Space) : | |
| 20 | - Continuous (fun t : Icc (0 : ℝ) A.T => fderiv ℝ (fun y => E.velocity (t,y)) x) := by | |
| 21 | - let D := coefficientPath (fun t => (S.velocity t).derivative) | |
| 22 | - (continuous_jetLp_derivative S.velocity S.velocity_continuous) | |
| 23 | - have hc : Continuous (fun t => D.field t x) := | |
| 24 | - (BoundedContinuousFunction.evalCLM ℝ x).continuous.comp D.field.continuous | |
| 25 | - apply hc.congr | |
| 26 | - intro t | |
| 27 | - rw [show D.field t x=fderiv ℝ (S.velocity t).field x from | |
| 28 | - coefficientPath_apply _ _ t x] | |
| 29 | - rw [funext (S.velocity_match t)] | |
| 30 | - | |
| 31 | -theorem divergence_closed (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 32 | - divergence (fun y => E.velocity (t,y)) x=0 := by | |
| 33 | - let f : ℝ → ℝ := fun s => coordinateTrace | |
| 34 | - (fderiv ℝ (fun y => E.velocity (projIcc 0 A.T A.T_pos.le s,y)) x) | |
| 35 | - have hf : Continuous f := coordinateTrace.continuous.comp | |
| 36 | - ((S.spatial_derivative_continuous x).comp continuous_projIcc) | |
| 37 | - have he : EqOn f (fun _ => 0) (Ioo 0 A.T) := by | |
| 38 | - intro s hs | |
| 39 | - simpa only [f,projIcc_of_mem A.T_pos.le ⟨hs.1.le,hs.2.le⟩, | |
| 40 | - coordinateTrace_eq_linearTrace,divergence] using E.divergence_zero s hs x | |
| 41 | - have ht : (t : ℝ) ∈ closure (Ioo (0 : ℝ) A.T) := by | |
| 42 | - rw [closure_Ioo A.T_pos.ne] | |
| 43 | - exact t.property | |
| 44 | - have hh := he.closure hf continuous_const ht | |
| 45 | - simpa only [f,projIcc_of_mem A.T_pos.le t.property, | |
| 46 | - coordinateTrace_eq_linearTrace,divergence] using hh | |
| 47 | - | |
| 48 | 19 | end EulerParentPacketFrames.SobolevData |
+0 −25 Euler/ParentEulerParity.lean View file
| @@ -14,33 +14,8 @@ variable {A : Parent} (E : Evolution A) (O : OddData A) | ||
| 14 | 14 | |
| 15 | 15 | include O |
| 16 | 16 | |
| 17 | -theorem velocity_odd (t : Icc (0 : ℝ) A.T) : Function.Odd (fun x => E.velocity (t,x)) := by | |
| 18 | - intro x | |
| 19 | - change E.velocity (t,-x)= -E.velocity (t,x) | |
| 20 | - rw [E.velocity_pullback,E.velocity_pullback,E.inverse.odd O t x,O.velocity t] | |
| 21 | - | |
| 22 | -theorem force_odd (t : Icc (0 : ℝ) A.T) : Function.Odd (E.force t) := by | |
| 23 | - intro x | |
| 24 | - rw [E.force_pullback,E.force_pullback,E.inverse.odd O t x,O.acceleration t] | |
| 25 | - | |
| 26 | -theorem velocity_zero (t : Icc (0 : ℝ) A.T) : E.velocity (t,0)=0 := by | |
| 27 | - ext i | |
| 28 | - have hi : Function.Odd (fun x : Space => (E.velocity (t,x)) i) := | |
| 29 | - fun x => congrArg (fun v : Space => v i) (E.velocity_odd O t x) | |
| 30 | - exact hi.map_zero | |
| 31 | - | |
| 32 | -theorem force_zero (t : Icc (0 : ℝ) A.T) : E.force t 0=0 := by | |
| 33 | - ext i | |
| 34 | - have hi : Function.Odd (fun x : Space => (E.force t x) i) := | |
| 35 | - fun x => congrArg (fun v : Space => v i) (E.force_odd O t x) | |
| 36 | - exact hi.map_zero | |
| 37 | - | |
| 38 | 17 | theorem strain_origin (t : Icc (0 : ℝ) A.T) : |
| 39 | 18 | A.strain.field t 0=fderiv ℝ (fun y => E.velocity (t,y)) 0 := by |
| 40 | 19 | rw [E.strain_eq,smul_zero,O.position_zero] |
| 41 | 20 | |
| 42 | -theorem curvature_origin (t : Icc (0 : ℝ) A.T) : | |
| 43 | - A.curvature.field t 0=fderiv ℝ (E.force t) 0 := by | |
| 44 | - rw [E.curvature_eq,smul_zero,O.position_zero] | |
| 45 | - | |
| 46 | 21 | end EulerParentPacketFrames.Evolution |
+0 −11 Euler/ParentEulerSobolev.lean View file
| @@ -24,17 +24,6 @@ namespace SobolevData | ||
| 24 | 24 | |
| 25 | 25 | variable {A : Parent} {E : Evolution A} (S : SobolevData E) |
| 26 | 26 | |
| 27 | -theorem strong_euler (q : ℕ) (t : Icc (0 : ℝ) A.T) : | |
| 28 | - HasDerivWithinAt (extendPath A.T A.T_pos.le | |
| 29 | - (sobolevPath S.velocity S.velocity_continuous q)) | |
| 30 | - (sobolevPath (rhs S.velocity S.velocity_continuous S.force) | |
| 31 | - (rhs_jet_continuous S.velocity S.velocity_continuous S.force S.force_continuous) q t) | |
| 32 | - (Icc (0 : ℝ) A.T) t := | |
| 33 | - sobolev_evolution_of_classical A.T A.T_pos.le S.velocity S.force | |
| 34 | - S.velocity_continuous S.force_continuous E.velocity E.pressure S.velocity_match | |
| 35 | - (fun s x => (E.pressure_gradient s x).trans (S.force_match s x)) | |
| 36 | - E.velocity_differentiable E.momentum_zero q t | |
| 37 | - | |
| 38 | 27 | def restrictTime (T : ℝ) (hT : 0 < T) (hTA : T ≤ A.T) : |
| 39 | 28 | SobolevData (E.restrictTime T hT hTA) where |
| 40 | 29 | velocity t := S.velocity (initialInclusion A.T T hTA t) |
+0 −8 Euler/ParentForwardGeometryInput.lean View file
| @@ -32,10 +32,6 @@ theorem sourceGrowthProfile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 32 | 32 | G.primaryAmplitude hball*G.sourceGrowthProfile hball t ≤ 8*Real.exp 6*G.δ*G.hchild := |
| 33 | 33 | (G.halfBall_controlledGrowth hball).choose_spec.2.2.2 t |
| 34 | 34 | |
| 35 | -theorem primaryAmplitude_bound : G.primaryAmplitude hball ≤ 8*Real.exp 6*G.δ*G.hchild := by | |
| 36 | - have h := G.sourceGrowthProfile_amplitude hball ⟨0,le_rfl,D.T_pos.le⟩ | |
| 37 | - simpa only [G.sourceGrowthProfile_initial hball,mul_one] using h | |
| 38 | - | |
| 39 | 35 | omit [CompleteSpace U] in |
| 40 | 36 | include G in |
| 41 | 37 | theorem growth_constant_pos : 0 < 560*P.horizon^10/P.epsilon := by |
| @@ -81,8 +77,4 @@ def geometryForwardInputs (Ti : ℝ) (hT1 : A.T ≤ 1) (hTi : A.T⁻¹ ≤ Ti) : | ||
| 81 | 77 | normal := N.enlargeRadius Rc ((le_max_left Rn Rm).trans (le_max_right _ _)) |
| 82 | 78 | mean := M.enlargeRadius Rc ((le_max_right Rn Rm).trans (le_max_right _ _)) } |
| 83 | 79 | |
| 84 | -theorem geometryForwardInputs_growth (Ti : ℝ) (hT1 : A.T ≤ 1) (hTi : A.T⁻¹ ≤ Ti) : | |
| 85 | - (L.geometryForwardInputs H m hm J support hSupport P G hball Ω hΩ hΩo hsub hΩball | |
| 86 | - Ti hT1 hTi).linear.g=G.sourceGrowthProfile hball := rfl | |
| 87 | - | |
| 88 | 80 | end EulerParentPacketFrames.LabelData |
+0 −34 Euler/ParentForwardRadiusPolynomial.lean View file
| @@ -31,9 +31,6 @@ local notation "BC" => forwardCoefficientBudget period (A.meanData H) (A.transve | ||
| 31 | 31 | rfl (ForwardInputs.normal J) |
| 32 | 32 | local notation "Cp" => (560*P.horizon^10/P.epsilon) |
| 33 | 33 | |
| 34 | -def geometryCanonicalRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 35 | - EulerPacketForwardRadius.canonicalRadius (J).linear (J).mean (J).normal BC δ ξ | |
| 36 | - | |
| 37 | 34 | theorem geometryForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 38 | 35 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) |
| 39 | 36 | (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -97,35 +94,4 @@ theorem geometryForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 97 | 94 | delta_inverse := hδX.trans hXV |
| 98 | 95 | terminal := hξX.trans hXV } |
| 99 | 96 | |
| 100 | -theorem geometryCanonicalRadius_power (δ : ℝ) (hδ : 0 < δ) (ξ : U) (X : ℝ) | |
| 101 | - (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) | |
| 102 | - (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : | |
| 103 | - L.geometryCanonicalRadius H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ ≤ | |
| 104 | - fullConstant*X^fullPower := by | |
| 105 | - have hp := L.geometryForward_radius_primitives H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 106 | - Ti hT1 hTi δ ξ X hKX hTiX hCpX hLX hδX hξX | |
| 107 | - exact (EulerPacketForwardRadius.canonicalRadius_le_envelope (J).linear (J).mean (J).normal BC δ ξ | |
| 108 | - (sourceEnvelope X) hδ hp).trans (fullEnvelope_power X (L.K_one.trans hKX)) | |
| 109 | - | |
| 110 | -theorem geometryForward_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 111 | - let X := parameterSize L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 112 | - EulerPacketForwardRadius.RadiusPrimitives (J).linear (J).mean (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 113 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 114 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 115 | - obtain ⟨h1,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 116 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 117 | - G.growth_constant_pos.le hL0 hδ (norm_nonneg ξ) | |
| 118 | - exact ⟨L.geometryForward_radius_primitives H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 119 | - Ti hT1 hTi δ ξ _ hK hIT hC hB hD hN,sourceEnvelope_power _ h1⟩ | |
| 120 | - | |
| 121 | -theorem geometryCanonicalRadius_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 122 | - L.geometryCanonicalRadius H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ ≤ | |
| 123 | - fullConstant*(parameterSize L.K 0 Ti Cp H.L δ ‖ξ‖)^fullPower := by | |
| 124 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 125 | - obtain ⟨_,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti Cp H.L δ ‖ξ‖ | |
| 126 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 127 | - G.growth_constant_pos.le hL0 hδ (norm_nonneg ξ) | |
| 128 | - exact L.geometryCanonicalRadius_power H m hm R S hS P G hball Ω hΩ hΩo hsub hΩball | |
| 129 | - Ti hT1 hTi δ hδ ξ _ hK hIT hC hB hD hN | |
| 130 | - | |
| 131 | 97 | end EulerParentPacketFrames.LabelData |
+0 −8 Euler/ParentFrameReframe.lean View file
| @@ -71,12 +71,4 @@ variable (A : Parent) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ | ||
| 71 | 71 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 72 | 72 | (m' : Space) (hm' : ‖m'‖=1) (R' : V ≃ₗᵢ[ℝ] referencePlane m') |
| 73 | 73 | |
| 74 | -theorem transverse_deformation_reframe (t : Icc (0 : ℝ) A.T) (x : Space) : | |
| 75 | - (A.transverseData m' hm' R' S hS).deformationEquiv t x= | |
| 76 | - (A.transverseData m hm R S hS).deformationEquiv t x := rfl | |
| 77 | - | |
| 78 | -theorem transverse_reframe : | |
| 79 | - (A.transverseData m hm R S hS).reframe m' hm'= | |
| 80 | - A.transverseData m' hm' (LinearIsometryEquiv.refl ℝ (referencePlane m')) S hS := rfl | |
| 81 | - | |
| 82 | 74 | end EulerParentPacketFrames.Parent |
+0 −13 Euler/ParentGeometryChoiceInitial.lean View file
| @@ -14,11 +14,6 @@ open Set EulerSmoothLimit EulerPacketTerminalDatum EulerPacketSourceFrequency | ||
| 14 | 14 | |
| 15 | 15 | namespace SmoothState |
| 16 | 16 | |
| 17 | -theorem velocityIncrement_restrictTime {A B : Parent} (S : SmoothState A) (T : SmoothState B) | |
| 18 | - (s : ℝ) (hs : 0 < s) (hA : s ≤ A.T) (hB : s ≤ B.T) : | |
| 19 | - (S.restrictTime s hs hA).velocityIncrement (T.restrictTime s hs hB) = | |
| 20 | - S.velocityIncrement T := rfl | |
| 21 | - | |
| 22 | 17 | end SmoothState |
| 23 | 18 | |
| 24 | 19 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| @@ -74,10 +69,6 @@ theorem state_velocity_initial : | ||
| 74 | 69 | change (T).evolution.velocity (0,x)-S.evolution.velocity (0,x)=(I.high k+I.mean k) x at he |
| 75 | 70 | exact (sub_eq_iff_eq_add.mp he).trans (add_comm _ _) |
| 76 | 71 | |
| 77 | -theorem restricted_initial_increment (s : ℝ) (hs : 0 < s) (hT : s ≤ I.parent.T) : | |
| 78 | - (S.restrictTime s hs hT).velocityIncrement ((T).restrictTime s hs hT) 0 = | |
| 79 | - I.high k+I.mean k := initial_increment_eq I S k hk nextEll hnext hnext1 F hSym | |
| 80 | - | |
| 81 | 72 | end GeometryJoinedChoice |
| 82 | 73 | |
| 83 | 74 | namespace GeometryForwardInput |
| @@ -153,9 +144,5 @@ theorem state_velocity_initial : | ||
| 153 | 144 | change (T).evolution.velocity (0,x)-S.evolution.velocity (0,x)=(I.high k+I.mean k) x at he |
| 154 | 145 | exact (sub_eq_iff_eq_add.mp he).trans (add_comm _ _) |
| 155 | 146 | |
| 156 | -theorem restricted_initial_increment (s : ℝ) (hs : 0 < s) (hT : s ≤ I.parent.T) : | |
| 157 | - (S.restrictTime s hs hT).velocityIncrement ((T).restrictTime s hs hT) 0 = | |
| 158 | - I.high k+I.mean k := initial_increment_eq I S k hk nextEll hnext hnext1 F hSym | |
| 159 | - | |
| 160 | 147 | end GeometryForwardChoice |
| 161 | 148 | end EulerParentPacketFrames |
+0 −34 Euler/ParentGeometryChoiceLow.lean View file
| @@ -36,23 +36,6 @@ def lowBounds (CM CH : ℝ) | ||
| 36 | 36 | I.geometry I.halfBall I.delta_pos I.delta_le_one I.low |
| 37 | 37 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 38 | 38 | |
| 39 | -theorem lowBounds_values (CM CH : ℝ) | |
| 40 | - (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) | |
| 41 | - (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) | |
| 42 | - (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ | |
| 43 | - k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ | |
| 44 | - (I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))*I.parent.T+ | |
| 45 | - boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))* | |
| 46 | - I.low.r^3*I.parent.T ≤ 1/2) : | |
| 47 | - (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ | |
| 48 | - (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ | |
| 49 | - (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ | |
| 50 | - k^(-(1/4 : ℝ)) ∧ | |
| 51 | - (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ | |
| 52 | - (F.lowBounds CM CH hCM hCH hsmall).L= | |
| 53 | - boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := | |
| 54 | - ⟨rfl,rfl,rfl,rfl,rfl⟩ | |
| 55 | - | |
| 56 | 39 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 57 | 40 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 58 | 41 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| @@ -102,23 +85,6 @@ def lowBounds (CM CH : ℝ) | ||
| 102 | 85 | I.geometry I.halfBall I.cutoff_support I.delta_pos I.delta_le_one I.low |
| 103 | 86 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 104 | 87 | |
| 105 | -theorem lowBounds_values (CM CH : ℝ) | |
| 106 | - (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) | |
| 107 | - (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) | |
| 108 | - (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ | |
| 109 | - k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ | |
| 110 | - (I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))*I.parent.T+ | |
| 111 | - boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))* | |
| 112 | - I.low.r^3*I.parent.T ≤ 1/2) : | |
| 113 | - (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ | |
| 114 | - (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ | |
| 115 | - (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ | |
| 116 | - k^(-(1/4 : ℝ)) ∧ | |
| 117 | - (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ | |
| 118 | - (F.lowBounds CM CH hCM hCH hsmall).L= | |
| 119 | - boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := | |
| 120 | - ⟨rfl,rfl,rfl,rfl,rfl⟩ | |
| 121 | - | |
| 122 | 88 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 123 | 89 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 124 | 90 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
+0 −40 Euler/ParentGeometryChoiceRenewal.lean View file
| @@ -63,26 +63,6 @@ theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pn | ||
| 63 | 63 | unfold renewal |
| 64 | 64 | apply SmoothState.forwardTargetRenewal_matches |
| 65 | 65 | |
| 66 | -theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ | |
| 67 | - | |
| 68 | -theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : | |
| 69 | - (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ | |
| 70 | - |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ | |
| 71 | - 0 < (Pnew).sigma ∧ | |
| 72 | - |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by | |
| 73 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 74 | - exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ | |
| 75 | - | |
| 76 | -theorem renewal_compression (e : ℝ) (he : e ≤ 1) : | |
| 77 | - ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime | |
| 78 | - (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), | |
| 79 | - unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by | |
| 80 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 81 | - rw [H.background_compression_eq] | |
| 82 | - have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he | |
| 83 | - have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le | |
| 84 | - linarith only [hm,hc] | |
| 85 | - | |
| 86 | 66 | end EulerParentPacketFrames.GeometryForwardChoice |
| 87 | 67 | |
| 88 | 68 | namespace EulerParentPacketFrames.GeometryJoinedChoice |
| @@ -121,24 +101,4 @@ theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pn | ||
| 121 | 101 | unfold renewal |
| 122 | 102 | apply SmoothState.joinedTargetRenewal_matches |
| 123 | 103 | |
| 124 | -theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ | |
| 125 | - | |
| 126 | -theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : | |
| 127 | - (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ | |
| 128 | - |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ | |
| 129 | - 0 < (Pnew).sigma ∧ | |
| 130 | - |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by | |
| 131 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 132 | - exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ | |
| 133 | - | |
| 134 | -theorem renewal_compression (e : ℝ) (he : e ≤ 1) : | |
| 135 | - ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime | |
| 136 | - (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), | |
| 137 | - unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by | |
| 138 | - have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport | |
| 139 | - rw [H.background_compression_eq] | |
| 140 | - have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he | |
| 141 | - have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le | |
| 142 | - linarith only [hm,hc] | |
| 143 | - | |
| 144 | 104 | end EulerParentPacketFrames.GeometryJoinedChoice |
+0 −3 Euler/ParentGeometryForwardChoice.lean View file
| @@ -129,8 +129,5 @@ def state (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : SmoothState F.p | ||
| 129 | 129 | I.geometry.δ I.delta_pos I.geometry.initialCoordinate I.cutoff_support I.alpha |
| 130 | 130 | (truncation k) F.hn k hk.four F.Q F.flow F.coefficient F.graph nextEll hnext hnext1 F.labels |
| 131 | 131 | |
| 132 | -theorem state_label_constant (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : | |
| 133 | - (state I S k hk nextEll hnext hnext1 F hSym).labels.K=k^80 := F.label_constant | |
| 134 | - | |
| 135 | 132 | end GeometryForwardChoice |
| 136 | 133 | end EulerParentPacketFrames |
+0 −6 Euler/ParentGeometryJoinedChoice.lean View file
| @@ -82,11 +82,5 @@ def state (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : SmoothState F.p | ||
| 82 | 82 | I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha (truncation k) F.hn k hk.four |
| 83 | 83 | I.historyTime I.history_pos I.history_lt F.Q F.flow F.coefficient F.graph nextEll hnext hnext1 F.labels |
| 84 | 84 | |
| 85 | -theorem state_label_constant (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : | |
| 86 | - (state I S k hk nextEll hnext hnext1 F hSym).labels.K=k^80 := F.label_constant | |
| 87 | - | |
| 88 | -theorem initial_trace : I.exactInitial k hk.four F.hn F.Q=I.high k+I.mean k := | |
| 89 | - I.exactInitial_eq k hk.four F.hn F.Q | |
| 90 | - | |
| 91 | 85 | end GeometryJoinedChoice |
| 92 | 86 | end EulerParentPacketFrames |
+0 −40 Euler/ParentHistoryFrequencyGuard.lean View file
| @@ -100,44 +100,4 @@ theorem base_inverse_le_previous_frequency_pow80 (J D : ℕ) (hJ : 3 ≤ J) (hD | ||
| 100 | 100 | exact (base_inverse_le_previous_frequency J D hJ hD X hX hbase n).trans (by |
| 101 | 101 | simpa only [pow_one] using pow_le_pow_right₀ hk (by decide : 1 ≤ 80)) |
| 102 | 102 | |
| 103 | -theorem stepLength_nonneg (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 ≤ X) | |
| 104 | - (a β : ℕ → ℝ) (n : ℕ) : 0 ≤ stepLength J X a β n := | |
| 105 | - div_nonneg (hX.trans (sequence_initial_le J hJ X hX (n+1))) (sqrt_nonneg _) | |
| 106 | - | |
| 107 | -theorem activation_lower_of_initial (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) | |
| 108 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 109 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 110 | - baseHorizon J X/12 ≤ activationTime J X a β n := by | |
| 111 | - have hxnext : 0 ≤ scaleSequence J X 1 := | |
| 112 | - hX.le.trans (sequence_initial_le J hJ X hX.le 1) | |
| 113 | - have hfirst : timeWidth J X 0/6 ≤ stepLength J X a β 0 := | |
| 114 | - (EulerPacketScaleGeometry.activation_time_bounds ha ha₂ | |
| 115 | - (previousShear_pos J hX 0) hX hxnext hβ hβ₂).1 | |
| 116 | - have hsum : stepLength J X a β 0 ≤ activationTime J X a β n := by | |
| 117 | - apply Finset.single_le_sum | |
| 118 | - · intro i _ | |
| 119 | - exact stepLength_nonneg J hJ X hX.le a β i | |
| 120 | - · exact Finset.mem_range.mpr (by omega) | |
| 121 | - rw [baseHorizon_eq_timeWidth J hX] | |
| 122 | - linarith only [hfirst,hsum] | |
| 123 | - | |
| 124 | -theorem reciprocal_activation_le_base (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) | |
| 125 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 126 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 127 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 128 | - have hb := baseHorizon_pos J hJ hX | |
| 129 | - have hs := activation_lower_of_initial J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 130 | - have hi := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs | |
| 131 | - simpa only [one_div,inv_div] using hi | |
| 132 | - | |
| 133 | -theorem actual_reciprocal_activation (J D : ℕ) (hJ : 3 ≤ J) (hD : 2000 ≤ D) | |
| 134 | - (C c X δ : ℝ) (hX : 2 ≤ X) (hb : ActualBounds J D C c X δ) | |
| 135 | - (a β : ℕ → ℝ) (ha : 1/2 ≤ a 0) (ha₂ : a 0 ≤ 2) | |
| 136 | - (hβ : 1/2 ≤ β 0*X^2) (hβ₂ : β 0*X^2 ≤ 2) {n : ℕ} (hn : 1 ≤ n) : | |
| 137 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X ∧ | |
| 138 | - 12/baseHorizon J X ≤ previousFrequency J D X n^80 := | |
| 139 | - ⟨reciprocal_activation_le_base J (by omega) X (by linarith only [hX]) | |
| 140 | - a β ha ha₂ hβ hβ₂ hn, | |
| 141 | - base_inverse_le_previous_frequency_pow80 J D hJ hD X hX hb.initial_frequency n⟩ | |
| 142 | - | |
| 143 | 103 | end EulerParentHistoryFrequency |
+0 −19 Euler/ParentHomogeneousPacketLowBounds.lean View file
| @@ -44,25 +44,6 @@ def HomogeneousSourceErrors (ev ep : ℝ) : Prop := | ||
| 44 | 44 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 45 | 45 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x))‖ ≤ ep |
| 46 | 46 | |
| 47 | -/-- The literal strict errors returned by the global same-Q packet | |
| 48 | -theorem imply the error record without any additional analytic bound. -/ | |
| 49 | -theorem homogeneousSourceErrors_of_global (ev ep : ℝ) | |
| 50 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 51 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 52 | - ((δ*hchild)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 53 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x)) | |
| 54 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 55 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 56 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) ξ (δ*hchild) t | |
| 57 | - (E.inverse.normalized t x)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 58 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 59 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 60 | - E.HomogeneousSourceErrors m hm J support hSupport B residual k δ hchild ξ ev ep := by | |
| 61 | - intro t x | |
| 62 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 63 | - erw [forwardPressureTerm_eq_coefficient] | |
| 64 | - exact (herr t x).2.le | |
| 65 | - | |
| 66 | 47 | include hk hδ hδ1 hhchild in |
| 67 | 48 | theorem exactHomogeneousPacket_low_bounds |
| 68 | 49 | (ev ep CM CH Kupper : ℝ) |
+0 −65 Euler/ParentInitializedRadiusPolynomial.lean View file
| @@ -64,15 +64,6 @@ theorem sourcePolynomial_eval (X : ℝ) : sourcePolynomial.eval X=sourceEnvelope | ||
| 64 | 64 | simp only [sourcePolynomial,sourceEnvelope,Polynomial.eval_comp, |
| 65 | 65 | sourceRadiusPolynomial_eval,inputPolynomial_eval] |
| 66 | 66 | |
| 67 | -def sourceConstant : ℝ := coefficientCost sourcePolynomial | |
| 68 | -def sourcePower : ℕ := sourcePolynomial.natDegree | |
| 69 | - | |
| 70 | -theorem sourceConstant_pos : 0 < sourceConstant := coefficientCost_pos _ | |
| 71 | - | |
| 72 | -theorem sourceEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 73 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 74 | - rw [← sourcePolynomial_eval] | |
| 75 | - exact (le_abs_self _).trans (eval_bound sourcePolynomial X hX) | |
| 76 | 67 | |
| 77 | 68 | def parameterSize (K Ti TiTotal Cp B δ N : ℝ) : ℝ := 1+K+Ti+TiTotal+Cp+B+δ⁻¹+N |
| 78 | 69 | |
| @@ -87,24 +78,6 @@ theorem parameterSize_bounds (K Ti TiTotal Cp B δ N : ℝ) | ||
| 87 | 78 | unfold parameterSize |
| 88 | 79 | exact ⟨by linarith,by linarith,by linarith,by linarith,by linarith,by linarith,by linarith,by linarith⟩ |
| 89 | 80 | |
| 90 | -def fullEnvelope (X : ℝ) : ℝ := radiusEnvelope (sourceEnvelope X) | |
| 91 | - | |
| 92 | -def fullPolynomial : Polynomial ℝ := | |
| 93 | - radiusPolynomial.comp (sourceRadiusPolynomial.comp inputPolynomial) | |
| 94 | - | |
| 95 | -theorem fullPolynomial_eval (X : ℝ) : fullPolynomial.eval X=fullEnvelope X := by | |
| 96 | - simp only [fullPolynomial,fullEnvelope,sourceEnvelope,Polynomial.eval_comp,radiusPolynomial_eval, | |
| 97 | - sourceRadiusPolynomial_eval,inputPolynomial_eval] | |
| 98 | - | |
| 99 | -def fullConstant : ℝ := coefficientCost fullPolynomial | |
| 100 | -def fullPower : ℕ := fullPolynomial.natDegree | |
| 101 | - | |
| 102 | -theorem fullConstant_pos : 0 < fullConstant := coefficientCost_pos _ | |
| 103 | - | |
| 104 | -theorem fullEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 105 | - fullEnvelope X ≤ fullConstant*X^fullPower := by | |
| 106 | - rw [← fullPolynomial_eval] | |
| 107 | - exact (le_abs_self _).trans (eval_bound fullPolynomial X hX) | |
| 108 | 81 | |
| 109 | 82 | end EulerParentInitializedRadius |
| 110 | 83 | |
| @@ -134,9 +107,6 @@ local notation "J" => L.joinedInputs H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hC | ||
| 134 | 107 | local notation "BC" => joinedCoefficientBudget period (G.meanData H) (G.transverseData m hm R S hS) |
| 135 | 108 | rfl τ hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) (JoinedInputs.normal J) |
| 136 | 109 | |
| 137 | -def canonicalInitializedRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 138 | - initializedRadius (J).mean (J).linear (J).normal BC δ ξ | |
| 139 | - | |
| 140 | 110 | theorem joined_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 141 | 111 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hTiTotalX : TiTotal ≤ X) |
| 142 | 112 | (hCpX : Cp ≤ X) (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -217,39 +187,4 @@ theorem joined_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 217 | 187 | delta_inverse := hδX.trans hXV |
| 218 | 188 | terminal := hξX.trans hXV } |
| 219 | 189 | |
| 220 | -theorem canonicalInitializedRadius_power (δ : ℝ) (hδ : 0 < δ) (ξ : U) (X : ℝ) | |
| 221 | - (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hTiTotalX : TiTotal ≤ X) | |
| 222 | - (hCpX : Cp ≤ X) (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : | |
| 223 | - L.canonicalInitializedRadius H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 224 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ ≤ fullConstant*X^fullPower := by | |
| 225 | - have hp := L.joined_radius_primitives H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 226 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ X | |
| 227 | - hKX hTiX hTiTotalX hCpX hLX hδX hξX | |
| 228 | - exact (initializedRadius_le_envelope (J).mean (J).linear (J).normal BC δ ξ | |
| 229 | - (sourceRadiusEnvelope (inputEnvelope X)) hδ hp).trans | |
| 230 | - (fullEnvelope_power X (L.K_one.trans hKX)) | |
| 231 | - | |
| 232 | -theorem joined_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 233 | - let X := parameterSize L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 234 | - RadiusPrimitives (J).mean (J).linear (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 235 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 236 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 237 | - obtain ⟨h1,hK,hI,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 238 | - (zero_le_one.trans L.K_one) ((inv_pos.mpr hτ).le.trans hTi) | |
| 239 | - ((inv_pos.mpr G.T_pos).le.trans hTiTotal) hCp hL0 hδ (norm_nonneg ξ) | |
| 240 | - exact ⟨L.joined_radius_primitives H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 241 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ _ hK hI hIT hC hB hD hN, | |
| 242 | - sourceEnvelope_power _ h1⟩ | |
| 243 | - | |
| 244 | -theorem canonicalInitializedRadius_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 245 | - L.canonicalInitializedRadius H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 246 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ ξ ≤ | |
| 247 | - fullConstant*(parameterSize L.K Ti TiTotal Cp H.L δ ‖ξ‖)^fullPower := by | |
| 248 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 249 | - obtain ⟨_,hK,hI,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K Ti TiTotal Cp H.L δ ‖ξ‖ | |
| 250 | - (zero_le_one.trans L.K_one) ((inv_pos.mpr hτ).le.trans hTi) | |
| 251 | - ((inv_pos.mpr G.T_pos).le.trans hTiTotal) hCp hL0 hδ (norm_nonneg ξ) | |
| 252 | - exact L.canonicalInitializedRadius_power H m hm R S hS τ hτ hτT Ti Cp hτ1 hTi hCp | |
| 253 | - g hg hg0 Ω hΩ hΩo hsub hΩball hphysical TiTotal hT1 hTiTotal δ hδ ξ _ hK hI hIT hC hB hD hN | |
| 254 | - | |
| 255 | 190 | end EulerParentPacketFrames.LabelData |
+0 −31 Euler/ParentNeighborThreshold.lean View file
| @@ -32,11 +32,6 @@ theorem forwardThreshold_le_common (CM CH : ℝ) : | ||
| 32 | 32 | theorem joinedThreshold_le_common (CM CH : ℝ) : |
| 33 | 33 | joinedThreshold CM CH ≤ commonThreshold CM CH := le_max_right _ _ |
| 34 | 34 | |
| 35 | -theorem threshold_le_previous (J D : ℕ) (hJ : 3 ≤ J) (X : ℝ) (hX : 0 ≤ X) | |
| 36 | - (hbase : X^D ≤ exp (X/((J-1 : ℕ) : ℝ)^4)) (B : ℝ) (hB : B ≤ X^D) | |
| 37 | - (n : ℕ) : B ≤ previousFrequency J D X n := | |
| 38 | - hB.trans (initial_frequency_le_previous J D hJ X hX hbase n) | |
| 39 | - | |
| 40 | 35 | end EulerParentNeighborThreshold |
| 41 | 36 | |
| 42 | 37 | namespace EulerParentPacketFrames.LabelData |
| @@ -109,30 +104,4 @@ variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 109 | 104 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 110 | 105 | (P : ParentFrame (G.transverseData m hm R S hS) τ) |
| 111 | 106 | |
| 112 | -theorem joined_neighbor_error_of_literal_scales | |
| 113 | - (J D : ℕ) (hJ : 3 ≤ J) (hD : 2000 ≤ D) (X ρ CM CH : ℝ) | |
| 114 | - (hX : 2 ≤ X) (hbase : X^D ≤ exp (X/((J-1 : ℕ) : ℝ)^4)) | |
| 115 | - (a β : ℕ → ℝ) (ha₀ : 1/2 ≤ a 0) (ha₀₂ : a 0 ≤ 2) | |
| 116 | - (hβ₀ : 1/2 ≤ β 0*X^2) (hβ₀₂ : β 0*X^2 ≤ 2) | |
| 117 | - (n c : ℕ) (hn : 1 ≤ n) (hτliteral : τ=activationTime J X a β n) | |
| 118 | - (hτ1 : τ ≤ 1) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) | |
| 119 | - (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) | |
| 120 | - (hρ : 0 ≤ ρ) (hρ1 : ρ ≤ 1) | |
| 121 | - (hshear : P.shear=previousShear J X n) | |
| 122 | - (hKk : L.K ≤ previousFrequency J D X n^80) | |
| 123 | - (hcost : joinedThreshold CM CH ≤ previousFrequency J D X n) | |
| 124 | - (hc : requiredExponent ≤ c) (hscale : G.ell ≤ supportScale J X n) : | |
| 125 | - L.neighborScaleCost m hm R S hS H τ hτ hτT P CM CH*G.ell*ρ ≤ | |
| 126 | - neighborError J D X (c : ℝ) n := by | |
| 127 | - have hx0 : 0 < X := by linarith only [hX] | |
| 128 | - have hx1 : 1 ≤ X := by linarith only [hX] | |
| 129 | - have hTi : τ⁻¹ ≤ 12/baseHorizon J X := by | |
| 130 | - rw [hτliteral] | |
| 131 | - exact reciprocal_activation_le_base J (by omega) X hx0 a β ha₀ ha₀₂ hβ₀ hβ₀₂ hn | |
| 132 | - have hTik := base_inverse_le_previous_frequency_pow80 J D hJ hD X hX hbase n | |
| 133 | - have hk := previousFrequency_one_le J D hJ X hx1 hbase n | |
| 134 | - exact L.neighbor_error_of_source_scales m hm R S hS H τ hτ hτT P | |
| 135 | - (12/baseHorizon J X) CM CH hτ1 hTi hCM hCH ha hH J D X ρ n 80 c | |
| 136 | - hρ hρ1 hshear hk hKk hTik hcost hc (degree_le_requiredExponent.trans hc) hscale | |
| 137 | - | |
| 138 | 107 | end EulerParentPacketFrames.LabelData |
+0 −4 Euler/ParentNormalizedGeometry.lean View file
| @@ -39,10 +39,6 @@ theorem packetPosition_contDiffAt_two (t : ℝ) (ht : t ∈ Ioo 0 A.T) (x : Spac | ||
| 39 | 39 | ((A.realPosition_contDiffAt_two t ht (A.ell • x)).comp (t,x) |
| 40 | 40 | (contDiffAt_fst.prodMk (contDiffAt_snd.const_smul A.ell))).const_smul A.ell⁻¹ |
| 41 | 41 | |
| 42 | -theorem packetPosition_joint_continuous : Continuous A.packetPosition := | |
| 43 | - (A.realPosition_joint_continuous.comp | |
| 44 | - (continuous_fst.prodMk (continuous_snd.const_smul A.ell))).const_smul A.ell⁻¹ | |
| 45 | - | |
| 46 | 42 | theorem realPosition_hasFDerivAt (t : Icc (0 : ℝ) A.T) (ht : (t : ℝ) ∈ Ioo 0 A.T) (x : Space) : |
| 47 | 43 | HasFDerivAt (Function.uncurry A.realPosition) |
| 48 | 44 | ((toSpanSingleton ℝ (A.velocity.field t x)).coprod |
+0 −53 Euler/ParentPacketChildChoice.lean View file
| @@ -33,57 +33,4 @@ variable (J : JoinedInputs (A.meanData H) (A.transverseData m hm R S hS) τ hτ | ||
| 33 | 33 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 34 | 34 | |
| 35 | 35 | |
| 36 | -include L I J hδ1 hα in | |
| 37 | -theorem joined_child_eventually : | |
| 38 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 39 | - ∀ᶠ k : ℝ in atTop, | |
| 40 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 41 | - (Q : EulerAllOrderDriftCorrection.Budget period ((A.transverseData m hm R S hS)).T_pos | |
| 42 | - (initializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) | |
| 43 | - (truncation k) hn k hk)) | |
| 44 | - (G : EulerPhysicalGraphFlowBounds.Data period A.T) | |
| 45 | - (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0), | |
| 46 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 47 | - G.A = Q.liftedPacketCoefficient period | |
| 48 | - (initializedNormalizedField (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (truncation k) k) ∧ | |
| 49 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 50 | - (initializedNormalizedDerivativeField (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (truncation k) k) ∧ | |
| 51 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) A.T, | |
| 52 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 53 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 54 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 55 | - (∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 56 | - ‖fderiv ℝ (initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α | |
| 57 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t)) x - | |
| 58 | - (α*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 59 | - rankOne ℝ (canonicalVelocity τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs t (I.normalized t x)) | |
| 60 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cv/k ∧ | |
| 61 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α | |
| 62 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t))) x - | |
| 63 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs α t (I.normalized t x) * | |
| 64 | - deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 65 | - rankOne ℝ (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x)) | |
| 66 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cp/k) ∧ | |
| 67 | - ∃ (LC : LabelData (A.child G k m hgraph nextEll hnext hnext1)) | |
| 68 | - (_IC : ParticleInverse (A.child G k m hgraph nextEll hnext hnext1)), LC.K=k^80 := by | |
| 69 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := | |
| 70 | - initialized_child_label_bounds_eventually (A.meanData H) (U := U) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ hδ1 ξ hs α hα | |
| 71 | - J.linear J.normal (JoinedInputs.mean (U := U) J) (A.sourceAgreement m hm R S hS H) | |
| 72 | - (fun t x => A.packetPosition (t,x)) I.normalized | |
| 73 | - A.packetPosition_contDiff (fun t x => (A.packetPosition_spatial t x).fderiv) | |
| 74 | - I.normalized_right I.normalized_continuous A.frame_det | |
| 75 | - A.ell A.ell_pos A.ell_le_one | |
| 76 | - L.displacement L.velocity L.acceleration L.K L.K_one | |
| 77 | - L.displacement_bound L.velocity_bound L.acceleration_bound 6 | |
| 78 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 79 | - filter_upwards [hsource] with k hkdata | |
| 80 | - obtain ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hG,hG1,hgraph,hweighted,herror,hmatch,hlabel⟩ := hkdata | |
| 81 | - let LC := L.child G k m hgraph nextEll hnext hnext1 E | |
| 82 | - (fun t => (hmatch t).1) (fun t => (hmatch t).2.1) (fun t => (hmatch t).2.2.1) | |
| 83 | - (fun t => (hmatch t).2.2.2.1) (fun t => (hmatch t).2.2.2.2.1) | |
| 84 | - (fun t => (hmatch t).2.2.2.2.2.1) | |
| 85 | - (k^80) (one_le_pow₀ (by linarith : (1 : ℝ) ≤ k)) hlabel | |
| 86 | - exact ⟨hk,hn,Q,G,hgraph,hδQ,hρQ,hγQ,hG,hG1,hweighted,herror, | |
| 87 | - LC,I.child G k m hgraph nextEll hnext hnext1,rfl⟩ | |
| 88 | - | |
| 89 | 36 | end EulerParentPacketFrames.LabelData |
+0 −53 Euler/ParentPacketForwardChildChoice.lean View file
| @@ -31,57 +31,4 @@ variable (J : ForwardInputs (A.meanData H) (A.transverseData m hm R S hS)) | ||
| 31 | 31 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 32 | 32 | |
| 33 | 33 | |
| 34 | -include L I J hδ1 hα in | |
| 35 | -theorem forward_child_eventually : | |
| 36 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 37 | - ∀ᶠ k : ℝ in atTop, | |
| 38 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 39 | - (Q : EulerAllOrderDriftCorrection.Budget period ((A.transverseData m hm R S hS)).T_pos | |
| 40 | - (forwardInitializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) | |
| 41 | - (truncation k) hn k hk)) | |
| 42 | - (G : EulerPhysicalGraphFlowBounds.Data period A.T) | |
| 43 | - (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0), | |
| 44 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 45 | - G.A = Q.liftedPacketCoefficient period | |
| 46 | - (forwardInitializedNormalizedField (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (truncation k) k) ∧ | |
| 47 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 48 | - (forwardInitializedNormalizedDerivativeField (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α (truncation k) k) ∧ | |
| 49 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) A.T, | |
| 50 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 51 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 52 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 53 | - (∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 54 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α | |
| 55 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t)) x - | |
| 56 | - (α*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 57 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm R S hS) ξ t (I.normalized t x)) | |
| 58 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cv/k ∧ | |
| 59 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm R S hS) rfl δ hδ ξ hs α | |
| 60 | - (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk Q t (I.normalized t))) x - | |
| 61 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm R S hS) ξ α t (I.normalized t x) * | |
| 62 | - deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • | |
| 63 | - rankOne ℝ (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x)) | |
| 64 | - (((A.transverseData m hm R S hS)).normal.field t (I.normalized t x))‖ < Cp/k) ∧ | |
| 65 | - ∃ (LC : LabelData (A.child G k m hgraph nextEll hnext hnext1)) | |
| 66 | - (_IC : ParticleInverse (A.child G k m hgraph nextEll hnext hnext1)), LC.K=k^80 := by | |
| 67 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := | |
| 68 | - forwardInitialized_child_label_and_shear_eventually (A.meanData H) (U := U) (A.transverseData m hm R S hS) rfl δ hδ hδ1 ξ hs α hα | |
| 69 | - J.linear J.normal (ForwardInputs.mean (U := U) J) (A.sourceAgreement m hm R S hS H) | |
| 70 | - (fun t x => A.packetPosition (t,x)) I.normalized | |
| 71 | - A.packetPosition_contDiff (fun t x => (A.packetPosition_spatial t x).fderiv) | |
| 72 | - I.normalized_right I.normalized_continuous A.frame_det | |
| 73 | - A.ell A.ell_pos A.ell_le_one | |
| 74 | - L.displacement L.velocity L.acceleration L.K L.K_one | |
| 75 | - L.displacement_bound L.velocity_bound L.acceleration_bound 6 | |
| 76 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 77 | - filter_upwards [hsource] with k hkdata | |
| 78 | - obtain ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hG,hG1,hgraph,hweighted,herror,hmatch,hlabel⟩ := hkdata | |
| 79 | - let LC := L.child G k m hgraph nextEll hnext hnext1 E | |
| 80 | - (fun t => (hmatch t).1) (fun t => (hmatch t).2.1) (fun t => (hmatch t).2.2.1) | |
| 81 | - (fun t => (hmatch t).2.2.2.1) (fun t => (hmatch t).2.2.2.2.1) | |
| 82 | - (fun t => (hmatch t).2.2.2.2.2.1) | |
| 83 | - (k^80) (one_le_pow₀ (by linarith : (1 : ℝ) ≤ k)) hlabel | |
| 84 | - exact ⟨hk,hn,Q,G,hgraph,hδQ,hρQ,hγQ,hG,hG1,hweighted,herror, | |
| 85 | - LC,I.child G k m hgraph nextEll hnext hnext1,rfl⟩ | |
| 86 | - | |
| 87 | 34 | end EulerParentPacketFrames.LabelData |
+0 −3 Euler/ParentPacketForwardInput.lean View file
| @@ -51,8 +51,5 @@ def forwardInputs (Ti : ℝ) (hT1 : G.T ≤ 1) (hTi : G.T⁻¹ ≤ Ti) : | ||
| 51 | 51 | normal := N.enlargeRadius Rc ((le_max_left Rn Rm).trans (le_max_right _ _)) |
| 52 | 52 | mean := M.enlargeRadius Rc ((le_max_right Rn Rm).trans (le_max_right _ _)) } |
| 53 | 53 | |
| 54 | -theorem forwardInputs_growth (Ti : ℝ) (hT1 : G.T ≤ 1) (hTi : G.T⁻¹ ≤ Ti) : | |
| 55 | - (L.forwardInputs H m hm R S hS CM hCM hM Ω hΩ hΩo hsub hΩball hshort Ti hT1 hTi).linear.g=1 := rfl | |
| 56 | - | |
| 57 | 54 | end LabelData |
| 58 | 55 | end EulerParentPacketFrames |
+0 −30 Euler/ParentPacketGeometryGuards.lean View file
| @@ -68,36 +68,6 @@ variable {G : Parent} (L : LabelData G) | ||
| 68 | 68 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 69 | 69 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 70 | 70 | |
| 71 | -/-- One explicit parent coefficient amplitude controls both the actual | |
| 72 | -strain and pressure Hessian throughout the history interval. -/ | |
| 73 | -def historyAmplitude : ℝ := 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 74 | - | |
| 75 | -theorem historyAmplitude_nonneg : 0 ≤ L.historyAmplitude := by | |
| 76 | - unfold historyAmplitude | |
| 77 | - positivity [gradientAmplitude_nonneg L.K] | |
| 78 | - | |
| 79 | -omit [CompleteSpace U] in | |
| 80 | -theorem history_strain_norm (t : Icc (0 : ℝ) τ) (x : Space) : | |
| 81 | - ‖((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field t x‖ ≤ | |
| 82 | - L.historyAmplitude := by | |
| 83 | - change ‖G.strain.field (initialInclusion G.T τ hτT.le t) x‖ ≤ | |
| 84 | - 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 85 | - have h := L.strain_scaled_bound 0 (initialInclusion G.T τ hτT.le t) x | |
| 86 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 87 | - Nat.cast_one,pow_zero,one_pow,mul_one] using h | |
| 88 | - | |
| 89 | -omit [CompleteSpace U] in | |
| 90 | -theorem history_hessian_norm (x : Space) : | |
| 91 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian x‖ ≤ | |
| 92 | - L.historyAmplitude := by | |
| 93 | - apply (ContinuousMap.norm_le _ L.historyAmplitude_nonneg).2 | |
| 94 | - intro t | |
| 95 | - change ‖G.curvature.field (initialInclusion G.T τ hτT.le t) x‖ ≤ | |
| 96 | - 27*(frameAmplitude L.K)^2*gradientAmplitude L.K | |
| 97 | - have h := L.curvature_scaled_bound 0 (initialInclusion G.T τ hτT.le t) x | |
| 98 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 99 | - Nat.cast_one,pow_zero,one_pow,mul_one] using h | |
| 100 | - | |
| 101 | 71 | /-- Apply the manuscript's scalar stage bounds to the literal source |
| 102 | 72 | coefficients. The remaining inputs are older-stage center data, the |
| 103 | 73 | chosen normal, and scalar comparisons with explicit source costs. -/ |
+0 −4 Euler/ParentPacketGeometryInput.lean View file
| @@ -31,8 +31,4 @@ def geometryInputs : | ||
| 31 | 31 | (J.sourceGrowthProfile_positive hball) (J.sourceGrowthProfile_initial hball) |
| 32 | 32 | Ω hΩ hΩo hsub hΩball (J.sourceGrowthProfile_propagator hball) TiTotal hT1 hTiTotal |
| 33 | 33 | |
| 34 | -theorem geometryInputs_growth : | |
| 35 | - (L.geometryInputs H m hm R S hS τ hτ hτT P J hball Ti TiTotal hτ1 hTi | |
| 36 | - hT1 hTiTotal Ω hΩ hΩo hsub hΩball).linear.g=J.sourceGrowthProfile hball := rfl | |
| 37 | - | |
| 38 | 34 | end EulerParentPacketFrames.LabelData |
+0 −4 Euler/ParentPacketHessianSymmetry.lean View file
| @@ -51,10 +51,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 51 | 51 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 52 | 52 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 53 | 53 | |
| 54 | -theorem history_symmetric (t : Icc (0 : ℝ) G.T) (x : Space) : | |
| 55 | - ((G.historyData m hm R S hS H).H.field t x).IsSymmetric := | |
| 56 | - G.curvature_symmetric p hp hacceleration t x | |
| 57 | - | |
| 58 | 54 | theorem initial_history_symmetric (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ G.T) |
| 59 | 55 | (t : Icc (0 : ℝ) τ) (x : Space) : |
| 60 | 56 | (((G.historyData m hm R S hS H).initial τ hτ hτT).H.field t x).IsSymmetric := |
+0 −47 Euler/ParentPacketHistoryLowBounds.lean View file
| @@ -20,51 +20,4 @@ variable (G : Parent) | ||
| 20 | 20 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 21 | 21 | (S : Set Space) (hS : IsCompact S) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 22 | 22 | |
| 23 | -theorem history_strain_size_of_physical | |
| 24 | - (u : Icc (0 : ℝ) G.T → Space → Space) | |
| 25 | - (hu : ∀ t x, DifferentiableAt ℝ (u t) x) | |
| 26 | - (hvelocity : ∀ t x, G.velocity.field t x=u t (G.position t x)) | |
| 27 | - (CM : ℝ) (hCM : 0 ≤ CM) | |
| 28 | - (hbound : ∀ t x, ‖fderiv ℝ (u t) x‖ ≤ CM) : | |
| 29 | - ‖pathEvaluation 0 ((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field‖ ≤ CM := by | |
| 30 | - apply (ContinuousMap.norm_le _ hCM).2 | |
| 31 | - intro t | |
| 32 | - change ‖G.strain.field (initialInclusion G.T τ hτT.le t) 0‖ ≤ CM | |
| 33 | - rw [G.strain_physical u hu hvelocity] | |
| 34 | - exact hbound _ _ | |
| 35 | - | |
| 36 | -theorem history_hessian_size_of_physical (H : LowBounds G) | |
| 37 | - (p : Icc (0 : ℝ) G.T → Space → ℝ) (hp : ∀ t, ContDiff ℝ ∞ (p t)) | |
| 38 | - (hacceleration : ∀ t x, G.acceleration.field t x=-(gradient (p t) (G.position t x))) | |
| 39 | - (CH : ℝ) (hCH : 0 ≤ CH) | |
| 40 | - (hbound : ∀ t x, ‖fderiv ℝ (gradient (p t)) x‖ ≤ CH) : | |
| 41 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian 0‖ ≤ CH := by | |
| 42 | - apply (ContinuousMap.norm_le _ hCH).2 | |
| 43 | - intro t | |
| 44 | - change ‖G.curvature.field (initialInclusion G.T τ hτT.le t) 0‖ ≤ CH | |
| 45 | - rw [G.curvature_physical (fun t => gradient (p t)) | |
| 46 | - (fun t x => ((EulerMeanSolenoidal.contDiff_gradient (hp t)).differentiable (by simp) x)) | |
| 47 | - hacceleration] | |
| 48 | - exact hbound _ _ | |
| 49 | - | |
| 50 | -/-- The source's sharper pressure bound CH*hstar*hold supplies the | |
| 51 | -quadratic history bound when the older shear is at most hstar. -/ | |
| 52 | -theorem activation_history_sizes_of_physical (H : LowBounds G) | |
| 53 | - (u : Icc (0 : ℝ) G.T → Space → Space) | |
| 54 | - (hu : ∀ t x, DifferentiableAt ℝ (u t) x) | |
| 55 | - (hvelocity : ∀ t x, G.velocity.field t x=u t (G.position t x)) | |
| 56 | - (p : Icc (0 : ℝ) G.T → Space → ℝ) (hp : ∀ t, ContDiff ℝ ∞ (p t)) | |
| 57 | - (hacceleration : ∀ t x, G.acceleration.field t x=-(gradient (p t) (G.position t x))) | |
| 58 | - (CM CH hstar hold : ℝ) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hhstar : 0 ≤ hstar) | |
| 59 | - (hhold : 0 ≤ hold) (horder : hold ≤ hstar) | |
| 60 | - (hM : ∀ t x, ‖fderiv ℝ (u t) x‖ ≤ CM*hstar) | |
| 61 | - (hP : ∀ t x, ‖fderiv ℝ (gradient (p t)) x‖ ≤ CH*hstar*hold) : | |
| 62 | - ‖pathEvaluation 0 ((G.transverseData m hm R S hS).initial τ hτ hτT.le).M.field‖ ≤ CM*hstar ∧ | |
| 63 | - ‖(G.historyOn H m hm R S hS τ hτ hτT).coefficients.labelHessian 0‖ ≤ CH*hstar^2 := by | |
| 64 | - refine ⟨G.history_strain_size_of_physical m hm R S hS τ hτ hτT u hu hvelocity | |
| 65 | - (CM*hstar) (mul_nonneg hCM hhstar) hM, ?_⟩ | |
| 66 | - refine (G.history_hessian_size_of_physical m hm R S hS τ hτ hτT H p hp hacceleration | |
| 67 | - (CH*hstar*hold) (by positivity) hP).trans ?_ | |
| 68 | - nlinarith only [mul_le_mul_of_nonneg_left horder (mul_nonneg hCH hhstar)] | |
| 69 | - | |
| 70 | 23 | end EulerParentPacketFrames.Parent |
+0 −11 Euler/ParentPacketHistoryPolynomial.lean View file
| @@ -105,15 +105,4 @@ theorem initialHistoryDifferenceScaleCost_bound : | ||
| 105 | 105 | (norm_nonneg _) (norm_nonneg _) (norm_nonneg _) hC hC1 hCH (coefficientRadius_nonneg L.K) |
| 106 | 106 | (D.frame_norm_le C hC hF) (D.frameDerivative_norm_le C1 hC1 hF1) hBH |
| 107 | 107 | |
| 108 | -omit [CompleteSpace U] in | |
| 109 | -include hτ1 hTi in | |
| 110 | -theorem initial_history_polynomial : | |
| 111 | - historyLabelDifferenceCost (G.historyOn H m hm R S hS τ hτ hτT) ≤ | |
| 112 | - (labelHistoryConstant*(1+L.K+Ti)^labelHistoryPower)*G.ell := by | |
| 113 | - have hTi0 : 0 ≤ Ti := (inv_pos.mpr hτ).le.trans hTi | |
| 114 | - exact (L.initial_history_derivative_scale m hm R S hS H τ hτ hτT).trans | |
| 115 | - (mul_le_mul_of_nonneg_right | |
| 116 | - ((L.initialHistoryDifferenceScaleCost_bound m hm R S hS H τ hτ hτT Ti hτ1 hTi).trans | |
| 117 | - (labelHistoryEnvelope_power L.K Ti (zero_le_one.trans L.K_one) hTi0)) G.ell_pos.le) | |
| 118 | - | |
| 119 | 108 | end EulerParentPacketFrames.LabelData |
+0 −58 Euler/ParentPacketNeighborBounds.lean View file
| @@ -55,30 +55,6 @@ theorem scaled_first_majorant (A : ℝ) : | ||
| 55 | 55 | norm_num [majorant,scaledRadius] |
| 56 | 56 | ring |
| 57 | 57 | |
| 58 | -theorem source_frame_derivative_norm : | |
| 59 | - ‖(G.transverseData m hm R S hS).frame.derivative.field‖ ≤ L.frameDifferenceCost*G.ell := by | |
| 60 | - have h0 := frameAmplitude_nonneg L.K | |
| 61 | - have h1 := coefficientRadius_nonneg L.K | |
| 62 | - have hell := G.ell_pos | |
| 63 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold frameDifferenceCost; positivity) | |
| 64 | - intro t x | |
| 65 | - have h := coefficient_derivative_bound m R G.frame.toSmoothCoefficientPath 1 | |
| 66 | - (frameAmplitude L.K*majorant L.scaledRadius 0 1) (L.frame_scaled_bound 1) t x | |
| 67 | - rw [L.scaled_first_majorant] at h | |
| 68 | - exact h | |
| 69 | - | |
| 70 | -theorem source_first_derivative_norm : | |
| 71 | - ‖(G.transverseData m hm R S hS).frameDerivative.derivative.field‖ ≤ L.firstDifferenceCost*G.ell := by | |
| 72 | - have h0 := gradientAmplitude_nonneg L.K | |
| 73 | - have h1 := coefficientRadius_nonneg L.K | |
| 74 | - have hell := G.ell_pos | |
| 75 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold firstDifferenceCost; positivity) | |
| 76 | - intro t x | |
| 77 | - have h := coefficient_derivative_bound m R G.first.toSmoothCoefficientPath 1 | |
| 78 | - (gradientAmplitude L.K*majorant L.scaledRadius 0 1) (L.first_scaled_bound 1) t x | |
| 79 | - rw [L.scaled_first_majorant] at h | |
| 80 | - exact h | |
| 81 | - | |
| 82 | 58 | theorem source_normal_derivative_norm : |
| 83 | 59 | ‖(G.transverseData m hm R S hS).normal.derivative.field‖ ≤ L.normalDifferenceCost*G.ell := by |
| 84 | 60 | have h1 := coefficientRadius_nonneg L.K |
| @@ -101,40 +77,6 @@ theorem source_strain_derivative_norm : | ||
| 101 | 77 | rw [L.scaled_first_majorant] at h |
| 102 | 78 | exact h |
| 103 | 79 | |
| 104 | -theorem source_curvature_derivative_norm (H : LowBounds G) : | |
| 105 | - ‖(G.historyData m hm R S hS H).H.derivative.field‖ ≤ L.strainDifferenceCost*G.ell := by | |
| 106 | - have h0 := gradientAmplitude_nonneg L.K | |
| 107 | - have h1 := coefficientRadius_nonneg L.K | |
| 108 | - have hell := G.ell_pos | |
| 109 | - apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold strainDifferenceCost; positivity) | |
| 110 | - intro t x | |
| 111 | - have h := L.curvature_scaled_bound 1 t x | |
| 112 | - rw [L.scaled_first_majorant] at h | |
| 113 | - exact h | |
| 114 | - | |
| 115 | 80 | variable [CompleteSpace U] |
| 116 | 81 | |
| 117 | -def historyDifferenceScaleCost (H : LowBounds G) : ℝ := | |
| 118 | - let D := G.transverseData m hm R S hS | |
| 119 | - let B := G.historyData m hm R S hS H | |
| 120 | - historyDifferenceCost G.T D.frameLower ‖D.frame.field‖ ‖D.frameDerivative.field‖ | |
| 121 | - (G.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+G.T^2*‖B.H.field‖) | |
| 122 | - (historyTransportCost (D := D)) L.frameDifferenceCost L.firstDifferenceCost L.strainDifferenceCost | |
| 123 | - | |
| 124 | -omit [CompleteSpace U] in | |
| 125 | -theorem source_history_derivative_scale (H : LowBounds G) : | |
| 126 | - historyLabelDifferenceCost (G.historyData m hm R S hS H) ≤ | |
| 127 | - L.historyDifferenceScaleCost m hm R S hS H*G.ell := by | |
| 128 | - apply historyDifferenceCost_le_scale | |
| 129 | - · exact G.T_pos.le | |
| 130 | - · exact (G.transverseData m hm R S hS).frameLower_pos.le | |
| 131 | - · positivity | |
| 132 | - · positivity | |
| 133 | - · exact add_nonneg (mul_nonneg G.T_pos.le (norm_nonneg _)) (norm_nonneg _) | |
| 134 | - · positivity | |
| 135 | - · exact historyTransportCost_nonneg | |
| 136 | - · exact L.source_frame_derivative_norm m hm R S hS | |
| 137 | - · exact L.source_first_derivative_norm m hm R S hS | |
| 138 | - · exact L.source_curvature_derivative_norm m hm R S hS H | |
| 139 | - | |
| 140 | 82 | end EulerParentPacketFrames.LabelData |
+0 −23 Euler/ParentPacketNeighborPolynomial.lean View file
| @@ -186,16 +186,6 @@ theorem neighborScaleCost_polynomial : | ||
| 186 | 186 | (envelope_power L.K Ti P.epsilon⁻¹ P.shear⁻¹ CM CH (zero_le_one.trans L.K_one) |
| 187 | 187 | ((inv_pos.mpr hτ).le.trans hTi) (inv_nonneg.mpr heps.le) (inv_nonneg.mpr hshear.le) hCM hCH) |
| 188 | 188 | |
| 189 | -include hτ1 hTi hCM hCH hshear heps in | |
| 190 | -theorem source_neighbor_polynomial : | |
| 191 | - P.neighborCost hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ≤ | |
| 192 | - (EulerParentNeighborCost.constant* | |
| 193 | - (1+L.K+Ti+P.epsilon⁻¹+P.shear⁻¹+CM+CH)^EulerParentNeighborCost.degree)*G.ell := | |
| 194 | - (L.source_neighbor_scale m hm R S hS H τ hτ hτT P CM CH hCM hCH hshear heps).trans | |
| 195 | - (mul_le_mul_of_nonneg_right | |
| 196 | - (L.neighborScaleCost_polynomial m hm R S hS H τ hτ hτT P Ti CM CH hτ1 hTi hCM hCH hshear heps) | |
| 197 | - G.ell_pos.le) | |
| 198 | - | |
| 199 | 189 | include hτ1 hTi hCM hCH in |
| 200 | 190 | /-- With the actual activation scales, only the positive shear itself is |
| 201 | 191 | needed as a polynomial variable. CM and CH remain fixed low constants. -/ |
| @@ -225,17 +215,4 @@ theorem neighborScaleCost_low_polynomial (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) | ||
| 225 | 215 | (2*(1+CM+CH)*(1+L.K+Ti+P.shear))^EulerParentNeighborCost.degree := by gcongr |
| 226 | 216 | _ = _ := by rw [mul_pow]; ring |
| 227 | 217 | |
| 228 | -include hτ1 hTi hCM hCH in | |
| 229 | -theorem source_neighbor_low_polynomial (ha : 1/2 ≤ P.a) (hH : 1 ≤ P.shear) : | |
| 230 | - P.neighborCost hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ≤ | |
| 231 | - ((EulerParentNeighborCost.constant*(2*(1+CM+CH))^EulerParentNeighborCost.degree)* | |
| 232 | - (1+L.K+Ti+P.shear)^EulerParentNeighborCost.degree)*G.ell := by | |
| 233 | - have hHp : 0 < P.shear := zero_lt_one.trans_le hH | |
| 234 | - have ha0 : 0 < P.a := by linarith only [ha] | |
| 235 | - have hEp : 0 < P.epsilon := Real.sqrt_pos.mpr (div_pos ha0 hHp) | |
| 236 | - exact (L.source_neighbor_scale m hm R S hS H τ hτ hτT P CM CH hCM hCH hHp hEp).trans | |
| 237 | - (mul_le_mul_of_nonneg_right | |
| 238 | - (L.neighborScaleCost_low_polynomial m hm R S hS H τ hτ hτT P Ti CM CH hτ1 hTi hCM hCH ha hH) | |
| 239 | - G.ell_pos.le) | |
| 240 | - | |
| 241 | 218 | end EulerParentPacketFrames.LabelData |
+0 −12 Euler/ParentPacketRestriction.lean View file
| @@ -29,22 +29,10 @@ def restrictTime : Parent where | ||
| 29 | 29 | initial := G.initial |
| 30 | 30 | determinant t x := G.determinant (initialInclusion G.T S hST t) x |
| 31 | 31 | |
| 32 | -theorem restrictTime_frame (t : Icc (0 : ℝ) S) (x : Space) : | |
| 33 | - (G.restrictTime S hS hST).frame.field t x=G.frame.field (initialInclusion G.T S hST t) x := by | |
| 34 | - erw [frame_apply] | |
| 35 | - | |
| 36 | 32 | theorem restrictTime_first (t : Icc (0 : ℝ) S) (x : Space) : |
| 37 | 33 | (G.restrictTime S hS hST).first.field t x=G.first.field (initialInclusion G.T S hST t) x := by |
| 38 | 34 | erw [first_apply] |
| 39 | 35 | |
| 40 | -theorem restrictTime_second (t : Icc (0 : ℝ) S) (x : Space) : | |
| 41 | - (G.restrictTime S hS hST).second.field t x=G.second.field (initialInclusion G.T S hST t) x := by | |
| 42 | - erw [second_apply] | |
| 43 | - | |
| 44 | -theorem restrictTime_inverse (t : Icc (0 : ℝ) S) (x : Space) : | |
| 45 | - (G.restrictTime S hS hST).inverse.field t x=G.inverse.field (initialInclusion G.T S hST t) x := by | |
| 46 | - erw [inverse_apply] | |
| 47 | - | |
| 48 | 36 | theorem restrictTime_strain (t : Icc (0 : ℝ) S) (x : Space) : |
| 49 | 37 | (G.restrictTime S hS hST).strain.field t x=G.strain.field (initialInclusion G.T S hST t) x := by |
| 50 | 38 | erw [strain_apply] |
+0 −11 Euler/ParentPacketStrainEvolution.lean View file
| @@ -110,10 +110,6 @@ def centerCurvature (t : ℝ) : EndSpace := | ||
| 110 | 110 | def centerStrainDerivative (t : ℝ) : EndSpace := |
| 111 | 111 | extendPath G.T G.T_pos.le G.strainDerivative.field t 0 |
| 112 | 112 | |
| 113 | -theorem centerStrainDerivative_eq (t : ℝ) : | |
| 114 | - G.centerStrainDerivative t = -(G.centerStrain t).comp (G.centerStrain t)-G.centerCurvature t := | |
| 115 | - G.strainDerivative_apply (projIcc 0 G.T G.T_pos.le t) 0 | |
| 116 | - | |
| 117 | 113 | theorem centerStrain_derivative (τ : ℝ) (hτ : 0 ≤ τ) |
| 118 | 114 | (t : ℝ) (ht : t ∈ Icc τ G.T) : |
| 119 | 115 | HasDerivWithinAt G.centerStrain (G.centerStrainDerivative t) (Icc τ G.T) t := by |
| @@ -144,13 +140,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 144 | 140 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m) |
| 145 | 141 | (S : Set Space) (hS : IsCompact S) |
| 146 | 142 | |
| 147 | -theorem transverse_strain_within (t : Icc (0 : ℝ) G.T) (x : Space) : | |
| 148 | - HasDerivWithinAt | |
| 149 | - (fun s => extendPath G.T G.T_pos.le (G.transverseData m hm R S hS).M.field s x) | |
| 150 | - (-((G.transverseData m hm R S hS).M.field t x).comp | |
| 151 | - ((G.transverseData m hm R S hS).M.field t x)-G.curvature.field t x) | |
| 152 | - (Icc (0 : ℝ) G.T) t := G.strain_within t x | |
| 153 | - | |
| 154 | 143 | end Transverse |
| 155 | 144 | |
| 156 | 145 | end Parent |
+0 −19 Euler/ParentParticleInverse.lean View file
| @@ -41,29 +41,10 @@ namespace ParticleInverse | ||
| 41 | 41 | |
| 42 | 42 | variable {A : Parent} (I : ParticleInverse A) |
| 43 | 43 | |
| 44 | -include I in | |
| 45 | -theorem position_bijective (t : Icc (0 : ℝ) A.T) : Function.Bijective (A.position t) := | |
| 46 | - ⟨Function.LeftInverse.injective (I.left_inverse t), | |
| 47 | - Function.RightInverse.surjective (I.right_inverse t)⟩ | |
| 48 | - | |
| 49 | 44 | theorem field_initial (x : Space) : I.field A.zeroTime x=x := by |
| 50 | 45 | have h := I.left_inverse A.zeroTime x |
| 51 | 46 | simpa only [Parent.position, Parent.zeroTime, A.initial, add_zero] using h |
| 52 | 47 | |
| 53 | -include I in | |
| 54 | -theorem position_measurePreserving (t : Icc (0 : ℝ) A.T) : | |
| 55 | - MeasurePreserving (A.position t) volume volume := | |
| 56 | - EulerDeformationVolume.measurePreserving_of_det_one volume (A.position t) | |
| 57 | - (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) | |
| 58 | - (A.position_hasFDerivAt t) (I.position_bijective t) (A.displacement_det_one t) | |
| 59 | - | |
| 60 | -theorem field_measurePreserving (t : Icc (0 : ℝ) A.T) : | |
| 61 | - MeasurePreserving (I.field t) volume volume := | |
| 62 | - EulerFlowL2Transport.inverse_measurePreserving (A.position t) (I.field t) | |
| 63 | - (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) | |
| 64 | - (A.position_hasFDerivAt t) (I.left_inverse t) (I.right_inverse t) | |
| 65 | - (Continuous.uncurry_left t I.continuous) (A.displacement_det_one t) | |
| 66 | - | |
| 67 | 48 | def normalized (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 68 | 49 | A.packetInverse I.field (t,x) |
| 69 | 50 | |
+0 −89 Euler/ParentRenewalParameters.lean View file
| @@ -23,20 +23,6 @@ def tiltError : ℝ := 1500*G.σ+30000000*neighborStabilityConstant*G.error*G.Θ | ||
| 23 | 23 | /-- A lower bound for the magnitude of the leading compressive term. -/ |
| 24 | 24 | def compressionScale : ℝ := G.a/(20*G.ε*G.target) |
| 25 | 25 | |
| 26 | -theorem start_lt_targetTime : G.t₀ < G.targetTime := by | |
| 27 | - change G.t₀ < G.t₀+(G.ε/G.a)*G.target | |
| 28 | - exact lt_add_of_pos_right _ (mul_pos (div_pos G.epsilon_pos G.a_pos) G.target_pos) | |
| 29 | - | |
| 30 | -theorem targetTime_pos (hstart : 0 ≤ G.t₀) : 0 < G.targetTime := | |
| 31 | - hstart.trans_lt G.start_lt_targetTime | |
| 32 | - | |
| 33 | -theorem nextCoupling_pos : 0 < G.nextCoupling := by | |
| 34 | - obtain ⟨F,F1,Z,Z1,J⟩ := G.exists_geometry | |
| 35 | - have hp := J.positive_pressure G.center G.target ⟨G.target_one,G.target_le_horizon⟩ | |
| 36 | - change 0 < normalizedCoupling _ _ _ | |
| 37 | - rw [normalizedCoupling_eq] | |
| 38 | - exact div_pos hp J.target_positive | |
| 39 | - | |
| 40 | 26 | theorem nextCoupling_error : |G.nextCoupling/G.a-1| ≤ G.couplingError := by |
| 41 | 27 | obtain ⟨F,F1,Z,Z1,J⟩ := G.exists_geometry |
| 42 | 28 | exact J.next_frame.1 |
| @@ -52,10 +38,6 @@ theorem nextTilt_pos (herror : G.tiltError ≤ 1/2) : 0 < G.nextTilt := by | ||
| 52 | 38 | have hzero := mul_nonpos_of_nonneg_of_nonpos hn.le (le_of_not_gt hneg) |
| 53 | 39 | linarith only [h,herror,hzero] |
| 54 | 40 | |
| 55 | -theorem compressionScale_pos : 0 < G.compressionScale := by | |
| 56 | - unfold compressionScale | |
| 57 | - positivity [G.a_pos,G.epsilon_pos,G.target_pos] | |
| 58 | - | |
| 59 | 41 | /-- The existing geometric smallness guard leaves enough compression |
| 60 | 42 | margin for any subsequent center remainder of size at most one. -/ |
| 61 | 43 | theorem compression_margin {e : ℝ} (he : e ≤ 1) : |
| @@ -141,53 +123,13 @@ theorem shear_eq (hδ : 0 < G.δ) : P.shear=G.hchild := by | ||
| 141 | 123 | rw [J.coefficient_eq,J.ray_eq,J.velocity_eq] |
| 142 | 124 | exact G.target_shear_normalization hδ |
| 143 | 125 | |
| 144 | -theorem epsilon_eq (hδ : 0 < G.δ) : P.epsilon=Real.sqrt (P.a/G.hchild) := by | |
| 145 | - rw [ParentFrame.epsilon,J.shear_eq hδ] | |
| 146 | - | |
| 147 | -theorem normalized_ray_eq : unit (P.m G.targetTime)=unit (G.r G.center G.targetTime) := | |
| 148 | - congrArg unit J.ray_eq | |
| 149 | - | |
| 150 | -theorem normalized_velocity_eq : unit (P.v G.targetTime)=unit (G.w G.center G.targetTime) := | |
| 151 | - congrArg unit J.velocity_eq | |
| 152 | - | |
| 153 | -/-- The actual next source matrix has the prescribed target shear and | |
| 154 | -the original packet's center error. -/ | |
| 155 | -theorem target_remainder (hδ : 0 < G.δ) (hT : G.targetTime ≤ D.T) : | |
| 156 | - ‖D.M.field (D.clamp G.targetTime) 0-G.M G.center G.targetTime- | |
| 157 | - G.hchild • rankOne ℝ (unit (G.w G.center G.targetTime)) | |
| 158 | - (unit (G.r G.center G.targetTime))‖ ≤ P.error := by | |
| 159 | - have h := P.remainder_bound G.targetTime ⟨le_rfl,hT⟩ | |
| 160 | - change ‖D.M.field (D.clamp G.targetTime) 0-P.B G.targetTime- | |
| 161 | - P.shear • rankOne ℝ (unit (P.v G.targetTime)) (unit (P.m G.targetTime))‖ ≤ P.error at h | |
| 162 | - rw [J.matrix_eq,J.ray_eq,J.velocity_eq,J.shear_eq hδ] at h | |
| 163 | - exact h | |
| 164 | - | |
| 165 | -theorem coupling_pos : 0 < P.a := by rw [J.a_eq]; exact G.nextCoupling_pos | |
| 166 | - | |
| 167 | 126 | theorem coupling_error : |P.a/G.a-1| ≤ G.couplingError := by |
| 168 | 127 | rw [J.a_eq] |
| 169 | 128 | exact G.nextCoupling_error |
| 170 | 129 | |
| 171 | -theorem coupling_interval : | |
| 172 | - (1-G.couplingError)*G.a ≤ P.a ∧ P.a ≤ (1+G.couplingError)*G.a := by | |
| 173 | - have h := abs_le.mp J.coupling_error | |
| 174 | - constructor | |
| 175 | - · have hh : 1-G.couplingError ≤ P.a/G.a := by linarith only [h.1] | |
| 176 | - exact (le_div_iff₀ G.a_pos).mp hh | |
| 177 | - · have hh : P.a/G.a ≤ 1+G.couplingError := by linarith only [h.2] | |
| 178 | - exact (div_le_iff₀ G.a_pos).mp hh | |
| 179 | - | |
| 180 | -theorem coupling_absolute_error : |P.a-G.a| ≤ G.a*G.couplingError := by | |
| 181 | - rw [abs_le] | |
| 182 | - constructor <;> nlinarith only [J.coupling_interval.1,J.coupling_interval.2] | |
| 183 | - | |
| 184 | 130 | theorem sigma_sq (herror : G.tiltError ≤ 1/2) : P.sigma^2=G.nextTilt := by |
| 185 | 131 | rw [J.sigma_eq,Real.sq_sqrt (G.nextTilt_pos herror).le] |
| 186 | 132 | |
| 187 | -theorem sigma_pos (herror : G.tiltError ≤ 1/2) : 0 < P.sigma := by | |
| 188 | - rw [J.sigma_eq] | |
| 189 | - exact Real.sqrt_pos.mpr (G.nextTilt_pos herror) | |
| 190 | - | |
| 191 | 133 | theorem tilt_error (herror : G.tiltError ≤ 1/2) : |
| 192 | 134 | |(G.y⁻¹)^2*P.sigma^2-1| ≤ G.tiltError := by |
| 193 | 135 | rw [J.sigma_sq herror] |
| @@ -198,42 +140,11 @@ theorem tilt_interval (herror : G.tiltError ≤ 1/2) : | ||
| 198 | 140 | have h := abs_le.mp (J.tilt_error herror) |
| 199 | 141 | constructor <;> linarith only [h.1,h.2,herror] |
| 200 | 142 | |
| 201 | -theorem sigma_small (herror : G.tiltError ≤ 1/2) (hy : G.y ≤ 1/8) : P.sigma ≤ 1/4 := by | |
| 202 | - have hi : 8 ≤ G.y⁻¹ := by | |
| 203 | - rw [← one_div] | |
| 204 | - apply (le_div_iff₀ G.y_pos).mpr | |
| 205 | - linarith only [hy] | |
| 206 | - have hin : 64 ≤ (G.y⁻¹)^2 := by nlinarith only [hi] | |
| 207 | - have hm := mul_le_mul_of_nonneg_right hin (sq_nonneg P.sigma) | |
| 208 | - have hu := (J.tilt_interval herror).2 | |
| 209 | - nlinarith only [hm,hu,sq_nonneg (P.sigma-1/4)] | |
| 210 | - | |
| 211 | 143 | theorem background_compression_eq : |
| 212 | 144 | ⟪P.B G.targetTime (unit (P.m G.targetTime)),unit (P.m G.targetTime)⟫_ℝ= |
| 213 | 145 | G.nextCompression := by |
| 214 | 146 | rw [J.matrix_eq,J.ray_eq] |
| 215 | 147 | exact real_inner_comm _ _ |
| 216 | 148 | |
| 217 | -/-- The new packet error is retained in the compression margin. -/ | |
| 218 | -theorem activation_normal_le (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) : | |
| 219 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 220 | - unit (P.m G.targetTime)⟫_ℝ ≤ -G.compressionScale+3*(G.G+G.d)+P.error := by | |
| 221 | - have h := P.activation_normal_le ht hT | |
| 222 | - rw [J.background_compression_eq] at h | |
| 223 | - exact h.trans (add_le_add G.nextCompression_le le_rfl) | |
| 224 | - | |
| 225 | -theorem activation_compression (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) | |
| 226 | - (hmargin : 3*(G.G+G.d)+P.error < G.compressionScale) : | |
| 227 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 228 | - unit (P.m G.targetTime)⟫_ℝ < 0 := by | |
| 229 | - have h := J.activation_normal_le ht hT | |
| 230 | - linarith only [h,hmargin] | |
| 231 | - | |
| 232 | -theorem activation_compression_of_error_le_one | |
| 233 | - (ht : 0 < G.targetTime) (hT : G.targetTime < D.T) (he : P.error ≤ 1) : | |
| 234 | - ⟪D.M.field ⟨G.targetTime,ht.le,hT.le⟩ 0 (unit (P.m G.targetTime)), | |
| 235 | - unit (P.m G.targetTime)⟫_ℝ < 0 := | |
| 236 | - J.activation_compression ht hT (G.compression_margin he) | |
| 237 | - | |
| 238 | 149 | end RenewalAtTarget |
| 239 | 150 | end EulerParentPacketFrames |
+0 −63 Euler/ParentRenewalPrefix.lean View file
| @@ -31,69 +31,6 @@ theorem bounds_of_accumulated_error {e : ℕ → ℝ} {η v : ℝ} | ||
| 31 | 31 | have ha := abs_le.mp hv |
| 32 | 32 | constructor <;> linarith only [hs,hη,ha.1,ha.2] |
| 33 | 33 | |
| 34 | -theorem accumulate_step {a e : ℕ → ℝ} (n : ℕ) | |
| 35 | - (ha : 1/2 ≤ a n) (ha2 : a n ≤ 2) (he : 0 ≤ e n) | |
| 36 | - (hprev : |a n-1| ≤ 2*∑ i ∈ range n, e i) | |
| 37 | - (hstep : |a (n+1)/a n-1| ≤ e n) : | |
| 38 | - |a (n+1)-1| ≤ 2*∑ i ∈ range (n+1), e i := by | |
| 39 | - have hi := relative_step_error (by linarith only [ha] : 0 < a n) ha2 he hstep | |
| 40 | - have ht := abs_add_le (a (n+1)-a n) (a n-1) | |
| 41 | - rw [show a (n+1)-a n+(a n-1)=a (n+1)-1 by ring] at ht | |
| 42 | - rw [sum_range_succ] | |
| 43 | - linarith only [hi,hprev,ht] | |
| 44 | - | |
| 45 | -/-- No bound on a future coupling is an input. The step estimate can | |
| 46 | -be established only after the previous finite prefix has been bounded. -/ | |
| 47 | -theorem coupling_prefix {a e : ℕ → ℝ} {η : ℝ} (N : ℕ) | |
| 48 | - (he : SmallSeries e η) (hη : η ≤ 1/4) (hzero : a 0=1) | |
| 49 | - (hstep : ∀ n < N, (∀ i ≤ n, 1/2 ≤ a i ∧ a i ≤ 2) → | |
| 50 | - |a (n+1)/a n-1| ≤ e n) : | |
| 51 | - ∀ n ≤ N, (1/2 ≤ a n ∧ a n ≤ 2) ∧ |a n-1| ≤ 2*∑ i ∈ range n, e i := by | |
| 52 | - intro n | |
| 53 | - induction n using Nat.strong_induction_on with | |
| 54 | - | h n ih => | |
| 55 | - intro hn | |
| 56 | - cases n with | |
| 57 | - | zero => simp only [hzero,sub_self,abs_zero,sum_range_zero,mul_zero]; norm_num | |
| 58 | - | succ n => | |
| 59 | - have hp := ih n (by omega) (by omega) | |
| 60 | - have hprefix : ∀ i ≤ n, 1/2 ≤ a i ∧ a i ≤ 2 := by | |
| 61 | - intro i hi | |
| 62 | - exact (ih i (by omega) (by omega)).1 | |
| 63 | - have hs := accumulate_step n hp.1.1 hp.1.2 (he.nonneg n) hp.2 | |
| 64 | - (hstep n (by omega) hprefix) | |
| 65 | - exact ⟨bounds_of_accumulated_error he hη (n+1) hs,hs⟩ | |
| 66 | - | |
| 67 | -/-- The same finite induction propagates the normalized tilt invariant | |
| 68 | -along with the coupling. Its hypotheses mention only already-built stages. -/ | |
| 69 | -theorem coupling_and_tilt_prefix {a β x e : ℕ → ℝ} {η : ℝ} (N : ℕ) | |
| 70 | - (he : SmallSeries e η) (hη : η ≤ 1/4) (hzero : a 0=1) | |
| 71 | - (hβzero : 1/2 ≤ β 0*(x 0)^2 ∧ β 0*(x 0)^2 ≤ 2) | |
| 72 | - (hstep : ∀ n < N, | |
| 73 | - (∀ i ≤ n, (1/2 ≤ a i ∧ a i ≤ 2) ∧ (1/2 ≤ β i*(x i)^2 ∧ β i*(x i)^2 ≤ 2)) → | |
| 74 | - |a (n+1)/a n-1| ≤ e n ∧ | |
| 75 | - (1/2 ≤ β (n+1)*(x (n+1))^2 ∧ β (n+1)*(x (n+1))^2 ≤ 2)) : | |
| 76 | - ∀ n ≤ N, (1/2 ≤ a n ∧ a n ≤ 2) ∧ | |
| 77 | - (1/2 ≤ β n*(x n)^2 ∧ β n*(x n)^2 ≤ 2) ∧ | |
| 78 | - |a n-1| ≤ 2*∑ i ∈ range n, e i := by | |
| 79 | - intro n | |
| 80 | - induction n using Nat.strong_induction_on with | |
| 81 | - | h n ih => | |
| 82 | - intro hn | |
| 83 | - cases n with | |
| 84 | - | zero => | |
| 85 | - refine ⟨?_,hβzero,?_⟩ <;> simp only [hzero,sub_self,abs_zero,sum_range_zero,mul_zero] <;> norm_num | |
| 86 | - | succ n => | |
| 87 | - have hp := ih n (by omega) (by omega) | |
| 88 | - have hprefix : ∀ i ≤ n, | |
| 89 | - (1/2 ≤ a i ∧ a i ≤ 2) ∧ (1/2 ≤ β i*(x i)^2 ∧ β i*(x i)^2 ≤ 2) := by | |
| 90 | - intro i hi | |
| 91 | - have h := ih i (by omega) (by omega) | |
| 92 | - exact ⟨h.1,h.2.1⟩ | |
| 93 | - have ht := hstep n (by omega) hprefix | |
| 94 | - have hs := accumulate_step n hp.1.1 hp.1.2 (he.nonneg n) hp.2.2 ht.1 | |
| 95 | - exact ⟨bounds_of_accumulated_error he hη (n+1) hs,ht.2,hs⟩ | |
| 96 | - | |
| 97 | 34 | theorem stage_congr_at {J D : ℕ} {C c X K : ℝ} {a β b γ : ℕ → ℝ} {n : ℕ} |
| 98 | 35 | (G : StageGuards J D C c X K a β n) (ha : a n=b n) (hβ : β n=γ n) : |
| 99 | 36 | StageGuards J D C c X K b γ n where |
+0 −14 Euler/ParentShortForwardRadius.lean View file
| @@ -31,9 +31,6 @@ local notation "BC" => forwardCoefficientBudget period (A.meanData H) (A.transve | ||
| 31 | 31 | rfl (ForwardInputs.normal J) |
| 32 | 32 | local notation "Cp" => (2 : ℝ) |
| 33 | 33 | |
| 34 | -def shortForwardCanonicalRadius (δ : ℝ) (ξ : U) : ℝ := | |
| 35 | - EulerPacketForwardRadius.canonicalRadius (J).linear (J).mean (J).normal BC δ ξ | |
| 36 | - | |
| 37 | 34 | theorem shortForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) |
| 38 | 35 | (hKX : L.K ≤ X) (hTiX : Ti ≤ X) (hCpX : Cp ≤ X) |
| 39 | 36 | (hLX : H.L ≤ X) (hδX : δ⁻¹ ≤ X) (hξX : ‖ξ‖ ≤ X) : |
| @@ -108,15 +105,4 @@ theorem shortForward_radius_primitives (δ : ℝ) (ξ : U) (X : ℝ) | ||
| 108 | 105 | terminal := hξX.trans hXV } |
| 109 | 106 | |
| 110 | 107 | |
| 111 | -theorem shortForward_radius_primitive_polynomial (δ : ℝ) (hδ : 0 < δ) (ξ : U) : | |
| 112 | - let X := parameterSize L.K 0 Ti 2 H.L δ ‖ξ‖ | |
| 113 | - EulerPacketForwardRadius.RadiusPrimitives (J).linear (J).mean (J).normal BC δ ξ (sourceEnvelope X) ∧ | |
| 114 | - sourceEnvelope X ≤ sourceConstant*X^sourcePower := by | |
| 115 | - have hL0 : 0 ≤ H.L := (mul_nonneg boundaryLocalizationC1_nonneg H.Bc_nonneg).trans H.L_lower | |
| 116 | - obtain ⟨h1,hK,_,hIT,hC,hB,hD,hN⟩ := parameterSize_bounds L.K 0 Ti 2 H.L δ ‖ξ‖ | |
| 117 | - (zero_le_one.trans L.K_one) le_rfl ((inv_pos.mpr A.T_pos).le.trans hTi) | |
| 118 | - (by norm_num) hL0 hδ (norm_nonneg ξ) | |
| 119 | - exact ⟨L.shortForward_radius_primitives H m hm R S hS CM hCM hM hshort | |
| 120 | - Ω hΩ hΩo hsub hΩball Ti hT1 hTi δ ξ _ hK hIT hC hB hD hN,sourceEnvelope_power _ h1⟩ | |
| 121 | - | |
| 122 | 108 | end EulerParentPacketFrames.LabelData |
+0 −36 Euler/ParentStageDirection.lean View file
| @@ -62,34 +62,11 @@ theorem activation_parameters : | ||
| 62 | 62 | (P.activationFrame hτ hτT).horizon=P.horizon ∧ (P.activationFrame hτ hτT).G=P.G ∧ |
| 63 | 63 | (P.activationFrame hτ hτT).error=P.error := ⟨rfl,rfl,rfl,rfl,rfl,rfl,rfl⟩ |
| 64 | 64 | |
| 65 | -/-- The new covector really transports to the old frame's cross | |
| 66 | -direction, with the same strictly positive ray scale used by Guards. -/ | |
| 67 | -theorem activation_ray : | |
| 68 | - (P.activationData hτ hτT).normal.field ⟨τ,hτ.le,hτT.le⟩ 0= | |
| 69 | - P.rayScale hτ hτT • P.crossDirection := | |
| 70 | - activationDirection_transport | |
| 71 | - ((A.transverseData m hm R S hS).deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) P.crossDirection | |
| 72 | - | |
| 73 | -theorem activation_scaled_ray : | |
| 74 | - 0 < P.rayScale hτ hτT ∧ | |
| 75 | - scaledRay P.m P.v | |
| 76 | - (fun t => (P.activationData hτ hτT).normal.field ((P.activationData hτ hτT).clamp t) 0) | |
| 77 | - (P.rayScale hτ hτT) τ P.a P.epsilon 0=![0,0,1] := by | |
| 78 | - exact actual_activation_scaled_ray (P.activationData hτ hτT) P.m P.v | |
| 79 | - ⟨τ,hτ.le,hτT.le⟩ P.a P.epsilon | |
| 80 | - (P.ray_nonzero τ ⟨le_rfl,hτT.le⟩) (P.velocity_nonzero τ ⟨le_rfl,hτT.le⟩) | |
| 81 | - (P.tangent τ ⟨le_rfl,hτT.le⟩) (P.activation_normal_choice hτ hτT) | |
| 82 | - | |
| 83 | 65 | def activationHistory (H : LowBounds A) : |
| 84 | 66 | HistoryData ((P.activationData hτ hτT).initial τ hτ hτT.le) := |
| 85 | 67 | A.historyOn H (P.activationNormal hτ hτT) (P.activationNormal_unit hτ hτT) |
| 86 | 68 | (LinearIsometryEquiv.refl ℝ (referencePlane (P.activationNormal hτ hτT))) S hS τ hτ hτT |
| 87 | 69 | |
| 88 | -theorem activation_history_eq [CompleteSpace U] (H : LowBounds A) : | |
| 89 | - P.activationHistory hτ hτT H= | |
| 90 | - (A.historyOn H m hm R S hS τ hτ hτT).reframe | |
| 91 | - (P.activationNormal hτ hτT) (P.activationNormal_unit hτ hτT) := rfl | |
| 92 | - | |
| 93 | 70 | end EulerPacketSourceGeometry.ParentFrame |
| 94 | 71 | |
| 95 | 72 | namespace EulerPacketSourceGeometry.ParentFrame |
| @@ -114,19 +91,6 @@ def forwardFrame : ParentFrame P.forwardData 0 := | ||
| 114 | 91 | theorem forward_normal_choice : P.forwardData.m₀= |
| 115 | 92 | cross (unit (P.forwardFrame.m 0)) (unit (P.forwardFrame.v 0)) := rfl |
| 116 | 93 | |
| 117 | -theorem forward_initial_frame (x : Space) : | |
| 118 | - P.forwardData.F.field ⟨0,le_rfl,A.T_pos.le⟩ x=ContinuousLinearMap.id ℝ Space := | |
| 119 | - A.frame_initial x | |
| 120 | - | |
| 121 | -theorem forward_initial_normal (x : Space) : | |
| 122 | - P.forwardData.normal.field ⟨0,le_rfl,A.T_pos.le⟩ x=P.crossDirection := by | |
| 123 | - change (A.inverse.field A.zeroTime x).adjoint P.crossDirection=P.crossDirection | |
| 124 | - have h : A.inverse.field A.zeroTime x=ContinuousLinearMap.id ℝ Space := by | |
| 125 | - apply ContinuousLinearMap.ext | |
| 126 | - intro v | |
| 127 | - exact A.inverse_initial x v | |
| 128 | - rw [h,adjoint_id,id_apply] | |
| 129 | - | |
| 130 | 94 | theorem forward_parameters : |
| 131 | 95 | P.forwardFrame.a=P.a ∧ P.forwardFrame.sigma=P.sigma ∧ |
| 132 | 96 | P.forwardFrame.shear=P.shear ∧ P.forwardFrame.epsilon=P.epsilon ∧ |
+0 −96 Euler/ParentTargetRenewal.lean View file
| @@ -73,54 +73,6 @@ theorem forwardTargetRenewal_matches : RenewalAtTarget Geo Q := by | ||
| 73 | 73 | · rfl |
| 74 | 74 | · rfl |
| 75 | 75 | |
| 76 | -theorem forwardTargetRenewal_shear : (Q).shear=G.hchild := | |
| 77 | - (forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 78 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 79 | - hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ | |
| 80 | - | |
| 81 | -theorem forwardTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ | |
| 82 | - | |
| 83 | -include hTime hCM hK he hMK hHK hM hH hδ hsource in | |
| 84 | -theorem forwardTargetRenewal_remainder (hT : tNext ≤ N.T) : | |
| 85 | - ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- | |
| 86 | - G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) | |
| 87 | - (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by | |
| 88 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 89 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 90 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 91 | - exact H.target_remainder hδ hT | |
| 92 | - | |
| 93 | -theorem forwardTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : | |
| 94 | - (Q).shear=G.hchild ∧ 0 < (Q).a ∧ | |
| 95 | - |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ | |
| 96 | - 0 < (Q).sigma ∧ | |
| 97 | - |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ | |
| 98 | - 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by | |
| 99 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 100 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 101 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 102 | - exact ⟨H.shear_eq hδ,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt, | |
| 103 | - H.tilt_error hTilt,H.tilt_interval hTilt⟩ | |
| 104 | - | |
| 105 | -theorem forwardTargetRenewal_compression | |
| 106 | - (ht : 0 < tNext) (hT : tNext < N.T) | |
| 107 | - (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : | |
| 108 | - ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), | |
| 109 | - unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 110 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 111 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 112 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 113 | - exact H.activation_compression ht hT hmargin | |
| 114 | - | |
| 115 | -theorem forwardTargetRenewal_compression_of_error_le_one | |
| 116 | - (hT : tNext < N.T) (herror : error ≤ 1) : | |
| 117 | - ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos le_rfl |>.le,hT.le⟩ 0 | |
| 118 | - (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 119 | - have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport | |
| 120 | - mNext hmNext JNext supportNext hSupportNext G hball CM CH K error | |
| 121 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 122 | - exact H.activation_compression_of_error_le_one ((Geo).targetTime_pos le_rfl) hT herror | |
| 123 | - | |
| 124 | 76 | end Forward |
| 125 | 77 | |
| 126 | 78 | section Joined |
| @@ -174,53 +126,5 @@ theorem joinedTargetRenewal_matches : RenewalAtTarget Geo Q := by | ||
| 174 | 126 | · rfl |
| 175 | 127 | · rfl |
| 176 | 128 | |
| 177 | -theorem joinedTargetRenewal_shear : (Q).shear=G.hchild := | |
| 178 | - (joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 179 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 180 | - hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ | |
| 181 | - | |
| 182 | -theorem joinedTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ | |
| 183 | - | |
| 184 | -include hTime hCM hK he hMK hHK hM hH hδ hsource in | |
| 185 | -theorem joinedTargetRenewal_remainder (hT : tNext ≤ N.T) : | |
| 186 | - ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- | |
| 187 | - G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) | |
| 188 | - (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by | |
| 189 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 190 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 191 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 192 | - exact E.target_remainder hδ hT | |
| 193 | - | |
| 194 | -theorem joinedTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : | |
| 195 | - (Q).shear=G.hchild ∧ 0 < (Q).a ∧ | |
| 196 | - |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ | |
| 197 | - 0 < (Q).sigma ∧ | |
| 198 | - |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ | |
| 199 | - 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by | |
| 200 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 201 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 202 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 203 | - exact ⟨E.shear_eq hδ,E.coupling_pos,E.coupling_error,E.sigma_pos hTilt, | |
| 204 | - E.tilt_error hTilt,E.tilt_interval hTilt⟩ | |
| 205 | - | |
| 206 | -theorem joinedTargetRenewal_compression | |
| 207 | - (ht : 0 < tNext) (hT : tNext < N.T) | |
| 208 | - (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : | |
| 209 | - ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), | |
| 210 | - unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 211 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 212 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 213 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 214 | - exact E.activation_compression ht hT hmargin | |
| 215 | - | |
| 216 | -theorem joinedTargetRenewal_compression_of_error_le_one | |
| 217 | - (hT : tNext < N.T) (herror : error ≤ 1) : | |
| 218 | - ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos hs.le |>.le,hT.le⟩ 0 | |
| 219 | - (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by | |
| 220 | - have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport | |
| 221 | - mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error | |
| 222 | - hCM hK he hMK hHK hM hH hδ k hsource | |
| 223 | - exact E.activation_compression_of_error_le_one ((Geo).targetTime_pos hs.le) hT herror | |
| 224 | - | |
| 225 | 129 | end Joined |
| 226 | 130 | end EulerParentPacketFrames.SmoothState |
+0 −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 −7 Euler/TimeContinuousPrimitive.lean View file
| @@ -27,13 +27,6 @@ theorem initialPrimitive_pathLp (f : C(Icc (0 : ℝ) T,E)) : | ||
| 27 | 27 | (show Ioc (0 : ℝ) (t : ℝ) ⊆ Icc (0 : ℝ) T from |
| 28 | 28 | fun s hs => ⟨hs.1.le,hs.2.trans t.property.2⟩) he |
| 29 | 29 | |
| 30 | -theorem initialTrace_pathLp (f : C(Icc (0 : ℝ) T,E)) : | |
| 31 | - initialTrace T hT (pathLp T hT f) = | |
| 32 | - -EulerContinuousTimeIntegral.integral T hT f ⟨T,hT,le_rfl⟩ := by | |
| 33 | - have he := initialPrimitive_eq_terminal_sub T hT (pathLp T hT f) ⟨T,hT,le_rfl⟩ | |
| 34 | - rw [initialPrimitive_pathLp,terminalPrimitive_terminal,zero_sub] at he | |
| 35 | - simpa only [neg_neg] using congrArg Neg.neg he.symm | |
| 36 | - | |
| 37 | 30 | theorem primitive_eq_path (p q : C(Icc (0 : ℝ) T,E)) |
| 38 | 31 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 39 | 32 | HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) |
+0 −11 Euler/TimeH1ContinuousDerivative.lean View file
| @@ -84,15 +84,4 @@ theorem hasDerivWithinAt_of_continuous_representative (T : ℝ) (hT : 0 ≤ T) | ||
| 84 | 84 | (fun r hr => eq_continuousIntegral_add_terminal T hT q qC hq η hη hder r hr) t.property |
| 85 | 85 | simpa only [extendPath, projIcc_of_mem hT t.property] using h' |
| 86 | 86 | |
| 87 | -/-- At every interior time the actual AC path has an ordinary two-sided derivative. -/ | |
| 88 | -theorem hasDerivAt_of_continuous_representative (T : ℝ) (hT : 0 ≤ T) | |
| 89 | - (q : TimeLp T E) (qC : C(Icc (0 : ℝ) T, E)) | |
| 90 | - (hq : (q : ℝ → E) =ᵐ[timeMeasure T] extendPath T hT qC) | |
| 91 | - (η : ℝ → E) (hη : AbsolutelyContinuousOnInterval η 0 T) | |
| 92 | - (hder : ∀ᵐ r ∂timeMeasure T, HasDerivAt η (q r) r) | |
| 93 | - (t : ℝ) (ht : t ∈ Ioo (0 : ℝ) T) : | |
| 94 | - HasDerivAt η (qC ⟨t, ht.1.le, ht.2.le⟩) t := | |
| 95 | - (hasDerivWithinAt_of_continuous_representative T hT q qC hq η hη hder | |
| 96 | - ⟨t, ht.1.le, ht.2.le⟩).hasDerivAt (Icc_mem_nhds ht.1 ht.2) | |
| 97 | - | |
| 98 | 87 | end EulerTimeH1ContinuousDerivative |
+0 −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 −19 Euler/TimeH1FrameTransport.lean View file
| @@ -118,13 +118,6 @@ def transverseBackward : transverseDerivatives T hT m →L[ℝ] zeroTraceDerivat | ||
| 118 | 118 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 119 | 119 | (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd), u.property.1, map_zero]) |
| 120 | 120 | |
| 121 | -/-- The backward transport is the actual inverse on every fixed coordinate derivative. -/ | |
| 122 | -theorem transverseBackward_forward (v : zeroTraceDerivatives (U := U) T hT) : | |
| 123 | - transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 124 | - (transverseForward T hT Q Q₁ hd m hTangent v) = v := by | |
| 125 | - apply Subtype.ext | |
| 126 | - exact coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd (v : TimeLp T U) | |
| 127 | - | |
| 128 | 121 | include hRange in |
| 129 | 122 | /-- The forward transport recovers every physical transverse derivative. -/ |
| 130 | 123 | theorem transverseForward_backward (u : transverseDerivatives T hT m) : |
| @@ -133,16 +126,4 @@ theorem transverseForward_backward (u : transverseDerivatives T hT m) : | ||
| 133 | 126 | apply Subtype.ext |
| 134 | 127 | exact coordinateDerivative_reconstruct T hT Q Q₁ c hc hQ hd m hRange u |
| 135 | 128 | |
| 136 | -/-- A proved bounded linear equivalence to a parameter-independent Hilbert space. -/ | |
| 137 | -def transverseEquiv : zeroTraceDerivatives (U := U) T hT ≃L[ℝ] transverseDerivatives T hT m where | |
| 138 | - toLinearEquiv := | |
| 139 | - { toFun := transverseForward T hT Q Q₁ hd m hTangent | |
| 140 | - invFun := transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 141 | - left_inv := transverseBackward_forward T hT Q Q₁ c hc hQ hd m hTangent | |
| 142 | - right_inv := transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange | |
| 143 | - map_add' := map_add _ | |
| 144 | - map_smul' := map_smul _ } | |
| 145 | - continuous_toFun := (transverseForward T hT Q Q₁ hd m hTangent).continuous | |
| 146 | - continuous_invFun := (transverseBackward T hT Q Q₁ c hc hQ hd m).continuous | |
| 147 | - | |
| 148 | 129 | end EulerTimeH1FrameTransport |
+0 −12 Euler/TimeH1OperatorProduct.lean View file
| @@ -58,18 +58,6 @@ theorem clm_apply_absolutelyContinuous {a b : ℝ} {A : ℝ → E →L[ℝ] F} { | ||
| 58 | 58 | variable (T : ℝ) (hT : 0 ≤ T) |
| 59 | 59 | (A A' : C(Icc (0 : ℝ) T, E →L[ℝ] F)) |
| 60 | 60 | |
| 61 | -/-- A genuine differentiable extension supplies the within-interval derivative | |
| 62 | -hypothesis for its clamped continuous path, including both endpoints. -/ | |
| 63 | -theorem operatorPath_hasDerivWithinAt_of_extension (a : ℝ → E →L[ℝ] F) | |
| 64 | - (ha : ∀ t : Icc (0 : ℝ) T, A t = a t) | |
| 65 | - (hader : ∀ t : Icc (0 : ℝ) T, HasDerivAt a (A' t) t) : | |
| 66 | - ∀ t : Icc (0 : ℝ) T, | |
| 67 | - HasDerivWithinAt (extendPath T hT A) (A' t) (Icc (0 : ℝ) T) t := by | |
| 68 | - intro t | |
| 69 | - apply (hader t).hasDerivWithinAt.congr_of_mem _ t.property | |
| 70 | - intro x hx | |
| 71 | - simpa only [extendPath, projIcc_of_mem hT hx] using ha ⟨x, hx⟩ | |
| 72 | - | |
| 73 | 61 | /-- Within-interval differentiability with a continuous derivative implies actual |
| 74 | 62 | absolute continuity of the clamped coefficient path. -/ |
| 75 | 63 | theorem operatorPath_absolutelyContinuous |
+0 −70 Euler/TimeH1PointwiseBounds.lean View file
| @@ -32,74 +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 | -include hT hη hder in | |
| 95 | -/-- The actual terminal trace has the corresponding backward-in-time bound. -/ | |
| 96 | -theorem norm_le_terminal_add (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 97 | - ‖η t‖ ≤ ‖η T‖+Real.sqrt (T-t)*‖g‖ := by | |
| 98 | - have he := eq_primitive_add_terminal T hT g η hη hder t ht | |
| 99 | - calc | |
| 100 | - ‖η t‖ = ‖realPrimitive T g t+η T‖ := congrArg norm he | |
| 101 | - _ ≤ ‖realPrimitive T g t‖+‖η T‖ := norm_add_le _ _ | |
| 102 | - _ ≤ Real.sqrt (T-t)*‖g‖+‖η T‖ := add_le_add (realPrimitive_norm_le T g t ht) le_rfl | |
| 103 | - _ = ‖η T‖+Real.sqrt (T-t)*‖g‖ := add_comm _ _ | |
| 104 | - | |
| 105 | 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 −25 Euler/TimeIntervalGlue.lean View file
| @@ -83,29 +83,4 @@ theorem glue_hasDerivWithinAt (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | ||
| 83 | 83 | exact ((hg t ⟨hgt.le,ht.2⟩).mono_of_mem_nhdsWithin hlocal).congr_of_eventuallyEq |
| 84 | 84 | he (glue_right τ f g hmatch t hgt.le) |
| 85 | 85 | |
| 86 | -/-- For the same first-order equation the derivative matching follows from value matching. -/ | |
| 87 | -theorem glue_evolution (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 88 | - (f g : ℝ → E) (rhs : ℝ → E → E) (hmatch : f τ=g τ) | |
| 89 | - (hf : ∀ t ∈ Icc 0 τ, HasDerivWithinAt f (rhs t (f t)) (Icc 0 τ) t) | |
| 90 | - (hg : ∀ t ∈ Icc τ S, HasDerivWithinAt g (rhs t (g t)) (Icc τ S) t) | |
| 91 | - (t : ℝ) (ht : t ∈ Icc 0 S) : | |
| 92 | - HasDerivWithinAt (glue τ f g) (rhs t (glue τ f g t)) (Icc 0 S) t := by | |
| 93 | - have h := glue_hasDerivWithinAt S τ hτ0 hτS f g (fun s => rhs s (f s)) | |
| 94 | - (fun s => rhs s (g s)) hmatch (congrArg (rhs τ) hmatch) hf hg t ht | |
| 95 | - have he : glue τ (fun s => rhs s (f s)) (fun s => rhs s (g s)) t=rhs t (glue τ f g t) := by | |
| 96 | - by_cases hx : t ≤ τ <;> simp only [glue, hx, ite_true, ite_false] | |
| 97 | - exact he ▸ h | |
| 98 | - | |
| 99 | -omit [NormedSpace ℝ E] in | |
| 100 | -/-- Joining the intervals does not change a shared pointwise time-profile bound. -/ | |
| 101 | -theorem glue_weighted_bound (S τ : ℝ) (f g : ℝ → E) (γ : ℝ → ℝ) (C : ℝ) | |
| 102 | - (hf : ∀ t ∈ Icc 0 τ, ‖f t‖ ≤ C*γ t) | |
| 103 | - (hg : ∀ t ∈ Icc τ S, ‖g t‖ ≤ C*γ t) | |
| 104 | - (t : ℝ) (ht : t ∈ Icc 0 S) : ‖glue τ f g t‖ ≤ C*γ t := by | |
| 105 | - by_cases h : t ≤ τ | |
| 106 | - · rw [glue_left τ f g t h] | |
| 107 | - exact hf t ⟨ht.1,h⟩ | |
| 108 | - · simp only [glue, h, ite_false] | |
| 109 | - exact hg t ⟨(not_le.mp h).le,ht.2⟩ | |
| 110 | - | |
| 111 | 86 | end EulerTimeIntervalGlue |
+0 −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 −27 Euler/TimeLpBoundedMap.lean View file
| @@ -27,33 +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_norm_le (T : ℝ) (A : E →L[ℝ] F) : ‖timeLift T A‖ ≤ ‖A‖ := | |
| 31 | - A.norm_compLpL_le | |
| 32 | - | |
| 33 | -theorem timeLift_apply_norm_le (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : | |
| 34 | - ‖timeLift T A u‖ ≤ ‖A‖*‖u‖ := A.norm_compLp_le u | |
| 35 | - | |
| 36 | -theorem timeLift_add (T : ℝ) (A B : E →L[ℝ] F) : | |
| 37 | - timeLift T (A+B) = timeLift T A + timeLift T B := A.add_compLpL B | |
| 38 | - | |
| 39 | -theorem timeLift_smul (T : ℝ) (c : ℝ) (A : E →L[ℝ] F) : | |
| 40 | - timeLift T (c • A) = c • timeLift T A := A.smul_compLpL c | |
| 41 | - | |
| 42 | -theorem timeLift_comp (T : ℝ) (A : F →L[ℝ] G) (B : E →L[ℝ] F) : | |
| 43 | - timeLift T (A.comp B) = (timeLift T A).comp (timeLift T B) := by | |
| 44 | - apply ContinuousLinearMap.ext | |
| 45 | - intro u | |
| 46 | - apply Lp.ext | |
| 47 | - filter_upwards [timeLift_ae T (A.comp B) u, | |
| 48 | - timeLift_ae T A (timeLift T B u), timeLift_ae T B u] with t hab ha hb | |
| 49 | - exact hab.trans ((congrArg A hb).symm.trans ha.symm) | |
| 50 | - | |
| 51 | -theorem timeLift_id (T : ℝ) : timeLift T (ContinuousLinearMap.id ℝ E) = | |
| 52 | - ContinuousLinearMap.id ℝ (TimeLp T E) := by | |
| 53 | - apply ContinuousLinearMap.ext | |
| 54 | - intro u | |
| 55 | - exact Lp.ext (timeLift_ae T (ContinuousLinearMap.id ℝ E) u) | |
| 56 | - | |
| 57 | 30 | theorem zeroExtension_timeLift (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 58 | 31 | zeroExtension T (timeLift T A u) =ᵐ[volume] fun t => A (zeroExtension T u t) := by |
| 59 | 32 | have h := (ae_eq_restrict_iff_indicator_ae_eq measurableSet_Icc).1 (timeLift_ae T A u) |
+0 −23 Euler/TimeLpCoefficientMap.lean View file
| @@ -69,17 +69,6 @@ def coefficientMap : C(Icc (0 : ℝ) T, E →L[ℝ] F) →L[ℝ] (TimeLp T E → | ||
| 69 | 69 | change ‖timeMultiplier T hT A‖ ≤ (1 : ℝ) * ‖A‖ |
| 70 | 70 | simpa only [one_mul] using timeMultiplier_norm (E := E) (F := F) T hT A) |
| 71 | 71 | |
| 72 | -/-- Coefficient derivatives give genuine operator-norm derivatives of the time multiplier. -/ | |
| 73 | -theorem hasDerivAt_timeMultiplier | |
| 74 | - (A : ℝ → C(Icc (0 : ℝ) T, E →L[ℝ] F)) | |
| 75 | - (A₁ : C(Icc (0 : ℝ) T, E →L[ℝ] F)) (x : ℝ) | |
| 76 | - (hA : HasDerivAt A A₁ x) : | |
| 77 | - HasDerivAt (fun r => timeMultiplier T hT (A r)) (timeMultiplier T hT A₁) x := by | |
| 78 | - change HasDerivAt ((coefficientMap T hT) ∘ A) (coefficientMap T hT A₁) x | |
| 79 | - exact HasFDerivAt.comp_hasDerivAt | |
| 80 | - (F := C(Icc (0 : ℝ) T, E →L[ℝ] F)) (E := TimeLp T E →L[ℝ] TimeLp T F) x | |
| 81 | - (coefficientMap (E := E) (F := F) T hT).hasFDerivAt hA | |
| 82 | - | |
| 83 | 72 | /-- Every order of actual coefficient regularity passes to operator norm regularity. -/ |
| 84 | 73 | theorem contDiff_timeMultiplier {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 85 | 74 | (A : P → C(Icc (0 : ℝ) T, E →L[ℝ] F)) {n : ℕ∞ω} (hA : ContDiff ℝ n A) : |
| @@ -91,18 +80,6 @@ theorem contDiff_timeMultiplier {P : Type*} [NormedAddCommGroup P] [NormedSpace | ||
| 91 | 80 | (E := C(Icc (0 : ℝ) T, E →L[ℝ] F)) (F := TimeLp T E →L[ℝ] TimeLp T F) |
| 92 | 81 | (coefficientMap (E := E) (F := F) T hT)) hA |
| 93 | 82 | |
| 94 | -/-- Differentiating the actual frame H¹ transport with respect to an external parameter. -/ | |
| 95 | -theorem hasDerivAt_productDerivative | |
| 96 | - (A B : ℝ → C(Icc (0 : ℝ) T, E →L[ℝ] F)) | |
| 97 | - (A₁ B₁ : C(Icc (0 : ℝ) T, E →L[ℝ] F)) (x : ℝ) | |
| 98 | - (hA : HasDerivAt A A₁ x) (hB : HasDerivAt B B₁ x) : | |
| 99 | - HasDerivAt (fun r => productDerivative T hT (A r) (B r)) | |
| 100 | - ((timeMultiplier T hT B₁).comp (primitiveTimeLp T hT) + timeMultiplier T hT A₁) x := by | |
| 101 | - have h := ((hasDerivAt_timeMultiplier T hT B B₁ x hB).clm_comp | |
| 102 | - (hasDerivAt_const x (primitiveTimeLp (E := E) T hT))).add | |
| 103 | - (hasDerivAt_timeMultiplier T hT A A₁ x hA) | |
| 104 | - convert h using 1 <;> first | rfl | simp only [comp_zero, add_zero] | |
| 105 | - | |
| 106 | 83 | /-- Arbitrary-order parameter regularity of the genuine H¹ frame transport. -/ |
| 107 | 84 | theorem contDiff_productDerivative {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 108 | 85 | (A B : P → C(Icc (0 : ℝ) T, E →L[ℝ] F)) {n : ℕ∞ω} |
+0 −54 Euler/TimeLpGramGevrey.lean View file
| @@ -36,58 +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 | -/-- The same estimate applies to the explicit inverse-Gram multiplier in the strong equation. -/ | |
| 73 | -theorem inverseGramMultiplier_gevrey (T : ℝ) (hT : 0 ≤ T) | |
| 74 | - (Q : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 75 | - (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 76 | - (hQ : ContDiff ℝ ∞ Q) | |
| 77 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 78 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant Rc 0 n) | |
| 79 | - (f : P → TimeLp T U) (hf : ContDiff ℝ ∞ f) | |
| 80 | - (D R : ℝ) (hD : 0 ≤ D) (hR : 2*gramCost c C D*(Rc+1) ≤ R) | |
| 81 | - (d : ℕ) (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 82 | - (n : ℕ) (x : P) : | |
| 83 | - ‖iteratedFDeriv ℝ n | |
| 84 | - (fun y => timeMultiplier T hT (gramInversePath T (Q y) c hc (hLower y)) (f y)) x‖ ≤ | |
| 85 | - majorant R (d+1) n := by | |
| 86 | - have heq : (fun y => timeMultiplier T hT (gramInversePath T (Q y) c hc (hLower y)) (f y)) = | |
| 87 | - fun y => gramSolver T hT (Q y) c hc (hLower y) (f y) := by | |
| 88 | - funext y | |
| 89 | - rw [gramSolver_eq_multiplier] | |
| 90 | - rw [heq] | |
| 91 | - exact gramSolution_gevrey T hT Q c hc hLower hQ Rc C hRc hC hbQ f hf D R hD hR d hbf n x | |
| 92 | - | |
| 93 | 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 −12 Euler/TimePathGluing.lean View file
| @@ -78,16 +78,4 @@ theorem gluePath_right (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) | ||
| 78 | 78 | change glueFunction a b ha hb u v (projIcc 0 (a+b) (add_nonneg ha hb) (a+t)).val = _ |
| 79 | 79 | rw [projIcc_of_mem (add_nonneg ha hb) htu, glueFunction_right a b ha hb u v hmatch (a+t) (by linarith [ht.1]), add_sub_cancel_left] |
| 80 | 80 | |
| 81 | -/-- The actual pasted path is bounded by any common uniform bound for its two pieces. -/ | |
| 82 | -theorem gluePath_norm_le (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) | |
| 83 | - (u : C(Icc (0 : ℝ) a, E)) (v : C(Icc (0 : ℝ) b, E)) | |
| 84 | - (hmatch : u ⟨a,ha,le_rfl⟩ = v ⟨0,le_rfl,hb⟩) (R : ℝ) (hR : 0 ≤ R) | |
| 85 | - (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : ‖gluePath a b ha hb u v hmatch‖ ≤ R := by | |
| 86 | - apply (ContinuousMap.norm_le _ hR).mpr | |
| 87 | - intro t | |
| 88 | - change ‖if t.val ≤ a then extendPath a ha u t.val else extendPath b hb v (t.val-a)‖ ≤ R | |
| 89 | - split | |
| 90 | - · exact (extendPath_norm_le a ha u t.val).trans hu | |
| 91 | - · exact (extendPath_norm_le b hb v (t.val-a)).trans hv | |
| 92 | - | |
| 93 | 81 | end EulerTimePathGluing |
+0 −12 Euler/TimeSobolevTransport.lean View file
| @@ -44,16 +44,4 @@ theorem transportTime_ae {s : ℕ} (hs : 6 ≤ s) | ||
| 44 | 44 | fun t => asymmetricTransport period hs L hL (extendPath T hT u t) (v t) := |
| 45 | 45 | timeMultiplier_ae T hT (transportPath period hs L hL T u) v |
| 46 | 46 | |
| 47 | -/-- Genuine heat smoothing and actual transport commute asymptotically in the energy-order L² time space. -/ | |
| 48 | -theorem transport_regularization_commutator {s : ℕ} (hs : 6 ≤ s) | |
| 49 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (T : ℝ) (hT : 0 ≤ T) | |
| 50 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period s)) | |
| 51 | - (v : TimeLp T (SobolevSpace period (s+1))) : | |
| 52 | - Filter.Tendsto (fun n => | |
| 53 | - transportTime period hs L hL T hT u | |
| 54 | - ((heatOperator period (s+1) (regularizerVariance n)).compLpL 2 (timeMeasure T) v) - | |
| 55 | - (heatOperator period s (regularizerVariance n)).compLpL 2 (timeMeasure T) | |
| 56 | - (transportTime period hs L hL T hT u v)) Filter.atTop (𝓝 0) := | |
| 57 | - heat_time_commutator_tendsto period s (s+1) T hT (transportPath period hs L hL T u) v | |
| 58 | - | |
| 59 | 47 | end EulerTimeSobolevTransport |
+0 −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 −29 Euler/VorticityTransport.lean View file
| @@ -93,33 +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 | -omit [InnerProductSpace ℝ E] in | |
| 115 | -/-- In particular each time slice has compact support. -/ | |
| 116 | -theorem hasCompactSupport_of_flow_image | |
| 117 | - (ω : ℝ → E → E) (X : ℝ → E → E) (Y : E → E) (t : ℝ) | |
| 118 | - (hc : HasCompactSupport (ω 0)) (hX : Continuous (X t)) | |
| 119 | - (hXY : ∀ x, X t (Y x) = x) | |
| 120 | - (hzero : ∀ a, ω 0 a = 0 → ω t (X t a) = 0) : | |
| 121 | - HasCompactSupport (ω t) := | |
| 122 | - (hc.image hX).of_isClosed_subset (isClosed_tsupport _) | |
| 123 | - (tsupport_subset_flow_image ω X Y t hc hX hXY hzero) | |
| 124 | - | |
| 125 | 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 −3 KNOWN.md View file
| @@ -16,9 +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 | -- [mind, checked] A pending build is a queue, not a failure: builds submitted 12-04 16:13–16:42 were still running at 17:10, some starting only 16:48–16:59, while 40 verdicts, 35 of them build successes, landed 17:00–17:09 for other heads (job 2940, job 3359, job 3504, commit fa46c42). | |
| 20 | -- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:42–17:09 read 2,589–2,590 Lean files and 609,779–615,327 lines, main's own heads 609,779–614,223, so a count snapshots one tree (commit 127f8c0, commit 4194839, commit 0954fb0, commit e9653a8). | |
| 21 | -- [mind, checked] A challenge success is filed before the matching build: main's tip 0f1047c reads challenge success at 16:38 with its build queued, and the 02:56–03:23 passes had builds at 03:09–03:52, so a fresh pass can stand without a build (job 3411, commit 7131c8c, commit 828caff). | |
| 19 | +- [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). | |
| 22 | 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) |
| 23 | 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). |
| 24 | 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 −985 NavierStokes/ActualCorrectionModels.lean deleted
| @@ -1,985 +0,0 @@ | ||
| 1 | -import NavierStokes.OffplaneCorrectionExtensions | |
| 2 | -import NavierStokes.BaseContextAssembly | |
| 3 | -import NavierStokes.CommonBaseContext | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# Positive-scale models of the actual correction seed | |
| 7 | - | |
| 8 | -All coefficient sequences, cutoff schedules, and discrete phase parameters | |
| 9 | -in this file are those of the supplied `FinalSlowBase` and `Prepared` object. | |
| 10 | -The positive scale is a coordinate of the model, not a second chosen base. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace NavierStokes.ActualCorrectionModels | |
| 16 | - | |
| 17 | -open Set Filter Function | |
| 18 | -open scoped Topology ContDiff InnerProductSpace | |
| 19 | - | |
| 20 | -abbrev Slow := PhaseCalculus.Slow | |
| 21 | -abbrev Model := MeanRankUpdate.ModelPoint | |
| 22 | -abbrev Inner := SimilarityProfile.InnerPoint | |
| 23 | - | |
| 24 | -noncomputable local instance : NormedAddCommGroup SmoothCovariance.Mat2 := | |
| 25 | - inferInstanceAs (NormedAddCommGroup (Fin 2 → Fin 2 → ℝ)) | |
| 26 | -noncomputable local instance : NormedSpace ℝ SmoothCovariance.Mat2 := | |
| 27 | - inferInstanceAs (NormedSpace ℝ (Fin 2 → Fin 2 → ℝ)) | |
| 28 | - | |
| 29 | -noncomputable def modelDomain : Set Model := {y | 0 < y.1} | |
| 30 | -noncomputable def radialModelDomain : Set Model := {y | 0 < y.1 ∧ 0 < y.2.1} | |
| 31 | - | |
| 32 | -theorem modelDomain_open : IsOpen modelDomain := isOpen_lt continuous_const continuous_fst | |
| 33 | -theorem radialModelDomain_open : IsOpen radialModelDomain := | |
| 34 | - modelDomain_open.inter (isOpen_lt continuous_const continuous_snd.fst) | |
| 35 | - | |
| 36 | -/-- `(q,R,Z)` goes to the actual inner coordinates. -/ | |
| 37 | -noncomputable def modelCoordinates (h : ℝ) (y : Model) : SlowBorelBase.Chart := | |
| 38 | - (y.1, (y.2.1 ^ 2 / 2 / y.1, y.2.2 / y.1 ^ CoordinateAlgebra.D h)) | |
| 39 | - | |
| 40 | -theorem modelCoordinates_smoothAt (h : ℝ) {y : Model} (hy : 0 < y.1) : | |
| 41 | - ContDiffAt ℝ ∞ (modelCoordinates h) y := by | |
| 42 | - exact contDiffAt_fst.prodMk | |
| 43 | - ((((contDiffAt_snd.fst.pow 2).div_const 2).div contDiffAt_fst hy.ne').prodMk | |
| 44 | - (contDiffAt_snd.snd.div (contDiffAt_fst.rpow_const_of_ne hy.ne') | |
| 45 | - (Real.rpow_pos_of_pos hy _).ne')) | |
| 46 | - | |
| 47 | -noncomputable def originalPoint (h : ℝ) (p : Slow) : Model := | |
| 48 | - (SimilarityHomogeneity.chartQ h p, (p.1, p.2.1)) | |
| 49 | - | |
| 50 | -noncomputable def stablePoint (h : ℝ) (p : Slow) : Model := | |
| 51 | - (OffplaneCorrectionExtensions.stableQ (2 * h) (p.2.2, p.2.1), (p.1, p.2.1)) | |
| 52 | - | |
| 53 | -noncomputable def stableDomain (h : ℝ) : Set Slow := | |
| 54 | - {p | (p.2.2, p.2.1) ∈ PositiveRepresentatives.stableTarget (2 * h)} | |
| 55 | - | |
| 56 | -noncomputable def positiveStableDomain (h : ℝ) : Set Slow := | |
| 57 | - {p | p ∈ stableDomain h ∧ 0 < p.1} | |
| 58 | - | |
| 59 | -theorem stableDomain_open (h : ℝ) : IsOpen (stableDomain h) := | |
| 60 | - (PositiveRepresentatives.stableTarget_open (2 * h)).preimage | |
| 61 | - (continuous_snd.snd.prodMk continuous_snd.fst) | |
| 62 | - | |
| 63 | -theorem positiveStableDomain_open (h : ℝ) : IsOpen (positiveStableDomain h) := | |
| 64 | - (stableDomain_open h).inter (isOpen_lt continuous_const continuous_fst) | |
| 65 | - | |
| 66 | -theorem stablePoint_pos {h : ℝ} {p : Slow} (hp : p ∈ stableDomain h) : | |
| 67 | - 0 < (stablePoint h p).1 := OffplaneCorrectionExtensions.stableQ_pos hp | |
| 68 | - | |
| 69 | -theorem stablePoint_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 70 | - {p : Slow} (hp : p ∈ stableDomain h) : ContDiffAt ℝ ∞ (stablePoint h) p := by | |
| 71 | - exact ((OffplaneCorrectionExtensions.stableQ_contDiffAt (by linarith) (by linarith) hp).comp p | |
| 72 | - (contDiffAt_snd.snd.prodMk contDiffAt_snd.fst)).prodMk | |
| 73 | - (contDiffAt_fst.prodMk contDiffAt_snd.fst) | |
| 74 | - | |
| 75 | -theorem stablePoint_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 76 | - {p : Slow} (hp : 0 < p.2.2) : stablePoint h p = originalPoint h p := by | |
| 77 | - apply Prod.ext | |
| 78 | - · exact OffplaneCorrectionExtensions.stableQ_eq_coordinateQ (by linarith) (by linarith) hp | |
| 79 | - · rfl | |
| 80 | - | |
| 81 | -theorem modelCoordinates_original (h : ℝ) (p : Slow) : | |
| 82 | - modelCoordinates h (originalPoint h p) = BaseChartJets.normalizedCoordinates h p := by | |
| 83 | - rw [BaseChartJets.normalizedCoordinates_eq] | |
| 84 | - simp only [modelCoordinates, originalPoint, SimilarityHomogeneity.chartX, | |
| 85 | - SimilarityHomogeneity.chartEta, SimilarityCoordinates.coordinateX, | |
| 86 | - SimilarityCoordinates.coordinateEta, SimilarityHomogeneity.chartQ, CoordinateAlgebra.D] | |
| 87 | - congr 3 | |
| 88 | - ring_nf | |
| 89 | - | |
| 90 | -theorem positiveTime_mem_stable {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 91 | - {p : Slow} (hp : 0 < p.2.2) : p ∈ stableDomain h := | |
| 92 | - PositiveRepresentatives.positiveTime_mem_stableTarget (by linarith) (by linarith) hp | |
| 93 | - | |
| 94 | -theorem endpoint_mem_stable {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 95 | - (R : ℝ) {Z : ℝ} (hZ : Z ≠ 0) : (R, (Z, 0)) ∈ stableDomain h := | |
| 96 | - EndpointCoordinates.zeroTime_mem_stableTarget (by linarith) (by linarith) hZ | |
| 97 | - | |
| 98 | -/-- The literal cutoff series at positive scale, including its leading power. -/ | |
| 99 | -noncomputable def scalarModel (a : ℕ → ℕ) (h b Q : ℝ) (f : ℕ → Inner → ℝ) | |
| 100 | - (y : Model) : ℝ := | |
| 101 | - y.1 ^ b * SlowBorelBase.slowSum a h f | |
| 102 | - (SlowBorelBase.scaleMap Q (modelCoordinates h y)) | |
| 103 | - | |
| 104 | -theorem scalarModel_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) (h b : ℝ) | |
| 105 | - {Q : ℝ} (hQ : 0 < Q) {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) | |
| 106 | - {y : Model} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (scalarModel a h b Q f) y := by | |
| 107 | - have hc := (SlowBorelBase.scaleMap Q).contDiff.contDiffAt.comp y (modelCoordinates_smoothAt h hy) | |
| 108 | - have hs : ContDiffAt ℝ ∞ (SlowBorelBase.slowSum a h f) | |
| 109 | - (SlowBorelBase.scaleMap Q (modelCoordinates h y)) := SlowBorelBase.slowSum_smoothAt ha hf h | |
| 110 | - (show 0 < (SlowBorelBase.scaleMap Q (modelCoordinates h y)).1 from mul_pos hQ hy) | |
| 111 | - exact (contDiffAt_fst.rpow_const_of_ne hy.ne').mul | |
| 112 | - (ContDiffAt.comp (g := SlowBorelBase.slowSum a h f) y hs hc) | |
| 113 | - | |
| 114 | -section ActualBase | |
| 115 | - | |
| 116 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 117 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 118 | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) | |
| 119 | - | |
| 120 | -noncomputable def frequencyModel (n : ℕ) (y : Model) : ℝ := | |
| 121 | - y.1 ^ (-CoordinateAlgebra.A F.data.h) / y.2.1 * | |
| 122 | - SlowBorelBase.normalizedSwirl (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization | |
| 123 | - (FinalSlowBase.coefficients H v) | |
| 124 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 125 | - | |
| 126 | -noncomputable def axialModel (n : ℕ) : Model → ℝ := | |
| 127 | - scalarModel (FinalSlowBase.scales H v upper B) F.data.h (-CoordinateAlgebra.A F.data.h) | |
| 128 | - (ChartScales.Q n) (FinalSlowBase.coefficients H v).axial | |
| 129 | - | |
| 130 | -noncomputable def streamModel (n : ℕ) : Model → ℝ := | |
| 131 | - scalarModel (FinalSlowBase.scales H v upper B) F.data.h (-CoordinateAlgebra.A F.data.h) | |
| 132 | - (ChartScales.Q n) (BaseRadialJets.averageSequence (FinalSlowBase.coefficients H v)) | |
| 133 | - | |
| 134 | -noncomputable def frequency (n : ℕ) : Slow → ℝ := frequencyModel H v upper B n ∘ stablePoint F.data.h | |
| 135 | -noncomputable def axial (n : ℕ) : Slow → ℝ := axialModel H v upper B n ∘ stablePoint F.data.h | |
| 136 | -noncomputable def stream (n : ℕ) : Slow → ℝ := streamModel H v upper B n ∘ stablePoint F.data.h | |
| 137 | - | |
| 138 | -noncomputable def radial (n : ℕ) (p : Slow) : ℝ := | |
| 139 | - -(ChartScales.epsilon F.data.h n * p.1 / 2) * PhaseCalculus.slowZ (stream H v upper B n) p | |
| 140 | - | |
| 141 | -theorem frequencyModel_smoothAt (n : ℕ) {y : Model} (hy : y ∈ radialModelDomain) : | |
| 142 | - ContDiffAt ℝ ∞ (frequencyModel H v upper B n) y := by | |
| 143 | - have hc := (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffAt.comp y | |
| 144 | - (modelCoordinates_smoothAt F.data.h hy.1) | |
| 145 | - have hs : ContDiffAt ℝ ∞ (SlowBorelBase.slowSum (FinalSlowBase.scales H v upper B) | |
| 146 | - F.data.h (FinalSlowBase.coefficients H v).phi) | |
| 147 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) := | |
| 148 | - SlowBorelBase.slowSum_smoothAt (FinalSlowBase.scales_strictMono H v upper B) | |
| 149 | - (FinalSlowBase.coefficients_smooth H v).phi F.data.h | |
| 150 | - (show 0 < (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)).1 from | |
| 151 | - mul_pos (ChartScales.Q_pos n) hy.1) | |
| 152 | - have hX : 0 < 2 * (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)).2.1 := by | |
| 153 | - change 0 < 2 * (y.2.1 ^ 2 / 2 / y.1) | |
| 154 | - exact mul_pos (by norm_num) (div_pos (div_pos (sq_pos_of_pos hy.2) (by norm_num)) hy.1) | |
| 155 | - exact ((contDiffAt_fst.rpow_const_of_ne hy.1.ne').div contDiffAt_snd.fst hy.2.ne').mul | |
| 156 | - ((((contDiffAt_const.mul hc.snd.fst).sqrt hX.ne').div_const W.axis.normalization).mul | |
| 157 | - (ContDiffAt.comp (g := SlowBorelBase.slowSum (FinalSlowBase.scales H v upper B) | |
| 158 | - F.data.h (FinalSlowBase.coefficients H v).phi) y hs hc)) | |
| 159 | - | |
| 160 | -theorem axialModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 161 | - ContDiffAt ℝ ∞ (axialModel H v upper B n) y := | |
| 162 | - scalarModel_smoothAt (FinalSlowBase.scales_strictMono H v upper B) _ _ (ChartScales.Q_pos n) | |
| 163 | - (FinalSlowBase.coefficients_smooth H v).axial hy | |
| 164 | - | |
| 165 | -theorem streamModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 166 | - ContDiffAt ℝ ∞ (streamModel H v upper B n) y := | |
| 167 | - scalarModel_smoothAt (FinalSlowBase.scales_strictMono H v upper B) _ _ (ChartScales.Q_pos n) | |
| 168 | - (BaseRadialJets.averageSequence_smooth (FinalSlowBase.coefficients_smooth H v)) hy | |
| 169 | - | |
| 170 | -theorem frequency_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 171 | - frequency H v upper B n p = BaseContextAssembly.frequencySlow H v upper B n p := by | |
| 172 | - simp only [frequency, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 173 | - frequencyModel, modelCoordinates_original] | |
| 174 | - simp only [BaseContextAssembly.frequencySlow, BaseChartJets.frequency, | |
| 175 | - BaseChartJets.frequencyFactor, BaseChartJets.axialFactor, | |
| 176 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 177 | - | |
| 178 | -theorem axial_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 179 | - axial H v upper B n p = BaseContextAssembly.axialSlow H v upper B n p := by | |
| 180 | - simp only [axial, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 181 | - axialModel, scalarModel, modelCoordinates_original] | |
| 182 | - simp only [BaseContextAssembly.axialSlow, BaseChartJets.axial, BaseChartJets.axialFactor, | |
| 183 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 184 | - | |
| 185 | -theorem stream_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 186 | - stream H v upper B n p = BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 187 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n) p := by | |
| 188 | - simp only [stream, comp_apply, stablePoint_eq F.data.h_pos F.data.h_lt_half hp, | |
| 189 | - streamModel, scalarModel, modelCoordinates_original] | |
| 190 | - simp only [BaseRadialJets.normalizedStream, BaseChartJets.axialFactor, | |
| 191 | - BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 192 | - | |
| 193 | -theorem frequency_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ positiveStableDomain F.data.h) : | |
| 194 | - ContDiffAt ℝ ∞ (frequency H v upper B n) p := | |
| 195 | - (frequencyModel_smoothAt H v upper B n ⟨stablePoint_pos hp.1, hp.2⟩).comp p | |
| 196 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp.1) | |
| 197 | - | |
| 198 | -theorem axial_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 199 | - ContDiffAt ℝ ∞ (axial H v upper B n) p := | |
| 200 | - (axialModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 201 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 202 | - | |
| 203 | -theorem stream_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 204 | - ContDiffAt ℝ ∞ (stream H v upper B n) p := | |
| 205 | - (streamModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 206 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 207 | - | |
| 208 | -theorem radial_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 209 | - ContDiffAt ℝ ∞ (radial H v upper B n) p := by | |
| 210 | - have hs : ContDiffAt ℝ ∞ (PhaseCalculus.slowZ (stream H v upper B n)) p := | |
| 211 | - ((stream_smoothAt H v upper B n hp).fderiv_right (m := ∞) (by simp)).clm_apply contDiffAt_const | |
| 212 | - exact (((contDiffAt_const.mul contDiffAt_fst).div_const 2).neg).mul hs | |
| 213 | - | |
| 214 | -theorem frequency_germ (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 215 | - frequency H v upper B n =ᶠ[𝓝 p] BaseContextAssembly.frequencySlow H v upper B n := by | |
| 216 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 217 | - exact frequency_eq H v upper B n hy | |
| 218 | - | |
| 219 | -theorem axial_germ (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 220 | - axial H v upper B n =ᶠ[𝓝 p] BaseContextAssembly.axialSlow H v upper B n := by | |
| 221 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 222 | - exact axial_eq H v upper B n hy | |
| 223 | - | |
| 224 | -theorem radial_eq (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : | |
| 225 | - radial H v upper B n p = BaseContextAssembly.radialSlow H v upper B n p := by | |
| 226 | - have he : stream H v upper B n =ᶠ[𝓝 p] | |
| 227 | - BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 228 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n) := by | |
| 229 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 230 | - exact stream_eq H v upper B n hy | |
| 231 | - rw [BaseContextAssembly.radialSlow, BaseRadialJets.radial_eq_stream | |
| 232 | - (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half | |
| 233 | - (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hp] | |
| 234 | - exact congrArg (fun L : Slow →L[ℝ] ℝ => -(ChartScales.epsilon F.data.h n * p.1 / 2) * L (0, (1, 0))) he.fderiv_eq | |
| 235 | - | |
| 236 | -end ActualBase | |
| 237 | - | |
| 238 | -section ActualTarget | |
| 239 | - | |
| 240 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 241 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 242 | - (v : ModulatedProfileAssembly.Witness ld) | |
| 243 | - | |
| 244 | -/-- The same leading stress, using its proved smooth coefficient extension. -/ | |
| 245 | -noncomputable def targetModel (y : Model) : MovingFrameODE.Plane := | |
| 246 | - y.1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2) • | |
| 247 | - !₂[(FinalSlowBase.coefficients H v).stressTheta 0 (modelCoordinates F.data.h y).2, | |
| 248 | - (FinalSlowBase.coefficients H v).stressAxial 0 (modelCoordinates F.data.h y).2] | |
| 249 | - | |
| 250 | -noncomputable def target : Slow → MovingFrameODE.Plane := targetModel H v ∘ stablePoint F.data.h | |
| 251 | - | |
| 252 | -theorem targetModel_smoothAt {y : Model} (hy : 0 < y.1) : | |
| 253 | - ContDiffAt ℝ ∞ (targetModel H v) y := by | |
| 254 | - have hc := (modelCoordinates_smoothAt F.data.h hy).snd | |
| 255 | - apply (contDiffAt_fst.rpow_const_of_ne hy.ne').smul | |
| 256 | - apply (contDiffAt_piLp 2).mpr | |
| 257 | - intro i | |
| 258 | - fin_cases i | |
| 259 | - · exact ((FinalSlowBase.coefficients_smooth H v).stressTheta 0).contDiffAt.comp y hc | |
| 260 | - · exact ((FinalSlowBase.coefficients_smooth H v).stressAxial 0).contDiffAt.comp y hc | |
| 261 | - | |
| 262 | -theorem target_smoothAt {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 263 | - ContDiffAt ℝ ∞ (target H v) p := | |
| 264 | - (targetModel_smoothAt H v (stablePoint_pos hp)).comp p | |
| 265 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 266 | - | |
| 267 | -theorem target_eq {p : Slow} (hp : 0 < p.2.2) : | |
| 268 | - target H v p = PrimaryTargetBounds.actualTarget v p := by | |
| 269 | - have hq := BaseChartJets.normalizedCoordinates_q_pos F.data.h_pos F.data.h_lt_half hp | |
| 270 | - have hX : 0 ≤ (BaseChartJets.normalizedCoordinates F.data.h p).2.1 := by | |
| 271 | - rw [← modelCoordinates_original] | |
| 272 | - apply div_nonneg (div_nonneg (sq_nonneg _) (by norm_num)) | |
| 273 | - simpa only [BaseChartJets.normalizedCoordinates_eq, originalPoint] using hq.le | |
| 274 | - have heta := (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half hp).le | |
| 275 | - have hs := FinalSlowBase.leading_stress_eq H v hX heta | |
| 276 | - have he : !₂[(FinalSlowBase.coefficients H v).stressTheta 0 | |
| 277 | - (BaseChartJets.normalizedCoordinates F.data.h p).2, | |
| 278 | - (FinalSlowBase.coefficients H v).stressAxial 0 | |
| 279 | - (BaseChartJets.normalizedCoordinates F.data.h p).2] = | |
| 280 | - ProfileSpectralCone.stressVector v.profiles F.data.h | |
| 281 | - (BaseChartJets.normalizedCoordinates F.data.h p).2 := by | |
| 282 | - ext i | |
| 283 | - fin_cases i | |
| 284 | - · exact congrArg Prod.fst hs | |
| 285 | - · exact congrArg Prod.snd hs | |
| 286 | - change targetModel H v (stablePoint F.data.h p) = _ | |
| 287 | - rw [stablePoint_eq F.data.h_pos F.data.h_lt_half hp] | |
| 288 | - unfold targetModel | |
| 289 | - rw [modelCoordinates_original, he] | |
| 290 | - simp only [PrimaryTargetBounds.actualTarget, BaseChartJets.normalizedCoordinates_eq, originalPoint] | |
| 291 | - | |
| 292 | -theorem target_germ {p : Slow} (hp : 0 < p.2.2) : | |
| 293 | - target H v =ᶠ[𝓝 p] PrimaryTargetBounds.actualTarget v := by | |
| 294 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hp] with y hy | |
| 295 | - exact target_eq H v hy | |
| 296 | - | |
| 297 | -end ActualTarget | |
| 298 | - | |
| 299 | -section LocalCalculus | |
| 300 | - | |
| 301 | -theorem directional_smoothOn {U : Set Slow} (hU : IsOpen U) {f : Slow → ℝ} | |
| 302 | - (hf : ContDiffOn ℝ ∞ f U) (d : Slow) : | |
| 303 | - ContDiffOn ℝ ∞ (fun p => fderiv ℝ f p d) U := | |
| 304 | - (hf.fderiv_of_isOpen hU (by simp)).clm_apply contDiffOn_const | |
| 305 | - | |
| 306 | -theorem normal_eq_of_germs (epsilon p pz x0 theta slot : ℝ) {f g f' g' : Slow → ℝ} | |
| 307 | - {s : Slow} (hf : f =ᶠ[𝓝 s] f') (hg : g =ᶠ[𝓝 s] g') : | |
| 308 | - PhaseCalculus.phaseNormal epsilon p pz x0 f g (s, (theta, slot)) = | |
| 309 | - PhaseCalculus.phaseNormal epsilon p pz x0 f' g' (s, (theta, slot)) := by | |
| 310 | - have he : PhaseCalculus.phase epsilon p pz x0 f g =ᶠ[𝓝 (s, (theta, slot))] | |
| 311 | - PhaseCalculus.phase epsilon p pz x0 f' g' := by | |
| 312 | - filter_upwards [hf.comp_tendsto continuousAt_fst, hg.comp_tendsto continuousAt_fst] with y hyf hyg | |
| 313 | - simp only [comp_apply] at hyf hyg | |
| 314 | - simp only [PhaseCalculus.phase, hyf, hyg] | |
| 315 | - simp only [PhaseCalculus.phaseNormal, he.fderiv_eq] | |
| 316 | - | |
| 317 | -theorem normal_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 318 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 319 | - (epsilon p pz x0 theta : ℝ) (hepsilon : epsilon ≠ 0) (hR : ∀ s ∈ U, s.1 ≠ 0) : | |
| 320 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => | |
| 321 | - PhaseCalculus.phaseNormal epsilon p pz x0 f g (z.1, (theta, z.2))) (U ×ˢ univ) := by | |
| 322 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 323 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 324 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 325 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 326 | - have hfz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ f z.1) (U ×ˢ univ) := | |
| 327 | - (directional_smoothOn hU hf (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 328 | - have hgz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ g z.1) (U ×ˢ univ) := | |
| 329 | - (directional_smoothOn hU hg (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 330 | - have hex : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseEstimates.explicitNormal epsilon p pz x0 | |
| 331 | - z.1.1 z.2 (PhaseCalculus.slowR f z.1) (PhaseCalculus.slowR g z.1) | |
| 332 | - (PhaseCalculus.slowZ f z.1) (PhaseCalculus.slowZ g z.1)) (U ×ˢ univ) := by | |
| 333 | - apply (contDiffOn_piLp 2).mpr | |
| 334 | - intro i | |
| 335 | - fin_cases i | |
| 336 | - · exact contDiffOn_const.sub (contDiffOn_snd.mul ((contDiffOn_const.mul hfr).add (contDiffOn_const.mul hgr))) | |
| 337 | - · exact contDiffOn_const.div contDiffOn_fst.fst (fun z hz => hR _ hz.1) | |
| 338 | - · exact contDiffOn_const.sub ((contDiffOn_const.mul contDiffOn_snd).mul | |
| 339 | - ((contDiffOn_const.mul hfz).add (contDiffOn_const.mul hgz))) | |
| 340 | - apply hex.congr | |
| 341 | - intro z hz | |
| 342 | - exact (PhaseEstimates.phaseNormal_eq_explicit epsilon p pz x0 f g (z.1, (theta, z.2)) hepsilon | |
| 343 | - ((hf.contDiffAt (hU.mem_nhds hz.1)).differentiableAt (by simp)) | |
| 344 | - ((hg.contDiffAt (hU.mem_nhds hz.1)).differentiableAt (by simp))) | |
| 345 | - | |
| 346 | -theorem normalVelocity_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 347 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 348 | - (epsilon p pz : ℝ) : | |
| 349 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.normalSlotDerivative epsilon p pz f g z.1) | |
| 350 | - (U ×ˢ univ) := by | |
| 351 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 352 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 353 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 354 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 355 | - have hfz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ f z.1) (U ×ˢ univ) := | |
| 356 | - (directional_smoothOn hU hf (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 357 | - have hgz : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowZ g z.1) (U ×ˢ univ) := | |
| 358 | - (directional_smoothOn hU hg (0, (1, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 359 | - apply (contDiffOn_piLp 2).mpr | |
| 360 | - intro i | |
| 361 | - fin_cases i | |
| 362 | - · exact ((contDiffOn_const.mul hfr).add (contDiffOn_const.mul hgr)).neg | |
| 363 | - · exact contDiffOn_const | |
| 364 | - · exact contDiffOn_const.neg.mul ((contDiffOn_const.mul hfz).add (contDiffOn_const.mul hgz)) | |
| 365 | - | |
| 366 | -theorem shear_smoothOn {U : Set Slow} (hU : IsOpen U) | |
| 367 | - {f g : Slow → ℝ} (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) : | |
| 368 | - ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseEstimates.shearVector f g z.1) (U ×ˢ univ) := by | |
| 369 | - have hfr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR f z.1) (U ×ˢ univ) := | |
| 370 | - (directional_smoothOn hU hf (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 371 | - have hgr : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => PhaseCalculus.slowR g z.1) (U ×ˢ univ) := | |
| 372 | - (directional_smoothOn hU hg (1, (0, 0))).comp contDiffOn_fst (fun _ hz => hz.1) | |
| 373 | - apply (contDiffOn_piLp 2).mpr | |
| 374 | - intro i | |
| 375 | - fin_cases i | |
| 376 | - · exact contDiffOn_fst.fst.mul hfr | |
| 377 | - · exact hgr | |
| 378 | - | |
| 379 | -/-- Derive every geometric frame coefficient from the actual normal and | |
| 380 | -normal motion. There is no regularity assumption on a frame output. -/ | |
| 381 | -theorem frameFromNormal_smooth {U : Set (Slow × ℝ)} (hU : IsOpen U) | |
| 382 | - {n nd : Slow × ℝ → MovingFrameODE.Space} {f : Slow × ℝ → ℝ} | |
| 383 | - {g : Slow × ℝ → MovingFrameODE.Plane} {lam c rate nu : Slow × ℝ → ℝ} | |
| 384 | - (hn : ContDiffOn ℝ ∞ n U) (hd : ContDiffOn ℝ ∞ nd U) | |
| 385 | - (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) | |
| 386 | - (hlam : ContDiffOn ℝ ∞ lam U) (hc : ContDiffOn ℝ ∞ c U) | |
| 387 | - (hrate : ContDiffOn ℝ ∞ rate U) (hnu : ContDiffOn ℝ ∞ nu U) | |
| 388 | - (hne : ∀ z ∈ U, MovingFrameODE.tail (n z) ≠ 0) | |
| 389 | - (hcne : ∀ z ∈ U, c z ≠ 0) : | |
| 390 | - (PrimaryODE.FrameData.ofNormalLocal n nd f g lam c rate nu).SmoothOn U := by | |
| 391 | - have hb : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.normalScale (n z)) U := by | |
| 392 | - intro z hz | |
| 393 | - exact (MovingFrameODE.contDiffAt_normalScale (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 394 | - have hbn : ∀ z ∈ U, MovingFrameODE.normalScale (n z) ≠ 0 := | |
| 395 | - fun z hz => (MovingFrameODE.normalScale_pos (hne z hz)).ne' | |
| 396 | - have hr : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.radialSlope (n z)) U := by | |
| 397 | - intro z hz | |
| 398 | - exact (MovingFrameODE.contDiffAt_radialSlope (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 399 | - have hk : ContDiffOn ℝ ∞ (fun z => MovingFrameODE.normalDirection (n z)) U := by | |
| 400 | - intro z hz | |
| 401 | - exact (MovingFrameODE.contDiffAt_normalDirection (hn.contDiffAt (hU.mem_nhds hz)) (hne z hz)).contDiffWithinAt | |
| 402 | - have hN := MovingFrameODE.quarterTurn.contDiff.comp_contDiffOn hk | |
| 403 | - have htn := MovingFrameODE.tailCLM.contDiff.comp_contDiffOn hn | |
| 404 | - have htd := MovingFrameODE.tailCLM.contDiff.comp_contDiffOn hd | |
| 405 | - have hrd := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) 0).contDiff.comp_contDiffOn hd | |
| 406 | - have hbd : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.scaleDerivative (n z) (nd z)) U := | |
| 407 | - (htn.inner ℝ htd).div hb hbn | |
| 408 | - have hrdot : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.slopeDerivative (n z) (nd z)) U := | |
| 409 | - (hrd.sub (hr.mul hbd)).div hb hbn | |
| 410 | - have hkd : ContDiffOn ℝ ∞ (fun z => PhaseEstimates.directionDerivative (n z) (nd z)) U := | |
| 411 | - (hb.inv hbn).smul (htd.sub (hbd.smul hk)) | |
| 412 | - refine ⟨hb, hbd, hr, hrdot, hN.inner ℝ hkd, hf, hg, ?_, hlam, hc, hrate, ?_, hcne⟩ | |
| 413 | - · intro i | |
| 414 | - fin_cases i | |
| 415 | - · apply hk.congr | |
| 416 | - intro z hz | |
| 417 | - simp only [PrimaryODE.FrameData.ofNormalLocal, PrimaryODE.localFrame_eq (hne z hz)] | |
| 418 | - exact MovingFrameODE.normalFrame_zero _ _ | |
| 419 | - · apply hN.congr | |
| 420 | - intro z hz | |
| 421 | - simp only [PrimaryODE.FrameData.ofNormalLocal, PrimaryODE.localFrame_eq (hne z hz)] | |
| 422 | - exact MovingFrameODE.normalFrame_one _ _ | |
| 423 | - · have hv := hnu.mul (hn.inner ℝ hn) | |
| 424 | - simp only [real_inner_self_eq_norm_sq] at hv | |
| 425 | - exact hv | |
| 426 | - | |
| 427 | -theorem referenceFunctions_smooth (lam c u L : ℝ) : | |
| 428 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => ViscousPropagator.referenceEigenvalue lam u L z.2) ∧ | |
| 429 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => PrimaryODE.referenceProfile c u L z.2) ∧ | |
| 430 | - ContDiff ℝ ∞ (fun z : Slow × ℝ => PrimaryODE.referenceProfileRate u L z.2) := by | |
| 431 | - have hs : ContDiff ℝ ∞ (fun z : Slow × ℝ => PulseGrowth.slotMagnitude u L z.2) := by | |
| 432 | - unfold PulseGrowth.slotMagnitude | |
| 433 | - exact contDiff_const.add ((contDiff_const.mul contDiff_snd).div_const L) | |
| 434 | - have hD : ContDiff ℝ ∞ (fun z : Slow × ℝ => (1 : ℝ) + PulseGrowth.slotMagnitude u L z.2 ^ 2) := | |
| 435 | - contDiff_const.add (hs.pow 2) | |
| 436 | - have hDn : ∀ z : Slow × ℝ, (1 : ℝ) + PulseGrowth.slotMagnitude u L z.2 ^ 2 ≠ 0 := fun z => by positivity | |
| 437 | - have hr := hD.sqrt hDn | |
| 438 | - refine ⟨contDiff_const.div hr (fun z => (Real.sqrt_pos.mpr (by positivity)).ne'), | |
| 439 | - contDiff_const.mul hr, (hs.mul contDiff_const).div hD hDn⟩ | |
| 440 | - | |
| 441 | -theorem ambient_smooth {U : Set (Slow × ℝ)} {d : PrimaryODE.FrameData Slow} | |
| 442 | - (hd : d.SmoothOn U) {w : Slow × ℝ → MovingFrameODE.Plane} (hw : ContDiffOn ℝ ∞ w U) : | |
| 443 | - ContDiffOn ℝ ∞ (fun z => d.ambient z (w z)) U := by | |
| 444 | - have h0 := (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 0).contDiff.comp_contDiffOn hw | |
| 445 | - have h1 := (PiLp.proj 2 (fun _ : Fin 2 => ℝ) 1).contDiff.comp_contDiffOn hw | |
| 446 | - exact MovingFrameODE.packCLM.contDiff.comp_contDiffOn | |
| 447 | - ((h0.add h1).prodMk (((hd.rho.neg.mul (h0.add h1)).smul (hd.frame 0)).add | |
| 448 | - ((hd.eigenvector.mul (h0.sub h1)).smul (hd.frame 1)))) | |
| 449 | - | |
| 450 | -end LocalCalculus | |
| 451 | - | |
| 452 | -section ActualODE | |
| 453 | - | |
| 454 | -variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] | |
| 455 | - | |
| 456 | -omit [NormedSpace ℝ E] [CompleteSpace E] in | |
| 457 | -theorem pathFamily_eq_of_fiber {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 458 | - {F G : P × ℝ → E} {p : P} (he : ∀ t, F (p, t) = G (p, t)) (a b : ℝ) : | |
| 459 | - SmoothPathFamily.pathFamily (a := a) (b := b) F p = SmoothPathFamily.pathFamily G p := by | |
| 460 | - have hs : (fun t : Icc a b => F (p, t)) = (fun t : Icc a b => G (p, t)) := | |
| 461 | - funext fun t => he t | |
| 462 | - by_cases hc : Continuous (fun t : Icc a b => F (p, t)) | |
| 463 | - · have hg : Continuous (fun t : Icc a b => G (p, t)) := by rwa [← hs] | |
| 464 | - apply ContinuousMap.ext | |
| 465 | - intro t | |
| 466 | - rw [SmoothPathFamily.pathFamily_apply F p hc, SmoothPathFamily.pathFamily_apply G p hg, he] | |
| 467 | - · have hg : ¬ Continuous (fun t : Icc a b => G (p, t)) := by rwa [← hs] | |
| 468 | - simp only [SmoothPathFamily.pathFamily, dite_eq_right hc, dite_eq_right hg] | |
| 469 | - | |
| 470 | -/-- Actual anchored Volterra solutions agree when their primitive data | |
| 471 | -agree on the entire slow fiber. -/ | |
| 472 | -theorem reparamSolution_eq_of_fiber {A A' : Slow × ℝ → E →L[ℝ] E} | |
| 473 | - {f f' : Slow × ℝ → E} {x x' : Slow → E} {p : Slow} | |
| 474 | - (hA : ∀ t, A (p, t) = A' (p, t)) (hf : ∀ t, f (p, t) = f' (p, t)) | |
| 475 | - (hx : x p = x' p) (a t : ℝ) : | |
| 476 | - JointODE.reparamSolution a A x f (p, t) = JointODE.reparamSolution a A' x' f' (p, t) := by | |
| 477 | - have hAc : ∀ s, JointODE.rescale a A ((p, t), s) = JointODE.rescale a A' ((p, t), s) := by | |
| 478 | - intro s | |
| 479 | - simp only [JointODE.rescale, JointODE.timeMap, hA] | |
| 480 | - have hfc : ∀ s, JointODE.rescale a f ((p, t), s) = JointODE.rescale a f' ((p, t), s) := by | |
| 481 | - intro s | |
| 482 | - simp only [JointODE.rescale, JointODE.timeMap, hf] | |
| 483 | - unfold JointODE.reparamSolution SmoothPathFamily.odeFamily | |
| 484 | - rw [pathFamily_eq_of_fiber hAc, pathFamily_eq_of_fiber hfc] | |
| 485 | - dsimp only | |
| 486 | - rw [hx] | |
| 487 | - | |
| 488 | -/-- If the primitive coefficient is smooth for all slot times, the same | |
| 489 | -reparameterized solution is smooth for both signs of the terminal slot. -/ | |
| 490 | -theorem reparamSolution_smooth {U : Set Slow} (hU : IsOpen U) | |
| 491 | - {A : Slow × ℝ → E →L[ℝ] E} {f : Slow × ℝ → E} {x : Slow → E} | |
| 492 | - (hA : ContDiffOn ℝ ∞ A (U ×ˢ univ)) (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 493 | - (hx : ContDiffOn ℝ ∞ x U) (a : ℝ) : | |
| 494 | - ContDiffOn ℝ ∞ (JointODE.reparamSolution a A x f) (U ×ˢ univ) := by | |
| 495 | - have hmap : MapsTo (JointODE.timeMap a) ((U ×ˢ (univ : Set ℝ)) ×ˢ (univ : Set ℝ)) | |
| 496 | - (U ×ˢ (univ : Set ℝ)) := fun z hz => ⟨hz.1.1, mem_univ _⟩ | |
| 497 | - have hpath := SmoothPathFamily.contDiffOn_odeFamily_of_joint (a := (0 : ℝ)) (b := 1) zero_le_one | |
| 498 | - (U ×ˢ (univ : Set ℝ)) univ (hU.prod isOpen_univ) isOpen_univ (subset_univ _) | |
| 499 | - (JointODE.rescale a A) (fun p : Slow × ℝ => x p.1) (JointODE.rescale a f) | |
| 500 | - (JointODE.rescale_contDiffOn A hA hmap) | |
| 501 | - (hx.comp contDiffOn_fst (fun _ hz => hz.1)) (JointODE.rescale_contDiffOn f hf hmap) | |
| 502 | - exact (ContinuousMap.evalCLM ℝ (⟨1, zero_le_one, le_rfl⟩ : Icc (0 : ℝ) 1)).contDiff.comp_contDiffOn hpath | |
| 503 | - | |
| 504 | -end ActualODE | |
| 505 | - | |
| 506 | -section SelectedPhase | |
| 507 | - | |
| 508 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 509 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 510 | - (v : ModulatedProfileAssembly.Witness ld) {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} | |
| 511 | - (a : PrimaryGeometryAssembly.Prepared H v upper B r0 N0) (hr0 : 0 < r0) | |
| 512 | - | |
| 513 | -/-- Keep the supplied representatives and all their rounded frequencies; | |
| 514 | -only the two continuous base fields are evaluated on their stable branch. -/ | |
| 515 | -noncomputable def phase (j : Fin 2) : PhaseJetBounds.PhaseFamily (PrimaryGeometryAssembly.Index W a.N) := | |
| 516 | - { (PrimaryGeometryAssembly.construction H v a hr0 j).phase with | |
| 517 | - F := fun L => frequency H v upper B (BaseChartJets.cellBand L) | |
| 518 | - G := fun L => axial H v upper B (BaseChartJets.cellBand L) } | |
| 519 | - | |
| 520 | -theorem phase_normal_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 521 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 522 | - (phase H v a hr0 j).normal L (p, s) = | |
| 523 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.normal L (p, s) := | |
| 524 | - normal_eq_of_germs _ _ _ _ _ _ (frequency_germ H v upper B _ hp) (axial_germ H v upper B _ hp) | |
| 525 | - | |
| 526 | -theorem phase_velocity_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 527 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 528 | - (phase H v a hr0 j).velocity L (p, s) = | |
| 529 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.velocity L (p, s) := by | |
| 530 | - have hf := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (frequency_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 531 | - have hg := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (axial_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 532 | - simp only [PhaseJetBounds.PhaseFamily.velocity, phase, PhaseCalculus.normalSlotDerivative, | |
| 533 | - PhaseCalculus.slowR, PhaseCalculus.slowZ, hf, hg] | |
| 534 | - rfl | |
| 535 | - | |
| 536 | -theorem phase_shear_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 537 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 538 | - (phase H v a hr0 j).shear L (p, s) = | |
| 539 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.shear L (p, s) := by | |
| 540 | - have hf := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (frequency_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 541 | - have hg := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) (axial_germ H v upper B (BaseChartJets.cellBand L) hp) | |
| 542 | - simp only [PhaseJetBounds.PhaseFamily.shear, phase, PhaseEstimates.shearVector, | |
| 543 | - PhaseCalculus.slowR, hf, hg] | |
| 544 | - rfl | |
| 545 | - | |
| 546 | -theorem phase_normal_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 547 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).normal L) (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 548 | - apply normal_smoothOn (positiveStableDomain_open F.data.h) | |
| 549 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 550 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) | |
| 551 | - · exact (ChartScales.epsilon_pos F.data.h (BaseChartJets.cellBand L)).ne' | |
| 552 | - · exact fun p hp => hp.2.ne' | |
| 553 | - | |
| 554 | -theorem phase_velocity_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 555 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).velocity L) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 556 | - normalVelocity_smoothOn (positiveStableDomain_open F.data.h) | |
| 557 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 558 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) _ _ _ | |
| 559 | - | |
| 560 | -theorem phase_shear_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 561 | - ContDiffOn ℝ ∞ ((phase H v a hr0 j).shear L) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 562 | - shear_smoothOn (positiveStableDomain_open F.data.h) | |
| 563 | - (fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt) | |
| 564 | - (fun _ hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt) | |
| 565 | - | |
| 566 | -theorem phase_p_ne_zero (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 567 | - (phase H v a hr0 j).p L ≠ 0 := by | |
| 568 | - intro hz | |
| 569 | - have he := PrimaryGeometryAssembly.carrier_mul_phase_p H v a hr0 j L | |
| 570 | - change (ChartScales.carrier F.data.h (BaseChartJets.cellBand L) : ℝ) * | |
| 571 | - (phase H v a hr0 j).p L = _ at he | |
| 572 | - rw [hz, mul_zero] at he | |
| 573 | - exact PrimaryGeometryAssembly.angularMode_ne_zero H v a j L (Int.cast_eq_zero.mp he.symm) | |
| 574 | - | |
| 575 | -theorem phase_normal_tail_ne_zero (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 576 | - {z : Slow × ℝ} (hz : z ∈ positiveStableDomain F.data.h ×ˢ (univ : Set ℝ)) : | |
| 577 | - MovingFrameODE.tail ((phase H v a hr0 j).normal L z) ≠ 0 := by | |
| 578 | - have hf := (frequency_smoothAt H v upper B (BaseChartJets.cellBand L) hz.1).differentiableAt (by simp) | |
| 579 | - have hg := (axial_smoothAt H v upper B (BaseChartJets.cellBand L) hz.1.1).differentiableAt (by simp) | |
| 580 | - have he := PhaseCalculus.phaseNormal_formula ((phase H v a hr0 j).epsilon L) | |
| 581 | - ((phase H v a hr0 j).p L) ((phase H v a hr0 j).pz L) ((phase H v a hr0 j).x0 L) | |
| 582 | - ((phase H v a hr0 j).F L) ((phase H v a hr0 j).G L) | |
| 583 | - (z.1, ((phase H v a hr0 j).theta L, z.2)) | |
| 584 | - (show (phase H v a hr0 j).epsilon L ≠ 0 from | |
| 585 | - (ChartScales.epsilon_pos F.data.h (BaseChartJets.cellBand L)).ne') hf hg | |
| 586 | - change MovingFrameODE.tail (PhaseCalculus.phaseNormal _ _ _ _ _ _ _) ≠ 0 | |
| 587 | - rw [he] | |
| 588 | - intro hh | |
| 589 | - have hz0 := congrArg (fun w : MovingFrameODE.Plane => w 0) hh | |
| 590 | - exact div_ne_zero (phase_p_ne_zero H v a hr0 j L) hz.1.2.ne' hz0 | |
| 591 | - | |
| 592 | -noncomputable def frame (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : PrimaryODE.FrameData Slow := | |
| 593 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 594 | - (phase H v a hr0 j).frameData P.lam P.c0 P.u P.L P.viscosity L | |
| 595 | - | |
| 596 | -theorem frame_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 597 | - (frame H v a hr0 j L).SmoothOn (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 598 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 599 | - have href := referenceFunctions_smooth (P.lam L) (P.c0 L) (P.u L) (P.L L) | |
| 600 | - have hfreq : ContDiffOn ℝ ∞ (frequency H v upper B (BaseChartJets.cellBand L)) | |
| 601 | - (positiveStableDomain F.data.h) := fun _ hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt | |
| 602 | - apply frameFromNormal_smooth ((positiveStableDomain_open F.data.h).prod isOpen_univ) | |
| 603 | - (phase_normal_smooth H v a hr0 j L) (phase_velocity_smooth H v a hr0 j L) | |
| 604 | - (show ContDiffOn ℝ ∞ (fun z : Slow × ℝ => frequency H v upper B (BaseChartJets.cellBand L) z.1) | |
| 605 | - (positiveStableDomain F.data.h ×ˢ univ) from | |
| 606 | - hfreq.comp contDiffOn_fst (fun _ hz => hz.1)) | |
| 607 | - (phase_shear_smooth H v a hr0 j L) href.1.contDiffOn href.2.1.contDiffOn | |
| 608 | - href.2.2.contDiffOn contDiffOn_const | |
| 609 | - (fun _ hz => phase_normal_tail_ne_zero H v a hr0 j L hz) | |
| 610 | - intro z hz | |
| 611 | - change P.c0 L * Real.sqrt (1 + PulseGrowth.slotMagnitude (P.u L) (P.L L) z.2 ^ 2) ≠ 0 | |
| 612 | - apply mul_ne_zero | |
| 613 | - · have hb := (P.c0_bound L).1 | |
| 614 | - exact abs_pos.mp (P.b_pos.trans_le hb) | |
| 615 | - · exact (Real.sqrt_pos.mpr (by positivity)).ne' | |
| 616 | - | |
| 617 | -theorem frame_coefficient_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 618 | - (mode : ℤ) {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 619 | - (frame H v a hr0 j L).coefficient mode (p, s) = | |
| 620 | - ((PrimaryGeometryAssembly.construction H v a hr0 j).frame L).coefficient mode (p, s) := by | |
| 621 | - have hF : (phase H v a hr0 j).F L p = | |
| 622 | - (PrimaryGeometryAssembly.construction H v a hr0 j).phase.F L p := frequency_eq H v upper B _ hp | |
| 623 | - simp only [frame, PrimaryPulseBounds.PhaseConstruction.frame, PhaseJetBounds.PhaseFamily.frameData, | |
| 624 | - PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping, | |
| 625 | - PrimaryODE.FrameData.error11, PrimaryODE.FrameData.error12, PrimaryODE.FrameData.error21, | |
| 626 | - PrimaryODE.FrameData.error22, PrimaryODE.FrameData.errorA, PrimaryODE.FrameData.errorB, | |
| 627 | - PrimaryODE.FrameData.errorC, PrimaryODE.FrameData.ofNormalLocal, | |
| 628 | - phase_normal_eq H v a hr0 j L hp s, phase_velocity_eq H v a hr0 j L hp s, | |
| 629 | - phase_shear_eq H v a hr0 j L hp s, hF] | |
| 630 | - | |
| 631 | -theorem frame_ambient_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 632 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) (w : MovingFrameODE.Plane) : | |
| 633 | - (frame H v a hr0 j L).ambient (p, s) w = | |
| 634 | - ((PrimaryGeometryAssembly.construction H v a hr0 j).frame L).ambient (p, s) w := by | |
| 635 | - simp only [frame, PrimaryPulseBounds.PhaseConstruction.frame, PhaseJetBounds.PhaseFamily.frameData, | |
| 636 | - PrimaryODE.FrameData.ambient, PrimaryODE.FrameData.ofNormalLocal, | |
| 637 | - phase_normal_eq H v a hr0 j L hp s] | |
| 638 | - | |
| 639 | -noncomputable def pulse (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 640 | - Slow × ℝ → MovingFrameODE.Space := | |
| 641 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 642 | - PrimaryPulseBounds.normalizedPulse (frame H v a hr0 j L) (P.lam L) (P.u L) (P.L L) | |
| 643 | - | |
| 644 | -theorem fundamental_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 645 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 646 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 647 | - PrimaryPulseBounds.fundamental (frame H v a hr0 j L) (P.lam L) (P.u L) (P.L L) (p, s) = | |
| 648 | - PrimaryPulseBounds.fundamental (P.frame L) (P.lam L) (P.u L) (P.L L) (p, s) := by | |
| 649 | - exact reparamSolution_eq_of_fiber (fun t => frame_coefficient_eq H v a hr0 j L 1 hp t) | |
| 650 | - (fun _ => rfl) rfl 0 s | |
| 651 | - | |
| 652 | -theorem pulse_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 653 | - {p : Slow} (hp : 0 < p.2.2) (s : ℝ) : | |
| 654 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 655 | - pulse H v a hr0 j L (p, s) = PrimaryPulseBounds.normalizedPulse (P.frame L) | |
| 656 | - (P.lam L) (P.u L) (P.L L) (p, s) := by | |
| 657 | - dsimp only [pulse, PrimaryPulseBounds.normalizedPulse] | |
| 658 | - rw [fundamental_eq H v a hr0 j L hp, frame_ambient_eq H v a hr0 j L hp] | |
| 659 | - | |
| 660 | -theorem fundamental_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 661 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 662 | - ContDiffOn ℝ ∞ (PrimaryPulseBounds.fundamental (frame H v a hr0 j L) | |
| 663 | - (P.lam L) (P.u L) (P.L L)) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 664 | - reparamSolution_smooth (positiveStableDomain_open F.data.h) | |
| 665 | - ((frame_smooth H v a hr0 j L).coefficient 1) contDiffOn_const contDiffOn_const 0 | |
| 666 | - | |
| 667 | -theorem pulse_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 668 | - ContDiffOn ℝ ∞ (pulse H v a hr0 j L) (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 669 | - let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 670 | - have hc : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => (z.1, P.L L * z.2)) | |
| 671 | - (positiveStableDomain F.data.h ×ˢ univ) := | |
| 672 | - contDiffOn_fst.prodMk (contDiffOn_const.mul contDiffOn_snd) | |
| 673 | - exact (ambient_smooth (frame_smooth H v a hr0 j L) (fundamental_smooth H v a hr0 j L)).comp hc | |
| 674 | - (fun z hz => ⟨hz.1, mem_univ _⟩) | |
| 675 | - | |
| 676 | -/-- The same native Haar, temporal-stretch, and slot-length prefactor. -/ | |
| 677 | -noncomputable def covariance (vr vt : TorusInverse.Plane) | |
| 678 | - (L : PrimaryGeometryAssembly.Index W a.N) (p : Slow) : SmoothCovariance.Mat2 := | |
| 679 | - fun r c => (PartitionedCovariance.nativePrefactor vr vt r0 * | |
| 680 | - ChartScales.timeCoefficient F.data.h (BaseChartJets.cellBand L) * | |
| 681 | - ChartScales.slotLength r0 F.data.h (BaseChartJets.cellBand L)) * | |
| 682 | - ∫ t in (1 / 10 : ℝ)..(9 / 10 : ℝ), GaussianTailFlat.profile t ^ 2 * | |
| 683 | - (pulse H v a hr0 c L (p, t) 0 * pulse H v a hr0 c L (p, t) r.succ) | |
| 684 | - | |
| 685 | -theorem covariance_eq (vr vt : TorusInverse.Plane) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 686 | - {p : Slow} (hp : 0 < p.2.2) : | |
| 687 | - covariance H v a hr0 vr vt L p = PrimaryTargetBounds.preparedCovariance H v a vr vt L p := by | |
| 688 | - rw [PrimaryTargetBounds.preparedCovariance_eq_construction H v a vr vt hr0] | |
| 689 | - funext r c | |
| 690 | - unfold covariance PrimaryPulseBounds.primaryCovariance PrimaryPulseBounds.covarianceMatrix | |
| 691 | - simp_rw [pulse_eq H v a hr0 c L hp] | |
| 692 | - | |
| 693 | -theorem covariance_smooth (vr vt : TorusInverse.Plane) (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 694 | - ContDiffOn ℝ ∞ (covariance H v a hr0 vr vt L) (positiveStableDomain F.data.h) := by | |
| 695 | - apply contDiffOn_pi.mpr | |
| 696 | - intro r | |
| 697 | - apply contDiffOn_pi.mpr | |
| 698 | - intro c | |
| 699 | - have hp := pulse_smooth H v a hr0 c L | |
| 700 | - have h0 := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) 0).contDiff.comp_contDiffOn hp | |
| 701 | - have hi := (PiLp.proj 2 (fun _ : Fin 3 => ℝ) r.succ).contDiff.comp_contDiffOn hp | |
| 702 | - have hg : ContDiffOn ℝ ∞ (fun z : Slow × ℝ => GaussianTailFlat.profile z.2 ^ 2) | |
| 703 | - (positiveStableDomain F.data.h ×ˢ univ) := | |
| 704 | - ((GaussianTailFlat.profile_contDiff.comp contDiff_snd).pow 2).contDiffOn | |
| 705 | - exact contDiffOn_const.mul (ParametricRephase.intervalIntegral_contDiffOn_of_joint _ _ | |
| 706 | - (positiveStableDomain_open F.data.h) (hg.mul (h0.mul hi)) (1 / 10) (9 / 10) (by norm_num)) | |
| 707 | - | |
| 708 | -/-- The actual periodic clock is retained as data; only its smooth slow | |
| 709 | -coefficient is evaluated on the stable branch. -/ | |
| 710 | -noncomputable def periodicPhase (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 711 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 712 | - Slow × TorusInverse.Plane → ℝ := | |
| 713 | - let P := phase H v a hr0 j | |
| 714 | - PeriodicPhaseAssembly.phase g w.cutoff | |
| 715 | - (fun p => P.pz L / P.epsilon L * p.2.1 + P.x0 L * p.1) | |
| 716 | - (fun p => P.p L * P.F L p + P.pz L * P.G L p) | |
| 717 | - | |
| 718 | -theorem periodicPhase_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 719 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 720 | - ContDiffOn ℝ ∞ (periodicPhase H v a hr0 j L g w) | |
| 721 | - (positiveStableDomain F.data.h ×ˢ univ) := by | |
| 722 | - dsimp only [periodicPhase] | |
| 723 | - apply PeriodicPhaseAssembly.phase_contDiffOn g w | |
| 724 | - · exact (contDiffOn_const.mul contDiffOn_snd.fst).add (contDiffOn_const.mul contDiffOn_fst) | |
| 725 | - · apply (contDiffOn_const.mul _).add (contDiffOn_const.mul _) | |
| 726 | - · exact fun p hp => (frequency_smoothAt H v upper B _ hp).contDiffWithinAt | |
| 727 | - · exact fun p hp => (axial_smoothAt H v upper B _ hp.1).contDiffWithinAt | |
| 728 | - | |
| 729 | -theorem periodicPhase_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 730 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) | |
| 731 | - {p : Slow} (hp : 0 < p.2.2) (Y : TorusInverse.Plane) : | |
| 732 | - let P := (PrimaryGeometryAssembly.construction H v a hr0 j).phase | |
| 733 | - periodicPhase H v a hr0 j L g w (p, Y) = | |
| 734 | - P.pz L / P.epsilon L * p.2.1 + P.x0 L * p.1 - | |
| 735 | - PeriodicPhaseAssembly.periodicClock g w.cutoff Y * (P.p L * P.F L p + P.pz L * P.G L p) := by | |
| 736 | - dsimp only [periodicPhase, PeriodicPhaseAssembly.phase, phase] | |
| 737 | - rw [frequency_eq H v upper B _ hp, axial_eq H v upper B _ hp] | |
| 738 | - rfl | |
| 739 | - | |
| 740 | -noncomputable def carrier (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 741 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 742 | - Slow × TorusInverse.Plane → ℂ := | |
| 743 | - HarmonicCalculus.carrier (ChartScales.carrier F.data.h (BaseChartJets.cellBand L)) | |
| 744 | - (periodicPhase H v a hr0 j L g w) | |
| 745 | - | |
| 746 | -theorem carrier_smooth (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 747 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) : | |
| 748 | - ContDiffOn ℝ ∞ (carrier H v a hr0 j L g w) (positiveStableDomain F.data.h ×ˢ univ) := | |
| 749 | - HarmonicCalculus.contDiffOn_carrier _ (periodicPhase_smooth H v a hr0 j L g w) | |
| 750 | - | |
| 751 | -theorem carrier_eq (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 752 | - (g : CommonCoverSolve.Geometry) (w : PeriodicPhaseAssembly.ClockWindow) | |
| 753 | - {p : Slow} (hp : 0 < p.2.2) (Y : TorusInverse.Plane) : | |
| 754 | - let P := (PrimaryGeometryAssembly.construction H v a hr0 j).phase | |
| 755 | - carrier H v a hr0 j L g w (p, Y) = | |
| 756 | - HarmonicCalculus.carrier (ChartScales.carrier F.data.h (BaseChartJets.cellBand L)) | |
| 757 | - (fun z : Slow × TorusInverse.Plane => P.pz L / P.epsilon L * z.1.2.1 + P.x0 L * z.1.1 - | |
| 758 | - PeriodicPhaseAssembly.periodicClock g w.cutoff z.2 * | |
| 759 | - (P.p L * P.F L z.1 + P.pz L * P.G L z.1)) (p, Y) := by | |
| 760 | - dsimp only [carrier, HarmonicCalculus.carrier] | |
| 761 | - rw [periodicPhase_eq H v a hr0 j L g w hp Y] | |
| 762 | - | |
| 763 | -theorem pulse_path_agreement (j : Fin 2) (L : PrimaryGeometryAssembly.Index W a.N) | |
| 764 | - {p : Slow} (hp : 0 < p.2.2) : | |
| 765 | - (fun s => pulse H v a hr0 j L (p, s)) = | |
| 766 | - (fun s => let P := PrimaryGeometryAssembly.construction H v a hr0 j | |
| 767 | - PrimaryPulseBounds.normalizedPulse (P.frame L) (P.lam L) (P.u L) (P.L L) (p, s)) := | |
| 768 | - funext (pulse_eq H v a hr0 j L hp) | |
| 769 | - | |
| 770 | -end SelectedPhase | |
| 771 | - | |
| 772 | -section ActualContext | |
| 773 | - | |
| 774 | -variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 775 | - (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} | |
| 776 | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) | |
| 777 | - | |
| 778 | -noncomputable def stressModel (n : ℕ) (y : Model) : ℝ × ℝ := | |
| 779 | - (ChartScales.epsilon F.data.h n * y.1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2)) • | |
| 780 | - FinalSlowBase.normalizedStress H v upper B | |
| 781 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 782 | - | |
| 783 | -noncomputable def stress (n : ℕ) : Slow → ℝ × ℝ := stressModel H v upper B n ∘ stablePoint F.data.h | |
| 784 | - | |
| 785 | -noncomputable def virtualStress (n : ℕ) (p : Slow) : ℝ × ℝ := | |
| 786 | - if 0 < p.1 then stress H v upper B n p else 0 | |
| 787 | - | |
| 788 | -theorem stressModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : | |
| 789 | - ContDiffAt ℝ ∞ (stressModel H v upper B n) y := by | |
| 790 | - have hc := (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffAt.comp y | |
| 791 | - (modelCoordinates_smoothAt F.data.h hy) | |
| 792 | - have hs := FinalSlowBase.normalizedStress_smoothAt H v upper B | |
| 793 | - (y := SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h y)) | |
| 794 | - (mul_pos (ChartScales.Q_pos n) hy) | |
| 795 | - exact (contDiffAt_const.mul (contDiffAt_fst.rpow_const_of_ne hy.ne')).smul | |
| 796 | - (ContDiffAt.comp (g := FinalSlowBase.normalizedStress H v upper B) y hs hc) | |
| 797 | - | |
| 798 | -theorem stress_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 799 | - ContDiffAt ℝ ∞ (stress H v upper B n) p := | |
| 800 | - (stressModel_smoothAt H v upper B n (stablePoint_pos hp)).comp p | |
| 801 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 802 | - | |
| 803 | -theorem stress_eq (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 804 | - stress H v upper B n (BaseContextAssembly.slowCoordinates x) = | |
| 805 | - BaseContextAssembly.rawStress H v upper B n x := by | |
| 806 | - rw [BaseContextAssembly.rawStress_normalized H v upper B n ht] | |
| 807 | - change stressModel H v upper B n (stablePoint F.data.h (BaseContextAssembly.slowCoordinates x)) = _ | |
| 808 | - rw [stablePoint_eq F.data.h_pos F.data.h_lt_half ht] | |
| 809 | - unfold stressModel | |
| 810 | - rw [modelCoordinates_original] | |
| 811 | - simp only [originalPoint, BaseChartJets.normalizedCoordinates_eq] | |
| 812 | - | |
| 813 | -theorem virtualStress_eq (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 814 | - virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x) = | |
| 815 | - BaseContextAssembly.virtualStress H v upper B n x := by | |
| 816 | - change (if 0 < x.1 then stress H v upper B n (BaseContextAssembly.slowCoordinates x) else 0) = _ | |
| 817 | - rw [stress_eq H v upper B n ht] | |
| 818 | - rfl | |
| 819 | - | |
| 820 | -theorem stress_zero_of_inner (n : ℕ) {p : Slow} | |
| 821 | - (hp : (modelCoordinates F.data.h (stablePoint F.data.h p)).2.1 ≤ NominalConeAssembly.activeLeft W) : | |
| 822 | - stress H v upper B n p = 0 := by | |
| 823 | - change (_ : ℝ) • FinalSlowBase.normalizedStress H v upper B | |
| 824 | - (SlowBorelBase.scaleMap (ChartScales.Q n) (modelCoordinates F.data.h (stablePoint F.data.h p))) = 0 | |
| 825 | - rw [SlowBorelBase.scaleMap_apply, FinalSlowBase.normalizedStress_zero_left H v upper B _ hp, smul_zero] | |
| 826 | - | |
| 827 | -theorem virtualStress_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ stableDomain F.data.h) : | |
| 828 | - ContDiffAt ℝ ∞ (virtualStress H v upper B n) p := by | |
| 829 | - rcases lt_trichotomy p.1 0 with hneg | hzero | hpos | |
| 830 | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by | |
| 831 | - filter_upwards [continuousAt_fst (gt_mem_nhds hneg)] with y hy | |
| 832 | - change y.1 < 0 at hy | |
| 833 | - simp only [virtualStress, ite_eq_right (not_lt.mpr hy.le)] | |
| 834 | - exact contDiffAt_const.congr_of_eventuallyEq he | |
| 835 | - · have hc := (modelCoordinates_smoothAt F.data.h (stablePoint_pos hp)).comp p | |
| 836 | - (stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) | |
| 837 | - have hx : (modelCoordinates F.data.h (stablePoint F.data.h p)).2.1 < NominalConeAssembly.activeLeft W := by | |
| 838 | - simpa only [modelCoordinates, stablePoint, hzero, zero_pow (by decide : 2 ≠ 0), zero_div] using | |
| 839 | - NominalConeAssembly.activeLeft_pos W | |
| 840 | - have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by | |
| 841 | - filter_upwards [hc.snd.fst.continuousAt (gt_mem_nhds hx)] with y hy | |
| 842 | - change (modelCoordinates F.data.h (stablePoint F.data.h y)).2.1 < NominalConeAssembly.activeLeft W at hy | |
| 843 | - simp only [virtualStress, stress_zero_of_inner H v upper B n hy.le, ite_self] | |
| 844 | - exact contDiffAt_const.congr_of_eventuallyEq he | |
| 845 | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] stress H v upper B n := by | |
| 846 | - filter_upwards [continuousAt_fst (lt_mem_nhds hpos)] with y hy | |
| 847 | - exact ite_eq_left hy | |
| 848 | - exact (stress_smoothAt H v upper B n hp).congr_of_eventuallyEq he | |
| 849 | - | |
| 850 | -noncomputable def context (index : ℕ → ℕ) : CorrectionState.Context LocalSignedRequest.Point := | |
| 851 | - { CommonBaseContext.context H v upper B index with | |
| 852 | - base := { | |
| 853 | - radial := fun n x => radial H v upper B n (BaseContextAssembly.slowCoordinates x) | |
| 854 | - angular := fun n x => x.1 * frequency H v upper B n (BaseContextAssembly.slowCoordinates x) | |
| 855 | - axial := fun n x => axial H v upper B n (BaseContextAssembly.slowCoordinates x) } | |
| 856 | - virtualTheta := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).1 | |
| 857 | - virtualAxial := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).2 } | |
| 858 | - | |
| 859 | -theorem context_operators (index : ℕ → ℕ) : | |
| 860 | - (context H v upper B index).operators = (CommonBaseContext.context H v upper B index).operators := rfl | |
| 861 | - | |
| 862 | -theorem context_base_eq (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 863 | - (context H v upper B index).base.radial n x = (CommonBaseContext.context H v upper B index).base.radial n x ∧ | |
| 864 | - (context H v upper B index).base.angular n x = (CommonBaseContext.context H v upper B index).base.angular n x ∧ | |
| 865 | - (context H v upper B index).base.axial n x = (CommonBaseContext.context H v upper B index).base.axial n x := by | |
| 866 | - refine ⟨?_, ?_, ?_⟩ | |
| 867 | - · exact radial_eq H v upper B n ht | |
| 868 | - · exact congrArg (fun r => x.1 * r) (frequency_eq H v upper B n ht) | |
| 869 | - · exact axial_eq H v upper B n ht | |
| 870 | - | |
| 871 | -theorem context_stress_eq (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 872 | - (context H v upper B index).virtualTheta n x = (CommonBaseContext.context H v upper B index).virtualTheta n x ∧ | |
| 873 | - (context H v upper B index).virtualAxial n x = (CommonBaseContext.context H v upper B index).virtualAxial n x := | |
| 874 | - ⟨congrArg Prod.fst (virtualStress_eq H v upper B n ht), congrArg Prod.snd (virtualStress_eq H v upper B n ht)⟩ | |
| 875 | - | |
| 876 | -noncomputable def contextDomain (h : ℝ) : Set LocalSignedRequest.Point := | |
| 877 | - BaseContextAssembly.slowCoordinates ⁻¹' positiveStableDomain h | |
| 878 | - | |
| 879 | -theorem contextDomain_open (h : ℝ) : IsOpen (contextDomain h) := | |
| 880 | - (positiveStableDomain_open h).preimage BaseContextAssembly.slowCoordinates.continuous | |
| 881 | - | |
| 882 | -theorem contextDomain_endpoint (R : ℝ) (hR : 0 < R) {Z : ℝ} (hZ : Z ≠ 0) (Y : TorusInverse.Plane) : | |
| 883 | - (R, ((0, Z), Y)) ∈ contextDomain F.data.h := | |
| 884 | - ⟨endpoint_mem_stable F.data.h_pos F.data.h_lt_half R hZ, hR⟩ | |
| 885 | - | |
| 886 | -theorem context_base_smooth (index : ℕ → ℕ) : | |
| 887 | - MeanIncrementBounds.SmoothTriple (contextDomain F.data.h) (context H v upper B index).base := by | |
| 888 | - refine ⟨fun n x hx => ?_, fun n x hx => ?_, fun n x hx => ?_⟩ | |
| 889 | - · exact ((radial_smoothAt H v upper B n hx.1).comp x | |
| 890 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).contDiffWithinAt | |
| 891 | - · exact (contDiffAt_fst.mul ((frequency_smoothAt H v upper B n hx).comp x | |
| 892 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt)).contDiffWithinAt | |
| 893 | - · exact ((axial_smoothAt H v upper B n hx.1).comp x | |
| 894 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).contDiffWithinAt | |
| 895 | - | |
| 896 | -theorem context_stress_smooth (index : ℕ → ℕ) (n : ℕ) : | |
| 897 | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualTheta n) (contextDomain F.data.h) ∧ | |
| 898 | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualAxial n) (contextDomain F.data.h) := by | |
| 899 | - constructor | |
| 900 | - · intro x hx | |
| 901 | - exact (((virtualStress_smoothAt H v upper B n hx.1).comp x | |
| 902 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).fst).contDiffWithinAt | |
| 903 | - · intro x hx | |
| 904 | - exact (((virtualStress_smoothAt H v upper B n hx.1).comp x | |
| 905 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).snd).contDiffWithinAt | |
| 906 | - | |
| 907 | -theorem context_base_germ (index : ℕ → ℕ) (n : ℕ) {x : LocalSignedRequest.Point} (ht : 0 < x.2.1.1) : | |
| 908 | - HarmonicResidual.contextBase (context H v upper B index) n =ᶠ[𝓝 x] | |
| 909 | - HarmonicResidual.contextBase (CommonBaseContext.context H v upper B index) n := by | |
| 910 | - filter_upwards [(isOpen_lt continuous_const continuous_snd.fst.fst).mem_nhds ht] with y hy | |
| 911 | - have he := context_base_eq H v upper B index n hy | |
| 912 | - simp only [HarmonicResidual.contextBase, he.1, he.2.1, he.2.2] | |
| 913 | - | |
| 914 | -/-- Equality is on every free radial/torus fiber, not only a graph restriction. -/ | |
| 915 | -theorem context_stress_fiberAgreement (index : ℕ → ℕ) (n : ℕ) (U : Set TorusInverse.Plane) : | |
| 916 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).virtualTheta n) | |
| 917 | - ((CommonBaseContext.context H v upper B index).virtualTheta n) ∧ | |
| 918 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).virtualAxial n) | |
| 919 | - ((CommonBaseContext.context H v upper B index).virtualAxial n) := | |
| 920 | - ⟨fun _ hx => (context_stress_eq H v upper B index n hx.2).1, | |
| 921 | - fun _ hx => (context_stress_eq H v upper B index n hx.2).2⟩ | |
| 922 | - | |
| 923 | -theorem context_base_fiberAgreement (index : ℕ → ℕ) (n : ℕ) (U : Set TorusInverse.Plane) : | |
| 924 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.radial n) | |
| 925 | - ((CommonBaseContext.context H v upper B index).base.radial n) ∧ | |
| 926 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.angular n) | |
| 927 | - ((CommonBaseContext.context H v upper B index).base.angular n) ∧ | |
| 928 | - OffplaneCorrectionExtensions.FiberAgreement U ((context H v upper B index).base.axial n) | |
| 929 | - ((CommonBaseContext.context H v upper B index).base.axial n) := | |
| 930 | - ⟨fun _ hx => (context_base_eq H v upper B index n hx.2).1, | |
| 931 | - fun _ hx => (context_base_eq H v upper B index n hx.2).2.1, | |
| 932 | - fun _ hx => (context_base_eq H v upper B index n hx.2).2.2⟩ | |
| 933 | - | |
| 934 | -end ActualContext | |
| 935 | - | |
| 936 | -section DifferentialPreservation | |
| 937 | - | |
| 938 | -open OffplaneCorrectionExtensions MeanIncrementBounds | |
| 939 | - | |
| 940 | -/-- Agreement through actual graph differentiation, with the free radial | |
| 941 | -and torus coordinates retained. These are the differential operations used | |
| 942 | -in the particular and mean residual formulas. -/ | |
| 943 | -theorem fiberAgreement_dr {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 944 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 945 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 946 | - ∀ n, FiberAgreement U (o.dr F n) (o.dr f n) := | |
| 947 | - Operators.dr_congr (PhysicalMeanDomain.slowDomain_open (hU.inter positiveSlow_open)) o h | |
| 948 | - | |
| 949 | -theorem fiberAgreement_dz {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 950 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 951 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 952 | - ∀ n, FiberAgreement U (o.dz F n) (o.dz f n) := | |
| 953 | - Operators.dz_congr (PhysicalMeanDomain.slowDomain_open (hU.inter positiveSlow_open)) o h | |
| 954 | - | |
| 955 | -theorem fiberAgreement_time {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 956 | - (o : Operators LocalSignedRequest.Point) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 957 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 958 | - ∀ n, FiberAgreement U (o.time F n) (o.time f n) := by | |
| 959 | - intro n x hx | |
| 960 | - have he := Filter.EventuallyEq.fderiv_eq (𝕜 := ℝ) ((h n).eventuallyEq hU hx.1 hx.2) | |
| 961 | - simp only [Operators.time, Operators.slowTime, Operators.fastTime, Pi.add_apply, he] | |
| 962 | - | |
| 963 | -theorem fiberAgreement_viscosity {U : Set TorusInverse.Plane} (hU : IsOpen U) | |
| 964 | - (o : Operators LocalSignedRequest.Point) (c : ℝ) {F f : MeanIncrementBounds.Field LocalSignedRequest.Point} | |
| 965 | - (h : ∀ n, FiberAgreement U (F n) (f n)) : | |
| 966 | - ∀ n, FiberAgreement U (o.viscosity c F n) (o.viscosity c f n) := by | |
| 967 | - have hr := fiberAgreement_dr hU o h | |
| 968 | - have hrr := fiberAgreement_dr hU o hr | |
| 969 | - have hzz := fiberAgreement_dz hU o (fiberAgreement_dz hU o h) | |
| 970 | - intro n x hx | |
| 971 | - simp only [Operators.viscosity, hrr n hx, hr n hx, hzz n hx, h n hx] | |
| 972 | - | |
| 973 | -theorem fiberAgreement_mul {U : Set TorusInverse.Plane} {F f G g : LocalSignedRequest.Point → ℝ} | |
| 974 | - (hF : FiberAgreement U F f) (hG : FiberAgreement U G g) : | |
| 975 | - FiberAgreement U (fun x => F x * G x) (fun x => f x * g x) := | |
| 976 | - fun _ hx => congrArg₂ (· * ·) (hF hx) (hG hx) | |
| 977 | - | |
| 978 | -theorem fiberAgreement_add {U : Set TorusInverse.Plane} {F f G g : LocalSignedRequest.Point → ℝ} | |
| 979 | - (hF : FiberAgreement U F f) (hG : FiberAgreement U G g) : | |
| 980 | - FiberAgreement U (fun x => F x + G x) (fun x => f x + g x) := | |
| 981 | - fun _ hx => congrArg₂ (· + ·) (hF hx) (hG hx) | |
| 982 | - | |
| 983 | -end DifferentialPreservation | |
| 984 | - | |
| 985 | -end NavierStokes.ActualCorrectionModels | |
+0 −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 −5 NavierStokes/AppendixHeatResults.lean View file
| @@ -26,11 +26,6 @@ theorem rising_nonneg {b : ℝ} (hb : 0 ≤ b) (n : ℕ) : 0 ≤ rising b n := b | ||
| 26 | 26 | intro k _ |
| 27 | 27 | positivity |
| 28 | 28 | |
| 29 | -theorem rising_pos {b : ℝ} (hb : 0 < b) (n : ℕ) : 0 < rising b n := by | |
| 30 | - apply Finset.prod_pos | |
| 31 | - intro k _ | |
| 32 | - positivity | |
| 33 | - | |
| 34 | 29 | theorem rising_mono {b c : ℝ} (hb : 0 ≤ b) (hbc : b ≤ c) (n : ℕ) : |
| 35 | 30 | rising b n ≤ rising c n := by |
| 36 | 31 | apply Finset.prod_le_prod |
+0 −212 NavierStokes/AssembledSlowBase.lean View file
| @@ -47,30 +47,6 @@ theorem extendEven_pullback {S : Set ℝ} (w : ParametricRadialExtension.Paramet | ||
| 47 | 47 | extendEven w f (R ^ 2 / 2, eta) = f (R, eta) := |
| 48 | 48 | ParametricRadialExtension.extension_pullback w f.smooth (fun _ he r => f.even he r) R heta |
| 49 | 49 | |
| 50 | -theorem extendEven_germ {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 51 | - (f : EvenProfile S) {p : ℝ × ℝ} (hX : 0 < p.1) (heta : |p.2| < w.inner) : | |
| 52 | - extendEven w f =ᶠ[𝓝 p] xProfile f := by | |
| 53 | - filter_upwards [(isOpen_Ioi.prod isOpen_Ioo).mem_nhds ⟨hX, abs_lt.mp heta⟩] with q hq | |
| 54 | - exact extendEven_eq w f hq.1.le (abs_lt.mpr hq.2).le | |
| 55 | - | |
| 56 | -theorem extendEven_right_jets {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 57 | - (f : EvenProfile S) (m : ℕ) {X eta : ℝ} (hX : 0 ≤ X) (heta : |eta| ≤ w.inner) : | |
| 58 | - iteratedDeriv m (fun Y => extendEven w f (Y, eta)) X = | |
| 59 | - iteratedDerivWithin m (fun Y => xProfile f (Y, eta)) (Ici 0) X := | |
| 60 | - ParametricRadialExtension.extension_radial_jets w f.smooth (fun _ he R => f.even he R) m hX heta | |
| 61 | - | |
| 62 | -theorem extendEven_mixed_jets {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 63 | - (f : EvenProfile S) (m : ℕ) {p : ℝ × ℝ} | |
| 64 | - (hp : p ∈ Ici 0 ×ˢ Ioo (-w.inner) w.inner) : | |
| 65 | - iteratedFDeriv ℝ m (extendEven w f) p = | |
| 66 | - iteratedFDerivWithin ℝ m (xProfile f) (Ici 0 ×ˢ Ioo (-w.inner) w.inner) p := | |
| 67 | - ParametricRadialExtension.extension_mixed_jets w f.smooth (fun _ he R => f.even he R) m hp | |
| 68 | - | |
| 69 | -theorem extendEven_support {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 70 | - (f : EvenProfile S) {B : ℝ} (hB : 0 ≤ B) (hs : Exterior B S f) : | |
| 71 | - tsupport (extendEven w f) ⊆ Icc (-1 : ℝ) (B ^ 2 / 2) ×ˢ Icc (-w.outer) w.outer := | |
| 72 | - ParametricRadialExtension.extension_tsupport w f.smooth (fun _ he R => f.even he R) hB hs | |
| 73 | - | |
| 74 | 50 | /-- For a profile already zero on a fixed axis neighborhood, remove the |
| 75 | 51 | unused negative-X extension without changing any physical value. -/ |
| 76 | 52 | noncomputable def extendCoreZero {S : Set ℝ} |
| @@ -133,23 +109,6 @@ theorem extendedCoefficient_eq {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | ||
| 133 | 109 | extendedCoefficient s hI n i p = xProfile (component (profiles s n) i) p := |
| 134 | 110 | extendEven_eq _ _ hX (heta.trans (commonWindow s hI).one_lt_inner.le) |
| 135 | 111 | |
| 136 | -theorem extendedCoefficient_support {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | |
| 137 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) : | |
| 138 | - tsupport (extendedCoefficient s hI n i) ⊆ | |
| 139 | - Icc (-1 : ℝ) (s.B ^ 2 / 2) ×ˢ Icc (-(commonWindow s hI).outer) (commonWindow s hI).outer := by | |
| 140 | - apply extendEven_support _ _ s.B_pos.le | |
| 141 | - fin_cases i | |
| 142 | - · exact profiles_phi_exterior s hn | |
| 143 | - · exact profiles_axial_exterior s n | |
| 144 | - · exact profiles_beta_exterior s n | |
| 145 | - · exact profiles_pressure_exterior s hn | |
| 146 | - | |
| 147 | -theorem extendedCoefficient_compactSupport {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | |
| 148 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) : | |
| 149 | - HasCompactSupport (extendedCoefficient s hI n i) := | |
| 150 | - (isCompact_Icc.prod isCompact_Icc).of_isClosed_subset isClosed_closure | |
| 151 | - (extendedCoefficient_support s hI hn i) | |
| 152 | - | |
| 153 | 112 | theorem extendedCoefficient_zero_exterior {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) |
| 154 | 113 | (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) {p : ℝ × ℝ} |
| 155 | 114 | (hp : s.B ^ 2 / 2 ≤ p.1) : extendedCoefficient s hI n i p = 0 := by |
| @@ -162,16 +121,6 @@ theorem extendedCoefficient_zero_exterior {S : Set ℝ} {h C : ℝ} (s : Scheme | ||
| 162 | 121 | · exact profiles_beta_exterior s n |
| 163 | 122 | · exact profiles_pressure_exterior s hn |
| 164 | 123 | |
| 165 | -theorem extendedCoefficient_inner {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | |
| 166 | - {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} | |
| 167 | - {A : SlowRecursion.LocalHierarchy rho U h C base} | |
| 168 | - (L : Localization s A inner) (B0 : BaseAgreement s A inner) | |
| 169 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) {p : ℝ × ℝ} | |
| 170 | - (hX : 0 ≤ p.1) (hi : p.1 < inner) (heta : |p.2| ≤ 1) : | |
| 171 | - extendedCoefficient s hI n i p = SlowRecursion.profile (A.coefficients n (localIndex i)) p := by | |
| 172 | - rw [extendedCoefficient_eq s hI n i hX heta] | |
| 173 | - exact profiles_inner_eq L B0 hn i hX hi (hI (abs_le.mp heta)) | |
| 174 | - | |
| 175 | 124 | theorem extendedCoefficient_axis {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} |
| 176 | 125 | {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} |
| 177 | 126 | {A : SlowRecursion.LocalHierarchy rho U h C base} |
| @@ -183,19 +132,6 @@ theorem extendedCoefficient_axis {S : Set ℝ} {h C rho inner : ℝ} {U : Set | ||
| 183 | 132 | rw [mul_zero, Real.sqrt_zero] |
| 184 | 133 | exact profiles_axis_zero L B0 hn i (hI (abs_le.mp heta)) |
| 185 | 134 | |
| 186 | -theorem extendedCoefficient_axis_jets {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | |
| 187 | - {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} | |
| 188 | - {A : SlowRecursion.LocalHierarchy rho U h C base} | |
| 189 | - (L : Localization s A inner) (B0 : BaseAgreement s A inner) | |
| 190 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) (m : ℕ) {eta : ℝ} | |
| 191 | - (heta : |eta| ≤ 1) : | |
| 192 | - iteratedDeriv m (fun X => extendedCoefficient s hI n i (X, eta)) 0 = | |
| 193 | - iteratedDerivWithin m (fun X => SlowRecursion.profile (A.coefficients n (localIndex i)) (X, eta)) | |
| 194 | - (Ici 0) 0 := by | |
| 195 | - unfold extendedCoefficient | |
| 196 | - rw [extendEven_right_jets _ _ m le_rfl (heta.trans (commonWindow s hI).one_lt_inner.le)] | |
| 197 | - exact profiles_axis_right_jets L B0 hn i m (hI (abs_le.mp heta)) | |
| 198 | - | |
| 199 | 135 | /-- A profile smooth on a neighborhood of the nonnegative X half-plane |
| 200 | 136 | gives a genuine globally signed-radius even field by polynomial pullback. -/ |
| 201 | 137 | noncomputable def radialPullback {S : Set ℝ} {D : Set (ℝ × ℝ)} (F : Field) |
| @@ -379,16 +315,6 @@ theorem coefficients_fields_eq (Z0 : ZeroOrderSolved s inner) | ||
| 379 | 315 | ⟨extendedCoefficient_eq s hI n 0 hX heta, extendedCoefficient_eq s hI n 1 hX heta, |
| 380 | 316 | extendedCoefficient_eq s hI n 3 hX heta⟩ |
| 381 | 317 | |
| 382 | -theorem coefficients_fields_germ (Z0 : ZeroOrderSolved s inner) | |
| 383 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) (n : ℕ) {p : ℝ × ℝ} | |
| 384 | - (hX : 0 < p.1) (heta : |p.2| ≤ 1) : | |
| 385 | - (coefficients L B0 Z0 hI).phi n =ᶠ[𝓝 p] (asSlowProfiles s).phi n ∧ | |
| 386 | - (coefficients L B0 Z0 hI).axial n =ᶠ[𝓝 p] (asSlowProfiles s).axial n ∧ | |
| 387 | - (coefficients L B0 Z0 hI).pressure n =ᶠ[𝓝 p] (asSlowProfiles s).pressure n := | |
| 388 | - ⟨extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner), | |
| 389 | - extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner), | |
| 390 | - extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner)⟩ | |
| 391 | - | |
| 392 | 318 | theorem coefficients_stress_eq (Z0 : ZeroOrderSolved s inner) |
| 393 | 319 | (hI : Icc (-1 : ℝ) 1 ⊆ S) (n : ℕ) {w : ℝ × ℝ} |
| 394 | 320 | (hX : 0 ≤ w.1) (heta : |w.2| ≤ 1) : |
| @@ -616,15 +542,6 @@ theorem extended_axial_primitive_zero {h C : ℝ} (s : Scheme S h C) | ||
| 616 | 542 | rw [hr2] at he |
| 617 | 543 | exact he.symm.trans hm |
| 618 | 544 | |
| 619 | -theorem extended_axial_average_zero {h C : ℝ} (s : Scheme S h C) | |
| 620 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 621 | - (hX : s.B ^ 2 / 2 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 622 | - ProfileHistories.average (extendedCoefficient s hI n 1) p = 0 := by | |
| 623 | - have hp : 0 < p.1 := (div_pos (sq_pos_of_pos s.B_pos) (by norm_num)).trans_le hX | |
| 624 | - have hm := extended_axial_primitive_zero s hI hn hX heta | |
| 625 | - rw [ProfileHistories.primitive_eq_mul_average] at hm | |
| 626 | - exact (mul_eq_zero.mp hm).resolve_left hp.ne' | |
| 627 | - | |
| 628 | 545 | end ActualFlux |
| 629 | 546 | |
| 630 | 547 | section FiniteBase |
| @@ -1014,9 +931,6 @@ noncomputable def nominalBaseData : | ||
| 1014 | 931 | ((ReservedPatches.radialLeft_pos F W.controls.radius W.controls.radius_pos .positive).trans hR.1)) (by norm_num))] |
| 1015 | 932 | exact (nominal_positive_patch W hR).2) |
| 1016 | 933 | |
| 1017 | -theorem nominalBaseData_beta : (nominalBaseData W d hD).fields.beta = | |
| 1018 | - betaFromU d 0 (nominalBaseData W d hD).fields.axial := rfl | |
| 1019 | - | |
| 1020 | 934 | end NominalBase |
| 1021 | 935 | |
| 1022 | 936 | section CoherentHierarchy |
| @@ -1328,12 +1242,6 @@ theorem nominalCoefficients_zero_fields {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta | ||
| 1328 | 1242 | rw [profiles_zero] |
| 1329 | 1243 | exact baseFields_pressure (nominalDomain W) W.axis.normalization W.profiles (nominalParameters_domain W) hX |
| 1330 | 1244 | |
| 1331 | -theorem nominalCoefficients_stress_zero {p : ℝ × ℝ} | |
| 1332 | - (hp : p.1 ≤ nominalInner W / 8) (n : ℕ) : | |
| 1333 | - (nominalCoefficients W).stressTheta n p = 0 ∧ (nominalCoefficients W).stressAxial n p = 0 := | |
| 1334 | - coefficients_stress_zero_left (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) | |
| 1335 | - (nominalParameters_contains W) n hp | |
| 1336 | - | |
| 1337 | 1245 | theorem nominalCoefficients_stress_eq {p : ℝ × ℝ} |
| 1338 | 1246 | (hp : 0 ≤ p.1) (heta : |p.2| ≤ 1) (n : ℕ) : |
| 1339 | 1247 | (nominalCoefficients W).stressTheta n p = |
| @@ -1343,16 +1251,6 @@ theorem nominalCoefficients_stress_eq {p : ℝ × ℝ} | ||
| 1343 | 1251 | coefficients_stress_eq (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) |
| 1344 | 1252 | (nominalParameters_contains W) n hp heta |
| 1345 | 1253 | |
| 1346 | -theorem nominal_extended_flux (n : ℕ) {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1347 | - p.1 * extendedCoefficient (nominalScheme W) (nominalParameters_contains W) n 2 p = | |
| 1348 | - SlowDivergence.radialFlux F.data.h (AxisSourceRegularity.slowOrder F.data.h n) | |
| 1349 | - ((nominalCoefficients W).axial n) p := by | |
| 1350 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1351 | - · have h := extended_flux_zero (nominalScheme W) (nominalParameters_contains W) rfl hX heta | |
| 1352 | - simp only [AxisSourceRegularity.slowOrder, Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1353 | - exact h | |
| 1354 | - · exact extended_flux (nominalScheme W) (nominalParameters_contains W) hn hX heta | |
| 1355 | - | |
| 1356 | 1254 | /-- A common smooth solenoidal physical base now follows from one actual |
| 1357 | 1255 | nominal witness, including the derived zero-order equations. -/ |
| 1358 | 1256 | theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : |
| @@ -1368,75 +1266,6 @@ theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : | ||
| 1368 | 1266 | SlowBorelBase.exists_base_fields W.axis.small.h_pos (by linarith [W.axis.small.h_le]) |
| 1369 | 1267 | (nominalCoefficients_smooth W) W.axis.normalization lo hi N |
| 1370 | 1268 | |
| 1371 | -theorem nominal_divergenceCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1372 | - (hX : 0 < p.1) (heta : p.2 ∈ nominalParameters W) : | |
| 1373 | - SlowExpansionResidual.divergenceCoefficient F.data.h (asSlowProfiles (nominalScheme W)) n p = 0 := by | |
| 1374 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1375 | - · change SimilarityProfile.partialX | |
| 1376 | - (AxisSourceRegularity.axisFactor (xProfile (profiles (nominalScheme W) 0).beta)) p + | |
| 1377 | - SimilarityProfile.Z F.data.h | |
| 1378 | - (SlowExpansionResidual.axialExponent F.data.h + SlowExpansionResidual.slowOrder F.data.h 0) | |
| 1379 | - (xProfile (profiles (nominalScheme W) 0).axial) p = 0 | |
| 1380 | - rw [profiles_zero] | |
| 1381 | - have h := betaFromU_x_divergence (nominalDomain W) 0 (nominalScheme W).base.axial hX heta | |
| 1382 | - simp only [SlowExpansionResidual.axialExponent, SlowExpansionResidual.slowOrder, | |
| 1383 | - Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1384 | - exact h | |
| 1385 | - · exact profiles_divergenceCoefficient (nominalScheme W) hn hX heta | |
| 1386 | - | |
| 1387 | -theorem nominal_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1388 | - (hX : 0 < p.1) (heta : p.2 ∈ nominalParameters W) : | |
| 1389 | - SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization | |
| 1390 | - (asSlowProfiles (nominalScheme W)) n p = 0 := by | |
| 1391 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1392 | - · have hpg : (asSlowProfiles (nominalScheme W)).pressure 0 =ᶠ[𝓝 p] W.profiles.pressure := by | |
| 1393 | - filter_upwards [continuous_fst.continuousAt (Ioi_mem_nhds hX)] with q hq | |
| 1394 | - change xProfile (profiles (nominalScheme W) 0).pressure q = _ | |
| 1395 | - rw [profiles_zero] | |
| 1396 | - exact baseFields_pressure (nominalDomain W) W.axis.normalization W.profiles | |
| 1397 | - (nominalParameters_domain W) hq.le | |
| 1398 | - have hpr : SimilarityProfile.partialX ((asSlowProfiles (nominalScheme W)).pressure 0) p = | |
| 1399 | - W.profiles.f p ^ 2 := by | |
| 1400 | - rw [SimilarityProfile.partialX, hpg.fderiv_eq] | |
| 1401 | - exact W.profiles.radialPartial_pressure (nominalParameters_domain W p.1 hX.le p.2 heta) | |
| 1402 | - have hphi : (asSlowProfiles (nominalScheme W)).phi 0 p = W.axis.normalization * W.profiles.f p := by | |
| 1403 | - change xProfile (profiles (nominalScheme W) 0).phi p = _ | |
| 1404 | - rw [profiles_zero] | |
| 1405 | - exact baseFields_phi (nominalDomain W) W.axis.normalization W.profiles | |
| 1406 | - (nominalParameters_domain W) hX.le | |
| 1407 | - simp only [SlowExpansionResidual.pressureCoefficient, SlowExpansionResidual.previous, | |
| 1408 | - SlowExpansionResidual.convolution, Finset.Nat.antidiagonal_zero, Finset.sum_singleton, | |
| 1409 | - hpr, hphi, zero_div, add_zero] | |
| 1410 | - field_simp [W.axis.normalization_pos.ne'] ; ring | |
| 1411 | - · exact profiles_pressureCoefficient (nominalScheme W) hn hX heta | |
| 1412 | - | |
| 1413 | -theorem nominal_densities_smooth (n : ℕ) : | |
| 1414 | - Smooth (nominalParameters W) | |
| 1415 | - (SlowResidualMatching.thetaDensity F.data.h W.axis.normalization (asSlowProfiles (nominalScheme W)) n) ∧ | |
| 1416 | - Smooth (nominalParameters W) | |
| 1417 | - (SlowResidualMatching.zDensity F.data.h (asSlowProfiles (nominalScheme W)) n) := | |
| 1418 | - ⟨thetaDensity_smooth (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) n, | |
| 1419 | - zDensity_smooth (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) n⟩ | |
| 1420 | - | |
| 1421 | -theorem nominalCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |eta| ≤ 1) : | |
| 1422 | - (nominalCoefficients W).phi n (0, eta) = 0 ∧ | |
| 1423 | - (nominalCoefficients W).axial n (0, eta) = 0 ∧ | |
| 1424 | - (nominalCoefficients W).pressure n (0, eta) = 0 := | |
| 1425 | - ⟨extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1426 | - (nominalParameters_contains W) hn 0 heta, | |
| 1427 | - extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1428 | - (nominalParameters_contains W) hn 1 heta, | |
| 1429 | - extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) | |
| 1430 | - (nominalParameters_contains W) hn 3 heta⟩ | |
| 1431 | - | |
| 1432 | -theorem nominalCoefficients_compactSupport {n : ℕ} (hn : 0 < n) : | |
| 1433 | - HasCompactSupport ((nominalCoefficients W).phi n) ∧ | |
| 1434 | - HasCompactSupport ((nominalCoefficients W).axial n) ∧ | |
| 1435 | - HasCompactSupport ((nominalCoefficients W).pressure n) := | |
| 1436 | - ⟨extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 0, | |
| 1437 | - extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 1, | |
| 1438 | - extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 3⟩ | |
| 1439 | - | |
| 1440 | 1269 | theorem nominalCoefficients_positive_exterior {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} |
| 1441 | 1270 | (hp : nominalOuterX W ≤ p.1) : |
| 1442 | 1271 | (nominalCoefficients W).phi n p = 0 ∧ (nominalCoefficients W).axial n p = 0 ∧ |
| @@ -1455,13 +1284,6 @@ theorem nominal_axial_primitive_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | ||
| 1455 | 1284 | change nominalOuterRadius W ^ 2 / 2 ≤ p.1 |
| 1456 | 1285 | rwa [nominalOuterRadius_square] |
| 1457 | 1286 | |
| 1458 | -theorem nominal_axial_average_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 1459 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1460 | - ProfileHistories.average ((nominalCoefficients W).axial n) p = 0 := by | |
| 1461 | - apply extended_axial_average_zero (nominalScheme W) (nominalParameters_contains W) hn _ heta | |
| 1462 | - change nominalOuterRadius W ^ 2 / 2 ≤ p.1 | |
| 1463 | - rwa [nominalOuterRadius_square] | |
| 1464 | - | |
| 1465 | 1287 | theorem nominal_exterior_base {p : ℝ × ℝ} (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : |
| 1466 | 1288 | W.U p = 0 ∧ W.profiles.M p = 0 := by |
| 1467 | 1289 | have hXp : 0 ≤ p.1 := (nominalOuterX_pos W).le.trans hX |
| @@ -1496,14 +1318,6 @@ theorem nominal_axial_primitive_zero_all (n : ℕ) {p : ℝ × ℝ} | ||
| 1496 | 1318 | exact (nominal_exterior_base W hX heta).2 |
| 1497 | 1319 | · exact nominal_axial_primitive_zero W hn hX heta |
| 1498 | 1320 | |
| 1499 | -theorem nominal_axial_average_zero_all (n : ℕ) {p : ℝ × ℝ} | |
| 1500 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1501 | - ProfileHistories.average ((nominalCoefficients W).axial n) p = 0 := by | |
| 1502 | - have hp : 0 < p.1 := (nominalOuterX_pos W).trans_le hX | |
| 1503 | - have hm := nominal_axial_primitive_zero_all W n hX heta | |
| 1504 | - rw [ProfileHistories.primitive_eq_mul_average] at hm | |
| 1505 | - exact (mul_eq_zero.mp hm).resolve_left hp.ne' | |
| 1506 | - | |
| 1507 | 1321 | end CoherentHierarchy |
| 1508 | 1322 | |
| 1509 | 1323 | section ModifiedBase |
| @@ -1693,32 +1507,6 @@ theorem modifiedCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |et | ||
| 1693 | 1507 | extendedCoefficient_axis (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) M.contains hn 1 heta, |
| 1694 | 1508 | extendedCoefficient_axis (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) M.contains hn 3 heta⟩ |
| 1695 | 1509 | |
| 1696 | -theorem modified_extended_flux (n : ℕ) {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1697 | - p.1 * extendedCoefficient (modifiedScheme W Q M) M.contains n 2 p = | |
| 1698 | - SlowDivergence.radialFlux F.data.h (AxisSourceRegularity.slowOrder F.data.h n) | |
| 1699 | - ((modifiedCoefficients W Q M).axial n) p := by | |
| 1700 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1701 | - · have h := extended_flux_zero (modifiedScheme W Q M) M.contains rfl hX heta | |
| 1702 | - simp only [AxisSourceRegularity.slowOrder, Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1703 | - exact h | |
| 1704 | - · exact extended_flux (modifiedScheme W Q M) M.contains hn hX heta | |
| 1705 | - | |
| 1706 | -theorem modified_divergenceCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1707 | - (hX : 0 < p.1) (heta : p.2 ∈ S) : | |
| 1708 | - SlowExpansionResidual.divergenceCoefficient F.data.h (asSlowProfiles (modifiedScheme W Q M)) n p = 0 := by | |
| 1709 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1710 | - · change SimilarityProfile.partialX | |
| 1711 | - (AxisSourceRegularity.axisFactor (xProfile (profiles (modifiedScheme W Q M) 0).beta)) p + | |
| 1712 | - SimilarityProfile.Z F.data.h | |
| 1713 | - (SlowExpansionResidual.axialExponent F.data.h + SlowExpansionResidual.slowOrder F.data.h 0) | |
| 1714 | - (xProfile (profiles (modifiedScheme W Q M) 0).axial) p = 0 | |
| 1715 | - rw [profiles_zero] | |
| 1716 | - have h := betaFromU_x_divergence (modifiedDomain W Q M) 0 (modifiedScheme W Q M).base.axial hX heta | |
| 1717 | - simp only [SlowExpansionResidual.axialExponent, SlowExpansionResidual.slowOrder, | |
| 1718 | - Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1719 | - exact h | |
| 1720 | - · exact profiles_divergenceCoefficient (modifiedScheme W Q M) hn hX heta | |
| 1721 | - | |
| 1722 | 1510 | theorem modified_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} |
| 1723 | 1511 | (hX : 0 < p.1) (heta : p.2 ∈ S) : |
| 1724 | 1512 | SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization |
+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 −98 NavierStokes/BaseChartJets.lean View file
| @@ -764,63 +764,6 @@ theorem dyadic_actual_bounds {ι : Type*} {D : Domain ι Slow} | ||
| 764 | 764 | (fun i => ChartScales.Q (band i)) (fun i => ChartScales.Q_pos (band i)) |
| 765 | 765 | (fun i => ChartScales.Q_le_one (band i)) (fun i => hN (band i) (hband i)) |
| 766 | 766 | |
| 767 | -/-- The already selected enlarged-bundle schedule of the nominal base | |
| 768 | -instantiates the chart theorem without any additional schedule choice. -/ | |
| 769 | -theorem nominal_estimates {ι : Type*} {D : Domain ι Slow} | |
| 770 | - {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 771 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 772 | - {r M qlo qhi lo hi : ℝ} | |
| 773 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 774 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 775 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 776 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 777 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 778 | - Estimates D Q (ConstructedSlowBase.nominalScales W c hc upper B) | |
| 779 | - F.data.h W.axis.normalization (AssembledSlowBase.nominalCoefficients W) := | |
| 780 | - actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 781 | - hr hM hqlo hqhi hlo H (AssembledSlowBase.nominalCoefficients_smooth W) | |
| 782 | - (ConstructedSlowBase.nominalScales_admissible_on W c hc upper B hlo.le hhi) | |
| 783 | - Q hQ hQ1 hsmall | |
| 784 | - | |
| 785 | -/-- The same conclusion for the actual solved finite modulation and its | |
| 786 | -single common weighted/ordinary Borel schedule. -/ | |
| 787 | -theorem modulated_estimates {ι : Type*} {D : Domain ι Slow} | |
| 788 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 789 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 790 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | |
| 791 | - {r M qlo qhi lo hi : ℝ} | |
| 792 | - (hr : 0 < r) (hM : 1 ≤ M) (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 793 | - (hhi : hi ≤ ConstructedSlowBase.scaleUpper W upper) | |
| 794 | - (H : GeometryBounds D F.data.h r M qlo qhi lo hi) | |
| 795 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 796 | - (hsmall : ∀ i, Q i * qhi ≤ 1) : | |
| 797 | - Estimates D Q (ConstructedSlowBase.Modulated.scales v c hc upper B) | |
| 798 | - F.data.h W.axis.normalization (ConstructedSlowBase.Modulated.coefficients v) := by | |
| 799 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 800 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B) | |
| 801 | - (show SlowBorelBase.innerBox lo hi ⊆ | |
| 802 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 803 | - fun w hw => ⟨⟨hlo.le.trans hw.1.1, hw.1.2.trans hhi⟩, hw.2⟩) | |
| 804 | - exact actual_estimates (ConstructedSlowBase.height_pos W) (ConstructedSlowBase.height_lt_half W) | |
| 805 | - hr hM hqlo hqhi hlo H (ConstructedSlowBase.Modulated.coefficients_smooth v) ha Q hQ hQ1 hsmall | |
| 806 | - | |
| 807 | -/-- A direct paired all-jet form, with constants uniform over every index | |
| 808 | -of the chart family. -/ | |
| 809 | -theorem Estimates.uniform_errors {ι : Type*} {D : Domain ι Slow} {Q : ι → ℝ} | |
| 810 | - {a : ℕ → ℕ} {h C : ℝ} {d : SlowBorelBase.Coefficients} | |
| 811 | - (H : Estimates D Q a h C d) (N : ℕ) : | |
| 812 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ i x, x ∈ D.carrier i → ∀ j, j ≤ N → | |
| 813 | - ‖iteratedFDeriv ℝ j (fun p => frequency a h C d (Q i) p - leadingFrequency h C d p) x‖ ≤ | |
| 814 | - K * Q i ^ (2 * h) ∧ | |
| 815 | - ‖iteratedFDeriv ℝ j (fun p => axial a h d (Q i) p - leadingAxial h d p) x‖ ≤ | |
| 816 | - K * Q i ^ (2 * h) := by | |
| 817 | - obtain ⟨CF, hCF, hF⟩ := envelope_unit_bound H.frequency_error N | |
| 818 | - obtain ⟨CG, hCG, hG⟩ := envelope_unit_bound H.axial_error N | |
| 819 | - refine ⟨max CF CG, hCF.trans (le_max_left _ _), fun i x hx j hj => ?_⟩ | |
| 820 | - have hw := H.frequency_error.nonneg i x hx | |
| 821 | - exact ⟨(hF i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_left _ _) hw), | |
| 822 | - (hG i x hx j hj).trans (mul_le_mul_of_nonneg_right (le_max_right _ _) hw)⟩ | |
| 823 | - | |
| 824 | 767 | /-- Every actual positive active label above a single fixed band. -/ |
| 825 | 768 | noncomputable def CellIndex (h lo hi : ℝ) (N : ℕ) := |
| 826 | 769 | {L : PositiveRepresentatives.ActiveLabel (PrimaryRepresentatives.referenceCompact h lo hi) // |
| @@ -843,16 +786,6 @@ theorem positiveCellDomain_convex (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo | ||
| 843 | 786 | Convex ℝ ((positiveCellDomain h lo hi N).carrier L) := |
| 844 | 787 | PositiveRepresentatives.positiveCell_convex _ _ |
| 845 | 788 | |
| 846 | -theorem positiveCellDomain_representative (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 847 | - PositiveRepresentatives.representative (PrimaryRepresentatives.referenceCompact h lo hi) L.val ∈ | |
| 848 | - (positiveCellDomain h lo hi N).carrier L := | |
| 849 | - PositiveRepresentatives.representative_mem_cell _ L.val | |
| 850 | - | |
| 851 | -theorem positiveCellDomain_covers (h lo hi : ℝ) (N : ℕ) (L : CellIndex h lo hi N) : | |
| 852 | - PrimaryRepresentatives.gridBox L.val.val.1 L.val.val.2 2 ∩ PositiveRepresentatives.positiveTime ⊆ | |
| 853 | - (positiveCellDomain h lo hi N).carrier L := | |
| 854 | - PositiveRepresentatives.enlarged_positive_subset_cell L.val.property.1 _ | |
| 855 | - | |
| 856 | 789 | /-- Full actual-input conclusion. The fixed annular profile and one |
| 857 | 790 | admissible Borel schedule give all-order estimates and a single local-base |
| 858 | 791 | constant on every actual enlarged positive-time cell above one band. |
| @@ -900,35 +833,4 @@ theorem exists_actual_positive_charts {a : ℕ → ℕ} {h C lo hi : ℝ} | ||
| 900 | 833 | exact he.localBaseBounds hh.le (fun L => ChartScales.Q_pos (cellBand L)) |
| 901 | 834 | (fun L => ChartScales.Q_le_one (cellBand L)) (positiveCellDomain_convex h lo hi N) |
| 902 | 835 | |
| 903 | -/-- Actual modulated base, actual common schedule, and actual positive | |
| 904 | -active cells, combined in one theorem. The only annular restriction is | |
| 905 | -that the selected schedule controls the enlarged fixed inner box. -/ | |
| 906 | -theorem exists_modulated_positive_charts | |
| 907 | - {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 908 | - {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) | |
| 909 | - (c : ℝ) (hc : 0 < c) (upper : ℝ) (B0 : ℕ) | |
| 910 | - {lo hi : ℝ} (hlo : 0 < lo) (hhi : lo ≤ hi) | |
| 911 | - (hbox : 2 * hi ≤ ConstructedSlowBase.scaleUpper W upper) (N0 : ℕ) : | |
| 912 | - let a := ConstructedSlowBase.Modulated.scales v c hc upper B0 | |
| 913 | - let d := ConstructedSlowBase.Modulated.coefficients v | |
| 914 | - ∃ N : ℕ, N0 ≤ N ∧ | |
| 915 | - Estimates (positiveCellDomain F.data.h lo hi N) | |
| 916 | - (fun L => ChartScales.Q (cellBand L)) a F.data.h W.axis.normalization d ∧ | |
| 917 | - ∃ B : ℝ, 1 ≤ B ∧ ∀ L : CellIndex F.data.h lo hi N, | |
| 918 | - PhaseEstimates.LocalBaseBounds | |
| 919 | - (frequency a F.data.h W.axis.normalization d (ChartScales.Q (cellBand L))) | |
| 920 | - (axial a F.data.h d (ChartScales.Q (cellBand L))) | |
| 921 | - (leadingFrequency F.data.h W.axis.normalization d) (leadingAxial F.data.h d) | |
| 922 | - ((positiveCellDomain F.data.h lo hi N).carrier L) B | |
| 923 | - (ChartScales.epsilon F.data.h (cellBand L)) := by | |
| 924 | - dsimp only | |
| 925 | - have ha := ConstructedSlowBase.admissibleScales_mono | |
| 926 | - (ConstructedSlowBase.Modulated.scales_admissible v c hc upper B0) | |
| 927 | - (show SlowBorelBase.innerBox (lo / 2) (2 * hi) ⊆ | |
| 928 | - SlowBorelBase.innerBox 0 (ConstructedSlowBase.scaleUpper W upper) from | |
| 929 | - fun w hw => ⟨⟨(half_pos hlo).le.trans hw.1.1, hw.1.2.trans hbox⟩, hw.2⟩) | |
| 930 | - exact exists_actual_positive_charts (ConstructedSlowBase.height_pos W) | |
| 931 | - (ConstructedSlowBase.height_lt_half W) hlo hhi | |
| 932 | - (ConstructedSlowBase.Modulated.coefficients_smooth v) ha N0 | |
| 933 | - | |
| 934 | 836 | end NavierStokes.BaseChartJets |
+0 −101 NavierStokes/BaseContextAssembly.lean View file
| @@ -97,11 +97,6 @@ theorem physicalPoint_smooth (h : ℝ) (n : ℕ) : ContDiff ℝ ∞ (physicalPoi | ||
| 97 | 97 | · change ContDiff ℝ ∞ (fun x : Point => ChartScales.Q n ^ CoordinateAlgebra.D h * x.2.1.2) |
| 98 | 98 | exact contDiff_const.mul contDiff_snd.fst.snd |
| 99 | 99 | |
| 100 | -theorem operators_match_physical (h a b : ℝ) (hab : a < b) (n : ℕ) : | |
| 101 | - PhysicalResidualTZ.MatchesAtTZ (operators h a b hab) | |
| 102 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (commonIndex h n)) n := by | |
| 103 | - constructor <;> rfl | |
| 104 | - | |
| 105 | 100 | section OperatorBounds |
| 106 | 101 | |
| 107 | 102 | theorem timeCoefficient_uniform (h : ℝ) (hh : 0 ≤ h) : |
| @@ -560,11 +555,6 @@ theorem rawStress_smooth (U : Set Plane) (hT : ∀ p ∈ U, 0 < p.1) (n : ℕ) : | ||
| 560 | 555 | exact ((contDiffAt_const (c := (ChartScales.Q n ^ (2 * CoordinateAlgebra.A F.data.h) : ℝ))).smul ((htheta.comp x hP.contDiffAt).prodMk |
| 561 | 556 | (haxial.comp x hP.contDiffAt))).contDiffWithinAt |
| 562 | 557 | |
| 563 | -theorem rawStress_periodic (U : Set Plane) (n : ℕ) : | |
| 564 | - PhysicalMeanDomain.PeriodicOn U (fun x => (rawStress H v upper B n x).1) ∧ | |
| 565 | - PhysicalMeanDomain.PeriodicOn U (fun x => (rawStress H v upper B n x).2) := by | |
| 566 | - constructor <;> intro r s hs Y k <;> rfl | |
| 567 | - | |
| 568 | 558 | theorem rawStress_normalized (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) : |
| 569 | 559 | rawStress H v upper B n x = |
| 570 | 560 | (ChartScales.epsilon F.data.h n * |
| @@ -717,31 +707,6 @@ theorem leadingVirtualStress_eq (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (hR : 0 | ||
| 717 | 707 | · exact (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half |
| 718 | 708 | (p := slowCoordinates x) hT).le |
| 719 | 709 | |
| 720 | -noncomputable def waveCoefficients (phase : ℕ → Point × ℝ → ℝ) | |
| 721 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 722 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 723 | - LinearWaveBounds.WaveCoefficients (Point × ℝ) where | |
| 724 | - radius _ x := x.1.1 | |
| 725 | - radialBase n x := radialBase H v upper B n x.1 | |
| 726 | - frequencyBase n x := frequencyBase H v upper B n x.1 | |
| 727 | - axialBase n x := axialBase H v upper B n x.1 | |
| 728 | - phase := phase | |
| 729 | - amplitude := amplitude | |
| 730 | - pressure := pressure | |
| 731 | - frequency := frequency | |
| 732 | - | |
| 733 | -theorem waveCoefficients_match (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 734 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 735 | - (phase : ℕ → Point × ℝ → ℝ) | |
| 736 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 737 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 738 | - PrimaryResidualClass.Matches (movingStrip F.data.h_pos.le U a b cL cR ha hcL hcR) | |
| 739 | - (context H v upper B a b hab) (waveCoefficients H v upper B phase amplitude pressure frequency) := by | |
| 740 | - refine ⟨rfl, rfl, ?_⟩ | |
| 741 | - intro n | |
| 742 | - funext x i | |
| 743 | - fin_cases i <;> rfl | |
| 744 | - | |
| 745 | 710 | noncomputable def radialSlow (n : ℕ) (p : Slow) : ℝ := |
| 746 | 711 | BaseRadialJets.radial (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization |
| 747 | 712 | (FinalSlowBase.coefficients H v) (ChartScales.Q n) p |
| @@ -757,23 +722,11 @@ noncomputable def axialSlow (n : ℕ) : Slow → ℝ := | ||
| 757 | 722 | @[simp] theorem radialSlow_pullback (n : ℕ) (x : Point) : |
| 758 | 723 | radialSlow H v upper B n (slowCoordinates x) = radialBase H v upper B n x := rfl |
| 759 | 724 | |
| 760 | -theorem radialBase_stream (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) : | |
| 761 | - radialBase H v upper B n x = -(ChartScales.epsilon F.data.h n * x.1 / 2) * | |
| 762 | - PhaseCalculus.slowZ (BaseRadialJets.normalizedStream (FinalSlowBase.scales H v upper B) | |
| 763 | - F.data.h (FinalSlowBase.coefficients H v) (ChartScales.Q n)) (slowCoordinates x) := | |
| 764 | - BaseRadialJets.radial_eq_stream (FinalSlowBase.scales_strictMono H v upper B) | |
| 765 | - F.data.h_pos F.data.h_lt_half (ChartScales.Q_pos n) (FinalSlowBase.coefficients_smooth H v) hT | |
| 766 | - | |
| 767 | 725 | theorem radialSlow_smoothAt (n : ℕ) {p : Slow} (hp : 0 < p.2.2) : |
| 768 | 726 | ContDiffAt ℝ ∞ (radialSlow H v upper B n) p := by |
| 769 | 727 | exact (physicalComponent_smoothAt H v upper B n 0 (x := insertSlow p) hp).comp p |
| 770 | 728 | insertSlow.contDiff.contDiffAt |
| 771 | 729 | |
| 772 | -/-- The slot clock can vary with the native construction. Its slow and | |
| 773 | -angular coordinates stay literal, so no phase estimate enters the binding. -/ | |
| 774 | -noncomputable def nativeCoordinates (clock : ℕ → Point → ℝ) (n : ℕ) (x : Point × ℝ) : PhaseCalculus.Slot := | |
| 775 | - (slowCoordinates x.1, (x.2, clock n x.1)) | |
| 776 | - | |
| 777 | 730 | theorem primaryCoefficients_match |
| 778 | 731 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) |
| 779 | 732 | {D : PhaseJetBounds.Domain ℕ Slow} (P : PrimaryPulseBounds.PhaseConstruction D) |
| @@ -799,44 +752,10 @@ theorem primaryCoefficients_match | ||
| 799 | 752 | radialSlow_pullback] |
| 800 | 753 | fin_cases i <;> rfl |
| 801 | 754 | |
| 802 | -theorem nativeCoefficients_match | |
| 803 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 804 | - {D : PhaseJetBounds.Domain ℕ Slow} (P : PrimaryPulseBounds.PhaseConstruction D) | |
| 805 | - (hF : P.phase.F = frequencySlow H v upper B) | |
| 806 | - (hG : P.phase.G = axialSlow H v upper B) | |
| 807 | - (clock : ℕ → Point → ℝ) | |
| 808 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 809 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 810 | - PrimaryResidualClass.Matches (nativeStrip W U) | |
| 811 | - (context H v upper B (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) | |
| 812 | - (PrimaryTargetBounds.radii_ordered W)) | |
| 813 | - (PrimaryMaterialDefect.coefficients P (radialSlow H v upper B) (nativeCoordinates clock) | |
| 814 | - amplitude pressure frequency) := | |
| 815 | - primaryCoefficients_match H v upper B U P hF hG (nativeCoordinates clock) (fun _ _ => rfl) | |
| 816 | - amplitude pressure frequency | |
| 817 | - | |
| 818 | -theorem radialSlow_productClass (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 819 | - (chi : ℕ → Point × ℝ → PhaseCalculus.Slot) | |
| 820 | - (hchi : ∀ n x, (chi n x).1 = slowCoordinates x.1) : | |
| 821 | - UnweightedClass (HarmonicWaveInteraction.productStrip (nativeStrip W U)) 1 | |
| 822 | - (fun n x => radialSlow H v upper B n (chi n x).1) := by | |
| 823 | - apply MeanIncrementBounds.class_congr (HarmonicWaveInteraction.class_lift | |
| 824 | - (radialBase_unweighted H v upper B U)) | |
| 825 | - intro n x hx | |
| 826 | - change radialSlow H v upper B n (chi n x).1 = radialBase H v upper B n x.1 | |
| 827 | - rw [hchi, radialSlow_pullback] | |
| 828 | - | |
| 829 | 755 | noncomputable def nativeContext : CorrectionState.Context Point := |
| 830 | 756 | context H v upper B (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) |
| 831 | 757 | (PrimaryTargetBounds.radii_ordered W) |
| 832 | 758 | |
| 833 | -theorem native_operator_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) : | |
| 834 | - MeanIncrementBounds.OperatorBounds (nativeStrip W U) (nativeContext H v upper B).operators | |
| 835 | - ChartScales.kappa := | |
| 836 | - operator_bounds F.data.h_pos.le U (PrimaryTargetBounds.leftRadius_pos W) | |
| 837 | - (PrimaryTargetBounds.radii_ordered W) (div_pos (FinalSlowBase.edgeExponent_pos W) (by norm_num)) | |
| 838 | - zero_lt_one | |
| 839 | - | |
| 840 | 759 | theorem native_base_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) : |
| 841 | 760 | MeanIncrementBounds.BaseBounds (nativeStrip W U) (nativeContext H v upper B).base := |
| 842 | 761 | base_bounds H v upper B U |
| @@ -864,11 +783,6 @@ theorem native_axial_isSlow (U : Set Plane) : | ||
| 864 | 783 | intro n R p hp Y |
| 865 | 784 | rfl |
| 866 | 785 | |
| 867 | -theorem native_matches_physical (n : ℕ) : | |
| 868 | - PhysicalResidualTZ.MatchesAtTZ (nativeContext H v upper B).operators | |
| 869 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) F.data.h (commonIndex F.data.h n)) n := | |
| 870 | - operators_match_physical _ _ _ _ n | |
| 871 | - | |
| 872 | 786 | theorem native_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (n : ℕ) : |
| 873 | 787 | ContDiffOn ℝ ∞ (fun x => ((nativeContext H v upper B).virtualTheta n x, |
| 874 | 788 | (nativeContext H v upper B).virtualAxial n x)) (PhysicalMeanDomain.slowDomain U.carrier) ∧ |
| @@ -886,19 +800,4 @@ theorem native_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data. | ||
| 886 | 800 | |
| 887 | 801 | end ActualFields |
| 888 | 802 | |
| 889 | -noncomputable def constructedContext (upper : ℝ) (B : ℕ) : CorrectionState.Context Point := | |
| 890 | - nativeContext FinalSlowBase.actualProfile.certificate FinalSlowBase.actualProfile.modulation upper B | |
| 891 | - | |
| 892 | -theorem constructed_context_bounds (upper : ℝ) (B : ℕ) | |
| 893 | - (U : LocalSignedRequest.SlowRegion (2 * FinalSlowBase.actualProfile.outgoing.data.h)) : | |
| 894 | - MeanIncrementBounds.OperatorBounds (nativeStrip FinalSlowBase.actualProfile.nominal U) | |
| 895 | - (constructedContext upper B).operators ChartScales.kappa ∧ | |
| 896 | - MeanIncrementBounds.BaseBounds (nativeStrip FinalSlowBase.actualProfile.nominal U) | |
| 897 | - (constructedContext upper B).base ∧ | |
| 898 | - LocalRankDefect.LocalOperators U.carrier (constructedContext upper B).operators ∧ | |
| 899 | - MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U.carrier) | |
| 900 | - (constructedContext upper B).base := | |
| 901 | - ⟨native_operator_bounds _ _ upper B U, native_base_bounds _ _ upper B U, | |
| 902 | - native_operators_local _ _ upper B U.carrier, native_base_smooth _ _ upper B U⟩ | |
| 903 | - | |
| 904 | 803 | end NavierStokes.BaseContextAssembly |
+0 −87 NavierStokes/BaseExterior.lean View file
| @@ -325,10 +325,6 @@ end ExteriorSummation | ||
| 325 | 325 | |
| 326 | 326 | section PressureScaling |
| 327 | 327 | |
| 328 | -theorem q_radial (h t s s' z : ℝ) : q h (t, (s, z)) = q h (t, (s', z)) := rfl | |
| 329 | - | |
| 330 | -theorem eta_radial (h t s s' z : ℝ) : eta h (t, (s, z)) = eta h (t, (s', z)) := rfl | |
| 331 | - | |
| 332 | 328 | theorem pullback_radial_scaled (h b : ℝ) (f : InnerProfile) {p : PhysicalPoint} |
| 333 | 329 | (hq : 0 < q h p) (u : ℝ) : |
| 334 | 330 | pullback h b f (p.1, (q h p * u, p.2.2)) = q h p ^ b * f (u, eta h p) := by |
| @@ -604,19 +600,6 @@ theorem nominal_pressure_pure_heat {p : PhysicalPoint} | ||
| 604 | 600 | ((nominalExteriorRadius_pos W).trans hx').le] |
| 605 | 601 | exact nominal_angular_pure_heat W hpt |
| 606 | 602 | |
| 607 | -/-- The actual summed nominal velocity and pressure are exactly the radial | |
| 608 | -heat field outside one common profile radius, for every cutoff schedule. -/ | |
| 609 | -theorem nominal_base_eq_heat {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 610 | - EqOn (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 611 | - (heatVelocity (nominalHeatNormalization W) F.data.h) | |
| 612 | - (cartesianExterior F.data.h (nominalExteriorRadius W)) ∧ | |
| 613 | - EqOn (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 614 | - (heatPressureField (nominalHeatNormalization W) F.data.h) | |
| 615 | - (cartesianExterior F.data.h (nominalExteriorRadius W)) := | |
| 616 | - exterior_base_eq_heat ha F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le | |
| 617 | - (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) | |
| 618 | - (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) | |
| 619 | - | |
| 620 | 603 | /-- Exact zero residual in the actual summed exterior. No exterior |
| 621 | 604 | solution property is supplied as a premise. -/ |
| 622 | 605 | theorem nominal_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| @@ -627,26 +610,6 @@ theorem nominal_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) | ||
| 627 | 610 | (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) |
| 628 | 611 | (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) hz |
| 629 | 612 | |
| 630 | -theorem nominal_base_residual_germ_zero {a : ℕ → ℕ} (ha : StrictMono a) | |
| 631 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : | |
| 632 | - (fun y => navierStokesResidual | |
| 633 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 634 | - (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) | |
| 635 | - =ᶠ[𝓝 z] (fun _ => 0) := by | |
| 636 | - filter_upwards [(cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half | |
| 637 | - (nominalExteriorRadius W)).mem_nhds hz] with y hy | |
| 638 | - exact nominal_base_residual_zero W ha hy | |
| 639 | - | |
| 640 | -/-- Every physical derivative of the actual Cartesian residual is exactly | |
| 641 | -zero on the exterior, not just asymptotically small. -/ | |
| 642 | -theorem nominal_base_residual_jets_zero {a : ℕ → ℕ} (ha : StrictMono a) | |
| 643 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) (m : ℕ) : | |
| 644 | - iteratedFDeriv ℝ m (fun y => navierStokesResidual | |
| 645 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 646 | - (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) z = 0 := by | |
| 647 | - rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (nominal_base_residual_germ_zero W ha hz) m).self_of_nhds, | |
| 648 | - iteratedFDeriv_fun_zero, Pi.zero_apply] | |
| 649 | - | |
| 650 | 613 | end NominalExterior |
| 651 | 614 | |
| 652 | 615 | section TerminalExtension |
| @@ -684,58 +647,8 @@ theorem heatPressureField_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : | ||
| 684 | 647 | (show MapsTo (fun z : SpaceTime => AxisymmetricFields.profilePoint z.1 z.2) |
| 685 | 648 | closedCartesianHeatDomain closedHeatDomain from fun _ hz => hz) |
| 686 | 649 | |
| 687 | -theorem near_one_in_exterior {h R : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) | |
| 688 | - {x : Space} (hx : x 2 = 0) (_hs : 0 < AxisymmetricFields.radialEnergy x) | |
| 689 | - {t : ℝ} (ht : t ∈ Ioo (1 - AxisymmetricFields.radialEnergy x / (R + 1)) 1) : | |
| 690 | - (t, x) ∈ cartesianExterior h R := by | |
| 691 | - have hq : q h (AxisymmetricFields.profilePoint t x) = 1 - t := by | |
| 692 | - change NaturalCore.physicalQ h (t, (AxisymmetricFields.radialEnergy x, x 2)) = _ | |
| 693 | - rw [hx] | |
| 694 | - exact NaturalCore.physicalQ_at_zero_z hh hh1 ht.2 _ | |
| 695 | - refine ⟨ht.2, ?_⟩ | |
| 696 | - change R < AxisymmetricFields.radialEnergy x / q h (AxisymmetricFields.profilePoint t x) | |
| 697 | - rw [hq] | |
| 698 | - apply (lt_div_iff₀ (sub_pos.mpr ht.2)).mpr | |
| 699 | - have hRp : 0 < R + 1 := by linarith | |
| 700 | - have hsmall : 1 - t < AxisymmetricFields.radialEnergy x / (R + 1) := by linarith [ht.1] | |
| 701 | - have hprod := (lt_div_iff₀ hRp).mp hsmall | |
| 702 | - nlinarith [sub_pos.mpr ht.2] | |
| 703 | - | |
| 704 | 650 | open AssembledSlowBase |
| 705 | 651 | |
| 706 | -/-- For each fixed positive radius on the central plane, the actual base | |
| 707 | -equals the explicit heat extension on a whole terminal time interval. -/ | |
| 708 | -theorem nominal_base_terminal_extension {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 709 | - {a : ℕ → ℕ} (ha : StrictMono a) {x : Space} (hx : x 2 = 0) | |
| 710 | - (hs : 0 < AxisymmetricFields.radialEnergy x) : | |
| 711 | - ∃ δ : ℝ, 0 < δ ∧ | |
| 712 | - (∀ t ∈ Ioo (1 - δ) 1, | |
| 713 | - baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = | |
| 714 | - heatVelocity (nominalHeatNormalization W) F.data.h (t, x) ∧ | |
| 715 | - basePressure a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = | |
| 716 | - heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) ∧ | |
| 717 | - ContDiffOn ℝ ∞ (fun t => heatVelocity (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) ∧ | |
| 718 | - ContDiffOn ℝ ∞ (fun t => heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) := by | |
| 719 | - refine ⟨AxisymmetricFields.radialEnergy x / (nominalExteriorRadius W + 1), | |
| 720 | - div_pos hs (by linarith [nominalExteriorRadius_pos W]), ?_, ?_, ?_⟩ | |
| 721 | - · intro t ht | |
| 722 | - have hm := near_one_in_exterior F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le hx hs ht | |
| 723 | - exact ⟨(nominal_base_eq_heat W ha).1 hm, (nominal_base_eq_heat W ha).2 hm⟩ | |
| 724 | - · exact (heatVelocity_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp | |
| 725 | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) | |
| 726 | - · exact (heatPressureField_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp | |
| 727 | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) | |
| 728 | - | |
| 729 | -theorem nominal_base_meridional_zero {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 730 | - {a : ℕ → ℕ} (ha : StrictMono a) {z : SpaceTime} | |
| 731 | - (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : | |
| 732 | - baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 2 = 0 ∧ | |
| 733 | - z.2 0 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 0 + | |
| 734 | - z.2 1 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 1 = 0 := by | |
| 735 | - rw [(nominal_base_eq_heat W ha).1 hz, heatVelocity_eq_angularVector] | |
| 736 | - simp [BaseResidual.angularVector, coordinateVector, Fin.ext_iff] | |
| 737 | - ring | |
| 738 | - | |
| 739 | 652 | end TerminalExtension |
| 740 | 653 | |
| 741 | 654 | end NavierStokes.BaseExterior |
+0 −107 NavierStokes/BasePhaseGeometry.lean View file
| @@ -23,14 +23,6 @@ abbrev Slow := PhaseCalculus.Slow | ||
| 23 | 23 | abbrev Plane := MovingFrameODE.Plane |
| 24 | 24 | abbrev Space := MovingFrameODE.Space |
| 25 | 25 | |
| 26 | -/-- The normalized base error `Q^(2h)` is exactly the squared native small | |
| 27 | -parameter used by the phase estimates. -/ | |
| 28 | -theorem epsilon_squared (h : ℝ) (n : ℕ) : | |
| 29 | - ChartScales.epsilon h n ^ 2 = ChartScales.Q n ^ (2 * h) := by | |
| 30 | - symm | |
| 31 | - simpa only [ChartScales.epsilon, Nat.cast_ofNat, mul_comm] using | |
| 32 | - Real.rpow_mul_natCast (ChartScales.Q_pos n).le h 2 | |
| 33 | - | |
| 34 | 26 | noncomputable def dampingDenominator (u : ℝ) : ℝ := |
| 35 | 27 | (1 + u ^ 2) * Real.sqrt (1 + u ^ 2) |
| 36 | 28 | |
| @@ -77,15 +69,6 @@ theorem referenceScale_bounds {lam l M viscosity u : ℝ} | ||
| 77 | 69 | one_le_mul_of_one_le_of_one_le hvlo (dampingDenominator_one_le u) |
| 78 | 70 | exact hM.trans (le_mul_of_one_le_right (hlampos.le.trans hM) hVD) |
| 79 | 71 | |
| 80 | -theorem dyadic_referenceScale_normalization (h u : ℝ) {lam : ℝ} (hlam : 0 < lam) (n : ℕ) : | |
| 81 | - (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) * | |
| 82 | - referenceScale lam (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ) ^ 2) u ^ 2 = | |
| 83 | - lam / dampingDenominator u := by | |
| 84 | - apply referenceScale_normalization hlam | |
| 85 | - have hk : 0 < (ChartScales.carrier h n : ℝ) := | |
| 86 | - Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h n) | |
| 87 | - exact mul_pos (ChartScales.epsilon_pos h n) (pow_pos hk 2) | |
| 88 | - | |
| 89 | 72 | theorem localBase_mono {F G F0 G0 : Slow → ℝ} {U : Set Slow} {M T ε : ℝ} |
| 90 | 73 | (h : PhaseEstimates.LocalBaseBounds F G F0 G0 U M ε) (hMT : M ≤ T) : |
| 91 | 74 | PhaseEstimates.LocalBaseBounds F G F0 G0 U T ε where |
| @@ -941,29 +924,6 @@ theorem coefficientControl (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 941 | 924 | errors _ hv := a.modal_errors hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 942 | 925 | viscosity _ hv := a.damping_error hh hr hM hu huM hL hslot i hn hq (a.interval_subset_slot hr i hv) |
| 943 | 926 | |
| 944 | -/-- The actual modal energy bound holds with the same constants for every | |
| 945 | -nonzero harmonic. The damping discrepancy is not multiplied by `j²`. -/ | |
| 946 | -theorem energy_bound (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 947 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 948 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) | |
| 949 | - (i : ι) (hn : LargeBand h M u (a.band i)) {q : Slow} (hq : q ∈ D.carrier i) | |
| 950 | - {v : ℝ} (hv : v ∈ a.slot i) {j : ℤ} (hj : j ≠ 0) (w : Plane) : | |
| 951 | - ⟪w, (a.frame i).coefficient j (q, v) w⟫_ℝ ≤ | |
| 952 | - (ViscousPropagator.referenceEigenvalue (a.lam i) u (a.length i) v - | |
| 953 | - ViscousPropagator.referenceViscosity (a.lam i) u (a.length i) v + | |
| 954 | - (dampingConstant M + 4 * modalConstant M u) / D.scale i) * ‖w‖ ^ 2 := by | |
| 955 | - have hν : 0 ≤ (a.frame i).viscosity (q, v) := by | |
| 956 | - change 0 ≤ a.viscosity i * ‖a.phase.normal i (q, v)‖ ^ 2 | |
| 957 | - exact mul_nonneg (zero_le_one.trans (ChartScales.carrier_viscosity_bounds h hh (a.band i)).1) | |
| 958 | - (sq_nonneg _) | |
| 959 | - have hl : 0 ≤ (a.frame i).eigenvalue (q, v) := by | |
| 960 | - change 0 ≤ a.lam i / Real.sqrt (1 + PulseGrowth.slotMagnitude u (a.length i) v ^ 2) | |
| 961 | - exact div_nonneg (a.lambda_pos hM i).le (Real.sqrt_nonneg _) | |
| 962 | - have hd := a.damping_error hh hr hM hu huM hL hslot i hn hq hv | |
| 963 | - apply (a.frame i).energy_bound (q, v) hj hl hν | |
| 964 | - · linarith [(abs_le.mp hd).1] | |
| 965 | - · exact a.modal_errors hh hr hM hu huM hL hslot i hn hq hv | |
| 966 | - | |
| 967 | 927 | noncomputable def outputBound (M : ℝ) : ℝ := frequencyBound M + 3 * M + M ^ 2 + 4 |
| 968 | 928 | noncomputable def outputLower (M u : ℝ) : ℝ := min (normalLower M u / 2) (1 / M) |
| 969 | 929 | |
| @@ -1059,11 +1019,6 @@ noncomputable def construction (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1059 | 1019 | dampingConstant M / D.scale i ≤ (a.frame i).viscosity (q, v) |
| 1060 | 1020 | linarith [(abs_le.mp hd).1] |
| 1061 | 1021 | |
| 1062 | -theorem construction_frame (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1063 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1064 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1065 | - (a.construction hh hr hM hu huM hL hslot hlarge).frame = a.frame := rfl | |
| 1066 | - | |
| 1067 | 1022 | /-- Every fixed derivative of the actual coefficient is controlled after |
| 1068 | 1023 | the derived zeroth-order geometry is inserted. -/ |
| 1069 | 1024 | theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| @@ -1076,15 +1031,6 @@ theorem frame_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | ||
| 1076 | 1031 | p.constants p.epsilon_ne p.radius p.slot p.lam_bound p.c0_bound p.u_bound p.rate_bound |
| 1077 | 1032 | p.viscosity_bound p.B_bound p.K_unit p.slope_bound p.error_small p.normal_close |
| 1078 | 1033 | |
| 1079 | -theorem pulse_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) | |
| 1080 | - (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) | |
| 1081 | - (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) : | |
| 1082 | - PrimaryPulseBounds.EnvelopeJets | |
| 1083 | - (PrimaryPulseBounds.productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) | |
| 1084 | - (fun i z => PrimaryPulseBounds.referenceP (a.lam i) u (a.length i) (a.length i * z.2)) | |
| 1085 | - (fun i => PrimaryPulseBounds.normalizedPulse (a.frame i) (a.lam i) u (a.length i)) := | |
| 1086 | - (a.construction hh hr hM hu huM hL hslot hlarge).pulse_jets | |
| 1087 | - | |
| 1088 | 1034 | theorem coefficient_jets (hh : 0 ≤ h) (hr : 0 < r0) (hM : 1 ≤ M) |
| 1089 | 1035 | (hu : 0 < u) (huM : u ≤ M) (hL : 1 / (2 * r0) ≤ M) |
| 1090 | 1036 | (hslot : 4 * r0 * ChartScales.Tg ≤ M) (hlarge : ∀ i, LargeBand h M u (a.band i)) (j : ℤ) : |
| @@ -1107,59 +1053,6 @@ theorem normal_inner_shear {g : Plane} (hg : g ≠ 0) : | ||
| 1107 | 1053 | rw [real_inner_smul_right, real_inner_self_eq_norm_sq, normalDirection_unit hg] |
| 1108 | 1054 | ring |
| 1109 | 1055 | |
| 1110 | -/-- A compact fixed reference profile chooses every uniform constant | |
| 1111 | -before the band threshold. `A` may include all prescribed base-chart, | |
| 1112 | -derivative, and radial-annulus constants. -/ | |
| 1113 | -theorem ordered_constants {K : Set Slow} (hK : IsCompact K) | |
| 1114 | - {F0 G0 : Slow → ℝ} | |
| 1115 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1116 | - (hR : ∀ q ∈ K, 0 < q.1) | |
| 1117 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1118 | - (h r0 u A T : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1119 | - ∃ M : ℝ, 1 ≤ M ∧ A ≤ M ∧ |u| ≤ M ∧ 1 / (2 * r0) ≤ M ∧ | |
| 1120 | - 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1121 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1122 | - ∃ N ≥ N0, ∀ n ≥ N, LargeBand h M u n ∧ T ≤ ChartScales.S n := by | |
| 1123 | - obtain ⟨M0, hM0, hp⟩ := compact_parameter_bounds hK hF hg hR hc | |
| 1124 | - let M := max M0 (max A (max |u| (max (1 / (2 * r0)) (4 * r0 * ChartScales.Tg)))) | |
| 1125 | - have h0 : M0 ≤ M := le_max_left _ _ | |
| 1126 | - have hM : 1 ≤ M := hM0.trans h0 | |
| 1127 | - refine ⟨M, hM, (le_max_left _ _).trans (le_max_right _ _), | |
| 1128 | - (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _)), | |
| 1129 | - (le_max_left _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1130 | - (le_max_right _ _).trans ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))), | |
| 1131 | - fun q hq => (hp q hq).mono h0, ?_⟩ | |
| 1132 | - exact exists_large_band h M u T hh hM N0 | |
| 1133 | - | |
| 1134 | -/-- One target-cone choice, one compact parameter constant, and then one | |
| 1135 | -band threshold. Both the mixed-point target margin and all analytic | |
| 1136 | -phase estimates hold after that same threshold. -/ | |
| 1137 | -theorem ordered_target_constants {K : Set Slow} (hK : IsCompact K) | |
| 1138 | - {F0 G0 : Slow → ℝ} {T0 : Slow → Plane} | |
| 1139 | - (hF : ContinuousOn F0 K) (hg : ContinuousOn (PhaseEstimates.shearVector F0 G0) K) | |
| 1140 | - (hT : ContinuousOn T0 K) (hR : ∀ q ∈ K, 0 < q.1) | |
| 1141 | - (hc : ∀ q ∈ K, ReferenceCone (F0 q) (PhaseEstimates.shearVector F0 G0 q)) | |
| 1142 | - (ht : ∀ q ∈ K, TargetCone (F0 q) (PhaseEstimates.shearVector F0 G0 q) (T0 q)) | |
| 1143 | - (h r0 A Tmin : ℝ) (hh : 0 < h) (N0 : ℕ) : | |
| 1144 | - ∃ u η M : ℝ, 0 < u ∧ 0 < η ∧ 1 ≤ M ∧ A ≤ M ∧ u ≤ M ∧ | |
| 1145 | - 1 / (2 * r0) ≤ M ∧ 4 * r0 * ChartScales.Tg ≤ M ∧ | |
| 1146 | - (∀ q ∈ K, ParameterBounds M q.1 (F0 q) (PhaseEstimates.shearVector F0 G0 q)) ∧ | |
| 1147 | - ∃ N ≥ N0, (∀ n ≥ N, LargeBand h M u n ∧ Tmin ≤ ChartScales.S n) ∧ | |
| 1148 | - ∀ L : ActiveLabel K, N ≤ L.val.1 → ∀ q ∈ K, q ∈ gridBox L.val.1 L.val.2 2 → | |
| 1149 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ ≤ -η ∧ | |
| 1150 | - |c0 (F0 (representative K L)) (PhaseEstimates.shearVector F0 G0 (representative K L)) * | |
| 1151 | - ⟪T0 q, transverseDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ / | |
| 1152 | - ⟪T0 q, normalDirection (PhaseEstimates.shearVector F0 G0 (representative K L))⟫_ℝ| + η ≤ | |
| 1153 | - slopeRatio u := by | |
| 1154 | - obtain ⟨u, η, hu, hη, N1, htarget⟩ := representative_target_margin hK hF hg hT hc ht | |
| 1155 | - obtain ⟨M, hM, hA, huM, hL, hslot, hp, N, hN, hlarge⟩ := | |
| 1156 | - ordered_constants hK hF hg hR hc h r0 u A Tmin hh (max N0 N1) | |
| 1157 | - refine ⟨u, η, M, hu, hη, hM, hA, ?_, hL, hslot, hp, N, | |
| 1158 | - (le_max_left _ _).trans hN, hlarge, ?_⟩ | |
| 1159 | - · simpa only [abs_of_pos hu] using huM | |
| 1160 | - · intro L hLN q hq hbox | |
| 1161 | - exact htarget L ((le_max_right _ _).trans (hN.trans hLN)) q hq hbox | |
| 1162 | - | |
| 1163 | 1056 | /-- The actual selected mesh representatives and their derived compact |
| 1164 | 1057 | eigenpairs instantiate the analytic phase data. In particular, neither |
| 1165 | 1058 | representative closeness nor eigenpair bounds are fields of the resulting |