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.PacketFieldTimeFreeze |
| 2 | import Euler.PacketFiniteProfileFields |
| 3 | import Euler.PacketFiniteAssemblyBounds |
| 4 | |
| 5 | /-! The literal initial packet is the sum of its oscillating high part |
| 6 | and its angle-independent mean part. Every field below is realized by |
| 7 | the already constructed continuous cylinder L² paths. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | namespace EulerPacketInitial |
| 13 | |
| 14 | open Set Finset EulerSmoothLimit EulerPacketProfileRecursion EulerPacketPointJets |
| 15 | EulerPacketCylinderField EulerFiniteGrades |
| 16 | |
| 17 | def timeSlice (t : ℝ) (f : VectorField) : VectorField := fun z => f (t,z.2) |
| 18 | |
| 19 | def highGrade (N : ℕ) (t : ℝ) (a : ℕ → Profile) : ℕ → VectorField := |
| 20 | assemble N (fun i => timeSlice t (a i).high) (fun i => timeSlice t (a i).corrector) |
| 21 | |
| 22 | def meanGrade (N : ℕ) (t : ℝ) (a : ℕ → Profile) : ℕ → VectorField := |
| 23 | truncate N (fun i => timeSlice t (a i).mean) |
| 24 | |
| 25 | def high (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : VectorField := |
| 26 | fieldSum (N+1) κ (highGrade N t a) |
| 27 | |
| 28 | def mean (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : VectorField := |
| 29 | fieldSum (N+1) κ (meanGrade N t a) |
| 30 | |
| 31 | theorem high_eq (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 32 | high N κ t a = fieldSum N κ (fun i => timeSlice t (a i).high) + |
| 33 | κ • fieldSum N κ (fun i => timeSlice t (a i).corrector) := by |
| 34 | funext z |
| 35 | have h := congrFun (evaluate_assemble N κ (fun i => timeSlice t (a i).high) |
| 36 | (fun i => timeSlice t (a i).corrector)) z |
| 37 | simpa only [high,highGrade,fieldSum,evaluate,Finset.sum_apply,Pi.smul_apply,Pi.add_apply] using h |
| 38 | |
| 39 | theorem mean_eq (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 40 | mean N κ t a = fieldSum N κ (fun i => timeSlice t (a i).mean) := by |
| 41 | funext z |
| 42 | have h := congrFun (evaluate_truncate_extend N (N+1) (by omega) κ |
| 43 | (fun i => timeSlice t (a i).mean)) z |
| 44 | simpa only [mean,meanGrade,fieldSum,evaluate,Finset.sum_apply,Pi.smul_apply] using h |
| 45 | |
| 46 | theorem packet_split (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 47 | timeSlice t (fieldSum (N+1) κ (assembledVelocity N a)) = |
| 48 | high N κ t a + mean N κ t a := by |
| 49 | rw [high_eq,mean_eq] |
| 50 | funext z |
| 51 | have he := congrFun (evaluate_assemble N κ (fun i => (a i).high+(a i).mean) |
| 52 | (fun i => (a i).corrector)) (t,z.2) |
| 53 | simpa only [timeSlice,fieldSum,evaluate,assembledVelocity,Finset.sum_apply,Pi.add_apply, |
| 54 | Pi.smul_apply,smul_add,sum_add_distrib,add_assoc,add_comm,add_left_comm] using he |
| 55 | |
| 56 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 ≤ T} {N : ℕ} |
| 57 | {a : ℕ → Profile} {support : Set Space} |
| 58 | |
| 59 | def highGradeField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 60 | (t : Icc (0 : ℝ) T) (n : ℕ) : Field P T (highGrade N t a n) := |
| 61 | Field.assembleFamily N _ _ (fun i hi => (G i hi).high.freeze t) |
| 62 | (fun i hi => (G i hi).corrector.freeze t) n |
| 63 | |
| 64 | def meanGradeField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 65 | (t : Icc (0 : ℝ) T) (n : ℕ) : Field P T (meanGrade N t a n) := |
| 66 | Field.truncateFamily N _ (fun i hi => (G i hi).mean.freeze t) n |
| 67 | |
| 68 | def highField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 69 | (t : Icc (0 : ℝ) T) (κ : ℝ) : Field P T (high N κ t a) := |
| 70 | Field.evaluateFamily (N+1) κ _ (highGradeField G t) |
| 71 | |
| 72 | def meanField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 73 | (t : Icc (0 : ℝ) T) (κ : ℝ) : Field P T (mean N κ t a) := |
| 74 | Field.evaluateFamily (N+1) κ _ (meanGradeField G t) |
| 75 | |
| 76 | theorem high_zero_outside (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 77 | (t : Icc (0 : ℝ) T) (κ s : ℝ) (x : Space) (hx : x ∉ support) (θ : ℝ) : |
| 78 | high N κ t a (s,(x,θ)) = 0 := by |
| 79 | rw [high_eq] |
| 80 | change (∑ i ∈ range (N+1), κ^i • (a i).high (t,(x,θ))) + |
| 81 | κ • (∑ i ∈ range (N+1), κ^i • (a i).corrector (t,(x,θ))) = 0 |
| 82 | have hh : (∑ i ∈ range (N+1), κ^i • (a i).high (t,(x,θ))) = 0 := by |
| 83 | apply sum_eq_zero |
| 84 | intro i hi |
| 85 | rw [(G i (by have := mem_range.mp hi; omega)).high_zero t x hx θ,smul_zero] |
| 86 | have hc : (∑ i ∈ range (N+1), κ^i • (a i).corrector (t,(x,θ))) = 0 := by |
| 87 | apply sum_eq_zero |
| 88 | intro i hi |
| 89 | rw [(G i (by have := mem_range.mp hi; omega)).corrector_zero t x hx θ,smul_zero] |
| 90 | rw [hh,hc,smul_zero,add_zero] |
| 91 | |
| 92 | theorem mean_angle (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 93 | (t : Icc (0 : ℝ) T) (κ s : ℝ) (x : Space) (θ : ℝ) : |
| 94 | mean N κ t a (s,(x,θ)) = mean N κ t a (s,(x,0)) := by |
| 95 | rw [mean_eq] |
| 96 | change (∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,θ))) = |
| 97 | ∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,0)) |
| 98 | apply sum_congr rfl |
| 99 | intro i hi |
| 100 | rw [(G i (by have := mem_range.mp hi; omega)).mean_angle t x θ] |
| 101 | |
| 102 | theorem mean_zero_outside (t : ℝ) (κ s : ℝ) (a : ℕ → Profile) |
| 103 | (K : Set Space) |
| 104 | (hmean : ∀ i, i ≤ N → ∀ x, x ∉ K → ∀ θ, (a i).mean (t,(x,θ)) = 0) |
| 105 | (x : Space) (hx : x ∉ K) (θ : ℝ) : |
| 106 | mean N κ t a (s,(x,θ)) = 0 := by |
| 107 | rw [mean_eq] |
| 108 | change (∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,θ))) = 0 |
| 109 | apply sum_eq_zero |
| 110 | intro i hi |
| 111 | rw [hmean i (by have := mem_range.mp hi; omega) x hx θ,smul_zero] |
| 112 | |
| 113 | end EulerPacketInitial |