TSTP Solution File: PUZ035-6 by Leo-III---1.7.7
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Leo-III---1.7.7
% Problem : PUZ035-6 : TPTP v8.1.2. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : run_Leo-III %s %d
% Computer : n023.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.71s 1.65s
% Output : Refutation 2.83s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 20
% Syntax : Number of formulae : 32 ( 3 unt; 9 typ; 0 def)
% Number of atoms : 49 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 2 avg)
% Number of connectives : 168 ( 26 ~; 26 |; 0 &; 116 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 7 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 8 ( 8 >; 0 *; 0 +; 0 <<)
% Number of symbols : 10 ( 9 usr; 5 con; 0-2 aty)
% Number of variables : 32 ( 0 ^; 32 !; 0 ?; 32 :)
% 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(knight_type,type,
knight: $i ).
thf(knave_type,type,
knave: $i ).
thf(says_type,type,
says: $i > $i > $o ).
thf(or_type,type,
or: $i > $i > $i ).
thf(not_type,type,
not: $i > $i ).
thf(7,axiom,
! [B: $i,A: $i] :
( ( truth @ ( or @ A @ B ) )
| ~ ( truth @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or2) ).
thf(24,plain,
! [B: $i,A: $i] :
( ( truth @ ( or @ A @ B ) )
| ~ ( truth @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(2,axiom,
! [A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ( truth @ ( isa @ A @ knave ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(14,plain,
! [A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ( truth @ ( isa @ A @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(5,axiom,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ~ ( truth @ B )
| ~ ( says @ A @ B ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements2) ).
thf(20,plain,
! [B: $i,A: $i] :
( ( truth @ ( isa @ A @ knight ) )
| ~ ( truth @ B )
| ~ ( says @ A @ B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(9,axiom,
! [A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not1) ).
thf(28,plain,
! [A: $i] :
( ( truth @ A )
| ( truth @ ( not @ A ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(11,axiom,
says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',says_yes) ).
thf(32,plain,
says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(6,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ B )
| ~ ( truth @ ( or @ A @ B ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or1) ).
thf(22,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ( truth @ B )
| ~ ( truth @ ( or @ A @ B ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(1,negated_conjecture,
! [B: $i,A: $i] :
( ~ ( truth @ ( isa @ asked @ A ) )
| ~ ( truth @ ( isa @ other @ B ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',query) ).
thf(12,plain,
! [B: $i,A: $i] :
( ~ ( truth @ ( isa @ asked @ A ) )
| ~ ( truth @ ( isa @ other @ B ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(4,axiom,
! [B: $i,A: $i] :
( ( truth @ A )
| ~ ( truth @ ( isa @ B @ knight ) )
| ~ ( says @ B @ A ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements1) ).
thf(18,plain,
! [B: $i,A: $i] :
( ( truth @ A )
| ~ ( truth @ ( isa @ B @ knight ) )
| ~ ( says @ B @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
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(16,plain,
! [A: $i] :
( ~ ( truth @ ( isa @ A @ knight ) )
| ~ ( truth @ ( isa @ A @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(8,axiom,
! [B: $i,A: $i] :
( ( truth @ ( or @ A @ B ) )
| ~ ( truth @ B ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or3) ).
thf(26,plain,
! [B: $i,A: $i] :
( ( truth @ ( or @ A @ B ) )
| ~ ( truth @ B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(10,axiom,
! [A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ A ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not2) ).
thf(30,plain,
! [A: $i] :
( ~ ( truth @ A )
| ~ ( truth @ ( not @ A ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(36,plain,
$false,
inference(e,[status(thm)],[24,14,20,28,32,22,12,18,16,26,30]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.05/0.11 % Problem : PUZ035-6 : TPTP v8.1.2. Released v2.0.0.
% 0.05/0.13 % Command : run_Leo-III %s %d
% 0.13/0.34 % Computer : n023.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 20:17:15 EDT 2023
% 0.13/0.34 % CPUTime :
% 0.89/0.84 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.15/0.96 % [INFO] Parsing done (121ms).
% 1.15/0.97 % [INFO] Running in sequential loop mode.
% 1.60/1.19 % [INFO] eprover registered as external prover.
% 1.60/1.19 % [INFO] cvc4 registered as external prover.
% 1.60/1.20 % [INFO] Scanning for conjecture ...
% 1.76/1.25 % [INFO] Found a conjecture and 10 axioms. Running axiom selection ...
% 1.81/1.28 % [INFO] Axiom selection finished. Selected 10 axioms (removed 0 axioms).
% 1.81/1.29 % [INFO] Problem is propositional (TPTP CNF).
% 1.81/1.30 % [INFO] Type checking passed.
% 1.81/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 ...
% 2.71/1.65 % External prover 'e' found a proof!
% 2.71/1.65 % [INFO] Killing All external provers ...
% 2.71/1.65 % Time passed: 1144ms (effective reasoning time: 674ms)
% 2.71/1.65 % 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.71/1.65 % Axioms used in derivation (10): everyone_a_knight_or_knave, not2, or1, says_yes, knights_make_true_statements1, not1, knights_make_true_statements2, or2, not_both_a_knight_and_knave, or3
% 2.71/1.65 % No. of inferences in proof: 23
% 2.71/1.65 % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1144 ms resp. 674 ms w/o parsing
% 2.83/1.68 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 2.83/1.68 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------