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.PacketStageGuards |
| 2 | import Euler.PacketStagePhysicalBounds |
| 3 | import Euler.ParentGeometryForwardChoice |
| 4 | import Euler.PacketInitialInput |
| 5 | import Euler.ParentForwardNormalParameters |
| 6 | |
| 7 | /-! Actual packet inputs at every finite stage, together with the |
| 8 | source-only parameter cap and the chosen frequency guard. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerParentPacketFrames.GeometryForwardInput |
| 13 | |
| 14 | open Real EulerParentInitializedRadius EulerMeanHarmonic |
| 15 | |
| 16 | theorem parameterSize_one {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | [CompleteSpace U] (I : GeometryForwardInput U) : 1 ≤ I.parameterSize := by |
| 18 | have hL : 0 ≤ I.low.L := |
| 19 | (mul_nonneg boundaryLocalizationC1_nonneg I.low.Bc_nonneg).trans I.low.L_lower |
| 20 | have hb := parameterSize_bounds I.label.K 0 I.parent.T⁻¹ |
| 21 | (560*I.frame.horizon^10/I.frame.epsilon) I.low.L I.geometry.δ ‖I.geometry.initialCoordinate‖ |
| 22 | (zero_le_one.trans I.label.K_one) le_rfl (inv_nonneg.mpr I.parent.T_pos.le) |
| 23 | I.geometry.growth_constant_pos.le hL I.delta_pos (norm_nonneg _) |
| 24 | exact hb.1.trans (le_add_of_nonneg_right I.geometry.child_nonneg) |
| 25 | |
| 26 | end EulerParentPacketFrames.GeometryForwardInput |
| 27 | |
| 28 | namespace EulerPacketInduction.Stage |
| 29 | |
| 30 | open Set Real EulerSmoothLimit EulerParentPacketFrames EulerTransverseFrameCoordinates |
| 31 | EulerPacketSourceGeometry EulerPacketSupport EulerPacketLowConstants |
| 32 | EulerPacketInductionScales EulerPacketSourceScaleChoice EulerPacketSourceScaleSequence |
| 33 | EulerParentNeighborThreshold EulerNormalPacketParameters |
| 34 | |
| 35 | section Joined |
| 36 | |
| 37 | variable {q : ℕ} {B : ℝ} {S : Scales (q : ℝ) B} {n : ℕ} (P : Stage S n) |
| 38 | (hn : n ≠ 0) (hq : requiredExponent ≤ q) |
| 39 | (hB : commonThreshold gradientConstant hessianConstant ≤ B) |
| 40 | |
| 41 | def joinedInput : EulerPacketInitial.Input (referencePlane (P.joinedNormal hn)) where |
| 42 | parent := P.restrictedParent |
| 43 | label := P.restrictedState.labels |
| 44 | low := P.restrictedLow |
| 45 | normal := P.joinedNormal hn |
| 46 | normal_unit := P.joinedNormal_unit hn |
| 47 | coordinates := LinearIsometryEquiv.refl ℝ (referencePlane (P.joinedNormal hn)) |
| 48 | support := support |
| 49 | support_compact := compact |
| 50 | historyTime := P.time |
| 51 | history_pos := P.time_pos hn |
| 52 | history_lt := P.time_lt_nextHorizon |
| 53 | total_le_one := P.nextHorizon_one |
| 54 | frame := P.joinedFrame hn |
| 55 | geometry := P.joinedGuards hn hq hB |
| 56 | halfBall := by rw [P.joinedGuards_radius]; norm_num |
| 57 | neighborhood := Metric.ball 0 (1/2 : ℝ) |
| 58 | neighborhood_measurable := Metric.isOpen_ball.measurableSet |
| 59 | neighborhood_open := Metric.isOpen_ball |
| 60 | support_subset := subset_halfBall |
| 61 | neighborhood_bound := fun x hx => le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hx) |
| 62 | terminal := (P.joinedGuards hn hq hB).terminal |
| 63 | cutoff_support := subset_rfl |
| 64 | delta_pos := by rw [P.joinedGuards_delta]; exact S.spike_pos n |
| 65 | delta_le_one := by rw [P.joinedGuards_delta]; exact S.spike_one n |
| 66 | child_pos := by rw [P.joinedGuards_shear]; exact zero_lt_one.trans_le (S.shear_one n) |
| 67 | |
| 68 | @[simp] theorem joinedInput_parent : (P.joinedInput hn hq hB).parent=P.restrictedParent := rfl |
| 69 | @[simp] theorem joinedInput_label : (P.joinedInput hn hq hB).label=P.restrictedState.labels := rfl |
| 70 | @[simp] theorem joinedInput_low : (P.joinedInput hn hq hB).low=P.restrictedLow := rfl |
| 71 | @[simp] theorem joinedInput_frame : (P.joinedInput hn hq hB).frame=P.joinedFrame hn := rfl |
| 72 | @[simp] theorem joinedInput_geometry : (P.joinedInput hn hq hB).geometry=P.joinedGuards hn hq hB := rfl |
| 73 | @[simp] theorem joinedInput_terminal : |
| 74 | (P.joinedInput hn hq hB).terminal=(P.joinedGuards hn hq hB).terminal := rfl |
| 75 | |
| 76 | theorem joinedInput_parameterSize : (P.joinedInput hn hq hB).parameterSize ≤ envelope S.J 4 S.X n := |
| 77 | P.restrictedState.labels.normalParameterSize_bound P.restrictedLow |
| 78 | (P.joinedNormal hn) (P.joinedNormal_unit hn) |
| 79 | (LinearIsometryEquiv.refl ℝ (referencePlane (P.joinedNormal hn))) support compact |
| 80 | P.time (P.time_pos hn) P.time_lt_nextHorizon (P.joinedFrame hn) (P.joinedGuards hn hq hB) |
| 81 | S.J S.D (by have h := S.stage_large; omega) 4 S.X (by norm_num) S.x_one n |
| 82 | P.time⁻¹ P.restrictedParent.T⁻¹ S.actual.initial_shear S.actual.initial_frequency P.label_eq.le |
| 83 | (P.time_reciprocal hn) P.restricted_horizon_reciprocal P.core_cap P.boundary_eq rfl rfl |
| 84 | (((P.joinedFrame_horizon hn).trans P.restrictedFrame_horizon).le.trans |
| 85 | P.source_stage.horizon_le_Theta) |
| 86 | (P.joinedGuards_delta hn hq hB) (P.joinedGuards_shear hn hq hB) |
| 87 | ((P.joinedFrame_shear hn).trans P.frame_shear) |
| 88 | |
| 89 | theorem joinedInput_frequency : (P.joinedInput hn hq hB).frequencyGuard (frequency S.J S.X n) := |
| 90 | S.source_frequency n _ (P.joinedInput hn hq hB).parameterSize_one |
| 91 | (P.joinedInput_parameterSize hn hq hB) |
| 92 | |
| 93 | theorem joinedInput_targetTime : |
| 94 | ((P.joinedInput hn hq hB).geometry.lowGeometry (P.joinedInput hn hq hB).halfBall).targetTime=P.nextTime := |
| 95 | P.joinedGeometry_targetTime hn hq hB |
| 96 | |
| 97 | theorem joinedInput_sigma_bound : |
| 98 | (P.joinedInput hn hq hB).frame.sigma*scaleSequence S.J S.X n ≤ 2 := by |
| 99 | change (P.joinedFrame hn).sigma*scaleSequence S.J S.X n ≤ 2 |
| 100 | rw [P.joinedFrame_sigma] |
| 101 | exact P.normalized_sigma |
| 102 | |
| 103 | theorem joinedInput_scale : (P.joinedInput hn hq hB).parent.ell=supportScale S.J S.X n := P.scale_eq |
| 104 | |
| 105 | end Joined |
| 106 | |
| 107 | section Forward |
| 108 | |
| 109 | variable {q : ℕ} {B : ℝ} {S : Scales (q : ℝ) B} (P : Stage S 0) |
| 110 | (hq : requiredExponent ≤ q) (hB : commonThreshold gradientConstant hessianConstant ≤ B) |
| 111 | |
| 112 | def forwardInput : GeometryForwardInput (referencePlane P.forwardNormal) where |
| 113 | parent := P.restrictedParent |
| 114 | label := P.restrictedState.labels |
| 115 | low := P.restrictedLow |
| 116 | normal := P.forwardNormal |
| 117 | normal_unit := P.forwardNormal_unit |
| 118 | coordinates := LinearIsometryEquiv.refl ℝ (referencePlane P.forwardNormal) |
| 119 | support := support |
| 120 | support_compact := compact |
| 121 | total_le_one := P.nextHorizon_one |
| 122 | frame := P.forwardFrame |
| 123 | geometry := P.forwardGuards hq hB |
| 124 | halfBall := by rw [P.forwardGuards_radius]; norm_num |
| 125 | neighborhood := Metric.ball 0 (1/2 : ℝ) |
| 126 | neighborhood_measurable := Metric.isOpen_ball.measurableSet |
| 127 | neighborhood_open := Metric.isOpen_ball |
| 128 | support_subset := subset_halfBall |
| 129 | neighborhood_bound := fun x hx => le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hx) |
| 130 | cutoff_support := subset_rfl |
| 131 | delta_pos := by rw [P.forwardGuards_delta]; exact S.spike_pos 0 |
| 132 | delta_le_one := by rw [P.forwardGuards_delta]; exact S.spike_one 0 |
| 133 | child_pos := by rw [P.forwardGuards_shear]; exact zero_lt_one.trans_le (S.shear_one 0) |
| 134 | |
| 135 | @[simp] theorem forwardInput_parent : (P.forwardInput hq hB).parent=P.restrictedParent := rfl |
| 136 | @[simp] theorem forwardInput_label : (P.forwardInput hq hB).label=P.restrictedState.labels := rfl |
| 137 | @[simp] theorem forwardInput_low : (P.forwardInput hq hB).low=P.restrictedLow := rfl |
| 138 | @[simp] theorem forwardInput_frame : (P.forwardInput hq hB).frame=P.forwardFrame := rfl |
| 139 | @[simp] theorem forwardInput_geometry : (P.forwardInput hq hB).geometry=P.forwardGuards hq hB := rfl |
| 140 | |
| 141 | theorem forwardInput_parameterSize : (P.forwardInput hq hB).parameterSize ≤ envelope S.J 4 S.X 0 := |
| 142 | P.restrictedState.labels.forwardNormalParameterSize_bound P.restrictedLow |
| 143 | P.forwardNormal P.forwardNormal_unit |
| 144 | (LinearIsometryEquiv.refl ℝ (referencePlane P.forwardNormal)) support compact |
| 145 | P.forwardFrame (P.forwardGuards hq hB) S.J S.D (by have h := S.stage_large; omega) |
| 146 | 4 S.X (by norm_num) S.x_one 0 P.restrictedParent.T⁻¹ |
| 147 | S.actual.initial_shear S.actual.initial_frequency P.label_eq.le P.restricted_horizon_reciprocal |
| 148 | P.core_cap P.boundary_eq |
| 149 | ((P.forwardFrame_horizon.trans P.restrictedFrame_horizon).le.trans P.source_stage.horizon_le_Theta) |
| 150 | (P.forwardGuards_delta hq hB) (P.forwardGuards_shear hq hB) |
| 151 | (P.forwardFrame_shear.trans P.frame_shear) |
| 152 | |
| 153 | theorem forwardInput_frequency : (P.forwardInput hq hB).frequencyGuard (frequency S.J S.X 0) := |
| 154 | S.source_frequency 0 _ (P.forwardInput hq hB).parameterSize_one (P.forwardInput_parameterSize hq hB) |
| 155 | |
| 156 | theorem forwardInput_targetTime : |
| 157 | ((P.forwardInput hq hB).geometry.lowGeometry (P.forwardInput hq hB).halfBall).targetTime=P.nextTime := |
| 158 | P.forwardGeometry_targetTime hq hB |
| 159 | |
| 160 | theorem forwardInput_sigma_bound : (P.forwardInput hq hB).frame.sigma*scaleSequence S.J S.X 0 ≤ 2 := by |
| 161 | change P.forwardFrame.sigma*scaleSequence S.J S.X 0 ≤ 2 |
| 162 | rw [P.forwardFrame_sigma] |
| 163 | exact P.normalized_sigma |
| 164 | |
| 165 | theorem forwardInput_scale : (P.forwardInput hq hB).parent.ell=supportScale S.J S.X 0 := P.scale_eq |
| 166 | |
| 167 | end Forward |
| 168 | |
| 169 | end EulerPacketInduction.Stage |