fact: Definition connected_ports x y := exists p b1 b2, path graph_rel (x,b1) p && (last (x,b1) p == (y, b2)).
imports: mathcomp(all_ssreflect ssralg fingroup zmodp poly ssrnum) mathcomp(matrix perm) ssr_ext ssralg_ext fdist subgraph_partition tanner