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.OrdinaryFieldScaling |
| 2 | import Euler.OrdinaryEulerGradientControl |
| 3 | import Euler.OrdinaryEulerRestriction |
| 4 | |
| 5 | /-! The genuine time/amplitude symmetry of ordinary Euler, including |
| 6 | restriction to a shorter closed time interval. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set Filter MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 13 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerVolterraConvolution |
| 14 | open scoped Topology |
| 15 | |
| 16 | def scaleTimeMap (S T c : ℝ) (hc : 0 ≤ c) (hct : c*T ≤ S) : |
| 17 | C(Icc (0 : ℝ) T,Icc (0 : ℝ) S) where |
| 18 | toFun t := ⟨c*t,mul_nonneg hc t.property.1, |
| 19 | (mul_le_mul_of_nonneg_left t.property.2 hc).trans hct⟩ |
| 20 | continuous_toFun := (continuous_subtype_val.const_mul c).subtype_mk _ |
| 21 | |
| 22 | @[simp] theorem scaleTimeMap_val (S T c : ℝ) (hc : 0 ≤ c) (hct : c*T ≤ S) |
| 23 | (t : Icc (0 : ℝ) T) : ((scaleTimeMap S T c hc hct t) : ℝ)=c*t := rfl |
| 24 | |
| 25 | namespace Evolution |
| 26 | |
| 27 | variable {S : ℝ} {hS : 0 ≤ S} |
| 28 | |
| 29 | def rescale (U : Evolution S hS) (T : ℝ) (hT : 0 ≤ T) |
| 30 | (c : ℝ) (hc : 0 < c) (hct : c*T ≤ S) : Evolution T hT where |
| 31 | velocity t := scaleField c (U.velocity (scaleTimeMap S T c hc.le hct t)) |
| 32 | pressureForce t := scaleField (c*c) (U.pressureForce (scaleTimeMap S T c hc.le hct t)) |
| 33 | velocity_continuous n := scaleField_continuous c _ |
| 34 | (fun n => (U.velocity_continuous n).comp (scaleTimeMap S T c hc.le hct).continuous) n |
| 35 | pressure_continuous n := scaleField_continuous (c*c) _ |
| 36 | (fun n => (U.pressure_continuous n).comp (scaleTimeMap S T c hc.le hct).continuous) n |
| 37 | solenoidal t := by |
| 38 | rw [scaleField_toLp] |
| 39 | exact solenoidalSpace.smul_mem c (U.solenoidal _) |
| 40 | gradient t := by |
| 41 | rw [scaleField_toLp] |
| 42 | exact gradientSpace.smul_mem (c*c) (U.gradient _) |
| 43 | time_law t ht x := by |
| 44 | have hcs : c*t ∈ Ioo (0 : ℝ) S := |
| 45 | ⟨mul_pos hc ht.1,(mul_lt_mul_of_pos_left ht.2 hc).trans_le hct⟩ |
| 46 | have hi : HasDerivAt (fun r : ℝ => c*r) c t := by |
| 47 | simpa only [id_eq,mul_one] using (hasDerivAt_id t).const_mul c |
| 48 | have hd := ((U.time_law (c*t) hcs x).scomp t hi).const_smul c |
| 49 | have he : (fun r => scaleField c |
| 50 | (U.velocity (scaleTimeMap S T c hc.le hct (projIcc 0 T hT r))) |>.field x) |
| 51 | =ᶠ[𝓝 t] (fun r => c • (U.velocity (projIcc 0 S hS (c*r))).field x) := by |
| 52 | filter_upwards [Ioo_mem_nhds ht.1 ht.2] with r hr |
| 53 | have hrT : r ∈ Icc (0 : ℝ) T := ⟨hr.1.le,hr.2.le⟩ |
| 54 | have hrS : c*r ∈ Icc (0 : ℝ) S := |
| 55 | ⟨mul_nonneg hc.le hr.1.le,(mul_le_mul_of_nonneg_left hr.2.le hc.le).trans hct⟩ |
| 56 | simp only [scaleField_field,projIcc_of_mem hT hrT,projIcc_of_mem hS hrS] |
| 57 | rfl |
| 58 | have hrhs : |
| 59 | -fderiv ℝ (scaleField c (U.velocity (scaleTimeMap S T c hc.le hct |
| 60 | ⟨t,ht.1.le,ht.2.le⟩))).field x |
| 61 | ((scaleField c (U.velocity (scaleTimeMap S T c hc.le hct |
| 62 | ⟨t,ht.1.le,ht.2.le⟩))).field x)- |
| 63 | (scaleField (c*c) (U.pressureForce (scaleTimeMap S T c hc.le hct |
| 64 | ⟨t,ht.1.le,ht.2.le⟩))).field x = |
| 65 | c • (c • (-fderiv ℝ (U.velocity ⟨c*t,hcs.1.le,hcs.2.le⟩).field x |
| 66 | ((U.velocity ⟨c*t,hcs.1.le,hcs.2.le⟩).field x)- |
| 67 | (U.pressureForce ⟨c*t,hcs.1.le,hcs.2.le⟩).field x)) := by |
| 68 | have heq : scaleTimeMap S T c hc.le hct ⟨t,ht.1.le,ht.2.le⟩ = |
| 69 | ⟨c*t,hcs.1.le,hcs.2.le⟩ := rfl |
| 70 | rw [heq] |
| 71 | simp only [scaleField_fderiv,scaleField_field,smul_apply,map_smul, |
| 72 | smul_sub,smul_neg,smul_smul] |
| 73 | rw [hrhs] |
| 74 | exact hd.congr_of_eventuallyEq he |
| 75 | |
| 76 | @[simp] theorem rescale_velocity (U : Evolution S hS) (T : ℝ) (hT : 0 ≤ T) |
| 77 | (c : ℝ) (hc : 0 < c) (hct : c*T ≤ S) (t : Icc (0 : ℝ) T) : |
| 78 | (U.rescale T hT c hc hct).velocity t = |
| 79 | scaleField c (U.velocity (scaleTimeMap S T c hc.le hct t)) := rfl |
| 80 | |
| 81 | theorem rescale_initial (U : Evolution S hS) (T : ℝ) (hT : 0 ≤ T) |
| 82 | (c : ℝ) (hc : 0 < c) (hct : c*T ≤ S) : |
| 83 | (U.rescale T hT c hc hct).velocity ⟨0,le_rfl,hT⟩ = |
| 84 | scaleField c (U.velocity ⟨0,le_rfl,hS⟩) := by |
| 85 | rw [rescale_velocity] |
| 86 | congr 2 |
| 87 | apply Subtype.ext |
| 88 | exact mul_zero c |
| 89 | |
| 90 | end Evolution |
| 91 | end EulerOrdinarySobolev |