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.ResidualPolarGraph |
| 3 | import NavierStokes.CurrentPhysicalChartJets |
| 4 | |
| 5 | /-! |
| 6 | # Normalized polar germs of the actual current particular modes |
| 7 | |
| 8 | The native point below uses the actual common-cover index. The ambient |
| 9 | germs retain the current solve, its chosen phase, and its Cartesian rotation. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.CurrentPhysicalModeGerms |
| 15 | |
| 16 | open Set Function Filter ProblemStatement |
| 17 | open CorrectionState CorrectionStep CorrectionInitialization |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | |
| 21 | abbrev Label (B N0 : ℕ) := ActualCurrentParticularPhysical.Label B N0 |
| 22 | |
| 23 | /-- The cover gap of the actual current-band graph. -/ |
| 24 | noncomputable def commonGap (n : ℕ) : ℕ := |
| 25 | ChartScales.nativeIndex CorrectionInitialization.ActualPrimary.h n - |
| 26 | CommonWindow.index CorrectionInitialization.ActualPrimary.h n |
| 27 | |
| 28 | theorem commonGap_le (n : ℕ) : |
| 29 | commonGap n ≤ ChartScales.nativeIndex CorrectionInitialization.ActualPrimary.h n := |
| 30 | Nat.sub_le _ _ |
| 31 | |
| 32 | theorem commonGap_index (n : ℕ) : |
| 33 | ChartScales.nativeIndex CorrectionInitialization.ActualPrimary.h n - commonGap n = |
| 34 | CommonWindow.index CorrectionInitialization.ActualPrimary.h n := |
| 35 | Nat.sub_sub_self (CommonWindow.index_le_native CorrectionInitialization.ActualPrimary.h n) |
| 36 | |
| 37 | theorem liftXY_common (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 38 | PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d w) = |
| 39 | PhysicalGraphBounds.scaledRadial n w := |
| 40 | PhysicalGraphBounds.liftXY_physicalLift h n w |
| 41 | |
| 42 | /-- The exact common-lift chart is the same cylindrical graph as the |
| 43 | one used by the current physical solve. -/ |
| 44 | theorem cylinderAt_commonLift (h : ℝ) (n d : ℕ) |
| 45 | (hd : d ≤ ChartScales.nativeIndex h n) {a : ℝ} (ha : 0 < a) |
| 46 | (i : PolarCharts.Index) {w : SpaceTime} |
| 47 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 48 | ActualSignedPhysicalData.cylinderAt a i (PhysicalWaveSum.commonLift h n d w) = |
| 49 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h |
| 50 | (ChartScales.nativeIndex h n - d)).map |
| 51 | (ResidualPolarGraph.cylindricalPoint a i n w) := by |
| 52 | have hl : PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d w) ∈ |
| 53 | PolarCharts.chartDomain a i := by |
| 54 | rwa [liftXY_common] |
| 55 | apply PhysicalResidualTZ.swapCylinder.injective |
| 56 | change PhysicalResidualTZ.swapCylinder |
| 57 | (ActualSignedPhysicalData.cylinderAt a i (PhysicalWaveSum.commonLift h n d w)) = |
| 58 | PhysicalResidualTZ.graphMapTZ |
| 59 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h |
| 60 | (ChartScales.nativeIndex h n - d)) (ResidualPolarGraph.cylindricalPoint a i n w) |
| 61 | rw [ResidualPolarGraph.graphMapTZ_cylindricalPoint ha h i n d hd hw] |
| 62 | apply Prod.ext |
| 63 | · change PhysicalResidualTZ.swapSlow |
| 64 | (ActualSignedPhysicalData.cylinderAt a i (PhysicalWaveSum.commonLift h n d w)).1 = |
| 65 | PhysicalMeanJetBounds.graph h n d w |
| 66 | rw [ActualSignedPhysicalData.cylinderAt_fst ha i hl] |
| 67 | rfl |
| 68 | · change (PolarCharts.chart a i |
| 69 | (PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d w))).2 = |
| 70 | (PolarCharts.chart a i (PhysicalGraphBounds.scaledRadial n w)).2 |
| 71 | rw [liftXY_common] |
| 72 | |
| 73 | theorem realVector_smul (c : ℝ) (v : HarmonicCalculus.ComplexVector) : |
| 74 | PhysicalCurlCovariance.realVector (c • v) = |
| 75 | c • PhysicalCurlCovariance.realVector v := by |
| 76 | ext i |
| 77 | fin_cases i <;> simp [PhysicalCurlCovariance.realVector, Complex.real_smul] |
| 78 | |
| 79 | theorem radialProjection_eq_sqrt_smul (n : ℕ) (w : SpaceTime) : |
| 80 | PhysicalGraphBounds.radialProjection w = |
| 81 | Real.sqrt (ChartScales.Q n) • PhysicalGraphBounds.scaledRadial n w := by |
| 82 | have hscale : Real.sqrt (ChartScales.Q n) * ChartScales.Q n ^ (-(1 / 2 : ℝ)) = 1 := by |
| 83 | rw [Real.sqrt_eq_rpow, ← Real.rpow_add (ChartScales.Q_pos n)] |
| 84 | norm_num |
| 85 | change PhysicalGraphBounds.radialProjection w = |
| 86 | Real.sqrt (ChartScales.Q n) • |
| 87 | (ChartScales.Q n ^ (-(1 / 2 : ℝ)) • PhysicalGraphBounds.radialProjection w) |
| 88 | rw [smul_smul, hscale, one_smul] |
| 89 | |
| 90 | theorem physical_chart_mem (n : ℕ) {a : ℝ} (i : PolarCharts.Index) {w : SpaceTime} |
| 91 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 92 | w ∈ ActualMeanPotentialRealization.cartesianDomain (Real.sqrt (ChartScales.Q n) * a) i := by |
| 93 | change PhysicalGraphBounds.radialProjection w ∈ |
| 94 | PolarCharts.chartDomain (Real.sqrt (ChartScales.Q n) * a) i |
| 95 | rw [radialProjection_eq_sqrt_smul n w] |
| 96 | exact CurrentPhysicalChartJets.chartDomain_smul (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) i hw |
| 97 | |
| 98 | theorem physical_chart_angle (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 99 | (i : PolarCharts.Index) {w : SpaceTime} |
| 100 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 101 | (PolarCharts.chart (Real.sqrt (ChartScales.Q n) * a) i |
| 102 | (PhysicalGraphBounds.radialProjection w)).2 = ResidualPolarGraph.angle a i n w := by |
| 103 | rw [radialProjection_eq_sqrt_smul n w] |
| 104 | have hh := CurrentPhysicalChartJets.chart_smul ha |
| 105 | (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) i hw |
| 106 | have he := congrArg Prod.snd hh |
| 107 | simpa only [ResidualPolarGraph.angle] using he |
| 108 | |
| 109 | /-- The physical chart uses the same angular branch as the normalized |
| 110 | chart, with the physical radius restored. -/ |
| 111 | theorem physical_polarCoordinates (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 112 | (i : PolarCharts.Index) {w : SpaceTime} |
| 113 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 114 | PhysicalCurlCovariance.polarCoordinates (Real.sqrt (ChartScales.Q n) * a) i w = |
| 115 | ResidualPolarGraph.cylindricalPoint a i n w := by |
| 116 | have hp : PolarCharts.chart (Real.sqrt (ChartScales.Q n) * a) i |
| 117 | (PhysicalGraphBounds.radialProjection w) = |
| 118 | (PolarCharts.radius (PhysicalGraphBounds.radialProjection w), ResidualPolarGraph.angle a i n w) := |
| 119 | Prod.ext (ActualSignedPhysicalData.chart_radius |
| 120 | (mul_pos (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) ha) i (physical_chart_mem n i hw)) |
| 121 | (physical_chart_angle n ha i hw) |
| 122 | simp only [PhysicalCurlCovariance.polarCoordinates, PhysicalCurlCovariance.polarInput, |
| 123 | hp, ResidualPolarGraph.cylindricalPoint] |
| 124 | |
| 125 | /-- The current native map uses the common index, as opposed to the |
| 126 | larger native index of the unmodified lift. -/ |
| 127 | theorem nativeMap_commonChart (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 128 | (i : PolarCharts.Index) {w : SpaceTime} |
| 129 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 130 | PhysicalParticularWave.nativeMap ActualPrimary.h (ChartScales.Q n) |
| 131 | (CommonWindow.index ActualPrimary.h n) |
| 132 | (PhysicalCurlCovariance.polarCoordinates (Real.sqrt (ChartScales.Q n) * a) i w) = |
| 133 | PhysicalParticularWave.waveEquiv |
| 134 | (ActualSignedPhysicalData.cylinderAt a i |
| 135 | (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) w)) := by |
| 136 | rw [physical_polarCoordinates n ha i hw, PhysicalParticularWave.nativeMap, |
| 137 | ← commonGap_index n] |
| 138 | exact congrArg PhysicalParticularWave.waveEquiv |
| 139 | (cylinderAt_commonLift ActualPrimary.h n (commonGap n) (commonGap_le n) ha i hw).symm |
| 140 | |
| 141 | theorem rotation_commonLift (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 142 | CartesianCopySource.rotationMap (PhysicalGraphBounds.radialProjection w) = |
| 143 | CartesianCopySource.rotationMap |
| 144 | (PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d w)) := by |
| 145 | rw [liftXY_common] |
| 146 | exact (CurrentPhysicalChartJets.rotationMap_smul |
| 147 | (Real.rpow_pos_of_pos (ChartScales.Q_pos n) (-(1 / 2 : ℝ))) |
| 148 | (PhysicalGraphBounds.radialProjection w)).symm |
| 149 | |
| 150 | variable {B N0 : ℕ} |
| 151 | |
| 152 | /-- Pointwise equality to the literal current potential on a valid |
| 153 | normalized polar chart. -/ |
| 154 | theorem localPotentialMode_eq (x : CycleState (Label B N0)) (l : Label B N0) |
| 155 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 156 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 157 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 158 | ActualCurrentParticularPhysical.localPotentialMode x l j n w = |
| 159 | ChartScales.Q n ^ (-ActualPrimary.h) • PhysicalCurlCovariance.realVector |
| 160 | (CartesianCopySource.rotationMap |
| 161 | (PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) w)) |
| 162 | (ActualCurrentParticularPhysical.nativePotential x l j n |
| 163 | (PhysicalParticularWave.waveEquiv (ActualSignedPhysicalData.cylinderAt a i |
| 164 | (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) w))))) := by |
| 165 | unfold ActualCurrentParticularPhysical.localPotentialMode |
| 166 | rw [ActualCurrentParticularPhysical.periodic_cylinderPoint_eq_chart |
| 167 | (ActualCurrentParticularPhysical.cylindricalPotential_periodic x l j hf n) |
| 168 | (mul_pos (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) ha) i (physical_chart_mem n i hw)] |
| 169 | unfold ActualCurrentParticularPhysical.cylindricalPotential |
| 170 | rw [nativeMap_commonChart n ha i hw, rotation_commonLift ActualPrimary.h n (commonGap n) w, |
| 171 | map_smul, realVector_smul] |
| 172 | |
| 173 | theorem localPressureMode_eq (x : CycleState (Label B N0)) (l : Label B N0) |
| 174 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 175 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 176 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 177 | ActualCurrentParticularPhysical.localPressureMode x l j n w = |
| 178 | ChartScales.Q n ^ (-2 * CoordinateAlgebra.A ActualPrimary.h) * |
| 179 | (ActualCurrentParticularPhysical.nativePressure x l j n |
| 180 | (PhysicalParticularWave.waveEquiv (ActualSignedPhysicalData.cylinderAt a i |
| 181 | (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) w)))).re := by |
| 182 | rw [ActualCurrentParticularPhysical.localPressureMode_eq_chart x l j hf n |
| 183 | (mul_pos (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) ha) i (physical_chart_mem n i hw)] |
| 184 | unfold ActualCurrentParticularPhysical.cylindricalPressure |
| 185 | rw [nativeMap_commonChart n ha i hw] |
| 186 | |
| 187 | /-- Ambient germ equality, suitable for ordinary Cartesian derivatives |
| 188 | of every order, with the actual common-cover lift. -/ |
| 189 | theorem localPotentialMode_germ (x : CycleState (Label B N0)) (l : Label B N0) |
| 190 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 191 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 192 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 193 | ActualCurrentParticularPhysical.localPotentialMode x l j n =ᶠ[𝓝 w] fun y => |
| 194 | ChartScales.Q n ^ (-ActualPrimary.h) • PhysicalCurlCovariance.realVector |
| 195 | (CartesianCopySource.rotationMap |
| 196 | (PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) y)) |
| 197 | (ActualCurrentParticularPhysical.nativePotential x l j n |
| 198 | (PhysicalParticularWave.waveEquiv (ActualSignedPhysicalData.cylinderAt a i |
| 199 | (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) y))))) := by |
| 200 | filter_upwards [ResidualPolarGraph.eventually_chartDomain i n hw] with y hy |
| 201 | exact localPotentialMode_eq x l j hf n ha i hy |
| 202 | |
| 203 | theorem localPressureMode_germ (x : CycleState (Label B N0)) (l : Label B N0) |
| 204 | (j : ℤ) (hf : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n) |
| 205 | (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} |
| 206 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) : |
| 207 | ActualCurrentParticularPhysical.localPressureMode x l j n =ᶠ[𝓝 w] fun y => |
| 208 | ChartScales.Q n ^ (-2 * CoordinateAlgebra.A ActualPrimary.h) * |
| 209 | (ActualCurrentParticularPhysical.nativePressure x l j n |
| 210 | (PhysicalParticularWave.waveEquiv (ActualSignedPhysicalData.cylinderAt a i |
| 211 | (PhysicalWaveSum.commonLift ActualPrimary.h n (commonGap n) y)))).re := by |
| 212 | filter_upwards [ResidualPolarGraph.eventually_chartDomain i n hw] with y hy |
| 213 | exact localPressureMode_eq x l j hf n ha i hy |
| 214 | |
| 215 | end NavierStokes.CurrentPhysicalModeGerms |