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.SlowResidualMatching |
| 2 | |
| 3 | /-! |
| 4 | # Regular finite tail coefficients at the symmetry axis |
| 5 | |
| 6 | The radial flux is `V_n = X * beta_n`. This module uses that identity in the |
| 7 | actual finite tails. The resulting coefficient functions contain no division |
| 8 | by `X`; their finite indices and powers of `q` are unchanged. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped BigOperators Topology ContDiff |
| 15 | |
| 16 | namespace NavierStokes.AxisTailRegularity |
| 17 | |
| 18 | open SimilarityProfile (InnerPoint InnerProfile PhysicalPoint partialX Z) |
| 19 | open SlowExpansionResidual |
| 20 | open SlowResidualMatching |
| 21 | |
| 22 | /-- The transport kernel after canceling the radial flux factor. -/ |
| 23 | noncomputable def regularTransportKernel (h e α : ℝ) |
| 24 | (beta u f : ℕ → InnerProfile) (w : InnerPoint) (i j : ℕ) : ℝ := |
| 25 | beta i w * (w.1 * partialX (f j) w + α * f j w) + |
| 26 | u i w * Z h (e + slowOrder h j) (f j) w |
| 27 | |
| 28 | /-- The radial transport kernel divided by its factor `X`. -/ |
| 29 | noncomputable def regularRadialKernel (h : ℝ) |
| 30 | (beta u : ℕ → InnerProfile) (w : InnerPoint) (i j : ℕ) : ℝ := |
| 31 | beta i w * (beta j w / 2 + w.1 * partialX (beta j) w) + |
| 32 | u i w * Z h (slowOrder h j - 1) (beta j) w |
| 33 | |
| 34 | /-- Same omitted pairs and final viscosity term as the original transport tail. -/ |
| 35 | noncomputable def regularTransportTerm (N : ℕ) (h e α : ℝ) |
| 36 | (beta u f : ℕ → InnerProfile) : TailIndex → InnerProfile |
| 37 | | none => fun w => -Z2 h (e + slowOrder h N) (f N) w |
| 38 | | some ij => fun w => regularTransportKernel h e α beta u f w ij.1 ij.2 |
| 39 | |
| 40 | /-- Each original radial pressure coefficient divided by `2X`, with the |
| 41 | factor canceled before evaluation. In particular this defines its smooth |
| 42 | extension at `X = 0`, rather than using total division there. -/ |
| 43 | noncomputable def regularPressureTerm (N : ℕ) (h C : ℝ) |
| 44 | (phi u beta : ℕ → InnerProfile) : PressureIndex → InnerProfile |
| 45 | | Sum.inl none => fun w => -Z2 h (slowOrder h N - 1) (beta N) w / 2 |
| 46 | | Sum.inl (some ij) => fun w => regularRadialKernel h beta u w ij.1 ij.2 / 2 |
| 47 | | Sum.inr none => fun w => AxisSourceRegularity.omegaDivX h u beta N w / 2 |
| 48 | | Sum.inr (some ij) => fun w => -(C⁻¹ ^ 2) * (phi ij.1 w * phi ij.2 w) |
| 49 | |
| 50 | theorem tail_pair_indices {N : ℕ} {ij : ℕ × ℕ} |
| 51 | (hij : some ij ∈ transportIndices N) : ij.1 ≤ N ∧ ij.2 ≤ N := by |
| 52 | have hp := ((mem_transportIndices_some N ij).mp hij).1 |
| 53 | exact ⟨Nat.le_of_lt_succ (Finset.mem_range.mp (Finset.mem_product.mp hp).1), |
| 54 | Nat.le_of_lt_succ (Finset.mem_range.mp (Finset.mem_product.mp hp).2)⟩ |
| 55 | |
| 56 | theorem transportKernel_axisFactor (h e α : ℝ) (beta u f : ℕ → InnerProfile) |
| 57 | (i j : ℕ) {w : InnerPoint} (hX : w.1 ≠ 0) : |
| 58 | transportKernel h e α (fun n => AxisSourceRegularity.axisFactor (beta n)) u f w i j = |
| 59 | regularTransportKernel h e α beta u f w i j := by |
| 60 | simp only [transportKernel, transportPair, AxisSourceRegularity.axisFactor, |
| 61 | regularTransportKernel] |
| 62 | field_simp |
| 63 | |
| 64 | /-- Radial transport is genuinely divisible by `X`, including at the axis. -/ |
| 65 | theorem radialKernel_axisFactor (h : ℝ) (beta u : ℕ → InnerProfile) |
| 66 | (i j : ℕ) {w : InnerPoint} (hb : DifferentiableAt ℝ (beta j) w) : |
| 67 | transportKernel h 0 (-(1 / 2)) |
| 68 | (fun n => AxisSourceRegularity.axisFactor (beta n)) u |
| 69 | (fun n => AxisSourceRegularity.axisFactor (beta n)) w i j = |
| 70 | w.1 * regularRadialKernel h beta u w i j := by |
| 71 | simp only [transportKernel, transportPair, zero_add] |
| 72 | have hhalf : (-(1 / 2) : ℝ) * AxisSourceRegularity.axisFactor (beta j) w / w.1 = |
| 73 | -(AxisSourceRegularity.axisFactor (beta j) w / (2 * w.1)) := by ring |
| 74 | rw [hhalf, ← sub_eq_add_neg, AxisSourceRegularity.radial_advection_axisFactor hb, |
| 75 | AxisSourceRegularity.Z_axisFactor h (slowOrder h j) hb] |
| 76 | unfold regularRadialKernel |
| 77 | ring |
| 78 | |
| 79 | theorem transportTerm_axisFactor (N : ℕ) (h e α : ℝ) |
| 80 | (beta u f : ℕ → InnerProfile) (i : TailIndex) {w : InnerPoint} (hX : w.1 ≠ 0) : |
| 81 | transportTerm N h e α (fun n => AxisSourceRegularity.axisFactor (beta n)) u f i w = |
| 82 | regularTransportTerm N h e α beta u f i w := by |
| 83 | cases i with |
| 84 | | none => rfl |
| 85 | | some ij => exact transportKernel_axisFactor h e α beta u f ij.1 ij.2 hX |
| 86 | |
| 87 | /-- All radial pressure branches have the factor `2X` before division. -/ |
| 88 | theorem pressureTerm_axisFactor (N : ℕ) (h C : ℝ) |
| 89 | (phi u beta pressure : ℕ → InnerProfile) {w : InnerPoint} |
| 90 | (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) |
| 91 | (hL : CoordinateAlgebra.L h w.2 ≠ 0) |
| 92 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 93 | pressureTerm N h C (ofBeta phi u beta pressure) i w = |
| 94 | 2 * w.1 * regularPressureTerm N h C phi u beta i w := by |
| 95 | cases i with |
| 96 | | inl i => |
| 97 | have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi |
| 98 | cases i with |
| 99 | | none => |
| 100 | change -Z2 h (0 + slowOrder h N) (AxisSourceRegularity.axisFactor (beta N)) w = _ |
| 101 | rw [zero_add] |
| 102 | rw [show Z2 h (slowOrder h N) (AxisSourceRegularity.axisFactor (beta N)) w = |
| 103 | w.1 * Z2 h (slowOrder h N - 1) (beta N) w from |
| 104 | AxisSourceRegularity.Z2_axisFactor h (slowOrder h N) (hb N le_rfl) hL] |
| 105 | simp only [regularPressureTerm] |
| 106 | ring |
| 107 | | some ij => |
| 108 | have hj := (tail_pair_indices hi').2 |
| 109 | change transportKernel h 0 (-(1 / 2)) |
| 110 | (fun n => AxisSourceRegularity.axisFactor (beta n)) u |
| 111 | (fun n => AxisSourceRegularity.axisFactor (beta n)) w ij.1 ij.2 = _ |
| 112 | rw [radialKernel_axisFactor h beta u ij.1 ij.2 ((hb ij.2 hj).differentiableAt (by norm_num))] |
| 113 | simp only [regularPressureTerm] |
| 114 | ring |
| 115 | | inr i => |
| 116 | cases i with |
| 117 | | none => |
| 118 | change omegaCoefficient h (ofBeta phi u beta pressure) N w = _ |
| 119 | rw [omegaCoefficient_eq_omega] |
| 120 | change AxisSourceRegularity.omega h u (fun n => AxisSourceRegularity.axisFactor (beta n)) N w = _ |
| 121 | rw [AxisSourceRegularity.omega_axisFactor h u beta N w hb hL] |
| 122 | simp only [regularPressureTerm] |
| 123 | ring |
| 124 | | some ij => |
| 125 | simp only [pressureTerm, ofBeta, regularPressureTerm] |
| 126 | ring |
| 127 | |
| 128 | theorem pressureTerm_div_axisFactor (N : ℕ) (h C : ℝ) |
| 129 | (phi u beta pressure : ℕ → InnerProfile) {w : InnerPoint} |
| 130 | (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) |
| 131 | (hL : CoordinateAlgebra.L h w.2 ≠ 0) (hX : w.1 ≠ 0) |
| 132 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 133 | pressureTerm N h C (ofBeta phi u beta pressure) i w / (2 * w.1) = |
| 134 | regularPressureTerm N h C phi u beta i w := by |
| 135 | rw [pressureTerm_axisFactor N h C phi u beta pressure hb hL hi] |
| 136 | exact mul_div_cancel_left₀ _ (mul_ne_zero (by norm_num) hX) |
| 137 | |
| 138 | theorem regularTransportKernel_smoothAt (h e α : ℝ) |
| 139 | (beta u f : ℕ → InnerProfile) (i j : ℕ) {w : InnerPoint} |
| 140 | (hb : ContDiffAt ℝ ∞ (beta i) w) (hu : ContDiffAt ℝ ∞ (u i) w) |
| 141 | (hf : ContDiffAt ℝ ∞ (f j) w) (hL : CoordinateAlgebra.L h w.2 ≠ 0) : |
| 142 | ContDiffAt ℝ ∞ (fun y => regularTransportKernel h e α beta u f y i j) w := by |
| 143 | exact (hb.mul ((contDiffAt_fst.mul (AxisSourceRegularity.partialX_smooth hf)).add |
| 144 | (contDiffAt_const.mul hf))).add |
| 145 | (hu.mul (AxisSourceRegularity.Z_smooth h (e + slowOrder h j) hf hL)) |
| 146 | |
| 147 | theorem regularRadialKernel_smoothAt (h : ℝ) |
| 148 | (beta u : ℕ → InnerProfile) (i j : ℕ) {w : InnerPoint} |
| 149 | (hbi : ContDiffAt ℝ ∞ (beta i) w) (hbj : ContDiffAt ℝ ∞ (beta j) w) |
| 150 | (hu : ContDiffAt ℝ ∞ (u i) w) (hL : CoordinateAlgebra.L h w.2 ≠ 0) : |
| 151 | ContDiffAt ℝ ∞ (fun y => regularRadialKernel h beta u y i j) w := by |
| 152 | exact (hbi.mul ((hbj.div contDiffAt_const (by norm_num)).add |
| 153 | (contDiffAt_fst.mul (AxisSourceRegularity.partialX_smooth hbj)))).add |
| 154 | (hu.mul (AxisSourceRegularity.Z_smooth h (slowOrder h j - 1) hbj hL)) |
| 155 | |
| 156 | theorem regularTransportTerm_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 157 | (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) |
| 158 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 159 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 160 | (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) |
| 161 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 162 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 163 | ContDiffOn ℝ ∞ (regularTransportTerm N h e α beta u f i) O := by |
| 164 | intro w hw |
| 165 | apply ContDiffAt.contDiffWithinAt |
| 166 | cases i with |
| 167 | | none => |
| 168 | exact (AxisSourceRegularity.Z2_smooth h (e + slowOrder h N) |
| 169 | ((hf N le_rfl).contDiffAt (hO.mem_nhds hw)) (hL w hw)).neg |
| 170 | | some ij => |
| 171 | obtain ⟨hiN, hjN⟩ := tail_pair_indices hi |
| 172 | exact regularTransportKernel_smoothAt h e α beta u f ij.1 ij.2 |
| 173 | ((hb ij.1 hiN).contDiffAt (hO.mem_nhds hw)) |
| 174 | ((hu ij.1 hiN).contDiffAt (hO.mem_nhds hw)) |
| 175 | ((hf ij.2 hjN).contDiffAt (hO.mem_nhds hw)) (hL w hw) |
| 176 | |
| 177 | theorem regularPressureTerm_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 178 | (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) |
| 179 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 180 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 181 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 182 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 183 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 184 | ContDiffOn ℝ ∞ (regularPressureTerm N h C phi u beta i) O := by |
| 185 | intro w hw |
| 186 | apply ContDiffAt.contDiffWithinAt |
| 187 | have hba : ∀ j ≤ N, ContDiffAt ℝ ∞ (beta j) w := |
| 188 | fun j hj => (hb j hj).contDiffAt (hO.mem_nhds hw) |
| 189 | have hua : ∀ j ≤ N, ContDiffAt ℝ ∞ (u j) w := |
| 190 | fun j hj => (hu j hj).contDiffAt (hO.mem_nhds hw) |
| 191 | cases i with |
| 192 | | inl i => |
| 193 | have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi |
| 194 | cases i with |
| 195 | | none => |
| 196 | exact (AxisSourceRegularity.Z2_smooth h (slowOrder h N - 1) |
| 197 | (hba N le_rfl) (hL w hw)).neg.div contDiffAt_const (by norm_num) |
| 198 | | some ij => |
| 199 | obtain ⟨hiN, hjN⟩ := tail_pair_indices hi' |
| 200 | exact (regularRadialKernel_smoothAt h beta u ij.1 ij.2 (hba ij.1 hiN) |
| 201 | (hba ij.2 hjN) (hua ij.1 hiN) (hL w hw)).div contDiffAt_const (by norm_num) |
| 202 | | inr i => |
| 203 | have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi |
| 204 | cases i with |
| 205 | | none => |
| 206 | exact (AxisSourceRegularity.omegaDivX_smooth h u beta N w hua hba (hL w hw)).div |
| 207 | contDiffAt_const (by norm_num) |
| 208 | | some ij => |
| 209 | obtain ⟨hiN, hjN⟩ := tail_pair_indices hi' |
| 210 | exact contDiffAt_const.mul (((hp ij.1 hiN).contDiffAt (hO.mem_nhds hw)).mul |
| 211 | ((hp ij.2 hjN).contDiffAt (hO.mem_nhds hw))) |
| 212 | |
| 213 | /-! ## Local identification with the actual coefficient functions -/ |
| 214 | |
| 215 | theorem transportKernel_congr_germ (h e α : ℝ) |
| 216 | {v u f v' u' f' : ℕ → InnerProfile} (i j : ℕ) {w : InnerPoint} |
| 217 | (hv : v i =ᶠ[𝓝 w] v' i) (hu : u i =ᶠ[𝓝 w] u' i) |
| 218 | (hf : f j =ᶠ[𝓝 w] f' j) : |
| 219 | transportKernel h e α v u f w i j = transportKernel h e α v' u' f' w i j := by |
| 220 | simp only [transportKernel, transportPair, hv.eq_of_nhds, hu.eq_of_nhds, |
| 221 | hf.eq_of_nhds, (partialX_congr_germ hf).eq_of_nhds, |
| 222 | (Z_congr_germ h (e + slowOrder h j) hf).eq_of_nhds] |
| 223 | |
| 224 | theorem transportTerm_congr_germ (N : ℕ) (h e α : ℝ) |
| 225 | {v u f v' u' f' : ℕ → InnerProfile} {w : InnerPoint} |
| 226 | (hv : ∀ j ≤ N, v j =ᶠ[𝓝 w] v' j) |
| 227 | (hu : ∀ j ≤ N, u j =ᶠ[𝓝 w] u' j) |
| 228 | (hf : ∀ j ≤ N, f j =ᶠ[𝓝 w] f' j) |
| 229 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 230 | transportTerm N h e α v u f i w = transportTerm N h e α v' u' f' i w := by |
| 231 | cases i with |
| 232 | | none => exact congrArg Neg.neg (Z2_congr_germ h (e + slowOrder h N) (hf N le_rfl)) |
| 233 | | some ij => |
| 234 | obtain ⟨hiN, hjN⟩ := tail_pair_indices hi |
| 235 | exact transportKernel_congr_germ h e α ij.1 ij.2 |
| 236 | (hv ij.1 hiN) (hu ij.1 hiN) (hf ij.2 hjN) |
| 237 | |
| 238 | theorem pressureTerm_congr_germ (N : ℕ) (h C : ℝ) |
| 239 | {f g : SlowProfiles} {w : InnerPoint} |
| 240 | (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 w] g.flux j) |
| 241 | (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 w] g.axial j) |
| 242 | (hp : ∀ j ≤ N, f.phi j =ᶠ[𝓝 w] g.phi j) |
| 243 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 244 | pressureTerm N h C f i w = pressureTerm N h C g i w := by |
| 245 | cases i with |
| 246 | | inl i => |
| 247 | have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi |
| 248 | exact transportTerm_congr_germ N h 0 (-(1 / 2)) hv hu hv hi' |
| 249 | | inr i => |
| 250 | have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi |
| 251 | cases i with |
| 252 | | none => exact omegaCoefficient_congr_germ h N hv hu |
| 253 | | some ij => |
| 254 | obtain ⟨hiN, hjN⟩ := tail_pair_indices hi' |
| 255 | simp only [pressureTerm, (hp ij.1 hiN).eq_of_nhds, (hp ij.2 hjN).eq_of_nhds] |
| 256 | |
| 257 | /-- Only agreement of the local coefficient germs is required. Global |
| 258 | extensions may have different values for negative `X`. -/ |
| 259 | theorem transportTerm_eq_regular_of_germs (N : ℕ) (h e α : ℝ) |
| 260 | {v u f beta u' f' : ℕ → InnerProfile} {w : InnerPoint} |
| 261 | (hv : ∀ j ≤ N, v j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) |
| 262 | (hu : ∀ j ≤ N, u j =ᶠ[𝓝 w] u' j) |
| 263 | (hf : ∀ j ≤ N, f j =ᶠ[𝓝 w] f' j) |
| 264 | (hX : w.1 ≠ 0) {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 265 | transportTerm N h e α v u f i w = regularTransportTerm N h e α beta u' f' i w := by |
| 266 | rw [transportTerm_congr_germ N h e α hv hu hf hi] |
| 267 | exact transportTerm_axisFactor N h e α beta u' f' i hX |
| 268 | |
| 269 | theorem pressureTerm_eq_regular_of_germs (N : ℕ) (h C : ℝ) |
| 270 | {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} {w : InnerPoint} |
| 271 | (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) |
| 272 | (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 w] u j) |
| 273 | (hp : ∀ j ≤ N, f.phi j =ᶠ[𝓝 w] phi j) |
| 274 | (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) |
| 275 | (hL : CoordinateAlgebra.L h w.2 ≠ 0) (hX : w.1 ≠ 0) |
| 276 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 277 | pressureTerm N h C f i w / (2 * w.1) = regularPressureTerm N h C phi u beta i w := by |
| 278 | have he : pressureTerm N h C f i w = |
| 279 | pressureTerm N h C (ofBeta phi u beta f.pressure) i w := |
| 280 | pressureTerm_congr_germ N h C hv hu hp hi |
| 281 | rw [he] |
| 282 | exact pressureTerm_div_axisFactor N h C phi u beta f.pressure hb hL hX hi |
| 283 | |
| 284 | /-- Equality on the nonnegative part of an open set gives the needed germ |
| 285 | at every positive radial coordinate. No negative-coordinate matching is used. -/ |
| 286 | theorem germ_of_nonnegative_eqOn {O : Set InnerPoint} (hO : IsOpen O) |
| 287 | {f g : InnerProfile} (hfg : ∀ w ∈ O, 0 ≤ w.1 → f w = g w) |
| 288 | {w : InnerPoint} (hw : w ∈ O) (hX : 0 < w.1) : f =ᶠ[𝓝 w] g := by |
| 289 | have hx : ∀ᶠ y : InnerPoint in 𝓝 w, 0 < y.1 := |
| 290 | (isOpen_lt continuous_const continuous_fst).mem_nhds hX |
| 291 | filter_upwards [hO.mem_nhds hw, hx] with y hy hyX |
| 292 | exact hfg y hy hyX.le |
| 293 | |
| 294 | theorem transportTerm_eq_regular_on_nonnegative {O : Set InnerPoint} (hO : IsOpen O) |
| 295 | (N : ℕ) (h e α : ℝ) {v u f beta u' f' : ℕ → InnerProfile} |
| 296 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → v j w = w.1 * beta j w) |
| 297 | (hu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → u j w = u' j w) |
| 298 | (hf : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f j w = f' j w) |
| 299 | {w : InnerPoint} (hw : w ∈ O) (hX : 0 < w.1) |
| 300 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 301 | transportTerm N h e α v u f i w = regularTransportTerm N h e α beta u' f' i w := by |
| 302 | exact transportTerm_eq_regular_of_germs N h e α |
| 303 | (fun j hj => germ_of_nonnegative_eqOn hO (hv j hj) hw hX) |
| 304 | (fun j hj => germ_of_nonnegative_eqOn hO (hu j hj) hw hX) |
| 305 | (fun j hj => germ_of_nonnegative_eqOn hO (hf j hj) hw hX) hX.ne' hi |
| 306 | |
| 307 | theorem pressureTerm_eq_regular_on_nonnegative {O : Set InnerPoint} (hO : IsOpen O) |
| 308 | (N : ℕ) (h C : ℝ) {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} |
| 309 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 310 | (hu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 311 | (hp : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 312 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 313 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 314 | {w : InnerPoint} (hw : w ∈ O) (hX : 0 < w.1) |
| 315 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 316 | pressureTerm N h C f i w / (2 * w.1) = regularPressureTerm N h C phi u beta i w := by |
| 317 | exact pressureTerm_eq_regular_of_germs N h C |
| 318 | (fun j hj => germ_of_nonnegative_eqOn hO (hv j hj) hw hX) |
| 319 | (fun j hj => germ_of_nonnegative_eqOn hO (hu j hj) hw hX) |
| 320 | (fun j hj => germ_of_nonnegative_eqOn hO (hp j hj) hw hX) |
| 321 | (fun j hj => ((hb j hj).contDiffAt (hO.mem_nhds hw)).of_le |
| 322 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le) |
| 323 | (hL w hw) hX.ne' hi |
| 324 | |
| 325 | /-! ## The same finite monomials, with regular inner coefficients -/ |
| 326 | |
| 327 | theorem transportTail_eq_regular_of_germs (N : ℕ) (q h e α : ℝ) |
| 328 | {v u f beta u' f' : ℕ → InnerProfile} {w : InnerPoint} |
| 329 | (hv : ∀ j ≤ N, v j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) |
| 330 | (hu : ∀ j ≤ N, u j =ᶠ[𝓝 w] u' j) |
| 331 | (hf : ∀ j ≤ N, f j =ᶠ[𝓝 w] f' j) (hX : w.1 ≠ 0) : |
| 332 | transportTail N q h e α v u f w = |
| 333 | ∑ i ∈ transportIndices N, |
| 334 | q ^ transportPower N h e i * regularTransportTerm N h e α beta u' f' i w := by |
| 335 | rw [transportTail_eq_finite_monomials] |
| 336 | apply Finset.sum_congr rfl |
| 337 | intro i hi |
| 338 | rw [transportTerm_eq_regular_of_germs N h e α hv hu hf hX hi] |
| 339 | |
| 340 | theorem pressureTail_div_eq_regular_of_germs (N : ℕ) (q h C : ℝ) |
| 341 | {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} {w : InnerPoint} |
| 342 | (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) |
| 343 | (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 w] u j) |
| 344 | (hp : ∀ j ≤ N, f.phi j =ᶠ[𝓝 w] phi j) |
| 345 | (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) |
| 346 | (hL : CoordinateAlgebra.L h w.2 ≠ 0) (hX : w.1 ≠ 0) : |
| 347 | pressureTail N q h C f w / (2 * w.1) = |
| 348 | ∑ i ∈ pressureIndices N, |
| 349 | q ^ pressurePower N h i * regularPressureTerm N h C phi u beta i w := by |
| 350 | rw [pressureTail_eq_finite_monomials, Finset.sum_div] |
| 351 | apply Finset.sum_congr rfl |
| 352 | intro i hi |
| 353 | rw [mul_div_assoc, pressureTerm_eq_regular_of_germs N h C hv hu hp hb hL hX hi] |
| 354 | |
| 355 | /-- The physical radial denominator contributes precisely the original |
| 356 | single power of `q`. Regularizing `X` costs no further power. -/ |
| 357 | theorem radialTail_eq_regular_of_germs {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 358 | (N : ℕ) (C : ℝ) {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} |
| 359 | {p : PhysicalPoint} (hp : p.1 < 1) (hs : 0 < p.2.1) |
| 360 | (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 (SimilarityProfile.inner h p)] |
| 361 | AxisSourceRegularity.axisFactor (beta j)) |
| 362 | (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 (SimilarityProfile.inner h p)] u j) |
| 363 | (hphi : ∀ j ≤ N, f.phi j =ᶠ[𝓝 (SimilarityProfile.inner h p)] phi j) |
| 364 | (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) (SimilarityProfile.inner h p)) |
| 365 | (hL : CoordinateAlgebra.L h (SimilarityProfile.inner h p).2 ≠ 0) : |
| 366 | pressureTail N (SimilarityProfile.q h p) h C f (SimilarityProfile.inner h p) / |
| 367 | (2 * p.2.1) = |
| 368 | ∑ i ∈ pressureIndices N, |
| 369 | SimilarityProfile.q h p ^ (pressurePower N h i - 1) * |
| 370 | regularPressureTerm N h C phi u beta i (SimilarityProfile.inner h p) := by |
| 371 | rw [radialTail_eq_finite_monomials hh hh1 N C f hp hs] |
| 372 | apply Finset.sum_congr rfl |
| 373 | intro i hi |
| 374 | rw [pressureTerm_eq_regular_of_germs N h C hv hu hphi hb hL |
| 375 | (LeadingStress.inner_X_pos hh hh1 hp hs).ne' hi] |
| 376 | |
| 377 | theorem angular_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) |
| 378 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 379 | 2 * (N : ℝ) * h - 2 ≤ transportPower N h (angularExponent h) i := by |
| 380 | have hb := common_tail_power_lower hh N |
| 381 | exact hb.1 ▸ hb.2.1.trans (transportPower_lower hh N (angularExponent h) hi) |
| 382 | |
| 383 | theorem axial_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) |
| 384 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 385 | 2 * (N : ℝ) * h - 2 ≤ transportPower N h (axialExponent h) i := by |
| 386 | have hb := common_tail_power_lower hh N |
| 387 | exact hb.1 ▸ hb.2.2.trans (transportPower_lower hh N (axialExponent h) hi) |
| 388 | |
| 389 | theorem radial_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) |
| 390 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 391 | 2 * (N : ℝ) * h - 2 ≤ pressurePower N h i - 1 := by |
| 392 | have hb := (common_tail_power_lower hh N).1 |
| 393 | have hp := pressurePower_lower hh N hi |
| 394 | linarith |
| 395 | |
| 396 | /-! ## Actual smoothness through `X = 0` and even radial pullbacks -/ |
| 397 | |
| 398 | theorem radiusPoint_contDiff : ContDiff ℝ ∞ radiusPoint := by |
| 399 | change ContDiff ℝ ∞ (fun w : InnerPoint => (w.1 ^ 2 / 2, w.2)) |
| 400 | exact ((contDiff_fst.pow 2).div_const 2).prodMk contDiff_snd |
| 401 | |
| 402 | theorem toRadius_smoothOn {O : Set InnerPoint} {f : InnerProfile} |
| 403 | (hf : ContDiffOn ℝ ∞ f O) : |
| 404 | ContDiffOn ℝ ∞ (toRadius f) (radiusPoint ⁻¹' O) := |
| 405 | hf.comp radiusPoint_contDiff.contDiffOn (fun _ hw => hw) |
| 406 | |
| 407 | theorem toRadius_even (f : InnerProfile) (R η : ℝ) : |
| 408 | toRadius f (-R, η) = toRadius f (R, η) := by |
| 409 | simp [toRadius, radiusPoint] |
| 410 | |
| 411 | theorem regularTransportTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 412 | (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) |
| 413 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 414 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 415 | (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) |
| 416 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 417 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 418 | ContDiffOn ℝ ∞ (regularTransportTerm N h e α beta u f i) |
| 419 | (O ∩ {w | 0 ≤ w.1}) := |
| 420 | (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi).mono |
| 421 | Set.inter_subset_left |
| 422 | |
| 423 | theorem regularPressureTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 424 | (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) |
| 425 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 426 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 427 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 428 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 429 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 430 | ContDiffOn ℝ ∞ (regularPressureTerm N h C phi u beta i) |
| 431 | (O ∩ {w | 0 ≤ w.1}) := |
| 432 | (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi).mono |
| 433 | Set.inter_subset_left |
| 434 | |
| 435 | theorem regularTransportTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 436 | (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) |
| 437 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 438 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 439 | (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) |
| 440 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 441 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 442 | ContDiffOn ℝ ∞ (toRadius (regularTransportTerm N h e α beta u f i)) |
| 443 | (radiusPoint ⁻¹' O) := |
| 444 | toRadius_smoothOn (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi) |
| 445 | |
| 446 | theorem regularPressureTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) |
| 447 | (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) |
| 448 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 449 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 450 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 451 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 452 | {i : PressureIndex} (hi : i ∈ pressureIndices N) : |
| 453 | ContDiffOn ℝ ∞ (toRadius (regularPressureTerm N h C phi u beta i)) |
| 454 | (radiusPoint ⁻¹' O) := |
| 455 | toRadius_smoothOn (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi) |
| 456 | |
| 457 | end NavierStokes.AxisTailRegularity |