%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : COM002-2 : TPTP v9.3.1. Released v1.0.0.
% Transfm : none
% Format : tptp:raw
% Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% Computer : n026.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8046.5625MB
% OS : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Sun Sep 27 06:57:49 AM UTC 2026
% Result : Unsatisfiable 3.10s 12.08s
% Output : Refutation 3.31s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 19
% Syntax : Number of formulae : 39 ( 31 unt; 0 typ; 0 def)
% Number of atoms : 51 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 1 avg)
% Number of connectives : 170 ( 16 ~; 12 |; 0 &; 142 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 4 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 27 ( 26 usr; 17 con; 0-2 aty)
% Number of variables : 22 ( 0 ^; 22 !; 0 ?; 22 :)
% Comments :
%------------------------------------------------------------------------------
thf(fails_decl,type,
fails: $i > $i > $o ).
thf(p3_decl,type,
p3: $i ).
thf(follows_decl,type,
follows: $i > $i > $o ).
thf(p7_decl,type,
p7: $i ).
thf(p6_decl,type,
p6: $i ).
thf(has_decl,type,
has: $i > $i > $o ).
thf(p4_decl,type,
p4: $i ).
thf(goto_decl,type,
goto: $i > $i ).
thf(out_decl,type,
out: $i ).
thf(assign_decl,type,
assign: $i > $i > $i ).
thf(register_j_decl,type,
register_j: $i ).
thf(plus_decl,type,
plus: $i > $i > $i ).
thf(n1_decl,type,
n1: $i ).
thf(p2_decl,type,
p2: $i ).
thf(p1_decl,type,
p1: $i ).
thf(register_k_decl,type,
register_k: $i ).
thf(times_decl,type,
times: $i > $i > $i ).
thf(n2_decl,type,
n2: $i ).
thf(p8_decl,type,
p8: $i ).
thf(n0_decl,type,
n0: $i ).
thf(loop_decl,type,
loop: $i ).
thf(p5_decl,type,
p5: $i ).
thf(labels_decl,type,
labels: $i > $i > $o ).
thf(ifthen_decl,type,
ifthen: $i > $i > $i ).
thf(equal_function_decl,type,
equal_function: $i > $i > $i ).
thf(n_decl,type,
n: $i ).
thf(19,axiom,
! [C: $i,B: $i,A: $i] :
( ~ ( A @ ( C @ ifthen ) @ ( B @ has ) )
| ~ ( B @ ( A @ fails ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',conditional_success) ).
thf(41,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( A @ ( C @ ifthen ) @ ( B @ has ) )
| ~ ( B @ ( A @ fails ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).
thf(13,axiom,
p3 @ ( loop @ labels ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',label_state_3) ).
thf(32,plain,
p3 @ ( loop @ labels ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(15,axiom,
! [C: $i,B: $i,A: $i] :
( ~ ( A @ ( C @ labels ) )
| ~ ( C @ goto @ ( B @ has ) )
| ~ ( B @ ( A @ fails ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',goto_success) ).
thf(35,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( A @ ( C @ labels ) )
| ~ ( C @ goto @ ( B @ has ) )
| ~ ( B @ ( A @ fails ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(12,axiom,
p2 @ ( p3 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_2_to_3) ).
thf(31,plain,
p2 @ ( p3 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(11,axiom,
p4 @ ( p5 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_4_to_5) ).
thf(30,plain,
p4 @ ( p5 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(5,axiom,
p1 @ ( p2 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_1_to_2) ).
thf(24,plain,
p1 @ ( p2 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(16,axiom,
p4 @ ( n @ ( register_j @ equal_function ) @ ifthen ) @ ( p3 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_3) ).
thf(37,plain,
p4 @ ( n @ ( register_j @ equal_function ) @ ifthen ) @ ( p3 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(6,axiom,
register_k @ ( n2 @ times ) @ ( register_k @ assign ) @ ( p6 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_6) ).
thf(25,plain,
register_k @ ( n2 @ times ) @ ( register_k @ assign ) @ ( p6 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(1,negated_conjecture,
p3 @ ( p3 @ fails ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_there_is_a_loop_through_p3) ).
thf(20,plain,
p3 @ ( p3 @ fails ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(10,axiom,
loop @ goto @ ( p8 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_8) ).
thf(29,plain,
loop @ goto @ ( p8 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(2,axiom,
p6 @ ( p7 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_6_to_7) ).
thf(21,plain,
p6 @ ( p7 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(14,axiom,
! [C: $i,B: $i,A: $i] :
( ( B @ ( C @ fails ) )
| ( C @ ( A @ fails ) )
| ~ ( B @ ( A @ fails ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transitivity_of_success) ).
thf(33,plain,
! [C: $i,B: $i,A: $i] :
( ( B @ ( C @ fails ) )
| ( C @ ( A @ fails ) )
| ~ ( B @ ( A @ fails ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(9,axiom,
n0 @ ( register_j @ assign ) @ ( p1 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_1) ).
thf(28,plain,
n0 @ ( register_j @ assign ) @ ( p1 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(17,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ follows ) )
| ~ ( B @ ( A @ fails ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',direct_success) ).
thf(38,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ follows ) )
| ~ ( B @ ( A @ fails ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).
thf(3,axiom,
out @ goto @ ( p4 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_4) ).
thf(22,plain,
out @ goto @ ( p4 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(8,axiom,
n1 @ ( register_k @ assign ) @ ( p2 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_2) ).
thf(27,plain,
n1 @ ( register_k @ assign ) @ ( p2 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(18,axiom,
p3 @ ( p6 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_3_to_6) ).
thf(40,plain,
p3 @ ( p6 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).
thf(7,axiom,
p7 @ ( p8 @ follows ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_7_to_8) ).
thf(26,plain,
p7 @ ( p8 @ follows ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(4,axiom,
n1 @ ( register_j @ plus ) @ ( register_j @ assign ) @ ( p7 @ has ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_7) ).
thf(23,plain,
n1 @ ( register_j @ plus ) @ ( register_j @ assign ) @ ( p7 @ has ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(55,plain,
$false,
inference(e,[status(thm)],[41,32,35,31,30,24,37,25,20,29,21,33,28,38,22,27,40,26,23]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : COM002-2 : TPTP v9.3.1. Released v1.0.0.
% 0.00/0.08 % Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.14/10.63 % Computer : n026.cluster.edu
% 0.14/10.63 % Model : x86_64 x86_64
% 0.14/10.63 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/10.63 % Memory : 8046.5625MB
% 0.14/10.63 % OS : Linux 6.8.0-71-generic
% 0.14/10.63 % CPULimit : 300
% 0.14/10.63 % WCLimit : 300
% 0.14/10.63 % DateTime : Sat Sep 26 23:21:36 UTC 2026
% 0.14/10.63 % CPUTime :
% 0.14/10.63 Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 1.00/11.22 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.19/11.39 % [INFO] Parsing done (170ms).
% 1.37/11.40 % [INFO] Running in sequential loop mode.
% 1.58/11.59 % [INFO] eprover registered as external prover.
% 1.58/11.59 % [INFO] Scanning for conjecture ...
% 1.78/11.63 % [INFO] Found a conjecture (or negated_conjecture) and 18 axioms. Running axiom selection ...
% 1.78/11.66 % [INFO] Axiom selection finished. Selected 18 axioms (removed 0 axioms).
% 1.78/11.68 % [INFO] Problem is propositional (TPTP CNF).
% 1.78/11.68 % [INFO] Type checking passed.
% 1.78/11.68 % [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.10/12.08 % External prover 'e' found a proof!
% 3.10/12.08 % [INFO] Killing All external provers ...
% 3.10/12.08 % Time passed: 1305ms (effective reasoning time: 679ms)
% 3.10/12.08 % Axioms used in derivation (18): transition_3_to_6, state_4, transition_2_to_3, state_8, label_state_3, state_3, state_2, goto_success, state_1, transitivity_of_success, state_7, transition_4_to_5, transition_1_to_2, transition_6_to_7, conditional_success, direct_success, transition_7_to_8, state_6
% 3.10/12.08 % No. of inferences in proof: 39
% 3.10/12.08 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : 1305 ms resp. 679 ms w/o parsing
% 3.31/12.13 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 3.31/12.13 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------