%   ORIGINAL: 'h4/thm/sum/SUM_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: !f g z. 'h4/const/sum/++' f g z = 'h4/const/bool/COND' ('h4/const/sum/ISL' z) ('h4/const/sum/INL' (f ('h4/const/sum/OUTL' z))) ('h4/const/sum/INR' (g ('h4/const/sum/OUTR' z)))
%   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: !f g z. 'h4/const/sum/++' f g z = 'h4/const/bool/COND' ('h4/const/sum/ISL' z) ('h4/const/sum/INL' (happ f ('h4/const/sum/OUTL' z))) ('h4/const/sum/INR' (happ g ('h4/const/sum/OUTR' z)))
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_3f66411,V_3f66407]: ![F, G]: (![X]: s(V_3f66407,happ(s(fun(V_3f66411,V_3f66407),F),s(V_3f66411,X))) = s(V_3f66407,happ(s(fun(V_3f66411,V_3f66407),G),s(V_3f66411,X))) => s(fun(V_3f66411,V_3f66407),F) = s(fun(V_3f66411,V_3f66407),G))).
fof('h4/thm/sum/SUM_MAP_', conjecture, ![C,D,A,B]: ![F, G, Z]: s('h4/type/sum/sum'(C,D),'h4/const/sum/++'(s(fun(A,C),F),s(fun(B,D),G),s('h4/type/sum/sum'(A,B),Z))) = s('h4/type/sum/sum'(C,D),'h4/const/bool/COND'(s(bool,'h4/const/sum/ISL'(s('h4/type/sum/sum'(A,B),Z))),s('h4/type/sum/sum'(C,D),'h4/const/sum/INL'(s(C,happ(s(fun(A,C),F),s(A,'h4/const/sum/OUTL'(s('h4/type/sum/sum'(A,B),Z))))))),s('h4/type/sum/sum'(C,D),'h4/const/sum/INR'(s(D,happ(s(fun(B,D),G),s(B,'h4/const/sum/OUTR'(s('h4/type/sum/sum'(A,B),Z)))))))))).
