import Mathlib import OAI.Analysis.HardSphere.Allocation.PhysicalObservedMass import OAI.Analysis.HardSphere.Comparison.SumMoment namespace OAI section noncomputable section open MeasureTheory ProbabilityTheory Set open scoped ENNReal BigOperators namespace HardSphere.Groups open Wiener Bridge Sampling Comparison GaussianPacking PathCutoff CellOrbital HardSphere.Lattice attribute [local instance] Classical.propDecidable variable {K : ℕ} [NeZero K] {x y : DiscreteTorus K} def physicalGroupReference {N M G : ℕ} {L : Length} (hL : L.val=(K:ℝ)) (ψ : Jet (N+1) L) (g : Fin G) (m : ℕ) (t r R C S s₀ : ℝ) (u : Time) (b : Bool) := ∑flags,∑a : GridAllocation (N+1) K (G*M), physicalObservedReference (x:=x) (y:=y) hL g m t r R C S u (branchParticles g a) b (physicalBranchLaw hL (endpointWeightedBase ψ (2*t)) g flags a m r R C S s₀ (2*t) u) theorem physical_group_common_comparison {N M G : ℕ} {L : Length} (hL : L.val=(K:ℝ)) (hK : 1 ≤ K) (h50 : 50