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.ActualSignedPhysicalData |
| 2 | import NavierStokes.PositiveTimeCopyFamily |
| 3 | import NavierStokes.PositiveTimeSignedLocalization |
| 4 | import NavierStokes.ActualSignedNativeProfiles |
| 5 | |
| 6 | /-! |
| 7 | # Signed physical data from positive native time |
| 8 | |
| 9 | The native signed sources are used only at positive native time. Their |
| 10 | totalized formula need not vanish in the past of that domain. This module |
| 11 | uses an explicit zero extension of the physical copy amplitudes outside |
| 12 | positive native time, while retaining the original masks, sources, and |
| 13 | carrier profiles on their genuine domains. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.PositiveTimeSignedData |
| 19 | |
| 20 | open Set Function Filter ProblemStatement HarmonicCalculus WeightedClasses |
| 21 | open ActualSignedPhysicalData |
| 22 | open scoped Topology ContDiff BigOperators |
| 23 | |
| 24 | attribute [local instance] Classical.propDecidable |
| 25 | |
| 26 | |
| 27 | /-- The original mask and target localize the native source only where |
| 28 | native time is positive. The time hypothesis is explicit in both fields. -/ |
| 29 | structure PrimitiveLocalization {h : ℝ} |
| 30 | {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} (f : SignedFamily U) |
| 31 | (a b : ℝ) (s : StripData Native) : Prop where |
| 32 | normalized : ∀ (L : NativeLabel f.active) (y : Native), y ∈ nativePast → 0 ≤ y.1 → |
| 33 | (f.primary L).mask L.val.1 (nativeCylinder y) ≠ 0 → |
| 34 | (f.primary L).target L.val.1 (nativeCylinder y) ≠ 0 → |
| 35 | 1 / 2 ≤ SimilarityCoordinates.coordinateQ (2 * h) y.2.1 ∧ |
| 36 | SimilarityCoordinates.coordinateQ (2 * h) y.2.1 ≤ 2 ∧ |
| 37 | a ≤ y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ∧ |
| 38 | y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ≤ b |
| 39 | domain : ∀ (L : NativeLabel f.active) (y : Native), y ∈ nativePast → 0 ≤ y.1 → |
| 40 | (f.primary L).mask L.val.1 (nativeCylinder y) ≠ 0 → |
| 41 | (f.primary L).target L.val.1 (nativeCylinder y) ≠ 0 → y ∈ s.domain |
| 42 | mask_pullback : ∀ (L : NativeLabel f.active) (w : SpaceTime), |
| 43 | w ∈ PhysicalWaveSum.preterminal → |
| 44 | (f.primary L).mask L.val.1 |
| 45 | (cylinderZero (PhysicalGraphBounds.physicalLift h L.val.1 w)) = |
| 46 | PhysicalWaveSum.physicalMask (CoordinateAlgebra.D h) L.val |
| 47 | (PhysicalWaveSum.physicalParams h w) |
| 48 | |
| 49 | section Localization |
| 50 | |
| 51 | variable {h a b : ℝ} {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 52 | {f : SignedFamily U} {s : StripData Native} |
| 53 | (hloc : PrimitiveLocalization (h := h) f a b s) |
| 54 | |
| 55 | include hloc |
| 56 | |
| 57 | /-- Positive-time primitive localization supplies the actual Cartesian |
| 58 | annulus and slow-coordinate bound. -/ |
| 59 | theorem primitive_annulus (hh0 : 0 < h) (hh1 : h < 1 / 2) |
| 60 | (ha : 0 < a) (hb : 0 < b) (L : NativeLabel f.active) (x : LiftPoint) |
| 61 | (hx : 0 < x.1.1) |
| 62 | (hm : (f.primary L).mask L.val.1 (cylinderZero x) ≠ 0) |
| 63 | (hT : (f.primary L).target L.val.1 (cylinderZero x) ≠ 0) : |
| 64 | PhysicalGraphBounds.liftXY x ∈ PhysicalGraphBounds.annulus (a / 4) (2 * b) ∧ |
| 65 | ‖PhysicalGraphBounds.liftZT x‖ ≤ 2 := by |
| 66 | let y := PhysicalClassBounds.cylindricalMap x |
| 67 | have hy := hloc.normalized L y hx (Real.sqrt_nonneg _) hm hT |
| 68 | have hq : 0 < SimilarityCoordinates.coordinateQ (2 * h) y.2.1 := by linarith [hy.1] |
| 69 | have hs := Real.sqrt_pos.mpr hq |
| 70 | have hslow := normalized_slow_norm hh0 hh1 hx hy.1 hy.2.1 |
| 71 | have hlo : 1 / 2 ≤ Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) := |
| 72 | (Real.le_sqrt (by norm_num) hq.le).mpr (by nlinarith [hy.1]) |
| 73 | have hhi : Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ≤ 2 := |
| 74 | (Real.sqrt_le_left (by norm_num)).mpr (by linarith [hy.2.1]) |
| 75 | have hradlo := (le_div_iff₀ hs).mp hy.2.2.1 |
| 76 | have hradhi := (div_le_iff₀ hs).mp hy.2.2.2 |
| 77 | have hR : y.1 = PolarCharts.radius (PhysicalGraphBounds.liftXY x) := rfl |
| 78 | rw [hR] at hradlo hradhi |
| 79 | have hnorm : ‖PhysicalGraphBounds.liftXY x‖ ≤ 2 * b := by |
| 80 | exact (PolarCharts.norm_le_radius _).trans (hradhi.trans |
| 81 | (by simpa only [mul_comm] using mul_le_mul_of_nonneg_left hhi hb.le)) |
| 82 | have hnormlo : a / 4 ≤ ‖PhysicalGraphBounds.liftXY x‖ := by |
| 83 | have hradius := PolarCharts.radius_le_two_norm (PhysicalGraphBounds.liftXY x) |
| 84 | have hmul := mul_le_mul_of_nonneg_left hlo ha.le |
| 85 | linarith |
| 86 | constructor |
| 87 | · exact ⟨by simpa only [Metric.mem_closedBall, dist_zero_right] using hnorm, hnormlo⟩ |
| 88 | · change max ‖x.1.2.2.2‖ ‖x.1.1‖ ≤ 2 |
| 89 | change max ‖x.1.1‖ ‖x.1.2.2.2‖ ≤ 2 at hslow |
| 90 | simpa only [max_comm] using hslow |
| 91 | |
| 92 | theorem primitive_domain (L : NativeLabel f.active) (x : LiftPoint) |
| 93 | (hx : 0 < x.1.1) |
| 94 | (hm : (f.primary L).mask L.val.1 (cylinderZero x) ≠ 0) |
| 95 | (hT : (f.primary L).target L.val.1 (cylinderZero x) ≠ 0) : |
| 96 | PhysicalClassBounds.cylindricalMap x ∈ s.domain := |
| 97 | hloc.domain L _ hx (Real.sqrt_nonneg _) hm hT |
| 98 | |
| 99 | end Localization |
| 100 | |
| 101 | section Copies |
| 102 | |
| 103 | variable {D h : ℝ} |
| 104 | (sys : PartitionedCovariance.SlotSystem D h |
| 105 | ActualSignedGeometry.radialVector ActualSignedGeometry.temporalVector) |
| 106 | (hh : 0 ≤ h) {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} (f : SignedFamily U) |
| 107 | |
| 108 | /-- Only the positive-time representative changes; the native potential |
| 109 | source and every carrier are the original ones. -/ |
| 110 | noncomputable def potentialCopies (i : Fin 3) : PhysicalCopyBounds.CopyFamily 1 Frequency := |
| 111 | PositiveTimeCopyFamily.gate (ActualSignedPhysicalData.potentialFamily sys hh f i) |
| 112 | |
| 113 | noncomputable def pressureCopies : PhysicalCopyBounds.CopyFamily 1 Frequency := |
| 114 | PositiveTimeCopyFamily.gate (ActualSignedPhysicalData.pressureFamily sys hh f) |
| 115 | |
| 116 | noncomputable def potentialCells (i : Fin 3) : |
| 117 | PhysicalCopyBounds.SupportCells (potentialCopies sys hh f i) := |
| 118 | PositiveTimeCopyFamily.gateCells (localizedPotentialCells sys hh f i) |
| 119 | |
| 120 | noncomputable def pressureCells : |
| 121 | PhysicalCopyBounds.SupportCells (pressureCopies sys hh f) := |
| 122 | PositiveTimeCopyFamily.gateCells (localizedPressureCells sys hh f) |
| 123 | |
| 124 | variable {a b : ℝ} {s : StripData Native} |
| 125 | (hloc : PrimitiveLocalization (h := h) f a b s) |
| 126 | (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 : h < 1 / 2) |
| 127 | (ha : 0 < a) (hb : 0 < b) |
| 128 | |
| 129 | include hloc G hh0 hh1 ha hb |
| 130 | |
| 131 | /-- The globally quantified support record is valid for the explicit |
| 132 | positive-time amplitude representative. -/ |
| 133 | theorem potential_support (i : Fin 3) : |
| 134 | LocalPhysicalCopyBounds.SupportData (potentialCopies sys hh f i) |
| 135 | (a / 4) (2 * b) h sys.radius 2 0 where |
| 136 | gap_le _ := le_rfl |
| 137 | gap_native _ := Nat.zero_le _ |
| 138 | angular_integer k L := by |
| 139 | by_cases hL : L ∈ f.active |
| 140 | · refine ⟨(G.angular ⟨L.val, L.property, hL⟩).mode, ?_⟩ |
| 141 | simpa only [potentialCopies, PositiveTimeCopyFamily.gate, |
| 142 | ActualSignedPhysicalData.potentialFamily, extendedCarrier, dite_eq_left hL] using |
| 143 | angular_integer sys f G ⟨L.val, L.property, hL⟩ k |
| 144 | · exact ⟨0, by simp [potentialCopies, PositiveTimeCopyFamily.gate, |
| 145 | ActualSignedPhysicalData.potentialFamily, extendedCarrier, hL, |
| 146 | ActualSignedPhysicalData.carrier]⟩ |
| 147 | geometry_support k I w hw := by |
| 148 | obtain ⟨hpast, hraw⟩ := (PositiveTimeCopyFamily.gate_amplitude_ne_zero_iff |
| 149 | (ActualSignedPhysicalData.potentialFamily sys hh f i) k I _).mp hw |
| 150 | change 0 < (PhysicalWaveSum.commonLift h I.1.val.1 0 w).1.1 at hpast |
| 151 | change (ActualSignedPhysicalData.potentialFamily sys hh f i).amplitude k I |
| 152 | (PhysicalWaveSum.commonLift h I.1.val.1 0 w) ≠ 0 at hraw |
| 153 | rw [commonLift_zero] at hpast hraw |
| 154 | obtain ⟨hL, _, hm, ht⟩ := potential_amplitude_inputs sys hh f i k I _ hraw |
| 155 | have hn := primitive_annulus hloc hh0 hh1 ha hb |
| 156 | ⟨I.1.val, I.1.property, hL⟩ _ hpast hm ht |
| 157 | refine ⟨?_, hn.2, ?_⟩ |
| 158 | · simpa only [PhysicalGraphBounds.liftXY_physicalLift] using hn.1 |
| 159 | · have hc := potential_amplitude_mem sys hh f i k I _ hraw |
| 160 | have hwid := width_on_core sys I.1.val 0 k |
| 161 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w).2 hc |
| 162 | change |PhysicalGraphBounds.etaCoordinate |
| 163 | (PhysicalGraphBounds.nativeGraph h I.1.val.1 w - |
| 164 | (extendedCarrier (h := h) f I.1 k).center)| ≤ sys.radius |
| 165 | rw [extendedCarrier_center] |
| 166 | exact hwid |
| 167 | mask_support k I w hw hne := by |
| 168 | have hraw := ((PositiveTimeCopyFamily.gate_amplitude_ne_zero_iff |
| 169 | (ActualSignedPhysicalData.potentialFamily sys hh f i) k I _).mp hne).2 |
| 170 | change (ActualSignedPhysicalData.potentialFamily sys hh f i).amplitude k I |
| 171 | (PhysicalWaveSum.commonLift h I.1.val.1 0 w) ≠ 0 at hraw |
| 172 | rw [commonLift_zero] at hraw |
| 173 | obtain ⟨hL, _, hm, _⟩ := potential_amplitude_inputs sys hh f i k I _ hraw |
| 174 | rw [← hloc.mask_pullback ⟨I.1.val, I.1.property, hL⟩ w hw] |
| 175 | exact hm |
| 176 | |
| 177 | theorem pressure_support : |
| 178 | LocalPhysicalCopyBounds.SupportData (pressureCopies sys hh f) |
| 179 | (a / 4) (2 * b) h sys.radius 2 0 where |
| 180 | gap_le _ := le_rfl |
| 181 | gap_native _ := Nat.zero_le _ |
| 182 | angular_integer k L := by |
| 183 | by_cases hL : L ∈ f.active |
| 184 | · refine ⟨(G.angular ⟨L.val, L.property, hL⟩).mode, ?_⟩ |
| 185 | simpa only [pressureCopies, PositiveTimeCopyFamily.gate, |
| 186 | ActualSignedPhysicalData.pressureFamily, extendedCarrier, dite_eq_left hL] using |
| 187 | angular_integer sys f G ⟨L.val, L.property, hL⟩ k |
| 188 | · exact ⟨0, by simp [pressureCopies, PositiveTimeCopyFamily.gate, |
| 189 | ActualSignedPhysicalData.pressureFamily, extendedCarrier, hL, |
| 190 | ActualSignedPhysicalData.carrier]⟩ |
| 191 | geometry_support k I w hw := by |
| 192 | obtain ⟨hpast, hraw⟩ := (PositiveTimeCopyFamily.gate_amplitude_ne_zero_iff |
| 193 | (ActualSignedPhysicalData.pressureFamily sys hh f) k I _).mp hw |
| 194 | change 0 < (PhysicalWaveSum.commonLift h I.1.val.1 0 w).1.1 at hpast |
| 195 | change (ActualSignedPhysicalData.pressureFamily sys hh f).amplitude k I |
| 196 | (PhysicalWaveSum.commonLift h I.1.val.1 0 w) ≠ 0 at hraw |
| 197 | rw [commonLift_zero] at hpast hraw |
| 198 | obtain ⟨hL, _, hm, ht⟩ := pressure_amplitude_inputs sys hh f k I _ hraw |
| 199 | have hn := primitive_annulus hloc hh0 hh1 ha hb |
| 200 | ⟨I.1.val, I.1.property, hL⟩ _ hpast hm ht |
| 201 | refine ⟨?_, hn.2, ?_⟩ |
| 202 | · simpa only [PhysicalGraphBounds.liftXY_physicalLift] using hn.1 |
| 203 | · have hc := pressure_amplitude_mem sys hh f k I _ hraw |
| 204 | have hwid := width_on_core sys I.1.val 0 k |
| 205 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w).2 hc |
| 206 | change |PhysicalGraphBounds.etaCoordinate |
| 207 | (PhysicalGraphBounds.nativeGraph h I.1.val.1 w - |
| 208 | (extendedCarrier (h := h) f I.1 k).center)| ≤ sys.radius |
| 209 | rw [extendedCarrier_center] |
| 210 | exact hwid |
| 211 | mask_support k I w hw hne := by |
| 212 | have hraw := ((PositiveTimeCopyFamily.gate_amplitude_ne_zero_iff |
| 213 | (ActualSignedPhysicalData.pressureFamily sys hh f) k I _).mp hne).2 |
| 214 | change (ActualSignedPhysicalData.pressureFamily sys hh f).amplitude k I |
| 215 | (PhysicalWaveSum.commonLift h I.1.val.1 0 w) ≠ 0 at hraw |
| 216 | rw [commonLift_zero] at hraw |
| 217 | obtain ⟨hL, _, hm, _⟩ := pressure_amplitude_inputs sys hh f k I _ hraw |
| 218 | rw [← hloc.mask_pullback ⟨I.1.val, I.1.property, hL⟩ w hw] |
| 219 | exact hm |
| 220 | |
| 221 | omit hloc G hh0 hh1 hb in |
| 222 | noncomputable def potentialCarrier (hp : NativeProfiles (h := h) f) (i : Fin 3) : |
| 223 | PhysicalCopyBounds.CarrierBounds (potentialCopies sys hh f i) |
| 224 | (potentialCells sys hh f i) (a / 4) (2 * b) h sys.radius := |
| 225 | PositiveTimeCopyFamily.gateCarrier (localizedPotentialCells sys hh f i) |
| 226 | (ActualSignedPhysicalData.potentialCarrier sys hh f ha hp i) |
| 227 | |
| 228 | omit hloc G hh0 hh1 hb in |
| 229 | noncomputable def pressureCarrier (hp : NativeProfiles (h := h) f) : |
| 230 | PhysicalCopyBounds.CarrierBounds (pressureCopies sys hh f) |
| 231 | (pressureCells sys hh f) (a / 4) (2 * b) h sys.radius := |
| 232 | PositiveTimeCopyFamily.gateCarrier (localizedPressureCells sys hh f) |
| 233 | (ActualSignedPhysicalData.pressureCarrier sys hh f ha hp) |
| 234 | |
| 235 | omit hloc G hh0 hh1 hb in |
| 236 | theorem potential_amplitude_smooth (hn : NativeRegular sys hh f) |
| 237 | (i : Fin 3) (k : Frequency) (I : PhysicalWaveSum.WaveIndex 1) : |
| 238 | ContDiffOn ℝ ∞ ((potentialCopies sys hh f i).amplitude k I) (liftedNativePast a b) := by |
| 239 | apply (ActualSignedPhysicalData.potential_amplitude_smooth sys hh f ha hn i k I).congr |
| 240 | intro x hx |
| 241 | exact PositiveTimeCopyFamily.gate_amplitude_eq _ _ _ hx.2 |
| 242 | |
| 243 | omit hloc G hh0 hh1 hb in |
| 244 | theorem pressure_amplitude_smooth (hn : NativeRegular sys hh f) |
| 245 | (k : Frequency) (I : PhysicalWaveSum.WaveIndex 1) : |
| 246 | ContDiffOn ℝ ∞ ((pressureCopies sys hh f).amplitude k I) (liftedNativePast a b) := by |
| 247 | apply (ActualSignedPhysicalData.pressure_amplitude_smooth sys hh f ha hn k I).congr |
| 248 | intro x hx |
| 249 | exact PositiveTimeCopyFamily.gate_amplitude_eq _ _ _ hx.2 |
| 250 | |
| 251 | theorem potentialSmooth (hp : NativeProfiles (h := h) f) (hn : NativeRegular sys hh f) |
| 252 | (i : Fin 3) : |
| 253 | LocalPhysicalCopyBounds.SmoothData (potentialCopies sys hh f i) (a / 4) h sys.radius := by |
| 254 | let hr := potential_support sys hh f hloc G hh0 hh1 ha hb i |
| 255 | constructor |
| 256 | · intro k I w hw ht |
| 257 | exact LocalPhysicalCopyBounds.SmoothNear.of_open (liftedNativePast_open a b) |
| 258 | (potential_amplitude_smooth sys hh f ha hn i k I) |
| 259 | (commonLift_mem_liftedNativePast ha _ hw (hr.tsupport_geometry I k ht).1) |
| 260 | · intro k I w hw ht j hj |
| 261 | have hc := (potentialCells sys hh f i).term_tsupport_mem |
| 262 | (div_pos ha (by norm_num)) I k (hr.tsupport_geometry I k ht).1 ht |
| 263 | have hl := term_tsupport_labelRegion hr hh0 hh1 I k hw ht |
| 264 | have hp' := hp.covers I.1 w hw hl |
| 265 | (by simpa only [potentialCopies, PositiveTimeCopyFamily.gate, |
| 266 | ActualSignedPhysicalData.potentialFamily, commonLift_zero] using hc.2) |
| 267 | change LocalPhysicalCopyBounds.SmoothNear (extendedCarrier (h := h) f I.1 k).F |
| 268 | (LocalPhysicalCopyBounds.slotSlow ((extendedCarrier (h := h) f I.1 k).withChart j) _ _ _ _ _) ∧ |
| 269 | LocalPhysicalCopyBounds.SmoothNear (extendedCarrier (h := h) f I.1 k).G |
| 270 | (LocalPhysicalCopyBounds.slotSlow ((extendedCarrier (h := h) f I.1 k).withChart j) _ _ _ _ _) |
| 271 | rw [slotSlow_eq_nativeSlow (div_pos ha (by norm_num)) _ _ _ _ _ _ hj] |
| 272 | exact ⟨LocalPhysicalCopyBounds.SmoothNear.of_open (hp.region_open I.1) |
| 273 | (hp.jets.smooth (k, I.1)).fst hp', |
| 274 | LocalPhysicalCopyBounds.SmoothNear.of_open (hp.region_open I.1) |
| 275 | (hp.jets.smooth (k, I.1)).snd hp'⟩ |
| 276 | |
| 277 | theorem pressureSmooth (hp : NativeProfiles (h := h) f) (hn : NativeRegular sys hh f) : |
| 278 | LocalPhysicalCopyBounds.SmoothData (pressureCopies sys hh f) (a / 4) h sys.radius := by |
| 279 | let hr := pressure_support sys hh f hloc G hh0 hh1 ha hb |
| 280 | constructor |
| 281 | · intro k I w hw ht |
| 282 | exact LocalPhysicalCopyBounds.SmoothNear.of_open (liftedNativePast_open a b) |
| 283 | (pressure_amplitude_smooth sys hh f ha hn k I) |
| 284 | (commonLift_mem_liftedNativePast ha _ hw (hr.tsupport_geometry I k ht).1) |
| 285 | · intro k I w hw ht j hj |
| 286 | have hc := (pressureCells sys hh f).term_tsupport_mem |
| 287 | (div_pos ha (by norm_num)) I k (hr.tsupport_geometry I k ht).1 ht |
| 288 | have hl := term_tsupport_labelRegion hr hh0 hh1 I k hw ht |
| 289 | have hp' := hp.covers I.1 w hw hl |
| 290 | (by simpa only [pressureCopies, PositiveTimeCopyFamily.gate, |
| 291 | ActualSignedPhysicalData.pressureFamily, commonLift_zero] using hc.2) |
| 292 | change LocalPhysicalCopyBounds.SmoothNear (extendedCarrier (h := h) f I.1 k).F |
| 293 | (LocalPhysicalCopyBounds.slotSlow ((extendedCarrier (h := h) f I.1 k).withChart j) _ _ _ _ _) ∧ |
| 294 | LocalPhysicalCopyBounds.SmoothNear (extendedCarrier (h := h) f I.1 k).G |
| 295 | (LocalPhysicalCopyBounds.slotSlow ((extendedCarrier (h := h) f I.1 k).withChart j) _ _ _ _ _) |
| 296 | rw [slotSlow_eq_nativeSlow (div_pos ha (by norm_num)) _ _ _ _ _ _ hj] |
| 297 | exact ⟨LocalPhysicalCopyBounds.SmoothNear.of_open (hp.region_open I.1) |
| 298 | (hp.jets.smooth (k, I.1)).fst hp', |
| 299 | LocalPhysicalCopyBounds.SmoothNear.of_open (hp.region_open I.1) |
| 300 | (hp.jets.smooth (k, I.1)).snd hp'⟩ |
| 301 | |
| 302 | end Copies |
| 303 | |
| 304 | /-! ## Source charts confined to positive time -/ |
| 305 | |
| 306 | /-- The chart equality is asserted only on its actual open domain. The |
| 307 | source remains the original source, including its unchanged totalization. -/ |
| 308 | noncomputable def identitySourceChart {N : ℕ} {K I : Type} |
| 309 | (f : PhysicalCopyBounds.CopyFamily N K) (cells : PhysicalCopyBounds.SupportCells f) |
| 310 | {a b h r Z σ : ℝ} {gap : ℕ} (ha : 0 < a) |
| 311 | (hs : LocalPhysicalCopyBounds.SupportData (PositiveTimeCopyFamily.gate f) |
| 312 | a b h r Z gap) |
| 313 | (s : StripData LiftPoint) (source : I → ℕ → LiftPoint → ℂ) |
| 314 | (idx : K → PhysicalWaveSum.WaveIndex N → I) |
| 315 | (he : ∀ k J x, f.amplitude k J x = |
| 316 | ChartScales.Q J.1.val.1 ^ σ • source (idx k J) J.1.val.1 x) |
| 317 | (hd : ∀ k J x, x ∈ PositiveTimeCopyFamily.liftPast → |
| 318 | f.amplitude k J x ≠ 0 → x ∈ s.domain) : |
| 319 | LocalPhysicalCopyBounds.CommonChart (PositiveTimeCopyFamily.gate f) |
| 320 | (PositiveTimeCopyFamily.gateCells cells) a b h r σ source where |
| 321 | sourceIndex := idx |
| 322 | map _ _ := id |
| 323 | domain _ _ := s.domain ∩ PositiveTimeCopyFamily.liftPast |
| 324 | open_domain _ _ := s.isOpen_domain.inter PositiveTimeCopyFamily.liftPast_open |
| 325 | smooth _ _ := contDiffOn_id |
| 326 | positive_jets m := by |
| 327 | refine ⟨1, le_rfl, 0, ?_⟩ |
| 328 | intro k J x hx j hj hjm |
| 329 | simp only [pow_zero, mul_one] |
| 330 | exact (PhysicalGraphBounds.norm_positive_jet_linear_le |
| 331 | (ContinuousLinearMap.id ℝ LiftPoint) x hj).trans (by simp) |
| 332 | amplitude_eq k J x hx := |
| 333 | (PositiveTimeCopyFamily.gate_amplitude_eq f k J hx.2).trans (he k J x) |
| 334 | contains k J z _ _ _ _ hz := by |
| 335 | have hrad := (hs.tsupport_geometry J k hz).1 |
| 336 | have hm := (PhysicalWaveSum.commonLift_smoothAt h J.1.val.1 (f.gap J.1) |
| 337 | (PhysicalGraphBounds.scaledRadial_ne_zero |
| 338 | (PhysicalGraphBounds.annulus_axisFree ha hrad))).continuousAt |
| 339 | apply hm.continuousWithinAt.mem_closure hz |
| 340 | intro y hy |
| 341 | have hraw := (PositiveTimeCopyFamily.gate_amplitude_ne_zero_iff f k J _).mp |
| 342 | (PhysicalWaveSum.globalWave_ne_zero_amp hy) |
| 343 | exact ⟨hd k J _ hraw.1 hraw.2, hraw.1⟩ |
| 344 | |
| 345 | section WaveData |
| 346 | |
| 347 | variable {D h : ℝ} |
| 348 | (sys : PartitionedCovariance.SlotSystem D h |
| 349 | ActualSignedGeometry.radialVector ActualSignedGeometry.temporalVector) |
| 350 | (hh : 0 ≤ h) {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} (f : SignedFamily U) |
| 351 | {a b : ℝ} {s : StripData Native} |
| 352 | (hloc : PrimitiveLocalization (h := h) f a b s) |
| 353 | (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 : h < 1 / 2) |
| 354 | (ha : 0 < a) (hb : 0 < b) |
| 355 | |
| 356 | include hloc hh0 hh1 ha hb |
| 357 | |
| 358 | theorem potential_source_domain (i : Fin 3) (k : Frequency) |
| 359 | (I : PhysicalWaveSum.WaveIndex 1) (x : LiftPoint) |
| 360 | (hx : x ∈ PositiveTimeCopyFamily.liftPast) |
| 361 | (hne : (ActualSignedPhysicalData.potentialFamily sys hh f i).amplitude k I x ≠ 0) : |
| 362 | x ∈ (CartesianCopySource.pullStrip s (a / 4) (2 * b) |
| 363 | (div_pos ha (by norm_num))).domain := by |
| 364 | obtain ⟨hL, _, hm, ht⟩ := potential_amplitude_inputs sys hh f i k I x hne |
| 365 | have hg := primitive_annulus hloc hh0 hh1 ha hb |
| 366 | ⟨I.1.val, I.1.property, hL⟩ x hx hm ht |
| 367 | refine ⟨?_, primitive_domain hloc ⟨I.1.val, I.1.property, hL⟩ x hx hm ht⟩ |
| 368 | have hu : ‖PhysicalGraphBounds.liftXY x‖ ≤ 2 * b := by |
| 369 | simpa only [Metric.mem_closedBall, dist_zero_right] using hg.1.1 |
| 370 | have hl : a / 4 ≤ ‖PhysicalGraphBounds.liftXY x‖ := hg.1.2 |
| 371 | exact ⟨by change a / 4 / 2 < _; linarith, by change _ < 2 * b + 1; linarith⟩ |
| 372 | |
| 373 | theorem pressure_source_domain (k : Frequency) (I : PhysicalWaveSum.WaveIndex 1) |
| 374 | (x : LiftPoint) (hx : x ∈ PositiveTimeCopyFamily.liftPast) |
| 375 | (hne : (ActualSignedPhysicalData.pressureFamily sys hh f).amplitude k I x ≠ 0) : |
| 376 | x ∈ (CartesianCopySource.pullStrip s (a / 4) (2 * b) |
| 377 | (div_pos ha (by norm_num))).domain := by |
| 378 | obtain ⟨hL, _, hm, ht⟩ := pressure_amplitude_inputs sys hh f k I x hne |
| 379 | have hg := primitive_annulus hloc hh0 hh1 ha hb |
| 380 | ⟨I.1.val, I.1.property, hL⟩ x hx hm ht |
| 381 | refine ⟨?_, primitive_domain hloc ⟨I.1.val, I.1.property, hL⟩ x hx hm ht⟩ |
| 382 | have hu : ‖PhysicalGraphBounds.liftXY x‖ ≤ 2 * b := by |
| 383 | simpa only [Metric.mem_closedBall, dist_zero_right] using hg.1.1 |
| 384 | have hl : a / 4 ≤ ‖PhysicalGraphBounds.liftXY x‖ := hg.1.2 |
| 385 | exact ⟨by change a / 4 / 2 < _; linarith, by change _ < 2 * b + 1; linarith⟩ |
| 386 | |
| 387 | variable (hp : NativeProfiles (h := h) f) (hn : NativeRegular sys hh f) |
| 388 | {P : ℝ} (hP : 1 ≤ P) |
| 389 | (hf : ∀ L : NativeLabel f.active, |
| 390 | |((f.primary L).pulse (f.column L)).phase.p L.val.1| ≤ P ∧ |
| 391 | |((f.primary L).pulse (f.column L)).phase.pz L.val.1| ≤ P ∧ |
| 392 | |((f.primary L).pulse (f.column L)).phase.x0 L.val.1| ≤ P) |
| 393 | {α : ℝ} {w : SourceIndex → ℕ → Native → ℝ} |
| 394 | |
| 395 | /-- A physical potential datum using the original source bounds and the |
| 396 | proved positive-time support. No off-past localization is required. -/ |
| 397 | noncomputable def potentialWaveData |
| 398 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds s h α w |
| 399 | (nativePotentialSource sys hh f)) : |
| 400 | PhysicalStageBounds.WaveData h LiftPoint (Fin 3 × SourceIndex) Frequency (Fin 3) where |
| 401 | lowerRadius := a / 4 |
| 402 | upperRadius := 2 * b |
| 403 | nativeWidth := sys.radius |
| 404 | slowBound := 2 |
| 405 | frequencyBound := P |
| 406 | alpha := α |
| 407 | shift := -h |
| 408 | harmonics := 1 |
| 409 | gapBound := 0 |
| 410 | lower_pos := div_pos ha (by norm_num) |
| 411 | width_nonneg := sys.radius_pos.le |
| 412 | slow_nonneg := by norm_num |
| 413 | frequency_one_le := hP |
| 414 | strip := CartesianCopySource.pullStrip s (a / 4) (2 * b) (div_pos ha (by norm_num)) |
| 415 | weight I n x := w I.2 n (PhysicalClassBounds.cylindricalMap x) |
| 416 | source I n x := CartesianCopySource.rotatedSource (nativePotentialSource sys hh f) I.2 n x I.1 |
| 417 | source_bounds := componentSourceBounds (CartesianCopySource.sourceBounds_rotated |
| 418 | (b := 2 * b) (div_pos ha (by norm_num)) hs) |
| 419 | copies := potentialCopies sys hh f |
| 420 | cells := potentialCells sys hh f |
| 421 | chart i := identitySourceChart _ _ (div_pos ha (by norm_num)) |
| 422 | (potential_support sys hh f hloc G hh0 hh1 ha hb i) _ _ (fun k I => (i, I, k)) |
| 423 | (potential_amplitude_eq_source sys hh f i) |
| 424 | (potential_source_domain sys hh f hloc hh0 hh1 ha hb i) |
| 425 | chart_maps _ _ _ := fun _ hx => hx.1 |
| 426 | carrier := potentialCarrier sys hh f ha hp |
| 427 | support := potential_support sys hh f hloc G hh0 hh1 ha hb |
| 428 | smooth := potentialSmooth sys hh f hloc G hh0 hh1 ha hb hp hn |
| 429 | frequencies _ := carrier_frequencies f hP hf |
| 430 | |
| 431 | noncomputable def pressureWaveData |
| 432 | (hs : LocalPhysicalCopyBounds.LocalSourceBounds s h α w |
| 433 | (nativePressureSource sys hh f)) : |
| 434 | PhysicalStageBounds.WaveData h LiftPoint SourceIndex Frequency Unit where |
| 435 | lowerRadius := a / 4 |
| 436 | upperRadius := 2 * b |
| 437 | nativeWidth := sys.radius |
| 438 | slowBound := 2 |
| 439 | frequencyBound := P |
| 440 | alpha := α |
| 441 | shift := -(2 * CoordinateAlgebra.A h) |
| 442 | harmonics := 1 |
| 443 | gapBound := 0 |
| 444 | lower_pos := div_pos ha (by norm_num) |
| 445 | width_nonneg := sys.radius_pos.le |
| 446 | slow_nonneg := by norm_num |
| 447 | frequency_one_le := hP |
| 448 | strip := CartesianCopySource.pullStrip s (a / 4) (2 * b) (div_pos ha (by norm_num)) |
| 449 | weight I n x := w I n (PhysicalClassBounds.cylindricalMap x) |
| 450 | source I n x := nativePressureSource sys hh f I n (PhysicalClassBounds.cylindricalMap x) |
| 451 | source_bounds := CartesianCopySource.sourceBounds_pullback |
| 452 | (b := 2 * b) (div_pos ha (by norm_num)) hs |
| 453 | copies _ := pressureCopies sys hh f |
| 454 | cells _ := pressureCells sys hh f |
| 455 | chart _ := identitySourceChart _ _ (div_pos ha (by norm_num)) |
| 456 | (pressure_support sys hh f hloc G hh0 hh1 ha hb) _ _ (fun k I => (I, k)) |
| 457 | (pressure_amplitude_eq_source sys hh f) |
| 458 | (pressure_source_domain sys hh f hloc hh0 hh1 ha hb) |
| 459 | chart_maps _ _ _ := fun _ hx => hx.1 |
| 460 | carrier _ := pressureCarrier sys hh f ha hp |
| 461 | support _ := pressure_support sys hh f hloc G hh0 hh1 ha hb |
| 462 | smooth _ := pressureSmooth sys hh f hloc G hh0 hh1 ha hb hp hn |
| 463 | frequencies _ := carrier_frequencies f hP hf |
| 464 | |
| 465 | variable |
| 466 | (hpotential : LocalPhysicalCopyBounds.LocalSourceBounds s h α w |
| 467 | (nativePotentialSource sys hh f)) |
| 468 | (hpressure : LocalPhysicalCopyBounds.LocalSourceBounds s h α w |
| 469 | (nativePressureSource sys hh f)) |
| 470 | |
| 471 | /-- Every preterminal potential germ is the germ of the original physical |
| 472 | copy sum, including all spatial and time derivatives. -/ |
| 473 | theorem potentialWaveData_vector_germ {x : SpaceTime} |
| 474 | (hx : x ∈ PhysicalWaveSum.preterminal) : |
| 475 | (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector |
| 476 | =ᶠ[𝓝 x] PhysicalCopyBounds.vectorSum |
| 477 | (ActualSignedPhysicalData.potentialFamily sys hh f) (a / 4) h sys.radius := |
| 478 | PositiveTimeCopyFamily.vectorSum_germ |
| 479 | (ActualSignedPhysicalData.potentialFamily sys hh f) (a / 4) h sys.radius hx |
| 480 | |
| 481 | theorem pressureWaveData_pressure_germ {x : SpaceTime} |
| 482 | (hx : x ∈ PhysicalWaveSum.preterminal) : |
| 483 | (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).pressure |
| 484 | =ᶠ[𝓝 x] fun y => |
| 485 | ((ActualSignedPhysicalData.pressureFamily sys hh f).sum (a / 4) h sys.radius y).re := by |
| 486 | filter_upwards [PositiveTimeCopyFamily.sum_germ |
| 487 | (ActualSignedPhysicalData.pressureFamily sys hh f) (a / 4) h sys.radius hx] with y hy |
| 488 | exact congrArg Complex.re hy |
| 489 | |
| 490 | include G hp hn hP hf hpotential in |
| 491 | /-- The physical estimate applies to the original preterminal potential, |
| 492 | not just to its chosen positive-time representative. -/ |
| 493 | theorem potential_physical_bound (m : ℕ) : |
| 494 | ∃ C : ℝ, 0 ≤ C ∧ ∀ x ∈ PhysicalWaveSum.preterminal, |
| 495 | PhysicalWaveSum.physicalQ h x ≤ 1 → |
| 496 | ‖iteratedFDeriv ℝ m |
| 497 | (PhysicalCopyBounds.vectorSum (ActualSignedPhysicalData.potentialFamily sys hh f) |
| 498 | (a / 4) h sys.radius) x‖ ≤ |
| 499 | C * PhysicalWaveSum.physicalQ h x ^ |
| 500 | (h * α - PhysicalClassBounds.physicalLoss h (-h) m) := by |
| 501 | obtain ⟨C, hC, hbound⟩ := |
| 502 | (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector_bound |
| 503 | hh0 hh1 m |
| 504 | refine ⟨C, hC, fun x hx hq => ?_⟩ |
| 505 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 506 | (potentialWaveData_vector_germ sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential hx) m] |
| 507 | exact hbound x hx hq |
| 508 | |
| 509 | include G hp hn hP hf hpressure in |
| 510 | theorem pressure_physical_bound (m : ℕ) : |
| 511 | ∃ C : ℝ, 0 ≤ C ∧ ∀ x ∈ PhysicalWaveSum.preterminal, |
| 512 | PhysicalWaveSum.physicalQ h x ≤ 1 → |
| 513 | ‖iteratedFDeriv ℝ m |
| 514 | (fun y => ((ActualSignedPhysicalData.pressureFamily sys hh f).sum |
| 515 | (a / 4) h sys.radius y).re) x‖ ≤ |
| 516 | C * PhysicalWaveSum.physicalQ h x ^ |
| 517 | (h * α - PhysicalClassBounds.physicalLoss h (-(2 * CoordinateAlgebra.A h)) m) := by |
| 518 | obtain ⟨C, hC, hbound⟩ := |
| 519 | (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).pressure_bound |
| 520 | hh0 hh1 m |
| 521 | refine ⟨C, hC, fun x hx hq => ?_⟩ |
| 522 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 523 | (pressureWaveData_pressure_germ sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure hx) m] |
| 524 | exact hbound x hx hq |
| 525 | |
| 526 | end WaveData |
| 527 | |
| 528 | /-! ## The actual dependent signed family -/ |
| 529 | |
| 530 | section Actual |
| 531 | |
| 532 | open CorrectionInitialization |
| 533 | |
| 534 | variable {B N0 : ℕ} |
| 535 | (s : ∀ l : ActualSignedPhysicalBinding.Label B N0, |
| 536 | (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 537 | |
| 538 | /-- Every actual singleton supplies the positive-time primitive data. |
| 539 | Neither its current request nor any output support property is assumed. -/ |
| 540 | theorem singletonLocalization |
| 541 | (L : NativeLabel (ActualSignedExterior.family s).active) : |
| 542 | PrimitiveLocalization (h := ActualPrimary.h) |
| 543 | ((ActualSignedExterior.family s).singleton L) |
| 544 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 545 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 546 | ActualPrimaryBounds.strip where |
| 547 | normalized K y hy _ hm ht := by |
| 548 | have hK := (ActualSignedExterior.family s).singleton_label_val L K |
| 549 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).mask |
| 550 | K.val.1 (nativeCylinder y) ≠ 0 at hm |
| 551 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).target |
| 552 | K.val.1 (nativeCylinder y) ≠ 0 at ht |
| 553 | rw [hK, ← ActualSignedExterior.actualLabel_reference L] at hm ht |
| 554 | exact PositiveTimeSignedLocalization.normalized_bounds |
| 555 | (ActualSignedExterior.actualLabel L) y hy hm ht |
| 556 | domain K y hy _ hm ht := by |
| 557 | have hK := (ActualSignedExterior.family s).singleton_label_val L K |
| 558 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).mask |
| 559 | K.val.1 (nativeCylinder y) ≠ 0 at hm |
| 560 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).target |
| 561 | K.val.1 (nativeCylinder y) ≠ 0 at ht |
| 562 | rw [hK, ← ActualSignedExterior.actualLabel_reference L] at hm ht |
| 563 | exact PositiveTimeSignedLocalization.native_mem_strip |
| 564 | (ActualSignedExterior.actualLabel L) y hy hm ht |
| 565 | mask_pullback K x hx := by |
| 566 | have hK := (ActualSignedExterior.family s).singleton_label_val L K |
| 567 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).mask |
| 568 | K.val.1 (cylinderZero (PhysicalGraphBounds.physicalLift ActualPrimary.h K.val.1 x)) = _ |
| 569 | rw [hK] |
| 570 | have he := PositiveTimeSignedLocalization.mask_pullback |
| 571 | (ActualSignedExterior.actualLabel L) x hx |
| 572 | rw [ActualSignedExterior.actualLabel_reference L] at he |
| 573 | have hl : ActualSignedPhysicalBinding.spatialLabel (ActualSignedExterior.actualLabel L) = L.val := |
| 574 | congrArg Subtype.val (ActualSignedExterior.bandLabel_actualLabel L) |
| 575 | simpa only [hl] using he |
| 576 | |
| 577 | end Actual |
| 578 | |
| 579 | end NavierStokes.PositiveTimeSignedData |