↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
qs2: (b,f)
part4: (b,b,f,f)
less2: (b,b)
app3: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
QS_2_IN_GA2(._22(X, Xs), Ys) -> IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
QS_2_IN_GA2(._22(X, Xs), Ys) -> PART_4_IN_GGAA4(X, Xs, Littles, Bigs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> LESS_2_IN_GG2(X, Y)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> IF_PART_4_IN_2_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> QS_2_IN_GA2(Littles, Ls)
IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> QS_2_IN_GA2(Bigs, Bs)
IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> IF_QS_2_IN_4_GA6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> APP_3_IN_GGA3(Ls, ._22(X, Bs), Ys)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
QS_2_IN_GA2(._22(X, Xs), Ys) -> IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
QS_2_IN_GA2(._22(X, Xs), Ys) -> PART_4_IN_GGAA4(X, Xs, Littles, Bigs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> LESS_2_IN_GG2(X, Y)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> IF_PART_4_IN_2_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> QS_2_IN_GA2(Littles, Ls)
IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> QS_2_IN_GA2(Bigs, Bs)
IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> IF_QS_2_IN_4_GA6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
IF_QS_2_IN_3_GA6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> APP_3_IN_GGA3(Ls, ._22(X, Bs), Ys)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
APP_3_IN_GGA2(._22(X, Xs), Ys) -> APP_3_IN_GGA2(Xs, Ys)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> PART_4_IN_GGAA4(X, Xs, Ls, Bs)
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
PART_4_IN_GGAA2(X, ._22(Y, Xs)) -> PART_4_IN_GGAA2(X, Xs)
PART_4_IN_GGAA2(X, ._22(Y, Xs)) -> IF_PART_4_IN_1_GGAA4(X, Y, Xs, less_2_in_gg2(X, Y))
IF_PART_4_IN_1_GGAA4(X, Y, Xs, less_2_out_gg) -> PART_4_IN_GGAA2(X, Xs)
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> QS_2_IN_GA2(Bigs, Bs)
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> QS_2_IN_GA2(Littles, Ls)
QS_2_IN_GA2(._22(X, Xs), Ys) -> IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
IF_QS_2_IN_1_GA4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> IF_QS_2_IN_2_GA6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(._22(X, Xs), Ys) -> if_qs_2_in_1_ga4(X, Xs, Ys, part_4_in_ggaa4(X, Xs, Littles, Bigs))
part_4_in_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, less_2_out_gg2(X, Y)) -> if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(underscore, []_0, []_0, []_0) -> part_4_out_ggaa4(underscore, []_0, []_0, []_0)
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa6(X, Y, Xs, Ls, Bs, part_4_out_ggaa4(X, Xs, Ls, Bs)) -> part_4_out_ggaa4(X, ._22(Y, Xs), ._22(Y, Ls), Bs)
if_qs_2_in_1_ga4(X, Xs, Ys, part_4_out_ggaa4(X, Xs, Littles, Bigs)) -> if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_in_ga2(Littles, Ls))
if_qs_2_in_2_ga6(X, Xs, Ys, Littles, Bigs, qs_2_out_ga2(Littles, Ls)) -> if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_in_ga2(Bigs, Bs))
if_qs_2_in_3_ga6(X, Xs, Ys, Bigs, Ls, qs_2_out_ga2(Bigs, Bs)) -> if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_in_gga3(Ls, ._22(X, Bs), Ys))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_qs_2_in_4_ga6(X, Xs, Ys, Ls, Bs, app_3_out_gga3(Ls, ._22(X, Bs), Ys)) -> qs_2_out_ga2(._22(X, Xs), Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_QS_2_IN_2_GA3(X, Bigs, qs_2_out_ga1(Ls)) -> QS_2_IN_GA1(Bigs)
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> QS_2_IN_GA1(Littles)
QS_2_IN_GA1(._22(X, Xs)) -> IF_QS_2_IN_1_GA2(X, part_4_in_ggaa2(X, Xs))
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> IF_QS_2_IN_2_GA3(X, Bigs, qs_2_in_ga1(Littles))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(._22(X, Xs)) -> if_qs_2_in_1_ga2(X, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_1_ggaa4(X, Y, Xs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
if_part_4_in_1_ggaa4(X, Y, Xs, less_2_out_gg) -> if_part_4_in_2_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_3_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(underscore, []_0) -> part_4_out_ggaa2([]_0, []_0)
if_part_4_in_3_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(._22(Y, Ls), Bs)
if_qs_2_in_1_ga2(X, part_4_out_ggaa2(Littles, Bigs)) -> if_qs_2_in_2_ga3(X, Bigs, qs_2_in_ga1(Littles))
if_qs_2_in_2_ga3(X, Bigs, qs_2_out_ga1(Ls)) -> if_qs_2_in_3_ga3(X, Ls, qs_2_in_ga1(Bigs))
if_qs_2_in_3_ga3(X, Ls, qs_2_out_ga1(Bs)) -> if_qs_2_in_4_ga1(app_3_in_gga2(Ls, ._22(X, Bs)))
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
app_3_in_gga2(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
if_app_3_in_1_gga2(X, app_3_out_gga1(Zs)) -> app_3_out_gga1(._22(X, Zs))
if_qs_2_in_4_ga1(app_3_out_gga1(Ys)) -> qs_2_out_ga1(Ys)
qs_2_in_ga1(x0)
part_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_part_4_in_1_ggaa4(x0, x1, x2, x3)
if_part_4_in_3_ggaa2(x0, x1)
if_part_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
app_3_in_gga2(x0, x1)
if_app_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)
The remaining Dependency Pairs were at least non-strictly be oriented.
QS_2_IN_GA1(._22(X, Xs)) -> IF_QS_2_IN_1_GA2(X, part_4_in_ggaa2(X, Xs))
With the implicit AFS we had to orient the following set of usable rules non-strictly.
IF_QS_2_IN_2_GA3(X, Bigs, qs_2_out_ga1(Ls)) -> QS_2_IN_GA1(Bigs)
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> QS_2_IN_GA1(Littles)
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> IF_QS_2_IN_2_GA3(X, Bigs, qs_2_in_ga1(Littles))
Used ordering: POLO with Polynomial interpretation:
part_4_in_ggaa2(underscore, []_0) -> part_4_out_ggaa2([]_0, []_0)
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_1_ggaa4(X, Y, Xs, less_2_in_gg2(X, Y))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_3_ggaa2(Y, part_4_in_ggaa2(X, Xs))
if_part_4_in_3_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(Ls, ._22(Y, Bs))
if_part_4_in_1_ggaa4(X, Y, Xs, less_2_out_gg) -> if_part_4_in_2_ggaa2(Y, part_4_in_ggaa2(X, Xs))
if_part_4_in_2_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(._22(Y, Ls), Bs)
POL(if_qs_2_in_4_ga1(x1)) = 0
POL(less_2_out_gg) = 0
POL(0_0) = 0
POL(IF_QS_2_IN_1_GA2(x1, x2)) = x2
POL(qs_2_in_ga1(x1)) = 0
POL(if_app_3_in_1_gga2(x1, x2)) = 0
POL(part_4_in_ggaa2(x1, x2)) = x2
POL(qs_2_out_ga1(x1)) = 0
POL(if_part_4_in_1_ggaa4(x1, x2, x3, x4)) = 1 + x3
POL(if_qs_2_in_1_ga2(x1, x2)) = 0
POL([]_0) = 0
POL(if_qs_2_in_2_ga3(x1, x2, x3)) = 0
POL(part_4_out_ggaa2(x1, x2)) = x1 + x2
POL(._22(x1, x2)) = 1 + x2
POL(if_less_2_in_1_gg1(x1)) = 0
POL(app_3_out_gga1(x1)) = 0
POL(IF_QS_2_IN_2_GA3(x1, x2, x3)) = x2
POL(if_part_4_in_3_ggaa2(x1, x2)) = 1 + x2
POL(QS_2_IN_GA1(x1)) = x1
POL(if_part_4_in_2_ggaa2(x1, x2)) = 1 + x2
POL(s_11(x1)) = 0
POL(if_qs_2_in_3_ga3(x1, x2, x3)) = 0
POL(app_3_in_gga2(x1, x2)) = 0
POL(less_2_in_gg2(x1, x2)) = 0
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
IF_QS_2_IN_2_GA3(X, Bigs, qs_2_out_ga1(Ls)) -> QS_2_IN_GA1(Bigs)
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> QS_2_IN_GA1(Littles)
IF_QS_2_IN_1_GA2(X, part_4_out_ggaa2(Littles, Bigs)) -> IF_QS_2_IN_2_GA3(X, Bigs, qs_2_in_ga1(Littles))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(._22(X, Xs)) -> if_qs_2_in_1_ga2(X, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_1_ggaa4(X, Y, Xs, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
if_part_4_in_1_ggaa4(X, Y, Xs, less_2_out_gg) -> if_part_4_in_2_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_3_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(underscore, []_0) -> part_4_out_ggaa2([]_0, []_0)
if_part_4_in_3_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(Ls, ._22(Y, Bs))
if_part_4_in_2_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(._22(Y, Ls), Bs)
if_qs_2_in_1_ga2(X, part_4_out_ggaa2(Littles, Bigs)) -> if_qs_2_in_2_ga3(X, Bigs, qs_2_in_ga1(Littles))
if_qs_2_in_2_ga3(X, Bigs, qs_2_out_ga1(Ls)) -> if_qs_2_in_3_ga3(X, Ls, qs_2_in_ga1(Bigs))
if_qs_2_in_3_ga3(X, Ls, qs_2_out_ga1(Bs)) -> if_qs_2_in_4_ga1(app_3_in_gga2(Ls, ._22(X, Bs)))
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
app_3_in_gga2(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
if_app_3_in_1_gga2(X, app_3_out_gga1(Zs)) -> app_3_out_gga1(._22(X, Zs))
if_qs_2_in_4_ga1(app_3_out_gga1(Ys)) -> qs_2_out_ga1(Ys)
qs_2_in_ga1(x0)
part_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_part_4_in_1_ggaa4(x0, x1, x2, x3)
if_part_4_in_3_ggaa2(x0, x1)
if_part_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
app_3_in_gga2(x0, x1)
if_app_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)