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

| 1 | import NavierStokes.AnnularEndpoint |
| 2 | import NavierStokes.VariableGaugeMean |
| 3 | import NavierStokes.PeriodicPhaseAssembly |
| 4 | |
| 5 | /-! |
| 6 | # Primitive correction formulas at a nonzero axial endpoint |
| 7 | |
| 8 | The positive stable branch of the similarity coordinate continues across |
| 9 | `T = 0` when `Z ≠ 0`. This file uses that branch in the actual moving-radius |
| 10 | mean operations. Agreement of primitive data is on whole slow fibers, |
| 11 | because radial and torus integrals are nonlocal on each such fiber. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.OffplaneCorrectionExtensions |
| 17 | |
| 18 | open Set Filter Function |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | abbrev Slow := PressureStream.Plane |
| 22 | abbrev Lift := PressureStream.Lift Slow |
| 23 | |
| 24 | noncomputable def stableQ (coord : ℝ) (s : Slow) : ℝ := |
| 25 | (PositiveRepresentatives.stableInverse coord s).1 |
| 26 | |
| 27 | noncomputable def stableLength (coord : ℝ) (s : Slow) : ℝ := Real.sqrt (stableQ coord s) |
| 28 | |
| 29 | theorem stableQ_pos {coord : ℝ} {s : Slow} |
| 30 | (hs : s ∈ PositiveRepresentatives.stableTarget coord) : 0 < stableQ coord s := |
| 31 | (PositiveRepresentatives.stableInverse_spec hs).1.1 |
| 32 | |
| 33 | theorem stableQ_contDiffAt {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) {s : Slow} |
| 34 | (hs : s ∈ PositiveRepresentatives.stableTarget coord) : ContDiffAt ℝ ∞ (stableQ coord) s := |
| 35 | (PositiveRepresentatives.stableInverse_smoothAt hc.le hc1.le hs).fst |
| 36 | |
| 37 | theorem stableLength_pos {coord : ℝ} {s : Slow} |
| 38 | (hs : s ∈ PositiveRepresentatives.stableTarget coord) : 0 < stableLength coord s := |
| 39 | Real.sqrt_pos.mpr (stableQ_pos hs) |
| 40 | |
| 41 | theorem stableLength_contDiffAt {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) {s : Slow} |
| 42 | (hs : s ∈ PositiveRepresentatives.stableTarget coord) : |
| 43 | ContDiffAt ℝ ∞ (stableLength coord) s := |
| 44 | (stableQ_contDiffAt hc hc1 hs).sqrt (stableQ_pos hs).ne' |
| 45 | |
| 46 | theorem stableLength_contDiffOn {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) : |
| 47 | ContDiffOn ℝ ∞ (stableLength coord) (PositiveRepresentatives.stableTarget coord) := |
| 48 | fun _ hs => (stableLength_contDiffAt hc hc1 hs).contDiffWithinAt |
| 49 | |
| 50 | theorem stableQ_eq_coordinateQ {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) |
| 51 | {s : Slow} (hs : 0 < s.1) : stableQ coord s = SimilarityCoordinates.coordinateQ coord s := by |
| 52 | exact congrArg Prod.fst (PositiveRepresentatives.stableInverse_eq_inverseMap hc hc1 hs) |
| 53 | |
| 54 | theorem stableLength_eq_qLength {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) |
| 55 | {s : Slow} (hs : 0 < s.1) : stableLength coord s = VariableGaugeMean.qLength coord s := by |
| 56 | exact congrArg Real.sqrt (stableQ_eq_coordinateQ hc hc1 hs) |
| 57 | |
| 58 | /-- A neighborhood on which the moving radial interval has fixed positive |
| 59 | inner and finite outer bounds. These bounds are constructed from the |
| 60 | actual stable branch below. -/ |
| 61 | structure Window (coord a b : ℝ) where |
| 62 | carrier : Set Slow |
| 63 | isOpen : IsOpen carrier |
| 64 | stable : carrier ⊆ PositiveRepresentatives.stableTarget coord |
| 65 | lower : ℝ |
| 66 | upper : ℝ |
| 67 | lower_pos : 0 < lower |
| 68 | lower_lt_upper : lower < upper |
| 69 | left : ∀ s ∈ carrier, lower ≤ stableLength coord s * a |
| 70 | right : ∀ s ∈ carrier, stableLength coord s * b ≤ upper |
| 71 | |
| 72 | namespace Window |
| 73 | |
| 74 | variable {coord a b : ℝ} (W : Window coord a b) |
| 75 | |
| 76 | theorem length_pos {s : Slow} (hs : s ∈ W.carrier) : 0 < stableLength coord s := |
| 77 | stableLength_pos (W.stable hs) |
| 78 | |
| 79 | theorem length_smooth (hc : 0 < coord) (hc1 : coord < 1) : |
| 80 | ContDiffOn ℝ ∞ (stableLength coord) W.carrier := |
| 81 | (stableLength_contDiffOn hc hc1).mono W.stable |
| 82 | |
| 83 | theorem fixed_support {f : Lift → ℝ} |
| 84 | (hf : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : |
| 85 | PhysicalMeanDomain.SupportedOn W.lower W.upper W.carrier f := by |
| 86 | intro p hp hn |
| 87 | exact ⟨(W.left _ hp).trans (hf p hp hn).1, (hf p hp hn).2.trans (W.right _ hp)⟩ |
| 88 | |
| 89 | end Window |
| 90 | |
| 91 | /-- Positive time is restricted only in the agreement assertion. The |
| 92 | continued formulas themselves are defined on the full stable neighborhood. -/ |
| 93 | noncomputable def positiveSlow : Set Slow := {s | 0 < s.1} |
| 94 | |
| 95 | def FiberAgreement {V : Type*} (U : Set Slow) (F f : Lift → V) : Prop := |
| 96 | EqOn F f (PhysicalMeanDomain.slowDomain (U ∩ positiveSlow)) |
| 97 | |
| 98 | theorem FiberAgreement.fiber {V : Type*} {U : Set Slow} {F f : Lift → V} |
| 99 | (h : FiberAgreement U F f) {s : Slow} (hs : s ∈ U) (ht : 0 < s.1) : |
| 100 | ∀ r Y, F (r, (s, Y)) = f (r, (s, Y)) := |
| 101 | fun _ _ => h ⟨hs, ht⟩ |
| 102 | |
| 103 | namespace Window |
| 104 | |
| 105 | variable {coord a b : ℝ} (W : Window coord a b) |
| 106 | (hc : 0 < coord) (hc1 : coord < 1) |
| 107 | |
| 108 | include hc hc1 |
| 109 | |
| 110 | theorem compactPrimitive_smooth (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) |
| 111 | (M : ℝ) (v : Slow) {f : Lift → ℝ} |
| 112 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain W.carrier)) |
| 113 | (hs : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : |
| 114 | ContDiffOn ℝ ∞ (VariableGaugeMean.compactPrimitive d a b M (stableLength coord) v f) |
| 115 | (PhysicalMeanDomain.slowDomain W.carrier) := |
| 116 | VariableGaugeMean.compactPrimitive_contDiffOn W.lower_pos W.lower_lt_upper ha hab hd v |
| 117 | W.isOpen (W.length_smooth hc hc1) (fun _ hs => W.length_pos hs) W.left W.right hf hs |
| 118 | |
| 119 | theorem pressureSource_smooth (hab : a < b) {f : Lift → ℝ} |
| 120 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain W.carrier)) |
| 121 | (hs : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : |
| 122 | ContDiffOn ℝ ∞ (VariableGaugeMean.pressureSource a b hab (stableLength coord) f) |
| 123 | (PhysicalMeanDomain.slowDomain W.carrier) := |
| 124 | hf.sub ((VariableGaugeMean.density_contDiffOn hab (W.length_smooth hc hc1) |
| 125 | (fun _ hs => W.length_pos hs)).mul |
| 126 | (PhysicalMeanDomain.liftedPressureMass_contDiffOn W.isOpen hf (W.fixed_support hs))) |
| 127 | |
| 128 | theorem meanPressure_smooth (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) |
| 129 | (M : ℝ) (v : Slow) {f : Lift → ℝ} |
| 130 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain W.carrier)) |
| 131 | (hs : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : |
| 132 | ContDiffOn ℝ ∞ (VariableGaugeMean.meanPressure d a b M hab (stableLength coord) v f) |
| 133 | (PhysicalMeanDomain.slowDomain W.carrier) := |
| 134 | W.compactPrimitive_smooth hc hc1 ha hab hd M v |
| 135 | (W.pressureSource_smooth hc hc1 hab hf hs) |
| 136 | (VariableGaugeMean.pressureSource_supported hab (fun _ hs => W.length_pos hs) hs) |
| 137 | |
| 138 | theorem streamPotential_smooth (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) |
| 139 | (M : ℝ) (v : Slow) {f : Lift → ℝ} |
| 140 | (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain W.carrier)) |
| 141 | (hs : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier f) : |
| 142 | ContDiffOn ℝ ∞ (VariableGaugeMean.streamPotential d a b M (stableLength coord) v f) |
| 143 | (PhysicalMeanDomain.slowDomain W.carrier) := by |
| 144 | have hws : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier |
| 145 | (PressureStream.weightedSource f) := fun p hp hn => hs p hp (right_ne_zero_of_mul hn) |
| 146 | have hwf : ContDiffOn ℝ ∞ (PressureStream.weightedSource f) |
| 147 | (PhysicalMeanDomain.slowDomain W.carrier) := contDiffOn_fst.mul hf |
| 148 | have hI := W.compactPrimitive_smooth hc hc1 ha hab hd M v hwf hws |
| 149 | have hIs := VariableGaugeMean.compactPrimitive_supportedGauge (M := M) ha hab hd |
| 150 | (stableLength coord) v W.isOpen (fun _ hs => W.length_pos hs) hwf hws |
| 151 | exact VariableGaugeMean.divideRadius_contDiffOn W.lower_pos W.isOpen hI (W.fixed_support hIs) |
| 152 | |
| 153 | end Window |
| 154 | |
| 155 | section ExactAgreement |
| 156 | |
| 157 | variable {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) |
| 158 | {U : Set Slow} {F f : Lift → ℝ} (he : FiberAgreement U F f) |
| 159 | |
| 160 | include hc hc1 he |
| 161 | |
| 162 | theorem compactPrimitive_agreement (d a b M : ℝ) (v : Slow) : |
| 163 | FiberAgreement U (VariableGaugeMean.compactPrimitive d a b M (stableLength coord) v F) |
| 164 | (VariableGaugeMean.compactPrimitive d a b M (VariableGaugeMean.qLength coord) v f) := by |
| 165 | intro p hp |
| 166 | dsimp only [VariableGaugeMean.compactPrimitive] |
| 167 | rw [stableLength_eq_qLength hc hc1 hp.2] |
| 168 | exact PhysicalMeanDomain.physicalCompact_fiberLocal d _ _ M v F f p.2.1 |
| 169 | (he.fiber hp.1 hp.2) p.1 p.2.2 |
| 170 | |
| 171 | theorem pressureSource_agreement (a b : ℝ) (hab : a < b) : |
| 172 | FiberAgreement U (VariableGaugeMean.pressureSource a b hab (stableLength coord) F) |
| 173 | (VariableGaugeMean.pressureSource a b hab (VariableGaugeMean.qLength coord) f) := by |
| 174 | intro p hp |
| 175 | have hm : PressureStream.pressureMass F p.2.1 = PressureStream.pressureMass f p.2.1 := |
| 176 | PhysicalMeanDomain.liftedPressureMass_fiberLocal F f p.2.1 (he.fiber hp.1 hp.2) p.1 p.2.2 |
| 177 | dsimp only [VariableGaugeMean.pressureSource, VariableGaugeMean.density, |
| 178 | VariableGaugeMean.radialRatio] |
| 179 | rw [he hp, hm, stableLength_eq_qLength hc hc1 hp.2] |
| 180 | |
| 181 | theorem meanPressure_agreement (d a b M : ℝ) (hab : a < b) (v : Slow) : |
| 182 | FiberAgreement U (VariableGaugeMean.meanPressure d a b M hab (stableLength coord) v F) |
| 183 | (VariableGaugeMean.meanPressure d a b M hab (VariableGaugeMean.qLength coord) v f) := |
| 184 | compactPrimitive_agreement hc hc1 (pressureSource_agreement hc hc1 he a b hab) d a b M v |
| 185 | |
| 186 | theorem streamPotential_agreement (d a b M : ℝ) (v : Slow) : |
| 187 | FiberAgreement U (VariableGaugeMean.streamPotential d a b M (stableLength coord) v F) |
| 188 | (VariableGaugeMean.streamPotential d a b M (VariableGaugeMean.qLength coord) v f) := by |
| 189 | have hw : FiberAgreement U (PressureStream.weightedSource F) (PressureStream.weightedSource f) := by |
| 190 | intro p hp |
| 191 | exact congrArg (fun t => p.1 * t) (he hp) |
| 192 | intro p hp |
| 193 | exact congrArg (fun t => t / p.1) (compactPrimitive_agreement hc hc1 hw d a b M v hp) |
| 194 | |
| 195 | omit hc hc1 in |
| 196 | theorem temporalAtIndex_agreement (h : ℝ) (n i : ℕ) : |
| 197 | FiberAgreement U (MeanChartCompatibility.temporalAtIndex h n i F) |
| 198 | (MeanChartCompatibility.temporalAtIndex h n i f) := by |
| 199 | intro p hp |
| 200 | exact VariableGaugeMean.temporalAtIndex_fiberLocal h n i F f p.2.1 |
| 201 | (he.fiber hp.1 hp.2) p.1 p.2.2 |
| 202 | |
| 203 | end ExactAgreement |
| 204 | |
| 205 | /-- A full-fiber primitive continuation. Constructors below obtain such |
| 206 | data from explicit positive-q models, then preserve it through the actual |
| 207 | nonlocal mean operations. -/ |
| 208 | structure SupportedContinuation {coord a b : ℝ} (W : Window coord a b) (f : Lift → ℝ) where |
| 209 | value : Lift → ℝ |
| 210 | smooth : ContDiffOn ℝ ∞ value (PhysicalMeanDomain.slowDomain W.carrier) |
| 211 | supported : VariableGaugeMean.SupportedGauge a b (stableLength coord) W.carrier value |
| 212 | agrees : FiberAgreement W.carrier value f |
| 213 | |
| 214 | namespace SupportedContinuation |
| 215 | |
| 216 | variable {coord a b : ℝ} {W : Window coord a b} (hc : 0 < coord) (hc1 : coord < 1) |
| 217 | |
| 218 | noncomputable def primitive {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 219 | (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) (M : ℝ) (v : Slow) : |
| 220 | SupportedContinuation W |
| 221 | (VariableGaugeMean.compactPrimitive d a b M (VariableGaugeMean.qLength coord) v f) where |
| 222 | value := VariableGaugeMean.compactPrimitive d a b M (stableLength coord) v e.value |
| 223 | smooth := W.compactPrimitive_smooth hc hc1 ha hab hd M v e.smooth e.supported |
| 224 | supported := VariableGaugeMean.compactPrimitive_supportedGauge ha hab hd (stableLength coord) v |
| 225 | W.isOpen (fun _ hs => W.length_pos hs) e.smooth e.supported |
| 226 | agrees := compactPrimitive_agreement hc hc1 e.agrees d a b M v |
| 227 | |
| 228 | noncomputable def pressure {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 229 | (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) (M : ℝ) (v : Slow) : |
| 230 | SupportedContinuation W |
| 231 | (VariableGaugeMean.meanPressure d a b M hab (VariableGaugeMean.qLength coord) v f) where |
| 232 | value := VariableGaugeMean.meanPressure d a b M hab (stableLength coord) v e.value |
| 233 | smooth := W.meanPressure_smooth hc hc1 ha hab hd M v e.smooth e.supported |
| 234 | supported := VariableGaugeMean.compactPrimitive_supportedGauge ha hab hd (stableLength coord) v |
| 235 | W.isOpen (fun _ hs => W.length_pos hs) (W.pressureSource_smooth hc hc1 hab e.smooth e.supported) |
| 236 | (VariableGaugeMean.pressureSource_supported hab (fun _ hs => W.length_pos hs) e.supported) |
| 237 | agrees := meanPressure_agreement hc hc1 e.agrees d a b M hab v |
| 238 | |
| 239 | noncomputable def stream {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 240 | (ha : 0 < a) (hab : a < b) {d : ℝ} (hd : 0 < d) (M : ℝ) (v : Slow) : |
| 241 | SupportedContinuation W |
| 242 | (VariableGaugeMean.streamPotential d a b M (VariableGaugeMean.qLength coord) v f) where |
| 243 | value := VariableGaugeMean.streamPotential d a b M (stableLength coord) v e.value |
| 244 | smooth := W.streamPotential_smooth hc hc1 ha hab hd M v e.smooth e.supported |
| 245 | supported := VariableGaugeMean.streamPotential_supportedGauge ha hab hd (stableLength coord) v |
| 246 | W.isOpen (fun _ hs => W.length_pos hs) e.smooth e.supported |
| 247 | agrees := streamPotential_agreement hc hc1 e.agrees d a b M v |
| 248 | |
| 249 | omit hc hc1 in |
| 250 | noncomputable def temporal {f : Lift → ℝ} (e : SupportedContinuation W f) |
| 251 | (h : ℝ) (n i : ℕ) (hp : PhysicalMeanDomain.PeriodicOn W.carrier e.value) : |
| 252 | SupportedContinuation W (MeanChartCompatibility.temporalAtIndex h n i f) where |
| 253 | value := MeanChartCompatibility.temporalAtIndex h n i e.value |
| 254 | smooth := VariableGaugeMean.temporalAtIndex_contDiffOn h n i W.isOpen e.smooth hp |
| 255 | supported := VariableGaugeMean.temporalAtIndex_supportedGauge h n i e.supported |
| 256 | agrees := temporalAtIndex_agreement e.agrees h n i |
| 257 | |
| 258 | end SupportedContinuation |
| 259 | |
| 260 | namespace SupportedContinuation |
| 261 | |
| 262 | variable {coord a b : ℝ} {W : Window coord a b} |
| 263 | |
| 264 | end SupportedContinuation |
| 265 | |
| 266 | section ReferenceODE |
| 267 | |
| 268 | variable {P Q V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 269 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 270 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 271 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 272 | |
| 273 | end ReferenceODE |
| 274 | |
| 275 | section ContinuedReferenceODE |
| 276 | |
| 277 | variable {V E : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 278 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 279 | |
| 280 | end ContinuedReferenceODE |
| 281 | |
| 282 | section ContinuedPhase |
| 283 | |
| 284 | end ContinuedPhase |
| 285 | |
| 286 | section FullReferenceCarrier |
| 287 | |
| 288 | variable {V E : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 289 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 290 | |
| 291 | end FullReferenceCarrier |
| 292 | |
| 293 | section RankModels |
| 294 | |
| 295 | end RankModels |
| 296 | |
| 297 | section PhysicalFields |
| 298 | |
| 299 | abbrev Space := ProblemStatement.Space |
| 300 | abbrev SpaceTime := ProblemStatement.SpaceTime |
| 301 | |
| 302 | noncomputable def physicalSlow (w : SpaceTime) : Slow := (1 - w.1, w.2 2) |
| 303 | |
| 304 | theorem physicalSlow_contDiff : ContDiff ℝ ∞ physicalSlow := |
| 305 | (contDiff_const.sub contDiff_fst).prodMk |
| 306 | ((AxisymmetricFields.projection 2).contDiff.comp contDiff_snd) |
| 307 | |
| 308 | /-- The actual radial/slow/native-graph restriction of a full-fiber mean |
| 309 | field. The common covering level remains the supplied `n`. -/ |
| 310 | noncomputable def physicalLift (h : ℝ) (n : ℕ) (w : SpaceTime) : Lift := |
| 311 | (AnnularEndpoint.radius w, (physicalSlow w, PhysicalGraphBounds.nativeGraph h n w)) |
| 312 | |
| 313 | noncomputable def physicalDomain (U : Set Slow) : Set SpaceTime := physicalSlow ⁻¹' U |
| 314 | |
| 315 | theorem physicalDomain_open {U : Set Slow} (hU : IsOpen U) : IsOpen (physicalDomain U) := |
| 316 | hU.preimage physicalSlow_contDiff.continuous |
| 317 | |
| 318 | noncomputable def physicalScalar (h : ℝ) (n : ℕ) (f : Lift → ℝ) : SpaceTime → ℝ := |
| 319 | f ∘ physicalLift h n |
| 320 | |
| 321 | /-- `streamPotential` is already the azimuthal component of the vector |
| 322 | potential, including its division by the radial variable. -/ |
| 323 | noncomputable def azimuthalPotential (h : ℝ) (n : ℕ) (f : Lift → ℝ) (w : SpaceTime) : Space := |
| 324 | (-w.2 1 / AnnularEndpoint.radius w * physicalScalar h n f w) • ProblemStatement.coordinateVector 0 + |
| 325 | (w.2 0 / AnnularEndpoint.radius w * physicalScalar h n f w) • ProblemStatement.coordinateVector 1 |
| 326 | |
| 327 | /-- A direct angular velocity uses the same Cartesian multiplication by |
| 328 | `e_theta`. This definition does not apply a curl or a radial primitive. -/ |
| 329 | noncomputable def angularField (h : ℝ) (n : ℕ) (f : Lift → ℝ) : SpaceTime → Space := |
| 330 | azimuthalPotential h n f |
| 331 | |
| 332 | namespace SupportedContinuation |
| 333 | |
| 334 | variable {coord a b : ℝ} {W : Window coord a b} {f : Lift → ℝ} |
| 335 | |
| 336 | end SupportedContinuation |
| 337 | |
| 338 | end PhysicalFields |
| 339 | |
| 340 | section DiagonalCutoffs |
| 341 | |
| 342 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 343 | |
| 344 | noncomputable def physicalQExtension (h : ℝ) (w : SpaceTime) : ℝ := |
| 345 | (EndpointCoordinates.cartesianExtension h w).1 |
| 346 | |
| 347 | theorem physicalQExtension_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 348 | {w : SpaceTime} (ht : w.1 < 1) : physicalQExtension h w = PhysicalWaveSum.physicalQ h w := |
| 349 | congrArg Prod.fst (EndpointCoordinates.cartesianExtension_eq_physical hh hh1 ht) |
| 350 | |
| 351 | /-- Only finitely many stages survive near a positive-q endpoint. Their |
| 352 | extensions are combined with the same scalar cutoffs and the same schedule. |
| 353 | The preceding model/mean constructors supply the finite-stage extensions. -/ |
| 354 | theorem diagonal_extension {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 355 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) {F : ℕ → SpaceTime → V} |
| 356 | {x : Space} (hx : x 2 ≠ 0) |
| 357 | (he : ∀ j, Nonempty (JointResidualLimits.OneSidedExtension (F j) x)) : |
| 358 | Nonempty (JointResidualLimits.OneSidedExtension |
| 359 | (SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F) x) := by |
| 360 | classical |
| 361 | obtain ⟨U, hU, hxU, hUD, _, _, hqU⟩ := EndpointCoordinates.cartesian_endpoint_neighborhood hh hh1 hx |
| 362 | obtain ⟨N, hN⟩ := SmoothCutoffs.scaledCutoffs_zero_on_common_neighborhood a ha |
| 363 | (EndpointCoordinates.endpointRoot_pos (2 * h) hx) |
| 364 | let e : ∀ j, JointResidualLimits.OneSidedExtension (F j) x := fun j => Classical.choice (he j) |
| 365 | let D : Set SpaceTime := U ∩ ⋂ j ∈ Finset.range N, (e j).domain |
| 366 | have hD : IsOpen D := hU.inter (isOpen_biInter_finset fun j _ => (e j).isOpen) |
| 367 | have hxD : (1, x) ∈ D := ⟨hxU, mem_iInter.mpr fun j => mem_iInter.mpr fun _ => (e j).mem⟩ |
| 368 | have hsub (j : ℕ) (hj : j ∈ Finset.range N) : D ⊆ (e j).domain := |
| 369 | fun w hw => mem_iInter.mp (mem_iInter.mp hw.2 j) hj |
| 370 | have hq : ContDiffOn ℝ ∞ (physicalQExtension h) D := |
| 371 | (EndpointCoordinates.cartesianExtension_smoothOn hh hh1).fst.mono (fun _ hw => hUD hw.1) |
| 372 | refine ⟨{ |
| 373 | value := fun w => ∑ j ∈ Finset.range N, |
| 374 | SmoothCutoffs.scaledCutoff (a j) (physicalQExtension h w) • (e j).value w |
| 375 | domain := D |
| 376 | isOpen := hD |
| 377 | mem := hxD |
| 378 | smooth := ?_ |
| 379 | agrees := ?_ }⟩ |
| 380 | · apply ContDiffOn.sum |
| 381 | intro j hj |
| 382 | exact ((SmoothCutoffs.scaledCutoff_contDiff (a j)).comp_contDiffOn hq).smul |
| 383 | ((e j).smooth.mono (hsub j hj)) |
| 384 | · intro w hw |
| 385 | have hqt := physicalQExtension_eq hh hh1 hw.2.1 |
| 386 | have hlow : EndpointCoordinates.endpointRoot (2 * h) (x 2) / 2 < PhysicalWaveSum.physicalQ h w := by |
| 387 | rw [← hqt] |
| 388 | exact (hqU w hw.1.1).1 |
| 389 | have hsum : SolenoidalDiagonal.potentialSum a (PhysicalWaveSum.physicalQ h) F w = |
| 390 | ∑ j ∈ Finset.range N, SolenoidalDiagonal.cutStage a (PhysicalWaveSum.physicalQ h) F j w := by |
| 391 | apply tsum_eq_sum |
| 392 | intro j hj |
| 393 | simp only [SolenoidalDiagonal.cutStage, hN j |
| 394 | (Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj)) _ hlow, zero_smul] |
| 395 | rw [hsum] |
| 396 | apply Finset.sum_congr rfl |
| 397 | intro j hj |
| 398 | change SmoothCutoffs.scaledCutoff (a j) (physicalQExtension h w) • (e j).value w = |
| 399 | SmoothCutoffs.scaledCutoff (a j) (PhysicalWaveSum.physicalQ h w) • F j w |
| 400 | rw [hqt, (e j).agrees ⟨hsub j hj hw.1, hw.2⟩] |
| 401 | |
| 402 | end DiagonalCutoffs |
| 403 | |
| 404 | end NavierStokes.OffplaneCorrectionExtensions |