%   ORIGINAL: h4/relation/reflexive__RC
% 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/relation/RC__REFLEXIVE: !R. h4/relation/reflexive (h4/relation/RC R)
% Assm: h4/relation/RC__DEF: !y x R. h4/relation/RC R x y <=> x = y \/ R x y
% Assm: h4/relation/reflexive__def: !R. h4/relation/reflexive R <=> (!x. R x x)
% Assm: h4/relation/EQC__DEF: !R. h4/relation/EQC R = h4/relation/RC (h4/relation/TC (h4/relation/SC R))
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/TRUTH: T
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% 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__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% 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/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/bool/RIGHT__OR__EXISTS__THM: !Q P. P \/ (?x. Q x) <=> (?x. P \/ Q x)
% Assm: h4/bool/SKOLEM__THM: !P. (!x. ?y. P x y) <=> (?f. !x. P x (f x))
% Assm: h4/bool/LEFT__EXISTS__AND__THM: !Q P. (?x. P x /\ Q) <=> (?x. P x) /\ Q
% Assm: h4/bool/RIGHT__FORALL__OR__THM: !Q P. (!x. P \/ Q x) <=> P \/ (!x. Q x)
% 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/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~t
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/EXCLUDED__MIDDLE: !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/relation/equivalence__def: !R. h4/relation/equivalence R <=> h4/relation/reflexive R /\ h4/relation/symmetric R /\ h4/relation/transitive R
% Assm: h4/relation/reflexive__RTC: !R. h4/relation/reflexive (h4/relation/RTC R)
% Assm: h4/relation/RTC__REFLEXIVE: !R. h4/relation/reflexive (h4/relation/RTC R)
% Assm: h4/relation/RTC__RULES_c0: !x R. h4/relation/RTC R x x
% Assm: h4/relation/RTC__RULES_c1: !z y x R. R x y /\ h4/relation/RTC R y z ==> h4/relation/RTC R x z
% Assm: h4/bool/DISJ__ASSOC: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm: h4/bool/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% Assm: h4/relation/TC__DEF: !b a R. h4/relation/TC R a b <=> (!P. (!x y. R x y ==> P x y) /\ (!x y z. P x y /\ P y z ==> P x z) ==> P a b)
% Assm: h4/relation/TC__RULES_c0: !y x R. R x y ==> h4/relation/TC R x y
% Assm: h4/relation/transitive__def: !R. h4/relation/transitive R <=> (!x y z. R x y /\ R y z ==> R x z)
% Assm: h4/relation/TC__TRANSITIVE: !R. h4/relation/transitive (h4/relation/TC R)
% Assm: h4/bool/LEFT__OR__EXISTS__THM: !Q P. (?x. P x) \/ Q <=> (?x. P x \/ Q)
% Assm: h4/bool/EXISTS__OR__THM: !Q P. (?x. P x \/ Q x) <=> (?x. P x) \/ (?x. Q x)
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/relation/RTC__DEF: !b a R. h4/relation/RTC R a b <=> (!P. (!x. P x x) /\ (!x y z. R x y /\ P y z ==> P x z) ==> P a b)
% Assm: h4/bool/NOT__EXISTS__THM: !P. ~(?x. P x) <=> (!x. ~P x)
% Assm: h4/bool/DE__MORGAN__THM_c0: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm: h4/relation/total__def: !R. h4/relation/total R <=> (!x y. R x y \/ R y x)
% Assm: h4/relation/RTC__REFL: !x R. h4/relation/RTC R x x
% Assm: h4/relation/SC__DEF: !y x R. h4/relation/SC R x y <=> R x y \/ R y x
% Assm: h4/relation/symmetric__def: !R. h4/relation/symmetric R <=> (!x y. R x y <=> R y x)
% Assm: h4/relation/trichotomous0: !R. h4/relation/trichotomous R <=> (!a b. R a b \/ R b a \/ a = b)
% Assm: h4/bool/RIGHT__EXISTS__AND__THM: !Q P. (?x. P /\ Q x) <=> P /\ (?x. Q x)
% Assm: h4/relation/RTC__SINGLE: !y x R. R x y ==> h4/relation/RTC R x y
% Assm: h4/relation/RTC__RTC: !y x R. h4/relation/RTC R x y ==> (!z. h4/relation/RTC R y z ==> h4/relation/RTC R x z)
% Assm: h4/relation/RTC__TRANSITIVE: !R. h4/relation/transitive (h4/relation/RTC R)
% Assm: h4/relation/antisymmetric__def: !R. h4/relation/antisymmetric R <=> (!x y. R x y /\ R y x ==> x = y)
% Assm: h4/relation/irreflexive__def: !R. h4/relation/irreflexive R <=> (!x. ~R x x)
% Assm: h4/relation/TC__RULES_c1: !z y x R. h4/relation/TC R x y /\ h4/relation/TC R y z ==> h4/relation/TC R x z
% Assm: h4/relation/RTC__INDUCT: !R P. (!x. P x x) /\ (!x y z. R x y /\ P y z ==> P x z) ==> (!x y. h4/relation/RTC R x y ==> P x y)
% Assm: h4/relation/SC__SYMMETRIC: !R. h4/relation/symmetric (h4/relation/SC R)
% Assm: h4/relation/RTC__STRONG__INDUCT: !R P. (!x. P x x) /\ (!x y z. R x y /\ h4/relation/RTC R y z /\ P y z ==> P x z) ==> (!x y. h4/relation/RTC R x y ==> P x y)
% 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/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/relation/transitive__RTC: !R. h4/relation/transitive (h4/relation/RTC R)
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/combin/UPDATE__def: !b a. h4/combin/UPDATE a b = (\f c. h4/bool/COND (a = c) b (f c))
% Assm: h4/bool/TYPE__DEFINITION__THM: !rep P. h4/bool/TYPE__DEFINITION P rep <=> (!x_27 x_27_27. rep x_27 = rep x_27_27 ==> x_27 = x_27_27) /\ (!x. P x <=> (?x_27. x = rep x_27))
% Assm: h4/bool/TYPE__DEFINITION0: h4/bool/TYPE__DEFINITION = (\P rep. (!x_27 x_27_27. rep x_27 = rep x_27_27 ==> x_27 = x_27_27) /\ (!x. P x <=> (?x_27. x = rep x_27)))
% Assm: h4/bool/FUN__EQ__THM: !g f. f = g <=> (!x. f x = g x)
% Assm: h4/combin/S__THM: !x g f. h4/combin/S f g x = f x (g x)
% Assm: h4/combin/S__ABS__R: !g f. h4/combin/S f (\x. g x) = (\x. f x (g x))
% Assm: h4/combin/K__THM: !y x. h4/combin/K x y = x
% Assm: h4/combin/K__o__THM_c1: !v f. h4/combin/o f (h4/combin/K v) = h4/combin/K (f v)
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Assm: h4/bool/OR__DEF: $or = (\t1 t2. !t. (t1 ==> t) ==> (t2 ==> t) ==> t)
% Assm: h4/bool/F__DEF: F <=> (!t. t)
% Assm: h4/bool/EXISTS__UNIQUE__DEF: h4/bool/_3F_21 = (\P. $exists P /\ (!x y. P x /\ P y ==> x = y))
% 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/combin/APPLY__UPDATE__ID: !f a. h4/combin/UPDATE a (f a) f = f
% Assm: h4/combin/UPDATE__APPLY__ID: !f b a. f a = b <=> h4/combin/UPDATE a b f = f
% Assm: h4/combin/GEN__literal__case__RAND: !v f P. P (h4/bool/literal__case f v) = h4/bool/literal__case (h4/combin/o P f) v
% Assm: h4/bool/literal__case__THM: !x f. h4/bool/literal__case f x = f x
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/RES__FORALL__DEF: h4/bool/RES__FORALL = (\p m. !x. h4/bool/IN x p ==> m x)
% Assm: h4/bool/RES__FORALL__CONG: !g f Q P. P = Q ==> (!x. h4/bool/IN x Q ==> (f x <=> g x)) ==> (h4/bool/RES__FORALL P f <=> h4/bool/RES__FORALL Q g)
% Assm: h4/bool/AND1__THM: !t2 t1. t1 /\ t2 ==> t1
% Assm: h4/bool/MONO__IMP: !z y x w. (y ==> x) /\ (z ==> w) ==> (x ==> z) ==> y ==> w
% Assm: h4/bool/T__DEF: T <=> (\x. x) = (\x. x)
% Assm: h4/bool/IN__DEF: h4/bool/IN = (\x f. f x)
% Assm: h4/bool/AND__DEF: $and = (\t1 t2. !t. (t1 ==> t2 ==> t) ==> t)
% Assm: h4/bool/AND__INTRO__THM: !t2 t1. t1 ==> t2 ==> t1 /\ t2
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/bool/EXISTS__DEF: $exists = (\P. P (h4/min/_40 P))
% Assm: h4/bool/UNWIND__THM1: !a P. (?x. a = x /\ P x) <=> P a
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/COND__DEF: h4/bool/COND = (\t t1 t2. h4/min/_40 (\x. ((t <=> T) ==> x = t1) /\ ((t <=> F) ==> x = t2)))
% Assm: h4/bool/NOT__DEF: $not = (\t. t ==> F)
% Assm: h4/bool/boolAxiom: !t2 t1. ?fn. fn T = t1 /\ fn F = t2
% Assm: h4/bool/CONJ__COMM: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm: h4/bool/SELECT__REFL: !x. h4/min/_40 (\y. y = x) = x
% Assm: h4/bool/UEXISTS__OR__THM: !Q P. h4/bool/_3F_21 (\x. P x \/ Q x) ==> h4/bool/_3F_21 (\x. P x) \/ h4/bool/_3F_21 (\x. Q x)
% Assm: h4/bool/RES__FORALL__THM: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> f x)
% Assm: h4/bool/RES__FORALL__TRUE: !P. h4/bool/RES__FORALL P (\x. T) <=> T
% Assm: h4/bool/literal__case__DEF: h4/bool/literal__case = (\f x. f x)
% Assm: h4/bool/ONE__ONE__DEF: h4/bool/ONE__ONE = (\f. !x1 x2. f x1 = f x2 ==> x1 = x2)
% Assm: h4/bool/RES__SELECT__DEF: h4/bool/RES__SELECT = (\p m. h4/min/_40 (\x. h4/bool/IN x p /\ m x))
% Assm: h4/bool/OR__ELIM__THM: !t2 t1 t. t1 \/ t2 ==> (t1 ==> t) ==> (t2 ==> t) ==> t
% Assm: h4/bool/literal__case__id: !u t a. h4/bool/literal__case (\x. h4/bool/COND (x = a) t u) a = t
% Assm: h4/combin/C__DEF: h4/combin/C = (\f x y. f y x)
% Assm: h4/bool/COND__ABS: !g f b. (\x. h4/bool/COND b (f x) (g x)) = h4/bool/COND b f g
% Assm: h4/combin/o__ABS__R: !g f. h4/combin/o f (\x. g x) = (\x. f (g x))
% Assm: h4/bool/EXCLUDED__MIDDLE0: !t. t \/ ~t
% Assm: h4/combin/I__DEF: h4/combin/I = h4/combin/S h4/combin/K h4/combin/K
% Goal: !R. h4/relation/reflexive (h4/relation/RC R)
%   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_relations_RCu_u_REFLEXIVE]: !R. h4/relation/reflexive (h4/relation/RC R)
% Assm [h4s_relations_RCu_u_DEF]: !y x R. happ (happ (h4/relation/RC R) x) y <=> x = y \/ happ (happ R x) y
% Assm [h4s_relations_reflexiveu_u_def]: !R. h4/relation/reflexive R <=> (!x. happ (happ R x) x)
% Assm [h4s_relations_EQCu_u_DEF]: !R. h4/relation/EQC R = h4/relation/RC (h4/relation/TC (h4/relation/SC R))
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ 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_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% 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_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% 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_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_combins_Iu_u_THM]: !x. happ h4/combin/I x = x
% Assm [h4s_bools_RIGHTu_u_ORu_u_EXISTSu_u_THM]: !Q P. P \/ (?x. happ Q x) <=> (?x. P \/ happ Q x)
% Assm [h4s_bools_SKOLEMu_u_THM]: !P. (!x. ?y. happ (happ P x) y) <=> (?f. !x. happ (happ P x) (happ f x))
% Assm [h4s_bools_LEFTu_u_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. happ P x /\ Q) <=> (?x. happ P x) /\ Q
% Assm [h4s_bools_RIGHTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. P \/ happ Q x) <=> P \/ (!x. happ Q x)
% 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_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~t
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !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_relations_equivalenceu_u_def]: !R. h4/relation/equivalence R <=> h4/relation/reflexive R /\ h4/relation/symmetric R /\ h4/relation/transitive R
% Assm [h4s_relations_reflexiveu_u_RTC]: !R. h4/relation/reflexive (h4/relation/RTC R)
% Assm [h4s_relations_RTCu_u_REFLEXIVE]: !R. h4/relation/reflexive (h4/relation/RTC R)
% Assm [h4s_relations_RTCu_u_RULESu_c0]: !x R. happ (happ (h4/relation/RTC R) x) x
% Assm [h4s_relations_RTCu_u_RULESu_c1]: !z y x R. happ (happ R x) y /\ happ (happ (h4/relation/RTC R) y) z ==> happ (happ (h4/relation/RTC R) x) z
% Assm [h4s_bools_DISJu_u_ASSOC]: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% 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_relations_TCu_u_DEF]: !b a R. happ (happ (h4/relation/TC R) a) b <=> (!P. (!x y. happ (happ R x) y ==> happ (happ P x) y) /\ (!x y z. happ (happ P x) y /\ happ (happ P y) z ==> happ (happ P x) z) ==> happ (happ P a) b)
% Assm [h4s_relations_TCu_u_RULESu_c0]: !y x R. happ (happ R x) y ==> happ (happ (h4/relation/TC R) x) y
% Assm [h4s_relations_transitiveu_u_def]: !R. h4/relation/transitive R <=> (!x y z. happ (happ R x) y /\ happ (happ R y) z ==> happ (happ R x) z)
% Assm [h4s_relations_TCu_u_TRANSITIVE]: !R. h4/relation/transitive (h4/relation/TC R)
% Assm [h4s_bools_LEFTu_u_ORu_u_EXISTSu_u_THM]: !Q P. (?x. happ P x) \/ Q <=> (?x. happ P x \/ Q)
% Assm [h4s_bools_EXISTSu_u_ORu_u_THM]: !Q P. (?x. happ P x \/ happ Q x) <=> (?x. happ P x) \/ (?x. happ Q x)
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_relations_RTCu_u_DEF]: !b a R. happ (happ (h4/relation/RTC R) a) b <=> (!P. (!x. happ (happ P x) x) /\ (!x y z. happ (happ R x) y /\ happ (happ P y) z ==> happ (happ P x) z) ==> happ (happ P a) b)
% Assm [h4s_bools_NOTu_u_EXISTSu_u_THM]: !P. ~(?x. happ P x) <=> (!x. ~happ P x)
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c0]: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm [h4s_relations_totalu_u_def]: !R. h4/relation/total R <=> (!x y. happ (happ R x) y \/ happ (happ R y) x)
% Assm [h4s_relations_RTCu_u_REFL]: !x R. happ (happ (h4/relation/RTC R) x) x
% Assm [h4s_relations_SCu_u_DEF]: !y x R. happ (happ (h4/relation/SC R) x) y <=> happ (happ R x) y \/ happ (happ R y) x
% Assm [h4s_relations_symmetricu_u_def]: !R. h4/relation/symmetric R <=> (!x y. happ (happ R x) y <=> happ (happ R y) x)
% Assm [h4s_relations_trichotomous0]: !R. h4/relation/trichotomous R <=> (!a b. happ (happ R a) b \/ happ (happ R b) a \/ a = b)
% Assm [h4s_bools_RIGHTu_u_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. P /\ happ Q x) <=> P /\ (?x. happ Q x)
% Assm [h4s_relations_RTCu_u_SINGLE]: !y x R. happ (happ R x) y ==> happ (happ (h4/relation/RTC R) x) y
% Assm [h4s_relations_RTCu_u_RTC]: !y x R. happ (happ (h4/relation/RTC R) x) y ==> (!z. happ (happ (h4/relation/RTC R) y) z ==> happ (happ (h4/relation/RTC R) x) z)
% Assm [h4s_relations_RTCu_u_TRANSITIVE]: !R. h4/relation/transitive (h4/relation/RTC R)
% Assm [h4s_relations_antisymmetricu_u_def]: !R. h4/relation/antisymmetric R <=> (!x y. happ (happ R x) y /\ happ (happ R y) x ==> x = y)
% Assm [h4s_relations_irreflexiveu_u_def]: !R. h4/relation/irreflexive R <=> (!x. ~happ (happ R x) x)
% Assm [h4s_relations_TCu_u_RULESu_c1]: !z y x R. happ (happ (h4/relation/TC R) x) y /\ happ (happ (h4/relation/TC R) y) z ==> happ (happ (h4/relation/TC R) x) z
% Assm [h4s_relations_RTCu_u_INDUCT]: !R P. (!x. happ (happ P x) x) /\ (!x y z. happ (happ R x) y /\ happ (happ P y) z ==> happ (happ P x) z) ==> (!x y. happ (happ (h4/relation/RTC R) x) y ==> happ (happ P x) y)
% Assm [h4s_relations_SCu_u_SYMMETRIC]: !R. h4/relation/symmetric (h4/relation/SC R)
% Assm [h4s_relations_RTCu_u_STRONGu_u_INDUCT]: !R P. (!x. happ (happ P x) x) /\ (!x y z. happ (happ R x) y /\ happ (happ (h4/relation/RTC R) y) z /\ happ (happ P y) z ==> happ (happ P x) z) ==> (!x y. happ (happ (h4/relation/RTC R) x) y ==> happ (happ P x) y)
% 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_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_relations_transitiveu_u_RTC]: !R. h4/relation/transitive (h4/relation/RTC R)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_combins_UPDATEu_u_def]: !b a x x. ?v. (v <=> a = x) /\ happ (h4/combin/UPDATE a b x) x = h4/bool/COND v b (happ x x)
% Assm [h4s_bools_TYPEu_u_DEFINITIONu_u_THM]: !rep P. h4/bool/TYPE__DEFINITION P rep <=> (!x_27 x_27_27. happ rep x_27 = happ rep x_27_27 ==> x_27 = x_27_27) /\ (!x. happ P x <=> (?x_27. x = happ rep x_27))
% Assm [h4s_bools_TYPEu_u_DEFINITION0]: !x x. h4/bool/TYPE__DEFINITION x x <=> (!x_27 x_27_27. happ x x_27 = happ x x_27_27 ==> x_27 = x_27_27) /\ (!x. happ x x <=> (?x_27. x = happ x x_27))
% Assm [h4s_bools_FUNu_u_EQu_u_THM]: !g f. f = g <=> (!x. happ f x = happ g x)
% Assm [h4s_combins_Su_u_THM]: !x g f. happ (h4/combin/S f g) x = happ (happ f x) (happ g x)
% Assm [h4s_combins_Su_u_ABSu_u_R]: !_0. (!g x. happ (happ _0 g) x = happ g x) ==> (!g f x. happ (h4/combin/S f (happ _0 g)) x = happ (happ f x) (happ g x))
% Assm [h4s_combins_Ku_u_THM]: !y x. happ (happ h4/combin/K x) y = x
% Assm [h4s_combins_Ku_u_ou_u_THMu_c1]: !v f. h4/combin/o f (happ h4/combin/K v) = happ h4/combin/K (happ f v)
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_bools_ORu_u_DEF]: !x x'. $or x x' <=> (!t. (x ==> t) ==> (x' ==> t) ==> t)
% Assm [h4s_bools_Fu_u_DEF]: F <=> (!t. t)
% Assm [h4s_bools_EXISTSu_u_UNIQUEu_u_DEF]: !x. h4/bool/_3F_21 x <=> $exists x /\ (!x y. happ x x /\ happ x y ==> x = y)
% 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_combins_APPLYu_u_UPDATEu_u_ID]: !f a. h4/combin/UPDATE a (happ f a) f = f
% Assm [h4s_combins_UPDATEu_u_APPLYu_u_ID]: !f b a. happ f a = b <=> h4/combin/UPDATE a b f = f
% Assm [h4s_combins_GENu_u_literalu_u_caseu_u_RAND]: !v f P. happ P (h4/bool/literal__case f v) = h4/bool/literal__case (h4/combin/o P f) v
% Assm [h4s_bools_literalu_u_caseu_u_THM]: !x f. h4/bool/literal__case f x = happ f x
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_RESu_u_FORALLu_u_DEF]: !x x'. h4/bool/RES__FORALL x x' <=> (!x. h4/bool/IN x x ==> happ x' x)
% Assm [h4s_bools_RESu_u_FORALLu_u_CONG]: !g f Q P. P = Q ==> (!x. h4/bool/IN x Q ==> (happ f x <=> happ g x)) ==> (h4/bool/RES__FORALL P f <=> h4/bool/RES__FORALL Q g)
% Assm [h4s_bools_AND1u_u_THM]: !t2 t1. t1 /\ t2 ==> t1
% Assm [h4s_bools_MONOu_u_IMP]: !z y x w. (y ==> x) /\ (z ==> w) ==> (x ==> z) ==> y ==> w
% Assm [h4s_bools_Tu_u_DEF]: T <=> (!x. x <=> x)
% Assm [h4s_bools_INu_u_DEF]: !x x. h4/bool/IN x x <=> happ x x
% Assm [h4s_bools_ANDu_u_DEF]: !x x'. $and x x' <=> (!t. (x ==> x' ==> t) ==> t)
% Assm [h4s_bools_ANDu_u_INTROu_u_THM]: !t2 t1. t1 ==> t2 ==> t1 /\ t2
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_bools_MONOu_u_EXISTS]: !Q P. (!x. happ P x ==> happ Q x) ==> (?x. happ P x) ==> (?x. happ Q x)
% Assm [h4s_bools_EXISTSu_u_DEF]: !x. $exists x <=> happ x (h4/min/_40 x)
% Assm [h4s_bools_UNWINDu_u_THM1]: !a P. (?x. a = x /\ happ P x) <=> happ P a
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_CONDu_u_DEF]: !_0. (!x x x' x''. happ (happ (happ (happ _0 x) x) x') x'' <=> ((x <=> T) ==> x'' = x) /\ ((x <=> F) ==> x'' = x')) ==> (!x x x'. h4/bool/COND x x x' = h4/min/_40 (happ (happ (happ _0 x) x) x'))
% Assm [h4s_bools_NOTu_u_DEF]: !x. $not x <=> x ==> F
% Assm [h4s_bools_boolAxiom]: !t2 t1. ?fn. happ fn T = t1 /\ happ fn F = t2
% Assm [h4s_bools_CONJu_u_COMM]: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm [h4s_bools_SELECTu_u_REFL]: !_0. (!x y. happ (happ _0 x) y <=> y = x) ==> (!x. h4/min/_40 (happ _0 x) = x)
% Assm [h4s_bools_UEXISTSu_u_ORu_u_THM]: !_1. (!P x. happ (happ _1 P) x <=> happ P x) ==> (!_0. (!P Q x. happ (happ (happ _0 P) Q) x <=> happ P x \/ happ Q x) ==> (!Q P. h4/bool/_3F_21 (happ (happ _0 P) Q) ==> h4/bool/_3F_21 (happ _1 P) \/ h4/bool/_3F_21 (happ _1 Q)))
% Assm [h4s_bools_RESu_u_FORALLu_u_THM]: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> happ f x)
% Assm [h4s_bools_RESu_u_FORALLu_u_TRUE]: !_0. (!x. happ _0 x <=> T) ==> (!P. h4/bool/RES__FORALL P _0 <=> T)
% Assm [h4s_bools_literalu_u_caseu_u_DEF]: !x x. h4/bool/literal__case x x = happ x x
% Assm [h4s_bools_ONEu_u_ONEu_u_DEF]: !x. h4/bool/ONE__ONE x <=> (!x1 x2. happ x x1 = happ x x2 ==> x1 = x2)
% Assm [h4s_bools_RESu_u_SELECTu_u_DEF]: !_0. (!x x' x. happ (happ (happ _0 x) x') x <=> h4/bool/IN x x /\ happ x' x) ==> (!x x'. h4/bool/RES__SELECT x x' = h4/min/_40 (happ (happ _0 x) x'))
% Assm [h4s_bools_ORu_u_ELIMu_u_THM]: !t2 t1 t. t1 \/ t2 ==> (t1 ==> t) ==> (t2 ==> t) ==> t
% Assm [h4s_bools_literalu_u_caseu_u_id]: !_0. (!a t u x. ?v. (v <=> x = a) /\ happ (happ (happ (happ _0 a) t) u) x = h4/bool/COND v t u) ==> (!u t a. h4/bool/literal__case (happ (happ (happ _0 a) t) u) a = t)
% Assm [h4s_combins_Cu_u_DEF]: !x x x. h4/combin/C x x x = happ (happ x x) x
% Assm [h4s_bools_CONDu_u_ABS]: !g f b x. h4/bool/COND b (happ f x) (happ g x) = happ (h4/bool/COND b f g) x
% Assm [h4s_combins_ou_u_ABSu_u_R]: !_0. (!g x. happ (happ _0 g) x = happ g x) ==> (!g f x. happ (h4/combin/o f (happ _0 g)) x = happ f (happ g x))
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE0]: !t. t \/ ~t
% Assm [h4s_combins_Iu_u_DEF]: h4/combin/I = h4/combin/S h4/combin/K h4/combin/K
% Goal: !R. h4/relation/reflexive (h4/relation/RC R)
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(aHLu_EXT, axiom, ![TV_Q1354867,TV_Q1354863]: ![V_f, V_g]: (![V_x]: s(TV_Q1354863,happ(s(t_fun(TV_Q1354867,TV_Q1354863),V_f),s(TV_Q1354867,V_x))) = s(TV_Q1354863,happ(s(t_fun(TV_Q1354867,TV_Q1354863),V_g),s(TV_Q1354867,V_x))) => s(t_fun(TV_Q1354867,TV_Q1354863),V_f) = s(t_fun(TV_Q1354867,TV_Q1354863),V_g))).
fof(ah4s_relations_RCu_u_REFLEXIVE, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_relations_RCu_u_DEF, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) <=> (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))))))).
fof(ah4s_relations_reflexiveu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))))).
fof(ah4s_relations_EQCu_u_DEF, axiom, ![TV_u_27a]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_eqc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))) = s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_sc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))))))).
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_TRUTH, axiom, p(s(t_bool,t))).
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_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_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_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
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_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_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
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_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_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_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_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_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_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_NOTu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![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]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
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_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_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_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i),s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_bools_RIGHTu_u_ORu_u_EXISTSu_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_SKOLEMu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_P]: (![V_x]: ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) <=> ?[V_f]: ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))))))).
fof(ah4s_bools_LEFTu_u_EXISTSu_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,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_FORALLu_u_ORu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![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))))) <=> (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))))))).
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_CONJu_u_ASSOC, 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_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_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => 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_BOOLu_u_CASESu_u_AX, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (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,t)) | p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
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_relations_equivalenceu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_equivalence(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> (p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) & (p(s(t_bool,h4s_relations_symmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) & p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))))))).
fof(ah4s_relations_reflexiveu_u_RTC, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_relations_RTCu_u_REFLEXIVE, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_relations_RTCu_u_RULESu_c0, axiom, ![TV_u_27a]: ![V_x, V_R]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_x))))).
fof(ah4s_relations_RTCu_u_RULESu_c1, axiom, ![TV_u_27a]: ![V_z, V_y, V_x, V_R]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))).
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_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_relations_TCu_u_DEF, axiom, ![TV_u_27a]: ![V_b, V_a, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_a))),s(TV_u_27a,V_b)))) <=> ![V_P]: ((![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))))) & ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_a))),s(TV_u_27a,V_b))))))).
fof(ah4s_relations_TCu_u_RULESu_c0, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))))).
fof(ah4s_relations_transitiveu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_z))))))).
fof(ah4s_relations_TCu_u_TRANSITIVE, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_bools_LEFTu_u_ORu_u_EXISTSu_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_EXISTSu_u_ORu_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_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_relations_RTCu_u_DEF, axiom, ![TV_u_27a]: ![V_b, V_a, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_a))),s(TV_u_27a,V_b)))) <=> ![V_P]: ((![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))) & ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_a))),s(TV_u_27a,V_b))))))).
fof(ah4s_bools_NOTu_u_EXISTSu_u_THM, axiom, ![TV_u_27a]: ![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]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_DEu_u_MORGANu_u_THMu_c0, 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_relations_totalu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_total(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x))))))).
fof(ah4s_relations_RTCu_u_REFL, axiom, ![TV_u_27a]: ![V_x, V_R]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_x))))).
fof(ah4s_relations_SCu_u_DEF, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_sc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x))))))).
fof(ah4s_relations_symmetricu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_symmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x))))).
fof(ah4s_relations_trichotomous0, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_trichotomous(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_a, V_b]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_a))),s(TV_u_27a,V_b)))) | (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_b))),s(TV_u_27a,V_a)))) | s(TV_u_27a,V_a) = s(TV_u_27a,V_b))))).
fof(ah4s_bools_RIGHTu_u_EXISTSu_u_ANDu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: (?[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))))) <=> (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))))))).
fof(ah4s_relations_RTCu_u_SINGLE, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))))).
fof(ah4s_relations_RTCu_u_RTC, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => ![V_z]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_y))),s(TV_u_27a,V_z)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_z))))))).
fof(ah4s_relations_RTCu_u_TRANSITIVE, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_relations_antisymmetricu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_antisymmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x))))) => s(TV_u_27a,V_x) = s(TV_u_27a,V_y)))).
fof(ah4s_relations_irreflexiveu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_irreflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_x))))))).
fof(ah4s_relations_TCu_u_RULESu_c1, axiom, ![TV_u_27a]: ![V_z, V_y, V_x, V_R]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_tc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))).
fof(ah4s_relations_RTCu_u_INDUCT, axiom, ![TV_u_27a]: ![V_R, V_P]: ((![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))) & ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))) => ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))))))).
fof(ah4s_relations_SCu_u_SYMMETRIC, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_symmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_sc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_relations_RTCu_u_STRONGu_u_INDUCT, axiom, ![TV_u_27a]: ![V_R, V_P]: ((![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))) & ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_y))),s(TV_u_27a,V_z)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_y))),s(TV_u_27a,V_z)))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_z)))))) => ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))))))).
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_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_relations_transitiveu_u_RTC, axiom, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rtc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_combins_UPDATEu_u_def, axiom, ![TV_u_27b,TV_u_27a]: ![V_b, V_a, V_x, V_x0]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(TV_u_27a,V_a) = s(TV_u_27a,V_x0)) & s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_update(s(TV_u_27a,V_a),s(TV_u_27b,V_b),s(t_fun(TV_u_27a,TV_u_27b),V_x))),s(TV_u_27a,V_x0))) = s(TV_u_27b,h4s_bools_cond(s(t_bool,V_v),s(TV_u_27b,V_b),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x0))))))).
fof(ah4s_bools_TYPEu_u_DEFINITIONu_u_THM, axiom, ![TV_u_27a,TV_u_27b]: ![V_rep, V_P]: (p(s(t_bool,h4s_bools_typeu_u_definition(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) <=> (![V_xu_27, V_xu_27u_27]: (s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_xu_27))) = s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_xu_27u_27))) => s(TV_u_27b,V_xu_27) = s(TV_u_27b,V_xu_27u_27)) & ![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) <=> ?[V_xu_27]: s(TV_u_27a,V_x) = s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_xu_27))))))).
fof(ah4s_bools_TYPEu_u_DEFINITION0, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_x0]: (p(s(t_bool,h4s_bools_typeu_u_definition(s(t_fun(TV_u_27a,t_bool),V_x),s(t_fun(TV_u_27b,TV_u_27a),V_x0)))) <=> (![V_xu_27, V_xu_27u_27]: (s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_x0),s(TV_u_27b,V_xu_27))) = s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_x0),s(TV_u_27b,V_xu_27u_27))) => s(TV_u_27b,V_xu_27) = s(TV_u_27b,V_xu_27u_27)) & ![V_x1]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,V_x1)))) <=> ?[V_xu_27]: s(TV_u_27a,V_x1) = s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_x0),s(TV_u_27b,V_xu_27))))))).
fof(ah4s_bools_FUNu_u_EQu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_g, V_f]: (s(t_fun(TV_u_27a,TV_u_27b),V_f) = s(t_fun(TV_u_27a,TV_u_27b),V_g) <=> ![V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x))))).
fof(ah4s_combins_Su_u_THM, axiom, ![TV_u_27c,TV_u_27b,TV_u_27a]: ![V_x, V_g, V_f]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(TV_u_27a,V_x))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x)))))).
fof(ah4s_combins_Su_u_ABSu_u_R, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_uu_0]: (![V_g, V_x]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),s(t_fun(TV_u_27a,TV_u_27c),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x))) => ![V_g, V_f, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27c,TV_u_27b)),V_f),s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),s(t_fun(TV_u_27a,TV_u_27c),V_g))))),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27c,TV_u_27b)),V_f),s(TV_u_27a,V_x))),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x))))))).
fof(ah4s_combins_Ku_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27a)),h4s_combins_k),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))) = s(TV_u_27a,V_x)).
fof(ah4s_combins_Ku_u_ou_u_THMu_c1, axiom, ![TV_u_27f,TV_u_27e,TV_u_27d]: ![V_v, V_f]: s(t_fun(TV_u_27f,TV_u_27e),h4s_combins_o(s(t_fun(TV_u_27d,TV_u_27e),V_f),s(t_fun(TV_u_27f,TV_u_27d),happ(s(t_fun(TV_u_27d,t_fun(TV_u_27f,TV_u_27d)),h4s_combins_k),s(TV_u_27d,V_v))))) = s(t_fun(TV_u_27f,TV_u_27e),happ(s(t_fun(TV_u_27e,t_fun(TV_u_27f,TV_u_27e)),h4s_combins_k),s(TV_u_27e,happ(s(t_fun(TV_u_27d,TV_u_27e),V_f),s(TV_u_27d,V_v)))))).
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_bools_ORu_u_DEF, axiom, ![V_x, V_xi_]: (p(s(t_bool,d_or(s(t_bool,V_x),s(t_bool,V_xi_)))) <=> ![V_t]: ((p(s(t_bool,V_x)) => p(s(t_bool,V_t))) => ((p(s(t_bool,V_xi_)) => p(s(t_bool,V_t))) => p(s(t_bool,V_t)))))).
fof(ah4s_bools_Fu_u_DEF, axiom, (p(s(t_bool,f)) <=> ![V_t]: p(s(t_bool,V_t)))).
fof(ah4s_bools_EXISTSu_u_UNIQUEu_u_DEF, axiom, ![TV_u_27a]: ![V_x]: (p(s(t_bool,h4s_bools_u_3fu_21(s(t_fun(TV_u_27a,t_bool),V_x)))) <=> (p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_x)))) & ![V_x0, V_y]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,V_x0)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,V_y))))) => s(TV_u_27a,V_x0) = s(TV_u_27a,V_y))))).
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_combins_APPLYu_u_UPDATEu_u_ID, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_a]: s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_update(s(TV_u_27a,V_a),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_a))),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(t_fun(TV_u_27a,TV_u_27b),V_f)).
fof(ah4s_combins_UPDATEu_u_APPLYu_u_ID, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_b, V_a]: (s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_a))) = s(TV_u_27b,V_b) <=> s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_update(s(TV_u_27a,V_a),s(TV_u_27b,V_b),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(t_fun(TV_u_27a,TV_u_27b),V_f))).
fof(ah4s_combins_GENu_u_literalu_u_caseu_u_RAND, axiom, ![TV_u_27a,TV_u_27b,TV_u_27c]: ![V_v, V_f, V_P]: s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_P),s(TV_u_27b,h4s_bools_literalu_u_case(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(TV_u_27c,V_v))))) = s(TV_u_27a,h4s_bools_literalu_u_case(s(t_fun(TV_u_27c,TV_u_27a),h4s_combins_o(s(t_fun(TV_u_27b,TV_u_27a),V_P),s(t_fun(TV_u_27c,TV_u_27b),V_f))),s(TV_u_27c,V_v)))).
fof(ah4s_bools_literalu_u_caseu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(TV_u_27b,h4s_bools_literalu_u_case(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))).
fof(ah4s_bools_ETAu_u_AX, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x)))).
fof(ah4s_bools_RESu_u_FORALLu_u_DEF, axiom, ![TV_u_27a]: ![V_x, V_xi_]: (p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_x),s(t_fun(TV_u_27a,t_bool),V_xi_)))) <=> ![V_x0]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x0),s(t_fun(TV_u_27a,t_bool),V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_xi_),s(TV_u_27a,V_x0))))))).
fof(ah4s_bools_RESu_u_FORALLu_u_CONG, axiom, ![TV_u_27a]: ![V_g, V_f, V_Q, V_P]: (s(t_fun(TV_u_27a,t_bool),V_P) = s(t_fun(TV_u_27a,t_bool),V_Q) => (![V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_Q)))) => s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_g),s(TV_u_27a,V_x)))) => s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f))) = s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_Q),s(t_fun(TV_u_27a,t_bool),V_g)))))).
fof(ah4s_bools_AND1u_u_THM, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t1)))).
fof(ah4s_bools_MONOu_u_IMP, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_y)) => p(s(t_bool,V_x))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) => p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) => p(s(t_bool,V_w)))))).
fof(ah4s_bools_Tu_u_DEF, axiom, (p(s(t_bool,t)) <=> ![V_x]: s(t_bool,V_x) = s(t_bool,V_x))).
fof(ah4s_bools_INu_u_DEF, axiom, ![TV_u_27a]: ![V_x, V_x0]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_x0))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x0),s(TV_u_27a,V_x)))).
fof(ah4s_bools_ANDu_u_DEF, axiom, ![V_x, V_xi_]: (p(s(t_bool,d_and(s(t_bool,V_x),s(t_bool,V_xi_)))) <=> ![V_t]: ((p(s(t_bool,V_x)) => (p(s(t_bool,V_xi_)) => p(s(t_bool,V_t)))) => p(s(t_bool,V_t))))).
fof(ah4s_bools_ANDu_u_INTROu_u_THM, axiom, ![V_t2, V_t1]: (p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => (p(s(t_bool,V_t1)) & p(s(t_bool,V_t2)))))).
fof(ah4s_bools_EQu_u_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_MONOu_u_EXISTS, 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_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_UNWINDu_u_THM1, axiom, ![TV_u_27a]: ![V_a, V_P]: (?[V_x]: (s(TV_u_27a,V_a) = 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_x))))) <=> p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_a)))))).
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_CONDu_u_CLAUSESu_c0, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,t),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t1)).
fof(ah4s_bools_CONDu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x, V_x0, V_xi_, V_xi_i_]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x))),s(t_bool,V_x0))),s(TV_u_27a,V_xi_))),s(TV_u_27a,V_xi_i_)))) <=> ((s(t_bool,V_x0) = s(t_bool,t) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_x)) & (s(t_bool,V_x0) = s(t_bool,f) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_xi_)))) => ![V_x, V_x0, V_xi_]: s(TV_u_27a,h4s_bools_cond(s(t_bool,V_x),s(TV_u_27a,V_x0),s(TV_u_27a,V_xi_))) = s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x0))),s(t_bool,V_x))),s(TV_u_27a,V_xi_))))))).
fof(ah4s_bools_NOTu_u_DEF, axiom, ![V_x]: (p(s(t_bool,d_not(s(t_bool,V_x)))) <=> (p(s(t_bool,V_x)) => p(s(t_bool,f))))).
fof(ah4s_bools_boolAxiom, axiom, ![TV_u_27a]: ![V_t2, V_t1]: ?[V_fn]: (s(TV_u_27a,happ(s(t_fun(t_bool,TV_u_27a),V_fn),s(t_bool,t))) = s(TV_u_27a,V_t1) & s(TV_u_27a,happ(s(t_fun(t_bool,TV_u_27a),V_fn),s(t_bool,f))) = s(TV_u_27a,V_t2))).
fof(ah4s_bools_CONJu_u_COMM, 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))))).
fof(ah4s_bools_SELECTu_u_REFL, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_uu_0),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x)) => ![V_x]: s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_uu_0),s(TV_u_27a,V_x))))) = s(TV_u_27a,V_x))).
fof(ah4s_bools_UEXISTSu_u_ORu_u_THM, axiom, ![TV_u_27a]: ![V_uu_1]: (![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_1),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_uu_0]: (![V_P, V_Q, V_x]: (p(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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),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(t_fun(TV_u_27a,t_bool),V_Q))),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_x)))) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x)))))) => ![V_Q, 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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),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(t_fun(TV_u_27a,t_bool),V_Q)))))) => (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_1),s(t_fun(TV_u_27a,t_bool),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_1),s(t_fun(TV_u_27a,t_bool),V_Q))))))))))).
fof(ah4s_bools_RESu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f)))) <=> ![V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_P)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_RESu_u_FORALLu_u_TRUE, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_uu_0),s(TV_u_27a,V_x))) = s(t_bool,t) => ![V_P]: s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_uu_0))) = s(t_bool,t))).
fof(ah4s_bools_literalu_u_caseu_u_DEF, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_x0]: s(TV_u_27b,h4s_bools_literalu_u_case(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x0))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x0)))).
fof(ah4s_bools_ONEu_u_ONEu_u_DEF, axiom, ![TV_u_27b,TV_u_27a]: ![V_x]: (p(s(t_bool,h4s_bools_oneu_u_one(s(t_fun(TV_u_27a,TV_u_27b),V_x)))) <=> ![V_x1, V_x2]: (s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x1))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x2))) => s(TV_u_27a,V_x1) = s(TV_u_27a,V_x2)))).
fof(ah4s_bools_RESu_u_SELECTu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x, V_xi_, V_x0]: (p(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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),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_x))),s(t_fun(TV_u_27a,t_bool),V_xi_))),s(TV_u_27a,V_x0)))) <=> (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x0),s(t_fun(TV_u_27a,t_bool),V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_xi_),s(TV_u_27a,V_x0)))))) => ![V_x, V_xi_]: s(TV_u_27a,h4s_bools_resu_u_select(s(t_fun(TV_u_27a,t_bool),V_x),s(t_fun(TV_u_27a,t_bool),V_xi_))) = s(TV_u_27a,h4s_mins_u_40(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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),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_x))),s(t_fun(TV_u_27a,t_bool),V_xi_))))))).
fof(ah4s_bools_ORu_u_ELIMu_u_THM, axiom, ![V_t2, V_t1, V_t]: ((p(s(t_bool,V_t1)) | p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t))) => p(s(t_bool,V_t)))))).
fof(ah4s_bools_literalu_u_caseu_u_id, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_0]: (![V_a, V_t, V_u, V_x]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_a)) & s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b))),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)))),V_uu_0),s(TV_u_27a,V_a))),s(TV_u_27b,V_t))),s(TV_u_27b,V_u))),s(TV_u_27a,V_x))) = s(TV_u_27b,h4s_bools_cond(s(t_bool,V_v),s(TV_u_27b,V_t),s(TV_u_27b,V_u)))) => ![V_u, V_t, V_a]: s(TV_u_27b,h4s_bools_literalu_u_case(s(t_fun(TV_u_27a,TV_u_27b),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b))),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)))),V_uu_0),s(TV_u_27a,V_a))),s(TV_u_27b,V_t))),s(TV_u_27b,V_u))),s(TV_u_27a,V_a))) = s(TV_u_27b,V_t))).
fof(ah4s_combins_Cu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_x, V_x0, V_x1]: s(TV_u_27c,h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27b,V_x0),s(TV_u_27a,V_x1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27a,V_x1))),s(TV_u_27b,V_x0)))).
fof(ah4s_bools_CONDu_u_ABS, axiom, ![TV_u_27b,TV_u_27a]: ![V_g, V_f, V_b, V_x]: s(TV_u_27b,h4s_bools_cond(s(t_bool,V_b),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x))))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_bools_cond(s(t_bool,V_b),s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g))),s(TV_u_27a,V_x)))).
fof(ah4s_combins_ou_u_ABSu_u_R, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_uu_0]: (![V_g, V_x]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),s(t_fun(TV_u_27a,TV_u_27c),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x))) => ![V_g, V_f, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),s(t_fun(TV_u_27a,TV_u_27c),V_g))))),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE0, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_combins_Iu_u_DEF, axiom, ![TV_u_27a]: s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i) = s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(t_fun(TV_u_27a,TV_u_27a),TV_u_27a)),h4s_combins_k),s(t_fun(TV_u_27a,t_fun(TV_u_27a,TV_u_27a)),h4s_combins_k)))).
fof(ch4s_relations_reflexiveu_u_RC, conjecture, ![TV_u_27a]: ![V_R]: p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_rc(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))).
