TSTP Solution File: PUZ035-4 by PyRes---1.3
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : PyRes---1.3
% Problem : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% Computer : n025.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:14 EDT 2022
% Result : Unsatisfiable 0.38s 0.59s
% Output : Refutation 0.38s
% Verified :
% SZS Type : ERROR: Analysing output (Could not find formula named input)
% Comments :
%------------------------------------------------------------------------------
cnf(prove_answer,negated_conjecture,
( ~ truth(isa(asked,X22))
| ~ truth(isa(other,X20))
| ~ says(asked,X21) ),
input ).
cnf(other_person,axiom,
person(other),
input ).
cnf(everyone_a_knight_or_knave,axiom,
( ~ person(X7)
| truth(isa(X7,knight))
| truth(isa(X7,knave)) ),
input ).
cnf(c0,plain,
( truth(isa(other,knight))
| truth(isa(other,knave)) ),
inference(resolution,status(thm),[everyone_a_knight_or_knave,other_person]) ).
cnf(c11,plain,
( ~ truth(isa(asked,X25))
| ~ says(asked,X24)
| truth(isa(other,knave)) ),
inference(resolution,status(thm),[prove_answer,c0]) ).
cnf(asked_person,axiom,
person(asked),
input ).
cnf(c1,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knave)) ),
inference(resolution,status(thm),[everyone_a_knight_or_knave,asked_person]) ).
cnf(c15,plain,
( ~ says(asked,X28)
| truth(isa(other,knave))
| truth(isa(asked,knight)) ),
inference(resolution,status(thm),[c11,c1]) ).
cnf(one_is_knight_answer,axiom,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
input ).
cnf(c20,plain,
( truth(isa(other,knave))
| truth(isa(asked,knight))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,status(thm),[c15,one_is_knight_answer]) ).
cnf(c44,plain,
( truth(isa(other,knave))
| truth(isa(asked,knight)) ),
inference(resolution,status(thm),[c20,c15]) ).
cnf(c54,plain,
( truth(isa(other,knave))
| ~ says(asked,X32) ),
inference(resolution,status(thm),[c44,c11]) ).
cnf(c59,plain,
( truth(isa(other,knave))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,status(thm),[c54,one_is_knight_answer]) ).
cnf(c86,plain,
truth(isa(other,knave)),
inference(resolution,status(thm),[c59,c54]) ).
cnf(c88,plain,
( ~ truth(isa(asked,X41))
| ~ says(asked,X40) ),
inference(resolution,status(thm),[c86,prove_answer]) ).
cnf(c51,plain,
( truth(isa(asked,knight))
| ~ truth(isa(asked,X35))
| ~ says(asked,X34) ),
inference(resolution,status(thm),[c44,prove_answer]) ).
cnf(c61,plain,
( truth(isa(asked,knight))
| ~ says(asked,X36) ),
inference(resolution,status(thm),[c51,c1]) ).
cnf(c76,plain,
( truth(isa(asked,knight))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,status(thm),[c61,one_is_knight_answer]) ).
cnf(c111,plain,
truth(isa(asked,knight)),
inference(resolution,status(thm),[c76,c61]) ).
cnf(c124,plain,
~ says(asked,X44),
inference(resolution,status(thm),[c111,c88]) ).
cnf(c129,plain,
says(asked,or(isa(asked,knight),isa(other,knight))),
inference(resolution,status(thm),[c124,one_is_knight_answer]) ).
cnf(c133,plain,
$false,
inference(resolution,status(thm),[c129,c124]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.11 % Problem : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% 0.06/0.12 % Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.33 % Computer : n025.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:06:56 EDT 2022
% 0.12/0.33 % CPUTime :
% 0.38/0.59 # Version: 1.3
% 0.38/0.59 # SZS status Unsatisfiable
% 0.38/0.59 # SZS output start CNFRefutation
% See solution above
% 0.38/0.59
% 0.38/0.59 # Initial clauses : 14
% 0.38/0.59 # Processed clauses : 45
% 0.38/0.59 # Factors computed : 0
% 0.38/0.59 # Resolvents computed: 134
% 0.38/0.59 # Tautologies deleted: 2
% 0.38/0.59 # Forward subsumed : 13
% 0.38/0.59 # Backward subsumed : 26
% 0.38/0.59 # -------- CPU Time ---------
% 0.38/0.59 # User time : 0.249 s
% 0.38/0.59 # System time : 0.011 s
% 0.38/0.59 # Total time : 0.260 s
%------------------------------------------------------------------------------