%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ012-1 : TPTP v9.3.1. Bugfixed v1.2.1.
% 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 : n015.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 08:21:04 AM UTC 2026
% Result : Unsatisfiable 3.51s 2.34s
% Output : Refutation 3.51s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 18
% Syntax : Number of formulae : 37 ( 25 unt; 0 typ; 0 def)
% Number of atoms : 57 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 1 avg)
% Number of connectives : 160 ( 28 ~; 20 |; 0 &; 112 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 11 ( 10 usr; 7 con; 0-2 aty)
% Number of variables : 24 ( 0 ^; 24 !; 0 ?; 24 :)
% Comments :
%------------------------------------------------------------------------------
thf(contains_decl,type,
contains: $i > $i > $o ).
thf(boxa_decl,type,
boxa: $i ).
thf(bananas_decl,type,
bananas: $i ).
thf(boxc_decl,type,
boxc: $i ).
thf(oranges_decl,type,
oranges: $i ).
thf(equal_boxes_decl,type,
equal_boxes: $i > $i > $o ).
thf(equal_fruits_decl,type,
equal_fruits: $i > $i > $o ).
thf(label_decl,type,
label: $i > $i > $o ).
thf(boxb_decl,type,
boxb: $i ).
thf(apples_decl,type,
apples: $i ).
thf(17,axiom,
apples @ ( boxa @ label ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_labelled_apples) ).
thf(46,plain,
apples @ ( boxa @ label ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).
thf(14,axiom,
~ ( oranges @ ( apples @ equal_fruits ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_oranges) ).
thf(41,plain,
~ ( oranges @ ( apples @ equal_fruits ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(13,axiom,
! [A: $i] :
( ( oranges @ ( A @ contains ) )
| ( bananas @ ( A @ contains ) )
| ( apples @ ( A @ contains ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',each_box_contains_something) ).
thf(39,plain,
! [A: $i] :
( ( oranges @ ( A @ contains ) )
| ( bananas @ ( A @ contains ) )
| ( apples @ ( A @ contains ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(15,axiom,
bananas @ ( boxc @ label ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxc_labelled_bananas) ).
thf(43,plain,
bananas @ ( boxc @ label ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(18,axiom,
! [C: $i,B: $i,A: $i] :
( ( C @ ( A @ equal_boxes ) )
| ~ ( B @ ( C @ contains ) )
| ~ ( B @ ( A @ contains ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',contains_is_well_defined2) ).
thf(47,plain,
! [C: $i,B: $i,A: $i] :
( ( C @ ( A @ equal_boxes ) )
| ~ ( B @ ( C @ contains ) )
| ~ ( B @ ( A @ contains ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).
thf(5,axiom,
~ ( bananas @ ( apples @ equal_fruits ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_bananas) ).
thf(24,plain,
~ ( bananas @ ( apples @ equal_fruits ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(12,axiom,
~ ( boxc @ ( boxb @ equal_boxes ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_not_boxc) ).
thf(37,plain,
~ ( boxc @ ( boxb @ equal_boxes ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(7,axiom,
~ ( oranges @ ( bananas @ equal_fruits ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bananas_not_oranges) ).
thf(28,plain,
~ ( oranges @ ( bananas @ equal_fruits ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(2,axiom,
! [A: $i] : ( A @ ( A @ equal_boxes ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',reflexivity_for_boxes) ).
thf(21,plain,
! [A: $i] : ( A @ ( A @ equal_boxes ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(9,axiom,
! [A: $i] :
( ( A @ ( boxc @ contains ) )
| ( A @ ( boxb @ contains ) )
| ( A @ ( boxa @ contains ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',each_thing_is_in_a_box) ).
thf(32,plain,
! [A: $i] :
( ( A @ ( boxc @ contains ) )
| ( A @ ( boxb @ contains ) )
| ( A @ ( boxa @ contains ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
~ ( boxc @ ( boxa @ equal_boxes ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_not_boxc) ).
thf(34,plain,
~ ( boxc @ ( boxa @ equal_boxes ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(3,axiom,
! [A: $i] : ( A @ ( A @ equal_fruits ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',reflexivity_for_fruits) ).
thf(22,plain,
! [A: $i] : ( A @ ( A @ equal_fruits ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(16,axiom,
~ ( boxb @ ( boxa @ equal_boxes ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxa_not_boxb) ).
thf(44,plain,
~ ( boxb @ ( boxa @ equal_boxes ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(6,axiom,
! [C: $i,B: $i,A: $i] :
( ( C @ ( B @ equal_fruits ) )
| ~ ( C @ ( A @ contains ) )
| ~ ( B @ ( A @ contains ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',contains_is_well_defined1) ).
thf(26,plain,
! [C: $i,B: $i,A: $i] :
( ( C @ ( B @ equal_fruits ) )
| ~ ( C @ ( A @ contains ) )
| ~ ( B @ ( A @ contains ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(4,axiom,
oranges @ ( boxb @ label ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_labelled_oranges) ).
thf(23,plain,
oranges @ ( boxb @ label ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(11,axiom,
apples @ ( boxb @ contains ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_contains_apples) ).
thf(36,plain,
apples @ ( boxb @ contains ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(8,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ contains ) )
| ~ ( B @ ( A @ label ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',label_is_wrong) ).
thf(30,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ contains ) )
| ~ ( B @ ( A @ label ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(1,negated_conjecture,
( ~ ( oranges @ ( boxc @ contains ) )
| ~ ( bananas @ ( boxa @ contains ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_boxa_contains_bananas_and_boxc_oranges) ).
thf(19,plain,
( ~ ( oranges @ ( boxc @ contains ) )
| ~ ( bananas @ ( boxa @ contains ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(49,plain,
$false,
inference(e,[status(thm)],[46,41,39,43,47,24,37,28,21,32,34,22,44,26,23,36,30,19]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : PUZ012-1 : TPTP v9.3.1. Bugfixed v1.2.1.
% 0.00/0.08 % 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.13/0.40 % Computer : n015.cluster.edu
% 0.13/0.40 % Model : x86_64 x86_64
% 0.13/0.40 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.40 % Memory : 8046.5625MB
% 0.13/0.40 % OS : Linux 6.8.0-71-generic
% 0.13/0.40 % CPULimit : 300
% 0.13/0.40 % WCLimit : 300
% 0.13/0.40 % DateTime : Sat Sep 26 05:06:58 UTC 2026
% 0.13/0.40 % CPUTime :
% 0.13/0.40 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
% 0.87/1.00 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 1.39/1.20 % [INFO] Parsing done (195ms).
% 1.39/1.21 % [INFO] Running in sequential loop mode.
% 2.07/1.61 % [INFO] eprover registered as external prover.
% 2.07/1.62 % [INFO] Scanning for conjecture ...
% 2.26/1.71 % [INFO] Found a conjecture (or negated_conjecture) and 17 axioms. Running axiom selection ...
% 2.26/1.77 % [INFO] Axiom selection finished. Selected 17 axioms (removed 0 axioms).
% 2.26/1.79 % [INFO] Problem is propositional (TPTP CNF).
% 2.26/1.79 % [INFO] Type checking passed.
% 2.44/1.80 % [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.51/2.33 % External prover 'e' found a proof!
% 3.51/2.33 % [INFO] Killing All external provers ...
% 3.51/2.33 % Time passed: 1773ms (effective reasoning time: 1115ms)
% 3.51/2.34 % Axioms used in derivation (17): boxb_labelled_oranges, boxb_contains_apples, label_is_wrong, contains_is_well_defined1, apples_not_oranges, each_box_contains_something, boxa_not_boxb, boxa_labelled_apples, apples_not_bananas, each_thing_is_in_a_box, bananas_not_oranges, contains_is_well_defined2, boxc_labelled_bananas, boxb_not_boxc, reflexivity_for_boxes, boxa_not_boxc, reflexivity_for_fruits
% 3.51/2.34 % No. of inferences in proof: 37
% 3.51/2.34 % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1773 ms resp. 1115 ms w/o parsing
% 3.51/2.38 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.51/2.38 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------