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 #73 from s1-euler-correction-1
Browse fileschore(Euler/Correction): delete 16 declarations nothing uses
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-1 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-1 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-actual-files-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-appendix-1 s1-ns-assembled-1 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-1 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-comparator-1 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-1 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-1 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-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-1 s1-ns-wave-11 s1-ns-wave-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-1 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-1 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 −14 Euler/CorrectionAssemblyCommon.lean View file
| @@ -55,20 +55,6 @@ theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | ||
| 55 | 55 | ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := |
| 56 | 56 | F.equation 6 le_rfl t ht |
| 57 | 57 | |
| 58 | -/-- Every other genuine finite-order correction realizes this same common field. | |
| 59 | -Consequently bounds proved for any particular finite solver may be transferred to the assembled solution. -/ | |
| 60 | -theorem FiniteFamily.realizes_common (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 61 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 62 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 63 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 64 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 65 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 66 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 67 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) | |
| 68 | - (t : Icc (0 : ℝ) T) : value period (u t) = F.commonPath period t := by | |
| 69 | - rw [F.unique_at_order period C q hq u hi hd hu] | |
| 70 | - exact F.value_common period C q hq t | |
| 71 | - | |
| 72 | 58 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 73 | 59 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 74 | 60 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
+0 −23 Euler/CorrectionAssemblyCompatibility.lean View file
| @@ -54,27 +54,4 @@ theorem FiniteFamily.value_base (F : FiniteFamily period hT A) (C : ComparisonDa | ||
| 54 | 54 | value period (F.solution 6 le_rfl t)) rfl |
| 55 | 55 | (fun n hn ih => (F.value_succ period C n hn t).trans ih) q hq |
| 56 | 56 | |
| 57 | -/-- Every other actual finite-order correction with zero trace and the same genuine PDE and divergence condition equals the supplied finite correction. | |
| 58 | -No comparison estimate or compatibility is assumed. -/ | |
| 59 | -theorem FiniteFamily.unique_at_order (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 60 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 61 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 62 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 63 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 64 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 65 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 66 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) : | |
| 67 | - u = F.solution q hq := by | |
| 68 | - apply inviscid_correction_unique period hq T hT.le (A.atOrder period q) | |
| 69 | - (C.stabilityBudget period q) u (F.solution q hq) | |
| 70 | - · rw [hi, F.initial] | |
| 71 | - · exact hu | |
| 72 | - · exact F.equation q hq | |
| 73 | - · intro t | |
| 74 | - change value period (A.approximation.realization (q+1) t) ∈ _ | |
| 75 | - rw [A.approximation.value_eq] | |
| 76 | - exact C.divergence t | |
| 77 | - · exact hd | |
| 78 | - · exact F.divergence q hq | |
| 79 | - | |
| 80 | 57 | end EulerCorrectionAssembly |
+0 −15 Euler/CorrectionAssemblyData.lean View file
| @@ -76,19 +76,4 @@ structure FiniteFamily {T : ℝ} (hT : 0 < T) (A : Data period T) where | ||
| 76 | 76 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 77 | 77 | ⟨t, ht.1.le, ht.2.le⟩ (solution q hq ⟨t, ht.1.le, ht.2.le⟩))) t |
| 78 | 78 | |
| 79 | -/-- Choose an actual finite correction family from proved finite-existence statements. | |
| 80 | -This is an assembly helper conditional on finite existence, not an independent source existence theorem. -/ | |
| 81 | -def finiteFamilyOfExists {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 82 | - (H : ∀ q (hq : 6 ≤ q), ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), | |
| 83 | - e ⟨0, le_rfl, hT.le⟩ = 0 ∧ | |
| 84 | - (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 85 | - ∀ t (ht : t ∈ Ioo 0 T), | |
| 86 | - HasDerivAt (fun r => value period (extendPath T hT.le e r)) | |
| 87 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 88 | - ⟨t, ht.1.le, ht.2.le⟩ (e ⟨t, ht.1.le, ht.2.le⟩))) t) : FiniteFamily period hT A where | |
| 89 | - solution q hq := Classical.choose (H q hq) | |
| 90 | - initial q hq := (Classical.choose_spec (H q hq)).1 | |
| 91 | - divergence q hq := (Classical.choose_spec (H q hq)).2.1 | |
| 92 | - equation q hq := (Classical.choose_spec (H q hq)).2.2 | |
| 93 | - | |
| 94 | 79 | end EulerCorrectionAssembly |
+0 −8 Euler/CorrectionAssemblyParity.lean View file
| @@ -119,12 +119,4 @@ theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | ||
| 119 | 119 | (F.fieldTower period C).realization q t := |
| 120 | 120 | fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t |
| 121 | 121 | |
| 122 | -/-- Every realization of the actual assembled signed pressure tower is odd. -/ | |
| 123 | -theorem FiniteFamily.pressureTower_odd (F : FiniteFamily period hT A) | |
| 124 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 125 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 126 | - oddReflection period q ((F.pressureTower period C).realization q t) = | |
| 127 | - (F.pressureTower period C).realization q t := | |
| 128 | - fieldTower_realization_odd period (F.pressureTower period C) (F.commonPressure_odd period C P) q t | |
| 129 | - | |
| 130 | 122 | end EulerCorrectionAssembly |
+0 −11 Euler/CorrectionAssemblyPressure.lean View file
| @@ -91,15 +91,4 @@ def FiniteFamily.pressureJet (F : FiniteFamily period hT A) (C : ComparisonData | ||
| 91 | 91 | exact EulerH6Pressure.SpatialJet.restrict |
| 92 | 92 | (toJet period (F.signedPressurePath period (n+6) (by omega) t)) n (by omega) |
| 93 | 93 | |
| 94 | -/-- The common correction satisfies the literal equation with its reconstructed actual signed pressure. -/ | |
| 95 | -theorem FiniteFamily.commonPath_pressure_equation (F : FiniteFamily period hT A) | |
| 96 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 97 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 98 | - (-value period (F.rawSourcePath period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩) - | |
| 99 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).operator | |
| 100 | - (F.commonPressure period ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 101 | - have h := F.commonPath_hasDerivAt period t ht | |
| 102 | - rw [(A.atOrder period 6).source_value period le_rfl] at h | |
| 103 | - exact h | |
| 104 | - | |
| 105 | 94 | end EulerCorrectionAssembly |
+0 −6 Euler/CorrectionOperators.lean View file
| @@ -30,12 +30,6 @@ def linearize (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z : X) : X | ||
| 30 | 30 | @[simp] theorem linearize_apply (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : |
| 31 | 31 | linearize B C z e = B z e + B e z + C e := rfl |
| 32 | 32 | |
| 33 | -/-- The correction source is exactly the difference of the full quadratic equations. -/ | |
| 34 | -theorem quadratic_correction_identity (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : | |
| 35 | - C (z+e) + B (z+e) (z+e) - (C z + B z z) = linearize B C z e + B e e := by | |
| 36 | - simp only [linearize_apply, map_add, add_apply] | |
| 37 | - abel | |
| 38 | - | |
| 39 | 33 | /-- Continuous data give continuous linearized operators. -/ |
| 40 | 34 | theorem linearize_continuous {T : Type*} [TopologicalSpace T] |
| 41 | 35 | (B : T → X →L[ℝ] X →L[ℝ] Y) (C : T → X →L[ℝ] Y) (z : T → X) |
+0 −14 Euler/CorrectionParity.lean View file
| @@ -36,20 +36,6 @@ theorem value_oddReflection {q : ℕ} (u : SobolevSpace period q) : | ||
| 36 | 36 | change -value period (sobolevReflection period q u) = _ |
| 37 | 37 | rw [value_sobolevReflection] |
| 38 | 38 | |
| 39 | -/-- Actual almost-everywhere odd parity is precisely a fixed point of signed reflection. -/ | |
| 40 | -theorem oddReflection_fixed_of_ae {q : ℕ} (u : SobolevSpace period q) | |
| 41 | - (hu : ∀ᵐ x ∂liftMeasure period, value period u (-x) = -value period u x) : | |
| 42 | - oddReflection period q u = u := by | |
| 43 | - apply value_injective period | |
| 44 | - rw [value_oddReflection] | |
| 45 | - have hh : reflection period (value period u) = -value period u := by | |
| 46 | - apply Lp.ext | |
| 47 | - filter_upwards [reflection_ae period (value period u), Lp.coeFn_neg (value period u), hu] | |
| 48 | - with x h1 h2 h3 | |
| 49 | - rw [h1, h2] | |
| 50 | - exact h3 | |
| 51 | - rw [hh, neg_neg] | |
| 52 | - | |
| 53 | 39 | /-- Signed reflection commutes with restriction to the next Sobolev order. -/ |
| 54 | 40 | theorem truncate_oddReflection {q : ℕ} (u : SobolevSpace period (q+1)) : |
| 55 | 41 | truncateOperator period q (oddReflection period (q+1) u) = |
+0 −51 Euler/CorrectionResidualCancellation.lean View file
| @@ -52,55 +52,4 @@ theorem residual_cancellation {q : ℕ} {T : Type*} [TopologicalSpace T] | ||
| 52 | 52 | rw [rawSource_eq_residual_increment period D hq t e,map_add] |
| 53 | 53 | abel |
| 54 | 54 | |
| 55 | -/-- The actual continuous corrected path is the prescribed approximation plus the constructed error. -/ | |
| 56 | -def correctedPath {q : ℕ} {T : ℝ} (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 57 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) : | |
| 58 | - C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := D.approximation+e | |
| 59 | - | |
| 60 | -/-- A zero initial correction preserves the actual initial field. -/ | |
| 61 | -theorem correctedPath_initial {q : ℕ} (T : ℝ) (hT : 0 ≤ T) | |
| 62 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 63 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (he : e ⟨0,le_rfl,hT⟩=0) : | |
| 64 | - correctedPath period D e ⟨0,le_rfl,hT⟩=D.approximation ⟨0,le_rfl,hT⟩ := by | |
| 65 | - change D.approximation ⟨0,le_rfl,hT⟩+e ⟨0,le_rfl,hT⟩=_ | |
| 66 | - rw [he,add_zero] | |
| 67 | - | |
| 68 | -/-- The corrected path retains the genuine lifted divergence constraint by addition in its closed subspace. -/ | |
| 69 | -theorem correctedPath_divergenceFree {q : ℕ} {T : ℝ} | |
| 70 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 71 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 72 | - (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) | |
| 73 | - (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) (t : Icc (0 : ℝ) T) : | |
| 74 | - value period (correctedPath period D e t) ∈ divergenceFreeSpace period D.κ D.direction := | |
| 75 | - (divergenceFreeSpace period D.κ D.direction).add_mem (hz t) (he t) | |
| 76 | - | |
| 77 | -/-- Adding a genuine approximate pressure to the actual correction pressure preserves membership in the lifted gradient space. -/ | |
| 78 | -theorem corrected_pressure_mem_gradient {q : ℕ} {T : Type*} [TopologicalSpace T] | |
| 79 | - (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) | |
| 80 | - (e : SobolevSpace period (q+1)) (pa : SobolevSpace period q) | |
| 81 | - (hpa : value period pa ∈ gradientSpace period D.κ D.direction) : | |
| 82 | - value period (pa+D.pressure period hq t e) ∈ gradientSpace period D.κ D.direction := | |
| 83 | - (gradientSpace period D.κ D.direction).add_mem hpa (D.pressure_mem_gradient period hq t e) | |
| 84 | - | |
| 85 | -/-- Actual approximate and correction derivatives give the zero-residual nonlinear equation for their sum, with the sum of their genuine pressures. -/ | |
| 86 | -theorem correctedPath_hasDerivAt {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) | |
| 87 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 88 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 89 | - (pa : C(Icc (0 : ℝ) T,SobolevSpace period q)) (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 90 | - (hz : HasDerivAt (fun r => truncateOperator period q (extendPath T hT D.approximation r)) | |
| 91 | - (D.residual ⟨t,ht.1.le,ht.2.le⟩- | |
| 92 | - nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (D.approximation ⟨t,ht.1.le,ht.2.le⟩)- | |
| 93 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) t) | |
| 94 | - (he : HasDerivAt (fun r => truncateOperator period q (extendPath T hT e r)) | |
| 95 | - (-D.rawSource period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 96 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 97 | - (D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t) : | |
| 98 | - HasDerivAt (fun r => truncateOperator period q (extendPath T hT (correctedPath period D e) r)) | |
| 99 | - (-nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (correctedPath period D e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 100 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 101 | - (pa ⟨t,ht.1.le,ht.2.le⟩+D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t := by | |
| 102 | - have h := (hz.add he).congr_deriv | |
| 103 | - (residual_cancellation period D hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) | |
| 104 | - convert h using 1 <;> rfl | |
| 105 | - | |
| 106 | 55 | end EulerCorrectionResidualCancellation |
+0 −21 Euler/CorrectionSmoothTimeField.lean View file
| @@ -39,25 +39,4 @@ theorem Budget.correctionCoefficient_timeDerivative (B : Budget P hT A) : | ||
| 39 | 39 | (B.fieldTower P).toSmoothTimeField_timeDerivative_of_interior (B.timeDerivativeTower P) |
| 40 | 40 | hT.le 6 (by norm_num) (B.fieldTower_hasDerivAt_timeDerivativeTower P 6 le_rfl) |
| 41 | 41 | |
| 42 | -theorem Budget.correctionCoefficient_jet_bound (B : Budget P hT A) (n : ℕ) : | |
| 43 | - ‖(B.correctionCoefficient P).jet n‖ ≤ | |
| 44 | - (sobolevEmbeddingConstant P 3 * B.correctionSize P) * | |
| 45 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 46 | - (n.factorial : ℝ)^2 := | |
| 47 | - (B.fieldTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 48 | - (B.correctionSize P) (B.reducedRadius_pos P) (B.correctionSize_nonneg P) | |
| 49 | - (B.fieldTower_reducedNorm P (n+6) n le_rfl) | |
| 50 | - | |
| 51 | -theorem Budget.correctionDerivativeCoefficient_jet_bound (B : Budget P hT A) | |
| 52 | - (C : ℝ) (hC : 0 ≤ C) | |
| 53 | - (hb : ∀ (n : ℕ) (t : Icc (0 : ℝ) T), | |
| 54 | - EulerSobolevGevreyOperators.weightedNorm P 6 n (B.reducedRadius P) | |
| 55 | - ((B.timeDerivativeTower P).realization (n+6) t) ≤ C) (n : ℕ) : | |
| 56 | - ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 57 | - (sobolevEmbeddingConstant P 3 * C) * | |
| 58 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 59 | - (n.factorial : ℝ)^2 := | |
| 60 | - (B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 61 | - C (B.reducedRadius_pos P) hC (hb n) | |
| 62 | - | |
| 63 | 42 | end EulerAllOrderDriftCorrection |
+0 −17 Euler/CorrectionTimeRestriction.lean View file
| @@ -35,21 +35,4 @@ def CorrectionData.comp {q : ℕ} {T U : Type*} [TopologicalSpace T] [Topologica | ||
| 35 | 35 | approximation := D.approximation.comp f |
| 36 | 36 | residual := D.residual.comp f |
| 37 | 37 | |
| 38 | -/-- The restricted correction source is the original actual source at the restricted time. -/ | |
| 39 | -theorem CorrectionData.comp_source {q : ℕ} {T U : Type*} [TopologicalSpace T] [TopologicalSpace U] | |
| 40 | - (D : CorrectionData period q T) (f : C(U,T)) (hq : 6 ≤ q) | |
| 41 | - (t : U) (u : SobolevSpace period (q+1)) : | |
| 42 | - ((D.comp period f).coefficients period hq).apply t u = | |
| 43 | - (D.coefficients period hq).apply (f t) u := rfl | |
| 44 | - | |
| 45 | -/-- Restricting the concrete data gives precisely the same nonlinear mild equation on a shorter interval. -/ | |
| 46 | -theorem CorrectionData.comp_quadraticDuhamel {q : ℕ} (hq : 6 ≤ q) | |
| 47 | - (ν : ℝ) (hν : 0 < ν) {T S : ℝ} (hT : 0 ≤ T) (hTS : T ≤ S) | |
| 48 | - (D : CorrectionData period q (Icc (0 : ℝ) S)) | |
| 49 | - (u₀ : SobolevSpace period (q+1)) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 50 | - (t : Icc (0 : ℝ) T) : | |
| 51 | - quadraticDuhamel period ν hν hT le_rfl | |
| 52 | - ((D.comp period (timeInclusion hTS)).coefficients period hq) u₀ u t = | |
| 53 | - quadraticDuhamel period ν hν hT hTS (D.coefficients period hq) u₀ u t := rfl | |
| 54 | - | |
| 55 | 38 | end EulerCorrectionOperators |
+29 −0 routes/s1-euler-correction-1/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-correction-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10, "Delete declarations that nothing uses"), wave 1: the family | |
| 8 | +`Euler/Correction*`. It deletes 16 declarations, 180 lines, in the 10 files | |
| 9 | +`Euler/CorrectionAssemblyCommon.lean`, `CorrectionAssemblyCompatibility.lean`, | |
| 10 | +`CorrectionAssemblyData.lean`, `CorrectionAssemblyParity.lean`, `CorrectionAssemblyPressure.lean`, | |
| 11 | +`CorrectionOperators.lean`, `CorrectionParity.lean`, `CorrectionResidualCancellation.lean`, | |
| 12 | +`CorrectionSmoothTimeField.lean` and `CorrectionTimeRestriction.lean`. | |
| 13 | + | |
| 14 | +The unit comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and was cut | |
| 15 | +against this project's declaration graph of `main`, under the rule that the paper's results stay: | |
| 16 | +a Treant deletion stays when the paper's results reach it, when its docstring cites the paper, or | |
| 17 | +when the text of a declaration that stays names it. These 16 stay out of that set. | |
| 18 | + | |
| 19 | +What I checked against the tree left by the patch: `git grep -n -w` for each deleted short name | |
| 20 | +finds no user in `*.lean`. The one hit, `commonPath_pressure_equation` in | |
| 21 | +`Euler/AllOrderSmoothPressure.lean:27`, is a different declaration of the same short name | |
| 22 | +(namespace `EulerAllOrderSmoothPressure`, another signature), so it is fine. No deleted docstring | |
| 23 | +cites a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of the paper. Nothing | |
| 24 | +had to stay: the diff is deletions only, 180 lines, no addition. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +The pull request is open; if it is turned down, the 16 declarations go back in the file unit.json | |
| 29 | +names, at the lines it gives, and the rest of the family is untouched. | |