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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #284 chore(NavierStokes/True): delete 12 declarations nothing uses
1 commit
+0 −199 NavierStokes/TrueConeLoop.lean View file
| @@ -133,10 +133,6 @@ theorem varianceRoot_sq (a δ v : ℝ) (ha : 0 < a) : | ||
| 133 | 133 | varianceRoot a δ v ^ 2 = correction δ v / a := by |
| 134 | 134 | simp only [varianceRoot, div_pow, Real.sq_sqrt ha.le, correction] |
| 135 | 135 | |
| 136 | -theorem varianceRoot_zero (a δ v : ℝ) (hδ : 0 < δ) (hv : highSpeed δ ≤ v) : | |
| 137 | - varianceRoot a δ v = 0 := by | |
| 138 | - simp only [varianceRoot, correctionRoot_zero δ v hδ hv, zero_div] | |
| 139 | - | |
| 140 | 136 | theorem varianceRoot_bound (amin a δ v : ℝ) (hmin : 0 < amin) (ha : amin ≤ a) |
| 141 | 137 | (hδ : 0 < δ) (hδ₁ : δ ≤ 1) (hv : 0 < v) : |
| 142 | 138 | varianceRoot a δ v ≤ Real.sqrt (3 / amin) := by |
| @@ -229,10 +225,6 @@ theorem seedSpeed_nominal_of_inactive (a m δ : ℝ) | ||
| 229 | 225 | simp only [seedSpeed, correctedSpeed, correction, correctionRoot, hzero, |
| 230 | 226 | zero_mul, zero_pow (by decide : (2 : ℕ) ≠ 0), add_zero] |
| 231 | 227 | |
| 232 | -theorem seedTilt_nominal (a m d p δ : ℝ) (hδ : 0 < δ) | |
| 233 | - (hh : highSpeed δ ≤ nominalSpeed a m) : seedTilt a m d p δ = (fun _ => m) := | |
| 234 | - seedTilt_nominal_of_inactive a m d p δ (speedCutoff_zero δ _ hδ hh) | |
| 235 | - | |
| 236 | 228 | theorem seed_cone (a m p₁ p₂ d δ R : ℝ) (ha : 0 < a) (hd : 0 < d) |
| 237 | 229 | (hδ : 0 < δ) (hδ₁ : δ ≤ 1) (hR : Real.sqrt (3 / a) ≤ R) |
| 238 | 230 | (hmargin : 2 ≤ p₁ + p₂ * m - d) |
| @@ -278,65 +270,6 @@ def InTrueCone (p₁ p₂ A C : ℝ) : Prop := | ||
| 278 | 270 | 0 < A ∧ 2 < A * (1 + (C / A) ^ 2) ∧ 2 < p₁ + p₂ * (C / A) ∧ |
| 279 | 271 | A * (1 + (C / A) ^ 2) < coneBound (p₁ + p₂ * (C / A)) (p₂ - p₁ * (C / A)) |
| 280 | 272 | |
| 281 | -/-- Positive additive margins for all four scalar inequalities, including | |
| 282 | -the positive first shear component. -/ | |
| 283 | -def HasConeMargin (ε p₁ p₂ A C : ℝ) : Prop := | |
| 284 | - ε ≤ A ∧ ε ≤ A * (1 + (C / A) ^ 2) - 2 ∧ ε ≤ p₁ + p₂ * (C / A) - 2 ∧ | |
| 285 | - ε ≤ coneBound (p₁ + p₂ * (C / A)) (p₂ - p₁ * (C / A)) - A * (1 + (C / A) ^ 2) | |
| 286 | - | |
| 287 | -/-- Compact slow parameters and a periodic fast parameter turn strict | |
| 288 | -pointwise cone inequalities into one positive margin at every fast angle. -/ | |
| 289 | -theorem compact_periodic_trueCone_margins {X : Type*} [TopologicalSpace X] | |
| 290 | - (p₁ p₂ : X → ℝ) (A C : X × ℝ → ℝ) {K : Set X} (hK : IsCompact K) | |
| 291 | - (hp₁ : ContinuousOn p₁ K) (hp₂ : ContinuousOn p₂ K) | |
| 292 | - (hA : ContinuousOn A (K ×ˢ (univ : Set ℝ))) | |
| 293 | - (hC : ContinuousOn C (K ×ˢ (univ : Set ℝ))) | |
| 294 | - (hAp : ∀ x ∈ K, Function.Periodic (fun φ => A (x, φ)) 1) | |
| 295 | - (hCp : ∀ x ∈ K, Function.Periodic (fun φ => C (x, φ)) 1) | |
| 296 | - (hcone : ∀ x ∈ K, ∀ φ, InTrueCone (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ))) : | |
| 297 | - ∃ ε : ℝ, 0 < ε ∧ ∀ x ∈ K, ∀ φ, | |
| 298 | - HasConeMargin ε (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ)) := by | |
| 299 | - let Q : Set (X × ℝ) := K ×ˢ Icc 0 1 | |
| 300 | - have hQ : IsCompact Q := hK.prod isCompact_Icc | |
| 301 | - have hAQ : ContinuousOn A Q := hA.mono (fun z hz => ⟨hz.1, mem_univ _⟩) | |
| 302 | - have hCQ : ContinuousOn C Q := hC.mono (fun z hz => ⟨hz.1, mem_univ _⟩) | |
| 303 | - have hp₁Q : ContinuousOn (fun z : X × ℝ => p₁ z.1) Q := | |
| 304 | - hp₁.comp continuousOn_fst (fun _ hz => hz.1) | |
| 305 | - have hp₂Q : ContinuousOn (fun z : X × ℝ => p₂ z.1) Q := | |
| 306 | - hp₂.comp continuousOn_fst (fun _ hz => hz.1) | |
| 307 | - let t : X × ℝ → ℝ := fun z => C z / A z | |
| 308 | - let P : X × ℝ → ℝ := fun z => p₁ z.1 + p₂ z.1 * t z | |
| 309 | - let J : X × ℝ → ℝ := fun z => p₂ z.1 - p₁ z.1 * t z | |
| 310 | - let v : X × ℝ → ℝ := fun z => A z * (1 + t z ^ 2) | |
| 311 | - have ht : ContinuousOn t Q := hCQ.div hAQ | |
| 312 | - (fun z hz => ne_of_gt (hcone z.1 hz.1 z.2).1) | |
| 313 | - have hP : ContinuousOn P Q := hp₁Q.add (hp₂Q.mul ht) | |
| 314 | - have hJ : ContinuousOn J Q := hp₂Q.sub (hp₁Q.mul ht) | |
| 315 | - have hv : ContinuousOn v Q := hAQ.mul (continuousOn_const.add (ht.pow 2)) | |
| 316 | - obtain ⟨εa, hεa, hma⟩ := UniformCone.positive_uniform_margin hQ hAQ | |
| 317 | - (fun z hz => (hcone z.1 hz.1 z.2).1) | |
| 318 | - obtain ⟨εc, hεc, hmc⟩ := UniformCone.compact_trueCone_margins hQ hP hJ hv | |
| 319 | - (fun z hz => (hcone z.1 hz.1 z.2).2) | |
| 320 | - refine ⟨min εa εc, lt_min hεa hεc, fun x hx φ => ?_⟩ | |
| 321 | - have hpair : Function.Periodic (fun θ => (A (x, θ), C (x, θ))) 1 := by | |
| 322 | - intro θ | |
| 323 | - exact Prod.ext (hAp x hx θ) (hCp x hx θ) | |
| 324 | - obtain ⟨θ, hθ, heq⟩ := hpair.exists_mem_Ico₀ (by norm_num) φ | |
| 325 | - have hAE : A (x, φ) = A (x, θ) := congrArg Prod.fst heq | |
| 326 | - have hCE : C (x, φ) = C (x, θ) := congrArg Prod.snd heq | |
| 327 | - rw [hAE, hCE] | |
| 328 | - have hmem : (x, θ) ∈ Q := ⟨hx, hθ.1, hθ.2.le⟩ | |
| 329 | - exact ⟨(min_le_left _ _).trans (hma (x, θ) hmem), | |
| 330 | - (min_le_right _ _).trans (hmc (x, θ) hmem).1, | |
| 331 | - (min_le_right _ _).trans (hmc (x, θ) hmem).2.1, | |
| 332 | - (min_le_right _ _).trans (hmc (x, θ) hmem).2.2⟩ | |
| 333 | - | |
| 334 | -theorem constructed_smooth (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ : 0 < δ) : | |
| 335 | - ContDiff ℝ ∞ (constructedA a m d p δ ha hd hδ) ∧ | |
| 336 | - ContDiff ℝ ∞ (constructedC a m d p δ ha hd hδ) := by | |
| 337 | - have h := smooth_loop_shears (seedTilt a m d p δ) (seedSpeed a m δ) (seedTilt_contDiff a m d p δ) | |
| 338 | - exact ⟨rephase_contDiff _ _ h.1, rephase_contDiff _ _ h.2⟩ | |
| 339 | - | |
| 340 | 273 | theorem constructed_periodic (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ : 0 < δ) : |
| 341 | 274 | Function.Periodic (constructedA a m d p δ ha hd hδ) 1 ∧ |
| 342 | 275 | Function.Periodic (constructedC a m d p δ ha hd hδ) 1 := by |
| @@ -405,37 +338,6 @@ theorem constructed_nominal (a m d p δ : ℝ) (ha : 0 < a) (hd : d ≠ 0) (hδ | ||
| 405 | 338 | have hnz := ne_of_gt (one_add_sq_pos m) |
| 406 | 339 | field_simp |
| 407 | 340 | |
| 408 | -/-- Fixed-parameter true-cone realization, with no assumed loop or margin. | |
| 409 | -The nominal data need only satisfy the relaxed cone. -/ | |
| 410 | -theorem exists_trueCone_loop (a m p₁ p₂ : ℝ) (ha : 0 < a) | |
| 411 | - (hP : 2 < p₁ + p₂ * m) | |
| 412 | - (hrelaxed : nominalSpeed a m < coneBound (p₁ + p₂ * m) (p₂ - p₁ * m)) : | |
| 413 | - ∃ A C : ℝ → ℝ, ContDiff ℝ ∞ A ∧ ContDiff ℝ ∞ C ∧ | |
| 414 | - Function.Periodic A 1 ∧ Function.Periodic C 1 ∧ | |
| 415 | - (∫ φ in (0 : ℝ)..1, A φ) = a ∧ (∫ φ in (0 : ℝ)..1, C φ) = a * m ∧ | |
| 416 | - ∀ φ, InTrueCone p₁ p₂ (A φ) (C φ) := by | |
| 417 | - let d := (p₁ + p₂ * m - 2) / 2 | |
| 418 | - have hd : 0 < d := by dsimp [d]; linarith | |
| 419 | - have hmargin : 2 ≤ p₁ + p₂ * m - d := by dsimp [d]; linarith | |
| 420 | - let R := Real.sqrt (3 / a) | |
| 421 | - obtain ⟨ε, hε, hU⟩ := uniform_tilt_cone_margin (X := ℝ) (K := {0}) isCompact_singleton | |
| 422 | - (fun _ => m) (fun _ => p₁) (fun _ => p₂) continuous_const continuous_const continuous_const | |
| 423 | - d R hd (fun _ _ => hmargin) | |
| 424 | - let δ := min ε 1 | |
| 425 | - have hδ : 0 < δ := lt_min hε (by norm_num) | |
| 426 | - have hδ₁ : δ ≤ 1 := min_le_right _ _ | |
| 427 | - have hUδ : ∀ r ∈ Icc (0 : ℝ) R, ∀ θ, | |
| 428 | - 2 + δ ≤ coneBound (p₁ + p₂ * solvedTilt m d p₂ r θ) (p₂ - p₁ * solvedTilt m d p₂ r θ) := by | |
| 429 | - intro r hr θ | |
| 430 | - exact (add_le_add_right (min_le_left ε 1) 2).trans (hU 0 (by simp) r hr θ) | |
| 431 | - let A := constructedA a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 432 | - let C := constructedC a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 433 | - have hs := constructed_smooth a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 434 | - have hp := constructed_periodic a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 435 | - have hm := constructed_means a m d p₂ δ ha (ne_of_gt hd) hδ | |
| 436 | - exact ⟨A, C, hs.1, hs.2, hp.1, hp.2, hm.1, hm.2, | |
| 437 | - constructed_trueCone a m p₁ p₂ d δ R ha hd hδ hδ₁ le_rfl hmargin hrelaxed hUδ⟩ | |
| 438 | - | |
| 439 | 341 | structure FamilyChoices {X : Type*} (a m p₁ p₂ : X → ℝ) (K B : Set X) where |
| 440 | 342 | aMin : ℝ |
| 441 | 343 | d : ℝ |
| @@ -495,35 +397,6 @@ theorem exists_family_choices {X : Type*} [TopologicalSpace X] | ||
| 495 | 397 | dsimp [highSpeed] |
| 496 | 398 | linarith |
| 497 | 399 | |
| 498 | -theorem FamilyChoices.root_bound {X : Type*} {a m p₁ p₂ : X → ℝ} {K B : Set X} | |
| 499 | - (c : FamilyChoices a m p₁ p₂ K B) {x : X} (hx : x ∈ K) : | |
| 500 | - varianceRoot (a x) c.delta (nominalSpeed (a x) (m x)) ∈ Icc (0 : ℝ) c.radius := by | |
| 501 | - have ha : 0 < a x := lt_of_lt_of_le c.aMin_pos (c.aMin_le x hx) | |
| 502 | - rw [c.radius_eq] | |
| 503 | - exact ⟨varianceRoot_nonneg _ _ _, varianceRoot_bound c.aMin (a x) c.delta _ | |
| 504 | - c.aMin_pos (c.aMin_le x hx) c.delta_pos c.delta_le_one (mul_pos ha (one_add_sq_pos _))⟩ | |
| 505 | - | |
| 506 | -theorem FamilyChoices.amplitude_bound {X : Type*} {a m p₁ p₂ : X → ℝ} {K B : Set X} | |
| 507 | - (c : FamilyChoices a m p₁ p₂ K B) {x : X} (hx : x ∈ K) : | |
| 508 | - 0 ≤ solveScale c.d (p₂ x) (varianceRoot (a x) c.delta (nominalSpeed (a x) (m x))) ∧ | |
| 509 | - solveScale c.d (p₂ x) (varianceRoot (a x) c.delta (nominalSpeed (a x) (m x))) < c.maxAmplitude := by | |
| 510 | - let r := varianceRoot (a x) c.delta (nominalSpeed (a x) (m x)) | |
| 511 | - have hr := c.root_bound hx | |
| 512 | - have hμ := solveScale_nonneg c.d (p₂ x) r c.d_pos hr.1 | |
| 513 | - refine ⟨hμ, ?_⟩ | |
| 514 | - have htarget : tiltVariance c.d (p₂ x) (solveScale c.d (p₂ x) r) ≤ 3 / c.aMin := by | |
| 515 | - rw [solveScale_variance _ _ _ (ne_of_gt c.d_pos)] | |
| 516 | - have hR := Real.sq_sqrt (div_nonneg (by norm_num : (0 : ℝ) ≤ 3) c.aMin_pos.le) | |
| 517 | - have hrle : r ≤ Real.sqrt (3 / c.aMin) := by simpa only [c.radius_eq] using hr.2 | |
| 518 | - have hsqnonneg := Real.sqrt_nonneg (3 / c.aMin) | |
| 519 | - nlinarith [hr.1] | |
| 520 | - by_contra hn | |
| 521 | - have hμM : c.maxAmplitude ≤ solveScale c.d (p₂ x) r := le_of_not_gt hn | |
| 522 | - have hmono := (tiltVariance_strictMonoOn c.d (p₂ x) c.d_pos).monotoneOn | |
| 523 | - c.maxAmplitude_pos.le hμ hμM | |
| 524 | - have hlarge := c.amplitude_large x hx | |
| 525 | - linarith | |
| 526 | - | |
| 527 | 400 | section SmoothFamily |
| 528 | 401 | |
| 529 | 402 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -725,78 +598,6 @@ theorem family_joint_contDiffOn [FiniteDimensional ℝ E] | ||
| 725 | 598 | ParametricRephase.rephaseFamily_contDiffOn (familyDensity a m p d δ hd hδ) |
| 726 | 599 | (unphasedC a m p d δ) _ hU hrate hf.2⟩ |
| 727 | 600 | |
| 728 | -/-- Full compact-family true-cone realization. The set `B` can be the two | |
| 729 | -interval boundary faces (including any compact auxiliary parameter set). | |
| 730 | -The output agrees exactly with the nominal shear on an open neighborhood | |
| 731 | -of `B`, and is jointly C∞ in slow parameters and periodic angle. -/ | |
| 732 | -theorem exists_compact_trueCone_family [FiniteDimensional ℝ E] | |
| 733 | - (a m p₁ p₂ : E → ℝ) {K B : Set E} | |
| 734 | - (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) | |
| 735 | - (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) | |
| 736 | - (hp₁ : ContDiff ℝ ∞ p₁) (hp₂ : ContDiff ℝ ∞ p₂) | |
| 737 | - (haK : ∀ x ∈ K, 0 < a x) | |
| 738 | - (hPK : ∀ x ∈ K, 2 < p₁ x + p₂ x * m x) | |
| 739 | - (hrelaxed : ∀ x ∈ K, nominalSpeed (a x) (m x) < | |
| 740 | - coneBound (p₁ x + p₂ x * m x) (p₂ x - p₁ x * m x)) | |
| 741 | - (htrueB : ∀ x ∈ B, 2 < nominalSpeed (a x) (m x)) : | |
| 742 | - ∃ U N : Set E, ∃ A C : E × ℝ → ℝ, | |
| 743 | - IsOpen U ∧ K ⊆ U ∧ IsOpen N ∧ B ⊆ N ∧ N ⊆ U ∧ | |
| 744 | - ContDiffOn ℝ ∞ A (U ×ˢ (univ : Set ℝ)) ∧ | |
| 745 | - ContDiffOn ℝ ∞ C (U ×ˢ (univ : Set ℝ)) ∧ | |
| 746 | - (∀ x ∈ K, Function.Periodic (fun φ => A (x, φ)) 1 ∧ | |
| 747 | - Function.Periodic (fun φ => C (x, φ)) 1 ∧ | |
| 748 | - (∫ φ in (0 : ℝ)..1, A (x, φ)) = a x ∧ | |
| 749 | - (∫ φ in (0 : ℝ)..1, C (x, φ)) = a x * m x ∧ | |
| 750 | - ∀ φ, InTrueCone (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ))) ∧ | |
| 751 | - (∀ x ∈ N, ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x) := by | |
| 752 | - obtain ⟨c⟩ := exists_family_choices a m p₁ p₂ hK hB ha.continuous hm.continuous | |
| 753 | - hp₁.continuous hp₂.continuous haK hPK htrueB | |
| 754 | - let U : Set E := {x | 0 < a x} | |
| 755 | - let A := familyA a m p₂ c.d c.delta (ne_of_gt c.d_pos) c.delta_pos | |
| 756 | - let C := familyC a m p₂ c.d c.delta (ne_of_gt c.d_pos) c.delta_pos | |
| 757 | - obtain ⟨N, hN, hBN, hNU, hmatch⟩ := | |
| 758 | - family_nominal_neighborhood a m p₁ p₂ c ha.continuous hm.continuous hBK | |
| 759 | - have hs := family_joint_contDiffOn a m p₂ c.d c.delta ha hm hp₂ (ne_of_gt c.d_pos) c.delta_pos | |
| 760 | - exact ⟨U, N, A, C, isOpen_lt continuous_const ha.continuous, haK, | |
| 761 | - hN, hBN, hNU, hs.1, hs.2, family_pointwise_properties a m p₁ p₂ c hrelaxed, hmatch⟩ | |
| 762 | - | |
| 763 | -/-- The complete family theorem with one strictly positive margin valid | |
| 764 | -for every slow parameter in `K` and every fast angle. -/ | |
| 765 | -theorem exists_compact_trueCone_family_with_margin [FiniteDimensional ℝ E] | |
| 766 | - (a m p₁ p₂ : E → ℝ) {K B : Set E} | |
| 767 | - (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) | |
| 768 | - (ha : ContDiff ℝ ∞ a) (hm : ContDiff ℝ ∞ m) | |
| 769 | - (hp₁ : ContDiff ℝ ∞ p₁) (hp₂ : ContDiff ℝ ∞ p₂) | |
| 770 | - (haK : ∀ x ∈ K, 0 < a x) | |
| 771 | - (hPK : ∀ x ∈ K, 2 < p₁ x + p₂ x * m x) | |
| 772 | - (hrelaxed : ∀ x ∈ K, nominalSpeed (a x) (m x) < | |
| 773 | - coneBound (p₁ x + p₂ x * m x) (p₂ x - p₁ x * m x)) | |
| 774 | - (htrueB : ∀ x ∈ B, 2 < nominalSpeed (a x) (m x)) : | |
| 775 | - ∃ ε : ℝ, ∃ U N : Set E, ∃ A C : E × ℝ → ℝ, | |
| 776 | - 0 < ε ∧ IsOpen U ∧ K ⊆ U ∧ IsOpen N ∧ B ⊆ N ∧ N ⊆ U ∧ | |
| 777 | - ContDiffOn ℝ ∞ A (U ×ˢ (univ : Set ℝ)) ∧ | |
| 778 | - ContDiffOn ℝ ∞ C (U ×ˢ (univ : Set ℝ)) ∧ | |
| 779 | - (∀ x ∈ K, Function.Periodic (fun φ => A (x, φ)) 1 ∧ | |
| 780 | - Function.Periodic (fun φ => C (x, φ)) 1 ∧ | |
| 781 | - (∫ φ in (0 : ℝ)..1, A (x, φ)) = a x ∧ | |
| 782 | - (∫ φ in (0 : ℝ)..1, C (x, φ)) = a x * m x ∧ | |
| 783 | - ∀ φ, InTrueCone (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ)) ∧ | |
| 784 | - HasConeMargin ε (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ))) ∧ | |
| 785 | - (∀ x ∈ N, ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x) := by | |
| 786 | - obtain ⟨U, N, A, C, hU, hKU, hN, hBN, hNU, hA, hC, hloops, hmatch⟩ := | |
| 787 | - exists_compact_trueCone_family a m p₁ p₂ hK hB hBK ha hm hp₁ hp₂ haK hPK hrelaxed htrueB | |
| 788 | - have hsub : K ×ˢ (univ : Set ℝ) ⊆ U ×ˢ (univ : Set ℝ) := | |
| 789 | - fun _ hz => ⟨hKU hz.1, hz.2⟩ | |
| 790 | - obtain ⟨ε, hε, hmargin⟩ := compact_periodic_trueCone_margins p₁ p₂ A C hK | |
| 791 | - hp₁.continuous.continuousOn hp₂.continuous.continuousOn | |
| 792 | - (hA.continuousOn.mono hsub) (hC.continuousOn.mono hsub) | |
| 793 | - (fun x hx => (hloops x hx).1) (fun x hx => (hloops x hx).2.1) | |
| 794 | - (fun x hx => (hloops x hx).2.2.2.2) | |
| 795 | - refine ⟨ε, U, N, A, C, hε, hU, hKU, hN, hBN, hNU, hA, hC, ?_, hmatch⟩ | |
| 796 | - intro x hx | |
| 797 | - obtain ⟨hpA, hpC, hmA, hmC, hc⟩ := hloops x hx | |
| 798 | - exact ⟨hpA, hpC, hmA, hmC, fun φ => ⟨hc φ, hmargin x hx φ⟩⟩ | |
| 799 | - | |
| 800 | 601 | end SmoothFamily |
| 801 | 602 | |
| 802 | 603 | end |
+0 −50 NavierStokes/TrueConeLoopPaper.lean View file
| @@ -16,54 +16,4 @@ open TrueConeLoop SmoothLoop LoopMoments LoopVariance ConeAlgebra | ||
| 16 | 16 | |
| 17 | 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | 18 | |
| 19 | -/-- All input regularity is local to the compact parameter rectangle. The | |
| 20 | -output agrees with the original data near the boundary within that rectangle. -/ | |
| 21 | -theorem exists_local_family_with_margin (a m p₁ p₂ : E → ℝ) {K B O : Set E} | |
| 22 | - (hK : IsCompact K) (hB : IsCompact B) (hBK : B ⊆ K) (hO : IsOpen O) (hKO : K ⊆ O) | |
| 23 | - (ha : ContDiffOn ℝ ∞ a O) (hm : ContDiffOn ℝ ∞ m O) | |
| 24 | - (hp₁ : ContDiffOn ℝ ∞ p₁ O) (hp₂ : ContDiffOn ℝ ∞ p₂ O) | |
| 25 | - (haK : ∀ x ∈ K, 0 < a x) | |
| 26 | - (hPK : ∀ x ∈ K, 2 < p₁ x + p₂ x * m x) | |
| 27 | - (hrelaxed : ∀ x ∈ K, nominalSpeed (a x) (m x) < | |
| 28 | - coneBound (p₁ x + p₂ x * m x) (p₂ x - p₁ x * m x)) | |
| 29 | - (htrueB : ∀ x ∈ B, 2 < nominalSpeed (a x) (m x)) : | |
| 30 | - ∃ ε : ℝ, ∃ U N : Set E, ∃ A C : E × ℝ → ℝ, | |
| 31 | - 0 < ε ∧ IsOpen U ∧ K ⊆ U ∧ IsOpen N ∧ B ⊆ N ∧ N ⊆ U ∧ | |
| 32 | - ContDiffOn ℝ ∞ A (U ×ˢ (univ : Set ℝ)) ∧ | |
| 33 | - ContDiffOn ℝ ∞ C (U ×ˢ (univ : Set ℝ)) ∧ | |
| 34 | - (∀ x ∈ K, Function.Periodic (fun φ => A (x, φ)) 1 ∧ | |
| 35 | - Function.Periodic (fun φ => C (x, φ)) 1 ∧ | |
| 36 | - (∫ φ in (0 : ℝ)..1, A (x, φ)) = a x ∧ | |
| 37 | - (∫ φ in (0 : ℝ)..1, C (x, φ)) = a x * m x ∧ | |
| 38 | - ∀ φ, InTrueCone (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ)) ∧ | |
| 39 | - HasConeMargin ε (p₁ x) (p₂ x) (A (x, φ)) (C (x, φ))) ∧ | |
| 40 | - (∀ x ∈ K ∩ N, ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x) := by | |
| 41 | - obtain ⟨a', ha', hea⟩ := FlatPrimitivePaper.smooth_extension_on_compact hK hO hKO ha | |
| 42 | - obtain ⟨m', hm', hem⟩ := FlatPrimitivePaper.smooth_extension_on_compact hK hO hKO hm | |
| 43 | - obtain ⟨p₁', hp₁', he₁⟩ := FlatPrimitivePaper.smooth_extension_on_compact hK hO hKO hp₁ | |
| 44 | - obtain ⟨p₂', hp₂', he₂⟩ := FlatPrimitivePaper.smooth_extension_on_compact hK hO hKO hp₂ | |
| 45 | - obtain ⟨ε, U, N, A, C, hε, hU, hKU, hN, hBN, hNU, hA, hC, hl, hb⟩ := | |
| 46 | - exists_compact_trueCone_family_with_margin a' m' p₁' p₂' hK hB hBK ha' hm' hp₁' hp₂' | |
| 47 | - (fun x hx => by simpa only [hea hx] using haK x hx) | |
| 48 | - (fun x hx => by simpa only [he₁ hx, he₂ hx, hem hx] using hPK x hx) | |
| 49 | - (fun x hx => by simpa only [hea hx, hem hx, he₁ hx, he₂ hx] using hrelaxed x hx) | |
| 50 | - (fun x hx => by simpa only [hea (hBK hx), hem (hBK hx)] using htrueB x hx) | |
| 51 | - refine ⟨ε, U, N, A, C, hε, hU, hKU, hN, hBN, hNU, hA, hC, ?_, ?_⟩ | |
| 52 | - · intro x hx | |
| 53 | - simpa only [hea hx, hem hx, he₁ hx, he₂ hx] using hl x hx | |
| 54 | - · intro x hx φ | |
| 55 | - simpa only [hea hx.1, hem hx.1] using hb x hx.2 φ | |
| 56 | - | |
| 57 | -omit [NormedSpace ℝ E] [FiniteDimensional ℝ E] in | |
| 58 | -/-- The compact boundary neighborhood gives a single positive collar | |
| 59 | -width for all parameter values and all loop angles. -/ | |
| 60 | -theorem uniform_boundary_collar {K B N : Set E} (hB : IsCompact B) | |
| 61 | - (hN : IsOpen N) (hBN : B ⊆ N) {a m : E → ℝ} {A C : E × ℝ → ℝ} | |
| 62 | - (hmatch : ∀ x ∈ K ∩ N, ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x) : | |
| 63 | - ∃ δ : ℝ, 0 < δ ∧ ∀ x ∈ K, ∀ y ∈ B, dist x y < δ → | |
| 64 | - ∀ φ, A (x, φ) = a x ∧ C (x, φ) = a x * m x := by | |
| 65 | - obtain ⟨δ, hδ, hb⟩ := hB.exists_thickening_subset_open hN hBN | |
| 66 | - exact ⟨δ, hδ, fun x hx y hy hxy => | |
| 67 | - hmatch x ⟨hx, hb (Metric.mem_thickening_iff.mpr ⟨y, hy, hxy⟩)⟩⟩ | |
| 68 | - | |
| 69 | 19 | end NavierStokes.TrueConeLoopPaper |
+20 −0 routes/s1-ns-true-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-true-1 | |
| 6 | + | |
| 7 | +Deletes the 12 declarations of the family `NavierStokes/True*` that nothing uses, 249 lines in 2 files | |
| 8 | +(`NavierStokes/TrueConeLoop.lean`, `NavierStokes/TrueConeLoopPaper.lean`). The diff is deletions only: no | |
| 9 | +statement and no proof that stays is changed. `git grep -n -w` finds no remaining user of any of the 12 short | |
| 10 | +names, apart from other declarations of the same short name (`root_bound`, `amplitude_bound`) in other namespaces | |
| 11 | +(`Euler/PacketUniversalFrequency.lean`, `Euler/TransversePacketAmplitude.lean`, `NavierStokes/PhysicalClassBounds.lean`, | |
| 12 | +`NavierStokes/PhysicalCopyBounds.lean`), which the rule allows; no deleted docstring cites a numbered result of the | |
| 13 | +paper. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. | |
| 18 | +After it, `NavierStokes/TrueConeLoopPaper.lean` keeps only its imports and an empty namespace (its two theorems | |
| 19 | +were the whole file); deleting the file and its import in `NavierStokes/PaperAdditionalResults.lean` belongs to the | |
| 20 | +file-deletion part of S-1, not here. The rest of the family and the other units of #10 are separate. | |