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.TransverseVariationalOperator |
| 2 | |
| 3 | /-! |
| 4 | # Recovering the source's transverse coordinates |
| 5 | |
| 6 | The moving plane with normal `(F⁻¹)* m₀` is exactly the image under `F` of |
| 7 | the fixed plane `m₀⊥`. Orthogonal projection gives a bounded coordinate map, |
| 8 | and on the moving plane its reconstruction is the identity. These are |
| 9 | coefficient identities, not assumptions about a differential inverse. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransverseFrameCoordinates |
| 15 | |
| 16 | open InnerProductSpace ContinuousLinearMap |
| 17 | |
| 18 | variable {E U : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 19 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 20 | |
| 21 | /-- The fixed reference transverse plane. -/ |
| 22 | abbrev referencePlane (m₀ : E) : Submodule ℝ E := (ℝ ∙ m₀)ᗮ |
| 23 | |
| 24 | /-- The actual pulled-back normal used by the packet construction. -/ |
| 25 | def movingNormal (F : E ≃L[ℝ] E) (m₀ : E) : E := F.symm.toContinuousLinearMap.adjoint m₀ |
| 26 | |
| 27 | /-- Bounded recovery of fixed-plane coordinates from a physical displacement. -/ |
| 28 | def coordinates (F : E ≃L[ℝ] E) (m₀ : E) : E →L[ℝ] referencePlane m₀ := |
| 29 | (referencePlane m₀).orthogonalProjectionOnto.comp F.symm.toContinuousLinearMap |
| 30 | |
| 31 | /-- Moving tangency is exactly fixed-plane membership after applying `F⁻¹`. -/ |
| 32 | theorem tangent_iff (F : E ≃L[ℝ] E) (m₀ η : E) : |
| 33 | ⟪movingNormal F m₀, η⟫_ℝ = 0 ↔ F.symm η ∈ referencePlane m₀ := by |
| 34 | rw [Submodule.mem_orthogonal_singleton_iff_inner_right] |
| 35 | unfold movingNormal |
| 36 | rw [adjoint_inner_left] |
| 37 | rfl |
| 38 | |
| 39 | /-- Reconstructing a tangent displacement from its recovered coordinates is exact. -/ |
| 40 | theorem reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) |
| 41 | (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : |
| 42 | F (coordinates F m₀ η : E) = η := by |
| 43 | have hm : F.symm η ∈ referencePlane m₀ := (tangent_iff F m₀ η).1 hη |
| 44 | have hp := (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self |
| 45 | (⟨F.symm η, hm⟩ : referencePlane m₀) |
| 46 | change F ((referencePlane m₀).orthogonalProjectionOnto (F.symm η) : E) = η |
| 47 | rw [hp] |
| 48 | exact F.apply_symm_apply η |
| 49 | |
| 50 | omit [CompleteSpace E] in |
| 51 | /-- The coordinate map is a left inverse to `F` restricted to the reference plane. -/ |
| 52 | theorem coordinates_leftInverse (F : E ≃L[ℝ] E) (m₀ : E) (ξ : referencePlane m₀) : |
| 53 | coordinates F m₀ (F (ξ : E)) = ξ := by |
| 54 | change (referencePlane m₀).orthogonalProjectionOnto (F.symm (F (ξ : E))) = ξ |
| 55 | rw [F.symm_apply_apply] |
| 56 | exact (referencePlane m₀).orthogonalProjectionOnto_mem_subspace_eq_self ξ |
| 57 | |
| 58 | omit [CompleteSpace E] in |
| 59 | /-- The coordinate map has the expected polynomial bound from the inverse frame. -/ |
| 60 | theorem coordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) : |
| 61 | ‖coordinates F m₀ η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by |
| 62 | exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (F.symm η)).trans |
| 63 | (F.symm.toContinuousLinearMap.le_opNorm η) |
| 64 | |
| 65 | /-- Any orthonormal identification with the fixed plane gives the source's `R⊥` coordinates. -/ |
| 66 | def frameCoordinates (F : E ≃L[ℝ] E) (m₀ : E) |
| 67 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : E →L[ℝ] U := |
| 68 | R.symm.toContinuousLinearEquiv.toContinuousLinearMap.comp (coordinates F m₀) |
| 69 | |
| 70 | /-- The full source reconstruction `η = F R⊥ ξ` follows from moving tangency. -/ |
| 71 | theorem frame_reconstruct (F : E ≃L[ℝ] E) (m₀ η : E) |
| 72 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) (hη : ⟪movingNormal F m₀, η⟫_ℝ = 0) : |
| 73 | F (R (frameCoordinates F m₀ R η) : E) = η := by |
| 74 | change F (R (R.symm (coordinates F m₀ η)) : E) = η |
| 75 | rw [R.apply_symm_apply] |
| 76 | exact reconstruct F m₀ η hη |
| 77 | |
| 78 | omit [CompleteSpace E] in |
| 79 | /-- Passing to an orthonormal coordinate basis has no extra norm cost. -/ |
| 80 | theorem frameCoordinates_norm (F : E ≃L[ℝ] E) (m₀ η : E) |
| 81 | (R : U ≃ₗᵢ[ℝ] referencePlane m₀) : |
| 82 | ‖frameCoordinates F m₀ R η‖ ≤ ‖F.symm.toContinuousLinearMap‖ * ‖η‖ := by |
| 83 | change ‖R.symm (coordinates F m₀ η)‖ ≤ _ |
| 84 | rw [R.symm.norm_map] |
| 85 | exact coordinates_norm F m₀ η |
| 86 | |
| 87 | section Paths |
| 88 | |
| 89 | variable {X : Type*} [TopologicalSpace X] |
| 90 | |
| 91 | /-- Applying a continuous inverse-frame path produces actual continuous |
| 92 | transverse coordinates, not separate incompatible pointwise choices. -/ |
| 93 | def coordinatePath (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 94 | (A : C(X, E →L[ℝ] E)) (η : C(X, E)) : C(X, U) := |
| 95 | ⟨fun t => R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))), |
| 96 | R.symm.continuous.comp ((referencePlane m₀).orthogonalProjectionOnto.continuous.comp |
| 97 | (A.continuous.clm_apply η.continuous))⟩ |
| 98 | |
| 99 | /-- The recovered continuous coordinates reconstruct every tangent displacement. -/ |
| 100 | theorem coordinatePath_reconstruct (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 101 | (F : X → E ≃L[ℝ] E) (A : C(X, E →L[ℝ] E)) |
| 102 | (hA : ∀ t, A t = (F t).symm.toContinuousLinearMap) (η : C(X, E)) |
| 103 | (hη : ∀ t, ⟪movingNormal (F t) m₀, η t⟫_ℝ = 0) (t : X) : |
| 104 | F t (R (coordinatePath m₀ R A η t) : E) = η t := by |
| 105 | change F t (R (R.symm ((referencePlane m₀).orthogonalProjectionOnto |
| 106 | (A t (η t)))) : E) = η t |
| 107 | rw [hA t] |
| 108 | exact frame_reconstruct (F t) m₀ (η t) R (hη t) |
| 109 | |
| 110 | omit [CompleteSpace E] in |
| 111 | /-- Zero endpoint displacements give zero endpoint coordinates. -/ |
| 112 | theorem coordinatePath_zero_at (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 113 | (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) (hη : η t = 0) : |
| 114 | coordinatePath m₀ R A η t = 0 := by |
| 115 | change R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t))) = 0 |
| 116 | simp only [hη, map_zero] |
| 117 | |
| 118 | omit [CompleteSpace E] in |
| 119 | /-- Pointwise coordinate control only pays the actual inverse-frame norm. -/ |
| 120 | theorem coordinatePath_norm (m₀ : E) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 121 | (A : C(X, E →L[ℝ] E)) (η : C(X, E)) (t : X) : |
| 122 | ‖coordinatePath m₀ R A η t‖ ≤ ‖A t‖ * ‖η t‖ := by |
| 123 | change ‖R.symm ((referencePlane m₀).orthogonalProjectionOnto (A t (η t)))‖ ≤ _ |
| 124 | rw [R.symm.norm_map] |
| 125 | exact ((referencePlane m₀).norm_orthogonalProjectionOnto_apply_le (A t (η t))).trans |
| 126 | ((A t).le_opNorm (η t)) |
| 127 | |
| 128 | end Paths |
| 129 | |
| 130 | end EulerTransverseFrameCoordinates |