%------------------------------------------------------------------------------
% File : Metis---2.4
% Problem : PUZ032-1 : TPTP v8.1.0. Released v1.0.0.
% Transfm : none
% Format : tptp:raw
% Command : metis --show proof --show saturation %s
% Computer : n022.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 600s
% DateTime : Mon Jul 18 18:20:51 EDT 2022
% Result : Unsatisfiable 0.13s 0.35s
% Output : CNFRefutation 0.13s
% Verified :
% SZS Type : Refutation
% Derivation depth : 8
% Number of leaves : 6
% Syntax : Number of clauses : 24 ( 8 unt; 7 nHn; 23 RR)
% Number of literals : 46 ( 0 equ; 21 neg)
% Maximal clause size : 3 ( 1 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 : 5 ( 0 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(truthteller_or_liar,axiom,
( a_truth(truthteller(X))
| a_truth(liar(X)) ) ).
cnf(truthtellers_tell_truth,axiom,
( ~ a_truth(truthteller(Truthteller))
| ~ a_truth(says(Truthteller,Statement))
| a_truth(Statement) ) ).
cnf(liars_lie,axiom,
( ~ a_truth(liar(Liar))
| ~ a_truth(says(Liar,Statement))
| ~ a_truth(Statement) ) ).
cnf(b_says_a_says_hes_a_liar,hypothesis,
a_truth(says(b,says(a,liar(a)))) ).
cnf(c_says_b_is_a_liar,hypothesis,
a_truth(says(c,liar(b))) ).
cnf(prove_c_is_a_truthteller,negated_conjecture,
~ a_truth(truthteller(c)) ).
cnf(refute_0_0,plain,
( a_truth(liar(b))
| a_truth(truthteller(b)) ),
inference(subst,[],[truthteller_or_liar:[bind(X,$fot(b))]]) ).
cnf(refute_0_1,plain,
( ~ a_truth(says(b,says(a,liar(a))))
| ~ a_truth(truthteller(b))
| a_truth(says(a,liar(a))) ),
inference(subst,[],[truthtellers_tell_truth:[bind(Statement,$fot(says(a,liar(a)))),bind(Truthteller,$fot(b))]]) ).
cnf(refute_0_2,plain,
( ~ a_truth(truthteller(b))
| a_truth(says(a,liar(a))) ),
inference(resolve,[$cnf( a_truth(says(b,says(a,liar(a)))) )],[b_says_a_says_hes_a_liar,refute_0_1]) ).
cnf(refute_0_3,plain,
( a_truth(liar(b))
| a_truth(says(a,liar(a))) ),
inference(resolve,[$cnf( a_truth(truthteller(b)) )],[refute_0_0,refute_0_2]) ).
cnf(refute_0_4,plain,
( ~ a_truth(liar(a))
| ~ a_truth(says(a,liar(a))) ),
inference(subst,[],[liars_lie:[bind(Liar,$fot(a)),bind(Statement,$fot(liar(a)))]]) ).
cnf(refute_0_5,plain,
( ~ a_truth(liar(a))
| a_truth(liar(b)) ),
inference(resolve,[$cnf( a_truth(says(a,liar(a))) )],[refute_0_3,refute_0_4]) ).
cnf(refute_0_6,plain,
( a_truth(liar(a))
| a_truth(truthteller(a)) ),
inference(subst,[],[truthteller_or_liar:[bind(X,$fot(a))]]) ).
cnf(refute_0_7,plain,
( ~ a_truth(says(a,liar(a)))
| ~ a_truth(truthteller(a))
| a_truth(liar(a)) ),
inference(subst,[],[truthtellers_tell_truth:[bind(Statement,$fot(liar(a))),bind(Truthteller,$fot(a))]]) ).
cnf(refute_0_8,plain,
( ~ a_truth(truthteller(a))
| a_truth(liar(a))
| a_truth(liar(b)) ),
inference(resolve,[$cnf( a_truth(says(a,liar(a))) )],[refute_0_3,refute_0_7]) ).
cnf(refute_0_9,plain,
( a_truth(liar(a))
| a_truth(liar(b)) ),
inference(resolve,[$cnf( a_truth(truthteller(a)) )],[refute_0_6,refute_0_8]) ).
cnf(refute_0_10,plain,
( ~ a_truth(liar(b))
| ~ a_truth(liar(c))
| ~ a_truth(says(c,liar(b))) ),
inference(subst,[],[liars_lie:[bind(Liar,$fot(c)),bind(Statement,$fot(liar(b)))]]) ).
cnf(refute_0_11,plain,
( ~ a_truth(liar(b))
| ~ a_truth(liar(c)) ),
inference(resolve,[$cnf( a_truth(says(c,liar(b))) )],[c_says_b_is_a_liar,refute_0_10]) ).
cnf(refute_0_12,plain,
( a_truth(liar(c))
| a_truth(truthteller(c)) ),
inference(subst,[],[truthteller_or_liar:[bind(X,$fot(c))]]) ).
cnf(refute_0_13,plain,
a_truth(liar(c)),
inference(resolve,[$cnf( a_truth(truthteller(c)) )],[refute_0_12,prove_c_is_a_truthteller]) ).
cnf(refute_0_14,plain,
~ a_truth(liar(b)),
inference(resolve,[$cnf( a_truth(liar(c)) )],[refute_0_13,refute_0_11]) ).
cnf(refute_0_15,plain,
a_truth(liar(a)),
inference(resolve,[$cnf( a_truth(liar(b)) )],[refute_0_9,refute_0_14]) ).
cnf(refute_0_16,plain,
a_truth(liar(b)),
inference(resolve,[$cnf( a_truth(liar(a)) )],[refute_0_15,refute_0_5]) ).
cnf(refute_0_17,plain,
$false,
inference(resolve,[$cnf( a_truth(liar(b)) )],[refute_0_16,refute_0_14]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12 % Problem : PUZ032-1 : TPTP v8.1.0. Released v1.0.0.
% 0.06/0.13 % Command : metis --show proof --show saturation %s
% 0.13/0.34 % Computer : n022.cluster.edu
% 0.13/0.34 % Model : x86_64 x86_64
% 0.13/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34 % Memory : 8042.1875MB
% 0.13/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34 % CPULimit : 300
% 0.13/0.34 % WCLimit : 600
% 0.13/0.34 % DateTime : Sat May 28 19:47:53 EDT 2022
% 0.13/0.34 % CPUTime :
% 0.13/0.34 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 0.13/0.35 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.13/0.35
% 0.13/0.35 % SZS output start CNFRefutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 0.13/0.35
%------------------------------------------------------------------------------