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/Transition): delete 8 declarations nothing uses #281
Merged
+0 −130 NavierStokes/TransitionRamp.lean View file
| @@ -295,31 +295,6 @@ theorem axialVelocity_hasDerivAt (hJ : IsOpen J) (T κ w₁ y : ℝ) {η : ℝ} | ||
| 295 | 295 | integrate_hasDerivAt hJ R.initialU (axialSlope_smooth T κ R.bigTime w₁ hJ |
| 296 | 296 | (R.axialStock_smooth hJ)) y hη |
| 297 | 297 | |
| 298 | -theorem prescribed_angular_control (hJ : IsOpen J) (T κ w₁ w₂ y : ℝ) | |
| 299 | - {η : ℝ} (hη : η ∈ J) : | |
| 300 | - -2 * deriv (fun x => R.logAmplitude T κ w₁ w₂ (x, η)) y = | |
| 301 | - (1 - step (R.bigTime + w₁) w₂ y) * damping T κ y * R.angularStock (y, η) + | |
| 302 | - (4 / 5 : ℝ) * step (R.bigTime + w₁) w₂ y := by | |
| 303 | - rw [(R.logAmplitude_hasDerivAt hJ T κ w₁ w₂ y hη).deriv] | |
| 304 | - unfold angularSlope baseSlope | |
| 305 | - ring | |
| 306 | - | |
| 307 | -theorem prescribed_axial_control (hJ : IsOpen J) (T κ w₁ y : ℝ) | |
| 308 | - {η : ℝ} (hη : η ∈ J) : | |
| 309 | - deriv (fun x => R.axialVelocity T κ w₁ (x, η)) y = | |
| 310 | - -(1 - step R.bigTime w₁ y) * damping T κ y * R.axialStock (y, η) / 2 := by | |
| 311 | - rw [(R.axialVelocity_hasDerivAt hJ T κ w₁ y hη).deriv] | |
| 312 | - unfold axialSlope baseSlope | |
| 313 | - ring | |
| 314 | - | |
| 315 | -/-- On the final hold the physical logarithmic slope `l` is exactly `3/5`. -/ | |
| 316 | -theorem final_logarithmic_slope (hJ : IsOpen J) {T κ w₁ w₂ y η : ℝ} | |
| 317 | - (hw₂ : 0 < w₂) (hy : R.bigTime + w₁ + w₂ ≤ y) (hη : η ∈ J) : | |
| 318 | - 1 + deriv (fun x => R.logAmplitude T κ w₁ w₂ (x, η)) y = (3 / 5 : ℝ) := by | |
| 319 | - rw [(R.logAmplitude_hasDerivAt hJ T κ w₁ w₂ y hη).deriv, | |
| 320 | - angularSlope_after hw₂ R.angularStock hy] | |
| 321 | - norm_num | |
| 322 | - | |
| 323 | 298 | end StockReference |
| 324 | 299 | |
| 325 | 300 | /-! ## Actual parameter jets of the integral controls -/ |
| @@ -385,13 +360,6 @@ theorem parameterJet_mul_radial {J : Set ℝ} (hJ : IsOpen J) {F : Field} | ||
| 385 | 360 | ((hg.comp contDiff_fst).contDiffOn.mul (parameterJet_smooth hJ hF n)) |
| 386 | 361 | (p := p) ⟨mem_univ _, hp⟩).unique hd |
| 387 | 362 | |
| 388 | -theorem parameterJet_congr {J : Set ℝ} (hJ : IsOpen J) {F G : Field} | |
| 389 | - (he : ∀ p, p.2 ∈ J → F p = G p) (n : ℕ) {p : Point} (hp : p.2 ∈ J) : | |
| 390 | - parameterJet n F p = parameterJet n G p := by | |
| 391 | - induction n generalizing p with | |
| 392 | - | zero => exact he p hp | |
| 393 | - | succ n ih => exact parameterPartial_congr hJ (fun _ hq => ih hq) hp | |
| 394 | - | |
| 395 | 363 | theorem parameterJet_sub {J : Set ℝ} (hJ : IsOpen J) {F G : Field} |
| 396 | 364 | (hF : ContDiffOn ℝ ∞ F (logDomain J hJ).carrier) |
| 397 | 365 | (hG : ContDiffOn ℝ ∞ G (logDomain J hJ).carrier) (n : ℕ) |
| @@ -429,29 +397,6 @@ theorem integral_norm_bound {F : ℝ → ℝ} {a b M : ℝ} (hab : a ≤ b) | ||
| 429 | 397 | exact hb t ⟨(uIoc_of_le hab ▸ ht).1.le, (uIoc_of_le hab ▸ ht).2⟩) |
| 430 | 398 | simpa only [Real.norm_eq_abs, abs_of_nonneg (sub_nonneg.mpr hab)] using hi |
| 431 | 399 | |
| 432 | -/-- An initial layer contributes only its width, even at later radii. -/ | |
| 433 | -theorem initial_layer_bound {F : ℝ → ℝ} (hF : Continuous F) {T y M : ℝ} | |
| 434 | - (hT : 0 ≤ T) (hy : 0 ≤ y) (hM : 0 ≤ M) | |
| 435 | - (hb : ∀ t ∈ Icc (0 : ℝ) y, |F t| ≤ M) | |
| 436 | - (hz : ∀ t ∈ Icc T y, F t = 0) : | |
| 437 | - |∫ t in (0 : ℝ)..y, F t| ≤ M * T := by | |
| 438 | - by_cases hyt : y ≤ T | |
| 439 | - · have hi : |∫ t in (0 : ℝ)..y, F t| ≤ M * y := by | |
| 440 | - simpa only [sub_zero] using integral_norm_bound hy hb | |
| 441 | - exact hi.trans (mul_le_mul_of_nonneg_left hyt hM) | |
| 442 | - · have hTy : T ≤ y := (lt_of_not_ge hyt).le | |
| 443 | - have hsplit := intervalIntegral.integral_add_adjacent_intervals (μ := volume) | |
| 444 | - (hF.intervalIntegrable 0 T) (hF.intervalIntegrable T y) | |
| 445 | - have hzero : (∫ t in T..y, F t) = 0 := by | |
| 446 | - calc | |
| 447 | - _ = ∫ _t in T..y, (0 : ℝ) := | |
| 448 | - intervalIntegral.integral_congr (fun t ht => hz t (uIcc_of_le hTy ▸ ht)) | |
| 449 | - _ = 0 := by simp | |
| 450 | - rw [hzero, add_zero] at hsplit | |
| 451 | - rw [← hsplit] | |
| 452 | - simpa only [sub_zero] using integral_norm_bound hT | |
| 453 | - (fun t ht => hb t ⟨ht.1, ht.2.trans hTy⟩) | |
| 454 | - | |
| 455 | 400 | /-- A modification supported after `a` contributes only the traversed |
| 456 | 401 | width; the estimate applies before, during, and at the end of its ramp. -/ |
| 457 | 402 | theorem late_layer_bound {F : ℝ → ℝ} (hF : Continuous F) {a y w M : ℝ} |
| @@ -1411,26 +1356,6 @@ theorem small_physical_of_log_control {K : Set ℝ} (hKJ : K ⊆ parameterInterv | ||
| 1411 | 1356 | rw [physicalF_eq_log F hΛ hsmall hδ hδT hP0 hT hb hw₁ hw₂ (hKJ hη) hp, Real.log_exp] |
| 1412 | 1357 | exact hc.log_value (R.logTime X) ⟨hy0, hyend⟩ η hη |
| 1413 | 1358 | |
| 1414 | -/-- Direct physical error thresholds, with the reference cutoff already | |
| 1415 | -fixed. Setting `N = 1` supplies the value and first-parameter estimates | |
| 1416 | -needed for all five histories and both lag stocks. -/ | |
| 1417 | -theorem exists_small_physical_control {K : Set ℝ} (hK : IsCompact K) | |
| 1418 | - (hKJ : K ⊆ parameterInterval) (N : ℕ) {ε : ℝ} (hε : 0 < ε) | |
| 1419 | - (hb : δ ≤ (ofNatural F hΛ hsmall hδ hδT hP0).bigTime) : | |
| 1420 | - let R := ofNatural F hΛ hsmall hδ hδT hP0 | |
| 1421 | - ∃ T0 > 0, ∃ κ0 > 0, ∃ w0 > 0, T0 ≤ δ ∧ κ0 < 1 ∧ | |
| 1422 | - 2 * w0 < R.finalTime - R.bigTime ∧ | |
| 1423 | - ∀ T ∈ Ioo (0 : ℝ) T0, ∀ κ ∈ Ico (0 : ℝ) κ0, | |
| 1424 | - ∀ w₁ ∈ Ioo (0 : ℝ) w0, ∀ w₂ ∈ Ioo (0 : ℝ) w0, | |
| 1425 | - R.SmallPhysicalControl K N ε T κ w₁ w₂ := by | |
| 1426 | - let R := ofNatural F hΛ hsmall hδ hδT hP0 | |
| 1427 | - obtain ⟨T0, hT0, κ0, hκ0, w0, hw0, hTδ, hκ1, hwgap, hcontrol⟩ := | |
| 1428 | - R.exists_small_log_control parameterInterval_open hK hKJ N (hδ.le.trans hb) hδ hε | |
| 1429 | - refine ⟨T0, hT0, κ0, hκ0, w0, hw0, hTδ, hκ1, hwgap, ?_⟩ | |
| 1430 | - intro T hT κ hκ w₁ hw₁ w₂ hw₂ | |
| 1431 | - exact small_physical_of_log_control F hΛ hsmall hδ hδT hP0 hKJ hT.1 hb hw₁.1 hw₂.1 | |
| 1432 | - (hcontrol T hT κ hκ w₁ hw₁ w₂ hw₂) | |
| 1433 | - | |
| 1434 | 1359 | theorem exists_joint_small_control {K : Set ℝ} (hK : IsCompact K) |
| 1435 | 1360 | (hKJ : K ⊆ parameterInterval) (N : ℕ) {ε : ℝ} (hε : 0 < ε) |
| 1436 | 1361 | (hb : δ ≤ (ofNatural F hΛ hsmall hδ hδT hP0).bigTime) : |
| @@ -1474,20 +1399,6 @@ theorem endpoint_rescale (η : ℝ) : | ||
| 1474 | 1399 | NaturalProfile.rescalePoint Λ ((Input.ofNatural hΛ F).endpoint, η) = (4, η) := by |
| 1475 | 1400 | exact Prod.ext ((Input.ofNatural hΛ F).scale_endpoint) rfl |
| 1476 | 1401 | |
| 1477 | -omit F in | |
| 1478 | -theorem exists_phase_bound (d : AnalyticInputs h j σ P0) : | |
| 1479 | - ∃ B > 0, ∀ η ∈ Icc (-1 : ℝ) 1, |realPhase h j σ η| ≤ B := by | |
| 1480 | - have hc : ContinuousOn (realPhase h j σ) (Icc (-1 : ℝ) 1) := by | |
| 1481 | - intro η hη | |
| 1482 | - have hw := original_interval_interior hη | |
| 1483 | - exact (d.realPhase_hasDerivAt ⟨hw.1.le, hw.2.le⟩).continuousAt.continuousWithinAt | |
| 1484 | - obtain ⟨B, hb⟩ := isCompact_Icc.exists_bound_of_continuousOn hc | |
| 1485 | - refine ⟨1 + |B|, by positivity, ?_⟩ | |
| 1486 | - intro η hη | |
| 1487 | - have he := hb η hη | |
| 1488 | - rw [Real.norm_eq_abs] at he | |
| 1489 | - linarith [le_abs_self B] | |
| 1490 | - | |
| 1491 | 1402 | omit F in |
| 1492 | 1403 | theorem normalized_initialLog_formula (E : NaturalEntrance.CoefficientProfile d Λ C) |
| 1493 | 1404 | (hC : 0 < C) {η : ℝ} |
| @@ -1504,47 +1415,6 @@ theorem normalized_initialLog_formula (E : NaturalEntrance.CoefficientProfile d | ||
| 1504 | 1415 | rw [Real.log_div (Real.exp_pos _).ne' hC.ne', Real.log_exp] |
| 1505 | 1416 | ring |
| 1506 | 1417 | |
| 1507 | -omit F C hδ hδT in | |
| 1508 | -/-- The bound precedes the choice of normalization `C`. Its only profile | |
| 1509 | -input is the uniform coefficient-space ball and the proved `Phi > 1/8`. -/ | |
| 1510 | -theorem exists_uniform_initialLog_bound (hσ : 0 < σ) | |
| 1511 | - (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) : | |
| 1512 | - ∃ B > 0, ∀ C, 0 < C → ∀ E : NaturalEntrance.CoefficientProfile d Λ C, | |
| 1513 | - ∀ δ, ∀ hδ : 0 < δ, ∀ hδT : 2 * δ < rampLimit, ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 1514 | - |Real.log C + (ofNatural E.family hΛ hsmall hδ hδT hP0).initialLog η| ≤ B := by | |
| 1515 | - obtain ⟨A, hA, ha⟩ := exists_phase_bound d | |
| 1516 | - let J0 := ReferenceJetBounds.jetConstant d.coefficients 0 0 | |
| 1517 | - have hJ0 : 0 ≤ J0 := ReferenceJetBounds.jetConstant_nonneg d.coefficients 0 0 | |
| 1518 | - let B := 1 + Λ * A + |Real.log (1 / 8 : ℝ)| + |Real.log (1 + J0)| | |
| 1519 | - have hB : 0 < B := by dsimp [B]; positivity | |
| 1520 | - refine ⟨B, hB, ?_⟩ | |
| 1521 | - intro C hC E δ hδ hδT η hη | |
| 1522 | - have hηJ := original_interval_interior hη | |
| 1523 | - have hphi := NaturalEntrance.coefficient_phi_lower d.coefficients hσ | |
| 1524 | - (NaturalEntrance.profileErrorConstant_nonneg d) hscale E.coefficients E.norm_error | |
| 1525 | - (by norm_num : (0 : ℝ) ≤ 4) (by norm_num : (4 : ℝ) ≤ 41 / 10) hηJ | |
| 1526 | - let φ := AxisEvaluation.profile window d.coefficients.epsilon E.coefficients.1 (4, η) | |
| 1527 | - have hφ : 0 < φ := lt_trans (by norm_num) hphi | |
| 1528 | - have hupper : φ ≤ 1 + J0 := by | |
| 1529 | - have he := (ReferenceJetBounds.coefficient_jet_bound d.coefficients E.coefficients E.norm_ball | |
| 1530 | - 0 0 (p := (4, η)) (by norm_num)).1 | |
| 1531 | - rw [AxisEvaluation.mixedSeries_zero] at he | |
| 1532 | - exact (le_abs_self φ).trans (he.trans (by dsimp [J0]; linarith)) | |
| 1533 | - have hlo : Real.log (1 / 8 : ℝ) ≤ Real.log φ := Real.log_le_log (by norm_num) hphi.le | |
| 1534 | - have hhi : Real.log φ ≤ Real.log (1 + J0) := Real.log_le_log hφ hupper | |
| 1535 | - have hlog : |Real.log φ| ≤ |Real.log (1 / 8 : ℝ)| + |Real.log (1 + J0)| := by | |
| 1536 | - apply abs_le.mpr | |
| 1537 | - constructor | |
| 1538 | - · linarith [neg_abs_le (Real.log (1 / 8 : ℝ)), abs_nonneg (Real.log (1 + J0))] | |
| 1539 | - · linarith [le_abs_self (Real.log (1 + J0)), abs_nonneg (Real.log (1 / 8 : ℝ))] | |
| 1540 | - rw [normalized_initialLog_formula hΛ hsmall hδ hδT hP0 E hC hφ.ne'] | |
| 1541 | - calc | |
| 1542 | - _ ≤ |Λ * realPhase h j σ η| + |Real.log φ| := abs_add_le _ _ | |
| 1543 | - _ ≤ Λ * A + (|Real.log (1 / 8 : ℝ)| + |Real.log (1 + J0)|) := by | |
| 1544 | - rw [abs_mul, abs_of_pos hΛ] | |
| 1545 | - exact add_le_add (mul_le_mul_of_nonneg_left (ha η hη) hΛ.le) hlog | |
| 1546 | - _ ≤ B := by dsimp [B]; linarith | |
| 1547 | - | |
| 1548 | 1418 | omit F in |
| 1549 | 1419 | theorem initialU_error_jet (E : NaturalEntrance.CoefficientProfile d Λ C) (n : ℕ) |
| 1550 | 1420 | {η : ℝ} (hη : η ∈ parameterInterval) : |
+16 −0 routes/s1-ns-transition-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-transition-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the family `NavierStokes/Transition*`, file `NavierStokes/TransitionRamp.lean`. Deletes the | |
| 8 | +8 declarations `unit.json` names — `StockReference.prescribed_angular_control`, | |
| 9 | +`StockReference.prescribed_axial_control`, `StockReference.final_logarithmic_slope`, `parameterJet_congr`, | |
| 10 | +`initial_layer_bound`, `exists_small_physical_control`, `exists_phase_bound` and | |
| 11 | +`exists_uniform_initialLog_bound` — 130 lines, deletions only. None is named anywhere in the tree any more, none | |
| 12 | +of their docstrings cites the paper, and the paper's results do not reach them. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Push, open the pull request against `main`, and let `challenge` and `build` say; nothing further is claimed here. | |