%   ORIGINAL: h4/patricia/REMOVE__TRANSFORM
% Assm: HL_TRUTH: T
% Assm: HL_FALSITY: ~F
% Assm: HL_BOOL_CASES: !t. (t <=> T) \/ (t <=> F)
% Assm: HL_EXT: !f g. (!x. f x = g x) ==> f = g
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/BETA__THM: !y f. (\x. f x) y = f y
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/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/bool/bool__case__thm_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/bool__case__thm_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/JRH__INDUCT__UTIL: !t P. (!x. x = t ==> P x) ==> $exists P
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/pair/SND0: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm: h4/ind__type/CONSTR__REC: !Fn. ?f. !c i r. f (h4/ind__type/CONSTR c i r) = Fn c i r (\n. f (r n))
% Assm: h4/ind__type/FCONS0_c0: !f a. h4/ind__type/FCONS a f h4/num/0 = a
% Assm: h4/ind__type/FCONS0_c1: !n f a. h4/ind__type/FCONS a f (h4/num/SUC n) = f n
% 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/REMOVE__def_c0: !k. h4/patricia/REMOVE h4/patricia/Empty k = h4/patricia/Empty
% Assm: h4/patricia/REMOVE__def_c1: !k j d. h4/patricia/REMOVE (h4/patricia/Leaf j d) k = h4/bool/COND (j = k) h4/patricia/Empty (h4/patricia/Leaf j d)
% Assm: h4/patricia/REMOVE__def_c2: !r p m l k. h4/patricia/REMOVE (h4/patricia/Branch p m l r) k = h4/bool/COND (h4/bit/MOD__2EXP__EQ m k p) (h4/bool/COND (h4/bit/BIT m k) (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C (h4/patricia/REMOVE l k) r)))) (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C l (h4/patricia/REMOVE r k)))))) (h4/patricia/Branch p m l r)
% 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/TRANSFORM__BRANCH: !r p m l f. h4/patricia/TRANSFORM f (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C l r)))) = h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C (h4/patricia/TRANSFORM f l) (h4/patricia/TRANSFORM f r))))
% Goal: !t k f. h4/patricia/TRANSFORM f (h4/patricia/REMOVE t k) = h4/patricia/REMOVE (h4/patricia/TRANSFORM f t) k
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_BETAu_u_THM]: !y f. happ f y = happ f y
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_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_bools_boolu_u_caseu_u_thmu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_JRHu_u_INDUCTu_u_UTIL]: !t P. (!x. x = t ==> happ P x) ==> $exists P
% Assm [h4s_pairs_FST0]: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_pairs_SND0]: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm [h4s_indu_u_types_CONSTRu_u_REC]: !_0. (!f r n. happ (happ (happ _0 f) r) n = happ f (happ r n)) ==> (!Fn. ?f. !c i r. happ f (h4/ind__type/CONSTR c i r) = happ (happ (happ (happ Fn c) i) r) (happ (happ _0 f) r))
% Assm [h4s_indu_u_types_FCONS0u_c0]: !f a. happ (h4/ind__type/FCONS a f) h4/num/0 = a
% Assm [h4s_indu_u_types_FCONS0u_c1]: !n f a. happ (h4/ind__type/FCONS a f) (h4/num/SUC n) = happ f n
% Assm [h4s_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_REMOVEu_u_defu_c0]: !k. h4/patricia/REMOVE h4/patricia/Empty k = h4/patricia/Empty
% Assm [h4s_patricias_REMOVEu_u_defu_c1]: !k j d. ?v. (v <=> j = k) /\ h4/patricia/REMOVE (happ (happ h4/patricia/Leaf j) d) k = h4/bool/COND v h4/patricia/Empty (happ (happ h4/patricia/Leaf j) d)
% Assm [h4s_patricias_REMOVEu_u_defu_c2]: !r p m l k. h4/patricia/REMOVE (happ (happ (happ (happ h4/patricia/Branch p) m) l) r) k = h4/bool/COND (h4/bit/MOD__2EXP__EQ m k p) (h4/bool/COND (h4/bit/BIT m k) (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C (h4/patricia/REMOVE l k) r)))) (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C l (h4/patricia/REMOVE r k)))))) (happ (happ (happ (happ h4/patricia/Branch p) m) l) r)
% 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_TRANSFORMu_u_BRANCH]: !r p m l f. h4/patricia/TRANSFORM f (h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C l r)))) = h4/patricia/BRANCH (h4/pair/_2C p (h4/pair/_2C m (h4/pair/_2C (h4/patricia/TRANSFORM f l) (h4/patricia/TRANSFORM f r))))
% Goal: !t k f. h4/patricia/TRANSFORM f (h4/patricia/REMOVE t k) = h4/patricia/REMOVE (h4/patricia/TRANSFORM f t) k
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_Q286382,TV_Q286378]: ![V_f, V_g]: (![V_x]: s(TV_Q286378,happ(s(t_fun(TV_Q286382,TV_Q286378),V_f),s(TV_Q286382,V_x))) = s(TV_Q286378,happ(s(t_fun(TV_Q286382,TV_Q286378),V_g),s(TV_Q286382,V_x))) => s(t_fun(TV_Q286382,TV_Q286378),V_f) = s(t_fun(TV_Q286382,TV_Q286378),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_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_BETAu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_y))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_y)))).
fof(ah4s_bools_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_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,V_t))) <=> 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_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t0) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
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_CONDu_u_CLAUSESu_c0, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,t0),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t1)).
fof(ah4s_bools_CONDu_u_CLAUSESu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f0),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
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_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,t0),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t1)).
fof(ah4s_bools_boolu_u_caseu_u_thmu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f0),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
fof(ah4s_bools_JRHu_u_INDUCTu_u_UTIL, axiom, ![TV_u_27a]: ![V_t, V_P]: (![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_t) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) => p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P)))))).
fof(ah4s_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_pairs_SND0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: s(TV_u_27b,h4s_pairs_snd(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_27b,V_y)).
fof(ah4s_indu_u_types_CONSTRu_u_REC, axiom, ![TV_u_27b,TV_u_27a]: ![V_uu_0]: (![V_f, V_r, V_n]: s(TV_u_27b,happ(s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_h4s_nums_num,V_n))) = s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r),s(t_h4s_nums_num,V_n))))) => ![V_Fn]: ?[V_f]: ![V_c, V_i, V_r]: s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,V_c),s(TV_u_27a,V_i),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))) = s(TV_u_27b,happ(s(t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b))),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)))),V_Fn),s(t_h4s_nums_num,V_c))),s(TV_u_27a,V_i))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))))).
fof(ah4s_indu_u_types_FCONS0u_c0, axiom, ![TV_u_27a]: ![V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_0))) = s(TV_u_27a,V_a)).
fof(ah4s_indu_u_types_FCONS0u_c1, axiom, ![TV_u_27a]: ![V_n, V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,V_n)))).
fof(ah4s_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_REMOVEu_u_defu_c0, axiom, ![TV_u_27a]: ![V_k]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_remove(s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty),s(t_h4s_nums_num,V_k))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty)).
fof(ah4s_patricias_REMOVEu_u_defu_c1, axiom, ![TV_u_27a]: ![V_k, V_j, V_d]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(t_h4s_nums_num,V_j) = s(t_h4s_nums_num,V_k)) & s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_remove(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,V_d))),s(t_h4s_nums_num,V_k))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_bools_cond(s(t_bool,V_v),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_empty),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,V_d))))))).
fof(ah4s_patricias_REMOVEu_u_defu_c2, axiom, ![TV_u_27a]: ![V_r, V_p, V_m, V_l, V_k]: s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_remove(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))),s(t_h4s_nums_num,V_k))) = s(t_h4s_patricias_ptree(TV_u_27a),h4s_bools_cond(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))),s(t_h4s_patricias_ptree(TV_u_27a),h4s_bools_cond(s(t_bool,h4s_bits_bit(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_k))),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_branch0(s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_p),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_m),s(t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),h4s_pairs_u_2c(s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_remove(s(t_h4s_patricias_ptree(TV_u_27a),V_l),s(t_h4s_nums_num,V_k))),s(t_h4s_patricias_ptree(TV_u_27a),V_r))))))))),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_branch0(s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_p),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_m),s(t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),h4s_pairs_u_2c(s(t_h4s_patricias_ptree(TV_u_27a),V_l),s(t_h4s_patricias_ptree(TV_u_27a),h4s_patricias_remove(s(t_h4s_patricias_ptree(TV_u_27a),V_r),s(t_h4s_nums_num,V_k))))))))))))),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)))))).
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_TRANSFORMu_u_BRANCH, axiom, ![TV_u_27b,TV_u_27a]: ![V_r, V_p, V_m, V_l, 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),h4s_patricias_branch0(s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_p),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_m),s(t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27a),t_h4s_patricias_ptree(TV_u_27a)),h4s_pairs_u_2c(s(t_h4s_patricias_ptree(TV_u_27a),V_l),s(t_h4s_patricias_ptree(TV_u_27a),V_r))))))))))) = s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_branch0(s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b)))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_p),s(t_h4s_pairs_prod(t_h4s_nums_num,t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b))),h4s_pairs_u_2c(s(t_h4s_nums_num,V_m),s(t_h4s_pairs_prod(t_h4s_patricias_ptree(TV_u_27b),t_h4s_patricias_ptree(TV_u_27b)),h4s_pairs_u_2c(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_l))),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_r)))))))))))).
fof(ch4s_patricias_REMOVEu_u_TRANSFORM, conjecture, ![TV_u_27b,TV_u_27a]: ![V_t, V_k, 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),h4s_patricias_remove(s(t_h4s_patricias_ptree(TV_u_27a),V_t),s(t_h4s_nums_num,V_k))))) = s(t_h4s_patricias_ptree(TV_u_27b),h4s_patricias_remove(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_nums_num,V_k)))).
