fact: Definition congruence_rel (T : eqType) (r : rel (seq T)) := forall a b1 c b2, r b1 b2 -> r (a ++ b1 ++ c) (a ++ b2 ++ c).
imports: HB(structures) mathcomp(all_ssreflect) Recdef permcomp permuted multinomial vectNK