%   ORIGINAL: h4/int__arith/bmarker__rewrites_c1
% 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/int__arith/bmarker__def: !b. h4/int__arith/bmarker b <=> b
% Assm: h4/int__arith/bmarker__rewrites_c0: !q p. q /\ h4/int__arith/bmarker p <=> h4/int__arith/bmarker p /\ q
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~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/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> 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/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/NOT__DEF: $not = (\t. t ==> F)
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/T__DEF: T <=> (\x. x) = (\x. x)
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/EQ__CLAUSES_c2: !t. (F <=> t) <=> ~t
% Assm: h4/bool/F__DEF: F <=> (!t. t)
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/IMP__CLAUSES_c0: !t. T ==> t <=> t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/option/IF__EQUALS__OPTION_c2: !y x P. h4/bool/COND P (h4/option/SOME x) h4/option/NONE = h4/option/SOME y <=> P /\ x = y
% Assm: h4/bool/DISJ__COMM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/OR__DEF: $or = (\t1 t2. !t. (t1 ==> t) ==> (t2 ==> t) ==> t)
% Assm: h4/ind__type/NUMSUM__INJ: !x2 x1 b2 b1. h4/ind__type/NUMSUM b1 x1 = h4/ind__type/NUMSUM b2 x2 <=> (b1 <=> b2) /\ x1 = x2
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/option/NOT__NONE__SOME: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm: h4/option/SOME__11: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% 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/option/OPTION__GUARD__EQ__THM_c0: !b. h4/option/OPTION__GUARD b = h4/option/SOME h4/one/one0 <=> b
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/EQ__IMP__THM: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% 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/bool__case__ID: !t b. h4/bool/COND b t t = t
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/bool/COND__DEF: h4/bool/COND = (\t t1 t2. h4/min/_40 (\x. ((t <=> T) ==> x = t1) /\ ((t <=> F) ==> x = t2)))
% Assm: h4/sum/cond__sum__expand_c3: !z y x P. h4/bool/COND P (h4/sum/INL x) (h4/sum/INR y) = h4/sum/INR z <=> ~P /\ z = y
% Assm: h4/ind__type/NUMSUM0: !x b. h4/ind__type/NUMSUM b x = h4/bool/COND b (h4/num/SUC (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) x)) (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) x)
% Assm: h4/numeral/numeral__eq_c3: !n. h4/arithmetic/BIT2 n = h4/arithmetic/ZERO <=> F
% Assm: h4/numeral/numeral__distrib_c17: !n. h4/arithmetic/NUMERAL n = h4/num/0 <=> n = h4/arithmetic/ZERO
% Assm: h4/arithmetic/EVEN__DOUBLE: !n. h4/arithmetic/EVEN (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n)
% Assm: h4/arithmetic/EQ__MULT__LCANCEL: !p n m. h4/arithmetic/_2A m n = h4/arithmetic/_2A m p <=> m = h4/num/0 \/ n = p
% Assm: h4/arithmetic/EVEN0_c1: !n. h4/arithmetic/EVEN (h4/num/SUC n) <=> ~h4/arithmetic/EVEN n
% Assm: h4/prim__rec/INV__SUC__EQ: !n m. h4/num/SUC m = h4/num/SUC n <=> m = n
% Assm: h4/option/OPTION__GUARD__def_c0: h4/option/OPTION__GUARD T = h4/option/SOME h4/one/one0
% Assm: h4/option/OPTION__GUARD__def_c1: h4/option/OPTION__GUARD F = h4/option/NONE
% Assm: h4/rich__list/LASTN__compute: !n longer_20than_20list l. h4/rich__list/LASTN n l = h4/bool/LET (\m. h4/bool/COND (h4/arithmetic/_3C_3D n m) (h4/list/DROP (h4/arithmetic/_2D m n) l) (h4/combin/FAIL h4/rich__list/LASTN longer_20than_20list n l)) (h4/list/LENGTH l)
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/EXCLUDED__MIDDLE0: !t. t \/ ~t
% Assm: h4/marker/Cong__def: !x. h4/marker/Cong x <=> x
% Assm: h4/bool/AND1__THM: !t2 t1. t1 /\ t2 ==> t1
% Assm: h4/bool/AND__CONG: !Q_27 Q P_27 P. (Q ==> (P <=> P_27)) /\ (P_27 ==> (Q <=> Q_27)) ==> (P /\ Q <=> P_27 /\ Q_27)
% Assm: h4/numeral/bit__initiality: !zf b2f b1f. ?f. f h4/arithmetic/ZERO = zf /\ (!n. f (h4/arithmetic/BIT1 n) = b1f n (f n)) /\ (!n. f (h4/arithmetic/BIT2 n) = b2f n (f n))
% Assm: h4/bool/bool__case__thm_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/sum/INR__INL__11_c0: !y x. h4/sum/INL x = h4/sum/INL y <=> x = y
% Assm: h4/sum/sum__distinct: !y x. ~(h4/sum/INL x = h4/sum/INR y)
% Assm: h4/sum/INR__INL__11_c1: !y x. h4/sum/INR x = h4/sum/INR y <=> x = y
% Assm: h4/bool/bool__case__thm_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/marker/label__def: !lab argument. h4/marker/_3A_2D lab argument <=> argument
% Assm: h4/bool/PULL__FORALL_c0: !Q P. Q ==> (!x. P x) <=> (!x. Q ==> P x)
% Assm: h4/bool/LET__THM: !x f. h4/bool/LET f x = f x
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/combin/FAIL__DEF: h4/combin/FAIL = (\x y. x)
% Assm: h4/rich__list/LASTN__DROP: !n l. h4/arithmetic/_3C_3D n (h4/list/LENGTH l) ==> h4/rich__list/LASTN n l = h4/list/DROP (h4/arithmetic/_2D (h4/list/LENGTH l) n) l
% 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/marker/move__left__conj_c1: !q p m. (h4/marker/stmarker m /\ p) /\ q <=> h4/marker/stmarker m /\ p /\ q
% Assm: h4/bool/LEFT__FORALL__OR__THM: !Q P. (!x. P x \/ Q) <=> (!x. P x) \/ Q
% Assm: h4/bool/CONJ__COMM: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm: h4/bool/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/marker/stmarker__def: !x. h4/marker/stmarker x = x
% Assm: h4/bool/COND__EXPAND: !t2 t1 b. h4/bool/COND b t1 t2 <=> (~b \/ t1) /\ (b \/ t2)
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/OR__CLAUSES_c4: !t. t \/ t <=> t
% Assm: h4/numeral/iSUB__DEF_c0: !x b. h4/numeral/iSUB b h4/arithmetic/ZERO x = h4/arithmetic/ZERO
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/LEFT__OR__EXISTS__THM: !Q P. (?x. P x) \/ Q <=> (?x. P x \/ Q)
% Assm: h4/bool/AND__CLAUSES_c4: !t. t /\ t <=> t
% Assm: h4/sum/INR__DEF: !e. h4/sum/INR e = h4/sum/ABS__sum (\b x y. y = e /\ ~b)
% Assm: h4/bool/NOT__F: !t. ~t ==> (t <=> F)
% Assm: h4/sat/AND__IMP: !C B A. A /\ B ==> C <=> A ==> B ==> C
% Assm: h4/bool/RIGHT__FORALL__OR__THM: !Q P. (!x. P \/ Q x) <=> P \/ (!x. Q x)
% Assm: h4/rich__list/EXISTS__FOLDR: !l P. h4/list/EXISTS P l <=> h4/list/FOLDR (\x l_27. P x \/ l_27) F l
% Assm: h4/bool/LEFT__OR__CONG: !Q_27 Q P_27 P. (P <=> P_27) /\ (~P_27 ==> (Q <=> Q_27)) ==> (P \/ Q <=> P_27 \/ Q_27)
% Assm: h4/sum/cond__sum__expand_c0: !z y x P. h4/bool/COND P (h4/sum/INR x) (h4/sum/INL y) = h4/sum/INR z <=> P /\ z = x
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/rich__list/EVERY__FOLDL: !l P. h4/list/EVERY P l <=> h4/list/FOLDL (\l_27 x. l_27 /\ P x) T l
% Assm: h4/list/FOLDR0_c1: !x l f e. h4/list/FOLDR f e (h4/list/CONS x l) = f x (h4/list/FOLDR f e l)
% Assm: h4/list/FOLDR0_c0: !f e. h4/list/FOLDR f e h4/list/NIL = e
% Assm: h4/list/EXISTS__DEF_c0: !P. h4/list/EXISTS P h4/list/NIL <=> 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/list/list__induction: !P. P h4/list/NIL /\ (!t. P t ==> (!h. P (h4/list/CONS h t))) ==> (!l. P l)
% Assm: h4/option/OPTION__GUARD__EQ__THM_c1: !b. h4/option/OPTION__GUARD b = h4/option/NONE <=> ~b
% Assm: h4/sum/IS__SUM__REP0: !f. h4/sum/IS__SUM__REP f <=> (?v1 v2. f = (\b x y. x = v1 /\ b) \/ f = (\b x y. y = v2 /\ ~b))
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/res__quan/RES__EXISTS__UNIQUE__NULL: !p m. h4/bool/RES__EXISTS__UNIQUE p (\x. m) <=> (?x. p = h4/pred__set/INSERT x h4/pred__set/EMPTY) /\ m
% Assm: h4/list/FOLDL0_c0: !f e. h4/list/FOLDL f e h4/list/NIL = e
% Assm: h4/list/EVERY__DEF_c0: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm: h4/list/FOLDL__SNOC: !x l f e. h4/list/FOLDL f e (h4/list/SNOC x l) = f (h4/list/FOLDL f e l) x
% Assm: h4/list/SNOC__INDUCT: !P. P h4/list/NIL /\ (!l. P l ==> (!x. P (h4/list/SNOC x l))) ==> (!l. P l)
% Assm: h4/list/EVERY__SNOC: !x l P. h4/list/EVERY P (h4/list/SNOC x l) <=> h4/list/EVERY P l /\ P x
% Assm: h4/pred__set/IN__SING: !y x. h4/bool/IN x (h4/pred__set/INSERT y h4/pred__set/EMPTY) <=> x = y
% Assm: h4/pred__set/NOT__IN__EMPTY: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm: h4/pred__set/EXTENSION: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% 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/NOT__EXISTS__THM: !P. ~(?x. P x) <=> (!x. ~P x)
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/EXISTS__OR__THM: !Q P. (?x. P x \/ Q x) <=> (?x. P x) \/ (?x. Q x)
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/bool/RIGHT__OR__EXISTS__THM: !Q P. P \/ (?x. Q x) <=> (?x. P \/ Q x)
% 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/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Goal: !r q p. q /\ h4/int__arith/bmarker p /\ r <=> h4/int__arith/bmarker p /\ q /\ r
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_intu_u_ariths_bmarkeru_u_def]: !b. h4/int__arith/bmarker b <=> b
% Assm [h4s_intu_u_ariths_bmarkeru_u_rewritesu_c0]: !q p. q /\ h4/int__arith/bmarker p <=> h4/int__arith/bmarker p /\ q
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~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_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_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> 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_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_NOTu_u_DEF]: !x. $not x <=> x ==> F
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_Tu_u_DEF]: T <=> (!x. x <=> x)
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c2]: !t. (F <=> t) <=> ~t
% Assm [h4s_bools_Fu_u_DEF]: F <=> (!t. t)
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c0]: !t. T ==> t <=> t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_options_IFu_u_EQUALSu_u_OPTIONu_c2]: !y x P. h4/bool/COND P (h4/option/SOME x) h4/option/NONE = h4/option/SOME y <=> P /\ x = y
% Assm [h4s_bools_DISJu_u_COMM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_ORu_u_DEF]: !x x'. $or x x' <=> (!t. (x ==> t) ==> (x' ==> t) ==> t)
% Assm [h4s_indu_u_types_NUMSUMu_u_INJ]: !x2 x1 b2 b1. h4/ind__type/NUMSUM b1 x1 = h4/ind__type/NUMSUM b2 x2 <=> (b1 <=> b2) /\ x1 = x2
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_options_NOTu_u_NONEu_u_SOME]: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm [h4s_options_SOMEu_u_11]: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% 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_options_OPTIONu_u_GUARDu_u_EQu_u_THMu_c0]: !b. h4/option/OPTION__GUARD b = h4/option/SOME h4/one/one0 <=> b
% Assm [h4s_bools_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_EQu_u_IMPu_u_THM]: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% 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_boolu_u_caseu_u_ID]: !t b. h4/bool/COND b t t = t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_bools_CONDu_u_DEF]: !_0. (!x x x' x''. happ (happ (happ (happ _0 x) x) x') x'' <=> ((x <=> T) ==> x'' = x) /\ ((x <=> F) ==> x'' = x')) ==> (!x x x'. h4/bool/COND x x x' = h4/min/_40 (happ (happ (happ _0 x) x) x'))
% Assm [h4s_sums_condu_u_sumu_u_expandu_c3]: !z y x P. h4/bool/COND P (h4/sum/INL x) (h4/sum/INR y) = h4/sum/INR z <=> ~P /\ z = y
% Assm [h4s_indu_u_types_NUMSUM0]: !x b. h4/ind__type/NUMSUM b x = h4/bool/COND b (h4/num/SUC (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) x)) (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) x)
% Assm [h4s_numerals_numeralu_u_equ_c3]: !n. h4/arithmetic/BIT2 n = h4/arithmetic/ZERO <=> F
% Assm [h4s_numerals_numeralu_u_distribu_c17]: !n. h4/arithmetic/NUMERAL n = h4/num/0 <=> n = h4/arithmetic/ZERO
% Assm [h4s_arithmetics_EVENu_u_DOUBLE]: !n. h4/arithmetic/EVEN (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n)
% Assm [h4s_arithmetics_EQu_u_MULTu_u_LCANCEL]: !p n m. h4/arithmetic/_2A m n = h4/arithmetic/_2A m p <=> m = h4/num/0 \/ n = p
% Assm [h4s_arithmetics_EVEN0u_c1]: !n. h4/arithmetic/EVEN (h4/num/SUC n) <=> ~h4/arithmetic/EVEN n
% Assm [h4s_primu_u_recs_INVu_u_SUCu_u_EQ]: !n m. h4/num/SUC m = h4/num/SUC n <=> m = n
% Assm [h4s_options_OPTIONu_u_GUARDu_u_defu_c0]: h4/option/OPTION__GUARD T = h4/option/SOME h4/one/one0
% Assm [h4s_options_OPTIONu_u_GUARDu_u_defu_c1]: h4/option/OPTION__GUARD F = h4/option/NONE
% Assm [h4s_richu_u_lists_LASTNu_u_compute]: !_0. (!longer_20than_20list n l m. happ (happ (happ (happ _0 longer_20than_20list) n) l) m = h4/bool/COND (h4/arithmetic/_3C_3D n m) (h4/list/DROP (h4/arithmetic/_2D m n) l) (happ (happ (h4/combin/FAIL h4/rich__list/LASTN longer_20than_20list) n) l)) ==> (!n longer_20than_20list l. happ (happ h4/rich__list/LASTN n) l = h4/bool/LET (happ (happ (happ _0 longer_20than_20list) n) l) (h4/list/LENGTH l))
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE0]: !t. t \/ ~t
% Assm [h4s_markers_Congu_u_def]: !x. h4/marker/Cong x <=> x
% Assm [h4s_bools_AND1u_u_THM]: !t2 t1. t1 /\ t2 ==> t1
% Assm [h4s_bools_ANDu_u_CONG]: !Q_27 Q P_27 P. (Q ==> (P <=> P_27)) /\ (P_27 ==> (Q <=> Q_27)) ==> (P /\ Q <=> P_27 /\ Q_27)
% Assm [h4s_numerals_bitu_u_initiality]: !zf b2f b1f. ?f. happ f h4/arithmetic/ZERO = zf /\ (!n. happ f (h4/arithmetic/BIT1 n) = happ (happ b1f n) (happ f n)) /\ (!n. happ f (h4/arithmetic/BIT2 n) = happ (happ b2f n) (happ f n))
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_sums_INRu_u_INLu_u_11u_c0]: !y x. h4/sum/INL x = h4/sum/INL y <=> x = y
% Assm [h4s_sums_sumu_u_distinct]: !y x. ~(h4/sum/INL x = h4/sum/INR y)
% Assm [h4s_sums_INRu_u_INLu_u_11u_c1]: !y x. h4/sum/INR x = h4/sum/INR y <=> x = y
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_markers_labelu_u_def]: !lab argument. h4/marker/_3A_2D lab argument <=> argument
% Assm [h4s_bools_PULLu_u_FORALLu_c0]: !Q P. Q ==> (!x. happ P x) <=> (!x. Q ==> happ P x)
% Assm [h4s_bools_LETu_u_THM]: !x f. h4/bool/LET f x = happ f x
% Assm [h4s_combins_Iu_u_THM]: !x. h4/combin/I x = x
% Assm [h4s_combins_FAILu_u_DEF]: !x x. h4/combin/FAIL x x = x
% Assm [h4s_richu_u_lists_LASTNu_u_DROP]: !n l. h4/arithmetic/_3C_3D n (h4/list/LENGTH l) ==> happ (happ h4/rich__list/LASTN n) l = h4/list/DROP (h4/arithmetic/_2D (h4/list/LENGTH l) n) l
% 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_markers_moveu_u_leftu_u_conju_c1]: !q p m. (h4/marker/stmarker m /\ p) /\ q <=> h4/marker/stmarker m /\ p /\ q
% Assm [h4s_bools_LEFTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. happ P x \/ Q) <=> (!x. happ P x) \/ Q
% Assm [h4s_bools_CONJu_u_COMM]: !t2 t1. t1 /\ t2 <=> t2 /\ t1
% Assm [h4s_bools_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_markers_stmarkeru_u_def]: !x. h4/marker/stmarker x = x
% Assm [h4s_bools_CONDu_u_EXPAND]: !t2 t1 b. h4/bool/COND b t1 t2 <=> (~b \/ t1) /\ (b \/ t2)
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c4]: !t. t \/ t <=> t
% Assm [h4s_numerals_iSUBu_u_DEFu_c0]: !x b. h4/numeral/iSUB b h4/arithmetic/ZERO x = h4/arithmetic/ZERO
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% 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_ANDu_u_CLAUSESu_c4]: !t. t /\ t <=> t
% Assm [h4s_sums_INRu_u_DEF]: !_2. (!e b y. happ (happ (happ _2 e) b) y <=> y = e /\ ~b) ==> (!_1. (!e b x. happ (happ (happ _1 e) b) x = happ (happ _2 e) b) ==> (!_0. (!e b. happ (happ _0 e) b = happ (happ _1 e) b) ==> (!e. h4/sum/INR e = h4/sum/ABS__sum (happ _0 e))))
% Assm [h4s_bools_NOTu_u_F]: !t. ~t ==> (t <=> F)
% Assm [h4s_sats_ANDu_u_IMP]: !C B A. A /\ B ==> C <=> A ==> B ==> C
% Assm [h4s_bools_RIGHTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. P \/ happ Q x) <=> P \/ (!x. happ Q x)
% Assm [h4s_richu_u_lists_EXISTSu_u_FOLDR]: !_1. (!P x l_27. happ (happ (happ _1 P) x) l_27 <=> happ P x \/ l_27) ==> (!_0. (!P x. happ (happ _0 P) x = happ (happ _1 P) x) ==> (!l P. h4/list/EXISTS P l <=> h4/list/FOLDR (happ _0 P) F l))
% Assm [h4s_bools_LEFTu_u_ORu_u_CONG]: !Q_27 Q P_27 P. (P <=> P_27) /\ (~P_27 ==> (Q <=> Q_27)) ==> (P \/ Q <=> P_27 \/ Q_27)
% Assm [h4s_sums_condu_u_sumu_u_expandu_c0]: !z y x P. h4/bool/COND P (h4/sum/INR x) (h4/sum/INL y) = h4/sum/INR z <=> P /\ z = x
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_richu_u_lists_EVERYu_u_FOLDL]: !_1. (!l_27 P x. happ (happ (happ _1 l_27) P) x <=> l_27 /\ happ P x) ==> (!_0. (!P l_27. happ (happ _0 P) l_27 = happ (happ _1 l_27) P) ==> (!l P. h4/list/EVERY P l <=> h4/list/FOLDL (happ _0 P) T l))
% Assm [h4s_lists_FOLDR0u_c1]: !x l f e. h4/list/FOLDR f e (h4/list/CONS x l) = happ (happ f x) (h4/list/FOLDR f e l)
% Assm [h4s_lists_FOLDR0u_c0]: !f e. h4/list/FOLDR f e h4/list/NIL = e
% Assm [h4s_lists_EXISTSu_u_DEFu_c0]: !P. h4/list/EXISTS P h4/list/NIL <=> F
% Assm [h4s_lists_EXISTSu_u_DEFu_c1]: !t h P. h4/list/EXISTS P (h4/list/CONS h t) <=> happ P h \/ h4/list/EXISTS P t
% Assm [h4s_lists_listu_u_induction]: !P. happ P h4/list/NIL /\ (!t. happ P t ==> (!h. happ P (h4/list/CONS h t))) ==> (!l. happ P l)
% Assm [h4s_options_OPTIONu_u_GUARDu_u_EQu_u_THMu_c1]: !b. h4/option/OPTION__GUARD b = h4/option/NONE <=> ~b
% Assm [h4s_sums_ISu_u_SUMu_u_REP0]: !f. h4/sum/IS__SUM__REP f <=> (?v1 v2. (!x x x. happ (happ (happ f x) x) x <=> x = v1 /\ x) \/ (!x x x. happ (happ (happ f x) x) x <=> x = v2 /\ ~x))
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_resu_u_quans_RESu_u_EXISTSu_u_UNIQUEu_u_NULL]: !_0. (!m x. happ (happ _0 m) x <=> m) ==> (!p m. h4/bool/RES__EXISTS__UNIQUE p (happ _0 m) <=> (?x. p = h4/pred__set/INSERT x h4/pred__set/EMPTY) /\ m)
% Assm [h4s_lists_FOLDL0u_c0]: !f e. h4/list/FOLDL f e h4/list/NIL = e
% Assm [h4s_lists_EVERYu_u_DEFu_c0]: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm [h4s_lists_FOLDLu_u_SNOC]: !x l f e. h4/list/FOLDL f e (h4/list/SNOC x l) = happ (happ f (h4/list/FOLDL f e l)) x
% Assm [h4s_lists_SNOCu_u_INDUCT]: !P. happ P h4/list/NIL /\ (!l. happ P l ==> (!x. happ P (h4/list/SNOC x l))) ==> (!l. happ P l)
% Assm [h4s_lists_EVERYu_u_SNOC]: !x l P. h4/list/EVERY P (h4/list/SNOC x l) <=> h4/list/EVERY P l /\ happ P x
% Assm [h4s_predu_u_sets_INu_u_SING]: !y x. h4/bool/IN x (h4/pred__set/INSERT y h4/pred__set/EMPTY) <=> x = y
% Assm [h4s_predu_u_sets_NOTu_u_INu_u_EMPTY]: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm [h4s_predu_u_sets_EXTENSION]: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% 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_NOTu_u_EXISTSu_u_THM]: !P. ~(?x. happ P x) <=> (!x. ~happ P x)
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~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_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% 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_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_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Goal: !r q p. q /\ h4/int__arith/bmarker p /\ r <=> h4/int__arith/bmarker p /\ q /\ r
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(aHLu_EXT, axiom, ![TV_Q1300672,TV_Q1300668]: ![V_f, V_g]: (![V_x]: s(TV_Q1300668,happ(s(t_fun(TV_Q1300672,TV_Q1300668),V_f),s(TV_Q1300672,V_x))) = s(TV_Q1300668,happ(s(t_fun(TV_Q1300672,TV_Q1300668),V_g),s(TV_Q1300672,V_x))) => s(t_fun(TV_Q1300672,TV_Q1300668),V_f) = s(t_fun(TV_Q1300672,TV_Q1300668),V_g))).
fof(ah4s_intu_u_ariths_bmarkeru_u_def, axiom, ![V_b]: s(t_bool,h4s_intu_u_ariths_bmarker(s(t_bool,V_b))) = s(t_bool,V_b)).
fof(ah4s_intu_u_ariths_bmarkeru_u_rewritesu_c0, axiom, ![V_q, V_p]: ((p(s(t_bool,V_q)) & p(s(t_bool,h4s_intu_u_ariths_bmarker(s(t_bool,V_p))))) <=> (p(s(t_bool,h4s_intu_u_ariths_bmarker(s(t_bool,V_p)))) & p(s(t_bool,V_q))))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
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_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_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_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_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_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_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_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_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_DEF, axiom, ![V_x]: (p(s(t_bool,d_not(s(t_bool,V_x)))) <=> (p(s(t_bool,V_x)) => p(s(t_bool,f))))).
fof(ah4s_bools_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_Tu_u_DEF, axiom, (p(s(t_bool,t)) <=> ![V_x]: s(t_bool,V_x) = s(t_bool,V_x))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,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_bools_Fu_u_DEF, axiom, (p(s(t_bool,f)) <=> ![V_t]: p(s(t_bool,V_t)))).
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_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_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_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_EQu_u_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_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_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_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_options_IFu_u_EQUALSu_u_OPTIONu_c2, axiom, ![TV_u_27a]: ![V_y, V_x, V_P]: (s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_P),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))),s(t_h4s_options_option(TV_u_27a),h4s_options_none))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_y))) <=> (p(s(t_bool,V_P)) & s(TV_u_27a,V_x) = s(TV_u_27a,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_ORu_u_DEF, axiom, ![V_x, V_xi_]: (p(s(t_bool,d_or(s(t_bool,V_x),s(t_bool,V_xi_)))) <=> ![V_t]: ((p(s(t_bool,V_x)) => p(s(t_bool,V_t))) => ((p(s(t_bool,V_xi_)) => p(s(t_bool,V_t))) => p(s(t_bool,V_t)))))).
fof(ah4s_indu_u_types_NUMSUMu_u_INJ, axiom, ![V_x2, V_x1, V_b2, V_b1]: (s(t_h4s_nums_num,h4s_indu_u_types_numsum(s(t_bool,V_b1),s(t_h4s_nums_num,V_x1))) = s(t_h4s_nums_num,h4s_indu_u_types_numsum(s(t_bool,V_b2),s(t_h4s_nums_num,V_x2))) <=> (s(t_bool,V_b1) = s(t_bool,V_b2) & s(t_h4s_nums_num,V_x1) = s(t_h4s_nums_num,V_x2)))).
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_options_NOTu_u_NONEu_u_SOME, axiom, ![TV_u_27a]: ![V_x]: ~ (s(t_h4s_options_option(TV_u_27a),h4s_options_none) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))).
fof(ah4s_options_SOMEu_u_11, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_y))) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
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_options_OPTIONu_u_GUARDu_u_EQu_u_THMu_c0, axiom, ![V_b]: (s(t_h4s_options_option(t_h4s_ones_one),h4s_options_optionu_u_guard(s(t_bool,V_b))) = s(t_h4s_options_option(t_h4s_ones_one),h4s_options_some(s(t_h4s_ones_one,h4s_ones_one0))) <=> p(s(t_bool,V_b)))).
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_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_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_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_boolu_u_caseu_u_ID, axiom, ![TV_u_27a]: ![V_t, V_b]: s(TV_u_27a,h4s_bools_cond(s(t_bool,V_b),s(TV_u_27a,V_t),s(TV_u_27a,V_t))) = s(TV_u_27a,V_t)).
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_SELECTu_u_AX, axiom, ![TV_u_27a]: ![V_x, V_P]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),V_P)))))))).
fof(ah4s_bools_CONDu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x, V_x0, V_xi_, V_xi_i_]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x))),s(t_bool,V_x0))),s(TV_u_27a,V_xi_))),s(TV_u_27a,V_xi_i_)))) <=> ((s(t_bool,V_x0) = s(t_bool,t) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_x)) & (s(t_bool,V_x0) = s(t_bool,f) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_xi_)))) => ![V_x, V_x0, V_xi_]: s(TV_u_27a,h4s_bools_cond(s(t_bool,V_x),s(TV_u_27a,V_x0),s(TV_u_27a,V_xi_))) = s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x0))),s(t_bool,V_x))),s(TV_u_27a,V_xi_))))))).
fof(ah4s_sums_condu_u_sumu_u_expandu_c3, axiom, ![TV_u_27g,TV_u_27h]: ![V_z, V_y, V_x, V_P]: (s(t_h4s_sums_sum(TV_u_27g,TV_u_27h),h4s_bools_cond(s(t_bool,V_P),s(t_h4s_sums_sum(TV_u_27g,TV_u_27h),h4s_sums_inl(s(TV_u_27g,V_x))),s(t_h4s_sums_sum(TV_u_27g,TV_u_27h),h4s_sums_inr(s(TV_u_27h,V_y))))) = s(t_h4s_sums_sum(TV_u_27g,TV_u_27h),h4s_sums_inr(s(TV_u_27h,V_z))) <=> (~ (p(s(t_bool,V_P))) & s(TV_u_27h,V_z) = s(TV_u_27h,V_y)))).
fof(ah4s_indu_u_types_NUMSUM0, axiom, ![V_x, V_b]: s(t_h4s_nums_num,h4s_indu_u_types_numsum(s(t_bool,V_b),s(t_h4s_nums_num,V_x))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,V_b),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_x))))),s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_x)))))).
fof(ah4s_numerals_numeralu_u_equ_c3, axiom, ![V_n]: (s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_zero) <=> p(s(t_bool,f)))).
fof(ah4s_numerals_numeralu_u_distribu_c17, axiom, ![V_n]: (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_h4s_nums_num,V_n) = s(t_h4s_nums_num,h4s_arithmetics_zero))).
fof(ah4s_arithmetics_EVENu_u_DOUBLE, axiom, ![V_n]: p(s(t_bool,h4s_arithmetics_even(s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_n))))))).
fof(ah4s_arithmetics_EQu_u_MULTu_u_LCANCEL, axiom, ![V_p, V_n, V_m]: (s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))) <=> (s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,h4s_nums_0) | s(t_h4s_nums_num,V_n) = s(t_h4s_nums_num,V_p)))).
fof(ah4s_arithmetics_EVEN0u_c1, axiom, ![V_n]: (p(s(t_bool,h4s_arithmetics_even(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))) <=> ~ (p(s(t_bool,h4s_arithmetics_even(s(t_h4s_nums_num,V_n))))))).
fof(ah4s_primu_u_recs_INVu_u_SUCu_u_EQ, axiom, ![V_n, V_m]: (s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))) <=> s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n))).
fof(ah4s_options_OPTIONu_u_GUARDu_u_defu_c0, axiom, s(t_h4s_options_option(t_h4s_ones_one),h4s_options_optionu_u_guard(s(t_bool,t))) = s(t_h4s_options_option(t_h4s_ones_one),h4s_options_some(s(t_h4s_ones_one,h4s_ones_one0)))).
fof(ah4s_options_OPTIONu_u_GUARDu_u_defu_c1, axiom, s(t_h4s_options_option(t_h4s_ones_one),h4s_options_optionu_u_guard(s(t_bool,f))) = s(t_h4s_options_option(t_h4s_ones_one),h4s_options_none)).
fof(ah4s_richu_u_lists_LASTNu_u_compute, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_longeru_20thanu_20list, V_n, V_l, V_m]: s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a)))),happ(s(t_fun(t_bool,t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a))))),V_uu_0),s(t_bool,V_longeru_20thanu_20list))),s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(TV_u_27a),V_l))),s(t_h4s_nums_num,V_m))) = s(t_h4s_lists_list(TV_u_27a),h4s_bools_cond(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_drop(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_m),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),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_combins_fail(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_richu_u_lists_lastn),s(t_bool,V_longeru_20thanu_20list))),s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(TV_u_27a),V_l))))) => ![V_n, V_longeru_20thanu_20list, V_l]: 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(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_richu_u_lists_lastn),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_bools_let(s(t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a)))),happ(s(t_fun(t_bool,t_fun(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_lists_list(TV_u_27a))))),V_uu_0),s(t_bool,V_longeru_20thanu_20list))),s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(TV_u_27a),V_l))),s(t_h4s_nums_num,h4s_lists_length(s(t_h4s_lists_list(TV_u_27a),V_l))))))).
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_EXCLUDEDu_u_MIDDLE0, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_markers_Congu_u_def, axiom, ![V_x]: s(t_bool,h4s_markers_cong(s(t_bool,V_x))) = s(t_bool,V_x)).
fof(ah4s_bools_AND1u_u_THM, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t1)))).
fof(ah4s_bools_ANDu_u_CONG, axiom, ![V_Qu_27, V_Q, V_Pu_27, V_P]: (((p(s(t_bool,V_Q)) => s(t_bool,V_P) = s(t_bool,V_Pu_27)) & (p(s(t_bool,V_Pu_27)) => s(t_bool,V_Q) = s(t_bool,V_Qu_27))) => ((p(s(t_bool,V_P)) & p(s(t_bool,V_Q))) <=> (p(s(t_bool,V_Pu_27)) & p(s(t_bool,V_Qu_27)))))).
fof(ah4s_numerals_bitu_u_initiality, axiom, ![TV_u_27a]: ![V_zf, V_b2f, V_b1f]: ?[V_f]: (s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,h4s_arithmetics_zero))) = s(TV_u_27a,V_zf) & (![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,TV_u_27a)),V_b1f),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))))) & ![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,TV_u_27a)),V_b2f),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_bools_boolu_u_caseu_u_thmu_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_sums_INRu_u_INLu_u_11u_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: (s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_x))) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_y))) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
fof(ah4s_sums_sumu_u_distinct, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: ~ (s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inl(s(TV_u_27a,V_x))) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_y))))).
fof(ah4s_sums_INRu_u_INLu_u_11u_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: (s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_x))) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_y))) <=> s(TV_u_27b,V_x) = s(TV_u_27b,V_y))).
fof(ah4s_bools_boolu_u_caseu_u_thmu_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_markers_labelu_u_def, axiom, ![V_lab, V_argument]: s(t_bool,h4s_markers_u_3au_2d(s(t_h4s_markers_label,V_lab),s(t_bool,V_argument))) = s(t_bool,V_argument)).
fof(ah4s_bools_PULLu_u_FORALLu_c0, axiom, ![TV_u_27a]: ![V_Q, V_P]: ((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))))) <=> ![V_x]: (p(s(t_bool,V_Q)) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
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_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_combins_i(s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_combins_FAILu_u_DEF, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_x0]: s(TV_u_27a,h4s_combins_fail(s(TV_u_27a,V_x),s(TV_u_27b,V_x0))) = s(TV_u_27a,V_x)).
fof(ah4s_richu_u_lists_LASTNu_u_DROP, axiom, ![TV_u_27a]: ![V_n, V_l]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_lists_length(s(t_h4s_lists_list(TV_u_27a),V_l)))))) => 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(t_h4s_nums_num,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_richu_u_lists_lastn),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_drop(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_lists_length(s(t_h4s_lists_list(TV_u_27a),V_l))),s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(TV_u_27a),V_l))))).
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_markers_moveu_u_leftu_u_conju_c1, axiom, ![V_q, V_p, V_m]: (((p(s(t_bool,h4s_markers_stmarker(s(t_bool,V_m)))) & p(s(t_bool,V_p))) & p(s(t_bool,V_q))) <=> (p(s(t_bool,h4s_markers_stmarker(s(t_bool,V_m)))) & (p(s(t_bool,V_p)) & p(s(t_bool,V_q)))))).
fof(ah4s_bools_LEFTu_u_FORALLu_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,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_CONJu_u_COMM, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) <=> (p(s(t_bool,V_t2)) & p(s(t_bool,V_t1))))).
fof(ah4s_bools_CONJu_u_ASSOC, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) & (p(s(t_bool,V_t2)) & p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) & p(s(t_bool,V_t3))))).
fof(ah4s_markers_stmarkeru_u_def, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_markers_stmarker(s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
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_bools_ORu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) | p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_numerals_iSUBu_u_DEFu_c0, axiom, ![V_x, V_b]: s(t_h4s_nums_num,h4s_numerals_isub(s(t_bool,V_b),s(t_h4s_nums_num,h4s_arithmetics_zero),s(t_h4s_nums_num,V_x))) = s(t_h4s_nums_num,h4s_arithmetics_zero)).
fof(ah4s_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_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_ANDu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sums_INRu_u_DEF, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_2]: (![V_e, V_b, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_bool,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27b,t_bool))),V_uu_2),s(TV_u_27b,V_e))),s(t_bool,V_b))),s(TV_u_27b,V_y)))) <=> (s(TV_u_27b,V_y) = s(TV_u_27b,V_e) & ~ (p(s(t_bool,V_b))))) => ![V_uu_1]: (![V_e, V_b, 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_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)))),V_uu_1),s(TV_u_27b,V_e))),s(t_bool,V_b))),s(TV_u_27a,V_x))) = s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_bool,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27b,t_bool))),V_uu_2),s(TV_u_27b,V_e))),s(t_bool,V_b))) => ![V_uu_0]: (![V_e, V_b]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)))),V_uu_0),s(TV_u_27b,V_e))),s(t_bool,V_b))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)))),V_uu_1),s(TV_u_27b,V_e))),s(t_bool,V_b))) => ![V_e]: s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_inr(s(TV_u_27b,V_e))) = s(t_h4s_sums_sum(TV_u_27a,TV_u_27b),h4s_sums_absu_u_sum(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),happ(s(t_fun(TV_u_27b,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)))),V_uu_0),s(TV_u_27b,V_e))))))))).
fof(ah4s_bools_NOTu_u_F, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => s(t_bool,V_t) = s(t_bool,f))).
fof(ah4s_sats_ANDu_u_IMP, 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_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_richu_u_lists_EXISTSu_u_FOLDR, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_P, V_x, V_lu_27]: (p(s(t_bool,happ(s(t_fun(t_bool,t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(t_bool,t_bool))),V_uu_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x))),s(t_bool,V_lu_27)))) <=> (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_lu_27)))) => ![V_uu_0]: (![V_P, V_x]: s(t_fun(t_bool,t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(t_bool,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x))) = s(t_fun(t_bool,t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(t_bool,t_bool))),V_uu_1),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x))) => ![V_l, V_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_l))) = s(t_bool,h4s_lists_foldr(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_fun(t_bool,t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_bool,f),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_bools_LEFTu_u_ORu_u_CONG, axiom, ![V_Qu_27, V_Q, V_Pu_27, V_P]: ((s(t_bool,V_P) = s(t_bool,V_Pu_27) & (~ (p(s(t_bool,V_Pu_27))) => s(t_bool,V_Q) = s(t_bool,V_Qu_27))) => ((p(s(t_bool,V_P)) | p(s(t_bool,V_Q))) <=> (p(s(t_bool,V_Pu_27)) | p(s(t_bool,V_Qu_27)))))).
fof(ah4s_sums_condu_u_sumu_u_expandu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_z, V_y, V_x, V_P]: (s(t_h4s_sums_sum(TV_u_27b,TV_u_27a),h4s_bools_cond(s(t_bool,V_P),s(t_h4s_sums_sum(TV_u_27b,TV_u_27a),h4s_sums_inr(s(TV_u_27a,V_x))),s(t_h4s_sums_sum(TV_u_27b,TV_u_27a),h4s_sums_inl(s(TV_u_27b,V_y))))) = s(t_h4s_sums_sum(TV_u_27b,TV_u_27a),h4s_sums_inr(s(TV_u_27a,V_z))) <=> (p(s(t_bool,V_P)) & s(TV_u_27a,V_z) = s(TV_u_27a,V_x)))).
fof(ah4s_bools_ETAu_u_AX, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x)))).
fof(ah4s_richu_u_lists_EVERYu_u_FOLDL, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_lu_27, V_P, 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_bool,t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool))),V_uu_1),s(t_bool,V_lu_27))),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x)))) <=> (p(s(t_bool,V_lu_27)) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))))) => ![V_uu_0]: (![V_P, V_lu_27]: s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(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,V_lu_27))) = 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_bool,t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool))),V_uu_1),s(t_bool,V_lu_27))),s(t_fun(TV_u_27a,t_bool),V_P))) => ![V_l, 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),V_l))) = s(t_bool,h4s_lists_foldl(s(t_fun(t_bool,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(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,t),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_lists_FOLDR0u_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_l, V_f, V_e]: s(TV_u_27b,h4s_lists_foldr(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27b)),V_f),s(TV_u_27b,V_e),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),V_l))))) = s(TV_u_27b,happ(s(t_fun(TV_u_27b,TV_u_27b),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27b)),V_f),s(TV_u_27a,V_x))),s(TV_u_27b,h4s_lists_foldr(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27b)),V_f),s(TV_u_27b,V_e),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_lists_FOLDR0u_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_e]: s(TV_u_27b,h4s_lists_foldr(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27b)),V_f),s(TV_u_27b,V_e),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(TV_u_27b,V_e)).
fof(ah4s_lists_EXISTSu_u_DEFu_c0, axiom, ![TV_u_27a]: ![V_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),h4s_lists_nil))) = 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),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_lists_listu_u_induction, 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_options_OPTIONu_u_GUARDu_u_EQu_u_THMu_c1, axiom, ![V_b]: (s(t_h4s_options_option(t_h4s_ones_one),h4s_options_optionu_u_guard(s(t_bool,V_b))) = s(t_h4s_options_option(t_h4s_ones_one),h4s_options_none) <=> ~ (p(s(t_bool,V_b))))).
fof(ah4s_sums_ISu_u_SUMu_u_REP0, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: (p(s(t_bool,h4s_sums_isu_u_sumu_u_rep(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_f)))) <=> ?[V_v1, V_v2]: (![V_x, V_x0, V_x1]: (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)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_f),s(t_bool,V_x))),s(TV_u_27a,V_x0))),s(TV_u_27b,V_x1)))) <=> (s(TV_u_27a,V_x0) = s(TV_u_27a,V_v1) & p(s(t_bool,V_x)))) | ![V_x, V_x0, V_x1]: (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)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_f),s(t_bool,V_x))),s(TV_u_27a,V_x0))),s(TV_u_27b,V_x1)))) <=> (s(TV_u_27b,V_x1) = s(TV_u_27b,V_v2) & ~ (p(s(t_bool,V_x)))))))).
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_resu_u_quans_RESu_u_EXISTSu_u_UNIQUEu_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_existsu_u_unique(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)))))) <=> (?[V_x]: s(t_fun(TV_u_27a,t_bool),V_p) = s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_insert(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty))) & p(s(t_bool,V_m)))))).
fof(ah4s_lists_FOLDL0u_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_e]: s(TV_u_27b,h4s_lists_foldl(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),V_f),s(TV_u_27b,V_e),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(TV_u_27b,V_e)).
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_FOLDLu_u_SNOC, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_l, V_f, V_e]: s(TV_u_27b,h4s_lists_foldl(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),V_f),s(TV_u_27b,V_e),s(t_h4s_lists_list(TV_u_27a),h4s_lists_snoc(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),V_l))))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),V_f),s(TV_u_27b,h4s_lists_foldl(s(t_fun(TV_u_27b,t_fun(TV_u_27a,TV_u_27b)),V_f),s(TV_u_27b,V_e),s(t_h4s_lists_list(TV_u_27a),V_l))))),s(TV_u_27a,V_x)))).
fof(ah4s_lists_SNOCu_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_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)))) => ![V_x]: 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_snoc(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),V_l)))))))) => ![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_lists_EVERYu_u_SNOC, axiom, ![TV_u_27a]: ![V_x, V_l, 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_snoc(s(TV_u_27a,V_x),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_P),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))))))).
fof(ah4s_predu_u_sets_INu_u_SING, axiom, ![TV_u_27a]: ![V_y, 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_insert(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)))))) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
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_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_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_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_sats_pthu_u_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => p(s(t_bool,V_p)))).
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_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_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_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_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_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_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(ch4s_intu_u_ariths_bmarkeru_u_rewritesu_c1, conjecture, ![V_r, V_q, V_p]: ((p(s(t_bool,V_q)) & (p(s(t_bool,h4s_intu_u_ariths_bmarker(s(t_bool,V_p)))) & p(s(t_bool,V_r)))) <=> (p(s(t_bool,h4s_intu_u_ariths_bmarker(s(t_bool,V_p)))) & (p(s(t_bool,V_q)) & p(s(t_bool,V_r)))))).
