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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #277 chore(NavierStokes/Torus): delete 46 declarations nothing uses
1 commit
+0 −83 NavierStokes/TorusAverages.lean View file
| @@ -120,11 +120,6 @@ theorem squareAverage_covering_iterate {f : Plane → ℂ} | ||
| 120 | 120 | rw [← heq, squareAverage_torusLift] |
| 121 | 121 | exact (integral_torusCovering_iterate g g.continuous n).trans hg.symm |
| 122 | 122 | |
| 123 | -theorem squareAverage_covering_iterate_smooth {f : Plane → ℂ} | |
| 124 | - (hf : ContDiff ℝ ∞ f) (hp : UnitPeriodic f) (n : ℕ) : | |
| 125 | - squareAverage (fun z => f (covering^[n] z)) = squareAverage f := | |
| 126 | - squareAverage_covering_iterate hf.continuous hp n | |
| 127 | - | |
| 128 | 123 | /-- Real-valued form, with the same actual unit-square integral. -/ |
| 129 | 124 | theorem squareAverage_covering_iterate_real {f : Plane → ℝ} |
| 130 | 125 | (hf : Continuous f) |
| @@ -187,20 +182,6 @@ theorem quotientPoint_injOn_small_chart (L : Plane ≃L[ℝ] Plane) (center : Pl | ||
| 187 | 182 | · linarith [(abs_lt.mp h2).1] |
| 188 | 183 | · linarith [(abs_lt.mp h2).2] |
| 189 | 184 | |
| 190 | -/-- A positive injective native radius always exists; this proof supplies the | |
| 191 | -explicit radius `1 / (4 * (‖L‖ + 1))`. -/ | |
| 192 | -theorem exists_injective_native_radius (L : Plane ≃L[ℝ] Plane) (center : Plane) : | |
| 193 | - ∃ r : ℝ, 0 < r ∧ | |
| 194 | - InjOn quotientPoint ((fun z => center + L z) '' Metric.ball (0 : Plane) r) := by | |
| 195 | - let N : ℝ := ‖(L : Plane →L[ℝ] Plane)‖ | |
| 196 | - have hN : 0 ≤ N := norm_nonneg _ | |
| 197 | - have hpos : 0 < 4 * (N + 1) := by positivity | |
| 198 | - refine ⟨1 / (4 * (N + 1)), by positivity, | |
| 199 | - quotientPoint_injOn_small_chart L center _ ?_⟩ | |
| 200 | - change N * (1 / (4 * (N + 1))) < 1 / 2 | |
| 201 | - rw [mul_one_div, div_lt_iff₀ hpos] | |
| 202 | - nlinarith | |
| 203 | - | |
| 204 | 185 | theorem latticeTranslate_unique {s : Set Plane} (hs : InjOn quotientPoint s) |
| 205 | 186 | {z : Plane} {k l : Frequency} (hk : latticePoint k + z ∈ s) |
| 206 | 187 | (hl : latticePoint l + z ∈ s) : k = l := by |
| @@ -304,16 +285,6 @@ theorem periodize_continuous {V : Type*} [NormedAddCommGroup V] {f : Plane → V | ||
| 304 | 285 | continuous_finsetSum _ (fun k _ => hf.comp (continuous_const.add continuous_id)) |
| 305 | 286 | exact hsum.continuousAt.congr_of_eventuallyEq hs |
| 306 | 287 | |
| 307 | -theorem periodize_contDiff {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 308 | - {f : Plane → V} (hf : ContDiff ℝ ∞ f) (hcf : HasCompactSupport f) : | |
| 309 | - ContDiff ℝ ∞ (periodize f) := by | |
| 310 | - rw [contDiff_iff_contDiffAt] | |
| 311 | - intro z | |
| 312 | - obtain ⟨s, hs⟩ := periodize_eventually_eq_sum hcf z | |
| 313 | - have hsum : ContDiff ℝ ∞ (fun w => ∑ k ∈ s, f (latticePoint k + w)) := | |
| 314 | - ContDiff.sum (fun k _ => hf.comp (contDiff_const.add contDiff_id)) | |
| 315 | - exact hsum.contDiffAt.congr_of_eventuallyEq hs | |
| 316 | - | |
| 317 | 288 | theorem periodize_periodic {V : Type*} [NormedAddCommGroup V] |
| 318 | 289 | (f : Plane → V) (z : Plane) (k : Frequency) : |
| 319 | 290 | periodize f (z + latticePoint k) = periodize f z := by |
| @@ -402,12 +373,6 @@ theorem squareAverage_periodize {V : Type*} [NormedAddCommGroup V] [NormedSpace | ||
| 402 | 373 | rw [squareAverage_eq_setIntegral (periodize_continuous hf hcf), |
| 403 | 374 | integral_periodize (hf.integrable_of_hasCompactSupport hcf)] |
| 404 | 375 | |
| 405 | -theorem squareAverage_periodize_covering {f : Plane → ℂ} | |
| 406 | - (hf : Continuous f) (hcf : HasCompactSupport f) (n : ℕ) : | |
| 407 | - squareAverage (fun z => periodize f (covering^[n] z)) = ∫ z, f z := by | |
| 408 | - rw [squareAverage_covering_iterate (periodize_continuous hf hcf) | |
| 409 | - (periodize_periodic f) n, squareAverage_periodize hf hcf] | |
| 410 | - | |
| 411 | 376 | theorem squareAverage_periodize_covering_real {f : Plane → ℝ} |
| 412 | 377 | (hf : Continuous f) (hcf : HasCompactSupport f) (n : ℕ) : |
| 413 | 378 | squareAverage (fun z => periodize f (covering^[n] z)) = ∫ z, f z := by |
| @@ -425,11 +390,6 @@ theorem nativeField_continuous {V : Type*} [TopologicalSpace V] | ||
| 425 | 390 | Continuous (nativeField L center f) := |
| 426 | 391 | hf.comp (L.symm.continuous.comp (continuous_id.sub continuous_const)) |
| 427 | 392 | |
| 428 | -theorem nativeField_contDiff {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 429 | - (L : Plane ≃L[ℝ] Plane) (center : Plane) {f : Plane → V} (hf : ContDiff ℝ ∞ f) : | |
| 430 | - ContDiff ℝ ∞ (nativeField L center f) := | |
| 431 | - hf.comp (L.symm.contDiff.comp (contDiff_id.sub contDiff_const)) | |
| 432 | - | |
| 433 | 393 | theorem nativeField_hasCompactSupport {V : Type*} [Zero V] |
| 434 | 394 | (L : Plane ≃L[ℝ] Plane) (center : Plane) {f : Plane → V} (hf : HasCompactSupport f) : |
| 435 | 395 | HasCompactSupport (nativeField L center f) := by |
| @@ -456,16 +416,6 @@ theorem integral_nativeField {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ | ||
| 456 | 416 | LinearEquiv.det_coe_symm L.toLinearEquiv |
| 457 | 417 | rw [hd, inv_inv, ENNReal.toReal_ofReal (abs_nonneg _)] |
| 458 | 418 | |
| 459 | -/-- The native compact-slot average is obtained from periodization and a | |
| 460 | -Jacobian theorem, with no assumed averaging identity. -/ | |
| 461 | -theorem integral_periodize_nativeField {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 462 | - (L : Plane ≃L[ℝ] Plane) (center : Plane) {f : Plane → V} | |
| 463 | - (hf : Continuous f) (hcf : HasCompactSupport f) : | |
| 464 | - (∫ z in fundamentalSquare, periodize (nativeField L center f) z) = | |
| 465 | - |LinearMap.det (L : Plane →ₗ[ℝ] Plane)| • ∫ z, f z := by | |
| 466 | - rw [integral_periodize ((nativeField_continuous L center hf).integrable_of_hasCompactSupport | |
| 467 | - (nativeField_hasCompactSupport L center hcf)), integral_nativeField] | |
| 468 | - | |
| 469 | 419 | /-- The linear map with the radial and longitudinal vectors as its columns. -/ |
| 470 | 420 | noncomputable def slotLinearMap (vr vt : Plane) : Plane →ₗ[ℝ] Plane := |
| 471 | 421 | Matrix.toLin (Module.Basis.finTwoProd ℝ) (Module.Basis.finTwoProd ℝ) |
| @@ -492,13 +442,6 @@ theorem det_slotChart (vr vt : Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) : | ||
| 492 | 442 | LinearMap.det (slotChart vr vt hdet : Plane →ₗ[ℝ] Plane) = |
| 493 | 443 | vr.1 * vt.2 - vr.2 * vt.1 := det_slotLinearMap vr vt |
| 494 | 444 | |
| 495 | -theorem integral_periodize_slot {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 496 | - (vr vt center : Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) {f : Plane → V} | |
| 497 | - (hf : Continuous f) (hcf : HasCompactSupport f) : | |
| 498 | - (∫ z in fundamentalSquare, periodize (nativeField (slotChart vr vt hdet) center f) z) = | |
| 499 | - |vr.1 * vt.2 - vr.2 * vt.1| • ∫ z, f z := by | |
| 500 | - rw [integral_periodize_nativeField _ center hf hcf, det_slotChart] | |
| 501 | - | |
| 502 | 445 | /-- Rescaling the transverse coordinate by `ci`. -/ |
| 503 | 446 | noncomputable def transverseChart (ci : ℝ) (hci : ci ≠ 0) : Plane ≃L[ℝ] Plane := |
| 504 | 447 | slotChart (1, 0) (0, ci) (by simpa using hci) |
| @@ -535,12 +478,6 @@ theorem transverseStretch_continuous {V : Type*} [TopologicalSpace V] (ci r0 : | ||
| 535 | 478 | rw [transverseStretch_eq_nativeField ci r0 hci] |
| 536 | 479 | exact nativeField_continuous _ _ hf |
| 537 | 480 | |
| 538 | -theorem transverseStretch_contDiff {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 539 | - (ci r0 : ℝ) (hci : ci ≠ 0) {f : Plane → V} (hf : ContDiff ℝ ∞ f) : | |
| 540 | - ContDiff ℝ ∞ (transverseStretch ci r0 f) := by | |
| 541 | - rw [transverseStretch_eq_nativeField ci r0 hci] | |
| 542 | - exact nativeField_contDiff _ _ hf | |
| 543 | - | |
| 544 | 481 | theorem transverseStretch_hasCompactSupport {V : Type*} [Zero V] (ci r0 : ℝ) |
| 545 | 482 | (hci : ci ≠ 0) {f : Plane → V} (hf : HasCompactSupport f) : |
| 546 | 483 | HasCompactSupport (transverseStretch ci r0 f) := by |
| @@ -673,24 +610,4 @@ theorem primary_covariance_average (vr vt center : Plane) | ||
| 673 | 610 | hχ hψ hx ht hcχ hcψ i n] |
| 674 | 611 | ring |
| 675 | 612 | |
| 676 | -/-- The same exact prefactor with the transverse integral restricted to the | |
| 677 | -actual pulse interval, using the already verified compact pulse support. -/ | |
| 678 | -theorem primary_covariance_average_interval (vr vt center : Plane) | |
| 679 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (ci r0 : ℝ) (hci : 0 < ci) | |
| 680 | - {r a A b B : ℝ} {χ ψ x : ℝ → ℝ} {t : ℝ → PulseCovariance.Vec2} | |
| 681 | - (hp : PulseCovariance.PulseBounds r a A b B ψ x) | |
| 682 | - (hχ : Continuous χ) (ht : Continuous t) (hcχ : HasCompactSupport χ) | |
| 683 | - (i : Fin 2) (n : ℕ) (phase : Plane → ℝ) (j : ℤ) (hj : j ≠ 0) : | |
| 684 | - let amp := fun z => periodize | |
| 685 | - (nativeField (slotChart vr vt hdet) center | |
| 686 | - (transverseStretch ci r0 (pulseProfile χ ψ x t i))) | |
| 687 | - (covering^[n] z) | |
| 688 | - squareAverage (fun z => SmoothLoop.angularMean | |
| 689 | - (fun θ => amp z * Real.cos ((j : ℝ) * θ + phase z) ^ 2)) = | |
| 690 | - (|vr.1 * vt.2 - vr.2 * vt.1| / 2) * (∫ ξ : ℝ, χ ξ ^ 2) * | |
| 691 | - (ci * ∫ v in (0 : ℝ)..r ^ 2, ψ v ^ 2 * x v * t v i) := by | |
| 692 | - rw [← hp.actualColumn_eq_intervalIntegral ci t i] | |
| 693 | - exact primary_covariance_average vr vt center hdet ci r0 hci | |
| 694 | - hχ hp.cutoff_continuous hp.component_continuous ht hcχ hp.cutoff_compact i n phase j hj | |
| 695 | - | |
| 696 | 613 | end NavierStokes.TorusAverages |
+0 −212 NavierStokes/TorusCoverDegree.lean View file
| @@ -14,17 +14,6 @@ namespace NavierStokes.TorusCoverDegree | ||
| 14 | 14 | |
| 15 | 15 | open Set Function TorusInverse SmoothFourierData TorusAverages CommonCoverSolve |
| 16 | 16 | |
| 17 | -/-- Real representatives of every point on the two-dimensional torus. -/ | |
| 18 | -theorem quotientPoint_surjective : Surjective quotientPoint := by | |
| 19 | - rintro ⟨x, y⟩ | |
| 20 | - refine Quotient.inductionOn' x (fun a => ?_) | |
| 21 | - refine Quotient.inductionOn' y (fun b => ?_) | |
| 22 | - exact ⟨(a, b), rfl⟩ | |
| 23 | - | |
| 24 | -theorem quotientPoint_add (x y : Plane) : | |
| 25 | - quotientPoint (x + y) = quotientPoint x + quotientPoint y := by | |
| 26 | - ext <;> simp [quotientPoint] | |
| 27 | - | |
| 28 | 17 | theorem quotientPoint_sub (x y : Plane) : |
| 29 | 18 | quotientPoint (x - y) = quotientPoint x - quotientPoint y := by |
| 30 | 19 | ext <;> simp [quotientPoint] |
| @@ -45,25 +34,10 @@ theorem quotientPoint_eq_iff (x y : Plane) : | ||
| 45 | 34 | · rintro ⟨k, rfl⟩ |
| 46 | 35 | simpa [add_comm] using quotientPoint_lattice_add k y |
| 47 | 36 | |
| 48 | -theorem quotient_coverPower (d : ℕ) (x : Plane) : | |
| 49 | - quotientPoint (coverPower d x) = torusCovering^[d] (quotientPoint x) := by | |
| 50 | - induction d with | |
| 51 | - | zero => rfl | |
| 52 | - | succ d ih => | |
| 53 | - change quotientPoint (coverEquiv (coverPower d x)) = _ | |
| 54 | - rw [coverEquiv_apply, SlotGeometry.cover_apply] | |
| 55 | - change quotientPoint (covering (coverPower d x)) = _ | |
| 56 | - rw [quotient_covering, ih, Function.iterate_succ_apply'] | |
| 57 | - | |
| 58 | 37 | /-- The explicit inverse chart based at the integral label `k`. -/ |
| 59 | 38 | def rawLift (d : ℕ) (k : Frequency) (y : Plane) : Torus := |
| 60 | 39 | quotientPoint ((coverPower d).symm (y + latticePoint k)) |
| 61 | 40 | |
| 62 | -theorem covering_rawLift (d : ℕ) (k : Frequency) (y : Plane) : | |
| 63 | - torusCovering^[d] (rawLift d k y) = quotientPoint y := by | |
| 64 | - rw [rawLift, ← quotient_coverPower, ContinuousLinearEquiv.apply_symm_apply] | |
| 65 | - simpa [add_comm] using quotientPoint_lattice_add k y | |
| 66 | - | |
| 67 | 41 | /-- Integral deck translations give exactly the same inverse chart. -/ |
| 68 | 42 | theorem rawLift_eq_iff (d : ℕ) (k l : Frequency) (y : Plane) : |
| 69 | 43 | rawLift d k y = rawLift d l y ↔ ∃ n : Frequency, k = l + coverIndex d n := by |
| @@ -80,51 +54,6 @@ theorem rawLift_eq_iff (d : ℕ) (k l : Frequency) (y : Plane) : | ||
| 80 | 54 | rw [latticePoint_add, ← coverPower_lattice, ← add_assoc, map_add, |
| 81 | 55 | ContinuousLinearEquiv.symm_apply_apply] |
| 82 | 56 | |
| 83 | -/-- Every point over a real native point belongs to one integral inverse chart. -/ | |
| 84 | -theorem covering_eq_iff_rawLift (d : ℕ) (p : Torus) (y : Plane) : | |
| 85 | - torusCovering^[d] p = quotientPoint y ↔ ∃ k : Frequency, p = rawLift d k y := by | |
| 86 | - constructor | |
| 87 | - · intro hp | |
| 88 | - obtain ⟨x, rfl⟩ := quotientPoint_surjective p | |
| 89 | - rw [← quotient_coverPower, quotientPoint_eq_iff] at hp | |
| 90 | - obtain ⟨k, hk⟩ := hp | |
| 91 | - exact ⟨k, congrArg quotientPoint ((coverPower d).eq_symm_apply.mpr hk)⟩ | |
| 92 | - · rintro ⟨k, rfl⟩ | |
| 93 | - exact covering_rawLift d k y | |
| 94 | - | |
| 95 | -/-- An injective native chart keeps its native coordinate when lifted. -/ | |
| 96 | -theorem rawLift_injOn (d : ℕ) (k : Frequency) {s : Set Plane} | |
| 97 | - (hs : InjOn quotientPoint s) : InjOn (rawLift d k) s := by | |
| 98 | - intro x hx y hy h | |
| 99 | - apply hs hx hy | |
| 100 | - have h' := congrArg (torusCovering^[d]) h | |
| 101 | - simpa only [covering_rawLift] using h' | |
| 102 | - | |
| 103 | -/-- Distinct lattice classes give disjoint lifted copies of an injective chart. -/ | |
| 104 | -theorem disjoint_rawLift_images (d : ℕ) (k l : Frequency) {s : Set Plane} | |
| 105 | - (hs : InjOn quotientPoint s) (hkl : ¬ ∃ n : Frequency, k = l + coverIndex d n) : | |
| 106 | - Disjoint (rawLift d k '' s) (rawLift d l '' s) := by | |
| 107 | - rw [Set.disjoint_left] | |
| 108 | - rintro p ⟨x, hx, hxp⟩ ⟨y, hy, hyp⟩ | |
| 109 | - have hxy : rawLift d k x = rawLift d l y := hxp.trans hyp.symm | |
| 110 | - have hq : quotientPoint x = quotientPoint y := by | |
| 111 | - simpa only [covering_rawLift] using congrArg (torusCovering^[d]) hxy | |
| 112 | - have heq := hs hx hy hq | |
| 113 | - subst y | |
| 114 | - exact hkl ((rawLift_eq_iff d k l x).mp hxy) | |
| 115 | - | |
| 116 | -/-- The inverse image of a native set is the union of the displayed lifts. -/ | |
| 117 | -theorem preimage_eq_iUnion_rawLift (d : ℕ) (s : Set Plane) : | |
| 118 | - (torusCovering^[d]) ⁻¹' (quotientPoint '' s) = ⋃ k : Frequency, rawLift d k '' s := by | |
| 119 | - ext p | |
| 120 | - simp only [Set.mem_preimage, Set.mem_image, Set.mem_iUnion] | |
| 121 | - constructor | |
| 122 | - · rintro ⟨y, hy, hp⟩ | |
| 123 | - obtain ⟨k, hk⟩ := (covering_eq_iff_rawLift d p y).mp hp.symm | |
| 124 | - exact ⟨k, y, hy, hk.symm⟩ | |
| 125 | - · rintro ⟨k, y, hy, rfl⟩ | |
| 126 | - exact ⟨y, hy, (covering_rawLift d k y).symm⟩ | |
| 127 | - | |
| 128 | 57 | /-- The explicit sheet is the copy-point formula used by the common-cover |
| 129 | 58 | ODE construction, with the same center and native basis. -/ |
| 130 | 59 | theorem rawLift_geometry_point (g : Geometry) (k : Frequency) (z : Plane) : |
| @@ -133,10 +62,6 @@ theorem rawLift_geometry_point (g : Geometry) (k : Frequency) (z : Plane) : | ||
| 133 | 62 | congr 2 |
| 134 | 63 | abel |
| 135 | 64 | |
| 136 | -/-- The original native parameter rectangle. -/ | |
| 137 | -def nativeRectangle (g : Geometry) (r : ℝ) : Set Torus := | |
| 138 | - (fun z => quotientPoint (g.center + g.basis z)) '' Metric.ball (0 : Plane) r | |
| 139 | - | |
| 140 | 65 | /-- One of the inverse parallelograms displayed in the manuscript. -/ |
| 141 | 66 | def liftedRectangle (g : Geometry) (r : ℝ) (k : Frequency) : Set Torus := |
| 142 | 67 | (fun z => quotientPoint (g.point k z)) '' Metric.ball (0 : Plane) r |
| @@ -150,26 +75,6 @@ theorem liftedRectangle_eq_rawLift (g : Geometry) (r : ℝ) (k : Frequency) : | ||
| 150 | 75 | funext z |
| 151 | 76 | exact (rawLift_geometry_point g k z).symm |
| 152 | 77 | |
| 153 | -theorem preimage_nativeRectangle (g : Geometry) (r : ℝ) : | |
| 154 | - (torusCovering^[g.gap]) ⁻¹' nativeRectangle g r = | |
| 155 | - ⋃ k : Frequency, liftedRectangle g r k := by | |
| 156 | - have heq : nativeRectangle g r = quotientPoint '' | |
| 157 | - ((fun z => g.center + g.basis z) '' Metric.ball (0 : Plane) r) := by | |
| 158 | - rw [Set.image_image] | |
| 159 | - rfl | |
| 160 | - rw [heq, preimage_eq_iUnion_rawLift] | |
| 161 | - congr 1 | |
| 162 | - funext k | |
| 163 | - exact (liftedRectangle_eq_rawLift g r k).symm | |
| 164 | - | |
| 165 | -theorem disjoint_liftedRectangles (g : Geometry) (r : ℝ) | |
| 166 | - (hr : ‖(g.basis : Plane →L[ℝ] Plane)‖ * r < 1 / 2) | |
| 167 | - (k l : Frequency) (hkl : ¬ ∃ n : Frequency, k = l + coverIndex g.gap n) : | |
| 168 | - Disjoint (liftedRectangle g r k) (liftedRectangle g r l) := by | |
| 169 | - rw [liftedRectangle_eq_rawLift, liftedRectangle_eq_rawLift] | |
| 170 | - exact disjoint_rawLift_images g.gap k l | |
| 171 | - (quotientPoint_injOn_small_chart g.basis g.center r hr) hkl | |
| 172 | - | |
| 173 | 78 | open TorusCoverLattice |
| 174 | 79 | |
| 175 | 80 | /-- One inverse chart for each class in the actual covering lattice. -/ |
| @@ -181,35 +86,6 @@ def sheetLift (d : ℕ) (i : Sheet d) (y : Plane) : Torus := | ||
| 181 | 86 | @[simp] theorem sheetLift_mk (d : ℕ) (k : Frequency) (y : Plane) : |
| 182 | 87 | sheetLift d (QuotientAddGroup.mk k) y = rawLift d k y := rfl |
| 183 | 88 | |
| 184 | -theorem covering_sheetLift (d : ℕ) (i : Sheet d) (y : Plane) : | |
| 185 | - torusCovering^[d] (sheetLift d i y) = quotientPoint y := by | |
| 186 | - induction i using Quotient.inductionOn with | h k => exact covering_rawLift d k y | |
| 187 | - | |
| 188 | -theorem sheetLift_injective (d : ℕ) (y : Plane) : | |
| 189 | - Injective (fun i : Sheet d => sheetLift d i y) := by | |
| 190 | - intro i j | |
| 191 | - induction i, j using Quotient.inductionOn₂ with | |
| 192 | - | h k l => | |
| 193 | - intro h | |
| 194 | - exact (sheet_eq_iff d k l).mpr ((rawLift_eq_iff d k l y).mp h) | |
| 195 | - | |
| 196 | -/-- Every point of every fiber occurs once, with no duplicated lattice labels. -/ | |
| 197 | -def fiberEquiv (d : ℕ) (y : Plane) : | |
| 198 | - Sheet d ≃ {p : Torus // torusCovering^[d] p = quotientPoint y} := | |
| 199 | - Equiv.ofBijective (fun i => ⟨sheetLift d i y, covering_sheetLift d i y⟩) (by | |
| 200 | - constructor | |
| 201 | - · intro i j h | |
| 202 | - exact sheetLift_injective d y (congrArg Subtype.val h) | |
| 203 | - · rintro ⟨p, hp⟩ | |
| 204 | - obtain ⟨k, hk⟩ := (covering_eq_iff_rawLift d p y).mp hp | |
| 205 | - exact ⟨QuotientAddGroup.mk k, Subtype.ext hk.symm⟩) | |
| 206 | - | |
| 207 | -/-- The degree of the actual matrix cover `[[3,1],[1,5]]` after `d` steps. -/ | |
| 208 | -theorem card_fiber (d : ℕ) (p : Torus) : | |
| 209 | - Nat.card {x : Torus // torusCovering^[d] x = p} = 14 ^ d := by | |
| 210 | - obtain ⟨y, rfl⟩ := quotientPoint_surjective p | |
| 211 | - exact (Nat.card_congr (fiberEquiv d y)).symm.trans (card_sheet d) | |
| 212 | - | |
| 213 | 89 | /-- A native rectangle lifted on the sheet indexed by a lattice class. -/ |
| 214 | 90 | def sheetRectangle (g : Geometry) (r : ℝ) (i : Sheet g.gap) : Set Torus := |
| 215 | 91 | sheetLift g.gap i '' ((fun z => g.center + g.basis z) '' Metric.ball (0 : Plane) r) |
| @@ -218,92 +94,4 @@ def sheetRectangle (g : Geometry) (r : ℝ) (i : Sheet g.gap) : Set Torus := | ||
| 218 | 94 | sheetRectangle g r (QuotientAddGroup.mk k) = liftedRectangle g r k := |
| 219 | 95 | (liftedRectangle_eq_rawLift g r k).symm |
| 220 | 96 | |
| 221 | -theorem preimage_nativeRectangle_sheets (g : Geometry) (r : ℝ) : | |
| 222 | - (torusCovering^[g.gap]) ⁻¹' nativeRectangle g r = | |
| 223 | - ⋃ i : Sheet g.gap, sheetRectangle g r i := by | |
| 224 | - rw [preimage_nativeRectangle] | |
| 225 | - ext p | |
| 226 | - simp only [Set.mem_iUnion] | |
| 227 | - constructor | |
| 228 | - · rintro ⟨k, hk⟩ | |
| 229 | - exact ⟨QuotientAddGroup.mk k, by simpa using hk⟩ | |
| 230 | - · rintro ⟨i, hi⟩ | |
| 231 | - induction i using Quotient.inductionOn with | |
| 232 | - | h k => exact ⟨k, by simpa using hi⟩ | |
| 233 | - | |
| 234 | -theorem pairwise_disjoint_sheetRectangles_of_injOn (g : Geometry) (r : ℝ) | |
| 235 | - (hr : InjOn quotientPoint | |
| 236 | - ((fun z => g.center + g.basis z) '' Metric.ball (0 : Plane) r)) : | |
| 237 | - Pairwise (fun i j : Sheet g.gap => Disjoint (sheetRectangle g r i) | |
| 238 | - (sheetRectangle g r j)) := by | |
| 239 | - intro i j | |
| 240 | - induction i, j using Quotient.inductionOn₂ with | |
| 241 | - | h k l => | |
| 242 | - intro hkl | |
| 243 | - simp only [sheetRectangle_mk, liftedRectangle_eq_rawLift] | |
| 244 | - exact disjoint_rawLift_images g.gap k l hr (fun h => | |
| 245 | - hkl ((sheet_eq_iff g.gap k l).mpr h)) | |
| 246 | - | |
| 247 | -theorem pairwise_disjoint_sheetRectangles (g : Geometry) (r : ℝ) | |
| 248 | - (hr : ‖(g.basis : Plane →L[ℝ] Plane)‖ * r < 1 / 2) : | |
| 249 | - Pairwise (fun i j : Sheet g.gap => Disjoint (sheetRectangle g r i) | |
| 250 | - (sheetRectangle g r j)) := | |
| 251 | - pairwise_disjoint_sheetRectangles_of_injOn g r | |
| 252 | - (quotientPoint_injOn_small_chart g.basis g.center r hr) | |
| 253 | - | |
| 254 | -theorem sheetRectangle_nonempty (g : Geometry) {r : ℝ} (hr : 0 < r) | |
| 255 | - (i : Sheet g.gap) : (sheetRectangle g r i).Nonempty := | |
| 256 | - ((Metric.nonempty_ball.mpr hr).image _).image _ | |
| 257 | - | |
| 258 | -/-- Each of the disjoint pieces maps bijectively to the given native rectangle. -/ | |
| 259 | -theorem covering_bijOn_sheetRectangle_of_injOn (g : Geometry) (r : ℝ) | |
| 260 | - (hr : InjOn quotientPoint | |
| 261 | - ((fun z => g.center + g.basis z) '' Metric.ball (0 : Plane) r)) | |
| 262 | - (i : Sheet g.gap) : | |
| 263 | - BijOn (torusCovering^[g.gap]) (sheetRectangle g r i) (nativeRectangle g r) := by | |
| 264 | - refine ⟨?_, ?_, ?_⟩ | |
| 265 | - · rintro p ⟨y, ⟨z, hz, rfl⟩, rfl⟩ | |
| 266 | - exact ⟨z, hz, (covering_sheetLift g.gap i _).symm⟩ | |
| 267 | - · rintro p ⟨y, hy, rfl⟩ q ⟨z, hz, rfl⟩ h | |
| 268 | - have heq : y = z := hr hy hz (by simpa only [covering_sheetLift] using h) | |
| 269 | - rw [heq] | |
| 270 | - · rintro p ⟨z, hz, rfl⟩ | |
| 271 | - exact ⟨sheetLift g.gap i (g.center + g.basis z), | |
| 272 | - ⟨g.center + g.basis z, ⟨z, hz, rfl⟩, rfl⟩, covering_sheetLift g.gap i _⟩ | |
| 273 | - | |
| 274 | -theorem covering_bijOn_sheetRectangle (g : Geometry) (r : ℝ) | |
| 275 | - (hr : ‖(g.basis : Plane →L[ℝ] Plane)‖ * r < 1 / 2) | |
| 276 | - (i : Sheet g.gap) : | |
| 277 | - BijOn (torusCovering^[g.gap]) (sheetRectangle g r i) (nativeRectangle g r) := | |
| 278 | - covering_bijOn_sheetRectangle_of_injOn g r | |
| 279 | - (quotientPoint_injOn_small_chart g.basis g.center r hr) i | |
| 280 | - | |
| 281 | -/-- The collection of distinct, nonempty lifted rectangles has exactly the | |
| 282 | -degree of the covering, not merely an upper bound on the number of labels. -/ | |
| 283 | -theorem card_liftedRectangles_of_injOn (g : Geometry) {r : ℝ} (hr : 0 < r) | |
| 284 | - (hchart : InjOn quotientPoint | |
| 285 | - ((fun z => g.center + g.basis z) '' Metric.ball (0 : Plane) r)) : | |
| 286 | - Nat.card (Set.range (sheetRectangle g r)) = 14 ^ g.gap := by | |
| 287 | - have hinj : Injective (sheetRectangle g r) := by | |
| 288 | - intro i j hij | |
| 289 | - by_contra hne | |
| 290 | - have hdis := pairwise_disjoint_sheetRectangles_of_injOn g r hchart hne | |
| 291 | - dsimp only at hdis | |
| 292 | - rw [hij] at hdis | |
| 293 | - exact (sheetRectangle_nonempty g hr j).ne_empty (disjoint_self.mp hdis) | |
| 294 | - exact (Nat.card_congr (Equiv.ofInjective _ hinj)).symm.trans (card_sheet g.gap) | |
| 295 | - | |
| 296 | -theorem card_liftedRectangles (g : Geometry) {r : ℝ} (hr : 0 < r) | |
| 297 | - (hsmall : ‖(g.basis : Plane →L[ℝ] Plane)‖ * r < 1 / 2) : | |
| 298 | - Nat.card (Set.range (sheetRectangle g r)) = 14 ^ g.gap := | |
| 299 | - card_liftedRectangles_of_injOn g hr | |
| 300 | - (quotientPoint_injOn_small_chart g.basis g.center r hsmall) | |
| 301 | - | |
| 302 | -theorem card_liftedRectangles_le (g : Geometry) {r : ℝ} (hr : 0 < r) | |
| 303 | - (hsmall : ‖(g.basis : Plane →L[ℝ] Plane)‖ * r < 1 / 2) | |
| 304 | - {maximumGap : ℕ} (hgap : g.gap ≤ maximumGap) : | |
| 305 | - Nat.card (Set.range (sheetRectangle g r)) ≤ 14 ^ maximumGap := by | |
| 306 | - rw [card_liftedRectangles g hr hsmall] | |
| 307 | - exact Nat.pow_le_pow_right (by decide) hgap | |
| 308 | - | |
| 309 | 97 | end NavierStokes.TorusCoverDegree |
+0 −5 NavierStokes/TorusCoverLattice.lean View file
| @@ -75,11 +75,6 @@ def coverHom : ℕ → Frequency →+ Frequency | ||
| 75 | 75 | rw [ih] |
| 76 | 76 | simp only [coverIndex, Function.iterate_succ_apply'] |
| 77 | 77 | |
| 78 | -theorem coverHom_injective (d : ℕ) : Function.Injective (coverHom d) := by | |
| 79 | - induction d with | |
| 80 | - | zero => exact Function.injective_id | |
| 81 | - | succ d ih => exact indexHom_injective.comp ih | |
| 82 | - | |
| 83 | 78 | /-- Deck-equivalent integer labels differ by an element of this lattice. -/ |
| 84 | 79 | def coverRange (d : ℕ) : AddSubgroup Frequency := (coverHom d).range |
| 85 | 80 | |
+0 −85 NavierStokes/TorusInverse.lean View file
| @@ -274,21 +274,6 @@ theorem norm_multiplier_le (d : Direction) (k : Frequency) : | ||
| 274 | 274 | theorem Rapid.inverseCoeff {a : Frequency → ℂ} (ha : Rapid a) (d : Direction) : |
| 275 | 275 | Rapid (inverseCoeff d a) := ha.mul_linear (6 * ‖omega⁻¹‖) (norm_multiplier_le d) |
| 276 | 276 | |
| 277 | -/-- The coefficient estimate loses one polynomial frequency weight. -/ | |
| 278 | -theorem inverseCoeff_weighted_bound (d : Direction) (a : Frequency → ℂ) | |
| 279 | - (p : ℕ) (k : Frequency) : | |
| 280 | - weight k ^ p * ‖inverseCoeff d a k‖ ≤ | |
| 281 | - (6 * ‖omega⁻¹‖) * (weight k ^ (p + 1) * ‖a k‖) := by | |
| 282 | - unfold inverseCoeff | |
| 283 | - rw [norm_mul] | |
| 284 | - calc | |
| 285 | - weight k ^ p * (‖multiplier d k‖ * ‖a k‖) ≤ | |
| 286 | - weight k ^ p * (((6 * ‖omega⁻¹‖) * weight k) * ‖a k‖) := | |
| 287 | - mul_le_mul_of_nonneg_left | |
| 288 | - (mul_le_mul_of_nonneg_right (norm_multiplier_le d k) (norm_nonneg _)) | |
| 289 | - (pow_nonneg (weight_pos k).le p) | |
| 290 | - _ = _ := by rw [pow_succ]; ring | |
| 291 | - | |
| 292 | 277 | theorem coefficient_cancel (d : Direction) {a : Frequency → ℂ} (hzero : a 0 = 0) |
| 293 | 278 | (k : Frequency) : omega * (symbol d k : ℂ) * inverseCoeff d a k = a k := by |
| 294 | 279 | by_cases hk : k = 0 |
| @@ -424,23 +409,11 @@ theorem integral_torusSeries {a : Frequency → ℂ} (ha : Rapid a) : | ||
| 424 | 409 | def coeffSeminorm (p : ℕ) (a : Frequency → ℂ) : ℝ := |
| 425 | 410 | ∑' k, weight k ^ p * ‖a k‖ |
| 426 | 411 | |
| 427 | -theorem inverseCoeff_seminorm_le (d : Direction) {a : Frequency → ℂ} | |
| 428 | - (ha : Rapid a) (p : ℕ) : | |
| 429 | - coeffSeminorm p (inverseCoeff d a) ≤ (6 * ‖omega⁻¹‖) * coeffSeminorm (p + 1) a := by | |
| 430 | - have h := (ha.inverseCoeff d p).tsum_le_tsum (inverseCoeff_weighted_bound d a p) | |
| 431 | - ((ha (p + 1)).mul_left (6 * ‖omega⁻¹‖)) | |
| 432 | - simpa only [coeffSeminorm, tsum_mul_left] using h | |
| 433 | - | |
| 434 | 412 | theorem norm_series_le {a : Frequency → ℂ} (ha : Rapid a) (x : Plane) : |
| 435 | 413 | ‖series a x‖ ≤ coeffSeminorm 0 a := by |
| 436 | 414 | simpa only [series, coeffSeminorm, pow_zero, one_mul, norm_mul, norm_mode, mul_one] using |
| 437 | 415 | norm_tsum_le_tsum_norm (summable_terms ha x).norm |
| 438 | 416 | |
| 439 | -theorem norm_directionalInverse_le (d : Direction) {a : Frequency → ℂ} | |
| 440 | - (ha : Rapid a) (x : Plane) : | |
| 441 | - ‖directionalInverse d a x‖ ≤ (6 * ‖omega⁻¹‖) * coeffSeminorm 1 a := by | |
| 442 | - exact (norm_series_le (ha.inverseCoeff d) x).trans (inverseCoeff_seminorm_le d ha 0) | |
| 443 | - | |
| 444 | 417 | def coordinateCoeff (j : Bool) (a : Frequency → ℂ) : Frequency → ℂ := |
| 445 | 418 | if j then derivY a else derivX a |
| 446 | 419 | |
| @@ -526,41 +499,6 @@ theorem inverse_derivativeWord_bound (d : Direction) {a : Frequency → ℂ} (ha | ||
| 526 | 499 | |
| 527 | 500 | /-! ## Parameters and support -/ |
| 528 | 501 | |
| 529 | -theorem hasDerivAt_parameter_series (a a' : ℝ → Frequency → ℂ) (B : Frequency → ℝ) | |
| 530 | - (hderiv : ∀ k t, HasDerivAt (fun s => a s k) (a' t k) t) | |
| 531 | - (hB : Summable B) (hbound : ∀ k t, ‖a' t k‖ ≤ B k) | |
| 532 | - (t₀ : ℝ) (hinit : Rapid (a t₀)) (x : Plane) (t : ℝ) : | |
| 533 | - HasDerivAt (fun s => series (a s) x) (series (a' t) x) t := by | |
| 534 | - apply hasDerivAt_tsum hB | |
| 535 | - (fun k s => (hderiv k s).mul_const (mode k x)) _ (summable_terms hinit x) t | |
| 536 | - intro k s | |
| 537 | - simpa only [norm_mul, norm_mode, mul_one] using hbound k s | |
| 538 | - | |
| 539 | -/-- Parameter differentiation commutes with the actual inverse series under a | |
| 540 | -uniform summable bound on one frequency-weighted parameter derivative. -/ | |
| 541 | -theorem hasDerivAt_parameter_inverse (d : Direction) (a a' : ℝ → Frequency → ℂ) | |
| 542 | - (B : Frequency → ℝ) | |
| 543 | - (hderiv : ∀ k t, HasDerivAt (fun s => a s k) (a' t k) t) | |
| 544 | - (hB : Summable (fun k => weight k * B k)) | |
| 545 | - (hbound : ∀ k t, ‖a' t k‖ ≤ B k) | |
| 546 | - (t₀ : ℝ) (hinit : Rapid (a t₀)) (x : Plane) (t : ℝ) : | |
| 547 | - HasDerivAt (fun s => directionalInverse d (a s) x) | |
| 548 | - (directionalInverse d (a' t) x) t := by | |
| 549 | - refine hasDerivAt_parameter_series | |
| 550 | - (fun s => inverseCoeff d (a s)) (fun s => inverseCoeff d (a' s)) | |
| 551 | - (fun k => (6 * ‖omega⁻¹‖) * (weight k * B k)) ?_ ?_ ?_ | |
| 552 | - t₀ (hinit.inverseCoeff d) x t | |
| 553 | - · intro k s | |
| 554 | - exact HasDerivAt.const_mul (multiplier d k) (hderiv k s) | |
| 555 | - · exact hB.mul_left _ | |
| 556 | - · intro k s | |
| 557 | - calc | |
| 558 | - ‖inverseCoeff d (a' s) k‖ = ‖multiplier d k‖ * ‖a' s k‖ := norm_mul _ _ | |
| 559 | - _ ≤ ((6 * ‖omega⁻¹‖) * weight k) * B k := | |
| 560 | - mul_le_mul (norm_multiplier_le d k) (hbound k s) (norm_nonneg _) | |
| 561 | - (mul_nonneg (mul_nonneg (by norm_num) (norm_nonneg _)) (weight_pos k).le) | |
| 562 | - _ = _ := by ring | |
| 563 | - | |
| 564 | 502 | /-- Inversion uses only the torus variable and preserves support in every |
| 565 | 503 | external parameter. No nonvanishing or convergence hypothesis is needed here. -/ |
| 566 | 504 | theorem inverse_preserves_parameter_support {P : Type*} (d : Direction) |
| @@ -580,27 +518,4 @@ theorem directionalInverse_periodic (d : Direction) (a : Frequency → ℂ) | ||
| 580 | 518 | directionalInverse d a (x.1 + m, x.2 + n) = directionalInverse d a x := |
| 581 | 519 | series_periodic (inverseCoeff d a) x m n |
| 582 | 520 | |
| 583 | -/-- A zero-average rapidly convergent Fourier series on the actual torus has | |
| 584 | -a zero-average inverse whose universal-cover lift is smooth and solves the | |
| 585 | -directional equation. Both manuscript directions are covered. -/ | |
| 586 | -theorem zero_mean_series_has_smooth_inverse (d : Direction) {a : Frequency → ℂ} | |
| 587 | - (ha : Rapid a) (hmean : (∫ z, torusSeries a z ∂torusMeasure) = 0) : | |
| 588 | - ∃ u : Torus → ℂ, Continuous u ∧ (∫ z, u z ∂torusMeasure) = 0 ∧ | |
| 589 | - ContDiff ℝ ∞ (fun x : Plane => u ((x.1 : UnitAddCircle), (x.2 : UnitAddCircle))) ∧ | |
| 590 | - ∀ x : Plane, | |
| 591 | - fderiv ℝ (fun y : Plane => u ((y.1 : UnitAddCircle), (y.2 : UnitAddCircle))) | |
| 592 | - x (vector d) = series a x := by | |
| 593 | - have hzero : a 0 = 0 := by rwa [integral_torusSeries ha] at hmean | |
| 594 | - have hpull : (fun x : Plane => | |
| 595 | - torusSeries (inverseCoeff d a) ((x.1 : UnitAddCircle), (x.2 : UnitAddCircle))) = | |
| 596 | - directionalInverse d a := by | |
| 597 | - funext x | |
| 598 | - exact (series_eq_torusSeries (inverseCoeff d a) x).symm | |
| 599 | - refine ⟨torusSeries (inverseCoeff d a), continuous_torusSeries (ha.inverseCoeff d), | |
| 600 | - inverse_zero_mean d ha, ?_, ?_⟩ | |
| 601 | - · rw [hpull] | |
| 602 | - exact contDiff_directionalInverse d ha | |
| 603 | - · rw [hpull] | |
| 604 | - exact directionalInverse_solves d ha hzero | |
| 605 | - | |
| 606 | 521 | end NavierStokes.TorusInverse |
+0 −39 NavierStokes/TorusMeanRequestRebase.lean View file
| @@ -106,33 +106,6 @@ end Freeze | ||
| 106 | 106 | |
| 107 | 107 | /-! ## The evaluation point carries no torus or angle dependence -/ |
| 108 | 108 | |
| 109 | -theorem fullRequest_free_variables (s : StripData Point) (P : SignedStressPrimitive.Patch) | |
| 110 | - (coord : ℝ) (c : Context Point) (u : State Point) (n : ℕ) | |
| 111 | - (r : ℝ) (z Y Y' : Plane) (theta theta' : ℝ) : | |
| 112 | - LocalSignedRequest.fullRequest s P coord c u n ((r, (z, Y)), theta) = | |
| 113 | - LocalSignedRequest.fullRequest s P coord c u n ((r, (z, Y')), theta') := rfl | |
| 114 | - | |
| 115 | -theorem stateRequest_free_variables (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) | |
| 116 | - (h : ℝ) (c : Context Point) (u : State Point) (n : ℕ) | |
| 117 | - (r : ℝ) (z Y Y' : Plane) (theta theta' : ℝ) : | |
| 118 | - PhysicalSignedWave.stateRequest s P h c u n ((r, (z, Y)), theta) = | |
| 119 | - PhysicalSignedWave.stateRequest s P h c u n ((r, (z, Y')), theta') := rfl | |
| 120 | - | |
| 121 | -/-- This changes only the evaluation point, not the state or the measure | |
| 122 | -used for its torus average. The fast-coordinate map can be arbitrary. -/ | |
| 123 | -theorem stateRequest_fast_map (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) | |
| 124 | - (h : ℝ) (c : Context Point) (u : State Point) (n : ℕ) | |
| 125 | - (mapFast : Plane → Plane) (x : Cylinder) : | |
| 126 | - PhysicalSignedWave.stateRequest s P h c u n | |
| 127 | - ((x.1.1, (x.1.2.1, mapFast x.1.2.2)), x.2) = | |
| 128 | - PhysicalSignedWave.stateRequest s P h c u n x := rfl | |
| 129 | - | |
| 130 | -theorem stateRequest_inverseCover (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) | |
| 131 | - (h : ℝ) (c : Context Point) (u : State Point) (n gap : ℕ) (x : Cylinder) : | |
| 132 | - PhysicalSignedWave.stateRequest s P h c u n | |
| 133 | - ((x.1.1, (x.1.2.1, (CommonCoverSolve.coverPower gap).symm x.1.2.2)), x.2) = | |
| 134 | - PhysicalSignedWave.stateRequest s P h c u n x := rfl | |
| 135 | - | |
| 136 | 109 | /-- Equality uses exactly the source and target epsilons. No equality of |
| 137 | 110 | their unrelated domains, phase frames, or native backgrounds is needed. -/ |
| 138 | 111 | theorem stateRequest_freeze (s sr : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| @@ -264,18 +237,6 @@ noncomputable def stateData : (identityViews B m h Q cover hQ hfrequency).StateD | ||
| 264 | 237 | reference_axial_periodic _ := by |
| 265 | 238 | simpa only [freezeState_axial] using (H.axial P.a_pos P.a_lt_b hp).periodic m |
| 266 | 239 | |
| 267 | -theorem stateData_request (s : StripData Cylinder) (n : ℕ) | |
| 268 | - (hepsilon : B.strip.epsilon n = s.epsilon m) (x : Cylinder) : | |
| 269 | - (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).request n x = | |
| 270 | - PhysicalSignedWave.stateRequest s P h c u m x := | |
| 271 | - stateRequest_freeze s B.strip P h c u m n hepsilon x | |
| 272 | - | |
| 273 | -theorem stateData_referenceRequest (s : StripData Cylinder) | |
| 274 | - (hepsilon : B.strip.epsilon m = s.epsilon m) (x : Cylinder) : | |
| 275 | - (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).referenceRequest m x = | |
| 276 | - PhysicalSignedWave.stateRequest s P h c u m x := | |
| 277 | - stateRequest_freeze s B.strip P h c u m m hepsilon x | |
| 278 | - | |
| 279 | 240 | /-- Exact binding to the original common-coordinate full signed request. |
| 280 | 241 | The swap only puts the slow coordinates into their original `(time,axial)` order. -/ |
| 281 | 242 | theorem stateData_referenceRequest_full (s : StripData Point) |
+30 −0 routes/s1-ns-torus-1/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-torus-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10): the family `NavierStokes/Torus*`. It deletes the 46 declarations that | |
| 8 | +nothing in the tree uses, 424 lines, in the five files `NavierStokes/TorusAverages.lean` (9), | |
| 9 | +`NavierStokes/TorusCoverDegree.lean` (25), `NavierStokes/TorusCoverLattice.lean` (1), | |
| 10 | +`NavierStokes/TorusInverse.lean` (6) and `NavierStokes/TorusMeanRequestRebase.lean` (6). The diff is deletions | |
| 11 | +only; no statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) and | |
| 14 | +re-read against this project's declaration graph at main under the rule that the paper's results stay: a | |
| 15 | +declaration that Treant deleted stays when a paper result reaches it, when its docstring cites the paper, or when | |
| 16 | +a declaration that stays names it. None of the 46 is in `NavierStokes/PaperResults.lean`, | |
| 17 | +`NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean`'s reach, none of their docstrings names a | |
| 18 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation, and none is named by a declaration that | |
| 19 | +stays. | |
| 20 | + | |
| 21 | +After the deletion, `git grep -n -w` over the whole tree finds no remaining use of any of the 46 short names, | |
| 22 | +with one exception: `stateData_request` and `stateData_referenceRequest` are also declared in | |
| 23 | +`NavierStokes/ActualPeriodizedSignedRealization.lean` (namespace `NavierStokes.ActualPeriodizedSignedRealization`), | |
| 24 | +and its uses there refer to those declarations, not to the deleted `TorusMeanRequestRebase` ones. | |
| 25 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +The maintainer's review after `challenge` and `build`. If something in this unit must stay (a paper citation in a | |
| 30 | +deleted docstring, a surviving use), it is left out of this pull request and named in its description instead. | |