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.ActualSignedPhysicalBinding |
| 2 | import NavierStokes.ActualCycleParameters |
| 3 | import NavierStokes.DependentSignedPhysicalFamily |
| 4 | import NavierStokes.ActualPolarCoverage |
| 5 | |
| 6 | /-! |
| 7 | # Exact exterior support of the actual signed physical fields |
| 8 | |
| 9 | The original spatial mask and leading target force every signed copy to |
| 10 | vanish outside the fixed nominal active annulus. The argument retains the |
| 11 | normalized radial coordinate exactly and is independent of the request. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.ActualSignedExterior |
| 17 | |
| 18 | open Set Function Filter ProblemStatement CorrectionInitialization |
| 19 | open CorrectionInitialization.ActualPrimary PhysicalWaveSum PhysicalCopyBounds |
| 20 | open scoped Topology ContDiff BigOperators |
| 21 | |
| 22 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 23 | |
| 24 | variable {B N0 : ℕ} |
| 25 | |
| 26 | noncomputable def active : Set SpaceTime := ActualPolarCoverage.active |
| 27 | |
| 28 | /-! ## The normalized radial coordinate does not depend on the band -/ |
| 29 | |
| 30 | theorem normalizedX_graph (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 31 | (BaseChartJets.normalizedCoordinates h |
| 32 | (ActualSignedPhysicalData.nativeSlow (PhysicalMeanJetBounds.graph h n d w))).2.1 = |
| 33 | (SlowBorelBase.cartesianChart h w).2.1 := by |
| 34 | have ht := PhysicalMeanJetBounds.graph_time_pos h n d hw |
| 35 | rw [← PrimaryTargetBounds.profileRadius_sq (F := outgoing) |
| 36 | (p := ActualSignedPhysicalData.nativeSlow (PhysicalMeanJetBounds.graph h n d w)) ht] |
| 37 | simpa only [PrimaryTargetBounds.profileRadius, BaseChartJets.normalizedCoordinates_eq, |
| 38 | SimilarityHomogeneity.chartQ, ActualSignedPhysicalData.nativeSlow, |
| 39 | VariableGaugeMean.qLength] using |
| 40 | ActualPolarCoverage.graph_profileRadius_sq outgoing.data.h_pos |
| 41 | outgoing.data.h_lt_half n d hw |
| 42 | |
| 43 | theorem physicalLift_slow (n : ℕ) (w : SpaceTime) : |
| 44 | ((ActualSignedPhysicalData.cylinderZero (PhysicalGraphBounds.physicalLift h n w)).1.1, |
| 45 | (ActualSignedPhysicalData.cylinderZero (PhysicalGraphBounds.physicalLift h n w)).1.2.1) = |
| 46 | ActualSignedPhysicalData.nativeSlow (PhysicalMeanJetBounds.graph h n 0 w) := by |
| 47 | rw [PhysicalMeanJetBounds.graph, Function.comp_apply, ActualSignedPhysicalData.commonLift_zero] |
| 48 | rfl |
| 49 | |
| 50 | /-- This is a statement about the literal primary mask and target. No |
| 51 | property of the signed output or of the current request is assumed. -/ |
| 52 | theorem primary_mask_or_target_zero (l : Label B N0) (n m : ℕ) |
| 53 | {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 54 | (ActualSignedPhysicalBinding.primary l).mask n |
| 55 | (ActualSignedPhysicalData.cylinderZero (PhysicalGraphBounds.physicalLift h m w)) = 0 ∨ |
| 56 | (ActualSignedPhysicalBinding.primary l).target n |
| 57 | (ActualSignedPhysicalData.cylinderZero (PhysicalGraphBounds.physicalLift h m w)) = 0 := by |
| 58 | let p := ActualSignedPhysicalData.nativeSlow (PhysicalMeanJetBounds.graph h m 0 w) |
| 59 | have ht : 0 < p.2.2 := PhysicalMeanJetBounds.graph_time_pos h m 0 hw |
| 60 | by_cases hm : spatialMask l.1 p = 0 |
| 61 | · left |
| 62 | change spatialMask l.1 _ = 0 |
| 63 | rwa [physicalLift_slow] |
| 64 | · right |
| 65 | have hc := spatialMask_carrier l.1 ht hm |
| 66 | have hr := (choice B N0).prepared.radius_pos l.1 p hc |
| 67 | have hn : (BaseChartJets.normalizedCoordinates h p).2.1 ∉ |
| 68 | Ioo (NominalConeAssembly.activeLeft nominal) (NominalConeAssembly.activeRight nominal) := by |
| 69 | intro hi |
| 70 | apply hout |
| 71 | change (SlowBorelBase.cartesianChart h w).2.1 ∈ |
| 72 | Icc (NominalConeAssembly.activeLeft nominal) (NominalConeAssembly.activeRight nominal) |
| 73 | have he := normalizedX_graph m 0 hw |
| 74 | change (BaseChartJets.normalizedCoordinates h p).2.1 = _ at he |
| 75 | rw [← he] |
| 76 | exact ⟨hi.1.le, hi.2.le⟩ |
| 77 | have hz := PrimaryTargetBounds.stress_zero_of_not_active modulation |
| 78 | (ProfileSpectralCone.normalized_X_pos outgoing.data.h_pos outgoing.data.h_lt_half ht hr) |
| 79 | (abs_le.mp (BaseChartJets.normalizedCoordinates_eta outgoing.data.h_pos |
| 80 | outgoing.data.h_lt_half ht).le) hn |
| 81 | have htarget : PrimaryTargetBounds.actualTarget modulation p = 0 := by |
| 82 | simp only [PrimaryTargetBounds.actualTarget, hz, smul_zero] |
| 83 | change (fun j => PrimaryTargetBounds.actualTarget modulation _ j) = 0 |
| 84 | rw [physicalLift_slow] |
| 85 | change (fun j => PrimaryTargetBounds.actualTarget modulation p j) = 0 |
| 86 | simp only [htarget, WithLp.ofLp_zero, Pi.zero_apply] |
| 87 | rfl |
| 88 | |
| 89 | /-! ## All actual labels, with their original dependent data -/ |
| 90 | |
| 91 | noncomputable def bandLabel (l : Label B N0) : BandLabel := |
| 92 | ⟨ActualSignedPhysicalBinding.spatialLabel l, ActualPrimaryBounds.label_large (l.2, l.1)⟩ |
| 93 | |
| 94 | theorem bandLabel_injective : Injective (bandLabel (B := B) (N0 := N0)) := by |
| 95 | intro l k hlk |
| 96 | have he : ActualSignedPhysicalBinding.spatialLabel l = |
| 97 | ActualSignedPhysicalBinding.spatialLabel k := congrArg Subtype.val hlk |
| 98 | have hu : PrimaryGeometryAssembly.label nominal l.1 = |
| 99 | PrimaryGeometryAssembly.label nominal k.1 := by |
| 100 | apply Prod.ext |
| 101 | · exact congrArg (fun L : SlotColoring.Label => L.1) he |
| 102 | · exact congrArg (fun L : SlotColoring.Label => L.2.1) he |
| 103 | have hfirst := PrimaryGeometryAssembly.label_injective nominal hu |
| 104 | apply Prod.ext hfirst |
| 105 | apply PartitionedCovariance.signedLabel_injective (PrimaryGeometryAssembly.label nominal k.1) |
| 106 | simpa only [bandLabel, ActualSignedPhysicalBinding.spatialLabel, hfirst] using he |
| 107 | |
| 108 | noncomputable def labels (B N0 : ℕ) : Set BandLabel := range (bandLabel (B := B) (N0 := N0)) |
| 109 | |
| 110 | noncomputable def nativeLabel (l : Label B N0) : |
| 111 | ActualSignedPhysicalData.NativeLabel (labels B N0) := |
| 112 | ⟨ActualSignedPhysicalBinding.spatialLabel l, ActualPrimaryBounds.label_large (l.2, l.1), |
| 113 | Set.mem_range_self l⟩ |
| 114 | |
| 115 | noncomputable def actualLabel (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 116 | Label B N0 := Classical.choose L.mem |
| 117 | |
| 118 | theorem bandLabel_actualLabel (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 119 | bandLabel (actualLabel L) = (L : BandLabel) := Classical.choose_spec L.mem |
| 120 | |
| 121 | @[simp] theorem actualLabel_nativeLabel (l : Label B N0) : |
| 122 | actualLabel (nativeLabel l) = l := |
| 123 | bandLabel_injective (bandLabel_actualLabel (nativeLabel l)) |
| 124 | |
| 125 | theorem nativeLabel_ext {S : Set BandLabel} |
| 126 | {L M : ActualSignedPhysicalData.NativeLabel S} (he : L.val = M.val) : L = M := by |
| 127 | cases L |
| 128 | cases M |
| 129 | cases he |
| 130 | rfl |
| 131 | |
| 132 | @[simp] theorem nativeLabel_actualLabel |
| 133 | (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 134 | nativeLabel (actualLabel L) = L := |
| 135 | nativeLabel_ext (congrArg Subtype.val (bandLabel_actualLabel L)) |
| 136 | |
| 137 | noncomputable def labelEquiv : Label B N0 ≃ ActualSignedPhysicalData.NativeLabel (labels B N0) where |
| 138 | toFun := nativeLabel |
| 139 | invFun := actualLabel |
| 140 | left_inv := actualLabel_nativeLabel |
| 141 | right_inv := nativeLabel_actualLabel |
| 142 | |
| 143 | theorem actualLabel_reference (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 144 | ActualSignedPhysicalBinding.reference (actualLabel L) = L.val.1 := |
| 145 | congrArg (fun L : BandLabel => L.val.1) (bandLabel_actualLabel L) |
| 146 | |
| 147 | noncomputable def rebandPayload {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 148 | {P : PhysicalSignedWave.PrimaryData U} {n m : ℕ} (he : n = m) |
| 149 | (V : P.Views n) (s : V.StateData) : Σ W : P.Views m, W.StateData := |
| 150 | he ▸ ⟨V, s⟩ |
| 151 | |
| 152 | theorem rebandPayload_referenceRequest {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 153 | {P : PhysicalSignedWave.PrimaryData U} {n m : ℕ} (he : n = m) |
| 154 | (V : P.Views n) (s : V.StateData) : |
| 155 | (rebandPayload he V s).2.referenceRequest = s.referenceRequest := by |
| 156 | cases he |
| 157 | rfl |
| 158 | |
| 159 | noncomputable def payload (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 160 | (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 161 | Σ V : (ActualSignedPhysicalBinding.primary (actualLabel L)).Views L.val.1, V.StateData := |
| 162 | rebandPayload (actualLabel_reference L) (ActualSignedPhysicalBinding.nativeViews (actualLabel L)) |
| 163 | (s (actualLabel L)) |
| 164 | |
| 165 | /-- Both signs and every actual primary label are retained. Only proof |
| 166 | transport of the reference index is used in the view/state fields. -/ |
| 167 | noncomputable def family (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) : |
| 168 | DependentSignedPhysicalFamily.Family where |
| 169 | active := labels B N0 |
| 170 | domain L := ActualSignedPhysicalBinding.domain (actualLabel L) |
| 171 | primary L := ActualSignedPhysicalBinding.primary (actualLabel L) |
| 172 | view L := (payload s L).1 |
| 173 | state L := (payload s L).2 |
| 174 | column L := (actualLabel L).2 |
| 175 | |
| 176 | @[simp] theorem family_referenceRequest |
| 177 | (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 178 | (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 179 | ((family s).state L).referenceRequest = (s (actualLabel L)).referenceRequest := |
| 180 | rebandPayload_referenceRequest _ _ _ |
| 181 | |
| 182 | @[simp] theorem family_referenceRequest_nativeLabel |
| 183 | (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 184 | (l : Label B N0) : |
| 185 | ((family s).state (nativeLabel l)).referenceRequest = (s l).referenceRequest := by |
| 186 | rw [family_referenceRequest, actualLabel_nativeLabel] |
| 187 | |
| 188 | /-! ## Every physical copy vanishes on the exact exterior -/ |
| 189 | |
| 190 | section Fields |
| 191 | |
| 192 | variable (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 193 | |
| 194 | theorem potential_gap (i : Fin 3) (L : BandLabel) : |
| 195 | ((family s).potentialCopies slots outgoing.data.h_pos.le i).gap L = 0 := by |
| 196 | classical |
| 197 | change ((family s).copyAt (fun L => ActualSignedPhysicalData.potentialFamily |
| 198 | slots outgoing.data.h_pos.le ((family s).singleton L) i) L).gap L = 0 |
| 199 | by_cases hL : L ∈ (family s).active |
| 200 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hL] |
| 201 | rfl |
| 202 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hL] |
| 203 | rfl |
| 204 | |
| 205 | theorem pressure_gap (L : BandLabel) : |
| 206 | ((family s).pressureCopies slots outgoing.data.h_pos.le).gap L = 0 := by |
| 207 | classical |
| 208 | change ((family s).copyAt (fun L => ActualSignedPhysicalData.pressureFamily |
| 209 | slots outgoing.data.h_pos.le ((family s).singleton L)) L).gap L = 0 |
| 210 | by_cases hL : L ∈ (family s).active |
| 211 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hL] |
| 212 | rfl |
| 213 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hL] |
| 214 | rfl |
| 215 | |
| 216 | theorem potential_amplitude_zero (i : Fin 3) (I : WaveIndex 1) (k : TorusInverse.Frequency) |
| 217 | {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 218 | ((family s).potentialCopies slots outgoing.data.h_pos.le i).amplitude k I |
| 219 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w) = 0 := by |
| 220 | classical |
| 221 | change ((family s).copyAt (fun L => ActualSignedPhysicalData.potentialFamily |
| 222 | slots outgoing.data.h_pos.le ((family s).singleton L) i) I.1).amplitude k I _ = 0 |
| 223 | by_cases hL : I.1 ∈ (family s).active |
| 224 | · let L : ActualSignedPhysicalData.NativeLabel (family s).active := |
| 225 | ⟨I.1.val, I.1.property, hL⟩ |
| 226 | change ((family s).copyAt _ (L : BandLabel)).amplitude k I _ = 0 |
| 227 | rw [DependentSignedPhysicalFamily.Family.copyAt_active] |
| 228 | by_contra hn |
| 229 | obtain ⟨hL', _, hm, ht⟩ := ActualSignedPhysicalData.potential_amplitude_inputs |
| 230 | slots outgoing.data.h_pos.le ((family s).singleton L) i k I _ hn |
| 231 | rcases primary_mask_or_target_zero (actualLabel L) I.1.val.1 I.1.val.1 hw hout with hz | hz |
| 232 | · exact hm hz |
| 233 | · exact ht hz |
| 234 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hL] |
| 235 | rfl |
| 236 | |
| 237 | theorem pressure_amplitude_zero (I : WaveIndex 1) (k : TorusInverse.Frequency) |
| 238 | {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 239 | ((family s).pressureCopies slots outgoing.data.h_pos.le).amplitude k I |
| 240 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w) = 0 := by |
| 241 | classical |
| 242 | change ((family s).copyAt (fun L => ActualSignedPhysicalData.pressureFamily |
| 243 | slots outgoing.data.h_pos.le ((family s).singleton L)) I.1).amplitude k I _ = 0 |
| 244 | by_cases hL : I.1 ∈ (family s).active |
| 245 | · let L : ActualSignedPhysicalData.NativeLabel (family s).active := |
| 246 | ⟨I.1.val, I.1.property, hL⟩ |
| 247 | change ((family s).copyAt _ (L : BandLabel)).amplitude k I _ = 0 |
| 248 | rw [DependentSignedPhysicalFamily.Family.copyAt_active] |
| 249 | by_contra hn |
| 250 | obtain ⟨hL', _, hm, ht⟩ := ActualSignedPhysicalData.pressure_amplitude_inputs |
| 251 | slots outgoing.data.h_pos.le ((family s).singleton L) k I _ hn |
| 252 | rcases primary_mask_or_target_zero (actualLabel L) I.1.val.1 I.1.val.1 hw hout with hz | hz |
| 253 | · exact hm hz |
| 254 | · exact ht hz |
| 255 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hL] |
| 256 | rfl |
| 257 | |
| 258 | theorem potential_term_zero (i : Fin 3) (I : WaveIndex 1) (k : TorusInverse.Frequency) |
| 259 | (a r0 : ℝ) {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 260 | ((family s).potentialCopies slots outgoing.data.h_pos.le i).term a h r0 I k w = 0 := by |
| 261 | apply globalWave_eq_zero |
| 262 | change ((family s).potentialCopies slots outgoing.data.h_pos.le i).amplitude k I |
| 263 | (commonLift h I.1.val.1 |
| 264 | (((family s).potentialCopies slots outgoing.data.h_pos.le i).gap I.1) w) = 0 |
| 265 | rw [potential_gap, ActualSignedPhysicalData.commonLift_zero] |
| 266 | exact potential_amplitude_zero s i I k hw hout |
| 267 | |
| 268 | theorem pressure_term_zero (I : WaveIndex 1) (k : TorusInverse.Frequency) |
| 269 | (a r0 : ℝ) {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 270 | ((family s).pressureCopies slots outgoing.data.h_pos.le).term a h r0 I k w = 0 := by |
| 271 | apply globalWave_eq_zero |
| 272 | change ((family s).pressureCopies slots outgoing.data.h_pos.le).amplitude k I |
| 273 | (commonLift h I.1.val.1 |
| 274 | (((family s).pressureCopies slots outgoing.data.h_pos.le).gap I.1) w) = 0 |
| 275 | rw [pressure_gap, ActualSignedPhysicalData.commonLift_zero] |
| 276 | exact pressure_amplitude_zero s I k hw hout |
| 277 | |
| 278 | theorem potential_sum_zero (i : Fin 3) (a r0 : ℝ) {w : SpaceTime} |
| 279 | (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 280 | ((family s).potentialCopies slots outgoing.data.h_pos.le i).sum a h r0 w = 0 := by |
| 281 | have hz := fun I k => potential_term_zero s i I k a r0 hw hout |
| 282 | simp only [CopyFamily.sum, CopyFamily.periodized, hz, tsum_zero, finsum_zero] |
| 283 | |
| 284 | theorem pressure_sum_zero (a r0 : ℝ) {w : SpaceTime} |
| 285 | (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 286 | ((family s).pressureCopies slots outgoing.data.h_pos.le).sum a h r0 w = 0 := by |
| 287 | have hz := fun I k => pressure_term_zero s I k a r0 hw hout |
| 288 | simp only [CopyFamily.sum, CopyFamily.periodized, hz, tsum_zero, finsum_zero] |
| 289 | |
| 290 | /-- The literal dependent-family potential, at the fixed physical chart radius. -/ |
| 291 | noncomputable def potential : VelocityField := |
| 292 | PhysicalCopyBounds.vectorSum ((family s).potentialCopies slots outgoing.data.h_pos.le) |
| 293 | ActualPolarCoverage.inner h slots.radius |
| 294 | |
| 295 | noncomputable def pressure : PressureField := |
| 296 | fun w => (((family s).pressureCopies slots outgoing.data.h_pos.le).sum |
| 297 | ActualPolarCoverage.inner h slots.radius w).re |
| 298 | |
| 299 | theorem potential_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 300 | potential s w = 0 := by |
| 301 | have hz := fun i => potential_sum_zero s i ActualPolarCoverage.inner slots.radius hw hout |
| 302 | simp only [potential, PhysicalCopyBounds.vectorSum, hz, map_zero, Finset.sum_const_zero] |
| 303 | |
| 304 | theorem pressure_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 305 | pressure s w = 0 := by |
| 306 | rw [pressure, pressure_sum_zero s _ _ hw hout] |
| 307 | rfl |
| 308 | |
| 309 | theorem exterior_open : IsOpen {w : SpaceTime | w ∈ preterminal ∧ w ∉ active} := |
| 310 | BaseResidual.chartedDomain_isOpen outgoing.data.h_pos outgoing.data.h_lt_half |
| 311 | (show IsOpen {p : ℝ × ℝ | p.1 ∉ Icc (NominalConeAssembly.activeLeft nominal) |
| 312 | (NominalConeAssembly.activeRight nominal)} from |
| 313 | (isClosed_Icc.preimage continuous_fst).isOpen_compl) |
| 314 | |
| 315 | theorem potential_zero_germ {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 316 | potential s =ᶠ[𝓝 w] fun _ => 0 := by |
| 317 | filter_upwards [exterior_open.mem_nhds ⟨hw, hout⟩] with y hy |
| 318 | exact potential_zero s hy.1 hy.2 |
| 319 | |
| 320 | theorem pressure_zero_germ {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 321 | pressure s =ᶠ[𝓝 w] fun _ => 0 := by |
| 322 | filter_upwards [exterior_open.mem_nhds ⟨hw, hout⟩] with y hy |
| 323 | exact pressure_zero s hy.1 hy.2 |
| 324 | |
| 325 | theorem velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 326 | SpatialCurl.spatialCurl (potential s) w = 0 := |
| 327 | PhysicalCurlCovariance.spatialCurl_zero_of_zero_near (potential_zero_germ s hw hout) |
| 328 | |
| 329 | /-- Any fixed residual floor is allowed, since the stronger exterior |
| 330 | identity above holds on the whole preterminal set. -/ |
| 331 | theorem exterior_below (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 332 | (_hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : |
| 333 | potential s w = 0 ∧ pressure s w = 0 := |
| 334 | ⟨potential_zero s hw hout, pressure_zero s hw hout⟩ |
| 335 | |
| 336 | end Fields |
| 337 | |
| 338 | /-! ## The same state and request as the actual correction cycle -/ |
| 339 | |
| 340 | section Cycle |
| 341 | |
| 342 | variable (x : CorrectionStep.CycleState (Label B N0)) |
| 343 | (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a |
| 344 | ActualInitialization.patch.b (commonContext B) |
| 345 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 346 | x.coefficients (commonContext B) x.state)) |
| 347 | (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a |
| 348 | ActualInitialization.patch.b |
| 349 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 350 | x.coefficients (commonContext B) x.state).pressure) |
| 351 | |
| 352 | noncomputable def cycleNativeStates (l : Label B N0) : |
| 353 | (ActualSignedPhysicalBinding.nativeViews l).StateData := |
| 354 | ActualSignedPhysicalBinding.nativeStateData l ActualInitialization.patch |
| 355 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 356 | x.coefficients (commonContext B) x.state) H hp |
| 357 | |
| 358 | noncomputable def cycleFamily : DependentSignedPhysicalFamily.Family := |
| 359 | family (cycleNativeStates x H hp) |
| 360 | |
| 361 | noncomputable def cyclePotential : VelocityField := potential (cycleNativeStates x H hp) |
| 362 | |
| 363 | noncomputable def cyclePressure : PressureField := pressure (cycleNativeStates x H hp) |
| 364 | |
| 365 | /-- The exterior statement concerns the signed request of the literal |
| 366 | cycle after its particular update, without replacing the incoming state. -/ |
| 367 | theorem cycle_referenceRequest (l : Label B N0) (z : ActualSignedPhysicalBinding.Cylinder) : |
| 368 | ((cycleFamily x H hp).state (nativeLabel l)).referenceRequest |
| 369 | (ActualSignedPhysicalBinding.reference l) z = |
| 370 | (ActualCycleParameters.fixedParameters B N0).signedRequest |
| 371 | x.coefficients (commonContext B) x.state (ActualSignedPhysicalBinding.reference l) |
| 372 | (ActualSignedPhysicalBinding.toCommonCylinder l z) := by |
| 373 | change ((family (cycleNativeStates x H hp)).state (nativeLabel l)).referenceRequest _ _ = _ |
| 374 | rw [family_referenceRequest_nativeLabel] |
| 375 | exact ActualSignedPhysicalBinding.nativeStateData_referenceRequest l ActualInitialization.patch |
| 376 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 377 | x.coefficients (commonContext B) x.state) H hp z |
| 378 | |
| 379 | theorem cycle_potential_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 380 | cyclePotential x H hp w = 0 := potential_zero (cycleNativeStates x H hp) hw hout |
| 381 | |
| 382 | theorem cycle_pressure_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 383 | cyclePressure x H hp w = 0 := pressure_zero (cycleNativeStates x H hp) hw hout |
| 384 | |
| 385 | theorem cycle_zero_germs {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 386 | (cyclePotential x H hp =ᶠ[𝓝 w] fun _ => 0) ∧ |
| 387 | (cyclePressure x H hp =ᶠ[𝓝 w] fun _ => 0) := |
| 388 | ⟨potential_zero_germ (cycleNativeStates x H hp) hw hout, |
| 389 | pressure_zero_germ (cycleNativeStates x H hp) hw hout⟩ |
| 390 | |
| 391 | theorem cycle_velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 392 | SpatialCurl.spatialCurl (cyclePotential x H hp) w = 0 := |
| 393 | velocity_zero (cycleNativeStates x H hp) hw hout |
| 394 | |
| 395 | theorem cycle_exterior (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 396 | (hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : |
| 397 | cyclePotential x H hp w = 0 ∧ cyclePressure x H hp w = 0 := |
| 398 | exterior_below (cycleNativeStates x H hp) Nres hw hq hout |
| 399 | |
| 400 | end Cycle |
| 401 | |
| 402 | end NavierStokes.ActualSignedExterior |