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.SpatialSupportScaling |
| 2 | |
| 3 | /-! |
| 4 | # Support after affine time and spatial rescaling |
| 5 | |
| 6 | Positive affine time slopes and nonpositive time offsets preserve the force |
| 7 | class. A sufficiently large spatial dilation puts any compact spatial support |
| 8 | inside the central coordinate cube. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set |
| 14 | |
| 15 | namespace NavierStokesR3.ProblemStatement |
| 16 | |
| 17 | /-- The inverse affine spacetime transform maps compact sets to compact sets. -/ |
| 18 | theorem isCompact_affineSpacetime_image {K : Set SpaceTime} (hK : IsCompact K) |
| 19 | (b c d : ℝ) : |
| 20 | IsCompact ((fun z : SpaceTime => ((z.1 - d) / c, b⁻¹ • z.2)) '' K) := by |
| 21 | exact hK.image (((continuous_fst.sub continuous_const).div_const c).prodMk |
| 22 | (continuous_snd.const_smul b⁻¹)) |
| 23 | |
| 24 | /-- Affine pullback with a positive time slope and a nonpositive offset |
| 25 | preserves compact support in strictly positive time. -/ |
| 26 | theorem CompactPositiveTimeSupport.affineScale {f : VelocityField} |
| 27 | (hf : CompactPositiveTimeSupport f) (a b c d : ℝ) (hb : b ≠ 0) |
| 28 | (hc : 0 < c) (hd : d ≤ 0) : |
| 29 | CompactPositiveTimeSupport |
| 30 | (fun z : SpaceTime => a • f (c * z.1 + d, b • z.2)) := by |
| 31 | have hsub : tsupport (fun z : SpaceTime => a • f (c * z.1 + d, b • z.2)) ⊆ |
| 32 | (fun z : SpaceTime => ((z.1 - d) / c, b⁻¹ • z.2)) '' tsupport f := by |
| 33 | intro z hz |
| 34 | have hz' : (c * z.1 + d, b • z.2) ∈ tsupport f := |
| 35 | tsupport_comp_subset_preimage f |
| 36 | (((continuous_fst.const_mul c).add continuous_const).prodMk |
| 37 | (continuous_snd.const_smul b)) |
| 38 | (tsupport_smul_subset_right (fun _ : SpaceTime => a) |
| 39 | (fun z => f (c * z.1 + d, b • z.2)) hz) |
| 40 | refine ⟨(c * z.1 + d, b • z.2), hz', ?_⟩ |
| 41 | apply Prod.ext |
| 42 | · dsimp |
| 43 | field_simp |
| 44 | ring |
| 45 | · simp [smul_smul, hb] |
| 46 | constructor |
| 47 | · exact (isCompact_affineSpacetime_image hf.1 b c d).of_isClosed_subset |
| 48 | (isClosed_tsupport _) hsub |
| 49 | · intro z hz |
| 50 | obtain ⟨w, hw, rfl⟩ := hsub hz |
| 51 | refine ⟨div_pos (sub_pos.mpr ?_) hc, mem_univ _⟩ |
| 52 | exact hd.trans_lt (hf.2 hw).1 |
| 53 | |
| 54 | /-- Every compact spatial set can be put in the central quarter cube by an |
| 55 | inverse dilation whose factor is greater than one. -/ |
| 56 | theorem exists_spatialScale_into_quarterCube {K : Set Space} (hK : IsCompact K) : |
| 57 | ∃ b : ℝ, 1 < b ∧ ∀ x ∈ (fun y : Space => b⁻¹ • y) '' K, |
| 58 | ∀ i : Fin 3, |x i| ≤ (1 / 4 : ℝ) := by |
| 59 | obtain ⟨R, hR, hbound⟩ := hK.isBounded.exists_pos_norm_le |
| 60 | refine ⟨4 * R + 2, by linarith, ?_⟩ |
| 61 | rintro x ⟨y, hy, rfl⟩ i |
| 62 | have hb : 0 < 4 * R + 2 := by linarith |
| 63 | have hyi : |y i| ≤ R := (PiLp.norm_apply_le y i).trans (hbound y hy) |
| 64 | change |(4 * R + 2)⁻¹ * y i| ≤ _ |
| 65 | rw [abs_mul, abs_of_pos (inv_pos.mpr hb)] |
| 66 | have hdiv : |y i| / (4 * R + 2) ≤ (1 / 4 : ℝ) := by |
| 67 | apply (div_le_iff₀ hb).mpr |
| 68 | linarith |
| 69 | simpa only [div_eq_mul_inv, mul_comm] using hdiv |
| 70 | |
| 71 | end NavierStokesR3.ProblemStatement |