%   ORIGINAL: h4/prim__rec/measure__thm
% 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/TRUTH: T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/relation/inv__image__def: !f R. h4/relation/inv__image R f = (\x y. R (f x) (f y))
% Assm: h4/prim__rec/measure__def: h4/prim__rec/measure = h4/relation/inv__image h4/prim__rec/_3C
% Goal: !y x f. h4/prim__rec/measure f x y <=> h4/prim__rec/_3C (f x) (f y)
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_relations_invu_u_imageu_u_def]: !f R x x'. happ (happ (happ (h4/relation/inv__image R) f) x) x' <=> happ (happ R (happ f x)) (happ f x')
% Assm [h4s_primu_u_recs_measureu_u_def]: h4/prim__rec/measure = h4/relation/inv__image h4/prim__rec/_3C
% Goal: !y x f. happ (happ (happ h4/prim__rec/measure f) x) y <=> happ (happ h4/prim__rec/_3C (happ f x)) (happ f y)
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f0)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f0))).
fof(aHLu_EXT, axiom, ![TV_Q188245,TV_Q188241]: ![V_f, V_g]: (![V_x]: s(TV_Q188241,happ(s(t_fun(TV_Q188245,TV_Q188241),V_f),s(TV_Q188245,V_x))) = s(TV_Q188241,happ(s(t_fun(TV_Q188245,TV_Q188241),V_g),s(TV_Q188245,V_x))) => s(t_fun(TV_Q188245,TV_Q188241),V_f) = s(t_fun(TV_Q188245,TV_Q188241),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,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_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_relations_invu_u_imageu_u_def, axiom, ![TV_u_27b,TV_u_27a]: ![V_f, V_R, V_x, V_xi_]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),h4s_relations_invu_u_image(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R))),s(t_fun(TV_u_27a,TV_u_27b),V_f))),s(TV_u_27a,V_x))),s(TV_u_27a,V_xi_))) = s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27b,happ(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_xi_)))))).
fof(ah4s_primu_u_recs_measureu_u_def, axiom, ![TV_u_27a]: s(t_fun(t_fun(TV_u_27a,t_h4s_nums_num),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),h4s_primu_u_recs_measure) = s(t_fun(t_fun(TV_u_27a,t_h4s_nums_num),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),h4s_relations_invu_u_image(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_bool)),h4s_primu_u_recs_u_3c)))).
fof(ch4s_primu_u_recs_measureu_u_thm, conjecture, ![TV_u_27a]: ![V_y, V_x, V_f]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_nums_num),t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),h4s_primu_u_recs_measure),s(t_fun(TV_u_27a,t_h4s_nums_num),V_f))),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))) = s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,t_bool)),h4s_primu_u_recs_u_3c),s(t_h4s_nums_num,happ(s(t_fun(TV_u_27a,t_h4s_nums_num),V_f),s(TV_u_27a,V_x))))),s(t_h4s_nums_num,happ(s(t_fun(TV_u_27a,t_h4s_nums_num),V_f),s(TV_u_27a,V_y)))))).
