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

Merge pull request #192 from s1-euler-transverse-1
Browse fileschore(Euler/Transverse): delete 217 declarations nothing uses
Checks
challenge Program · challenge files and build config
Details
+0 −29 Euler/TransverseCoefficientGevrey.lean View file
| @@ -33,9 +33,6 @@ def derivativeCost (T C₀ C₁ : ℝ) : ℝ := T*C₁+C₀ | ||
| 33 | 33 | def formCost (T C₀ C₁ CH : ℝ) : ℝ := |
| 34 | 34 | 9 * (derivativeCost T C₀ C₁)^2 * (1 + T^2*CH) |
| 35 | 35 | |
| 36 | -/-- The polynomial cost of the actual weak forcing term. -/ | |
| 37 | -def forcingCost (T C₀ C₁ : ℝ) : ℝ := 3 * (T * derivativeCost T C₀ C₁) | |
| 38 | - | |
| 39 | 36 | omit [CompleteSpace U] [CompleteSpace E] in |
| 40 | 37 | /-- Every actual derivative of the fixed kinetic map has the same factorial bound. -/ |
| 41 | 38 | theorem fixedFrameDerivative_bound (T : ℝ) (hT : 0 ≤ T) |
| @@ -147,30 +144,4 @@ theorem fixedFrameOperator_bound (T : ℝ) (hT : 0 ≤ T) | ||
| 147 | 144 | convert h using 1 |
| 148 | 145 | rfl |
| 149 | 146 | |
| 150 | -/-- The genuine weak right side has the input shift with a fixed polynomial cost. -/ | |
| 151 | -theorem fixedForcing_bound (T : ℝ) (hT : 0 ≤ T) | |
| 152 | - (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) | |
| 153 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 154 | - (R C₀ C₁ : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 155 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀ * majorant R 0 n) | |
| 156 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant R 0 n) | |
| 157 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 158 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 159 | - (n : ℕ) (x : P) : | |
| 160 | - ‖iteratedFDeriv ℝ n | |
| 161 | - (fun y => (-(fixedFramePrimitive T hT (Q y) (Q₁ y)).adjoint) (f y)) x‖ ≤ | |
| 162 | - forcingCost T C₀ C₁ * majorant R d n := by | |
| 163 | - let Z := fun y => fixedFramePrimitive T hT (Q y) (Q₁ y) | |
| 164 | - have hZ : ContDiff ℝ ∞ Z := contDiff_fixedFramePrimitive T hT Q Q₁ hQ hQ₁ | |
| 165 | - have hZT : ContDiff ℝ ∞ (fun y => (Z y).adjoint) := | |
| 166 | - contDiff_adjoint hZ | |
| 167 | - have hC : 0 ≤ T * derivativeCost T C₀ C₁ := by unfold derivativeCost; positivity | |
| 168 | - have hbound := adjoint_bound Z hZ R (T * derivativeCost T C₀ C₁) hR hC 0 | |
| 169 | - (fixedFramePrimitive_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR hC₀ hC₁ hbQ hbQ₁) | |
| 170 | - have hp (k : ℕ) (y : P) := clm_apply_bound (fun z => -(Z z).adjoint) f | |
| 171 | - hZT.neg hf R (T * derivativeCost T C₀ C₁) 1 hR hC zero_le_one 0 d | |
| 172 | - (neg_bound (fun z => (Z z).adjoint) R _ 0 hbound) | |
| 173 | - (by simpa only [one_mul] using hbf) k y | |
| 174 | - simpa only [forcingCost, mul_one, Nat.zero_add] using hp n x | |
| 175 | - | |
| 176 | 147 | end EulerTransverseCoefficientGevrey |
+0 −12 Euler/TransverseCoordinateRegularity.lean View file
| @@ -161,16 +161,4 @@ theorem coordinateDerivative_reconstruct (m : Icc (0 : ℝ) T → E) | ||
| 161 | 161 | coordinateDerivative_reconstruct_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) |
| 162 | 162 | (transverse_range T hT Q m hRange u) |
| 163 | 163 | |
| 164 | -include hd in | |
| 165 | -/-- The transverse physical derivative has its actual coordinate expression a.e. -/ | |
| 166 | -theorem coordinateDerivative_reconstruct_ae (m : Icc (0 : ℝ) T → E) | |
| 167 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 168 | - (u : transverseDerivatives T hT m) : | |
| 169 | - ∀ᵐ t ∂timeMeasure T, | |
| 170 | - (u : TimeLp T E) t = | |
| 171 | - extendPath T hT Q₁ t (coordinatePrimitive T hT Q c hc hQ (u : TimeLp T E) t) + | |
| 172 | - extendPath T hT Q t (coordinateDerivative T hT Q Q₁ c hc hQ (u : TimeLp T E) t) := | |
| 173 | - coordinateDerivative_reconstruct_ae_of_range T hT Q Q₁ c hc hQ hd (u : TimeLp T E) | |
| 174 | - (transverse_range T hT Q m hRange u) | |
| 175 | - | |
| 176 | 164 | end EulerTransverseCoordinateRegularity |
+0 −16 Euler/TransverseEndpointDifference.lean View file
| @@ -180,20 +180,4 @@ variable (m n : Icc (0 : ℝ) T → E) | ||
| 180 | 180 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ v : U, Q t v = η) |
| 181 | 181 | (hRange' : ∀ t η, ⟪n t, η⟫_ℝ = 0 → ∃ v : U, P t v = η) |
| 182 | 182 | |
| 183 | -include c hc hQ hd hP hp hm hn hRange hRange' in | |
| 184 | -/-- A genuine neighboring-label bound on the physical endpoint solutions. -/ | |
| 185 | -theorem affineEndpoint_sub_norm_le (d a r : ℝ) | |
| 186 | - (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hD' : T * ‖P₁‖ + ‖P‖ ≤ d) | |
| 187 | - (hA : 1 + T ^ 2 * ‖H‖ ≤ a) (hA' : 1 + T ^ 2 * ‖G‖ ≤ a) | |
| 188 | - (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) : | |
| 189 | - ‖endpointDerivative T hT m H K hK hH hsmall (affineTrial T hT Q Q₁) - | |
| 190 | - endpointDerivative T hT n G K hK hG hsmall (affineTrial T hT P P₁)‖ ≤ | |
| 191 | - affineCost T * endpointDifferenceCost d (2*r^2) a | |
| 192 | - (derivativeDistance T Q Q₁ P P₁) (T^2*‖H-G‖) := by | |
| 193 | - rw [← fixedEndpointDerivative_eq_endpoint T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 194 | - m hm hRange, ← fixedEndpointDerivative_eq_endpoint T hT P P₁ G c hc hP hp K hK hG hsmall | |
| 195 | - n hn hRange'] | |
| 196 | - exact fixedAffineEndpoint_sub_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 197 | - P P₁ G hP hp hG d a r hD hD' hA hA' hr hr' | |
| 198 | - | |
| 199 | 183 | end EulerTransverseEndpointDifference |
+0 −5 Euler/TransverseEndpointEnergy.lean View file
| @@ -107,11 +107,6 @@ def dirichletToNeumann (L : U →L[ℝ] TimeLp T E) : U →L[ℝ] U := | ||
| 107 | 107 | endpointOperator (transverseDerivatives T hT m) (energyOperator T hT H) |
| 108 | 108 | (1 / 2) (by norm_num) (energyOperator_coercive T hT H K hK hH hsmall) L |
| 109 | 109 | |
| 110 | -omit [CompleteSpace U] in | |
| 111 | -theorem endpointDisplacement_initial (L : U →L[ℝ] TimeLp T E) (Y : U) : | |
| 112 | - endpointDisplacement T hT m H K hK hH hsmall L Y ⟨0, le_rfl, hT⟩ = 0 := | |
| 113 | - initialPrimitive_initial T hT _ | |
| 114 | - | |
| 115 | 110 | omit [CompleteSpace U] in |
| 116 | 111 | theorem endpointDerivative_sub_mem (L : U →L[ℝ] TimeLp T E) (Y : U) : |
| 117 | 112 | endpointDerivative T hT m H K hK hH hsmall L Y - L Y ∈ transverseDerivatives T hT m := |
+0 −15 Euler/TransverseEndpointMomentum.lean View file
| @@ -138,19 +138,4 @@ theorem momentumPath_ae_of_weak (hTpos : 0 < T) (u : TimeLp T E) | ||
| 138 | 138 | constantField_ae T hT (terminalMomentum T hT Q Q₁ H u)] with t ha hp hc |
| 139 | 139 | simpa only [Pi.add_apply, hp, hc, momentumPath] using ha |
| 140 | 140 | |
| 141 | -/-- The momentum of the constructed endpoint solution has this actual continuous representative. -/ | |
| 142 | -theorem endpointDerivative_momentumPath_ae (hTpos : 0 < T) | |
| 143 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 144 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 145 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 146 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 147 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) | |
| 148 | - {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | |
| 149 | - (L : V →L[ℝ] TimeLp T E) (Y : V) : | |
| 150 | - let u := endpointDerivative T hT m H K hK hH hsmall L Y | |
| 151 | - (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] momentumPath T hT Q Q₁ H u := by | |
| 152 | - apply momentumPath_ae_of_weak T hT Q Q₁ H hTpos | |
| 153 | - exact initialMomentum_weak T hT Q Q₁ H hd m hm _ | |
| 154 | - (endpointDerivative_weak T hT m H K hK hH hsmall L Y) | |
| 155 | - | |
| 156 | 141 | end EulerTransverseEndpointMomentum |
+0 −74 Euler/TransverseEndpointParameter.lean View file
| @@ -33,68 +33,12 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 33 | 33 | (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 34 | 34 | {n : ℕ∞ω} |
| 35 | 35 | |
| 36 | -theorem contDiff_initialEnergy (hH : ContDiff ℝ n H) : | |
| 37 | - ContDiff ℝ n (fun x => energyOperator T hT (H x)) := | |
| 38 | - contDiff_const.sub | |
| 39 | - (contDiff_const.clm_comp ((contDiff_timeMultiplier T hT H hH).clm_comp contDiff_const)) | |
| 40 | - | |
| 41 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 42 | -theorem contDiff_initialProductDerivative (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) : | |
| 43 | - ContDiff ℝ n (fun x => initialProductDerivative T hT (Q x) (Q₁ x)) := | |
| 44 | - ((contDiff_timeMultiplier T hT Q₁ hQ₁).clm_comp contDiff_const).add | |
| 45 | - (contDiff_timeMultiplier T hT Q hQ) | |
| 46 | - | |
| 47 | 36 | variable (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c * ‖v‖ ^ 2 ≤ ‖Q x t v‖ ^ 2) |
| 48 | 37 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 49 | 38 | HasDerivWithinAt (extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) |
| 50 | 39 | (K : ℝ) (hK : 0 ≤ K) (hPotential : ∀ x t v, ⟪H x t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) |
| 51 | 40 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 52 | 41 | |
| 53 | -theorem contDiff_fixedEndpointCorrection | |
| 54 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 55 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) : | |
| 56 | - ContDiff ℝ n (fun x => fixedEndpointCorrection T hT (Q x) (Q₁ x) (H x) | |
| 57 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := by | |
| 58 | - have hA := contDiff_fixedFrameOperator T hT Q Q₁ H hQ hQ₁ hH | |
| 59 | - have hi := contDiff_coerciveInverse_variable | |
| 60 | - (fun x => fixedFrameOperator T hT (Q x) (Q₁ x) (H x)) | |
| 61 | - (fun x => fixedCoercivity T (Q x) (Q₁ x) c) | |
| 62 | - (fun x => fixedCoercivity_pos T hT (Q x) (Q₁ x) c hc) | |
| 63 | - (fun x => fixedFrameOperator_coercive T hT (Q x) (Q₁ x) (H x) | |
| 64 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall) hA | |
| 65 | - have hD := contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁ | |
| 66 | - have hE := contDiff_initialEnergy T hT H hH | |
| 67 | - exact hi.clm_comp ((contDiff_adjoint hD).clm_comp (hE.clm_comp hL)) | |
| 68 | - | |
| 69 | -theorem contDiff_fixedEndpointDerivative | |
| 70 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 71 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) : | |
| 72 | - ContDiff ℝ n (fun x => fixedEndpointDerivative T hT (Q x) (Q₁ x) (H x) | |
| 73 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := | |
| 74 | - hL.sub ((contDiff_fixedFrameDerivative T hT Q Q₁ hQ hQ₁).clm_comp | |
| 75 | - (contDiff_fixedEndpointCorrection T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 76 | - hQ hQ₁ hH L hL)) | |
| 77 | - | |
| 78 | -include c hc hLower hd in | |
| 79 | -/-- The physical endpoint solution inherits the proved parameter regularity. -/ | |
| 80 | -theorem contDiff_endpointDerivative | |
| 81 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 82 | - (L : P → V →L[ℝ] TimeLp T E) (hL : ContDiff ℝ n L) | |
| 83 | - (m : P → Icc (0 : ℝ) T → E) (hm : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 84 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) : | |
| 85 | - ContDiff ℝ n (fun x => endpointDerivative T hT (m x) (H x) | |
| 86 | - K hK (hPotential x) hsmall (L x)) := by | |
| 87 | - have he : (fun x => endpointDerivative T hT (m x) (H x) | |
| 88 | - K hK (hPotential x) hsmall (L x)) = | |
| 89 | - (fun x => fixedEndpointDerivative T hT (Q x) (Q₁ x) (H x) | |
| 90 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (L x)) := by | |
| 91 | - funext x | |
| 92 | - exact (fixedEndpointDerivative_eq_endpoint T hT (Q x) (Q₁ x) (H x) | |
| 93 | - c hc (hLower x) (hd x) K hK (hPotential x) hsmall (m x) (hm x) (hRange x) (L x)).symm | |
| 94 | - rw [he] | |
| 95 | - exact contDiff_fixedEndpointDerivative T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 96 | - hQ hQ₁ hH L hL | |
| 97 | - | |
| 98 | 42 | section AffineTrial |
| 99 | 43 | |
| 100 | 44 | variable (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| @@ -134,22 +78,4 @@ theorem affineTrial_tangent | ||
| 134 | 78 | |
| 135 | 79 | end AffineTrial |
| 136 | 80 | |
| 137 | -omit [CompleteSpace U] [CompleteSpace E] in | |
| 138 | -theorem contDiff_affineTrial (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) : | |
| 139 | - ContDiff ℝ n (fun x => affineTrial T hT (Q x) (Q₁ x)) := | |
| 140 | - (contDiff_initialProductDerivative T hT Q Q₁ hQ hQ₁).clm_comp contDiff_const | |
| 141 | - | |
| 142 | -include c hc hLower hd in | |
| 143 | -/-- Neighboring labels use precisely the same terminal coordinate, and the | |
| 144 | -resulting physical derivatives have the coefficient parameter regularity. -/ | |
| 145 | -theorem contDiff_affineEndpoint | |
| 146 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 147 | - (m : P → Icc (0 : ℝ) T → E) (hm : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 148 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) (ξT : U) : | |
| 149 | - ContDiff ℝ n (fun x => endpointDerivative T hT (m x) (H x) | |
| 150 | - K hK (hPotential x) hsmall (affineTrial T hT (Q x) (Q₁ x)) ξT) := | |
| 151 | - (contDiff_endpointDerivative T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 152 | - hQ hQ₁ hH (fun x => affineTrial T hT (Q x) (Q₁ x)) | |
| 153 | - (contDiff_affineTrial T hT Q Q₁ hQ hQ₁) m hm hRange).clm_apply contDiff_const | |
| 154 | - | |
| 155 | 81 | end EulerTransverseEndpointParameter |
+0 −29 Euler/TransverseEndpointUniqueness.lean View file
| @@ -81,35 +81,6 @@ theorem endpointDerivative_unique (L : V →L[ℝ] TimeLp T E) (Y : V) | ||
| 81 | 81 | have hn : ‖u - w‖ = 0 := by nlinarith only [hc, norm_nonneg (u - w)] |
| 82 | 82 | exact sub_eq_zero.mp (norm_eq_zero.mp hn) |
| 83 | 83 | |
| 84 | -/-- The stationary output depends only on the terminal trace, not on the trial lift. -/ | |
| 85 | -theorem endpointDerivative_eq_of_trial_terminal | |
| 86 | - (L₁ L₂ : V →L[ℝ] TimeLp T E) | |
| 87 | - (hL₁ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₁ Y) t⟫_ℝ = 0) | |
| 88 | - (hL₂ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₂ Y) t⟫_ℝ = 0) | |
| 89 | - (hterminal : ∀ Y, initialRealPrimitive T (L₁ Y) T = initialRealPrimitive T (L₂ Y) T) : | |
| 90 | - endpointDerivative T hT m H K hK hH hsmall L₁ = | |
| 91 | - endpointDerivative T hT m H K hK hH hsmall L₂ := by | |
| 92 | - apply ContinuousLinearMap.ext | |
| 93 | - intro Y | |
| 94 | - exact stationaryPart_eq_of_sub_mem (transverseDerivatives T hT m) (energyOperator T hT H) | |
| 95 | - (1 / 2) (by norm_num) (energyOperator_coercive T hT H K hK hH hsmall) (L₁ Y) (L₂ Y) | |
| 96 | - (sub_mem_transverse_of_terminal T hT m (L₁ Y) (L₂ Y) (hL₁ Y) (hL₂ Y) (hterminal Y)) | |
| 97 | - | |
| 98 | 84 | variable [CompleteSpace V] |
| 99 | 85 | |
| 100 | -theorem dirichletToNeumann_eq_of_trial_terminal | |
| 101 | - (L₁ L₂ : V →L[ℝ] TimeLp T E) | |
| 102 | - (hL₁ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₁ Y) t⟫_ℝ = 0) | |
| 103 | - (hL₂ : ∀ Y t, ⟪m t, initialRealPrimitive T (L₂ Y) t⟫_ℝ = 0) | |
| 104 | - (hterminal : ∀ Y, initialRealPrimitive T (L₁ Y) T = initialRealPrimitive T (L₂ Y) T) : | |
| 105 | - dirichletToNeumann T hT m H K hK hH hsmall L₁ = | |
| 106 | - dirichletToNeumann T hT m H K hK hH hsmall L₂ := by | |
| 107 | - have he := endpointDerivative_eq_of_trial_terminal T hT m H K hK hH hsmall | |
| 108 | - L₁ L₂ hL₁ hL₂ hterminal | |
| 109 | - apply ContinuousLinearMap.ext | |
| 110 | - intro Y | |
| 111 | - apply ext_inner_right ℝ | |
| 112 | - intro Z | |
| 113 | - rw [dirichletToNeumann_inner, dirichletToNeumann_inner, he] | |
| 114 | - | |
| 115 | 86 | end EulerTransverseEndpointUniqueness |
+0 −27 Euler/TransverseFixedSpaceInverse.lean View file
| @@ -128,31 +128,4 @@ theorem fixedFrameSolver_unique (f : TimeLp T E) (u : zeroTraceDerivatives (U := | ||
| 128 | 128 | intro v |
| 129 | 129 | rw [fixedFrameOperator_inner, hu, fixedFrameOperator_inner, fixedFrameSolver_weak] |
| 130 | 130 | |
| 131 | -/-- The new fixed-space inverse is exactly the coordinates of the original | |
| 132 | -physical transverse solve, rather than a separate unconnected construction. -/ | |
| 133 | -theorem fixedFrameSolver_eq_transverse (m : Icc (0 : ℝ) T → E) | |
| 134 | - (hTangent : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 135 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 136 | - (f : TimeLp T E) : | |
| 137 | - fixedFrameSolver T hT Q Q₁ H c hc hQ hd K hK hH hsmall f = | |
| 138 | - transverseBackward T hT Q Q₁ c hc hQ hd m | |
| 139 | - (transverseSolver T hT m H K hK hH hsmall f) := by | |
| 140 | - symm | |
| 141 | - apply fixedFrameSolver_unique T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 142 | - intro v | |
| 143 | - let u := transverseSolver T hT m H K hK hH hsmall f | |
| 144 | - have h := transverseSolver_weak T hT m H K hK hH hsmall f | |
| 145 | - (transverseForward T hT Q Q₁ hd m hTangent v) | |
| 146 | - have hu := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) | |
| 147 | - (transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange u) | |
| 148 | - change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u) = | |
| 149 | - (u : TimeLp T E) at hu | |
| 150 | - change ⟪fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u), | |
| 151 | - fixedFrameDerivative T hT Q Q₁ v⟫_ℝ - | |
| 152 | - ⟪timeMultiplier T hT H (primitiveTimeLp T hT | |
| 153 | - (fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m u))), | |
| 154 | - fixedFramePrimitive T hT Q Q₁ v⟫_ℝ = _ | |
| 155 | - rw [hu] | |
| 156 | - exact h | |
| 157 | - | |
| 158 | 131 | end EulerTransverseFixedSpaceInverse |
+0 −23 Euler/TransverseForwardCoefficientGevrey.lean View file
| @@ -101,27 +101,4 @@ theorem generator_bound (n : ℕ) (x : P) : | ||
| 101 | 101 | norm_num only [norm_neg, Real.norm_ofNat] |
| 102 | 102 | exact (mul_le_mul_of_nonneg_left hSb (by norm_num : (0 : ℝ) ≤ 2)).trans_eq (by ring) |
| 103 | 103 | |
| 104 | -include hQr hRc hC₀ hRi hbQ in | |
| 105 | -/-- Multiplication by the actual projected-forcing coefficient preserves the | |
| 106 | -input factorial shift, with a polynomial amplitude. -/ | |
| 107 | -theorem projected_forcing_bound (f : P → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ ∞ f) | |
| 108 | - (R D : ℝ) (hR : 4*Ri ≤ R) (hD : 0 ≤ D) (d : ℕ) | |
| 109 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) (n : ℕ) (x : P) : | |
| 110 | - ‖iteratedFDeriv ℝ n (fun y => forcingOperator T (Q y) c hc (hQ y) (f y)) x‖ ≤ | |
| 111 | - (9*Ri*C₀*D)*majorant R d n := by | |
| 112 | - have hi := (inverseRadius_bounds c C₀ Rc Ri hc hRc hRi).1 | |
| 113 | - have hrad : 0 ≤ 4*Ri := by positivity | |
| 114 | - have hR0 : 0 ≤ R := hrad.trans hR | |
| 115 | - have hbL (j : ℕ) (y : P) : | |
| 116 | - ‖iteratedFDeriv ℝ j (fun z => frameLeftInversePath T (Q z) c hc (hQ z)) y‖ ≤ | |
| 117 | - (3*Ri*C₀)*majorant R 0 j := | |
| 118 | - (frameLeftInversePath_bound T Q c hc hQ hQr Rc C₀ Ri hRc hC₀ hRi hbQ j y).trans | |
| 119 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) R hrad hR 0 j) (by positivity)) | |
| 120 | - have h := apply_bound (fun y => frameLeftInversePath T (Q y) c hc (hQ y)) f | |
| 121 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hf R (3*Ri*C₀) D hR0 (by positivity) hD 0 d hbL hbf n x | |
| 122 | - have he : 3*(3*Ri*C₀)*D = 9*Ri*C₀*D := by ring | |
| 123 | - simp only [Nat.zero_add, he] at h | |
| 124 | - convert h using 1 | |
| 125 | - all_goals rfl | |
| 126 | - | |
| 127 | 104 | end EulerTransverseForwardCoefficientGevrey |
+0 −11 Euler/TransverseForwardInverse.lean View file
| @@ -90,13 +90,6 @@ theorem coordinate_equation (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : | ||
| 90 | 90 | rw [map_add, map_smul, gram_inverse_apply, gram_inverse_apply, map_sub, map_smul] |
| 91 | 91 | module |
| 92 | 92 | |
| 93 | -/-- Physical velocity is tangent at every time because it lies in the frame range. -/ | |
| 94 | -theorem velocity_tangent (m : Icc (0 : ℝ) T → E) | |
| 95 | - (hTangent : ∀ t v, ⟪m t,Q t v⟫_ℝ = 0) | |
| 96 | - (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : | |
| 97 | - ⟪m t,velocity T hT Q Q₁ c hc hQ U f a₀ t⟫_ℝ = 0 := | |
| 98 | - hTangent t _ | |
| 99 | - | |
| 100 | 93 | /-- The physical product-rule expression is its actual every-time derivative. -/ |
| 101 | 94 | theorem velocity_hasDerivWithinAt |
| 102 | 95 | (hQd : ∀ t : Icc (0 : ℝ) T, |
| @@ -139,10 +132,6 @@ theorem coordinatesOperator_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : | ||
| 139 | 132 | coordinatesOperator T hT Q Q₁ c hc hQ U (a₀,f) = coordinates T hT Q Q₁ c hc hQ U f a₀ := |
| 140 | 133 | (U.solution_eq_operators _ _).symm |
| 141 | 134 | |
| 142 | -/-- The physical forward inverse is an actual bounded linear map in its data. -/ | |
| 143 | -def velocityOperator : (V × C(Icc (0 : ℝ) T,E)) →L[ℝ] C(Icc (0 : ℝ) T,E) := | |
| 144 | - (multiplier Q).comp (coordinatesOperator T hT Q Q₁ c hc hQ U) | |
| 145 | - | |
| 146 | 135 | /-- Zero data give the zero path; this is the pointwise support-preservation mechanism. -/ |
| 147 | 136 | theorem velocity_zero : velocity T hT Q Q₁ c hc hQ U 0 0 = 0 := by |
| 148 | 137 | have hz := (coordinatesOperator T hT Q Q₁ c hc hQ U).map_zero |
+0 −46 Euler/TransverseForwardRegularity.lean View file
| @@ -36,53 +36,7 @@ theorem frameLeftInversePath_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) : | ||
| 36 | 36 | (fun x => adjointMap (Q x)) (gramInversePath_contDiff T c hc Q hQ hQr) |
| 37 | 37 | (contDiff_adjoint Q hQr) |
| 38 | 38 | |
| 39 | -/-- The literal source generator is smoothly parameterized. -/ | |
| 40 | -theorem generator_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) : | |
| 41 | - ContDiff ℝ n (fun x => generator T (Q x) (Q₁ x) c hc (hQ x)) := by | |
| 42 | - have hr := (contDiff_compose (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) Q₁ | |
| 43 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hQ₁r).const_smul (-2 : ℝ) | |
| 44 | - convert hr using 1 <;> rfl | |
| 45 | - | |
| 46 | -/-- Applying the actual projected forcing map preserves smooth parameter dependence. -/ | |
| 47 | -theorem forcing_contDiff (f : P → C(Icc (0 : ℝ) T,E)) {n : ℕ∞ω} | |
| 48 | - (hQr : ContDiff ℝ n Q) (hf : ContDiff ℝ n f) : | |
| 49 | - ContDiff ℝ n (fun x => forcingOperator T (Q x) c hc (hQ x) (f x)) := | |
| 50 | - contDiff_apply (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) f | |
| 51 | - (frameLeftInversePath_contDiff T Q c hc hQ hQr) hf | |
| 52 | - | |
| 53 | 39 | variable (U : ∀ x, Evolution T hT (generator T (Q x) (Q₁ x) c hc (hQ x))) |
| 54 | 40 | (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → V) |
| 55 | 41 | |
| 56 | -/-- The actually constructed coordinates are smooth in external parameters. -/ | |
| 57 | -theorem coordinates_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 58 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 59 | - ContDiff ℝ n (fun x => coordinates T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 60 | - solution_contDiff T hT (fun x => generator T (Q x) (Q₁ x) c hc (hQ x)) U | |
| 61 | - (fun x => forcingOperator T (Q x) c hc (hQ x) (f x)) a₀ | |
| 62 | - (generator_contDiff T Q Q₁ c hc hQ hQr hQ₁r) | |
| 63 | - (forcing_contDiff T Q c hc hQ f hQr hf) ha₀ | |
| 64 | - | |
| 65 | -/-- The actual physical velocity inherits uniform-time parameter smoothness. -/ | |
| 66 | -theorem velocity_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 67 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 68 | - ContDiff ℝ n (fun x => velocity T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 69 | - contDiff_apply Q _ hQr (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀) | |
| 70 | - | |
| 71 | -/-- The actual coordinate derivative is smooth in external parameters too. -/ | |
| 72 | -theorem coordinateDerivative_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 73 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 74 | - ContDiff ℝ n (fun x => coordinateDerivative T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 75 | - (contDiff_apply _ _ (generator_contDiff T Q Q₁ c hc hQ hQr hQ₁r) | |
| 76 | - (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)).add | |
| 77 | - (forcing_contDiff T Q c hc hQ f hQr hf) | |
| 78 | - | |
| 79 | -/-- The actual physical time derivative is smooth in the same uniform-time parameter norm. -/ | |
| 80 | -theorem velocityDerivative_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) (hQ₁r : ContDiff ℝ n Q₁) | |
| 81 | - (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : | |
| 82 | - ContDiff ℝ n (fun x => velocityDerivative T hT (Q x) (Q₁ x) c hc (hQ x) (U x) (f x) (a₀ x)) := | |
| 83 | - (contDiff_apply Q₁ _ hQ₁r | |
| 84 | - (coordinates_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)).add | |
| 85 | - (contDiff_apply Q _ hQr | |
| 86 | - (coordinateDerivative_contDiff T hT Q Q₁ c hc hQ U f a₀ hQr hQ₁r hf ha₀)) | |
| 87 | - | |
| 88 | 42 | end EulerTransverseForwardRegularity |
+0 −66 Euler/TransverseFrameCoordinates.lean View file
| @@ -48,20 +48,6 @@ theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | ||
| 48 | 48 | exact F.apply_symm_apply η |
| 49 | 49 | |
| 50 | 50 | omit [CompleteSpace E] in |
| 51 | -/-- The coordinate map is a left inverse to `F` restricted to the reference plane. -/ | |
| 52 | -theorem coordinates_leftInverse (F : E ≃L[ℝ] E) (m₀ : E) (ξ : referencePlane m₀) : | |
| 53 | - coordinates F m₀ (F (ξ : E)) = ξ := by | |
| 54 | - change (referencePlane m₀).orthogonalProjectionOnto (F.symm (F (ξ : E))) = ξ | |
| 55 | - rw [F.symm_apply_apply] | |
| 56 | - exact (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self ξ | |
| 57 | - | |
| 58 | -omit [CompleteSpace E] in | |
| 59 | -/-- The coordinate map has the expected polynomial bound from the inverse frame. -/ | |
| 60 | -theorem coordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) : | |
| 61 | - ‖coordinates F m₀ η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by | |
| 62 | - exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (F.symm η)).trans | |
| 63 | - (F.symm.toContinuousLinearMap.le_opNorm η) | |
| 64 | - | |
| 65 | 51 | /-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ |
| 66 | 52 | def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) |
| 67 | 53 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := |
| @@ -75,56 +61,4 @@ theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) | ||
| 75 | 61 | rw [R.apply_symm_apply] |
| 76 | 62 | exact reconstruct F m₀ η hη |
| 77 | 63 | |
| 78 | -omit [CompleteSpace E] in | |
| 79 | -/-- Passing to an orthonormal coordinate basis has no extra norm cost. -/ | |
| 80 | -theorem frameCoordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) | |
| 81 | - (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : | |
| 82 | - ‖frameCoordinates F m₀ R η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by | |
| 83 | - change ‖R.symm (coordinates F m₀ η)‖ ≤ _ | |
| 84 | - rw [R.symm.norm_map] | |
| 85 | - exact coordinates_norm F m₀ η | |
| 86 | - | |
| 87 | -section Paths | |
| 88 | - | |
| 89 | -variable {X : Type*} [TopologicalSpace X] | |
| 90 | - | |
| 91 | -/-- Applying a continuous inverse-frame path produces actual continuous | |
| 92 | -transverse coordinates, not separate incompatible pointwise choices. -/ | |
| 93 | -def coordinatePath (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 94 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) : C(X, U) := | |
| 95 | - ⟨fun t => R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))), | |
| 96 | - R.symm.continuous.comp ((referencePlane m₀).orthogonalProjectionOnto.continuous.comp | |
| 97 | - (A.continuous.clm_apply η.continuous))⟩ | |
| 98 | - | |
| 99 | -/-- The recovered continuous coordinates reconstruct every tangent displacement. -/ | |
| 100 | -theorem coordinatePath_reconstruct (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 101 | - (F : X → E ≃L[ℝ] E) (A : C(X, E →L[ℝ] E)) | |
| 102 | - (hA : ∀ t, A t = (F t).symm.toContinuousLinearMap) (η : C(X, E)) | |
| 103 | - (hη : ∀ t, ⟪movingNormal (F t) m₀, η t⟫_ℝ = 0) (t : X) : | |
| 104 | - F t (R (coordinatePath m₀ R A η t) : E) = η t := by | |
| 105 | - change F t (R (R.symm ((referencePlane m₀).orthogonalProjectionOnto | |
| 106 | - (A t (η t)))) : E) = η t | |
| 107 | - rw [hA t] | |
| 108 | - exact frame_reconstruct (F t) m₀ (η t) R (hη t) | |
| 109 | - | |
| 110 | -omit [CompleteSpace E] in | |
| 111 | -/-- Zero endpoint displacements give zero endpoint coordinates. -/ | |
| 112 | -theorem coordinatePath_zero_at (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 113 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) (hη : η t = 0) : | |
| 114 | - coordinatePath m₀ R A η t = 0 := by | |
| 115 | - change R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))) = 0 | |
| 116 | - simp only [hη, map_zero] | |
| 117 | - | |
| 118 | -omit [CompleteSpace E] in | |
| 119 | -/-- Pointwise coordinate control only pays the actual inverse-frame norm. -/ | |
| 120 | -theorem coordinatePath_norm (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) | |
| 121 | - (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) : | |
| 122 | - ‖coordinatePath m₀ R A η t‖ ≤ ‖A t‖ * ‖η t‖ := by | |
| 123 | - change ‖R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t)))‖ ≤ _ | |
| 124 | - rw [R.symm.norm_map] | |
| 125 | - exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (A t (η t))).trans | |
| 126 | - ((A t).le_opNorm (η t)) | |
| 127 | - | |
| 128 | -end Paths | |
| 129 | - | |
| 130 | 64 | end EulerTransverseFrameCoordinates |
+0 −139 Euler/TransverseGevreyInverse.lean View file
| @@ -31,10 +31,6 @@ def transportCeiling (T C₀ C₁ c : ℝ) : ℝ := | ||
| 31 | 31 | /-- Uniform polynomial bound for the inverse of the transported form. -/ |
| 32 | 32 | def inverseCost (T C₀ C₁ c : ℝ) : ℝ := 2 * (transportCeiling T C₀ C₁ c)^2 |
| 33 | 33 | |
| 34 | -/-- One polynomial top constant handles both coefficient and forcing amplitudes. -/ | |
| 35 | -def solveCost (T C₀ C₁ CH c : ℝ) : ℝ := | |
| 36 | - 1 + inverseCost T C₀ C₁ c * (formCost T C₀ C₁ CH + forcingCost T C₀ C₁ + 1) | |
| 37 | - | |
| 38 | 34 | variable {P U E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 39 | 35 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 40 | 36 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| @@ -55,17 +51,6 @@ theorem fixedCoercivity_inv_le (T : ℝ) (hT : 0 ≤ T) | ||
| 55 | 51 | rw [he] |
| 56 | 52 | exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht0 ht 2) (by norm_num) |
| 57 | 53 | |
| 58 | -/-- The top constant is at least one for all nonnegative coefficient bounds. -/ | |
| 59 | -theorem solveCost_one_le (T C₀ C₁ CH c : ℝ) | |
| 60 | - (hT : 0 ≤ T) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCH : 0 ≤ CH) : | |
| 61 | - 1 ≤ solveCost T C₀ C₁ CH c := by | |
| 62 | - unfold solveCost | |
| 63 | - have h : 0 ≤ inverseCost T C₀ C₁ c * | |
| 64 | - (formCost T C₀ C₁ CH + forcingCost T C₀ C₁ + 1) := by | |
| 65 | - unfold inverseCost formCost forcingCost derivativeCost | |
| 66 | - positivity | |
| 67 | - linarith | |
| 68 | - | |
| 69 | 54 | variable (T : ℝ) (hT : 0 ≤ T) |
| 70 | 55 | (Q Q₁ : P → C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 71 | 56 | (H : P → C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| @@ -83,128 +68,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 83 | 68 | (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁ * majorant Rc 0 n) |
| 84 | 69 | (hbH : ∀ n x, ‖iteratedFDeriv ℝ n H x‖ ≤ CH * majorant Rc 0 n) |
| 85 | 70 | |
| 86 | -include hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 87 | -/-- The actual zero-endpoint coordinate solve has a single-shift factorial | |
| 88 | -bound with a radius uniform in the derivative order and input shift. -/ | |
| 89 | -theorem fixedFrameSolution_gevrey | |
| 90 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 91 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 92 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 93 | - (n : ℕ) (x : P) : | |
| 94 | - ‖iteratedFDeriv ℝ n (fun y => | |
| 95 | - fixedFrameSolver T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 96 | - K hK (hPotential y) hsmall (f y)) x‖ ≤ majorant R (d+1) n := by | |
| 97 | - let A := fun y => fixedFrameOperator T hT (Q y) (Q₁ y) (H y) | |
| 98 | - let δ := fun y => fixedCoercivity T (Q y) (Q₁ y) c | |
| 99 | - let rhs := fun y => (-(fixedFramePrimitive T hT (Q y) (Q₁ y)).adjoint) (f y) | |
| 100 | - have hδ : ∀ y, 0 < δ y := fun y => fixedCoercivity_pos T hT (Q y) (Q₁ y) c hc | |
| 101 | - have hAco : ∀ y v, δ y * ‖v‖^2 ≤ ⟪A y v, v⟫_ℝ := fun y => | |
| 102 | - fixedFrameOperator_coercive T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 103 | - K hK (hPotential y) hsmall | |
| 104 | - have hAreg : ContDiff ℝ ∞ A := contDiff_fixedFrameOperator T hT Q Q₁ H hQ hQ₁ hH | |
| 105 | - have hrhs : ContDiff ℝ ∞ rhs := | |
| 106 | - (contDiff_adjoint (contDiff_fixedFramePrimitive T hT Q Q₁ hQ hQ₁)).neg.clm_apply hf | |
| 107 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 108 | - have hR0 : 0 ≤ R := by nlinarith | |
| 109 | - have hRcR : Rc ≤ R := by nlinarith | |
| 110 | - have hCR : 0 ≤ formCost T C₀ C₁ CH := by unfold formCost; positivity | |
| 111 | - have hFR : 0 ≤ forcingCost T C₀ C₁ := by unfold forcingCost derivativeCost; positivity | |
| 112 | - have hI : 0 ≤ inverseCost T C₀ C₁ c := by unfold inverseCost; positivity | |
| 113 | - have hMC : inverseCost T C₀ C₁ c * formCost T C₀ C₁ CH ≤ solveCost T C₀ C₁ CH c := by | |
| 114 | - unfold solveCost | |
| 115 | - nlinarith | |
| 116 | - have hMF : inverseCost T C₀ C₁ c * forcingCost T C₀ C₁ ≤ solveCost T C₀ C₁ CH c := by | |
| 117 | - unfold solveCost | |
| 118 | - nlinarith | |
| 119 | - have hinv (y : P) : (δ y)⁻¹ ≤ inverseCost T C₀ C₁ c := by | |
| 120 | - apply fixedCoercivity_inv_le T hT (Q y) (Q₁ y) c hc C₀ C₁ | |
| 121 | - · simpa only [norm_iteratedFDeriv_zero, majorant, Nat.add_zero, pow_zero, | |
| 122 | - Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using hbQ 0 y | |
| 123 | - · simpa only [norm_iteratedFDeriv_zero, majorant, Nat.add_zero, pow_zero, | |
| 124 | - Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using hbQ₁ 0 y | |
| 125 | - have hbA (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ (j+1) A y‖ ≤ | |
| 126 | - formCost T C₀ C₁ CH * (Rc^(j+1) * ((j+1).factorial : ℝ)^2) := by | |
| 127 | - simpa only [majorant, Nat.add_zero] using | |
| 128 | - fixedFrameOperator_bound T hT Q Q₁ H hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH | |
| 129 | - hbQ hbQ₁ hbH (j+1) y | |
| 130 | - have hbQR (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q y‖ ≤ C₀*majorant R 0 j := | |
| 131 | - (hbQ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₀) | |
| 132 | - have hbQ₁R (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q₁ y‖ ≤ C₁*majorant R 0 j := | |
| 133 | - (hbQ₁ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₁) | |
| 134 | - have hbrhs := fixedForcing_bound T hT Q Q₁ hQ hQ₁ R C₀ C₁ hR0 hC₀ hC₁ hbQR hbQ₁R | |
| 135 | - f hf d hbf | |
| 136 | - exact coerciveSolution_gevrey_amplitudes A δ hδ hAco rhs hAreg hrhs | |
| 137 | - (inverseCost T C₀ C₁ c) (formCost T C₀ C₁ CH) (forcingCost T C₀ C₁) | |
| 138 | - (solveCost T C₀ C₁ CH c) Rc R hCR hFR hM hMC hMF hRc hR hinv hbA d hbrhs n x | |
| 139 | - | |
| 140 | -include hd hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 141 | -/-- The factorial estimate applies to the recovered coordinate derivative of | |
| 142 | -the original physical transverse solver. -/ | |
| 143 | -theorem transverseCoordinates_gevrey | |
| 144 | - (m : P → Icc (0 : ℝ) T → E) | |
| 145 | - (hTangent : ∀ y t v, ⟪m y t, Q y t v⟫_ℝ = 0) | |
| 146 | - (hRange : ∀ y t η, ⟪m y t, η⟫_ℝ = 0 → ∃ v : U, Q y t v = η) | |
| 147 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 148 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 149 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 150 | - (n : ℕ) (x : P) : | |
| 151 | - ‖iteratedFDeriv ℝ n (fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 152 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E)) x‖ ≤ | |
| 153 | - majorant R (d+1) n := by | |
| 154 | - let v := fun y => fixedFrameSolver T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 155 | - K hK (hPotential y) hsmall (f y) | |
| 156 | - have hv : ContDiff ℝ ∞ v := | |
| 157 | - contDiff_fixedFrameSolution T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf | |
| 158 | - have hb (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j v y‖ ≤ majorant R (d+1) j := | |
| 159 | - fixedFrameSolution_gevrey T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 160 | - hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH R hR f hf d hbf j y | |
| 161 | - have heq : (fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 162 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E)) = | |
| 163 | - fun y => (v y : TimeLp T U) := by | |
| 164 | - funext y | |
| 165 | - have he := fixedFrameSolver_eq_transverse T hT (Q y) (Q₁ y) (H y) c hc (hLower y) (hd y) | |
| 166 | - K hK (hPotential y) hsmall (m y) (hTangent y) (hRange y) (f y) | |
| 167 | - exact (congrArg (fun z : zeroTraceDerivatives (U := U) T hT => (z : TimeLp T U)) he).symm | |
| 168 | - rw [heq] | |
| 169 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 170 | - have hR0 : 0 ≤ R := by nlinarith | |
| 171 | - have hout := contraction_bound (zeroTraceDerivatives (U := U) T hT).subtypeL | |
| 172 | - (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le v hv R 1 hR0 zero_le_one (d+1) | |
| 173 | - (by simpa only [one_mul] using hb) n x | |
| 174 | - simp only [one_mul] at hout | |
| 175 | - convert hout using 1 | |
| 176 | - rfl | |
| 177 | - | |
| 178 | -include hd hQ hQ₁ hH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH in | |
| 179 | -/-- The actual physical transverse velocity has the same factorial shift, | |
| 180 | -with only the fixed coefficient multiplication constant. -/ | |
| 181 | -theorem transverseVelocity_gevrey | |
| 182 | - (m : P → Icc (0 : ℝ) T → E) | |
| 183 | - (hTangent : ∀ y t v, ⟪m y t, Q y t v⟫_ℝ = 0) | |
| 184 | - (hRange : ∀ y t η, ⟪m y t, η⟫_ℝ = 0 → ∃ v : U, Q y t v = η) | |
| 185 | - (R : ℝ) (hR : 2 * solveCost T C₀ C₁ CH c * (Rc+1) ≤ R) | |
| 186 | - (f : P → TimeLp T E) (hf : ContDiff ℝ ∞ f) (d : ℕ) | |
| 187 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 188 | - (n : ℕ) (x : P) : | |
| 189 | - ‖iteratedFDeriv ℝ n (fun y => timeMultiplier T hT (Q y) | |
| 190 | - (coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 191 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E))) x‖ ≤ | |
| 192 | - (3*C₀) * majorant R (d+1) n := by | |
| 193 | - let v := fun y => coordinateDerivative T hT (Q y) (Q₁ y) c hc (hLower y) | |
| 194 | - (transverseSolver T hT (m y) (H y) K hK (hPotential y) hsmall (f y) : TimeLp T E) | |
| 195 | - have hv : ContDiff ℝ ∞ v := contDiff_transverse_coordinates T hT Q Q₁ H c hc hLower hd | |
| 196 | - K hK hPotential hsmall m hTangent hRange hQ hQ₁ hH f hf | |
| 197 | - have hb := transverseCoordinates_gevrey T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 198 | - hQ hQ₁ hH Rc C₀ C₁ CH hRc hC₀ hC₁ hCH hbQ hbQ₁ hbH m hTangent hRange R hR f hf d hbf | |
| 199 | - have hM := solveCost_one_le T C₀ C₁ CH c hT hC₀ hC₁ hCH | |
| 200 | - have hR0 : 0 ≤ R := by nlinarith | |
| 201 | - have hRcR : Rc ≤ R := by nlinarith | |
| 202 | - have hbQR (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q y‖ ≤ C₀*majorant R 0 j := | |
| 203 | - (hbQ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 j) hC₀) | |
| 204 | - have h := clm_apply_bound (fun y => timeMultiplier T hT (Q y)) v | |
| 205 | - (contDiff_timeMultiplier T hT Q hQ) hv R C₀ 1 hR0 hC₀ zero_le_one 0 (d+1) | |
| 206 | - (timeMultiplier_bound T hT Q hQ R C₀ hR0 hC₀ 0 hbQR) | |
| 207 | - (by simpa only [one_mul] using hb) n x | |
| 208 | - simpa only [mul_one, Nat.zero_add] using h | |
| 209 | - | |
| 210 | 71 | end EulerTransverseGevreyInverse |
+0 −24 Euler/TransverseGramInverse.lean View file
| @@ -77,30 +77,6 @@ theorem frameLeftInverse_apply (Q : U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | ||
| 77 | 77 | frameLeftInverse Q c hc hQ (Q x) = x := |
| 78 | 78 | inverse_gram_apply Q c hc hQ x |
| 79 | 79 | |
| 80 | -/-- Differentiating the actual adjoint commutes with the real derivative. -/ | |
| 81 | -theorem hasDerivAt_adjoint (Q : ℝ → U →L[ℝ] E) (Q₁ : U →L[ℝ] E) (t : ℝ) | |
| 82 | - (hQ : HasDerivAt Q Q₁ t) : | |
| 83 | - HasDerivAt (fun s => (Q s).adjoint) Q₁.adjoint t := by | |
| 84 | - exact ((realAdjoint (U := U) (E := E)).hasFDerivAt).comp_hasDerivAt t hQ | |
| 85 | - | |
| 86 | -/-- The Gram derivative is the literal product rule. -/ | |
| 87 | -theorem hasDerivAt_gram (Q : ℝ → U →L[ℝ] E) (Q₁ : U →L[ℝ] E) (t : ℝ) | |
| 88 | - (hQ : HasDerivAt Q Q₁ t) : | |
| 89 | - HasDerivAt (fun s => gram (Q s)) | |
| 90 | - (Q₁.adjoint.comp (Q t) + (Q t).adjoint.comp Q₁) t := | |
| 91 | - (hasDerivAt_adjoint Q Q₁ t hQ).clm_comp hQ | |
| 92 | - | |
| 93 | -/-- The constructed Gram inverse has the actual inverse derivative. -/ | |
| 94 | -theorem hasDerivAt_gramInverse (Q : ℝ → U →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 95 | - (hQ : ∀ s x, c * ‖x‖ ^ 2 ≤ ‖Q s x‖ ^ 2) | |
| 96 | - (Q₁ : U →L[ℝ] E) (t : ℝ) (hd : HasDerivAt Q Q₁ t) : | |
| 97 | - HasDerivAt (fun s => gramInverse (Q s) c hc (hQ s)) | |
| 98 | - (-(gramInverse (Q t) c hc (hQ t)).comp | |
| 99 | - ((Q₁.adjoint.comp (Q t) + (Q t).adjoint.comp Q₁).comp | |
| 100 | - (gramInverse (Q t) c hc (hQ t)))) t := | |
| 101 | - hasDerivAt_coerciveInverse (fun s => gram (Q s)) c hc | |
| 102 | - (fun s => gram_coercive (Q s) c (hQ s)) t _ (hasDerivAt_gram Q Q₁ t hd) | |
| 103 | - | |
| 104 | 80 | open MeasureTheory Set EulerTimeLp EulerVolterraConvolution |
| 105 | 81 | |
| 106 | 82 | /-- The adjoint of a continuous coefficient path is a continuous coefficient path. -/ |
+0 −68 Euler/TransverseHighSolveFields.lean View file
| @@ -13,74 +13,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 13 | 13 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 14 | 14 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 15 | 15 | |
| 16 | -def highSolveDerivative : VectorField := by | |
| 17 | - classical | |
| 18 | - exact if h : Nonempty (Forcing P D raw) then (Classical.choice h).vectorDerivative I else 0 | |
| 19 | - | |
| 20 | -def highSolveCorrectorDerivative : VectorField := by | |
| 21 | - classical | |
| 22 | - exact if h : Nonempty (Forcing P D raw) then (Classical.choice h).correctorDerivative I else 0 | |
| 23 | - | |
| 24 | 16 | variable (h : Nonempty (Forcing P D raw)) |
| 25 | 17 | |
| 26 | -def highSolveField : Field P D.T (highSolve P D I raw).1 where | |
| 27 | - path := (Classical.choice h).fullVelocityPath I | |
| 28 | - orbit := (Classical.choice h).velocityPath_orbit I | |
| 29 | - raw_eq t x θ := by | |
| 30 | - rw [highSolve_of_admissible D I raw h] | |
| 31 | - exact ((Classical.choice h).vectorField I).raw_eq t x θ | |
| 32 | - | |
| 33 | -def highSolveDerivativeField : Field P D.T (highSolveDerivative P D I raw) where | |
| 34 | - path := (Classical.choice h).fullDerivativePath I | |
| 35 | - orbit := (Classical.choice h).derivativePath_orbit I | |
| 36 | - raw_eq t x θ := by | |
| 37 | - simp only [highSolveDerivative, dite_eq_left h] | |
| 38 | - exact ((Classical.choice h).vectorDerivativeField I).raw_eq t x θ | |
| 39 | - | |
| 40 | -theorem highSolveField_time : | |
| 41 | - TimeDerivative D.T_pos.le (highSolveField P D I raw h) (highSolveDerivativeField P D I raw h) := | |
| 42 | - (Classical.choice h).fullVelocityPath_time I | |
| 43 | - | |
| 44 | -def highSolveCorrectorField : Field P D.T (D.curlCorrector P (highSolve P D I raw).1) where | |
| 45 | - path := (Classical.choice h).correctorPath I | |
| 46 | - orbit := (Classical.choice h).correctorPath_orbit I | |
| 47 | - raw_eq t x θ := by | |
| 48 | - rw [highSolve_of_admissible D I raw h] | |
| 49 | - exact ((Classical.choice h).curlCorrectorField I).raw_eq t x θ | |
| 50 | - | |
| 51 | -def highSolveCorrectorDerivativeField : Field P D.T (highSolveCorrectorDerivative P D I raw) where | |
| 52 | - path := (Classical.choice h).correctorTimePath I | |
| 53 | - orbit := (Classical.choice h).correctorTimePath_orbit I | |
| 54 | - raw_eq t x θ := by | |
| 55 | - simp only [highSolveCorrectorDerivative, dite_eq_left h] | |
| 56 | - exact ((Classical.choice h).correctorDerivativeField I).raw_eq t x θ | |
| 57 | - | |
| 58 | -theorem highSolveCorrectorField_time : | |
| 59 | - TimeDerivative D.T_pos.le (highSolveCorrectorField P D I raw h) | |
| 60 | - (highSolveCorrectorDerivativeField P D I raw h) := | |
| 61 | - (Classical.choice h).correctorPath_time I | |
| 62 | - | |
| 63 | -theorem highSolveField_supported (t : Icc (0 : ℝ) D.T) : | |
| 64 | - (highSolveField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 65 | - ((Classical.choice h).velocityPath I t).property | |
| 66 | - | |
| 67 | -theorem highSolveDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 68 | - (highSolveDerivativeField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 69 | - ((Classical.choice h).derivativePath I t).property | |
| 70 | - | |
| 71 | -theorem highSolveCorrectorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 72 | - (highSolveCorrectorField P D I raw h).path t ∈ Supported P Space D.support D.support_measurable := | |
| 73 | - (Classical.choice h).correctorPath_supported I t | |
| 74 | - | |
| 75 | -theorem highSolveCorrectorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 76 | - (highSolveCorrectorDerivativeField P D I raw h).path t ∈ | |
| 77 | - Supported P Space D.support D.support_measurable := | |
| 78 | - (Classical.choice h).correctorTimePath_supported I t | |
| 79 | - | |
| 80 | -include h in | |
| 81 | -theorem highSolveCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 82 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (highSolve P D I raw).1 (t,(x,θ))) = 0 := by | |
| 83 | - rw [highSolve_of_admissible D I raw h] | |
| 84 | - exact (Classical.choice h).curlCorrector_mean_zero I t x | |
| 85 | - | |
| 86 | 18 | end EulerTransversePacketProvider |
+0 −9 Euler/TransverseHistoryPolynomialCost.lean View file
| @@ -27,15 +27,6 @@ def differenceEnvelope (Ti ci q q1 d a r x y z : ℝ) : ℝ := | ||
| 27 | 27 | q*(4*generatorDifferenceEnvelope ci q q1 x y*slopeEnvelope Ti d a r+ |
| 28 | 28 | (2*(Ti+4*ci*q*q1))*slopeDifferenceEnvelope Ti d a r (y+x) z) |
| 29 | 29 | |
| 30 | -theorem differenceEnvelope_nonneg (Ti ci q q1 d a r x y z : ℝ) | |
| 31 | - (hTi : 0 ≤ Ti) (hci : 0 ≤ ci) (hq : 0 ≤ q) (hq1 : 0 ≤ q1) | |
| 32 | - (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) | |
| 33 | - (hx : 0 ≤ x) (hy : 0 ≤ y) (hz : 0 ≤ z) : | |
| 34 | - 0 ≤ differenceEnvelope Ti ci q q1 d a r x y z := by | |
| 35 | - unfold differenceEnvelope slopeDifferenceEnvelope | |
| 36 | - generatorDifferenceEnvelope slopeEnvelope endpointDifferenceCost | |
| 37 | - positivity | |
| 38 | - | |
| 39 | 30 | theorem historyDifferenceCost_le_envelope (T c Ti ci q q1 d a r x y z : ℝ) |
| 40 | 31 | (hT : 0 < T) (hT1 : T ≤ 1) (hTi : T⁻¹ ≤ Ti) (hc : 0 < c) (hci : c⁻¹ ≤ ci) |
| 41 | 32 | (hq : 0 ≤ q) (hq1 : 0 ≤ q1) (hd : 0 ≤ d) (ha : 0 ≤ a) (hr : 0 ≤ r) |
+0 −7 Euler/TransverseInitialCoordinates.lean View file
| @@ -42,13 +42,6 @@ theorem initialCoordinates_initial (u : TimeLp T E) : | ||
| 42 | 42 | initialCoordinates T hT Q c hc hQ u 0 = 0 := by |
| 43 | 43 | simp only [initialCoordinates, initialRealPrimitive_initial, map_zero] |
| 44 | 44 | |
| 45 | -theorem initialCoordinateField_ae (u : TimeLp T E) : | |
| 46 | - (initialCoordinateField T hT Q c hc hQ u : ℝ → U) =ᵐ[timeMeasure T] | |
| 47 | - initialCoordinates T hT Q c hc hQ u := | |
| 48 | - fieldProduct_ae T hT (frameLeftInversePath T Q c hc hQ) | |
| 49 | - (initialPrimitiveTimeLp T hT u) (initialRealPrimitive T u) | |
| 50 | - (initialPrimitiveTimeLp_ae T hT u) | |
| 51 | - | |
| 52 | 45 | variable (hd : ∀ t : Icc (0 : ℝ) T, |
| 53 | 46 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 54 | 47 | |
+0 −4 Euler/TransverseInitialInverse.lean View file
| @@ -35,10 +35,6 @@ def initialCoordinateOperator : TimeLp T E →L[ℝ] TimeLp T U := | ||
| 35 | 35 | initialProductDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 36 | 36 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 37 | 37 | |
| 38 | -theorem initialCoordinateOperator_apply (u : TimeLp T E) : | |
| 39 | - initialCoordinateOperator T hT Q Q₁ c hc hQ u = | |
| 40 | - initialCoordinateDerivative T hT Q Q₁ c hc hQ u := rfl | |
| 41 | - | |
| 42 | 38 | include hd in |
| 43 | 39 | theorem initialCoordinates_product (u : TimeLp T U) (t : Icc (0 : ℝ) T) : |
| 44 | 40 | initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) t = |
+0 −21 Euler/TransverseMomentumRegularity.lean View file
| @@ -131,25 +131,4 @@ theorem momentum_weak | ||
| 131 | 131 | exact momentum_weak_of_product_tests T hT Q Q₁ hQ H |
| 132 | 132 | (u : TimeLp T E) f v htest |
| 133 | 133 | |
| 134 | -/-- The actual solved transverse momentum has an AC representative and the | |
| 135 | -prescribed genuine a.e. derivative. This is a regularity conclusion of the solve. -/ | |
| 136 | -theorem transverseSolver_momentum_ac (hTpos : 0 < T) | |
| 137 | - (hQ : ∀ t : Icc (0 : ℝ) T, | |
| 138 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 139 | - (m : Icc (0 : ℝ) T → E) | |
| 140 | - (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 141 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) | |
| 142 | - (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) | |
| 143 | - (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) (f : TimeLp T E) : | |
| 144 | - let u : TimeLp T E := transverseSolver T hT m H K hK hH hsmall f | |
| 145 | - ∃ p : ℝ → U, AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 146 | - (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] p ∧ | |
| 147 | - ∀ᵐ t ∂timeMeasure T, | |
| 148 | - HasDerivAt p (momentumForcing T hT Q Q₁ H u f t) t := by | |
| 149 | - apply exists_ac_representative_of_weak T hTpos | |
| 150 | - intro v hv | |
| 151 | - exact momentum_weak T hT Q Q₁ hQ m hm H | |
| 152 | - (transverseSolver T hT m H K hK hH hsmall f) f | |
| 153 | - (transverseSolver_weak T hT m H K hK hH hsmall f) v hv | |
| 154 | - | |
| 155 | 134 | end EulerTransverseMomentumRegularity |
+0 −17 Euler/TransversePacketCorrector.lean View file
| @@ -121,28 +121,11 @@ def correctorDerivative : VectorField := fun z => | ||
| 121 | 121 | pointField P (G.correctorTimePath I) (G.correctorTimePath_orbit I) |
| 122 | 122 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 123 | 123 | |
| 124 | -theorem corrector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 125 | - HasDerivWithinAt (fun r => G.corrector I (r,(x,θ))) | |
| 126 | - (G.correctorDerivative I (t,(x,θ))) (Icc (0 : ℝ) D.T) t := by | |
| 127 | - have h := pointField_hasDerivWithinAt P D.T D.T_pos.le (G.correctorPath I) (G.correctorTimePath I) | |
| 128 | - (G.correctorPath_orbit I) (G.correctorTimePath_orbit I) (G.correctorPath_time I) t (x,(θ : AddCircle P)) | |
| 129 | - simpa only [corrector, correctorDerivative, Data.clamp, projIcc_of_mem D.T_pos.le t.property] using h | |
| 130 | - | |
| 131 | 124 | theorem fullVelocityPath_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 132 | 125 | (∫ θ in (0 : ℝ)..P, pointField P (G.fullVelocityPath I) (G.velocityPath_orbit I) |
| 133 | 126 | t (x,(θ : AddCircle P))) = 0 := by |
| 134 | 127 | simpa only [vector, EulerSourceCylinderClassical.field, Data.clamp_coe] using G.vector_mean_zero I t x |
| 135 | 128 | |
| 136 | -/-- This potential is exactly the manuscript's normalized angular integral of −m×A/|m|². -/ | |
| 137 | -theorem potentialPath_eq_periodic (t : Icc (0 : ℝ) D.T) : | |
| 138 | - pointField P (G.potentialPath I) (G.potentialPath_orbit I) t = | |
| 139 | - EulerPacketPeriodicPotential.field P (fun x => D.normal.field t x) | |
| 140 | - (pointField P (G.fullVelocityPath I) (G.velocityPath_orbit I) t) := | |
| 141 | - EulerCylinderPotential.potentialField_eq_periodic P D.potentialCoefficientPath | |
| 142 | - D.potentialCoefficientPath_orbit (G.fullVelocityPath I) (G.velocityPath_orbit I) | |
| 143 | - (G.fullVelocityPath_mean_zero I) (fun t x => D.normal.field t x) | |
| 144 | - (potentialCoefficient_apply D.normal D.normalLower D.normalLower_pos D.normal_lower) t | |
| 145 | - | |
| 146 | 129 | /-- The stored corrector is the literal slow curl with the actual inverse deformation. -/ |
| 147 | 130 | theorem corrector_formula (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 148 | 131 | G.corrector I (t,(x,θ)) = |
+0 −42 Euler/TransversePacketCorrectorMean.lean View file
| @@ -15,46 +15,4 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 15 | 15 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | 16 | {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 17 | 17 | |
| 18 | -theorem fullVelocityPath_average_zero : pathAverage P (G.fullVelocityPath I) = 0 := | |
| 19 | - (pathAverage_eq_zero_iff P (G.fullVelocityPath I) (G.velocityPath_orbit I)).mpr | |
| 20 | - (G.fullVelocityPath_mean_zero I) | |
| 21 | - | |
| 22 | -theorem fullDerivativePath_average_zero : pathAverage P (G.fullDerivativePath I) = 0 := by | |
| 23 | - apply ContinuousMap.ext | |
| 24 | - intro t | |
| 25 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 26 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 27 | - G.path I.value G.mean_zero I.mean_zero t | |
| 28 | - | |
| 29 | -theorem potentialPath_average_zero : pathAverage P (G.potentialPath I) = 0 := | |
| 30 | - potentialPath_mean_zero P (G.fullVelocityPath I) D.potentialCoefficientPath | |
| 31 | - (G.fullVelocityPath_average_zero I) | |
| 32 | - | |
| 33 | -theorem potentialTimePath_average_zero : pathAverage P (G.potentialTimePath I) = 0 := by | |
| 34 | - rw [potentialTimePath, EulerCylinderPotential.potentialDerivative, map_add, | |
| 35 | - potentialPath_mean_zero P (G.fullVelocityPath I) D.potentialDerivative (G.fullVelocityPath_average_zero I), | |
| 36 | - potentialPath_mean_zero P (G.fullDerivativePath I) D.potentialCoefficientPath (G.fullDerivativePath_average_zero I), | |
| 37 | - add_zero] | |
| 38 | - | |
| 39 | -theorem correctorPath_average_zero : pathAverage P (G.correctorPath I) = 0 := | |
| 40 | - slowCurl_mean_zero P (G.potentialPath I) (G.potentialPath_orbit I) D.FInv.field | |
| 41 | - (G.potentialPath_average_zero I) | |
| 42 | - | |
| 43 | -theorem correctorTimePath_average_zero : pathAverage P (G.correctorTimePath I) = 0 := by | |
| 44 | - rw [correctorTimePath, EulerCylinderSlowCurl.derivative, map_add, | |
| 45 | - slowCurl_mean_zero P (G.potentialPath I) (G.potentialPath_orbit I) D.inverseDerivative | |
| 46 | - (G.potentialPath_average_zero I), | |
| 47 | - slowCurl_mean_zero P (G.potentialTimePath I) (G.potentialTimePath_orbit I) D.FInv.field | |
| 48 | - (G.potentialTimePath_average_zero I), add_zero] | |
| 49 | - | |
| 50 | -theorem corrector_mean_zero (t : ℝ) (x : Space) : | |
| 51 | - (∫ θ in (0 : ℝ)..P, G.corrector I (t,(x,θ))) = 0 := | |
| 52 | - (pathAverage_eq_zero_iff P (G.correctorPath I) (G.correctorPath_orbit I)).mp | |
| 53 | - (G.correctorPath_average_zero I) (D.clamp t) x | |
| 54 | - | |
| 55 | -theorem correctorDerivative_mean_zero (t : ℝ) (x : Space) : | |
| 56 | - (∫ θ in (0 : ℝ)..P, G.correctorDerivative I (t,(x,θ))) = 0 := | |
| 57 | - (pathAverage_eq_zero_iff P (G.correctorTimePath I) (G.correctorTimePath_orbit I)).mp | |
| 58 | - (G.correctorTimePath_average_zero I) (D.clamp t) x | |
| 59 | - | |
| 60 | 18 | end EulerTransversePacketProvider.Forcing |
+0 −7 Euler/TransversePacketCorrectorOperator.lean View file
| @@ -63,12 +63,5 @@ theorem curlCorrectorField_time : | ||
| 63 | 63 | TimeDerivative D.T_pos.le (G.curlCorrectorField I) (G.correctorDerivativeField I) := |
| 64 | 64 | G.correctorPath_time I |
| 65 | 65 | |
| 66 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 67 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (G.vector I) (t,(x,θ))) = 0 := by | |
| 68 | - have he : (fun θ => D.curlCorrector P (G.vector I) (t,(x,θ))) = | |
| 69 | - fun θ => G.corrector I (t,(x,θ)) := funext (fun θ => G.curlCorrector_eq I t x θ) | |
| 70 | - rw [he] | |
| 71 | - exact G.corrector_mean_zero I t x | |
| 72 | - | |
| 73 | 66 | end Forcing |
| 74 | 67 | end EulerTransversePacketProvider |
+0 −39 Euler/TransversePacketCorrectorSupport.lean View file
| @@ -19,53 +19,14 @@ theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 19 | 19 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 20 | 20 | (G.fullVelocityPath I) D.potentialCoefficientPath (fun s => (G.velocityPath I s).property) t |
| 21 | 21 | |
| 22 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 23 | - G.potentialTimePath I t ∈ Supported P Space D.support D.support_measurable := by | |
| 24 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 25 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 26 | - (G.fullVelocityPath I) D.potentialDerivative (fun s => (G.velocityPath I s).property) t | |
| 27 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 28 | - (G.fullDerivativePath I) D.potentialCoefficientPath (fun s => (G.derivativePath I s).property) t | |
| 29 | - | |
| 30 | 22 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 31 | 23 | G.correctorPath I t ∈ Supported P Space D.support D.support_measurable := |
| 32 | 24 | slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) |
| 33 | 25 | (G.potentialPath_orbit I) D.FInv.field D.support_compact.isClosed (G.potentialPath_supported I) t |
| 34 | 26 | |
| 35 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 36 | - G.correctorTimePath I t ∈ Supported P Space D.support D.support_measurable := by | |
| 37 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 38 | - · exact slowCurlPath_supported P D.support D.support_measurable (G.potentialPath I) | |
| 39 | - (G.potentialPath_orbit I) D.inverseDerivative D.support_compact.isClosed | |
| 40 | - (G.potentialPath_supported I) t | |
| 41 | - · exact slowCurlPath_supported P D.support D.support_measurable (G.potentialTimePath I) | |
| 42 | - (G.potentialTimePath_orbit I) D.FInv.field D.support_compact.isClosed | |
| 43 | - (G.potentialTimePath_supported I) t | |
| 44 | - | |
| 45 | 27 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 46 | 28 | G.corrector I (t,(x,θ)) = 0 := |
| 47 | 29 | pointField_zero_outside P D.support D.support_measurable (G.correctorPath I) (G.correctorPath_orbit I) |
| 48 | 30 | D.support_compact.isClosed (G.correctorPath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 49 | 31 | |
| 50 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 51 | - G.correctorDerivative I (t,(x,θ)) = 0 := | |
| 52 | - pointField_zero_outside P D.support D.support_measurable (G.correctorTimePath I) | |
| 53 | - (G.correctorTimePath_orbit I) D.support_compact.isClosed | |
| 54 | - (G.correctorTimePath_supported I) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 55 | - | |
| 56 | -theorem corrector_compact (t θ : ℝ) : HasCompactSupport (fun x => G.corrector I (t,(x,θ))) := by | |
| 57 | - apply D.support_compact.of_isClosed_subset (isClosed_tsupport _) | |
| 58 | - apply closure_minimal _ D.support_compact.isClosed | |
| 59 | - intro x hx | |
| 60 | - by_contra hn | |
| 61 | - exact hx (G.corrector_zero_outside I t x hn θ) | |
| 62 | - | |
| 63 | -theorem correctorDerivative_compact (t θ : ℝ) : | |
| 64 | - HasCompactSupport (fun x => G.correctorDerivative I (t,(x,θ))) := by | |
| 65 | - apply D.support_compact.of_isClosed_subset (isClosed_tsupport _) | |
| 66 | - apply closure_minimal _ D.support_compact.isClosed | |
| 67 | - intro x hx | |
| 68 | - by_contra hn | |
| 69 | - exact hx (G.correctorDerivative_zero_outside I t x hn θ) | |
| 70 | - | |
| 71 | 32 | end EulerTransversePacketProvider.Forcing |
+0 −20 Euler/TransversePacketCylinderFields.lean View file
| @@ -49,24 +49,4 @@ def correctorDerivativeField : Field P D.T (G.correctorDerivative I) where | ||
| 49 | 49 | (D.clamp t) (x,(θ : AddCircle P)) = _ |
| 50 | 50 | rw [Data.clamp_coe] |
| 51 | 51 | |
| 52 | -theorem correctorField_time : | |
| 53 | - TimeDerivative D.T_pos.le (G.correctorField I) (G.correctorDerivativeField I) := | |
| 54 | - G.correctorPath_time I | |
| 55 | - | |
| 56 | -theorem vectorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 57 | - (G.vectorField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 58 | - (G.velocityPath I t).property | |
| 59 | - | |
| 60 | -theorem vectorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 61 | - (G.vectorDerivativeField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 62 | - (G.derivativePath I t).property | |
| 63 | - | |
| 64 | -theorem correctorField_supported (t : Icc (0 : ℝ) D.T) : | |
| 65 | - (G.correctorField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 66 | - G.correctorPath_supported I t | |
| 67 | - | |
| 68 | -theorem correctorDerivativeField_supported (t : Icc (0 : ℝ) D.T) : | |
| 69 | - (G.correctorDerivativeField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 70 | - G.correctorTimePath_supported I t | |
| 71 | - | |
| 72 | 52 | end EulerTransversePacketProvider.Forcing |
+0 −33 Euler/TransversePacketEndpoint.lean View file
| @@ -28,31 +28,17 @@ def displacementPath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | ||
| 28 | 28 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 29 | 29 | B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U) |
| 30 | 30 | |
| 31 | -def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | |
| 32 | - B.coefficients.endpointAcceleration P (Y.value : CylinderL2 P U) | |
| 33 | - | |
| 34 | 31 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 35 | 32 | B.coefficients.endpointVelocity P (Y.value : CylinderL2 P U) |
| 36 | 33 | |
| 37 | 34 | def derivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 38 | 35 | B.coefficients.endpointDerivative P (Y.value : CylinderL2 P U) |
| 39 | 36 | |
| 40 | -theorem displacement_initial : displacementPath B Y ⟨0,le_rfl,D.T_pos.le⟩ = 0 := | |
| 41 | - B.coefficients.endpointDisplacement_initial P Y.value | |
| 42 | - | |
| 43 | -theorem displacement_terminal : displacementPath B Y ⟨D.T,D.T_pos.le,le_rfl⟩ = Y.value := | |
| 44 | - B.coefficients.endpointDisplacement_terminal P Y.value | |
| 45 | - | |
| 46 | 37 | theorem coordinatePath_orbit : |
| 47 | 38 | ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinatePath B Y)) := |
| 48 | 39 | B.coefficients.endpointCoordinate_orbit_contDiff P D.frame.translation_contDiff |
| 49 | 40 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 50 | 41 | |
| 51 | -theorem coordinateDerivativePath_orbit : | |
| 52 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinateDerivativePath B Y)) := | |
| 53 | - B.coefficients.endpointAcceleration_orbit_contDiff P D.frame.translation_contDiff | |
| 54 | - D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit | |
| 55 | - | |
| 56 | 42 | theorem velocityPath_orbit : |
| 57 | 43 | ContDiff ℝ ∞ (fun a => pathTranslate P a (velocityPath B Y)) := |
| 58 | 44 | B.coefficients.endpointVelocity_orbit_contDiff P D.frame.translation_contDiff |
| @@ -63,16 +49,6 @@ theorem derivativePath_orbit : | ||
| 63 | 49 | B.coefficients.endpointDerivative_orbit_contDiff P D.frame.translation_contDiff |
| 64 | 50 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 65 | 51 | |
| 66 | -theorem displacementPath_time (t : Icc (0 : ℝ) D.T) : | |
| 67 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (displacementPath B Y)) | |
| 68 | - (coordinatePath B Y t) (Icc (0 : ℝ) D.T) t := | |
| 69 | - B.coefficients.endpointDisplacement_hasDerivWithinAt P Y.value t | |
| 70 | - | |
| 71 | -theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : | |
| 72 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (coordinatePath B Y)) | |
| 73 | - (coordinateDerivativePath B Y t) (Icc (0 : ℝ) D.T) t := | |
| 74 | - B.coefficients.endpointCoordinate_hasDerivWithinAt P Y.value t | |
| 75 | - | |
| 76 | 52 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | 53 | HasDerivWithinAt (extendPath D.T D.T_pos.le (velocityPath B Y)) |
| 78 | 54 | (derivativePath B Y t) (Icc (0 : ℝ) D.T) t := |
| @@ -88,11 +64,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 88 | 64 | B.coefficients.endpointVelocity_supported P D.support D.support_measurable |
| 89 | 65 | Y.value Y.value.property t |
| 90 | 66 | |
| 91 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 92 | - derivativePath B Y t ∈ Supported P Space D.support D.support_measurable := | |
| 93 | - B.coefficients.endpointDerivative_supported P D.support D.support_measurable | |
| 94 | - Y.value Y.value.property t | |
| 95 | - | |
| 96 | 67 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 97 | 68 | average P (coordinatePath B Y t) = 0 := |
| 98 | 69 | B.coefficients.endpointCoordinate_mean_zero P Y.value Y.mean_zero t |
| @@ -101,10 +72,6 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : | ||
| 101 | 72 | average P (velocityPath B Y t) = 0 := |
| 102 | 73 | B.coefficients.endpointVelocity_mean_zero P Y.value Y.mean_zero t |
| 103 | 74 | |
| 104 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 105 | - average P (derivativePath B Y t) = 0 := | |
| 106 | - B.coefficients.endpointDerivative_mean_zero P Y.value Y.mean_zero t | |
| 107 | - | |
| 108 | 75 | def terminalInitial : InitialData P D where |
| 109 | 76 | value := ⟨coordinatePath B Y ⟨D.T,D.T_pos.le,le_rfl⟩, |
| 110 | 77 | coordinatePath_supported B Y _⟩ |
+0 −9 Euler/TransversePacketEndpointPointwise.lean View file
| @@ -60,13 +60,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 60 | 60 | {D : Data U} (B : HistoryData D) (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 61 | 61 | (hs : tsupport innerCutoff ⊆ D.support) |
| 62 | 62 | |
| 63 | -theorem compact_wave_history (t : Icc (0 : ℝ) D.T) (x : LiftDomain period) : | |
| 64 | - pointField period (velocityPath B (initialData D δ hδ ξ hs)) | |
| 65 | - (velocityPath_orbit B (initialData D δ hδ ξ hs)) t x = | |
| 66 | - scalarField δ x • B.coefficients.labelVelocity x.1 ξ t := by | |
| 67 | - rw [velocityPath_eq_history B (initialData D δ hδ ξ hs) (field δ ξ) | |
| 68 | - (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ)] | |
| 69 | - change B.coefficients.labelVelocity x.1 (scalarField δ x • ξ) t = _ | |
| 70 | - rw [map_smul,ContinuousMap.smul_apply] | |
| 71 | - | |
| 72 | 63 | end EulerPacketTerminalDatum |
+0 −27 Euler/TransversePacketForwardFullBounds.lean View file
| @@ -29,8 +29,6 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 29 | 29 | (N : EulerTransversePacketJoin.NormalBudget D q L.R) |
| 30 | 30 | |
| 31 | 31 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 32 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*L.commonCost) | |
| 33 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*L.commonCost) | |
| 34 | 32 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 35 | 33 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 36 | 34 | |
| @@ -70,31 +68,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 70 | 68 | (L.pressureAmplitude (P := P) N*A) (d+1) (L.pressure_bound N G I A hA d hforce hinitial) n |
| 71 | 69 | simpa only [show d+1+1=d+2 by omega,mul_assoc] using h |
| 72 | 70 | |
| 73 | -theorem potential_bound (n : ℕ) : | |
| 74 | - block standardDirection q (fun a => pathTranslate P a | |
| 75 | - (normalize L.g L.positive (G.potentialPath I))) n 0 ≤ | |
| 76 | - (L.potentialAmplitude (P := P) N*A)*majorant L.R (d+1) n := by | |
| 77 | - have hc := N.coefficient_bounds | |
| 78 | - have h := G.potentialPath_normalized_bound I L.g L.positive | |
| 79 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 80 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) | |
| 81 | - (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 82 | - (fun j a => (hc.2.2 j a).2.2.1) n | |
| 83 | - exact h.trans_eq (by unfold potentialAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 84 | - | |
| 85 | -theorem potential_time_bound (n : ℕ) : | |
| 86 | - block standardDirection q (fun a => pathTranslate P a | |
| 87 | - (normalize L.g L.positive (G.potentialTimePath I))) n 0 ≤ | |
| 88 | - (L.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+1) n := by | |
| 89 | - have hc := N.coefficient_bounds | |
| 90 | - have h := G.potentialTimePath_normalized_bound I L.g L.positive | |
| 91 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 92 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) | |
| 93 | - (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 94 | - (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) | |
| 95 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 96 | - exact h.trans_eq (by unfold potentialTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 97 | - | |
| 98 | 71 | theorem corrector_bound (n : ℕ) : |
| 99 | 72 | block standardDirection q (fun a => pathTranslate P a |
| 100 | 73 | (normalize L.g L.positive (G.correctorPath I))) n 0 ≤ |
+0 −34 Euler/TransversePacketHistory.lean View file
| @@ -34,9 +34,6 @@ abbrev forcingPath := includePath P D.support D.support_measurable G.path | ||
| 34 | 34 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 35 | 35 | B.coefficients.velocityPath P (pathLp D.T D.T_pos.le (forcingPath G)) |
| 36 | 36 | |
| 37 | -def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := | |
| 38 | - B.coefficients.accelerationPath P (forcingPath G) | |
| 39 | - | |
| 40 | 37 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 41 | 38 | B.coefficients.physicalVelocity P (forcingPath G) |
| 42 | 39 | |
| @@ -51,11 +48,6 @@ theorem coordinatePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.c | ||
| 51 | 48 | B.coefficients.velocityPath_orbit_contDiff P D.frame.translation_contDiff |
| 52 | 49 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 53 | 50 | |
| 54 | -theorem coordinateDerivativePath_orbit : | |
| 55 | - ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinateDerivativePath G)) := | |
| 56 | - B.coefficients.accelerationPath_orbit_contDiff P D.frame.translation_contDiff | |
| 57 | - D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit | |
| 58 | - | |
| 59 | 51 | theorem velocityPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.velocityPath G)) := |
| 60 | 52 | B.coefficients.physicalVelocity_orbit_contDiff P D.frame.translation_contDiff |
| 61 | 53 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| @@ -68,11 +60,6 @@ theorem pressurePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.pre | ||
| 68 | 60 | sourcePressure_contDiff P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 69 | 61 | (forcingPath G) (B.velocityPath G) G.path_orbit (B.velocityPath_orbit G) |
| 70 | 62 | |
| 71 | -theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : | |
| 72 | - HasDerivWithinAt (extendPath D.T D.T_pos.le (B.coordinatePath G)) | |
| 73 | - (B.coordinateDerivativePath G t) (Icc (0 : ℝ) D.T) t := | |
| 74 | - B.coefficients.velocity_hasDerivWithinAt P (forcingPath G) t | |
| 75 | - | |
| 76 | 63 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | 64 | HasDerivWithinAt (extendPath D.T D.T_pos.le (B.velocityPath G)) |
| 78 | 65 | (B.derivativePath G t) (Icc (0 : ℝ) D.T) t := |
| @@ -88,20 +75,12 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 88 | 75 | B.coefficients.physicalVelocity_supported P D.support D.support_measurable |
| 89 | 76 | (forcingPath G) (fun s => (G.path s).property) t |
| 90 | 77 | |
| 91 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 92 | - B.derivativePath G t ∈ Supported P Space D.support D.support_measurable := | |
| 93 | - B.coefficients.physicalDerivative_supported P D.support D.support_measurable | |
| 94 | - (forcingPath G) (fun s => (G.path s).property) t | |
| 95 | - | |
| 96 | 78 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.coordinatePath G t) = 0 := |
| 97 | 79 | B.coefficients.velocityPath_mean_zero P (forcingPath G) G.mean_zero t |
| 98 | 80 | |
| 99 | 81 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.velocityPath G t) = 0 := |
| 100 | 82 | B.coefficients.physicalVelocity_mean_zero P (forcingPath G) G.mean_zero t |
| 101 | 83 | |
| 102 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.derivativePath G t) = 0 := | |
| 103 | - B.coefficients.physicalDerivative_mean_zero P (forcingPath G) G.mean_zero t | |
| 104 | - | |
| 105 | 84 | def field (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := |
| 106 | 85 | pointField P (B.velocityPath G) (B.velocityPath_orbit G) t |
| 107 | 86 | |
| @@ -124,12 +103,6 @@ theorem derivativeField_ae (t : Icc (0 : ℝ) D.T) : | ||
| 124 | 103 | B.derivativePath G t =ᵐ[liftMeasure P] B.derivativeField G t := |
| 125 | 104 | pointField_ae P (B.derivativePath G) (B.derivativePath_orbit G) t |
| 126 | 105 | |
| 127 | -theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : | |
| 128 | - HasDerivWithinAt (fun s => B.field G (D.clamp s) x) | |
| 129 | - (B.derivativeField G t x) (Icc (0 : ℝ) D.T) t := | |
| 130 | - pointField_hasDerivWithinAt P D.T D.T_pos.le (B.velocityPath G) (B.derivativePath G) | |
| 131 | - (B.velocityPath_orbit G) (B.derivativePath_orbit G) (B.velocityPath_time G) t x | |
| 132 | - | |
| 133 | 106 | theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : |
| 134 | 107 | B.field G t x = 0 := by |
| 135 | 108 | change pointField P (B.velocityPath G) (B.velocityPath_orbit G) t x = 0 |
| @@ -137,13 +110,6 @@ theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 | ||
| 137 | 110 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 138 | 111 | _ _ (B.velocityPath_supported G t) x hx |
| 139 | 112 | |
| 140 | -theorem derivativeField_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : | |
| 141 | - B.derivativeField G t x = 0 := by | |
| 142 | - change pointField P (B.derivativePath G) (B.derivativePath_orbit G) t x = 0 | |
| 143 | - rw [pointField_eq_representative] | |
| 144 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 145 | - _ _ (B.derivativePath_supported G t) x hx | |
| 146 | - | |
| 147 | 113 | omit [CompleteSpace U] in |
| 148 | 114 | theorem normal_ne_zero (t : Icc (0 : ℝ) D.T) (x : Space) : D.normal.field t x ≠ 0 := by |
| 149 | 115 | intro hzero |
+0 −6 Euler/TransversePacketHistoryData.lean View file
| @@ -82,12 +82,6 @@ def coefficients : EulerCylinderDirichlet.Coefficients D.T U Space where | ||
| 82 | 82 | potential_bound := B.potential_bound |
| 83 | 83 | small := B.small |
| 84 | 84 | |
| 85 | -theorem coefficient_frame (t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : | |
| 86 | - B.coefficients.Q t x v = D.F.field t x (D.R v : Space) := rfl | |
| 87 | - | |
| 88 | -theorem coefficient_hessian (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 89 | - B.coefficients.H t x = B.H.field t x := rfl | |
| 90 | - | |
| 91 | 85 | end HistoryData |
| 92 | 86 | |
| 93 | 87 | end EulerTransversePacketProvider |
+0 −5 Euler/TransversePacketHistoryParity.lean View file
| @@ -31,11 +31,6 @@ theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | ||
| 31 | 31 | B.coefficients.physicalVelocity_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH |
| 32 | 32 | (forcingPath G) (G.path_reflection_neg hraw) t |
| 33 | 33 | |
| 34 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 35 | - reflection P (B.derivativePath G t) = -B.derivativePath G t := | |
| 36 | - B.coefficients.physicalDerivative_odd P (D.frame_even hF) (D.frameDerivative_even hF hM) hH | |
| 37 | - (forcingPath G) (G.path_reflection_neg hraw) t | |
| 38 | - | |
| 39 | 34 | theorem field_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 40 | 35 | B.field G t (-x,((-θ : ℝ) : AddCircle P)) = -B.field G t (x,(θ : AddCircle P)) := by |
| 41 | 36 | have he := representative_of_reflection P (B.velocityPath G t) (B.field G t) |
+0 −4 Euler/TransversePacketHistoryPressure.lean View file
| @@ -130,10 +130,6 @@ theorem pressureField_angle (t : Icc (0 : ℝ) D.T) (y : Space) (θ : ℝ) : | ||
| 130 | 130 | (B.normalResidual G t (y,(θ : AddCircle P))) θ := |
| 131 | 131 | classicalPrimitive_angle P _ _ _ y θ |
| 132 | 132 | |
| 133 | -theorem pressureField_mean_zero (t : Icc (0 : ℝ) D.T) (y : Space) : | |
| 134 | - (∫ θ in (0 : ℝ)..P, B.pressureField G t (y,(θ : AddCircle P))) = 0 := | |
| 135 | - classicalPrimitive_mean_zero P _ _ _ y | |
| 136 | - | |
| 137 | 133 | theorem pressureField_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 138 | 134 | ContDiff ℝ ∞ (localFieldLift P (B.pressureField G t) x) := |
| 139 | 135 | classicalPrimitive_smooth P _ _ _ (B.normalResidual_smooth G t) x |
+0 −14 Euler/TransversePacketHomogeneity.lean View file
| @@ -85,20 +85,6 @@ namespace EulerElapsedTimePathGluing | ||
| 85 | 85 | |
| 86 | 86 | open Set EulerPacketTimePathGluing |
| 87 | 87 | |
| 88 | -theorem join_smul {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 89 | - (S τ : ℝ) (hτ : 0 ≤ τ) (hτS : τ ≤ S) | |
| 90 | - (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) | |
| 91 | - (hm : u ⟨τ,hτ,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) (a : ℝ) : | |
| 92 | - join S τ hτ hτS (a • u) (a • v) (congrArg (a • ·) hm) = | |
| 93 | - a • join S τ hτ hτS u v hm := by | |
| 94 | - apply ContinuousMap.ext | |
| 95 | - intro t | |
| 96 | - change (if (t : ℝ) ≤ τ then a • u (projIcc 0 τ hτ t) | |
| 97 | - else a • v (elapsedTime S τ (projIcc τ S hτS t))) = | |
| 98 | - a • (if (t : ℝ) ≤ τ then u (projIcc 0 τ hτ t) | |
| 99 | - else v (elapsedTime S τ (projIcc τ S hτS t))) | |
| 100 | - split <;> rfl | |
| 101 | - | |
| 102 | 88 | end EulerElapsedTimePathGluing |
| 103 | 89 | |
| 104 | 90 | namespace EulerTransversePacketJoin |
+0 −22 Euler/TransversePacketInitial.lean View file
| @@ -49,28 +49,6 @@ theorem velocityPath_initial : | ||
| 49 | 49 | (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩) (G.coordinatePath I ⟨0,le_rfl,D.T_pos.le⟩) = _ |
| 50 | 50 | rw [G.coordinatePath_initial I] |
| 51 | 51 | |
| 52 | -theorem vector_initial_of_zero (hi : I.value = 0) (x : Space) (θ : ℝ) : | |
| 53 | - G.vector I (0,(x,θ)) = 0 := by | |
| 54 | - have hv : G.velocityPath I ⟨0,le_rfl,D.T_pos.le⟩ = 0 := by | |
| 55 | - rw [G.velocityPath_initial I,hi,map_zero] | |
| 56 | - have hfull : includePath P D.support D.support_measurable (G.velocityPath I) | |
| 57 | - ⟨0,le_rfl,D.T_pos.le⟩ = 0 := congrArg Subtype.val hv | |
| 58 | - have h := pointField_zero_of_value_zero P | |
| 59 | - (includePath P D.support D.support_measurable (G.velocityPath I)) | |
| 60 | - (G.velocityPath_orbit I) ⟨0,le_rfl,D.T_pos.le⟩ hfull (x,(θ : AddCircle P)) | |
| 61 | - simpa only [vector,EulerSourceCylinderClassical.field,Data.clamp, | |
| 62 | - projIcc_of_mem D.T_pos.le (show (0 : ℝ) ∈ Icc 0 D.T from ⟨le_rfl,D.T_pos.le⟩)] using h | |
| 63 | - | |
| 64 | -theorem vector_zero_initial (x : Space) (θ : ℝ) : | |
| 65 | - G.vector (InitialData.zero P D) (0,(x,θ)) = 0 := | |
| 66 | - G.vector_initial_of_zero (InitialData.zero P D) rfl x θ | |
| 67 | - | |
| 68 | 52 | end Forcing |
| 69 | 53 | |
| 70 | -theorem highSolve_zero_initial (D : Data U) (raw : VectorField) | |
| 71 | - (h : Nonempty (Forcing P D raw)) (x : Space) (θ : ℝ) : | |
| 72 | - (highSolve P D (InitialData.zero P D) raw).1 (0,(x,θ)) = 0 := by | |
| 73 | - rw [highSolve_of_admissible D (InitialData.zero P D) raw h] | |
| 74 | - exact (Classical.choice h).vector_zero_initial x θ | |
| 75 | - | |
| 76 | 54 | end EulerTransversePacketProvider |
+0 −5 Euler/TransversePacketIntervalData.lean View file
| @@ -86,11 +86,6 @@ theorem initial_inverseBound_le (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) : | ||
| 86 | 86 | change 1+‖(D.FInv.comp (initialInclusion D.T τ hτT)).field‖ ≤ 1+‖D.FInv.field‖ |
| 87 | 87 | linarith [D.FInv.comp_norm_le (initialInclusion D.T τ hτT)] |
| 88 | 88 | |
| 89 | -theorem tail_inverseBound_le (τ : ℝ) (hτ : 0 ≤ τ) (hτT : τ < D.T) : | |
| 90 | - (D.tail τ hτ hτT).inverseBound ≤ D.inverseBound := by | |
| 91 | - change 1+‖(D.FInv.comp (tailInclusion D.T τ hτ)).field‖ ≤ 1+‖D.FInv.field‖ | |
| 92 | - linarith [D.FInv.comp_norm_le (tailInclusion D.T τ hτ)] | |
| 93 | - | |
| 94 | 89 | end Data |
| 95 | 90 | |
| 96 | 91 | namespace HistoryData |
+0 −12 Euler/TransversePacketIntervalForcing.lean View file
| @@ -65,17 +65,5 @@ def terminalInitial : InitialData P D where | ||
| 65 | 65 | C(Icc (0 : ℝ) D.T,CylinderL2 P U) →L[ℝ] CylinderL2 P U).contDiff.comp (B.coordinatePath_orbit G) |
| 66 | 66 | mean_zero := B.coordinatePath_mean_zero G ⟨D.T,D.T_pos.le,le_rfl⟩ |
| 67 | 67 | |
| 68 | -/-- The history trace in the same fixed reference-plane coordinates is the | |
| 69 | -actual initial datum passed to the forward interval. -/ | |
| 70 | -def forwardInitial (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) : | |
| 71 | - InitialData P (D.tail τ hτ.le hτT) where | |
| 72 | - value := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).value | |
| 73 | - orbit := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).orbit | |
| 74 | - mean_zero := ((B.initial τ hτ hτT.le).terminalInitial (G.initial τ hτ hτT.le)).mean_zero | |
| 75 | - | |
| 76 | -theorem forwardInitial_eq (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) : | |
| 77 | - ((B.forwardInitial G τ hτ hτT).value : CylinderL2 P U) = | |
| 78 | - (B.initial τ hτ hτT.le).coordinatePath (G.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ := rfl | |
| 79 | - | |
| 80 | 68 | end HistoryData |
| 81 | 69 | end EulerTransversePacketProvider |
+0 −68 Euler/TransversePacketJoinedCorrectorSupport.lean View file
| @@ -18,89 +18,21 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 18 | 18 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 19 | 19 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 20 | 20 | |
| 21 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 22 | - average P (derivativePath τ hτ hτT B G t) = 0 := by | |
| 23 | - apply join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) | |
| 24 | - {u | average P u = 0} _ _ t | |
| 25 | - · exact B.derivativePath_mean_zero (G.initial τ hτ hτT.le) | |
| 26 | - · intro s | |
| 27 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 28 | - (D.T-τ) (sub_pos.mpr hτT).le | |
| 29 | - (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative | |
| 30 | - (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos | |
| 31 | - (D.tail τ hτ.le hτT).frame_lower (G.tail τ hτ.le hτT).path | |
| 32 | - (forwardInitial τ hτ hτT B G).value (G.tail τ hτ.le hτT).mean_zero | |
| 33 | - (forwardInitial τ hτ hτT B G).mean_zero s | |
| 34 | - | |
| 35 | 21 | theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : |
| 36 | 22 | potentialPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 37 | 23 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 38 | 24 | (velocityPath τ hτ hτT B G) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B G) t |
| 39 | 25 | |
| 40 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 41 | - potentialTimePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := by | |
| 42 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 43 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 44 | - (velocityPath τ hτ hτT B G) D.potentialDerivative (velocityPath_supported τ hτ hτT B G) t | |
| 45 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 46 | - (derivativePath τ hτ hτT B G) D.potentialCoefficientPath (derivativePath_supported τ hτ hτT B G) t | |
| 47 | - | |
| 48 | 26 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 49 | 27 | correctorPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 50 | 28 | slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) |
| 51 | 29 | (potentialPath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed |
| 52 | 30 | (potentialPath_supported τ hτ hτT B G) t |
| 53 | 31 | |
| 54 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 55 | - correctorTimePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := by | |
| 56 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 57 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B G) | |
| 58 | - (potentialPath_orbit τ hτ hτT B G) D.inverseDerivative D.support_compact.isClosed | |
| 59 | - (potentialPath_supported τ hτ hτT B G) t | |
| 60 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialTimePath τ hτ hτT B G) | |
| 61 | - (potentialTimePath_orbit τ hτ hτT B G) D.FInv.field D.support_compact.isClosed | |
| 62 | - (potentialTimePath_supported τ hτ hτT B G) t | |
| 63 | - | |
| 64 | -theorem potentialPath_average_zero : pathAverage P (potentialPath τ hτ hτT B G) = 0 := | |
| 65 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B G) D.potentialCoefficientPath | |
| 66 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B G)) | |
| 67 | - | |
| 68 | -theorem potentialTimePath_average_zero : pathAverage P (potentialTimePath τ hτ hτT B G) = 0 := by | |
| 69 | - rw [potentialTimePath,EulerCylinderPotential.potentialDerivative,map_add, | |
| 70 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B G) D.potentialDerivative | |
| 71 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B G)), | |
| 72 | - potentialPath_mean_zero P (derivativePath τ hτ hτT B G) D.potentialCoefficientPath | |
| 73 | - (ContinuousMap.ext (derivativePath_mean_zero τ hτ hτT B G)),add_zero] | |
| 74 | - | |
| 75 | -theorem correctorPath_average_zero : pathAverage P (correctorPath τ hτ hτT B G) = 0 := | |
| 76 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) | |
| 77 | - D.FInv.field (potentialPath_average_zero τ hτ hτT B G) | |
| 78 | - | |
| 79 | -theorem correctorTimePath_average_zero : pathAverage P (correctorTimePath τ hτ hτT B G) = 0 := by | |
| 80 | - rw [correctorTimePath,EulerCylinderSlowCurl.derivative,map_add, | |
| 81 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) | |
| 82 | - D.inverseDerivative (potentialPath_average_zero τ hτ hτT B G), | |
| 83 | - slowCurl_mean_zero P (potentialTimePath τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) | |
| 84 | - D.FInv.field (potentialTimePath_average_zero τ hτ hτT B G),add_zero] | |
| 85 | - | |
| 86 | 32 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 87 | 33 | corrector τ hτ hτT B G (t,(x,θ)) = 0 := |
| 88 | 34 | pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B G) |
| 89 | 35 | (correctorPath_orbit τ hτ hτT B G) D.support_compact.isClosed |
| 90 | 36 | (correctorPath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 91 | 37 | |
| 92 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 93 | - correctorDerivative τ hτ hτT B G (t,(x,θ)) = 0 := | |
| 94 | - pointField_zero_outside P D.support D.support_measurable (correctorTimePath τ hτ hτT B G) | |
| 95 | - (correctorTimePath_orbit τ hτ hτT B G) D.support_compact.isClosed | |
| 96 | - (correctorTimePath_supported τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 97 | - | |
| 98 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 99 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ))) = 0 := by | |
| 100 | - have he : (fun θ => D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ))) = | |
| 101 | - fun θ => corrector τ hτ hτT B G (t,(x,θ)) := funext (curlCorrector_eq τ hτ hτT B G t x) | |
| 102 | - rw [he] | |
| 103 | - exact (pathAverage_eq_zero_iff P (correctorPath τ hτ hτT B G) (correctorPath_orbit τ hτ hτT B G)).mp | |
| 104 | - (correctorPath_average_zero τ hτ hτT B G) (D.clamp t) x | |
| 105 | - | |
| 106 | 38 | end EulerTransversePacketJoin |
+0 −6 Euler/TransversePacketJoinedField.lean View file
| @@ -48,12 +48,6 @@ def vectorDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B G) where | ||
| 48 | 48 | theorem vectorField_time : TimeDerivative D.T_pos.le (vectorField τ hτ hτT B G) |
| 49 | 49 | (vectorDerivativeField τ hτ hτT B G) := velocityPath_time τ hτ hτT B G |
| 50 | 50 | |
| 51 | -theorem vector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 52 | - HasDerivWithinAt (fun s => vector τ hτ hτT B G (s,(x,θ))) | |
| 53 | - (vectorDerivative τ hτ hτT B G (t,(x,θ))) (Icc (0 : ℝ) D.T) t := | |
| 54 | - (vectorField τ hτ hτT B G).raw_hasDerivWithinAt D.T_pos.le | |
| 55 | - (vectorDerivativeField τ hτ hτT B G) (vectorField_time τ hτ hτT B G) t x θ | |
| 56 | - | |
| 57 | 51 | theorem scalar_eq_pointField (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 58 | 52 | scalar τ hτ hτT B G (t,(x,θ)) = |
| 59 | 53 | scalarPointField P (pressurePath τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
+0 −25 Euler/TransversePacketJoinedFullBounds.lean View file
| @@ -32,8 +32,6 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 32 | 32 | (L : Budget D τ hτ hτT B (Fin 4) q) (N : NormalBudget D q L.R) |
| 33 | 33 | |
| 34 | 34 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 35 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*L.commonCost) | |
| 36 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*L.commonCost) | |
| 37 | 35 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 38 | 36 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 39 | 37 | |
| @@ -82,29 +80,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 82 | 80 | q L.R (L.pressureAmplitude (P := P) N*A) (d+3) (L.pressure_bound N G A hA d hforce) n |
| 83 | 81 | simpa only [show d+3+1=d+4 by omega,mul_assoc] using h |
| 84 | 82 | |
| 85 | -theorem potential_bound (n : ℕ) : | |
| 86 | - block standardDirection q (fun a => pathTranslate P a | |
| 87 | - (normalize L.fullProfile L.fullProfile_pos (potentialPath τ hτ hτT B G))) n 0 ≤ | |
| 88 | - (L.potentialAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 89 | - have hc := N.coefficient_bounds | |
| 90 | - have h := potentialPath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos | |
| 91 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 92 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) | |
| 93 | - (L.velocity_common_bound G A hA d hforce) (fun j a => (hc.2.2 j a).2.2.1) n | |
| 94 | - exact h.trans_eq (by unfold potentialAmplitude NormalBudget.blockAmplitude; ring) | |
| 95 | - | |
| 96 | -theorem potential_time_bound (n : ℕ) : | |
| 97 | - block standardDirection q (fun a => pathTranslate P a | |
| 98 | - (normalize L.fullProfile L.fullProfile_pos (potentialTimePath τ hτ hτT B G))) n 0 ≤ | |
| 99 | - (L.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 100 | - have hc := N.coefficient_bounds | |
| 101 | - have h := potentialTimePath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos | |
| 102 | - q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) | |
| 103 | - hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) | |
| 104 | - (L.velocity_common_bound G A hA d hforce) (L.derivative_common_bound G A hA d hforce) | |
| 105 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 106 | - exact h.trans_eq (by unfold potentialTimeAmplitude NormalBudget.blockAmplitude; ring) | |
| 107 | - | |
| 108 | 83 | theorem corrector_bound (n : ℕ) : |
| 109 | 84 | block standardDirection q (fun a => pathTranslate P a |
| 110 | 85 | (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B G))) n 0 ≤ |
+0 −11 Euler/TransversePacketJoinedParity.lean View file
| @@ -58,11 +58,6 @@ theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 58 | 58 | (vectorField τ hτ hτT B G).raw_odd_of_reflection_neg t |
| 59 | 59 | (velocityPath_reflection_neg τ hτ hτT B G hSym hF hM hH hraw t) x θ |
| 60 | 60 | |
| 61 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 62 | - vectorDerivative τ hτ hτT B G (t,(-x,-θ)) = -vectorDerivative τ hτ hτT B G (t,(x,θ)) := | |
| 63 | - (vectorField τ hτ hτT B G).timeDerivative_odd (vectorDerivativeField τ hτ hτT B G) | |
| 64 | - D.T_pos (vectorField_time τ hτ hτT B G) (vector_odd τ hτ hτT B G hSym hF hM hH hraw) t x θ | |
| 65 | - | |
| 66 | 61 | theorem scalar_even (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 67 | 62 | scalar τ hτ hτT B G (t,(-x,-θ)) = scalar τ hτ hτT B G (t,(x,θ)) := by |
| 68 | 63 | by_cases ht : (t : ℝ) ≤ τ |
| @@ -92,10 +87,4 @@ theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 92 | 87 | · exact vector_mean_zero τ hτ hτT B G t |
| 93 | 88 | · exact vector_odd τ hτ hτT B G hSym hF hM hH hraw t |
| 94 | 89 | |
| 95 | -theorem correctorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 96 | - correctorDerivative τ hτ hτT B G (t,(-x,-θ)) = | |
| 97 | - -correctorDerivative τ hτ hτT B G (t,(x,θ)) := | |
| 98 | - (correctorField τ hτ hτT B G).timeDerivative_odd (correctorDerivativeField τ hτ hτT B G) | |
| 99 | - D.T_pos (correctorField_time τ hτ hτT B G) (curlCorrector_odd τ hτ hτT B G hSym hF hM hH hraw) t x θ | |
| 100 | - | |
| 101 | 90 | end EulerTransversePacketJoin |
+0 −22 Euler/TransversePacketJoinedPaths.lean View file
| @@ -91,26 +91,4 @@ theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : | ||
| 91 | 91 | · exact B.velocityPath_time (G.initial τ hτ hτT.le) |
| 92 | 92 | · exact (G.tail τ hτ.le hτT).vectorField_time (forwardInitial τ hτ hτT B G) |
| 93 | 93 | |
| 94 | -/-- The gluing step itself has no external radius cost. -/ | |
| 95 | -theorem velocityPath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 96 | - block directions q (fun b => pathTranslate P b (velocityPath τ hτ hτT B G)) n a ≤ | |
| 97 | - block directions q (fun b => pathTranslate P b (pastVelocity τ hτ hτT B G)) n a+ | |
| 98 | - block directions q (fun b => pathTranslate P b (futureVelocity τ hτ hτT B G)) n a := | |
| 99 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) | |
| 100 | - (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n a | |
| 101 | - | |
| 102 | -theorem derivativePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 103 | - block directions q (fun b => pathTranslate P b (derivativePath τ hτ hτT B G)) n a ≤ | |
| 104 | - block directions q (fun b => pathTranslate P b (pastDerivative τ hτ hτT B G)) n a+ | |
| 105 | - block directions q (fun b => pathTranslate P b (futureDerivative τ hτ hτT B G)) n a := | |
| 106 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) | |
| 107 | - (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n a | |
| 108 | - | |
| 109 | -theorem pressurePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : | |
| 110 | - block directions q (fun b => pathTranslate P b (pressurePath τ hτ hτT B G)) n a ≤ | |
| 111 | - block directions q (fun b => pathTranslate P b (pastPressure τ hτ hτT B G)) n a+ | |
| 112 | - block directions q (fun b => pathTranslate P b (futurePressure τ hτ hτT B G)) n a := | |
| 113 | - join_orbit_block P D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) | |
| 114 | - (pastPressure_orbit τ hτ hτT B G) (futurePressure_orbit τ hτ hτT B G) directions q n a | |
| 115 | - | |
| 116 | 94 | end EulerTransversePacketJoin |
+0 −47 Euler/TransversePacketJoinedProvider.lean View file
| @@ -107,38 +107,6 @@ theorem highSolve_eq : highSolve (P := P) τ hτ hτT B raw = | ||
| 107 | 107 | |
| 108 | 108 | variable (h : Nonempty (Forcing P D raw)) |
| 109 | 109 | |
| 110 | -def highVectorField : Field P D.T (highSolve (P := P) τ hτ hτT B raw).1 := | |
| 111 | - (vectorField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by | |
| 112 | - rw [highSolve_of_admissible τ hτ hτT B h]) | |
| 113 | - | |
| 114 | -def highDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B (Classical.choice h)) := | |
| 115 | - vectorDerivativeField τ hτ hτT B (Classical.choice h) | |
| 116 | - | |
| 117 | -theorem highVectorField_time : TimeDerivative D.T_pos.le | |
| 118 | - (highVectorField τ hτ hτT B h) (highDerivativeField τ hτ hτT B h) := | |
| 119 | - vectorField_time τ hτ hτT B (Classical.choice h) | |
| 120 | - | |
| 121 | -def highPressureGradientField : Field P D.T (pressureGradient (highSolve (P := P) τ hτ hτT B raw).2) := | |
| 122 | - (scalarGradientField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by | |
| 123 | - rw [highSolve_of_admissible τ hτ hτT B h]) | |
| 124 | - | |
| 125 | -def highCorrectorField : Field P D.T (D.curlCorrector P (highSolve (P := P) τ hτ hτT B raw).1) where | |
| 126 | - path := correctorPath τ hτ hτT B (Classical.choice h) | |
| 127 | - orbit := correctorPath_orbit τ hτ hτT B (Classical.choice h) | |
| 128 | - raw_eq t x θ := by | |
| 129 | - rw [highSolve_of_admissible τ hτ hτT B h] | |
| 130 | - exact (correctorField τ hτ hτT B (Classical.choice h)).raw_eq t x θ | |
| 131 | - | |
| 132 | -def highCorrectorDerivativeField : Field P D.T (correctorDerivative τ hτ hτT B (Classical.choice h)) where | |
| 133 | - path := correctorTimePath τ hτ hτT B (Classical.choice h) | |
| 134 | - orbit := correctorTimePath_orbit τ hτ hτT B (Classical.choice h) | |
| 135 | - raw_eq t x θ := (correctorDerivativeField τ hτ hτT B (Classical.choice h)).raw_eq t x θ | |
| 136 | - | |
| 137 | -theorem highCorrectorField_time : TimeDerivative D.T_pos.le | |
| 138 | - (highCorrectorField τ hτ hτT B h) (highCorrectorDerivativeField τ hτ hτT B h) := by | |
| 139 | - intro t | |
| 140 | - exact correctorPath_time τ hτ hτT B (Classical.choice h) t | |
| 141 | - | |
| 142 | 110 | include h in |
| 143 | 111 | theorem highSolve_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 144 | 112 | linearPart (D.strain (t,(x,θ))) |
| @@ -148,19 +116,4 @@ theorem highSolve_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 148 | 116 | rw [highSolve_of_admissible τ hτ hτT B h] |
| 149 | 117 | exact jet_equation τ hτ hτT B (Classical.choice h) t x θ |
| 150 | 118 | |
| 151 | -include h in | |
| 152 | -theorem highSolve_parity | |
| 153 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 154 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 155 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 156 | - (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 157 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) : | |
| 158 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).1 (t,(-x,-θ)) = | |
| 159 | - -(highSolve (P := P) τ hτ hτT B raw).1 (t,(x,θ))) ∧ | |
| 160 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).2 (t,(-x,-θ)) = | |
| 161 | - (highSolve (P := P) τ hτ hτT B raw).2 (t,(x,θ))) := by | |
| 162 | - rw [highSolve_of_admissible τ hτ hτT B h] | |
| 163 | - exact ⟨vector_odd τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw, | |
| 164 | - scalar_even τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw⟩ | |
| 165 | - | |
| 166 | 119 | end EulerTransversePacketJoin |
+0 −34 Euler/TransversePacketJoinedSupport.lean View file
| @@ -48,12 +48,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 48 | 48 | (B.velocityPath_supported (G.initial τ hτ hτT.le)) |
| 49 | 49 | (fun s => ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G) s).property) t |
| 50 | 50 | |
| 51 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 52 | - derivativePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := | |
| 53 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) _ | |
| 54 | - (B.derivativePath_supported (G.initial τ hτ hτT.le)) | |
| 55 | - (fun s => ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G) s).property) t | |
| 56 | - | |
| 57 | 51 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (velocityPath τ hτ hτT B G t) = 0 := by |
| 58 | 52 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) |
| 59 | 53 | {u | average P u = 0} _ _ t |
| @@ -73,14 +67,6 @@ theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : | ||
| 73 | 67 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 74 | 68 | _ _ (velocityPath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 75 | 69 | |
| 76 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 77 | - vectorDerivative τ hτ hτT B G (t,(x,θ)) = 0 := by | |
| 78 | - change pointField P (derivativePath τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) | |
| 79 | - (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 80 | - rw [pointField_eq_representative] | |
| 81 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 82 | - _ _ (derivativePath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx | |
| 83 | - | |
| 84 | 70 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 85 | 71 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B G (t,(x,θ))) = 0 := |
| 86 | 72 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B G) |
| @@ -97,28 +83,8 @@ theorem scalar_zero_outside (t : Icc (0 : ℝ) D.T) (x : Space) (hx : x ∉ D.su | ||
| 97 | 83 | rw [scalar_right τ hτ hτT B G tr x θ] |
| 98 | 84 | exact (G.tail τ hτ.le hτT).scalar_zero_outside (forwardInitial τ hτ hτT B G) _ x hx θ |
| 99 | 85 | |
| 100 | -theorem scalar_normalized (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 101 | - (∫ θ in (0 : ℝ)..P, scalar τ hτ hτT B G (t,(x,θ))) = 0 := by | |
| 102 | - by_cases ht : (t : ℝ) ≤ τ | |
| 103 | - · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ | |
| 104 | - have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = | |
| 105 | - fun θ : ℝ => B.pressureField (G.initial τ hτ hτT.le) th (x,(θ : AddCircle P)) := | |
| 106 | - funext (fun θ => scalar_left τ hτ hτT B G th x θ) | |
| 107 | - rw [he] | |
| 108 | - exact B.pressureField_mean_zero (G.initial τ hτ hτT.le) th x | |
| 109 | - · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ | |
| 110 | - have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = | |
| 111 | - fun θ => (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := | |
| 112 | - funext (fun θ => scalar_right τ hτ hτT B G tr x θ) | |
| 113 | - rw [he] | |
| 114 | - exact (G.tail τ hτ.le hτT).scalar_normalized (forwardInitial τ hτ hτT B G) _ x | |
| 115 | - | |
| 116 | 86 | theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => vector τ hτ hτT B G (t,(x,θ))) P := by |
| 117 | 87 | intro θ |
| 118 | 88 | simp only [vector,AddCircle.coe_add_period] |
| 119 | 89 | |
| 120 | -theorem scalar_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => scalar τ hτ hτT B G (t,(x,θ))) P := by | |
| 121 | - intro θ | |
| 122 | - simp only [scalar,AddCircle.coe_add_period] | |
| 123 | - | |
| 124 | 90 | end EulerTransversePacketJoin |
+0 −4 Euler/TransversePacketLocalHistory.lean View file
| @@ -24,8 +24,4 @@ def forwardInitial : InitialData P (D.tail τ hτ.le hτT) where | ||
| 24 | 24 | orbit := (B.terminalInitial (G.initial τ hτ hτT.le)).orbit |
| 25 | 25 | mean_zero := (B.terminalInitial (G.initial τ hτ hτT.le)).mean_zero |
| 26 | 26 | |
| 27 | -theorem forwardInitial_eq : | |
| 28 | - ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U) = | |
| 29 | - B.coordinatePath (G.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ := rfl | |
| 30 | - | |
| 31 | 27 | end EulerTransversePacketJoin |
+0 −13 Euler/TransversePacketParity.lean View file
| @@ -75,25 +75,12 @@ theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : | ||
| 75 | 75 | D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 76 | 76 | (D.frame_even hF) (D.frameDerivative_even hF hM) G.path I.value (G.path_reflection_neg hraw) hinit t |
| 77 | 77 | |
| 78 | -include hSym hF hM hraw hinit in | |
| 79 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 80 | - reflection P (G.fullDerivativePath I t) = -G.fullDerivativePath I t := | |
| 81 | - EulerSourceCylinderParity.velocityDerivative_reflection_neg P D.support D.support_measurable hSym | |
| 82 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 83 | - (D.frame_even hF) (D.frameDerivative_even hF hM) G.path I.value (G.path_reflection_neg hraw) hinit t | |
| 84 | - | |
| 85 | 78 | include hSym hF hM hraw hinit in |
| 86 | 79 | theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 87 | 80 | G.vector I (t,(-x,-θ)) = -G.vector I (t,(x,θ)) := |
| 88 | 81 | (G.vectorField I).raw_odd_of_reflection_neg t |
| 89 | 82 | (G.velocityPath_reflection_neg I hSym hF hM hraw hinit t) x θ |
| 90 | 83 | |
| 91 | -include hSym hF hM hraw hinit in | |
| 92 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 93 | - G.vectorDerivative I (t,(-x,-θ)) = -G.vectorDerivative I (t,(x,θ)) := | |
| 94 | - (G.vectorDerivativeField I).raw_odd_of_reflection_neg t | |
| 95 | - (G.derivativePath_reflection_neg I hSym hF hM hraw hinit t) x θ | |
| 96 | - | |
| 97 | 84 | include hSym hF hM hraw hinit in |
| 98 | 85 | theorem corrector_odd_of_data (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 99 | 86 | G.corrector I (t,(-x,-θ)) = -G.corrector I (t,(x,θ)) := |
+0 −5 Euler/TransversePacketPressureGradient.lean View file
| @@ -37,9 +37,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 37 | 37 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 38 | 38 | (h : Nonempty (Forcing P D raw)) |
| 39 | 39 | |
| 40 | -/-- The total high operator has the required pressure-gradient witness on admissible forcing. -/ | |
| 41 | -def highSolvePressureGradientField : Field P D.T (pressureGradient (highSolve P D I raw).2) := | |
| 42 | - ((Classical.choice h).scalarGradientField I).congr (fun _ _ _ => by | |
| 43 | - rw [highSolve_of_admissible D I raw h]) | |
| 44 | - | |
| 45 | 40 | end EulerTransversePacketProvider |
+0 −27 Euler/TransversePacketPressureGradientBounds.lean View file
| @@ -36,31 +36,4 @@ theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg | ||
| 36 | 36 | (3*A)*majorant R (d+1) n := |
| 37 | 37 | scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n |
| 38 | 38 | |
| 39 | -theorem source_pressure_gradient_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 40 | - (q : ℕ) (Rc Cm CM Ri R Af Av : ℝ) | |
| 41 | - (hRc : 0 ≤ Rc) (hCm : 0 ≤ Cm) (hCM : 0 ≤ CM) (hAf : 0 ≤ Af) (hAv : 0 ≤ Av) | |
| 42 | - (hRi : 2*gramCost D.normalLower Cm 1*(Rc+1) ≤ Ri) | |
| 43 | - (hR : sobolevCoefficientRadius (Fin 4) (4*Ri) ≤ R) | |
| 44 | - (hm : ∀ n t x, ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ Cm*majorant Rc 0 n) | |
| 45 | - (hM : ∀ n t x, ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ CM*majorant Rc 0 n) | |
| 46 | - (d : ℕ) | |
| 47 | - (hf : ∀ n, block standardDirection q | |
| 48 | - (fun a : LiftTangent => pathTranslate P a | |
| 49 | - (normalize g hg (includePath P D.support D.support_measurable G.path))) n 0 ≤ Af*majorant R d n) | |
| 50 | - (hv : ∀ n, block standardDirection q | |
| 51 | - (fun a : LiftTangent => pathTranslate P a | |
| 52 | - (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I)))) n 0 ≤ | |
| 53 | - Av*majorant R d n) (n : ℕ) : | |
| 54 | - block standardDirection q | |
| 55 | - (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ | |
| 56 | - (3*(P*pressureCost (Fin 4) q Ri Cm CM Af Av))*majorant R (d+1) n := by | |
| 57 | - apply G.scalarGradientField_normalized_bound I g hg q R _ d _ n | |
| 58 | - intro j | |
| 59 | - rw [G.pressurePath_normalized_eq_source I g hg] | |
| 60 | - exact sourcePressure_block_bound P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 61 | - _ _ standardDirection (fun i => by cases i using Fin.cases <;> simp [Prod.norm_def]) q | |
| 62 | - (weighted_orbit P (reciprocal g hg) _ G.path_orbit) | |
| 63 | - (weighted_orbit P (reciprocal g hg) _ (G.velocityPath_orbit I)) | |
| 64 | - Rc Cm CM Ri R Af Av hRc hCm hCM hAf hAv hRi hR hm hM d hf hv j | |
| 65 | - | |
| 66 | 39 | end EulerTransversePacketProvider.Forcing |
+0 −10 Euler/TransversePacketPressureGradientProperties.lean View file
| @@ -23,11 +23,6 @@ theorem scalarGradient_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) | ||
| 23 | 23 | pressureGradient_zero_outside (G.scalar I) t D.support D.support_compact.isClosed |
| 24 | 24 | (G.scalar_zero_outside I t) x hx θ |
| 25 | 25 | |
| 26 | -theorem scalarGradientField_supported (t : Icc (0 : ℝ) D.T) : | |
| 27 | - (G.scalarGradientField I).path t ∈ Supported P Space D.support D.support_measurable := | |
| 28 | - (G.scalarGradientField I).supported_of_raw_zero D.support D.support_measurable | |
| 29 | - (fun t => G.scalarGradient_zero_outside I t) t | |
| 30 | - | |
| 31 | 26 | theorem scalarGradient_odd |
| 32 | 27 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 33 | 28 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| @@ -46,9 +41,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 46 | 41 | (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 47 | 42 | (h : Nonempty (Forcing P D raw)) |
| 48 | 43 | |
| 49 | -theorem highSolvePressureGradientField_supported (t : Icc (0 : ℝ) D.T) : | |
| 50 | - (highSolvePressureGradientField P D I raw h).path t ∈ | |
| 51 | - Supported P Space D.support D.support_measurable := | |
| 52 | - (Classical.choice h).scalarGradientField_supported I t | |
| 53 | - | |
| 54 | 44 | end EulerTransversePacketProvider |
+0 −14 Euler/TransversePacketPressureParity.lean View file
| @@ -58,18 +58,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 58 | 58 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 59 | 59 | (D : Data U) (I : InitialData P D) (raw : VectorField) (h : Nonempty (Forcing P D raw)) |
| 60 | 60 | |
| 61 | -include h in | |
| 62 | -theorem highSolve_parity (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 63 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 64 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 65 | - (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) | |
| 66 | - (hinit : reflection P (I.value : CylinderL2 P U) = -(I.value : CylinderL2 P U)) : | |
| 67 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 68 | - (highSolve P D I raw).1 (t,(-x,-θ)) = -(highSolve P D I raw).1 (t,(x,θ))) ∧ | |
| 69 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 70 | - (highSolve P D I raw).2 (t,(-x,-θ)) = (highSolve P D I raw).2 (t,(x,θ))) := by | |
| 71 | - rw [highSolve_of_admissible D I raw h] | |
| 72 | - exact ⟨(Classical.choice h).vector_odd I hSym hF hM hraw hinit, | |
| 73 | - (Classical.choice h).scalar_even I hSym hF hM hraw hinit⟩ | |
| 74 | - | |
| 75 | 61 | end EulerTransversePacketProvider |
+0 −61 Euler/TransversePacketPrimaryCorrector.lean View file
| @@ -153,72 +153,18 @@ theorem potentialPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 153 | 153 | EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable |
| 154 | 154 | (velocityPath τ hτ hτT B Y) D.potentialCoefficientPath (velocityPath_supported τ hτ hτT B Y) t |
| 155 | 155 | |
| 156 | -theorem potentialTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 157 | - potentialTimePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := by | |
| 158 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 159 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 160 | - (velocityPath τ hτ hτT B Y) D.potentialDerivative (velocityPath_supported τ hτ hτT B Y) t | |
| 161 | - · exact EulerCylinderLocalSupport.potentialPath_supported P D.support D.support_measurable | |
| 162 | - (derivativePath τ hτ hτT B Y) D.potentialCoefficientPath (derivativePath_supported τ hτ hτT B Y) t | |
| 163 | - | |
| 164 | 156 | theorem correctorPath_supported (t : Icc (0 : ℝ) D.T) : |
| 165 | 157 | correctorPath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := |
| 166 | 158 | slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B Y) |
| 167 | 159 | (potentialPath_orbit τ hτ hτT B Y) D.FInv.field D.support_compact.isClosed |
| 168 | 160 | (potentialPath_supported τ hτ hτT B Y) t |
| 169 | 161 | |
| 170 | -theorem correctorTimePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 171 | - correctorTimePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := by | |
| 172 | - apply (Supported P Space D.support D.support_measurable).add_mem | |
| 173 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialPath τ hτ hτT B Y) | |
| 174 | - (potentialPath_orbit τ hτ hτT B Y) D.inverseDerivative D.support_compact.isClosed | |
| 175 | - (potentialPath_supported τ hτ hτT B Y) t | |
| 176 | - · exact slowCurlPath_supported P D.support D.support_measurable (potentialTimePath τ hτ hτT B Y) | |
| 177 | - (potentialTimePath_orbit τ hτ hτT B Y) D.FInv.field D.support_compact.isClosed | |
| 178 | - (potentialTimePath_supported τ hτ hτT B Y) t | |
| 179 | - | |
| 180 | -theorem potentialPath_average_zero : pathAverage P (potentialPath τ hτ hτT B Y) = 0 := | |
| 181 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B Y) D.potentialCoefficientPath | |
| 182 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B Y)) | |
| 183 | - | |
| 184 | -theorem potentialTimePath_average_zero : pathAverage P (potentialTimePath τ hτ hτT B Y) = 0 := by | |
| 185 | - rw [potentialTimePath,EulerCylinderPotential.potentialDerivative,map_add, | |
| 186 | - potentialPath_mean_zero P (velocityPath τ hτ hτT B Y) D.potentialDerivative | |
| 187 | - (ContinuousMap.ext (velocityPath_mean_zero τ hτ hτT B Y)), | |
| 188 | - potentialPath_mean_zero P (derivativePath τ hτ hτT B Y) D.potentialCoefficientPath | |
| 189 | - (ContinuousMap.ext (derivativePath_mean_zero τ hτ hτT B Y)),add_zero] | |
| 190 | - | |
| 191 | -theorem correctorPath_average_zero : pathAverage P (correctorPath τ hτ hτT B Y) = 0 := | |
| 192 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B Y) (potentialPath_orbit τ hτ hτT B Y) | |
| 193 | - D.FInv.field (potentialPath_average_zero τ hτ hτT B Y) | |
| 194 | - | |
| 195 | -theorem correctorTimePath_average_zero : pathAverage P (correctorTimePath τ hτ hτT B Y) = 0 := by | |
| 196 | - rw [correctorTimePath,EulerCylinderSlowCurl.derivative,map_add, | |
| 197 | - slowCurl_mean_zero P (potentialPath τ hτ hτT B Y) (potentialPath_orbit τ hτ hτT B Y) | |
| 198 | - D.inverseDerivative (potentialPath_average_zero τ hτ hτT B Y), | |
| 199 | - slowCurl_mean_zero P (potentialTimePath τ hτ hτT B Y) (potentialTimePath_orbit τ hτ hτT B Y) | |
| 200 | - D.FInv.field (potentialTimePath_average_zero τ hτ hτT B Y),add_zero] | |
| 201 | - | |
| 202 | 162 | theorem corrector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 203 | 163 | corrector τ hτ hτT B Y (t,(x,θ)) = 0 := |
| 204 | 164 | pointField_zero_outside P D.support D.support_measurable (correctorPath τ hτ hτT B Y) |
| 205 | 165 | (correctorPath_orbit τ hτ hτT B Y) D.support_compact.isClosed |
| 206 | 166 | (correctorPath_supported τ hτ hτT B Y) (D.clamp t) (x,(θ : AddCircle P)) hx |
| 207 | 167 | |
| 208 | -theorem correctorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 209 | - correctorDerivative τ hτ hτT B Y (t,(x,θ)) = 0 := | |
| 210 | - pointField_zero_outside P D.support D.support_measurable (correctorTimePath τ hτ hτT B Y) | |
| 211 | - (correctorTimePath_orbit τ hτ hτT B Y) D.support_compact.isClosed | |
| 212 | - (correctorTimePath_supported τ hτ hτT B Y) (D.clamp t) (x,(θ : AddCircle P)) hx | |
| 213 | - | |
| 214 | -theorem curlCorrector_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 215 | - (∫ θ in (0 : ℝ)..P, D.curlCorrector P (vector τ hτ hτT B Y) (t,(x,θ))) = 0 := by | |
| 216 | - have he : (fun θ => D.curlCorrector P (vector τ hτ hτT B Y) (t,(x,θ))) = | |
| 217 | - fun θ => corrector τ hτ hτT B Y (t,(x,θ)) := funext (curlCorrector_eq τ hτ hτT B Y t x) | |
| 218 | - rw [he] | |
| 219 | - exact (pathAverage_eq_zero_iff P (correctorPath τ hτ hτT B Y) (correctorPath_orbit τ hτ hτT B Y)).mp | |
| 220 | - (correctorPath_average_zero τ hτ hτT B Y) (D.clamp t) x | |
| 221 | - | |
| 222 | 168 | end EulerTransversePacketPrimary |
| 223 | 169 | |
| 224 | 170 | |
| @@ -249,11 +195,4 @@ theorem curlCorrector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 249 | 195 | · exact vector_mean_zero τ hτ hτT B Y t |
| 250 | 196 | · exact vector_odd τ hτ hτT B Y hSym hF hM hH hY t |
| 251 | 197 | |
| 252 | -theorem correctorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 253 | - correctorDerivative τ hτ hτT B Y (t,(-x,-θ)) = | |
| 254 | - -correctorDerivative τ hτ hτT B Y (t,(x,θ)) := | |
| 255 | - (correctorField τ hτ hτT B Y).timeDerivative_odd (correctorDerivativeField τ hτ hτT B Y) | |
| 256 | - D.T_pos (correctorField_time τ hτ hτT B Y) | |
| 257 | - (curlCorrector_odd τ hτ hτT B Y hSym hF hM hH hY) t x θ | |
| 258 | - | |
| 259 | 198 | end EulerTransversePacketPrimary |
+0 −18 Euler/TransversePacketPrimaryField.lean View file
| @@ -77,14 +77,6 @@ theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : | ||
| 77 | 77 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 78 | 78 | _ _ (velocityPath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 79 | 79 | |
| 80 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 81 | - vectorDerivative τ hτ hτT B Y (t,(x,θ)) = 0 := by | |
| 82 | - change pointField P (derivativePath τ hτ hτT B Y) (derivativePath_orbit τ hτ hτT B Y) | |
| 83 | - (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 84 | - rw [pointField_eq_representative] | |
| 85 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 86 | - _ _ (derivativePath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx | |
| 87 | - | |
| 88 | 80 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 89 | 81 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B Y (t,(x,θ))) = 0 := |
| 90 | 82 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B Y) |
| @@ -96,11 +88,6 @@ theorem vector_periodic (t : ℝ) (x : Space) : | ||
| 96 | 88 | intro θ |
| 97 | 89 | simp only [vector,AddCircle.coe_add_period] |
| 98 | 90 | |
| 99 | -theorem scalar_periodic (t : ℝ) (x : Space) : | |
| 100 | - Function.Periodic (fun θ => scalar τ hτ hτT B Y (t,(x,θ))) P := by | |
| 101 | - intro θ | |
| 102 | - simp only [scalar,AddCircle.coe_add_period] | |
| 103 | - | |
| 104 | 91 | theorem vector_tangent (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 105 | 92 | ⟪D.normalField (t,(x,θ)),vector τ hτ hτT B Y (t,(x,θ))⟫_ℝ = 0 := by |
| 106 | 93 | have hae : (fun z : LiftDomain P => ⟪D.normal.field t z.1, |
| @@ -130,9 +117,4 @@ theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 130 | 117 | (vectorField τ hτ hτT B Y).raw_odd_of_reflection_neg t |
| 131 | 118 | (velocityPath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ |
| 132 | 119 | |
| 133 | -theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 134 | - vectorDerivative τ hτ hτT B Y (t,(-x,-θ)) = -vectorDerivative τ hτ hτT B Y (t,(x,θ)) := | |
| 135 | - (vectorDerivativeField τ hτ hτT B Y).raw_odd_of_reflection_neg t | |
| 136 | - (derivativePath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ | |
| 137 | - | |
| 138 | 120 | end EulerTransversePacketPrimary |
+0 −25 Euler/TransversePacketPrimaryFullBounds.lean View file
| @@ -143,8 +143,6 @@ theorem derivativeCost_nonneg : 0 ≤ H.derivativeCost := by | ||
| 143 | 143 | |
| 144 | 144 | def commonCost : ℝ := H.velocityCost+H.derivativeCost |
| 145 | 145 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 0 H.commonCost |
| 146 | -def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*H.commonCost) | |
| 147 | -def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*H.commonCost) | |
| 148 | 146 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*H.commonCost) |
| 149 | 147 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*H.commonCost) |
| 150 | 148 | |
| @@ -235,29 +233,6 @@ theorem pressure_gradient_bound (n : ℕ) : | ||
| 235 | 233 | (H.pressure_bound N Y A hA d hYb) n |
| 236 | 234 | simpa only [show d+3+1=d+4 by omega,mul_assoc] using h |
| 237 | 235 | |
| 238 | -theorem potential_bound (n : ℕ) : | |
| 239 | - block standardDirection q (fun a => pathTranslate P a | |
| 240 | - (normalize L.fullProfile L.fullProfile_pos (potentialPath τ hτ hτT B Y))) n 0 ≤ | |
| 241 | - (H.potentialAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 242 | - have hc := N.coefficient_bounds | |
| 243 | - have h := potentialPath_normalized_bound τ hτ hτT B Y L.fullProfile L.fullProfile_pos | |
| 244 | - q N.coefficientRadius N.coefficientAmplitude L.R (H.commonCost*A) | |
| 245 | - hc.1 hc.2.1 (mul_nonneg H.commonCost_nonneg hA) N.radius (d+3) | |
| 246 | - (H.velocity_common_bound Y A hA d hYb) (fun j a => (hc.2.2 j a).2.2.1) n | |
| 247 | - exact h.trans_eq (by unfold potentialAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 248 | - | |
| 249 | -theorem potential_time_bound (n : ℕ) : | |
| 250 | - block standardDirection q (fun a => pathTranslate P a | |
| 251 | - (normalize L.fullProfile L.fullProfile_pos (potentialTimePath τ hτ hτT B Y))) n 0 ≤ | |
| 252 | - (H.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+3) n := by | |
| 253 | - have hc := N.coefficient_bounds | |
| 254 | - have h := potentialTimePath_normalized_bound τ hτ hτT B Y L.fullProfile L.fullProfile_pos | |
| 255 | - q N.coefficientRadius N.coefficientAmplitude L.R (H.commonCost*A) | |
| 256 | - hc.1 hc.2.1 (mul_nonneg H.commonCost_nonneg hA) N.radius (d+3) | |
| 257 | - (H.velocity_common_bound Y A hA d hYb) (H.derivative_common_bound Y A hA d hYb) | |
| 258 | - (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n | |
| 259 | - exact h.trans_eq (by unfold potentialTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) | |
| 260 | - | |
| 261 | 236 | theorem corrector_bound (n : ℕ) : |
| 262 | 237 | block standardDirection q (fun a => pathTranslate P a |
| 263 | 238 | (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B Y))) n 0 ≤ |
+0 −16 Euler/TransversePacketPrimaryHistory.lean View file
| @@ -62,20 +62,4 @@ theorem angular_derivative_zero_history (δ : ℝ) (hδ : 0 < δ) (ξ : U) | ||
| 62 | 62 | rw [profile_deriv_zero δ hδ] at hp |
| 63 | 63 | exact (hp.const_mul (innerCutoff x)).smul_const (B.coefficients.labelVelocity x ξ t) |
| 64 | 64 | |
| 65 | -omit P [Fact (0 < P)] Y in | |
| 66 | -theorem angular_derivative_zero_origin (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 67 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : | |
| 68 | - deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0 = | |
| 69 | - δ⁻¹ • B.coefficients.labelVelocity 0 ξ t := by | |
| 70 | - simpa only [innerCutoff_zero,one_mul] using | |
| 71 | - (angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0).deriv | |
| 72 | - | |
| 73 | -omit P [Fact (0 < P)] Y in | |
| 74 | -theorem angular_derivative_zero_origin_norm (δ : ℝ) (hδ : 0 < δ) (ξ : U) | |
| 75 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : | |
| 76 | - ‖deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0‖ = | |
| 77 | - δ⁻¹ * ‖B.coefficients.labelVelocity 0 ξ t‖ := by | |
| 78 | - rw [angular_derivative_zero_origin τ hτ hτT B δ hδ ξ hs t,norm_smul, | |
| 79 | - Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] | |
| 80 | - | |
| 81 | 65 | end EulerTransversePacketPrimary |
+0 −23 Euler/TransversePacketPrimaryParity.lean View file
| @@ -43,15 +43,6 @@ theorem pastVelocity_reflection_neg (t : Icc (0 : ℝ) τ) : | ||
| 43 | 43 | (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) |
| 44 | 44 | hH Y.value hY t |
| 45 | 45 | |
| 46 | -theorem pastDerivative_reflection_neg (t : Icc (0 : ℝ) τ) : | |
| 47 | - reflection P (pastDerivative τ hτ hτT B Y t) = -pastDerivative τ hτ hτT B Y t := | |
| 48 | - B.coefficients.endpointDerivative_odd P | |
| 49 | - ((D.initial τ hτ hτT.le).frame_even (fun s x => hF (initialInclusion D.T τ hτT.le s) x)) | |
| 50 | - ((D.initial τ hτ hτT.le).frameDerivative_even | |
| 51 | - (fun s x => hF (initialInclusion D.T τ hτT.le s) x) | |
| 52 | - (fun s x => hM (initialInclusion D.T τ hτT.le s) x)) | |
| 53 | - hH Y.value hY t | |
| 54 | - | |
| 55 | 46 | include hSym |
| 56 | 47 | |
| 57 | 48 | theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : |
| @@ -62,24 +53,10 @@ theorem futureVelocity_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | ||
| 62 | 53 | (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) |
| 63 | 54 | (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t |
| 64 | 55 | |
| 65 | -theorem futureDerivative_reflection_neg (t : Icc (0 : ℝ) (D.T-τ)) : | |
| 66 | - reflection P (futureDerivative τ hτ hτT B Y t) = -futureDerivative τ hτ hτT B Y t := | |
| 67 | - (zeroForcing (D.tail τ hτ.le hτT)).derivativePath_reflection_neg (forwardInitial τ hτ hτT B Y) hSym | |
| 68 | - (fun s x => hF (tailInclusion D.T τ hτ.le s) x) | |
| 69 | - (fun s x => hM (tailInclusion D.T τ hτ.le s) x) | |
| 70 | - (by intro s x θ; simp only [Pi.zero_apply,neg_zero]) | |
| 71 | - (forwardInitial_reflection_neg τ hτ hτT B Y hF hM hH hY) t | |
| 72 | - | |
| 73 | 56 | theorem velocityPath_reflection_neg (t : Icc (0 : ℝ) D.T) : |
| 74 | 57 | reflection P (velocityPath τ hτ hτT B Y t) = -velocityPath τ hτ hτT B Y t := |
| 75 | 58 | join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) {u | reflection P u = -u} |
| 76 | 59 | (pastVelocity_reflection_neg τ hτ hτT B Y hF hM hH hY) |
| 77 | 60 | (futureVelocity_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t |
| 78 | 61 | |
| 79 | -theorem derivativePath_reflection_neg (t : Icc (0 : ℝ) D.T) : | |
| 80 | - reflection P (derivativePath τ hτ hτT B Y t) = -derivativePath τ hτ hτT B Y t := | |
| 81 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) {u | reflection P u = -u} | |
| 82 | - (pastDerivative_reflection_neg τ hτ hτT B Y hF hM hH hY) | |
| 83 | - (futureDerivative_reflection_neg τ hτ hτT B Y hSym hF hM hH hY) t | |
| 84 | - | |
| 85 | 62 | end EulerTransversePacketPrimary |
+0 −18 Euler/TransversePacketPrimaryPaths.lean View file
| @@ -89,12 +89,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : | ||
| 89 | 89 | (EulerTransversePacketEndpoint.velocityPath_supported B (endpointData τ hτ hτT Y)) |
| 90 | 90 | (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y) s).property) t |
| 91 | 91 | |
| 92 | -theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : | |
| 93 | - derivativePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := | |
| 94 | - join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) _ | |
| 95 | - (EulerTransversePacketEndpoint.derivativePath_supported B (endpointData τ hτ hτT Y)) | |
| 96 | - (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y) s).property) t | |
| 97 | - | |
| 98 | 92 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 99 | 93 | average P (velocityPath τ hτ hτT B Y t) = 0 := by |
| 100 | 94 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) |
| @@ -107,16 +101,4 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : | ||
| 107 | 101 | (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value |
| 108 | 102 | (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s |
| 109 | 103 | |
| 110 | -theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : | |
| 111 | - average P (derivativePath τ hτ hτT B Y t) = 0 := by | |
| 112 | - apply join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) | |
| 113 | - {u | average P u = 0} _ _ t | |
| 114 | - · exact EulerTransversePacketEndpoint.derivativePath_mean_zero B (endpointData τ hτ hτT Y) | |
| 115 | - · intro s | |
| 116 | - exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable | |
| 117 | - (D.T-τ) (sub_pos.mpr hτT).le (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative | |
| 118 | - (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower | |
| 119 | - (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value | |
| 120 | - (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s | |
| 121 | - | |
| 122 | 104 | end EulerTransversePacketPrimary |
+0 −5 Euler/TransversePacketPrimaryPressure.lean View file
| @@ -145,11 +145,6 @@ theorem pressureField_angle (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 145 | 145 | (normalResidual τ hτ hτT B Y t (x,(θ : AddCircle P))) θ := |
| 146 | 146 | classicalPrimitive_angle P _ _ _ x θ |
| 147 | 147 | |
| 148 | -theorem scalar_normalized (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 149 | - (∫ θ in (0 : ℝ)..P, scalar τ hτ hτT B Y (t,(x,θ))) = 0 := by | |
| 150 | - simp_rw [scalar_eq_pressureField] | |
| 151 | - exact classicalPrimitive_mean_zero P _ _ _ x | |
| 152 | - | |
| 153 | 148 | theorem normalResidual_zero_outside (t : Icc (0 : ℝ) D.T) (y : Space) (hy : y ∉ D.support) |
| 154 | 149 | (θ : AddCircle P) : normalResidual τ hτ hτT B Y t (y,θ) = 0 := by |
| 155 | 150 | have hv := pointField_zero_outside P D.support D.support_measurable |
+0 −41 Euler/TransversePacketProvider.lean View file
| @@ -69,13 +69,6 @@ theorem vector_tangent (t : ℝ) (x : Space) (θ : ℝ) : | ||
| 69 | 69 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 70 | 70 | G.path_orbit I.orbit D.normal D.frame_tangent (D.clamp t) (x,(θ : AddCircle P)) |
| 71 | 71 | |
| 72 | -theorem scalar_normalized (t : ℝ) (x : Space) : | |
| 73 | - (∫ θ in (0 : ℝ)..P, G.scalar I (t,(x,θ))) = 0 := | |
| 74 | - pressureField_mean_zero P D.support D.support_measurable D.support_compact D.T D.T_pos.le | |
| 75 | - D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value | |
| 76 | - G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 77 | - G.mean_zero I.mean_zero (D.clamp t) x | |
| 78 | - | |
| 79 | 72 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 80 | 73 | (∫ θ in (0 : ℝ)..P, G.vector I (t,(x,θ))) = 0 := by |
| 81 | 74 | have hz := EulerSourceCylinderEquation.velocity_average_zero P D.support D.support_measurable |
| @@ -95,16 +88,6 @@ theorem vector_spatial_smooth (t : ℝ) : | ||
| 95 | 88 | | rfl |
| 96 | 89 | | (funext y; simp only [vector,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) |
| 97 | 90 | |
| 98 | -theorem vectorDerivative_spatial_smooth (t : ℝ) : | |
| 99 | - ContDiff ℝ ∞ (fun y : Space × ℝ => G.vectorDerivative I (t,y)) := by | |
| 100 | - have h := derivativeField_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le | |
| 101 | - D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value | |
| 102 | - G.path_orbit I.orbit (D.clamp t) 0 | |
| 103 | - convert h using 1 | |
| 104 | - first | |
| 105 | - | rfl | |
| 106 | - | (funext y; simp only [vectorDerivative,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) | |
| 107 | - | |
| 108 | 91 | theorem scalar_spatial_smooth (t : ℝ) : |
| 109 | 92 | ContDiff ℝ ∞ (fun y : Space × ℝ => G.scalar I (t,y)) := by |
| 110 | 93 | have h := pressureField_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| @@ -134,10 +117,6 @@ theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => G.v | ||
| 134 | 117 | intro θ |
| 135 | 118 | simp only [vector,AddCircle.coe_add_period] |
| 136 | 119 | |
| 137 | -theorem scalar_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => G.scalar I (t,(x,θ))) P := by | |
| 138 | - intro θ | |
| 139 | - simp only [scalar,AddCircle.coe_add_period] | |
| 140 | - | |
| 141 | 120 | end Forcing |
| 142 | 121 | |
| 143 | 122 | /-- A total raw-field map backed by the actual forward solution on its admissible domain. -/ |
| @@ -154,24 +133,4 @@ theorem highSolve_of_admissible (D : Data U) (I : InitialData P D) (raw : Vector | ||
| 154 | 133 | highSolve P D I raw = ((Classical.choice h).vector I,(Classical.choice h).scalar I) := by |
| 155 | 134 | simp only [highSolve,dite_eq_left h] |
| 156 | 135 | |
| 157 | -theorem highSolve_contract (D : Data U) (I : InitialData P D) (raw : VectorField) | |
| 158 | - (h : Nonempty (Forcing P D raw)) : | |
| 159 | - ∃ a_t : VectorField, | |
| 160 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 161 | - HasDerivWithinAt (fun r => (highSolve P D I raw).1 (r,(x,θ))) | |
| 162 | - (a_t (t,(x,θ))) (Icc (0 : ℝ) D.T) t) ∧ | |
| 163 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 164 | - a_t (t,(x,θ))+D.strain (t,(x,θ)) ((highSolve P D I raw).1 (t,(x,θ)))+ | |
| 165 | - deriv (fun s => (highSolve P D I raw).2 (t,(x,s))) θ • D.normalField (t,(x,θ)) = raw (t,(x,θ))) ∧ | |
| 166 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (highSolve P D I raw).1 (t,y))) ∧ | |
| 167 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (highSolve P D I raw).2 (t,y))) ∧ | |
| 168 | - (∀ t x, (∫ θ in (0 : ℝ)..P, (highSolve P D I raw).2 (t,(x,θ))) = 0) := by | |
| 169 | - rw [highSolve_of_admissible D I raw h] | |
| 170 | - exact ⟨(Classical.choice h).vectorDerivative I, | |
| 171 | - (Classical.choice h).vector_hasDerivWithinAt I, | |
| 172 | - (Classical.choice h).equation I, | |
| 173 | - (Classical.choice h).vector_spatial_smooth I, | |
| 174 | - (Classical.choice h).scalar_spatial_smooth I, | |
| 175 | - (Classical.choice h).scalar_normalized I⟩ | |
| 176 | - | |
| 177 | 136 | end EulerTransversePacketProvider |
+0 −50 Euler/TransversePacketRegularity.lean View file
| @@ -23,56 +23,6 @@ private theorem continuous_cover : | ||
| 23 | 23 | continuous_fst.prodMk ((continuous_fst.comp continuous_snd).prodMk |
| 24 | 24 | ((AddCircle.continuous_mk' P).comp (continuous_snd.comp continuous_snd))) |
| 25 | 25 | |
| 26 | -theorem vector_joint_continuous : | |
| 27 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vector I (z.1,z.2)) := by | |
| 28 | - have h := (field_joint_continuous P D.support D.support_measurable D.support_compact | |
| 29 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 30 | - G.path I.value G.path_orbit I.orbit).comp (continuous_cover (P := P) (D := D)) | |
| 31 | - simpa only [vector,Data.clamp_coe,Function.comp_def] using h | |
| 32 | - | |
| 33 | -theorem scalar_joint_continuous : | |
| 34 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.scalar I (z.1,z.2)) := by | |
| 35 | - have h := (pressureField_joint_continuous P D.support D.support_measurable D.support_compact | |
| 36 | - D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 37 | - G.path I.value G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower | |
| 38 | - G.mean_zero I.mean_zero).comp (continuous_cover (P := P) (D := D)) | |
| 39 | - simpa only [scalar,Data.clamp_coe,Function.comp_def] using h | |
| 40 | - | |
| 41 | -theorem vectorDerivative_joint_continuous : | |
| 42 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vectorDerivative I (z.1,z.2)) := by | |
| 43 | - have h := (pointField_joint_continuous P | |
| 44 | - (includePath P D.support D.support_measurable (G.derivativePath I)) | |
| 45 | - (G.derivativePath_orbit I)).comp (continuous_cover (P := P) (D := D)) | |
| 46 | - simpa only [vectorDerivative,derivativeField,Data.clamp_coe,Function.comp_def] using h | |
| 47 | - | |
| 48 | -theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : | |
| 49 | - G.vectorDerivative I (t,(x,θ)) = 0 := by | |
| 50 | - change pointField P (includePath P D.support D.support_measurable (G.derivativePath I)) | |
| 51 | - (G.derivativePath_orbit I) (D.clamp t) (x,(θ : AddCircle P)) = 0 | |
| 52 | - rw [pointField_eq_representative] | |
| 53 | - exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed | |
| 54 | - _ _ (G.derivativePath I (D.clamp t)).property (x,(θ : AddCircle P)) hx | |
| 55 | - | |
| 56 | -theorem vector_support (t θ : ℝ) : | |
| 57 | - tsupport (fun x : Space => G.vector I (t,(x,θ))) ⊆ D.support := by | |
| 58 | - apply closure_minimal _ D.support_compact.isClosed | |
| 59 | - intro x hx | |
| 60 | - by_contra hn | |
| 61 | - exact hx (G.vector_zero_outside I t x hn θ) | |
| 62 | - | |
| 63 | -theorem scalar_support (t θ : ℝ) : | |
| 64 | - tsupport (fun x : Space => G.scalar I (t,(x,θ))) ⊆ D.support := by | |
| 65 | - apply closure_minimal _ D.support_compact.isClosed | |
| 66 | - intro x hx | |
| 67 | - by_contra hn | |
| 68 | - exact hx (G.scalar_zero_outside I t x hn θ) | |
| 69 | - | |
| 70 | -theorem vector_compact (t θ : ℝ) : HasCompactSupport (fun x : Space => G.vector I (t,(x,θ))) := | |
| 71 | - D.support_compact.of_isClosed_subset (isClosed_tsupport _) (G.vector_support I t θ) | |
| 72 | - | |
| 73 | -theorem scalar_compact (t θ : ℝ) : HasCompactSupport (fun x : Space => G.scalar I (t,(x,θ))) := | |
| 74 | - D.support_compact.of_isClosed_subset (isClosed_tsupport _) (G.scalar_support I t θ) | |
| 75 | - | |
| 76 | 26 | end Forcing |
| 77 | 27 | |
| 78 | 28 | end EulerTransversePacketProvider |
+0 −35 Euler/TransverseParameterRegularity.lean View file
| @@ -100,39 +100,4 @@ theorem contDiff_fixedFrameSolution (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff | ||
| 100 | 100 | K hK (hPotential x) hsmall (f x)) := |
| 101 | 101 | (contDiff_fixedFrameSolver T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH).clm_apply hf |
| 102 | 102 | |
| 103 | -include hd in | |
| 104 | -/-- The coordinates of the original physical transverse solve inherit the | |
| 105 | -proved parameter regularity through equality with the fixed-space inverse. -/ | |
| 106 | -theorem contDiff_transverse_coordinates | |
| 107 | - (m : P → Icc (0 : ℝ) T → E) | |
| 108 | - (hTangent : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 109 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) | |
| 110 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 111 | - (f : P → TimeLp T E) (hf : ContDiff ℝ n f) : | |
| 112 | - ContDiff ℝ n (fun x => coordinateDerivative T hT (Q x) (Q₁ x) c hc (hLower x) | |
| 113 | - (transverseSolver T hT (m x) (H x) K hK (hPotential x) hsmall (f x) : TimeLp T E)) := by | |
| 114 | - have hsol := (zeroTraceDerivatives (U := U) T hT).subtypeL.contDiff.comp | |
| 115 | - (contDiff_fixedFrameSolution T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf) | |
| 116 | - convert hsol using 1 | |
| 117 | - funext x | |
| 118 | - have heq := fixedFrameSolver_eq_transverse T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) | |
| 119 | - K hK (hPotential x) hsmall (m x) (hTangent x) (hRange x) (f x) | |
| 120 | - exact congrArg (fun v : zeroTraceDerivatives (U := U) T hT => (v : TimeLp T U)) heq.symm | |
| 121 | - | |
| 122 | -include hd in | |
| 123 | -/-- The physical velocity of the original constructed inverse has the actual | |
| 124 | -parameter regularity of the prescribed frame and forcing. -/ | |
| 125 | -theorem contDiff_transverse_velocity | |
| 126 | - (m : P → Icc (0 : ℝ) T → E) | |
| 127 | - (hTangent : ∀ x t v, ⟪m x t, Q x t v⟫_ℝ = 0) | |
| 128 | - (hRange : ∀ x t η, ⟪m x t, η⟫_ℝ = 0 → ∃ v : U, Q x t v = η) | |
| 129 | - (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) | |
| 130 | - (f : P → TimeLp T E) (hf : ContDiff ℝ n f) : | |
| 131 | - ContDiff ℝ n (fun x => timeMultiplier T hT (Q x) | |
| 132 | - (coordinateDerivative T hT (Q x) (Q₁ x) c hc (hLower x) | |
| 133 | - (transverseSolver T hT (m x) (H x) K hK (hPotential x) hsmall (f x) : TimeLp T E))) := | |
| 134 | - (contDiff_timeMultiplier T hT Q hQ).clm_apply | |
| 135 | - (contDiff_transverse_coordinates T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall | |
| 136 | - m hTangent hRange hQ hQ₁ hH f hf) | |
| 137 | - | |
| 138 | 103 | end EulerTransverseParameterRegularity |
+0 −116 Euler/TransverseSourceCoefficientPath.lean View file
| @@ -35,15 +35,6 @@ private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance | ||
| 35 | 35 | def pathEvaluation (x : Space) : C(K,Space →ᵇ V) →L[ℝ] C(K,V) := |
| 36 | 36 | (BoundedContinuousFunction.evalCLM ℝ x).compLeftContinuous ℝ K |
| 37 | 37 | |
| 38 | -/-- Evaluation is a contraction in the genuine uniform path norm. -/ | |
| 39 | -theorem pathEvaluation_norm (x : Space) : ‖pathEvaluation (K := K) (V := V) x‖ ≤ 1 := by | |
| 40 | - apply opNorm_le_bound _ zero_le_one | |
| 41 | - intro A | |
| 42 | - rw [one_mul] | |
| 43 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 44 | - intro t | |
| 45 | - exact ((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t) | |
| 46 | - | |
| 47 | 38 | /-- The source coefficient viewed as a time path at a spatial position. -/ |
| 48 | 39 | def pointPath (A : SmoothCoefficientPath K V) (x : Space) : C(K,V) := |
| 49 | 40 | pathEvaluation 0 (translateCoefficientPath A.field x) |
| @@ -54,58 +45,8 @@ theorem pointPath_apply (A : SmoothCoefficientPath K V) (x : Space) (t : K) : | ||
| 54 | 45 | change A.field t (0+x) = A.field t x |
| 55 | 46 | rw [zero_add] |
| 56 | 47 | |
| 57 | -/-- Genuine smooth position dependence, in the uniform time-path norm. -/ | |
| 58 | -theorem pointPath_contDiff (A : SmoothCoefficientPath K V) : ContDiff ℝ ∞ (pointPath A) := by | |
| 59 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 60 | - (E := C(K,Space →ᵇ V)) (F := C(K,V)) (pathEvaluation 0)).comp A.translation_contDiff | |
| 61 | - | |
| 62 | -/-- Source pointwise derivative bounds give actual operator-norm derivatives of the time path. -/ | |
| 63 | -theorem pointPath_derivative_bound (A : SmoothCoefficientPath K V) | |
| 64 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 65 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : Space) : | |
| 66 | - ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C := by | |
| 67 | - have h := (pathEvaluation (K := K) (V := V) 0).norm_iteratedFDeriv_comp_left | |
| 68 | - (A.translation_contDiff.contDiffAt (x := x)) (n := n) (by simp) | |
| 69 | - exact h.trans ((mul_le_mul_of_nonneg_right (pathEvaluation_norm (K := K) (V := V) 0) | |
| 70 | - (norm_nonneg _)).trans (by simpa only [one_mul] using A.norm_iteratedFDeriv_translation_le n C hC hb x)) | |
| 71 | - | |
| 72 | -/-- Every prescribed factorial coefficient bound survives the time-path construction. -/ | |
| 73 | -theorem pointPath_gevrey (A : SmoothCoefficientPath K V) | |
| 74 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 75 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) | |
| 76 | - (n : ℕ) (x : Space) : | |
| 77 | - ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C*majorant Rc d n := | |
| 78 | - pointPath_derivative_bound A n _ (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x | |
| 79 | - | |
| 80 | 48 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 81 | 49 | |
| 82 | -/-- Independent angle variables can be added by a fixed spatial projection. -/ | |
| 83 | -theorem pointPath_pullback_contDiff (L : P →L[ℝ] Space) (A : SmoothCoefficientPath K V) : | |
| 84 | - ContDiff ℝ ∞ (fun x => pointPath A (L x)) := | |
| 85 | - (pointPath_contDiff A).comp L.contDiff | |
| 86 | - | |
| 87 | -/-- A spatial projection of norm at most one preserves the literal source derivative bounds. -/ | |
| 88 | -theorem pointPath_pullback_derivative_bound (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 89 | - (A : SmoothCoefficientPath K V) (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 90 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : P) : | |
| 91 | - ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C := by | |
| 92 | - change ‖iteratedFDeriv ℝ n ((pointPath A) ∘ L) x‖ ≤ C | |
| 93 | - rw [L.iteratedFDeriv_comp_right (pointPath_contDiff A) x (by simp)] | |
| 94 | - have h := (iteratedFDeriv ℝ n (pointPath A) (L x)).norm_compContinuousLinearMap_le (fun _ => L) | |
| 95 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at h | |
| 96 | - exact h.trans ((mul_le_mul (pointPath_derivative_bound A n C hC hb (L x)) | |
| 97 | - (pow_le_one₀ (norm_nonneg L) hL) (pow_nonneg (norm_nonneg L) n) hC).trans_eq (mul_one C)) | |
| 98 | - | |
| 99 | -/-- Joint spatial/angle coefficient bounds follow from the source spatial bounds. -/ | |
| 100 | -theorem pointPath_pullback_gevrey (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 101 | - (A : SmoothCoefficientPath K V) | |
| 102 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 103 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) | |
| 104 | - (n : ℕ) (x : P) : | |
| 105 | - ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C*majorant Rc d n := | |
| 106 | - pointPath_pullback_derivative_bound L hL A n _ | |
| 107 | - (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x | |
| 108 | - | |
| 109 | 50 | end Evaluation |
| 110 | 51 | |
| 111 | 52 | section Frame |
| @@ -132,65 +73,8 @@ theorem referenceEmbedding_norm : ‖referenceEmbedding m₀ Rperp‖ ≤ 1 := b | ||
| 132 | 73 | def referenceRestriction : (Space →L[ℝ] Space) →L[ℝ] (U →L[ℝ] Space) := |
| 133 | 74 | (compL ℝ U Space Space).flip (referenceEmbedding m₀ Rperp) |
| 134 | 75 | |
| 135 | -/-- The time-path reference restriction is a genuine bounded linear map. -/ | |
| 136 | -def framePathMap (T : ℝ) : C(Icc (0 : ℝ) T,Space →L[ℝ] Space) →L[ℝ] | |
| 137 | - C(Icc (0 : ℝ) T,U →L[ℝ] Space) := | |
| 138 | - (referenceRestriction m₀ Rperp).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 139 | - | |
| 140 | -/-- This restriction is exactly the source frame path `F Rperp`. -/ | |
| 141 | -theorem framePathMap_apply (T : ℝ) (A : C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) : | |
| 142 | - framePathMap m₀ Rperp T A = framePath m₀ Rperp T A := rfl | |
| 143 | - | |
| 144 | -/-- Orthogonal reference restriction does not enlarge the coefficient path norm. -/ | |
| 145 | -theorem framePathMap_norm (T : ℝ) : ‖framePathMap m₀ Rperp T‖ ≤ 1 := by | |
| 146 | - apply opNorm_le_bound _ zero_le_one | |
| 147 | - intro A | |
| 148 | - rw [one_mul] | |
| 149 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 150 | - intro t | |
| 151 | - calc | |
| 152 | - ‖framePathMap m₀ Rperp T A t‖ ≤ ‖A t‖ * ‖referenceEmbedding m₀ Rperp‖ := opNorm_comp_le _ _ | |
| 153 | - _ ≤ ‖A t‖ * 1 := mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ Rperp) (norm_nonneg _) | |
| 154 | - _ ≤ ‖A‖ := by simpa only [mul_one] using A.norm_coe_le_norm t | |
| 155 | - | |
| 156 | -/-- The actual source frame depends smoothly on position in time-path operator norm. -/ | |
| 157 | -theorem sourceFrame_contDiff (T : ℝ) | |
| 158 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : | |
| 159 | - ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A x)) := by | |
| 160 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 161 | - (E := C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) | |
| 162 | - (F := C(Icc (0 : ℝ) T,U →L[ℝ] Space)) (framePathMap m₀ Rperp T)).comp (pointPath_contDiff A) | |
| 163 | - | |
| 164 | -/-- Source spatial factorial bounds give the exact frame-path bounds used by the inverse. -/ | |
| 165 | -theorem sourceFrame_gevrey (T : ℝ) | |
| 166 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 167 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 168 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 169 | - C*majorant Rc d n) (n : ℕ) (x : Space) : | |
| 170 | - ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A y)) x‖ ≤ C*majorant Rc d n := by | |
| 171 | - exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) | |
| 172 | - (pointPath A) (pointPath_contDiff A) Rc C hRc hC d (pointPath_gevrey A Rc C hRc hC d hb) n x | |
| 173 | - | |
| 174 | 76 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 175 | 77 | |
| 176 | -/-- The literal frame remains smooth after adjoining independent angle coordinates. -/ | |
| 177 | -theorem sourceFrame_pullback_contDiff (T : ℝ) (L : P →L[ℝ] Space) | |
| 178 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : | |
| 179 | - ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A (L x))) := | |
| 180 | - (sourceFrame_contDiff m₀ Rperp T A).comp L.contDiff | |
| 181 | - | |
| 182 | -/-- The actual source `F Rperp` coefficients satisfy the full joint parameter factorial bounds. -/ | |
| 183 | -theorem sourceFrame_pullback_gevrey (T : ℝ) (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) | |
| 184 | - (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 185 | - (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) | |
| 186 | - (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ | |
| 187 | - C*majorant Rc d n) (n : ℕ) (x : P) : | |
| 188 | - ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A (L y))) x‖ ≤ | |
| 189 | - C*majorant Rc d n := by | |
| 190 | - exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) | |
| 191 | - (fun y => pointPath A (L y)) (pointPath_pullback_contDiff L A) Rc C hRc hC d | |
| 192 | - (pointPath_pullback_gevrey L hL A Rc C hRc hC d hb) n x | |
| 193 | - | |
| 194 | 78 | end Frame |
| 195 | 79 | |
| 196 | 80 | end EulerTransverseSourceCoefficientPath |
+0 −38 Euler/TransverseStrongEstimates.lean View file
| @@ -127,18 +127,6 @@ theorem coordinateDerivative_norm (hT : 0 ≤ T) (u : TimeLp T E) : | ||
| 127 | 127 | exact mul_le_mul (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hs |
| 128 | 128 | (Real.sqrt_nonneg _) (by positivity) |
| 129 | 129 | |
| 130 | -/-- The actual coercive forcing-to-coordinate-velocity map has a polynomial bound. -/ | |
| 131 | -theorem transverseCoordinateDerivative_norm (hT : 0 ≤ T) | |
| 132 | - (m : Icc (0 : ℝ) T → E) (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 133 | - (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 134 | - (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : | |
| 135 | - ‖coordinateDerivative T hT Q Q₁ c hc hQ | |
| 136 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E)‖ ≤ | |
| 137 | - ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) * | |
| 138 | - (2 * T * ‖f‖) := by | |
| 139 | - apply (coordinateDerivative_norm T Q Q₁ c hc hQ hT _).trans | |
| 140 | - exact mul_le_mul_of_nonneg_left (transverseSolver_norm T hT m H K hK hH hsmall f) (by positivity) | |
| 141 | - | |
| 142 | 130 | /-- Inverting the projected strong equation is an exact equality of actual L² fields. -/ |
| 143 | 131 | theorem acceleration_eq_inverse (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
| 144 | 132 | (heq : ∀ᵐ t ∂timeMeasure T, gram (extendPath T hT Q t) (a t) = |
| @@ -191,30 +179,4 @@ theorem acceleration_norm (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) | ||
| 191 | 179 | gcongr |
| 192 | 180 | _ = _ := by ring |
| 193 | 181 | |
| 194 | -/-- Applying the strong bound to the actual variational solver gives a polynomial | |
| 195 | -acceleration estimate in terms of its already bounded coordinate velocity. -/ | |
| 196 | -theorem transverseCoordinateSecondDerivative_norm | |
| 197 | - (Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (hT : 0 < T) | |
| 198 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 199 | - HasDerivWithinAt (extendPath T hT.le Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 200 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 201 | - HasDerivWithinAt (extendPath T hT.le Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 202 | - (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) | |
| 203 | - (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) | |
| 204 | - (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) | |
| 205 | - (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) | |
| 206 | - (hsmall : K * (T^2/2) ≤ 1/2) | |
| 207 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) (f : TimeLp T E) : | |
| 208 | - let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 209 | - ‖coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H u f‖ ≤ | |
| 210 | - c⁻¹ * ‖Q‖ * (‖f‖ + 2 * ‖Q₁‖ * ‖coordinateDerivative T hT.le Q Q₁ c hc hQ u‖) := by | |
| 211 | - let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f | |
| 212 | - obtain ⟨v, _, _, hv, _, _, heq⟩ := | |
| 213 | - transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hd hd₁ hT m hm hRange | |
| 214 | - H K hK hH hsmall hframe f | |
| 215 | - apply acceleration_norm T Q Q₁ c hc hQ hT.le | |
| 216 | - filter_upwards [hv, heq] with t hvt ht | |
| 217 | - rw [hvt] | |
| 218 | - exact ht | |
| 219 | - | |
| 220 | 182 | end EulerTransverseStrongEstimates |
+0 −139 Euler/TransverseVariationalInverse.lean View file
| @@ -68,14 +68,6 @@ instance transverseDerivatives_complete [CompleteSpace E] (T : ℝ) (hT : 0 ≤ | ||
| 68 | 68 | (m : Icc (0 : ℝ) T → E) : CompleteSpace (transverseDerivatives T hT m) := |
| 69 | 69 | (transverseDerivatives_closed T hT m).completeSpace_coe |
| 70 | 70 | |
| 71 | -/-- The zero initial trace is exactly the zero-mean condition on the time derivative. -/ | |
| 72 | -theorem transverseDerivatives_integral_zero (T : ℝ) (hT : 0 ≤ T) | |
| 73 | - (m : Icc (0 : ℝ) T → E) (u : transverseDerivatives T hT m) : | |
| 74 | - (∫ t in 0..T, (u : TimeLp T E) t) = 0 := by | |
| 75 | - have hi := u.property.1 | |
| 76 | - rw [initialTrace_eq_integral] at hi | |
| 77 | - exact neg_eq_zero.mp hi | |
| 78 | - | |
| 79 | 71 | /-- Every genuine absolutely continuous zero-endpoint transverse path with an |
| 80 | 72 | L² derivative belongs to this Hilbert model. Thus the test space is not an |
| 81 | 73 | assumed family of already solved displacements. -/ |
| @@ -106,20 +98,6 @@ theorem transversePrimitive_norm_sq (T : ℝ) (hT : 0 ≤ T) | ||
| 106 | 98 | ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := |
| 107 | 99 | primitiveTimeLp_norm_sq_le T hT (u : TimeLp T E) |
| 108 | 100 | |
| 109 | -/-- A convenient polynomial operator bound for the terminal primitive. -/ | |
| 110 | -theorem transversePrimitive_norm_le (T : ℝ) (hT : 0 ≤ T) | |
| 111 | - (m : Icc (0 : ℝ) T → E) : ‖transversePrimitive T hT m‖ ≤ T := by | |
| 112 | - apply ContinuousLinearMap.opNorm_le_bound _ hT | |
| 113 | - intro u | |
| 114 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hT (norm_nonneg u))).1 | |
| 115 | - calc | |
| 116 | - ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := | |
| 117 | - transversePrimitive_norm_sq T hT m u | |
| 118 | - _ ≤ T ^ 2 * ‖u‖ ^ 2 := by | |
| 119 | - apply mul_le_mul_of_nonneg_right _ (sq_nonneg ‖u‖) | |
| 120 | - nlinarith only [sq_nonneg T] | |
| 121 | - _ = (T * ‖u‖) ^ 2 := by ring | |
| 122 | - | |
| 123 | 101 | variable [CompleteSpace E] |
| 124 | 102 | variable (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) |
| 125 | 103 | variable (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| @@ -140,34 +118,6 @@ def transverseDisplacement : TimeLp T E →L[ℝ] C(Icc (0 : ℝ) T, E) := | ||
| 140 | 118 | ((transverseDerivatives T hT m).subtypeL.comp |
| 141 | 119 | (transverseSolver T hT m H K hK hH hsmall)) |
| 142 | 120 | |
| 143 | -/-- The solved displacement vanishes at the initial endpoint. -/ | |
| 144 | -theorem transverseDisplacement_initial (f : TimeLp T E) : | |
| 145 | - transverseDisplacement T hT m H K hK hH hsmall f ⟨0, le_rfl, hT⟩ = 0 := | |
| 146 | - (transverseSolver T hT m H K hK hH hsmall f).property.1 | |
| 147 | - | |
| 148 | -/-- The solved displacement vanishes at the terminal endpoint. -/ | |
| 149 | -theorem transverseDisplacement_terminal (f : TimeLp T E) : | |
| 150 | - transverseDisplacement T hT m H K hK hH hsmall f ⟨T, hT, le_rfl⟩ = 0 := by | |
| 151 | - change terminalPrimitive T hT | |
| 152 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) ⟨T, hT, le_rfl⟩ = 0 | |
| 153 | - exact terminalPrimitive_terminal T hT | |
| 154 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) | |
| 155 | - | |
| 156 | -/-- The solved displacement belongs to the actual moving transverse plane. -/ | |
| 157 | -theorem transverseDisplacement_tangent (f : TimeLp T E) (t : Icc (0 : ℝ) T) : | |
| 158 | - ⟪m t, transverseDisplacement T hT m H K hK hH hsmall f t⟫_ℝ = 0 := | |
| 159 | - (transverseSolver T hT m H K hK hH hsmall f).property.2 t | |
| 160 | - | |
| 161 | -/-- The derivative of the constructed displacement is the solved L² field, | |
| 162 | -as an actual almost-everywhere derivative of its continuous real-time representative. -/ | |
| 163 | -theorem transverseDisplacement_hasDerivAt_ae (f : TimeLp T E) : | |
| 164 | - ∀ᵐ t ∂timeMeasure T, | |
| 165 | - HasDerivAt (realPrimitive T | |
| 166 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E)) | |
| 167 | - ((transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) t) t := | |
| 168 | - realPrimitive_hasDerivAt_ae T | |
| 169 | - (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E) | |
| 170 | - | |
| 171 | 121 | /-- The actual weak transverse displacement equation, tested against every |
| 172 | 122 | zero-endpoint displacement in the same moving plane. -/ |
| 173 | 123 | theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m) : |
| @@ -180,97 +130,8 @@ theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m | ||
| 180 | 130 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 181 | 131 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall f v |
| 182 | 132 | |
| 183 | -/-- The constructed weak inverse is unique in the actual transverse displacement space. -/ | |
| 184 | -theorem transverseSolver_unique (f : TimeLp T E) (u : transverseDerivatives T hT m) | |
| 185 | - (hu : ∀ v : transverseDerivatives T hT m, | |
| 186 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 187 | - ⟪timeMultiplier T hT H (transversePrimitive T hT m u), | |
| 188 | - transversePrimitive T hT m v⟫_ℝ = | |
| 189 | - -⟪f, transversePrimitive T hT m v⟫_ℝ) : | |
| 190 | - u = transverseSolver T hT m H K hK hH hsmall f := | |
| 191 | - dirichletSolver_unique (transversePrimitive T hT m) (timeMultiplier T hT H) | |
| 192 | - (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) | |
| 193 | - (timeMultiplier_quadratic_upper T hT H K hH) hsmall f u hu | |
| 194 | - | |
| 195 | -/-- The solved derivative has a polynomial finite-time bound, with no exponential in H. -/ | |
| 196 | -theorem transverseSolver_norm (f : TimeLp T E) : | |
| 197 | - ‖transverseSolver T hT m H K hK hH hsmall f‖ ≤ 2 * T * ‖f‖ := by | |
| 198 | - apply (dirichletSolver_norm (transversePrimitive T hT m) (timeMultiplier T hT H) | |
| 199 | - (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) | |
| 200 | - (timeMultiplier_quadratic_upper T hT H K hH) hsmall f).trans | |
| 201 | - exact mul_le_mul_of_nonneg_right | |
| 202 | - (mul_le_mul_of_nonneg_left (transversePrimitive_norm_le T hT m) (by norm_num)) | |
| 203 | - (norm_nonneg f) | |
| 204 | - | |
| 205 | 133 | /-- Zero forcing has zero displacement, the pointwise-in-label support preservation property. -/ |
| 206 | 134 | @[simp] theorem transverseDisplacement_zero : |
| 207 | 135 | transverseDisplacement T hT m H K hK hH hsmall 0 = 0 := map_zero _ |
| 208 | 136 | |
| 209 | -/-- The inverse preserves sign, hence oddness in a parameter with unchanged coefficients. -/ | |
| 210 | -theorem transverseDisplacement_neg (f : TimeLp T E) : | |
| 211 | - transverseDisplacement T hT m H K hK hH hsmall (-f) = | |
| 212 | - -transverseDisplacement T hT m H K hK hH hsmall f := map_neg _ _ | |
| 213 | - | |
| 214 | -/-- A zero angle mean of the forcing gives a zero angle mean of the displacement. | |
| 215 | -The measure can be the normalized periodic angle measure; coefficients are fixed in this parameter. -/ | |
| 216 | -theorem transverseDisplacement_integral_zero {α : Type*} [MeasurableSpace α] | |
| 217 | - (μ : Measure α) (f : α → TimeLp T E) (hf : Integrable f μ) | |
| 218 | - (hmean : ∫ a, f a ∂μ = 0) : | |
| 219 | - (∫ a, transverseDisplacement T hT m H K hK hH hsmall (f a) ∂μ) = 0 := by | |
| 220 | - rw [(transverseDisplacement T hT m H K hK hH hsmall).integral_comp_comm hf, | |
| 221 | - hmean, map_zero] | |
| 222 | - | |
| 223 | -include K hK hH hsmall in | |
| 224 | -/-- Existence and uniqueness follow from the actual sharp time primitive estimate, | |
| 225 | -the pointwise potential bound, and closed transverse constraints. -/ | |
| 226 | -theorem existsUnique_transverse_weak_solution (f : TimeLp T E) : | |
| 227 | - ∃! u : transverseDerivatives T hT m, | |
| 228 | - ∀ v : transverseDerivatives T hT m, | |
| 229 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 230 | - ⟪timeMultiplier T hT H (transversePrimitive T hT m u), | |
| 231 | - transversePrimitive T hT m v⟫_ℝ = | |
| 232 | - -⟪f, transversePrimitive T hT m v⟫_ℝ := by | |
| 233 | - exact ⟨transverseSolver T hT m H K hK hH hsmall f, | |
| 234 | - transverseSolver_weak T hT m H K hK hH hsmall f, | |
| 235 | - fun u hu => transverseSolver_unique T hT m H K hK hH hsmall f u hu⟩ | |
| 236 | - | |
| 237 | -include K hK hH hsmall in | |
| 238 | -/-- The actual weak inverse has the source's form `η = F R⊥ ξ`, with continuous | |
| 239 | -coordinates and both endpoint conditions. The frame is prescribed coefficient | |
| 240 | -data; neither a displacement nor a differential inverse is supplied. -/ | |
| 241 | -theorem exists_transverse_frame_displacement | |
| 242 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | |
| 243 | - (m₀ : E) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m₀) | |
| 244 | - (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) | |
| 245 | - (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) | |
| 246 | - (hA : ∀ t, A t = (F t).symm.toContinuousLinearMap) (f : TimeLp T E) : | |
| 247 | - let mF := fun t => EulerTransverseFrameCoordinates.movingNormal (F t) m₀ | |
| 248 | - ∃ (u : transverseDerivatives T hT mF) | |
| 249 | - (η : C(Icc (0 : ℝ) T, E)) (ξ : C(Icc (0 : ℝ) T, U)), | |
| 250 | - η = terminalPrimitive T hT (u : TimeLp T E) ∧ | |
| 251 | - η ⟨0, le_rfl, hT⟩ = 0 ∧ η ⟨T, hT, le_rfl⟩ = 0 ∧ | |
| 252 | - ξ ⟨0, le_rfl, hT⟩ = 0 ∧ ξ ⟨T, hT, le_rfl⟩ = 0 ∧ | |
| 253 | - (∀ t, F t (R (ξ t) : E) = η t) ∧ | |
| 254 | - ‖u‖ ≤ 2 * T * ‖f‖ ∧ | |
| 255 | - ∀ v : transverseDerivatives T hT mF, | |
| 256 | - ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - | |
| 257 | - ⟪timeMultiplier T hT H (transversePrimitive T hT mF u), | |
| 258 | - transversePrimitive T hT mF v⟫_ℝ = | |
| 259 | - -⟪f, transversePrimitive T hT mF v⟫_ℝ := by | |
| 260 | - let mF := fun t => EulerTransverseFrameCoordinates.movingNormal (F t) m₀ | |
| 261 | - let u := transverseSolver T hT mF H K hK hH hsmall f | |
| 262 | - let η := transverseDisplacement T hT mF H K hK hH hsmall f | |
| 263 | - let ξ := EulerTransverseFrameCoordinates.coordinatePath m₀ R A η | |
| 264 | - have h0 : η ⟨0, le_rfl, hT⟩ = 0 := | |
| 265 | - transverseDisplacement_initial T hT mF H K hK hH hsmall f | |
| 266 | - have hT' : η ⟨T, hT, le_rfl⟩ = 0 := | |
| 267 | - transverseDisplacement_terminal T hT mF H K hK hH hsmall f | |
| 268 | - refine ⟨u, η, ξ, rfl, h0, hT', ?_, ?_, ?_, | |
| 269 | - transverseSolver_norm T hT mF H K hK hH hsmall f, | |
| 270 | - transverseSolver_weak T hT mF H K hK hH hsmall f⟩ | |
| 271 | - · exact EulerTransverseFrameCoordinates.coordinatePath_zero_at m₀ R A η _ h0 | |
| 272 | - · exact EulerTransverseFrameCoordinates.coordinatePath_zero_at m₀ R A η _ hT' | |
| 273 | - · exact EulerTransverseFrameCoordinates.coordinatePath_reconstruct m₀ R F A hA η | |
| 274 | - (transverseDisplacement_tangent T hT mF H K hK hH hsmall f) | |
| 275 | - | |
| 276 | 137 | end EulerTransverseVariationalInverse |
+0 −45 Euler/TransverseVariationalOperator.lean View file
| @@ -67,51 +67,6 @@ theorem dirichletSolver_weak (J : V →L[ℝ] W) (H : W →L[ℝ] W) | ||
| 67 | 67 | (dirichletOperator_coercive J H L K hK hJ hH hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 68 | 68 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 69 | 69 | |
| 70 | -/-- No other derivative in the same Hilbert displacement space solves this form. -/ | |
| 71 | -theorem dirichletSolver_unique (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 72 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 73 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 74 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 75 | - (hsmall : K * L ≤ 1 / 2) (f : W) (u : V) | |
| 76 | - (hu : ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ) : | |
| 77 | - u = dirichletSolver J H L K hK hJ hH hsmall f := by | |
| 78 | - apply (coerciveEquiv (dirichletOperator J H) (1 / 2) (by norm_num) | |
| 79 | - (dirichletOperator_coercive J H L K hK hJ hH hsmall)).injective | |
| 80 | - simp only [coerciveEquiv_apply] | |
| 81 | - apply ext_inner_right ℝ | |
| 82 | - intro v | |
| 83 | - rw [dirichletOperator_inner, hu, dirichletOperator_inner, | |
| 84 | - dirichletSolver_weak] | |
| 85 | - | |
| 86 | -/-- Quantitative boundedness of the genuinely constructed solution map. -/ | |
| 87 | -theorem dirichletSolver_norm (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 88 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 89 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 90 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 91 | - (hsmall : K * L ≤ 1 / 2) (f : W) : | |
| 92 | - ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J‖ * ‖f‖ := by | |
| 93 | - have hi := coerciveInverse_apply_norm_le (dirichletOperator J H) (1 / 2) | |
| 94 | - (by norm_num) (dirichletOperator_coercive J H L K hK hJ hH hsmall) | |
| 95 | - (-J.adjoint f) | |
| 96 | - change ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ _ at hi | |
| 97 | - have ha := J.adjoint.le_opNorm f | |
| 98 | - simp only [norm_neg, inv_div, div_one, LinearIsometryEquiv.norm_map] at hi ha | |
| 99 | - calc | |
| 100 | - ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J.adjoint f‖ := hi | |
| 101 | - _ ≤ 2 * (‖J‖ * ‖f‖) := mul_le_mul_of_nonneg_left ha (by norm_num) | |
| 102 | - _ = 2 * ‖J‖ * ‖f‖ := by ring | |
| 103 | - | |
| 104 | -/-- Existence and uniqueness, as conclusions from coefficient and primitive bounds. -/ | |
| 105 | -theorem existsUnique_dirichlet_solution (J : V →L[ℝ] W) (H : W →L[ℝ] W) | |
| 106 | - (L K : ℝ) (hK : 0 ≤ K) | |
| 107 | - (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) | |
| 108 | - (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) | |
| 109 | - (hsmall : K * L ≤ 1 / 2) (f : W) : | |
| 110 | - ∃! u : V, ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ := by | |
| 111 | - exact ⟨dirichletSolver J H L K hK hJ hH hsmall f, | |
| 112 | - dirichletSolver_weak J H L K hK hJ hH hsmall f, | |
| 113 | - fun u hu => dirichletSolver_unique J H L K hK hJ hH hsmall f u hu⟩ | |
| 114 | - | |
| 115 | 70 | open MeasureTheory Set EulerTimeLp EulerVolterraConvolution |
| 116 | 71 | |
| 117 | 72 | omit [CompleteSpace W] in |
+32 −0 routes/s1-euler-transverse-1/README.md added View file
| @@ -0,0 +1,32 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-transverse-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Transverse*`. The unit | |
| 8 | +lists 242 declarations, 2179 lines in 64 files; I delete 217 of them, 1836 lines in 62 files. The Lean | |
| 9 | +diff is deletions only: no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +25 of the unit's declarations are left out of this pull request. Six deleted docstrings cite the paper | |
| 12 | +by equation number, so their declarations stay: `EulerTransverseForwardCoefficientGevrey.generator_bound` | |
| 13 | +(equation (12)), `EulerTransverseForwardInverse.coordinate_equation` ((12)) and `velocity_balance` | |
| 14 | +((11)), `EulerTransverseSourceFrame.framePath_second_equation` ((10)) and `sourceFrame_strong` ((10)), | |
| 15 | +and `EulerTransverseStrongEquation.transverseSolver_strong` ((10)). The other 19 are what those six | |
| 16 | +name, transitively within the unit: `coordinatePrimitive_initial`, `coordinatePrimitive_reconstruct`, | |
| 17 | +`dirichletSolver_weak`, `frameCoordinates`, `frame_reconstruct`, `movingNormal`, `reconstruct`, | |
| 18 | +`tangent_iff`, `frameLeftInversePath_bound`, `inversePath_coefficient_bound`, | |
| 19 | +`frameLeftInversePath_contDiff`, `framePath`, `framePath_apply`, `framePath_hasDerivWithinAt`, | |
| 20 | +`framePath_lower_bound`, `framePath_range`, `framePath_tangent`, `momentum_weak`, | |
| 21 | +`transverseSolver_weak`. With them back, all of `Euler/TransverseSourceFrame.lean` stays in the unit | |
| 22 | +and the file is no longer touched. | |
| 23 | + | |
| 24 | +As a reviewer would, I checked the rest: `git grep -n -w` of each of the 171 distinct short names still | |
| 25 | +deleted finds no hit anywhere in the tree, and none of the 1836 deleted lines cites the paper (no | |
| 26 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation, and no `§`, `Eq.`, `Thm.`, | |
| 27 | +`Prop.`, `Cor.` or `Lem.` either). `python3 checks/challenge.py .` ends with `ok`, and all 62 changed files type-check under `lake env lean`. | |
| 28 | + | |
| 29 | +## Next | |
| 30 | + | |
| 31 | +Push and open the pull request; the `build` check says whether it builds. The other units of #10 are | |
| 32 | +separate branches. | |