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

Merge pull request #244 from s1-ns-reserved-1
Browse fileschore(NavierStokes/Reserved): delete 36 declarations nothing uses
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 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-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-assembled-2 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-borel-2 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-correction-2 s1-ns-curl-2 s1-ns-cycle-2 s1-ns-defect-2 s1-ns-direct-2 s1-ns-entrance-2 s1-ns-error-2 s1-ns-even-2 s1-ns-exponent-2 s1-ns-final-2 s1-ns-first-2 s1-ns-flat-2 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-heat-2 s1-ns-initialized-2 s1-ns-joint-2 s1-ns-linear-2 s1-ns-local-2 s1-ns-localized-2 s1-ns-maximal-2 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-native-2 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-particular-1 s1-ns-particular-2 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodized-2 s1-ns-phase-2 s1-ns-physical-2 s1-ns-positive-2 s1-ns-pressure-2 s1-ns-primary-2 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-smooth-2 s1-ns-solenoidal-2 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-terminal-1 s1-ns-time-2 s1-ns-torus-2 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-variable-2 s1-ns-volterra-2 s1-ns-wave-2 s1-ns-weighted-2 s1-ns-within-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −306 NavierStokes/ReservedPatches.lean View file
| @@ -84,21 +84,6 @@ theorem mem_window_pos (F : Profile) (XR : ℝ) (hXR : 0 < XR) | ||
| 84 | 84 | (s : Slot) {X : ℝ} (hX : X ∈ window F XR s) : 0 < X := |
| 85 | 85 | (left_pos F XR hXR s).trans hX.1 |
| 86 | 86 | |
| 87 | -theorem window_nonempty (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : | |
| 88 | - (window F XR s).Nonempty := nonempty_Ioo.mpr (left_lt_right F XR hXR s) | |
| 89 | - | |
| 90 | -theorem windows_disjoint (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 91 | - {s t : Slot} (hst : s ≠ t) : Disjoint (window F XR s) (window F XR t) := by | |
| 92 | - apply Set.disjoint_left.mpr | |
| 93 | - intro X hXs hXt | |
| 94 | - rcases offsets_separated hst with h | h | |
| 95 | - · have hr : right F XR s ≤ left F XR t := | |
| 96 | - (radius_strictMono XR hXR).monotone (add_le_add_right h _) | |
| 97 | - exact (not_lt_of_ge hr) (hXt.1.trans hXs.2) | |
| 98 | - · have hr : right F XR t ≤ left F XR s := | |
| 99 | - (radius_strictMono XR hXR).monotone (add_le_add_right h _) | |
| 100 | - exact (not_lt_of_ge hr) (hXs.1.trans hXt.2) | |
| 101 | - | |
| 102 | 87 | theorem clock_bounds (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) |
| 103 | 88 | {X : ℝ} (hX : X ∈ window F XR s) : |
| 104 | 89 | leftClock F s < OutgoingDilation.clock XR X ∧ |
| @@ -125,25 +110,6 @@ theorem window_inside_wait (F : Profile) (XR : ℝ) (hXR : 0 < XR) | ||
| 125 | 110 | obtain ⟨hwl, hwr⟩ := clock_inside_wait F s |
| 126 | 111 | exact ⟨hwl.trans hl, hr.trans hwr⟩ |
| 127 | 112 | |
| 128 | -/-- An explicit small-lambda threshold for the canonical sixty-log wait. -/ | |
| 129 | -theorem canonical_wait_gt_54 {lam : ℝ} (hlam : 0 < lam) (hlam' : lam < 1 / 10) : | |
| 130 | - 54 < 60 * Real.log (1 / lam) := by | |
| 131 | - have h := Real.one_sub_inv_le_log_of_pos (one_div_pos.mpr hlam) | |
| 132 | - simp only [one_div, inv_inv] at h ⊢ | |
| 133 | - nlinarith | |
| 134 | - | |
| 135 | -/-- The earliest reserved boundary has over twenty-nine log units of | |
| 136 | -entrance margin. The latest boundary has three log units before the pulse. -/ | |
| 137 | -theorem canonical_margins (F : Profile) | |
| 138 | - (hw : F.data.core.wait = 60 * Real.log (1 / F.data.core.lam)) (s : Slot) : | |
| 139 | - F.data.core.holdStart + 29 < leftClock F s ∧ | |
| 140 | - rightClock F s ≤ F.data.core.pulseStart - 3 := by | |
| 141 | - have hwait := canonical_wait_gt_54 F.data.core.lam_pos F.data.core.lam_lt | |
| 142 | - rw [← hw] at hwait | |
| 143 | - obtain ⟨hlo, _, hhi⟩ := offset_bounds s | |
| 144 | - dsimp only [leftClock, rightClock, OutgoingSchedule.Parameters.pulseStart] | |
| 145 | - constructor <;> linarith | |
| 146 | - | |
| 147 | 113 | theorem pulse_before_switch (F : Profile) : |
| 148 | 114 | F.data.core.pulseStart < HeatTailEdit.switchStart F.data := by |
| 149 | 115 | have hp := F.data.core.pulseLength_pos |
| @@ -209,22 +175,6 @@ noncomputable def supportRight (F : Profile) (XR : ℝ) (s : Slot) : ℝ := | ||
| 209 | 175 | noncomputable def closedPatch (F : Profile) (XR : ℝ) (s : Slot) : Set ℝ := |
| 210 | 176 | Icc (supportLeft F XR s) (supportRight F XR s) |
| 211 | 177 | |
| 212 | -theorem supportLeft_formula (F : Profile) (XR : ℝ) {s : Slot} (hs : s ≠ .heat) : | |
| 213 | - supportLeft F XR s = OutgoingDilation.radius XR (leftClock F s + 1) := by | |
| 214 | - cases s <;> simp_all [supportLeft, left, innerLower, OutgoingDilation.radius, | |
| 215 | - Real.exp_add, mul_assoc] | |
| 216 | - | |
| 217 | -theorem supportRight_formula (F : Profile) (XR : ℝ) {s : Slot} (hs : s ≠ .heat) : | |
| 218 | - supportRight F XR s = OutgoingDilation.radius XR (rightClock F s - 1) := by | |
| 219 | - have hu : innerUpper s = Real.exp 4 := by cases s <;> simp_all [innerUpper] | |
| 220 | - have hc : rightClock F s - 1 = leftClock F s + 4 := by | |
| 221 | - unfold rightClock leftClock | |
| 222 | - rw [offset_width] | |
| 223 | - ring | |
| 224 | - rw [hc, supportRight, hu, left, OutgoingDilation.radius, | |
| 225 | - OutgoingDilation.radius, Real.exp_add] | |
| 226 | - ring | |
| 227 | - | |
| 228 | 178 | theorem support_margins (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : |
| 229 | 179 | left F XR s < supportLeft F XR s ∧ |
| 230 | 180 | supportLeft F XR s < supportRight F XR s ∧ |
| @@ -247,16 +197,6 @@ theorem closedPatch_subset (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : | ||
| 247 | 197 | obtain ⟨hl, _, hr⟩ := support_margins F XR hXR s |
| 248 | 198 | exact ⟨hl.trans_le hX.1, hX.2.trans_lt hr⟩ |
| 249 | 199 | |
| 250 | -theorem closedPatch_nonempty (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : | |
| 251 | - (closedPatch F XR s).Nonempty := | |
| 252 | - nonempty_Icc.mpr (support_margins F XR hXR s).2.1.le | |
| 253 | - | |
| 254 | -theorem closedPatches_disjoint (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 255 | - {s t : Slot} (hst : s ≠ t) : | |
| 256 | - Disjoint (closedPatch F XR s) (closedPatch F XR t) := | |
| 257 | - (windows_disjoint F XR hXR hst).mono | |
| 258 | - (closedPatch_subset F XR hXR s) (closedPatch_subset F XR hXR t) | |
| 259 | - | |
| 260 | 200 | noncomputable def momentPatch (F : Profile) (XR : ℝ) (hXR : 0 < XR) |
| 261 | 201 | (s : Slot) : FiveProfileMoments.Patch where |
| 262 | 202 | left := supportLeft F XR s |
| @@ -339,82 +279,8 @@ theorem heated_fields (F : Profile) (XR : ℝ) (hXR : 0 < XR) | ||
| 339 | 279 | rw [heated_E_eq_clean F XR hXR c hs eta hX] |
| 340 | 280 | exact clean_fields F XR hXR s eta hX |
| 341 | 281 | |
| 342 | -theorem heated_fields_on_closedPatch (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 343 | - (c : ℝ → HeatedOutgoing.Coeff) {s : Slot} (hs : s ≠ .heat) | |
| 344 | - (eta : ℝ) {X : ℝ} (hX : X ∈ closedPatch F XR s) : | |
| 345 | - HeatedOutgoing.U F XR (X, eta) = 0 ∧ | |
| 346 | - HeatedOutgoing.E F XR c (X, eta) = | |
| 347 | - xAmplitude F XR eta * X ^ (-(1 / 2 + F.data.core.lam)) := | |
| 348 | - heated_fields F XR hXR c hs eta (closedPatch_subset F XR hXR s hX) | |
| 349 | - | |
| 350 | -theorem heat_slot_actual_formula (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 351 | - (c : ℝ → HeatedOutgoing.Coeff) (eta : ℝ) {X : ℝ} (hX : X ∈ window F XR .heat) : | |
| 352 | - HeatedOutgoing.E F XR c (X, eta) = | |
| 353 | - xAmplitude F XR eta * X ^ (-(1 / 2 + F.data.core.lam)) + | |
| 354 | - HeatedOutgoing.patchIncrement F XR c (X, eta) := by | |
| 355 | - rw [HeatedOutgoing.E, HeatedOutgoing.heatE_before F XR eta X hXR | |
| 356 | - (mem_window_pos F XR hXR .heat hX) (hX.2.le.trans (right_before_switch F XR hXR .heat).le)] | |
| 357 | - rw [(clean_fields F XR hXR .heat eta hX).2] | |
| 358 | - | |
| 359 | -theorem witness_fields {F : Profile} {XR C : ℝ} | |
| 360 | - (w : HeatedOutgoing.CompensationWitness F XR C) {s : Slot} (hs : s ≠ .heat) | |
| 361 | - (eta : ℝ) {X : ℝ} (hX : X ∈ window F XR s) : | |
| 362 | - HeatedOutgoing.U F XR (X, eta) = 0 ∧ | |
| 363 | - HeatedOutgoing.E F XR w.coefficients (X, eta) = | |
| 364 | - xAmplitude F XR eta * X ^ (-(1 / 2 + F.data.core.lam)) := | |
| 365 | - heated_fields F XR w.radius_pos w.coefficients hs eta hX | |
| 366 | - | |
| 367 | 282 | /-! ## The heat correction lies in its own closed interior support region -/ |
| 368 | 283 | |
| 369 | -theorem terminal_lower_min (P : TerminalCompensation.Patch) (j : Fin 3) : | |
| 370 | - TerminalCompensation.lower P 0 ≤ TerminalCompensation.lower P j := by | |
| 371 | - fin_cases j <;> norm_num [TerminalCompensation.lower] <;> linarith [P.ordered] | |
| 372 | - | |
| 373 | -theorem terminal_upper_max (P : TerminalCompensation.Patch) (j : Fin 3) : | |
| 374 | - TerminalCompensation.upper P j ≤ TerminalCompensation.upper P 2 := by | |
| 375 | - fin_cases j <;> norm_num [TerminalCompensation.upper] <;> linarith [P.ordered] | |
| 376 | - | |
| 377 | -theorem terminal_correction_inner_support (P : TerminalCompensation.Patch) | |
| 378 | - (c : TerminalCompensation.Coeff) : | |
| 379 | - support (TerminalCompensation.correction P c) ⊆ | |
| 380 | - Icc (TerminalCompensation.lower P 0) (TerminalCompensation.upper P 2) := by | |
| 381 | - intro x hx | |
| 382 | - by_contra hn | |
| 383 | - apply hx | |
| 384 | - apply Finset.sum_eq_zero | |
| 385 | - intro j _ | |
| 386 | - have hb : TerminalCompensation.bump P j x = 0 := by | |
| 387 | - by_contra hne | |
| 388 | - have ht := TerminalCompensation.bump_tsupport P j (subset_tsupport _ hne) | |
| 389 | - exact hn ⟨(terminal_lower_min P j).trans ht.1.le, | |
| 390 | - ht.2.le.trans (terminal_upper_max P j)⟩ | |
| 391 | - rw [hb, mul_zero] | |
| 392 | - | |
| 393 | -theorem heat_increment_support (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 394 | - (c : ℝ → HeatedOutgoing.Coeff) (eta : ℝ) : | |
| 395 | - support (fun X => HeatedOutgoing.patchIncrement F XR c (X, eta)) ⊆ | |
| 396 | - closedPatch F XR .heat := by | |
| 397 | - intro X hX | |
| 398 | - have hn : TerminalCompensation.correction OutgoingDilation.compensationPatch (c eta) | |
| 399 | - (X / OutgoingDilation.patchRadius F XR) ≠ 0 := by | |
| 400 | - intro hz | |
| 401 | - exact hX (by simp only [HeatedOutgoing.patchIncrement, hz, mul_zero]) | |
| 402 | - have ht := terminal_correction_inner_support OutgoingDilation.compensationPatch (c eta) hn | |
| 403 | - have hp := OutgoingDilation.patchRadius_pos F XR hXR | |
| 404 | - constructor | |
| 405 | - · change left F XR .heat * innerLower .heat ≤ X | |
| 406 | - rw [heat_left] | |
| 407 | - simpa only [innerLower, mul_comm] using (le_div_iff₀ hp).mp ht.1 | |
| 408 | - · change X ≤ left F XR .heat * innerUpper .heat | |
| 409 | - rw [heat_left] | |
| 410 | - simpa only [innerUpper, mul_comm] using (div_le_iff₀ hp).mp ht.2 | |
| 411 | - | |
| 412 | -theorem heat_increment_tsupport (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 413 | - (c : ℝ → HeatedOutgoing.Coeff) (eta : ℝ) : | |
| 414 | - tsupport (fun X => HeatedOutgoing.patchIncrement F XR c (X, eta)) ⊆ | |
| 415 | - closedPatch F XR .heat := | |
| 416 | - closure_minimal (heat_increment_support F XR hXR c eta) isClosed_Icc | |
| 417 | - | |
| 418 | 284 | /-! ## Conversion to the similarity radius R, where X = R squared / 2 -/ |
| 419 | 285 | |
| 420 | 286 | noncomputable def radialLeft (F : Profile) (XR : ℝ) (s : Slot) : ℝ := |
| @@ -474,47 +340,16 @@ theorem square_half_mem_Ioo {a b R : ℝ} (ha : 0 < a) | ||
| 474 | 340 | rw [Real.sq_sqrt (by positivity)] at hr |
| 475 | 341 | constructor <;> nlinarith |
| 476 | 342 | |
| 477 | -theorem square_half_mem_Icc {a b R : ℝ} (ha : 0 < a) | |
| 478 | - (hR : R ∈ Icc (Real.sqrt (2 * a)) (Real.sqrt (2 * b))) : | |
| 479 | - R ^ 2 / 2 ∈ Icc a b := by | |
| 480 | - have hRp : 0 < R := (Real.sqrt_pos.mpr (mul_pos (by norm_num) ha)).trans_le hR.1 | |
| 481 | - have hb : 0 < b := by | |
| 482 | - have hsb : 0 < Real.sqrt (2 * b) := hRp.trans_le hR.2 | |
| 483 | - have h2b := Real.sqrt_pos.mp hsb | |
| 484 | - linarith | |
| 485 | - have hl := (sq_le_sq₀ (Real.sqrt_nonneg (2 * a)) hRp.le).mpr hR.1 | |
| 486 | - have hr := (sq_le_sq₀ hRp.le (Real.sqrt_nonneg (2 * b))).mpr hR.2 | |
| 487 | - rw [Real.sq_sqrt (by positivity)] at hl | |
| 488 | - rw [Real.sq_sqrt (by positivity)] at hr | |
| 489 | - constructor <;> nlinarith | |
| 490 | - | |
| 491 | 343 | theorem radial_mem_window (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) |
| 492 | 344 | {R : ℝ} (hR : R ∈ radialWindow F XR s) : R ^ 2 / 2 ∈ window F XR s := |
| 493 | 345 | square_half_mem_Ioo (left_pos F XR hXR s) hR |
| 494 | 346 | |
| 495 | -theorem radial_mem_closedPatch (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) | |
| 496 | - {R : ℝ} (hR : R ∈ radialClosedPatch F XR s) : R ^ 2 / 2 ∈ closedPatch F XR s := | |
| 497 | - square_half_mem_Icc (supportLeft_pos F XR hXR s) hR | |
| 498 | - | |
| 499 | 347 | theorem radial_closedPatch_subset (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : |
| 500 | 348 | radialClosedPatch F XR s ⊆ radialWindow F XR s := by |
| 501 | 349 | intro R hR |
| 502 | 350 | obtain ⟨hl, _, hr⟩ := radial_support_margins F XR hXR s |
| 503 | 351 | exact ⟨hl.trans_le hR.1, hR.2.trans_lt hr⟩ |
| 504 | 352 | |
| 505 | -theorem radial_windows_disjoint (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 506 | - {s t : Slot} (hst : s ≠ t) : Disjoint (radialWindow F XR s) (radialWindow F XR t) := by | |
| 507 | - apply Set.disjoint_left.mpr | |
| 508 | - intro R hRs hRt | |
| 509 | - exact Set.disjoint_left.mp (windows_disjoint F XR hXR hst) | |
| 510 | - (radial_mem_window F XR hXR s hRs) (radial_mem_window F XR hXR t hRt) | |
| 511 | - | |
| 512 | -theorem radial_closedPatches_disjoint (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 513 | - {s t : Slot} (hst : s ≠ t) : | |
| 514 | - Disjoint (radialClosedPatch F XR s) (radialClosedPatch F XR t) := | |
| 515 | - (radial_windows_disjoint F XR hXR hst).mono | |
| 516 | - (radial_closedPatch_subset F XR hXR s) (radial_closedPatch_subset F XR hXR t) | |
| 517 | - | |
| 518 | 353 | noncomputable def radialAmplitude (F : Profile) (XR eta : ℝ) : ℝ := |
| 519 | 354 | xAmplitude F XR eta * (2 : ℝ) ^ (1 / 2 + F.data.core.lam) |
| 520 | 355 | |
| @@ -555,147 +390,6 @@ theorem radial_heated_fields (F : Profile) (XR : ℝ) (hXR : 0 < XR) | ||
| 555 | 390 | rw [he, square_half_power _ _ hp] |
| 556 | 391 | simp only [FiveRowRank.background, radialAmplitude, mul_assoc] |
| 557 | 392 | |
| 558 | -theorem radial_witness_fields {F : Profile} {XR C : ℝ} | |
| 559 | - (w : HeatedOutgoing.CompensationWitness F XR C) {s : Slot} (hs : s ≠ .heat) | |
| 560 | - (eta : ℝ) {R : ℝ} (hR : R ∈ radialWindow F XR s) : | |
| 561 | - HeatedOutgoing.U F XR (R ^ 2 / 2, eta) = 0 ∧ | |
| 562 | - HeatedOutgoing.E F XR w.coefficients (R ^ 2 / 2, eta) = | |
| 563 | - FiveRowRank.background F.data.core.lam (radialAmplitude F XR eta) R := | |
| 564 | - radial_heated_fields F XR w.radius_pos w.coefficients hs eta hR | |
| 565 | - | |
| 566 | -theorem radial_heated_fields_on_closedPatch (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 567 | - (c : ℝ → HeatedOutgoing.Coeff) {s : Slot} (hs : s ≠ .heat) | |
| 568 | - (eta : ℝ) {R : ℝ} (hR : R ∈ radialClosedPatch F XR s) : | |
| 569 | - HeatedOutgoing.U F XR (R ^ 2 / 2, eta) = 0 ∧ | |
| 570 | - HeatedOutgoing.E F XR c (R ^ 2 / 2, eta) = | |
| 571 | - FiveRowRank.background F.data.core.lam (radialAmplitude F XR eta) R := | |
| 572 | - radial_heated_fields F XR hXR c hs eta (radial_closedPatch_subset F XR hXR s hR) | |
| 573 | - | |
| 574 | 393 | /-! ## Supported perturbations preserve the other complete open windows -/ |
| 575 | 394 | |
| 576 | -def Supported (F : Profile) (XR : ℝ) (s : Slot) (v : ℝ × ℝ → ℝ) : Prop := | |
| 577 | - ∀ eta, support (fun X => v (X, eta)) ⊆ closedPatch F XR s | |
| 578 | - | |
| 579 | -theorem heat_increment_supported (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 580 | - (c : ℝ → HeatedOutgoing.Coeff) : | |
| 581 | - Supported F XR .heat (HeatedOutgoing.patchIncrement F XR c) := | |
| 582 | - heat_increment_support F XR hXR c | |
| 583 | - | |
| 584 | -/-- The actual five-row bump formulas satisfy the support premise, for arbitrary | |
| 585 | -amplitude and coefficient functions. Smoothness is irrelevant to this identity. -/ | |
| 586 | -theorem five_row_updates_supported (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) | |
| 587 | - (A : ℝ → ℝ) (c : ℝ → FiveProfileMoments.Coeff) : | |
| 588 | - Supported F XR s (fun p => A p.2 * FiveProfileMoments.u (momentPatch F XR hXR s) (c p.2) p.1) ∧ | |
| 589 | - Supported F XR s (fun p => A p.2 * FiveProfileMoments.e (momentPatch F XR hXR s) (c p.2) p.1) := by | |
| 590 | - constructor | |
| 591 | - · intro eta X hX | |
| 592 | - have ht := (FiveProfileMoments.physical_edits_tsupport | |
| 593 | - (momentPatch F XR hXR s) (A eta) (c eta)).1 (subset_tsupport _ hX) | |
| 594 | - exact ⟨ht.1.le, ht.2.le⟩ | |
| 595 | - · intro eta X hX | |
| 596 | - have ht := (FiveProfileMoments.physical_edits_tsupport | |
| 597 | - (momentPatch F XR hXR s) (A eta) (c eta)).2 (subset_tsupport _ hX) | |
| 598 | - exact ⟨ht.1.le, ht.2.le⟩ | |
| 599 | - | |
| 600 | -theorem supported_vanishes (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 601 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : Supported F XR s v) | |
| 602 | - (eta : ℝ) {X : ℝ} (hX : X ∈ window F XR t) : v (X, eta) = 0 := by | |
| 603 | - by_contra hn | |
| 604 | - have hs := closedPatch_subset F XR hXR s (hv eta hn) | |
| 605 | - exact Set.disjoint_left.mp (windows_disjoint F XR hXR hst) hs hX | |
| 606 | - | |
| 607 | -theorem supported_update_eqOn (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 608 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : Supported F XR s v) | |
| 609 | - (g : ℝ × ℝ → ℝ) : | |
| 610 | - EqOn (fun p => g p + v p) g (window F XR t ×ˢ (univ : Set ℝ)) := by | |
| 611 | - intro p hp | |
| 612 | - change g p + v p = g p | |
| 613 | - have hz : v p = 0 := supported_vanishes F XR hXR hst hv p.2 hp.1 | |
| 614 | - rw [hz, add_zero] | |
| 615 | - | |
| 616 | -theorem supported_update_germ (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 617 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : Supported F XR s v) | |
| 618 | - (g : ℝ × ℝ → ℝ) {p : ℝ × ℝ} (hp : p.1 ∈ window F XR t) : | |
| 619 | - (fun q => g q + v q) =ᶠ[𝓝 p] g := by | |
| 620 | - have ho : IsOpen (window F XR t ×ˢ (univ : Set ℝ)) := isOpen_Ioo.prod isOpen_univ | |
| 621 | - filter_upwards [ho.mem_nhds (show p ∈ window F XR t ×ˢ (univ : Set ℝ) from | |
| 622 | - ⟨hp, mem_univ _⟩)] with q hq | |
| 623 | - exact supported_update_eqOn F XR hXR hst hv g hq | |
| 624 | - | |
| 625 | -theorem supported_update_jets (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 626 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : Supported F XR s v) | |
| 627 | - (g : ℝ × ℝ → ℝ) {p : ℝ × ℝ} (hp : p.1 ∈ window F XR t) (n : ℕ) : | |
| 628 | - iteratedFDeriv ℝ n (fun q => g q + v q) p = iteratedFDeriv ℝ n g p := by | |
| 629 | - have hg := supported_update_germ F XR hXR hst hv g hp | |
| 630 | - have hg' : (fun q => g q + v q) =ᶠ[𝓝[univ] p] g := by simpa using hg | |
| 631 | - simpa only [iteratedFDerivWithin_univ] using | |
| 632 | - hg'.iteratedFDerivWithin_eq (𝕜 := ℝ) hg.self_of_nhds n | |
| 633 | - | |
| 634 | -theorem supported_updates_preserve_fields (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 635 | - (c : ℝ → HeatedOutgoing.Coeff) {s t : Slot} (hst : s ≠ t) (ht : t ≠ .heat) | |
| 636 | - {vU vE : ℝ × ℝ → ℝ} (hu : Supported F XR s vU) (he : Supported F XR s vE) | |
| 637 | - (eta : ℝ) {X : ℝ} (hX : X ∈ window F XR t) : | |
| 638 | - HeatedOutgoing.U F XR (X, eta) + vU (X, eta) = 0 ∧ | |
| 639 | - HeatedOutgoing.E F XR c (X, eta) + vE (X, eta) = | |
| 640 | - xAmplitude F XR eta * X ^ (-(1 / 2 + F.data.core.lam)) := by | |
| 641 | - rw [supported_vanishes F XR hXR hst hu eta hX, | |
| 642 | - supported_vanishes F XR hXR hst he eta hX, add_zero, add_zero] | |
| 643 | - exact heated_fields F XR hXR c ht eta hX | |
| 644 | - | |
| 645 | -theorem finite_updates_eqOn {ι : Type*} [Fintype ι] | |
| 646 | - (F : Profile) (XR : ℝ) (hXR : 0 < XR) (t : Slot) | |
| 647 | - (s : ι → Slot) (v : ι → ℝ × ℝ → ℝ) | |
| 648 | - (hs : ∀ i, s i ≠ t) (hv : ∀ i, Supported F XR (s i) (v i)) | |
| 649 | - (g : ℝ × ℝ → ℝ) : | |
| 650 | - EqOn (fun p => g p + ∑ i, v i p) g (window F XR t ×ˢ (univ : Set ℝ)) := by | |
| 651 | - intro p hp | |
| 652 | - have hz : ∑ i, v i p = 0 := Finset.sum_eq_zero | |
| 653 | - (fun i _ => supported_vanishes F XR hXR (hs i) (hv i) p.2 hp.1) | |
| 654 | - change g p + ∑ i, v i p = g p | |
| 655 | - rw [hz, add_zero] | |
| 656 | - | |
| 657 | -def RadialSupported (F : Profile) (XR : ℝ) (s : Slot) (v : ℝ × ℝ → ℝ) : Prop := | |
| 658 | - ∀ eta, support (fun R => v (R, eta)) ⊆ radialWindow F XR s | |
| 659 | - | |
| 660 | -/-- This premise is exactly the open-support conclusion of the positive-order | |
| 661 | -and mean bump solvers. They may use the full window or any smaller subpatch. -/ | |
| 662 | -theorem radial_supported_vanishes (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 663 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : RadialSupported F XR s v) | |
| 664 | - (eta : ℝ) {R : ℝ} (hR : R ∈ radialWindow F XR t) : v (R, eta) = 0 := by | |
| 665 | - by_contra hn | |
| 666 | - exact Set.disjoint_left.mp (radial_windows_disjoint F XR hXR hst) (hv eta hn) hR | |
| 667 | - | |
| 668 | -theorem radial_supported_update_germ (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 669 | - {s t : Slot} (hst : s ≠ t) {v : ℝ × ℝ → ℝ} (hv : RadialSupported F XR s v) | |
| 670 | - (g : ℝ × ℝ → ℝ) {p : ℝ × ℝ} (hp : p.1 ∈ radialWindow F XR t) : | |
| 671 | - (fun q => g q + v q) =ᶠ[𝓝 p] g := by | |
| 672 | - have ho : IsOpen (radialWindow F XR t ×ˢ (univ : Set ℝ)) := isOpen_Ioo.prod isOpen_univ | |
| 673 | - filter_upwards [ho.mem_nhds (show p ∈ radialWindow F XR t ×ˢ (univ : Set ℝ) from | |
| 674 | - ⟨hp, mem_univ _⟩)] with q hq | |
| 675 | - have hz : v q = 0 := radial_supported_vanishes F XR hXR hst hv q.2 hq.1 | |
| 676 | - simp only [hz, add_zero] | |
| 677 | - | |
| 678 | -theorem radial_supported_updates_preserve_fields (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 679 | - (c : ℝ → HeatedOutgoing.Coeff) {s t : Slot} (hst : s ≠ t) (ht : t ≠ .heat) | |
| 680 | - {vU vE : ℝ × ℝ → ℝ} (hu : RadialSupported F XR s vU) (he : RadialSupported F XR s vE) | |
| 681 | - (eta : ℝ) {R : ℝ} (hR : R ∈ radialWindow F XR t) : | |
| 682 | - HeatedOutgoing.U F XR (R ^ 2 / 2, eta) + vU (R, eta) = 0 ∧ | |
| 683 | - HeatedOutgoing.E F XR c (R ^ 2 / 2, eta) + vE (R, eta) = | |
| 684 | - FiveRowRank.background F.data.core.lam (radialAmplitude F XR eta) R := by | |
| 685 | - rw [radial_supported_vanishes F XR hXR hst hu eta hR, | |
| 686 | - radial_supported_vanishes F XR hXR hst he eta hR, add_zero, add_zero] | |
| 687 | - exact radial_heated_fields F XR hXR c ht eta hR | |
| 688 | - | |
| 689 | -theorem radial_finite_updates_eqOn {ι : Type*} [Fintype ι] | |
| 690 | - (F : Profile) (XR : ℝ) (hXR : 0 < XR) (t : Slot) | |
| 691 | - (s : ι → Slot) (v : ι → ℝ × ℝ → ℝ) | |
| 692 | - (hs : ∀ i, s i ≠ t) (hv : ∀ i, RadialSupported F XR (s i) (v i)) | |
| 693 | - (g : ℝ × ℝ → ℝ) : | |
| 694 | - EqOn (fun p => g p + ∑ i, v i p) g (radialWindow F XR t ×ˢ (univ : Set ℝ)) := by | |
| 695 | - intro p hp | |
| 696 | - have hz : ∑ i, v i p = 0 := Finset.sum_eq_zero | |
| 697 | - (fun i _ => radial_supported_vanishes F XR hXR (hs i) (hv i) p.2 hp.1) | |
| 698 | - change g p + ∑ i, v i p = g p | |
| 699 | - rw [hz, add_zero] | |
| 700 | - | |
| 701 | 395 | end NavierStokes.ReservedPatches |
+25 −0 routes/s1-ns-reserved-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-reserved-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), wave 1: declarations of the `NavierStokes/Reserved*` family. The unit is the file | |
| 8 | +`NavierStokes/ReservedPatches.lean` (701 lines before, 395 after), from which it deletes 36 declarations, 306 lines. | |
| 9 | + | |
| 10 | +Nothing in the tree left after the deletion names any of the 36: `git grep -n -w` over the tree finds no Lean, doc or | |
| 11 | +configuration reference to any of their short names, whether bare or as `ReservedPatches.<name>`. The qualified uses of | |
| 12 | +`ReservedPatches.` that remain (in `NavierStokes/AssembledSlowBase.lean`) go to `right`, `left`, `window`, | |
| 13 | +`radius_strictMono`, `clock_inside_wait`, `leftClock`, `radialRight` and `Slot`, none of which is in this unit. The | |
| 14 | +remaining `Supported` hits are other declarations of that short name, in `Euler/` and a section heading in this file. | |
| 15 | +No docstring removed by this unit cites the paper: none of the deleted comments names a numbered Lemma, Theorem, | |
| 16 | +Proposition, Corollary, Section or Equation. | |
| 17 | + | |
| 18 | +How the unit was chosen: Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) deleted these as unreachable | |
| 19 | +from the four Comparator theorems; the declaration graph of this project's main was read again under this project's | |
| 20 | +rule (a declaration stays if a paper result reaches it, its docstring cites the paper, or a declaration that stays | |
| 21 | +names it), and these 36 were not kept. The change is deletions only; no statement or proof that stays is altered. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Nothing in this unit. A later unit can take the next batch of `NavierStokes/Reserved*` declarations still on main. | |