%   ORIGINAL: 'h4/thm/sum/cond_sum_expand_e3'
% 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: !P x y z. 'h4/const/bool/COND' P ('h4/const/sum/INL' x) ('h4/const/sum/INR' y) = 'h4/const/sum/INR' z <=> ~P /\ z = y
%   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: !P x y z. 'h4/const/bool/COND' P ('h4/const/sum/INL' x) ('h4/const/sum/INR' y) = 'h4/const/sum/INR' z <=> ~P /\ z = y
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_3f66561,V_3f66557]: ![F, G0]: (![X]: s(V_3f66557,happ(s(fun(V_3f66561,V_3f66557),F),s(V_3f66561,X))) = s(V_3f66557,happ(s(fun(V_3f66561,V_3f66557),G0),s(V_3f66561,X))) => s(fun(V_3f66561,V_3f66557),F) = s(fun(V_3f66561,V_3f66557),G0))).
fof('h4/thm/sum/cond_sum_expand_e3', conjecture, ![G,H]: ![P, X, Y, Z]: (s('h4/type/sum/sum'(G,H),'h4/const/bool/COND'(s(bool,P),s('h4/type/sum/sum'(G,H),'h4/const/sum/INL'(s(G,X))),s('h4/type/sum/sum'(G,H),'h4/const/sum/INR'(s(H,Y))))) = s('h4/type/sum/sum'(G,H),'h4/const/sum/INR'(s(H,Z))) <=> (~ (p(s(bool,P))) & s(H,Z) = s(H,Y)))).
