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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #444 chore(NavierStokes/Physical): delete 32 declarations nothing uses
1 commit
+0 −131 NavierStokes/PhysicalClassBounds.lean View file
| @@ -113,100 +113,6 @@ theorem UniformClass.edge_absorbed {s : StripData D} {cL cR L : ℝ} {ρ : D → | ||
| 113 | 113 | mul_le_mul_of_nonneg_left (hKx x hx) (mul_nonneg (mul_nonneg hC he) hs) |
| 114 | 114 | _ = _ := by ring |
| 115 | 115 | |
| 116 | -/-- The support boundary is included by continuity of the actual jets. | |
| 117 | -Outside it all jets vanish, because there is an actual zero neighborhood. -/ | |
| 118 | -theorem jets_bound_global_of_support {f : D → E} {U : Set D} {B : ℝ} | |
| 119 | - (hf : ContDiff ℝ ∞ f) (hB : 0 ≤ B) (hs : tsupport f ⊆ closure U) | |
| 120 | - (m : ℕ) (hb : ∀ x ∈ U, ‖iteratedFDeriv ℝ m f x‖ ≤ B) : | |
| 121 | - ∀ x, ‖iteratedFDeriv ℝ m f x‖ ≤ B := by | |
| 122 | - intro x | |
| 123 | - by_cases hx : x ∈ closure U | |
| 124 | - · exact (closure_minimal hb (isClosed_le | |
| 125 | - (hf.continuous_iteratedFDeriv (nat_le_infty m)).norm continuous_const)) hx | |
| 126 | - · rw [PhysicalWaveSum.jet_zero_off_tsupport f m (fun ht => hx (hs ht)), norm_zero] | |
| 127 | - exact hB | |
| 128 | - | |
| 129 | -theorem UniformClass.edge_absorbed_global {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} | |
| 130 | - (hg : FlatGeometry s cL cR L ρ) {c α : ℝ} (hc : 0 < c) | |
| 131 | - {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 132 | - (hf : UniformClass s w α f) | |
| 133 | - (hw : ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c) | |
| 134 | - (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) | |
| 135 | - (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : | |
| 136 | - ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n x, ∀ j ≤ m, | |
| 137 | - ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ A * s.epsilon n ^ α * s.slow n ^ p := by | |
| 138 | - obtain ⟨A, hA, p, hb⟩ := UniformClass.edge_absorbed hg hc hf hw m | |
| 139 | - refine ⟨A, hA, p, ?_⟩ | |
| 140 | - intro l n x j hj | |
| 141 | - have hp : 0 ≤ A * s.epsilon n ^ α * s.slow n ^ p := | |
| 142 | - mul_nonneg (mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) | |
| 143 | - (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _) | |
| 144 | - apply jets_bound_global_of_support (hfc l n) hp (hs l n) j | |
| 145 | - (fun y hy => hb l n y hy j hj) x | |
| 146 | - | |
| 147 | -/-- Conversion to physical band powers is exact; no exponent is lost when | |
| 148 | -the two flat edges are removed. -/ | |
| 149 | -theorem UniformClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} | |
| 150 | - (hg : FlatGeometry s cL cR L ρ) {c α h K : ℝ} {q : ℕ} | |
| 151 | - (hc : 0 < c) (hK : 1 ≤ K) | |
| 152 | - (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) | |
| 153 | - (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) | |
| 154 | - {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 155 | - (hf : UniformClass s w α f) | |
| 156 | - (hw : ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c) | |
| 157 | - (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) | |
| 158 | - (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : | |
| 159 | - ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, | |
| 160 | - ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ | |
| 161 | - A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := by | |
| 162 | - obtain ⟨A, hA, p, hb⟩ := UniformClass.edge_absorbed_global hg hc hf hw hfc hs m | |
| 163 | - refine ⟨A * K ^ p, mul_nonneg hA (pow_nonneg (zero_le_one.trans hK) _), q * p, ?_⟩ | |
| 164 | - intro l n hn x j hj | |
| 165 | - have he : s.epsilon n ^ α = ChartScales.Q n ^ (h * α) := by | |
| 166 | - rw [hε, ChartScales.epsilon, ← Real.rpow_mul (ChartScales.Q_pos n).le] | |
| 167 | - calc | |
| 168 | - _ ≤ A * s.epsilon n ^ α * s.slow n ^ p := hb l n x j hj | |
| 169 | - _ ≤ A * s.epsilon n ^ α * (K * ChartScales.S n ^ q) ^ p := | |
| 170 | - mul_le_mul_of_nonneg_left | |
| 171 | - (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (hslow n hn) p) | |
| 172 | - (mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) | |
| 173 | - _ = _ := by rw [he, mul_pow, ← pow_mul]; ring | |
| 174 | - | |
| 175 | -theorem waveWeight_le {s : StripData D} {P : ι → ℕ → D → ℝ} | |
| 176 | - (hP : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) : | |
| 177 | - ∀ l n x, x ∈ s.domain → Real.sqrt (s.zeta x) * P l n x ≤ s.zeta x ^ (1 / 2 : ℝ) := by | |
| 178 | - intro l n x hx | |
| 179 | - rw [← Real.sqrt_eq_rpow] | |
| 180 | - exact mul_le_of_le_one_right (Real.sqrt_nonneg _) (hP l n x hx) | |
| 181 | - | |
| 182 | -theorem UniformWaveClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} | |
| 183 | - (hg : FlatGeometry s cL cR L ρ) {α h K : ℝ} {q : ℕ} (hK : 1 ≤ K) | |
| 184 | - (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) | |
| 185 | - (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) | |
| 186 | - {P : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 187 | - (hf : UniformWaveClass s P α f) | |
| 188 | - (hP : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) | |
| 189 | - (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) | |
| 190 | - (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : | |
| 191 | - ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, | |
| 192 | - ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ | |
| 193 | - A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := | |
| 194 | - UniformClass.chart_bound hg (by norm_num : (0 : ℝ) < 1 / 2) hK hε hslow hf | |
| 195 | - (waveWeight_le hP) hfc hs m | |
| 196 | - | |
| 197 | -theorem UniformMeanClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} | |
| 198 | - (hg : FlatGeometry s cL cR L ρ) {α h K : ℝ} {q : ℕ} (hK : 1 ≤ K) | |
| 199 | - (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) | |
| 200 | - (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) | |
| 201 | - {f : ι → ℕ → D → E} (hf : UniformMeanClass s α f) | |
| 202 | - (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) | |
| 203 | - (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : | |
| 204 | - ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, | |
| 205 | - ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ | |
| 206 | - A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := | |
| 207 | - UniformClass.chart_bound hg (by norm_num : (0 : ℝ) < 1) hK hε hslow hf | |
| 208 | - (by intro l n x hx; rw [Real.rpow_one]) hfc hs m | |
| 209 | - | |
| 210 | 116 | /-- Primitive input for the physical bridge. In particular, `uniform` |
| 211 | 117 | places its constants before the label, and `support` concerns the actual |
| 212 | 118 | coefficient, not a prescribed bound for its derivatives. -/ |
| @@ -221,17 +127,6 @@ structure SourceBounds (s : StripData D) (h α : ℝ) | ||
| 221 | 127 | smooth : ∀ l n, ContDiff ℝ ∞ (f l n) |
| 222 | 128 | support : ∀ l n, tsupport (f l n) ⊆ closure s.domain |
| 223 | 129 | |
| 224 | -theorem SourceBounds.chart_bound {s : StripData D} {h α : ℝ} | |
| 225 | - {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 226 | - (hf : SourceBounds s h α w f) (m : ℕ) : | |
| 227 | - ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, | |
| 228 | - ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ | |
| 229 | - A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := by | |
| 230 | - obtain ⟨cL, cR, L, ρ, hg⟩ := hf.flat_geometry | |
| 231 | - obtain ⟨c, hc, hw⟩ := hf.weight_le | |
| 232 | - obtain ⟨K, hK, q, hq⟩ := hf.slow_le | |
| 233 | - exact UniformClass.chart_bound hg hc hK hf.epsilon_eq hq hf.uniform hw hf.smooth hf.support m | |
| 234 | - | |
| 235 | 130 | theorem SourceBounds.map {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 236 | 131 | {s : StripData D} {h α : ℝ} {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 237 | 132 | (hf : SourceBounds s h α w f) (T : E →L[ℝ] V) : |
| @@ -339,32 +234,6 @@ noncomputable def jointCurl : (ProblemStatement.SpaceTime →L[ℝ] ProblemState | ||
| 339 | 234 | ((ContinuousLinearMap.compL ℝ ProblemStatement.Space ProblemStatement.SpaceTime |
| 340 | 235 | ProblemStatement.Space).flip spatialInclusion) |
| 341 | 236 | |
| 342 | -theorem spatialCurl_eq_joint {A : ProblemStatement.VelocityField} {z : ProblemStatement.SpaceTime} | |
| 343 | - (hA : DifferentiableAt ℝ A z) : | |
| 344 | - SpatialCurl.spatialCurl A z = jointCurl (fderiv ℝ A z) := by | |
| 345 | - have hi : HasFDerivAt (fun y : ProblemStatement.Space => (z.1, y)) spatialInclusion z.2 := | |
| 346 | - (hasFDerivAt_const z.1 z.2).prodMk (hasFDerivAt_id z.2) | |
| 347 | - have hd := (hA.hasFDerivAt.comp z.2 hi).fderiv | |
| 348 | - change SpatialCurl.curlLinear (fderiv ℝ (fun y => A (z.1, y)) z.2) = | |
| 349 | - SpatialCurl.curlLinear ((fderiv ℝ A z).comp spatialInclusion) | |
| 350 | - exact congrArg SpatialCurl.curlLinear hd | |
| 351 | - | |
| 352 | -/-- Taking the actual spatial curl costs exactly one joint derivative | |
| 353 | -and a fixed linear-operator norm. -/ | |
| 354 | -theorem spatialCurl_jet_bound {A : ProblemStatement.VelocityField} | |
| 355 | - {U : Set ProblemStatement.SpaceTime} (hU : IsOpen U) (hA : ContDiffOn ℝ ∞ A U) | |
| 356 | - {z : ProblemStatement.SpaceTime} (hz : z ∈ U) (m : ℕ) : | |
| 357 | - ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z‖ ≤ | |
| 358 | - ‖jointCurl‖ * ‖iteratedFDeriv ℝ (m + 1) A z‖ := by | |
| 359 | - have he : SpatialCurl.spatialCurl A =ᶠ[𝓝 z] jointCurl ∘ fderiv ℝ A := by | |
| 360 | - filter_upwards [hU.mem_nhds hz] with y hy | |
| 361 | - exact spatialCurl_eq_joint ((hA.contDiffAt (hU.mem_nhds hy)).differentiableAt (by simp)) | |
| 362 | - rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq he m] | |
| 363 | - have hd : ContDiffAt ℝ ∞ (fderiv ℝ A) z := | |
| 364 | - (hA.contDiffAt (hU.mem_nhds hz)).fderiv_right (by simp) | |
| 365 | - have hb := PhysicalWaveSum.norm_jet_linear_comp_at (hd.of_le (nat_le_infty m)) jointCurl | |
| 366 | - simpa only [norm_iteratedFDeriv_fderiv] using hb | |
| 367 | - | |
| 368 | 237 | @[simp] theorem physicalLoss_potential (h : ℝ) (m : ℕ) : |
| 369 | 238 | physicalLoss h (-h) m = PhysicalGraphBounds.waveLoss h m + h := by |
| 370 | 239 | simp [physicalLoss] |
+0 −7 NavierStokes/PhysicalMeanJetBounds.lean View file
| @@ -434,13 +434,6 @@ smoothness, including the zero neighborhood at the spatial axis. -/ | ||
| 434 | 434 | noncomputable def physicalDomain (h : ℝ) (N : ℕ) : Set SpaceTime := |
| 435 | 435 | {w | w ∈ preterminal ∧ physicalQ h w < ChartScales.Q N} |
| 436 | 436 | |
| 437 | -theorem physicalDomain_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (N : ℕ) : | |
| 438 | - IsOpen (physicalDomain h N) := by | |
| 439 | - apply isOpen_iff_mem_nhds.mpr | |
| 440 | - intro w hw | |
| 441 | - exact inter_mem (preterminal_open.mem_nhds hw.1) | |
| 442 | - ((physicalQ_smoothAt hh hh1 hw.1).continuousAt (isOpen_Iio.mem_nhds hw.2)) | |
| 443 | - | |
| 444 | 437 | theorem CoherentFamily.field_smooth (D : CoherentFamily h degree N Δ U E) |
| 445 | 438 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 446 | 439 | (hU : IsOpen U) |
+0 −99 NavierStokes/PhysicalParticularWave.lean View file
| @@ -323,9 +323,6 @@ theorem phaseNormal_chartChange {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | ||
| 323 | 323 | noncomputable def referenceFrequency (D : AssemblyData Parameter) (j : ℤ) : ℝ := |
| 324 | 324 | (j : ℝ) * D.carrierBlock.frequency D.reference.band |
| 325 | 325 | |
| 326 | -noncomputable def referencePhase (D : AssemblyData Parameter) (j : ℤ) : WaveSpace → ℝ := | |
| 327 | - (actualCarrier D.background D.carrierBlock j).phase D.reference.band | |
| 328 | - | |
| 329 | 326 | theorem nativeMap_add_angle (h Q : ℝ) (i : ℕ) (z : SpaceTime) (s : ℝ) : |
| 330 | 327 | nativeMap h Q i (z + s • (0, coordinateVector 1)) = |
| 331 | 328 | nativeMap h Q i z + s • (((0 : Parameter), (1 : ℝ)), (0 : Plane)) := by |
| @@ -359,9 +356,6 @@ structure ReferenceChart (D : AssemblyData Parameter) (h Qr : ℝ) (I : ℕ) : P | ||
| 359 | 356 | axial : PhysicalCurlCovariance.reindexVector waveEquiv.toContinuousLinearEquiv |
| 360 | 357 | (D.directions.axialField D.strip D.reference.band) = (PhysicalResidualBridge.commonGraph Qr h I).axial |
| 361 | 358 | |
| 362 | -noncomputable def liftPhase (D : AssemblyData Parameter) (j : ℤ) : Cylinder → ℝ := | |
| 363 | - fun x => referencePhase D j (waveEquiv x) | |
| 364 | - | |
| 365 | 359 | section ReferenceRealization |
| 366 | 360 | |
| 367 | 361 | variable (D : AssemblyData Parameter) {h Qr : ℝ} {I : ℕ} (H : ReferenceChart D h Qr I) |
| @@ -386,30 +380,6 @@ theorem waveEquiv_cylinderChange (h Q Qr : ℝ) (gap : ℕ) (x : Cylinder) : | ||
| 386 | 380 | noncomputable def referenceSource (D : AssemblyData Parameter) (j : ℤ) : Parameter × Plane → ComplexVector := |
| 387 | 381 | residualSource D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j D.reference.band |
| 388 | 382 | |
| 389 | -noncomputable def bandAmplitude (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 390 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) : Parameter × Plane → ComplexVector := | |
| 391 | - ParticularWaveBounds.commonVelocity | |
| 392 | - (ScaledTangentTransport.transportTangent (D.reference.tangent j) (parameterChange h Q Qr) gap 0 | |
| 393 | - (clockWeight h Q Qr) (velocityWeight h Q Qr) (normalWeight Q Qr K (referenceFrequency D j))) | |
| 394 | - (ScaledTangentTransport.transportSource (referenceSource D j) (parameterChange h Q Qr) gap | |
| 395 | - (clockWeight h Q Qr) (velocityWeight h Q Qr)) | |
| 396 | - (CopySolveCompatibility.transportGeometry D.reference.geometry gap 0 (clockWeight h Q Qr) | |
| 397 | - (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2)).ne') | |
| 398 | - (div_pos D.reference.length_pos (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2))).le | |
| 399 | - (D.reference.cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 (clockWeight h Q Qr)) | |
| 400 | - | |
| 401 | -noncomputable def bandPressure (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 402 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) : Parameter × Plane → ℂ := | |
| 403 | - ParticularWaveBounds.commonPressure | |
| 404 | - (ScaledTangentTransport.transportTangent (D.reference.tangent j) (parameterChange h Q Qr) gap 0 | |
| 405 | - (clockWeight h Q Qr) (velocityWeight h Q Qr) (normalWeight Q Qr K (referenceFrequency D j))) | |
| 406 | - (ScaledTangentTransport.transportSource (referenceSource D j) (parameterChange h Q Qr) gap | |
| 407 | - (clockWeight h Q Qr) (velocityWeight h Q Qr)) | |
| 408 | - (CopySolveCompatibility.transportGeometry D.reference.geometry gap 0 (clockWeight h Q Qr) | |
| 409 | - (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2)).ne') | |
| 410 | - (div_pos D.reference.length_pos (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2))).le | |
| 411 | - (D.reference.cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 (clockWeight h Q Qr)) K | |
| 412 | - | |
| 413 | 383 | /-- Continuity of the actual primitive Volterra coefficients and source, |
| 414 | 384 | and support inside the reference integration interval. -/ |
| 415 | 385 | structure ReferenceODE (D : AssemblyData Parameter) (j : ℤ) (U : Set Parameter) : Prop where |
| @@ -422,21 +392,6 @@ theorem normalWeight_ne {Q Qr K Kr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | ||
| 422 | 392 | (hK : K ≠ 0) (hKr : Kr ≠ 0) : normalWeight Q Qr K Kr ≠ 0 := |
| 423 | 393 | mul_ne_zero (div_ne_zero hKr hK) (ratioPower_pos hQ hQr (1 / 2)).ne' |
| 424 | 394 | |
| 425 | -noncomputable def bandRaw (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 426 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) : Cylinder → ComplexVector := | |
| 427 | - fun x => bandAmplitude D h hQ hQr gap K j ((waveEquiv x).1.1, (waveEquiv x).2) | |
| 428 | - | |
| 429 | -noncomputable def bandPhase (D : AssemblyData Parameter) (h Q Qr : ℝ) (gap : ℕ) (K : ℝ) (j : ℤ) : | |
| 430 | - Cylinder → ℝ := fun x => (referenceFrequency D j / K) * liftPhase D j (cylinderChange h Q Qr gap x) | |
| 431 | - | |
| 432 | -noncomputable def bandVelocity (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 433 | - (hQ : 0 < Q) (hQr : 0 < Qr) (i gap : ℕ) (K : ℝ) (j : ℤ) : Cylinder → ComplexVector := | |
| 434 | - let G := PhysicalResidualBridge.commonGraph Q h i | |
| 435 | - vectorMode K (bandPhase D h Q Qr gap K j) | |
| 436 | - (CurlClassBounds.realizedCoefficient K PhysicalResidualBridge.ScaledGraph.radius | |
| 437 | - G.radial PhysicalResidualBridge.ScaledGraph.angular G.axial (bandPhase D h Q Qr gap K j) | |
| 438 | - (bandRaw D h hQ hQr gap K j)) | |
| 439 | - | |
| 440 | 395 | theorem normalDot_scaled (s c : ℝ) (n : Space) (a : ComplexVector) : |
| 441 | 396 | normalDot (s • n) (c • a) = (s : ℂ) * (c : ℂ) * normalDot n a := by |
| 442 | 397 | simp [normalDot, Complex.real_smul] |
| @@ -505,59 +460,5 @@ end PhysicalRegularity | ||
| 505 | 460 | |
| 506 | 461 | /-! ## Substitution of the actual target-band residual source -/ |
| 507 | 462 | |
| 508 | -noncomputable def transportedResidualSource (D : AssemblyData Parameter) (h Q Qr : ℝ) | |
| 509 | - (gap : ℕ) (j : ℤ) : Parameter × Plane → ComplexVector := | |
| 510 | - ScaledTangentTransport.transportSource (referenceSource D j) (parameterChange h Q Qr) gap | |
| 511 | - (clockWeight h Q Qr) (velocityWeight h Q Qr) | |
| 512 | - | |
| 513 | -noncomputable def residualBandAmplitude (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 514 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) (n : ℕ) : | |
| 515 | - Parameter × Plane → ComplexVector := | |
| 516 | - ParticularWaveBounds.commonVelocity | |
| 517 | - (ScaledTangentTransport.transportTangent (D.reference.tangent j) (parameterChange h Q Qr) gap 0 | |
| 518 | - (clockWeight h Q Qr) (velocityWeight h Q Qr) (normalWeight Q Qr K (referenceFrequency D j))) | |
| 519 | - (residualSource D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j n) | |
| 520 | - (CopySolveCompatibility.transportGeometry D.reference.geometry gap 0 (clockWeight h Q Qr) | |
| 521 | - (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2)).ne') | |
| 522 | - (div_pos D.reference.length_pos (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2))).le | |
| 523 | - (D.reference.cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 (clockWeight h Q Qr)) | |
| 524 | - | |
| 525 | -noncomputable def residualBandPressure (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 526 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) (n : ℕ) : | |
| 527 | - Parameter × Plane → ℂ := | |
| 528 | - ParticularWaveBounds.commonPressure | |
| 529 | - (ScaledTangentTransport.transportTangent (D.reference.tangent j) (parameterChange h Q Qr) gap 0 | |
| 530 | - (clockWeight h Q Qr) (velocityWeight h Q Qr) (normalWeight Q Qr K (referenceFrequency D j))) | |
| 531 | - (residualSource D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j n) | |
| 532 | - (CopySolveCompatibility.transportGeometry D.reference.geometry gap 0 (clockWeight h Q Qr) | |
| 533 | - (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2)).ne') | |
| 534 | - (div_pos D.reference.length_pos (ratioPower_pos hQ hQr (CoordinateAlgebra.A h + 1 / 2))).le | |
| 535 | - (D.reference.cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 (clockWeight h Q Qr)) K | |
| 536 | - | |
| 537 | -theorem residualBandAmplitude_eq (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 538 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) (n : ℕ) | |
| 539 | - (hsource : residualSource D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j n = | |
| 540 | - transportedResidualSource D h Q Qr gap j) : | |
| 541 | - residualBandAmplitude D h hQ hQr gap K j n = bandAmplitude D h hQ hQr gap K j := by | |
| 542 | - unfold residualBandAmplitude bandAmplitude | |
| 543 | - rw [hsource] | |
| 544 | - rfl | |
| 545 | - | |
| 546 | -theorem residualBandPressure_eq (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 547 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (K : ℝ) (j : ℤ) (n : ℕ) | |
| 548 | - (hsource : residualSource D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j n = | |
| 549 | - transportedResidualSource D h Q Qr gap j) : | |
| 550 | - residualBandPressure D h hQ hQr gap K j n = bandPressure D h hQ hQr gap K j := by | |
| 551 | - unfold residualBandPressure bandPressure | |
| 552 | - rw [hsource] | |
| 553 | - rfl | |
| 554 | - | |
| 555 | -theorem transportedResidualSource_apply (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 556 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) (j : ℤ) (x : Parameter × Plane) : | |
| 557 | - transportedResidualSource D h Q Qr gap j x = | |
| 558 | - sourceWeight h Q Qr • referenceSource D j (parameterChange h Q Qr x.1, coverPower gap x.2) := by | |
| 559 | - unfold transportedResidualSource ScaledTangentTransport.transportSource | |
| 560 | - rw [clock_mul_velocity hQ hQr] | |
| 561 | - | |
| 562 | 463 | end |
| 563 | 464 | end NavierStokes.PhysicalParticularWave |
+0 −119 NavierStokes/PhysicalResidualNaturality.lean View file
| @@ -595,23 +595,6 @@ theorem weight_viscosity {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : | ||
| 595 | 595 | rw [← Real.rpow_add hQr, ha] |
| 596 | 596 | _ = _ := by ring |
| 597 | 597 | |
| 598 | -theorem commonFrame_chart (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 599 | - (i gap : ℕ) : | |
| 600 | - FrameOn {x : Lift | 0 < x.1} (chartEquiv h hQ hQr gap) | |
| 601 | - (velocityWeight h Q Qr) (ratioPower Q Qr (1/2)) | |
| 602 | - (commonFrame h Q i) (commonFrame h Qr (i+gap)) := by | |
| 603 | - constructor | |
| 604 | - · intro x hx | |
| 605 | - exact congrArg Prod.fst (cylinderChange_radial hQ hQr h i gap (x := (x,0)) hx) | |
| 606 | - · intro x hx | |
| 607 | - exact congrArg Prod.fst (cylinderChange_axial hQ hQr h i gap (x,0)) | |
| 608 | - · intro x hx | |
| 609 | - rw [weight_time hQ hQr] | |
| 610 | - exact congrArg Prod.fst (cylinderChange_temporal hQ hQr h i gap (x,0)) | |
| 611 | - · intro x hx | |
| 612 | - rfl | |
| 613 | - · exact weight_viscosity hQ hQr h | |
| 614 | - | |
| 615 | 598 | /-- Association and the `(T,Z)` order used by the correction state. -/ |
| 616 | 599 | noncomputable def associatedToLift : Associated ≃ₗᵢ[ℝ] Lift := |
| 617 | 600 | (ParticularWaveBounds.liftAssoc TorusInverse.Plane).symm.trans PhysicalResidualTZ.swapSlow |
| @@ -631,40 +614,9 @@ noncomputable def associatedChart (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < | ||
| 631 | 614 | noncomputable def associatedFrame (h Q : ℝ) (i : ℕ) : HarmonicResidual.Frame Associated := |
| 632 | 615 | StateReindex.frame associatedToLift (commonFrame h Q i) |
| 633 | 616 | |
| 634 | -theorem associatedFrame_chart (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 635 | - (i gap : ℕ) : | |
| 636 | - FrameOn {x : Associated | 0 < x.1.1} (associatedChart h hQ hQr gap) | |
| 637 | - (velocityWeight h Q Qr) (ratioPower Q Qr (1/2)) | |
| 638 | - (associatedFrame h Q i) (associatedFrame h Qr (i+gap)) := by | |
| 639 | - have H := commonFrame_chart h hQ hQr i gap | |
| 640 | - constructor | |
| 641 | - · intro x hx | |
| 642 | - apply associatedToLift.injective | |
| 643 | - simpa only [associatedChart, associatedFrame, StateReindex.frame, StateReindex.vector, | |
| 644 | - ParticularWaveBounds.reindexVector, ContinuousLinearEquiv.trans_apply, | |
| 645 | - LinearIsometryEquiv.coe_toContinuousLinearEquiv, LinearIsometryEquiv.apply_symm_apply, | |
| 646 | - LinearIsometryEquiv.map_smul] using H.radial (associatedToLift x) hx | |
| 647 | - · intro x hx | |
| 648 | - apply associatedToLift.injective | |
| 649 | - simpa only [associatedChart, associatedFrame, StateReindex.frame, StateReindex.vector, | |
| 650 | - ParticularWaveBounds.reindexVector, ContinuousLinearEquiv.trans_apply, | |
| 651 | - LinearIsometryEquiv.coe_toContinuousLinearEquiv, LinearIsometryEquiv.apply_symm_apply, | |
| 652 | - LinearIsometryEquiv.map_smul] using H.axial (associatedToLift x) hx | |
| 653 | - · intro x hx | |
| 654 | - apply associatedToLift.injective | |
| 655 | - simpa only [associatedChart, associatedFrame, StateReindex.frame, StateReindex.vector, | |
| 656 | - ParticularWaveBounds.reindexVector, ContinuousLinearEquiv.trans_apply, | |
| 657 | - LinearIsometryEquiv.coe_toContinuousLinearEquiv, LinearIsometryEquiv.apply_symm_apply, | |
| 658 | - LinearIsometryEquiv.map_smul] using H.time (associatedToLift x) hx | |
| 659 | - · intro x hx | |
| 660 | - rfl | |
| 661 | - · exact H.viscosity | |
| 662 | - | |
| 663 | 617 | /-- The positive-radius free lift. Every auxiliary variable remains free. -/ |
| 664 | 618 | def positiveLift : Set Associated := {x | 0 < x.1.1} |
| 665 | 619 | |
| 666 | -theorem positiveLift_open : IsOpen positiveLift := isOpen_lt continuous_const continuous_fst.fst | |
| 667 | - | |
| 668 | 620 | /-- Concrete primitive coherence needed by a band solve. These are field, |
| 669 | 621 | phase, and explicit operator identities, never an identity of residuals or |
| 670 | 622 | of solved waves. -/ |
| @@ -684,24 +636,6 @@ structure BandCoherence (D : ParticularWaveAssembly.AssemblyData PhysicalParticu | ||
| 684 | 636 | D.carrierBlock D.carrierBlock D.gaussianInput D.aliasInput D.gaussianInput D.aliasInput |
| 685 | 637 | n D.reference.band |
| 686 | 638 | |
| 687 | -theorem BandCoherence.source_on | |
| 688 | - {D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter} | |
| 689 | - {h Q Qr : ℝ} {hQ : 0 < Q} {hQr : 0 < Qr} {i gap n : ℕ} | |
| 690 | - (H : BandCoherence D h hQ hQr i gap n) (j : ℤ) {x : Associated} (hx : x ∈ positiveLift) : | |
| 691 | - ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 692 | - D.gaussianInput D.aliasInput j n x = transportedResidualSource D h Q Qr gap j x := by | |
| 693 | - have hf : FrameOn positiveLift (associatedChart h hQ hQr gap) | |
| 694 | - (velocityWeight h Q Qr) (ratioPower Q Qr (1/2)) | |
| 695 | - (HarmonicResidual.contextFrame D.context n) | |
| 696 | - (HarmonicResidual.contextFrame D.context D.reference.band) := by | |
| 697 | - rw [H.targetFrame, H.referenceFrame] | |
| 698 | - exact associatedFrame_chart h hQ hQr i gap | |
| 699 | - have he := residualSource_naturality positiveLift_open (ratioPower_pos hQ hQr (1/2)).ne' | |
| 700 | - hf H.base H.mean H.block j hx | |
| 701 | - rw [weight_source hQ hQr] at he | |
| 702 | - rw [transportedResidualSource_apply D h hQ hQr] | |
| 703 | - exact he | |
| 704 | - | |
| 705 | 639 | /-- Primitive support assumptions, allowing arbitrary zero-mode aliases. -/ |
| 706 | 640 | structure PositiveSupport (b : CorrectionState.HarmonicBlock Associated) |
| 707 | 641 | (G A : HarmonicResidual.BlockCoefficients Associated) (n : ℕ) where |
| @@ -717,59 +651,6 @@ structure PositiveSupport (b : CorrectionState.HarmonicBlock Associated) | ||
| 717 | 651 | aliasError : ∀ i, HarmonicSourceSupport.NonzeroSupported supportSet |
| 718 | 652 | (HarmonicResidual.realCoefficients (A n i)) |
| 719 | 653 | |
| 720 | -theorem PositiveSupport.source_zero | |
| 721 | - {b : CorrectionState.HarmonicBlock Associated} | |
| 722 | - {G A : HarmonicResidual.BlockCoefficients Associated} {n : ℕ} | |
| 723 | - (H : PositiveSupport b G A n) (C : CorrectionState.Context Associated) | |
| 724 | - (s : CorrectionState.State Associated) (j : ℤ) {x : Associated} (hx : x ∉ positiveLift) : | |
| 725 | - ParticularWaveAssembly.residualSource C s b G A j n x = 0 := by | |
| 726 | - have hs := HarmonicSourceSupport.residualSource_support_of_real C s b G A H.closed n | |
| 727 | - H.velocity H.pressure H.gaussian H.aliasError j | |
| 728 | - by_contra hn | |
| 729 | - exact hx (H.positive (hs hn)) | |
| 730 | - | |
| 731 | -/-- Full free-variable equality, including the complement of the annular | |
| 732 | -cells, derived from primitive field coherence and primitive support. -/ | |
| 733 | -theorem BandCoherence.source_eq | |
| 734 | - {D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter} | |
| 735 | - {h Q Qr : ℝ} {hQ : 0 < Q} {hQr : 0 < Qr} {i gap n : ℕ} | |
| 736 | - (H : BandCoherence D h hQ hQr i gap n) | |
| 737 | - (hn : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 738 | - (hr : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) (j : ℤ) : | |
| 739 | - ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 740 | - D.gaussianInput D.aliasInput j n = transportedResidualSource D h Q Qr gap j := by | |
| 741 | - funext x | |
| 742 | - by_cases hx : x ∈ positiveLift | |
| 743 | - · exact H.source_on j hx | |
| 744 | - · rw [hn.source_zero D.context D.state j hx, transportedResidualSource_apply D h hQ hQr] | |
| 745 | - have hyr : (parameterChange h Q Qr x.1, coverPower gap x.2) ∉ positiveLift := by | |
| 746 | - intro hy | |
| 747 | - apply hx | |
| 748 | - exact (mul_pos_iff_of_pos_left (ratioPower_pos hQ hQr (1/2))).mp hy | |
| 749 | - rw [referenceSource, hr.source_zero D.context D.state j hyr, smul_zero] | |
| 750 | - | |
| 751 | -/-- The actual target-source Volterra solve is the coherently transported | |
| 752 | -one; no equality of outputs is supplied as an assumption. -/ | |
| 753 | -theorem BandCoherence.residualBandAmplitude_eq | |
| 754 | - {D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter} | |
| 755 | - {h Q Qr : ℝ} {hQ : 0 < Q} {hQr : 0 < Qr} {i gap n : ℕ} | |
| 756 | - (H : BandCoherence D h hQ hQr i gap n) | |
| 757 | - (hn : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 758 | - (hr : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 759 | - (K : ℝ) (j : ℤ) : | |
| 760 | - residualBandAmplitude D h hQ hQr gap K j n = bandAmplitude D h hQ hQr gap K j := | |
| 761 | - PhysicalParticularWave.residualBandAmplitude_eq D h hQ hQr gap K j n (H.source_eq hn hr j) | |
| 762 | - | |
| 763 | -theorem BandCoherence.residualBandPressure_eq | |
| 764 | - {D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter} | |
| 765 | - {h Q Qr : ℝ} {hQ : 0 < Q} {hQr : 0 < Qr} {i gap n : ℕ} | |
| 766 | - (H : BandCoherence D h hQ hQr i gap n) | |
| 767 | - (hn : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 768 | - (hr : PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 769 | - (K : ℝ) (j : ℤ) : | |
| 770 | - residualBandPressure D h hQ hQr gap K j n = bandPressure D h hQ hQr gap K j := | |
| 771 | - PhysicalParticularWave.residualBandPressure_eq D h hQ hQr gap K j n (H.source_eq hn hr j) | |
| 772 | - | |
| 773 | 654 | /-! ## A lift-coherence invariant preserved by actual state addition -/ |
| 774 | 655 | |
| 775 | 656 | def ScalarOn (U : Set D) (e : D ≃L[ℝ] E) (a : ℝ) (f : D → ℝ) (g : E → ℝ) : Prop := |
+0 −22 NavierStokes/PhysicalStageBounds.lean View file
| @@ -301,28 +301,6 @@ theorem pressureIncrement_smooth {qbig : ℝ} (W : WaveData h D I K Unit) | ||
| 301 | 301 | ContDiffOn ℝ ∞ (pressureIncrement W M) (CutStageEstimates.physicalSublevel h qbig) := |
| 302 | 302 | ((W.pressure_smooth hh hh1).mono inter_subset_left).add (M.field_smooth hh hh1 hq) |
| 303 | 303 | |
| 304 | -theorem potentialIncrement_bound {qbig g waveOffset meanOffset : ℝ} | |
| 305 | - (W : WaveData h D I K (Fin 3)) (M : MeanData h (CoordinateAlgebra.A h - 1 / 2)) | |
| 306 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) | |
| 307 | - (hwave : g ≤ h * W.alpha + W.shift + waveOffset) | |
| 308 | - (hmean : g ≤ h * M.alpha + meanOffset) (m : ℕ) : | |
| 309 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 310 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 311 | - ‖iteratedFDeriv ℝ m (potentialIncrement W M) w‖ ≤ | |
| 312 | - C * PhysicalWaveSum.physicalQ h w ^ (g - potentialLoss h waveOffset meanOffset m) := by | |
| 313 | - obtain ⟨C₁, hC₁, h₁⟩ := W.vector_bound_with_gain hh hh1 hwave m | |
| 314 | - obtain ⟨C₂, hC₂, h₂⟩ := M.angular_bound_with_gain hh hh1 hq hmean m | |
| 315 | - refine ⟨C₁ + C₂, add_nonneg hC₁ hC₂, fun w hw hq1 => ?_⟩ | |
| 316 | - have hpos := PhysicalWaveSum.physicalQ_pos hh hh1 hw.1 | |
| 317 | - have ha := norm_bound_mono_loss (l₂ := potentialLoss h waveOffset meanOffset m) | |
| 318 | - hC₁ hpos hq1 (le_max_left _ _) (h₁ w hw.1 hq1) | |
| 319 | - have hb := norm_bound_mono_loss (l₂ := potentialLoss h waveOffset meanOffset m) | |
| 320 | - hC₂ hpos hq1 (le_max_right _ _) (h₂ w hw hq1) | |
| 321 | - have hsa := (W.vector_smooth hh hh1).contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw.1) | |
| 322 | - have hsb := (M.angular_smooth hh hh1 hq).contDiffAt | |
| 323 | - ((CutStageEstimates.physicalSublevel_open hh hh1 qbig).mem_nhds hw) | |
| 324 | - exact (norm_add_jet_le hsa hsb m).trans ((add_le_add ha hb).trans_eq (by ring)) | |
| 325 | - | |
| 326 | 304 | end Assembly |
| 327 | 305 | |
| 328 | 306 | section InitializedStages |
+22 −0 routes/s1-ns-physical-3/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-physical-3 | |
| 6 | + | |
| 7 | +S-1, unit `s1-ns-physical-3`: the family `NavierStokes/Physical*`, wave 3 after the wave-1 unit | |
| 8 | +`s1-ns-physical-1` and the wave-2 unit `s1-ns-physical-2` of the same family. I delete 32 | |
| 9 | +declarations that nothing uses, 378 lines in `NavierStokes/PhysicalClassBounds.lean`, | |
| 10 | +`NavierStokes/PhysicalMeanJetBounds.lean`, `NavierStokes/PhysicalParticularWave.lean`, | |
| 11 | +`NavierStokes/PhysicalResidualNaturality.lean` and `NavierStokes/PhysicalStageBounds.lean`; all | |
| 12 | +deletions, no statement or proof that stays is changed. | |
| 13 | + | |
| 14 | +The unit came from Treant's run of 2026-12-03 on `TitiSkywalker/NavierStokesAndEuler`, cut again | |
| 15 | +from the declaration graph of main under this project's rule that the paper's results stay. No | |
| 16 | +deleted docstring names a numbered result of the paper, and nothing left in the tree names any of | |
| 17 | +the deleted declarations. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Nothing: the deletions are made and pushed, and the pull request is open. What remains is the | |
| 22 | +maintainer's reading (and the `build` check, which says whether the tree compiles). | |