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

Merge pull request #721 from s5-ns-particular-1
Browse filesrefactor(NavierStokes/Particular): 2 small modules folded into the file that imports them (−40.2%, measured)
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+198 −2 NavierStokes/ParticularOneSided.lean View file
| @@ -1,5 +1,6 @@ | ||
| 1 | -import NavierStokes.ParticularWithinPressure | |
| 2 | -import NavierStokes.ParticularWithinBounds | |
| 1 | +import NavierStokes.CommonCoverWithin | |
| 2 | +import NavierStokes.ParticularWaveBounds | |
| 3 | +import NavierStokes.WithinJointODE | |
| 3 | 4 | import NavierStokes.GenericEndpointExtension |
| 4 | 5 | |
| 5 | 6 | /-! # The slow-time-zero clause of the common-torus particular inverse |
| @@ -10,6 +11,201 @@ on compact parameter sets. No analytic regularity or open extension of an | ||
| 10 | 11 | arbitrary source is required. |
| 11 | 12 | -/ |
| 12 | 13 | |
| 14 | +/-! ## From `NavierStokes/ParticularWithinPressure.lean` | |
| 15 | + | |
| 16 | +The text of `NavierStokes/ParticularWithinPressure.lean`, folded into this file, which was its only importer. -/ | |
| 17 | + | |
| 18 | +section | |
| 19 | + | |
| 20 | +/-! # One-sided jets of the actual particular velocity and pressure -/ | |
| 21 | + | |
| 22 | +noncomputable section | |
| 23 | + | |
| 24 | +namespace NavierStokes.ParticularWaveBounds | |
| 25 | + | |
| 26 | +open Set Filter Function | |
| 27 | +open scoped ContDiff Topology InnerProductSpace | |
| 28 | +open CommonCoverSolve TorusInverse | |
| 29 | + | |
| 30 | +section Real | |
| 31 | + | |
| 32 | +variable {P H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 33 | + [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] | |
| 34 | + | |
| 35 | +omit [CompleteSpace H] in | |
| 36 | +theorem tangent_coefficients_contDiffOn {S : Set (P × Plane)} (t : TangentData P H) | |
| 37 | + (hN : ContDiffOn ℝ ∞ t.normal S) (hNd : ContDiffOn ℝ ∞ t.normalDot S) | |
| 38 | + (hK : ContDiffOn ℝ ∞ t.action S) (hδ : ContDiffOn ℝ ∞ t.damping S) | |
| 39 | + (hn : ∀ x ∈ S, t.normal x ≠ 0) : | |
| 40 | + ContDiffOn ℝ ∞ t.linearData.coefficient S ∧ | |
| 41 | + ContDiffOn ℝ ∞ t.linearData.forcingMap S := by | |
| 42 | + have hden := (hN.inner ℝ hN).inv (fun x hx => inner_self_ne_zero.mpr (hn x hx)) | |
| 43 | + have hi := (innerSL ℝ).contDiff.comp_contDiffOn hN | |
| 44 | + have hid := (innerSL ℝ).contDiff.comp_contDiffOn hNd | |
| 45 | + constructor | |
| 46 | + · exact (hK.neg.add (((hi.clm_comp hK).sub hid).smulRight (hden.smul hN))).sub | |
| 47 | + (hδ.smul contDiffOn_const) | |
| 48 | + · exact (contDiffOn_const.sub (hi.smulRight (hden.smul hN))).neg | |
| 49 | + | |
| 50 | +theorem copyPressure_contDiffOn_within (t : TangentData P H) (g : Geometry) | |
| 51 | + {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 52 | + (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 53 | + (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 54 | + (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 55 | + (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 56 | + (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) | |
| 57 | + (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : | |
| 58 | + ContDiffOn ℝ ∞ (copyPressure t g hab k frequency) | |
| 59 | + {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by | |
| 60 | + let D := {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} | |
| 61 | + have hmap : MapsTo (nativePoint (P := P) g k) D (U ×ˢ univ) := | |
| 62 | + fun _ hx => ⟨hx.1, mem_univ _⟩ | |
| 63 | + have hnativ : ContDiff ℝ ∞ (nativePoint (P := P) g k) := | |
| 64 | + contDiff_fst.prodMk ((g.coordinates_contDiff k).comp contDiff_snd) | |
| 65 | + have hNc := hN.comp hnativ.contDiffOn hmap | |
| 66 | + have hNdc := hNd.comp hnativ.contDiffOn hmap | |
| 67 | + have hKc := hK.comp hnativ.contDiffOn hmap | |
| 68 | + have hfc := hf.mono (show D ⊆ U ×ˢ univ from fun _ hx => ⟨hx.1, mem_univ _⟩) | |
| 69 | + obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn | |
| 70 | + have hv := t.linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hf k | |
| 71 | + have hreal : ContDiffOn ℝ ∞ (copyPressureReal t g hab k) D := | |
| 72 | + (((hNc.inner ℝ (hKc.clm_apply hv)).sub (hNdc.inner ℝ hv)).add (hNc.inner ℝ hfc)).div | |
| 73 | + (hNc.inner ℝ hNc) (fun x hx => inner_self_ne_zero.mpr (hn _ (hmap hx))) | |
| 74 | + have hcomplex := Complex.ofRealCLM.contDiff.comp_contDiffOn hreal | |
| 75 | + exact (contDiffOn_const.mul hcomplex).div_const _ | |
| 76 | + | |
| 77 | +end Real | |
| 78 | + | |
| 79 | +section Complex | |
| 80 | + | |
| 81 | +variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 82 | + | |
| 83 | +theorem complexCopy_contDiffOn_within (t : TangentData P ProblemStatement.Space) | |
| 84 | + (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 85 | + {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 86 | + (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 87 | + (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 88 | + (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 89 | + (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 90 | + (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 91 | + (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : | |
| 92 | + ContDiffOn ℝ ∞ (complexCopyVelocity t f g hab k) | |
| 93 | + {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} ∧ | |
| 94 | + ContDiffOn ℝ ∞ (complexCopyPressure t f g hab k frequency) | |
| 95 | + {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by | |
| 96 | + have hr : ContDiffOn ℝ ∞ (realData t f).source (U ×ˢ univ) := | |
| 97 | + realPart.contDiff.comp_contDiffOn hf | |
| 98 | + have hi : ContDiffOn ℝ ∞ (imagData t f).source (U ×ˢ univ) := | |
| 99 | + imagPart.contDiff.comp_contDiffOn hf | |
| 100 | + obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn | |
| 101 | + have hrv := (realData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hr k | |
| 102 | + have hiv := (imagData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hi k | |
| 103 | + have hrp := copyPressure_contDiffOn_within (realData t f) g hab hU hu hN hNd hK hδ hr hn k frequency | |
| 104 | + have hip := copyPressure_contDiffOn_within (imagData t f) g hab hU hu hN hNd hK hδ hi hn k frequency | |
| 105 | + constructor | |
| 106 | + · have hv := (CurlClassBounds.complexify.contDiff.comp_contDiffOn hrv).add | |
| 107 | + ((contDiffOn_const (c := Complex.I)).smul | |
| 108 | + (CurlClassBounds.complexify.contDiff.comp_contDiffOn hiv)) | |
| 109 | + exact hv | |
| 110 | + · exact hrp.add (contDiffOn_const.mul hip) | |
| 111 | + | |
| 112 | +variable {H : Type} [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace H] | |
| 113 | + | |
| 114 | +omit [CompleteSpace H] in | |
| 115 | +theorem periodizedCopies_contDiffOn_within (g : Geometry) | |
| 116 | + {a b : ℝ} {U : Set P} {κ : Plane → ℝ} | |
| 117 | + (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 118 | + (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) | |
| 119 | + (F : Frequency → P × Plane → H) | |
| 120 | + (hF : ∀ k, ContDiffOn ℝ ∞ (F k) | |
| 121 | + {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b}) : | |
| 122 | + ContDiffOn ℝ ∞ (periodizedCopies g κ F) (U ×ˢ univ) := by | |
| 123 | + have hterm (k : Frequency) : ContDiffOn ℝ ∞ | |
| 124 | + (fun p : P × Plane => κ (g.coordinates k p.2) • F k p) (U ×ˢ univ) := by | |
| 125 | + intro p hp | |
| 126 | + have hc : ContDiff ℝ ∞ (fun q : P × Plane => g.coordinates k q.2) := | |
| 127 | + (g.coordinates_contDiff k).comp contDiff_snd | |
| 128 | + by_cases hz : g.coordinates k p.2 ∈ tsupport κ | |
| 129 | + · have hη := (hsupp hz).2 | |
| 130 | + have hnear : {q : P × Plane | q.1 ∈ U ∧ (g.coordinates k q.2).2 ∈ Icc a b} | |
| 131 | + ∈ 𝓝[U ×ˢ univ] p := by | |
| 132 | + filter_upwards [self_mem_nhdsWithin, | |
| 133 | + mem_nhdsWithin_of_mem_nhds (hc.snd.continuous.tendsto p |>.eventually | |
| 134 | + (isOpen_Ioo.mem_nhds hη))] with q hq hηq | |
| 135 | + exact ⟨hq.1, Ioo_subset_Icc_self hηq⟩ | |
| 136 | + exact (hκ.comp hc).contDiffAt.contDiffWithinAt.smul | |
| 137 | + ((hF k p ⟨hp.1, Ioo_subset_Icc_self hη⟩).mono_of_mem_nhdsWithin hnear) | |
| 138 | + · have hzero : (fun q : P × Plane => κ (g.coordinates k q.2) • F k q) | |
| 139 | + =ᶠ[𝓝 p] fun _ => (0 : H) := by | |
| 140 | + filter_upwards [(notMem_tsupport_iff_eventuallyEq.mp hz).comp_tendsto | |
| 141 | + hc.continuous.continuousAt] with q hq | |
| 142 | + change κ (g.coordinates k q.2) = 0 at hq | |
| 143 | + rw [hq, zero_smul] | |
| 144 | + exact contDiffWithinAt_const.congr_of_eventuallyEq | |
| 145 | + (hzero.filter_mono nhdsWithin_le_nhds) hzero.self_of_nhds | |
| 146 | + intro p hp | |
| 147 | + obtain ⟨I, hI⟩ := g.finite_copy_cutoffs hcκ (‖p.2‖ + 1) | |
| 148 | + have he : periodizedCopies g κ F =ᶠ[𝓝 p] | |
| 149 | + fun q => ∑ k ∈ I, κ (g.coordinates k q.2) • F k q := by | |
| 150 | + filter_upwards [(isOpen_lt continuous_snd.norm continuous_const).mem_nhds | |
| 151 | + (show ‖p.2‖ < ‖p.2‖ + 1 by linarith)] with q hq | |
| 152 | + apply tsum_eq_sum | |
| 153 | + intro k hk | |
| 154 | + rw [hI q.2 hq.le k hk, zero_smul] | |
| 155 | + exact (ContDiffWithinAt.sum (fun k _ => hterm k p hp)).congr_of_eventuallyEq | |
| 156 | + (he.filter_mono nhdsWithin_le_nhds) he.self_of_nhds | |
| 157 | + | |
| 158 | +/-- The actual common-torus velocity and pressure inherit all mixed | |
| 159 | +one-sided slow derivatives from the primitive geometry and source. -/ | |
| 160 | +theorem commonCoefficients_contDiffOn_within (t : TangentData P ProblemStatement.Space) | |
| 161 | + (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 162 | + {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 163 | + (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 164 | + (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 165 | + (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 166 | + (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 167 | + (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 168 | + (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) | |
| 169 | + {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 170 | + (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) : | |
| 171 | + ContDiffOn ℝ ∞ (commonVelocity t f g hab κ) (U ×ˢ univ) ∧ | |
| 172 | + ContDiffOn ℝ ∞ (commonPressure t f g hab κ frequency) (U ×ˢ univ) := | |
| 173 | + ⟨periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => | |
| 174 | + (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).1), | |
| 175 | + periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => | |
| 176 | + (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).2)⟩ | |
| 177 | + | |
| 178 | +end Complex | |
| 179 | + | |
| 180 | +end NavierStokes.ParticularWaveBounds | |
| 181 | +end | |
| 182 | + | |
| 183 | +end | |
| 184 | + | |
| 185 | +/-! ## From `NavierStokes/ParticularWithinBounds.lean` | |
| 186 | + | |
| 187 | +The text of `NavierStokes/ParticularWithinBounds.lean`, folded into this file, which was its only importer. -/ | |
| 188 | + | |
| 189 | +section | |
| 190 | + | |
| 191 | +/-! # The particular inverse estimate at closed slow and pulse endpoints -/ | |
| 192 | + | |
| 193 | +noncomputable section | |
| 194 | + | |
| 195 | +namespace NavierStokes.ParticularWaveBounds | |
| 196 | + | |
| 197 | +open Set Function Filter | |
| 198 | +open scoped ContDiff Topology InnerProductSpace | |
| 199 | +open PrimaryPulseBounds | |
| 200 | + | |
| 201 | +variable {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 202 | + [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] | |
| 203 | + | |
| 204 | +end NavierStokes.ParticularWaveBounds | |
| 205 | +end | |
| 206 | + | |
| 207 | +end | |
| 208 | + | |
| 13 | 209 | noncomputable section |
| 14 | 210 | |
| 15 | 211 | namespace NavierStokes.ParticularOneSided |
+0 −17 NavierStokes/ParticularWithinBounds.lean deleted
| @@ -1,17 +0,0 @@ | ||
| 1 | -import NavierStokes.WithinJointODE | |
| 2 | -import NavierStokes.ParticularWaveBounds | |
| 3 | - | |
| 4 | -/-! # The particular inverse estimate at closed slow and pulse endpoints -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace NavierStokes.ParticularWaveBounds | |
| 9 | - | |
| 10 | -open Set Function Filter | |
| 11 | -open scoped ContDiff Topology InnerProductSpace | |
| 12 | -open PrimaryPulseBounds | |
| 13 | - | |
| 14 | -variable {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 15 | - [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] | |
| 16 | - | |
| 17 | -end NavierStokes.ParticularWaveBounds | |
+0 −164 NavierStokes/ParticularWithinPressure.lean deleted
| @@ -1,164 +0,0 @@ | ||
| 1 | -import NavierStokes.CommonCoverWithin | |
| 2 | -import NavierStokes.ParticularWaveBounds | |
| 3 | - | |
| 4 | -/-! # One-sided jets of the actual particular velocity and pressure -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace NavierStokes.ParticularWaveBounds | |
| 9 | - | |
| 10 | -open Set Filter Function | |
| 11 | -open scoped ContDiff Topology InnerProductSpace | |
| 12 | -open CommonCoverSolve TorusInverse | |
| 13 | - | |
| 14 | -section Real | |
| 15 | - | |
| 16 | -variable {P H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 17 | - [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] | |
| 18 | - | |
| 19 | -omit [CompleteSpace H] in | |
| 20 | -theorem tangent_coefficients_contDiffOn {S : Set (P × Plane)} (t : TangentData P H) | |
| 21 | - (hN : ContDiffOn ℝ ∞ t.normal S) (hNd : ContDiffOn ℝ ∞ t.normalDot S) | |
| 22 | - (hK : ContDiffOn ℝ ∞ t.action S) (hδ : ContDiffOn ℝ ∞ t.damping S) | |
| 23 | - (hn : ∀ x ∈ S, t.normal x ≠ 0) : | |
| 24 | - ContDiffOn ℝ ∞ t.linearData.coefficient S ∧ | |
| 25 | - ContDiffOn ℝ ∞ t.linearData.forcingMap S := by | |
| 26 | - have hden := (hN.inner ℝ hN).inv (fun x hx => inner_self_ne_zero.mpr (hn x hx)) | |
| 27 | - have hi := (innerSL ℝ).contDiff.comp_contDiffOn hN | |
| 28 | - have hid := (innerSL ℝ).contDiff.comp_contDiffOn hNd | |
| 29 | - constructor | |
| 30 | - · exact (hK.neg.add (((hi.clm_comp hK).sub hid).smulRight (hden.smul hN))).sub | |
| 31 | - (hδ.smul contDiffOn_const) | |
| 32 | - · exact (contDiffOn_const.sub (hi.smulRight (hden.smul hN))).neg | |
| 33 | - | |
| 34 | -theorem copyPressure_contDiffOn_within (t : TangentData P H) (g : Geometry) | |
| 35 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 36 | - (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 37 | - (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 38 | - (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 39 | - (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 40 | - (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) | |
| 41 | - (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : | |
| 42 | - ContDiffOn ℝ ∞ (copyPressure t g hab k frequency) | |
| 43 | - {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by | |
| 44 | - let D := {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} | |
| 45 | - have hmap : MapsTo (nativePoint (P := P) g k) D (U ×ˢ univ) := | |
| 46 | - fun _ hx => ⟨hx.1, mem_univ _⟩ | |
| 47 | - have hnativ : ContDiff ℝ ∞ (nativePoint (P := P) g k) := | |
| 48 | - contDiff_fst.prodMk ((g.coordinates_contDiff k).comp contDiff_snd) | |
| 49 | - have hNc := hN.comp hnativ.contDiffOn hmap | |
| 50 | - have hNdc := hNd.comp hnativ.contDiffOn hmap | |
| 51 | - have hKc := hK.comp hnativ.contDiffOn hmap | |
| 52 | - have hfc := hf.mono (show D ⊆ U ×ˢ univ from fun _ hx => ⟨hx.1, mem_univ _⟩) | |
| 53 | - obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn | |
| 54 | - have hv := t.linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hf k | |
| 55 | - have hreal : ContDiffOn ℝ ∞ (copyPressureReal t g hab k) D := | |
| 56 | - (((hNc.inner ℝ (hKc.clm_apply hv)).sub (hNdc.inner ℝ hv)).add (hNc.inner ℝ hfc)).div | |
| 57 | - (hNc.inner ℝ hNc) (fun x hx => inner_self_ne_zero.mpr (hn _ (hmap hx))) | |
| 58 | - have hcomplex := Complex.ofRealCLM.contDiff.comp_contDiffOn hreal | |
| 59 | - exact (contDiffOn_const.mul hcomplex).div_const _ | |
| 60 | - | |
| 61 | -end Real | |
| 62 | - | |
| 63 | -section Complex | |
| 64 | - | |
| 65 | -variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 66 | - | |
| 67 | -theorem complexCopy_contDiffOn_within (t : TangentData P ProblemStatement.Space) | |
| 68 | - (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 69 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 70 | - (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 71 | - (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 72 | - (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 73 | - (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 74 | - (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 75 | - (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : | |
| 76 | - ContDiffOn ℝ ∞ (complexCopyVelocity t f g hab k) | |
| 77 | - {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} ∧ | |
| 78 | - ContDiffOn ℝ ∞ (complexCopyPressure t f g hab k frequency) | |
| 79 | - {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by | |
| 80 | - have hr : ContDiffOn ℝ ∞ (realData t f).source (U ×ˢ univ) := | |
| 81 | - realPart.contDiff.comp_contDiffOn hf | |
| 82 | - have hi : ContDiffOn ℝ ∞ (imagData t f).source (U ×ˢ univ) := | |
| 83 | - imagPart.contDiff.comp_contDiffOn hf | |
| 84 | - obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn | |
| 85 | - have hrv := (realData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hr k | |
| 86 | - have hiv := (imagData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hi k | |
| 87 | - have hrp := copyPressure_contDiffOn_within (realData t f) g hab hU hu hN hNd hK hδ hr hn k frequency | |
| 88 | - have hip := copyPressure_contDiffOn_within (imagData t f) g hab hU hu hN hNd hK hδ hi hn k frequency | |
| 89 | - constructor | |
| 90 | - · have hv := (CurlClassBounds.complexify.contDiff.comp_contDiffOn hrv).add | |
| 91 | - ((contDiffOn_const (c := Complex.I)).smul | |
| 92 | - (CurlClassBounds.complexify.contDiff.comp_contDiffOn hiv)) | |
| 93 | - exact hv | |
| 94 | - · exact hrp.add (contDiffOn_const.mul hip) | |
| 95 | - | |
| 96 | -variable {H : Type} [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace H] | |
| 97 | - | |
| 98 | -omit [CompleteSpace H] in | |
| 99 | -theorem periodizedCopies_contDiffOn_within (g : Geometry) | |
| 100 | - {a b : ℝ} {U : Set P} {κ : Plane → ℝ} | |
| 101 | - (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 102 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) | |
| 103 | - (F : Frequency → P × Plane → H) | |
| 104 | - (hF : ∀ k, ContDiffOn ℝ ∞ (F k) | |
| 105 | - {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b}) : | |
| 106 | - ContDiffOn ℝ ∞ (periodizedCopies g κ F) (U ×ˢ univ) := by | |
| 107 | - have hterm (k : Frequency) : ContDiffOn ℝ ∞ | |
| 108 | - (fun p : P × Plane => κ (g.coordinates k p.2) • F k p) (U ×ˢ univ) := by | |
| 109 | - intro p hp | |
| 110 | - have hc : ContDiff ℝ ∞ (fun q : P × Plane => g.coordinates k q.2) := | |
| 111 | - (g.coordinates_contDiff k).comp contDiff_snd | |
| 112 | - by_cases hz : g.coordinates k p.2 ∈ tsupport κ | |
| 113 | - · have hη := (hsupp hz).2 | |
| 114 | - have hnear : {q : P × Plane | q.1 ∈ U ∧ (g.coordinates k q.2).2 ∈ Icc a b} | |
| 115 | - ∈ 𝓝[U ×ˢ univ] p := by | |
| 116 | - filter_upwards [self_mem_nhdsWithin, | |
| 117 | - mem_nhdsWithin_of_mem_nhds (hc.snd.continuous.tendsto p |>.eventually | |
| 118 | - (isOpen_Ioo.mem_nhds hη))] with q hq hηq | |
| 119 | - exact ⟨hq.1, Ioo_subset_Icc_self hηq⟩ | |
| 120 | - exact (hκ.comp hc).contDiffAt.contDiffWithinAt.smul | |
| 121 | - ((hF k p ⟨hp.1, Ioo_subset_Icc_self hη⟩).mono_of_mem_nhdsWithin hnear) | |
| 122 | - · have hzero : (fun q : P × Plane => κ (g.coordinates k q.2) • F k q) | |
| 123 | - =ᶠ[𝓝 p] fun _ => (0 : H) := by | |
| 124 | - filter_upwards [(notMem_tsupport_iff_eventuallyEq.mp hz).comp_tendsto | |
| 125 | - hc.continuous.continuousAt] with q hq | |
| 126 | - change κ (g.coordinates k q.2) = 0 at hq | |
| 127 | - rw [hq, zero_smul] | |
| 128 | - exact contDiffWithinAt_const.congr_of_eventuallyEq | |
| 129 | - (hzero.filter_mono nhdsWithin_le_nhds) hzero.self_of_nhds | |
| 130 | - intro p hp | |
| 131 | - obtain ⟨I, hI⟩ := g.finite_copy_cutoffs hcκ (‖p.2‖ + 1) | |
| 132 | - have he : periodizedCopies g κ F =ᶠ[𝓝 p] | |
| 133 | - fun q => ∑ k ∈ I, κ (g.coordinates k q.2) • F k q := by | |
| 134 | - filter_upwards [(isOpen_lt continuous_snd.norm continuous_const).mem_nhds | |
| 135 | - (show ‖p.2‖ < ‖p.2‖ + 1 by linarith)] with q hq | |
| 136 | - apply tsum_eq_sum | |
| 137 | - intro k hk | |
| 138 | - rw [hI q.2 hq.le k hk, zero_smul] | |
| 139 | - exact (ContDiffWithinAt.sum (fun k _ => hterm k p hp)).congr_of_eventuallyEq | |
| 140 | - (he.filter_mono nhdsWithin_le_nhds) he.self_of_nhds | |
| 141 | - | |
| 142 | -/-- The actual common-torus velocity and pressure inherit all mixed | |
| 143 | -one-sided slow derivatives from the primitive geometry and source. -/ | |
| 144 | -theorem commonCoefficients_contDiffOn_within (t : TangentData P ProblemStatement.Space) | |
| 145 | - (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) | |
| 146 | - {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) | |
| 147 | - (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) | |
| 148 | - (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) | |
| 149 | - (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) | |
| 150 | - (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) | |
| 151 | - (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) | |
| 152 | - (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) | |
| 153 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 154 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) : | |
| 155 | - ContDiffOn ℝ ∞ (commonVelocity t f g hab κ) (U ×ˢ univ) ∧ | |
| 156 | - ContDiffOn ℝ ∞ (commonPressure t f g hab κ frequency) (U ×ˢ univ) := | |
| 157 | - ⟨periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => | |
| 158 | - (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).1), | |
| 159 | - periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => | |
| 160 | - (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).2)⟩ | |
| 161 | - | |
| 162 | -end Complex | |
| 163 | - | |
| 164 | -end NavierStokes.ParticularWaveBounds | |
+19 −0 routes/s5-ns-particular-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-ns-particular-1 | |
| 6 | + | |
| 7 | +The unit is one change of Lean Pool's kind "fewer modules": the two small modules of the family | |
| 8 | +`NavierStokes/Particular*` that `NavierStokes/ParticularOneSided.lean` alone imports are folded into it, text | |
| 9 | +unchanged, each under a `## From` heading in a `section` of its own before the file's own text. | |
| 10 | + | |
| 11 | +- `NavierStokes/ParticularWithinPressure.lean` (164 lines) and `NavierStokes/ParticularWithinBounds.lean` | |
| 12 | + (17 lines) are deleted; their text moves into `NavierStokes/ParticularOneSided.lean`. | |
| 13 | +- The plan is `plan.json` beside this file; `fold.py check` remakes the file from `origin/main`'s text and compares | |
| 14 | + byte for byte. The tool and the statements page are brought as they now are in every pull request of the series. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Pushed as branch `s5-ns-particular-1`; the pull request is open. Waiting on `challenge` and `build`; then the | |
| 19 | +maintainer's review. | |
+10 −0 routes/s5-ns-particular-1/plan.json added View file
| @@ -0,0 +1,10 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"NavierStokes/ParticularOneSided.lean": [ | |
| 5 | +"NavierStokes/ParticularWithinPressure.lean", | |
| 6 | +"NavierStokes/ParticularWithinBounds.lean", | |
| 7 | +"NavierStokes/ParticularOneSided.lean" | |
| 8 | +] | |
| 9 | +} | |
| 10 | +} | |