%   ORIGINAL: h4/patricia/TRANSFORM__IS__PTREE
% 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/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c0: !t. T ==> t <=> t
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !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/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/IMP__CONG: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm: h4/bool/MONO__AND: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm: h4/bool/MONO__OR: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm: h4/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/combin/K__DEF: h4/combin/K = (\x y. x)
% Assm: h4/combin/S__DEF: h4/combin/S = (\f g x. f x (g x))
% Assm: h4/combin/C__DEF: h4/combin/C = (\f x y. f y x)
% Assm: h4/combin/o__DEF: !g f. h4/combin/o f g = (\x. f (g x))
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/combin/I__o__ID_c1: !f. h4/combin/o f h4/combin/I = f
% Assm: h4/patricia/ptree__repfns_c0: !a. h4/patricia/_20_40ind__typepatricia3 (h4/patricia/_20_40ind__typepatricia4 a) = a
% Assm: h4/patricia/ptree__repfns_c1: !r. (\a0_27. !_27ptree_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 (h4/pair/_2C h4/bool/ARB (h4/pair/_2C h4/bool/ARB h4/bool/ARB)) (\n. h4/ind__type/BOTTOM) \/ (?a0 a1. a0_270 = (\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) (h4/pair/_2C a00 (h4/pair/_2C a10 h4/bool/ARB)) (\n. h4/ind__type/BOTTOM)) a0 a1) \/ (?a0 a1 a2 a3. a0_270 = (\a00 a10 a20 a30. h4/ind__type/CONSTR (h4/num/SUC (h4/num/SUC h4/num/0)) (h4/pair/_2C a00 (h4/pair/_2C h4/bool/ARB a10)) (h4/ind__type/FCONS a20 (h4/ind__type/FCONS a30 (\n. h4/ind__type/BOTTOM)))) a0 a1 a2 a3 /\ _27ptree_27 a2 /\ _27ptree_27 a3) ==> _27ptree_27 a0_270) ==> _27ptree_27 a0_27) r <=> h4/patricia/_20_40ind__typepatricia4 (h4/patricia/_20_40ind__typepatricia3 r) = r
% Assm: h4/patricia/hidden____20__40ind____typepatricia0____def: h4/patricia/_20_40ind__typepatricia0 = h4/patricia/_20_40ind__typepatricia3 (h4/ind__type/CONSTR h4/num/0 (h4/pair/_2C h4/bool/ARB (h4/pair/_2C h4/bool/ARB h4/bool/ARB)) (\n. h4/ind__type/BOTTOM))
% Assm: h4/patricia/hidden____20__40ind____typepatricia1____def: h4/patricia/_20_40ind__typepatricia1 = (\a0 a1. h4/patricia/_20_40ind__typepatricia3 ((\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) (h4/pair/_2C a00 (h4/pair/_2C a10 h4/bool/ARB)) (\n. h4/ind__type/BOTTOM)) a0 a1))
% Assm: h4/patricia/hidden____20__40ind____typepatricia2____def: h4/patricia/_20_40ind__typepatricia2 = (\a0 a1 a2 a3. h4/patricia/_20_40ind__typepatricia3 ((\a00 a10 a20 a30. h4/ind__type/CONSTR (h4/num/SUC (h4/num/SUC h4/num/0)) (h4/pair/_2C a00 (h4/pair/_2C h4/bool/ARB a10)) (h4/ind__type/FCONS a20 (h4/ind__type/FCONS a30 (\n. h4/ind__type/BOTTOM)))) a0 a1 (h4/patricia/_20_40ind__typepatricia4 a2) (h4/patricia/_20_40ind__typepatricia4 a3)))
% Assm: h4/patricia/Empty0: h4/patricia/Empty = h4/patricia/_20_40ind__typepatricia0
% Assm: h4/patricia/Leaf0: h4/patricia/Leaf = h4/patricia/_20_40ind__typepatricia1
% Assm: h4/patricia/Branch0: h4/patricia/Branch = h4/patricia/_20_40ind__typepatricia2
% Assm: h4/patricia/TRANSFORM__def_c0: !f. h4/patricia/TRANSFORM f h4/patricia/Empty = h4/patricia/Empty
% Assm: h4/patricia/TRANSFORM__def_c1: !j f d. h4/patricia/TRANSFORM f (h4/patricia/Leaf j d) = h4/patricia/Leaf j (f d)
% Assm: h4/patricia/TRANSFORM__def_c2: !r p m l f. h4/patricia/TRANSFORM f (h4/patricia/Branch p m l r) = h4/patricia/Branch p m (h4/patricia/TRANSFORM f l) (h4/patricia/TRANSFORM f r)
% Assm: h4/patricia/IS__PTREE__def_c0: h4/patricia/IS__PTREE h4/patricia/Empty <=> T
% Assm: h4/patricia/IS__PTREE__def_c1: !k d. h4/patricia/IS__PTREE (h4/patricia/Leaf k d) <=> T
% Assm: h4/patricia/IS__PTREE__def_c2: !r p m l. h4/patricia/IS__PTREE (h4/patricia/Branch p m l r) <=> h4/prim__rec/_3C p (h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) m) /\ h4/patricia/IS__PTREE l /\ h4/patricia/IS__PTREE r /\ ~(l = h4/patricia/Empty) /\ ~(r = h4/patricia/Empty) /\ h4/patricia/EVERY__LEAF (\k d. h4/bit/MOD__2EXP__EQ m k p /\ h4/bit/BIT m k) l /\ h4/patricia/EVERY__LEAF (\k d. h4/bit/MOD__2EXP__EQ m k p /\ ~h4/bit/BIT m k) r
% Assm: h4/patricia/EVERY__LEAF__TRANSFORM: !t f Q P. (!k d. P k d ==> Q k (f d)) /\ h4/patricia/EVERY__LEAF P t ==> h4/patricia/EVERY__LEAF Q (h4/patricia/TRANSFORM f t)
% Assm: h4/patricia/TRANSFORM__EMPTY: !t f. h4/patricia/TRANSFORM f t = h4/patricia/Empty <=> t = h4/patricia/Empty
% Goal: !t f. h4/patricia/IS__PTREE t ==> h4/patricia/IS__PTREE (h4/patricia/TRANSFORM f t)
%   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_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c0]: !t. T ==> t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !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_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_IMPu_u_CONG]: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm [h4s_bools_MONOu_u_AND]: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm [h4s_bools_MONOu_u_OR]: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm [h4s_bools_MONOu_u_EXISTS]: !Q P. (!x. happ P x ==> happ Q x) ==> (?x. happ P x) ==> (?x. happ Q x)
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm [h4s_sats_dcu_u_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_combins_Ku_u_DEF]: !x x. h4/combin/K x x = x
% Assm [h4s_combins_Su_u_DEF]: !x x x. h4/combin/S x x x = happ (happ x x) (happ x x)
% Assm [h4s_combins_Cu_u_DEF]: !x x x. h4/combin/C x x x = happ (happ x x) x
% Assm [h4s_combins_ou_u_DEF]: !g f x. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_combins_Iu_u_THM]: !x. happ h4/combin/I x = x
% Assm [h4s_combins_Iu_u_ou_u_IDu_c1]: !f. h4/combin/o f h4/combin/I = f
% Assm [h4s_patricias_ptreeu_u_repfnsu_c0]: !a. h4/patricia/_20_40ind__typepatricia3 (h4/patricia/_20_40ind__typepatricia4 a) = a
% Assm [h4s_patricias_ptreeu_u_repfnsu_c1]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!r. (!_27ptree_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 (h4/pair/_2C h4/bool/ARB (h4/pair/_2C h4/bool/ARB h4/bool/ARB)) _0 \/ (?a0 a1. a0_270 = h4/ind__type/CONSTR (h4/num/SUC h4/num/0) (h4/pair/_2C a0 (h4/pair/_2C a1 h4/bool/ARB)) _0) \/ (?a0 a1 a2 a3. a0_270 = h4/ind__type/CONSTR (h4/num/SUC (h4/num/SUC h4/num/0)) (h4/pair/_2C a0 (h4/pair/_2C h4/bool/ARB a1)) (h4/ind__type/FCONS a2 (h4/ind__type/FCONS a3 _0)) /\ happ _27ptree_27 a2 /\ happ _27ptree_27 a3) ==> happ _27ptree_27 a0_270) ==> happ _27ptree_27 r) <=> h4/patricia/_20_40ind__typepatricia4 (h4/patricia/_20_40ind__typepatricia3 r) = r)
% Assm [h4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia0u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> h4/patricia/_20_40ind__typepatricia0 = h4/patricia/_20_40ind__typepatricia3 (h4/ind__type/CONSTR h4/num/0 (h4/pair/_2C h4/bool/ARB (h4/pair/_2C h4/bool/ARB h4/bool/ARB)) _0)
% Assm [h4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia1u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!x x. happ (happ h4/patricia/_20_40ind__typepatricia1 x) x = h4/patricia/_20_40ind__typepatricia3 (h4/ind__type/CONSTR (h4/num/SUC h4/num/0) (h4/pair/_2C x (h4/pair/_2C x h4/bool/ARB)) _0))
% Assm [h4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia2u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!x x' x x'. happ (happ (happ (happ h4/patricia/_20_40ind__typepatricia2 x) x') x) x' = h4/patricia/_20_40ind__typepatricia3 (h4/ind__type/CONSTR (h4/num/SUC (h4/num/SUC h4/num/0)) (h4/pair/_2C x (h4/pair/_2C h4/bool/ARB x')) (h4/ind__type/FCONS (h4/patricia/_20_40ind__typepatricia4 x) (h4/ind__type/FCONS (h4/patricia/_20_40ind__typepatricia4 x') _0))))
% Assm [h4s_patricias_Empty0]: h4/patricia/Empty = h4/patricia/_20_40ind__typepatricia0
% Assm [h4s_patricias_Leaf0]: h4/patricia/Leaf = h4/patricia/_20_40ind__typepatricia1
% Assm [h4s_patricias_Branch0]: h4/patricia/Branch = h4/patricia/_20_40ind__typepatricia2
% Assm [h4s_patricias_TRANSFORMu_u_defu_c0]: !f. h4/patricia/TRANSFORM f h4/patricia/Empty = h4/patricia/Empty
% Assm [h4s_patricias_TRANSFORMu_u_defu_c1]: !j f d. h4/patricia/TRANSFORM f (happ (happ h4/patricia/Leaf j) d) = happ (happ h4/patricia/Leaf j) (happ f d)
% Assm [h4s_patricias_TRANSFORMu_u_defu_c2]: !r p m l f. h4/patricia/TRANSFORM f (happ (happ (happ (happ h4/patricia/Branch p) m) l) r) = happ (happ (happ (happ h4/patricia/Branch p) m) (h4/patricia/TRANSFORM f l)) (h4/patricia/TRANSFORM f r)
% Assm [h4s_patricias_ISu_u_PTREEu_u_defu_c0]: h4/patricia/IS__PTREE h4/patricia/Empty <=> T
% Assm [h4s_patricias_ISu_u_PTREEu_u_defu_c1]: !k d. h4/patricia/IS__PTREE (happ (happ h4/patricia/Leaf k) d) <=> T
% Assm [h4s_patricias_ISu_u_PTREEu_u_defu_c2]: !_3. (!p m k d. happ (happ (happ (happ _3 p) m) k) d <=> h4/bit/MOD__2EXP__EQ m k p /\ ~h4/bit/BIT m k) ==> (!_2. (!p m k. happ (happ (happ _2 p) m) k = happ (happ (happ _3 p) m) k) ==> (!_1. (!p m k d. happ (happ (happ (happ _1 p) m) k) d <=> h4/bit/MOD__2EXP__EQ m k p /\ h4/bit/BIT m k) ==> (!_0. (!p m k. happ (happ (happ _0 p) m) k = happ (happ (happ _1 p) m) k) ==> (!r p m l. h4/patricia/IS__PTREE (happ (happ (happ (happ h4/patricia/Branch p) m) l) r) <=> h4/prim__rec/_3C p (h4/arithmetic/EXP (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 h4/arithmetic/ZERO)) m) /\ h4/patricia/IS__PTREE l /\ h4/patricia/IS__PTREE r /\ ~(l = h4/patricia/Empty) /\ ~(r = h4/patricia/Empty) /\ h4/patricia/EVERY__LEAF (happ (happ _0 p) m) l /\ h4/patricia/EVERY__LEAF (happ (happ _2 p) m) r))))
% Assm [h4s_patricias_EVERYu_u_LEAFu_u_TRANSFORM]: !t f Q P. (!k d. happ (happ P k) d ==> happ (happ Q k) (happ f d)) /\ h4/patricia/EVERY__LEAF P t ==> h4/patricia/EVERY__LEAF Q (h4/patricia/TRANSFORM f t)
% Assm [h4s_patricias_TRANSFORMu_u_EMPTY]: !t f. h4/patricia/TRANSFORM f t = h4/patricia/Empty <=> t = h4/patricia/Empty
% Goal: !t f. h4/patricia/IS__PTREE t ==> h4/patricia/IS__PTREE (h4/patricia/TRANSFORM f t)
fof(aHLu_TRUTH, axiom, p(s(t_bool,t0))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f0)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t0) | s(t_bool,V_t) = s(t_bool,f0))).
fof(aHLu_EXT, axiom, ![TV_Q286280,TV_Q286276]: ![V_f, V_g]: (![V_x]: s(TV_Q286276,happ(s(t_fun(TV_Q286280,TV_Q286276),V_f),s(TV_Q286280,V_x))) = s(TV_Q286276,happ(s(t_fun(TV_Q286280,TV_Q286276),V_g),s(TV_Q286280,V_x))) => s(t_fun(TV_Q286280,TV_Q286276),V_f) = s(t_fun(TV_Q286280,TV_Q286276),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,t0))).
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,f0)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_FORALLu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (![V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t0)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t0)) => p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,t0))) <=> p(s(t_bool,t0)))).
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,t0)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f0))) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f0))) <=> p(s(t_bool,t0)))).
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,t0)))).
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,t0) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ANDu_u_IMPu_u_INTRO, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t3))))).
fof(ah4s_bools_IMPu_u_CONG, axiom, ![V_yu_27, V_y, V_xu_27, V_x]: ((s(t_bool,V_x) = s(t_bool,V_xu_27) & (p(s(t_bool,V_xu_27)) => s(t_bool,V_y) = s(t_bool,V_yu_27))) => ((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) <=> (p(s(t_bool,V_xu_27)) => p(s(t_bool,V_yu_27)))))).
fof(ah4s_bools_MONOu_u_AND, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) & p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) & p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_OR, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) | p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) | p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_EXISTS, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) => (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_sats_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f0))))).
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,f0))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
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,f0))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f0))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => p(s(t_bool,f0))))).
fof(ah4s_sats_dcu_u_eq, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> s(t_bool,V_q) = s(t_bool,V_r)) <=> ((p(s(t_bool,V_p)) | (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) & ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_q))))) & ((p(s(t_bool,V_q)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_p))))) & (p(s(t_bool,V_r)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p)))))))))).
fof(ah4s_sats_dcu_u_disj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_q)))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (p(s(t_bool,V_q)) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_imp, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) => p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (~ (p(s(t_bool,V_q))) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_neg, axiom, ![V_q, V_p]: ((p(s(t_bool,V_p)) <=> ~ (p(s(t_bool,V_q)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p))))))).
fof(ah4s_sats_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_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_combins_Ku_u_DEF, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_x0]: s(TV_u_27a,h4s_combins_k(s(TV_u_27a,V_x),s(TV_u_27b,V_x0))) = s(TV_u_27a,V_x)).
fof(ah4s_combins_Su_u_DEF, axiom, ![TV_u_27c,TV_u_27b,TV_u_27a]: ![V_x, V_x0, V_x1]: s(TV_u_27c,h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(t_fun(TV_u_27a,TV_u_27b),V_x0),s(TV_u_27a,V_x1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27a,V_x1))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x0),s(TV_u_27a,V_x1)))))).
fof(ah4s_combins_Cu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_x, V_x0, V_x1]: s(TV_u_27c,h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27b,V_x0),s(TV_u_27a,V_x1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27a,V_x1))),s(TV_u_27b,V_x0)))).
fof(ah4s_combins_ou_u_DEF, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_g, V_f, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27c),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x)))))).
fof(ah4s_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i),s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_combins_Iu_u_ou_u_IDu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i))) = s(t_fun(TV_u_27a,TV_u_27b),V_f)).
fof(ah4s_patricias_ptreeu_u_repfnsu_c0, axiom, ![TV_u_27a]: ![V_a]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia3(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_patricias_u_20u_40indu_u_typepatricia4(s(t_h4s_patricias_ptree(TV_u_27a),V_a))))) = s(t_h4s_patricias_ptree(TV_u_27a),V_a)).
fof(ah4s_patricias_ptreeu_u_repfnsu_c1, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_bottom) => ![V_r]: (![V_uu_27ptreeu_27]: (![V_a0u_270]: ((s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a0u_270) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,h4s_bools_arb),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,h4s_bools_arb),s(t_h4s_nums_num,h4s_bools_arb))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))) | (?[V_a0, V_a1]: s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a0u_270) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,V_a0),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,V_a1),s(t_h4s_nums_num,h4s_bools_arb))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))) | ?[V_a0, V_a1, V_a2, V_a3]: (s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a0u_270) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))))),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,V_a0),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,h4s_bools_arb),s(t_h4s_nums_num,V_a1))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a2),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a3),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))))))) & (p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),t_bool),V_uu_27ptreeu_27),s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a2)))) & p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),t_bool),V_uu_27ptreeu_27),s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a3)))))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),t_bool),V_uu_27ptreeu_27),s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_a0u_270))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),t_bool),V_uu_27ptreeu_27),s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_r))))) <=> s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_patricias_u_20u_40indu_u_typepatricia4(s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia3(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_r))))) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),V_r)))).
fof(ah4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia0u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_bottom) => s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia0) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia3(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,h4s_bools_arb),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,h4s_bools_arb),s(t_h4s_nums_num,h4s_bools_arb))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))))))).
fof(ah4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia1u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_bottom) => ![V_x, V_x0]: s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a))),h4s_patricias_u_20u_40indu_u_typepatricia1),s(t_h4s_nums_num,V_x))),s(TV_u_27a,V_x0))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia3(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,V_x),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,V_x0),s(t_h4s_nums_num,h4s_bools_arb))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))))))).
fof(ah4s_patricias_hiddenu_u_u_u_20u_u_40indu_u_u_u_typepatricia2u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_bottom) => ![V_x, V_xi_, V_x0, V_xi_0]: s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))))),h4s_patricias_u_20u_40indu_u_typepatricia2),s(t_h4s_nums_num,V_x))),s(t_h4s_nums_num,V_xi_))),s(t_h4s_patricias_ptree(TV_u_27a),V_x0))),s(t_h4s_patricias_ptree(TV_u_27a),V_xi_0))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia3(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))))),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)),h4s_pairs_u_2c(s(t_h4s_nums_num,V_x),s(t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num),h4s_pairs_u_2c(s(TV_u_27a,h4s_bools_arb),s(t_h4s_nums_num,V_xi_))))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_patricias_u_20u_40indu_u_typepatricia4(s(t_h4s_patricias_ptree(TV_u_27a),V_x0))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num))),h4s_patricias_u_20u_40indu_u_typepatricia4(s(t_h4s_patricias_ptree(TV_u_27a),V_xi_0))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(TV_u_27a,t_h4s_nums_num)))),V_uu_0))))))))))).
fof(ah4s_patricias_Empty0, axiom, ![TV_u_27a]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_u_20u_40indu_u_typepatricia0)).
fof(ah4s_patricias_Leaf0, axiom, ![TV_u_27a]: s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a))),h4s_patricias_leaf) = s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a))),h4s_patricias_u_20u_40indu_u_typepatricia1)).
fof(ah4s_patricias_Branch0, axiom, ![TV_u_27a]: s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))))),h4s_patricias_branch) = s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))))),h4s_patricias_u_20u_40indu_u_typepatricia2)).
fof(ah4s_patricias_TRANSFORMu_u_defu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_f]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_transform(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_empty))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty)).
fof(ah4s_patricias_TRANSFORMu_u_defu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_j, V_f, V_d]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_transform(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_patricias_ptree(TV_u_27b),happ(s(t_fun(TV_u_27b,t_h4s_patricias_ptree(TV_u_27b)),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27b,t_h4s_patricias_ptree(TV_u_27b))),h4s_patricias_leaf),s(t_h4s_nums_num,V_j))),s(TV_u_27b,V_d))))) = s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a))),h4s_patricias_leaf),s(t_h4s_nums_num,V_j))),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(TV_u_27b,V_d)))))).
fof(ah4s_patricias_TRANSFORMu_u_defu_c2, axiom, ![TV_u_27a,TV_u_27b]: ![V_r, V_p, V_m, V_l, V_f]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_transform(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_patricias_ptree(TV_u_27b),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b)),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27b),t_fun(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27b),t_fun(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b)))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27b),t_fun(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b))))),h4s_patricias_branch),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_patricias_ptree(TV_u_27b),V_l))),s(t_h4s_patricias_ptree(TV_u_27b),V_r))))) = s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))))),h4s_patricias_branch),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_transform(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_patricias_ptree(TV_u_27b),V_l))))),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_transform(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_patricias_ptree(TV_u_27b),V_r)))))).
fof(ah4s_patricias_ISu_u_PTREEu_u_defu_c0, axiom, ![TV_u_27a]: s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty))) = s(t_bool,t0)).
fof(ah4s_patricias_ISu_u_PTREEu_u_defu_c1, axiom, ![TV_u_27a]: ![V_k, V_d]: s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_h4s_patricias_ptree(TV_u_27a))),h4s_patricias_leaf),s(t_h4s_nums_num,V_k))),s(TV_u_27a,V_d))))) = s(t_bool,t0)).
fof(ah4s_patricias_ISu_u_PTREEu_u_defu_c2, axiom, ![TV_u_27a]: ![V_uu_3]: (![V_p, V_m, V_k, V_d]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_3),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))),s(TV_u_27a,V_d)))) <=> (p(s(t_bool,h4s_bits_modu_u_2expu_u_eq(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_p)))) & ~ (p(s(t_bool,h4s_bits_bit(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_k))))))) => ![V_uu_2]: (![V_p, V_m, V_k]: s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_2),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))) = s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_3),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))) => ![V_uu_1]: (![V_p, V_m, V_k, V_d]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_1),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))),s(TV_u_27a,V_d)))) <=> (p(s(t_bool,h4s_bits_modu_u_2expu_u_eq(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_p)))) & p(s(t_bool,h4s_bits_bit(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_k)))))) => ![V_uu_0]: (![V_p, V_m, V_k]: s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))) = s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_1),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_k))) => ![V_r, V_p, V_m, V_l]: (p(s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),happ(s(t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_patricias_ptree(TV_u_27a),t_fun(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))))),h4s_patricias_branch),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_patricias_ptree(TV_u_27a),V_l))),s(t_h4s_patricias_ptree(TV_u_27a),V_r)))))) <=> (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_p),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_m)))))) & (p(s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),V_l)))) & (p(s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),V_r)))) & (~ (s(t_h4s_patricias_ptree(TV_u_27a),V_l) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty)) & (~ (s(t_h4s_patricias_ptree(TV_u_27a),V_r) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty)) & (p(s(t_bool,h4s_patricias_everyu_u_leaf(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_patricias_ptree(TV_u_27a),V_l)))) & p(s(t_bool,h4s_patricias_everyu_u_leaf(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)))),V_uu_2),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_m))),s(t_h4s_patricias_ptree(TV_u_27a),V_r)))))))))))))))).
fof(ah4s_patricias_EVERYu_u_LEAFu_u_TRANSFORM, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_f, V_Q, V_P]: ((![V_k, V_d]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),V_P),s(t_h4s_nums_num,V_k))),s(TV_u_27a,V_d)))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27b,t_bool)),V_Q),s(t_h4s_nums_num,V_k))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_d))))))) & p(s(t_bool,h4s_patricias_everyu_u_leaf(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_bool)),V_P),s(t_h4s_patricias_ptree(TV_u_27a),V_t))))) => p(s(t_bool,h4s_patricias_everyu_u_leaf(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27b,t_bool)),V_Q),s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_transform(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_patricias_ptree(TV_u_27a),V_t)))))))).
fof(ah4s_patricias_TRANSFORMu_u_EMPTY, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_f]: (s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_transform(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_patricias_ptree(TV_u_27a),V_t))) = s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_empty) <=> s(t_h4s_patricias_ptree(TV_u_27a),V_t) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty))).
fof(ch4s_patricias_TRANSFORMu_u_ISu_u_PTREE, conjecture, ![TV_u_27b,TV_u_27a]: ![V_t, V_f]: (p(s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27a),V_t)))) => p(s(t_bool,h4s_patricias_isu_u_ptree(s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_transform(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_patricias_ptree(TV_u_27a),V_t)))))))).
