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.ActualCurrentParticularPhysical |
| 2 | import NavierStokes.ActualPhysicalPrefixFields |
| 3 | |
| 4 | /-! |
| 5 | # The Cartesian curl of the actual finite particular-wave sum |
| 6 | |
| 7 | The potential and pressure are the literal current-band sums constructed in |
| 8 | `ActualCurrentParticularPhysical`. Their modes are identified with the same |
| 9 | canonical solver used by the correction cycle. On a valid current polar chart, |
| 10 | the curl is therefore the actual particular velocity increment, with its physical |
| 11 | scale and moving frame. No output representation is an input to these identities. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.ActualCurrentParticularAssembly |
| 17 | |
| 18 | open Set Function Filter ProblemStatement CorrectionState CorrectionStep CorrectionInitialization |
| 19 | open ActualCurrentParticularPhysical |
| 20 | open scoped ContDiff Topology BigOperators |
| 21 | |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | theorem space_sum_apply {ι : Type*} (s : Finset ι) (v : ι → Space) (k : Fin 3) : |
| 26 | (∑ b ∈ s, v b) k = ∑ b ∈ s, v b k := |
| 27 | map_sum (PiLp.proj 2 (fun _ : Fin 3 => ℝ) k : Space →L[ℝ] ℝ) v s |
| 28 | |
| 29 | theorem localPotential_eq_sum (x : CycleState (ActualInitialization.Index B N0)) (n : ℕ) : |
| 30 | localPotential (ActualCycleParameters.particularState x) n = fun w => |
| 31 | ∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 32 | localPotentialMode (ActualCycleParameters.particularState x) (l.2,l.1) j n w := by |
| 33 | classical |
| 34 | funext w |
| 35 | simp only [localPotential, ActualCycleParameters.particularState, |
| 36 | ActualCycleParameters.reindexState, ActualCycleParameters.reindexCoefficients, |
| 37 | Equiv.symm_symm, Finset.sum_map, Equiv.toEmbedding_apply, |
| 38 | ActualCycleParameters.swap_apply] |
| 39 | |
| 40 | theorem localPressure_eq_sum (x : CycleState (ActualInitialization.Index B N0)) (n : ℕ) : |
| 41 | localPressure (ActualCycleParameters.particularState x) n = fun w => |
| 42 | ∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 43 | localPressureMode (ActualCycleParameters.particularState x) (l.2,l.1) j n w := by |
| 44 | classical |
| 45 | funext w |
| 46 | simp only [localPressure, ActualCycleParameters.particularState, |
| 47 | ActualCycleParameters.reindexState, ActualCycleParameters.reindexCoefficients, |
| 48 | Equiv.symm_symm, Finset.sum_map, Equiv.toEmbedding_apply, |
| 49 | ActualCycleParameters.swap_apply] |
| 50 | |
| 51 | theorem nativeMode_eq (x : CycleState (ActualInitialization.Index B N0)) |
| 52 | (l : ActualInitialization.Index B N0) (j : ℤ) (n : ℕ) |
| 53 | (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : |
| 54 | ActualParticularCycleData.nativeMode x l j n z k = |
| 55 | (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n |
| 56 | (ActualWaveRegularity.particularChart z) k).re := rfl |
| 57 | |
| 58 | theorem particularVelocity_eq_sum {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 59 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 60 | (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : |
| 61 | (ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 62 | (CorrectionInitialization.ActualPrimary.commonContext B) x.state n z k = |
| 63 | ∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 64 | (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n |
| 65 | (ActualWaveRegularity.particularChart z) k).re := by |
| 66 | classical |
| 67 | change (∑ l ∈ x.coefficients.labels n, (ActualParticularCycleData.block x l).oscillation n z k) = _ |
| 68 | apply Finset.sum_congr rfl |
| 69 | intro l _ |
| 70 | rw [ActualParticularCycleData.block_eq_modes H l] |
| 71 | rfl |
| 72 | |
| 73 | theorem particularPressure_eq_sum {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 74 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 75 | (z : PhysicalResidualBridge.Cylinder) : |
| 76 | (ActualCycleParameters.fixedParameters B N0).particularPressure x.coefficients |
| 77 | (CorrectionInitialization.ActualPrimary.commonContext B) x.state n z = |
| 78 | ∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 79 | (nativePressure (ActualCycleParameters.particularState x) (l.2,l.1) j n |
| 80 | (ActualWaveRegularity.particularChart z)).re := by |
| 81 | classical |
| 82 | change (∑ l ∈ x.coefficients.labels n, (ActualParticularCycleData.block x l).oscillatoryPressure n z) = _ |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro l _ |
| 85 | rw [ActualParticularCycleData.particularBlock_pressure_eq_modes _ _ _ _ _ (H.frequency l)] |
| 86 | rfl |
| 87 | |
| 88 | theorem nativeMap_eq_graph (n : ℕ) (z : SpaceTime) : |
| 89 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h |
| 90 | (ChartScales.Q n) (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) z = |
| 91 | ActualWaveRegularity.particularChart |
| 92 | (PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) z) := rfl |
| 93 | |
| 94 | theorem velocityMap_apply (n : ℕ) (v : PhysicalResidualBridge.Cylinder → Fin 3 → ℝ) |
| 95 | (z : SpaceTime) (k : Fin 3) : |
| 96 | CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) v z k = |
| 97 | (ChartScales.Q n) ^ (-CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * |
| 98 | v (PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) z) k := by |
| 99 | change (ActualCycleResidualBounds.actualBandGraph n).velocity |
| 100 | (fun x => v (PhysicalResidualTZ.swapCylinder x)) z k = _ |
| 101 | rw [PhysicalResidualBridge.ScaledGraph.velocity_apply] |
| 102 | rfl |
| 103 | |
| 104 | theorem pressureMap_apply (n : ℕ) (p : PhysicalResidualBridge.Cylinder → ℝ) (z : SpaceTime) : |
| 105 | CyclePhysicalPrefixes.pressureMap (ActualCycleResidualBounds.actualBandGraph n) p z = |
| 106 | (ChartScales.Q n) ^ (-2 * CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) * |
| 107 | p (PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) z) := by |
| 108 | change ((ChartScales.Q n) ^ (-CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h)) ^ 2 * _ = _ |
| 109 | rw [← Real.rpow_mul_natCast (ChartScales.Q_pos n).le] |
| 110 | congr 2 |
| 111 | ring |
| 112 | |
| 113 | theorem localPotential_curl_eq_sum |
| 114 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 115 | (H : ActualParticularCycleData.Invariant σ x) |
| 116 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (n : ℕ) |
| 117 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 118 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 119 | (hm : nativePoint n w ∈ nativeDomain) : |
| 120 | SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n) w = |
| 121 | ∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 122 | SpatialCurl.spatialCurl |
| 123 | (localPotentialMode (ActualCycleParameters.particularState x) (l.2,l.1) j n) w := by |
| 124 | classical |
| 125 | rw [localPotential_eq_sum] |
| 126 | have hd (l : ActualInitialization.Index B N0) (j : ℤ) |
| 127 | (hj : j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand) : |
| 128 | DifferentiableAt ℝ |
| 129 | (localPotentialMode (ActualCycleParameters.particularState x) (l.2,l.1) j n) w := |
| 130 | ((localModes_contDiffAt_of_invariant H hN l j |
| 131 | ((ParticularWaveAssembly.mem_modes _ _).mp hj).1 n ha i hw hm).1).differentiableAt (by simp) |
| 132 | rw [PhysicalParticularWave.spatialCurl_finset_sum _ _ (fun l _ => |
| 133 | DifferentiableAt.fun_sum (fun j hj => hd l j hj))] |
| 134 | exact Finset.sum_congr rfl (fun l _ => |
| 135 | PhysicalParticularWave.spatialCurl_finset_sum _ _ (hd l)) |
| 136 | |
| 137 | theorem localPotential_curl_components |
| 138 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 139 | (H : ActualParticularCycleData.Invariant σ x) |
| 140 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (n : ℕ) |
| 141 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 142 | (hz : z ∈ PhysicalCurlCovariance.validCylindrical a i) |
| 143 | (hm : PhysicalParticularWave.nativeMap ActualPrimary.h (ChartScales.Q n) |
| 144 | (CommonWindow.index ActualPrimary.h n) z ∈ nativeDomain) (k : Fin 3) : |
| 145 | CylindricalResidual.frame (-(z.2 1)) |
| 146 | (SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n) |
| 147 | (z.1, CylindricalResidual.chart z.2)) k = |
| 148 | (ChartScales.Q n) ^ (-CoordinateAlgebra.A ActualPrimary.h) * |
| 149 | (ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 150 | (ActualPrimary.commonContext B) x.state n |
| 151 | (PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) z) k := by |
| 152 | classical |
| 153 | have hw : (z.1, CylindricalResidual.chart z.2) ∈ |
| 154 | ActualMeanPotentialRealization.cartesianDomain a i := by |
| 155 | simpa [ActualMeanPotentialRealization.cartesianDomain, PhysicalGraphBounds.radialProjection_apply, |
| 156 | CylindricalResidual.chart, PolarCharts.polar] using hz.2.2 |
| 157 | have hm' : nativePoint n (z.1, CylindricalResidual.chart z.2) ∈ nativeDomain := by |
| 158 | apply (nativeMap_polar_mem_iff n a i _).mp |
| 159 | rwa [PhysicalCurlCovariance.polarCoordinates_forward ha i hz] |
| 160 | rw [localPotential_curl_eq_sum H hN n ha i hw hm', particularVelocity_eq_sum H] |
| 161 | simp only [map_sum, space_sum_apply, Finset.mul_sum] |
| 162 | apply Finset.sum_congr rfl |
| 163 | intro l _ |
| 164 | apply Finset.sum_congr rfl |
| 165 | intro j hj |
| 166 | simpa only [nativeMap_eq_graph] using localPotentialMode_curl_of_invariant H hN l j |
| 167 | ((ParticularWaveAssembly.mem_modes _ _).mp hj).1 n ha i hz hm k |
| 168 | |
| 169 | theorem localPotential_curl_forward |
| 170 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 171 | (H : ActualParticularCycleData.Invariant σ x) |
| 172 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (n : ℕ) |
| 173 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} |
| 174 | (hz : z ∈ PhysicalCurlCovariance.validCylindrical a i) |
| 175 | (hm : PhysicalParticularWave.nativeMap ActualPrimary.h (ChartScales.Q n) |
| 176 | (CommonWindow.index ActualPrimary.h n) z ∈ nativeDomain) : |
| 177 | SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n) |
| 178 | (z.1, CylindricalResidual.chart z.2) = |
| 179 | CyclePhysicalPrefixes.polarVelocityMap a i |
| 180 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 181 | ((ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 182 | (ActualPrimary.commonContext B) x.state n)) |
| 183 | (z.1, CylindricalResidual.chart z.2) := by |
| 184 | have he : CylindricalResidual.frame (-(z.2 1)) |
| 185 | (SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n) |
| 186 | (z.1, CylindricalResidual.chart z.2)) = |
| 187 | CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 188 | ((ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 189 | (ActualPrimary.commonContext B) x.state n) z := by |
| 190 | ext k |
| 191 | rw [velocityMap_apply] |
| 192 | exact localPotential_curl_components H hN n ha i hz hm k |
| 193 | rw [ActualMeanPotentialRealization.polar_forward ha i _ hz] |
| 194 | simpa only [CylindricalResidual.frame_inverse'] using |
| 195 | congrArg (CylindricalResidual.frame (z.2 1)) he |
| 196 | |
| 197 | theorem localPotential_curl |
| 198 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 199 | (H : ActualParticularCycleData.Invariant σ x) |
| 200 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (n : ℕ) |
| 201 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 202 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) |
| 203 | (hm : nativePoint n w ∈ nativeDomain) : |
| 204 | SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n) w = |
| 205 | CyclePhysicalPrefixes.polarVelocityMap a i |
| 206 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 207 | ((ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 208 | (ActualPrimary.commonContext B) x.state n)) w := by |
| 209 | have he := localPotential_curl_forward H hN n ha i |
| 210 | (ActualMeanPotentialRealization.polarCoordinates_valid ha i hw) |
| 211 | ((nativeMap_polar_mem_iff n a i w).mpr hm) |
| 212 | simpa only [ActualMeanPotentialRealization.polarCoordinates_back ha i hw] using he |
| 213 | |
| 214 | theorem localPressure_eq |
| 215 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 216 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 217 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 218 | (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) : |
| 219 | localPressure (ActualCycleParameters.particularState x) n w = |
| 220 | CyclePhysicalPrefixes.polarPressureMap a i |
| 221 | (CyclePhysicalPrefixes.pressureMap (ActualCycleResidualBounds.actualBandGraph n) |
| 222 | ((ActualCycleParameters.fixedParameters B N0).particularPressure x.coefficients |
| 223 | (ActualPrimary.commonContext B) x.state n)) w := by |
| 224 | classical |
| 225 | rw [localPressure_eq_sum] |
| 226 | change (∑ l ∈ x.coefficients.labels n, ∑ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, |
| 227 | localPressureMode (ActualCycleParameters.particularState x) (l.2,l.1) j n w) = |
| 228 | CyclePhysicalPrefixes.pressureMap (ActualCycleResidualBounds.actualBandGraph n) _ |
| 229 | (PhysicalCurlCovariance.polarCoordinates a i w) |
| 230 | rw [pressureMap_apply, particularPressure_eq_sum H] |
| 231 | simp only [Finset.mul_sum] |
| 232 | apply Finset.sum_congr rfl |
| 233 | intro l _ |
| 234 | apply Finset.sum_congr rfl |
| 235 | intro j _ |
| 236 | rw [localPressureMode_eq_chart _ _ _ |
| 237 | (ActualParticularDynamics.carrier_frequency (ActualParticularCycleData.preservesCarriers H) (l.2,l.1)) |
| 238 | n ha i hw] |
| 239 | change (ChartScales.Q n) ^ (-2 * CoordinateAlgebra.A ActualPrimary.h) * |
| 240 | (nativePressure (ActualCycleParameters.particularState x) (l.2,l.1) j n |
| 241 | (PhysicalParticularWave.nativeMap ActualPrimary.h (ChartScales.Q n) |
| 242 | (CommonWindow.index ActualPrimary.h n) (PhysicalCurlCovariance.polarCoordinates a i w))).re = _ |
| 243 | rw [nativeMap_eq_graph] |
| 244 | |
| 245 | theorem nativePoint_mem_of_chartDomain {qbig : ℝ} {n : ℕ} {a : ℝ} {i : PolarCharts.Index} |
| 246 | {w : SpaceTime} (hw : w ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 247 | nativePoint n w ∈ nativeDomain := by |
| 248 | apply (nativeMap_polar_mem_iff n a i w).mp |
| 249 | change _ ∈ ActualPrimary.standardRegion.carrier ∧ True |
| 250 | exact ⟨hw.2.2.2.1.1, trivial⟩ |
| 251 | |
| 252 | /-- The literal finite potential has exactly the physical curl required by the |
| 253 | particular stage of the correction cycle, throughout each valid current chart. -/ |
| 254 | theorem localPotential_curl_eqOn |
| 255 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 256 | (H : ActualParticularCycleData.Invariant σ x) |
| 257 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (qbig : ℝ) (n : ℕ) |
| 258 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) : |
| 259 | EqOn (SpatialCurl.spatialCurl (localPotential (ActualCycleParameters.particularState x) n)) |
| 260 | (CyclePhysicalPrefixes.polarVelocityMap a i |
| 261 | (CyclePhysicalPrefixes.velocityMap (ActualCycleResidualBounds.actualBandGraph n) |
| 262 | ((ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 263 | (ActualPrimary.commonContext B) x.state n))) |
| 264 | (ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) := by |
| 265 | intro w hw |
| 266 | exact localPotential_curl H hN n ha i hw.2.1 (nativePoint_mem_of_chartDomain hw) |
| 267 | |
| 268 | /-- The pressure uses the same finite harmonic and label sums and the square of |
| 269 | the physical velocity scale. -/ |
| 270 | theorem localPressure_eqOn |
| 271 | {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 272 | (H : ActualParticularCycleData.Invariant σ x) (qbig : ℝ) (n : ℕ) |
| 273 | {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) : |
| 274 | EqOn (localPressure (ActualCycleParameters.particularState x) n) |
| 275 | (CyclePhysicalPrefixes.polarPressureMap a i |
| 276 | (CyclePhysicalPrefixes.pressureMap (ActualCycleResidualBounds.actualBandGraph n) |
| 277 | ((ActualCycleParameters.fixedParameters B N0).particularPressure x.coefficients |
| 278 | (ActualPrimary.commonContext B) x.state n))) |
| 279 | (ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) := by |
| 280 | intro w hw |
| 281 | exact localPressure_eq H n ha i hw.2.1 |
| 282 | |
| 283 | end NavierStokes.ActualCurrentParticularAssembly |