import NavierStokes.ActualCycleResidualBounds import NavierStokes.ActualMeanPotentialRealization import NavierStokes.TailGaugePotential import NavierStokes.ActualExteriorPrefix /-! # Physical residual fields from the literal mixed prefixes Local per-stage polar identities are converted to cylindrical germs. The angle-branch conversion uses the actual harmonic periodicity of the stored correction state. Exterior statements use pointwise identities on an open past sublevel, not global topological support. -/ noncomputable section namespace NavierStokes.ActualPhysicalPrefixFields open Set Function Filter ProblemStatement CorrectionState CorrectionStep open scoped Topology ContDiff BigOperators abbrev Point := PhysicalMeanJetBounds.Point abbrev Cylinder := PhysicalResidualBridge.Cylinder abbrev ScaledGraph := PhysicalResidualBridge.ScaledGraph noncomputable def forward (z : SpaceTime) : SpaceTime := (z.1, CylindricalResidual.chart z.2) theorem forward_smooth : ContDiff ℝ ∞ forward := contDiff_fst.prodMk (CylindricalResidual.contDiff_chart.comp contDiff_snd) noncomputable def replaceAngle (z : SpaceTime) (theta : ℝ) : SpaceTime := (z.1, AxisymmetricResidual.pack (z.2 0) theta (z.2 2)) @[simp] theorem replaceAngle_self (z : SpaceTime) : replaceAngle z (z.2 1) = z := by unfold replaceAngle apply Prod.ext · rfl · ext i fin_cases i <;> simp def AngularPeriodic {E : Type*} (f : SpaceTime → E) : Prop := ∀ z, Function.Periodic (fun theta => f (replaceAngle z theta)) (2 * Real.pi) theorem periodic_eq_of_cos_sin {E : Type*} {f : ℝ → E} (hf : Function.Periodic f (2 * Real.pi)) {alpha beta : ℝ} (hc : Real.cos alpha = Real.cos beta) (hs : Real.sin alpha = Real.sin beta) : f alpha = f beta := by obtain ⟨k, hk⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (Real.Angle.cos_sin_inj hc hs) have he : alpha = beta + (k : ℝ) * (2 * Real.pi) := by nlinarith [hk] rw [he] exact hf.int_mul k beta theorem polarCoordinates_shape {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} (hr : 0 < z.2 0) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : PhysicalCurlCovariance.polarCoordinates a i (forward z) = replaceAngle z (PhysicalCurlCovariance.polarInput a i (forward z)).2 := by have hrad := PhysicalCurlCovariance.polarCoordinates_radius ha i hc simp only [forward] at hrad rw [ActualMeanPotentialRealization.projection_forward, PolarCharts.radius_polar, abs_of_pos hr] at hrad unfold PhysicalCurlCovariance.polarCoordinates replaceAngle apply Prod.ext · rfl · ext j fin_cases j · simpa [PhysicalCurlCovariance.polarCoordinates, forward] using hrad · simp · simp [forward, CylindricalResidual.chart] theorem polarInput_cos_sin {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {z : SpaceTime} (hr : 0 < z.2 0) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : Real.cos (PhysicalCurlCovariance.polarInput a i (forward z)).2 = Real.cos (z.2 1) ∧ Real.sin (PhysicalCurlCovariance.polarInput a i (forward z)).2 = Real.sin (z.2 1) := by have hb := ActualMeanPotentialRealization.polarCoordinates_back ha i hc rw [polarCoordinates_shape ha i hr hc] at hb have h0 := congrArg (fun w : SpaceTime => w.2 0) hb have h1 := congrArg (fun w : SpaceTime => w.2 1) hb simp only [replaceAngle, forward, CylindricalResidual.chart, AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one] at h0 h1 exact ⟨mul_left_cancel₀ hr.ne' h0, mul_left_cancel₀ hr.ne' h1⟩ theorem polarPressure_forward {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {f : PressureField} (hf : AngularPeriodic f) {z : SpaceTime} (hr : 0 < z.2 0) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : CyclePhysicalPrefixes.polarPressureMap a i f (forward z) = f z := by change f (PhysicalCurlCovariance.polarCoordinates a i (forward z)) = f z rw [polarCoordinates_shape ha i hr hc] have he := periodic_eq_of_cos_sin (hf z) (polarInput_cos_sin ha i hr hc).1 (polarInput_cos_sin ha i hr hc).2 simpa only [replaceAngle_self] using he theorem polarVelocity_forward {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {f : VelocityField} (hf : AngularPeriodic f) {z : SpaceTime} (hr : 0 < z.2 0) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : CyclePhysicalPrefixes.polarVelocityMap a i f (forward z) = CylindricalResidual.frame (z.2 1) (f z) := by change CylindricalResidual.frame (PhysicalCurlCovariance.polarInput a i (forward z)).2 (f (PhysicalCurlCovariance.polarCoordinates a i (forward z))) = _ rw [polarCoordinates_shape ha i hr hc] have he := periodic_eq_of_cos_sin (hf z) (polarInput_cos_sin ha i hr hc).1 (polarInput_cos_sin ha i hr hc).2 rw [he, replaceAngle_self] simp only [CylindricalResidual.frame_apply, (polarInput_cos_sin ha i hr hc).1, (polarInput_cos_sin ha i hr hc).2] theorem velocity_pullback_germ {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {u f : VelocityField} (hf : AngularPeriodic f) {V : Set SpaceTime} (hV : IsOpen V) (hu : EqOn u (CyclePhysicalPrefixes.polarVelocityMap a i f) V) {z : SpaceTime} (hr : 0 < z.2 0) (hz : forward z ∈ V) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : (u ∘ forward) =ᶠ[𝓝 z] (fun y => CylindricalResidual.frame (y.2 1) (f y)) := by filter_upwards [forward_smooth.continuous.continuousAt (hV.mem_nhds hz), forward_smooth.continuous.continuousAt ((ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hc), (isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hr] with y hy hyc hyr exact (hu hy).trans (polarVelocity_forward ha i hf hyr hyc) theorem pressure_pullback_germ {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {P f : PressureField} (hf : AngularPeriodic f) {V : Set SpaceTime} (hV : IsOpen V) (hP : EqOn P (CyclePhysicalPrefixes.polarPressureMap a i f) V) {z : SpaceTime} (hr : 0 < z.2 0) (hz : forward z ∈ V) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : CylindricalResidual.pressurePullback P =ᶠ[𝓝 z] f := by filter_upwards [forward_smooth.continuous.continuousAt (hV.mem_nhds hz), forward_smooth.continuous.continuousAt ((ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hc), (isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hr] with y hy hyc hyr exact (hP hy).trans (polarPressure_forward ha i hf hyr hyc) /-! ## Periodicity comes from the stored harmonic representation -/ theorem represented_oscillation_periodic {ι : Type} {v : CycleCoefficients ι} {s : State Point} {axis : AxisymmetricAlias} (H : CycleRepresentation v s axis) (n : ℕ) (x : Point) (j : Fin 3) : Function.Periodic (fun theta => s.oscillation n (x, theta) j) (2 * Real.pi) := by intro theta dsimp only rw [H.velocity, H.velocity] exact Finset.sum_congr rfl (fun l _ => congrArg Complex.re (HarmonicFields.field_angular_periodic _ _ _ _ _ theta)) theorem represented_pressure_periodic {ι : Type} {v : CycleCoefficients ι} {s : State Point} {axis : AxisymmetricAlias} (H : CycleRepresentation v s axis) (n : ℕ) (x : Point) : Function.Periodic (fun theta => s.oscillatoryPressure n (x, theta)) (2 * Real.pi) := by intro theta dsimp only rw [H.pressure, H.pressure] exact Finset.sum_congr rfl (fun l _ => congrArg Complex.re (HarmonicFields.field_angular_periodic _ _ _ _ _ theta)) theorem represented_components_periodic {ι : Type} {v : CycleCoefficients ι} {s : State Point} {axis : AxisymmetricAlias} (H : CycleRepresentation v s axis) (c : Context Point) (n : ℕ) (x : Point) : Function.Periodic (fun theta => (PhysicalResidualBridge.baseComponents c n + PhysicalResidualBridge.incrementComponents s n) (x, theta)) (2 * Real.pi) := by intro theta funext j have hp (k : Fin 3) : s.oscillation n (x, theta + 2 * Real.pi) k = s.oscillation n (x, theta) k := represented_oscillation_periodic H n x k theta fin_cases j <;> simp [PhysicalResidualBridge.baseComponents, PhysicalResidualBridge.incrementComponents, hp] theorem represented_totalPressure_periodic {ι : Type} {v : CycleCoefficients ι} {s : State Point} {axis : AxisymmetricAlias} (H : CycleRepresentation v s axis) (n : ℕ) (x : Point) : Function.Periodic (fun theta => s.totalPressureIncrement n (x, theta)) (2 * Real.pi) := by intro theta exact congrArg (s.pressure n x + ·) (represented_pressure_periodic H n x theta) theorem graphMapTZ_replaceAngle (G : ScaledGraph) (z : SpaceTime) (theta : ℝ) : PhysicalResidualTZ.graphMapTZ G (replaceAngle z theta) = ((PhysicalResidualTZ.graphMapTZ G z).1, theta) := by simp [PhysicalResidualTZ.graphMapTZ, replaceAngle, PhysicalResidualBridge.ScaledGraph.map, PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] theorem velocityTZ_periodic (G : ScaledGraph) (a : Cylinder → Fin 3 → ℝ) (ha : ∀ x : Point, Function.Periodic (fun theta => a (x, theta)) (2 * Real.pi)) : AngularPeriodic (PhysicalResidualTZ.velocityTZ G a) := by intro z theta ext j simp only [PhysicalResidualTZ.velocityTZ, PhysicalResidualBridge.ScaledGraph.velocity_apply] change G.velocityScale * a (PhysicalResidualTZ.graphMapTZ G (replaceAngle z (theta + 2 * Real.pi))) j = G.velocityScale * a (PhysicalResidualTZ.graphMapTZ G (replaceAngle z theta)) j rw [graphMapTZ_replaceAngle, graphMapTZ_replaceAngle] exact congrArg (fun v : Fin 3 → ℝ => G.velocityScale * v j) (ha _ theta) theorem pressureTZ_periodic (G : ScaledGraph) (a : Cylinder → ℝ) (ha : ∀ x : Point, Function.Periodic (fun theta => a (x, theta)) (2 * Real.pi)) : AngularPeriodic (PhysicalResidualTZ.pressureTZ G a) := by intro z theta change G.velocityScale ^ 2 * a (PhysicalResidualTZ.graphMapTZ G (replaceAngle z (theta + 2 * Real.pi))) = G.velocityScale ^ 2 * a (PhysicalResidualTZ.graphMapTZ G (replaceAngle z theta)) rw [graphMapTZ_replaceAngle, graphMapTZ_replaceAngle] exact congrArg (G.velocityScale ^ 2 * ·) (ha _ theta) /-! ## Actual finite prefixes retain local stage agreement -/ theorem uncutPrefix_eqOn {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {V : Set SpaceTime} {f g : ℕ → SpaceTime → E} (hf : ∀ k, EqOn (f k) (g k) V) (J : ℕ) : EqOn (DiagonalJetBounds.uncutPrefix f J) (DiagonalJetBounds.uncutPrefix g J) V := by intro z hz exact Finset.sum_congr rfl (fun k _ => hf k hz) theorem mixedVelocity_eqOn {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) (seed : CycleState ι) (a : ℝ) (i : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) {V : Set SpaceTime} (hV : IsOpen V) (A D : ℕ → VelocityField) (hA : ∀ k, DifferentiableOn ℝ (A k) V) (hc : ∀ k, EqOn (SpatialCurl.spatialCurl (A k)) (CyclePhysicalPrefixes.potentialParts p c seed a i G n k) V) (hD : ∀ k, EqOn (D k) (CyclePhysicalPrefixes.directStages p c seed a i G n k) V) (J : ℕ) : EqOn (MixedDiagonalResidual.uncutVelocity A D J) (CyclePhysicalPrefixes.velocity a i G n c (CycleState.iterate p c seed J).state) V := by intro z hz change SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J+1)) z + DiagonalJetBounds.uncutPrefix D (J+1) z = _ rw [uncutPrefix_eqOn hD (J+1) hz] exact CyclePhysicalPrefixes.mixedVelocity_prefix p c seed a i G n hV A hA hc J hz theorem pressurePrefix_eqOn {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) (seed : CycleState ι) (a : ℝ) (i : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) (p0 : Cylinder → ℝ) {V : Set SpaceTime} (P : ℕ → PressureField) (hP : ∀ k, EqOn (P k) (CyclePhysicalPrefixes.pressureStages p c seed a i G n p0 k) V) (J : ℕ) : EqOn (DiagonalJetBounds.uncutPrefix P (J+1)) (CyclePhysicalPrefixes.pressure a i G n p0 (CycleState.iterate p c seed J).state) V := by rw [← CyclePhysicalPrefixes.pressure_prefix p c seed a i G n p0 J] exact uncutPrefix_eqOn hP (J+1) /-! ## Open valid charts and the honest residual floor -/ theorem graphSource_open (G : ScaledGraph) (hl : 0 < G.radialScale) {U : Set Cylinder} (hU : IsOpen U) : IsOpen (PhysicalResidualTZ.graphSourceTZ G U) := by apply isOpen_iff_mem_nhds.mpr intro z hz have hg : ContinuousAt (PhysicalResidualTZ.graphMapTZ G) z := PhysicalResidualTZ.swapCylinder.continuous.continuousAt.comp (G.map_smoothAt (mul_pos hl hz.1).ne').continuousAt exact Filter.inter_mem ((isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hz.1) (hg (hU.mem_nhds hz.2)) theorem exists_cartesianChart {z : SpaceTime} (hr : 0 < z.2 0) : ∃ a : ℝ, 0 < a ∧ ∃ i : PolarCharts.Index, forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i := by have he : PolarCharts.radius (PhysicalGraphBounds.radialProjection (forward z)) = z.2 0 := ActualMeanPotentialRealization.radius_forward hr have hnorm : z.2 0 / 2 ≤ ‖PhysicalGraphBounds.radialProjection (forward z)‖ := by have hb := PolarCharts.radius_le_two_norm (PhysicalGraphBounds.radialProjection (forward z)) rw [he] at hb linarith obtain ⟨i, hi⟩ := PolarCharts.exists_rotate_fst_ge hnorm refine ⟨z.2 0, hr, i, ?_⟩ change z.2 0 / 4 < (PolarCharts.rotate i (PhysicalGraphBounds.radialProjection (forward z))).1 linarith open CorrectionInitialization.ActualPrimary noncomputable def source (n : ℕ) : Set SpaceTime := PhysicalResidualTZ.graphSourceTZ (ActualCycleResidualBounds.actualBandGraph n) ActualPolarCoverage.nativeDomain noncomputable def cartesianChartDomain (qbig : ℝ) (n : ℕ) (a : ℝ) (i : PolarCharts.Index) : Set SpaceTime := CutStageEstimates.physicalSublevel h qbig ∩ (ActualMeanPotentialRealization.cartesianDomain a i ∩ (PhysicalCurlCovariance.polarCoordinates a i) ⁻¹' source n) theorem source_open (n : ℕ) : IsOpen (source n) := graphSource_open _ (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) ActualPolarCoverage.nativeDomain_open theorem cartesianChartDomain_open (qbig : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) : IsOpen (cartesianChartDomain qbig n a i) := (CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half qbig).inter ((ActualMeanPotentialRealization.cartesianDomain_open a i).inter ((source_open n).preimage (PhysicalCurlCovariance.polarCoordinates_smooth ha i).continuous)) theorem source_q_lt (n : ℕ) {z : SpaceTime} (ht : z ∈ PhysicalWaveSum.preterminal) (hz : z ∈ source n) : PhysicalWaveSum.physicalQ h (forward z) < 2 * ChartScales.Q n := by have he := ActualMeanPotentialRealization.chartPoint_eq_graph_forward h n (ActualCycleResidualBounds.actualGap n) (Nat.sub_le _ _) hz.1 rw [ActualCycleResidualBounds.actualGap_index] at he change (PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) z).1 = PhysicalMeanJetBounds.graph h n (ActualCycleResidualBounds.actualGap n) (forward z) at he have hs : (PhysicalMeanJetBounds.graph h n (ActualCycleResidualBounds.actualGap n) (forward z)).2.1 ∈ standardRegion.carrier := by rw [← he] exact hz.2.1.1 have hu := hs.2.2 rw [PhysicalMeanJetBounds.graph_q_eq outgoing.data.h_pos outgoing.data.h_lt_half n (ActualCycleResidualBounds.actualGap n) (show forward z ∈ PhysicalWaveSum.preterminal from ht)] at hu exact (div_lt_iff₀ (ChartScales.Q_pos n)).mp hu theorem source_sublevel {Nr : ℕ} {qbig : ℝ} (hfloor : 2 * ChartScales.Q Nr ≤ qbig) {n : ℕ} (hn : Nr ≤ n) {z : SpaceTime} (ht : z ∈ PhysicalWaveSum.preterminal) (hz : z ∈ source n) : forward z ∈ CutStageEstimates.physicalSublevel h qbig := ⟨ht, (source_q_lt n ht hz).trans_le ((mul_le_mul_of_nonneg_left (ActualPrimaryCovariance.Q_antitone hn) (by norm_num)).trans hfloor)⟩ theorem source_polarCoordinates {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) (n : ℕ) {z : SpaceTime} (hz : z ∈ source n) (hc : forward z ∈ ActualMeanPotentialRealization.cartesianDomain a i) : PhysicalCurlCovariance.polarCoordinates a i (forward z) ∈ source n := by rw [polarCoordinates_shape ha i hz.1 hc] constructor · simpa only [replaceAngle, AxisymmetricResidual.pack_zero] using hz.1 · change PhysicalResidualTZ.graphMapTZ (ActualCycleResidualBounds.actualBandGraph n) (replaceAngle z _) ∈ ActualPolarCoverage.nativeDomain rw [graphMapTZ_replaceAngle] exact ⟨hz.2.1, Set.mem_univ _⟩ theorem exists_validChart {Nr : ℕ} {qbig : ℝ} (hfloor : 2 * ChartScales.Q Nr ≤ qbig) {n : ℕ} (hn : Nr ≤ n) {z : SpaceTime} (ht : z ∈ PhysicalWaveSum.preterminal) (hz : z ∈ source n) : ∃ a : ℝ, 0 < a ∧ ∃ i : PolarCharts.Index, forward z ∈ cartesianChartDomain qbig n a i := by obtain ⟨a, ha, i, hi⟩ := exists_cartesianChart hz.1 exact ⟨a, ha, i, source_sublevel hfloor hn ht hz, hi, source_polarCoordinates ha i n hz hi⟩ theorem actual_pressure_periodic {ι : Type} {v : CycleCoefficients ι} {s : State Point} {axis : AxisymmetricAlias} (H : CycleRepresentation v s axis) (B n : ℕ) (x : Point) : Function.Periodic (fun theta => (ActualCycleResidualBounds.actualBasePressure B n + s.totalPressureIncrement n) (x, theta)) (2 * Real.pi) := by intro theta change ActualBaseResidual.basePressure certificate modulation upper B n (x, theta + 2 * Real.pi) + s.totalPressureIncrement n (x, theta + 2 * Real.pi) = ActualBaseResidual.basePressure certificate modulation upper B n (x, theta) + s.totalPressureIncrement n (x, theta) rw [ActualBaseResidual.basePressure_angle_eq certificate modulation upper B n x (theta + 2 * Real.pi), ActualBaseResidual.basePressure_angle_eq certificate modulation upper B n x theta] exact congrArg (_ + ·) (represented_totalPressure_periodic H n x theta) /-- Every input is an individual stage agreement on its concrete valid polar chart. No finite-prefix or germ equality is a field of this record. -/ structure StageRealizations (B N0 Nr : ℕ) (p : ℕ → CycleParameters (ActualInitialization.Index B N0)) (qbig : ℝ) (A D : ℕ → VelocityField) (P : ℕ → PressureField) : Prop where potential : ∀ n, Nr ≤ n → ∀ a, 0 < a → ∀ i k, EqOn (SpatialCurl.spatialCurl (A k)) (CyclePhysicalPrefixes.potentialParts p (commonContext B) (ActualInitialization.initialCycleState B N0) a i (ActualCycleResidualBounds.actualBandGraph n) n k) (cartesianChartDomain qbig n a i) direct : ∀ n, Nr ≤ n → ∀ a, 0 < a → ∀ i k, EqOn (D k) (CyclePhysicalPrefixes.directStages p (commonContext B) (ActualInitialization.initialCycleState B N0) a i (ActualCycleResidualBounds.actualBandGraph n) n k) (cartesianChartDomain qbig n a i) pressure : ∀ n, Nr ≤ n → ∀ a, 0 < a → ∀ i k, EqOn (P k) (CyclePhysicalPrefixes.pressureStages p (commonContext B) (ActualInitialization.initialCycleState B N0) a i (ActualCycleResidualBounds.actualBandGraph n) n (ActualCycleResidualBounds.actualBasePressure B n) k) (cartesianChartDomain qbig n a i) theorem StageRealizations.velocity_prefix {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (hA : ∀ k, ContDiffOn ℝ ∞ (A k) (CutStageEstimates.physicalSublevel h qbig)) (n : ℕ) (hn : Nr ≤ n) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) (J : ℕ) : EqOn (MixedDiagonalResidual.uncutVelocity A D J) (CyclePhysicalPrefixes.velocity a i (ActualCycleResidualBounds.actualBandGraph n) n (commonContext B) (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state) (cartesianChartDomain qbig n a i) := mixedVelocity_eqOn p (commonContext B) (ActualInitialization.initialCycleState B N0) a i _ n (cartesianChartDomain_open qbig n ha i) A D (fun k => ((hA k).mono (fun _ hx => hx.1)).differentiableOn (by simp)) (H.potential n hn a ha i) (H.direct n hn a ha i) J theorem StageRealizations.pressure_prefix {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (n : ℕ) (hn : Nr ≤ n) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) (J : ℕ) : EqOn (DiagonalJetBounds.uncutPrefix P (J+1)) (CyclePhysicalPrefixes.pressure a i (ActualCycleResidualBounds.actualBandGraph n) n (ActualCycleResidualBounds.actualBasePressure B n) (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state) (cartesianChartDomain qbig n a i) := pressurePrefix_eqOn p (commonContext B) (ActualInitialization.initialCycleState B N0) a i _ n _ P (H.pressure n hn a ha i) J theorem StageRealizations.velocity_germ {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (hfloor : 2 * ChartScales.Q Nr ≤ qbig) (hA : ∀ k, ContDiffOn ℝ ∞ (A k) (CutStageEstimates.physicalSublevel h qbig)) (J : ℕ) (Hrep : CycleRepresentation (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).coefficients (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).axisymmetricAlias) (n : ℕ) (hn : Nr ≤ n) {z : SpaceTime} (ht : z ∈ PhysicalWaveSum.preterminal) (hz : z ∈ source n) : (fun y : SpaceTime => MixedDiagonalResidual.uncutVelocity A D J (y.1, CylindricalResidual.chart y.2)) =ᶠ[𝓝 z] (fun y => CylindricalResidual.frame (y.2 1) (PhysicalResidualTZ.velocityTZ (ActualCycleResidualBounds.actualBandGraph n) (fun v i => PhysicalResidualBridge.baseComponents (commonContext B) n v i + PhysicalResidualBridge.incrementComponents (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state n v i) y)) := by obtain ⟨a, ha, i, hi⟩ := exists_validChart hfloor hn ht hz have hp : AngularPeriodic (CyclePhysicalPrefixes.cylindricalVelocity (ActualCycleResidualBounds.actualBandGraph n) n (commonContext B) (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state) := velocityTZ_periodic _ _ (represented_components_periodic Hrep (commonContext B) n) exact velocity_pullback_germ ha i hp (cartesianChartDomain_open qbig n ha i) (H.velocity_prefix hA n hn ha i J) hz.1 hi hi.2.1 theorem StageRealizations.pressure_germ {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (hfloor : 2 * ChartScales.Q Nr ≤ qbig) (J : ℕ) (Hrep : CycleRepresentation (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).coefficients (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).axisymmetricAlias) (n : ℕ) (hn : Nr ≤ n) {z : SpaceTime} (ht : z ∈ PhysicalWaveSum.preterminal) (hz : z ∈ source n) : CylindricalResidual.pressurePullback (DiagonalJetBounds.uncutPrefix P (J+1)) =ᶠ[𝓝 z] PhysicalResidualTZ.pressureTZ (ActualCycleResidualBounds.actualBandGraph n) (fun v => ActualCycleResidualBounds.actualBasePressure B n v + (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state.totalPressureIncrement n v) := by obtain ⟨a, ha, i, hi⟩ := exists_validChart hfloor hn ht hz have hp : AngularPeriodic (CyclePhysicalPrefixes.cylindricalPressure (ActualCycleResidualBounds.actualBandGraph n) n (ActualCycleResidualBounds.actualBasePressure B n) (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state) := pressureTZ_periodic _ _ (actual_pressure_periodic Hrep B n) exact pressure_pullback_germ ha i hp (cartesianChartDomain_open qbig n ha i) (H.pressure_prefix n hn ha i J) hz.1 hi hi.2.1 /-! ## All five physical-field obligations for the same literal prefix -/ theorem physicalFields_of_stages {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (HE : ActualExteriorPrefix.ExteriorStages B Nr A D P) (hfloor : 2 * ChartScales.Q Nr ≤ qbig) (hA : ∀ k, ContDiffOn ℝ ∞ (A k) (CutStageEstimates.physicalSublevel h qbig)) (hD : ∀ k, ContDiffOn ℝ ∞ (D k) (CutStageEstimates.physicalSublevel h qbig)) (hP : ∀ k, ContDiffOn ℝ ∞ (P k) (CutStageEstimates.physicalSublevel h qbig)) (J : ℕ) (Hrep : CycleRepresentation (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).coefficients (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).axisymmetricAlias) : ActualCycleResidualBounds.PhysicalData B Nr (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (MixedDiagonalResidual.uncutVelocity A D J) (DiagonalJetBounds.uncutPrefix P (J+1)) := by have hU := CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half qbig constructor · intro n hn z ht hz have hu := source_sublevel hfloor hn ht hz exact ((MixedDiagonalResidual.uncutVelocity_smooth hU hA hD J).contDiffAt (hU.mem_nhds hu)).of_le (WithTop.coe_le_coe.mpr le_top) · intro n hn z ht hz have hu := source_sublevel hfloor hn ht hz have hp : ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix P (J+1)) (CutStageEstimates.physicalSublevel h qbig) := ContDiffOn.sum (fun k _ => hP k) exact (hp.contDiffAt (hU.mem_nhds hu)).differentiableAt (by simp) · intro n hn z ht hz exact H.velocity_germ hfloor hA J Hrep n hn ht hz · intro n hn z ht hz exact H.pressure_germ hfloor J Hrep n hn ht hz · intro w ht hq hout exact HE.prefix_exterior J ht hq hout /-- The actual residual-rate consumer can use this family without reprovisioning any cylindrical germs or exterior prefix identities. -/ theorem physicalFields_all {B N0 Nr : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} {qbig : ℝ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} (H : StageRealizations B N0 Nr p qbig A D P) (HE : ActualExteriorPrefix.ExteriorStages B Nr A D P) (hfloor : 2 * ChartScales.Q Nr ≤ qbig) (hA : ∀ k, ContDiffOn ℝ ∞ (A k) (CutStageEstimates.physicalSublevel h qbig)) (hD : ∀ k, ContDiffOn ℝ ∞ (D k) (CutStageEstimates.physicalSublevel h qbig)) (hP : ∀ k, ContDiffOn ℝ ∞ (P k) (CutStageEstimates.physicalSublevel h qbig)) (Hrep : ∀ J, CycleRepresentation (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).coefficients (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).axisymmetricAlias) : ∀ J, ActualCycleResidualBounds.PhysicalData B Nr (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) J).state (MixedDiagonalResidual.uncutVelocity A D J) (DiagonalJetBounds.uncutPrefix P (J+1)) := fun J => physicalFields_of_stages H HE hfloor hA hD hP J (Hrep J) end NavierStokes.ActualPhysicalPrefixFields