%   ORIGINAL: h4/list/LAST__CONS_c1
% 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/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/list/NOT__CONS__NIL: !a1 a0. ~(h4/list/CONS a0 a1 = h4/list/NIL)
% Assm: h4/list/LAST__DEF: !t h. h4/list/LAST (h4/list/CONS h t) = h4/bool/COND (t = h4/list/NIL) h (h4/list/LAST t)
% Goal: !z y x. h4/list/LAST (h4/list/CONS x (h4/list/CONS y z)) = h4/list/LAST (h4/list/CONS y z)
%   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_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_lists_NOTu_u_CONSu_u_NIL]: !a1 a0. ~(h4/list/CONS a0 a1 = h4/list/NIL)
% Assm [h4s_lists_LASTu_u_DEF]: !t h. ?v. (v <=> t = h4/list/NIL) /\ h4/list/LAST (h4/list/CONS h t) = h4/bool/COND v h (h4/list/LAST t)
% Goal: !z y x. h4/list/LAST (h4/list/CONS x (h4/list/CONS y z)) = h4/list/LAST (h4/list/CONS y z)
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_Q243355,TV_Q243351]: ![V_f, V_g]: (![V_x]: s(TV_Q243351,happ(s(t_fun(TV_Q243355,TV_Q243351),V_f),s(TV_Q243355,V_x))) = s(TV_Q243351,happ(s(t_fun(TV_Q243355,TV_Q243351),V_g),s(TV_Q243355,V_x))) => s(t_fun(TV_Q243355,TV_Q243351),V_f) = s(t_fun(TV_Q243355,TV_Q243351),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_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_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,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_CONDu_u_CLAUSESu_c0, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,t),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t1)).
fof(ah4s_bools_CONDu_u_CLAUSESu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
fof(ah4s_lists_NOTu_u_CONSu_u_NIL, axiom, ![TV_u_27a]: ![V_a1, V_a0]: ~ (s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a0),s(t_h4s_lists_list(TV_u_27a),V_a1))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))).
fof(ah4s_lists_LASTu_u_DEF, axiom, ![TV_u_27a]: ![V_t, V_h]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(t_h4s_lists_list(TV_u_27a),V_t) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)) & s(TV_u_27a,h4s_lists_last(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))))) = s(TV_u_27a,h4s_bools_cond(s(t_bool,V_v),s(TV_u_27a,V_h),s(TV_u_27a,h4s_lists_last(s(t_h4s_lists_list(TV_u_27a),V_t))))))).
fof(ch4s_lists_LASTu_u_CONSu_c1, conjecture, ![TV_u_27a]: ![V_z, V_y, V_x]: s(TV_u_27a,h4s_lists_last(s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_y),s(t_h4s_lists_list(TV_u_27a),V_z))))))) = s(TV_u_27a,h4s_lists_last(s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_y),s(t_h4s_lists_list(TV_u_27a),V_z)))))).
