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 Euler.PacketScaledRay |
| 2 | |
| 3 | /-! Exact transfer of relative propagation to physical time and its actual profile. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerPacketMovingFrame |
| 9 | |
| 10 | open Set |
| 11 | |
| 12 | def scaledTime (t₀ a ε t : ℝ) : ℝ := (a/ε)*(t-t₀) |
| 13 | |
| 14 | def physicalProfile (Z : ℝ → ℝ) (t₀ a ε t : ℝ) : ℝ := Z (scaledTime t₀ a ε t) |
| 15 | |
| 16 | theorem physicalTime_scaledTime {t₀ a ε t : ℝ} (ha : a ≠ 0) (hε : ε ≠ 0) : |
| 17 | physicalTime t₀ a ε (scaledTime t₀ a ε t) = t := by |
| 18 | unfold physicalTime scaledTime |
| 19 | field_simp |
| 20 | ring |
| 21 | |
| 22 | theorem scaledTime_physicalTime {t₀ a ε τ : ℝ} (ha : a ≠ 0) (hε : ε ≠ 0) : |
| 23 | scaledTime t₀ a ε (physicalTime t₀ a ε τ) = τ := by |
| 24 | unfold physicalTime scaledTime |
| 25 | field_simp |
| 26 | ring |
| 27 | |
| 28 | theorem scaledTime_strictMono {t₀ a ε : ℝ} (ha : 0 < a) (hε : 0 < ε) : |
| 29 | StrictMono (scaledTime t₀ a ε) := by |
| 30 | intro s t hst |
| 31 | exact mul_lt_mul_of_pos_left (sub_lt_sub_right hst t₀) (div_pos ha hε) |
| 32 | |
| 33 | theorem scaledTime_mem {t₀ a ε T t : ℝ} (ha : 0 < a) (hε : 0 < ε) |
| 34 | (ht : t ∈ Icc t₀ (physicalTime t₀ a ε T)) : |
| 35 | scaledTime t₀ a ε t ∈ Icc 0 T := by |
| 36 | have hm := (scaledTime_strictMono (t₀ := t₀) ha hε).monotone |
| 37 | have hl := hm ht.1 |
| 38 | have hr := hm ht.2 |
| 39 | simp only [scaledTime, sub_self, mul_zero] at hl |
| 40 | rw [scaledTime_physicalTime (ne_of_gt ha) (ne_of_gt hε)] at hr |
| 41 | exact ⟨hl, hr⟩ |
| 42 | |
| 43 | theorem physicalProfile_continuousOn {Z : ℝ → ℝ} {t₀ a ε T : ℝ} |
| 44 | (ha : 0 < a) (hε : 0 < ε) (hZ : ContinuousOn Z (Icc 0 T)) : |
| 45 | ContinuousOn (physicalProfile Z t₀ a ε) (Icc t₀ (physicalTime t₀ a ε T)) := by |
| 46 | apply hZ.comp |
| 47 | · unfold scaledTime |
| 48 | fun_prop |
| 49 | · intro t ht |
| 50 | exact scaledTime_mem ha hε ht |
| 51 | |
| 52 | theorem physicalProfile_positive {Z : ℝ → ℝ} {t₀ a ε T : ℝ} |
| 53 | (ha : 0 < a) (hε : 0 < ε) (hZ : ∀ t ∈ Icc 0 T, 0 < Z t) : |
| 54 | ∀ t ∈ Icc t₀ (physicalTime t₀ a ε T), 0 < physicalProfile Z t₀ a ε t := by |
| 55 | intro t ht |
| 56 | exact hZ _ (scaledTime_mem ha hε ht) |
| 57 | |
| 58 | /-- This is only the exact change of the time variable in an already |
| 59 | proved propagator estimate; its profile ratio is preserved. -/ |
| 60 | theorem physical_propagation_of_scaled {E : Type*} [NormedAddCommGroup E] |
| 61 | (w : ℝ → E) (Z : ℝ → ℝ) {t₀ a ε T C : ℝ} |
| 62 | (ha : 0 < a) (hε : 0 < ε) |
| 63 | (hbound : ∀ s t, 0 ≤ s → s ≤ t → t ≤ T → |
| 64 | ‖w (physicalTime t₀ a ε t)‖ ≤ C*(Z t/Z s)*‖w (physicalTime t₀ a ε s)‖) : |
| 65 | ∀ s t, s ∈ Icc t₀ (physicalTime t₀ a ε T) → |
| 66 | t ∈ Icc t₀ (physicalTime t₀ a ε T) → s ≤ t → |
| 67 | ‖w t‖ ≤ C*(physicalProfile Z t₀ a ε t/physicalProfile Z t₀ a ε s)*‖w s‖ := by |
| 68 | intro s t hs ht hst |
| 69 | have hs' := scaledTime_mem ha hε hs |
| 70 | have ht' := scaledTime_mem ha hε ht |
| 71 | have hst' := (scaledTime_strictMono (t₀ := t₀) ha hε).monotone hst |
| 72 | have h := hbound _ _ hs'.1 hst' ht'.2 |
| 73 | simpa only [physicalTime_scaledTime (ne_of_gt ha) (ne_of_gt hε), physicalProfile] using h |
| 74 | |
| 75 | end EulerPacketMovingFrame |