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.ActualStageEstimates |
| 2 | import NavierStokes.ActualParticularCycleData |
| 3 | import NavierStokes.ActualValidBandWaves |
| 4 | import NavierStokes.InitialPhysicalData |
| 5 | import NavierStokes.CurrentParticularLabelBounds |
| 6 | import NavierStokes.ActualCurrentParticularBounds |
| 7 | |
| 8 | /-! |
| 9 | # Stage estimates with the current-band particular fields |
| 10 | |
| 11 | The signed waves and mean increments retain their actual native inputs. |
| 12 | The particular contribution is an independently constructed physical field, |
| 13 | with no physical copy-family representation imposed on it. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.GluedStageEstimates |
| 19 | |
| 20 | open Set Function Filter ProblemStatement CorrectionState CorrectionStep |
| 21 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 22 | open ActualPhysicalStageBounds |
| 23 | open scoped ContDiff Topology BigOperators |
| 24 | |
| 25 | |
| 26 | abbrev Bound {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | (qbig : ℝ) (f : SpaceTime → E) (m : ℕ) (r : ℝ) : Prop := |
| 28 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 29 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 30 | ‖iteratedFDeriv ℝ m f w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ r |
| 31 | |
| 32 | /-- These are the original native signed-wave data, without an unrelated |
| 33 | particular copy-family field. -/ |
| 34 | structure SignedInputs (D : Type) [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 35 | (I K : Type*) where |
| 36 | potential : ℕ → PhysicalStageBounds.WaveData h D (Fin 3 × I) K (Fin 3) |
| 37 | pressure : ℕ → PhysicalStageBounds.WaveData h D I K Unit |
| 38 | potential_exponent : ∀ j, 1 / 2 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 39 | (potential j).alpha |
| 40 | pressure_exponent : ∀ j, 1 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 41 | (pressure j).alpha |
| 42 | potential_shift : ∀ j, (potential j).shift = -h |
| 43 | pressure_shift : ∀ j, (pressure j).shift = -(2 * CoordinateAlgebra.A h) |
| 44 | |
| 45 | section FixedRun |
| 46 | |
| 47 | variable {B N0 N : ℕ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 48 | {I K : Type*} |
| 49 | (R : ActualStageEstimates.RunData B N0) |
| 50 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 51 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 52 | (hN : 4 ≤ N) (W : SignedInputs D I K) |
| 53 | |
| 54 | noncomputable def signedMeanPotential (j : ℕ) : VelocityField := fun w => |
| 55 | (W.potential j).vector w + |
| 56 | (ActualStageEstimates.temporalInput R M hN j).family.angularField w + |
| 57 | (ActualStageEstimates.rankInput R M hN j).family.angularField w |
| 58 | |
| 59 | noncomputable def signedMeanPressure (j : ℕ) : PressureField := fun w => |
| 60 | (W.pressure j).pressure w + |
| 61 | (ActualStageEstimates.pressureInput R M hN j).family.field w |
| 62 | |
| 63 | noncomputable def direct (j : ℕ) : VelocityField := |
| 64 | (ActualStageEstimates.angularInput R M hN j).family.angularField |
| 65 | |
| 66 | theorem signedMeanPotential_smooth {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j : ℕ) : |
| 67 | ContDiffOn ℝ ∞ (signedMeanPotential R M hN W j) |
| 68 | (CutStageEstimates.physicalSublevel h qbig) := |
| 69 | (((W.potential j).vector_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono |
| 70 | inter_subset_left).add |
| 71 | ((ActualStageEstimates.temporalInput R M hN j).angular_smooth |
| 72 | outgoing.data.h_pos outgoing.data.h_lt_half hq) |>.add |
| 73 | ((ActualStageEstimates.rankInput R M hN j).angular_smooth |
| 74 | outgoing.data.h_pos outgoing.data.h_lt_half hq) |
| 75 | |
| 76 | theorem signedMeanPressure_smooth {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j : ℕ) : |
| 77 | ContDiffOn ℝ ∞ (signedMeanPressure R M hN W j) |
| 78 | (CutStageEstimates.physicalSublevel h qbig) := |
| 79 | (((W.pressure j).pressure_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono |
| 80 | inter_subset_left).add |
| 81 | ((ActualStageEstimates.pressureInput R M hN j).field_smooth |
| 82 | outgoing.data.h_pos outgoing.data.h_lt_half hq) |
| 83 | |
| 84 | theorem direct_smooth {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j : ℕ) : |
| 85 | ContDiffOn ℝ ∞ (direct R M hN j) (CutStageEstimates.physicalSublevel h qbig) := |
| 86 | (ActualStageEstimates.angularInput R M hN j).angular_smooth |
| 87 | outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 88 | |
| 89 | private theorem potential_gain (j : ℕ) : |
| 90 | ActualIterationLedger.gain h (j + 1) ≤ |
| 91 | h * (W.potential j).alpha + (W.potential j).shift + h := by |
| 92 | have hg := ActualIterationLedger.gain_le_wave outgoing.data.h_pos.le |
| 93 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 94 | rw [← ActualStageEstimates.nativePotential_eq_ledger j] at hg |
| 95 | have ha := mul_le_mul_of_nonneg_left (W.potential_exponent j) outgoing.data.h_pos.le |
| 96 | rw [W.potential_shift] |
| 97 | linarith |
| 98 | |
| 99 | private theorem pressure_gain (j : ℕ) : |
| 100 | ActualIterationLedger.gain h (j + 1) ≤ |
| 101 | h * (W.pressure j).alpha + (W.pressure j).shift + 2 * CoordinateAlgebra.A h := by |
| 102 | have hg := ActualIterationLedger.gain_le_wavePressure outgoing.data.h_pos.le |
| 103 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 104 | rw [← ActualStageEstimates.nativePressure_eq_ledger j] at hg |
| 105 | have ha := mul_le_mul_of_nonneg_left (W.pressure_exponent j) outgoing.data.h_pos.le |
| 106 | rw [W.pressure_shift] |
| 107 | linarith |
| 108 | |
| 109 | private theorem mean_gain (j : ℕ) : |
| 110 | ActualIterationLedger.gain h (j + 1) ≤ |
| 111 | h * (1 + ActualIterationLedger.sigma j - 2 * ChartScales.kappa) + 0 := by |
| 112 | simpa only [← ActualStageEstimates.nativeMean_eq_ledger, add_zero] using |
| 113 | ActualIterationLedger.gain_le_mean outgoing.data.h_pos.le |
| 114 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 115 | |
| 116 | theorem signedMeanPotential_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 117 | Bound qbig (signedMeanPotential R M hN W j) m |
| 118 | (ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.potentialLoss h h 0 m) := by |
| 119 | have hs0 := (W.potential j).vector_bound_with_gain |
| 120 | outgoing.data.h_pos outgoing.data.h_lt_half (potential_gain W j) m |
| 121 | have hs := weaken_bound (qbig := qbig) |
| 122 | (s := ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.potentialLoss h h 0 m) |
| 123 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 124 | (sub_le_sub_left (le_max_left _ _) _) (by |
| 125 | obtain ⟨C, hC, hb⟩ := hs0 |
| 126 | exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) |
| 127 | have ht := weaken_bound |
| 128 | (s := ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.potentialLoss h h 0 m) |
| 129 | outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_left (le_max_right _ _) _) |
| 130 | ((ActualStageEstimates.temporalInput R M hN j).angular_bound_with_gain |
| 131 | outgoing.data.h_pos outgoing.data.h_lt_half hq (mean_gain j) m) |
| 132 | have hr := weaken_bound |
| 133 | (s := ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.potentialLoss h h 0 m) |
| 134 | outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_left (le_max_right _ _) _) |
| 135 | ((ActualStageEstimates.rankInput R M hN j).angular_bound_with_gain |
| 136 | outgoing.data.h_pos outgoing.data.h_lt_half hq (mean_gain j) m) |
| 137 | have ss : ContDiffOn ℝ ∞ (W.potential j).vector |
| 138 | (CutStageEstimates.physicalSublevel h qbig) := |
| 139 | ((W.potential j).vector_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono |
| 140 | inter_subset_left |
| 141 | have st := (ActualStageEstimates.temporalInput R M hN j).angular_smooth |
| 142 | outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 143 | exact add_bounds outgoing.data.h_pos outgoing.data.h_lt_half (ss.add st) |
| 144 | ((ActualStageEstimates.rankInput R M hN j).angular_smooth |
| 145 | outgoing.data.h_pos outgoing.data.h_lt_half hq) |
| 146 | (add_bounds outgoing.data.h_pos outgoing.data.h_lt_half ss st hs ht) hr |
| 147 | |
| 148 | theorem signedMeanPressure_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 149 | Bound qbig (signedMeanPressure R M hN W j) m |
| 150 | (ActualIterationLedger.gain h (j + 1) - |
| 151 | PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) := by |
| 152 | have hs0 := (W.pressure j).pressure_bound_with_gain |
| 153 | outgoing.data.h_pos outgoing.data.h_lt_half (pressure_gain W j) m |
| 154 | have hs := weaken_bound (qbig := qbig) |
| 155 | (s := ActualIterationLedger.gain h (j + 1) - |
| 156 | PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) |
| 157 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 158 | (sub_le_sub_left (le_max_left _ _) _) (by |
| 159 | obtain ⟨C, hC, hb⟩ := hs0 |
| 160 | exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) |
| 161 | have hm := weaken_bound |
| 162 | (s := ActualIterationLedger.gain h (j + 1) - |
| 163 | PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) |
| 164 | outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_left (le_max_right _ _) _) |
| 165 | ((ActualStageEstimates.pressureInput R M hN j).field_bound_with_gain |
| 166 | outgoing.data.h_pos outgoing.data.h_lt_half hq (mean_gain j) m) |
| 167 | exact add_bounds outgoing.data.h_pos outgoing.data.h_lt_half |
| 168 | (((W.pressure j).pressure_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono |
| 169 | inter_subset_left) |
| 170 | ((ActualStageEstimates.pressureInput R M hN j).field_smooth |
| 171 | outgoing.data.h_pos outgoing.data.h_lt_half hq) hs hm |
| 172 | |
| 173 | theorem direct_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 174 | Bound qbig (direct R M hN j) m |
| 175 | (ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.directLoss h 0 m) := |
| 176 | (ActualStageEstimates.angularInput R M hN j).angular_bound_with_gain |
| 177 | outgoing.data.h_pos outgoing.data.h_lt_half hq (mean_gain j) m |
| 178 | |
| 179 | end FixedRun |
| 180 | |
| 181 | /-! ## A physical particular contribution and the same mixed sequence -/ |
| 182 | |
| 183 | noncomputable def potentialLoss (L : ℕ → ℝ) (m : ℕ) : ℝ := |
| 184 | max (L m) (PhysicalStageBounds.potentialLoss h h 0 m) |
| 185 | |
| 186 | noncomputable def pressureLoss (L : ℕ → ℝ) (m : ℕ) : ℝ := |
| 187 | max (L m) (PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) |
| 188 | |
| 189 | noncomputable def backgroundLoss (L : ℕ → ℝ) (waveAlpha waveShift : ℝ) : ℕ → ℝ := |
| 190 | MixedFiniteBackground.initialBackgroundLoss |
| 191 | (InitializedPhysicalBackground.initialLoss h waveAlpha waveShift |
| 192 | (1 - ChartScales.kappa) (9 / 10)) |
| 193 | (potentialLoss L) (PhysicalStageBounds.directLoss h 0) |
| 194 | |
| 195 | section MixedSequence |
| 196 | |
| 197 | variable {B N0 N : ℕ} {D DA0 DP0 : Type} |
| 198 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 199 | [NormedAddCommGroup DA0] [NormedSpace ℝ DA0] |
| 200 | [NormedAddCommGroup DP0] [NormedSpace ℝ DP0] |
| 201 | {I K IA0 KA0 IP0 KP0 : Type*} |
| 202 | (R : ActualStageEstimates.RunData B N0) |
| 203 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 204 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 205 | (hN : 4 ≤ N) (W : SignedInputs D I K) |
| 206 | (particularA : ℕ → VelocityField) (particularP : ℕ → PressureField) |
| 207 | |
| 208 | /-- The four literal contributions use the same order as the physical |
| 209 | sequence construction. -/ |
| 210 | noncomputable def potential (j : ℕ) : VelocityField := fun w => |
| 211 | particularA j w + (W.potential j).vector w + |
| 212 | (ActualStageEstimates.temporalInput R M hN j).family.angularField w + |
| 213 | (ActualStageEstimates.rankInput R M hN j).family.angularField w |
| 214 | |
| 215 | noncomputable def pressure (j : ℕ) : PressureField := fun w => |
| 216 | particularP j w + (W.pressure j).pressure w + |
| 217 | (ActualStageEstimates.pressureInput R M hN j).family.field w |
| 218 | |
| 219 | theorem potential_eq (j : ℕ) : |
| 220 | potential R M hN W particularA j = |
| 221 | fun w => particularA j w + signedMeanPotential R M hN W j w := by |
| 222 | funext w |
| 223 | simp only [potential, signedMeanPotential, add_assoc] |
| 224 | |
| 225 | theorem pressure_eq (j : ℕ) : |
| 226 | pressure R M hN W particularP j = |
| 227 | fun w => particularP j w + signedMeanPressure R M hN W j w := by |
| 228 | funext w |
| 229 | simp only [pressure, signedMeanPressure, add_assoc] |
| 230 | |
| 231 | variable {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 232 | |
| 233 | include hq in |
| 234 | theorem potential_smooth |
| 235 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularA j) (CutStageEstimates.physicalSublevel h qbig)) |
| 236 | (j : ℕ) : |
| 237 | ContDiffOn ℝ ∞ (potential R M hN W particularA j) |
| 238 | (CutStageEstimates.physicalSublevel h qbig) := by |
| 239 | rw [potential_eq] |
| 240 | exact (hs j).add (signedMeanPotential_smooth R M hN W hq j) |
| 241 | |
| 242 | include hq in |
| 243 | theorem pressure_smooth |
| 244 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularP j) (CutStageEstimates.physicalSublevel h qbig)) |
| 245 | (j : ℕ) : |
| 246 | ContDiffOn ℝ ∞ (pressure R M hN W particularP j) |
| 247 | (CutStageEstimates.physicalSublevel h qbig) := by |
| 248 | rw [pressure_eq] |
| 249 | exact (hs j).add (signedMeanPressure_smooth R M hN W hq j) |
| 250 | |
| 251 | include hq in |
| 252 | theorem potential_bound {L : ℕ → ℝ} |
| 253 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularA j) (CutStageEstimates.physicalSublevel h qbig)) |
| 254 | (hb : ∀ j m, Bound qbig (particularA j) m (ActualIterationLedger.gain h (j + 1) - L m)) |
| 255 | (j m : ℕ) : |
| 256 | Bound qbig (potential R M hN W particularA j) m |
| 257 | (ActualIterationLedger.gain h (j + 1) - potentialLoss L m) := by |
| 258 | rw [potential_eq] |
| 259 | apply add_bounds outgoing.data.h_pos outgoing.data.h_lt_half (hs j) |
| 260 | (signedMeanPotential_smooth R M hN W hq j) |
| 261 | · exact weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 262 | (sub_le_sub_left (le_max_left _ _) _) (hb j m) |
| 263 | · exact weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 264 | (sub_le_sub_left (le_max_right _ _) _) (signedMeanPotential_bound R M hN W hq j m) |
| 265 | |
| 266 | include hq in |
| 267 | theorem pressure_bound {L : ℕ → ℝ} |
| 268 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularP j) (CutStageEstimates.physicalSublevel h qbig)) |
| 269 | (hb : ∀ j m, Bound qbig (particularP j) m (ActualIterationLedger.gain h (j + 1) - L m)) |
| 270 | (j m : ℕ) : |
| 271 | Bound qbig (pressure R M hN W particularP j) m |
| 272 | (ActualIterationLedger.gain h (j + 1) - pressureLoss L m) := by |
| 273 | rw [pressure_eq] |
| 274 | apply add_bounds outgoing.data.h_pos outgoing.data.h_lt_half (hs j) |
| 275 | (signedMeanPressure_smooth R M hN W hq j) |
| 276 | · exact weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 277 | (sub_le_sub_left (le_max_left _ _) _) (hb j m) |
| 278 | · exact weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 279 | (sub_le_sub_left (le_max_right _ _) _) (signedMeanPressure_bound R M hN W hq j m) |
| 280 | |
| 281 | variable |
| 282 | (WA : PhysicalStageBounds.WaveData h DA0 IA0 KA0 (Fin 3)) |
| 283 | (WP : PhysicalStageBounds.WaveData h DP0 IP0 KP0 Unit) |
| 284 | (A Bdirect : ℕ → VelocityField) (P : ℕ → PressureField) |
| 285 | |
| 286 | /-- Six field identities on the common open sublevel. Their only content |
| 287 | is identification of the actual sequence and its physical components. -/ |
| 288 | structure Representations : Prop where |
| 289 | potential_zero : EqOn (A 0) |
| 290 | (initialPotential certificate modulation upper B WA |
| 291 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN)) |
| 292 | (CutStageEstimates.physicalSublevel h qbig) |
| 293 | direct_zero : EqOn (Bdirect 0) (ActualMeanPhysicalData.initialAngularFamily B N0 N).angularField |
| 294 | (CutStageEstimates.physicalSublevel h qbig) |
| 295 | pressure_zero : EqOn (P 0) |
| 296 | (fun w => FinalSlowBase.pressure certificate modulation upper B w + |
| 297 | initialPressureIncrement WP (actualInitialPressureInput B N0 N hN) w) |
| 298 | (CutStageEstimates.physicalSublevel h qbig) |
| 299 | potential_succ : ∀ j, EqOn (potential R M hN W particularA j) (A (j + 1)) |
| 300 | (CutStageEstimates.physicalSublevel h qbig) |
| 301 | direct_succ : ∀ j, EqOn (direct R M hN j) (Bdirect (j + 1)) |
| 302 | (CutStageEstimates.physicalSublevel h qbig) |
| 303 | pressure_succ : ∀ j, EqOn (pressure R M hN W particularP j) (P (j + 1)) |
| 304 | (CutStageEstimates.physicalSublevel h qbig) |
| 305 | |
| 306 | variable {A Bdirect P} |
| 307 | (e : Representations R M hN W particularA particularP WA WP A Bdirect P (qbig := qbig)) |
| 308 | |
| 309 | include e hq |
| 310 | |
| 311 | theorem Representations.potential_smooth |
| 312 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularA j) (CutStageEstimates.physicalSublevel h qbig)) |
| 313 | (j : ℕ) : ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 314 | cases j with |
| 315 | | zero => |
| 316 | exact (initialPotential_smooth certificate modulation upper B WA |
| 317 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) hq hq).congr |
| 318 | (fun _ hw => e.potential_zero hw) |
| 319 | | succ j => |
| 320 | exact (GluedStageEstimates.potential_smooth R M hN W particularA hq hs j).congr |
| 321 | (fun _ hw => (e.potential_succ j hw).symm) |
| 322 | |
| 323 | theorem Representations.direct_smooth (j : ℕ) : |
| 324 | ContDiffOn ℝ ∞ (Bdirect j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 325 | cases j with |
| 326 | | zero => |
| 327 | exact ((actualInitialAngularInput B N0 N hN).angular_smooth |
| 328 | outgoing.data.h_pos outgoing.data.h_lt_half hq).congr (fun _ hw => e.direct_zero hw) |
| 329 | | succ j => |
| 330 | exact (GluedStageEstimates.direct_smooth R M hN hq j).congr |
| 331 | (fun _ hw => (e.direct_succ j hw).symm) |
| 332 | |
| 333 | theorem Representations.pressure_smooth |
| 334 | (hs : ∀ j, ContDiffOn ℝ ∞ (particularP j) (CutStageEstimates.physicalSublevel h qbig)) |
| 335 | (j : ℕ) : ContDiffOn ℝ ∞ (P j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 336 | cases j with |
| 337 | | zero => |
| 338 | have hb : ContDiffOn ℝ ∞ (FinalSlowBase.pressure certificate modulation upper B) |
| 339 | (CutStageEstimates.physicalSublevel h qbig) := |
| 340 | (FinalSlowBase.pressure_smooth certificate modulation upper B).mono |
| 341 | (fun _ hw => ⟨hw.1, mem_univ _⟩) |
| 342 | exact (hb.add (initialPressureIncrement_smooth WP (actualInitialPressureInput B N0 N hN) |
| 343 | outgoing.data.h_pos outgoing.data.h_lt_half hq)).congr (fun _ hw => e.pressure_zero hw) |
| 344 | | succ j => |
| 345 | exact (GluedStageEstimates.pressure_smooth R M hN W particularP hq hs j).congr |
| 346 | (fun _ hw => (e.pressure_succ j hw).symm) |
| 347 | |
| 348 | /-- The algebraic consumer of the separate current-particular estimates. |
| 349 | The fixed-run native inputs derive all signed and mean estimates here. -/ |
| 350 | theorem represented_raw_bounds {LA LP : ℕ → ℝ} |
| 351 | (hsA : ∀ j, ContDiffOn ℝ ∞ (particularA j) (CutStageEstimates.physicalSublevel h qbig)) |
| 352 | (hsP : ∀ j, ContDiffOn ℝ ∞ (particularP j) (CutStageEstimates.physicalSublevel h qbig)) |
| 353 | (hbA : ∀ j m, Bound qbig (particularA j) m (ActualIterationLedger.gain h (j + 1) - LA m)) |
| 354 | (hbP : ∀ j m, Bound qbig (particularP j) m (ActualIterationLedger.gain h (j + 1) - LP m)) : |
| 355 | ∃ CA CB CP : ℕ → ℕ → ℝ, |
| 356 | (∀ j m, 0 ≤ CA j m ∧ 0 ≤ CB j m ∧ 0 ≤ CP j m) ∧ |
| 357 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) A (ActualIterationLedger.gain h) |
| 358 | (potentialLoss LA) CA (fun _ _ => 0) |
| 359 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ |
| 360 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) Bdirect (ActualIterationLedger.gain h) |
| 361 | (PhysicalStageBounds.directLoss h 0) CB (fun _ _ => 0) |
| 362 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ |
| 363 | CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) P (ActualIterationLedger.gain h) |
| 364 | (pressureLoss LP) CP (fun _ _ => 0) |
| 365 | (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by |
| 366 | obtain ⟨CA, hCA, ha⟩ := raw_of_positive_bounds (fun j m => |
| 367 | bound_congr outgoing.data.h_pos outgoing.data.h_lt_half (e.potential_succ j) |
| 368 | (potential_bound R M hN W particularA hq hsA hbA j m)) |
| 369 | obtain ⟨CB, hCB, hb⟩ := raw_of_positive_bounds (fun j m => |
| 370 | bound_congr outgoing.data.h_pos outgoing.data.h_lt_half (e.direct_succ j) |
| 371 | (direct_bound R M hN hq j m)) |
| 372 | obtain ⟨CP, hCP, hp⟩ := raw_of_positive_bounds (fun j m => |
| 373 | bound_congr outgoing.data.h_pos outgoing.data.h_lt_half (e.pressure_succ j) |
| 374 | (pressure_bound R M hN W particularP hq hsP hbP j m)) |
| 375 | exact ⟨CA, CB, CP, fun j m => ⟨hCA j m, hCB j m, hCP j m⟩, ha, hb, hp⟩ |
| 376 | |
| 377 | /-- The residual floor is fixed to the next band. Only exact physical |
| 378 | realizations of finite prefixes enter the residual part of the proof. -/ |
| 379 | noncomputable def stageEstimates_of_component_bounds {LA LP : ℕ → ℝ} |
| 380 | (hsA : ∀ j, ContDiffOn ℝ ∞ (particularA j) (CutStageEstimates.physicalSublevel h qbig)) |
| 381 | (hsP : ∀ j, ContDiffOn ℝ ∞ (particularP j) (CutStageEstimates.physicalSublevel h qbig)) |
| 382 | (hbA : ∀ j m, Bound qbig (particularA j) m (ActualIterationLedger.gain h (j + 1) - LA m)) |
| 383 | (hbP : ∀ j m, Bound qbig (particularP j) m (ActualIterationLedger.gain h (j + 1) - LP m)) |
| 384 | (hqbig : 0 < qbig) (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 385 | (d : ∀ J, ActualCycleResidualBounds.PhysicalData B (N + 1) |
| 386 | (ActualCyclePreservation.state B N0 J).state |
| 387 | (MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 388 | (DiagonalJetBounds.uncutPrefix P (J + 1))) : |
| 389 | MixedCandidateAssembly.StageEstimates h qbig A Bdirect P := by |
| 390 | let hr := represented_raw_bounds R M hN W particularA particularP hq WA WP e hsA hsP hbA hbP |
| 391 | let CA := hr.choose |
| 392 | let CB := hr.choose_spec.choose |
| 393 | let CP := hr.choose_spec.choose_spec.choose |
| 394 | have hc := hr.choose_spec.choose_spec.choose_spec |
| 395 | have hsa := e.potential_smooth R M hN W particularA particularP hq WA WP hsA |
| 396 | have hsb := e.direct_smooth R M hN W particularA particularP hq WA WP |
| 397 | have hsp := e.pressure_smooth R M hN W particularA particularP hq WA WP hsP |
| 398 | refine { |
| 399 | potential_smooth := hsa |
| 400 | direct_smooth := hsb |
| 401 | pressure_smooth := hsp |
| 402 | gain := ActualIterationLedger.gain h |
| 403 | gain_zero := ActualIterationLedger.gain_nonneg outgoing.data.h_pos.le 0 |
| 404 | gain_pos := fun _ hj => ActualIterationLedger.gain_pos outgoing.data.h_pos hj |
| 405 | gain_mono := ActualIterationLedger.gain_monotone outgoing.data.h_pos.le |
| 406 | gain_top := ActualIterationLedger.gain_tendsto_atTop outgoing.data.h_pos |
| 407 | potentialLoss := potentialLoss LA |
| 408 | directLoss := PhysicalStageBounds.directLoss h 0 |
| 409 | pressureLoss := pressureLoss LP |
| 410 | potentialConstant := CA |
| 411 | directConstant := CB |
| 412 | pressureConstant := CP |
| 413 | potentialLog := fun _ _ => 0 |
| 414 | directLog := fun _ _ => 0 |
| 415 | pressureLog := fun _ _ => 0 |
| 416 | potential_bound := hc.2.1 |
| 417 | direct_bound := hc.2.2.1 |
| 418 | pressure_bound := hc.2.2.2 |
| 419 | backgroundLoss := backgroundLoss LA WA.alpha WA.shift |
| 420 | residualLoss := ActualCycleResidualBounds.fixedLoss |
| 421 | finite_background := ?_ |
| 422 | finite_residual := ?_ } |
| 423 | · have hU := CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half qbig |
| 424 | have hlU := InitializedPhysicalBackground.endpoint_sublevel |
| 425 | outgoing.data.h_pos outgoing.data.h_lt_half hqbig |
| 426 | apply MixedFiniteBackground.mixed_background_from_initial hU hlU |
| 427 | (ActualBaseVelocityBounds.endpoint_past.and hlU) |
| 428 | (ActualBaseVelocityBounds.endpoint_q_small outgoing.data.h_pos outgoing.data.h_lt_half) |
| 429 | hsa hsb hc.2.1 hc.2.2.1 (fun j _ => ActualIterationLedger.gain_nonneg outgoing.data.h_pos.le j) |
| 430 | intro m |
| 431 | simpa only [actualInitialTemporalInput, actualInitialRankInput, |
| 432 | actualInitialAngularInput, MeanInput.ofMoving, min_self] using |
| 433 | represented_initial_rate certificate modulation upper B WA |
| 434 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) |
| 435 | (actualInitialAngularInput B N0 N hN) hU hlU e.potential_zero e.direct_zero m |
| 436 | · exact ActualCycleResidualBounds.finite_residual_rates hGeom (by omega) |
| 437 | (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 438 | (fun J => MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 439 | (fun J => DiagonalJetBounds.uncutPrefix P (J + 1)) |
| 440 | (fun J => ActualCyclePreservation.broad_invariant (R.invariant J)) d |
| 441 | |
| 442 | end MixedSequence |
| 443 | |
| 444 | /-! ## The literal fields and native source data of the fixed run -/ |
| 445 | |
| 446 | noncomputable def currentPotential (B N0 N : ℕ) (j : ℕ) : VelocityField := |
| 447 | ActualValidBandWaves.gluedPotential (ActualCyclePreservation.state B N0 j) N |
| 448 | |
| 449 | noncomputable def currentPressure (B N0 N : ℕ) (j : ℕ) : PressureField := |
| 450 | ActualValidBandWaves.gluedPressure (ActualCyclePreservation.state B N0 j) N |
| 451 | |
| 452 | /-- Transfer a uniform estimate on comparable current bands to their |
| 453 | actual glued representative. The bound has no factor counting charts. -/ |
| 454 | theorem glued_bound_of_local {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 455 | {N : ℕ} {f : ℕ → SpaceTime → E} {qbig r : ℝ} (m : ℕ) |
| 456 | (hf : ValidDyadicBandCover.Compatible h N f) (hq : qbig ≤ ChartScales.Q N) |
| 457 | (hb : ∃ C : ℝ, 0 ≤ C ∧ ∀ n, N ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 458 | PhysicalWaveSum.physicalQ h w ≤ ChartScales.Q n → PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 459 | ‖iteratedFDeriv ℝ m (f n) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ r) : |
| 460 | Bound qbig (ValidDyadicBandCover.field h N f) m r := by |
| 461 | obtain ⟨C, hC, hb⟩ := hb |
| 462 | refine ⟨C, hC, fun w hw hqw => ?_⟩ |
| 463 | exact ValidDyadicBandCover.field_jet_bound_at outgoing.data.h_pos outgoing.data.h_lt_half |
| 464 | hf hw.1 (hw.2.le.trans hq) m |
| 465 | (fun n hn hband hcomp => hb n hn w hband hcomp hqw) |
| 466 | |
| 467 | private theorem choose_mode_constants {P : ℤ → ℝ → Prop} |
| 468 | (hP : ∀ k, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ P k C) : |
| 469 | ∃ C : ℤ → ℝ, (∀ k, 0 ≤ C k) ∧ ∀ k, k ≠ 0 → P k (C k) := by |
| 470 | classical |
| 471 | have hs (k : ℤ) : ∃ C : ℝ, 0 ≤ C ∧ (k ≠ 0 → P k C) := by |
| 472 | by_cases hk : k = 0 |
| 473 | · exact ⟨0, le_rfl, fun hn => (hn hk).elim⟩ |
| 474 | · obtain ⟨C, hC, hc⟩ := hP k hk |
| 475 | exact ⟨C, hC, fun _ => hc⟩ |
| 476 | choose C hC hc using hs |
| 477 | exact ⟨C, hC, hc⟩ |
| 478 | |
| 479 | section HarmonicSums |
| 480 | |
| 481 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (ActualInitialization.Index B N0)} |
| 482 | (H : ActualParticularCycleData.Invariant σ x) |
| 483 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 484 | |
| 485 | include H hGeom |
| 486 | |
| 487 | /-- The actual finite harmonic sum keeps the geometric factor 2250. |
| 488 | The harmonic constants are summed before the band and point are chosen. -/ |
| 489 | theorem localPotential_bound_of_modes (m : ℕ) {r : ℝ} |
| 490 | (hb : ∀ k : ℤ, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ |
| 491 | ∀ (l : ActualParticularStageControls.Label B N0) (n : ℕ), 4 ≤ n → |
| 492 | ∀ w ∈ ValidDyadicBandCover.band h n, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 493 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotentialMode |
| 494 | (ActualCycleParameters.particularState x) l k n) w‖ ≤ |
| 495 | C * PhysicalWaveSum.physicalQ h w ^ r) : |
| 496 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 497 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 498 | ‖iteratedFDeriv ℝ m (ActualValidBandWaves.localPotential x n) w‖ ≤ |
| 499 | C * PhysicalWaveSum.physicalQ h w ^ r := by |
| 500 | classical |
| 501 | obtain ⟨C, hC, hc⟩ := choose_mode_constants hb |
| 502 | refine ⟨2250 * ∑ k ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, C k, |
| 503 | mul_nonneg (by norm_num) (Finset.sum_nonneg (fun k _ => hC k)), ?_⟩ |
| 504 | intro n hn w hw hq |
| 505 | have hq0 := (PhysicalWaveSum.physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1).le |
| 506 | have he := CurrentParticularLabelBounds.localPotential_jet_bound_of_invariant H hGeom n m hw |
| 507 | (fun k => C k * PhysicalWaveSum.physicalQ h w ^ r) |
| 508 | (fun k _ => mul_nonneg (hC k) (Real.rpow_nonneg hq0 r)) |
| 509 | (fun l _ k hk _ => hc k ((ParticularWaveAssembly.mem_modes _ _).mp hk).1 l n hn w hw hq) |
| 510 | exact he.trans_eq (by rw [← Finset.sum_mul, mul_assoc]) |
| 511 | |
| 512 | theorem localPressure_bound_of_modes (m : ℕ) {r : ℝ} |
| 513 | (hb : ∀ k : ℤ, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ |
| 514 | ∀ (l : ActualParticularStageControls.Label B N0) (n : ℕ), 4 ≤ n → |
| 515 | ∀ w ∈ ValidDyadicBandCover.band h n, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 516 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressureMode |
| 517 | (ActualCycleParameters.particularState x) l k n) w‖ ≤ |
| 518 | C * PhysicalWaveSum.physicalQ h w ^ r) : |
| 519 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 520 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 521 | ‖iteratedFDeriv ℝ m (ActualValidBandWaves.localPressure x n) w‖ ≤ |
| 522 | C * PhysicalWaveSum.physicalQ h w ^ r := by |
| 523 | classical |
| 524 | obtain ⟨C, hC, hc⟩ := choose_mode_constants hb |
| 525 | refine ⟨2250 * ∑ k ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, C k, |
| 526 | mul_nonneg (by norm_num) (Finset.sum_nonneg (fun k _ => hC k)), ?_⟩ |
| 527 | intro n hn w hw hq |
| 528 | have hq0 := (PhysicalWaveSum.physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1).le |
| 529 | have he := CurrentParticularLabelBounds.localPressure_jet_bound_of_invariant H hGeom n m hw |
| 530 | (fun k => C k * PhysicalWaveSum.physicalQ h w ^ r) |
| 531 | (fun k _ => mul_nonneg (hC k) (Real.rpow_nonneg hq0 r)) |
| 532 | (fun l _ k hk _ => hc k ((ParticularWaveAssembly.mem_modes _ _).mp hk).1 l n hn w hw hq) |
| 533 | exact he.trans_eq (by rw [← Finset.sum_mul, mul_assoc]) |
| 534 | |
| 535 | end HarmonicSums |
| 536 | |
| 537 | section ActualRun |
| 538 | |
| 539 | variable {B N0 N : ℕ} (R : ActualStageEstimates.RunData B N0) |
| 540 | |
| 541 | include R |
| 542 | |
| 543 | theorem current_preservesCarriers (j : ℕ) : |
| 544 | ActualParticularStageControls.PreservesCarriers |
| 545 | (ActualCycleParameters.particularState (ActualCyclePreservation.state B N0 j)) := |
| 546 | ActualParticularCycleData.preservesCarriers (R.invariant j) |
| 547 | |
| 548 | theorem current_inputSupport (j : ℕ) : |
| 549 | ActualParticularStageControls.InputSupport |
| 550 | (ActualCycleParameters.particularState (ActualCyclePreservation.state B N0 j)) := |
| 551 | ActualParticularCycleData.native_inputSupport (R.invariant j) |
| 552 | |
| 553 | /-- The source class is derived from the stored residual invariant and |
| 554 | the actual label/coordinate reindexing. -/ |
| 555 | theorem current_source_class (j : ℕ) (k : ℤ) (hk : k ≠ 0) : |
| 556 | LabelSumBounds.UniformWaveClass |
| 557 | (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) |
| 558 | ActualParticularStageControls.nativeEnvelope (1 / 2 + ActualIterationLedger.sigma j) |
| 559 | (ActualParticularStageControls.currentSource |
| 560 | (ActualCycleParameters.particularState (ActualCyclePreservation.state B N0 j)) k) := |
| 561 | ActualParticularCycleData.native_source_class (R.invariant j) k hk |
| 562 | |
| 563 | theorem current_compatible |
| 564 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 565 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) (j N : ℕ) : |
| 566 | ValidDyadicBandCover.Compatible h N |
| 567 | (ActualValidBandWaves.localPotential (ActualCyclePreservation.state B N0 j)) ∧ |
| 568 | ValidDyadicBandCover.Compatible h N |
| 569 | (ActualValidBandWaves.localPressure (ActualCyclePreservation.state B N0 j)) := |
| 570 | ActualValidBandWaves.compatible (R.invariant j) (C j) hGeom |
| 571 | ActualCoreSupport.refinedCarrier_closed (fun _ _ => subset_rfl) N |
| 572 | |
| 573 | theorem current_fields_smooth |
| 574 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 575 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 576 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j : ℕ) : |
| 577 | ContDiffOn ℝ ∞ (currentPotential B N0 N j) (CutStageEstimates.physicalSublevel h qbig) ∧ |
| 578 | ContDiffOn ℝ ∞ (currentPressure B N0 N j) (CutStageEstimates.physicalSublevel h qbig) := |
| 579 | ActualValidBandWaves.fields_smooth (R.invariant j) (C j) hGeom |
| 580 | ActualCoreSupport.refinedCarrier_closed (fun _ _ => subset_rfl) hq |
| 581 | |
| 582 | omit R in |
| 583 | theorem current_label_mem (j n : ℕ) (l : ActualParticularStageControls.Label B N0) : |
| 584 | l ∈ (ActualCycleParameters.particularState |
| 585 | (ActualCyclePreservation.state B N0 j)).coefficients.labels n ↔ |
| 586 | (l.2, l.1) ∈ activeLabels standardRegion B N0 n := by |
| 587 | have hlabels : (ActualCyclePreservation.state B N0 j).coefficients.labels = |
| 588 | activeLabels standardRegion B N0 := ActualCycleCoherence.state_labels B N0 j |
| 589 | simpa only [ActualCycleParameters.swap_apply, hlabels] using |
| 590 | ActualCycleParameters.particularState_mem (ActualCyclePreservation.state B N0 j) n (l.2, l.1) |
| 591 | |
| 592 | omit R in |
| 593 | theorem gain_le_current_exponent (j : ℕ) : |
| 594 | ActualIterationLedger.gain h (j + 1) ≤ h * ((1 / 2 + ActualIterationLedger.sigma j) + 1 / 2) := by |
| 595 | have hg := ActualIterationLedger.gain_le_wave outgoing.data.h_pos.le |
| 596 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 597 | rw [← ActualStageEstimates.nativePotential_eq_ledger j] at hg |
| 598 | apply hg.trans |
| 599 | apply mul_le_mul_of_nonneg_left _ outgoing.data.h_pos.le |
| 600 | have hk : 0 ≤ ChartScales.kappa := by norm_num [ChartScales.kappa] |
| 601 | linarith |
| 602 | |
| 603 | omit R in |
| 604 | /-- The current-phase loss fits inside the original physical wave loss. |
| 605 | The inequality uses the fixed condition `h < 1/2`. -/ |
| 606 | theorem current_loss_le_wave (degree : ℝ) (m : ℕ) : |
| 607 | degree + (2 * h) * (m : ℝ) + PhysicalGraphBounds.graphLoss m + 1 ≤ |
| 608 | PhysicalGraphBounds.waveLoss h m + degree := by |
| 609 | have hm : 0 ≤ (m : ℝ) := Nat.cast_nonneg m |
| 610 | have hh : 0 ≤ 2 - 3 * h := by linarith [outgoing.data.h_lt_half] |
| 611 | have hb := mul_nonneg hh hm |
| 612 | unfold PhysicalGraphBounds.waveLoss |
| 613 | nlinarith |
| 614 | |
| 615 | omit R in |
| 616 | theorem current_potential_loss_le (m : ℕ) : |
| 617 | h + (2 * h) * (m : ℝ) + PhysicalGraphBounds.graphLoss m + 1 ≤ |
| 618 | PhysicalStageBounds.potentialLoss h h 0 m := |
| 619 | (current_loss_le_wave h m).trans (le_max_left _ _) |
| 620 | |
| 621 | omit R in |
| 622 | theorem current_pressure_loss_le (m : ℕ) : |
| 623 | 2 * CoordinateAlgebra.A h + (2 * h) * (m : ℝ) + PhysicalGraphBounds.graphLoss m + 1 ≤ |
| 624 | PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m := |
| 625 | (current_loss_le_wave (2 * CoordinateAlgebra.A h) m).trans (le_max_left _ _) |
| 626 | |
| 627 | theorem current_potential_bound |
| 628 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 629 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 630 | (hN : 4 ≤ N) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 631 | Bound qbig (currentPotential B N0 N j) m |
| 632 | (ActualIterationLedger.gain h (j + 1) - PhysicalStageBounds.potentialLoss h h 0 m) := by |
| 633 | obtain ⟨K, hK, hb⟩ := localPotential_bound_of_modes (R.invariant j) hGeom m |
| 634 | (fun k hk => ActualCurrentParticularBounds.current_potential_mode_bound |
| 635 | (R.invariant j) hGeom k hk m) |
| 636 | have hg : Bound qbig (currentPotential B N0 N j) m |
| 637 | (h * ((1 / 2 + ActualIterationLedger.sigma j) + 1 / 2) - |
| 638 | ActualCurrentParticularBounds.currentLoss h (2 * h) m) := |
| 639 | glued_bound_of_local m (current_compatible R C hGeom j N).1 hq |
| 640 | ⟨K, hK, fun n hn w hw _ hqw => hb n (hN.trans hn) w hw hqw⟩ |
| 641 | apply weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half _ hg |
| 642 | have hgain := gain_le_current_exponent j |
| 643 | have hloss := current_potential_loss_le m |
| 644 | unfold ActualCurrentParticularBounds.currentLoss |
| 645 | linarith |
| 646 | |
| 647 | theorem current_pressure_bound |
| 648 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 649 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 650 | (hN : 4 ≤ N) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 651 | Bound qbig (currentPressure B N0 N j) m |
| 652 | (ActualIterationLedger.gain h (j + 1) - |
| 653 | PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) := by |
| 654 | obtain ⟨K, hK, hb⟩ := localPressure_bound_of_modes (R.invariant j) hGeom m |
| 655 | (fun k hk => ActualCurrentParticularBounds.current_pressure_mode_bound |
| 656 | (R.invariant j) hGeom k hk m) |
| 657 | have hg : Bound qbig (currentPressure B N0 N j) m |
| 658 | (h * ((1 / 2 + ActualIterationLedger.sigma j) + 1 / 2) - |
| 659 | ActualCurrentParticularBounds.currentLoss (2 * CoordinateAlgebra.A h) (2 * h) m) := |
| 660 | glued_bound_of_local m (current_compatible R C hGeom j N).2 hq |
| 661 | ⟨K, hK, fun n hn w hw _ hqw => hb n (hN.trans hn) w hw hqw⟩ |
| 662 | apply weaken_bound outgoing.data.h_pos outgoing.data.h_lt_half _ hg |
| 663 | have hgain := gain_le_current_exponent j |
| 664 | have hloss := current_pressure_loss_le m |
| 665 | unfold ActualCurrentParticularBounds.currentLoss |
| 666 | linarith |
| 667 | |
| 668 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 669 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 670 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 671 | (hN : 4 ≤ N) (W : SignedInputs D I K) |
| 672 | |
| 673 | /-- The representation record specialized to the exact glued particular |
| 674 | fields and the constructed initial primary wave data. -/ |
| 675 | abbrev ActualRepresentations (qbig : ℝ) |
| 676 | (A Bdirect : ℕ → VelocityField) (P : ℕ → PressureField) : Prop := |
| 677 | Representations R M hN W (currentPotential B N0 N) (currentPressure B N0 N) |
| 678 | (InitialPhysicalData.potentialWaveData B N0) (InitialPhysicalData.pressureWaveData B N0) |
| 679 | A Bdirect P (qbig := qbig) |
| 680 | |
| 681 | /-- The actual glued current-band rates, native signed/mean data, and |
| 682 | exact finite-prefix realizations supply the complete mixed-stage record. |
| 683 | No physical derivative estimate is a premise of this constructor. -/ |
| 684 | noncomputable def actualStageEstimates |
| 685 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 686 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (hqbig : 0 < qbig) |
| 687 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 688 | (A Bdirect : ℕ → VelocityField) (P : ℕ → PressureField) |
| 689 | (e : ActualRepresentations R M hN W qbig A Bdirect P) |
| 690 | (d : ∀ J, ActualCycleResidualBounds.PhysicalData B (N + 1) |
| 691 | (ActualCyclePreservation.state B N0 J).state |
| 692 | (MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 693 | (DiagonalJetBounds.uncutPrefix P (J + 1))) : |
| 694 | MixedCandidateAssembly.StageEstimates h qbig A Bdirect P := by |
| 695 | let E := stageEstimates_of_component_bounds R M hN W |
| 696 | (currentPotential B N0 N) (currentPressure B N0 N) hq |
| 697 | (InitialPhysicalData.potentialWaveData B N0) (InitialPhysicalData.pressureWaveData B N0) e |
| 698 | (fun j => (current_fields_smooth R C hGeom hq j).1) |
| 699 | (fun j => (current_fields_smooth R C hGeom hq j).2) |
| 700 | (current_potential_bound R C hGeom hN hq) |
| 701 | (current_pressure_bound R C hGeom hN hq) hqbig hGeom d |
| 702 | have hA : E.potentialLoss = PhysicalStageBounds.potentialLoss h h 0 := by |
| 703 | funext m |
| 704 | exact max_self _ |
| 705 | have hP : E.pressureLoss = PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 := by |
| 706 | funext m |
| 707 | exact max_self _ |
| 708 | have hBg : E.backgroundLoss = ActualStageEstimates.backgroundLoss 1 (-h) := by |
| 709 | change backgroundLoss (PhysicalStageBounds.potentialLoss h h 0) 1 (-h) = _ |
| 710 | funext m |
| 711 | simp only [backgroundLoss, ActualStageEstimates.backgroundLoss, |
| 712 | MixedFiniteBackground.initialBackgroundLoss, potentialLoss, max_self] |
| 713 | refine { E with |
| 714 | potentialLoss := PhysicalStageBounds.potentialLoss h h 0 |
| 715 | pressureLoss := PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 |
| 716 | backgroundLoss := ActualStageEstimates.backgroundLoss 1 (-h) |
| 717 | potential_bound := ?_ |
| 718 | pressure_bound := ?_ |
| 719 | finite_background := ?_ } |
| 720 | · rw [← hA] |
| 721 | exact E.potential_bound |
| 722 | · rw [← hP] |
| 723 | exact E.pressure_bound |
| 724 | · rw [← hBg] |
| 725 | exact E.finite_background |
| 726 | |
| 727 | theorem actualStageEstimates_ledger |
| 728 | (C : ∀ j, ActualCycleCoherence.Coherent (ActualCyclePreservation.state B N0 j)) |
| 729 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (hqbig : 0 < qbig) |
| 730 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 731 | (A Bdirect : ℕ → VelocityField) (P : ℕ → PressureField) |
| 732 | (e : ActualRepresentations R M hN W qbig A Bdirect P) |
| 733 | (d : ∀ J, ActualCycleResidualBounds.PhysicalData B (N + 1) |
| 734 | (ActualCyclePreservation.state B N0 J).state |
| 735 | (MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 736 | (DiagonalJetBounds.uncutPrefix P (J + 1))) : |
| 737 | let E := actualStageEstimates R M hN W C hq hqbig hGeom A Bdirect P e d |
| 738 | E.gain = ActualIterationLedger.gain h ∧ |
| 739 | E.potentialLoss = PhysicalStageBounds.potentialLoss h h 0 ∧ |
| 740 | E.directLoss = PhysicalStageBounds.directLoss h 0 ∧ |
| 741 | E.pressureLoss = PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 ∧ |
| 742 | E.backgroundLoss = ActualStageEstimates.backgroundLoss 1 (-h) ∧ |
| 743 | E.residualLoss = ActualCycleResidualBounds.fixedLoss := |
| 744 | ⟨rfl, rfl, rfl, rfl, rfl, rfl⟩ |
| 745 | |
| 746 | end ActualRun |
| 747 | |
| 748 | end NavierStokes.GluedStageEstimates |