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.ActualSignedExterior |
| 2 | import NavierStokes.ActualSignedNativeProfiles |
| 3 | import NavierStokes.ActualPhaseJetBounds |
| 4 | import NavierStokes.PositiveTimeCopyFamily |
| 5 | import NavierStokes.PositiveTimeSignedData |
| 6 | import NavierStokes.ActualSignedReferenceGeometry |
| 7 | import NavierStokes.ActualSignedFamilySupport |
| 8 | import NavierStokes.ActualSignedNativeRegularity |
| 9 | import NavierStokes.ActualSignedNativeBounds |
| 10 | import NavierStokes.GluedStageEstimates |
| 11 | |
| 12 | /-! |
| 13 | # Physical wave data for the actual signed cycle fields |
| 14 | |
| 15 | The native family is the family in `ActualSignedExterior`. Geometry, |
| 16 | profiles and native source bounds are assembled before any physical |
| 17 | estimate is applied. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace NavierStokes.ActualSignedWaveData |
| 23 | |
| 24 | open Set Function Filter ProblemStatement CorrectionState CorrectionStep |
| 25 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 26 | open PhysicalWaveSum PhysicalCopyBounds |
| 27 | open scoped Topology ContDiff BigOperators |
| 28 | |
| 29 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 30 | abbrev SourceIndex := Σ (_ : BandLabel), ActualSignedPhysicalData.SourceIndex |
| 31 | |
| 32 | variable {B N0 : ℕ} |
| 33 | |
| 34 | noncomputable def nativeStates (P : SignedStressPrimitive.Patch) (u : State LocalSignedRequest.Point) |
| 35 | (H : MeanStateRegularity.PrimitiveData standardRegion P.a P.b (commonContext B) u) |
| 36 | (hp : GaugeMomentBalances.MovingField standardRegion P.a P.b u.pressure) |
| 37 | (l : Label B N0) : (ActualSignedPhysicalBinding.nativeViews l).StateData := |
| 38 | ActualSignedPhysicalBinding.nativeStateData l P u H hp |
| 39 | |
| 40 | noncomputable def family (P : SignedStressPrimitive.Patch) (u : State LocalSignedRequest.Point) |
| 41 | (H : MeanStateRegularity.PrimitiveData standardRegion P.a P.b (commonContext B) u) |
| 42 | (hp : GaugeMomentBalances.MovingField standardRegion P.a P.b u.pressure) : |
| 43 | DependentSignedPhysicalFamily.Family := |
| 44 | ActualSignedExterior.family (nativeStates (N0 := N0) P u H hp) |
| 45 | |
| 46 | section Geometry |
| 47 | |
| 48 | variable (P : SignedStressPrimitive.Patch) (u : State LocalSignedRequest.Point) |
| 49 | (H : MeanStateRegularity.PrimitiveData standardRegion P.a P.b (commonContext B) u) |
| 50 | (hp : GaugeMomentBalances.MovingField standardRegion P.a P.b u.pressure) |
| 51 | |
| 52 | /-- The physical geometry is derived from the same actual primary, views, |
| 53 | and current-state request; no representation assertion is assumed. -/ |
| 54 | noncomputable def singletonGeometry |
| 55 | (L : ActualSignedPhysicalData.NativeLabel (family (N0 := N0) P u H hp).active) : |
| 56 | ActualSignedPhysicalData.ReferenceGeometry slots ((family P u H hp).singleton L) := |
| 57 | ActualSignedReferenceGeometry.singletonGeometry P u H hp L |
| 58 | |
| 59 | end Geometry |
| 60 | |
| 61 | private theorem cells_mpr {H : ℕ} {K : Type*} {f g : CopyFamily H K} |
| 62 | (he : f = g) (c : SupportCells g) (L : BandLabel) : |
| 63 | (Eq.mpr (congrArg SupportCells he) c).cells L = c.cells L := by |
| 64 | cases he |
| 65 | rfl |
| 66 | |
| 67 | private theorem branchCells_active (f : DependentSignedPhysicalFamily.Family) |
| 68 | {H : ℕ} {K : Type*} |
| 69 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) |
| 70 | (c : ∀ L, SupportCells (copies L)) |
| 71 | (L : ActualSignedPhysicalData.NativeLabel f.active) (M : BandLabel) : |
| 72 | (f.branchCells copies c L).cells M = (c L).cells M := by |
| 73 | classical |
| 74 | simp only [DependentSignedPhysicalFamily.Family.branchCells, dite_eq_left L.mem] |
| 75 | exact cells_mpr (f.copyAt_active copies L) (c L) M |
| 76 | |
| 77 | private theorem branchCells_inactive (f : DependentSignedPhysicalFamily.Family) |
| 78 | {H : ℕ} {K : Type*} |
| 79 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) |
| 80 | (c : ∀ L, SupportCells (copies L)) (L M : BandLabel) (hL : L ∉ f.active) : |
| 81 | (f.branchCells copies c L).cells M = |
| 82 | (DependentSignedPhysicalFamily.zeroCells (H := H) (K := K)).cells M := by |
| 83 | classical |
| 84 | simp only [DependentSignedPhysicalFamily.Family.branchCells, dite_eq_right hL] |
| 85 | exact cells_mpr (f.copyAt_inactive copies hL) DependentSignedPhysicalFamily.zeroCells M |
| 86 | |
| 87 | section CopyFamilies |
| 88 | |
| 89 | variable (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 90 | |
| 91 | noncomputable def originalPotentialCells (i : Fin 3) : |
| 92 | SupportCells ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i) := |
| 93 | DependentSignedPhysicalFamily.diagonalCells _ |
| 94 | ((ActualSignedExterior.family s).branchCells |
| 95 | (fun L => ActualSignedPhysicalData.potentialFamily slots outgoing.data.h_pos.le |
| 96 | ((ActualSignedExterior.family s).singleton L) i) |
| 97 | (fun L => ActualSignedPhysicalData.localizedPotentialCells slots outgoing.data.h_pos.le |
| 98 | ((ActualSignedExterior.family s).singleton L) i)) |
| 99 | |
| 100 | noncomputable def originalPressureCells : |
| 101 | SupportCells ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) := |
| 102 | DependentSignedPhysicalFamily.diagonalCells _ |
| 103 | ((ActualSignedExterior.family s).branchCells |
| 104 | (fun L => ActualSignedPhysicalData.pressureFamily slots outgoing.data.h_pos.le |
| 105 | ((ActualSignedExterior.family s).singleton L)) |
| 106 | (fun L => ActualSignedPhysicalData.localizedPressureCells slots outgoing.data.h_pos.le |
| 107 | ((ActualSignedExterior.family s).singleton L))) |
| 108 | |
| 109 | theorem potentialCells_active (i : Fin 3) |
| 110 | (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.labels B N0)) : |
| 111 | (originalPotentialCells s i).cells L = |
| 112 | (ActualSignedPhysicalData.localizedPotentialCells slots outgoing.data.h_pos.le |
| 113 | ((ActualSignedExterior.family s).singleton L) i).cells L := by |
| 114 | exact branchCells_active (ActualSignedExterior.family s) _ _ L L |
| 115 | |
| 116 | theorem pressureCells_active |
| 117 | (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.labels B N0)) : |
| 118 | (originalPressureCells s).cells L = |
| 119 | (ActualSignedPhysicalData.localizedPressureCells slots outgoing.data.h_pos.le |
| 120 | ((ActualSignedExterior.family s).singleton L)).cells L := by |
| 121 | exact branchCells_active (ActualSignedExterior.family s) _ _ L L |
| 122 | |
| 123 | theorem potentialCells_inactive (i : Fin 3) {L : BandLabel} |
| 124 | (hL : L ∉ ActualSignedExterior.labels B N0) : |
| 125 | (originalPotentialCells s i).cells L = |
| 126 | (DependentSignedPhysicalFamily.zeroCells (H := 1)).cells L := by |
| 127 | exact branchCells_inactive (ActualSignedExterior.family s) _ _ L L hL |
| 128 | |
| 129 | theorem pressureCells_inactive {L : BandLabel} |
| 130 | (hL : L ∉ ActualSignedExterior.labels B N0) : |
| 131 | (originalPressureCells s).cells L = |
| 132 | (DependentSignedPhysicalFamily.zeroCells (H := 1)).cells L := by |
| 133 | exact branchCells_inactive (ActualSignedExterior.family s) _ _ L L hL |
| 134 | |
| 135 | noncomputable def originalPotentialCarrier (i : Fin 3) : |
| 136 | CarrierBounds ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i) |
| 137 | (originalPotentialCells s i) ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius where |
| 138 | region _ L := ActualSignedNativeProfiles.region B N0 L |
| 139 | open_region _ := ActualSignedNativeProfiles.region_open B N0 |
| 140 | jets := ActualSignedNativeProfiles.potential_profiles_jets s i |
| 141 | contains k I w hw _ _ hc j hj := by |
| 142 | classical |
| 143 | change LocalPhysicalCopyBounds.slotSlow |
| 144 | (((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i).carrier k I.1 |
| 145 | |>.withChart j) ActualPolarCoverage.inner h I.1.val.1 slots.radius w ∈ _ |
| 146 | rw [ActualSignedPhysicalData.slotSlow_eq_nativeSlow ActualPolarCoverage.inner_pos] |
| 147 | by_cases hL : I.1 ∈ ActualSignedExterior.labels B N0 |
| 148 | · let L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.labels B N0) := |
| 149 | ⟨I.1.val,I.1.property,hL⟩ |
| 150 | have he := potentialCells_active s i L |
| 151 | change (originalPotentialCells s i).cells I.1 = _ at he |
| 152 | rw [he, ActualSignedExterior.potential_gap, ActualSignedPhysicalData.commonLift_zero] at hc |
| 153 | exact ActualSignedNativeProfiles.closure_covers s L I.1 w hw hc.2 |
| 154 | · rw [potentialCells_inactive s i hL] at hc |
| 155 | exact hc.elim |
| 156 | exact hj |
| 157 | |
| 158 | noncomputable def originalPressureCarrier : |
| 159 | CarrierBounds ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) |
| 160 | (originalPressureCells s) ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius where |
| 161 | region _ L := ActualSignedNativeProfiles.region B N0 L |
| 162 | open_region _ := ActualSignedNativeProfiles.region_open B N0 |
| 163 | jets := ActualSignedNativeProfiles.pressure_profiles_jets s |
| 164 | contains k I w hw _ _ hc j hj := by |
| 165 | classical |
| 166 | change LocalPhysicalCopyBounds.slotSlow |
| 167 | (((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le).carrier k I.1 |
| 168 | |>.withChart j) ActualPolarCoverage.inner h I.1.val.1 slots.radius w ∈ _ |
| 169 | rw [ActualSignedPhysicalData.slotSlow_eq_nativeSlow ActualPolarCoverage.inner_pos] |
| 170 | by_cases hL : I.1 ∈ ActualSignedExterior.labels B N0 |
| 171 | · let L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.labels B N0) := |
| 172 | ⟨I.1.val,I.1.property,hL⟩ |
| 173 | have he := pressureCells_active s L |
| 174 | change (originalPressureCells s).cells I.1 = _ at he |
| 175 | rw [he, ActualSignedExterior.pressure_gap, ActualSignedPhysicalData.commonLift_zero] at hc |
| 176 | exact ActualSignedNativeProfiles.closure_covers s L I.1 w hw hc.2 |
| 177 | · rw [pressureCells_inactive s hL] at hc |
| 178 | exact hc.elim |
| 179 | exact hj |
| 180 | |
| 181 | /-- The actual assembled copies, extended by zero outside positive lift |
| 182 | time. Their fields agree with the original signed fields before t=1. -/ |
| 183 | noncomputable def potentialCopies (i : Fin 3) : CopyFamily 1 TorusInverse.Frequency := |
| 184 | PositiveTimeCopyFamily.gate |
| 185 | ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i) |
| 186 | |
| 187 | noncomputable def pressureCopies : CopyFamily 1 TorusInverse.Frequency := |
| 188 | PositiveTimeCopyFamily.gate |
| 189 | ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) |
| 190 | |
| 191 | noncomputable def potentialCells (i : Fin 3) : SupportCells (potentialCopies s i) := |
| 192 | PositiveTimeCopyFamily.gateCells (originalPotentialCells s i) |
| 193 | |
| 194 | noncomputable def pressureCells : SupportCells (pressureCopies s) := |
| 195 | PositiveTimeCopyFamily.gateCells (originalPressureCells s) |
| 196 | |
| 197 | noncomputable def potentialCarrier (i : Fin 3) : |
| 198 | CarrierBounds (potentialCopies s i) (potentialCells s i) |
| 199 | ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius := |
| 200 | PositiveTimeCopyFamily.gateCarrier (originalPotentialCells s i) (originalPotentialCarrier s i) |
| 201 | |
| 202 | noncomputable def pressureCarrier : |
| 203 | CarrierBounds (pressureCopies s) (pressureCells s) |
| 204 | ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius := |
| 205 | PositiveTimeCopyFamily.gateCarrier (originalPressureCells s) (originalPressureCarrier s) |
| 206 | |
| 207 | theorem potential_field_eq {w : SpaceTime} (hw : w ∈ preterminal) : |
| 208 | vectorSum (potentialCopies s) ActualPolarCoverage.inner h slots.radius w = |
| 209 | ActualSignedExterior.potential s w := |
| 210 | PositiveTimeCopyFamily.vectorSum_eq _ _ _ _ hw |
| 211 | |
| 212 | theorem pressure_field_eq {w : SpaceTime} (hw : w ∈ preterminal) : |
| 213 | ((pressureCopies s).sum ActualPolarCoverage.inner h slots.radius w).re = |
| 214 | ActualSignedExterior.pressure s w := |
| 215 | congrArg Complex.re (PositiveTimeCopyFamily.sum_eq _ _ _ _ hw) |
| 216 | |
| 217 | |
| 218 | /-- The carrier coefficients remain jointly bounded after label selection |
| 219 | and the positive-time extension. -/ |
| 220 | theorem singleton_frequencies_of_states |
| 221 | (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active) |
| 222 | (K : ActualSignedPhysicalData.NativeLabel |
| 223 | ((ActualSignedExterior.family s).singleton L).active) : |
| 224 | |(((((ActualSignedExterior.family s).singleton L).primary K).pulse |
| 225 | (((ActualSignedExterior.family s).singleton L).column K)).phase.p K.val.1)| ≤ |
| 226 | ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 227 | |(((((ActualSignedExterior.family s).singleton L).primary K).pulse |
| 228 | (((ActualSignedExterior.family s).singleton L).column K)).phase.pz K.val.1)| ≤ |
| 229 | ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 230 | |(((((ActualSignedExterior.family s).singleton L).primary K).pulse |
| 231 | (((ActualSignedExterior.family s).singleton L).column K)).phase.x0 K.val.1)| ≤ |
| 232 | ActualPhaseJetBounds.phaseSize B N0 := by |
| 233 | rw [ActualSignedReferenceGeometry.singleton_index_eq (ActualSignedExterior.family s) L K] |
| 234 | exact ActualPhaseJetBounds.phase_constants_bound |
| 235 | ((ActualSignedExterior.actualLabel L).2, (ActualSignedExterior.actualLabel L).1) |
| 236 | |
| 237 | theorem potential_frequencies (i : Fin 3) (k : TorusInverse.Frequency) (L : BandLabel) : |
| 238 | |((potentialCopies s i).carrier k L).angular| ≤ ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 239 | |((potentialCopies s i).carrier k L).axial| ≤ ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 240 | |((potentialCopies s i).carrier k L).radial| ≤ ActualPhaseJetBounds.phaseSize B N0 := by |
| 241 | classical |
| 242 | have he : (potentialCopies s i).carrier k L = |
| 243 | ((ActualSignedExterior.family s).copyAt |
| 244 | (fun M => ActualSignedPhysicalData.potentialFamily slots outgoing.data.h_pos.le |
| 245 | ((ActualSignedExterior.family s).singleton M) i) L).carrier k L := rfl |
| 246 | rw [he] |
| 247 | by_cases hL : L ∈ (ActualSignedExterior.family s).active |
| 248 | · let M : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active := |
| 249 | ⟨L.val, L.property, hL⟩ |
| 250 | rw [DependentSignedPhysicalFamily.Family.copyAt_active _ _ M] |
| 251 | exact ActualSignedPhysicalData.carrier_frequencies |
| 252 | ((ActualSignedExterior.family s).singleton M) ActualPhaseJetBounds.one_le_phaseSize |
| 253 | (singleton_frequencies_of_states s M) k L |
| 254 | · rw [DependentSignedPhysicalFamily.Family.copyAt_inactive _ _ hL] |
| 255 | have hP := zero_le_one.trans (ActualPhaseJetBounds.one_le_phaseSize (B := B) (N0 := N0)) |
| 256 | exact ⟨by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP, |
| 257 | by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP, |
| 258 | by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP⟩ |
| 259 | |
| 260 | theorem pressure_frequencies (k : TorusInverse.Frequency) (L : BandLabel) : |
| 261 | |((pressureCopies s).carrier k L).angular| ≤ ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 262 | |((pressureCopies s).carrier k L).axial| ≤ ActualPhaseJetBounds.phaseSize B N0 ∧ |
| 263 | |((pressureCopies s).carrier k L).radial| ≤ ActualPhaseJetBounds.phaseSize B N0 := by |
| 264 | classical |
| 265 | have he : (pressureCopies s).carrier k L = |
| 266 | ((ActualSignedExterior.family s).copyAt |
| 267 | (fun M => ActualSignedPhysicalData.pressureFamily slots outgoing.data.h_pos.le |
| 268 | ((ActualSignedExterior.family s).singleton M)) L).carrier k L := rfl |
| 269 | rw [he] |
| 270 | by_cases hL : L ∈ (ActualSignedExterior.family s).active |
| 271 | · let M : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active := |
| 272 | ⟨L.val, L.property, hL⟩ |
| 273 | rw [DependentSignedPhysicalFamily.Family.copyAt_active _ _ M] |
| 274 | exact ActualSignedPhysicalData.carrier_frequencies |
| 275 | ((ActualSignedExterior.family s).singleton M) ActualPhaseJetBounds.one_le_phaseSize |
| 276 | (singleton_frequencies_of_states s M) k L |
| 277 | · rw [DependentSignedPhysicalFamily.Family.copyAt_inactive _ _ hL] |
| 278 | have hP := zero_le_one.trans (ActualPhaseJetBounds.one_le_phaseSize (B := B) (N0 := N0)) |
| 279 | exact ⟨by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP, |
| 280 | by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP, |
| 281 | by simpa [DependentSignedPhysicalFamily.zeroCopies] using hP⟩ |
| 282 | |
| 283 | /-! ## The jointly indexed Cartesian sources -/ |
| 284 | |
| 285 | noncomputable def sourceStrip : WeightedClasses.StripData PhysicalGraphBounds.LiftPoint := |
| 286 | CartesianCopySource.pullStrip ActualPrimaryBounds.strip |
| 287 | ActualPolarCoverage.inner ActualPolarCoverage.outer ActualPolarCoverage.inner_pos |
| 288 | |
| 289 | noncomputable def potentialSource : |
| 290 | (Fin 3 × SourceIndex) → ℕ → PhysicalGraphBounds.LiftPoint → ℂ := |
| 291 | fun I n x => CartesianCopySource.rotatedSource |
| 292 | (DependentSignedPhysicalFamily.jointSource |
| 293 | ((ActualSignedExterior.family s).potentialSource slots outgoing.data.h_pos.le)) I.2 n x I.1 |
| 294 | |
| 295 | noncomputable def pressureSource : SourceIndex → ℕ → PhysicalGraphBounds.LiftPoint → ℂ := |
| 296 | fun I n x => DependentSignedPhysicalFamily.jointSource |
| 297 | ((ActualSignedExterior.family s).pressureSource slots outgoing.data.h_pos.le) I n |
| 298 | (PhysicalClassBounds.cylindricalMap x) |
| 299 | |
| 300 | noncomputable def sourceWeight (_ : SourceIndex) (_ : ℕ) |
| 301 | (x : PhysicalGraphBounds.LiftPoint) : ℝ := |
| 302 | Real.sqrt (ActualPrimaryBounds.strip.zeta (PhysicalClassBounds.cylindricalMap x)) |
| 303 | |
| 304 | noncomputable def potentialWeight (I : Fin 3 × SourceIndex) (n : ℕ) |
| 305 | (x : PhysicalGraphBounds.LiftPoint) : ℝ := sourceWeight I.2 n x |
| 306 | |
| 307 | theorem potential_amplitude_eq_source (i : Fin 3) (k : TorusInverse.Frequency) |
| 308 | (I : WaveIndex 1) (x : PhysicalGraphBounds.LiftPoint) : |
| 309 | ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i).amplitude k I x = |
| 310 | ChartScales.Q I.1.val.1 ^ (-h) • potentialSource s (i, ⟨I.1, (I, k)⟩) I.1.val.1 x := |
| 311 | DependentSignedPhysicalFamily.Family.potential_amplitude_eq_source _ _ _ _ _ _ _ |
| 312 | |
| 313 | theorem pressure_amplitude_eq_source (k : TorusInverse.Frequency) |
| 314 | (I : WaveIndex 1) (x : PhysicalGraphBounds.LiftPoint) : |
| 315 | ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le).amplitude k I x = |
| 316 | ChartScales.Q I.1.val.1 ^ (-(2 * CoordinateAlgebra.A h)) • |
| 317 | pressureSource s ⟨I.1, (I, k)⟩ I.1.val.1 x := |
| 318 | DependentSignedPhysicalFamily.Family.pressure_amplitude_eq_source _ _ _ _ _ _ |
| 319 | |
| 320 | theorem potential_source_bounds {α : ℝ} |
| 321 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 322 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 323 | (DependentSignedPhysicalFamily.jointSource |
| 324 | ((ActualSignedExterior.family s).potentialSource slots outgoing.data.h_pos.le))) : |
| 325 | LocalPhysicalCopyBounds.LocalSourceBounds sourceStrip h α potentialWeight (potentialSource s) := |
| 326 | ActualSignedPhysicalData.componentSourceBounds |
| 327 | (CartesianCopySource.sourceBounds_rotated (b := ActualPolarCoverage.outer) |
| 328 | ActualPolarCoverage.inner_pos hs) |
| 329 | |
| 330 | theorem pressure_source_bounds {α : ℝ} |
| 331 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 332 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 333 | (DependentSignedPhysicalFamily.jointSource |
| 334 | ((ActualSignedExterior.family s).pressureSource slots outgoing.data.h_pos.le))) : |
| 335 | LocalPhysicalCopyBounds.LocalSourceBounds sourceStrip h α sourceWeight (pressureSource s) := |
| 336 | CartesianCopySource.sourceBounds_pullback (b := ActualPolarCoverage.outer) |
| 337 | ActualPolarCoverage.inner_pos hs |
| 338 | |
| 339 | end CopyFamilies |
| 340 | |
| 341 | |
| 342 | section NativeAssembly |
| 343 | |
| 344 | variable (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 345 | (hgeo : ∀ L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active, |
| 346 | ActualSignedPhysicalData.ReferenceGeometry slots ((ActualSignedExterior.family s).singleton L)) |
| 347 | (hn : ∀ L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active, |
| 348 | ActualSignedPhysicalData.NativeRegular slots outgoing.data.h_pos.le |
| 349 | ((ActualSignedExterior.family s).singleton L)) |
| 350 | {α : ℝ} |
| 351 | |
| 352 | /-- The physical potential datum is assembled once over all source labels. |
| 353 | The source estimate and profile constants are chosen before those labels. -/ |
| 354 | noncomputable def potentialOfNative |
| 355 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 356 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 357 | (DependentSignedPhysicalFamily.jointSource |
| 358 | ((ActualSignedExterior.family s).potentialSource slots outgoing.data.h_pos.le))) : |
| 359 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 360 | (Fin 3 × SourceIndex) TorusInverse.Frequency (Fin 3) where |
| 361 | lowerRadius := ActualPolarCoverage.inner |
| 362 | upperRadius := ActualPolarCoverage.outer |
| 363 | nativeWidth := slots.radius |
| 364 | slowBound := 2 |
| 365 | frequencyBound := ActualPhaseJetBounds.phaseSize B N0 |
| 366 | alpha := α |
| 367 | shift := -h |
| 368 | harmonics := 1 |
| 369 | gapBound := 0 |
| 370 | lower_pos := ActualPolarCoverage.inner_pos |
| 371 | width_nonneg := slots.radius_pos.le |
| 372 | slow_nonneg := by norm_num |
| 373 | frequency_one_le := ActualPhaseJetBounds.one_le_phaseSize |
| 374 | strip := sourceStrip |
| 375 | weight := potentialWeight |
| 376 | source := potentialSource s |
| 377 | source_bounds := potential_source_bounds s hs |
| 378 | copies := potentialCopies s |
| 379 | cells := potentialCells s |
| 380 | chart i := PositiveTimeSignedData.identitySourceChart _ (originalPotentialCells s i) |
| 381 | ActualPolarCoverage.inner_pos (ActualSignedFamilySupport.potential_support s hgeo i) |
| 382 | sourceStrip (potentialSource s) (fun k I => (i, ⟨I.1, (I, k)⟩)) |
| 383 | (potential_amplitude_eq_source s i) |
| 384 | (ActualSignedFamilySupport.potential_source_domain s i) |
| 385 | chart_maps _ _ _ := fun _ hx => hx.1 |
| 386 | carrier := potentialCarrier s |
| 387 | support := ActualSignedFamilySupport.potential_support s hgeo |
| 388 | smooth := ActualSignedFamilySupport.potential_smooth s hgeo hn |
| 389 | frequencies := potential_frequencies s |
| 390 | |
| 391 | noncomputable def pressureOfNative |
| 392 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 393 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 394 | (DependentSignedPhysicalFamily.jointSource |
| 395 | ((ActualSignedExterior.family s).pressureSource slots outgoing.data.h_pos.le))) : |
| 396 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 397 | SourceIndex TorusInverse.Frequency Unit where |
| 398 | lowerRadius := ActualPolarCoverage.inner |
| 399 | upperRadius := ActualPolarCoverage.outer |
| 400 | nativeWidth := slots.radius |
| 401 | slowBound := 2 |
| 402 | frequencyBound := ActualPhaseJetBounds.phaseSize B N0 |
| 403 | alpha := α |
| 404 | shift := -(2 * CoordinateAlgebra.A h) |
| 405 | harmonics := 1 |
| 406 | gapBound := 0 |
| 407 | lower_pos := ActualPolarCoverage.inner_pos |
| 408 | width_nonneg := slots.radius_pos.le |
| 409 | slow_nonneg := by norm_num |
| 410 | frequency_one_le := ActualPhaseJetBounds.one_le_phaseSize |
| 411 | strip := sourceStrip |
| 412 | weight := sourceWeight |
| 413 | source := pressureSource s |
| 414 | source_bounds := pressure_source_bounds s hs |
| 415 | copies _ := pressureCopies s |
| 416 | cells _ := pressureCells s |
| 417 | chart _ := PositiveTimeSignedData.identitySourceChart _ (originalPressureCells s) |
| 418 | ActualPolarCoverage.inner_pos (ActualSignedFamilySupport.pressure_support s hgeo) |
| 419 | sourceStrip (pressureSource s) (fun k I => ⟨I.1, (I, k)⟩) |
| 420 | (pressure_amplitude_eq_source s) |
| 421 | (ActualSignedFamilySupport.pressure_source_domain s) |
| 422 | chart_maps _ _ _ := fun _ hx => hx.1 |
| 423 | carrier _ := pressureCarrier s |
| 424 | support _ := ActualSignedFamilySupport.pressure_support s hgeo |
| 425 | smooth _ := ActualSignedFamilySupport.pressure_smooth s hgeo hn |
| 426 | frequencies _ := pressure_frequencies s |
| 427 | |
| 428 | variable |
| 429 | (hpotential : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 430 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 431 | (DependentSignedPhysicalFamily.jointSource |
| 432 | ((ActualSignedExterior.family s).potentialSource slots outgoing.data.h_pos.le))) |
| 433 | (hpressure : LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α |
| 434 | (fun (_ : SourceIndex) _ y => Real.sqrt (ActualPrimaryBounds.strip.zeta y)) |
| 435 | (DependentSignedPhysicalFamily.jointSource |
| 436 | ((ActualSignedExterior.family s).pressureSource slots outgoing.data.h_pos.le))) |
| 437 | |
| 438 | @[simp] theorem potentialOfNative_alpha : |
| 439 | (potentialOfNative s hgeo hn hpotential).alpha = α := rfl |
| 440 | |
| 441 | @[simp] theorem pressureOfNative_alpha : |
| 442 | (pressureOfNative s hgeo hn hpressure).alpha = α := rfl |
| 443 | |
| 444 | @[simp] theorem potentialOfNative_shift : |
| 445 | (potentialOfNative s hgeo hn hpotential).shift = -h := rfl |
| 446 | |
| 447 | @[simp] theorem pressureOfNative_shift : |
| 448 | (pressureOfNative s hgeo hn hpressure).shift = -(2 * CoordinateAlgebra.A h) := rfl |
| 449 | |
| 450 | end NativeAssembly |
| 451 | |
| 452 | |
| 453 | section ActualProducers |
| 454 | |
| 455 | open WeightedClasses |
| 456 | |
| 457 | variable (u : State LocalSignedRequest.Point) |
| 458 | (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a |
| 459 | ActualInitialization.patch.b (commonContext B) u) |
| 460 | (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a |
| 461 | ActualInitialization.patch.b u.pressure) |
| 462 | (α : ℝ) |
| 463 | (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 464 | (commonContext B) u = u) |
| 465 | (hθ : MeanClass ActualInitialization.geometry.strip α (u.thetaResidual (commonContext B))) |
| 466 | (hz : MeanClass ActualInitialization.geometry.strip α (u.axialResidual (commonContext B))) |
| 467 | |
| 468 | /-- Genuine primitive and measured residual data produce the entire |
| 469 | potential record. Native regularity and native output bounds are derived. -/ |
| 470 | noncomputable def potentialFromResiduals : |
| 471 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 472 | (Fin 3 × SourceIndex) TorusInverse.Frequency (Fin 3) := |
| 473 | potentialOfNative (α := α) (nativeStates (N0 := N0) ActualInitialization.patch u H hp) |
| 474 | (singletonGeometry ActualInitialization.patch u H hp) |
| 475 | (ActualSignedNativeRegularity.nativeRegular_from_residuals u H hp α hfixed hθ hz) |
| 476 | (by |
| 477 | have hb := ActualSignedNativeBounds.source_bounds ActualInitialization.patch u H hp |
| 478 | (ActualSignedNativeRegularity.request_jets_from_residuals |
| 479 | (N0 := N0) u α H hfixed hθ hz) |
| 480 | have he := hb.1 |
| 481 | simp only [sub_add_cancel] at he |
| 482 | exact he) |
| 483 | |
| 484 | noncomputable def pressureFromResiduals : |
| 485 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 486 | SourceIndex TorusInverse.Frequency Unit := |
| 487 | pressureOfNative (α := α) (nativeStates (N0 := N0) ActualInitialization.patch u H hp) |
| 488 | (singletonGeometry ActualInitialization.patch u H hp) |
| 489 | (ActualSignedNativeRegularity.nativeRegular_from_residuals u H hp α hfixed hθ hz) |
| 490 | (by |
| 491 | have hb := ActualSignedNativeBounds.source_bounds ActualInitialization.patch u H hp |
| 492 | (ActualSignedNativeRegularity.request_jets_from_residuals |
| 493 | (N0 := N0) u α H hfixed hθ hz) |
| 494 | have he := hb.2 |
| 495 | simp only [sub_add_cancel] at he |
| 496 | exact he) |
| 497 | |
| 498 | @[simp] theorem potentialFromResiduals_alpha : |
| 499 | (potentialFromResiduals (N0 := N0) u H hp α hfixed hθ hz).alpha = α := rfl |
| 500 | |
| 501 | @[simp] theorem pressureFromResiduals_alpha : |
| 502 | (pressureFromResiduals (N0 := N0) u H hp α hfixed hθ hz).alpha = α := rfl |
| 503 | |
| 504 | @[simp] theorem potentialFromResiduals_shift : |
| 505 | (potentialFromResiduals (N0 := N0) u H hp α hfixed hθ hz).shift = -h := rfl |
| 506 | |
| 507 | @[simp] theorem pressureFromResiduals_shift : |
| 508 | (pressureFromResiduals (N0 := N0) u H hp α hfixed hθ hz).shift = |
| 509 | -(2 * CoordinateAlgebra.A h) := rfl |
| 510 | |
| 511 | end ActualProducers |
| 512 | |
| 513 | section Cycle |
| 514 | |
| 515 | variable {σ : ℝ} (x : CycleState (Label B N0)) |
| 516 | (R : ActualParticularMeanGain.Result x σ) |
| 517 | |
| 518 | /-- The post-particular theorem supplies every analytic hypothesis; the |
| 519 | physical copies use its same reconstructed state and pressure primitive. -/ |
| 520 | noncomputable def cyclePotentialData : |
| 521 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 522 | (Fin 3 × SourceIndex) TorusInverse.Frequency (Fin 3) := |
| 523 | potentialFromResiduals (N0 := N0) (ActualParticularMeanGain.postParticular x) R.primitive |
| 524 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) |
| 525 | (1 + σ - ChartScales.kappa) R.reconstructed R.theta R.axial |
| 526 | |
| 527 | noncomputable def cyclePressureData : |
| 528 | PhysicalStageBounds.WaveData h PhysicalGraphBounds.LiftPoint |
| 529 | SourceIndex TorusInverse.Frequency Unit := |
| 530 | pressureFromResiduals (N0 := N0) (ActualParticularMeanGain.postParticular x) R.primitive |
| 531 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) |
| 532 | (1 + σ - ChartScales.kappa) R.reconstructed R.theta R.axial |
| 533 | |
| 534 | @[simp] theorem cyclePotentialData_alpha : |
| 535 | (cyclePotentialData x R).alpha = 1 + σ - ChartScales.kappa := rfl |
| 536 | |
| 537 | @[simp] theorem cyclePressureData_alpha : |
| 538 | (cyclePressureData x R).alpha = 1 + σ - ChartScales.kappa := rfl |
| 539 | |
| 540 | @[simp] theorem cyclePotentialData_shift : (cyclePotentialData x R).shift = -h := rfl |
| 541 | |
| 542 | @[simp] theorem cyclePressureData_shift : |
| 543 | (cyclePressureData x R).shift = -(2 * CoordinateAlgebra.A h) := rfl |
| 544 | |
| 545 | theorem cyclePotentialData_eq : EqOn (cyclePotentialData x R).vector |
| 546 | (ActualSignedExterior.cyclePotential x R.primitive |
| 547 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) preterminal := |
| 548 | fun _ hw => potential_field_eq _ hw |
| 549 | |
| 550 | theorem cyclePressureData_eq : EqOn (cyclePressureData x R).pressure |
| 551 | (ActualSignedExterior.cyclePressure x R.primitive |
| 552 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) preterminal := |
| 553 | fun _ hw => pressure_field_eq _ hw |
| 554 | |
| 555 | end Cycle |
| 556 | |
| 557 | /-! ## The actual infinite stage sequence -/ |
| 558 | |
| 559 | theorem stageResult (B N0 : ℕ) |
| 560 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 561 | ActualParticularMeanGain.Result (ActualCyclePreservation.state B N0 j) |
| 562 | (ActualIterationLedger.sigma j) := |
| 563 | ActualParticularMeanGain.postParticular_gain |
| 564 | (ActualCyclePreservation.state_invariant B N0 hN j) |
| 565 | (ActualCyclePreservation.state_particularInputs B N0 hN j) |
| 566 | (ActualIterationLedger.sigma_admissible j) |
| 567 | |
| 568 | /-- The actual signed part of the schedule. There is no input WaveData, |
| 569 | physical bound or native output-regularity hypothesis. -/ |
| 570 | noncomputable def signedInputs (B N0 : ℕ) |
| 571 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 572 | GluedStageEstimates.SignedInputs PhysicalGraphBounds.LiftPoint SourceIndex TorusInverse.Frequency where |
| 573 | potential j := cyclePotentialData (ActualCyclePreservation.state B N0 j) (stageResult B N0 hN j) |
| 574 | pressure j := cyclePressureData (ActualCyclePreservation.state B N0 j) (stageResult B N0 hN j) |
| 575 | potential_exponent j := by |
| 576 | change 1 / 2 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 577 | 1 + ActualIterationLedger.sigma j - ChartScales.kappa |
| 578 | linarith |
| 579 | pressure_exponent _ := le_rfl |
| 580 | potential_shift _ := rfl |
| 581 | pressure_shift _ := rfl |
| 582 | |
| 583 | theorem signedInputs_potential_eq (B N0 : ℕ) |
| 584 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 585 | EqOn ((signedInputs B N0 hN).potential j).vector |
| 586 | (ActualSignedExterior.cyclePotential (ActualCyclePreservation.state B N0 j) |
| 587 | (stageResult B N0 hN j).primitive |
| 588 | (ActualSignedPhysicalBinding.afterParticular_pressure (ActualCyclePreservation.state B N0 j) |
| 589 | (stageResult B N0 hN j).primitive)) preterminal := |
| 590 | cyclePotentialData_eq (ActualCyclePreservation.state B N0 j) (stageResult B N0 hN j) |
| 591 | |
| 592 | theorem signedInputs_pressure_eq (B N0 : ℕ) |
| 593 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 594 | EqOn ((signedInputs B N0 hN).pressure j).pressure |
| 595 | (ActualSignedExterior.cyclePressure (ActualCyclePreservation.state B N0 j) |
| 596 | (stageResult B N0 hN j).primitive |
| 597 | (ActualSignedPhysicalBinding.afterParticular_pressure (ActualCyclePreservation.state B N0 j) |
| 598 | (stageResult B N0 hN j).primitive)) preterminal := |
| 599 | cyclePressureData_eq (ActualCyclePreservation.state B N0 j) (stageResult B N0 hN j) |
| 600 | |
| 601 | end NavierStokes.ActualSignedWaveData |