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.ParentRenewalScaleApplication |
| 3 | import Euler.PacketStageLowPropagation |
| 4 | |
| 5 | /-! The actual stage guards satisfy the fixed pressure, initial-gradient |
| 6 | and frame-renewal budgets used by the induction. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketInduction.Stage |
| 11 | |
| 12 | open Set Real EulerSmoothLimit EulerParentPacketFrames EulerPacketSourceGeometry |
| 13 | EulerTransverseFrameCoordinates EulerPacketInductionScales EulerPacketSourceScaleChoice |
| 14 | EulerPacketSourceScaleSequence EulerPacketSourceScaleActual EulerPacketSourceScales |
| 15 | EulerPacketLowConstants EulerPacketPressureScale EulerPacketGeometryLowBounds |
| 16 | EulerParentRenewalScale EulerParentNeighborThreshold EulerPacketSupport |
| 17 | |
| 18 | section Joined |
| 19 | |
| 20 | variable {q : ℕ} {B : ℝ} {S : Scales (q : ℝ) B} {n : ℕ} (P : Stage S n) |
| 21 | (hn : n ≠ 0) (hq : requiredExponent ≤ q) |
| 22 | (hB : commonThreshold gradientConstant hessianConstant ≤ B) |
| 23 | |
| 24 | local notation "G" => P.joinedGuards hn hq hB |
| 25 | local notation "R" => LinearIsometryEquiv.refl ℝ (referencePlane (P.joinedNormal hn)) |
| 26 | |
| 27 | theorem joined_horizon_bound : |
| 28 | (P.joinedFrame hn).horizon ≤ sourceTheta S.J 4 (scaleSequence S.J S.X) n := by |
| 29 | rw [P.joinedFrame_horizon,P.restrictedFrame_horizon] |
| 30 | exact P.source_stage.horizon_le_Theta |
| 31 | |
| 32 | include hn in |
| 33 | theorem history_inverse_shear : P.time⁻¹ ≤ previousShear S.J S.X n := by |
| 34 | rw [← one_div] |
| 35 | exact (div_le_iff₀ (P.time_pos hn)).mpr (P.history_layer hn) |
| 36 | |
| 37 | theorem joined_bad_cost : |
| 38 | 2*(gradientConstant*previousShear S.J S.X n)*(G).hchild*(G).badRatio ≤ |
| 39 | badCost S.J 4 gradientConstant gradientConstant hessianConstant 80 (scaleSequence S.J S.X) n := |
| 40 | P.restrictedState.labels.joined_bad_pressure_cost_bound (P.joinedNormal hn) (P.joinedNormal_unit hn) |
| 41 | R support compact P.restrictedLow P.time (P.time_pos hn) P.time_lt_nextHorizon (P.joinedFrame hn) |
| 42 | G P.time⁻¹ P.time_one le_rfl S.J S.D S.stage_large S.X 4 gradientConstant gradientConstant |
| 43 | hessianConstant 80 S.x_one (by norm_num) gradient_nonneg gradient_nonneg hessian_nonneg (by norm_num) |
| 44 | S.actual.initial_shear S.actual.initial_frequency n (gradientConstant*previousShear S.J S.X n) |
| 45 | (by rw [rpow_ofNat]; exact P.label_eq.le) (P.history_inverse_shear hn) (P.joinedGuards_CM hn hq hB).le |
| 46 | (P.joinedGuards_CH hn hq hB).le (P.joined_horizon_bound hn) |
| 47 | (by erw [P.joinedFrame_sigma]; exact P.normalized_sigma) (P.joinedGuards_shear hn hq hB).le le_rfl |
| 48 | |
| 49 | theorem joined_initial_cost : |
| 50 | (G).hchild*(G).badRatio+(frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ initialIncrement S.J S.X n := by |
| 51 | have hb := P.joined_bad_cost hn hq hB |
| 52 | have hm : 1 ≤ 2*(gradientConstant*previousShear S.J S.X n) := by |
| 53 | have h := mul_le_mul_of_nonneg_left (S.previousShear_one n) gradient_nonneg |
| 54 | nlinarith only [gradient_properties.1,h] |
| 55 | have hn0 := mul_nonneg (G).child_nonneg (G).badRatio_nonneg |
| 56 | have hh := mul_le_mul_of_nonneg_right hm hn0 |
| 57 | unfold initialIncrement |
| 58 | nlinarith only [hb,hh] |
| 59 | |
| 60 | theorem joined_pressure_cost : |
| 61 | 2*(gradientConstant*previousShear S.J S.X n)*(G).hchild*((G).δ*goodRatio+(G).badRatio)+ |
| 62 | (frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ pressureIncrement S.J S.X n := by |
| 63 | have h := P.restrictedState.labels.joined_upper_pressure_cost_bound |
| 64 | (P.joinedNormal hn) (P.joinedNormal_unit hn) R support compact P.restrictedLow P.time |
| 65 | (P.time_pos hn) P.time_lt_nextHorizon (P.joinedFrame hn) G P.time⁻¹ P.time_one le_rfl |
| 66 | S.J S.D S.stage_large S.X 4 gradientConstant gradientConstant hessianConstant 80 S.x_one |
| 67 | (by norm_num) gradient_nonneg gradient_nonneg hessian_nonneg (by norm_num) |
| 68 | S.actual.initial_shear S.actual.initial_frequency n (gradientConstant*previousShear S.J S.X n) |
| 69 | (by rw [rpow_ofNat]; exact P.label_eq.le) (P.history_inverse_shear hn) (P.joinedGuards_CM hn hq hB).le |
| 70 | (P.joinedGuards_CH hn hq hB).le (P.joined_horizon_bound hn) |
| 71 | (by erw [P.joinedFrame_sigma]; exact P.normalized_sigma) |
| 72 | (P.joinedGuards_shear hn hq hB).le le_rfl (P.joinedGuards_delta hn hq hB).le |
| 73 | unfold pressureIncrement initialIncrement |
| 74 | exact (add_le_add h (le_refl ((frequency S.J S.X n)^(-(1/4 : ℝ))))).trans_eq |
| 75 | (add_assoc _ _ _) |
| 76 | |
| 77 | theorem joined_renewal_errors : |
| 78 | (P.joinedGeometry hn hq hB).couplingError ≤ renewalCost S.J S.D 4 (q : ℝ) frameConstant S.X n ∧ |
| 79 | (P.joinedGeometry hn hq hB).tiltError ≤ renewalCost S.J S.D 4 (q : ℝ) frameConstant S.X n := by |
| 80 | exact (G).renewal_errors_on_scales (by change (1/2 : ℝ) ≤ 1; norm_num) |
| 81 | S.J S.D (by have h := S.stage_large; omega) 4 (q : ℝ) frameConstant S.X P.frame.a |
| 82 | (by norm_num) frame_properties.1 S.x_one P.coupling_bounds.2 n (P.joinedFrame_a hn) |
| 83 | ((P.joinedFrame_shear hn).trans P.frame_shear) (P.joined_horizon_bound hn) |
| 84 | ((P.joinedFrame_G hn).le.trans P.frame_bound) ((P.joinedFrame_error hn).le.trans P.frame_error) |
| 85 | (P.joined_source_neighbor hn hq hB) (P.joinedGuards_y hn hq hB) |
| 86 | (by erw [P.joinedFrame_sigma]; exact P.tilt_upper) |
| 87 | |
| 88 | end Joined |
| 89 | |
| 90 | section Forward |
| 91 | |
| 92 | variable {q : ℕ} {B : ℝ} {S : Scales (q : ℝ) B} (P : Stage S 0) |
| 93 | (hq : requiredExponent ≤ q) (hB : commonThreshold gradientConstant hessianConstant ≤ B) |
| 94 | |
| 95 | local notation "G" => P.forwardGuards hq hB |
| 96 | |
| 97 | theorem forward_horizon_bound : P.forwardFrame.horizon ≤ sourceTheta S.J 4 (scaleSequence S.J S.X) 0 := by |
| 98 | rw [P.forwardFrame_horizon,P.restrictedFrame_horizon] |
| 99 | exact P.source_stage.horizon_le_Theta |
| 100 | |
| 101 | theorem forward_bad_cost : |
| 102 | 2*(gradientConstant*previousShear S.J S.X 0)*(G).hchild*(G).earlyRatio ≤ |
| 103 | badCost S.J 4 gradientConstant gradientConstant hessianConstant 80 (scaleSequence S.J S.X) 0 := by |
| 104 | apply (G).bad_pressure_cost_bound S.J S.stage_large S.X 4 gradientConstant gradientConstant |
| 105 | hessianConstant 80 S.x_one (by norm_num) gradient_nonneg gradient_nonneg hessian_nonneg (by norm_num) |
| 106 | S.actual.initial_shear 0 (gradientConstant*previousShear S.J S.X 0) P.forward_horizon_bound |
| 107 | _ le_rfl le_rfl |
| 108 | rw [P.forwardFrame_sigma] |
| 109 | exact P.normalized_sigma |
| 110 | |
| 111 | theorem forward_initial_cost : |
| 112 | (G).hchild*(G).earlyRatio+(frequency S.J S.X 0)^(-(1/4 : ℝ)) ≤ initialIncrement S.J S.X 0 := by |
| 113 | have hb := P.forward_bad_cost hq hB |
| 114 | have hm : 1 ≤ 2*(gradientConstant*previousShear S.J S.X 0) := by |
| 115 | have h := mul_le_mul_of_nonneg_left (S.previousShear_one 0) gradient_nonneg |
| 116 | nlinarith only [gradient_properties.1,h] |
| 117 | have hn0 := mul_nonneg (G).child_nonneg (G).earlyRatio_nonneg |
| 118 | have hh := mul_le_mul_of_nonneg_right hm hn0 |
| 119 | unfold initialIncrement |
| 120 | nlinarith only [hb,hh] |
| 121 | |
| 122 | theorem forward_pressure_cost : |
| 123 | 2*(gradientConstant*previousShear S.J S.X 0)*(G).hchild*((G).δ*goodRatio+(G).earlyRatio)+ |
| 124 | (frequency S.J S.X 0)^(-(1/4 : ℝ)) ≤ pressureIncrement S.J S.X 0 := by |
| 125 | have h := (G).upper_pressure_cost_bound S.J S.stage_large S.X 4 gradientConstant gradientConstant |
| 126 | hessianConstant 80 S.x_one (by norm_num) gradient_nonneg gradient_nonneg hessian_nonneg (by norm_num) |
| 127 | S.actual.initial_shear 0 (gradientConstant*previousShear S.J S.X 0) P.forward_horizon_bound |
| 128 | (by rw [P.forwardFrame_sigma]; exact P.normalized_sigma) le_rfl le_rfl le_rfl |
| 129 | unfold pressureIncrement initialIncrement |
| 130 | linarith only [h] |
| 131 | |
| 132 | theorem forward_renewal_errors : |
| 133 | (P.forwardGeometry hq hB).couplingError ≤ renewalCost S.J S.D 4 (q : ℝ) frameConstant S.X 0 ∧ |
| 134 | (P.forwardGeometry hq hB).tiltError ≤ renewalCost S.J S.D 4 (q : ℝ) frameConstant S.X 0 := by |
| 135 | exact (G).renewal_errors_on_scales (by change (1/2 : ℝ) ≤ 1; norm_num) |
| 136 | S.J S.D (by have h := S.stage_large; omega) 4 (q : ℝ) frameConstant S.X P.frame.a |
| 137 | (by norm_num) frame_properties.1 S.x_one P.coupling_bounds.2 0 P.forwardFrame_a |
| 138 | (P.forwardFrame_shear.trans P.frame_shear) P.forward_horizon_bound |
| 139 | (P.forwardFrame_G.le.trans P.frame_bound) (P.forwardFrame_error.le.trans P.frame_error) |
| 140 | (P.forward_source_neighbor hq hB) rfl (by rw [P.forwardFrame_sigma]; exact P.tilt_upper) |
| 141 | |
| 142 | end Forward |
| 143 | end EulerPacketInduction.Stage |