TSTP Solution File: PUZ035-2 by Leo-III---1.7.7
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Leo-III---1.7.7
% Problem : PUZ035-2 : TPTP v8.1.2. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : run_Leo-III %s %d
% Computer : n014.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 : 300s
% DateTime : Fri May 19 11:47:30 EDT 2023
% Result : Unsatisfiable 3.09s 1.66s
% Output : Refutation 3.27s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 27
% Syntax : Number of formulae : 44 ( 5 unt; 11 typ; 0 def)
% Number of atoms : 85 ( 0 equ; 0 cnn)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 218 ( 48 ~; 52 |; 0 &; 118 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 6 ( 6 >; 0 *; 0 +; 0 <<)
% Number of symbols : 12 ( 11 usr; 7 con; 0-2 aty)
% Number of variables : 24 ( 0 ^; 24 !; 0 ?; 24 :)
% Comments :
%------------------------------------------------------------------------------
thf(response_type,type,
response: $i > $o ).
thf(isa_type,type,
isa: $i > $i > $o ).
thf(asked_type,type,
asked: $i ).
thf(other_type,type,
other: $i ).
thf(tell_the_truth_type,type,
tell_the_truth: $i > $o ).
thf(lies_type,type,
lies: $i > $o ).
thf(person_type,type,
person: $i > $o ).
thf(knight_type,type,
knight: $i ).
thf(yes_type,type,
yes: $i ).
thf(no_type,type,
no: $i ).
thf(knave_type,type,
knave: $i ).
thf(5,axiom,
( ( response @ no )
| ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( tell_the_truth @ asked ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthful_answer) ).
thf(25,plain,
( ( response @ no )
| ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( tell_the_truth @ asked ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(7,axiom,
person @ other,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).
thf(29,plain,
person @ other,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(14,axiom,
! [A: $i] :
( ~ ( response @ yes )
| ~ ( lies @ asked )
| ~ ( isa @ A @ knight ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers1) ).
thf(41,plain,
! [A: $i] :
( ~ ( response @ yes )
| ~ ( lies @ asked )
| ~ ( isa @ A @ knight ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(6,axiom,
! [A: $i] :
( ~ ( isa @ A @ knight )
| ~ ( isa @ A @ knave ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).
thf(27,plain,
! [A: $i] :
( ~ ( isa @ A @ knight )
| ~ ( isa @ A @ knave ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(15,axiom,
! [A: $i] :
( ~ ( isa @ A @ knave )
| ( lies @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knaves_make_false_statements) ).
thf(43,plain,
! [A: $i] :
( ~ ( isa @ A @ knave )
| ( lies @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(12,axiom,
! [A: $i] :
( ~ ( response @ no )
| ~ ( tell_the_truth @ asked )
| ~ ( isa @ A @ knight ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers2) ).
thf(38,plain,
! [A: $i] :
( ~ ( response @ no )
| ~ ( tell_the_truth @ asked )
| ~ ( isa @ A @ knight ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(3,axiom,
! [A: $i] :
( ~ ( person @ A )
| ( tell_the_truth @ A )
| ( lies @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false2) ).
thf(21,plain,
! [A: $i] :
( ~ ( person @ A )
| ( tell_the_truth @ A )
| ( lies @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(16,axiom,
! [A: $i] :
( ~ ( person @ A )
| ( isa @ A @ knight )
| ( isa @ A @ knave ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(45,plain,
! [A: $i] :
( ~ ( person @ A )
| ( isa @ A @ knight )
| ( isa @ A @ knave ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(1,negated_conjecture,
! [C: $i,B: $i,A: $i] :
( ~ ( response @ A )
| ~ ( isa @ asked @ B )
| ~ ( isa @ other @ C ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).
thf(17,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( response @ A )
| ~ ( isa @ asked @ B )
| ~ ( isa @ other @ C ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(9,axiom,
! [A: $i] :
( ~ ( isa @ A @ knight )
| ( tell_the_truth @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements) ).
thf(32,plain,
! [A: $i] :
( ~ ( isa @ A @ knight )
| ( tell_the_truth @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
( ( response @ yes )
| ( response @ no ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',two_answers) ).
thf(34,plain,
( ( response @ yes )
| ( response @ no ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(13,axiom,
person @ asked,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).
thf(40,plain,
person @ asked,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(4,axiom,
( ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( response @ yes )
| ~ ( tell_the_truth @ asked ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',true_one_is_a_knight) ).
thf(23,plain,
( ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( response @ yes )
| ~ ( tell_the_truth @ asked ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(11,axiom,
! [A: $i] :
( ( response @ yes )
| ~ ( tell_the_truth @ asked )
| ~ ( isa @ A @ knight ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers3) ).
thf(36,plain,
! [A: $i] :
( ( response @ yes )
| ~ ( tell_the_truth @ asked )
| ~ ( isa @ A @ knight ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(8,axiom,
( ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( response @ no )
| ~ ( lies @ asked ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',lie_one_is_a_knight) ).
thf(30,plain,
( ( isa @ asked @ knight )
| ( isa @ other @ knight )
| ~ ( response @ no )
| ~ ( lies @ asked ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(2,axiom,
! [A: $i] :
( ~ ( tell_the_truth @ A )
| ~ ( lies @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false) ).
thf(19,plain,
! [A: $i] :
( ~ ( tell_the_truth @ A )
| ~ ( lies @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(50,plain,
$false,
inference(e,[status(thm)],[25,29,41,27,43,38,21,45,17,32,34,40,23,36,30,19]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.10 % Problem : PUZ035-2 : TPTP v8.1.2. Released v2.0.0.
% 0.11/0.13 % Command : run_Leo-III %s %d
% 0.13/0.34 % Computer : n014.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 : 300
% 0.13/0.34 % DateTime : Thu May 18 19:57:28 EDT 2023
% 0.13/0.35 % CPUTime :
% 0.87/0.83 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.25/0.95 % [INFO] Parsing done (111ms).
% 1.25/0.95 % [INFO] Running in sequential loop mode.
% 1.52/1.17 % [INFO] eprover registered as external prover.
% 1.52/1.17 % [INFO] cvc4 registered as external prover.
% 1.52/1.17 % [INFO] Scanning for conjecture ...
% 1.85/1.23 % [INFO] Found a conjecture and 15 axioms. Running axiom selection ...
% 1.93/1.28 % [INFO] Axiom selection finished. Selected 15 axioms (removed 0 axioms).
% 1.93/1.30 % [INFO] Problem is propositional (TPTP CNF).
% 1.93/1.30 % [INFO] Type checking passed.
% 1.93/1.30 % [CONFIG] Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>. Searching for refutation ...
% 3.09/1.66 % External prover 'e' found a proof!
% 3.09/1.66 % [INFO] Killing All external provers ...
% 3.09/1.66 % Time passed: 1155ms (effective reasoning time: 704ms)
% 3.09/1.66 % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 3.09/1.66 % Axioms used in derivation (15): everyone_a_knight_or_knave, two_answers, truthful_answer, knaves_make_false_statements, other_person, statements_are_true_or_false, knights_make_true_statements, lie_one_is_a_knight, knight_answers2, true_one_is_a_knight, not_both_a_knight_and_knave, knight_answers1, statements_are_true_or_false2, asked_person, knight_answers3
% 3.09/1.66 % No. of inferences in proof: 33
% 3.09/1.66 % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1155 ms resp. 704 ms w/o parsing
% 3.27/1.75 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 3.27/1.75 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------