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.TransverseStrongEquation |
| 2 | |
| 3 | /-! |
| 4 | # The source frame `Q = F R⊥` |
| 5 | |
| 6 | These coefficient lemmas discharge the moving-plane range and lower-frame |
| 7 | hypotheses using the prescribed invertible deformation and orthonormal reference |
| 8 | plane. No inverse solution or acceleration is supplied as input. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerTransverseSourceFrame |
| 14 | |
| 15 | open Set InnerProductSpace ContinuousLinearMap MeasureTheory |
| 16 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 17 | EulerTransverseFrameCoordinates EulerTransverseVariationalInverse |
| 18 | EulerTransverseCoordinateRegularity EulerTransverseStrongEquation |
| 19 | EulerTransverseGramInverse |
| 20 | |
| 21 | variable {U E : Type*} |
| 22 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 24 | |
| 25 | variable (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 26 | |
| 27 | /-- The fixed orthonormal reference-plane embedding. -/ |
| 28 | def referenceEmbedding : U →L[ℝ] E := |
| 29 | (referencePlane m₀).subtypeL.comp R.toContinuousLinearEquiv.toContinuousLinearMap |
| 30 | |
| 31 | /-- Applying the source deformation to the fixed orthonormal reference plane. -/ |
| 32 | def framePath (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 33 | C(Icc (0 : ℝ) T, U →L[ℝ] E) := |
| 34 | ⟨fun t => (F t).comp (referenceEmbedding m₀ R), F.continuous.clm_comp continuous_const⟩ |
| 35 | |
| 36 | omit [CompleteSpace U] [CompleteSpace E] in |
| 37 | /-- The frame is literally the source expression `F R⊥`. -/ |
| 38 | theorem framePath_apply (T : ℝ) (F : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 39 | (t : Icc (0 : ℝ) T) (x : U) : |
| 40 | framePath m₀ R T F t x = F t (R x : E) := rfl |
| 41 | |
| 42 | omit [CompleteSpace U] in |
| 43 | /-- The source frame maps into the moving tangent plane. -/ |
| 44 | theorem framePath_tangent (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) |
| 45 | (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 46 | (hA : ∀ t, A t = (F t).toContinuousLinearMap) |
| 47 | (t : Icc (0 : ℝ) T) (x : U) : |
| 48 | ⟪movingNormal (F t) m₀, framePath m₀ R T A t x⟫_ℝ = 0 := by |
| 49 | apply (tangent_iff (F t) m₀ _).2 |
| 50 | rw [framePath_apply, hA] |
| 51 | change (F t).symm (F t (R x : E)) ∈ referencePlane m₀ |
| 52 | rw [ContinuousLinearEquiv.symm_apply_apply] |
| 53 | exact (R x).property |
| 54 | |
| 55 | omit [CompleteSpace U] in |
| 56 | /-- Every moving tangent vector is in the range of the actual source frame. -/ |
| 57 | theorem framePath_range (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) |
| 58 | (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 59 | (hA : ∀ t, A t = (F t).toContinuousLinearMap) |
| 60 | (t : Icc (0 : ℝ) T) (η : E) (hη : ⟪movingNormal (F t) m₀, η⟫_ℝ = 0) : |
| 61 | ∃ x : U, framePath m₀ R T A t x = η := by |
| 62 | refine ⟨frameCoordinates (F t) m₀ R η, ?_⟩ |
| 63 | rw [framePath_apply, hA] |
| 64 | exact frame_reconstruct (F t) m₀ η R hη |
| 65 | |
| 66 | omit [CompleteSpace U] [CompleteSpace E] in |
| 67 | /-- A bound on `F⁻¹` gives a quantitative lower frame bound, because `R⊥` is isometric. -/ |
| 68 | theorem framePath_lower_bound (T : ℝ) (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) |
| 69 | (A : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 70 | (hA : ∀ t, A t = (F t).toContinuousLinearMap) |
| 71 | (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) |
| 72 | (t : Icc (0 : ℝ) T) (x : U) : |
| 73 | (B⁻¹)^2 * ‖x‖^2 ≤ ‖framePath m₀ R T A t x‖^2 := by |
| 74 | have hn : ‖x‖ ≤ B * ‖framePath m₀ R T A t x‖ := by |
| 75 | calc |
| 76 | ‖x‖ = ‖(F t).symm (framePath m₀ R T A t x)‖ := by |
| 77 | rw [framePath_apply, hA] |
| 78 | change ‖x‖ = ‖(F t).symm (F t (R x : E))‖ |
| 79 | rw [ContinuousLinearEquiv.symm_apply_apply] |
| 80 | exact (R.norm_map x).symm |
| 81 | _ ≤ ‖(F t).symm.toContinuousLinearMap‖ * ‖framePath m₀ R T A t x‖ := |
| 82 | (F t).symm.toContinuousLinearMap.le_opNorm _ |
| 83 | _ ≤ B * ‖framePath m₀ R T A t x‖ := |
| 84 | mul_le_mul_of_nonneg_right (hinv t) (norm_nonneg _) |
| 85 | have hdiv : ‖x‖ / B ≤ ‖framePath m₀ R T A t x‖ := |
| 86 | (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) |
| 87 | have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg x) hB.le) (norm_nonneg _)).2 hdiv |
| 88 | simpa only [div_eq_mul_inv, mul_pow, mul_comm] using hs |
| 89 | |
| 90 | omit [CompleteSpace U] [CompleteSpace E] in |
| 91 | /-- The actual within-interval derivative commutes with a fixed reference frame. -/ |
| 92 | theorem framePath_hasDerivWithinAt (T : ℝ) (hT : 0 ≤ T) |
| 93 | (A A₁ : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 94 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 95 | HasDerivWithinAt (extendPath T hT A) (A₁ t) (Icc (0 : ℝ) T) t) |
| 96 | (t : Icc (0 : ℝ) T) : |
| 97 | HasDerivWithinAt (extendPath T hT (framePath m₀ R T A)) |
| 98 | (framePath m₀ R T A₁ t) (Icc (0 : ℝ) T) t := by |
| 99 | have h := (hd t).clm_comp (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) (referenceEmbedding m₀ R)) |
| 100 | convert h using 1 |
| 101 | · rfl |
| 102 | · simp only [comp_zero, add_zero] |
| 103 | rfl |
| 104 | |
| 105 | omit [CompleteSpace U] [CompleteSpace E] in |
| 106 | /-- The source equation `F_tt = -H F` gives the precise frame equation used in (10). -/ |
| 107 | theorem framePath_second_equation (T : ℝ) |
| 108 | (A A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 109 | (hframe : ∀ t, A₂ t = -((H t).comp (A t))) (t : Icc (0 : ℝ) T) : |
| 110 | framePath m₀ R T A₂ t = -((H t).comp (framePath m₀ R T A t)) := by |
| 111 | apply ContinuousLinearMap.ext |
| 112 | intro x |
| 113 | simp only [framePath_apply, hframe, neg_apply, comp_apply] |
| 114 | |
| 115 | /-- For the literal source frame `F R⊥`, the actual transverse inverse has |
| 116 | zero-endpoint H² coordinates satisfying equation (10). All range and inverse |
| 117 | bounds used by the strong theorem are discharged from `F` and `R⊥` here. -/ |
| 118 | theorem sourceFrame_strong (T : ℝ) (hT : 0 < T) |
| 119 | (F : Icc (0 : ℝ) T → E ≃L[ℝ] E) |
| 120 | (A A₁ A₂ H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 121 | (hA : ∀ t, A t = (F t).toContinuousLinearMap) |
| 122 | (B : ℝ) (hB : 0 < B) (hinv : ∀ t, ‖(F t).symm.toContinuousLinearMap‖ ≤ B) |
| 123 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 124 | HasDerivWithinAt (extendPath T hT.le A) (A₁ t) (Icc (0 : ℝ) T) t) |
| 125 | (hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 126 | HasDerivWithinAt (extendPath T hT.le A₁) (A₂ t) (Icc (0 : ℝ) T) t) |
| 127 | (hframe : ∀ t, A₂ t = -((H t).comp (A t))) |
| 128 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) |
| 129 | (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : |
| 130 | let m := fun t => movingNormal (F t) m₀ |
| 131 | let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f |
| 132 | ∃ (ξ v : ℝ → U) (a : TimeLp T U), |
| 133 | AbsolutelyContinuousOnInterval ξ 0 T ∧ AbsolutelyContinuousOnInterval v 0 T ∧ |
| 134 | ξ 0 = 0 ∧ ξ T = 0 ∧ |
| 135 | (∀ t : Icc (0 : ℝ) T, F t (R (ξ t) : E) = realPrimitive T u t) ∧ |
| 136 | (∀ᵐ t ∂timeMeasure T, HasDerivAt ξ (v t) t) ∧ |
| 137 | (∀ᵐ t ∂timeMeasure T, HasDerivAt v (a t) t) ∧ |
| 138 | ∀ᵐ t ∂timeMeasure T, |
| 139 | gram (extendPath T hT.le (framePath m₀ R T A) t) (a t) = |
| 140 | (extendPath T hT.le (framePath m₀ R T A) t).adjoint |
| 141 | (f t - (2 : ℝ) • extendPath T hT.le (framePath m₀ R T A₁) t (v t)) := by |
| 142 | let Q := framePath m₀ R T A |
| 143 | let Q₁ := framePath m₀ R T A₁ |
| 144 | let Q₂ := framePath m₀ R T A₂ |
| 145 | let m := fun t => movingNormal (F t) m₀ |
| 146 | let c := (B⁻¹)^2 |
| 147 | have hc : 0 < c := pow_pos (inv_pos.mpr hB) 2 |
| 148 | have hQ : ∀ t x, c * ‖x‖^2 ≤ ‖Q t x‖^2 := framePath_lower_bound m₀ R T F A hA B hB hinv |
| 149 | have hQd := framePath_hasDerivWithinAt m₀ R T hT.le A A₁ hd |
| 150 | have hQ₁d := framePath_hasDerivWithinAt m₀ R T hT.le A₁ A₂ hd₁ |
| 151 | let u := transverseSolver T hT.le m H K hK hH hsmall f |
| 152 | obtain ⟨v, hξAC, hvAC, _, hξder, hvder, heq⟩ := |
| 153 | transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hQd hQ₁d hT m |
| 154 | (framePath_tangent m₀ R T F A hA) (framePath_range m₀ R T F A hA) |
| 155 | H K hK hH hsmall (framePath_second_equation m₀ R T A A₂ H hframe) f |
| 156 | refine ⟨coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E), v, |
| 157 | coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H (u : TimeLp T E) f, |
| 158 | hξAC, hvAC, coordinatePrimitive_initial T hT.le Q c hc hQ m u, |
| 159 | coordinatePrimitive_terminal T hT.le Q c hc hQ (u : TimeLp T E), ?_, hξder, hvder, heq⟩ |
| 160 | intro t |
| 161 | have hrec := coordinatePrimitive_reconstruct T hT.le Q c hc hQ m |
| 162 | (framePath_range m₀ R T F A hA) u t |
| 163 | change A t (R (coordinatePrimitive T hT.le Q c hc hQ (u : TimeLp T E) t) : E) = _ at hrec |
| 164 | rw [hA t] at hrec |
| 165 | exact hrec |
| 166 | |
| 167 | end EulerTransverseSourceFrame |