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.ComparatorTimeShift |
| 2 | import Euler.EvolutionTimeShift |
| 3 | import Euler.OrdinaryEulerUniqueness |
| 4 | import Mathlib.Topology.Order.IntermediateValue |
| 5 | |
| 6 | /-! |
| 7 | # Identification after local regularity recovery |
| 8 | |
| 9 | The only analytic input of this module is a local conversion of a classical |
| 10 | Comparator solution with compact initial vorticity into an ordinary smooth |
| 11 | Euler evolution. Restarting that conversion at times of agreement, ordinary |
| 12 | Euler uniqueness and continuity identify the entire maximal interval. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | |
| 18 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 19 | EulerLpTranslation.SmoothL2Field EulerOrdinarySobolev EulerVectorCalculus EulerMeanCutoffCurl |
| 20 | open scoped ContDiff Topology |
| 21 | |
| 22 | namespace Euler.ComparatorBridge |
| 23 | |
| 24 | variable {A : SmoothL2Field Space} |
| 25 | {v : Space → ℝ → Space} {p : Space → ℝ → ℝ} |
| 26 | |
| 27 | /-- Local recovery is needed only at compact-vorticity slices. It asks for |
| 28 | an actual ordinary evolution representing the given velocity, so it contains |
| 29 | no comparison or uniqueness conclusion. -/ |
| 30 | def HasLocalEvolutionAtCompactCurl (v : Space → ℝ → Space) : Prop := |
| 31 | ∀ a : ℝ, 0 ≤ a → HasCompactSupport (vectorCurl (v · a)) → |
| 32 | ∃ δ : ℝ, ∃ hδ : 0 < δ, ∃ U : Evolution δ hδ.le, |
| 33 | ∀ t : Icc (0 : ℝ) δ, (U.velocity t).field = (v · (a + (t : ℝ))) |
| 34 | |
| 35 | /-- The reusable analytic conversion obligation, before any uniqueness |
| 36 | argument: compact initial vorticity gives a short ordinary realization. -/ |
| 37 | def CompactCurlLocalUpgrade : Prop := |
| 38 | ∀ (u₀ : Space → Space) (v : Space → ℝ → Space) (p : Space → ℝ → ℝ), |
| 39 | EulerExistenceAndSmoothnessR3 u₀ v p → HasCompactSupport (vectorCurl u₀) → |
| 40 | ∃ δ : ℝ, ∃ hδ : 0 < δ, ∃ U : Evolution δ hδ.le, |
| 41 | ∀ t : Icc (0 : ℝ) δ, (U.velocity t).field = (v · (t : ℝ)) |
| 42 | |
| 43 | theorem hasLocalEvolutionAtCompactCurl_of_upgrade |
| 44 | (h : EulerExistenceAndSmoothnessR3 A.field v p) |
| 45 | (hupgrade : CompactCurlLocalUpgrade) : HasLocalEvolutionAtCompactCurl v := by |
| 46 | intro a ha hc |
| 47 | exact hupgrade (v · a) (fun x t => v x (a + t)) (fun x t => p x (a + t)) |
| 48 | (h.shiftTime a ha) hc |
| 49 | |
| 50 | /-- A classical field locally recoverable as an ordinary evolution agrees |
| 51 | with every ordinary evolution from the same data whose vorticity stays compact. -/ |
| 52 | theorem evolution_field_eq_of_local_evolution |
| 53 | {S : ℝ} {hS : 0 ≤ S} (U : Evolution S hS) |
| 54 | (h : EulerExistenceAndSmoothnessR3 A.field v p) |
| 55 | (hU : U.velocity ⟨0, le_rfl, hS⟩ = A) |
| 56 | (hcompact : ∀ t, HasCompactSupport (vectorCurl (U.velocity t).field)) |
| 57 | (hlocal : HasLocalEvolutionAtCompactCurl v) : |
| 58 | ∀ t : Icc (0 : ℝ) S, (U.velocity t).field = (v · (t : ℝ)) := by |
| 59 | let s : Set ℝ := {r | ∀ x, (U.velocity (projIcc 0 S hS r)).field x = |
| 60 | v x (projIcc 0 S hS r)} |
| 61 | have hcU (x : Space) : Continuous (fun r : ℝ => |
| 62 | (U.velocity (projIcc 0 S hS r)).field x) := by |
| 63 | have hc := (EulerMeanSobolevBoundedField.continuous_finiteField U.velocity |
| 64 | U.velocity_continuous).eval (continuous_const (y := x)) |
| 65 | simpa only [EulerMeanSobolevBoundedField.finiteField_apply, Function.comp_def] using |
| 66 | hc.comp (continuous_projIcc (a := (0 : ℝ)) (b := S) (h := hS)) |
| 67 | have hcv (x : Space) : Continuous (fun r : ℝ => v x (projIcc 0 S hS r)) := by |
| 68 | have hc : Continuous (fun r : Icc (0 : ℝ) S => v x r) := |
| 69 | h.velocity_smooth.continuousOn.comp_continuous |
| 70 | (continuous_const.prodMk continuous_subtype_val) |
| 71 | (fun r => ⟨mem_univ x, r.property.1⟩) |
| 72 | exact hc.comp continuous_projIcc |
| 73 | have hs : IsClosed s := by |
| 74 | change IsClosed {r | ∀ x, (U.velocity (projIcc 0 S hS r)).field x = |
| 75 | v x (projIcc 0 S hS r)} |
| 76 | simpa only [ofPred_forall] using |
| 77 | (isClosed_iInter fun x => isClosed_eq (hcU x) (hcv x)) |
| 78 | have hzero : (0 : ℝ) ∈ s := by |
| 79 | intro x |
| 80 | rw [projIcc_of_mem hS ⟨le_rfl, hS⟩] |
| 81 | change (U.velocity ⟨0, le_rfl, hS⟩).field x = v x 0 |
| 82 | rw [hU] |
| 83 | exact (h.initial_condition x).symm |
| 84 | have hright : ∀ a ∈ s ∩ Ico 0 S, ∀ b ∈ Ioi a, (s ∩ Ioc a b).Nonempty := by |
| 85 | intro a ha b hb |
| 86 | have haS : a ∈ Icc (0 : ℝ) S := ⟨ha.2.1, ha.2.2.le⟩ |
| 87 | have hmatch : (U.velocity ⟨a, haS⟩).field = (v · a) := by |
| 88 | funext x |
| 89 | have hx := ha.1 x |
| 90 | simpa only [projIcc_of_mem hS haS] using hx |
| 91 | have hcurl : HasCompactSupport (vectorCurl (v · a)) := by |
| 92 | rw [← hmatch] |
| 93 | exact hcompact _ |
| 94 | obtain ⟨δ, hδ, W, hW⟩ := hlocal a ha.2.1 hcurl |
| 95 | let d := min δ (min (S - a) (b - a)) |
| 96 | have hd : 0 < d := lt_min hδ (lt_min (sub_pos.mpr ha.2.2) (sub_pos.mpr hb)) |
| 97 | have hdδ : d ≤ δ := min_le_left _ _ |
| 98 | have had : a + d ≤ S := by |
| 99 | have hh : d ≤ S - a := (min_le_right _ _).trans (min_le_left _ _) |
| 100 | linarith |
| 101 | have hab : a + d ≤ b := by |
| 102 | have hh : d ≤ b - a := (min_le_right _ _).trans (min_le_right _ _) |
| 103 | linarith |
| 104 | let R := U.shiftTime a ha.2.1 d hd.le had |
| 105 | let Q := W.restrictTime d hd.le hdδ |
| 106 | have hinit : R.velocity ⟨0, le_rfl, hd.le⟩ = Q.velocity ⟨0, le_rfl, hd.le⟩ := by |
| 107 | apply field_ext |
| 108 | calc |
| 109 | (R.velocity ⟨0, le_rfl, hd.le⟩).field = (v · a) := by |
| 110 | simpa only [R, Evolution.shiftTime_initial] using hmatch |
| 111 | _ = (Q.velocity ⟨0, le_rfl, hd.le⟩).field := by |
| 112 | simpa only [Q, Evolution.restrictTime_initial, add_zero] using |
| 113 | (hW ⟨0, le_rfl, hδ.le⟩).symm |
| 114 | have heq := Q.velocity_eq_of_initial R (congrArg SmoothL2Field.toLp hinit) |
| 115 | ⟨d, hd.le, le_rfl⟩ |
| 116 | refine ⟨a + d, ?_, by linarith, hab⟩ |
| 117 | intro x |
| 118 | have hmem : a + d ∈ Icc (0 : ℝ) S := ⟨add_nonneg ha.2.1 hd.le, had⟩ |
| 119 | rw [projIcc_of_mem hS hmem] |
| 120 | calc |
| 121 | (U.velocity ⟨a + d, hmem⟩).field x = (R.velocity ⟨d, hd.le, le_rfl⟩).field x := rfl |
| 122 | _ = (Q.velocity ⟨d, hd.le, le_rfl⟩).field x := congrArg (fun B => B.field x) heq |
| 123 | _ = v x (a + d) := congrFun (hW ⟨d, hd.le, hdδ⟩) x |
| 124 | have hall : Icc (0 : ℝ) S ⊆ s := |
| 125 | (hs.inter isClosed_Icc).Icc_subset_of_forall_exists_gt hzero hright |
| 126 | intro t |
| 127 | funext x |
| 128 | have hx := hall t.property x |
| 129 | simpa only [projIcc_of_mem hS t.property] using hx |
| 130 | |
| 131 | end Euler.ComparatorBridge |