%   ORIGINAL: 'h4/thm/arithmetic/SUB_ELIM_THM_'
% 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: !b a P. P ('h4/const/arithmetic/-' a b) <=> (!d. (b = 'h4/const/arithmetic/+' a d ==> P 'h4/const/num/0') /\ (a = 'h4/const/arithmetic/+' b d ==> P d))
%   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: !b a P. happ P ('h4/const/arithmetic/-' a b) <=> (!d. (b = 'h4/const/arithmetic/+' a d ==> happ P 'h4/const/num/0') /\ (a = 'h4/const/arithmetic/+' b d ==> happ P d))
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_3f83241,V_3f83237]: ![F, G]: (![X]: s(V_3f83237,happ(s(fun(V_3f83241,V_3f83237),F),s(V_3f83241,X))) = s(V_3f83237,happ(s(fun(V_3f83241,V_3f83237),G),s(V_3f83241,X))) => s(fun(V_3f83241,V_3f83237),F) = s(fun(V_3f83241,V_3f83237),G))).
fof('h4/thm/arithmetic/SUB_ELIM_THM_', conjecture, ![B, A, P]: (p(s(bool,happ(s(fun('h4/type/num/num',bool),P),s('h4/type/num/num','h4/const/arithmetic/-'(s('h4/type/num/num',A),s('h4/type/num/num',B)))))) <=> ![D]: ((s('h4/type/num/num',B) = s('h4/type/num/num','h4/const/arithmetic/+'(s('h4/type/num/num',A),s('h4/type/num/num',D))) => p(s(bool,happ(s(fun('h4/type/num/num',bool),P),s('h4/type/num/num','h4/const/num/0'))))) & (s('h4/type/num/num',A) = s('h4/type/num/num','h4/const/arithmetic/+'(s('h4/type/num/num',B),s('h4/type/num/num',D))) => p(s(bool,happ(s(fun('h4/type/num/num',bool),P),s('h4/type/num/num',D)))))))).
