TPTP Problem File: PUZ049-1.p

View Solutions - Solve Problem

%--------------------------------------------------------------------------
% File     : PUZ049-1 : TPTP v8.2.0. Released v2.6.0.
% Domain   : Puzzles
% Problem  : Quo vadis 6 - intermediate to final
% Version  : Especial.
% English  : bb is big block (square, size=4 tiles).
%            s1-s4 : 4 small square blocks, size=1 tile
%            v1-v4: 4 vertical blocks, size= 2 tiles
%            b1: horizontal block, size= 2 tiles
%            e1, e2 are the 2 blank tiles
%            It's a 5x4 playing field to move from the start state to
%            the goal state. This is the true goal from the puzzle.

% Refs     :
% Source   : [TPTP]
% Names    :

% Status   : Satisfiable
% Rating   : 0.00 v8.2.0, 0.33 v8.1.0, 0.00 v7.5.0, 0.33 v7.0.0, 0.67 v6.2.0, 0.60 v6.1.0, 0.67 v6.0.0, 0.33 v5.5.0, 0.25 v5.4.0, 0.44 v5.3.0, 0.43 v5.0.0, 0.50 v4.1.0, 0.43 v4.0.0, 0.50 v3.5.0, 0.43 v3.4.0, 0.33 v3.2.0, 0.60 v3.1.0, 0.43 v2.7.0, 0.60 v2.6.0
% Syntax   : Number of clauses     :   43 (   2 unt;   0 nHn;  43 RR)
%            Number of literals    :   84 (   0 equ;  42 neg)
%            Maximal clause size   :    2 (   1 avg)
%            Maximal term depth    :    6 (   1 avg)
%            Number of predicates  :    1 (   1 usr;   0 prp; 12-12 aty)
%            Number of functors    :   14 (  14 usr;   1 con; 0-2 aty)
%            Number of variables   :  491 (  11 sgn)
% SPC      : CNF_SAT_RFO_NEQ

% Comments : PUZ048-1 takes it from the initial state to this intermediate
%            state.
%--------------------------------------------------------------------------
%----Include axioms for quo vadis
include('Axioms/PUZ004-0.ax').
%--------------------------------------------------------------------------
cnf(intermediate_state,hypothesis,
    state(bb(s(s(o)),s(s(o))),v1(o,o),v2(o,s(o)),v3(o,s(s(o))),v4(o,s(s(s(o)))),h(s(s(s(s(o)))),o),s1(s(s(o)),o),s2(s(s(o)),s(o)),s3(s(s(o)),o),s4(s(s(s(s(o)))),s(s(o))),e1(s(s(s(o))),o),e2(s(s(s(s(o)))),s(s(s(o))))) ).

cnf(goal_state,negated_conjecture,
    ~ state(bb(s(s(s(o))),s(o)),V1,V2,V3,V4,H,S1,S2,S3,S4,E1,E2) ).

%--------------------------------------------------------------------------