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.PeriodicUniqueness |
| 2 | import NavierStokes.ComparatorBridge |
| 3 | import NavierStokes.R3.ProblemStatement |
| 4 | |
| 5 | /-! |
| 6 | # Periodic classical uniqueness for every positive viscosity |
| 7 | |
| 8 | An inverse change of time and amplitude reduces the two solutions to the |
| 9 | already proved viscosity-one uniqueness theorem. Their spatial periods and |
| 10 | initial time agree throughout the reduction. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | namespace NavierStokes.PeriodicViscosityUniqueness |
| 19 | |
| 20 | open ProblemStatement PeriodicUniqueness ComparatorBridge |
| 21 | |
| 22 | theorem normalized_time_mem_Icc {ν a b t : ℝ} (hν : 0 < ν) |
| 23 | (ht : t ∈ Icc (ν * a) (ν * b)) : ν⁻¹ * t ∈ Icc a b := by |
| 24 | constructor |
| 25 | · simpa only [← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul] using |
| 26 | mul_le_mul_of_nonneg_left ht.1 (inv_pos.mpr hν).le |
| 27 | · simpa only [← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul] using |
| 28 | mul_le_mul_of_nonneg_left ht.2 (inv_pos.mpr hν).le |
| 29 | |
| 30 | theorem normalized_time_mem_Ioo {ν a b t : ℝ} (hν : 0 < ν) |
| 31 | (ht : t ∈ Ioo (ν * a) (ν * b)) : ν⁻¹ * t ∈ Ioo a b := by |
| 32 | constructor |
| 33 | · simpa only [← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul] using |
| 34 | mul_lt_mul_of_pos_left ht.1 (inv_pos.mpr hν) |
| 35 | · simpa only [← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul] using |
| 36 | mul_lt_mul_of_pos_left ht.2 (inv_pos.mpr hν) |
| 37 | |
| 38 | theorem normalize_smooth {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 39 | {ν a b : ℝ} (hν : 0 < ν) {g : SpaceTime → V} |
| 40 | (hg : ContDiffOn ℝ ∞ g (slab a b)) (amplitude : ℝ) : |
| 41 | ContDiffOn ℝ ∞ (rescale amplitude ν⁻¹ g) (slab (ν * a) (ν * b)) := by |
| 42 | apply (hg.comp ((contDiff_fst.const_smul ν⁻¹).prodMk contDiff_snd).contDiffOn |
| 43 | (fun z hz => ⟨normalized_time_mem_Icc hν hz.1, mem_univ _⟩)).const_smul amplitude |
| 44 | |
| 45 | theorem normalize_periodic {V : Type*} [SMul ℝ V] {ν a b : ℝ} |
| 46 | (hν : 0 < ν) {g : SpaceTime → V} (hg : UnitSpatialPeriodsOn (Icc a b) g) |
| 47 | (amplitude : ℝ) : |
| 48 | UnitSpatialPeriodsOn (Icc (ν * a) (ν * b)) (rescale amplitude ν⁻¹ g) := by |
| 49 | intro t ht x i |
| 50 | exact congrArg (fun y => amplitude • y) (hg _ (normalized_time_mem_Icc hν ht) x i) |
| 51 | |
| 52 | theorem normalize_residual {ν : ℝ} (hν : 0 < ν) |
| 53 | (u : VelocityField) (p : PressureField) (t : ℝ) (x : Space) |
| 54 | (hu : DifferentiableAt ℝ (fun s => u (s, x)) (ν⁻¹ * t)) : |
| 55 | navierStokesResidual (rescale ν⁻¹ ν⁻¹ u) (rescale (ν⁻¹ ^ 2) ν⁻¹ p) t x = |
| 56 | ν⁻¹ ^ 2 • NavierStokesR3.ProblemStatement.navierStokesResidual ν u p (ν⁻¹ * t) x := by |
| 57 | have hcoef : ν⁻¹ * ν⁻¹ * ν = ν⁻¹ := by field_simp |
| 58 | rw [navierStokesResidual, rescale_temporalDerivative _ _ _ _ _ hu, |
| 59 | rescale_advection, rescale_laplacian, rescale_gradient] |
| 60 | simp only [NavierStokesR3.ProblemStatement.navierStokesResidual, |
| 61 | smul_add, smul_sub, smul_smul, hcoef, pow_two] |
| 62 | |
| 63 | /-- Two smooth periodic solutions with the same force and initial datum agree |
| 64 | on a closed time interval, at every positive viscosity. -/ |
| 65 | theorem classical_uniqueness_on_Icc {ν a b : ℝ} (hν : 0 < ν) |
| 66 | {u v : VelocityField} {p q : PressureField} {f : VelocityField} |
| 67 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 68 | (hv : ContDiffOn ℝ ∞ v (slab a b)) |
| 69 | (hp : ContDiffOn ℝ ∞ p (slab a b)) |
| 70 | (hq : ContDiffOn ℝ ∞ q (slab a b)) |
| 71 | (hpu : UnitSpatialPeriodsOn (Icc a b) u) |
| 72 | (hpv : UnitSpatialPeriodsOn (Icc a b) v) |
| 73 | (hpp : UnitSpatialPeriodsOn (Icc a b) p) |
| 74 | (hpq : UnitSpatialPeriodsOn (Icc a b) q) |
| 75 | (hdu : ∀ t ∈ Ioo a b, ∀ x : Space, spatialDivergence u t x = 0) |
| 76 | (hdv : ∀ t ∈ Ioo a b, ∀ x : Space, spatialDivergence v t x = 0) |
| 77 | (hNSu : ∀ t ∈ Ioo a b, ∀ x : Space, |
| 78 | NavierStokesR3.ProblemStatement.navierStokesResidual ν u p t x = f (t, x)) |
| 79 | (hNSv : ∀ t ∈ Ioo a b, ∀ x : Space, |
| 80 | NavierStokesR3.ProblemStatement.navierStokesResidual ν v q t x = f (t, x)) |
| 81 | (hinitial : ∀ x : Space, u (a, x) = v (a, x)) : |
| 82 | ∀ t ∈ Icc a b, ∀ x : Space, u (t, x) = v (t, x) := by |
| 83 | have heq := PeriodicUniqueness.classical_uniqueness_on_Icc |
| 84 | (u := rescale ν⁻¹ ν⁻¹ u) (v := rescale ν⁻¹ ν⁻¹ v) |
| 85 | (p := rescale (ν⁻¹ ^ 2) ν⁻¹ p) (q := rescale (ν⁻¹ ^ 2) ν⁻¹ q) |
| 86 | (f := rescale (ν⁻¹ ^ 2) ν⁻¹ f) |
| 87 | (normalize_smooth hν hu _) (normalize_smooth hν hv _) |
| 88 | (normalize_smooth hν hp _) (normalize_smooth hν hq _) |
| 89 | (normalize_periodic hν hpu _) (normalize_periodic hν hpv _) |
| 90 | (normalize_periodic hν hpp _) (normalize_periodic hν hpq _) ?_ ?_ ?_ ?_ ?_ |
| 91 | · intro t ht x |
| 92 | have hscaled := heq (ν * t) |
| 93 | ⟨mul_le_mul_of_nonneg_left ht.1 hν.le, mul_le_mul_of_nonneg_left ht.2 hν.le⟩ x |
| 94 | have h := congrArg (fun z : Space => ν • z) hscaled |
| 95 | simpa [rescale, smul_smul, ← mul_assoc, hν.ne'] using h |
| 96 | · intro t ht x |
| 97 | rw [rescale_divergence, hdu _ (normalized_time_mem_Ioo hν ht), mul_zero] |
| 98 | · intro t ht x |
| 99 | rw [rescale_divergence, hdv _ (normalized_time_mem_Ioo hν ht), mul_zero] |
| 100 | · intro t ht x |
| 101 | rw [normalize_residual hν u p t x |
| 102 | (time_differentiable_at_interior hu (normalized_time_mem_Ioo hν ht) x), |
| 103 | hNSu _ (normalized_time_mem_Ioo hν ht)] |
| 104 | rfl |
| 105 | · intro t ht x |
| 106 | rw [normalize_residual hν v q t x |
| 107 | (time_differentiable_at_interior hv (normalized_time_mem_Ioo hν ht) x), |
| 108 | hNSv _ (normalized_time_mem_Ioo hν ht)] |
| 109 | rfl |
| 110 | · intro x |
| 111 | simp only [rescale, ← mul_assoc, inv_mul_cancel₀ hν.ne', one_mul, hinitial] |
| 112 | |
| 113 | end NavierStokes.PeriodicViscosityUniqueness |