%------------------------------------------------------------------------------
% File : Faust---1.0
% Problem : PUZ032-1 : TPTP v3.4.2. Released v1.0.0.
% Transfm : none
% Format : tptp
% Command : faust %s
% Computer : art08.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:04 EDT 2009
% Result : Unsatisfiable 0.1s
% Output : Refutation 0.1s
% Verified :
% SZS Type : Refutation
% Derivation depth : 7
% Number of leaves : 7
% Syntax : Number of formulae : 23 ( 10 unt; 0 def)
% Number of atoms : 40 ( 0 equ)
% Maximal formula atoms : 3 ( 1 avg)
% Number of connectives : 35 ( 18 ~; 17 |; 0 &)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 6 ( 3 avg)
% Maximal term depth : 4 ( 2 avg)
% Number of predicates : 2 ( 1 usr; 1 prp; 0-1 aty)
% Number of functors : 6 ( 6 usr; 3 con; 0-2 aty)
% Number of variables : 12 ( 0 sgn 6 !; 0 ?)
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Faust---1.0 format not known, defaulting to TPTP
fof(liars_are_told_by_liars,plain,
! [A,B] :
( a_truth(A)
| ~ a_truth(says(B,A))
| a_truth(liar(B)) ),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170566632,plain,
( a_truth(A)
| ~ a_truth(says(B,A))
| a_truth(liar(B)) ),
inference(rewrite,[status(thm)],[liars_are_told_by_liars]),
[] ).
fof(b_says_a_says_hes_a_liar,plain,
a_truth(says(b,says(a,liar(a)))),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170574360,plain,
a_truth(says(b,says(a,liar(a)))),
inference(rewrite,[status(thm)],[b_says_a_says_hes_a_liar]),
[] ).
cnf(178526696,plain,
( a_truth(says(a,liar(a)))
| a_truth(liar(b)) ),
inference(resolution,[status(thm)],[170566632,170574360]),
[] ).
cnf(178654016,plain,
( a_truth(liar(b))
| a_truth(liar(a)) ),
inference(resolution,[status(thm)],[178526696,170566632]),
[] ).
fof(not_both,plain,
! [A] :
( ~ a_truth(truthteller(A))
| ~ a_truth(liar(A)) ),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170535048,plain,
( ~ a_truth(truthteller(A))
| ~ a_truth(liar(A)) ),
inference(rewrite,[status(thm)],[not_both]),
[] ).
cnf(178665992,plain,
( a_truth(liar(a))
| ~ a_truth(truthteller(b)) ),
inference(resolution,[status(thm)],[178654016,170535048]),
[] ).
cnf(178684520,plain,
( ~ a_truth(truthteller(b))
| ~ a_truth(truthteller(a)) ),
inference(resolution,[status(thm)],[178665992,170535048]),
[] ).
fof(truths_are_told_by_truthtellers,plain,
! [A,B] :
( ~ a_truth(A)
| ~ a_truth(says(B,A))
| a_truth(truthteller(B)) ),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170555528,plain,
( ~ a_truth(A)
| ~ a_truth(says(B,A))
| a_truth(truthteller(B)) ),
inference(rewrite,[status(thm)],[truths_are_told_by_truthtellers]),
[] ).
cnf(178647728,plain,
( a_truth(says(a,liar(a)))
| ~ a_truth(truthteller(b)) ),
inference(resolution,[status(thm)],[178526696,170535048]),
[] ).
cnf(179244248,plain,
~ a_truth(truthteller(b)),
inference(forward_subsumption_resolution__resolution,[status(thm)],[178684520,178665992,170555528,178647728]),
[] ).
fof(prove_c_is_a_truthteller,plain,
~ a_truth(truthteller(c)),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170524152,plain,
~ a_truth(truthteller(c)),
inference(rewrite,[status(thm)],[prove_c_is_a_truthteller]),
[] ).
fof(c_says_b_is_a_liar,plain,
a_truth(says(c,liar(b))),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170578320,plain,
a_truth(says(c,liar(b))),
inference(rewrite,[status(thm)],[c_says_b_is_a_liar]),
[] ).
cnf(178976912,plain,
~ a_truth(liar(b)),
inference(forward_subsumption_resolution__resolution,[status(thm)],[170524152,170555528,170578320]),
[] ).
fof(truthteller_or_liar,plain,
! [A] :
( a_truth(truthteller(A))
| a_truth(liar(A)) ),
file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),
[] ).
cnf(170528424,plain,
( a_truth(truthteller(A))
| a_truth(liar(A)) ),
inference(rewrite,[status(thm)],[truthteller_or_liar]),
[] ).
cnf(179258944,plain,
a_truth(truthteller(b)),
inference(resolution,[status(thm)],[178976912,170528424]),
[] ).
cnf(contradiction,plain,
$false,
inference(resolution,[status(thm)],[179244248,179258944]),
[] ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% Proof found in: 0 seconds
% START OF PROOF SEQUENCE
% fof(liars_are_told_by_liars,plain,(a_truth(A)|~a_truth(says(B,A))|a_truth(liar(B))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170566632,plain,(a_truth(A)|~a_truth(says(B,A))|a_truth(liar(B))),inference(rewrite,[status(thm)],[liars_are_told_by_liars]),[]).
%
% fof(b_says_a_says_hes_a_liar,plain,(a_truth(says(b,says(a,liar(a))))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170574360,plain,(a_truth(says(b,says(a,liar(a))))),inference(rewrite,[status(thm)],[b_says_a_says_hes_a_liar]),[]).
%
% cnf(178526696,plain,(a_truth(says(a,liar(a)))|a_truth(liar(b))),inference(resolution,[status(thm)],[170566632,170574360]),[]).
%
% cnf(178654016,plain,(a_truth(liar(b))|a_truth(liar(a))),inference(resolution,[status(thm)],[178526696,170566632]),[]).
%
% fof(not_both,plain,(~a_truth(truthteller(A))|~a_truth(liar(A))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170535048,plain,(~a_truth(truthteller(A))|~a_truth(liar(A))),inference(rewrite,[status(thm)],[not_both]),[]).
%
% cnf(178665992,plain,(a_truth(liar(a))|~a_truth(truthteller(b))),inference(resolution,[status(thm)],[178654016,170535048]),[]).
%
% cnf(178684520,plain,(~a_truth(truthteller(b))|~a_truth(truthteller(a))),inference(resolution,[status(thm)],[178665992,170535048]),[]).
%
% fof(truths_are_told_by_truthtellers,plain,(~a_truth(A)|~a_truth(says(B,A))|a_truth(truthteller(B))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170555528,plain,(~a_truth(A)|~a_truth(says(B,A))|a_truth(truthteller(B))),inference(rewrite,[status(thm)],[truths_are_told_by_truthtellers]),[]).
%
% cnf(178647728,plain,(a_truth(says(a,liar(a)))|~a_truth(truthteller(b))),inference(resolution,[status(thm)],[178526696,170535048]),[]).
%
% cnf(179244248,plain,(~a_truth(truthteller(b))),inference(forward_subsumption_resolution__resolution,[status(thm)],[178684520,178665992,170555528,178647728]),[]).
%
% fof(prove_c_is_a_truthteller,plain,(~a_truth(truthteller(c))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170524152,plain,(~a_truth(truthteller(c))),inference(rewrite,[status(thm)],[prove_c_is_a_truthteller]),[]).
%
% fof(c_says_b_is_a_liar,plain,(a_truth(says(c,liar(b)))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170578320,plain,(a_truth(says(c,liar(b)))),inference(rewrite,[status(thm)],[c_says_b_is_a_liar]),[]).
%
% cnf(178976912,plain,(~a_truth(liar(b))),inference(forward_subsumption_resolution__resolution,[status(thm)],[170524152,170555528,170578320]),[]).
%
% fof(truthteller_or_liar,plain,(a_truth(truthteller(A))|a_truth(liar(A))),file('/home/graph/tptp/TSTP/PreparedTPTP/tptp---none/PUZ/PUZ032-1.tptp',unknown),[]).
%
% cnf(170528424,plain,(a_truth(truthteller(A))|a_truth(liar(A))),inference(rewrite,[status(thm)],[truthteller_or_liar]),[]).
%
% cnf(179258944,plain,(a_truth(truthteller(b))),inference(resolution,[status(thm)],[178976912,170528424]),[]).
%
% cnf(contradiction,plain,$false,inference(resolution,[status(thm)],[179244248,179258944]),[]).
%
% END OF PROOF SEQUENCE
%
%------------------------------------------------------------------------------