0..3 1..3 x[] d[] eq(%0,dist(%1,%2)) d[0] x[1] x[0] d[1] x[2] x[1] d[2] x[3] x[2]