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/Scaled): delete 12 declarations nothing uses #446
Open
+0 −315 NavierStokes/ScaledTangentTransport.lean View file
| @@ -85,32 +85,6 @@ variable {P Q V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 85 | 85 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 86 | 86 | [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace H] |
| 87 | 87 | |
| 88 | -/-- Copy-level counterpart of `CopySolveCompatibility.commonSolve_of_compatibleInputs`. | |
| 89 | -The condition compares only native coefficients and converted sources. -/ | |
| 90 | -theorem copySolve_of_compatibleInputs (d : LinearData P V H) (e : LinearData Q V H) | |
| 91 | - (parameter : Q → P) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 92 | - (gap : ℕ) (shift rate amplitude : ℝ) (hrate : 0 < rate) | |
| 93 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 94 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 95 | - (hf : ContinuousOn d.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 96 | - (hi : CopySolveCompatibility.SameInputsAt e (CopySolveCompatibility.transportData d parameter gap shift rate amplitude) q) | |
| 97 | - (copy : Frequency) (Y : Plane) | |
| 98 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates copy Y).2 ∈ | |
| 99 | - Icc a b) : | |
| 100 | - e.copySolve (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 101 | - amplitude • d.copySolve g (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 102 | - (parameter q, coverPower gap Y) := by | |
| 103 | - have he : e.copySolve (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 104 | - (CopySolveCompatibility.transportData d parameter gap shift rate amplitude).copySolve | |
| 105 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) := by | |
| 106 | - exact CopySolveCompatibility.anchoredSolve_eq_of_sameInputs _ _ _ hab q hi copy Y _ | |
| 107 | - rw [he] | |
| 108 | - unfold CopySolveCompatibility.transportData CopySolveCompatibility.transportGeometry | |
| 109 | - rw [CopySolveCompatibility.copySolve_scaleSource, CopySolveCompatibility.copySolve_transform] | |
| 110 | - congr 1 | |
| 111 | - apply CopySolveCompatibility.copySolve_timeData d g shift rate hrate hab hA hB hf copy hq | |
| 112 | - simpa only [CopySolveCompatibility.transportGeometry, CopySolveCompatibility.coordinates_refine] using hslot | |
| 113 | - | |
| 114 | 88 | end CopyInputCompatibility |
| 115 | 89 | |
| 116 | 90 | section TangentTransport |
| @@ -140,112 +114,12 @@ theorem transportTangent_sameInputs (t : TangentData P H) (parameter : Q → P) | ||
| 140 | 114 | rw [NormalScaling.negativeTangentProjection_smul _ hnormal] |
| 141 | 115 | simp only [_root_.smul_apply, map_smul, smul_smul, mul_comm rate amplitude] |
| 142 | 116 | |
| 143 | -theorem copySolve_transport (t : TangentData P H) (parameter : Q → P) | |
| 144 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 145 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 146 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 147 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 148 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 149 | - (copy : Frequency) (Y : Plane) | |
| 150 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 151 | - copy Y).2 ∈ Icc a b) : | |
| 152 | - (transportTangent t parameter gap shift rate amplitude normalScale).linearData.copySolve | |
| 153 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 154 | - amplitude • t.linearData.copySolve g | |
| 155 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 156 | - (parameter q, coverPower gap Y) := | |
| 157 | - copySolve_of_compatibleInputs t.linearData _ parameter g hab gap shift rate amplitude hrate | |
| 158 | - hA hB hf q hq (transportTangent_sameInputs t parameter gap shift rate amplitude normalScale | |
| 159 | - hnormal q) copy Y hslot | |
| 160 | - | |
| 161 | -theorem copyPressureReal_transport (t : TangentData P H) (parameter : Q → P) | |
| 162 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 163 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 164 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 165 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 166 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 167 | - (copy : Frequency) (Y : Plane) | |
| 168 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 169 | - copy Y).2 ∈ Icc a b) : | |
| 170 | - copyPressureReal (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 171 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 172 | - (rate * amplitude / normalScale) * copyPressureReal t g | |
| 173 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 174 | - (parameter q, coverPower gap Y) := by | |
| 175 | - simp only [copyPressureReal] | |
| 176 | - rw [copySolve_transport t parameter g hab gap shift rate amplitude normalScale hrate hnormal | |
| 177 | - hA hB hf q hq copy Y hslot] | |
| 178 | - simp only [transportTangent, nativePoint, coordinates_transport, | |
| 179 | - _root_.smul_apply, map_smul, smul_smul] | |
| 180 | - rw [mul_comm amplitude rate] | |
| 181 | - exact NormalScaling.pressureCoefficient_rescale (H := H) _ _ _ _ _ rate amplitude hnormal | |
| 182 | - | |
| 183 | -/-- Pressure includes the inverse frequency of the band in which it is | |
| 184 | -realized, in addition to the derived clock/normal factor. -/ | |
| 185 | -theorem copyPressure_transport (t : TangentData P H) (parameter : Q → P) | |
| 186 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 187 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 188 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 189 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 190 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 191 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 192 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 193 | - (copy : Frequency) (Y : Plane) | |
| 194 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 195 | - copy Y).2 ∈ Icc a b) : | |
| 196 | - copyPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 197 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy frequency | |
| 198 | - (q, Y) = | |
| 199 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 200 | - copyPressure t g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 201 | - copy referenceFrequency (parameter q, coverPower gap Y) := by | |
| 202 | - have hr : (referenceFrequency : ℂ) ≠ 0 := by exact_mod_cast hreference | |
| 203 | - have hk : (frequency : ℂ) ≠ 0 := by exact_mod_cast hfrequency | |
| 204 | - have hs : (normalScale : ℂ) ≠ 0 := by exact_mod_cast hnormal | |
| 205 | - simp only [copyPressure, copyPressureReal_transport t parameter g hab gap shift rate amplitude | |
| 206 | - normalScale hrate hnormal hA hB hf q hq copy Y hslot, | |
| 207 | - Complex.ofReal_mul, Complex.ofReal_div, Complex.real_smul] | |
| 208 | - field_simp | |
| 209 | - | |
| 210 | 117 | end TangentTransport |
| 211 | 118 | |
| 212 | 119 | section LocalizedTransport |
| 213 | 120 | |
| 214 | 121 | variable {P Q E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 215 | 122 | |
| 216 | -omit [CompleteSpace E] in | |
| 217 | -/-- A transported periodization only uses copy identities on the active | |
| 218 | -native interval. In particular no equality of extended solves outside | |
| 219 | -that interval is required. -/ | |
| 220 | -theorem periodizedCopies_transport_of_active (g : Geometry) (parameter : Q → P) | |
| 221 | - {a b : ℝ} (gap : ℕ) (shift rate scale : ℝ) (hrate : 0 < rate) | |
| 222 | - (cutoff : Plane → ℝ) | |
| 223 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 224 | - (F : Frequency → Q × Plane → E) (G : Frequency → P × Plane → E) | |
| 225 | - (q : Q) (Y : Plane) | |
| 226 | - (hcopy : ∀ copy, | |
| 227 | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 228 | - copy Y).2 ∈ Icc a b → | |
| 229 | - F copy (q, Y) = scale • G copy (parameter q, coverPower gap Y)) : | |
| 230 | - periodizedCopies (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') | |
| 231 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) F (q, Y) = | |
| 232 | - scale • periodizedCopies g cutoff G (parameter q, coverPower gap Y) := by | |
| 233 | - unfold periodizedCopies | |
| 234 | - calc | |
| 235 | - _ = ∑' copy : Frequency, scale • | |
| 236 | - (cutoff (g.coordinates copy (coverPower gap Y)) • | |
| 237 | - G copy (parameter q, coverPower gap Y)) := by | |
| 238 | - apply tsum_congr | |
| 239 | - intro copy | |
| 240 | - simp only [Function.comp_apply, coordinates_transport] | |
| 241 | - by_cases hz : cutoff (g.coordinates copy (coverPower gap Y)) = 0 | |
| 242 | - · simp only [hz, zero_smul, smul_zero] | |
| 243 | - · have hs : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 244 | - copy Y).2 ∈ Icc a b := | |
| 245 | - (current_slot_iff g gap shift rate hrate copy Y a b).mpr (hcutoff hz).2 | |
| 246 | - rw [hcopy copy hs, smul_comm] | |
| 247 | - _ = _ := tsum_const_smul'' scale | |
| 248 | - | |
| 249 | 123 | end LocalizedTransport |
| 250 | 124 | |
| 251 | 125 | section ComplexTransport |
| @@ -277,138 +151,6 @@ theorem imagData_transport (t : TangentData P ProblemStatement.Space) | ||
| 277 | 151 | funext z |
| 278 | 152 | exact map_smul imagPart (rate * amplitude) _ |
| 279 | 153 | |
| 280 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 281 | -theorem copyVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 282 | - (parameter : Q → P) (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 283 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 284 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 285 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 286 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 287 | - (copy : Frequency) (Y : Plane) | |
| 288 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 289 | - copy Y).2 ∈ Icc a b) : | |
| 290 | - copyVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 291 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 292 | - amplitude • copyVelocity t g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 293 | - copy (parameter q, coverPower gap Y) := by | |
| 294 | - unfold copyVelocity | |
| 295 | - rw [copySolve_transport t parameter g hab gap shift rate amplitude normalScale hrate hnormal | |
| 296 | - hA hB hf q hq copy Y hslot, map_smul] | |
| 297 | - | |
| 298 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 299 | -theorem complexCopyVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 300 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 301 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 302 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 303 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 304 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 305 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 306 | - (copy : Frequency) (Y : Plane) | |
| 307 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 308 | - copy Y).2 ∈ Icc a b) : | |
| 309 | - complexCopyVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 310 | - (transportSource f parameter gap rate amplitude) | |
| 311 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 312 | - amplitude • complexCopyVelocity t f g | |
| 313 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 314 | - copy (parameter q, coverPower gap Y) := by | |
| 315 | - have hr : ContinuousOn (realData t f).source (U ×ˢ univ) := | |
| 316 | - realPart.continuous.comp_continuousOn hf | |
| 317 | - have hi : ContinuousOn (imagData t f).source (U ×ˢ univ) := | |
| 318 | - imagPart.continuous.comp_continuousOn hf | |
| 319 | - simp only [complexCopyVelocity, realData_transport, imagData_transport] | |
| 320 | - rw [copyVelocity_transport (realData t f) parameter g hab gap shift rate amplitude normalScale | |
| 321 | - hrate hnormal hA hB hr q hq copy Y hslot, | |
| 322 | - copyVelocity_transport (imagData t f) parameter g hab gap shift rate amplitude normalScale | |
| 323 | - hrate hnormal hA hB hi q hq copy Y hslot] | |
| 324 | - simp only [smul_add, smul_comm Complex.I amplitude] | |
| 325 | - | |
| 326 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 327 | -theorem complexCopyPressure_transport (t : TangentData P ProblemStatement.Space) | |
| 328 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 329 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 330 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 331 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 332 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 333 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 334 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 335 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 336 | - (copy : Frequency) (Y : Plane) | |
| 337 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 338 | - copy Y).2 ∈ Icc a b) : | |
| 339 | - complexCopyPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 340 | - (transportSource f parameter gap rate amplitude) | |
| 341 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy frequency | |
| 342 | - (q, Y) = | |
| 343 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 344 | - complexCopyPressure t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 345 | - copy referenceFrequency (parameter q, coverPower gap Y) := by | |
| 346 | - have hr : ContinuousOn (realData t f).source (U ×ˢ univ) := | |
| 347 | - realPart.continuous.comp_continuousOn hf | |
| 348 | - have hi : ContinuousOn (imagData t f).source (U ×ˢ univ) := | |
| 349 | - imagPart.continuous.comp_continuousOn hf | |
| 350 | - simp only [complexCopyPressure, realData_transport, imagData_transport] | |
| 351 | - rw [copyPressure_transport (realData t f) parameter g hab gap shift rate amplitude normalScale | |
| 352 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hr q hq copy Y hslot, | |
| 353 | - copyPressure_transport (imagData t f) parameter g hab gap shift rate amplitude normalScale | |
| 354 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hi q hq copy Y hslot] | |
| 355 | - simp only [smul_add, Complex.real_smul] | |
| 356 | - ring | |
| 357 | - | |
| 358 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 359 | -/-- One actual reference velocity supplies every transported band view. -/ | |
| 360 | -theorem commonVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 361 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 362 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 363 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 364 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 365 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 366 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 367 | - (cutoff : Plane → ℝ) | |
| 368 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 369 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 370 | - commonVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 371 | - (transportSource f parameter gap rate amplitude) | |
| 372 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab | |
| 373 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) (q, Y) = | |
| 374 | - amplitude • commonVelocity t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 375 | - cutoff (parameter q, coverPower gap Y) := by | |
| 376 | - unfold commonVelocity | |
| 377 | - apply periodizedCopies_transport_of_active g parameter gap shift rate amplitude hrate | |
| 378 | - cutoff hcutoff | |
| 379 | - intro copy hslot | |
| 380 | - exact complexCopyVelocity_transport t f parameter g hab gap shift rate amplitude normalScale | |
| 381 | - hrate hnormal hA hB hf q hq copy Y hslot | |
| 382 | - | |
| 383 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 384 | -/-- The actual common pressure has the derived clock, normal and carrier | |
| 385 | -frequency factors. It is not assigned the velocity's scaling weight. -/ | |
| 386 | -theorem commonPressure_transport (t : TangentData P ProblemStatement.Space) | |
| 387 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 388 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 389 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 390 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 391 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 392 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 393 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 394 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 395 | - (cutoff : Plane → ℝ) | |
| 396 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 397 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 398 | - commonPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 399 | - (transportSource f parameter gap rate amplitude) | |
| 400 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab | |
| 401 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) frequency (q, Y) = | |
| 402 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 403 | - commonPressure t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 404 | - cutoff referenceFrequency (parameter q, coverPower gap Y) := by | |
| 405 | - unfold commonPressure | |
| 406 | - apply periodizedCopies_transport_of_active g parameter gap shift rate | |
| 407 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) hrate cutoff hcutoff | |
| 408 | - intro copy hslot | |
| 409 | - exact complexCopyPressure_transport t f parameter g hab gap shift rate amplitude normalScale | |
| 410 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hf q hq copy Y hslot | |
| 411 | - | |
| 412 | 154 | end ComplexTransport |
| 413 | 155 | |
| 414 | 156 | section ZeroEntry |
| @@ -423,63 +165,6 @@ private theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) | ||
| 423 | 165 | subst d |
| 424 | 166 | rfl |
| 425 | 167 | |
| 426 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 427 | -/-- A reference interval `[0,L]` corresponds to the band interval | |
| 428 | -`[0,L/rate]`. Keeping the same numerical length would change the anchor | |
| 429 | -problem; this specialization retains the actual common reference solve. -/ | |
| 430 | -theorem commonVelocity_zeroEntry (t : TangentData P ProblemStatement.Space) | |
| 431 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 432 | - (g : Geometry) (gap : ℕ) (L rate amplitude normalScale : ℝ) | |
| 433 | - (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 434 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 435 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 436 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 437 | - (cutoff : Plane → ℝ) (hcutoff : support cutoff ⊆ univ ×ˢ Icc 0 L) | |
| 438 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 439 | - commonVelocity (transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 440 | - (transportSource f parameter gap rate amplitude) | |
| 441 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') | |
| 442 | - (div_pos hL hrate).le (cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 rate) (q, Y) = | |
| 443 | - amplitude • commonVelocity t f g hL.le cutoff (parameter q, coverPower gap Y) := by | |
| 444 | - have hlen : rate * (L / rate) = L := by field_simp | |
| 445 | - have hs : support cutoff ⊆ univ ×ˢ Icc (0 + rate * 0) (0 + rate * (L / rate)) := by | |
| 446 | - simpa only [mul_zero, zero_add, hlen] using hcutoff | |
| 447 | - have h := commonVelocity_transport t f parameter g (div_pos hL hrate).le gap 0 rate | |
| 448 | - amplitude normalScale hrate hnormal hA hB hf cutoff hs q hq Y | |
| 449 | - refine h.trans (congrArg (fun z : ComplexVector => amplitude • z) ?_) | |
| 450 | - exact interval_congr (fun a b hh => commonVelocity t f g (a := a) (b := b) hh cutoff | |
| 451 | - (parameter q, coverPower gap Y)) _ _ (by ring) (by simpa only [zero_add] using hlen) | |
| 452 | - | |
| 453 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 454 | -theorem commonPressure_zeroEntry (t : TangentData P ProblemStatement.Space) | |
| 455 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 456 | - (g : Geometry) (gap : ℕ) (L rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 457 | - (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 458 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 459 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 460 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 461 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 462 | - (cutoff : Plane → ℝ) (hcutoff : support cutoff ⊆ univ ×ˢ Icc 0 L) | |
| 463 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 464 | - commonPressure (transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 465 | - (transportSource f parameter gap rate amplitude) | |
| 466 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') | |
| 467 | - (div_pos hL hrate).le (cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 rate) frequency | |
| 468 | - (q, Y) = | |
| 469 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 470 | - commonPressure t f g hL.le cutoff referenceFrequency (parameter q, coverPower gap Y) := by | |
| 471 | - have hlen : rate * (L / rate) = L := by field_simp | |
| 472 | - have hs : support cutoff ⊆ univ ×ˢ Icc (0 + rate * 0) (0 + rate * (L / rate)) := by | |
| 473 | - simpa only [mul_zero, zero_add, hlen] using hcutoff | |
| 474 | - have h := commonPressure_transport t f parameter g (div_pos hL hrate).le gap 0 rate | |
| 475 | - amplitude normalScale referenceFrequency frequency hrate hnormal hreference hfrequency | |
| 476 | - hA hB hf cutoff hs q hq Y | |
| 477 | - refine h.trans (congrArg (fun z : ℂ => | |
| 478 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • z) ?_) | |
| 479 | - exact interval_congr (fun a b hh => commonPressure t f g (a := a) (b := b) hh cutoff | |
| 480 | - referenceFrequency (parameter q, coverPower gap Y)) _ _ (by ring) | |
| 481 | - (by simpa only [zero_add] using hlen) | |
| 482 | - | |
| 483 | 168 | end ZeroEntry |
| 484 | 169 | |
| 485 | 170 | end NavierStokes.ScaledTangentTransport |
+34 −0 routes/s1-ns-scaled-3/README.md added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-scaled-3 | |
| 6 | + | |
| 7 | +Unit 3 of S-1 on the family `NavierStokes/Scaled*`: deletes the 12 | |
| 8 | +declarations that nothing uses, 315 lines in `NavierStokes/ScaledTangentTransport.lean`. | |
| 9 | + | |
| 10 | +- `NavierStokes.ScaledTangentTransport.copySolve_of_compatibleInputs`, | |
| 11 | + `.copySolve_transport`, `.copyPressureReal_transport`, `.copyPressure_transport`, | |
| 12 | + `.periodizedCopies_transport_of_active` (the last in section `LocalizedTransport`), | |
| 13 | + `.copyVelocity_transport`, `.complexCopyVelocity_transport`, | |
| 14 | + `.complexCopyPressure_transport`, `.commonVelocity_transport`, | |
| 15 | + `.commonPressure_transport`, `.commonVelocity_zeroEntry`, | |
| 16 | + `.commonPressure_zeroEntry`. | |
| 17 | + | |
| 18 | +The diff is deletions only. `git grep -n -w` for each short name finds no | |
| 19 | +user left in the tree: the only hits are other declarations of the same short | |
| 20 | +name in `NavierStokes/IntervalCopyTransport.lean` and | |
| 21 | +`NavierStokes/ParticularWaveAssembly.lean`, and two uses qualified | |
| 22 | +`IntervalCopyTransport.commonVelocity_zeroEntry` / `.commonPressure_zeroEntry` | |
| 23 | +in `NavierStokes/ActualParticularCoherence.lean`. No deleted docstring names | |
| 24 | +the paper (no numbered Lemma, Theorem, Proposition, Corollary, Section or | |
| 25 | +Equation): the docstrings cite only Lean declarations | |
| 26 | +(e.g. `CopySolveCompatibility.commonSolve_of_compatibleInputs`) and describe | |
| 27 | +the transport factors. `python3 checks/challenge.py .` ends | |
| 28 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 29 | + | |
| 30 | +## Next | |
| 31 | + | |
| 32 | +Nothing on this unit: the commit is pushed and the pull request opened. If it | |
| 33 | +comes back for changes, re-read the deleted declarations against the tree at | |
| 34 | +the head and fix the one the review names. | |