%   ORIGINAL: h4/int__arith/in__subtractive__range
% Assm: HL_TRUTH: T
% Assm: HL_FALSITY: ~F
% Assm: HL_BOOL_CASES: !t. (t <=> T) \/ (t <=> F)
% Assm: HL_EXT: !f g. (!x. f x = g x) ==> f = g
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/integer/INT__ADD__COMM: !y x. h4/integer/int__add x y = h4/integer/int__add y x
% Assm: h4/integer/int__sub0: !y x. h4/integer/int__sub x y = h4/integer/int__add x (h4/integer/int__neg y)
% Assm: h4/integer/INT__ADD__LID: !x. h4/integer/int__add (h4/integer/int__of__num h4/num/0) x = x
% Assm: h4/integer/INT__LE__LADD: !z y x. h4/integer/int__le (h4/integer/int__add x y) (h4/integer/int__add x z) <=> h4/integer/int__le y z
% Assm: h4/integer/INT__LT__ADDR: !y x. h4/integer/int__lt x (h4/integer/int__add x y) <=> h4/integer/int__lt (h4/integer/int__of__num h4/num/0) y
% Assm: h4/integer/INT__LT__SUB__RADD: !z y x. h4/integer/int__lt (h4/integer/int__sub x y) z <=> h4/integer/int__lt x (h4/integer/int__add z y)
% Assm: h4/integer/INT__LT__SUB__LADD: !z y x. h4/integer/int__lt x (h4/integer/int__sub y z) <=> h4/integer/int__lt (h4/integer/int__add x z) y
% Assm: h4/integer/INT__LE__SUB__RADD: !z y x. h4/integer/int__le (h4/integer/int__sub x y) z <=> h4/integer/int__le x (h4/integer/int__add z y)
% Assm: h4/integer/INT__LE__NEG: !y x. h4/integer/int__le (h4/integer/int__neg x) (h4/integer/int__neg y) <=> h4/integer/int__le y x
% Assm: h4/integer/INT__SUB__SUB2: !y x. h4/integer/int__sub x (h4/integer/int__sub x y) = y
% Goal: !x high d. h4/integer/int__le (h4/integer/int__sub high d) x /\ h4/integer/int__lt x high <=> (?j. x = h4/integer/int__sub high j /\ h4/integer/int__lt (h4/integer/int__of__num h4/num/0) j /\ h4/integer/int__le j d)
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_integers_INTu_u_ADDu_u_COMM]: !y x. h4/integer/int__add x y = h4/integer/int__add y x
% Assm [h4s_integers_intu_u_sub0]: !y x. h4/integer/int__sub x y = h4/integer/int__add x (h4/integer/int__neg y)
% Assm [h4s_integers_INTu_u_ADDu_u_LID]: !x. h4/integer/int__add (h4/integer/int__of__num h4/num/0) x = x
% Assm [h4s_integers_INTu_u_LEu_u_LADD]: !z y x. h4/integer/int__le (h4/integer/int__add x y) (h4/integer/int__add x z) <=> h4/integer/int__le y z
% Assm [h4s_integers_INTu_u_LTu_u_ADDR]: !y x. h4/integer/int__lt x (h4/integer/int__add x y) <=> h4/integer/int__lt (h4/integer/int__of__num h4/num/0) y
% Assm [h4s_integers_INTu_u_LTu_u_SUBu_u_RADD]: !z y x. h4/integer/int__lt (h4/integer/int__sub x y) z <=> h4/integer/int__lt x (h4/integer/int__add z y)
% Assm [h4s_integers_INTu_u_LTu_u_SUBu_u_LADD]: !z y x. h4/integer/int__lt x (h4/integer/int__sub y z) <=> h4/integer/int__lt (h4/integer/int__add x z) y
% Assm [h4s_integers_INTu_u_LEu_u_SUBu_u_RADD]: !z y x. h4/integer/int__le (h4/integer/int__sub x y) z <=> h4/integer/int__le x (h4/integer/int__add z y)
% Assm [h4s_integers_INTu_u_LEu_u_NEG]: !y x. h4/integer/int__le (h4/integer/int__neg x) (h4/integer/int__neg y) <=> h4/integer/int__le y x
% Assm [h4s_integers_INTu_u_SUBu_u_SUB2]: !y x. h4/integer/int__sub x (h4/integer/int__sub x y) = y
% Goal: !x high d. h4/integer/int__le (h4/integer/int__sub high d) x /\ h4/integer/int__lt x high <=> (?j. x = h4/integer/int__sub high j /\ h4/integer/int__lt (h4/integer/int__of__num h4/num/0) j /\ h4/integer/int__le j d)
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_Q208643,TV_Q208639]: ![V_f, V_g]: (![V_x]: s(TV_Q208639,happ(s(t_fun(TV_Q208643,TV_Q208639),V_f),s(TV_Q208643,V_x))) = s(TV_Q208639,happ(s(t_fun(TV_Q208643,TV_Q208639),V_g),s(TV_Q208643,V_x))) => s(t_fun(TV_Q208643,TV_Q208639),V_f) = s(t_fun(TV_Q208643,TV_Q208639),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_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_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_integers_INTu_u_ADDu_u_COMM, axiom, ![V_y, V_x]: s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))) = s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_y),s(t_h4s_integers_int,V_x)))).
fof(ah4s_integers_intu_u_sub0, axiom, ![V_y, V_x]: s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))) = s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_neg(s(t_h4s_integers_int,V_y)))))).
fof(ah4s_integers_INTu_u_ADDu_u_LID, axiom, ![V_x]: s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,h4s_integers_intu_u_ofu_u_num(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_integers_int,V_x))) = s(t_h4s_integers_int,V_x)).
fof(ah4s_integers_INTu_u_LEu_u_LADD, axiom, ![V_z, V_y, V_x]: s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))),s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_z))))) = s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,V_y),s(t_h4s_integers_int,V_z)))).
fof(ah4s_integers_INTu_u_LTu_u_ADDR, axiom, ![V_y, V_x]: s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))))) = s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,h4s_integers_intu_u_ofu_u_num(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_integers_int,V_y)))).
fof(ah4s_integers_INTu_u_LTu_u_SUBu_u_RADD, axiom, ![V_z, V_y, V_x]: s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))),s(t_h4s_integers_int,V_z))) = s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_z),s(t_h4s_integers_int,V_y)))))).
fof(ah4s_integers_INTu_u_LTu_u_SUBu_u_LADD, axiom, ![V_z, V_y, V_x]: s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_y),s(t_h4s_integers_int,V_z))))) = s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_z))),s(t_h4s_integers_int,V_y)))).
fof(ah4s_integers_INTu_u_LEu_u_SUBu_u_RADD, axiom, ![V_z, V_y, V_x]: s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))),s(t_h4s_integers_int,V_z))) = s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_add(s(t_h4s_integers_int,V_z),s(t_h4s_integers_int,V_y)))))).
fof(ah4s_integers_INTu_u_LEu_u_NEG, axiom, ![V_y, V_x]: s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,h4s_integers_intu_u_neg(s(t_h4s_integers_int,V_x))),s(t_h4s_integers_int,h4s_integers_intu_u_neg(s(t_h4s_integers_int,V_y))))) = s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,V_y),s(t_h4s_integers_int,V_x)))).
fof(ah4s_integers_INTu_u_SUBu_u_SUB2, axiom, ![V_y, V_x]: s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_y))))) = s(t_h4s_integers_int,V_y)).
fof(ch4s_intu_u_ariths_inu_u_subtractiveu_u_range, conjecture, ![V_x, V_high, V_d]: ((p(s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_high),s(t_h4s_integers_int,V_d))),s(t_h4s_integers_int,V_x)))) & p(s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,V_x),s(t_h4s_integers_int,V_high))))) <=> ?[V_j]: (s(t_h4s_integers_int,V_x) = s(t_h4s_integers_int,h4s_integers_intu_u_sub(s(t_h4s_integers_int,V_high),s(t_h4s_integers_int,V_j))) & (p(s(t_bool,h4s_integers_intu_u_lt(s(t_h4s_integers_int,h4s_integers_intu_u_ofu_u_num(s(t_h4s_nums_num,h4s_nums_0))),s(t_h4s_integers_int,V_j)))) & p(s(t_bool,h4s_integers_intu_u_le(s(t_h4s_integers_int,V_j),s(t_h4s_integers_int,V_d)))))))).
