%------------------------------------------------------------------------------
% File : Z3---4.15.1
% Problem : LCL818-1 : TPTP v9.3.1. Released v4.1.0.
% Transfm : NO INFORMATION
% Format : NO INFORMATION
% Command : run_E %s %d THM
% Computer : n026.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 : Mon Sep 7 03:00:59 PM UTC 2026
% Result : Unsatisfiable 0.31s 0.60s
% Output : Proof 0.35s
% Verified :
% SZS Type : Refutation
% Derivation depth : 6
% Number of leaves : 13
% Syntax : Number of formulae : 26 ( 9 unt; 0 typ; 0 def)
% Number of atoms : 133 ( 0 equ)
% Maximal formula atoms : 12 ( 5 avg)
% Number of connectives : 187 ( 88 ~; 84 |; 0 &)
% ( 15 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 12 ( 6 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of FOOLs : 8 ( 8 fml; 0 var)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of predicates : 6 ( 5 usr; 1 prp; 0-3 aty)
% Number of functors : 13 ( 13 usr; 10 con; 0-5 aty)
% Number of variables : 105 ( 95 !; 0 ?; 105 :)
% Comments :
%------------------------------------------------------------------------------
tff(c_Type_Otyping_type,type,
c_Type_Otyping: ( $i * $i * $i ) > $o ).
tff(c_List_Ofoldr_type,type,
c_List_Ofoldr: ( $i * $i * $i * $i * $i ) > $i ).
tff(tc_Type_Otype_type,type,
tc_Type_Otype: $i ).
tff(v_T_H_____type,type,
v_T_H____: $i ).
tff(v_Ts_____type,type,
v_Ts____: $i ).
tff(c_Type_Otype_OFun_type,type,
c_Type_Otype_OFun: $i ).
tff(hAPP_type,type,
hAPP: ( $i * $i ) > $i ).
tff(c_Lambda_Osubst_type,type,
c_Lambda_Osubst: ( $i * $i * $i ) > $i ).
tff(v_i_____type,type,
v_i____: $i ).
tff(v_u_____type,type,
v_u____: $i ).
tff(v_a_____type,type,
v_a____: $i ).
tff(c_Lambda_OdB_OApp_type,type,
c_Lambda_OdB_OApp: $i ).
tff(v_e_____type,type,
v_e____: $i ).
tff(v_T_H_H_____type,type,
v_T_H_H____: $i ).
tff(1,plain,
( ~ c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
<=> ~ c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ),
inference(rewrite,[status(thm)],[]) ).
tff(2,axiom,
~ c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_conjecture_0) ).
tff(3,plain,
~ c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)),
inference(modus_ponens,[status(thm)],[2,1]) ).
tff(4,plain,
( c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____)
<=> c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ),
inference(rewrite,[status(thm)],[]) ).
tff(5,axiom,
c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_CHAINED_0) ).
tff(6,plain,
c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____),
inference(modus_ponens,[status(thm)],[5,4]) ).
tff(7,plain,
( c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
<=> c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ),
inference(rewrite,[status(thm)],[]) ).
tff(8,axiom,
c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_uT_H_0) ).
tff(9,plain,
c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))),
inference(modus_ponens,[status(thm)],[8,7]) ).
tff(10,plain,
^ [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
refl(( ( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
<=> ( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) )),
inference(bind,[status(th)],[]) ).
tff(11,plain,
( ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
<=> ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) ),
inference(quant_intro,[status(thm)],[10]) ).
tff(12,plain,
( ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
<=> ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(13,plain,
^ [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
trans(monotonicity(rewrite(( ( c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_t,V_T) )
<=> ( ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) )),
( ( c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_t,V_T)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) )
<=> ( ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) ) )),
rewrite(( ( ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) )
<=> ( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) )),
( ( c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_t,V_T)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) )
<=> ( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) )),
inference(bind,[status(th)],[]) ).
tff(14,plain,
( ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_t,V_T)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) )
<=> ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ) ),
inference(quant_intro,[status(thm)],[13]) ).
tff(15,axiom,
! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U)
| ~ c_Type_Otyping(V_env,V_t,V_T)
| ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U)) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_App_0) ).
tff(16,plain,
! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ),
inference(modus_ponens,[status(thm)],[15,14]) ).
tff(17,plain,
! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ),
inference(modus_ponens,[status(thm)],[16,12]) ).
tff(18,plain,
! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ),
inference(skolemize,[status(sab)],[17]) ).
tff(19,plain,
! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) ),
inference(modus_ponens,[status(thm)],[18,11]) ).
tff(20,plain,
( ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) )
<=> ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(21,plain,
( ( ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____)
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) )
<=> ( c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(22,plain,
( ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____)
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) )
<=> ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ) ),
inference(monotonicity,[status(thm)],[21]) ).
tff(23,plain,
( ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____)
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) )
<=> ( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ) ),
inference(transitivity,[status(thm)],[22,20]) ).
tff(24,plain,
( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____)
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ),
inference(quant_inst,[status(thm)],[]) ).
tff(25,plain,
( ~ ! [V_U: $i,V_T: $i,V_t: $i,V_env: $i,V_s: $i] :
( ~ c_Type_Otyping(V_env,V_s,hAPP(hAPP(c_Type_Otype_OFun,V_T),V_U))
| ~ c_Type_Otyping(V_env,V_t,V_T)
| c_Type_Otyping(V_env,hAPP(hAPP(c_Lambda_OdB_OApp,V_s),V_t),V_U) )
| c_Type_Otyping(v_e____,hAPP(hAPP(c_Lambda_OdB_OApp,v_u____),c_Lambda_Osubst(v_a____,v_u____,v_i____)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
| ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
| ~ c_Type_Otyping(v_e____,c_Lambda_Osubst(v_a____,v_u____,v_i____),v_T_H_H____) ),
inference(modus_ponens,[status(thm)],[24,23]) ).
tff(26,plain,
$false,
inference(unit_resolution,[status(thm)],[25,19,9,6,3]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : LCL818-1 : TPTP v9.3.1. Released v4.1.0.
% 0.00/0.03 % Command : run_E %s %d THM
% 0.08/0.36 % Computer : n026.cluster.edu
% 0.08/0.36 % Model : x86_64 x86_64
% 0.08/0.36 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.36 % Memory : 8046.5625MB
% 0.08/0.36 % OS : Linux 6.8.0-71-generic
% 0.08/0.36 % CPULimit : 300
% 0.08/0.36 % WCLimit : 300
% 0.08/0.36 % DateTime : Fri Sep 4 19:22:57 UTC 2026
% 0.08/0.37 % CPUTime :
% 0.31/0.60 % SZS status Unsatisfiable
% 0.31/0.60 % SZS output start Proof
% See solution above
% 0.35/0.64 % E exiting
%------------------------------------------------------------------------------