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

chore(NavierStokes/Closed): delete 17 declarations nothing uses
Browse filesPart of #10 (S-1). Deletes 17 declarations of NavierStokes/Closed* that nothing uses, 203 lines in 5 files; the diff is deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement p1-ns-physical s1-euler-all-2 s1-euler-all-3 s1-euler-angle-9 s1-euler-base-2 s1-euler-bounded-2 s1-euler-canonical-8 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-2 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-packet-8 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-actual-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-axisymmetric-8 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-1 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-2 s1-ns-cycle-3 s1-ns-defect-2 s1-ns-direct-2 s1-ns-edge-6 s1-ns-entrance-2 s1-ns-error-2 s1-ns-error-3 s1-ns-error-9 s1-ns-even-2 s1-ns-even-3 s1-ns-exponent-2 s1-ns-final-2 s1-ns-final-6 s1-ns-first-2 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-2 s1-ns-flat-3 s1-ns-flat-8 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-fourier-3 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-2 s1-ns-heat-3 s1-ns-initialized-2 s1-ns-joint-2 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-2 s1-ns-linear-6 s1-ns-linear-7 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-localized-6 s1-ns-maximal-2 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mean-8 s1-ns-mixed-2 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-parametric-6 s1-ns-particular-10 s1-ns-particular-2 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-2 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-phase-2 s1-ns-physical-2 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-2 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-2 s1-ns-pressure-9 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-radial-9 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-reserved-8 s1-ns-residual-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-signed-3 s1-ns-signed-8 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-slow-6 s1-ns-smooth-2 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-solenoidal-2 s1-ns-spacetime-3 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-state-8 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-1 s1-ns-terminal-6 s1-ns-time-2 s1-ns-torus-2 s1-ns-torus-3 s1-ns-transition-2 s1-ns-transport-2 s1-ns-uniform-2 s1-ns-uniform-8 s1-ns-variable-2 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-volterra-2 s1-ns-wave-11 s1-ns-wave-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-2 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+0 −17 NavierStokes/ClosedIntervalCk.lean View file
| @@ -213,15 +213,6 @@ theorem norm_value_le {k : ℕ} (f : CK (E := E) k) : ‖value k f‖ ≤ ‖f | ||
| 213 | 213 | simpa only [iteratedDerivWithin_zero, value_apply, extend_apply] using |
| 214 | 214 | (norm_le_iff f (norm_nonneg f)).mp le_rfl 0 (Nat.zero_le _) x |
| 215 | 215 | |
| 216 | -theorem norm_zero_eq_value (f : CK (E := E) 0) : ‖f‖ = ‖value 0 f‖ := by | |
| 217 | - apply le_antisymm _ (norm_value_le f) | |
| 218 | - apply (norm_le_iff f (norm_nonneg _)).mpr | |
| 219 | - intro n hn x | |
| 220 | - have hn0 : n = 0 := Nat.eq_zero_of_le_zero hn | |
| 221 | - subst n | |
| 222 | - simpa only [iteratedDerivWithin_zero, value_apply, extend_apply] using | |
| 223 | - (value 0 f).norm_coe_le_norm x | |
| 224 | - | |
| 225 | 216 | /-- The actual derivative tuple of a `C^k` function. -/ |
| 226 | 217 | def functionJets {k : ℕ} (f : ℝ → E) (hf : ContDiffOn ℝ k f I) : Jets E k := |
| 227 | 218 | fun j => ⟨fun x => iteratedDerivWithin j.val f I x, |
| @@ -319,14 +310,6 @@ def lower {k l : ℕ} (h : l ≤ k) : CK (E := E) k →L[ℝ] CK (E := E) l := | ||
| 319 | 310 | |
| 320 | 311 | @[simp] theorem lower_apply {k l : ℕ} (h : l ≤ k) (f : CK (E := E) k) : lower h f = lowerValue h f := rfl |
| 321 | 312 | |
| 322 | -theorem lower_injective {k l : ℕ} (h : l ≤ k) : Function.Injective (lower (E := E) h) := by | |
| 323 | - intro f g hfg | |
| 324 | - apply value_injective k | |
| 325 | - apply ContinuousMap.ext | |
| 326 | - intro x | |
| 327 | - have he := congrArg (fun u : CK (E := E) l => value l u x) hfg | |
| 328 | - simpa only [lower_apply, lowerValue_value] using he | |
| 329 | - | |
| 330 | 313 | @[simp] theorem lower_ofContDiffOn {k l : ℕ} (h : l ≤ k) (f : ℝ → E) (hf : ContDiffOn ℝ k f I) : |
| 331 | 314 | lower h (ofContDiffOn f hf) = ofContDiffOn f (hf.of_le (by exact_mod_cast h)) := by |
| 332 | 315 | apply value_injective l |
+0 −60 NavierStokes/ClosedIntervalCkOperators.lean View file
| @@ -219,64 +219,4 @@ theorem norm_quadratic_coefficient_le (A : ℝ → E →L[ℝ] F →L[ℝ] G) | ||
| 219 | 219 | exact he.trans (by simpa only [norm_constant_zero] using |
| 220 | 220 | (quadraticOperator 0 A hA).le_opNorm₂ (constant 0 a) (constant 0 b)) |
| 221 | 221 | |
| 222 | -theorem norm_coefficientOperator_zero_le (B : ℝ → E →L[ℝ] F) | |
| 223 | - (hB : ContDiffOn ℝ 0 B I) {M : ℝ} (hM : 0 ≤ M) (hbound : ∀ x ∈ I, ‖B x‖ ≤ M) : | |
| 224 | - ‖coefficientOperator 0 B hB‖ ≤ M := by | |
| 225 | - apply ContinuousLinearMap.opNorm_le_bound (coefficientOperator 0 B hB) hM | |
| 226 | - intro f | |
| 227 | - rw [norm_zero_eq_value] | |
| 228 | - apply (ContinuousMap.norm_le _ (mul_nonneg hM (norm_nonneg _))).mpr | |
| 229 | - intro x | |
| 230 | - rw [coefficientOperator_value 0 B hB f x] | |
| 231 | - exact ((B x).le_opNorm (value 0 f x)).trans | |
| 232 | - (mul_le_mul (hbound x x.property) | |
| 233 | - (((value 0 f).norm_coe_le_norm x).trans (norm_value_le f)) (norm_nonneg _) hM) | |
| 234 | - | |
| 235 | -theorem norm_quadraticOperator_zero_le (A : ℝ → E →L[ℝ] F →L[ℝ] G) | |
| 236 | - (hA : ContDiffOn ℝ 0 A I) {M : ℝ} (hM : 0 ≤ M) (hbound : ∀ x ∈ I, ‖A x‖ ≤ M) : | |
| 237 | - ‖quadraticOperator 0 A hA‖ ≤ M := by | |
| 238 | - apply ContinuousLinearMap.opNorm_le_bound (quadraticOperator 0 A hA) hM | |
| 239 | - intro f | |
| 240 | - apply ContinuousLinearMap.opNorm_le_bound (quadraticOperator 0 A hA f) | |
| 241 | - (mul_nonneg hM (norm_nonneg _)) | |
| 242 | - intro g | |
| 243 | - rw [norm_zero_eq_value] | |
| 244 | - apply (ContinuousMap.norm_le _ (by positivity)).mpr | |
| 245 | - intro x | |
| 246 | - rw [quadraticOperator_value 0 A hA f g x] | |
| 247 | - exact ((A x).le_opNorm₂ (value 0 f x) (value 0 g x)).trans | |
| 248 | - (mul_le_mul (mul_le_mul (hbound x x.property) | |
| 249 | - (((value 0 f).norm_coe_le_norm x).trans (norm_value_le f)) (norm_nonneg _) hM) | |
| 250 | - (((value 0 g).norm_coe_le_norm x).trans (norm_value_le g)) (norm_nonneg _) | |
| 251 | - (mul_nonneg hM (norm_nonneg _))) | |
| 252 | - | |
| 253 | -/-- The order-zero multiplication norm is exactly the supremum of the | |
| 254 | -pointwise matrix norms, as in `outgoing:steering`. -/ | |
| 255 | -theorem norm_coefficientOperator_zero (B : ℝ → E →L[ℝ] F) (hB : ContDiffOn ℝ 0 B I) : | |
| 256 | - ‖coefficientOperator 0 B hB‖ = ⨆ x : I, ‖B x‖ := by | |
| 257 | - let b : Path (E →L[ℝ] F) := value 0 (ofContDiffOn B hB) | |
| 258 | - have he : ‖b‖ = ⨆ x : I, ‖B x‖ := b.norm_eq_iSup_norm | |
| 259 | - rw [← he] | |
| 260 | - apply le_antisymm | |
| 261 | - · apply norm_coefficientOperator_zero_le B hB (norm_nonneg b) | |
| 262 | - intro x hx | |
| 263 | - exact b.norm_coe_le_norm ⟨x,hx⟩ | |
| 264 | - · apply (ContinuousMap.norm_le b (norm_nonneg _)).mpr | |
| 265 | - intro x | |
| 266 | - exact norm_coefficient_le B hB x | |
| 267 | - | |
| 268 | -/-- The order-zero bilinear norm is exactly its pointwise supremum. -/ | |
| 269 | -theorem norm_quadraticOperator_zero (A : ℝ → E →L[ℝ] F →L[ℝ] G) (hA : ContDiffOn ℝ 0 A I) : | |
| 270 | - ‖quadraticOperator 0 A hA‖ = ⨆ x : I, ‖A x‖ := by | |
| 271 | - let a : Path (E →L[ℝ] F →L[ℝ] G) := value 0 (ofContDiffOn A hA) | |
| 272 | - have he : ‖a‖ = ⨆ x : I, ‖A x‖ := a.norm_eq_iSup_norm | |
| 273 | - rw [← he] | |
| 274 | - apply le_antisymm | |
| 275 | - · apply norm_quadraticOperator_zero_le A hA (norm_nonneg a) | |
| 276 | - intro x hx | |
| 277 | - exact a.norm_coe_le_norm ⟨x,hx⟩ | |
| 278 | - · apply (ContinuousMap.norm_le a (norm_nonneg (quadraticOperator 0 A hA))).mpr | |
| 279 | - intro x | |
| 280 | - exact norm_quadratic_coefficient_le A hA x | |
| 281 | - | |
| 282 | 222 | end NavierStokes.ClosedIntervalCk |
+0 −4 NavierStokes/ClosedIntervalJetAlgebra.lean View file
| @@ -22,10 +22,6 @@ theorem Bound.mono {k : ℕ} {f : ℝ → ℝ} {B C : ℝ} | ||
| 22 | 22 | theorem Bound.nonneg {k : ℕ} {f : ℝ → ℝ} {B : ℝ} (hf : Bound k f B) : 0 ≤ B := |
| 23 | 23 | (norm_nonneg _).trans (hf 0 (Nat.zero_le _) 0 (by constructor <;> norm_num)) |
| 24 | 24 | |
| 25 | -theorem Bound.value {k : ℕ} {f : ℝ → ℝ} {B η : ℝ} | |
| 26 | - (hf : Bound k f B) (hη : η ∈ J) : |f η| ≤ B := by | |
| 27 | - simpa only [norm_iteratedFDerivWithin_zero, Real.norm_eq_abs] using hf 0 (Nat.zero_le _) η hη | |
| 28 | - | |
| 29 | 25 | theorem Bound.const (k : ℕ) (c : ℝ) : Bound k (fun _ => c) |c| := by |
| 30 | 26 | intro n hn η hη |
| 31 | 27 | by_cases hn0 : n = 0 |
+0 −38 NavierStokes/ClosedIntervalMomentRepair.lean View file
| @@ -44,18 +44,6 @@ def debtNorm (k : ℕ) : ℝ := ‖D.debt k‖ | ||
| 44 | 44 | |
| 45 | 45 | def Small (k : ℕ) : Prop := 8 * D.inverseNorm k ^ 2 * D.quadraticNorm k * D.debtNorm k ≤ 1 |
| 46 | 46 | |
| 47 | -/-- The C⁰ constants coincide with the pointwise suprema printed in the appendix. -/ | |
| 48 | -theorem inverseNorm_zero : D.inverseNorm 0 = ⨆ x : I, ‖(D.B x).inverse‖ := | |
| 49 | - norm_coefficientOperator_zero (fun x => (D.B x).inverse) | |
| 50 | - (inverse_coefficient_smooth D.B (D.hB.of_le (by simp)) D.invertible) | |
| 51 | - | |
| 52 | -theorem quadraticNorm_zero : D.quadraticNorm 0 = ⨆ x : I, ‖D.A x‖ := | |
| 53 | - norm_quadraticOperator_zero D.A (D.hA.of_le (by simp)) | |
| 54 | - | |
| 55 | -theorem debtNorm_zero : D.debtNorm 0 = ⨆ x : I, ‖D.d x‖ := by | |
| 56 | - rw [debtNorm, norm_zero_eq_value] | |
| 57 | - exact (value 0 (D.debt 0)).norm_eq_iSup_norm | |
| 58 | - | |
| 59 | 47 | @[simp] theorem matrix_value (k : ℕ) (f : CK (E := E) k) (x : I) : |
| 60 | 48 | value k (D.matrix k f) x = D.B x (value k f x) := |
| 61 | 49 | coefficientOperator_value k D.B _ f x |
| @@ -206,31 +194,5 @@ theorem exists_smooth_same_branch (hsmall : D.Small 0) : | ||
| 206 | 194 | exact hv |
| 207 | 195 | · rwa [hembed] |
| 208 | 196 | |
| 209 | -/-- In the linear case the exact solution needs no smallness condition. -/ | |
| 210 | -theorem linear_solution (hA : ∀ x ∈ I, D.A x = 0) : | |
| 211 | - ∃ hc : ContDiffOn ℝ ∞ (fun x => (D.B x).inverse (D.d x)) I, | |
| 212 | - (∀ x ∈ I, D.B x ((D.B x).inverse (D.d x)) + | |
| 213 | - D.A x ((D.B x).inverse (D.d x)) ((D.B x).inverse (D.d x)) = D.d x) ∧ | |
| 214 | - ∀ k : ℕ, ‖ofContDiffOn (fun x => (D.B x).inverse (D.d x)) | |
| 215 | - (hc.of_le (by simp : (k : ℕ∞ω) ≤ ∞))‖ ≤ D.inverseNorm k * D.debtNorm k := by | |
| 216 | - have hi : ContDiffOn ℝ ∞ (fun x => (D.B x).inverse) I := by | |
| 217 | - intro x hx | |
| 218 | - exact ((D.invertible x hx).contDiffAt_map_inverse (𝕜 := ℝ) (n := ∞)).comp_contDiffWithinAt x | |
| 219 | - (D.hB x hx) | |
| 220 | - refine ⟨hi.clm_apply D.hd, ?_, ?_⟩ | |
| 221 | - · intro x hx | |
| 222 | - simp only [hA x hx, zero_apply, add_zero] | |
| 223 | - exact (D.invertible x hx).self_apply_inverse _ | |
| 224 | - intro k | |
| 225 | - have he : ofContDiffOn (fun x => (D.B x).inverse (D.d x)) | |
| 226 | - ((hi.clm_apply D.hd).of_le (by simp : (k : ℕ∞ω) ≤ ∞)) = (D.matrix k).symm (D.debt k) := by | |
| 227 | - apply value_injective k | |
| 228 | - ext x | |
| 229 | - change (D.B x).inverse (D.d x) = | |
| 230 | - value k (coefficientOperator k (fun x => (D.B x).inverse) _ (D.debt k)) x | |
| 231 | - rw [coefficientOperator_value, debt_value] | |
| 232 | - rw [he] | |
| 233 | - exact (D.matrix k).symm.toContinuousLinearMap.le_opNorm (D.debt k) | |
| 234 | - | |
| 235 | 197 | end Data |
| 236 | 198 | end NavierStokes.ClosedIntervalMomentRepair |
+0 −84 NavierStokes/ClosedNativeWaveIdentities.lean View file
| @@ -287,16 +287,6 @@ theorem curlRemainder_contDiffAt (K : ℝ) {R : D → ℝ} {Vr Vθ Vz : D → D} | ||
| 287 | 287 | rw [he] |
| 288 | 288 | exact (cylindricalCurl_contDiffAt hR hRn hr hθ hz hB).const_smul (inverseCarrier K) |
| 289 | 289 | |
| 290 | -theorem realizedCoefficient_contDiffAt (K : ℝ) {R : D → ℝ} {Vr Vθ Vz : D → D} | |
| 291 | - {Φ : D → ℝ} {a : D → ComplexVector} {x : D} | |
| 292 | - (hR : ContDiffAt ℝ ∞ R x) (hRn : R x ≠ 0) | |
| 293 | - (hr : ContDiffAt ℝ ∞ Vr x) (hθ : ContDiffAt ℝ ∞ Vθ x) (hz : ContDiffAt ℝ ∞ Vz x) | |
| 294 | - (hΦ : ContDiffAt ℝ ∞ Φ x) (ha : ContDiffAt ℝ ∞ a x) | |
| 295 | - (hn : phaseNormal R Vr Vθ Vz Φ x ≠ 0) : | |
| 296 | - ContDiffAt ℝ ∞ (realizedCoefficient K R Vr Vθ Vz Φ a) x := | |
| 297 | - ha.add (curlRemainder_contDiffAt K hR hRn hr hθ hz | |
| 298 | - (normalCoefficient_contDiffAt (phaseNormal_contDiffAt hR hRn hr hθ hz hΦ) ha hn)) | |
| 299 | - | |
| 300 | 290 | /-- Curl realization itself uses the first coefficient derivatives and |
| 301 | 291 | tangency at the selected point, with no surrounding geometric identities. -/ |
| 302 | 292 | theorem cylindricalCurl_vectorPotential_of_differentiable |
| @@ -421,50 +411,6 @@ theorem realizedCoefficient_divergence_at {K : ℝ} (hK : K ≠ 0) | ||
| 421 | 411 | exact divergence_curl_zero_at G (vectorPotential_contDiffAt K G.radius_smooth G.radius_ne |
| 422 | 412 | G.radial_smooth G.angular_smooth G.axial_smooth hΦ ha hn) |
| 423 | 413 | |
| 424 | -theorem cylindricalDivergence_contDiffAt {R : D → ℝ} {Vr Vθ Vz : D → D} | |
| 425 | - {a : D → ComplexVector} {x : D} | |
| 426 | - (hR : ContDiffAt ℝ ∞ R x) (hRn : R x ≠ 0) | |
| 427 | - (hr : ContDiffAt ℝ ∞ Vr x) (hθ : ContDiffAt ℝ ∞ Vθ x) (hz : ContDiffAt ℝ ∞ Vz x) | |
| 428 | - (ha : ContDiffAt ℝ ∞ a x) : ContDiffAt ℝ ∞ (cylindricalDivergence R Vr Vθ Vz a) x := by | |
| 429 | - have hai := contDiffAt_pi.mp ha | |
| 430 | - exact (((contDiffAt_along hr (hai 0)).add ((hR.inv hRn).smul (hai 0))).add | |
| 431 | - ((hR.inv hRn).smul (contDiffAt_along hθ (hai 1)))).add (contDiffAt_along hz (hai 2)) | |
| 432 | - | |
| 433 | -omit [NormedSpace ℝ D] in | |
| 434 | -theorem eq_zero_of_mem_closure {E : Type*} [NormedAddCommGroup E] | |
| 435 | - {f : D → E} {C : Set D} {x : D} (hf : ContinuousAt f x) | |
| 436 | - (hx : x ∈ closure C) (hzero : EqOn f (fun _ => 0) C) : f x = 0 := by | |
| 437 | - have hm := mem_closure_image hf hx | |
| 438 | - have hs : f '' C ⊆ ({0} : Set E) := by | |
| 439 | - rintro y ⟨z, hz, rfl⟩ | |
| 440 | - exact hzero hz | |
| 441 | - have he := closure_mono hs hm | |
| 442 | - simpa only [closure_singleton, mem_singleton_iff] using he | |
| 443 | - | |
| 444 | -/-- A second legitimate boundary interface: tangency on a set whose interior | |
| 445 | -approaches the selected point. Continuity of the actual divergence is derived | |
| 446 | -from the supplied ambient jets. -/ | |
| 447 | -theorem realizedCoefficient_divergence_of_mem_closure_interior {K : ℝ} (hK : K ≠ 0) | |
| 448 | - {R : D → ℝ} {Vr Vθ Vz : D → D} {Φ : D → ℝ} {a : D → ComplexVector} {C : Set D} {x : D} | |
| 449 | - (hG : ∀ y ∈ C, GeometryAt R Vr Vθ Vz y) | |
| 450 | - (hΦ : ∀ y ∈ C, ContDiffAt ℝ ∞ Φ y) (ha : ∀ y ∈ C, ContDiffAt ℝ ∞ a y) | |
| 451 | - (hn : ∀ y ∈ C, phaseNormal R Vr Vθ Vz Φ y ≠ 0) | |
| 452 | - (ht : ∀ y ∈ C, normalDot (phaseNormal R Vr Vθ Vz Φ y) (a y) = 0) | |
| 453 | - (hx : x ∈ C) (hclosure : x ∈ closure (interior C)) : | |
| 454 | - cylindricalDivergence R Vr Vθ Vz | |
| 455 | - (vectorMode K Φ (realizedCoefficient K R Vr Vθ Vz Φ a)) x = 0 := by | |
| 456 | - have G := hG x hx | |
| 457 | - have hc := realizedCoefficient_contDiffAt K G.radius_smooth G.radius_ne | |
| 458 | - G.radial_smooth G.angular_smooth G.axial_smooth (hΦ x hx) (ha x hx) (hn x hx) | |
| 459 | - apply eq_zero_of_mem_closure | |
| 460 | - (cylindricalDivergence_contDiffAt G.radius_smooth G.radius_ne G.radial_smooth G.angular_smooth | |
| 461 | - G.axial_smooth (vectorMode_contDiffAt K (hΦ x hx) hc)).continuousAt hclosure | |
| 462 | - intro y hy | |
| 463 | - have hyC := interior_subset hy | |
| 464 | - apply realizedCoefficient_divergence_at hK (hG y hyC) (hΦ y hyC) (ha y hyC) (hn y hyC) | |
| 465 | - filter_upwards [isOpen_interior.mem_nhds hy] with z hz | |
| 466 | - exact ht z (interior_subset hz) | |
| 467 | - | |
| 468 | 414 | end Curl |
| 469 | 415 | |
| 470 | 416 | /-! ## Literal cutoff/curl residual from primitive pointwise data -/ |
| @@ -612,36 +558,6 @@ section Copies | ||
| 612 | 558 | variable {I : Type} {a : PeriodizedWaveBounds.CopyData D I} {s : StripData D} |
| 613 | 559 | {d : GraphDirections D} {C : ℕ → I → Set D} {P : ℕ → I → D → ℝ} {α κ : ℝ} |
| 614 | 560 | |
| 615 | -theorem rawJets_of_localInput | |
| 616 | - (h : LocalizedWaveBounds.InputBounds s C P α κ d (LocalizedWaveBounds.rawFamily a)) | |
| 617 | - (hψ : LocalizedWaveBounds.LocalUnweighted s C 0 a.cutoff) | |
| 618 | - (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain) (hi : x ∈ C n i) | |
| 619 | - (hΦ : ContDiffAt ℝ ∞ (a.background.phase n) x) | |
| 620 | - (hR : a.background.radius n x ≠ 0) (hN : a.background.normal s d n x ≠ 0) : | |
| 621 | - RawJetsAt (a.raw i) s d (fun n => a.cutoff n i) n x := | |
| 622 | - ⟨h.radial_profile.smooth n i x hx hi, hΦ, h.radius.smooth n i x hx hi, | |
| 623 | - (h.radial_base.smooth n i x hx hi).differentiableAt (by simp), | |
| 624 | - (h.frequency_base.smooth n i x hx hi).differentiableAt (by simp), | |
| 625 | - (h.axial_base.smooth n i x hx hi).differentiableAt (by simp), | |
| 626 | - contDiffAt_pi.mpr (fun j => (h.amplitude j).smooth n i x hx hi), | |
| 627 | - (h.pressure.smooth n i x hx hi).differentiableAt (by simp), | |
| 628 | - hψ.smooth n i x hx hi, hR, hN⟩ | |
| 629 | - | |
| 630 | -theorem native_cancellation_of_principal | |
| 631 | - (h : LocalizedWaveBounds.InputBounds s C P α κ d (LocalizedWaveBounds.rawFamily a)) | |
| 632 | - (hψ : LocalizedWaveBounds.LocalUnweighted s C 0 a.cutoff) | |
| 633 | - (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain) (hi : x ∈ C n i) | |
| 634 | - (hΦ : ContDiffAt ℝ ∞ (a.background.phase n) x) | |
| 635 | - (hR : a.background.radius n x ≠ 0) (hN : a.background.normal s d n x ≠ 0) | |
| 636 | - (g : AngularData (a.raw i) s d (fun n => a.cutoff n i) n) | |
| 637 | - (hDr : along (d.radialField n) (a.background.radius n) x = 1) | |
| 638 | - (hsolve : (a.raw i).principal s d n x = -a.source n x) : | |
| 639 | - (a.corrected s d i).harmonicResidual s d n x + | |
| 640 | - (fun j => a.source n x j * carrier (a.background.frequency n) (a.background.phase n) x) = | |
| 641 | - (fun j => (a.localGood s d n i x j + a.localGaussian d n i x j) * | |
| 642 | - carrier (a.background.frequency n) (a.background.phase n) x) := | |
| 643 | - (rawJets_of_localInput h hψ n i hx hi hΦ hR hN).cancellation g hDr a.source hsolve | |
| 644 | - | |
| 645 | 561 | theorem native_realizes_curl_at (n : ℕ) (i : I) (x : D) |
| 646 | 562 | (h : RawJetsAt (a.raw i) s d (fun n => a.cutoff n i) n x) |
| 647 | 563 | (hK : a.background.frequency n ≠ 0) |
+19 −0 routes/s1-ns-closed-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-closed-1 | |
| 6 | + | |
| 7 | +Wave 1 of S-1, the declarations of the family `NavierStokes/Closed*`: 17 declarations in 5 files | |
| 8 | +(`ClosedIntervalCk`, `ClosedIntervalCkOperators`, `ClosedIntervalJetAlgebra`, `ClosedIntervalMomentRepair`, | |
| 9 | +`ClosedNativeWaveIdentities`), 203 lines, deleted as `/work/unit/change.patch` cuts them. Each is unreachable | |
| 10 | +from the paper's results and from the two solutions, and the files that stay do not name them. | |
| 11 | + | |
| 12 | +Checked before committing: `git grep -w` for each short name leaves only `CorrectionStep.lean`'s own | |
| 13 | +`native_cancellation_of_principal`, a different declaration; no deleted docstring carries a numbered paper reference; | |
| 14 | +`python3 checks/challenge.py .` ends `ok: 4 challenge files and the build configuration as approved; …`. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push the branch and open the pull request (Part of #10); the `build` check says whether it compiles. Nothing else | |
| 19 | +is left in this unit. | |