import Mathlib import OAI.Analysis.HardSphere.Allocation.PhysicalPrimary namespace OAI section noncomputable section open MeasureTheory ProbabilityTheory Set open scoped ENNReal NNReal namespace HardSphere.Groups open Wiener Bridge Sampling Comparison GaussianPacking PathCutoff CellOrbital variable {J : Type*} [Fintype J] [DecidableEq J] instance physicalSlotAllowed_borel {N K M G : ℕ} {L : Length} (hL : L.val=(K:ℝ)) (g : Fin G) (m : ℕ) (r R C S : ℝ) (u : Time) (particle : J→Fin N) (d : PhysicalDatum N K M G L) (i : Option J) : StandardBorelSpace (physicalSlotAllowed hL g m r R C S u particle d i) := (physicalSlotAllowed_measurable hL g m r R C S u particle d i).standardBorel lemma routeDensityBound_ne_top {t : ℝ} (ht : 0