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