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 #511 from s1-euler-cylinder-8
Browse fileschore(Euler/Cylinder): delete 34 declarations nothing uses
main maintainer-statement p1-ns-physical s1-euler-angle-9 s1-euler-transverse-9 s1-ns-common-9 s1-ns-curl-9 s1-ns-error-9 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-periodic-9 s1-ns-periodized-9 s1-ns-pressure-9 s1-ns-radial-9 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-9 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-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 −7 Euler/CylinderAngleAverage.lean View file
| @@ -156,13 +156,6 @@ theorem average_fullOperator (A : Space →ᵇ E →L[ℝ] F) (u : CylinderL2 P | ||
| 156 | 156 | |
| 157 | 157 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 158 | 158 | |
| 159 | -theorem pathAverage_fullMultiplier (A : C(K,Space →ᵇ E →L[ℝ] F)) | |
| 160 | - (u : C(K,CylinderL2 P E)) : | |
| 161 | - pathAverage P (fullMultiplierMap P A u) = fullMultiplierMap P A (pathAverage P u) := by | |
| 162 | - apply ContinuousMap.ext | |
| 163 | - intro t | |
| 164 | - exact average_fullOperator P (A t) (u t) | |
| 165 | - | |
| 166 | 159 | end Coefficients |
| 167 | 160 | |
| 168 | 161 | section Supported |
+0 −13 Euler/CylinderAngleAverageTime.lean View file
| @@ -24,19 +24,6 @@ theorem pointField_mean_zero_iff (p : C(K,LiftL2 P)) | ||
| 24 | 24 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 25 | 25 | simpa only [sobolevPath_value] using h |
| 26 | 26 | |
| 27 | -theorem pathAverage_eq_zero_iff (p : C(K,LiftL2 P)) | |
| 28 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : | |
| 29 | - pathAverage P p = 0 ↔ | |
| 30 | - ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0 := by | |
| 31 | - constructor | |
| 32 | - · intro h t | |
| 33 | - apply (pointField_mean_zero_iff P p hp t).mp | |
| 34 | - exact congrArg (fun q : C(K,LiftL2 P) => q t) h | |
| 35 | - · intro h | |
| 36 | - apply ContinuousMap.ext | |
| 37 | - intro t | |
| 38 | - exact (pointField_mean_zero_iff P p hp t).mpr (h t) | |
| 39 | - | |
| 40 | 27 | theorem pathAverage_orbit_contDiff (p : C(K,LiftL2 P)) |
| 41 | 28 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 42 | 29 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (pathAverage P p)) := by |
+0 −53 Euler/CylinderCorrectorMeanZero.lean View file
| @@ -16,10 +16,6 @@ open scoped ContDiff BoundedContinuousFunction | ||
| 16 | 16 | |
| 17 | 17 | variable (P : ℝ) [Fact (0 < P)] |
| 18 | 18 | |
| 19 | -theorem average_primitive (u : LiftL2 P) : | |
| 20 | - average P (primitive P u) = primitive P (average P u) := | |
| 21 | - average_intertwines P (primitive P) (fun s v => primitive_mixed_translation P (0,s) v) u | |
| 22 | - | |
| 23 | 19 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 24 | 20 | |
| 25 | 21 | private local instance : NormedAddCommGroup (LiftL2 P) := inferInstance |
| @@ -27,55 +23,6 @@ private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance | ||
| 27 | 23 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 28 | 24 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 29 | 25 | |
| 30 | -omit [CompactSpace K] in | |
| 31 | -theorem pathAverage_primitive (p : C(K,LiftL2 P)) : | |
| 32 | - pathAverage P (pathPrimitive P p) = pathPrimitive P (pathAverage P p) := by | |
| 33 | - apply ContinuousMap.ext | |
| 34 | - intro t | |
| 35 | - exact average_primitive P (p t) | |
| 36 | - | |
| 37 | -theorem derivativePath_zero (i : Fin 4) : derivativePath P (0 : C(K,LiftL2 P)) i = 0 := by | |
| 38 | - simp only [derivativePath, wordPath, map_zero, wordDerivative, iteratedFDeriv_one_apply, | |
| 39 | - fderiv_const_apply, zero_apply] | |
| 40 | - | |
| 41 | 26 | variable (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 42 | 27 | |
| 43 | -include hp in | |
| 44 | -theorem pathAverage_derivativePath (i : Fin 4) : | |
| 45 | - pathAverage P (derivativePath P p i) = derivativePath P (pathAverage P p) i := by | |
| 46 | - have he : (fun a : LiftTangent => pathTranslate P a (pathAverage P p)) = | |
| 47 | - pathAverage P ∘ (fun a : LiftTangent => pathTranslate P a p) := | |
| 48 | - funext (fun a => (pathAverage_translation P a p).symm) | |
| 49 | - have hw := wordDerivative_comp_clm | |
| 50 | - (P := LiftTangent) (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) | |
| 51 | - standardDirection (pathAverage (K := K) (V := Space) P) | |
| 52 | - (fun a : LiftTangent => pathTranslate P a p) hp (fun _ : Fin 1 => i) 0 | |
| 53 | - simpa only [derivativePath, wordPath, he] using hw.symm | |
| 54 | - | |
| 55 | -theorem pathAverage_potentialPath (B : C(K,Space →ᵇ Space →L[ℝ] Space)) : | |
| 56 | - pathAverage P (potentialPath P B p) = potentialPath P B (pathAverage P p) := by | |
| 57 | - unfold potentialPath | |
| 58 | - rw [pathAverage_fullMultiplier, pathAverage_primitive] | |
| 59 | - | |
| 60 | -theorem potentialPath_mean_zero (B : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 61 | - (hz : pathAverage P p = 0) : pathAverage P (potentialPath P B p) = 0 := by | |
| 62 | - rw [pathAverage_potentialPath, hz] | |
| 63 | - simp only [potentialPath, map_zero] | |
| 64 | - | |
| 65 | -include hp in | |
| 66 | -theorem pathAverage_slowCurl (G : C(K,Space →ᵇ Space →L[ℝ] Space)) : | |
| 67 | - pathAverage P (path P G p) = path P G (pathAverage P p) := by | |
| 68 | - unfold path | |
| 69 | - rw [map_sum] | |
| 70 | - apply Finset.sum_congr rfl | |
| 71 | - intro i _ | |
| 72 | - unfold term | |
| 73 | - rw [pathAverage_fullMultiplier, pathAverage_derivativePath P p hp] | |
| 74 | - | |
| 75 | -include hp in | |
| 76 | -theorem slowCurl_mean_zero (G : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 77 | - (hz : pathAverage P p = 0) : pathAverage P (path P G p) = 0 := by | |
| 78 | - rw [pathAverage_slowCurl P p hp G, hz] | |
| 79 | - simp only [path, term, derivativePath_zero, map_zero, Finset.sum_const_zero] | |
| 80 | - | |
| 81 | 28 | end EulerCylinderCorrectorMeanZero |
+0 −14 Euler/CylinderDirichletData.lean View file
| @@ -133,20 +133,6 @@ def physicalDerivative (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) : C(Icc (0 : ℝ) | ||
| 133 | 133 | D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) |
| 134 | 134 | D.potential D.potential_nonneg (D.hessian_upper P) D.small f |
| 135 | 135 | |
| 136 | -theorem displacement_initial (f : TimeLp T (CylinderL2 P E)) : | |
| 137 | - D.displacementPath P f ⟨0,le_rfl,D.time_pos.le⟩ = 0 := | |
| 138 | - EulerTransverseFixedEvolution.displacementPath_initial T D.time_pos.le | |
| 139 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 140 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 141 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small f | |
| 142 | - | |
| 143 | -theorem displacement_terminal (f : TimeLp T (CylinderL2 P E)) : | |
| 144 | - D.displacementPath P f ⟨T,D.time_pos.le,le_rfl⟩ = 0 := | |
| 145 | - EulerTransverseFixedEvolution.displacementPath_terminal T D.time_pos.le | |
| 146 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 147 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 148 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small f | |
| 149 | - | |
| 150 | 136 | theorem velocity_hasDerivWithinAt (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 151 | 137 | HasDerivWithinAt (extendPath T D.time_pos.le (D.velocityPath P (pathLp T D.time_pos.le f))) |
| 152 | 138 | (D.accelerationPath P f t) (Icc (0 : ℝ) T) t := |
+0 −45 Euler/CylinderDirichletMean.lean View file
| @@ -71,15 +71,6 @@ theorem velocityPath_average (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) | ||
| 71 | 71 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 72 | 72 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 73 | 73 | |
| 74 | -theorem accelerationPath_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 75 | - D.accelerationPath P (pathAverage P f) t = average P (D.accelerationPath P f t) := | |
| 76 | - D.accelerationPath_intertwines P D (average P) (average P) | |
| 77 | - (fun t u => (average_fullOperator P (D.Q t) u).symm) | |
| 78 | - (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) | |
| 79 | - (fun t u => average_fullOperator_back P (D.Q t) u) | |
| 80 | - (fun t u => average_fullOperator_back P (D.Q₁ t) u) | |
| 81 | - (fun t u => (average_fullOperator P (D.H t) u).symm) f t | |
| 82 | - | |
| 83 | 74 | theorem physicalVelocity_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 84 | 75 | D.physicalVelocity P (pathAverage P f) t = average P (D.physicalVelocity P f t) := |
| 85 | 76 | D.physicalVelocity_intertwines P D (average P) (average P) |
| @@ -89,24 +80,6 @@ theorem physicalVelocity_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Ic | ||
| 89 | 80 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 90 | 81 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 91 | 82 | |
| 92 | -theorem physicalDerivative_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 93 | - D.physicalDerivative P (pathAverage P f) t = average P (D.physicalDerivative P f t) := | |
| 94 | - D.physicalDerivative_intertwines P D (average P) (average P) | |
| 95 | - (fun t u => (average_fullOperator P (D.Q t) u).symm) | |
| 96 | - (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) | |
| 97 | - (fun t u => average_fullOperator_back P (D.Q t) u) | |
| 98 | - (fun t u => average_fullOperator_back P (D.Q₁ t) u) | |
| 99 | - (fun t u => (average_fullOperator P (D.H t) u).symm) f t | |
| 100 | - | |
| 101 | -theorem accelerationPath_zero (t : Icc (0 : ℝ) T) : D.accelerationPath P 0 t = 0 := by | |
| 102 | - have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := | |
| 103 | - map_zero (pathLpOperator T D.time_pos.le) | |
| 104 | - change gramInverse (D.frame P t) D.lower D.lower_pos (D.frame_lower P t) | |
| 105 | - ((D.frame P t).adjoint (0-(2 : ℝ) • D.frameDerivative P t | |
| 106 | - (D.velocityPath P (pathLp T D.time_pos.le 0) t))) = 0 | |
| 107 | - rw [hz] | |
| 108 | - simp only [map_zero,ContinuousMap.zero_apply,smul_zero,sub_zero] | |
| 109 | - | |
| 110 | 83 | theorem physicalVelocity_zero (t : Icc (0 : ℝ) T) : D.physicalVelocity P 0 t = 0 := by |
| 111 | 84 | have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := |
| 112 | 85 | map_zero (pathLpOperator T D.time_pos.le) |
| @@ -114,14 +87,6 @@ theorem physicalVelocity_zero (t : Icc (0 : ℝ) T) : D.physicalVelocity P 0 t = | ||
| 114 | 87 | rw [hz] |
| 115 | 88 | simp only [map_zero,ContinuousMap.zero_apply] |
| 116 | 89 | |
| 117 | -theorem physicalDerivative_zero (t : Icc (0 : ℝ) T) : D.physicalDerivative P 0 t = 0 := by | |
| 118 | - have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := | |
| 119 | - map_zero (pathLpOperator T D.time_pos.le) | |
| 120 | - change D.frameDerivative P t (D.velocityPath P (pathLp T D.time_pos.le 0) t)+ | |
| 121 | - D.frame P t (D.accelerationPath P 0 t) = 0 | |
| 122 | - rw [hz,D.accelerationPath_zero P t] | |
| 123 | - simp only [map_zero,ContinuousMap.zero_apply,add_zero] | |
| 124 | - | |
| 125 | 90 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (hf : ∀ t, average P (f t) = 0) |
| 126 | 91 | |
| 127 | 92 | omit [CompleteSpace E] in |
| @@ -143,19 +108,9 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) T) : | ||
| 143 | 108 | rw [hz,map_zero,ContinuousMap.zero_apply] at h |
| 144 | 109 | exact h.symm |
| 145 | 110 | |
| 146 | -include hf in | |
| 147 | -theorem accelerationPath_mean_zero (t : Icc (0 : ℝ) T) : | |
| 148 | - average P (D.accelerationPath P f t) = 0 := by | |
| 149 | - rw [← D.accelerationPath_average P f t,averagedPath_zero P f hf,D.accelerationPath_zero P t] | |
| 150 | - | |
| 151 | 111 | include hf in |
| 152 | 112 | theorem physicalVelocity_mean_zero (t : Icc (0 : ℝ) T) : |
| 153 | 113 | average P (D.physicalVelocity P f t) = 0 := by |
| 154 | 114 | rw [← D.physicalVelocity_average P f t,averagedPath_zero P f hf,D.physicalVelocity_zero P t] |
| 155 | 115 | |
| 156 | -include hf in | |
| 157 | -theorem physicalDerivative_mean_zero (t : Icc (0 : ℝ) T) : | |
| 158 | - average P (D.physicalDerivative P f t) = 0 := by | |
| 159 | - rw [← D.physicalDerivative_average P f t,averagedPath_zero P f hf,D.physicalDerivative_zero P t] | |
| 160 | - | |
| 161 | 116 | end EulerCylinderDirichlet.Coefficients |
+0 −41 Euler/CylinderDirichletParity.lean View file
| @@ -63,32 +63,6 @@ theorem continuousVelocity_reflection (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t | ||
| 63 | 63 | rw [reflection_adjoint,reflection_adjoint] |
| 64 | 64 | exact (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm |
| 65 | 65 | |
| 66 | -theorem accelerationPath_reflection (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 67 | - D.accelerationPath P (pathReflection P f) t = reflection P (D.accelerationPath P f t) := by | |
| 68 | - apply D.accelerationPath_intertwines P D | |
| 69 | - (reflection P).toContinuousLinearMap (reflection P).toContinuousLinearMap | |
| 70 | - (fun s u => (reflection_fullOperator P (D.Q s) (hQ s) u).symm) | |
| 71 | - (fun s u => (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm) | |
| 72 | - _ _ (fun s u => (reflection_fullOperator P (D.H s) (hH s) u).symm) f t | |
| 73 | - · intro s u | |
| 74 | - rw [reflection_adjoint,reflection_adjoint] | |
| 75 | - exact (reflection_fullOperator P (D.Q s) (hQ s) u).symm | |
| 76 | - · intro s u | |
| 77 | - rw [reflection_adjoint,reflection_adjoint] | |
| 78 | - exact (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm | |
| 79 | - | |
| 80 | -omit hQ hQ₁ hH in | |
| 81 | -theorem accelerationPath_neg (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 82 | - D.accelerationPath P (-f) t = -(D.accelerationPath P f t) := by | |
| 83 | - have hn : pathLp T D.time_pos.le (-f) = -(pathLp T D.time_pos.le f) := | |
| 84 | - map_neg (pathLpOperator T D.time_pos.le) f | |
| 85 | - change gramInverse (D.frame P t) D.lower D.lower_pos (D.frame_lower P t) | |
| 86 | - ((D.frame P t).adjoint (-f t-(2 : ℝ) • D.frameDerivative P t | |
| 87 | - (D.velocityPath P (pathLp T D.time_pos.le (-f)) t))) = _ | |
| 88 | - rw [hn,map_neg,ContinuousMap.neg_apply,map_neg,smul_neg,neg_sub_neg,← neg_sub] | |
| 89 | - simp only [map_neg] | |
| 90 | - rfl | |
| 91 | - | |
| 92 | 66 | theorem velocityPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 93 | 67 | (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : |
| 94 | 68 | reflection P (D.velocityPath P (pathLp T D.time_pos.le f) t) = |
| @@ -99,12 +73,6 @@ theorem velocityPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | ||
| 99 | 73 | map_neg (pathLpOperator T D.time_pos.le) f |
| 100 | 74 | rw [hn,map_neg,ContinuousMap.neg_apply] |
| 101 | 75 | |
| 102 | -theorem accelerationPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 103 | - (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : | |
| 104 | - reflection P (D.accelerationPath P f t) = -(D.accelerationPath P f t) := by | |
| 105 | - have he : pathReflection P f = -f := ContinuousMap.ext hf | |
| 106 | - rw [← D.accelerationPath_reflection P hQ hQ₁ hH f t,he,D.accelerationPath_neg P f t] | |
| 107 | - | |
| 108 | 76 | theorem physicalVelocity_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 109 | 77 | (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : |
| 110 | 78 | reflection P (D.physicalVelocity P f t) = -(D.physicalVelocity P f t) := by |
| @@ -112,13 +80,4 @@ theorem physicalVelocity_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | ||
| 112 | 80 | rw [reflection_fullOperator P (D.Q t) (hQ t),D.velocityPath_odd P hQ hQ₁ hH f hf t,map_neg] |
| 113 | 81 | rfl |
| 114 | 82 | |
| 115 | -theorem physicalDerivative_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 116 | - (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : | |
| 117 | - reflection P (D.physicalDerivative P f t) = -(D.physicalDerivative P f t) := by | |
| 118 | - change reflection P (fullOperatorMap P (D.Q₁ t) (D.velocityPath P (pathLp T D.time_pos.le f) t)+ | |
| 119 | - fullOperatorMap P (D.Q t) (D.accelerationPath P f t)) = _ | |
| 120 | - rw [map_add,reflection_fullOperator P (D.Q₁ t) (hQ₁ t),reflection_fullOperator P (D.Q t) (hQ t), | |
| 121 | - D.velocityPath_odd P hQ hQ₁ hH f hf t,D.accelerationPath_odd P hQ hQ₁ hH f hf t,map_neg,map_neg] | |
| 122 | - exact (neg_add _ _).symm | |
| 123 | - | |
| 124 | 83 | end EulerCylinderDirichlet.Coefficients |
+0 −22 Euler/CylinderDirichletSupport.lean View file
| @@ -91,17 +91,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) T) : | ||
| 91 | 91 | rw [spatialCutoff_path_fix P S hS f hf] at h |
| 92 | 92 | exact h.symm |
| 93 | 93 | |
| 94 | -include hf in | |
| 95 | -theorem accelerationPath_supported (t : Icc (0 : ℝ) T) : | |
| 96 | - D.accelerationPath P f t ∈ Supported P U S hS := by | |
| 97 | - apply (spatialCutoff_fix P S hS _).2 | |
| 98 | - have h := D.accelerationPath_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 99 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 100 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 101 | - (D.hessian_cutoff P S hS) f t | |
| 102 | - rw [spatialCutoff_path_fix P S hS f hf] at h | |
| 103 | - exact h.symm | |
| 104 | - | |
| 105 | 94 | include hf in |
| 106 | 95 | theorem physicalVelocity_supported (t : Icc (0 : ℝ) T) : |
| 107 | 96 | D.physicalVelocity P f t ∈ Supported P E S hS := by |
| @@ -113,15 +102,4 @@ theorem physicalVelocity_supported (t : Icc (0 : ℝ) T) : | ||
| 113 | 102 | rw [spatialCutoff_path_fix P S hS f hf] at h |
| 114 | 103 | exact h.symm |
| 115 | 104 | |
| 116 | -include hf in | |
| 117 | -theorem physicalDerivative_supported (t : Icc (0 : ℝ) T) : | |
| 118 | - D.physicalDerivative P f t ∈ Supported P E S hS := by | |
| 119 | - apply (spatialCutoff_fix P S hS _).2 | |
| 120 | - have h := D.physicalDerivative_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 121 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 122 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 123 | - (D.hessian_cutoff P S hS) f t | |
| 124 | - rw [spatialCutoff_path_fix P S hS f hf] at h | |
| 125 | - exact h.symm | |
| 126 | - | |
| 127 | 105 | end EulerCylinderDirichlet.Coefficients |
+0 −14 Euler/CylinderEndpointParity.lean View file
| @@ -35,24 +35,10 @@ theorem endpointCoordinate_odd (t : Icc (0 : ℝ) T) : | ||
| 35 | 35 | D.velocityPath_odd P hQ hQ₁ hH (D.endpointForcing P Y) (D.endpointForcing_odd P hQ₁ Y hY) t] |
| 36 | 36 | module |
| 37 | 37 | |
| 38 | -theorem endpointAcceleration_odd (t : Icc (0 : ℝ) T) : | |
| 39 | - reflection P (D.endpointAcceleration P Y t) = -D.endpointAcceleration P Y t := by | |
| 40 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply,map_neg, | |
| 41 | - D.accelerationPath_odd P hQ hQ₁ hH (D.endpointForcing P Y) (D.endpointForcing_odd P hQ₁ Y hY) t] | |
| 42 | - | |
| 43 | 38 | theorem endpointVelocity_odd (t : Icc (0 : ℝ) T) : |
| 44 | 39 | reflection P (D.endpointVelocity P Y t) = -D.endpointVelocity P Y t := by |
| 45 | 40 | change reflection P (fullOperatorMap P (D.Q t) (D.endpointCoordinate P Y t)) = _ |
| 46 | 41 | rw [reflection_fullOperator P (D.Q t) (hQ t),D.endpointCoordinate_odd P hQ hQ₁ hH Y hY t,map_neg] |
| 47 | 42 | rfl |
| 48 | 43 | |
| 49 | -theorem endpointDerivative_odd (t : Icc (0 : ℝ) T) : | |
| 50 | - reflection P (D.endpointDerivative P Y t) = -D.endpointDerivative P Y t := by | |
| 51 | - change reflection P (fullOperatorMap P (D.Q₁ t) (D.endpointCoordinate P Y t)+ | |
| 52 | - fullOperatorMap P (D.Q t) (D.endpointAcceleration P Y t)) = _ | |
| 53 | - rw [map_add,reflection_fullOperator P (D.Q₁ t) (hQ₁ t),reflection_fullOperator P (D.Q t) (hQ t), | |
| 54 | - D.endpointCoordinate_odd P hQ hQ₁ hH Y hY t,D.endpointAcceleration_odd P hQ hQ₁ hH Y hY t, | |
| 55 | - map_neg,map_neg] | |
| 56 | - exact (neg_add _ _).symm | |
| 57 | - | |
| 58 | 44 | end EulerCylinderDirichlet.Coefficients |
+0 −26 Euler/CylinderEndpointSupport.lean View file
| @@ -55,23 +55,10 @@ theorem endpointCoordinate_supported (t : Icc (0 : ℝ) T) : | ||
| 55 | 55 | (D.velocityPath_supported P S hS (D.endpointForcing P Y) |
| 56 | 56 | (D.endpointForcing_supported P S hS Y hY) t) |
| 57 | 57 | |
| 58 | -theorem endpointAcceleration_supported (t : Icc (0 : ℝ) T) : | |
| 59 | - D.endpointAcceleration P Y t ∈ Supported P U S hS := by | |
| 60 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply] | |
| 61 | - exact (Supported P U S hS).neg_mem | |
| 62 | - (D.accelerationPath_supported P S hS (D.endpointForcing P Y) | |
| 63 | - (D.endpointForcing_supported P S hS Y hY) t) | |
| 64 | - | |
| 65 | 58 | theorem endpointVelocity_supported (t : Icc (0 : ℝ) T) : |
| 66 | 59 | D.endpointVelocity P Y t ∈ Supported P E S hS := |
| 67 | 60 | D.frame_supported P S hS _ (D.endpointCoordinate_supported P S hS Y hY t) t |
| 68 | 61 | |
| 69 | -theorem endpointDerivative_supported (t : Icc (0 : ℝ) T) : | |
| 70 | - D.endpointDerivative P Y t ∈ Supported P E S hS := | |
| 71 | - (Supported P E S hS).add_mem | |
| 72 | - (D.frameDerivative_supported P S hS _ (D.endpointCoordinate_supported P S hS Y hY t) t) | |
| 73 | - (D.frame_supported P S hS _ (D.endpointAcceleration_supported P S hS Y hY t) t) | |
| 74 | - | |
| 75 | 62 | end Support |
| 76 | 63 | |
| 77 | 64 | section Mean |
| @@ -90,24 +77,11 @@ theorem endpointCoordinate_mean_zero (t : Icc (0 : ℝ) T) : | ||
| 90 | 77 | rw [D.endpointCoordinate_eq_const_sub P Y t,map_sub,map_smul,hY,smul_zero, |
| 91 | 78 | D.velocityPath_mean_zero P (D.endpointForcing P Y) (D.endpointForcing_mean_zero P Y hY) t,sub_zero] |
| 92 | 79 | |
| 93 | -theorem endpointAcceleration_mean_zero (t : Icc (0 : ℝ) T) : | |
| 94 | - average P (D.endpointAcceleration P Y t) = 0 := by | |
| 95 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply,map_neg, | |
| 96 | - D.accelerationPath_mean_zero P (D.endpointForcing P Y) (D.endpointForcing_mean_zero P Y hY) t,neg_zero] | |
| 97 | - | |
| 98 | 80 | theorem endpointVelocity_mean_zero (t : Icc (0 : ℝ) T) : |
| 99 | 81 | average P (D.endpointVelocity P Y t) = 0 := by |
| 100 | 82 | change average P (fullOperatorMap P (D.Q t) (D.endpointCoordinate P Y t)) = 0 |
| 101 | 83 | rw [average_fullOperator,D.endpointCoordinate_mean_zero P Y hY t,map_zero] |
| 102 | 84 | |
| 103 | -theorem endpointDerivative_mean_zero (t : Icc (0 : ℝ) T) : | |
| 104 | - average P (D.endpointDerivative P Y t) = 0 := by | |
| 105 | - change average P (fullOperatorMap P (D.Q₁ t) (D.endpointCoordinate P Y t)+ | |
| 106 | - fullOperatorMap P (D.Q t) (D.endpointAcceleration P Y t)) = 0 | |
| 107 | - rw [map_add,average_fullOperator,average_fullOperator, | |
| 108 | - D.endpointCoordinate_mean_zero P Y hY t,D.endpointAcceleration_mean_zero P Y hY t, | |
| 109 | - map_zero,map_zero,add_zero] | |
| 110 | - | |
| 111 | 85 | end Mean |
| 112 | 86 | |
| 113 | 87 | end EulerCylinderDirichlet.Coefficients |
+0 −18 Euler/CylinderPotentialPath.lean View file
| @@ -71,24 +71,6 @@ theorem potentialField_source_formula | ||
| 71 | 71 | ((smoothField_continuous P _ (pointField_smooth P p hp t)).comp |
| 72 | 72 | (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 73 | 73 | |
| 74 | -/-- The L² construction is the same actual field used in the compact Piola construction. -/ | |
| 75 | -theorem potentialField_eq_periodic | |
| 76 | - (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0) | |
| 77 | - (m : K → Space → Space) (hBm : ∀ t y, B t y = potentialMultiplier (m t y)) | |
| 78 | - (t : K) : | |
| 79 | - potentialField P B hB p hp t = EulerPacketPeriodicPotential.field P (m t) (pointField P p hp t) := by | |
| 80 | - funext x | |
| 81 | - obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective x.2 | |
| 82 | - have hx : x=(x.1,(θ : AddCircle P)) := by | |
| 83 | - apply Prod.ext | |
| 84 | - · rfl | |
| 85 | - · exact hθ.symm | |
| 86 | - rw [hx, potentialField_source_formula P B hB p hp hmean m hBm t x.1 θ] | |
| 87 | - have h := EulerPacketPeriodicPotential.field_cover P (m t) (pointField P p hp t) | |
| 88 | - (smoothField_continuous P _ (pointField_smooth P p hp t)) (hmean t) (x.1,θ) | |
| 89 | - simpa only [coveringMap, EulerPacketPiola.coveringPotential, localFieldLift, | |
| 90 | - Prod.fst_zero, Prod.snd_zero, zero_add] using h.symm | |
| 91 | - | |
| 92 | 74 | include hB hp in |
| 93 | 75 | /-- Angular integration and multiplication retain the input radius and external shift. -/ |
| 94 | 76 | theorem potentialPath_block_bound {ι : Type*} [Fintype ι] |
+0 −6 Euler/CylinderScalarClassical.lean View file
| @@ -43,12 +43,6 @@ theorem classicalPrimitive_angle (y : Space) (θ : ℝ) : | ||
| 43 | 43 | exact EulerAngleMeanZeroPrimitive.primitive_hasDerivAt P _ |
| 44 | 44 | (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 45 | 45 | |
| 46 | -theorem classicalPrimitive_mean_zero (y : Space) : | |
| 47 | - (∫ θ in (0 : ℝ)..P, classicalPrimitive P f hf hmean (y,(θ : AddCircle P))) = 0 := by | |
| 48 | - simp_rw [classicalPrimitive_cover] | |
| 49 | - exact EulerAngleMeanZeroPrimitive.primitive_mean_zero P (ne_of_gt (Fact.out : 0 < P)) _ | |
| 50 | - (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) | |
| 51 | - | |
| 52 | 46 | /-- The actual normalized integral is smooth in all cylinder variables. -/ |
| 53 | 47 | theorem classicalPrimitive_smooth |
| 54 | 48 | (hfs : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (x : LiftDomain P) : |
+0 −6 Euler/CylinderScalarTime.lean View file
| @@ -22,12 +22,6 @@ def scalarPointField (t : K) (x : LiftDomain P) : ℝ := | ||
| 22 | 22 | scalarProject (pointField P (pathMap P scalarEmbed p) |
| 23 | 23 | (pathMap_orbit_contDiff P scalarEmbed p hp) t x) |
| 24 | 24 | |
| 25 | -theorem scalarPointField_joint_continuous : | |
| 26 | - Continuous (fun z : K × LiftDomain P => scalarPointField P p hp z.1 z.2) := | |
| 27 | - scalarProject.continuous.comp | |
| 28 | - (pointField_joint_continuous P (pathMap P scalarEmbed p) | |
| 29 | - (pathMap_orbit_contDiff P scalarEmbed p hp)) | |
| 30 | - | |
| 31 | 25 | theorem scalarPointField_smooth (t : K) (x : LiftDomain P) : |
| 32 | 26 | ContDiff ℝ ∞ (localFieldLift P (scalarPointField P p hp t) x) := |
| 33 | 27 | scalarProject.contDiff.comp |
+0 −6 Euler/CylinderTimeRegularity.lean View file
| @@ -28,12 +28,6 @@ def pointField (p : C(K,LiftL2 period)) | ||
| 28 | 28 | (t : K) (x : LiftDomain period) : Space := |
| 29 | 29 | EulerSobolevPointEvaluation.pointEvaluation period x (sobolevPath period 3 p hp t) |
| 30 | 30 | |
| 31 | -/-- The reconstructed field is jointly continuous in time and cylinder position. -/ | |
| 32 | -theorem pointField_joint_continuous (p : C(K,LiftL2 period)) | |
| 33 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) : | |
| 34 | - Continuous (fun z : K × LiftDomain period => pointField period p hp z.1 z.2) := | |
| 35 | - EulerSobolevJointEvaluation.path_representative_joint_continuous period (sobolevPath period 3 p hp) | |
| 36 | - | |
| 37 | 31 | /-- The bounded point evaluation is exactly the smooth representative of each actual L² slice. -/ |
| 38 | 32 | theorem pointField_eq_representative (p : C(K,LiftL2 period)) |
| 39 | 33 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) (t : K) : |
+16 −0 routes/s1-euler-cylinder-8/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-cylinder-8 | |
| 6 | + | |
| 7 | +One unit of S-1 (delete declarations that nothing uses): 34 declarations of the | |
| 8 | +family `Euler/Cylinder*`, in 13 files under `Euler/`, 271 lines. The unit's list | |
| 9 | +is `/work/unit/unit.json`; the change is a deletion only. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Nothing to do: the deletion is complete and `python3 checks/challenge.py .` ends | |
| 14 | +with `ok`. The `build` check is running on the head; if it fails, look first at | |
| 15 | +the four `private local instance`s left in `Euler/CylinderCorrectorMeanZero.lean` | |
| 16 | +and the now-unused `variable (p …) (hp …)` there. | |