proposition: Lemma pairwise_rcons xs x : pairwise (rcons xs x) = all (r^~ x) xs && pairwise xs.
proof: Proof. by rewrite -cats1 pairwise_cat allrel1r andbT. Qed.
imports: HB(structures) mathcomp(ssreflect ssrfun ssrbool eqtype ssrnat)