TPTP Problem File: PUZ053-1.p

View Solutions - Solve Problem

%--------------------------------------------------------------------------
% File     : PUZ053-1 : TPTP v9.0.0. Released v2.7.0.
% Domain   : Puzzles
% Problem  : Rubik's Cube unreachability
% Version  : [HM98] axioms : Especial.
%            Theorem formulation : Rotations in one plane only.
% English  : Rubik's Cube is a 3x3x3 cube consisting of 27 subcubes with
%            colored faces. The three layers perpendicular to any axis may
%            be rotated independently. The object is to take a scrambled
%            cube and unscramble it so that each side consists entirely
%            of one color(Blue, White, Green, Yellow, Orange, Red).
%            The objective here is unreachable: one swap between b and r has
%            taken place.

% Refs     : [Cla03] Claessen (2003), Email to G. Sutcliffe
% Source   : [Cla03]
% Names    :

% Status   : Satisfiable
% Rating   : 1.00 v2.7.0
% Syntax   : Number of clauses     :   20 (   2 unt;   0 nHn;  20 RR)
%            Number of literals    :   38 (   0 equ;  19 neg)
%            Maximal clause size   :    2 (   1 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of predicates  :    1 (   1 usr;   0 prp; 54-54 aty)
%            Number of functors    :    6 (   6 usr;   6 con; 0-0 aty)
%            Number of variables   :  972 (   0 sgn)
% SPC      : CNF_SAT_EPR_NEQ

% Comments : Swapped one b with an r in make_like_this from PUZ037-1.p
%            Model never found; it must be huge.
%--------------------------------------------------------------------------
cnf(make_like_this,negated_conjecture,
    ~ state(b,b,b,b,b,b,b,b,r,b,r,r,g,g,g,o,o,o,y,y,y,r,r,r,g,g,g,o,o,o,y,y,y,r,r,r,g,g,g,o,o,o,y,y,y,w,w,w,w,w,w,w,w,w) ).

cnf(start_with_this,hypothesis,
    state(b,b,b,b,b,b,b,b,b,r,r,r,g,g,g,o,o,o,y,y,y,g,g,g,o,o,o,y,y,y,r,r,r,r,r,r,g,g,g,o,o,o,y,y,y,w,w,w,w,w,w,w,w,w) ).

cnf(txy,axiom,
    ( ~ state(W7,W6,W5,W8,A1,W4,W1,W2,W3,Y1,Y2,Y3,X1,X2,X3,X4,X5,X6,X7,X8,X9,A2,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