Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

chore(NavierStokes/Gaussian): delete 39 declarations nothing uses
Browse filesOne unit of #10: delete 39 unused declarations (643 lines) from NavierStokes/GaussianEnvelope.lean, NavierStokes/GaussianErrorNaturality.lean and NavierStokes/GaussianTailFlat.lean. Deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement s1-euler-all-2 s1-euler-all-3 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-cylinder-2 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-packet-8 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-actual-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-axisymmetric-8 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-common-8 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-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-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-1 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-harmonic-1 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-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-periodized-2 s1-ns-periodized-6 s1-ns-periodized-8 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-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-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-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-whole-3 s1-ns-within-2 s1-ns-within-6 s2-euler-heat-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+0 −17 NavierStokes/GaussianEnvelope.lean View file
| @@ -117,23 +117,6 @@ theorem gaussian_envelope_bounds {D : Set ℝ} {rate : ℝ → ℝ} | ||
| 117 | 117 | theorem envelope_pos (rate : ℝ → ℝ) (midpoint time : ℝ) : |
| 118 | 118 | 0 < envelope rate midpoint time := Real.exp_pos _ |
| 119 | 119 | |
| 120 | -/-- For positive `c` and slot length the midpoint is the unique maximum on the domain. -/ | |
| 121 | -theorem envelope_lt_one_away_from_midpoint {D : Set ℝ} {rate : ℝ → ℝ} | |
| 122 | - {midpoint time c C ell : ℝ} (hD : Convex ℝ D) | |
| 123 | - (hcont : ContinuousOn rate D) | |
| 124 | - (hdiff : DifferentiableOn ℝ rate (interior D)) | |
| 125 | - (hderiv : ∀ x ∈ interior D, | |
| 126 | - -C / ell ≤ deriv rate x ∧ deriv rate x ≤ -c / ell) | |
| 127 | - (hm : midpoint ∈ D) (ht : time ∈ D) (hzero : rate midpoint = 0) | |
| 128 | - (hc : 0 < c) (hell : 0 < ell) (hne : time ≠ midpoint) : | |
| 129 | - envelope rate midpoint time < 1 := by | |
| 130 | - have hu := (gaussian_envelope_bounds hD hcont hdiff hderiv hm ht hzero).2 | |
| 131 | - have hsq : 0 < (time - midpoint) ^ 2 := sq_pos_of_ne_zero (sub_ne_zero.2 hne) | |
| 132 | - have he : -c * (time - midpoint) ^ 2 / (2 * ell) < 0 := | |
| 133 | - div_neg_of_neg_of_pos (mul_neg_of_neg_of_pos (neg_neg_of_pos hc) hsq) | |
| 134 | - (mul_pos (by norm_num) hell) | |
| 135 | - exact lt_of_le_of_lt hu (by simpa only [Real.exp_zero] using Real.exp_lt_exp.2 he) | |
| 136 | - | |
| 137 | 120 | /-- Derivative of the manuscript's scalar reference rate in its magnitude variable. -/ |
| 138 | 121 | noncomputable def referenceSlope (lam u s : ℝ) : ℝ := |
| 139 | 122 | -lam * s / ((1 + s ^ 2) * Real.sqrt (1 + s ^ 2)) - |
+0 −313 NavierStokes/GaussianErrorNaturality.lean View file
| @@ -120,30 +120,11 @@ noncomputable def waveChange (h Q Qr : ℝ) (gap : ℕ) : WaveSpace →L[ℝ] Wa | ||
| 120 | 120 | waveChange h Q Qr gap x = |
| 121 | 121 | ((PhysicalParticularWave.parameterChange h Q Qr x.1.1, x.1.2), coverPower gap x.2) := rfl |
| 122 | 122 | |
| 123 | -theorem waveChange_waveEquiv (h Q Qr : ℝ) (gap : ℕ) (x : Cylinder) : | |
| 124 | - waveChange h Q Qr gap (PhysicalParticularWave.waveEquiv x) = | |
| 125 | - PhysicalParticularWave.waveEquiv (PhysicalParticularWave.cylinderChange h Q Qr gap x) := rfl | |
| 126 | - | |
| 127 | -/-- The actual untransported reference data, evaluated at its own band. -/ | |
| 128 | -noncomputable def referenceParameters (D : AssemblyData Parameter) : | |
| 129 | - CorrectionStep.ParticularParameters Parameter where | |
| 130 | - tangent j _ := D.reference.tangent j | |
| 131 | - geometry _ := D.reference.geometry | |
| 132 | - length _ := D.reference.length | |
| 133 | - length_pos _ := D.reference.length_pos | |
| 134 | - cutoff _ := D.reference.cutoff | |
| 135 | - background := D.background | |
| 136 | - directions := D.directions | |
| 137 | - | |
| 138 | 123 | noncomputable def nativeData (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (j : ℤ) : |
| 139 | 124 | PeriodizedWaveBounds.CopyData WaveSpace Frequency := |
| 140 | 125 | (CorrectionStep.ParticularParameters.fromReference D h gap).copyData |
| 141 | 126 | D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j |
| 142 | 127 | |
| 143 | -noncomputable def referenceData (D : AssemblyData Parameter) (j : ℤ) : | |
| 144 | - PeriodizedWaveBounds.CopyData WaveSpace Frequency := | |
| 145 | - (referenceParameters D).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j | |
| 146 | - | |
| 147 | 128 | theorem copyData_amplitude (p : CorrectionStep.ParticularParameters Parameter) |
| 148 | 129 | (C : Context (Parameter × Plane)) (u : State (Parameter × Plane)) |
| 149 | 130 | (b : HarmonicBlock (Parameter × Plane)) |
| @@ -155,28 +136,6 @@ theorem copyData_amplitude (p : CorrectionStep.ParticularParameters Parameter) | ||
| 155 | 136 | complexCopyVelocity_angle (p.tangent j n) (residualSource C u b G A j n) |
| 156 | 137 | (p.geometry n) (p.length_pos n).le copy x.1.1 x.1.2 x.2 |
| 157 | 138 | |
| 158 | -theorem native_cutoff_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 159 | - (j : ℤ) (n : ℕ) (copy : Frequency) : | |
| 160 | - (nativeData D h gap j).cutoff n copy = fun x => | |
| 161 | - (referenceData D j).cutoff D.reference.band copy | |
| 162 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 163 | - funext x | |
| 164 | - change D.reference.cutoff | |
| 165 | - (CopySolveCompatibility.nativeTimeMap 0 | |
| 166 | - (PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 167 | - ((CopySolveCompatibility.transportGeometry D.reference.geometry (gap n) 0 | |
| 168 | - (PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) _).coordinates copy x.2)) = | |
| 169 | - D.reference.cutoff (D.reference.geometry.coordinates copy (coverPower (gap n) x.2)) | |
| 170 | - erw [ScaledTangentTransport.coordinates_transport] | |
| 171 | - | |
| 172 | -theorem reference_cutoff_differentiable (D : AssemblyData Parameter) (j : ℤ) | |
| 173 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (copy : Frequency) (x : WaveSpace) : | |
| 174 | - DifferentiableAt ℝ ((referenceData D j).cutoff D.reference.band copy) x := by | |
| 175 | - change DifferentiableAt ℝ (fun y : WaveSpace => | |
| 176 | - D.reference.cutoff (D.reference.geometry.coordinates copy y.2)) x | |
| 177 | - exact ((hcutoff.comp (D.reference.geometry.coordinates_contDiff copy)).comp | |
| 178 | - contDiff_snd).contDiffAt.differentiableAt (by simp) | |
| 179 | - | |
| 180 | 139 | /-- A nonzero actual directional derivative is supported in any closed |
| 181 | 140 | set supporting the original cutoff. -/ |
| 182 | 141 | theorem along_ne_zero_mem_closed {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -188,36 +147,6 @@ theorem along_ne_zero_mem_closed {E : Type} [NormedAddCommGroup E] [NormedSpace | ||
| 188 | 147 | simp only [along, hz, _root_.zero_apply] |
| 189 | 148 | exact (closure_minimal hf hK) (support_fderiv_subset ℝ hd) |
| 190 | 149 | |
| 191 | -theorem reference_derivative_mem_slot (D : AssemblyData Parameter) (j : ℤ) | |
| 192 | - {U : Set Parameter} (R : PhysicalParticularWave.ReferenceODE D j U) | |
| 193 | - (copy : Frequency) {x : WaveSpace} | |
| 194 | - (hx : D.directions.Dfast (fun m => (referenceData D j).cutoff m copy) D.reference.band x ≠ 0) : | |
| 195 | - (D.reference.geometry.coordinates copy x.2).2 ∈ Icc 0 D.reference.length := by | |
| 196 | - let K : Set WaveSpace := {y | (D.reference.geometry.coordinates copy y.2).2 ∈ Icc 0 D.reference.length} | |
| 197 | - have hK : IsClosed K := isClosed_Icc.preimage | |
| 198 | - (((D.reference.geometry.coordinates_contDiff copy).continuous.comp continuous_snd).snd) | |
| 199 | - apply along_ne_zero_mem_closed hK (V := D.directions.fastField D.reference.band) _ hx | |
| 200 | - intro y hy | |
| 201 | - exact (R.cutoff hy).2 | |
| 202 | - | |
| 203 | -theorem current_slot_of_reference_derivative (D : AssemblyData Parameter) (h : ℝ) | |
| 204 | - (gap : ℕ → ℕ) (j : ℤ) (n : ℕ) {U : Set Parameter} | |
| 205 | - (R : PhysicalParticularWave.ReferenceODE D j U) (copy : Frequency) (x : WaveSpace) | |
| 206 | - (hx : D.directions.Dfast (fun m => (referenceData D j).cutoff m copy) D.reference.band | |
| 207 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) ≠ 0) : | |
| 208 | - (((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n).coordinates copy x.2).2 ∈ | |
| 209 | - Icc 0 ((CorrectionStep.ParticularParameters.fromReference D h gap).length n) := by | |
| 210 | - let rate := PhysicalParticularWave.clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 211 | - have hrate : 0 < rate := PhysicalParticularWave.ratioPower_pos | |
| 212 | - (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) _ | |
| 213 | - have hs := reference_derivative_mem_slot D j R copy hx | |
| 214 | - change (D.reference.geometry.coordinates copy (coverPower (gap n) x.2)).2 ∈ | |
| 215 | - Icc 0 D.reference.length at hs | |
| 216 | - apply (ScaledTangentTransport.current_slot_iff D.reference.geometry (gap n) 0 rate hrate | |
| 217 | - copy x.2 0 (D.reference.length / rate)).mpr | |
| 218 | - have hlen : rate * (D.reference.length / rate) = D.reference.length := by field_simp | |
| 219 | - simpa only [zero_add, mul_zero, hlen] using hs | |
| 220 | - | |
| 221 | 150 | theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) |
| 222 | 151 | {a b c d : ℝ} (hab : a ≤ b) (hcd : c ≤ d) (ha : a = c) (hb : b = d) : |
| 223 | 152 | F a b hab = F c d hcd := by |
| @@ -225,27 +154,6 @@ theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) | ||
| 225 | 154 | subst d |
| 226 | 155 | rfl |
| 227 | 156 | |
| 228 | -theorem complexCopyVelocity_zeroEntry | |
| 229 | - (t : TangentData Parameter ProblemStatement.Space) (f : Parameter × Plane → ComplexVector) | |
| 230 | - (parameter : Parameter → Parameter) (g : Geometry) (gap : ℕ) | |
| 231 | - (L rate amplitude normalScale : ℝ) (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 232 | - {U : Set Parameter} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 233 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 234 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Parameter) (hq : parameter q ∈ U) | |
| 235 | - (copy : Frequency) (Y : Plane) | |
| 236 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne').coordinates copy Y).2 ∈ | |
| 237 | - Icc 0 (L / rate)) : | |
| 238 | - complexCopyVelocity (ScaledTangentTransport.transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 239 | - (ScaledTangentTransport.transportSource f parameter gap rate amplitude) | |
| 240 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') (div_pos hL hrate).le copy (q, Y) = | |
| 241 | - amplitude • complexCopyVelocity t f g hL.le copy (parameter q, coverPower gap Y) := by | |
| 242 | - have he := ScaledTangentTransport.complexCopyVelocity_transport t f parameter g (div_pos hL hrate).le | |
| 243 | - gap 0 rate amplitude normalScale hrate hnormal hA hB hf q hq copy Y hslot | |
| 244 | - refine he.trans (congrArg (fun z : ComplexVector => amplitude • z) ?_) | |
| 245 | - apply interval_congr (fun a b hab => complexCopyVelocity t f g (a := a) (b := b) hab | |
| 246 | - copy (parameter q, coverPower gap Y)) _ _ (by ring) | |
| 247 | - field_simp ; simp | |
| 248 | - | |
| 249 | 157 | end ReferenceData |
| 250 | 158 | |
| 251 | 159 | section ActualReference |
| @@ -253,124 +161,6 @@ section ActualReference | ||
| 253 | 161 | open CommonCoverSolve TorusInverse ParticularWaveAssembly ParticularWaveBounds |
| 254 | 162 | open CorrectionState PhysicalParticularWave |
| 255 | 163 | |
| 256 | -theorem native_source_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 257 | - (j : ℤ) (n i : ℕ) | |
| 258 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 259 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 260 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 261 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 262 | - (x : WaveSpace) : | |
| 263 | - (nativeData D h gap j).source n x = | |
| 264 | - (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 265 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) • | |
| 266 | - (referenceData D j).source D.reference.band | |
| 267 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 268 | - exact congrFun (H.source_eq hn hr j) (x.1.1, x.2) | |
| 269 | - | |
| 270 | -theorem native_amplitude_transport (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 271 | - (j : ℤ) (n i : ℕ) | |
| 272 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 273 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 274 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 275 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 276 | - {U : Set Parameter} (R : ReferenceODE D j U) | |
| 277 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 278 | - (copy : Frequency) (x : WaveSpace) | |
| 279 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1.1 ∈ U) | |
| 280 | - (hslot : (((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n).coordinates copy x.2).2 ∈ | |
| 281 | - Icc 0 ((CorrectionStep.ParticularParameters.fromReference D h gap).length n)) : | |
| 282 | - (nativeData D h gap j).amplitude n copy x = | |
| 283 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 284 | - (referenceData D j).amplitude D.reference.band copy | |
| 285 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 286 | - unfold nativeData referenceData | |
| 287 | - rw [copyData_amplitude, copyData_amplitude, H.source_eq hn hr j] | |
| 288 | - exact complexCopyVelocity_zeroEntry (D.reference.tangent j) (referenceSource D j) | |
| 289 | - (parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band)) D.reference.geometry (gap n) | |
| 290 | - D.reference.length (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 291 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 292 | - (normalWeight (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 293 | - ((j : ℝ) * D.carrierBlock.frequency n) (referenceFrequency D j)) | |
| 294 | - D.reference.length_pos (ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) _) | |
| 295 | - (normalWeight_ne (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) hK hKr) | |
| 296 | - R.coefficient R.forcing R.source x.1.1 hx copy x.2 hslot | |
| 297 | - | |
| 298 | -/-- The fast transport hypothesis follows from the actual slot-direction | |
| 299 | -identities stored by the primitive copy geometry. -/ | |
| 300 | -theorem fast_transport_of_slotDirections (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (n : ℕ) | |
| 301 | - (hn : D.directions.fastScale n • D.directions.fast = | |
| 302 | - ((0 : Parameter × ℝ), slotDirection ((CorrectionStep.ParticularParameters.fromReference D h gap).geometry n))) | |
| 303 | - (hr : D.directions.fastScale D.reference.band • D.directions.fast = | |
| 304 | - ((0 : Parameter × ℝ), slotDirection D.reference.geometry)) : | |
| 305 | - waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 306 | - (D.directions.fastScale n • D.directions.fast) = | |
| 307 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 308 | - (D.directions.fastScale D.reference.band • D.directions.fast) := by | |
| 309 | - rw [hn, hr] | |
| 310 | - have he := ScaledTangentTransport.slotDirection_transport D.reference.geometry (gap n) 0 | |
| 311 | - (clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band)) | |
| 312 | - (ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 313 | - (CoordinateAlgebra.A h + 1 / 2)).ne' | |
| 314 | - have hh := congrArg (fun Y : Plane => ((0 : Parameter × ℝ), Y)) he | |
| 315 | - simp [waveChange_apply, parameterChange] at hh ⊢ | |
| 316 | - exact hh | |
| 317 | - | |
| 318 | -/-- The actual transported reference solve has the derived Gaussian | |
| 319 | -source weight on the full native cylinder, including uncovered points. -/ | |
| 320 | -theorem fromReference_globalGaussian (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 321 | - (j : ℤ) (n i : ℕ) | |
| 322 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 323 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 324 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 325 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 326 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 327 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 328 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 329 | - (D.directions.fastScale n • D.directions.fast) = | |
| 330 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 331 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 332 | - (x : WaveSpace) | |
| 333 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1.1 ∈ U) : | |
| 334 | - (nativeData D h gap j).globalGaussian D.directions n x = | |
| 335 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 336 | - (referenceData D j).globalGaussian D.directions D.reference.band | |
| 337 | - (waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 338 | - rw [← clock_mul_velocity (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band)] | |
| 339 | - apply globalGaussian_transport _ D.directions D.directions _ _ n D.reference.band _ _ x | |
| 340 | - (native_cutoff_transport D h gap j n) hfast | |
| 341 | - · exact fun copy => reference_cutoff_differentiable D j hcutoff copy _ | |
| 342 | - · intro copy hcopy | |
| 343 | - exact native_amplitude_transport D h gap j n i H hn hr R hK hKr copy x hx | |
| 344 | - (current_slot_of_reference_derivative D h gap j n R copy x hcopy) | |
| 345 | - · exact native_source_transport D h gap j n i H hn hr x | |
| 346 | - | |
| 347 | -theorem fromReference_globalGaussian_cylinder (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 348 | - (j : ℤ) (n i : ℕ) | |
| 349 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 350 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 351 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 352 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 353 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 354 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 355 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 356 | - (D.directions.fastScale n • D.directions.fast) = | |
| 357 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 358 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 359 | - (x : Cylinder) | |
| 360 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 361 | - (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) : | |
| 362 | - (nativeData D h gap j).globalGaussian D.directions n (PhysicalParticularWave.waveEquiv x) = | |
| 363 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) ^ 2 * | |
| 364 | - ratioPower (ChartScales.Q n) (ChartScales.Q D.reference.band) (1 / 2)) • | |
| 365 | - (referenceData D j).globalGaussian D.directions D.reference.band | |
| 366 | - (PhysicalParticularWave.waveEquiv | |
| 367 | - (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 368 | - rw [pow_two, PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) | |
| 369 | - (ChartScales.Q_pos D.reference.band)] | |
| 370 | - simpa only [waveChange_waveEquiv] using | |
| 371 | - fromReference_globalGaussian D h gap j n i H hn hr R hcutoff hK hKr hfast | |
| 372 | - (PhysicalParticularWave.waveEquiv x) hx | |
| 373 | - | |
| 374 | 164 | end ActualReference |
| 375 | 165 | |
| 376 | 166 | section HarmonicAssembly |
| @@ -379,109 +169,6 @@ open CommonCoverSolve TorusInverse ParticularWaveAssembly ParticularWaveBounds | ||
| 379 | 169 | open CorrectionState PhysicalParticularWave |
| 380 | 170 | open scoped BigOperators |
| 381 | 171 | |
| 382 | -/-- A single actual Gaussian Fourier contribution transports with its | |
| 383 | -full angular carrier. The reference phase relation is primitive block | |
| 384 | -coherence; the Gaussian coefficient relation is proved from the solve. -/ | |
| 385 | -theorem fromReference_gaussian_character (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 386 | - (j : ℤ) (n i : ℕ) | |
| 387 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 388 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 389 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 390 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 391 | - {U : Set Parameter} (R : ReferenceODE D j U) (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) | |
| 392 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) (hKr : referenceFrequency D j ≠ 0) | |
| 393 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 394 | - (D.directions.fastScale n • D.directions.fast) = | |
| 395 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 396 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 397 | - (x : Parameter × Plane) (hxpos : 0 < x.1.1) | |
| 398 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1 ∈ U) | |
| 399 | - (θ : ℝ) (k : Fin 3) : | |
| 400 | - ((nativeData D h gap j).globalGaussian D.directions n (angleShuffle (x, 0)) k * | |
| 401 | - HarmonicFields.character j (D.carrierBlock.frequency n * D.carrierBlock.phase n x + | |
| 402 | - (D.carrierBlock.angularFrequency n : ℝ) * θ)).re = | |
| 403 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 404 | - ((referenceData D j).globalGaussian D.directions D.reference.band | |
| 405 | - (angleShuffle (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 406 | - (ChartScales.Q_pos D.reference.band) (gap n) x, 0)) k * | |
| 407 | - HarmonicFields.character j (D.carrierBlock.frequency D.reference.band * | |
| 408 | - D.carrierBlock.phase D.reference.band | |
| 409 | - (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 410 | - (ChartScales.Q_pos D.reference.band) (gap n) x) + | |
| 411 | - (D.carrierBlock.angularFrequency D.reference.band : ℝ) * θ)).re := by | |
| 412 | - have hg := fromReference_globalGaussian D h gap j n i H hn hr R hcutoff hK hKr hfast | |
| 413 | - (angleShuffle (x, 0)) hx | |
| 414 | - have hp := H.block.phase (x := x) hxpos | |
| 415 | - dsimp only at hp | |
| 416 | - rw [hg, hp, H.block.angular] | |
| 417 | - simp only [Pi.smul_apply, smul_mul_assoc, Complex.smul_re, smul_eq_mul] | |
| 418 | - rfl | |
| 419 | - | |
| 420 | -/-- Naturality of the actual finite Gaussian harmonic block, with all | |
| 421 | -angular variables retained. No equality of Gaussian outputs is assumed. -/ | |
| 422 | -theorem fromReference_gaussianBlock (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 423 | - (N n i : ℕ) | |
| 424 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 425 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 426 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 427 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 428 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 429 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (hfrequency : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 430 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 431 | - (D.directions.fastScale n • D.directions.fast) = | |
| 432 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 433 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 434 | - (x : Parameter × Plane) (hxpos : 0 < x.1.1) | |
| 435 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) x.1 ∈ U) | |
| 436 | - (θ : ℝ) (k : Fin 3) : | |
| 437 | - ((CorrectionStep.ParticularParameters.fromReference D h gap).gaussianBlock | |
| 438 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation n (x, θ) k = | |
| 439 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 440 | - ((referenceParameters D).gaussianBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation | |
| 441 | - D.reference.band | |
| 442 | - (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) | |
| 443 | - (ChartScales.Q_pos D.reference.band) (gap n) x, θ) k := by | |
| 444 | - unfold CorrectionStep.ParticularParameters.gaussianBlock | |
| 445 | - rw [assembledBlock_value, assembledBlock_value, Finset.mul_sum] | |
| 446 | - apply Finset.sum_congr rfl | |
| 447 | - intro j hj | |
| 448 | - have hj0 : (j : ℝ) ≠ 0 := by exact_mod_cast ((mem_modes N j).mp hj).1 | |
| 449 | - exact fromReference_gaussian_character D h gap j n i H hn hr (R j hj) hcutoff | |
| 450 | - (mul_ne_zero hj0 (hfrequency n)) (mul_ne_zero hj0 (hfrequency D.reference.band)) | |
| 451 | - hfast x hxpos hx θ k | |
| 452 | - | |
| 453 | -/-- The same finite-block statement on the original full cylindrical | |
| 454 | -coordinates, with the source weight explicitly written as `c^2 * l`. -/ | |
| 455 | -theorem fromReference_gaussianBlock_cylinder (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) | |
| 456 | - (N n i : ℕ) | |
| 457 | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) | |
| 458 | - (ChartScales.Q_pos D.reference.band) i (gap n) n) | |
| 459 | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) | |
| 460 | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) | |
| 461 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 462 | - (hcutoff : ContDiff ℝ ∞ D.reference.cutoff) (hfrequency : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 463 | - (hfast : waveChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) | |
| 464 | - (D.directions.fastScale n • D.directions.fast) = | |
| 465 | - clockWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 466 | - (D.directions.fastScale D.reference.band • D.directions.fast)) | |
| 467 | - (x : Cylinder) (hxpos : 0 < x.1.1) | |
| 468 | - (hx : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 469 | - (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) (k : Fin 3) : | |
| 470 | - ((CorrectionStep.ParticularParameters.fromReference D h gap).gaussianBlock | |
| 471 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation n | |
| 472 | - (angleShuffle.symm (PhysicalParticularWave.waveEquiv x)) k = | |
| 473 | - (velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) ^ 2 * | |
| 474 | - ratioPower (ChartScales.Q n) (ChartScales.Q D.reference.band) (1 / 2)) * | |
| 475 | - ((referenceParameters D).gaussianBlock D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N).oscillation | |
| 476 | - D.reference.band | |
| 477 | - (angleShuffle.symm (PhysicalParticularWave.waveEquiv | |
| 478 | - (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x))) k := by | |
| 479 | - rw [pow_two, PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) | |
| 480 | - (ChartScales.Q_pos D.reference.band)] | |
| 481 | - exact fromReference_gaussianBlock D h gap N n i H hn hr R hcutoff hfrequency hfast | |
| 482 | - ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2) | |
| 483 | - hxpos hx (PhysicalParticularWave.waveEquiv x).1.2 k | |
| 484 | - | |
| 485 | 172 | end HarmonicAssembly |
| 486 | 173 | |
| 487 | 174 | end NavierStokes.GaussianErrorNaturality |
+0 −313 NavierStokes/GaussianTailFlat.lean View file
| @@ -56,21 +56,6 @@ theorem profile_eventually_zero {v : ℝ} (hv : 1 / 3 < |v - 1 / 2|) : | ||
| 56 | 56 | rw [profileBump.tsupport_eq] |
| 57 | 57 | simpa [Metric.mem_closedBall, Real.dist_eq, profileBump] using (not_le.mpr hv) |
| 58 | 58 | |
| 59 | -theorem profile_iteratedDeriv_support (m : ℕ) : | |
| 60 | - support (iteratedDeriv (m + 1) profile) ⊆ | |
| 61 | - {v : ℝ | 1 / 5 ≤ |v - 1 / 2| ∧ |v - 1 / 2| ≤ 1 / 3} := by | |
| 62 | - intro v hv | |
| 63 | - change iteratedDeriv (m + 1) profile v ≠ 0 at hv | |
| 64 | - constructor | |
| 65 | - · by_contra h | |
| 66 | - apply hv | |
| 67 | - rw [(profile_eventually_one (lt_of_not_ge h)).iteratedDeriv_eq (m + 1), | |
| 68 | - SmoothCutoffs.iteratedDeriv_const_succ] | |
| 69 | - · by_contra h | |
| 70 | - apply hv | |
| 71 | - rw [(profile_eventually_zero (lt_of_not_ge h)).iteratedDeriv_eq (m + 1), | |
| 72 | - SmoothCutoffs.iteratedDeriv_const_succ] | |
| 73 | - | |
| 74 | 59 | theorem profile_iteratedDeriv_compact (m : ℕ) : |
| 75 | 60 | HasCompactSupport (iteratedDeriv m profile) := by |
| 76 | 61 | induction m with |
| @@ -90,14 +75,6 @@ noncomputable def slotCutoff (L : ℝ) (v : ℝ) : ℝ := profile (v / L) | ||
| 90 | 75 | theorem slotCutoff_contDiff (L : ℝ) : ContDiff ℝ ∞ (slotCutoff L) := |
| 91 | 76 | profile_contDiff.comp (contDiff_id.div_const L) |
| 92 | 77 | |
| 93 | -theorem slotCutoff_deriv (L v : ℝ) : | |
| 94 | - deriv (slotCutoff L) v = L⁻¹ * deriv profile (v / L) := by | |
| 95 | - have hp := (profile_contDiff.differentiable (by simp)).differentiableAt.hasDerivAt | |
| 96 | - (x := v / L) | |
| 97 | - have hh := hp.comp v ((hasDerivAt_id v).div_const L) | |
| 98 | - unfold slotCutoff | |
| 99 | - simpa [Function.comp_def, div_eq_mul_inv, mul_comm] using hh.deriv | |
| 100 | - | |
| 101 | 78 | theorem slot_normalized_distance {L : ℝ} (hL : 0 < L) (v : ℝ) : |
| 102 | 79 | |v / L - 1 / 2| = |v - L / 2| / L := by |
| 103 | 80 | have he : v / L - 1 / 2 = (v - L / 2) / L := by |
| @@ -120,50 +97,6 @@ theorem slotCutoff_zero {L v : ℝ} (hL : 0 < L) (hv : L / 3 ≤ |v - L / 2|) : | ||
| 120 | 97 | apply (le_div_iff₀ hL).2 |
| 121 | 98 | linarith |
| 122 | 99 | |
| 123 | -/-- The derivative error is supported strictly inside the slot and outside | |
| 124 | -the central plateau; in particular it lies near the entry or exit. -/ | |
| 125 | -theorem slotCutoff_deriv_support {L v : ℝ} (hL : 0 < L) | |
| 126 | - (hv : deriv (slotCutoff L) v ≠ 0) : | |
| 127 | - L / 5 ≤ |v - L / 2| ∧ |v - L / 2| ≤ L / 3 := by | |
| 128 | - have hd : deriv profile (v / L) ≠ 0 := by | |
| 129 | - intro hz | |
| 130 | - exact hv (by rw [slotCutoff_deriv, hz, mul_zero]) | |
| 131 | - have hh := profile_iteratedDeriv_support 0 (by simpa using hd) | |
| 132 | - change 1 / 5 ≤ |v / L - 1 / 2| ∧ |v / L - 1 / 2| ≤ 1 / 3 at hh | |
| 133 | - rw [slot_normalized_distance hL] at hh | |
| 134 | - constructor | |
| 135 | - · have ht := (le_div_iff₀ hL).1 hh.1 | |
| 136 | - linarith | |
| 137 | - · have ht := (div_le_iff₀ hL).1 hh.2 | |
| 138 | - linarith | |
| 139 | - | |
| 140 | -/-- The precise Gaussian tail bound uses the full plateau radius. -/ | |
| 141 | -theorem gaussian_off_plateau {c L v : ℝ} (hc : 0 ≤ c) (hL : 0 < L) | |
| 142 | - (hv : L / 5 ≤ |v - L / 2|) : | |
| 143 | - Real.exp (-c * (v - L / 2) ^ 2 / L) ≤ Real.exp (-(c / 25) * L) := by | |
| 144 | - have hsq : (L / 5) ^ 2 ≤ (v - L / 2) ^ 2 := by | |
| 145 | - simpa only [sq_abs] using pow_le_pow_left₀ (by positivity : 0 ≤ L / 5) hv 2 | |
| 146 | - apply Real.exp_le_exp.2 | |
| 147 | - apply (div_le_iff₀ hL).2 | |
| 148 | - nlinarith [mul_le_mul_of_nonneg_left hsq hc] | |
| 149 | - | |
| 150 | -theorem reference_envelope_off_plateau {lam u L v : ℝ} | |
| 151 | - (hlam : 0 < lam) (hu : 0 < u) (hL : 0 < L) (hv : v ∈ Icc 0 L) | |
| 152 | - (htail : L / 5 ≤ |v - L / 2|) : | |
| 153 | - GaussianEnvelope.envelope (GaussianEnvelope.referenceRate lam u L) (L / 2) v ≤ | |
| 154 | - Real.exp (-(u * GaussianEnvelope.referenceMinSlope lam u / 50) * L) := by | |
| 155 | - have h := (GaussianEnvelope.reference_gaussian_bounds hlam hu hL hv).2 | |
| 156 | - have hc := GaussianEnvelope.referenceMinSlope_pos hlam hu | |
| 157 | - have hg := gaussian_off_plateau | |
| 158 | - (c := u * GaussianEnvelope.referenceMinSlope lam u / 2) (by positivity) hL htail | |
| 159 | - have he : -(u * GaussianEnvelope.referenceMinSlope lam u / 2) * | |
| 160 | - (v - L / 2) ^ 2 / L = | |
| 161 | - -(u * GaussianEnvelope.referenceMinSlope lam u) * (v - L / 2) ^ 2 / (2 * L) := by ring | |
| 162 | - rw [he] at hg | |
| 163 | - convert! h.trans hg using 1 | |
| 164 | - congr 1 | |
| 165 | - ring | |
| 166 | - | |
| 167 | 100 | /-- The square root of the actual flat edge is another member of that family. -/ |
| 168 | 101 | theorem sqrt_edge (c x : ℝ) : Real.sqrt (FlatCutoff.edge c x) = FlatCutoff.edge (c / 2) x := by |
| 169 | 102 | by_cases hx : x ≤ 0 |
| @@ -388,19 +321,6 @@ normalized slot coordinate `v/L`. -/ | ||
| 388 | 321 | noncomputable def cutoffError (L : ℝ) (θ : D → ℝ) (u f : D → E) (x : D) : E := |
| 389 | 322 | (L⁻¹ * deriv profile (θ x)) • u x + (1 - profile (θ x)) • f x |
| 390 | 323 | |
| 391 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 392 | -theorem cutoffError_eq_slot (L : ℝ) (v : D → ℝ) (u f : D → E) (x : D) : | |
| 393 | - cutoffError L (fun y => v y / L) u f x = | |
| 394 | - deriv (slotCutoff L) (v x) • u x + (1 - slotCutoff L (v x)) • f x := by | |
| 395 | - rw [slotCutoff_deriv] | |
| 396 | - rfl | |
| 397 | - | |
| 398 | -theorem cutoffError_contDiffOn {U : Set D} (L : ℝ) {θ : D → ℝ} {u f : D → E} | |
| 399 | - (hθ : ContDiffOn ℝ ∞ θ U) (hu : ContDiffOn ℝ ∞ u U) (hf : ContDiffOn ℝ ∞ f U) : | |
| 400 | - ContDiffOn ℝ ∞ (cutoffError L θ u f) U := by | |
| 401 | - exact ((contDiffOn_const.mul (profileDeriv_contDiff.comp_contDiffOn hθ)).smul hu).add | |
| 402 | - ((contDiffOn_const.sub (profile_contDiff.comp_contDiffOn hθ)).smul hf) | |
| 403 | - | |
| 404 | 324 | omit [NormedSpace ℝ D] in |
| 405 | 325 | theorem cutoffError_eventually_zero (L : ℝ) {θ : D → ℝ} (u f : D → E) {x : D} |
| 406 | 326 | (hθ : ContinuousAt θ x) (hx : |θ x - 1 / 2| < 1 / 5) : |
| @@ -715,24 +635,6 @@ noncomputable def actualSlotFamily (s : StripData D) (r0 h : ℝ) | ||
| 715 | 635 | (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) : |
| 716 | 636 | (actualSlotFamily s r0 h hr0 hh η center).length n = ChartScales.slotLength r0 h n := rfl |
| 717 | 637 | |
| 718 | -theorem actualSlotFamily_coordinate (s : StripData D) (r0 h : ℝ) | |
| 719 | - (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) (x : D) : | |
| 720 | - (actualSlotFamily s r0 h hr0 hh η center).coordinate n x = | |
| 721 | - (η x - center n + r0) / (2 * r0) := by | |
| 722 | - change (r0 - center n) / (2 * r0) + ((2 * r0)⁻¹ • η) x = _ | |
| 723 | - simp only [_root_.smul_apply, smul_eq_mul] | |
| 724 | - ring | |
| 725 | - | |
| 726 | -theorem actualSlotFamily_cutoff (s : StripData D) (r0 h : ℝ) | |
| 727 | - (hr0 : 0 < r0) (hh : 0 ≤ h) (η : D →L[ℝ] ℝ) (center : ℕ → ℝ) (n : ℕ) (x : D) : | |
| 728 | - (actualSlotFamily s r0 h hr0 hh η center).cutoff n x = | |
| 729 | - slotCutoff (ChartScales.slotLength r0 h n) | |
| 730 | - ((η x - center n + r0) / ChartScales.timeCoefficient h n) := by | |
| 731 | - rw [SlotFamily.cutoff, actualSlotFamily_coordinate] | |
| 732 | - unfold slotCutoff ChartScales.slotLength | |
| 733 | - congr 1 | |
| 734 | - field_simp [(ChartScales.timeCoefficient_pos h n).ne', hr0.ne'] | |
| 735 | - | |
| 736 | 638 | /-- The reference Gaussian envelope, extended by zero away from its slot. |
| 737 | 639 | This is a weight, not a redefinition of either retained error. -/ |
| 738 | 640 | noncomputable def referenceSlotEnvelope (lam u L θ : ℝ) : ℝ := |
| @@ -757,13 +659,6 @@ theorem referenceSlotEnvelope_bound {lam u L : ℝ} | ||
| 757 | 659 | |
| 758 | 660 | namespace SlotFamily |
| 759 | 661 | |
| 760 | -theorem error_contDiff {s : StripData D} (g : SlotFamily s) {u f : ℕ → D → E} | |
| 761 | - (hu : ∀ n, ContDiff ℝ ∞ (u n)) (hf : ∀ n, ContDiff ℝ ∞ (f n)) (n : ℕ) : | |
| 762 | - ContDiff ℝ ∞ (g.error u f n) := by | |
| 763 | - apply contDiffOn_univ.mp | |
| 764 | - exact cutoffError_contDiffOn (g.length n) (g.coordinate_contDiff n).contDiffOn | |
| 765 | - (hu n).contDiffOn (hf n).contDiffOn | |
| 766 | - | |
| 767 | 662 | /-- The fundamental need only be smooth in the open slot. Away from that |
| 768 | 663 | slot the exact error agrees locally with the smooth source. This avoids any |
| 769 | 664 | smoothness assertion for a clamped ODE extension across its endpoints. -/ |
| @@ -802,57 +697,6 @@ theorem error_contDiff_of_slot {s : StripData D} (g : SlotFamily s) {u f : ℕ | ||
| 802 | 697 | |
| 803 | 698 | open PhysicalGraphBounds ProblemStatement |
| 804 | 699 | |
| 805 | -/-- Every fixed physical derivative retains arbitrarily high decay powers. | |
| 806 | -The loss is supplied by the proved physical graph theorem. -/ | |
| 807 | -theorem error_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) | |
| 808 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 809 | - {P : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → E} | |
| 810 | - (hu : WaveClass s P α u) (hf : WaveClass s P α f) (hc : 0 < c) | |
| 811 | - (hP : ∀ n x, x ∈ s.domain → | |
| 812 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 813 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 814 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 815 | - {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) (m : ℕ) (N : ℝ) : | |
| 816 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ p : SpaceTime, | |
| 817 | - scaledRadial n p ∈ annulus a b → |p.1| ≤ 1 → physicalLift h n p ∈ s.domain → | |
| 818 | - ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 819 | - ‖iteratedFDeriv ℝ m (g.error u f n ∘ physicalLift h n) p‖ ≤ C * q ^ N := by | |
| 820 | - obtain ⟨A, hA, hab⟩ := g.error_stripped_bound edges scales hu hf hc hP m | |
| 821 | - (N + (graphLoss m + 1)) | |
| 822 | - obtain ⟨C, hC, hbound⟩ := stripped_class_physical_bound (E := E) (b := b) hh hh1 ha m | |
| 823 | - (N + (graphLoss m + 1)) 0 A hA | |
| 824 | - refine ⟨C, hC, fun n hn p hp ht hd q hq hlo hhi => ?_⟩ | |
| 825 | - have hb := hbound n hn p hp ht q hq hlo hhi (g.error u f n) | |
| 826 | - (g.error_contDiff_of_slot hu_smooth hf_smooth n) (fun i hi => by | |
| 827 | - simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n p) hd i hi) | |
| 828 | - simpa only [add_sub_cancel_right] using hb | |
| 829 | - | |
| 830 | -/-- Big-O formulation along any sequence of physical points in the controlled | |
| 831 | -annulus and slow domain. The derivative order and power are arbitrary. -/ | |
| 832 | -theorem error_physical_isBigO {s : StripData LiftPoint} (g : SlotFamily s) | |
| 833 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 834 | - {P : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → E} | |
| 835 | - (hu : WaveClass s P α u) (hf : WaveClass s P α f) (hc : 0 < c) | |
| 836 | - (hP : ∀ n x, x ∈ s.domain → | |
| 837 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 838 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 839 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 840 | - {h a b : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 841 | - (p : ℕ → SpaceTime) | |
| 842 | - (hp : ∀ n, 4 ≤ n → scaledRadial n (p n) ∈ annulus a b ∧ |(p n).1| ≤ 1 ∧ | |
| 843 | - physicalLift h n (p n) ∈ s.domain) (m : ℕ) (N : ℝ) : | |
| 844 | - (fun n => iteratedFDeriv ℝ m (g.error u f n ∘ physicalLift h n) (p n)) =O[atTop] | |
| 845 | - (fun n => ChartScales.Q n ^ N) := by | |
| 846 | - obtain ⟨C, hC, hb⟩ := g.error_physical_bound edges scales hu hf hc hP hu_smooth hf_smooth | |
| 847 | - hh hh1 ha (b := b) m N | |
| 848 | - apply Asymptotics.IsBigO.of_bound C | |
| 849 | - filter_upwards [eventually_ge_atTop 4] with n hn | |
| 850 | - have hQ := ChartScales.Q_pos n | |
| 851 | - have hpn := hp n hn | |
| 852 | - have hh := hb n hn (p n) hpn.1 hpn.2.1 hpn.2.2 (ChartScales.Q n) hQ | |
| 853 | - (by linarith) (by linarith) | |
| 854 | - simpa only [Real.norm_eq_abs, abs_of_pos (Real.rpow_pos_of_pos hQ N)] using hh | |
| 855 | - | |
| 856 | 700 | /-- The same result for the actual oscillatory carrier. The phase estimates |
| 857 | 701 | are the primitive estimates consumed by `carrier_class_physical_bound`. -/ |
| 858 | 702 | theorem error_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) |
| @@ -883,175 +727,18 @@ theorem error_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s | ||
| 883 | 727 | simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n p) hd i hi) hΦb |
| 884 | 728 | simpa only [add_sub_cancel_right] using hh |
| 885 | 729 | |
| 886 | -/-- Version with the manuscript's actual native phase, polar charts and | |
| 887 | -rounded carrier. No phase-derivative hypothesis replaces the base-field jets. -/ | |
| 888 | -theorem error_native_carrier_physical_bound {s : StripData LiftPoint} (g : SlotFamily s) | |
| 889 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 890 | - {Penv : ℕ → LiftPoint → ℝ} {α c : ℝ} {u f : ℕ → LiftPoint → ℂ} | |
| 891 | - (hu : WaveClass s Penv α u) (hf : WaveClass s Penv α f) (hc : 0 < c) | |
| 892 | - (hPenv : ∀ n x, x ∈ s.domain → | |
| 893 | - Penv n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 894 | - (hu_smooth : ∀ n, ContDiffOn ℝ ∞ (u n) {x | g.coordinate n x ∈ Ioo (0 : ℝ) 1}) | |
| 895 | - (hf_smooth : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 896 | - {h a b Z r0 P B dBase H : ℝ} (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 897 | - (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) (hdBase : 0 ≤ dBase) | |
| 898 | - (hH : 0 ≤ H) (m : ℕ) (N : ℝ) : | |
| 899 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w : SpaceTime, | |
| 900 | - scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → physicalLift h n w ∈ s.domain → | |
| 901 | - ‖liftZT (physicalLift h n w)‖ ≤ Z → | |
| 902 | - ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 903 | - ∀ (chart : PolarCharts.Index) (center : Plane) (p pz x0 : ℝ), | |
| 904 | - |p| ≤ P → |pz| ≤ P → |x0| ≤ P → | |
| 905 | - |etaCoordinate (nativeGraph h n w - center)| ≤ r0 → | |
| 906 | - ∀ (F G : Slow → ℝ) (j : ℤ), ContDiff ℝ ∞ F → ContDiff ℝ ∞ G → |(j : ℝ)| ≤ H → | |
| 907 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i F | |
| 908 | - (slotMap (PolarCharts.chart a chart) (ChartScales.timeCoefficient h n) center r0 | |
| 909 | - (physicalLift h n w)).1‖ ≤ B * ChartScales.S n ^ dBase) → | |
| 910 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i G | |
| 911 | - (slotMap (PolarCharts.chart a chart) (ChartScales.timeCoefficient h n) center r0 | |
| 912 | - (physicalLift h n w)).1‖ ≤ B * ChartScales.S n ^ dBase) → | |
| 913 | - ‖iteratedFDeriv ℝ m | |
| 914 | - ((fun y => g.error u f n y * character ((ChartScales.carrier h n : ℝ) * (j : ℝ)) | |
| 915 | - (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) ∘ | |
| 916 | - physicalLift h n) w‖ ≤ C * q ^ N := by | |
| 917 | - obtain ⟨A, hA, hab⟩ := g.error_stripped_bound edges scales hu hf hc hPenv m (N + waveLoss h m) | |
| 918 | - obtain ⟨C, hC, hb⟩ := native_carrier_physical_bound (b := b) hh hh1 ha hZ hr0 hP hB hdBase m | |
| 919 | - (N + waveLoss h m) 0 A H hA hH | |
| 920 | - refine ⟨C, hC, fun n hn w hw ht hd hz q hq hlo hhi chart center p pz x0 hp hpz hx0 hslot | |
| 921 | - F G j hF hG hj hFb hGb => ?_⟩ | |
| 922 | - have hh := hb n hn w hw ht hz q hq hlo hhi chart center p pz x0 hp hpz hx0 hslot | |
| 923 | - (g.error u f n) F G j (g.error_contDiff_of_slot hu_smooth hf_smooth n) hF hG hj (fun i hi => by | |
| 924 | - simpa only [Real.rpow_zero, mul_one] using hab n (physicalLift h n w) hd i hi) hFb hGb | |
| 925 | - simpa only [add_sub_cancel_right] using hh | |
| 926 | - | |
| 927 | 730 | end SlotFamily |
| 928 | 731 | |
| 929 | 732 | /-! ## The two summands separately -/ |
| 930 | 733 | |
| 931 | 734 | namespace SlotFamily |
| 932 | 735 | |
| 933 | -noncomputable def derivativeError {s : StripData D} (g : SlotFamily s) | |
| 934 | - (u : ℕ → D → E) (n : ℕ) (x : D) : E := | |
| 935 | - ((g.length n)⁻¹ * deriv profile (g.coordinate n x)) • u n x | |
| 936 | - | |
| 937 | -noncomputable def omittedSource {s : StripData D} (g : SlotFamily s) | |
| 938 | - (f : ℕ → D → E) (n : ℕ) (x : D) : E := | |
| 939 | - (1 - profile (g.coordinate n x)) • f n x | |
| 940 | - | |
| 941 | -theorem error_eq_sum {s : StripData D} (g : SlotFamily s) (u f : ℕ → D → E) | |
| 942 | - (n : ℕ) (x : D) : | |
| 943 | - g.error u f n x = g.derivativeError u n x + g.omittedSource f n x := rfl | |
| 944 | - | |
| 945 | 736 | private theorem jet_eq_zero_of_eventually {u : D → E} {x : D} |
| 946 | 737 | (he : u =ᶠ[𝓝 x] fun _ => 0) (j : ℕ) : iteratedFDeriv ℝ j u x = 0 := by |
| 947 | 738 | have he' : u =ᶠ[𝓝[univ] x] fun _ => 0 := by simpa only [nhdsWithin_univ] using he |
| 948 | 739 | simpa only [iteratedFDerivWithin_univ, iteratedFDeriv_fun_zero, Pi.zero_apply] using |
| 949 | 740 | he'.iteratedFDerivWithin_eq (𝕜 := ℝ) he.self_of_nhds j |
| 950 | 741 | |
| 951 | -theorem derivativeError_jet_support {s : StripData D} (g : SlotFamily s) | |
| 952 | - (u : ℕ → D → E) (n j : ℕ) : | |
| 953 | - support (iteratedFDeriv ℝ j (g.derivativeError u n)) ⊆ | |
| 954 | - {x | 1 / 5 ≤ |g.coordinate n x - 1 / 2| ∧ |g.coordinate n x - 1 / 2| ≤ 1 / 3} := by | |
| 955 | - classical | |
| 956 | - intro x hx | |
| 957 | - change iteratedFDeriv ℝ j (g.derivativeError u n) x ≠ 0 at hx | |
| 958 | - have hzero (hv : deriv profile =ᶠ[𝓝 (g.coordinate n x)] fun _ => 0) : False := by | |
| 959 | - apply hx | |
| 960 | - apply jet_eq_zero_of_eventually (j := j) | |
| 961 | - have hcomp := hv.comp_tendsto (g.coordinate_contDiff n).continuous.continuousAt | |
| 962 | - filter_upwards [hcomp] with y hy | |
| 963 | - have hy' : deriv profile (g.coordinate n y) = 0 := hy | |
| 964 | - simp [derivativeError, hy'] | |
| 965 | - constructor | |
| 966 | - · by_contra ht | |
| 967 | - apply hzero | |
| 968 | - filter_upwards [(profile_eventually_one (lt_of_not_ge ht)).deriv] with y hy | |
| 969 | - simpa using hy | |
| 970 | - · by_contra ht | |
| 971 | - apply hzero | |
| 972 | - filter_upwards [(profile_eventually_zero (lt_of_not_ge ht)).deriv] with y hy | |
| 973 | - simpa using hy | |
| 974 | - | |
| 975 | -/-- Both transition collars, with the exact normalized slot endpoints. This | |
| 976 | -holds for every actual parameter jet, without any regularity needed of `u` | |
| 977 | -where the multiplier vanishes on a neighborhood. -/ | |
| 978 | -theorem derivativeError_jet_near_ends {s : StripData D} (g : SlotFamily s) | |
| 979 | - (u : ℕ → D → E) (n j : ℕ) {x : D} | |
| 980 | - (hx : iteratedFDeriv ℝ j (g.derivativeError u n) x ≠ 0) : | |
| 981 | - g.coordinate n x ∈ Icc (1 / 6 : ℝ) (3 / 10) ∪ Icc (7 / 10 : ℝ) (5 / 6) := by | |
| 982 | - have hb := g.derivativeError_jet_support u n j hx | |
| 983 | - change 1 / 5 ≤ |g.coordinate n x - 1 / 2| ∧ |g.coordinate n x - 1 / 2| ≤ 1 / 3 at hb | |
| 984 | - rcases le_total (g.coordinate n x) (1 / 2) with h | h | |
| 985 | - · rw [abs_of_nonpos (by linarith)] at hb | |
| 986 | - left | |
| 987 | - constructor <;> linarith [hb.1, hb.2] | |
| 988 | - · rw [abs_of_nonneg (by linarith)] at hb | |
| 989 | - right | |
| 990 | - constructor <;> linarith [hb.1, hb.2] | |
| 991 | - | |
| 992 | -theorem omittedSource_jet_support {s : StripData D} (g : SlotFamily s) | |
| 993 | - (f : ℕ → D → E) (n j : ℕ) : | |
| 994 | - support (iteratedFDeriv ℝ j (g.omittedSource f n)) ⊆ | |
| 995 | - {x | 1 / 5 ≤ |g.coordinate n x - 1 / 2|} := by | |
| 996 | - intro x hx | |
| 997 | - change 1 / 5 ≤ |g.coordinate n x - 1 / 2| | |
| 998 | - by_contra ht | |
| 999 | - apply hx | |
| 1000 | - apply jet_eq_zero_of_eventually (j := j) | |
| 1001 | - have hcomp := (profile_eventually_one (lt_of_not_ge ht)).comp_tendsto | |
| 1002 | - (g.coordinate_contDiff n).continuous.continuousAt | |
| 1003 | - filter_upwards [hcomp] with y hy | |
| 1004 | - have hy' : profile (g.coordinate n y) = 1 := hy | |
| 1005 | - simp [omittedSource, hy'] | |
| 1006 | - | |
| 1007 | -theorem derivativeError_gaussian_bound {s : StripData D} (g : SlotFamily s) | |
| 1008 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1009 | - {P : ℕ → D → ℝ} {α c : ℝ} {u : ℕ → D → E} | |
| 1010 | - (hu : WaveClass s P α u) (hc : 0 < c) | |
| 1011 | - (hP : ∀ n x, x ∈ s.domain → | |
| 1012 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 1013 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ d : ℕ, ∀ n x, x ∈ s.domain → ∀ j ≤ m, | |
| 1014 | - ‖iteratedFDeriv ℝ j (g.derivativeError u n) x‖ ≤ | |
| 1015 | - C * (1 + ChartScales.S n) ^ d * | |
| 1016 | - Real.exp (-(c * g.length_scale / 50) * ChartScales.S n) := by | |
| 1017 | - have hz : WaveClass s P α (fun _ _ => (0 : E)) := MemClass.zero hu.weight_nonneg | |
| 1018 | - have he : g.error u (fun _ _ => (0 : E)) = g.derivativeError u := by | |
| 1019 | - funext n x | |
| 1020 | - simp only [error, cutoffError, derivativeError, smul_zero, add_zero] | |
| 1021 | - have hb := g.error_gaussian_bound edges scales hu hz hc hP m | |
| 1022 | - rwa [he] at hb | |
| 1023 | - | |
| 1024 | -theorem omittedSource_gaussian_bound {s : StripData D} (g : SlotFamily s) | |
| 1025 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1026 | - {P : ℕ → D → ℝ} {α c : ℝ} {f : ℕ → D → E} | |
| 1027 | - (hf : WaveClass s P α f) (hc : 0 < c) | |
| 1028 | - (hP : ∀ n x, x ∈ s.domain → | |
| 1029 | - P n x ≤ Real.exp (-c * (g.coordinate n x - 1 / 2) ^ 2 * g.length n)) | |
| 1030 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ d : ℕ, ∀ n x, x ∈ s.domain → ∀ j ≤ m, | |
| 1031 | - ‖iteratedFDeriv ℝ j (g.omittedSource f n) x‖ ≤ | |
| 1032 | - C * (1 + ChartScales.S n) ^ d * | |
| 1033 | - Real.exp (-(c * g.length_scale / 50) * ChartScales.S n) := by | |
| 1034 | - have hz : WaveClass s P α (fun _ _ => (0 : E)) := MemClass.zero hf.weight_nonneg | |
| 1035 | - have he : g.error (fun _ _ => (0 : E)) f = g.omittedSource f := by | |
| 1036 | - funext n x | |
| 1037 | - simp only [error, cutoffError, omittedSource, smul_zero, zero_add] | |
| 1038 | - have hb := g.error_gaussian_bound edges scales hz hf hc hP m | |
| 1039 | - rwa [he] at hb | |
| 1040 | - | |
| 1041 | -/-- Full all-gain specialization to the actually constructed reference | |
| 1042 | -Gaussian envelope. Only the proved original wave classes are inputs. -/ | |
| 1043 | -theorem reference_error_all_gains {s : StripData D} (g : SlotFamily s) | |
| 1044 | - (edges : FlatEdges s) (scales : BandScaleControl s) | |
| 1045 | - {lam v α : ℝ} (hlam : 0 < lam) (hv : 0 < v) {u f : ℕ → D → E} | |
| 1046 | - (hu : WaveClass s (fun n x => referenceSlotEnvelope lam v (g.length n) (g.coordinate n x)) α u) | |
| 1047 | - (hf : WaveClass s (fun n x => referenceSlotEnvelope lam v (g.length n) (g.coordinate n x)) α f) | |
| 1048 | - (N : ℝ) : UnweightedClass s N (g.error u f) := by | |
| 1049 | - have hm := GaussianEnvelope.referenceMinSlope_pos hlam hv | |
| 1050 | - apply g.error_all_gains edges scales hu hf | |
| 1051 | - (c := v * GaussianEnvelope.referenceMinSlope lam v / 2) (by positivity) | |
| 1052 | - intro n x _ | |
| 1053 | - exact referenceSlotEnvelope_bound hlam hv (g.length_pos n) (g.coordinate n x) | |
| 1054 | - | |
| 1055 | 742 | end SlotFamily |
| 1056 | 743 | |
| 1057 | 744 | end NavierStokes.GaussianTailFlat |
+35 −0 routes/s1-ns-gaussian-1/README.md added View file
| @@ -0,0 +1,35 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-gaussian-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), first wave, family | |
| 8 | +`NavierStokes/Gaussian*`: delete 39 declarations (643 lines) that nothing in the tree uses, | |
| 9 | +across 3 files. Statements and proofs that stay are untouched; the diff is deletions only. | |
| 10 | + | |
| 11 | +- `NavierStokes.GaussianEnvelope.envelope_lt_one_away_from_midpoint` | |
| 12 | + (`NavierStokes/GaussianEnvelope.lean`, 17 lines) | |
| 13 | +- 17 declarations in `NavierStokes/GaussianErrorNaturality.lean` (313 lines), from | |
| 14 | + `waveChange_waveEquiv` and `referenceParameters` through | |
| 15 | + `fromReference_gaussianBlock_cylinder` | |
| 16 | +- 21 declarations in `NavierStokes/GaussianTailFlat.lean` (313 lines), from | |
| 17 | + `profile_iteratedDeriv_support` through `reference_error_all_gains` | |
| 18 | + | |
| 19 | +Checked at `s1-ns-gaussian-1` (from main `440c919`): `git grep -n -w` over `*.lean`, `*.md`, | |
| 20 | +`*.toml` and `*.json` finds no remaining use of 38 of the 39 names; the remaining hit, | |
| 21 | +`complexCopyVelocity_zeroEntry`, is the separate declaration of that short name in | |
| 22 | +`IntervalCopyTransport` (`NavierStokes/IntervalCopyTransport.lean:321`), not the deleted one. | |
| 23 | +No deleted docstring cites the paper with a numbered Lemma, Theorem, Proposition, Corollary, | |
| 24 | +Section or Equation (one says "the manuscript's actual native phase", with no number). The unit | |
| 25 | +comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was re-read | |
| 26 | +under this project's rule that the paper's results stay; none of the 39 is reached by | |
| 27 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 28 | +`NavierStokes/LocalPaperTheorem.lean`, and none of the declarations kept names them. | |
| 29 | +`python3 checks/challenge.py .` ends with | |
| 30 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 31 | + | |
| 32 | +## Next | |
| 33 | + | |
| 34 | +Push and open the pull request; the other declaration units of #10 are separate. The | |
| 35 | +maintainer's review follows `challenge` and `build`. | |