ITP001 Axioms: ITP067_7.ax
%------------------------------------------------------------------------------
% File : ITP067_7 : TPTP v9.0.0. Bugfixed v7.5.0.
% Domain : Interactive Theorem Proving
% Axioms : HOL4 syntactic export, chainy mode
% Version : [BG+19] axioms.
% English :
% Refs : [BG+19] Brown et al. (2019), GRUNGE: A Grand Unified ATP Chall
% : [Gau19] Gauthier (2019), Email to Geoff Sutcliffe
% Source : [BG+19]
% Names : mergesort.ax [Gau19]
% : HL4067_7.ax [TPAP]
% Status : Satisfiable
% Syntax : Number of formulae : 195 ( 55 unt; 96 typ; 0 def)
% Number of atoms : 295 ( 144 equ)
% Maximal formula atoms : 29 ( 1 avg)
% Number of connectives : 225 ( 29 ~; 3 |; 98 &)
% ( 28 <=>; 67 =>; 0 <=; 0 <~>)
% Maximal formula depth : 42 ( 7 avg)
% Maximal term depth : 15 ( 2 avg)
% Number of types : 3 ( 2 usr)
% Number of type conns : 94 ( 45 >; 49 *; 0 +; 0 <<)
% Number of predicates : 2 ( 1 usr; 0 prp; 1-2 aty)
% Number of functors : 93 ( 93 usr; 13 con; 0-6 aty)
% Number of variables : 725 ( 647 !; 1 ?; 725 :)
% ( 77 !>; 0 ?*; 0 @-; 0 @+)
% SPC : TF1_SAT_EQU_NAR
% Comments :
% Bugfixes : v7.5.0 - Fixes to the axioms.
%------------------------------------------------------------------------------
tff(tyop_2Elist_2Elist,type,
tyop_2Elist_2Elist: $tType > $tType ).
tff(tyop_2Emin_2Ebool,type,
tyop_2Emin_2Ebool: $tType ).
tff(tyop_2Emin_2Efun,type,
tyop_2Emin_2Efun: ( $tType * $tType ) > $tType ).
tff(tyop_2Enum_2Enum,type,
tyop_2Enum_2Enum: $tType ).
tff(app_2E2,type,
app_2E2:
!>[A_27a: $tType,A_27b: $tType] : ( ( tyop_2Emin_2Efun(A_27a,A_27b) * A_27a ) > A_27b ) ).
tff(p,type,
p: tyop_2Emin_2Ebool > $o ).
tff(combin_i_2E0,type,
combin_i_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(A_27a,A_27a) ).
tff(combin_k_2E0,type,
combin_k_2E0:
!>[A_27a: $tType,A_27b: $tType] : tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27b,A_27a)) ).
tff(combin_s_2E0,type,
combin_s_2E0:
!>[A_27a: $tType,A_27b: $tType,A_27c: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27b,A_27c)),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,A_27b),tyop_2Emin_2Efun(A_27a,A_27c))) ).
tff(c_2Ebool_2E_21_2E0,type,
c_2Ebool_2E_21_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool) ).
tff(c_2Ebool_2E_21_2E1,type,
c_2Ebool_2E_21_2E1:
!>[A_27a: $tType] : ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool) > tyop_2Emin_2Ebool ) ).
tff(c_2Earithmetic_2E_2D_2E0,type,
c_2Earithmetic_2E_2D_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum)) ).
tff(c_2Earithmetic_2E_2D_2E2,type,
c_2Earithmetic_2E_2D_2E2: ( tyop_2Enum_2Enum * tyop_2Enum_2Enum ) > tyop_2Enum_2Enum ).
tff(c_2Ebool_2E_2F_5C_2E0,type,
c_2Ebool_2E_2F_5C_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)) ).
tff(c_2Ebool_2E_2F_5C_2E2,type,
c_2Ebool_2E_2F_5C_2E2: ( tyop_2Emin_2Ebool * tyop_2Emin_2Ebool ) > tyop_2Emin_2Ebool ).
tff(c_2Enum_2E0_2E0,type,
c_2Enum_2E0_2E0: tyop_2Enum_2Enum ).
tff(c_2Emin_2E_3D_2E0,type,
c_2Emin_2E_3D_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) ).
tff(c_2Emin_2E_3D_2E2,type,
c_2Emin_2E_3D_2E2:
!>[A_27a: $tType] : ( ( A_27a * A_27a ) > tyop_2Emin_2Ebool ) ).
tff(c_2Emin_2E_3D_3D_3E_2E0,type,
c_2Emin_2E_3D_3D_3E_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)) ).
tff(c_2Emin_2E_3D_3D_3E_2E2,type,
c_2Emin_2E_3D_3D_3E_2E2: ( tyop_2Emin_2Ebool * tyop_2Emin_2Ebool ) > tyop_2Emin_2Ebool ).
tff(c_2Ebool_2E_3F_2E0,type,
c_2Ebool_2E_3F_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool) ).
tff(c_2Ebool_2E_3F_2E1,type,
c_2Ebool_2E_3F_2E1:
!>[A_27a: $tType] : ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool) > tyop_2Emin_2Ebool ) ).
tff(c_2Elist_2EAPPEND_2E0,type,
c_2Elist_2EAPPEND_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2EAPPEND_2E2,type,
c_2Elist_2EAPPEND_2E2:
!>[A_27a: $tType] : ( ( tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Earithmetic_2EBIT1_2E0,type,
c_2Earithmetic_2EBIT1_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum) ).
tff(c_2Earithmetic_2EBIT1_2E1,type,
c_2Earithmetic_2EBIT1_2E1: tyop_2Enum_2Enum > tyop_2Enum_2Enum ).
tff(c_2Earithmetic_2EBIT2_2E0,type,
c_2Earithmetic_2EBIT2_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum) ).
tff(c_2Earithmetic_2EBIT2_2E1,type,
c_2Earithmetic_2EBIT2_2E1: tyop_2Enum_2Enum > tyop_2Enum_2Enum ).
tff(c_2Ebool_2ECOND_2E0,type,
c_2Ebool_2ECOND_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,A_27a))) ).
tff(c_2Ebool_2ECOND_2E3,type,
c_2Ebool_2ECOND_2E3:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Ebool * A_27a * A_27a ) > A_27a ) ).
tff(c_2Elist_2ECONS_2E0,type,
c_2Elist_2ECONS_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2ECONS_2E2,type,
c_2Elist_2ECONS_2E2:
!>[A_27a: $tType] : ( ( A_27a * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Earithmetic_2EDIV2_2E0,type,
c_2Earithmetic_2EDIV2_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum) ).
tff(c_2Earithmetic_2EDIV2_2E1,type,
c_2Earithmetic_2EDIV2_2E1: tyop_2Enum_2Enum > tyop_2Enum_2Enum ).
tff(c_2Elist_2EDROP_2E0,type,
c_2Elist_2EDROP_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2EDROP_2E2,type,
c_2Elist_2EDROP_2E2:
!>[A_27a: $tType] : ( ( tyop_2Enum_2Enum * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Ebool_2EF_2E0,type,
c_2Ebool_2EF_2E0: tyop_2Emin_2Ebool ).
tff(c_2Elist_2EFILTER_2E0,type,
c_2Elist_2EFILTER_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2EFILTER_2E2,type,
c_2Elist_2EFILTER_2E2:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Ebool_2EIN_2E0,type,
c_2Ebool_2EIN_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool)) ).
tff(c_2Ebool_2EIN_2E2,type,
c_2Ebool_2EIN_2E2:
!>[A_27a: $tType] : ( ( A_27a * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool) ) > tyop_2Emin_2Ebool ) ).
tff(c_2Elist_2ELENGTH_2E0,type,
c_2Elist_2ELENGTH_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Enum_2Enum) ).
tff(c_2Elist_2ELENGTH_2E1,type,
c_2Elist_2ELENGTH_2E1:
!>[A_27a: $tType] : ( tyop_2Elist_2Elist(A_27a) > tyop_2Enum_2Enum ) ).
tff(c_2Ebool_2ELET_2E0,type,
c_2Ebool_2ELET_2E0:
!>[A_27a: $tType,A_27b: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,A_27b),tyop_2Emin_2Efun(A_27a,A_27b)) ).
tff(c_2Ebool_2ELET_2E2,type,
c_2Ebool_2ELET_2E2:
!>[A_27a: $tType,A_27b: $tType] : ( ( tyop_2Emin_2Efun(A_27a,A_27b) * A_27a ) > A_27b ) ).
tff(c_2Elist_2ELIST__TO__SET_2E0,type,
c_2Elist_2ELIST__TO__SET_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) ).
tff(c_2Elist_2ELIST__TO__SET_2E1,type,
c_2Elist_2ELIST__TO__SET_2E1:
!>[A_27a: $tType] : ( tyop_2Elist_2Elist(A_27a) > tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool) ) ).
tff(c_2Elist_2ENIL_2E0,type,
c_2Elist_2ENIL_2E0:
!>[A_27a: $tType] : tyop_2Elist_2Elist(A_27a) ).
tff(c_2Earithmetic_2ENUMERAL_2E0,type,
c_2Earithmetic_2ENUMERAL_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum) ).
tff(c_2Earithmetic_2ENUMERAL_2E1,type,
c_2Earithmetic_2ENUMERAL_2E1: tyop_2Enum_2Enum > tyop_2Enum_2Enum ).
tff(c_2Esorting_2EPERM_2E0,type,
c_2Esorting_2EPERM_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)) ).
tff(c_2Esorting_2EPERM_2E2,type,
c_2Esorting_2EPERM_2E2:
!>[A_27a: $tType] : ( ( tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Emin_2Ebool ) ).
tff(c_2Elist_2EREV_2E0,type,
c_2Elist_2EREV_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2EREV_2E2,type,
c_2Elist_2EREV_2E2:
!>[A_27a: $tType] : ( ( tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Elist_2EREVERSE_2E0,type,
c_2Elist_2EREVERSE_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)) ).
tff(c_2Elist_2EREVERSE_2E1,type,
c_2Elist_2EREVERSE_2E1:
!>[A_27a: $tType] : ( tyop_2Elist_2Elist(A_27a) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Esorting_2ESORTED_2E0,type,
c_2Esorting_2ESORTED_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)) ).
tff(c_2Esorting_2ESORTED_2E2,type,
c_2Esorting_2ESORTED_2E2:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Emin_2Ebool ) ).
tff(c_2Esorting_2ESTABLE_2E0,type,
c_2Esorting_2ESTABLE_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool)) ).
tff(c_2Esorting_2ESTABLE_2E2,type,
c_2Esorting_2ESTABLE_2E2:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) ) > tyop_2Emin_2Ebool ) ).
tff(c_2Ebool_2ET_2E0,type,
c_2Ebool_2ET_2E0: tyop_2Emin_2Ebool ).
tff(c_2Elist_2ETAKE_2E0,type,
c_2Elist_2ETAKE_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Elist_2ETAKE_2E2,type,
c_2Elist_2ETAKE_2E2:
!>[A_27a: $tType] : ( ( tyop_2Enum_2Enum * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Earithmetic_2EZERO_2E0,type,
c_2Earithmetic_2EZERO_2E0: tyop_2Enum_2Enum ).
tff(c_2Ebool_2E_5C_2F_2E0,type,
c_2Ebool_2E_5C_2F_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)) ).
tff(c_2Ebool_2E_5C_2F_2E2,type,
c_2Ebool_2E_5C_2F_2E2: ( tyop_2Emin_2Ebool * tyop_2Emin_2Ebool ) > tyop_2Emin_2Ebool ).
tff(c_2Elist_2Elist__CASE_2E0,type,
c_2Elist_2Elist__CASE_2E0:
!>[A_27a: $tType,A_27b: $tType] : tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(A_27b,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),A_27b)),A_27b))) ).
tff(c_2Elist_2Elist__CASE_2E3,type,
c_2Elist_2Elist__CASE_2E3:
!>[A_27a: $tType,A_27b: $tType] : ( ( tyop_2Elist_2Elist(A_27a) * A_27b * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),A_27b)) ) > A_27b ) ).
tff(c_2Emergesort_2Emerge_2E0,type,
c_2Emergesort_2Emerge_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))) ).
tff(c_2Emergesort_2Emerge_2E3,type,
c_2Emergesort_2Emerge_2E3:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Emerge__tail_2E0,type,
c_2Emergesort_2Emerge__tail_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))) ).
tff(c_2Emergesort_2Emerge__tail_2E5,type,
c_2Emergesort_2Emerge__tail_2E5:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Ebool * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Emergesort_2E0,type,
c_2Emergesort_2Emergesort_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Emergesort_2Emergesort_2E2,type,
c_2Emergesort_2Emergesort_2E2:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2EmergesortN_2E0,type,
c_2Emergesort_2EmergesortN_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))) ).
tff(c_2Emergesort_2EmergesortN_2E3,type,
c_2Emergesort_2EmergesortN_2E3:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Enum_2Enum * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2EmergesortN__tail_2E0,type,
c_2Emergesort_2EmergesortN__tail_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))) ).
tff(c_2Emergesort_2EmergesortN__tail_2E4,type,
c_2Emergesort_2EmergesortN__tail_2E4:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Ebool * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Enum_2Enum * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Emergesort__tail_2E0,type,
c_2Emergesort_2Emergesort__tail_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))) ).
tff(c_2Emergesort_2Emergesort__tail_2E2,type,
c_2Emergesort_2Emergesort__tail_2E2:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Esort2_2E0,type,
c_2Emergesort_2Esort2_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)))) ).
tff(c_2Emergesort_2Esort2_2E3,type,
c_2Emergesort_2Esort2_2E3:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * A_27a * A_27a ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Esort2__tail_2E0,type,
c_2Emergesort_2Esort2__tail_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))))) ).
tff(c_2Emergesort_2Esort2__tail_2E4,type,
c_2Emergesort_2Esort2__tail_2E4:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Ebool * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * A_27a * A_27a ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Esort3_2E0,type,
c_2Emergesort_2Esort3_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))))) ).
tff(c_2Emergesort_2Esort3_2E4,type,
c_2Emergesort_2Esort3_2E4:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * A_27a * A_27a * A_27a ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Esort3__tail_2E0,type,
c_2Emergesort_2Esort3__tail_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)))))) ).
tff(c_2Emergesort_2Esort3__tail_2E5,type,
c_2Emergesort_2Esort3__tail_2E5:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Ebool * tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * A_27a * A_27a * A_27a ) > tyop_2Elist_2Elist(A_27a) ) ).
tff(c_2Emergesort_2Estable_2E0,type,
c_2Emergesort_2Estable_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))) ).
tff(c_2Emergesort_2Estable_2E3,type,
c_2Emergesort_2Estable_2E3:
!>[A_27a: $tType] : ( ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) * tyop_2Elist_2Elist(A_27a) * tyop_2Elist_2Elist(A_27a) ) > tyop_2Emin_2Ebool ) ).
tff(c_2Erelation_2Etotal_2E0,type,
c_2Erelation_2Etotal_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool) ).
tff(c_2Erelation_2Etotal_2E1,type,
c_2Erelation_2Etotal_2E1:
!>[A_27a: $tType] : ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) > tyop_2Emin_2Ebool ) ).
tff(c_2Erelation_2Etransitive_2E0,type,
c_2Erelation_2Etransitive_2E0:
!>[A_27a: $tType] : tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool) ).
tff(c_2Erelation_2Etransitive_2E1,type,
c_2Erelation_2Etransitive_2E1:
!>[A_27a: $tType] : ( tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)) > tyop_2Emin_2Ebool ) ).
tff(c_2Ebool_2E_7E_2E0,type,
c_2Ebool_2E_7E_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool) ).
tff(c_2Ebool_2E_7E_2E1,type,
c_2Ebool_2E_7E_2E1: tyop_2Emin_2Ebool > tyop_2Emin_2Ebool ).
tff(thm_2Eextra_2Dho_2Eeq__ext,axiom,
! [A_27a: $tType,A_27b: $tType,V0f_2E0: tyop_2Emin_2Efun(A_27a,A_27b),V1g_2E0: tyop_2Emin_2Efun(A_27a,A_27b)] :
( ! [V2x_2E0: A_27a] : ( app_2E2(A_27a,A_27b,V0f_2E0,V2x_2E0) = app_2E2(A_27a,A_27b,V1g_2E0,V2x_2E0) )
=> ( V0f_2E0 = V1g_2E0 ) ) ).
tff(thm_2Eextra_2Dho_2Eboolext,axiom,
! [V0_2E0: tyop_2Emin_2Ebool,V1_2E0: tyop_2Emin_2Ebool] :
( ( p(V0_2E0)
<=> p(V1_2E0) )
=> ( V0_2E0 = V1_2E0 ) ) ).
tff(thm_2Eextra_2Dho_2Etruth,axiom,
p(c_2Ebool_2ET_2E0) ).
tff(thm_2Eextra_2Dho_2Enotfalse,axiom,
~ p(c_2Ebool_2EF_2E0) ).
tff(thm_2Eextra_2Dho_2Ebool__cases__ax,axiom,
! [V0t_2E0: tyop_2Emin_2Ebool] :
( ( V0t_2E0 = c_2Ebool_2ET_2E0 )
| ( V0t_2E0 = c_2Ebool_2EF_2E0 ) ) ).
tff(thm_2Eextra_2Dho_2Ei__thm,axiom,
! [A_27a: $tType,V0x_2E0: A_27a] : ( app_2E2(A_27a,A_27a,combin_i_2E0(A_27a),V0x_2E0) = V0x_2E0 ) ).
tff(thm_2Eextra_2Dho_2Ek__thm,axiom,
! [A_27a: $tType,A_27b: $tType,V0x_2E0: A_27a,V1y_2E0: A_27b] : ( app_2E2(A_27b,A_27a,app_2E2(A_27a,tyop_2Emin_2Efun(A_27b,A_27a),combin_k_2E0(A_27a,A_27b),V0x_2E0),V1y_2E0) = V0x_2E0 ) ).
tff(thm_2Eextra_2Dho_2Es__thm,axiom,
! [A_27a: $tType,A_27b: $tType,A_27c: $tType,V0f_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27b,A_27c)),V1g_2E0: tyop_2Emin_2Efun(A_27a,A_27b),V2x_2E0: A_27a] : ( app_2E2(A_27a,A_27c,app_2E2(tyop_2Emin_2Efun(A_27a,A_27b),tyop_2Emin_2Efun(A_27a,A_27c),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27b,A_27c)),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,A_27b),tyop_2Emin_2Efun(A_27a,A_27c)),combin_s_2E0(A_27a,A_27b,A_27c),V0f_2E0),V1g_2E0),V2x_2E0) = app_2E2(A_27b,A_27c,app_2E2(A_27a,tyop_2Emin_2Efun(A_27b,A_27c),V0f_2E0,V2x_2E0),app_2E2(A_27a,A_27b,V1g_2E0,V2x_2E0)) ) ).
tff(logicdef_2E_2F_5C,axiom,
! [V0_2E0: tyop_2Emin_2Ebool,V1_2E0: tyop_2Emin_2Ebool] :
( p(c_2Ebool_2E_2F_5C_2E2(V0_2E0,V1_2E0))
<=> ( p(V0_2E0)
& p(V1_2E0) ) ) ).
tff(logicdef_2E_5C_2F,axiom,
! [V0_2E0: tyop_2Emin_2Ebool,V1_2E0: tyop_2Emin_2Ebool] :
( p(c_2Ebool_2E_5C_2F_2E2(V0_2E0,V1_2E0))
<=> ( p(V0_2E0)
| p(V1_2E0) ) ) ).
tff(logicdef_2E_7E,axiom,
! [V0_2E0: tyop_2Emin_2Ebool] :
( p(c_2Ebool_2E_7E_2E1(V0_2E0))
<=> ~ p(V0_2E0) ) ).
tff(logicdef_2E_3D_3D_3E,axiom,
! [V0_2E0: tyop_2Emin_2Ebool,V1_2E0: tyop_2Emin_2Ebool] :
( p(c_2Emin_2E_3D_3D_3E_2E2(V0_2E0,V1_2E0))
<=> ( p(V0_2E0)
=> p(V1_2E0) ) ) ).
tff(logicdef_2E_3D,axiom,
! [A_27a: $tType,V0_2E0: A_27a,V1_2E0: A_27a] :
( p(c_2Emin_2E_3D_2E2(A_27a,V0_2E0,V1_2E0))
<=> ( V0_2E0 = V1_2E0 ) ) ).
tff(quantdef_2E_21,axiom,
! [A_27a: $tType,V0f_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] :
( p(c_2Ebool_2E_21_2E1(A_27a,V0f_2E0))
<=> ! [V1x_2E0: A_27a] : p(app_2E2(A_27a,tyop_2Emin_2Ebool,V0f_2E0,V1x_2E0)) ) ).
tff(quantdef_2E_3F,axiom,
! [A_27a: $tType,V0f_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] :
( p(c_2Ebool_2E_3F_2E1(A_27a,V0f_2E0))
<=> ? [V1x_2E0: A_27a] : p(app_2E2(A_27a,tyop_2Emin_2Ebool,V0f_2E0,V1x_2E0)) ) ).
tff(arityeq1_2Ec_2Ebool_2E_21_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] : ( c_2Ebool_2E_21_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool,c_2Ebool_2E_21_2E0(A_27a),X0_2E0) ) ).
tff(arityeq2_2Ec_2Earithmetic_2E_2D_2E2,axiom,
! [X0_2E0: tyop_2Enum_2Enum,X1_2E0: tyop_2Enum_2Enum] : ( c_2Earithmetic_2E_2D_2E2(X0_2E0,X1_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Enum_2Enum,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Enum_2Enum),c_2Earithmetic_2E_2D_2E0,X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Ebool_2E_2F_5C_2E2,axiom,
! [X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Ebool] :
( ( p(X0_2E0)
& p(X1_2E0) )
<=> p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),c_2Ebool_2E_2F_5C_2E0,X0_2E0),X1_2E0)) ) ).
tff(arityeq2_2Ec_2Emin_2E_3D_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: A_27a,X1_2E0: A_27a] :
( ( X0_2E0 = X1_2E0 )
<=> p(app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),c_2Emin_2E_3D_2E0(A_27a),X0_2E0),X1_2E0)) ) ).
tff(arityeq2_2Ec_2Emin_2E_3D_3D_3E_2E2,axiom,
! [X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Ebool] :
( ( p(X0_2E0)
=> p(X1_2E0) )
<=> p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),c_2Emin_2E_3D_3D_3E_2E0,X0_2E0),X1_2E0)) ) ).
tff(arityeq1_2Ec_2Ebool_2E_3F_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] : ( c_2Ebool_2E_3F_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool,c_2Ebool_2E_3F_2E0(A_27a),X0_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2EAPPEND_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2EAPPEND_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2EAPPEND_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq1_2Ec_2Earithmetic_2EBIT1_2E1,axiom,
! [X0_2E0: tyop_2Enum_2Enum] : ( c_2Earithmetic_2EBIT1_2E1(X0_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Enum_2Enum,c_2Earithmetic_2EBIT1_2E0,X0_2E0) ) ).
tff(arityeq1_2Ec_2Earithmetic_2EBIT2_2E1,axiom,
! [X0_2E0: tyop_2Enum_2Enum] : ( c_2Earithmetic_2EBIT2_2E1(X0_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Enum_2Enum,c_2Earithmetic_2EBIT2_2E0,X0_2E0) ) ).
tff(arityeq3_2Ec_2Ebool_2ECOND_2E3_2Emono_2Etyop_2Elist_2Elist_28A_27a_29,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Elist_2Elist(A_27a),X2_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),X0_2E0,X1_2E0,X2_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),c_2Ebool_2ECOND_2E0(tyop_2Elist_2Elist(A_27a)),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2ECONS_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: A_27a,X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2ECONS_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2ECONS_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq1_2Ec_2Earithmetic_2EDIV2_2E1,axiom,
! [X0_2E0: tyop_2Enum_2Enum] : ( c_2Earithmetic_2EDIV2_2E1(X0_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Enum_2Enum,c_2Earithmetic_2EDIV2_2E0,X0_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2EDROP_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Enum_2Enum,X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2EDROP_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2EDROP_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2EFILTER_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2EFILTER_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2EFILTER_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Ebool_2EIN_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: A_27a,X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] : ( c_2Ebool_2EIN_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),tyop_2Emin_2Ebool),c_2Ebool_2EIN_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq1_2Ec_2Elist_2ELENGTH_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2ELENGTH_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Enum_2Enum,c_2Elist_2ELENGTH_2E0(A_27a),X0_2E0) ) ).
tff(arityeq2_2Ec_2Ebool_2ELET_2E2_2Emono_2Etyop_2Emin_2Ebool_20mono_2Etyop_2Elist_2Elist_28A_27a_29,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),X1_2E0: tyop_2Emin_2Ebool] : ( c_2Ebool_2ELET_2E2(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a),X0_2E0,X1_2E0) = app_2E2(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),c_2Ebool_2ELET_2E0(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Ebool_2ELET_2E2_2Emono_2Etyop_2Enum_2Enum_20mono_2Etyop_2Elist_2Elist_28A_27a_29,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),X1_2E0: tyop_2Enum_2Enum] : ( c_2Ebool_2ELET_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),X0_2E0,X1_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),c_2Ebool_2ELET_2E0(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),X0_2E0),X1_2E0) ) ).
tff(arityeq1_2Ec_2Elist_2ELIST__TO__SET_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2ELIST__TO__SET_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),c_2Elist_2ELIST__TO__SET_2E0(A_27a),X0_2E0) ) ).
tff(arityeq1_2Ec_2Earithmetic_2ENUMERAL_2E1,axiom,
! [X0_2E0: tyop_2Enum_2Enum] : ( c_2Earithmetic_2ENUMERAL_2E1(X0_2E0) = app_2E2(tyop_2Enum_2Enum,tyop_2Enum_2Enum,c_2Earithmetic_2ENUMERAL_2E0,X0_2E0) ) ).
tff(arityeq2_2Ec_2Esorting_2EPERM_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Esorting_2EPERM_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),c_2Esorting_2EPERM_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2EREV_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2EREV_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2EREV_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq1_2Ec_2Elist_2EREVERSE_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2EREVERSE_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),c_2Elist_2EREVERSE_2E0(A_27a),X0_2E0) ) ).
tff(arityeq2_2Ec_2Esorting_2ESORTED_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Esorting_2ESORTED_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),c_2Esorting_2ESORTED_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Esorting_2ESTABLE_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Esorting_2ESTABLE_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool,app_2E2(tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool),c_2Esorting_2ESTABLE_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Elist_2ETAKE_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Enum_2Enum,X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Elist_2ETAKE_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Elist_2ETAKE_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq2_2Ec_2Ebool_2E_5C_2F_2E2,axiom,
! [X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Ebool] :
( ( p(X0_2E0)
| p(X1_2E0) )
<=> p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),c_2Ebool_2E_5C_2F_2E0,X0_2E0),X1_2E0)) ) ).
tff(arityeq3_2Ec_2Elist_2Elist__CASE_2E3_2Emono_2EA_27a_20mono_2Etyop_2Elist_2Elist_28A_27a_29,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Elist_2Elist(A_27a),X1_2E0: tyop_2Elist_2Elist(A_27a),X2_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))] : ( c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),X0_2E0,X1_2E0,X2_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),tyop_2Elist_2Elist(A_27a))),c_2Elist_2Elist__CASE_2E0(A_27a,tyop_2Elist_2Elist(A_27a)),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq3_2Ec_2Emergesort_2Emerge_2E3_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Elist_2Elist(A_27a),X2_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emerge_2E3(A_27a,X0_2E0,X1_2E0,X2_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),c_2Emergesort_2Emerge_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq5_2Ec_2Emergesort_2Emerge__tail_2E5_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X2_2E0: tyop_2Elist_2Elist(A_27a),X3_2E0: tyop_2Elist_2Elist(A_27a),X4_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emerge__tail_2E5(A_27a,X0_2E0,X1_2E0,X2_2E0,X3_2E0,X4_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),c_2Emergesort_2Emerge__tail_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0),X3_2E0),X4_2E0) ) ).
tff(arityeq2_2Ec_2Emergesort_2Emergesort_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emergesort_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Emergesort_2Emergesort_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq3_2Ec_2Emergesort_2EmergesortN_2E3_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Enum_2Enum,X2_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,X0_2E0,X1_2E0,X2_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),c_2Emergesort_2EmergesortN_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq4_2Ec_2Emergesort_2EmergesortN__tail_2E4_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X2_2E0: tyop_2Enum_2Enum,X3_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,X0_2E0,X1_2E0,X2_2E0,X3_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),c_2Emergesort_2EmergesortN__tail_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0),X3_2E0) ) ).
tff(arityeq2_2Ec_2Emergesort_2Emergesort__tail_2E2_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emergesort__tail_2E2(A_27a,X0_2E0,X1_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),c_2Emergesort_2Emergesort__tail_2E0(A_27a),X0_2E0),X1_2E0) ) ).
tff(arityeq3_2Ec_2Emergesort_2Esort2_2E3_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: A_27a,X2_2E0: A_27a] : ( c_2Emergesort_2Esort2_2E3(A_27a,X0_2E0,X1_2E0,X2_2E0) = app_2E2(A_27a,tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))),c_2Emergesort_2Esort2_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq4_2Ec_2Emergesort_2Esort2__tail_2E4_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X2_2E0: A_27a,X3_2E0: A_27a] : ( c_2Emergesort_2Esort2__tail_2E4(A_27a,X0_2E0,X1_2E0,X2_2E0,X3_2E0) = app_2E2(A_27a,tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)))),c_2Emergesort_2Esort2__tail_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0),X3_2E0) ) ).
tff(arityeq4_2Ec_2Emergesort_2Esort3_2E4_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: A_27a,X2_2E0: A_27a,X3_2E0: A_27a] : ( c_2Emergesort_2Esort3_2E4(A_27a,X0_2E0,X1_2E0,X2_2E0,X3_2E0) = app_2E2(A_27a,tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)))),c_2Emergesort_2Esort3_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0),X3_2E0) ) ).
tff(arityeq5_2Ec_2Emergesort_2Esort3__tail_2E5_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Ebool,X1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X2_2E0: A_27a,X3_2E0: A_27a,X4_2E0: A_27a] : ( c_2Emergesort_2Esort3__tail_2E5(A_27a,X0_2E0,X1_2E0,X2_2E0,X3_2E0,X4_2E0) = app_2E2(A_27a,tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Elist_2Elist(A_27a))))),c_2Emergesort_2Esort3__tail_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0),X3_2E0),X4_2E0) ) ).
tff(arityeq3_2Ec_2Emergesort_2Estable_2E3_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),X1_2E0: tyop_2Elist_2Elist(A_27a),X2_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Estable_2E3(A_27a,X0_2E0,X1_2E0,X2_2E0) = app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),c_2Emergesort_2Estable_2E0(A_27a),X0_2E0),X1_2E0),X2_2E0) ) ).
tff(arityeq1_2Ec_2Erelation_2Etotal_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Erelation_2Etotal_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool,c_2Erelation_2Etotal_2E0(A_27a),X0_2E0) ) ).
tff(arityeq1_2Ec_2Erelation_2Etransitive_2E1_2Emono_2EA_27a,axiom,
! [A_27a: $tType,X0_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Erelation_2Etransitive_2E1(A_27a,X0_2E0) = app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Ebool,c_2Erelation_2Etransitive_2E0(A_27a),X0_2E0) ) ).
tff(arityeq1_2Ec_2Ebool_2E_7E_2E1,axiom,
! [X0_2E0: tyop_2Emin_2Ebool] :
( ~ p(X0_2E0)
<=> p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,c_2Ebool_2E_7E_2E0,X0_2E0)) ) ).
tff(thm_2Emergesort_2Estable__def,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a)] :
( p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))
<=> ! [V3p_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)] :
( ! [V4x_2E0: A_27a,V5y_2E0: A_27a] :
( ( p(app_2E2(A_27a,tyop_2Emin_2Ebool,V3p_2E0,V4x_2E0))
& p(app_2E2(A_27a,tyop_2Emin_2Ebool,V3p_2E0,V5y_2E0)) )
=> p(app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V4x_2E0),V5y_2E0)) )
=> ( c_2Elist_2EFILTER_2E2(A_27a,V3p_2E0,V1l1_2E0) = c_2Elist_2EFILTER_2E2(A_27a,V3p_2E0,V2l2_2E0) ) ) ) ).
tff(thm_2Emergesort_2Esort2__def,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a] : ( c_2Emergesort_2Esort2_2E3(A_27a,V0R_2E0,V1x_2E0,V2y_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V1x_2E0),V2y_2E0),c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ENIL_2E0(A_27a))),c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ENIL_2E0(A_27a)))) ) ).
tff(thm_2Emergesort_2Esort3__def,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a,V3z_2E0: A_27a] : ( c_2Emergesort_2Esort3_2E4(A_27a,V0R_2E0,V1x_2E0,V2y_2E0,V3z_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V1x_2E0),V2y_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V2y_2E0),V3z_2E0),c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V1x_2E0),V3z_2E0),c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ENIL_2E0(A_27a)))))),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V2y_2E0),V3z_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V0R_2E0,V1x_2E0),V3z_2E0),c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ENIL_2E0(A_27a))))),c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ENIL_2E0(A_27a)))))) ) ).
tff(thm_2Emergesort_2Emergesort__def,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1l_2E0) = c_2Emergesort_2EmergesortN_2E3(A_27a,V0R_2E0,c_2Elist_2ELENGTH_2E1(A_27a,V1l_2E0),V1l_2E0) ) ).
tff(thm_2Emergesort_2Esort2__tail__def,axiom,
! [A_27a: $tType,F0_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))))] :
( ! [V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a,V0neg_2E0: tyop_2Emin_2Ebool] :
( p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V3y_2E0),V0neg_2E0))
<=> ( app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V1R_2E0,V2x_2E0),V3y_2E0) != V0neg_2E0 ) )
=> ! [V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a] : ( c_2Emergesort_2Esort2__tail_2E4(A_27a,V0neg_2E0,V1R_2E0,V2x_2E0,V3y_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V3y_2E0),V0neg_2E0),c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ENIL_2E0(A_27a))),c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ENIL_2E0(A_27a)))) ) ) ).
tff(thm_2Emergesort_2Esort3__tail__def,axiom,
! [A_27a: $tType,F0_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))))] :
( ! [V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a,V0neg_2E0: tyop_2Emin_2Ebool] :
( p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V3y_2E0),V0neg_2E0))
<=> ( app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V1R_2E0,V2x_2E0),V3y_2E0) != V0neg_2E0 ) )
=> ! [V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a,V4z_2E0: A_27a] : ( c_2Emergesort_2Esort3__tail_2E5(A_27a,V0neg_2E0,V1R_2E0,V2x_2E0,V3y_2E0,V4z_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V3y_2E0),V0neg_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V3y_2E0),V4z_2E0),V0neg_2E0),c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V4z_2E0),V0neg_2E0),c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ENIL_2E0(A_27a)))))),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V3y_2E0),V4z_2E0),V0neg_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V1R_2E0),V2x_2E0),V4z_2E0),V0neg_2E0),c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ENIL_2E0(A_27a))))),c_2Elist_2ECONS_2E2(A_27a,V4z_2E0,c_2Elist_2ECONS_2E2(A_27a,V3y_2E0,c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ENIL_2E0(A_27a)))))) ) ) ).
tff(thm_2Emergesort_2Emergesort__tail__def,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] : ( c_2Emergesort_2Emergesort__tail_2E2(A_27a,V0R_2E0,V1l_2E0) = c_2Emergesort_2EmergesortN__tail_2E4(A_27a,c_2Ebool_2EF_2E0,V0R_2E0,c_2Elist_2ELENGTH_2E1(A_27a,V1l_2E0),V1l_2E0) ) ).
tff(thm_2Emergesort_2Emerge__ind,axiom,
! [A_27a: $tType,V0P_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))] :
( ( ! [V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V1R_2E0),c_2Elist_2ENIL_2E0(A_27a)),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V2R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V3v8_2E0: A_27a,V4v9_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V2R_2E0),c_2Elist_2ECONS_2E2(A_27a,V3v8_2E0,V4v9_2E0)),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V5R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V6v4_2E0: A_27a,V7v5_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V5R_2E0),c_2Elist_2ENIL_2E0(A_27a)),c_2Elist_2ECONS_2E2(A_27a,V6v4_2E0,V7v5_2E0)))
& ! [V8R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V9x_2E0: A_27a,V10l1_2E0: tyop_2Elist_2Elist(A_27a),V11y_2E0: A_27a,V12l2_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( ( ~ p(app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V8R_2E0,V9x_2E0),V11y_2E0))
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V8R_2E0),c_2Elist_2ECONS_2E2(A_27a,V9x_2E0,V10l1_2E0)),V12l2_2E0)) )
& ( p(app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V8R_2E0,V9x_2E0),V11y_2E0))
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V8R_2E0),V10l1_2E0),c_2Elist_2ECONS_2E2(A_27a,V11y_2E0,V12l2_2E0))) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V8R_2E0),c_2Elist_2ECONS_2E2(A_27a,V9x_2E0,V10l1_2E0)),c_2Elist_2ECONS_2E2(A_27a,V11y_2E0,V12l2_2E0))) ) )
=> ! [V13v_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V14v1_2E0: tyop_2Elist_2Elist(A_27a),V15v2_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V13v_2E0),V14v1_2E0),V15v2_2E0)) ) ).
tff(thm_2Emergesort_2Emerge__def,axiom,
! [A_27a: $tType] :
( ! [V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,c_2Elist_2ENIL_2E0(A_27a),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V1v9_2E0: tyop_2Elist_2Elist(A_27a),V2v8_2E0: A_27a,V3R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge_2E3(A_27a,V3R_2E0,c_2Elist_2ECONS_2E2(A_27a,V2v8_2E0,V1v9_2E0),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ECONS_2E2(A_27a,V2v8_2E0,V1v9_2E0) )
& ! [V4v5_2E0: tyop_2Elist_2Elist(A_27a),V5v4_2E0: A_27a,V6R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge_2E3(A_27a,V6R_2E0,c_2Elist_2ENIL_2E0(A_27a),c_2Elist_2ECONS_2E2(A_27a,V5v4_2E0,V4v5_2E0)) = c_2Elist_2ECONS_2E2(A_27a,V5v4_2E0,V4v5_2E0) )
& ! [V7y_2E0: A_27a,V8x_2E0: A_27a,V9l2_2E0: tyop_2Elist_2Elist(A_27a),V10l1_2E0: tyop_2Elist_2Elist(A_27a),V11R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge_2E3(A_27a,V11R_2E0,c_2Elist_2ECONS_2E2(A_27a,V8x_2E0,V10l1_2E0),c_2Elist_2ECONS_2E2(A_27a,V7y_2E0,V9l2_2E0)) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V11R_2E0,V8x_2E0),V7y_2E0),c_2Elist_2ECONS_2E2(A_27a,V8x_2E0,c_2Emergesort_2Emerge_2E3(A_27a,V11R_2E0,V10l1_2E0,c_2Elist_2ECONS_2E2(A_27a,V7y_2E0,V9l2_2E0))),c_2Elist_2ECONS_2E2(A_27a,V7y_2E0,c_2Emergesort_2Emerge_2E3(A_27a,V11R_2E0,c_2Elist_2ECONS_2E2(A_27a,V8x_2E0,V10l1_2E0),V9l2_2E0))) ) ) ).
tff(thm_2Emergesort_2EmergesortN__ind,axiom,
! [A_27a: $tType,V0P_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))] :
( ( ! [V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V1R_2E0),c_2Enum_2E0_2E0),V2l_2E0))
& ! [V3R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V4x_2E0: A_27a,V5l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V3R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V4x_2E0,V5l_2E0)))
& ! [V6R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V6R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V7R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V8x_2E0: A_27a,V9y_2E0: A_27a,V10l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V7R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V8x_2E0,c_2Elist_2ECONS_2E2(A_27a,V9y_2E0,V10l_2E0))))
& ! [V11R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V12x_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V11R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V12x_2E0,c_2Elist_2ENIL_2E0(A_27a))))
& ! [V13R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V13R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V14R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V15x_2E0: A_27a,V16y_2E0: A_27a,V17z_2E0: A_27a,V18l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V14R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V15x_2E0,c_2Elist_2ECONS_2E2(A_27a,V16y_2E0,c_2Elist_2ECONS_2E2(A_27a,V17z_2E0,V18l_2E0)))))
& ! [V19R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V20x_2E0: A_27a,V21y_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V19R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V20x_2E0,c_2Elist_2ECONS_2E2(A_27a,V21y_2E0,c_2Elist_2ENIL_2E0(A_27a)))))
& ! [V22R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V23x_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V22R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V23x_2E0,c_2Elist_2ENIL_2E0(A_27a))))
& ! [V24R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V24R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V25R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V26v4_2E0: tyop_2Enum_2Enum,V27l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( ! [V28len1_2E0: tyop_2Enum_2Enum] :
( ( ( V26v4_2E0 != c_2Enum_2E0_2E0 )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) )
& ( V28len1_2E0 = c_2Earithmetic_2EDIV2_2E1(V26v4_2E0) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V25R_2E0),c_2Earithmetic_2EDIV2_2E1(V26v4_2E0)),V27l_2E0)) )
& ! [V29len1_2E0: tyop_2Enum_2Enum] :
( ( ( V26v4_2E0 != c_2Enum_2E0_2E0 )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V26v4_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) )
& ( V29len1_2E0 = c_2Earithmetic_2EDIV2_2E1(V26v4_2E0) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V25R_2E0),c_2Earithmetic_2E_2D_2E2(V26v4_2E0,V29len1_2E0)),c_2Elist_2EDROP_2E2(A_27a,V29len1_2E0,V27l_2E0))) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V25R_2E0),V26v4_2E0),V27l_2E0)) ) )
=> ! [V30v_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V31v1_2E0: tyop_2Enum_2Enum,V32v2_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),V0P_2E0,V30v_2E0),V31v1_2E0),V32v2_2E0)) ) ).
tff(thm_2Emergesort_2EmergesortN__def,axiom,
! [A_27a: $tType,F3_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F5_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F1_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F0_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F7_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))))),F10_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F4_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F9_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))),F8_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F6_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F2_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))] :
( ! [V24v4_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F3_2E0,V24v4_2E0))
<=> ( V24v4_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) ) )
=> ( ! [V24v4_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F5_2E0,V24v4_2E0))
<=> ( V24v4_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) ) )
=> ( ! [V24v4_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F1_2E0,V24v4_2E0))
<=> ( V24v4_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) ) )
=> ( ! [V24v4_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F0_2E0,V24v4_2E0))
<=> ( V24v4_2E0 = c_2Enum_2E0_2E0 ) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V24v4_2E0: tyop_2Enum_2Enum,V25l_2E0: tyop_2Elist_2Elist(A_27a),V39len1_2E0: tyop_2Enum_2Enum] : ( app_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)))),F7_2E0,V26R_2E0),V24v4_2E0),V25l_2E0),V39len1_2E0) = c_2Emergesort_2Emerge_2E3(A_27a,V26R_2E0,c_2Emergesort_2EmergesortN_2E3(A_27a,V26R_2E0,c_2Earithmetic_2EDIV2_2E1(V24v4_2E0),V25l_2E0),c_2Emergesort_2EmergesortN_2E3(A_27a,V26R_2E0,c_2Earithmetic_2E_2D_2E2(V24v4_2E0,V39len1_2E0),c_2Elist_2EDROP_2E2(A_27a,V39len1_2E0,V25l_2E0))) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V29x_27_2E0: A_27a,V31y_2E0: A_27a,V32l_27_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F10_2E0,V26R_2E0),V29x_27_2E0),V31y_2E0),V32l_27_27_2E0) = c_2Emergesort_2Esort2_2E3(A_27a,V26R_2E0,V29x_27_2E0,V31y_2E0) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V29x_27_2E0: A_27a,V30v17_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),F4_2E0,V26R_2E0),V29x_27_2E0),V30v17_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V30v17_2E0,c_2Elist_2ECONS_2E2(A_27a,V29x_27_2E0,c_2Elist_2ENIL_2E0(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F10_2E0,V26R_2E0),V29x_27_2E0)) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V33x_27_27_2E0: A_27a,V35y_27_2E0: A_27a,V37z_2E0: A_27a,V38l_27_27_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F9_2E0,V26R_2E0),V33x_27_27_2E0),V35y_27_2E0),V37z_2E0),V38l_27_27_27_2E0) = c_2Emergesort_2Esort3_2E4(A_27a,V26R_2E0,V33x_27_27_2E0,V35y_27_2E0,V37z_2E0) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V33x_27_27_2E0: A_27a,V35y_27_2E0: A_27a,V36v29_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F8_2E0,V26R_2E0),V33x_27_27_2E0),V35y_27_2E0),V36v29_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V36v29_2E0,c_2Emergesort_2Esort2_2E3(A_27a,V26R_2E0,V33x_27_27_2E0,V35y_27_2E0),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F9_2E0,V26R_2E0),V33x_27_27_2E0),V35y_27_2E0)) )
=> ( ! [V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V33x_27_27_2E0: A_27a,V34v25_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),F6_2E0,V26R_2E0),V33x_27_27_2E0),V34v25_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V34v25_2E0,c_2Elist_2ECONS_2E2(A_27a,V33x_27_27_2E0,c_2Elist_2ENIL_2E0(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F8_2E0,V26R_2E0),V33x_27_27_2E0)) )
=> ( ! [V27x_2E0: A_27a,V28l_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),F2_2E0,V27x_2E0),V28l_27_2E0) = c_2Elist_2ECONS_2E2(A_27a,V27x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
=> ( ! [V0l_2E0: tyop_2Elist_2Elist(A_27a),V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V1R_2E0,c_2Enum_2E0_2E0,V0l_2E0) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V2x_2E0: A_27a,V3l_2E0: tyop_2Elist_2Elist(A_27a),V4R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V4R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,V3l_2E0)) = c_2Elist_2ECONS_2E2(A_27a,V2x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V5R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V5R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V6y_2E0: A_27a,V7x_2E0: A_27a,V8l_2E0: tyop_2Elist_2Elist(A_27a),V9R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V9R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V7x_2E0,c_2Elist_2ECONS_2E2(A_27a,V6y_2E0,V8l_2E0))) = c_2Emergesort_2Esort2_2E3(A_27a,V9R_2E0,V7x_2E0,V6y_2E0) )
& ! [V10x_2E0: A_27a,V11R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V11R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V10x_2E0,c_2Elist_2ENIL_2E0(A_27a))) = c_2Elist_2ECONS_2E2(A_27a,V10x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V12R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V12R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V13z_2E0: A_27a,V14y_2E0: A_27a,V15x_2E0: A_27a,V16l_2E0: tyop_2Elist_2Elist(A_27a),V17R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V17R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V15x_2E0,c_2Elist_2ECONS_2E2(A_27a,V14y_2E0,c_2Elist_2ECONS_2E2(A_27a,V13z_2E0,V16l_2E0)))) = c_2Emergesort_2Esort3_2E4(A_27a,V17R_2E0,V15x_2E0,V14y_2E0,V13z_2E0) )
& ! [V18y_2E0: A_27a,V19x_2E0: A_27a,V20R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V20R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V19x_2E0,c_2Elist_2ECONS_2E2(A_27a,V18y_2E0,c_2Elist_2ENIL_2E0(A_27a)))) = c_2Emergesort_2Esort2_2E3(A_27a,V20R_2E0,V19x_2E0,V18y_2E0) )
& ! [V21x_2E0: A_27a,V22R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V22R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V21x_2E0,c_2Elist_2ENIL_2E0(A_27a))) = c_2Elist_2ECONS_2E2(A_27a,V21x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V23R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V23R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V24v4_2E0: tyop_2Enum_2Enum,V25l_2E0: tyop_2Elist_2Elist(A_27a),V26R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN_2E3(A_27a,V26R_2E0,V24v4_2E0,V25l_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F0_2E0,V24v4_2E0),c_2Elist_2ENIL_2E0(A_27a),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F1_2E0,V24v4_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V25l_2E0,c_2Elist_2ENIL_2E0(A_27a),F2_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F3_2E0,V24v4_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V25l_2E0,c_2Elist_2ENIL_2E0(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),F4_2E0,V26R_2E0)),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F5_2E0,V24v4_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V25l_2E0,c_2Elist_2ENIL_2E0(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),F6_2E0,V26R_2E0)),c_2Ebool_2ELET_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)))),F7_2E0,V26R_2E0),V24v4_2E0),V25l_2E0),c_2Earithmetic_2EDIV2_2E1(V24v4_2E0)))))) ) ) ) ) ) ) ) ) ) ) ) ) ) ).
tff(thm_2Emergesort_2Emerge__tail__ind,axiom,
! [A_27a: $tType,V0P_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))))] :
( ( ! [V1negate_2E0: tyop_2Emin_2Ebool,V2R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V3acc_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V1negate_2E0),V2R_2E0),c_2Elist_2ENIL_2E0(A_27a)),c_2Elist_2ENIL_2E0(A_27a)),V3acc_2E0))
& ! [V4negate_2E0: tyop_2Emin_2Ebool,V5R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V6v12_2E0: A_27a,V7v13_2E0: tyop_2Elist_2Elist(A_27a),V8acc_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V4negate_2E0),V5R_2E0),c_2Elist_2ECONS_2E2(A_27a,V6v12_2E0,V7v13_2E0)),c_2Elist_2ENIL_2E0(A_27a)),V8acc_2E0))
& ! [V9negate_2E0: tyop_2Emin_2Ebool,V10R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V11v8_2E0: A_27a,V12v9_2E0: tyop_2Elist_2Elist(A_27a),V13acc_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V9negate_2E0),V10R_2E0),c_2Elist_2ENIL_2E0(A_27a)),c_2Elist_2ECONS_2E2(A_27a,V11v8_2E0,V12v9_2E0)),V13acc_2E0))
& ! [V14negate_2E0: tyop_2Emin_2Ebool,V15R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V16x_2E0: A_27a,V17l1_2E0: tyop_2Elist_2Elist(A_27a),V18y_2E0: A_27a,V19l2_2E0: tyop_2Elist_2Elist(A_27a),V20acc_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( ( ~ ( ( app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V15R_2E0,V16x_2E0),V18y_2E0) != V14negate_2E0 ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V14negate_2E0),V15R_2E0),c_2Elist_2ECONS_2E2(A_27a,V16x_2E0,V17l1_2E0)),V19l2_2E0),c_2Elist_2ECONS_2E2(A_27a,V18y_2E0,V20acc_2E0))) )
& ( ( app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V15R_2E0,V16x_2E0),V18y_2E0) != V14negate_2E0 )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V14negate_2E0),V15R_2E0),V17l1_2E0),c_2Elist_2ECONS_2E2(A_27a,V18y_2E0,V19l2_2E0)),c_2Elist_2ECONS_2E2(A_27a,V16x_2E0,V20acc_2E0))) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V14negate_2E0),V15R_2E0),c_2Elist_2ECONS_2E2(A_27a,V16x_2E0,V17l1_2E0)),c_2Elist_2ECONS_2E2(A_27a,V18y_2E0,V19l2_2E0)),V20acc_2E0)) ) )
=> ! [V21v_2E0: tyop_2Emin_2Ebool,V22v1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V23v2_2E0: tyop_2Elist_2Elist(A_27a),V24v3_2E0: tyop_2Elist_2Elist(A_27a),V25v4_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)))),V0P_2E0,V21v_2E0),V22v1_2E0),V23v2_2E0),V24v3_2E0),V25v4_2E0)) ) ).
tff(thm_2Emergesort_2Emerge__tail__def,axiom,
! [A_27a: $tType,F0_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))))] :
( ! [V19R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V14x_2E0: A_27a,V13y_2E0: A_27a,V15negate_2E0: tyop_2Emin_2Ebool] :
( p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V19R_2E0),V14x_2E0),V13y_2E0),V15negate_2E0))
<=> ( app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V19R_2E0,V14x_2E0),V13y_2E0) != V15negate_2E0 ) )
=> ( ! [V0negate_2E0: tyop_2Emin_2Ebool,V1acc_2E0: tyop_2Elist_2Elist(A_27a),V2R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V0negate_2E0,V2R_2E0,c_2Elist_2ENIL_2E0(A_27a),c_2Elist_2ENIL_2E0(A_27a),V1acc_2E0) = V1acc_2E0 )
& ! [V3v13_2E0: tyop_2Elist_2Elist(A_27a),V4v12_2E0: A_27a,V5negate_2E0: tyop_2Emin_2Ebool,V6acc_2E0: tyop_2Elist_2Elist(A_27a),V7R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V5negate_2E0,V7R_2E0,c_2Elist_2ECONS_2E2(A_27a,V4v12_2E0,V3v13_2E0),c_2Elist_2ENIL_2E0(A_27a),V6acc_2E0) = c_2Elist_2EREV_2E2(A_27a,c_2Elist_2ECONS_2E2(A_27a,V4v12_2E0,V3v13_2E0),V6acc_2E0) )
& ! [V8v9_2E0: tyop_2Elist_2Elist(A_27a),V9v8_2E0: A_27a,V10negate_2E0: tyop_2Emin_2Ebool,V11acc_2E0: tyop_2Elist_2Elist(A_27a),V12R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V10negate_2E0,V12R_2E0,c_2Elist_2ENIL_2E0(A_27a),c_2Elist_2ECONS_2E2(A_27a,V9v8_2E0,V8v9_2E0),V11acc_2E0) = c_2Elist_2EREV_2E2(A_27a,c_2Elist_2ECONS_2E2(A_27a,V9v8_2E0,V8v9_2E0),V11acc_2E0) )
& ! [V13y_2E0: A_27a,V14x_2E0: A_27a,V15negate_2E0: tyop_2Emin_2Ebool,V16l2_2E0: tyop_2Elist_2Elist(A_27a),V17l1_2E0: tyop_2Elist_2Elist(A_27a),V18acc_2E0: tyop_2Elist_2Elist(A_27a),V19R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V15negate_2E0,V19R_2E0,c_2Elist_2ECONS_2E2(A_27a,V14x_2E0,V17l1_2E0),c_2Elist_2ECONS_2E2(A_27a,V13y_2E0,V16l2_2E0),V18acc_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool))),F0_2E0,V19R_2E0),V14x_2E0),V13y_2E0),V15negate_2E0),c_2Emergesort_2Emerge__tail_2E5(A_27a,V15negate_2E0,V19R_2E0,V17l1_2E0,c_2Elist_2ECONS_2E2(A_27a,V13y_2E0,V16l2_2E0),c_2Elist_2ECONS_2E2(A_27a,V14x_2E0,V18acc_2E0)),c_2Emergesort_2Emerge__tail_2E5(A_27a,V15negate_2E0,V19R_2E0,c_2Elist_2ECONS_2E2(A_27a,V14x_2E0,V17l1_2E0),V16l2_2E0,c_2Elist_2ECONS_2E2(A_27a,V13y_2E0,V18acc_2E0))) ) ) ) ).
tff(thm_2Emergesort_2EmergesortN__tail__ind,axiom,
! [A_27a: $tType,V0P_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))))] :
( ( ! [V1negate_2E0: tyop_2Emin_2Ebool,V2R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V3l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V1negate_2E0),V2R_2E0),c_2Enum_2E0_2E0),V3l_2E0))
& ! [V4negate_2E0: tyop_2Emin_2Ebool,V5R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V6x_2E0: A_27a,V7l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V4negate_2E0),V5R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V6x_2E0,V7l_2E0)))
& ! [V8negate_2E0: tyop_2Emin_2Ebool,V9R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V8negate_2E0),V9R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V10negate_2E0: tyop_2Emin_2Ebool,V11R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V12x_2E0: A_27a,V13y_2E0: A_27a,V14l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V10negate_2E0),V11R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V12x_2E0,c_2Elist_2ECONS_2E2(A_27a,V13y_2E0,V14l_2E0))))
& ! [V15negate_2E0: tyop_2Emin_2Ebool,V16R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V17x_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V15negate_2E0),V16R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V17x_2E0,c_2Elist_2ENIL_2E0(A_27a))))
& ! [V18negate_2E0: tyop_2Emin_2Ebool,V19R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V18negate_2E0),V19R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V20negate_2E0: tyop_2Emin_2Ebool,V21R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V22x_2E0: A_27a,V23y_2E0: A_27a,V24z_2E0: A_27a,V25l_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V20negate_2E0),V21R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V22x_2E0,c_2Elist_2ECONS_2E2(A_27a,V23y_2E0,c_2Elist_2ECONS_2E2(A_27a,V24z_2E0,V25l_2E0)))))
& ! [V26negate_2E0: tyop_2Emin_2Ebool,V27R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V28x_2E0: A_27a,V29y_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V26negate_2E0),V27R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V28x_2E0,c_2Elist_2ECONS_2E2(A_27a,V29y_2E0,c_2Elist_2ENIL_2E0(A_27a)))))
& ! [V30negate_2E0: tyop_2Emin_2Ebool,V31R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V32x_2E0: A_27a] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V30negate_2E0),V31R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ECONS_2E2(A_27a,V32x_2E0,c_2Elist_2ENIL_2E0(A_27a))))
& ! [V33negate_2E0: tyop_2Emin_2Ebool,V34R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V33negate_2E0),V34R_2E0),c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)))),c_2Elist_2ENIL_2E0(A_27a)))
& ! [V35negate_2E0: tyop_2Emin_2Ebool,V36R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V37v6_2E0: tyop_2Enum_2Enum,V38l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( ! [V39len1_2E0: tyop_2Enum_2Enum,V40neg_2E0: tyop_2Emin_2Ebool] :
( ( ( V37v6_2E0 != c_2Enum_2E0_2E0 )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) )
& ( V39len1_2E0 = c_2Earithmetic_2EDIV2_2E1(V37v6_2E0) )
& ( p(V40neg_2E0)
<=> ~ p(V35negate_2E0) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V40neg_2E0),V36R_2E0),c_2Earithmetic_2EDIV2_2E1(V37v6_2E0)),V38l_2E0)) )
& ! [V41len1_2E0: tyop_2Enum_2Enum,V42neg_2E0: tyop_2Emin_2Ebool] :
( ( ( V37v6_2E0 != c_2Enum_2E0_2E0 )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) )
& ( V37v6_2E0 != c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) )
& ( V41len1_2E0 = c_2Earithmetic_2EDIV2_2E1(V37v6_2E0) )
& ( p(V42neg_2E0)
<=> ~ p(V35negate_2E0) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V42neg_2E0),V36R_2E0),c_2Earithmetic_2E_2D_2E2(V37v6_2E0,V41len1_2E0)),c_2Elist_2EDROP_2E2(A_27a,V41len1_2E0,V38l_2E0))) ) )
=> p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V35negate_2E0),V36R_2E0),V37v6_2E0),V38l_2E0)) ) )
=> ! [V43v_2E0: tyop_2Emin_2Ebool,V44v1_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V45v2_2E0: tyop_2Enum_2Enum,V46v3_2E0: tyop_2Elist_2Elist(A_27a)] : p(app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool,app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool)),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Ebool))),V0P_2E0,V43v_2E0),V44v1_2E0),V45v2_2E0),V46v3_2E0)) ) ).
tff(thm_2Emergesort_2EmergesortN__tail__def,axiom,
! [A_27a: $tType,F3_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F5_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F1_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F0_2E0: tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Ebool),F11_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)))))),F12_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool),F7_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)))))),F10_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))),F4_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F9_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))))),F8_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))),F6_2E0: tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F2_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))] :
( ! [V34v6_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F3_2E0,V34v6_2E0))
<=> ( V34v6_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)) ) )
=> ( ! [V34v6_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F5_2E0,V34v6_2E0))
<=> ( V34v6_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))) ) )
=> ( ! [V34v6_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F1_2E0,V34v6_2E0))
<=> ( V34v6_2E0 = c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)) ) )
=> ( ! [V34v6_2E0: tyop_2Enum_2Enum] :
( p(app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F0_2E0,V34v6_2E0))
<=> ( V34v6_2E0 = c_2Enum_2E0_2E0 ) )
=> ( ! [V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V34v6_2E0: tyop_2Enum_2Enum,V36l_2E0: tyop_2Elist_2Elist(A_27a),V50len1_2E0: tyop_2Enum_2Enum,V51neg_2E0: tyop_2Emin_2Ebool] : ( app_2E2(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a))))),F11_2E0,V37R_2E0),V34v6_2E0),V36l_2E0),V50len1_2E0),V51neg_2E0) = c_2Emergesort_2Emerge__tail_2E5(A_27a,V51neg_2E0,V37R_2E0,c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V51neg_2E0,V37R_2E0,c_2Earithmetic_2EDIV2_2E1(V34v6_2E0),V36l_2E0),c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V51neg_2E0,V37R_2E0,c_2Earithmetic_2E_2D_2E2(V34v6_2E0,V50len1_2E0),c_2Elist_2EDROP_2E2(A_27a,V50len1_2E0,V36l_2E0)),c_2Elist_2ENIL_2E0(A_27a)) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool] :
( p(app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,F12_2E0,V35negate_2E0))
<=> ~ p(V35negate_2E0) )
=> ( ! [V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V34v6_2E0: tyop_2Enum_2Enum,V36l_2E0: tyop_2Elist_2Elist(A_27a),V35negate_2E0: tyop_2Emin_2Ebool,V50len1_2E0: tyop_2Enum_2Enum] : ( app_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))))),F7_2E0,V37R_2E0),V34v6_2E0),V36l_2E0),V35negate_2E0),V50len1_2E0) = c_2Ebool_2ELET_2E2(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Elist_2Elist(A_27a))))),F11_2E0,V37R_2E0),V34v6_2E0),V36l_2E0),V50len1_2E0),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Ebool,F12_2E0,V35negate_2E0)) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool,V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V40x_27_2E0: A_27a,V42y_2E0: A_27a,V43l_27_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F10_2E0,V35negate_2E0),V37R_2E0),V40x_27_2E0),V42y_2E0),V43l_27_27_2E0) = c_2Emergesort_2Esort2__tail_2E4(A_27a,V35negate_2E0,V37R_2E0,V40x_27_2E0,V42y_2E0) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool,V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V40x_27_2E0: A_27a,V41v19_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F4_2E0,V35negate_2E0),V37R_2E0),V40x_27_2E0),V41v19_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V41v19_2E0,c_2Elist_2ECONS_2E2(A_27a,V40x_27_2E0,c_2Elist_2ENIL_2E0(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F10_2E0,V35negate_2E0),V37R_2E0),V40x_27_2E0)) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool,V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V44x_27_27_2E0: A_27a,V46y_27_2E0: A_27a,V48z_2E0: A_27a,V49l_27_27_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))),F9_2E0,V35negate_2E0),V37R_2E0),V44x_27_27_2E0),V46y_27_2E0),V48z_2E0),V49l_27_27_27_2E0) = c_2Emergesort_2Esort3__tail_2E5(A_27a,V35negate_2E0,V37R_2E0,V44x_27_27_2E0,V46y_27_2E0,V48z_2E0) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool,V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V44x_27_27_2E0: A_27a,V46y_27_2E0: A_27a,V47v31_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F8_2E0,V35negate_2E0),V37R_2E0),V44x_27_27_2E0),V46y_27_2E0),V47v31_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V47v31_2E0,c_2Emergesort_2Esort2__tail_2E4(A_27a,V35negate_2E0,V37R_2E0,V44x_27_27_2E0,V46y_27_2E0),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))))),F9_2E0,V35negate_2E0),V37R_2E0),V44x_27_27_2E0),V46y_27_2E0)) )
=> ( ! [V35negate_2E0: tyop_2Emin_2Ebool,V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V44x_27_27_2E0: A_27a,V45v27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F6_2E0,V35negate_2E0),V37R_2E0),V44x_27_27_2E0),V45v27_2E0) = c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V45v27_2E0,c_2Elist_2ECONS_2E2(A_27a,V44x_27_27_2E0,c_2Elist_2ENIL_2E0(A_27a)),app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))))),F8_2E0,V35negate_2E0),V37R_2E0),V44x_27_27_2E0)) )
=> ( ! [V38x_2E0: A_27a,V39l_27_2E0: tyop_2Elist_2Elist(A_27a)] : ( app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a),app_2E2(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)),F2_2E0,V38x_2E0),V39l_27_2E0) = c_2Elist_2ECONS_2E2(A_27a,V38x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
=> ( ! [V0negate_2E0: tyop_2Emin_2Ebool,V1l_2E0: tyop_2Elist_2Elist(A_27a),V2R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V0negate_2E0,V2R_2E0,c_2Enum_2E0_2E0,V1l_2E0) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V3x_2E0: A_27a,V4negate_2E0: tyop_2Emin_2Ebool,V5l_2E0: tyop_2Elist_2Elist(A_27a),V6R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V4negate_2E0,V6R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V3x_2E0,V5l_2E0)) = c_2Elist_2ECONS_2E2(A_27a,V3x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V7negate_2E0: tyop_2Emin_2Ebool,V8R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V7negate_2E0,V8R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V9y_2E0: A_27a,V10x_2E0: A_27a,V11negate_2E0: tyop_2Emin_2Ebool,V12l_2E0: tyop_2Elist_2Elist(A_27a),V13R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V11negate_2E0,V13R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V10x_2E0,c_2Elist_2ECONS_2E2(A_27a,V9y_2E0,V12l_2E0))) = c_2Emergesort_2Esort2__tail_2E4(A_27a,V11negate_2E0,V13R_2E0,V10x_2E0,V9y_2E0) )
& ! [V14x_2E0: A_27a,V15negate_2E0: tyop_2Emin_2Ebool,V16R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V15negate_2E0,V16R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ECONS_2E2(A_27a,V14x_2E0,c_2Elist_2ENIL_2E0(A_27a))) = c_2Elist_2ECONS_2E2(A_27a,V14x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V17negate_2E0: tyop_2Emin_2Ebool,V18R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V17negate_2E0,V18R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT2_2E1(c_2Earithmetic_2EZERO_2E0)),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V19z_2E0: A_27a,V20y_2E0: A_27a,V21x_2E0: A_27a,V22negate_2E0: tyop_2Emin_2Ebool,V23l_2E0: tyop_2Elist_2Elist(A_27a),V24R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V22negate_2E0,V24R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V21x_2E0,c_2Elist_2ECONS_2E2(A_27a,V20y_2E0,c_2Elist_2ECONS_2E2(A_27a,V19z_2E0,V23l_2E0)))) = c_2Emergesort_2Esort3__tail_2E5(A_27a,V22negate_2E0,V24R_2E0,V21x_2E0,V20y_2E0,V19z_2E0) )
& ! [V25y_2E0: A_27a,V26x_2E0: A_27a,V27negate_2E0: tyop_2Emin_2Ebool,V28R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V27negate_2E0,V28R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V26x_2E0,c_2Elist_2ECONS_2E2(A_27a,V25y_2E0,c_2Elist_2ENIL_2E0(A_27a)))) = c_2Emergesort_2Esort2__tail_2E4(A_27a,V27negate_2E0,V28R_2E0,V26x_2E0,V25y_2E0) )
& ! [V29x_2E0: A_27a,V30negate_2E0: tyop_2Emin_2Ebool,V31R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V30negate_2E0,V31R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ECONS_2E2(A_27a,V29x_2E0,c_2Elist_2ENIL_2E0(A_27a))) = c_2Elist_2ECONS_2E2(A_27a,V29x_2E0,c_2Elist_2ENIL_2E0(A_27a)) )
& ! [V32negate_2E0: tyop_2Emin_2Ebool,V33R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V32negate_2E0,V33R_2E0,c_2Earithmetic_2ENUMERAL_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EBIT1_2E1(c_2Earithmetic_2EZERO_2E0))),c_2Elist_2ENIL_2E0(A_27a)) = c_2Elist_2ENIL_2E0(A_27a) )
& ! [V34v6_2E0: tyop_2Enum_2Enum,V35negate_2E0: tyop_2Emin_2Ebool,V36l_2E0: tyop_2Elist_2Elist(A_27a),V37R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] : ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V35negate_2E0,V37R_2E0,V34v6_2E0,V36l_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F0_2E0,V34v6_2E0),c_2Elist_2ENIL_2E0(A_27a),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F1_2E0,V34v6_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V36l_2E0,c_2Elist_2ENIL_2E0(A_27a),F2_2E0),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F3_2E0,V34v6_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V36l_2E0,c_2Elist_2ENIL_2E0(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F4_2E0,V35negate_2E0),V37R_2E0)),c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Ebool,F5_2E0,V34v6_2E0),c_2Elist_2Elist__CASE_2E3(A_27a,tyop_2Elist_2Elist(A_27a),V36l_2E0,c_2Elist_2ENIL_2E0(A_27a),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Elist_2Elist(A_27a)))),F6_2E0,V35negate_2E0),V37R_2E0)),c_2Ebool_2ELET_2E2(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a),app_2E2(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)),app_2E2(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))),app_2E2(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a)))),app_2E2(tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Emin_2Efun(tyop_2Elist_2Elist(A_27a),tyop_2Emin_2Efun(tyop_2Emin_2Ebool,tyop_2Emin_2Efun(tyop_2Enum_2Enum,tyop_2Elist_2Elist(A_27a))))),F7_2E0,V37R_2E0),V34v6_2E0),V36l_2E0),V35negate_2E0),c_2Earithmetic_2EDIV2_2E1(V34v6_2E0)))))) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).
tff(thm_2Emergesort_2Esort2__perm,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a] : p(c_2Esorting_2EPERM_2E2(A_27a,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ENIL_2E0(A_27a))),c_2Emergesort_2Esort2_2E3(A_27a,V0R_2E0,V1x_2E0,V2y_2E0))) ).
tff(thm_2Emergesort_2Esort3__perm,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a,V3z_2E0: A_27a] : p(c_2Esorting_2EPERM_2E2(A_27a,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Emergesort_2Esort3_2E4(A_27a,V0R_2E0,V1x_2E0,V2y_2E0,V3z_2E0))) ).
tff(thm_2Emergesort_2Emerge__perm,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a)] : p(c_2Esorting_2EPERM_2E2(A_27a,c_2Elist_2EAPPEND_2E2(A_27a,V1l1_2E0,V2l2_2E0),c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))) ).
tff(thm_2Emergesort_2EmergesortN__perm,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1n_2E0: tyop_2Enum_2Enum,V2l_2E0: tyop_2Elist_2Elist(A_27a)] : p(c_2Esorting_2EPERM_2E2(A_27a,c_2Elist_2ETAKE_2E2(A_27a,V1n_2E0,V2l_2E0),c_2Emergesort_2EmergesortN_2E3(A_27a,V0R_2E0,V1n_2E0,V2l_2E0))) ).
tff(thm_2Emergesort_2Emergesort__perm,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] : p(c_2Esorting_2EPERM_2E2(A_27a,V1l_2E0,c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1l_2E0))) ).
tff(thm_2Emergesort_2Esort2__sorted,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a] :
( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
=> p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,c_2Emergesort_2Esort2_2E3(A_27a,V0R_2E0,V1x_2E0,V2y_2E0))) ) ).
tff(thm_2Emergesort_2Esort3__sorted,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a,V3z_2E0: A_27a] :
( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
=> p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,c_2Emergesort_2Esort3_2E4(A_27a,V0R_2E0,V1x_2E0,V2y_2E0,V3z_2E0))) ) ).
tff(thm_2Emergesort_2Emerge__sorted,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
& p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,V1l1_2E0))
& p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,V2l2_2E0)) )
=> p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))) ) ).
tff(thm_2Emergesort_2EmergesortN__sorted,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1n_2E0: tyop_2Enum_2Enum,V2l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0)) )
=> p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,c_2Emergesort_2EmergesortN_2E3(A_27a,V0R_2E0,V1n_2E0,V2l_2E0))) ) ).
tff(thm_2Emergesort_2Emergesort__sorted,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0)) )
=> p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1l_2E0))) ) ).
tff(thm_2Emergesort_2Estable__cong,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a),V3l3_2E0: tyop_2Elist_2Elist(A_27a),V4l4_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))
& p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V3l3_2E0,V4l4_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,c_2Elist_2EAPPEND_2E2(A_27a,V1l1_2E0,V3l3_2E0),c_2Elist_2EAPPEND_2E2(A_27a,V2l2_2E0,V4l4_2E0))) ) ).
tff(thm_2Emergesort_2Estable__trans,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a),V3l3_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))
& p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V2l2_2E0,V3l3_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V1l1_2E0,V3l3_2E0)) ) ).
tff(thm_2Emergesort_2Esort2__stable,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a] : p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ENIL_2E0(A_27a))),c_2Emergesort_2Esort2_2E3(A_27a,V0R_2E0,V1x_2E0,V2y_2E0))) ).
tff(thm_2Emergesort_2Esort3__stable,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1x_2E0: A_27a,V2y_2E0: A_27a,V3z_2E0: A_27a] :
( ( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,c_2Elist_2ECONS_2E2(A_27a,V1x_2E0,c_2Elist_2ECONS_2E2(A_27a,V2y_2E0,c_2Elist_2ECONS_2E2(A_27a,V3z_2E0,c_2Elist_2ENIL_2E0(A_27a)))),c_2Emergesort_2Esort3_2E4(A_27a,V0R_2E0,V1x_2E0,V2y_2E0,V3z_2E0))) ) ).
tff(thm_2Emergesort_2Efilter__merge,axiom,
! [A_27a: $tType,V0P_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2l1_2E0: tyop_2Elist_2Elist(A_27a),V3l2_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V1R_2E0))
& ! [V4x_2E0: A_27a,V5y_2E0: A_27a] :
( ( p(app_2E2(A_27a,tyop_2Emin_2Ebool,V0P_2E0,V4x_2E0))
& p(app_2E2(A_27a,tyop_2Emin_2Ebool,V0P_2E0,V5y_2E0)) )
=> p(app_2E2(A_27a,tyop_2Emin_2Ebool,app_2E2(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool),V1R_2E0,V4x_2E0),V5y_2E0)) )
& p(c_2Esorting_2ESORTED_2E2(A_27a,V1R_2E0,V2l1_2E0)) )
=> ( c_2Elist_2EFILTER_2E2(A_27a,V0P_2E0,c_2Emergesort_2Emerge_2E3(A_27a,V1R_2E0,V2l1_2E0,V3l2_2E0)) = c_2Elist_2EFILTER_2E2(A_27a,V0P_2E0,c_2Elist_2EAPPEND_2E2(A_27a,V2l1_2E0,V3l2_2E0)) ) ) ).
tff(thm_2Emergesort_2Emerge__stable,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l1_2E0: tyop_2Elist_2Elist(A_27a),V2l2_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0))
& p(c_2Esorting_2ESORTED_2E2(A_27a,V0R_2E0,V1l1_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,c_2Elist_2EAPPEND_2E2(A_27a,V1l1_2E0,V2l2_2E0),c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,V1l1_2E0,V2l2_2E0))) ) ).
tff(thm_2Emergesort_2EmergesortN__stable,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1n_2E0: tyop_2Enum_2Enum,V2l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,c_2Elist_2ETAKE_2E2(A_27a,V1n_2E0,V2l_2E0),c_2Emergesort_2EmergesortN_2E3(A_27a,V0R_2E0,V1n_2E0,V2l_2E0))) ) ).
tff(thm_2Emergesort_2Emergesort__stable,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0)) )
=> p(c_2Emergesort_2Estable_2E3(A_27a,V0R_2E0,V1l_2E0,c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1l_2E0))) ) ).
tff(thm_2Emergesort_2Emergesort__STABLE__SORT,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool))] :
( ( p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0)) )
=> p(c_2Esorting_2ESTABLE_2E2(A_27a,c_2Emergesort_2Emergesort_2E0(A_27a),V0R_2E0)) ) ).
tff(thm_2Emergesort_2Emergesort__mem,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1L_2E0: tyop_2Elist_2Elist(A_27a),V2x_2E0: A_27a] : ( c_2Ebool_2EIN_2E2(A_27a,V2x_2E0,c_2Elist_2ELIST__TO__SET_2E1(A_27a,c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1L_2E0))) = c_2Ebool_2EIN_2E2(A_27a,V2x_2E0,c_2Elist_2ELIST__TO__SET_2E1(A_27a,V1L_2E0)) ) ).
tff(thm_2Emergesort_2Esort2__tail__correct,axiom,
! [A_27a: $tType,V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a] : ( c_2Emergesort_2Esort2__tail_2E4(A_27a,V0neg_2E0,V1R_2E0,V2x_2E0,V3y_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),V0neg_2E0,c_2Elist_2EREVERSE_2E1(A_27a,c_2Emergesort_2Esort2_2E3(A_27a,V1R_2E0,V2x_2E0,V3y_2E0)),c_2Emergesort_2Esort2_2E3(A_27a,V1R_2E0,V2x_2E0,V3y_2E0)) ) ).
tff(thm_2Emergesort_2Esort3__tail__correct,axiom,
! [A_27a: $tType,V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2x_2E0: A_27a,V3y_2E0: A_27a,V4z_2E0: A_27a] : ( c_2Emergesort_2Esort3__tail_2E5(A_27a,V0neg_2E0,V1R_2E0,V2x_2E0,V3y_2E0,V4z_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),V0neg_2E0,c_2Elist_2EREVERSE_2E1(A_27a,c_2Emergesort_2Esort3_2E4(A_27a,V1R_2E0,V2x_2E0,V3y_2E0,V4z_2E0)),c_2Emergesort_2Esort3_2E4(A_27a,V1R_2E0,V2x_2E0,V3y_2E0,V4z_2E0)) ) ).
tff(thm_2Emergesort_2Emerge__tail__correct1,axiom,
! [A_27a: $tType,V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2l1_2E0: tyop_2Elist_2Elist(A_27a),V3l2_2E0: tyop_2Elist_2Elist(A_27a),V4acc_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( V0neg_2E0 = c_2Ebool_2EF_2E0 )
=> ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V0neg_2E0,V1R_2E0,V2l1_2E0,V3l2_2E0,V4acc_2E0) = c_2Elist_2EAPPEND_2E2(A_27a,c_2Elist_2EREVERSE_2E1(A_27a,c_2Emergesort_2Emerge_2E3(A_27a,V1R_2E0,V2l1_2E0,V3l2_2E0)),V4acc_2E0) ) ) ).
tff(thm_2Emergesort_2Emerge__empty,axiom,
! [A_27a: $tType,A_27b: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a),V2acc_2E0: A_27b] :
( ( c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,V1l_2E0,c_2Elist_2ENIL_2E0(A_27a)) = V1l_2E0 )
& ( c_2Emergesort_2Emerge_2E3(A_27a,V0R_2E0,c_2Elist_2ENIL_2E0(A_27a),V1l_2E0) = V1l_2E0 ) ) ).
tff(thm_2Emergesort_2Emerge__tail__correct2,axiom,
! [A_27a: $tType,V0neg_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2l1_2E0: tyop_2Elist_2Elist(A_27a),V3l2_2E0: tyop_2Elist_2Elist(A_27a),V4acc_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( ( V0neg_2E0 = c_2Ebool_2ET_2E0 )
& p(c_2Erelation_2Etransitive_2E1(A_27a,V1R_2E0))
& p(c_2Esorting_2ESORTED_2E2(A_27a,V1R_2E0,c_2Elist_2EREVERSE_2E1(A_27a,V2l1_2E0)))
& p(c_2Esorting_2ESORTED_2E2(A_27a,V1R_2E0,c_2Elist_2EREVERSE_2E1(A_27a,V3l2_2E0))) )
=> ( c_2Emergesort_2Emerge__tail_2E5(A_27a,V0neg_2E0,V1R_2E0,V2l1_2E0,V3l2_2E0,V4acc_2E0) = c_2Elist_2EAPPEND_2E2(A_27a,c_2Emergesort_2Emerge_2E3(A_27a,V1R_2E0,c_2Elist_2EREVERSE_2E1(A_27a,V2l1_2E0),c_2Elist_2EREVERSE_2E1(A_27a,V3l2_2E0)),V4acc_2E0) ) ) ).
tff(thm_2Emergesort_2EmergesortN__correct,axiom,
! [A_27a: $tType,V0negate_2E0: tyop_2Emin_2Ebool,V1R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V2n_2E0: tyop_2Enum_2Enum,V3l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etotal_2E1(A_27a,V1R_2E0))
& p(c_2Erelation_2Etransitive_2E1(A_27a,V1R_2E0)) )
=> ( c_2Emergesort_2EmergesortN__tail_2E4(A_27a,V0negate_2E0,V1R_2E0,V2n_2E0,V3l_2E0) = c_2Ebool_2ECOND_2E3(tyop_2Elist_2Elist(A_27a),V0negate_2E0,c_2Elist_2EREVERSE_2E1(A_27a,c_2Emergesort_2EmergesortN_2E3(A_27a,V1R_2E0,V2n_2E0,V3l_2E0)),c_2Emergesort_2EmergesortN_2E3(A_27a,V1R_2E0,V2n_2E0,V3l_2E0)) ) ) ).
tff(thm_2Emergesort_2Emergesort__tail__correct,axiom,
! [A_27a: $tType,V0R_2E0: tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Efun(A_27a,tyop_2Emin_2Ebool)),V1l_2E0: tyop_2Elist_2Elist(A_27a)] :
( ( p(c_2Erelation_2Etotal_2E1(A_27a,V0R_2E0))
& p(c_2Erelation_2Etransitive_2E1(A_27a,V0R_2E0)) )
=> ( c_2Emergesort_2Emergesort__tail_2E2(A_27a,V0R_2E0,V1l_2E0) = c_2Emergesort_2Emergesort_2E2(A_27a,V0R_2E0,V1l_2E0) ) ) ).
%------------------------------------------------------------------------------