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.ActualParticularStageControls |
| 2 | import NavierStokes.ActualCoreSupport |
| 3 | import NavierStokes.ActualCarrierGeometry |
| 4 | |
| 5 | /-! |
| 6 | # Continuity on the actual finite tangent-copy intervals |
| 7 | |
| 8 | The projected operator is built from the selected frame's normal, normal |
| 9 | motion, base action, and damping. Only the native slow point and finite |
| 10 | clock interval enter its regularity; the transverse coordinate is free. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ActualCopySliceRegularity |
| 16 | |
| 17 | open Set Function Filter |
| 18 | open CommonCoverSolve PhaseJetBounds PrimaryPulseBounds |
| 19 | open CorrectionInitialization |
| 20 | open scoped ContDiff Topology InnerProductSpace |
| 21 | |
| 22 | |
| 23 | abbrev Space := ProblemStatement.Space |
| 24 | abbrev Plane := TorusInverse.Plane |
| 25 | abbrev Parameter := PhysicalParticularWave.Parameter |
| 26 | abbrev Label (B N0 : ℕ) := ActualParticularStageControls.Label B N0 |
| 27 | |
| 28 | theorem negativeProjection_continuousOn {X : Type*} [TopologicalSpace X] |
| 29 | {U : Set X} {N : X → Space} (hN : ContinuousOn N U) |
| 30 | (hne : ∀ x ∈ U, N x ≠ 0) : |
| 31 | ContinuousOn (fun x => negativeTangentProjection (N x)) U := by |
| 32 | have hv : ContinuousOn (fun x => (⟪N x, N x⟫_ℝ)⁻¹ • N x) U := |
| 33 | ((hN.inner hN).inv₀ (fun x hx => inner_self_ne_zero.mpr (hne x hx))).fun_smul hN |
| 34 | have hi := (innerSL ℝ).continuous.comp_continuousOn hN |
| 35 | exact (continuousOn_const.sub |
| 36 | (isBoundedBilinearMap_smulRight.continuous.comp_continuousOn (hi.prodMk hv))).neg |
| 37 | |
| 38 | section Frame |
| 39 | |
| 40 | variable {ι : Type} {D : Domain ι PhaseCalculus.Slow} |
| 41 | |
| 42 | /-- The actual ambient projected operator and forcing projection of the |
| 43 | selected frame are continuous on the entire closed slot. -/ |
| 44 | theorem frame_slices (F : PhaseConstruction D) (i : ι) (j : ℤ) |
| 45 | (p : PhaseCalculus.Slow) (hp : p ∈ D.carrier i) : |
| 46 | Continuous (fun s : Icc (0 : ℝ) (F.L i) => |
| 47 | TangentODE.projectedOperator ((F.frame i).normal (p, s)) |
| 48 | ((F.frame i).normalMotion (p, s)) |
| 49 | (PrimaryCopyBridge.baseOperator ((F.frame i).F (p, s)) ((F.frame i).shear (p, s))) |
| 50 | ((F.frame i).damping j (p, s))) ∧ |
| 51 | Continuous (fun s : Icc (0 : ℝ) (F.L i) => negativeTangentProjection ((F.frame i).normal (p, s))) := by |
| 52 | have hd := (ActualParticularControl.selected_frame_jets F).smoothOn i |
| 53 | have hmap : MapsTo (fun s : ℝ => (p, s)) (Icc 0 (F.L i)) ((D.slot F.V F.openV).carrier i) := |
| 54 | fun s hs => ⟨hp, F.interval i hs⟩ |
| 55 | have hn := (PrimaryCopyBridge.frame_normal_continuousOn hd).comp |
| 56 | (continuous_const.prodMk continuous_id).continuousOn hmap |
| 57 | have hnd := (PrimaryCopyBridge.frame_normalMotion_continuousOn hd).comp |
| 58 | (continuous_const.prodMk continuous_id).continuousOn hmap |
| 59 | have hA := (PrimaryCopyBridge.frame_baseOperator_continuousOn hd).comp |
| 60 | (continuous_const.prodMk continuous_id).continuousOn hmap |
| 61 | have hδ : ContinuousOn (fun s : ℝ => (F.frame i).damping j (p, s)) (Icc 0 (F.L i)) := |
| 62 | (continuousOn_const.mul hd.viscosity.continuousOn).comp |
| 63 | (continuous_const.prodMk continuous_id).continuousOn hmap |
| 64 | have hne : ∀ s ∈ Icc 0 (F.L i), (F.frame i).normal (p, s) ≠ 0 := by |
| 65 | intro s hs |
| 66 | exact MovingFrameODE.normal_ne_zero _ |
| 67 | ((ActualParticularControl.selected_kinematics F i hp).beta_ne_zero s hs) |
| 68 | exact ⟨(PrimaryCopyBridge.projectedOperator_continuousOn hn hnd hA hδ hne).domRestrict, |
| 69 | (negativeProjection_continuousOn hn hne).domRestrict⟩ |
| 70 | |
| 71 | end Frame |
| 72 | |
| 73 | section Transport |
| 74 | |
| 75 | variable {P Q : Type} |
| 76 | |
| 77 | theorem transported_coefficient (t : TangentData P Space) (φ : Q → P) |
| 78 | (gap : ℕ) (rate amplitude normal : ℝ) (hn : normal ≠ 0) (q : Q) (Y : Plane) : |
| 79 | (ScaledTangentTransport.transportTangent t φ gap 0 rate amplitude normal).linearData.coefficient (q, Y) = |
| 80 | rate • t.linearData.coefficient (φ q, CopySolveCompatibility.nativeTimeMap 0 rate Y) := |
| 81 | NormalScaling.projectedOperator_rescale _ _ _ rate _ hn |
| 82 | |
| 83 | theorem transported_forcingMap (t : TangentData P Space) (φ : Q → P) |
| 84 | (gap : ℕ) (rate amplitude normal : ℝ) (hn : normal ≠ 0) (q : Q) (Y : Plane) : |
| 85 | (ScaledTangentTransport.transportTangent t φ gap 0 rate amplitude normal).linearData.forcingMap (q, Y) = |
| 86 | t.linearData.forcingMap (φ q, CopySolveCompatibility.nativeTimeMap 0 rate Y) := |
| 87 | NormalScaling.negativeTangentProjection_smul _ hn |
| 88 | |
| 89 | theorem transported_slices (t : TangentData P Space) (φ : Q → P) |
| 90 | (gap : ℕ) (rate amplitude normal L : ℝ) (hrate : 0 < rate) (hn : normal ≠ 0) |
| 91 | (q : Q) (xi : ℝ) |
| 92 | (hA : Continuous (fun s : Icc (0 : ℝ) L => t.linearData.coefficient (φ q, (xi, s)))) |
| 93 | (hB : Continuous (fun s : Icc (0 : ℝ) L => t.linearData.forcingMap (φ q, (xi, s)))) : |
| 94 | Continuous (fun s : Icc (0 : ℝ) (L / rate) => |
| 95 | (ScaledTangentTransport.transportTangent t φ gap 0 rate amplitude normal).linearData.coefficient (q, (xi, s))) ∧ |
| 96 | Continuous (fun s : Icc (0 : ℝ) (L / rate) => |
| 97 | (ScaledTangentTransport.transportTangent t φ gap 0 rate amplitude normal).linearData.forcingMap (q, (xi, s))) := by |
| 98 | let clock : Icc (0 : ℝ) (L / rate) → Icc (0 : ℝ) L := fun s => |
| 99 | ⟨rate * s, mul_nonneg hrate.le s.property.1, |
| 100 | by simpa only [mul_comm] using (le_div_iff₀ hrate).mp s.property.2⟩ |
| 101 | have hc : Continuous clock := |
| 102 | Continuous.subtype_mk (continuous_const.mul continuous_subtype_val) _ |
| 103 | constructor |
| 104 | · apply ((hA.comp hc).fun_const_smul rate).congr |
| 105 | intro s |
| 106 | simpa only [Function.comp_apply, clock, CopySolveCompatibility.nativeTimeMap, zero_add] using |
| 107 | (transported_coefficient t φ gap rate amplitude normal hn q (xi, s)).symm |
| 108 | · apply (hB.comp hc).congr |
| 109 | intro s |
| 110 | simpa only [Function.comp_apply, clock, CopySolveCompatibility.nativeTimeMap, zero_add] using |
| 111 | (transported_forcingMap t φ gap rate amplitude normal hn q (xi, s)).symm |
| 112 | |
| 113 | end Transport |
| 114 | |
| 115 | section Actual |
| 116 | |
| 117 | open ActualParticularStageControls |
| 118 | |
| 119 | variable {B N0 : ℕ} |
| 120 | |
| 121 | theorem reference_slices (l : Label B N0) (j : ℤ) (p : Parameter) |
| 122 | (hp : ActualSignedGeometry.swapParameter p ∈ |
| 123 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier l.2) |
| 124 | (xi : ℝ) : |
| 125 | Continuous (fun s : Icc (0 : ℝ) (reference l).length => |
| 126 | ((reference l).tangent j).linearData.coefficient (p, (xi, s))) ∧ |
| 127 | Continuous (fun s : Icc (0 : ℝ) (reference l).length => |
| 128 | ((reference l).tangent j).linearData.forcingMap (p, (xi, s))) := |
| 129 | frame_slices (ActualPrimary.phases B N0 l.1) l.2 j (ActualSignedGeometry.swapParameter p) hp |
| 130 | |
| 131 | theorem normalWeight_ne (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : |
| 132 | PhysicalParticularWave.normalWeight (ChartScales.Q n) (ChartScales.Q (reference l).band) |
| 133 | ((j : ℝ) * ChartScales.carrier ActualPrimary.h n) |
| 134 | ((j : ℝ) * ChartScales.carrier ActualPrimary.h (reference l).band) ≠ 0 := by |
| 135 | rw [ScaledActualParticularControl.normalWeight_harmonic _ _ _ _ j hj] |
| 136 | apply mul_ne_zero |
| 137 | · exact div_ne_zero (ActualPrimary.chartCoefficients_frequency_pos l.1 l.2 _).ne' |
| 138 | (ActualPrimary.chartCoefficients_frequency_pos l.1 l.2 _).ne' |
| 139 | · exact (PhysicalParticularWave.ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos _) _).ne' |
| 140 | |
| 141 | /-- No transverse or copy restriction occurs in these two primitive slice |
| 142 | continuities. The only spatial hypothesis is the actual native phase cell. -/ |
| 143 | theorem canonical_slices (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) (p : Parameter) |
| 144 | (hp : ActualSignedGeometry.swapParameter |
| 145 | (PhysicalParticularWave.parameterChange ActualPrimary.h (ChartScales.Q n) |
| 146 | (ChartScales.Q (reference l).band) p) ∈ |
| 147 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier l.2) |
| 148 | (xi : ℝ) : |
| 149 | Continuous (fun s : Icc (0 : ℝ) ((canonicalParameters l).length n) => |
| 150 | ((canonicalParameters l).tangent j n).linearData.coefficient (p, (xi, s))) ∧ |
| 151 | Continuous (fun s : Icc (0 : ℝ) ((canonicalParameters l).length n) => |
| 152 | ((canonicalParameters l).tangent j n).linearData.forcingMap (p, (xi, s))) := by |
| 153 | obtain ⟨hA, hB⟩ := reference_slices l j _ hp xi |
| 154 | exact transported_slices ((reference l).tangent j) _ _ _ _ _ _ |
| 155 | (PhysicalParticularWave.ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos _) _) |
| 156 | (normalWeight_ne l j hj n) p xi hA hB |
| 157 | |
| 158 | theorem actual_slices (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 159 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 160 | (j : ℤ) (hj : j ≠ 0) (n : ℕ) (p : Parameter) |
| 161 | (hp : ActualSignedGeometry.swapParameter |
| 162 | (PhysicalParticularWave.parameterChange ActualPrimary.h (ChartScales.Q n) |
| 163 | (ChartScales.Q (reference l).band) p) ∈ |
| 164 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier l.2) |
| 165 | (xi : ℝ) : |
| 166 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 167 | ((parameters x l).tangent j n).linearData.coefficient (p, (xi, s))) ∧ |
| 168 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 169 | ((parameters x l).tangent j n).linearData.forcingMap (p, (xi, s))) := by |
| 170 | rw [parameters_eq_canonical x l hfrequency] |
| 171 | exact canonical_slices l j hj n p hp xi |
| 172 | |
| 173 | theorem actual_copy_slices (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 174 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 175 | (j : ℤ) (hj : j ≠ 0) (n : ℕ) (p : Parameter) |
| 176 | (hp : ActualSignedGeometry.swapParameter |
| 177 | (PhysicalParticularWave.parameterChange ActualPrimary.h (ChartScales.Q n) |
| 178 | (ChartScales.Q (reference l).band) p) ∈ |
| 179 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier l.2) |
| 180 | (Y : Plane) (k : TorusInverse.Frequency) : |
| 181 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 182 | ((parameters x l).tangent j n).linearData.coefficientAlong ((parameters x l).geometry n) k ((p, Y), s)) ∧ |
| 183 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 184 | ((parameters x l).tangent j n).linearData.forcingMap |
| 185 | (p, ((((parameters x l).geometry n).coordinates k Y).1, s))) := |
| 186 | actual_slices x l hfrequency j hj n p hp _ |
| 187 | |
| 188 | end Actual |
| 189 | |
| 190 | section SourceFiber |
| 191 | |
| 192 | open ActualParticularStageControls |
| 193 | |
| 194 | variable {B N0 : ℕ} |
| 195 | |
| 196 | theorem native_parameter_eq (l : Label B N0) (n : ℕ) (p : Parameter) (Y : Plane) : |
| 197 | ActualSignedGeometry.swapParameter |
| 198 | (PhysicalParticularWave.parameterChange ActualPrimary.h (ChartScales.Q n) |
| 199 | (ChartScales.Q (reference l).band) p) = |
| 200 | ActualPrimaryCovariance.nativePoint n (p.1, (p.2, Y)) l.2 := by |
| 201 | ext <;> simp [ActualSignedGeometry.swapParameter, PhysicalParticularWave.parameterChange, |
| 202 | PhysicalParticularWave.ratioPower, ActualPrimaryCovariance.nativePoint, |
| 203 | ActualPrimary.nativeSlow, ActualPrimary.toAbsolute, reference, Real.sqrt_eq_rpow, |
| 204 | div_eq_mul_inv, mul_assoc, mul_comm] |
| 205 | |
| 206 | theorem native_cell_of_refinedCarrier (l : Label B N0) (n : ℕ) (p : Parameter) |
| 207 | (hT : 0 < p.2.1) {Y : Plane} |
| 208 | (hY : (p.1, (p.2, Y)) ∈ ActualCoreSupport.refinedCarrier (l.2, l.1) n) : |
| 209 | ActualSignedGeometry.swapParameter |
| 210 | (PhysicalParticularWave.parameterChange ActualPrimary.h (ChartScales.Q n) |
| 211 | (ChartScales.Q (reference l).band) p) ∈ |
| 212 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier l.2 := by |
| 213 | rw [native_parameter_eq l n p Y] |
| 214 | exact ActualCarrierGeometry.labelCarrier_in_cell l n hT |
| 215 | (ActualCoreSupport.refinedCarrier_subset_broad (l.2, l.1) n hY) |
| 216 | |
| 217 | /-- A nonempty refined source fiber supplies the native phase-cell |
| 218 | hypothesis. All copies and every transverse coordinate are then covered. -/ |
| 219 | theorem actual_copy_slices_of_refinedFiber (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 220 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 221 | (j : ℤ) (hj : j ≠ 0) (n : ℕ) (p : Parameter) (hT : 0 < p.2.1) |
| 222 | (hs : ∃ Z : Plane, (p.1, (p.2, Z)) ∈ ActualCoreSupport.refinedCarrier (l.2, l.1) n) |
| 223 | (Y : Plane) (k : TorusInverse.Frequency) : |
| 224 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 225 | ((parameters x l).tangent j n).linearData.coefficientAlong ((parameters x l).geometry n) k ((p, Y), s)) ∧ |
| 226 | Continuous (fun s : Icc (0 : ℝ) ((parameters x l).length n) => |
| 227 | ((parameters x l).tangent j n).linearData.forcingMap |
| 228 | (p, ((((parameters x l).geometry n).coordinates k Y).1, s))) := by |
| 229 | obtain ⟨Z, hZ⟩ := hs |
| 230 | exact actual_copy_slices x l hfrequency j hj n p (native_cell_of_refinedCarrier l n p hT hZ) Y k |
| 231 | |
| 232 | end SourceFiber |
| 233 | |
| 234 | end NavierStokes.ActualCopySliceRegularity |