%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ007-1 : 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 : n005.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:03 AM UTC 2026
% Result : Unsatisfiable 4.93s 2.62s
% Output : Refutation 4.93s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 28
% Syntax : Number of formulae : 57 ( 9 unt; 0 typ; 0 def)
% Number of atoms : 119 ( 6 equ; 0 cnn)
% Maximal formula atoms : 3 ( 2 avg)
% Number of connectives : 258 ( 58 ~; 62 |; 0 &; 138 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 8 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 15 ( 13 usr; 5 con; 0-2 aty)
% Number of variables : 40 ( 0 ^; 40 !; 0 ?; 40 :)
% Comments :
%------------------------------------------------------------------------------
thf(from_mars_decl,type,
from_mars: $i > $o ).
thf(b_decl,type,
b: $i ).
thf(a_decl,type,
a: $i ).
thf(from_venus_decl,type,
from_venus: $i > $o ).
thf(liar_decl,type,
liar: $i > $o ).
thf(says_decl,type,
says: $i > $i > $o ).
thf(a_truth_decl,type,
a_truth: $i > $o ).
thf(statement_by_decl,type,
statement_by: $i > $i ).
thf(truthteller_decl,type,
truthteller: $i > $o ).
thf(male_decl,type,
male: $i > $o ).
thf(female_decl,type,
female: $i > $o ).
thf(a_from_mars_decl,type,
a_from_mars: $i ).
thf(a_has_lied_decl,type,
a_has_lied: $i ).
thf(14,axiom,
( ( b @ male )
| ~ ( a @ female ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',different_sex1) ).
thf(56,plain,
( ( b @ male )
| ~ ( a @ female ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(5,axiom,
! [A: $i] :
( ( A @ liar )
| ( A @ statement_by @ a_truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',false_statements_made_by_liars) ).
thf(37,plain,
! [A: $i] :
( ( A @ liar )
| ( A @ statement_by @ a_truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(12,axiom,
! [B: $i,A: $i] :
( ( B @ a_truth )
| ~ ( B @ ( A @ says ) )
| ~ ( A @ truthteller ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthtellers_make_true_statements) ).
thf(52,plain,
! [B: $i,A: $i] :
( ( B @ a_truth )
| ~ ( B @ ( A @ says ) )
| ~ ( A @ truthteller ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(7,axiom,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ statement_by @ a_truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',true_statements_made_by_truthtellers) ).
thf(41,plain,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ statement_by @ a_truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(19,axiom,
( ( b @ statement_by )
= a_has_lied ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_states) ).
thf(64,plain,
( ( b @ statement_by )
= a_has_lied ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).
thf(16,axiom,
! [A: $i] :
( ( A @ liar )
| ~ ( A @ female )
| ~ ( A @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',marsian_females_are_liars) ).
thf(59,plain,
! [A: $i] :
( ( A @ liar )
| ~ ( A @ female )
| ~ ( A @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(13,axiom,
( ( a_from_mars @ a_truth )
| ~ ( a @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars1) ).
thf(54,plain,
( ( a_from_mars @ a_truth )
| ~ ( a @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(20,axiom,
( ~ ( b @ statement_by @ a_truth )
| ~ ( a_from_mars @ a_truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars3) ).
thf(66,plain,
( ~ ( b @ statement_by @ a_truth )
| ~ ( a_from_mars @ a_truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[20]) ).
thf(11,axiom,
! [A: $i] :
( ( A @ liar )
| ( A @ truthteller ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthteller_or_liar) ).
thf(50,plain,
! [A: $i] :
( ( A @ liar )
| ( A @ truthteller ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(2,negated_conjecture,
( ( b @ from_venus )
| ( a @ from_venus ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_from_venus) ).
thf(30,plain,
( ( b @ from_venus )
| ( a @ from_venus ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(21,axiom,
! [A: $i] :
( ( A @ liar )
| ~ ( A @ male )
| ~ ( A @ from_venus ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',venusian_males_are_liars) ).
thf(68,plain,
! [A: $i] :
( ( A @ liar )
| ~ ( A @ male )
| ~ ( A @ from_venus ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[21]) ).
thf(9,axiom,
! [A: $i] :
( ~ ( A @ female )
| ~ ( A @ male ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_male_and_female) ).
thf(46,plain,
! [A: $i] :
( ~ ( A @ female )
| ~ ( A @ male ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(26,axiom,
( ( b @ statement_by @ a_truth )
| ( a_from_mars @ a_truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',truth_of_bs_statement) ).
thf(78,plain,
( ( b @ statement_by @ a_truth )
| ( a_from_mars @ a_truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[26]) ).
thf(1,negated_conjecture,
( ( a @ from_mars )
| ( b @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_from_mars) ).
thf(29,plain,
( ( a @ from_mars )
| ( b @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(17,axiom,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ female )
| ~ ( A @ from_venus ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',venusian_female_are_truthtellers) ).
thf(61,plain,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ female )
| ~ ( A @ from_venus ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).
thf(24,axiom,
! [A: $i] :
( ~ ( A @ from_venus )
| ~ ( A @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_from_mars_and_venus) ).
thf(74,plain,
! [A: $i] :
( ~ ( A @ from_venus )
| ~ ( A @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[24]) ).
thf(22,axiom,
( ~ ( a_from_mars @ a_truth )
| ( a @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars2) ).
thf(70,plain,
( ~ ( a_from_mars @ a_truth )
| ( a @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[22]) ).
thf(3,axiom,
! [B: $i,A: $i] :
( ~ ( B @ a_truth )
| ~ ( B @ ( A @ says ) )
| ~ ( A @ liar ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',liars_make_false_statements) ).
thf(33,plain,
! [B: $i,A: $i] :
( ~ ( B @ a_truth )
| ~ ( B @ ( A @ says ) )
| ~ ( A @ liar ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(25,axiom,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ male )
| ~ ( A @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',marsian_males_are_truthtellers) ).
thf(76,plain,
! [A: $i] :
( ( A @ truthteller )
| ~ ( A @ male )
| ~ ( A @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[25]) ).
thf(6,axiom,
! [A: $i] :
( ~ ( A @ liar )
| ~ ( A @ truthteller ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_truthteller_and_liar) ).
thf(39,plain,
! [A: $i] :
( ~ ( A @ liar )
| ~ ( A @ truthteller ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(27,axiom,
( ( b @ female )
| ~ ( a @ male ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',different_sex2) ).
thf(80,plain,
( ( b @ female )
| ~ ( a @ male ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[27]) ).
thf(4,axiom,
! [B: $i,A: $i] :
( ~ ( B @ a_truth )
| ( B @ a_truth )
| ~ ( B @ ( A @ says ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_not) ).
thf(35,plain,
! [B: $i,A: $i] :
( ~ ( B @ a_truth )
| ( B @ a_truth )
| ~ ( B @ ( A @ says ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(10,axiom,
! [A: $i] :
( ( A @ female )
| ( A @ male ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',male_or_female) ).
thf(48,plain,
! [A: $i] :
( ( A @ female )
| ( A @ male ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(18,axiom,
a_from_mars @ ( a @ says ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_says_hes_from_mars) ).
thf(63,plain,
a_from_mars @ ( a @ says ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).
thf(23,axiom,
( ( a @ statement_by )
= a_from_mars ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_states) ).
thf(72,plain,
( ( a @ statement_by )
= a_from_mars ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[23]) ).
thf(8,axiom,
! [B: $i,A: $i] :
( ( B
= ( A @ statement_by ) )
| ~ ( B @ ( A @ says ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',people_say_their_statements) ).
thf(43,plain,
! [B: $i,A: $i] :
( ( B
= ( A @ statement_by ) )
| ~ ( B @ ( A @ says ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(15,axiom,
a_has_lied @ ( b @ says ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_says_a_lies) ).
thf(58,plain,
a_has_lied @ ( b @ says ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(28,axiom,
! [A: $i] :
( ( A @ from_venus )
| ( A @ from_mars ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',from_mars_or_venus) ).
thf(82,plain,
! [A: $i] :
( ( A @ from_venus )
| ( A @ from_mars ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[28]) ).
thf(92,plain,
$false,
inference(e,[status(thm)],[56,37,52,41,64,59,54,66,50,30,68,46,78,29,61,74,70,33,76,39,80,35,48,63,72,43,58,82]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.05 % Problem : PUZ007-1 : TPTP v9.3.1. Released v1.0.0.
% 0.00/0.12 % 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.22/0.49 % Computer : n005.cluster.edu
% 0.22/0.49 % Model : x86_64 x86_64
% 0.22/0.49 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.22/0.49 % Memory : 8046.5625MB
% 0.22/0.49 % OS : Linux 6.8.0-71-generic
% 0.22/0.49 % CPULimit : 300
% 0.22/0.49 % WCLimit : 300
% 0.22/0.49 % DateTime : Sat Sep 26 05:03:02 UTC 2026
% 0.22/0.50 % CPUTime :
% 0.22/0.50 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.22/1.27 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.62/1.49 % [INFO] Parsing done (212ms).
% 1.85/1.50 % [INFO] Running in sequential loop mode.
% 2.42/1.86 % [INFO] eprover registered as external prover.
% 2.42/1.87 % [INFO] Scanning for conjecture ...
% 2.72/1.94 % [INFO] Found a conjecture (or negated_conjecture) and 26 axioms. Running axiom selection ...
% 2.72/1.99 % [INFO] Axiom selection finished. Selected 26 axioms (removed 0 axioms).
% 2.72/2.02 % [INFO] Problem is propositional (TPTP CNF).
% 2.72/2.03 % [INFO] Type checking passed.
% 2.72/2.03 % [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.93/2.61 % External prover 'e' found a proof!
% 4.93/2.61 % [INFO] Killing All external provers ...
% 4.93/2.61 % Time passed: 1910ms (effective reasoning time: 1106ms)
% 4.93/2.62 % Axioms used in derivation (26): false_statements_made_by_liars, venusian_males_are_liars, a_from_mars2, male_or_female, venusian_female_are_truthtellers, not_from_mars_and_venus, marsian_males_are_truthtellers, marsian_females_are_liars, statements_are_true_or_not, a_from_mars3, true_statements_made_by_truthtellers, not_truthteller_and_liar, b_says_a_lies, liars_make_false_statements, from_mars_or_venus, a_states, a_from_mars1, people_say_their_statements, truthteller_or_liar, not_male_and_female, b_states, different_sex1, truthtellers_make_true_statements, a_says_hes_from_mars, different_sex2, truth_of_bs_statement
% 4.93/2.62 % No. of inferences in proof: 57
% 4.93/2.62 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : 1910 ms resp. 1106 ms w/o parsing
% 4.93/2.67 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 4.93/2.67 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------