%   ORIGINAL: h4/path/build__pcomp__trace
% 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/EXISTS__DEF: $exists = (\P. P (h4/min/_40 P))
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% 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/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> T
% Assm: h4/bool/EQ__REFL: !x. x = x
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> 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/bool/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% 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/bool/RIGHT__FORALL__OR__THM: !Q P. (!x. P \/ Q x) <=> P \/ (!x. Q x)
% Assm: h4/bool/DE__MORGAN__THM_c1: !B A. ~(A \/ B) <=> ~A /\ ~B
% 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/bool/UNWIND__THM2: !a P. (?x. x = a /\ P x) <=> P a
% Assm: h4/bool/BOUNDED__THM: !v. h4/bool/BOUNDED v <=> T
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% 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__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% 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/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/sat/pth__ni1: !q p. ~(p ==> q) ==> p
% Assm: h4/sat/pth__ni2: !q p. ~(p ==> q) ==> ~q
% Assm: h4/sat/pth__no1: !q p. ~(p \/ q) ==> ~p
% Assm: h4/sat/pth__no2: !q p. ~(p \/ q) ==> ~q
% Assm: h4/sat/pth__nn: !p. ~ ~p ==> p
% Assm: h4/combin/C__DEF: h4/combin/C = (\f x y. f y x)
% Assm: h4/combin/o__DEF: !g f. h4/combin/o f g = (\x. f (g x))
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/combin/I__o__ID_c1: !f. h4/combin/o f h4/combin/I = f
% Assm: h4/option/option__nchotomy: !opt. opt = h4/option/NONE \/ (?x. opt = h4/option/SOME x)
% Assm: h4/option/option__case__def_c0: !v f. h4/option/option__CASE h4/option/NONE v f = v
% Assm: h4/option/option__case__def_c1: !x v f. h4/option/option__CASE (h4/option/SOME x) v f = f x
% Assm: h4/option/SOME__11: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm: h4/option/NOT__NONE__SOME: !x. ~(h4/option/NONE = h4/option/SOME x)
% 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/option/OPTION__MAP__DEF_c1: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm: h4/option/IF__EQUALS__OPTION_c1: !x P. h4/bool/COND P h4/option/NONE (h4/option/SOME x) = h4/option/NONE <=> P
% Assm: h4/option/IF__EQUALS__OPTION_c3: !y x P. h4/bool/COND P h4/option/NONE (h4/option/SOME x) = h4/option/SOME y <=> ~P /\ x = y
% Assm: h4/pair/CLOSED__PAIR__EQ: !y x b a. h4/pair/_2C x y = h4/pair/_2C a b <=> x = a /\ y = b
% Assm: h4/pair/ABS__PAIR__THM: !x. ?q r. x = h4/pair/_2C q r
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/pair/SND0: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm: h4/pair/UNCURRY__DEF: !y x f. h4/pair/UNCURRY f (h4/pair/_2C x y) = f x y
% Assm: h4/pair/pair__case__thm: !y x f. h4/pair/pair__CASE (h4/pair/_2C x y) f = f x y
% Assm: h4/llist/LHD__THM_c0: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm: h4/llist/LHD__THM_c1: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm: h4/llist/LTL__THM_c0: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm: h4/llist/LTL__THM_c1: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm: h4/llist/LCONS__NOT__NIL_c0: !t h. ~(h4/llist/LCONS h t = h4/llist/LNIL)
% 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/llist/llist__Axiom__1: !f. ?g. !x. g x = h4/option/option__CASE (f x) h4/llist/LNIL (\v. h4/pair/pair__CASE v (\a b. h4/llist/LCONS b (g a)))
% Assm: h4/llist/LUNFOLD__EQ: !s ll f R. R s ll /\ (!s0 ll0. R s0 ll0 ==> f s0 = h4/option/NONE /\ ll0 = h4/llist/LNIL \/ (?s_27 x ll_27. f s0 = h4/option/SOME (h4/pair/_2C s_27 x) /\ h4/llist/LHD ll0 = h4/option/SOME x /\ h4/llist/LTL ll0 = h4/option/SOME ll_27 /\ R s_27 ll_27)) ==> h4/llist/LUNFOLD f s = ll
% Assm: h4/path/path__rep__bijections__thm_c1: !r. h4/path/fromPath (h4/path/toPath r) = r
% Assm: h4/path/toPath__11: !r_27 r. h4/path/toPath r = h4/path/toPath r_27 <=> r = r_27
% Assm: h4/path/first__def: !p. h4/path/first p = h4/pair/FST (h4/path/fromPath p)
% Assm: h4/path/stopped__at__def: !x. h4/path/stopped__at x = h4/path/toPath (h4/pair/_2C x h4/llist/LNIL)
% Assm: h4/path/pcons__def: !x r p. h4/path/pcons x r p = h4/path/toPath (h4/pair/_2C x (h4/llist/LCONS (h4/pair/_2C r (h4/path/first p)) (h4/pair/SND (h4/path/fromPath p))))
% Assm: h4/path/path__cases: !p. (?x. p = h4/path/stopped__at x) \/ (?x r q. p = h4/path/pcons x r q)
% Assm: h4/path/first__thm_c0: !x. h4/path/first (h4/path/stopped__at x) = x
% Assm: h4/path/first__thm_c1: !x r p. h4/path/first (h4/path/pcons x r p) = x
% Assm: h4/path/tail__def: !x r p. h4/path/tail (h4/path/pcons x r p) = p
% Assm: h4/path/first__label__def: !x r p. h4/path/first__label (h4/path/pcons x r p) = r
% Assm: h4/path/labels__def_c0: !x. h4/path/labels (h4/path/stopped__at x) = h4/llist/LNIL
% Assm: h4/path/labels__def_c1: !x r p. h4/path/labels (h4/path/pcons x r p) = h4/llist/LCONS r (h4/path/labels p)
% Assm: h4/path/is__stopped__def: !p. h4/path/is__stopped p <=> (?x. p = h4/path/stopped__at x)
% Assm: h4/path/is__stopped__thm_c0: !x. h4/path/is__stopped (h4/path/stopped__at x) <=> T
% Assm: h4/path/is__stopped__thm_c1: !x r p. h4/path/is__stopped (h4/path/pcons x r p) <=> F
% Assm: h4/path/okpath__thm_c1: !x r p R. h4/path/okpath R (h4/path/pcons x r p) <=> R x r (h4/path/first p) /\ h4/path/okpath R p
% Assm: h4/path/unfold__def: !s proj f. h4/path/unfold proj f s = h4/path/toPath (h4/pair/_2C (proj s) (h4/llist/LUNFOLD (\s0. h4/option/OPTION__MAP (h4/pair/UNCURRY (\next__s lbl. h4/pair/_2C next__s (h4/pair/_2C lbl (proj next__s)))) (f s0)) s))
% Assm: h4/path/labels__unfold: !s proj f. h4/path/labels (h4/path/unfold proj f s) = h4/llist/LUNFOLD f s
% Assm: h4/path/okpath__unfold: !s proj m f P. P s /\ (!s0 s_27 l. P s0 /\ f s0 = h4/option/SOME (h4/pair/_2C s_27 l) ==> P s_27) /\ (!s0 s_27 l. P s0 /\ f s0 = h4/option/SOME (h4/pair/_2C s_27 l) ==> m (proj s0) l (proj s_27)) ==> h4/path/okpath m (h4/path/unfold proj f s)
% Assm: h4/path/parallel__comp__def: !s2_27 s2 s1_27 s1 m2 m1 l. h4/path/parallel__comp m1 m2 (h4/pair/_2C s1 s2) l (h4/pair/_2C s1_27 s2_27) <=> m1 s1 l s1_27 /\ m2 s2 l s2_27
% Goal: !p2 p1 m2 m1. h4/path/okpath m1 p1 /\ h4/path/okpath m2 p2 /\ h4/path/labels p1 = h4/path/labels p2 ==> (?p. h4/path/okpath (h4/path/parallel__comp m1 m2) p /\ h4/path/labels p = h4/path/labels p1 /\ h4/path/first p = h4/pair/_2C (h4/path/first p1) (h4/path/first p2))
%   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_EXISTSu_u_DEF]: !x. $exists x <=> happ x (h4/min/_40 x)
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% 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_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~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_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !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_REFL]: !x. x = x
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> 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_bools_FORALLu_u_ANDu_u_THM]: !Q P. (!x. happ P x /\ happ Q x) <=> (!x. happ P x) /\ (!x. happ Q x)
% 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_bools_RIGHTu_u_FORALLu_u_ORu_u_THM]: !Q P. (!x. P \/ happ Q x) <=> P \/ (!x. happ Q x)
% Assm [h4s_bools_DEu_u_MORGANu_u_THMu_c1]: !B A. ~(A \/ B) <=> ~A /\ ~B
% 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_bools_UNWINDu_u_THM2]: !a P. (?x. x = a /\ happ P x) <=> happ P a
% Assm [h4s_bools_BOUNDEDu_u_THM]: !v. h4/bool/BOUNDED v <=> T
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% 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_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% 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_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_sats_pthu_u_ni1]: !q p. ~(p ==> q) ==> p
% Assm [h4s_sats_pthu_u_ni2]: !q p. ~(p ==> q) ==> ~q
% Assm [h4s_sats_pthu_u_no1]: !q p. ~(p \/ q) ==> ~p
% Assm [h4s_sats_pthu_u_no2]: !q p. ~(p \/ q) ==> ~q
% Assm [h4s_sats_pthu_u_nn]: !p. ~ ~p ==> p
% Assm [h4s_combins_Cu_u_DEF]: !x x x. h4/combin/C x x x = happ (happ x x) x
% Assm [h4s_combins_ou_u_DEF]: !g f x. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_combins_Iu_u_THM]: !x. happ h4/combin/I x = x
% Assm [h4s_combins_Iu_u_ou_u_IDu_c1]: !f. h4/combin/o f h4/combin/I = f
% Assm [h4s_options_optionu_u_nchotomy]: !opt. opt = h4/option/NONE \/ (?x. opt = h4/option/SOME x)
% Assm [h4s_options_optionu_u_caseu_u_defu_c0]: !v f. h4/option/option__CASE h4/option/NONE v f = v
% Assm [h4s_options_optionu_u_caseu_u_defu_c1]: !x v f. h4/option/option__CASE (h4/option/SOME x) v f = happ f x
% Assm [h4s_options_SOMEu_u_11]: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm [h4s_options_NOTu_u_NONEu_u_SOME]: !x. ~(h4/option/NONE = h4/option/SOME x)
% 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_options_OPTIONu_u_MAPu_u_DEFu_c1]: !f. h4/option/OPTION__MAP f h4/option/NONE = h4/option/NONE
% Assm [h4s_options_IFu_u_EQUALSu_u_OPTIONu_c1]: !x P. h4/bool/COND P h4/option/NONE (h4/option/SOME x) = h4/option/NONE <=> P
% Assm [h4s_options_IFu_u_EQUALSu_u_OPTIONu_c3]: !y x P. h4/bool/COND P h4/option/NONE (h4/option/SOME x) = h4/option/SOME y <=> ~P /\ x = y
% Assm [h4s_pairs_CLOSEDu_u_PAIRu_u_EQ]: !y x b a. h4/pair/_2C x y = h4/pair/_2C a b <=> x = a /\ y = b
% Assm [h4s_pairs_ABSu_u_PAIRu_u_THM]: !x. ?q r. x = h4/pair/_2C q r
% Assm [h4s_pairs_FST0]: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_pairs_SND0]: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm [h4s_pairs_UNCURRYu_u_DEF]: !y x f. happ (h4/pair/UNCURRY f) (h4/pair/_2C x y) = happ (happ f x) y
% Assm [h4s_pairs_pairu_u_caseu_u_thm]: !y x f. h4/pair/pair__CASE (h4/pair/_2C x y) f = happ (happ f x) y
% Assm [h4s_llists_LHDu_u_THMu_c0]: h4/llist/LHD h4/llist/LNIL = h4/option/NONE
% Assm [h4s_llists_LHDu_u_THMu_c1]: !t h. h4/llist/LHD (h4/llist/LCONS h t) = h4/option/SOME h
% Assm [h4s_llists_LTLu_u_THMu_c0]: h4/llist/LTL h4/llist/LNIL = h4/option/NONE
% Assm [h4s_llists_LTLu_u_THMu_c1]: !t h. h4/llist/LTL (h4/llist/LCONS h t) = h4/option/SOME t
% Assm [h4s_llists_LCONSu_u_NOTu_u_NILu_c0]: !t h. ~(h4/llist/LCONS h t = h4/llist/LNIL)
% 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_llists_llistu_u_Axiomu_u_1]: !_2. (!g a b. happ (happ (happ _2 g) a) b = h4/llist/LCONS b (happ g a)) ==> (!_1. (!g a. happ (happ _1 g) a = happ (happ _2 g) a) ==> (!_0. (!g v. happ (happ _0 g) v = h4/pair/pair__CASE v (happ _1 g)) ==> (!f. ?g. !x. happ g x = h4/option/option__CASE (happ f x) h4/llist/LNIL (happ _0 g))))
% Assm [h4s_llists_LUNFOLDu_u_EQ]: !s ll f R. happ (happ R s) ll /\ (!s0 ll0. happ (happ R s0) ll0 ==> happ f s0 = h4/option/NONE /\ ll0 = h4/llist/LNIL \/ (?s_27 x ll_27. happ f s0 = h4/option/SOME (h4/pair/_2C s_27 x) /\ h4/llist/LHD ll0 = h4/option/SOME x /\ h4/llist/LTL ll0 = h4/option/SOME ll_27 /\ happ (happ R s_27) ll_27)) ==> h4/llist/LUNFOLD f s = ll
% Assm [h4s_paths_pathu_u_repu_u_bijectionsu_u_thmu_c1]: !r. h4/path/fromPath (h4/path/toPath r) = r
% Assm [h4s_paths_toPathu_u_11]: !r_27 r. h4/path/toPath r = h4/path/toPath r_27 <=> r = r_27
% Assm [h4s_paths_firstu_u_def]: !p. h4/path/first p = h4/pair/FST (h4/path/fromPath p)
% Assm [h4s_paths_stoppedu_u_atu_u_def]: !x. h4/path/stopped__at x = h4/path/toPath (h4/pair/_2C x h4/llist/LNIL)
% Assm [h4s_paths_pconsu_u_def]: !x r p. h4/path/pcons x r p = h4/path/toPath (h4/pair/_2C x (h4/llist/LCONS (h4/pair/_2C r (h4/path/first p)) (h4/pair/SND (h4/path/fromPath p))))
% Assm [h4s_paths_pathu_u_cases]: !p. (?x. p = h4/path/stopped__at x) \/ (?x r q. p = h4/path/pcons x r q)
% Assm [h4s_paths_firstu_u_thmu_c0]: !x. h4/path/first (h4/path/stopped__at x) = x
% Assm [h4s_paths_firstu_u_thmu_c1]: !x r p. h4/path/first (h4/path/pcons x r p) = x
% Assm [h4s_paths_tailu_u_def]: !x r p. h4/path/tail (h4/path/pcons x r p) = p
% Assm [h4s_paths_firstu_u_labelu_u_def]: !x r p. h4/path/first__label (h4/path/pcons x r p) = r
% Assm [h4s_paths_labelsu_u_defu_c0]: !x. h4/path/labels (h4/path/stopped__at x) = h4/llist/LNIL
% Assm [h4s_paths_labelsu_u_defu_c1]: !x r p. h4/path/labels (h4/path/pcons x r p) = h4/llist/LCONS r (h4/path/labels p)
% Assm [h4s_paths_isu_u_stoppedu_u_def]: !p. h4/path/is__stopped p <=> (?x. p = h4/path/stopped__at x)
% Assm [h4s_paths_isu_u_stoppedu_u_thmu_c0]: !x. h4/path/is__stopped (h4/path/stopped__at x) <=> T
% Assm [h4s_paths_isu_u_stoppedu_u_thmu_c1]: !x r p. h4/path/is__stopped (h4/path/pcons x r p) <=> F
% Assm [h4s_paths_okpathu_u_thmu_c1]: !x r p R. h4/path/okpath R (h4/path/pcons x r p) <=> happ (happ (happ R x) r) (h4/path/first p) /\ h4/path/okpath R p
% Assm [h4s_paths_unfoldu_u_def]: !_2. (!proj next__s lbl. happ (happ (happ _2 proj) next__s) lbl = h4/pair/_2C next__s (h4/pair/_2C lbl (happ proj next__s))) ==> (!_1. (!proj next__s. happ (happ _1 proj) next__s = happ (happ _2 proj) next__s) ==> (!_0. (!proj f s0. happ (happ (happ _0 proj) f) s0 = h4/option/OPTION__MAP (h4/pair/UNCURRY (happ _1 proj)) (happ f s0)) ==> (!s proj f. h4/path/unfold proj f s = h4/path/toPath (h4/pair/_2C (happ proj s) (h4/llist/LUNFOLD (happ (happ _0 proj) f) s)))))
% Assm [h4s_paths_labelsu_u_unfold]: !s proj f. h4/path/labels (h4/path/unfold proj f s) = h4/llist/LUNFOLD f s
% Assm [h4s_paths_okpathu_u_unfold]: !s proj m f P. happ P s /\ (!s0 s_27 l. happ P s0 /\ happ f s0 = h4/option/SOME (h4/pair/_2C s_27 l) ==> happ P s_27) /\ (!s0 s_27 l. happ P s0 /\ happ f s0 = h4/option/SOME (h4/pair/_2C s_27 l) ==> happ (happ (happ m (happ proj s0)) l) (happ proj s_27)) ==> h4/path/okpath m (h4/path/unfold proj f s)
% Assm [h4s_paths_parallelu_u_compu_u_def]: !s2_27 s2 s1_27 s1 m2 m1 l. happ (happ (happ (h4/path/parallel__comp m1 m2) (h4/pair/_2C s1 s2)) l) (h4/pair/_2C s1_27 s2_27) <=> happ (happ (happ m1 s1) l) s1_27 /\ happ (happ (happ m2 s2) l) s2_27
% Goal: !p2 p1 m2 m1. h4/path/okpath m1 p1 /\ h4/path/okpath m2 p2 /\ h4/path/labels p1 = h4/path/labels p2 ==> (?p. h4/path/okpath (h4/path/parallel__comp m1 m2) p /\ h4/path/labels p = h4/path/labels p1 /\ h4/path/first p = h4/pair/_2C (h4/path/first p1) (h4/path/first p2))
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_Q143885,TV_Q143881]: ![V_f, V_g]: (![V_x]: s(TV_Q143881,happ(s(t_fun(TV_Q143885,TV_Q143881),V_f),s(TV_Q143885,V_x))) = s(TV_Q143881,happ(s(t_fun(TV_Q143885,TV_Q143881),V_g),s(TV_Q143885,V_x))) => s(t_fun(TV_Q143885,TV_Q143881),V_f) = s(t_fun(TV_Q143885,TV_Q143881),V_g))).
fof(ah4s_bools_EXISTSu_u_DEF, axiom, ![TV_u_27a]: ![V_x]: s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_x))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x),s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),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_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_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_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (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_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_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_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_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_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_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_REFL, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,V_x) = s(TV_u_27a,V_x)).
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_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_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_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_bools_FORALLu_u_ANDu_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,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_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_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_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_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_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_bools_BOUNDEDu_u_THM, axiom, ![V_v]: s(t_bool,h4s_bools_bounded(s(t_bool,V_v))) = s(t_bool,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_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_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_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_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_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_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_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_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_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_no1, 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_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(ah4s_sats_pthu_u_nn, axiom, ![V_p]: (~ (~ (p(s(t_bool,V_p)))) => p(s(t_bool,V_p)))).
fof(ah4s_combins_Cu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_x, V_x0, V_x1]: s(TV_u_27c,h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27b,V_x0),s(TV_u_27a,V_x1))) = 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_x),s(TV_u_27a,V_x1))),s(TV_u_27b,V_x0)))).
fof(ah4s_combins_ou_u_DEF, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_g, V_f, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27c),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),V_f),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x)))))).
fof(ah4s_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i),s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_combins_Iu_u_ou_u_IDu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i))) = s(t_fun(TV_u_27a,TV_u_27b),V_f)).
fof(ah4s_options_optionu_u_nchotomy, axiom, ![TV_u_27a]: ![V_opt]: (s(t_h4s_options_option(TV_u_27a),V_opt) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) | ?[V_x]: s(t_h4s_options_option(TV_u_27a),V_opt) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))))).
fof(ah4s_options_optionu_u_caseu_u_defu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_v, V_f]: s(TV_u_27b,h4s_options_optionu_u_case(s(t_h4s_options_option(TV_u_27a),h4s_options_none),s(TV_u_27b,V_v),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(TV_u_27b,V_v)).
fof(ah4s_options_optionu_u_caseu_u_defu_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_v, V_f]: s(TV_u_27b,h4s_options_optionu_u_case(s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x))),s(TV_u_27b,V_v),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))).
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_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_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_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_options_IFu_u_EQUALSu_u_OPTIONu_c1, axiom, ![TV_u_27a]: ![V_x, V_P]: (s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_P),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))))) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) <=> p(s(t_bool,V_P)))).
fof(ah4s_options_IFu_u_EQUALSu_u_OPTIONu_c3, axiom, ![TV_u_27a]: ![V_y, V_x, V_P]: (s(t_h4s_options_option(TV_u_27a),h4s_bools_cond(s(t_bool,V_P),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))))) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_y))) <=> (~ (p(s(t_bool,V_P))) & s(TV_u_27a,V_x) = s(TV_u_27a,V_y)))).
fof(ah4s_pairs_CLOSEDu_u_PAIRu_u_EQ, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_b, V_a]: (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(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_a),s(TV_u_27b,V_b))) <=> (s(TV_u_27a,V_x) = s(TV_u_27a,V_a) & s(TV_u_27b,V_y) = s(TV_u_27b,V_b)))).
fof(ah4s_pairs_ABSu_u_PAIRu_u_THM, axiom, ![TV_u_27a,TV_u_27b]: ![V_x]: ?[V_q, V_r]: s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_x) = s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_q),s(TV_u_27b,V_r)))).
fof(ah4s_pairs_FST0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(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_pairs_SND0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: s(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_UNCURRYu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_y, V_x, V_f]: s(TV_u_27c,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),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_pairu_u_caseu_u_thm, axiom, ![TV_u_27a,TV_u_27b,TV_u_27c]: ![V_y, V_x, V_f]: s(TV_u_27a,h4s_pairs_pairu_u_case(s(t_h4s_pairs_prod(TV_u_27b,TV_u_27c),h4s_pairs_u_2c(s(TV_u_27b,V_x),s(TV_u_27c,V_y))),s(t_fun(TV_u_27b,t_fun(TV_u_27c,TV_u_27a)),V_f))) = s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27c,TV_u_27a)),V_f),s(TV_u_27b,V_x))),s(TV_u_27c,V_y)))).
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_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_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_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_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_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_llists_llistu_u_Axiomu_u_1, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_2]: (![V_g, V_a, V_b]: s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_2),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))),s(TV_u_27b,V_b))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_b),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_a))))) => ![V_uu_1]: (![V_g, V_a]: s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_1),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))) = s(t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_2),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(TV_u_27a,V_a))) => ![V_uu_0]: (![V_g, V_v]: s(t_h4s_llists_llist(TV_u_27b),happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b))),V_uu_0),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v))) = s(t_h4s_llists_llist(TV_u_27b),h4s_pairs_pairu_u_case(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b))),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(TV_u_27a,t_fun(TV_u_27b,t_h4s_llists_llist(TV_u_27b)))),V_uu_1),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))))) => ![V_f]: ?[V_g]: ![V_x]: 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_llists_llist(TV_u_27b),h4s_options_optionu_u_case(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))),s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lnil),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b)),happ(s(t_fun(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_h4s_llists_llist(TV_u_27b))),V_uu_0),s(t_fun(TV_u_27a,t_h4s_llists_llist(TV_u_27b)),V_g))))))))).
fof(ah4s_llists_LUNFOLDu_u_EQ, axiom, ![TV_u_27a,TV_u_27b]: ![V_s, V_ll, V_f, V_R]: ((p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27b),t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_llists_llist(TV_u_27b),t_bool)),V_R),s(TV_u_27a,V_s))),s(t_h4s_llists_llist(TV_u_27b),V_ll)))) & ![V_s0, V_ll0]: (p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27b),t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_llists_llist(TV_u_27b),t_bool)),V_R),s(TV_u_27a,V_s0))),s(t_h4s_llists_llist(TV_u_27b),V_ll0)))) => ((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_s0))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),h4s_options_none) & s(t_h4s_llists_llist(TV_u_27b),V_ll0) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lnil)) | ?[V_su_27, V_x, V_llu_27]: (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_s0))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),h4s_options_some(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_su_27),s(TV_u_27b,V_x))))) & (s(t_h4s_options_option(TV_u_27b),h4s_llists_lhd(s(t_h4s_llists_llist(TV_u_27b),V_ll0))) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,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),V_ll0))) = s(t_h4s_options_option(t_h4s_llists_llist(TV_u_27b)),h4s_options_some(s(t_h4s_llists_llist(TV_u_27b),V_llu_27))) & p(s(t_bool,happ(s(t_fun(t_h4s_llists_llist(TV_u_27b),t_bool),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_llists_llist(TV_u_27b),t_bool)),V_R),s(TV_u_27a,V_su_27))),s(t_h4s_llists_llist(TV_u_27b),V_llu_27)))))))))) => s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lunfold(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_s))) = s(t_h4s_llists_llist(TV_u_27b),V_ll))).
fof(ah4s_paths_pathu_u_repu_u_bijectionsu_u_thmu_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_r]: s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_paths_frompath(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_r))))) = s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_r)).
fof(ah4s_paths_toPathu_u_11, axiom, ![TV_u_27b,TV_u_27a]: ![V_ru_27, V_r]: (s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_r))) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_ru_27))) <=> s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_r) = s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),V_ru_27))).
fof(ah4s_paths_firstu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_p]: s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))) = s(TV_u_27a,h4s_pairs_fst(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_paths_frompath(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))))).
fof(ah4s_paths_stoppedu_u_atu_u_def, axiom, ![TV_u_27b,TV_u_27a]: ![V_x]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),h4s_llists_lnil)))))).
fof(ah4s_paths_pconsu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_p]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),h4s_llists_lcons(s(t_h4s_pairs_prod(TV_u_27b,TV_u_27a),h4s_pairs_u_2c(s(TV_u_27b,V_r),s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))),s(t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),h4s_pairs_snd(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_paths_frompath(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))))))))))).
fof(ah4s_paths_pathu_u_cases, axiom, ![TV_u_27a,TV_u_27b]: ![V_p]: (?[V_x]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))) | ?[V_x, V_r, V_q]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_q))))).
fof(ah4s_paths_firstu_u_thmu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_x]: s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))))) = s(TV_u_27a,V_x)).
fof(ah4s_paths_firstu_u_thmu_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_r, V_p]: s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))) = s(TV_u_27a,V_x)).
fof(ah4s_paths_tailu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_p]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_tail(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)).
fof(ah4s_paths_firstu_u_labelu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_p]: s(TV_u_27b,h4s_paths_firstu_u_label(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))) = s(TV_u_27b,V_r)).
fof(ah4s_paths_labelsu_u_defu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_x]: s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lnil)).
fof(ah4s_paths_labelsu_u_defu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_p]: s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))) = s(t_h4s_llists_llist(TV_u_27b),h4s_llists_lcons(s(TV_u_27b,V_r),s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))))).
fof(ah4s_paths_isu_u_stoppedu_u_def, axiom, ![TV_u_27b,TV_u_27a]: ![V_p]: (p(s(t_bool,h4s_paths_isu_u_stopped(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))) <=> ?[V_x]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))))).
fof(ah4s_paths_isu_u_stoppedu_u_thmu_c0, axiom, ![TV_u_27b,TV_u_27a]: ![V_x]: s(t_bool,h4s_paths_isu_u_stopped(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_stoppedu_u_at(s(TV_u_27a,V_x))))) = s(t_bool,t)).
fof(ah4s_paths_isu_u_stoppedu_u_thmu_c1, axiom, ![TV_u_27c,TV_u_27d]: ![V_x, V_r, V_p]: s(t_bool,h4s_paths_isu_u_stopped(s(t_h4s_paths_path(TV_u_27c,TV_u_27d),h4s_paths_pcons(s(TV_u_27c,V_x),s(TV_u_27d,V_r),s(t_h4s_paths_path(TV_u_27c,TV_u_27d),V_p))))) = s(t_bool,f)).
fof(ah4s_paths_okpathu_u_thmu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_p, V_R]: (p(s(t_bool,h4s_paths_okpath(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_R),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_pcons(s(TV_u_27a,V_x),s(TV_u_27b,V_r),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_r))),s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p)))))) & p(s(t_bool,h4s_paths_okpath(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_R),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p))))))).
fof(ah4s_paths_unfoldu_u_def, axiom, ![TV_u_27a,TV_u_27b,TV_u_27c]: ![V_uu_2]: (![V_proj, V_nextu_u_s, V_lbl]: s(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),happ(s(t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),happ(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),V_uu_2),s(t_fun(TV_u_27c,TV_u_27a),V_proj))),s(TV_u_27c,V_nextu_u_s))),s(TV_u_27b,V_lbl))) = s(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),h4s_pairs_u_2c(s(TV_u_27c,V_nextu_u_s),s(t_h4s_pairs_prod(TV_u_27b,TV_u_27a),h4s_pairs_u_2c(s(TV_u_27b,V_lbl),s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),V_proj),s(TV_u_27c,V_nextu_u_s))))))) => ![V_uu_1]: (![V_proj, V_nextu_u_s]: s(t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),happ(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),V_uu_1),s(t_fun(TV_u_27c,TV_u_27a),V_proj))),s(TV_u_27c,V_nextu_u_s))) = s(t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),happ(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),V_uu_2),s(t_fun(TV_u_27c,TV_u_27a),V_proj))),s(TV_u_27c,V_nextu_u_s))) => ![V_uu_0]: (![V_proj, V_f, V_s0]: s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),happ(s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))))),V_uu_0),s(t_fun(TV_u_27c,TV_u_27a),V_proj))),s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),V_f))),s(TV_u_27c,V_s0))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_options_optionu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27c,TV_u_27b),t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_pairs_uncurry(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(TV_u_27c,t_fun(TV_u_27b,t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),V_uu_1),s(t_fun(TV_u_27c,TV_u_27a),V_proj))))),s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b)),happ(s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),V_f),s(TV_u_27c,V_s0))))) => ![V_s, V_proj, V_f]: s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_unfold(s(t_fun(TV_u_27c,TV_u_27a),V_proj),s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),V_f),s(TV_u_27c,V_s))) = s(t_h4s_paths_path(TV_u_27a,TV_u_27b),h4s_paths_topath(s(t_h4s_pairs_prod(TV_u_27a,t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a))),h4s_pairs_u_2c(s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),V_proj),s(TV_u_27c,V_s))),s(t_h4s_llists_llist(t_h4s_pairs_prod(TV_u_27b,TV_u_27a)),h4s_llists_lunfold(s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))),happ(s(t_fun(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a))))),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27a),t_fun(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,t_h4s_pairs_prod(TV_u_27b,TV_u_27a)))))),V_uu_0),s(t_fun(TV_u_27c,TV_u_27a),V_proj))),s(t_fun(TV_u_27c,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27c,TV_u_27b))),V_f))),s(TV_u_27c,V_s))))))))))).
fof(ah4s_paths_labelsu_u_unfold, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_s, V_proj, V_f]: s(t_h4s_llists_llist(TV_u_27c),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27b,TV_u_27c),h4s_paths_unfold(s(t_fun(TV_u_27a,TV_u_27b),V_proj),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c))),V_f),s(TV_u_27a,V_s))))) = s(t_h4s_llists_llist(TV_u_27c),h4s_llists_lunfold(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c))),V_f),s(TV_u_27a,V_s)))).
fof(ah4s_paths_okpathu_u_unfold, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_s, V_proj, V_m, V_f, V_P]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_s)))) & (![V_s0, V_su_27, V_l]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_s0)))) & s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c))),V_f),s(TV_u_27a,V_s0))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c)),h4s_options_some(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),h4s_pairs_u_2c(s(TV_u_27a,V_su_27),s(TV_u_27c,V_l)))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_su_27))))) & ![V_s0, V_su_27, V_l]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_s0)))) & s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c)),happ(s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c))),V_f),s(TV_u_27a,V_s0))) = s(t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c)),h4s_options_some(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),h4s_pairs_u_2c(s(TV_u_27a,V_su_27),s(TV_u_27c,V_l)))))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_bool)),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27c,t_fun(TV_u_27b,t_bool))),V_m),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_proj),s(TV_u_27a,V_s0))))),s(TV_u_27c,V_l))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_proj),s(TV_u_27a,V_su_27))))))))) => p(s(t_bool,h4s_paths_okpath(s(t_fun(TV_u_27b,t_fun(TV_u_27c,t_fun(TV_u_27b,t_bool))),V_m),s(t_h4s_paths_path(TV_u_27b,TV_u_27c),h4s_paths_unfold(s(t_fun(TV_u_27a,TV_u_27b),V_proj),s(t_fun(TV_u_27a,t_h4s_options_option(t_h4s_pairs_prod(TV_u_27a,TV_u_27c))),V_f),s(TV_u_27a,V_s)))))))).
fof(ah4s_paths_parallelu_u_compu_u_def, axiom, ![TV_u_27a,TV_u_27c,TV_u_27d,TV_u_27b,TV_u_27e]: ![V_s2u_27, V_s2, V_s1u_27, V_s1, V_m2, V_m1, V_l]: (p(s(t_bool,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27c,TV_u_27e),t_bool),happ(s(t_fun(TV_u_27b,t_fun(t_h4s_pairs_prod(TV_u_27c,TV_u_27e),t_bool)),happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27d),t_fun(TV_u_27b,t_fun(t_h4s_pairs_prod(TV_u_27c,TV_u_27e),t_bool))),h4s_paths_parallelu_u_comp(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27c,t_bool))),V_m1),s(t_fun(TV_u_27d,t_fun(TV_u_27b,t_fun(TV_u_27e,t_bool))),V_m2))),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27d),h4s_pairs_u_2c(s(TV_u_27a,V_s1),s(TV_u_27d,V_s2))))),s(TV_u_27b,V_l))),s(t_h4s_pairs_prod(TV_u_27c,TV_u_27e),h4s_pairs_u_2c(s(TV_u_27c,V_s1u_27),s(TV_u_27e,V_s2u_27)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27c,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27c,t_bool)),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27c,t_bool))),V_m1),s(TV_u_27a,V_s1))),s(TV_u_27b,V_l))),s(TV_u_27c,V_s1u_27)))) & p(s(t_bool,happ(s(t_fun(TV_u_27e,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27e,t_bool)),happ(s(t_fun(TV_u_27d,t_fun(TV_u_27b,t_fun(TV_u_27e,t_bool))),V_m2),s(TV_u_27d,V_s2))),s(TV_u_27b,V_l))),s(TV_u_27e,V_s2u_27))))))).
fof(ch4s_paths_buildu_u_pcompu_u_trace, conjecture, ![TV_u_27a,TV_u_27c,TV_u_27b]: ![V_p2, V_p1, V_m2, V_m1]: ((p(s(t_bool,h4s_paths_okpath(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_m1),s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p1)))) & (p(s(t_bool,h4s_paths_okpath(s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_fun(TV_u_27c,t_bool))),V_m2),s(t_h4s_paths_path(TV_u_27c,TV_u_27b),V_p2)))) & s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p1))) = s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27c,TV_u_27b),V_p2))))) => ?[V_p]: (p(s(t_bool,h4s_paths_okpath(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),t_fun(TV_u_27b,t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),t_bool))),h4s_paths_parallelu_u_comp(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool))),V_m1),s(t_fun(TV_u_27c,t_fun(TV_u_27b,t_fun(TV_u_27c,t_bool))),V_m2))),s(t_h4s_paths_path(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),TV_u_27b),V_p)))) & (s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),TV_u_27b),V_p))) = s(t_h4s_llists_llist(TV_u_27b),h4s_paths_labels(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p1))) & s(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),h4s_paths_first(s(t_h4s_paths_path(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),TV_u_27b),V_p))) = s(t_h4s_pairs_prod(TV_u_27a,TV_u_27c),h4s_pairs_u_2c(s(TV_u_27a,h4s_paths_first(s(t_h4s_paths_path(TV_u_27a,TV_u_27b),V_p1))),s(TV_u_27c,h4s_paths_first(s(t_h4s_paths_path(TV_u_27c,TV_u_27b),V_p2))))))))).
