Lemma. Matrix product is relational composition [00J2]

Under the correspondence between boolean matrices and finite relations (§ [00J1], Lemma [00IX]), matrix products of boolean matrices correspond to relational composites. In particular, given M:\mathrm {Mat}_{\mathbb {B}}{\mathopen {}\left (l,m\right )\mathclose {}} and N:\mathrm {Mat}_{\mathbb {B}}{\mathopen {}\left (m,n\right )\mathclose {}}, we have:

\operatorname {\underline {rel}}_\mathbb {B}{\mathopen {}\left (N\otimes M\right )\mathclose {}} = \operatorname {\underline {rel}}_\mathbb {B} N\circ \operatorname {\underline {rel}}_\mathbb {B} M