| @@ -1,391 +0,0 @@ |
| 1 | | -import NavierStokes.SupportedParameterExtension |
| 2 | | -import NavierStokes.SignedRequestContinuation |
| 3 | | - |
| 4 | | -/-! |
| 5 | | -# The actual continued context with exact radial support |
| 6 | | - |
| 7 | | -Only the auxiliary continuation of the virtual stress is replaced. The |
| 8 | | -base, graph operators, coefficients, Borel scales, and every positive-time |
| 9 | | -fiber are the original ones. The supported parameter extension retains |
| 10 | | -the exact active annulus without a radial buffer. |
| 11 | | --/ |
| 12 | | - |
| 13 | | -noncomputable section |
| 14 | | - |
| 15 | | -namespace NavierStokes.SupportedActualContext |
| 16 | | - |
| 17 | | -open Set Function Filter |
| 18 | | -open scoped Topology ContDiff |
| 19 | | - |
| 20 | | -abbrev Slow := ActualCorrectionModels.Slow |
| 21 | | -abbrev Model := ActualCorrectionModels.Model |
| 22 | | -abbrev Point := LocalSignedRequest.Point |
| 23 | | -abbrev Parameter := TorusInverse.Plane |
| 24 | | - |
| 25 | | -section Stress |
| 26 | | - |
| 27 | | -variable {F : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F} |
| 28 | | - (H : NominalConeAssembly.Certificate W₀) {ld : ModulatedProfileAssembly.LoopData W₀} |
| 29 | | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) |
| 30 | | - |
| 31 | | -noncomputable def stressModel (n : ℕ) (y : Model) : ℝ × ℝ := |
| 32 | | - (ChartScales.epsilon F.data.h n * y.1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2)) • |
| 33 | | - SupportedParameterExtension.normalizedStress H v upper B |
| 34 | | - (SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h y)) |
| 35 | | - |
| 36 | | -noncomputable def stress (n : ℕ) : Slow → ℝ × ℝ := |
| 37 | | - stressModel H v upper B n ∘ ActualCorrectionModels.stablePoint F.data.h |
| 38 | | - |
| 39 | | -noncomputable def virtualStress (n : ℕ) (p : Slow) : ℝ × ℝ := |
| 40 | | - if 0 < p.1 then stress H v upper B n p else 0 |
| 41 | | - |
| 42 | | -theorem stressModel_smoothAt (n : ℕ) {y : Model} (hy : 0 < y.1) : |
| 43 | | - ContDiffAt ℝ ∞ (stressModel H v upper B n) y := by |
| 44 | | - have hc := (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffAt.comp y |
| 45 | | - (ActualCorrectionModels.modelCoordinates_smoothAt F.data.h hy) |
| 46 | | - have hs := SupportedParameterExtension.normalizedStress_contDiffAt H v upper B |
| 47 | | - (y := SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h y)) |
| 48 | | - (mul_pos (ChartScales.Q_pos n) hy) |
| 49 | | - exact (contDiffAt_const.mul (contDiffAt_fst.rpow_const_of_ne hy.ne')).smul |
| 50 | | - (ContDiffAt.comp (g := SupportedParameterExtension.normalizedStress H v upper B) y hs hc) |
| 51 | | - |
| 52 | | -theorem stress_smoothAt (n : ℕ) {p : Slow} (hp : p ∈ ActualCorrectionModels.stableDomain F.data.h) : |
| 53 | | - ContDiffAt ℝ ∞ (stress H v upper B n) p := |
| 54 | | - (stressModel_smoothAt H v upper B n (ActualCorrectionModels.stablePoint_pos hp)).comp p |
| 55 | | - (ActualCorrectionModels.stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) |
| 56 | | - |
| 57 | | -theorem stress_zero_of_inner (n : ℕ) {p : Slow} |
| 58 | | - (hp : (ActualCorrectionModels.modelCoordinates F.data.h |
| 59 | | - (ActualCorrectionModels.stablePoint F.data.h p)).2.1 ≤ NominalConeAssembly.activeLeft W₀) : |
| 60 | | - stress H v upper B n p = 0 := by |
| 61 | | - change (_ : ℝ) • SupportedParameterExtension.normalizedStress H v upper B |
| 62 | | - (SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h |
| 63 | | - (ActualCorrectionModels.stablePoint F.data.h p))) = 0 |
| 64 | | - rw [SupportedParameterExtension.normalizedStress_zero_left H v upper B |
| 65 | | - (y := SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h |
| 66 | | - (ActualCorrectionModels.stablePoint F.data.h p))) hp, smul_zero] |
| 67 | | - |
| 68 | | -theorem stress_zero_outside (n : ℕ) {p : Slow} |
| 69 | | - (hp : (ActualCorrectionModels.modelCoordinates F.data.h |
| 70 | | - (ActualCorrectionModels.stablePoint F.data.h p)).2.1 ∉ |
| 71 | | - Icc (NominalConeAssembly.activeLeft W₀) (NominalConeAssembly.activeRight W₀)) : |
| 72 | | - stress H v upper B n p = 0 := by |
| 73 | | - change (_ : ℝ) • SupportedParameterExtension.normalizedStress H v upper B |
| 74 | | - (SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h |
| 75 | | - (ActualCorrectionModels.stablePoint F.data.h p))) = 0 |
| 76 | | - rw [SupportedParameterExtension.normalizedStress_supported H v upper B |
| 77 | | - (y := SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h |
| 78 | | - (ActualCorrectionModels.stablePoint F.data.h p))) hp, smul_zero] |
| 79 | | - |
| 80 | | -theorem virtualStress_smoothAt (n : ℕ) {p : Slow} |
| 81 | | - (hp : p ∈ ActualCorrectionModels.stableDomain F.data.h) : |
| 82 | | - ContDiffAt ℝ ∞ (virtualStress H v upper B n) p := by |
| 83 | | - rcases lt_trichotomy p.1 0 with hneg | hzero | hpos |
| 84 | | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by |
| 85 | | - filter_upwards [continuousAt_fst (gt_mem_nhds hneg)] with y hy |
| 86 | | - change y.1 < 0 at hy |
| 87 | | - simp only [virtualStress, ite_eq_right (not_lt.mpr hy.le)] |
| 88 | | - exact contDiffAt_const.congr_of_eventuallyEq he |
| 89 | | - · have hc := (ActualCorrectionModels.modelCoordinates_smoothAt F.data.h |
| 90 | | - (ActualCorrectionModels.stablePoint_pos hp)).comp p |
| 91 | | - (ActualCorrectionModels.stablePoint_smoothAt F.data.h_pos F.data.h_lt_half hp) |
| 92 | | - have hx : (ActualCorrectionModels.modelCoordinates F.data.h |
| 93 | | - (ActualCorrectionModels.stablePoint F.data.h p)).2.1 < NominalConeAssembly.activeLeft W₀ := by |
| 94 | | - simpa only [ActualCorrectionModels.modelCoordinates, ActualCorrectionModels.stablePoint, hzero, |
| 95 | | - zero_pow (by decide : 2 ≠ 0), zero_div] using NominalConeAssembly.activeLeft_pos W₀ |
| 96 | | - have he : virtualStress H v upper B n =ᶠ[𝓝 p] (fun _ => 0) := by |
| 97 | | - filter_upwards [hc.snd.fst.continuousAt (gt_mem_nhds hx)] with y hy |
| 98 | | - change (ActualCorrectionModels.modelCoordinates F.data.h |
| 99 | | - (ActualCorrectionModels.stablePoint F.data.h y)).2.1 < NominalConeAssembly.activeLeft W₀ at hy |
| 100 | | - simp only [virtualStress, stress_zero_of_inner H v upper B n hy.le, ite_self] |
| 101 | | - exact contDiffAt_const.congr_of_eventuallyEq he |
| 102 | | - · have he : virtualStress H v upper B n =ᶠ[𝓝 p] stress H v upper B n := by |
| 103 | | - filter_upwards [continuousAt_fst (lt_mem_nhds hpos)] with y hy |
| 104 | | - exact ite_eq_left hy |
| 105 | | - exact (stress_smoothAt H v upper B n hp).congr_of_eventuallyEq he |
| 106 | | - |
| 107 | | -theorem stress_eq (n : ℕ) {p : Slow} (ht : 0 < p.2.2) : |
| 108 | | - stress H v upper B n p = ActualCorrectionModels.stress H v upper B n p := by |
| 109 | | - have hq : 0 < (ActualCorrectionModels.stablePoint F.data.h p).1 := ActualCorrectionModels.stablePoint_pos |
| 110 | | - (ActualCorrectionModels.positiveTime_mem_stable F.data.h_pos F.data.h_lt_half (p := p) ht) |
| 111 | | - have he : ActualCorrectionModels.modelCoordinates F.data.h (ActualCorrectionModels.stablePoint F.data.h p) = |
| 112 | | - BaseChartJets.normalizedCoordinates F.data.h p := by |
| 113 | | - rw [ActualCorrectionModels.stablePoint_eq F.data.h_pos F.data.h_lt_half ht, |
| 114 | | - ActualCorrectionModels.modelCoordinates_original] |
| 115 | | - have heta : (SlowBorelBase.scaleMap (ChartScales.Q n) (ActualCorrectionModels.modelCoordinates F.data.h |
| 116 | | - (ActualCorrectionModels.stablePoint F.data.h p))).2.2 ∈ Icc (-1 : ℝ) 1 := by |
| 117 | | - rw [he] |
| 118 | | - have h := abs_lt.mp (BaseChartJets.normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half (p := p) ht) |
| 119 | | - exact ⟨h.1.le, h.2.le⟩ |
| 120 | | - change (_ : ℝ) • SupportedParameterExtension.normalizedStress H v upper B _ = |
| 121 | | - (_ : ℝ) • FinalSlowBase.normalizedStress H v upper B _ |
| 122 | | - rw [SupportedParameterExtension.normalizedStress_eq H v upper B |
| 123 | | - (mul_pos (ChartScales.Q_pos n) hq) heta] |
| 124 | | - |
| 125 | | -theorem virtualStress_eq (n : ℕ) {p : Slow} (ht : 0 < p.2.2) : |
| 126 | | - virtualStress H v upper B n p = ActualCorrectionModels.virtualStress H v upper B n p := by |
| 127 | | - simp only [virtualStress, ActualCorrectionModels.virtualStress, stress_eq H v upper B n ht] |
| 128 | | - |
| 129 | | -/-- Equality of the full ambient jets extends to the terminal face by |
| 130 | | -smoothness and density of positive time, including at zero radial coordinate. -/ |
| 131 | | -theorem virtualStress_jets (n m : ℕ) {p : Slow} |
| 132 | | - (hp : p ∈ ActualCorrectionModels.stableDomain F.data.h) (ht : 0 ≤ p.2.2) : |
| 133 | | - iteratedFDeriv ℝ m (virtualStress H v upper B n) p = |
| 134 | | - iteratedFDeriv ℝ m (ActualCorrectionModels.virtualStress H v upper B n) p := by |
| 135 | | - apply FinalSlowBase.iteratedFDeriv_eq_on_dense |
| 136 | | - (s := ActualCorrectionModels.stableDomain F.data.h ∩ {x : Slow | 0 < x.2.2}) |
| 137 | | - (t := ActualCorrectionModels.stableDomain F.data.h ∩ {x : Slow | 0 ≤ x.2.2}) |
| 138 | | - ((ActualCorrectionModels.stableDomain_open F.data.h).inter |
| 139 | | - (isOpen_lt continuous_const continuous_snd.snd)) |
| 140 | | - (fun x hx => ⟨hx.1, (show 0 < x.2.2 from hx.2).le⟩) ?_ ?_ ?_ ?_ m ⟨hp, ht⟩ |
| 141 | | - · intro x hx |
| 142 | | - apply (ActualCorrectionModels.stableDomain_open F.data.h).inter_closure |
| 143 | | - refine ⟨hx.1, ?_⟩ |
| 144 | | - rw [show {x : Slow | 0 < x.2.2} = ((univ : Set ℝ) ×ˢ (univ ×ˢ Ioi (0 : ℝ))) by ext; simp] |
| 145 | | - simp only [closure_prod_eq, closure_univ, closure_Ioi, mem_prod, mem_univ, true_and, mem_Ici] |
| 146 | | - exact hx.2 |
| 147 | | - · exact fun x hx => virtualStress_smoothAt H v upper B n hx.1 |
| 148 | | - · exact fun x hx => ActualCorrectionModels.virtualStress_smoothAt H v upper B n hx.1 |
| 149 | | - · exact fun x hx => virtualStress_eq H v upper B n hx.2 |
| 150 | | - |
| 151 | | -/-- Radial bounds are exactly the active radii, with no future-parameter |
| 152 | | -restriction and no enlargement of the annulus. -/ |
| 153 | | -theorem virtualStress_support (n : ℕ) {p : Slow} |
| 154 | | - (hp : p ∈ ActualCorrectionModels.stableDomain F.data.h) |
| 155 | | - (hn : virtualStress H v upper B n p ≠ 0) : |
| 156 | | - p.1 / OffplaneCorrectionExtensions.stableLength (2 * F.data.h) (p.2.2, p.2.1) ∈ |
| 157 | | - Icc (PrimaryTargetBounds.leftRadius W₀) (PrimaryTargetBounds.rightRadius W₀) := by |
| 158 | | - have hR : 0 < p.1 := by |
| 159 | | - by_contra h |
| 160 | | - exact hn (by simp [virtualStress, h]) |
| 161 | | - have hX : (ActualCorrectionModels.modelCoordinates F.data.h |
| 162 | | - (ActualCorrectionModels.stablePoint F.data.h p)).2.1 ∈ |
| 163 | | - Icc (NominalConeAssembly.activeLeft W₀) (NominalConeAssembly.activeRight W₀) := by |
| 164 | | - by_contra h |
| 165 | | - exact hn (by simp only [virtualStress, ite_eq_left hR, stress_zero_outside H v upper B n h]) |
| 166 | | - let q := OffplaneCorrectionExtensions.stableQ (2 * F.data.h) (p.2.2, p.2.1) |
| 167 | | - have hq : 0 < q := ActualCorrectionModels.stablePoint_pos hp |
| 168 | | - have hell : 0 < Real.sqrt q := Real.sqrt_pos.mpr hq |
| 169 | | - have hs : (p.1 / Real.sqrt q) ^ 2 = 2 * (p.1 ^ 2 / 2 / q) := by |
| 170 | | - rw [div_pow, Real.sq_sqrt hq.le] |
| 171 | | - ring |
| 172 | | - have ha : (PrimaryTargetBounds.leftRadius W₀) ^ 2 = 2 * NominalConeAssembly.activeLeft W₀ := |
| 173 | | - Real.sq_sqrt (mul_nonneg (by norm_num) (NominalConeAssembly.activeLeft_pos W₀).le) |
| 174 | | - have hb : (PrimaryTargetBounds.rightRadius W₀) ^ 2 = 2 * NominalConeAssembly.activeRight W₀ := |
| 175 | | - Real.sq_sqrt (mul_nonneg (by norm_num) (LeadingStressWeights.activeRight_pos W₀).le) |
| 176 | | - change p.1 ^ 2 / 2 / q ∈ Icc _ _ at hX |
| 177 | | - change p.1 / Real.sqrt q ∈ Icc _ _ |
| 178 | | - have hrat := div_pos hR hell |
| 179 | | - constructor |
| 180 | | - · nlinarith [PrimaryTargetBounds.leftRadius_pos W₀, hX.1] |
| 181 | | - · nlinarith [PrimaryTargetBounds.rightRadius_pos W₀, hX.2] |
| 182 | | - |
| 183 | | -end Stress |
| 184 | | - |
| 185 | | -section Context |
| 186 | | - |
| 187 | | -variable {F : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F} |
| 188 | | - (H : NominalConeAssembly.Certificate W₀) {ld : ModulatedProfileAssembly.LoopData W₀} |
| 189 | | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) (index : ℕ → ℕ) |
| 190 | | - |
| 191 | | -noncomputable def context : CorrectionState.Context Point := |
| 192 | | - {ActualCorrectionModels.context H v upper B index with |
| 193 | | - virtualTheta := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).1 |
| 194 | | - virtualAxial := fun n x => (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).2} |
| 195 | | - |
| 196 | | -@[simp] theorem context_base : (context H v upper B index).base = |
| 197 | | - (ActualCorrectionModels.context H v upper B index).base := rfl |
| 198 | | - |
| 199 | | -@[simp] theorem context_operators : (context H v upper B index).operators = |
| 200 | | - (ActualCorrectionModels.context H v upper B index).operators := rfl |
| 201 | | - |
| 202 | | -theorem context_base_agrees (U : Set Parameter) : |
| 203 | | - SignedRequestContinuation.TripleAgrees U (context H v upper B index).base |
| 204 | | - (CommonBaseContext.context H v upper B index).base := |
| 205 | | - ⟨fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n U).1, |
| 206 | | - fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n U).2.1, |
| 207 | | - fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n U).2.2⟩ |
| 208 | | - |
| 209 | | -theorem context_stress_agrees (U : Set Parameter) : |
| 210 | | - SignedRequestContinuation.Agrees U (context H v upper B index).virtualTheta |
| 211 | | - (CommonBaseContext.context H v upper B index).virtualTheta ∧ |
| 212 | | - SignedRequestContinuation.Agrees U (context H v upper B index).virtualAxial |
| 213 | | - (CommonBaseContext.context H v upper B index).virtualAxial := by |
| 214 | | - constructor <;> intro n x hx |
| 215 | | - · change (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).1 = _ |
| 216 | | - rw [virtualStress_eq H v upper B n (p := BaseContextAssembly.slowCoordinates x) hx.2] |
| 217 | | - exact (ActualCorrectionModels.context_stress_eq H v upper B index n hx.2).1 |
| 218 | | - · change (virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x)).2 = _ |
| 219 | | - rw [virtualStress_eq H v upper B n (p := BaseContextAssembly.slowCoordinates x) hx.2] |
| 220 | | - exact (ActualCorrectionModels.context_stress_eq H v upper B index n hx.2).2 |
| 221 | | - |
| 222 | | -variable {P : SignedStressPrimitive.Patch} |
| 223 | | - (W : OffplaneCorrectionExtensions.Window (2 * F.data.h) P.a P.b) |
| 224 | | - |
| 225 | | -theorem context_stress_smooth (n : ℕ) : |
| 226 | | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualTheta n) (PhysicalMeanDomain.slowDomain W.carrier) ∧ |
| 227 | | - ContDiffOn ℝ ∞ ((context H v upper B index).virtualAxial n) (PhysicalMeanDomain.slowDomain W.carrier) := by |
| 228 | | - constructor <;> intro x hx |
| 229 | | - · exact (((virtualStress_smoothAt H v upper B n (p := BaseContextAssembly.slowCoordinates x) |
| 230 | | - (W.stable hx)).comp x BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).fst).contDiffWithinAt |
| 231 | | - · exact (((virtualStress_smoothAt H v upper B n (p := BaseContextAssembly.slowCoordinates x) |
| 232 | | - (W.stable hx)).comp x BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).snd).contDiffWithinAt |
| 233 | | - |
| 234 | | -variable (hleft : P.a ≤ PrimaryTargetBounds.leftRadius W₀) |
| 235 | | - (hright : PrimaryTargetBounds.rightRadius W₀ ≤ P.b) |
| 236 | | - |
| 237 | | -include hleft hright in |
| 238 | | -/-- This is the support conclusion needed by the residual calculus, |
| 239 | | -proved for the supported context rather than assumed for the raw future. -/ |
| 240 | | -theorem context_support : |
| 241 | | - SignedRequestContinuation.Supported P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) |
| 242 | | - W.carrier (context H v upper B index).virtualTheta ∧ |
| 243 | | - SignedRequestContinuation.Supported P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) |
| 244 | | - W.carrier (context H v upper B index).virtualAxial := by |
| 245 | | - have hs (n : ℕ) (x : Point) (hx : x.2.1 ∈ W.carrier) |
| 246 | | - (hn : virtualStress H v upper B n (BaseContextAssembly.slowCoordinates x) ≠ 0) : |
| 247 | | - x.1 ∈ Icc (OffplaneCorrectionExtensions.stableLength (2 * F.data.h) x.2.1 * P.a) |
| 248 | | - (OffplaneCorrectionExtensions.stableLength (2 * F.data.h) x.2.1 * P.b) := by |
| 249 | | - have hh := virtualStress_support H v upper B n |
| 250 | | - (p := BaseContextAssembly.slowCoordinates x) (W.stable hx) hn |
| 251 | | - have hp := W.length_pos hx |
| 252 | | - change x.1 / OffplaneCorrectionExtensions.stableLength (2 * F.data.h) x.2.1 ∈ |
| 253 | | - Icc (PrimaryTargetBounds.leftRadius W₀) (PrimaryTargetBounds.rightRadius W₀) at hh |
| 254 | | - have hlo : OffplaneCorrectionExtensions.stableLength (2 * F.data.h) x.2.1 * |
| 255 | | - PrimaryTargetBounds.leftRadius W₀ ≤ x.1 := by |
| 256 | | - simpa only [mul_comm] using (le_div_iff₀ hp).mp hh.1 |
| 257 | | - have hhi : x.1 ≤ OffplaneCorrectionExtensions.stableLength (2 * F.data.h) x.2.1 * |
| 258 | | - PrimaryTargetBounds.rightRadius W₀ := by |
| 259 | | - simpa only [mul_comm] using (div_le_iff₀ hp).mp hh.2 |
| 260 | | - constructor |
| 261 | | - · exact (mul_le_mul_of_nonneg_left hleft hp.le).trans hlo |
| 262 | | - · exact hhi.trans (mul_le_mul_of_nonneg_left hright hp.le) |
| 263 | | - constructor <;> intro n x hx hn |
| 264 | | - · exact hs n x hx (fun hz => hn (congrArg Prod.fst hz)) |
| 265 | | - · exact hs n x hx (fun hz => hn (congrArg Prod.snd hz)) |
| 266 | | - |
| 267 | | -end Context |
| 268 | | - |
| 269 | | -/-! ## The signed request with its context support obligation discharged -/ |
| 270 | | - |
| 271 | | -section Request |
| 272 | | - |
| 273 | | -variable {F : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F} |
| 274 | | - (H : NominalConeAssembly.Certificate W₀) {ld : ModulatedProfileAssembly.LoopData W₀} |
| 275 | | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) (index : ℕ → ℕ) |
| 276 | | - {P : SignedStressPrimitive.Patch} (W : OffplaneCorrectionExtensions.Window (2 * F.data.h) P.a P.b) |
| 277 | | - (hleft : P.a ≤ PrimaryTargetBounds.leftRadius W₀) |
| 278 | | - (hright : PrimaryTargetBounds.rightRadius W₀ ≤ P.b) |
| 279 | | - {u : CorrectionState.State Point} (d : SignedRequestContinuation.Primitives P W u) |
| 280 | | - |
| 281 | | -/-- The radial source is unchanged by the replacement of virtual stress. -/ |
| 282 | | -noncomputable def radialSource (n : ℕ) : |
| 283 | | - OffplaneCorrectionExtensions.SupportedContinuation W (u.gr (CommonBaseContext.context H v upper B index) n) := |
| 284 | | - SignedRequestContinuation.radialSource H v upper B index W d n |
| 285 | | - |
| 286 | | -theorem radialSource_value (n : ℕ) : (radialSource H v upper B index W d n).value = |
| 287 | | - d.state.gr (context H v upper B index) n := rfl |
| 288 | | - |
| 289 | | -noncomputable def thetaSource (n : ℕ) : |
| 290 | | - OffplaneCorrectionExtensions.SupportedContinuation W (u.thetaResidual (CommonBaseContext.context H v upper B index) n) where |
| 291 | | - value := d.state.thetaResidual (context H v upper B index) n |
| 292 | | - smooth := (SignedRequestContinuation.thetaResidual_localShell W.lower_pos W.isOpen |
| 293 | | - (SignedRequestContinuation.actual_operators_local H v upper B index W) (SignedRequestContinuation.actual_base_smooth H v upper B index W) |
| 294 | | - d.mean_localShell d.state.covariance d.covariance_localShell |
| 295 | | - ⟨fun k => (context_stress_smooth H v upper B index W k).1, |
| 296 | | - fun k => W.fixed_support ((context_support H v upper B index W hleft hright).1 k)⟩).smooth n |
| 297 | | - supported := SignedRequestContinuation.thetaResidual_supported W.isOpen |
| 298 | | - (W.length_smooth (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half])).continuousOn |
| 299 | | - (context H v upper B index).operators (context H v upper B index).base |
| 300 | | - d.mean_supported d.state.covariance d.covariance_supported |
| 301 | | - (context_support H v upper B index W hleft hright).1 n |
| 302 | | - agrees := SignedRequestContinuation.thetaResidual_agrees W.isOpen (context H v upper B index).operators |
| 303 | | - (SignedRequestContinuation.actual_base_agrees H v upper B index W) d.mean_agrees d.covariance_agrees |
| 304 | | - (context_stress_agrees H v upper B index W.carrier).1 n |
| 305 | | - |
| 306 | | -noncomputable def axialSource (n : ℕ) : |
| 307 | | - OffplaneCorrectionExtensions.SupportedContinuation W (u.axialResidual (CommonBaseContext.context H v upper B index) n) where |
| 308 | | - value := d.state.axialResidual (context H v upper B index) n |
| 309 | | - smooth := (SignedRequestContinuation.axialResidual_localShell W.lower_pos W.isOpen |
| 310 | | - (SignedRequestContinuation.actual_operators_local H v upper B index W) (SignedRequestContinuation.actual_base_smooth H v upper B index W) |
| 311 | | - d.mean_localShell d.state.covariance d.covariance_localShell d.pressure_localShell |
| 312 | | - ⟨fun k => (context_stress_smooth H v upper B index W k).2, |
| 313 | | - fun k => W.fixed_support ((context_support H v upper B index W hleft hright).2 k)⟩).smooth n |
| 314 | | - supported := SignedRequestContinuation.axialResidual_supported W.isOpen |
| 315 | | - (W.length_smooth (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half])).continuousOn |
| 316 | | - (context H v upper B index).operators (context H v upper B index).base |
| 317 | | - d.mean_supported d.state.covariance d.covariance_supported d.pressure_supported |
| 318 | | - (context_support H v upper B index W hleft hright).2 n |
| 319 | | - agrees := SignedRequestContinuation.axialResidual_agrees W.isOpen (context H v upper B index).operators |
| 320 | | - (SignedRequestContinuation.actual_base_agrees H v upper B index W) d.mean_agrees d.covariance_agrees d.pressure_agrees |
| 321 | | - (context_stress_agrees H v upper B index W.carrier).2 n |
| 322 | | - |
| 323 | | -/-- This is the actual pair of moving radial integrals at stable positive |
| 324 | | -scale, with the original normalization. -/ |
| 325 | | -noncomputable def fullRequest (s : WeightedClasses.StripData Point) : |
| 326 | | - ℕ → Point × ℝ → SignedWaveUpdate.Vec2 := |
| 327 | | - fun n x => (s.epsilon n)⁻¹ • |
| 328 | | - ![SignedStressPrimitive.physicalBarSigma P 2 (OffplaneCorrectionExtensions.stableQ (2 * F.data.h)) |
| 329 | | - (d.state.thetaResidual (context H v upper B index) n) (x.1.1, x.1.2.1), |
| 330 | | - SignedStressPrimitive.physicalBarSigma P 1 (OffplaneCorrectionExtensions.stableQ (2 * F.data.h)) |
| 331 | | - (d.state.axialResidual (context H v upper B index) n) (x.1.1, x.1.2.1)] |
| 332 | | - |
| 333 | | -include hleft hright in |
| 334 | | -theorem fullRequest_smooth (s : WeightedClasses.StripData Point) (n : ℕ) : |
| 335 | | - ContDiffOn ℝ ∞ (fullRequest H v upper B index W d s n) |
| 336 | | - (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := by |
| 337 | | - let θ := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 338 | | - (thetaSource H v upper B index W hleft hright d n) 2 |
| 339 | | - let z := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 340 | | - (axialSource H v upper B index W hleft hright d n) 1 |
| 341 | | - have hθ : ContDiffOn ℝ ∞ (fun x : Point × ℝ => θ.value x.1) (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := |
| 342 | | - θ.smooth.comp contDiffOn_fst (fun _ hx => hx.1) |
| 343 | | - have hz : ContDiffOn ℝ ∞ (fun x : Point × ℝ => z.value x.1) (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := |
| 344 | | - z.smooth.comp contDiffOn_fst (fun _ hx => hx.1) |
| 345 | | - apply contDiffOn_pi.mpr |
| 346 | | - intro i |
| 347 | | - fin_cases i |
| 348 | | - · exact contDiffOn_const.mul hθ |
| 349 | | - · exact contDiffOn_const.mul hz |
| 350 | | - |
| 351 | | -include hleft hright in |
| 352 | | -theorem fullRequest_supported (s : WeightedClasses.StripData Point) (n : ℕ) (i : Fin 2) (θ : ℝ) : |
| 353 | | - VariableGaugeMean.SupportedGauge P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) W.carrier |
| 354 | | - (fun x => fullRequest H v upper B index W d s n (x, θ) i) := by |
| 355 | | - let th := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 356 | | - (thetaSource H v upper B index W hleft hright d n) 2 |
| 357 | | - let z := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 358 | | - (axialSource H v upper B index W hleft hright d n) 1 |
| 359 | | - intro x hx hn |
| 360 | | - fin_cases i |
| 361 | | - · exact th.supported x hx (right_ne_zero_of_mul hn) |
| 362 | | - · exact z.supported x hx (right_ne_zero_of_mul hn) |
| 363 | | - |
| 364 | | -include hleft hright in |
| 365 | | -theorem fullRequest_agrees (s : WeightedClasses.StripData Point) (n : ℕ) (θ : ℝ) : |
| 366 | | - OffplaneCorrectionExtensions.FiberAgreement W.carrier |
| 367 | | - (fun x => fullRequest H v upper B index W d s n (x, θ)) |
| 368 | | - (fun x => LocalSignedRequest.fullRequest s P (2 * F.data.h) |
| 369 | | - (CommonBaseContext.context H v upper B index) u n (x, θ)) := by |
| 370 | | - let th := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 371 | | - (thetaSource H v upper B index W hleft hright d n) 2 |
| 372 | | - let z := SignedRequestContinuation.signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) |
| 373 | | - (axialSource H v upper B index W hleft hright d n) 1 |
| 374 | | - intro x hx |
| 375 | | - funext i |
| 376 | | - fin_cases i |
| 377 | | - · exact congrArg ((s.epsilon n)⁻¹ * ·) (th.agrees hx) |
| 378 | | - · exact congrArg ((s.epsilon n)⁻¹ * ·) (z.agrees hx) |
| 379 | | - |
| 380 | | -noncomputable def fullRequestComponent (s : WeightedClasses.StripData Point) (n : ℕ) (i : Fin 2) (θ : ℝ) : |
| 381 | | - OffplaneCorrectionExtensions.SupportedContinuation W (fun x => LocalSignedRequest.fullRequest s P (2 * F.data.h) |
| 382 | | - (CommonBaseContext.context H v upper B index) u n (x, θ) i) where |
| 383 | | - value x := fullRequest H v upper B index W d s n (x, θ) i |
| 384 | | - smooth := (contDiffOn_pi.mp ((fullRequest_smooth H v upper B index W hleft hright d s n).comp |
| 385 | | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ hx => ⟨hx, mem_univ _⟩))) i |
| 386 | | - supported := fullRequest_supported H v upper B index W hleft hright d s n i θ |
| 387 | | - agrees := fun _ hx => congrFun (fullRequest_agrees H v upper B index W hleft hright d s n θ hx) i |
| 388 | | - |
| 389 | | -end Request |
| 390 | | - |
| 391 | | -end NavierStokes.SupportedActualContext |