TSTP Solution File: PUZ035-3 by Leo-III---1.7.7
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Leo-III---1.7.7
% Problem : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : run_Leo-III %s %d
% Computer : n021.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 2.92s 1.69s
% Output : Refutation 2.92s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 26
% Syntax : Number of formulae : 43 ( 5 unt; 10 typ; 0 def)
% Number of atoms : 79 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 2 avg)
% Number of connectives : 282 ( 46 ~; 46 |; 0 &; 190 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 10 ( 7 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 9 ( 9 >; 0 *; 0 +; 0 <<)
% Number of symbols : 11 ( 10 usr; 5 con; 0-2 aty)
% Number of variables : 48 ( 0 ^; 48 !; 0 ?; 48 :)
% Comments :
%------------------------------------------------------------------------------
thf(truth_type,type,
truth: $i > $o ).
thf(isa_type,type,
isa: $i > $i > $i ).
thf(asked_type,type,
asked: $i ).
thf(other_type,type,
other: $i ).
thf(says_type,type,
says: $i > $i > $o ).
thf(knight_type,type,
knight: $i ).
thf(knave_type,type,
knave: $i ).
thf(or_type,type,
or: $i > $i > $i ).
thf(not_type,type,
not: $i > $i ).
thf(person_type,type,
person: $i > $o ).
thf(8,axiom,
person @ other,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).
thf(31,plain,
person @ other,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(14,axiom,
! [B: $i,A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ ( or @ A @ B ) ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not1) ).
thf(42,plain,
! [B: $i,A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ ( or @ A @ B ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(5,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) )
| ~ ( says @ B @ ( not @ A ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false2) ).
thf(25,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) )
| ~ ( says @ B @ ( not @ A ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(16,axiom,
person @ asked,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).
thf(46,plain,
person @ asked,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(7,axiom,
! [A: $i] :
( ~ ( person @ A )
| ( truth @ ( isa @ A @ knight ) )
| ( truth @ ( isa @ A @ knave ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(29,plain,
! [A: $i] :
( ~ ( person @ A )
| ( truth @ ( isa @ A @ knight ) )
| ( truth @ ( isa @ A @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(12,axiom,
! [B: $i,A: $i] :
( ( truth @ ( not @ A ) )
| ~ ( says @ B @ A )
| ~ ( truth @ ( isa @ B @ knave ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knaves_make_false_statements1) ).
thf(38,plain,
! [B: $i,A: $i] :
( ( truth @ ( not @ A ) )
| ~ ( says @ B @ A )
| ~ ( truth @ ( isa @ B @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(3,axiom,
! [A: $i] :
( ~ ( truth @ ( isa @ A @ knight ) )
| ~ ( truth @ ( isa @ A @ knave ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).
thf(21,plain,
! [A: $i] :
( ~ ( truth @ ( isa @ A @ knight ) )
| ~ ( truth @ ( isa @ A @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(1,negated_conjecture,
! [C: $i,B: $i,A: $i] :
( ~ ( truth @ ( isa @ asked @ A ) )
| ~ ( truth @ ( isa @ other @ B ) )
| ~ ( says @ asked @ C ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).
thf(17,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( truth @ ( isa @ asked @ A ) )
| ~ ( truth @ ( isa @ other @ B ) )
| ~ ( says @ asked @ C ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(9,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ~ ( says @ B @ A )
| ~ ( truth @ ( isa @ B @ knight ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements1) ).
thf(32,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ~ ( says @ B @ A )
| ~ ( truth @ ( isa @ B @ knight ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
! [B: $i,A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ ( or @ B @ A ) ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not2) ).
thf(34,plain,
! [B: $i,A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ ( or @ B @ A ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(15,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) )
| ~ ( says @ B @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false) ).
thf(44,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) )
| ~ ( says @ B @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(6,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ B )
| ~ ( truth @ ( or @ A @ B ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_def) ).
thf(27,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ B )
| ~ ( truth @ ( or @ A @ B ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(13,axiom,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knave ) )
| ~ ( says @ A @ B )
| ~ ( truth @ ( not @ B ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knaves_make_false_statements2) ).
thf(40,plain,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knave ) )
| ~ ( says @ A @ B )
| ~ ( truth @ ( not @ B ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(4,axiom,
( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
| ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).
thf(23,plain,
( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
| ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(11,axiom,
! [A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ A ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false3) ).
thf(36,plain,
! [A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ A ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(2,axiom,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ~ ( says @ A @ B )
| ~ ( truth @ B ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements2) ).
thf(19,plain,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ~ ( says @ A @ B )
| ~ ( truth @ B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(47,plain,
$false,
inference(e,[status(thm)],[31,42,25,46,29,38,21,17,32,34,44,27,40,23,36,19]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.13 % Problem : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% 0.07/0.15 % Command : run_Leo-III %s %d
% 0.16/0.37 % Computer : n021.cluster.edu
% 0.16/0.37 % Model : x86_64 x86_64
% 0.16/0.37 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.37 % Memory : 8042.1875MB
% 0.16/0.37 % OS : Linux 3.10.0-693.el7.x86_64
% 0.16/0.37 % CPULimit : 300
% 0.16/0.37 % WCLimit : 300
% 0.16/0.37 % DateTime : Thu May 18 19:54:28 EDT 2023
% 0.16/0.37 % CPUTime :
% 0.85/0.86 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.15/0.98 % [INFO] Parsing done (122ms).
% 1.15/0.99 % [INFO] Running in sequential loop mode.
% 1.66/1.20 % [INFO] eprover registered as external prover.
% 1.66/1.21 % [INFO] cvc4 registered as external prover.
% 1.66/1.21 % [INFO] Scanning for conjecture ...
% 1.78/1.27 % [INFO] Found a conjecture and 15 axioms. Running axiom selection ...
% 1.94/1.32 % [INFO] Axiom selection finished. Selected 15 axioms (removed 0 axioms).
% 1.94/1.34 % [INFO] Problem is propositional (TPTP CNF).
% 1.94/1.34 % [INFO] Type checking passed.
% 1.94/1.34 % [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 ...
% 2.92/1.69 % External prover 'e' found a proof!
% 2.92/1.69 % [INFO] Killing All external provers ...
% 2.92/1.69 % Time passed: 1164ms (effective reasoning time: 697ms)
% 2.92/1.69 % 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)>
% 2.92/1.69 % Axioms used in derivation (15): everyone_a_knight_or_knave, knaves_make_false_statements1, other_person, one_is_knight_answer, statements_are_true_or_false2, not2, statements_are_true_or_false, statements_are_true_or_false3, knaves_make_false_statements2, not_both_a_knight_and_knave, not1, knights_make_true_statements2, or_def, asked_person, knights_make_true_statements1
% 2.92/1.69 % No. of inferences in proof: 33
% 2.92/1.69 % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1164 ms resp. 697 ms w/o parsing
% 2.92/1.72 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 2.92/1.72 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------