%   ORIGINAL: 'h4/thm/option/IF_NONE_EQUALS_OPTION_1'
% 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: !X P. 'h4/const/bool/COND' P 'h4/const/option/NONE' X = 'h4/const/option/NONE' <=> 'h4/const/option/IS_SOME' X ==> P
%   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: !X P. 'h4/const/bool/COND' P 'h4/const/option/NONE' X = 'h4/const/option/NONE' <=> 'h4/const/option/IS_SOME' X ==> P
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_3f100057,V_3f100053]: ![F, G]: (![X]: s(V_3f100053,happ(s(fun(V_3f100057,V_3f100053),F),s(V_3f100057,X))) = s(V_3f100053,happ(s(fun(V_3f100057,V_3f100053),G),s(V_3f100057,X))) => s(fun(V_3f100057,V_3f100053),F) = s(fun(V_3f100057,V_3f100053),G))).
fof('h4/thm/option/IF_NONE_EQUALS_OPTION_1', conjecture, ![A]: ![X, P]: (s('h4/type/option/option'(A),'h4/const/bool/COND'(s(bool,P),s('h4/type/option/option'(A),'h4/const/option/NONE'),s('h4/type/option/option'(A),X))) = s('h4/type/option/option'(A),'h4/const/option/NONE') <=> (p(s(bool,'h4/const/option/IS_SOME'(s('h4/type/option/option'(A),X)))) => p(s(bool,P))))).
