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.PrimaryCopyBounds |
| 2 | import NavierStokes.SignedCopyBounds |
| 3 | import NavierStokes.PhysicalSignedWave |
| 4 | |
| 5 | /-! |
| 6 | # Controls from the actual shared primary construction |
| 7 | |
| 8 | The reference matrix, target, unit pulse, normal motion and action below |
| 9 | are computed from the same prepared primary family. Their native-copy |
| 10 | estimates have constants before all labels, bands and copies. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ActualSignedControl |
| 16 | |
| 17 | open Set Function Filter PhaseJetBounds PrimaryPulseBounds PrimaryCopyBounds |
| 18 | open WeightedClasses PeriodizedWaveBounds |
| 19 | open scoped ContDiff Topology InnerProductSpace BigOperators |
| 20 | |
| 21 | abbrev Mat2 := SmoothCovariance.Mat2 |
| 22 | abbrev Vec2 := SmoothCovariance.Vec2 |
| 23 | abbrev Space := ProblemStatement.Space |
| 24 | |
| 25 | variable {ι Λ I D X E : Type} |
| 26 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 27 | [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | |
| 30 | noncomputable def phaseNormal {U : Domain ι PhaseCalculus.Slow} |
| 31 | (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : ι → D → Space := |
| 32 | fun i x => F.phase.normal i (PrimaryCopyBounds.phasePoint F χ i x) |
| 33 | |
| 34 | /-- A proved reference certificate. The prepared-family constructor below |
| 35 | derives its target and mask estimates and all three scalar margins. -/ |
| 36 | structure ReferenceBounds (V : JetDomain ι D) (U : Domain ι PhaseCalculus.Slow) |
| 37 | (F : Fin 2 → PhaseConstruction U) (pref : Fin 2 → ι → ℝ) |
| 38 | (χ : ι → D → PhaseCalculus.Slow × ℝ) (T : ι → D → Vec2) |
| 39 | (mask ζ : ι → D → ℝ) where |
| 40 | scale : ∀ i, U.scale i = V.scale i |
| 41 | coordinate_jets : PolynomialJets V.toDomain χ |
| 42 | coordinate_mem : ∀ i x, x ∈ V.carrier i → χ i x ∈ U.carrier i ×ˢ Ioo (0 : ℝ) 1 |
| 43 | prefactor_jets : ∀ j, PolynomialJets U (fun i _ => pref j i) |
| 44 | target_jets : ∀ q, NativeJets V ζ (fun i x => T i x q) |
| 45 | mask_jets : PolynomialJets V.toDomain mask |
| 46 | weight_pos : ∀ i x, x ∈ V.carrier i → 0 < ζ i x |
| 47 | determinantGap : ℝ |
| 48 | entryBound : ℝ |
| 49 | primaryLower : ℝ |
| 50 | gap_pos : 0 < determinantGap |
| 51 | entry_one : 1 ≤ entryBound |
| 52 | lower_pos : 0 < primaryLower |
| 53 | zero_order : ∀ i x, x ∈ V.carrier i → |
| 54 | PrimaryCovarianceBounds.ZeroOrderBounds (Real.sqrt (V.scale i)) |
| 55 | determinantGap entryBound primaryLower (ζ i x) |
| 56 | (pulseMatrix F pref χ i x) (T i x) |
| 57 | |
| 58 | namespace ReferenceBounds |
| 59 | |
| 60 | variable {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} |
| 61 | {F : Fin 2 → PhaseConstruction U} {pref : Fin 2 → ι → ℝ} |
| 62 | {χ : ι → D → PhaseCalculus.Slow × ℝ} {T : ι → D → Vec2} {mask ζ : ι → D → ℝ} |
| 63 | (h : ReferenceBounds V U F pref χ T mask ζ) |
| 64 | |
| 65 | include h |
| 66 | |
| 67 | theorem cutoff_jets : PolynomialJets V.toDomain |
| 68 | (fun i x => GaussianTailFlat.profile (χ i x).2) := by |
| 69 | apply (h.coordinate_jets.clm (ContinuousLinearMap.snd ℝ PhaseCalculus.Slow ℝ)).compact_comp |
| 70 | isOpen_univ GaussianTailFlat.profile_contDiff.contDiffOn isCompact_Icc (subset_univ _) |
| 71 | intro i x hx |
| 72 | exact ⟨(h.coordinate_mem i x hx).2.1.le, (h.coordinate_mem i x hx).2.2.le⟩ |
| 73 | |
| 74 | end ReferenceBounds |
| 75 | |
| 76 | /-- Only affine coordinate geometry and weight/scale comparisons are |
| 77 | stored here. No copied field or copied derivative bound is an input. -/ |
| 78 | structure CopyChart (s : StripData X) (V : JetDomain ι D) (ζ : ι → D → ℝ) |
| 79 | (K : Λ → ℕ → I → Set X) where |
| 80 | index : Λ → ℕ → ι |
| 81 | linear : Λ → ℕ → I → X →L[ℝ] D |
| 82 | shift : Λ → ℕ → I → D |
| 83 | maps : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → |
| 84 | linear l n i x + shift l n i ∈ V.carrier (index l n) |
| 85 | growthConstant : ℝ |
| 86 | linearConstant : ℝ |
| 87 | growth_one : 1 ≤ growthConstant |
| 88 | linear_one : 1 ≤ linearConstant |
| 89 | growthDegree : ℕ |
| 90 | linearDegree : ℕ |
| 91 | growth_bound : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → |
| 92 | V.growth (index l n) (linear l n i x + shift l n i) ≤ |
| 93 | growthConstant * s.growth n x ^ growthDegree |
| 94 | linear_bound : ∀ l n i, ‖linear l n i‖ ≤ linearConstant * s.slow n ^ linearDegree |
| 95 | weight_eq : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → |
| 96 | ζ (index l n) (linear l n i x + shift l n i) = s.zeta x |
| 97 | ratioLower : ℝ |
| 98 | ratioUpper : ℝ |
| 99 | ratio_pos : 0 < ratioLower |
| 100 | ratio_one : 1 ≤ ratioUpper |
| 101 | scale_ratio : ∀ l n, ratioLower ≤ Real.sqrt (s.slow n) / Real.sqrt (V.scale (index l n)) ∧ |
| 102 | Real.sqrt (s.slow n) / Real.sqrt (V.scale (index l n)) ≤ ratioUpper |
| 103 | |
| 104 | namespace CopyChart |
| 105 | |
| 106 | variable {s : StripData X} {V : JetDomain ι D} {ζ : ι → D → ℝ} |
| 107 | {K : Λ → ℕ → I → Set X} (c : CopyChart s V ζ K) |
| 108 | |
| 109 | noncomputable def pull (f : ι → D → E) : Λ → ℕ → I → X → E := |
| 110 | affineCopy f c.index c.linear c.shift |
| 111 | |
| 112 | theorem weighted {f : ι → D → E} (hf : NativeJets V ζ f) : |
| 113 | UniformLocalJets s (fun _ _ x => s.zeta x) 0 K (c.pull f) := by |
| 114 | apply hf.copy_localJets s (fun _ _ x => s.zeta x) 0 c.index c.linear c.shift K |
| 115 | (fun _ _ x hx => s.zeta_nonneg x hx) c.maps c.growth_one c.linear_one |
| 116 | c.growthDegree c.linearDegree c.growth_bound c.linear_bound |
| 117 | intro l n i x hx hi |
| 118 | simp only [Real.rpow_zero, one_mul, c.weight_eq l n i x hx hi, le_refl] |
| 119 | |
| 120 | theorem envelope {w : ι → D → ℝ} {f : ι → D → E} (hf : NativeJets V w f) |
| 121 | {W : Λ → ℕ → X → ℝ} (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) |
| 122 | (hw : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → |
| 123 | w (c.index l n) (c.linear l n i x + c.shift l n i) ≤ W l n x) : |
| 124 | UniformLocalJets s W 0 K (c.pull f) := by |
| 125 | apply hf.copy_localJets s W 0 c.index c.linear c.shift K hW c.maps c.growth_one c.linear_one |
| 126 | c.growthDegree c.linearDegree c.growth_bound c.linear_bound |
| 127 | simpa only [Real.rpow_zero, one_mul] using hw |
| 128 | |
| 129 | end CopyChart |
| 130 | |
| 131 | /-! ## The reference certificate is produced from the same actual profile -/ |
| 132 | |
| 133 | section Prepared |
| 134 | |
| 135 | variable {F₀ : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F₀} |
| 136 | (H₀ : NominalConeAssembly.Certificate W₀) {ld : ModulatedProfileAssembly.LoopData W₀} |
| 137 | (v₀ : ModulatedProfileAssembly.Witness ld) |
| 138 | {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} |
| 139 | |
| 140 | /-- Primitive local chart geometry for a selected prepared family. |
| 141 | The target, matrix, mask and pulse jets are not fields of this record. -/ |
| 142 | structure PreparedChart (a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0) |
| 143 | (D : Type) [NormedAddCommGroup D] [NormedSpace ℝ D] where |
| 144 | native : JetDomain (PrimaryGeometryAssembly.Index W₀ a.N) D |
| 145 | slow : JetDomain (PrimaryGeometryAssembly.Index W₀ a.N) PhaseCalculus.Slow |
| 146 | coordinate : PrimaryGeometryAssembly.Index W₀ a.N → D → PhaseCalculus.Slow × ℝ |
| 147 | scale : ∀ L, (PrimaryGeometryAssembly.domain W₀ a.N).scale L = native.scale L |
| 148 | coordinate_jets : PolynomialJets native.toDomain coordinate |
| 149 | maps : ∀ L x, x ∈ native.carrier L → |
| 150 | coordinate L x ∈ (PrimaryGeometryAssembly.domain W₀ a.N).carrier L ×ˢ Ioo (0 : ℝ) 1 |
| 151 | positive : ∀ L x, x ∈ native.carrier L → (coordinate L x).1 ∈ |
| 152 | PositiveRepresentatives.positivePart (PrimaryGeometryAssembly.referenceSet W₀) |
| 153 | slow_maps : ∀ L x, x ∈ native.carrier L → (coordinate L x).1 ∈ slow.carrier L |
| 154 | slow_growth : ∀ L x, x ∈ native.carrier L → slow.growth L (coordinate L x).1 ≤ native.growth L x |
| 155 | radiusLower : ℝ |
| 156 | normUpper : ℝ |
| 157 | qLower : ℝ |
| 158 | qUpper : ℝ |
| 159 | radius_pos : 0 < radiusLower |
| 160 | q_pos : 0 < qLower |
| 161 | geometry : BaseChartJets.GeometryBounds slow.toDomain F₀.data.h radiusLower normUpper qLower qUpper |
| 162 | (NominalConeAssembly.activeLeft W₀) (NominalConeAssembly.activeRight W₀) |
| 163 | inverse_edge : ∀ L p, p ∈ slow.carrier L → |
| 164 | (FinalSlowBase.edgeDistance W₀ (BaseChartJets.normalizedCoordinates F₀.data.h p).2)⁻¹ ≤ slow.growth L p |
| 165 | |
| 166 | namespace PreparedChart |
| 167 | |
| 168 | variable {H₀ v₀} |
| 169 | {a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0} |
| 170 | (c : PreparedChart H₀ v₀ a D) |
| 171 | |
| 172 | noncomputable def target : PrimaryGeometryAssembly.Index W₀ a.N → D → Vec2 := |
| 173 | fun L x k => PrimaryTargetBounds.actualTarget v₀ (c.coordinate L x).1 k |
| 174 | |
| 175 | noncomputable def weight : PrimaryGeometryAssembly.Index W₀ a.N → D → ℝ := |
| 176 | fun L x => PrimaryTargetBounds.movingWeight W₀ (c.coordinate L x).1 |
| 177 | |
| 178 | noncomputable def mask : PrimaryGeometryAssembly.Index W₀ a.N → D → ℝ := |
| 179 | fun L x => PrimaryRepresentatives.nativeMask (PrimaryGeometryAssembly.label W₀ L).1 |
| 180 | (PrimaryGeometryAssembly.label W₀ L).2 (c.coordinate L x).1 |
| 181 | |
| 182 | theorem target_jets (hcone : LeadingStressWeights.FullTrueCone v₀) (k : Fin 2) : |
| 183 | NativeJets c.native c.weight (fun L x => c.target L x k) := by |
| 184 | have ht := (PrimaryCopyBounds.actualTarget_jets v₀ hcone c.slow |
| 185 | c.radius_pos c.q_pos c.geometry c.inverse_edge).comp |
| 186 | (c.coordinate_jets.clm (ContinuousLinearMap.fst ℝ PhaseCalculus.Slow ℝ)) c.slow_maps c.slow_growth |
| 187 | exact ht.map (PiLp.proj 2 (fun _ : Fin 2 => ℝ) k) |
| 188 | |
| 189 | theorem mask_jets : PolynomialJets c.native.toDomain c.mask := by |
| 190 | apply nativeMask_comp_jets c.native.toDomain |
| 191 | (fun L x => (c.coordinate L x).1) |
| 192 | (c.coordinate_jets.clm (ContinuousLinearMap.fst ℝ PhaseCalculus.Slow ℝ)) |
| 193 | (fun L => (PrimaryGeometryAssembly.label W₀ L).1) |
| 194 | (fun L => (PrimaryGeometryAssembly.label W₀ L).2) |
| 195 | (fun L => L.val.property.1) |
| 196 | intro L |
| 197 | rw [← c.scale L] |
| 198 | rfl |
| 199 | |
| 200 | theorem weight_pos (L : PrimaryGeometryAssembly.Index W₀ a.N) {x : D} |
| 201 | (hx : x ∈ c.native.carrier L) : 0 < c.weight L x := by |
| 202 | have hs := c.slow_maps L x hx |
| 203 | rw [weight, PrimaryTargetBounds.movingWeight_eq W₀ (c.geometry.time L _ hs) |
| 204 | (c.radius_pos.trans_le (c.geometry.radius L _ hs))] |
| 205 | apply ActiveAnnulusWeight.radialWeight_pos |
| 206 | simp only [FinalSlowBase.logLeft, FinalSlowBase.logRight, |
| 207 | Real.exp_log (NominalConeAssembly.activeLeft_pos W₀), |
| 208 | Real.exp_log (FinalSlowBase.terminal_pos W₀)] |
| 209 | exact c.geometry.x_range L _ hs |
| 210 | |
| 211 | /-- Every jet field in this reference certificate is derived from the |
| 212 | actual prepared phase, actual leading target and actual grid mask. -/ |
| 213 | noncomputable def referenceBounds (hcone : LeadingStressWeights.FullTrueCone v₀) |
| 214 | (hr0 : 0 < r0) (vr vt : TorusInverse.Plane) |
| 215 | (dg eb il : ℝ) (hdg : 0 < dg) (heb : 1 ≤ eb) (hil : 0 < il) |
| 216 | (hz : ∀ (L : PrimaryGeometryAssembly.Index W₀ a.N) (p : PhaseCalculus.Slow), |
| 217 | p ∈ PositiveRepresentatives.positivePart (PrimaryGeometryAssembly.referenceSet W₀) → |
| 218 | p ∈ (PrimaryGeometryAssembly.domain W₀ a.N).carrier L → |
| 219 | PrimaryCovarianceBounds.ZeroOrderBounds (Real.sqrt (ChartScales.S (BaseChartJets.cellBand L))) |
| 220 | dg eb il (PrimaryTargetBounds.movingWeight W₀ p) |
| 221 | (PrimaryTargetBounds.preparedCovariance H₀ v₀ a vr vt L p) |
| 222 | (fun k => PrimaryTargetBounds.actualTarget v₀ p k)) : |
| 223 | ReferenceBounds c.native (PrimaryGeometryAssembly.domain W₀ a.N) |
| 224 | (PrimaryGeometryAssembly.construction H₀ v₀ a hr0) |
| 225 | (preparedPrefactor r0 vr vt) c.coordinate c.target c.mask c.weight where |
| 226 | scale := c.scale |
| 227 | coordinate_jets := c.coordinate_jets |
| 228 | coordinate_mem := c.maps |
| 229 | prefactor_jets := fun j => preparedPrefactor_jets r0 vr vt a.N j |
| 230 | target_jets := c.target_jets hcone |
| 231 | mask_jets := c.mask_jets |
| 232 | weight_pos := fun L _ hx => c.weight_pos L hx |
| 233 | determinantGap := dg |
| 234 | entryBound := eb |
| 235 | primaryLower := il |
| 236 | gap_pos := hdg |
| 237 | entry_one := heb |
| 238 | lower_pos := hil |
| 239 | zero_order := by |
| 240 | intro L x hx |
| 241 | have h := hz L (c.coordinate L x).1 (c.positive L x hx) (c.maps L x hx).1 |
| 242 | have hscale : c.native.scale L = ChartScales.S (BaseChartJets.cellBand L) := (c.scale L).symm |
| 243 | simp only [hscale, pulseMatrix, weight] at h ⊢ |
| 244 | exact h |
| 245 | |
| 246 | end PreparedChart |
| 247 | |
| 248 | end Prepared |
| 249 | |
| 250 | /-! ## Transport through the actual affine views -/ |
| 251 | |
| 252 | /-- Positive band scalars with uniform primitive zeroth-order margins. -/ |
| 253 | structure PositiveScale (Λ : Type) where |
| 254 | value : Λ → ℕ → ℝ |
| 255 | lower : ℝ |
| 256 | upper : ℝ |
| 257 | lower_pos : 0 < lower |
| 258 | upper_one : 1 ≤ upper |
| 259 | bounds : ∀ l n, lower ≤ value l n ∧ value l n ≤ upper |
| 260 | |
| 261 | namespace PositiveScale |
| 262 | |
| 263 | variable (a b : PositiveScale Λ) |
| 264 | |
| 265 | theorem value_pos (l : Λ) (n : ℕ) : 0 < a.value l n := a.lower_pos.trans_le (a.bounds l n).1 |
| 266 | |
| 267 | noncomputable def mul : PositiveScale Λ where |
| 268 | value l n := a.value l n * b.value l n |
| 269 | lower := a.lower * b.lower |
| 270 | upper := a.upper * b.upper |
| 271 | lower_pos := mul_pos a.lower_pos b.lower_pos |
| 272 | upper_one := one_le_mul_of_one_le_of_one_le a.upper_one b.upper_one |
| 273 | bounds l n := ⟨mul_le_mul (a.bounds l n).1 (b.bounds l n).1 b.lower_pos.le (a.value_pos l n).le, |
| 274 | mul_le_mul (a.bounds l n).2 (b.bounds l n).2 (b.value_pos l n).le (zero_le_one.trans a.upper_one)⟩ |
| 275 | |
| 276 | end PositiveScale |
| 277 | |
| 278 | theorem uniform_local_congr {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 279 | {w : Λ → ℕ → X → ℝ} {α : ℝ} {f g : Λ → ℕ → I → X → E} |
| 280 | (hf : UniformLocalJets s w α K f) |
| 281 | (he : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → f l n i =ᶠ[𝓝 x] g l n i) : |
| 282 | UniformLocalJets s w α K g := by |
| 283 | refine ⟨fun l n i x hx hi => (hf.smooth l n i x hx hi).congr_of_eventuallyEq |
| 284 | (he l n i x hx hi).symm, ?_⟩ |
| 285 | intro m |
| 286 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 287 | refine ⟨C, hC, p, ?_⟩ |
| 288 | intro l n i x hx hi j hj |
| 289 | rw [← PeriodizedWaveBounds.jets_eq_of_germ (he l n i x hx hi) j] |
| 290 | exact hb l n i x hx hi j hj |
| 291 | |
| 292 | /-- Changing the band's normalization and scaling the actual target |
| 293 | preserves quantitative Cramer margins with explicit constants. -/ |
| 294 | theorem rescale_margins {r R dg eb il ζ c clo rlo rhi : ℝ} {H : Mat2} {T : Vec2} |
| 295 | (h : PrimaryCovarianceBounds.ZeroOrderBounds r dg eb il ζ H T) |
| 296 | (hr : 1 ≤ r) (hdg : 0 ≤ dg) (hil : 0 ≤ il) (hζ : 0 ≤ ζ) (hclo : 0 < clo) (hc : clo ≤ c) |
| 297 | (hrlo : 0 < rlo) (hlo : rlo ≤ R / r) (hhi : R / r ≤ rhi) : |
| 298 | rlo ^ 2 * dg ≤ |(normalizedMatrix R H).det| ∧ |
| 299 | (∀ i j, |R * H i j| ≤ rhi * eb) ∧ |
| 300 | (∀ j, (clo ^ 2 * il) * ζ ≤ SmoothCovariance.weights H (c ^ 2 • T) j) := by |
| 301 | have hrp : 0 < r := zero_lt_one.trans_le hr |
| 302 | have hratio : 0 < R / r := hrlo.trans_le hlo |
| 303 | have he : normalizedMatrix R H = normalizedMatrix (R / r) (normalizedMatrix r H) := by |
| 304 | ext i j |
| 305 | simp only [normalizedMatrix] |
| 306 | field_simp |
| 307 | have hdet : |(normalizedMatrix R H).det| = (R / r) ^ 2 * |(normalizedMatrix r H).det| := by |
| 308 | rw [he, normalizedMatrix_det, abs_mul, abs_of_nonneg (sq_nonneg _)] |
| 309 | refine ⟨?_, ?_, ?_⟩ |
| 310 | · rw [hdet] |
| 311 | exact mul_le_mul (pow_le_pow_left₀ hrlo.le hlo 2) h.determinant |
| 312 | hdg (sq_nonneg _) |
| 313 | · intro i j |
| 314 | have hentry : R * H i j = (R / r) * (r * H i j) := by field_simp |
| 315 | rw [hentry, abs_mul, abs_of_pos hratio] |
| 316 | exact mul_le_mul hhi (h.entries i j) (abs_nonneg _) (by linarith [hratio, hhi]) |
| 317 | · intro j |
| 318 | rw [PhysicalSignedWave.weights_smul_target, Pi.smul_apply, smul_eq_mul] |
| 319 | have hbase : il * ζ ≤ SmoothCovariance.weights H T j := by |
| 320 | apply le_trans _ (h.weights j) |
| 321 | nlinarith [mul_nonneg hil hζ] |
| 322 | have hh := mul_le_mul (pow_le_pow_left₀ hclo.le hc 2) hbase |
| 323 | (mul_nonneg hil hζ) (sq_nonneg c) |
| 324 | simpa only [mul_assoc] using hh |
| 325 | |
| 326 | namespace ReferenceBounds |
| 327 | |
| 328 | variable [Countable Λ] [Nonempty Λ] |
| 329 | {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} |
| 330 | {F : Fin 2 → PhaseConstruction U} {pref : Fin 2 → ι → ℝ} |
| 331 | {χ : ι → D → PhaseCalculus.Slow × ℝ} {T : ι → D → Vec2} {mask ζ : ι → D → ℝ} |
| 332 | (h : ReferenceBounds V U F pref χ T mask ζ) |
| 333 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 334 | (c : CopyChart s V ζ K) (scale : PositiveScale Λ) |
| 335 | |
| 336 | include h |
| 337 | |
| 338 | end ReferenceBounds |
| 339 | |
| 340 | namespace ReferenceBounds |
| 341 | |
| 342 | variable [Countable Λ] [Nonempty Λ] |
| 343 | {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} |
| 344 | {F : Fin 2 → PhaseConstruction U} {pref : Fin 2 → ι → ℝ} |
| 345 | {χ : ι → D → PhaseCalculus.Slow × ℝ} {T : ι → D → Vec2} {mask ζ : ι → D → ℝ} |
| 346 | (h : ReferenceBounds V U F pref χ T mask ζ) |
| 347 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 348 | (c : CopyChart s V ζ K) (scale normal clock : PositiveScale Λ) |
| 349 | |
| 350 | include h |
| 351 | |
| 352 | end ReferenceBounds |
| 353 | |
| 354 | /-! ## The signed request is the measured current-state request -/ |
| 355 | |
| 356 | theorem uniformLocalJets_of_memClass {s : StripData X} {w : ℕ → X → ℝ} {α : ℝ} |
| 357 | {f : ℕ → X → E} (hf : MemClass s w α f) (K : Λ → ℕ → I → Set X) : |
| 358 | UniformLocalJets s (fun _ => w) α K (fun _ n _ => f n) := by |
| 359 | refine ⟨fun _ n _ x hx _ => (hf.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx), ?_⟩ |
| 360 | intro m |
| 361 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 362 | exact ⟨C, hC, p, fun _ n _ x hx _ j hj => hb n x hx j hj⟩ |
| 363 | |
| 364 | theorem fullRequest_localJets (s : StripData LocalSignedRequest.Point) |
| 365 | (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 366 | (ctx : CorrectionState.Context LocalSignedRequest.Point) |
| 367 | (u : CorrectionState.State LocalSignedRequest.Point) {β : ℝ} |
| 368 | (h : ∀ q, MeanClass s β (fun n x => LocalSignedRequest.normalizedRequest s P coord ctx u n x q)) |
| 369 | (K : Λ → ℕ → I → Set (LocalSignedRequest.Point × ℝ)) : |
| 370 | ∀ q, UniformLocalJets (HarmonicWaveInteraction.productStrip s) |
| 371 | (fun _ _ x => s.zeta x.1) β K |
| 372 | (fun _ n _ x => LocalSignedRequest.fullRequest s P coord ctx u n x q) := |
| 373 | fun q => uniformLocalJets_of_memClass (LocalSignedRequest.fullRequest_class s P coord ctx u h q) K |
| 374 | |
| 375 | /-- The actual residuals, their support, and their incoming mean classes |
| 376 | give the complete copy-uniform request estimate. No request jet is assumed. -/ |
| 377 | theorem physical_fullRequest_localJets {coord : ℝ} (U : LocalSignedRequest.SlowRegion coord) |
| 378 | (P : SignedStressPrimitive.Patch) {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 379 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 380 | (ctx : CorrectionState.Context LocalSignedRequest.Point) |
| 381 | (u : CorrectionState.State LocalSignedRequest.Point) (α : ℝ) |
| 382 | (hθ : ∀ n, ContDiffOn ℝ ∞ (u.thetaResidual ctx n) (PhysicalMeanDomain.slowDomain U.carrier)) |
| 383 | (hz : ∀ n, ContDiffOn ℝ ∞ (u.axialResidual ctx n) (PhysicalMeanDomain.slowDomain U.carrier)) |
| 384 | (hsθ : ∀ n, LocalSignedRequest.MovingSupport P.a P.b coord U.carrier (u.thetaResidual ctx n)) |
| 385 | (hsz : ∀ n, LocalSignedRequest.MovingSupport P.a P.b coord U.carrier (u.axialResidual ctx n)) |
| 386 | (hcθ : MeanClass (LocalSignedRequest.movingStripData U P.a P.b cL cR P.a_pos hcL hcR |
| 387 | ε L hε hεone hL) α (u.thetaResidual ctx)) |
| 388 | (hcz : MeanClass (LocalSignedRequest.movingStripData U P.a P.b cL cR P.a_pos hcL hcR |
| 389 | ε L hε hεone hL) α (u.axialResidual ctx)) |
| 390 | (K : Λ → ℕ → I → Set (LocalSignedRequest.Point × ℝ)) : |
| 391 | let s := LocalSignedRequest.movingStripData U P.a P.b cL cR P.a_pos hcL hcR ε L hε hεone hL |
| 392 | ∀ q, UniformLocalJets (HarmonicWaveInteraction.productStrip s) |
| 393 | (fun _ _ x => s.zeta x.1) (α - 1) K |
| 394 | (fun _ n _ x => LocalSignedRequest.fullRequest s P coord ctx u n x q) := by |
| 395 | dsimp only |
| 396 | exact fullRequest_localJets _ P coord ctx u |
| 397 | (LocalSignedRequest.normalizedRequest_class U P hcL hcR ε L hε hεone hL ctx u α |
| 398 | hθ hz hsθ hsz hcθ hcz) K |
| 399 | |
| 400 | /-! ## One selected reference family supplies the complete signed input -/ |
| 401 | |
| 402 | section Combined |
| 403 | |
| 404 | variable [Countable Λ] [Nonempty Λ] |
| 405 | {F₀ : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F₀} |
| 406 | {H₀ : NominalConeAssembly.Certificate W₀} {ld : ModulatedProfileAssembly.LoopData W₀} |
| 407 | {v₀ : ModulatedProfileAssembly.Witness ld} |
| 408 | {upper : ℝ} {B : ℕ} {r0 : ℝ} {N0 : ℕ} |
| 409 | |
| 410 | namespace PreparedChart |
| 411 | |
| 412 | variable {a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0} |
| 413 | (C : PreparedChart H₀ v₀ a D) (hr0 : 0 < r0) (vr vt : TorusInverse.Plane) |
| 414 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 415 | (copy : CopyChart s C.native C.weight K) |
| 416 | |
| 417 | end PreparedChart |
| 418 | |
| 419 | end Combined |
| 420 | |
| 421 | end NavierStokes.ActualSignedControl |