%   ORIGINAL: 'h4/thm/rich_list/ELL_LENGTH_SNOC_'
% 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: !l x. 'h4/const/rich_list/ELL' ('h4/const/list/LENGTH' l) ('h4/const/list/SNOC' x l) = 'h4/const/bool/COND' ('h4/const/list/NULL' l) x ('h4/const/list/HD' 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: !l x. 'h4/const/rich_list/ELL' ('h4/const/list/LENGTH' l) ('h4/const/list/SNOC' x l) = 'h4/const/bool/COND' ('h4/const/list/NULL' l) x ('h4/const/list/HD' 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_3f54936,V_3f54932]: ![F, G]: (![X]: s(V_3f54932,happ(s(fun(V_3f54936,V_3f54932),F),s(V_3f54936,X))) = s(V_3f54932,happ(s(fun(V_3f54936,V_3f54932),G),s(V_3f54936,X))) => s(fun(V_3f54936,V_3f54932),F) = s(fun(V_3f54936,V_3f54932),G))).
fof('h4/thm/rich_list/ELL_LENGTH_SNOC_', conjecture, ![A]: ![L, X]: s(A,'h4/const/rich_list/ELL'(s('h4/type/num/num','h4/const/list/LENGTH'(s('h4/type/list/list'(A),L))),s('h4/type/list/list'(A),'h4/const/list/SNOC'(s(A,X),s('h4/type/list/list'(A),L))))) = s(A,'h4/const/bool/COND'(s(bool,'h4/const/list/NULL'(s('h4/type/list/list'(A),L))),s(A,X),s(A,'h4/const/list/HD'(s('h4/type/list/list'(A),L)))))).
