%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ031^5 : TPTP v9.3.1. Released v4.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 : 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 : Wed Sep 30 08:20:44 AM UTC 2026
% Result : Theorem 4.24s 2.04s
% Output : Refutation 4.24s
% Verified :
% SZS Type : Refutation
% Derivation depth : 3
% Number of leaves : 1
% Syntax : Number of formulae : 4 ( 1 unt; 0 typ; 0 def)
% Number of atoms : 190 ( 0 equ; 0 cnn)
% Maximal formula atoms : 63 ( 47 avg)
% Number of connectives : 560 ( 125 ~; 111 |; 75 &; 249 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 32 ( 24 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 19 ( 18 usr; 7 con; 0-2 aty)
% Number of variables : 99 ( 0 ^; 99 !; 0 ?; 99 :)
% Comments :
%------------------------------------------------------------------------------
thf(eats_decl,type,
eats: $i > $i > $o ).
thf(grain_decl,type,
grain: $i > $o ).
thf(animal_decl,type,
animal: $i > $o ).
thf(snail_decl,type,
snail: $i > $o ).
thf(sf_decl,type,
sf: $i > $i ).
thf(plant_decl,type,
plant: $i > $o ).
thf(caterpillar_decl,type,
caterpillar: $i > $o ).
thf(cf_decl,type,
cf: $i > $i ).
thf(bird_decl,type,
bird: $i > $o ).
thf(wolf_decl,type,
wolf: $i > $o ).
thf(fox_decl,type,
fox: $i > $o ).
thf(msmaller_decl,type,
msmaller: $i > $i > $o ).
thf(a_grain_decl,type,
a_grain: $i ).
thf(a_snail_decl,type,
a_snail: $i ).
thf(a_caterpillar_decl,type,
a_caterpillar: $i ).
thf(a_bird_decl,type,
a_bird: $i ).
thf(a_fox_decl,type,
a_fox: $i ).
thf(a_wolf_decl,type,
a_wolf: $i ).
thf(1,conjecture,
~ ( ! [A: $i] :
( ( animal @ A )
| ~ ( wolf @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( fox @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( bird @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( snail @ A ) )
& ( wolf @ a_wolf )
& ( fox @ a_fox )
& ( bird @ a_bird )
& ( caterpillar @ a_caterpillar )
& ( snail @ a_snail )
& ( grain @ a_grain )
& ! [A: $i] :
( ( plant @ A )
| ~ ( grain @ A ) )
& ! [A: $i,B: $i,C: $i,D: $i] :
( ( eats @ A @ B )
| ( eats @ A @ C )
| ~ ( animal @ A )
| ~ ( plant @ B )
| ~ ( animal @ C )
| ~ ( plant @ D )
| ~ ( msmaller @ C @ A )
| ~ ( eats @ C @ D ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( caterpillar @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( snail @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( bird @ A )
| ~ ( fox @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( fox @ A )
| ~ ( wolf @ B ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ B )
| ~ ( fox @ A )
| ~ ( eats @ B @ A ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ A )
| ~ ( grain @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i,B: $i] :
( ( eats @ A @ B )
| ~ ( bird @ A )
| ~ ( caterpillar @ B ) )
& ! [A: $i,B: $i] :
( ~ ( bird @ A )
| ~ ( snail @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i] :
( ( plant @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( plant @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i,B: $i,C: $i] :
( ~ ( animal @ A )
| ~ ( animal @ B )
| ~ ( grain @ C )
| ~ ( eats @ A @ B )
| ~ ( eats @ B @ C ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',cPUZ031_1) ).
thf(2,negated_conjecture,
~ ~ ( ! [A: $i] :
( ( animal @ A )
| ~ ( wolf @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( fox @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( bird @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( snail @ A ) )
& ( wolf @ a_wolf )
& ( fox @ a_fox )
& ( bird @ a_bird )
& ( caterpillar @ a_caterpillar )
& ( snail @ a_snail )
& ( grain @ a_grain )
& ! [A: $i] :
( ( plant @ A )
| ~ ( grain @ A ) )
& ! [A: $i,B: $i,C: $i,D: $i] :
( ( eats @ A @ B )
| ( eats @ A @ C )
| ~ ( animal @ A )
| ~ ( plant @ B )
| ~ ( animal @ C )
| ~ ( plant @ D )
| ~ ( msmaller @ C @ A )
| ~ ( eats @ C @ D ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( caterpillar @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( snail @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( bird @ A )
| ~ ( fox @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( fox @ A )
| ~ ( wolf @ B ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ B )
| ~ ( fox @ A )
| ~ ( eats @ B @ A ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ A )
| ~ ( grain @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i,B: $i] :
( ( eats @ A @ B )
| ~ ( bird @ A )
| ~ ( caterpillar @ B ) )
& ! [A: $i,B: $i] :
( ~ ( bird @ A )
| ~ ( snail @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i] :
( ( plant @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( plant @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i,B: $i,C: $i] :
( ~ ( animal @ A )
| ~ ( animal @ B )
| ~ ( grain @ C )
| ~ ( eats @ A @ B )
| ~ ( eats @ B @ C ) ) ),
inference(neg_conjecture,[status(cth)],[1]) ).
thf(3,plain,
~ ~ ( ! [A: $i] :
( ( animal @ A )
| ~ ( wolf @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( fox @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( bird @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( animal @ A )
| ~ ( snail @ A ) )
& ( wolf @ a_wolf )
& ( fox @ a_fox )
& ( bird @ a_bird )
& ( caterpillar @ a_caterpillar )
& ( snail @ a_snail )
& ( grain @ a_grain )
& ! [A: $i] :
( ( plant @ A )
| ~ ( grain @ A ) )
& ! [A: $i,B: $i,C: $i,D: $i] :
( ( eats @ A @ B )
| ( eats @ A @ C )
| ~ ( animal @ A )
| ~ ( plant @ B )
| ~ ( animal @ C )
| ~ ( plant @ D )
| ~ ( msmaller @ C @ A )
| ~ ( eats @ C @ D ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( caterpillar @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( snail @ A )
| ~ ( bird @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( bird @ A )
| ~ ( fox @ B ) )
& ! [A: $i,B: $i] :
( ( msmaller @ A @ B )
| ~ ( fox @ A )
| ~ ( wolf @ B ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ B )
| ~ ( fox @ A )
| ~ ( eats @ B @ A ) )
& ! [A: $i,B: $i] :
( ~ ( wolf @ A )
| ~ ( grain @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i,B: $i] :
( ( eats @ A @ B )
| ~ ( bird @ A )
| ~ ( caterpillar @ B ) )
& ! [A: $i,B: $i] :
( ~ ( bird @ A )
| ~ ( snail @ B )
| ~ ( eats @ A @ B ) )
& ! [A: $i] :
( ( plant @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( cf @ A ) )
| ~ ( caterpillar @ A ) )
& ! [A: $i] :
( ( plant @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i] :
( ( eats @ A @ ( sf @ A ) )
| ~ ( snail @ A ) )
& ! [A: $i,B: $i,C: $i] :
( ~ ( animal @ A )
| ~ ( animal @ B )
| ~ ( grain @ C )
| ~ ( eats @ A @ B )
| ~ ( eats @ B @ C ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(52,plain,
$false,
inference(e,[status(thm)],[3]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02 % Problem : PUZ031^5 : TPTP v9.3.1. Released v4.0.0.
% 0.00/0.07 % 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.10/0.19 % Computer : n015.cluster.edu
% 0.10/0.19 % Model : x86_64 x86_64
% 0.10/0.19 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.19 % Memory : 8046.5625MB
% 0.10/0.19 % OS : Linux 6.8.0-71-generic
% 0.10/0.19 % CPULimit : 300
% 0.10/0.19 % WCLimit : 300
% 0.10/0.19 % DateTime : Tue Sep 29 13:24:47 UTC 2026
% 0.10/0.19 % CPUTime :
% 0.10/0.19 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
% 0.65/0.51 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.01/0.66 % [INFO] Parsing done (154ms).
% 1.01/0.68 % [INFO] Running in sequential loop mode.
% 1.73/1.08 % [INFO] eprover registered as external prover.
% 1.73/1.09 % [INFO] Scanning for conjecture ...
% 2.09/1.26 % [INFO] Found a conjecture (or negated_conjecture) and 0 axioms. Running axiom selection ...
% 2.32/1.32 % [INFO] Axiom selection finished. Selected 0 axioms (removed 0 axioms).
% 2.32/1.32 % [INFO] Problem is higher-order (TPTP THF).
% 2.32/1.33 % [INFO] Type checking passed.
% 2.32/1.33 % [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 ...
% 4.24/2.04 % External prover 'e' found a proof!
% 4.24/2.04 % [INFO] Killing All external provers ...
% 4.24/2.04 % Time passed: 1751ms (effective reasoning time: 1355ms)
% 4.24/2.04 % 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)>
% 4.24/2.04 % Axioms used in derivation (0):
% 4.24/2.04 % No. of inferences in proof: 4
% 4.24/2.04 % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1751 ms resp. 1355 ms w/o parsing
% 4.24/2.09 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 4.24/2.09 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------