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.ParentGeometryForwardChoice |
| 2 | import Euler.ParentGeometryJoinedChoice |
| 3 | import Euler.ParentPacketChildLowGuards |
| 4 | |
| 5 | /-! The same geometrically selected correction supplies the actual |
| 6 | child's whole-horizon physical bounds and its next localized source guard. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketFrames.GeometryForwardChoice |
| 11 | |
| 12 | open Set InnerProductSpace EulerSmoothLimit EulerTransversePacketProvider |
| 13 | EulerPacketSourceGeometry EulerPacketTerminalDatum EulerPacketSourceFrequency |
| 14 | EulerPacketGeometryLowBounds EulerMeanHarmonic |
| 15 | |
| 16 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 17 | {I : GeometryForwardInput U} {S : SmoothState I.parent} |
| 18 | {k : ℝ} {hk : UniversalFrequency k} |
| 19 | {nextEll : ℝ} {hnext : 0 < nextEll} {hnext1 : nextEll ≤ 1} |
| 20 | (F : GeometryForwardChoice I S k hk nextEll hnext hnext1) |
| 21 | |
| 22 | def lowBounds (CM CH : ℝ) |
| 23 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 24 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 25 | (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ |
| 26 | k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ |
| 27 | (I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))*I.parent.T+ |
| 28 | boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))* |
| 29 | I.low.r^3*I.parent.T ≤ 1/2) : LowBounds F.parent := by |
| 30 | let res := forwardInitializedApproximationResidual I.meanData I.data rfl I.geometry.δ I.delta_pos |
| 31 | I.geometry.initialCoordinate I.cutoff_support I.alpha I.agreement (truncation k) F.hn k hk.four |
| 32 | let V := forwardInitializedNormalizedField I.meanData I.data rfl I.geometry.δ I.delta_pos |
| 33 | I.geometry.initialCoordinate I.cutoff_support I.alpha (truncation k) k |
| 34 | exact S.evolution.forwardChildLowBounds I.normal I.normal_unit I.coordinates I.support I.support_compact |
| 35 | F.Q res V rfl F.flow F.coefficient k (mul_inv_cancel₀ hk.pos.ne') F.graph nextEll hnext hnext1 |
| 36 | I.geometry I.halfBall I.delta_pos I.delta_le_one I.low |
| 37 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 38 | |
| 39 | theorem lowBounds_values (CM CH : ℝ) |
| 40 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 41 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 42 | (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ |
| 43 | k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ |
| 44 | (I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))*I.parent.T+ |
| 45 | boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))))* |
| 46 | I.low.r^3*I.parent.T ≤ 1/2) : |
| 47 | (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ |
| 48 | (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.earlyRatio+k^(-(1/4 : ℝ))) ∧ |
| 49 | (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.earlyRatio)+ |
| 50 | k^(-(1/4 : ℝ)) ∧ |
| 51 | (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ |
| 52 | (F.lowBounds CM CH hCM hCH hsmall).L= |
| 53 | boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := |
| 54 | ⟨rfl,rfl,rfl,rfl,rfl⟩ |
| 55 | |
| 56 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 57 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 58 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 59 | (t : Icc (0 : ℝ) I.parent.T) (x : Space) : |
| 60 | ‖fderiv ℝ (fun y => (state I S k hk nextEll hnext hnext1 F hSym).evolution.velocity (t,y)) x‖ ≤ |
| 61 | CM+I.geometry.hchild*(goodRatio+I.geometry.earlyRatio)+k^(-(1/4 : ℝ)) ∧ |
| 62 | ‖fderiv ℝ ((state I S k hk nextEll hnext hnext1 F hSym).evolution.force t) x‖ ≤ |
| 63 | CH+2*CM*I.geometry.hchild*(goodRatio+I.geometry.earlyRatio)+k^(-(1/4 : ℝ)) := by |
| 64 | let res := forwardInitializedApproximationResidual I.meanData I.data rfl I.geometry.δ I.delta_pos |
| 65 | I.geometry.initialCoordinate I.cutoff_support I.alpha I.agreement (truncation k) F.hn k hk.four |
| 66 | have h := S.evolution.exactForwardPacket_whole_horizon_low_bounds I.normal I.normal_unit I.coordinates |
| 67 | I.support I.support_compact F.Q res k (mul_inv_cancel₀ hk.pos.ne') I.geometry I.halfBall |
| 68 | I.delta_pos I.delta_le_one (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH I.low.K |
| 69 | F.errors hCM hCH (S.evolution.force_quadratic_upper_of_lowBounds I.low) t x |
| 70 | refine ⟨h.1,?_⟩ |
| 71 | erw [← (state I S k hk nextEll hnext hnext1 F hSym).evolution.pressure_hessian_eq_force] |
| 72 | exact h.2.1 |
| 73 | |
| 74 | end EulerParentPacketFrames.GeometryForwardChoice |
| 75 | |
| 76 | namespace EulerParentPacketFrames.GeometryJoinedChoice |
| 77 | |
| 78 | open Set InnerProductSpace EulerSmoothLimit EulerTransversePacketProvider |
| 79 | EulerPacketSourceGeometry EulerPacketTerminalDatum EulerPacketSourceFrequency |
| 80 | EulerPacketGeometryLowBounds EulerMeanHarmonic |
| 81 | |
| 82 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 83 | {I : EulerPacketInitial.Input U} {S : SmoothState I.parent} |
| 84 | {k : ℝ} {hk : UniversalFrequency k} |
| 85 | {nextEll : ℝ} {hnext : 0 < nextEll} {hnext1 : nextEll ≤ 1} |
| 86 | (F : GeometryJoinedChoice I S k hk nextEll hnext hnext1) |
| 87 | |
| 88 | def lowBounds (CM CH : ℝ) |
| 89 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 90 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 91 | (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ |
| 92 | k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ |
| 93 | (I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))*I.parent.T+ |
| 94 | boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))* |
| 95 | I.low.r^3*I.parent.T ≤ 1/2) : LowBounds F.parent := by |
| 96 | let res := initializedApproximationResidual I.meanData I.data rfl I.historyTime I.history_pos I.history_lt |
| 97 | I.history I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha I.agreement (truncation k) F.hn k hk.four |
| 98 | let V := initializedNormalizedField I.meanData I.data rfl I.historyTime I.history_pos I.history_lt I.history |
| 99 | I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha (truncation k) k |
| 100 | exact S.evolution.joinedChildLowBounds I.normal I.normal_unit I.coordinates I.support I.support_compact |
| 101 | F.Q res V rfl F.flow F.coefficient k (mul_inv_cancel₀ hk.pos.ne') F.graph nextEll hnext hnext1 |
| 102 | I.geometry I.halfBall I.cutoff_support I.delta_pos I.delta_le_one I.low |
| 103 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH F.errors hCM hCH hsmall |
| 104 | |
| 105 | theorem lowBounds_values (CM CH : ℝ) |
| 106 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 107 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 108 | (hsmall : (I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ |
| 109 | k^(-(1/4 : ℝ)))*(I.parent.T^2/2)+ |
| 110 | (I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))*I.parent.T+ |
| 111 | boundaryLocalizationC2*(I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))))* |
| 112 | I.low.r^3*I.parent.T ≤ 1/2) : |
| 113 | (F.lowBounds CM CH hCM hCH hsmall).Be=I.low.Be+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ |
| 114 | (F.lowBounds CM CH hCM hCH hsmall).Bc=I.low.Bc+(I.geometry.hchild*I.geometry.badRatio+k^(-(1/4 : ℝ))) ∧ |
| 115 | (F.lowBounds CM CH hCM hCH hsmall).K=I.low.K+2*CM*I.geometry.hchild*(I.geometry.δ*goodRatio+I.geometry.badRatio)+ |
| 116 | k^(-(1/4 : ℝ)) ∧ |
| 117 | (F.lowBounds CM CH hCM hCH hsmall).r=I.low.r ∧ |
| 118 | (F.lowBounds CM CH hCM hCH hsmall).L= |
| 119 | boundaryLocalizationC1*(F.lowBounds CM CH hCM hCH hsmall).Bc+1 := |
| 120 | ⟨rfl,rfl,rfl,rfl,rfl⟩ |
| 121 | |
| 122 | theorem physical_bounds (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) (CM CH : ℝ) |
| 123 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 124 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 125 | (t : Icc (0 : ℝ) I.parent.T) (x : Space) : |
| 126 | ‖fderiv ℝ (fun y => (state I S k hk nextEll hnext hnext1 F hSym).evolution.velocity (t,y)) x‖ ≤ |
| 127 | CM+I.geometry.hchild*(goodRatio+I.geometry.badRatio)+k^(-(1/4 : ℝ)) ∧ |
| 128 | ‖fderiv ℝ ((state I S k hk nextEll hnext hnext1 F hSym).evolution.force t) x‖ ≤ |
| 129 | CH+2*CM*I.geometry.hchild*(goodRatio+I.geometry.badRatio)+k^(-(1/4 : ℝ)) := by |
| 130 | let res := initializedApproximationResidual I.meanData I.data rfl I.historyTime I.history_pos I.history_lt |
| 131 | I.history I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha I.agreement (truncation k) F.hn k hk.four |
| 132 | have h := S.evolution.exactPacket_whole_horizon_low_bounds I.normal I.normal_unit I.coordinates |
| 133 | I.support I.support_compact F.Q res k (mul_inv_cancel₀ hk.pos.ne') I.geometry I.halfBall I.cutoff_support |
| 134 | I.delta_pos I.delta_le_one (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) CM CH I.low.K |
| 135 | F.errors hCM hCH (S.evolution.force_quadratic_upper_of_lowBounds I.low) t x |
| 136 | refine ⟨h.1,?_⟩ |
| 137 | erw [← (state I S k hk nextEll hnext hnext1 F hSym).evolution.pressure_hessian_eq_force] |
| 138 | exact h.2.1 |
| 139 | |
| 140 | end EulerParentPacketFrames.GeometryJoinedChoice |