import Mathlib import OAI.Analysis.HardSphere.Allocation.PhysicalCodedMoment namespace OAI section noncomputable section open MeasureTheory ProbabilityTheory Set open scoped ENNReal NNReal namespace HardSphere.Groups open Comparison 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] lemma padded_label_encounter (p q : SimplePath x y) (s : DiscreteTorus K→Finset J) (home : J→DiscreteTorus K) (hn : ∀v∈departureSites p∪departureSites q,(s v).Nonempty) (hh : ∀v∈departureSites p∪departureSites q,∀j∈s v,home j=v) (G M : ℝ) (hG : 1≤G) (hM : 0