Map Boolean matrix `mat` (each row represnts a set as a Boolean vector, where TRUE indicates membership and FALSE otherwise) to a list of integer vectors.
Map Boolean matrix `mat` (each row represnts a set as a Boolean vector, where TRUE indicates membership and FALSE otherwise) to a list of integer vectors.