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.PacketForwardInitializedPressure |
| 2 | import Euler.PacketForwardInitializedCorrectionData |
| 3 | import Euler.PacketCoordinateSobolev |
| 4 | import Euler.PacketFiniteProfileFields |
| 5 | import Euler.AllOrderDriftEquation |
| 6 | |
| 7 | /-! The literal zero-history initialized packet supplies the all-order approximation |
| 8 | residual identity, including its actual pressure gradient. Its velocity, |
| 9 | time derivative and residual are the fields already constructed from the |
| 10 | source profiles, not additional approximation hypotheses. -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerPacketCylinderField.Field |
| 15 | |
| 16 | open EulerPacketProfileRecursion |
| 17 | |
| 18 | theorem toFieldTower_eq_of_path_eq_forward {P T : ℝ} [Fact (0 < P)] |
| 19 | {raw raw' : VectorField} (G : Field P T raw) (H : Field P T raw') |
| 20 | (h : G.path = H.path) : G.toFieldTower = H.toFieldTower := by |
| 21 | cases G |
| 22 | cases H |
| 23 | dsimp only at h |
| 24 | cases h |
| 25 | rfl |
| 26 | |
| 27 | end EulerPacketCylinderField.Field |
| 28 | |
| 29 | namespace EulerPacketTerminalDatum |
| 30 | |
| 31 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 32 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketPointJets |
| 33 | EulerPacketPressure EulerPacketCoordinates EulerLiftedGradientSpace |
| 34 | EulerPacketCorrectionCoefficients EulerAllOrderDriftCorrection |
| 35 | |
| 36 | variable (M : EulerMeanPacketProvider.Data) |
| 37 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 38 | (D : Data U) (hTime : M.T = D.T) |
| 39 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 40 | |
| 41 | def forwardInitializedVelocity (N : ℕ) (κ : ℝ) : VectorField := |
| 42 | fieldSum (N+1) κ (assembledVelocity N (forwardInitializedProfiles M D δ hδ ξ hs α)) |
| 43 | |
| 44 | def forwardInitializedVelocityField (N : ℕ) (κ : ℝ) : |
| 45 | Field period D.T (forwardInitializedVelocity M D δ hδ ξ hs α N κ) := |
| 46 | (ProfileRegularity.velocityField M.T_pos |
| 47 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) κ).changeTime hTime |
| 48 | |
| 49 | def forwardInitializedVelocityDerivative (N : ℕ) (κ : ℝ) : VectorField := |
| 50 | fieldSum (N+1) κ (ProfileRegularity.velocityTimeCoefficients (T := M.T) (N := N) |
| 51 | (a := forwardInitializedProfiles M D δ hδ ξ hs α)) |
| 52 | |
| 53 | def forwardInitializedVelocityDerivativeField (N : ℕ) (κ : ℝ) : |
| 54 | Field period D.T (forwardInitializedVelocityDerivative M D δ hδ ξ hs α N κ) := |
| 55 | (ProfileRegularity.velocityDerivativeField M.T_pos |
| 56 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) κ).changeTime hTime |
| 57 | |
| 58 | theorem forwardInitializedVelocityField_time (N : ℕ) (κ : ℝ) : |
| 59 | TimeDerivative D.T_pos.le |
| 60 | (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N κ) |
| 61 | (forwardInitializedVelocityDerivativeField M D hTime δ hδ ξ hs α N κ) := |
| 62 | Field.changeTime_derivative _ _ hTime M.T_pos.le D.T_pos.le |
| 63 | (ProfileRegularity.velocityField_time M.T_pos |
| 64 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) κ) |
| 65 | |
| 66 | /-- The pairwise curl construction and the literal velocity sum represent |
| 67 | the same normalized coordinate field. -/ |
| 68 | theorem forwardInitializedNormalizedField_path_eq (N : ℕ) (k : ℝ) : |
| 69 | (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α N k).path = |
| 70 | (coordinateField D (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) k).path := |
| 71 | Field.path_eq_of_raw_eq _ _ (fun _ _ _ => rfl) |
| 72 | |
| 73 | theorem forwardInitializedNormalizedField_tower_eq (N : ℕ) (k : ℝ) : |
| 74 | (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α N k).toFieldTower = |
| 75 | (coordinateField D (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) k).toFieldTower := |
| 76 | Field.toFieldTower_eq_of_path_eq_forward _ _ |
| 77 | (forwardInitializedNormalizedField_path_eq M D hTime δ hδ ξ hs α N k) |
| 78 | |
| 79 | def forwardInitializedCoordinateResidualField (Cagree : SourceCoefficientAgreement M D) |
| 80 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : |
| 81 | Field period D.T (normalizedResidual D k |
| 82 | (forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹) |
| 83 | (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹)) := |
| 84 | (forwardInitializedNormalizedResidualField M D hTime δ hδ ξ hs α Cagree N hN k hk).congr |
| 85 | (fun t x θ => by |
| 86 | change k • rawInverse D (t,(x,θ)) |
| 87 | (slicedMomentumResidual (Icc (0 : ℝ) D.T) k⁻¹ |
| 88 | (rawInverse D (t,(x,θ))) (D.strain (t,(x,θ))) (D.normalField (t,(x,θ))) |
| 89 | (forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹) |
| 90 | (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) (t,(x,θ))) = |
| 91 | k • rawInverse D (t,(x,θ)) |
| 92 | (slicedMomentumResidual (Icc (0 : ℝ) M.T) k⁻¹ |
| 93 | (rawInverse D (t,(x,θ))) (D.strain (t,(x,θ))) (D.normalField (t,(x,θ))) |
| 94 | (forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹) |
| 95 | (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) (t,(x,θ))) |
| 96 | rw [hTime]) |
| 97 | |
| 98 | /-- This is the exact initialized correction data used by the quantitative |
| 99 | budget, after identifying the two genuine realizations of its fields. -/ |
| 100 | theorem forwardInitializedCorrectionData_eq_coordinate (Cagree : SourceCoefficientAgreement M D) |
| 101 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) (hκ : |k⁻¹| ≤ 1) : |
| 102 | forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk = |
| 103 | coordinateData D k hκ |
| 104 | (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) |
| 105 | (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) |
| 106 | (forwardInitializedCoordinateResidualField M D hTime δ hδ ξ hs α Cagree N hN k hk) := by |
| 107 | unfold forwardInitializedCorrectionData coordinateData correctionDataOfFields |
| 108 | rw [forwardInitializedNormalizedField_tower_eq M D hTime δ hδ ξ hs α N k] |
| 109 | rfl |
| 110 | |
| 111 | /-- The actual finite pressure and every-order residual identity, with no |
| 112 | assumed pressure field, approximation derivative or residual cancellation. -/ |
| 113 | def forwardInitializedApproximationResidual (Cagree : SourceCoefficientAgreement M D) |
| 114 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : |
| 115 | ApproximationResidual period D.T_pos |
| 116 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk) := by |
| 117 | have hk0 : k ≠ 0 := by linarith |
| 118 | have hκ : |k⁻¹| ≤ 1 := by |
| 119 | rw [abs_of_pos (inv_pos.mpr (by linarith : 0 < k))] |
| 120 | exact inv_le_one_of_one_le₀ (by linarith) |
| 121 | let Pa := forwardInitializedCoordinatePressureField M D hTime δ hδ ξ hs α N k hk0 |
| 122 | refine { pressure := Pa.toFieldTower, gradient := ?_, equation := ?_ } |
| 123 | · intro t |
| 124 | exact forwardInitializedCoordinatePressureField_mem M D hTime δ hδ ξ hs α N k hk0 t |
| 125 | · intro q hq t ht |
| 126 | rw [forwardInitializedCorrectionData_eq_coordinate M D hTime δ hδ ξ hs α Cagree N hN k hk hκ] |
| 127 | exact approximation_hasDerivAt D k hk0 hκ |
| 128 | (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) |
| 129 | (forwardInitializedVelocityDerivativeField M D hTime δ hδ ξ hs α N k⁻¹) |
| 130 | (forwardInitializedVelocityField_time M D hTime δ hδ ξ hs α N k⁻¹) |
| 131 | (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) |
| 132 | (forwardInitializedCoordinateResidualField M D hTime δ hδ ξ hs α Cagree N hN k hk) |
| 133 | Pa q hq t ht |
| 134 | |
| 135 | end EulerPacketTerminalDatum |