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.PacketActivationRay |
| 2 | import Euler.TransversePacketHistoryData |
| 3 | |
| 4 | /-! The source deformation can be equipped with the actual activation |
| 5 | normal. The new reference plane is the literal orthogonal complement, |
| 6 | and the history hypotheses are inherited without any new analytic input. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerTransversePacketProvider |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerTransverseFrameCoordinates EulerPacketMovingFrame |
| 14 | |
| 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 16 | |
| 17 | def Data.reframe (D : Data U) (m : Space) (hm : ‖m‖=1) : Data (referencePlane m) where |
| 18 | T := D.T |
| 19 | T_pos := D.T_pos |
| 20 | support := D.support |
| 21 | support_compact := D.support_compact |
| 22 | m₀ := m |
| 23 | m₀_unit := hm |
| 24 | R := LinearIsometryEquiv.refl ℝ (referencePlane m) |
| 25 | F := D.F |
| 26 | F₁ := D.F₁ |
| 27 | FInv := D.FInv |
| 28 | M := D.M |
| 29 | inverse_left := D.inverse_left |
| 30 | inverse_right := D.inverse_right |
| 31 | frame_time := D.frame_time |
| 32 | strain_equation := D.strain_equation |
| 33 | |
| 34 | def HistoryData.reframe {D : Data U} (B : HistoryData D) (m : Space) (hm : ‖m‖=1) : |
| 35 | HistoryData (D.reframe m hm) where |
| 36 | H := B.H |
| 37 | jacobi := B.jacobi |
| 38 | potential := B.potential |
| 39 | potential_nonneg := B.potential_nonneg |
| 40 | potential_bound := B.potential_bound |
| 41 | small := B.small |
| 42 | |
| 43 | def Data.activation (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : |
| 44 | Data (referencePlane (activationDirection (D.deformationEquiv t₀ 0) n)) := |
| 45 | D.reframe (activationDirection (D.deformationEquiv t₀ 0) n) |
| 46 | (activationDirection_unit _ hn) |
| 47 | |
| 48 | theorem Data.activation_normal (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : |
| 49 | (D.activation t₀ n hn).normal.field t₀ 0 = activationRayScale (D.deformationEquiv t₀ 0) n • n := by |
| 50 | exact activationDirection_transport (D.deformationEquiv t₀ 0) n |
| 51 | |
| 52 | def HistoryData.activation {D : Data U} (B : HistoryData D) |
| 53 | (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : HistoryData (D.activation t₀ n hn) := |
| 54 | B.reframe (activationDirection (D.deformationEquiv t₀ 0) n) (activationDirection_unit _ hn) |
| 55 | |
| 56 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 57 | (hn : ‖n‖=1) : |
| 58 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
| 59 | activationRayScale (D.deformationEquiv t₀ 0) n ≤ D.inverseBound ∧ |
| 60 | (activationRayScale (D.deformationEquiv t₀ 0) n)⁻¹ ≤ D.frameBound := by |
| 61 | have hn0 : n ≠ 0 := by intro hz; rw [hz,norm_zero] at hn; norm_num at hn |
| 62 | let F := D.deformationEquiv t₀ 0 |
| 63 | have hpos : 0 < ‖F.toContinuousLinearMap.adjoint n‖ := |
| 64 | norm_pos_iff.mpr (forward_adjoint_ne_zero F hn0) |
| 65 | have hlo : 1 ≤ D.inverseBound*‖F.toContinuousLinearMap.adjoint n‖ := by |
| 66 | calc |
| 67 | 1 = ‖F.symm.toContinuousLinearMap.adjoint (F.toContinuousLinearMap.adjoint n)‖ := by |
| 68 | rw [inverse_adjoint_forward_adjoint,hn] |
| 69 | _ ≤ ‖F.symm.toContinuousLinearMap.adjoint‖*‖F.toContinuousLinearMap.adjoint n‖ := |
| 70 | F.symm.toContinuousLinearMap.adjoint.le_opNorm _ |
| 71 | _ ≤ D.inverseBound*‖F.toContinuousLinearMap.adjoint n‖ := by |
| 72 | rw [LinearIsometryEquiv.norm_map] |
| 73 | exact mul_le_mul_of_nonneg_right (D.inverse_norm t₀ 0) (norm_nonneg _) |
| 74 | have hhi : ‖F.toContinuousLinearMap.adjoint n‖ ≤ D.frameBound := by |
| 75 | calc |
| 76 | _ ≤ ‖F.toContinuousLinearMap.adjoint‖*‖n‖ := F.toContinuousLinearMap.adjoint.le_opNorm n |
| 77 | _ = ‖D.F.field t₀ 0‖ := by rw [LinearIsometryEquiv.norm_map,hn,mul_one]; rfl |
| 78 | _ ≤ D.frameBound := D.frame_norm t₀ 0 |
| 79 | refine ⟨activationRayScale_pos F hn0,?_,?_⟩ |
| 80 | · simpa only [activationRayScale,one_div] using (div_le_iff₀ hpos).mpr hlo |
| 81 | · simpa only [activationRayScale,inv_inv] using hhi |
| 82 | |
| 83 | end EulerTransversePacketProvider |