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.PhysicalMeanJetBounds |
| 2 | import NavierStokes.PhysicalResidualTZ |
| 3 | |
| 4 | /-! |
| 5 | # Local polar inverse of the physical residual graph |
| 6 | |
| 7 | The physical radius is unscaled, while the angle is read from a valid |
| 8 | polar chart of the scaled radial projection. The resulting cylindrical |
| 9 | point maps back to the original Cartesian point and to the exact common |
| 10 | graph used by the physical mean estimates. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ResidualPolarGraph |
| 16 | |
| 17 | open Set Filter ProblemStatement |
| 18 | open AxisymmetricResidual (pack pack_zero pack_one pack_two) |
| 19 | open scoped Topology |
| 20 | |
| 21 | /-- The local angle of the scaled physical radial projection. -/ |
| 22 | noncomputable def angle (a : ℝ) (j : PolarCharts.Index) (n : ℕ) (w : SpaceTime) : ℝ := |
| 23 | (PolarCharts.chart a j (PhysicalGraphBounds.scaledRadial n w)).2 |
| 24 | |
| 25 | /-- The actual unscaled cylindrical point associated with a local polar |
| 26 | chart. Its spatial coordinates are physical radius, angle, and axial position. -/ |
| 27 | noncomputable def cylindricalPoint (a : ℝ) (j : PolarCharts.Index) (n : ℕ) |
| 28 | (w : SpaceTime) : SpaceTime := |
| 29 | (w.1, pack (PolarCharts.radius (PhysicalGraphBounds.radialProjection w)) |
| 30 | (angle a j n w) (w.2 2)) |
| 31 | |
| 32 | @[simp] theorem cylindricalPoint_time (a : ℝ) (j : PolarCharts.Index) (n : ℕ) (w : SpaceTime) : |
| 33 | (cylindricalPoint a j n w).1 = w.1 := rfl |
| 34 | |
| 35 | @[simp] theorem cylindricalPoint_radius (a : ℝ) (j : PolarCharts.Index) (n : ℕ) (w : SpaceTime) : |
| 36 | (cylindricalPoint a j n w).2 0 = |
| 37 | PolarCharts.radius (PhysicalGraphBounds.radialProjection w) := by |
| 38 | simp [cylindricalPoint] |
| 39 | |
| 40 | @[simp] theorem cylindricalPoint_angle (a : ℝ) (j : PolarCharts.Index) (n : ℕ) (w : SpaceTime) : |
| 41 | (cylindricalPoint a j n w).2 1 = angle a j n w := by |
| 42 | simp [cylindricalPoint] |
| 43 | |
| 44 | @[simp] theorem cylindricalPoint_axial (a : ℝ) (j : PolarCharts.Index) (n : ℕ) (w : SpaceTime) : |
| 45 | (cylindricalPoint a j n w).2 2 = w.2 2 := by |
| 46 | simp [cylindricalPoint] |
| 47 | |
| 48 | theorem rotated_projection_pos {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 49 | {w : SpaceTime} |
| 50 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 51 | 0 < (PolarCharts.rotate j (PhysicalGraphBounds.radialProjection w)).1 := by |
| 52 | have hs : 0 < (PolarCharts.rotate j (PhysicalGraphBounds.scaledRadial n w)).1 := |
| 53 | lt_trans (by positivity : 0 < a / 4) hw |
| 54 | change 0 < (PolarCharts.rotate j |
| 55 | ((ChartScales.Q n ^ (-(1 / 2 : ℝ))) • PhysicalGraphBounds.radialProjection w)).1 at hs |
| 56 | rw [PolarCharts.rotate_smul, Prod.smul_fst, smul_eq_mul] at hs |
| 57 | exact (mul_pos_iff_of_pos_left (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _)).mp hs |
| 58 | |
| 59 | theorem radial_projection_radius_pos {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 60 | {w : SpaceTime} |
| 61 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 62 | 0 < PolarCharts.radius (PhysicalGraphBounds.radialProjection w) := by |
| 63 | rw [← PolarCharts.radius_rotate j] |
| 64 | exact PolarCharts.radius_pos_of_fst_pos (rotated_projection_pos ha j n hw) |
| 65 | |
| 66 | theorem cylindricalPoint_radius_pos {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 67 | {w : SpaceTime} |
| 68 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 69 | 0 < (cylindricalPoint a j n w).2 0 := by |
| 70 | rw [cylindricalPoint_radius] |
| 71 | exact radial_projection_radius_pos ha j n hw |
| 72 | |
| 73 | theorem angle_eq_localChart {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 74 | {w : SpaceTime} |
| 75 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 76 | angle a j n w = (PolarCharts.localChart j (PhysicalGraphBounds.radialProjection w)).2 := by |
| 77 | unfold angle |
| 78 | rw [PolarCharts.chart_eq_localChart ha j hw] |
| 79 | change (PolarCharts.localChart j |
| 80 | ((ChartScales.Q n ^ (-(1 / 2 : ℝ))) • PhysicalGraphBounds.radialProjection w)).2 = _ |
| 81 | rw [PolarCharts.localChart_smul j (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _)] |
| 82 | |
| 83 | theorem polar_radius_angle {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 84 | {w : SpaceTime} |
| 85 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 86 | PolarCharts.polar (PolarCharts.radius (PhysicalGraphBounds.radialProjection w), angle a j n w) = |
| 87 | PhysicalGraphBounds.radialProjection w := by |
| 88 | rw [angle_eq_localChart ha j n hw] |
| 89 | convert! PolarCharts.polar_localChart j (rotated_projection_pos ha j n hw) using 1 |
| 90 | rw [PolarCharts.localChart_apply] |
| 91 | |
| 92 | /-- The spatial cylindrical chart returns the original Cartesian point. -/ |
| 93 | theorem chart_cylindricalPoint {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 94 | {w : SpaceTime} |
| 95 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 96 | CylindricalResidual.chart (cylindricalPoint a j n w).2 = w.2 := by |
| 97 | have hp := polar_radius_angle ha j n hw |
| 98 | ext i |
| 99 | fin_cases i |
| 100 | · simpa [CylindricalResidual.chart, cylindricalPoint, PolarCharts.polar] using congrArg Prod.fst hp |
| 101 | · simpa [CylindricalResidual.chart, cylindricalPoint, PolarCharts.polar] using congrArg Prod.snd hp |
| 102 | · simp [CylindricalResidual.chart, cylindricalPoint] |
| 103 | |
| 104 | /-- The time coordinate is unchanged by the actual spatial chart. -/ |
| 105 | theorem spacetimeChart_cylindricalPoint {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) |
| 106 | {w : SpaceTime} |
| 107 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 108 | ((cylindricalPoint a j n w).1, CylindricalResidual.chart (cylindricalPoint a j n w).2) = w := by |
| 109 | rw [cylindricalPoint_time, chart_cylindricalPoint ha j n hw] |
| 110 | |
| 111 | /-- The two frozen graph interfaces use the same linear map in `(T,Z)` order. -/ |
| 112 | theorem physicalToChartTZ_eq (h : ℝ) (n k : ℕ) : |
| 113 | PhysicalResidualTZ.physicalToChartTZ h n k = VariableGaugeMean.physicalToChartTZ h n k := by |
| 114 | rw [PhysicalResidualTZ.physicalToChartTZ_eq_formula] |
| 115 | rfl |
| 116 | |
| 117 | /-- The absolute cylindrical lift is the actual physical mean input, |
| 118 | including its radial and time auxiliary profile. -/ |
| 119 | theorem absoluteLiftTZ_cylindricalPoint (h a : ℝ) (j : PolarCharts.Index) (n : ℕ) |
| 120 | (w : SpaceTime) : |
| 121 | PhysicalResidualTZ.absoluteLiftTZ h (cylindricalPoint a j n w) = |
| 122 | PhysicalMeanJetBounds.physicalPoint h w := by |
| 123 | simp only [PhysicalResidualTZ.absoluteLiftTZ, PhysicalResidualBridge.absoluteLift, |
| 124 | cylindricalPoint_time, cylindricalPoint_radius, cylindricalPoint_axial, |
| 125 | PhysicalResidualTZ.swapSlow_apply, PhysicalMeanJetBounds.physicalPoint, |
| 126 | PhysicalGraphBounds.radialProfile, PhysicalGraphBounds.radiusPower_eq] |
| 127 | rfl |
| 128 | |
| 129 | /-- Exact compatibility of the residual graph and the mean-field common |
| 130 | cover, with the same native-index gap and the actual local chart angle. -/ |
| 131 | theorem graphMapTZ_cylindricalPoint {a : ℝ} (ha : 0 < a) (h : ℝ) (j : PolarCharts.Index) |
| 132 | (n d : ℕ) (hd : d ≤ ChartScales.nativeIndex h n) {w : SpaceTime} |
| 133 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 134 | PhysicalResidualTZ.graphMapTZ |
| 135 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - d)) |
| 136 | (cylindricalPoint a j n w) = |
| 137 | (PhysicalMeanJetBounds.graph h n d w, angle a j n w) := by |
| 138 | rw [PhysicalResidualTZ.commonGraph_eq_physicalToChartTZ h n |
| 139 | (ChartScales.nativeIndex h n - d) (cylindricalPoint_radius_pos ha j n hw), |
| 140 | absoluteLiftTZ_cylindricalPoint, physicalToChartTZ_eq, |
| 141 | ← PhysicalMeanJetBounds.graph_eq_physicalToChartTZ h n d hd w, |
| 142 | cylindricalPoint_angle] |
| 143 | |
| 144 | /-- The radial coordinate of the scaled polar chart is exactly the first |
| 145 | coordinate used by the physical common graph. -/ |
| 146 | theorem chart_radius_eq_graph {a : ℝ} (ha : 0 < a) (h : ℝ) (j : PolarCharts.Index) |
| 147 | (n d : ℕ) {w : SpaceTime} |
| 148 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 149 | (PolarCharts.chart a j (PhysicalGraphBounds.scaledRadial n w)).1 = |
| 150 | (PhysicalMeanJetBounds.graph h n d w).1 := by |
| 151 | rw [PhysicalMeanJetBounds.graph_radius, PolarCharts.chart_eq_localChart ha j hw, |
| 152 | PolarCharts.localChart_apply] |
| 153 | |
| 154 | theorem eventually_chartDomain {a : ℝ} (j : PolarCharts.Index) (n : ℕ) {w : SpaceTime} |
| 155 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 156 | ∀ᶠ z in 𝓝 w, PhysicalGraphBounds.scaledRadial n z ∈ PolarCharts.chartDomain a j := |
| 157 | ((PolarCharts.chartDomain_open a j).preimage (PhysicalGraphBounds.scaledRadial n).continuous).mem_nhds hw |
| 158 | |
| 159 | theorem spacetimeChart_cylindricalPoint_eventually {a : ℝ} (ha : 0 < a) |
| 160 | (j : PolarCharts.Index) (n : ℕ) {w : SpaceTime} |
| 161 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 162 | (fun z => ((cylindricalPoint a j n z).1, |
| 163 | CylindricalResidual.chart (cylindricalPoint a j n z).2)) =ᶠ[𝓝 w] id := by |
| 164 | filter_upwards [eventually_chartDomain j n hw] with z hz |
| 165 | exact spacetimeChart_cylindricalPoint ha j n hz |
| 166 | |
| 167 | theorem graphMapTZ_cylindricalPoint_eventually {a : ℝ} (ha : 0 < a) (h : ℝ) |
| 168 | (j : PolarCharts.Index) (n d : ℕ) (hd : d ≤ ChartScales.nativeIndex h n) {w : SpaceTime} |
| 169 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 170 | (fun z => PhysicalResidualTZ.graphMapTZ |
| 171 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - d)) |
| 172 | (cylindricalPoint a j n z)) =ᶠ[𝓝 w] |
| 173 | (fun z => (PhysicalMeanJetBounds.graph h n d z, angle a j n z)) := by |
| 174 | filter_upwards [eventually_chartDomain j n hw] with z hz |
| 175 | exact graphMapTZ_cylindricalPoint ha h j n d hd hz |
| 176 | |
| 177 | end NavierStokes.ResidualPolarGraph |