%   ORIGINAL: h4/fixedPoint/fnsum__COMM
% 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/fixedPoint/fnsum__ASSOC: !h g f. h4/fixedPoint/fnsum f (h4/fixedPoint/fnsum g h) = h4/fixedPoint/fnsum (h4/fixedPoint/fnsum f g) h
% Assm: h4/fixedPoint/fnsum__def: !f2 f1 X. h4/fixedPoint/fnsum f1 f2 X = h4/pred__set/UNION (f1 X) (f2 X)
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/pred__set/UNION__ASSOC: !u t s. h4/pred__set/UNION s (h4/pred__set/UNION t u) = h4/pred__set/UNION (h4/pred__set/UNION s t) u
% Assm: h4/fixedPoint/fnsum__empty_c0: !f. h4/fixedPoint/fnsum f h4/fixedPoint/empty = f
% Assm: h4/fixedPoint/fnsum__empty_c1: !f. h4/fixedPoint/fnsum h4/fixedPoint/empty f = f
% Assm: h4/bool/FUN__EQ__THM: !g f. f = g <=> (!x. f x = g x)
% Assm: h4/fixedPoint/fnsum__monotone: !f2 f1. h4/fixedPoint/monotone f1 /\ h4/fixedPoint/monotone f2 ==> h4/fixedPoint/monotone (h4/fixedPoint/fnsum f1 f2)
% Assm: h4/fixedPoint/empty__def: h4/fixedPoint/empty = (\X. h4/pred__set/EMPTY)
% Assm: h4/pred__set/UNION__EMPTY_c1: !s. h4/pred__set/UNION s h4/pred__set/EMPTY = s
% Assm: h4/pred__set/UNION__EMPTY_c0: !s. h4/pred__set/UNION h4/pred__set/EMPTY s = s
% Assm: h4/bool/SWAP__EXISTS__THM: !P. (?x y. P x y) <=> (?y x. P x y)
% Assm: h4/relation/RDOM__DEF: !x R. h4/relation/RDOM R x <=> (?y. R x y)
% Assm: h4/pair/prod__TY__DEF: ?rep. h4/bool/TYPE__DEFINITION (\p. ?x y. p = (\a b. a = x /\ b = y)) rep
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/IN__DEF: h4/bool/IN = (\x f. f x)
% Assm: h4/relation/RSUBSET0: !R2 R1. h4/relation/RSUBSET R1 R2 <=> (!x y. R1 x y ==> R2 x y)
% Assm: h4/relation/RUNION0: !y x R2 R1. h4/relation/RUNION R1 R2 x y <=> R1 x y \/ R2 x y
% Assm: h4/relation/RRANGE0: !y R. h4/relation/RRANGE R y <=> (?x. R x y)
% Assm: h4/relation/O__DEF: !z x R2 R1. h4/relation/O R1 R2 x z <=> (?y. R2 x y /\ R1 y z)
% 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/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% 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__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% 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__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/NOT__CLAUSES_c0: !t. ~ ~t <=> t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/bool/IMP__F: !t. (t ==> F) ==> ~t
% Assm: h4/sat/dc__disj: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm: h4/relation/WeakOrder__EQ: !R. h4/relation/WeakOrder R ==> (!y z. y = z <=> R y z /\ R z y)
% Assm: h4/relation/RSUBSET__WeakOrder: h4/relation/WeakOrder h4/relation/RSUBSET
% Assm: h4/relation/RINTER0: !y x R2 R1. h4/relation/RINTER R1 R2 x y <=> R1 x y /\ R2 x y
% Assm: h4/option/OPTREL__def: !y x R. h4/option/OPTREL R x y <=> x = h4/option/NONE /\ y = h4/option/NONE \/ (?x0 y0. x = h4/option/SOME x0 /\ y = h4/option/SOME y0 /\ R x0 y0)
% Assm: h4/relation/IN__RRANGE: !y R. h4/bool/IN y (h4/relation/RRANGE R) <=> (?x. R x y)
% Assm: h4/relation/RUNION__ASSOC: !R3 R2 R1. h4/relation/RUNION R1 (h4/relation/RUNION R2 R3) = h4/relation/RUNION (h4/relation/RUNION R1 R2) R3
% Assm: h4/bool/ABS__REP__THM: !P. (?rep. h4/bool/TYPE__DEFINITION P rep) ==> (?rep abs. (!a. abs (rep a) = a) /\ (!r. P r <=> rep (abs r) = r))
% Assm: h4/relation/EqIsBothRSUBSET: !z y. y = z <=> h4/relation/RSUBSET y z /\ h4/relation/RSUBSET z y
% Assm: h4/relation/O__Id: !R. h4/relation/O R $equals = R
% Assm: h4/relation/IN__RDOM: !x R. h4/bool/IN x (h4/relation/RDOM R) <=> (?y. R x y)
% Assm: h4/relation/Id__O: !R. h4/relation/O $equals R = R
% Assm: h4/bool/UNWIND__THM2: !a P. (?x. x = a /\ P x) <=> P a
% Assm: h4/relation/RCOMPL0: !y x R. h4/relation/RCOMPL R x y <=> ~R x y
% Assm: h4/bool/DISJ__SYM: !B A. A \/ B <=> B \/ A
% Assm: h4/pair/FORALL__UNCURRY: !f. $forall (h4/pair/UNCURRY f) <=> $forall (h4/combin/o $forall f)
% Assm: h4/relation/RUNION__COMM: !R2 R1. h4/relation/RUNION R1 R2 = h4/relation/RUNION R2 R1
% Assm: h4/relation/RINTER__ASSOC: !R3 R2 R1. h4/relation/RINTER R1 (h4/relation/RINTER R2 R3) = h4/relation/RINTER (h4/relation/RINTER R1 R2) R3
% Assm: h4/relation/RUNIV__SUBSET_c0: !R. h4/relation/RSUBSET h4/relation/RUNIV R <=> R = h4/relation/RUNIV
% Assm: h4/relation/RSUBSET__ANTISYM: !R2 R1. h4/relation/RSUBSET R1 R2 /\ h4/relation/RSUBSET R2 R1 ==> R1 = R2
% Assm: h4/relation/RINTER__COMM: !R2 R1. h4/relation/RINTER R1 R2 = h4/relation/RINTER R2 R1
% Assm: h4/relation/IN__RDOM__RUNION: !x R2 R1. h4/bool/IN x (h4/relation/RDOM (h4/relation/RUNION R1 R2)) <=> h4/bool/IN x (h4/relation/RDOM R1) \/ h4/bool/IN x (h4/relation/RDOM R2)
% Assm: h4/bool/LEFT__EXISTS__AND__THM: !Q P. (?x. P x /\ Q) <=> (?x. P x) /\ Q
% Assm: h4/bool/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/bool/NOT__FORALL__THM: !P. ~(!x. P x) <=> (?x. ~P x)
% Assm: h4/bool/RIGHT__OR__EXISTS__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/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/SKOLEM__THM: !P. (!x. ?y. P x y) <=> (?f. !x. P x (f x))
% Assm: h4/pred__set/SUBSET__DEF: !t s. h4/pred__set/SUBSET s t <=> (!x. h4/bool/IN x s ==> h4/bool/IN x t)
% Assm: h4/bool/RIGHT__AND__FORALL__THM: !Q P. P /\ (!x. Q x) <=> (!x. P /\ Q x)
% Assm: h4/pred__set/IN__UNION: !x t s. h4/bool/IN x (h4/pred__set/UNION s t) <=> h4/bool/IN x s \/ h4/bool/IN x t
% Assm: h4/fixedPoint/monotone__def: !f. h4/fixedPoint/monotone f <=> (!X Y. h4/pred__set/SUBSET X Y ==> h4/pred__set/SUBSET (f X) (f Y))
% Assm: h4/relation/nf__def: !x R. h4/relation/nf R x <=> (!y. ~R x y)
% Assm: h4/pair/ABS__REP__prod_c1: !r. (\p. ?x y. p = (\a b. a = x /\ b = y)) r <=> h4/pair/REP__prod (h4/pair/ABS__prod r) = r
% Assm: h4/relation/RUNIV__SUBSET_c1: !R. h4/relation/RSUBSET R h4/relation/RUNIV
% Assm: h4/option/OPTREL__MONO: !y x Q P. (!x0 y0. P x0 y0 ==> Q x0 y0) ==> h4/option/OPTREL P x y ==> h4/option/OPTREL Q x y
% Assm: h4/bool/EXISTS__OR__THM: !Q P. (?x. P x \/ Q x) <=> (?x. P x) \/ (?x. Q x)
% Assm: h4/pair/UNCURRY0: !v f. h4/pair/UNCURRY f v = f (h4/pair/FST v) (h4/pair/SND v)
% 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/pair/FORALL__PROD: !P. (!p. P p) <=> (!p__1 p__2. P (h4/pair/_2C p__1 p__2))
% Assm: h4/combin/o__DEF: !g f. h4/combin/o f g = (\x. f (g x))
% Assm: h4/bool/IMP__CLAUSES_c0: !t. T ==> t <=> t
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/relation/RUNIV0: !y x. h4/relation/RUNIV x y <=> T
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/option/SOME__11: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm: h4/bool/AND__CLAUSES_c2: !t. F /\ t <=> F
% Assm: h4/option/NOT__NONE__SOME: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/arithmetic/SUB__RIGHT__GREATER__EQ: !p n m. h4/arithmetic/_3E_3D (h4/arithmetic/_2D m n) p <=> h4/arithmetic/_3E_3D m (h4/arithmetic/_2B n p) \/ h4/arithmetic/_3E_3D h4/num/0 p
% Assm: h4/arithmetic/SUB__LEFT__LESS__EQ: !p n m. h4/arithmetic/_3C_3D m (h4/arithmetic/_2D n p) <=> h4/arithmetic/_3C_3D (h4/arithmetic/_2B m p) n \/ h4/arithmetic/_3C_3D m h4/num/0
% Assm: h4/arithmetic/GREATER__OR__EQ: !n m. h4/arithmetic/_3E_3D m n <=> h4/arithmetic/_3E m n \/ m = n
% Assm: h4/arithmetic/ADD__SYM: !n m. h4/arithmetic/_2B m n = h4/arithmetic/_2B n m
% Assm: h4/arithmetic/LESS__OR__EQ: !n m. h4/arithmetic/_3C_3D m n <=> h4/prim__rec/_3C m n \/ m = n
% Assm: h4/arithmetic/GREATER__DEF: !n m. h4/arithmetic/_3E m n <=> h4/prim__rec/_3C n m
% Assm: h4/combin/S__ABS__R: !g f. h4/combin/S f (\x. g x) = (\x. f x (g x))
% Assm: h4/combin/S__THM: !x g f. h4/combin/S f g x = f x (g x)
% Assm: h4/arithmetic/DIVMOD__ID: !n. h4/prim__rec/_3C h4/num/0 n ==> h4/arithmetic/DIV n n = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) /\ h4/arithmetic/MOD n n = h4/num/0
% Assm: h4/arithmetic/MOD__UNIQUE: !r n k. (?q. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/MOD k n = r
% Assm: h4/arithmetic/DIV__UNIQUE: !q n k. (?r. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/DIV k n = q
% Assm: h4/arithmetic/MULT__CLAUSES_c2: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = m
% Assm: h4/arithmetic/ADD__CLAUSES_c1: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm: h4/relation/ALT__equivalence: !R. h4/relation/equivalence R <=> (!x y. R x y <=> R x = R y)
% Assm: h4/relation/transitive__def: !R. h4/relation/transitive R <=> (!x y z. R x y /\ R y z ==> R x z)
% Assm: h4/bool/FORALL__AND__THM: !Q P. (!x. P x /\ Q x) <=> (!x. P x) /\ (!x. Q x)
% Assm: h4/bool/LEFT__OR__EXISTS__THM: !Q P. (?x. P x) \/ Q <=> (?x. P x \/ Q)
% Assm: h4/bool/RIGHT__EXISTS__AND__THM: !Q P. (?x. P /\ Q x) <=> P /\ (?x. Q x)
% Assm: h4/relation/equivalence__def: !R. h4/relation/equivalence R <=> h4/relation/reflexive R /\ h4/relation/symmetric R /\ h4/relation/transitive R
% Assm: h4/relation/symmetric__def: !R. h4/relation/symmetric R <=> (!x y. R x y <=> R y x)
% Assm: h4/relation/reflexive__def: !R. h4/relation/reflexive R <=> (!x. R x x)
% Assm: h4/bool/EQ__IMP__THM: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm: h4/bool/OR__DEF: $or = (\t1 t2. !t. (t1 ==> t) ==> (t2 ==> t) ==> t)
% Assm: h4/bool/F__DEF: F <=> (!t. t)
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/combin/APPLY__UPDATE__ID: !f a. h4/combin/UPDATE a (f a) f = f
% Assm: h4/combin/UPDATE__APPLY__ID: !f b a. f a = b <=> h4/combin/UPDATE a b f = f
% Assm: h4/arithmetic/MAX__DEF: !n m. h4/arithmetic/MAX m n = h4/bool/COND (h4/prim__rec/_3C m n) n m
% Assm: h4/relation/WFREC__THM: !R M. h4/relation/WF R ==> (!x. h4/relation/WFREC R M x = M (h4/relation/RESTRICT (h4/relation/WFREC R M) R x) x)
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Goal: !g f. h4/fixedPoint/fnsum f g = h4/fixedPoint/fnsum g f
%   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_fixedPoints_fnsumu_u_ASSOC]: !h g f. h4/fixedPoint/fnsum f (h4/fixedPoint/fnsum g h) = h4/fixedPoint/fnsum (h4/fixedPoint/fnsum f g) h
% Assm [h4s_fixedPoints_fnsumu_u_def]: !f2 f1 X. happ (h4/fixedPoint/fnsum f1 f2) X = h4/pred__set/UNION (happ f1 X) (happ f2 X)
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_predu_u_sets_UNIONu_u_ASSOC]: !u t s. h4/pred__set/UNION s (h4/pred__set/UNION t u) = h4/pred__set/UNION (h4/pred__set/UNION s t) u
% Assm [h4s_fixedPoints_fnsumu_u_emptyu_c0]: !f. h4/fixedPoint/fnsum f h4/fixedPoint/empty = f
% Assm [h4s_fixedPoints_fnsumu_u_emptyu_c1]: !f. h4/fixedPoint/fnsum h4/fixedPoint/empty f = f
% Assm [h4s_bools_FUNu_u_EQu_u_THM]: !g f. f = g <=> (!x. happ f x = happ g x)
% Assm [h4s_fixedPoints_fnsumu_u_monotone]: !f2 f1. h4/fixedPoint/monotone f1 /\ h4/fixedPoint/monotone f2 ==> h4/fixedPoint/monotone (h4/fixedPoint/fnsum f1 f2)
% Assm [h4s_fixedPoints_emptyu_u_def]: !x. happ h4/fixedPoint/empty x = h4/pred__set/EMPTY
% Assm [h4s_predu_u_sets_UNIONu_u_EMPTYu_c1]: !s. h4/pred__set/UNION s h4/pred__set/EMPTY = s
% Assm [h4s_predu_u_sets_UNIONu_u_EMPTYu_c0]: !s. h4/pred__set/UNION h4/pred__set/EMPTY s = s
% Assm [h4s_bools_SWAPu_u_EXISTSu_u_THM]: !P. (?x y. happ (happ P x) y) <=> (?y x. happ (happ P x) y)
% Assm [h4s_relations_RDOMu_u_DEF]: !x R. happ (h4/relation/RDOM R) x <=> (?y. happ (happ R x) y)
% Assm [h4s_pairs_produ_u_TYu_u_DEF]: !_0. (!p. happ _0 p <=> (?x y. !x' x. happ (happ p x') x <=> x' = x /\ x = y)) ==> (?rep. h4/bool/TYPE__DEFINITION _0 rep)
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_INu_u_DEF]: !x x. h4/bool/IN x x <=> happ x x
% Assm [h4s_relations_RSUBSET0]: !R2 R1. happ (happ h4/relation/RSUBSET R1) R2 <=> (!x y. happ (happ R1 x) y ==> happ (happ R2 x) y)
% Assm [h4s_relations_RUNION0]: !y x R2 R1. happ (happ (h4/relation/RUNION R1 R2) x) y <=> happ (happ R1 x) y \/ happ (happ R2 x) y
% Assm [h4s_relations_RRANGE0]: !y R. happ (h4/relation/RRANGE R) y <=> (?x. happ (happ R x) y)
% Assm [h4s_relations_Ou_u_DEF]: !z x R2 R1. happ (happ (h4/relation/O R1 R2) x) z <=> (?y. happ (happ R2 x) y /\ happ (happ R1 y) z)
% 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_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% 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_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% 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_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_NOTu_u_CLAUSESu_c0]: !t. ~ ~t <=> t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_bools_IMPu_u_F]: !t. (t ==> F) ==> ~t
% Assm [h4s_sats_dcu_u_disj]: !r q p. (p <=> q \/ r) <=> (p \/ ~q) /\ (p \/ ~r) /\ (q \/ r \/ ~p)
% Assm [h4s_relations_WeakOrderu_u_EQ]: !R. h4/relation/WeakOrder R ==> (!y z. y = z <=> happ (happ R y) z /\ happ (happ R z) y)
% Assm [h4s_relations_RSUBSETu_u_WeakOrder]: h4/relation/WeakOrder h4/relation/RSUBSET
% Assm [h4s_relations_RINTER0]: !y x R2 R1. happ (happ (h4/relation/RINTER R1 R2) x) y <=> happ (happ R1 x) y /\ happ (happ R2 x) y
% Assm [h4s_options_OPTRELu_u_def]: !y x R. h4/option/OPTREL R x y <=> x = h4/option/NONE /\ y = h4/option/NONE \/ (?x0 y0. x = h4/option/SOME x0 /\ y = h4/option/SOME y0 /\ happ (happ R x0) y0)
% Assm [h4s_relations_INu_u_RRANGE]: !y R. h4/bool/IN y (h4/relation/RRANGE R) <=> (?x. happ (happ R x) y)
% Assm [h4s_relations_RUNIONu_u_ASSOC]: !R3 R2 R1. h4/relation/RUNION R1 (h4/relation/RUNION R2 R3) = h4/relation/RUNION (h4/relation/RUNION R1 R2) R3
% Assm [h4s_bools_ABSu_u_REPu_u_THM]: !P. (?rep. h4/bool/TYPE__DEFINITION P rep) ==> (?rep abs. (!a. happ abs (happ rep a) = a) /\ (!r. happ P r <=> happ rep (happ abs r) = r))
% Assm [h4s_relations_EqIsBothRSUBSET]: !z y. y = z <=> happ (happ h4/relation/RSUBSET y) z /\ happ (happ h4/relation/RSUBSET z) y
% Assm [h4s_relations_Ou_u_Id]: !R. h4/relation/O R $equals = R
% Assm [h4s_relations_INu_u_RDOM]: !x R. h4/bool/IN x (h4/relation/RDOM R) <=> (?y. happ (happ R x) y)
% Assm [h4s_relations_Idu_u_O]: !R. h4/relation/O $equals R = R
% Assm [h4s_bools_UNWINDu_u_THM2]: !a P. (?x. x = a /\ happ P x) <=> happ P a
% Assm [h4s_relations_RCOMPL0]: !y x R. h4/relation/RCOMPL R x y <=> ~happ (happ R x) y
% Assm [h4s_bools_DISJu_u_SYM]: !B A. A \/ B <=> B \/ A
% Assm [h4s_pairs_FORALLu_u_UNCURRY]: !f. happ $forall (h4/pair/UNCURRY f) <=> happ $forall (h4/combin/o $forall f)
% Assm [h4s_relations_RUNIONu_u_COMM]: !R2 R1. h4/relation/RUNION R1 R2 = h4/relation/RUNION R2 R1
% Assm [h4s_relations_RINTERu_u_ASSOC]: !R3 R2 R1. h4/relation/RINTER R1 (h4/relation/RINTER R2 R3) = h4/relation/RINTER (h4/relation/RINTER R1 R2) R3
% Assm [h4s_relations_RUNIVu_u_SUBSETu_c0]: !R. happ (happ h4/relation/RSUBSET h4/relation/RUNIV) R <=> R = h4/relation/RUNIV
% Assm [h4s_relations_RSUBSETu_u_ANTISYM]: !R2 R1. happ (happ h4/relation/RSUBSET R1) R2 /\ happ (happ h4/relation/RSUBSET R2) R1 ==> R1 = R2
% Assm [h4s_relations_RINTERu_u_COMM]: !R2 R1. h4/relation/RINTER R1 R2 = h4/relation/RINTER R2 R1
% Assm [h4s_relations_INu_u_RDOMu_u_RUNION]: !x R2 R1. h4/bool/IN x (h4/relation/RDOM (h4/relation/RUNION R1 R2)) <=> h4/bool/IN x (h4/relation/RDOM R1) \/ h4/bool/IN x (h4/relation/RDOM R2)
% Assm [h4s_bools_LEFTu_u_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. happ P x /\ Q) <=> (?x. happ P x) /\ Q
% Assm [h4s_bools_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_bools_NOTu_u_FORALLu_u_THM]: !P. ~(!x. happ P x) <=> (?x. ~happ P x)
% Assm [h4s_bools_RIGHTu_u_ORu_u_EXISTSu_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_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_SKOLEMu_u_THM]: !P. (!x. ?y. happ (happ P x) y) <=> (?f. !x. happ (happ P x) (happ f x))
% Assm [h4s_predu_u_sets_SUBSETu_u_DEF]: !t s. h4/pred__set/SUBSET s t <=> (!x. h4/bool/IN x s ==> h4/bool/IN x t)
% Assm [h4s_bools_RIGHTu_u_ANDu_u_FORALLu_u_THM]: !Q P. P /\ (!x. happ Q x) <=> (!x. P /\ happ Q x)
% Assm [h4s_predu_u_sets_INu_u_UNION]: !x t s. h4/bool/IN x (h4/pred__set/UNION s t) <=> h4/bool/IN x s \/ h4/bool/IN x t
% Assm [h4s_fixedPoints_monotoneu_u_def]: !f. h4/fixedPoint/monotone f <=> (!X Y. h4/pred__set/SUBSET X Y ==> h4/pred__set/SUBSET (happ f X) (happ f Y))
% Assm [h4s_relations_nfu_u_def]: !x R. h4/relation/nf R x <=> (!y. ~happ (happ R x) y)
% Assm [h4s_pairs_ABSu_u_REPu_u_produ_c1]: !r. (?x y. !x' x. happ (happ r x') x <=> x' = x /\ x = y) <=> h4/pair/REP__prod (h4/pair/ABS__prod r) = r
% Assm [h4s_relations_RUNIVu_u_SUBSETu_c1]: !R. happ (happ h4/relation/RSUBSET R) h4/relation/RUNIV
% Assm [h4s_options_OPTRELu_u_MONO]: !y x Q P. (!x0 y0. happ (happ P x0) y0 ==> happ (happ Q x0) y0) ==> h4/option/OPTREL P x y ==> h4/option/OPTREL Q x y
% Assm [h4s_bools_EXISTSu_u_ORu_u_THM]: !Q P. (?x. happ P x \/ happ Q x) <=> (?x. happ P x) \/ (?x. happ Q x)
% Assm [h4s_pairs_UNCURRY0]: !v f. happ (h4/pair/UNCURRY f) v = happ (happ f (h4/pair/FST v)) (h4/pair/SND v)
% Assm [h4s_pairs_SND0]: !y x. h4/pair/SND (h4/pair/_2C x y) = y
% Assm [h4s_pairs_FST0]: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_pairs_FORALLu_u_PROD]: !P. (!p. happ P p) <=> (!p__1 p__2. happ P (h4/pair/_2C p__1 p__2))
% Assm [h4s_combins_ou_u_DEF]: !g f x. happ (h4/combin/o f g) x = happ f (happ g x)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c0]: !t. T ==> t <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_relations_RUNIV0]: !y x. happ (happ h4/relation/RUNIV x) y <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_options_SOMEu_u_11]: !y x. h4/option/SOME x = h4/option/SOME y <=> x = y
% Assm [h4s_bools_ANDu_u_CLAUSESu_c2]: !t. F /\ t <=> F
% Assm [h4s_options_NOTu_u_NONEu_u_SOME]: !x. ~(h4/option/NONE = h4/option/SOME x)
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_arithmetics_SUBu_u_RIGHTu_u_GREATERu_u_EQ]: !p n m. h4/arithmetic/_3E_3D (h4/arithmetic/_2D m n) p <=> h4/arithmetic/_3E_3D m (h4/arithmetic/_2B n p) \/ h4/arithmetic/_3E_3D h4/num/0 p
% Assm [h4s_arithmetics_SUBu_u_LEFTu_u_LESSu_u_EQ]: !p n m. h4/arithmetic/_3C_3D m (h4/arithmetic/_2D n p) <=> h4/arithmetic/_3C_3D (h4/arithmetic/_2B m p) n \/ h4/arithmetic/_3C_3D m h4/num/0
% Assm [h4s_arithmetics_GREATERu_u_ORu_u_EQ]: !n m. h4/arithmetic/_3E_3D m n <=> h4/arithmetic/_3E m n \/ m = n
% Assm [h4s_arithmetics_ADDu_u_SYM]: !n m. h4/arithmetic/_2B m n = h4/arithmetic/_2B n m
% Assm [h4s_arithmetics_LESSu_u_ORu_u_EQ]: !n m. h4/arithmetic/_3C_3D m n <=> h4/prim__rec/_3C m n \/ m = n
% Assm [h4s_arithmetics_GREATERu_u_DEF]: !n m. h4/arithmetic/_3E m n <=> h4/prim__rec/_3C n m
% Assm [h4s_combins_Su_u_ABSu_u_R]: !_0. (!g x. happ (happ _0 g) x = happ g x) ==> (!g f x. h4/combin/S f (happ _0 g) x = happ (happ f x) (happ g x))
% Assm [h4s_combins_Su_u_THM]: !x g f. h4/combin/S f g x = happ (happ f x) (happ g x)
% Assm [h4s_arithmetics_DIVMODu_u_ID]: !n. h4/prim__rec/_3C h4/num/0 n ==> h4/arithmetic/DIV n n = h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) /\ h4/arithmetic/MOD n n = h4/num/0
% Assm [h4s_arithmetics_MODu_u_UNIQUE]: !r n k. (?q. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/MOD k n = r
% Assm [h4s_arithmetics_DIVu_u_UNIQUE]: !q n k. (?r. k = h4/arithmetic/_2B (h4/arithmetic/_2A q n) r /\ h4/prim__rec/_3C r n) ==> h4/arithmetic/DIV k n = q
% Assm [h4s_arithmetics_MULTu_u_CLAUSESu_c2]: !m. h4/arithmetic/_2A (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) m = m
% Assm [h4s_arithmetics_ADDu_u_CLAUSESu_c1]: !m. h4/arithmetic/_2B m h4/num/0 = m
% Assm [h4s_relations_ALTu_u_equivalence]: !R. h4/relation/equivalence R <=> (!x y. happ (happ R x) y <=> happ R x = happ R y)
% Assm [h4s_relations_transitiveu_u_def]: !R. h4/relation/transitive R <=> (!x y z. happ (happ R x) y /\ happ (happ R y) z ==> happ (happ R x) z)
% 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_ORu_u_EXISTSu_u_THM]: !Q P. (?x. happ P x) \/ Q <=> (?x. happ P x \/ Q)
% Assm [h4s_bools_RIGHTu_u_EXISTSu_u_ANDu_u_THM]: !Q P. (?x. P /\ happ Q x) <=> P /\ (?x. happ Q x)
% Assm [h4s_relations_equivalenceu_u_def]: !R. h4/relation/equivalence R <=> h4/relation/reflexive R /\ h4/relation/symmetric R /\ h4/relation/transitive R
% Assm [h4s_relations_symmetricu_u_def]: !R. h4/relation/symmetric R <=> (!x y. happ (happ R x) y <=> happ (happ R y) x)
% Assm [h4s_relations_reflexiveu_u_def]: !R. h4/relation/reflexive R <=> (!x. happ (happ R x) x)
% Assm [h4s_bools_EQu_u_IMPu_u_THM]: !t2 t1. (t1 <=> t2) <=> (t1 ==> t2) /\ (t2 ==> t1)
% Assm [h4s_bools_ORu_u_DEF]: !x x'. $or x x' <=> (!t. (x ==> t) ==> (x' ==> t) ==> t)
% Assm [h4s_bools_Fu_u_DEF]: F <=> (!t. t)
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_combins_APPLYu_u_UPDATEu_u_ID]: !f a. h4/combin/UPDATE a (happ f a) f = f
% Assm [h4s_combins_UPDATEu_u_APPLYu_u_ID]: !f b a. happ f a = b <=> h4/combin/UPDATE a b f = f
% Assm [h4s_arithmetics_MAXu_u_DEF]: !n m. h4/arithmetic/MAX m n = h4/bool/COND (h4/prim__rec/_3C m n) n m
% Assm [h4s_relations_WFRECu_u_THM]: !R M. h4/relation/WF R ==> (!x. happ (h4/relation/WFREC R M) x = happ (happ M (h4/relation/RESTRICT (h4/relation/WFREC R M) R x)) x)
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Goal: !g f. h4/fixedPoint/fnsum f g = h4/fixedPoint/fnsum g f
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f0)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f0))).
fof(aHLu_EXT, axiom, ![TV_Q1447985,TV_Q1447981]: ![V_f, V_g]: (![V_x]: s(TV_Q1447981,happ(s(t_fun(TV_Q1447985,TV_Q1447981),V_f),s(TV_Q1447985,V_x))) = s(TV_Q1447981,happ(s(t_fun(TV_Q1447985,TV_Q1447981),V_g),s(TV_Q1447985,V_x))) => s(t_fun(TV_Q1447985,TV_Q1447981),V_f) = s(t_fun(TV_Q1447985,TV_Q1447981),V_g))).
fof(ah4s_fixedPoints_fnsumu_u_ASSOC, axiom, ![TV_u_27a,TV_u_27b]: ![V_h, V_g, V_f]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_g),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_h))))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_g))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_h)))).
fof(ah4s_fixedPoints_fnsumu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_f2, V_f1, V_X]: s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),V_f1),s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),V_f2))),s(TV_u_27b,V_X))) = s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),V_f1),s(TV_u_27b,V_X))),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),V_f2),s(TV_u_27b,V_X)))))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_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_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_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_predu_u_sets_UNIONu_u_ASSOC, axiom, ![TV_u_27a]: ![V_u, V_t, V_s]: s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),V_t),s(t_fun(TV_u_27a,t_bool),V_u))))) = s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),V_t))),s(t_fun(TV_u_27a,t_bool),V_u)))).
fof(ah4s_fixedPoints_fnsumu_u_emptyu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_empty))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f)).
fof(ah4s_fixedPoints_fnsumu_u_emptyu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_empty),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f)).
fof(ah4s_bools_FUNu_u_EQu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_g, V_f]: (s(t_fun(TV_u_27a,TV_u_27b),V_f) = s(t_fun(TV_u_27a,TV_u_27b),V_g) <=> ![V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x))))).
fof(ah4s_fixedPoints_fnsumu_u_monotone, axiom, ![TV_u_27a,TV_u_27b]: ![V_f2, V_f1]: ((p(s(t_bool,h4s_fixedpoints_monotone(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f1)))) & p(s(t_bool,h4s_fixedpoints_monotone(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f2))))) => p(s(t_bool,h4s_fixedpoints_monotone(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f1),s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f2)))))))).
fof(ah4s_fixedPoints_emptyu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_x]: s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_empty),s(TV_u_27a,V_x))) = s(t_fun(TV_u_27b,t_bool),h4s_predu_u_sets_empty)).
fof(ah4s_predu_u_sets_UNIONu_u_EMPTYu_c1, axiom, ![TV_u_27a]: ![V_s]: s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty))) = s(t_fun(TV_u_27a,t_bool),V_s)).
fof(ah4s_predu_u_sets_UNIONu_u_EMPTYu_c0, axiom, ![TV_u_27a]: ![V_s]: s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty),s(t_fun(TV_u_27a,t_bool),V_s))) = s(t_fun(TV_u_27a,t_bool),V_s)).
fof(ah4s_bools_SWAPu_u_EXISTSu_u_THM, axiom, ![TV_u_27a,TV_u_27b]: ![V_P]: (?[V_x, V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) <=> ?[V_y, V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
fof(ah4s_relations_RDOMu_u_DEF, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_x)))) <=> ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
fof(ah4s_pairs_produ_u_TYu_u_DEF, axiom, ![TV_u_27a,TV_u_27b]: ![V_uu_0]: (![V_p]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_p)))) <=> ?[V_x, V_y]: ![V_xi_, V_x0]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_p),s(TV_u_27a,V_xi_))),s(TV_u_27b,V_x0)))) <=> (s(TV_u_27a,V_xi_) = s(TV_u_27a,V_x) & s(TV_u_27b,V_x0) = s(TV_u_27b,V_y)))) => ?[V_rep]: p(s(t_bool,h4s_bools_typeu_u_definition(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),V_uu_0),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool))),V_rep)))))).
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_INu_u_DEF, axiom, ![TV_u_27a]: ![V_x, V_x0]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_x0))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x0),s(TV_u_27a,V_x)))).
fof(ah4s_relations_RSUBSET0, axiom, ![TV_u_27a,TV_u_27b]: ![V_R2, V_R1]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2)))) <=> ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_relations_RUNION0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R2, V_R1]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) | p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_relations_RRANGE0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),h4s_relations_rrange(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27b,V_y)))) <=> ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
fof(ah4s_relations_Ou_u_DEF, axiom, ![TV_u_27g,TV_u_27h,TV_u_27k]: ![V_z, V_x, V_R2, V_R1]: (p(s(t_bool,happ(s(t_fun(TV_u_27k,t_bool),happ(s(t_fun(TV_u_27g,t_fun(TV_u_27k,t_bool)),h4s_relations_o(s(t_fun(TV_u_27h,t_fun(TV_u_27k,t_bool)),V_R1),s(t_fun(TV_u_27g,t_fun(TV_u_27h,t_bool)),V_R2))),s(TV_u_27g,V_x))),s(TV_u_27k,V_z)))) <=> ?[V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27h,t_bool),happ(s(t_fun(TV_u_27g,t_fun(TV_u_27h,t_bool)),V_R2),s(TV_u_27g,V_x))),s(TV_u_27h,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27k,t_bool),happ(s(t_fun(TV_u_27h,t_fun(TV_u_27k,t_bool)),V_R1),s(TV_u_27h,V_y))),s(TV_u_27k,V_z))))))).
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_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
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_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_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_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
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,f0))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f0))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => p(s(t_bool,f0))))).
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_ORu_u_DUAL2, axiom, ![V_B, V_A]: ((~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) => p(s(t_bool,f0))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f0))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f0)))))).
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,f0))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f0))) <=> ~ (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_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f0))))).
fof(ah4s_bools_IMPu_u_F, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f0))) => ~ (p(s(t_bool,V_t))))).
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_relations_WeakOrderu_u_EQ, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_weakorder(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) => ![V_y, V_z]: (s(TV_u_27a,V_y) = s(TV_u_27a,V_z) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_z)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_z))),s(TV_u_27a,V_y)))))))).
fof(ah4s_relations_RSUBSETu_u_WeakOrder, axiom, ![TV_u_27a,TV_u_27b]: p(s(t_bool,h4s_relations_weakorder(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset))))).
fof(ah4s_relations_RINTER0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R2, V_R1]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_options_OPTRELu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R]: (p(s(t_bool,h4s_options_optrel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_options_option(TV_u_27a),V_x),s(t_h4s_options_option(TV_u_27b),V_y)))) <=> ((s(t_h4s_options_option(TV_u_27a),V_x) = s(t_h4s_options_option(TV_u_27a),h4s_options_none) & s(t_h4s_options_option(TV_u_27b),V_y) = s(t_h4s_options_option(TV_u_27b),h4s_options_none)) | ?[V_x0, V_y0]: (s(t_h4s_options_option(TV_u_27a),V_x) = s(t_h4s_options_option(TV_u_27a),h4s_options_some(s(TV_u_27a,V_x0))) & (s(t_h4s_options_option(TV_u_27b),V_y) = s(t_h4s_options_option(TV_u_27b),h4s_options_some(s(TV_u_27b,V_y0))) & p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x0))),s(TV_u_27b,V_y0))))))))).
fof(ah4s_relations_INu_u_RRANGE, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_R]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),h4s_relations_rrange(s(t_fun(TV_u_27b,t_fun(TV_u_27a,t_bool)),V_R)))))) <=> ?[V_x]: 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)),V_R),s(TV_u_27b,V_x))),s(TV_u_27a,V_y)))))).
fof(ah4s_relations_RUNIONu_u_ASSOC, axiom, ![TV_u_27a,TV_u_27b]: ![V_R3, V_R2, V_R1]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R3))))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R3)))).
fof(ah4s_bools_ABSu_u_REPu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_P]: (?[V_rep]: p(s(t_bool,h4s_bools_typeu_u_definition(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ?[V_rep, V_abs]: (![V_a]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a))))) = s(TV_u_27b,V_a) & ![V_r]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_r)))) <=> s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,V_r))))) = s(TV_u_27a,V_r))))).
fof(ah4s_relations_EqIsBothRSUBSET, axiom, ![TV_u_27a,TV_u_27b]: ![V_z, V_y]: (s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_y) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_z) <=> (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_y))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_z)))) & p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_z))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_y))))))).
fof(ah4s_relations_Ou_u_Id, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_o(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)).
fof(ah4s_relations_INu_u_RDOM, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_R]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)))))) <=> ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
fof(ah4s_relations_Idu_u_O, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_o(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),d_equals),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)).
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_relations_RCOMPL0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_R]: (p(s(t_bool,h4s_relations_rcompl(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x),s(TV_u_27b,V_y)))) <=> ~ (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
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_pairs_FORALLu_u_UNCURRY, axiom, ![TV_u_27a,TV_u_27b]: ![V_f]: s(t_bool,happ(s(t_fun(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),t_bool),d_forall),s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),h4s_pairs_uncurry(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f))))) = s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),d_forall),s(t_fun(TV_u_27a,t_bool),h4s_combins_o(s(t_fun(t_fun(TV_u_27b,t_bool),t_bool),d_forall),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f)))))).
fof(ah4s_relations_RUNIONu_u_COMM, axiom, ![TV_u_27a,TV_u_27b]: ![V_R2, V_R1]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1)))).
fof(ah4s_relations_RINTERu_u_ASSOC, axiom, ![TV_u_27a,TV_u_27b]: ![V_R3, V_R2, V_R1]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R3))))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R3)))).
fof(ah4s_relations_RUNIVu_u_SUBSETu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runiv))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)))) <=> s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runiv))).
fof(ah4s_relations_RSUBSETu_u_ANTISYM, axiom, ![TV_u_27a,TV_u_27b]: ![V_R2, V_R1]: ((p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2)))) & p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1))))) => s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))).
fof(ah4s_relations_RINTERu_u_COMM, axiom, ![TV_u_27a,TV_u_27b]: ![V_R2, V_R1]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_rinter(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1)))).
fof(ah4s_relations_INu_u_RDOMu_u_RUNION, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_R2, V_R1]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runion(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2)))))))) <=> (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R1)))))) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R2))))))))).
fof(ah4s_bools_LEFTu_u_EXISTSu_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,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_CONJu_u_ASSOC, 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_NOTu_u_FORALLu_u_THM, axiom, ![TV_u_27a]: ![V_P]: (~ (![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) <=> ?[V_x]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_RIGHTu_u_ORu_u_EXISTSu_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_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_SKOLEMu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_P]: (![V_x]: ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))) <=> ?[V_f]: ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x)))))))).
fof(ah4s_predu_u_sets_SUBSETu_u_DEF, axiom, ![TV_u_27a]: ![V_t, V_s]: (p(s(t_bool,h4s_predu_u_sets_subset(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),V_t)))) <=> ![V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s)))) => p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_t))))))).
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_predu_u_sets_INu_u_UNION, axiom, ![TV_u_27a]: ![V_x, V_t, V_s]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),V_t)))))) <=> (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s)))) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_t))))))).
fof(ah4s_fixedPoints_monotoneu_u_def, axiom, ![TV_u_27b,TV_u_27a]: ![V_f]: (p(s(t_bool,h4s_fixedpoints_monotone(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f)))) <=> ![V_X, V_Y]: (p(s(t_bool,h4s_predu_u_sets_subset(s(t_fun(TV_u_27a,t_bool),V_X),s(t_fun(TV_u_27a,t_bool),V_Y)))) => p(s(t_bool,h4s_predu_u_sets_subset(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_bool),V_X))),s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_bool),V_Y))))))))).
fof(ah4s_relations_nfu_u_def, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_R]: (p(s(t_bool,h4s_relations_nf(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x)))) <=> ![V_y]: ~ (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))))))).
fof(ah4s_pairs_ABSu_u_REPu_u_produ_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_r]: (?[V_x, V_y]: ![V_xi_, V_x0]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_r),s(TV_u_27a,V_xi_))),s(TV_u_27b,V_x0)))) <=> (s(TV_u_27a,V_xi_) = s(TV_u_27a,V_x) & s(TV_u_27b,V_x0) = s(TV_u_27b,V_y))) <=> s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_pairs_repu_u_prod(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_absu_u_prod(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_r))))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_r))).
fof(ah4s_relations_RUNIVu_u_SUBSETu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),t_bool)),h4s_relations_rsubset),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runiv))))).
fof(ah4s_options_OPTRELu_u_MONO, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x, V_Q, V_P]: (![V_x0, V_y0]: (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(TV_u_27a,V_x0))),s(TV_u_27b,V_y0)))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_Q),s(TV_u_27a,V_x0))),s(TV_u_27b,V_y0))))) => (p(s(t_bool,h4s_options_optrel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_P),s(t_h4s_options_option(TV_u_27a),V_x),s(t_h4s_options_option(TV_u_27b),V_y)))) => p(s(t_bool,h4s_options_optrel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_Q),s(t_h4s_options_option(TV_u_27a),V_x),s(t_h4s_options_option(TV_u_27b),V_y))))))).
fof(ah4s_bools_EXISTSu_u_ORu_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_pairs_UNCURRY0, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_v, 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),V_v))) = 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,h4s_pairs_fst(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v))))),s(TV_u_27b,h4s_pairs_snd(s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_v)))))).
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_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_FORALLu_u_PROD, axiom, ![TV_u_27a,TV_u_27b]: ![V_P]: (![V_p]: p(s(t_bool,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),V_P),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),V_p)))) <=> ![V_pu_u_1, V_pu_u_2]: p(s(t_bool,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),t_bool),V_P),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_pu_u_1),s(TV_u_27b,V_pu_u_2)))))))).
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_bools_IMPu_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_EQu_u_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
fof(ah4s_relations_RUNIV0, axiom, ![TV_u_27a,TV_u_27b]: ![V_y, V_x]: s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_relations_runiv),s(TV_u_27a,V_x))),s(TV_u_27b,V_y))) = s(t_bool,t)).
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_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f0)) => p(s(t_bool,V_t)))).
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_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_c2, axiom, ![V_t]: ((p(s(t_bool,f0)) & p(s(t_bool,V_t))) <=> p(s(t_bool,f0)))).
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_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,f0)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_arithmetics_SUBu_u_RIGHTu_u_GREATERu_u_EQ, axiom, ![V_p, V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3eu_3d(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_p)))) <=> (p(s(t_bool,h4s_arithmetics_u_3eu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))))) | p(s(t_bool,h4s_arithmetics_u_3eu_3d(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_p))))))).
fof(ah4s_arithmetics_SUBu_u_LEFTu_u_LESSu_u_EQ, axiom, ![V_p, V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_p)))))) <=> (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_p))),s(t_h4s_nums_num,V_n)))) | p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_0))))))).
fof(ah4s_arithmetics_GREATERu_u_ORu_u_EQ, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3eu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) <=> (p(s(t_bool,h4s_arithmetics_u_3e(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) | s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_ADDu_u_SYM, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))).
fof(ah4s_arithmetics_LESSu_u_ORu_u_EQ, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_arithmetics_u_3cu_3d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) <=> (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))) | s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n)))).
fof(ah4s_arithmetics_GREATERu_u_DEF, axiom, ![V_n, V_m]: s(t_bool,h4s_arithmetics_u_3e(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))) = s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))).
fof(ah4s_combins_Su_u_ABSu_u_R, axiom, ![TV_u_27b,TV_u_27c,TV_u_27a]: ![V_uu_0]: (![V_g, V_x]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),s(t_fun(TV_u_27a,TV_u_27c),V_g))),s(TV_u_27a,V_x))) = s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_g),s(TV_u_27a,V_x))) => ![V_g, V_f, V_x]: s(TV_u_27b,h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27c,TV_u_27b)),V_f),s(t_fun(TV_u_27a,TV_u_27c),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27c),t_fun(TV_u_27a,TV_u_27c)),V_uu_0),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),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27c,TV_u_27b)),V_f),s(TV_u_27a,V_x))),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_Su_u_THM, axiom, ![TV_u_27c,TV_u_27b,TV_u_27a]: ![V_x, V_g, V_f]: s(TV_u_27c,h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x))) = 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,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_x)))))).
fof(ah4s_arithmetics_DIVMODu_u_ID, 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,V_n)))) => (s(t_h4s_nums_num,h4s_arithmetics_div(s(t_h4s_nums_num,V_n),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))))) & s(t_h4s_nums_num,h4s_arithmetics_mod(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_nums_0)))).
fof(ah4s_arithmetics_MODu_u_UNIQUE, axiom, ![V_r, V_n, V_k]: (?[V_q]: (s(t_h4s_nums_num,V_k) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_q),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_r))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_r),s(t_h4s_nums_num,V_n))))) => s(t_h4s_nums_num,h4s_arithmetics_mod(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_r))).
fof(ah4s_arithmetics_DIVu_u_UNIQUE, axiom, ![V_q, V_n, V_k]: (?[V_r]: (s(t_h4s_nums_num,V_k) = s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,V_q),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_r))) & p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_r),s(t_h4s_nums_num,V_n))))) => s(t_h4s_nums_num,h4s_arithmetics_div(s(t_h4s_nums_num,V_k),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,V_q))).
fof(ah4s_arithmetics_MULTu_u_CLAUSESu_c2, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2a(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))),s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,V_m)).
fof(ah4s_arithmetics_ADDu_u_CLAUSESu_c1, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2b(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_0))) = s(t_h4s_nums_num,V_m)).
fof(ah4s_relations_ALTu_u_equivalence, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_equivalence(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) <=> s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))) = s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y)))))).
fof(ah4s_relations_transitiveu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y, V_z]: ((p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_z))))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_z))))))).
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_ORu_u_EXISTSu_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_EXISTSu_u_ANDu_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_relations_equivalenceu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_equivalence(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> (p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) & (p(s(t_bool,h4s_relations_symmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) & p(s(t_bool,h4s_relations_transitive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))))))).
fof(ah4s_relations_symmetricu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_symmetric(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x, V_y]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x))))).
fof(ah4s_relations_reflexiveu_u_def, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_reflexive(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))))).
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_ORu_u_DEF, axiom, ![V_x, V_xi_]: (p(s(t_bool,d_or(s(t_bool,V_x),s(t_bool,V_xi_)))) <=> ![V_t]: ((p(s(t_bool,V_x)) => p(s(t_bool,V_t))) => ((p(s(t_bool,V_xi_)) => p(s(t_bool,V_t))) => p(s(t_bool,V_t)))))).
fof(ah4s_bools_Fu_u_DEF, axiom, (p(s(t_bool,f0)) <=> ![V_t]: p(s(t_bool,V_t)))).
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,f0))).
fof(ah4s_combins_APPLYu_u_UPDATEu_u_ID, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_a]: s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_update(s(TV_u_27a,V_a),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_a))),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(t_fun(TV_u_27a,TV_u_27b),V_f)).
fof(ah4s_combins_UPDATEu_u_APPLYu_u_ID, axiom, ![TV_u_27a,TV_u_27b]: ![V_f, V_b, V_a]: (s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_a))) = s(TV_u_27b,V_b) <=> s(t_fun(TV_u_27a,TV_u_27b),h4s_combins_update(s(TV_u_27a,V_a),s(TV_u_27b,V_b),s(t_fun(TV_u_27a,TV_u_27b),V_f))) = s(t_fun(TV_u_27a,TV_u_27b),V_f))).
fof(ah4s_arithmetics_MAXu_u_DEF, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_max(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_m)))).
fof(ah4s_relations_WFRECu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_R, V_M]: (p(s(t_bool,h4s_relations_wf(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) => ![V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_relations_wfrec(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(TV_u_27a,TV_u_27b)),V_M))),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(TV_u_27a,TV_u_27b)),V_M),s(t_fun(TV_u_27a,TV_u_27b),h4s_relations_restrict(s(t_fun(TV_u_27a,TV_u_27b),h4s_relations_wfrec(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(TV_u_27a,TV_u_27b)),V_M))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))))),s(TV_u_27a,V_x))))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f0)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
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_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(ch4s_fixedPoints_fnsumu_u_COMM, conjecture, ![TV_u_27a,TV_u_27b]: ![V_g, V_f]: s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_g))) = s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),h4s_fixedpoints_fnsum(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_g),s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_f)))).
