import Mathlib import OAI.Analysis.HardSphere.Thermodynamics.PhysicalScaleData import OAI.Analysis.HardSphere.Allocation.PhysicalTaggedObservation namespace OAI section noncomputable section open MeasureTheory ProbabilityTheory Set open scoped ENNReal namespace HardSphere.Groups open Wiener Bridge Sampling Comparison GaussianPacking PathCutoff CellOrbital _root_.OAI.HardSphere.Lattice attribute [local instance] Classical.propDecidable variable {K : ℕ} [NeZero K] {x y : DiscreteTorus K} variable {J : Type*} [Fintype J] [DecidableEq J] [MeasurableSpace J] [MeasurableSingletonClass J] omit [MeasurableSpace J] [MeasurableSingletonClass J] in lemma physicalObservedMixture_mass_eq {N M G : ℕ} {L : Length} (hL : L.val=(K:ℝ)) (g : Fin G) (m : ℕ) (t r R C S : ℝ) (u : Time) (particle : J↪Fin (N+1)) (hxy : x≠y) (ν : Kernel (PhysicalDatum (N+1) K M G L) (SimplePath x y)) [IsMarkovKernel ν] (b : Bool) (d : PhysicalDatum (N+1) K M G L) : physicalObservedMixture hL g m t r R C S u particle hxy ν b d univ= physicalMixedRoutes hL g m t r R C S u particle hxy ν d univ := by simp only [physicalObservedMixture,Kernel.snd_apply' _ _ MeasurableSet.univ,preimage_univ, Kernel.compProd_apply_univ] omit [MeasurableSpace J] [MeasurableSingletonClass J] in theorem physicalObservedMixture_mass {N M G : ℕ} {L : Length} (hL : L.val=(K:ℝ)) (g : Fin G) (m : ℕ) (t r R C S : ℝ) (ht : 0