%   ORIGINAL: 'h4/thm/rich_list/LASTN_MAP_'
% 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: !n l. 'h4/const/arithmetic/<=' n ('h4/const/list/LENGTH' l) ==> (!f. 'h4/const/rich_list/LASTN' n ('h4/const/list/MAP' f l) = 'h4/const/list/MAP' f ('h4/const/rich_list/LASTN' n l))
%   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: !n l. 'h4/const/arithmetic/<=' n ('h4/const/list/LENGTH' l) ==> (!f. 'h4/const/rich_list/LASTN' n ('h4/const/list/MAP' f l) = 'h4/const/list/MAP' f ('h4/const/rich_list/LASTN' n l))
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_3f53961,V_3f53957]: ![F, G]: (![X]: s(V_3f53957,happ(s(fun(V_3f53961,V_3f53957),F),s(V_3f53961,X))) = s(V_3f53957,happ(s(fun(V_3f53961,V_3f53957),G),s(V_3f53961,X))) => s(fun(V_3f53961,V_3f53957),F) = s(fun(V_3f53961,V_3f53957),G))).
fof('h4/thm/rich_list/LASTN_MAP_', conjecture, ![B,A]: ![N, L]: (p(s(bool,'h4/const/arithmetic/<='(s('h4/type/num/num',N),s('h4/type/num/num','h4/const/list/LENGTH'(s('h4/type/list/list'(A),L)))))) => ![F]: s('h4/type/list/list'(B),'h4/const/rich_list/LASTN'(s('h4/type/num/num',N),s('h4/type/list/list'(B),'h4/const/list/MAP'(s(fun(A,B),F),s('h4/type/list/list'(A),L))))) = s('h4/type/list/list'(B),'h4/const/list/MAP'(s(fun(A,B),F),s('h4/type/list/list'(A),'h4/const/rich_list/LASTN'(s('h4/type/num/num',N),s('h4/type/list/list'(A),L))))))).
