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

chore(NavierStokes/Polar): delete 16 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement p1-ns-physical s1-euler-all-2 s1-euler-all-3 s1-euler-angle-9 s1-euler-base-2 s1-euler-bounded-2 s1-euler-canonical-8 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-2 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-packet-8 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-actual-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-axisymmetric-8 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-2 s1-ns-cycle-3 s1-ns-defect-2 s1-ns-direct-2 s1-ns-edge-6 s1-ns-entrance-2 s1-ns-error-2 s1-ns-error-3 s1-ns-error-9 s1-ns-even-2 s1-ns-even-3 s1-ns-exponent-2 s1-ns-final-2 s1-ns-final-6 s1-ns-first-2 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-2 s1-ns-flat-3 s1-ns-flat-8 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-fourier-3 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-2 s1-ns-heat-3 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-2 s1-ns-linear-6 s1-ns-linear-7 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-localized-6 s1-ns-maximal-2 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mean-8 s1-ns-mixed-2 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-parametric-6 s1-ns-particular-1 s1-ns-particular-10 s1-ns-particular-2 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-2 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-phase-2 s1-ns-physical-2 s1-ns-physical-3 s1-ns-physical-8 s1-ns-polar-1 s1-ns-positive-2 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-2 s1-ns-pressure-9 s1-ns-primary-1 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-radial-9 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-reserved-8 s1-ns-residual-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-signed-3 s1-ns-signed-8 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-slow-6 s1-ns-smooth-2 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-solenoidal-2 s1-ns-spacetime-3 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-state-8 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-1 s1-ns-terminal-6 s1-ns-time-2 s1-ns-torus-2 s1-ns-torus-3 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-uniform-8 s1-ns-variable-2 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-volterra-2 s1-ns-wave-11 s1-ns-wave-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-2 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −126 NavierStokes/PolarCharts.lean View file
| @@ -53,9 +53,6 @@ theorem unrotate_rotate (j : Index) (p : Plane) : unrotate j (rotate j p) = p := | ||
| 53 | 53 | theorem rotate_unrotate (j : Index) (p : Plane) : rotate j (unrotate j p) = p := by |
| 54 | 54 | fin_cases j <;> simp [rotate, unrotate] |
| 55 | 55 | |
| 56 | -theorem norm_rotate (j : Index) (p : Plane) : ‖rotate j p‖ = ‖p‖ := by | |
| 57 | - fin_cases j <;> simp [rotate, Prod.norm_def, max_comm] | |
| 58 | - | |
| 59 | 56 | theorem rotate_sum_sq (j : Index) (p : Plane) : |
| 60 | 57 | (rotate j p).1 ^ 2 + (rotate j p).2 ^ 2 = p.1 ^ 2 + p.2 ^ 2 := by |
| 61 | 58 | fin_cases j <;> simp [rotate] <;> ring |
| @@ -163,14 +160,6 @@ theorem localChart_polar (j : Index) {r θ : ℝ} (hr : 0 < r) | ||
| 163 | 160 | rw [localChart, hrot, baseChart_polar hr hθ] |
| 164 | 161 | simp |
| 165 | 162 | |
| 166 | -theorem localChart_contDiffAt (j : Index) {p : Plane} (hp : 0 < (rotate j p).1) : | |
| 167 | - ContDiffAt ℝ ∞ (localChart j) p := by | |
| 168 | - have hc : ContDiffAt ℝ ∞ (rotate j) p := (rotate_contDiff j).contDiffAt | |
| 169 | - have hrad : (rotate j p).1 ^ 2 + (rotate j p).2 ^ 2 ≠ 0 := by | |
| 170 | - nlinarith [sq_nonneg (rotate j p).2] | |
| 171 | - exact ((hc.fst.pow 2).add (hc.snd.pow 2)).sqrt hrad |>.prodMk | |
| 172 | - ((hc.snd.div hc.fst hp.ne').arctan.add contDiffAt_const) | |
| 173 | - | |
| 174 | 163 | /-- The original normalized compact annulus uses the product norm. -/ |
| 175 | 164 | noncomputable def annulus (a b : ℝ) : Set Plane := |
| 176 | 165 | Metric.closedBall 0 b ∩ {p | a ≤ ‖p‖} |
| @@ -185,10 +174,6 @@ noncomputable def chartDomain (a : ℝ) (j : Index) : Set Plane := | ||
| 185 | 174 | theorem chartDomain_open (a : ℝ) (j : Index) : IsOpen (chartDomain a j) := |
| 186 | 175 | isOpen_lt continuous_const (rotate_contDiff j).continuous.fst |
| 187 | 176 | |
| 188 | -theorem sector_isCompact (a b : ℝ) (j : Index) : IsCompact (sector a b j) := | |
| 189 | - (isCompact_closedBall 0 b).inter_right | |
| 190 | - (isClosed_le continuous_const (rotate_contDiff j).continuous.fst) | |
| 191 | - | |
| 192 | 177 | theorem sector_subset_chartDomain {a b : ℝ} (ha : 0 < a) (j : Index) : |
| 193 | 178 | sector a b j ⊆ chartDomain a j := by |
| 194 | 179 | intro p hp |
| @@ -215,17 +200,6 @@ theorem annulus_covered {a b : ℝ} (ha : 0 < a) {p : Plane} (hp : p ∈ annulus | ||
| 215 | 200 | change a / 2 ≤ (rotate j p).1 |
| 216 | 201 | linarith |
| 217 | 202 | |
| 218 | -/-- The same four sectors cover a compact annulus defined by the Euclidean | |
| 219 | -radius, with the stated margin `rotated x ≥ a/2`. -/ | |
| 220 | -theorem euclidean_annulus_covered {a b : ℝ} {p : Plane} | |
| 221 | - (hlo : a ≤ radius p) (hhi : radius p ≤ b) : | |
| 222 | - ∃ j : Index, p ∈ sector a b j := by | |
| 223 | - have hn : a / 2 ≤ ‖p‖ := by linarith [radius_le_two_norm p] | |
| 224 | - obtain ⟨j, hj⟩ := exists_rotate_fst_ge hn | |
| 225 | - refine ⟨j, ?_, hj⟩ | |
| 226 | - rw [Metric.mem_closedBall, dist_zero_right] | |
| 227 | - exact (norm_le_radius p).trans hhi | |
| 228 | - | |
| 229 | 203 | /-- A concrete global extension of the base polar chart. -/ |
| 230 | 204 | noncomputable def extendedBase (a : ℝ) (p : Plane) : Plane := |
| 231 | 205 | (Real.sqrt (RadialPullback.positiveRadius (a ^ 2 / 32) (p.1 ^ 2 + p.2 ^ 2)), |
| @@ -262,11 +236,6 @@ theorem chart_eq_localChart {a : ℝ} (ha : 0 < a) (j : Index) {p : Plane} | ||
| 262 | 236 | (hp : p ∈ chartDomain a j) : chart a j p = localChart j p := by |
| 263 | 237 | simp only [chart, extendedBase_eq ha hp, localChart] |
| 264 | 238 | |
| 265 | -theorem chart_eventuallyEq_localChart {a : ℝ} (ha : 0 < a) (j : Index) {p : Plane} | |
| 266 | - (hp : p ∈ chartDomain a j) : chart a j =ᶠ[𝓝 p] localChart j := by | |
| 267 | - filter_upwards [(chartDomain_open a j).mem_nhds hp] with q hq | |
| 268 | - exact chart_eq_localChart ha j hq | |
| 269 | - | |
| 270 | 239 | theorem polar_chart {a : ℝ} (ha : 0 < a) (j : Index) {p : Plane} |
| 271 | 240 | (hp : p ∈ chartDomain a j) : polar (chart a j p) = p := by |
| 272 | 241 | rw [chart_eq_localChart ha j hp] |
| @@ -279,16 +248,6 @@ theorem chart_polar {a : ℝ} (ha : 0 < a) (j : Index) {r θ : ℝ} | ||
| 279 | 248 | (hp : polar (r, θ) ∈ chartDomain a j) : chart a j (polar (r, θ)) = (r, θ) := by |
| 280 | 249 | rw [chart_eq_localChart ha j hp, localChart_polar j hr hθ] |
| 281 | 250 | |
| 282 | -/-- On the compact sectors every actual derivative of the global extension | |
| 283 | -equals the derivative of the genuine local polar inverse. -/ | |
| 284 | -theorem chart_jet_eq_localChart {a : ℝ} (ha : 0 < a) (j : Index) {p : Plane} | |
| 285 | - (hp : p ∈ chartDomain a j) (k : ℕ) : | |
| 286 | - iteratedFDeriv ℝ k (chart a j) p = iteratedFDeriv ℝ k (localChart j) p := by | |
| 287 | - have he := chart_eventuallyEq_localChart ha j hp | |
| 288 | - have he' : chart a j =ᶠ[𝓝[univ] p] localChart j := by simpa using he | |
| 289 | - simpa only [iteratedFDerivWithin_univ] using | |
| 290 | - he'.iteratedFDerivWithin_eq he.eq_of_nhds k | |
| 291 | - | |
| 292 | 251 | /-- A single constant bounds all actual jets up to the given order for all |
| 293 | 252 | four explicit chart extensions on the fixed closed ball. -/ |
| 294 | 253 | theorem chart_finiteJets_uniform {a : ℝ} (ha : 0 < a) (b : ℝ) (m : ℕ) : |
| @@ -309,17 +268,6 @@ theorem chart_finiteJets_uniform {a : ℝ} (ha : 0 < a) (b : ℝ) (m : ℕ) : | ||
| 309 | 268 | Finset.single_le_sum (fun v _ => abs_nonneg (B v)) (Finset.mem_univ i) |
| 310 | 269 | exact (hB i p hp).trans ((le_abs_self (B i)).trans (by linarith)) |
| 311 | 270 | |
| 312 | -/-- The compact sectors cover the annulus and carry one uniform bound for the | |
| 313 | -actual local inverse jets, not merely for a prescribed jet family. -/ | |
| 314 | -theorem localChart_finiteJets_uniform {a : ℝ} (ha : 0 < a) (b : ℝ) (m : ℕ) : | |
| 315 | - ∃ C : ℝ, 1 ≤ C ∧ ∀ j : Index, ∀ k ≤ m, ∀ p ∈ sector a b j, | |
| 316 | - ‖iteratedFDeriv ℝ k (localChart j) p‖ ≤ C := by | |
| 317 | - obtain ⟨C, hC, hB⟩ := chart_finiteJets_uniform ha b m | |
| 318 | - refine ⟨C, hC, ?_⟩ | |
| 319 | - intro j k hk p hp | |
| 320 | - rw [← chart_jet_eq_localChart ha j (sector_subset_chartDomain ha j hp) k] | |
| 321 | - exact hB j k hk p hp.1 | |
| 322 | - | |
| 323 | 271 | section Scaling |
| 324 | 272 | |
| 325 | 273 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -331,16 +279,6 @@ theorem norm_jet_comp_linear {f : Plane → Plane} (hf : ContDiff ℝ ∞ f) | ||
| 331 | 279 | rw [L.iteratedFDeriv_comp_right hf p (nat_le_smooth k)] |
| 332 | 280 | simpa using (iteratedFDeriv ℝ k f (L p)).norm_compContinuousLinearMap_le (fun _ => L) |
| 333 | 281 | |
| 334 | -theorem chart_comp_linear_finiteJets {a : ℝ} (ha : 0 < a) (b : ℝ) (m : ℕ) : | |
| 335 | - ∃ C : ℝ, 1 ≤ C ∧ ∀ j : Index, ∀ k ≤ m, ∀ (L : E →L[ℝ] Plane) (p : E), | |
| 336 | - L p ∈ Metric.closedBall (0 : Plane) b → | |
| 337 | - ‖iteratedFDeriv ℝ k (chart a j ∘ L) p‖ ≤ C * ‖L‖ ^ k := by | |
| 338 | - obtain ⟨C, hC, hB⟩ := chart_finiteJets_uniform ha b m | |
| 339 | - refine ⟨C, hC, ?_⟩ | |
| 340 | - intro j k hk L p hp | |
| 341 | - exact (norm_jet_comp_linear (chart_contDiff ha j) L p k).trans | |
| 342 | - (mul_le_mul_of_nonneg_right (hB j k hk (L p) hp) (pow_nonneg (norm_nonneg _) _)) | |
| 343 | - | |
| 344 | 282 | end Scaling |
| 345 | 283 | |
| 346 | 284 | noncomputable def scalePlane (Q : ℝ) : Plane →L[ℝ] Plane := |
| @@ -349,38 +287,10 @@ noncomputable def scalePlane (Q : ℝ) : Plane →L[ℝ] Plane := | ||
| 349 | 287 | @[simp] theorem scalePlane_apply (Q : ℝ) (p : Plane) : |
| 350 | 288 | scalePlane Q p = Q ^ (-(1 / 2 : ℝ)) • p := rfl |
| 351 | 289 | |
| 352 | -theorem norm_scalePlane_le {Q : ℝ} (hQ : 0 < Q) : | |
| 353 | - ‖scalePlane Q‖ ≤ Q ^ (-(1 / 2 : ℝ)) := by | |
| 354 | - apply ContinuousLinearMap.opNorm_le_bound _ (Real.rpow_nonneg hQ.le _) | |
| 355 | - intro p | |
| 356 | - rw [scalePlane_apply, norm_smul, Real.norm_of_nonneg (Real.rpow_nonneg hQ.le _)] | |
| 357 | - | |
| 358 | 290 | /-- The physical input is scaled by `1 / sqrt Q` before taking the polar chart. -/ |
| 359 | 291 | noncomputable def physicalChart (a : ℝ) (j : Index) (Q : ℝ) : Plane → Plane := |
| 360 | 292 | chart a j ∘ scalePlane Q |
| 361 | 293 | |
| 362 | -theorem physicalChart_contDiff {a : ℝ} (ha : 0 < a) (j : Index) (Q : ℝ) : | |
| 363 | - ContDiff ℝ ∞ (physicalChart a j Q) := | |
| 364 | - (chart_contDiff ha j).comp (scalePlane Q).contDiff | |
| 365 | - | |
| 366 | -/-- Each physical derivative costs exactly the fixed half-power of `Q`. | |
| 367 | -The constant is chosen before `Q`, the chart, and the evaluation point. -/ | |
| 368 | -theorem physicalChart_finiteJets_uniform {a : ℝ} (ha : 0 < a) (b : ℝ) (m : ℕ) : | |
| 369 | - ∃ C : ℝ, 1 ≤ C ∧ ∀ (Q : ℝ), 0 < Q → ∀ j : Index, ∀ k ≤ m, ∀ p : Plane, | |
| 370 | - scalePlane Q p ∈ Metric.closedBall (0 : Plane) b → | |
| 371 | - ‖iteratedFDeriv ℝ k (physicalChart a j Q) p‖ ≤ C * Q ^ (-(k : ℝ) / 2) := by | |
| 372 | - obtain ⟨C, hC, hB⟩ := chart_comp_linear_finiteJets (E := Plane) ha b m | |
| 373 | - refine ⟨C, hC, ?_⟩ | |
| 374 | - intro Q hQ j k hk p hp | |
| 375 | - have h := hB j k hk (scalePlane Q) p hp | |
| 376 | - have hs : ‖scalePlane Q‖ ^ k ≤ (Q ^ (-(1 / 2 : ℝ))) ^ k := | |
| 377 | - pow_le_pow_left₀ (norm_nonneg _) (norm_scalePlane_le hQ) k | |
| 378 | - have he : (Q ^ (-(1 / 2 : ℝ))) ^ k = Q ^ (-(k : ℝ) / 2) := by | |
| 379 | - rw [← Real.rpow_mul_natCast hQ.le] | |
| 380 | - congr 1 | |
| 381 | - ring | |
| 382 | - exact h.trans ((mul_le_mul_of_nonneg_left hs (by linarith)).trans_eq (by rw [he])) | |
| 383 | - | |
| 384 | 294 | theorem rotate_smul (j : Index) (c : ℝ) (p : Plane) : rotate j (c • p) = c • rotate j p := by |
| 385 | 295 | fin_cases j <;> ext <;> simp [rotate, mul_neg] |
| 386 | 296 | |
| @@ -394,24 +304,6 @@ theorem localChart_smul (j : Index) {c : ℝ} (hc : 0 < c) (p : Plane) : | ||
| 394 | 304 | simp only [localChart_apply, radius_smul hc, rotate_smul, Prod.smul_fst, |
| 395 | 305 | Prod.smul_snd, smul_eq_mul, mul_div_mul_left _ _ hc.ne'] |
| 396 | 306 | |
| 397 | -theorem scalePlane_eq_inv_sqrt {Q : ℝ} (hQ : 0 < Q) (p : Plane) : | |
| 398 | - scalePlane Q p = (Real.sqrt Q)⁻¹ • p := by | |
| 399 | - rw [scalePlane_apply, Real.rpow_neg hQ.le, Real.sqrt_eq_rpow] | |
| 400 | - | |
| 401 | -theorem physicalChart_eq {a Q : ℝ} (ha : 0 < a) (hQ : 0 < Q) (j : Index) {p : Plane} | |
| 402 | - (hp : scalePlane Q p ∈ chartDomain a j) : | |
| 403 | - physicalChart a j Q p = (radius p / Real.sqrt Q, (localChart j p).2) := by | |
| 404 | - rw [physicalChart, comp_apply, chart_eq_localChart ha j hp, | |
| 405 | - scalePlane_eq_inv_sqrt hQ, localChart_smul j (inv_pos.mpr (Real.sqrt_pos.2 hQ))] | |
| 406 | - rw [localChart_apply] | |
| 407 | - simp only [inv_mul_eq_div] | |
| 408 | - | |
| 409 | -theorem physicalChart_inverse {a Q : ℝ} (ha : 0 < a) (hQ : 0 < Q) (j : Index) {p : Plane} | |
| 410 | - (hp : scalePlane Q p ∈ chartDomain a j) : | |
| 411 | - Real.sqrt Q • polar (physicalChart a j Q p) = p := by | |
| 412 | - rw [physicalChart, comp_apply, polar_chart ha j hp, scalePlane_eq_inv_sqrt hQ, | |
| 413 | - smul_smul, mul_inv_cancel₀ (Real.sqrt_pos.2 hQ).ne', one_smul] | |
| 414 | - | |
| 415 | 307 | /-- Angles from two valid local inverse charts differ by an integer full turn. -/ |
| 416 | 308 | theorem localChart_angle_difference (i j : Index) {p : Plane} |
| 417 | 309 | (hi : 0 < (rotate i p).1) (hj : 0 < (rotate j p).1) : |
| @@ -458,22 +350,4 @@ theorem chart_periodic_agree {V : Type*} {a : ℝ} (ha : 0 < a) (f : Plane → V | ||
| 458 | 350 | · have h : a / 4 < (rotate j p).1 := hj |
| 459 | 351 | linarith |
| 460 | 352 | |
| 461 | -theorem chart_periodic_eventuallyEq {V : Type*} {a : ℝ} (ha : 0 < a) (f : Plane → V) | |
| 462 | - (hf : ∀ r : ℝ, Periodic (fun θ => f (r, θ)) (2 * Real.pi)) | |
| 463 | - (i j : Index) {p : Plane} (hi : p ∈ chartDomain a i) (hj : p ∈ chartDomain a j) : | |
| 464 | - f ∘ chart a i =ᶠ[𝓝 p] f ∘ chart a j := by | |
| 465 | - filter_upwards [(chartDomain_open a i).mem_nhds hi, (chartDomain_open a j).mem_nhds hj] | |
| 466 | - with q hqi hqj | |
| 467 | - exact chart_periodic_agree ha f hf i j hqi hqj | |
| 468 | - | |
| 469 | -theorem chart_periodic_jets_agree {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 470 | - {a : ℝ} (ha : 0 < a) (f : Plane → V) | |
| 471 | - (hf : ∀ r : ℝ, Periodic (fun θ => f (r, θ)) (2 * Real.pi)) | |
| 472 | - (i j : Index) {p : Plane} (hi : p ∈ chartDomain a i) (hj : p ∈ chartDomain a j) (k : ℕ) : | |
| 473 | - iteratedFDeriv ℝ k (f ∘ chart a i) p = iteratedFDeriv ℝ k (f ∘ chart a j) p := by | |
| 474 | - have he := chart_periodic_eventuallyEq ha f hf i j hi hj | |
| 475 | - have he' : f ∘ chart a i =ᶠ[𝓝[univ] p] f ∘ chart a j := by simpa using he | |
| 476 | - simpa only [iteratedFDerivWithin_univ] using | |
| 477 | - he'.iteratedFDerivWithin_eq he.eq_of_nhds k | |
| 478 | - | |
| 479 | 353 | end NavierStokes.PolarCharts |
+11 −0 routes/s1-ns-polar-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-polar-1 | |
| 6 | + | |
| 7 | +One unit of S-1: delete declarations nothing uses, in the family `NavierStokes/Polar*`. This unit deletes 16 declarations from `NavierStokes/PolarCharts.lean` (126 lines), all of them unreachable from the paper's results on `main` at `239393c` under the rule that a declaration Treant removed stays when a paper result, a paper-citing docstring, or a staying declaration names it. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Open the pull request and let the maintainer read the deletions. Nothing else in this family is touched; a further unit would take the next family, not this file again. | |