%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : CAT004-4 : 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 : 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 06:55:18 AM UTC 2026
% Result : Unsatisfiable 13.96s 4.51s
% Output : Refutation 13.96s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 17
% Syntax : Number of formulae : 35 ( 15 unt; 0 typ; 0 def)
% Number of atoms : 63 ( 30 equ; 0 cnn)
% Maximal formula atoms : 3 ( 1 avg)
% Number of connectives : 188 ( 30 ~; 28 |; 0 &; 130 @)
% ( 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 : 11 ( 9 usr; 5 con; 0-2 aty)
% Number of variables : 50 ( 0 ^; 50 !; 0 ?; 50 :)
% Comments :
%------------------------------------------------------------------------------
thf(h_decl,type,
h: $i ).
thf(g_decl,type,
g: $i ).
thf(equivalent_decl,type,
equivalent: $i > $i > $o ).
thf(there_exists_decl,type,
there_exists: $i > $o ).
thf(compose_decl,type,
compose: $i > $i > $i ).
thf(a_decl,type,
a: $i ).
thf(domain_decl,type,
domain: $i > $i ).
thf(codomain_decl,type,
codomain: $i > $i ).
thf(b_decl,type,
b: $i ).
thf(14,axiom,
! [A: $i] :
( ( A @ ( A @ codomain @ compose ) )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',compose_codomain) ).
thf(53,plain,
! [A: $i] :
( ( A @ ( A @ codomain @ compose ) )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
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(32,plain,
! [B: $i,A: $i] :
( ( ( A @ domain )
= ( B @ codomain ) )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(10,axiom,
! [B: $i,A: $i] :
( ( A @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',equivalence_implies_existence1) ).
thf(44,plain,
! [B: $i,A: $i] :
( ( A @ there_exists )
| ~ ( B @ ( A @ equivalent ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(13,axiom,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( b @ ( C @ compose ) )
!= B )
| ( ( b @ ( A @ compose ) )
!= B ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cancellation_for_product2) ).
thf(49,plain,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( b @ ( C @ compose ) )
!= B )
| ( ( b @ ( A @ compose ) )
!= B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
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(35,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(1,negated_conjecture,
h != g,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_h_equals_g) ).
thf(18,plain,
h != g,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(17,axiom,
( ( b @ ( a @ compose ) @ ( h @ compose ) )
= ( b @ ( a @ compose ) @ ( g @ compose ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',h_ab_equals_g_ab) ).
thf(58,plain,
( ( b @ ( a @ compose ) @ ( h @ compose ) )
= ( b @ ( a @ compose ) @ ( g @ compose ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).
thf(12,axiom,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ codomain @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',codomain_has_elements) ).
thf(47,plain,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ codomain @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(9,axiom,
! [A: $i] :
( ( A @ domain @ ( A @ compose ) )
= A ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',compose_domain) ).
thf(42,plain,
! [A: $i] :
( ( A @ domain @ ( A @ compose ) )
= A ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(3,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(24,plain,
! [B: $i,A: $i] :
( ( B @ ( A @ equivalent ) )
| ( A != B )
| ~ ( A @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(11,axiom,
b @ ( a @ compose ) @ there_exists,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',assume_ab_exists) ).
thf(46,plain,
b @ ( a @ compose ) @ there_exists,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(16,axiom,
h @ there_exists,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',assume_h_exists) ).
thf(57,plain,
h @ there_exists,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(2,axiom,
! [B: $i,A: $i] :
( ( A = B )
| ~ ( B @ ( A @ equivalent ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',equivalence_implies_existence2) ).
thf(21,plain,
! [B: $i,A: $i] :
( ( A = B )
| ~ ( B @ ( A @ equivalent ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(4,axiom,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( a @ ( C @ compose ) )
!= B )
| ( ( a @ ( A @ compose ) )
!= B ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cancellation_for_product1) ).
thf(28,plain,
! [C: $i,B: $i,A: $i] :
( ( A = C )
| ( ( a @ ( C @ compose ) )
!= B )
| ( ( a @ ( A @ compose ) )
!= B ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(7,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(38,plain,
! [B: $i,A: $i] :
( ( A @ domain @ there_exists )
| ~ ( B @ ( A @ compose ) @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(8,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(40,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)],[8]) ).
thf(15,axiom,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ domain @ there_exists ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',domain_has_elements) ).
thf(55,plain,
! [A: $i] :
( ( A @ there_exists )
| ~ ( A @ domain @ there_exists ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(1980,plain,
$false,
inference(e,[status(thm)],[53,32,44,49,35,18,58,47,42,24,46,57,21,28,38,40,55]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : CAT004-4 : TPTP v9.3.1. Released v1.0.0.
% 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 : n005.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 22:48:18 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.89/0.98 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 1.30/1.17 % [INFO] Parsing done (194ms).
% 1.30/1.19 % [INFO] Running in sequential loop mode.
% 2.17/1.60 % [INFO] eprover registered as external prover.
% 2.17/1.61 % [INFO] Scanning for conjecture ...
% 2.17/1.69 % [INFO] Found a conjecture (or negated_conjecture) and 16 axioms. Running axiom selection ...
% 2.35/1.75 % [INFO] Axiom selection finished. Selected 16 axioms (removed 0 axioms).
% 2.35/1.77 % [INFO] Problem is propositional (TPTP CNF).
% 2.35/1.78 % [INFO] Type checking passed.
% 2.35/1.79 % [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 ...
% 13.96/4.51 % External prover 'e' found a proof!
% 13.96/4.51 % [INFO] Killing All external provers ...
% 13.96/4.51 % Time passed: 3971ms (effective reasoning time: 3315ms)
% 13.96/4.51 % Axioms used in derivation (16): assume_ab_exists, compose_codomain, domain_codomain_composition2, compose_domain, cancellation_for_product1, equivalence_implies_existence1, h_ab_equals_g_ab, assume_h_exists, equivalence_implies_existence2, codomain_has_elements, existence_and_equality_implies_equivalence1, associativity_of_compose, cancellation_for_product2, domain_codomain_composition1, composition_implies_domain, domain_has_elements
% 13.96/4.51 % No. of inferences in proof: 35
% 13.96/4.51 % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : 3971 ms resp. 3315 ms w/o parsing
% 13.96/4.56 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 13.96/4.56 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------