%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : CAT002-3 : TPTP v9.3.1. Released v1.0.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 : n006.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:55:17 AM UTC 2026
% Result : Unsatisfiable 3.69s 2.48s
% Output : Refutation 4.05s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 23
% Syntax : Number of formulae : 47 ( 15 unt; 0 typ; 0 def)
% Number of atoms : 95 ( 46 equ; 0 cnn)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 268 ( 44 ~; 48 |; 0 &; 176 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 8 ( 6 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 12 ( 10 usr; 5 con; 0-2 aty)
% Number of variables : 74 ( 0 ^; 74 !; 0 ?; 74 :)
% Comments :
%------------------------------------------------------------------------------
thf(g_decl,type,
g: $i ).
thf(h_decl,type,
h: $i ).
thf(equivalent_decl,type,
equivalent: $i > $i > $o ).
thf(f1_decl,type,
f1: $i > $i > $i ).
thf(there_exists_decl,type,
there_exists: $i > $o ).
thf(compose_decl,type,
compose: $i > $i > $i ).
thf(domain_decl,type,
domain: $i > $i ).
thf(codomain_decl,type,
codomain: $i > $i ).
thf(a_decl,type,
a: $i ).
thf(b_decl,type,
b: $i ).
thf(17,axiom,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( C @ ( b @ compose ) )
!= B )
| ( ( A @ ( b @ compose ) )
!= B ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cancellation_for_compose2) ).
thf(69,plain,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( C @ ( b @ compose ) )
!= B )
| ( ( A @ ( b @ compose ) )
!= B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).
thf(11,axiom,
! [A: $i] :
( ( A @ domain @ ( A @ compose ) )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',compose_domain) ).
thf(52,plain,
! [A: $i] :
( ( A @ domain @ ( A @ compose ) )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(19,axiom,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ codomain @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',codomain_has_elements) ).
thf(74,plain,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ codomain @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).
thf(14,axiom,
! [B: $i,A: $i] :
( ( B @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',equivalence_implies_existence3) ).
thf(60,plain,
! [B: $i,A: $i] :
( ( B @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(4,axiom,
! [B: $i,A: $i] :
( ( A = B )
| ( B
= ( B @ ( A @ f1 ) ) )
| ( A
= ( B @ ( A @ f1 ) ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',indiscernibles2) ).
thf(33,plain,
! [B: $i,A: $i] :
( ( A = B )
| ( B
= ( B @ ( A @ f1 ) ) )
| ( A
= ( B @ ( A @ f1 ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(16,axiom,
! [B: $i,A: $i] :
( ( B @ ( A @ equivalent ) )
| ( A != B )
| ~ ( B @ there_exists )
| ~ ( A @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',existence_and_equality_implies_equivalence2) ).
thf(65,plain,
! [B: $i,A: $i] :
( ( B @ ( A @ equivalent ) )
| ( A != B )
| ~ ( B @ there_exists )
| ~ ( A @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(18,axiom,
b @ ( a @ compose ) @ there_exists,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',assume_ab_exists) ).
thf(73,plain,
b @ ( a @ compose ) @ there_exists,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).
thf(2,axiom,
! [B: $i,A: $i] :
( ( A = B )
| ~ ( B @ ( A @ equivalent ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',equivalence_implies_existence2) ).
thf(27,plain,
! [B: $i,A: $i] :
( ( A = B )
| ~ ( B @ ( A @ equivalent ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(12,axiom,
! [B: $i,A: $i] :
( ( B @ ( A @ equivalent ) )
| ( A != B )
| ~ ( A @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',existence_and_equality_implies_equivalence1) ).
thf(54,plain,
! [B: $i,A: $i] :
( ( B @ ( A @ equivalent ) )
| ( A != B )
| ~ ( A @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(22,axiom,
h @ there_exists,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',assume_h_exists) ).
thf(80,plain,
h @ there_exists,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[22]) ).
thf(9,axiom,
! [B: $i,A: $i] :
( ( A @ domain @ there_exists )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',composition_implies_domain) ).
thf(48,plain,
! [B: $i,A: $i] :
( ( A @ domain @ there_exists )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
! [C: $i,B: $i,A: $i] :
( ( C @ ( B @ compose ) @ ( A @ compose ) )
= ( C @ ( B @ ( A @ compose ) @ compose ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',associativity_of_compose) ).
thf(50,plain,
! [C: $i,B: $i,A: $i] :
( ( C @ ( B @ compose ) @ ( A @ compose ) )
= ( C @ ( B @ ( A @ compose ) @ compose ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(13,axiom,
! [B: $i,A: $i] :
( ( A @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',equivalence_implies_existence1) ).
thf(58,plain,
! [B: $i,A: $i] :
( ( A @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(15,axiom,
! [B: $i,A: $i] :
( ( A = B )
| ( B @ ( A @ f1 ) @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',indiscernibles1) ).
thf(62,plain,
! [B: $i,A: $i] :
( ( A = B )
| ( B @ ( A @ f1 ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(7,axiom,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( C @ ( a @ compose ) )
!= B )
| ( ( A @ ( a @ compose ) )
!= B ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cancellation_for_compose1) ).
thf(42,plain,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( C @ ( a @ compose ) )
!= B )
| ( ( A @ ( a @ compose ) )
!= B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(1,negated_conjecture,
g != h,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_g_equals_h) ).
thf(24,plain,
g != h,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(8,axiom,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ domain @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',domain_has_elements) ).
thf(46,plain,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ domain @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(21,axiom,
! [B: $i,A: $i] :
( ( A @ codomain @ there_exists )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',composition_implies_codomain) ).
thf(78,plain,
! [B: $i,A: $i] :
( ( A @ codomain @ there_exists )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[21]) ).
thf(23,axiom,
( ( h @ ( b @ ( a @ compose ) @ compose ) )
= ( g @ ( b @ ( a @ compose ) @ compose ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ab_h_equals_ab_g) ).
thf(81,plain,
( ( h @ ( b @ ( a @ compose ) @ compose ) )
= ( g @ ( b @ ( a @ compose ) @ compose ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[23]) ).
thf(20,axiom,
! [A: $i] :
( ( A @ ( A @ codomain @ compose ) )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',compose_codomain) ).
thf(76,plain,
! [A: $i] :
( ( A @ ( A @ codomain @ compose ) )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[20]) ).
thf(6,axiom,
! [B: $i,A: $i] :
( ( B @ ( A @ compose ) @ there_exists )
| ( ( A @ domain )
!= ( B @ codomain ) )
| ~ ( A @ domain @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',domain_codomain_composition2) ).
thf(39,plain,
! [B: $i,A: $i] :
( ( B @ ( A @ compose ) @ there_exists )
| ( ( A @ domain )
!= ( B @ codomain ) )
| ~ ( A @ domain @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(5,axiom,
! [B: $i,A: $i] :
( ( ( A @ domain )
= ( B @ codomain ) )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',domain_codomain_composition1) ).
thf(36,plain,
! [B: $i,A: $i] :
( ( ( A @ domain )
= ( B @ codomain ) )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(3,axiom,
! [B: $i,A: $i] :
( ( A = B )
| ( B
!= ( B @ ( A @ f1 ) ) )
| ( A
!= ( B @ ( A @ f1 ) ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',indiscernibles3) ).
thf(30,plain,
! [B: $i,A: $i] :
( ( A = B )
| ( B
!= ( B @ ( A @ f1 ) ) )
| ( A
!= ( B @ ( A @ f1 ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(87,plain,
$false,
inference(e,[status(thm)],[69,52,74,60,33,65,73,27,54,80,48,50,58,62,42,24,46,78,81,76,39,36,30]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : CAT002-3 : TPTP v9.3.1. Released v1.0.0.
% 0.00/0.07 % 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.41 % Computer : n006.cluster.edu
% 0.13/0.41 % Model : x86_64 x86_64
% 0.13/0.41 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.41 % Memory : 8046.5625MB
% 0.13/0.41 % OS : Linux 6.8.0-71-generic
% 0.13/0.41 % CPULimit : 300
% 0.13/0.41 % WCLimit : 300
% 0.13/0.41 % DateTime : Sat Sep 26 22:47:40 UTC 2026
% 0.13/0.41 % CPUTime :
% 0.13/0.41 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.81/0.99 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 1.17/1.19 % [INFO] Parsing done (191ms).
% 1.33/1.20 % [INFO] Running in sequential loop mode.
% 1.81/1.59 % [INFO] eprover registered as external prover.
% 2.01/1.60 % [INFO] Scanning for conjecture ...
% 2.01/1.69 % [INFO] Found a conjecture (or negated_conjecture) and 22 axioms. Running axiom selection ...
% 2.15/1.75 % [INFO] Axiom selection finished. Selected 22 axioms (removed 0 axioms).
% 2.15/1.79 % [INFO] Problem is propositional (TPTP CNF).
% 2.15/1.79 % [INFO] Type checking passed.
% 2.36/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.69/2.48 % External prover 'e' found a proof!
% 3.69/2.48 % [INFO] Killing All external provers ...
% 3.69/2.48 % Time passed: 1927ms (effective reasoning time: 1270ms)
% 3.69/2.48 % Axioms used in derivation (22): equivalence_implies_existence3, assume_ab_exists, compose_codomain, indiscernibles3, domain_codomain_composition2, compose_domain, composition_implies_codomain, equivalence_implies_existence1, indiscernibles1, ab_h_equals_ab_g, assume_h_exists, equivalence_implies_existence2, codomain_has_elements, associativity_of_compose, cancellation_for_compose2, existence_and_equality_implies_equivalence2, domain_codomain_composition1, composition_implies_domain, domain_has_elements, existence_and_equality_implies_equivalence1, indiscernibles2, cancellation_for_compose1
% 3.69/2.48 % No. of inferences in proof: 47
% 3.69/2.48 % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1927 ms resp. 1270 ms w/o parsing
% 4.05/2.54 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 4.05/2.54 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------