Bigraph.Wl1-dimensional Weisfeiler-Lehman (colour-refinement) invariant of a bigraph.
Isomorphic bigraphs yield equal invariants, so the result can reject non-isomorphic state pairs without a full isomorphism test: it captures local incidence structure (place nesting, port wiring, edge-name faces) that the 32-bit fingerprint Big.fp can collide on.
invariant p l ns is the sorted list of final refinement colours of the bigraph with place p, link l and nodes ns. It is a function of the node controls, the place containment, the link port wiring, and the edge inner/outer name faces -- all preserved by bigraph isomorphism for concrete states, so isomorphic states share the invariant. The result is deterministic and comparable across bigraphs.