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.PhysicalMeanJetBounds |
| 2 | import NavierStokes.MixedDiagonalSchedule |
| 3 | import NavierStokes.TailGaugePotential |
| 4 | |
| 5 | /-! |
| 6 | # Raw physical stage estimates from native wave and mean data |
| 7 | |
| 8 | The data below describe the actual copy families and coherent native mean |
| 9 | fields. Physical derivative estimates are consequences of their native |
| 10 | classes, support and chart identities. No `RawStageBounds` is an input. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.PhysicalStageBounds |
| 16 | |
| 17 | open Set Function Filter ProblemStatement |
| 18 | open scoped Topology ContDiff BigOperators |
| 19 | |
| 20 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 21 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 22 | |
| 23 | /-- Small physical q automatically restricts time to the interval on which |
| 24 | the existing physical-copy estimates are uniform. -/ |
| 25 | theorem abs_time_le_one {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 26 | {w : SpaceTime} (hw : w ∈ PhysicalWaveSum.preterminal) |
| 27 | (hq : PhysicalWaveSum.physicalQ h w ≤ 1) : |w.1| ≤ 1 := by |
| 28 | have ha : 0 < 2 * h := by positivity |
| 29 | have ha1 : 2 * h < 1 := by linarith |
| 30 | have he := SimilarityCoordinates.coordinateQ_spec ha ha1 |
| 31 | (p := (1 - w.1, w.2 2)) (sub_pos.mpr hw) |
| 32 | have hn : 0 ≤ (w.2 2) ^ 2 * |
| 33 | SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2) ^ (2 * h) := |
| 34 | mul_nonneg (sq_nonneg _) (Real.rpow_nonneg he.1.le _) |
| 35 | change SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2) ≤ 1 at hq |
| 36 | have heq : SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2) - |
| 37 | (w.2 2) ^ 2 * SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2) ^ (2 * h) = |
| 38 | 1 - w.1 := he.2 |
| 39 | change w.1 < 1 at hw |
| 40 | apply abs_le.mpr |
| 41 | constructor <;> linarith |
| 42 | |
| 43 | section Waves |
| 44 | |
| 45 | variable (h : ℝ) (D : Type) [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 46 | (I K J : Type*) |
| 47 | |
| 48 | /-- A native source and its actual physical copy representation. All |
| 49 | regularity is confined to the valid native patches. The number of |
| 50 | harmonics and the cover gap may vary between stages. -/ |
| 51 | structure WaveData where |
| 52 | lowerRadius : ℝ |
| 53 | upperRadius : ℝ |
| 54 | nativeWidth : ℝ |
| 55 | slowBound : ℝ |
| 56 | frequencyBound : ℝ |
| 57 | alpha : ℝ |
| 58 | shift : ℝ |
| 59 | harmonics : ℕ |
| 60 | gapBound : ℕ |
| 61 | lower_pos : 0 < lowerRadius |
| 62 | width_nonneg : 0 ≤ nativeWidth |
| 63 | slow_nonneg : 0 ≤ slowBound |
| 64 | frequency_one_le : 1 ≤ frequencyBound |
| 65 | strip : WeightedClasses.StripData D |
| 66 | weight : I → ℕ → D → ℝ |
| 67 | source : I → ℕ → D → ℂ |
| 68 | source_bounds : LocalPhysicalCopyBounds.LocalSourceBounds strip h alpha weight source |
| 69 | copies : J → PhysicalCopyBounds.CopyFamily harmonics K |
| 70 | cells : ∀ i, PhysicalCopyBounds.SupportCells (copies i) |
| 71 | chart : ∀ i, LocalPhysicalCopyBounds.CommonChart (copies i) (cells i) |
| 72 | lowerRadius upperRadius h nativeWidth shift source |
| 73 | chart_maps : ∀ i k L, MapsTo ((chart i).map k L) ((chart i).domain k L) strip.domain |
| 74 | carrier : ∀ i, PhysicalCopyBounds.CarrierBounds (copies i) (cells i) |
| 75 | lowerRadius upperRadius h nativeWidth |
| 76 | support : ∀ i, LocalPhysicalCopyBounds.SupportData (copies i) |
| 77 | lowerRadius upperRadius h nativeWidth slowBound gapBound |
| 78 | smooth : ∀ i, LocalPhysicalCopyBounds.SmoothData (copies i) lowerRadius h nativeWidth |
| 79 | frequencies : ∀ i k L, |((copies i).carrier k L).angular| ≤ frequencyBound ∧ |
| 80 | |((copies i).carrier k L).axial| ≤ frequencyBound ∧ |
| 81 | |((copies i).carrier k L).radial| ≤ frequencyBound |
| 82 | |
| 83 | variable {h D I K J} |
| 84 | |
| 85 | noncomputable def WaveData.scalar (W : WaveData h D I K J) (i : J) : SpaceTime → ℂ := |
| 86 | (W.copies i).sum W.lowerRadius h W.nativeWidth |
| 87 | |
| 88 | theorem WaveData.scalar_smooth (W : WaveData h D I K J) |
| 89 | (hh : 0 < h) (hh1 : h < 1 / 2) (i : J) : |
| 90 | ContDiffOn ℝ ∞ (W.scalar i) PhysicalWaveSum.preterminal := |
| 91 | (W.support i).sum_smooth (W.smooth i) (W.cells i) W.lower_pos hh hh1 |
| 92 | |
| 93 | /-- The physical exponent and loss are obtained from the native weighted |
| 94 | source and actual chart map, not from a physical-bound hypothesis. -/ |
| 95 | theorem WaveData.scalar_bound (W : WaveData h D I K J) |
| 96 | (hh : 0 < h) (hh1 : h < 1 / 2) (i : J) (m : ℕ) : |
| 97 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 98 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 99 | ‖iteratedFDeriv ℝ m (W.scalar i) w‖ ≤ |
| 100 | C * PhysicalWaveSum.physicalQ h w ^ |
| 101 | (h * W.alpha - PhysicalClassBounds.physicalLoss h W.shift m) := by |
| 102 | obtain ⟨C, hC, hb⟩ := LocalPhysicalCopyBounds.physical_sum_jet_bound_of_weighted |
| 103 | W.source_bounds (W.chart i) (W.chart_maps i) (W.carrier i) (W.support i) (W.smooth i) |
| 104 | hh hh1 W.lower_pos W.slow_nonneg W.width_nonneg W.frequency_one_le (W.frequencies i) m |
| 105 | exact ⟨C, hC, fun w hw hq => hb w hw (abs_time_le_one hh hh1 hw hq)⟩ |
| 106 | |
| 107 | noncomputable def WaveData.vector (W : WaveData h D I K (Fin 3)) : VelocityField := |
| 108 | PhysicalCopyBounds.vectorSum W.copies W.lowerRadius h W.nativeWidth |
| 109 | |
| 110 | theorem WaveData.vector_smooth (W : WaveData h D I K (Fin 3)) |
| 111 | (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 112 | ContDiffOn ℝ ∞ W.vector PhysicalWaveSum.preterminal := |
| 113 | LocalPhysicalCopyBounds.vectorSum_smooth W.support W.smooth W.cells W.lower_pos hh hh1 |
| 114 | |
| 115 | theorem WaveData.vector_bound (W : WaveData h D I K (Fin 3)) |
| 116 | (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : |
| 117 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 118 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 119 | ‖iteratedFDeriv ℝ m W.vector w‖ ≤ |
| 120 | C * PhysicalWaveSum.physicalQ h w ^ |
| 121 | (h * W.alpha - PhysicalClassBounds.physicalLoss h W.shift m) := by |
| 122 | obtain ⟨C, hC, hb⟩ := LocalPhysicalCopyBounds.physical_vector_sum_jet_bound_of_weighted |
| 123 | W.source_bounds W.cells W.chart W.chart_maps W.carrier W.support W.smooth |
| 124 | hh hh1 W.lower_pos W.slow_nonneg W.width_nonneg W.frequency_one_le W.frequencies m |
| 125 | exact ⟨C, hC, fun w hw hq => hb w hw (abs_time_le_one hh hh1 hw hq)⟩ |
| 126 | |
| 127 | noncomputable def WaveData.pressure (W : WaveData h D I K Unit) : PressureField := |
| 128 | fun w => (W.scalar () w).re |
| 129 | |
| 130 | theorem WaveData.pressure_smooth (W : WaveData h D I K Unit) |
| 131 | (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 132 | ContDiffOn ℝ ∞ W.pressure PhysicalWaveSum.preterminal := |
| 133 | Complex.reCLM.contDiff.comp_contDiffOn (W.scalar_smooth hh hh1 ()) |
| 134 | |
| 135 | theorem WaveData.pressure_bound (W : WaveData h D I K Unit) |
| 136 | (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : |
| 137 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 138 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 139 | ‖iteratedFDeriv ℝ m W.pressure w‖ ≤ |
| 140 | C * PhysicalWaveSum.physicalQ h w ^ |
| 141 | (h * W.alpha - PhysicalClassBounds.physicalLoss h W.shift m) := by |
| 142 | obtain ⟨C, hC, hb⟩ := W.scalar_bound hh hh1 () m |
| 143 | refine ⟨‖Complex.reCLM‖ * C, mul_nonneg (norm_nonneg _) hC, ?_⟩ |
| 144 | intro w hw hq |
| 145 | have hs := ((W.scalar_smooth hh hh1 ()).contDiffAt |
| 146 | (PhysicalWaveSum.preterminal_open.mem_nhds hw)).of_le (nat_le_infty m) |
| 147 | have hc := PhysicalWaveSum.norm_jet_linear_comp_at hs Complex.reCLM |
| 148 | exact hc.trans ((mul_le_mul_of_nonneg_left (hb w hw hq) (norm_nonneg _)).trans_eq (by ring)) |
| 149 | |
| 150 | end Waves |
| 151 | |
| 152 | /-- Actual coherent mean fields with native local-band classes. The |
| 153 | construction keeps a single physical field represented by all valid bands. -/ |
| 154 | structure MeanData (h degree : ℝ) where |
| 155 | firstBand : ℕ |
| 156 | gapBound : ℕ |
| 157 | region : Set PhysicalGraphBounds.Plane |
| 158 | lowerRadius : ℝ |
| 159 | upperRadius : ℝ |
| 160 | alpha : ℝ |
| 161 | slow : ℕ → ℝ |
| 162 | family : PhysicalMeanJetBounds.CoherentFamily h degree firstBand gapBound region ℝ |
| 163 | band_four : 4 ≤ firstBand |
| 164 | lower_pos : 0 < lowerRadius |
| 165 | radii_lt : lowerRadius < upperRadius |
| 166 | region_open : IsOpen region |
| 167 | region_covers : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ region |
| 168 | smooth : ∀ n ≥ firstBand, ContDiffOn ℝ ∞ (family.native n) (PhysicalMeanDomain.slowDomain region) |
| 169 | support : PhysicalMeanJetBounds.NativeSupport h lowerRadius upperRadius firstBand region family.native |
| 170 | slow_nonneg : ∀ n ≥ firstBand, 0 ≤ slow n |
| 171 | slow_growth : ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n ≥ firstBand, slow n ≤ C * ChartScales.S n ^ p |
| 172 | native_class : PhysicalMeanDomain.LocalBandJets region (ChartScales.epsilon h) slow alpha family.native |
| 173 | |
| 174 | theorem MeanData.nativeJets {h degree : ℝ} (M : MeanData h degree) : |
| 175 | PhysicalMeanJetBounds.NativeJets M.firstBand M.region (h * M.alpha) M.family.native := by |
| 176 | obtain ⟨C, hC, p, hp⟩ := M.slow_growth |
| 177 | exact PhysicalMeanJetBounds.NativeJets.of_localBandJets M.native_class |
| 178 | (fun _ _ => rfl) M.slow_nonneg hC hp |
| 179 | |
| 180 | theorem MeanData.field_smooth {h degree qbig : ℝ} (M : MeanData h degree) |
| 181 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 182 | ContDiffOn ℝ ∞ M.family.field (CutStageEstimates.physicalSublevel h qbig) := by |
| 183 | apply (M.family.field_smooth hh hh1 M.lower_pos M.radii_lt M.region_open |
| 184 | M.region_covers M.smooth M.support).mono |
| 185 | intro w hw |
| 186 | exact ⟨hw.1, hw.2.trans_le hq⟩ |
| 187 | |
| 188 | theorem MeanData.angular_smooth {h degree qbig : ℝ} (M : MeanData h degree) |
| 189 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 190 | ContDiffOn ℝ ∞ M.family.angularField (CutStageEstimates.physicalSublevel h qbig) := by |
| 191 | apply (M.family.angularField_smooth hh hh1 M.lower_pos M.radii_lt M.region_open |
| 192 | M.region_covers M.smooth M.support).mono |
| 193 | intro w hw |
| 194 | exact ⟨hw.1, hw.2.trans_le hq⟩ |
| 195 | |
| 196 | theorem MeanData.field_bound {h degree qbig : ℝ} (M : MeanData h degree) |
| 197 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : |
| 198 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 199 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 200 | ‖iteratedFDeriv ℝ m M.family.field w‖ ≤ |
| 201 | C * PhysicalWaveSum.physicalQ h w ^ (h * M.alpha - PhysicalMeanJetBounds.loss degree m) := by |
| 202 | obtain ⟨C, hC, hb⟩ := M.family.field_jet_bound hh hh1 M.lower_pos M.radii_lt M.band_four |
| 203 | M.region_open M.region_covers M.smooth M.support M.nativeJets m |
| 204 | exact ⟨C, hC, fun w hw hq1 => hb w hw.1 (abs_time_le_one hh hh1 hw.1 hq1) (hw.2.le.trans hq)⟩ |
| 205 | |
| 206 | theorem MeanData.angular_bound {h degree qbig : ℝ} (M : MeanData h degree) |
| 207 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : |
| 208 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 209 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 210 | ‖iteratedFDeriv ℝ m M.family.angularField w‖ ≤ |
| 211 | C * PhysicalWaveSum.physicalQ h w ^ (h * M.alpha - PhysicalMeanJetBounds.loss degree m) := by |
| 212 | obtain ⟨C, hC, hb⟩ := M.family.angularField_jet_bound hh hh1 M.lower_pos M.radii_lt M.band_four |
| 213 | M.region_open M.region_covers M.smooth M.support M.nativeJets m |
| 214 | exact ⟨C, hC, fun w hw hq1 => hb w hw.1 (abs_time_le_one hh hh1 hw.1 hq1) (hw.2.le.trans hq)⟩ |
| 215 | |
| 216 | section GainComparison |
| 217 | |
| 218 | private theorem norm_bound_mono_loss {E : Type*} [NormedAddCommGroup E] {v : E} |
| 219 | {C q g l₁ l₂ : ℝ} (hC : 0 ≤ C) (hq : 0 < q) (hq1 : q ≤ 1) |
| 220 | (hl : l₁ ≤ l₂) (hv : ‖v‖ ≤ C * q ^ (g - l₁)) : |
| 221 | ‖v‖ ≤ C * q ^ (g - l₂) := |
| 222 | hv.trans (mul_le_mul_of_nonneg_left |
| 223 | (Real.rpow_le_rpow_of_exponent_ge hq hq1 (sub_le_sub_left hl g)) hC) |
| 224 | |
| 225 | variable {h g delta : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 226 | {I K : Type*} |
| 227 | |
| 228 | theorem WaveData.vector_bound_with_gain (W : WaveData h D I K (Fin 3)) |
| 229 | (hh : 0 < h) (hh1 : h < 1 / 2) (hg : g ≤ h * W.alpha + W.shift + delta) (m : ℕ) : |
| 230 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 231 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 232 | ‖iteratedFDeriv ℝ m W.vector w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ |
| 233 | (g - (PhysicalGraphBounds.waveLoss h m + delta)) := by |
| 234 | obtain ⟨C, hC, hb⟩ := W.vector_bound hh hh1 m |
| 235 | refine ⟨C, hC, fun w hw hq => (hb w hw hq).trans ?_⟩ |
| 236 | apply mul_le_mul_of_nonneg_left _ hC |
| 237 | apply Real.rpow_le_rpow_of_exponent_ge (PhysicalWaveSum.physicalQ_pos hh hh1 hw) hq |
| 238 | unfold PhysicalClassBounds.physicalLoss |
| 239 | linarith |
| 240 | |
| 241 | theorem WaveData.pressure_bound_with_gain (W : WaveData h D I K Unit) |
| 242 | (hh : 0 < h) (hh1 : h < 1 / 2) (hg : g ≤ h * W.alpha + W.shift + delta) (m : ℕ) : |
| 243 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 244 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 245 | ‖iteratedFDeriv ℝ m W.pressure w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ |
| 246 | (g - (PhysicalGraphBounds.waveLoss h m + delta)) := by |
| 247 | obtain ⟨C, hC, hb⟩ := W.pressure_bound hh hh1 m |
| 248 | refine ⟨C, hC, fun w hw hq => (hb w hw hq).trans ?_⟩ |
| 249 | apply mul_le_mul_of_nonneg_left _ hC |
| 250 | apply Real.rpow_le_rpow_of_exponent_ge (PhysicalWaveSum.physicalQ_pos hh hh1 hw) hq |
| 251 | unfold PhysicalClassBounds.physicalLoss |
| 252 | linarith |
| 253 | |
| 254 | theorem MeanData.field_bound_with_gain {degree qbig : ℝ} (M : MeanData h degree) |
| 255 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 256 | (hg : g ≤ h * M.alpha + delta) (m : ℕ) : |
| 257 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 258 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 259 | ‖iteratedFDeriv ℝ m M.family.field w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ |
| 260 | (g - (PhysicalMeanJetBounds.loss degree m + delta)) := by |
| 261 | obtain ⟨C, hC, hb⟩ := M.field_bound hh hh1 hq m |
| 262 | refine ⟨C, hC, fun w hw hq1 => (hb w hw hq1).trans ?_⟩ |
| 263 | exact mul_le_mul_of_nonneg_left |
| 264 | (Real.rpow_le_rpow_of_exponent_ge (PhysicalWaveSum.physicalQ_pos hh hh1 hw.1) hq1 |
| 265 | (by linarith)) hC |
| 266 | |
| 267 | theorem MeanData.angular_bound_with_gain {degree qbig : ℝ} (M : MeanData h degree) |
| 268 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 269 | (hg : g ≤ h * M.alpha + delta) (m : ℕ) : |
| 270 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 271 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 272 | ‖iteratedFDeriv ℝ m M.family.angularField w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ |
| 273 | (g - (PhysicalMeanJetBounds.loss degree m + delta)) := by |
| 274 | obtain ⟨C, hC, hb⟩ := M.angular_bound hh hh1 hq m |
| 275 | refine ⟨C, hC, fun w hw hq1 => (hb w hw hq1).trans ?_⟩ |
| 276 | exact mul_le_mul_of_nonneg_left |
| 277 | (Real.rpow_le_rpow_of_exponent_ge (PhysicalWaveSum.physicalQ_pos hh hh1 hw.1) hq1 |
| 278 | (by linarith)) hC |
| 279 | |
| 280 | end GainComparison |
| 281 | |
| 282 | section Assembly |
| 283 | |
| 284 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 285 | |
| 286 | noncomputable def potentialIncrement (W : WaveData h D I K (Fin 3)) |
| 287 | (M : MeanData h (CoordinateAlgebra.A h - 1 / 2)) : VelocityField := |
| 288 | fun w => W.vector w + M.family.angularField w |
| 289 | |
| 290 | noncomputable def pressureIncrement (W : WaveData h D I K Unit) |
| 291 | (M : MeanData h (2 * CoordinateAlgebra.A h)) : PressureField := |
| 292 | fun w => W.pressure w + M.family.field w |
| 293 | |
| 294 | /-- These losses depend only on fixed physical parameters and jet order. |
| 295 | The five offsets are fixed once for the whole stage sequence. -/ |
| 296 | noncomputable def potentialLoss (h waveOffset meanOffset : ℝ) (m : ℕ) : ℝ := |
| 297 | max (PhysicalGraphBounds.waveLoss h m + waveOffset) |
| 298 | (PhysicalMeanJetBounds.loss (CoordinateAlgebra.A h - 1 / 2) m + meanOffset) |
| 299 | |
| 300 | noncomputable def directLoss (h meanOffset : ℝ) (m : ℕ) : ℝ := |
| 301 | PhysicalMeanJetBounds.loss (CoordinateAlgebra.A h) m + meanOffset |
| 302 | |
| 303 | noncomputable def pressureLoss (h waveOffset meanOffset : ℝ) (m : ℕ) : ℝ := |
| 304 | max (PhysicalGraphBounds.waveLoss h m + waveOffset) |
| 305 | (PhysicalMeanJetBounds.loss (2 * CoordinateAlgebra.A h) m + meanOffset) |
| 306 | |
| 307 | private theorem norm_add_jet_le {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 308 | [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} {x : E} |
| 309 | (hf : ContDiffAt ℝ ∞ f x) (hg : ContDiffAt ℝ ∞ g x) (m : ℕ) : |
| 310 | ‖iteratedFDeriv ℝ m (fun y => f y + g y) x‖ ≤ |
| 311 | ‖iteratedFDeriv ℝ m f x‖ + ‖iteratedFDeriv ℝ m g x‖ := by |
| 312 | rw [fun_iteratedFDeriv_add_apply (hf.of_le (nat_le_infty m)) (hg.of_le (nat_le_infty m))] |
| 313 | exact norm_add_le _ _ |
| 314 | |
| 315 | theorem potentialIncrement_smooth {qbig : ℝ} (W : WaveData h D I K (Fin 3)) |
| 316 | (M : MeanData h (CoordinateAlgebra.A h - 1 / 2)) (hh : 0 < h) (hh1 : h < 1 / 2) |
| 317 | (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 318 | ContDiffOn ℝ ∞ (potentialIncrement W M) (CutStageEstimates.physicalSublevel h qbig) := |
| 319 | ((W.vector_smooth hh hh1).mono inter_subset_left).add (M.angular_smooth hh hh1 hq) |
| 320 | |
| 321 | theorem pressureIncrement_smooth {qbig : ℝ} (W : WaveData h D I K Unit) |
| 322 | (M : MeanData h (2 * CoordinateAlgebra.A h)) (hh : 0 < h) (hh1 : h < 1 / 2) |
| 323 | (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 324 | ContDiffOn ℝ ∞ (pressureIncrement W M) (CutStageEstimates.physicalSublevel h qbig) := |
| 325 | ((W.pressure_smooth hh hh1).mono inter_subset_left).add (M.field_smooth hh hh1 hq) |
| 326 | |
| 327 | theorem potentialIncrement_bound {qbig g waveOffset meanOffset : ℝ} |
| 328 | (W : WaveData h D I K (Fin 3)) (M : MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 329 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 330 | (hwave : g ≤ h * W.alpha + W.shift + waveOffset) |
| 331 | (hmean : g ≤ h * M.alpha + meanOffset) (m : ℕ) : |
| 332 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 333 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 334 | ‖iteratedFDeriv ℝ m (potentialIncrement W M) w‖ ≤ |
| 335 | C * PhysicalWaveSum.physicalQ h w ^ (g - potentialLoss h waveOffset meanOffset m) := by |
| 336 | obtain ⟨C₁, hC₁, h₁⟩ := W.vector_bound_with_gain hh hh1 hwave m |
| 337 | obtain ⟨C₂, hC₂, h₂⟩ := M.angular_bound_with_gain hh hh1 hq hmean m |
| 338 | refine ⟨C₁ + C₂, add_nonneg hC₁ hC₂, fun w hw hq1 => ?_⟩ |
| 339 | have hpos := PhysicalWaveSum.physicalQ_pos hh hh1 hw.1 |
| 340 | have ha := norm_bound_mono_loss (l₂ := potentialLoss h waveOffset meanOffset m) |
| 341 | hC₁ hpos hq1 (le_max_left _ _) (h₁ w hw.1 hq1) |
| 342 | have hb := norm_bound_mono_loss (l₂ := potentialLoss h waveOffset meanOffset m) |
| 343 | hC₂ hpos hq1 (le_max_right _ _) (h₂ w hw hq1) |
| 344 | have hsa := (W.vector_smooth hh hh1).contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw.1) |
| 345 | have hsb := (M.angular_smooth hh hh1 hq).contDiffAt |
| 346 | ((CutStageEstimates.physicalSublevel_open hh hh1 qbig).mem_nhds hw) |
| 347 | exact (norm_add_jet_le hsa hsb m).trans ((add_le_add ha hb).trans_eq (by ring)) |
| 348 | |
| 349 | theorem pressureIncrement_bound {qbig g waveOffset meanOffset : ℝ} |
| 350 | (W : WaveData h D I K Unit) (M : MeanData h (2 * CoordinateAlgebra.A h)) |
| 351 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 352 | (hwave : g ≤ h * W.alpha + W.shift + waveOffset) |
| 353 | (hmean : g ≤ h * M.alpha + meanOffset) (m : ℕ) : |
| 354 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 355 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 356 | ‖iteratedFDeriv ℝ m (pressureIncrement W M) w‖ ≤ |
| 357 | C * PhysicalWaveSum.physicalQ h w ^ (g - pressureLoss h waveOffset meanOffset m) := by |
| 358 | obtain ⟨C₁, hC₁, h₁⟩ := W.pressure_bound_with_gain hh hh1 hwave m |
| 359 | obtain ⟨C₂, hC₂, h₂⟩ := M.field_bound_with_gain hh hh1 hq hmean m |
| 360 | refine ⟨C₁ + C₂, add_nonneg hC₁ hC₂, fun w hw hq1 => ?_⟩ |
| 361 | have hpos := PhysicalWaveSum.physicalQ_pos hh hh1 hw.1 |
| 362 | have ha := norm_bound_mono_loss (l₂ := pressureLoss h waveOffset meanOffset m) |
| 363 | hC₁ hpos hq1 (le_max_left _ _) (h₁ w hw.1 hq1) |
| 364 | have hb := norm_bound_mono_loss (l₂ := pressureLoss h waveOffset meanOffset m) |
| 365 | hC₂ hpos hq1 (le_max_right _ _) (h₂ w hw hq1) |
| 366 | have hsa := (W.pressure_smooth hh hh1).contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw.1) |
| 367 | have hsb := (M.field_smooth hh hh1 hq).contDiffAt |
| 368 | ((CutStageEstimates.physicalSublevel_open hh hh1 qbig).mem_nhds hw) |
| 369 | exact (norm_add_jet_le hsa hsb m).trans ((add_le_add ha hb).trans_eq (by ring)) |
| 370 | |
| 371 | end Assembly |
| 372 | |
| 373 | section InitializedStages |
| 374 | |
| 375 | variable {X V : Type*} [Add V] |
| 376 | |
| 377 | /-- The zeroth increment is the base plus finite initialization. Positive |
| 378 | indices keep the supplied correction increments exactly. -/ |
| 379 | noncomputable def addBaseAtZero (base : X → V) (increments : ℕ → X → V) (j : ℕ) (x : X) : V := |
| 380 | if j = 0 then base x + increments 0 x else increments j x |
| 381 | |
| 382 | @[simp] theorem addBaseAtZero_zero (base : X → V) (increments : ℕ → X → V) : |
| 383 | addBaseAtZero base increments 0 = fun x => base x + increments 0 x := by |
| 384 | funext x |
| 385 | simp [addBaseAtZero] |
| 386 | |
| 387 | theorem addBaseAtZero_pos (base : X → V) (increments : ℕ → X → V) {j : ℕ} (hj : 1 ≤ j) : |
| 388 | addBaseAtZero base increments j = increments j := by |
| 389 | funext x |
| 390 | simp only [addBaseAtZero, ite_eq_right (by omega : j ≠ 0)] |
| 391 | |
| 392 | end InitializedStages |
| 393 | |
| 394 | section Sequences |
| 395 | |
| 396 | variable {h qbig : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 397 | |
| 398 | noncomputable def potentialStages (base : VelocityField) |
| 399 | (W : ℕ → WaveData h D I K (Fin 3)) |
| 400 | (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) : ℕ → VelocityField := |
| 401 | addBaseAtZero base (fun j => potentialIncrement (W j) (M j)) |
| 402 | |
| 403 | noncomputable def directStages (M : ℕ → MeanData h (CoordinateAlgebra.A h)) : ℕ → VelocityField := |
| 404 | fun j => (M j).family.angularField |
| 405 | |
| 406 | noncomputable def pressureStages (base : PressureField) |
| 407 | (W : ℕ → WaveData h D I K Unit) |
| 408 | (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) : ℕ → PressureField := |
| 409 | addBaseAtZero base (fun j => pressureIncrement (W j) (M j)) |
| 410 | |
| 411 | theorem potentialStages_zero (base : VelocityField) |
| 412 | (W : ℕ → WaveData h D I K (Fin 3)) (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) : |
| 413 | potentialStages base W M 0 = fun w => base w + ((W 0).vector w + (M 0).family.angularField w) := |
| 414 | addBaseAtZero_zero _ _ |
| 415 | |
| 416 | theorem pressureStages_zero (base : PressureField) |
| 417 | (W : ℕ → WaveData h D I K Unit) (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) : |
| 418 | pressureStages base W M 0 = fun w => base w + ((W 0).pressure w + (M 0).family.field w) := |
| 419 | addBaseAtZero_zero _ _ |
| 420 | |
| 421 | theorem potentialStages_smooth (base : VelocityField) |
| 422 | (W : ℕ → WaveData h D I K (Fin 3)) (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 423 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 424 | (hbase : ContDiffOn ℝ ∞ base (CutStageEstimates.physicalSublevel h qbig)) |
| 425 | (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) : |
| 426 | ∀ j, ContDiffOn ℝ ∞ (potentialStages base W M j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 427 | intro j |
| 428 | have hs := potentialIncrement_smooth (W j) (M j) hh hh1 (hq j) |
| 429 | by_cases hj : j = 0 |
| 430 | · subst j |
| 431 | exact hbase.add hs |
| 432 | · rw [potentialStages, addBaseAtZero_pos _ _ (by omega : 1 ≤ j)] |
| 433 | exact hs |
| 434 | |
| 435 | theorem pressureStages_smooth (base : PressureField) |
| 436 | (W : ℕ → WaveData h D I K Unit) (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 437 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 438 | (hbase : ContDiffOn ℝ ∞ base (CutStageEstimates.physicalSublevel h qbig)) |
| 439 | (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) : |
| 440 | ∀ j, ContDiffOn ℝ ∞ (pressureStages base W M j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 441 | intro j |
| 442 | have hs := pressureIncrement_smooth (W j) (M j) hh hh1 (hq j) |
| 443 | by_cases hj : j = 0 |
| 444 | · subst j |
| 445 | exact hbase.add hs |
| 446 | · rw [pressureStages, addBaseAtZero_pos _ _ (by omega : 1 ≤ j)] |
| 447 | exact hs |
| 448 | |
| 449 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 450 | theorem directStages_smooth (M : ℕ → MeanData h (CoordinateAlgebra.A h)) |
| 451 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) : |
| 452 | ∀ j, ContDiffOn ℝ ∞ (directStages M j) (CutStageEstimates.physicalSublevel h qbig) := |
| 453 | fun j => (M j).angular_smooth hh hh1 (hq j) |
| 454 | |
| 455 | private theorem exists_raw_constants {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 456 | {F : ℕ → SpaceTime → V} {g L : ℕ → ℝ} |
| 457 | (hb : ∀ j, 1 ≤ j → ∀ m, ∃ C : ℝ, 0 ≤ C ∧ |
| 458 | ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 459 | ‖iteratedFDeriv ℝ m (F j) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ (g j - L m)) : |
| 460 | ∃ C : ℕ → ℕ → ℝ, (∀ j m, 0 ≤ C j m) ∧ |
| 461 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) F g L C (fun _ _ => 0) |
| 462 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 463 | have he : ∀ j m, ∃ C : ℝ, 0 ≤ C ∧ (1 ≤ j → |
| 464 | ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 465 | ‖iteratedFDeriv ℝ m (F j) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ (g j - L m)) := by |
| 466 | intro j m |
| 467 | by_cases hj : 1 ≤ j |
| 468 | · obtain ⟨C, hC, hc⟩ := hb j hj m |
| 469 | exact ⟨C, hC, fun _ => hc⟩ |
| 470 | · exact ⟨0, le_rfl, fun hj' => False.elim (hj hj')⟩ |
| 471 | choose C hC hb using he |
| 472 | refine ⟨C, hC, fun j hj m w hw hq => ?_⟩ |
| 473 | simpa only [Real.rpow_zero, mul_one] using hb j m hj w hw.2 hq |
| 474 | |
| 475 | /-- All potential-stage raw estimates are derived from the actual wave |
| 476 | copies and azimuthal stream representations. -/ |
| 477 | theorem potentialStages_raw (base : VelocityField) |
| 478 | (W : ℕ → WaveData h D I K (Fin 3)) (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 479 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) |
| 480 | (g : ℕ → ℝ) (waveOffset meanOffset : ℝ) |
| 481 | (hwave : ∀ j, 1 ≤ j → g j ≤ h * (W j).alpha + (W j).shift + waveOffset) |
| 482 | (hmean : ∀ j, 1 ≤ j → g j ≤ h * (M j).alpha + meanOffset) : |
| 483 | ∃ C : ℕ → ℕ → ℝ, (∀ j m, 0 ≤ C j m) ∧ |
| 484 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) (potentialStages base W M) g |
| 485 | (potentialLoss h waveOffset meanOffset) C (fun _ _ => 0) |
| 486 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 487 | apply exists_raw_constants |
| 488 | intro j hj m |
| 489 | simpa only [potentialStages, addBaseAtZero_pos _ _ hj] using |
| 490 | potentialIncrement_bound (W j) (M j) hh hh1 (hq j) (hwave j hj) (hmean j hj) m |
| 491 | |
| 492 | theorem pressureStages_raw (base : PressureField) |
| 493 | (W : ℕ → WaveData h D I K Unit) (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 494 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) |
| 495 | (g : ℕ → ℝ) (waveOffset meanOffset : ℝ) |
| 496 | (hwave : ∀ j, 1 ≤ j → g j ≤ h * (W j).alpha + (W j).shift + waveOffset) |
| 497 | (hmean : ∀ j, 1 ≤ j → g j ≤ h * (M j).alpha + meanOffset) : |
| 498 | ∃ C : ℕ → ℕ → ℝ, (∀ j m, 0 ≤ C j m) ∧ |
| 499 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) (pressureStages base W M) g |
| 500 | (pressureLoss h waveOffset meanOffset) C (fun _ _ => 0) |
| 501 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 502 | apply exists_raw_constants |
| 503 | intro j hj m |
| 504 | simpa only [pressureStages, addBaseAtZero_pos _ _ hj] using |
| 505 | pressureIncrement_bound (W j) (M j) hh hh1 (hq j) (hwave j hj) (hmean j hj) m |
| 506 | |
| 507 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 508 | theorem directStages_raw (M : ℕ → MeanData h (CoordinateAlgebra.A h)) |
| 509 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) |
| 510 | (g : ℕ → ℝ) (meanOffset : ℝ) |
| 511 | (hmean : ∀ j, 1 ≤ j → g j ≤ h * (M j).alpha + meanOffset) : |
| 512 | ∃ C : ℕ → ℕ → ℝ, (∀ j m, 0 ≤ C j m) ∧ |
| 513 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) (directStages M) g |
| 514 | (directLoss h meanOffset) C (fun _ _ => 0) |
| 515 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 516 | apply exists_raw_constants |
| 517 | intro j hj m |
| 518 | exact (M j).angular_bound_with_gain hh hh1 (hq j) (hmean j hj) m |
| 519 | |
| 520 | end Sequences |
| 521 | |
| 522 | section JointInputs |
| 523 | |
| 524 | variable {h qbig : ℝ} |
| 525 | {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 526 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 527 | |
| 528 | /-- The six raw-stage inputs needed by the mixed diagonal construction, |
| 529 | derived together for one gain sequence. The losses contain only the fixed |
| 530 | five offsets and the derivative order. Initialization remains in stage zero. |
| 531 | No finite-residual estimate or choice of the gain sequence is hidden here. -/ |
| 532 | theorem derived_stage_inputs (baseA : VelocityField) (baseP : PressureField) |
| 533 | (WA : ℕ → WaveData h DA IA KA (Fin 3)) |
| 534 | (MA : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 535 | (MB : ℕ → MeanData h (CoordinateAlgebra.A h)) |
| 536 | (WP : ℕ → WaveData h DP IP KP Unit) |
| 537 | (MP : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 538 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 539 | (hbaseA : ContDiffOn ℝ ∞ baseA (CutStageEstimates.physicalSublevel h qbig)) |
| 540 | (hbaseP : ContDiffOn ℝ ∞ baseP (CutStageEstimates.physicalSublevel h qbig)) |
| 541 | (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) |
| 542 | (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) |
| 543 | (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) |
| 544 | (g : ℕ → ℝ) (deltaWA deltaMA deltaB deltaWP deltaMP : ℝ) |
| 545 | (hWA : ∀ j, 1 ≤ j → g j ≤ h * (WA j).alpha + (WA j).shift + deltaWA) |
| 546 | (hMA : ∀ j, 1 ≤ j → g j ≤ h * (MA j).alpha + deltaMA) |
| 547 | (hMB : ∀ j, 1 ≤ j → g j ≤ h * (MB j).alpha + deltaB) |
| 548 | (hWP : ∀ j, 1 ≤ j → g j ≤ h * (WP j).alpha + (WP j).shift + deltaWP) |
| 549 | (hMP : ∀ j, 1 ≤ j → g j ≤ h * (MP j).alpha + deltaMP) : |
| 550 | ∃ CA CB CP : ℕ → ℕ → ℝ, |
| 551 | (∀ j, ContDiffOn ℝ ∞ (potentialStages baseA WA MA j) |
| 552 | (CutStageEstimates.physicalSublevel h qbig)) ∧ |
| 553 | (∀ j, ContDiffOn ℝ ∞ (directStages MB j) |
| 554 | (CutStageEstimates.physicalSublevel h qbig)) ∧ |
| 555 | (∀ j, ContDiffOn ℝ ∞ (pressureStages baseP WP MP j) |
| 556 | (CutStageEstimates.physicalSublevel h qbig)) ∧ |
| 557 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 558 | (potentialStages baseA WA MA) g (potentialLoss h deltaWA deltaMA) CA (fun _ _ => 0) |
| 559 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ |
| 560 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 561 | (directStages MB) g (directLoss h deltaB) CB (fun _ _ => 0) |
| 562 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ |
| 563 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) |
| 564 | (pressureStages baseP WP MP) g (pressureLoss h deltaWP deltaMP) CP (fun _ _ => 0) |
| 565 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 566 | obtain ⟨CA, _, hA⟩ := potentialStages_raw baseA WA MA hh hh1 hqA g deltaWA deltaMA hWA hMA |
| 567 | obtain ⟨CB, _, hB⟩ := directStages_raw MB hh hh1 hqB g deltaB hMB |
| 568 | obtain ⟨CP, _, hP⟩ := pressureStages_raw baseP WP MP hh hh1 hqP g deltaWP deltaMP hWP hMP |
| 569 | exact ⟨CA, CB, CP, potentialStages_smooth baseA WA MA hh hh1 hbaseA hqA, |
| 570 | directStages_smooth MB hh hh1 hqB, |
| 571 | pressureStages_smooth baseP WP MP hh hh1 hbaseP hqP, hA, hB, hP⟩ |
| 572 | |
| 573 | end JointInputs |
| 574 | |
| 575 | section RepresentationTransfer |
| 576 | |
| 577 | variable {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 578 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 579 | |
| 580 | /-- Actual field equality on the valid open physical domain identifies all |
| 581 | ambient derivatives. No regularity of either totalization outside the domain |
| 582 | is required. -/ |
| 583 | theorem jets_eq_of_eqOn_open {f g : E → V} {U : Set E} (hU : IsOpen U) |
| 584 | (he : EqOn f g U) {x : E} (hx : x ∈ U) (m : ℕ) : |
| 585 | iteratedFDeriv ℝ m f x = iteratedFDeriv ℝ m g x := by |
| 586 | have hg : f =ᶠ[𝓝 x] g := by |
| 587 | filter_upwards [hU.mem_nhds hx] with y hy |
| 588 | exact he hy |
| 589 | exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hg m).self_of_nhds |
| 590 | |
| 591 | /-- Transfer the proved raw estimates to a separately defined family by its |
| 592 | literal representation on the valid physical neighborhood. -/ |
| 593 | theorem rawStageBounds_congr_on {F G : ℕ → E → V} {U S : Set E} |
| 594 | {q : E → ℝ} {g L : ℕ → ℝ} {C p : ℕ → ℕ → ℝ} |
| 595 | (hU : IsOpen U) (hSU : S ⊆ U) (he : ∀ j, EqOn (F j) (G j) U) |
| 596 | (hb : CutStageEstimates.RawStageBounds q G g L C p S) : |
| 597 | CutStageEstimates.RawStageBounds q F g L C p S := by |
| 598 | intro j hj m x hx hq |
| 599 | rw [jets_eq_of_eqOn_open hU (he j) (hSU hx) m] |
| 600 | exact hb j hj m x hx hq |
| 601 | |
| 602 | theorem stage_smooth_congr_on {F G : ℕ → E → V} {U : Set E} |
| 603 | (he : ∀ j, EqOn (F j) (G j) U) (hs : ∀ j, ContDiffOn ℝ ∞ (G j) U) : |
| 604 | ∀ j, ContDiffOn ℝ ∞ (F j) U := fun j => (hs j).congr (he j) |
| 605 | |
| 606 | end RepresentationTransfer |
| 607 | |
| 608 | section ActualBase |
| 609 | |
| 610 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 611 | (H : NominalConeAssembly.Certificate W) {d : ModulatedProfileAssembly.LoopData W} |
| 612 | (v : ModulatedProfileAssembly.Witness d) |
| 613 | |
| 614 | theorem actual_potential_base_smooth (upper : ℝ) (bandFloor : ℕ) (qbig : ℝ) : |
| 615 | ContDiffOn ℝ ∞ (TailGaugePotential.finalPotential H v upper bandFloor) |
| 616 | (CutStageEstimates.physicalSublevel F.data.h qbig) := |
| 617 | (TailGaugePotential.finalPotential_smooth H v upper bandFloor).mono (fun _ hw => ⟨hw.1, mem_univ _⟩) |
| 618 | |
| 619 | theorem actual_pressure_base_smooth (upper : ℝ) (bandFloor : ℕ) (qbig : ℝ) : |
| 620 | ContDiffOn ℝ ∞ (FinalSlowBase.pressure H v upper bandFloor) |
| 621 | (CutStageEstimates.physicalSublevel F.data.h qbig) := |
| 622 | (FinalSlowBase.pressure_smooth H v upper bandFloor).mono (fun _ hw => ⟨hw.1, mem_univ _⟩) |
| 623 | |
| 624 | end ActualBase |
| 625 | |
| 626 | end NavierStokes.PhysicalStageBounds |