%------------------------------------------------------------------------------
% File : Z3---4.15.1
% Problem : LCL795-1 : TPTP v9.3.1. Released v4.1.0.
% Transfm : NO INFORMATION
% Format : NO INFORMATION
% Command : run_E %s %d THM
% Computer : n009.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:53 PM UTC 2026
% Result : Unsatisfiable 0.21s 0.55s
% Output : Proof 0.31s
% Verified :
% SZS Type : Refutation
% Derivation depth : 6
% Number of leaves : 10
% Syntax : Number of formulae : 20 ( 7 unt; 0 typ; 0 def)
% Number of atoms : 57 ( 0 equ)
% Maximal formula atoms : 8 ( 2 avg)
% Number of connectives : 66 ( 31 ~; 27 |; 0 &)
% ( 8 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 11 ( 6 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of FOOLs : 2 ( 2 fml; 0 var)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of predicates : 4 ( 3 usr; 1 prp; 0-3 aty)
% Number of functors : 13 ( 13 usr; 8 con; 0-5 aty)
% Number of variables : 85 ( 75 !; 0 ?; 85 :)
% Comments :
%------------------------------------------------------------------------------
tff(c_Type_Otyping_type,type,
c_Type_Otyping: ( $i * $i * $i ) > $o ).
tff(hAPP_type,type,
hAPP: ( $i * $i ) > $i ).
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(v_T_H_H_____type,type,
v_T_H_H____: $i ).
tff(c_Lambda_Olift_type,type,
c_Lambda_Olift: ( $i * $i ) > $i ).
tff(c_HOL_Ozero__class_Ozero_type,type,
c_HOL_Ozero__class_Ozero: $i > $i ).
tff(tc_nat_type,type,
tc_nat: $i ).
tff(v_u_____type,type,
v_u____: $i ).
tff(c_Type_Oshift_type,type,
c_Type_Oshift: ( $i * $i * $i * $i ) > $i ).
tff(v_e_____type,type,
v_e____: $i ).
tff(1,plain,
( ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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(2,axiom,
~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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/sandbox/benchmark/theBenchmark.p',cls_conjecture_0) ).
tff(3,plain,
~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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)],[2,1]) ).
tff(4,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(5,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/sandbox/benchmark/theBenchmark.p',cls_uT_H_0) ).
tff(6,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)],[5,4]) ).
tff(7,plain,
^ [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
refl(( ( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
<=> ( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) )),
inference(bind,[status(th)],[]) ).
tff(8,plain,
( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
<=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
inference(quant_intro,[status(thm)],[7]) ).
tff(9,plain,
( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
<=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(10,plain,
^ [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
rewrite(( ( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
| ~ c_Type_Otyping(V_e,V_t,V_T) )
<=> ( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) )),
inference(bind,[status(th)],[]) ).
tff(11,plain,
( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
| ~ c_Type_Otyping(V_e,V_t,V_T) )
<=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
inference(quant_intro,[status(thm)],[10]) ).
tff(12,axiom,
! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
| ~ c_Type_Otyping(V_e,V_t,V_T) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_lift__type_0) ).
tff(13,plain,
! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
inference(modus_ponens,[status(thm)],[12,11]) ).
tff(14,plain,
! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
inference(modus_ponens,[status(thm)],[13,9]) ).
tff(15,plain,
! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
inference(skolemize,[status(sab)],[14]) ).
tff(16,plain,
! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
inference(modus_ponens,[status(thm)],[15,8]) ).
tff(17,plain,
( ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
| ~ 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(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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))) )
<=> ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
| ~ 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(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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(18,plain,
( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
| ~ 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(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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(quant_inst,[status(thm)],[]) ).
tff(19,plain,
( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
( ~ c_Type_Otyping(V_e,V_t,V_T)
| c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
| ~ 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(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),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)],[18,17]) ).
tff(20,plain,
$false,
inference(unit_resolution,[status(thm)],[19,16,6,3]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : LCL795-1 : TPTP v9.3.1. Released v4.1.0.
% 0.00/0.03 % Command : run_E %s %d THM
% 0.07/0.35 % Computer : n009.cluster.edu
% 0.07/0.35 % Model : x86_64 x86_64
% 0.07/0.35 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.07/0.35 % Memory : 8046.5625MB
% 0.07/0.35 % OS : Linux 6.8.0-71-generic
% 0.07/0.35 % CPULimit : 300
% 0.07/0.35 % WCLimit : 300
% 0.07/0.35 % DateTime : Sat Sep 5 15:24:08 UTC 2026
% 0.07/0.35 % CPUTime :
% 0.21/0.55 % SZS status Unsatisfiable
% 0.21/0.55 % SZS output start Proof
% See solution above
% 0.31/0.59 % E exiting
%------------------------------------------------------------------------------