%   ORIGINAL: h4/res__quan/RES__EXISTS__EQUAL
% 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/RES__EXISTS__DEF: h4/bool/RES__EXISTS = (\p m. ?x. h4/bool/IN x p /\ m x)
% Assm: h4/bool/RES__EXISTS__UNIQUE__DEF: h4/bool/RES__EXISTS__UNIQUE = (\p m. h4/bool/RES__EXISTS p (\x. m x) /\ h4/bool/RES__FORALL p (\x. h4/bool/RES__FORALL p (\y. m x /\ m y ==> x = y)))
% Assm: h4/res__quan/RES__FORALL__UNIQUE: !j P. h4/bool/RES__FORALL ($equals j) (\i. P i) <=> P j
% Assm: h4/list/ALL__DISTINCT__FILTER: !l. h4/list/ALL__DISTINCT l <=> (!x. h4/bool/IN x (h4/list/LIST__TO__SET l) ==> h4/list/FILTER ($equals x) l = h4/list/CONS x h4/list/NIL)
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/res__quan/RES__EXISTS: !f P. h4/bool/RES__EXISTS P f <=> (?x. h4/bool/IN x P /\ f x)
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/pred__set/SPECIFICATION: !x P. h4/bool/IN x P <=> P x
% Assm: h4/bool/RES__EXISTS__THM: !f P. h4/bool/RES__EXISTS P f <=> (?x. h4/bool/IN x P /\ f x)
% Assm: h4/bool/FUN__EQ__THM: !g f. f = g <=> (!x. f x = g x)
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/RIGHT__AND__OVER__OR: !C B A. (B \/ C) /\ A <=> B /\ A \/ C /\ A
% Assm: h4/bool/EXISTS__OR__THM: !Q P. (?x. P x \/ Q x) <=> (?x. P x) \/ (?x. Q x)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/res__quan/RES__EXISTS__UNIQUE: !f P. h4/bool/RES__EXISTS__UNIQUE P f <=> h4/bool/RES__EXISTS P (\x. f x) /\ h4/bool/RES__FORALL P (\x. h4/bool/RES__FORALL P (\y. f x /\ f y ==> x = y))
% Assm: h4/res__quan/RES__EXISTS__DISJ__DIST: !R Q P. h4/bool/RES__EXISTS P (\i. Q i \/ R i) <=> h4/bool/RES__EXISTS P (\i. Q i) \/ h4/bool/RES__EXISTS P (\i. R i)
% Assm: h4/bool/RES__EXISTS__UNIQUE__THM: !f P. h4/bool/RES__EXISTS__UNIQUE P f <=> h4/bool/RES__EXISTS P (\x. f x) /\ h4/bool/RES__FORALL P (\x. h4/bool/RES__FORALL P (\y. f x /\ f y ==> x = y))
% Assm: h4/res__quan/RES__DISJ__EXISTS__DIST: !R Q P. h4/bool/RES__EXISTS (\i. P i \/ Q i) (\i. R i) <=> h4/bool/RES__EXISTS P (\i. R i) \/ h4/bool/RES__EXISTS Q (\i. R i)
% Assm: h4/bool/RES__EXISTS__CONG: !g f Q P. P = Q ==> (!x. h4/bool/IN x Q ==> (f x <=> g x)) ==> (h4/bool/RES__EXISTS P f <=> h4/bool/RES__EXISTS Q g)
% Assm: h4/bool/RES__EXISTS__FALSE: !P. h4/bool/RES__EXISTS P (\x. F) <=> F
% Assm: h4/combin/LET__FORALL__ELIM: !v f. h4/bool/LET f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
% Assm: h4/combin/literal__case__FORALL__ELIM: !v f. h4/bool/literal__case f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
% Assm: h4/relation/inv__Id: h4/relation/inv $equals = $equals
% Assm: h4/relation/reflexive__Id__RSUBSET: !R. h4/relation/reflexive R <=> h4/relation/RSUBSET $equals R
% Assm: h4/relation/STRORD__AND__NOT__Id: !R. h4/relation/STRORD R = h4/relation/RINTER R (h4/relation/RCOMPL $equals)
% Assm: h4/relation/O__Id: !R. h4/relation/O R $equals = R
% Assm: h4/relation/RC__OR__Id: !R. h4/relation/RC R = h4/relation/RUNION R $equals
% Assm: h4/relation/Id__O: !R. h4/relation/O $equals R = R
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~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/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% 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/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/DISJ__ASSOC: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/sat/pth__no1: !q p. ~(p \/ q) ==> ~p
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/sat/pth__no2: !q p. ~(p \/ q) ==> ~q
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Assm: h4/bool/UNWIND__THM2: !a P. (?x. x = a /\ P x) <=> P a
% Assm: h4/relation/O__DEF: !z x R2 R1. h4/relation/O R1 R2 x z <=> (?y. R2 x y /\ R1 y z)
% Assm: h4/bool/IMP__DISJ__THM: !B A. A ==> B <=> ~A \/ B
% Assm: h4/bool/UNWIND__FORALL__THM2: !v f. (!x. x = v ==> f x) <=> f v
% Assm: h4/marker/Abbrev__def: !x. h4/marker/Abbrev x <=> x
% Assm: h4/combin/S__DEF: h4/combin/S = (\f g x. f x (g x))
% Assm: h4/combin/C__DEF: h4/combin/C = (\f x y. f y x)
% Assm: h4/bool/CONJ__SYM: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/bool/AND__DEF: $and = (\t1 t2. !t. (t1 ==> t2 ==> t) ==> t)
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/list/FLAT__EQ__NIL: !ls. h4/list/FLAT ls = h4/list/NIL <=> h4/list/EVERY ($equals h4/list/NIL) ls
% Assm: h4/list/TAKE__splitAtPki: !n l. h4/list/TAKE n l = h4/list/splitAtPki (h4/combin/o h4/combin/K ($equals n)) h4/combin/K l
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/res__quan/RES__FORALL: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> f x)
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~t
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/bool/LEFT__OR__EXISTS__THM: !Q P. (?x. P x) \/ Q <=> (?x. P x \/ Q)
% Assm: h4/bool/RIGHT__EXISTS__AND__THM: !Q P. (?x. P /\ Q x) <=> P /\ (?x. Q x)
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/relation/inv__DEF: !y x R. h4/relation/inv R x y <=> R y x
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/IMP__CONG: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/list/list__INDUCT: !P. P h4/list/NIL /\ (!t. P t ==> (!h. P (h4/list/CONS h t))) ==> (!l. P l)
% Assm: h4/bool/IMP__CLAUSES_c0: !t. T ==> t <=> t
% Assm: h4/bool/EQ__IMP__THM: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm: h4/relation/STRORD0: !b a R. h4/relation/STRORD R a b <=> R a b /\ ~(a = b)
% Assm: h4/relation/RCOMPL0: !y x R. h4/relation/RCOMPL R x y <=> ~R x y
% Assm: h4/relation/RINTER0: !y x R2 R1. h4/relation/RINTER R1 R2 x y <=> R1 x y /\ R2 x y
% Assm: h4/bool/DISJ__COMM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/LET__THM: !x f. h4/bool/LET f x = f x
% Assm: h4/bool/literal__case__THM: !x f. h4/bool/literal__case f x = f x
% Assm: h4/relation/RSUBSET0: !R2 R1. h4/relation/RSUBSET R1 R2 <=> (!x y. R1 x y ==> R2 x y)
% Assm: h4/relation/reflexive__def: !R. h4/relation/reflexive R <=> (!x. R x x)
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/list/FILTER0_c0: !P. h4/list/FILTER P h4/list/NIL = h4/list/NIL
% Assm: h4/list/FILTER0_c1: !t h P. h4/list/FILTER P (h4/list/CONS h t) = h4/bool/COND (P h) (h4/list/CONS h (h4/list/FILTER P t)) (h4/list/FILTER P t)
% Assm: h4/list/CONS__11: !a1_27 a1 a0_27 a0. h4/list/CONS a0 a1 = h4/list/CONS a0_27 a1_27 <=> a0 = a0_27 /\ a1 = a1_27
% Assm: h4/list/ALL__DISTINCT0_c1: !t h. h4/list/ALL__DISTINCT (h4/list/CONS h t) <=> ~h4/bool/IN h (h4/list/LIST__TO__SET t) /\ h4/list/ALL__DISTINCT t
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/list/NOT__CONS__NIL: !a1 a0. ~(h4/list/CONS a0 a1 = h4/list/NIL)
% Assm: h4/bool/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% Assm: h4/bool/LEFT__OR__OVER__AND: !C B A. A \/ B /\ C <=> (A \/ B) /\ (A \/ C)
% Assm: h4/bool/OR__CLAUSES_c3: !t. t \/ F <=> t
% Assm: h4/list/ALL__DISTINCT0_c0: h4/list/ALL__DISTINCT h4/list/NIL <=> T
% Assm: h4/list/MEM_c1: !x t h. h4/bool/IN x (h4/list/LIST__TO__SET (h4/list/CONS h t)) <=> x = h \/ h4/bool/IN x (h4/list/LIST__TO__SET t)
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/COND__CONG: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm: h4/bool/OR__CLAUSES_c1: !t. t \/ T <=> T
% Assm: h4/bool/LEFT__AND__OVER__OR: !C B A. A /\ (B \/ C) <=> A /\ B \/ A /\ C
% Assm: h4/bool/RIGHT__OR__OVER__AND: !C B A. B /\ C \/ A <=> (B \/ A) /\ (C \/ A)
% Assm: h4/list/MEM_c0: !x. h4/bool/IN x (h4/list/LIST__TO__SET h4/list/NIL) <=> F
% Assm: h4/bool/COND__RAND: !y x f b. f (h4/bool/COND b x y) = h4/bool/COND b (f x) (f y)
% Assm: h4/bool/COND__RATOR: !x g f b. h4/bool/COND b f g x = h4/bool/COND b (f x) (g x)
% Assm: h4/bool/DISJ__IMP__THM: !R Q P. P \/ Q ==> R <=> (P ==> R) /\ (Q ==> R)
% Assm: h4/bool/COND__EXPAND: !t2 t1 b. h4/bool/COND b t1 t2 <=> (~b \/ t1) /\ (b \/ t2)
% Assm: h4/relation/RC__DEF: !y x R. h4/relation/RC R x y <=> x = y \/ R x y
% Assm: h4/relation/RUNION0: !y x R2 R1. h4/relation/RUNION R1 R2 x y <=> R1 x y \/ R2 x y
% Assm: h4/list/EVERY__DEF_c1: !t h P. h4/list/EVERY P (h4/list/CONS h t) <=> P h /\ h4/list/EVERY P t
% Assm: h4/list/EVERY__DEF_c0: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm: h4/list/FLAT0_c1: !t h. h4/list/FLAT (h4/list/CONS h t) = h4/list/APPEND h (h4/list/FLAT t)
% Assm: h4/list/FLAT0_c0: h4/list/FLAT h4/list/NIL = h4/list/NIL
% Assm: h4/list/APPEND__eq__NIL_c0: !l2 l1. h4/list/NIL = h4/list/APPEND l1 l2 <=> l1 = h4/list/NIL /\ l2 = h4/list/NIL
% Assm: h4/while/OLEAST__INTRO: !Q P. ((!n. ~P n) ==> Q h4/option/NONE) /\ (!n. P n /\ (!m. h4/prim__rec/_3C m n ==> ~P m) ==> Q (h4/option/SOME n)) ==> Q (h4/while/OLEAST P)
% Assm: h4/arithmetic/SUC__ONE__ADD: !n. h4/num/SUC n = h4/arithmetic/_2B (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) n
% Assm: h4/numeral/numeral__distrib_c27: !n. h4/arithmetic/_3C_3D (h4/arithmetic/NUMERAL n) h4/num/0 <=> h4/arithmetic/_3C_3D n h4/arithmetic/ZERO
% Assm: h4/arithmetic/NOT__LEQ: !n m. ~h4/arithmetic/_3C_3D m n <=> h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Goal: !j P. h4/bool/RES__EXISTS ($equals j) (\i. P i) <=> P j
%   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_RESu_u_EXISTSu_u_DEF]: !x x'. h4/bool/RES__EXISTS x x' <=> (?x. h4/bool/IN x x /\ happ x' x)
% Assm [h4s_bools_RESu_u_EXISTSu_u_UNIQUEu_u_DEF]: !_2. (!x' x y. happ (happ (happ _2 x') x) y <=> happ x' x /\ happ x' y ==> x = y) ==> (!_1. (!x x' x. happ (happ (happ _1 x) x') x <=> h4/bool/RES__FORALL x (happ (happ _2 x') x)) ==> (!_0. (!x' x. happ (happ _0 x') x <=> happ x' x) ==> (!x x'. h4/bool/RES__EXISTS__UNIQUE x x' <=> h4/bool/RES__EXISTS x (happ _0 x') /\ h4/bool/RES__FORALL x (happ _0 (happ (happ _1 x) x')))))
% Assm [h4s_resu_u_quans_RESu_u_FORALLu_u_UNIQUE]: !_0. (!P i. happ (happ _0 P) i <=> happ P i) ==> (!j P. h4/bool/RES__FORALL (happ $equals j) (happ _0 P) <=> happ P j)
% Assm [h4s_lists_ALLu_u_DISTINCTu_u_FILTER]: !l. h4/list/ALL__DISTINCT l <=> (!x. h4/bool/IN x (h4/list/LIST__TO__SET l) ==> h4/list/FILTER (happ $equals x) l = h4/list/CONS x h4/list/NIL)
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_resu_u_quans_RESu_u_EXISTS]: !f P. h4/bool/RES__EXISTS P f <=> (?x. h4/bool/IN x P /\ happ f x)
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_predu_u_sets_SPECIFICATION]: !x P. h4/bool/IN x P <=> happ P x
% Assm [h4s_bools_RESu_u_EXISTSu_u_THM]: !f P. h4/bool/RES__EXISTS P f <=> (?x. h4/bool/IN x P /\ happ f x)
% Assm [h4s_bools_FUNu_u_EQu_u_THM]: !g f. f = g <=> (!x. happ f x = happ g x)
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_RIGHTu_u_ANDu_u_OVERu_u_OR]: !C B A. (B \/ C) /\ A <=> B /\ A \/ C /\ A
% 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_FALSITY]: !t. F ==> t
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_UNIQUE]: !_2. (!f x y. happ (happ (happ _2 f) x) y <=> happ f x /\ happ f y ==> x = y) ==> (!_1. (!P f x. happ (happ (happ _1 P) f) x <=> h4/bool/RES__FORALL P (happ (happ _2 f) x)) ==> (!_0. (!f x. happ (happ _0 f) x <=> happ f x) ==> (!f P. h4/bool/RES__EXISTS__UNIQUE P f <=> h4/bool/RES__EXISTS P (happ _0 f) /\ h4/bool/RES__FORALL P (happ _0 (happ (happ _1 P) f)))))
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_DISJu_u_DIST]: !_1. (!Q i. happ (happ _1 Q) i <=> happ Q i) ==> (!_0. (!Q R i. happ (happ (happ _0 Q) R) i <=> happ Q i \/ happ R i) ==> (!R Q P. h4/bool/RES__EXISTS P (happ (happ _0 Q) R) <=> h4/bool/RES__EXISTS P (happ _1 Q) \/ h4/bool/RES__EXISTS P (happ _1 R)))
% Assm [h4s_bools_RESu_u_EXISTSu_u_UNIQUEu_u_THM]: !_2. (!f x y. happ (happ (happ _2 f) x) y <=> happ f x /\ happ f y ==> x = y) ==> (!_1. (!P f x. happ (happ (happ _1 P) f) x <=> h4/bool/RES__FORALL P (happ (happ _2 f) x)) ==> (!_0. (!f x. happ (happ _0 f) x <=> happ f x) ==> (!f P. h4/bool/RES__EXISTS__UNIQUE P f <=> h4/bool/RES__EXISTS P (happ _0 f) /\ h4/bool/RES__FORALL P (happ _0 (happ (happ _1 P) f)))))
% Assm [h4s_resu_u_quans_RESu_u_DISJu_u_EXISTSu_u_DIST]: !_1. (!R i. happ (happ _1 R) i <=> happ R i) ==> (!_0. (!P Q i. happ (happ (happ _0 P) Q) i <=> happ P i \/ happ Q i) ==> (!R Q P. h4/bool/RES__EXISTS (happ (happ _0 P) Q) (happ _1 R) <=> h4/bool/RES__EXISTS P (happ _1 R) \/ h4/bool/RES__EXISTS Q (happ _1 R)))
% Assm [h4s_bools_RESu_u_EXISTSu_u_CONG]: !g f Q P. P = Q ==> (!x. h4/bool/IN x Q ==> (happ f x <=> happ g x)) ==> (h4/bool/RES__EXISTS P f <=> h4/bool/RES__EXISTS Q g)
% Assm [h4s_bools_RESu_u_EXISTSu_u_FALSE]: !_0. (!x. happ _0 x <=> F) ==> (!P. h4/bool/RES__EXISTS P _0 <=> F)
% Assm [h4s_combins_LETu_u_FORALLu_u_ELIM]: !v f. h4/bool/LET f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
% Assm [h4s_combins_literalu_u_caseu_u_FORALLu_u_ELIM]: !v f. h4/bool/literal__case f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
% Assm [h4s_relations_invu_u_Id]: h4/relation/inv $equals = $equals
% Assm [h4s_relations_reflexiveu_u_Idu_u_RSUBSET]: !R. h4/relation/reflexive R <=> h4/relation/RSUBSET $equals R
% Assm [h4s_relations_STRORDu_u_ANDu_u_NOTu_u_Id]: !R. h4/relation/STRORD R = h4/relation/RINTER R (h4/relation/RCOMPL $equals)
% Assm [h4s_relations_Ou_u_Id]: !R. h4/relation/O R $equals = R
% Assm [h4s_relations_RCu_u_ORu_u_Id]: !R. h4/relation/RC R = h4/relation/RUNION R $equals
% Assm [h4s_relations_Idu_u_O]: !R. h4/relation/O $equals R = R
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~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_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_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% 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_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_DISJu_u_ASSOC]: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_sats_pthu_u_no1]: !q p. ~(p \/ q) ==> ~p
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_sats_pthu_u_no2]: !q p. ~(p \/ q) ==> ~q
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_bools_UNWINDu_u_THM2]: !a P. (?x. x = a /\ happ P x) <=> happ P a
% Assm [h4s_relations_Ou_u_DEF]: !z x R2 R1. happ (happ (h4/relation/O R1 R2) x) z <=> (?y. happ (happ R2 x) y /\ happ (happ R1 y) z)
% Assm [h4s_bools_IMPu_u_DISJu_u_THM]: !B A. A ==> B <=> ~A \/ B
% Assm [h4s_bools_UNWINDu_u_FORALLu_u_THM2]: !v f. (!x. x = v ==> happ f x) <=> happ f v
% Assm [h4s_markers_Abbrevu_u_def]: !x. happ h4/marker/Abbrev x <=> x
% Assm [h4s_combins_Su_u_DEF]: !x x x. happ (h4/combin/S x x) x = happ (happ x x) (happ x x)
% Assm [h4s_combins_Cu_u_DEF]: !x x x. happ (h4/combin/C x x) x = happ (happ x x) x
% Assm [h4s_bools_CONJu_u_SYM]: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_bools_ANDu_u_DEF]: !x x'. $and x x' <=> (!t. (x ==> x' ==> t) ==> t)
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_lists_FLATu_u_EQu_u_NIL]: !ls. h4/list/FLAT ls = h4/list/NIL <=> h4/list/EVERY (happ $equals h4/list/NIL) ls
% Assm [h4s_lists_TAKEu_u_splitAtPki]: !n l. h4/list/TAKE n l = h4/list/splitAtPki (h4/combin/o h4/combin/K (happ $equals n)) h4/combin/K l
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_resu_u_quans_RESu_u_FORALL]: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> happ f x)
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~t
% Assm [h4s_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% 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_RIGHTu_u_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. P /\ happ Q x) <=> P /\ (?x. happ Q x)
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_relations_invu_u_DEF]: !y x R. happ (happ (h4/relation/inv R) x) y <=> happ (happ R y) x
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_IMPu_u_CONG]: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_lists_listu_u_INDUCT]: !P. happ P h4/list/NIL /\ (!t. happ P t ==> (!h. happ P (h4/list/CONS h t))) ==> (!l. happ P l)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c0]: !t. T ==> t <=> t
% Assm [h4s_bools_EQu_u_IMPu_u_THM]: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm [h4s_relations_STRORD0]: !b a R. happ (happ (h4/relation/STRORD R) a) b <=> happ (happ R a) b /\ ~(a = b)
% Assm [h4s_relations_RCOMPL0]: !y x R. happ (happ (h4/relation/RCOMPL R) x) y <=> ~happ (happ R x) y
% Assm [h4s_relations_RINTER0]: !y x R2 R1. happ (happ (h4/relation/RINTER R1 R2) x) y <=> happ (happ R1 x) y /\ happ (happ R2 x) y
% Assm [h4s_bools_DISJu_u_COMM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_LETu_u_THM]: !x f. h4/bool/LET f x = happ f x
% Assm [h4s_bools_literalu_u_caseu_u_THM]: !x f. h4/bool/literal__case f x = happ f x
% Assm [h4s_relations_RSUBSET0]: !R2 R1. h4/relation/RSUBSET R1 R2 <=> (!x y. happ (happ R1 x) y ==> happ (happ R2 x) y)
% Assm [h4s_relations_reflexiveu_u_def]: !R. h4/relation/reflexive R <=> (!x. happ (happ R x) x)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_lists_FILTER0u_c0]: !P. h4/list/FILTER P h4/list/NIL = h4/list/NIL
% Assm [h4s_lists_FILTER0u_c1]: !t h P. h4/list/FILTER P (h4/list/CONS h t) = h4/bool/COND (happ P h) (h4/list/CONS h (h4/list/FILTER P t)) (h4/list/FILTER P t)
% Assm [h4s_lists_CONSu_u_11]: !a1_27 a1 a0_27 a0. h4/list/CONS a0 a1 = h4/list/CONS a0_27 a1_27 <=> a0 = a0_27 /\ a1 = a1_27
% Assm [h4s_lists_ALLu_u_DISTINCT0u_c1]: !t h. h4/list/ALL__DISTINCT (h4/list/CONS h t) <=> ~h4/bool/IN h (h4/list/LIST__TO__SET t) /\ h4/list/ALL__DISTINCT t
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_lists_NOTu_u_CONSu_u_NIL]: !a1 a0. ~(h4/list/CONS a0 a1 = h4/list/NIL)
% 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_ORu_u_OVERu_u_AND]: !C B A. A \/ B /\ C <=> (A \/ B) /\ (A \/ C)
% Assm [h4s_bools_ORu_u_CLAUSESu_c3]: !t. t \/ F <=> t
% Assm [h4s_lists_ALLu_u_DISTINCT0u_c0]: h4/list/ALL__DISTINCT h4/list/NIL <=> T
% Assm [h4s_lists_MEMu_c1]: !x t h. h4/bool/IN x (h4/list/LIST__TO__SET (h4/list/CONS h t)) <=> x = h \/ h4/bool/IN x (h4/list/LIST__TO__SET t)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_CONDu_u_CONG]: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm [h4s_bools_ORu_u_CLAUSESu_c1]: !t. t \/ T <=> T
% Assm [h4s_bools_LEFTu_u_ANDu_u_OVERu_u_OR]: !C B A. A /\ (B \/ C) <=> A /\ B \/ A /\ C
% Assm [h4s_bools_RIGHTu_u_ORu_u_OVERu_u_AND]: !C B A. B /\ C \/ A <=> (B \/ A) /\ (C \/ A)
% Assm [h4s_lists_MEMu_c0]: !x. h4/bool/IN x (h4/list/LIST__TO__SET h4/list/NIL) <=> F
% Assm [h4s_bools_CONDu_u_RAND]: !y x f b. happ f (h4/bool/COND b x y) = h4/bool/COND b (happ f x) (happ f y)
% Assm [h4s_bools_CONDu_u_RATOR]: !x g f b. happ (h4/bool/COND b f g) x = h4/bool/COND b (happ f x) (happ g x)
% Assm [h4s_bools_DISJu_u_IMPu_u_THM]: !R Q P. P \/ Q ==> R <=> (P ==> R) /\ (Q ==> R)
% Assm [h4s_bools_CONDu_u_EXPAND]: !t2 t1 b. h4/bool/COND b t1 t2 <=> (~b \/ t1) /\ (b \/ t2)
% 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_RUNION0]: !y x R2 R1. happ (happ (h4/relation/RUNION R1 R2) x) y <=> happ (happ R1 x) y \/ happ (happ R2 x) y
% Assm [h4s_lists_EVERYu_u_DEFu_c1]: !t h P. h4/list/EVERY P (h4/list/CONS h t) <=> happ P h /\ h4/list/EVERY P t
% Assm [h4s_lists_EVERYu_u_DEFu_c0]: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm [h4s_lists_FLAT0u_c1]: !t h. h4/list/FLAT (h4/list/CONS h t) = h4/list/APPEND h (h4/list/FLAT t)
% Assm [h4s_lists_FLAT0u_c0]: h4/list/FLAT h4/list/NIL = h4/list/NIL
% Assm [h4s_lists_APPENDu_u_equ_u_NILu_c0]: !l2 l1. h4/list/NIL = h4/list/APPEND l1 l2 <=> l1 = h4/list/NIL /\ l2 = h4/list/NIL
% Assm [h4s_whiles_OLEASTu_u_INTRO]: !Q P. ((!n. ~happ P n) ==> happ Q h4/option/NONE) /\ (!n. happ P n /\ (!m. h4/prim__rec/_3C m n ==> ~happ P m) ==> happ Q (h4/option/SOME n)) ==> happ Q (h4/while/OLEAST P)
% Assm [h4s_arithmetics_SUCu_u_ONEu_u_ADD]: !n. h4/num/SUC n = h4/arithmetic/_2B (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) n
% Assm [h4s_numerals_numeralu_u_distribu_c27]: !n. h4/arithmetic/_3C_3D (h4/arithmetic/NUMERAL n) h4/num/0 <=> h4/arithmetic/_3C_3D n h4/arithmetic/ZERO
% Assm [h4s_arithmetics_NOTu_u_LEQ]: !n m. ~h4/arithmetic/_3C_3D m n <=> h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Goal: !_0. (!P i. happ (happ _0 P) i <=> happ P i) ==> (!j P. h4/bool/RES__EXISTS (happ $equals j) (happ _0 P) <=> happ P j)
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_Q1368070,TV_Q1368066]: ![V_f, V_g]: (![V_x]: s(TV_Q1368066,happ(s(t_fun(TV_Q1368070,TV_Q1368066),V_f),s(TV_Q1368070,V_x))) = s(TV_Q1368066,happ(s(t_fun(TV_Q1368070,TV_Q1368066),V_g),s(TV_Q1368070,V_x))) => s(t_fun(TV_Q1368070,TV_Q1368066),V_f) = s(t_fun(TV_Q1368070,TV_Q1368066),V_g))).
fof(ah4s_bools_RESu_u_EXISTSu_u_DEF, axiom, ![TV_u_27a]: ![V_x, V_xi_]: (p(s(t_bool,h4s_bools_resu_u_exists(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_EXISTSu_u_UNIQUEu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_xi_, 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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_xi_))),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),V_xi_),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_xi_),s(TV_u_27a,V_y))))) => s(TV_u_27a,V_x) = s(TV_u_27a,V_y))) => ![V_uu_1]: (![V_x, V_xi_, V_x0]: 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_1),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))) = 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),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_xi_))),s(TV_u_27a,V_x0))))) => ![V_uu_0]: (![V_xi_, 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_xi_))),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_xi_),s(TV_u_27a,V_x))) => ![V_x, V_xi_]: (p(s(t_bool,h4s_bools_resu_u_existsu_u_unique(s(t_fun(TV_u_27a,t_bool),V_x),s(t_fun(TV_u_27a,t_bool),V_xi_)))) <=> (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_x),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_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),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),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_1),s(t_fun(TV_u_27a,t_bool),V_x))),s(t_fun(TV_u_27a,t_bool),V_xi_)))))))))))))).
fof(ah4s_resu_u_quans_RESu_u_FORALLu_u_UNIQUE, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_i]: 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_i))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_i))) => ![V_j, V_P]: s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_j))),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(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_j))))).
fof(ah4s_lists_ALLu_u_DISTINCTu_u_FILTER, axiom, ![TV_u_27a]: ![V_l]: (p(s(t_bool,h4s_lists_allu_u_distinct(s(t_h4s_lists_list(TV_u_27a),V_l)))) <=> ![V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),V_l)))))) => s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_x))),s(t_h4s_lists_list(TV_u_27a),V_l))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))))).
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_TRUTH, axiom, p(s(t_bool,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_resu_u_quans_RESu_u_EXISTS, axiom, ![TV_u_27a]: ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_exists(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_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_SIMP, axiom, ![TV_u_27a]: ![V_t]: (![V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_predu_u_sets_SPECIFICATION, axiom, ![TV_u_27a]: ![V_x, V_P]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_P))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))).
fof(ah4s_bools_RESu_u_EXISTSu_u_THM, axiom, ![TV_u_27a]: ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_exists(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_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_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_RIGHTu_u_ANDu_u_OVERu_u_OR, axiom, ![V_C, V_B, 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_A))) | (p(s(t_bool,V_C)) & p(s(t_bool,V_A)))))).
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_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_UNIQUE, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_f, 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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_f))),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),V_f),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_y))))) => s(TV_u_27a,V_x) = s(TV_u_27a,V_y))) => ![V_uu_1]: (![V_P, V_f, 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)),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_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_bool),V_f))),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),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_f))),s(TV_u_27a,V_x))))) => ![V_uu_0]: (![V_f, 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_f))),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))) => ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_existsu_u_unique(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f)))) <=> (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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_f)))))) & 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),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),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_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_bool),V_f)))))))))))))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_DISJu_u_DIST, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_Q, V_i]: 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_Q))),s(TV_u_27a,V_i))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_i))) => ![V_uu_0]: (![V_Q, V_R, V_i]: (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_Q))),s(t_fun(TV_u_27a,t_bool),V_R))),s(TV_u_27a,V_i)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_i)))) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_R),s(TV_u_27a,V_i)))))) => ![V_R, V_Q, V_P]: (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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_Q))),s(t_fun(TV_u_27a,t_bool),V_R)))))) <=> (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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)))))) | p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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_R))))))))))).
fof(ah4s_bools_RESu_u_EXISTSu_u_UNIQUEu_u_THM, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_f, 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)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_f))),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),V_f),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_y))))) => s(TV_u_27a,V_x) = s(TV_u_27a,V_y))) => ![V_uu_1]: (![V_P, V_f, 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)),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_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_bool),V_f))),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),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_f))),s(TV_u_27a,V_x))))) => ![V_uu_0]: (![V_f, 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_f))),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))) => ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_existsu_u_unique(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f)))) <=> (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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_f)))))) & 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),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),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_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_bool),V_f)))))))))))))).
fof(ah4s_resu_u_quans_RESu_u_DISJu_u_EXISTSu_u_DIST, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_R, V_i]: 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_R))),s(TV_u_27a,V_i))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_R),s(TV_u_27a,V_i))) => ![V_uu_0]: (![V_P, V_Q, V_i]: (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_i)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_i)))) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_i)))))) => ![V_R, V_Q, V_P]: (p(s(t_bool,h4s_bools_resu_u_exists(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(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_R)))))) <=> (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),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_R)))))) | p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_Q),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_R))))))))))).
fof(ah4s_bools_RESu_u_EXISTSu_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_exists(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_exists(s(t_fun(TV_u_27a,t_bool),V_Q),s(t_fun(TV_u_27a,t_bool),V_g)))))).
fof(ah4s_bools_RESu_u_EXISTSu_u_FALSE, 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,f) => ![V_P]: s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_uu_0))) = s(t_bool,f))).
fof(ah4s_combins_LETu_u_FORALLu_u_ELIM, axiom, ![TV_u_27a]: ![V_v, V_f]: s(t_bool,h4s_bools_let(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_v))) = s(t_bool,d_forall(s(t_fun(TV_u_27a,t_bool),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),h4s_combins_o(s(t_fun(t_bool,t_fun(t_bool,t_bool)),d_imply),s(t_fun(TV_u_27a,t_bool),h4s_combins_o(s(t_fun(t_bool,t_bool),h4s_markers_abbrev),s(t_fun(TV_u_27a,t_bool),h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_v))))))),s(t_fun(TV_u_27a,t_bool),V_f)))))).
fof(ah4s_combins_literalu_u_caseu_u_FORALLu_u_ELIM, axiom, ![TV_u_27a]: ![V_v, V_f]: s(t_bool,h4s_bools_literalu_u_case(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_v))) = s(t_bool,d_forall(s(t_fun(TV_u_27a,t_bool),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),h4s_combins_o(s(t_fun(t_bool,t_fun(t_bool,t_bool)),d_imply),s(t_fun(TV_u_27a,t_bool),h4s_combins_o(s(t_fun(t_bool,t_bool),h4s_markers_abbrev),s(t_fun(TV_u_27a,t_bool),h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_v))))))),s(t_fun(TV_u_27a,t_bool),V_f)))))).
fof(ah4s_relations_invu_u_Id, axiom, ![TV_u_27a]: s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_inv(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals))) = s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals)).
fof(ah4s_relations_reflexiveu_u_Idu_u_RSUBSET, axiom, ![TV_u_27a]: ![V_R]: s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))) = s(t_bool,h4s_relations_rsubset(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))).
fof(ah4s_relations_STRORDu_u_ANDu_u_NOTu_u_Id, axiom, ![TV_u_27a]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_strord(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_rinter(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_rcompl(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals)))))).
fof(ah4s_relations_Ou_u_Id, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_o(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)).
fof(ah4s_relations_RCu_u_ORu_u_Id, axiom, ![TV_u_27a]: ![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)),V_R))) = s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),h4s_relations_runion(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)),d_equals)))).
fof(ah4s_relations_Idu_u_O, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_o(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),d_equals),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)).
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_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_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_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_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_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_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_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f))))).
fof(ah4s_sats_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_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_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_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_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_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => p(s(t_bool,V_p)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
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_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_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_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_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_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_UNWINDu_u_THM2, axiom, ![TV_u_27a]: ![V_a, V_P]: (?[V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_a) & 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_relations_Ou_u_DEF, axiom, ![TV_u_27g,TV_u_27h,TV_u_27k]: ![V_z, V_x, V_R2, V_R1]: (p(s(t_bool,happ(s(t_fun(TV_u_27k,t_bool),happ(s(t_fun(TV_u_27g,t_fun(TV_u_27k,t_bool)),h4s_relations_o(s(t_fun(TV_u_27h,t_fun(TV_u_27k,t_bool)),V_R1),s(t_fun(TV_u_27g,t_fun(TV_u_27h,t_bool)),V_R2))),s(TV_u_27g,V_x))),s(TV_u_27k,V_z)))) <=> ?[V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27h,t_bool),happ(s(t_fun(TV_u_27g,t_fun(TV_u_27h,t_bool)),V_R2),s(TV_u_27g,V_x))),s(TV_u_27h,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27k,t_bool),happ(s(t_fun(TV_u_27h,t_fun(TV_u_27k,t_bool)),V_R1),s(TV_u_27h,V_y))),s(TV_u_27k,V_z))))))).
fof(ah4s_bools_IMPu_u_DISJu_u_THM, axiom, ![V_B, V_A]: ((p(s(t_bool,V_A)) => p(s(t_bool,V_B))) <=> (~ (p(s(t_bool,V_A))) | p(s(t_bool,V_B))))).
fof(ah4s_bools_UNWINDu_u_FORALLu_u_THM2, axiom, ![TV_u_27a]: ![V_v, V_f]: (![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_v) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))))) <=> p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_v)))))).
fof(ah4s_markers_Abbrevu_u_def, axiom, ![V_x]: s(t_bool,happ(s(t_fun(t_bool,t_bool),h4s_markers_abbrev),s(t_bool,V_x))) = s(t_bool,V_x)).
fof(ah4s_combins_Su_u_DEF, axiom, ![TV_u_27c,TV_u_27b,TV_u_27a]: ![V_x, V_x0, V_x1]: 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_x),s(t_fun(TV_u_27a,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,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x0),s(TV_u_27a,V_x1)))))).
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,happ(s(t_fun(TV_u_27a,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_CONJu_u_SYM, 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_EXISTSu_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_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_IMPu_u_F, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) => ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f))))).
fof(ah4s_lists_FLATu_u_EQu_u_NIL, axiom, ![TV_u_27a]: ![V_ls]: (s(t_h4s_lists_list(TV_u_27a),h4s_lists_flat(s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),V_ls))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil) <=> p(s(t_bool,h4s_lists_every(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_lists_list(TV_u_27a),t_bool)),d_equals),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))),s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),V_ls)))))).
fof(ah4s_lists_TAKEu_u_splitAtPki, axiom, ![TV_u_27a]: ![V_n, V_l]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_take(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(TV_u_27a),V_l))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_splitatpki(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),h4s_combins_o(s(t_fun(t_bool,t_fun(TV_u_27a,t_bool)),h4s_combins_k),s(t_fun(t_h4s_nums_num,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_bool)),d_equals),s(t_h4s_nums_num,V_n))))),s(t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_combins_k),s(t_h4s_lists_list(TV_u_27a),V_l)))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_resu_u_quans_RESu_u_FORALL, 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_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_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_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_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_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_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_relations_invu_u_DEF, axiom, ![TV_u_27a]: ![V_y, V_x, V_R]: 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_inv(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_bools_ANDu_u_IMPu_u_INTRO, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t3))))).
fof(ah4s_bools_IMPu_u_CONG, axiom, ![V_yu_27, V_y, V_xu_27, V_x]: ((s(t_bool,V_x) = s(t_bool,V_xu_27) & (p(s(t_bool,V_xu_27)) => s(t_bool,V_y) = s(t_bool,V_yu_27))) => ((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) <=> (p(s(t_bool,V_xu_27)) => p(s(t_bool,V_yu_27)))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,t))) <=> p(s(t_bool,t)))).
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_lists_listu_u_INDUCT, axiom, ![TV_u_27a]: ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))) & ![V_t]: (p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t)))) => ![V_h]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))))) => ![V_l]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_bools_IMPu_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_EQu_u_IMPu_u_THM, axiom, ![V_t2, V_t1]: (s(t_bool,V_t1) = s(t_bool,V_t2) <=> ((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_relations_STRORD0, 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_strord(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_a))),s(TV_u_27a,V_b)))) & ~ (s(TV_u_27a,V_a) = s(TV_u_27a,V_b))))).
fof(ah4s_relations_RCOMPL0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R]: (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)),h4s_relations_rcompl(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_x))),s(TV_u_27b,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_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_relations_RINTER0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R2, V_R1]: (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)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(TV_u_27a,V_x))),s(TV_u_27b,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_R1),s(TV_u_27a,V_x))),s(TV_u_27b,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_R2),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_bools_DISJu_u_COMM, 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_LETu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(TV_u_27b,h4s_bools_let(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_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_relations_RSUBSET0, axiom, ![TV_u_27a,TV_u_27b]: ![V_R2, V_R1]: (p(s(t_bool,h4s_relations_rsubset(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2)))) <=> ![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_R1),s(TV_u_27a,V_x))),s(TV_u_27b,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_R2),s(TV_u_27a,V_x))),s(TV_u_27b,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_bools_IMPu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
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_lists_FILTER0u_c0, axiom, ![TV_u_27a]: ![V_P]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)).
fof(ah4s_lists_FILTER0u_c1, axiom, ![TV_u_27a]: ![V_t, V_h, V_P]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t))))) = s(t_h4s_lists_list(TV_u_27a),h4s_bools_cond(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_h))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t))))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t)))))).
fof(ah4s_lists_CONSu_u_11, axiom, ![TV_u_27a]: ![V_a1u_27, V_a1, V_a0u_27, V_a0]: (s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a0),s(t_h4s_lists_list(TV_u_27a),V_a1))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a0u_27),s(t_h4s_lists_list(TV_u_27a),V_a1u_27))) <=> (s(TV_u_27a,V_a0) = s(TV_u_27a,V_a0u_27) & s(t_h4s_lists_list(TV_u_27a),V_a1) = s(t_h4s_lists_list(TV_u_27a),V_a1u_27)))).
fof(ah4s_lists_ALLu_u_DISTINCT0u_c1, axiom, ![TV_u_27a]: ![V_t, V_h]: (p(s(t_bool,h4s_lists_allu_u_distinct(s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))) <=> (~ (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_h),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),V_t))))))) & p(s(t_bool,h4s_lists_allu_u_distinct(s(t_h4s_lists_list(TV_u_27a),V_t))))))).
fof(ah4s_bools_CONDu_u_CLAUSESu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
fof(ah4s_lists_NOTu_u_CONSu_u_NIL, axiom, ![TV_u_27a]: ![V_a1, V_a0]: ~ (s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a0),s(t_h4s_lists_list(TV_u_27a),V_a1))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))).
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_ORu_u_OVERu_u_AND, 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_A)) | p(s(t_bool,V_C)))))).
fof(ah4s_bools_ORu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,f))) <=> p(s(t_bool,V_t)))).
fof(ah4s_lists_ALLu_u_DISTINCT0u_c0, axiom, ![TV_u_27a]: s(t_bool,h4s_lists_allu_u_distinct(s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(t_bool,t)).
fof(ah4s_lists_MEMu_c1, axiom, ![TV_u_27a]: ![V_x, V_t, V_h]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))))) <=> (s(TV_u_27a,V_x) = s(TV_u_27a,V_h) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),V_t))))))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_CONDu_u_CONG, axiom, ![TV_u_27a]: ![V_yu_27, V_y, V_xu_27, V_x, V_Q, V_P]: ((s(t_bool,V_P) = s(t_bool,V_Q) & ((p(s(t_bool,V_Q)) => s(TV_u_27a,V_x) = s(TV_u_27a,V_xu_27)) & (~ (p(s(t_bool,V_Q))) => s(TV_u_27a,V_y) = s(TV_u_27a,V_yu_27)))) => s(TV_u_27a,h4s_bools_cond(s(t_bool,V_P),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(TV_u_27a,h4s_bools_cond(s(t_bool,V_Q),s(TV_u_27a,V_xu_27),s(TV_u_27a,V_yu_27))))).
fof(ah4s_bools_ORu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_LEFTu_u_ANDu_u_OVERu_u_OR, 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_A)) & p(s(t_bool,V_C)))))).
fof(ah4s_bools_RIGHTu_u_ORu_u_OVERu_u_AND, axiom, ![V_C, V_B, 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_A))) & (p(s(t_bool,V_C)) | p(s(t_bool,V_A)))))).
fof(ah4s_lists_MEMu_c0, axiom, ![TV_u_27a]: ![V_x]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))))) = s(t_bool,f)).
fof(ah4s_bools_CONDu_u_RAND, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x, V_f, V_b]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,h4s_bools_cond(s(t_bool,V_b),s(TV_u_27a,V_x),s(TV_u_27a,V_y))))) = 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_f),s(TV_u_27a,V_y)))))).
fof(ah4s_bools_CONDu_u_RATOR, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_g, V_f, V_b]: 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))) = 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)))))).
fof(ah4s_bools_DISJu_u_IMPu_u_THM, 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_R))) & (p(s(t_bool,V_Q)) => p(s(t_bool,V_R)))))).
fof(ah4s_bools_CONDu_u_EXPAND, axiom, ![V_t2, V_t1, V_b]: (p(s(t_bool,h4s_bools_cond(s(t_bool,V_b),s(t_bool,V_t1),s(t_bool,V_t2)))) <=> ((~ (p(s(t_bool,V_b))) | p(s(t_bool,V_t1))) & (p(s(t_bool,V_b)) | p(s(t_bool,V_t2)))))).
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_RUNION0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R2, V_R1]: (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)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(TV_u_27a,V_x))),s(TV_u_27b,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_R1),s(TV_u_27a,V_x))),s(TV_u_27b,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_R2),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_lists_EVERYu_u_DEFu_c1, axiom, ![TV_u_27a]: ![V_t, V_h, V_P]: (p(s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_h)))) & p(s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t))))))).
fof(ah4s_lists_EVERYu_u_DEFu_c0, axiom, ![TV_u_27a]: ![V_P]: s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(t_bool,t)).
fof(ah4s_lists_FLAT0u_c1, axiom, ![TV_u_27a]: ![V_t, V_h]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_flat(s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),h4s_lists_cons(s(t_h4s_lists_list(TV_u_27a),V_h),s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),V_t))))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_append(s(t_h4s_lists_list(TV_u_27a),V_h),s(t_h4s_lists_list(TV_u_27a),h4s_lists_flat(s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),V_t)))))).
fof(ah4s_lists_FLAT0u_c0, axiom, ![TV_u_27a]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_flat(s(t_h4s_lists_list(t_h4s_lists_list(TV_u_27a)),h4s_lists_nil))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)).
fof(ah4s_lists_APPENDu_u_equ_u_NILu_c0, axiom, ![TV_u_27a]: ![V_l2, V_l1]: (s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_append(s(t_h4s_lists_list(TV_u_27a),V_l1),s(t_h4s_lists_list(TV_u_27a),V_l2))) <=> (s(t_h4s_lists_list(TV_u_27a),V_l1) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil) & s(t_h4s_lists_list(TV_u_27a),V_l2) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))).
fof(ah4s_whiles_OLEASTu_u_INTRO, axiom, ![V_Q, V_P]: (((![V_n]: ~ (p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n))))) => p(s(t_bool,happ(s(t_fun(t_h4s_options_option(t_h4s_nums_num),t_bool),V_Q),s(t_h4s_options_option(t_h4s_nums_num),h4s_options_none))))) & ![V_n]: ((p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))) & ![V_m]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) => ~ (p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_m))))))) => p(s(t_bool,happ(s(t_fun(t_h4s_options_option(t_h4s_nums_num),t_bool),V_Q),s(t_h4s_options_option(t_h4s_nums_num),h4s_options_some(s(t_h4s_nums_num,V_n)))))))) => p(s(t_bool,happ(s(t_fun(t_h4s_options_option(t_h4s_nums_num),t_bool),V_Q),s(t_h4s_options_option(t_h4s_nums_num),h4s_whiles_oleast(s(t_fun(t_h4s_nums_num,t_bool),V_P)))))))).
fof(ah4s_arithmetics_SUCu_u_ONEu_u_ADD, axiom, ![V_n]: s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_n)))).
fof(ah4s_numerals_numeralu_u_distribu_c27, axiom, ![V_n]: s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_nums_0))) = s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_zero)))).
fof(ah4s_arithmetics_NOTu_u_LEQ, axiom, ![V_n, V_m]: (~ (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))))) <=> p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_m)))))).
fof(ch4s_resu_u_quans_RESu_u_EXISTSu_u_EQUAL, conjecture, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_i]: 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_i))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_i))) => ![V_j, V_P]: s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_j))),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(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_j))))).
