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.CorrectionAnalyticStep |
| 2 | import NavierStokes.ActualCycleParameters |
| 3 | import NavierStokes.ActualCarrierGeometry |
| 4 | import NavierStokes.ActualCoreSupport |
| 5 | import NavierStokes.ActualWaveRegularityData |
| 6 | import NavierStokes.ActualParticularMeanGain |
| 7 | import NavierStokes.ActualSignedOutputBounds |
| 8 | import NavierStokes.ActualSignedGaussian |
| 9 | import NavierStokes.ActualCycleAssembly |
| 10 | import NavierStokes.ActualSignedMeanBinding |
| 11 | import NavierStokes.ActualSignedCommonDynamics |
| 12 | import NavierStokes.ActualParticularCycleData |
| 13 | import NavierStokes.ActualIntermediateDebtBounds |
| 14 | import NavierStokes.ActualCycleCoherence |
| 15 | import NavierStokes.ActualCyclePeriodicity |
| 16 | import NavierStokes.ActualIterationLedger |
| 17 | |
| 18 | /-! |
| 19 | # Preservation by the actual correction cycle |
| 20 | |
| 21 | The fixed parameters, current residual, signed request, and comparison |
| 22 | primary are those of the existing initialization. The concrete wave |
| 23 | constructions supply the inputs to the generic analytic step. |
| 24 | -/ |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | namespace NavierStokes.ActualCyclePreservation |
| 29 | |
| 30 | open Set Function Filter WeightedClasses CorrectionState CorrectionStep CorrectionInitialization |
| 31 | open scoped ContDiff Topology BigOperators |
| 32 | |
| 33 | |
| 34 | abbrev Point := ActualInitialization.Point |
| 35 | abbrev Index := ActualInitialization.Index |
| 36 | |
| 37 | local notation "G" => ActualInitialization.geometry |
| 38 | local notation "κ" => ChartScales.kappa |
| 39 | |
| 40 | /-- One fixed similarity geometry and the actual base/rank parameters |
| 41 | work at every correction stage. -/ |
| 42 | noncomputable def staticData (B : ℕ) : |
| 43 | CorrectionAnalyticStep.StaticData G ActualPrimary.h |
| 44 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 45 | ActualPrimary.rankData (ActualPrimary.commonContext B) κ where |
| 46 | aliasData := ActualCycleGeometry.similarityData |
| 47 | coord := rfl |
| 48 | region := HEq.rfl |
| 49 | inner := rfl |
| 50 | outer := rfl |
| 51 | gauge := ActualCycleGeometry.gauge_eq_geometry.symm |
| 52 | strip := rfl |
| 53 | time := rfl |
| 54 | index_eq := rfl |
| 55 | operators_eq := rfl |
| 56 | operators := ActualInitialization.operators B |
| 57 | base := ActualInitialization.base_bounds B |
| 58 | axial_eq := rfl |
| 59 | temporal := rfl |
| 60 | fast := fun _ => rfl |
| 61 | angular_slow := by |
| 62 | intro n R p hp Y |
| 63 | rfl |
| 64 | axial_slow := by |
| 65 | intro n R p hp Y |
| 66 | rfl |
| 67 | rankExponent := CoordinateAlgebra.A ActualPrimary.h |
| 68 | rankCoefficient := ActualPrimary.rankAmplitude |
| 69 | rankParameters := ActualPrimary.rankData_parameters (G).region.carrier |
| 70 | rankCoefficient_ne := ActualPrimary.rankAmplitude_pos.ne' |
| 71 | rank_left := ActualPrimary.active_left_before_rank |
| 72 | rank_right := ActualPrimary.rank_before_active_right |
| 73 | |
| 74 | theorem kappa_small : κ ≤ 1/100000 := by norm_num [ChartScales.kappa] |
| 75 | |
| 76 | theorem primary_band {B N0 : ℕ} (l : Index B N0) : |
| 77 | (ActualInitialization.tangentBlock l).BandLimited 1 := |
| 78 | SignedWaveUpdate.coefficientBlock_band _ _ _ _ _ |
| 79 | |
| 80 | section CurrentState |
| 81 | |
| 82 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 83 | {S : Index B N0 → ℕ → Set Point} |
| 84 | (H : CycleAnalyticInvariant G (ActualPrimary.commonContext B) |
| 85 | ActualInitialization.tangentBlock ActualInitialization.envelope S σ x) |
| 86 | |
| 87 | include H |
| 88 | |
| 89 | /-- Debt regularity comes from the current primitive invariant; the |
| 90 | reserved pure-power base model is the already proved actual base. -/ |
| 91 | theorem rank_geometry : |
| 92 | LocalRankDefect.RankGeometry (G).gauge ActualPrimary.rankData (G).region.carrier |
| 93 | (ActualPrimary.commonContext B) x.state := |
| 94 | ActualPrimary.rank_geometry (G).region B x.state |
| 95 | (MeanStageRegularity.debt_smooth H.primitives (G).patch.a_pos |
| 96 | ((G).patch.a_lt_left.trans ((G).patch.left_lt_right.trans (G).patch.right_lt_b))) |
| 97 | |
| 98 | theorem current_normal (i : Fin 3) : |
| 99 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 100 | (ActualInitialization.meanControlCell (B := B) (N0 := N0)) 0 |
| 101 | (fun n l z => HarmonicMeanInteraction.slowNormal (ActualPrimary.commonContext B) |
| 102 | (staticData B).operators (fun _z hz => (staticData B).radius_pos hz) |
| 103 | (x.coefficients.blocks l).phase n z i) := by |
| 104 | have he : |
| 105 | (fun n l z => HarmonicMeanInteraction.slowNormal (ActualPrimary.commonContext B) |
| 106 | (staticData B).operators (fun _z hz => (staticData B).radius_pos hz) |
| 107 | (x.coefficients.blocks l).phase n z i) = |
| 108 | (fun n l z => HarmonicMeanInteraction.slowNormal (ActualPrimary.commonContext B) |
| 109 | (ActualInitialization.operators B) (ActualInitialization.radius_pos B) |
| 110 | (ActualInitialization.primaryBlock l).phase n z i) := by |
| 111 | funext n l z |
| 112 | rw [← (H.carrier l).phase] |
| 113 | rfl |
| 114 | rw [he] |
| 115 | exact ActualInitialization.slowNormal_local B N0 i |
| 116 | |
| 117 | theorem current_frequency : |
| 118 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 119 | (ActualInitialization.meanControlCell (B := B) (N0 := N0)) (-(1/2)) |
| 120 | (fun n l _ => (x.coefficients.blocks l).frequency n) := by |
| 121 | have he : (fun n l (_ : Point) => (x.coefficients.blocks l).frequency n) = |
| 122 | (fun n l (_ : Point) => (ActualInitialization.primaryBlock l).frequency n) := by |
| 123 | funext n l z |
| 124 | rw [← (H.carrier l).frequency] |
| 125 | rfl |
| 126 | rw [he] |
| 127 | exact ActualInitialization.frequency_local B N0 |
| 128 | |
| 129 | theorem current_angular : |
| 130 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 131 | (ActualInitialization.meanControlCell (B := B) (N0 := N0)) (-(1/2)) |
| 132 | (fun n l _ => ((x.coefficients.blocks l).angularFrequency n : ℝ)) := by |
| 133 | have he : (fun n l (_ : Point) => ((x.coefficients.blocks l).angularFrequency n : ℝ)) = |
| 134 | (fun n l (_ : Point) => ((ActualInitialization.primaryBlock l).angularFrequency n : ℝ)) := by |
| 135 | funext n l z |
| 136 | rw [← (H.carrier l).angular] |
| 137 | rfl |
| 138 | rw [he] |
| 139 | exact ActualInitialization.angularFrequency_local B N0 |
| 140 | |
| 141 | end CurrentState |
| 142 | |
| 143 | /-! The actual label set is unchanged by every correction. -/ |
| 144 | |
| 145 | theorem step_labels {B N0 : ℕ} (x : CycleState (Index B N0)) : |
| 146 | (x.step (ActualCycleParameters.fixedParameters B N0) (ActualPrimary.commonContext B)).coefficients.labels = |
| 147 | x.coefficients.labels := rfl |
| 148 | |
| 149 | noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := |
| 150 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 151 | (ActualPrimary.commonContext B) (ActualInitialization.initialCycleState B N0) |
| 152 | |
| 153 | theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl |
| 154 | |
| 155 | theorem state_succ (B N0 n : ℕ) : |
| 156 | state B N0 (n+1) = (state B N0 n).step (ActualCycleParameters.fixedParameters B N0) |
| 157 | (ActualPrimary.commonContext B) := rfl |
| 158 | |
| 159 | theorem state_labels (B N0 n : ℕ) : |
| 160 | (state B N0 n).coefficients.labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 := by |
| 161 | induction n with |
| 162 | | zero => rfl |
| 163 | | succ n ih => exact ih |
| 164 | |
| 165 | |
| 166 | /-- The fixed comparison primary is the original finite tangent field. -/ |
| 167 | noncomputable def primaryField (B N0 : ℕ) : Oscillation Point := |
| 168 | LabelSumBounds.fieldSum (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 169 | (fun l => (ActualInitialization.tangentBlock l).oscillation) |
| 170 | |
| 171 | theorem primaryField_eq (B N0 : ℕ) : |
| 172 | primaryField B N0 = ActualPrimaryCovariance.tangentSum B N0 := by |
| 173 | funext n z i |
| 174 | apply Finset.sum_congr rfl |
| 175 | intro l hl |
| 176 | exact congrArg (fun f : Oscillation Point => f n z i) |
| 177 | (ActualInitialization.tangentBlock_represents l) |
| 178 | |
| 179 | theorem primaryField_smooth (B N0 : ℕ) : |
| 180 | WaveStateRegularity.AngularSmooth (G).domain (primaryField B N0) := by |
| 181 | rw [primaryField_eq] |
| 182 | exact ActualInitialMean.tangent_angularSmooth B N0 |
| 183 | |
| 184 | theorem primaryField_periodic (B N0 : ℕ) : |
| 185 | OscillationPeriodic (G).region.carrier (primaryField B N0) := by |
| 186 | intro n R s hs theta Y k |
| 187 | funext i |
| 188 | apply Finset.sum_congr rfl |
| 189 | intro l hl |
| 190 | simp only [ActualInitialization.tangentBlock_represents] |
| 191 | have he := congrFun (ActualPrimaryCoherence.piece_tangentVelocity_periodic |
| 192 | ActualPrimary.standardRegion l.2 l.1 n (ActualCycleParameters.activeLabel_index n l hl) |
| 193 | k ((R, (s, Y)), theta)) i |
| 194 | simp only [ActualPrimaryCoherence.chartDeck, TorusAverages.latticePoint, |
| 195 | Prod.add_def, add_zero] at he |
| 196 | exact he |
| 197 | |
| 198 | |
| 199 | /-- A true source core with its native dyadic restriction lies in the |
| 200 | existing quantitative control cell on the evaluation strip. -/ |
| 201 | theorem meanControl_of_source_and_nativeQ {B N0 : ℕ} |
| 202 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (l : Index B N0) (n : ℕ) |
| 203 | {z : Point} (hz : z ∈ (G).strip.domain) |
| 204 | (hS : z ∈ ActualInitialization.labelCarrier l n) |
| 205 | (hQ : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 206 | (ActualPrimary.nativeSlow l.1 (ActualPrimary.toAbsolute n z)) ∈ Icc (1/2 : ℝ) 2) : |
| 207 | z ∈ ActualInitialization.meanControlCell n l := by |
| 208 | obtain ⟨k, hn, hcell, hclock⟩ := ActualCarrierGeometry.labelCarrier_phaseCell hN |
| 209 | (l.2,l.1) n (x := (z,0)) hz hS |
| 210 | refine ⟨k, hn, hcell, hclock, ?_⟩ |
| 211 | rw [← congrFun (ActualSignedStageControls.nativePoint_eq_fullCopy l n k hn) (z,0)] |
| 212 | exact hQ |
| 213 | |
| 214 | /-- Restrict a local estimate only on the actual evaluation domain. -/ |
| 215 | theorem localUnweighted_restrict {E I : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 216 | {s : StripData Point} {C K : ℕ → I → Set Point} {α : ℝ} |
| 217 | {f : ℕ → I → Point → E} |
| 218 | (h : LocalizedWaveBounds.LocalUnweighted s C α f) |
| 219 | (hKC : ∀ n l z, z ∈ s.domain → z ∈ K n l → z ∈ C n l) : |
| 220 | LocalizedWaveBounds.LocalUnweighted s K α f where |
| 221 | weight_nonneg := h.weight_nonneg |
| 222 | smooth := fun n l z hz hk => h.smooth n l z hz (hKC n l z hz hk) |
| 223 | bounds := by |
| 224 | intro m |
| 225 | obtain ⟨A, hA, p, hb⟩ := h.bounds m |
| 226 | exact ⟨A, hA, p, fun n l z hz hk j hj => hb n l z hz (hKC n l z hz hk) j hj⟩ |
| 227 | |
| 228 | theorem family_primary_eq {B N0 : ℕ} {α δ β η : ℝ} |
| 229 | (f : LabelSumBounds.SignedFamily (G).strip |
| 230 | (ActualInitialization.envelope (B := B) (N0 := N0)) α δ β η) |
| 231 | (a : SignedMeanGain.Assembly f) |
| 232 | (hp : f.primary = ActualInitialization.tangentBlock) |
| 233 | (hl : a.labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) : |
| 234 | SignedMeanGain.primaryField f a = primaryField B N0 := by |
| 235 | simp only [SignedMeanGain.primaryField, primaryField, hp, hl] |
| 236 | |
| 237 | theorem family_primary_smooth {B N0 : ℕ} {α δ β η : ℝ} |
| 238 | (f : LabelSumBounds.SignedFamily (G).strip |
| 239 | (ActualInitialization.envelope (B := B) (N0 := N0)) α δ β η) |
| 240 | (a : SignedMeanGain.Assembly f) |
| 241 | (hp : f.primary = ActualInitialization.tangentBlock) |
| 242 | (hl : a.labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) : |
| 243 | WaveStateRegularity.AngularSmooth (G).domain (SignedMeanGain.primaryField f a) := by |
| 244 | rw [family_primary_eq f a hp hl] |
| 245 | exact primaryField_smooth B N0 |
| 246 | |
| 247 | theorem family_primary_periodic {B N0 : ℕ} {α δ β η : ℝ} |
| 248 | (f : LabelSumBounds.SignedFamily (G).strip |
| 249 | (ActualInitialization.envelope (B := B) (N0 := N0)) α δ β η) |
| 250 | (a : SignedMeanGain.Assembly f) |
| 251 | (hp : f.primary = ActualInitialization.tangentBlock) |
| 252 | (hl : a.labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) : |
| 253 | OscillationPeriodic (G).region.carrier (SignedMeanGain.primaryField f a) := by |
| 254 | rw [family_primary_eq f a hp hl] |
| 255 | exact primaryField_periodic B N0 |
| 256 | |
| 257 | |
| 258 | /-- The cycle keeps the actual closed radial and native dyadic cores. -/ |
| 259 | abbrev Invariant {B N0 : ℕ} (σ : ℝ) (x : CycleState (Index B N0)) : Prop := |
| 260 | CycleAnalyticInvariant G (ActualPrimary.commonContext B) |
| 261 | ActualInitialization.tangentBlock ActualInitialization.envelope |
| 262 | ActualCoreSupport.refinedCarrier σ x |
| 263 | |
| 264 | theorem core_control {B N0 : ℕ} |
| 265 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (l : Index B N0) (n : ℕ) |
| 266 | {z : Point} (hz : z ∈ (G).strip.domain) |
| 267 | (hc : z ∈ ActualCoreSupport.refinedCarrier l n) : |
| 268 | z ∈ ActualInitialization.meanControlCell n l := by |
| 269 | have h := (ActualCoreSupport.mem_refinedCarrier_iff l n |
| 270 | (ActualInitialization.strip_time z hz)).mp hc |
| 271 | exact meanControl_of_source_and_nativeQ hN l n hz h.1 h.2.2 |
| 272 | |
| 273 | theorem core_normal {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 274 | (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (i : Fin 3) : |
| 275 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 276 | (fun n l => ActualCoreSupport.refinedCarrier l n) 0 |
| 277 | (fun n l z => HarmonicMeanInteraction.slowNormal (ActualPrimary.commonContext B) |
| 278 | (staticData B).operators (fun _z hz => (staticData B).radius_pos hz) |
| 279 | (x.coefficients.blocks l).phase n z i) := |
| 280 | localUnweighted_restrict (current_normal H i) |
| 281 | (fun n l _z hz hc => core_control hN l n hz hc) |
| 282 | |
| 283 | theorem core_frequency {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 284 | (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 285 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 286 | (fun n l => ActualCoreSupport.refinedCarrier l n) (-(1/2)) |
| 287 | (fun n l _ => (x.coefficients.blocks l).frequency n) := |
| 288 | localUnweighted_restrict (current_frequency H) |
| 289 | (fun n l _z hz hc => core_control hN l n hz hc) |
| 290 | |
| 291 | theorem core_angular {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 292 | (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 293 | LocalizedWaveBounds.LocalUnweighted (G).strip |
| 294 | (fun n l => ActualCoreSupport.refinedCarrier l n) (-(1/2)) |
| 295 | (fun n l _ => ((x.coefficients.blocks l).angularFrequency n : ℝ)) := |
| 296 | localUnweighted_restrict (current_angular H) |
| 297 | (fun n l _z hz hc => core_control hN l n hz hc) |
| 298 | |
| 299 | /-- Existing estimates stated on the broad carrier apply by inclusion; |
| 300 | the stronger support is still retained by the cycle invariant. -/ |
| 301 | theorem broad_invariant {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 302 | (H : Invariant σ x) : |
| 303 | CycleAnalyticInvariant G (ActualPrimary.commonContext B) |
| 304 | ActualInitialization.tangentBlock ActualInitialization.envelope |
| 305 | ActualInitialization.labelCarrier σ x := by |
| 306 | refine { H with inputSupport := ?_ } |
| 307 | intro l |
| 308 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 309 | · intro n i j hj z hz hn |
| 310 | exact (H.inputSupport l).velocity n i j hj z hz |
| 311 | (fun hc => hn (ActualCoreSupport.refinedCarrier_subset_broad l n hc)) |
| 312 | · intro n j hj z hz hn |
| 313 | exact (H.inputSupport l).pressure n j hj z hz |
| 314 | (fun hc => hn (ActualCoreSupport.refinedCarrier_subset_broad l n hc)) |
| 315 | · intro n i j hj z hz hn |
| 316 | exact (H.inputSupport l).gaussian n i j hj z hz |
| 317 | (fun hc => hn (ActualCoreSupport.refinedCarrier_subset_broad l n hc)) |
| 318 | · intro n i j hj z hz hn |
| 319 | exact (H.inputSupport l).aliasError n i j hj z hz |
| 320 | (fun hc => hn (ActualCoreSupport.refinedCarrier_subset_broad l n hc)) |
| 321 | |
| 322 | /-- The strengthened support is already proved for the literal initial state. -/ |
| 323 | theorem initial_invariant (B N0 : ℕ) : Invariant (1/5) (state B N0 0) := |
| 324 | ActualCoreSupport.initial_invariant B N0 |
| 325 | |
| 326 | theorem closed_radius_mem_closure {z : Point} (hz : z ∈ (G).domain) |
| 327 | (hr : ActualCoreSupport.radialRatio z ∈ Icc (G).patch.a (G).patch.b) : |
| 328 | z ∈ closure (G).strip.domain := by |
| 329 | let ell := VariableGaugeMean.qLength (2 * ActualPrimary.h) z.2.1 |
| 330 | have hT := (G).region.time_pos z.2.1 hz |
| 331 | have hp : 0 < ell := VariableGaugeMean.qLength_pos |
| 332 | (by linarith [ActualPrimary.outgoing.data.h_pos]) |
| 333 | (by linarith [ActualPrimary.outgoing.data.h_lt_half]) hT |
| 334 | let f : ℝ → Point := fun r => (r * ell, z.2) |
| 335 | have hf : Continuous f := (continuous_id.mul continuous_const).prodMk continuous_const |
| 336 | have hi : ActualCoreSupport.radialRatio z ∈ closure (Ioo (G).patch.a (G).patch.b) := by |
| 337 | rwa [closure_Ioo ((G).patch.a_lt_left.trans |
| 338 | ((G).patch.left_lt_right.trans (G).patch.right_lt_b)).ne] |
| 339 | have hm : MapsTo f (Ioo (G).patch.a (G).patch.b) (G).strip.domain := by |
| 340 | intro r hrr |
| 341 | apply (BaseContextAssembly.nativeStrip_mem ActualPrimary.nominal ActualPrimary.standardRegion _).mpr |
| 342 | refine ⟨hz, ?_⟩ |
| 343 | rw [PrimaryTargetBounds.profileRadius, BaseChartJets.normalizedCoordinates_eq] |
| 344 | change r * ell / ell ∈ Ioo (G).patch.a (G).patch.b |
| 345 | simpa only [mul_div_cancel_right₀ _ hp.ne'] using hrr |
| 346 | have hc := hf.continuousAt.continuousWithinAt.mem_closure hi hm |
| 347 | have he : f (ActualCoreSupport.radialRatio z) = z := by |
| 348 | change (z.1 / ell * ell, z.2) = z |
| 349 | rw [div_mul_cancel₀ _ hp.ne'] |
| 350 | rwa [he] at hc |
| 351 | |
| 352 | theorem physicalPosition_continuous (n : ℕ) (i : Fin 3) : |
| 353 | Continuous (fun z : Point => ActualPrimary.physicalPosition n z i) := by |
| 354 | fin_cases i |
| 355 | · exact continuous_const.mul continuous_fst |
| 356 | · exact continuous_const.mul continuous_snd.fst.snd |
| 357 | · exact continuous_const.mul continuous_snd.fst.fst |
| 358 | |
| 359 | theorem physicalPosition_bound_closed (n : ℕ) {z : Point} |
| 360 | (hz : z ∈ closure (G).strip.domain) (i : Fin 3) : |
| 361 | |ActualPrimary.physicalPosition n z i| ≤ BaseContextAssembly.geometryBound |
| 362 | ActualPrimary.nominal ActualPrimary.standardRegion := by |
| 363 | have hc : IsClosed {x : Point | |ActualPrimary.physicalPosition n x i| ≤ |
| 364 | BaseContextAssembly.geometryBound ActualPrimary.nominal ActualPrimary.standardRegion} := |
| 365 | isClosed_le (physicalPosition_continuous n i).abs continuous_const |
| 366 | exact closure_minimal |
| 367 | (fun x hx => ActualPrimary.physicalPosition_bound ActualPrimary.standardRegion n hx i) hc hz |
| 368 | |
| 369 | theorem core_near {B N0 : ℕ} (l : Index B N0) (n : ℕ) {z : Point} |
| 370 | (hz : z ∈ (G).domain) (hc : z ∈ ActualCoreSupport.refinedCarrier l n) : |
| 371 | ActualPrimaryBounds.near (l.2,l.1) n := by |
| 372 | have hT := (G).region.time_pos z.2.1 hz |
| 373 | have hcore := (ActualCoreSupport.mem_refinedCarrier_iff l n hT).mp hc |
| 374 | apply ActualWaveRegularityData.near_of_native_band l n |
| 375 | (p := BaseContextAssembly.slowCoordinates z) hT |
| 376 | · exact hz.2 |
| 377 | · have hq := hcore.2.2 |
| 378 | change SimilarityHomogeneity.chartQ ActualPrimary.h |
| 379 | (ActualPrimary.nativeSlow l.1 (ActualPrimary.toAbsolute n z)) ∈ Icc (1/2 : ℝ) 2 at hq |
| 380 | rwa [ActualPrimary.nativeSlow_toAbsolute_eq_slowChange] at hq |
| 381 | |
| 382 | /-- Every supported label belongs to the literal finite sum in that band, |
| 383 | including at the two closed radial edges. -/ |
| 384 | theorem core_active {B N0 : ℕ} (l : Index B N0) (n : ℕ) {z : Point} |
| 385 | (hz : z ∈ (G).domain) (hc : z ∈ ActualCoreSupport.refinedCarrier l n) : |
| 386 | l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n := by |
| 387 | have hT := (G).region.time_pos z.2.1 hz |
| 388 | have hcore := (ActualCoreSupport.mem_refinedCarrier_iff l n hT).mp hc |
| 389 | have hclose := closed_radius_mem_closure hz hcore.2.1 |
| 390 | have hslow := ActualCarrierGeometry.labelCarrier_slow_core (l.2,l.1) n hcore.1 |
| 391 | have hbox := ActualCarrierGeometry.nativeSlowCore_physicalBox (l.2,l.1) hslow |
| 392 | rw [ActualPrimaryCovariance.nativePoint_position] at hbox |
| 393 | apply (ActualPrimary.mem_activeLabels ActualPrimary.standardRegion n l.1 l.2).mpr |
| 394 | apply Finset.mem_biUnion.mpr |
| 395 | refine ⟨BaseChartJets.cellBand l.1, (core_near l n hz hc).2, ?_⟩ |
| 396 | apply Finset.mem_image.mpr |
| 397 | refine ⟨(PrimaryGeometryAssembly.label ActualPrimary.nominal l.1).2, ?_, rfl⟩ |
| 398 | apply CommonWindow.grid_mem_of_box l.1.val.property.1 (physicalPosition_bound_closed n hclose) |
| 399 | exact hbox |
| 400 | |
| 401 | section SignedOutputs |
| 402 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 403 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| 404 | local notation "c" => ActualPrimary.commonContext B |
| 405 | local notation "v" => x.coefficients |
| 406 | local notation "u" => x.state |
| 407 | local notation "post" => CycleParameters.afterParticular p v c u |
| 408 | local notation "request" => CycleParameters.signedRequest p v c u |
| 409 | |
| 410 | theorem signed_request_jets (first : ActualParticularMeanGain.Result x σ) : |
| 411 | ∀ q, PeriodizedWaveBounds.UniformLocalJets ActualSignedStageControls.fullStrip |
| 412 | (fun _ _ z => ActualSignedStageControls.fullStrip.zeta z) (σ-κ) |
| 413 | (ActualSignedStageControls.phaseCell (B := B) (N0 := N0)) |
| 414 | (fun _ n _ z => request n z q) := by |
| 415 | have h := ActualSignedStageControls.fullRequest_jets_from_residuals G c post (1+σ-κ) |
| 416 | first.primitive first.reconstructed first.theta first.axial |
| 417 | (ActualSignedStageControls.phaseCell (B := B) (N0 := N0)) |
| 418 | simp only [show (1+σ-κ)-1 = σ-κ by ring] at h |
| 419 | exact h |
| 420 | |
| 421 | theorem signed_common_bounds (first : ActualParticularMeanGain.Result x σ) : |
| 422 | ActualSignedOutputBounds.OutputBounds (B := B) (N0 := N0) request (1/2+σ-κ) := by |
| 423 | have h := ActualSignedOutputBounds.actual_common_bounds (B := B) (N0 := N0) |
| 424 | G rfl c post (1+σ-κ) first.primitive first.reconstructed first.theta first.axial |
| 425 | simp only [show (1+σ-κ)-1/2 = 1/2+σ-κ by ring] at h |
| 426 | exact h |
| 427 | |
| 428 | theorem signed_block_bounds (first : ActualParticularMeanGain.Result x σ) : |
| 429 | (∀ i j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope (1/2+σ-κ) |
| 430 | (fun l n z => ((p).signedTangent v c u l).velocity n i j z)) ∧ |
| 431 | (∀ i j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope (1/2+σ-κ) |
| 432 | (fun l n z => ((p).signedBlock v c u l).velocity n i j z)) ∧ |
| 433 | (∀ j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope (1+σ-κ) |
| 434 | (fun l n z => ((p).signedBlock v c u l).pressure n j z)) ∧ |
| 435 | (∀ i j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope (1+σ-2*κ) |
| 436 | (fun l n z => ((p).signedCurl v c u l).velocity n i j z)) ∧ |
| 437 | (∀ i j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope (1+σ-4*κ) |
| 438 | (fun (l : Index B N0) n z => ((ActualSignedStageControls.parameters l).goodBlock (G).strip request).velocity n i j z)) := by |
| 439 | have h := ActualSignedOutputBounds.actual_block_bounds (B := B) (N0 := N0) |
| 440 | G rfl c post (1+σ-κ) first.primitive first.reconstructed first.theta first.axial |
| 441 | simp only [show (1+σ-κ)-1/2 = 1/2+σ-κ by ring, |
| 442 | show (1+σ-κ)-κ = 1+σ-2*κ by ring, |
| 443 | show (1+σ-κ)-3*κ = 1+σ-4*κ by ring] at h |
| 444 | exact h |
| 445 | |
| 446 | theorem signed_gaussian_bounds (first : ActualParticularMeanGain.Result x σ) |
| 447 | (β : ℝ) (i : Fin 3) (j : ℤ) : |
| 448 | LabelSumBounds.UniformClass (G).strip (fun _ _ z => Real.sqrt ((G).strip.zeta z)) β |
| 449 | (fun l n z => ((p).signedGaussianBlock v c u l).velocity n i j z) := |
| 450 | ActualSignedGaussian.actual_gaussianBlock_jets (B := B) (N0 := N0) |
| 451 | G rfl c post (1+σ-κ) first.primitive first.reconstructed first.theta first.axial β i j |
| 452 | |
| 453 | theorem signed_coefficients_smooth (first : ActualParticularMeanGain.Result x σ) |
| 454 | (l : Index B N0) (n : ℕ) (i : Fin 3) : |
| 455 | HarmonicResidual.SmoothCoefficients (G).domain (((p).signedBlock v c u l).velocity n i) := |
| 456 | ActualWaveRegularityData.signed_exact_coefficients_smooth l request |
| 457 | ((signed_common_bounds first).amplitude.each l) n i |
| 458 | |
| 459 | theorem signed_pressure_coefficients_smooth (first : ActualParticularMeanGain.Result x σ) |
| 460 | (l : Index B N0) (n : ℕ) : |
| 461 | HarmonicResidual.SmoothCoefficients (G).domain (((p).signedBlock v c u l).pressure n) := |
| 462 | ActualWaveRegularityData.signed_pressure_coefficients_smooth l request |
| 463 | ((signed_common_bounds first).pressure.each l) n |
| 464 | |
| 465 | theorem signed_gaussian_coefficients_smooth (first : ActualParticularMeanGain.Result x σ) |
| 466 | (l : Index B N0) (n : ℕ) (i : Fin 3) : |
| 467 | HarmonicResidual.SmoothCoefficients (G).domain (((p).signedGaussianBlock v c u l).velocity n i) := |
| 468 | ActualWaveRegularityData.signed_gaussian_coefficients_smooth l request |
| 469 | ((ActualSignedGaussian.globalGaussian_all_gains (signed_request_jets first) 0).each l) n i |
| 470 | |
| 471 | theorem signed_field_smooth (first : ActualParticularMeanGain.Result x σ) : |
| 472 | WaveStateRegularity.AngularSmooth (G).domain ((p).signedVelocity v c u) := by |
| 473 | intro n i |
| 474 | apply ContDiffOn.sum |
| 475 | intro l hl |
| 476 | exact ActualWaveRegularityData.signed_exact_smooth l (G).patch (G).coord c post |
| 477 | ((signed_common_bounds first).amplitude.each l) n i |
| 478 | |
| 479 | theorem signed_field_periodic : |
| 480 | OscillationPeriodic (G).region.carrier ((p).signedVelocity v c u) := by |
| 481 | intro n R z hz theta Y k |
| 482 | funext i |
| 483 | apply Finset.sum_congr rfl |
| 484 | intro l hl |
| 485 | exact congrFun (ActualWaveRegularityData.signed_block_periodic l (G).strip (G).patch (G).coord |
| 486 | c post n R z hz theta Y k) i |
| 487 | |
| 488 | theorem signed_field_support : |
| 489 | WaveStateRegularity.WaveSupport (G).region (G).patch.a (G).patch.b ((p).signedVelocity v c u) := by |
| 490 | apply WaveStateRegularity.fieldSum_support |
| 491 | intro n l hl theta i z hz hn |
| 492 | exact ActualWaveRegularityData.signed_exact_support l (G).patch (G).coord c post |
| 493 | n theta i z hz hn |
| 494 | |
| 495 | theorem signed_pressure_field_smooth (first : ActualParticularMeanGain.Result x σ) (n : ℕ) : |
| 496 | ContDiffOn ℝ ∞ ((p).signedPressure v c u n) ((G).domain ×ˢ (univ : Set ℝ)) := by |
| 497 | apply ContDiffOn.sum |
| 498 | intro l hl |
| 499 | exact ActualWaveRegularityData.signed_pressure_smooth l (G).patch (G).coord c post |
| 500 | ((signed_common_bounds first).pressure.each l) n |
| 501 | |
| 502 | theorem signed_tangent_field_smooth (first : ActualParticularMeanGain.Result x σ) : |
| 503 | WaveStateRegularity.AngularSmooth (G).domain |
| 504 | (LabelSumBounds.fieldSum (v).labels (fun l => ((p).signedTangent v c u l).oscillation)) := by |
| 505 | intro n i |
| 506 | apply ContDiffOn.sum |
| 507 | intro l hl |
| 508 | exact ActualWaveRegularityData.signed_tangent_smooth l (G).patch (G).coord c post |
| 509 | ((signed_common_bounds first).amplitude.each l) n i |
| 510 | |
| 511 | theorem signed_tangent_field_periodic : |
| 512 | OscillationPeriodic (G).region.carrier |
| 513 | (LabelSumBounds.fieldSum (v).labels (fun l => ((p).signedTangent v c u l).oscillation)) := by |
| 514 | intro n R z hz theta Y k |
| 515 | funext i |
| 516 | apply Finset.sum_congr rfl |
| 517 | intro l hl |
| 518 | exact congrFun (ActualWaveRegularityData.signed_tangent_periodic l (G).patch (G).coord c post |
| 519 | n R z hz theta Y k) i |
| 520 | |
| 521 | theorem signed_tangent_field_support : |
| 522 | WaveStateRegularity.WaveSupport (G).region (G).patch.a (G).patch.b |
| 523 | (LabelSumBounds.fieldSum (v).labels (fun l => ((p).signedTangent v c u l).oscillation)) := by |
| 524 | apply WaveStateRegularity.fieldSum_support |
| 525 | intro n l hl theta i z hz hn |
| 526 | exact ActualWaveRegularityData.signed_tangent_support l (G).patch (G).coord c post |
| 527 | n theta i z hz hn |
| 528 | |
| 529 | end SignedOutputs |
| 530 | |
| 531 | section Assembly |
| 532 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 533 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| 534 | local notation "c" => ActualPrimary.commonContext B |
| 535 | local notation "v" => x.coefficients |
| 536 | local notation "u" => x.state |
| 537 | |
| 538 | theorem particular_inputs (H : Invariant σ x) |
| 539 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 540 | (ha : ∀ i j, LabelSumBounds.UniformWaveClass (G).strip ActualInitialization.envelope |
| 541 | (1/2+σ) (fun l n z => ((p).particularBlock v c u l).velocity n i j z)) |
| 542 | (hs : WaveStateRegularity.AngularSmooth (G).domain ((p).particularVelocity v c u)) |
| 543 | (hp : OscillationPeriodic (G).region.carrier ((p).particularVelocity v c u)) |
| 544 | (hr : WaveStateRegularity.WaveSupport (G).region (G).patch.a (G).patch.b |
| 545 | ((p).particularVelocity v c u)) : |
| 546 | ActualParticularMeanGain.Inputs x σ where |
| 547 | amplitude := ha |
| 548 | smooth := hs |
| 549 | periodic := hp |
| 550 | supported := hr |
| 551 | old_support := ActualCycleAssembly.old_supported x H hN |
| 552 | ActualCoreSupport.refinedCarrier_subset_broad |
| 553 | particular_support := ActualCycleAssembly.particular_supported_of_inputSupport x hN |
| 554 | (ActualCycleAssembly.cycle_particular_inputSupport hN x c (broad_invariant H).inputSupport) |
| 555 | |
| 556 | noncomputable def stepData_of_waves (H : Invariant σ x) |
| 557 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) |
| 558 | (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 559 | (W : CorrectionAnalyticStep.WaveData G p v c u ActualInitialization.envelope |
| 560 | ActualCoreSupport.refinedCarrier σ κ) : |
| 561 | CorrectionAnalyticStep.StepData G ActualPrimary.h (CommonWindow.index ActualPrimary.h) |
| 562 | ActualInitialization.axial |
| 563 | (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) |
| 564 | ActualSignedStageControls.parameters ActualPrimary.rankData c x |
| 565 | ActualInitialization.tangentBlock ActualInitialization.envelope |
| 566 | ActualCoreSupport.refinedCarrier (staticData B) H hσ := by |
| 567 | let hP0 := fun (l : Index B N0) n z (_hz : z ∈ (G).strip.domain) => |
| 568 | ActualInitialization.envelope_nonneg l n z |
| 569 | let hP1 := fun (l : Index B N0) n z (_hz : z ∈ (G).strip.domain) => |
| 570 | ActualInitialization.envelope_le_one l n z |
| 571 | let a := ActualCycleAssembly.assembly x H hσ W.particular W.tangent W.curl hP0 hP1 hN |
| 572 | ActualCoreSupport.refinedCarrier_subset_broad |
| 573 | have hs := ActualCycleAssembly.assembly_supports x H hσ W.particular W.tangent W.curl |
| 574 | hP0 hP1 hN ActualCoreSupport.refinedCarrier_subset_broad |
| 575 | have ha : a.labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 := |
| 576 | hs.1.trans hl |
| 577 | refine { |
| 578 | waves := W |
| 579 | primaryBand := 1 |
| 580 | primary_band := primary_band |
| 581 | envelope_nonneg := hP0 |
| 582 | envelope_le_one := hP1 |
| 583 | cells := fun n l => ActualCoreSupport.refinedCarrier l n |
| 584 | carrier_closed := ActualCoreSupport.refinedCarrier_closed |
| 585 | carrier_cells := fun _ _ => Subset.rfl |
| 586 | normal := core_normal H hN |
| 587 | frequency := core_frequency H hN |
| 588 | angular := core_angular H hN |
| 589 | assembly := a |
| 590 | labels := hs.1 |
| 591 | old_support := hs.2.1 |
| 592 | particular_support := hs.2.2 |
| 593 | primary_smooth := family_primary_smooth _ a rfl ha |
| 594 | primary_periodic := family_primary_periodic _ a rfl ha |
| 595 | rank_geometry := rank_geometry H |
| 596 | tailStart := (ActualPrimary.choice B N0).prepared.N + 1 |
| 597 | cross_tail := ?_ } |
| 598 | intro n hn z hz i |
| 599 | exact ActualSignedMeanBinding.family_requested_cross_tail c |
| 600 | ((p).afterParticular v c u) _ a rfl rfl ha hn hz i |
| 601 | |
| 602 | end Assembly |
| 603 | |
| 604 | /-- In a band with no compatible common cover, the actual incoming |
| 605 | source has a zero germ throughout the complete slow cylinder. -/ |
| 606 | theorem residualSource_zero_germ_of_not_ordered {B N0 : ℕ} {σ : ℝ} |
| 607 | {x : CycleState (Index B N0)} (H : Invariant σ x) |
| 608 | (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) |
| 609 | (j : ℤ) {z : Point} (hz : z ∈ (G).domain) : |
| 610 | ParticularWaveAssembly.residualSource (ActualPrimary.commonContext B) x.state |
| 611 | (x.coefficients.blocks l) (x.coefficients.gaussian l) |
| 612 | (x.coefficients.aliasCoefficients l) j n =ᶠ[𝓝 z] fun _ => 0 := by |
| 613 | apply HarmonicSourceSupport.residualSource_zero_germ_on _ _ _ _ _ |
| 614 | (G).domain_open (ActualCoreSupport.refinedCarrier_closed l) (H.inputSupport l) j n hz |
| 615 | intro hc |
| 616 | exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hz hc)) |
| 617 | |
| 618 | section SignedEquations |
| 619 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 620 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| 621 | local notation "c" => ActualPrimary.commonContext B |
| 622 | local notation "v" => x.coefficients |
| 623 | local notation "u" => x.state |
| 624 | local notation "post" => CycleParameters.afterParticular p v c u |
| 625 | local notation "request" => CycleParameters.signedRequest p v c u |
| 626 | |
| 627 | theorem signed_solenoidal (first : ActualParticularMeanGain.Result x σ) (l : Index B N0) : |
| 628 | HarmonicWaveInteraction.ModeSolenoidal (G).strip c ((p).signedBlock v c u l) := |
| 629 | ActualSignedCommonDynamics.actual_modeSolenoidal G rfl post (1+σ-κ) |
| 630 | first.primitive first.reconstructed first.theta first.axial l |
| 631 | |
| 632 | theorem signed_linear_bounds (H : Invariant σ x) |
| 633 | (first : ActualParticularMeanGain.Result x σ) : |
| 634 | UniformHarmonicInteraction.UniformVelocity (G).strip ActualInitialization.envelope |
| 635 | (1+σ-4*κ) (fun l => HarmonicWaveInteraction.linearGoodBlock c |
| 636 | ((p).beforeSignedBlock v c u l) ((p).signedBlock v c u l) |
| 637 | ((p).signedGaussianBlock v c u l).velocity) := by |
| 638 | have hc (l : Index B N0) : SameCarrier ((p).beforeSignedBlock v c u l) |
| 639 | ((p).signedBlock v c u l) := by |
| 640 | have h := ActualCycleParameters.invariant_fixedParameters_signed_carrier H l |
| 641 | exact ⟨h.frequency,h.phase,h.angular⟩ |
| 642 | have h := ActualSignedCommonDynamics.actual_linearGood_bounds G rfl post (1+σ-κ) |
| 643 | first.primitive first.reconstructed first.theta first.axial |
| 644 | ((p).beforeSignedBlock v c u) hc |
| 645 | simp only [show (1+σ-κ)-3*κ = 1+σ-4*κ by ring] at h |
| 646 | exact h |
| 647 | |
| 648 | theorem signed_inputSupport (l : Index B N0) : |
| 649 | HarmonicSourceSupport.InputSupportOn (G).domain (ActualCoreSupport.refinedCarrier l) |
| 650 | ((p).signedBlock v c u l) ((p).signedGaussianBlock v c u l).velocity 0 := |
| 651 | ActualCycleAssembly.refined_signed_inputSupport l (G).strip request |
| 652 | |
| 653 | end SignedEquations |
| 654 | |
| 655 | noncomputable def nativeParticularData {B N0 : ℕ} (x : CycleState (Index B N0)) |
| 656 | (l : Index B N0) (j : ℤ) := |
| 657 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 658 | (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) |
| 659 | (StateReindex.state cycleAssoc.symm x.state) |
| 660 | (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) |
| 661 | (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) |
| 662 | (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j |
| 663 | |
| 664 | theorem nativeParticular_inactive {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 665 | (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 666 | (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) (j : ℤ) |
| 667 | {z : ActualParticularStageControls.Native} |
| 668 | (hz : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 669 | ActualPrimary.standardRegion) : |
| 670 | (nativeParticularData x l j).common.amplitude n =ᶠ[𝓝 z] fun _ => 0 := by |
| 671 | have hp : z.1.1 ∈ ActualCarrierTransport.parameterDomain := hz.1 |
| 672 | apply ActualCycleAssembly.common_raw_zero_germ_of_factorization l |
| 673 | (ActualCoreSupport.refinedCarrier l) (ActualCycleAssembly.refinedSlowCore l) |
| 674 | (ActualCoreSupport.refinedCarrier_closed l) (ActualCycleAssembly.refined_carrier_factorization hN l) |
| 675 | (ActualPrimary.commonContext B) x.state (x.coefficients.blocks l) |
| 676 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) (H.inputSupport l) j n hp |
| 677 | intro hs |
| 678 | have hc := (ActualCycleAssembly.refined_carrier_factorization hN l n z.1.1 hp z.2).mpr hs |
| 679 | exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hp hc)) |
| 680 | |
| 681 | |
| 682 | section Factory |
| 683 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 684 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| 685 | local notation "c" => ActualPrimary.commonContext B |
| 686 | local notation "v" => x.coefficients |
| 687 | local notation "u" => x.state |
| 688 | |
| 689 | theorem waveData_of_particular (H : Invariant σ x) |
| 690 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) |
| 691 | (P : ActualParticularCycleData.Data x σ) : |
| 692 | CorrectionAnalyticStep.WaveData G p v c u ActualInitialization.envelope |
| 693 | ActualCoreSupport.refinedCarrier σ κ := by |
| 694 | let d := particular_inputs H hN P.amplitude P.field P.periodic P.support |
| 695 | have first := ActualParticularMeanGain.postParticular_gain H d hσ |
| 696 | have hb := signed_block_bounds first |
| 697 | exact { |
| 698 | carrier := ActualCycleParameters.invariant_fixedParameters_signed_carrier H |
| 699 | particular := P.amplitude |
| 700 | tangent := hb.1 |
| 701 | curl := hb.2.2.2.1 |
| 702 | particularPressure := P.pressure |
| 703 | signedPressure := hb.2.2.1 |
| 704 | particularSmooth := P.coefficients |
| 705 | signedSmooth := signed_coefficients_smooth first |
| 706 | particularPressureSmooth := P.pressureCoefficients |
| 707 | signedPressureSmooth := signed_pressure_coefficients_smooth first |
| 708 | particularGaussianSmooth := P.gaussianCoefficients |
| 709 | signedGaussianSmooth := signed_gaussian_coefficients_smooth first |
| 710 | particularSolenoidal := P.solenoidal |
| 711 | signedSolenoidal := signed_solenoidal first |
| 712 | particularSupport := ActualCycleAssembly.cycle_refined_particular_inputSupport hN x c H.inputSupport |
| 713 | signedSupport := signed_inputSupport |
| 714 | particularGaussian := P.gaussian |
| 715 | signedGaussian := signed_gaussian_bounds first |
| 716 | particularField := P.field |
| 717 | signedField := signed_field_smooth first |
| 718 | particularPressureField := P.pressureField |
| 719 | signedPressureField := signed_pressure_field_smooth first |
| 720 | particularPeriodic := P.periodic |
| 721 | signedPeriodic := signed_field_periodic |
| 722 | particularRadialSupport := P.support |
| 723 | signedRadialSupport := signed_field_support |
| 724 | tangentField := signed_tangent_field_smooth first |
| 725 | tangentPeriodic := signed_tangent_field_periodic |
| 726 | tangentRadialSupport := signed_tangent_field_support |
| 727 | particularLinear := P.linear |
| 728 | signedLinear := signed_linear_bounds H first } |
| 729 | |
| 730 | noncomputable def stepData_of_particular (H : Invariant σ x) |
| 731 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) |
| 732 | (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 733 | (P : ActualParticularCycleData.Data x σ) : |
| 734 | CorrectionAnalyticStep.StepData G ActualPrimary.h (CommonWindow.index ActualPrimary.h) |
| 735 | ActualInitialization.axial |
| 736 | (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) |
| 737 | ActualSignedStageControls.parameters ActualPrimary.rankData c x |
| 738 | ActualInitialization.tangentBlock ActualInitialization.envelope |
| 739 | ActualCoreSupport.refinedCarrier (staticData B) H hσ := |
| 740 | stepData_of_waves H hN hσ hl (waveData_of_particular H hN hσ P) |
| 741 | |
| 742 | theorem stepResult_of_particular (H : Invariant σ x) |
| 743 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) |
| 744 | (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 745 | (P : ActualParticularCycleData.Data x σ) : |
| 746 | CorrectionAnalyticStep.StepResult G ActualPrimary.h (CommonWindow.index ActualPrimary.h) |
| 747 | ActualInitialization.axial |
| 748 | (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) |
| 749 | ActualSignedStageControls.parameters ActualPrimary.rankData c x |
| 750 | ActualInitialization.tangentBlock ActualInitialization.envelope |
| 751 | ActualCoreSupport.refinedCarrier (σ := σ) («κ» := κ) := |
| 752 | CorrectionAnalyticStep.step _ _ _ _ _ _ _ _ _ _ _ _ |
| 753 | (staticData B) H hσ kappa_small (stepData_of_particular H hN hσ hl P) |
| 754 | |
| 755 | theorem afterTemporal_debt_of_particular (H : Invariant σ x) |
| 756 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) |
| 757 | (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) |
| 758 | (P : ActualParticularCycleData.Data x σ) : |
| 759 | UnweightedClass ActualInitialization.slowStrip (1+σ-2*κ) |
| 760 | (debt c (ActualIntermediateDebtBounds.postTemporal x)) := |
| 761 | ActualIntermediateDebtBounds.afterTemporal_debt_from_stepData |
| 762 | (staticData B) H hσ (P.inputs H hN) (stepData_of_particular H hN hσ hl P) |
| 763 | |
| 764 | end Factory |
| 765 | |
| 766 | /-- The actual run retains analytic bounds, full chart coherence, and |
| 767 | individual torus periods as distinct, proved invariants. -/ |
| 768 | structure RunInvariant {B N0 : ℕ} (σ : ℝ) (x : CycleState (Index B N0)) : Prop where |
| 769 | analytic : Invariant σ x |
| 770 | coherent : ActualCycleCoherence.Coherent x |
| 771 | periodic : ActualCyclePeriodicity.Periodic x |
| 772 | |
| 773 | theorem initial_runInvariant (B N0 : ℕ) : |
| 774 | RunInvariant (ActualIterationLedger.sigma 0) (state B N0 0) where |
| 775 | analytic := by simpa only [ActualIterationLedger.sigma_zero] using initial_invariant B N0 |
| 776 | coherent := ActualCycleCoherence.initial B N0 |
| 777 | periodic := ActualCyclePeriodicity.initial B N0 |
| 778 | |
| 779 | |
| 780 | theorem coherent_core_cover {B N0 : ℕ} {x : CycleState (Index B N0)} |
| 781 | (C : ActualCycleCoherence.Coherent x) : |
| 782 | ∀ l n z, z ∈ ActualInitialization.geometry.domain → |
| 783 | z ∈ ActualCoreSupport.refinedCarrier l n → l ∈ x.coefficients.labels n := by |
| 784 | intro l n z hz hc |
| 785 | rw [C.labels] |
| 786 | exact core_active l n hz hc |
| 787 | |
| 788 | theorem wave_transport_of_particular {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 789 | (R : RunInvariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 790 | (hσ : 1/5 ≤ σ) (P : ActualParticularCycleData.Data x σ) |
| 791 | (n m k : ℕ) |
| 792 | (hi : CommonWindow.index ActualPrimary.h n + k = CommonWindow.index ActualPrimary.h m) : |
| 793 | CycleStateCoherence.CycleWavesOn ActualCycleCoherence.geometry |
| 794 | (ActualCycleParameters.fixedParameters B N0) x.coefficients |
| 795 | (ActualPrimary.commonContext B) x.state (ActualInitialCoherence.overlap n m) n m k := |
| 796 | ActualCycleCoherence.waves R.analytic (waveData_of_particular R.analytic hN hσ P) |
| 797 | R.coherent (coherent_core_cover R.coherent) ActualCoreSupport.refinedCarrier_closed |
| 798 | (fun _ _ => Subset.rfl) n m k hi |
| 799 | |
| 800 | theorem next_runInvariant_of_particular {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 801 | (R : RunInvariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 802 | (hσ : 1/5 ≤ σ) (P : ActualParticularCycleData.Data x σ) : |
| 803 | RunInvariant (σ+1/10) |
| 804 | (x.step (ActualCycleParameters.fixedParameters B N0) (ActualPrimary.commonContext B)) where |
| 805 | analytic := (stepResult_of_particular R.analytic hN hσ R.coherent.labels P).invariant |
| 806 | coherent := ActualCycleCoherence.step R.analytic (waveData_of_particular R.analytic hN hσ P) |
| 807 | R.coherent (coherent_core_cover R.coherent) ActualCoreSupport.refinedCarrier_closed |
| 808 | (fun _ _ => Subset.rfl) |
| 809 | periodic := ActualCyclePeriodicity.step R.analytic R.periodic |
| 810 | |
| 811 | |
| 812 | theorem particularData {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 813 | (R : RunInvariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 814 | (hσ : 1/5 ≤ σ) : ActualParticularCycleData.Data x σ := |
| 815 | ActualParticularCycleData.actual_data R.analytic R.periodic hN hσ |
| 816 | |
| 817 | theorem next_runInvariant {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 818 | (R : RunInvariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 819 | (hσ : 1/5 ≤ σ) : |
| 820 | RunInvariant (σ+1/10) |
| 821 | (x.step (ActualCycleParameters.fixedParameters B N0) (ActualPrimary.commonContext B)) := |
| 822 | next_runInvariant_of_particular R hN hσ (particularData R hN hσ) |
| 823 | |
| 824 | /-- Every stage belongs to the same fixed construction, with no wave, |
| 825 | regularity, covariance, or periodicity output supplied as an assumption. -/ |
| 826 | theorem state_runInvariant (B N0 : ℕ) |
| 827 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 828 | RunInvariant (ActualIterationLedger.sigma j) (state B N0 j) := by |
| 829 | induction j with |
| 830 | | zero => exact initial_runInvariant B N0 |
| 831 | | succ j ih => |
| 832 | rw [ActualIterationLedger.sigma_succ, state_succ] |
| 833 | exact next_runInvariant ih hN (ActualIterationLedger.sigma_admissible j) |
| 834 | |
| 835 | theorem state_invariant (B N0 : ℕ) |
| 836 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 837 | Invariant (ActualIterationLedger.sigma j) (state B N0 j) := |
| 838 | (state_runInvariant B N0 hN j).analytic |
| 839 | |
| 840 | theorem state_coherent (B N0 : ℕ) |
| 841 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 842 | ActualCycleCoherence.Coherent (state B N0 j) := |
| 843 | (state_runInvariant B N0 hN j).coherent |
| 844 | |
| 845 | theorem state_periodic (B N0 : ℕ) |
| 846 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 847 | ActualCyclePeriodicity.Periodic (state B N0 j) := |
| 848 | (state_runInvariant B N0 hN j).periodic |
| 849 | |
| 850 | theorem state_particularData (B N0 : ℕ) |
| 851 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 852 | ActualParticularCycleData.Data (state B N0 j) (ActualIterationLedger.sigma j) := |
| 853 | particularData (state_runInvariant B N0 hN j) hN (ActualIterationLedger.sigma_admissible j) |
| 854 | |
| 855 | theorem state_particularInputs (B N0 : ℕ) |
| 856 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 857 | ActualParticularMeanGain.Inputs (state B N0 j) (ActualIterationLedger.sigma j) := |
| 858 | (state_particularData B N0 hN j).inputs (state_invariant B N0 hN j) hN |
| 859 | |
| 860 | theorem state_waveData (B N0 : ℕ) |
| 861 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 862 | CorrectionAnalyticStep.WaveData ActualInitialization.geometry |
| 863 | (ActualCycleParameters.fixedParameters B N0) (state B N0 j).coefficients |
| 864 | (ActualPrimary.commonContext B) (state B N0 j).state ActualInitialization.envelope |
| 865 | ActualCoreSupport.refinedCarrier (ActualIterationLedger.sigma j) ChartScales.kappa := |
| 866 | waveData_of_particular (state_invariant B N0 hN j) hN |
| 867 | (ActualIterationLedger.sigma_admissible j) (state_particularData B N0 hN j) |
| 868 | |
| 869 | noncomputable def state_stepData (B N0 : ℕ) |
| 870 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 871 | CorrectionAnalyticStep.StepData ActualInitialization.geometry ActualPrimary.h |
| 872 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 873 | (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) |
| 874 | ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) |
| 875 | (state B N0 j) ActualInitialization.tangentBlock ActualInitialization.envelope |
| 876 | ActualCoreSupport.refinedCarrier (staticData B) (state_invariant B N0 hN j) |
| 877 | (ActualIterationLedger.sigma_admissible j) := |
| 878 | stepData_of_particular (state_invariant B N0 hN j) hN |
| 879 | (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) |
| 880 | (state_particularData B N0 hN j) |
| 881 | |
| 882 | theorem state_result (B N0 : ℕ) |
| 883 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 884 | CorrectionAnalyticStep.StepResult ActualInitialization.geometry ActualPrimary.h |
| 885 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 886 | (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) |
| 887 | ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) |
| 888 | (state B N0 j) ActualInitialization.tangentBlock ActualInitialization.envelope |
| 889 | ActualCoreSupport.refinedCarrier (σ := ActualIterationLedger.sigma j) («κ» := ChartScales.kappa) := |
| 890 | stepResult_of_particular (state_invariant B N0 hN j) hN |
| 891 | (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) |
| 892 | (state_particularData B N0 hN j) |
| 893 | |
| 894 | theorem state_afterTemporal_debt (B N0 : ℕ) |
| 895 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 896 | UnweightedClass ActualInitialization.slowStrip |
| 897 | (1+ActualIterationLedger.sigma j-2*ChartScales.kappa) |
| 898 | (debt (ActualPrimary.commonContext B) |
| 899 | (ActualIntermediateDebtBounds.postTemporal (state B N0 j))) := |
| 900 | afterTemporal_debt_of_particular (state_invariant B N0 hN j) hN |
| 901 | (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) |
| 902 | (state_particularData B N0 hN j) |
| 903 | |
| 904 | theorem state_wave_transport (B N0 : ℕ) |
| 905 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j n m k : ℕ) |
| 906 | (hi : CommonWindow.index ActualPrimary.h n + k = CommonWindow.index ActualPrimary.h m) : |
| 907 | CycleStateCoherence.CycleWavesOn ActualCycleCoherence.geometry |
| 908 | (ActualCycleParameters.fixedParameters B N0) (state B N0 j).coefficients |
| 909 | (ActualPrimary.commonContext B) (state B N0 j).state |
| 910 | (ActualInitialCoherence.overlap n m) n m k := |
| 911 | wave_transport_of_particular (state_runInvariant B N0 hN j) hN |
| 912 | (ActualIterationLedger.sigma_admissible j) (state_particularData B N0 hN j) n m k hi |
| 913 | |
| 914 | theorem state_covariance_moving (B N0 : ℕ) |
| 915 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 916 | (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion |
| 917 | ActualInitialization.patch.a ActualInitialization.patch.b |
| 918 | (SignedMeanGain.covarianceIncrement (state B N0 j).state.oscillation |
| 919 | ((ActualCycleParameters.fixedParameters B N0).particularVelocity (state B N0 j).coefficients |
| 920 | (ActualPrimary.commonContext B) (state B N0 j).state) i k)) ∧ |
| 921 | (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion |
| 922 | ActualInitialization.patch.a ActualInitialization.patch.b |
| 923 | (SignedMeanGain.covarianceIncrement |
| 924 | ((ActualCycleParameters.fixedParameters B N0).afterParticular (state B N0 j).coefficients |
| 925 | (ActualPrimary.commonContext B) (state B N0 j).state).oscillation |
| 926 | ((ActualCycleParameters.fixedParameters B N0).signedVelocity (state B N0 j).coefficients |
| 927 | (ActualPrimary.commonContext B) (state B N0 j).state) i k)) := |
| 928 | (state_waveData B N0 hN j).covariance_moving (state_invariant B N0 hN j).oscillationSmooth |
| 929 | (state_invariant B N0 hN j).oscillationPeriodic |
| 930 | |
| 931 | |
| 932 | end NavierStokes.ActualCyclePreservation |