%   ORIGINAL: h4/quotient/LEFT__RES__EXISTS__REGULAR
% 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/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/RES__EXISTS__DEF: h4/bool/RES__EXISTS = (\p m. ?x. h4/bool/IN x p /\ m x)
% 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__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/pred__set/SPECIFICATION: !x P. h4/bool/IN x P <=> P x
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/EXISTS__DEF: $exists = (\P. P (h4/min/_40 P))
% Assm: h4/quotient/EQUIV__RES__EXISTS: !P E. h4/quotient/EQUIV E ==> (h4/bool/RES__EXISTS (h4/quotient/respects E) P <=> $exists P)
% Assm: h4/res__quan/RES__EXISTS__UNIV: !p. h4/bool/RES__EXISTS h4/pred__set/UNIV p <=> $exists p
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/EXISTS__THM: !f. $exists f <=> (?x. f x)
% Assm: h4/bool/EXISTS__UNIQUE__DEF: h4/bool/_3F_21 = (\P. $exists P /\ (!x y. P x /\ P y ==> x = y))
% Assm: h4/bool/JRH__INDUCT__UTIL: !t P. (!x. x = t ==> P x) ==> $exists P
% Assm: h4/quotient/EXISTS__REGULAR: !Q P. (!x. P x ==> Q x) ==> $exists P ==> $exists Q
% Assm: h4/bool/RES__EXISTS__THM: !f P. h4/bool/RES__EXISTS P f <=> (?x. h4/bool/IN x P /\ f x)
% Assm: h4/quotient/RES__EXISTS__REGULAR: !R Q P. (!x. R x ==> P x ==> Q x) ==> h4/bool/RES__EXISTS R P ==> h4/bool/RES__EXISTS R Q
% 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/res__quan/RES__EXISTS__ALT: !p m. h4/bool/RES__EXISTS p m <=> h4/bool/IN (h4/bool/RES__SELECT p m) p /\ m (h4/bool/RES__SELECT p m)
% 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/pair/PEXISTS__THM: !P. (?x y. P x y) <=> $exists (h4/pair/UNCURRY (\x y. P x y))
% Assm: h4/quotient/RES__EXISTS__EQUIV__DEF: h4/quotient/RES__EXISTS__EQUIV = (\R P. h4/bool/RES__EXISTS (h4/quotient/respects R) (\x. P x) /\ h4/bool/RES__FORALL (h4/quotient/respects R) (\x. h4/bool/RES__FORALL (h4/quotient/respects R) (\y. P x /\ P y ==> R x y)))
% Assm: h4/quotient/EXISTS__PRS: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!f. $exists f <=> h4/bool/RES__EXISTS (h4/quotient/respects R) (h4/quotient/_2D_2D_3E abs h4/combin/I f))
% Assm: h4/pred__set/IN__UNIV: !x. h4/bool/IN x h4/pred__set/UNIV
% Assm: h4/res__quan/RES__SELECT: !f P. h4/bool/RES__SELECT P f = h4/min/_40 (\x. h4/bool/IN x P /\ f x)
% Assm: h4/quotient/RESPECTS: !x R. h4/quotient/respects R x <=> R x x
% Assm: h4/quotient/EQUIV__def: !E. h4/quotient/EQUIV E <=> (!x y. E x y <=> E x = E y)
% Assm: h4/pair/ELIM__PEXISTS__EVAL: !P. $exists (h4/pair/UNCURRY (\x. P x)) <=> (?x. $exists (P x))
% Assm: h4/pair/ELIM__UNCURRY: !f. h4/pair/UNCURRY f = (\x. f (h4/pair/FST x) (h4/pair/SND x))
% Assm: h4/pair/ELIM__PEXISTS: !P. (?p. P (h4/pair/FST p) (h4/pair/SND p)) <=> (?p1 p2. P p1 p2)
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/EXISTS__OR__THM: !Q P. (?x. P x \/ Q x) <=> (?x. P x) \/ (?x. Q x)
% Assm: h4/bool/ETA__THM: !M. (\x. M x) = M
% Assm: h4/bool/RIGHT__AND__OVER__OR: !C B A. (B \/ C) /\ A <=> B /\ A \/ C /\ A
% 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/quotient/QUOTIENT__ABS__REP: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. abs (rep a) = a)
% Assm: h4/quotient/FUN__MAP__THM: !x h g f. h4/quotient/_2D_2D_3E f g h x = g (h (f x))
% Assm: h4/quotient/respects__def: h4/quotient/respects = h4/combin/W
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/combin/W__THM: !x f. h4/combin/W f x = f x x
% Assm: h4/res__quan/RES__EXISTS__UNIQUE__ALT: !p m. h4/bool/RES__EXISTS__UNIQUE p m <=> h4/bool/RES__EXISTS p (\x. m x /\ h4/bool/RES__FORALL p (\y. m y ==> y = x))
% 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__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/quotient/RES__EXISTS__EQUIV0: !m R. h4/quotient/RES__EXISTS__EQUIV R m <=> h4/bool/RES__EXISTS (h4/quotient/respects R) (\x. m x) /\ h4/bool/RES__FORALL (h4/quotient/respects R) (\x. h4/bool/RES__FORALL (h4/quotient/respects R) (\y. m x /\ m y ==> R x y))
% Assm: h4/bool/FALSITY: !t. F ==> t
% 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/res__quan/RES__EXISTS__EQUAL: !j P. h4/bool/RES__EXISTS ($equals j) (\i. P i) <=> P j
% Assm: h4/res__quan/RES__EXISTS__REORDER: !R Q P. h4/bool/RES__EXISTS P (\i. h4/bool/RES__EXISTS Q (\j. R i j)) <=> h4/bool/RES__EXISTS Q (\j. h4/bool/RES__EXISTS P (\i. R i j))
% Assm: h4/res__quan/RES__EXISTS__EMPTY: !p. ~h4/bool/RES__EXISTS h4/pred__set/EMPTY p
% Assm: h4/res__quan/RES__EXISTS__NULL: !p m. h4/bool/RES__EXISTS p (\x. m) <=> ~(p = h4/pred__set/EMPTY) /\ m
% Assm: h4/bool/RES__EXISTS__FALSE: !P. h4/bool/RES__EXISTS P (\x. F) <=> F
% Assm: h4/quotient/RES__EXISTS__PRS: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!P f. h4/bool/RES__EXISTS P f <=> h4/bool/RES__EXISTS (h4/quotient/_2D_2D_3E abs h4/combin/I P) (h4/quotient/_2D_2D_3E abs h4/combin/I f))
% Assm: h4/quotient/RES__EXISTS__RSP: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!f g. h4/quotient/_3D_3D_3D_3E R $equals f g ==> (h4/bool/RES__EXISTS (h4/quotient/respects R) f <=> h4/bool/RES__EXISTS (h4/quotient/respects R) g))
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/quotient/QUOTIENT__REP__REFL: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. R (rep a) (rep a))
% Assm: h4/bool/CONJ__SYM: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/AND__DEF: $and = (\t1 t2. !t. (t1 ==> t2 ==> t) ==> t)
% Assm: h4/pred__set/NOT__IN__EMPTY: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/quotient/FUN__REL: !g f R2 R1. h4/quotient/_3D_3D_3D_3E R1 R2 f g <=> (!x y. R1 x y ==> R2 (f x) (g y))
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% 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/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/bool/NOT__EXISTS__THM: !P. ~(?x. P x) <=> (!x. ~P x)
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/bool/LEFT__EXISTS__AND__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/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/RIGHT__FORALL__OR__THM: !Q P. (!x. P \/ Q x) <=> P \/ (!x. Q x)
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~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/LEFT__OR__EXISTS__THM: !Q P. (?x. P x) \/ Q <=> (?x. P x \/ Q)
% Assm: h4/bool/RIGHT__OR__EXISTS__THM: !Q P. P \/ (?x. Q x) <=> (?x. P \/ Q x)
% Assm: h4/bool/DISJ__ASSOC: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/DE__MORGAN__THM_c0: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/SKOLEM__THM: !P. (!x. ?y. P x y) <=> (?f. !x. P x (f x))
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/EQ__CLAUSES_c2: !t. (F <=> t) <=> ~t
% Assm: h4/pred__set/EXTENSION: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% Assm: h4/bool/AND__CLAUSES_c3: !t. t /\ F <=> F
% Assm: h4/list/EXISTS__DEF_c1: !t h P. h4/list/EXISTS P (h4/list/CONS h t) <=> P h \/ h4/list/EXISTS P t
% Assm: h4/option/some__elim: !Q P. Q (h4/option/some P) ==> (?x. P x /\ Q (h4/option/SOME x)) \/ (!x. ~P x) /\ Q h4/option/NONE
% Assm: h4/list/EVERY__MEM__MONO: !l Q P. (!x. h4/bool/IN x (h4/list/LIST__TO__SET l) /\ P x ==> Q x) /\ h4/list/EVERY P l ==> h4/list/EVERY Q l
% Assm: h4/bool/BETA__THM: !y f. (\x. f x) y = f y
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/list/hidden____20__40ind____typelist1____def: h4/list/_20_40ind__typelist1 = (\a0 a1. h4/list/_20_40ind__typelist2 ((\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a00 (h4/ind__type/FCONS a10 (\n. h4/ind__type/BOTTOM))) a0 (h4/list/_20_40ind__typelist3 a1)))
% Assm: h4/list/NIL0: h4/list/NIL = h4/list/_20_40ind__typelist0
% Assm: h4/list/hidden____20__40ind____typelist0____def: h4/list/_20_40ind__typelist0 = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR h4/num/0 h4/bool/ARB (\n. h4/ind__type/BOTTOM))
% Assm: h4/list/CONS0: h4/list/CONS = h4/list/_20_40ind__typelist1
% Assm: h4/list/list__repfns_c1: !r. (\a0_27. !_27list_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 h4/bool/ARB (\n. h4/ind__type/BOTTOM) \/ (?a0 a1. a0_270 = (\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a00 (h4/ind__type/FCONS a10 (\n. h4/ind__type/BOTTOM))) a0 a1 /\ _27list_27 a1) ==> _27list_27 a0_270) ==> _27list_27 a0_27) r <=> h4/list/_20_40ind__typelist3 (h4/list/_20_40ind__typelist2 r) = r
% Assm: h4/ind__type/FCONS0_c1: !n f a. h4/ind__type/FCONS a f (h4/num/SUC n) = f n
% Assm: h4/ind__type/FCONS0_c0: !f a. h4/ind__type/FCONS a f h4/num/0 = a
% Assm: h4/list/list__repfns_c0: !a. h4/list/_20_40ind__typelist2 (h4/list/_20_40ind__typelist3 a) = a
% Assm: h4/ind__type/CONSTR__REC: !Fn. ?f. !c i r. f (h4/ind__type/CONSTR c i r) = Fn c i r (\n. f (r n))
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/bool/MONO__OR: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm: h4/bool/MONO__AND: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/LEFT__AND__FORALL__THM: !Q P. (!x. P x) /\ Q <=> (!x. P x /\ Q)
% Assm: h4/option/some__def: !P. h4/option/some P = h4/bool/COND (?x. P x) (h4/option/SOME (h4/min/_40 (\x. P x))) h4/option/NONE
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> 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)
% Goal: !R Q P. (!x. R x ==> Q x ==> P x) ==> h4/bool/RES__EXISTS R Q ==> $exists P
%   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_ETAu_u_AX]: !t x. happ t x = happ t x
% 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_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_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_predu_u_sets_SPECIFICATION]: !x P. h4/bool/IN x P <=> happ P x
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_EXISTSu_u_DEF]: !x. $exists x <=> happ x (h4/min/_40 x)
% Assm [h4s_quotients_EQUIVu_u_RESu_u_EXISTS]: !P E. h4/quotient/EQUIV E ==> (h4/bool/RES__EXISTS (happ h4/quotient/respects E) P <=> $exists P)
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_UNIV]: !p. h4/bool/RES__EXISTS h4/pred__set/UNIV p <=> $exists p
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_EXISTSu_u_THM]: !f. $exists f <=> (?x. happ f x)
% 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_JRHu_u_INDUCTu_u_UTIL]: !t P. (!x. x = t ==> happ P x) ==> $exists P
% Assm [h4s_quotients_EXISTSu_u_REGULAR]: !Q P. (!x. happ P x ==> happ Q x) ==> $exists P ==> $exists Q
% 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_quotients_RESu_u_EXISTSu_u_REGULAR]: !R Q P. (!x. happ R x ==> happ P x ==> happ Q x) ==> h4/bool/RES__EXISTS R P ==> h4/bool/RES__EXISTS R Q
% 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_resu_u_quans_RESu_u_EXISTSu_u_ALT]: !p m. h4/bool/RES__EXISTS p m <=> h4/bool/IN (h4/bool/RES__SELECT p m) p /\ happ m (h4/bool/RES__SELECT p m)
% 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_pairs_PEXISTSu_u_THM]: !_1. (!P x y. happ (happ (happ _1 P) x) y <=> happ (happ P x) y) ==> (!_0. (!P x. happ (happ _0 P) x = happ (happ _1 P) x) ==> (!P. (?x y. happ (happ P x) y) <=> $exists (h4/pair/UNCURRY (happ _0 P))))
% Assm [h4s_quotients_RESu_u_EXISTSu_u_EQUIVu_u_DEF]: !_2. (!x x x y. happ (happ (happ (happ _2 x) x) x) y <=> happ x x /\ happ x y ==> happ (happ x x) y) ==> (!_1. (!x x x. happ (happ (happ _1 x) x) x <=> h4/bool/RES__FORALL (happ h4/quotient/respects x) (happ (happ (happ _2 x) x) x)) ==> (!_0. (!x x. happ (happ _0 x) x <=> happ x x) ==> (!x x. h4/quotient/RES__EXISTS__EQUIV x x <=> h4/bool/RES__EXISTS (happ h4/quotient/respects x) (happ _0 x) /\ h4/bool/RES__FORALL (happ h4/quotient/respects x) (happ _0 (happ (happ _1 x) x)))))
% Assm [h4s_quotients_EXISTSu_u_PRS]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!f. $exists f <=> h4/bool/RES__EXISTS (happ h4/quotient/respects R) (h4/quotient/_2D_2D_3E abs h4/combin/I f))
% Assm [h4s_predu_u_sets_INu_u_UNIV]: !x. h4/bool/IN x h4/pred__set/UNIV
% Assm [h4s_resu_u_quans_RESu_u_SELECT]: !_0. (!P f x. happ (happ (happ _0 P) f) x <=> h4/bool/IN x P /\ happ f x) ==> (!f P. h4/bool/RES__SELECT P f = h4/min/_40 (happ (happ _0 P) f))
% Assm [h4s_quotients_RESPECTS]: !x R. happ (happ h4/quotient/respects R) x <=> happ (happ R x) x
% Assm [h4s_quotients_EQUIVu_u_def]: !E. h4/quotient/EQUIV E <=> (!x y. happ (happ E x) y <=> happ E x = happ E y)
% Assm [h4s_pairs_ELIMu_u_PEXISTSu_u_EVAL]: !_0. (!P x. happ (happ _0 P) x = happ P x) ==> (!P. $exists (h4/pair/UNCURRY (happ _0 P)) <=> (?x. $exists (happ P x)))
% Assm [h4s_pairs_ELIMu_u_UNCURRY]: !f x. happ (h4/pair/UNCURRY f) x = happ (happ f (h4/pair/FST x)) (h4/pair/SND x)
% Assm [h4s_pairs_ELIMu_u_PEXISTS]: !P. (?p. happ (happ P (h4/pair/FST p)) (h4/pair/SND p)) <=> (?p1 p2. happ (happ P p1) p2)
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% 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_ETAu_u_THM]: !M x. happ M x = happ M x
% Assm [h4s_bools_RIGHTu_u_ANDu_u_OVERu_u_OR]: !C B A. (B \/ C) /\ A <=> B /\ A \/ C /\ A
% 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_quotients_QUOTIENTu_u_ABSu_u_REP]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. happ abs (happ rep a) = a)
% Assm [h4s_quotients_FUNu_u_MAPu_u_THM]: !x h g f. happ (h4/quotient/_2D_2D_3E f g h) x = happ g (happ h (happ f x))
% Assm [h4s_quotients_respectsu_u_def]: h4/quotient/respects = h4/combin/W
% Assm [h4s_combins_Iu_u_THM]: !x. happ h4/combin/I x = x
% Assm [h4s_combins_Wu_u_THM]: !x f. happ (happ h4/combin/W f) x = happ (happ f x) x
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_UNIQUEu_u_ALT]: !_1. (!m x y. happ (happ (happ _1 m) x) y <=> happ m y ==> y = x) ==> (!_0. (!p m x. happ (happ (happ _0 p) m) x <=> happ m x /\ h4/bool/RES__FORALL p (happ (happ _1 m) x)) ==> (!p m. h4/bool/RES__EXISTS__UNIQUE p m <=> h4/bool/RES__EXISTS p (happ (happ _0 p) m)))
% 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_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_quotients_RESu_u_EXISTSu_u_EQUIV0]: !_2. (!m R x y. happ (happ (happ (happ _2 m) R) x) y <=> happ m x /\ happ m y ==> happ (happ R x) y) ==> (!_1. (!m R x. happ (happ (happ _1 m) R) x <=> h4/bool/RES__FORALL (happ h4/quotient/respects R) (happ (happ (happ _2 m) R) x)) ==> (!_0. (!m x. happ (happ _0 m) x <=> happ m x) ==> (!m R. h4/quotient/RES__EXISTS__EQUIV R m <=> h4/bool/RES__EXISTS (happ h4/quotient/respects R) (happ _0 m) /\ h4/bool/RES__FORALL (happ h4/quotient/respects R) (happ _0 (happ (happ _1 m) R)))))
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% 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_resu_u_quans_RESu_u_EXISTSu_u_EQUAL]: !_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)
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_REORDER]: !_3. (!R j i. happ (happ (happ _3 R) j) i <=> happ (happ R i) j) ==> (!_2. (!P R j. happ (happ (happ _2 P) R) j <=> h4/bool/RES__EXISTS P (happ (happ _3 R) j)) ==> (!_1. (!R i j. happ (happ (happ _1 R) i) j <=> happ (happ R i) j) ==> (!_0. (!Q R i. happ (happ (happ _0 Q) R) i <=> h4/bool/RES__EXISTS Q (happ (happ _1 R) i)) ==> (!R Q P. h4/bool/RES__EXISTS P (happ (happ _0 Q) R) <=> h4/bool/RES__EXISTS Q (happ (happ _2 P) R)))))
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_EMPTY]: !p. ~h4/bool/RES__EXISTS h4/pred__set/EMPTY p
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_NULL]: !_0. (!m x. happ (happ _0 m) x <=> m) ==> (!p m. h4/bool/RES__EXISTS p (happ _0 m) <=> ~(p = h4/pred__set/EMPTY) /\ m)
% Assm [h4s_bools_RESu_u_EXISTSu_u_FALSE]: !_0. (!x. happ _0 x <=> F) ==> (!P. h4/bool/RES__EXISTS P _0 <=> F)
% Assm [h4s_quotients_RESu_u_EXISTSu_u_PRS]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!P f. h4/bool/RES__EXISTS P f <=> h4/bool/RES__EXISTS (h4/quotient/_2D_2D_3E abs h4/combin/I P) (h4/quotient/_2D_2D_3E abs h4/combin/I f))
% Assm [h4s_quotients_RESu_u_EXISTSu_u_RSP]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!f g. h4/quotient/_3D_3D_3D_3E R $equals f g ==> (h4/bool/RES__EXISTS (happ h4/quotient/respects R) f <=> h4/bool/RES__EXISTS (happ h4/quotient/respects R) g))
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_quotients_QUOTIENTu_u_REPu_u_REFL]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. happ (happ R (happ rep a)) (happ rep a))
% Assm [h4s_bools_CONJu_u_SYM]: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_ANDu_u_DEF]: !x x'. $and x x' <=> (!t. (x ==> x' ==> t) ==> t)
% Assm [h4s_predu_u_sets_NOTu_u_INu_u_EMPTY]: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_quotients_FUNu_u_REL]: !g f R2 R1. h4/quotient/_3D_3D_3D_3E R1 R2 f g <=> (!x y. happ (happ R1 x) y ==> happ (happ R2 (happ f x)) (happ g y))
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% 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_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% Assm [h4s_bools_NOTu_u_EXISTSu_u_THM]: !P. ~(?x. happ P x) <=> (!x. ~happ P x)
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% 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_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. P /\ happ Q x) <=> P /\ (?x. happ Q 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_RIGHTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. P \/ happ Q x) <=> P \/ (!x. happ Q x)
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~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_LEFTu_u_ORu_u_EXISTSu_u_THM]: !Q P. (?x. happ P x) \/ Q <=> (?x. happ P x \/ Q)
% 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_DISJu_u_ASSOC]: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c0]: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% 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_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c2]: !t. (F <=> t) <=> ~t
% Assm [h4s_predu_u_sets_EXTENSION]: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c3]: !t. t /\ F <=> F
% Assm [h4s_lists_EXISTSu_u_DEFu_c1]: !t h P. h4/list/EXISTS P (happ (happ h4/list/CONS h) t) <=> happ P h \/ h4/list/EXISTS P t
% Assm [h4s_options_someu_u_elim]: !Q P. happ Q (h4/option/some P) ==> (?x. happ P x /\ happ Q (h4/option/SOME x)) \/ (!x. ~happ P x) /\ happ Q h4/option/NONE
% Assm [h4s_lists_EVERYu_u_MEMu_u_MONO]: !l Q P. (!x. h4/bool/IN x (h4/list/LIST__TO__SET l) /\ happ P x ==> happ Q x) /\ h4/list/EVERY P l ==> h4/list/EVERY Q l
% Assm [h4s_bools_BETAu_u_THM]: !y f. happ f y = happ f y
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist1u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!x x. happ (happ h4/list/_20_40ind__typelist1 x) x = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR (h4/num/SUC h4/num/0) x (h4/ind__type/FCONS (h4/list/_20_40ind__typelist3 x) _0)))
% Assm [h4s_lists_NIL0]: h4/list/NIL = h4/list/_20_40ind__typelist0
% Assm [h4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist0u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> h4/list/_20_40ind__typelist0 = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR h4/num/0 h4/bool/ARB _0)
% Assm [h4s_lists_CONS0]: h4/list/CONS = h4/list/_20_40ind__typelist1
% Assm [h4s_lists_listu_u_repfnsu_c1]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!r. (!_27list_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 h4/bool/ARB _0 \/ (?a0 a1. a0_270 = h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a0 (h4/ind__type/FCONS a1 _0) /\ happ _27list_27 a1) ==> happ _27list_27 a0_270) ==> happ _27list_27 r) <=> h4/list/_20_40ind__typelist3 (h4/list/_20_40ind__typelist2 r) = r)
% Assm [h4s_indu_u_types_FCONS0u_c1]: !n f a. happ (h4/ind__type/FCONS a f) (h4/num/SUC n) = happ f n
% Assm [h4s_indu_u_types_FCONS0u_c0]: !f a. happ (h4/ind__type/FCONS a f) h4/num/0 = a
% Assm [h4s_lists_listu_u_repfnsu_c0]: !a. h4/list/_20_40ind__typelist2 (h4/list/_20_40ind__typelist3 a) = a
% Assm [h4s_indu_u_types_CONSTRu_u_REC]: !_0. (!f r n. happ (happ (happ _0 f) r) n = happ f (happ r n)) ==> (!Fn. ?f. !c i r. happ f (h4/ind__type/CONSTR c i r) = happ (happ (happ (happ Fn c) i) r) (happ (happ _0 f) r))
% 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_MONOu_u_OR]: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm [h4s_bools_MONOu_u_AND]: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_LEFTu_u_ANDu_u_FORALLu_u_THM]: !Q P. (!x. happ P x) /\ Q <=> (!x. happ P x /\ Q)
% Assm [h4s_options_someu_u_def]: !_0. (!P x. happ (happ _0 P) x <=> happ P x) ==> (!P. ?v. (v <=> (?x. happ P x)) /\ h4/option/some P = h4/bool/COND v (h4/option/SOME (h4/min/_40 (happ _0 P))) h4/option/NONE)
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_lists_MEMu_c1]: !x t h. h4/bool/IN x (h4/list/LIST__TO__SET (happ (happ h4/list/CONS h) t)) <=> x = h \/ h4/bool/IN x (h4/list/LIST__TO__SET t)
% Goal: !R Q P. (!x. happ R x ==> happ Q x ==> happ P x) ==> h4/bool/RES__EXISTS R Q ==> $exists P
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_Q1318842,TV_Q1318838]: ![V_f, V_g]: (![V_x]: s(TV_Q1318838,happ(s(t_fun(TV_Q1318842,TV_Q1318838),V_f),s(TV_Q1318842,V_x))) = s(TV_Q1318838,happ(s(t_fun(TV_Q1318842,TV_Q1318838),V_g),s(TV_Q1318842,V_x))) => s(t_fun(TV_Q1318842,TV_Q1318838),V_f) = s(t_fun(TV_Q1318842,TV_Q1318838),V_g))).
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_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_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_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_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_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_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_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_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_quotients_EQUIVu_u_RESu_u_EXISTS, axiom, ![TV_u_27a]: ![V_P, V_E]: (p(s(t_bool,h4s_quotients_equiv(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_E)))) => 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_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_E))),s(t_fun(TV_u_27a,t_bool),V_P))) = s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P))))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_UNIV, axiom, ![TV_u_27a]: ![V_p]: s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_univ),s(t_fun(TV_u_27a,t_bool),V_p))) = s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_p)))).
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_EXISTSu_u_THM, axiom, ![TV_u_27a]: ![V_f]: (p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_f)))) <=> ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x)))))).
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_JRHu_u_INDUCTu_u_UTIL, axiom, ![TV_u_27a]: ![V_t, V_P]: (![V_x]: (s(TV_u_27a,V_x) = s(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_x))))) => p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P)))))).
fof(ah4s_quotients_EXISTSu_u_REGULAR, 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))))) => (p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P)))) => p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_Q))))))).
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_quotients_RESu_u_EXISTSu_u_REGULAR, axiom, ![TV_u_27a]: ![V_R, V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_R),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)))))) => (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_R),s(t_fun(TV_u_27a,t_bool),V_P)))) => p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_R),s(t_fun(TV_u_27a,t_bool),V_Q))))))).
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_resu_u_quans_RESu_u_EXISTSu_u_ALT, axiom, ![TV_u_27a]: ![V_p, V_m]: (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_m)))) <=> (p(s(t_bool,h4s_bools_in(s(TV_u_27a,h4s_bools_resu_u_select(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_bool),V_m))),s(t_fun(TV_u_27a,t_bool),V_p)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_m),s(TV_u_27a,h4s_bools_resu_u_select(s(t_fun(TV_u_27a,t_bool),V_p),s(t_fun(TV_u_27a,t_bool),V_m))))))))).
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_pairs_PEXISTSu_u_THM, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_1]: (![V_P, V_x, V_y]: 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)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_1),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))) = 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_uu_0]: (![V_P, V_x]: s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P))),s(TV_u_27a,V_x))) = s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P))),s(TV_u_27a,V_x))) => ![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)))) <=> p(s(t_bool,d_exists(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),h4s_pairs_uncurry(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P)))))))))))).
fof(ah4s_quotients_RESu_u_EXISTSu_u_EQUIVu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_x, V_x0, V_x1, 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_fun(TV_u_27a,t_bool)),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(t_fun(TV_u_27a,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_x))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_x0))),s(TV_u_27a,V_x1))),s(TV_u_27a,V_y)))) <=> ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,V_x1)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),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_x0),s(TV_u_27a,V_x1))),s(TV_u_27a,V_y)))))) => ![V_uu_1]: (![V_x, V_x0, V_x1]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,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_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_fun(TV_u_27a,t_bool)),V_x0))),s(TV_u_27a,V_x1))) = s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_x0))),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_fun(TV_u_27a,t_bool)),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(t_fun(TV_u_27a,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_x))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_x0))),s(TV_u_27a,V_x1))))) => ![V_uu_0]: (![V_x, 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)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_x))),s(TV_u_27a,V_x0))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,V_x0))) => ![V_x, V_x0]: (p(s(t_bool,h4s_quotients_resu_u_existsu_u_equiv(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_x),s(t_fun(TV_u_27a,t_bool),V_x0)))) <=> (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_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,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_x0)))))) & p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,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_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_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_x0))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_x)))))))))))))).
fof(ah4s_quotients_EXISTSu_u_PRS, axiom, ![TV_u_27a,TV_u_27b]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_f]: s(t_bool,d_exists(s(t_fun(TV_u_27b,t_bool),V_f))) = 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_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(t_bool,t_bool),h4s_combins_i),s(t_fun(TV_u_27b,t_bool),V_f))))))).
fof(ah4s_predu_u_sets_INu_u_UNIV, axiom, ![TV_u_27a]: ![V_x]: p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_univ))))).
fof(ah4s_resu_u_quans_RESu_u_SELECT, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_f, 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_f))),s(TV_u_27a,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)))))) => ![V_f, V_P]: s(TV_u_27a,h4s_bools_resu_u_select(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f))) = 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_P))),s(t_fun(TV_u_27a,t_bool),V_f))))))).
fof(ah4s_quotients_RESPECTS, axiom, ![TV_u_27a]: ![V_x, V_R]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))) = 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_quotients_EQUIVu_u_def, axiom, ![TV_u_27a]: ![V_E]: (p(s(t_bool,h4s_quotients_equiv(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_E)))) <=> ![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_E),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) <=> s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_E),s(TV_u_27a,V_x))) = s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_E),s(TV_u_27a,V_y)))))).
fof(ah4s_pairs_ELIMu_u_PEXISTSu_u_EVAL, axiom, ![TV_u_27b,TV_u_27a]: ![V_uu_0]: (![V_P, V_x]: s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P))),s(TV_u_27a,V_x))) = 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))) => ![V_P]: (p(s(t_bool,d_exists(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),h4s_pairs_uncurry(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P)))))))) <=> ?[V_x]: p(s(t_bool,d_exists(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))))))))).
fof(ah4s_pairs_ELIMu_u_UNCURRY, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_f, V_x]: s(TV_u_27c,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27c),h4s_pairs_uncurry(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f))),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),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,h4s_pairs_fst(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_x))))),s(TV_u_27b,h4s_pairs_snd(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_x)))))).
fof(ah4s_pairs_ELIMu_u_PEXISTS, axiom, ![TV_u_27a,TV_u_27b]: ![V_P]: (?[V_p]: 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,h4s_pairs_fst(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_p))))),s(TV_u_27b,h4s_pairs_snd(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_p)))))) <=> ?[V_p1, V_p2]: 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_p1))),s(TV_u_27b,V_p2)))))).
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_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_ETAu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_M, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_M),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_M),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_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_quotients_QUOTIENTu_u_ABSu_u_REP, axiom, ![TV_u_27a,TV_u_27b]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_a]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a))))) = s(TV_u_27b,V_a))).
fof(ah4s_quotients_FUNu_u_MAPu_u_THM, axiom, ![TV_u_27d,TV_u_27b,TV_u_27c,TV_u_27a]: ![V_x, V_h, V_g, V_f]: s(TV_u_27d,happ(s(t_fun(TV_u_27a,TV_u_27d),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27c),V_f),s(t_fun(TV_u_27b,TV_u_27d),V_g),s(t_fun(TV_u_27c,TV_u_27b),V_h))),s(TV_u_27a,V_x))) = s(TV_u_27d,happ(s(t_fun(TV_u_27b,TV_u_27d),V_g),s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),V_h),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_f),s(TV_u_27a,V_x)))))))).
fof(ah4s_quotients_respectsu_u_def, axiom, ![TV_u_27a,TV_u_27b]: s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,TV_u_27b)),t_fun(TV_u_27a,TV_u_27b)),h4s_quotients_respects) = s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,TV_u_27b)),t_fun(TV_u_27a,TV_u_27b)),h4s_combins_w)).
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_combins_Wu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,TV_u_27b)),t_fun(TV_u_27a,TV_u_27b)),h4s_combins_w),s(t_fun(TV_u_27a,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),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,TV_u_27b)),V_f),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_UNIQUEu_u_ALT, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_m, 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_1),s(t_fun(TV_u_27a,t_bool),V_m))),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_m),s(TV_u_27a,V_y)))) => s(TV_u_27a,V_y) = s(TV_u_27a,V_x))) => ![V_uu_0]: (![V_p, V_m, 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_m))),s(TV_u_27a,V_x)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_m),s(TV_u_27a,V_x)))) & 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(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_1),s(t_fun(TV_u_27a,t_bool),V_m))),s(TV_u_27a,V_x)))))))) => ![V_p, V_m]: 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_m))) = 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_p))),s(t_fun(TV_u_27a,t_bool),V_m)))))))).
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_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_quotients_RESu_u_EXISTSu_u_EQUIV0, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_m, 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)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),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(t_fun(TV_u_27a,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_m))),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),V_m),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_m),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)))))) => ![V_uu_1]: (![V_m, V_R, V_x]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,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_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_m))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))) = s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),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_fun(TV_u_27a,t_bool)),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(t_fun(TV_u_27a,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_m))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(TV_u_27a,V_x))))) => ![V_uu_0]: (![V_m, 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_m))),s(TV_u_27a,V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_m),s(TV_u_27a,V_x))) => ![V_m, V_R]: (p(s(t_bool,h4s_quotients_resu_u_existsu_u_equiv(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,t_bool),V_m)))) <=> (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_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),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_m)))))) & p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),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_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_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_m))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))))))))))))).
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_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_resu_u_quans_RESu_u_EXISTSu_u_EQUAL, 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_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))))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_REORDER, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_3]: (![V_R, V_j, V_i]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_uu_3),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27b,V_j))),s(TV_u_27a,V_i))) = 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_i))),s(TV_u_27b,V_j))) => ![V_uu_2]: (![V_P, V_R, V_j]: s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27b,V_j))) = 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(TV_u_27b,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_uu_3),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27b,V_j))))) => ![V_uu_1]: (![V_R, V_i, V_j]: 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)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_i))),s(TV_u_27b,V_j))) = 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_i))),s(TV_u_27b,V_j))) => ![V_uu_0]: (![V_Q, 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_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_bool))),V_uu_0),s(t_fun(TV_u_27b,t_bool),V_Q))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_i))) = s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27b,t_bool),V_Q),s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_uu_1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_i))))) => ![V_R, V_Q, 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),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27a,t_bool))),V_uu_0),s(t_fun(TV_u_27b,t_bool),V_Q))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))))) = s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27b,t_bool),V_Q),s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(TV_u_27b,t_bool))),V_uu_2),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)))))))))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_EMPTY, axiom, ![TV_u_27a]: ![V_p]: ~ (p(s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty),s(t_fun(TV_u_27a,t_bool),V_p)))))).
fof(ah4s_resu_u_quans_RESu_u_EXISTSu_u_NULL, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_m, V_x]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_bool,V_m))),s(TV_u_27a,V_x))) = s(t_bool,V_m) => ![V_p, V_m]: (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_bool,t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_bool,V_m)))))) <=> (~ (s(t_fun(TV_u_27a,t_bool),V_p) = s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)) & p(s(t_bool,V_m)))))).
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_quotients_RESu_u_EXISTSu_u_PRS, axiom, ![TV_u_27a,TV_u_27b]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_P, V_f]: s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27b,t_bool),V_P),s(t_fun(TV_u_27b,t_bool),V_f))) = s(t_bool,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(t_bool,t_bool),h4s_combins_i),s(t_fun(TV_u_27b,t_bool),V_P))),s(t_fun(TV_u_27a,t_bool),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(t_bool,t_bool),h4s_combins_i),s(t_fun(TV_u_27b,t_bool),V_f))))))).
fof(ah4s_quotients_RESu_u_EXISTSu_u_RSP, axiom, ![TV_u_27b,TV_u_27a]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_f, V_g]: (p(s(t_bool,h4s_quotients_u_3du_3du_3du_3e(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(t_bool,t_fun(t_bool,t_bool)),d_equals),s(t_fun(TV_u_27a,t_bool),V_f),s(t_fun(TV_u_27a,t_bool),V_g)))) => 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_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),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),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(TV_u_27a,t_bool)),h4s_quotients_respects),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_g)))))).
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_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_quotients_QUOTIENTu_u_REPu_u_REFL, axiom, ![TV_u_27a,TV_u_27b]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_a]: 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,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a))))),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a)))))))).
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_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,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_predu_u_sets_NOTu_u_INu_u_EMPTY, axiom, ![TV_u_27a]: ![V_x]: ~ (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) & p(s(t_bool,V_t))) <=> p(s(t_bool,f)))).
fof(ah4s_quotients_FUNu_u_REL, axiom, ![TV_u_27b,TV_u_27a]: ![V_g, V_f, V_R2, V_R1]: (p(s(t_bool,h4s_quotients_u_3du_3du_3du_3e(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R1),s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g)))) <=> ![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_R1),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R2),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_y))))))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_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_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_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_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> 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_neg, axiom, ![V_q, V_p]: ((p(s(t_bool,V_p)) <=> ~ (p(s(t_bool,V_q)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p))))))).
fof(ah4s_sats_dcu_u_conj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) & p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_r))))) & ((p(s(t_bool,V_q)) | ~ (p(s(t_bool,V_p)))) & (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p)))))))).
fof(ah4s_sats_dcu_u_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_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_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
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_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_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_IMPu_u_F, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) => ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f))))).
fof(ah4s_bools_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_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_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_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_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (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_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_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_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_DISJu_u_ASSOC, axiom, ![V_C, V_B, V_A]: ((p(s(t_bool,V_A)) | (p(s(t_bool,V_B)) | p(s(t_bool,V_C)))) <=> ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) | p(s(t_bool,V_C))))).
fof(ah4s_bools_DISJu_u_SYM, axiom, ![V_B, V_A]: ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) <=> (p(s(t_bool,V_B)) | p(s(t_bool,V_A))))).
fof(ah4s_bools_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_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_bools_DEu_u_MORGANu_u_THMu_c1, axiom, ![V_B, V_A]: (~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) <=> (~ (p(s(t_bool,V_A))) & ~ (p(s(t_bool,V_B)))))).
fof(ah4s_bools_ORu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_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_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_EQu_u_CLAUSESu_c2, axiom, ![V_t]: (s(t_bool,f) = s(t_bool,V_t) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_predu_u_sets_EXTENSION, axiom, ![TV_u_27a]: ![V_t, V_s]: (s(t_fun(TV_u_27a,t_bool),V_s) = s(t_fun(TV_u_27a,t_bool),V_t) <=> ![V_x]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s))) = s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_t))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,f))) <=> p(s(t_bool,f)))).
fof(ah4s_lists_EXISTSu_u_DEFu_c1, axiom, ![TV_u_27a]: ![V_t, V_h, V_P]: (p(s(t_bool,h4s_lists_exists(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),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_exists(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t))))))).
fof(ah4s_options_someu_u_elim, axiom, ![TV_u_27a]: ![V_Q, V_P]: (p(s(t_bool,happ(s(t_fun(t_h4s_options_option(TV_u_27a),t_bool),V_Q),s(t_h4s_options_option(TV_u_27a),h4s_options_some(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)))) & p(s(t_bool,happ(s(t_fun(t_h4s_options_option(TV_u_27a),t_bool),V_Q),s(t_h4s_options_option(TV_u_27a),h4s_options_some0(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))))) & p(s(t_bool,happ(s(t_fun(t_h4s_options_option(TV_u_27a),t_bool),V_Q),s(t_h4s_options_option(TV_u_27a),h4s_options_none)))))))).
fof(ah4s_lists_EVERYu_u_MEMu_u_MONO, axiom, ![TV_u_27a]: ![V_l, V_Q, V_P]: ((![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)))))) & 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))))) & 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_l))))) => p(s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_Q),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_bools_BETAu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_y))) = 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_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_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist1u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => ![V_x, V_x0]: s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_u_20u_40indu_u_typelist1),s(TV_u_27a,V_x))),s(t_h4s_lists_list(TV_u_27a),V_x0))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(TV_u_27a,V_x),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),V_x0))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))))))).
fof(ah4s_lists_NIL0, axiom, ![TV_u_27a]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist0)).
fof(ah4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist0u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist0) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(TV_u_27a,h4s_bools_arb),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))))).
fof(ah4s_lists_CONS0, axiom, ![TV_u_27a]: s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_cons) = s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_u_20u_40indu_u_typelist1)).
fof(ah4s_lists_listu_u_repfnsu_c1, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => ![V_r]: (![V_uu_27listu_27]: (![V_a0u_270]: ((s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(TV_u_27a,h4s_bools_arb),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))) | ?[V_a0, V_a1]: (s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(TV_u_27a,V_a0),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a1),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))) & p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a1)))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r))))) <=> s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r))))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r)))).
fof(ah4s_indu_u_types_FCONS0u_c1, axiom, ![TV_u_27a]: ![V_n, V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,V_n)))).
fof(ah4s_indu_u_types_FCONS0u_c0, axiom, ![TV_u_27a]: ![V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_0))) = s(TV_u_27a,V_a)).
fof(ah4s_lists_listu_u_repfnsu_c0, axiom, ![TV_u_27a]: ![V_a]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),V_a))))) = s(t_h4s_lists_list(TV_u_27a),V_a)).
fof(ah4s_indu_u_types_CONSTRu_u_REC, axiom, ![TV_u_27b,TV_u_27a]: ![V_uu_0]: (![V_f, V_r, V_n]: s(TV_u_27b,happ(s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_h4s_nums_num,V_n))) = s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r),s(t_h4s_nums_num,V_n))))) => ![V_Fn]: ?[V_f]: ![V_c, V_i, V_r]: s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,V_c),s(TV_u_27a,V_i),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))) = s(TV_u_27b,happ(s(t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b))),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)))),V_Fn),s(t_h4s_nums_num,V_c))),s(TV_u_27a,V_i))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))))).
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_MONOu_u_OR, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (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_MONOu_u_AND, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (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_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_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_bools_LEFTu_u_ANDu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: ((![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,V_Q))) <=> ![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,V_Q))))).
fof(ah4s_options_someu_u_def, 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]: ?[V_v]: ((p(s(t_bool,V_v)) <=> ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) & s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(t_fun(TV_u_27a,t_bool),V_P))) = s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_v),s(t_h4s_options_option(TV_u_27a),h4s_options_some0(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)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))))))),s(t_h4s_options_option(TV_u_27a),h4s_options_none)))))).
fof(ah4s_sats_pthu_u_ni2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) => p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ah4s_sats_pthu_u_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_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_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),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),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(ch4s_quotients_LEFTu_u_RESu_u_EXISTSu_u_REGULAR, conjecture, ![TV_u_27a]: ![V_R, V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_R),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)))) => 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,h4s_bools_resu_u_exists(s(t_fun(TV_u_27a,t_bool),V_R),s(t_fun(TV_u_27a,t_bool),V_Q)))) => p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P))))))).
