# LCL Problem in the black-white formalism

我们首先考虑一类问题,被称为 "locally checkable labeling" (LCL) 问题。
我们考虑一种它的特殊形式,即 LCL problem in the black-white formalism。

考虑一个二分图G=(V,E)G=(V,E),其中V=WBV=W\cup B 是二分图的两个部分,第一部分被称为 White nodes,第二部分是 Black nodes。

那么一个 LCL problem in the black-white formlism 是一个 tuple Π=(Σin,Σout,Cw,Cb)\Pi=(\Sigma_{in},\Sigma_{out},\mathcal{C}_w,\mathcal{C}_b),其中

  • Σin,Σout\Sigma_{in},\Sigma_{out} 是两个 finite sets,包含了 labels;
  • Cw,Cb\mathcal{C}_w,\mathcal{C}_b 是两个 sets of multisets,其中每个 multisets 中的元素都是来自于Σin×Σout\Sigma_{in}\times \Sigma_{out}

其中Cw,Cb\mathcal{C}_w,\mathcal{C}_b 理解为某种 constraints,即合法的 labeling 方式。形式化地,给定一个把所有 edge 都 labeling 的 assignmenti:EΣini:E\to \Sigma_{in} 作为 input,一个 assignment o:EΣouto:E\to \Sigma_{out} 被称为是一个 solution to Π\Pi 如果它满足 while and black constraints,即:

  • 对于每个 white node wWw\in W,假设e1,...,edwe_1,...,e_{d_w} 是与ww 相连的 edges,那么

{(i(e1),o(e1)),...,(i(edw),o(edw))}Cw;\{ (i(e_1),o(e_1)),...,(i(e_{d_w}),o(e_{d_w})) \} \in \mathcal{C}_w;

  • 对于每个 black node bBb\in B,假设e1,...,edbe_1,...,e_{d_b} 是与bb 相连的 edges,那么

{(i(e1),o(e1)),...,(i(edb),o(edb))}Cb.\{ (i(e_1),o(e_1)),...,(i(e_{d_b}),o(e_{d_b})) \} \in \mathcal{C}_b.

# Port-numbering model

一个 port-numbered network 被形式化地定义为一个 triple N=(V,P,p)N=(V,P,p),其中

  • VV 是 nodes 的集合;
  • PP 是 ports 的集合,每个 port xPx\in P 是一个 pair (v,i)V×N>0(v,i)\in V\times\mathbb{N}_{>0}。我们称 port (v,i)(v,i) 是 node vv 的第ii 个 port;
  • p:PPp:P\to P 是一个函数 specifying connections between ports,满足p(p(x))=xp(p(x))=x