%   ORIGINAL: h4/list/NOT__EVERY
% 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/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__CLAUSES_c2: !t. (F <=> t) <=> ~t
% Assm: h4/bool/DE__MORGAN__THM_c0: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Assm: h4/list/EVERY__DEF_c0: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm: h4/list/EVERY__DEF_c1: !t h P. h4/list/EVERY P (h4/list/CONS h t) <=> P h /\ h4/list/EVERY P t
% Assm: h4/list/EXISTS__DEF_c0: !P. h4/list/EXISTS P h4/list/NIL <=> F
% Assm: h4/list/EXISTS__DEF_c1: !t h P. h4/list/EXISTS P (h4/list/CONS h t) <=> P h \/ h4/list/EXISTS P t
% Assm: h4/list/list__INDUCT: !P. P h4/list/NIL /\ (!t. P t ==> (!h. P (h4/list/CONS h t))) ==> (!l. P l)
% Goal: !l P. ~h4/list/EVERY P l <=> h4/list/EXISTS (h4/combin/o $not P) l
%   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_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c2]: !t. (F <=> t) <=> ~t
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c0]: !B A. ~(A /\ B) <=> ~A \/ ~B
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_lists_EVERYu_u_DEFu_c0]: !P. h4/list/EVERY P h4/list/NIL <=> T
% Assm [h4s_lists_EVERYu_u_DEFu_c1]: !t h P. h4/list/EVERY P (h4/list/CONS h t) <=> happ P h /\ h4/list/EVERY P t
% Assm [h4s_lists_EXISTSu_u_DEFu_c0]: !P. h4/list/EXISTS P h4/list/NIL <=> F
% Assm [h4s_lists_EXISTSu_u_DEFu_c1]: !t h P. h4/list/EXISTS P (h4/list/CONS h t) <=> happ P h \/ h4/list/EXISTS P t
% Assm [h4s_lists_listu_u_INDUCT]: !P. happ P h4/list/NIL /\ (!t. happ P t ==> (!h. happ P (h4/list/CONS h t))) ==> (!l. happ P l)
% Goal: !l P. ~h4/list/EVERY P l <=> h4/list/EXISTS (h4/combin/o $not P) l
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_Q240453,TV_Q240449]: ![V_f, V_g]: (![V_x]: s(TV_Q240449,happ(s(t_fun(TV_Q240453,TV_Q240449),V_f),s(TV_Q240453,V_x))) = s(TV_Q240449,happ(s(t_fun(TV_Q240453,TV_Q240449),V_g),s(TV_Q240453,V_x))) => s(t_fun(TV_Q240453,TV_Q240449),V_f) = s(t_fun(TV_Q240453,TV_Q240449),V_g))).
fof(ah4s_bools_ETAu_u_AX, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x)))).
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_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> p(s(t_bool,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_EQu_u_CLAUSESu_c2, axiom, ![V_t]: (s(t_bool,f) = s(t_bool,V_t) <=> ~ (p(s(t_bool,V_t))))).
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_combins_ou_u_THM, axiom, ![TV_u_27b,TV_u_27a,TV_u_27c]: ![V_x, V_g, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27c,TV_u_27a),V_g))),s(TV_u_27c,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),V_g),s(TV_u_27c,V_x)))))).
fof(ah4s_lists_EVERYu_u_DEFu_c0, axiom, ![TV_u_27a]: ![V_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),h4s_lists_nil))) = s(t_bool,t)).
fof(ah4s_lists_EVERYu_u_DEFu_c1, axiom, ![TV_u_27a]: ![V_t, V_h, 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),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_h)))) & 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_t))))))).
fof(ah4s_lists_EXISTSu_u_DEFu_c0, axiom, ![TV_u_27a]: ![V_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),h4s_lists_nil))) = s(t_bool,f)).
fof(ah4s_lists_EXISTSu_u_DEFu_c1, axiom, ![TV_u_27a]: ![V_t, V_h, 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),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_h)))) | 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_t))))))).
fof(ah4s_lists_listu_u_INDUCT, axiom, ![TV_u_27a]: ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))) & ![V_t]: (p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t)))) => ![V_h]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))))) => ![V_l]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ch4s_lists_NOTu_u_EVERY, conjecture, ![TV_u_27a]: ![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),h4s_combins_o(s(t_fun(t_bool,t_bool),d_not),s(t_fun(TV_u_27a,t_bool),V_P))),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
