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.ActualSignedPotentialCoherence |
| 2 | import NavierStokes.ActualSignedOutputBounds |
| 3 | import NavierStokes.ActualSignedCommonDynamics |
| 4 | import NavierStokes.ActualPhysicalPrefixFields |
| 5 | |
| 6 | /-! |
| 7 | # The curl of the actual current signed potential |
| 8 | |
| 9 | The native equation is proved from the actual signed tangency and cutoff |
| 10 | construction. The weighted amplitude bound supplies its smooth extension |
| 11 | across the radial edges. All physical statements use the current band. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.CurrentSignedCurl |
| 17 | |
| 18 | open Set Function Filter ProblemStatement HarmonicCalculus WeightedClasses |
| 19 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 20 | open ActualSignedCoherence ActualSignedPotentialCoherence |
| 21 | open scoped Topology ContDiff BigOperators |
| 22 | |
| 23 | abbrev Point := ActualSignedCoherence.Point |
| 24 | abbrev FullPoint := ActualSignedCoherence.FullPoint |
| 25 | |
| 26 | variable {B N0 : ℕ} |
| 27 | |
| 28 | /-- The actual weighted raw-amplitude estimate; no curl equation is included. -/ |
| 29 | abbrev AmplitudeBound (l : SignedLabel B N0) (u : CorrectionState.State Point) (α : ℝ) : Prop := |
| 30 | MemClass ActualSignedStageControls.fullStrip |
| 31 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 32 | ActualSignedStageControls.envelope l n x) α (copies l u).common.amplitude |
| 33 | |
| 34 | /-- Primitive state regularity and actual mean residual bounds supply the |
| 35 | amplitude hypothesis used below, for the same current request and label. -/ |
| 36 | theorem amplitudeBound_of_mean (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 37 | (α : ℝ) |
| 38 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 39 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 40 | (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge (commonContext B) u = u) |
| 41 | (hθ : MeanClass ActualInitialization.geometry.strip α (u.thetaResidual (commonContext B))) |
| 42 | (hz : MeanClass ActualInitialization.geometry.strip α (u.axialResidual (commonContext B))) : |
| 43 | AmplitudeBound l u (α - 1 / 2) := |
| 44 | (ActualSignedOutputBounds.actual_common_bounds ActualInitialization.geometry rfl |
| 45 | (commonContext B) u α H hfixed hθ hz).amplitude.each l |
| 46 | |
| 47 | /-- Actual tangency extends to the entire positive native domain: outside the |
| 48 | strict active annulus the common raw amplitude is exactly zero. -/ |
| 49 | theorem common_tangent (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 50 | (n : ℕ) {x : FullPoint} (hx : x ∈ ActualWaveRegularityData.positiveDomain) : |
| 51 | normalDot ((ActualSignedStageControls.parameters l).base.normal |
| 52 | ActualSignedStageControls.fullStrip (ActualSignedStageControls.directions B) n x) |
| 53 | ((copies l u).common.amplitude n x) = 0 := by |
| 54 | classical |
| 55 | by_cases hr : ActualWaveRegularityData.radius x ∈ |
| 56 | Ioo (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal) |
| 57 | · have hs : x ∈ ActualSignedStageControls.fullStrip.domain := by |
| 58 | rw [ActualWaveRegularityData.strip_domain_eq] |
| 59 | exact ⟨hx.1, hr⟩ |
| 60 | by_cases hk : ∃ k, x ∈ (ActualSignedStageControls.cells l).carrier n k |
| 61 | · obtain ⟨k, hk⟩ := hk |
| 62 | rw [((copies l u).common_amplitude_germ (ActualSignedStageControls.cells l) |
| 63 | (ActualSignedStageControls.cutoff_support l) n hk).self_of_nhds] |
| 64 | rcases ActualSignedOutputBounds.phaseCell_or_localized_zero (request B u) l n k hs with hc | hz |
| 65 | · change normalDot _ (ActualSignedStageControls.cutoff l k n x • |
| 66 | ((copies l u).raw k).amplitude n x) = 0 |
| 67 | rw [LocalizedCurlRealization.normalDot_real_smul] |
| 68 | have ht : normalDot ((ActualSignedStageControls.parameters l).base.normal |
| 69 | ActualSignedStageControls.fullStrip (ActualSignedStageControls.directions B) n x) |
| 70 | (((copies l u).raw k).amplitude n x) = 0 := |
| 71 | (ActualSignedStageControls.raw_tangent_germ (request B u) hs hc).self_of_nhds |
| 72 | rw [ht, mul_zero] |
| 73 | · have ht : ((copies l u).localized k).amplitude n x = 0 := hz.1.self_of_nhds |
| 74 | rw [ht] |
| 75 | simp [normalDot] |
| 76 | · rw [((copies l u).common_zero_germs (ActualSignedStageControls.cells l) |
| 77 | (ActualSignedStageControls.cutoff_support l) (not_exists.mp hk)).1.self_of_nhds] |
| 78 | simp [normalDot] |
| 79 | · have ht : (copies l u).common.amplitude n x = 0 := |
| 80 | (ActualWaveRegularityData.signed_common_raw_zero_outside l (request B u) n hx.1 hr).1 |
| 81 | rw [ht] |
| 82 | simp [normalDot] |
| 83 | |
| 84 | /-- Smoothness of the literal current potential on positive native radii. -/ |
| 85 | theorem potential_smooth (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 86 | {α : ℝ} (ha : AmplitudeBound l u α) (n : ℕ) : |
| 87 | ContDiffOn ℝ ∞ (potential l u n) ActualWaveRegularityData.positiveDomain := by |
| 88 | exact CurlClassBounds.vectorPotential_contDiffOn |
| 89 | (ActualWaveRegularityData.positive_geometry l n) |
| 90 | ((ActualSignedStageControls.parameters l).base.frequency n) |
| 91 | (ActualWaveRegularityData.positive_phase l n) |
| 92 | ((ActualWaveRegularityData.signed_raw_full_regular l (request B u) ha n).1.mono |
| 93 | inter_subset_left) |
| 94 | (fun _ hx => ActualPrimaryCoherence.piece_normal_ne standardRegion l.2 l.1 n hx.2) |
| 95 | |
| 96 | /-- The real current cylindrical curl is the stored exact signed block. -/ |
| 97 | theorem native_curl (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 98 | {α : ℝ} (ha : AmplitudeBound l u α) (n : ℕ) {x : FullPoint} |
| 99 | (hx : x ∈ ActualWaveRegularityData.positiveDomain) : |
| 100 | CurlClassBounds.cylindricalCurl ((ActualSignedStageControls.parameters l).base.radius n) |
| 101 | ((ActualSignedStageControls.directions B).radialField n) |
| 102 | (fun _ => (ActualSignedStageControls.directions B).angular) |
| 103 | ((ActualSignedStageControls.directions B).axialField ActualSignedStageControls.fullStrip n) |
| 104 | (potential l u n) x = |
| 105 | vectorMode ((ActualSignedStageControls.parameters l).base.frequency n) |
| 106 | ((ActualSignedStageControls.parameters l).base.phase n) |
| 107 | (((copies l u).commonCorrected ActualSignedStageControls.fullStrip |
| 108 | (ActualSignedStageControls.directions B)).amplitude n) x := by |
| 109 | exact CurlClassBounds.cylindricalCurl_vectorPotential |
| 110 | (ActualWaveRegularityData.positive_geometry l n) |
| 111 | (chartCoefficients_frequency_pos l.2 l.1 n).ne' |
| 112 | (ActualWaveRegularityData.positive_phase l n) |
| 113 | ((ActualWaveRegularityData.signed_raw_full_regular l (request B u) ha n).1.mono |
| 114 | inter_subset_left) |
| 115 | (fun _ hy => ActualPrimaryCoherence.piece_normal_ne standardRegion l.2 l.1 n hy.2) |
| 116 | (fun _ hy => common_tangent l u n hy) hx |
| 117 | |
| 118 | /-- The actual current potential expressed in the selected Cartesian polar chart. -/ |
| 119 | noncomputable def currentPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 120 | (n : ℕ) (a : ℝ) (i : PolarCharts.Index) : VelocityField := |
| 121 | PhysicalCurlCovariance.cartesianPotential a i (cylindricalPotential l u n) |
| 122 | |
| 123 | theorem nativePoint_mem (n : ℕ) {z : SpaceTime} |
| 124 | (hz : z ∈ ActualPhysicalPrefixFields.source n) : |
| 125 | nativePoint n z ∈ ActualWaveRegularityData.positiveDomain := |
| 126 | ⟨⟨hz.2.1.1, mem_univ _⟩, hz.2.1.2, standardRegion.time_pos _ hz.2.1.1⟩ |
| 127 | |
| 128 | theorem cylindricalPotential_smoothAt (l : SignedLabel B N0) |
| 129 | (u : CorrectionState.State Point) {α : ℝ} (ha : AmplitudeBound l u α) |
| 130 | (n : ℕ) {z : SpaceTime} (hz : z ∈ ActualPhysicalPrefixFields.source n) : |
| 131 | ContDiffAt ℝ ∞ (cylindricalPotential l u n) z := |
| 132 | (((potential_smooth l u ha n).contDiffAt |
| 133 | (ActualWaveRegularityData.positiveDomain_open.mem_nhds (nativePoint_mem n hz))).comp z |
| 134 | (nativePoint_smoothAt n z hz.1)).const_smul (ChartScales.Q n ^ (-h)) |
| 135 | |
| 136 | theorem currentPotential_smoothAt (l : SignedLabel B N0) |
| 137 | (u : CorrectionState.State Point) {α : ℝ} (hamp : AmplitudeBound l u α) |
| 138 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) |
| 139 | {qbig : ℝ} {z : SpaceTime} |
| 140 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 141 | ContDiffAt ℝ ∞ (currentPotential l u n a i) z := |
| 142 | PhysicalCurlCovariance.cartesianPotential_smoothAt ha i |
| 143 | (cylindricalPotential_smoothAt l u hamp n hz.2.2) |
| 144 | |
| 145 | /-- Swapping slow coordinates changes the input order, not the vector components. -/ |
| 146 | theorem reindexed_curl (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 147 | (n : ℕ) (y : FullPoint) : |
| 148 | CurlClassBounds.cylindricalCurl PhysicalResidualBridge.ScaledGraph.radius |
| 149 | (ActualCycleResidualBounds.actualBandGraph n).radial |
| 150 | PhysicalResidualBridge.ScaledGraph.angular (ActualCycleResidualBounds.actualBandGraph n).axial |
| 151 | (fun x => potential l u n (PhysicalResidualTZ.swapCylinder x)) y = |
| 152 | CurlClassBounds.cylindricalCurl ((ActualSignedStageControls.parameters l).base.radius n) |
| 153 | ((ActualSignedStageControls.directions B).radialField n) |
| 154 | (fun _ => (ActualSignedStageControls.directions B).angular) |
| 155 | ((ActualSignedStageControls.directions B).axialField ActualSignedStageControls.fullStrip n) |
| 156 | (potential l u n) (PhysicalResidualTZ.swapCylinder y) := by |
| 157 | have he := ActualPrimaryCoherence.cylindricalCurl_equiv |
| 158 | PhysicalResidualTZ.swapCylinder.toContinuousLinearEquiv one_ne_zero |
| 159 | (fun x : FullPoint => x.1.1) PhysicalResidualBridge.ScaledGraph.radius |
| 160 | ((PrimaryResidualClass.directions (commonContext B)).radialField n) |
| 161 | (fun _ => (PrimaryResidualClass.directions (commonContext B)).angular) |
| 162 | ((PrimaryResidualClass.directions (commonContext B)).axialField |
| 163 | ActualSignedStageControls.fullStrip n) |
| 164 | (ActualCycleResidualBounds.actualBandGraph n).radial |
| 165 | PhysicalResidualBridge.ScaledGraph.angular (ActualCycleResidualBounds.actualBandGraph n).axial |
| 166 | (fun _ => (one_mul _).symm) |
| 167 | (fun x => by |
| 168 | simp only [one_smul] |
| 169 | exact ActualPrimaryCoherence.chart_radial_swap B n x) |
| 170 | (fun _ => rfl) |
| 171 | (fun x => by |
| 172 | simp only [one_smul] |
| 173 | exact ActualPrimaryCoherence.chart_axial_swap B n standardRegion x) |
| 174 | 1 (fun x => potential l u n (PhysicalResidualTZ.swapCylinder x)) |
| 175 | (PhysicalResidualTZ.swapCylinder y) |
| 176 | simp only [one_mul, one_smul] at he |
| 177 | exact he.symm |
| 178 | |
| 179 | theorem native_curl_real (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 180 | {α : ℝ} (ha : AmplitudeBound l u α) (n : ℕ) {x : FullPoint} |
| 181 | (hx : x ∈ ActualWaveRegularityData.positiveDomain) (j : Fin 3) : |
| 182 | (CurlClassBounds.cylindricalCurl ((ActualSignedStageControls.parameters l).base.radius n) |
| 183 | ((ActualSignedStageControls.directions B).radialField n) |
| 184 | (fun _ => (ActualSignedStageControls.directions B).angular) |
| 185 | ((ActualSignedStageControls.directions B).axialField ActualSignedStageControls.fullStrip n) |
| 186 | (potential l u n) x j).re = |
| 187 | ((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 188 | (request B u)).oscillation n x j := by |
| 189 | rw [native_curl l u ha n hx] |
| 190 | have he := congrFun (congrFun (congrFun |
| 191 | (ActualWaveRegularityData.signedAngles l ActualPrimaryBounds.strip |
| 192 | ActualInitialization.geometry.patch ActualInitialization.geometry.coord (commonContext B) u).block_eq_mode |
| 193 | n) x) j |
| 194 | exact he.symm |
| 195 | |
| 196 | /-- At a valid current cylindrical chart, the constructed Cartesian potential |
| 197 | has exactly the physical signed velocity as its curl. -/ |
| 198 | theorem currentPotential_curl_forward (l : SignedLabel B N0) |
| 199 | (u : CorrectionState.State Point) {α : ℝ} (hamp : AmplitudeBound l u α) |
| 200 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 201 | (hc : z ∈ PhysicalCurlCovariance.validCylindrical a i) |
| 202 | (hz : z ∈ ActualPhysicalPrefixFields.source n) : |
| 203 | SpatialCurl.spatialCurl (currentPotential l u n a i) |
| 204 | (z.1, CylindricalResidual.chart z.2) = |
| 205 | CyclePhysicalPrefixes.polarVelocityMap a i |
| 206 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 207 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 208 | (request B u)).oscillation n)) (z.1, CylindricalResidual.chart z.2) := by |
| 209 | let G := ActualCycleResidualBounds.actualBandGraph n |
| 210 | have hx := nativePoint_mem n hz |
| 211 | have hpot := (potential_smooth l u hamp n).contDiffAt |
| 212 | (ActualWaveRegularityData.positiveDomain_open.mem_nhds hx) |
| 213 | have hl : 0 < G.radialScale := Real.rpow_pos_of_pos (ChartScales.Q_pos n) _ |
| 214 | have hB : ∀ j, DifferentiableAt ℝ |
| 215 | (fun y : FullPoint => potential l u n (PhysicalResidualTZ.swapCylinder y) j) (G.map z) := by |
| 216 | intro j |
| 217 | exact (differentiableAt_pi.mp ((hpot.comp (G.map z) |
| 218 | PhysicalResidualTZ.swapCylinder.contDiff.contDiffAt).differentiableAt (by simp))) j |
| 219 | have hA : DifferentiableAt ℝ (currentPotential l u n a i) |
| 220 | (z.1, CylindricalResidual.chart z.2) := by |
| 221 | apply (PhysicalCurlCovariance.cartesianPotential_smoothAt ha i ?_).differentiableAt (by simp) |
| 222 | rw [PhysicalCurlCovariance.polarCoordinates_forward ha i hc] |
| 223 | exact cylindricalPotential_smoothAt l u hamp n hz |
| 224 | have hrep := PhysicalCurlCovariance.cartesianPotential_forward_germ ha i |
| 225 | (cylindricalPotential l u n) hc |
| 226 | have he : CylindricalResidual.frame (-(z.2 1)) |
| 227 | (SpatialCurl.spatialCurl (currentPotential l u n a i) |
| 228 | (z.1, CylindricalResidual.chart z.2)) = |
| 229 | CyclePhysicalPrefixes.velocityMap G |
| 230 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 231 | (request B u)).oscillation n) z := by |
| 232 | ext j |
| 233 | have ht := PhysicalCurlCovariance.ScaledGraph.physical_curl G hl hc.1 hB |
| 234 | (ChartScales.Q n ^ (-h)) hA (by |
| 235 | simp only [currentPotential, cylindricalPotential, rescaledPotential, nativePoint, |
| 236 | PhysicalCurlCovariance.ScaledGraph.realPotential, |
| 237 | PhysicalCurlCovariance.ScaledGraph.complexPotential, G] at hrep ⊢ |
| 238 | exact hrep) j |
| 239 | rw [reindexed_curl l u n] at ht |
| 240 | have hr := native_curl_real l u hamp n hx j |
| 241 | change (CurlClassBounds.cylindricalCurl _ _ _ _ (potential l u n) |
| 242 | (PhysicalResidualTZ.swapCylinder (G.map (z.1, z.2))) j).re = _ at hr |
| 243 | rw [hr] at ht |
| 244 | rw [show ChartScales.Q n ^ (-h) * G.radialScale = G.velocityScale from |
| 245 | PhysicalCurlCovariance.commonGraph_curlScale (ChartScales.Q_pos n) h (CommonWindow.index h n)] at ht |
| 246 | simp only [CyclePhysicalPrefixes.velocityMap, LinearMap.coe_mk, AddHom.coe_mk, |
| 247 | PhysicalResidualTZ.velocityTZ, PhysicalResidualBridge.ScaledGraph.velocity_apply] at ht ⊢ |
| 248 | exact ht |
| 249 | change _ = CylindricalResidual.frame |
| 250 | (PhysicalCurlCovariance.polarInput a i (z.1, CylindricalResidual.chart z.2)).2 |
| 251 | (CyclePhysicalPrefixes.velocityMap G |
| 252 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 253 | (request B u)).oscillation n) |
| 254 | (PhysicalCurlCovariance.polarCoordinates a i (z.1, CylindricalResidual.chart z.2))) |
| 255 | rw [PhysicalCurlCovariance.polarInput_forward ha i hc, |
| 256 | PhysicalCurlCovariance.polarCoordinates_forward ha i hc] |
| 257 | simpa only [CylindricalResidual.frame_inverse'] using |
| 258 | congrArg (CylindricalResidual.frame (z.2 1)) he |
| 259 | |
| 260 | /-- The current-band curl identity on the actual Cartesian chart domain. -/ |
| 261 | theorem currentPotential_curl (l : SignedLabel B N0) |
| 262 | (u : CorrectionState.State Point) {α : ℝ} (hamp : AmplitudeBound l u α) |
| 263 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {qbig : ℝ} {z : SpaceTime} |
| 264 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 265 | SpatialCurl.spatialCurl (currentPotential l u n a i) z = |
| 266 | CyclePhysicalPrefixes.polarVelocityMap a i |
| 267 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 268 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 269 | (request B u)).oscillation n)) z := by |
| 270 | have ht := currentPotential_curl_forward l u hamp n ha i |
| 271 | (ActualMeanPotentialRealization.polarCoordinates_valid ha i hz.2.1) hz.2.2 |
| 272 | simpa only [ActualMeanPotentialRealization.polarCoordinates_back ha i hz.2.1] using ht |
| 273 | |
| 274 | /-- Finite label sums use actual differentiable potentials before taking curl. -/ |
| 275 | theorem currentPotential_sum_curl (s : Finset (SignedLabel B N0)) |
| 276 | (u : CorrectionState.State Point) {α : ℝ} |
| 277 | (hamp : ∀ l ∈ s, AmplitudeBound l u α) |
| 278 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {qbig : ℝ} {z : SpaceTime} |
| 279 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 280 | SpatialCurl.spatialCurl (fun w => ∑ l ∈ s, currentPotential l u n a i w) z = |
| 281 | ∑ l ∈ s, CyclePhysicalPrefixes.polarVelocityMap a i |
| 282 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 283 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 284 | (request B u)).oscillation n)) z := by |
| 285 | rw [PhysicalParticularWave.spatialCurl_finset_sum s _ (fun l hl => |
| 286 | (currentPotential_smoothAt l u (hamp l hl) n ha i hz).differentiableAt (by simp))] |
| 287 | exact Finset.sum_congr rfl (fun l hl => currentPotential_curl l u (hamp l hl) n ha i hz) |
| 288 | |
| 289 | theorem currentPotential_sum_curl_map (s : Finset (SignedLabel B N0)) |
| 290 | (u : CorrectionState.State Point) {α : ℝ} |
| 291 | (hamp : ∀ l ∈ s, AmplitudeBound l u α) |
| 292 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {qbig : ℝ} {z : SpaceTime} |
| 293 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 294 | SpatialCurl.spatialCurl (fun w => ∑ l ∈ s, currentPotential l u n a i w) z = |
| 295 | CyclePhysicalPrefixes.polarVelocityMap a i |
| 296 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 297 | (∑ l ∈ s, ((ActualSignedStageControls.parameters l).exactBlock |
| 298 | ActualInitialization.geometry.strip (request B u)).oscillation n)) z := by |
| 299 | simpa only [map_sum, Finset.sum_apply] using |
| 300 | currentPotential_sum_curl s u hamp n ha i hz |
| 301 | |
| 302 | /-! ## Integer angular periodicity and independence of the inverse chart -/ |
| 303 | |
| 304 | theorem potential_periodic (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 305 | (n : ℕ) (x : Point) : |
| 306 | Function.Periodic (fun θ => potential l u n (x, θ)) (2 * Real.pi) := by |
| 307 | let H := ActualWaveRegularityData.signedAngles l ActualPrimaryBounds.strip |
| 308 | ActualInitialization.geometry.patch ActualInitialization.geometry.coord (commonContext B) u |
| 309 | have ha := (copies l u).common_amplitude_invariant ((0 : Point), (1 : ℝ)) |
| 310 | (fun n k => H.cutoff k n) H.raw_invariant n |
| 311 | intro θ |
| 312 | have he := PhysicalCurlCovariance.vectorPotential_fullTurn |
| 313 | (Vθ := fun _ => (ActualSignedStageControls.directions B).angular) |
| 314 | (Vz := (ActualSignedStageControls.directions B).axialField ActualSignedStageControls.fullStrip n) |
| 315 | ((ActualSignedStageControls.parameters l).angularFrequency n) |
| 316 | (H.radius n) (H.radial n) (by intro x t; rfl) |
| 317 | (by intro x t; rfl) (H.phase n) ha (H.frequency_slope n) (x, θ) |
| 318 | simp only [Prod.smul_mk, Prod.mk_add_mk, |
| 319 | smul_zero, smul_eq_mul, mul_one, add_zero] at he |
| 320 | exact he |
| 321 | |
| 322 | theorem nativePoint_angle (n : ℕ) (t r θ z : ℝ) : |
| 323 | nativePoint n (t, AxisymmetricResidual.pack r θ z) = |
| 324 | ((nativePoint n (t, AxisymmetricResidual.pack r 0 z)).1, θ) := by |
| 325 | simp only [nativePoint, PhysicalResidualBridge.ScaledGraph.map, |
| 326 | PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply, |
| 327 | AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one, |
| 328 | AxisymmetricResidual.pack_two] |
| 329 | |
| 330 | theorem cylindricalPotential_periodic (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 331 | (n : ℕ) (t r z : ℝ) : |
| 332 | Function.Periodic (fun θ => cylindricalPotential l u n |
| 333 | (t, AxisymmetricResidual.pack r θ z)) (2 * Real.pi) := by |
| 334 | intro θ |
| 335 | simp only [cylindricalPotential, rescaledPotential] |
| 336 | rw [nativePoint_angle n t r (θ + 2 * Real.pi) z, nativePoint_angle n t r θ z] |
| 337 | exact congrArg (fun v => ChartScales.Q n ^ (-h) • v) |
| 338 | (potential_periodic l u n _ θ) |
| 339 | |
| 340 | /-- A periodic cylindrical field agrees in inverse charts with independently |
| 341 | chosen positive smoothing radii. -/ |
| 342 | theorem cartesianPotential_overlap_radius {a b : ℝ} (ha : 0 < a) (hb : 0 < b) |
| 343 | (i j : PolarCharts.Index) (F : SpaceTime → ComplexVector) |
| 344 | (hF : ∀ t r z : ℝ, Function.Periodic |
| 345 | (fun θ => F (t, AxisymmetricResidual.pack r θ z)) (2 * Real.pi)) |
| 346 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 347 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 348 | PhysicalCurlCovariance.cartesianPotential a i F z = |
| 349 | PhysicalCurlCovariance.cartesianPotential b j F z := by |
| 350 | let f : PolarCharts.Plane → Space := fun p => CylindricalResidual.frame p.2 |
| 351 | (PhysicalCurlCovariance.realVector (F (z.1, AxisymmetricResidual.pack p.1 p.2 (z.2 2)))) |
| 352 | have hf (r : ℝ) : Function.Periodic (fun θ => f (r, θ)) (2 * Real.pi) := by |
| 353 | intro θ |
| 354 | dsimp only [f] |
| 355 | rw [PhysicalCurlCovariance.frame_periodic θ] |
| 356 | have he := hF z.1 r (z.2 2) θ |
| 357 | dsimp only at he |
| 358 | rw [he] |
| 359 | change f (PolarCharts.chart a i (PhysicalGraphBounds.radialProjection z)) = |
| 360 | f (PolarCharts.chart b j (PhysicalGraphBounds.radialProjection z)) |
| 361 | rw [PolarCharts.chart_eq_localChart ha i hi, PolarCharts.chart_eq_localChart hb j hj] |
| 362 | apply PolarCharts.localChart_periodic_agree f hf i j |
| 363 | · exact (div_pos ha (by norm_num : (0 : ℝ) < 4)).trans hi |
| 364 | · exact (div_pos hb (by norm_num : (0 : ℝ) < 4)).trans hj |
| 365 | |
| 366 | theorem currentPotential_overlap (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 367 | (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) |
| 368 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 369 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 370 | currentPotential l u n a i z = currentPotential l u n b j z := |
| 371 | cartesianPotential_overlap_radius ha hb i j _ (cylindricalPotential_periodic l u n) hi hj |
| 372 | |
| 373 | theorem currentPotential_overlap_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 374 | (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) |
| 375 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 376 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 377 | currentPotential l u n a i =ᶠ[𝓝 z] currentPotential l u n b j := by |
| 378 | filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hi, |
| 379 | (ActualMeanPotentialRealization.cartesianDomain_open b j).mem_nhds hj] with y hyi hyj |
| 380 | exact currentPotential_overlap l u n ha hb i j hyi hyj |
| 381 | |
| 382 | /-! ## The actual pressure mode -/ |
| 383 | |
| 384 | theorem pressureMode_eq_exact (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 385 | (n : ℕ) (x : FullPoint) : |
| 386 | (pressureMode l u n x).re = |
| 387 | ((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 388 | (request B u)).oscillatoryPressure n x := by |
| 389 | let H := ActualWaveRegularityData.signedAngles l ActualPrimaryBounds.strip |
| 390 | ActualInitialization.geometry.patch ActualInitialization.geometry.coord (commonContext B) u |
| 391 | have he := (ActualSignedCommonDynamics.exact_represents (request B u) H.request l).2 |
| 392 | exact (congrFun (congrFun he n) x).symm |
| 393 | |
| 394 | noncomputable def currentPressure (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 395 | (n : ℕ) (a : ℝ) (i : PolarCharts.Index) : PressureField := |
| 396 | fun z => (cylindricalPressureMode l u n (PhysicalCurlCovariance.polarCoordinates a i z)).re |
| 397 | |
| 398 | theorem currentPressure_eq (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 399 | (n : ℕ) (a : ℝ) (i : PolarCharts.Index) : |
| 400 | currentPressure l u n a i = |
| 401 | CyclePhysicalPrefixes.polarPressureMap a i |
| 402 | (CyclePhysicalPrefixes.pressureMap (ActualCycleResidualBounds.actualBandGraph n) |
| 403 | (((ActualSignedStageControls.parameters l).exactBlock ActualInitialization.geometry.strip |
| 404 | (request B u)).oscillatoryPressure n)) := by |
| 405 | funext z |
| 406 | change ((ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h))) • |
| 407 | pressureMode l u n (nativePoint n (PhysicalCurlCovariance.polarCoordinates a i z))).re = |
| 408 | (ChartScales.Q n ^ (-CoordinateAlgebra.A h)) ^ 2 * _ |
| 409 | simp only [Complex.real_smul, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, |
| 410 | zero_mul, sub_zero, pressureMode_eq_exact] |
| 411 | congr 1 |
| 412 | rw [← Real.rpow_mul_natCast (ChartScales.Q_pos n).le] |
| 413 | congr 1 |
| 414 | ring |
| 415 | |
| 416 | theorem realPressureMode_periodic (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 417 | (n : ℕ) (x : Point) : |
| 418 | Function.Periodic (fun θ => (pressureMode l u n (x, θ)).re) (2 * Real.pi) := by |
| 419 | intro θ |
| 420 | dsimp only |
| 421 | rw [pressureMode_eq_exact, pressureMode_eq_exact] |
| 422 | exact congrArg Complex.re (HarmonicFields.field_angular_periodic _ _ _ _ _ θ) |
| 423 | |
| 424 | theorem realCylindricalPressure_periodic (l : SignedLabel B N0) |
| 425 | (u : CorrectionState.State Point) (n : ℕ) (t r z : ℝ) : |
| 426 | Function.Periodic (fun θ => |
| 427 | (cylindricalPressureMode l u n (t, AxisymmetricResidual.pack r θ z)).re) |
| 428 | (2 * Real.pi) := by |
| 429 | intro θ |
| 430 | simp only [cylindricalPressureMode, rescaledPressureMode] |
| 431 | rw [nativePoint_angle n t r (θ + 2 * Real.pi) z, nativePoint_angle n t r θ z] |
| 432 | simp only [Complex.real_smul, Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, |
| 433 | zero_mul, sub_zero] |
| 434 | exact congrArg (ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) * ·) |
| 435 | (realPressureMode_periodic l u n _ θ) |
| 436 | |
| 437 | theorem polarScalar_overlap_radius {E : Type*} {a b : ℝ} (ha : 0 < a) (hb : 0 < b) |
| 438 | (i j : PolarCharts.Index) (F : SpaceTime → E) |
| 439 | (hF : ∀ t r z : ℝ, Function.Periodic |
| 440 | (fun θ => F (t, AxisymmetricResidual.pack r θ z)) (2 * Real.pi)) |
| 441 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 442 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 443 | F (PhysicalCurlCovariance.polarCoordinates a i z) = |
| 444 | F (PhysicalCurlCovariance.polarCoordinates b j z) := by |
| 445 | let f : PolarCharts.Plane → E := fun p => F (z.1, AxisymmetricResidual.pack p.1 p.2 (z.2 2)) |
| 446 | change f (PolarCharts.chart a i (PhysicalGraphBounds.radialProjection z)) = |
| 447 | f (PolarCharts.chart b j (PhysicalGraphBounds.radialProjection z)) |
| 448 | rw [PolarCharts.chart_eq_localChart ha i hi, PolarCharts.chart_eq_localChart hb j hj] |
| 449 | exact PolarCharts.localChart_periodic_agree f (fun r => hF z.1 r (z.2 2)) i j |
| 450 | ((div_pos ha (by norm_num : (0 : ℝ) < 4)).trans hi) |
| 451 | ((div_pos hb (by norm_num : (0 : ℝ) < 4)).trans hj) |
| 452 | |
| 453 | theorem currentPressure_overlap (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 454 | (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) |
| 455 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 456 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 457 | currentPressure l u n a i z = currentPressure l u n b j z := |
| 458 | polarScalar_overlap_radius ha hb i j (fun x => (cylindricalPressureMode l u n x).re) |
| 459 | (realCylindricalPressure_periodic l u n) hi hj |
| 460 | |
| 461 | theorem currentPressure_overlap_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 462 | (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) |
| 463 | {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 464 | (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : |
| 465 | currentPressure l u n a i =ᶠ[𝓝 z] currentPressure l u n b j := by |
| 466 | filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hi, |
| 467 | (ActualMeanPotentialRealization.cartesianDomain_open b j).mem_nhds hj] with y hyi hyj |
| 468 | exact currentPressure_overlap l u n ha hb i j hyi hyj |
| 469 | |
| 470 | end NavierStokes.CurrentSignedCurl |