%   ORIGINAL: h4/llist/NOT__LFINITE__APPEND
% 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/llist/LAPPEND0_c1: !x t h. h4/llist/LAPPEND (h4/llist/LCONS h t) x = h4/llist/LCONS h (h4/llist/LAPPEND t x)
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/llist/LFINITE__APPEND: !ll2 ll1. h4/llist/LFINITE (h4/llist/LAPPEND ll1 ll2) <=> h4/llist/LFINITE ll1 /\ h4/llist/LFINITE ll2
% Assm: h4/llist/LAPPEND__EQ__LNIL: !l2 l1. h4/llist/LAPPEND l1 l2 = h4/llist/LNIL <=> l1 = h4/llist/LNIL /\ l2 = h4/llist/LNIL
% Assm: h4/llist/LFINITE__def: h4/llist/LFINITE = (\a0. !LFINITE_27. (!a00. a00 = h4/llist/LNIL \/ (?h t. a00 = h4/llist/LCONS h t /\ LFINITE_27 t) ==> LFINITE_27 a00) ==> LFINITE_27 a0)
% Assm: h4/llist/LAPPEND__ASSOC: !ll3 ll2 ll1. h4/llist/LAPPEND (h4/llist/LAPPEND ll1 ll2) ll3 = h4/llist/LAPPEND ll1 (h4/llist/LAPPEND ll2 ll3)
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/IMP__CONG: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm: h4/llist/LAPPEND0_c0: !x. h4/llist/LAPPEND h4/llist/LNIL x = x
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/MONO__OR: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm: h4/bool/MONO__AND: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/llist/LFINITE__THM_c1: !t h. h4/llist/LFINITE (h4/llist/LCONS h t) <=> h4/llist/LFINITE t
% Assm: h4/llist/LCONS__NOT__NIL_c0: !t h. ~(h4/llist/LCONS h t = h4/llist/LNIL)
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/llist/LLENGTH0: !ll. h4/llist/LLENGTH ll = h4/bool/COND (h4/llist/LFINITE ll) (h4/option/SOME (h4/min/_40 (\n. h4/llist/llength__rel ll n))) h4/option/NONE
% Assm: h4/llist/llist__CASES: !l. l = h4/llist/LNIL \/ (?h t. l = h4/llist/LCONS h t)
% Assm: h4/llist/LFINITE__INDUCTION: !P. P h4/llist/LNIL /\ (!h t. P t ==> P (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> P a0)
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/llist/LFINITE__STRONG__INDUCTION: !P. P h4/llist/LNIL /\ (!h t. h4/llist/LFINITE t /\ P t ==> P (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> P a0)
% Assm: h4/llist/LFINITE__THM_c0: h4/llist/LFINITE h4/llist/LNIL <=> T
% Assm: h4/llist/LAPPEND__NIL__2ND: !ll. h4/llist/LAPPEND ll h4/llist/LNIL = ll
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/llist/NOT__LFINITE__NO__LENGTH: !ll. ~h4/llist/LFINITE ll ==> h4/llist/LLENGTH ll = h4/option/NONE
% Assm: h4/llist/LFINITE0: !ll. h4/llist/LFINITE ll <=> (?n. h4/llist/LTAKE n ll = h4/option/NONE)
% Assm: h4/llist/LFINITE__cases: !a0. h4/llist/LFINITE a0 <=> a0 = h4/llist/LNIL \/ (?h t. a0 = h4/llist/LCONS h t /\ h4/llist/LFINITE t)
% Assm: h4/llist/LFINITE__HAS__LENGTH: !ll. h4/llist/LFINITE ll ==> (?n. h4/llist/LLENGTH ll = h4/option/SOME n)
% Assm: h4/llist/LFINITE__ind: !LFINITE_27. LFINITE_27 h4/llist/LNIL /\ (!h t. LFINITE_27 t ==> LFINITE_27 (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> LFINITE_27 a0)
% Assm: h4/llist/LFINITE__rules_c1: !t h. h4/llist/LFINITE t ==> h4/llist/LFINITE (h4/llist/LCONS h t)
% Assm: h4/llist/LFINITE__strongind: !LFINITE_27. LFINITE_27 h4/llist/LNIL /\ (!h t. h4/llist/LFINITE t /\ LFINITE_27 t ==> LFINITE_27 (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> LFINITE_27 a0)
% Assm: h4/llist/LMAP__APPEND: !ll2 ll1 f. h4/llist/LMAP f (h4/llist/LAPPEND ll1 ll2) = h4/llist/LAPPEND (h4/llist/LMAP f ll1) (h4/llist/LMAP f ll2)
% Assm: h4/bool/COND__CONG: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm: h4/llist/LCONS__11: !t2 t1 h2 h1. h4/llist/LCONS h1 t1 = h4/llist/LCONS h2 t2 <=> h1 = h2 /\ t1 = t2
% Assm: h4/option/SOME__11: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/bool__case__thm_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/bool/EQ__IMP__THM: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm: h4/bool/bool__case__thm_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/UNWIND__THM2: !a P. (?x. x = a /\ P x) <=> P a
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/bool/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/EQ__CLAUSES_c3: !t. (t <=> F) <=> ~t
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/llist/LLIST__BISIMULATION: !ll2 ll1. ll1 = ll2 <=> (?R. R ll1 ll2 /\ (!ll3 ll4. R ll3 ll4 ==> ll3 = h4/llist/LNIL /\ ll4 = h4/llist/LNIL \/ h4/llist/LHD ll3 = h4/llist/LHD ll4 /\ R (h4/option/THE (h4/llist/LTL ll3)) (h4/option/THE (h4/llist/LTL ll4))))
% Assm: h4/llist/LTL__THM_c1: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm: h4/llist/LHD__THM_c1: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm: h4/llist/LHD__THM_c0: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm: h4/llist/LTL__THM_c0: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm: h4/option/THE__DEF: !x. h4/option/THE (h4/option/SOME x) = x
% Assm: h4/bool/UNWIND__FORALL__THM2: !v f. (!x. x = v ==> f x) <=> f v
% Assm: h4/bool/IMP__DISJ__THM: !B A. A ==> B <=> ~A \/ B
% Assm: h4/llist/LFINITE__MAP: !ll f. h4/llist/LFINITE (h4/llist/LMAP f ll) <=> h4/llist/LFINITE ll
% Assm: h4/llist/LFINITE__rules_c0: h4/llist/LFINITE h4/llist/LNIL
% Assm: h4/option/OPTION__MAP__DEF_c1: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/llist/llist__Axiom: !f. ?g. (!x. h4/llist/LHD (g x) = h4/option/OPTION__MAP h4/pair/SND (f x)) /\ (!x. h4/llist/LTL (g x) = h4/option/OPTION__MAP (h4/combin/o g h4/pair/FST) (f x))
% Assm: h4/llist/LHD__EQ__NONE_c0: !ll. h4/llist/LHD ll = h4/option/NONE <=> ll = h4/llist/LNIL
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/llist/LHD__EQ__NONE_c1: !ll. h4/option/NONE = h4/llist/LHD ll <=> ll = h4/llist/LNIL
% Assm: h4/pair/UNCURRY__DEF: !y x f. h4/pair/UNCURRY f (h4/pair/_2C x y) = f x y
% Assm: h4/pair/SND0: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/llist/LHDTL__EQ__SOME: !t ll h. ll = h4/llist/LCONS h t <=> h4/llist/LHD ll = h4/option/SOME h /\ h4/llist/LTL ll = h4/option/SOME t
% Assm: h4/option/OPTION__MAP__DEF_c0: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (f x)
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Assm: h4/bool/AND__CLAUSES_c3: !t. t /\ F <=> F
% Assm: h4/bool/DISJ__ASSOC: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% 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/EXISTS__REFL: !a. ?x. x = a
% Assm: h4/bool/RIGHT__FORALL__OR__THM: !Q P. (!x. P \/ Q x) <=> P \/ (!x. Q x)
% Assm: h4/llist/LLIST__STRONG__BISIMULATION: !ll2 ll1. ll1 = ll2 <=> (?R. R ll1 ll2 /\ (!ll3 ll4. R ll3 ll4 ==> ll3 = ll4 \/ (?h t1 t2. ll3 = h4/llist/LCONS h t1 /\ ll4 = h4/llist/LCONS h t2 /\ R t1 t2)))
% Assm: h4/bool/AND__CLAUSES_c4: !t. t /\ t <=> t
% Assm: h4/llist/LMAP0_c1: !t h f. h4/llist/LMAP f (h4/llist/LCONS h t) = h4/llist/LCONS (f h) (h4/llist/LMAP f t)
% Assm: h4/llist/LMAP0_c0: !f. h4/llist/LMAP f h4/llist/LNIL = h4/llist/LNIL
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/option/NOT__NONE__SOME: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/llist/LTAKE__NIL__EQ__NONE: !m. h4/llist/LTAKE m h4/llist/LNIL = h4/option/NONE <=> h4/prim__rec/_3C h4/num/0 m
% Assm: h4/llist/LTAKE__THM_c2: !t n h. h4/llist/LTAKE (h4/num/SUC n) (h4/llist/LCONS h t) = h4/option/OPTION__MAP (h4/list/CONS h) (h4/llist/LTAKE n t)
% Assm: h4/llist/LTAKE__THM_c0: !l. h4/llist/LTAKE h4/num/0 l = h4/option/SOME h4/list/NIL
% Assm: h4/prim__rec/LESS__0: !n. h4/prim__rec/_3C h4/num/0 (h4/num/SUC n)
% Assm: h4/num/INDUCTION: !P. P h4/num/0 /\ (!n. P n ==> P (h4/num/SUC n)) ==> (!n. P n)
% Assm: h4/option/OPTION__MAP__EQ__NONE__both__ways_c0: !x f. h4/option/OPTION__MAP f x = h4/option/NONE <=> x = h4/option/NONE
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/llist/LLIST__BISIMULATION0: !ll2 ll1. ll1 = ll2 <=> (?R. R ll1 ll2 /\ (!ll3 ll4. R ll3 ll4 ==> ll3 = h4/llist/LNIL /\ ll4 = h4/llist/LNIL \/ (?h t1 t2. ll3 = h4/llist/LCONS h t1 /\ ll4 = h4/llist/LCONS h t2 /\ R t1 t2)))
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/bool/LEFT__FORALL__IMP__THM: !Q P. (!x. P x ==> Q) <=> (?x. P x) ==> Q
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/bool/EQ__REFL: !x. x = x
% Assm: h4/llist/LNIL0: h4/llist/LNIL = h4/llist/llist__abs (\n. h4/option/NONE)
% Assm: h4/llist/LCONS0: !t h. h4/llist/LCONS h t = h4/llist/llist__abs (\n. h4/bool/COND (n = h4/num/0) (h4/option/SOME h) (h4/llist/llist__rep t (h4/arithmetic/_2D n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)))))
% Assm: h4/llist/llist__absrep_c1: !r. h4/llist/lrep__ok r <=> h4/llist/llist__rep (h4/llist/llist__abs r) = r
% Assm: h4/llist/lrep__ok__def: !f. h4/llist/lrep__ok f <=> (?P. (!g. P g ==> g = (\n. h4/option/NONE) \/ (?h t. P t /\ g = (\n. h4/bool/COND (n = h4/num/0) (h4/option/SOME h) (t (h4/arithmetic/_2D n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))))) /\ P f)
% Assm: h4/arithmetic/SUB__0_c0: !m. h4/arithmetic/_2D h4/num/0 m = h4/num/0
% Assm: h4/llist/llist__absrep_c0: !a. h4/llist/llist__abs (h4/llist/llist__rep a) = a
% Assm: h4/bool/LEFT__AND__FORALL__THM: !Q P. (!x. P x) /\ Q <=> (!x. P x /\ Q)
% Assm: h4/bool/RIGHT__AND__FORALL__THM: !Q P. P /\ (!x. Q x) <=> (!x. P /\ Q x)
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/sat/pth__no2: !q p. ~(p \/ q) ==> ~q
% Goal: !ll2 ll1. ~h4/llist/LFINITE ll1 ==> h4/llist/LAPPEND ll1 ll2 = ll1
%   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_llists_LAPPEND0u_c1]: !x t h. h4/llist/LAPPEND (h4/llist/LCONS h t) x = h4/llist/LCONS h (h4/llist/LAPPEND t x)
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_llists_LFINITEu_u_APPEND]: !ll2 ll1. h4/llist/LFINITE (h4/llist/LAPPEND ll1 ll2) <=> h4/llist/LFINITE ll1 /\ h4/llist/LFINITE ll2
% Assm [h4s_llists_LAPPENDu_u_EQu_u_LNIL]: !l2 l1. h4/llist/LAPPEND l1 l2 = h4/llist/LNIL <=> l1 = h4/llist/LNIL /\ l2 = h4/llist/LNIL
% Assm [h4s_llists_LFINITEu_u_def]: !x. h4/llist/LFINITE x <=> (!LFINITE_27. (!a00. a00 = h4/llist/LNIL \/ (?h t. a00 = h4/llist/LCONS h t /\ happ LFINITE_27 t) ==> happ LFINITE_27 a00) ==> happ LFINITE_27 x)
% Assm [h4s_llists_LAPPENDu_u_ASSOC]: !ll3 ll2 ll1. h4/llist/LAPPEND (h4/llist/LAPPEND ll1 ll2) ll3 = h4/llist/LAPPEND ll1 (h4/llist/LAPPEND ll2 ll3)
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_IMPu_u_CONG]: !y_27 y x_27 x. (x <=> x_27) /\ (x_27 ==> (y <=> y_27)) ==> (x ==> y <=> x_27 ==> y_27)
% Assm [h4s_llists_LAPPEND0u_c0]: !x. h4/llist/LAPPEND h4/llist/LNIL x = x
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_MONOu_u_OR]: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm [h4s_bools_MONOu_u_AND]: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm [h4s_bools_MONOu_u_EXISTS]: !Q P. (!x. happ P x ==> happ Q x) ==> (?x. happ P x) ==> (?x. happ Q x)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_llists_LFINITEu_u_THMu_c1]: !t h. h4/llist/LFINITE (h4/llist/LCONS h t) <=> h4/llist/LFINITE t
% Assm [h4s_llists_LCONSu_u_NOTu_u_NILu_c0]: !t h. ~(h4/llist/LCONS h t = h4/llist/LNIL)
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_llists_LLENGTH0]: !_0. (!ll n. happ (happ _0 ll) n <=> h4/llist/llength__rel ll n) ==> (!ll. h4/llist/LLENGTH ll = h4/bool/COND (h4/llist/LFINITE ll) (h4/option/SOME (h4/min/_40 (happ _0 ll))) h4/option/NONE)
% Assm [h4s_llists_llistu_u_CASES]: !l. l = h4/llist/LNIL \/ (?h t. l = h4/llist/LCONS h t)
% Assm [h4s_llists_LFINITEu_u_INDUCTION]: !P. happ P h4/llist/LNIL /\ (!h t. happ P t ==> happ P (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> happ P a0)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_llists_LFINITEu_u_STRONGu_u_INDUCTION]: !P. happ P h4/llist/LNIL /\ (!h t. h4/llist/LFINITE t /\ happ P t ==> happ P (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> happ P a0)
% Assm [h4s_llists_LFINITEu_u_THMu_c0]: h4/llist/LFINITE h4/llist/LNIL <=> T
% Assm [h4s_llists_LAPPENDu_u_NILu_u_2ND]: !ll. h4/llist/LAPPEND ll h4/llist/LNIL = ll
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_llists_NOTu_u_LFINITEu_u_NOu_u_LENGTH]: !ll. ~h4/llist/LFINITE ll ==> h4/llist/LLENGTH ll = h4/option/NONE
% Assm [h4s_llists_LFINITE0]: !ll. h4/llist/LFINITE ll <=> (?n. h4/llist/LTAKE n ll = h4/option/NONE)
% Assm [h4s_llists_LFINITEu_u_cases]: !a0. h4/llist/LFINITE a0 <=> a0 = h4/llist/LNIL \/ (?h t. a0 = h4/llist/LCONS h t /\ h4/llist/LFINITE t)
% Assm [h4s_llists_LFINITEu_u_HASu_u_LENGTH]: !ll. h4/llist/LFINITE ll ==> (?n. h4/llist/LLENGTH ll = h4/option/SOME n)
% Assm [h4s_llists_LFINITEu_u_ind]: !LFINITE_27. happ LFINITE_27 h4/llist/LNIL /\ (!h t. happ LFINITE_27 t ==> happ LFINITE_27 (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> happ LFINITE_27 a0)
% Assm [h4s_llists_LFINITEu_u_rulesu_c1]: !t h. h4/llist/LFINITE t ==> h4/llist/LFINITE (h4/llist/LCONS h t)
% Assm [h4s_llists_LFINITEu_u_strongind]: !LFINITE_27. happ LFINITE_27 h4/llist/LNIL /\ (!h t. h4/llist/LFINITE t /\ happ LFINITE_27 t ==> happ LFINITE_27 (h4/llist/LCONS h t)) ==> (!a0. h4/llist/LFINITE a0 ==> happ LFINITE_27 a0)
% Assm [h4s_llists_LMAPu_u_APPEND]: !ll2 ll1 f. h4/llist/LMAP f (h4/llist/LAPPEND ll1 ll2) = h4/llist/LAPPEND (h4/llist/LMAP f ll1) (h4/llist/LMAP f ll2)
% Assm [h4s_bools_CONDu_u_CONG]: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm [h4s_llists_LCONSu_u_11]: !t2 t1 h2 h1. h4/llist/LCONS h1 t1 = h4/llist/LCONS h2 t2 <=> h1 = h2 /\ t1 = t2
% Assm [h4s_options_SOMEu_u_11]: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_dcu_u_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_bools_EQu_u_IMPu_u_THM]: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_UNWINDu_u_THM2]: !a P. (?x. x = a /\ happ P x) <=> happ P a
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_bools_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c3]: !t. (t <=> F) <=> ~t
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_llists_LLISTu_u_BISIMULATION]: !ll2 ll1. ll1 = ll2 <=> (?R. happ (happ R ll1) ll2 /\ (!ll3 ll4. happ (happ R ll3) ll4 ==> ll3 = h4/llist/LNIL /\ ll4 = h4/llist/LNIL \/ h4/llist/LHD ll3 = h4/llist/LHD ll4 /\ happ (happ R (h4/option/THE (h4/llist/LTL ll3))) (h4/option/THE (h4/llist/LTL ll4))))
% Assm [h4s_llists_LTLu_u_THMu_c1]: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm [h4s_llists_LHDu_u_THMu_c1]: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm [h4s_llists_LHDu_u_THMu_c0]: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm [h4s_llists_LTLu_u_THMu_c0]: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm [h4s_options_THEu_u_DEF]: !x. h4/option/THE (h4/option/SOME x) = x
% Assm [h4s_bools_UNWINDu_u_FORALLu_u_THM2]: !v f. (!x. x = v ==> happ f x) <=> happ f v
% Assm [h4s_bools_IMPu_u_DISJu_u_THM]: !B A. A ==> B <=> ~A \/ B
% Assm [h4s_llists_LFINITEu_u_MAP]: !ll f. h4/llist/LFINITE (h4/llist/LMAP f ll) <=> h4/llist/LFINITE ll
% Assm [h4s_llists_LFINITEu_u_rulesu_c0]: h4/llist/LFINITE h4/llist/LNIL
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c1]: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_llists_llistu_u_Axiom]: !f. ?g. (!x. h4/llist/LHD (happ g x) = h4/option/OPTION__MAP h4/pair/SND (happ f x)) /\ (!x. h4/llist/LTL (happ g x) = h4/option/OPTION__MAP (h4/combin/o g h4/pair/FST) (happ f x))
% Assm [h4s_llists_LHDu_u_EQu_u_NONEu_c0]: !ll. h4/llist/LHD ll = h4/option/NONE <=> ll = h4/llist/LNIL
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_llists_LHDu_u_EQu_u_NONEu_c1]: !ll. h4/option/NONE = h4/llist/LHD ll <=> ll = h4/llist/LNIL
% Assm [h4s_pairs_UNCURRYu_u_DEF]: !y x f. h4/pair/UNCURRY f (h4/pair/_2C x y) = happ (happ f x) y
% Assm [h4s_pairs_SND0]: !y x. happ h4/pair/SND (h4/pair/_2C x y) = y
% Assm [h4s_pairs_FST0]: !y x. happ h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_llists_LHDTLu_u_EQu_u_SOME]: !t ll h. ll = h4/llist/LCONS h t <=> h4/llist/LHD ll = h4/option/SOME h /\ h4/llist/LTL ll = h4/option/SOME t
% Assm [h4s_options_OPTIONu_u_MAPu_u_DEFu_c0]: !x f. h4/option/OPTION__MAP f (h4/option/SOME x) = h4/option/SOME (happ f x)
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c3]: !t. t /\ F <=> F
% Assm [h4s_bools_DISJu_u_ASSOC]: !C B A. A \/ B \/ C <=> (A \/ B) \/ C
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% 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_EXISTSu_u_REFL]: !a. ?x. x = a
% Assm [h4s_bools_RIGHTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. P \/ happ Q x) <=> P \/ (!x. happ Q x)
% Assm [h4s_llists_LLISTu_u_STRONGu_u_BISIMULATION]: !ll2 ll1. ll1 = ll2 <=> (?R. happ (happ R ll1) ll2 /\ (!ll3 ll4. happ (happ R ll3) ll4 ==> ll3 = ll4 \/ (?h t1 t2. ll3 = h4/llist/LCONS h t1 /\ ll4 = h4/llist/LCONS h t2 /\ happ (happ R t1) t2)))
% Assm [h4s_bools_ANDu_u_CLAUSESu_c4]: !t. t /\ t <=> t
% Assm [h4s_llists_LMAP0u_c1]: !t h f. h4/llist/LMAP f (h4/llist/LCONS h t) = h4/llist/LCONS (happ f h) (h4/llist/LMAP f t)
% Assm [h4s_llists_LMAP0u_c0]: !f. h4/llist/LMAP f h4/llist/LNIL = h4/llist/LNIL
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_options_NOTu_u_NONEu_u_SOME]: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_llists_LTAKEu_u_NILu_u_EQu_u_NONE]: !m. h4/llist/LTAKE m h4/llist/LNIL = h4/option/NONE <=> h4/prim__rec/_3C h4/num/0 m
% Assm [h4s_llists_LTAKEu_u_THMu_c2]: !t n h. h4/llist/LTAKE (h4/num/SUC n) (h4/llist/LCONS h t) = h4/option/OPTION__MAP (h4/list/CONS h) (h4/llist/LTAKE n t)
% Assm [h4s_llists_LTAKEu_u_THMu_c0]: !l. h4/llist/LTAKE h4/num/0 l = h4/option/SOME h4/list/NIL
% Assm [h4s_primu_u_recs_LESSu_u_0]: !n. h4/prim__rec/_3C h4/num/0 (h4/num/SUC n)
% Assm [h4s_nums_INDUCTION]: !P. happ P h4/num/0 /\ (!n. happ P n ==> happ P (h4/num/SUC n)) ==> (!n. happ P n)
% Assm [h4s_options_OPTIONu_u_MAPu_u_EQu_u_NONEu_u_bothu_u_waysu_c0]: !x f. h4/option/OPTION__MAP f x = h4/option/NONE <=> x = h4/option/NONE
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_llists_LLISTu_u_BISIMULATION0]: !ll2 ll1. ll1 = ll2 <=> (?R. happ (happ R ll1) ll2 /\ (!ll3 ll4. happ (happ R ll3) ll4 ==> ll3 = h4/llist/LNIL /\ ll4 = h4/llist/LNIL \/ (?h t1 t2. ll3 = h4/llist/LCONS h t1 /\ ll4 = h4/llist/LCONS h t2 /\ happ (happ R t1) t2)))
% Assm [h4s_combins_Iu_u_THM]: !x. h4/combin/I x = x
% Assm [h4s_bools_LEFTu_u_FORALLu_u_IMPu_u_THM]: !Q P. (!x. happ P x ==> Q) <=> (?x. happ P x) ==> Q
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_bools_EQu_u_REFL]: !x. x = x
% Assm [h4s_llists_LNIL0]: !_0. (!n. happ _0 n = h4/option/NONE) ==> h4/llist/LNIL = h4/llist/llist__abs _0
% Assm [h4s_llists_LCONS0]: !_0. (!h t n. ?v. (v <=> n = h4/num/0) /\ happ (happ (happ _0 h) t) n = h4/bool/COND v (h4/option/SOME h) (happ (h4/llist/llist__rep t) (h4/arithmetic/_2D n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))) ==> (!t h. h4/llist/LCONS h t = h4/llist/llist__abs (happ (happ _0 h) t))
% Assm [h4s_llists_llistu_u_absrepu_c1]: !r. h4/llist/lrep__ok r <=> h4/llist/llist__rep (h4/llist/llist__abs r) = r
% Assm [h4s_llists_lrepu_u_oku_u_def]: !f. h4/llist/lrep__ok f <=> (?P. (!g. happ P g ==> (!x. happ g x = h4/option/NONE) \/ (?h t. happ P t /\ (!x. ?v. (v <=> x = h4/num/0) /\ happ g x = h4/bool/COND v (h4/option/SOME h) (happ t (h4/arithmetic/_2D x (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))))) /\ happ P f)
% Assm [h4s_arithmetics_SUBu_u_0u_c0]: !m. h4/arithmetic/_2D h4/num/0 m = h4/num/0
% Assm [h4s_llists_llistu_u_absrepu_c0]: !a. h4/llist/llist__abs (h4/llist/llist__rep a) = a
% Assm [h4s_bools_LEFTu_u_ANDu_u_FORALLu_u_THM]: !Q P. (!x. happ P x) /\ Q <=> (!x. happ P x /\ Q)
% Assm [h4s_bools_RIGHTu_u_ANDu_u_FORALLu_u_THM]: !Q P. P /\ (!x. happ Q x) <=> (!x. P /\ happ Q x)
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_sats_pthu_u_no2]: !q p. ~(p \/ q) ==> ~q
% Goal: !ll2 ll1. ~h4/llist/LFINITE ll1 ==> h4/llist/LAPPEND ll1 ll2 = ll1
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_Q1258875,TV_Q1258871]: ![V_f, V_g]: (![V_x]: s(TV_Q1258871,happ(s(t_fun(TV_Q1258875,TV_Q1258871),V_f),s(TV_Q1258875,V_x))) = s(TV_Q1258871,happ(s(t_fun(TV_Q1258875,TV_Q1258871),V_g),s(TV_Q1258875,V_x))) => s(t_fun(TV_Q1258875,TV_Q1258871),V_f) = s(t_fun(TV_Q1258875,TV_Q1258871),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_llists_LAPPEND0u_c1, axiom, ![TV_u_27a]: ![V_x, V_t, V_h]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))),s(t_h4s_llists_llist(TV_u_27a),V_x))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_t),s(t_h4s_llists_llist(TV_u_27a),V_x)))))).
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_llists_LFINITEu_u_APPEND, axiom, ![TV_u_27a]: ![V_ll2, V_ll1]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll1),s(t_h4s_llists_llist(TV_u_27a),V_ll2)))))) <=> (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll1)))) & p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll2))))))).
fof(ah4s_llists_LAPPENDu_u_EQu_u_LNIL, axiom, ![TV_u_27a]: ![V_l2, V_l1]: (s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_l1),s(t_h4s_llists_llist(TV_u_27a),V_l2))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) <=> (s(t_h4s_llists_llist(TV_u_27a),V_l1) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) & s(t_h4s_llists_llist(TV_u_27a),V_l2) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)))).
fof(ah4s_llists_LFINITEu_u_def, axiom, ![TV_u_27a]: ![V_x]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_x)))) <=> ![V_LFINITEu_27]: (![V_a00]: ((s(t_h4s_llists_llist(TV_u_27a),V_a00) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) | ?[V_h, V_t]: (s(t_h4s_llists_llist(TV_u_27a),V_a00) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_t)))))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_a00))))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_x))))))).
fof(ah4s_llists_LAPPENDu_u_ASSOC, axiom, ![TV_u_27a]: ![V_ll3, V_ll2, V_ll1]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll1),s(t_h4s_llists_llist(TV_u_27a),V_ll2))),s(t_h4s_llists_llist(TV_u_27a),V_ll3))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll1),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll2),s(t_h4s_llists_llist(TV_u_27a),V_ll3)))))).
fof(ah4s_bools_EQu_u_SYMu_u_EQ, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x))).
fof(ah4s_bools_ANDu_u_IMPu_u_INTRO, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t3))))).
fof(ah4s_bools_IMPu_u_CONG, axiom, ![V_yu_27, V_y, V_xu_27, V_x]: ((s(t_bool,V_x) = s(t_bool,V_xu_27) & (p(s(t_bool,V_xu_27)) => s(t_bool,V_y) = s(t_bool,V_yu_27))) => ((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) <=> (p(s(t_bool,V_xu_27)) => p(s(t_bool,V_yu_27)))))).
fof(ah4s_llists_LAPPEND0u_c0, axiom, ![TV_u_27a]: ![V_x]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil),s(t_h4s_llists_llist(TV_u_27a),V_x))) = s(t_h4s_llists_llist(TV_u_27a),V_x)).
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_IMPu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_MONOu_u_OR, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) | p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) | p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_AND, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) & p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) & p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_EXISTS, axiom, ![TV_u_27a]: ![V_Q, 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)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),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)))) => ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => 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_llists_LFINITEu_u_THMu_c1, axiom, ![TV_u_27b]: ![V_t, V_h]: s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_h),s(t_h4s_llists_llist(TV_u_27b),V_t))))) = s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27b),V_t)))).
fof(ah4s_llists_LCONSu_u_NOTu_u_NILu_c0, axiom, ![TV_u_27a]: ![V_t, V_h]: ~ (s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))).
fof(ah4s_bools_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_llists_LLENGTH0, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_ll, V_n]: s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_bool)),V_uu_0),s(t_h4s_llists_llist(TV_u_27a),V_ll))),s(t_h4s_nums_num,V_n))) = s(t_bool,h4s_llists_llengthu_u_rel(s(t_h4s_llists_llist(TV_u_27a),V_ll),s(t_h4s_nums_num,V_n))) => ![V_ll]: s(t_h4s_options_option(t_h4s_nums_num),h4s_llists_llength(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_nums_num),h4s_bools_cond(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll))),s(t_h4s_options_option(t_h4s_nums_num),h4s_options_some(s(t_h4s_nums_num,h4s_mins_u_40(s(t_fun(t_h4s_nums_num,t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_bool)),V_uu_0),s(t_h4s_llists_llist(TV_u_27a),V_ll))))))),s(t_h4s_options_option(t_h4s_nums_num),h4s_options_none))))).
fof(ah4s_llists_llistu_u_CASES, axiom, ![TV_u_27a]: ![V_l]: (s(t_h4s_llists_llist(TV_u_27a),V_l) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) | ?[V_h, V_t]: s(t_h4s_llists_llist(TV_u_27a),V_l) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))))).
fof(ah4s_llists_LFINITEu_u_INDUCTION, axiom, ![TV_u_27a]: ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)))) & ![V_h, V_t]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),V_t)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t)))))))) => ![V_a0]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_a0)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),V_a0))))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,t))) <=> p(s(t_bool,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_llists_LFINITEu_u_STRONGu_u_INDUCTION, axiom, ![TV_u_27a]: ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)))) & ![V_h, V_t]: ((p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_t)))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),V_t))))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t)))))))) => ![V_a0]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_a0)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_P),s(t_h4s_llists_llist(TV_u_27a),V_a0))))))).
fof(ah4s_llists_LFINITEu_u_THMu_c0, axiom, ![TV_u_27a]: s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_bool,t)).
fof(ah4s_llists_LAPPENDu_u_NILu_u_2ND, axiom, ![TV_u_27a]: ![V_ll]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_llists_llist(TV_u_27a),V_ll)).
fof(ah4s_bools_ORu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_llists_NOTu_u_LFINITEu_u_NOu_u_LENGTH, axiom, ![TV_u_27a]: ![V_ll]: (~ (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll))))) => s(t_h4s_options_option(t_h4s_nums_num),h4s_llists_llength(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_nums_num),h4s_options_none))).
fof(ah4s_llists_LFINITE0, axiom, ![TV_u_27a]: ![V_ll]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll)))) <=> ?[V_n]: s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_llists_ltake(s(t_h4s_nums_num,V_n),s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_options_none))).
fof(ah4s_llists_LFINITEu_u_cases, axiom, ![TV_u_27a]: ![V_a0]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_a0)))) <=> (s(t_h4s_llists_llist(TV_u_27a),V_a0) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) | ?[V_h, V_t]: (s(t_h4s_llists_llist(TV_u_27a),V_a0) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) & p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_t)))))))).
fof(ah4s_llists_LFINITEu_u_HASu_u_LENGTH, axiom, ![TV_u_27a]: ![V_ll]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll)))) => ?[V_n]: s(t_h4s_options_option(t_h4s_nums_num),h4s_llists_llength(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_nums_num),h4s_options_some(s(t_h4s_nums_num,V_n))))).
fof(ah4s_llists_LFINITEu_u_ind, axiom, ![TV_u_27a]: ![V_LFINITEu_27]: ((p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)))) & ![V_h, V_t]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_t)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t)))))))) => ![V_a0]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_a0)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_a0))))))).
fof(ah4s_llists_LFINITEu_u_rulesu_c1, axiom, ![TV_u_27a]: ![V_t, V_h]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_t)))) => p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t)))))))).
fof(ah4s_llists_LFINITEu_u_strongind, axiom, ![TV_u_27a]: ![V_LFINITEu_27]: ((p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)))) & ![V_h, V_t]: ((p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_t)))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_t))))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t)))))))) => ![V_a0]: (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_a0)))) => p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),V_LFINITEu_27),s(t_h4s_llists_llist(TV_u_27a),V_a0))))))).
fof(ah4s_llists_LMAPu_u_APPEND, axiom, ![TV_u_27b,TV_u_27a]: ![V_ll2, V_ll1, V_f]: s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll1),s(t_h4s_llists_llist(TV_u_27a),V_ll2))))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),V_ll1))),s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),V_ll2)))))).
fof(ah4s_bools_CONDu_u_CONG, axiom, ![TV_u_27a]: ![V_yu_27, V_y, V_xu_27, V_x, V_Q, V_P]: ((s(t_bool,V_P) = s(t_bool,V_Q) & ((p(s(t_bool,V_Q)) => s(TV_u_27a,V_x) = s(TV_u_27a,V_xu_27)) & (~ (p(s(t_bool,V_Q))) => s(TV_u_27a,V_y) = s(TV_u_27a,V_yu_27)))) => s(TV_u_27a,h4s_bools_cond(s(t_bool,V_P),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(TV_u_27a,h4s_bools_cond(s(t_bool,V_Q),s(TV_u_27a,V_xu_27),s(TV_u_27a,V_yu_27))))).
fof(ah4s_llists_LCONSu_u_11, axiom, ![TV_u_27a]: ![V_t2, V_t1, V_h2, V_h1]: (s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h1),s(t_h4s_llists_llist(TV_u_27a),V_t1))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h2),s(t_h4s_llists_llist(TV_u_27a),V_t2))) <=> (s(TV_u_27a,V_h1) = s(TV_u_27a,V_h2) & s(t_h4s_llists_llist(TV_u_27a),V_t1) = s(t_h4s_llists_llist(TV_u_27a),V_t2)))).
fof(ah4s_options_SOMEu_u_11, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_y))) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) | p(s(t_bool,V_t))) <=> 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_boolu_u_caseu_u_thmu_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_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) <=> ~ (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_sats_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_ORu_u_DUAL2, axiom, ![V_B, V_A]: ((~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_dcu_u_disj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_q)))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (p(s(t_bool,V_q)) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_imp, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) => p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (~ (p(s(t_bool,V_q))) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_ORu_u_DUAL3, axiom, ![V_B, V_A]: ((~ ((~ (p(s(t_bool,V_A))) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => p(s(t_bool,f))))).
fof(ah4s_sats_dcu_u_neg, axiom, ![V_q, V_p]: ((p(s(t_bool,V_p)) <=> ~ (p(s(t_bool,V_q)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p))))))).
fof(ah4s_sats_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f))))).
fof(ah4s_sats_dcu_u_eq, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> s(t_bool,V_q) = s(t_bool,V_r)) <=> ((p(s(t_bool,V_p)) | (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) & ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_q))))) & ((p(s(t_bool,V_q)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_p))))) & (p(s(t_bool,V_r)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p)))))))))).
fof(ah4s_bools_EQu_u_IMPu_u_THM, axiom, ![V_t2, V_t1]: (s(t_bool,V_t1) = s(t_bool,V_t2) <=> ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) & (p(s(t_bool,V_t2)) => p(s(t_bool,V_t1)))))).
fof(ah4s_bools_boolu_u_caseu_u_thmu_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_bools_UNWINDu_u_THM2, axiom, ![TV_u_27a]: ![V_a, V_P]: (?[V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_a) & p(s(t_bool,happ(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_a)))))).
fof(ah4s_sats_dcu_u_conj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) & p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_r))))) & ((p(s(t_bool,V_q)) | ~ (p(s(t_bool,V_p)))) & (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p)))))))).
fof(ah4s_bools_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (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_EQu_u_CLAUSESu_c3, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,f) <=> ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_IMPu_u_F, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) => ~ (p(s(t_bool,V_t))))).
fof(ah4s_bools_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f))))).
fof(ah4s_bools_DISJu_u_SYM, axiom, ![V_B, V_A]: ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) <=> (p(s(t_bool,V_B)) | p(s(t_bool,V_A))))).
fof(ah4s_bools_BOOLu_u_CASESu_u_AX, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(ah4s_llists_LLISTu_u_BISIMULATION, axiom, ![TV_u_27a]: ![V_ll2, V_ll1]: (s(t_h4s_llists_llist(TV_u_27a),V_ll1) = s(t_h4s_llists_llist(TV_u_27a),V_ll2) <=> ?[V_R]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll1))),s(t_h4s_llists_llist(TV_u_27a),V_ll2)))) & ![V_ll3, V_ll4]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll3))),s(t_h4s_llists_llist(TV_u_27a),V_ll4)))) => ((s(t_h4s_llists_llist(TV_u_27a),V_ll3) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) & s(t_h4s_llists_llist(TV_u_27a),V_ll4) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)) | (s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll3))) = s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll4))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),h4s_options_the(s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),V_ll3))))))),s(t_h4s_llists_llist(TV_u_27a),h4s_options_the(s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),V_ll4)))))))))))))).
fof(ah4s_llists_LTLu_u_THMu_c1, axiom, ![TV_u_27b]: ![V_t, V_h]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_h),s(t_h4s_llists_llist(TV_u_27b),V_t))))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_options_some(s(t_h4s_llists_llist(TV_u_27b),V_t)))).
fof(ah4s_llists_LHDu_u_THMu_c1, axiom, ![TV_u_27b]: ![V_t, V_h]: s(t_h4s_options_option(TV_u_27b),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_h),s(t_h4s_llists_llist(TV_u_27b),V_t))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,V_h)))).
fof(ah4s_llists_LHDu_u_THMu_c0, axiom, ![TV_u_27a]: s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none)).
fof(ah4s_llists_LTLu_u_THMu_c0, axiom, ![TV_u_27a]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_options_none)).
fof(ah4s_options_THEu_u_DEF, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_options_the(s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))) = s(TV_u_27a,V_x)).
fof(ah4s_bools_UNWINDu_u_FORALLu_u_THM2, axiom, ![TV_u_27a]: ![V_v, V_f]: (![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_v) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))))) <=> p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_v)))))).
fof(ah4s_bools_IMPu_u_DISJu_u_THM, 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_llists_LFINITEu_u_MAP, axiom, ![TV_u_27b,TV_u_27a]: ![V_ll, V_f]: s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),V_ll))))) = s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll)))).
fof(ah4s_llists_LFINITEu_u_rulesu_c0, axiom, ![TV_u_27a]: p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))))).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_none))) = s(t_h4s_options_option(TV_u_27b),h4s_options_none)).
fof(ah4s_bools_ANDu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) & p(s(t_bool,V_t))) <=> p(s(t_bool,f)))).
fof(ah4s_llists_llistu_u_Axiom, axiom, ![TV_u_27b,TV_u_27a]: ![V_f]: ?[V_g]: (![V_x]: s(t_h4s_options_option(TV_u_27b),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_x))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27b),h4s_pairs_snd),s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f),s(TV_u_27a,V_x))))) & ![V_x]: s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(TV_u_27a,V_x))))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_options_optionu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),h4s_combins_o(s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst))),s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b))),V_f),s(TV_u_27a,V_x))))))).
fof(ah4s_llists_LHDu_u_EQu_u_NONEu_c0, axiom, ![TV_u_27a]: ![V_ll]: (s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) <=> s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))).
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_llists_LHDu_u_EQu_u_NONEu_c1, axiom, ![TV_u_27a]: ![V_ll]: (s(t_h4s_options_option(TV_u_27a),h4s_options_none) = s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) <=> s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))).
fof(ah4s_pairs_UNCURRYu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_y, V_x, V_f]: s(TV_u_27c,h4s_pairs_uncurry(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))).
fof(ah4s_pairs_SND0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: s(TV_u_27b,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27b),h4s_pairs_snd),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27b,V_y)).
fof(ah4s_pairs_FST0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(TV_u_27a,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27a,V_x)).
fof(ah4s_llists_LHDTLu_u_EQu_u_SOME, axiom, ![TV_u_27a]: ![V_t, V_ll, V_h]: (s(t_h4s_llists_llist(TV_u_27a),V_ll) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) <=> (s(t_h4s_options_option(TV_u_27a),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_h))) & s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_llists_ltl(s(t_h4s_llists_llist(TV_u_27a),V_ll))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27a)),h4s_options_some(s(t_h4s_llists_llist(TV_u_27a),V_t)))))).
fof(ah4s_options_OPTIONu_u_MAPu_u_DEFu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(t_h4s_options_option(TV_u_27b),h4s_options_optionu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))))).
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_bools_ANDu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,f))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_DISJu_u_ASSOC, axiom, ![V_C, V_B, V_A]: ((p(s(t_bool,V_A)) | (p(s(t_bool,V_B)) | p(s(t_bool,V_C)))) <=> ((p(s(t_bool,V_A)) | p(s(t_bool,V_B))) | p(s(t_bool,V_C))))).
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_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_EXISTSu_u_REFL, axiom, ![TV_u_27a]: ![V_a]: ?[V_x]: s(TV_u_27a,V_x) = s(TV_u_27a,V_a)).
fof(ah4s_bools_RIGHTu_u_FORALLu_u_ORu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,V_P)) | p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) <=> (p(s(t_bool,V_P)) | ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_llists_LLISTu_u_STRONGu_u_BISIMULATION, axiom, ![TV_u_27a]: ![V_ll2, V_ll1]: (s(t_h4s_llists_llist(TV_u_27a),V_ll1) = s(t_h4s_llists_llist(TV_u_27a),V_ll2) <=> ?[V_R]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll1))),s(t_h4s_llists_llist(TV_u_27a),V_ll2)))) & ![V_ll3, V_ll4]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll3))),s(t_h4s_llists_llist(TV_u_27a),V_ll4)))) => (s(t_h4s_llists_llist(TV_u_27a),V_ll3) = s(t_h4s_llists_llist(TV_u_27a),V_ll4) | ?[V_h, V_t1, V_t2]: (s(t_h4s_llists_llist(TV_u_27a),V_ll3) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t1))) & (s(t_h4s_llists_llist(TV_u_27a),V_ll4) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t2))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_t1))),s(t_h4s_llists_llist(TV_u_27a),V_t2))))))))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_llists_LMAP0u_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_h, V_f]: s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_h))),s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),V_t)))))).
fof(ah4s_llists_LMAP0u_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lmap(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lnil)).
fof(ah4s_bools_EXISTSu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (?[V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_pthu_u_ni2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) => p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ah4s_sats_pthu_u_ni1, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) => p(s(t_bool,V_q)))) => p(s(t_bool,V_p)))).
fof(ah4s_options_NOTu_u_NONEu_u_SOME, axiom, ![TV_u_27a]: ![V_x]: ~ (s(t_h4s_options_option(TV_u_27a),h4s_options_none) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_llists_LTAKEu_u_NILu_u_EQu_u_NONE, axiom, ![TV_u_27a]: ![V_m]: (s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_llists_ltake(s(t_h4s_nums_num,V_m),s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil))) = s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_options_none) <=> p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_m)))))).
fof(ah4s_llists_LTAKEu_u_THMu_c2, axiom, ![TV_u_27c]: ![V_t, V_n, V_h]: s(t_h4s_options_option(t_h4s_lists_list(TV_u_27c)),h4s_llists_ltake(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_llists_llist(TV_u_27c),h4s_llists_lcons(s(TV_u_27c,V_h),s(t_h4s_llists_llist(TV_u_27c),V_t))))) = s(t_h4s_options_option(t_h4s_lists_list(TV_u_27c)),h4s_options_optionu_u_map(s(t_fun(t_h4s_lists_list(TV_u_27c),t_h4s_lists_list(TV_u_27c)),h4s_lists_cons(s(TV_u_27c,V_h))),s(t_h4s_options_option(t_h4s_lists_list(TV_u_27c)),h4s_llists_ltake(s(t_h4s_nums_num,V_n),s(t_h4s_llists_llist(TV_u_27c),V_t)))))).
fof(ah4s_llists_LTAKEu_u_THMu_c0, axiom, ![TV_u_27a]: ![V_l]: s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_llists_ltake(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_llists_llist(TV_u_27a),V_l))) = s(t_h4s_options_option(t_h4s_lists_list(TV_u_27a)),h4s_options_some(s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))).
fof(ah4s_primu_u_recs_LESSu_u_0, axiom, ![V_n]: p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))))).
fof(ah4s_nums_INDUCTION, axiom, ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_0)))) & ![V_n]: (p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))) => p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))))) => ![V_n]: p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_options_OPTIONu_u_MAPu_u_EQu_u_NONEu_u_bothu_u_waysu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_f]: (s(t_h4s_options_option(TV_u_27a),h4s_options_optionu_u_map(s(t_fun(TV_u_27b,TV_u_27a),V_f),s(t_h4s_options_option(TV_u_27b),V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) <=> s(t_h4s_options_option(TV_u_27b),V_x) = s(t_h4s_options_option(TV_u_27b),h4s_options_none))).
fof(ah4s_bools_EQu_u_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
fof(ah4s_llists_LLISTu_u_BISIMULATION0, axiom, ![TV_u_27a]: ![V_ll2, V_ll1]: (s(t_h4s_llists_llist(TV_u_27a),V_ll1) = s(t_h4s_llists_llist(TV_u_27a),V_ll2) <=> ?[V_R]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll1))),s(t_h4s_llists_llist(TV_u_27a),V_ll2)))) & ![V_ll3, V_ll4]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_ll3))),s(t_h4s_llists_llist(TV_u_27a),V_ll4)))) => ((s(t_h4s_llists_llist(TV_u_27a),V_ll3) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) & s(t_h4s_llists_llist(TV_u_27a),V_ll4) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil)) | ?[V_h, V_t1, V_t2]: (s(t_h4s_llists_llist(TV_u_27a),V_ll3) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t1))) & (s(t_h4s_llists_llist(TV_u_27a),V_ll4) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t2))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_bool),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_llists_llist(TV_u_27a),t_bool)),V_R),s(t_h4s_llists_llist(TV_u_27a),V_t1))),s(t_h4s_llists_llist(TV_u_27a),V_t2))))))))))).
fof(ah4s_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_combins_i(s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_bools_LEFTu_u_FORALLu_u_IMPu_u_THM, axiom, ![TV_u_27a]: ![V_Q, 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)))) => p(s(t_bool,V_Q))) <=> (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,V_Q))))).
fof(ah4s_bools_SELECTu_u_AX, axiom, ![TV_u_27a]: ![V_x, V_P]: (p(s(t_bool,happ(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,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),V_P)))))))).
fof(ah4s_bools_EQu_u_REFL, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,V_x) = s(TV_u_27a,V_x)).
fof(ah4s_llists_LNIL0, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) => s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lnil) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_llistu_u_abs(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_uu_0))))).
fof(ah4s_llists_LCONS0, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_h, V_t, V_n]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(t_h4s_nums_num,V_n) = s(t_h4s_nums_num,h4s_nums_0)) & s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a))),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)))),V_uu_0),s(TV_u_27a,V_h))),s(t_h4s_llists_llist(TV_u_27a),V_t))),s(t_h4s_nums_num,V_n))) = s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_v),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_h))),s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),h4s_llists_llistu_u_rep(s(t_h4s_llists_llist(TV_u_27a),V_t))),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero)))))))))))) => ![V_t, V_h]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lcons(s(TV_u_27a,V_h),s(t_h4s_llists_llist(TV_u_27a),V_t))) = s(t_h4s_llists_llist(TV_u_27a),h4s_llists_llistu_u_abs(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),happ(s(t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a))),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_llists_llist(TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)))),V_uu_0),s(TV_u_27a,V_h))),s(t_h4s_llists_llist(TV_u_27a),V_t))))))).
fof(ah4s_llists_llistu_u_absrepu_c1, axiom, ![TV_u_27a]: ![V_r]: (p(s(t_bool,h4s_llists_lrepu_u_ok(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_r)))) <=> s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),h4s_llists_llistu_u_rep(s(t_h4s_llists_llist(TV_u_27a),h4s_llists_llistu_u_abs(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_r))))) = s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_r))).
fof(ah4s_llists_lrepu_u_oku_u_def, axiom, ![TV_u_27a]: ![V_f]: (p(s(t_bool,h4s_llists_lrepu_u_ok(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_f)))) <=> ?[V_P]: (![V_g]: (p(s(t_bool,happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),t_bool),V_P),s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_g)))) => (![V_x]: s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_g),s(t_h4s_nums_num,V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) | ?[V_h, V_t]: (p(s(t_bool,happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),t_bool),V_P),s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_t)))) & ![V_x]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(t_h4s_nums_num,V_x) = s(t_h4s_nums_num,h4s_nums_0)) & s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_g),s(t_h4s_nums_num,V_x))) = s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_v),s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_h))),s(t_h4s_options_option(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_t),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_x),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))))))))))))) & p(s(t_bool,happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),t_bool),V_P),s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),V_f))))))).
fof(ah4s_arithmetics_SUBu_u_0u_c0, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,h4s_nums_0)).
fof(ah4s_llists_llistu_u_absrepu_c0, axiom, ![TV_u_27a]: ![V_a]: s(t_h4s_llists_llist(TV_u_27a),h4s_llists_llistu_u_abs(s(t_fun(t_h4s_nums_num,t_h4s_options_option(TV_u_27a)),h4s_llists_llistu_u_rep(s(t_h4s_llists_llist(TV_u_27a),V_a))))) = s(t_h4s_llists_llist(TV_u_27a),V_a)).
fof(ah4s_bools_LEFTu_u_ANDu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_Q, 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)))) & p(s(t_bool,V_Q))) <=> ![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) & p(s(t_bool,V_Q))))).
fof(ah4s_bools_RIGHTu_u_ANDu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_Q, V_P]: ((p(s(t_bool,V_P)) & ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) <=> ![V_x]: (p(s(t_bool,V_P)) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_sats_pthu_u_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => p(s(t_bool,V_p)))).
fof(ah4s_sats_pthu_u_no2, axiom, ![V_q, V_p]: (~ ((p(s(t_bool,V_p)) | p(s(t_bool,V_q)))) => ~ (p(s(t_bool,V_q))))).
fof(ch4s_llists_NOTu_u_LFINITEu_u_APPEND, conjecture, ![TV_u_27a]: ![V_ll2, V_ll1]: (~ (p(s(t_bool,h4s_llists_lfinite(s(t_h4s_llists_llist(TV_u_27a),V_ll1))))) => s(t_h4s_llists_llist(TV_u_27a),h4s_llists_lappend(s(t_h4s_llists_llist(TV_u_27a),V_ll1),s(t_h4s_llists_llist(TV_u_27a),V_ll2))) = s(t_h4s_llists_llist(TV_u_27a),V_ll1))).
