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.ActualSignedCoherence |
| 2 | |
| 3 | /-! |
| 4 | # Current-band signed vector potentials and pressure modes |
| 5 | |
| 6 | The potential is formed from the literal current common signed coefficient, |
| 7 | after its native cutoffs and copy sum. Its scale follows from the actual |
| 8 | normal, amplitude and carrier identities, before any physical curl is taken. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.ActualSignedPotentialCoherence |
| 14 | |
| 15 | open Set Function Filter HarmonicCalculus |
| 16 | open CorrectionInitialization CorrectionInitialization.ActualPrimary GaugeStateCoherence |
| 17 | open ActualSignedCoherence |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | abbrev Point := ActualSignedCoherence.Point |
| 21 | abbrev FullPoint := ActualSignedCoherence.FullPoint |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | /-- The coefficient of the literal current-band vector potential. -/ |
| 26 | noncomputable def potentialCoefficient (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 27 | (n : ℕ) (x : FullPoint) : ComplexVector := |
| 28 | CurlClassBounds.inverseCarrier ((copies l u).common.frequency n) • |
| 29 | CurlClassBounds.normalCoefficient |
| 30 | ((copies l u).common.normal fullStrip (ActualSignedStageControls.directions B) n x) |
| 31 | ((copies l u).common.amplitude n x) |
| 32 | |
| 33 | /-- The actual current common coefficient's curl potential. -/ |
| 34 | noncomputable def potential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 35 | (n : ℕ) : FullPoint → ComplexVector := |
| 36 | (copies l u).common.curlPotential fullStrip (ActualSignedStageControls.directions B) n |
| 37 | |
| 38 | /-- The actual current common pressure, with its carrier retained. -/ |
| 39 | noncomputable def pressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 40 | (n : ℕ) : FullPoint → ℂ := |
| 41 | mode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 42 | ((copies l u).common.pressure n) |
| 43 | |
| 44 | theorem potential_eq_mode (l : SignedLabel B N0) (u : CorrectionState.State Point) (n : ℕ) : |
| 45 | potential l u n = vectorMode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 46 | (potentialCoefficient l u n) := rfl |
| 47 | |
| 48 | theorem potential_eq_curlPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) (n : ℕ) : |
| 49 | potential l u n = (copies l u).common.curlPotential fullStrip |
| 50 | (ActualSignedStageControls.directions B) n := rfl |
| 51 | |
| 52 | theorem potential_weight (n m : ℕ) : |
| 53 | bandVelocityScale h n m / bandScale n m = |
| 54 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h := by |
| 55 | rw [← velocityWeight_eq, ← radiusWeight_eq, PhysicalParticularWave.velocityWeight, |
| 56 | PhysicalParticularWave.ratioPower_div (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 57 | congr 1 |
| 58 | unfold CoordinateAlgebra.A |
| 59 | ring |
| 60 | |
| 61 | theorem pressure_weight (n m : ℕ) : |
| 62 | bandVelocityScale h n m * bandVelocityScale h n m = |
| 63 | PhysicalParticularWave.pressureWeight h (ChartScales.Q n) (ChartScales.Q m) := by |
| 64 | rw [← velocityWeight_eq, PhysicalParticularWave.velocityWeight, |
| 65 | PhysicalParticularWave.ratioPower_mul (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 66 | unfold PhysicalParticularWave.pressureWeight |
| 67 | congr 1 |
| 68 | ring |
| 69 | |
| 70 | private theorem inverseCarrier_scale (K L b s c : ℝ) |
| 71 | (hK : K ≠ 0) (hb : b ≠ 0) (hs : s ≠ 0) (hKL : K*b = L) : |
| 72 | CurlClassBounds.inverseCarrier K * ((c / (b*s) : ℝ) : ℂ) = |
| 73 | ((c/s : ℝ) : ℂ) * CurlClassBounds.inverseCarrier L := by |
| 74 | rw [← hKL] |
| 75 | unfold CurlClassBounds.inverseCarrier |
| 76 | push_cast |
| 77 | field_simp [Complex.ofReal_ne_zero.mpr hK, Complex.ofReal_ne_zero.mpr hb, |
| 78 | Complex.ofReal_ne_zero.mpr hs] |
| 79 | |
| 80 | /-- The inverse carrier cancels the phase scale, leaving velocity divided |
| 81 | by radial scale. No smoothness or nonzero-normal assumption is introduced. -/ |
| 82 | theorem potentialCoefficient_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 83 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 84 | (x : FullPoint) |
| 85 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 86 | potentialCoefficient l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 87 | potentialCoefficient l u m (chart n m k x) := by |
| 88 | change CurlClassBounds.inverseCarrier (ChartScales.carrier h n) • |
| 89 | CurlClassBounds.normalCoefficient |
| 90 | ((chartCoefficients l.2 l.1).normal fullStrip (ActualSignedStageControls.directions B) n x) |
| 91 | ((copies l u).common.amplitude n x) = |
| 92 | (bandVelocityScale h n m / bandScale n m) • |
| 93 | (CurlClassBounds.inverseCarrier (ChartScales.carrier h m) • |
| 94 | CurlClassBounds.normalCoefficient |
| 95 | ((chartCoefficients l.2 l.1).normal fullStrip (ActualSignedStageControls.directions B) m |
| 96 | (chart n m k x)) ((copies l u).common.amplitude m (chart n m k x))) |
| 97 | rw [normal_transport l n m k hi, common_amplitude_of_request l u n m k hi x hR, |
| 98 | PhysicalCurlCovariance.normalCoefficient_scale _ _ |
| 99 | (mul_ne_zero (phaseWeight_ne n m) (bandScale_pos n m).ne')] |
| 100 | have hs := inverseCarrier_scale (ChartScales.carrier h n) (ChartScales.carrier h m) |
| 101 | (phaseWeight n m) (bandScale n m) (bandVelocityScale h n m) |
| 102 | (carrier_pos n).ne' (phaseWeight_ne n m) (bandScale_pos n m).ne' (carrier_phaseWeight n m) |
| 103 | ext i |
| 104 | simp only [Pi.smul_apply, Complex.real_smul, smul_eq_mul] |
| 105 | rw [← mul_assoc (CurlClassBounds.inverseCarrier (ChartScales.carrier h n)), hs] |
| 106 | ring |
| 107 | |
| 108 | theorem potential_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 109 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 110 | (x : FullPoint) |
| 111 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 112 | potential l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 113 | potential l u m (chart n m k x) := by |
| 114 | have ha := potentialCoefficient_of_request l u n m k hi x hR |
| 115 | have hc : carrier ((copies l u).common.frequency n) ((copies l u).common.phase n) x = |
| 116 | carrier ((copies l u).common.frequency m) ((copies l u).common.phase m) (chart n m k x) := |
| 117 | PhysicalCurlCovariance.carrier_eq_of_products (carrier_transport l n m k hi x) |
| 118 | ext i |
| 119 | simp only [potential_eq_mode, vectorMode, mode, ha, hc, Pi.smul_apply, Complex.real_smul] |
| 120 | ring |
| 121 | |
| 122 | theorem pressureMode_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 123 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 124 | (x : FullPoint) |
| 125 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 126 | pressureMode l u n x = (bandVelocityScale h n m * bandVelocityScale h n m) • |
| 127 | pressureMode l u m (chart n m k x) := by |
| 128 | have ha := common_pressure_of_request l u n m k hi x hR |
| 129 | have hc : carrier ((copies l u).common.frequency n) ((copies l u).common.phase n) x = |
| 130 | carrier ((copies l u).common.frequency m) ((copies l u).common.phase m) (chart n m k x) := |
| 131 | PhysicalCurlCovariance.carrier_eq_of_products (carrier_transport l n m k hi x) |
| 132 | simp only [pressureMode, mode, ha, hc, Complex.real_smul, mul_assoc] |
| 133 | |
| 134 | /-- The physical power of the potential, before choosing any physical graph. -/ |
| 135 | noncomputable def rescaledPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 136 | (n : ℕ) (x : FullPoint) : ComplexVector := |
| 137 | ChartScales.Q n ^ (-h) • potential l u n x |
| 138 | |
| 139 | noncomputable def rescaledPressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 140 | (n : ℕ) (x : FullPoint) : ℂ := |
| 141 | ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) • pressureMode l u n x |
| 142 | |
| 143 | section IncomingState |
| 144 | |
| 145 | variable (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 146 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 147 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 148 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 149 | (commonContext B) u).pressure = u.pressure) |
| 150 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 151 | (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 152 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 153 | |
| 154 | include H hfixed hi HS |
| 155 | |
| 156 | theorem potential_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 157 | potential l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 158 | potential l u m (chart n m k x) := |
| 159 | potential_of_request l u n m k hi x (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 160 | |
| 161 | theorem pressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 162 | pressureMode l u n x = (bandVelocityScale h n m * bandVelocityScale h n m) • |
| 163 | pressureMode l u m (chart n m k x) := |
| 164 | pressureMode_of_request l u n m k hi x (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 165 | |
| 166 | theorem potential_transport_weight (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 167 | potential l u n x = PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h • |
| 168 | potential l u m (chart n m k x) := by |
| 169 | rw [← potential_weight] |
| 170 | exact potential_transport l u H hfixed n m k hi HS x hx |
| 171 | |
| 172 | theorem pressureMode_transport_weight (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 173 | pressureMode l u n x = PhysicalParticularWave.pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 174 | pressureMode l u m (chart n m k x) := by |
| 175 | rw [← pressure_weight] |
| 176 | exact pressureMode_transport l u H hfixed n m k hi HS x hx |
| 177 | |
| 178 | theorem rescaledPotential_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 179 | rescaledPotential l u n x = rescaledPotential l u m (chart n m k x) := by |
| 180 | unfold rescaledPotential |
| 181 | rw [potential_transport_weight l u H hfixed n m k hi HS x hx, smul_smul, |
| 182 | mul_comm, PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 183 | |
| 184 | theorem rescaledPressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 185 | rescaledPressureMode l u n x = rescaledPressureMode l u m (chart n m k x) := by |
| 186 | unfold rescaledPressureMode |
| 187 | rw [pressureMode_transport_weight l u H hfixed n m k hi HS x hx, smul_smul, |
| 188 | PhysicalParticularWave.pressureWeight, mul_comm, |
| 189 | PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 190 | |
| 191 | theorem potential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 192 | potential l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m / bandScale n m) • |
| 193 | potential l u m (chart n m k y) := by |
| 194 | have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := |
| 195 | ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx |
| 196 | filter_upwards [hU] with y hy |
| 197 | exact potential_transport l u H hfixed n m k hi HS y hy |
| 198 | |
| 199 | theorem pressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 200 | pressureMode l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m * bandVelocityScale h n m) • |
| 201 | pressureMode l u m (chart n m k y) := by |
| 202 | have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := |
| 203 | ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx |
| 204 | filter_upwards [hU] with y hy |
| 205 | exact pressureMode_transport l u H hfixed n m k hi HS y hy |
| 206 | |
| 207 | theorem rescaledPotential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 208 | rescaledPotential l u n =ᶠ[𝓝 x] fun y => rescaledPotential l u m (chart n m k y) := by |
| 209 | have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := |
| 210 | ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx |
| 211 | filter_upwards [hU] with y hy |
| 212 | exact rescaledPotential_transport l u H hfixed n m k hi HS y hy |
| 213 | |
| 214 | theorem rescaledPressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 215 | rescaledPressureMode l u n =ᶠ[𝓝 x] fun y => rescaledPressureMode l u m (chart n m k y) := by |
| 216 | have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := |
| 217 | ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx |
| 218 | filter_upwards [hU] with y hy |
| 219 | exact rescaledPressureMode_transport l u H hfixed n m k hi HS y hy |
| 220 | |
| 221 | end IncomingState |
| 222 | |
| 223 | /-! ## Comparing any two valid current-band representatives -/ |
| 224 | |
| 225 | theorem chart_eq_of_absolute (n m k : ℕ) |
| 226 | (hi : CommonWindow.index h n + k = CommonWindow.index h m) (x y : FullPoint) |
| 227 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 228 | chart n m k x = y := by |
| 229 | apply (ActualPrimaryCoherence.absoluteChart m).injective |
| 230 | exact (chart_absolute n m k hi x).trans hxy |
| 231 | |
| 232 | theorem rescaled_eq_of_absolute_of_index (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 233 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 234 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 235 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 236 | (commonContext B) u).pressure = u.pressure) |
| 237 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 238 | (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 239 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 240 | (x y : FullPoint) (hx : x.1.2.1 ∈ standardRegion.carrier) (hy : y.1.2.1 ∈ standardRegion.carrier) |
| 241 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 242 | rescaledPotential l u n x = rescaledPotential l u m y ∧ |
| 243 | rescaledPressureMode l u n x = rescaledPressureMode l u m y := by |
| 244 | have he := chart_eq_of_absolute n m k hi x y hxy |
| 245 | have hslow : bandSlowEquiv h n m x.1.2.1 = y.1.2.1 := |
| 246 | congrArg (fun z : FullPoint => z.1.2.1) he |
| 247 | have ho : x.1.2.1 ∈ ActualInitialCoherence.overlap n m := by |
| 248 | refine ⟨hx, ?_⟩ |
| 249 | change bandSlowEquiv h n m x.1.2.1 ∈ standardRegion.carrier |
| 250 | rw [hslow] |
| 251 | exact hy |
| 252 | constructor |
| 253 | · simpa only [he] using rescaledPotential_transport l u H hfixed n m k hi HS x ho |
| 254 | · simpa only [he] using rescaledPressureMode_transport l u H hfixed n m k hi HS x ho |
| 255 | |
| 256 | /-- Either order of the two common indices is allowed. The only coherence |
| 257 | input concerns the incoming state, on its actual full-fiber overlaps. -/ |
| 258 | theorem rescaled_eq_of_absolute (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 259 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 260 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 261 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 262 | (commonContext B) u).pressure = u.pressure) |
| 263 | (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → |
| 264 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 265 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 266 | (n m : ℕ) (x y : FullPoint) |
| 267 | (hx : x.1.2.1 ∈ standardRegion.carrier) (hy : y.1.2.1 ∈ standardRegion.carrier) |
| 268 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 269 | rescaledPotential l u n x = rescaledPotential l u m y ∧ |
| 270 | rescaledPressureMode l u n x = rescaledPressureMode l u m y := by |
| 271 | rcases le_total (CommonWindow.index h n) (CommonWindow.index h m) with hn | hm |
| 272 | · have hi : CommonWindow.index h n + (CommonWindow.index h m - CommonWindow.index h n) = |
| 273 | CommonWindow.index h m := Nat.add_sub_of_le hn |
| 274 | exact rescaled_eq_of_absolute_of_index l u H hfixed n m _ hi (HS n m _ hi) x y hx hy hxy |
| 275 | · have hi : CommonWindow.index h m + (CommonWindow.index h n - CommonWindow.index h m) = |
| 276 | CommonWindow.index h n := Nat.add_sub_of_le hm |
| 277 | have he := rescaled_eq_of_absolute_of_index l u H hfixed m n _ hi (HS m n _ hi) y x hy hx hxy.symm |
| 278 | exact ⟨he.1.symm, he.2.symm⟩ |
| 279 | |
| 280 | /-! ## The actual cylindrical graph, with the slow-coordinate swap explicit -/ |
| 281 | |
| 282 | /-- `commonGraph` uses `(Z,T)`; the correction state uses `(T,Z)`. -/ |
| 283 | noncomputable def nativePoint (n : ℕ) (z : ProblemStatement.SpaceTime) : FullPoint := |
| 284 | PhysicalResidualTZ.swapCylinder |
| 285 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).map z) |
| 286 | |
| 287 | theorem nativePoint_absolute (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 288 | ActualPrimaryCoherence.absoluteChart n (nativePoint n z) = ActualPrimaryCoherence.physicalLift z := |
| 289 | ActualPrimaryCoherence.absoluteChart_physical n hr |
| 290 | |
| 291 | theorem chart_nativePoint (n m k : ℕ) |
| 292 | (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 293 | (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 294 | chart n m k (nativePoint n z) = nativePoint m z := |
| 295 | chart_eq_of_absolute n m k hi _ _ ((nativePoint_absolute n z hr).trans (nativePoint_absolute m z hr).symm) |
| 296 | |
| 297 | theorem nativePoint_smoothAt (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 298 | ContDiffAt ℝ ∞ (nativePoint n) z := |
| 299 | PhysicalResidualTZ.swapCylinder.contDiff.contDiffAt.comp z |
| 300 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).map_smoothAt |
| 301 | (mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hr).ne') |
| 302 | |
| 303 | noncomputable def cylindricalPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 304 | (n : ℕ) (z : ProblemStatement.SpaceTime) : ComplexVector := |
| 305 | rescaledPotential l u n (nativePoint n z) |
| 306 | |
| 307 | noncomputable def cylindricalPressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 308 | (n : ℕ) (z : ProblemStatement.SpaceTime) : ℂ := |
| 309 | rescaledPressureMode l u n (nativePoint n z) |
| 310 | |
| 311 | /-- A band is used only where its own current slow chart is valid. -/ |
| 312 | noncomputable def physicalDomain (n : ℕ) : Set ProblemStatement.SpaceTime := |
| 313 | {z | 0 < z.2 0 ∧ (nativePoint n z).1.2.1 ∈ standardRegion.carrier} |
| 314 | |
| 315 | theorem physicalDomain_open (n : ℕ) : IsOpen (physicalDomain n) := by |
| 316 | rw [isOpen_iff_mem_nhds] |
| 317 | intro z hz |
| 318 | have hr : {w : ProblemStatement.SpaceTime | 0 < w.2 0} ∈ 𝓝 z := |
| 319 | (isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hz.1 |
| 320 | have hs : {w : ProblemStatement.SpaceTime | (nativePoint n w).1.2.1 ∈ standardRegion.carrier} ∈ 𝓝 z := |
| 321 | (nativePoint_smoothAt n z hz.1).continuousAt.fst.snd.fst.preimage_mem_nhds |
| 322 | (standardRegion.isOpen.mem_nhds hz.2) |
| 323 | exact inter_mem hr hs |
| 324 | |
| 325 | theorem cylindrical_values_eq_of_index (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 326 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 327 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 328 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 329 | (commonContext B) u).pressure = u.pressure) |
| 330 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 331 | (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 332 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 333 | (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : |
| 334 | cylindricalPotential l u n z = cylindricalPotential l u m z ∧ |
| 335 | cylindricalPressureMode l u n z = cylindricalPressureMode l u m z := |
| 336 | rescaled_eq_of_absolute_of_index l u H hfixed n m k hi HS _ _ hn.2 hm.2 |
| 337 | ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) |
| 338 | |
| 339 | theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 340 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 341 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 342 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 343 | (commonContext B) u).pressure = u.pressure) |
| 344 | (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → |
| 345 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 346 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 347 | (n m : ℕ) (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : |
| 348 | cylindricalPotential l u n z = cylindricalPotential l u m z ∧ |
| 349 | cylindricalPressureMode l u n z = cylindricalPressureMode l u m z := |
| 350 | rescaled_eq_of_absolute l u H hfixed HS n m _ _ hn.2 hm.2 |
| 351 | ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) |
| 352 | |
| 353 | theorem cylindrical_values_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 354 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 355 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 356 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 357 | (commonContext B) u).pressure = u.pressure) |
| 358 | (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → |
| 359 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 360 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 361 | (n m : ℕ) (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : |
| 362 | cylindricalPotential l u n =ᶠ[𝓝 z] cylindricalPotential l u m ∧ |
| 363 | cylindricalPressureMode l u n =ᶠ[𝓝 z] cylindricalPressureMode l u m := by |
| 364 | have hN := (physicalDomain_open n).mem_nhds hn |
| 365 | have hM := (physicalDomain_open m).mem_nhds hm |
| 366 | constructor |
| 367 | · filter_upwards [hN, hM] with w hwn hwm |
| 368 | exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).1 |
| 369 | · filter_upwards [hN, hM] with w hwn hwm |
| 370 | exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).2 |
| 371 | |
| 372 | end NavierStokes.ActualSignedPotentialCoherence |