%   ORIGINAL: h4/words/ADD__WITH__CARRY__SUB
% 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/words/FST__ADD__WITH__CARRY_c1: !b a. h4/pair/FST (h4/words/add__with__carry (h4/pair/_2C a (h4/pair/_2C (h4/words/word__1comp b) T))) = h4/words/word__sub a b
% Assm: h4/pair/UNCURRY__DEF: !y x f. h4/pair/UNCURRY f (h4/pair/_2C x y) = f x y
% Assm: h4/words/add__with__carry__def: !y x carry__in. h4/words/add__with__carry (h4/pair/_2C x (h4/pair/_2C y carry__in)) = h4/bool/LET (\unsigned__sum. h4/bool/LET (\result. h4/bool/LET (h4/bool/LET (\carry__out overflow. h4/pair/_2C result (h4/pair/_2C carry__out overflow)) (~(h4/words/w2n result = unsigned__sum))) ((h4/words/word__msb x <=> h4/words/word__msb y) /\ ~(h4/words/word__msb x <=> h4/words/word__msb result))) (h4/words/n2w unsigned__sum)) (h4/arithmetic/_2B (h4/arithmetic/_2B (h4/words/w2n x) (h4/words/w2n y)) (h4/bool/COND carry__in (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) h4/num/0))
% Assm: h4/words/FST__ADD__WITH__CARRY_c2: !b a. h4/pair/FST (h4/words/add__with__carry (h4/pair/_2C (h4/words/word__1comp a) (h4/pair/_2C b T))) = h4/words/word__sub b a
% Assm: h4/words/nzcv__def: !b a. h4/words/nzcv a b = h4/bool/LET (\q. h4/bool/LET (\r. h4/pair/_2C (h4/words/word__msb r) (h4/pair/_2C (r = h4/words/n2w h4/num/0) (h4/pair/_2C (h4/bit/BIT (h4/fcp/dimindex h4/bool/the__value) q \/ b = h4/words/n2w h4/num/0) (~(h4/words/word__msb a <=> h4/words/word__msb b) /\ ~(h4/words/word__msb r <=> h4/words/word__msb a))))) (h4/words/n2w q)) (h4/arithmetic/_2B (h4/words/w2n a) (h4/words/w2n (h4/words/word__2comp b)))
% Assm: h4/words/WORD__LT: !b a. h4/words/word__lt a b <=> (h4/words/word__msb a <=> h4/words/word__msb b) /\ h4/prim__rec/_3C (h4/words/w2n a) (h4/words/w2n b) \/ h4/words/word__msb a /\ ~h4/words/word__msb b
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/bool/LET__THM: !x f. h4/bool/LET f x = f x
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/words/word__add__n2w: !n m. h4/words/word__add (h4/words/n2w m) (h4/words/n2w n) = h4/words/n2w (h4/arithmetic/_2B m n)
% Assm: h4/bool/EQ__REFL: !x. x = x
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/words/word__sub__def: !w v. h4/words/word__sub v w = h4/words/word__add v (h4/words/word__2comp w)
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/words/word__add__def: !w v. h4/words/word__add v w = h4/words/n2w (h4/arithmetic/_2B (h4/words/w2n v) (h4/words/w2n w))
% Assm: h4/sat/pth__no1: !q p. ~(p \/ q) ==> ~p
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm: h4/sat/pth__no2: !q p. ~(p \/ q) ==> ~q
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/words/WORD__NOT: !w. h4/words/word__1comp w = h4/words/word__sub (h4/words/word__2comp w) (h4/words/n2w (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)))
% Assm: h4/words/WORD__ADD__RINV: !w. h4/words/word__add w (h4/words/word__2comp w) = h4/words/n2w h4/num/0
% Assm: h4/bool/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/words/WORD__ADD__ASSOC: !x w v. h4/words/word__add v (h4/words/word__add w x) = h4/words/word__add (h4/words/word__add v w) x
% Assm: h4/bool/bool__case__thm_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/words/WORD__ADD__COMM: !w v. h4/words/word__add v w = h4/words/word__add w v
% Assm: h4/words/WORD__ADD__0_c1: !w. h4/words/word__add (h4/words/n2w h4/num/0) w = w
% Assm: h4/words/WORD__ADD__0_c0: !w. h4/words/word__add w (h4/words/n2w h4/num/0) = w
% Assm: h4/arithmetic/EXP0_c1: !n m. h4/arithmetic/EXP m (h4/num/SUC n) = h4/arithmetic/_2A m (h4/arithmetic/EXP m n)
% Assm: h4/arithmetic/EXP0_c0: !m. h4/arithmetic/EXP m h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm: h4/arithmetic/SUB__RIGHT__EQ: !p n m. h4/arithmetic/_2D m n = p <=> m = h4/arithmetic/_2B n p \/ h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D p h4/num/0
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/arithmetic/MOD__UNIQUE: !r n k. (?q. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/MOD k n = r
% Assm: h4/arithmetic/SUB__LEFT__EQ: !p n m. m = h4/arithmetic/_2D n p <=> h4/arithmetic/_2B m p = n \/ h4/arithmetic/_3C_3D m h4/num/0 /\ h4/arithmetic/_3C_3D n p
% Assm: h4/arithmetic/SUB__LEFT__LESS: !p n m. h4/prim__rec/_3C m (h4/arithmetic/_2D n p) <=> h4/prim__rec/_3C (h4/arithmetic/_2B m p) n
% Assm: h4/arithmetic/SUB__LEFT__SUB: !p n m. h4/arithmetic/_2D m (h4/arithmetic/_2D n p) = h4/bool/COND (h4/arithmetic/_3C_3D n p) m (h4/arithmetic/_2D (h4/arithmetic/_2B m p) n)
% Assm: h4/arithmetic/SUB__RIGHT__ADD: !p n m. h4/arithmetic/_2B (h4/arithmetic/_2D m n) p = h4/bool/COND (h4/arithmetic/_3C_3D m n) p (h4/arithmetic/_2D (h4/arithmetic/_2B m p) n)
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/arithmetic/ADD__MONO__LESS__EQ: !p n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2B m n) (h4/arithmetic/_2B m p) <=> h4/arithmetic/_3C_3D n p
% Assm: h4/arithmetic/SUB__RIGHT__LESS__EQ: !p n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2D m n) p <=> h4/arithmetic/_3C_3D m (h4/arithmetic/_2B n p)
% Assm: h4/arithmetic/SUC__ONE__ADD: !n. h4/num/SUC n = h4/arithmetic/_2B (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) n
% Assm: h4/arithmetic/EQ__LESS__EQ: !n m. m = n <=> h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D n m
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/bool/EQ__CLAUSES_c2: !t. (F <=> t) <=> ~t
% Assm: h4/arithmetic/ADD__SUB: !c a. h4/arithmetic/_2D (h4/arithmetic/_2B a c) c = a
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/EQ__EXPAND: !t2 t1. (t1 <=> t2) <=> t1 /\ t2 \/ ~t1 /\ ~t2
% Assm: h4/arithmetic/DIVISION: !n. h4/prim__rec/_3C h4/num/0 n ==> (!k. k = h4/arithmetic/_2B (h4/arithmetic/_2A (h4/arithmetic/DIV k n) n) (h4/arithmetic/MOD k n) /\ h4/prim__rec/_3C (h4/arithmetic/MOD k n) n)
% Assm: h4/arithmetic/SUB__PLUS: !c b a. h4/arithmetic/_2D a (h4/arithmetic/_2B b c) = h4/arithmetic/_2D (h4/arithmetic/_2D a b) c
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/arithmetic/SUB__RIGHT__LESS: !p n m. h4/prim__rec/_3C (h4/arithmetic/_2D m n) p <=> h4/prim__rec/_3C m (h4/arithmetic/_2B n p) /\ h4/prim__rec/_3C h4/num/0 p
% Assm: h4/arithmetic/TIMES2: !n. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n = h4/arithmetic/_2B n n
% Assm: h4/arithmetic/ZERO__LESS__EQ: !n. h4/arithmetic/_3C_3D h4/num/0 n
% Assm: h4/arithmetic/LESS__IMP__LESS__OR__EQ: !n m. h4/prim__rec/_3C m n ==> h4/arithmetic/_3C_3D m n
% Assm: h4/arithmetic/SUB__LEFT__SUC: !n m. h4/num/SUC (h4/arithmetic/_2D m n) = h4/bool/COND (h4/arithmetic/_3C_3D m n) (h4/num/SUC h4/num/0) (h4/arithmetic/_2D (h4/num/SUC m) n)
% Assm: h4/arithmetic/SUB__LEFT__ADD: !p n m. h4/arithmetic/_2B m (h4/arithmetic/_2D n p) = h4/bool/COND (h4/arithmetic/_3C_3D n p) m (h4/arithmetic/_2D (h4/arithmetic/_2B m n) p)
% Assm: h4/arithmetic/SUB__LEFT__LESS__EQ: !p n m. h4/arithmetic/_3C_3D m (h4/arithmetic/_2D n p) <=> h4/arithmetic/_3C_3D (h4/arithmetic/_2B m p) n \/ h4/arithmetic/_3C_3D m h4/num/0
% Assm: h4/arithmetic/NOT__LEQ: !n m. ~h4/arithmetic/_3C_3D m n <=> h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Assm: h4/arithmetic/NOT__NUM__EQ: !n m. ~(m = n) <=> h4/arithmetic/_3C_3D (h4/num/SUC m) n \/ h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Assm: h4/bool/LET__DEF: h4/bool/LET = (\f x. f x)
% Assm: h4/arithmetic/DIV__MULT: !r n. h4/prim__rec/_3C r n ==> (!q. h4/arithmetic/DIV (h4/arithmetic/_2B (h4/arithmetic/_2A q n) r) n = q)
% Assm: h4/bool/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/arithmetic/LESS__EQ__ADD__SUB: !c b. h4/arithmetic/_3C_3D c b ==> (!a. h4/arithmetic/_2D (h4/arithmetic/_2B a b) c = h4/arithmetic/_2B a (h4/arithmetic/_2D b c))
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~t
% Assm: h4/arithmetic/NOT__SUC__LESS__EQ: !n m. ~h4/arithmetic/_3C_3D (h4/num/SUC n) m <=> h4/arithmetic/_3C_3D m n
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/arithmetic/SUB__LESS__EQ: !n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2D n m) n
% Assm: h4/arithmetic/LESS__ADD__1: !n m. h4/prim__rec/_3C n m ==> (?p. m = h4/arithmetic/_2B n (h4/arithmetic/_2B p (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))
% Assm: h4/arithmetic/LESS__EQUAL__ADD: !n m. h4/arithmetic/_3C_3D m n ==> (?p. n = h4/arithmetic/_2B m p)
% Assm: h4/arithmetic/MULT__CLAUSES_c2: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = 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/LESS__EQ__TRANS: !p n m. h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D n p ==> h4/arithmetic/_3C_3D m p
% Assm: h4/arithmetic/SUC__SUB1: !m. h4/arithmetic/_2D (h4/num/SUC m) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) = m
% Assm: h4/arithmetic/MULT__LEFT__1: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = m
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/arithmetic/SUB__0_c1: !m. h4/arithmetic/_2D m h4/num/0 = m
% Assm: h4/arithmetic/NOT__LESS: !n m. ~h4/prim__rec/_3C m n <=> h4/arithmetic/_3C_3D n 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/LESS__MOD: !n k. h4/prim__rec/_3C k n ==> h4/arithmetic/MOD k n = k
% Assm: h4/arithmetic/LESS__EQ__LESS__TRANS: !p n m. h4/arithmetic/_3C_3D m n /\ h4/prim__rec/_3C n p ==> h4/prim__rec/_3C m p
% Assm: h4/arithmetic/LESS__EQ__REFL: !m. h4/arithmetic/_3C_3D m m
% Assm: h4/arithmetic/SUB__EQ__0: !n m. h4/arithmetic/_2D m n = h4/num/0 <=> h4/arithmetic/_3C_3D m n
% Assm: h4/arithmetic/LESS__EQ: !n m. h4/prim__rec/_3C m n <=> h4/arithmetic/_3C_3D (h4/num/SUC m) n
% Assm: h4/arithmetic/ADD__COMM: !n m. h4/arithmetic/_2B m n = h4/arithmetic/_2B n m
% Assm: h4/arithmetic/ONE: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/arithmetic/ADD__0: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm: h4/arithmetic/ADD_c1: !n m. h4/arithmetic/_2B (h4/num/SUC m) n = h4/num/SUC (h4/arithmetic/_2B m n)
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/prim__rec/NOT__LESS__0: !n. ~h4/prim__rec/_3C n h4/num/0
% Assm: h4/arithmetic/ADD__CLAUSES_c0: !m. h4/arithmetic/_2B h4/num/0 m = m
% Assm: h4/arithmetic/ADD_c0: !n. h4/arithmetic/_2B h4/num/0 n = n
% Assm: h4/prim__rec/LESS__REFL: !n. ~h4/prim__rec/_3C n n
% Assm: h4/num/INDUCTION: !P. P h4/num/0 /\ (!n. P n ==> P (h4/num/SUC n)) ==> (!n. P n)
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/arithmetic/ADD__CLAUSES_c1: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm: h4/marker/Abbrev__def: !x. h4/marker/Abbrev x <=> x
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% 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/FALSITY: !t. F ==> t
% 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/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/OR__CLAUSES_c1: !t. t \/ T <=> T
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/LEFT__OR__OVER__AND: !C B A. A \/ B /\ C <=> (A \/ B) /\ (A \/ C)
% Assm: h4/bool/OR__CLAUSES_c3: !t. t \/ F <=> t
% Assm: h4/bool/RIGHT__OR__OVER__AND: !C B A. B /\ C \/ A <=> (B \/ A) /\ (C \/ A)
% Goal: !y x. h4/words/add__with__carry (h4/pair/_2C x (h4/pair/_2C (h4/words/word__1comp y) T)) = h4/pair/_2C (h4/words/word__sub x y) (h4/pair/_2C (h4/words/word__ls y x) (~(h4/words/word__msb x <=> h4/words/word__msb y) /\ ~(h4/words/word__msb (h4/words/word__sub x y) <=> h4/words/word__msb x)))
%   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_wordss_FSTu_u_ADDu_u_WITHu_u_CARRYu_c1]: !b a. h4/pair/FST (h4/words/add__with__carry (h4/pair/_2C a (h4/pair/_2C (h4/words/word__1comp b) T))) = h4/words/word__sub a b
% Assm [h4s_pairs_UNCURRYu_u_DEF]: !y x f. h4/pair/UNCURRY f (h4/pair/_2C x y) = happ (happ f x) y
% Assm [h4s_wordss_addu_u_withu_u_carryu_u_def]: !_3. (!result carry__out overflow. happ (happ (happ _3 result) carry__out) overflow = h4/pair/_2C result (h4/pair/_2C carry__out overflow)) ==> (!_2. (!result carry__out. happ (happ _2 result) carry__out = happ (happ _3 result) carry__out) ==> (!_1. (!unsigned__sum y x result. ?v. (v <=> (h4/words/word__msb x <=> h4/words/word__msb y) /\ ~(h4/words/word__msb x <=> h4/words/word__msb result)) /\ (?v'. (v' <=> ~(h4/words/w2n result = unsigned__sum)) /\ happ (happ (happ (happ _1 unsigned__sum) y) x) result = h4/bool/LET (h4/bool/LET (happ _2 result) v') v)) ==> (!_0. (!y x unsigned__sum. happ (happ (happ _0 y) x) unsigned__sum = h4/bool/LET (happ (happ (happ _1 unsigned__sum) y) x) (h4/words/n2w unsigned__sum)) ==> (!y x carry__in. h4/words/add__with__carry (h4/pair/_2C x (h4/pair/_2C y carry__in)) = h4/bool/LET (happ (happ _0 y) x) (h4/arithmetic/_2B (h4/arithmetic/_2B (h4/words/w2n x) (h4/words/w2n y)) (h4/bool/COND carry__in (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) h4/num/0))))))
% Assm [h4s_wordss_FSTu_u_ADDu_u_WITHu_u_CARRYu_c2]: !b a. h4/pair/FST (h4/words/add__with__carry (h4/pair/_2C (h4/words/word__1comp a) (h4/pair/_2C b T))) = h4/words/word__sub b a
% Assm [h4s_wordss_nzcvu_u_def]: !_1. (!q b a r. ?v. (v <=> ~(h4/words/word__msb a <=> h4/words/word__msb b) /\ ~(h4/words/word__msb r <=> h4/words/word__msb a)) /\ (?v'. (v' <=> h4/bit/BIT (h4/fcp/dimindex h4/bool/the__value) q \/ b = h4/words/n2w h4/num/0) /\ (?v''. (v'' <=> r = h4/words/n2w h4/num/0) /\ happ (happ (happ (happ _1 q) b) a) r = h4/pair/_2C (h4/words/word__msb r) (h4/pair/_2C v'' (h4/pair/_2C v' v))))) ==> (!_0. (!b a q. happ (happ (happ _0 b) a) q = h4/bool/LET (happ (happ (happ _1 q) b) a) (h4/words/n2w q)) ==> (!b a. h4/words/nzcv a b = h4/bool/LET (happ (happ _0 b) a) (h4/arithmetic/_2B (h4/words/w2n a) (h4/words/w2n (h4/words/word__2comp b)))))
% Assm [h4s_wordss_WORDu_u_LT]: !b a. h4/words/word__lt a b <=> (h4/words/word__msb a <=> h4/words/word__msb b) /\ h4/prim__rec/_3C (h4/words/w2n a) (h4/words/w2n b) \/ h4/words/word__msb a /\ ~h4/words/word__msb b
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_bools_LETu_u_THM]: !x f. h4/bool/LET f x = happ f x
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_wordss_wordu_u_addu_u_n2w]: !n m. h4/words/word__add (h4/words/n2w m) (h4/words/n2w n) = h4/words/n2w (h4/arithmetic/_2B m n)
% Assm [h4s_bools_EQu_u_REFL]: !x. x = x
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_wordss_wordu_u_subu_u_def]: !w v. h4/words/word__sub v w = h4/words/word__add v (h4/words/word__2comp w)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_wordss_wordu_u_addu_u_def]: !w v. h4/words/word__add v w = h4/words/n2w (h4/arithmetic/_2B (h4/words/w2n v) (h4/words/w2n w))
% Assm [h4s_sats_pthu_u_no1]: !q p. ~(p \/ q) ==> ~p
% Assm [h4s_combins_Iu_u_THM]: !x. h4/combin/I x = x
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm [h4s_sats_pthu_u_no2]: !q p. ~(p \/ q) ==> ~q
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_dcu_u_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_wordss_WORDu_u_NOT]: !w. h4/words/word__1comp w = h4/words/word__sub (h4/words/word__2comp w) (h4/words/n2w (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)))
% Assm [h4s_wordss_WORDu_u_ADDu_u_RINV]: !w. h4/words/word__add w (h4/words/word__2comp w) = h4/words/n2w h4/num/0
% Assm [h4s_bools_FORALLu_u_ANDu_u_THM]: !Q P. (!x. happ P x /\ happ Q x) <=> (!x. happ P x) /\ (!x. happ Q x)
% Assm [h4s_pairs_FST0]: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_wordss_WORDu_u_ADDu_u_ASSOC]: !x w v. h4/words/word__add v (h4/words/word__add w x) = h4/words/word__add (h4/words/word__add v w) x
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_wordss_WORDu_u_ADDu_u_COMM]: !w v. h4/words/word__add v w = h4/words/word__add w v
% Assm [h4s_wordss_WORDu_u_ADDu_u_0u_c1]: !w. h4/words/word__add (h4/words/n2w h4/num/0) w = w
% Assm [h4s_wordss_WORDu_u_ADDu_u_0u_c0]: !w. h4/words/word__add w (h4/words/n2w h4/num/0) = w
% Assm [h4s_arithmetics_EXP0u_c1]: !n m. h4/arithmetic/EXP m (h4/num/SUC n) = h4/arithmetic/_2A m (h4/arithmetic/EXP m n)
% Assm [h4s_arithmetics_EXP0u_c0]: !m. h4/arithmetic/EXP m h4/num/0 = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)
% Assm [h4s_arithmetics_SUBu_u_RIGHTu_u_EQ]: !p n m. h4/arithmetic/_2D m n = p <=> m = h4/arithmetic/_2B n p \/ h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D p h4/num/0
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_arithmetics_MODu_u_UNIQUE]: !r n k. (?q. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/MOD k n = r
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_EQ]: !p n m. m = h4/arithmetic/_2D n p <=> h4/arithmetic/_2B m p = n \/ h4/arithmetic/_3C_3D m h4/num/0 /\ h4/arithmetic/_3C_3D n p
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_LESS]: !p n m. h4/prim__rec/_3C m (h4/arithmetic/_2D n p) <=> h4/prim__rec/_3C (h4/arithmetic/_2B m p) n
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_SUB]: !p n m. h4/arithmetic/_2D m (h4/arithmetic/_2D n p) = h4/bool/COND (h4/arithmetic/_3C_3D n p) m (h4/arithmetic/_2D (h4/arithmetic/_2B m p) n)
% Assm [h4s_arithmetics_SUBu_u_RIGHTu_u_ADD]: !p n m. h4/arithmetic/_2B (h4/arithmetic/_2D m n) p = h4/bool/COND (h4/arithmetic/_3C_3D m n) p (h4/arithmetic/_2D (h4/arithmetic/_2B m p) n)
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_arithmetics_ADDu_u_MONOu_u_LESSu_u_EQ]: !p n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2B m n) (h4/arithmetic/_2B m p) <=> h4/arithmetic/_3C_3D n p
% Assm [h4s_arithmetics_SUBu_u_RIGHTu_u_LESSu_u_EQ]: !p n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2D m n) p <=> h4/arithmetic/_3C_3D m (h4/arithmetic/_2B n p)
% Assm [h4s_arithmetics_SUCu_u_ONEu_u_ADD]: !n. h4/num/SUC n = h4/arithmetic/_2B (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) n
% Assm [h4s_arithmetics_EQu_u_LESSu_u_EQ]: !n m. m = n <=> h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D n m
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c2]: !t. (F <=> t) <=> ~t
% Assm [h4s_arithmetics_ADDu_u_SUB]: !c a. h4/arithmetic/_2D (h4/arithmetic/_2B a c) c = a
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_EQu_u_EXPAND]: !t2 t1. (t1 <=> t2) <=> t1 /\ t2 \/ ~t1 /\ ~t2
% Assm [h4s_arithmetics_DIVISION]: !n. h4/prim__rec/_3C h4/num/0 n ==> (!k. k = h4/arithmetic/_2B (h4/arithmetic/_2A (h4/arithmetic/DIV k n) n) (h4/arithmetic/MOD k n) /\ h4/prim__rec/_3C (h4/arithmetic/MOD k n) n)
% Assm [h4s_arithmetics_SUBu_u_PLUS]: !c b a. h4/arithmetic/_2D a (h4/arithmetic/_2B b c) = h4/arithmetic/_2D (h4/arithmetic/_2D a b) c
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_arithmetics_SUBu_u_RIGHTu_u_LESS]: !p n m. h4/prim__rec/_3C (h4/arithmetic/_2D m n) p <=> h4/prim__rec/_3C m (h4/arithmetic/_2B n p) /\ h4/prim__rec/_3C h4/num/0 p
% Assm [h4s_arithmetics_TIMES2]: !n. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) n = h4/arithmetic/_2B n n
% Assm [h4s_arithmetics_ZEROu_u_LESSu_u_EQ]: !n. h4/arithmetic/_3C_3D h4/num/0 n
% Assm [h4s_arithmetics_LESSu_u_IMPu_u_LESSu_u_ORu_u_EQ]: !n m. h4/prim__rec/_3C m n ==> h4/arithmetic/_3C_3D m n
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_SUC]: !n m. h4/num/SUC (h4/arithmetic/_2D m n) = h4/bool/COND (h4/arithmetic/_3C_3D m n) (h4/num/SUC h4/num/0) (h4/arithmetic/_2D (h4/num/SUC m) n)
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_ADD]: !p n m. h4/arithmetic/_2B m (h4/arithmetic/_2D n p) = h4/bool/COND (h4/arithmetic/_3C_3D n p) m (h4/arithmetic/_2D (h4/arithmetic/_2B m n) p)
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_LESSu_u_EQ]: !p n m. h4/arithmetic/_3C_3D m (h4/arithmetic/_2D n p) <=> h4/arithmetic/_3C_3D (h4/arithmetic/_2B m p) n \/ h4/arithmetic/_3C_3D m h4/num/0
% Assm [h4s_arithmetics_NOTu_u_LEQ]: !n m. ~h4/arithmetic/_3C_3D m n <=> h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Assm [h4s_arithmetics_NOTu_u_NUMu_u_EQ]: !n m. ~(m = n) <=> h4/arithmetic/_3C_3D (h4/num/SUC m) n \/ h4/arithmetic/_3C_3D (h4/num/SUC n) m
% Assm [h4s_bools_LETu_u_DEF]: !x x. h4/bool/LET x x = happ x x
% Assm [h4s_arithmetics_DIVu_u_MULT]: !r n. h4/prim__rec/_3C r n ==> (!q. h4/arithmetic/DIV (h4/arithmetic/_2B (h4/arithmetic/_2A q n) r) n = q)
% Assm [h4s_bools_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_arithmetics_LESSu_u_EQu_u_ADDu_u_SUB]: !c b. h4/arithmetic/_3C_3D c b ==> (!a. h4/arithmetic/_2D (h4/arithmetic/_2B a b) c = h4/arithmetic/_2B a (h4/arithmetic/_2D b c))
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~t
% Assm [h4s_arithmetics_NOTu_u_SUCu_u_LESSu_u_EQ]: !n m. ~h4/arithmetic/_3C_3D (h4/num/SUC n) m <=> h4/arithmetic/_3C_3D m n
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_arithmetics_SUBu_u_LESSu_u_EQ]: !n m. h4/arithmetic/_3C_3D (h4/arithmetic/_2D n m) n
% Assm [h4s_arithmetics_LESSu_u_ADDu_u_1]: !n m. h4/prim__rec/_3C n m ==> (?p. m = h4/arithmetic/_2B n (h4/arithmetic/_2B p (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))
% Assm [h4s_arithmetics_LESSu_u_EQUALu_u_ADD]: !n m. h4/arithmetic/_3C_3D m n ==> (?p. n = h4/arithmetic/_2B m p)
% Assm [h4s_arithmetics_MULTu_u_CLAUSESu_c2]: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = 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_LESSu_u_EQu_u_TRANS]: !p n m. h4/arithmetic/_3C_3D m n /\ h4/arithmetic/_3C_3D n p ==> h4/arithmetic/_3C_3D m p
% Assm [h4s_arithmetics_SUCu_u_SUB1]: !m. h4/arithmetic/_2D (h4/num/SUC m) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) = m
% 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_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% Assm [h4s_arithmetics_SUBu_u_0u_c1]: !m. h4/arithmetic/_2D m h4/num/0 = m
% Assm [h4s_arithmetics_NOTu_u_LESS]: !n m. ~h4/prim__rec/_3C m n <=> h4/arithmetic/_3C_3D n 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_LESSu_u_MOD]: !n k. h4/prim__rec/_3C k n ==> h4/arithmetic/MOD k n = k
% Assm [h4s_arithmetics_LESSu_u_EQu_u_LESSu_u_TRANS]: !p n m. h4/arithmetic/_3C_3D m n /\ h4/prim__rec/_3C n p ==> h4/prim__rec/_3C m p
% Assm [h4s_arithmetics_LESSu_u_EQu_u_REFL]: !m. h4/arithmetic/_3C_3D m m
% Assm [h4s_arithmetics_SUBu_u_EQu_u_0]: !n m. h4/arithmetic/_2D m n = h4/num/0 <=> h4/arithmetic/_3C_3D m n
% Assm [h4s_arithmetics_LESSu_u_EQ]: !n m. h4/prim__rec/_3C m n <=> h4/arithmetic/_3C_3D (h4/num/SUC m) n
% Assm [h4s_arithmetics_ADDu_u_COMM]: !n m. h4/arithmetic/_2B m n = h4/arithmetic/_2B n m
% Assm [h4s_arithmetics_ONE]: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_arithmetics_ADDu_u_0]: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm [h4s_arithmetics_ADDu_c1]: !n m. h4/arithmetic/_2B (h4/num/SUC m) n = h4/num/SUC (h4/arithmetic/_2B m n)
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_primu_u_recs_NOTu_u_LESSu_u_0]: !n. ~h4/prim__rec/_3C n h4/num/0
% Assm [h4s_arithmetics_ADDu_u_CLAUSESu_c0]: !m. h4/arithmetic/_2B h4/num/0 m = m
% Assm [h4s_arithmetics_ADDu_c0]: !n. h4/arithmetic/_2B h4/num/0 n = n
% Assm [h4s_primu_u_recs_LESSu_u_REFL]: !n. ~h4/prim__rec/_3C n n
% Assm [h4s_nums_INDUCTION]: !P. happ P h4/num/0 /\ (!n. happ P n ==> happ P (h4/num/SUC n)) ==> (!n. happ P n)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_arithmetics_ADDu_u_CLAUSESu_c1]: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm [h4s_markers_Abbrevu_u_def]: !x. h4/marker/Abbrev x <=> x
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% 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_FALSITY]: !t. F ==> t
% 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_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c1]: !t. t \/ T <=> T
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_LEFTu_u_ORu_u_OVERu_u_AND]: !C B A. A \/ B /\ C <=> (A \/ B) /\ (A \/ C)
% Assm [h4s_bools_ORu_u_CLAUSESu_c3]: !t. t \/ F <=> t
% Assm [h4s_bools_RIGHTu_u_ORu_u_OVERu_u_AND]: !C B A. B /\ C \/ A <=> (B \/ A) /\ (C \/ A)
% Goal: !y x. ?v. (v <=> ~(h4/words/word__msb x <=> h4/words/word__msb y) /\ ~(h4/words/word__msb (h4/words/word__sub x y) <=> h4/words/word__msb x)) /\ h4/words/add__with__carry (h4/pair/_2C x (h4/pair/_2C (h4/words/word__1comp y) T)) = h4/pair/_2C (h4/words/word__sub x y) (h4/pair/_2C (h4/words/word__ls y x) v)
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_Q1213152,TV_Q1213148]: ![V_f, V_g]: (![V_x]: s(TV_Q1213148,happ(s(t_fun(TV_Q1213152,TV_Q1213148),V_f),s(TV_Q1213152,V_x))) = s(TV_Q1213148,happ(s(t_fun(TV_Q1213152,TV_Q1213148),V_g),s(TV_Q1213152,V_x))) => s(t_fun(TV_Q1213152,TV_Q1213148),V_f) = s(t_fun(TV_Q1213152,TV_Q1213148),V_g))).
fof(ah4s_wordss_FSTu_u_ADDu_u_WITHu_u_CARRYu_c1, axiom, ![TV_u_27b]: ![V_b, V_a]: s(t_h4s_fcps_cart(t_bool,TV_u_27b),h4s_pairs_fst(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27b),t_h4s_pairs_prod(t_bool,t_bool)),h4s_wordss_addu_u_withu_u_carry(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27b),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27b),t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27b),V_a),s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27b),t_bool),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27b),h4s_wordss_wordu_u_1comp(s(t_h4s_fcps_cart(t_bool,TV_u_27b),V_b))),s(t_bool,t))))))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27b),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27b),V_a),s(t_h4s_fcps_cart(t_bool,TV_u_27b),V_b)))).
fof(ah4s_pairs_UNCURRYu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_y, V_x, V_f]: s(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),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))).
fof(ah4s_wordss_addu_u_withu_u_carryu_u_def, axiom, ![TV_u_27a]: ![V_uu_3]: (![V_result, V_carryu_u_out, V_overflow]: s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),happ(s(t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_3),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))),s(t_bool,V_carryu_u_out))),s(t_bool,V_overflow))) = s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result),s(t_h4s_pairs_prod(t_bool,t_bool),h4s_pairs_u_2c(s(t_bool,V_carryu_u_out),s(t_bool,V_overflow))))) => ![V_uu_2]: (![V_result, V_carryu_u_out]: s(t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_2),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))),s(t_bool,V_carryu_u_out))) = s(t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_3),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))),s(t_bool,V_carryu_u_out))) => ![V_uu_1]: (![V_unsignedu_u_sum, V_y, V_x, V_result]: ?[V_v]: ((p(s(t_bool,V_v)) <=> (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))) & ~ (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result)))))) & ?[V_vi_]: ((p(s(t_bool,V_vi_)) <=> ~ (s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))) = s(t_h4s_nums_num,V_unsignedu_u_sum))) & s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))))),V_uu_1),s(t_h4s_nums_num,V_unsignedu_u_sum))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))) = s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_bools_let(s(t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),h4s_bools_let(s(t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_bool,t_fun(t_bool,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_2),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_result))),s(t_bool,V_vi_))),s(t_bool,V_v))))) => ![V_uu_0]: (![V_y, V_x, V_unsignedu_u_sum]: s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_h4s_nums_num,V_unsignedu_u_sum))) = s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_bools_let(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))))),V_uu_1),s(t_h4s_nums_num,V_unsignedu_u_sum))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,V_unsignedu_u_sum))))) => ![V_y, V_x, V_carryu_u_in]: s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_wordss_addu_u_withu_u_carry(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x),s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_bool),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y),s(t_bool,V_carryu_u_in))))))) = s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_bools_let(s(t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool))))),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))))),s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,V_carryu_u_in),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_nums_0)))))))))))).
fof(ah4s_wordss_FSTu_u_ADDu_u_WITHu_u_CARRYu_c2, axiom, ![TV_u_27c]: ![V_b, V_a]: s(t_h4s_fcps_cart(t_bool,TV_u_27c),h4s_pairs_fst(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27c),t_h4s_pairs_prod(t_bool,t_bool)),h4s_wordss_addu_u_withu_u_carry(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27c),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27c),t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27c),h4s_wordss_wordu_u_1comp(s(t_h4s_fcps_cart(t_bool,TV_u_27c),V_a))),s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27c),t_bool),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27c),V_b),s(t_bool,t))))))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27c),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27c),V_b),s(t_h4s_fcps_cart(t_bool,TV_u_27c),V_a)))).
fof(ah4s_wordss_nzcvu_u_def, axiom, ![TV_u_27a]: ![V_uu_1]: (![V_q, V_b, V_a, V_r]: ?[V_v]: ((p(s(t_bool,V_v)) <=> (~ (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b)))) & ~ (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_r))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a)))))) & ?[V_vi_]: ((p(s(t_bool,V_vi_)) <=> (p(s(t_bool,h4s_bits_bit(s(t_h4s_nums_num,h4s_fcps_dimindex(s(t_h4s_bools_itself(TV_u_27a),h4s_bools_theu_u_value))),s(t_h4s_nums_num,V_q)))) | s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_nums_0))))) & ?[V_vi_i_]: ((p(s(t_bool,V_vi_i_)) <=> s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_r) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_nums_0)))) & s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))))),V_uu_1),s(t_h4s_nums_num,V_q))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_r))) = s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),h4s_pairs_u_2c(s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_r))),s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)),h4s_pairs_u_2c(s(t_bool,V_vi_i_),s(t_h4s_pairs_prod(t_bool,t_bool),h4s_pairs_u_2c(s(t_bool,V_vi_),s(t_bool,V_v)))))))))) => ![V_uu_0]: (![V_b, V_a, V_q]: s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))))),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_nums_num,V_q))) = s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),h4s_bools_let(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))))),V_uu_1),s(t_h4s_nums_num,V_q))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,V_q))))) => ![V_b, V_a]: s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),h4s_wordss_nzcv(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))) = s(t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))),h4s_bools_let(s(t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool))))),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_h4s_pairs_prod(t_bool,t_bool)))))),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_2comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b)))))))))))).
fof(ah4s_wordss_WORDu_u_LT, axiom, ![TV_u_27a]: ![V_b, V_a]: (p(s(t_bool,h4s_wordss_wordu_u_lt(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b)))) <=> ((s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a))),s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))))))) | (p(s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_a)))) & ~ (p(s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_b))))))))).
fof(ah4s_bools_TRUTH, axiom, 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_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_LETu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(TV_u_27b,h4s_bools_let(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))).
fof(ah4s_bools_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_wordss_wordu_u_addu_u_n2w, axiom, ![TV_u_27a]: ![V_n, V_m]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,V_m))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,V_n))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_bools_EQu_u_REFL, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,V_x) = s(TV_u_27a,V_x)).
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_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f))))).
fof(ah4s_sats_dcu_u_imp, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) => p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (~ (p(s(t_bool,V_q))) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_wordss_wordu_u_subu_u_def, axiom, ![TV_u_27a]: ![V_w, V_v]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_2comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w)))))).
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_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_wordss_wordu_u_addu_u_def, axiom, ![TV_u_27a]: ![V_w, V_v]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v))),s(t_h4s_nums_num,h4s_wordss_w2n(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w)))))))).
fof(ah4s_sats_pthu_u_no1, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) | p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_p))))).
fof(ah4s_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_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_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => 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_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_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_pthu_u_no2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) | p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ah4s_sats_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_dcu_u_eq, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> s(t_bool,V_q) = s(t_bool,V_r)) <=> ((p(s(t_bool,V_p)) | (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) & ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_q))))) & ((p(s(t_bool,V_q)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_p))))) & (p(s(t_bool,V_r)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p)))))))))).
fof(ah4s_wordss_WORDu_u_NOT, axiom, ![TV_u_27a]: ![V_w]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_1comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_2comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(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_wordss_WORDu_u_ADDu_u_RINV, axiom, ![TV_u_27a]: ![V_w]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_2comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_nums_0)))).
fof(ah4s_bools_FORALLu_u_ANDu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) <=> (![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_pairs_FST0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(TV_u_27a,h4s_pairs_fst(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27a,V_x)).
fof(ah4s_wordss_WORDu_u_ADDu_u_ASSOC, axiom, ![TV_u_27a]: ![V_x, V_w, V_v]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x)))).
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_wordss_WORDu_u_ADDu_u_COMM, axiom, ![TV_u_27a]: ![V_w, V_v]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_v)))).
fof(ah4s_wordss_WORDu_u_ADDu_u_0u_c1, axiom, ![TV_u_27a]: ![V_w]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w)).
fof(ah4s_wordss_WORDu_u_ADDu_u_0u_c0, axiom, ![TV_u_27a]: ![V_w]: s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_add(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w),s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_n2w(s(t_h4s_nums_num,h4s_nums_0))))) = s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w)).
fof(ah4s_arithmetics_EXP0u_c1, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_exp(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,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_exp(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_arithmetics_EXP0u_c0, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_exp(s(t_h4s_nums_num,V_m),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_arithmetics_SUBu_u_RIGHTu_u_EQ, axiom, ![V_p, V_n, V_m]: (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_nums_num,V_p) <=> (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))) | (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) & p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_p),s(t_h4s_nums_num,h4s_nums_0)))))))).
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_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,t)))).
fof(ah4s_arithmetics_MODu_u_UNIQUE, axiom, ![V_r, V_n, V_k]: (?[V_q]: (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_mod(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_r))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_EQ, axiom, ![V_p, V_n, V_m]: (s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,h4s_arithmetics_u_2d(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,V_m),s(t_h4s_nums_num,V_p))) = s(t_h4s_nums_num,V_n) | (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_0)))) & p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))))))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_LESS, axiom, ![V_p, V_n, V_m]: s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) = s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_SUB, axiom, ![V_p, V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_arithmetics_SUBu_u_RIGHTu_u_ADD, axiom, ![V_p, V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(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_nums_num,V_p))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_arithmetics_u_3cu_3d(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_2d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_n)))))).
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_arithmetics_ADDu_u_MONOu_u_LESSu_u_EQ, axiom, ![V_p, V_n, V_m]: s(t_bool,h4s_arithmetics_u_3cu_3d(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,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))))) = s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))).
fof(ah4s_arithmetics_SUBu_u_RIGHTu_u_LESSu_u_EQ, axiom, ![V_p, V_n, V_m]: s(t_bool,h4s_arithmetics_u_3cu_3d(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_nums_num,V_p))) = s(t_bool,h4s_arithmetics_u_3cu_3d(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)))))).
fof(ah4s_arithmetics_SUCu_u_ONEu_u_ADD, axiom, ![V_n]: s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_EQu_u_LESSu_u_EQ, axiom, ![V_n, V_m]: (s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n) <=> (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) & p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m))))))).
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_EQu_u_CLAUSESu_c2, axiom, ![V_t]: (s(t_bool,f) = s(t_bool,V_t) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_arithmetics_ADDu_u_SUB, axiom, ![V_c, V_a]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_a),s(t_h4s_nums_num,V_c))),s(t_h4s_nums_num,V_c))) = s(t_h4s_nums_num,V_a)).
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_EQu_u_EXPAND, 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_t1))) & ~ (p(s(t_bool,V_t2))))))).
fof(ah4s_arithmetics_DIVISION, axiom, ![V_n]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_n)))) => ![V_k]: (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,h4s_arithmetics_div(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_arithmetics_mod(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_arithmetics_mod(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_n))))))).
fof(ah4s_arithmetics_SUBu_u_PLUS, axiom, ![V_c, V_b, V_a]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_a),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_b),s(t_h4s_nums_num,V_c))))) = s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_a),s(t_h4s_nums_num,V_b))),s(t_h4s_nums_num,V_c)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
fof(ah4s_arithmetics_SUBu_u_RIGHTu_u_LESS, axiom, ![V_p, V_n, V_m]: (p(s(t_bool,h4s_primu_u_recs_u_3c(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_nums_num,V_p)))) <=> (p(s(t_bool,h4s_primu_u_recs_u_3c(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)))))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_p))))))).
fof(ah4s_arithmetics_TIMES2, axiom, ![V_n]: 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))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_ZEROu_u_LESSu_u_EQ, axiom, ![V_n]: p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_n))))).
fof(ah4s_arithmetics_LESSu_u_IMPu_u_LESSu_u_ORu_u_EQ, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) => p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_SUC, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_nums_suc(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_nums_num,h4s_bools_cond(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_ADD, 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_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(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_SUBu_u_LEFTu_u_LESSu_u_EQ, axiom, ![V_p, V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))))) <=> (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_n)))) | p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_0))))))).
fof(ah4s_arithmetics_NOTu_u_LEQ, axiom, ![V_n, V_m]: (~ (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))))) <=> p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_m)))))).
fof(ah4s_arithmetics_NOTu_u_NUMu_u_EQ, axiom, ![V_n, V_m]: (~ (s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n)) <=> (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n)))) | p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_m))))))).
fof(ah4s_bools_LETu_u_DEF, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_x0]: s(TV_u_27b,h4s_bools_let(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x0))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x),s(TV_u_27a,V_x0)))).
fof(ah4s_arithmetics_DIVu_u_MULT, axiom, ![V_r, V_n]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_r),s(t_h4s_nums_num,V_n)))) => ![V_q]: s(t_h4s_nums_num,h4s_arithmetics_div(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))),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_q))).
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_arithmetics_LESSu_u_EQu_u_ADDu_u_SUB, axiom, ![V_c, V_b]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_c),s(t_h4s_nums_num,V_b)))) => ![V_a]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_a),s(t_h4s_nums_num,V_b))),s(t_h4s_nums_num,V_c))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_a),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_b),s(t_h4s_nums_num,V_c))))))).
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_arithmetics_NOTu_u_SUCu_u_LESSu_u_EQ, axiom, ![V_n, V_m]: (~ (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_m))))) <=> p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
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_arithmetics_SUBu_u_LESSu_u_EQ, axiom, ![V_n, V_m]: p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n))))).
fof(ah4s_arithmetics_LESSu_u_ADDu_u_1, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))) => ?[V_p]: 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,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_p),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_arithmetics_LESSu_u_EQUALu_u_ADD, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) => ?[V_p]: s(t_h4s_nums_num,V_n) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))))).
fof(ah4s_arithmetics_MULTu_u_CLAUSESu_c2, 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_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_LESSu_u_EQu_u_TRANS, axiom, ![V_p, V_n, V_m]: ((p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) & p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) => p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p)))))).
fof(ah4s_arithmetics_SUCu_u_SUB1, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),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)).
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_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_arithmetics_SUBu_u_0u_c1, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(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_NOTu_u_LESS, axiom, ![V_n, V_m]: (~ (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))))) <=> p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_n),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_LESSu_u_MOD, axiom, ![V_n, V_k]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n)))) => s(t_h4s_nums_num,h4s_arithmetics_mod(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_k))).
fof(ah4s_arithmetics_LESSu_u_EQu_u_LESSu_u_TRANS, axiom, ![V_p, V_n, V_m]: ((p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p))))) => p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p)))))).
fof(ah4s_arithmetics_LESSu_u_EQu_u_REFL, axiom, ![V_m]: p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_m))))).
fof(ah4s_arithmetics_SUBu_u_EQu_u_0, axiom, ![V_n, V_m]: (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_nums_num,h4s_nums_0) <=> p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_arithmetics_LESSu_u_EQ, axiom, ![V_n, V_m]: s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))) = s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_ADDu_u_COMM, axiom, ![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,V_n))) = 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_arithmetics_ONE, axiom, 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_nums_suc(s(t_h4s_nums_num,h4s_nums_0)))).
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_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_c1, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))).
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_primu_u_recs_NOTu_u_LESSu_u_0, axiom, ![V_n]: ~ (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_nums_0)))))).
fof(ah4s_arithmetics_ADDu_u_CLAUSESu_c0, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,V_m)).
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_primu_u_recs_LESSu_u_REFL, axiom, ![V_n]: ~ (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_nums_INDUCTION, axiom, ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_0)))) & ![V_n]: (p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))) => p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))))) => ![V_n]: p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))))).
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_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(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_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_arithmetics_ADDu_u_CLAUSESu_c1, 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_markers_Abbrevu_u_def, axiom, ![V_x]: s(t_bool,h4s_markers_abbrev(s(t_bool,V_x))) = s(t_bool,V_x)).
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_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_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_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_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) | p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_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_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_ORu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_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_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_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_LEFTu_u_ORu_u_OVERu_u_AND, axiom, ![V_C, V_B, V_A]: ((p(s(t_bool,V_A)) | (p(s(t_bool,V_B)) & p(s(t_bool,V_C)))) <=> ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) & (p(s(t_bool,V_A)) | p(s(t_bool,V_C)))))).
fof(ah4s_bools_ORu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,f))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_RIGHTu_u_ORu_u_OVERu_u_AND, axiom, ![V_C, V_B, V_A]: (((p(s(t_bool,V_B)) & p(s(t_bool,V_C))) | p(s(t_bool,V_A))) <=> ((p(s(t_bool,V_B)) | p(s(t_bool,V_A))) & (p(s(t_bool,V_C)) | p(s(t_bool,V_A)))))).
fof(ch4s_wordss_ADDu_u_WITHu_u_CARRYu_u_SUB, conjecture, ![TV_u_27a]: ![V_y, V_x]: ?[V_v]: ((p(s(t_bool,V_v)) <=> (~ (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y)))) & ~ (s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))))) = s(t_bool,h4s_wordss_wordu_u_msb(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x)))))) & s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_wordss_addu_u_withu_u_carry(s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x),s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_bool),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_1comp(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_bool,t))))))) = s(t_h4s_pairs_prod(t_h4s_fcps_cart(t_bool,TV_u_27a),t_h4s_pairs_prod(t_bool,t_bool)),h4s_pairs_u_2c(s(t_h4s_fcps_cart(t_bool,TV_u_27a),h4s_wordss_wordu_u_sub(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y))),s(t_h4s_pairs_prod(t_bool,t_bool),h4s_pairs_u_2c(s(t_bool,h4s_wordss_wordu_u_ls(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_y),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_x))),s(t_bool,V_v))))))).
