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.TransversePacketJoinedField |
| 2 | import Euler.TransversePacketRegularity |
| 3 | |
| 4 | /-! Actual support and angular normalization of the joined transverse provider. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerElapsedTimePathGluing |
| 9 | |
| 10 | open Set |
| 11 | |
| 12 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | |
| 14 | theorem join_mem (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 15 | (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) |
| 16 | (hm : u ⟨τ,hτ0,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) |
| 17 | (J : Set E) (hu : ∀ t, u t ∈ J) (hv : ∀ t, v t ∈ J) (t : Icc (0 : ℝ) S) : |
| 18 | join S τ hτ0 hτS u v hm t ∈ J := by |
| 19 | by_cases ht : (t : ℝ) ≤ τ |
| 20 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 21 | have he : join S τ hτ0 hτS u v hm t = u th := join_left S τ hτ0 hτS u v hm th |
| 22 | rw [he] |
| 23 | exact hu th |
| 24 | · let tr : Icc τ S := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 25 | have he := join_right S τ hτ0 hτS u v hm tr |
| 26 | change join S τ hτ0 hτS u v hm t = _ at he |
| 27 | rw [he] |
| 28 | exact hv _ |
| 29 | |
| 30 | end EulerElapsedTimePathGluing |
| 31 | |
| 32 | namespace EulerTransversePacketJoin |
| 33 | |
| 34 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 35 | EulerCylinderSmoothOrbit EulerCylinderScalarPrimitive EulerPacketProfileRecursion |
| 36 | EulerTransversePacketProvider EulerPacketCylinderField EulerLpCylinderPaths |
| 37 | EulerElapsedTimePathGluing EulerCylinderAngleAverage |
| 38 | open scoped ContDiff |
| 39 | |
| 40 | variable {P : ℝ} [Fact (0 < P)] |
| 41 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 42 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 43 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 44 | |
| 45 | theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : |
| 46 | velocityPath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 47 | join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) _ |
| 48 | (B.velocityPath_supported (G.initial τ hτ hτT.le)) |
| 49 | (fun s => ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G) s).property) t |
| 50 | |
| 51 | theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : |
| 52 | derivativePath τ hτ hτT B G t ∈ Supported P Space D.support D.support_measurable := |
| 53 | join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) _ |
| 54 | (B.derivativePath_supported (G.initial τ hτ hτT.le)) |
| 55 | (fun s => ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G) s).property) t |
| 56 | |
| 57 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (velocityPath τ hτ hτT B G t) = 0 := by |
| 58 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) |
| 59 | {u | average P u = 0} _ _ t |
| 60 | · exact B.velocityPath_mean_zero (G.initial τ hτ hτT.le) |
| 61 | · intro s |
| 62 | exact EulerSourceCylinderEquation.velocity_average_zero P D.support D.support_measurable |
| 63 | (D.T-τ) (sub_pos.mpr hτT).le (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative |
| 64 | (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower |
| 65 | (G.tail τ hτ.le hτT).path (forwardInitial τ hτ hτT B G).value |
| 66 | (G.tail τ hτ.le hτT).mean_zero (forwardInitial τ hτ hτT B G).mean_zero s |
| 67 | |
| 68 | theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 69 | vector τ hτ hτT B G (t,(x,θ)) = 0 := by |
| 70 | change pointField P (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 71 | (D.clamp t) (x,(θ : AddCircle P)) = 0 |
| 72 | rw [pointField_eq_representative] |
| 73 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 74 | _ _ (velocityPath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 75 | |
| 76 | theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 77 | vectorDerivative τ hτ hτT B G (t,(x,θ)) = 0 := by |
| 78 | change pointField P (derivativePath τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) |
| 79 | (D.clamp t) (x,(θ : AddCircle P)) = 0 |
| 80 | rw [pointField_eq_representative] |
| 81 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 82 | _ _ (derivativePath_supported τ hτ hτT B G (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 83 | |
| 84 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 85 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B G (t,(x,θ))) = 0 := |
| 86 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B G) |
| 87 | (velocityPath_orbit τ hτ hτT B G) (D.clamp t)).mp |
| 88 | (velocityPath_mean_zero τ hτ hτT B G (D.clamp t)) x |
| 89 | |
| 90 | theorem scalar_zero_outside (t : Icc (0 : ℝ) D.T) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 91 | scalar τ hτ hτT B G (t,(x,θ)) = 0 := by |
| 92 | by_cases ht : (t : ℝ) ≤ τ |
| 93 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 94 | rw [scalar_left τ hτ hτT B G th x θ] |
| 95 | exact B.pressureField_zero_outside (G.initial τ hτ hτT.le) th x hx _ |
| 96 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 97 | rw [scalar_right τ hτ hτT B G tr x θ] |
| 98 | exact (G.tail τ hτ.le hτT).scalar_zero_outside (forwardInitial τ hτ hτT B G) _ x hx θ |
| 99 | |
| 100 | theorem scalar_normalized (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 101 | (∫ θ in (0 : ℝ)..P, scalar τ hτ hτT B G (t,(x,θ))) = 0 := by |
| 102 | by_cases ht : (t : ℝ) ≤ τ |
| 103 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 104 | have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = |
| 105 | fun θ : ℝ => B.pressureField (G.initial τ hτ hτT.le) th (x,(θ : AddCircle P)) := |
| 106 | funext (fun θ => scalar_left τ hτ hτT B G th x θ) |
| 107 | rw [he] |
| 108 | exact B.pressureField_mean_zero (G.initial τ hτ hτT.le) th x |
| 109 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 110 | have he : (fun θ => scalar τ hτ hτT B G (t,(x,θ))) = |
| 111 | fun θ => (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := |
| 112 | funext (fun θ => scalar_right τ hτ hτT B G tr x θ) |
| 113 | rw [he] |
| 114 | exact (G.tail τ hτ.le hτT).scalar_normalized (forwardInitial τ hτ hτT B G) _ x |
| 115 | |
| 116 | theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => vector τ hτ hτT B G (t,(x,θ))) P := by |
| 117 | intro θ |
| 118 | simp only [vector,AddCircle.coe_add_period] |
| 119 | |
| 120 | theorem scalar_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => scalar τ hτ hτT B G (t,(x,θ))) P := by |
| 121 | intro θ |
| 122 | simp only [scalar,AddCircle.coe_add_period] |
| 123 | |
| 124 | end EulerTransversePacketJoin |