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

| 1 | import NavierStokes.ActualWaveRegularityData |
| 2 | import NavierStokes.ActualParticularDynamics |
| 3 | import NavierStokes.ActualParticularCoherence |
| 4 | import NavierStokes.ActualSignedPhysicalData |
| 5 | import NavierStokes.ActualMeanPotentialRealization |
| 6 | import NavierStokes.ActualParticularCycleData |
| 7 | |
| 8 | /-! |
| 9 | # Physical fields of the actual current-band particular solve |
| 10 | |
| 11 | The copy solve in this file is evaluated at the current band. The choice |
| 12 | of a polar angle depends only on the Cartesian point and is independent |
| 13 | of the band. No regularity of a fixed-reference continuation is used. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.ActualCurrentParticularPhysical |
| 19 | |
| 20 | open Set Function Filter ProblemStatement HarmonicCalculus |
| 21 | open CorrectionState CorrectionStep CorrectionInitialization |
| 22 | open scoped Topology ContDiff BigOperators |
| 23 | |
| 24 | |
| 25 | abbrev Label (B N0 : ℕ) := ActualParticularStageControls.Label B N0 |
| 26 | abbrev Native := PhysicalParticularWave.WaveSpace |
| 27 | |
| 28 | variable {B N0 : ℕ} |
| 29 | |
| 30 | /-- The literal current solve, with the canonical geometry already fixed. -/ |
| 31 | noncomputable def copyData (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) := |
| 32 | (ActualParticularStageControls.canonicalParameters l).copyData |
| 33 | (ActualParticularStageControls.assembly x l).context |
| 34 | (ActualParticularStageControls.assembly x l).state |
| 35 | (ActualParticularStageControls.assembly x l).carrierBlock |
| 36 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 37 | (ActualParticularStageControls.assembly x l).aliasInput j |
| 38 | |
| 39 | theorem copyData_eq_actual (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) |
| 40 | (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 41 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) : |
| 42 | copyData x l j = ActualParticularCoherence.copyData x l j := by |
| 43 | unfold copyData ActualParticularCoherence.copyData |
| 44 | rw [ActualParticularStageControls.parameters_eq_canonical x l hf] |
| 45 | |
| 46 | /-- The current common coefficient includes every localized copy cutoff. -/ |
| 47 | noncomputable def nativePotential (x : CycleState (Label B N0)) (l : Label B N0) |
| 48 | (j : ℤ) (n : ℕ) : Native → ComplexVector := |
| 49 | (copyData x l j).common.curlPotential |
| 50 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 51 | (ActualParticularStageControls.directions (B := B)) n |
| 52 | |
| 53 | noncomputable def nativePressure (x : CycleState (Label B N0)) (l : Label B N0) |
| 54 | (j : ℤ) (n : ℕ) : Native → ℂ := |
| 55 | mode ((copyData x l j).background.frequency n) |
| 56 | ((copyData x l j).background.phase n) ((copyData x l j).common.pressure n) |
| 57 | |
| 58 | /-- A pointwise polar angle choice. Its apparent cuts disappear from |
| 59 | periodic physical fields by the chart-agreement theorem below. -/ |
| 60 | noncomputable def angle (w : SpaceTime) : ℝ := |
| 61 | (PolarCharts.localChart |
| 62 | (PhysicalWaveSum.chooseChart ‖PhysicalGraphBounds.radialProjection w‖ |
| 63 | (PhysicalGraphBounds.radialProjection w)) |
| 64 | (PhysicalGraphBounds.radialProjection w)).2 |
| 65 | |
| 66 | noncomputable def cylinderPoint (w : SpaceTime) : SpaceTime := |
| 67 | (w.1, AxisymmetricResidual.pack |
| 68 | (PolarCharts.radius (PhysicalGraphBounds.radialProjection w)) (angle w) (w.2 2)) |
| 69 | |
| 70 | /-- This is a current-band map; it does not use the reference band of a label. -/ |
| 71 | noncomputable def nativePoint (n : ℕ) (w : SpaceTime) : Native := |
| 72 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 73 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 74 | (cylinderPoint w) |
| 75 | |
| 76 | noncomputable def cylindricalPotential (x : CycleState (Label B N0)) (l : Label B N0) |
| 77 | (j : ℤ) (n : ℕ) (z : SpaceTime) : ComplexVector := |
| 78 | (ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h) • |
| 79 | nativePotential x l j n |
| 80 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 81 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z) |
| 82 | |
| 83 | noncomputable def cylindricalPressure (x : CycleState (Label B N0)) (l : Label B N0) |
| 84 | (j : ℤ) (n : ℕ) (z : SpaceTime) : ℝ := |
| 85 | (ChartScales.Q n) ^ (-2 * CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * |
| 86 | (nativePressure x l j n |
| 87 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 88 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z)).re |
| 89 | |
| 90 | /-- A single actual harmonic, in Cartesian coordinates. -/ |
| 91 | noncomputable def localPotentialMode (x : CycleState (Label B N0)) (l : Label B N0) |
| 92 | (j : ℤ) (n : ℕ) (w : SpaceTime) : Space := |
| 93 | PhysicalCurlCovariance.realVector |
| 94 | (CartesianCopySource.rotationMap (PhysicalGraphBounds.radialProjection w) |
| 95 | (cylindricalPotential x l j n (cylinderPoint w))) |
| 96 | |
| 97 | noncomputable def localPressureMode (x : CycleState (Label B N0)) (l : Label B N0) |
| 98 | (j : ℤ) (n : ℕ) (w : SpaceTime) : ℝ := |
| 99 | cylindricalPressure x l j n (cylinderPoint w) |
| 100 | |
| 101 | /-- The actual finite active-label and nonzero-harmonic sum at band `n`. -/ |
| 102 | noncomputable def localPotential (x : CycleState (Label B N0)) (n : ℕ) : VelocityField := |
| 103 | fun w => ∑ l ∈ x.coefficients.labels n, |
| 104 | ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 105 | localPotentialMode x l j n w |
| 106 | |
| 107 | noncomputable def localPressure (x : CycleState (Label B N0)) (n : ℕ) : PressureField := |
| 108 | fun w => ∑ l ∈ x.coefficients.labels n, |
| 109 | ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 110 | localPressureMode x l j n w |
| 111 | |
| 112 | theorem nativePotential_eq (x : CycleState (Label B N0)) (l : Label B N0) |
| 113 | (j : ℤ) (n : ℕ) : |
| 114 | nativePotential x l j n = CurlClassBounds.vectorPotential |
| 115 | ((copyData x l j).background.frequency n) ((copyData x l j).background.radius n) |
| 116 | ((ActualParticularStageControls.directions (B := B)).radialField n) |
| 117 | (fun _ => (ActualParticularStageControls.directions (B := B)).angular) |
| 118 | ((ActualParticularStageControls.directions (B := B)).axialField |
| 119 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 120 | ((copyData x l j).background.phase n) ((copyData x l j).common.amplitude n) := rfl |
| 121 | |
| 122 | theorem localPotentialMode_eq (x : CycleState (Label B N0)) (l : Label B N0) |
| 123 | (j : ℤ) (n : ℕ) (w : SpaceTime) : |
| 124 | localPotentialMode x l j n w = |
| 125 | (ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h) • |
| 126 | PhysicalCurlCovariance.realVector |
| 127 | (CartesianCopySource.rotationMap (PhysicalGraphBounds.radialProjection w) |
| 128 | (nativePotential x l j n (nativePoint n w))) := by |
| 129 | ext i |
| 130 | fin_cases i <;> simp [localPotentialMode, cylindricalPotential, nativePoint, |
| 131 | PhysicalCurlCovariance.realVector, Complex.real_smul] |
| 132 | |
| 133 | /-! ## The polar angle is only a coordinate choice -/ |
| 134 | |
| 135 | theorem chosenChart_valid {w : SpaceTime} |
| 136 | (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : |
| 137 | PhysicalGraphBounds.radialProjection w ∈ PolarCharts.chartDomain |
| 138 | ‖PhysicalGraphBounds.radialProjection w‖ |
| 139 | (PhysicalWaveSum.chooseChart ‖PhysicalGraphBounds.radialProjection w‖ |
| 140 | (PhysicalGraphBounds.radialProjection w)) := by |
| 141 | apply PhysicalWaveSum.chooseChart_valid (b := ‖PhysicalGraphBounds.radialProjection w‖) |
| 142 | (norm_pos_iff.mpr hw) |
| 143 | refine ⟨by simp, ?_⟩ |
| 144 | change ‖PhysicalGraphBounds.radialProjection w‖ ≤ ‖PhysicalGraphBounds.radialProjection w‖ |
| 145 | exact le_rfl |
| 146 | |
| 147 | theorem polar_angle {w : SpaceTime} (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : |
| 148 | PolarCharts.polar (PolarCharts.radius (PhysicalGraphBounds.radialProjection w), angle w) = |
| 149 | PhysicalGraphBounds.radialProjection w := by |
| 150 | have hc := chosenChart_valid hw |
| 151 | have hp : 0 < (PolarCharts.rotate |
| 152 | (PhysicalWaveSum.chooseChart ‖PhysicalGraphBounds.radialProjection w‖ |
| 153 | (PhysicalGraphBounds.radialProjection w)) (PhysicalGraphBounds.radialProjection w)).1 := |
| 154 | lt_trans (by positivity : 0 < ‖PhysicalGraphBounds.radialProjection w‖ / 4) hc |
| 155 | simpa only [PolarCharts.localChart_apply, angle] using PolarCharts.polar_localChart _ hp |
| 156 | |
| 157 | theorem angle_chart_cos_sin {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) |
| 158 | {w : SpaceTime} (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 159 | Real.cos (angle w) = Real.cos (PhysicalCurlCovariance.polarInput a i w).2 ∧ |
| 160 | Real.sin (angle w) = Real.sin (PhysicalCurlCovariance.polarInput a i w).2 := by |
| 161 | have hr := ActualSignedPhysicalData.chart_radius_pos ha i hw |
| 162 | have hn : PhysicalGraphBounds.radialProjection w ≠ 0 := by |
| 163 | intro hz |
| 164 | simp only [hz, PolarCharts.radius, Prod.fst_zero, Prod.snd_zero, |
| 165 | ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true, zero_pow, add_zero, Real.sqrt_zero] at hr |
| 166 | exact (lt_irrefl 0) hr |
| 167 | have he := (polar_angle hn).trans (PolarCharts.polar_chart ha i hw).symm |
| 168 | rw [show PolarCharts.chart a i (PhysicalGraphBounds.radialProjection w) = |
| 169 | (PolarCharts.radius (PhysicalGraphBounds.radialProjection w), |
| 170 | (PhysicalCurlCovariance.polarInput a i w).2) by |
| 171 | apply Prod.ext |
| 172 | · exact ActualSignedPhysicalData.chart_radius ha i hw |
| 173 | · rfl] at he |
| 174 | have h0 := congrArg Prod.fst he |
| 175 | have h1 := congrArg Prod.snd he |
| 176 | exact ⟨mul_left_cancel₀ hr.ne' h0, mul_left_cancel₀ hr.ne' h1⟩ |
| 177 | |
| 178 | theorem periodic_eq_of_cos_sin {E : Type*} {f : ℝ → E} |
| 179 | (hf : Function.Periodic f (2 * Real.pi)) {a b : ℝ} |
| 180 | (hc : Real.cos a = Real.cos b) (hs : Real.sin a = Real.sin b) : f a = f b := by |
| 181 | obtain ⟨k, hk⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (Real.Angle.cos_sin_inj hc hs) |
| 182 | have he : a = b + (k : ℝ) * (2 * Real.pi) := by nlinarith [hk] |
| 183 | rw [he] |
| 184 | exact hf.int_mul k b |
| 185 | |
| 186 | theorem periodic_cylinderPoint_eq_chart {E : Type*} {f : SpaceTime → E} |
| 187 | (hf : ∀ t r z : ℝ, Function.Periodic |
| 188 | (fun θ => f (t, AxisymmetricResidual.pack r θ z)) (2 * Real.pi)) |
| 189 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 190 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 191 | f (cylinderPoint w) = f (PhysicalCurlCovariance.polarCoordinates a i w) := by |
| 192 | obtain ⟨hc,hs⟩ := angle_chart_cos_sin ha i hw |
| 193 | have he := periodic_eq_of_cos_sin |
| 194 | (hf w.1 (PolarCharts.radius (PhysicalGraphBounds.radialProjection w)) (w.2 2)) hc hs |
| 195 | change f (cylinderPoint w) = |
| 196 | f (w.1, AxisymmetricResidual.pack |
| 197 | (PolarCharts.chart a i (PhysicalGraphBounds.radialProjection w)).1 |
| 198 | (PhysicalCurlCovariance.polarInput a i w).2 (w.2 2)) |
| 199 | rw [ActualSignedPhysicalData.chart_radius ha i hw] |
| 200 | exact he |
| 201 | |
| 202 | theorem rotation_realVector_eq_frame {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) |
| 203 | {w : SpaceTime} (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 204 | (v : ComplexVector) : |
| 205 | PhysicalCurlCovariance.realVector |
| 206 | (CartesianCopySource.rotationMap (PhysicalGraphBounds.radialProjection w) v) = |
| 207 | CylindricalResidual.frame (PhysicalCurlCovariance.polarInput a i w).2 |
| 208 | (PhysicalCurlCovariance.realVector v) := by |
| 209 | ext k |
| 210 | rw [PhysicalCurlCovariance.realVector_apply, ActualSignedPhysicalData.cartesian_rotation] |
| 211 | exact ActualSignedPhysicalData.rotateCoefficient_chart_re ha i hw v k |
| 212 | |
| 213 | /-! ## The actual current coefficients have integer angular frequency -/ |
| 214 | |
| 215 | theorem nativePotential_fullTurn (x : CycleState (Label B N0)) (l : Label B N0) |
| 216 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 217 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) (z : Native) : |
| 218 | nativePotential x l j n (z + (2 * Real.pi) • |
| 219 | (ActualParticularStageControls.directions (B := B)).angular) = nativePotential x l j n z := by |
| 220 | rw [nativePotential_eq, copyData_eq_actual x l j hf] |
| 221 | have hA := ActualParticularDynamics.native_angular x l j n (0,0) |
| 222 | have ha := (ActualParticularDynamics.data x l j).common_amplitude_invariant |
| 223 | (ActualParticularStageControls.directions (B := B)).angular |
| 224 | (fun m k => (ActualParticularDynamics.native_angular x l j m k).cutoff) |
| 225 | (fun m k => (ActualParticularDynamics.native_angular x l j m k).amplitude) n |
| 226 | have hK : (x.coefficients.blocks l).frequency n ≠ 0 := by |
| 227 | rw [hf n] |
| 228 | exact (Scaling.carrier_frequency_pos |
| 229 | (ChartScales.epsilon_pos CorrectionInitialization.ActualPrimary.h n)).ne' |
| 230 | apply PhysicalCurlCovariance.vectorPotential_fullTurn |
| 231 | (j * (x.coefficients.blocks l).angularFrequency n) hA.radius hA.radial_field |
| 232 | (CopyAngularInvariance.Invariant.const _) (CopyAngularInvariance.Invariant.const _) |
| 233 | (ParticularWaveAssembly.actualCarrier_affine |
| 234 | (ActualParticularStageControls.parameters x l).background |
| 235 | (ActualParticularStageControls.assembly x l).carrierBlock j n) ha |
| 236 | change ((j : ℝ) * (x.coefficients.blocks l).frequency n) * |
| 237 | ((x.coefficients.blocks l).angularFrequency n / (x.coefficients.blocks l).frequency n) = _ |
| 238 | push_cast |
| 239 | field_simp |
| 240 | |
| 241 | theorem nativePressure_fullTurn (x : CycleState (Label B N0)) (l : Label B N0) |
| 242 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 243 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) (z : Native) : |
| 244 | nativePressure x l j n (z + (2 * Real.pi) • |
| 245 | (ActualParticularStageControls.directions (B := B)).angular) = nativePressure x l j n z := by |
| 246 | unfold nativePressure |
| 247 | rw [copyData_eq_actual x l j hf] |
| 248 | have hp := ActualParticularDynamics.common_pressure_invariant x l j n |
| 249 | have hΦ := ParticularWaveAssembly.actualCarrier_affine |
| 250 | (ActualParticularStageControls.parameters x l).background |
| 251 | (ActualParticularStageControls.assembly x l).carrierBlock j n |
| 252 | have hK : (x.coefficients.blocks l).frequency n ≠ 0 := by |
| 253 | rw [hf n] |
| 254 | exact (Scaling.carrier_frequency_pos |
| 255 | (ChartScales.epsilon_pos CorrectionInitialization.ActualPrimary.h n)).ne' |
| 256 | change mode ((j : ℝ) * (x.coefficients.blocks l).frequency n) _ _ _ = _ |
| 257 | have hp' : CopyAngularInvariance.Invariant |
| 258 | (ActualParticularStageControls.directions (B := B)).angular |
| 259 | ((ActualParticularCoherence.copyData x l j).common.pressure n) := hp |
| 260 | have hΦ' : CopyAngularInvariance.AffinePhase |
| 261 | (ActualParticularStageControls.directions (B := B)).angular |
| 262 | (((x.coefficients.blocks l).angularFrequency n : ℝ) / (x.coefficients.blocks l).frequency n) |
| 263 | ((ActualParticularCoherence.copyData x l j).background.phase n) := hΦ |
| 264 | rw [CopyAngularInvariance.mode_translate hp' hΦ'] |
| 265 | have he : HarmonicCalculus.phaseFactor ((j : ℝ) * (x.coefficients.blocks l).frequency n) * |
| 266 | ((((x.coefficients.blocks l).angularFrequency n : ℝ) / |
| 267 | (x.coefficients.blocks l).frequency n * (2 * Real.pi) : ℝ) : ℂ) = |
| 268 | ((j * (x.coefficients.blocks l).angularFrequency n : ℤ) : ℂ) * |
| 269 | (2 * Real.pi * Complex.I) := by |
| 270 | unfold HarmonicCalculus.phaseFactor |
| 271 | push_cast |
| 272 | field_simp [Complex.ofReal_ne_zero.mpr hK] |
| 273 | rw [he, Complex.exp_int_mul_two_pi_mul_I, one_mul] |
| 274 | rfl |
| 275 | |
| 276 | theorem cylindricalPotential_periodic (x : CycleState (Label B N0)) (l : Label B N0) |
| 277 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 278 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) |
| 279 | (n : ℕ) (t r z : ℝ) : Function.Periodic |
| 280 | (fun θ => cylindricalPotential x l j n (t, AxisymmetricResidual.pack r θ z)) |
| 281 | (2 * Real.pi) := by |
| 282 | intro θ |
| 283 | dsimp only |
| 284 | unfold cylindricalPotential |
| 285 | rw [← PhysicalParticularWave.angle_translate_pack, PhysicalParticularWave.nativeMap_add_angle] |
| 286 | exact congrArg (fun v : ComplexVector => |
| 287 | (ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h) • v) |
| 288 | (nativePotential_fullTurn x l j hf n _) |
| 289 | |
| 290 | theorem cylindricalPressure_periodic (x : CycleState (Label B N0)) (l : Label B N0) |
| 291 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 292 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) |
| 293 | (n : ℕ) (t r z : ℝ) : Function.Periodic |
| 294 | (fun θ => cylindricalPressure x l j n (t, AxisymmetricResidual.pack r θ z)) |
| 295 | (2 * Real.pi) := by |
| 296 | intro θ |
| 297 | dsimp only |
| 298 | unfold cylindricalPressure |
| 299 | rw [← PhysicalParticularWave.angle_translate_pack, PhysicalParticularWave.nativeMap_add_angle] |
| 300 | exact congrArg (fun v : ℂ => |
| 301 | (ChartScales.Q n) ^ (-2 * CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * v.re) |
| 302 | (nativePressure_fullTurn x l j hf n _) |
| 303 | |
| 304 | theorem localPotentialMode_eq_chart (x : CycleState (Label B N0)) (l : Label B N0) |
| 305 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 306 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 307 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 308 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 309 | localPotentialMode x l j n w = |
| 310 | PhysicalCurlCovariance.cartesianPotential a i (cylindricalPotential x l j n) w := by |
| 311 | unfold localPotentialMode |
| 312 | rw [periodic_cylinderPoint_eq_chart (cylindricalPotential_periodic x l j hf n) ha i hw, |
| 313 | rotation_realVector_eq_frame ha i hw] |
| 314 | rfl |
| 315 | |
| 316 | theorem localPressureMode_eq_chart (x : CycleState (Label B N0)) (l : Label B N0) |
| 317 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 318 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 319 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 320 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 321 | localPressureMode x l j n w = cylindricalPressure x l j n |
| 322 | (PhysicalCurlCovariance.polarCoordinates a i w) := |
| 323 | periodic_cylinderPoint_eq_chart (cylindricalPressure_periodic x l j hf n) ha i hw |
| 324 | |
| 325 | theorem localPotentialMode_germ_chart (x : CycleState (Label B N0)) (l : Label B N0) |
| 326 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 327 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 328 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 329 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 330 | localPotentialMode x l j n =ᶠ[𝓝 w] |
| 331 | PhysicalCurlCovariance.cartesianPotential a i (cylindricalPotential x l j n) := by |
| 332 | filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hw] with y hy |
| 333 | exact localPotentialMode_eq_chart x l j hf n ha i hy |
| 334 | |
| 335 | theorem localPressureMode_germ_chart (x : CycleState (Label B N0)) (l : Label B N0) |
| 336 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 337 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 338 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 339 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 340 | localPressureMode x l j n =ᶠ[𝓝 w] fun v => |
| 341 | cylindricalPressure x l j n (PhysicalCurlCovariance.polarCoordinates a i v) := by |
| 342 | filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hw] with y hy |
| 343 | exact localPressureMode_eq_chart x l j hf n ha i hy |
| 344 | |
| 345 | /-! ## Native smoothness and its exact physical transport -/ |
| 346 | |
| 347 | noncomputable def nativeDomain : Set Native := |
| 348 | ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 349 | CorrectionInitialization.ActualPrimary.standardRegion |
| 350 | |
| 351 | theorem nativeDomain_open : IsOpen nativeDomain := |
| 352 | ActualWaveRegularity.nativeDomain_open ActualWaveRegularity.particularChart |
| 353 | CorrectionInitialization.ActualPrimary.standardRegion |
| 354 | |
| 355 | /-- The endpoint condition concerns actual Volterra output values. The |
| 356 | source-continuity and path lemmas provide it for the constructed cycle. -/ |
| 357 | def RawBoundaryZero (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) : Prop := |
| 358 | ∀ n z, z ∈ nativeDomain → |
| 359 | ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 360 | Ioo (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 361 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal) → |
| 362 | (copyData x l j).common.amplitude n z = 0 ∧ (copyData x l j).common.pressure n z = 0 |
| 363 | |
| 364 | theorem nativePotential_contDiffOn (x : CycleState (Label B N0)) (l : Label B N0) |
| 365 | (j : ℤ) (hphase : (copyData x l j).background.phase = |
| 366 | (ActualParticularStageControls.background l).phase) {α : ℝ} |
| 367 | (ha : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip |
| 368 | (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) α |
| 369 | (copyData x l j).common.amplitude) |
| 370 | (hz : RawBoundaryZero x l j) (n : ℕ) : |
| 371 | ContDiffOn ℝ ∞ (nativePotential x l j n) nativeDomain := by |
| 372 | have hzero := fun m z hm hr => (hz m z hm hr).1 |
| 373 | have hnormal := ActualWaveRegularityData.particular_normal_smooth l |
| 374 | (ActualParticularStageControls.assembly x l).context |
| 375 | (ActualParticularStageControls.assembly x l).state |
| 376 | (ActualParticularStageControls.assembly x l).carrierBlock |
| 377 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 378 | (ActualParticularStageControls.assembly x l).aliasInput j hphase ha hzero n |
| 379 | have hphi := ActualWaveRegularityData.particular_phase_smooth l |
| 380 | (ActualParticularStageControls.assembly x l).context |
| 381 | (ActualParticularStageControls.assembly x l).state |
| 382 | (ActualParticularStageControls.assembly x l).carrierBlock |
| 383 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 384 | (ActualParticularStageControls.assembly x l).aliasInput j hphase n |
| 385 | apply ActualWaveRegularityData.particular_smooth_of_positive_or_zero |
| 386 | · apply contDiffOn_pi.mpr |
| 387 | intro i |
| 388 | exact HarmonicCalculus.contDiffOn_mode _ hphi |
| 389 | (contDiffOn_pi.mp ((hnormal.mono (fun _ hx => hx.1)).const_smul |
| 390 | (CurlClassBounds.inverseCarrier ((copyData x l j).background.frequency n))) i) |
| 391 | · intro z hm hr |
| 392 | have ho : ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 393 | Icc (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 394 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal) := by |
| 395 | intro hi |
| 396 | exact (not_lt_of_ge (ActualWaveRegularityData.radius_nonpos hm hr)) |
| 397 | ((PrimaryTargetBounds.leftRadius_pos CorrectionInitialization.ActualPrimary.nominal).trans_le hi.1) |
| 398 | filter_upwards [ActualWaveRegularityData.particular_zero_germ _ hzero n hm ho] with y hy |
| 399 | rw [nativePotential_eq] |
| 400 | ext i |
| 401 | simp only [CurlClassBounds.vectorPotential, vectorMode, mode, CurlClassBounds.coefficient, |
| 402 | hy, PeriodizedWaveBounds.normalCoefficient_zero, smul_zero, Pi.zero_apply, zero_mul] |
| 403 | |
| 404 | theorem nativePressure_re_contDiffOn (x : CycleState (Label B N0)) (l : Label B N0) |
| 405 | (j : ℤ) (hphase : (copyData x l j).background.phase = |
| 406 | (ActualParticularStageControls.background l).phase) {β : ℝ} |
| 407 | (hp : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip |
| 408 | (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) β |
| 409 | (copyData x l j).common.pressure) |
| 410 | (hz : RawBoundaryZero x l j) (n : ℕ) : |
| 411 | ContDiffOn ℝ ∞ (fun z => (nativePressure x l j n z).re) nativeDomain := by |
| 412 | have hs := ActualWaveRegularityData.particular_mode_pressure_smooth l |
| 413 | (ActualParticularStageControls.assembly x l).context |
| 414 | (ActualParticularStageControls.assembly x l).state |
| 415 | (ActualParticularStageControls.assembly x l).carrierBlock |
| 416 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 417 | (ActualParticularStageControls.assembly x l).aliasInput j hphase hp |
| 418 | (fun m z hm hr => (hz m z hm hr).2) n |
| 419 | have he := hs.comp ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn |
| 420 | (fun _ hx => hx) |
| 421 | simp only [Function.comp_def, LinearIsometryEquiv.apply_symm_apply] at he |
| 422 | exact he |
| 423 | |
| 424 | theorem nativeMap_contDiffAt (n : ℕ) {z : SpaceTime} (hr : 0 < z.2 0) : |
| 425 | ContDiffAt ℝ ∞ (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 426 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n)) z := by |
| 427 | apply PhysicalParticularWave.waveEquiv.contDiff.contDiffAt.comp |
| 428 | exact (PhysicalResidualBridge.commonGraph (ChartScales.Q n) CorrectionInitialization.ActualPrimary.h |
| 429 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n)).map_smoothAt |
| 430 | (mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hr).ne' |
| 431 | |
| 432 | theorem cylindricalPotential_contDiffAt_of_native (x : CycleState (Label B N0)) |
| 433 | (l : Label B N0) (j : ℤ) (n : ℕ) {z : SpaceTime} (hr : 0 < z.2 0) |
| 434 | (hP : ContDiffAt ℝ ∞ (nativePotential x l j n) |
| 435 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 436 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z)) : |
| 437 | ContDiffAt ℝ ∞ (cylindricalPotential x l j n) z := |
| 438 | (hP.comp z (nativeMap_contDiffAt n hr)).const_smul _ |
| 439 | |
| 440 | theorem cylindricalPressure_contDiffAt_of_native (x : CycleState (Label B N0)) |
| 441 | (l : Label B N0) (j : ℤ) (n : ℕ) {z : SpaceTime} (hr : 0 < z.2 0) |
| 442 | (hP : ContDiffAt ℝ ∞ (fun v => (nativePressure x l j n v).re) |
| 443 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 444 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z)) : |
| 445 | ContDiffAt ℝ ∞ (cylindricalPressure x l j n) z := |
| 446 | contDiffAt_const.mul (hP.comp z (nativeMap_contDiffAt n hr)) |
| 447 | |
| 448 | theorem localPotentialMode_contDiffAt_of_native (x : CycleState (Label B N0)) |
| 449 | (l : Label B N0) (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 450 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 451 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 452 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 453 | (hP : ContDiffAt ℝ ∞ (nativePotential x l j n) |
| 454 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 455 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 456 | (PhysicalCurlCovariance.polarCoordinates a i w))) : |
| 457 | ContDiffAt ℝ ∞ (localPotentialMode x l j n) w := by |
| 458 | have hz := ActualMeanPotentialRealization.polarCoordinates_valid ha i hw |
| 459 | exact (PhysicalCurlCovariance.cartesianPotential_smoothAt ha i |
| 460 | (cylindricalPotential_contDiffAt_of_native x l j n hz.1 hP)).congr_of_eventuallyEq |
| 461 | (localPotentialMode_germ_chart x l j hf n ha i hw) |
| 462 | |
| 463 | theorem localPressureMode_contDiffAt_of_native (x : CycleState (Label B N0)) |
| 464 | (l : Label B N0) (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 465 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 466 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 467 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 468 | (hP : ContDiffAt ℝ ∞ (fun v => (nativePressure x l j n v).re) |
| 469 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 470 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 471 | (PhysicalCurlCovariance.polarCoordinates a i w))) : |
| 472 | ContDiffAt ℝ ∞ (localPressureMode x l j n) w := by |
| 473 | have hz := ActualMeanPotentialRealization.polarCoordinates_valid ha i hw |
| 474 | exact ((cylindricalPressure_contDiffAt_of_native x l j n hz.1 hP).comp w |
| 475 | (PhysicalCurlCovariance.polarCoordinates_smooth ha i).contDiffAt).congr_of_eventuallyEq |
| 476 | (localPressureMode_germ_chart x l j hf n ha i hw) |
| 477 | |
| 478 | theorem copyData_phase {x : CycleState (Label B N0)} |
| 479 | (hx : ActualParticularStageControls.PreservesCarriers x) (l : Label B N0) (j : ℤ) : |
| 480 | (copyData x l j).background.phase = (ActualParticularStageControls.background l).phase := by |
| 481 | rw [copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l)] |
| 482 | exact ActualParticularDynamics.data_phase hx l j |
| 483 | |
| 484 | theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : SpaceTime) : |
| 485 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h (ChartScales.Q n) |
| 486 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 487 | (PhysicalCurlCovariance.polarCoordinates a i w) ∈ nativeDomain ↔ |
| 488 | nativePoint n w ∈ nativeDomain := by |
| 489 | change ((PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h (ChartScales.Q n) |
| 490 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 491 | (PhysicalCurlCovariance.polarCoordinates a i w)).1.1.2 ∈ |
| 492 | CorrectionInitialization.ActualPrimary.standardRegion.carrier ∧ True) ↔ |
| 493 | ((nativePoint n w).1.1.2 ∈ CorrectionInitialization.ActualPrimary.standardRegion.carrier ∧ True) |
| 494 | simp only [PhysicalParticularWave.nativeMap, PhysicalParticularWave.waveEquiv_apply, |
| 495 | PhysicalResidualBridge.ScaledGraph.map, PhysicalCurlCovariance.polarCoordinates, |
| 496 | AxisymmetricResidual.pack_two, nativePoint, cylinderPoint] |
| 497 | |
| 498 | /-! The literal cycle input discharges the raw endpoint condition. -/ |
| 499 | |
| 500 | theorem copyData_particularState (x : CycleState (ActualInitialization.Index B N0)) |
| 501 | (l : ActualInitialization.Index B N0) (j : ℤ) : |
| 502 | copyData (ActualCycleParameters.particularState x) (l.2,l.1) j = |
| 503 | ActualParticularCycleData.nativeData x l j := rfl |
| 504 | |
| 505 | theorem rawBoundaryZero_of_invariant {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 506 | (H : ActualParticularCycleData.Invariant σ x) (l : ActualInitialization.Index B N0) (j : ℤ) : |
| 507 | RawBoundaryZero (ActualCycleParameters.particularState x) (l.2,l.1) j := by |
| 508 | intro n z hz hr |
| 509 | rw [copyData_particularState] |
| 510 | exact ActualParticularCycleData.native_common_boundary H l j n hz hr |
| 511 | |
| 512 | theorem native_smooth_of_invariant {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 513 | (H : ActualParticularCycleData.Invariant σ x) |
| 514 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 515 | (l : ActualInitialization.Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : |
| 516 | ContDiffOn ℝ ∞ (nativePotential (ActualCycleParameters.particularState x) (l.2,l.1) j n) |
| 517 | nativeDomain ∧ |
| 518 | ContDiffOn ℝ ∞ (fun z => (nativePressure (ActualCycleParameters.particularState x) |
| 519 | (l.2,l.1) j n z).re) nativeDomain := by |
| 520 | have hp : (copyData (ActualCycleParameters.particularState x) (l.2,l.1) j).background.phase = |
| 521 | (ActualParticularStageControls.background (l.2,l.1)).phase := |
| 522 | ActualParticularCycleData.native_phase H l j |
| 523 | exact ⟨nativePotential_contDiffOn _ _ j hp |
| 524 | (ActualParticularCycleData.native_raw_class H hN l j hj) |
| 525 | (rawBoundaryZero_of_invariant H l j) n, |
| 526 | nativePressure_re_contDiffOn _ _ j hp |
| 527 | (ActualParticularCycleData.native_pressure_class H hN l j hj) |
| 528 | (rawBoundaryZero_of_invariant H l j) n⟩ |
| 529 | |
| 530 | theorem localModes_contDiffAt_of_invariant |
| 531 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 532 | (H : ActualParticularCycleData.Invariant σ x) |
| 533 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 534 | (l : ActualInitialization.Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) |
| 535 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 536 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 537 | (hm : nativePoint n w ∈ nativeDomain) : |
| 538 | ContDiffAt ℝ ∞ (localPotentialMode (ActualCycleParameters.particularState x) (l.2,l.1) j n) w ∧ |
| 539 | ContDiffAt ℝ ∞ (localPressureMode (ActualCycleParameters.particularState x) (l.2,l.1) j n) w := by |
| 540 | have hh := native_smooth_of_invariant H hN l j hj n |
| 541 | have hm' := (nativeMap_polar_mem_iff n a i w).mpr hm |
| 542 | have hf := ActualParticularDynamics.carrier_frequency (ActualParticularCycleData.preservesCarriers H) |
| 543 | (l.2,l.1) |
| 544 | exact ⟨localPotentialMode_contDiffAt_of_native _ _ j hf n ha i hw |
| 545 | (hh.1.contDiffAt (nativeDomain_open.mem_nhds hm')), |
| 546 | localPressureMode_contDiffAt_of_native _ _ j hf n ha i hw |
| 547 | (hh.2.contDiffAt (nativeDomain_open.mem_nhds hm'))⟩ |
| 548 | |
| 549 | theorem localFields_contDiffAt_of_invariant |
| 550 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 551 | (H : ActualParticularCycleData.Invariant σ x) |
| 552 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (n : ℕ) |
| 553 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 554 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 555 | (hm : nativePoint n w ∈ nativeDomain) : |
| 556 | ContDiffAt ℝ ∞ (localPotential (ActualCycleParameters.particularState x) n) w ∧ |
| 557 | ContDiffAt ℝ ∞ (localPressure (ActualCycleParameters.particularState x) n) w := by |
| 558 | constructor <;> apply ContDiffAt.sum <;> intro l hl <;> |
| 559 | apply ContDiffAt.sum <;> intro j hj |
| 560 | · exact (localModes_contDiffAt_of_invariant H hN (l.2,l.1) j |
| 561 | ((ParticularWaveAssembly.mem_modes _ _).mp hj).1 n ha i hw hm).1 |
| 562 | · exact (localModes_contDiffAt_of_invariant H hN (l.2,l.1) j |
| 563 | ((ParticularWaveAssembly.mem_modes _ _).mp hj).1 n ha i hw hm).2 |
| 564 | |
| 565 | /-! ## The complete corrected coefficient is the actual native curl -/ |
| 566 | |
| 567 | noncomputable def nativeVelocity (x : CycleState (Label B N0)) (l : Label B N0) |
| 568 | (j : ℤ) (n : ℕ) : Native → ComplexVector := |
| 569 | vectorMode ((copyData x l j).background.frequency n) ((copyData x l j).background.phase n) |
| 570 | (((copyData x l j).commonCorrected |
| 571 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 572 | (ActualParticularStageControls.directions (B := B))).amplitude n) |
| 573 | |
| 574 | theorem nativeStrip_mem {z : Native} (hz : z ∈ nativeDomain) |
| 575 | (hr : ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∈ |
| 576 | Ioo (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 577 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal)) : |
| 578 | z ∈ (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip).domain := by |
| 579 | change ActualWaveRegularity.particularChart.symm z ∈ ActualSignedStageControls.fullStrip.domain |
| 580 | rw [ActualWaveRegularityData.strip_domain_eq] |
| 581 | exact ⟨hz,hr⟩ |
| 582 | |
| 583 | theorem common_tangent_on_strip (x : CycleState (Label B N0)) |
| 584 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 585 | (hs : ActualParticularStageControls.InputSupport x) |
| 586 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 587 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 588 | (H : LabelSumBounds.UniformWaveClass |
| 589 | (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) |
| 590 | ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) |
| 591 | (l : Label B N0) (n : ℕ) {z : Native} |
| 592 | (hz : z ∈ (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip).domain) : |
| 593 | normalDot ((copyData x l j).background.normal |
| 594 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 595 | (ActualParticularStageControls.directions (B := B)) n z) |
| 596 | ((copyData x l j).common.amplitude n z) = 0 := by |
| 597 | rw [copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l)] |
| 598 | let S := ActualParticularDynamics.supportData x hs hN l j |
| 599 | change normalDot ((ActualParticularDynamics.data x l j).background.normal |
| 600 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 601 | (ActualParticularStageControls.directions (B := B)) n z) |
| 602 | ((ActualParticularDynamics.data x l j).common.amplitude n z) = 0 |
| 603 | by_cases he : ∃ k, z ∈ S.cells.carrier n k |
| 604 | · obtain ⟨k,hk⟩ := he |
| 605 | rw [((ActualParticularDynamics.data x l j).common_amplitude_germ |
| 606 | S.cells S.cutoff_support n hk).eq_of_nhds] |
| 607 | rcases S.localized_alternative hz hk with hc | ⟨ha,_⟩ |
| 608 | · have ht := (ActualParticularDynamics.native_tangency_germ hx j hj H l n k hc).eq_of_nhds |
| 609 | change normalDot _ ((ActualParticularDynamics.data x l j).cutoff n k z • |
| 610 | (ActualParticularDynamics.data x l j).amplitude n k z) = 0 |
| 611 | have hlin (N : Space) (a : ComplexVector) (c : ℝ) : |
| 612 | normalDot N (c • a) = (c : ℂ) * normalDot N a := by |
| 613 | simp only [normalDot, Pi.smul_apply, Complex.real_smul] |
| 614 | ring |
| 615 | rw [hlin, ht, mul_zero] |
| 616 | · rw [ha.eq_of_nhds] |
| 617 | simp [normalDot] |
| 618 | · rw [((ActualParticularDynamics.data x l j).common_zero_germs |
| 619 | S.cells S.cutoff_support (not_exists.mp he)).1.eq_of_nhds] |
| 620 | simp [normalDot] |
| 621 | |
| 622 | theorem native_normal_ne {x : CycleState (Label B N0)} |
| 623 | (hx : ActualParticularStageControls.PreservesCarriers x) (l : Label B N0) (j : ℤ) (n : ℕ) |
| 624 | {z : Native} (hz : z ∈ ActualWaveRegularityData.particularPositive) : |
| 625 | (copyData x l j).background.normal |
| 626 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 627 | (ActualParticularStageControls.directions (B := B)) n z ≠ 0 := by |
| 628 | unfold LinearWaveBounds.WaveCoefficients.normal |
| 629 | rw [copyData_phase hx l j] |
| 630 | change (ActualParticularStageControls.background l).normal |
| 631 | ActualWaveRegularityData.particularFullStrip |
| 632 | (ActualParticularStageControls.directions (B := B)) n z ≠ 0 |
| 633 | rw [ActualWaveRegularityData.particular_native_normal l n hz] |
| 634 | exact ActualPrimaryCoherence.piece_normal_ne CorrectionInitialization.ActualPrimary.standardRegion |
| 635 | l.1 l.2 n hz.2 |
| 636 | |
| 637 | /-- The actual native curl identity includes the radial faces: zero raw |
| 638 | values there give tangency, while the weighted extension supplies the |
| 639 | actual derivatives of the normal coefficient. -/ |
| 640 | theorem nativePotential_curl_of_invariant |
| 641 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 642 | (H : ActualParticularCycleData.Invariant σ x) |
| 643 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 644 | (l : ActualInitialization.Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) |
| 645 | {z : Native} (hz : z ∈ ActualWaveRegularityData.particularPositive) : |
| 646 | CurlClassBounds.cylindricalCurl |
| 647 | ((copyData (ActualCycleParameters.particularState x) (l.2,l.1) j).background.radius n) |
| 648 | ((ActualParticularStageControls.directions (B := B)).radialField n) |
| 649 | (fun _ => (ActualParticularStageControls.directions (B := B)).angular) |
| 650 | ((ActualParticularStageControls.directions (B := B)).axialField |
| 651 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 652 | (nativePotential (ActualCycleParameters.particularState x) (l.2,l.1) j n) z = |
| 653 | nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n z := by |
| 654 | let y := ActualCycleParameters.particularState x |
| 655 | have hx : ActualParticularStageControls.PreservesCarriers y := |
| 656 | ActualParticularCycleData.preservesCarriers H |
| 657 | have hphase := copyData_phase hx (l.2,l.1) j |
| 658 | have hzero := fun m w hm hr => |
| 659 | (rawBoundaryZero_of_invariant H l j m w hm hr).1 |
| 660 | have hnormal := ActualWaveRegularityData.particular_normal_smooth (l.2,l.1) |
| 661 | (ActualParticularStageControls.assembly y (l.2,l.1)).context |
| 662 | (ActualParticularStageControls.assembly y (l.2,l.1)).state |
| 663 | (ActualParticularStageControls.assembly y (l.2,l.1)).carrierBlock |
| 664 | (ActualParticularStageControls.assembly y (l.2,l.1)).gaussianInput |
| 665 | (ActualParticularStageControls.assembly y (l.2,l.1)).aliasInput j hphase |
| 666 | (ActualParticularCycleData.native_raw_class H hN l j hj) hzero n |
| 667 | have hphi := ActualWaveRegularityData.particular_phase_smooth (l.2,l.1) |
| 668 | (ActualParticularStageControls.assembly y (l.2,l.1)).context |
| 669 | (ActualParticularStageControls.assembly y (l.2,l.1)).state |
| 670 | (ActualParticularStageControls.assembly y (l.2,l.1)).carrierBlock |
| 671 | (ActualParticularStageControls.assembly y (l.2,l.1)).gaussianInput |
| 672 | (ActualParticularStageControls.assembly y (l.2,l.1)).aliasInput j hphase n |
| 673 | have ht : normalDot ((copyData y (l.2,l.1) j).background.normal |
| 674 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 675 | (ActualParticularStageControls.directions (B := B)) n z) |
| 676 | ((copyData y (l.2,l.1) j).common.amplitude n z) = 0 := by |
| 677 | by_cases hr : ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∈ |
| 678 | Ioo (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 679 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal) |
| 680 | · exact common_tangent_on_strip y hx (ActualParticularCycleData.native_inputSupport H) hN |
| 681 | j hj (ActualParticularCycleData.native_source_class H j hj) (l.2,l.1) n |
| 682 | (nativeStrip_mem hz.1 hr) |
| 683 | · rw [hzero n z hz.1 hr] |
| 684 | simp [normalDot] |
| 685 | have hfreq : (copyData y (l.2,l.1) j).background.frequency n ≠ 0 := by |
| 686 | rw [copyData_eq_actual y (l.2,l.1) j (ActualParticularStageControls.preserves_frequency hx _)] |
| 687 | exact ActualParticularDynamics.frequency_ne hx (l.2,l.1) j hj n |
| 688 | exact ClosedNativeWaveIdentities.cylindricalCurl_vectorPotential_of_differentiable _ _ _ _ hfreq |
| 689 | ((hphi.contDiffAt (ActualWaveRegularityData.particularPositive_open.mem_nhds hz)).differentiableAt |
| 690 | (by simp)) |
| 691 | (fun i => (contDiffAt_pi.mp (hnormal.contDiffAt (nativeDomain_open.mem_nhds hz.1)) i).differentiableAt |
| 692 | (by simp)) |
| 693 | (native_normal_ne hx (l.2,l.1) j n hz) ht |
| 694 | |
| 695 | /-! ## Curl in genuine Cartesian coordinates -/ |
| 696 | |
| 697 | theorem nativeCurl_reindex (x : CycleState (Label B N0)) (l : Label B N0) |
| 698 | (j : ℤ) (n : ℕ) (z : PhysicalResidualBridge.Cylinder) : |
| 699 | CurlClassBounds.cylindricalCurl PhysicalResidualBridge.ScaledGraph.radius |
| 700 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) CorrectionInitialization.ActualPrimary.h |
| 701 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n)).radial |
| 702 | PhysicalResidualBridge.ScaledGraph.angular |
| 703 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) CorrectionInitialization.ActualPrimary.h |
| 704 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n)).axial |
| 705 | (fun y => nativePotential x l j n (PhysicalParticularWave.waveEquiv y)) z = |
| 706 | CurlClassBounds.cylindricalCurl ((copyData x l j).background.radius n) |
| 707 | ((ActualParticularStageControls.directions (B := B)).radialField n) |
| 708 | (fun _ => (ActualParticularStageControls.directions (B := B)).angular) |
| 709 | ((ActualParticularStageControls.directions (B := B)).axialField |
| 710 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 711 | (nativePotential x l j n) (PhysicalParticularWave.waveEquiv z) := by |
| 712 | have he := ActualParticularRealization.curl_pull PhysicalParticularWave.waveEquiv |
| 713 | ((ActualParticularStageControls.assembly x l).background.radius n) |
| 714 | ((ActualParticularStageControls.assembly x l).directions.radialField n) |
| 715 | (fun _ => (ActualParticularStageControls.assembly x l).directions.angular) |
| 716 | ((ActualParticularStageControls.assembly x l).directions.axialField |
| 717 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 718 | (nativePotential x l j n) |
| 719 | rw [(ActualParticularCoherence.targetChart x l n).radius, |
| 720 | (ActualParticularCoherence.targetChart x l n).radial, |
| 721 | (ActualParticularCoherence.targetChart x l n).angular, |
| 722 | (ActualParticularCoherence.targetChart x l n).axial] at he |
| 723 | exact congrFun he z |
| 724 | |
| 725 | theorem localPotentialMode_forward_germ (x : CycleState (Label B N0)) (l : Label B N0) |
| 726 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 727 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 728 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 729 | (hz : z ∈ PhysicalCurlCovariance.validCylindrical a i) : |
| 730 | (fun w : SpaceTime => localPotentialMode x l j n (w.1, CylindricalResidual.chart w.2)) =ᶠ[𝓝 z] |
| 731 | (fun w => CylindricalResidual.frame (w.2 1) |
| 732 | (PhysicalCurlCovariance.realVector (cylindricalPotential x l j n w))) := by |
| 733 | have hw : (z.1, CylindricalResidual.chart z.2) ∈ |
| 734 | ActualMeanPotentialRealization.cartesianDomain a i := by |
| 735 | simpa [ActualMeanPotentialRealization.cartesianDomain, PhysicalGraphBounds.radialProjection_apply, |
| 736 | CylindricalResidual.chart, PolarCharts.polar] using hz.2.2 |
| 737 | have hfwd : ContDiff ℝ ∞ (fun w : SpaceTime => (w.1, CylindricalResidual.chart w.2)) := |
| 738 | contDiff_fst.prodMk (CylindricalResidual.contDiff_chart.comp contDiff_snd) |
| 739 | have hg := (localPotentialMode_germ_chart x l j hf n ha i hw).comp_tendsto |
| 740 | hfwd.continuous.continuousAt |
| 741 | exact hg.trans (PhysicalCurlCovariance.cartesianPotential_forward_germ ha i |
| 742 | (cylindricalPotential x l j n) hz) |
| 743 | |
| 744 | theorem localPotentialMode_curl_transport (x : CycleState (Label B N0)) (l : Label B N0) |
| 745 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = |
| 746 | ChartScales.carrier CorrectionInitialization.ActualPrimary.h n) (n : ℕ) |
| 747 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 748 | (hz : z ∈ PhysicalCurlCovariance.validCylindrical a i) |
| 749 | (hP : ContDiffAt ℝ ∞ (nativePotential x l j n) |
| 750 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 751 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z)) |
| 752 | (k : Fin 3) : |
| 753 | CylindricalResidual.frame (-(z.2 1)) |
| 754 | (SpatialCurl.spatialCurl (localPotentialMode x l j n) (z.1, CylindricalResidual.chart z.2)) k = |
| 755 | (ChartScales.Q n) ^ (-CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * |
| 756 | (CurlClassBounds.cylindricalCurl ((copyData x l j).background.radius n) |
| 757 | ((ActualParticularStageControls.directions (B := B)).radialField n) |
| 758 | (fun _ => (ActualParticularStageControls.directions (B := B)).angular) |
| 759 | ((ActualParticularStageControls.directions (B := B)).axialField |
| 760 | (ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 761 | (nativePotential x l j n) |
| 762 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 763 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z) k).re := by |
| 764 | let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) CorrectionInitialization.ActualPrimary.h |
| 765 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 766 | have hl : 0 < G.radialScale := Real.rpow_pos_of_pos (ChartScales.Q_pos n) _ |
| 767 | have hw : (z.1, CylindricalResidual.chart z.2) ∈ |
| 768 | ActualMeanPotentialRealization.cartesianDomain a i := by |
| 769 | simpa [ActualMeanPotentialRealization.cartesianDomain, PhysicalGraphBounds.radialProjection_apply, |
| 770 | CylindricalResidual.chart, PolarCharts.polar] using hz.2.2 |
| 771 | have hP' : ContDiffAt ℝ ∞ (nativePotential x l j n) |
| 772 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 773 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| 774 | (PhysicalCurlCovariance.polarCoordinates a i (z.1, CylindricalResidual.chart z.2))) := by |
| 775 | rw [PhysicalCurlCovariance.polarCoordinates_forward ha i hz] |
| 776 | exact hP |
| 777 | have hA := localPotentialMode_contDiffAt_of_native x l j hf n ha i hw hP' |
| 778 | have hB : ∀ k, DifferentiableAt ℝ |
| 779 | (fun y => nativePotential x l j n (PhysicalParticularWave.waveEquiv y) k) (G.map z) := by |
| 780 | intro k |
| 781 | exact (contDiffAt_pi.mp (hP.comp (G.map z) |
| 782 | PhysicalParticularWave.waveEquiv.contDiff.contDiffAt) k).differentiableAt (by simp) |
| 783 | have hr := localPotentialMode_forward_germ x l j hf n ha i hz |
| 784 | have hc := PhysicalCurlCovariance.ScaledGraph.physical_curl G hl hz.1 hB |
| 785 | ((ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h)) |
| 786 | (hA.differentiableAt (by simp)) hr k |
| 787 | rw [nativeCurl_reindex x l j n] at hc |
| 788 | have hscale : (ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h) * G.radialScale = |
| 789 | (ChartScales.Q n) ^ (-CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) := by |
| 790 | change (ChartScales.Q n) ^ (-CorrectionInitialization.ActualPrimary.h) * |
| 791 | (ChartScales.Q n) ^ (-(1/2 : ℝ)) = _ |
| 792 | rw [← Real.rpow_add (ChartScales.Q_pos n)] |
| 793 | congr 1 |
| 794 | unfold CoordinateAlgebra.A |
| 795 | ring |
| 796 | simp only [hscale] at hc |
| 797 | exact hc |
| 798 | |
| 799 | theorem nativeMap_mem_positive (n : ℕ) {z : SpaceTime} (hr : 0 < z.2 0) |
| 800 | (hz : PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 801 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z ∈ nativeDomain) : |
| 802 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 803 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z ∈ |
| 804 | ActualWaveRegularityData.particularPositive := by |
| 805 | refine ⟨hz, ?_, ?_⟩ |
| 806 | · change 0 < (ChartScales.Q n) ^ (-(1/2 : ℝ)) * z.2 0 |
| 807 | exact mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hr |
| 808 | · exact CorrectionInitialization.ActualPrimary.standardRegion.time_pos _ hz.1 |
| 809 | |
| 810 | theorem localPotentialMode_curl_of_invariant |
| 811 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 812 | (H : ActualParticularCycleData.Invariant σ x) |
| 813 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 814 | (l : ActualInitialization.Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) |
| 815 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 816 | (hz : z ∈ PhysicalCurlCovariance.validCylindrical a i) |
| 817 | (hm : PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 818 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z ∈ nativeDomain) |
| 819 | (k : Fin 3) : |
| 820 | CylindricalResidual.frame (-(z.2 1)) |
| 821 | (SpatialCurl.spatialCurl |
| 822 | (localPotentialMode (ActualCycleParameters.particularState x) (l.2,l.1) j n) |
| 823 | (z.1, CylindricalResidual.chart z.2)) k = |
| 824 | (ChartScales.Q n) ^ (-CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * |
| 825 | (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n |
| 826 | (PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 827 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z) k).re := by |
| 828 | have hh := localPotentialMode_curl_transport (ActualCycleParameters.particularState x) (l.2,l.1) j |
| 829 | (ActualParticularDynamics.carrier_frequency (ActualParticularCycleData.preservesCarriers H) (l.2,l.1)) |
| 830 | n ha i hz ((native_smooth_of_invariant H hN l j hj n).1.contDiffAt |
| 831 | (nativeDomain_open.mem_nhds hm)) k |
| 832 | rw [nativePotential_curl_of_invariant H hN l j hj n (nativeMap_mem_positive n hz.1 hm)] at hh |
| 833 | exact hh |
| 834 | |
| 835 | end NavierStokes.ActualCurrentParticularPhysical |