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 NavierStokes.BasePhaseGeometry |
| 2 | import NavierStokes.LinearWaveBounds |
| 3 | |
| 4 | /-! |
| 5 | # The actual primary material-phase defect |
| 6 | |
| 7 | The large axial term in the phase is cancelled by its actual material |
| 8 | derivative before estimating any jets. Only the slow coordinate map and |
| 9 | slot coordinate require polynomial bounds; the angular coordinate and |
| 10 | the unstripped phase itself need no such bound. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.PrimaryMaterialDefect |
| 16 | |
| 17 | open Set WeightedClasses LinearWaveBounds |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | abbrev Slow := PhaseCalculus.Slow |
| 21 | abbrev Slot := PhaseCalculus.Slot |
| 22 | |
| 23 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | |
| 25 | /-- First-order chart identities, including the direction annihilated by |
| 26 | the physical radial graph derivative. No phase derivative is an input. -/ |
| 27 | structure NativeCoordinates (s : StripData E) (d : GraphDirections E) |
| 28 | (χ : ℕ → E → Slot) : Prop where |
| 29 | differentiable : ∀ n x, x ∈ s.domain → DifferentiableAt ℝ (χ n) x |
| 30 | radial : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x d.radial = PhaseCalculus.eR |
| 31 | auxiliary : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x d.auxiliary = 0 |
| 32 | angular : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x d.angular = PhaseCalculus.eTheta |
| 33 | axial : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x d.axial = PhaseCalculus.eZ |
| 34 | fast : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x (d.fastField n x) = PhaseCalculus.eV |
| 35 | slow : ∀ n x, x ∈ s.domain → fderiv ℝ (χ n) x d.slow = PhaseCalculus.eT |
| 36 | |
| 37 | namespace NativeCoordinates |
| 38 | |
| 39 | variable {s : StripData E} {d : GraphDirections E} {χ : ℕ → E → Slot} |
| 40 | variable (hχ : NativeCoordinates s d χ) |
| 41 | |
| 42 | include hχ |
| 43 | |
| 44 | end NativeCoordinates |
| 45 | |
| 46 | section CommonPullback |
| 47 | |
| 48 | variable {E' : Type*} [NormedAddCommGroup E'] [NormedSpace ℝ E'] |
| 49 | |
| 50 | /-- Differential matching for a change from a common chart to a native |
| 51 | chart. It concerns the coordinate map, not the phase or its defect. -/ |
| 52 | structure DirectionMatch (s : StripData E) (d : GraphDirections E) |
| 53 | (s' : StripData E') (d' : GraphDirections E') (ψ : ℕ → E' → E) : Prop where |
| 54 | maps : ∀ n, MapsTo (ψ n) s'.domain s.domain |
| 55 | differentiable : ∀ n x, x ∈ s'.domain → DifferentiableAt ℝ (ψ n) x |
| 56 | radial : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x d'.radial = d.radial |
| 57 | auxiliary : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x d'.auxiliary = d.auxiliary |
| 58 | angular : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x d'.angular = d.angular |
| 59 | axial : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x d'.axial = d.axial |
| 60 | fast : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x (d'.fastField n x) = d.fastField n (ψ n x) |
| 61 | slow : ∀ n x, x ∈ s'.domain → fderiv ℝ (ψ n) x d'.slow = d.slow |
| 62 | |
| 63 | theorem NativeCoordinates.comp |
| 64 | {s : StripData E} {d : GraphDirections E} {χ : ℕ → E → Slot} |
| 65 | (hχ : NativeCoordinates s d χ) |
| 66 | {s' : StripData E'} {d' : GraphDirections E'} {ψ : ℕ → E' → E} |
| 67 | (hψ : DirectionMatch s d s' d' ψ) : |
| 68 | NativeCoordinates s' d' (fun n => χ n ∘ ψ n) := by |
| 69 | have hd n x hx := fderiv_comp x (hχ.differentiable n (ψ n x) (hψ.maps n hx)) |
| 70 | (hψ.differentiable n x hx) |
| 71 | refine ⟨fun n x hx => (hχ.differentiable n (ψ n x) (hψ.maps n hx)).comp x |
| 72 | (hψ.differentiable n x hx), ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 73 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.radial n x hx] |
| 74 | exact hχ.radial n _ (hψ.maps n hx) |
| 75 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.auxiliary n x hx] |
| 76 | exact hχ.auxiliary n _ (hψ.maps n hx) |
| 77 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.angular n x hx] |
| 78 | exact hχ.angular n _ (hψ.maps n hx) |
| 79 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.axial n x hx] |
| 80 | exact hχ.axial n _ (hψ.maps n hx) |
| 81 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.fast n x hx] |
| 82 | exact hχ.fast n _ (hψ.maps n hx) |
| 83 | · intro n x hx; rw [hd n x hx, ContinuousLinearMap.comp_apply, hψ.slow n x hx] |
| 84 | exact hχ.slow n _ (hψ.maps n hx) |
| 85 | |
| 86 | end CommonPullback |
| 87 | |
| 88 | theorem differentiableAt_phase (ε p pz x0 : ℝ) (F G : Slow → ℝ) (q : Slot) |
| 89 | (hF : DifferentiableAt ℝ F q.1) (hG : DifferentiableAt ℝ G q.1) : |
| 90 | DifferentiableAt ℝ (PhaseCalculus.phase ε p pz x0 F G) q := by |
| 91 | have hi : DifferentiableAt ℝ (fun z : Slot => z) q := differentiableAt_id |
| 92 | have hFl := hF.comp q hi.fst |
| 93 | have hGl := hG.comp q hi.fst |
| 94 | exact (((hi.snd.fst.const_mul p).add (hi.fst.snd.fst.const_mul (pz / ε))).add |
| 95 | (hi.fst.fst.const_mul x0)).sub |
| 96 | (hi.snd.snd.mul ((hFl.const_mul p).add (hGl.const_mul pz))) |
| 97 | |
| 98 | /-- The algebraic expression after exact material cancellation. -/ |
| 99 | noncomputable def expression (ε p pz x0 v b G FR GR FT GT FZ GZ : ℝ) : ℝ := |
| 100 | b * x0 - v * (b * (p * FR + pz * GR) - ε * (p * FT + pz * GT) + |
| 101 | ε * G * (p * FZ + pz * GZ)) |
| 102 | |
| 103 | section Primary |
| 104 | |
| 105 | variable {U : PhaseJetBounds.Domain ℕ Slow} |
| 106 | |
| 107 | noncomputable def pulledPhase (P : PrimaryPulseBounds.PhaseConstruction U) |
| 108 | (χ : ℕ → E → Slot) (n : ℕ) (x : E) : ℝ := |
| 109 | PhaseCalculus.phase (P.phase.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) |
| 110 | (P.phase.F n) (P.phase.G n) (χ n x) |
| 111 | |
| 112 | /-- Canonical raw geometry with arbitrary amplitude/pressure. Those two |
| 113 | fields do not enter the material defect. The angular base field here is |
| 114 | the frequency `F`, as required by `LinearWaveResidual`, not `R*F`. -/ |
| 115 | noncomputable def coefficients (P : PrimaryPulseBounds.PhaseConstruction U) |
| 116 | (b : ℕ → Slow → ℝ) (χ : ℕ → E → Slot) |
| 117 | (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) |
| 118 | (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) : WaveCoefficients E where |
| 119 | radius n x := (χ n x).1.1 |
| 120 | radialBase n x := b n (χ n x).1 |
| 121 | frequencyBase n x := P.phase.F n (χ n x).1 |
| 122 | axialBase n x := P.phase.G n (χ n x).1 |
| 123 | phase := pulledPhase P χ |
| 124 | amplitude := amplitude |
| 125 | pressure := pressure |
| 126 | frequency := frequency |
| 127 | |
| 128 | end Primary |
| 129 | |
| 130 | end NavierStokes.PrimaryMaterialDefect |