%   ORIGINAL: h4/list/FILTER__NEQ__ID
% 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
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/bool/NOT__EXISTS__THM: !P. ~(?x. P x) <=> (!x. ~P x)
% Assm: h4/bool/DE__MORGAN__THM_c0: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm: h4/list/EXISTS__MEM: !l P. h4/list/EXISTS P l <=> (?e. h4/bool/IN e (h4/list/LIST__TO__SET l) /\ P e)
% Assm: h4/list/EVERY__NOT__EXISTS: !l P. h4/list/EVERY P l <=> ~h4/list/EXISTS (\x. ~P x) l
% Assm: h4/list/FILTER__EQ__ID: !l P. h4/list/FILTER P l = l <=> h4/list/EVERY P l
% Goal: !l P. ~(h4/list/FILTER P l = l) <=> (?x. h4/bool/IN x (h4/list/LIST__TO__SET l) /\ ~P x)
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% Assm [h4s_bools_NOTu_u_EXISTSu_u_THM]: !P. ~(?x. happ P x) <=> (!x. ~happ P x)
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c0]: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% Assm [h4s_lists_EXISTSu_u_MEM]: !l P. h4/list/EXISTS P l <=> (?e. h4/bool/IN e (h4/list/LIST__TO__SET l) /\ happ P e)
% Assm [h4s_lists_EVERYu_u_NOTu_u_EXISTS]: !_0. (!P x. happ (happ _0 P) x <=> ~happ P x) ==> (!l P. h4/list/EVERY P l <=> ~h4/list/EXISTS (happ _0 P) l)
% Assm [h4s_lists_FILTERu_u_EQu_u_ID]: !l P. h4/list/FILTER P l = l <=> h4/list/EVERY P l
% Goal: !l P. ~(h4/list/FILTER P l = l) <=> (?x. h4/bool/IN x (h4/list/LIST__TO__SET l) /\ ~happ P x)
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(aHLu_EXT, axiom, ![TV_Q241478,TV_Q241474]: ![V_f, V_g]: (![V_x]: s(TV_Q241474,happ(s(t_fun(TV_Q241478,TV_Q241474),V_f),s(TV_Q241478,V_x))) = s(TV_Q241474,happ(s(t_fun(TV_Q241478,TV_Q241474),V_g),s(TV_Q241478,V_x))) => s(t_fun(TV_Q241478,TV_Q241474),V_f) = s(t_fun(TV_Q241478,TV_Q241474),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_FORALLu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (![V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c0, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_NOTu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_P]: (~ (![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) <=> ?[V_x]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_NOTu_u_EXISTSu_u_THM, axiom, ![TV_u_27a]: ![V_P]: (~ (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) <=> ![V_x]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_DEu_u_MORGANu_u_THMu_c0, axiom, ![V_B, V_A]: (~ ((p(s(t_bool,V_A)) & p(s(t_bool,V_B)))) <=> (~ (p(s(t_bool,V_A))) | ~ (p(s(t_bool,V_B)))))).
fof(ah4s_bools_DEu_u_MORGANu_u_THMu_c1, axiom, ![V_B, V_A]: (~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) <=> (~ (p(s(t_bool,V_A))) & ~ (p(s(t_bool,V_B)))))).
fof(ah4s_lists_EXISTSu_u_MEM, axiom, ![TV_u_27a]: ![V_l, V_P]: (p(s(t_bool,h4s_lists_exists(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))) <=> ?[V_e]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),V_l)))))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_e))))))).
fof(ah4s_lists_EVERYu_u_NOTu_u_EXISTS, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x)))) <=> ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))))) => ![V_l, V_P]: (p(s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))) <=> ~ (p(s(t_bool,h4s_lists_exists(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_h4s_lists_list(TV_u_27a),V_l)))))))).
fof(ah4s_lists_FILTERu_u_EQu_u_ID, axiom, ![TV_u_27a]: ![V_l, V_P]: (s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l))) = s(t_h4s_lists_list(TV_u_27a),V_l) <=> p(s(t_bool,h4s_lists_every(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ch4s_lists_FILTERu_u_NEQu_u_ID, conjecture, ![TV_u_27a]: ![V_l, V_P]: (~ (s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l))) = s(t_h4s_lists_list(TV_u_27a),V_l)) <=> ?[V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_lists_listu_u_tou_u_set(s(t_h4s_lists_list(TV_u_27a),V_l)))))) & ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))))))).
