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 NavierStokes.R3.ParabolicCalculus |
| 2 | import NavierStokes.R3.ParabolicEnergy |
| 3 | import NavierStokes.R3.ParabolicSupport |
| 4 | |
| 5 | /-! |
| 6 | # Parabolic compression with singular time fixed at one |
| 7 | |
| 8 | The clock is `l²(t-1)+1`. Extension by zero before the original initial time |
| 9 | makes the compressed solution start from rest, while the spatial support is |
| 10 | divided by the arbitrary factor `l > 1`. Viscosity remains unchanged. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokesR3.ParabolicScaling |
| 16 | |
| 17 | open NavierStokes.ProblemStatement Set |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | theorem pull_smooth {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | {g : SpaceTime → V} (hg : ContDiff ℝ ∞ g) (a l : ℝ) : |
| 22 | ContDiff ℝ ∞ (pull a l g) := by |
| 23 | exact (hg.comp (((contDiff_fst.sub contDiff_const).const_smul (l ^ 2)).add |
| 24 | contDiff_const |>.prodMk (contDiff_snd.const_smul l))).const_smul a |
| 25 | |
| 26 | theorem pull_smooth_on {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 27 | {g : SpaceTime → V} (hg : ContDiffOn ℝ ∞ g (Iio 1 ×ˢ univ)) |
| 28 | (a : ℝ) {l : ℝ} (hl : 0 < l) : |
| 29 | ContDiffOn ℝ ∞ (pull a l g) (Iio 1 ×ˢ univ) := by |
| 30 | apply (hg.comp ?_ ?_).const_smul a |
| 31 | · exact (((contDiff_fst.sub contDiff_const).const_smul (l ^ 2)).add |
| 32 | contDiff_const |>.prodMk (contDiff_snd.const_smul l)).contDiffOn |
| 33 | · intro z hz |
| 34 | exact ⟨clock_lt_one hl hz.1, mem_univ _⟩ |
| 35 | |
| 36 | theorem velocity_smooth {ν : ℝ} {u f : VelocityField} {p : PressureField} {K : Set Space} |
| 37 | (hc : ProblemStatement.CandidateProperties ν u p f K) |
| 38 | (hrest : ∀ t : ℝ, |t| ≤ 3 / 8 → ∀ x : Space, u (t, x) = 0 ∧ p (t, x) = 0) |
| 39 | {l : ℝ} (hl : 1 < l) : |
| 40 | ContDiffOn ℝ ∞ (velocity l u) (Iio 1 ×ˢ univ) := |
| 41 | pull_smooth_on (zeroBefore_smooth_on hc.velocity_smooth |
| 42 | (fun t ht x => (hrest t ht x).1)) l (by linarith) |
| 43 | |
| 44 | theorem pressure_smooth {ν : ℝ} {u f : VelocityField} {p : PressureField} {K : Set Space} |
| 45 | (hc : ProblemStatement.CandidateProperties ν u p f K) |
| 46 | (hrest : ∀ t : ℝ, |t| ≤ 3 / 8 → ∀ x : Space, u (t, x) = 0 ∧ p (t, x) = 0) |
| 47 | {l : ℝ} (hl : 1 < l) : |
| 48 | ContDiffOn ℝ ∞ (pressure l p) (Iio 1 ×ˢ univ) := |
| 49 | pull_smooth_on (zeroBefore_smooth_on hc.pressure_smooth |
| 50 | (fun t ht x => (hrest t ht x).2)) (l ^ 2) (by linarith) |
| 51 | |
| 52 | theorem zeroBefore_support {V : Type*} [Zero V] {g : SpaceTime → V} {K : Set Space} |
| 53 | (hg : ∀ t ∈ Ico (0 : ℝ) 1, tsupport (fun x => g (t, x)) ⊆ K) |
| 54 | {t : ℝ} (ht : t < 1) : tsupport (fun x => zeroBefore g (t, x)) ⊆ K := by |
| 55 | by_cases ht0 : 0 ≤ t |
| 56 | · simpa only [zeroBefore, ite_eq_left ht0] using hg t ⟨ht0, ht⟩ |
| 57 | · simp [zeroBefore, ht0] |
| 58 | |
| 59 | theorem pull_zeroBefore_support {V : Type*} [Zero V] [SMulZeroClass ℝ V] |
| 60 | {g : SpaceTime → V} {K : Set Space} |
| 61 | (hg : ∀ t ∈ Ico (0 : ℝ) 1, tsupport (fun x => g (t, x)) ⊆ K) |
| 62 | (a : ℝ) {l : ℝ} (hl : 0 < l) {t : ℝ} (ht : t < 1) : |
| 63 | tsupport (fun x => pull a l (zeroBefore g) (t, x)) ⊆ |
| 64 | (fun x : Space => l⁻¹ • x) '' K := |
| 65 | ProblemStatement.tsupport_spatialScale_subset |
| 66 | (zeroBefore_support hg (clock_lt_one hl ht)) a l hl.ne' |
| 67 | |
| 68 | theorem velocity_support_before_one {ν : ℝ} {u f : VelocityField} {p : PressureField} |
| 69 | {K : Set Space} (hc : ProblemStatement.CandidateProperties ν u p f K) |
| 70 | {l t : ℝ} (hl : 1 < l) (ht : t < 1) : |
| 71 | tsupport (fun x => velocity l u (t, x)) ⊆ (fun x : Space => l⁻¹ • x) '' K := |
| 72 | pull_zeroBefore_support hc.velocity_support l (by linarith) ht |
| 73 | |
| 74 | theorem pressure_support_before_one {ν : ℝ} {u f : VelocityField} {p : PressureField} |
| 75 | {K : Set Space} (hc : ProblemStatement.CandidateProperties ν u p f K) |
| 76 | {l t : ℝ} (hl : 1 < l) (ht : t < 1) : |
| 77 | tsupport (fun x => pressure l p (t, x)) ⊆ (fun x : Space => l⁻¹ • x) '' K := |
| 78 | pull_zeroBefore_support hc.pressure_support (l ^ 2) (by linarith) ht |
| 79 | |
| 80 | theorem force_support {f : VelocityField} (hf : ProblemStatement.CompactPositiveTimeSupport f) |
| 81 | {l : ℝ} (hl : 1 < l) : ProblemStatement.CompactPositiveTimeSupport (force l f) := by |
| 82 | have hl0 : 0 < l := by linarith |
| 83 | have hd : 1 - l ^ 2 ≤ 0 := by nlinarith |
| 84 | have h := hf.affineScale (l ^ 3) l (l ^ 2) (1 - l ^ 2) hl0.ne' |
| 85 | (sq_pos_of_pos hl0) hd |
| 86 | have he : force l f = (fun z : SpaceTime => l ^ 3 • f (l ^ 2 * z.1 + (1 - l ^ 2), l • z.2)) := by |
| 87 | funext z |
| 88 | apply congrArg (fun s : ℝ => l ^ 3 • f (s, l • z.2)) |
| 89 | dsimp [clock] |
| 90 | ring |
| 91 | rw [he] |
| 92 | exact h |
| 93 | |
| 94 | /-- The precise delayed parabolic scaling used in the periodic corollary. -/ |
| 95 | theorem compressedCandidate {ν : ℝ} {u f : VelocityField} {p : PressureField} {K : Set Space} |
| 96 | (hc : ProblemStatement.CandidateProperties ν u p f K) |
| 97 | (hrest : ∀ t : ℝ, |t| ≤ 3 / 8 → ∀ x : Space, u (t, x) = 0 ∧ p (t, x) = 0) |
| 98 | {l : ℝ} (hl : 1 < l) : |
| 99 | ProblemStatement.CandidateProperties ν (velocity l u) (pressure l p) (force l f) |
| 100 | ((fun x : Space => l⁻¹ • x) '' K) := by |
| 101 | have hl0 : 0 < l := by linarith |
| 102 | have hu := zeroBefore_smooth_on hc.velocity_smooth (fun t ht x => (hrest t ht x).1) |
| 103 | refine { |
| 104 | velocity_smooth := (velocity_smooth hc hrest hl).mono (fun z hz => ⟨hz.1.2, hz.2⟩) |
| 105 | pressure_smooth := (pressure_smooth hc hrest hl).mono (fun z hz => ⟨hz.1.2, hz.2⟩) |
| 106 | support_compact := ProblemStatement.isCompact_spatialScale_image hc.support_compact l |
| 107 | velocity_support := fun t ht => velocity_support_before_one hc hl ht.2 |
| 108 | pressure_support := fun t ht => pressure_support_before_one hc hl ht.2 |
| 109 | force_smooth := pull_smooth hc.force_smooth _ _ |
| 110 | force_support := force_support hc.force_support hl |
| 111 | zero_initial_velocity := ?_ |
| 112 | divergence_free := ?_ |
| 113 | navier_stokes := ?_ |
| 114 | energy_bounded := velocity_energy_bounded hc.energy_bounded hl |
| 115 | speed_unbounded := velocity_speed_unbounded hc.speed_unbounded hl |
| 116 | } |
| 117 | · intro x |
| 118 | change l • zeroBefore u (clock l 0, l • x) = 0 |
| 119 | rw [zeroBefore_eq_zero_of_nonpos (z := (clock l 0, l • x)) |
| 120 | (fun t ht y => (hrest t ht y).1) (clock_zero_nonpos hl.le), smul_zero] |
| 121 | · intro t ht x |
| 122 | rw [velocity, pull_divergence] |
| 123 | by_cases hs : 0 ≤ clock l t |
| 124 | · have he : (fun y => zeroBefore u (clock l t, y)) = fun y => u (clock l t, y) := by |
| 125 | funext y; exact zeroBefore_eq_of_nonneg u hs |
| 126 | simp only [spatialDivergence, spatialDerivative, he] |
| 127 | change (l * l) * spatialDivergence u (clock l t) (l • x) = 0 |
| 128 | rw [hc.divergence_free _ ⟨hs, clock_lt_one hl0 ht.2⟩, mul_zero] |
| 129 | · have he : (fun y => zeroBefore u (clock l t, y)) = fun _ => 0 := by |
| 130 | funext y; exact zeroBefore_eq_zero_of_neg u (lt_of_not_ge hs) |
| 131 | simp [spatialDivergence, spatialDerivative, he] |
| 132 | · intro t ht x |
| 133 | have htime : DifferentiableAt ℝ (fun s => zeroBefore u (s, l • x)) (clock l t) := by |
| 134 | have hat := hu.contDiffAt (x := (clock l t, l • x)) ((isOpen_Iio.prod isOpen_univ).mem_nhds |
| 135 | ⟨clock_lt_one hl0 ht.2, mem_univ (l • x)⟩) |
| 136 | exact (hat.comp (clock l t) (contDiffAt_id.prodMk contDiffAt_const)).differentiableAt (by simp) |
| 137 | rw [velocity, pressure, pull_residual ν l _ _ t x htime, |
| 138 | zeroBefore_residual hc hrest (clock_lt_one hl0 ht.2)] |
| 139 | rfl |
| 140 | |
| 141 | end NavierStokesR3.ParabolicScaling |