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.ParentPacketNeighborBounds |
| 2 | import Euler.ParentPacketJoinedInput |
| 3 | import Euler.PacketSourceGeometryData |
| 4 | |
| 5 | /-! Spatial variation of the actual activation history retains the |
| 6 | parent's label scale. The constants are computed from the prescribed |
| 7 | coefficients and the older frame, not from an estimate on the new primary. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerParentPacketFrames.LabelData |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 14 | EulerPacketParentLabelBounds EulerGevrey EulerTransverseBoundedFrame |
| 15 | EulerTransverseFrameCoordinates EulerTransversePacketProvider EulerPacketActivationHistory |
| 16 | EulerTransverseHistoryBounds EulerTimeIntervalRestriction EulerPacketSourceGeometry |
| 17 | EulerPacketMovingFrame |
| 18 | open scoped BoundedContinuousFunction |
| 19 | |
| 20 | variable {G : Parent} (L : LabelData G) |
| 21 | {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 23 | (S : Set Space) (hS : IsCompact S) (H : LowBounds G) |
| 24 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < G.T) |
| 25 | |
| 26 | omit [CompleteSpace U] in |
| 27 | theorem initial_frame_derivative_norm : |
| 28 | ‖((G.transverseData m hm R S hS).initial τ hτ hτT.le).frame.derivative.field‖ ≤ |
| 29 | L.frameDifferenceCost*G.ell := by |
| 30 | have h0 := frameAmplitude_nonneg L.K |
| 31 | have h1 := coefficientRadius_nonneg L.K |
| 32 | have hell := G.ell_pos |
| 33 | apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold frameDifferenceCost; positivity) |
| 34 | intro t x |
| 35 | have h := coefficient_derivative_bound m R G.frame.toSmoothCoefficientPath 1 |
| 36 | (frameAmplitude L.K*majorant L.scaledRadius 0 1) (L.frame_scaled_bound 1) |
| 37 | (initialInclusion G.T τ hτT.le t) x |
| 38 | rw [L.scaled_first_majorant] at h |
| 39 | exact h |
| 40 | |
| 41 | omit [CompleteSpace U] in |
| 42 | theorem initial_first_derivative_norm : |
| 43 | ‖((G.transverseData m hm R S hS).initial τ hτ hτT.le).frameDerivative.derivative.field‖ ≤ |
| 44 | L.firstDifferenceCost*G.ell := by |
| 45 | have h0 := gradientAmplitude_nonneg L.K |
| 46 | have h1 := coefficientRadius_nonneg L.K |
| 47 | have hell := G.ell_pos |
| 48 | apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold firstDifferenceCost; positivity) |
| 49 | intro t x |
| 50 | have h := coefficient_derivative_bound m R G.first.toSmoothCoefficientPath 1 |
| 51 | (gradientAmplitude L.K*majorant L.scaledRadius 0 1) (L.first_scaled_bound 1) |
| 52 | (initialInclusion G.T τ hτT.le t) x |
| 53 | rw [L.scaled_first_majorant] at h |
| 54 | exact h |
| 55 | |
| 56 | omit [CompleteSpace U] in |
| 57 | theorem initial_curvature_derivative_norm : |
| 58 | ‖(G.historyOn H m hm R S hS τ hτ hτT).H.derivative.field‖ ≤ |
| 59 | L.strainDifferenceCost*G.ell := by |
| 60 | have h0 := gradientAmplitude_nonneg L.K |
| 61 | have h1 := coefficientRadius_nonneg L.K |
| 62 | have hell := G.ell_pos |
| 63 | apply SmoothCoefficientPath.derivative_norm_le_of_bound _ _ (by unfold strainDifferenceCost; positivity) |
| 64 | intro t x |
| 65 | have h := L.curvature_scaled_bound 1 (initialInclusion G.T τ hτT.le t) x |
| 66 | rw [L.scaled_first_majorant] at h |
| 67 | exact h |
| 68 | |
| 69 | /-- The coefficient of the label scale in the actual history difference |
| 70 | bound. All zeroth norms belong to the restricted source coefficients. -/ |
| 71 | def initialHistoryDifferenceScaleCost : ℝ := |
| 72 | let D := (G.transverseData m hm R S hS).initial τ hτ hτT.le |
| 73 | let B := G.historyOn H m hm R S hS τ hτ hτT |
| 74 | historyDifferenceCost τ D.frameLower ‖D.frame.field‖ ‖D.frameDerivative.field‖ |
| 75 | (τ*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+τ^2*‖B.H.field‖) |
| 76 | (historyTransportCost (D := D)) L.frameDifferenceCost L.firstDifferenceCost L.strainDifferenceCost |
| 77 | |
| 78 | omit [CompleteSpace U] in |
| 79 | theorem initial_history_derivative_scale : |
| 80 | historyLabelDifferenceCost (G.historyOn H m hm R S hS τ hτ hτT) ≤ |
| 81 | L.initialHistoryDifferenceScaleCost m hm R S hS H τ hτ hτT*G.ell := by |
| 82 | apply historyDifferenceCost_le_scale |
| 83 | · exact hτ.le |
| 84 | · exact ((G.transverseData m hm R S hS).initial τ hτ hτT.le).frameLower_pos.le |
| 85 | · positivity |
| 86 | · positivity |
| 87 | · exact add_nonneg (mul_nonneg hτ.le (norm_nonneg _)) (norm_nonneg _) |
| 88 | · positivity |
| 89 | · exact historyTransportCost_nonneg |
| 90 | · exact L.initial_frame_derivative_norm m hm R S hS τ hτ hτT |
| 91 | · exact L.initial_first_derivative_norm m hm R S hS τ hτ hτT |
| 92 | · exact L.initial_curvature_derivative_norm m hm R S hS H τ hτ hτT |
| 93 | |
| 94 | /-- The actual neighbor coefficient after extracting the one factor of |
| 95 | ell supplied by the parent spatial derivative estimates. -/ |
| 96 | def neighborScaleCost |
| 97 | (P : ParentFrame (G.transverseData m hm R S hS) τ) (CM CH : ℝ) : ℝ := |
| 98 | L.strainDifferenceCost+ |
| 99 | 3*L.normalDifferenceCost/(P.rayScale hτ hτT*P.epsilon)+ |
| 100 | 2*(L.initialHistoryDifferenceScaleCost m hm R S hS H τ hτ hτT)* |
| 101 | P.terminalBound CM CH/P.epsilon |
| 102 | |
| 103 | omit [CompleteSpace U] in |
| 104 | theorem source_neighbor_scale |
| 105 | (P : ParentFrame (G.transverseData m hm R S hS) τ) (CM CH : ℝ) |
| 106 | (_hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hshear : 0 < P.shear) (heps : 0 < P.epsilon) : |
| 107 | P.neighborCost hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ≤ |
| 108 | L.neighborScaleCost m hm R S hS H τ hτ hτT P CM CH*G.ell := by |
| 109 | have hray := Guards.rayScale_pos hτ hτT P |
| 110 | have hterminal : 0 ≤ P.terminalBound CM CH := by |
| 111 | unfold ParentFrame.terminalBound EulerTransverseActivationSelection.activationConstant |
| 112 | positivity [(G.transverseData m hm R S hS).inverseBound_pos] |
| 113 | have hn := L.source_normal_derivative_norm m hm R S hS |
| 114 | have hm' := L.source_strain_derivative_norm m hm R S hS |
| 115 | have hh := L.initial_history_derivative_scale m hm R S hS H τ hτ hτT |
| 116 | unfold ParentFrame.neighborCost neighborScaleCost |
| 117 | calc |
| 118 | _ ≤ L.strainDifferenceCost*G.ell+ |
| 119 | 3*(L.normalDifferenceCost*G.ell)/(P.rayScale hτ hτT*P.epsilon)+ |
| 120 | 2*(L.initialHistoryDifferenceScaleCost m hm R S hS H τ hτ hτT*G.ell)* |
| 121 | P.terminalBound CM CH/P.epsilon := by gcongr |
| 122 | _ = _ := by ring |
| 123 | |
| 124 | omit [CompleteSpace U] in |
| 125 | theorem source_totalError_bound |
| 126 | (P : ParentFrame (G.transverseData m hm R S hS) τ) (CM CH ρ e n : ℝ) |
| 127 | (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hshear : 0 < P.shear) (heps : 0 < P.epsilon) |
| 128 | (hρ : 0 ≤ ρ) (herr : P.error ≤ e) |
| 129 | (hn : L.neighborScaleCost m hm R S hS H τ hτ hτT P CM CH*G.ell*ρ ≤ n) : |
| 130 | P.totalError hτ hτT (G.historyOn H m hm R S hS τ hτ hτT) CM CH ρ ≤ e+n := by |
| 131 | exact add_le_add herr ((mul_le_mul_of_nonneg_right |
| 132 | (L.source_neighbor_scale m hm R S hS H τ hτ hτT P CM CH hCM hCH hshear heps) hρ).trans hn) |
| 133 | |
| 134 | end EulerParentPacketFrames.LabelData |