%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ141^1 : TPTP v9.3.1. Released v6.2.0.
% Transfm : none
% Format : tptp:raw
% Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% Computer : n002.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 : Wed Sep 30 08:20:49 AM UTC 2026
% Result : Theorem 5.36s 3.14s
% Output : Refutation 5.72s
% Verified :
% SZS Type : Refutation
% Derivation depth : 3
% Number of leaves : 12
% Syntax : Number of formulae : 24 ( 20 unt; 0 typ; 2 def)
% Number of atoms : 38 ( 24 equ; 0 cnn)
% Maximal formula atoms : 3 ( 1 avg)
% Number of connectives : 104 ( 7 ~; 0 |; 0 &; 89 @)
% ( 0 <=>; 8 =>; 0 <=; 0 <~>)
% Maximal formula depth : 10 ( 4 avg)
% Number of types : 4 ( 3 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 14 ( 12 usr; 9 con; 0-2 aty)
% Number of variables : 25 ( 0 ^; 22 !; 3 ?; 25 :)
% Comments :
%------------------------------------------------------------------------------
thf(position_type,type,
position: $tType ).
thf(direction_type,type,
direction: $tType ).
thf(movelist_type,type,
movelist: $tType ).
thf(left_decl,type,
left: direction ).
thf(right_decl,type,
right: direction ).
thf(top_decl,type,
top: direction ).
thf(bottom_decl,type,
bottom: direction ).
thf(next_decl,type,
next: position > direction > position ).
thf(wall_decl,type,
wall: position > $o ).
thf(nomove_decl,type,
nomove: movelist ).
thf(movedir_decl,type,
movedir: movelist > direction > movelist ).
thf(playerpos_decl,type,
playerpos: movelist > position ).
thf(c00_decl,type,
c00: position ).
thf(c10_decl,type,
c10: position ).
thf(c20_decl,type,
c20: position ).
thf(c10_def,definition,
( c10
= ( next @ c00 @ right ) ) ).
thf(c20_def,definition,
( c20
= ( next @ c10 @ right ) ) ).
thf(6,axiom,
! [A: position,B: movelist,C: direction] :
( ( ( playerpos @ B )
= A )
=> ( ~ ( wall @ ( next @ A @ C ) )
=> ( ( playerpos @ ( movedir @ B @ C ) )
= ( next @ A @ C ) ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',player_move_legal) ).
thf(24,plain,
! [A: position,B: movelist,C: direction] :
( ( ( playerpos @ B )
= A )
=> ( ~ ( wall @ ( next @ A @ C ) )
=> ( ( playerpos @ ( movedir @ B @ C ) )
= ( next @ A @ C ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(7,axiom,
! [A: position,B: movelist,C: direction] :
( ( ( playerpos @ B )
= A )
=> ( ( wall @ ( next @ A @ C ) )
=> ( ( playerpos @ ( movedir @ B @ C ) )
= A ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',player_move_illegal) ).
thf(29,plain,
! [A: position,B: movelist,C: direction] :
( ( ( playerpos @ B )
= A )
=> ( ( wall @ ( next @ A @ C ) )
=> ( ( playerpos @ ( movedir @ B @ C ) )
= A ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(8,axiom,
( ( wall @ c00 )
= $false ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',c00_axiom) ).
thf(34,plain,
~ ( wall @ c00 ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(1,conjecture,
? [A: movelist] :
( ( playerpos @ A )
= c20 ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',exercise) ).
thf(2,negated_conjecture,
~ ? [A: movelist] :
( ( playerpos @ A )
= c20 ),
inference(neg_conjecture,[status(cth)],[1]) ).
thf(12,plain,
~ ? [A: movelist] :
( ( playerpos @ A )
= ( next @ ( next @ c00 @ right ) @ right ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(4,axiom,
! [A: position] :
( ( next @ ( next @ A @ left ) @ right )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',left_right) ).
thf(18,plain,
! [A: position] :
( ( next @ ( next @ A @ left ) @ right )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(11,axiom,
( ( playerpos @ nomove )
= c00 ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',start_axiom) ).
thf(40,plain,
( ( playerpos @ nomove )
= c00 ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(9,axiom,
( ( wall @ c10 )
= $false ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',c10_axiom) ).
thf(36,plain,
~ ( wall @ ( next @ c00 @ right ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(3,axiom,
! [A: direction,B: direction,C: position] :
( ( next @ ( next @ C @ A ) @ B )
= ( next @ ( next @ C @ B ) @ A ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',next_comm) ).
thf(15,plain,
! [A: direction,B: direction,C: position] :
( ( next @ ( next @ C @ A ) @ B )
= ( next @ ( next @ C @ B ) @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(10,axiom,
( ( wall @ c20 )
= $false ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',c20_axiom) ).
thf(38,plain,
~ ( wall @ ( next @ ( next @ c00 @ right ) @ right ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(5,axiom,
! [A: position] :
( ( next @ ( next @ A @ top ) @ bottom )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',top_bottom) ).
thf(21,plain,
! [A: position] :
( ( next @ ( next @ A @ top ) @ bottom )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(42,plain,
$false,
inference(e,[status(thm)],[24,29,34,12,18,40,36,15,38,21]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.05 % Problem : PUZ141^1 : TPTP v9.3.1. Released v6.2.0.
% 0.00/0.11 % Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.10/0.30 % Computer : n002.cluster.edu
% 0.10/0.30 % Model : x86_64 x86_64
% 0.10/0.30 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.30 % Memory : 8046.5625MB
% 0.10/0.30 % OS : Linux 6.8.0-71-generic
% 0.10/0.30 % CPULimit : 300
% 0.10/0.30 % WCLimit : 300
% 0.10/0.30 % DateTime : Tue Sep 29 13:29:37 UTC 2026
% 0.26/0.31 % CPUTime :
% 0.26/0.31 Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 1.35/1.13 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 2.01/1.42 % [INFO] Parsing done (283ms).
% 2.01/1.44 % [INFO] Running in sequential loop mode.
% 2.79/2.03 % [INFO] eprover registered as external prover.
% 2.79/2.05 % [INFO] Scanning for conjecture ...
% 3.28/2.18 % [INFO] Found a conjecture (or negated_conjecture) and 9 axioms. Running axiom selection ...
% 3.33/2.23 % [INFO] Axiom selection finished. Selected 9 axioms (removed 0 axioms).
% 3.33/2.26 % [INFO] Problem is higher-order (TPTP THF).
% 3.33/2.27 % [INFO] Type checking passed.
% 3.33/2.28 % [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 ...
% 5.36/3.13 % External prover 'e' found a proof!
% 5.36/3.14 % [INFO] Killing All external provers ...
% 5.36/3.14 % Time passed: 2627ms (effective reasoning time: 1687ms)
% 5.36/3.14 % 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)>
% 5.36/3.14 % Axioms used in derivation (9): top_bottom, c10_axiom, player_move_illegal, c20_axiom, player_move_legal, c00_axiom, left_right, next_comm, start_axiom
% 5.36/3.14 % No. of inferences in proof: 22
% 5.36/3.14 % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 2627 ms resp. 1687 ms w/o parsing
% 5.72/3.21 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 5.72/3.21 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------