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.BaseSmoothState |
| 2 | import Euler.ParentPacketForwardInput |
| 3 | |
| 4 | /-! Concrete support, transverse coordinate and short-time source |
| 5 | budgets for the first packet over the compact base Euler solution. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketSupport |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerSpatialCutoffs |
| 12 | |
| 13 | def support : Set Space := tsupport innerCutoff |
| 14 | |
| 15 | theorem compact : IsCompact support := innerCutoff_compactSupport |
| 16 | |
| 17 | theorem subset_halfBall : support ⊆ Metric.ball 0 (1/2 : ℝ) := innerCutoff_support |
| 18 | |
| 19 | theorem symmetric (x : Space) : -x ∈ support ↔ x ∈ support := by |
| 20 | have hf : innerCutoff ∘ Homeomorph.neg Space=innerCutoff := by |
| 21 | funext y |
| 22 | exact innerCutoff_even y |
| 23 | calc |
| 24 | -x ∈ support ↔ x ∈ tsupport (innerCutoff ∘ Homeomorph.neg Space) := by |
| 25 | rw [tsupport_comp_eq_preimage] |
| 26 | rfl |
| 27 | _ ↔ x ∈ support := by rw [hf]; rfl |
| 28 | |
| 29 | theorem norm_lt (x : Space) (hx : x ∈ support) : ‖x‖ < (1/2 : ℝ) := by |
| 30 | simpa only [Metric.mem_ball,dist_zero_right] using subset_halfBall hx |
| 31 | |
| 32 | end EulerPacketSupport |
| 33 | |
| 34 | namespace EulerBaseDatum |
| 35 | |
| 36 | open Set InnerProductSpace EulerSmoothLimit EulerParentPacketFrames |
| 37 | EulerTransverseFrameCoordinates EulerBaseEulerGuards EulerPacketSupport |
| 38 | |
| 39 | def firstNormal : Space := EuclideanSpace.single 0 1 |
| 40 | |
| 41 | theorem firstNormal_unit : ‖firstNormal‖=1 := by simp [firstNormal] |
| 42 | |
| 43 | abbrev FirstPlane := referencePlane firstNormal |
| 44 | |
| 45 | def firstFrame : FirstPlane ≃ₗᵢ[ℝ] referencePlane firstNormal := LinearIsometryEquiv.refl ℝ _ |
| 46 | |
| 47 | def firstCoordinate : FirstPlane := ⟨EuclideanSpace.single 1 1,by |
| 48 | rw [Submodule.mem_orthogonal_singleton_iff_inner_right] |
| 49 | simp [firstNormal,EuclideanSpace.inner_single_left]⟩ |
| 50 | |
| 51 | theorem firstCoordinate_map : (firstFrame firstCoordinate : Space)=EuclideanSpace.single 1 1 := rfl |
| 52 | |
| 53 | theorem firstCoordinate_norm : ‖firstCoordinate‖=1 := by |
| 54 | change ‖(EuclideanSpace.single 1 1 : Space)‖=1 |
| 55 | simp |
| 56 | |
| 57 | variable (β : ℝ) (hβ : |β| ≤ 1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 58 | (T : ℝ) (hT : 0 < T) (hTB : T ≤ initialTime) |
| 59 | |
| 60 | def packetBaseParent : Parent := |
| 61 | (initialParent β hβ ell hell hell1).restrictTime T hT hTB |
| 62 | |
| 63 | def packetBaseState : SmoothState (packetBaseParent β hβ ell hell hell1 T hT hTB) := |
| 64 | (initialState β hβ ell hell hell1).restrictTime T hT hTB |
| 65 | |
| 66 | def packetBaseLowBounds : LowBounds (packetBaseParent β hβ ell hell hell1 T hT hTB) := |
| 67 | (initialLowBounds β hβ ell hell hell1).restrictTime T hT hTB |
| 68 | |
| 69 | theorem packetBase_label_constant : |
| 70 | (packetBaseState β hβ ell hell hell1 T hT hTB).labels.K=solutionLabelConstant := rfl |
| 71 | |
| 72 | theorem packetBase_boundary_zero : |
| 73 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB).L=0 := rfl |
| 74 | |
| 75 | include hTB in |
| 76 | theorem packetBase_short : initialCoefficientCost*T ≤ 1/2 := |
| 77 | ((mul_le_mul_of_nonneg_left hTB initialCoefficientCost_nonneg).trans initialTime_small.1).trans |
| 78 | (by norm_num) |
| 79 | |
| 80 | include hTB in |
| 81 | theorem packetBase_sign_short : |
| 82 | EulerPacketFirstPressureSign.firstSignRate initialCoefficientCost initialCoefficientCost*T ≤ 1/2 := by |
| 83 | have hnonneg : 0 ≤ EulerPacketFirstPressureSign.firstSignRate initialCoefficientCost initialCoefficientCost := by |
| 84 | unfold EulerPacketFirstPressureSign.firstSignRate |
| 85 | positivity [initialCoefficientCost_nonneg] |
| 86 | exact ((mul_le_mul_of_nonneg_left hTB hnonneg).trans initialTime_small.2).trans (by norm_num) |
| 87 | |
| 88 | theorem packetBase_strain_bound (t : Icc (0 : ℝ) T) (x : Space) : |
| 89 | ‖(packetBaseParent β hβ ell hell hell1 T hT hTB).strain.field t x‖ ≤ initialCoefficientCost := by |
| 90 | change ‖((initialParent β hβ ell hell hell1).restrictTime T hT hTB).strain.field t x‖ ≤ _ |
| 91 | erw [Parent.restrictTime_strain] |
| 92 | exact initial_strain_bound β hβ ell hell hell1 _ x |
| 93 | |
| 94 | theorem packetBase_curvature_bound (t : Icc (0 : ℝ) T) (x : Space) : |
| 95 | ‖(packetBaseParent β hβ ell hell hell1 T hT hTB).curvature.field t x‖ ≤ initialCoefficientCost := by |
| 96 | change ‖((initialParent β hβ ell hell hell1).restrictTime T hT hTB).curvature.field t x‖ ≤ _ |
| 97 | erw [Parent.restrictTime_curvature] |
| 98 | exact initial_curvature_bound β hβ ell hell hell1 _ x |
| 99 | |
| 100 | theorem packetBase_initialStrain (x : Space) (hx : x ∈ support) : |
| 101 | (packetBaseParent β hβ ell hell hell1 T hT hTB).initialStrain.field x=linear β := by |
| 102 | erw [packetBaseParent,Parent.restrictTime_initialStrain] |
| 103 | apply initialStrain_plateau β hβ ell hell hell1 |
| 104 | rw [norm_smul,Real.norm_eq_abs,abs_of_pos hell] |
| 105 | have hb := mul_le_mul_of_nonneg_right hell1 (norm_nonneg x) |
| 106 | have hx' := norm_lt x hx |
| 107 | nlinarith only [hb,hx'] |
| 108 | |
| 109 | def firstPacketInputs : |
| 110 | ForwardInputs |
| 111 | ((packetBaseParent β hβ ell hell hell1 T hT hTB).meanData |
| 112 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB)) |
| 113 | ((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 114 | firstNormal firstNormal_unit firstFrame support compact) := |
| 115 | (packetBaseState β hβ ell hell hell1 T hT hTB).labels.forwardInputs |
| 116 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB) |
| 117 | firstNormal firstNormal_unit firstFrame support compact |
| 118 | initialCoefficientCost initialCoefficientCost_nonneg |
| 119 | (fun t x _ => packetBase_strain_bound β hβ ell hell hell1 T hT hTB t x) |
| 120 | (Metric.ball 0 (1/2 : ℝ)) Metric.isOpen_ball.measurableSet Metric.isOpen_ball subset_halfBall |
| 121 | (fun x hx => le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hx)) |
| 122 | (packetBase_short T hTB) T⁻¹ (hTB.trans initialTime_le_one) le_rfl |
| 123 | |
| 124 | theorem firstPacketInputs_growth : |
| 125 | (firstPacketInputs β hβ ell hell hell1 T hT hTB).linear.g=1 := rfl |
| 126 | |
| 127 | theorem firstPacket_pressure_numerator (t : Icc (0 : ℝ) T) |
| 128 | (x : Space) (hx : x ∈ support) : |
| 129 | 1/2 ≤ ⟪((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 130 | firstNormal firstNormal_unit firstFrame support compact).normal.field t x, |
| 131 | (packetBaseParent β hβ ell hell hell1 T hT hTB).strain.field t x |
| 132 | (EulerPacketForwardFactorization.uncutVelocity |
| 133 | ((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 134 | firstNormal firstNormal_unit firstFrame support compact) firstCoordinate t x)⟫_ℝ := by |
| 135 | apply source_numerator_pos (packetBaseState β hβ ell hell hell1 T hT hTB).labels |
| 136 | firstNormal firstNormal_unit firstFrame support compact firstCoordinate firstCoordinate_norm x |
| 137 | · rw [packetBase_initialStrain β hβ ell hell hell1 T hT hTB x hx,firstCoordinate_map,linear_q] |
| 138 | simp [firstNormal,EuclideanSpace.inner_single_left,PiLp.add_apply,PiLp.smul_apply] |
| 139 | · exact packetBase_short T hTB |
| 140 | · exact packetBase_sign_short T hTB |
| 141 | |
| 142 | end EulerBaseDatum |