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

refactor(Euler/Transverse): 41 small modules folded into the file that imports them (−13.7%, measured) #715
Merged
+181 −1 Euler/TransverseActivationSelection.lean View file
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | import Euler.TransverseEndpointVelocity |
| 2 | -import Euler.TransverseActivationTrial | |
| 2 | +import Euler.MovingNormalProjection | |
| 3 | +import Euler.TerminalProjectionTrial | |
| 3 | 4 | |
| 4 | 5 | /-! |
| 5 | 6 | Source (26) for the actual stationary transverse solution. The endpoint |
| @@ -8,6 +9,185 @@ derived from the explicit moving-projection trial. The selected velocity is | ||
| 8 | 9 | the genuine derivative η_t minus Mη, not a separately prescribed matrix output. |
| 9 | 10 | -/ |
| 10 | 11 | |
| 12 | +/-! ## From `Euler/TransverseActivationTrial.lean` | |
| 13 | + | |
| 14 | +The text of `Euler/TransverseActivationTrial.lean`, folded into this file, which was its only importer. -/ | |
| 15 | + | |
| 16 | +section | |
| 17 | + | |
| 18 | +/-! | |
| 19 | +The explicit activation trial and its endpoint-energy bound. The trial uses | |
| 20 | +the actual moving normal, not a deformation-frame condition number. A layer | |
| 21 | +of width `1/h` gives `‖Λ‖ ≤ (4 + 64 CM² + 2 CH) h` under the source's low | |
| 22 | +history bounds. | |
| 23 | +-/ | |
| 24 | + | |
| 25 | +noncomputable section | |
| 26 | + | |
| 27 | + | |
| 28 | +namespace EulerTransverseActivationTrial | |
| 29 | + | |
| 30 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 31 | + EulerTimeLp EulerInitialTimePrimitive EulerVolterraConvolution | |
| 32 | + EulerTerminalProjectionTrial EulerTerminalLayerRamp | |
| 33 | + EulerMovingNormalProjection EulerTransverseEndpointEnergy | |
| 34 | + | |
| 35 | +variable {E U : Type*} | |
| 36 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] | |
| 37 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 38 | + | |
| 39 | +private local instance : NormedAddCommGroup (E →L[ℝ] E) := inferInstance | |
| 40 | +private local instance : NormedSpace ℝ (E →L[ℝ] E) := inferInstance | |
| 41 | +private local instance : AddCommGroup (E →L[ℝ] E) := | |
| 42 | + (inferInstance : NormedAddCommGroup (E →L[ℝ] E)).toAddCommGroup | |
| 43 | +private local instance : Module ℝ (E →L[ℝ] E) := | |
| 44 | + (inferInstance : NormedSpace ℝ (E →L[ℝ] E)).toModule | |
| 45 | +private local instance : TopologicalSpace (E →L[ℝ] E) := | |
| 46 | + (inferInstance : PseudoMetricSpace (E →L[ℝ] E)).toUniformSpace.toTopologicalSpace | |
| 47 | +private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance | |
| 48 | +private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance | |
| 49 | +private local instance : AddCommGroup (U →L[ℝ] E) := | |
| 50 | + (inferInstance : NormedAddCommGroup (U →L[ℝ] E)).toAddCommGroup | |
| 51 | +private local instance : Module ℝ (U →L[ℝ] E) := | |
| 52 | + (inferInstance : NormedSpace ℝ (U →L[ℝ] E)).toModule | |
| 53 | +private local instance : TopologicalSpace (U →L[ℝ] E) := | |
| 54 | + (inferInstance : PseudoMetricSpace (U →L[ℝ] E)).toUniformSpace.toTopologicalSpace | |
| 55 | + | |
| 56 | +variable (T : ℝ) (hT : 0 ≤ T) (m m₁ : C(Icc (0 : ℝ) T, E)) | |
| 57 | + (hne : ∀ t, m t ≠ 0) (R : U →L[ℝ] E) | |
| 58 | + | |
| 59 | +def projectionPath : C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 60 | + ⟨fun t => (normalProjection (m t)).comp R, | |
| 61 | + (normalProjection_continuous m.continuous hne).clm_comp continuous_const⟩ | |
| 62 | + | |
| 63 | +def projectionDerivativePath : C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 64 | + ⟨fun t => (normalProjectionDerivative (m t) (m₁ t)).comp R, | |
| 65 | + (normalProjectionDerivative_continuous m.continuous m₁.continuous hne).clm_comp continuous_const⟩ | |
| 66 | + | |
| 67 | +variable (hd : ∀ t : Icc (0 : ℝ) T, | |
| 68 | + HasDerivWithinAt (extendPath T hT m) (m₁ t) (Icc (0 : ℝ) T) t) | |
| 69 | + | |
| 70 | +include hd in | |
| 71 | +theorem projectionPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | |
| 72 | + HasDerivWithinAt (extendPath T hT (projectionPath T m hne R)) | |
| 73 | + (projectionDerivativePath T m m₁ hne R t) (Icc (0 : ℝ) T) t := by | |
| 74 | + have hm : extendPath T hT m t ≠ 0 := by | |
| 75 | + simpa only [extendPath, projIcc_of_mem hT t.property] using hne t | |
| 76 | + have hp := normalProjection_hasDerivWithinAt (hd t) hm | |
| 77 | + have hc := hp.clm_comp (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) R) | |
| 78 | + convert! hc using 1 | |
| 79 | + simp only [projectionDerivativePath, ContinuousMap.coe_mk, | |
| 80 | + extendPath, projIcc_of_mem hT t.property, comp_zero, add_zero] | |
| 81 | + | |
| 82 | +theorem projectionPath_norm_le (hR : ‖R‖ ≤ 1) (t : Icc (0 : ℝ) T) : | |
| 83 | + ‖projectionPath T m hne R t‖ ≤ 1 := by | |
| 84 | + calc | |
| 85 | + ‖projectionPath T m hne R t‖ ≤ ‖normalProjection (m t)‖ * ‖R‖ := opNorm_comp_le _ _ | |
| 86 | + _ ≤ 1 * 1 := mul_le_mul (normalProjection_norm_le (m t) (hne t)) hR | |
| 87 | + (norm_nonneg R) (by norm_num) | |
| 88 | + _ = 1 := one_mul 1 | |
| 89 | + | |
| 90 | +variable [CompleteSpace E] | |
| 91 | + | |
| 92 | +theorem projectionDerivativePath_norm_le (hR : ‖R‖ ≤ 1) | |
| 93 | + (M : Icc (0 : ℝ) T → E →L[ℝ] E) | |
| 94 | + (hRay : ∀ t, m₁ t = -(M t).adjoint (m t)) | |
| 95 | + (B : ℝ) (_hB : 0 ≤ B) (hM : ∀ t, ‖M t‖ ≤ B) (t : Icc (0 : ℝ) T) : | |
| 96 | + ‖projectionDerivativePath T m m₁ hne R t‖ ≤ 4 * B := by | |
| 97 | + calc | |
| 98 | + ‖projectionDerivativePath T m m₁ hne R t‖ ≤ | |
| 99 | + ‖normalProjectionDerivative (m t) (m₁ t)‖ * ‖R‖ := opNorm_comp_le _ _ | |
| 100 | + _ ≤ (4 * ‖M t‖) * 1 := by | |
| 101 | + apply mul_le_mul _ hR (norm_nonneg R) (by positivity) | |
| 102 | + rw [hRay] | |
| 103 | + exact normalProjectionDerivative_ray_bound (m t) (hne t) (M t) | |
| 104 | + _ ≤ 4 * B := by nlinarith only [hM t] | |
| 105 | + | |
| 106 | +/-- The actual derivative of the explicit terminal-layer displacement. -/ | |
| 107 | +def activationTrial (h : ℝ) : U →L[ℝ] TimeLp T E := | |
| 108 | + trialDerivative T hT h (projectionPath T m hne R) (projectionDerivativePath T m m₁ hne R) | |
| 109 | + | |
| 110 | +include hd in | |
| 111 | +theorem activationTrial_primitive (h : ℝ) (Y : U) (t : Icc (0 : ℝ) T) : | |
| 112 | + initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) t = | |
| 113 | + ramp T h t • normalProjection (m t) (R Y) := | |
| 114 | + initialPrimitive_trialDerivative T hT h (projectionPath T m hne R) | |
| 115 | + (projectionDerivativePath T m m₁ hne R) | |
| 116 | + (projectionPath_hasDerivWithinAt T hT m m₁ hne R hd) Y t | |
| 117 | + | |
| 118 | +include hd in | |
| 119 | +theorem activationTrial_tangent (h : ℝ) (Y : U) (t : Icc (0 : ℝ) T) : | |
| 120 | + ⟪m t, initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) t⟫_ℝ = 0 := by | |
| 121 | + rw [activationTrial_primitive T hT m m₁ hne R hd, real_inner_smul_right, | |
| 122 | + normalProjection_tangent (m t) (hne t), mul_zero] | |
| 123 | + | |
| 124 | +include hd in | |
| 125 | +theorem activationTrial_terminal (h : ℝ) (hLayer : 1 ≤ h * T) | |
| 126 | + (hR : ∀ Y, ⟪m ⟨T, hT, le_rfl⟩, R Y⟫_ℝ = 0) (Y : U) : | |
| 127 | + initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) ⟨T, hT, le_rfl⟩ = R Y := by | |
| 128 | + rw [activationTrial_primitive T hT m m₁ hne R hd, ramp_terminal hLayer, | |
| 129 | + one_smul, normalProjection_fixed _ _ (hR Y)] | |
| 130 | + | |
| 131 | +omit [CompleteSpace E] in | |
| 132 | +theorem potential_abs_bound (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (u : TimeLp T E) : | |
| 133 | + |⟪timeMultiplier T hT H u, u⟫_ℝ| ≤ ‖H‖ * ‖u‖ ^ 2 := by | |
| 134 | + calc | |
| 135 | + |⟪timeMultiplier T hT H u, u⟫_ℝ| ≤ ‖timeMultiplier T hT H u‖ * ‖u‖ := | |
| 136 | + abs_real_inner_le_norm _ _ | |
| 137 | + _ ≤ (‖H‖ * ‖u‖) * ‖u‖ := | |
| 138 | + mul_le_mul_of_nonneg_right (timeApply_bound T hT H u) (norm_nonneg u) | |
| 139 | + _ = _ := by ring | |
| 140 | + | |
| 141 | +variable [CompleteSpace U] | |
| 142 | + | |
| 143 | +include hd in | |
| 144 | +/-- All input bounds concern the parent coefficients and the actual ray. The | |
| 145 | +endpoint operator and its `O(h)` norm are constructed conclusions. -/ | |
| 146 | +theorem activation_endpoint_norm | |
| 147 | + (h : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h * T) | |
| 148 | + (hR : ‖R‖ ≤ 1) (CM CH : ℝ) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) | |
| 149 | + (M : Icc (0 : ℝ) T → E →L[ℝ] E) | |
| 150 | + (hRay : ∀ t, m₁ t = -(M t).adjoint (m t)) (hM : ∀ t, ‖M t‖ ≤ CM * h) | |
| 151 | + (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (hHs : ∀ t, (H t).IsSymmetric) | |
| 152 | + (hHnorm : ‖H‖ ≤ CH * h ^ 2) | |
| 153 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 154 | + (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) : | |
| 155 | + ‖dirichletToNeumann T hT (fun t => m t) H K hK hH hsmall | |
| 156 | + (activationTrial T hT m m₁ hne R h)‖ ≤ (4 + 64 * CM ^ 2 + 2 * CH) * h := by | |
| 157 | + apply dirichletToNeumann_norm_le T hT (fun t => m t) H K hK hH hsmall hHs | |
| 158 | + (activationTrial T hT m m₁ hne R h) ((4 + 64 * CM ^ 2 + 2 * CH) * h) (by positivity) | |
| 159 | + intro Y | |
| 160 | + have hproj := projectionPath_norm_le T m hne R hR | |
| 161 | + have hproj₁ := projectionDerivativePath_norm_le T m m₁ hne R hR M hRay | |
| 162 | + (CM * h) (by positivity) hM | |
| 163 | + have hD := trialDerivative_norm_sq_le T hT h (projectionPath T m hne R) | |
| 164 | + (projectionDerivativePath T m m₁ hne R) hh hLayer | |
| 165 | + (4 * (CM * h)) (by positivity) hproj hproj₁ Y | |
| 166 | + have hη := trialDisplacement_norm_sq_le T hT h (projectionPath T m hne R) | |
| 167 | + (projectionDerivativePath T m m₁ hne R) | |
| 168 | + (projectionPath_hasDerivWithinAt T hT m m₁ hne R hd) hh hLayer hproj Y | |
| 169 | + change ‖activationTrial T hT m m₁ hne R h Y‖ ^ 2 ≤ | |
| 170 | + (4 * h + 4 * (4 * (CM * h)) ^ 2 / h) * ‖Y‖ ^ 2 at hD | |
| 171 | + change ‖initialPrimitiveTimeLp T hT (activationTrial T hT m m₁ hne R h Y)‖ ^ 2 ≤ | |
| 172 | + (2 / h) * ‖Y‖ ^ 2 at hη | |
| 173 | + let u := activationTrial T hT m m₁ hne R h Y | |
| 174 | + let η := initialPrimitiveTimeLp T hT u | |
| 175 | + have hp : -⟪timeMultiplier T hT H η, η⟫_ℝ ≤ CH * h ^ 2 * ‖η‖ ^ 2 := by | |
| 176 | + exact (neg_le_abs _).trans ((potential_abs_bound T hT H η).trans | |
| 177 | + (mul_le_mul_of_nonneg_right hHnorm (sq_nonneg _))) | |
| 178 | + change ‖u‖ ^ 2 - ⟪timeMultiplier T hT H η, η⟫_ℝ ≤ _ | |
| 179 | + calc | |
| 180 | + ‖u‖ ^ 2 - ⟪timeMultiplier T hT H η, η⟫_ℝ ≤ ‖u‖ ^ 2 + CH * h ^ 2 * ‖η‖ ^ 2 := by linarith only [hp] | |
| 181 | + _ ≤ (4 * h + 4 * (4 * (CM * h)) ^ 2 / h) * ‖Y‖ ^ 2 + | |
| 182 | + CH * h ^ 2 * ((2 / h) * ‖Y‖ ^ 2) := | |
| 183 | + add_le_add hD (mul_le_mul_of_nonneg_left hη (by positivity)) | |
| 184 | + _ = (4 + 64 * CM ^ 2 + 2 * CH) * h * ‖Y‖ ^ 2 := by field_simp; ring | |
| 185 | + | |
| 186 | +end EulerTransverseActivationTrial | |
| 187 | +end | |
| 188 | + | |
| 189 | +end | |
| 190 | + | |
| 11 | 191 | noncomputable section |
| 12 | 192 | |
| 13 | 193 | |
+0 −172 Euler/TransverseActivationTrial.lean deleted
| @@ -1,172 +0,0 @@ | ||
| 1 | -import Euler.MovingNormalProjection | |
| 2 | -import Euler.TerminalProjectionTrial | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -The explicit activation trial and its endpoint-energy bound. The trial uses | |
| 6 | -the actual moving normal, not a deformation-frame condition number. A layer | |
| 7 | -of width `1/h` gives `‖Λ‖ ≤ (4 + 64 CM² + 2 CH) h` under the source's low | |
| 8 | -history bounds. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | - | |
| 14 | -namespace EulerTransverseActivationTrial | |
| 15 | - | |
| 16 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 17 | - EulerTimeLp EulerInitialTimePrimitive EulerVolterraConvolution | |
| 18 | - EulerTerminalProjectionTrial EulerTerminalLayerRamp | |
| 19 | - EulerMovingNormalProjection EulerTransverseEndpointEnergy | |
| 20 | - | |
| 21 | -variable {E U : Type*} | |
| 22 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] | |
| 23 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 24 | - | |
| 25 | -private local instance : NormedAddCommGroup (E →L[ℝ] E) := inferInstance | |
| 26 | -private local instance : NormedSpace ℝ (E →L[ℝ] E) := inferInstance | |
| 27 | -private local instance : AddCommGroup (E →L[ℝ] E) := | |
| 28 | - (inferInstance : NormedAddCommGroup (E →L[ℝ] E)).toAddCommGroup | |
| 29 | -private local instance : Module ℝ (E →L[ℝ] E) := | |
| 30 | - (inferInstance : NormedSpace ℝ (E →L[ℝ] E)).toModule | |
| 31 | -private local instance : TopologicalSpace (E →L[ℝ] E) := | |
| 32 | - (inferInstance : PseudoMetricSpace (E →L[ℝ] E)).toUniformSpace.toTopologicalSpace | |
| 33 | -private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance | |
| 34 | -private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance | |
| 35 | -private local instance : AddCommGroup (U →L[ℝ] E) := | |
| 36 | - (inferInstance : NormedAddCommGroup (U →L[ℝ] E)).toAddCommGroup | |
| 37 | -private local instance : Module ℝ (U →L[ℝ] E) := | |
| 38 | - (inferInstance : NormedSpace ℝ (U →L[ℝ] E)).toModule | |
| 39 | -private local instance : TopologicalSpace (U →L[ℝ] E) := | |
| 40 | - (inferInstance : PseudoMetricSpace (U →L[ℝ] E)).toUniformSpace.toTopologicalSpace | |
| 41 | - | |
| 42 | -variable (T : ℝ) (hT : 0 ≤ T) (m m₁ : C(Icc (0 : ℝ) T, E)) | |
| 43 | - (hne : ∀ t, m t ≠ 0) (R : U →L[ℝ] E) | |
| 44 | - | |
| 45 | -def projectionPath : C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 46 | - ⟨fun t => (normalProjection (m t)).comp R, | |
| 47 | - (normalProjection_continuous m.continuous hne).clm_comp continuous_const⟩ | |
| 48 | - | |
| 49 | -def projectionDerivativePath : C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 50 | - ⟨fun t => (normalProjectionDerivative (m t) (m₁ t)).comp R, | |
| 51 | - (normalProjectionDerivative_continuous m.continuous m₁.continuous hne).clm_comp continuous_const⟩ | |
| 52 | - | |
| 53 | -variable (hd : ∀ t : Icc (0 : ℝ) T, | |
| 54 | - HasDerivWithinAt (extendPath T hT m) (m₁ t) (Icc (0 : ℝ) T) t) | |
| 55 | - | |
| 56 | -include hd in | |
| 57 | -theorem projectionPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | |
| 58 | - HasDerivWithinAt (extendPath T hT (projectionPath T m hne R)) | |
| 59 | - (projectionDerivativePath T m m₁ hne R t) (Icc (0 : ℝ) T) t := by | |
| 60 | - have hm : extendPath T hT m t ≠ 0 := by | |
| 61 | - simpa only [extendPath, projIcc_of_mem hT t.property] using hne t | |
| 62 | - have hp := normalProjection_hasDerivWithinAt (hd t) hm | |
| 63 | - have hc := hp.clm_comp (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) R) | |
| 64 | - convert! hc using 1 | |
| 65 | - simp only [projectionDerivativePath, ContinuousMap.coe_mk, | |
| 66 | - extendPath, projIcc_of_mem hT t.property, comp_zero, add_zero] | |
| 67 | - | |
| 68 | -theorem projectionPath_norm_le (hR : ‖R‖ ≤ 1) (t : Icc (0 : ℝ) T) : | |
| 69 | - ‖projectionPath T m hne R t‖ ≤ 1 := by | |
| 70 | - calc | |
| 71 | - ‖projectionPath T m hne R t‖ ≤ ‖normalProjection (m t)‖ * ‖R‖ := opNorm_comp_le _ _ | |
| 72 | - _ ≤ 1 * 1 := mul_le_mul (normalProjection_norm_le (m t) (hne t)) hR | |
| 73 | - (norm_nonneg R) (by norm_num) | |
| 74 | - _ = 1 := one_mul 1 | |
| 75 | - | |
| 76 | -variable [CompleteSpace E] | |
| 77 | - | |
| 78 | -theorem projectionDerivativePath_norm_le (hR : ‖R‖ ≤ 1) | |
| 79 | - (M : Icc (0 : ℝ) T → E →L[ℝ] E) | |
| 80 | - (hRay : ∀ t, m₁ t = -(M t).adjoint (m t)) | |
| 81 | - (B : ℝ) (_hB : 0 ≤ B) (hM : ∀ t, ‖M t‖ ≤ B) (t : Icc (0 : ℝ) T) : | |
| 82 | - ‖projectionDerivativePath T m m₁ hne R t‖ ≤ 4 * B := by | |
| 83 | - calc | |
| 84 | - ‖projectionDerivativePath T m m₁ hne R t‖ ≤ | |
| 85 | - ‖normalProjectionDerivative (m t) (m₁ t)‖ * ‖R‖ := opNorm_comp_le _ _ | |
| 86 | - _ ≤ (4 * ‖M t‖) * 1 := by | |
| 87 | - apply mul_le_mul _ hR (norm_nonneg R) (by positivity) | |
| 88 | - rw [hRay] | |
| 89 | - exact normalProjectionDerivative_ray_bound (m t) (hne t) (M t) | |
| 90 | - _ ≤ 4 * B := by nlinarith only [hM t] | |
| 91 | - | |
| 92 | -/-- The actual derivative of the explicit terminal-layer displacement. -/ | |
| 93 | -def activationTrial (h : ℝ) : U →L[ℝ] TimeLp T E := | |
| 94 | - trialDerivative T hT h (projectionPath T m hne R) (projectionDerivativePath T m m₁ hne R) | |
| 95 | - | |
| 96 | -include hd in | |
| 97 | -theorem activationTrial_primitive (h : ℝ) (Y : U) (t : Icc (0 : ℝ) T) : | |
| 98 | - initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) t = | |
| 99 | - ramp T h t • normalProjection (m t) (R Y) := | |
| 100 | - initialPrimitive_trialDerivative T hT h (projectionPath T m hne R) | |
| 101 | - (projectionDerivativePath T m m₁ hne R) | |
| 102 | - (projectionPath_hasDerivWithinAt T hT m m₁ hne R hd) Y t | |
| 103 | - | |
| 104 | -include hd in | |
| 105 | -theorem activationTrial_tangent (h : ℝ) (Y : U) (t : Icc (0 : ℝ) T) : | |
| 106 | - ⟪m t, initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) t⟫_ℝ = 0 := by | |
| 107 | - rw [activationTrial_primitive T hT m m₁ hne R hd, real_inner_smul_right, | |
| 108 | - normalProjection_tangent (m t) (hne t), mul_zero] | |
| 109 | - | |
| 110 | -include hd in | |
| 111 | -theorem activationTrial_terminal (h : ℝ) (hLayer : 1 ≤ h * T) | |
| 112 | - (hR : ∀ Y, ⟪m ⟨T, hT, le_rfl⟩, R Y⟫_ℝ = 0) (Y : U) : | |
| 113 | - initialPrimitive T hT (activationTrial T hT m m₁ hne R h Y) ⟨T, hT, le_rfl⟩ = R Y := by | |
| 114 | - rw [activationTrial_primitive T hT m m₁ hne R hd, ramp_terminal hLayer, | |
| 115 | - one_smul, normalProjection_fixed _ _ (hR Y)] | |
| 116 | - | |
| 117 | -omit [CompleteSpace E] in | |
| 118 | -theorem potential_abs_bound (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (u : TimeLp T E) : | |
| 119 | - |⟪timeMultiplier T hT H u, u⟫_ℝ| ≤ ‖H‖ * ‖u‖ ^ 2 := by | |
| 120 | - calc | |
| 121 | - |⟪timeMultiplier T hT H u, u⟫_ℝ| ≤ ‖timeMultiplier T hT H u‖ * ‖u‖ := | |
| 122 | - abs_real_inner_le_norm _ _ | |
| 123 | - _ ≤ (‖H‖ * ‖u‖) * ‖u‖ := | |
| 124 | - mul_le_mul_of_nonneg_right (timeApply_bound T hT H u) (norm_nonneg u) | |
| 125 | - _ = _ := by ring | |
| 126 | - | |
| 127 | -variable [CompleteSpace U] | |
| 128 | - | |
| 129 | -include hd in | |
| 130 | -/-- All input bounds concern the parent coefficients and the actual ray. The | |
| 131 | -endpoint operator and its `O(h)` norm are constructed conclusions. -/ | |
| 132 | -theorem activation_endpoint_norm | |
| 133 | - (h : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h * T) | |
| 134 | - (hR : ‖R‖ ≤ 1) (CM CH : ℝ) (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) | |
| 135 | - (M : Icc (0 : ℝ) T → E →L[ℝ] E) | |
| 136 | - (hRay : ∀ t, m₁ t = -(M t).adjoint (m t)) (hM : ∀ t, ‖M t‖ ≤ CM * h) | |
| 137 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (hHs : ∀ t, (H t).IsSymmetric) | |
| 138 | - (hHnorm : ‖H‖ ≤ CH * h ^ 2) | |
| 139 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 140 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) : | |
| 141 | - ‖dirichletToNeumann T hT (fun t => m t) H K hK hH hsmall | |
| 142 | - (activationTrial T hT m m₁ hne R h)‖ ≤ (4 + 64 * CM ^ 2 + 2 * CH) * h := by | |
| 143 | - apply dirichletToNeumann_norm_le T hT (fun t => m t) H K hK hH hsmall hHs | |
| 144 | - (activationTrial T hT m m₁ hne R h) ((4 + 64 * CM ^ 2 + 2 * CH) * h) (by positivity) | |
| 145 | - intro Y | |
| 146 | - have hproj := projectionPath_norm_le T m hne R hR | |
| 147 | - have hproj₁ := projectionDerivativePath_norm_le T m m₁ hne R hR M hRay | |
| 148 | - (CM * h) (by positivity) hM | |
| 149 | - have hD := trialDerivative_norm_sq_le T hT h (projectionPath T m hne R) | |
| 150 | - (projectionDerivativePath T m m₁ hne R) hh hLayer | |
| 151 | - (4 * (CM * h)) (by positivity) hproj hproj₁ Y | |
| 152 | - have hη := trialDisplacement_norm_sq_le T hT h (projectionPath T m hne R) | |
| 153 | - (projectionDerivativePath T m m₁ hne R) | |
| 154 | - (projectionPath_hasDerivWithinAt T hT m m₁ hne R hd) hh hLayer hproj Y | |
| 155 | - change ‖activationTrial T hT m m₁ hne R h Y‖ ^ 2 ≤ | |
| 156 | - (4 * h + 4 * (4 * (CM * h)) ^ 2 / h) * ‖Y‖ ^ 2 at hD | |
| 157 | - change ‖initialPrimitiveTimeLp T hT (activationTrial T hT m m₁ hne R h Y)‖ ^ 2 ≤ | |
| 158 | - (2 / h) * ‖Y‖ ^ 2 at hη | |
| 159 | - let u := activationTrial T hT m m₁ hne R h Y | |
| 160 | - let η := initialPrimitiveTimeLp T hT u | |
| 161 | - have hp : -⟪timeMultiplier T hT H η, η⟫_ℝ ≤ CH * h ^ 2 * ‖η‖ ^ 2 := by | |
| 162 | - exact (neg_le_abs _).trans ((potential_abs_bound T hT H η).trans | |
| 163 | - (mul_le_mul_of_nonneg_right hHnorm (sq_nonneg _))) | |
| 164 | - change ‖u‖ ^ 2 - ⟪timeMultiplier T hT H η, η⟫_ℝ ≤ _ | |
| 165 | - calc | |
| 166 | - ‖u‖ ^ 2 - ⟪timeMultiplier T hT H η, η⟫_ℝ ≤ ‖u‖ ^ 2 + CH * h ^ 2 * ‖η‖ ^ 2 := by linarith only [hp] | |
| 167 | - _ ≤ (4 * h + 4 * (4 * (CM * h)) ^ 2 / h) * ‖Y‖ ^ 2 + | |
| 168 | - CH * h ^ 2 * ((2 / h) * ‖Y‖ ^ 2) := | |
| 169 | - add_le_add hD (mul_le_mul_of_nonneg_left hη (by positivity)) | |
| 170 | - _ = (4 + 64 * CM ^ 2 + 2 * CH) * h * ‖Y‖ ^ 2 := by field_simp; ring | |
| 171 | - | |
| 172 | -end EulerTransverseActivationTrial | |
+0 −88 Euler/TransverseBoundedFrame.lean deleted
| @@ -1,88 +0,0 @@ | ||
| 1 | -import Euler.SmoothCoefficientPathMap | |
| 2 | -import Euler.TransverseSourceCoefficientPath | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# The literal source frame as a uniformly smooth bounded coefficient path | |
| 6 | - | |
| 7 | -The reference-plane restriction is a fixed linear contraction. The actual | |
| 8 | -source fields F and F_t therefore construct the full bounded frame fields, | |
| 9 | -with their genuine jets and time derivative. A pointwise bound on F⁻¹ proves | |
| 10 | -the uniform frame coercivity used by the constructed Gram inverse. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerTransverseBoundedFrame | |
| 16 | - | |
| 17 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 18 | - EulerTransverseFrameCoordinates EulerTransverseSourceFrame EulerTransverseSourceCoefficientPath | |
| 19 | - EulerVolterraConvolution | |
| 20 | -open scoped BoundedContinuousFunction ContDiff | |
| 21 | - | |
| 22 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 23 | - (m₀ : Space) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 24 | - | |
| 25 | -/-- Restricting a matrix to the orthonormal reference plane is a contraction. -/ | |
| 26 | -theorem restriction_norm : ‖referenceRestriction m₀ R‖ ≤ 1 := by | |
| 27 | - apply opNorm_le_bound _ zero_le_one | |
| 28 | - intro A | |
| 29 | - change ‖A.comp (referenceEmbedding m₀ R)‖ ≤ 1*‖A‖ | |
| 30 | - exact (opNorm_comp_le A (referenceEmbedding m₀ R)).trans | |
| 31 | - (by simpa only [mul_one,one_mul] using | |
| 32 | - mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ R) (norm_nonneg A)) | |
| 33 | - | |
| 34 | -variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 35 | - | |
| 36 | -/-- The actual source F R⊥, including all its uniformly continuous spatial jets. -/ | |
| 37 | -def coefficient (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) : | |
| 38 | - SmoothCoefficientPath K (U →L[ℝ] Space) := | |
| 39 | - SmoothCoefficientPath.map (referenceRestriction m₀ R) F | |
| 40 | - | |
| 41 | -@[simp] theorem coefficient_apply (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 42 | - (t : K) (x : Space) (v : U) : (coefficient m₀ R F).field t x v = F.field t x (R v : Space) := rfl | |
| 43 | - | |
| 44 | -/-- The original pointwise source coefficient derivative bound survives without loss. -/ | |
| 45 | -theorem coefficient_derivative_bound (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 46 | - (n : ℕ) (C : ℝ) | |
| 47 | - (hF : ∀ t x, ‖iteratedFDeriv ℝ n (F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 48 | - (t : K) (x : Space) : | |
| 49 | - ‖iteratedFDeriv ℝ n ((coefficient m₀ R F).field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 50 | - SmoothCoefficientPath.map_derivative_bound (referenceRestriction m₀ R) (restriction_norm m₀ R) F n C hF t x | |
| 51 | - | |
| 52 | -/-- The uniform inverse-frame bound gives the precise squared lower frame bound. -/ | |
| 53 | -theorem coefficient_lower (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 54 | - (FInv : K → Space → Space →L[ℝ] Space) (B : ℝ) (hB : 0 < B) | |
| 55 | - (hInv : ∀ t x v, FInv t x (F.field t x v) = v) | |
| 56 | - (hNorm : ∀ t x, ‖FInv t x‖ ≤ B) (t : K) (x : Space) (v : U) : | |
| 57 | - (B⁻¹)^2*‖v‖^2 ≤ ‖(coefficient m₀ R F).field t x v‖^2 := by | |
| 58 | - have hn : ‖v‖ ≤ B*‖(coefficient m₀ R F).field t x v‖ := by | |
| 59 | - calc | |
| 60 | - ‖v‖ = ‖(R v : Space)‖ := (R.norm_map v).symm | |
| 61 | - _ = ‖FInv t x (F.field t x (R v : Space))‖ := congrArg norm (hInv t x (R v : Space)).symm | |
| 62 | - _ ≤ ‖FInv t x‖*‖F.field t x (R v : Space)‖ := (FInv t x).le_opNorm _ | |
| 63 | - _ ≤ B*‖(coefficient m₀ R F).field t x v‖ := | |
| 64 | - mul_le_mul_of_nonneg_right (hNorm t x) (norm_nonneg _) | |
| 65 | - have hdiv : ‖v‖/B ≤ ‖(coefficient m₀ R F).field t x v‖ := | |
| 66 | - (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 67 | - have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg v) hB.le) (norm_nonneg _)).2 hdiv | |
| 68 | - simpa only [div_eq_mul_inv,mul_pow,mul_comm] using hs | |
| 69 | - | |
| 70 | -section Time | |
| 71 | - | |
| 72 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 73 | - (F F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 74 | - | |
| 75 | -/-- The actual source time derivative also commutes with the reference restriction. -/ | |
| 76 | -theorem coefficient_hasDerivWithinAt | |
| 77 | - (hF : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 78 | - HasDerivWithinAt (fun s => extendPath T hT F.field s x) | |
| 79 | - (extendPath T hT F₁.field t x) (Icc (0 : ℝ) T) t) | |
| 80 | - (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) (x : Space) : | |
| 81 | - HasDerivWithinAt (fun s => extendPath T hT (coefficient m₀ R F).field s x) | |
| 82 | - (extendPath T hT (coefficient m₀ R F₁).field t x) (Icc (0 : ℝ) T) t := by | |
| 83 | - have hd := (referenceRestriction m₀ R).hasFDerivAt.comp_hasDerivWithinAt t (hF t ht x) | |
| 84 | - exact hd | |
| 85 | - | |
| 86 | -end Time | |
| 87 | - | |
| 88 | -end EulerTransverseBoundedFrame | |
+0 −107 Euler/TransverseBoundedGeometry.lean deleted
| @@ -1,107 +0,0 @@ | ||
| 1 | -import Euler.TransverseBoundedFrame | |
| 2 | - | |
| 3 | -/-! | |
| 4 | -# Source geometry for the bounded frame and normal | |
| 5 | - | |
| 6 | -The literal fields Q=F R⊥ and m=F⁻ᵀm₀ satisfy the tangency, range, strain, | |
| 7 | -and quantitative normal lower bounds used by the actual transverse solver. | |
| 8 | -Only the original deformation and its genuine pointwise inverse are inputs. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | -namespace EulerTransverseBoundedFrame | |
| 14 | - | |
| 15 | -open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients | |
| 16 | - EulerTransverseFrameCoordinates | |
| 17 | -open scoped BoundedContinuousFunction ContDiff | |
| 18 | - | |
| 19 | -variable (m₀ : Space) | |
| 20 | - | |
| 21 | -/-- The fixed linear operation sending F⁻¹ to F⁻ᵀm₀. -/ | |
| 22 | -def normalMap : (Space →L[ℝ] Space) →L[ℝ] Space := | |
| 23 | - (ContinuousLinearMap.apply ℝ Space m₀).comp | |
| 24 | - (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap : | |
| 25 | - (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space)) | |
| 26 | - | |
| 27 | -@[simp] theorem normalMap_apply (A : Space →L[ℝ] Space) : normalMap m₀ A = A.adjoint m₀ := rfl | |
| 28 | - | |
| 29 | -theorem normalMap_norm (hm₀ : ‖m₀‖ = 1) : ‖normalMap m₀‖ ≤ 1 := by | |
| 30 | - apply opNorm_le_bound _ zero_le_one | |
| 31 | - intro A | |
| 32 | - change ‖A.adjoint m₀‖ ≤ 1*‖A‖ | |
| 33 | - have h := A.adjoint.le_opNorm m₀ | |
| 34 | - simpa only [hm₀,mul_one,one_mul,ContinuousLinearEquiv.coe_coe, | |
| 35 | - LinearIsometryEquiv.norm_map] using h | |
| 36 | - | |
| 37 | -variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 38 | - | |
| 39 | -/-- The normal has the genuine spatial jets inherited from the inverse deformation. -/ | |
| 40 | -def normalCoefficient (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) : | |
| 41 | - SmoothCoefficientPath K Space := SmoothCoefficientPath.map (normalMap m₀) FInv | |
| 42 | - | |
| 43 | -@[simp] theorem normalCoefficient_apply (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 44 | - (t : K) (x : Space) : (normalCoefficient m₀ FInv).field t x = (FInv.field t x).adjoint m₀ := rfl | |
| 45 | - | |
| 46 | -theorem normalCoefficient_derivative_bound (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 47 | - (hm₀ : ‖m₀‖ = 1) (n : ℕ) (C : ℝ) | |
| 48 | - (hF : ∀ t x, ‖iteratedFDeriv ℝ n (FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 49 | - (t : K) (x : Space) : | |
| 50 | - ‖iteratedFDeriv ℝ n ((normalCoefficient m₀ FInv).field t : Space → Space) x‖ ≤ C := | |
| 51 | - SmoothCoefficientPath.map_derivative_bound (normalMap m₀) (normalMap_norm m₀ hm₀) FInv n C hF t x | |
| 52 | - | |
| 53 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 54 | - (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 55 | - (F FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 56 | - | |
| 57 | -theorem coefficient_tangent | |
| 58 | - (hInv : ∀ t x v, FInv.field t x (F.field t x v) = v) (t : K) (x : Space) (v : U) : | |
| 59 | - ⟪(normalCoefficient m₀ FInv).field t x,(coefficient m₀ R F).field t x v⟫_ℝ = 0 := by | |
| 60 | - rw [normalCoefficient_apply,coefficient_apply,adjoint_inner_left,hInv] | |
| 61 | - have h := (R v).property | |
| 62 | - rwa [Submodule.mem_orthogonal_singleton_iff_inner_right] at h | |
| 63 | - | |
| 64 | -theorem coefficient_range | |
| 65 | - (hInv : ∀ t x v, F.field t x (FInv.field t x v) = v) | |
| 66 | - (t : K) (x η : Space) (hη : ⟪(normalCoefficient m₀ FInv).field t x,η⟫_ℝ = 0) : | |
| 67 | - ∃ v, (coefficient m₀ R F).field t x v = η := by | |
| 68 | - have hmem : FInv.field t x η ∈ referencePlane m₀ := by | |
| 69 | - rw [Submodule.mem_orthogonal_singleton_iff_inner_right] | |
| 70 | - simpa only [normalCoefficient_apply,adjoint_inner_left] using hη | |
| 71 | - let z : referencePlane m₀ := ⟨FInv.field t x η,hmem⟩ | |
| 72 | - refine ⟨R.symm z,?_⟩ | |
| 73 | - rw [coefficient_apply,R.apply_symm_apply] | |
| 74 | - exact hInv t x η | |
| 75 | - | |
| 76 | -theorem coefficient_strain (F₁ M : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 77 | - (hFlow : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v)) (t : K) (x : Space) : | |
| 78 | - (coefficient m₀ R F₁).field t x = (M.field t x).comp ((coefficient m₀ R F).field t x) := by | |
| 79 | - apply ContinuousLinearMap.ext | |
| 80 | - intro v | |
| 81 | - exact hFlow t x (R v : Space) | |
| 82 | - | |
| 83 | -/-- The source inverse identity also prevents degeneration of the normal. -/ | |
| 84 | -theorem normalCoefficient_lower (hm₀ : ‖m₀‖ = 1) | |
| 85 | - (hInv : ∀ t x v, FInv.field t x (F.field t x v) = v) | |
| 86 | - (B : ℝ) (hB : 0 < B) (hFnorm : ∀ t x, ‖F.field t x‖ ≤ B) (t : K) (x : Space) : | |
| 87 | - (B⁻¹)^2 ≤ ‖(normalCoefficient m₀ FInv).field t x‖^2 := by | |
| 88 | - have he : (F.field t x).adjoint ((normalCoefficient m₀ FInv).field t x) = m₀ := by | |
| 89 | - apply ext_inner_right ℝ | |
| 90 | - intro v | |
| 91 | - rw [adjoint_inner_left,normalCoefficient_apply,adjoint_inner_left,hInv] | |
| 92 | - have hnorm : ‖(F.field t x).adjoint‖ = ‖F.field t x‖ := | |
| 93 | - ContinuousLinearMap.adjoint.norm_map (F.field t x) | |
| 94 | - have hn : 1 ≤ B*‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 95 | - calc | |
| 96 | - 1 = ‖(F.field t x).adjoint ((normalCoefficient m₀ FInv).field t x)‖ := by rw [he,hm₀] | |
| 97 | - _ ≤ ‖(F.field t x).adjoint‖*‖(normalCoefficient m₀ FInv).field t x‖ := | |
| 98 | - (F.field t x).adjoint.le_opNorm _ | |
| 99 | - _ ≤ B*‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 100 | - rw [hnorm] | |
| 101 | - exact mul_le_mul_of_nonneg_right (hFnorm t x) (norm_nonneg _) | |
| 102 | - have hd : B⁻¹ ≤ ‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 103 | - rw [← one_div] | |
| 104 | - exact (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 105 | - exact (sq_le_sq₀ (inv_nonneg.mpr hB.le) (norm_nonneg _)).2 hd | |
| 106 | - | |
| 107 | -end EulerTransverseBoundedFrame | |
+0 −147 Euler/TransverseCoefficientGevrey.lean deleted
| @@ -1,147 +0,0 @@ | ||
| 1 | -import Euler.TransverseParameterRegularity | |
| 2 | -import Euler.TimeLpCoefficientGevrey | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# Factorial coefficient estimates for the actual transverse form | |
| 6 | - | |
| 7 | -The coefficient constants below are polynomial in the frame bounds and the | |
| 8 | -interval length. They control genuine Fréchet derivatives of the concrete | |
| 9 | -fixed-space operator and forcing, without a packaged jet or recurrence input. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -namespace EulerTransverseCoefficientGevrey | |
| 17 | - | |
| 18 | -open Set ContinuousLinearMap InnerProductSpace EulerTimeLp | |
| 19 | - EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct | |
| 20 | - EulerTimeH1FrameTransport EulerTimeLpCoefficientMap EulerTimeLpCoefficientGevrey | |
| 21 | - EulerOperatorGevreyCalculus EulerGevrey EulerTransverseVariationalInverse | |
| 22 | - EulerTransverseGramInverse EulerTransverseFixedSpaceInverse | |
| 23 | - EulerTransverseParameterRegularity | |
| 24 | - | |
| 25 | -variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 26 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 27 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 28 | - | |
| 29 | -/-- The polynomial coefficient cost of taking a physical derivative. -/ | |
| 30 | -def derivativeCost (T C₀ C₁ : ℝ) : ℝ := T*C₁+C₀ | |
| 31 | - | |
| 32 | -/-- The polynomial coefficient cost of the transported variational form. -/ | |
| 33 | -def formCost (T C₀ C₁ CH : ℝ) : ℝ := | |
| 34 | - 9 * (derivativeCost T C₀ C₁)^2 * (1 + T^2*CH) | |
| 35 | - | |
| 36 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 37 | -/-- Every actual derivative of the fixed kinetic map has the same factorial bound. -/ | |
| 38 | -theorem fixedFrameDerivative_bound (T : ℝ) (hT : 0 ≤ T) | |
| 39 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 40 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 41 | - (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 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 | - (n : ℕ) (x : P) : | |
| 45 | - ‖iteratedFDeriv ℝ n (fun y => fixedFrameDerivative T hT (Q y) (Q₁ y)) x‖ ≤ | |
| 46 | - derivativeCost T C₀ C₁ * majorant R 0 n := by | |
| 47 | - have hb := clm_comp_const_right_bound | |
| 48 | - (fun y => productDerivative T hT (Q y) (Q₁ y)) | |
| 49 | - (zeroTraceDerivatives (U := U) T hT).subtypeL | |
| 50 | - (contDiff_productDerivative T hT Q Q₁ hQ hQ₁) | |
| 51 | - R (derivativeCost T C₀ C₁) hR (by unfold derivativeCost; positivity) 0 | |
| 52 | - (productDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ 0 hbQ hbQ₁) n x | |
| 53 | - apply hb.trans | |
| 54 | - have hN : ‖(zeroTraceDerivatives (U := U) T hT).subtypeL‖ * derivativeCost T C₀ C₁ ≤ | |
| 55 | - derivativeCost T C₀ C₁ := by | |
| 56 | - simpa only [one_mul] using (mul_le_mul_of_nonneg_right | |
| 57 | - (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le | |
| 58 | - (show 0 ≤ derivativeCost T C₀ C₁ by unfold derivativeCost; positivity)) | |
| 59 | - exact mul_le_mul_of_nonneg_right | |
| 60 | - hN (majorant_nonneg R hR 0 n) | |
| 61 | - | |
| 62 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 63 | -/-- Terminal integration adds only the interval-length factor. -/ | |
| 64 | -theorem fixedFramePrimitive_bound (T : ℝ) (hT : 0 ≤ T) | |
| 65 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 66 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 67 | - (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 68 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 69 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 70 | - (n : ℕ) (x : P) : | |
| 71 | - ‖iteratedFDeriv ℝ n (fun y => fixedFramePrimitive T hT (Q y) (Q₁ y)) x‖ ≤ | |
| 72 | - (T * derivativeCost T C₀ C₁) * majorant R 0 n := by | |
| 73 | - have hb := clm_comp_const_left_bound (primitiveTimeLp (E := E) T hT) | |
| 74 | - (fun y => fixedFrameDerivative T hT (Q y) (Q₁ y)) | |
| 75 | - (contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁) | |
| 76 | - R (derivativeCost T C₀ C₁) hR (by unfold derivativeCost; positivity) 0 | |
| 77 | - (fixedFrameDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁) n x | |
| 78 | - exact hb.trans (mul_le_mul_of_nonneg_right | |
| 79 | - (mul_le_mul_of_nonneg_right (primitive_norm_le_time (E := E) T hT) | |
| 80 | - (by unfold derivativeCost; positivity)) (majorant_nonneg R hR 0 n)) | |
| 81 | - | |
| 82 | -/-- The physical Dirichlet form has the coefficient-only factorial bound. -/ | |
| 83 | -theorem dirichletOperator_bound (T : ℝ) (hT : 0 ≤ T) | |
| 84 | - (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) (hH : ContDiff ℝ ∞ H) | |
| 85 | - (R CH : ℝ) (hR : 0 ≤ R) (hCH : 0 ≤ CH) | |
| 86 | - (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant R 0 n) | |
| 87 | - (n : ℕ) (x : P) : | |
| 88 | - ‖iteratedFDeriv ℝ n (fun y => dirichletOperator (primitiveTimeLp T hT) | |
| 89 | - (timeMultiplier T hT (H y))) x‖ ≤ (1+T^2*CH) * majorant R 0 n := by | |
| 90 | - let J : TimeLp T E →L[ℝ] TimeLp T E := primitiveTimeLp T hT | |
| 91 | - have hJ : ‖J‖ ≤ T := primitive_norm_le_time (E := E) T hT | |
| 92 | - have hright (k : ℕ) (y : P) : | |
| 93 | - ‖iteratedFDeriv ℝ k (fun z => (timeMultiplier T hT (H z)).comp J) y‖ ≤ | |
| 94 | - (T*CH) * majorant R 0 k := by | |
| 95 | - exact (clm_comp_const_right_bound _ J (contDiff_timeMultiplier T hT H hH) | |
| 96 | - R CH hR hCH 0 (timeMultiplier_bound T hT H hH R CH hR hCH 0 hbH) k y).trans | |
| 97 | - (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hJ hCH) (majorant_nonneg R hR 0 k)) | |
| 98 | - have hpotential (k : ℕ) (y : P) : | |
| 99 | - ‖iteratedFDeriv ℝ k (fun z => J.adjoint.comp ((timeMultiplier T hT (H z)).comp J)) y‖ ≤ | |
| 100 | - (T^2*CH) * majorant R 0 k := by | |
| 101 | - have hp := clm_comp_const_left_bound J.adjoint _ | |
| 102 | - ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const) | |
| 103 | - R (T*CH) hR (mul_nonneg hT hCH) 0 hright k y | |
| 104 | - rw [LinearIsometryEquiv.norm_map] at hp | |
| 105 | - apply hp.trans | |
| 106 | - have h := mul_le_mul_of_nonneg_right hJ (mul_nonneg hT hCH) | |
| 107 | - convert mul_le_mul_of_nonneg_right h (majorant_nonneg R hR 0 k) using 1 | |
| 108 | - ring | |
| 109 | - exact sub_bound (fun _ : P => ContinuousLinearMap.id ℝ (TimeLp T E)) | |
| 110 | - (fun y => J.adjoint.comp ((timeMultiplier T hT (H y)).comp J)) | |
| 111 | - contDiff_const (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 112 | - R 1 (T^2*CH) 0 (const_bound _ R 1 hR norm_id_le) hpotential n x | |
| 113 | - | |
| 114 | -/-- Factorial control of the concrete fixed-space operator follows from the prescribed paths. -/ | |
| 115 | -theorem fixedFrameOperator_bound (T : ℝ) (hT : 0 ≤ T) | |
| 116 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 117 | - (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 118 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) (hH : ContDiff ℝ ∞ H) | |
| 119 | - (R C₀ C₁ CH : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) | |
| 120 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 121 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 122 | - (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant R 0 n) | |
| 123 | - (n : ℕ) (x : P) : | |
| 124 | - ‖iteratedFDeriv ℝ n (fun y => fixedFrameOperator T hT (Q y) (Q₁ y) (H y)) x‖ ≤ | |
| 125 | - formCost T C₀ C₁ CH * majorant R 0 n := by | |
| 126 | - let D := fun y => fixedFrameDerivative T hT (Q y) (Q₁ y) | |
| 127 | - let A := fun y => dirichletOperator (primitiveTimeLp T hT) (timeMultiplier T hT (H y)) | |
| 128 | - have hD : ContDiff ℝ ∞ D := contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁ | |
| 129 | - have hA : ContDiff ℝ ∞ A := contDiff_const.sub | |
| 130 | - (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 131 | - have hd0 : 0 ≤ derivativeCost T C₀ C₁ := by unfold derivativeCost; positivity | |
| 132 | - have ha0 : 0 ≤ 1+T^2*CH := by positivity | |
| 133 | - have hbD := fixedFrameDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁ | |
| 134 | - have hbA := dirichletOperator_bound T hT H hH R CH hR hCH hbH | |
| 135 | - have hAD := clm_comp_bound A D hA hD R (1+T^2*CH) (derivativeCost T C₀ C₁) | |
| 136 | - hR ha0 hd0 0 0 hbA hbD | |
| 137 | - have h := clm_comp_bound (fun y => (D y).adjoint) (fun y => (A y).comp (D y)) | |
| 138 | - (contDiff_adjoint hD) | |
| 139 | - (hA.clm_comp hD) R (derivativeCost T C₀ C₁) (3*(1+T^2*CH)*derivativeCost T C₀ C₁) | |
| 140 | - hR hd0 (by positivity) 0 0 (adjoint_bound D hD R _ hR hd0 0 hbD) hAD n x | |
| 141 | - have he : 3 * derivativeCost T C₀ C₁ * (3*(1+T^2*CH)*derivativeCost T C₀ C₁) = | |
| 142 | - formCost T C₀ C₁ CH := by unfold formCost; ring | |
| 143 | - simp only [Nat.add_zero, he] at h | |
| 144 | - convert h using 1 | |
| 145 | - rfl | |
| 146 | - | |
| 147 | -end EulerTransverseCoefficientGevrey | |
+0 −164 Euler/TransverseCoordinateRegularity.lean deleted
| @@ -1,164 +0,0 @@ | ||
| 1 | -import Euler.TransverseGramPath | |
| 2 | -import Euler.TransverseMomentumRegularity | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# Genuine time-H¹ transverse coordinates | |
| 6 | - | |
| 7 | -The coordinates are obtained by applying the constructed frame left inverse to | |
| 8 | -the physical displacement. Their time derivative is an actual Bochner L² field, | |
| 9 | -and differentiating the reconstructed displacement gives the exact kinetic | |
| 10 | -coordinate identity used in the strong transverse equation. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerTransverseCoordinateRegularity | |
| 16 | - | |
| 17 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 18 | - EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution | |
| 19 | - EulerTimeH1OperatorProduct EulerTransverseVariationalInverse | |
| 20 | - EulerTransverseGramInverse EulerTransverseGramPath | |
| 21 | - | |
| 22 | -variable {U E : Type*} | |
| 23 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 25 | - | |
| 26 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 27 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 28 | - (c : ℝ) (hc : 0 < c) | |
| 29 | - (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 30 | - | |
| 31 | -/-- Canonical coordinates obtained from the actual inverse Gram coefficient. -/ | |
| 32 | -def coordinatePrimitive (u : TimeLp T E) : ℝ → U := | |
| 33 | - productPrimitive T hT (frameLeftInversePath T Q c hc hQ) u | |
| 34 | - | |
| 35 | -/-- The actual L² derivative of the canonical coordinates. -/ | |
| 36 | -def coordinateDerivative (u : TimeLp T E) : TimeLp T U := | |
| 37 | - productDerivative T hT (frameLeftInversePath T Q c hc hQ) | |
| 38 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) u | |
| 39 | - | |
| 40 | -variable (hd : ∀ t : Icc (0 : ℝ) T, | |
| 41 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 42 | - | |
| 43 | -include hd in | |
| 44 | -/-- The canonical coordinates are genuinely absolutely continuous. -/ | |
| 45 | -theorem coordinatePrimitive_absolutelyContinuous (u : TimeLp T E) : | |
| 46 | - AbsolutelyContinuousOnInterval (coordinatePrimitive T hT Q c hc hQ u) 0 T := | |
| 47 | - productPrimitive_absolutelyContinuous T hT (frameLeftInversePath T Q c hc hQ) | |
| 48 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 49 | - (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u | |
| 50 | - | |
| 51 | -include hd in | |
| 52 | -/-- The explicitly constructed L² field is the actual a.e. coordinate derivative. -/ | |
| 53 | -theorem coordinatePrimitive_hasDerivAt_ae (u : TimeLp T E) : | |
| 54 | - ∀ᵐ t ∂timeMeasure T, | |
| 55 | - HasDerivAt (coordinatePrimitive T hT Q c hc hQ u) | |
| 56 | - (coordinateDerivative T hT Q Q₁ c hc hQ u t) t := | |
| 57 | - productPrimitive_hasDerivAt_ae T hT (frameLeftInversePath T Q c hc hQ) | |
| 58 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 59 | - (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u | |
| 60 | - | |
| 61 | -include hd in | |
| 62 | -/-- Integrating the coordinate derivative recovers the canonical coordinates. -/ | |
| 63 | -theorem terminalPrimitive_coordinateDerivative (u : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 64 | - terminalPrimitive T hT (coordinateDerivative T hT Q Q₁ c hc hQ u) t = | |
| 65 | - coordinatePrimitive T hT Q c hc hQ u t := by | |
| 66 | - exact (productPrimitive_eq_realPrimitive T hT (frameLeftInversePath T Q c hc hQ) | |
| 67 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 68 | - (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u t t.property).symm | |
| 69 | - | |
| 70 | -/-- The initial coordinate trace vanishes for every admissible displacement. -/ | |
| 71 | -theorem coordinatePrimitive_initial (m : Icc (0 : ℝ) T → E) | |
| 72 | - (u : transverseDerivatives T hT m) : | |
| 73 | - coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) 0 = 0 := by | |
| 74 | - have hu : realPrimitive T (u : TimeLp T E) 0 = 0 := u.property.1 | |
| 75 | - simp only [coordinatePrimitive, productPrimitive, hu, map_zero] | |
| 76 | - | |
| 77 | -/-- The terminal coordinate trace vanishes identically. -/ | |
| 78 | -theorem coordinatePrimitive_terminal (u : TimeLp T E) : | |
| 79 | - coordinatePrimitive T hT Q c hc hQ u T = 0 := | |
| 80 | - productPrimitive_terminal T hT (frameLeftInversePath T Q c hc hQ) u | |
| 81 | - | |
| 82 | -/-- Reconstruction only requires the prescribed physical displacement to lie | |
| 83 | -in the actual range of the frame. This general statement also applies to | |
| 84 | -infinite-dimensional spatial constraint spaces. -/ | |
| 85 | -theorem coordinatePrimitive_reconstruct_of_range (u : TimeLp T E) | |
| 86 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) | |
| 87 | - (t : Icc (0 : ℝ) T) : | |
| 88 | - Q t (coordinatePrimitive T hT Q c hc hQ u t) = realPrimitive T u t := by | |
| 89 | - obtain ⟨x, hx⟩ := huRange t | |
| 90 | - simp only [coordinatePrimitive, productPrimitive, extendPath, projIcc_of_mem hT t.property] | |
| 91 | - rw [← hx] | |
| 92 | - change Q t (frameLeftInverse (Q t) c hc (hQ t) (Q t x)) = Q t x | |
| 93 | - rw [frameLeftInverse_apply] | |
| 94 | - | |
| 95 | -include hd in | |
| 96 | -/-- The kinetic identity follows from injectivity of the genuine time primitive. -/ | |
| 97 | -theorem coordinateDerivative_reconstruct_of_range (u : TimeLp T E) | |
| 98 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) : | |
| 99 | - productDerivative T hT Q Q₁ (coordinateDerivative T hT Q Q₁ c hc hQ u) = u := by | |
| 100 | - apply terminalPrimitive_injective T hT | |
| 101 | - apply ContinuousMap.ext | |
| 102 | - intro t | |
| 103 | - rw [terminalPrimitive_productDerivative T hT Q Q₁ hd, | |
| 104 | - terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd] | |
| 105 | - exact coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ u huRange t | |
| 106 | - | |
| 107 | -include hd in | |
| 108 | -/-- The L² primitive of the coordinate derivative has the actual coordinate | |
| 109 | -path as its representative. -/ | |
| 110 | -theorem coordinatePrimitive_ae (u : TimeLp T E) : | |
| 111 | - (primitiveTimeLp T hT (coordinateDerivative T hT Q Q₁ c hc hQ u) : ℝ → U) =ᵐ[timeMeasure T] | |
| 112 | - coordinatePrimitive T hT Q c hc hQ u := by | |
| 113 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := | |
| 114 | - ae_restrict_mem measurableSet_Icc | |
| 115 | - filter_upwards [hmem, | |
| 116 | - primitiveTimeLp_ae T hT (coordinateDerivative T hT Q Q₁ c hc hQ u)] with t ht hp | |
| 117 | - exact hp.trans (terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd u ⟨t, ht⟩) | |
| 118 | - | |
| 119 | -include hd in | |
| 120 | -/-- The physical derivative has the literal expression `Q_t ξ + Q ξ_t` a.e. -/ | |
| 121 | -theorem coordinateDerivative_reconstruct_ae_of_range (u : TimeLp T E) | |
| 122 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) : | |
| 123 | - ∀ᵐ t ∂timeMeasure T, | |
| 124 | - u t = extendPath T hT Q₁ t (coordinatePrimitive T hT Q c hc hQ u t) + | |
| 125 | - extendPath T hT Q t (coordinateDerivative T hT Q Q₁ c hc hQ u t) := by | |
| 126 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := | |
| 127 | - ae_restrict_mem measurableSet_Icc | |
| 128 | - have hid := coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd u huRange | |
| 129 | - have hprod := productDerivative_ae T hT Q Q₁ (coordinateDerivative T hT Q Q₁ c hc hQ u) | |
| 130 | - rw [hid] at hprod | |
| 131 | - filter_upwards [hmem, hprod] with t ht hprod | |
| 132 | - rw [hprod] | |
| 133 | - congr 2 | |
| 134 | - exact terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd u ⟨t, ht⟩ | |
| 135 | - | |
| 136 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 137 | -/-- A transverse constraint puts the physical displacement in the frame's range. -/ | |
| 138 | -theorem transverse_range (m : Icc (0 : ℝ) T → E) | |
| 139 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 140 | - (u : transverseDerivatives T hT m) (t : Icc (0 : ℝ) T) : | |
| 141 | - ∃ x : U, Q t x = realPrimitive T (u : TimeLp T E) t := | |
| 142 | - hRange t _ (u.property.2 t) | |
| 143 | - | |
| 144 | -/-- Canonical coordinates reconstruct every admissible transverse displacement. -/ | |
| 145 | -theorem coordinatePrimitive_reconstruct (m : Icc (0 : ℝ) T → E) | |
| 146 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 147 | - (u : transverseDerivatives T hT m) (t : Icc (0 : ℝ) T) : | |
| 148 | - Q t (coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) t) = | |
| 149 | - realPrimitive T (u : TimeLp T E) t := | |
| 150 | - coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ (u : TimeLp T E) | |
| 151 | - (transverse_range T hT Q m hRange u) t | |
| 152 | - | |
| 153 | -include hd in | |
| 154 | -/-- The transverse derivative is the derivative of its reconstructed coordinates. -/ | |
| 155 | -theorem coordinateDerivative_reconstruct (m : Icc (0 : ℝ) T → E) | |
| 156 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 157 | - (u : transverseDerivatives T hT m) : | |
| 158 | - productDerivative T hT Q Q₁ | |
| 159 | - (coordinateDerivative T hT Q Q₁ c hc hQ (u : TimeLp T E)) = | |
| 160 | - (u : TimeLp T E) := | |
| 161 | - coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) | |
| 162 | - (transverse_range T hT Q m hRange u) | |
| 163 | - | |
| 164 | -end EulerTransverseCoordinateRegularity | |
+246 −1 Euler/TransverseEndpointBounds.lean View file
| @@ -1,5 +1,8 @@ | ||
| 1 | 1 | import Euler.CoerciveEndpointBounds |
| 2 | -import Euler.TransverseEndpointParameter | |
| 2 | +import Euler.InitialH1OperatorProduct | |
| 3 | +import Euler.TransverseEndpointUniqueness | |
| 4 | +import Euler.TransverseFixedSpaceInverse | |
| 5 | +import Euler.TransverseParameterRegularity | |
| 3 | 6 | import Euler.TimeLpCoefficientGevrey |
| 4 | 7 | |
| 5 | 8 | /-! |
| @@ -8,6 +11,248 @@ Both primitives, the actual affine trial, and the fixed-coordinate form are | ||
| 8 | 11 | estimated in their genuine Bochner and operator norms. |
| 9 | 12 | -/ |
| 10 | 13 | |
| 14 | +/-! ## From `Euler/TransverseFixedEndpoint.lean` | |
| 15 | + | |
| 16 | +The text of `Euler/TransverseFixedEndpoint.lean`, folded into this file, which was its only importer. -/ | |
| 17 | + | |
| 18 | +section | |
| 19 | + | |
| 20 | +/-! | |
| 21 | +The nonzero-terminal variational inverse on the same fixed coordinate Hilbert | |
| 22 | +space used by the packet inverse. The zero-trace correction is an actual | |
| 23 | +coercive solve. Full-range frame transport proves exact equality with the | |
| 24 | +physical endpoint solution, rather than introducing a second unrelated solve. | |
| 25 | +-/ | |
| 26 | + | |
| 27 | +noncomputable section | |
| 28 | + | |
| 29 | + | |
| 30 | +namespace EulerTransverseFixedEndpoint | |
| 31 | + | |
| 32 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerCoerciveProjection | |
| 33 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 34 | + EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 35 | + EulerTransverseVariationalInverse EulerTransverseFixedSpaceInverse | |
| 36 | + EulerTransverseEndpointEnergy | |
| 37 | + | |
| 38 | +variable {U E V : Type*} | |
| 39 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 40 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 41 | + [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 42 | + | |
| 43 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 44 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 45 | + (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 46 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 47 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 48 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 49 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 50 | + (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 51 | + | |
| 52 | +include hd in | |
| 53 | +theorem fixedFrameDerivative_trace_zero (v : zeroTraceDerivatives (U := U) T hT) : | |
| 54 | + initialTrace T hT (fixedFrameDerivative T hT Q Q₁ v) = 0 := by | |
| 55 | + have hv : initialTrace T hT (v : TimeLp T U) = 0 := v.property | |
| 56 | + change initialTrace T hT (productDerivative T hT Q Q₁ (v : TimeLp T U)) = 0 | |
| 57 | + rw [initialTrace_productDerivative T hT Q Q₁ hd, hv, map_zero] | |
| 58 | + | |
| 59 | +include hd in | |
| 60 | +/-- The fixed coordinate form is exactly the restriction of the physical initial-zero form. -/ | |
| 61 | +theorem fixedFrame_energy (u v : zeroTraceDerivatives (U := U) T hT) : | |
| 62 | + ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ u), | |
| 63 | + fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = | |
| 64 | + ⟪fixedFrameOperator T hT Q Q₁ H u, v⟫_ℝ := by | |
| 65 | + rw [energyOperator_inner, fixedFrameOperator_inner, | |
| 66 | + initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ | |
| 67 | + (fixedFrameDerivative_trace_zero T hT Q Q₁ hd u), | |
| 68 | + initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ | |
| 69 | + (fixedFrameDerivative_trace_zero T hT Q Q₁ hd v)] | |
| 70 | + rfl | |
| 71 | + | |
| 72 | +def fixedEndpointCorrection (L : V →L[ℝ] TimeLp T E) : | |
| 73 | + V →L[ℝ] zeroTraceDerivatives (U := U) T hT := | |
| 74 | + (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) | |
| 75 | + (fixedCoercivity_pos T hT Q Q₁ c hc) | |
| 76 | + (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall)).comp | |
| 77 | + ((fixedFrameDerivative T hT Q Q₁).adjoint.comp ((energyOperator T hT H).comp L)) | |
| 78 | + | |
| 79 | +def fixedEndpointDerivative (L : V →L[ℝ] TimeLp T E) : V →L[ℝ] TimeLp T E := | |
| 80 | + L - (fixedFrameDerivative T hT Q Q₁).comp | |
| 81 | + (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L) | |
| 82 | + | |
| 83 | +theorem fixedEndpointCorrection_equation (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 84 | + (v : zeroTraceDerivatives (U := U) T hT) : | |
| 85 | + ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ | |
| 86 | + (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), | |
| 87 | + fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = | |
| 88 | + ⟪energyOperator T hT H (L Y), fixedFrameDerivative T hT Q Q₁ v⟫_ℝ := by | |
| 89 | + rw [fixedFrame_energy T hT Q Q₁ H hd] | |
| 90 | + change ⟪fixedFrameOperator T hT Q Q₁ H | |
| 91 | + (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) | |
| 92 | + (fixedCoercivity_pos T hT Q Q₁ c hc) | |
| 93 | + (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 94 | + ((fixedFrameDerivative T hT Q Q₁).adjoint (energyOperator T hT H (L Y)))), v⟫_ℝ = _ | |
| 95 | + rw [operator_inverse_apply, adjoint_inner_left] | |
| 96 | + | |
| 97 | +theorem fixedEndpointDerivative_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 98 | + (v : zeroTraceDerivatives (U := U) T hT) : | |
| 99 | + ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), | |
| 100 | + fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = 0 := by | |
| 101 | + change ⟪energyOperator T hT H (L Y - fixedFrameDerivative T hT Q Q₁ | |
| 102 | + (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), _⟫_ℝ = 0 | |
| 103 | + rw [map_sub, inner_sub_left, fixedEndpointCorrection_equation, sub_self] | |
| 104 | + | |
| 105 | +variable (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 106 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 107 | + | |
| 108 | +include hm in | |
| 109 | +theorem fixedEndpointDerivative_sub_mem (L : V →L[ℝ] TimeLp T E) (Y : V) : | |
| 110 | + fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y ∈ | |
| 111 | + transverseDerivatives T hT m := by | |
| 112 | + let r := fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y | |
| 113 | + have hr : fixedFrameDerivative T hT Q Q₁ r ∈ transverseDerivatives T hT m := | |
| 114 | + (transverseForward T hT Q Q₁ hd m hm r).property | |
| 115 | + have he : fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y = | |
| 116 | + -(fixedFrameDerivative T hT Q Q₁ r) := by | |
| 117 | + change (L Y - fixedFrameDerivative T hT Q Q₁ r) - L Y = _ | |
| 118 | + abel | |
| 119 | + rw [he] | |
| 120 | + exact (transverseDerivatives T hT m).neg_mem hr | |
| 121 | + | |
| 122 | +include hm hRange in | |
| 123 | +theorem fixedEndpointDerivative_physical_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 124 | + (v : transverseDerivatives T hT m) : | |
| 125 | + ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), | |
| 126 | + (v : TimeLp T E)⟫_ℝ = 0 := by | |
| 127 | + have hv := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) | |
| 128 | + (transverseForward_backward T hT Q Q₁ c hc hQ hd m hm hRange v) | |
| 129 | + change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m v) = | |
| 130 | + (v : TimeLp T E) at hv | |
| 131 | + rw [← hv] | |
| 132 | + exact fixedEndpointDerivative_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y _ | |
| 133 | + | |
| 134 | +include hm hRange in | |
| 135 | +/-- The fixed-space solve is the same nonzero-terminal inverse used by activation. -/ | |
| 136 | +theorem fixedEndpointDerivative_eq_endpoint (L : V →L[ℝ] TimeLp T E) : | |
| 137 | + fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L = | |
| 138 | + endpointDerivative T hT m H K hK hH hsmall L := by | |
| 139 | + apply ContinuousLinearMap.ext | |
| 140 | + intro Y | |
| 141 | + let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y | |
| 142 | + let w := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 143 | + have hdiff : u - w ∈ transverseDerivatives T hT m := by | |
| 144 | + have h₁ := fixedEndpointDerivative_sub_mem T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm L Y | |
| 145 | + have h₂ := endpointDerivative_sub_mem T hT m H K hK hH hsmall L Y | |
| 146 | + have hh := (transverseDerivatives T hT m).sub_mem h₁ h₂ | |
| 147 | + have he : (u - L Y) - (w - L Y) = u - w := by abel | |
| 148 | + exact he ▸ hh | |
| 149 | + let d : transverseDerivatives T hT m := ⟨u - w, hdiff⟩ | |
| 150 | + have hu : ⟪energyOperator T hT H u, (d : TimeLp T E)⟫_ℝ = 0 := | |
| 151 | + fixedEndpointDerivative_physical_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm hRange L Y d | |
| 152 | + have hw : ⟪energyOperator T hT H w, (d : TimeLp T E)⟫_ℝ = 0 := by | |
| 153 | + rw [energyOperator_inner, initialPrimitiveTimeLp_transverse T hT m d] | |
| 154 | + exact endpointDerivative_weak T hT m H K hK hH hsmall L Y d | |
| 155 | + have hz : ⟪energyOperator T hT H (u - w), u - w⟫_ℝ = 0 := by | |
| 156 | + change ⟪energyOperator T hT H (u - w), (d : TimeLp T E)⟫_ℝ = 0 | |
| 157 | + rw [map_sub, inner_sub_left, hu, hw, sub_zero] | |
| 158 | + have hc' := energyOperator_coercive T hT H K hK hH hsmall (u - w) | |
| 159 | + rw [hz] at hc' | |
| 160 | + have hn : ‖u - w‖ = 0 := by nlinarith only [hc', norm_nonneg (u - w)] | |
| 161 | + exact sub_eq_zero.mp (norm_eq_zero.mp hn) | |
| 162 | + | |
| 163 | +end EulerTransverseFixedEndpoint | |
| 164 | +end | |
| 165 | + | |
| 166 | +end | |
| 167 | + | |
| 168 | +/-! ## From `Euler/TransverseEndpointParameter.lean` | |
| 169 | + | |
| 170 | +The text of `Euler/TransverseEndpointParameter.lean`, folded into this file, which was its only importer. -/ | |
| 171 | + | |
| 172 | +section | |
| 173 | + | |
| 174 | +/-! | |
| 175 | +Actual parameter regularity of the nonzero-terminal transverse inverse. | |
| 176 | +The initial-zero energy and fixed-coordinate correction depend smoothly on | |
| 177 | +the coefficient paths. An explicit affine coordinate trial implements the | |
| 178 | +same terminal coordinate at neighboring labels. | |
| 179 | +-/ | |
| 180 | + | |
| 181 | +noncomputable section | |
| 182 | + | |
| 183 | + | |
| 184 | +namespace EulerTransverseEndpointParameter | |
| 185 | + | |
| 186 | +open Set InnerProductSpace ContinuousLinearMap | |
| 187 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 188 | + EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 189 | + EulerTimeLpCoefficientMap EulerTransverseVariationalInverse EulerTransverseGramInverse | |
| 190 | + EulerTransverseFixedSpaceInverse EulerTransverseParameterRegularity | |
| 191 | + EulerTransverseEndpointEnergy EulerTransverseFixedEndpoint | |
| 192 | + EulerCoerciveProjection EulerHilbertCoerciveParameter | |
| 193 | +open scoped ContDiff | |
| 194 | + | |
| 195 | +variable {P U E V : Type*} | |
| 196 | + [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 197 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 198 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 199 | + [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 200 | + | |
| 201 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 202 | + (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 203 | + (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 204 | + {n : ℕ∞ω} | |
| 205 | + | |
| 206 | +variable (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c * ‖v‖ ^ 2 ≤ ‖Q x t v‖ ^ 2) | |
| 207 | + (hd : ∀ x (t : Icc (0 : ℝ) T), | |
| 208 | + HasDerivWithinAt (extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) | |
| 209 | + (K : ℝ) (hK : 0 ≤ K) (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) | |
| 210 | + (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 211 | + | |
| 212 | +section AffineTrial | |
| 213 | + | |
| 214 | +variable (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 215 | + | |
| 216 | +/-- The exact derivative of `(t/T) Q(t) ξT`. -/ | |
| 217 | +def affineTrial : U →L[ℝ] TimeLp T E := | |
| 218 | + (initialProductDerivative T hT A A₁).comp | |
| 219 | + ((constantFieldOperator T hT).comp (T⁻¹ • ContinuousLinearMap.id ℝ U)) | |
| 220 | + | |
| 221 | +theorem affineTrial_primitive | |
| 222 | + (hA : ∀ t : Icc (0 : ℝ) T, | |
| 223 | + HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 224 | + (ξT : U) (t : Icc (0 : ℝ) T) : | |
| 225 | + initialPrimitive T hT (affineTrial T hT A A₁ ξT) t = | |
| 226 | + A t (((t : ℝ) / T) • ξT) := by | |
| 227 | + change initialPrimitive T hT | |
| 228 | + (initialProductDerivative T hT A A₁ (constantFieldOperator T hT (T⁻¹ • ξT))) t = _ | |
| 229 | + rw [initialPrimitive_initialProductDerivative T hT A A₁ hA, | |
| 230 | + initialPrimitive_constantFieldOperator, smul_smul, div_eq_mul_inv] | |
| 231 | + | |
| 232 | +theorem affineTrial_terminal (hTpos : 0 < T) | |
| 233 | + (hA : ∀ t : Icc (0 : ℝ) T, | |
| 234 | + HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 235 | + (ξT : U) : | |
| 236 | + initialPrimitive T hT (affineTrial T hT A A₁ ξT) ⟨T, hT, le_rfl⟩ = | |
| 237 | + A ⟨T, hT, le_rfl⟩ ξT := by | |
| 238 | + rw [affineTrial_primitive T hT A A₁ hA, div_self hTpos.ne', one_smul] | |
| 239 | + | |
| 240 | +theorem affineTrial_tangent | |
| 241 | + (hA : ∀ t : Icc (0 : ℝ) T, | |
| 242 | + HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 243 | + (m : Icc (0 : ℝ) T → E) (hm : ∀ t v, ⟪m t, A t v⟫_ℝ = 0) | |
| 244 | + (ξT : U) (t : Icc (0 : ℝ) T) : | |
| 245 | + ⟪m t, initialPrimitive T hT (affineTrial T hT A A₁ ξT) t⟫_ℝ = 0 := by | |
| 246 | + rw [affineTrial_primitive T hT A A₁ hA] | |
| 247 | + exact hm t _ | |
| 248 | + | |
| 249 | +end AffineTrial | |
| 250 | + | |
| 251 | +end EulerTransverseEndpointParameter | |
| 252 | +end | |
| 253 | + | |
| 254 | +end | |
| 255 | + | |
| 11 | 256 | noncomputable section |
| 12 | 257 | |
| 13 | 258 | |
+288 −2 Euler/TransverseEndpointCoordinates.lean View file
| @@ -1,6 +1,10 @@ | ||
| 1 | -import Euler.TransverseInitialInverse | |
| 1 | +import Euler.TransverseEndpointBounds | |
| 2 | +import Euler.TransverseInitialCoordinates | |
| 3 | +import Euler.TransverseStrongEstimates | |
| 2 | 4 | import Euler.TransverseEndpointDifference |
| 3 | -import Euler.TransverseEndpointEquation | |
| 5 | +import Euler.TransverseEndpointDifferentiation | |
| 6 | +import Euler.TransverseEndpointUniqueness | |
| 7 | +import Euler.TransverseForwardInverse | |
| 4 | 8 | import Euler.TimeH1Reconstruction |
| 5 | 9 | |
| 6 | 10 | /-! |
| @@ -11,6 +15,288 @@ Equation (10), already proved for that solution, provides its genuine time | ||
| 11 | 15 | derivative; the bounded H¹ reconstruction recovers the actual history path. |
| 12 | 16 | -/ |
| 13 | 17 | |
| 18 | +/-! ## From `Euler/TransverseEndpointEquation.lean` | |
| 19 | + | |
| 20 | +The text of `Euler/TransverseEndpointEquation.lean`, folded into this file, which was its only importer. -/ | |
| 21 | + | |
| 22 | +section | |
| 23 | + | |
| 24 | +/-! | |
| 25 | +The actual nonzero-terminal stationary displacement satisfies source (10). | |
| 26 | +Its coordinate velocity solves the very same homogeneous first-order | |
| 27 | +generator used by the packet's forward inverse. The identity is proved by | |
| 28 | +differentiating the constructed momentum, including the endpoint derivatives. | |
| 29 | +-/ | |
| 30 | + | |
| 31 | +noncomputable section | |
| 32 | + | |
| 33 | + | |
| 34 | +namespace EulerTransverseEndpointEquation | |
| 35 | + | |
| 36 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 37 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 38 | + EulerVolterraConvolution EulerTransverseGramInverse EulerTransverseGramPath | |
| 39 | + EulerTransverseInitialCoordinates EulerTransverseStrongAlgebra | |
| 40 | + EulerTransverseMomentumRegularity EulerTransverseEndpointMomentum | |
| 41 | + EulerTransverseEndpointVelocity EulerTransverseEndpointDifferentiation | |
| 42 | + EulerTransverseEndpointEnergy EulerTransverseForwardInverse EulerLinearDuhamel | |
| 43 | + | |
| 44 | +variable {U E : Type*} | |
| 45 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 46 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 47 | + | |
| 48 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 49 | + (Q Q₁ Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 50 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 51 | + (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 52 | + | |
| 53 | +theorem rawCoordinateAcceleration_projected (hTpos : 0 < T) | |
| 54 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 55 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 56 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 57 | + HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 58 | + (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 59 | + (u : TimeLp T E) | |
| 60 | + (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 61 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 62 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 63 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 64 | + (t : Icc (0 : ℝ) T) : | |
| 65 | + gram (Q t) (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) = | |
| 66 | + (Q t).adjoint (0 - (2 : ℝ) • Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) := by | |
| 67 | + have hp := momentumPath_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hweak huRange t | |
| 68 | + have hξ := initialCoordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hweak huRange t | |
| 69 | + have hv := coordinateVelocityPath_hasDerivWithinAt_raw T hT Q Q₁ Q₂ c hc hQ H | |
| 70 | + hTpos hd hd₁ u hweak huRange t | |
| 71 | + have hG := gramPath_hasDerivWithinAt T Q Q₁ hT hd t | |
| 72 | + have hC := mixedPath_hasDerivWithinAt T Q Q₁ Q₂ hT hd hd₁ t | |
| 73 | + have hb := (hG.clm_apply hv).add (hC.clm_apply hξ) | |
| 74 | + change HasDerivWithinAt | |
| 75 | + (fun s => extendPath T hT (gramPath T Q) s (coordinateVelocityPath T hT Q Q₁ c hc hQ H u s) + | |
| 76 | + extendPath T hT (mixedPath T Q Q₁) s (initialCoordinates T hT Q c hc hQ u s)) _ _ _ at hb | |
| 77 | + have he : (fun s => extendPath T hT (gramPath T Q) s | |
| 78 | + (coordinateVelocityPath T hT Q Q₁ c hc hQ H u s) + | |
| 79 | + extendPath T hT (mixedPath T Q Q₁) s (initialCoordinates T hT Q c hc hQ u s)) = | |
| 80 | + momentumPath T hT Q Q₁ H u := | |
| 81 | + funext (coordinateMomentum_identity T hT Q Q₁ c hc hQ H u) | |
| 82 | + rw [he] at hb | |
| 83 | + have hbal := (hp.derivWithin ((uniqueDiffOn_Icc hTpos) t t.property)).symm.trans | |
| 84 | + (hb.derivWithin ((uniqueDiffOn_Icc hTpos) t t.property)) | |
| 85 | + have hη := initialCoordinates_reconstruct T hT Q c hc hQ u huRange t | |
| 86 | + simp only [momentumDerivativePath, extendPath, projIcc_of_mem hT t.property] at hbal | |
| 87 | + rw [← hη] at hbal | |
| 88 | + apply projected_equation_of_momentum_balance (Q t) (Q₁ t) (Q₂ t) (H t) | |
| 89 | + (initialCoordinates T hT Q c hc hQ u t) (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) | |
| 90 | + (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) | |
| 91 | + (physicalVelocityPath T hT Q Q₁ c hc hQ H u t) 0 | |
| 92 | + · simp only [physicalVelocityPath, extendPath, projIcc_of_mem hT t.property] | |
| 93 | + · exact hframe t | |
| 94 | + · change _ = | |
| 95 | + ((Q₁ t).adjoint.comp (Q t) + (Q t).adjoint.comp (Q₁ t)) | |
| 96 | + (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) + | |
| 97 | + gram (Q t) (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) + | |
| 98 | + (((Q₁ t).adjoint.comp (Q₁ t) + (Q t).adjoint.comp (Q₂ t)) | |
| 99 | + (initialCoordinates T hT Q c hc hQ u t) + | |
| 100 | + (Q t).adjoint (Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t))) at hbal | |
| 101 | + simpa only [map_zero, add_zero, add_assoc] using hbal | |
| 102 | + | |
| 103 | +theorem rawCoordinateAcceleration_eq_generator (hTpos : 0 < T) | |
| 104 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 105 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 106 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 107 | + HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 108 | + (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 109 | + (u : TimeLp T E) | |
| 110 | + (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 111 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 112 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 113 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 114 | + (t : Icc (0 : ℝ) T) : | |
| 115 | + rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t = | |
| 116 | + generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) := by | |
| 117 | + have he := congrArg (gramInverse (Q t) c hc (hQ t)) | |
| 118 | + (rawCoordinateAcceleration_projected T hT Q Q₁ Q₂ c hc hQ H | |
| 119 | + hTpos hd hd₁ hframe u hweak huRange t) | |
| 120 | + rw [inverse_gram_apply] at he | |
| 121 | + change _ = (-2 : ℝ) • gramInverse (Q t) c hc (hQ t) | |
| 122 | + ((Q t).adjoint (Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t))) | |
| 123 | + simpa only [map_sub, map_zero, map_smul, zero_sub, neg_smul, map_neg] using he | |
| 124 | + | |
| 125 | +/-- Equation (10) for the actual coordinate displacement, written as the | |
| 126 | +first-order equation for its genuine derivative. -/ | |
| 127 | +theorem coordinateVelocityPath_hasDerivWithinAt_generator (hTpos : 0 < T) | |
| 128 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 129 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 130 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 131 | + HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 132 | + (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 133 | + (u : TimeLp T E) | |
| 134 | + (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 135 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 136 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 137 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 138 | + (t : Icc (0 : ℝ) T) : | |
| 139 | + HasDerivWithinAt (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) | |
| 140 | + (generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) | |
| 141 | + (Icc (0 : ℝ) T) t := by | |
| 142 | + have hdv := coordinateVelocityPath_hasDerivWithinAt_raw T hT Q Q₁ Q₂ c hc hQ H | |
| 143 | + hTpos hd hd₁ u hweak huRange t | |
| 144 | + rwa [rawCoordinateAcceleration_eq_generator T hT Q Q₁ Q₂ c hc hQ H | |
| 145 | + hTpos hd hd₁ hframe u hweak huRange t] at hdv | |
| 146 | + | |
| 147 | +/-- The nonzero-terminal inverse used in activation has genuine first and | |
| 148 | +second coordinate derivatives satisfying the source's homogeneous equation. -/ | |
| 149 | +theorem endpoint_coordinate_equation (hTpos : 0 < T) | |
| 150 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 151 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 152 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 153 | + HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 154 | + (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 155 | + (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 156 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 157 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 158 | + (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 159 | + {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 160 | + (L : V →L[ℝ] TimeLp T E) | |
| 161 | + (hL : ∀ Y t, ⟪m t, initialPrimitive T hT (L Y) t⟫_ℝ = 0) | |
| 162 | + (Y : V) (t : Icc (0 : ℝ) T) : | |
| 163 | + let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 164 | + HasDerivWithinAt (initialCoordinates T hT Q c hc hQ u) | |
| 165 | + (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) (Icc (0 : ℝ) T) t ∧ | |
| 166 | + HasDerivWithinAt (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) | |
| 167 | + (generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) | |
| 168 | + (Icc (0 : ℝ) T) t := by | |
| 169 | + let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 170 | + have huRange : ∀ s : Icc (0 : ℝ) T, ∃ x : U, Q s x = initialRealPrimitive T u s := by | |
| 171 | + intro s | |
| 172 | + exact hRange s _ (endpointDisplacement_tangent T hT m H K hK hH hsmall L hL Y s) | |
| 173 | + have hw := initialMomentum_weak T hT Q Q₁ H hd m hm u | |
| 174 | + (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 175 | + exact ⟨initialCoordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hw huRange t, | |
| 176 | + coordinateVelocityPath_hasDerivWithinAt_generator T hT Q Q₁ Q₂ c hc hQ H | |
| 177 | + hTpos hd hd₁ hframe u hw huRange t⟩ | |
| 178 | + | |
| 179 | +end EulerTransverseEndpointEquation | |
| 180 | +end | |
| 181 | + | |
| 182 | +end | |
| 183 | + | |
| 184 | +/-! ## From `Euler/TransverseInitialInverse.lean` | |
| 185 | + | |
| 186 | +The text of `Euler/TransverseInitialInverse.lean`, folded into this file, which was its only importer. -/ | |
| 187 | + | |
| 188 | +section | |
| 189 | + | |
| 190 | +/-! | |
| 191 | +The actual left inverse of initial-zero moving-frame differentiation. This | |
| 192 | +gives polynomial coordinate estimates for nonzero-terminal paths, including | |
| 193 | +differences between frames, without estimating a forward evolution. | |
| 194 | +-/ | |
| 195 | + | |
| 196 | +noncomputable section | |
| 197 | + | |
| 198 | + | |
| 199 | +namespace EulerTransverseInitialInverse | |
| 200 | + | |
| 201 | +open Set MeasureTheory ContinuousLinearMap InnerProductSpace | |
| 202 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 203 | + EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 204 | + EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseInitialCoordinates | |
| 205 | + EulerTransverseStrongEstimates EulerTransverseEndpointBounds | |
| 206 | + | |
| 207 | +open scoped Topology | |
| 208 | + | |
| 209 | +variable {U E : Type*} | |
| 210 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 211 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 212 | + | |
| 213 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 214 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 215 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖Q t v‖ ^ 2) | |
| 216 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 217 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 218 | + | |
| 219 | +def initialCoordinateOperator : TimeLp T E →L[ℝ] TimeLp T U := | |
| 220 | + initialProductDerivative T hT (frameLeftInversePath T Q c hc hQ) | |
| 221 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 222 | + | |
| 223 | +include hd in | |
| 224 | +theorem initialCoordinates_product (u : TimeLp T U) (t : Icc (0 : ℝ) T) : | |
| 225 | + initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) t = | |
| 226 | + initialRealPrimitive T u t := by | |
| 227 | + have he := initialPrimitive_initialProductDerivative T hT Q Q₁ hd u t | |
| 228 | + change initialRealPrimitive T (initialProductDerivative T hT Q Q₁ u) t = | |
| 229 | + Q t (initialRealPrimitive T u t) at he | |
| 230 | + simp only [initialCoordinates, extendPath, projIcc_of_mem hT t.property, he] | |
| 231 | + exact frameLeftInverse_apply (Q t) c hc (hQ t) _ | |
| 232 | + | |
| 233 | +include hd in | |
| 234 | +/-- Differentiating the true initial primitive proves the left-inverse identity. -/ | |
| 235 | +theorem initialCoordinateOperator_product (u : TimeLp T U) : | |
| 236 | + initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u) = u := by | |
| 237 | + apply Lp.ext | |
| 238 | + have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 239 | + change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 240 | + rw [← restrict_Ioo_eq_restrict_Icc] | |
| 241 | + exact ae_restrict_mem measurableSet_Ioo | |
| 242 | + filter_upwards [hmem, | |
| 243 | + (initialCoordinates_h1 T hT Q Q₁ c hc hQ hd (initialProductDerivative T hT Q Q₁ u)).2.2, | |
| 244 | + initialRealPrimitive_hasDerivAt_ae T u] with t ht hcoord hu | |
| 245 | + have he : initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) =ᶠ[𝓝 t] | |
| 246 | + initialRealPrimitive T u := by | |
| 247 | + filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs | |
| 248 | + exact initialCoordinates_product T hT Q Q₁ c hc hQ hd u ⟨s, hs⟩ | |
| 249 | + exact hcoord.unique (hu.congr_of_eventuallyEq he) | |
| 250 | + | |
| 251 | +theorem initialCoordinateOperator_norm_le : | |
| 252 | + ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ transportCost T Q Q₁ c := by | |
| 253 | + have hb := product_norm_le T hT (initialPrimitiveTimeLp T hT) | |
| 254 | + (initialPrimitive_norm_le_time T hT) (frameLeftInversePath T Q c hc hQ) | |
| 255 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 256 | + have hpath := add_le_add | |
| 257 | + (mul_le_mul_of_nonneg_left (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hT) | |
| 258 | + (frameLeftInversePath_norm T Q c hc hQ) | |
| 259 | + change ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ _ at hb | |
| 260 | + apply hb.trans (hpath.trans _) | |
| 261 | + unfold transportCost | |
| 262 | + linarith | |
| 263 | + | |
| 264 | +include hd hc hQ in | |
| 265 | +theorem norm_le_initialProductDerivative (u : TimeLp T U) : | |
| 266 | + ‖u‖ ≤ transportCost T Q Q₁ c * ‖initialProductDerivative T hT Q Q₁ u‖ := by | |
| 267 | + calc | |
| 268 | + ‖u‖ = ‖initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u)‖ := by | |
| 269 | + rw [initialCoordinateOperator_product T hT Q Q₁ c hc hQ hd] | |
| 270 | + _ ≤ ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ * | |
| 271 | + ‖initialProductDerivative T hT Q Q₁ u‖ := le_opNorm _ _ | |
| 272 | + _ ≤ _ := mul_le_mul_of_nonneg_right (initialCoordinateOperator_norm_le T hT Q Q₁ c hc hQ) | |
| 273 | + (norm_nonneg _) | |
| 274 | + | |
| 275 | +include hd hc hQ in | |
| 276 | +/-- A difference of coordinate derivatives is bounded by the physical | |
| 277 | +difference and the literal change of the frame coefficients. -/ | |
| 278 | +theorem norm_sub_le_initialProductDerivative | |
| 279 | + (P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (u v : TimeLp T U) : | |
| 280 | + ‖u-v‖ ≤ transportCost T Q Q₁ c * | |
| 281 | + (‖initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v‖ + | |
| 282 | + (T * ‖Q₁-P₁‖ + ‖Q-P‖) * ‖v‖) := by | |
| 283 | + apply (norm_le_initialProductDerivative T hT Q Q₁ c hc hQ hd (u-v)).trans | |
| 284 | + apply mul_le_mul_of_nonneg_left _ (transportCost_pos T hT Q Q₁ c hc).le | |
| 285 | + have he : initialProductDerivative T hT Q Q₁ (u-v) = | |
| 286 | + (initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v) - | |
| 287 | + (initialProductDerivative T hT Q Q₁ - initialProductDerivative T hT P P₁) v := by | |
| 288 | + rw [map_sub, sub_apply] | |
| 289 | + abel | |
| 290 | + rw [he] | |
| 291 | + apply (norm_sub_le _ _).trans (add_le_add (le_refl _) _) | |
| 292 | + exact (le_opNorm _ _).trans (mul_le_mul_of_nonneg_right | |
| 293 | + (product_sub_norm_le T hT _ (initialPrimitive_norm_le_time T hT) Q Q₁ P P₁) (norm_nonneg v)) | |
| 294 | + | |
| 295 | +end EulerTransverseInitialInverse | |
| 296 | +end | |
| 297 | + | |
| 298 | +end | |
| 299 | + | |
| 14 | 300 | noncomputable section |
| 15 | 301 | |
| 16 | 302 | |
+0 −160 Euler/TransverseEndpointEquation.lean deleted
| @@ -1,160 +0,0 @@ | ||
| 1 | -import Euler.TransverseEndpointDifferentiation | |
| 2 | -import Euler.TransverseEndpointUniqueness | |
| 3 | -import Euler.TransverseForwardInverse | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -The actual nonzero-terminal stationary displacement satisfies source (10). | |
| 7 | -Its coordinate velocity solves the very same homogeneous first-order | |
| 8 | -generator used by the packet's forward inverse. The identity is proved by | |
| 9 | -differentiating the constructed momentum, including the endpoint derivatives. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | - | |
| 15 | -namespace EulerTransverseEndpointEquation | |
| 16 | - | |
| 17 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 18 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 19 | - EulerVolterraConvolution EulerTransverseGramInverse EulerTransverseGramPath | |
| 20 | - EulerTransverseInitialCoordinates EulerTransverseStrongAlgebra | |
| 21 | - EulerTransverseMomentumRegularity EulerTransverseEndpointMomentum | |
| 22 | - EulerTransverseEndpointVelocity EulerTransverseEndpointDifferentiation | |
| 23 | - EulerTransverseEndpointEnergy EulerTransverseForwardInverse EulerLinearDuhamel | |
| 24 | - | |
| 25 | -variable {U E : Type*} | |
| 26 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 27 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 28 | - | |
| 29 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 30 | - (Q Q₁ Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 31 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 32 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 33 | - | |
| 34 | -theorem rawCoordinateAcceleration_projected (hTpos : 0 < T) | |
| 35 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 36 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 37 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 38 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 39 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 40 | - (u : TimeLp T E) | |
| 41 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 42 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 43 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 44 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 45 | - (t : Icc (0 : ℝ) T) : | |
| 46 | - gram (Q t) (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) = | |
| 47 | - (Q t).adjoint (0 - (2 : ℝ) • Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) := by | |
| 48 | - have hp := momentumPath_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hweak huRange t | |
| 49 | - have hξ := initialCoordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hweak huRange t | |
| 50 | - have hv := coordinateVelocityPath_hasDerivWithinAt_raw T hT Q Q₁ Q₂ c hc hQ H | |
| 51 | - hTpos hd hd₁ u hweak huRange t | |
| 52 | - have hG := gramPath_hasDerivWithinAt T Q Q₁ hT hd t | |
| 53 | - have hC := mixedPath_hasDerivWithinAt T Q Q₁ Q₂ hT hd hd₁ t | |
| 54 | - have hb := (hG.clm_apply hv).add (hC.clm_apply hξ) | |
| 55 | - change HasDerivWithinAt | |
| 56 | - (fun s => extendPath T hT (gramPath T Q) s (coordinateVelocityPath T hT Q Q₁ c hc hQ H u s) + | |
| 57 | - extendPath T hT (mixedPath T Q Q₁) s (initialCoordinates T hT Q c hc hQ u s)) _ _ _ at hb | |
| 58 | - have he : (fun s => extendPath T hT (gramPath T Q) s | |
| 59 | - (coordinateVelocityPath T hT Q Q₁ c hc hQ H u s) + | |
| 60 | - extendPath T hT (mixedPath T Q Q₁) s (initialCoordinates T hT Q c hc hQ u s)) = | |
| 61 | - momentumPath T hT Q Q₁ H u := | |
| 62 | - funext (coordinateMomentum_identity T hT Q Q₁ c hc hQ H u) | |
| 63 | - rw [he] at hb | |
| 64 | - have hbal := (hp.derivWithin ((uniqueDiffOn_Icc hTpos) t t.property)).symm.trans | |
| 65 | - (hb.derivWithin ((uniqueDiffOn_Icc hTpos) t t.property)) | |
| 66 | - have hη := initialCoordinates_reconstruct T hT Q c hc hQ u huRange t | |
| 67 | - simp only [momentumDerivativePath, extendPath, projIcc_of_mem hT t.property] at hbal | |
| 68 | - rw [← hη] at hbal | |
| 69 | - apply projected_equation_of_momentum_balance (Q t) (Q₁ t) (Q₂ t) (H t) | |
| 70 | - (initialCoordinates T hT Q c hc hQ u t) (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) | |
| 71 | - (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) | |
| 72 | - (physicalVelocityPath T hT Q Q₁ c hc hQ H u t) 0 | |
| 73 | - · simp only [physicalVelocityPath, extendPath, projIcc_of_mem hT t.property] | |
| 74 | - · exact hframe t | |
| 75 | - · change _ = | |
| 76 | - ((Q₁ t).adjoint.comp (Q t) + (Q t).adjoint.comp (Q₁ t)) | |
| 77 | - (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) + | |
| 78 | - gram (Q t) (rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t) + | |
| 79 | - (((Q₁ t).adjoint.comp (Q₁ t) + (Q t).adjoint.comp (Q₂ t)) | |
| 80 | - (initialCoordinates T hT Q c hc hQ u t) + | |
| 81 | - (Q t).adjoint (Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t))) at hbal | |
| 82 | - simpa only [map_zero, add_zero, add_assoc] using hbal | |
| 83 | - | |
| 84 | -theorem rawCoordinateAcceleration_eq_generator (hTpos : 0 < T) | |
| 85 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 86 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 87 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 88 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 89 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 90 | - (u : TimeLp T E) | |
| 91 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 92 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 93 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 94 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 95 | - (t : Icc (0 : ℝ) T) : | |
| 96 | - rawCoordinateAcceleration T hT Q Q₁ Q₂ c hc hQ H u t = | |
| 97 | - generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) := by | |
| 98 | - have he := congrArg (gramInverse (Q t) c hc (hQ t)) | |
| 99 | - (rawCoordinateAcceleration_projected T hT Q Q₁ Q₂ c hc hQ H | |
| 100 | - hTpos hd hd₁ hframe u hweak huRange t) | |
| 101 | - rw [inverse_gram_apply] at he | |
| 102 | - change _ = (-2 : ℝ) • gramInverse (Q t) c hc (hQ t) | |
| 103 | - ((Q t).adjoint (Q₁ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t))) | |
| 104 | - simpa only [map_sub, map_zero, map_smul, zero_sub, neg_smul, map_neg] using he | |
| 105 | - | |
| 106 | -/-- Equation (10) for the actual coordinate displacement, written as the | |
| 107 | -first-order equation for its genuine derivative. -/ | |
| 108 | -theorem coordinateVelocityPath_hasDerivWithinAt_generator (hTpos : 0 < T) | |
| 109 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 110 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 111 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 112 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 113 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 114 | - (u : TimeLp T E) | |
| 115 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 116 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 117 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 118 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 119 | - (t : Icc (0 : ℝ) T) : | |
| 120 | - HasDerivWithinAt (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) | |
| 121 | - (generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) | |
| 122 | - (Icc (0 : ℝ) T) t := by | |
| 123 | - have hdv := coordinateVelocityPath_hasDerivWithinAt_raw T hT Q Q₁ Q₂ c hc hQ H | |
| 124 | - hTpos hd hd₁ u hweak huRange t | |
| 125 | - rwa [rawCoordinateAcceleration_eq_generator T hT Q Q₁ Q₂ c hc hQ H | |
| 126 | - hTpos hd hd₁ hframe u hweak huRange t] at hdv | |
| 127 | - | |
| 128 | -/-- The nonzero-terminal inverse used in activation has genuine first and | |
| 129 | -second coordinate derivatives satisfying the source's homogeneous equation. -/ | |
| 130 | -theorem endpoint_coordinate_equation (hTpos : 0 < T) | |
| 131 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 132 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 133 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 134 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 135 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 136 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 137 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 138 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 139 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 140 | - {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 141 | - (L : V →L[ℝ] TimeLp T E) | |
| 142 | - (hL : ∀ Y t, ⟪m t, initialPrimitive T hT (L Y) t⟫_ℝ = 0) | |
| 143 | - (Y : V) (t : Icc (0 : ℝ) T) : | |
| 144 | - let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 145 | - HasDerivWithinAt (initialCoordinates T hT Q c hc hQ u) | |
| 146 | - (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t) (Icc (0 : ℝ) T) t ∧ | |
| 147 | - HasDerivWithinAt (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) | |
| 148 | - (generator T Q Q₁ c hc hQ t (coordinateVelocityPath T hT Q Q₁ c hc hQ H u t)) | |
| 149 | - (Icc (0 : ℝ) T) t := by | |
| 150 | - let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 151 | - have huRange : ∀ s : Icc (0 : ℝ) T, ∃ x : U, Q s x = initialRealPrimitive T u s := by | |
| 152 | - intro s | |
| 153 | - exact hRange s _ (endpointDisplacement_tangent T hT m H K hK hH hsmall L hL Y s) | |
| 154 | - have hw := initialMomentum_weak T hT Q Q₁ H hd m hm u | |
| 155 | - (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 156 | - exact ⟨initialCoordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ H hTpos hd u hw huRange t, | |
| 157 | - coordinateVelocityPath_hasDerivWithinAt_generator T hT Q Q₁ Q₂ c hc hQ H | |
| 158 | - hTpos hd hd₁ hframe u hw huRange t⟩ | |
| 159 | - | |
| 160 | -end EulerTransverseEndpointEquation | |
+0 −133 Euler/TransverseEndpointGreen.lean deleted
| @@ -1,133 +0,0 @@ | ||
| 1 | -import Euler.TransverseInitialCoordinates | |
| 2 | -import Euler.TransverseEndpointMomentum | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -The actual Green identity for the constructed stationary transverse path. | |
| 6 | -Its endpoint energy is the terminal momentum paired with terminal coordinates. | |
| 7 | -All time boundary terms are obtained from absolute continuity and the genuine | |
| 8 | -H¹ coordinate reconstruction. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | - | |
| 14 | -namespace EulerTransverseEndpointGreen | |
| 15 | - | |
| 16 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 17 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 18 | - EulerVolterraConvolution EulerTimeWeakDerivative EulerTransverseGramInverse | |
| 19 | - EulerTransverseGramPath EulerTransverseInitialCoordinates | |
| 20 | - EulerTransverseMomentumRegularity EulerTransverseEndpointMomentum | |
| 21 | - EulerTransverseEndpointEnergy EulerTransverseVariationalInverse | |
| 22 | - | |
| 23 | -variable {U E : Type*} | |
| 24 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 25 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 26 | - | |
| 27 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 28 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 29 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 30 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 31 | - | |
| 32 | -/-- The exact boundary identity for any genuine tangent initial-zero test path. -/ | |
| 33 | -theorem initial_coordinate_green (hTpos : 0 < T) | |
| 34 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 35 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 36 | - (u v : TimeLp T E) | |
| 37 | - (hweak : ∀ w : TimeLp T U, initialTrace T hT w = 0 → | |
| 38 | - ⟪momentum T hT Q u, w⟫_ℝ = | |
| 39 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT w⟫_ℝ) | |
| 40 | - (hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t) : | |
| 41 | - ⟪energyOperator T hT H u, v⟫_ℝ = | |
| 42 | - ⟪terminalMomentum T hT Q Q₁ H u, initialCoordinates T hT Q c hc hQ v T⟫_ℝ := by | |
| 43 | - let φ : ℝ → ℝ := fun t => | |
| 44 | - ⟪momentumPath T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ | |
| 45 | - have hξ := initialCoordinates_h1 T hT Q Q₁ c hc hQ hd v | |
| 46 | - have hφ : AbsolutelyContinuousOnInterval φ 0 T := | |
| 47 | - absolutelyContinuous_inner (momentumPath_absolutelyContinuous T hT Q Q₁ H u) hξ.1 | |
| 48 | - have hftc : (∫ t, deriv φ t ∂timeMeasure T) = φ T - φ 0 := by | |
| 49 | - change (∫ t in Icc (0 : ℝ) T, deriv φ t) = _ | |
| 50 | - rw [integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] | |
| 51 | - exact hφ.integral_deriv_eq_sub | |
| 52 | - have hder : ∀ᵐ t ∂timeMeasure T, | |
| 53 | - ⟪u t, v t⟫_ℝ - | |
| 54 | - ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, | |
| 55 | - initialPrimitiveTimeLp T hT v t⟫_ℝ = deriv φ t := by | |
| 56 | - filter_upwards [ae_restrict_mem measurableSet_Icc, | |
| 57 | - momentumPath_ae_of_weak T hT Q Q₁ H hTpos u hweak, | |
| 58 | - momentum_ae T hT Q u, | |
| 59 | - momentumPath_hasDerivAt_ae T hT Q Q₁ H u, hξ.2.2, | |
| 60 | - initialCoordinateDerivative_reconstruct_ae T hT Q Q₁ c hc hQ hd v hvRange, | |
| 61 | - initialMomentumForcing_ae T hT Q Q₁ H u, | |
| 62 | - initialPrimitiveTimeLp_ae T hT u, initialPrimitiveTimeLp_ae T hT v, | |
| 63 | - timeMultiplier_ae T hT H (initialPrimitiveTimeLp T hT u)] | |
| 64 | - with t ht hp hpu hpd hξd hv hf hηu hηv hHu | |
| 65 | - have hp' : momentumPath T hT Q Q₁ H u t = (extendPath T hT Q t).adjoint (u t) := | |
| 66 | - hp.symm.trans hpu | |
| 67 | - have hη : extendPath T hT Q t (initialCoordinates T hT Q c hc hQ v t) = | |
| 68 | - initialRealPrimitive T v t := by | |
| 69 | - simpa only [extendPath, projIcc_of_mem hT ht] using | |
| 70 | - initialCoordinates_reconstruct T hT Q c hc hQ v hvRange ⟨t, ht⟩ | |
| 71 | - have hφd : deriv φ t = | |
| 72 | - ⟪initialMomentumForcing T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ + | |
| 73 | - ⟪momentumPath T hT Q Q₁ H u t, | |
| 74 | - initialCoordinateDerivative T hT Q Q₁ c hc hQ v t⟫_ℝ := | |
| 75 | - by simpa only [φ, add_comm] using (hpd.inner ℝ hξd).deriv | |
| 76 | - rw [hφd, hf, hp', hHu, hηu, hηv, hv, ← hη] | |
| 77 | - simp only [inner_add_right, inner_sub_left, adjoint_inner_left] | |
| 78 | - ring | |
| 79 | - calc | |
| 80 | - ⟪energyOperator T hT H u, v⟫_ℝ = | |
| 81 | - ∫ t, ⟪u t, v t⟫_ℝ - | |
| 82 | - ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, | |
| 83 | - initialPrimitiveTimeLp T hT v t⟫_ℝ ∂timeMeasure T := by | |
| 84 | - rw [energyOperator_inner, L2.inner_def, L2.inner_def] | |
| 85 | - exact (integral_sub (L2.integrable_inner u v) | |
| 86 | - (L2.integrable_inner (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)) | |
| 87 | - (initialPrimitiveTimeLp T hT v))).symm | |
| 88 | - _ = ∫ t, deriv φ t ∂timeMeasure T := integral_congr_ae hder | |
| 89 | - _ = φ T - φ 0 := hftc | |
| 90 | - _ = _ := by | |
| 91 | - simp only [φ, momentumPath_terminal, initialCoordinates_initial, inner_zero_right, sub_zero] | |
| 92 | - | |
| 93 | -variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] | |
| 94 | - | |
| 95 | -/-- The true terminal coordinate map associated with a physical terminal trace. -/ | |
| 96 | -def terminalCoordinates (R : V →L[ℝ] E) : V →L[ℝ] U := | |
| 97 | - (frameLeftInversePath T Q c hc hQ ⟨T, hT, le_rfl⟩).comp R | |
| 98 | - | |
| 99 | -/-- The constructed endpoint energy operator is exactly the pulled-back terminal momentum. -/ | |
| 100 | -theorem dirichletToNeumann_eq_terminalMomentum (hTpos : 0 < T) | |
| 101 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 102 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 103 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 104 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 105 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 106 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 107 | - (L : V →L[ℝ] TimeLp T E) (R : V →L[ℝ] E) | |
| 108 | - (hL : ∀ Y t, ⟪m t, initialPrimitive T hT (L Y) t⟫_ℝ = 0) | |
| 109 | - (hLT : ∀ Y, initialPrimitive T hT (L Y) ⟨T, hT, le_rfl⟩ = R Y) (Y : V) : | |
| 110 | - dirichletToNeumann T hT m H K hK hH hsmall L Y = | |
| 111 | - (terminalCoordinates T hT Q c hc hQ R).adjoint | |
| 112 | - (terminalMomentum T hT Q Q₁ H (endpointDerivative T hT m H K hK hH hsmall L Y)) := by | |
| 113 | - apply ext_inner_right ℝ | |
| 114 | - intro Z | |
| 115 | - let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 116 | - let v := endpointDerivative T hT m H K hK hH hsmall L Z | |
| 117 | - have hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t := by | |
| 118 | - intro t | |
| 119 | - exact hRange t _ (endpointDisplacement_tangent T hT m H K hK hH hsmall L hL Z t) | |
| 120 | - have hw := initialMomentum_weak T hT Q Q₁ H hd m hm u | |
| 121 | - (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 122 | - have hg := initial_coordinate_green T hT Q Q₁ c hc hQ H hTpos hd u v hw hvRange | |
| 123 | - have hterm : initialRealPrimitive T v T = R Z := | |
| 124 | - (endpointDisplacement_terminal T hT m H K hK hH hsmall L Z).trans (hLT Z) | |
| 125 | - have hcoords : initialCoordinates T hT Q c hc hQ v T = | |
| 126 | - terminalCoordinates T hT Q c hc hQ R Z := by | |
| 127 | - simp only [initialCoordinates, extendPath, projIcc_of_mem hT (show T ∈ Icc (0 : ℝ) T from | |
| 128 | - ⟨hT, le_rfl⟩), hterm, terminalCoordinates, comp_apply] | |
| 129 | - rw [energyOperator_inner, hcoords] at hg | |
| 130 | - rw [dirichletToNeumann_inner, adjoint_inner_left] | |
| 131 | - exact hg | |
| 132 | - | |
| 133 | -end EulerTransverseEndpointGreen | |
+0 −141 Euler/TransverseEndpointMomentum.lean deleted
| @@ -1,141 +0,0 @@ | ||
| 1 | -import Euler.TransverseEndpointEnergy | |
| 2 | -import Euler.TransverseMomentumRegularity | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -The actual transverse momentum for an initial-zero stationary path whose | |
| 6 | -terminal displacement may be nonzero. A canonical bounded terminal momentum | |
| 7 | -map is obtained from the weak equation and the true time primitive. Its | |
| 8 | -continuous representative and derivative are conclusions, not extra data. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | - | |
| 14 | -namespace EulerTransverseEndpointMomentum | |
| 15 | - | |
| 16 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 17 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 18 | - EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeWeakDerivative | |
| 19 | - EulerTransverseVariationalInverse EulerTransverseMomentumRegularity | |
| 20 | - EulerTransverseEndpointEnergy | |
| 21 | - | |
| 22 | -variable {U E : Type*} | |
| 23 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 25 | - | |
| 26 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 27 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 28 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 29 | - | |
| 30 | -/-- The literal derivative of Q*η_t for the homogeneous stationary equation. -/ | |
| 31 | -def initialMomentumForcing : TimeLp T E →L[ℝ] TimeLp T U := | |
| 32 | - (timeMultiplier T hT Q₁).adjoint - | |
| 33 | - (timeMultiplier T hT Q).adjoint.comp | |
| 34 | - ((timeMultiplier T hT H).comp (initialPrimitiveTimeLp T hT)) | |
| 35 | - | |
| 36 | -theorem initialMomentumForcing_ae (u : TimeLp T E) : | |
| 37 | - (initialMomentumForcing T hT Q Q₁ H u : ℝ → U) =ᵐ[timeMeasure T] | |
| 38 | - fun t => (extendPath T hT Q₁ t).adjoint (u t) - | |
| 39 | - (extendPath T hT Q t).adjoint (extendPath T hT H t (initialRealPrimitive T u t)) := by | |
| 40 | - change (momentum T hT Q₁ u - | |
| 41 | - momentum T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)) : TimeLp T U) | |
| 42 | - =ᵐ[timeMeasure T] _ | |
| 43 | - filter_upwards [Lp.coeFn_sub (momentum T hT Q₁ u) | |
| 44 | - (momentum T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u))), | |
| 45 | - momentum_ae T hT Q₁ u, | |
| 46 | - momentum_ae T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)), | |
| 47 | - timeMultiplier_ae T hT H (initialPrimitiveTimeLp T hT u), | |
| 48 | - initialPrimitiveTimeLp_ae T hT u] with t hs hq₁ hq hH hη | |
| 49 | - simp only [Pi.sub_apply] at hs | |
| 50 | - rw [hs, hq₁, hq, hH, hη] | |
| 51 | - | |
| 52 | -/-- The weak derivative identity is extracted from genuine transverse product tests. -/ | |
| 53 | -theorem initialMomentum_weak | |
| 54 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 55 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 56 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 57 | - (u : TimeLp T E) | |
| 58 | - (hu : ∀ v : transverseDerivatives T hT m, | |
| 59 | - ⟪u, (v : TimeLp T E)⟫_ℝ - | |
| 60 | - ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u), | |
| 61 | - transversePrimitive T hT m v⟫_ℝ = 0) | |
| 62 | - (v : TimeLp T U) (hv : initialTrace T hT v = 0) : | |
| 63 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 64 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ := by | |
| 65 | - have ht := hu ⟨productDerivative T hT Q Q₁ v, | |
| 66 | - productDerivative_mem_transverse T hT Q Q₁ hd m hm v hv⟩ | |
| 67 | - change ⟪u, productDerivative T hT Q Q₁ v⟫_ℝ - | |
| 68 | - ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u), | |
| 69 | - primitiveTimeLp T hT (productDerivative T hT Q Q₁ v)⟫_ℝ = 0 at ht | |
| 70 | - rw [primitiveTimeLp_productDerivative T hT Q Q₁ hd] at ht | |
| 71 | - simp only [productDerivative, add_apply, comp_apply, inner_add_right] at ht | |
| 72 | - simp only [momentum, initialMomentumForcing, sub_apply, comp_apply, | |
| 73 | - inner_sub_left, adjoint_inner_left] | |
| 74 | - linarith only [ht] | |
| 75 | - | |
| 76 | -/-- A bounded linear map giving the terminal value of the actual momentum. -/ | |
| 77 | -def terminalMomentum : TimeLp T E →L[ℝ] U := | |
| 78 | - (-T)⁻¹ • (initialTrace T hT).comp | |
| 79 | - ((timeMultiplier T hT Q).adjoint - | |
| 80 | - (primitiveTimeLp T hT).comp (initialMomentumForcing T hT Q Q₁ H)) | |
| 81 | - | |
| 82 | -/-- The canonical momentum representative, including both time endpoints. -/ | |
| 83 | -def momentumPath (u : TimeLp T E) (t : ℝ) : U := | |
| 84 | - realPrimitive T (initialMomentumForcing T hT Q Q₁ H u) t + | |
| 85 | - terminalMomentum T hT Q Q₁ H u | |
| 86 | - | |
| 87 | -theorem momentumPath_continuous (u : TimeLp T E) : | |
| 88 | - Continuous (momentumPath T hT Q Q₁ H u) := | |
| 89 | - (realPrimitive_continuous T _).add continuous_const | |
| 90 | - | |
| 91 | -theorem momentumPath_absolutelyContinuous (u : TimeLp T E) : | |
| 92 | - AbsolutelyContinuousOnInterval (momentumPath T hT Q Q₁ H u) 0 T := | |
| 93 | - (realPrimitive_absolutelyContinuous T _).add | |
| 94 | - ((LipschitzWith.const _).lipschitzOnWith.absolutelyContinuousOnInterval) | |
| 95 | - | |
| 96 | -theorem momentumPath_terminal (u : TimeLp T E) : | |
| 97 | - momentumPath T hT Q Q₁ H u T = terminalMomentum T hT Q Q₁ H u := by | |
| 98 | - simp only [momentumPath, realPrimitive_terminal, zero_add] | |
| 99 | - | |
| 100 | -theorem momentumPath_hasDerivAt_ae (u : TimeLp T E) : | |
| 101 | - ∀ᵐ t ∂timeMeasure T, HasDerivAt (momentumPath T hT Q Q₁ H u) | |
| 102 | - (initialMomentumForcing T hT Q Q₁ H u t) t := by | |
| 103 | - filter_upwards [realPrimitive_hasDerivAt_ae T (initialMomentumForcing T hT Q Q₁ H u)] | |
| 104 | - with t ht | |
| 105 | - exact ht.add_const _ | |
| 106 | - | |
| 107 | -theorem momentum_eq_primitive_add_terminal (hTpos : 0 < T) (u : TimeLp T E) | |
| 108 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 109 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 110 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) : | |
| 111 | - momentum T hT Q u = primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u) + | |
| 112 | - constantField T hT (terminalMomentum T hT Q Q₁ H u) := by | |
| 113 | - obtain ⟨v, hv⟩ := weak_derivative_eq_primitive_add_constant T hTpos | |
| 114 | - (momentum T hT Q u) (initialMomentumForcing T hT Q Q₁ H u) hweak | |
| 115 | - have hr : momentum T hT Q u - | |
| 116 | - primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u) = | |
| 117 | - constantField T hT v := by | |
| 118 | - rw [hv] | |
| 119 | - abel | |
| 120 | - have hc : terminalMomentum T hT Q Q₁ H u = v := by | |
| 121 | - change (-T)⁻¹ • initialTrace T hT (momentum T hT Q u - | |
| 122 | - primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u)) = v | |
| 123 | - rw [hr, initialTrace_constantField, smul_smul, | |
| 124 | - inv_mul_cancel₀ (neg_ne_zero.mpr hTpos.ne'), one_smul] | |
| 125 | - rw [hc] | |
| 126 | - exact hv | |
| 127 | - | |
| 128 | -theorem momentumPath_ae_of_weak (hTpos : 0 < T) (u : TimeLp T E) | |
| 129 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 130 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 131 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) : | |
| 132 | - (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] momentumPath T hT Q Q₁ H u := by | |
| 133 | - rw [momentum_eq_primitive_add_terminal T hT Q Q₁ H hTpos u hweak] | |
| 134 | - filter_upwards [Lp.coeFn_add | |
| 135 | - (primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u)) | |
| 136 | - (constantField T hT (terminalMomentum T hT Q Q₁ H u)), | |
| 137 | - primitiveTimeLp_ae T hT (initialMomentumForcing T hT Q Q₁ H u), | |
| 138 | - constantField_ae T hT (terminalMomentum T hT Q Q₁ H u)] with t ha hp hc | |
| 139 | - simpa only [Pi.add_apply, hp, hc, momentumPath] using ha | |
| 140 | - | |
| 141 | -end EulerTransverseEndpointMomentum | |
+0 −81 Euler/TransverseEndpointParameter.lean deleted
| @@ -1,81 +0,0 @@ | ||
| 1 | -import Euler.TransverseFixedEndpoint | |
| 2 | -import Euler.TransverseParameterRegularity | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -Actual parameter regularity of the nonzero-terminal transverse inverse. | |
| 6 | -The initial-zero energy and fixed-coordinate correction depend smoothly on | |
| 7 | -the coefficient paths. An explicit affine coordinate trial implements the | |
| 8 | -same terminal coordinate at neighboring labels. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | - | |
| 14 | -namespace EulerTransverseEndpointParameter | |
| 15 | - | |
| 16 | -open Set InnerProductSpace ContinuousLinearMap | |
| 17 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 18 | - EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 19 | - EulerTimeLpCoefficientMap EulerTransverseVariationalInverse EulerTransverseGramInverse | |
| 20 | - EulerTransverseFixedSpaceInverse EulerTransverseParameterRegularity | |
| 21 | - EulerTransverseEndpointEnergy EulerTransverseFixedEndpoint | |
| 22 | - EulerCoerciveProjection EulerHilbertCoerciveParameter | |
| 23 | -open scoped ContDiff | |
| 24 | - | |
| 25 | -variable {P U E V : Type*} | |
| 26 | - [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 27 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 28 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 29 | - [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 30 | - | |
| 31 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 32 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 33 | - (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 34 | - {n : ℕ∞ω} | |
| 35 | - | |
| 36 | -variable (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c * ‖v‖ ^ 2 ≤ ‖Q x t v‖ ^ 2) | |
| 37 | - (hd : ∀ x (t : Icc (0 : ℝ) T), | |
| 38 | - HasDerivWithinAt (extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) | |
| 39 | - (K : ℝ) (hK : 0 ≤ K) (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) | |
| 40 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 41 | - | |
| 42 | -section AffineTrial | |
| 43 | - | |
| 44 | -variable (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 45 | - | |
| 46 | -/-- The exact derivative of `(t/T) Q(t) ξT`. -/ | |
| 47 | -def affineTrial : U →L[ℝ] TimeLp T E := | |
| 48 | - (initialProductDerivative T hT A A₁).comp | |
| 49 | - ((constantFieldOperator T hT).comp (T⁻¹ • ContinuousLinearMap.id ℝ U)) | |
| 50 | - | |
| 51 | -theorem affineTrial_primitive | |
| 52 | - (hA : ∀ t : Icc (0 : ℝ) T, | |
| 53 | - HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 54 | - (ξT : U) (t : Icc (0 : ℝ) T) : | |
| 55 | - initialPrimitive T hT (affineTrial T hT A A₁ ξT) t = | |
| 56 | - A t (((t : ℝ) / T) • ξT) := by | |
| 57 | - change initialPrimitive T hT | |
| 58 | - (initialProductDerivative T hT A A₁ (constantFieldOperator T hT (T⁻¹ • ξT))) t = _ | |
| 59 | - rw [initialPrimitive_initialProductDerivative T hT A A₁ hA, | |
| 60 | - initialPrimitive_constantFieldOperator, smul_smul, div_eq_mul_inv] | |
| 61 | - | |
| 62 | -theorem affineTrial_terminal (hTpos : 0 < T) | |
| 63 | - (hA : ∀ t : Icc (0 : ℝ) T, | |
| 64 | - HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 65 | - (ξT : U) : | |
| 66 | - initialPrimitive T hT (affineTrial T hT A A₁ ξT) ⟨T, hT, le_rfl⟩ = | |
| 67 | - A ⟨T, hT, le_rfl⟩ ξT := by | |
| 68 | - rw [affineTrial_primitive T hT A A₁ hA, div_self hTpos.ne', one_smul] | |
| 69 | - | |
| 70 | -theorem affineTrial_tangent | |
| 71 | - (hA : ∀ t : Icc (0 : ℝ) T, | |
| 72 | - HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 73 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t v, ⟪m t, A t v⟫_ℝ = 0) | |
| 74 | - (ξT : U) (t : Icc (0 : ℝ) T) : | |
| 75 | - ⟪m t, initialPrimitive T hT (affineTrial T hT A A₁ ξT) t⟫_ℝ = 0 := by | |
| 76 | - rw [affineTrial_primitive T hT A A₁ hA] | |
| 77 | - exact hm t _ | |
| 78 | - | |
| 79 | -end AffineTrial | |
| 80 | - | |
| 81 | -end EulerTransverseEndpointParameter | |
+291 −1 Euler/TransverseEndpointVelocity.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.TransverseEndpointGreen | |
| 1 | +import Euler.TransverseInitialCoordinates | |
| 2 | +import Euler.TransverseEndpointEnergy | |
| 3 | +import Euler.TransverseMomentumRegularity | |
| 2 | 4 | import Euler.TransverseStrongAlgebra |
| 3 | 5 | |
| 4 | 6 | /-! |
| @@ -9,6 +11,294 @@ within-interval derivative at every time. The endpoint energy operator is | ||
| 9 | 11 | therefore the actual projected terminal derivative. |
| 10 | 12 | -/ |
| 11 | 13 | |
| 14 | +/-! ## From `Euler/TransverseEndpointMomentum.lean` | |
| 15 | + | |
| 16 | +The text of `Euler/TransverseEndpointMomentum.lean`, folded into this file, which was its only importer. -/ | |
| 17 | + | |
| 18 | +section | |
| 19 | + | |
| 20 | +/-! | |
| 21 | +The actual transverse momentum for an initial-zero stationary path whose | |
| 22 | +terminal displacement may be nonzero. A canonical bounded terminal momentum | |
| 23 | +map is obtained from the weak equation and the true time primitive. Its | |
| 24 | +continuous representative and derivative are conclusions, not extra data. | |
| 25 | +-/ | |
| 26 | + | |
| 27 | +noncomputable section | |
| 28 | + | |
| 29 | + | |
| 30 | +namespace EulerTransverseEndpointMomentum | |
| 31 | + | |
| 32 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 33 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 34 | + EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeWeakDerivative | |
| 35 | + EulerTransverseVariationalInverse EulerTransverseMomentumRegularity | |
| 36 | + EulerTransverseEndpointEnergy | |
| 37 | + | |
| 38 | +variable {U E : Type*} | |
| 39 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 40 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 41 | + | |
| 42 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 43 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 44 | + (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 45 | + | |
| 46 | +/-- The literal derivative of Q*η_t for the homogeneous stationary equation. -/ | |
| 47 | +def initialMomentumForcing : TimeLp T E →L[ℝ] TimeLp T U := | |
| 48 | + (timeMultiplier T hT Q₁).adjoint - | |
| 49 | + (timeMultiplier T hT Q).adjoint.comp | |
| 50 | + ((timeMultiplier T hT H).comp (initialPrimitiveTimeLp T hT)) | |
| 51 | + | |
| 52 | +theorem initialMomentumForcing_ae (u : TimeLp T E) : | |
| 53 | + (initialMomentumForcing T hT Q Q₁ H u : ℝ → U) =ᵐ[timeMeasure T] | |
| 54 | + fun t => (extendPath T hT Q₁ t).adjoint (u t) - | |
| 55 | + (extendPath T hT Q t).adjoint (extendPath T hT H t (initialRealPrimitive T u t)) := by | |
| 56 | + change (momentum T hT Q₁ u - | |
| 57 | + momentum T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)) : TimeLp T U) | |
| 58 | + =ᵐ[timeMeasure T] _ | |
| 59 | + filter_upwards [Lp.coeFn_sub (momentum T hT Q₁ u) | |
| 60 | + (momentum T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u))), | |
| 61 | + momentum_ae T hT Q₁ u, | |
| 62 | + momentum_ae T hT Q (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)), | |
| 63 | + timeMultiplier_ae T hT H (initialPrimitiveTimeLp T hT u), | |
| 64 | + initialPrimitiveTimeLp_ae T hT u] with t hs hq₁ hq hH hη | |
| 65 | + simp only [Pi.sub_apply] at hs | |
| 66 | + rw [hs, hq₁, hq, hH, hη] | |
| 67 | + | |
| 68 | +/-- The weak derivative identity is extracted from genuine transverse product tests. -/ | |
| 69 | +theorem initialMomentum_weak | |
| 70 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 71 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 72 | + (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 73 | + (u : TimeLp T E) | |
| 74 | + (hu : ∀ v : transverseDerivatives T hT m, | |
| 75 | + ⟪u, (v : TimeLp T E)⟫_ℝ - | |
| 76 | + ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u), | |
| 77 | + transversePrimitive T hT m v⟫_ℝ = 0) | |
| 78 | + (v : TimeLp T U) (hv : initialTrace T hT v = 0) : | |
| 79 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 80 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ := by | |
| 81 | + have ht := hu ⟨productDerivative T hT Q Q₁ v, | |
| 82 | + productDerivative_mem_transverse T hT Q Q₁ hd m hm v hv⟩ | |
| 83 | + change ⟪u, productDerivative T hT Q Q₁ v⟫_ℝ - | |
| 84 | + ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u), | |
| 85 | + primitiveTimeLp T hT (productDerivative T hT Q Q₁ v)⟫_ℝ = 0 at ht | |
| 86 | + rw [primitiveTimeLp_productDerivative T hT Q Q₁ hd] at ht | |
| 87 | + simp only [productDerivative, add_apply, comp_apply, inner_add_right] at ht | |
| 88 | + simp only [momentum, initialMomentumForcing, sub_apply, comp_apply, | |
| 89 | + inner_sub_left, adjoint_inner_left] | |
| 90 | + linarith only [ht] | |
| 91 | + | |
| 92 | +/-- A bounded linear map giving the terminal value of the actual momentum. -/ | |
| 93 | +def terminalMomentum : TimeLp T E →L[ℝ] U := | |
| 94 | + (-T)⁻¹ • (initialTrace T hT).comp | |
| 95 | + ((timeMultiplier T hT Q).adjoint - | |
| 96 | + (primitiveTimeLp T hT).comp (initialMomentumForcing T hT Q Q₁ H)) | |
| 97 | + | |
| 98 | +/-- The canonical momentum representative, including both time endpoints. -/ | |
| 99 | +def momentumPath (u : TimeLp T E) (t : ℝ) : U := | |
| 100 | + realPrimitive T (initialMomentumForcing T hT Q Q₁ H u) t + | |
| 101 | + terminalMomentum T hT Q Q₁ H u | |
| 102 | + | |
| 103 | +theorem momentumPath_continuous (u : TimeLp T E) : | |
| 104 | + Continuous (momentumPath T hT Q Q₁ H u) := | |
| 105 | + (realPrimitive_continuous T _).add continuous_const | |
| 106 | + | |
| 107 | +theorem momentumPath_absolutelyContinuous (u : TimeLp T E) : | |
| 108 | + AbsolutelyContinuousOnInterval (momentumPath T hT Q Q₁ H u) 0 T := | |
| 109 | + (realPrimitive_absolutelyContinuous T _).add | |
| 110 | + ((LipschitzWith.const _).lipschitzOnWith.absolutelyContinuousOnInterval) | |
| 111 | + | |
| 112 | +theorem momentumPath_terminal (u : TimeLp T E) : | |
| 113 | + momentumPath T hT Q Q₁ H u T = terminalMomentum T hT Q Q₁ H u := by | |
| 114 | + simp only [momentumPath, realPrimitive_terminal, zero_add] | |
| 115 | + | |
| 116 | +theorem momentumPath_hasDerivAt_ae (u : TimeLp T E) : | |
| 117 | + ∀ᵐ t ∂timeMeasure T, HasDerivAt (momentumPath T hT Q Q₁ H u) | |
| 118 | + (initialMomentumForcing T hT Q Q₁ H u t) t := by | |
| 119 | + filter_upwards [realPrimitive_hasDerivAt_ae T (initialMomentumForcing T hT Q Q₁ H u)] | |
| 120 | + with t ht | |
| 121 | + exact ht.add_const _ | |
| 122 | + | |
| 123 | +theorem momentum_eq_primitive_add_terminal (hTpos : 0 < T) (u : TimeLp T E) | |
| 124 | + (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 125 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 126 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) : | |
| 127 | + momentum T hT Q u = primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u) + | |
| 128 | + constantField T hT (terminalMomentum T hT Q Q₁ H u) := by | |
| 129 | + obtain ⟨v, hv⟩ := weak_derivative_eq_primitive_add_constant T hTpos | |
| 130 | + (momentum T hT Q u) (initialMomentumForcing T hT Q Q₁ H u) hweak | |
| 131 | + have hr : momentum T hT Q u - | |
| 132 | + primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u) = | |
| 133 | + constantField T hT v := by | |
| 134 | + rw [hv] | |
| 135 | + abel | |
| 136 | + have hc : terminalMomentum T hT Q Q₁ H u = v := by | |
| 137 | + change (-T)⁻¹ • initialTrace T hT (momentum T hT Q u - | |
| 138 | + primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u)) = v | |
| 139 | + rw [hr, initialTrace_constantField, smul_smul, | |
| 140 | + inv_mul_cancel₀ (neg_ne_zero.mpr hTpos.ne'), one_smul] | |
| 141 | + rw [hc] | |
| 142 | + exact hv | |
| 143 | + | |
| 144 | +theorem momentumPath_ae_of_weak (hTpos : 0 < T) (u : TimeLp T E) | |
| 145 | + (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 146 | + ⟪momentum T hT Q u, v⟫_ℝ = | |
| 147 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) : | |
| 148 | + (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] momentumPath T hT Q Q₁ H u := by | |
| 149 | + rw [momentum_eq_primitive_add_terminal T hT Q Q₁ H hTpos u hweak] | |
| 150 | + filter_upwards [Lp.coeFn_add | |
| 151 | + (primitiveTimeLp T hT (initialMomentumForcing T hT Q Q₁ H u)) | |
| 152 | + (constantField T hT (terminalMomentum T hT Q Q₁ H u)), | |
| 153 | + primitiveTimeLp_ae T hT (initialMomentumForcing T hT Q Q₁ H u), | |
| 154 | + constantField_ae T hT (terminalMomentum T hT Q Q₁ H u)] with t ha hp hc | |
| 155 | + simpa only [Pi.add_apply, hp, hc, momentumPath] using ha | |
| 156 | + | |
| 157 | +end EulerTransverseEndpointMomentum | |
| 158 | +end | |
| 159 | + | |
| 160 | +end | |
| 161 | + | |
| 162 | +/-! ## From `Euler/TransverseEndpointGreen.lean` | |
| 163 | + | |
| 164 | +The text of `Euler/TransverseEndpointGreen.lean`, folded into this file, which was its only importer. -/ | |
| 165 | + | |
| 166 | +section | |
| 167 | + | |
| 168 | +/-! | |
| 169 | +The actual Green identity for the constructed stationary transverse path. | |
| 170 | +Its endpoint energy is the terminal momentum paired with terminal coordinates. | |
| 171 | +All time boundary terms are obtained from absolute continuity and the genuine | |
| 172 | +H¹ coordinate reconstruction. | |
| 173 | +-/ | |
| 174 | + | |
| 175 | +noncomputable section | |
| 176 | + | |
| 177 | + | |
| 178 | +namespace EulerTransverseEndpointGreen | |
| 179 | + | |
| 180 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 181 | + EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 182 | + EulerVolterraConvolution EulerTimeWeakDerivative EulerTransverseGramInverse | |
| 183 | + EulerTransverseGramPath EulerTransverseInitialCoordinates | |
| 184 | + EulerTransverseMomentumRegularity EulerTransverseEndpointMomentum | |
| 185 | + EulerTransverseEndpointEnergy EulerTransverseVariationalInverse | |
| 186 | + | |
| 187 | +variable {U E : Type*} | |
| 188 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 189 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 190 | + | |
| 191 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 192 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 193 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 194 | + (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 195 | + | |
| 196 | +/-- The exact boundary identity for any genuine tangent initial-zero test path. -/ | |
| 197 | +theorem initial_coordinate_green (hTpos : 0 < T) | |
| 198 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 199 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 200 | + (u v : TimeLp T E) | |
| 201 | + (hweak : ∀ w : TimeLp T U, initialTrace T hT w = 0 → | |
| 202 | + ⟪momentum T hT Q u, w⟫_ℝ = | |
| 203 | + -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT w⟫_ℝ) | |
| 204 | + (hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t) : | |
| 205 | + ⟪energyOperator T hT H u, v⟫_ℝ = | |
| 206 | + ⟪terminalMomentum T hT Q Q₁ H u, initialCoordinates T hT Q c hc hQ v T⟫_ℝ := by | |
| 207 | + let φ : ℝ → ℝ := fun t => | |
| 208 | + ⟪momentumPath T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ | |
| 209 | + have hξ := initialCoordinates_h1 T hT Q Q₁ c hc hQ hd v | |
| 210 | + have hφ : AbsolutelyContinuousOnInterval φ 0 T := | |
| 211 | + absolutelyContinuous_inner (momentumPath_absolutelyContinuous T hT Q Q₁ H u) hξ.1 | |
| 212 | + have hftc : (∫ t, deriv φ t ∂timeMeasure T) = φ T - φ 0 := by | |
| 213 | + change (∫ t in Icc (0 : ℝ) T, deriv φ t) = _ | |
| 214 | + rw [integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] | |
| 215 | + exact hφ.integral_deriv_eq_sub | |
| 216 | + have hder : ∀ᵐ t ∂timeMeasure T, | |
| 217 | + ⟪u t, v t⟫_ℝ - | |
| 218 | + ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, | |
| 219 | + initialPrimitiveTimeLp T hT v t⟫_ℝ = deriv φ t := by | |
| 220 | + filter_upwards [ae_restrict_mem measurableSet_Icc, | |
| 221 | + momentumPath_ae_of_weak T hT Q Q₁ H hTpos u hweak, | |
| 222 | + momentum_ae T hT Q u, | |
| 223 | + momentumPath_hasDerivAt_ae T hT Q Q₁ H u, hξ.2.2, | |
| 224 | + initialCoordinateDerivative_reconstruct_ae T hT Q Q₁ c hc hQ hd v hvRange, | |
| 225 | + initialMomentumForcing_ae T hT Q Q₁ H u, | |
| 226 | + initialPrimitiveTimeLp_ae T hT u, initialPrimitiveTimeLp_ae T hT v, | |
| 227 | + timeMultiplier_ae T hT H (initialPrimitiveTimeLp T hT u)] | |
| 228 | + with t ht hp hpu hpd hξd hv hf hηu hηv hHu | |
| 229 | + have hp' : momentumPath T hT Q Q₁ H u t = (extendPath T hT Q t).adjoint (u t) := | |
| 230 | + hp.symm.trans hpu | |
| 231 | + have hη : extendPath T hT Q t (initialCoordinates T hT Q c hc hQ v t) = | |
| 232 | + initialRealPrimitive T v t := by | |
| 233 | + simpa only [extendPath, projIcc_of_mem hT ht] using | |
| 234 | + initialCoordinates_reconstruct T hT Q c hc hQ v hvRange ⟨t, ht⟩ | |
| 235 | + have hφd : deriv φ t = | |
| 236 | + ⟪initialMomentumForcing T hT Q Q₁ H u t, initialCoordinates T hT Q c hc hQ v t⟫_ℝ + | |
| 237 | + ⟪momentumPath T hT Q Q₁ H u t, | |
| 238 | + initialCoordinateDerivative T hT Q Q₁ c hc hQ v t⟫_ℝ := | |
| 239 | + by simpa only [φ, add_comm] using (hpd.inner ℝ hξd).deriv | |
| 240 | + rw [hφd, hf, hp', hHu, hηu, hηv, hv, ← hη] | |
| 241 | + simp only [inner_add_right, inner_sub_left, adjoint_inner_left] | |
| 242 | + ring | |
| 243 | + calc | |
| 244 | + ⟪energyOperator T hT H u, v⟫_ℝ = | |
| 245 | + ∫ t, ⟪u t, v t⟫_ℝ - | |
| 246 | + ⟪timeMultiplier T hT H (initialPrimitiveTimeLp T hT u) t, | |
| 247 | + initialPrimitiveTimeLp T hT v t⟫_ℝ ∂timeMeasure T := by | |
| 248 | + rw [energyOperator_inner, L2.inner_def, L2.inner_def] | |
| 249 | + exact (integral_sub (L2.integrable_inner u v) | |
| 250 | + (L2.integrable_inner (timeMultiplier T hT H (initialPrimitiveTimeLp T hT u)) | |
| 251 | + (initialPrimitiveTimeLp T hT v))).symm | |
| 252 | + _ = ∫ t, deriv φ t ∂timeMeasure T := integral_congr_ae hder | |
| 253 | + _ = φ T - φ 0 := hftc | |
| 254 | + _ = _ := by | |
| 255 | + simp only [φ, momentumPath_terminal, initialCoordinates_initial, inner_zero_right, sub_zero] | |
| 256 | + | |
| 257 | +variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] | |
| 258 | + | |
| 259 | +/-- The true terminal coordinate map associated with a physical terminal trace. -/ | |
| 260 | +def terminalCoordinates (R : V →L[ℝ] E) : V →L[ℝ] U := | |
| 261 | + (frameLeftInversePath T Q c hc hQ ⟨T, hT, le_rfl⟩).comp R | |
| 262 | + | |
| 263 | +/-- The constructed endpoint energy operator is exactly the pulled-back terminal momentum. -/ | |
| 264 | +theorem dirichletToNeumann_eq_terminalMomentum (hTpos : 0 < T) | |
| 265 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 266 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 267 | + (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 268 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 269 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 270 | + (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 271 | + (L : V →L[ℝ] TimeLp T E) (R : V →L[ℝ] E) | |
| 272 | + (hL : ∀ Y t, ⟪m t, initialPrimitive T hT (L Y) t⟫_ℝ = 0) | |
| 273 | + (hLT : ∀ Y, initialPrimitive T hT (L Y) ⟨T, hT, le_rfl⟩ = R Y) (Y : V) : | |
| 274 | + dirichletToNeumann T hT m H K hK hH hsmall L Y = | |
| 275 | + (terminalCoordinates T hT Q c hc hQ R).adjoint | |
| 276 | + (terminalMomentum T hT Q Q₁ H (endpointDerivative T hT m H K hK hH hsmall L Y)) := by | |
| 277 | + apply ext_inner_right ℝ | |
| 278 | + intro Z | |
| 279 | + let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 280 | + let v := endpointDerivative T hT m H K hK hH hsmall L Z | |
| 281 | + have hvRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T v t := by | |
| 282 | + intro t | |
| 283 | + exact hRange t _ (endpointDisplacement_tangent T hT m H K hK hH hsmall L hL Z t) | |
| 284 | + have hw := initialMomentum_weak T hT Q Q₁ H hd m hm u | |
| 285 | + (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 286 | + have hg := initial_coordinate_green T hT Q Q₁ c hc hQ H hTpos hd u v hw hvRange | |
| 287 | + have hterm : initialRealPrimitive T v T = R Z := | |
| 288 | + (endpointDisplacement_terminal T hT m H K hK hH hsmall L Z).trans (hLT Z) | |
| 289 | + have hcoords : initialCoordinates T hT Q c hc hQ v T = | |
| 290 | + terminalCoordinates T hT Q c hc hQ R Z := by | |
| 291 | + simp only [initialCoordinates, extendPath, projIcc_of_mem hT (show T ∈ Icc (0 : ℝ) T from | |
| 292 | + ⟨hT, le_rfl⟩), hterm, terminalCoordinates, comp_apply] | |
| 293 | + rw [energyOperator_inner, hcoords] at hg | |
| 294 | + rw [dirichletToNeumann_inner, adjoint_inner_left] | |
| 295 | + exact hg | |
| 296 | + | |
| 297 | +end EulerTransverseEndpointGreen | |
| 298 | +end | |
| 299 | + | |
| 300 | +end | |
| 301 | + | |
| 12 | 302 | noncomputable section |
| 13 | 303 | |
| 14 | 304 | |
+0 −148 Euler/TransverseFixedEndpoint.lean deleted
| @@ -1,148 +0,0 @@ | ||
| 1 | -import Euler.InitialH1OperatorProduct | |
| 2 | -import Euler.TransverseEndpointUniqueness | |
| 3 | -import Euler.TransverseFixedSpaceInverse | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -The nonzero-terminal variational inverse on the same fixed coordinate Hilbert | |
| 7 | -space used by the packet inverse. The zero-trace correction is an actual | |
| 8 | -coercive solve. Full-range frame transport proves exact equality with the | |
| 9 | -physical endpoint solution, rather than introducing a second unrelated solve. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | - | |
| 15 | -namespace EulerTransverseFixedEndpoint | |
| 16 | - | |
| 17 | -open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerCoerciveProjection | |
| 18 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 19 | - EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 20 | - EulerTransverseVariationalInverse EulerTransverseFixedSpaceInverse | |
| 21 | - EulerTransverseEndpointEnergy | |
| 22 | - | |
| 23 | -variable {U E V : Type*} | |
| 24 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 25 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 26 | - [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 27 | - | |
| 28 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 29 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 30 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 31 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 32 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 33 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 34 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 35 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 36 | - | |
| 37 | -include hd in | |
| 38 | -theorem fixedFrameDerivative_trace_zero (v : zeroTraceDerivatives (U := U) T hT) : | |
| 39 | - initialTrace T hT (fixedFrameDerivative T hT Q Q₁ v) = 0 := by | |
| 40 | - have hv : initialTrace T hT (v : TimeLp T U) = 0 := v.property | |
| 41 | - change initialTrace T hT (productDerivative T hT Q Q₁ (v : TimeLp T U)) = 0 | |
| 42 | - rw [initialTrace_productDerivative T hT Q Q₁ hd, hv, map_zero] | |
| 43 | - | |
| 44 | -include hd in | |
| 45 | -/-- The fixed coordinate form is exactly the restriction of the physical initial-zero form. -/ | |
| 46 | -theorem fixedFrame_energy (u v : zeroTraceDerivatives (U := U) T hT) : | |
| 47 | - ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ u), | |
| 48 | - fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = | |
| 49 | - ⟪fixedFrameOperator T hT Q Q₁ H u, v⟫_ℝ := by | |
| 50 | - rw [energyOperator_inner, fixedFrameOperator_inner, | |
| 51 | - initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ | |
| 52 | - (fixedFrameDerivative_trace_zero T hT Q Q₁ hd u), | |
| 53 | - initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ | |
| 54 | - (fixedFrameDerivative_trace_zero T hT Q Q₁ hd v)] | |
| 55 | - rfl | |
| 56 | - | |
| 57 | -def fixedEndpointCorrection (L : V →L[ℝ] TimeLp T E) : | |
| 58 | - V →L[ℝ] zeroTraceDerivatives (U := U) T hT := | |
| 59 | - (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) | |
| 60 | - (fixedCoercivity_pos T hT Q Q₁ c hc) | |
| 61 | - (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall)).comp | |
| 62 | - ((fixedFrameDerivative T hT Q Q₁).adjoint.comp ((energyOperator T hT H).comp L)) | |
| 63 | - | |
| 64 | -def fixedEndpointDerivative (L : V →L[ℝ] TimeLp T E) : V →L[ℝ] TimeLp T E := | |
| 65 | - L - (fixedFrameDerivative T hT Q Q₁).comp | |
| 66 | - (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L) | |
| 67 | - | |
| 68 | -theorem fixedEndpointCorrection_equation (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 69 | - (v : zeroTraceDerivatives (U := U) T hT) : | |
| 70 | - ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ | |
| 71 | - (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), | |
| 72 | - fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = | |
| 73 | - ⟪energyOperator T hT H (L Y), fixedFrameDerivative T hT Q Q₁ v⟫_ℝ := by | |
| 74 | - rw [fixedFrame_energy T hT Q Q₁ H hd] | |
| 75 | - change ⟪fixedFrameOperator T hT Q Q₁ H | |
| 76 | - (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) | |
| 77 | - (fixedCoercivity_pos T hT Q Q₁ c hc) | |
| 78 | - (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 79 | - ((fixedFrameDerivative T hT Q Q₁).adjoint (energyOperator T hT H (L Y)))), v⟫_ℝ = _ | |
| 80 | - rw [operator_inverse_apply, adjoint_inner_left] | |
| 81 | - | |
| 82 | -theorem fixedEndpointDerivative_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 83 | - (v : zeroTraceDerivatives (U := U) T hT) : | |
| 84 | - ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), | |
| 85 | - fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = 0 := by | |
| 86 | - change ⟪energyOperator T hT H (L Y - fixedFrameDerivative T hT Q Q₁ | |
| 87 | - (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), _⟫_ℝ = 0 | |
| 88 | - rw [map_sub, inner_sub_left, fixedEndpointCorrection_equation, sub_self] | |
| 89 | - | |
| 90 | -variable (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 91 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 92 | - | |
| 93 | -include hm in | |
| 94 | -theorem fixedEndpointDerivative_sub_mem (L : V →L[ℝ] TimeLp T E) (Y : V) : | |
| 95 | - fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y ∈ | |
| 96 | - transverseDerivatives T hT m := by | |
| 97 | - let r := fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y | |
| 98 | - have hr : fixedFrameDerivative T hT Q Q₁ r ∈ transverseDerivatives T hT m := | |
| 99 | - (transverseForward T hT Q Q₁ hd m hm r).property | |
| 100 | - have he : fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y = | |
| 101 | - -(fixedFrameDerivative T hT Q Q₁ r) := by | |
| 102 | - change (L Y - fixedFrameDerivative T hT Q Q₁ r) - L Y = _ | |
| 103 | - abel | |
| 104 | - rw [he] | |
| 105 | - exact (transverseDerivatives T hT m).neg_mem hr | |
| 106 | - | |
| 107 | -include hm hRange in | |
| 108 | -theorem fixedEndpointDerivative_physical_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) | |
| 109 | - (v : transverseDerivatives T hT m) : | |
| 110 | - ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), | |
| 111 | - (v : TimeLp T E)⟫_ℝ = 0 := by | |
| 112 | - have hv := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) | |
| 113 | - (transverseForward_backward T hT Q Q₁ c hc hQ hd m hm hRange v) | |
| 114 | - change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m v) = | |
| 115 | - (v : TimeLp T E) at hv | |
| 116 | - rw [← hv] | |
| 117 | - exact fixedEndpointDerivative_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y _ | |
| 118 | - | |
| 119 | -include hm hRange in | |
| 120 | -/-- The fixed-space solve is the same nonzero-terminal inverse used by activation. -/ | |
| 121 | -theorem fixedEndpointDerivative_eq_endpoint (L : V →L[ℝ] TimeLp T E) : | |
| 122 | - fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L = | |
| 123 | - endpointDerivative T hT m H K hK hH hsmall L := by | |
| 124 | - apply ContinuousLinearMap.ext | |
| 125 | - intro Y | |
| 126 | - let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y | |
| 127 | - let w := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 128 | - have hdiff : u - w ∈ transverseDerivatives T hT m := by | |
| 129 | - have h₁ := fixedEndpointDerivative_sub_mem T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm L Y | |
| 130 | - have h₂ := endpointDerivative_sub_mem T hT m H K hK hH hsmall L Y | |
| 131 | - have hh := (transverseDerivatives T hT m).sub_mem h₁ h₂ | |
| 132 | - have he : (u - L Y) - (w - L Y) = u - w := by abel | |
| 133 | - exact he ▸ hh | |
| 134 | - let d : transverseDerivatives T hT m := ⟨u - w, hdiff⟩ | |
| 135 | - have hu : ⟪energyOperator T hT H u, (d : TimeLp T E)⟫_ℝ = 0 := | |
| 136 | - fixedEndpointDerivative_physical_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm hRange L Y d | |
| 137 | - have hw : ⟪energyOperator T hT H w, (d : TimeLp T E)⟫_ℝ = 0 := by | |
| 138 | - rw [energyOperator_inner, initialPrimitiveTimeLp_transverse T hT m d] | |
| 139 | - exact endpointDerivative_weak T hT m H K hK hH hsmall L Y d | |
| 140 | - have hz : ⟪energyOperator T hT H (u - w), u - w⟫_ℝ = 0 := by | |
| 141 | - change ⟪energyOperator T hT H (u - w), (d : TimeLp T E)⟫_ℝ = 0 | |
| 142 | - rw [map_sub, inner_sub_left, hu, hw, sub_zero] | |
| 143 | - have hc' := energyOperator_coercive T hT H K hK hH hsmall (u - w) | |
| 144 | - rw [hz] at hc' | |
| 145 | - have hn : ‖u - w‖ = 0 := by nlinarith only [hc', norm_nonneg (u - w)] | |
| 146 | - exact sub_eq_zero.mp (norm_eq_zero.mp hn) | |
| 147 | - | |
| 148 | -end EulerTransverseFixedEndpoint | |
+100 −1 Euler/TransverseFixedEvolution.lean View file
| @@ -1,4 +1,5 @@ | ||
| 1 | -import Euler.TransverseFixedStrong | |
| 1 | +import Euler.TransverseFixedSpaceInverse | |
| 2 | +import Euler.TransverseStrongEquation | |
| 2 | 3 | import Euler.TimeLpGramInverse |
| 3 | 4 | import Euler.TimeH1Reconstruction |
| 4 | 5 | import Euler.ContinuousGramAcceleration |
| @@ -12,6 +13,104 @@ proves it is the derivative of the solved coordinate velocity; bounded H¹ | ||
| 12 | 13 | reconstruction then supplies the actual continuous history path. |
| 13 | 14 | -/ |
| 14 | 15 | |
| 16 | +/-! ## From `Euler/TransverseFixedStrong.lean` | |
| 17 | + | |
| 18 | +The text of `Euler/TransverseFixedStrong.lean`, folded into this file, which was its only importer. -/ | |
| 19 | + | |
| 20 | +section | |
| 21 | + | |
| 22 | +/-! | |
| 23 | +# The actual fixed-coordinate Dirichlet inverse satisfies the strong equation | |
| 24 | + | |
| 25 | +This version uses the range of the frame directly. It applies to supported | |
| 26 | +spatial or cylinder L² spaces, where a pointwise transverse constraint must | |
| 27 | +not be replaced by orthogonality to a single Hilbert-space vector. | |
| 28 | +-/ | |
| 29 | + | |
| 30 | +noncomputable section | |
| 31 | + | |
| 32 | +namespace EulerTransverseFixedStrong | |
| 33 | + | |
| 34 | +open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerTimeLp | |
| 35 | + EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct | |
| 36 | + EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse | |
| 37 | + EulerTransverseCoordinateRegularity EulerTransverseMomentumRegularity | |
| 38 | + EulerTransverseStrongEquation EulerTransverseGramInverse | |
| 39 | + | |
| 40 | +variable {U E : Type*} | |
| 41 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 42 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 43 | + (T : ℝ) (hT : 0 ≤ T) | |
| 44 | + (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (H : C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 45 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c*‖v‖^2 ≤ ‖Q t v‖^2) | |
| 46 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 47 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 48 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t v, ⟪H t v,v⟫_ℝ ≤ K*‖v‖^2) | |
| 49 | + (hsmall : K*(T^2/2) ≤ 1/2) | |
| 50 | + | |
| 51 | +/-- The actual derivative of the physical displacement from the fixed inverse. -/ | |
| 52 | +def physicalDerivative : TimeLp T E →L[ℝ] TimeLp T E := | |
| 53 | + (fixedFrameDerivative T hT Q Q₁).comp | |
| 54 | + (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 55 | + | |
| 56 | +theorem physicalDerivative_range (f : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 57 | + ∃ v : U, Q t v = realPrimitive T | |
| 58 | + (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) t := by | |
| 59 | + let w := fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 60 | + refine ⟨terminalPrimitive T hT (w : TimeLp T U) t, ?_⟩ | |
| 61 | + exact (terminalPrimitive_productDerivative T hT Q Q₁ hd (w : TimeLp T U) t).symm | |
| 62 | + | |
| 63 | +/-- The existing coordinate derivative is exactly the solved fixed-space field. -/ | |
| 64 | +theorem coordinateDerivative_eq (f : TimeLp T E) : | |
| 65 | + coordinateDerivative T hT Q Q₁ c hc hQ | |
| 66 | + (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) = | |
| 67 | + (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : TimeLp T U) := | |
| 68 | + coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd _ | |
| 69 | + | |
| 70 | +/-- Actual product tests supply the weak momentum identity for this inverse. -/ | |
| 71 | +theorem momentum_weak (f : TimeLp T E) (v : TimeLp T U) | |
| 72 | + (hv : initialTrace T hT v = 0) : | |
| 73 | + ⟪momentum T hT Q (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f),v⟫_ℝ = | |
| 74 | + -⟪momentumForcing T hT Q Q₁ H | |
| 75 | + (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) f, | |
| 76 | + primitiveTimeLp T hT v⟫_ℝ := by | |
| 77 | + apply momentum_weak_of_product_tests T hT Q Q₁ hd H | |
| 78 | + (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) f v | |
| 79 | + exact fixedFrameSolver_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall f ⟨v,hv⟩ | |
| 80 | + | |
| 81 | +variable (Q₂ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) | |
| 82 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 83 | + HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 84 | + (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 85 | + | |
| 86 | +include hd₁ hframe in | |
| 87 | +/-- A true H¹ coordinate velocity and equation (10) follow from the fixed | |
| 88 | +coercive solve. There is no assumed strong solution or ambient normal. -/ | |
| 89 | +theorem exists_strong (hTpos : 0 < T) (f : TimeLp T E) : | |
| 90 | + let u := physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 91 | + ∃ v : ℝ → U, | |
| 92 | + AbsolutelyContinuousOnInterval v 0 T ∧ | |
| 93 | + (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] v ∧ | |
| 94 | + (∀ᵐ t ∂timeMeasure T, | |
| 95 | + HasDerivAt v (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) t) ∧ | |
| 96 | + ∀ᵐ t ∂timeMeasure T, | |
| 97 | + gram (extendPath T hT Q t) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) = | |
| 98 | + (extendPath T hT Q t).adjoint (f t-(2 : ℝ) • extendPath T hT Q₁ t (v t)) := by | |
| 99 | + let u := physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 100 | + obtain ⟨v,_,hv,hrep,_,hder,heq⟩ := exists_strong_of_weak_momentum T hT Q Q₁ Q₂ c hc hQ hd hd₁ | |
| 101 | + hTpos H u f (physicalDerivative_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) | |
| 102 | + hframe (momentum_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) | |
| 103 | + refine ⟨v,hv,?_,hder,heq⟩ | |
| 104 | + change (coordinateDerivative T hT Q Q₁ c hc hQ | |
| 105 | + (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) : ℝ → U) =ᵐ[timeMeasure T] v at hrep | |
| 106 | + rw [coordinateDerivative_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall f] at hrep | |
| 107 | + exact hrep | |
| 108 | + | |
| 109 | +end EulerTransverseFixedStrong | |
| 110 | +end | |
| 111 | + | |
| 112 | +end | |
| 113 | + | |
| 15 | 114 | noncomputable section |
| 16 | 115 | |
| 17 | 116 | namespace EulerTransverseFixedEvolution |
+235 −1 Euler/TransverseFixedSobolev.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.TransverseGevreyInverse | |
| 1 | +import Euler.TransverseParameterRegularity | |
| 2 | +import Euler.TimeLpCoefficientGevrey | |
| 3 | +import Euler.HilbertCoerciveGevrey | |
| 2 | 4 | import Euler.FixedEvolutionRegularity |
| 3 | 5 | import Euler.ParameterSobolevTensorInverse |
| 4 | 6 | import Euler.ParameterSobolevProductGevrey |
| @@ -13,6 +15,238 @@ external radius and base order. The recurrence is applied to the actual | ||
| 13 | 15 | coercive inverse, with its proved polynomial norm bound. |
| 14 | 16 | -/ |
| 15 | 17 | |
| 18 | +/-! ## From `Euler/TransverseCoefficientGevrey.lean` | |
| 19 | + | |
| 20 | +The text of `Euler/TransverseCoefficientGevrey.lean`, folded into this file, which was its only importer. -/ | |
| 21 | + | |
| 22 | +section | |
| 23 | + | |
| 24 | +/-! | |
| 25 | +# Factorial coefficient estimates for the actual transverse form | |
| 26 | + | |
| 27 | +The coefficient constants below are polynomial in the frame bounds and the | |
| 28 | +interval length. They control genuine Fréchet derivatives of the concrete | |
| 29 | +fixed-space operator and forcing, without a packaged jet or recurrence input. | |
| 30 | +-/ | |
| 31 | + | |
| 32 | +noncomputable section | |
| 33 | + | |
| 34 | +open scoped ContDiff | |
| 35 | + | |
| 36 | +namespace EulerTransverseCoefficientGevrey | |
| 37 | + | |
| 38 | +open Set ContinuousLinearMap InnerProductSpace EulerTimeLp | |
| 39 | + EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct | |
| 40 | + EulerTimeH1FrameTransport EulerTimeLpCoefficientMap EulerTimeLpCoefficientGevrey | |
| 41 | + EulerOperatorGevreyCalculus EulerGevrey EulerTransverseVariationalInverse | |
| 42 | + EulerTransverseGramInverse EulerTransverseFixedSpaceInverse | |
| 43 | + EulerTransverseParameterRegularity | |
| 44 | + | |
| 45 | +variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 46 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 47 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 48 | + | |
| 49 | +/-- The polynomial coefficient cost of taking a physical derivative. -/ | |
| 50 | +def derivativeCost (T C₀ C₁ : ℝ) : ℝ := T*C₁+C₀ | |
| 51 | + | |
| 52 | +/-- The polynomial coefficient cost of the transported variational form. -/ | |
| 53 | +def formCost (T C₀ C₁ CH : ℝ) : ℝ := | |
| 54 | + 9 * (derivativeCost T C₀ C₁)^2 * (1 + T^2*CH) | |
| 55 | + | |
| 56 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 57 | +/-- Every actual derivative of the fixed kinetic map has the same factorial bound. -/ | |
| 58 | +theorem fixedFrameDerivative_bound (T : ℝ) (hT : 0 ≤ T) | |
| 59 | + (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 60 | + (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 61 | + (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 62 | + (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 63 | + (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 64 | + (n : ℕ) (x : P) : | |
| 65 | + ‖iteratedFDeriv ℝ n (fun y => fixedFrameDerivative T hT (Q y) (Q₁ y)) x‖ ≤ | |
| 66 | + derivativeCost T C₀ C₁ * majorant R 0 n := by | |
| 67 | + have hb := clm_comp_const_right_bound | |
| 68 | + (fun y => productDerivative T hT (Q y) (Q₁ y)) | |
| 69 | + (zeroTraceDerivatives (U := U) T hT).subtypeL | |
| 70 | + (contDiff_productDerivative T hT Q Q₁ hQ hQ₁) | |
| 71 | + R (derivativeCost T C₀ C₁) hR (by unfold derivativeCost; positivity) 0 | |
| 72 | + (productDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ 0 hbQ hbQ₁) n x | |
| 73 | + apply hb.trans | |
| 74 | + have hN : ‖(zeroTraceDerivatives (U := U) T hT).subtypeL‖ * derivativeCost T C₀ C₁ ≤ | |
| 75 | + derivativeCost T C₀ C₁ := by | |
| 76 | + simpa only [one_mul] using (mul_le_mul_of_nonneg_right | |
| 77 | + (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le | |
| 78 | + (show 0 ≤ derivativeCost T C₀ C₁ by unfold derivativeCost; positivity)) | |
| 79 | + exact mul_le_mul_of_nonneg_right | |
| 80 | + hN (majorant_nonneg R hR 0 n) | |
| 81 | + | |
| 82 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 83 | +/-- Terminal integration adds only the interval-length factor. -/ | |
| 84 | +theorem fixedFramePrimitive_bound (T : ℝ) (hT : 0 ≤ T) | |
| 85 | + (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 86 | + (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 87 | + (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 88 | + (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 89 | + (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 90 | + (n : ℕ) (x : P) : | |
| 91 | + ‖iteratedFDeriv ℝ n (fun y => fixedFramePrimitive T hT (Q y) (Q₁ y)) x‖ ≤ | |
| 92 | + (T * derivativeCost T C₀ C₁) * majorant R 0 n := by | |
| 93 | + have hb := clm_comp_const_left_bound (primitiveTimeLp (E := E) T hT) | |
| 94 | + (fun y => fixedFrameDerivative T hT (Q y) (Q₁ y)) | |
| 95 | + (contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁) | |
| 96 | + R (derivativeCost T C₀ C₁) hR (by unfold derivativeCost; positivity) 0 | |
| 97 | + (fixedFrameDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁) n x | |
| 98 | + exact hb.trans (mul_le_mul_of_nonneg_right | |
| 99 | + (mul_le_mul_of_nonneg_right (primitive_norm_le_time (E := E) T hT) | |
| 100 | + (by unfold derivativeCost; positivity)) (majorant_nonneg R hR 0 n)) | |
| 101 | + | |
| 102 | +/-- The physical Dirichlet form has the coefficient-only factorial bound. -/ | |
| 103 | +theorem dirichletOperator_bound (T : ℝ) (hT : 0 ≤ T) | |
| 104 | + (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) (hH : ContDiff ℝ ∞ H) | |
| 105 | + (R CH : ℝ) (hR : 0 ≤ R) (hCH : 0 ≤ CH) | |
| 106 | + (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant R 0 n) | |
| 107 | + (n : ℕ) (x : P) : | |
| 108 | + ‖iteratedFDeriv ℝ n (fun y => dirichletOperator (primitiveTimeLp T hT) | |
| 109 | + (timeMultiplier T hT (H y))) x‖ ≤ (1+T^2*CH) * majorant R 0 n := by | |
| 110 | + let J : TimeLp T E →L[ℝ] TimeLp T E := primitiveTimeLp T hT | |
| 111 | + have hJ : ‖J‖ ≤ T := primitive_norm_le_time (E := E) T hT | |
| 112 | + have hright (k : ℕ) (y : P) : | |
| 113 | + ‖iteratedFDeriv ℝ k (fun z => (timeMultiplier T hT (H z)).comp J) y‖ ≤ | |
| 114 | + (T*CH) * majorant R 0 k := by | |
| 115 | + exact (clm_comp_const_right_bound _ J (contDiff_timeMultiplier T hT H hH) | |
| 116 | + R CH hR hCH 0 (timeMultiplier_bound T hT H hH R CH hR hCH 0 hbH) k y).trans | |
| 117 | + (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hJ hCH) (majorant_nonneg R hR 0 k)) | |
| 118 | + have hpotential (k : ℕ) (y : P) : | |
| 119 | + ‖iteratedFDeriv ℝ k (fun z => J.adjoint.comp ((timeMultiplier T hT (H z)).comp J)) y‖ ≤ | |
| 120 | + (T^2*CH) * majorant R 0 k := by | |
| 121 | + have hp := clm_comp_const_left_bound J.adjoint _ | |
| 122 | + ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const) | |
| 123 | + R (T*CH) hR (mul_nonneg hT hCH) 0 hright k y | |
| 124 | + rw [LinearIsometryEquiv.norm_map] at hp | |
| 125 | + apply hp.trans | |
| 126 | + have h := mul_le_mul_of_nonneg_right hJ (mul_nonneg hT hCH) | |
| 127 | + convert mul_le_mul_of_nonneg_right h (majorant_nonneg R hR 0 k) using 1 | |
| 128 | + ring | |
| 129 | + exact sub_bound (fun _ : P => ContinuousLinearMap.id ℝ (TimeLp T E)) | |
| 130 | + (fun y => J.adjoint.comp ((timeMultiplier T hT (H y)).comp J)) | |
| 131 | + contDiff_const (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 132 | + R 1 (T^2*CH) 0 (const_bound _ R 1 hR norm_id_le) hpotential n x | |
| 133 | + | |
| 134 | +/-- Factorial control of the concrete fixed-space operator follows from the prescribed paths. -/ | |
| 135 | +theorem fixedFrameOperator_bound (T : ℝ) (hT : 0 ≤ T) | |
| 136 | + (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 137 | + (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 138 | + (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) (hH : ContDiff ℝ ∞ H) | |
| 139 | + (R C₀ C₁ CH : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) | |
| 140 | + (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 141 | + (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 142 | + (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant R 0 n) | |
| 143 | + (n : ℕ) (x : P) : | |
| 144 | + ‖iteratedFDeriv ℝ n (fun y => fixedFrameOperator T hT (Q y) (Q₁ y) (H y)) x‖ ≤ | |
| 145 | + formCost T C₀ C₁ CH * majorant R 0 n := by | |
| 146 | + let D := fun y => fixedFrameDerivative T hT (Q y) (Q₁ y) | |
| 147 | + let A := fun y => dirichletOperator (primitiveTimeLp T hT) (timeMultiplier T hT (H y)) | |
| 148 | + have hD : ContDiff ℝ ∞ D := contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁ | |
| 149 | + have hA : ContDiff ℝ ∞ A := contDiff_const.sub | |
| 150 | + (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 151 | + have hd0 : 0 ≤ derivativeCost T C₀ C₁ := by unfold derivativeCost; positivity | |
| 152 | + have ha0 : 0 ≤ 1+T^2*CH := by positivity | |
| 153 | + have hbD := fixedFrameDerivative_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁ | |
| 154 | + have hbA := dirichletOperator_bound T hT H hH R CH hR hCH hbH | |
| 155 | + have hAD := clm_comp_bound A D hA hD R (1+T^2*CH) (derivativeCost T C₀ C₁) | |
| 156 | + hR ha0 hd0 0 0 hbA hbD | |
| 157 | + have h := clm_comp_bound (fun y => (D y).adjoint) (fun y => (A y).comp (D y)) | |
| 158 | + (contDiff_adjoint hD) | |
| 159 | + (hA.clm_comp hD) R (derivativeCost T C₀ C₁) (3*(1+T^2*CH)*derivativeCost T C₀ C₁) | |
| 160 | + hR hd0 (by positivity) 0 0 (adjoint_bound D hD R _ hR hd0 0 hbD) hAD n x | |
| 161 | + have he : 3 * derivativeCost T C₀ C₁ * (3*(1+T^2*CH)*derivativeCost T C₀ C₁) = | |
| 162 | + formCost T C₀ C₁ CH := by unfold formCost; ring | |
| 163 | + simp only [Nat.add_zero, he] at h | |
| 164 | + convert h using 1 | |
| 165 | + rfl | |
| 166 | + | |
| 167 | +end EulerTransverseCoefficientGevrey | |
| 168 | +end | |
| 169 | + | |
| 170 | +end | |
| 171 | + | |
| 172 | +/-! ## From `Euler/TransverseGevreyInverse.lean` | |
| 173 | + | |
| 174 | +The text of `Euler/TransverseGevreyInverse.lean`, folded into this file, which was its only importer. -/ | |
| 175 | + | |
| 176 | +section | |
| 177 | + | |
| 178 | +/-! | |
| 179 | +# Uniform factorial estimates for the constructed transverse inverse | |
| 180 | + | |
| 181 | +Every constant is an explicit polynomial in the interval length, frame | |
| 182 | +bounds, potential bound, and reciprocal frame lower bound. The same radius | |
| 183 | +works at every derivative order and input shift. The recurrence is derived | |
| 184 | +from the actual inverse equation, not assumed for an abstract jet. | |
| 185 | +-/ | |
| 186 | + | |
| 187 | +noncomputable section | |
| 188 | + | |
| 189 | +open scoped ContDiff | |
| 190 | + | |
| 191 | +namespace EulerTransverseGevreyInverse | |
| 192 | + | |
| 193 | +open Set InnerProductSpace ContinuousLinearMap EulerTimeLp EulerTerminalTimePrimitive | |
| 194 | + EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse | |
| 195 | + EulerTransverseParameterRegularity EulerTransverseCoefficientGevrey | |
| 196 | + EulerHilbertCoerciveGevrey EulerOperatorGevreyCalculus EulerGevrey | |
| 197 | + EulerCoerciveProjection EulerTransverseGramInverse EulerTransverseCoordinateRegularity | |
| 198 | + EulerTransverseVariationalInverse EulerVolterraConvolution EulerTimeLpCoefficientMap | |
| 199 | + EulerTimeLpCoefficientGevrey | |
| 200 | + | |
| 201 | +/-- Uniform polynomial bound for the inverse frame transport. -/ | |
| 202 | +def transportCeiling (T C₀ C₁ c : ℝ) : ℝ := | |
| 203 | + 1 + ((2*(c⁻¹)^2*C₀^2*C₁ + c⁻¹*C₁)*T + c⁻¹*C₀) | |
| 204 | + | |
| 205 | +/-- Uniform polynomial bound for the inverse of the transported form. -/ | |
| 206 | +def inverseCost (T C₀ C₁ c : ℝ) : ℝ := 2 * (transportCeiling T C₀ C₁ c)^2 | |
| 207 | + | |
| 208 | +variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 209 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 210 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 211 | + | |
| 212 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 213 | +/-- The explicit fixed-space coercivity gives the promised polynomial inverse bound. -/ | |
| 214 | +theorem fixedCoercivity_inv_le (T : ℝ) (hT : 0 ≤ T) | |
| 215 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 216 | + (c : ℝ) (hc : 0 < c) (C₀ C₁ : ℝ) | |
| 217 | + (hQ : ‖Q‖ ≤ C₀) (hQ₁ : ‖Q₁‖ ≤ C₁) : | |
| 218 | + (fixedCoercivity T Q Q₁ c)⁻¹ ≤ inverseCost T C₀ C₁ c := by | |
| 219 | + have ht : transportCost T Q Q₁ c ≤ transportCeiling T C₀ C₁ c := by | |
| 220 | + unfold transportCost transportCeiling | |
| 221 | + gcongr | |
| 222 | + have ht0 := (transportCost_pos T hT Q Q₁ c hc).le | |
| 223 | + have he : (fixedCoercivity T Q Q₁ c)⁻¹ = 2*(transportCost T Q Q₁ c)^2 := by | |
| 224 | + simp only [fixedCoercivity, div_eq_mul_inv, mul_inv_rev, inv_pow, inv_inv] | |
| 225 | + rw [he] | |
| 226 | + exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht0 ht 2) (by norm_num) | |
| 227 | + | |
| 228 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 229 | + (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 230 | + (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 231 | + (c : ℝ) (hc : 0 < c) | |
| 232 | + (hLower : ∀ x t v, c * ‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 233 | + (hd : ∀ x (t : Icc (0 : ℝ) T), | |
| 234 | + HasDerivWithinAt (EulerVolterraConvolution.extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) | |
| 235 | + (K : ℝ) (hK : 0 ≤ K) | |
| 236 | + (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K*‖v‖^2) | |
| 237 | + (hsmall : K*(T^2/2) ≤ 1/2) | |
| 238 | + (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) (hH : ContDiff ℝ ∞ H) | |
| 239 | + (Rc C₀ C₁ CH : ℝ) (hRc : 0 ≤ Rc) | |
| 240 | + (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) | |
| 241 | + (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant Rc 0 n) | |
| 242 | + (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant Rc 0 n) | |
| 243 | + (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant Rc 0 n) | |
| 244 | + | |
| 245 | +end EulerTransverseGevreyInverse | |
| 246 | +end | |
| 247 | + | |
| 248 | +end | |
| 249 | + | |
| 16 | 250 | noncomputable section |
| 17 | 251 | |
| 18 | 252 | namespace EulerTransverseFixedSobolev |
+0 −91 Euler/TransverseFixedStrong.lean deleted
| @@ -1,91 +0,0 @@ | ||
| 1 | -import Euler.TransverseFixedSpaceInverse | |
| 2 | -import Euler.TransverseStrongEquation | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# The actual fixed-coordinate Dirichlet inverse satisfies the strong equation | |
| 6 | - | |
| 7 | -This version uses the range of the frame directly. It applies to supported | |
| 8 | -spatial or cylinder L² spaces, where a pointwise transverse constraint must | |
| 9 | -not be replaced by orthogonality to a single Hilbert-space vector. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerTransverseFixedStrong | |
| 15 | - | |
| 16 | -open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerTimeLp | |
| 17 | - EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct | |
| 18 | - EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse | |
| 19 | - EulerTransverseCoordinateRegularity EulerTransverseMomentumRegularity | |
| 20 | - EulerTransverseStrongEquation EulerTransverseGramInverse | |
| 21 | - | |
| 22 | -variable {U E : Type*} | |
| 23 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 25 | - (T : ℝ) (hT : 0 ≤ T) | |
| 26 | - (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (H : C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 27 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c*‖v‖^2 ≤ ‖Q t v‖^2) | |
| 28 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 29 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 30 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t v, ⟪H t v,v⟫_ℝ ≤ K*‖v‖^2) | |
| 31 | - (hsmall : K*(T^2/2) ≤ 1/2) | |
| 32 | - | |
| 33 | -/-- The actual derivative of the physical displacement from the fixed inverse. -/ | |
| 34 | -def physicalDerivative : TimeLp T E →L[ℝ] TimeLp T E := | |
| 35 | - (fixedFrameDerivative T hT Q Q₁).comp | |
| 36 | - (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 37 | - | |
| 38 | -theorem physicalDerivative_range (f : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 39 | - ∃ v : U, Q t v = realPrimitive T | |
| 40 | - (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) t := by | |
| 41 | - let w := fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 42 | - refine ⟨terminalPrimitive T hT (w : TimeLp T U) t, ?_⟩ | |
| 43 | - exact (terminalPrimitive_productDerivative T hT Q Q₁ hd (w : TimeLp T U) t).symm | |
| 44 | - | |
| 45 | -/-- The existing coordinate derivative is exactly the solved fixed-space field. -/ | |
| 46 | -theorem coordinateDerivative_eq (f : TimeLp T E) : | |
| 47 | - coordinateDerivative T hT Q Q₁ c hc hQ | |
| 48 | - (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) = | |
| 49 | - (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : TimeLp T U) := | |
| 50 | - coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd _ | |
| 51 | - | |
| 52 | -/-- Actual product tests supply the weak momentum identity for this inverse. -/ | |
| 53 | -theorem momentum_weak (f : TimeLp T E) (v : TimeLp T U) | |
| 54 | - (hv : initialTrace T hT v = 0) : | |
| 55 | - ⟪momentum T hT Q (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f),v⟫_ℝ = | |
| 56 | - -⟪momentumForcing T hT Q Q₁ H | |
| 57 | - (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) f, | |
| 58 | - primitiveTimeLp T hT v⟫_ℝ := by | |
| 59 | - apply momentum_weak_of_product_tests T hT Q Q₁ hd H | |
| 60 | - (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) f v | |
| 61 | - exact fixedFrameSolver_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall f ⟨v,hv⟩ | |
| 62 | - | |
| 63 | -variable (Q₂ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) | |
| 64 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 65 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 66 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 67 | - | |
| 68 | -include hd₁ hframe in | |
| 69 | -/-- A true H¹ coordinate velocity and equation (10) follow from the fixed | |
| 70 | -coercive solve. There is no assumed strong solution or ambient normal. -/ | |
| 71 | -theorem exists_strong (hTpos : 0 < T) (f : TimeLp T E) : | |
| 72 | - let u := physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 73 | - ∃ v : ℝ → U, | |
| 74 | - AbsolutelyContinuousOnInterval v 0 T ∧ | |
| 75 | - (fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f : ℝ → U) =ᵐ[timeMeasure T] v ∧ | |
| 76 | - (∀ᵐ t ∂timeMeasure T, | |
| 77 | - HasDerivAt v (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) t) ∧ | |
| 78 | - ∀ᵐ t ∂timeMeasure T, | |
| 79 | - gram (extendPath T hT Q t) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) = | |
| 80 | - (extendPath T hT Q t).adjoint (f t-(2 : ℝ) • extendPath T hT Q₁ t (v t)) := by | |
| 81 | - let u := physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f | |
| 82 | - obtain ⟨v,_,hv,hrep,_,hder,heq⟩ := exists_strong_of_weak_momentum T hT Q Q₁ Q₂ c hc hQ hd hd₁ | |
| 83 | - hTpos H u f (physicalDerivative_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) | |
| 84 | - hframe (momentum_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) | |
| 85 | - refine ⟨v,hv,?_,hder,heq⟩ | |
| 86 | - change (coordinateDerivative T hT Q Q₁ c hc hQ | |
| 87 | - (physicalDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall f) : ℝ → U) =ᵐ[timeMeasure T] v at hrep | |
| 88 | - rw [coordinateDerivative_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall f] at hrep | |
| 89 | - exact hrep | |
| 90 | - | |
| 91 | -end EulerTransverseFixedStrong | |
+51 −1 Euler/TransverseForwardCoefficientGevrey.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.TransverseForwardRegularity | |
| 1 | +import Euler.TransverseForwardInverse | |
| 2 | +import Euler.LinearDuhamelParameter | |
| 3 | +import Euler.ContinuousGramPath | |
| 2 | 4 | import Euler.ContinuousGramGevrey |
| 3 | 5 | import Euler.GevreyFixedShift |
| 4 | 6 | |
| @@ -11,6 +13,54 @@ generator and projected forcing coefficients then have shift-zero bounds by | ||
| 11 | 13 | actual composition, with explicit polynomial amplitudes. |
| 12 | 14 | -/ |
| 13 | 15 | |
| 16 | +/-! ## From `Euler/TransverseForwardRegularity.lean` | |
| 17 | + | |
| 18 | +The text of `Euler/TransverseForwardRegularity.lean`, folded into this file, which was its only importer. -/ | |
| 19 | + | |
| 20 | +section | |
| 21 | + | |
| 22 | +/-! | |
| 23 | +# Genuine parameter regularity of the transverse forward inverse | |
| 24 | + | |
| 25 | +The source coefficient is formed from the actual Gram inverse and frame | |
| 26 | +coefficients. These constructions and the forced forward solve are smooth | |
| 27 | +in the uniform time norm, without assuming parameter regularity of the | |
| 28 | +homogeneous evolution supplied by (H3). | |
| 29 | +-/ | |
| 30 | + | |
| 31 | +noncomputable section | |
| 32 | + | |
| 33 | + | |
| 34 | +namespace EulerTransverseForwardRegularity | |
| 35 | + | |
| 36 | +open Set ContinuousLinearMap EulerContinuousTimeIntegral EulerContinuousPathCalculus | |
| 37 | + EulerContinuousPathComposition EulerContinuousGramPath EulerTransverseGramPath | |
| 38 | + EulerTransverseForwardInverse EulerLinearDuhamel | |
| 39 | +open scoped ContDiff | |
| 40 | + | |
| 41 | +variable {P V E : Type*} | |
| 42 | + [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 43 | + [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] | |
| 44 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 45 | + | |
| 46 | +variable (T : ℝ) (hT : 0 ≤ T) (Q Q₁ : P → C(Icc (0 : ℝ) T,V →L[ℝ] E)) | |
| 47 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 48 | + | |
| 49 | +/-- The actual canonical frame left inverse varies smoothly in parameters. -/ | |
| 50 | +theorem frameLeftInversePath_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) : | |
| 51 | + ContDiff ℝ n (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) := by | |
| 52 | + exact contDiff_compose (fun x => gramInversePath T (Q x) c hc (hQ x)) | |
| 53 | + (fun x => adjointMap (Q x)) (gramInversePath_contDiff T c hc Q hQ hQr) | |
| 54 | + (contDiff_adjoint Q hQr) | |
| 55 | + | |
| 56 | +variable (U : ∀ x, Evolution T hT (generator T (Q x) (Q₁ x) c hc (hQ x))) | |
| 57 | + (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → V) | |
| 58 | + | |
| 59 | +end EulerTransverseForwardRegularity | |
| 60 | +end | |
| 61 | + | |
| 62 | +end | |
| 63 | + | |
| 14 | 64 | noncomputable section |
| 15 | 65 | |
| 16 | 66 | |
+0 −42 Euler/TransverseForwardRegularity.lean deleted
| @@ -1,42 +0,0 @@ | ||
| 1 | -import Euler.TransverseForwardInverse | |
| 2 | -import Euler.LinearDuhamelParameter | |
| 3 | -import Euler.ContinuousGramPath | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# Genuine parameter regularity of the transverse forward inverse | |
| 7 | - | |
| 8 | -The source coefficient is formed from the actual Gram inverse and frame | |
| 9 | -coefficients. These constructions and the forced forward solve are smooth | |
| 10 | -in the uniform time norm, without assuming parameter regularity of the | |
| 11 | -homogeneous evolution supplied by (H3). | |
| 12 | --/ | |
| 13 | - | |
| 14 | -noncomputable section | |
| 15 | - | |
| 16 | - | |
| 17 | -namespace EulerTransverseForwardRegularity | |
| 18 | - | |
| 19 | -open Set ContinuousLinearMap EulerContinuousTimeIntegral EulerContinuousPathCalculus | |
| 20 | - EulerContinuousPathComposition EulerContinuousGramPath EulerTransverseGramPath | |
| 21 | - EulerTransverseForwardInverse EulerLinearDuhamel | |
| 22 | -open scoped ContDiff | |
| 23 | - | |
| 24 | -variable {P V E : Type*} | |
| 25 | - [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 26 | - [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] | |
| 27 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 28 | - | |
| 29 | -variable (T : ℝ) (hT : 0 ≤ T) (Q Q₁ : P → C(Icc (0 : ℝ) T,V →L[ℝ] E)) | |
| 30 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 31 | - | |
| 32 | -/-- The actual canonical frame left inverse varies smoothly in parameters. -/ | |
| 33 | -theorem frameLeftInversePath_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) : | |
| 34 | - ContDiff ℝ n (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) := by | |
| 35 | - exact contDiff_compose (fun x => gramInversePath T (Q x) c hc (hQ x)) | |
| 36 | - (fun x => adjointMap (Q x)) (gramInversePath_contDiff T c hc Q hQ hQr) | |
| 37 | - (contDiff_adjoint Q hQr) | |
| 38 | - | |
| 39 | -variable (U : ∀ x, Evolution T hT (generator T (Q x) (Q₁ x) c hc (hQ x))) | |
| 40 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → V) | |
| 41 | - | |
| 42 | -end EulerTransverseForwardRegularity | |
+0 −64 Euler/TransverseFrameCoordinates.lean deleted
| @@ -1,64 +0,0 @@ | ||
| 1 | -import Euler.TransverseVariationalOperator | |
| 2 | - | |
| 3 | -/-! | |
| 4 | -# Recovering the source's transverse coordinates | |
| 5 | - | |
| 6 | -The moving plane with normal `(F⁻¹)* m₀` is exactly the image under `F` of | |
| 7 | -the fixed plane `m₀⊥`. Orthogonal projection gives a bounded coordinate map, | |
| 8 | -and on the moving plane its reconstruction is the identity. These are | |
| 9 | -coefficient identities, not assumptions about a differential inverse. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerTransverseFrameCoordinates | |
| 15 | - | |
| 16 | -open InnerProductSpace ContinuousLinearMap | |
| 17 | - | |
| 18 | -variable {E U : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 19 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 20 | - | |
| 21 | -/-- The fixed reference transverse plane. -/ | |
| 22 | -abbrev referencePlane (m₀ : E) : Submodule ℝ E := (ℝ ∙ m₀)ᗮ | |
| 23 | - | |
| 24 | -/-- The actual pulled-back normal used by the packet construction. -/ | |
| 25 | -def movingNormal (F : E ≃L[ℝ] E) (m₀ : E) : E := F.symm.toContinuousLinearMap.adjoint m₀ | |
| 26 | - | |
| 27 | -/-- Bounded recovery of fixed-plane coordinates from a physical displacement. -/ | |
| 28 | -def coordinates (F : E ≃L[ℝ] E) (m₀ : E) : E →L[ℝ] referencePlane m₀ := | |
| 29 | - (referencePlane m₀).orthogonalProjectionOnto.comp F.symm.toContinuousLinearMap | |
| 30 | - | |
| 31 | -/-- Moving tangency is exactly fixed-plane membership after applying `F⁻¹`. -/ | |
| 32 | -theorem tangent_iff (F : E ≃L[ℝ] E) (m₀ η : E) : | |
| 33 | - ⟪movingNormal F m₀, η⟫_ℝ = 0 ↔ F.symm η ∈ referencePlane m₀ := by | |
| 34 | - rw [Submodule.mem_orthogonal_singleton_iff_inner_right] | |
| 35 | - unfold movingNormal | |
| 36 | - rw [adjoint_inner_left] | |
| 37 | - rfl | |
| 38 | - | |
| 39 | -/-- Reconstructing a tangent displacement from its recovered coordinates is exact. -/ | |
| 40 | -theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 41 | - (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : | |
| 42 | - F (coordinates F m₀ η : E) = η := by | |
| 43 | - have hm : F.symm η ∈ referencePlane m₀ := (tangent_iff F m₀ η).1 hη | |
| 44 | - have hp := (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self | |
| 45 | - (⟨F.symm η, hm⟩ : referencePlane m₀) | |
| 46 | - change F ((referencePlane m₀).orthogonalProjectionOnto (F.symm η) : E) = η | |
| 47 | - rw [hp] | |
| 48 | - exact F.apply_symm_apply η | |
| 49 | - | |
| 50 | -omit [CompleteSpace E] in | |
| 51 | -/-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ | |
| 52 | -def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) | |
| 53 | - (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := | |
| 54 | - R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp (coordinates F m₀) | |
| 55 | - | |
| 56 | -/-- The full source reconstruction `η = F R⊥ ξ` follows from moving tangency. -/ | |
| 57 | -theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 58 | - (R : U ≃ₗᵢ[ℝ] referencePlane m₀) (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : | |
| 59 | - F (R (frameCoordinates F m₀ R η) : E) = η := by | |
| 60 | - change F (R (R.symm (coordinates F m₀ η)) : E) = η | |
| 61 | - rw [R.apply_symm_apply] | |
| 62 | - exact reconstruct F m₀ η hη | |
| 63 | - | |
| 64 | -end EulerTransverseFrameCoordinates | |
+0 −115 Euler/TransverseGeneratorDifference.lean deleted
| @@ -1,115 +0,0 @@ | ||
| 1 | -import Euler.TransverseEndpointBounds | |
| 2 | -import Euler.TransverseForwardInverse | |
| 3 | -import Euler.TransverseStrongEstimates | |
| 4 | - | |
| 5 | -/-! Polynomial size and coefficient sensitivity of the actual source (10) generator. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | - | |
| 10 | -namespace EulerTransverseGeneratorDifference | |
| 11 | - | |
| 12 | -open Set ContinuousLinearMap InnerProductSpace | |
| 13 | - EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseStrongEstimates | |
| 14 | - EulerTransverseForwardInverse EulerCoerciveEndpointBounds EulerCoerciveProjection | |
| 15 | - | |
| 16 | -variable {U E : Type*} | |
| 17 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 19 | - | |
| 20 | -theorem gram_sub_norm_le (A B : U →L[ℝ] E) (q : ℝ) | |
| 21 | - (hA : ‖A‖ ≤ q) (hB : ‖B‖ ≤ q) : | |
| 22 | - ‖gram A - gram B‖ ≤ 2 * q * ‖A-B‖ := by | |
| 23 | - have hq := (norm_nonneg A).trans hA | |
| 24 | - have had : ‖A.adjoint-B.adjoint‖ = ‖A-B‖ := by | |
| 25 | - rw [← map_sub, LinearIsometryEquiv.norm_map] | |
| 26 | - apply (norm_comp_sub_le A.adjoint B.adjoint A B).trans | |
| 27 | - rw [had, LinearIsometryEquiv.norm_map] | |
| 28 | - exact (add_le_add (mul_le_mul_of_nonneg_left hA (norm_nonneg _)) | |
| 29 | - (mul_le_mul_of_nonneg_right hB (norm_nonneg _))).trans_eq (by ring) | |
| 30 | - | |
| 31 | -theorem gramInverse_sub_norm_le (A B : U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 32 | - (hA : ∀ u, c * ‖u‖^2 ≤ ‖A u‖^2) (hB : ∀ u, c * ‖u‖^2 ≤ ‖B u‖^2) | |
| 33 | - (q : ℝ) (hAn : ‖A‖ ≤ q) (hBn : ‖B‖ ≤ q) : | |
| 34 | - ‖gramInverse A c hc hA - gramInverse B c hc hB‖ ≤ | |
| 35 | - 2 * (c⁻¹)^2 * q * ‖A-B‖ := by | |
| 36 | - have hh := coerciveInverse_norm_sub_le (gram A) (gram B) c c hc hc | |
| 37 | - (gram_coercive A c hA) (gram_coercive B c hB) | |
| 38 | - have hgram : ‖gram B-gram A‖ ≤ 2*q*‖A-B‖ := | |
| 39 | - (norm_sub_rev _ _).trans_le (gram_sub_norm_le A B q hAn hBn) | |
| 40 | - exact hh.trans ((mul_le_mul_of_nonneg_left hgram (by positivity)).trans_eq (by ring)) | |
| 41 | - | |
| 42 | -variable (T : ℝ) (Q Q₁ P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 43 | - (c : ℝ) (hc : 0 < c) | |
| 44 | - (hQ : ∀ t u, c * ‖u‖^2 ≤ ‖Q t u‖^2) | |
| 45 | - (hP : ∀ t u, c * ‖u‖^2 ≤ ‖P t u‖^2) | |
| 46 | - | |
| 47 | -theorem generator_norm_le (q r : ℝ) (hQn : ‖Q‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ r) : | |
| 48 | - ‖generator T Q Q₁ c hc hQ‖ ≤ 2 * c⁻¹ * q * r := by | |
| 49 | - have hq := (norm_nonneg Q).trans hQn | |
| 50 | - have hr := (norm_nonneg Q₁).trans hQ₁n | |
| 51 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 52 | - intro t | |
| 53 | - change ‖(-2 : ℝ) • (gramInverse (Q t) c hc (hQ t)).comp ((Q t).adjoint.comp (Q₁ t))‖ ≤ _ | |
| 54 | - rw [norm_smul] | |
| 55 | - norm_num only [Real.norm_eq_abs] | |
| 56 | - have hprod : ‖(Q t).adjoint.comp (Q₁ t)‖ ≤ q*r := by | |
| 57 | - apply (opNorm_comp_le _ _).trans | |
| 58 | - rw [LinearIsometryEquiv.norm_map] | |
| 59 | - exact mul_le_mul ((Q.norm_coe_le_norm t).trans hQn) | |
| 60 | - ((Q₁.norm_coe_le_norm t).trans hQ₁n) (norm_nonneg _) hq | |
| 61 | - apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans | |
| 62 | - (mul_le_mul (gramInverse_norm (Q t) c hc (hQ t)) hprod | |
| 63 | - (norm_nonneg _) (inv_nonneg.mpr hc.le))) (by norm_num)).trans_eq | |
| 64 | - ring | |
| 65 | - | |
| 66 | -/-- Only frame differences occur in the genuine generator difference. -/ | |
| 67 | -def generatorDifferenceCost (c q r δq δr : ℝ) : ℝ := | |
| 68 | - (4*(c⁻¹)^2*q^2*r + 2*c⁻¹*r)*δq + 2*c⁻¹*q*δr | |
| 69 | - | |
| 70 | -theorem generator_sub_norm_le (q r : ℝ) | |
| 71 | - (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ r) (_hP₁n : ‖P₁‖ ≤ r) : | |
| 72 | - ‖generator T Q Q₁ c hc hQ - generator T P P₁ c hc hP‖ ≤ | |
| 73 | - generatorDifferenceCost c q r ‖Q-P‖ ‖Q₁-P₁‖ := by | |
| 74 | - have hq := (norm_nonneg Q).trans hQn | |
| 75 | - have hr := (norm_nonneg Q₁).trans hQ₁n | |
| 76 | - have hcost : 0 ≤ generatorDifferenceCost c q r ‖Q-P‖ ‖Q₁-P₁‖ := by | |
| 77 | - unfold generatorDifferenceCost | |
| 78 | - positivity | |
| 79 | - apply (ContinuousMap.norm_le _ hcost).2 | |
| 80 | - intro t | |
| 81 | - have htQ : ‖Q t‖ ≤ q := (Q.norm_coe_le_norm t).trans hQn | |
| 82 | - have htP : ‖P t‖ ≤ q := (P.norm_coe_le_norm t).trans hPn | |
| 83 | - have htQ₁ : ‖Q₁ t‖ ≤ r := (Q₁.norm_coe_le_norm t).trans hQ₁n | |
| 84 | - have hδQ : ‖Q t-P t‖ ≤ ‖Q-P‖ := (Q-P).norm_coe_le_norm t | |
| 85 | - have hδQ₁ : ‖Q₁ t-P₁ t‖ ≤ ‖Q₁-P₁‖ := (Q₁-P₁).norm_coe_le_norm t | |
| 86 | - have hI : ‖gramInverse (Q t) c hc (hQ t) - gramInverse (P t) c hc (hP t)‖ ≤ | |
| 87 | - 2*(c⁻¹)^2*q*‖Q-P‖ := | |
| 88 | - (gramInverse_sub_norm_le (Q t) (P t) c hc (hQ t) (hP t) q htQ htP).trans | |
| 89 | - (mul_le_mul_of_nonneg_left hδQ (by positivity)) | |
| 90 | - have hprod : ‖(Q t).adjoint.comp (Q₁ t)‖ ≤ q*r := by | |
| 91 | - apply (opNorm_comp_le _ _).trans | |
| 92 | - rw [LinearIsometryEquiv.norm_map] | |
| 93 | - exact mul_le_mul htQ htQ₁ (norm_nonneg _) hq | |
| 94 | - have hprodδ : ‖(Q t).adjoint.comp (Q₁ t) - (P t).adjoint.comp (P₁ t)‖ ≤ | |
| 95 | - ‖Q-P‖*r + q*‖Q₁-P₁‖ := by | |
| 96 | - apply (norm_comp_sub_le _ _ _ _).trans | |
| 97 | - have had : ‖(Q t).adjoint-(P t).adjoint‖ = ‖Q t-P t‖ := by | |
| 98 | - rw [← map_sub, LinearIsometryEquiv.norm_map] | |
| 99 | - rw [had, LinearIsometryEquiv.norm_map] | |
| 100 | - exact add_le_add (mul_le_mul hδQ htQ₁ (by positivity) (by positivity)) | |
| 101 | - (mul_le_mul htP hδQ₁ (norm_nonneg _) hq) | |
| 102 | - have htotal := (norm_comp_sub_le | |
| 103 | - (gramInverse (Q t) c hc (hQ t)) (gramInverse (P t) c hc (hP t)) | |
| 104 | - ((Q t).adjoint.comp (Q₁ t)) ((P t).adjoint.comp (P₁ t))).trans | |
| 105 | - (add_le_add (mul_le_mul hI hprod (norm_nonneg _) (by positivity)) | |
| 106 | - (mul_le_mul (gramInverse_norm (P t) c hc (hP t)) hprodδ | |
| 107 | - (norm_nonneg _) (inv_nonneg.mpr hc.le))) | |
| 108 | - change ‖(-2 : ℝ) • (gramInverse (Q t) c hc (hQ t)).comp ((Q t).adjoint.comp (Q₁ t)) - | |
| 109 | - (-2 : ℝ) • (gramInverse (P t) c hc (hP t)).comp ((P t).adjoint.comp (P₁ t))‖ ≤ _ | |
| 110 | - rw [← smul_sub, norm_smul] | |
| 111 | - norm_num only [Real.norm_eq_abs] | |
| 112 | - exact (mul_le_mul_of_nonneg_left htotal (by norm_num)).trans_eq | |
| 113 | - (by unfold generatorDifferenceCost; ring) | |
| 114 | - | |
| 115 | -end EulerTransverseGeneratorDifference | |
+0 −71 Euler/TransverseGevreyInverse.lean deleted
| @@ -1,71 +0,0 @@ | ||
| 1 | -import Euler.TransverseCoefficientGevrey | |
| 2 | -import Euler.HilbertCoerciveGevrey | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# Uniform factorial estimates for the constructed transverse inverse | |
| 6 | - | |
| 7 | -Every constant is an explicit polynomial in the interval length, frame | |
| 8 | -bounds, potential bound, and reciprocal frame lower bound. The same radius | |
| 9 | -works at every derivative order and input shift. The recurrence is derived | |
| 10 | -from the actual inverse equation, not assumed for an abstract jet. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -open scoped ContDiff | |
| 16 | - | |
| 17 | -namespace EulerTransverseGevreyInverse | |
| 18 | - | |
| 19 | -open Set InnerProductSpace ContinuousLinearMap EulerTimeLp EulerTerminalTimePrimitive | |
| 20 | - EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse | |
| 21 | - EulerTransverseParameterRegularity EulerTransverseCoefficientGevrey | |
| 22 | - EulerHilbertCoerciveGevrey EulerOperatorGevreyCalculus EulerGevrey | |
| 23 | - EulerCoerciveProjection EulerTransverseGramInverse EulerTransverseCoordinateRegularity | |
| 24 | - EulerTransverseVariationalInverse EulerVolterraConvolution EulerTimeLpCoefficientMap | |
| 25 | - EulerTimeLpCoefficientGevrey | |
| 26 | - | |
| 27 | -/-- Uniform polynomial bound for the inverse frame transport. -/ | |
| 28 | -def transportCeiling (T C₀ C₁ c : ℝ) : ℝ := | |
| 29 | - 1 + ((2*(c⁻¹)^2*C₀^2*C₁ + c⁻¹*C₁)*T + c⁻¹*C₀) | |
| 30 | - | |
| 31 | -/-- Uniform polynomial bound for the inverse of the transported form. -/ | |
| 32 | -def inverseCost (T C₀ C₁ c : ℝ) : ℝ := 2 * (transportCeiling T C₀ C₁ c)^2 | |
| 33 | - | |
| 34 | -variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 35 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 36 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 37 | - | |
| 38 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 39 | -/-- The explicit fixed-space coercivity gives the promised polynomial inverse bound. -/ | |
| 40 | -theorem fixedCoercivity_inv_le (T : ℝ) (hT : 0 ≤ T) | |
| 41 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 42 | - (c : ℝ) (hc : 0 < c) (C₀ C₁ : ℝ) | |
| 43 | - (hQ : ‖Q‖ ≤ C₀) (hQ₁ : ‖Q₁‖ ≤ C₁) : | |
| 44 | - (fixedCoercivity T Q Q₁ c)⁻¹ ≤ inverseCost T C₀ C₁ c := by | |
| 45 | - have ht : transportCost T Q Q₁ c ≤ transportCeiling T C₀ C₁ c := by | |
| 46 | - unfold transportCost transportCeiling | |
| 47 | - gcongr | |
| 48 | - have ht0 := (transportCost_pos T hT Q Q₁ c hc).le | |
| 49 | - have he : (fixedCoercivity T Q Q₁ c)⁻¹ = 2*(transportCost T Q Q₁ c)^2 := by | |
| 50 | - simp only [fixedCoercivity, div_eq_mul_inv, mul_inv_rev, inv_pow, inv_inv] | |
| 51 | - rw [he] | |
| 52 | - exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht0 ht 2) (by norm_num) | |
| 53 | - | |
| 54 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 55 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 56 | - (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 57 | - (c : ℝ) (hc : 0 < c) | |
| 58 | - (hLower : ∀ x t v, c * ‖v‖^2 ≤ ‖Q x t v‖^2) | |
| 59 | - (hd : ∀ x (t : Icc (0 : ℝ) T), | |
| 60 | - HasDerivWithinAt (EulerVolterraConvolution.extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) | |
| 61 | - (K : ℝ) (hK : 0 ≤ K) | |
| 62 | - (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K*‖v‖^2) | |
| 63 | - (hsmall : K*(T^2/2) ≤ 1/2) | |
| 64 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) (hH : ContDiff ℝ ∞ H) | |
| 65 | - (Rc C₀ C₁ CH : ℝ) (hRc : 0 ≤ Rc) | |
| 66 | - (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) | |
| 67 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant Rc 0 n) | |
| 68 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant Rc 0 n) | |
| 69 | - (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant Rc 0 n) | |
| 70 | - | |
| 71 | -end EulerTransverseGevreyInverse | |
+124 −1 Euler/TransverseHistoryBounds.lean View file
| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | import Euler.TransverseEndpointCoordinates |
| 2 | -import Euler.TransverseGeneratorDifference | |
| 2 | +import Euler.TransverseEndpointBounds | |
| 3 | +import Euler.TransverseForwardInverse | |
| 4 | +import Euler.TransverseStrongEstimates | |
| 3 | 5 | import Euler.TimeH1GeneratorBounds |
| 4 | 6 | |
| 5 | 7 | /-! |
| @@ -9,6 +11,127 @@ actual primary history. The terminal coordinate is the same at both labels. | ||
| 9 | 11 | coordinate velocity of the stationary endpoint solution. |
| 10 | 12 | -/ |
| 11 | 13 | |
| 14 | +/-! ## From `Euler/TransverseGeneratorDifference.lean` | |
| 15 | + | |
| 16 | +The text of `Euler/TransverseGeneratorDifference.lean`, folded into this file, which was its only importer. -/ | |
| 17 | + | |
| 18 | +section | |
| 19 | + | |
| 20 | +/-! Polynomial size and coefficient sensitivity of the actual source (10) generator. -/ | |
| 21 | + | |
| 22 | +noncomputable section | |
| 23 | + | |
| 24 | + | |
| 25 | +namespace EulerTransverseGeneratorDifference | |
| 26 | + | |
| 27 | +open Set ContinuousLinearMap InnerProductSpace | |
| 28 | + EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseStrongEstimates | |
| 29 | + EulerTransverseForwardInverse EulerCoerciveEndpointBounds EulerCoerciveProjection | |
| 30 | + | |
| 31 | +variable {U E : Type*} | |
| 32 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 33 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 34 | + | |
| 35 | +theorem gram_sub_norm_le (A B : U →L[ℝ] E) (q : ℝ) | |
| 36 | + (hA : ‖A‖ ≤ q) (hB : ‖B‖ ≤ q) : | |
| 37 | + ‖gram A - gram B‖ ≤ 2 * q * ‖A-B‖ := by | |
| 38 | + have hq := (norm_nonneg A).trans hA | |
| 39 | + have had : ‖A.adjoint-B.adjoint‖ = ‖A-B‖ := by | |
| 40 | + rw [← map_sub, LinearIsometryEquiv.norm_map] | |
| 41 | + apply (norm_comp_sub_le A.adjoint B.adjoint A B).trans | |
| 42 | + rw [had, LinearIsometryEquiv.norm_map] | |
| 43 | + exact (add_le_add (mul_le_mul_of_nonneg_left hA (norm_nonneg _)) | |
| 44 | + (mul_le_mul_of_nonneg_right hB (norm_nonneg _))).trans_eq (by ring) | |
| 45 | + | |
| 46 | +theorem gramInverse_sub_norm_le (A B : U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 47 | + (hA : ∀ u, c * ‖u‖^2 ≤ ‖A u‖^2) (hB : ∀ u, c * ‖u‖^2 ≤ ‖B u‖^2) | |
| 48 | + (q : ℝ) (hAn : ‖A‖ ≤ q) (hBn : ‖B‖ ≤ q) : | |
| 49 | + ‖gramInverse A c hc hA - gramInverse B c hc hB‖ ≤ | |
| 50 | + 2 * (c⁻¹)^2 * q * ‖A-B‖ := by | |
| 51 | + have hh := coerciveInverse_norm_sub_le (gram A) (gram B) c c hc hc | |
| 52 | + (gram_coercive A c hA) (gram_coercive B c hB) | |
| 53 | + have hgram : ‖gram B-gram A‖ ≤ 2*q*‖A-B‖ := | |
| 54 | + (norm_sub_rev _ _).trans_le (gram_sub_norm_le A B q hAn hBn) | |
| 55 | + exact hh.trans ((mul_le_mul_of_nonneg_left hgram (by positivity)).trans_eq (by ring)) | |
| 56 | + | |
| 57 | +variable (T : ℝ) (Q Q₁ P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 58 | + (c : ℝ) (hc : 0 < c) | |
| 59 | + (hQ : ∀ t u, c * ‖u‖^2 ≤ ‖Q t u‖^2) | |
| 60 | + (hP : ∀ t u, c * ‖u‖^2 ≤ ‖P t u‖^2) | |
| 61 | + | |
| 62 | +theorem generator_norm_le (q r : ℝ) (hQn : ‖Q‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ r) : | |
| 63 | + ‖generator T Q Q₁ c hc hQ‖ ≤ 2 * c⁻¹ * q * r := by | |
| 64 | + have hq := (norm_nonneg Q).trans hQn | |
| 65 | + have hr := (norm_nonneg Q₁).trans hQ₁n | |
| 66 | + apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 67 | + intro t | |
| 68 | + change ‖(-2 : ℝ) • (gramInverse (Q t) c hc (hQ t)).comp ((Q t).adjoint.comp (Q₁ t))‖ ≤ _ | |
| 69 | + rw [norm_smul] | |
| 70 | + norm_num only [Real.norm_eq_abs] | |
| 71 | + have hprod : ‖(Q t).adjoint.comp (Q₁ t)‖ ≤ q*r := by | |
| 72 | + apply (opNorm_comp_le _ _).trans | |
| 73 | + rw [LinearIsometryEquiv.norm_map] | |
| 74 | + exact mul_le_mul ((Q.norm_coe_le_norm t).trans hQn) | |
| 75 | + ((Q₁.norm_coe_le_norm t).trans hQ₁n) (norm_nonneg _) hq | |
| 76 | + apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans | |
| 77 | + (mul_le_mul (gramInverse_norm (Q t) c hc (hQ t)) hprod | |
| 78 | + (norm_nonneg _) (inv_nonneg.mpr hc.le))) (by norm_num)).trans_eq | |
| 79 | + ring | |
| 80 | + | |
| 81 | +/-- Only frame differences occur in the genuine generator difference. -/ | |
| 82 | +def generatorDifferenceCost (c q r δq δr : ℝ) : ℝ := | |
| 83 | + (4*(c⁻¹)^2*q^2*r + 2*c⁻¹*r)*δq + 2*c⁻¹*q*δr | |
| 84 | + | |
| 85 | +theorem generator_sub_norm_le (q r : ℝ) | |
| 86 | + (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ r) (_hP₁n : ‖P₁‖ ≤ r) : | |
| 87 | + ‖generator T Q Q₁ c hc hQ - generator T P P₁ c hc hP‖ ≤ | |
| 88 | + generatorDifferenceCost c q r ‖Q-P‖ ‖Q₁-P₁‖ := by | |
| 89 | + have hq := (norm_nonneg Q).trans hQn | |
| 90 | + have hr := (norm_nonneg Q₁).trans hQ₁n | |
| 91 | + have hcost : 0 ≤ generatorDifferenceCost c q r ‖Q-P‖ ‖Q₁-P₁‖ := by | |
| 92 | + unfold generatorDifferenceCost | |
| 93 | + positivity | |
| 94 | + apply (ContinuousMap.norm_le _ hcost).2 | |
| 95 | + intro t | |
| 96 | + have htQ : ‖Q t‖ ≤ q := (Q.norm_coe_le_norm t).trans hQn | |
| 97 | + have htP : ‖P t‖ ≤ q := (P.norm_coe_le_norm t).trans hPn | |
| 98 | + have htQ₁ : ‖Q₁ t‖ ≤ r := (Q₁.norm_coe_le_norm t).trans hQ₁n | |
| 99 | + have hδQ : ‖Q t-P t‖ ≤ ‖Q-P‖ := (Q-P).norm_coe_le_norm t | |
| 100 | + have hδQ₁ : ‖Q₁ t-P₁ t‖ ≤ ‖Q₁-P₁‖ := (Q₁-P₁).norm_coe_le_norm t | |
| 101 | + have hI : ‖gramInverse (Q t) c hc (hQ t) - gramInverse (P t) c hc (hP t)‖ ≤ | |
| 102 | + 2*(c⁻¹)^2*q*‖Q-P‖ := | |
| 103 | + (gramInverse_sub_norm_le (Q t) (P t) c hc (hQ t) (hP t) q htQ htP).trans | |
| 104 | + (mul_le_mul_of_nonneg_left hδQ (by positivity)) | |
| 105 | + have hprod : ‖(Q t).adjoint.comp (Q₁ t)‖ ≤ q*r := by | |
| 106 | + apply (opNorm_comp_le _ _).trans | |
| 107 | + rw [LinearIsometryEquiv.norm_map] | |
| 108 | + exact mul_le_mul htQ htQ₁ (norm_nonneg _) hq | |
| 109 | + have hprodδ : ‖(Q t).adjoint.comp (Q₁ t) - (P t).adjoint.comp (P₁ t)‖ ≤ | |
| 110 | + ‖Q-P‖*r + q*‖Q₁-P₁‖ := by | |
| 111 | + apply (norm_comp_sub_le _ _ _ _).trans | |
| 112 | + have had : ‖(Q t).adjoint-(P t).adjoint‖ = ‖Q t-P t‖ := by | |
| 113 | + rw [← map_sub, LinearIsometryEquiv.norm_map] | |
| 114 | + rw [had, LinearIsometryEquiv.norm_map] | |
| 115 | + exact add_le_add (mul_le_mul hδQ htQ₁ (by positivity) (by positivity)) | |
| 116 | + (mul_le_mul htP hδQ₁ (norm_nonneg _) hq) | |
| 117 | + have htotal := (norm_comp_sub_le | |
| 118 | + (gramInverse (Q t) c hc (hQ t)) (gramInverse (P t) c hc (hP t)) | |
| 119 | + ((Q t).adjoint.comp (Q₁ t)) ((P t).adjoint.comp (P₁ t))).trans | |
| 120 | + (add_le_add (mul_le_mul hI hprod (norm_nonneg _) (by positivity)) | |
| 121 | + (mul_le_mul (gramInverse_norm (P t) c hc (hP t)) hprodδ | |
| 122 | + (norm_nonneg _) (inv_nonneg.mpr hc.le))) | |
| 123 | + change ‖(-2 : ℝ) • (gramInverse (Q t) c hc (hQ t)).comp ((Q t).adjoint.comp (Q₁ t)) - | |
| 124 | + (-2 : ℝ) • (gramInverse (P t) c hc (hP t)).comp ((P t).adjoint.comp (P₁ t))‖ ≤ _ | |
| 125 | + rw [← smul_sub, norm_smul] | |
| 126 | + norm_num only [Real.norm_eq_abs] | |
| 127 | + exact (mul_le_mul_of_nonneg_left htotal (by norm_num)).trans_eq | |
| 128 | + (by unfold generatorDifferenceCost; ring) | |
| 129 | + | |
| 130 | +end EulerTransverseGeneratorDifference | |
| 131 | +end | |
| 132 | + | |
| 133 | +end | |
| 134 | + | |
| 12 | 135 | noncomputable section |
| 13 | 136 | |
| 14 | 137 | |
+122 −1 Euler/TransverseHistoryParentCost.lean View file
| @@ -1,8 +1,129 @@ | ||
| 1 | -import Euler.TransverseHistoryPolynomialCost | |
| 1 | +import Euler.TransverseHistoryLipschitz | |
| 2 | +import Euler.PacketParentMeanCoercivity | |
| 2 | 3 | |
| 3 | 4 | /-! The actual zeroth-order history costs are bounded by fixed scalar |
| 4 | 5 | polynomials in the parent coefficient bounds and reciprocal horizon. -/ |
| 5 | 6 | |
| 7 | +/-! ## From `Euler/TransverseHistoryPolynomialCost.lean` | |
| 8 | + | |
| 9 | +The text of `Euler/TransverseHistoryPolynomialCost.lean`, folded into this file, which was its only importer. -/ | |
| 10 | + | |
| 11 | +section | |
| 12 | + | |
| 13 | +/-! A fixed polynomial upper bound for the history's computed sensitivity. | |
| 14 | +The time reciprocal and inverse Gram bound are independent scalar inputs; | |
| 15 | +no operator or solution norm occurs in the resulting envelope. -/ | |
| 16 | + | |
| 17 | +noncomputable section | |
| 18 | + | |
| 19 | +namespace EulerTransverseHistoryBounds | |
| 20 | + | |
| 21 | +open EulerTimeH1GeneratorBounds EulerTransverseEndpointBounds | |
| 22 | + EulerTransverseEndpointDifference EulerTransverseGeneratorDifference | |
| 23 | + EulerPacketParentMeanCoercivity | |
| 24 | + | |
| 25 | +def slopeEnvelope (Ti d a r : ℝ) : ℝ := | |
| 26 | + r*(1+d^2*(2*r^2)*a)*(2*Ti*d) | |
| 27 | + | |
| 28 | +def slopeDifferenceEnvelope (Ti d a r x y : ℝ) : ℝ := | |
| 29 | + r*(2*Ti*endpointDifferenceCost d (2*r^2) a x y+x*slopeEnvelope Ti d a r) | |
| 30 | + | |
| 31 | +def generatorDifferenceEnvelope (ci q q1 x y : ℝ) : ℝ := | |
| 32 | + (4*ci^2*q^2*q1+2*ci*q1)*x+2*ci*q*y | |
| 33 | + | |
| 34 | +def differenceEnvelope (Ti ci q q1 d a r x y z : ℝ) : ℝ := | |
| 35 | + x*(2*(Ti+4*ci*q*q1))*slopeEnvelope Ti d a r+ | |
| 36 | + q*(4*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ | |
| 37 | + (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) | |
| 38 | + | |
| 39 | +theorem historyDifferenceCost_le_envelope (T c Ti ci q q1 d a r x y z : ℝ) | |
| 40 | + (hT : 0 < T) (hT1 : T ≤ 1) (hTi : T⁻¹ ≤ Ti) (hc : 0 < c) (hci : c⁻¹ ≤ ci) | |
| 41 | + (hq : 0 ≤ q) (hq1 : 0 ≤ q1) (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 42 | + (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) : | |
| 43 | + historyDifferenceCost T c q q1 d a r x y z ≤ | |
| 44 | + differenceEnvelope Ti ci q q1 d a r x y z := by | |
| 45 | + have hTi0 := (inv_pos.mpr hT).le.trans hTi | |
| 46 | + have hci0 := (inv_pos.mpr hc).le.trans hci | |
| 47 | + have hSlope0 : 0 ≤ slopeCost T d a r := by unfold slopeCost affineCost; positivity | |
| 48 | + have hGen0 : 0 ≤ generatorDifferenceCost c q q1 x y := by | |
| 49 | + unfold generatorDifferenceCost; positivity | |
| 50 | + have hGenE0 : 0 ≤ generatorDifferenceEnvelope ci q q1 x y := by | |
| 51 | + unfold generatorDifferenceEnvelope; positivity | |
| 52 | + have hSd0 : 0 ≤ slopeDifferenceCost T d a r (T*y+x) (T^2*z) := by | |
| 53 | + unfold slopeDifferenceCost slopeCost affineCost endpointDifferenceCost | |
| 54 | + positivity | |
| 55 | + have hAff : affineCost T ≤ 2*Ti := by | |
| 56 | + unfold affineCost | |
| 57 | + rw [abs_of_pos (inv_pos.mpr hT)] | |
| 58 | + calc | |
| 59 | + (1+T)*T⁻¹ ≤ (1+1)*Ti := by gcongr | |
| 60 | + _ = 2*Ti := by ring | |
| 61 | + have hTrace : traceCost T (2*c⁻¹*q*q1) ≤ 2*(Ti+4*ci*q*q1) := by | |
| 62 | + unfold traceCost | |
| 63 | + calc | |
| 64 | + (1+T)*(T⁻¹+2*(2*c⁻¹*q*q1)) ≤ (1+1)*(Ti+2*(2*ci*q*q1)) := by gcongr | |
| 65 | + _ = 2*(Ti+4*ci*q*q1) := by ring | |
| 66 | + have hSlope : slopeCost T d a r ≤ slopeEnvelope Ti d a r := by | |
| 67 | + unfold slopeCost slopeEnvelope | |
| 68 | + gcongr | |
| 69 | + have hGen : generatorDifferenceCost c q q1 x y ≤ generatorDifferenceEnvelope ci q q1 x y := by | |
| 70 | + unfold generatorDifferenceCost generatorDifferenceEnvelope | |
| 71 | + gcongr | |
| 72 | + have hSd : slopeDifferenceCost T d a r (T*y+x) (T^2*z) ≤ | |
| 73 | + slopeDifferenceEnvelope Ti d a r (y+x) z := by | |
| 74 | + unfold slopeDifferenceCost slopeDifferenceEnvelope | |
| 75 | + have hxy : T*y+x ≤ y+x := by nlinarith | |
| 76 | + have hzT : T^2*z ≤ z := by | |
| 77 | + simpa only [one_mul] using mul_le_mul_of_nonneg_right (pow_le_one₀ hT.le hT1 : T^2 ≤ 1) hz | |
| 78 | + have hEndpoint0 : 0 ≤ endpointDifferenceCost d (2*r^2) a (T*y+x) (T^2*z) := by | |
| 79 | + unfold endpointDifferenceCost | |
| 80 | + positivity | |
| 81 | + have hEndpoint : endpointDifferenceCost d (2*r^2) a (T*y+x) (T^2*z) ≤ | |
| 82 | + endpointDifferenceCost d (2*r^2) a (y+x) z := by | |
| 83 | + unfold endpointDifferenceCost | |
| 84 | + gcongr | |
| 85 | + gcongr | |
| 86 | + unfold historyDifferenceCost differenceEnvelope | |
| 87 | + calc | |
| 88 | + _ ≤ x*(2*(Ti+4*ci*q*q1))*slopeEnvelope Ti d a r+ | |
| 89 | + q*(2*(1+1)*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ | |
| 90 | + (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) := by | |
| 91 | + gcongr | |
| 92 | + _ = _ := by ring | |
| 93 | + | |
| 94 | +theorem differenceEnvelope_mono | |
| 95 | + {Ti ci q q1 d a r x y z Ti' ci' q' q1' d' a' r' x' y' z' : ℝ} | |
| 96 | + (hTi : 0 ≤ Ti) (hci : 0 ≤ ci) (hq : 0 ≤ q) (hq1 : 0 ≤ q1) | |
| 97 | + (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 98 | + (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) | |
| 99 | + (hTi' : Ti ≤ Ti') (hci' : ci ≤ ci') (hq' : q ≤ q') (hq1' : q1 ≤ q1') | |
| 100 | + (hd' : d ≤ d') (ha' : a ≤ a') (hr' : r ≤ r') | |
| 101 | + (hx' : x ≤ x') (hy' : y ≤ y') (hz' : z ≤ z') : | |
| 102 | + differenceEnvelope Ti ci q q1 d a r x y z ≤ | |
| 103 | + differenceEnvelope Ti' ci' q' q1' d' a' r' x' y' z' := by | |
| 104 | + have hTi0 := hTi.trans hTi' | |
| 105 | + have hci0 := hci.trans hci' | |
| 106 | + have hq0 := hq.trans hq' | |
| 107 | + have hq10 := hq1.trans hq1' | |
| 108 | + have hd0 := hd.trans hd' | |
| 109 | + have ha0 := ha.trans ha' | |
| 110 | + have hr0 := hr.trans hr' | |
| 111 | + have hx0 := hx.trans hx' | |
| 112 | + have hy0 := hy.trans hy' | |
| 113 | + have hz0 := hz.trans hz' | |
| 114 | + unfold differenceEnvelope slopeDifferenceEnvelope | |
| 115 | + generatorDifferenceEnvelope slopeEnvelope endpointDifferenceCost | |
| 116 | + gcongr | |
| 117 | + | |
| 118 | +def parentDifferenceEnvelope (Ti C C1 CH R : ℝ) : ℝ := | |
| 119 | + differenceEnvelope Ti (gramInverseEnvelope C) C C1 (C1+C) (1+CH) | |
| 120 | + (transportEnvelope C C1) (C*R) (C1*R) (CH*R) | |
| 121 | + | |
| 122 | +end EulerTransverseHistoryBounds | |
| 123 | +end | |
| 124 | + | |
| 125 | +end | |
| 126 | + | |
| 6 | 127 | noncomputable section |
| 7 | 128 | |
| 8 | 129 | namespace EulerTransverseHistoryBounds |
+0 −113 Euler/TransverseHistoryPolynomialCost.lean deleted
| @@ -1,113 +0,0 @@ | ||
| 1 | -import Euler.TransverseHistoryLipschitz | |
| 2 | -import Euler.PacketParentMeanCoercivity | |
| 3 | - | |
| 4 | -/-! A fixed polynomial upper bound for the history's computed sensitivity. | |
| 5 | -The time reciprocal and inverse Gram bound are independent scalar inputs; | |
| 6 | -no operator or solution norm occurs in the resulting envelope. -/ | |
| 7 | - | |
| 8 | -noncomputable section | |
| 9 | - | |
| 10 | -namespace EulerTransverseHistoryBounds | |
| 11 | - | |
| 12 | -open EulerTimeH1GeneratorBounds EulerTransverseEndpointBounds | |
| 13 | - EulerTransverseEndpointDifference EulerTransverseGeneratorDifference | |
| 14 | - EulerPacketParentMeanCoercivity | |
| 15 | - | |
| 16 | -def slopeEnvelope (Ti d a r : ℝ) : ℝ := | |
| 17 | - r*(1+d^2*(2*r^2)*a)*(2*Ti*d) | |
| 18 | - | |
| 19 | -def slopeDifferenceEnvelope (Ti d a r x y : ℝ) : ℝ := | |
| 20 | - r*(2*Ti*endpointDifferenceCost d (2*r^2) a x y+x*slopeEnvelope Ti d a r) | |
| 21 | - | |
| 22 | -def generatorDifferenceEnvelope (ci q q1 x y : ℝ) : ℝ := | |
| 23 | - (4*ci^2*q^2*q1+2*ci*q1)*x+2*ci*q*y | |
| 24 | - | |
| 25 | -def differenceEnvelope (Ti ci q q1 d a r x y z : ℝ) : ℝ := | |
| 26 | - x*(2*(Ti+4*ci*q*q1))*slopeEnvelope Ti d a r+ | |
| 27 | - q*(4*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ | |
| 28 | - (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) | |
| 29 | - | |
| 30 | -theorem historyDifferenceCost_le_envelope (T c Ti ci q q1 d a r x y z : ℝ) | |
| 31 | - (hT : 0 < T) (hT1 : T ≤ 1) (hTi : T⁻¹ ≤ Ti) (hc : 0 < c) (hci : c⁻¹ ≤ ci) | |
| 32 | - (hq : 0 ≤ q) (hq1 : 0 ≤ q1) (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 33 | - (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) : | |
| 34 | - historyDifferenceCost T c q q1 d a r x y z ≤ | |
| 35 | - differenceEnvelope Ti ci q q1 d a r x y z := by | |
| 36 | - have hTi0 := (inv_pos.mpr hT).le.trans hTi | |
| 37 | - have hci0 := (inv_pos.mpr hc).le.trans hci | |
| 38 | - have hSlope0 : 0 ≤ slopeCost T d a r := by unfold slopeCost affineCost; positivity | |
| 39 | - have hGen0 : 0 ≤ generatorDifferenceCost c q q1 x y := by | |
| 40 | - unfold generatorDifferenceCost; positivity | |
| 41 | - have hGenE0 : 0 ≤ generatorDifferenceEnvelope ci q q1 x y := by | |
| 42 | - unfold generatorDifferenceEnvelope; positivity | |
| 43 | - have hSd0 : 0 ≤ slopeDifferenceCost T d a r (T*y+x) (T^2*z) := by | |
| 44 | - unfold slopeDifferenceCost slopeCost affineCost endpointDifferenceCost | |
| 45 | - positivity | |
| 46 | - have hAff : affineCost T ≤ 2*Ti := by | |
| 47 | - unfold affineCost | |
| 48 | - rw [abs_of_pos (inv_pos.mpr hT)] | |
| 49 | - calc | |
| 50 | - (1+T)*T⁻¹ ≤ (1+1)*Ti := by gcongr | |
| 51 | - _ = 2*Ti := by ring | |
| 52 | - have hTrace : traceCost T (2*c⁻¹*q*q1) ≤ 2*(Ti+4*ci*q*q1) := by | |
| 53 | - unfold traceCost | |
| 54 | - calc | |
| 55 | - (1+T)*(T⁻¹+2*(2*c⁻¹*q*q1)) ≤ (1+1)*(Ti+2*(2*ci*q*q1)) := by gcongr | |
| 56 | - _ = 2*(Ti+4*ci*q*q1) := by ring | |
| 57 | - have hSlope : slopeCost T d a r ≤ slopeEnvelope Ti d a r := by | |
| 58 | - unfold slopeCost slopeEnvelope | |
| 59 | - gcongr | |
| 60 | - have hGen : generatorDifferenceCost c q q1 x y ≤ generatorDifferenceEnvelope ci q q1 x y := by | |
| 61 | - unfold generatorDifferenceCost generatorDifferenceEnvelope | |
| 62 | - gcongr | |
| 63 | - have hSd : slopeDifferenceCost T d a r (T*y+x) (T^2*z) ≤ | |
| 64 | - slopeDifferenceEnvelope Ti d a r (y+x) z := by | |
| 65 | - unfold slopeDifferenceCost slopeDifferenceEnvelope | |
| 66 | - have hxy : T*y+x ≤ y+x := by nlinarith | |
| 67 | - have hzT : T^2*z ≤ z := by | |
| 68 | - simpa only [one_mul] using mul_le_mul_of_nonneg_right (pow_le_one₀ hT.le hT1 : T^2 ≤ 1) hz | |
| 69 | - have hEndpoint0 : 0 ≤ endpointDifferenceCost d (2*r^2) a (T*y+x) (T^2*z) := by | |
| 70 | - unfold endpointDifferenceCost | |
| 71 | - positivity | |
| 72 | - have hEndpoint : endpointDifferenceCost d (2*r^2) a (T*y+x) (T^2*z) ≤ | |
| 73 | - endpointDifferenceCost d (2*r^2) a (y+x) z := by | |
| 74 | - unfold endpointDifferenceCost | |
| 75 | - gcongr | |
| 76 | - gcongr | |
| 77 | - unfold historyDifferenceCost differenceEnvelope | |
| 78 | - calc | |
| 79 | - _ ≤ x*(2*(Ti+4*ci*q*q1))*slopeEnvelope Ti d a r+ | |
| 80 | - q*(2*(1+1)*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ | |
| 81 | - (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) := by | |
| 82 | - gcongr | |
| 83 | - _ = _ := by ring | |
| 84 | - | |
| 85 | -theorem differenceEnvelope_mono | |
| 86 | - {Ti ci q q1 d a r x y z Ti' ci' q' q1' d' a' r' x' y' z' : ℝ} | |
| 87 | - (hTi : 0 ≤ Ti) (hci : 0 ≤ ci) (hq : 0 ≤ q) (hq1 : 0 ≤ q1) | |
| 88 | - (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 89 | - (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) | |
| 90 | - (hTi' : Ti ≤ Ti') (hci' : ci ≤ ci') (hq' : q ≤ q') (hq1' : q1 ≤ q1') | |
| 91 | - (hd' : d ≤ d') (ha' : a ≤ a') (hr' : r ≤ r') | |
| 92 | - (hx' : x ≤ x') (hy' : y ≤ y') (hz' : z ≤ z') : | |
| 93 | - differenceEnvelope Ti ci q q1 d a r x y z ≤ | |
| 94 | - differenceEnvelope Ti' ci' q' q1' d' a' r' x' y' z' := by | |
| 95 | - have hTi0 := hTi.trans hTi' | |
| 96 | - have hci0 := hci.trans hci' | |
| 97 | - have hq0 := hq.trans hq' | |
| 98 | - have hq10 := hq1.trans hq1' | |
| 99 | - have hd0 := hd.trans hd' | |
| 100 | - have ha0 := ha.trans ha' | |
| 101 | - have hr0 := hr.trans hr' | |
| 102 | - have hx0 := hx.trans hx' | |
| 103 | - have hy0 := hy.trans hy' | |
| 104 | - have hz0 := hz.trans hz' | |
| 105 | - unfold differenceEnvelope slopeDifferenceEnvelope | |
| 106 | - generatorDifferenceEnvelope slopeEnvelope endpointDifferenceCost | |
| 107 | - gcongr | |
| 108 | - | |
| 109 | -def parentDifferenceEnvelope (Ti C C1 CH R : ℝ) : ℝ := | |
| 110 | - differenceEnvelope Ti (gramInverseEnvelope C) C C1 (C1+C) (1+CH) | |
| 111 | - (transportEnvelope C C1) (C*R) (C1*R) (CH*R) | |
| 112 | - | |
| 113 | -end EulerTransverseHistoryBounds | |
+0 −110 Euler/TransverseInitialInverse.lean deleted
| @@ -1,110 +0,0 @@ | ||
| 1 | -import Euler.TransverseEndpointBounds | |
| 2 | -import Euler.TransverseInitialCoordinates | |
| 3 | -import Euler.TransverseStrongEstimates | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -The actual left inverse of initial-zero moving-frame differentiation. This | |
| 7 | -gives polynomial coordinate estimates for nonzero-terminal paths, including | |
| 8 | -differences between frames, without estimating a forward evolution. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | - | |
| 14 | -namespace EulerTransverseInitialInverse | |
| 15 | - | |
| 16 | -open Set MeasureTheory ContinuousLinearMap InnerProductSpace | |
| 17 | - EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive | |
| 18 | - EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport | |
| 19 | - EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseInitialCoordinates | |
| 20 | - EulerTransverseStrongEstimates EulerTransverseEndpointBounds | |
| 21 | - | |
| 22 | -open scoped Topology | |
| 23 | - | |
| 24 | -variable {U E : Type*} | |
| 25 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 26 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 27 | - | |
| 28 | -variable (T : ℝ) (hT : 0 ≤ T) | |
| 29 | - (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 30 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖Q t v‖ ^ 2) | |
| 31 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 32 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 33 | - | |
| 34 | -def initialCoordinateOperator : TimeLp T E →L[ℝ] TimeLp T U := | |
| 35 | - initialProductDerivative T hT (frameLeftInversePath T Q c hc hQ) | |
| 36 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 37 | - | |
| 38 | -include hd in | |
| 39 | -theorem initialCoordinates_product (u : TimeLp T U) (t : Icc (0 : ℝ) T) : | |
| 40 | - initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) t = | |
| 41 | - initialRealPrimitive T u t := by | |
| 42 | - have he := initialPrimitive_initialProductDerivative T hT Q Q₁ hd u t | |
| 43 | - change initialRealPrimitive T (initialProductDerivative T hT Q Q₁ u) t = | |
| 44 | - Q t (initialRealPrimitive T u t) at he | |
| 45 | - simp only [initialCoordinates, extendPath, projIcc_of_mem hT t.property, he] | |
| 46 | - exact frameLeftInverse_apply (Q t) c hc (hQ t) _ | |
| 47 | - | |
| 48 | -include hd in | |
| 49 | -/-- Differentiating the true initial primitive proves the left-inverse identity. -/ | |
| 50 | -theorem initialCoordinateOperator_product (u : TimeLp T U) : | |
| 51 | - initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u) = u := by | |
| 52 | - apply Lp.ext | |
| 53 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 54 | - change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 55 | - rw [← restrict_Ioo_eq_restrict_Icc] | |
| 56 | - exact ae_restrict_mem measurableSet_Ioo | |
| 57 | - filter_upwards [hmem, | |
| 58 | - (initialCoordinates_h1 T hT Q Q₁ c hc hQ hd (initialProductDerivative T hT Q Q₁ u)).2.2, | |
| 59 | - initialRealPrimitive_hasDerivAt_ae T u] with t ht hcoord hu | |
| 60 | - have he : initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) =ᶠ[𝓝 t] | |
| 61 | - initialRealPrimitive T u := by | |
| 62 | - filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs | |
| 63 | - exact initialCoordinates_product T hT Q Q₁ c hc hQ hd u ⟨s, hs⟩ | |
| 64 | - exact hcoord.unique (hu.congr_of_eventuallyEq he) | |
| 65 | - | |
| 66 | -theorem initialCoordinateOperator_norm_le : | |
| 67 | - ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ transportCost T Q Q₁ c := by | |
| 68 | - have hb := product_norm_le T hT (initialPrimitiveTimeLp T hT) | |
| 69 | - (initialPrimitive_norm_le_time T hT) (frameLeftInversePath T Q c hc hQ) | |
| 70 | - (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 71 | - have hpath := add_le_add | |
| 72 | - (mul_le_mul_of_nonneg_left (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hT) | |
| 73 | - (frameLeftInversePath_norm T Q c hc hQ) | |
| 74 | - change ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ _ at hb | |
| 75 | - apply hb.trans (hpath.trans _) | |
| 76 | - unfold transportCost | |
| 77 | - linarith | |
| 78 | - | |
| 79 | -include hd hc hQ in | |
| 80 | -theorem norm_le_initialProductDerivative (u : TimeLp T U) : | |
| 81 | - ‖u‖ ≤ transportCost T Q Q₁ c * ‖initialProductDerivative T hT Q Q₁ u‖ := by | |
| 82 | - calc | |
| 83 | - ‖u‖ = ‖initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u)‖ := by | |
| 84 | - rw [initialCoordinateOperator_product T hT Q Q₁ c hc hQ hd] | |
| 85 | - _ ≤ ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ * | |
| 86 | - ‖initialProductDerivative T hT Q Q₁ u‖ := le_opNorm _ _ | |
| 87 | - _ ≤ _ := mul_le_mul_of_nonneg_right (initialCoordinateOperator_norm_le T hT Q Q₁ c hc hQ) | |
| 88 | - (norm_nonneg _) | |
| 89 | - | |
| 90 | -include hd hc hQ in | |
| 91 | -/-- A difference of coordinate derivatives is bounded by the physical | |
| 92 | -difference and the literal change of the frame coefficients. -/ | |
| 93 | -theorem norm_sub_le_initialProductDerivative | |
| 94 | - (P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (u v : TimeLp T U) : | |
| 95 | - ‖u-v‖ ≤ transportCost T Q Q₁ c * | |
| 96 | - (‖initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v‖ + | |
| 97 | - (T * ‖Q₁-P₁‖ + ‖Q-P‖) * ‖v‖) := by | |
| 98 | - apply (norm_le_initialProductDerivative T hT Q Q₁ c hc hQ hd (u-v)).trans | |
| 99 | - apply mul_le_mul_of_nonneg_left _ (transportCost_pos T hT Q Q₁ c hc).le | |
| 100 | - have he : initialProductDerivative T hT Q Q₁ (u-v) = | |
| 101 | - (initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v) - | |
| 102 | - (initialProductDerivative T hT Q Q₁ - initialProductDerivative T hT P P₁) v := by | |
| 103 | - rw [map_sub, sub_apply] | |
| 104 | - abel | |
| 105 | - rw [he] | |
| 106 | - apply (norm_sub_le _ _).trans (add_le_add (le_refl _) _) | |
| 107 | - exact (le_opNorm _ _).trans (mul_le_mul_of_nonneg_right | |
| 108 | - (product_sub_norm_le T hT _ (initialPrimitive_norm_le_time T hT) Q Q₁ P P₁) (norm_nonneg v)) | |
| 109 | - | |
| 110 | -end EulerTransverseInitialInverse | |
+0 −115 Euler/TransversePacketCoefficientBounds.lean deleted
| @@ -1,115 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketCorrector | |
| 2 | -import Euler.MeanCoefficientPathJets | |
| 3 | - | |
| 4 | -/-! Explicit polynomial coefficient budgets for the actual transverse potential and slow curl. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerTransversePacketProvider.Data | |
| 9 | - | |
| 10 | -open Set EulerSmoothLimit EulerMeanCoefficients EulerGevrey EulerOperatorGevreyCalculus | |
| 11 | - EulerSourceNormalCoefficient EulerSourcePotentialCoefficient EulerTransverseBoundedFrame | |
| 12 | - EulerTimeLpGramGevrey | |
| 13 | -open scoped ContDiff BoundedContinuousFunction | |
| 14 | - | |
| 15 | -def correctorCoefficientRadius (R Ri : ℝ) : ℝ := R+4*Ri+1 | |
| 16 | - | |
| 17 | -def correctorCoefficientAmplitude (C Ri : ℝ) : ℝ := | |
| 18 | - 1+C+3*C^2+3*Ri*C+27*(3*Ri*C)^2*(3*C^2) | |
| 19 | - | |
| 20 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 21 | - | |
| 22 | -private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance | |
| 23 | -private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance | |
| 24 | -private local instance : NormedAddCommGroup PotentialField := inferInstance | |
| 25 | -private local instance : NormedSpace ℝ PotentialField := inferInstance | |
| 26 | -private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance | |
| 27 | -private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance | |
| 28 | -private local instance : NormedAddCommGroup (Space →L[ℝ] ℝ) := inferInstance | |
| 29 | -private local instance : NormedSpace ℝ (Space →L[ℝ] ℝ) := inferInstance | |
| 30 | -private local instance : NormedAddCommGroup NormalField := inferInstance | |
| 31 | -private local instance : NormedSpace ℝ NormalField := inferInstance | |
| 32 | -private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,NormalField) := inferInstance | |
| 33 | -private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,NormalField) := inferInstance | |
| 34 | -private local instance : NormedAddCommGroup (Space →ᵇ Space) := inferInstance | |
| 35 | -private local instance : NormedSpace ℝ (Space →ᵇ Space) := inferInstance | |
| 36 | -private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance | |
| 37 | -private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance | |
| 38 | - | |
| 39 | -/-- All four coefficients used in C and C_t follow from the original F⁻¹ and M bounds. -/ | |
| 40 | -theorem corrector_coefficient_bounds (R C Ri : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hRi : 0 ≤ Ri) | |
| 41 | - (hInv : 2*gramCost D.normalLower C 1*(R+1) ≤ Ri) | |
| 42 | - (hI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 43 | - C*majorant R 0 n) | |
| 44 | - (hM : ∀ n t x, ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 45 | - C*majorant R 0 n) : | |
| 46 | - 0 ≤ correctorCoefficientRadius R Ri ∧ 0 ≤ correctorCoefficientAmplitude C Ri ∧ | |
| 47 | - ∀ n a, | |
| 48 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ | |
| 49 | - correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 50 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 51 | - correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 52 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 53 | - correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 54 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 55 | - correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n := by | |
| 56 | - let Rc := correctorCoefficientRadius R Ri | |
| 57 | - let Cc := correctorCoefficientAmplitude C Ri | |
| 58 | - have hRc : 0 ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; positivity | |
| 59 | - have hRR : R ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith | |
| 60 | - have hIR : 4*Ri ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith | |
| 61 | - have hN : 0 ≤ 3*Ri*C := by positivity | |
| 62 | - have hD : 0 ≤ 3*C^2 := by positivity | |
| 63 | - have hDt : 0 ≤ 27*(3*Ri*C)^2*(3*C^2) := by positivity | |
| 64 | - have hCc : 0 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; positivity | |
| 65 | - have hC0 : C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 66 | - have hC1 : 3*C^2 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 67 | - have hCN : 3*Ri*C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 68 | - have hCT : 27*(3*Ri*C)^2*(3*C^2) ≤ Cc := by | |
| 69 | - dsimp [Cc,correctorCoefficientAmplitude] | |
| 70 | - linarith | |
| 71 | - have hIb (n : ℕ) (a : Space) : | |
| 72 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n := | |
| 73 | - (D.FInv.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) | |
| 74 | - (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hI n) a).trans | |
| 75 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) | |
| 76 | - have hMb (n : ℕ) (a : Space) : | |
| 77 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.M.field) a‖ ≤ C*majorant Rc 0 n := | |
| 78 | - (D.M.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) | |
| 79 | - (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hM n) a).trans | |
| 80 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) | |
| 81 | - have hnormal (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 82 | - ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ C*majorant R 0 n := | |
| 83 | - normalCoefficient_derivative_bound D.m₀ D.FInv D.m₀_unit n (C*majorant R 0 n) (hI n) t x | |
| 84 | - have hNb (n : ℕ) (a : Space) : | |
| 85 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath | |
| 86 | - (normalFunctional D.normal D.normalLower D.normalLower_pos D.normal_lower)) a‖ ≤ | |
| 87 | - (3*Ri*C)*majorant Rc 0 n := | |
| 88 | - (normalFunctional_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 89 | - R C Ri hR hC hInv hnormal n a).trans | |
| 90 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) | |
| 91 | - have hKb (n : ℕ) (a : Space) : | |
| 92 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 93 | - (3*Ri*C)*majorant Rc 0 n := | |
| 94 | - (potentialCoefficient_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 95 | - R C Ri hR hC hInv hnormal n a).trans | |
| 96 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) | |
| 97 | - have hIt (n : ℕ) (a : Space) : | |
| 98 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by | |
| 99 | - simpa only [pow_two, mul_assoc] using D.inverseDerivative_bound Rc C C hRc hC hC hIb hMb n a | |
| 100 | - have hmt (n : ℕ) (a : Space) : | |
| 101 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.normalDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by | |
| 102 | - simpa only [pow_two, mul_assoc] using D.normalDerivative_bound Rc C C hRc hC hC hIb hMb n a | |
| 103 | - have hKt (n : ℕ) (a : Space) : | |
| 104 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 105 | - (27*(3*Ri*C)^2*(3*C^2))*majorant Rc 0 n := | |
| 106 | - potentialTimePath_bound D.normal D.normalDerivative D.normalLower D.normalLower_pos D.normal_lower | |
| 107 | - D.normalDerivative_orbit Rc (3*Ri*C) (3*C^2) hRc hN hD hNb hmt n a | |
| 108 | - refine ⟨hRc,hCc,fun n a => ?_⟩ | |
| 109 | - have hmj := majorant_nonneg Rc hRc 0 n | |
| 110 | - exact ⟨(hIb n a).trans (mul_le_mul_of_nonneg_right hC0 hmj), | |
| 111 | - (hIt n a).trans (mul_le_mul_of_nonneg_right hC1 hmj), | |
| 112 | - (hKb n a).trans (mul_le_mul_of_nonneg_right hCN hmj), | |
| 113 | - (hKt n a).trans (mul_le_mul_of_nonneg_right hCT hmj)⟩ | |
| 114 | - | |
| 115 | -end EulerTransversePacketProvider.Data | |
+0 −95 Euler/TransversePacketCorrectorBounds.lean deleted
| @@ -1,95 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketCorrector | |
| 2 | -import Euler.CylinderSlowCurlWeight | |
| 3 | -import Euler.CylinderPotentialTimeWeight | |
| 4 | - | |
| 5 | -/-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketProvider.Forcing | |
| 10 | - | |
| 11 | -open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey | |
| 12 | - EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey | |
| 13 | - EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by | |
| 17 | - cases i using Fin.cases <;> simp [Prod.norm_def] | |
| 18 | - | |
| 19 | -variable {P : ℝ} [Fact (0 < P)] | |
| 20 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 21 | - {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 22 | - (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 23 | - (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) | |
| 24 | - (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) | |
| 25 | - (hbA : ∀ n, block standardDirection q | |
| 26 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullVelocityPath I))) n 0 ≤ | |
| 27 | - A*majorant R d n) | |
| 28 | - (hbAt : ∀ n, block standardDirection q | |
| 29 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullDerivativePath I))) n 0 ≤ | |
| 30 | - A*majorant R d n) | |
| 31 | - (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 32 | - C*majorant Rc 0 n) | |
| 33 | - (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 34 | - C*majorant Rc 0 n) | |
| 35 | - (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) | |
| 36 | - (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 37 | - C*majorant Rc 0 n) | |
| 38 | - | |
| 39 | -include hRc hC hA hR hbA hbK in | |
| 40 | -theorem potentialPath_normalized_bound (n : ℕ) : | |
| 41 | - block standardDirection q | |
| 42 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) n 0 ≤ | |
| 43 | - (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 44 | - EulerCylinderPotential.normalized_potentialPath_block_bound P g (G.fullVelocityPath I) | |
| 45 | - D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit | |
| 46 | - (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (G.fullVelocityPath I) (G.velocityPath_orbit I)) | |
| 47 | - standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n | |
| 48 | - | |
| 49 | -include hRc hC hA hR hbA hbAt hbK hbKt in | |
| 50 | -theorem potentialTimePath_normalized_bound (n : ℕ) : | |
| 51 | - block standardDirection q | |
| 52 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialTimePath I))) n 0 ≤ | |
| 53 | - (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 54 | - EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T | |
| 55 | - D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit | |
| 56 | - (G.fullVelocityPath I) (G.fullDerivativePath I) (G.velocityPath_orbit I) (G.derivativePath_orbit I) | |
| 57 | - g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n | |
| 58 | - | |
| 59 | -include hRc hC hA hR hbA hbK hbI in | |
| 60 | -theorem correctorPath_normalized_bound (n : ℕ) : | |
| 61 | - block standardDirection q | |
| 62 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorPath I))) n 0 ≤ | |
| 63 | - (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 64 | - have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 65 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 66 | - have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field | |
| 67 | - (G.potentialPath I) (G.potentialPath_orbit I) hg D.FInv.translation_contDiff | |
| 68 | - q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d | |
| 69 | - (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK) n | |
| 70 | - exact h.trans_eq (by ring) | |
| 71 | - | |
| 72 | -include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in | |
| 73 | -theorem correctorTimePath_normalized_bound (n : ℕ) : | |
| 74 | - block standardDirection q | |
| 75 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorTimePath I))) n 0 ≤ | |
| 76 | - (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 77 | - have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 78 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 79 | - have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR | |
| 80 | - have hQ (j : ℕ) : block standardDirection q | |
| 81 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) j 0 ≤ | |
| 82 | - (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by | |
| 83 | - apply (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans | |
| 84 | - have hn := mul_nonneg | |
| 85 | - (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) | |
| 86 | - (majorant_nonneg R hRn d j) | |
| 87 | - linarith | |
| 88 | - have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg | |
| 89 | - D.FInv.field D.inverseDerivative (G.potentialPath I) (G.potentialTimePath I) | |
| 90 | - (G.potentialPath_orbit I) (G.potentialTimePath_orbit I) D.FInv.translation_contDiff D.inverseDerivative_orbit | |
| 91 | - q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR | |
| 92 | - hbI hbIt d hQ (G.potentialTimePath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n | |
| 93 | - exact h.trans_eq (by ring) | |
| 94 | - | |
| 95 | -end EulerTransversePacketProvider.Forcing | |
+0 −18 Euler/TransversePacketCorrectorMean.lean deleted
| @@ -1,18 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketCorrector | |
| 2 | -import Euler.CylinderCorrectorMeanZero | |
| 3 | - | |
| 4 | -/-! Zero angular mean of the actual transverse potential, corrector, and time derivatives. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerTransversePacketProvider.Forcing | |
| 9 | - | |
| 10 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 11 | - EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderAngleAverage | |
| 12 | - EulerCylinderCorrectorMeanZero EulerPacketProfileRecursion | |
| 13 | - | |
| 14 | -variable {P : ℝ} [Fact (0 < P)] | |
| 15 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 16 | - {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 17 | - | |
| 18 | -end EulerTransversePacketProvider.Forcing | |
+27 −1 Euler/TransversePacketCorrectorOperator.lean View file
| @@ -1,8 +1,34 @@ | ||
| 1 | 1 | import Euler.TransversePacketCylinderFields |
| 2 | -import Euler.TransversePacketCorrectorMean | |
| 2 | +import Euler.TransversePacketCorrector | |
| 3 | +import Euler.CylinderCorrectorMeanZero | |
| 3 | 4 | |
| 4 | 5 | /-! The literal raw-field corrector operator used by the recursive packet definition. -/ |
| 5 | 6 | |
| 7 | +/-! ## From `Euler/TransversePacketCorrectorMean.lean` | |
| 8 | + | |
| 9 | +The text of `Euler/TransversePacketCorrectorMean.lean`, folded into this file, which was its only importer. -/ | |
| 10 | + | |
| 11 | +section | |
| 12 | + | |
| 13 | +/-! Zero angular mean of the actual transverse potential, corrector, and time derivatives. -/ | |
| 14 | + | |
| 15 | +noncomputable section | |
| 16 | + | |
| 17 | +namespace EulerTransversePacketProvider.Forcing | |
| 18 | + | |
| 19 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 20 | + EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderAngleAverage | |
| 21 | + EulerCylinderCorrectorMeanZero EulerPacketProfileRecursion | |
| 22 | + | |
| 23 | +variable {P : ℝ} [Fact (0 < P)] | |
| 24 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 25 | + {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 26 | + | |
| 27 | +end EulerTransversePacketProvider.Forcing | |
| 28 | +end | |
| 29 | + | |
| 30 | +end | |
| 31 | + | |
| 6 | 32 | noncomputable section |
| 7 | 33 | |
| 8 | 34 | namespace EulerTransversePacketProvider |
+0 −32 Euler/TransversePacketCorrectorSupport.lean deleted
| @@ -1,32 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketCorrector | |
| 2 | -import Euler.CylinderLocalSupport | |
| 3 | - | |
| 4 | -/-! Compact support of the actual transverse potential, corrector, and their time derivatives. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerTransversePacketProvider.Forcing | |
| 9 | - | |
| 10 | -open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 11 | - EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderLocalSupport EulerPacketProfileRecursion | |
| 12 | - | |
| 13 | -variable {P : ℝ} [Fact (0 < P)] | |
| 14 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 15 | - {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 16 | - | |
| 17 | -theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 18 | - G.potentialPath I t ∈ Supported P Space D.support D.support_measurable := | |
| 19 | - EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 20 | - (G.fullVelocityPath I) D.potentialCoefficientPath (fun s => (G.velocityPath I s).property) t | |
| 21 | - | |
| 22 | -theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 23 | - G.correctorPath I t ∈ Supported P Space D.support D.support_measurable := | |
| 24 | - slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) | |
| 25 | - (G.potentialPath_orbit I) D.FInv.field D.support_compact.isClosed (G.potentialPath_supported I) t | |
| 26 | - | |
| 27 | -theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 28 | - G.corrector I (t,(x,θ)) = 0 := | |
| 29 | - pointField_zero_outside P D.support D.support_measurable (G.correctorPath I) (G.correctorPath_orbit I) | |
| 30 | - D.support_compact.isClosed (G.correctorPath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 31 | - | |
| 32 | -end EulerTransversePacketProvider.Forcing | |
+41 −1 Euler/TransversePacketCylinderFields.lean View file
| @@ -1,8 +1,48 @@ | ||
| 1 | -import Euler.TransversePacketCorrectorSupport | |
| 1 | +import Euler.TransversePacketCorrector | |
| 2 | +import Euler.CylinderLocalSupport | |
| 2 | 3 | import Euler.PacketCylinderField |
| 3 | 4 | |
| 4 | 5 | /-! Actual cylinder-path witnesses for the constructed transverse solution and corrector. -/ |
| 5 | 6 | |
| 7 | +/-! ## From `Euler/TransversePacketCorrectorSupport.lean` | |
| 8 | + | |
| 9 | +The text of `Euler/TransversePacketCorrectorSupport.lean`, folded into this file, which was its only importer. -/ | |
| 10 | + | |
| 11 | +section | |
| 12 | + | |
| 13 | +/-! Compact support of the actual transverse potential, corrector, and their time derivatives. -/ | |
| 14 | + | |
| 15 | +noncomputable section | |
| 16 | + | |
| 17 | +namespace EulerTransversePacketProvider.Forcing | |
| 18 | + | |
| 19 | +open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 20 | + EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderLocalSupport EulerPacketProfileRecursion | |
| 21 | + | |
| 22 | +variable {P : ℝ} [Fact (0 < P)] | |
| 23 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | + {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 25 | + | |
| 26 | +theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 27 | + G.potentialPath I t ∈ Supported P Space D.support D.support_measurable := | |
| 28 | + EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 29 | + (G.fullVelocityPath I) D.potentialCoefficientPath (fun s => (G.velocityPath I s).property) t | |
| 30 | + | |
| 31 | +theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 32 | + G.correctorPath I t ∈ Supported P Space D.support D.support_measurable := | |
| 33 | + slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) | |
| 34 | + (G.potentialPath_orbit I) D.FInv.field D.support_compact.isClosed (G.potentialPath_supported I) t | |
| 35 | + | |
| 36 | +theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 37 | + G.corrector I (t,(x,θ)) = 0 := | |
| 38 | + pointField_zero_outside P D.support D.support_measurable (G.correctorPath I) (G.correctorPath_orbit I) | |
| 39 | + D.support_compact.isClosed (G.correctorPath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 40 | + | |
| 41 | +end EulerTransversePacketProvider.Forcing | |
| 42 | +end | |
| 43 | + | |
| 44 | +end | |
| 45 | + | |
| 6 | 46 | noncomputable section |
| 7 | 47 | |
| 8 | 48 | namespace EulerTransversePacketProvider.Forcing |
+212 −1 Euler/TransversePacketData.lean View file
| @@ -1,4 +1,5 @@ | ||
| 1 | -import Euler.TransverseBoundedGeometry | |
| 1 | +import Euler.SmoothCoefficientPathMap | |
| 2 | +import Euler.TransverseSourceCoefficientPath | |
| 2 | 3 | |
| 3 | 4 | /-! |
| 4 | 5 | # Source deformation data for the concrete transverse packet provider |
| @@ -8,6 +9,216 @@ are inputs. The transverse frame, normal, both coercivity constants, and all | ||
| 8 | 9 | geometry needed by the forward solve are derived below. |
| 9 | 10 | -/ |
| 10 | 11 | |
| 12 | +/-! ## From `Euler/TransverseBoundedFrame.lean` | |
| 13 | + | |
| 14 | +The text of `Euler/TransverseBoundedFrame.lean`, folded into this file, which was its only importer. -/ | |
| 15 | + | |
| 16 | +section | |
| 17 | + | |
| 18 | +/-! | |
| 19 | +# The literal source frame as a uniformly smooth bounded coefficient path | |
| 20 | + | |
| 21 | +The reference-plane restriction is a fixed linear contraction. The actual | |
| 22 | +source fields F and F_t therefore construct the full bounded frame fields, | |
| 23 | +with their genuine jets and time derivative. A pointwise bound on F⁻¹ proves | |
| 24 | +the uniform frame coercivity used by the constructed Gram inverse. | |
| 25 | +-/ | |
| 26 | + | |
| 27 | +noncomputable section | |
| 28 | + | |
| 29 | +namespace EulerTransverseBoundedFrame | |
| 30 | + | |
| 31 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 32 | + EulerTransverseFrameCoordinates EulerTransverseSourceFrame EulerTransverseSourceCoefficientPath | |
| 33 | + EulerVolterraConvolution | |
| 34 | +open scoped BoundedContinuousFunction ContDiff | |
| 35 | + | |
| 36 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 37 | + (m₀ : Space) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 38 | + | |
| 39 | +/-- Restricting a matrix to the orthonormal reference plane is a contraction. -/ | |
| 40 | +theorem restriction_norm : ‖referenceRestriction m₀ R‖ ≤ 1 := by | |
| 41 | + apply opNorm_le_bound _ zero_le_one | |
| 42 | + intro A | |
| 43 | + change ‖A.comp (referenceEmbedding m₀ R)‖ ≤ 1*‖A‖ | |
| 44 | + exact (opNorm_comp_le A (referenceEmbedding m₀ R)).trans | |
| 45 | + (by simpa only [mul_one,one_mul] using | |
| 46 | + mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ R) (norm_nonneg A)) | |
| 47 | + | |
| 48 | +variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 49 | + | |
| 50 | +/-- The actual source F R⊥, including all its uniformly continuous spatial jets. -/ | |
| 51 | +def coefficient (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) : | |
| 52 | + SmoothCoefficientPath K (U →L[ℝ] Space) := | |
| 53 | + SmoothCoefficientPath.map (referenceRestriction m₀ R) F | |
| 54 | + | |
| 55 | +@[simp] theorem coefficient_apply (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 56 | + (t : K) (x : Space) (v : U) : (coefficient m₀ R F).field t x v = F.field t x (R v : Space) := rfl | |
| 57 | + | |
| 58 | +/-- The original pointwise source coefficient derivative bound survives without loss. -/ | |
| 59 | +theorem coefficient_derivative_bound (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 60 | + (n : ℕ) (C : ℝ) | |
| 61 | + (hF : ∀ t x, ‖iteratedFDeriv ℝ n (F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 62 | + (t : K) (x : Space) : | |
| 63 | + ‖iteratedFDeriv ℝ n ((coefficient m₀ R F).field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 64 | + SmoothCoefficientPath.map_derivative_bound (referenceRestriction m₀ R) (restriction_norm m₀ R) F n C hF t x | |
| 65 | + | |
| 66 | +/-- The uniform inverse-frame bound gives the precise squared lower frame bound. -/ | |
| 67 | +theorem coefficient_lower (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 68 | + (FInv : K → Space → Space →L[ℝ] Space) (B : ℝ) (hB : 0 < B) | |
| 69 | + (hInv : ∀ t x v, FInv t x (F.field t x v) = v) | |
| 70 | + (hNorm : ∀ t x, ‖FInv t x‖ ≤ B) (t : K) (x : Space) (v : U) : | |
| 71 | + (B⁻¹)^2*‖v‖^2 ≤ ‖(coefficient m₀ R F).field t x v‖^2 := by | |
| 72 | + have hn : ‖v‖ ≤ B*‖(coefficient m₀ R F).field t x v‖ := by | |
| 73 | + calc | |
| 74 | + ‖v‖ = ‖(R v : Space)‖ := (R.norm_map v).symm | |
| 75 | + _ = ‖FInv t x (F.field t x (R v : Space))‖ := congrArg norm (hInv t x (R v : Space)).symm | |
| 76 | + _ ≤ ‖FInv t x‖*‖F.field t x (R v : Space)‖ := (FInv t x).le_opNorm _ | |
| 77 | + _ ≤ B*‖(coefficient m₀ R F).field t x v‖ := | |
| 78 | + mul_le_mul_of_nonneg_right (hNorm t x) (norm_nonneg _) | |
| 79 | + have hdiv : ‖v‖/B ≤ ‖(coefficient m₀ R F).field t x v‖ := | |
| 80 | + (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 81 | + have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg v) hB.le) (norm_nonneg _)).2 hdiv | |
| 82 | + simpa only [div_eq_mul_inv,mul_pow,mul_comm] using hs | |
| 83 | + | |
| 84 | +section Time | |
| 85 | + | |
| 86 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 87 | + (F F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 88 | + | |
| 89 | +/-- The actual source time derivative also commutes with the reference restriction. -/ | |
| 90 | +theorem coefficient_hasDerivWithinAt | |
| 91 | + (hF : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 92 | + HasDerivWithinAt (fun s => extendPath T hT F.field s x) | |
| 93 | + (extendPath T hT F₁.field t x) (Icc (0 : ℝ) T) t) | |
| 94 | + (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) (x : Space) : | |
| 95 | + HasDerivWithinAt (fun s => extendPath T hT (coefficient m₀ R F).field s x) | |
| 96 | + (extendPath T hT (coefficient m₀ R F₁).field t x) (Icc (0 : ℝ) T) t := by | |
| 97 | + have hd := (referenceRestriction m₀ R).hasFDerivAt.comp_hasDerivWithinAt t (hF t ht x) | |
| 98 | + exact hd | |
| 99 | + | |
| 100 | +end Time | |
| 101 | + | |
| 102 | +end EulerTransverseBoundedFrame | |
| 103 | +end | |
| 104 | + | |
| 105 | +end | |
| 106 | + | |
| 107 | +/-! ## From `Euler/TransverseBoundedGeometry.lean` | |
| 108 | + | |
| 109 | +The text of `Euler/TransverseBoundedGeometry.lean`, folded into this file, which was its only importer. -/ | |
| 110 | + | |
| 111 | +section | |
| 112 | + | |
| 113 | +/-! | |
| 114 | +# Source geometry for the bounded frame and normal | |
| 115 | + | |
| 116 | +The literal fields Q=F R⊥ and m=F⁻ᵀm₀ satisfy the tangency, range, strain, | |
| 117 | +and quantitative normal lower bounds used by the actual transverse solver. | |
| 118 | +Only the original deformation and its genuine pointwise inverse are inputs. | |
| 119 | +-/ | |
| 120 | + | |
| 121 | +noncomputable section | |
| 122 | + | |
| 123 | +namespace EulerTransverseBoundedFrame | |
| 124 | + | |
| 125 | +open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients | |
| 126 | + EulerTransverseFrameCoordinates | |
| 127 | +open scoped BoundedContinuousFunction ContDiff | |
| 128 | + | |
| 129 | +variable (m₀ : Space) | |
| 130 | + | |
| 131 | +/-- The fixed linear operation sending F⁻¹ to F⁻ᵀm₀. -/ | |
| 132 | +def normalMap : (Space →L[ℝ] Space) →L[ℝ] Space := | |
| 133 | + (ContinuousLinearMap.apply ℝ Space m₀).comp | |
| 134 | + (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap : | |
| 135 | + (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space)) | |
| 136 | + | |
| 137 | +@[simp] theorem normalMap_apply (A : Space →L[ℝ] Space) : normalMap m₀ A = A.adjoint m₀ := rfl | |
| 138 | + | |
| 139 | +theorem normalMap_norm (hm₀ : ‖m₀‖ = 1) : ‖normalMap m₀‖ ≤ 1 := by | |
| 140 | + apply opNorm_le_bound _ zero_le_one | |
| 141 | + intro A | |
| 142 | + change ‖A.adjoint m₀‖ ≤ 1*‖A‖ | |
| 143 | + have h := A.adjoint.le_opNorm m₀ | |
| 144 | + simpa only [hm₀,mul_one,one_mul,ContinuousLinearEquiv.coe_coe, | |
| 145 | + LinearIsometryEquiv.norm_map] using h | |
| 146 | + | |
| 147 | +variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 148 | + | |
| 149 | +/-- The normal has the genuine spatial jets inherited from the inverse deformation. -/ | |
| 150 | +def normalCoefficient (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) : | |
| 151 | + SmoothCoefficientPath K Space := SmoothCoefficientPath.map (normalMap m₀) FInv | |
| 152 | + | |
| 153 | +@[simp] theorem normalCoefficient_apply (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 154 | + (t : K) (x : Space) : (normalCoefficient m₀ FInv).field t x = (FInv.field t x).adjoint m₀ := rfl | |
| 155 | + | |
| 156 | +theorem normalCoefficient_derivative_bound (FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 157 | + (hm₀ : ‖m₀‖ = 1) (n : ℕ) (C : ℝ) | |
| 158 | + (hF : ∀ t x, ‖iteratedFDeriv ℝ n (FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 159 | + (t : K) (x : Space) : | |
| 160 | + ‖iteratedFDeriv ℝ n ((normalCoefficient m₀ FInv).field t : Space → Space) x‖ ≤ C := | |
| 161 | + SmoothCoefficientPath.map_derivative_bound (normalMap m₀) (normalMap_norm m₀ hm₀) FInv n C hF t x | |
| 162 | + | |
| 163 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 164 | + (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 165 | + (F FInv : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 166 | + | |
| 167 | +theorem coefficient_tangent | |
| 168 | + (hInv : ∀ t x v, FInv.field t x (F.field t x v) = v) (t : K) (x : Space) (v : U) : | |
| 169 | + ⟪(normalCoefficient m₀ FInv).field t x,(coefficient m₀ R F).field t x v⟫_ℝ = 0 := by | |
| 170 | + rw [normalCoefficient_apply,coefficient_apply,adjoint_inner_left,hInv] | |
| 171 | + have h := (R v).property | |
| 172 | + rwa [Submodule.mem_orthogonal_singleton_iff_inner_right] at h | |
| 173 | + | |
| 174 | +theorem coefficient_range | |
| 175 | + (hInv : ∀ t x v, F.field t x (FInv.field t x v) = v) | |
| 176 | + (t : K) (x η : Space) (hη : ⟪(normalCoefficient m₀ FInv).field t x,η⟫_ℝ = 0) : | |
| 177 | + ∃ v, (coefficient m₀ R F).field t x v = η := by | |
| 178 | + have hmem : FInv.field t x η ∈ referencePlane m₀ := by | |
| 179 | + rw [Submodule.mem_orthogonal_singleton_iff_inner_right] | |
| 180 | + simpa only [normalCoefficient_apply,adjoint_inner_left] using hη | |
| 181 | + let z : referencePlane m₀ := ⟨FInv.field t x η,hmem⟩ | |
| 182 | + refine ⟨R.symm z,?_⟩ | |
| 183 | + rw [coefficient_apply,R.apply_symm_apply] | |
| 184 | + exact hInv t x η | |
| 185 | + | |
| 186 | +theorem coefficient_strain (F₁ M : SmoothCoefficientPath K (Space →L[ℝ] Space)) | |
| 187 | + (hFlow : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v)) (t : K) (x : Space) : | |
| 188 | + (coefficient m₀ R F₁).field t x = (M.field t x).comp ((coefficient m₀ R F).field t x) := by | |
| 189 | + apply ContinuousLinearMap.ext | |
| 190 | + intro v | |
| 191 | + exact hFlow t x (R v : Space) | |
| 192 | + | |
| 193 | +/-- The source inverse identity also prevents degeneration of the normal. -/ | |
| 194 | +theorem normalCoefficient_lower (hm₀ : ‖m₀‖ = 1) | |
| 195 | + (hInv : ∀ t x v, FInv.field t x (F.field t x v) = v) | |
| 196 | + (B : ℝ) (hB : 0 < B) (hFnorm : ∀ t x, ‖F.field t x‖ ≤ B) (t : K) (x : Space) : | |
| 197 | + (B⁻¹)^2 ≤ ‖(normalCoefficient m₀ FInv).field t x‖^2 := by | |
| 198 | + have he : (F.field t x).adjoint ((normalCoefficient m₀ FInv).field t x) = m₀ := by | |
| 199 | + apply ext_inner_right ℝ | |
| 200 | + intro v | |
| 201 | + rw [adjoint_inner_left,normalCoefficient_apply,adjoint_inner_left,hInv] | |
| 202 | + have hnorm : ‖(F.field t x).adjoint‖ = ‖F.field t x‖ := | |
| 203 | + ContinuousLinearMap.adjoint.norm_map (F.field t x) | |
| 204 | + have hn : 1 ≤ B*‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 205 | + calc | |
| 206 | + 1 = ‖(F.field t x).adjoint ((normalCoefficient m₀ FInv).field t x)‖ := by rw [he,hm₀] | |
| 207 | + _ ≤ ‖(F.field t x).adjoint‖*‖(normalCoefficient m₀ FInv).field t x‖ := | |
| 208 | + (F.field t x).adjoint.le_opNorm _ | |
| 209 | + _ ≤ B*‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 210 | + rw [hnorm] | |
| 211 | + exact mul_le_mul_of_nonneg_right (hFnorm t x) (norm_nonneg _) | |
| 212 | + have hd : B⁻¹ ≤ ‖(normalCoefficient m₀ FInv).field t x‖ := by | |
| 213 | + rw [← one_div] | |
| 214 | + exact (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 215 | + exact (sq_le_sq₀ (inv_nonneg.mpr hB.le) (norm_nonneg _)).2 hd | |
| 216 | + | |
| 217 | +end EulerTransverseBoundedFrame | |
| 218 | +end | |
| 219 | + | |
| 220 | +end | |
| 221 | + | |
| 11 | 222 | noncomputable section |
| 12 | 223 | |
| 13 | 224 | namespace EulerTransversePacketProvider |
+0 −63 Euler/TransversePacketEndpointPointwise.lean deleted
| @@ -1,63 +0,0 @@ | ||
| 1 | -import Euler.CylinderEndpointPointwise | |
| 2 | -import Euler.TransversePacketEndpoint | |
| 3 | -import Euler.PacketTerminalInitialData | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -The actual compact-terminal source history is the manuscript's pointwise | |
| 7 | -stationary history multiplied by the literal cutoff and periodic wave. | |
| 8 | --/ | |
| 9 | - | |
| 10 | -noncomputable section | |
| 11 | - | |
| 12 | -namespace EulerTransversePacketProvider.Data | |
| 13 | - | |
| 14 | -open ContinuousLinearMap EulerSmoothLimit EulerTransverseFrameCoordinates EulerTransverseSourceFrame | |
| 15 | - | |
| 16 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 17 | - | |
| 18 | -def coordinateEmbedding : U →L[ℝ] Space := referenceEmbedding D.m₀ D.R | |
| 19 | - | |
| 20 | -def coordinateRetraction : Space →L[ℝ] U := | |
| 21 | - D.R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp | |
| 22 | - (referencePlane D.m₀).orthogonalProjectionOnto | |
| 23 | - | |
| 24 | -theorem coordinateRetraction_embedding (v : U) : | |
| 25 | - D.coordinateRetraction (D.coordinateEmbedding v) = v := by | |
| 26 | - change D.R.symm ((referencePlane D.m₀).orthogonalProjectionOnto (D.R v : Space)) = v | |
| 27 | - rw [(referencePlane D.m₀).orthogonalProjectionOnto_mem_subspace_eq_self] | |
| 28 | - exact D.R.symm_apply_apply v | |
| 29 | - | |
| 30 | -end EulerTransversePacketProvider.Data | |
| 31 | - | |
| 32 | -namespace EulerTransversePacketEndpoint | |
| 33 | - | |
| 34 | -open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 35 | - EulerLpCylinderTranslation EulerMetricTransport EulerCylinderSmoothOrbit | |
| 36 | - EulerTransversePacketProvider | |
| 37 | - | |
| 38 | -variable {P : ℝ} [Fact (0 < P)] | |
| 39 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 40 | - {D : Data U} (B : HistoryData D) (Y : InitialData P D) | |
| 41 | - | |
| 42 | -theorem velocityPath_eq_history (f : LiftDomain P → U) (hf : Continuous f) | |
| 43 | - (hrep : (Y.value : CylinderL2 P U) =ᵐ[liftMeasure P] f) | |
| 44 | - (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : | |
| 45 | - pointField P (velocityPath B Y) (velocityPath_orbit B Y) t x = | |
| 46 | - B.coefficients.labelVelocity x.1 (f x) t := | |
| 47 | - B.coefficients.endpointVelocity_pointwise P D.coordinateEmbedding D.coordinateRetraction | |
| 48 | - D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 49 | - Y.value Y.orbit D.coordinateRetraction_embedding f hf hrep x t | |
| 50 | - | |
| 51 | -end EulerTransversePacketEndpoint | |
| 52 | - | |
| 53 | -namespace EulerPacketTerminalDatum | |
| 54 | - | |
| 55 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport | |
| 56 | - EulerLpCylinderTranslation EulerTransversePacketProvider EulerTransversePacketEndpoint | |
| 57 | - EulerCylinderSmoothOrbit EulerSpatialCutoffs | |
| 58 | - | |
| 59 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 60 | - {D : Data U} (B : HistoryData D) (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 61 | - (hs : tsupport innerCutoff ⊆ D.support) | |
| 62 | - | |
| 63 | -end EulerPacketTerminalDatum | |
+153 −1 Euler/TransversePacketForwardBounds.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.TransversePacketHistoryBounds | |
| 1 | +import Euler.TransversePacketIntervalForcing | |
| 2 | +import Euler.CylinderDirichletPhysicalBounds | |
| 3 | +import Euler.MeanCoefficientPathJets | |
| 2 | 4 | import Euler.ElapsedTimePathWeight |
| 3 | 5 | import Euler.SourceCylinderDerivativeBounds |
| 4 | 6 | |
| @@ -11,6 +13,156 @@ and with its actual time derivative divided by g. No g derivative or profile | ||
| 11 | 13 | extremum is introduced. |
| 12 | 14 | -/ |
| 13 | 15 | |
| 16 | +/-! ## From `Euler/TransversePacketHistoryBounds.lean` | |
| 17 | + | |
| 18 | +The text of `Euler/TransversePacketHistoryBounds.lean`, folded into this file, which was its only importer. -/ | |
| 19 | + | |
| 20 | +section | |
| 21 | + | |
| 22 | +/-! | |
| 23 | +# Source bounds for the actual transverse history and its terminal trace | |
| 24 | + | |
| 25 | +The only quantitative inputs are the literal source coefficient jets and | |
| 26 | +the forcing's fixed-Sobolev mixed-word bounds. The output is the constructed | |
| 27 | +history path and its actual terminal coordinate, at the identical radius. | |
| 28 | +-/ | |
| 29 | + | |
| 30 | +noncomputable section | |
| 31 | + | |
| 32 | +namespace EulerTransversePacketProvider.Data | |
| 33 | + | |
| 34 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 35 | + EulerTransverseBoundedFrame EulerGevrey | |
| 36 | +open scoped ContDiff BoundedContinuousFunction | |
| 37 | + | |
| 38 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 39 | + | |
| 40 | +theorem frame_spatial_bound (n : ℕ) (C : ℝ) | |
| 41 | + (hb : ∀ t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 42 | + (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 43 | + ‖iteratedFDeriv ℝ n (D.frame.field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 44 | + coefficient_derivative_bound D.m₀ D.R D.F n C hb t x | |
| 45 | + | |
| 46 | +theorem frameDerivative_spatial_bound (n : ℕ) (C : ℝ) | |
| 47 | + (hb : ∀ t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 48 | + (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 49 | + ‖iteratedFDeriv ℝ n (D.frameDerivative.field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 50 | + coefficient_derivative_bound D.m₀ D.R D.F₁ n C hb t x | |
| 51 | + | |
| 52 | +end EulerTransversePacketProvider.Data | |
| 53 | + | |
| 54 | +namespace EulerLpCylinderTranslation | |
| 55 | + | |
| 56 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerParameterWordGevrey | |
| 57 | +open scoped ContDiff | |
| 58 | + | |
| 59 | +theorem trace_block_le (P : ℝ) [Fact (0 < P)] | |
| 60 | + {K V ι : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 61 | + [NormedAddCommGroup V] [NormedSpace ℝ V] [Fintype ι] | |
| 62 | + (directions : ι → LiftTangent) (q : ℕ) (p : C(K,CylinderL2 P V)) | |
| 63 | + (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) (t : K) (n : ℕ) (a : LiftTangent) : | |
| 64 | + block directions q (fun b => translate P b (p t)) n a ≤ | |
| 65 | + block directions q (fun b => pathTranslate P b p) n a := by | |
| 66 | + let L : C(K,CylinderL2 P V) →L[ℝ] CylinderL2 P V := ContinuousMap.evalCLM ℝ t | |
| 67 | + have hL : ‖L‖ ≤ 1 := by | |
| 68 | + apply opNorm_le_bound _ zero_le_one | |
| 69 | + intro f | |
| 70 | + change ‖f t‖ ≤ 1*‖f‖ | |
| 71 | + simpa only [one_mul] using f.norm_coe_le_norm t | |
| 72 | + exact (block_comp_clm_le directions q L _ hp n a).trans | |
| 73 | + ((mul_le_mul_of_nonneg_right hL (block_nonneg directions q _ n a)).trans_eq (one_mul _)) | |
| 74 | + | |
| 75 | +end EulerLpCylinderTranslation | |
| 76 | + | |
| 77 | +namespace EulerTransversePacketProvider.HistoryData | |
| 78 | + | |
| 79 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 80 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 81 | + EulerPacketProfileRecursion EulerGevrey EulerParameterWordGevrey | |
| 82 | + EulerTransverseFixedSobolev EulerFixedEvolutionSobolev | |
| 83 | + EulerTimeLpGramSobolev EulerTimeLpAccelerationSobolev | |
| 84 | +open scoped ContDiff BoundedContinuousFunction | |
| 85 | + | |
| 86 | +variable {P : ℝ} [Fact (0 < P)] | |
| 87 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 88 | + {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) | |
| 89 | + {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 90 | + (Rc C₀ C₁ CH Cf R : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) | |
| 91 | + (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) (hCf : 0 ≤ Cf) | |
| 92 | + (hbF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₀*majorant Rc 0 n) | |
| 93 | + (hbF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant Rc 0 n) | |
| 94 | + (hbH : ∀ n t x, ‖iteratedFDeriv ℝ n (B.H.field t : Space → Space →L[ℝ] Space) x‖ ≤ CH*majorant Rc 0 n) | |
| 95 | + (hRweak : 2*blockCost ι q D.T Rc C₀ C₁ CH D.frameLower Cf*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 96 | + (hRstrong : 2*gramBlockCost ι q D.frameLower Rc C₀ | |
| 97 | + (accelerationBlockAmplitude ι q Rc C₀ C₁ Cf 1)*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 98 | + (hT1 : D.T ≤ 1) (d : ℕ) | |
| 99 | + (hforce : ∀ n, block directions q (fun a => pathTranslate P a (forcingPath G)) n 0 ≤ Cf*majorant R d n) | |
| 100 | + | |
| 101 | +include hdir hRc hC₀ hC₁ hCH hCf hbF hbF₁ hbH hRweak hRstrong hT1 hforce | |
| 102 | + | |
| 103 | +/-- True continuous coordinate velocity of the actual zero-endpoint solve. -/ | |
| 104 | +theorem source_coordinate_bound (n : ℕ) : | |
| 105 | + block directions q (fun a => pathTranslate P a (B.coordinatePath G)) n 0 ≤ | |
| 106 | + traceCost D.T*majorant R (d+2) n := by | |
| 107 | + exact B.coefficients.continuousVelocity_block_bound P directions hdir q | |
| 108 | + D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 109 | + Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 110 | + (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 111 | + (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 112 | + (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 113 | + (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 114 | + (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 115 | + (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 116 | + hRweak hRstrong hT1 (forcingPath G) G.path_orbit d hforce n 0 | |
| 117 | + | |
| 118 | +/-- The actual terminal trace used by the forward solve has the same bound. -/ | |
| 119 | +theorem source_terminal_bound (n : ℕ) : | |
| 120 | + block directions q (fun a => translate P a ((B.terminalInitial G).value : CylinderL2 P U)) n 0 ≤ | |
| 121 | + traceCost D.T*majorant R (d+2) n := | |
| 122 | + (trace_block_le P directions q (B.coordinatePath G) (B.coordinatePath_orbit G) | |
| 123 | + ⟨D.T,D.T_pos.le,le_rfl⟩ n 0).trans | |
| 124 | + (B.source_coordinate_bound G directions hdir q Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 125 | + hbF hbF₁ hbH hRweak hRstrong hT1 d hforce n) | |
| 126 | + | |
| 127 | +/-- Literal history velocity, with the fixed reference-plane contraction already discharged. -/ | |
| 128 | +theorem source_velocity_bound (n : ℕ) : | |
| 129 | + block directions q (fun a => pathTranslate P a (B.velocityPath G)) n 0 ≤ | |
| 130 | + (3*sobolevCoefficientAmplitude ι q Rc C₀*traceCost D.T)*majorant R (d+2) n := by | |
| 131 | + exact B.coefficients.physicalVelocity_block_bound P directions hdir q | |
| 132 | + D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 133 | + Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 134 | + (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 135 | + (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 136 | + (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 137 | + (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 138 | + (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 139 | + (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 140 | + hRweak hRstrong hT1 (forcingPath G) G.path_orbit d hforce n | |
| 141 | + | |
| 142 | +/-- The genuine history time derivative, at the identical spatial radius. -/ | |
| 143 | +theorem source_derivative_bound | |
| 144 | + (hRuniform : 2*gramBlockCost ι q D.frameLower Rc C₀ | |
| 145 | + (accelerationBlockAmplitude ι q Rc C₀ C₁ Cf (traceCost D.T))*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 146 | + (n : ℕ) : | |
| 147 | + block directions q (fun a => pathTranslate P a (B.derivativePath G)) n 0 ≤ | |
| 148 | + (3*sobolevCoefficientAmplitude ι q Rc C₁*traceCost D.T+ | |
| 149 | + 3*sobolevCoefficientAmplitude ι q Rc C₀)*majorant R (d+3) n := by | |
| 150 | + exact B.coefficients.physicalDerivative_block_bound P directions hdir q | |
| 151 | + D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 152 | + Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 153 | + (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 154 | + (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 155 | + (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 156 | + (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 157 | + (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 158 | + (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 159 | + hRweak hRstrong hT1 hRuniform (forcingPath G) G.path_orbit d hforce n | |
| 160 | + | |
| 161 | +end EulerTransversePacketProvider.HistoryData | |
| 162 | +end | |
| 163 | + | |
| 164 | +end | |
| 165 | + | |
| 14 | 166 | noncomputable section |
| 15 | 167 | |
| 16 | 168 | namespace EulerTransversePacketProvider.Forcing |
+347 −3 Euler/TransversePacketForwardFullBounds.lean View file
| @@ -1,7 +1,13 @@ | ||
| 1 | -import Euler.TransversePacketForwardNorms | |
| 1 | +import Euler.TransversePacketForwardBudget | |
| 2 | +import Euler.TransversePacketAmplitude | |
| 3 | +import Euler.TransversePacketPrimaryHomogeneity | |
| 2 | 4 | import Euler.TransversePacketNormalBudget |
| 3 | -import Euler.TransversePacketCorrectorBounds | |
| 4 | -import Euler.TransversePacketPressureGradientBounds | |
| 5 | +import Euler.TransversePacketCorrector | |
| 6 | +import Euler.CylinderSlowCurlWeight | |
| 7 | +import Euler.CylinderPotentialTimeWeight | |
| 8 | +import Euler.TransversePacketPressureGradient | |
| 9 | +import Euler.PacketCylinderScalarGradientWeight | |
| 10 | +import Euler.SourceCylinderPressureWeight | |
| 5 | 11 | |
| 6 | 12 | /-! |
| 7 | 13 | All eight genuine direct-forward outputs obey one fixed mixed-word Sobolev |
| @@ -10,6 +16,344 @@ the solve, and at most two derivative shifts are spent. All normalization | ||
| 10 | 16 | uses the literal positive time profile without differentiating that profile. |
| 11 | 17 | -/ |
| 12 | 18 | |
| 19 | +/-! ## From `Euler/TransversePacketPairAmplitude.lean` | |
| 20 | + | |
| 21 | +The text of `Euler/TransversePacketPairAmplitude.lean`, folded into this file, which was its only importer. -/ | |
| 22 | + | |
| 23 | +section | |
| 24 | + | |
| 25 | +/-! Homogeneity restores a common arbitrary envelope for genuine forcing | |
| 26 | +and initial data, without adding either envelope to the radius guards. -/ | |
| 27 | + | |
| 28 | +noncomputable section | |
| 29 | + | |
| 30 | +namespace EulerTransversePacketProvider | |
| 31 | + | |
| 32 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 33 | + EulerLpCylinderPaths EulerPacketProfileRecursion EulerContinuousTimeWeight | |
| 34 | + EulerParameterWordGevrey EulerGevrey | |
| 35 | +open scoped ContDiff | |
| 36 | + | |
| 37 | +variable {P : ℝ} [Fact (0 < P)] | |
| 38 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 39 | + {D : Data U} {ι : Type*} [Fintype ι] | |
| 40 | + | |
| 41 | +theorem pair_amplitude_bound | |
| 42 | + (S : ∀ {r : VectorField}, Forcing P D r → InitialData P D → C(Icc (0 : ℝ) D.T,LiftL2 P)) | |
| 43 | + (hs : ∀ {r} (G : Forcing P D r) (I : InitialData P D), | |
| 44 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (S G I))) | |
| 45 | + (hm : ∀ {r r'} (G : Forcing P D r) (H : Forcing P D r') (I J : InitialData P D) (a : ℝ), | |
| 46 | + H.path = a • G.path → J.value = a • I.value → S H J = a • S G I) | |
| 47 | + (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 48 | + (directions : ι → LiftTangent) (q : ℕ) (R C : ℝ) (d e : ℕ) | |
| 49 | + (hunit : ∀ {r} (G : Forcing P D r) (I : InitialData P D), | |
| 50 | + (∀ n, block directions q (fun a => pathTranslate P a | |
| 51 | + (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ majorant R d n) → | |
| 52 | + (∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ majorant R d n) → | |
| 53 | + ∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ C*majorant R e n) | |
| 54 | + {r : VectorField} (G : Forcing P D r) (I : InitialData P D) (A : ℝ) (hA : 0 ≤ A) | |
| 55 | + (hb : ∀ n, block directions q (fun a => pathTranslate P a | |
| 56 | + (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ A*majorant R d n) | |
| 57 | + (hi : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant R d n) | |
| 58 | + (n : ℕ) : | |
| 59 | + block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ | |
| 60 | + (C*A)*majorant R e n := by | |
| 61 | + by_cases hz : A = 0 | |
| 62 | + · have hf := value_zero_of_block_zero_bound directions q | |
| 63 | + (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) 0 | |
| 64 | + (by simpa only [hz,zero_mul] using hb 0) | |
| 65 | + have ht : pathTranslate P 0 (normalize g hg (HistoryData.forcingPath G)) = | |
| 66 | + normalize g hg (HistoryData.forcingPath G) := by | |
| 67 | + apply ContinuousMap.ext | |
| 68 | + intro t | |
| 69 | + exact translate_zero P _ | |
| 70 | + rw [ht] at hf | |
| 71 | + have hfull : HistoryData.forcingPath G = 0 := by | |
| 72 | + have he := congrArg (weight g) hf | |
| 73 | + rw [weight_normalize,map_zero] at he | |
| 74 | + exact he | |
| 75 | + have hp : G.path = 0 := by | |
| 76 | + have he := congrArg (projectPath P D.support D.support_measurable) hfull | |
| 77 | + rw [project_include,map_zero] at he | |
| 78 | + exact he | |
| 79 | + have hinitial := value_zero_of_block_zero_bound directions q | |
| 80 | + (fun a => translate P a (I.value : CylinderL2 P U)) 0 | |
| 81 | + (by simpa only [hz,zero_mul] using hi 0) | |
| 82 | + rw [translate_zero] at hinitial | |
| 83 | + have hv : I.value = 0 := Subtype.ext hinitial | |
| 84 | + have hS : S G I = 0 := by | |
| 85 | + have he := hm G G I I 0 (hp.trans (zero_smul ℝ G.path).symm) | |
| 86 | + (hv.trans (zero_smul ℝ I.value).symm) | |
| 87 | + simpa only [zero_smul] using he | |
| 88 | + simp only [hS,map_zero,block_zero_function,hz,mul_zero,zero_mul,le_refl] | |
| 89 | + · have hApos : 0 < A := lt_of_le_of_ne hA (Ne.symm hz) | |
| 90 | + let H := G.smul A⁻¹ | |
| 91 | + let J := I.smul A⁻¹ | |
| 92 | + have hinput : HistoryData.forcingPath H = A⁻¹ • HistoryData.forcingPath G := by | |
| 93 | + change includePath P D.support D.support_measurable (A⁻¹ • G.path) = _ | |
| 94 | + rw [map_smul] | |
| 95 | + have hH (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 96 | + (normalize g hg (HistoryData.forcingPath H))) j 0 ≤ majorant R d j := by | |
| 97 | + have he : (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath H))) = | |
| 98 | + fun a => A⁻¹ • pathTranslate P a (normalize g hg (HistoryData.forcingPath G)) := by | |
| 99 | + funext a | |
| 100 | + rw [hinput,map_smul,map_smul] | |
| 101 | + rw [he] | |
| 102 | + simpa only [one_mul] using block_normalize_bound directions q | |
| 103 | + (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) | |
| 104 | + (normalize_orbit_contDiff P g hg _ G.path_orbit) A hApos R 1 d j 0 | |
| 105 | + (by simpa only [one_mul] using hb j) | |
| 106 | + have hJ (j : ℕ) : block directions q | |
| 107 | + (fun a => translate P a (J.value : CylinderL2 P U)) j 0 ≤ majorant R d j := by | |
| 108 | + have he : (fun a => translate P a (J.value : CylinderL2 P U)) = | |
| 109 | + fun a => A⁻¹ • translate P a (I.value : CylinderL2 P U) := by | |
| 110 | + funext a | |
| 111 | + change translate P a (A⁻¹ • (I.value : CylinderL2 P U)) = _ | |
| 112 | + rw [map_smul] | |
| 113 | + rw [he] | |
| 114 | + simpa only [one_mul] using block_normalize_bound directions q | |
| 115 | + (fun a => translate P a (I.value : CylinderL2 P U)) I.orbit A hApos R 1 d j 0 | |
| 116 | + (by simpa only [one_mul] using hi j) | |
| 117 | + have hrestore : S G I = A • S H J := by | |
| 118 | + rw [hm G H I J A⁻¹ rfl rfl,smul_smul,mul_inv_cancel₀ hz,one_smul] | |
| 119 | + exact (block_restore_bound directions q | |
| 120 | + (fun a => pathTranslate P a (normalize g hg (S H J))) | |
| 121 | + (fun a => pathTranslate P a (normalize g hg (S G I))) | |
| 122 | + (normalize_orbit_contDiff P g hg (S H J) (hs H J)) A hA | |
| 123 | + (fun a => by rw [hrestore,map_smul,map_smul]) R C e n 0 | |
| 124 | + (hunit H J hH hJ n)).trans_eq (by ring) | |
| 125 | + | |
| 126 | +end EulerTransversePacketProvider | |
| 127 | +end | |
| 128 | + | |
| 129 | +end | |
| 130 | + | |
| 131 | +/-! ## From `Euler/TransversePacketCorrectorBounds.lean` | |
| 132 | + | |
| 133 | +The text of `Euler/TransversePacketCorrectorBounds.lean`, folded into this file, which was its only importer. -/ | |
| 134 | + | |
| 135 | +section | |
| 136 | + | |
| 137 | +/-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ | |
| 138 | + | |
| 139 | +noncomputable section | |
| 140 | + | |
| 141 | +namespace EulerTransversePacketProvider.Forcing | |
| 142 | + | |
| 143 | +open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey | |
| 144 | + EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey | |
| 145 | + EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight | |
| 146 | +open scoped ContDiff | |
| 147 | + | |
| 148 | +private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by | |
| 149 | + cases i using Fin.cases <;> simp [Prod.norm_def] | |
| 150 | + | |
| 151 | +variable {P : ℝ} [Fact (0 < P)] | |
| 152 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 153 | + {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 154 | + (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 155 | + (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) | |
| 156 | + (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) | |
| 157 | + (hbA : ∀ n, block standardDirection q | |
| 158 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullVelocityPath I))) n 0 ≤ | |
| 159 | + A*majorant R d n) | |
| 160 | + (hbAt : ∀ n, block standardDirection q | |
| 161 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullDerivativePath I))) n 0 ≤ | |
| 162 | + A*majorant R d n) | |
| 163 | + (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 164 | + C*majorant Rc 0 n) | |
| 165 | + (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 166 | + C*majorant Rc 0 n) | |
| 167 | + (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) | |
| 168 | + (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 169 | + C*majorant Rc 0 n) | |
| 170 | + | |
| 171 | +include hRc hC hA hR hbA hbK in | |
| 172 | +theorem potentialPath_normalized_bound (n : ℕ) : | |
| 173 | + block standardDirection q | |
| 174 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) n 0 ≤ | |
| 175 | + (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 176 | + EulerCylinderPotential.normalized_potentialPath_block_bound P g (G.fullVelocityPath I) | |
| 177 | + D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit | |
| 178 | + (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (G.fullVelocityPath I) (G.velocityPath_orbit I)) | |
| 179 | + standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n | |
| 180 | + | |
| 181 | +include hRc hC hA hR hbA hbAt hbK hbKt in | |
| 182 | +theorem potentialTimePath_normalized_bound (n : ℕ) : | |
| 183 | + block standardDirection q | |
| 184 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialTimePath I))) n 0 ≤ | |
| 185 | + (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 186 | + EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T | |
| 187 | + D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit | |
| 188 | + (G.fullVelocityPath I) (G.fullDerivativePath I) (G.velocityPath_orbit I) (G.derivativePath_orbit I) | |
| 189 | + g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n | |
| 190 | + | |
| 191 | +include hRc hC hA hR hbA hbK hbI in | |
| 192 | +theorem correctorPath_normalized_bound (n : ℕ) : | |
| 193 | + block standardDirection q | |
| 194 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorPath I))) n 0 ≤ | |
| 195 | + (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 196 | + have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 197 | + have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 198 | + have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field | |
| 199 | + (G.potentialPath I) (G.potentialPath_orbit I) hg D.FInv.translation_contDiff | |
| 200 | + q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d | |
| 201 | + (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK) n | |
| 202 | + exact h.trans_eq (by ring) | |
| 203 | + | |
| 204 | +include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in | |
| 205 | +theorem correctorTimePath_normalized_bound (n : ℕ) : | |
| 206 | + block standardDirection q | |
| 207 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.correctorTimePath I))) n 0 ≤ | |
| 208 | + (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 209 | + have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 210 | + have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 211 | + have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR | |
| 212 | + have hQ (j : ℕ) : block standardDirection q | |
| 213 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.potentialPath I))) j 0 ≤ | |
| 214 | + (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by | |
| 215 | + apply (G.potentialPath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans | |
| 216 | + have hn := mul_nonneg | |
| 217 | + (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) | |
| 218 | + (majorant_nonneg R hRn d j) | |
| 219 | + linarith | |
| 220 | + have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg | |
| 221 | + D.FInv.field D.inverseDerivative (G.potentialPath I) (G.potentialTimePath I) | |
| 222 | + (G.potentialPath_orbit I) (G.potentialTimePath_orbit I) D.FInv.translation_contDiff D.inverseDerivative_orbit | |
| 223 | + q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR | |
| 224 | + hbI hbIt d hQ (G.potentialTimePath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n | |
| 225 | + exact h.trans_eq (by ring) | |
| 226 | + | |
| 227 | +end EulerTransversePacketProvider.Forcing | |
| 228 | +end | |
| 229 | + | |
| 230 | +end | |
| 231 | + | |
| 232 | +/-! ## From `Euler/TransversePacketForwardNorms.lean` | |
| 233 | + | |
| 234 | +The text of `Euler/TransversePacketForwardNorms.lean`, folded into this file, which was its only importer. -/ | |
| 235 | + | |
| 236 | +section | |
| 237 | + | |
| 238 | +/-! The genuine direct-forward solution has amplitude-linear estimates at | |
| 239 | +one source-dependent radius, for arbitrary admissible initial data and forcing. -/ | |
| 240 | + | |
| 241 | +noncomputable section | |
| 242 | + | |
| 243 | +namespace EulerTransversePacketForward.Budget | |
| 244 | + | |
| 245 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 246 | + EulerLpCylinderPaths EulerTransversePacketProvider EulerPacketProfileRecursion | |
| 247 | + EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 248 | +open scoped ContDiff | |
| 249 | + | |
| 250 | +variable {P : ℝ} [Fact (0 < P)] | |
| 251 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 252 | + {D : Data U} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D ι q) | |
| 253 | + {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 254 | + (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 255 | + (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 256 | + (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 257 | + (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) | |
| 258 | + (hinitial : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ | |
| 259 | + A*majorant L.R d n) | |
| 260 | + | |
| 261 | +include hdir hA hforce hinitial | |
| 262 | + | |
| 263 | +theorem velocity_bound (n : ℕ) : | |
| 264 | + block directions q (fun a => pathTranslate P a | |
| 265 | + (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ | |
| 266 | + (L.velocityCost*A)*majorant L.R (d+1) n := | |
| 267 | + pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullVelocityPath Y) | |
| 268 | + (fun H Y => H.velocityPath_orbit Y) | |
| 269 | + (fun H J Y Z a he hi => by | |
| 270 | + change includePath P D.support D.support_measurable (J.velocityPath Z) = | |
| 271 | + a • includePath P D.support D.support_measurable (H.velocityPath Y) | |
| 272 | + rw [H.velocityPath_eq_smul J Y Z a he hi,map_smul]) | |
| 273 | + L.g L.positive directions q L.R L.velocityCost d (d+1) | |
| 274 | + (fun H Y hf hi => L.velocity_unit_bound H Y directions hdir d hf hi) | |
| 275 | + G I A hA hforce hinitial n | |
| 276 | + | |
| 277 | +theorem derivative_bound (n : ℕ) : | |
| 278 | + block directions q (fun a => pathTranslate P a | |
| 279 | + (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ | |
| 280 | + (L.derivativeCost*A)*majorant L.R (d+1) n := | |
| 281 | + pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullDerivativePath Y) | |
| 282 | + (fun H Y => H.derivativePath_orbit Y) | |
| 283 | + (fun H J Y Z a he hi => by | |
| 284 | + change includePath P D.support D.support_measurable (J.derivativePath Z) = | |
| 285 | + a • includePath P D.support D.support_measurable (H.derivativePath Y) | |
| 286 | + rw [H.derivativePath_eq_smul J Y Z a he hi,map_smul]) | |
| 287 | + L.g L.positive directions q L.R L.derivativeCost d (d+1) | |
| 288 | + (fun H Y hf hi => L.derivative_unit_bound H Y directions hdir d hf hi) | |
| 289 | + G I A hA hforce hinitial n | |
| 290 | + | |
| 291 | +theorem velocity_common_bound (n : ℕ) : | |
| 292 | + block directions q (fun a => pathTranslate P a | |
| 293 | + (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ | |
| 294 | + (L.commonCost*A)*majorant L.R (d+1) n := | |
| 295 | + (L.velocity_bound G I directions hdir A hA d hforce hinitial n).trans | |
| 296 | + (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.velocityCost_le_common hA) | |
| 297 | + (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) | |
| 298 | + | |
| 299 | +theorem derivative_common_bound (n : ℕ) : | |
| 300 | + block directions q (fun a => pathTranslate P a | |
| 301 | + (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ | |
| 302 | + (L.commonCost*A)*majorant L.R (d+1) n := | |
| 303 | + (L.derivative_bound G I directions hdir A hA d hforce hinitial n).trans | |
| 304 | + (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.derivativeCost_le_common hA) | |
| 305 | + (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) | |
| 306 | + | |
| 307 | +end EulerTransversePacketForward.Budget | |
| 308 | +end | |
| 309 | + | |
| 310 | +end | |
| 311 | + | |
| 312 | +/-! ## From `Euler/TransversePacketPressureGradientBounds.lean` | |
| 313 | + | |
| 314 | +The text of `Euler/TransversePacketPressureGradientBounds.lean`, folded into this file, which was its only importer. -/ | |
| 315 | + | |
| 316 | +section | |
| 317 | + | |
| 318 | +/-! Bounds for the actual high-pressure gradient from the normalized forcing and solved velocity. -/ | |
| 319 | + | |
| 320 | +noncomputable section | |
| 321 | + | |
| 322 | +namespace EulerTransversePacketProvider.Forcing | |
| 323 | + | |
| 324 | +open Set EulerSmoothLimit EulerLiftedGradientSpace EulerPacketProfileRecursion | |
| 325 | + EulerPacketCylinderField EulerLpCylinderPaths EulerLpCylinderTranslation | |
| 326 | + EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 327 | + EulerSourceNormalResidualBounds EulerCylinderPotential EulerTimeLpGramGevrey | |
| 328 | + | |
| 329 | +variable {P : ℝ} [Fact (0 < P)] | |
| 330 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 331 | + {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 332 | + | |
| 333 | +theorem pressurePath_normalized_eq_source (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) : | |
| 334 | + normalize g hg (G.pressurePath I) = | |
| 335 | + sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 336 | + (normalize g hg (includePath P D.support D.support_measurable G.path)) | |
| 337 | + (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I))) := | |
| 338 | + (sourcePressure_weight P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 339 | + (reciprocal g hg) (includePath P D.support D.support_measurable G.path) | |
| 340 | + (includePath P D.support D.support_measurable (G.velocityPath I))).symm | |
| 341 | + | |
| 342 | +theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 343 | + (q : ℕ) (R A : ℝ) (d : ℕ) | |
| 344 | + (hb : ∀ n, block standardDirection q | |
| 345 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.pressurePath I))) n 0 ≤ | |
| 346 | + A*majorant R d n) (n : ℕ) : | |
| 347 | + block standardDirection q | |
| 348 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ | |
| 349 | + (3*A)*majorant R (d+1) n := | |
| 350 | + scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n | |
| 351 | + | |
| 352 | +end EulerTransversePacketProvider.Forcing | |
| 353 | +end | |
| 354 | + | |
| 355 | +end | |
| 356 | + | |
| 13 | 357 | noncomputable section |
| 14 | 358 | |
| 15 | 359 | namespace EulerTransversePacketForward.Budget |
+0 −73 Euler/TransversePacketForwardNorms.lean deleted
| @@ -1,73 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketForwardBudget | |
| 2 | -import Euler.TransversePacketPairAmplitude | |
| 3 | - | |
| 4 | -/-! The genuine direct-forward solution has amplitude-linear estimates at | |
| 5 | -one source-dependent radius, for arbitrary admissible initial data and forcing. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketForward.Budget | |
| 10 | - | |
| 11 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 12 | - EulerLpCylinderPaths EulerTransversePacketProvider EulerPacketProfileRecursion | |
| 13 | - EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - {D : Data U} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D ι q) | |
| 19 | - {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 20 | - (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 21 | - (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 22 | - (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 23 | - (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) | |
| 24 | - (hinitial : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ | |
| 25 | - A*majorant L.R d n) | |
| 26 | - | |
| 27 | -include hdir hA hforce hinitial | |
| 28 | - | |
| 29 | -theorem velocity_bound (n : ℕ) : | |
| 30 | - block directions q (fun a => pathTranslate P a | |
| 31 | - (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ | |
| 32 | - (L.velocityCost*A)*majorant L.R (d+1) n := | |
| 33 | - pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullVelocityPath Y) | |
| 34 | - (fun H Y => H.velocityPath_orbit Y) | |
| 35 | - (fun H J Y Z a he hi => by | |
| 36 | - change includePath P D.support D.support_measurable (J.velocityPath Z) = | |
| 37 | - a • includePath P D.support D.support_measurable (H.velocityPath Y) | |
| 38 | - rw [H.velocityPath_eq_smul J Y Z a he hi,map_smul]) | |
| 39 | - L.g L.positive directions q L.R L.velocityCost d (d+1) | |
| 40 | - (fun H Y hf hi => L.velocity_unit_bound H Y directions hdir d hf hi) | |
| 41 | - G I A hA hforce hinitial n | |
| 42 | - | |
| 43 | -theorem derivative_bound (n : ℕ) : | |
| 44 | - block directions q (fun a => pathTranslate P a | |
| 45 | - (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ | |
| 46 | - (L.derivativeCost*A)*majorant L.R (d+1) n := | |
| 47 | - pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullDerivativePath Y) | |
| 48 | - (fun H Y => H.derivativePath_orbit Y) | |
| 49 | - (fun H J Y Z a he hi => by | |
| 50 | - change includePath P D.support D.support_measurable (J.derivativePath Z) = | |
| 51 | - a • includePath P D.support D.support_measurable (H.derivativePath Y) | |
| 52 | - rw [H.derivativePath_eq_smul J Y Z a he hi,map_smul]) | |
| 53 | - L.g L.positive directions q L.R L.derivativeCost d (d+1) | |
| 54 | - (fun H Y hf hi => L.derivative_unit_bound H Y directions hdir d hf hi) | |
| 55 | - G I A hA hforce hinitial n | |
| 56 | - | |
| 57 | -theorem velocity_common_bound (n : ℕ) : | |
| 58 | - block directions q (fun a => pathTranslate P a | |
| 59 | - (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ | |
| 60 | - (L.commonCost*A)*majorant L.R (d+1) n := | |
| 61 | - (L.velocity_bound G I directions hdir A hA d hforce hinitial n).trans | |
| 62 | - (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.velocityCost_le_common hA) | |
| 63 | - (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) | |
| 64 | - | |
| 65 | -theorem derivative_common_bound (n : ℕ) : | |
| 66 | - block directions q (fun a => pathTranslate P a | |
| 67 | - (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ | |
| 68 | - (L.commonCost*A)*majorant L.R (d+1) n := | |
| 69 | - (L.derivative_bound G I directions hdir A hA d hforce hinitial n).trans | |
| 70 | - (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.derivativeCost_le_common hA) | |
| 71 | - (majorant_nonneg L.R (zero_le_one.trans L.radius_one) (d+1) n)) | |
| 72 | - | |
| 73 | -end EulerTransversePacketForward.Budget | |
+0 −144 Euler/TransversePacketHistoryBounds.lean deleted
| @@ -1,144 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketIntervalForcing | |
| 2 | -import Euler.CylinderDirichletPhysicalBounds | |
| 3 | -import Euler.MeanCoefficientPathJets | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# Source bounds for the actual transverse history and its terminal trace | |
| 7 | - | |
| 8 | -The only quantitative inputs are the literal source coefficient jets and | |
| 9 | -the forcing's fixed-Sobolev mixed-word bounds. The output is the constructed | |
| 10 | -history path and its actual terminal coordinate, at the identical radius. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerTransversePacketProvider.Data | |
| 16 | - | |
| 17 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 18 | - EulerTransverseBoundedFrame EulerGevrey | |
| 19 | -open scoped ContDiff BoundedContinuousFunction | |
| 20 | - | |
| 21 | -variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 22 | - | |
| 23 | -theorem frame_spatial_bound (n : ℕ) (C : ℝ) | |
| 24 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 25 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 26 | - ‖iteratedFDeriv ℝ n (D.frame.field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 27 | - coefficient_derivative_bound D.m₀ D.R D.F n C hb t x | |
| 28 | - | |
| 29 | -theorem frameDerivative_spatial_bound (n : ℕ) (C : ℝ) | |
| 30 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) | |
| 31 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 32 | - ‖iteratedFDeriv ℝ n (D.frameDerivative.field t : Space → U →L[ℝ] Space) x‖ ≤ C := | |
| 33 | - coefficient_derivative_bound D.m₀ D.R D.F₁ n C hb t x | |
| 34 | - | |
| 35 | -end EulerTransversePacketProvider.Data | |
| 36 | - | |
| 37 | -namespace EulerLpCylinderTranslation | |
| 38 | - | |
| 39 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerParameterWordGevrey | |
| 40 | -open scoped ContDiff | |
| 41 | - | |
| 42 | -theorem trace_block_le (P : ℝ) [Fact (0 < P)] | |
| 43 | - {K V ι : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 44 | - [NormedAddCommGroup V] [NormedSpace ℝ V] [Fintype ι] | |
| 45 | - (directions : ι → LiftTangent) (q : ℕ) (p : C(K,CylinderL2 P V)) | |
| 46 | - (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) (t : K) (n : ℕ) (a : LiftTangent) : | |
| 47 | - block directions q (fun b => translate P b (p t)) n a ≤ | |
| 48 | - block directions q (fun b => pathTranslate P b p) n a := by | |
| 49 | - let L : C(K,CylinderL2 P V) →L[ℝ] CylinderL2 P V := ContinuousMap.evalCLM ℝ t | |
| 50 | - have hL : ‖L‖ ≤ 1 := by | |
| 51 | - apply opNorm_le_bound _ zero_le_one | |
| 52 | - intro f | |
| 53 | - change ‖f t‖ ≤ 1*‖f‖ | |
| 54 | - simpa only [one_mul] using f.norm_coe_le_norm t | |
| 55 | - exact (block_comp_clm_le directions q L _ hp n a).trans | |
| 56 | - ((mul_le_mul_of_nonneg_right hL (block_nonneg directions q _ n a)).trans_eq (one_mul _)) | |
| 57 | - | |
| 58 | -end EulerLpCylinderTranslation | |
| 59 | - | |
| 60 | -namespace EulerTransversePacketProvider.HistoryData | |
| 61 | - | |
| 62 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 63 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 64 | - EulerPacketProfileRecursion EulerGevrey EulerParameterWordGevrey | |
| 65 | - EulerTransverseFixedSobolev EulerFixedEvolutionSobolev | |
| 66 | - EulerTimeLpGramSobolev EulerTimeLpAccelerationSobolev | |
| 67 | -open scoped ContDiff BoundedContinuousFunction | |
| 68 | - | |
| 69 | -variable {P : ℝ} [Fact (0 < P)] | |
| 70 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 71 | - {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) | |
| 72 | - {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 73 | - (Rc C₀ C₁ CH Cf R : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) | |
| 74 | - (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) (hCf : 0 ≤ Cf) | |
| 75 | - (hbF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₀*majorant Rc 0 n) | |
| 76 | - (hbF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant Rc 0 n) | |
| 77 | - (hbH : ∀ n t x, ‖iteratedFDeriv ℝ n (B.H.field t : Space → Space →L[ℝ] Space) x‖ ≤ CH*majorant Rc 0 n) | |
| 78 | - (hRweak : 2*blockCost ι q D.T Rc C₀ C₁ CH D.frameLower Cf*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 79 | - (hRstrong : 2*gramBlockCost ι q D.frameLower Rc C₀ | |
| 80 | - (accelerationBlockAmplitude ι q Rc C₀ C₁ Cf 1)*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 81 | - (hT1 : D.T ≤ 1) (d : ℕ) | |
| 82 | - (hforce : ∀ n, block directions q (fun a => pathTranslate P a (forcingPath G)) n 0 ≤ Cf*majorant R d n) | |
| 83 | - | |
| 84 | -include hdir hRc hC₀ hC₁ hCH hCf hbF hbF₁ hbH hRweak hRstrong hT1 hforce | |
| 85 | - | |
| 86 | -/-- True continuous coordinate velocity of the actual zero-endpoint solve. -/ | |
| 87 | -theorem source_coordinate_bound (n : ℕ) : | |
| 88 | - block directions q (fun a => pathTranslate P a (B.coordinatePath G)) n 0 ≤ | |
| 89 | - traceCost D.T*majorant R (d+2) n := by | |
| 90 | - exact B.coefficients.continuousVelocity_block_bound P directions hdir q | |
| 91 | - D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 92 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 93 | - (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 94 | - (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 95 | - (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 96 | - (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 97 | - (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 98 | - (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 99 | - hRweak hRstrong hT1 (forcingPath G) G.path_orbit d hforce n 0 | |
| 100 | - | |
| 101 | -/-- The actual terminal trace used by the forward solve has the same bound. -/ | |
| 102 | -theorem source_terminal_bound (n : ℕ) : | |
| 103 | - block directions q (fun a => translate P a ((B.terminalInitial G).value : CylinderL2 P U)) n 0 ≤ | |
| 104 | - traceCost D.T*majorant R (d+2) n := | |
| 105 | - (trace_block_le P directions q (B.coordinatePath G) (B.coordinatePath_orbit G) | |
| 106 | - ⟨D.T,D.T_pos.le,le_rfl⟩ n 0).trans | |
| 107 | - (B.source_coordinate_bound G directions hdir q Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 108 | - hbF hbF₁ hbH hRweak hRstrong hT1 d hforce n) | |
| 109 | - | |
| 110 | -/-- Literal history velocity, with the fixed reference-plane contraction already discharged. -/ | |
| 111 | -theorem source_velocity_bound (n : ℕ) : | |
| 112 | - block directions q (fun a => pathTranslate P a (B.velocityPath G)) n 0 ≤ | |
| 113 | - (3*sobolevCoefficientAmplitude ι q Rc C₀*traceCost D.T)*majorant R (d+2) n := by | |
| 114 | - exact B.coefficients.physicalVelocity_block_bound P directions hdir q | |
| 115 | - D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 116 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 117 | - (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 118 | - (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 119 | - (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 120 | - (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 121 | - (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 122 | - (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 123 | - hRweak hRstrong hT1 (forcingPath G) G.path_orbit d hforce n | |
| 124 | - | |
| 125 | -/-- The genuine history time derivative, at the identical spatial radius. -/ | |
| 126 | -theorem source_derivative_bound | |
| 127 | - (hRuniform : 2*gramBlockCost ι q D.frameLower Rc C₀ | |
| 128 | - (accelerationBlockAmplitude ι q Rc C₀ C₁ Cf (traceCost D.T))*(sobolevCoefficientRadius ι Rc+1) ≤ R) | |
| 129 | - (n : ℕ) : | |
| 130 | - block directions q (fun a => pathTranslate P a (B.derivativePath G)) n 0 ≤ | |
| 131 | - (3*sobolevCoefficientAmplitude ι q Rc C₁*traceCost D.T+ | |
| 132 | - 3*sobolevCoefficientAmplitude ι q Rc C₀)*majorant R (d+3) n := by | |
| 133 | - exact B.coefficients.physicalDerivative_block_bound P directions hdir q | |
| 134 | - D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 135 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 136 | - (fun j a => D.frame.norm_iteratedFDeriv_translation_le j _ | |
| 137 | - (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (D.frame_spatial_bound j _ (hbF j)) a) | |
| 138 | - (fun j a => D.frameDerivative.norm_iteratedFDeriv_translation_le j _ | |
| 139 | - (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (D.frameDerivative_spatial_bound j _ (hbF₁ j)) a) | |
| 140 | - (fun j a => B.H.norm_iteratedFDeriv_translation_le j _ | |
| 141 | - (mul_nonneg hCH (majorant_nonneg Rc hRc 0 j)) (hbH j) a) | |
| 142 | - hRweak hRstrong hT1 hRuniform (forcingPath G) G.path_orbit d hforce n | |
| 143 | - | |
| 144 | -end EulerTransversePacketProvider.HistoryData | |
+0 −64 Euler/TransversePacketHistoryParity.lean deleted
| @@ -1,64 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketHistoryPressure | |
| 2 | -import Euler.TransversePacketPressureParity | |
| 3 | - | |
| 4 | -/-! Joint parity of the actual source history inverse and its normalized pressure. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerTransversePacketProvider.HistoryData | |
| 9 | - | |
| 10 | -open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace | |
| 11 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderFieldReflection | |
| 12 | - EulerPacketProfileRecursion EulerCylinderScalarPrimitive EulerMetricTransport | |
| 13 | - | |
| 14 | -variable {P : ℝ} [Fact (0 < P)] | |
| 15 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 16 | - {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) | |
| 17 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 18 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 19 | - (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 20 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 21 | - | |
| 22 | -include hF hM hH hraw | |
| 23 | - | |
| 24 | -theorem coordinatePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 25 | - reflection P (B.coordinatePath G t) = -B.coordinatePath G t := | |
| 26 | - B.coefficients.velocityPath_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 27 | - (forcingPath G) (G.path_reflection_neg hraw) t | |
| 28 | - | |
| 29 | -theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 30 | - reflection P (B.velocityPath G t) = -B.velocityPath G t := | |
| 31 | - B.coefficients.physicalVelocity_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 32 | - (forcingPath G) (G.path_reflection_neg hraw) t | |
| 33 | - | |
| 34 | -theorem field_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 35 | - B.field G t (-x,((-θ : ℝ) : AddCircle P)) = -B.field G t (x,(θ : AddCircle P)) := by | |
| 36 | - have he := representative_of_reflection P (B.velocityPath G t) (B.field G t) | |
| 37 | - (B.field_ae G t) (smoothField_continuous P _ (B.field_smooth G t)) (-1) | |
| 38 | - (by simpa only [neg_one_smul] using B.velocityPath_reflection_neg G hF hM hH hraw t) | |
| 39 | - (x,(θ : AddCircle P)) | |
| 40 | - simpa only [Prod.neg_mk,AddCircle.coe_neg,neg_one_smul] using he | |
| 41 | - | |
| 42 | -theorem normalResidual_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 43 | - B.normalResidual G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 44 | - -B.normalResidual G t (x,(θ : AddCircle P)) := by | |
| 45 | - have hf : forceField G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 46 | - -forceField G t (x,(θ : AddCircle P)) := by | |
| 47 | - change pointField P (forcingPath G) G.path_orbit t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 48 | - -pointField P (forcingPath G) G.path_orbit t (x,(θ : AddCircle P)) | |
| 49 | - rw [← G.raw_eq t (-x) (-θ),← G.raw_eq t x θ] | |
| 50 | - exact hraw t x θ | |
| 51 | - change (⟪D.normal.field t (-x),forceField G t (-x,((-θ : ℝ) : AddCircle P))⟫_ℝ- | |
| 52 | - 2*⟪D.normal.field t (-x),D.M.field t (-x) (B.field G t (-x,((-θ : ℝ) : AddCircle P)))⟫_ℝ)/ | |
| 53 | - ‖D.normal.field t (-x)‖^2 = _ | |
| 54 | - rw [D.normal_even hF,hM,hf,B.field_odd G hF hM hH hraw] | |
| 55 | - simp only [map_neg,inner_neg_right,normalResidual] | |
| 56 | - ring | |
| 57 | - | |
| 58 | -theorem pressureField_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 59 | - B.pressureField G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 60 | - B.pressureField G t (x,(θ : AddCircle P)) := | |
| 61 | - classicalPrimitive_joint_even P (B.normalResidual G t) (B.normalResidual_continuous G t) | |
| 62 | - (B.normalResidual_mean_zero G t) (B.normalResidual_odd G hF hM hH hraw t) x θ | |
| 63 | - | |
| 64 | -end EulerTransversePacketProvider.HistoryData | |
+0 −52 Euler/TransversePacketJoinedBounds.lean deleted
| @@ -1,52 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketJoinedUnitBounds | |
| 2 | -import Euler.TransversePacketAmplitude | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -The actual complete transverse inverse has one source-only radius budget. | |
| 6 | -Its bounds are linear in the forcing amplitude and independent of grade. | |
| 7 | --/ | |
| 8 | - | |
| 9 | -noncomputable section | |
| 10 | - | |
| 11 | -namespace EulerTransversePacketJoin.Budget | |
| 12 | - | |
| 13 | -open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider | |
| 14 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion | |
| 15 | - EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 16 | -open scoped ContDiff | |
| 17 | - | |
| 18 | -variable {P : ℝ} [Fact (0 < P)] | |
| 19 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 20 | - {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 21 | - {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 22 | - (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) | |
| 23 | - (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 24 | - (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 25 | - (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 26 | - (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) | |
| 27 | - | |
| 28 | -include hdir hA hforce | |
| 29 | - | |
| 30 | -/-- The genuine joined velocity divided by its actual piecewise profile. -/ | |
| 31 | -theorem velocity_bound (n : ℕ) : | |
| 32 | - block directions q (fun a => pathTranslate P a | |
| 33 | - (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 34 | - (L.velocityCost*A)*majorant L.R (d+3) n := | |
| 35 | - amplitude_bound (fun {r} H => velocityPath τ hτ hτT B (H : Forcing P D r)) | |
| 36 | - (fun H => velocityPath_orbit τ hτ hτT B H) | |
| 37 | - (fun H J a he => velocityPath_eq_smul τ hτ hτT B H J a he) | |
| 38 | - L.fullProfile L.fullProfile_pos directions q L.R L.velocityCost d (d+3) | |
| 39 | - (fun H he => L.velocity_unit_bound H directions hdir d he) G A hA hforce n | |
| 40 | - | |
| 41 | -/-- The genuine time derivative divided by the same profile, with no g derivative. -/ | |
| 42 | -theorem derivative_bound (n : ℕ) : | |
| 43 | - block directions q (fun a => pathTranslate P a | |
| 44 | - (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 45 | - (L.derivativeCost*A)*majorant L.R (d+3) n := | |
| 46 | - amplitude_bound (fun {r} H => derivativePath τ hτ hτT B (H : Forcing P D r)) | |
| 47 | - (fun H => derivativePath_orbit τ hτ hτT B H) | |
| 48 | - (fun H J a he => derivativePath_eq_smul τ hτ hτT B H J a he) | |
| 49 | - L.fullProfile L.fullProfile_pos directions q L.R L.derivativeCost d (d+3) | |
| 50 | - (fun H he => L.derivative_unit_bound H directions hdir d he) G A hA hforce n | |
| 51 | - | |
| 52 | -end EulerTransversePacketJoin.Budget | |
+0 −96 Euler/TransversePacketJoinedCorrectorBounds.lean deleted
| @@ -1,96 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketJoinedCorrector | |
| 2 | -import Euler.CylinderSlowCurlWeight | |
| 3 | -import Euler.CylinderPotentialTimeWeight | |
| 4 | - | |
| 5 | -/-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketJoin | |
| 10 | - | |
| 11 | -open Set EulerTransversePacketProvider EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey | |
| 12 | - EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey | |
| 13 | - EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by | |
| 17 | - cases i using Fin.cases <;> simp [Prod.norm_def] | |
| 18 | - | |
| 19 | -variable {P : ℝ} [Fact (0 < P)] | |
| 20 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 21 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 22 | - (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 23 | - (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 24 | - (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) | |
| 25 | - (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) | |
| 26 | - (hbA : ∀ n, block standardDirection q | |
| 27 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 28 | - A*majorant R d n) | |
| 29 | - (hbAt : ∀ n, block standardDirection q | |
| 30 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 31 | - A*majorant R d n) | |
| 32 | - (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 33 | - C*majorant Rc 0 n) | |
| 34 | - (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 35 | - C*majorant Rc 0 n) | |
| 36 | - (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) | |
| 37 | - (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 38 | - C*majorant Rc 0 n) | |
| 39 | - | |
| 40 | -include hRc hC hA hR hbA hbK in | |
| 41 | -theorem potentialPath_normalized_bound (n : ℕ) : | |
| 42 | - block standardDirection q | |
| 43 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) n 0 ≤ | |
| 44 | - (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 45 | - EulerCylinderPotential.normalized_potentialPath_block_bound P g (velocityPath τ hτ hτT B G) | |
| 46 | - D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit | |
| 47 | - (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G)) | |
| 48 | - standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n | |
| 49 | - | |
| 50 | -include hRc hC hA hR hbA hbAt hbK hbKt in | |
| 51 | -theorem potentialTimePath_normalized_bound (n : ℕ) : | |
| 52 | - block standardDirection q | |
| 53 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialTimePath τ hτ hτT B G))) n 0 ≤ | |
| 54 | - (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 55 | - EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T | |
| 56 | - D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit | |
| 57 | - (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) | |
| 58 | - g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n | |
| 59 | - | |
| 60 | -include hRc hC hA hR hbA hbK hbI in | |
| 61 | -theorem correctorPath_normalized_bound (n : ℕ) : | |
| 62 | - block standardDirection q | |
| 63 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorPath τ hτ hτT B G))) n 0 ≤ | |
| 64 | - (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 65 | - have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 66 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 67 | - have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field | |
| 68 | - (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) hg D.FInv.translation_contDiff | |
| 69 | - q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d | |
| 70 | - (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK) n | |
| 71 | - exact h.trans_eq (by ring) | |
| 72 | - | |
| 73 | -include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in | |
| 74 | -theorem correctorTimePath_normalized_bound (n : ℕ) : | |
| 75 | - block standardDirection q | |
| 76 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorTimePath τ hτ hτT B G))) n 0 ≤ | |
| 77 | - (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 78 | - have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 79 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 80 | - have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR | |
| 81 | - have hQ (j : ℕ) : block standardDirection q | |
| 82 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) j 0 ≤ | |
| 83 | - (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by | |
| 84 | - apply (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans | |
| 85 | - have hn := mul_nonneg | |
| 86 | - (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) | |
| 87 | - (majorant_nonneg R hRn d j) | |
| 88 | - linarith | |
| 89 | - have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg | |
| 90 | - D.FInv.field D.inverseDerivative (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) | |
| 91 | - (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) D.FInv.translation_contDiff D.inverseDerivative_orbit | |
| 92 | - q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR | |
| 93 | - hbI hbIt d hQ (potentialTimePath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n | |
| 94 | - exact h.trans_eq (by ring) | |
| 95 | - | |
| 96 | -end EulerTransversePacketJoin | |
+0 −38 Euler/TransversePacketJoinedCorrectorSupport.lean deleted
| @@ -1,38 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketJoinedCorrector | |
| 2 | -import Euler.CylinderLocalSupport | |
| 3 | -import Euler.CylinderCorrectorMeanZero | |
| 4 | - | |
| 5 | -/-! Support and zero angular mean of the literal joined corrector and its actual time derivative. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketJoin | |
| 10 | - | |
| 11 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 12 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderLocalSupport | |
| 13 | - EulerCylinderAngleAverage EulerCylinderCorrectorMeanZero EulerPacketProfileRecursion | |
| 14 | - EulerTransversePacketProvider EulerElapsedTimePathGluing | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 19 | - (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 20 | - | |
| 21 | -theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 22 | - potentialPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 23 | - EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 24 | - (velocityPath τ hτ hτT B G) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B G) t | |
| 25 | - | |
| 26 | -theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 27 | - correctorPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 28 | - slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) | |
| 29 | - (potentialPath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed | |
| 30 | - (potentialPath_supported τ hτ hτT B G) t | |
| 31 | - | |
| 32 | -theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 33 | - corrector τ hτ hτT B G (t,(x,θ)) = 0 := | |
| 34 | - pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B G) | |
| 35 | - (correctorPath_orbit τ hτ hτT B G) D.support_compact.isClosed | |
| 36 | - (correctorPath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 37 | - | |
| 38 | -end EulerTransversePacketJoin | |
+0 −82 Euler/TransversePacketJoinedEquation.lean deleted
| @@ -1,82 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketJoinedField | |
| 2 | -import Euler.TransversePacketJets | |
| 3 | - | |
| 4 | -/-! The complete constructed transverse path satisfies the literal packet equation on the whole closed interval. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerTransversePacketJoin | |
| 9 | - | |
| 10 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 11 | - EulerCylinderSmoothOrbit EulerCylinderScalarPrimitive EulerPacketProfileRecursion | |
| 12 | - EulerTransversePacketProvider EulerPacketCylinderField EulerLpCylinderPaths | |
| 13 | - EulerPacketPointJets EulerMetricTransport EulerTimeIntervalRestriction | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 19 | - (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 20 | - | |
| 21 | -theorem scalar_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar τ hτ hτT B G (t,y)) := | |
| 22 | - coverField_contDiff P _ (scalarPointField_smooth P (pressurePath τ hτ hτT B G) | |
| 23 | - (pressurePath_orbit τ hτ hτT B G) (D.clamp t)) | |
| 24 | - | |
| 25 | -/-- The complete actual high field and normalized pressure satisfy (11), | |
| 26 | -including at the history/forward junction. -/ | |
| 27 | -theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 28 | - vectorDerivative τ hτ hτT B G (t,(x,θ))+ | |
| 29 | - D.strain (t,(x,θ)) (vector τ hτ hτT B G (t,(x,θ)))+ | |
| 30 | - deriv (fun s => scalar τ hτ hτT B G (t,(x,s))) θ • D.normalField (t,(x,θ)) = raw (t,(x,θ)) := by | |
| 31 | - by_cases ht : (t : ℝ) ≤ τ | |
| 32 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 33 | - have hs : (fun s => scalar τ hτ hτT B G (t,(x,s))) = | |
| 34 | - fun s : ℝ => B.pressureField (G.initial τ hτ hτT.le) th (x,(s : AddCircle P)) := | |
| 35 | - funext (fun s => scalar_left τ hτ hτT B G th x s) | |
| 36 | - have hM : D.strain (t,(x,θ)) = (D.initial τ hτ hτT.le).M.field th x := by | |
| 37 | - simp only [Data.strain,Data.clamp_coe] | |
| 38 | - rfl | |
| 39 | - have hm : D.normalField (t,(x,θ)) = (D.initial τ hτ hτT.le).normal.field th x := by | |
| 40 | - simp only [Data.normalField,Data.clamp_coe] | |
| 41 | - rfl | |
| 42 | - rw [vectorDerivative_left τ hτ hτT B G th x θ,vector_left τ hτ hτT B G th x θ,hs,hM,hm] | |
| 43 | - exact B.field_pressure_equation (G.initial τ hτ hτT.le) th x θ | |
| 44 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 45 | - let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 46 | - ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 47 | - have heT : tailInclusion D.T τ hτ.le tf = t := by | |
| 48 | - apply Subtype.ext | |
| 49 | - change τ+((t : ℝ)-τ) = t | |
| 50 | - ring | |
| 51 | - have htf : (D.tail τ hτ.le hτT).clamp tf = tf := | |
| 52 | - (D.tail τ hτ.le hτT).clamp_coe tf | |
| 53 | - have hs : (fun s => scalar τ hτ hτT B G (t,(x,s))) = | |
| 54 | - fun s => (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) (tf,(x,s)) := | |
| 55 | - funext (fun s => scalar_right τ hτ hτT B G tr x s) | |
| 56 | - have hM : D.strain (t,(x,θ)) = (D.tail τ hτ.le hτT).strain (tf,(x,θ)) := by | |
| 57 | - simp only [Data.strain,Data.clamp_coe,htf] | |
| 58 | - change D.M.field t x = D.M.field (tailInclusion D.T τ hτ.le tf) x | |
| 59 | - rw [heT] | |
| 60 | - have hm : D.normalField (t,(x,θ)) = (D.tail τ hτ.le hτT).normalField (tf,(x,θ)) := by | |
| 61 | - simp only [Data.normalField,Data.clamp_coe,htf] | |
| 62 | - change D.normal.field t x = D.normal.field (tailInclusion D.T τ hτ.le tf) x | |
| 63 | - rw [heT] | |
| 64 | - have hr : shiftedRaw τ raw (tf,(x,θ)) = raw (t,(x,θ)) := by | |
| 65 | - change raw (τ+((t : ℝ)-τ),(x,θ)) = raw (t,(x,θ)) | |
| 66 | - rw [show τ+((t : ℝ)-τ) = t by ring] | |
| 67 | - rw [vectorDerivative_right τ hτ hτT B G tr x θ,vector_right τ hτ hτT B G tr x θ,hs,hM,hm,← hr] | |
| 68 | - exact (G.tail τ hτ.le hτT).equation (forwardInitial τ hτ hτT B G) tf x θ | |
| 69 | - | |
| 70 | -/-- The literal sliced-jet equation consumed by the packet grade recursion. -/ | |
| 71 | -theorem jet_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 72 | - linearPart (D.strain (t,(x,θ))) | |
| 73 | - (slicedJet (Icc (0 : ℝ) D.T) (vector τ hτ hτT B G) (t,(x,θ)))+ | |
| 74 | - fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar τ hτ hτT B G) (t,(x,θ))) = raw (t,(x,θ)) := by | |
| 75 | - change (slicedJet (Icc (0 : ℝ) D.T) (vector τ hτ hτT B G) (t,(x,θ))).2 timeDirection+ | |
| 76 | - D.strain (t,(x,θ)) (vector τ hτ hτT B G (t,(x,θ)))+_ = _ | |
| 77 | - rw [(vectorField τ hτ hτT B G).slicedJet_temporal D.T_pos (vectorDerivativeField τ hτ hτT B G) | |
| 78 | - (vectorField_time τ hτ hτT B G),fastPressure_pressureJet _ (scalar τ hτ hτT B G) t x θ | |
| 79 | - ((scalar_smooth τ hτ hτT B G t).differentiable (by simp) (x,θ))] | |
| 80 | - exact equation τ hτ hτT B G t x θ | |
| 81 | - | |
| 82 | -end EulerTransversePacketJoin | |
+348 −2 Euler/TransversePacketJoinedFullBounds.lean View file
| @@ -1,6 +1,10 @@ | ||
| 1 | -import Euler.TransversePacketJoinedBounds | |
| 1 | +import Euler.TransversePacketBudget | |
| 2 | +import Euler.TransversePacketJoinedPaths | |
| 3 | +import Euler.TransversePacketAmplitude | |
| 2 | 4 | import Euler.TransversePacketJoinedPressure |
| 3 | -import Euler.TransversePacketJoinedCorrectorBounds | |
| 5 | +import Euler.TransversePacketJoinedCorrector | |
| 6 | +import Euler.CylinderSlowCurlWeight | |
| 7 | +import Euler.CylinderPotentialTimeWeight | |
| 4 | 8 | import Euler.TransversePacketNormalBudget |
| 5 | 9 | |
| 6 | 10 | /-! |
| @@ -12,6 +16,348 @@ same external radius and fixed mixed Sobolev order. They spend at most four | ||
| 12 | 16 | derivative shifts, within the manuscript's ten-shift allowance. |
| 13 | 17 | -/ |
| 14 | 18 | |
| 19 | +/-! ## From `Euler/TransversePacketJoinedUnitBounds.lean` | |
| 20 | + | |
| 21 | +The text of `Euler/TransversePacketJoinedUnitBounds.lean`, folded into this file, which was its only importer. -/ | |
| 22 | + | |
| 23 | +section | |
| 24 | + | |
| 25 | +/-! | |
| 26 | +# Unit-amplitude bounds for the complete actual transverse inverse | |
| 27 | + | |
| 28 | +One source-only budget controls the history trace, forward solve and their | |
| 29 | +joined physical velocity and genuine time derivative. The input and output | |
| 30 | +use the same fixed mixed-word Sobolev order and the same external radius. | |
| 31 | +-/ | |
| 32 | + | |
| 33 | +noncomputable section | |
| 34 | + | |
| 35 | +namespace EulerTransversePacketJoin.Budget | |
| 36 | + | |
| 37 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider | |
| 38 | + EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev | |
| 39 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction | |
| 40 | + EulerElapsedTimePathGluing EulerPacketProfileRecursion | |
| 41 | +open scoped ContDiff BoundedContinuousFunction | |
| 42 | + | |
| 43 | +variable {P : ℝ} [Fact (0 < P)] | |
| 44 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 45 | + {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 46 | + {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 47 | + (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) | |
| 48 | + (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 49 | + (d : ℕ) | |
| 50 | + (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 51 | + (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ majorant L.R d n) | |
| 52 | + | |
| 53 | +include hforce | |
| 54 | + | |
| 55 | +theorem history_forcing_bound (n : ℕ) : | |
| 56 | + block directions q (fun a => pathTranslate P a | |
| 57 | + (HistoryData.forcingPath (G.initial τ hτ hτT.le))) n 0 ≤ majorant L.R d n := by | |
| 58 | + have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp | |
| 59 | + (initialInclusion D.T τ hτT.le) = HistoryData.forcingPath (G.initial τ hτ hτT.le) := | |
| 60 | + normalize_initial D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) | |
| 61 | + have hb := timeComp_block_le P directions q | |
| 62 | + (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) | |
| 63 | + (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) | |
| 64 | + (initialInclusion D.T τ hτT.le) n 0 | |
| 65 | + rw [he] at hb | |
| 66 | + exact hb.trans (hforce n) | |
| 67 | + | |
| 68 | +theorem forward_forcing_bound (n : ℕ) : | |
| 69 | + block directions q (fun a => pathTranslate P a | |
| 70 | + (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) n 0 ≤ majorant L.R d n := by | |
| 71 | + have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp | |
| 72 | + (tailInclusion D.T τ hτ.le) = | |
| 73 | + normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)) := | |
| 74 | + normalize_tail D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) | |
| 75 | + have hb := timeComp_block_le P directions q | |
| 76 | + (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) | |
| 77 | + (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) | |
| 78 | + (tailInclusion D.T τ hτ.le) n 0 | |
| 79 | + rw [he] at hb | |
| 80 | + exact hb.trans (hforce n) | |
| 81 | + | |
| 82 | +include hdir | |
| 83 | + | |
| 84 | +/-- This is the actual datum passed to the forward solution, not a new hypothesis. -/ | |
| 85 | +theorem terminal_bound (n : ℕ) : | |
| 86 | + block directions q (fun a => translate P a | |
| 87 | + ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U)) n 0 ≤ | |
| 88 | + traceCost τ*majorant L.R (d+2) n := by | |
| 89 | + exact B.source_terminal_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 90 | + L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 91 | + (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 92 | + (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 93 | + L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 94 | + (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n | |
| 95 | + | |
| 96 | +theorem past_velocity_bound (n : ℕ) : | |
| 97 | + block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) n 0 ≤ | |
| 98 | + (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ)*majorant L.R (d+2) n := by | |
| 99 | + exact B.source_velocity_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 100 | + L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 101 | + (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 102 | + (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 103 | + L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 104 | + (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n | |
| 105 | + | |
| 106 | +theorem past_derivative_bound (n : ℕ) : | |
| 107 | + block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) n 0 ≤ | |
| 108 | + (3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*traceCost τ+ | |
| 109 | + 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 110 | + exact B.source_derivative_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 111 | + L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 112 | + (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 113 | + (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 114 | + L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 115 | + (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) | |
| 116 | + L.history_uniform n | |
| 117 | + | |
| 118 | +theorem future_velocity_bound (n : ℕ) : | |
| 119 | + block directions q (fun a => pathTranslate P a | |
| 120 | + (normalize L.g L.positive (futureVelocity τ hτ hτT B G))) n 0 ≤ | |
| 121 | + (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 122 | + have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 123 | + (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ | |
| 124 | + 1*majorant L.R (d+2) j := by | |
| 125 | + simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans | |
| 126 | + (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) | |
| 127 | + dsimp only [futureVelocity] | |
| 128 | + rw [show d+3=d+2+1 by omega] | |
| 129 | + exact | |
| 130 | + (G.tail τ hτ.le hτT).source_velocity_normalized_bound (forwardInitial τ hτ hτT B G) | |
| 131 | + L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 132 | + L.support_subset L.neighborhood_halfball L.initial_one | |
| 133 | + L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 134 | + L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 135 | + L.forward_inverse | |
| 136 | + (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 137 | + (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 138 | + L.forcing_radius L.forward_radius L.propagator (d+2) hf | |
| 139 | + (L.terminal_bound G directions hdir d hforce) L.radius_bounds.2 n | |
| 140 | + | |
| 141 | +theorem future_derivative_bound (n : ℕ) : | |
| 142 | + block directions q (fun a => pathTranslate P a | |
| 143 | + (normalize L.g L.positive (futureDerivative τ hτ hτT B G))) n 0 ≤ | |
| 144 | + EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 1 1*majorant L.R (d+3) n := by | |
| 145 | + have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 146 | + (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ | |
| 147 | + 1*majorant L.R (d+2) j := by | |
| 148 | + simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans | |
| 149 | + (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) | |
| 150 | + dsimp only [futureDerivative] | |
| 151 | + rw [show d+3=d+2+1 by omega] | |
| 152 | + exact | |
| 153 | + (G.tail τ hτ.le hτT).source_derivative_normalized_bound (forwardInitial τ hτ hτT B G) | |
| 154 | + L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 155 | + L.support_subset L.neighborhood_halfball L.initial_one | |
| 156 | + L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 157 | + L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 158 | + L.forward_inverse | |
| 159 | + (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 160 | + (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 161 | + L.forcing_radius L.forward_radius L.propagator (d+2) hf | |
| 162 | + (L.terminal_bound G directions hdir d hforce) L.radius_bounds.1 n | |
| 163 | + | |
| 164 | +/-- The entire constructed A/g, with the input's original external radius. -/ | |
| 165 | +theorem velocity_unit_bound (n : ℕ) : | |
| 166 | + block directions q (fun a => pathTranslate P a | |
| 167 | + (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 168 | + L.velocityCost*majorant L.R (d+3) n := by | |
| 169 | + have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 170 | + (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) (velocity_match τ hτ hτT B G) | |
| 171 | + (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n 0 | |
| 172 | + have ha : 0 ≤ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ := | |
| 173 | + mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ | |
| 174 | + L.Rc_nonneg L.C₀_nonneg)) (traceCost_nonneg τ hτ.le) | |
| 175 | + have hp := (L.past_velocity_bound G directions hdir d hforce n).trans | |
| 176 | + (mul_le_mul_of_nonneg_left | |
| 177 | + (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) ha) | |
| 178 | + exact hb.trans (by | |
| 179 | + simpa only [velocityCost,add_mul] using | |
| 180 | + add_le_add hp (L.future_velocity_bound G directions hdir d hforce n)) | |
| 181 | + | |
| 182 | +/-- The entire actual A_t/g. The profile itself is never differentiated. -/ | |
| 183 | +theorem derivative_unit_bound (n : ℕ) : | |
| 184 | + block directions q (fun a => pathTranslate P a | |
| 185 | + (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 186 | + L.derivativeCost*majorant L.R (d+3) n := by | |
| 187 | + have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 188 | + (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) (derivative_match τ hτ hτT B G) | |
| 189 | + (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n 0 | |
| 190 | + exact hb.trans (by | |
| 191 | + simpa only [derivativeCost,add_mul] using | |
| 192 | + add_le_add (L.past_derivative_bound G directions hdir d hforce n) | |
| 193 | + (L.future_derivative_bound G directions hdir d hforce n)) | |
| 194 | + | |
| 195 | +end EulerTransversePacketJoin.Budget | |
| 196 | +end | |
| 197 | + | |
| 198 | +end | |
| 199 | + | |
| 200 | +/-! ## From `Euler/TransversePacketJoinedCorrectorBounds.lean` | |
| 201 | + | |
| 202 | +The text of `Euler/TransversePacketJoinedCorrectorBounds.lean`, folded into this file, which was its only importer. -/ | |
| 203 | + | |
| 204 | +section | |
| 205 | + | |
| 206 | +/-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ | |
| 207 | + | |
| 208 | +noncomputable section | |
| 209 | + | |
| 210 | +namespace EulerTransversePacketJoin | |
| 211 | + | |
| 212 | +open Set EulerTransversePacketProvider EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey | |
| 213 | + EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey | |
| 214 | + EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight | |
| 215 | +open scoped ContDiff | |
| 216 | + | |
| 217 | +private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by | |
| 218 | + cases i using Fin.cases <;> simp [Prod.norm_def] | |
| 219 | + | |
| 220 | +variable {P : ℝ} [Fact (0 < P)] | |
| 221 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 222 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 223 | + (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 224 | + (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 225 | + (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) | |
| 226 | + (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) | |
| 227 | + (hbA : ∀ n, block standardDirection q | |
| 228 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 229 | + A*majorant R d n) | |
| 230 | + (hbAt : ∀ n, block standardDirection q | |
| 231 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 232 | + A*majorant R d n) | |
| 233 | + (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 234 | + C*majorant Rc 0 n) | |
| 235 | + (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 236 | + C*majorant Rc 0 n) | |
| 237 | + (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) | |
| 238 | + (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 239 | + C*majorant Rc 0 n) | |
| 240 | + | |
| 241 | +include hRc hC hA hR hbA hbK in | |
| 242 | +theorem potentialPath_normalized_bound (n : ℕ) : | |
| 243 | + block standardDirection q | |
| 244 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) n 0 ≤ | |
| 245 | + (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 246 | + EulerCylinderPotential.normalized_potentialPath_block_bound P g (velocityPath τ hτ hτT B G) | |
| 247 | + D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit | |
| 248 | + (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G)) | |
| 249 | + standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n | |
| 250 | + | |
| 251 | +include hRc hC hA hR hbA hbAt hbK hbKt in | |
| 252 | +theorem potentialTimePath_normalized_bound (n : ℕ) : | |
| 253 | + block standardDirection q | |
| 254 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialTimePath τ hτ hτT B G))) n 0 ≤ | |
| 255 | + (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := | |
| 256 | + EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T | |
| 257 | + D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit | |
| 258 | + (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) | |
| 259 | + g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n | |
| 260 | + | |
| 261 | +include hRc hC hA hR hbA hbK hbI in | |
| 262 | +theorem correctorPath_normalized_bound (n : ℕ) : | |
| 263 | + block standardDirection q | |
| 264 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorPath τ hτ hτT B G))) n 0 ≤ | |
| 265 | + (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 266 | + have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 267 | + have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 268 | + have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field | |
| 269 | + (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) hg D.FInv.translation_contDiff | |
| 270 | + q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d | |
| 271 | + (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK) n | |
| 272 | + exact h.trans_eq (by ring) | |
| 273 | + | |
| 274 | +include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in | |
| 275 | +theorem correctorTimePath_normalized_bound (n : ℕ) : | |
| 276 | + block standardDirection q | |
| 277 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorTimePath τ hτ hτT B G))) n 0 ≤ | |
| 278 | + (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by | |
| 279 | + have hp : 0 ≤ P := (Fact.out : 0 < P).le | |
| 280 | + have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 281 | + have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR | |
| 282 | + have hQ (j : ℕ) : block standardDirection q | |
| 283 | + (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) j 0 ≤ | |
| 284 | + (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by | |
| 285 | + apply (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans | |
| 286 | + have hn := mul_nonneg | |
| 287 | + (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) | |
| 288 | + (majorant_nonneg R hRn d j) | |
| 289 | + linarith | |
| 290 | + have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg | |
| 291 | + D.FInv.field D.inverseDerivative (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) | |
| 292 | + (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) D.FInv.translation_contDiff D.inverseDerivative_orbit | |
| 293 | + q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR | |
| 294 | + hbI hbIt d hQ (potentialTimePath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n | |
| 295 | + exact h.trans_eq (by ring) | |
| 296 | + | |
| 297 | +end EulerTransversePacketJoin | |
| 298 | +end | |
| 299 | + | |
| 300 | +end | |
| 301 | + | |
| 302 | +/-! ## From `Euler/TransversePacketJoinedBounds.lean` | |
| 303 | + | |
| 304 | +The text of `Euler/TransversePacketJoinedBounds.lean`, folded into this file, which was its only importer. -/ | |
| 305 | + | |
| 306 | +section | |
| 307 | + | |
| 308 | +/-! | |
| 309 | +The actual complete transverse inverse has one source-only radius budget. | |
| 310 | +Its bounds are linear in the forcing amplitude and independent of grade. | |
| 311 | +-/ | |
| 312 | + | |
| 313 | +noncomputable section | |
| 314 | + | |
| 315 | +namespace EulerTransversePacketJoin.Budget | |
| 316 | + | |
| 317 | +open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider | |
| 318 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion | |
| 319 | + EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 320 | +open scoped ContDiff | |
| 321 | + | |
| 322 | +variable {P : ℝ} [Fact (0 < P)] | |
| 323 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 324 | + {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 325 | + {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 326 | + (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) | |
| 327 | + (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 328 | + (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 329 | + (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 330 | + (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) | |
| 331 | + | |
| 332 | +include hdir hA hforce | |
| 333 | + | |
| 334 | +/-- The genuine joined velocity divided by its actual piecewise profile. -/ | |
| 335 | +theorem velocity_bound (n : ℕ) : | |
| 336 | + block directions q (fun a => pathTranslate P a | |
| 337 | + (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 338 | + (L.velocityCost*A)*majorant L.R (d+3) n := | |
| 339 | + amplitude_bound (fun {r} H => velocityPath τ hτ hτT B (H : Forcing P D r)) | |
| 340 | + (fun H => velocityPath_orbit τ hτ hτT B H) | |
| 341 | + (fun H J a he => velocityPath_eq_smul τ hτ hτT B H J a he) | |
| 342 | + L.fullProfile L.fullProfile_pos directions q L.R L.velocityCost d (d+3) | |
| 343 | + (fun H he => L.velocity_unit_bound H directions hdir d he) G A hA hforce n | |
| 344 | + | |
| 345 | +/-- The genuine time derivative divided by the same profile, with no g derivative. -/ | |
| 346 | +theorem derivative_bound (n : ℕ) : | |
| 347 | + block directions q (fun a => pathTranslate P a | |
| 348 | + (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 349 | + (L.derivativeCost*A)*majorant L.R (d+3) n := | |
| 350 | + amplitude_bound (fun {r} H => derivativePath τ hτ hτT B (H : Forcing P D r)) | |
| 351 | + (fun H => derivativePath_orbit τ hτ hτT B H) | |
| 352 | + (fun H J a he => derivativePath_eq_smul τ hτ hτT B H J a he) | |
| 353 | + L.fullProfile L.fullProfile_pos directions q L.R L.derivativeCost d (d+3) | |
| 354 | + (fun H he => L.derivative_unit_bound H directions hdir d he) G A hA hforce n | |
| 355 | + | |
| 356 | +end EulerTransversePacketJoin.Budget | |
| 357 | +end | |
| 358 | + | |
| 359 | +end | |
| 360 | + | |
| 15 | 361 | noncomputable section |
| 16 | 362 | |
| 17 | 363 | namespace EulerTransversePacketJoin.Budget |
+0 −90 Euler/TransversePacketJoinedParity.lean deleted
| @@ -1,90 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketHistoryParity | |
| 2 | -import Euler.TransversePacketJoinedCorrectorSupport | |
| 3 | -import Euler.PacketCylinderTimeParity | |
| 4 | - | |
| 5 | -/-! Joint parity of the complete constructed high inverse, pressure and actual corrector. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketJoin | |
| 10 | - | |
| 11 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 12 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection | |
| 13 | - EulerPacketProfileRecursion EulerTransversePacketProvider EulerTimeIntervalRestriction | |
| 14 | - EulerElapsedTimePathGluing | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 19 | - (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 20 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 21 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 22 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 23 | - (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 24 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 25 | - | |
| 26 | -include hF hM hH hraw | |
| 27 | - | |
| 28 | -theorem forwardInitial_reflection_neg : | |
| 29 | - reflection P ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) = | |
| 30 | - -((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) := | |
| 31 | - B.coordinatePath_reflection_neg (G.initial τ hτ hτT.le) | |
| 32 | - (fun t x => hF (initialInclusion D.T τ hτT.le t) x) | |
| 33 | - (fun t x => hM (initialInclusion D.T τ hτT.le t) x) hH | |
| 34 | - (fun t x θ => hraw (initialInclusion D.T τ hτT.le t) x θ) ⟨τ,hτ.le,le_rfl⟩ | |
| 35 | - | |
| 36 | -include hSym | |
| 37 | - | |
| 38 | -theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 39 | - reflection P (futureVelocity τ hτ hτT B G t) = -futureVelocity τ hτ hτT B G t := | |
| 40 | - (G.tail τ hτ.le hτT).velocityPath_reflection_neg (forwardInitial τ hτ hτT B G) hSym | |
| 41 | - (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 42 | - (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 43 | - (fun s x θ => hraw (tailInclusion D.T τ hτ.le s) x θ) | |
| 44 | - (forwardInitial_reflection_neg τ hτ hτT B G hF hM hH hraw) t | |
| 45 | - | |
| 46 | -theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 47 | - reflection P (velocityPath τ hτ hτT B G t) = -velocityPath τ hτ hτT B G t := by | |
| 48 | - apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) | |
| 49 | - {u | reflection P u = -u} _ _ t | |
| 50 | - · exact B.velocityPath_reflection_neg (G.initial τ hτ hτT.le) | |
| 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) hH | |
| 53 | - (fun s x θ => hraw (initialInclusion D.T τ hτT.le s) x θ) | |
| 54 | - · exact futureVelocity_reflection_neg τ hτ hτT B G hSym hF hM hH hraw | |
| 55 | - | |
| 56 | -theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 57 | - vector τ hτ hτT B G (t,(-x,-θ)) = -vector τ hτ hτT B G (t,(x,θ)) := | |
| 58 | - (vectorField τ hτ hτT B G).raw_odd_of_reflection_neg t | |
| 59 | - (velocityPath_reflection_neg τ hτ hτT B G hSym hF hM hH hraw t) x θ | |
| 60 | - | |
| 61 | -theorem scalar_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 62 | - scalar τ hτ hτT B G (t,(-x,-θ)) = scalar τ hτ hτT B G (t,(x,θ)) := by | |
| 63 | - by_cases ht : (t : ℝ) ≤ τ | |
| 64 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 65 | - rw [scalar_left τ hτ hτT B G th (-x) (-θ),scalar_left τ hτ hτT B G th x θ] | |
| 66 | - exact B.pressureField_even (G.initial τ hτ hτT.le) | |
| 67 | - (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 68 | - (fun s x => hM (initialInclusion D.T τ hτT.le s) x) hH | |
| 69 | - (fun s x θ => hraw (initialInclusion D.T τ hτT.le s) x θ) th x θ | |
| 70 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 71 | - let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 72 | - ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 73 | - rw [scalar_right τ hτ hτT B G tr (-x) (-θ),scalar_right τ hτ hτT B G tr x θ] | |
| 74 | - exact (G.tail τ hτ.le hτT).scalar_even (forwardInitial τ hτ hτT B G) hSym | |
| 75 | - (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 76 | - (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 77 | - (fun s x θ => hraw (tailInclusion D.T τ hτ.le s) x θ) | |
| 78 | - (forwardInitial_reflection_neg τ hτ hτT B G hF hM hH hraw) tf x θ | |
| 79 | - | |
| 80 | -theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 81 | - D.curlCorrector P (vector τ hτ hτT B G) (t,(-x,-θ)) = | |
| 82 | - -D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ)) := by | |
| 83 | - apply D.curlCorrector_odd P (vector τ hτ hτT B G) t | |
| 84 | - · simpa only [Data.clamp_coe] using D.inverse_even hF t | |
| 85 | - · exact (vectorField τ hτ hτT B G).raw_smooth t | |
| 86 | - · exact vector_periodic τ hτ hτT B G t | |
| 87 | - · exact vector_mean_zero τ hτ hτT B G t | |
| 88 | - · exact vector_odd τ hτ hτT B G hSym hF hM hH hraw t | |
| 89 | - | |
| 90 | -end EulerTransversePacketJoin | |
+308 −2 Euler/TransversePacketJoinedProvider.lean View file
| @@ -1,5 +1,11 @@ | ||
| 1 | -import Euler.TransversePacketJoinedParity | |
| 2 | -import Euler.TransversePacketJoinedEquation | |
| 1 | +import Euler.TransversePacketHistoryPressure | |
| 2 | +import Euler.TransversePacketPressureParity | |
| 3 | +import Euler.TransversePacketJoinedCorrector | |
| 4 | +import Euler.CylinderLocalSupport | |
| 5 | +import Euler.CylinderCorrectorMeanZero | |
| 6 | +import Euler.PacketCylinderTimeParity | |
| 7 | +import Euler.TransversePacketJoinedField | |
| 8 | +import Euler.TransversePacketJets | |
| 3 | 9 | import Euler.TransversePacketJoinedPressure |
| 4 | 10 | import Euler.TransversePacketHomogeneity |
| 5 | 11 | import Euler.PacketCylinderFieldUnique |
| @@ -12,6 +18,306 @@ Its raw PDE, tangent constraint, parity, actual Field witnesses, true time | ||
| 12 | 18 | derivative, pressure gradient and literal curl corrector are all exported. |
| 13 | 19 | -/ |
| 14 | 20 | |
| 21 | +/-! ## From `Euler/TransversePacketHistoryParity.lean` | |
| 22 | + | |
| 23 | +The text of `Euler/TransversePacketHistoryParity.lean`, folded into this file, which was its only importer. -/ | |
| 24 | + | |
| 25 | +section | |
| 26 | + | |
| 27 | +/-! Joint parity of the actual source history inverse and its normalized pressure. -/ | |
| 28 | + | |
| 29 | +noncomputable section | |
| 30 | + | |
| 31 | +namespace EulerTransversePacketProvider.HistoryData | |
| 32 | + | |
| 33 | +open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace | |
| 34 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderFieldReflection | |
| 35 | + EulerPacketProfileRecursion EulerCylinderScalarPrimitive EulerMetricTransport | |
| 36 | + | |
| 37 | +variable {P : ℝ} [Fact (0 < P)] | |
| 38 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 39 | + {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) | |
| 40 | + (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 41 | + (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 42 | + (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 43 | + (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 44 | + | |
| 45 | +include hF hM hH hraw | |
| 46 | + | |
| 47 | +theorem coordinatePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 48 | + reflection P (B.coordinatePath G t) = -B.coordinatePath G t := | |
| 49 | + B.coefficients.velocityPath_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 50 | + (forcingPath G) (G.path_reflection_neg hraw) t | |
| 51 | + | |
| 52 | +theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 53 | + reflection P (B.velocityPath G t) = -B.velocityPath G t := | |
| 54 | + B.coefficients.physicalVelocity_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 55 | + (forcingPath G) (G.path_reflection_neg hraw) t | |
| 56 | + | |
| 57 | +theorem field_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 58 | + B.field G t (-x,((-θ : ℝ) : AddCircle P)) = -B.field G t (x,(θ : AddCircle P)) := by | |
| 59 | + have he := representative_of_reflection P (B.velocityPath G t) (B.field G t) | |
| 60 | + (B.field_ae G t) (smoothField_continuous P _ (B.field_smooth G t)) (-1) | |
| 61 | + (by simpa only [neg_one_smul] using B.velocityPath_reflection_neg G hF hM hH hraw t) | |
| 62 | + (x,(θ : AddCircle P)) | |
| 63 | + simpa only [Prod.neg_mk,AddCircle.coe_neg,neg_one_smul] using he | |
| 64 | + | |
| 65 | +theorem normalResidual_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 66 | + B.normalResidual G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 67 | + -B.normalResidual G t (x,(θ : AddCircle P)) := by | |
| 68 | + have hf : forceField G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 69 | + -forceField G t (x,(θ : AddCircle P)) := by | |
| 70 | + change pointField P (forcingPath G) G.path_orbit t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 71 | + -pointField P (forcingPath G) G.path_orbit t (x,(θ : AddCircle P)) | |
| 72 | + rw [← G.raw_eq t (-x) (-θ),← G.raw_eq t x θ] | |
| 73 | + exact hraw t x θ | |
| 74 | + change (⟪D.normal.field t (-x),forceField G t (-x,((-θ : ℝ) : AddCircle P))⟫_ℝ- | |
| 75 | + 2*⟪D.normal.field t (-x),D.M.field t (-x) (B.field G t (-x,((-θ : ℝ) : AddCircle P)))⟫_ℝ)/ | |
| 76 | + ‖D.normal.field t (-x)‖^2 = _ | |
| 77 | + rw [D.normal_even hF,hM,hf,B.field_odd G hF hM hH hraw] | |
| 78 | + simp only [map_neg,inner_neg_right,normalResidual] | |
| 79 | + ring | |
| 80 | + | |
| 81 | +theorem pressureField_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 82 | + B.pressureField G t (-x,((-θ : ℝ) : AddCircle P)) = | |
| 83 | + B.pressureField G t (x,(θ : AddCircle P)) := | |
| 84 | + classicalPrimitive_joint_even P (B.normalResidual G t) (B.normalResidual_continuous G t) | |
| 85 | + (B.normalResidual_mean_zero G t) (B.normalResidual_odd G hF hM hH hraw t) x θ | |
| 86 | + | |
| 87 | +end EulerTransversePacketProvider.HistoryData | |
| 88 | +end | |
| 89 | + | |
| 90 | +end | |
| 91 | + | |
| 92 | +/-! ## From `Euler/TransversePacketJoinedCorrectorSupport.lean` | |
| 93 | + | |
| 94 | +The text of `Euler/TransversePacketJoinedCorrectorSupport.lean`, folded into this file, which was its only importer. -/ | |
| 95 | + | |
| 96 | +section | |
| 97 | + | |
| 98 | +/-! Support and zero angular mean of the literal joined corrector and its actual time derivative. -/ | |
| 99 | + | |
| 100 | +noncomputable section | |
| 101 | + | |
| 102 | +namespace EulerTransversePacketJoin | |
| 103 | + | |
| 104 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 105 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerCylinderLocalSupport | |
| 106 | + EulerCylinderAngleAverage EulerCylinderCorrectorMeanZero EulerPacketProfileRecursion | |
| 107 | + EulerTransversePacketProvider EulerElapsedTimePathGluing | |
| 108 | + | |
| 109 | +variable {P : ℝ} [Fact (0 < P)] | |
| 110 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 111 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 112 | + (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 113 | + | |
| 114 | +theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 115 | + potentialPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 116 | + EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 117 | + (velocityPath τ hτ hτT B G) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B G) t | |
| 118 | + | |
| 119 | +theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : | |
| 120 | + correctorPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 121 | + slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) | |
| 122 | + (potentialPath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed | |
| 123 | + (potentialPath_supported τ hτ hτT B G) t | |
| 124 | + | |
| 125 | +theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 126 | + corrector τ hτ hτT B G (t,(x,θ)) = 0 := | |
| 127 | + pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B G) | |
| 128 | + (correctorPath_orbit τ hτ hτT B G) D.support_compact.isClosed | |
| 129 | + (correctorPath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 130 | + | |
| 131 | +end EulerTransversePacketJoin | |
| 132 | +end | |
| 133 | + | |
| 134 | +end | |
| 135 | + | |
| 136 | +/-! ## From `Euler/TransversePacketJoinedParity.lean` | |
| 137 | + | |
| 138 | +The text of `Euler/TransversePacketJoinedParity.lean`, folded into this file, which was its only importer. -/ | |
| 139 | + | |
| 140 | +section | |
| 141 | + | |
| 142 | +/-! Joint parity of the complete constructed high inverse, pressure and actual corrector. -/ | |
| 143 | + | |
| 144 | +noncomputable section | |
| 145 | + | |
| 146 | +namespace EulerTransversePacketJoin | |
| 147 | + | |
| 148 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 149 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection | |
| 150 | + EulerPacketProfileRecursion EulerTransversePacketProvider EulerTimeIntervalRestriction | |
| 151 | + EulerElapsedTimePathGluing | |
| 152 | + | |
| 153 | +variable {P : ℝ} [Fact (0 < P)] | |
| 154 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 155 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 156 | + (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 157 | + (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 158 | + (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 159 | + (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 160 | + (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 161 | + (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 162 | + | |
| 163 | +include hF hM hH hraw | |
| 164 | + | |
| 165 | +theorem forwardInitial_reflection_neg : | |
| 166 | + reflection P ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) = | |
| 167 | + -((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) := | |
| 168 | + B.coordinatePath_reflection_neg (G.initial τ hτ hτT.le) | |
| 169 | + (fun t x => hF (initialInclusion D.T τ hτT.le t) x) | |
| 170 | + (fun t x => hM (initialInclusion D.T τ hτT.le t) x) hH | |
| 171 | + (fun t x θ => hraw (initialInclusion D.T τ hτT.le t) x θ) ⟨τ,hτ.le,le_rfl⟩ | |
| 172 | + | |
| 173 | +include hSym | |
| 174 | + | |
| 175 | +theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 176 | + reflection P (futureVelocity τ hτ hτT B G t) = -futureVelocity τ hτ hτT B G t := | |
| 177 | + (G.tail τ hτ.le hτT).velocityPath_reflection_neg (forwardInitial τ hτ hτT B G) hSym | |
| 178 | + (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 179 | + (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 180 | + (fun s x θ => hraw (tailInclusion D.T τ hτ.le s) x θ) | |
| 181 | + (forwardInitial_reflection_neg τ hτ hτT B G hF hM hH hraw) t | |
| 182 | + | |
| 183 | +theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 184 | + reflection P (velocityPath τ hτ hτT B G t) = -velocityPath τ hτ hτT B G t := by | |
| 185 | + apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) | |
| 186 | + {u | reflection P u = -u} _ _ t | |
| 187 | + · exact B.velocityPath_reflection_neg (G.initial τ hτ hτT.le) | |
| 188 | + (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 189 | + (fun s x => hM (initialInclusion D.T τ hτT.le s) x) hH | |
| 190 | + (fun s x θ => hraw (initialInclusion D.T τ hτT.le s) x θ) | |
| 191 | + · exact futureVelocity_reflection_neg τ hτ hτT B G hSym hF hM hH hraw | |
| 192 | + | |
| 193 | +theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 194 | + vector τ hτ hτT B G (t,(-x,-θ)) = -vector τ hτ hτT B G (t,(x,θ)) := | |
| 195 | + (vectorField τ hτ hτT B G).raw_odd_of_reflection_neg t | |
| 196 | + (velocityPath_reflection_neg τ hτ hτT B G hSym hF hM hH hraw t) x θ | |
| 197 | + | |
| 198 | +theorem scalar_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 199 | + scalar τ hτ hτT B G (t,(-x,-θ)) = scalar τ hτ hτT B G (t,(x,θ)) := by | |
| 200 | + by_cases ht : (t : ℝ) ≤ τ | |
| 201 | + · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 202 | + rw [scalar_left τ hτ hτT B G th (-x) (-θ),scalar_left τ hτ hτT B G th x θ] | |
| 203 | + exact B.pressureField_even (G.initial τ hτ hτT.le) | |
| 204 | + (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 205 | + (fun s x => hM (initialInclusion D.T τ hτT.le s) x) hH | |
| 206 | + (fun s x θ => hraw (initialInclusion D.T τ hτT.le s) x θ) th x θ | |
| 207 | + · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 208 | + let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 209 | + ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 210 | + rw [scalar_right τ hτ hτT B G tr (-x) (-θ),scalar_right τ hτ hτT B G tr x θ] | |
| 211 | + exact (G.tail τ hτ.le hτT).scalar_even (forwardInitial τ hτ hτT B G) hSym | |
| 212 | + (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 213 | + (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 214 | + (fun s x θ => hraw (tailInclusion D.T τ hτ.le s) x θ) | |
| 215 | + (forwardInitial_reflection_neg τ hτ hτT B G hF hM hH hraw) tf x θ | |
| 216 | + | |
| 217 | +theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 218 | + D.curlCorrector P (vector τ hτ hτT B G) (t,(-x,-θ)) = | |
| 219 | + -D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ)) := by | |
| 220 | + apply D.curlCorrector_odd P (vector τ hτ hτT B G) t | |
| 221 | + · simpa only [Data.clamp_coe] using D.inverse_even hF t | |
| 222 | + · exact (vectorField τ hτ hτT B G).raw_smooth t | |
| 223 | + · exact vector_periodic τ hτ hτT B G t | |
| 224 | + · exact vector_mean_zero τ hτ hτT B G t | |
| 225 | + · exact vector_odd τ hτ hτT B G hSym hF hM hH hraw t | |
| 226 | + | |
| 227 | +end EulerTransversePacketJoin | |
| 228 | +end | |
| 229 | + | |
| 230 | +end | |
| 231 | + | |
| 232 | +/-! ## From `Euler/TransversePacketJoinedEquation.lean` | |
| 233 | + | |
| 234 | +The text of `Euler/TransversePacketJoinedEquation.lean`, folded into this file, which was its only importer. -/ | |
| 235 | + | |
| 236 | +section | |
| 237 | + | |
| 238 | +/-! The complete constructed transverse path satisfies the literal packet equation on the whole closed interval. -/ | |
| 239 | + | |
| 240 | +noncomputable section | |
| 241 | + | |
| 242 | +namespace EulerTransversePacketJoin | |
| 243 | + | |
| 244 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 245 | + EulerCylinderSmoothOrbit EulerCylinderScalarPrimitive EulerPacketProfileRecursion | |
| 246 | + EulerTransversePacketProvider EulerPacketCylinderField EulerLpCylinderPaths | |
| 247 | + EulerPacketPointJets EulerMetricTransport EulerTimeIntervalRestriction | |
| 248 | +open scoped ContDiff | |
| 249 | + | |
| 250 | +variable {P : ℝ} [Fact (0 < P)] | |
| 251 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 252 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 253 | + (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 254 | + | |
| 255 | +theorem scalar_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar τ hτ hτT B G (t,y)) := | |
| 256 | + coverField_contDiff P _ (scalarPointField_smooth P (pressurePath τ hτ hτT B G) | |
| 257 | + (pressurePath_orbit τ hτ hτT B G) (D.clamp t)) | |
| 258 | + | |
| 259 | +/-- The complete actual high field and normalized pressure satisfy (11), | |
| 260 | +including at the history/forward junction. -/ | |
| 261 | +theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 262 | + vectorDerivative τ hτ hτT B G (t,(x,θ))+ | |
| 263 | + D.strain (t,(x,θ)) (vector τ hτ hτT B G (t,(x,θ)))+ | |
| 264 | + deriv (fun s => scalar τ hτ hτT B G (t,(x,s))) θ • D.normalField (t,(x,θ)) = raw (t,(x,θ)) := by | |
| 265 | + by_cases ht : (t : ℝ) ≤ τ | |
| 266 | + · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 267 | + have hs : (fun s => scalar τ hτ hτT B G (t,(x,s))) = | |
| 268 | + fun s : ℝ => B.pressureField (G.initial τ hτ hτT.le) th (x,(s : AddCircle P)) := | |
| 269 | + funext (fun s => scalar_left τ hτ hτT B G th x s) | |
| 270 | + have hM : D.strain (t,(x,θ)) = (D.initial τ hτ hτT.le).M.field th x := by | |
| 271 | + simp only [Data.strain,Data.clamp_coe] | |
| 272 | + rfl | |
| 273 | + have hm : D.normalField (t,(x,θ)) = (D.initial τ hτ hτT.le).normal.field th x := by | |
| 274 | + simp only [Data.normalField,Data.clamp_coe] | |
| 275 | + rfl | |
| 276 | + rw [vectorDerivative_left τ hτ hτT B G th x θ,vector_left τ hτ hτT B G th x θ,hs,hM,hm] | |
| 277 | + exact B.field_pressure_equation (G.initial τ hτ hτT.le) th x θ | |
| 278 | + · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 279 | + let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 280 | + ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 281 | + have heT : tailInclusion D.T τ hτ.le tf = t := by | |
| 282 | + apply Subtype.ext | |
| 283 | + change τ+((t : ℝ)-τ) = t | |
| 284 | + ring | |
| 285 | + have htf : (D.tail τ hτ.le hτT).clamp tf = tf := | |
| 286 | + (D.tail τ hτ.le hτT).clamp_coe tf | |
| 287 | + have hs : (fun s => scalar τ hτ hτT B G (t,(x,s))) = | |
| 288 | + fun s => (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) (tf,(x,s)) := | |
| 289 | + funext (fun s => scalar_right τ hτ hτT B G tr x s) | |
| 290 | + have hM : D.strain (t,(x,θ)) = (D.tail τ hτ.le hτT).strain (tf,(x,θ)) := by | |
| 291 | + simp only [Data.strain,Data.clamp_coe,htf] | |
| 292 | + change D.M.field t x = D.M.field (tailInclusion D.T τ hτ.le tf) x | |
| 293 | + rw [heT] | |
| 294 | + have hm : D.normalField (t,(x,θ)) = (D.tail τ hτ.le hτT).normalField (tf,(x,θ)) := by | |
| 295 | + simp only [Data.normalField,Data.clamp_coe,htf] | |
| 296 | + change D.normal.field t x = D.normal.field (tailInclusion D.T τ hτ.le tf) x | |
| 297 | + rw [heT] | |
| 298 | + have hr : shiftedRaw τ raw (tf,(x,θ)) = raw (t,(x,θ)) := by | |
| 299 | + change raw (τ+((t : ℝ)-τ),(x,θ)) = raw (t,(x,θ)) | |
| 300 | + rw [show τ+((t : ℝ)-τ) = t by ring] | |
| 301 | + rw [vectorDerivative_right τ hτ hτT B G tr x θ,vector_right τ hτ hτT B G tr x θ,hs,hM,hm,← hr] | |
| 302 | + exact (G.tail τ hτ.le hτT).equation (forwardInitial τ hτ hτT B G) tf x θ | |
| 303 | + | |
| 304 | +/-- The literal sliced-jet equation consumed by the packet grade recursion. -/ | |
| 305 | +theorem jet_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 306 | + linearPart (D.strain (t,(x,θ))) | |
| 307 | + (slicedJet (Icc (0 : ℝ) D.T) (vector τ hτ hτT B G) (t,(x,θ)))+ | |
| 308 | + fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar τ hτ hτT B G) (t,(x,θ))) = raw (t,(x,θ)) := by | |
| 309 | + change (slicedJet (Icc (0 : ℝ) D.T) (vector τ hτ hτT B G) (t,(x,θ))).2 timeDirection+ | |
| 310 | + D.strain (t,(x,θ)) (vector τ hτ hτT B G (t,(x,θ)))+_ = _ | |
| 311 | + rw [(vectorField τ hτ hτT B G).slicedJet_temporal D.T_pos (vectorDerivativeField τ hτ hτT B G) | |
| 312 | + (vectorField_time τ hτ hτT B G),fastPressure_pressureJet _ (scalar τ hτ hτT B G) t x θ | |
| 313 | + ((scalar_smooth τ hτ hτT B G t).differentiable (by simp) (x,θ))] | |
| 314 | + exact equation τ hτ hτT B G t x θ | |
| 315 | + | |
| 316 | +end EulerTransversePacketJoin | |
| 317 | +end | |
| 318 | + | |
| 319 | +end | |
| 320 | + | |
| 15 | 321 | noncomputable section |
| 16 | 322 | |
| 17 | 323 | namespace EulerTransversePacketProvider.Forcing |
+37 −1 Euler/TransversePacketJoinedSupport.lean View file
| @@ -1,8 +1,44 @@ | ||
| 1 | 1 | import Euler.TransversePacketJoinedField |
| 2 | -import Euler.TransversePacketRegularity | |
| 2 | +import Euler.TransversePacketProvider | |
| 3 | 3 | |
| 4 | 4 | /-! Actual support and angular normalization of the joined transverse provider. -/ |
| 5 | 5 | |
| 6 | +/-! ## From `Euler/TransversePacketRegularity.lean` | |
| 7 | + | |
| 8 | +The text of `Euler/TransversePacketRegularity.lean`, folded into this file, which was its only importer. -/ | |
| 9 | + | |
| 10 | +section | |
| 11 | + | |
| 12 | +/-! Joint continuity and actual spatial support of the concrete forward packet fields. -/ | |
| 13 | + | |
| 14 | +noncomputable section | |
| 15 | + | |
| 16 | +namespace EulerTransversePacketProvider | |
| 17 | + | |
| 18 | +open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 19 | + EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerSourceCylinderClassical | |
| 20 | + EulerPacketProfileRecursion EulerMetricTransport | |
| 21 | + | |
| 22 | +variable {P : ℝ} [Fact (0 < P)] | |
| 23 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | + | |
| 25 | +namespace Forcing | |
| 26 | + | |
| 27 | +variable {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 28 | + | |
| 29 | +omit [Fact (0 < P)] [CompleteSpace U] in | |
| 30 | +private theorem continuous_cover : | |
| 31 | + Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (z.1,(z.2.1,(z.2.2 : AddCircle P)))) := | |
| 32 | + continuous_fst.prodMk ((continuous_fst.comp continuous_snd).prodMk | |
| 33 | + ((AddCircle.continuous_mk' P).comp (continuous_snd.comp continuous_snd))) | |
| 34 | + | |
| 35 | +end Forcing | |
| 36 | + | |
| 37 | +end EulerTransversePacketProvider | |
| 38 | +end | |
| 39 | + | |
| 40 | +end | |
| 41 | + | |
| 6 | 42 | noncomputable section |
| 7 | 43 | |
| 8 | 44 | namespace EulerElapsedTimePathGluing |
+0 −174 Euler/TransversePacketJoinedUnitBounds.lean deleted
| @@ -1,174 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketBudget | |
| 2 | -import Euler.TransversePacketJoinedPaths | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# Unit-amplitude bounds for the complete actual transverse inverse | |
| 6 | - | |
| 7 | -One source-only budget controls the history trace, forward solve and their | |
| 8 | -joined physical velocity and genuine time derivative. The input and output | |
| 9 | -use the same fixed mixed-word Sobolev order and the same external radius. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerTransversePacketJoin.Budget | |
| 15 | - | |
| 16 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider | |
| 17 | - EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev | |
| 18 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction | |
| 19 | - EulerElapsedTimePathGluing EulerPacketProfileRecursion | |
| 20 | -open scoped ContDiff BoundedContinuousFunction | |
| 21 | - | |
| 22 | -variable {P : ℝ} [Fact (0 < P)] | |
| 23 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 25 | - {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 26 | - (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) | |
| 27 | - (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 28 | - (d : ℕ) | |
| 29 | - (hforce : ∀ n, block directions q (fun a => pathTranslate P a | |
| 30 | - (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ majorant L.R d n) | |
| 31 | - | |
| 32 | -include hforce | |
| 33 | - | |
| 34 | -theorem history_forcing_bound (n : ℕ) : | |
| 35 | - block directions q (fun a => pathTranslate P a | |
| 36 | - (HistoryData.forcingPath (G.initial τ hτ hτT.le))) n 0 ≤ majorant L.R d n := by | |
| 37 | - have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp | |
| 38 | - (initialInclusion D.T τ hτT.le) = HistoryData.forcingPath (G.initial τ hτ hτT.le) := | |
| 39 | - normalize_initial D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) | |
| 40 | - have hb := timeComp_block_le P directions q | |
| 41 | - (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) | |
| 42 | - (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) | |
| 43 | - (initialInclusion D.T τ hτT.le) n 0 | |
| 44 | - rw [he] at hb | |
| 45 | - exact hb.trans (hforce n) | |
| 46 | - | |
| 47 | -theorem forward_forcing_bound (n : ℕ) : | |
| 48 | - block directions q (fun a => pathTranslate P a | |
| 49 | - (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) n 0 ≤ majorant L.R d n := by | |
| 50 | - have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp | |
| 51 | - (tailInclusion D.T τ hτ.le) = | |
| 52 | - normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)) := | |
| 53 | - normalize_tail D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) | |
| 54 | - have hb := timeComp_block_le P directions q | |
| 55 | - (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) | |
| 56 | - (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) | |
| 57 | - (tailInclusion D.T τ hτ.le) n 0 | |
| 58 | - rw [he] at hb | |
| 59 | - exact hb.trans (hforce n) | |
| 60 | - | |
| 61 | -include hdir | |
| 62 | - | |
| 63 | -/-- This is the actual datum passed to the forward solution, not a new hypothesis. -/ | |
| 64 | -theorem terminal_bound (n : ℕ) : | |
| 65 | - block directions q (fun a => translate P a | |
| 66 | - ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U)) n 0 ≤ | |
| 67 | - traceCost τ*majorant L.R (d+2) n := by | |
| 68 | - exact B.source_terminal_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 69 | - L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 70 | - (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 71 | - (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 72 | - L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 73 | - (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n | |
| 74 | - | |
| 75 | -theorem past_velocity_bound (n : ℕ) : | |
| 76 | - block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) n 0 ≤ | |
| 77 | - (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ)*majorant L.R (d+2) n := by | |
| 78 | - exact B.source_velocity_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 79 | - L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 80 | - (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 81 | - (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 82 | - L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 83 | - (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n | |
| 84 | - | |
| 85 | -theorem past_derivative_bound (n : ℕ) : | |
| 86 | - block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) n 0 ≤ | |
| 87 | - (3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*traceCost τ+ | |
| 88 | - 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 89 | - exact B.source_derivative_bound (G.initial τ hτ hτT.le) directions hdir q | |
| 90 | - L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one | |
| 91 | - (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 92 | - (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) | |
| 93 | - L.hessian_bound L.history_weak L.history_strong L.history_length d | |
| 94 | - (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) | |
| 95 | - L.history_uniform n | |
| 96 | - | |
| 97 | -theorem future_velocity_bound (n : ℕ) : | |
| 98 | - block directions q (fun a => pathTranslate P a | |
| 99 | - (normalize L.g L.positive (futureVelocity τ hτ hτT B G))) n 0 ≤ | |
| 100 | - (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 101 | - have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 102 | - (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ | |
| 103 | - 1*majorant L.R (d+2) j := by | |
| 104 | - simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans | |
| 105 | - (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) | |
| 106 | - dsimp only [futureVelocity] | |
| 107 | - rw [show d+3=d+2+1 by omega] | |
| 108 | - exact | |
| 109 | - (G.tail τ hτ.le hτT).source_velocity_normalized_bound (forwardInitial τ hτ hτT B G) | |
| 110 | - L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 111 | - L.support_subset L.neighborhood_halfball L.initial_one | |
| 112 | - L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 113 | - L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 114 | - L.forward_inverse | |
| 115 | - (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 116 | - (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 117 | - L.forcing_radius L.forward_radius L.propagator (d+2) hf | |
| 118 | - (L.terminal_bound G directions hdir d hforce) L.radius_bounds.2 n | |
| 119 | - | |
| 120 | -theorem future_derivative_bound (n : ℕ) : | |
| 121 | - block directions q (fun a => pathTranslate P a | |
| 122 | - (normalize L.g L.positive (futureDerivative τ hτ hτT B G))) n 0 ≤ | |
| 123 | - EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 1 1*majorant L.R (d+3) n := by | |
| 124 | - have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 125 | - (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ | |
| 126 | - 1*majorant L.R (d+2) j := by | |
| 127 | - simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans | |
| 128 | - (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) | |
| 129 | - dsimp only [futureDerivative] | |
| 130 | - rw [show d+3=d+2+1 by omega] | |
| 131 | - exact | |
| 132 | - (G.tail τ hτ.le hτT).source_derivative_normalized_bound (forwardInitial τ hτ hτT B G) | |
| 133 | - L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 134 | - L.support_subset L.neighborhood_halfball L.initial_one | |
| 135 | - L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 136 | - L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 137 | - L.forward_inverse | |
| 138 | - (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 139 | - (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 140 | - L.forcing_radius L.forward_radius L.propagator (d+2) hf | |
| 141 | - (L.terminal_bound G directions hdir d hforce) L.radius_bounds.1 n | |
| 142 | - | |
| 143 | -/-- The entire constructed A/g, with the input's original external radius. -/ | |
| 144 | -theorem velocity_unit_bound (n : ℕ) : | |
| 145 | - block directions q (fun a => pathTranslate P a | |
| 146 | - (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ | |
| 147 | - L.velocityCost*majorant L.R (d+3) n := by | |
| 148 | - have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 149 | - (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) (velocity_match τ hτ hτT B G) | |
| 150 | - (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n 0 | |
| 151 | - have ha : 0 ≤ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ := | |
| 152 | - mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ | |
| 153 | - L.Rc_nonneg L.C₀_nonneg)) (traceCost_nonneg τ hτ.le) | |
| 154 | - have hp := (L.past_velocity_bound G directions hdir d hforce n).trans | |
| 155 | - (mul_le_mul_of_nonneg_left | |
| 156 | - (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) ha) | |
| 157 | - exact hb.trans (by | |
| 158 | - simpa only [velocityCost,add_mul] using | |
| 159 | - add_le_add hp (L.future_velocity_bound G directions hdir d hforce n)) | |
| 160 | - | |
| 161 | -/-- The entire actual A_t/g. The profile itself is never differentiated. -/ | |
| 162 | -theorem derivative_unit_bound (n : ℕ) : | |
| 163 | - block directions q (fun a => pathTranslate P a | |
| 164 | - (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ | |
| 165 | - L.derivativeCost*majorant L.R (d+3) n := by | |
| 166 | - have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 167 | - (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) (derivative_match τ hτ hτT B G) | |
| 168 | - (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n 0 | |
| 169 | - exact hb.trans (by | |
| 170 | - simpa only [derivativeCost,add_mul] using | |
| 171 | - add_le_add (L.past_derivative_bound G directions hdir d hforce n) | |
| 172 | - (L.future_derivative_bound G directions hdir d hforce n)) | |
| 173 | - | |
| 174 | -end EulerTransversePacketJoin.Budget | |
+0 −98 Euler/TransversePacketMatching.lean deleted
| @@ -1,98 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketLocalHistory | |
| 2 | -import Euler.TransversePacketHistoryPressure | |
| 3 | -import Euler.TransversePacketProvider | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# The history trace matches the actual forward transverse solve | |
| 7 | - | |
| 8 | -The forward datum is the constructed history coordinate velocity. Both | |
| 9 | -physical velocities therefore agree at the source time τ, with the same | |
| 10 | -deformation frame on the two intervals. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerTransversePacketJoin | |
| 16 | - | |
| 17 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTimeIntervalRestriction | |
| 18 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 19 | - EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerCylinderAngleAverage | |
| 20 | - EulerTransversePacketProvider | |
| 21 | -open scoped ContDiff BoundedContinuousFunction | |
| 22 | - | |
| 23 | -variable {P : ℝ} [Fact (0 < P)] | |
| 24 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 25 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 26 | - (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 27 | - | |
| 28 | -def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 29 | - B.velocityPath (G.initial τ hτ hτT.le) | |
| 30 | - | |
| 31 | -def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 32 | - includePath P D.support D.support_measurable | |
| 33 | - ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G)) | |
| 34 | - | |
| 35 | -def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 36 | - B.derivativePath (G.initial τ hτ hτT.le) | |
| 37 | - | |
| 38 | -def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 39 | - includePath P D.support D.support_measurable | |
| 40 | - ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G)) | |
| 41 | - | |
| 42 | -def pastPressure : C(Icc (0 : ℝ) τ,CylinderL2 P ℝ) := | |
| 43 | - B.pressurePath (G.initial τ hτ hτT.le) | |
| 44 | - | |
| 45 | -def futurePressure : C(Icc (0 : ℝ) (D.T-τ),CylinderL2 P ℝ) := | |
| 46 | - (G.tail τ hτ.le hτT).pressurePath (forwardInitial τ hτ hτT B G) | |
| 47 | - | |
| 48 | -theorem pastVelocity_orbit : | |
| 49 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) := | |
| 50 | - B.velocityPath_orbit (G.initial τ hτ hτT.le) | |
| 51 | - | |
| 52 | -theorem futureVelocity_orbit : | |
| 53 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B G)) := | |
| 54 | - (G.tail τ hτ.le hτT).velocityPath_orbit (forwardInitial τ hτ hτT B G) | |
| 55 | - | |
| 56 | -theorem pastDerivative_orbit : | |
| 57 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) := | |
| 58 | - B.derivativePath_orbit (G.initial τ hτ hτT.le) | |
| 59 | - | |
| 60 | -theorem futureDerivative_orbit : | |
| 61 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B G)) := | |
| 62 | - (G.tail τ hτ.le hτT).derivativePath_orbit (forwardInitial τ hτ hτT B G) | |
| 63 | - | |
| 64 | -theorem pastPressure_orbit : | |
| 65 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (pastPressure τ hτ hτT B G)) := | |
| 66 | - B.pressurePath_orbit (G.initial τ hτ hτT.le) | |
| 67 | - | |
| 68 | -theorem futurePressure_orbit : | |
| 69 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (futurePressure τ hτ hτT B G)) := | |
| 70 | - (G.tail τ hτ.le hτT).pressurePath_orbit (forwardInitial τ hτ hτT B G) | |
| 71 | - | |
| 72 | -/-- The actual forward velocity starts from the actual history velocity. -/ | |
| 73 | -theorem velocity_match : pastVelocity τ hτ hτT B G ⟨τ,hτ.le,le_rfl⟩ = | |
| 74 | - futureVelocity τ hτ hτT B G ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 75 | - let th : Icc (0 : ℝ) (D.initial τ hτ hτT.le).T := ⟨τ,hτ.le,le_rfl⟩ | |
| 76 | - let tf : Icc (0 : ℝ) (D.tail τ hτ.le hτT).T := ⟨0,le_rfl,(D.tail τ hτ.le hτT).T_pos.le⟩ | |
| 77 | - have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by | |
| 78 | - apply BoundedContinuousFunction.ext | |
| 79 | - intro x | |
| 80 | - apply ContinuousLinearMap.ext | |
| 81 | - intro v | |
| 82 | - change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = | |
| 83 | - D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) | |
| 84 | - simp only [add_zero] | |
| 85 | - change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) | |
| 86 | - (B.coordinatePath (G.initial τ hτ hτT.le) th) = | |
| 87 | - fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) | |
| 88 | - ((EulerSourceCylinderEquation.coordinates P D.support D.support_measurable | |
| 89 | - (D.tail τ hτ.le hτT).T (D.tail τ hτ.le hτT).T_pos.le (D.tail τ hτ.le hτT).frame | |
| 90 | - (D.tail τ hτ.le hτT).frameDerivative (D.tail τ hτ.le hτT).frameLower | |
| 91 | - (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower | |
| 92 | - (G.tail τ hτ.le hτT).path (forwardInitial τ hτ hτT B G).value tf : | |
| 93 | - Supported P U D.support D.support_measurable) : CylinderL2 P U) | |
| 94 | - dsimp only [tf] | |
| 95 | - erw [EulerSourceCylinderEquation.coordinates_initial,hQ] | |
| 96 | - rfl | |
| 97 | - | |
| 98 | -end EulerTransversePacketJoin | |
+124 −1 Euler/TransversePacketNormalBudget.lean View file
| @@ -1,8 +1,131 @@ | ||
| 1 | 1 | import Euler.TransversePacketBudget |
| 2 | -import Euler.TransversePacketCoefficientBounds | |
| 2 | +import Euler.TransversePacketCorrector | |
| 3 | +import Euler.MeanCoefficientPathJets | |
| 3 | 4 | |
| 4 | 5 | /-! Source-only coefficient budgets for the joined pressure, potential and corrector. -/ |
| 5 | 6 | |
| 7 | +/-! ## From `Euler/TransversePacketCoefficientBounds.lean` | |
| 8 | + | |
| 9 | +The text of `Euler/TransversePacketCoefficientBounds.lean`, folded into this file, which was its only importer. -/ | |
| 10 | + | |
| 11 | +section | |
| 12 | + | |
| 13 | +/-! Explicit polynomial coefficient budgets for the actual transverse potential and slow curl. -/ | |
| 14 | + | |
| 15 | +noncomputable section | |
| 16 | + | |
| 17 | +namespace EulerTransversePacketProvider.Data | |
| 18 | + | |
| 19 | +open Set EulerSmoothLimit EulerMeanCoefficients EulerGevrey EulerOperatorGevreyCalculus | |
| 20 | + EulerSourceNormalCoefficient EulerSourcePotentialCoefficient EulerTransverseBoundedFrame | |
| 21 | + EulerTimeLpGramGevrey | |
| 22 | +open scoped ContDiff BoundedContinuousFunction | |
| 23 | + | |
| 24 | +def correctorCoefficientRadius (R Ri : ℝ) : ℝ := R+4*Ri+1 | |
| 25 | + | |
| 26 | +def correctorCoefficientAmplitude (C Ri : ℝ) : ℝ := | |
| 27 | + 1+C+3*C^2+3*Ri*C+27*(3*Ri*C)^2*(3*C^2) | |
| 28 | + | |
| 29 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 30 | + | |
| 31 | +private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance | |
| 32 | +private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance | |
| 33 | +private local instance : NormedAddCommGroup PotentialField := inferInstance | |
| 34 | +private local instance : NormedSpace ℝ PotentialField := inferInstance | |
| 35 | +private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance | |
| 36 | +private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance | |
| 37 | +private local instance : NormedAddCommGroup (Space →L[ℝ] ℝ) := inferInstance | |
| 38 | +private local instance : NormedSpace ℝ (Space →L[ℝ] ℝ) := inferInstance | |
| 39 | +private local instance : NormedAddCommGroup NormalField := inferInstance | |
| 40 | +private local instance : NormedSpace ℝ NormalField := inferInstance | |
| 41 | +private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,NormalField) := inferInstance | |
| 42 | +private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,NormalField) := inferInstance | |
| 43 | +private local instance : NormedAddCommGroup (Space →ᵇ Space) := inferInstance | |
| 44 | +private local instance : NormedSpace ℝ (Space →ᵇ Space) := inferInstance | |
| 45 | +private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance | |
| 46 | +private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance | |
| 47 | + | |
| 48 | +/-- All four coefficients used in C and C_t follow from the original F⁻¹ and M bounds. -/ | |
| 49 | +theorem corrector_coefficient_bounds (R C Ri : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hRi : 0 ≤ Ri) | |
| 50 | + (hInv : 2*gramCost D.normalLower C 1*(R+1) ≤ Ri) | |
| 51 | + (hI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 52 | + C*majorant R 0 n) | |
| 53 | + (hM : ∀ n t x, ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 54 | + C*majorant R 0 n) : | |
| 55 | + 0 ≤ correctorCoefficientRadius R Ri ∧ 0 ≤ correctorCoefficientAmplitude C Ri ∧ | |
| 56 | + ∀ n a, | |
| 57 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ | |
| 58 | + correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 59 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ | |
| 60 | + correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 61 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 62 | + correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ | |
| 63 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 64 | + correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n := by | |
| 65 | + let Rc := correctorCoefficientRadius R Ri | |
| 66 | + let Cc := correctorCoefficientAmplitude C Ri | |
| 67 | + have hRc : 0 ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; positivity | |
| 68 | + have hRR : R ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith | |
| 69 | + have hIR : 4*Ri ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith | |
| 70 | + have hN : 0 ≤ 3*Ri*C := by positivity | |
| 71 | + have hD : 0 ≤ 3*C^2 := by positivity | |
| 72 | + have hDt : 0 ≤ 27*(3*Ri*C)^2*(3*C^2) := by positivity | |
| 73 | + have hCc : 0 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; positivity | |
| 74 | + have hC0 : C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 75 | + have hC1 : 3*C^2 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 76 | + have hCN : 3*Ri*C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith | |
| 77 | + have hCT : 27*(3*Ri*C)^2*(3*C^2) ≤ Cc := by | |
| 78 | + dsimp [Cc,correctorCoefficientAmplitude] | |
| 79 | + linarith | |
| 80 | + have hIb (n : ℕ) (a : Space) : | |
| 81 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n := | |
| 82 | + (D.FInv.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) | |
| 83 | + (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hI n) a).trans | |
| 84 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) | |
| 85 | + have hMb (n : ℕ) (a : Space) : | |
| 86 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.M.field) a‖ ≤ C*majorant Rc 0 n := | |
| 87 | + (D.M.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) | |
| 88 | + (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hM n) a).trans | |
| 89 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) | |
| 90 | + have hnormal (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 91 | + ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ C*majorant R 0 n := | |
| 92 | + normalCoefficient_derivative_bound D.m₀ D.FInv D.m₀_unit n (C*majorant R 0 n) (hI n) t x | |
| 93 | + have hNb (n : ℕ) (a : Space) : | |
| 94 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath | |
| 95 | + (normalFunctional D.normal D.normalLower D.normalLower_pos D.normal_lower)) a‖ ≤ | |
| 96 | + (3*Ri*C)*majorant Rc 0 n := | |
| 97 | + (normalFunctional_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 98 | + R C Ri hR hC hInv hnormal n a).trans | |
| 99 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) | |
| 100 | + have hKb (n : ℕ) (a : Space) : | |
| 101 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ | |
| 102 | + (3*Ri*C)*majorant Rc 0 n := | |
| 103 | + (potentialCoefficient_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 104 | + R C Ri hR hC hInv hnormal n a).trans | |
| 105 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) | |
| 106 | + have hIt (n : ℕ) (a : Space) : | |
| 107 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by | |
| 108 | + simpa only [pow_two, mul_assoc] using D.inverseDerivative_bound Rc C C hRc hC hC hIb hMb n a | |
| 109 | + have hmt (n : ℕ) (a : Space) : | |
| 110 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.normalDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by | |
| 111 | + simpa only [pow_two, mul_assoc] using D.normalDerivative_bound Rc C C hRc hC hC hIb hMb n a | |
| 112 | + have hKt (n : ℕ) (a : Space) : | |
| 113 | + ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ | |
| 114 | + (27*(3*Ri*C)^2*(3*C^2))*majorant Rc 0 n := | |
| 115 | + potentialTimePath_bound D.normal D.normalDerivative D.normalLower D.normalLower_pos D.normal_lower | |
| 116 | + D.normalDerivative_orbit Rc (3*Ri*C) (3*C^2) hRc hN hD hNb hmt n a | |
| 117 | + refine ⟨hRc,hCc,fun n a => ?_⟩ | |
| 118 | + have hmj := majorant_nonneg Rc hRc 0 n | |
| 119 | + exact ⟨(hIb n a).trans (mul_le_mul_of_nonneg_right hC0 hmj), | |
| 120 | + (hIt n a).trans (mul_le_mul_of_nonneg_right hC1 hmj), | |
| 121 | + (hKb n a).trans (mul_le_mul_of_nonneg_right hCN hmj), | |
| 122 | + (hKt n a).trans (mul_le_mul_of_nonneg_right hCT hmj)⟩ | |
| 123 | + | |
| 124 | +end EulerTransversePacketProvider.Data | |
| 125 | +end | |
| 126 | + | |
| 127 | +end | |
| 128 | + | |
| 6 | 129 | noncomputable section |
| 7 | 130 | |
| 8 | 131 | namespace EulerTransversePacketJoin |
+0 −105 Euler/TransversePacketPairAmplitude.lean deleted
| @@ -1,105 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketAmplitude | |
| 2 | -import Euler.TransversePacketPrimaryHomogeneity | |
| 3 | - | |
| 4 | -/-! Homogeneity restores a common arbitrary envelope for genuine forcing | |
| 5 | -and initial data, without adding either envelope to the radius guards. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketProvider | |
| 10 | - | |
| 11 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 12 | - EulerLpCylinderPaths EulerPacketProfileRecursion EulerContinuousTimeWeight | |
| 13 | - EulerParameterWordGevrey EulerGevrey | |
| 14 | -open scoped ContDiff | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 18 | - {D : Data U} {ι : Type*} [Fintype ι] | |
| 19 | - | |
| 20 | -theorem pair_amplitude_bound | |
| 21 | - (S : ∀ {r : VectorField}, Forcing P D r → InitialData P D → C(Icc (0 : ℝ) D.T,LiftL2 P)) | |
| 22 | - (hs : ∀ {r} (G : Forcing P D r) (I : InitialData P D), | |
| 23 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (S G I))) | |
| 24 | - (hm : ∀ {r r'} (G : Forcing P D r) (H : Forcing P D r') (I J : InitialData P D) (a : ℝ), | |
| 25 | - H.path = a • G.path → J.value = a • I.value → S H J = a • S G I) | |
| 26 | - (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 27 | - (directions : ι → LiftTangent) (q : ℕ) (R C : ℝ) (d e : ℕ) | |
| 28 | - (hunit : ∀ {r} (G : Forcing P D r) (I : InitialData P D), | |
| 29 | - (∀ n, block directions q (fun a => pathTranslate P a | |
| 30 | - (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ majorant R d n) → | |
| 31 | - (∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ majorant R d n) → | |
| 32 | - ∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ C*majorant R e n) | |
| 33 | - {r : VectorField} (G : Forcing P D r) (I : InitialData P D) (A : ℝ) (hA : 0 ≤ A) | |
| 34 | - (hb : ∀ n, block directions q (fun a => pathTranslate P a | |
| 35 | - (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ A*majorant R d n) | |
| 36 | - (hi : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant R d n) | |
| 37 | - (n : ℕ) : | |
| 38 | - block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ | |
| 39 | - (C*A)*majorant R e n := by | |
| 40 | - by_cases hz : A = 0 | |
| 41 | - · have hf := value_zero_of_block_zero_bound directions q | |
| 42 | - (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) 0 | |
| 43 | - (by simpa only [hz,zero_mul] using hb 0) | |
| 44 | - have ht : pathTranslate P 0 (normalize g hg (HistoryData.forcingPath G)) = | |
| 45 | - normalize g hg (HistoryData.forcingPath G) := by | |
| 46 | - apply ContinuousMap.ext | |
| 47 | - intro t | |
| 48 | - exact translate_zero P _ | |
| 49 | - rw [ht] at hf | |
| 50 | - have hfull : HistoryData.forcingPath G = 0 := by | |
| 51 | - have he := congrArg (weight g) hf | |
| 52 | - rw [weight_normalize,map_zero] at he | |
| 53 | - exact he | |
| 54 | - have hp : G.path = 0 := by | |
| 55 | - have he := congrArg (projectPath P D.support D.support_measurable) hfull | |
| 56 | - rw [project_include,map_zero] at he | |
| 57 | - exact he | |
| 58 | - have hinitial := value_zero_of_block_zero_bound directions q | |
| 59 | - (fun a => translate P a (I.value : CylinderL2 P U)) 0 | |
| 60 | - (by simpa only [hz,zero_mul] using hi 0) | |
| 61 | - rw [translate_zero] at hinitial | |
| 62 | - have hv : I.value = 0 := Subtype.ext hinitial | |
| 63 | - have hS : S G I = 0 := by | |
| 64 | - have he := hm G G I I 0 (hp.trans (zero_smul ℝ G.path).symm) | |
| 65 | - (hv.trans (zero_smul ℝ I.value).symm) | |
| 66 | - simpa only [zero_smul] using he | |
| 67 | - simp only [hS,map_zero,block_zero_function,hz,mul_zero,zero_mul,le_refl] | |
| 68 | - · have hApos : 0 < A := lt_of_le_of_ne hA (Ne.symm hz) | |
| 69 | - let H := G.smul A⁻¹ | |
| 70 | - let J := I.smul A⁻¹ | |
| 71 | - have hinput : HistoryData.forcingPath H = A⁻¹ • HistoryData.forcingPath G := by | |
| 72 | - change includePath P D.support D.support_measurable (A⁻¹ • G.path) = _ | |
| 73 | - rw [map_smul] | |
| 74 | - have hH (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 75 | - (normalize g hg (HistoryData.forcingPath H))) j 0 ≤ majorant R d j := by | |
| 76 | - have he : (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath H))) = | |
| 77 | - fun a => A⁻¹ • pathTranslate P a (normalize g hg (HistoryData.forcingPath G)) := by | |
| 78 | - funext a | |
| 79 | - rw [hinput,map_smul,map_smul] | |
| 80 | - rw [he] | |
| 81 | - simpa only [one_mul] using block_normalize_bound directions q | |
| 82 | - (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) | |
| 83 | - (normalize_orbit_contDiff P g hg _ G.path_orbit) A hApos R 1 d j 0 | |
| 84 | - (by simpa only [one_mul] using hb j) | |
| 85 | - have hJ (j : ℕ) : block directions q | |
| 86 | - (fun a => translate P a (J.value : CylinderL2 P U)) j 0 ≤ majorant R d j := by | |
| 87 | - have he : (fun a => translate P a (J.value : CylinderL2 P U)) = | |
| 88 | - fun a => A⁻¹ • translate P a (I.value : CylinderL2 P U) := by | |
| 89 | - funext a | |
| 90 | - change translate P a (A⁻¹ • (I.value : CylinderL2 P U)) = _ | |
| 91 | - rw [map_smul] | |
| 92 | - rw [he] | |
| 93 | - simpa only [one_mul] using block_normalize_bound directions q | |
| 94 | - (fun a => translate P a (I.value : CylinderL2 P U)) I.orbit A hApos R 1 d j 0 | |
| 95 | - (by simpa only [one_mul] using hi j) | |
| 96 | - have hrestore : S G I = A • S H J := by | |
| 97 | - rw [hm G H I J A⁻¹ rfl rfl,smul_smul,mul_inv_cancel₀ hz,one_smul] | |
| 98 | - exact (block_restore_bound directions q | |
| 99 | - (fun a => pathTranslate P a (normalize g hg (S H J))) | |
| 100 | - (fun a => pathTranslate P a (normalize g hg (S G I))) | |
| 101 | - (normalize_orbit_contDiff P g hg (S H J) (hs H J)) A hA | |
| 102 | - (fun a => by rw [hrestore,map_smul,map_smul]) R C e n 0 | |
| 103 | - (hunit H J hH hJ n)).trans_eq (by ring) | |
| 104 | - | |
| 105 | -end EulerTransversePacketProvider | |
+0 −39 Euler/TransversePacketPressureGradientBounds.lean deleted
| @@ -1,39 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketPressureGradient | |
| 2 | -import Euler.PacketCylinderScalarGradientWeight | |
| 3 | -import Euler.SourceCylinderPressureWeight | |
| 4 | - | |
| 5 | -/-! Bounds for the actual high-pressure gradient from the normalized forcing and solved velocity. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketProvider.Forcing | |
| 10 | - | |
| 11 | -open Set EulerSmoothLimit EulerLiftedGradientSpace EulerPacketProfileRecursion | |
| 12 | - EulerPacketCylinderField EulerLpCylinderPaths EulerLpCylinderTranslation | |
| 13 | - EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 14 | - EulerSourceNormalResidualBounds EulerCylinderPotential EulerTimeLpGramGevrey | |
| 15 | - | |
| 16 | -variable {P : ℝ} [Fact (0 < P)] | |
| 17 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 19 | - | |
| 20 | -theorem pressurePath_normalized_eq_source (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) : | |
| 21 | - normalize g hg (G.pressurePath I) = | |
| 22 | - sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 23 | - (normalize g hg (includePath P D.support D.support_measurable G.path)) | |
| 24 | - (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I))) := | |
| 25 | - (sourcePressure_weight P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 26 | - (reciprocal g hg) (includePath P D.support D.support_measurable G.path) | |
| 27 | - (includePath P D.support D.support_measurable (G.velocityPath I))).symm | |
| 28 | - | |
| 29 | -theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 30 | - (q : ℕ) (R A : ℝ) (d : ℕ) | |
| 31 | - (hb : ∀ n, block standardDirection q | |
| 32 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.pressurePath I))) n 0 ≤ | |
| 33 | - A*majorant R d n) (n : ℕ) : | |
| 34 | - block standardDirection q | |
| 35 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ | |
| 36 | - (3*A)*majorant R (d+1) n := | |
| 37 | - scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n | |
| 38 | - | |
| 39 | -end EulerTransversePacketProvider.Forcing | |
+0 −50 Euler/TransversePacketPrimaryBounds.lean deleted
| @@ -1,50 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryUnitBounds | |
| 2 | -import Euler.PacketInitialAmplitude | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -The actual primary A/g and A_t/g retain one fixed mixed Sobolev radius. | |
| 6 | -The constants and guards depend only on source coefficients, the history | |
| 7 | -length and the genuine propagator bound. Arbitrary terminal amplitude is | |
| 8 | -restored by the proved exact homogeneity of the constructed solution. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | -namespace EulerTransversePacketPrimary.Budget | |
| 14 | - | |
| 15 | -open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 16 | - EulerTransversePacketProvider EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 17 | -open scoped ContDiff | |
| 18 | - | |
| 19 | -variable {P : ℝ} [Fact (0 < P)] | |
| 20 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 21 | - {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 22 | - {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 23 | - {L : EulerTransversePacketJoin.Budget D τ hτ hτT B ι q} | |
| 24 | - (H : Budget L) (Y : InitialData P D) | |
| 25 | - (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 26 | - (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 27 | - (hYb : ∀ n, block directions q (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ | |
| 28 | - A*majorant L.R d n) | |
| 29 | - | |
| 30 | -include hdir hA hYb | |
| 31 | - | |
| 32 | -theorem velocity_bound (n : ℕ) : | |
| 33 | - block directions q (fun a => pathTranslate P a | |
| 34 | - (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B Y))) n 0 ≤ | |
| 35 | - (H.velocityCost*A)*majorant L.R (d+3) n := | |
| 36 | - initial_amplitude_bound (fun Z => velocityPath τ hτ hτT B Z) | |
| 37 | - (velocityPath_orbit τ hτ hτT B) (velocityPath_eq_smul τ hτ hτT B) | |
| 38 | - L.fullProfile L.fullProfile_pos directions q L.R H.velocityCost d (d+3) | |
| 39 | - (fun Z hb => H.velocity_unit_bound Z directions hdir d hb) Y A hA hYb n | |
| 40 | - | |
| 41 | -theorem derivative_bound (n : ℕ) : | |
| 42 | - block directions q (fun a => pathTranslate P a | |
| 43 | - (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B Y))) n 0 ≤ | |
| 44 | - (H.derivativeCost*A)*majorant L.R (d+3) n := | |
| 45 | - initial_amplitude_bound (fun Z => derivativePath τ hτ hτT B Z) | |
| 46 | - (derivativePath_orbit τ hτ hτT B) (derivativePath_eq_smul τ hτ hτT B) | |
| 47 | - L.fullProfile L.fullProfile_pos directions q L.R H.derivativeCost d (d+3) | |
| 48 | - (fun Z hb => H.derivative_unit_bound Z directions hdir d hb) Y A hA hYb n | |
| 49 | - | |
| 50 | -end EulerTransversePacketPrimary.Budget | |
+0 −90 Euler/TransversePacketPrimaryEquation.lean deleted
| @@ -1,90 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryPaths | |
| 2 | - | |
| 3 | -/-! | |
| 4 | -The actual joined primary solves the homogeneous transverse equation. | |
| 5 | -The physical normal field is pointwise; it is never treated as one L² | |
| 6 | -vector. All equations below are for genuine cylinder representatives. | |
| 7 | --/ | |
| 8 | - | |
| 9 | -noncomputable section | |
| 10 | - | |
| 11 | -namespace EulerTransversePacketPrimary | |
| 12 | - | |
| 13 | -open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit | |
| 14 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 15 | - EulerTransversePacketProvider EulerTimeIntervalRestriction | |
| 16 | - | |
| 17 | -variable {P : ℝ} [Fact (0 < P)] | |
| 18 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 19 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 20 | - (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 21 | - | |
| 22 | -theorem balance_ae (t : Icc (0 : ℝ) D.T) : | |
| 23 | - ∀ᵐ x ∂liftMeasure P, | |
| 24 | - derivativePath τ hτ hτT B Y t x+D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)+ | |
| 25 | - (-(2*⟪D.normal.field t x.1,D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 26 | - ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = 0 := by | |
| 27 | - by_cases ht : (t : ℝ) ≤ τ | |
| 28 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 29 | - have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := | |
| 30 | - velocityPath_left τ hτ hτT B Y th | |
| 31 | - have hd : derivativePath τ hτ hτT B Y t = pastDerivative τ hτ hτT B Y th := | |
| 32 | - derivativePath_left τ hτ hτT B Y th | |
| 33 | - rw [hv,hd] | |
| 34 | - exact past_balance_ae τ hτ hτT B Y th | |
| 35 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 36 | - let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 37 | - ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 38 | - have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := | |
| 39 | - velocityPath_right τ hτ hτT B Y tr | |
| 40 | - have hd : derivativePath τ hτ hτT B Y t = futureDerivative τ hτ hτT B Y tf := | |
| 41 | - derivativePath_right τ hτ hτT B Y tr | |
| 42 | - have hidx : tailInclusion D.T τ hτ.le tf = t := by | |
| 43 | - apply Subtype.ext | |
| 44 | - change τ+((t : ℝ)-τ) = (t : ℝ) | |
| 45 | - ring | |
| 46 | - have hM : (D.tail τ hτ.le hτT).M.field tf = D.M.field t := by | |
| 47 | - change D.M.field (tailInclusion D.T τ hτ.le tf) = D.M.field t | |
| 48 | - rw [hidx] | |
| 49 | - have hm : (D.tail τ hτ.le hτT).normal.field tf = D.normal.field t := by | |
| 50 | - change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t | |
| 51 | - rw [hidx] | |
| 52 | - have he := future_balance_ae τ hτ hτT B Y tf | |
| 53 | - rw [hM,hm,← hv,← hd] at he | |
| 54 | - exact he | |
| 55 | - | |
| 56 | -theorem tangent_ae (t : Icc (0 : ℝ) D.T) : | |
| 57 | - ∀ᵐ x ∂liftMeasure P, | |
| 58 | - ⟪D.normal.field t x.1,velocityPath τ hτ hτT B Y t x⟫_ℝ = 0 := by | |
| 59 | - by_cases ht : (t : ℝ) ≤ τ | |
| 60 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 61 | - have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := | |
| 62 | - velocityPath_left τ hτ hτT B Y th | |
| 63 | - rw [hv] | |
| 64 | - filter_upwards [EulerTransversePacketEndpoint.velocityPath_ae B (endpointData τ hτ hτT Y) th] | |
| 65 | - with x hx | |
| 66 | - change pastVelocity τ hτ hτT B Y th x = _ at hx | |
| 67 | - rw [hx] | |
| 68 | - exact (D.initial τ hτ hτT.le).frame_tangent th x.1 _ | |
| 69 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 70 | - let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 71 | - ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 72 | - let Df := D.tail τ hτ.le hτT | |
| 73 | - have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := | |
| 74 | - velocityPath_right τ hτ hτT B Y tr | |
| 75 | - have hidx : tailInclusion D.T τ hτ.le tf = t := by | |
| 76 | - apply Subtype.ext | |
| 77 | - change τ+((t : ℝ)-τ) = (t : ℝ) | |
| 78 | - ring | |
| 79 | - have hm : Df.normal.field tf = D.normal.field t := by | |
| 80 | - change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t | |
| 81 | - rw [hidx] | |
| 82 | - rw [hv,← hm] | |
| 83 | - filter_upwards [EulerSourceCylinderEquation.velocity_ae P D.support D.support_measurable | |
| 84 | - Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower | |
| 85 | - (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value tf] with x hx | |
| 86 | - change futureVelocity τ hτ hτT B Y tf x = _ at hx | |
| 87 | - rw [hx] | |
| 88 | - exact Df.frame_tangent tf x.1 _ | |
| 89 | - | |
| 90 | -end EulerTransversePacketPrimary | |
+169 −2 Euler/TransversePacketPrimaryField.lean View file
| @@ -1,5 +1,6 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryEquation | |
| 2 | -import Euler.TransversePacketPrimaryParity | |
| 1 | +import Euler.TransversePacketPrimaryPaths | |
| 2 | +import Euler.CylinderEndpointParity | |
| 3 | +import Euler.TransversePacketParity | |
| 3 | 4 | import Euler.PacketCylinderScalarGradient |
| 4 | 5 | import Euler.PacketCylinderFieldSupport |
| 5 | 6 | import Euler.PacketCylinderTimeParity |
| @@ -7,6 +8,172 @@ import Euler.PacketCylinderTimeParity | ||
| 7 | 8 | /-! Canonical raw fields for the actual terminal-history/forward primary |
| 8 | 9 | solution, with genuine time derivative, support, mean and tangent constraints. -/ |
| 9 | 10 | |
| 11 | +/-! ## From `Euler/TransversePacketPrimaryEquation.lean` | |
| 12 | + | |
| 13 | +The text of `Euler/TransversePacketPrimaryEquation.lean`, folded into this file, which was its only importer. -/ | |
| 14 | + | |
| 15 | +section | |
| 16 | + | |
| 17 | +/-! | |
| 18 | +The actual joined primary solves the homogeneous transverse equation. | |
| 19 | +The physical normal field is pointwise; it is never treated as one L² | |
| 20 | +vector. All equations below are for genuine cylinder representatives. | |
| 21 | +-/ | |
| 22 | + | |
| 23 | +noncomputable section | |
| 24 | + | |
| 25 | +namespace EulerTransversePacketPrimary | |
| 26 | + | |
| 27 | +open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit | |
| 28 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 29 | + EulerTransversePacketProvider EulerTimeIntervalRestriction | |
| 30 | + | |
| 31 | +variable {P : ℝ} [Fact (0 < P)] | |
| 32 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 33 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 34 | + (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 35 | + | |
| 36 | +theorem balance_ae (t : Icc (0 : ℝ) D.T) : | |
| 37 | + ∀ᵐ x ∂liftMeasure P, | |
| 38 | + derivativePath τ hτ hτT B Y t x+D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)+ | |
| 39 | + (-(2*⟪D.normal.field t x.1,D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 40 | + ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = 0 := by | |
| 41 | + by_cases ht : (t : ℝ) ≤ τ | |
| 42 | + · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 43 | + have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := | |
| 44 | + velocityPath_left τ hτ hτT B Y th | |
| 45 | + have hd : derivativePath τ hτ hτT B Y t = pastDerivative τ hτ hτT B Y th := | |
| 46 | + derivativePath_left τ hτ hτT B Y th | |
| 47 | + rw [hv,hd] | |
| 48 | + exact past_balance_ae τ hτ hτT B Y th | |
| 49 | + · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 50 | + let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 51 | + ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 52 | + have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := | |
| 53 | + velocityPath_right τ hτ hτT B Y tr | |
| 54 | + have hd : derivativePath τ hτ hτT B Y t = futureDerivative τ hτ hτT B Y tf := | |
| 55 | + derivativePath_right τ hτ hτT B Y tr | |
| 56 | + have hidx : tailInclusion D.T τ hτ.le tf = t := by | |
| 57 | + apply Subtype.ext | |
| 58 | + change τ+((t : ℝ)-τ) = (t : ℝ) | |
| 59 | + ring | |
| 60 | + have hM : (D.tail τ hτ.le hτT).M.field tf = D.M.field t := by | |
| 61 | + change D.M.field (tailInclusion D.T τ hτ.le tf) = D.M.field t | |
| 62 | + rw [hidx] | |
| 63 | + have hm : (D.tail τ hτ.le hτT).normal.field tf = D.normal.field t := by | |
| 64 | + change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t | |
| 65 | + rw [hidx] | |
| 66 | + have he := future_balance_ae τ hτ hτT B Y tf | |
| 67 | + rw [hM,hm,← hv,← hd] at he | |
| 68 | + exact he | |
| 69 | + | |
| 70 | +theorem tangent_ae (t : Icc (0 : ℝ) D.T) : | |
| 71 | + ∀ᵐ x ∂liftMeasure P, | |
| 72 | + ⟪D.normal.field t x.1,velocityPath τ hτ hτT B Y t x⟫_ℝ = 0 := by | |
| 73 | + by_cases ht : (t : ℝ) ≤ τ | |
| 74 | + · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 75 | + have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := | |
| 76 | + velocityPath_left τ hτ hτT B Y th | |
| 77 | + rw [hv] | |
| 78 | + filter_upwards [EulerTransversePacketEndpoint.velocityPath_ae B (endpointData τ hτ hτT Y) th] | |
| 79 | + with x hx | |
| 80 | + change pastVelocity τ hτ hτT B Y th x = _ at hx | |
| 81 | + rw [hx] | |
| 82 | + exact (D.initial τ hτ hτT.le).frame_tangent th x.1 _ | |
| 83 | + · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 84 | + let tf : Icc (0 : ℝ) (D.T-τ) := | |
| 85 | + ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ | |
| 86 | + let Df := D.tail τ hτ.le hτT | |
| 87 | + have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := | |
| 88 | + velocityPath_right τ hτ hτT B Y tr | |
| 89 | + have hidx : tailInclusion D.T τ hτ.le tf = t := by | |
| 90 | + apply Subtype.ext | |
| 91 | + change τ+((t : ℝ)-τ) = (t : ℝ) | |
| 92 | + ring | |
| 93 | + have hm : Df.normal.field tf = D.normal.field t := by | |
| 94 | + change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t | |
| 95 | + rw [hidx] | |
| 96 | + rw [hv,← hm] | |
| 97 | + filter_upwards [EulerSourceCylinderEquation.velocity_ae P D.support D.support_measurable | |
| 98 | + Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower | |
| 99 | + (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value tf] with x hx | |
| 100 | + change futureVelocity τ hτ hτT B Y tf x = _ at hx | |
| 101 | + rw [hx] | |
| 102 | + exact Df.frame_tangent tf x.1 _ | |
| 103 | + | |
| 104 | +end EulerTransversePacketPrimary | |
| 105 | +end | |
| 106 | + | |
| 107 | +end | |
| 108 | + | |
| 109 | +/-! ## From `Euler/TransversePacketPrimaryParity.lean` | |
| 110 | + | |
| 111 | +The text of `Euler/TransversePacketPrimaryParity.lean`, folded into this file, which was its only importer. -/ | |
| 112 | + | |
| 113 | +section | |
| 114 | + | |
| 115 | +/-! Odd compact terminal data propagate through the genuine history and forward primary solve. -/ | |
| 116 | + | |
| 117 | +noncomputable section | |
| 118 | + | |
| 119 | +namespace EulerTransversePacketPrimary | |
| 120 | + | |
| 121 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 122 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection | |
| 123 | + EulerTransversePacketProvider EulerTimeIntervalRestriction EulerElapsedTimePathGluing | |
| 124 | + | |
| 125 | +variable {P : ℝ} [Fact (0 < P)] | |
| 126 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 127 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 128 | + (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 129 | + (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 130 | + (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 131 | + (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 132 | + (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 133 | + (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) | |
| 134 | + | |
| 135 | +include hF hM hH hY | |
| 136 | + | |
| 137 | +theorem forwardInitial_reflection_neg : | |
| 138 | + reflection P ((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U) = | |
| 139 | + -((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U) := | |
| 140 | + B.coefficients.endpointCoordinate_odd P | |
| 141 | + ((D.initial τ hτ hτT.le).frame_even (fun t x => hF (initialInclusion D.T τ hτT.le t) x)) | |
| 142 | + ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 143 | + (fun t x => hF (initialInclusion D.T τ hτT.le t) x) | |
| 144 | + (fun t x => hM (initialInclusion D.T τ hτT.le t) x)) | |
| 145 | + hH Y.value hY ⟨τ,hτ.le,le_rfl⟩ | |
| 146 | + | |
| 147 | +theorem pastVelocity_reflection_neg (t : Icc (0 : ℝ) τ) : | |
| 148 | + reflection P (pastVelocity τ hτ hτT B Y t) = -pastVelocity τ hτ hτT B Y t := | |
| 149 | + B.coefficients.endpointVelocity_odd P | |
| 150 | + ((D.initial τ hτ hτT.le).frame_even (fun s x => hF (initialInclusion D.T τ hτT.le s) x)) | |
| 151 | + ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 152 | + (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 153 | + (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) | |
| 154 | + hH Y.value hY t | |
| 155 | + | |
| 156 | +include hSym | |
| 157 | + | |
| 158 | +theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 159 | + reflection P (futureVelocity τ hτ hτT B Y t) = -futureVelocity τ hτ hτT B Y t := | |
| 160 | + (zeroForcing (D.tail τ hτ.le hτT)).velocityPath_reflection_neg (forwardInitial τ hτ hτT B Y) hSym | |
| 161 | + (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 162 | + (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 163 | + (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) | |
| 164 | + (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t | |
| 165 | + | |
| 166 | +theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 167 | + reflection P (velocityPath τ hτ hτT B Y t) = -velocityPath τ hτ hτT B Y t := | |
| 168 | + join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) {u | reflection P u = -u} | |
| 169 | + (pastVelocity_reflection_neg τ hτ hτT B Y hF hM hH hY) | |
| 170 | + (futureVelocity_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t | |
| 171 | + | |
| 172 | +end EulerTransversePacketPrimary | |
| 173 | +end | |
| 174 | + | |
| 175 | +end | |
| 176 | + | |
| 10 | 177 | noncomputable section |
| 11 | 178 | |
| 12 | 179 | namespace EulerTransversePacketPrimary |
+196 −1 Euler/TransversePacketPrimaryFullBounds.lean View file
| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | import Euler.TransversePacketPrimaryCorrector |
| 2 | -import Euler.TransversePacketPrimaryBounds | |
| 2 | +import Euler.TransversePacketPrimaryBudget | |
| 3 | +import Euler.TransversePacketPrimaryPaths | |
| 4 | +import Euler.PacketInitialAmplitude | |
| 3 | 5 | import Euler.TransversePacketNormalBudget |
| 4 | 6 | import Euler.SourceCylinderPressureWeight |
| 5 | 7 | import Euler.PacketCylinderScalarGradientWeight |
| @@ -8,6 +10,199 @@ import Euler.CylinderPotentialTimeWeight | ||
| 8 | 10 | |
| 9 | 11 | /-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ |
| 10 | 12 | |
| 13 | +/-! ## From `Euler/TransversePacketPrimaryUnitBounds.lean` | |
| 14 | + | |
| 15 | +The text of `Euler/TransversePacketPrimaryUnitBounds.lean`, folded into this file, which was its only importer. -/ | |
| 16 | + | |
| 17 | +section | |
| 18 | + | |
| 19 | +/-! | |
| 20 | +Unit-terminal-data estimates for the actual joined primary. The same | |
| 21 | +external radius controls its history, actual trace, and weighted future. | |
| 22 | +-/ | |
| 23 | + | |
| 24 | +noncomputable section | |
| 25 | + | |
| 26 | +namespace EulerTransversePacketPrimary.Budget | |
| 27 | + | |
| 28 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider | |
| 29 | + EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerLpCylinderTranslation | |
| 30 | + EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction | |
| 31 | + EulerElapsedTimePathGluing EulerFixedEvolutionSobolev | |
| 32 | +open scoped ContDiff | |
| 33 | + | |
| 34 | +variable {P : ℝ} [Fact (0 < P)] | |
| 35 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 36 | + {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 37 | + {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 38 | + {L : EulerTransversePacketJoin.Budget D τ hτ hτT B ι q} | |
| 39 | + (H : Budget L) (Y : InitialData P D) | |
| 40 | + (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 41 | + (d : ℕ) | |
| 42 | + (hYb : ∀ n, block directions q (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ | |
| 43 | + majorant L.R d n) | |
| 44 | + | |
| 45 | +include H hdir hYb | |
| 46 | + | |
| 47 | +theorem terminal_bound (n : ℕ) : | |
| 48 | + block directions q (fun a => translate P a | |
| 49 | + ((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U)) n 0 ≤ | |
| 50 | + H.endpointBudget.coordinateCost*majorant L.R (d+2) n := | |
| 51 | + (trace_block_le P directions q | |
| 52 | + (B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U)) | |
| 53 | + (EulerTransversePacketEndpoint.coordinatePath_orbit B (endpointData τ hτ hτT Y)) | |
| 54 | + ⟨τ,hτ.le,le_rfl⟩ n 0).trans | |
| 55 | + (H.endpointBudget.coordinate_unit_bound P directions hdir Y.value Y.orbit d hYb n) | |
| 56 | + | |
| 57 | +theorem past_velocity_bound (n : ℕ) : | |
| 58 | + block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B Y)) n 0 ≤ | |
| 59 | + H.endpointBudget.velocityCost*majorant L.R (d+2) n := | |
| 60 | + H.endpointBudget.velocity_unit_bound P directions hdir Y.value Y.orbit d hYb n | |
| 61 | + | |
| 62 | +theorem past_derivative_bound (n : ℕ) : | |
| 63 | + block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B Y)) n 0 ≤ | |
| 64 | + H.endpointBudget.derivativeCost*majorant L.R (d+3) n := | |
| 65 | + H.endpointBudget.derivative_unit_bound P directions hdir Y.value Y.orbit d hYb n | |
| 66 | + | |
| 67 | +theorem future_velocity_bound (n : ℕ) : | |
| 68 | + block directions q (fun a => pathTranslate P a | |
| 69 | + (normalize L.g L.positive (futureVelocity τ hτ hτT B Y))) n 0 ≤ | |
| 70 | + (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 71 | + have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 72 | + (normalize L.g L.positive (HistoryData.forcingPath (zeroForcing (P := P) (D.tail τ hτ.le hτT))))) | |
| 73 | + j 0 ≤ 0*majorant L.R (d+2) j := by | |
| 74 | + simp only [HistoryData.forcingPath,zeroForcing,zero_mul] | |
| 75 | + erw [map_zero] | |
| 76 | + simp only [map_zero,block_zero_function,le_refl] | |
| 77 | + dsimp only [futureVelocity] | |
| 78 | + rw [show d+3=d+2+1 by omega] | |
| 79 | + exact | |
| 80 | + (zeroForcing (D.tail τ hτ.le hτT)).source_velocity_normalized_bound (forwardInitial τ hτ hτT B Y) | |
| 81 | + L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 82 | + L.support_subset L.neighborhood_halfball L.initial_one | |
| 83 | + L.C H.endpointBudget.coordinateCost 0 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 84 | + L.C_nonneg H.endpointBudget.coordinateCost_nonneg le_rfl L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 85 | + L.forward_inverse | |
| 86 | + (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 87 | + (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 88 | + L.forcing_radius H.forward_radius L.propagator (d+2) hf | |
| 89 | + (H.terminal_bound Y directions hdir d hYb) L.radius_bounds.2 n | |
| 90 | + | |
| 91 | +theorem future_derivative_bound (n : ℕ) : | |
| 92 | + block directions q (fun a => pathTranslate P a | |
| 93 | + (normalize L.g L.positive (futureDerivative τ hτ hτT B Y))) n 0 ≤ | |
| 94 | + EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 0 1*majorant L.R (d+3) n := by | |
| 95 | + have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 96 | + (normalize L.g L.positive (HistoryData.forcingPath (zeroForcing (P := P) (D.tail τ hτ.le hτT))))) | |
| 97 | + j 0 ≤ 0*majorant L.R (d+2) j := by | |
| 98 | + simp only [HistoryData.forcingPath,zeroForcing,zero_mul] | |
| 99 | + erw [map_zero] | |
| 100 | + simp only [map_zero,block_zero_function,le_refl] | |
| 101 | + dsimp only [futureDerivative] | |
| 102 | + rw [show d+3=d+2+1 by omega] | |
| 103 | + exact | |
| 104 | + (zeroForcing (D.tail τ hτ.le hτT)).source_derivative_normalized_bound (forwardInitial τ hτ hτT B Y) | |
| 105 | + L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 106 | + L.support_subset L.neighborhood_halfball L.initial_one | |
| 107 | + L.C H.endpointBudget.coordinateCost 0 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 108 | + L.C_nonneg H.endpointBudget.coordinateCost_nonneg le_rfl L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 109 | + L.forward_inverse | |
| 110 | + (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 111 | + (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 112 | + L.forcing_radius H.forward_radius L.propagator (d+2) hf | |
| 113 | + (H.terminal_bound Y directions hdir d hYb) L.radius_bounds.1 n | |
| 114 | + | |
| 115 | +theorem velocity_unit_bound (n : ℕ) : | |
| 116 | + block directions q (fun a => pathTranslate P a | |
| 117 | + (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B Y))) n 0 ≤ | |
| 118 | + H.velocityCost*majorant L.R (d+3) n := by | |
| 119 | + have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 120 | + (pastVelocity τ hτ hτT B Y) (futureVelocity τ hτ hτT B Y) (velocity_match τ hτ hτT B Y) | |
| 121 | + (pastVelocity_orbit τ hτ hτT B Y) (futureVelocity_orbit τ hτ hτT B Y) directions q n 0 | |
| 122 | + have hC : 0 ≤ H.endpointBudget.velocityCost := | |
| 123 | + mul_nonneg (mul_nonneg (by norm_num) | |
| 124 | + (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg)) | |
| 125 | + H.endpointBudget.coordinateCost_nonneg | |
| 126 | + have hp := (H.past_velocity_bound Y directions hdir d hYb n).trans | |
| 127 | + (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) hC) | |
| 128 | + exact hb.trans (by | |
| 129 | + simpa only [velocityCost,add_mul] using | |
| 130 | + add_le_add hp (H.future_velocity_bound Y directions hdir d hYb n)) | |
| 131 | + | |
| 132 | +theorem derivative_unit_bound (n : ℕ) : | |
| 133 | + block directions q (fun a => pathTranslate P a | |
| 134 | + (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B Y))) n 0 ≤ | |
| 135 | + H.derivativeCost*majorant L.R (d+3) n := by | |
| 136 | + have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 137 | + (pastDerivative τ hτ hτT B Y) (futureDerivative τ hτ hτT B Y) (derivative_match τ hτ hτT B Y) | |
| 138 | + (pastDerivative_orbit τ hτ hτT B Y) (futureDerivative_orbit τ hτ hτT B Y) directions q n 0 | |
| 139 | + exact hb.trans (by | |
| 140 | + simpa only [derivativeCost,add_mul] using | |
| 141 | + add_le_add (H.past_derivative_bound Y directions hdir d hYb n) | |
| 142 | + (H.future_derivative_bound Y directions hdir d hYb n)) | |
| 143 | + | |
| 144 | +end EulerTransversePacketPrimary.Budget | |
| 145 | +end | |
| 146 | + | |
| 147 | +end | |
| 148 | + | |
| 149 | +/-! ## From `Euler/TransversePacketPrimaryBounds.lean` | |
| 150 | + | |
| 151 | +The text of `Euler/TransversePacketPrimaryBounds.lean`, folded into this file, which was its only importer. -/ | |
| 152 | + | |
| 153 | +section | |
| 154 | + | |
| 155 | +/-! | |
| 156 | +The actual primary A/g and A_t/g retain one fixed mixed Sobolev radius. | |
| 157 | +The constants and guards depend only on source coefficients, the history | |
| 158 | +length and the genuine propagator bound. Arbitrary terminal amplitude is | |
| 159 | +restored by the proved exact homogeneity of the constructed solution. | |
| 160 | +-/ | |
| 161 | + | |
| 162 | +noncomputable section | |
| 163 | + | |
| 164 | +namespace EulerTransversePacketPrimary.Budget | |
| 165 | + | |
| 166 | +open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 167 | + EulerTransversePacketProvider EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight | |
| 168 | +open scoped ContDiff | |
| 169 | + | |
| 170 | +variable {P : ℝ} [Fact (0 < P)] | |
| 171 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 172 | + {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 173 | + {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 174 | + {L : EulerTransversePacketJoin.Budget D τ hτ hτT B ι q} | |
| 175 | + (H : Budget L) (Y : InitialData P D) | |
| 176 | + (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 177 | + (A : ℝ) (hA : 0 ≤ A) (d : ℕ) | |
| 178 | + (hYb : ∀ n, block directions q (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ | |
| 179 | + A*majorant L.R d n) | |
| 180 | + | |
| 181 | +include hdir hA hYb | |
| 182 | + | |
| 183 | +theorem velocity_bound (n : ℕ) : | |
| 184 | + block directions q (fun a => pathTranslate P a | |
| 185 | + (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B Y))) n 0 ≤ | |
| 186 | + (H.velocityCost*A)*majorant L.R (d+3) n := | |
| 187 | + initial_amplitude_bound (fun Z => velocityPath τ hτ hτT B Z) | |
| 188 | + (velocityPath_orbit τ hτ hτT B) (velocityPath_eq_smul τ hτ hτT B) | |
| 189 | + L.fullProfile L.fullProfile_pos directions q L.R H.velocityCost d (d+3) | |
| 190 | + (fun Z hb => H.velocity_unit_bound Z directions hdir d hb) Y A hA hYb n | |
| 191 | + | |
| 192 | +theorem derivative_bound (n : ℕ) : | |
| 193 | + block directions q (fun a => pathTranslate P a | |
| 194 | + (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B Y))) n 0 ≤ | |
| 195 | + (H.derivativeCost*A)*majorant L.R (d+3) n := | |
| 196 | + initial_amplitude_bound (fun Z => derivativePath τ hτ hτT B Z) | |
| 197 | + (derivativePath_orbit τ hτ hτT B) (derivativePath_eq_smul τ hτ hτT B) | |
| 198 | + L.fullProfile L.fullProfile_pos directions q L.R H.derivativeCost d (d+3) | |
| 199 | + (fun Z hb => H.derivative_unit_bound Z directions hdir d hb) Y A hA hYb n | |
| 200 | + | |
| 201 | +end EulerTransversePacketPrimary.Budget | |
| 202 | +end | |
| 203 | + | |
| 204 | +end | |
| 205 | + | |
| 11 | 206 | noncomputable section |
| 12 | 207 | |
| 13 | 208 | namespace EulerTransversePacketPrimary |
+72 −1 Euler/TransversePacketPrimaryHistory.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.TransversePacketEndpointPointwise | |
| 1 | +import Euler.CylinderEndpointPointwise | |
| 2 | +import Euler.TransversePacketEndpoint | |
| 3 | +import Euler.PacketTerminalInitialData | |
| 2 | 4 | import Euler.TransversePacketPrimaryField |
| 3 | 5 | import Euler.CylinderSliceRepresentatives |
| 4 | 6 | |
| @@ -8,6 +10,75 @@ literal compact periodic wave times the finite-dimensional endpoint history. | ||
| 8 | 10 | In particular its angular derivative at zero has the manuscript's δ⁻¹ factor. |
| 9 | 11 | -/ |
| 10 | 12 | |
| 13 | +/-! ## From `Euler/TransversePacketEndpointPointwise.lean` | |
| 14 | + | |
| 15 | +The text of `Euler/TransversePacketEndpointPointwise.lean`, folded into this file, which was its only importer. -/ | |
| 16 | + | |
| 17 | +section | |
| 18 | + | |
| 19 | +/-! | |
| 20 | +The actual compact-terminal source history is the manuscript's pointwise | |
| 21 | +stationary history multiplied by the literal cutoff and periodic wave. | |
| 22 | +-/ | |
| 23 | + | |
| 24 | +noncomputable section | |
| 25 | + | |
| 26 | +namespace EulerTransversePacketProvider.Data | |
| 27 | + | |
| 28 | +open ContinuousLinearMap EulerSmoothLimit EulerTransverseFrameCoordinates EulerTransverseSourceFrame | |
| 29 | + | |
| 30 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) | |
| 31 | + | |
| 32 | +def coordinateEmbedding : U →L[ℝ] Space := referenceEmbedding D.m₀ D.R | |
| 33 | + | |
| 34 | +def coordinateRetraction : Space →L[ℝ] U := | |
| 35 | + D.R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp | |
| 36 | + (referencePlane D.m₀).orthogonalProjectionOnto | |
| 37 | + | |
| 38 | +theorem coordinateRetraction_embedding (v : U) : | |
| 39 | + D.coordinateRetraction (D.coordinateEmbedding v) = v := by | |
| 40 | + change D.R.symm ((referencePlane D.m₀).orthogonalProjectionOnto (D.R v : Space)) = v | |
| 41 | + rw [(referencePlane D.m₀).orthogonalProjectionOnto_mem_subspace_eq_self] | |
| 42 | + exact D.R.symm_apply_apply v | |
| 43 | + | |
| 44 | +end EulerTransversePacketProvider.Data | |
| 45 | + | |
| 46 | +namespace EulerTransversePacketEndpoint | |
| 47 | + | |
| 48 | +open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 49 | + EulerLpCylinderTranslation EulerMetricTransport EulerCylinderSmoothOrbit | |
| 50 | + EulerTransversePacketProvider | |
| 51 | + | |
| 52 | +variable {P : ℝ} [Fact (0 < P)] | |
| 53 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 54 | + {D : Data U} (B : HistoryData D) (Y : InitialData P D) | |
| 55 | + | |
| 56 | +theorem velocityPath_eq_history (f : LiftDomain P → U) (hf : Continuous f) | |
| 57 | + (hrep : (Y.value : CylinderL2 P U) =ᵐ[liftMeasure P] f) | |
| 58 | + (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : | |
| 59 | + pointField P (velocityPath B Y) (velocityPath_orbit B Y) t x = | |
| 60 | + B.coefficients.labelVelocity x.1 (f x) t := | |
| 61 | + B.coefficients.endpointVelocity_pointwise P D.coordinateEmbedding D.coordinateRetraction | |
| 62 | + D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff | |
| 63 | + Y.value Y.orbit D.coordinateRetraction_embedding f hf hrep x t | |
| 64 | + | |
| 65 | +end EulerTransversePacketEndpoint | |
| 66 | + | |
| 67 | +namespace EulerPacketTerminalDatum | |
| 68 | + | |
| 69 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport | |
| 70 | + EulerLpCylinderTranslation EulerTransversePacketProvider EulerTransversePacketEndpoint | |
| 71 | + EulerCylinderSmoothOrbit EulerSpatialCutoffs | |
| 72 | + | |
| 73 | +variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 74 | + {D : Data U} (B : HistoryData D) (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 75 | + (hs : tsupport innerCutoff ⊆ D.support) | |
| 76 | + | |
| 77 | +end EulerPacketTerminalDatum | |
| 78 | +end | |
| 79 | + | |
| 80 | +end | |
| 81 | + | |
| 11 | 82 | noncomputable section |
| 12 | 83 | |
| 13 | 84 | namespace EulerTransversePacketPrimary |
+0 −148 Euler/TransversePacketPrimaryMatching.lean deleted
| @@ -1,148 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketEndpoint | |
| 2 | -import Euler.TransversePacketTraceMatching | |
| 3 | -import Euler.TransversePacketInitial | |
| 4 | -import Euler.TransversePacketCylinderFields | |
| 5 | - | |
| 6 | -/-! | |
| 7 | -The primary history has prescribed terminal displacement. Its actual | |
| 8 | -coordinate velocity at τ is the initial value of the homogeneous forward | |
| 9 | -solve. Both the physical velocity and its true derivative match at τ. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerTransversePacketPrimary | |
| 15 | - | |
| 16 | -open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit | |
| 17 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 18 | - EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerTransversePacketProvider | |
| 19 | - EulerVolterraConvolution | |
| 20 | -open scoped ContDiff | |
| 21 | - | |
| 22 | -variable {P : ℝ} [Fact (0 < P)] | |
| 23 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - | |
| 25 | -def zeroForcing (D : Data U) : Forcing P D (0 : VectorField) where | |
| 26 | - path := 0 | |
| 27 | - path_orbit := by | |
| 28 | - simpa only [map_zero] using | |
| 29 | - (contDiff_const : ContDiff ℝ ∞ (fun _ : LiftTangent => (0 : C(Icc (0 : ℝ) D.T,LiftL2 P)))) | |
| 30 | - raw_eq t x θ := (pointField_zero_of_value_zero P _ _ t (by simp) (x,(θ : AddCircle P))).symm | |
| 31 | - mean_zero _ := map_zero _ | |
| 32 | - | |
| 33 | -variable {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 34 | - (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 35 | - | |
| 36 | -def endpointData : InitialData P (D.initial τ hτ hτT.le) where | |
| 37 | - value := Y.value | |
| 38 | - orbit := Y.orbit | |
| 39 | - mean_zero := Y.mean_zero | |
| 40 | - | |
| 41 | -def forwardInitial : InitialData P (D.tail τ hτ.le hτT) where | |
| 42 | - value := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).value | |
| 43 | - orbit := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).orbit | |
| 44 | - mean_zero := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).mean_zero | |
| 45 | - | |
| 46 | -def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 47 | - EulerTransversePacketEndpoint.velocityPath B (endpointData τ hτ hτT Y) | |
| 48 | - | |
| 49 | -def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 50 | - EulerTransversePacketEndpoint.derivativePath B (endpointData τ hτ hτT Y) | |
| 51 | - | |
| 52 | -def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 53 | - includePath P D.support D.support_measurable | |
| 54 | - ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y)) | |
| 55 | - | |
| 56 | -def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 57 | - includePath P D.support D.support_measurable | |
| 58 | - ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y)) | |
| 59 | - | |
| 60 | -theorem pastVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B Y)) := | |
| 61 | - EulerTransversePacketEndpoint.velocityPath_orbit B (endpointData τ hτ hτT Y) | |
| 62 | - | |
| 63 | -theorem pastDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B Y)) := | |
| 64 | - EulerTransversePacketEndpoint.derivativePath_orbit B (endpointData τ hτ hτT Y) | |
| 65 | - | |
| 66 | -theorem futureVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B Y)) := | |
| 67 | - (zeroForcing (D.tail τ hτ.le hτT)).velocityPath_orbit (forwardInitial τ hτ hτT B Y) | |
| 68 | - | |
| 69 | -theorem futureDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B Y)) := | |
| 70 | - (zeroForcing (D.tail τ hτ.le hτT)).derivativePath_orbit (forwardInitial τ hτ hτT B Y) | |
| 71 | - | |
| 72 | -theorem velocity_match : pastVelocity τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = | |
| 73 | - futureVelocity τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 74 | - let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ | |
| 75 | - let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 76 | - have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by | |
| 77 | - apply BoundedContinuousFunction.ext | |
| 78 | - intro x | |
| 79 | - apply ContinuousLinearMap.ext | |
| 80 | - intro v | |
| 81 | - change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = | |
| 82 | - D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) | |
| 83 | - simp only [add_zero] | |
| 84 | - change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) | |
| 85 | - (EulerTransversePacketEndpoint.coordinatePath B (endpointData τ hτ hτT Y) th) = | |
| 86 | - fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) | |
| 87 | - (((zeroForcing (D.tail τ hτ.le hτT)).coordinatePath (forwardInitial τ hτ hτT B Y) tf) : | |
| 88 | - CylinderL2 P U) | |
| 89 | - dsimp only [tf] | |
| 90 | - erw [Forcing.coordinatePath_initial,hQ] | |
| 91 | - rfl | |
| 92 | - | |
| 93 | -theorem past_balance_ae (t : Icc (0 : ℝ) τ) : | |
| 94 | - ∀ᵐ x ∂liftMeasure P, | |
| 95 | - pastDerivative τ hτ hτT B Y t x+ | |
| 96 | - (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)+ | |
| 97 | - (-(2*⟪(D.initial τ hτ hτT.le).normal.field t x.1, | |
| 98 | - (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 99 | - ‖(D.initial τ hτ hτT.le).normal.field t x.1‖^2) • | |
| 100 | - (D.initial τ hτ hτT.le).normal.field t x.1 = 0 := | |
| 101 | - EulerTransversePacketEndpoint.balance_ae B (endpointData τ hτ hτT Y) t | |
| 102 | - | |
| 103 | -theorem future_balance_ae (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 104 | - ∀ᵐ x ∂liftMeasure P, | |
| 105 | - futureDerivative τ hτ hτT B Y t x+ | |
| 106 | - (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ | |
| 107 | - (-(2*⟪(D.tail τ hτ.le hτT).normal.field t x.1, | |
| 108 | - (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 109 | - ‖(D.tail τ hτ.le hτT).normal.field t x.1‖^2) • | |
| 110 | - (D.tail τ hτ.le hτT).normal.field t x.1 = 0 := by | |
| 111 | - let Df := D.tail τ hτ.le hτT | |
| 112 | - have hh := EulerSourceCylinderEquation.velocity_balance_ae P D.support D.support_measurable | |
| 113 | - Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower | |
| 114 | - (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value | |
| 115 | - (fun t x => Df.M.field t x) (fun t x => Df.normal.field t x) | |
| 116 | - (HistoryData.normal_ne_zero (D := Df)) Df.frame_tangent Df.frame_range Df.frame_strain t | |
| 117 | - filter_upwards [hh,Lp.coeFn_zero Space 2 (liftMeasure P)] with x hx hz | |
| 118 | - change futureDerivative τ hτ hτT B Y t x+Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ | |
| 119 | - ((⟪Df.normal.field t x.1,(0 : LiftL2 P) x⟫_ℝ- | |
| 120 | - 2*⟪Df.normal.field t x.1,Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 121 | - ‖Df.normal.field t x.1‖^2) • Df.normal.field t x.1 = (0 : LiftL2 P) x at hx | |
| 122 | - simpa only [hz,Pi.zero_apply,inner_zero_right,zero_sub] using hx | |
| 123 | - | |
| 124 | -theorem derivative_match : pastDerivative τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = | |
| 125 | - futureDerivative τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 126 | - let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ | |
| 127 | - let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 128 | - have hM : (D.initial τ hτ hτT.le).M.field th = (D.tail τ hτ.le hτT).M.field tf := | |
| 129 | - EulerTransversePacketJoin.source_coefficient_match τ hτ hτT D.M | |
| 130 | - have hm : (D.initial τ hτ hτT.le).normal.field th = (D.tail τ hτ.le hτT).normal.field tf := | |
| 131 | - EulerTransversePacketJoin.normal_match τ hτ hτT | |
| 132 | - have hh := past_balance_ae τ hτ hτT B Y th | |
| 133 | - rw [hM,hm,velocity_match τ hτ hτT B Y] at hh | |
| 134 | - apply Lp.ext | |
| 135 | - filter_upwards [hh,future_balance_ae τ hτ hτT B Y tf] with x hx hy | |
| 136 | - exact add_right_cancel (add_right_cancel (hx.trans hy.symm)) | |
| 137 | - | |
| 138 | -theorem pastVelocity_time (t : Icc (0 : ℝ) τ) : | |
| 139 | - HasDerivWithinAt (extendPath τ hτ.le (pastVelocity τ hτ hτT B Y)) | |
| 140 | - (pastDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) τ) t := | |
| 141 | - EulerTransversePacketEndpoint.velocityPath_time B (endpointData τ hτ hτT Y) t | |
| 142 | - | |
| 143 | -theorem futureVelocity_time (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 144 | - HasDerivWithinAt (extendPath (D.T-τ) (sub_pos.mpr hτT).le (futureVelocity τ hτ hτT B Y)) | |
| 145 | - (futureDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) (D.T-τ)) t := | |
| 146 | - (zeroForcing (D.tail τ hτ.le hτT)).vectorField_time (forwardInitial τ hτ hτT B Y) t | |
| 147 | - | |
| 148 | -end EulerTransversePacketPrimary | |
+0 −62 Euler/TransversePacketPrimaryParity.lean deleted
| @@ -1,62 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryPaths | |
| 2 | -import Euler.CylinderEndpointParity | |
| 3 | -import Euler.TransversePacketParity | |
| 4 | - | |
| 5 | -/-! Odd compact terminal data propagate through the genuine history and forward primary solve. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTransversePacketPrimary | |
| 10 | - | |
| 11 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 12 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection | |
| 13 | - EulerTransversePacketProvider EulerTimeIntervalRestriction EulerElapsedTimePathGluing | |
| 14 | - | |
| 15 | -variable {P : ℝ} [Fact (0 < P)] | |
| 16 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 17 | - {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 18 | - (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 19 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 20 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 21 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 22 | - (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 23 | - (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) | |
| 24 | - | |
| 25 | -include hF hM hH hY | |
| 26 | - | |
| 27 | -theorem forwardInitial_reflection_neg : | |
| 28 | - reflection P ((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U) = | |
| 29 | - -((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U) := | |
| 30 | - B.coefficients.endpointCoordinate_odd P | |
| 31 | - ((D.initial τ hτ hτT.le).frame_even (fun t x => hF (initialInclusion D.T τ hτT.le t) x)) | |
| 32 | - ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 33 | - (fun t x => hF (initialInclusion D.T τ hτT.le t) x) | |
| 34 | - (fun t x => hM (initialInclusion D.T τ hτT.le t) x)) | |
| 35 | - hH Y.value hY ⟨τ,hτ.le,le_rfl⟩ | |
| 36 | - | |
| 37 | -theorem pastVelocity_reflection_neg (t : Icc (0 : ℝ) τ) : | |
| 38 | - reflection P (pastVelocity τ hτ hτT B Y t) = -pastVelocity τ hτ hτT B Y t := | |
| 39 | - B.coefficients.endpointVelocity_odd P | |
| 40 | - ((D.initial τ hτ hτT.le).frame_even (fun s x => hF (initialInclusion D.T τ hτT.le s) x)) | |
| 41 | - ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 42 | - (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 43 | - (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) | |
| 44 | - hH Y.value hY t | |
| 45 | - | |
| 46 | -include hSym | |
| 47 | - | |
| 48 | -theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 49 | - reflection P (futureVelocity τ hτ hτT B Y t) = -futureVelocity τ hτ hτT B Y t := | |
| 50 | - (zeroForcing (D.tail τ hτ.le hτT)).velocityPath_reflection_neg (forwardInitial τ hτ hτT B Y) hSym | |
| 51 | - (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 52 | - (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 53 | - (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) | |
| 54 | - (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t | |
| 55 | - | |
| 56 | -theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 57 | - reflection P (velocityPath τ hτ hτT B Y t) = -velocityPath τ hτ hτT B Y t := | |
| 58 | - join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) {u | reflection P u = -u} | |
| 59 | - (pastVelocity_reflection_neg τ hτ hτT B Y hF hM hH hY) | |
| 60 | - (futureVelocity_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t | |
| 61 | - | |
| 62 | -end EulerTransversePacketPrimary | |
+157 −1 Euler/TransversePacketPrimaryPaths.lean View file
| @@ -1,4 +1,7 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryMatching | |
| 1 | +import Euler.TransversePacketEndpoint | |
| 2 | +import Euler.TransversePacketTraceMatching | |
| 3 | +import Euler.TransversePacketInitial | |
| 4 | +import Euler.TransversePacketCylinderFields | |
| 2 | 5 | import Euler.TransversePacketJoinedSupport |
| 3 | 6 | import Euler.SourceNormalResidualBounds |
| 4 | 7 | |
| @@ -9,6 +12,159 @@ interval uses its true coordinate trace, and gluing preserves the actual | ||
| 9 | 12 | time derivative and the mixed translation orbit. |
| 10 | 13 | -/ |
| 11 | 14 | |
| 15 | +/-! ## From `Euler/TransversePacketPrimaryMatching.lean` | |
| 16 | + | |
| 17 | +The text of `Euler/TransversePacketPrimaryMatching.lean`, folded into this file, which was its only importer. -/ | |
| 18 | + | |
| 19 | +section | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +The primary history has prescribed terminal displacement. Its actual | |
| 23 | +coordinate velocity at τ is the initial value of the homogeneous forward | |
| 24 | +solve. Both the physical velocity and its true derivative match at τ. | |
| 25 | +-/ | |
| 26 | + | |
| 27 | +noncomputable section | |
| 28 | + | |
| 29 | +namespace EulerTransversePacketPrimary | |
| 30 | + | |
| 31 | +open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit | |
| 32 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 33 | + EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerTransversePacketProvider | |
| 34 | + EulerVolterraConvolution | |
| 35 | +open scoped ContDiff | |
| 36 | + | |
| 37 | +variable {P : ℝ} [Fact (0 < P)] | |
| 38 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 39 | + | |
| 40 | +def zeroForcing (D : Data U) : Forcing P D (0 : VectorField) where | |
| 41 | + path := 0 | |
| 42 | + path_orbit := by | |
| 43 | + simpa only [map_zero] using | |
| 44 | + (contDiff_const : ContDiff ℝ ∞ (fun _ : LiftTangent => (0 : C(Icc (0 : ℝ) D.T,LiftL2 P)))) | |
| 45 | + raw_eq t x θ := (pointField_zero_of_value_zero P _ _ t (by simp) (x,(θ : AddCircle P))).symm | |
| 46 | + mean_zero _ := map_zero _ | |
| 47 | + | |
| 48 | +variable {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 49 | + (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) | |
| 50 | + | |
| 51 | +def endpointData : InitialData P (D.initial τ hτ hτT.le) where | |
| 52 | + value := Y.value | |
| 53 | + orbit := Y.orbit | |
| 54 | + mean_zero := Y.mean_zero | |
| 55 | + | |
| 56 | +def forwardInitial : InitialData P (D.tail τ hτ.le hτT) where | |
| 57 | + value := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).value | |
| 58 | + orbit := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).orbit | |
| 59 | + mean_zero := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).mean_zero | |
| 60 | + | |
| 61 | +def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 62 | + EulerTransversePacketEndpoint.velocityPath B (endpointData τ hτ hτT Y) | |
| 63 | + | |
| 64 | +def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 65 | + EulerTransversePacketEndpoint.derivativePath B (endpointData τ hτ hτT Y) | |
| 66 | + | |
| 67 | +def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 68 | + includePath P D.support D.support_measurable | |
| 69 | + ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y)) | |
| 70 | + | |
| 71 | +def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 72 | + includePath P D.support D.support_measurable | |
| 73 | + ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y)) | |
| 74 | + | |
| 75 | +theorem pastVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B Y)) := | |
| 76 | + EulerTransversePacketEndpoint.velocityPath_orbit B (endpointData τ hτ hτT Y) | |
| 77 | + | |
| 78 | +theorem pastDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B Y)) := | |
| 79 | + EulerTransversePacketEndpoint.derivativePath_orbit B (endpointData τ hτ hτT Y) | |
| 80 | + | |
| 81 | +theorem futureVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B Y)) := | |
| 82 | + (zeroForcing (D.tail τ hτ.le hτT)).velocityPath_orbit (forwardInitial τ hτ hτT B Y) | |
| 83 | + | |
| 84 | +theorem futureDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B Y)) := | |
| 85 | + (zeroForcing (D.tail τ hτ.le hτT)).derivativePath_orbit (forwardInitial τ hτ hτT B Y) | |
| 86 | + | |
| 87 | +theorem velocity_match : pastVelocity τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = | |
| 88 | + futureVelocity τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 89 | + let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ | |
| 90 | + let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 91 | + have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by | |
| 92 | + apply BoundedContinuousFunction.ext | |
| 93 | + intro x | |
| 94 | + apply ContinuousLinearMap.ext | |
| 95 | + intro v | |
| 96 | + change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = | |
| 97 | + D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) | |
| 98 | + simp only [add_zero] | |
| 99 | + change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) | |
| 100 | + (EulerTransversePacketEndpoint.coordinatePath B (endpointData τ hτ hτT Y) th) = | |
| 101 | + fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) | |
| 102 | + (((zeroForcing (D.tail τ hτ.le hτT)).coordinatePath (forwardInitial τ hτ hτT B Y) tf) : | |
| 103 | + CylinderL2 P U) | |
| 104 | + dsimp only [tf] | |
| 105 | + erw [Forcing.coordinatePath_initial,hQ] | |
| 106 | + rfl | |
| 107 | + | |
| 108 | +theorem past_balance_ae (t : Icc (0 : ℝ) τ) : | |
| 109 | + ∀ᵐ x ∂liftMeasure P, | |
| 110 | + pastDerivative τ hτ hτT B Y t x+ | |
| 111 | + (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)+ | |
| 112 | + (-(2*⟪(D.initial τ hτ hτT.le).normal.field t x.1, | |
| 113 | + (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 114 | + ‖(D.initial τ hτ hτT.le).normal.field t x.1‖^2) • | |
| 115 | + (D.initial τ hτ hτT.le).normal.field t x.1 = 0 := | |
| 116 | + EulerTransversePacketEndpoint.balance_ae B (endpointData τ hτ hτT Y) t | |
| 117 | + | |
| 118 | +theorem future_balance_ae (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 119 | + ∀ᵐ x ∂liftMeasure P, | |
| 120 | + futureDerivative τ hτ hτT B Y t x+ | |
| 121 | + (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ | |
| 122 | + (-(2*⟪(D.tail τ hτ.le hτT).normal.field t x.1, | |
| 123 | + (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 124 | + ‖(D.tail τ hτ.le hτT).normal.field t x.1‖^2) • | |
| 125 | + (D.tail τ hτ.le hτT).normal.field t x.1 = 0 := by | |
| 126 | + let Df := D.tail τ hτ.le hτT | |
| 127 | + have hh := EulerSourceCylinderEquation.velocity_balance_ae P D.support D.support_measurable | |
| 128 | + Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower | |
| 129 | + (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value | |
| 130 | + (fun t x => Df.M.field t x) (fun t x => Df.normal.field t x) | |
| 131 | + (HistoryData.normal_ne_zero (D := Df)) Df.frame_tangent Df.frame_range Df.frame_strain t | |
| 132 | + filter_upwards [hh,Lp.coeFn_zero Space 2 (liftMeasure P)] with x hx hz | |
| 133 | + change futureDerivative τ hτ hτT B Y t x+Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ | |
| 134 | + ((⟪Df.normal.field t x.1,(0 : LiftL2 P) x⟫_ℝ- | |
| 135 | + 2*⟪Df.normal.field t x.1,Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ | |
| 136 | + ‖Df.normal.field t x.1‖^2) • Df.normal.field t x.1 = (0 : LiftL2 P) x at hx | |
| 137 | + simpa only [hz,Pi.zero_apply,inner_zero_right,zero_sub] using hx | |
| 138 | + | |
| 139 | +theorem derivative_match : pastDerivative τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = | |
| 140 | + futureDerivative τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 141 | + let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ | |
| 142 | + let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 143 | + have hM : (D.initial τ hτ hτT.le).M.field th = (D.tail τ hτ.le hτT).M.field tf := | |
| 144 | + EulerTransversePacketJoin.source_coefficient_match τ hτ hτT D.M | |
| 145 | + have hm : (D.initial τ hτ hτT.le).normal.field th = (D.tail τ hτ.le hτT).normal.field tf := | |
| 146 | + EulerTransversePacketJoin.normal_match τ hτ hτT | |
| 147 | + have hh := past_balance_ae τ hτ hτT B Y th | |
| 148 | + rw [hM,hm,velocity_match τ hτ hτT B Y] at hh | |
| 149 | + apply Lp.ext | |
| 150 | + filter_upwards [hh,future_balance_ae τ hτ hτT B Y tf] with x hx hy | |
| 151 | + exact add_right_cancel (add_right_cancel (hx.trans hy.symm)) | |
| 152 | + | |
| 153 | +theorem pastVelocity_time (t : Icc (0 : ℝ) τ) : | |
| 154 | + HasDerivWithinAt (extendPath τ hτ.le (pastVelocity τ hτ hτT B Y)) | |
| 155 | + (pastDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) τ) t := | |
| 156 | + EulerTransversePacketEndpoint.velocityPath_time B (endpointData τ hτ hτT Y) t | |
| 157 | + | |
| 158 | +theorem futureVelocity_time (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 159 | + HasDerivWithinAt (extendPath (D.T-τ) (sub_pos.mpr hτT).le (futureVelocity τ hτ hτT B Y)) | |
| 160 | + (futureDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) (D.T-τ)) t := | |
| 161 | + (zeroForcing (D.tail τ hτ.le hτT)).vectorField_time (forwardInitial τ hτ hτT B Y) t | |
| 162 | + | |
| 163 | +end EulerTransversePacketPrimary | |
| 164 | +end | |
| 165 | + | |
| 166 | +end | |
| 167 | + | |
| 12 | 168 | noncomputable section |
| 13 | 169 | |
| 14 | 170 | namespace EulerTransversePacketPrimary |
+0 −129 Euler/TransversePacketPrimaryUnitBounds.lean deleted
| @@ -1,129 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketPrimaryBudget | |
| 2 | -import Euler.TransversePacketPrimaryPaths | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -Unit-terminal-data estimates for the actual joined primary. The same | |
| 6 | -external radius controls its history, actual trace, and weighted future. | |
| 7 | --/ | |
| 8 | - | |
| 9 | -noncomputable section | |
| 10 | - | |
| 11 | -namespace EulerTransversePacketPrimary.Budget | |
| 12 | - | |
| 13 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider | |
| 14 | - EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerLpCylinderTranslation | |
| 15 | - EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction | |
| 16 | - EulerElapsedTimePathGluing EulerFixedEvolutionSobolev | |
| 17 | -open scoped ContDiff | |
| 18 | - | |
| 19 | -variable {P : ℝ} [Fact (0 < P)] | |
| 20 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 21 | - {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} | |
| 22 | - {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} | |
| 23 | - {L : EulerTransversePacketJoin.Budget D τ hτ hτT B ι q} | |
| 24 | - (H : Budget L) (Y : InitialData P D) | |
| 25 | - (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) | |
| 26 | - (d : ℕ) | |
| 27 | - (hYb : ∀ n, block directions q (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ | |
| 28 | - majorant L.R d n) | |
| 29 | - | |
| 30 | -include H hdir hYb | |
| 31 | - | |
| 32 | -theorem terminal_bound (n : ℕ) : | |
| 33 | - block directions q (fun a => translate P a | |
| 34 | - ((forwardInitial τ hτ hτT B Y).value : CylinderL2 P U)) n 0 ≤ | |
| 35 | - H.endpointBudget.coordinateCost*majorant L.R (d+2) n := | |
| 36 | - (trace_block_le P directions q | |
| 37 | - (B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U)) | |
| 38 | - (EulerTransversePacketEndpoint.coordinatePath_orbit B (endpointData τ hτ hτT Y)) | |
| 39 | - ⟨τ,hτ.le,le_rfl⟩ n 0).trans | |
| 40 | - (H.endpointBudget.coordinate_unit_bound P directions hdir Y.value Y.orbit d hYb n) | |
| 41 | - | |
| 42 | -theorem past_velocity_bound (n : ℕ) : | |
| 43 | - block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B Y)) n 0 ≤ | |
| 44 | - H.endpointBudget.velocityCost*majorant L.R (d+2) n := | |
| 45 | - H.endpointBudget.velocity_unit_bound P directions hdir Y.value Y.orbit d hYb n | |
| 46 | - | |
| 47 | -theorem past_derivative_bound (n : ℕ) : | |
| 48 | - block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B Y)) n 0 ≤ | |
| 49 | - H.endpointBudget.derivativeCost*majorant L.R (d+3) n := | |
| 50 | - H.endpointBudget.derivative_unit_bound P directions hdir Y.value Y.orbit d hYb n | |
| 51 | - | |
| 52 | -theorem future_velocity_bound (n : ℕ) : | |
| 53 | - block directions q (fun a => pathTranslate P a | |
| 54 | - (normalize L.g L.positive (futureVelocity τ hτ hτT B Y))) n 0 ≤ | |
| 55 | - (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by | |
| 56 | - have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 57 | - (normalize L.g L.positive (HistoryData.forcingPath (zeroForcing (P := P) (D.tail τ hτ.le hτT))))) | |
| 58 | - j 0 ≤ 0*majorant L.R (d+2) j := by | |
| 59 | - simp only [HistoryData.forcingPath,zeroForcing,zero_mul] | |
| 60 | - erw [map_zero] | |
| 61 | - simp only [map_zero,block_zero_function,le_refl] | |
| 62 | - dsimp only [futureVelocity] | |
| 63 | - rw [show d+3=d+2+1 by omega] | |
| 64 | - exact | |
| 65 | - (zeroForcing (D.tail τ hτ.le hτT)).source_velocity_normalized_bound (forwardInitial τ hτ hτT B Y) | |
| 66 | - L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 67 | - L.support_subset L.neighborhood_halfball L.initial_one | |
| 68 | - L.C H.endpointBudget.coordinateCost 0 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 69 | - L.C_nonneg H.endpointBudget.coordinateCost_nonneg le_rfl L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 70 | - L.forward_inverse | |
| 71 | - (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 72 | - (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 73 | - L.forcing_radius H.forward_radius L.propagator (d+2) hf | |
| 74 | - (H.terminal_bound Y directions hdir d hYb) L.radius_bounds.2 n | |
| 75 | - | |
| 76 | -theorem future_derivative_bound (n : ℕ) : | |
| 77 | - block directions q (fun a => pathTranslate P a | |
| 78 | - (normalize L.g L.positive (futureDerivative τ hτ hτT B Y))) n 0 ≤ | |
| 79 | - EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 0 1*majorant L.R (d+3) n := by | |
| 80 | - have hf (j : ℕ) : block directions q (fun a => pathTranslate P a | |
| 81 | - (normalize L.g L.positive (HistoryData.forcingPath (zeroForcing (P := P) (D.tail τ hτ.le hτT))))) | |
| 82 | - j 0 ≤ 0*majorant L.R (d+2) j := by | |
| 83 | - simp only [HistoryData.forcingPath,zeroForcing,zero_mul] | |
| 84 | - erw [map_zero] | |
| 85 | - simp only [map_zero,block_zero_function,le_refl] | |
| 86 | - dsimp only [futureDerivative] | |
| 87 | - rw [show d+3=d+2+1 by omega] | |
| 88 | - exact | |
| 89 | - (zeroForcing (D.tail τ hτ.le hτT)).source_derivative_normalized_bound (forwardInitial τ hτ hτT B Y) | |
| 90 | - L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open | |
| 91 | - L.support_subset L.neighborhood_halfball L.initial_one | |
| 92 | - L.C H.endpointBudget.coordinateCost 0 L.Rc L.C₀ L.C₁ L.Ri L.R | |
| 93 | - L.C_nonneg H.endpointBudget.coordinateCost_nonneg le_rfl L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg | |
| 94 | - L.forward_inverse | |
| 95 | - (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 96 | - (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) | |
| 97 | - L.forcing_radius H.forward_radius L.propagator (d+2) hf | |
| 98 | - (H.terminal_bound Y directions hdir d hYb) L.radius_bounds.1 n | |
| 99 | - | |
| 100 | -theorem velocity_unit_bound (n : ℕ) : | |
| 101 | - block directions q (fun a => pathTranslate P a | |
| 102 | - (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B Y))) n 0 ≤ | |
| 103 | - H.velocityCost*majorant L.R (d+3) n := by | |
| 104 | - have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 105 | - (pastVelocity τ hτ hτT B Y) (futureVelocity τ hτ hτT B Y) (velocity_match τ hτ hτT B Y) | |
| 106 | - (pastVelocity_orbit τ hτ hτT B Y) (futureVelocity_orbit τ hτ hτT B Y) directions q n 0 | |
| 107 | - have hC : 0 ≤ H.endpointBudget.velocityCost := | |
| 108 | - mul_nonneg (mul_nonneg (by norm_num) | |
| 109 | - (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg)) | |
| 110 | - H.endpointBudget.coordinateCost_nonneg | |
| 111 | - have hp := (H.past_velocity_bound Y directions hdir d hYb n).trans | |
| 112 | - (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) hC) | |
| 113 | - exact hb.trans (by | |
| 114 | - simpa only [velocityCost,add_mul] using | |
| 115 | - add_le_add hp (H.future_velocity_bound Y directions hdir d hYb n)) | |
| 116 | - | |
| 117 | -theorem derivative_unit_bound (n : ℕ) : | |
| 118 | - block directions q (fun a => pathTranslate P a | |
| 119 | - (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B Y))) n 0 ≤ | |
| 120 | - H.derivativeCost*majorant L.R (d+3) n := by | |
| 121 | - have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one | |
| 122 | - (pastDerivative τ hτ hτT B Y) (futureDerivative τ hτ hτT B Y) (derivative_match τ hτ hτT B Y) | |
| 123 | - (pastDerivative_orbit τ hτ hτT B Y) (futureDerivative_orbit τ hτ hτT B Y) directions q n 0 | |
| 124 | - exact hb.trans (by | |
| 125 | - simpa only [derivativeCost,add_mul] using | |
| 126 | - add_le_add (H.past_derivative_bound Y directions hdir d hYb n) | |
| 127 | - (H.future_derivative_bound Y directions hdir d hYb n)) | |
| 128 | - | |
| 129 | -end EulerTransversePacketPrimary.Budget | |
+0 −28 Euler/TransversePacketRegularity.lean deleted
| @@ -1,28 +0,0 @@ | ||
| 1 | -import Euler.TransversePacketProvider | |
| 2 | - | |
| 3 | -/-! Joint continuity and actual spatial support of the concrete forward packet fields. -/ | |
| 4 | - | |
| 5 | -noncomputable section | |
| 6 | - | |
| 7 | -namespace EulerTransversePacketProvider | |
| 8 | - | |
| 9 | -open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation | |
| 10 | - EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerSourceCylinderClassical | |
| 11 | - EulerPacketProfileRecursion EulerMetricTransport | |
| 12 | - | |
| 13 | -variable {P : ℝ} [Fact (0 < P)] | |
| 14 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 15 | - | |
| 16 | -namespace Forcing | |
| 17 | - | |
| 18 | -variable {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) | |
| 19 | - | |
| 20 | -omit [Fact (0 < P)] [CompleteSpace U] in | |
| 21 | -private theorem continuous_cover : | |
| 22 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (z.1,(z.2.1,(z.2.2 : AddCircle P)))) := | |
| 23 | - continuous_fst.prodMk ((continuous_fst.comp continuous_snd).prodMk | |
| 24 | - ((AddCircle.continuous_mk' P).comp (continuous_snd.comp continuous_snd))) | |
| 25 | - | |
| 26 | -end Forcing | |
| 27 | - | |
| 28 | -end EulerTransversePacketProvider | |
+107 −1 Euler/TransversePacketTraceMatching.lean View file
| @@ -1,7 +1,113 @@ | ||
| 1 | -import Euler.TransversePacketMatching | |
| 1 | +import Euler.TransversePacketLocalHistory | |
| 2 | +import Euler.TransversePacketHistoryPressure | |
| 3 | +import Euler.TransversePacketProvider | |
| 2 | 4 | |
| 3 | 5 | /-! The actual time derivative and normalized pressure also match at the history/forward junction. -/ |
| 4 | 6 | |
| 7 | +/-! ## From `Euler/TransversePacketMatching.lean` | |
| 8 | + | |
| 9 | +The text of `Euler/TransversePacketMatching.lean`, folded into this file, which was its only importer. -/ | |
| 10 | + | |
| 11 | +section | |
| 12 | + | |
| 13 | +/-! | |
| 14 | +# The history trace matches the actual forward transverse solve | |
| 15 | + | |
| 16 | +The forward datum is the constructed history coordinate velocity. Both | |
| 17 | +physical velocities therefore agree at the source time τ, with the same | |
| 18 | +deformation frame on the two intervals. | |
| 19 | +-/ | |
| 20 | + | |
| 21 | +noncomputable section | |
| 22 | + | |
| 23 | +namespace EulerTransversePacketJoin | |
| 24 | + | |
| 25 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTimeIntervalRestriction | |
| 26 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 27 | + EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerCylinderAngleAverage | |
| 28 | + EulerTransversePacketProvider | |
| 29 | +open scoped ContDiff BoundedContinuousFunction | |
| 30 | + | |
| 31 | +variable {P : ℝ} [Fact (0 < P)] | |
| 32 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 33 | + {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) | |
| 34 | + (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) | |
| 35 | + | |
| 36 | +def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 37 | + B.velocityPath (G.initial τ hτ hτT.le) | |
| 38 | + | |
| 39 | +def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 40 | + includePath P D.support D.support_measurable | |
| 41 | + ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G)) | |
| 42 | + | |
| 43 | +def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := | |
| 44 | + B.derivativePath (G.initial τ hτ hτT.le) | |
| 45 | + | |
| 46 | +def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := | |
| 47 | + includePath P D.support D.support_measurable | |
| 48 | + ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G)) | |
| 49 | + | |
| 50 | +def pastPressure : C(Icc (0 : ℝ) τ,CylinderL2 P ℝ) := | |
| 51 | + B.pressurePath (G.initial τ hτ hτT.le) | |
| 52 | + | |
| 53 | +def futurePressure : C(Icc (0 : ℝ) (D.T-τ),CylinderL2 P ℝ) := | |
| 54 | + (G.tail τ hτ.le hτT).pressurePath (forwardInitial τ hτ hτT B G) | |
| 55 | + | |
| 56 | +theorem pastVelocity_orbit : | |
| 57 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) := | |
| 58 | + B.velocityPath_orbit (G.initial τ hτ hτT.le) | |
| 59 | + | |
| 60 | +theorem futureVelocity_orbit : | |
| 61 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B G)) := | |
| 62 | + (G.tail τ hτ.le hτT).velocityPath_orbit (forwardInitial τ hτ hτT B G) | |
| 63 | + | |
| 64 | +theorem pastDerivative_orbit : | |
| 65 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) := | |
| 66 | + B.derivativePath_orbit (G.initial τ hτ hτT.le) | |
| 67 | + | |
| 68 | +theorem futureDerivative_orbit : | |
| 69 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B G)) := | |
| 70 | + (G.tail τ hτ.le hτT).derivativePath_orbit (forwardInitial τ hτ hτT B G) | |
| 71 | + | |
| 72 | +theorem pastPressure_orbit : | |
| 73 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (pastPressure τ hτ hτT B G)) := | |
| 74 | + B.pressurePath_orbit (G.initial τ hτ hτT.le) | |
| 75 | + | |
| 76 | +theorem futurePressure_orbit : | |
| 77 | + ContDiff ℝ ∞ (fun a => pathTranslate P a (futurePressure τ hτ hτT B G)) := | |
| 78 | + (G.tail τ hτ.le hτT).pressurePath_orbit (forwardInitial τ hτ hτT B G) | |
| 79 | + | |
| 80 | +/-- The actual forward velocity starts from the actual history velocity. -/ | |
| 81 | +theorem velocity_match : pastVelocity τ hτ hτT B G ⟨τ,hτ.le,le_rfl⟩ = | |
| 82 | + futureVelocity τ hτ hτT B G ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by | |
| 83 | + let th : Icc (0 : ℝ) (D.initial τ hτ hτT.le).T := ⟨τ,hτ.le,le_rfl⟩ | |
| 84 | + let tf : Icc (0 : ℝ) (D.tail τ hτ.le hτT).T := ⟨0,le_rfl,(D.tail τ hτ.le hτT).T_pos.le⟩ | |
| 85 | + have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by | |
| 86 | + apply BoundedContinuousFunction.ext | |
| 87 | + intro x | |
| 88 | + apply ContinuousLinearMap.ext | |
| 89 | + intro v | |
| 90 | + change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = | |
| 91 | + D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) | |
| 92 | + simp only [add_zero] | |
| 93 | + change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) | |
| 94 | + (B.coordinatePath (G.initial τ hτ hτT.le) th) = | |
| 95 | + fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) | |
| 96 | + ((EulerSourceCylinderEquation.coordinates P D.support D.support_measurable | |
| 97 | + (D.tail τ hτ.le hτT).T (D.tail τ hτ.le hτT).T_pos.le (D.tail τ hτ.le hτT).frame | |
| 98 | + (D.tail τ hτ.le hτT).frameDerivative (D.tail τ hτ.le hτT).frameLower | |
| 99 | + (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower | |
| 100 | + (G.tail τ hτ.le hτT).path (forwardInitial τ hτ hτT B G).value tf : | |
| 101 | + Supported P U D.support D.support_measurable) : CylinderL2 P U) | |
| 102 | + dsimp only [tf] | |
| 103 | + erw [EulerSourceCylinderEquation.coordinates_initial,hQ] | |
| 104 | + rfl | |
| 105 | + | |
| 106 | +end EulerTransversePacketJoin | |
| 107 | +end | |
| 108 | + | |
| 109 | +end | |
| 110 | + | |
| 5 | 111 | noncomputable section |
| 6 | 112 | |
| 7 | 113 | namespace EulerTransversePacketJoin |
+176 −1 Euler/TransverseSourceCoefficientPath.lean View file
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | import Euler.MeanCoefficientPathJets |
| 2 | -import Euler.TransverseSourceFrame | |
| 2 | +import Euler.TransverseStrongEquation | |
| 3 | 3 | import Euler.OperatorGevreyCalculus |
| 4 | 4 | |
| 5 | 5 | /-! |
| @@ -12,6 +12,181 @@ bounds therefore imply exactly the time-path coefficient bounds required by | ||
| 12 | 12 | the constructed transverse inverse. |
| 13 | 13 | -/ |
| 14 | 14 | |
| 15 | +/-! ## From `Euler/TransverseSourceFrame.lean` | |
| 16 | + | |
| 17 | +The text of `Euler/TransverseSourceFrame.lean`, folded into this file, which was its only importer. -/ | |
| 18 | + | |
| 19 | +section | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# The source frame `Q = F R⊥` | |
| 23 | + | |
| 24 | +These coefficient lemmas discharge the moving-plane range and lower-frame | |
| 25 | +hypotheses using the prescribed invertible deformation and orthonormal reference | |
| 26 | +plane. No inverse solution or acceleration is supplied as input. | |
| 27 | +-/ | |
| 28 | + | |
| 29 | +noncomputable section | |
| 30 | + | |
| 31 | +namespace EulerTransverseSourceFrame | |
| 32 | + | |
| 33 | +open Set InnerProductSpace ContinuousLinearMap MeasureTheory | |
| 34 | + EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution | |
| 35 | + EulerTransverseFrameCoordinates EulerTransverseVariationalInverse | |
| 36 | + EulerTransverseCoordinateRegularity EulerTransverseStrongEquation | |
| 37 | + EulerTransverseGramInverse | |
| 38 | + | |
| 39 | +variable {U E : Type*} | |
| 40 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 41 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 42 | + | |
| 43 | +variable (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 44 | + | |
| 45 | +/-- The fixed orthonormal reference-plane embedding. -/ | |
| 46 | +def referenceEmbedding : U →L[ℝ] E := | |
| 47 | + (referencePlane m₀).subtypeL.comp R.toContinuousLinearEquiv.toContinuousLinearMap | |
| 48 | + | |
| 49 | +/-- Applying the source deformation to the fixed orthonormal reference plane. -/ | |
| 50 | +def framePath (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : | |
| 51 | + C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 52 | + ⟨fun t => (F t).comp (referenceEmbedding m₀ R), F.continuous.clm_comp continuous_const⟩ | |
| 53 | + | |
| 54 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 55 | +/-- The frame is literally the source expression `F R⊥`. -/ | |
| 56 | +theorem framePath_apply (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 57 | + (t : Icc (0 : ℝ) T) (x : U) : | |
| 58 | + framePath m₀ R T F t x = F t (R x : E) := rfl | |
| 59 | + | |
| 60 | +omit [CompleteSpace U] in | |
| 61 | +/-- The source frame maps into the moving tangent plane. -/ | |
| 62 | +theorem framePath_tangent (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 63 | + (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 64 | + (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 65 | + (t : Icc (0 : ℝ) T) (x : U) : | |
| 66 | + ⟪movingNormal (F t) m₀, framePath m₀ R T A t x⟫_ℝ = 0 := by | |
| 67 | + apply (tangent_iff (F t) m₀ _).2 | |
| 68 | + rw [framePath_apply, hA] | |
| 69 | + change (F t).symm (F t (R x : E)) ∈ referencePlane m₀ | |
| 70 | + rw [ContinuousLinearEquiv.symm_apply_apply] | |
| 71 | + exact (R x).property | |
| 72 | + | |
| 73 | +omit [CompleteSpace U] in | |
| 74 | +/-- Every moving tangent vector is in the range of the actual source frame. -/ | |
| 75 | +theorem framePath_range (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 76 | + (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 77 | + (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 78 | + (t : Icc (0 : ℝ) T) (η : E) (hη : ⟪movingNormal (F t) m₀, η⟫_ℝ = 0) : | |
| 79 | + ∃ x : U, framePath m₀ R T A t x = η := by | |
| 80 | + refine ⟨frameCoordinates (F t) m₀ R η, ?_⟩ | |
| 81 | + rw [framePath_apply, hA] | |
| 82 | + exact frame_reconstruct (F t) m₀ η R hη | |
| 83 | + | |
| 84 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 85 | +/-- A bound on `F⁻¹` gives a quantitative lower frame bound, because `R⊥` is isometric. -/ | |
| 86 | +theorem framePath_lower_bound (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 87 | + (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 88 | + (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 89 | + (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) | |
| 90 | + (t : Icc (0 : ℝ) T) (x : U) : | |
| 91 | + (B⁻¹)^2 * ‖x‖^2 ≤ ‖framePath m₀ R T A t x‖^2 := by | |
| 92 | + have hn : ‖x‖ ≤ B * ‖framePath m₀ R T A t x‖ := by | |
| 93 | + calc | |
| 94 | + ‖x‖ = ‖(F t).symm (framePath m₀ R T A t x)‖ := by | |
| 95 | + rw [framePath_apply, hA] | |
| 96 | + change ‖x‖ = ‖(F t).symm (F t (R x : E))‖ | |
| 97 | + rw [ContinuousLinearEquiv.symm_apply_apply] | |
| 98 | + exact (R.norm_map x).symm | |
| 99 | + _ ≤ ‖(F t).symm.toContinuousLinearMap‖ * ‖framePath m₀ R T A t x‖ := | |
| 100 | + (F t).symm.toContinuousLinearMap.le_opNorm _ | |
| 101 | + _ ≤ B * ‖framePath m₀ R T A t x‖ := | |
| 102 | + mul_le_mul_of_nonneg_right (hinv t) (norm_nonneg _) | |
| 103 | + have hdiv : ‖x‖ / B ≤ ‖framePath m₀ R T A t x‖ := | |
| 104 | + (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 105 | + have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg x) hB.le) (norm_nonneg _)).2 hdiv | |
| 106 | + simpa only [div_eq_mul_inv, mul_pow, mul_comm] using hs | |
| 107 | + | |
| 108 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 109 | +/-- The actual within-interval derivative commutes with a fixed reference frame. -/ | |
| 110 | +theorem framePath_hasDerivWithinAt (T : ℝ) (hT : 0 ≤ T) | |
| 111 | + (A A₁ : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 112 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 113 | + HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 114 | + (t : Icc (0 : ℝ) T) : | |
| 115 | + HasDerivWithinAt (extendPath T hT (framePath m₀ R T A)) | |
| 116 | + (framePath m₀ R T A₁ t) (Icc (0 : ℝ) T) t := by | |
| 117 | + have h := (hd t).clm_comp (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) (referenceEmbedding m₀ R)) | |
| 118 | + convert h using 1 | |
| 119 | + · rfl | |
| 120 | + · simp only [comp_zero, add_zero] | |
| 121 | + rfl | |
| 122 | + | |
| 123 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 124 | +/-- The source equation `F_tt = -H F` gives the precise frame equation used in (10). -/ | |
| 125 | +theorem framePath_second_equation (T : ℝ) | |
| 126 | + (A A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 127 | + (hframe : ∀ t, A₂ t = -((H t).comp (A t))) (t : Icc (0 : ℝ) T) : | |
| 128 | + framePath m₀ R T A₂ t = -((H t).comp (framePath m₀ R T A t)) := by | |
| 129 | + apply ContinuousLinearMap.ext | |
| 130 | + intro x | |
| 131 | + simp only [framePath_apply, hframe, neg_apply, comp_apply] | |
| 132 | + | |
| 133 | +/-- For the literal source frame `F R⊥`, the actual transverse inverse has | |
| 134 | +zero-endpoint H² coordinates satisfying equation (10). All range and inverse | |
| 135 | +bounds used by the strong theorem are discharged from `F` and `R⊥` here. -/ | |
| 136 | +theorem sourceFrame_strong (T : ℝ) (hT : 0 < T) | |
| 137 | + (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 138 | + (A A₁ A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 139 | + (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 140 | + (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) | |
| 141 | + (hd : ∀ t : Icc (0 : ℝ) T, | |
| 142 | + HasDerivWithinAt (extendPath T hT.le A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 143 | + (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 144 | + HasDerivWithinAt (extendPath T hT.le A₁) (A₂ t) (Icc (0 : ℝ) T) t) | |
| 145 | + (hframe : ∀ t, A₂ t = -((H t).comp (A t))) | |
| 146 | + (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 147 | + (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : | |
| 148 | + let m := fun t => movingNormal (F t) m₀ | |
| 149 | + let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 150 | + ∃ (ξ v : ℝ → U) (a : TimeLp T U), | |
| 151 | + AbsolutelyContinuousOnInterval ξ 0 T ∧ AbsolutelyContinuousOnInterval v 0 T ∧ | |
| 152 | + ξ 0 = 0 ∧ ξ T = 0 ∧ | |
| 153 | + (∀ t : Icc (0 : ℝ) T, F t (R (ξ t) : E) = realPrimitive T u t) ∧ | |
| 154 | + (∀ᵐ t ∂timeMeasure T, HasDerivAt ξ (v t) t) ∧ | |
| 155 | + (∀ᵐ t ∂timeMeasure T, HasDerivAt v (a t) t) ∧ | |
| 156 | + ∀ᵐ t ∂timeMeasure T, | |
| 157 | + gram (extendPath T hT.le (framePath m₀ R T A) t) (a t) = | |
| 158 | + (extendPath T hT.le (framePath m₀ R T A) t).adjoint | |
| 159 | + (f t - (2 : ℝ) • extendPath T hT.le (framePath m₀ R T A₁) t (v t)) := by | |
| 160 | + let Q := framePath m₀ R T A | |
| 161 | + let Q₁ := framePath m₀ R T A₁ | |
| 162 | + let Q₂ := framePath m₀ R T A₂ | |
| 163 | + let m := fun t => movingNormal (F t) m₀ | |
| 164 | + let c := (B⁻¹)^2 | |
| 165 | + have hc : 0 < c := pow_pos (inv_pos.mpr hB) 2 | |
| 166 | + have hQ : ∀ t x, c * ‖x‖^2 ≤ ‖Q t x‖^2 := framePath_lower_bound m₀ R T F A hA B hB hinv | |
| 167 | + have hQd := framePath_hasDerivWithinAt m₀ R T hT.le A A₁ hd | |
| 168 | + have hQ₁d := framePath_hasDerivWithinAt m₀ R T hT.le A₁ A₂ hd₁ | |
| 169 | + let u := transverseSolver T hT.le m H K hK hH hsmall f | |
| 170 | + obtain ⟨v, hξAC, hvAC, _, hξder, hvder, heq⟩ := | |
| 171 | + transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hQd hQ₁d hT m | |
| 172 | + (framePath_tangent m₀ R T F A hA) (framePath_range m₀ R T F A hA) | |
| 173 | + H K hK hH hsmall (framePath_second_equation m₀ R T A A₂ H hframe) f | |
| 174 | + refine ⟨coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E), v, | |
| 175 | + coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H (u : TimeLp T E) f, | |
| 176 | + hξAC, hvAC, coordinatePrimitive_initial T hT.le Q c hc hQ m u, | |
| 177 | + coordinatePrimitive_terminal T hT.le Q c hc hQ (u : TimeLp T E), ?_, hξder, hvder, heq⟩ | |
| 178 | + intro t | |
| 179 | + have hrec := coordinatePrimitive_reconstruct T hT.le Q c hc hQ m | |
| 180 | + (framePath_range m₀ R T F A hA) u t | |
| 181 | + change A t (R (coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E) t) : E) = _ at hrec | |
| 182 | + rw [hA t] at hrec | |
| 183 | + exact hrec | |
| 184 | + | |
| 185 | +end EulerTransverseSourceFrame | |
| 186 | +end | |
| 187 | + | |
| 188 | +end | |
| 189 | + | |
| 15 | 190 | noncomputable section |
| 16 | 191 | |
| 17 | 192 | open scoped ContDiff BoundedContinuousFunction |
+0 −167 Euler/TransverseSourceFrame.lean deleted
| @@ -1,167 +0,0 @@ | ||
| 1 | -import Euler.TransverseStrongEquation | |
| 2 | - | |
| 3 | -/-! | |
| 4 | -# The source frame `Q = F R⊥` | |
| 5 | - | |
| 6 | -These coefficient lemmas discharge the moving-plane range and lower-frame | |
| 7 | -hypotheses using the prescribed invertible deformation and orthonormal reference | |
| 8 | -plane. No inverse solution or acceleration is supplied as input. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | -namespace EulerTransverseSourceFrame | |
| 14 | - | |
| 15 | -open Set InnerProductSpace ContinuousLinearMap MeasureTheory | |
| 16 | - EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution | |
| 17 | - EulerTransverseFrameCoordinates EulerTransverseVariationalInverse | |
| 18 | - EulerTransverseCoordinateRegularity EulerTransverseStrongEquation | |
| 19 | - EulerTransverseGramInverse | |
| 20 | - | |
| 21 | -variable {U E : Type*} | |
| 22 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 23 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 24 | - | |
| 25 | -variable (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 26 | - | |
| 27 | -/-- The fixed orthonormal reference-plane embedding. -/ | |
| 28 | -def referenceEmbedding : U →L[ℝ] E := | |
| 29 | - (referencePlane m₀).subtypeL.comp R.toContinuousLinearEquiv.toContinuousLinearMap | |
| 30 | - | |
| 31 | -/-- Applying the source deformation to the fixed orthonormal reference plane. -/ | |
| 32 | -def framePath (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : | |
| 33 | - C(Icc (0 : ℝ) T, U →L[ℝ] E) := | |
| 34 | - ⟨fun t => (F t).comp (referenceEmbedding m₀ R), F.continuous.clm_comp continuous_const⟩ | |
| 35 | - | |
| 36 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 37 | -/-- The frame is literally the source expression `F R⊥`. -/ | |
| 38 | -theorem framePath_apply (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 39 | - (t : Icc (0 : ℝ) T) (x : U) : | |
| 40 | - framePath m₀ R T F t x = F t (R x : E) := rfl | |
| 41 | - | |
| 42 | -omit [CompleteSpace U] in | |
| 43 | -/-- The source frame maps into the moving tangent plane. -/ | |
| 44 | -theorem framePath_tangent (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 45 | - (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 46 | - (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 47 | - (t : Icc (0 : ℝ) T) (x : U) : | |
| 48 | - ⟪movingNormal (F t) m₀, framePath m₀ R T A t x⟫_ℝ = 0 := by | |
| 49 | - apply (tangent_iff (F t) m₀ _).2 | |
| 50 | - rw [framePath_apply, hA] | |
| 51 | - change (F t).symm (F t (R x : E)) ∈ referencePlane m₀ | |
| 52 | - rw [ContinuousLinearEquiv.symm_apply_apply] | |
| 53 | - exact (R x).property | |
| 54 | - | |
| 55 | -omit [CompleteSpace U] in | |
| 56 | -/-- Every moving tangent vector is in the range of the actual source frame. -/ | |
| 57 | -theorem framePath_range (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 58 | - (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 59 | - (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 60 | - (t : Icc (0 : ℝ) T) (η : E) (hη : ⟪movingNormal (F t) m₀, η⟫_ℝ = 0) : | |
| 61 | - ∃ x : U, framePath m₀ R T A t x = η := by | |
| 62 | - refine ⟨frameCoordinates (F t) m₀ R η, ?_⟩ | |
| 63 | - rw [framePath_apply, hA] | |
| 64 | - exact frame_reconstruct (F t) m₀ η R hη | |
| 65 | - | |
| 66 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 67 | -/-- A bound on `F⁻¹` gives a quantitative lower frame bound, because `R⊥` is isometric. -/ | |
| 68 | -theorem framePath_lower_bound (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 69 | - (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 70 | - (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 71 | - (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) | |
| 72 | - (t : Icc (0 : ℝ) T) (x : U) : | |
| 73 | - (B⁻¹)^2 * ‖x‖^2 ≤ ‖framePath m₀ R T A t x‖^2 := by | |
| 74 | - have hn : ‖x‖ ≤ B * ‖framePath m₀ R T A t x‖ := by | |
| 75 | - calc | |
| 76 | - ‖x‖ = ‖(F t).symm (framePath m₀ R T A t x)‖ := by | |
| 77 | - rw [framePath_apply, hA] | |
| 78 | - change ‖x‖ = ‖(F t).symm (F t (R x : E))‖ | |
| 79 | - rw [ContinuousLinearEquiv.symm_apply_apply] | |
| 80 | - exact (R.norm_map x).symm | |
| 81 | - _ ≤ ‖(F t).symm.toContinuousLinearMap‖ * ‖framePath m₀ R T A t x‖ := | |
| 82 | - (F t).symm.toContinuousLinearMap.le_opNorm _ | |
| 83 | - _ ≤ B * ‖framePath m₀ R T A t x‖ := | |
| 84 | - mul_le_mul_of_nonneg_right (hinv t) (norm_nonneg _) | |
| 85 | - have hdiv : ‖x‖ / B ≤ ‖framePath m₀ R T A t x‖ := | |
| 86 | - (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) | |
| 87 | - have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg x) hB.le) (norm_nonneg _)).2 hdiv | |
| 88 | - simpa only [div_eq_mul_inv, mul_pow, mul_comm] using hs | |
| 89 | - | |
| 90 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 91 | -/-- The actual within-interval derivative commutes with a fixed reference frame. -/ | |
| 92 | -theorem framePath_hasDerivWithinAt (T : ℝ) (hT : 0 ≤ T) | |
| 93 | - (A A₁ : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 94 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 95 | - HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 96 | - (t : Icc (0 : ℝ) T) : | |
| 97 | - HasDerivWithinAt (extendPath T hT (framePath m₀ R T A)) | |
| 98 | - (framePath m₀ R T A₁ t) (Icc (0 : ℝ) T) t := by | |
| 99 | - have h := (hd t).clm_comp (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) (referenceEmbedding m₀ R)) | |
| 100 | - convert h using 1 | |
| 101 | - · rfl | |
| 102 | - · simp only [comp_zero, add_zero] | |
| 103 | - rfl | |
| 104 | - | |
| 105 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 106 | -/-- The source equation `F_tt = -H F` gives the precise frame equation used in (10). -/ | |
| 107 | -theorem framePath_second_equation (T : ℝ) | |
| 108 | - (A A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 109 | - (hframe : ∀ t, A₂ t = -((H t).comp (A t))) (t : Icc (0 : ℝ) T) : | |
| 110 | - framePath m₀ R T A₂ t = -((H t).comp (framePath m₀ R T A t)) := by | |
| 111 | - apply ContinuousLinearMap.ext | |
| 112 | - intro x | |
| 113 | - simp only [framePath_apply, hframe, neg_apply, comp_apply] | |
| 114 | - | |
| 115 | -/-- For the literal source frame `F R⊥`, the actual transverse inverse has | |
| 116 | -zero-endpoint H² coordinates satisfying equation (10). All range and inverse | |
| 117 | -bounds used by the strong theorem are discharged from `F` and `R⊥` here. -/ | |
| 118 | -theorem sourceFrame_strong (T : ℝ) (hT : 0 < T) | |
| 119 | - (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 120 | - (A A₁ A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 121 | - (hA : ∀ t, A t = (F t).toContinuousLinearMap) | |
| 122 | - (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) | |
| 123 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 124 | - HasDerivWithinAt (extendPath T hT.le A) (A₁ t) (Icc (0 : ℝ) T) t) | |
| 125 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 126 | - HasDerivWithinAt (extendPath T hT.le A₁) (A₂ t) (Icc (0 : ℝ) T) t) | |
| 127 | - (hframe : ∀ t, A₂ t = -((H t).comp (A t))) | |
| 128 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 129 | - (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : | |
| 130 | - let m := fun t => movingNormal (F t) m₀ | |
| 131 | - let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 132 | - ∃ (ξ v : ℝ → U) (a : TimeLp T U), | |
| 133 | - AbsolutelyContinuousOnInterval ξ 0 T ∧ AbsolutelyContinuousOnInterval v 0 T ∧ | |
| 134 | - ξ 0 = 0 ∧ ξ T = 0 ∧ | |
| 135 | - (∀ t : Icc (0 : ℝ) T, F t (R (ξ t) : E) = realPrimitive T u t) ∧ | |
| 136 | - (∀ᵐ t ∂timeMeasure T, HasDerivAt ξ (v t) t) ∧ | |
| 137 | - (∀ᵐ t ∂timeMeasure T, HasDerivAt v (a t) t) ∧ | |
| 138 | - ∀ᵐ t ∂timeMeasure T, | |
| 139 | - gram (extendPath T hT.le (framePath m₀ R T A) t) (a t) = | |
| 140 | - (extendPath T hT.le (framePath m₀ R T A) t).adjoint | |
| 141 | - (f t - (2 : ℝ) • extendPath T hT.le (framePath m₀ R T A₁) t (v t)) := by | |
| 142 | - let Q := framePath m₀ R T A | |
| 143 | - let Q₁ := framePath m₀ R T A₁ | |
| 144 | - let Q₂ := framePath m₀ R T A₂ | |
| 145 | - let m := fun t => movingNormal (F t) m₀ | |
| 146 | - let c := (B⁻¹)^2 | |
| 147 | - have hc : 0 < c := pow_pos (inv_pos.mpr hB) 2 | |
| 148 | - have hQ : ∀ t x, c * ‖x‖^2 ≤ ‖Q t x‖^2 := framePath_lower_bound m₀ R T F A hA B hB hinv | |
| 149 | - have hQd := framePath_hasDerivWithinAt m₀ R T hT.le A A₁ hd | |
| 150 | - have hQ₁d := framePath_hasDerivWithinAt m₀ R T hT.le A₁ A₂ hd₁ | |
| 151 | - let u := transverseSolver T hT.le m H K hK hH hsmall f | |
| 152 | - obtain ⟨v, hξAC, hvAC, _, hξder, hvder, heq⟩ := | |
| 153 | - transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hQd hQ₁d hT m | |
| 154 | - (framePath_tangent m₀ R T F A hA) (framePath_range m₀ R T F A hA) | |
| 155 | - H K hK hH hsmall (framePath_second_equation m₀ R T A A₂ H hframe) f | |
| 156 | - refine ⟨coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E), v, | |
| 157 | - coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H (u : TimeLp T E) f, | |
| 158 | - hξAC, hvAC, coordinatePrimitive_initial T hT.le Q c hc hQ m u, | |
| 159 | - coordinatePrimitive_terminal T hT.le Q c hc hQ (u : TimeLp T E), ?_, hξder, hvder, heq⟩ | |
| 160 | - intro t | |
| 161 | - have hrec := coordinatePrimitive_reconstruct T hT.le Q c hc hQ m | |
| 162 | - (framePath_range m₀ R T F A hA) u t | |
| 163 | - change A t (R (coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E) t) : E) = _ at hrec | |
| 164 | - rw [hA t] at hrec | |
| 165 | - exact hrec | |
| 166 | - | |
| 167 | -end EulerTransverseSourceFrame | |
+173 −1 Euler/TransverseStrongEquation.lean View file
| @@ -1,4 +1,5 @@ | ||
| 1 | -import Euler.TransverseCoordinateRegularity | |
| 1 | +import Euler.TransverseGramPath | |
| 2 | +import Euler.TransverseMomentumRegularity | |
| 2 | 3 | import Euler.TransverseStrongAlgebra |
| 3 | 4 | import Euler.TimeH1FieldProduct |
| 4 | 5 | |
| @@ -11,6 +12,177 @@ Differentiating the momentum identity and using `Q_tt = -H Q` gives the literal | ||
| 11 | 12 | projected equation (10), with no assumed acceleration or differential inverse. |
| 12 | 13 | -/ |
| 13 | 14 | |
| 15 | +/-! ## From `Euler/TransverseCoordinateRegularity.lean` | |
| 16 | + | |
| 17 | +The text of `Euler/TransverseCoordinateRegularity.lean`, folded into this file, which was its only importer. -/ | |
| 18 | + | |
| 19 | +section | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# Genuine time-H¹ transverse coordinates | |
| 23 | + | |
| 24 | +The coordinates are obtained by applying the constructed frame left inverse to | |
| 25 | +the physical displacement. Their time derivative is an actual Bochner L² field, | |
| 26 | +and differentiating the reconstructed displacement gives the exact kinetic | |
| 27 | +coordinate identity used in the strong transverse equation. | |
| 28 | +-/ | |
| 29 | + | |
| 30 | +noncomputable section | |
| 31 | + | |
| 32 | +namespace EulerTransverseCoordinateRegularity | |
| 33 | + | |
| 34 | +open MeasureTheory Set InnerProductSpace ContinuousLinearMap | |
| 35 | + EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution | |
| 36 | + EulerTimeH1OperatorProduct EulerTransverseVariationalInverse | |
| 37 | + EulerTransverseGramInverse EulerTransverseGramPath | |
| 38 | + | |
| 39 | +variable {U E : Type*} | |
| 40 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 41 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 42 | + | |
| 43 | +variable (T : ℝ) (hT : 0 ≤ T) | |
| 44 | + (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 45 | + (c : ℝ) (hc : 0 < c) | |
| 46 | + (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) | |
| 47 | + | |
| 48 | +/-- Canonical coordinates obtained from the actual inverse Gram coefficient. -/ | |
| 49 | +def coordinatePrimitive (u : TimeLp T E) : ℝ → U := | |
| 50 | + productPrimitive T hT (frameLeftInversePath T Q c hc hQ) u | |
| 51 | + | |
| 52 | +/-- The actual L² derivative of the canonical coordinates. -/ | |
| 53 | +def coordinateDerivative (u : TimeLp T E) : TimeLp T U := | |
| 54 | + productDerivative T hT (frameLeftInversePath T Q c hc hQ) | |
| 55 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) u | |
| 56 | + | |
| 57 | +variable (hd : ∀ t : Icc (0 : ℝ) T, | |
| 58 | + HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 59 | + | |
| 60 | +include hd in | |
| 61 | +/-- The canonical coordinates are genuinely absolutely continuous. -/ | |
| 62 | +theorem coordinatePrimitive_absolutelyContinuous (u : TimeLp T E) : | |
| 63 | + AbsolutelyContinuousOnInterval (coordinatePrimitive T hT Q c hc hQ u) 0 T := | |
| 64 | + productPrimitive_absolutelyContinuous T hT (frameLeftInversePath T Q c hc hQ) | |
| 65 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 66 | + (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u | |
| 67 | + | |
| 68 | +include hd in | |
| 69 | +/-- The explicitly constructed L² field is the actual a.e. coordinate derivative. -/ | |
| 70 | +theorem coordinatePrimitive_hasDerivAt_ae (u : TimeLp T E) : | |
| 71 | + ∀ᵐ t ∂timeMeasure T, | |
| 72 | + HasDerivAt (coordinatePrimitive T hT Q c hc hQ u) | |
| 73 | + (coordinateDerivative T hT Q Q₁ c hc hQ u t) t := | |
| 74 | + productPrimitive_hasDerivAt_ae T hT (frameLeftInversePath T Q c hc hQ) | |
| 75 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 76 | + (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u | |
| 77 | + | |
| 78 | +include hd in | |
| 79 | +/-- Integrating the coordinate derivative recovers the canonical coordinates. -/ | |
| 80 | +theorem terminalPrimitive_coordinateDerivative (u : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 81 | + terminalPrimitive T hT (coordinateDerivative T hT Q Q₁ c hc hQ u) t = | |
| 82 | + coordinatePrimitive T hT Q c hc hQ u t := by | |
| 83 | + exact (productPrimitive_eq_realPrimitive T hT (frameLeftInversePath T Q c hc hQ) | |
| 84 | + (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) | |
| 85 | + (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) u t t.property).symm | |
| 86 | + | |
| 87 | +/-- The initial coordinate trace vanishes for every admissible displacement. -/ | |
| 88 | +theorem coordinatePrimitive_initial (m : Icc (0 : ℝ) T → E) | |
| 89 | + (u : transverseDerivatives T hT m) : | |
| 90 | + coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) 0 = 0 := by | |
| 91 | + have hu : realPrimitive T (u : TimeLp T E) 0 = 0 := u.property.1 | |
| 92 | + simp only [coordinatePrimitive, productPrimitive, hu, map_zero] | |
| 93 | + | |
| 94 | +/-- The terminal coordinate trace vanishes identically. -/ | |
| 95 | +theorem coordinatePrimitive_terminal (u : TimeLp T E) : | |
| 96 | + coordinatePrimitive T hT Q c hc hQ u T = 0 := | |
| 97 | + productPrimitive_terminal T hT (frameLeftInversePath T Q c hc hQ) u | |
| 98 | + | |
| 99 | +/-- Reconstruction only requires the prescribed physical displacement to lie | |
| 100 | +in the actual range of the frame. This general statement also applies to | |
| 101 | +infinite-dimensional spatial constraint spaces. -/ | |
| 102 | +theorem coordinatePrimitive_reconstruct_of_range (u : TimeLp T E) | |
| 103 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) | |
| 104 | + (t : Icc (0 : ℝ) T) : | |
| 105 | + Q t (coordinatePrimitive T hT Q c hc hQ u t) = realPrimitive T u t := by | |
| 106 | + obtain ⟨x, hx⟩ := huRange t | |
| 107 | + simp only [coordinatePrimitive, productPrimitive, extendPath, projIcc_of_mem hT t.property] | |
| 108 | + rw [← hx] | |
| 109 | + change Q t (frameLeftInverse (Q t) c hc (hQ t) (Q t x)) = Q t x | |
| 110 | + rw [frameLeftInverse_apply] | |
| 111 | + | |
| 112 | +include hd in | |
| 113 | +/-- The kinetic identity follows from injectivity of the genuine time primitive. -/ | |
| 114 | +theorem coordinateDerivative_reconstruct_of_range (u : TimeLp T E) | |
| 115 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) : | |
| 116 | + productDerivative T hT Q Q₁ (coordinateDerivative T hT Q Q₁ c hc hQ u) = u := by | |
| 117 | + apply terminalPrimitive_injective T hT | |
| 118 | + apply ContinuousMap.ext | |
| 119 | + intro t | |
| 120 | + rw [terminalPrimitive_productDerivative T hT Q Q₁ hd, | |
| 121 | + terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd] | |
| 122 | + exact coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ u huRange t | |
| 123 | + | |
| 124 | +include hd in | |
| 125 | +/-- The L² primitive of the coordinate derivative has the actual coordinate | |
| 126 | +path as its representative. -/ | |
| 127 | +theorem coordinatePrimitive_ae (u : TimeLp T E) : | |
| 128 | + (primitiveTimeLp T hT (coordinateDerivative T hT Q Q₁ c hc hQ u) : ℝ → U) =ᵐ[timeMeasure T] | |
| 129 | + coordinatePrimitive T hT Q c hc hQ u := by | |
| 130 | + have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := | |
| 131 | + ae_restrict_mem measurableSet_Icc | |
| 132 | + filter_upwards [hmem, | |
| 133 | + primitiveTimeLp_ae T hT (coordinateDerivative T hT Q Q₁ c hc hQ u)] with t ht hp | |
| 134 | + exact hp.trans (terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd u ⟨t, ht⟩) | |
| 135 | + | |
| 136 | +include hd in | |
| 137 | +/-- The physical derivative has the literal expression `Q_t ξ + Q ξ_t` a.e. -/ | |
| 138 | +theorem coordinateDerivative_reconstruct_ae_of_range (u : TimeLp T E) | |
| 139 | + (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) : | |
| 140 | + ∀ᵐ t ∂timeMeasure T, | |
| 141 | + u t = extendPath T hT Q₁ t (coordinatePrimitive T hT Q c hc hQ u t) + | |
| 142 | + extendPath T hT Q t (coordinateDerivative T hT Q Q₁ c hc hQ u t) := by | |
| 143 | + have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := | |
| 144 | + ae_restrict_mem measurableSet_Icc | |
| 145 | + have hid := coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd u huRange | |
| 146 | + have hprod := productDerivative_ae T hT Q Q₁ (coordinateDerivative T hT Q Q₁ c hc hQ u) | |
| 147 | + rw [hid] at hprod | |
| 148 | + filter_upwards [hmem, hprod] with t ht hprod | |
| 149 | + rw [hprod] | |
| 150 | + congr 2 | |
| 151 | + exact terminalPrimitive_coordinateDerivative T hT Q Q₁ c hc hQ hd u ⟨t, ht⟩ | |
| 152 | + | |
| 153 | +omit [CompleteSpace U] [CompleteSpace E] in | |
| 154 | +/-- A transverse constraint puts the physical displacement in the frame's range. -/ | |
| 155 | +theorem transverse_range (m : Icc (0 : ℝ) T → E) | |
| 156 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 157 | + (u : transverseDerivatives T hT m) (t : Icc (0 : ℝ) T) : | |
| 158 | + ∃ x : U, Q t x = realPrimitive T (u : TimeLp T E) t := | |
| 159 | + hRange t _ (u.property.2 t) | |
| 160 | + | |
| 161 | +/-- Canonical coordinates reconstruct every admissible transverse displacement. -/ | |
| 162 | +theorem coordinatePrimitive_reconstruct (m : Icc (0 : ℝ) T → E) | |
| 163 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 164 | + (u : transverseDerivatives T hT m) (t : Icc (0 : ℝ) T) : | |
| 165 | + Q t (coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) t) = | |
| 166 | + realPrimitive T (u : TimeLp T E) t := | |
| 167 | + coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ (u : TimeLp T E) | |
| 168 | + (transverse_range T hT Q m hRange u) t | |
| 169 | + | |
| 170 | +include hd in | |
| 171 | +/-- The transverse derivative is the derivative of its reconstructed coordinates. -/ | |
| 172 | +theorem coordinateDerivative_reconstruct (m : Icc (0 : ℝ) T → E) | |
| 173 | + (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 174 | + (u : transverseDerivatives T hT m) : | |
| 175 | + productDerivative T hT Q Q₁ | |
| 176 | + (coordinateDerivative T hT Q Q₁ c hc hQ (u : TimeLp T E)) = | |
| 177 | + (u : TimeLp T E) := | |
| 178 | + coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) | |
| 179 | + (transverse_range T hT Q m hRange u) | |
| 180 | + | |
| 181 | +end EulerTransverseCoordinateRegularity | |
| 182 | +end | |
| 183 | + | |
| 184 | +end | |
| 185 | + | |
| 14 | 186 | noncomputable section |
| 15 | 187 | |
| 16 | 188 | namespace EulerTransverseStrongEquation |
+72 −1 Euler/TransverseVariationalInverse.lean View file
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | import Euler.TerminalTimePrimitive |
| 2 | 2 | import Euler.TransverseVariationalOperator |
| 3 | -import Euler.TransverseFrameCoordinates | |
| 4 | 3 | |
| 5 | 4 | /-! |
| 6 | 5 | # The actual zero-endpoint transverse displacement inverse |
| @@ -16,6 +15,78 @@ coordinate identity `η = F R ξ` and strong coordinate evolution require the | ||
| 16 | 15 | separate frame and regularity arguments; they are not assumed in this file. |
| 17 | 16 | -/ |
| 18 | 17 | |
| 18 | +/-! ## From `Euler/TransverseFrameCoordinates.lean` | |
| 19 | + | |
| 20 | +The text of `Euler/TransverseFrameCoordinates.lean`, folded into this file, which was its only importer. -/ | |
| 21 | + | |
| 22 | +section | |
| 23 | + | |
| 24 | +/-! | |
| 25 | +# Recovering the source's transverse coordinates | |
| 26 | + | |
| 27 | +The moving plane with normal `(F⁻¹)* m₀` is exactly the image under `F` of | |
| 28 | +the fixed plane `m₀⊥`. Orthogonal projection gives a bounded coordinate map, | |
| 29 | +and on the moving plane its reconstruction is the identity. These are | |
| 30 | +coefficient identities, not assumptions about a differential inverse. | |
| 31 | +-/ | |
| 32 | + | |
| 33 | +noncomputable section | |
| 34 | + | |
| 35 | +namespace EulerTransverseFrameCoordinates | |
| 36 | + | |
| 37 | +open InnerProductSpace ContinuousLinearMap | |
| 38 | + | |
| 39 | +variable {E U : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 40 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 41 | + | |
| 42 | +/-- The fixed reference transverse plane. -/ | |
| 43 | +abbrev referencePlane (m₀ : E) : Submodule ℝ E := (ℝ ∙ m₀)ᗮ | |
| 44 | + | |
| 45 | +/-- The actual pulled-back normal used by the packet construction. -/ | |
| 46 | +def movingNormal (F : E ≃L[ℝ] E) (m₀ : E) : E := F.symm.toContinuousLinearMap.adjoint m₀ | |
| 47 | + | |
| 48 | +/-- Bounded recovery of fixed-plane coordinates from a physical displacement. -/ | |
| 49 | +def coordinates (F : E ≃L[ℝ] E) (m₀ : E) : E →L[ℝ] referencePlane m₀ := | |
| 50 | + (referencePlane m₀).orthogonalProjectionOnto.comp F.symm.toContinuousLinearMap | |
| 51 | + | |
| 52 | +/-- Moving tangency is exactly fixed-plane membership after applying `F⁻¹`. -/ | |
| 53 | +theorem tangent_iff (F : E ≃L[ℝ] E) (m₀ η : E) : | |
| 54 | + ⟪movingNormal F m₀, η⟫_ℝ = 0 ↔ F.symm η ∈ referencePlane m₀ := by | |
| 55 | + rw [Submodule.mem_orthogonal_singleton_iff_inner_right] | |
| 56 | + unfold movingNormal | |
| 57 | + rw [adjoint_inner_left] | |
| 58 | + rfl | |
| 59 | + | |
| 60 | +/-- Reconstructing a tangent displacement from its recovered coordinates is exact. -/ | |
| 61 | +theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 62 | + (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : | |
| 63 | + F (coordinates F m₀ η : E) = η := by | |
| 64 | + have hm : F.symm η ∈ referencePlane m₀ := (tangent_iff F m₀ η).1 hη | |
| 65 | + have hp := (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self | |
| 66 | + (⟨F.symm η, hm⟩ : referencePlane m₀) | |
| 67 | + change F ((referencePlane m₀).orthogonalProjectionOnto (F.symm η) : E) = η | |
| 68 | + rw [hp] | |
| 69 | + exact F.apply_symm_apply η | |
| 70 | + | |
| 71 | +omit [CompleteSpace E] in | |
| 72 | +/-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ | |
| 73 | +def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) | |
| 74 | + (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := | |
| 75 | + R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp (coordinates F m₀) | |
| 76 | + | |
| 77 | +/-- The full source reconstruction `η = F R⊥ ξ` follows from moving tangency. -/ | |
| 78 | +theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 79 | + (R : U ≃ₗᵢ[ℝ] referencePlane m₀) (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : | |
| 80 | + F (R (frameCoordinates F m₀ R η) : E) = η := by | |
| 81 | + change F (R (R.symm (coordinates F m₀ η)) : E) = η | |
| 82 | + rw [R.apply_symm_apply] | |
| 83 | + exact reconstruct F m₀ η hη | |
| 84 | + | |
| 85 | +end EulerTransverseFrameCoordinates | |
| 86 | +end | |
| 87 | + | |
| 88 | +end | |
| 89 | + | |
| 19 | 90 | noncomputable section |
| 20 | 91 | |
| 21 | 92 | namespace EulerTransverseVariationalInverse |
+75 −0 docs/s5-folding/ContentTail.lean added View file
| @@ -0,0 +1,75 @@ | ||
| 1 | + | |
| 2 | +-- Every named constant of the two libraries with a hash of its type (and of its value when it is a definition) in which | |
| 3 | +-- an auxiliary constant counts by what it is, not by what it is called: private declarations, nested-proof lemmas, | |
| 4 | +-- matchers and automatically named local instances get their names from the module and from the order of elaboration, | |
| 5 | +-- and a fold changes both. A theorem met inside a term counts by its statement alone. | |
| 6 | +open Lean | |
| 7 | + | |
| 8 | +namespace FoldCheck | |
| 9 | + | |
| 10 | +def isAux (n : Name) : Bool := | |
| 11 | + n.components.any fun c => match c with | |
| 12 | + | .str _ s => s.startsWith "_" || (s.startsWith "match_" && (s.drop 6).all Char.isDigit) || (s.startsWith "proof_" && (s.drop 6).all Char.isDigit) | |
| 13 | + | .num _ _ => true | |
| 14 | + | .anonymous => false | |
| 15 | + | |
| 16 | +def userName (n : Name) : Name := | |
| 17 | + if isPrivateName n then ((n.components.dropWhile fun c => !c.isNum).drop 1).foldl (· ++ ·) `_private else n | |
| 18 | + | |
| 19 | +abbrev M := StateM (Std.HashMap Name UInt64 × Std.HashSet Name) | |
| 20 | + | |
| 21 | +mutual | |
| 22 | + partial def constHash (env : Environment) (n : Name) : M UInt64 := do | |
| 23 | + if let some h := (← get).1[n]? then return h | |
| 24 | + if (← get).2.contains n then return hash (userName n) | |
| 25 | + let some ci := env.find? n | return hash (userName n) | |
| 26 | + modify fun (m, v) => (m, v.insert n) | |
| 27 | + let th ← exprHash env ci.type | |
| 28 | + let (k, vh) ← match ci with | |
| 29 | + | .thmInfo _ => pure ((1 : UInt64), (0 : UInt64)) | |
| 30 | + | .defnInfo d => do pure (2, ← exprHash env d.value) | |
| 31 | + | .opaqueInfo d => do pure (3, ← exprHash env d.value) | |
| 32 | + | .ctorInfo c => pure (4, c.cidx.toUInt64) | |
| 33 | + | .inductInfo _ => pure (5, 0) | |
| 34 | + | .recInfo _ => pure (6, 0) | |
| 35 | + | _ => pure (7, 0) | |
| 36 | + let h := mixHash k (mixHash th vh) | |
| 37 | + modify fun (m, v) => (m.insert n h, v.erase n) | |
| 38 | + return h | |
| 39 | + partial def exprHash (env : Environment) (e : Expr) : M UInt64 := do | |
| 40 | + for u in e.getUsedConstants do | |
| 41 | + if isAux u then discard <| constHash env u | |
| 42 | + let memo := (← get).1 | |
| 43 | + let e' := e.replace fun | |
| 44 | + | .const n ls => if isAux n then some (.const (Name.mkNum `_h (memo.getD n 0).toNat) ls) else none | |
| 45 | + | _ => none | |
| 46 | + return e'.hash | |
| 47 | +end | |
| 48 | + | |
| 49 | +end FoldCheck | |
| 50 | + | |
| 51 | +open FoldCheck in | |
| 52 | +#eval show CoreM Unit from do | |
| 53 | + let env ← getEnv | |
| 54 | + let mods := env.header.moduleNames | |
| 55 | + let proj (m : Name) : Bool := m.getRoot == `NavierStokes || m.getRoot == `Euler | |
| 56 | + let h ← IO.FS.Handle.mk "/out/content.tsv" IO.FS.Mode.write | |
| 57 | + let mut st : Std.HashMap Name UInt64 × Std.HashSet Name := ({}, {}) | |
| 58 | + let mut n := 0 | |
| 59 | + for (c, ci) in env.constants.map₁.toList do | |
| 60 | + let some idx := env.getModuleIdxFor? c | continue | |
| 61 | + unless proj mods[idx.toNat]! do continue | |
| 62 | + if isAux c then continue | |
| 63 | + let (th, st1) := (exprHash env ci.type).run st | |
| 64 | + st := st1 | |
| 65 | + let mut v := "-" | |
| 66 | + match ci with | |
| 67 | + | .defnInfo d => let (vh, st2) := (exprHash env d.value).run st; st := st2; v := toString vh | |
| 68 | + | .opaqueInfo d => let (vh, st2) := (exprHash env d.value).run st; st := st2; v := toString vh | |
| 69 | + | _ => pure () | |
| 70 | + let kind := match ci with | |
| 71 | + | .thmInfo _ => "theorem" | .defnInfo _ => "def" | .axiomInfo _ => "axiom" | .opaqueInfo _ => "opaque" | |
| 72 | + | .inductInfo _ => "inductive" | .ctorInfo _ => "ctor" | .recInfo _ => "rec" | .quotInfo _ => "quot" | |
| 73 | + h.putStrLn s!"{c}\t{kind}\t{th}\t{v}" | |
| 74 | + n := n + 1 | |
| 75 | + IO.println s!"{n} named constants written" | |
+12 −0 docs/s5-folding/README.md View file
| @@ -101,3 +101,15 @@ Each pull request of the series keeps its plan in its route notes (`routes/<bran | ||
| 101 | 101 | ## What this does not show |
| 102 | 102 | |
| 103 | 103 | The wall-clock time of a build on your machine; that every file is now in its best shape for reading (P-8 splits the large ones; nothing here grows past 600 lines). |
| 104 | + | |
| 105 | +## Statements, and the series as it was opened | |
| 106 | + | |
| 107 | +The first pull request of the series was cut from a plan of 582 folds. Before the others were opened, main and the folded tree were both built and every named constant of the two libraries was listed with a hash of its type and, for a definition, of its value (`ContentTail.lean`, after one `import` line a module). In that listing an auxiliary constant inside a term (a private declaration, a nested-proof lemma, an automatically named local instance) counts by what it is, not by its name, and a theorem by its statement: a fold changes the names of such constants and nothing else about them. | |
| 108 | + | |
| 109 | +The first plan did not pass. Of 53,802 named constants, 12 differed. In one, `Euler.ComparatorBridge.compactSolenoidalTests_representation`, the word `divergence` resolved to `Euler.divergence` in the folded file and to `EulerSmoothLimit.divergence` on main: once folded, the text saw more names. The build passed all the same. In the others an instance was found by another path (`NormedCommRing ℂ` through the C⋆-algebra instances, `DistribSMul ℝ` through the semiring), or a proof inside the statement differed. | |
| 110 | + | |
| 111 | +Two changes followed. `fold.py` now puts a folded module's imports where its import line stood, so that every other module is loaded in the order it was loaded before (a plan file says which way it was cut, and `check` follows it, so the first pull request still checks). And five files keep their modules: `Euler/CompactProjectedEulerLaw.lean`, `Euler/CylinderJetLpAlgebra.lean`, `Euler/MeanCutoffDifferenceBound.lean`, `NavierStokes/R3/CompactEnergy.lean`, `NavierStokes/R3/PressureRecovery.lean`. | |
| 112 | + | |
| 113 | +The series as opened is 575 folds into 338 files. On it the two listings are equal: 53,802 named constants, none missing, none with another type or value; the first pull request's twelve folds were checked alone and are equal too. The whole tree goes from 54.73 T instructions over 2,587 files to 50.97 T over 2,012 (−6.9%), in place of the figures at the top of this page. | |
| 114 | + | |
| 115 | +What the listing does not show: that two terms with different hashes mean different things (the twelve were read one by one), or anything about proofs, which are not listed. | |
+30 −11 docs/s5-folding/fold.py View file
| @@ -111,11 +111,21 @@ def plan(src, small, cap, skip=()): | ||
| 111 | 111 | return {a: p for a, p in parts.items() if len(p) > 1} |
| 112 | 112 | |
| 113 | 113 | |
| 114 | -def folded(src, host, parts): | |
| 115 | - """the host's new text""" | |
| 114 | +def folded(src, host, parts, inplace=False): | |
| 115 | + """the host's new text. `inplace`: a folded module's import line is replaced, where it stood, by that module's own | |
| 116 | + imports, so that every other module is loaded in the order it was loaded before (Lean breaks ties between instances | |
| 117 | + by that order); otherwise the folded modules' imports come after the host's own.""" | |
| 116 | 118 | head, mods, body = split(src[host]) |
| 117 | - inside = {module(p) for p in parts} | |
| 118 | - new = [m for m in mods if m not in inside] | |
| 119 | + inside = {module(p): p for p in parts[:-1]} | |
| 120 | + if inplace: | |
| 121 | + new = [] | |
| 122 | + def take(ms): | |
| 123 | + for m in ms: | |
| 124 | + if m in inside: take(split(src[inside[m]])[1]) | |
| 125 | + elif m not in new: new.append(m) | |
| 126 | + take(mods) | |
| 127 | + else: | |
| 128 | + new = [m for m in mods if m not in inside] | |
| 119 | 129 | out_parts = [] |
| 120 | 130 | for p in parts[:-1]: |
| 121 | 131 | h, pm, pb = split(src[p]) |
| @@ -141,10 +151,16 @@ def folded(src, host, parts): | ||
| 141 | 151 | return "\n".join(out + body) |
| 142 | 152 | |
| 143 | 153 | |
| 144 | -def apply(tree, pl): | |
| 154 | +def load(path): | |
| 155 | + """(the folds, whether imports go in place) of a plan file; the first plans were a bare table of folds""" | |
| 156 | + d = json.load(open(path)) | |
| 157 | + return (d["folds"], d.get("imports") == "in place") if "folds" in d else (d, False) | |
| 158 | + | |
| 159 | + | |
| 160 | +def apply(tree, pl, inplace=False): | |
| 145 | 161 | src = read_tree(tree) |
| 146 | 162 | for host, parts in pl.items(): |
| 147 | - text = folded(src, host, parts) | |
| 163 | + text = folded(src, host, parts, inplace) | |
| 148 | 164 | # every line of every folded file and of the host is still there (imports aside) |
| 149 | 165 | want = collections.Counter(l for p in parts for l in (lambda s: s[0] + s[2])(split(src[p])) if l.strip()) |
| 150 | 166 | have = collections.Counter(l for l in text.split("\n") if l.strip() and not IMPORT.match(l)) |
| @@ -153,12 +169,12 @@ def apply(tree, pl): | ||
| 153 | 169 | for p in parts[:-1]: os.remove(os.path.join(tree, p)) |
| 154 | 170 | |
| 155 | 171 | |
| 156 | -def check(repo, pl, rev): | |
| 172 | +def check(repo, pl, rev, inplace=False): | |
| 157 | 173 | """the working tree against what `apply` makes of the revision's text: every changed file, byte for byte""" |
| 158 | 174 | show = lambda f: subprocess.run(["git", "-C", repo, "show", f"{rev}:{f}"], capture_output=True, text=True, check=True).stdout |
| 159 | 175 | bad = [] |
| 160 | 176 | for host, parts in pl.items(): |
| 161 | - want = folded({p: show(p) for p in parts}, host, parts) | |
| 177 | + want = folded({p: show(p) for p in parts}, host, parts, inplace) | |
| 162 | 178 | path = os.path.join(repo, host) |
| 163 | 179 | if not os.path.exists(path) or open(path, encoding="utf-8").read() != want: bad.append(f"{host} is not {rev}'s text folded") |
| 164 | 180 | bad += [f"{p} is still there" for p in parts[:-1] if os.path.exists(os.path.join(repo, p))] |
| @@ -178,6 +194,9 @@ def self_test(): | ||
| 178 | 194 | assert t.startswith("import Mathlib.X\nimport Euler.Bar\nimport Mathlib.Y\n\n/-! # A -/\n"), t |
| 179 | 195 | assert "end Euler.B\nend\n\nend\n" in t and t.index("theorem c") < t.index("theorem b") < t.index("theorem a"), t |
| 180 | 196 | assert unclosed(src["Euler/FooB.lean"].split("\n")) == [("section", ""), ("namespace", "Euler.B")] |
| 197 | + t2 = folded(src, "Euler/FooA.lean", pl["Euler/FooA.lean"], inplace=True) | |
| 198 | + assert t2.startswith("import Mathlib.X\nimport Mathlib.Y\nimport Euler.Bar\n\n/-! # A -/\n"), t2 | |
| 199 | + assert t2.split("\n\n", 1)[1] == t.split("\n\n", 1)[1] | |
| 181 | 200 | assert plan(src, 100, 1000, skip={"Euler/FooB.lean"}) == {} |
| 182 | 201 | assert plan(src, 2, 1000) == {}, plan(src, 2, 1000) |
| 183 | 202 | print("ok") |
| @@ -191,10 +210,10 @@ if __name__ == "__main__": | ||
| 191 | 210 | src = read_tree(a[1]) |
| 192 | 211 | skip = set(open(opt("--skip", "")).read().split()) if "--skip" in a else set() |
| 193 | 212 | pl = plan(src, int(opt("--small", 200)), int(opt("--cap", 600)), skip) |
| 194 | - json.dump(pl, open(a[2], "w"), indent=0) | |
| 213 | + json.dump({"imports": "in place", "folds": pl}, open(a[2], "w"), indent=0) | |
| 195 | 214 | n = sum(len(p) - 1 for p in pl.values()) |
| 196 | 215 | print(f"folds: {n} modules into {len(pl)} files in {len({fam(h) for h in pl})} families; largest file after: {max((sum(src[p].count(chr(10)) for p in ps), h) for h, ps in pl.items()) if pl else None}") |
| 197 | 216 | elif a[0] == "check": |
| 198 | - sys.exit(check(a[1], json.load(open(a[2])), a[3] if len(a) > 3 else "origin/main")) | |
| 217 | + pl, inplace = load(a[2]); sys.exit(check(a[1], pl, a[3] if len(a) > 3 else "origin/main", inplace)) | |
| 199 | 218 | elif a[0] == "apply": |
| 200 | - pl = json.load(open(a[2])); apply(a[1], pl); print("applied", sum(len(p) - 1 for p in pl.values()), "folds") | |
| 219 | + pl, inplace = load(a[2]); apply(a[1], pl, inplace); print("applied", sum(len(p) - 1 for p in pl.values()), "folds") | |
+16 −0 routes/s5-euler-transverse-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-euler-transverse-1 | |
| 6 | + | |
| 7 | +The family `Euler/Transverse*` for S-5 (a change from Lean Pool's cleaned copy: fewer modules). Folds the 41 modules | |
| 8 | +of the family that exactly one file imports into that file, unchanged, each under a `## From` heading in a `section` | |
| 9 | +of its own; the file takes over the module's imports. The folds are in `plan.json` here; `docs/s5-folding/fold.py` | |
| 10 | +`check . routes/s5-euler-transverse-1/plan.json` remakes every changed file from `origin/main`'s text and compares it | |
| 11 | +byte for byte. 26 files grow, 41 modules are deleted; the statements listing is in `docs/s5-folding/`. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push and open the pull request; `challenge` answers in seconds and `build` takes twenty minutes or more, and the | |
| 16 | +maintainer agent reads both verdicts. Nothing else to do on this unit. | |
+124 −0 routes/s5-euler-transverse-1/plan.json added View file
| @@ -0,0 +1,124 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"Euler/TransverseActivationSelection.lean": [ | |
| 5 | +"Euler/TransverseActivationTrial.lean", | |
| 6 | +"Euler/TransverseActivationSelection.lean" | |
| 7 | +], | |
| 8 | +"Euler/TransverseEndpointBounds.lean": [ | |
| 9 | +"Euler/TransverseFixedEndpoint.lean", | |
| 10 | +"Euler/TransverseEndpointParameter.lean", | |
| 11 | +"Euler/TransverseEndpointBounds.lean" | |
| 12 | +], | |
| 13 | +"Euler/TransverseEndpointCoordinates.lean": [ | |
| 14 | +"Euler/TransverseEndpointEquation.lean", | |
| 15 | +"Euler/TransverseInitialInverse.lean", | |
| 16 | +"Euler/TransverseEndpointCoordinates.lean" | |
| 17 | +], | |
| 18 | +"Euler/TransverseEndpointVelocity.lean": [ | |
| 19 | +"Euler/TransverseEndpointMomentum.lean", | |
| 20 | +"Euler/TransverseEndpointGreen.lean", | |
| 21 | +"Euler/TransverseEndpointVelocity.lean" | |
| 22 | +], | |
| 23 | +"Euler/TransverseFixedEvolution.lean": [ | |
| 24 | +"Euler/TransverseFixedStrong.lean", | |
| 25 | +"Euler/TransverseFixedEvolution.lean" | |
| 26 | +], | |
| 27 | +"Euler/TransverseFixedSobolev.lean": [ | |
| 28 | +"Euler/TransverseCoefficientGevrey.lean", | |
| 29 | +"Euler/TransverseGevreyInverse.lean", | |
| 30 | +"Euler/TransverseFixedSobolev.lean" | |
| 31 | +], | |
| 32 | +"Euler/TransverseForwardCoefficientGevrey.lean": [ | |
| 33 | +"Euler/TransverseForwardRegularity.lean", | |
| 34 | +"Euler/TransverseForwardCoefficientGevrey.lean" | |
| 35 | +], | |
| 36 | +"Euler/TransverseHistoryBounds.lean": [ | |
| 37 | +"Euler/TransverseGeneratorDifference.lean", | |
| 38 | +"Euler/TransverseHistoryBounds.lean" | |
| 39 | +], | |
| 40 | +"Euler/TransverseHistoryParentCost.lean": [ | |
| 41 | +"Euler/TransverseHistoryPolynomialCost.lean", | |
| 42 | +"Euler/TransverseHistoryParentCost.lean" | |
| 43 | +], | |
| 44 | +"Euler/TransversePacketCorrectorOperator.lean": [ | |
| 45 | +"Euler/TransversePacketCorrectorMean.lean", | |
| 46 | +"Euler/TransversePacketCorrectorOperator.lean" | |
| 47 | +], | |
| 48 | +"Euler/TransversePacketCylinderFields.lean": [ | |
| 49 | +"Euler/TransversePacketCorrectorSupport.lean", | |
| 50 | +"Euler/TransversePacketCylinderFields.lean" | |
| 51 | +], | |
| 52 | +"Euler/TransversePacketData.lean": [ | |
| 53 | +"Euler/TransverseBoundedFrame.lean", | |
| 54 | +"Euler/TransverseBoundedGeometry.lean", | |
| 55 | +"Euler/TransversePacketData.lean" | |
| 56 | +], | |
| 57 | +"Euler/TransversePacketForwardBounds.lean": [ | |
| 58 | +"Euler/TransversePacketHistoryBounds.lean", | |
| 59 | +"Euler/TransversePacketForwardBounds.lean" | |
| 60 | +], | |
| 61 | +"Euler/TransversePacketForwardFullBounds.lean": [ | |
| 62 | +"Euler/TransversePacketPairAmplitude.lean", | |
| 63 | +"Euler/TransversePacketCorrectorBounds.lean", | |
| 64 | +"Euler/TransversePacketForwardNorms.lean", | |
| 65 | +"Euler/TransversePacketPressureGradientBounds.lean", | |
| 66 | +"Euler/TransversePacketForwardFullBounds.lean" | |
| 67 | +], | |
| 68 | +"Euler/TransversePacketJoinedFullBounds.lean": [ | |
| 69 | +"Euler/TransversePacketJoinedUnitBounds.lean", | |
| 70 | +"Euler/TransversePacketJoinedCorrectorBounds.lean", | |
| 71 | +"Euler/TransversePacketJoinedBounds.lean", | |
| 72 | +"Euler/TransversePacketJoinedFullBounds.lean" | |
| 73 | +], | |
| 74 | +"Euler/TransversePacketJoinedProvider.lean": [ | |
| 75 | +"Euler/TransversePacketHistoryParity.lean", | |
| 76 | +"Euler/TransversePacketJoinedCorrectorSupport.lean", | |
| 77 | +"Euler/TransversePacketJoinedParity.lean", | |
| 78 | +"Euler/TransversePacketJoinedEquation.lean", | |
| 79 | +"Euler/TransversePacketJoinedProvider.lean" | |
| 80 | +], | |
| 81 | +"Euler/TransversePacketJoinedSupport.lean": [ | |
| 82 | +"Euler/TransversePacketRegularity.lean", | |
| 83 | +"Euler/TransversePacketJoinedSupport.lean" | |
| 84 | +], | |
| 85 | +"Euler/TransversePacketNormalBudget.lean": [ | |
| 86 | +"Euler/TransversePacketCoefficientBounds.lean", | |
| 87 | +"Euler/TransversePacketNormalBudget.lean" | |
| 88 | +], | |
| 89 | +"Euler/TransversePacketPrimaryField.lean": [ | |
| 90 | +"Euler/TransversePacketPrimaryEquation.lean", | |
| 91 | +"Euler/TransversePacketPrimaryParity.lean", | |
| 92 | +"Euler/TransversePacketPrimaryField.lean" | |
| 93 | +], | |
| 94 | +"Euler/TransversePacketPrimaryFullBounds.lean": [ | |
| 95 | +"Euler/TransversePacketPrimaryUnitBounds.lean", | |
| 96 | +"Euler/TransversePacketPrimaryBounds.lean", | |
| 97 | +"Euler/TransversePacketPrimaryFullBounds.lean" | |
| 98 | +], | |
| 99 | +"Euler/TransversePacketPrimaryHistory.lean": [ | |
| 100 | +"Euler/TransversePacketEndpointPointwise.lean", | |
| 101 | +"Euler/TransversePacketPrimaryHistory.lean" | |
| 102 | +], | |
| 103 | +"Euler/TransversePacketPrimaryPaths.lean": [ | |
| 104 | +"Euler/TransversePacketPrimaryMatching.lean", | |
| 105 | +"Euler/TransversePacketPrimaryPaths.lean" | |
| 106 | +], | |
| 107 | +"Euler/TransversePacketTraceMatching.lean": [ | |
| 108 | +"Euler/TransversePacketMatching.lean", | |
| 109 | +"Euler/TransversePacketTraceMatching.lean" | |
| 110 | +], | |
| 111 | +"Euler/TransverseSourceCoefficientPath.lean": [ | |
| 112 | +"Euler/TransverseSourceFrame.lean", | |
| 113 | +"Euler/TransverseSourceCoefficientPath.lean" | |
| 114 | +], | |
| 115 | +"Euler/TransverseStrongEquation.lean": [ | |
| 116 | +"Euler/TransverseCoordinateRegularity.lean", | |
| 117 | +"Euler/TransverseStrongEquation.lean" | |
| 118 | +], | |
| 119 | +"Euler/TransverseVariationalInverse.lean": [ | |
| 120 | +"Euler/TransverseFrameCoordinates.lean", | |
| 121 | +"Euler/TransverseVariationalInverse.lean" | |
| 122 | +] | |
| 123 | +} | |
| 124 | +} | |