%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : ALG263^1 : TPTP v9.3.1. Bugfixed v5.2.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 : n013.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 07:45:05 AM UTC 2026
% Result : Theorem 9.08s 3.55s
% Output : Refutation 9.36s
% Verified :
% SZS Type : Refutation
% Derivation depth : 3
% Number of leaves : 40
% Syntax : Number of formulae : 43 ( 42 unt; 0 typ; 39 def)
% Number of atoms : 221 ( 113 equ; 0 cnn)
% Maximal formula atoms : 53 ( 5 avg)
% Number of connectives : 801 ( 14 ~; 0 |; 6 &; 611 @)
% ( 0 <=>; 170 =>; 0 <=; 0 <~>)
% Maximal formula depth : 49 ( 2 avg)
% Number of types : 3 ( 2 usr)
% Number of type conns : 34 ( 34 >; 0 *; 0 +; 0 <<)
% Number of symbols : 50 ( 48 usr; 40 con; 0-4 aty)
% Number of variables : 248 ( 8 ^; 240 !; 0 ?; 248 :)
% Comments :
%------------------------------------------------------------------------------
thf(term_type,type,
term: $tType ).
thf(subst_type,type,
subst: $tType ).
thf(one_decl,type,
one: term ).
thf(ap_decl,type,
ap: term > term > term ).
thf(lam_decl,type,
lam: term > term ).
thf(sub_decl,type,
sub: term > subst > term ).
thf(id_decl,type,
id: subst ).
thf(sh_decl,type,
sh: subst ).
thf(push_decl,type,
push: term > subst > subst ).
thf(comp_decl,type,
comp: subst > subst > subst ).
thf(var_decl,type,
var: term > $o ).
thf(axmap_decl,type,
axmap: $o ).
thf(shinj_decl,type,
shinj: $o ).
thf(hoasap_decl,type,
hoasap: subst > term > subst > term > term ).
thf(induction2lem_decl,type,
induction2lem: $o ).
thf(axvarshift_decl,type,
axvarshift: $o ).
thf(hoasapinj2_decl,type,
hoasapinj2: $o ).
thf(hoasapinj1_decl,type,
hoasapinj1: $o ).
thf(ulamvar1_decl,type,
ulamvar1: $o ).
thf(apnotvar_decl,type,
apnotvar: $o ).
thf(hoaslaminj_decl,type,
hoaslaminj: $o ).
thf(hoasinduction_lem1_decl,type,
hoasinduction_lem1: $o ).
thf(hoasapnotvar_decl,type,
hoasapnotvar: $o ).
thf(axapp_decl,type,
axapp: $o ).
thf(ulamvarind_decl,type,
ulamvarind: $o ).
thf(induction_decl,type,
induction: $o ).
thf(axclos_decl,type,
axclos: $o ).
thf(axassoc_decl,type,
axassoc: $o ).
thf(apinj2_decl,type,
apinj2: $o ).
thf(apinj1_decl,type,
apinj1: $o ).
thf(axvarcons_decl,type,
axvarcons: $o ).
thf(hoaslam_decl,type,
hoaslam: subst > ( subst > term > term ) > term ).
thf(axscons_decl,type,
axscons: $o ).
thf(axidr_decl,type,
axidr: $o ).
thf(laminj_decl,type,
laminj: $o ).
thf(axabs_decl,type,
axabs: $o ).
thf(lamnotap_decl,type,
lamnotap: $o ).
thf(hoaslamnotvar_decl,type,
hoaslamnotvar: $o ).
thf(axidl_decl,type,
axidl: $o ).
thf(pushprop_decl,type,
pushprop: $o ).
thf(substmonoid_decl,type,
substmonoid: $o ).
thf(lamnotvar_decl,type,
lamnotvar: $o ).
thf(hoasinduction_lem1_gthm_decl,type,
hoasinduction_lem1_gthm: $o ).
thf(hoasvar_decl,type,
hoasvar: subst > term > subst > $o ).
thf(hoaslamnotap_decl,type,
hoaslamnotap: $o ).
thf(ulamvarsh_decl,type,
ulamvarsh: $o ).
thf(induction2_decl,type,
induction2: $o ).
thf(axshiftcons_decl,type,
axshiftcons: $o ).
thf(termmset_decl,type,
termmset: $o ).
thf(axvarid_decl,type,
axvarid: $o ).
thf(axmap_def,definition,
( axmap
= ( ! [A: term,B: subst,C: subst] :
( ( comp @ ( push @ A @ B ) @ C )
= ( push @ ( sub @ A @ C ) @ ( comp @ B @ C ) ) ) ) ) ).
thf(shinj_def,definition,
( shinj
= ( ! [A: term,B: term] :
( ( ( sub @ A @ sh )
= ( sub @ B @ sh ) )
=> ( A = B ) ) ) ) ).
thf(hoasap_def,definition,
( hoasap
= ( ^ [A: subst,B: term,C: subst] : ( ap @ ( sub @ B @ C ) ) ) ) ).
thf(induction2lem_def,definition,
( induction2lem
= ( ! [A: term > $o] :
( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ! [C: term] :
( ( A @ C )
=> ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term,C: subst] :
( ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ C ) ) )
=> ( A @ ( sub @ B @ C ) ) ) ) ) ) ) ).
thf(axvarshift_def,definition,
( axvarshift
= ( ( push @ one @ sh )
= id ) ) ).
thf(hoasapinj2_def,definition,
( hoasapinj2
= ( ! [A: term,B: term,C: term,D: term] :
( ( ( hoasap @ id @ A @ id @ C )
= ( hoasap @ id @ B @ id @ D ) )
=> ( C = D ) ) ) ) ).
thf(hoasapinj1_def,definition,
( hoasapinj1
= ( ! [A: term,B: term,C: term,D: term] :
( ( ( hoasap @ id @ A @ id @ C )
= ( hoasap @ id @ B @ id @ D ) )
=> ( A = B ) ) ) ) ).
thf(ulamvar1_def,definition,
( ulamvar1
= ( var @ one ) ) ).
thf(apnotvar_def,definition,
( apnotvar
= ( ! [A: term,B: term] :
~ ( var @ ( ap @ A @ B ) ) ) ) ).
thf(hoaslaminj_def,definition,
( hoaslaminj
= ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ! [B: subst > term > term] :
( ! [C: subst,D: term,E: subst] :
( ( sub @ ( B @ C @ D ) @ E )
= ( B @ ( comp @ C @ E ) @ ( sub @ D @ E ) ) )
=> ( ( ( hoaslam @ id @ A )
= ( hoaslam @ id @ B ) )
=> ! [C: subst,D: term] :
( ( A @ C @ D )
= ( B @ C @ D ) ) ) ) ) ) ) ).
thf(hoasinduction_lem1_def,definition,
( hoasinduction_lem1
= ( ! [A: subst > term > subst > $o] :
( ! [B: subst,C: term,D: subst,E: subst] :
( ( A @ B @ C @ ( comp @ E @ D ) )
=> ( A @ ( comp @ B @ E ) @ ( sub @ C @ E ) @ D ) )
=> ( ! [B: subst,C: term,D: subst,E: subst] :
( ( A @ ( comp @ B @ E ) @ ( sub @ C @ E ) @ D )
=> ( A @ B @ C @ ( comp @ E @ D ) ) )
=> ( ! [B: term] :
( ( hoasvar @ id @ B @ id )
=> ( A @ id @ B @ id ) )
=> ! [B: term] :
( ( var @ B )
=> ( A @ id @ B @ id ) ) ) ) ) ) ) ).
thf(hoasapnotvar_def,definition,
( hoasapnotvar
= ( ! [A: term,B: term] :
~ ( hoasvar @ id @ ( hoasap @ id @ A @ id @ B ) @ id ) ) ) ).
thf(axapp_def,definition,
( axapp
= ( ! [A: term,B: term,C: subst] :
( ( sub @ ( ap @ A @ B ) @ C )
= ( ap @ ( sub @ A @ C ) @ ( sub @ B @ C ) ) ) ) ) ).
thf(ulamvarind_def,definition,
( ulamvarind
= ( ! [A: term > $o] :
( ( A @ one )
=> ( ! [B: term] :
( ( var @ B )
=> ( ( A @ B )
=> ( A @ ( sub @ B @ sh ) ) ) )
=> ! [B: term] :
( ( var @ B )
=> ( A @ B ) ) ) ) ) ) ).
thf(induction_def,definition,
( induction
= ( ! [A: term > $o] :
( ! [B: term] :
( ( var @ B )
=> ( A @ B ) )
=> ( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ( A @ B )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term] : ( A @ B ) ) ) ) ) ) ).
thf(axclos_def,definition,
( axclos
= ( ! [A: term,B: subst,C: subst] :
( ( sub @ ( sub @ A @ B ) @ C )
= ( sub @ A @ ( comp @ B @ C ) ) ) ) ) ).
thf(axassoc_def,definition,
( axassoc
= ( ! [A: subst,B: subst,C: subst] :
( ( comp @ ( comp @ A @ B ) @ C )
= ( comp @ A @ ( comp @ B @ C ) ) ) ) ) ).
thf(apinj2_def,definition,
( apinj2
= ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ A @ C )
= ( ap @ B @ D ) )
=> ( C = D ) ) ) ) ).
thf(apinj1_def,definition,
( apinj1
= ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ A @ C )
= ( ap @ B @ D ) )
=> ( A = B ) ) ) ) ).
thf(axvarcons_def,definition,
( axvarcons
= ( ! [A: term,B: subst] :
( ( sub @ one @ ( push @ A @ B ) )
= A ) ) ) ).
thf(hoaslam_def,definition,
( hoaslam
= ( ^ [A: subst,B: subst > term > term] : ( lam @ ( B @ sh @ one ) ) ) ) ).
thf(axscons_def,definition,
( axscons
= ( ! [A: subst] :
( ( push @ ( sub @ one @ A ) @ ( comp @ sh @ A ) )
= A ) ) ) ).
thf(axidr_def,definition,
( axidr
= ( ! [A: subst] :
( ( comp @ A @ id )
= A ) ) ) ).
thf(laminj_def,definition,
( laminj
= ( ! [A: term,B: term] :
( ( ( lam @ A )
= ( lam @ B ) )
=> ( A = B ) ) ) ) ).
thf(axabs_def,definition,
( axabs
= ( ! [A: term,B: subst] :
( ( sub @ ( lam @ A ) @ B )
= ( lam @ ( sub @ A @ ( push @ one @ ( comp @ B @ sh ) ) ) ) ) ) ) ).
thf(lamnotap_def,definition,
( lamnotap
= ( ! [A: term,B: term,C: term] :
( ( lam @ A )
!= ( ap @ B @ C ) ) ) ) ).
thf(hoaslamnotvar_def,definition,
( hoaslamnotvar
= ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ~ ( hoasvar @ id @ ( hoaslam @ id @ A ) @ id ) ) ) ) ).
thf(axidl_def,definition,
( axidl
= ( ! [A: subst] :
( ( comp @ id @ A )
= A ) ) ) ).
thf(pushprop_def,definition,
( pushprop
= ( ! [A: term > $o,B: term,C: subst] :
( ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ C ) ) )
=> ( ( A @ B )
=> ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ ( push @ B @ C ) ) ) ) ) ) ) ) ).
thf(substmonoid_def,definition,
( substmonoid
= ( ! [A: subst,B: subst,C: subst] :
( ( comp @ ( comp @ A @ B ) @ C )
= ( comp @ A @ ( comp @ B @ C ) ) )
& ! [A: subst] :
( ( comp @ id @ A )
= A )
& ! [A: subst] :
( ( comp @ A @ id )
= A ) ) ) ).
thf(lamnotvar_def,definition,
( lamnotvar
= ( ! [A: term] :
~ ( var @ ( lam @ A ) ) ) ) ).
thf(hoasinduction_lem1_gthm_def,definition,
( hoasinduction_lem1_gthm
= ( axapp
=> ( axvarcons
=> ( axvarid
=> ( axabs
=> ( axclos
=> ( axidl
=> ( axshiftcons
=> ( axassoc
=> ( axmap
=> ( axidr
=> ( axvarshift
=> ( axscons
=> ( ulamvar1
=> ( ulamvarsh
=> ( ulamvarind
=> ( apinj1
=> ( apinj2
=> ( laminj
=> ( shinj
=> ( lamnotap
=> ( apnotvar
=> ( lamnotvar
=> ( induction
=> ( pushprop
=> ( induction2lem
=> ( induction2
=> ( substmonoid
=> ( termmset
=> ( hoasapinj1
=> ( hoasapinj2
=> ( hoaslaminj
=> ( hoaslamnotap
=> ( hoaslamnotvar
=> ( hoasapnotvar
=> hoasinduction_lem1 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).
thf(hoasvar_def,definition,
( hoasvar
= ( ^ [A: subst,B: term,C: subst] : ( var @ ( sub @ B @ C ) ) ) ) ).
thf(hoaslamnotap_def,definition,
( hoaslamnotap
= ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ! [B: term,C: term] :
( ( hoaslam @ id @ A )
!= ( hoasap @ id @ B @ id @ C ) ) ) ) ) ).
thf(ulamvarsh_def,definition,
( ulamvarsh
= ( ! [A: term] :
( ( var @ A )
=> ( var @ ( sub @ A @ sh ) ) ) ) ) ).
thf(induction2_def,definition,
( induction2
= ( ! [A: term > $o] :
( ! [B: term] :
( ( var @ B )
=> ( A @ B ) )
=> ( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ! [C: term] :
( ( A @ C )
=> ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term] : ( A @ B ) ) ) ) ) ) ).
thf(axshiftcons_def,definition,
( axshiftcons
= ( ! [A: term,B: subst] :
( ( comp @ sh @ ( push @ A @ B ) )
= B ) ) ) ).
thf(termmset_def,definition,
( termmset
= ( ! [A: term,B: subst,C: subst] :
( ( sub @ ( sub @ A @ B ) @ C )
= ( sub @ A @ ( comp @ B @ C ) ) )
& ! [A: term] :
( ( sub @ A @ id )
= A ) ) ) ).
thf(axvarid_def,definition,
( axvarid
= ( ! [A: term] :
( ( sub @ A @ id )
= A ) ) ) ).
thf(1,conjecture,
hoasinduction_lem1_gthm,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',thm) ).
thf(2,negated_conjecture,
~ hoasinduction_lem1_gthm,
inference(neg_conjecture,[status(cth)],[1]) ).
thf(3,plain,
~ ( ! [A: term,B: term,C: subst] :
( ( sub @ ( ap @ A @ B ) @ C )
= ( ap @ ( sub @ A @ C ) @ ( sub @ B @ C ) ) )
=> ( ! [A: term,B: subst] :
( ( sub @ one @ ( push @ A @ B ) )
= A )
=> ( ! [A: term] :
( ( sub @ A @ id )
= A )
=> ( ! [A: term,B: subst] :
( ( sub @ ( lam @ A ) @ B )
= ( lam @ ( sub @ A @ ( push @ one @ ( comp @ B @ sh ) ) ) ) )
=> ( ! [A: term,B: subst,C: subst] :
( ( sub @ ( sub @ A @ B ) @ C )
= ( sub @ A @ ( comp @ B @ C ) ) )
=> ( ! [A: subst] :
( ( comp @ id @ A )
= A )
=> ( ! [A: term,B: subst] :
( ( comp @ sh @ ( push @ A @ B ) )
= B )
=> ( ! [A: subst,B: subst,C: subst] :
( ( comp @ ( comp @ A @ B ) @ C )
= ( comp @ A @ ( comp @ B @ C ) ) )
=> ( ! [A: term,B: subst,C: subst] :
( ( comp @ ( push @ A @ B ) @ C )
= ( push @ ( sub @ A @ C ) @ ( comp @ B @ C ) ) )
=> ( ! [A: subst] :
( ( comp @ A @ id )
= A )
=> ( ( ( push @ one @ sh )
= id )
=> ( ! [A: subst] :
( ( push @ ( sub @ one @ A ) @ ( comp @ sh @ A ) )
= A )
=> ( ( var @ one )
=> ( ! [A: term] :
( ( var @ A )
=> ( var @ ( sub @ A @ sh ) ) )
=> ( ! [A: term > $o] :
( ( A @ one )
=> ( ! [B: term] :
( ( var @ B )
=> ( ( A @ B )
=> ( A @ ( sub @ B @ sh ) ) ) )
=> ! [B: term] :
( ( var @ B )
=> ( A @ B ) ) ) )
=> ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ A @ C )
= ( ap @ B @ D ) )
=> ( A = B ) )
=> ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ A @ C )
= ( ap @ B @ D ) )
=> ( C = D ) )
=> ( ! [A: term,B: term] :
( ( ( lam @ A )
= ( lam @ B ) )
=> ( A = B ) )
=> ( ! [A: term,B: term] :
( ( ( sub @ A @ sh )
= ( sub @ B @ sh ) )
=> ( A = B ) )
=> ( ! [A: term,B: term,C: term] :
( ( lam @ A )
!= ( ap @ B @ C ) )
=> ( ! [A: term,B: term] :
~ ( var @ ( ap @ A @ B ) )
=> ( ! [A: term] :
~ ( var @ ( lam @ A ) )
=> ( ! [A: term > $o] :
( ! [B: term] :
( ( var @ B )
=> ( A @ B ) )
=> ( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ( A @ B )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term] : ( A @ B ) ) ) )
=> ( ! [A: term > $o,B: term,C: subst] :
( ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ C ) ) )
=> ( ( A @ B )
=> ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ ( push @ B @ C ) ) ) ) ) )
=> ( ! [A: term > $o] :
( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ! [C: term] :
( ( A @ C )
=> ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term,C: subst] :
( ! [D: term] :
( ( var @ D )
=> ( A @ ( sub @ D @ C ) ) )
=> ( A @ ( sub @ B @ C ) ) ) ) )
=> ( ! [A: term > $o] :
( ! [B: term] :
( ( var @ B )
=> ( A @ B ) )
=> ( ! [B: term,C: term] :
( ( A @ B )
=> ( ( A @ C )
=> ( A @ ( ap @ B @ C ) ) ) )
=> ( ! [B: term] :
( ! [C: term] :
( ( A @ C )
=> ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
=> ( A @ ( lam @ B ) ) )
=> ! [B: term] : ( A @ B ) ) ) )
=> ( ( ! [A: subst,B: subst,C: subst] :
( ( comp @ ( comp @ A @ B ) @ C )
= ( comp @ A @ ( comp @ B @ C ) ) )
& ! [A: subst] :
( ( comp @ id @ A )
= A )
& ! [A: subst] :
( ( comp @ A @ id )
= A ) )
=> ( ( ! [A: term,B: subst,C: subst] :
( ( sub @ ( sub @ A @ B ) @ C )
= ( sub @ A @ ( comp @ B @ C ) ) )
& ! [A: term] :
( ( sub @ A @ id )
= A ) )
=> ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ ( sub @ A @ id ) @ C )
= ( ap @ ( sub @ B @ id ) @ D ) )
=> ( A = B ) )
=> ( ! [A: term,B: term,C: term,D: term] :
( ( ( ap @ ( sub @ A @ id ) @ C )
= ( ap @ ( sub @ B @ id ) @ D ) )
=> ( C = D ) )
=> ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ! [B: subst > term > term] :
( ! [C: subst,D: term,E: subst] :
( ( sub @ ( B @ C @ D ) @ E )
= ( B @ ( comp @ C @ E ) @ ( sub @ D @ E ) ) )
=> ( ( ( lam @ ( A @ sh @ one ) )
= ( lam @ ( B @ sh @ one ) ) )
=> ! [C: subst,D: term] :
( ( A @ C @ D )
= ( B @ C @ D ) ) ) ) )
=> ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ! [B: term,C: term] :
( ( lam @ ( A @ sh @ one ) )
!= ( ap @ ( sub @ B @ id ) @ C ) ) )
=> ( ! [A: subst > term > term] :
( ! [B: subst,C: term,D: subst] :
( ( sub @ ( A @ B @ C ) @ D )
= ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
=> ~ ( var @ ( sub @ ( lam @ ( A @ sh @ one ) ) @ id ) ) )
=> ( ! [A: term,B: term] :
~ ( var @ ( sub @ ( ap @ ( sub @ A @ id ) @ B ) @ id ) )
=> ! [A: subst > term > subst > $o] :
( ! [B: subst,C: term,D: subst,E: subst] :
( ( A @ B @ C @ ( comp @ E @ D ) )
=> ( A @ ( comp @ B @ E ) @ ( sub @ C @ E ) @ D ) )
=> ( ! [B: subst,C: term,D: subst,E: subst] :
( ( A @ ( comp @ B @ E ) @ ( sub @ C @ E ) @ D )
=> ( A @ B @ C @ ( comp @ E @ D ) ) )
=> ( ! [B: term] :
( ( var @ ( sub @ B @ id ) )
=> ( A @ id @ B @ id ) )
=> ! [B: term] :
( ( var @ B )
=> ( A @ id @ B @ id ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(207,plain,
$false,
inference(e,[status(thm)],[3]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : ALG263^1 : TPTP v9.3.1. Bugfixed v5.2.0.
% 0.00/0.08 % 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.11/0.22 % Computer : n013.cluster.edu
% 0.11/0.22 % Model : x86_64 x86_64
% 0.11/0.22 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.22 % Memory : 8046.5625MB
% 0.11/0.22 % OS : Linux 6.8.0-71-generic
% 0.11/0.22 % CPULimit : 300
% 0.11/0.22 % WCLimit : 300
% 0.11/0.22 % DateTime : Tue Sep 29 17:33:21 UTC 2026
% 0.11/0.22 % CPUTime :
% 0.11/0.22 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.07/0.80 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 2.20/1.18 % [INFO] Parsing done (375ms).
% 2.20/1.19 % [INFO] Running in sequential loop mode.
% 3.13/1.59 % [INFO] eprover registered as external prover.
% 3.38/1.60 % [INFO] Scanning for conjecture ...
% 4.56/2.09 % [INFO] Found a conjecture (or negated_conjecture) and 0 axioms. Running axiom selection ...
% 4.56/2.11 % [INFO] Axiom selection finished. Selected 0 axioms (removed 0 axioms).
% 4.56/2.12 % [INFO] Problem is higher-order (TPTP THF).
% 4.56/2.12 % [INFO] Type checking passed.
% 4.56/2.12 % [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 ...
% 9.08/3.55 % External prover 'e' found a proof!
% 9.08/3.55 % [INFO] Killing All external provers ...
% 9.08/3.55 % Time passed: 3178ms (effective reasoning time: 2348ms)
% 9.08/3.55 % 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)>
% 9.08/3.55 % Axioms used in derivation (0):
% 9.08/3.55 % No. of inferences in proof: 4
% 9.08/3.55 % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 3178 ms resp. 2348 ms w/o parsing
% 9.36/3.64 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 9.36/3.64 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------