%   ORIGINAL: 'h4/thm/list/LIST_REL_rules_e1'
% 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
% Goal: !R h1 h2 t1 t2. R h1 h2 /\ 'h4/const/list/LIST_REL' R t1 t2 ==> 'h4/const/list/LIST_REL' R ('h4/const/list/CONS' h1 t1) ('h4/const/list/CONS' h2 t2)
%   PROCESSED
% Assm ['HL_TRUTH']: T
% Assm ['HL_FALSITY']: ~F
% Assm ['HL_BOOL_CASES']: !t. (t <=> T) \/ (t <=> F)
% Assm ['HL_EXT']: !f g. (!x. happ f x = happ g x) ==> f = g
% Goal: !R h1 h2 t1 t2. happ (happ R h1) h2 /\ 'h4/const/list/LIST_REL' R t1 t2 ==> 'h4/const/list/LIST_REL' R ('h4/const/list/CONS' h1 t1) ('h4/const/list/CONS' h2 t2)
fof('HL_TRUTH', axiom, p(s(bool,'T'))).
fof('HL_FALSITY', axiom, ~ (p(s(bool,'F')))).
fof('HL_BOOL_CASES', axiom, ![T]: (s(bool,T) = s(bool,'T') | s(bool,T) = s(bool,'F'))).
fof('HL_EXT', axiom, ![V_3f5514,V_3f5510]: ![F, G]: (![X]: s(V_3f5510,happ(s(fun(V_3f5514,V_3f5510),F),s(V_3f5514,X))) = s(V_3f5510,happ(s(fun(V_3f5514,V_3f5510),G),s(V_3f5514,X))) => s(fun(V_3f5514,V_3f5510),F) = s(fun(V_3f5514,V_3f5510),G))).
fof('h4/thm/list/LIST_REL_rules_e1', conjecture, ![A,B]: ![R, H1, H2, T1, T2]: ((p(s(bool,happ(s(fun(B,bool),happ(s(fun(A,fun(B,bool)),R),s(A,H1))),s(B,H2)))) & p(s(bool,'h4/const/list/LIST_REL'(s(fun(A,fun(B,bool)),R),s('h4/type/list/list'(A),T1),s('h4/type/list/list'(B),T2))))) => p(s(bool,'h4/const/list/LIST_REL'(s(fun(A,fun(B,bool)),R),s('h4/type/list/list'(A),'h4/const/list/CONS'(s(A,H1),s('h4/type/list/list'(A),T1))),s('h4/type/list/list'(B),'h4/const/list/CONS'(s(B,H2),s('h4/type/list/list'(B),T2)))))))).
