%   ORIGINAL: h4/Decode/encode__then__decode__sum
% Assm: HL_TRUTH: T
% Assm: HL_FALSITY: ~F
% Assm: HL_BOOL_CASES: !t. (t <=> T) \/ (t <=> F)
% Assm: HL_EXT: !f g. (!x. f x = g x) ==> f = g
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~t
% Assm: h4/bool/DISJ__ASSOC: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/IMP__CONG: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm: h4/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/sum/sum__CASES: !ss. (?x. ss = h4/sum/INL x) \/ (?y. ss = h4/sum/INR y)
% Assm: h4/sum/sum__case__def_c0: !x f1 f. h4/sum/sum__CASE (h4/sum/INL x) f f1 = f x
% Assm: h4/sum/sum__case__def_c1: !y f1 f. h4/sum/sum__CASE (h4/sum/INR y) f f1 = f1 y
% Assm: h4/list/APPEND__11_c1: !l3 l2 l1. h4/list/APPEND l2 l1 = h4/list/APPEND l3 l1 <=> l2 = l3
% Assm: h4/Encode/encode__sum__def_c0: !yb xb x. h4/Encode/encode__sum xb yb (h4/sum/INL x) = h4/list/CONS T (xb x)
% Assm: h4/Encode/encode__sum__def_c1: !yb y xb. h4/Encode/encode__sum xb yb (h4/sum/INR y) = h4/list/CONS F (yb y)
% Assm: h4/Encode/lift__sum__def: !x p2 p1. h4/Encode/lift__sum p1 p2 x <=> h4/sum/sum__CASE x (\x1. p1 x1) (\x2. p2 x2)
% Assm: h4/Encode/wf__encode__sum: !p2 p1 e2 e1. h4/Encode/wf__encoder p1 e1 /\ h4/Encode/wf__encoder p2 e2 ==> h4/Encode/wf__encoder (h4/Encode/lift__sum p1 p2) (h4/Encode/encode__sum e1 e2)
% Assm: h4/Decode/enc2dec__some: !x t p l e. h4/Encode/wf__encoder p e ==> (h4/Decode/enc2dec p e l = h4/option/SOME (h4/pair/_2C x t) <=> p x /\ l = h4/list/APPEND (e x) t)
% Assm: h4/Decode/wf__enc2dec: !p e. h4/Encode/wf__encoder p e ==> h4/Decode/wf__decoder p (h4/Decode/enc2dec p e)
% Assm: h4/Decode/wf__dec2enc: !p d. h4/Decode/wf__decoder p d ==> h4/Encode/wf__encoder p (h4/Decode/dec2enc d)
% Assm: h4/Decode/dec2enc__enc2dec: !x p e. h4/Encode/wf__encoder p e /\ p x ==> h4/Decode/dec2enc (h4/Decode/enc2dec p e) x = e x
% Goal: !t p2 p1 l e2 e1. h4/Encode/wf__encoder p1 e1 /\ h4/Encode/wf__encoder p2 e2 /\ h4/Encode/lift__sum p1 p2 l ==> h4/Decode/decode__sum (h4/Encode/lift__sum p1 p2) (h4/Decode/enc2dec p1 e1) (h4/Decode/enc2dec p2 e2) (h4/list/APPEND (h4/Encode/encode__sum e1 e2 l) t) = h4/option/SOME (h4/pair/_2C l t)
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~t
% Assm [h4s_bools_DISJu_u_ASSOC]: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_IMPu_u_CONG]: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm [h4s_sats_dcu_u_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_combins_Iu_u_THM]: !x. h4/combin/I x = x
% Assm [h4s_sums_sumu_u_CASES]: !ss. (?x. ss = h4/sum/INL x) \/ (?y. ss = h4/sum/INR y)
% Assm [h4s_sums_sumu_u_caseu_u_defu_c0]: !x f1 f. h4/sum/sum__CASE (h4/sum/INL x) f f1 = happ f x
% Assm [h4s_sums_sumu_u_caseu_u_defu_c1]: !y f1 f. h4/sum/sum__CASE (h4/sum/INR y) f f1 = happ f1 y
% Assm [h4s_lists_APPENDu_u_11u_c1]: !l3 l2 l1. h4/list/APPEND l2 l1 = h4/list/APPEND l3 l1 <=> l2 = l3
% Assm [h4s_Encodes_encodeu_u_sumu_u_defu_c0]: !yb xb x. happ (h4/Encode/encode__sum xb yb) (h4/sum/INL x) = h4/list/CONS T (happ xb x)
% Assm [h4s_Encodes_encodeu_u_sumu_u_defu_c1]: !yb y xb. happ (h4/Encode/encode__sum xb yb) (h4/sum/INR y) = h4/list/CONS F (happ yb y)
% Assm [h4s_Encodes_liftu_u_sumu_u_def]: !_1. (!p2 x2. happ (happ _1 p2) x2 <=> happ p2 x2) ==> (!_0. (!p1 x1. happ (happ _0 p1) x1 <=> happ p1 x1) ==> (!x p2 p1. happ (h4/Encode/lift__sum p1 p2) x <=> h4/sum/sum__CASE x (happ _0 p1) (happ _1 p2)))
% Assm [h4s_Encodes_wfu_u_encodeu_u_sum]: !p2 p1 e2 e1. h4/Encode/wf__encoder p1 e1 /\ h4/Encode/wf__encoder p2 e2 ==> h4/Encode/wf__encoder (h4/Encode/lift__sum p1 p2) (h4/Encode/encode__sum e1 e2)
% Assm [h4s_Decodes_enc2decu_u_some]: !x t p l e. h4/Encode/wf__encoder p e ==> (happ (h4/Decode/enc2dec p e) l = h4/option/SOME (h4/pair/_2C x t) <=> happ p x /\ l = h4/list/APPEND (happ e x) t)
% Assm [h4s_Decodes_wfu_u_enc2dec]: !p e. h4/Encode/wf__encoder p e ==> h4/Decode/wf__decoder p (h4/Decode/enc2dec p e)
% Assm [h4s_Decodes_wfu_u_dec2enc]: !p d. h4/Decode/wf__decoder p d ==> h4/Encode/wf__encoder p (h4/Decode/dec2enc d)
% Assm [h4s_Decodes_dec2encu_u_enc2dec]: !x p e. h4/Encode/wf__encoder p e /\ happ p x ==> happ (h4/Decode/dec2enc (h4/Decode/enc2dec p e)) x = happ e x
% Goal: !t p2 p1 l e2 e1. h4/Encode/wf__encoder p1 e1 /\ h4/Encode/wf__encoder p2 e2 /\ happ (h4/Encode/lift__sum p1 p2) l ==> h4/Decode/decode__sum (h4/Encode/lift__sum p1 p2) (h4/Decode/enc2dec p1 e1) (h4/Decode/enc2dec p2 e2) (h4/list/APPEND (happ (h4/Encode/encode__sum e1 e2) l) t) = h4/option/SOME (h4/pair/_2C l t)
fof(aHLu_TRUTH, axiom, p(s(t_bool,t0))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t0) | s(t_bool,V_t) = s(t_bool,f))).
fof(aHLu_EXT, axiom, ![TV_Q135249,TV_Q135245]: ![V_f, V_g]: (![V_x]: s(TV_Q135245,happ(s(t_fun(TV_Q135249,TV_Q135245),V_f),s(TV_Q135249,V_x))) = s(TV_Q135245,happ(s(t_fun(TV_Q135249,TV_Q135245),V_g),s(TV_Q135249,V_x))) => s(t_fun(TV_Q135249,TV_Q135245),V_f) = s(t_fun(TV_Q135249,TV_Q135245),V_g))).
fof(ah4s_bools_BOOLu_u_CASESu_u_AX, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t0) | s(t_bool,V_t) = s(t_bool,f))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t0))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_FORALLu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (![V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_F, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) => ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t0)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t0)) | p(s(t_bool,V_t))) <=> p(s(t_bool,t0)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t0))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,t0)))).
fof(ah4s_bools_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t0)))).
fof(ah4s_bools_EQu_u_SYMu_u_EQ, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x))).
fof(ah4s_bools_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t0) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_EQu_u_CLAUSESu_c3, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,f) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_DISJu_u_ASSOC, axiom, ![V_C, V_B, V_A]: ((p(s(t_bool,V_A)) | (p(s(t_bool,V_B)) | p(s(t_bool,V_C)))) <=> ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) | p(s(t_bool,V_C))))).
fof(ah4s_bools_DISJu_u_SYM, axiom, ![V_B, V_A]: ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) <=> (p(s(t_bool,V_B)) | p(s(t_bool,V_A))))).
fof(ah4s_bools_DEu_u_MORGANu_u_THMu_c1, axiom, ![V_B, V_A]: (~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) <=> (~ (p(s(t_bool,V_A))) & ~ (p(s(t_bool,V_B)))))).
fof(ah4s_bools_ANDu_u_IMPu_u_INTRO, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t3))))).
fof(ah4s_bools_IMPu_u_CONG, axiom, ![V_yu_27, V_y, V_xu_27, V_x]: ((s(t_bool,V_x) = s(t_bool,V_xu_27) & (p(s(t_bool,V_xu_27)) => s(t_bool,V_y) = s(t_bool,V_yu_27))) => ((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) <=> (p(s(t_bool,V_xu_27)) => p(s(t_bool,V_yu_27)))))).
fof(ah4s_sats_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f))))).
fof(ah4s_sats_ORu_u_DUAL2, axiom, ![V_B, V_A]: ((~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_ORu_u_DUAL3, axiom, ![V_B, V_A]: ((~ ((~ (p(s(t_bool,V_A))) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => p(s(t_bool,f))))).
fof(ah4s_sats_dcu_u_eq, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> s(t_bool,V_q) = s(t_bool,V_r)) <=> ((p(s(t_bool,V_p)) | (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) & ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_q))))) & ((p(s(t_bool,V_q)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_p))))) & (p(s(t_bool,V_r)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p)))))))))).
fof(ah4s_sats_dcu_u_conj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) & p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_r))))) & ((p(s(t_bool,V_q)) | ~ (p(s(t_bool,V_p)))) & (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p)))))))).
fof(ah4s_sats_dcu_u_disj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_q)))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (p(s(t_bool,V_q)) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_imp, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) => p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (~ (p(s(t_bool,V_q))) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_neg, axiom, ![V_q, V_p]: ((p(s(t_bool,V_p)) <=> ~ (p(s(t_bool,V_q)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p))))))).
fof(ah4s_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_combins_i(s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_sums_sumu_u_CASES, axiom, ![TV_u_27a,TV_u_27b]: ![V_ss]: (?[V_x]: s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_ss) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_x))) | ?[V_y]: s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_ss) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_y))))).
fof(ah4s_sums_sumu_u_caseu_u_defu_c0, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_x, V_f1, V_f]: s(TV_u_27c,h4s_sums_sumu_u_case(s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_x))),s(t_fun(TV_u_27a,TV_u_27c),V_f),s(t_fun(TV_u_27b,TV_u_27c),V_f1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_f),s(TV_u_27a,V_x)))).
fof(ah4s_sums_sumu_u_caseu_u_defu_c1, axiom, ![TV_u_27a,TV_u_27c,TV_u_27b]: ![V_y, V_f1, V_f]: s(TV_u_27c,h4s_sums_sumu_u_case(s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_y))),s(t_fun(TV_u_27a,TV_u_27c),V_f),s(t_fun(TV_u_27b,TV_u_27c),V_f1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),V_f1),s(TV_u_27b,V_y)))).
fof(ah4s_lists_APPENDu_u_11u_c1, axiom, ![TV_u_27a]: ![V_l3, V_l2, V_l1]: (s(t_h4s_lists_list(TV_u_27a),h4s_lists_append(s(t_h4s_lists_list(TV_u_27a),V_l2),s(t_h4s_lists_list(TV_u_27a),V_l1))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_append(s(t_h4s_lists_list(TV_u_27a),V_l3),s(t_h4s_lists_list(TV_u_27a),V_l1))) <=> s(t_h4s_lists_list(TV_u_27a),V_l2) = s(t_h4s_lists_list(TV_u_27a),V_l3))).
fof(ah4s_Encodes_encodeu_u_sumu_u_defu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_yb, V_xb, V_x]: s(t_h4s_lists_list(t_bool),happ(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool)),h4s_encodes_encodeu_u_sum(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_xb),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_yb))),s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_x))))) = s(t_h4s_lists_list(t_bool),h4s_lists_cons(s(t_bool,t0),s(t_h4s_lists_list(t_bool),happ(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_xb),s(TV_u_27a,V_x)))))).
fof(ah4s_Encodes_encodeu_u_sumu_u_defu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_yb, V_y, V_xb]: s(t_h4s_lists_list(t_bool),happ(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool)),h4s_encodes_encodeu_u_sum(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_xb),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_yb))),s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_y))))) = s(t_h4s_lists_list(t_bool),h4s_lists_cons(s(t_bool,f),s(t_h4s_lists_list(t_bool),happ(s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_yb),s(TV_u_27b,V_y)))))).
fof(ah4s_Encodes_liftu_u_sumu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_1]: (![V_p2, V_x2]: s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(TV_u_27b,t_bool)),V_uu_1),s(t_fun(TV_u_27b,t_bool),V_p2))),s(TV_u_27b,V_x2))) = s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),V_p2),s(TV_u_27b,V_x2))) => ![V_uu_0]: (![V_p1, V_x1]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_p1))),s(TV_u_27a,V_x1))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_p1),s(TV_u_27a,V_x1))) => ![V_x, V_p2, V_p1]: s(t_bool,happ(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_bool),h4s_encodes_liftu_u_sum(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27b,t_bool),V_p2))),s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_x))) = s(t_bool,h4s_sums_sumu_u_case(s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_x),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_p1))),s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(TV_u_27b,t_bool)),V_uu_1),s(t_fun(TV_u_27b,t_bool),V_p2)))))))).
fof(ah4s_Encodes_wfu_u_encodeu_u_sum, axiom, ![TV_u_27a,TV_u_27b]: ![V_p2, V_p1, V_e2, V_e1]: ((p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e1)))) & p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27b,t_bool),V_p2),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_e2))))) => p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_bool),h4s_encodes_liftu_u_sum(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27b,t_bool),V_p2))),s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool)),h4s_encodes_encodeu_u_sum(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e1),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_e2)))))))).
fof(ah4s_Decodes_enc2decu_u_some, axiom, ![TV_u_27a]: ![V_x, V_t, V_p, V_l, V_e]: (p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e)))) => (s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool))),happ(s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),h4s_decodes_enc2dec(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e))),s(t_h4s_lists_list(t_bool),V_l))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool))),h4s_options_some(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(t_h4s_lists_list(t_bool),V_t))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_p),s(TV_u_27a,V_x)))) & s(t_h4s_lists_list(t_bool),V_l) = s(t_h4s_lists_list(t_bool),h4s_lists_append(s(t_h4s_lists_list(t_bool),happ(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e),s(TV_u_27a,V_x))),s(t_h4s_lists_list(t_bool),V_t))))))).
fof(ah4s_Decodes_wfu_u_enc2dec, axiom, ![TV_u_27a]: ![V_p, V_e]: (p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e)))) => p(s(t_bool,h4s_decodes_wfu_u_decoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),h4s_decodes_enc2dec(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e)))))))).
fof(ah4s_Decodes_wfu_u_dec2enc, axiom, ![TV_u_27a]: ![V_p, V_d]: (p(s(t_bool,h4s_decodes_wfu_u_decoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),V_d)))) => p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),h4s_decodes_dec2enc(s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),V_d)))))))).
fof(ah4s_Decodes_dec2encu_u_enc2dec, axiom, ![TV_u_27a]: ![V_x, V_p, V_e]: ((p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_p),s(TV_u_27a,V_x))))) => s(t_h4s_lists_list(t_bool),happ(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),h4s_decodes_dec2enc(s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),h4s_decodes_enc2dec(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e))))),s(TV_u_27a,V_x))) = s(t_h4s_lists_list(t_bool),happ(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e),s(TV_u_27a,V_x))))).
fof(ch4s_Decodes_encodeu_u_thenu_u_decodeu_u_sum, conjecture, ![TV_u_27a,TV_u_27b]: ![V_t, V_p2, V_p1, V_l, V_e2, V_e1]: ((p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e1)))) & (p(s(t_bool,h4s_encodes_wfu_u_encoder(s(t_fun(TV_u_27b,t_bool),V_p2),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_e2)))) & p(s(t_bool,happ(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_bool),h4s_encodes_liftu_u_sum(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27b,t_bool),V_p2))),s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_l)))))) => s(t_h4s_options_option(t_h4s_pairs_prod(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool))),h4s_decodes_decodeu_u_sum(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_bool),h4s_encodes_liftu_u_sum(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27b,t_bool),V_p2))),s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,t_h4s_lists_list(t_bool)))),h4s_decodes_enc2dec(s(t_fun(TV_u_27a,t_bool),V_p1),s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e1))),s(t_fun(t_h4s_lists_list(t_bool),t_h4s_options_option(t_h4s_pairs_prod(TV_u_27b,t_h4s_lists_list(t_bool)))),h4s_decodes_enc2dec(s(t_fun(TV_u_27b,t_bool),V_p2),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_e2))),s(t_h4s_lists_list(t_bool),h4s_lists_append(s(t_h4s_lists_list(t_bool),happ(s(t_fun(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool)),h4s_encodes_encodeu_u_sum(s(t_fun(TV_u_27a,t_h4s_lists_list(t_bool)),V_e1),s(t_fun(TV_u_27b,t_h4s_lists_list(t_bool)),V_e2))),s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_l))),s(t_h4s_lists_list(t_bool),V_t))))) = s(t_h4s_options_option(t_h4s_pairs_prod(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool))),h4s_options_some(s(t_h4s_pairs_prod(t_h4s_sums_sum(TV_u_27a,TV_u_27b),t_h4s_lists_list(t_bool)),h4s_pairs_u_2c(s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),V_l),s(t_h4s_lists_list(t_bool),V_t))))))).
