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.ParticularCopyBounds |
| 2 | |
| 3 | /-! |
| 4 | # Principal equations on actual native cells |
| 5 | |
| 6 | The signed coefficient uses the literal covariance quotient, and the |
| 7 | particular coefficient uses the literal finite-path modal solve. All |
| 8 | regularity needed in these equations is obtained on the selected native |
| 9 | cell. No global covariance-control or solved-output class is required. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.NativePrincipalEquations |
| 15 | |
| 16 | open Set Function Filter WeightedClasses PeriodizedWaveBounds HarmonicCalculus |
| 17 | open scoped ContDiff Topology |
| 18 | |
| 19 | section Signed |
| 20 | |
| 21 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 22 | {s : StripData D} {K : ℕ → I → Set D} |
| 23 | {a : I → LinearWaveBounds.WaveCoefficients D} |
| 24 | {dirs : I → LinearWaveBounds.GraphDirections D} |
| 25 | {H : I → ℕ → D → SignedWaveUpdate.Mat2} |
| 26 | {T R : I → ℕ → D → SignedWaveUpdate.Vec2} |
| 27 | {mask : I → ℕ → D → ℝ} |
| 28 | {v Ndot : I → ℕ → D → ProblemStatement.Space} |
| 29 | {A : I → ℕ → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space} |
| 30 | {W : ℕ → D → ℝ} {β : ℝ} |
| 31 | |
| 32 | /-- The homogeneous principal equation for the actual signed quotient at |
| 33 | a native-cell point. The only equation supplied as input is the primitive |
| 34 | unit fundamental's projected equation; the signed equation is derived. -/ |
| 35 | theorem signed_coefficients_principal_at |
| 36 | (hcov : SignedCopyBounds.NativeCovariance s K H T) |
| 37 | (hR : ∀ q, LocalJets s (fun _ x => s.zeta x) β K (fun n i x => R i n x q)) |
| 38 | (hm : LocalJets s (fun _ _ => 1) 0 K (fun n i => mask i n)) |
| 39 | (hv : LocalJets s W 0 K (fun n i => v i n)) |
| 40 | (j : Fin 2) (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain) (hi : x ∈ K n i) |
| 41 | (hHf : SignedWaveUpdate.FrozenAlong (dirs i).fast (H i)) |
| 42 | (hTf : SignedWaveUpdate.FrozenAlong (dirs i).fast (T i)) |
| 43 | (hRf : SignedWaveUpdate.FrozenAlong (dirs i).fast (R i)) |
| 44 | (hmf : SignedWaveUpdate.FrozenAlong (dirs i).fast (mask i)) |
| 45 | (hfrequency : (a i).frequency n ≠ 0) |
| 46 | (hode : along ((dirs i).fastField n) (v i n) x = |
| 47 | TangentProjection.projectedRhs ((a i).normal s (dirs i) n x) (Ndot i n x) (v i n x) |
| 48 | (A i n x (v i n x)) 0 |
| 49 | (s.epsilon n * (a i).frequency n ^ 2 * ‖(a i).normal s (dirs i) n x‖ ^ 2)) |
| 50 | (haction : CurlClassBounds.complexify (A i n x (v i n x)) = |
| 51 | LinearWaveResidual.shear ((a i).radius n) ((a i).frequencyBase n) ((a i).axialBase n) |
| 52 | ((dirs i).radialField n) (fun y => CurlClassBounds.complexify (v i n y)) x) : |
| 53 | (SignedWaveUpdate.coefficients (a i) s (dirs i) (H i) (T i) (R i) (mask i) |
| 54 | (v i) (Ndot i) (A i) j).principal s (dirs i) n x = 0 := by |
| 55 | have hsD := ((SignedCopyBounds.signedScalar_jets hcov hR hm j).smooth n i x hx hi).differentiableAt (by simp) |
| 56 | have hvD := (hv.smooth n i x hx hi).differentiableAt (by simp) |
| 57 | have hfreeze := (SignedWaveUpdate.signedScalar_frozen hHf hTf hRf hmf j).derivative n hsD |
| 58 | have hfast : along ((dirs i).fastField n) |
| 59 | (SignedWaveUpdate.signedScalar s (H i) (T i) (R i) (mask i) j n) x = 0 := by |
| 60 | simp only [along, LinearWaveBounds.GraphDirections.fastField, map_smul, hfreeze, smul_zero] |
| 61 | have hd : along ((dirs i).fastField n) |
| 62 | (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n) x = |
| 63 | TangentProjection.projectedRhs ((a i).normal s (dirs i) n x) (Ndot i n x) |
| 64 | (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n x) |
| 65 | (A i n x (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n x)) |
| 66 | 0 (s.epsilon n * (a i).frequency n ^ 2 * ‖(a i).normal s (dirs i) n x‖ ^ 2) := by |
| 67 | change along ((dirs i).fastField n) |
| 68 | (fun y => SignedWaveUpdate.signedScalar s (H i) (T i) (R i) (mask i) j n y • v i n y) x = _ |
| 69 | rw [SignedWaveUpdate.along_smul _ hsD hvD, hfast, zero_smul, zero_add, hode] |
| 70 | simp only [SignedWaveUpdate.signedVector, map_smul, SignedWaveUpdate.projectedRhs_smul] |
| 71 | have hact : CurlClassBounds.complexify |
| 72 | (A i n x (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n x)) = |
| 73 | LinearWaveResidual.shear ((a i).radius n) ((a i).frequencyBase n) ((a i).axialBase n) |
| 74 | ((dirs i).radialField n) (fun y => CurlClassBounds.complexify |
| 75 | (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n y)) x := by |
| 76 | simp only [SignedWaveUpdate.signedVector, map_smul] |
| 77 | rw [SignedWaveUpdate.shear_smul, haction] |
| 78 | have hh := ParticularWaveBounds.principal_eq_neg_source_of_projected |
| 79 | (s.epsilon n) ((a i).frequency n) hfrequency ((a i).radius n) ((a i).frequencyBase n) |
| 80 | ((a i).axialBase n) ((a i).phase n) ((dirs i).radialField n) (fun _ => (dirs i).angular) |
| 81 | ((dirs i).axialField s n) ((dirs i).fastField n) |
| 82 | (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n) (Ndot i n) |
| 83 | (fun y => A i n y (SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n y)) |
| 84 | (fun _ => 0) (hsD.smul hvD) hd hact |
| 85 | simpa only [SignedWaveUpdate.coefficients, SignedWaveUpdate.homogeneousCoefficients, |
| 86 | LinearWaveBounds.WaveCoefficients.principal, LinearWaveBounds.WaveCoefficients.normal, |
| 87 | map_zero, neg_zero] using hh |
| 88 | |
| 89 | end Signed |
| 90 | |
| 91 | section Particular |
| 92 | |
| 93 | open CommonCoverSolve TorusInverse ParticularWaveBounds |
| 94 | |
| 95 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 96 | {s : StripData (P × Plane)} {α : ℝ} |
| 97 | {dirs : LinearWaveBounds.GraphDirections (P × Plane)} |
| 98 | {frame : ℕ → PrimaryODE.FrameData (P × ℝ)} |
| 99 | {t : ℕ → TangentData P ProblemStatement.Space} |
| 100 | {source : ℕ → P × Plane → CurlClassBounds.ComplexVector} |
| 101 | {harmonic : ℤ} {g : ℕ → Geometry} {L : ℕ → ℝ} {envelope : ℕ → ℝ → ℝ} |
| 102 | {K : ℕ → Frequency → Set (P × Plane)} |
| 103 | |
| 104 | /-- The complex finite-path solve satisfies its inhomogeneous principal |
| 105 | equation at each native-cell point. Real and imaginary modal neighborhoods |
| 106 | may differ: their intersection supplies the required common path domain. -/ |
| 107 | theorem complexCopyCoefficients_principal_at |
| 108 | (base : LinearWaveBounds.WaveCoefficients (P × Plane)) (hL : ∀ n, 0 < L n) |
| 109 | (hr : ParticularCopyBounds.ModalControl s α frame |
| 110 | (fun n => realData (t n) (source n)) harmonic g L envelope K) |
| 111 | (hi : ParticularCopyBounds.ModalControl s α frame |
| 112 | (fun n => imagData (t n) (source n)) harmonic g L envelope K) |
| 113 | (n : ℕ) (k : Frequency) {x : P × Plane} (hx : x ∈ s.domain) (hk : x ∈ K n k) |
| 114 | (hfrequency : base.frequency n ≠ 0) |
| 115 | (hN : base.normal s dirs n x = (t n).normal (nativePoint (g n) k x)) |
| 116 | (hδ : (t n).damping (nativePoint (g n) k x) = |
| 117 | s.epsilon n * base.frequency n ^ 2 * ‖base.normal s dirs n x‖ ^ 2) |
| 118 | (hfast : dirs.fastScale n • dirs.fast = ((0 : P), slotDirection (g n))) |
| 119 | (hA : ∀ z : ProblemStatement.Space, |
| 120 | CurlClassBounds.complexify ((t n).action (nativePoint (g n) k x) z) = |
| 121 | LinearWaveResidual.shear (base.radius n) (base.frequencyBase n) (base.axialBase n) |
| 122 | (dirs.radialField n) (fun _ => CurlClassBounds.complexify z) x) : |
| 123 | (complexCopyCoefficients base t source g (fun _ => k) L hL).principal s dirs n x = |
| 124 | -source n x := by |
| 125 | let Ω := hr.neighborhood n k ∩ hi.neighborhood n k |
| 126 | have hxR := hr.contains n k x hx hk |
| 127 | have hxI := hi.contains n k x hx hk |
| 128 | have hxΩ : x ∈ Ω := ⟨hxR, hxI⟩ |
| 129 | have hAc : ContinuousOn ((t n).linearData.coefficientAlong (g n) k) (Ω ×ˢ Icc 0 (L n)) := |
| 130 | (hr.bridge n k).ambient_coefficient.mono (fun _ h => ⟨h.1.1, h.2⟩) |
| 131 | have hfr : ContinuousOn ((realData (t n) (source n)).linearData.forcingAlong (g n) k) |
| 132 | (Ω ×ˢ Icc 0 (L n)) := |
| 133 | (hr.bridge n k).ambient_forcing.mono (fun _ h => ⟨h.1.1, h.2⟩) |
| 134 | have hfi : ContinuousOn ((imagData (t n) (source n)).linearData.forcingAlong (g n) k) |
| 135 | (Ω ×ˢ Icc 0 (L n)) := |
| 136 | (hi.bridge n k).ambient_forcing.mono (fun _ h => ⟨h.1.2, h.2⟩) |
| 137 | have hur := (hr.smooth_at hL hx hk).differentiableAt (by simp) |
| 138 | have hui := (hi.smooth_at hL hx hk).differentiableAt (by simp) |
| 139 | have hslot := hr.current_slot n k x hxR |
| 140 | have hh := complexCopy_principal_of_path (t n) (source n) (g n) (hL n).le k |
| 141 | hAc hfr hfi (s.epsilon n) (base.frequency n) hfrequency |
| 142 | (base.radius n) (base.frequencyBase n) (base.axialBase n) (base.phase n) |
| 143 | (dirs.radialField n) (fun _ => dirs.angular) (dirs.axialField s n) |
| 144 | x.1 x.2 hxΩ ⟨hslot.1.le, hslot.2.le⟩ hur hui hN hδ hA |
| 145 | have hfast' : dirs.fastField n = fun _ => ((0 : P), slotDirection (g n)) := by |
| 146 | funext y |
| 147 | exact hfast |
| 148 | simpa only [LinearWaveBounds.WaveCoefficients.principal, complexCopyCoefficients, |
| 149 | hfast', Prod.mk.eta] using hh |
| 150 | |
| 151 | end Particular |
| 152 | |
| 153 | end NavierStokes.NativePrincipalEquations |