TSTP Solution File: PUZ035-6 by Faust---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Faust---1.0
% Problem  : PUZ035-6 : TPTP v3.4.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp
% Command  : faust %s

% Computer : art03.cs.miami.edu
% Model    : i686 i686
% CPU      : Intel(R) Pentium(R) 4 CPU 2.80GHz @ 2793MHz
% Memory   : 1003MB
% OS       : Linux 2.6.17-1.2142_FC4
% CPULimit : 600s
% DateTime : Wed May  6 15:12:21 EDT 2009

% Result   : Unsatisfiable 0.9s
% Output   : Refutation 0.9s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    5
%            Number of leaves      :    4
% Syntax   : Number of formulae    :   13 (   3 unt;   0 def)
%            Number of atoms       :   23 (   0 equ)
%            Maximal formula atoms :    2 (   1 avg)
%            Number of connectives :   21 (  11   ~;  10   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    5 (   3 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :    2 (   1 usr;   1 prp; 0-1 aty)
%            Number of functors    :    6 (   6 usr;   4 con; 0-2 aty)
%            Number of variables   :   15 (   6 sgn   5   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Faust---1.0 format not known, defaulting to TPTP
fof(query,plain,
    ! [A,B] :
      ( ~ truth(isa(asked,A))
      | ~ truth(isa(other,B)) ),
    file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),
    [] ).

cnf(156446472,plain,
    ( ~ truth(isa(asked,A))
    | ~ truth(isa(other,B)) ),
    inference(rewrite,[status(thm)],[query]),
    [] ).

fof(not1,plain,
    ! [A] :
      ( truth(A)
      | truth(not(A)) ),
    file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),
    [] ).

cnf(156413160,plain,
    ( truth(A)
    | truth(not(A)) ),
    inference(rewrite,[status(thm)],[not1]),
    [] ).

cnf(166407088,plain,
    ( ~ truth(isa(other,B))
    | truth(not(isa(asked,A))) ),
    inference(resolution,[status(thm)],[156446472,156413160]),
    [] ).

fof(not2,plain,
    ! [A] :
      ( ~ truth(A)
      | ~ truth(not(A)) ),
    file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),
    [] ).

cnf(156418752,plain,
    ( ~ truth(A)
    | ~ truth(not(A)) ),
    inference(rewrite,[status(thm)],[not2]),
    [] ).

fof(everyone_a_knight_or_knave,plain,
    ! [A] :
      ( truth(isa(A,knight))
      | truth(isa(A,knave)) ),
    file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),
    [] ).

cnf(156369000,plain,
    ( truth(isa(A,knight))
    | truth(isa(A,knave)) ),
    inference(rewrite,[status(thm)],[everyone_a_knight_or_knave]),
    [] ).

cnf(164488272,plain,
    ( ~ truth(not(isa(A,knight)))
    | truth(isa(A,knave)) ),
    inference(resolution,[status(thm)],[156418752,156369000]),
    [] ).

cnf(179817448,plain,
    ~ truth(isa(other,A)),
    inference(forward_subsumption_resolution__resolution,[status(thm)],[166407088,164488272,156446472]),
    [] ).

cnf(179955096,plain,
    truth(not(isa(other,A))),
    inference(resolution,[status(thm)],[179817448,156413160]),
    [] ).

cnf(contradiction,plain,
    $false,
    inference(forward_subsumption_resolution__resolution,[status(thm)],[179955096,179817448,164488272]),
    [] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% Proof found in: 1 seconds
% START OF PROOF SEQUENCE
% fof(query,plain,(~truth(isa(asked,A))|~truth(isa(other,B))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),[]).
% 
% cnf(156446472,plain,(~truth(isa(asked,A))|~truth(isa(other,B))),inference(rewrite,[status(thm)],[query]),[]).
% 
% fof(not1,plain,(truth(A)|truth(not(A))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),[]).
% 
% cnf(156413160,plain,(truth(A)|truth(not(A))),inference(rewrite,[status(thm)],[not1]),[]).
% 
% cnf(166407088,plain,(~truth(isa(other,B))|truth(not(isa(asked,A)))),inference(resolution,[status(thm)],[156446472,156413160]),[]).
% 
% fof(not2,plain,(~truth(A)|~truth(not(A))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),[]).
% 
% cnf(156418752,plain,(~truth(A)|~truth(not(A))),inference(rewrite,[status(thm)],[not2]),[]).
% 
% fof(everyone_a_knight_or_knave,plain,(truth(isa(A,knight))|truth(isa(A,knave))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-6.tptp',unknown),[]).
% 
% cnf(156369000,plain,(truth(isa(A,knight))|truth(isa(A,knave))),inference(rewrite,[status(thm)],[everyone_a_knight_or_knave]),[]).
% 
% cnf(164488272,plain,(~truth(not(isa(A,knight)))|truth(isa(A,knave))),inference(resolution,[status(thm)],[156418752,156369000]),[]).
% 
% cnf(179817448,plain,(~truth(isa(other,A))),inference(forward_subsumption_resolution__resolution,[status(thm)],[166407088,164488272,156446472]),[]).
% 
% cnf(179955096,plain,(truth(not(isa(other,A)))),inference(resolution,[status(thm)],[179817448,156413160]),[]).
% 
% cnf(contradiction,plain,$false,inference(forward_subsumption_resolution__resolution,[status(thm)],[179955096,179817448,164488272]),[]).
% 
% END OF PROOF SEQUENCE
% 
%------------------------------------------------------------------------------