import Euler.ParentPacketChildChoice import Euler.PacketInitializedUniformChild import Euler.PacketUniversalFrequency import Euler.ParentInitializedState import Euler.PacketChildLowBounds import Euler.PacketInitialExactLimit /-! Actual activation geometry and one uniform frequency comparison construct the joined packet, its physical state, and both source errors. -/ /-! ## From `Euler/ParentUniformJoinedChild.lean` The text of `Euler/ParentUniformJoinedChild.lean`, folded into this file, which was its only importer. -/ section /-! The positive-history packet at the fixed frequency constructs the actual next parent, with the same errors and the k^80 label bound. -/ noncomputable section namespace EulerParentPacketFrames.LabelData open Set InnerProductSpace EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketSourceFrequency EulerAllOrderDriftCorrection EulerGraphInvariantFlow EulerPacketPrimaryFactorization EulerPeriodicProfile EulerPacketTerminalDatum variable {A : Parent} (L : LabelData A) (I : ParticleInverse A) (H : LowBounds A) {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m) (S : Set Space) (hS : IsCompact S) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < A.T) (J : JoinedInputs (A.meanData H) (A.transverseData m hm R S hS) τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT)) (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (hs : tsupport innerCutoff ⊆ S) (α : ℝ) (hα : 0 < α) (W : ℝ) (hW : EulerPacketRadiusPolynomial.RadiusPrimitives J.mean J.linear J.normal (joinedCoefficientBudget period (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) J.normal) δ ξ W) (hprofile : ∀ t, α*J.linear.fullProfile t ≤ W) (k : ℝ) (hk : UniversalFrequency k) (hfrequency : EulerPacketInitializedOutputCost.uniformConstant* W^EulerPacketInitializedOutputCost.uniformPower ≤ smallPower k) (hKk : L.K ≤ k) (hinv : A.ell⁻¹ ≤ k^(3/4 : ℝ)) (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) include hδ1 hα J hW hprofile hfrequency hKk hinv in theorem joined_uniform_child : ∃ (hn : 1 ≤ truncation k) (Q : Budget period A.T_pos (initializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk.four)) (G : EulerPhysicalGraphFlowBounds.Data period A.T) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0), G.A=Q.liftedPacketCoefficient period (initializedNormalizedField (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (truncation k) k) ∧ (∀ (t : Icc (0 : ℝ) A.T) (x : Space), ‖fderiv ℝ (initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk.four Q t (I.normalized t)) x- (α*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • rankOne ℝ (canonicalVelocity τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs t (I.normalized t x)) ((A.transverseData m hm R S hS).normal.field t (I.normalized t x))‖ ≤ k^(-(1/4 : ℝ)) ∧ ‖fderiv ℝ (gradient (initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) (truncation k) hn k hk.four Q t (I.normalized t))) x- (EulerPacketPrimaryPressure.coefficient τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) ξ hs α t (I.normalized t x)*deriv (profile δ) (k*⟪m,I.normalized t x⟫_ℝ)) • rankOne ℝ ((A.transverseData m hm R S hS).normal.field t (I.normalized t x)) ((A.transverseData m hm R S hS).normal.field t (I.normalized t x))‖ ≤ k^(-(1/4 : ℝ))) ∧ (∀ (t : Icc (0 : ℝ) A.T) (x : Space), ‖(G.displacementField k m A.ell A.ell_pos t).field x‖ ≤ k^(-(1/4 : ℝ))) ∧ ∃ LC : LabelData (A.child G k m hgraph nextEll hnext hnext1), LC.K=k^80 := by obtain ⟨hn,Q,G,E,_,_,hG,_,hgraph,_,herror,hmatch,hlabel,hdisplacement⟩ := initialized_uniform_child_label_bounds (A.meanData H) (A.transverseData m hm R S hS) rfl τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ hδ1 ξ hs α hα J.linear J.normal (JoinedInputs.mean (U := U) J) (A.sourceAgreement m hm R S hS H) W hW hprofile k hk.four hk.expansion_bound hk.log_bound hfrequency hk.delta_bound hk.root_bound hk.trace_bound (fun t x => A.packetPosition (t,x)) I.normalized A.packetPosition_contDiff (fun t x => (A.packetPosition_spatial t x).fderiv) I.normalized_right I.normalized_continuous A.frame_det A.ell A.ell_pos A.ell_le_one L.displacement L.velocity L.acceleration L.K L.K_one L.displacement_bound L.velocity_bound L.acceleration_bound 6 hk.child_bound hKk hk.embedding_bound hk.derivative_bound hinv let LC := L.child G k m hgraph nextEll hnext hnext1 E (fun t => (hmatch t).1) (fun t => (hmatch t).2.1) (fun t => (hmatch t).2.2.1) (fun t => (hmatch t).2.2.2.1) (fun t => (hmatch t).2.2.2.2.1) (fun t => (hmatch t).2.2.2.2.2.1) (k^80) (one_le_pow₀ hk.one_le) hlabel exact ⟨hn,Q,G,hgraph,hG,herror,hdisplacement,LC,rfl⟩ end EulerParentPacketFrames.LabelData end end noncomputable section namespace EulerParentPacketFrames open Set EulerSmoothLimit EulerTransversePacketProvider EulerPacketCylinderField EulerPacketTerminalDatum EulerPacketSourceFrequency EulerPacketUniformSource EulerAllOrderDriftCorrection EulerGraphInvariantFlow EulerPacketPhysicalLowBounds variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (I : EulerPacketInitial.Input U) (S : SmoothState I.parent) (k : ℝ) (hk : UniversalFrequency k) (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) section ConstructorInjectivity attribute [local irreducible] Parent.child structure GeometryJoinedChoice where hn : 1 ≤ truncation k Q : I.correctionBudget k hk.four hn flow : EulerPhysicalGraphFlowBounds.Data period I.parent.T graph : ∀ t q, graphConstraint k I.normal (flow.A.field t q)=0 coefficient : flow.A=Q.liftedPacketCoefficient period (initializedNormalizedField I.meanData I.data rfl I.historyTime I.history_pos I.history_lt I.history I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha (truncation k) k) labels : LabelData (I.parent.child flow k I.normal graph nextEll hnext hnext1) label_constant : labels.K=k^80 displacement_bound : ∀ (t : Icc (0 : ℝ) I.parent.T) (x : Space), ‖(flow.displacementField k I.normal I.parent.ell I.parent.ell_pos t).field x‖ ≤ k^(-(1/4 : ℝ)) errors : S.evolution.SourceErrors I.normal I.normal_unit I.coordinates I.support I.support_compact Q (initializedApproximationResidual I.meanData I.data rfl I.historyTime I.history_pos I.history_lt I.history I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha I.agreement (truncation k) hn k hk.four) k I.geometry I.halfBall I.cutoff_support (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) end ConstructorInjectivity theorem exists_geometryJoinedChoice (hterminal : I.terminal=I.geometry.terminal) (hfrequency : I.frequencyGuard k) (hK : I.label.K ≤ k) (hell : I.parent.ell⁻¹ ≤ k^(3/4 : ℝ)) : Nonempty (GeometryJoinedChoice I S k hk nextEll hnext hnext1) := by let J := I.label.geometryInputs I.low I.normal I.normal_unit I.coordinates I.support I.support_compact I.historyTime I.history_pos I.history_lt I.frame I.geometry I.halfBall I.historyTime⁻¹ I.parent.T⁻¹ (I.history_lt.le.trans I.total_le_one) le_rfl I.total_le_one le_rfl I.neighborhood I.neighborhood_measurable I.neighborhood_open I.support_subset I.neighborhood_bound have hp := I.label.geometry_uniform_primitives I.low I.normal I.normal_unit I.coordinates I.support I.support_compact I.historyTime I.history_pos I.history_lt I.frame I.geometry I.halfBall I.historyTime⁻¹ I.parent.T⁻¹ (I.history_lt.le.trans I.total_le_one) le_rfl I.total_le_one le_rfl I.neighborhood I.neighborhood_measurable I.neighborhood_open I.support_subset I.neighborhood_bound I.terminal I.delta_pos I.delta_le_one obtain ⟨hn,Q,G,hgraph,hG,herror,hdisplacement,LC,hLC⟩ := I.label.joined_uniform_child S.evolution.inverse I.low I.normal I.normal_unit I.coordinates I.support I.support_compact I.historyTime I.history_pos I.history_lt J I.geometry.δ I.delta_pos I.delta_le_one I.terminal I.cutoff_support I.alpha I.alpha_pos (profileEnvelope I.parameterSize) hp.1 hp.2.1 k hk (hp.2.2.trans hfrequency) hK hell nextEll hnext hnext1 refine ⟨⟨hn,Q,G,hgraph,hG,LC,hLC,hdisplacement,?_⟩⟩ intro t x constructor · simp only [← hterminal] exact (herror t x).1 · erw [pressureTerm_eq_coefficient] simp only [← hterminal] exact (herror t x).2 namespace GeometryJoinedChoice variable (F : GeometryJoinedChoice I S k hk nextEll hnext hnext1) def parent : Parent := I.parent.child F.flow k I.normal F.graph nextEll hnext hnext1 def state (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) : SmoothState F.parent := S.joinedChild I.low I.normal I.normal_unit I.coordinates I.support I.support_compact hSym I.geometry.δ I.delta_pos I.terminal I.cutoff_support I.alpha (truncation k) F.hn k hk.four I.historyTime I.history_pos I.history_lt F.Q F.flow F.coefficient F.graph nextEll hnext hnext1 F.labels end GeometryJoinedChoice end EulerParentPacketFrames