TSTP Solution File: PUZ035-5 by Faust---1.0
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Faust---1.0
% Problem : PUZ035-5 : 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:20 EDT 2009
% Result : Unsatisfiable 0.3s
% Output : Refutation 0.3s
% Verified :
% SZS Type : Refutation
% Derivation depth : 6
% Number of leaves : 3
% Syntax : Number of formulae : 14 ( 4 unt; 0 def)
% Number of atoms : 24 ( 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 : 2 ( 1 avg)
% Number of predicates : 2 ( 1 usr; 1 prp; 0-1 aty)
% Number of functors : 5 ( 5 usr; 4 con; 0-2 aty)
% Number of variables : 11 ( 5 sgn 4 !; 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-5.tptp',unknown),
[] ).
cnf(153150608,plain,
( ~ truth(isa(asked,A))
| ~ truth(isa(other,B)) ),
inference(rewrite,[status(thm)],[query]),
[] ).
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-5.tptp',unknown),
[] ).
cnf(153086928,plain,
( truth(isa(A,knight))
| truth(isa(A,knave)) ),
inference(rewrite,[status(thm)],[everyone_a_knight_or_knave]),
[] ).
cnf(161758936,plain,
( ~ truth(isa(other,A))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[153150608,153086928]),
[] ).
cnf(163612144,plain,
( truth(isa(asked,knight))
| truth(isa(other,knave)) ),
inference(resolution,[status(thm)],[161758936,153086928]),
[] ).
cnf(161750848,plain,
( ~ truth(isa(other,A))
| truth(isa(asked,knave)) ),
inference(resolution,[status(thm)],[153150608,153086928]),
[] ).
cnf(163426224,plain,
( truth(isa(asked,knave))
| truth(isa(other,knave)) ),
inference(resolution,[status(thm)],[161750848,153086928]),
[] ).
fof(not_both_a_knight_and_knave,plain,
! [A] :
( ~ truth(isa(A,knight))
| ~ truth(isa(A,knave)) ),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-5.tptp',unknown),
[] ).
cnf(153093720,plain,
( ~ truth(isa(A,knight))
| ~ truth(isa(A,knave)) ),
inference(rewrite,[status(thm)],[not_both_a_knight_and_knave]),
[] ).
cnf(165208832,plain,
truth(isa(other,knave)),
inference(forward_subsumption_resolution__resolution,[status(thm)],[163612144,163426224,153093720]),
[] ).
cnf(165339432,plain,
~ truth(isa(asked,A)),
inference(resolution,[status(thm)],[165208832,153150608]),
[] ).
cnf(165288528,plain,
truth(isa(asked,knave)),
inference(resolution,[status(thm)],[163426224,161750848]),
[] ).
cnf(contradiction,plain,
$false,
inference(resolution,[status(thm)],[165339432,165288528]),
[] ).
%------------------------------------------------------------------------------
%----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-5.tptp',unknown),[]).
%
% cnf(153150608,plain,(~truth(isa(asked,A))|~truth(isa(other,B))),inference(rewrite,[status(thm)],[query]),[]).
%
% 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-5.tptp',unknown),[]).
%
% cnf(153086928,plain,(truth(isa(A,knight))|truth(isa(A,knave))),inference(rewrite,[status(thm)],[everyone_a_knight_or_knave]),[]).
%
% cnf(161758936,plain,(~truth(isa(other,A))|truth(isa(asked,knight))),inference(resolution,[status(thm)],[153150608,153086928]),[]).
%
% cnf(163612144,plain,(truth(isa(asked,knight))|truth(isa(other,knave))),inference(resolution,[status(thm)],[161758936,153086928]),[]).
%
% cnf(161750848,plain,(~truth(isa(other,A))|truth(isa(asked,knave))),inference(resolution,[status(thm)],[153150608,153086928]),[]).
%
% cnf(163426224,plain,(truth(isa(asked,knave))|truth(isa(other,knave))),inference(resolution,[status(thm)],[161750848,153086928]),[]).
%
% fof(not_both_a_knight_and_knave,plain,(~truth(isa(A,knight))|~truth(isa(A,knave))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ035-5.tptp',unknown),[]).
%
% cnf(153093720,plain,(~truth(isa(A,knight))|~truth(isa(A,knave))),inference(rewrite,[status(thm)],[not_both_a_knight_and_knave]),[]).
%
% cnf(165208832,plain,(truth(isa(other,knave))),inference(forward_subsumption_resolution__resolution,[status(thm)],[163612144,163426224,153093720]),[]).
%
% cnf(165339432,plain,(~truth(isa(asked,A))),inference(resolution,[status(thm)],[165208832,153150608]),[]).
%
% cnf(165288528,plain,(truth(isa(asked,knave))),inference(resolution,[status(thm)],[163426224,161750848]),[]).
%
% cnf(contradiction,plain,$false,inference(resolution,[status(thm)],[165339432,165288528]),[]).
%
% END OF PROOF SEQUENCE
%
%------------------------------------------------------------------------------