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.ActualSignedStageControls |
| 2 | import NavierStokes.ActualWaveRegularityData |
| 3 | |
| 4 | /-! |
| 5 | # Actual signed outputs from native support estimates |
| 6 | |
| 7 | The background is the same chosen primary background. Its local controls |
| 8 | are restricted to the signed phase cells before applying the native-copy |
| 9 | localization and periodization estimates. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualSignedOutputBounds |
| 15 | |
| 16 | open Set Function Filter WeightedClasses CorrectionStep ActualSignedStageControls |
| 17 | open scoped ContDiff Topology BigOperators |
| 18 | |
| 19 | variable {B N0 : ℕ} |
| 20 | |
| 21 | noncomputable def copies (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 22 | (l : SignedLabel B N0) : PeriodizedWaveBounds.CopyData FullPoint Frequency := |
| 23 | (parameters l).copyData ActualPrimaryBounds.strip request |
| 24 | |
| 25 | noncomputable def jointCell (n : ℕ) (i : SignedLabel B N0 × Frequency) : Set FullPoint := |
| 26 | phaseCell i.1 n i.2 |
| 27 | |
| 28 | noncomputable def primaryIndex (i : SignedLabel B N0 × Frequency) : |
| 29 | ActualPrimaryBounds.CopyIndex B N0 := ((i.1.2, i.1.1), i.2) |
| 30 | |
| 31 | /-- Uniform primary estimates restrict to the actual signed phase cells. |
| 32 | The constants are chosen before both the label and the lattice copy. -/ |
| 33 | theorem primary_local {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 34 | {w : ℕ → ActualPrimaryBounds.CopyIndex B N0 → FullPoint → ℝ} {α : ℝ} |
| 35 | {f : ℕ → ActualPrimaryBounds.CopyIndex B N0 → FullPoint → E} |
| 36 | (hf : LocalizedWaveBounds.LocalClass fullStrip ActualPrimaryBounds.controlCell w α f) : |
| 37 | LocalizedWaveBounds.LocalClass fullStrip jointCell |
| 38 | (fun n i => w n (primaryIndex i)) α (fun n i => f n (primaryIndex i)) := by |
| 39 | refine ⟨fun n i x hx => hf.weight_nonneg n (primaryIndex i) x hx, |
| 40 | fun n i x hx hi => hf.smooth n (primaryIndex i) x hx hi.1, ?_⟩ |
| 41 | intro m |
| 42 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 43 | exact ⟨C, hC, p, fun n i x hx hi j hj => hb n (primaryIndex i) x hx hi.1 j hj⟩ |
| 44 | |
| 45 | theorem envelope_nonneg (l : SignedLabel B N0) (n : ℕ) (x : FullPoint) : |
| 46 | 0 ≤ envelope l n x := ActualPrimaryBounds.fullEnvelope_nonneg (l.2, l.1) n x |
| 47 | |
| 48 | theorem background_normal_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| 49 | (jointRawBackground (copies (B := B) (N0 := N0) request)).normal fullStrip (directions B) = |
| 50 | fun n i => ActualPrimaryBounds.actualFamily.normal fullStrip (directions B) n (primaryIndex i) := rfl |
| 51 | |
| 52 | theorem background_defect_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| 53 | (jointRawBackground (copies (B := B) (N0 := N0) request)).defect fullStrip (directions B) = |
| 54 | fun n i => ActualPrimaryBounds.actualFamily.defect fullStrip (directions B) n (primaryIndex i) := rfl |
| 55 | |
| 56 | /-- This background certificate has zero amplitude and pressure. Every |
| 57 | nonzero field in it is an actual primary background or phase expression. -/ |
| 58 | theorem background_inputs (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| 59 | LocalizedWaveBounds.InputBounds fullStrip jointCell |
| 60 | (fun n i x => envelope i.1 n x) 0 ChartScales.kappa (directions B) |
| 61 | (jointRawBackground (copies (B := B) (N0 := N0) request)) := by |
| 62 | have h := ActualPrimaryBounds.actual_local_inputs (B := B) (N0 := N0) |
| 63 | refine { |
| 64 | loss_nonneg := h.loss_nonneg |
| 65 | radial_profile := primary_local h.radial_profile |
| 66 | radial_scale := h.radial_scale |
| 67 | fast_scale := h.fast_scale |
| 68 | frequency_scale := primary_local h.frequency_scale |
| 69 | radius := primary_local h.radius |
| 70 | inverse_radius := primary_local h.inverse_radius |
| 71 | radial_base := primary_local h.radial_base |
| 72 | frequency_base := primary_local h.frequency_base |
| 73 | axial_base := primary_local h.axial_base |
| 74 | radial_base_aux := fun n i x hx hi => h.radial_base_aux n (primaryIndex i) x hx hi.1 |
| 75 | frequency_base_aux := fun n i x hx hi => h.frequency_base_aux n (primaryIndex i) x hx hi.1 |
| 76 | axial_base_aux := fun n i x hx hi => h.axial_base_aux n (primaryIndex i) x hx hi.1 |
| 77 | normal := primary_local h.normal |
| 78 | defect := primary_local h.defect |
| 79 | amplitude := ?_ |
| 80 | pressure := ?_ } |
| 81 | · intro j |
| 82 | exact LocalizedWaveBounds.LocalClass.zero |
| 83 | (fun n i x _ => mul_nonneg (Real.sqrt_nonneg _) (envelope_nonneg i.1 n x)) |
| 84 | · exact LocalizedWaveBounds.LocalClass.zero |
| 85 | (fun n i x _ => mul_nonneg (Real.sqrt_nonneg _) (envelope_nonneg i.1 n x)) |
| 86 | |
| 87 | theorem normal_range (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 88 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 89 | (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) : |
| 90 | ActualPrimaryBounds.normalFloor B N0 ≤ |
| 91 | ‖(copies request l).background.normal fullStrip (directions B) n x‖ ∧ |
| 92 | ‖(copies request l).background.normal fullStrip (directions B) n x‖ ≤ |
| 93 | ActualPrimaryBounds.normalCeiling B N0 := by |
| 94 | exact ActualPrimaryBounds.chart_normal_range (B := B) (N0 := N0) |
| 95 | (i := ((l.2, l.1), k)) (n := n) (x := x) hx hc.1 |
| 96 | |
| 97 | theorem inverse_frequency (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| 98 | LocalizedWaveBounds.LocalUnweighted fullStrip jointCell (1 / 2) |
| 99 | (fun n i (_ : FullPoint) => 1 / (copies (B := B) (N0 := N0) request i.1).background.frequency n) := |
| 100 | primary_local (ActualPrimaryBounds.inverse_carrier_local (B := B) (N0 := N0)) |
| 101 | |
| 102 | /-- A genuine cutoff zero germ kills both localized input fields. -/ |
| 103 | theorem localized_zero_of_cutoff (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 104 | (l : SignedLabel B N0) {n : ℕ} {k : Frequency} {x : FullPoint} |
| 105 | (hzero : cutoff l k n =ᶠ[𝓝 x] fun _ => 0) : |
| 106 | (((copies request l).localized k).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 107 | (((copies request l).localized k).pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 108 | constructor |
| 109 | · filter_upwards [hzero] with y hy |
| 110 | change cutoff l k n y • (copies request l).amplitude n k y = 0 |
| 111 | rw [hy, zero_smul] |
| 112 | · filter_upwards [hzero] with y hy |
| 113 | change (cutoff l k n y : ℂ) * (copies request l).pressure n k y = 0 |
| 114 | rw [hy, Complex.ofReal_zero, zero_mul] |
| 115 | |
| 116 | theorem localized_zero_of_mask (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 117 | (l : SignedLabel B N0) {n : ℕ} {k : Frequency} {x : FullPoint} |
| 118 | (hzero : mask l k n =ᶠ[𝓝 x] fun _ => 0) : |
| 119 | (((copies request l).localized k).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 120 | (((copies request l).localized k).pressure n =ᶠ[𝓝 x] fun _ => 0) := |
| 121 | PeriodizedSignedParameters.localized_zero_of_mask |
| 122 | (p := parameters l) (s := ActualPrimaryBounds.strip) request hzero |
| 123 | |
| 124 | /-- Every point in a copy cell either has the actual phase estimates or |
| 125 | has a neighborhood on which both localized input fields vanish. -/ |
| 126 | theorem phaseCell_or_localized_zero (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 127 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 128 | (hx : x ∈ fullStrip.domain) : |
| 129 | x ∈ phaseCell l n k ∨ |
| 130 | (((copies request l).localized k).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 131 | (((copies request l).localized k).pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 132 | rcases ActualWaveRegularityData.signed_phaseCell_or_zero l n k hx with hc | hcut | hmask |
| 133 | · exact Or.inl hc |
| 134 | · exact Or.inr (localized_zero_of_cutoff request l hcut) |
| 135 | · exact Or.inr (localized_zero_of_mask request l hmask) |
| 136 | |
| 137 | /-- These are the literal five outputs of one actual signed copy family. -/ |
| 138 | structure OutputBounds (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (α : ℝ) : Prop where |
| 139 | amplitude : LabelSumBounds.UniformWaveClass fullStrip (envelope (B := B) (N0 := N0)) α |
| 140 | (fun l => (copies request l).common.amplitude) |
| 141 | corrected : LabelSumBounds.UniformWaveClass fullStrip (envelope (B := B) (N0 := N0)) α |
| 142 | (fun l => ((copies request l).commonCorrected fullStrip (directions B)).amplitude) |
| 143 | pressure : LabelSumBounds.UniformWaveClass fullStrip (envelope (B := B) (N0 := N0)) (α + 1 / 2) |
| 144 | (fun l => (copies request l).common.pressure) |
| 145 | curl : LabelSumBounds.UniformWaveClass fullStrip (envelope (B := B) (N0 := N0)) |
| 146 | (α + 1 / 2 - ChartScales.kappa) |
| 147 | (fun l => (copies request l).common.curlCorrection fullStrip (directions B)) |
| 148 | good : LabelSumBounds.UniformWaveClass fullStrip (envelope (B := B) (N0 := N0)) |
| 149 | (α + 1 / 2 - 3 * ChartScales.kappa) |
| 150 | (fun l => (copies request l).globalGood fullStrip (directions B)) |
| 151 | |
| 152 | /-- Native input bounds are proved from the actual signed quotient and |
| 153 | projected pressure, followed by the actual single cutoff. -/ |
| 154 | theorem native_inputs {β : ℝ} {request : ℕ → FullPoint → SignedWaveUpdate.Vec2} |
| 155 | (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 156 | (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) |
| 157 | (fun _ n _ x => request n x q)) : |
| 158 | LocalizedWaveBounds.InputBounds fullStrip jointCell |
| 159 | (fun n i x => envelope i.1 n x) (β + 1 / 2) ChartScales.kappa (directions B) |
| 160 | (LocalizedWaveBounds.jointNativeFamily (copies (B := B) (N0 := N0) request)) := by |
| 161 | obtain ⟨ha, hp⟩ := raw_coefficients_jets hR |
| 162 | have hp' : PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 163 | (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) |
| 164 | ((β + 1 / 2) + 1 / 2) (phaseCell (B := B) (N0 := N0)) |
| 165 | (fun l => (copies request l).pressure) := by |
| 166 | simp only [show β + 1 / 2 + 1 / 2 = β + 1 by ring] |
| 167 | exact hp |
| 168 | have hin := uniform_localInput_of_coefficients (copies (B := B) (N0 := N0) request) |
| 169 | (background_inputs request) |
| 170 | (fun l n x _ => envelope_nonneg l n x) ha hp' |
| 171 | exact hin.with_cutoff (LocalizedWaveBounds.LocalClass.of_uniformLocalJets |
| 172 | (fun _ _ _ _ => zero_le_one) (cutoff_local_jets (B := B) (N0 := N0))) |
| 173 | |
| 174 | /-- All common outputs follow from native input estimates and actual |
| 175 | support. No common, corrected, or good output bound is a premise. -/ |
| 176 | theorem common_bounds {β : ℝ} {request : ℕ → FullPoint → SignedWaveUpdate.Vec2} |
| 177 | (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 178 | (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) |
| 179 | (fun _ n _ x => request n x q)) : OutputBounds (B := B) (N0 := N0) request (β + 1 / 2) := by |
| 180 | have hout := LocalizedWaveBounds.uniform_common_bounds_from_supported_native |
| 181 | (copies (B := B) (N0 := N0) request) cells (fun l n k => cutoff_support l n k) phaseCell |
| 182 | (fun l n x _ => envelope_nonneg l n x) (native_inputs hR) |
| 183 | (show ChartScales.kappa ≤ 1 / 2 by norm_num [ChartScales.kappa]) |
| 184 | (ActualPrimaryBounds.normalFloor_pos B N0) |
| 185 | (fun l n k x hx hc => (normal_range request l n k hx hc).1) |
| 186 | (fun l n k x hx hc => (normal_range request l n k hx hc).2) |
| 187 | (inverse_frequency request) |
| 188 | (fun l n k x hx _ => phaseCell_or_localized_zero request l n k hx) |
| 189 | exact ⟨hout.1, hout.2.1, hout.2.2.1, hout.2.2.2.1, hout.2.2.2.2⟩ |
| 190 | |
| 191 | /-- The actual request is estimated from the current measured residuals. |
| 192 | Only primitive incoming state data and its ordinary mean classes are used. -/ |
| 193 | theorem actual_common_bounds (G : SignedMeanGain.Geometry) |
| 194 | (hs : G.strip = ActualPrimaryBounds.strip) |
| 195 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) |
| 196 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 197 | (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) |
| 198 | (hθ : MeanClass G.strip α (u.thetaResidual c)) |
| 199 | (hz : MeanClass G.strip α (u.axialResidual c)) : |
| 200 | OutputBounds (B := B) (N0 := N0) |
| 201 | (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u) (α - 1 / 2) := by |
| 202 | have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz |
| 203 | (phaseCell (B := B) (N0 := N0)) |
| 204 | have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 205 | (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) |
| 206 | (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by |
| 207 | simp only [hs] at hr ⊢ |
| 208 | exact hr |
| 209 | simpa only [show α - 1 + 1 / 2 = α - 1 / 2 by ring] using common_bounds hr' |
| 210 | |
| 211 | noncomputable def meanEnvelope (l : SignedLabel B N0) (n : ℕ) (x : Point) : ℝ := |
| 212 | envelope l n (x, 0) |
| 213 | |
| 214 | /-- The same bounds apply to the actual stored tangent, exact, pressure, |
| 215 | curl-difference, and good harmonic blocks. -/ |
| 216 | theorem block_bounds {β : ℝ} {request : ℕ → FullPoint → SignedWaveUpdate.Vec2} |
| 217 | (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 218 | (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) |
| 219 | (fun _ n _ x => request n x q)) : |
| 220 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 221 | (meanEnvelope (B := B) (N0 := N0)) (β + 1 / 2) |
| 222 | (fun l n x => ((parameters l).tangentBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 223 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 224 | (meanEnvelope (B := B) (N0 := N0)) (β + 1 / 2) |
| 225 | (fun l n x => ((parameters l).exactBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 226 | (∀ j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 227 | (meanEnvelope (B := B) (N0 := N0)) (β + 1) |
| 228 | (fun l n x => ((parameters l).exactBlock ActualPrimaryBounds.strip request).pressure n j x)) ∧ |
| 229 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 230 | (meanEnvelope (B := B) (N0 := N0)) |
| 231 | (β + 1 - ChartScales.kappa) |
| 232 | (fun l n x => ((parameters l).curlBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 233 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 234 | (meanEnvelope (B := B) (N0 := N0)) |
| 235 | (β + 1 - 3 * ChartScales.kappa) |
| 236 | (fun l n x => ((parameters l).goodBlock ActualPrimaryBounds.strip request).velocity n i j x)) := by |
| 237 | have h := common_bounds hR |
| 238 | simpa only [show β + 1 / 2 + 1 / 2 = β + 1 by ring] using |
| 239 | PeriodizedSignedParameters.uniform_block_bounds (parameters (B := B) (N0 := N0)) |
| 240 | ActualPrimaryBounds.strip request |
| 241 | (P := meanEnvelope (B := B) (N0 := N0)) (α := β + 1 / 2) (κ := ChartScales.kappa) |
| 242 | h.amplitude h.corrected h.pressure h.curl h.good |
| 243 | |
| 244 | /-- The stored signed blocks are bounded directly from the measured |
| 245 | incoming residuals. There is no signed-output estimate among the inputs. -/ |
| 246 | theorem actual_block_bounds (G : SignedMeanGain.Geometry) |
| 247 | (hs : G.strip = ActualPrimaryBounds.strip) |
| 248 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) |
| 249 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 250 | (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) |
| 251 | (hθ : MeanClass G.strip α (u.thetaResidual c)) |
| 252 | (hz : MeanClass G.strip α (u.axialResidual c)) : |
| 253 | let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u |
| 254 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 255 | (meanEnvelope (B := B) (N0 := N0)) (α - 1 / 2) |
| 256 | (fun l n x => ((parameters l).tangentBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 257 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 258 | (meanEnvelope (B := B) (N0 := N0)) (α - 1 / 2) |
| 259 | (fun l n x => ((parameters l).exactBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 260 | (∀ j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 261 | (meanEnvelope (B := B) (N0 := N0)) α |
| 262 | (fun l n x => ((parameters l).exactBlock ActualPrimaryBounds.strip request).pressure n j x)) ∧ |
| 263 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 264 | (meanEnvelope (B := B) (N0 := N0)) (α - ChartScales.kappa) |
| 265 | (fun l n x => ((parameters l).curlBlock ActualPrimaryBounds.strip request).velocity n i j x)) ∧ |
| 266 | (∀ i j, LabelSumBounds.UniformWaveClass ActualPrimaryBounds.strip |
| 267 | (meanEnvelope (B := B) (N0 := N0)) (α - 3 * ChartScales.kappa) |
| 268 | (fun l n x => ((parameters l).goodBlock ActualPrimaryBounds.strip request).velocity n i j x)) := by |
| 269 | dsimp only |
| 270 | have h := actual_common_bounds (B := B) (N0 := N0) G hs c u α H hfixed hθ hz |
| 271 | simpa only [sub_add_cancel] using |
| 272 | PeriodizedSignedParameters.uniform_block_bounds (parameters (B := B) (N0 := N0)) |
| 273 | ActualPrimaryBounds.strip (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u) |
| 274 | (P := meanEnvelope (B := B) (N0 := N0)) (α := α - 1 / 2) (κ := ChartScales.kappa) |
| 275 | h.amplitude h.corrected h.pressure h.curl h.good |
| 276 | |
| 277 | /-- The cut native vector-potential coefficient before restoring the |
| 278 | carrier or applying the physical coordinate prefactor. -/ |
| 279 | noncomputable def localPotential (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 280 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x : FullPoint) : |
| 281 | HarmonicCalculus.ComplexVector := |
| 282 | CurlClassBounds.inverseCarrier ((copies request l).background.frequency n) • |
| 283 | CurlClassBounds.normalCoefficient |
| 284 | ((copies request l).background.normal fullStrip (directions B) n x) |
| 285 | (((copies request l).localized k).amplitude n x) |
| 286 | |
| 287 | /-- The inverse carrier supplies the extra half-power in the actual |
| 288 | localized vector potential. Physical scaling factors stay outside it. -/ |
| 289 | theorem localPotential_jets {β : ℝ} {request : ℕ → FullPoint → SignedWaveUpdate.Vec2} |
| 290 | (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 291 | (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) |
| 292 | (fun _ n _ x => request n x q)) : |
| 293 | PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 294 | (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) (β + 1) |
| 295 | (phaseCell (B := B) (N0 := N0)) (localPotential request) := by |
| 296 | have hc := (native_inputs hR).normalCoefficient_class |
| 297 | (ActualPrimaryBounds.normalFloor_pos B N0) |
| 298 | (fun n i x hx hi => (normal_range request i.1 n i.2 hx hi).1) |
| 299 | (fun n i x hx hi => (normal_range request i.1 n i.2 hx hi).2) |
| 300 | have hi := (LocalizedWaveBounds.unweighted_smul (inverse_frequency request) hc).map |
| 301 | (Complex.I • ContinuousLinearMap.id ℝ HarmonicCalculus.ComplexVector) |
| 302 | rw [show (1 / 2 : ℝ) + (β + 1 / 2) = β + 1 by ring] at hi |
| 303 | have hp : LocalizedWaveBounds.LocalWave fullStrip (jointCell (B := B) (N0 := N0)) |
| 304 | (fun n i x => envelope i.1 n x) (β + 1) |
| 305 | (fun n i => localPotential request i.1 n i.2) := by |
| 306 | apply hi.congr |
| 307 | intro n i x |
| 308 | ext j |
| 309 | simp only [_root_.smul_apply, ContinuousLinearMap.id_apply, |
| 310 | Pi.smul_apply, Complex.real_smul, smul_eq_mul, localPotential, |
| 311 | CurlClassBounds.inverseCarrier] |
| 312 | push_cast |
| 313 | ring_nf |
| 314 | rfl |
| 315 | exact hp.to_uniformLocalJets |
| 316 | |
| 317 | theorem localized_pressure_jets {β : ℝ} {request : ℕ → FullPoint → SignedWaveUpdate.Vec2} |
| 318 | (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 319 | (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) |
| 320 | (fun _ n _ x => request n x q)) : |
| 321 | PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 322 | (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) (β + 1) |
| 323 | (phaseCell (B := B) (N0 := N0)) |
| 324 | (fun l n k => ((copies request l).localized k).pressure n) := by |
| 325 | have hp := (native_inputs hR).pressure |
| 326 | rw [show β + 1 / 2 + 1 / 2 = β + 1 by ring] at hp |
| 327 | exact hp.to_uniformLocalJets |
| 328 | |
| 329 | /-- Native potential and pressure bounds directly from the actual |
| 330 | incoming residual classes, before their distinct physical prefactors. -/ |
| 331 | theorem actual_native_potential_pressure_jets (G : SignedMeanGain.Geometry) |
| 332 | (hs : G.strip = ActualPrimaryBounds.strip) |
| 333 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) |
| 334 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 335 | (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) |
| 336 | (hθ : MeanClass G.strip α (u.thetaResidual c)) |
| 337 | (hz : MeanClass G.strip α (u.axialResidual c)) : |
| 338 | let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u |
| 339 | PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 340 | (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α |
| 341 | (phaseCell (B := B) (N0 := N0)) (localPotential request) ∧ |
| 342 | PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 343 | (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α |
| 344 | (phaseCell (B := B) (N0 := N0)) |
| 345 | (fun l n k => ((copies request l).localized k).pressure n) := by |
| 346 | dsimp only |
| 347 | have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz |
| 348 | (phaseCell (B := B) (N0 := N0)) |
| 349 | have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip |
| 350 | (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) |
| 351 | (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by |
| 352 | simp only [hs] at hr ⊢ |
| 353 | exact hr |
| 354 | exact ⟨by simpa only [sub_add_cancel] using localPotential_jets hr', |
| 355 | by simpa only [sub_add_cancel] using localized_pressure_jets hr'⟩ |
| 356 | |
| 357 | end NavierStokes.ActualSignedOutputBounds |