mode(on(time,face)). type(time,[0,1,2]). type(face,[1,2,3]). universe(['X'],[0,1,2]). universe(['X1'],[0,1,2]). universe(['Y'],[1,2,3]).