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.ScalarEulerVorticity |
| 2 | import Euler.NoIncomingVorticity |
| 3 | import Euler.ReversedVorticityTransport |
| 4 | import Euler.TruncationFamily |
| 5 | import Euler.TruncatedBackwardFlow |
| 6 | import Euler.LocalFlowTrap |
| 7 | import Euler.ComparatorTruncationFamily |
| 8 | |
| 9 | /-! |
| 10 | # Short-time compact vorticity from finite-energy truncations |
| 11 | |
| 12 | The auxiliary characteristics are global flows of compact solenoidal |
| 13 | truncations. The construction does not require global trajectories of the |
| 14 | untruncated Comparator velocity. |
| 15 | -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | |
| 20 | open Set MeasureTheory EulerSmoothLimit EulerMeanCutoffCurl |
| 21 | open scoped ContDiff Topology |
| 22 | |
| 23 | namespace Euler.EulerExistenceAndSmoothnessR3 |
| 24 | |
| 25 | variable {u₀ : Space → Space} {v : Space → ℝ → Space} {p : Space → ℝ → ℝ} |
| 26 | (h : EulerExistenceAndSmoothnessR3 u₀ v p) |
| 27 | |
| 28 | include h |
| 29 | |
| 30 | /-- One compact spacetime cylinder supplies a common local speed bound and |
| 31 | one positive trapping time for every truncation agreeing on that cylinder. -/ |
| 32 | theorem exists_local_trapping_constants |
| 33 | (hc : HasCompactSupport (vectorCurl u₀)) : |
| 34 | ∃ A M δ : ℝ, 0 < A ∧ 0 < M ∧ 0 < δ ∧ δ ≤ 1 ∧ δ * M < 1 ∧ |
| 35 | (∀ x ∈ tsupport (vectorCurl u₀), ‖x‖ ≤ A) ∧ |
| 36 | (∀ t ∈ Icc (0 : ℝ) 1, ∀ x, ‖x‖ ≤ A + 1 → ‖v x t‖ ≤ M) := by |
| 37 | obtain ⟨A, hA, hAbound⟩ := hc.isBounded.exists_pos_norm_le |
| 38 | have hcompact : IsCompact (Icc (0 : ℝ) 1 ×ˢ Metric.closedBall (0 : Space) (A + 1)) := |
| 39 | isCompact_Icc.prod (isCompact_closedBall _ _) |
| 40 | have hv : ContinuousOn (fun z : ℝ × Space => v z.2 z.1) |
| 41 | (Icc (0 : ℝ) 1 ×ˢ Metric.closedBall (0 : Space) (A + 1)) := |
| 42 | h.velocity_joint_contDiffOn.continuousOn.mono (by |
| 43 | intro z hz |
| 44 | exact ⟨hz.1.1, mem_univ _⟩) |
| 45 | obtain ⟨M, hM, hMb⟩ := (hcompact.image_of_continuousOn hv).isBounded.exists_pos_norm_le |
| 46 | let δ : ℝ := min 1 (1 / (2 * M)) |
| 47 | have hδ : 0 < δ := lt_min (by norm_num) (by positivity) |
| 48 | have hδM : δ * M < 1 := by |
| 49 | have hm : δ * M ≤ (1 / (2 * M)) * M := |
| 50 | mul_le_mul_of_nonneg_right (min_le_right _ _) hM.le |
| 51 | have he : (1 / (2 * M)) * M = 1 / 2 := by field_simp |
| 52 | rw [he] at hm |
| 53 | linarith |
| 54 | refine ⟨A, M, δ, hA, hM, hδ, min_le_left _ _, hδM, hAbound, ?_⟩ |
| 55 | intro t ht x hx |
| 56 | apply hMb (v x t) |
| 57 | refine ⟨(t, x), ⟨ht, ?_⟩, rfl⟩ |
| 58 | simpa only [Metric.mem_closedBall, dist_zero_right] using hx |
| 59 | |
| 60 | |
| 61 | omit h in |
| 62 | private theorem truncation_realField_agrees |
| 63 | (F : ComparatorBridge.FiniteEnergyTruncationFamily v) |
| 64 | (R : ℝ) (hR : 0 < R) (r : ℝ) (hr : r ∈ Icc 0 1) |
| 65 | (x : Space) (hx : ‖x‖ < R) : |
| 66 | (F.coefficient R).realField 1 zero_le_one r x = v x r := by |
| 67 | change (F.coefficient R).field (projIcc 0 1 zero_le_one r) x = _ |
| 68 | rw [F.agrees R hR _ x hx] |
| 69 | simp only [projIcc_of_mem zero_le_one hr] |
| 70 | |
| 71 | /-- The approximation radius is enlarged to include the one fixed trapping |
| 72 | ball. This gives valid approximants even for nonpositive requested radii. -/ |
| 73 | def locallyTrappedBackwardFlows |
| 74 | (F : ComparatorBridge.FiniteEnergyTruncationFamily v) |
| 75 | (A M δ T : ℝ) (hA : 0 < A) (hM : 0 < M) |
| 76 | (hδ1 : δ ≤ 1) (hδM : δ * M < 1) (hT : T ∈ Icc 0 δ) |
| 77 | (hAbound : ∀ x ∈ tsupport (vectorCurl u₀), ‖x‖ ≤ A) |
| 78 | (hspeed : ∀ t ∈ Icc (0 : ℝ) 1, ∀ x, ‖x‖ ≤ A + 1 → ‖v x t‖ ≤ M) : |
| 79 | ComparatorBridge.BackwardVorticityFlows T F.energy (A + 1) |
| 80 | (tsupport (vectorCurl u₀)) (vectorCurl u₀) (vectorCurl (v · T)) := by |
| 81 | let ρ : ℝ → ℝ := fun R => max R (A + 2) |
| 82 | have hρ (R : ℝ) : 0 < ρ R := lt_of_lt_of_le (by linarith) (le_max_right _ _) |
| 83 | have hT1 : T ≤ 1 := hT.2.trans hδ1 |
| 84 | let C (R : ℝ) := F.coefficient (ρ R) |
| 85 | let X (R s : ℝ) := ComparatorBridge.TruncatedBackwardFlow.homeomorph (C R) T hT.1 hT1 s |
| 86 | let V (R : ℝ) := ComparatorBridge.TruncatedBackwardFlow.velocity (C R) T hT.1 hT1 |
| 87 | refine { |
| 88 | flow := X |
| 89 | velocity := V |
| 90 | time_nonneg := hT.1 |
| 91 | preserves_volume := ?_ |
| 92 | initial_map := ?_ |
| 93 | joint_measurable := ?_ |
| 94 | velocity_memLp := ?_ |
| 95 | energy_bound := ?_ |
| 96 | curve_continuous := ?_ |
| 97 | speed_continuous := ?_ |
| 98 | curve_derivative := ?_ |
| 99 | initial_support := subset_tsupport _ |
| 100 | transport_nonzero := ?_ |
| 101 | forward_trap := ?_ } |
| 102 | · intro R s |
| 103 | exact ComparatorBridge.TruncatedBackwardFlow.homeomorph_measurePreserving |
| 104 | (C R) T hT.1 hT1 volume (F.divergence (ρ R) (hρ R)) s |
| 105 | · intro R x |
| 106 | exact ComparatorBridge.TruncatedBackwardFlow.homeomorph_zero (C R) T hT.1 hT1 x |
| 107 | · intro R |
| 108 | exact ComparatorBridge.TruncatedBackwardFlow.action_joint_measurable (C R) T hT.1 hT1 volume |
| 109 | · intro R s |
| 110 | exact ComparatorBridge.TruncatedBackwardFlow.velocity_memLp |
| 111 | (C R) T hT.1 hT1 volume (F.memLp (ρ R) (hρ R)) s |
| 112 | · intro R s |
| 113 | exact ComparatorBridge.TruncatedBackwardFlow.velocity_energy |
| 114 | (C R) T hT.1 hT1 volume F.energy (F.energy_bound (ρ R) (hρ R)) s |
| 115 | · intro R x |
| 116 | exact (ComparatorBridge.TruncatedBackwardFlow.curve_continuous (C R) T hT.1 hT1 x).continuousOn |
| 117 | · intro R x |
| 118 | exact (ComparatorBridge.TruncatedBackwardFlow.speed_continuous (C R) T hT.1 hT1 x).continuousOn |
| 119 | · intro R x s hs |
| 120 | exact ComparatorBridge.TruncatedBackwardFlow.curve_hasDerivAt (C R) T hT.1 hT1 x s hs |
| 121 | · intro R x hstay hnz |
| 122 | have he : (v · 0) = u₀ := funext h.initial_condition |
| 123 | rw [← he] |
| 124 | apply h.vorticity_ne_zero_along_reverse_trajectory |
| 125 | (fun s => X R s x) T hT.1 |
| 126 | (ComparatorBridge.TruncatedBackwardFlow.curve_continuous (C R) T hT.1 hT1 x).continuousOn |
| 127 | · intro s hs |
| 128 | have hd := ComparatorBridge.TruncatedBackwardFlow.curve_hasDerivAt |
| 129 | (C R) T hT.1 hT1 x s hs |
| 130 | have hv : V R s (X R s x) = -v (X R s x) (T - s) := by |
| 131 | change ComparatorBridge.TruncatedBackwardFlow.velocity (C R) T hT.1 hT1 s (X R s x) = _ |
| 132 | rw [ComparatorBridge.TruncatedBackwardFlow.velocity_eq_realField |
| 133 | (C R) T hT.1 hT1 s ⟨hs.1.le, hs.2.le⟩] |
| 134 | rw [truncation_realField_agrees F (ρ R) (hρ R) (T - s) |
| 135 | ⟨sub_nonneg.mpr hs.2.le, by linarith [hs.1]⟩ (X R s x) |
| 136 | ((hstay s ⟨hs.1.le, hs.2.le⟩).trans_le (le_max_left _ _))] |
| 137 | exact hv ▸ hd |
| 138 | · simpa only [X, ComparatorBridge.TruncatedBackwardFlow.homeomorph_zero] using hnz |
| 139 | · intro R a ha |
| 140 | let Z := ComparatorBridge.TruncatedBackwardFlow.endpointPath (C R) T hT.1 hT1 a |
| 141 | have hsmall : T * M < (A + 1) - A := by |
| 142 | have hm := mul_le_mul_of_nonneg_right hT.2 hM.le |
| 143 | linarith |
| 144 | have hz := EulerComparatorLocalFlow.norm_lt_of_local_speed_bound |
| 145 | Z ((C R).realField 1 zero_le_one) hM.le (by linarith : A < A + 1) hsmall |
| 146 | (ComparatorBridge.TruncatedBackwardFlow.endpointPath_continuous (C R) T hT.1 hT1 a).continuousOn |
| 147 | (ComparatorBridge.TruncatedBackwardFlow.endpointPath_hasDerivAt (C R) T hT.1 hT1 a) |
| 148 | (by simpa only [Z, ComparatorBridge.TruncatedBackwardFlow.endpointPath_zero] using hAbound a ha) |
| 149 | (by |
| 150 | intro r hr x hx |
| 151 | rw [truncation_realField_agrees F (ρ R) (hρ R) r ⟨hr.1, hr.2.trans hT1⟩ x |
| 152 | (lt_of_le_of_lt hx (lt_of_lt_of_le (by linarith) (le_max_right _ _)))] |
| 153 | exact hspeed r ⟨hr.1, hr.2.trans hT1⟩ x hx) |
| 154 | T ⟨hT.1, le_rfl⟩ |
| 155 | simpa only [Z, X, ComparatorBridge.TruncatedBackwardFlow.endpointPath_end] using hz.le |
| 156 | |
| 157 | /-- Finite-energy solenoidal truncations imply compact vorticity for a |
| 158 | uniform positive interval, using only the Comparator solution assumptions. -/ |
| 159 | theorem local_compact_vorticity_of_truncationFamily |
| 160 | (F : ComparatorBridge.FiniteEnergyTruncationFamily v) |
| 161 | (hc : HasCompactSupport (vectorCurl u₀)) : |
| 162 | ∃ δ B : ℝ, 0 < δ ∧ ∀ t ∈ Icc 0 δ, |
| 163 | tsupport (vectorCurl (v · t)) ⊆ Metric.closedBall (0 : Space) B := by |
| 164 | obtain ⟨A, M, δ, hA, hM, hδ, hδ1, hδM, hAbound, hspeed⟩ := |
| 165 | h.exists_local_trapping_constants hc |
| 166 | refine ⟨δ, A + 1, hδ, ?_⟩ |
| 167 | intro t ht |
| 168 | let G := h.locallyTrappedBackwardFlows F A M δ t hA hM hδ1 hδM ht hAbound hspeed |
| 169 | exact closure_minimal (G.support_subset_closedBall |
| 170 | (EulerMeanVectorIdentities.vectorCurl_smooth (v · t) (h.velocity_contDiff t ht.1)).continuous) |
| 171 | Metric.isClosed_closedBall |
| 172 | |
| 173 | |
| 174 | /-- Compact initial vorticity stays in one compact ball for a positive time |
| 175 | for every Comparator solution. The auxiliary global trajectories are those |
| 176 | of the explicitly constructed finite-energy solenoidal truncations. -/ |
| 177 | theorem local_compact_vorticity (hc : HasCompactSupport (vectorCurl u₀)) : |
| 178 | ∃ δ B : ℝ, 0 < δ ∧ ∀ t ∈ Icc 0 δ, |
| 179 | tsupport (vectorCurl (v · t)) ⊆ Metric.closedBall (0 : Space) B := |
| 180 | h.local_compact_vorticity_of_truncationFamily h.finiteEnergyTruncationFamily hc |
| 181 | |
| 182 | end Euler.EulerExistenceAndSmoothnessR3 |