%   ORIGINAL: h4/llist/llist__Axiom__1ue
% 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/EXISTS__DEF: $exists = (\P. P (h4/min/_40 P))
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/EQ__REFL: !x. x = x
% 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/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% Assm: h4/bool/LEFT__AND__FORALL__THM: !Q P. (!x. P x) /\ Q <=> (!x. P x /\ Q)
% Assm: h4/bool/RIGHT__AND__FORALL__THM: !Q P. P /\ (!x. Q x) <=> (!x. P /\ Q x)
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/EXISTS__UNIQUE__THM: !P. h4/bool/_3F_21 (\x. P x) <=> (?x. P x) /\ (!x y. P x /\ P y ==> x = y)
% 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/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/pth__no1: !q p. ~(p \/ q) ==> ~p
% Assm: h4/sat/pth__no2: !q p. ~(p \/ q) ==> ~q
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Assm: h4/option/option__nchotomy: !opt. opt = h4/option/NONE \/ (?x. opt = h4/option/SOME x)
% Assm: h4/option/option__case__def_c0: !v f. h4/option/option__CASE h4/option/NONE v f = v
% Assm: h4/option/option__case__def_c1: !x v f. h4/option/option__CASE (h4/option/SOME x) v f = f x
% Assm: h4/option/SOME__11: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm: h4/option/OPTION__MAP__DEF_c0: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (f x)
% Assm: h4/option/OPTION__MAP__DEF_c0: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (f x)
% Assm: h4/option/OPTION__MAP__DEF_c1: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm: h4/option/OPTION__MAP__DEF_c1: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm: h4/pair/ABS__PAIR__THM: !x. ?q r. x = h4/pair/_2C q r
% Assm: h4/pair/pair__CASES: !x. ?q r. x = h4/pair/_2C q r
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/pair/SND0: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm: h4/pair/pair__case__thm: !y x f. h4/pair/pair__CASE (h4/pair/_2C x y) f = f x y
% Assm: h4/llist/LHD__THM_c0: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm: h4/llist/LHD__THM_c1: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm: h4/llist/LTL__THM_c0: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm: h4/llist/LTL__THM_c1: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm: h4/llist/LHD__EQ__NONE_c0: !ll. h4/llist/LHD ll = h4/option/NONE <=> ll = h4/llist/LNIL
% Assm: h4/llist/LHD__EQ__NONE_c1: !ll. h4/option/NONE = h4/llist/LHD ll <=> ll = h4/llist/LNIL
% Assm: h4/llist/LHDTL__EQ__SOME: !t ll h. ll = h4/llist/LCONS h t <=> h4/llist/LHD ll = h4/option/SOME h /\ h4/llist/LTL ll = h4/option/SOME t
% Assm: h4/llist/llist__ue__Axiom: !f. h4/bool/_3F_21 (\g. (!x. h4/llist/LHD (g x) = h4/option/OPTION__MAP h4/pair/SND (f x)) /\ (!x. h4/llist/LTL (g x) = h4/option/OPTION__MAP (h4/combin/o g h4/pair/FST) (f x)))
% Goal: !f. h4/bool/_3F_21 (\g. !x. g x = h4/option/option__CASE (f x) h4/llist/LNIL (\v. h4/pair/pair__CASE v (\a b. h4/llist/LCONS b (g a))))
%   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_EXISTSu_u_DEF]: !x. $exists x <=> happ x (h4/min/_40 x)
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ 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_EQu_u_REFL]: !x. x = x
% 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_FORALLu_u_ANDu_u_THM]: !Q P. (!x. happ P x /\ happ Q x) <=> (!x. happ P x) /\ (!x. happ Q x)
% Assm [h4s_bools_LEFTu_u_ANDu_u_FORALLu_u_THM]: !Q P. (!x. happ P x) /\ Q <=> (!x. happ P x /\ Q)
% Assm [h4s_bools_RIGHTu_u_ANDu_u_FORALLu_u_THM]: !Q P. P /\ (!x. happ Q x) <=> (!x. P /\ happ Q x)
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_EXISTSu_u_UNIQUEu_u_THM]: !_0. (!P x. happ (happ _0 P) x <=> happ P x) ==> (!P. h4/bool/_3F_21 (happ _0 P) <=> (?x. happ P x) /\ (!x y. happ P x /\ happ P y ==> x = y))
% 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_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_pthu_u_no1]: !q p. ~(p \/ q) ==> ~p
% Assm [h4s_sats_pthu_u_no2]: !q p. ~(p \/ q) ==> ~q
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_options_optionu_u_nchotomy]: !opt. opt = h4/option/NONE \/ (?x. opt = h4/option/SOME x)
% Assm [h4s_options_optionu_u_caseu_u_defu_c0]: !v f. h4/option/option__CASE h4/option/NONE v f = v
% Assm [h4s_options_optionu_u_caseu_u_defu_c1]: !x v f. h4/option/option__CASE (h4/option/SOME x) v f = happ f x
% Assm [h4s_options_SOMEu_u_11]: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c0]: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (happ f x)
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c0]: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (happ f x)
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c1]: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c1]: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm [h4s_pairs_ABSu_u_PAIRu_u_THM]: !x. ?q r. x = h4/pair/_2C q r
% Assm [h4s_pairs_pairu_u_CASES]: !x. ?q r. x = h4/pair/_2C q r
% Assm [h4s_pairs_FST0]: !y x. happ h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_pairs_SND0]: !y x. happ h4/pair/SND (h4/pair/_2C x y) = y
% Assm [h4s_pairs_pairu_u_caseu_u_thm]: !y x f. h4/pair/pair__CASE (h4/pair/_2C x y) f = happ (happ f x) y
% Assm [h4s_llists_LHDu_u_THMu_c0]: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm [h4s_llists_LHDu_u_THMu_c1]: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm [h4s_llists_LTLu_u_THMu_c0]: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm [h4s_llists_LTLu_u_THMu_c1]: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm [h4s_llists_LHDu_u_EQu_u_NONEu_c0]: !ll. h4/llist/LHD ll = h4/option/NONE <=> ll = h4/llist/LNIL
% Assm [h4s_llists_LHDu_u_EQu_u_NONEu_c1]: !ll. h4/option/NONE = h4/llist/LHD ll <=> ll = h4/llist/LNIL
% Assm [h4s_llists_LHDTLu_u_EQu_u_SOME]: !t ll h. ll = h4/llist/LCONS h t <=> h4/llist/LHD ll = h4/option/SOME h /\ h4/llist/LTL ll = h4/option/SOME t
% Assm [h4s_llists_llistu_u_ueu_u_Axiom]: !_0. (!f g. happ (happ _0 f) g <=> (!x. h4/llist/LHD (happ g x) = h4/option/OPTION__MAP h4/pair/SND (happ f x)) /\ (!x. h4/llist/LTL (happ g x) = h4/option/OPTION__MAP (h4/combin/o g h4/pair/FST) (happ f x))) ==> (!f. h4/bool/_3F_21 (happ _0 f))
% Goal: !_3. (!g a b. happ (happ (happ _3 g) a) b = h4/llist/LCONS b (happ g a)) ==> (!_2. (!g a. happ (happ _2 g) a = happ (happ _3 g) a) ==> (!_1. (!g v. happ (happ _1 g) v = h4/pair/pair__CASE v (happ _2 g)) ==> (!_0. (!f g. happ (happ _0 f) g <=> (!x. happ g x = h4/option/option__CASE (happ f x) h4/llist/LNIL (happ _1 g))) ==> (!f. h4/bool/_3F_21 (happ _0 f)))))
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f0)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f0))).
fof(aHLu_EXT, axiom, ![TV_Q169398,TV_Q169394]: ![V_f, V_g]: (![V_x]: s(TV_Q169394,happ(s(t_fun(TV_Q169398,TV_Q169394),V_f),s(TV_Q169398,V_x))) = s(TV_Q169394,happ(s(t_fun(TV_Q169398,TV_Q169394),V_g),s(TV_Q169398,V_x))) => s(t_fun(TV_Q169398,TV_Q169394),V_f) = s(t_fun(TV_Q169398,TV_Q169394),V_g))).
fof(ah4s_bools_EXISTSu_u_DEF, axiom, ![TV_u_27a]: ![V_x]: s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),V_x)))))).
fof(ah4s_bools_SELECTu_u_AX, axiom, ![TV_u_27a]: ![V_x, V_P]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),V_P)))))))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
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_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) & 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,f0))) <=> ~ (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_EQu_u_REFL, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,V_x) = s(TV_u_27a,V_x)).
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,t)))).
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,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_FORALLu_u_ANDu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) <=> (![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_LEFTu_u_ANDu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: ((![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,V_Q))) <=> ![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,V_Q))))).
fof(ah4s_bools_RIGHTu_u_ANDu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: ((p(s(t_bool,V_P)) & ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) <=> ![V_x]: (p(s(t_bool,V_P)) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
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_EXISTSu_u_UNIQUEu_u_THM, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_x]: 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_P))),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))) => ![V_P]: (p(s(t_bool,h4s_bools_u_3fu_21(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_P)))))) <=> (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & ![V_x, V_y]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_y))))) => s(TV_u_27a,V_x) = s(TV_u_27a,V_y)))))).
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,f0))))).
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,f0))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
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,f0))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f0))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => p(s(t_bool,f0))))).
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_sats_pthu_u_ni1, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) => p(s(t_bool,V_q)))) => p(s(t_bool,V_p)))).
fof(ah4s_sats_pthu_u_ni2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) => p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ah4s_sats_pthu_u_no1, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) | p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_p))))).
fof(ah4s_sats_pthu_u_no2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) | p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ah4s_sats_pthu_u_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => p(s(t_bool,V_p)))).
fof(ah4s_combins_ou_u_THM, axiom, ![TV_u_27b,TV_u_27a,TV_u_27c]: ![V_x, V_g, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27c,TV_u_27a),V_g))),s(TV_u_27c,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),V_g),s(TV_u_27c,V_x)))))).
fof(ah4s_options_optionu_u_nchotomy, axiom, ![TV_u_27a]: ![V_opt]: (s(t_h4s_options_option(TV_u_27a),V_opt) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) | ?[V_x]: s(t_h4s_options_option(TV_u_27a),V_opt) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))).
fof(ah4s_options_optionu_u_caseu_u_defu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_v, V_f]: s(TV_u_27b,h4s_options_optionu_u_case(s(t_h4s_options_option(TV_u_27a),h4s_options_none),s(TV_u_27b,V_v),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(TV_u_27b,V_v)).
fof(ah4s_options_optionu_u_caseu_u_defu_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_v, V_f]: s(TV_u_27b,h4s_options_optionu_u_case(s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))),s(TV_u_27b,V_v),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))).
fof(ah4s_options_SOMEu_u_11, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_y))) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))))).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))))).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_none))) = s(t_h4s_options_option(TV_u_27b),h4s_options_none)).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_none))) = s(t_h4s_options_option(TV_u_27b),h4s_options_none)).
fof(ah4s_pairs_ABSu_u_PAIRu_u_THM, axiom, ![TV_u_27a,TV_u_27b]: ![V_x]: ?[V_q, V_r]: s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_x) = s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_q),s(TV_u_27b,V_r)))).
fof(ah4s_pairs_pairu_u_CASES, axiom, ![TV_u_27a,TV_u_27b]: ![V_x]: ?[V_q, V_r]: s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_x) = s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_q),s(TV_u_27b,V_r)))).
fof(ah4s_pairs_FST0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(TV_u_27a,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27a,V_x)).
fof(ah4s_pairs_SND0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: s(TV_u_27b,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27b),h4s_pairs_snd),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27b,V_y)).
fof(ah4s_pairs_pairu_u_caseu_u_thm, axiom, ![TV_u_27a,TV_u_27b,TV_u_27c]: ![V_y, V_x, V_f]: s(TV_u_27a,h4s_pairs_pairu_u_case(s(t_h4s_pairs_prod(TV_u_27b,TV_u_27c),h4s_pairs_u_2c(s(TV_u_27b,V_x),s(TV_u_27c,V_y))),s(t_fun(TV_u_27b,t_fun(TV_u_27c,TV_u_27a)),V_f))) = s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27c,TV_u_27a)),V_f),s(TV_u_27b,V_x))),s(TV_u_27c,V_y)))).
fof(ah4s_llists_LHDu_u_THMu_c0, axiom, ![TV_u_27a]: s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none)).
fof(ah4s_llists_LHDu_u_THMu_c1, axiom, ![TV_u_27b]: ![V_t, V_h]: s(t_h4s_options_option(TV_u_27b),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_h),s(t_h4s_llists_llist(TV_u_27b),V_t))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,V_h)))).
fof(ah4s_llists_LTLu_u_THMu_c0, axiom, ![TV_u_27a]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_options_none)).
fof(ah4s_llists_LTLu_u_THMu_c1, axiom, ![TV_u_27b]: ![V_t, V_h]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_h),s(t_h4s_llists_llist(TV_u_27b),V_t))))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_options_some(s(t_h4s_llists_llist(TV_u_27b),V_t)))).
fof(ah4s_llists_LHDu_u_EQu_u_NONEu_c0, axiom, ![TV_u_27a]: ![V_ll]: (s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) <=> s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))).
fof(ah4s_llists_LHDu_u_EQu_u_NONEu_c1, axiom, ![TV_u_27a]: ![V_ll]: (s(t_h4s_options_option(TV_u_27a),h4s_options_none) = s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) <=> s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))).
fof(ah4s_llists_LHDTLu_u_EQu_u_SOME, axiom, ![TV_u_27a]: ![V_t, V_ll, V_h]: (s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) <=> (s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_h))) & s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_options_some(s(t_h4s_llists_llist(TV_u_27a),V_t)))))).
fof(ah4s_llists_llistu_u_ueu_u_Axiom, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_0]: (![V_f, V_g]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f))),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g)))) <=> (![V_x]: s(t_h4s_options_option(TV_u_27b),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_x))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27b),h4s_pairs_snd),s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f),s(TV_u_27a,V_x))))) & ![V_x]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_x))))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_options_optionu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),h4s_combins_o(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst))),s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f),s(TV_u_27a,V_x))))))) => ![V_f]: p(s(t_bool,h4s_bools_u_3fu_21(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f)))))))).
fof(ch4s_llists_llistu_u_Axiomu_u_1ue, conjecture, ![TV_u_27a,TV_u_27b]: ![V_uu_3]: (![V_g, V_a, V_b]: s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_3),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))),s(TV_u_27b,V_b))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_b),s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_a))))) => ![V_uu_2]: (![V_g, V_a]: s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_2),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))) = s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_3),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))) => ![V_uu_1]: (![V_g, V_v]: s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b))),V_uu_1),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v))) = s(t_h4s_llists_llist(TV_u_27b),h4s_pairs_pairu_u_case(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_2),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))))) => ![V_uu_0]: (![V_f, V_g]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f))),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g)))) <=> ![V_x]: s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_x))) = s(t_h4s_llists_llist(TV_u_27b),h4s_options_optionu_u_case(s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f),s(TV_u_27a,V_x))),s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lnil),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b))),V_uu_1),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g)))))) => ![V_f]: p(s(t_bool,h4s_bools_u_3fu_21(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f))))))))))).
