%   ORIGINAL: h4/numeral__bit/NUMERAL__BIT__REV_c4
% 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/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/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/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/COND__CONG: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm: h4/bool/bool__case__thm_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/bool__case__thm_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/arithmetic/ADD_c0: !n. h4/arithmetic/_2B h4/num/0 n = n
% Assm: h4/arithmetic/NUMERAL__DEF: !x. h4/arithmetic/NUMERAL x = x
% Assm: h4/arithmetic/ALT__ZERO: h4/arithmetic/ZERO = h4/num/0
% Assm: h4/arithmetic/BIT20: !n. h4/arithmetic/BIT2 n = h4/arithmetic/_2B n (h4/arithmetic/_2B n (h4/num/SUC (h4/num/SUC h4/num/0)))
% Assm: h4/arithmetic/ADD__0: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm: h4/arithmetic/ADD__ASSOC: !p n m. h4/arithmetic/_2B m (h4/arithmetic/_2B n p) = h4/arithmetic/_2B (h4/arithmetic/_2B m n) p
% Assm: h4/arithmetic/MULT__LEFT__1: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = m
% Assm: h4/arithmetic/MULT__COMM: !n m. h4/arithmetic/_2A m n = h4/arithmetic/_2A n m
% Assm: h4/arithmetic/RIGHT__ADD__DISTRIB: !p n m. h4/arithmetic/_2A (h4/arithmetic/_2B m n) p = h4/arithmetic/_2B (h4/arithmetic/_2A m p) (h4/arithmetic/_2A n p)
% Assm: h4/arithmetic/DIV2__def: !n. h4/arithmetic/DIV2 n = h4/arithmetic/DIV n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO))
% Assm: h4/arithmetic/DIV__UNIQUE: !q n k. (?r. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/DIV k n = q
% Assm: h4/arithmetic/SUC__ELIM__NUMERALS: !g f. (!n. g (h4/num/SUC n) = f n (h4/num/SUC n)) <=> (!n. g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) = f (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) /\ (!n. g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) = f (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)))
% Assm: h4/numeral/numeral__suc_c1: !n. h4/num/SUC (h4/arithmetic/BIT1 n) = h4/arithmetic/BIT2 n
% Assm: h4/numeral/numeral__distrib_c1: !n. h4/arithmetic/_2B n h4/num/0 = n
% Assm: h4/numeral/numeral__distrib_c2: !n m. h4/arithmetic/_2B (h4/arithmetic/NUMERAL n) (h4/arithmetic/NUMERAL m) = h4/arithmetic/NUMERAL (h4/numeral/iZ (h4/arithmetic/_2B n m))
% Assm: h4/numeral/numeral__distrib_c3: !n. h4/arithmetic/_2A h4/num/0 n = h4/num/0
% Assm: h4/numeral/numeral__distrib_c13: h4/num/SUC h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm: h4/numeral/numeral__distrib_c14: !n. h4/num/SUC (h4/arithmetic/NUMERAL n) = h4/arithmetic/NUMERAL (h4/num/SUC n)
% Assm: h4/numeral/numeral__distrib_c21: !n. h4/prim__rec/_3C h4/num/0 (h4/arithmetic/NUMERAL n) <=> h4/prim__rec/_3C h4/arithmetic/ZERO n
% Assm: h4/numeral/numeral__distrib_c34: ~h4/arithmetic/ODD h4/num/0
% Assm: h4/numeral/numeral__add_c1: !n. h4/numeral/iZ (h4/arithmetic/_2B n h4/arithmetic/ZERO) = n
% Assm: h4/numeral/numeral__add_c2: !n m. h4/numeral/iZ (h4/arithmetic/_2B (h4/arithmetic/BIT1 n) (h4/arithmetic/BIT1 m)) = h4/arithmetic/BIT2 (h4/numeral/iZ (h4/arithmetic/_2B n m))
% Assm: h4/numeral/numeral__lt_c1: !n. h4/prim__rec/_3C h4/arithmetic/ZERO (h4/arithmetic/BIT2 n) <=> T
% Assm: h4/numeral/iDUB0: !x. h4/numeral/iDUB x = h4/arithmetic/_2B x x
% Assm: h4/numeral/TWO__EXP__THM_c0: h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm: h4/bit/SBIT__def: !n b. h4/bit/SBIT b n = h4/bool/COND b (h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n) h4/num/0
% Assm: h4/numeral__bit/BIT__REV__def_c0: !y x. h4/numeral__bit/BIT__REV h4/num/0 x y = y
% Assm: h4/numeral__bit/BIT__REV__def_c1: !y x n. h4/numeral__bit/BIT__REV (h4/num/SUC n) x y = h4/numeral__bit/BIT__REV n (h4/arithmetic/DIV x (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO))) (h4/arithmetic/_2B (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) y) (h4/bit/SBIT (h4/arithmetic/ODD x) h4/num/0))
% Goal: !y x n. h4/numeral__bit/BIT__REV (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) (h4/arithmetic/NUMERAL x) y = h4/numeral__bit/BIT__REV (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/DIV2 (h4/arithmetic/NUMERAL x)) (h4/bool/COND (h4/arithmetic/ODD x) (h4/arithmetic/BIT1 y) (h4/numeral/iDUB y))
%   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_TRUTH]: T
% 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_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_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_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_CONDu_u_CONG]: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_arithmetics_ADDu_c0]: !n. h4/arithmetic/_2B h4/num/0 n = n
% Assm [h4s_arithmetics_NUMERALu_u_DEF]: !x. h4/arithmetic/NUMERAL x = x
% Assm [h4s_arithmetics_ALTu_u_ZERO]: h4/arithmetic/ZERO = h4/num/0
% Assm [h4s_arithmetics_BIT20]: !n. h4/arithmetic/BIT2 n = h4/arithmetic/_2B n (h4/arithmetic/_2B n (h4/num/SUC (h4/num/SUC h4/num/0)))
% Assm [h4s_arithmetics_ADDu_u_0]: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm [h4s_arithmetics_ADDu_u_ASSOC]: !p n m. h4/arithmetic/_2B m (h4/arithmetic/_2B n p) = h4/arithmetic/_2B (h4/arithmetic/_2B m n) p
% Assm [h4s_arithmetics_MULTu_u_LEFTu_u_1]: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = m
% Assm [h4s_arithmetics_MULTu_u_COMM]: !n m. h4/arithmetic/_2A m n = h4/arithmetic/_2A n m
% Assm [h4s_arithmetics_RIGHTu_u_ADDu_u_DISTRIB]: !p n m. h4/arithmetic/_2A (h4/arithmetic/_2B m n) p = h4/arithmetic/_2B (h4/arithmetic/_2A m p) (h4/arithmetic/_2A n p)
% Assm [h4s_arithmetics_DIV2u_u_def]: !n. h4/arithmetic/DIV2 n = h4/arithmetic/DIV n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO))
% Assm [h4s_arithmetics_DIVu_u_UNIQUE]: !q n k. (?r. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/DIV k n = q
% Assm [h4s_arithmetics_SUCu_u_ELIMu_u_NUMERALS]: !g f. (!n. happ g (h4/num/SUC n) = happ (happ f n) (h4/num/SUC n)) <=> (!n. happ g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) = happ (happ f (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) /\ (!n. happ g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) = happ (happ f (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)))
% Assm [h4s_numerals_numeralu_u_sucu_c1]: !n. h4/num/SUC (h4/arithmetic/BIT1 n) = h4/arithmetic/BIT2 n
% Assm [h4s_numerals_numeralu_u_distribu_c1]: !n. h4/arithmetic/_2B n h4/num/0 = n
% Assm [h4s_numerals_numeralu_u_distribu_c2]: !n m. h4/arithmetic/_2B (h4/arithmetic/NUMERAL n) (h4/arithmetic/NUMERAL m) = h4/arithmetic/NUMERAL (h4/numeral/iZ (h4/arithmetic/_2B n m))
% Assm [h4s_numerals_numeralu_u_distribu_c3]: !n. h4/arithmetic/_2A h4/num/0 n = h4/num/0
% Assm [h4s_numerals_numeralu_u_distribu_c13]: h4/num/SUC h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm [h4s_numerals_numeralu_u_distribu_c14]: !n. h4/num/SUC (h4/arithmetic/NUMERAL n) = h4/arithmetic/NUMERAL (h4/num/SUC n)
% Assm [h4s_numerals_numeralu_u_distribu_c21]: !n. h4/prim__rec/_3C h4/num/0 (h4/arithmetic/NUMERAL n) <=> h4/prim__rec/_3C h4/arithmetic/ZERO n
% Assm [h4s_numerals_numeralu_u_distribu_c34]: ~h4/arithmetic/ODD h4/num/0
% Assm [h4s_numerals_numeralu_u_addu_c1]: !n. h4/numeral/iZ (h4/arithmetic/_2B n h4/arithmetic/ZERO) = n
% Assm [h4s_numerals_numeralu_u_addu_c2]: !n m. h4/numeral/iZ (h4/arithmetic/_2B (h4/arithmetic/BIT1 n) (h4/arithmetic/BIT1 m)) = h4/arithmetic/BIT2 (h4/numeral/iZ (h4/arithmetic/_2B n m))
% Assm [h4s_numerals_numeralu_u_ltu_c1]: !n. h4/prim__rec/_3C h4/arithmetic/ZERO (h4/arithmetic/BIT2 n) <=> T
% Assm [h4s_numerals_iDUB0]: !x. h4/numeral/iDUB x = h4/arithmetic/_2B x x
% Assm [h4s_numerals_TWOu_u_EXPu_u_THMu_c0]: h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm [h4s_bits_SBITu_u_def]: !n b. h4/bit/SBIT b n = h4/bool/COND b (h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n) h4/num/0
% Assm [h4s_numeralu_u_bits_BITu_u_REVu_u_defu_c0]: !y x. h4/numeral__bit/BIT__REV h4/num/0 x y = y
% Assm [h4s_numeralu_u_bits_BITu_u_REVu_u_defu_c1]: !y x n. h4/numeral__bit/BIT__REV (h4/num/SUC n) x y = h4/numeral__bit/BIT__REV n (h4/arithmetic/DIV x (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO))) (h4/arithmetic/_2B (h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) y) (h4/bit/SBIT (h4/arithmetic/ODD x) h4/num/0))
% Goal: !y x n. h4/numeral__bit/BIT__REV (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) (h4/arithmetic/NUMERAL x) y = h4/numeral__bit/BIT__REV (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/DIV2 (h4/arithmetic/NUMERAL x)) (h4/bool/COND (h4/arithmetic/ODD x) (h4/arithmetic/BIT1 y) (h4/numeral/iDUB y))
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_Q15952,TV_Q15948]: ![V_f, V_g]: (![V_x]: s(TV_Q15948,happ(s(t_fun(TV_Q15952,TV_Q15948),V_f),s(TV_Q15952,V_x))) = s(TV_Q15948,happ(s(t_fun(TV_Q15952,TV_Q15948),V_g),s(TV_Q15952,V_x))) => s(t_fun(TV_Q15952,TV_Q15948),V_f) = s(t_fun(TV_Q15952,TV_Q15948),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_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_CONJu_u_ASSOC, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) & (p(s(t_bool,V_t2)) & p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) & p(s(t_bool,V_t3))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_EQu_u_SYMu_u_EQ, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x))).
fof(ah4s_bools_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_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_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_CONDu_u_CONG, axiom, ![TV_u_27a]: ![V_yu_27, V_y, V_xu_27, V_x, V_Q, V_P]: ((s(t_bool,V_P) = s(t_bool,V_Q) & ((p(s(t_bool,V_Q)) => s(TV_u_27a,V_x) = s(TV_u_27a,V_xu_27)) & (~ (p(s(t_bool,V_Q))) => s(TV_u_27a,V_y) = s(TV_u_27a,V_yu_27)))) => s(TV_u_27a,h4s_bools_cond(s(t_bool,V_P),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(TV_u_27a,h4s_bools_cond(s(t_bool,V_Q),s(TV_u_27a,V_xu_27),s(TV_u_27a,V_yu_27))))).
fof(ah4s_bools_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_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_arithmetics_ADDu_c0, axiom, ![V_n]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_n)).
fof(ah4s_arithmetics_NUMERALu_u_DEF, axiom, ![V_x]: s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_x))) = s(t_h4s_nums_num,V_x)).
fof(ah4s_arithmetics_ALTu_u_ZERO, axiom, s(t_h4s_nums_num,h4s_arithmetics_zero) = s(t_h4s_nums_num,h4s_nums_0)).
fof(ah4s_arithmetics_BIT20, 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_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0)))))))))).
fof(ah4s_arithmetics_ADDu_u_0, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_0))) = s(t_h4s_nums_num,V_m)).
fof(ah4s_arithmetics_ADDu_u_ASSOC, axiom, ![V_p, V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_p)))).
fof(ah4s_arithmetics_MULTu_u_LEFTu_u_1, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,V_m)).
fof(ah4s_arithmetics_MULTu_u_COMM, axiom, ![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_n),s(t_h4s_nums_num,V_m)))).
fof(ah4s_arithmetics_RIGHTu_u_ADDu_u_DISTRIB, axiom, ![V_p, V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_p))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(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,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))))).
fof(ah4s_arithmetics_DIV2u_u_def, axiom, ![V_n]: s(t_h4s_nums_num,h4s_arithmetics_div2(s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_div(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,h4s_arithmetics_zero)))))))).
fof(ah4s_arithmetics_DIVu_u_UNIQUE, axiom, ![V_q, V_n, V_k]: (?[V_r]: (s(t_h4s_nums_num,V_k) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_q),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_r))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_r),s(t_h4s_nums_num,V_n))))) => s(t_h4s_nums_num,h4s_arithmetics_div(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_q))).
fof(ah4s_arithmetics_SUCu_u_ELIMu_u_NUMERALS, axiom, ![TV_u_27a]: ![V_g, V_f]: (![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_g),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),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_nums_suc(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_g),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(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_g),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n)))))))))).
fof(ah4s_numerals_numeralu_u_sucu_c1, axiom, ![V_n]: s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))) = s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n)))).
fof(ah4s_numerals_numeralu_u_distribu_c1, axiom, ![V_n]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_nums_0))) = s(t_h4s_nums_num,V_n)).
fof(ah4s_numerals_numeralu_u_distribu_c2, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_m))))) = s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_numerals_iz(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))))))).
fof(ah4s_numerals_numeralu_u_distribu_c3, axiom, ![V_n]: s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_nums_0)).
fof(ah4s_numerals_numeralu_u_distribu_c13, axiom, s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))) = s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero)))))).
fof(ah4s_numerals_numeralu_u_distribu_c14, axiom, ![V_n]: s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_n))))) = s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))).
fof(ah4s_numerals_numeralu_u_distribu_c21, axiom, ![V_n]: s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_n))))) = s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_arithmetics_zero),s(t_h4s_nums_num,V_n)))).
fof(ah4s_numerals_numeralu_u_distribu_c34, axiom, ~ (p(s(t_bool,h4s_arithmetics_odd(s(t_h4s_nums_num,h4s_nums_0)))))).
fof(ah4s_numerals_numeralu_u_addu_c1, axiom, ![V_n]: s(t_h4s_nums_num,h4s_numerals_iz(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_zero))))) = s(t_h4s_nums_num,V_n)).
fof(ah4s_numerals_numeralu_u_addu_c2, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_numerals_iz(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_m))))))) = s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,h4s_numerals_iz(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))))))).
fof(ah4s_numerals_numeralu_u_ltu_c1, axiom, ![V_n]: s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_arithmetics_zero),s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))) = s(t_bool,t)).
fof(ah4s_numerals_iDUB0, axiom, ![V_x]: s(t_h4s_nums_num,h4s_numerals_idub(s(t_h4s_nums_num,V_x))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_x),s(t_h4s_nums_num,V_x)))).
fof(ah4s_numerals_TWOu_u_EXPu_u_THMu_c0, axiom, s(t_h4s_nums_num,h4s_arithmetics_exp(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,h4s_nums_0))) = s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero)))))).
fof(ah4s_bits_SBITu_u_def, axiom, ![V_n, V_b]: s(t_h4s_nums_num,h4s_bits_sbit(s(t_bool,V_b),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,V_b),s(t_h4s_nums_num,h4s_arithmetics_exp(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))),s(t_h4s_nums_num,h4s_nums_0)))).
fof(ah4s_numeralu_u_bits_BITu_u_REVu_u_defu_c0, axiom, ![V_y, V_x]: s(t_h4s_nums_num,h4s_numeralu_u_bits_bitu_u_rev(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_x),s(t_h4s_nums_num,V_y))) = s(t_h4s_nums_num,V_y)).
fof(ah4s_numeralu_u_bits_BITu_u_REVu_u_defu_c1, axiom, ![V_y, V_x, V_n]: s(t_h4s_nums_num,h4s_numeralu_u_bits_bitu_u_rev(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_x),s(t_h4s_nums_num,V_y))) = s(t_h4s_nums_num,h4s_numeralu_u_bits_bitu_u_rev(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_div(s(t_h4s_nums_num,V_x),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,h4s_arithmetics_u_2b(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_y))),s(t_h4s_nums_num,h4s_bits_sbit(s(t_bool,h4s_arithmetics_odd(s(t_h4s_nums_num,V_x))),s(t_h4s_nums_num,h4s_nums_0)))))))).
fof(ch4s_numeralu_u_bits_NUMERALu_u_BITu_u_REVu_c4, conjecture, ![V_y, V_x, V_n]: s(t_h4s_nums_num,h4s_numeralu_u_bits_bitu_u_rev(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_x))),s(t_h4s_nums_num,V_y))) = s(t_h4s_nums_num,h4s_numeralu_u_bits_bitu_u_rev(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))),s(t_h4s_nums_num,h4s_arithmetics_div2(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,V_x))))),s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_arithmetics_odd(s(t_h4s_nums_num,V_x))),s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_y))),s(t_h4s_nums_num,h4s_numerals_idub(s(t_h4s_nums_num,V_y)))))))).
