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.PacketKnownPieceBounds |
| 2 | import Euler.PacketCylinderLinearTermBudget |
| 3 | |
| 4 | /-! Bounds on the actual masked slow and fast products, with zero terms charged no shifts. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField.PrefixBound |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | EulerPacketTimeProfile EulerParameterWordGevrey |
| 12 | |
| 13 | variable {P T : ℝ} [Fact (0 < P)] {p : ℕ} {a : ℕ → Profile} |
| 14 | {F : PrefixFields P T p a} {hT : 0 ≤ T} {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 15 | (BF : PrefixBound F hT S R) {O : Operators} {C : CoefficientData P T O} (BC : CoefficientBudget C) |
| 16 | |
| 17 | include BF |
| 18 | |
| 19 | theorem maskedSlow_bound (l r : KnownPiece) (i j n : ℕ) {raw : VectorField} (W : Field P T raw) |
| 20 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = if i+j=n then |
| 21 | slowAdvection (O.inverseFrame (t,(x,θ))) (l.jet O p a (t,(x,θ)) i) (r.jet O p a (t,(x,θ)) j) else 0) |
| 22 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) |
| 23 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) |
| 24 | (hprofile : i+j=n → l.active p i → r.active p j → |
| 25 | ∀ t, l.profile S i t*r.profile S j t ≤ b t) : |
| 26 | (W.normalized hT b hb).WordBound 6 R BC.slowCost |
| 27 | (if i+j=n ∧ l.active p i ∧ r.active p j then l.shift i+r.shift j+1 else 0) := by |
| 28 | by_cases hactive : i+j=n ∧ l.active p i ∧ r.active p j |
| 29 | · have hbound := BC.slow_bound (F.pieceJet O l i) (F.pieceJet O r j) hT |
| 30 | (l.profile S i) (r.profile S j) b (l.profile_pos S i) (r.profile_pos S j) hb |
| 31 | (BF.pieceJet hR O l i) (BF.pieceJet hR O r j) hR hRc |
| 32 | (hprofile hactive.1 hactive.2.1 hactive.2.2) |
| 33 | have ht := hbound.normalized_of_raw_eq W hT b hb (fun t x θ => by |
| 34 | rw [he t x θ,ite_eq_left hactive.1]) |
| 35 | simpa only [ite_eq_left hactive] using ht |
| 36 | · have hz : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = 0 := by |
| 37 | intro t x θ |
| 38 | rw [he t x θ] |
| 39 | by_cases hn : i+j=n |
| 40 | · rw [ite_eq_left hn] |
| 41 | by_cases hl : l.active p i |
| 42 | · have hr : ¬ r.active p j := fun hr => hactive ⟨hn,hl,hr⟩ |
| 43 | rw [r.jet_zero_of_inactive O p a (t,(x,θ)) j hr,map_zero] |
| 44 | · rw [l.jet_zero_of_inactive O p a (t,(x,θ)) i hl,map_zero,LinearMap.zero_apply] |
| 45 | · rw [ite_eq_right hn] |
| 46 | have ht := (Field.wordBound_normalized_of_zero W hz hT b hb 6 R 0).mono_amplitude hR BC.slowCost_nonneg |
| 47 | simpa only [ite_eq_right hactive] using ht |
| 48 | |
| 49 | theorem maskedFast_bound (l r : KnownPiece) (i j n : ℕ) {raw : VectorField} (W : Field P T raw) |
| 50 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = if i+j=n then |
| 51 | fastAdvection (O.normal (t,(x,θ))) (l.jet O p a (t,(x,θ)) i) (r.jet O p a (t,(x,θ)) j) else 0) |
| 52 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) |
| 53 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) |
| 54 | (hprofile : i+j=n → l.active p i → r.active p j → |
| 55 | ∀ t, l.profile S i t*r.profile S j t ≤ b t) : |
| 56 | (W.normalized hT b hb).WordBound 6 R BC.fastCost |
| 57 | (if i+j=n ∧ l.active p i ∧ r.active p j then l.shift i+r.shift j+1 else 0) := by |
| 58 | by_cases hactive : i+j=n ∧ l.active p i ∧ r.active p j |
| 59 | · have hbound := BC.fast_bound (F.pieceJet O l i) (F.pieceJet O r j) hT |
| 60 | (l.profile S i) (r.profile S j) b (l.profile_pos S i) (r.profile_pos S j) hb |
| 61 | (BF.pieceJet hR O l i) (BF.pieceJet hR O r j) hR hRc |
| 62 | (hprofile hactive.1 hactive.2.1 hactive.2.2) |
| 63 | have ht := hbound.normalized_of_raw_eq W hT b hb (fun t x θ => by |
| 64 | rw [he t x θ,ite_eq_left hactive.1]) |
| 65 | simpa only [ite_eq_left hactive] using ht |
| 66 | · have hz : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = 0 := by |
| 67 | intro t x θ |
| 68 | rw [he t x θ] |
| 69 | by_cases hn : i+j=n |
| 70 | · rw [ite_eq_left hn] |
| 71 | by_cases hl : l.active p i |
| 72 | · have hr : ¬ r.active p j := fun hr => hactive ⟨hn,hl,hr⟩ |
| 73 | rw [r.jet_zero_of_inactive O p a (t,(x,θ)) j hr,map_zero] |
| 74 | · rw [l.jet_zero_of_inactive O p a (t,(x,θ)) i hl,map_zero,LinearMap.zero_apply] |
| 75 | · rw [ite_eq_right hn] |
| 76 | have ht := (Field.wordBound_normalized_of_zero W hz hT b hb 6 R 0).mono_amplitude hR BC.fastCost_nonneg |
| 77 | simpa only [ite_eq_right hactive] using ht |
| 78 | |
| 79 | end EulerPacketCylinderField.PrefixBound |