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.PacketForwardInitializedResidualEquation |
| 2 | import Euler.PacketRemainderBounds |
| 3 | import Euler.PacketForwardPrimaryShear |
| 4 | import Euler.PacketFieldGraphBounds |
| 5 | import Euler.FieldTowerPhysicalL2 |
| 6 | |
| 7 | /-! The literal forward finite packet is its actual primary plus a |
| 8 | remainder with a proved physical C1 bound. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketTerminalDatum |
| 13 | |
| 14 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 15 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 16 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 17 | EulerPacketCoarseMajorant EulerCylinderPhysicalTensor EulerCylinderSobolevSpace |
| 18 | EulerPacketPrimaryShear EulerPacketForwardFactorization EulerPacketForwardPrimary |
| 19 | EulerCylinderCoordinates |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable (M : EulerMeanPacketProvider.Data) |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | (D : Data U) (hTime : M.T = D.T) |
| 25 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 26 | |
| 27 | theorem forwardInitializedProfiles_zero : forwardInitializedProfiles M D δ hδ ξ hs α 0 = 0 := |
| 28 | profiles_zero _ _ |
| 29 | |
| 30 | theorem forwardInitializedProfiles_one_high : |
| 31 | (forwardInitializedProfiles M D δ hδ ξ hs α 1).high = |
| 32 | vector D (initialData D δ hδ (α • ξ) hs) := by |
| 33 | simp only [forwardInitializedProfiles,sourceProfiles,profiles_one] |
| 34 | rfl |
| 35 | |
| 36 | theorem forwardInitializedProfiles_one_mean : |
| 37 | (forwardInitializedProfiles M D δ hδ ξ hs α 1).mean = 0 := by |
| 38 | simp only [forwardInitializedProfiles,sourceProfiles,profiles_one] |
| 39 | rfl |
| 40 | |
| 41 | def forwardInitializedPrimaryRemainder (N : ℕ) (κ : ℝ) : VectorField := |
| 42 | forwardInitializedVelocity M D δ hδ ξ hs α N κ - |
| 43 | κ • vector D (initialData D δ hδ (α • ξ) hs) |
| 44 | |
| 45 | def forwardInitializedPrimaryRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : |
| 46 | Field period D.T (forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N κ) := |
| 47 | ((ProfileRegularity.primaryRemainderField M.T_pos |
| 48 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) |
| 49 | hN (forwardInitializedProfiles_zero M D δ hδ ξ hs α) |
| 50 | (forwardInitializedProfiles_one_mean M D δ hδ ξ hs α) κ).changeTime hTime).congr |
| 51 | (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]; rfl) |
| 52 | |
| 53 | variable |
| 54 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 55 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 56 | (W : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB 1) |
| 57 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 58 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 59 | (BC : CoefficientBudget (sourceCoefficientData period M D (InitialData.zero period D) hTime)) |
| 60 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 61 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 62 | (WP : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 63 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 64 | (hgrowth : timeProfileChange S.growth hTime=α • L.g) |
| 65 | |
| 66 | include NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 67 | |
| 68 | theorem forwardInitializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 69 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 70 | (forwardInitializedPrimaryRemainderField M D hTime δ hδ ξ hs α N hN k⁻¹).WordBound |
| 71 | 6 (4*L.R) ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) 0 := by |
| 72 | let G := fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i |
| 73 | have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := |
| 74 | fun i _ hi => forwardInitialized_profile_budgets M D hTime δ hδ ξ hs α |
| 75 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i hi |
| 76 | have h := ProfileRegularity.primaryRemainder_bound M.T_pos G hG L.radius_one |
| 77 | (forwardInitializedProfiles_zero M D δ hδ ξ hs α) |
| 78 | (forwardInitializedProfiles_one_mean M D δ hδ ξ hs α) hN BC k hk hbase |
| 79 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]; rfl) |
| 80 | |
| 81 | theorem forwardInitializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 82 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 83 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : |
| 84 | ‖forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 85 | (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ |
| 86 | sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := |
| 87 | (forwardInitializedPrimaryRemainder_bound M D hTime δ hδ ξ hs α |
| 88 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le |
| 89 | (by norm_num) t k D.m₀ (Y x) |
| 90 | |
| 91 | theorem forwardInitializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 92 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 93 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 94 | (hY : DifferentiableAt ℝ Y x) : |
| 95 | ‖fderiv ℝ (fun y => forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 96 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x‖ ≤ |
| 97 | (frequencyFactor k D.m₀*(sobolevEmbeddingConstant period 3* |
| 98 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := |
| 99 | (forwardInitializedPrimaryRemainder_bound M D hTime δ hδ ξ hs α |
| 100 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_physical_fderiv_le |
| 101 | (by norm_num) t k D.m₀ Y x hY |
| 102 | |
| 103 | omit NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth in |
| 104 | /-- The constant contains no packet frequency or derivative of the inverse flow. -/ |
| 105 | def forwardInitializedRemainderDerivativeCost (R H0 : ℝ) : ℝ := |
| 106 | 8*‖coordinateEquiv.symm.toContinuousLinearMap‖*sobolevEmbeddingConstant period 3* |
| 107 | R*(fixedVelocityGradeCost R H0 2+2) |
| 108 | |
| 109 | theorem forwardInitializedPrimaryRemainder_physical_fderiv_inv (N : ℕ) (hN : 1 ≤ N) |
| 110 | (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 111 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 112 | (hY : DifferentiableAt ℝ Y x) : |
| 113 | ‖fderiv ℝ (fun y => forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 114 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x‖ ≤ |
| 115 | (forwardInitializedRemainderDerivativeCost L.R S.H0/k)*‖fderiv ℝ Y x‖ := by |
| 116 | have hk0 : k ≠ 0 := by linarith |
| 117 | have hc := fixedVelocityGradeCost_nonneg L.R S.H0 (zero_le_one.trans L.radius_one) 2 |
| 118 | have he := sobolevEmbeddingConstant_nonneg period 3 |
| 119 | have hr : 0 ≤ L.R := zero_le_one.trans L.radius_one |
| 120 | have hb : 0 ≤ sobolevEmbeddingConstant period 3* |
| 121 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R) := by positivity |
| 122 | have hf := frequencyFactor_le_linear k (by linarith) D.m₀ |
| 123 | rw [D.m₀_unit] at hf |
| 124 | norm_num only at hf |
| 125 | have h := forwardInitializedPrimaryRemainder_physical_fderiv M D hTime δ hδ ξ hs α |
| 126 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y x hY |
| 127 | calc |
| 128 | _ ≤ (frequencyFactor k D.m₀*(sobolevEmbeddingConstant period 3* |
| 129 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := h |
| 130 | _ ≤ ((‖coordinateEquiv.symm.toContinuousLinearMap‖*2*k)*(sobolevEmbeddingConstant period 3* |
| 131 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := |
| 132 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hf hb) (norm_nonneg _) |
| 133 | _ = _ := by unfold forwardInitializedRemainderDerivativeCost; field_simp; ring |
| 134 | |
| 135 | end EulerPacketTerminalDatum |