TSTP Solution File: PUZ025-1 by PyRes---1.3
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : PyRes---1.3
% Problem : PUZ025-1 : TPTP v8.1.0. Released v1.0.0.
% Transfm : none
% Format : tptp:raw
% Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% Computer : n029.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:24:10 EDT 2022
% Result : Unsatisfiable 0.48s 0.65s
% Output : Refutation 0.48s
% Verified :
% SZS Type : ERROR: Analysing output (Could not find formula named input)
% Comments :
%------------------------------------------------------------------------------
cnf(prove_there_is_an_answer,negated_conjecture,
~ answer(X2),
input ).
cnf(ask_c_if_a_and_b_equal,plain,
ask_1_if_2(c,equal_type(a,b)),
input ).
cnf(liar_supports_lies,axiom,
( ~ ask_1_if_2(X39,X38)
| ~ a_truth(liar(X39))
| a_truth(X38)
| answer(yes) ),
input ).
cnf(truthteller_or_liar,axiom,
( a_truth(truthteller(X3))
| a_truth(liar(X3)) ),
input ).
cnf(truthteller_identifies_truths,axiom,
( ~ ask_1_if_2(X31,X30)
| ~ a_truth(truthteller(X31))
| ~ a_truth(X30)
| answer(yes) ),
input ).
cnf(c30,plain,
( ~ ask_1_if_2(X63,X62)
| ~ a_truth(X62)
| answer(yes)
| a_truth(liar(X63)) ),
inference(resolution,status(thm),[truthteller_identifies_truths,truthteller_or_liar]) ).
cnf(c105,plain,
( ~ a_truth(equal_type(a,b))
| answer(yes)
| a_truth(liar(c)) ),
inference(resolution,status(thm),[c30,ask_c_if_a_and_b_equal]) ).
cnf(truthteller_denies_lies,axiom,
( ~ ask_1_if_2(X34,X33)
| ~ a_truth(truthteller(X34))
| a_truth(X33)
| answer(no) ),
input ).
cnf(c31,plain,
( ~ ask_1_if_2(X65,X64)
| a_truth(X64)
| answer(no)
| a_truth(liar(X65)) ),
inference(resolution,status(thm),[truthteller_denies_lies,truthteller_or_liar]) ).
cnf(c106,plain,
( a_truth(equal_type(a,b))
| answer(no)
| a_truth(liar(c)) ),
inference(resolution,status(thm),[c31,ask_c_if_a_and_b_equal]) ).
cnf(c231,plain,
( answer(no)
| a_truth(liar(c))
| answer(yes) ),
inference(resolution,status(thm),[c106,c105]) ).
cnf(c240,plain,
( a_truth(liar(c))
| answer(yes) ),
inference(resolution,status(thm),[c231,prove_there_is_an_answer]) ).
cnf(c249,plain,
( answer(yes)
| ~ ask_1_if_2(c,X99)
| a_truth(X99) ),
inference(resolution,status(thm),[c240,liar_supports_lies]) ).
cnf(c270,plain,
( answer(yes)
| a_truth(equal_type(a,b)) ),
inference(resolution,status(thm),[c249,ask_c_if_a_and_b_equal]) ).
cnf(c321,plain,
a_truth(equal_type(a,b)),
inference(resolution,status(thm),[c270,prove_there_is_an_answer]) ).
cnf(liar_denies_truths,axiom,
( ~ ask_1_if_2(X36,X35)
| ~ a_truth(liar(X36))
| ~ a_truth(X35)
| answer(no) ),
input ).
cnf(c256,plain,
a_truth(liar(c)),
inference(resolution,status(thm),[c240,prove_there_is_an_answer]) ).
cnf(c260,plain,
( ~ ask_1_if_2(c,X102)
| ~ a_truth(X102)
| answer(no) ),
inference(resolution,status(thm),[c256,liar_denies_truths]) ).
cnf(c271,plain,
( ~ a_truth(equal_type(a,b))
| answer(no) ),
inference(resolution,status(thm),[c260,ask_c_if_a_and_b_equal]) ).
cnf(c335,plain,
answer(no),
inference(resolution,status(thm),[c271,c321]) ).
cnf(c336,plain,
$false,
inference(resolution,status(thm),[c335,prove_there_is_an_answer]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.11 % Problem : PUZ025-1 : TPTP v8.1.0. Released v1.0.0.
% 0.07/0.12 % Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.33 % Computer : n029.cluster.edu
% 0.12/0.33 % Model : x86_64 x86_64
% 0.12/0.33 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33 % Memory : 8042.1875MB
% 0.12/0.33 % OS : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33 % CPULimit : 300
% 0.12/0.33 % WCLimit : 600
% 0.12/0.33 % DateTime : Sat May 28 23:11:58 EDT 2022
% 0.12/0.33 % CPUTime :
% 0.48/0.65 # Version: 1.3
% 0.48/0.65 # SZS status Unsatisfiable
% 0.48/0.65 # SZS output start CNFRefutation
% See solution above
% 0.48/0.65
% 0.48/0.65 # Initial clauses : 24
% 0.48/0.65 # Processed clauses : 82
% 0.48/0.65 # Factors computed : 4
% 0.48/0.65 # Resolvents computed: 333
% 0.48/0.65 # Tautologies deleted: 10
% 0.48/0.65 # Forward subsumed : 35
% 0.48/0.65 # Backward subsumed : 28
% 0.48/0.65 # -------- CPU Time ---------
% 0.48/0.65 # User time : 0.306 s
% 0.48/0.65 # System time : 0.012 s
% 0.48/0.65 # Total time : 0.318 s
%------------------------------------------------------------------------------