↳ 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)
gt2: (b,b)
le2: (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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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, gt_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> GT_2_IN_GG2(X, Y)
GT_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GT_2_IN_1_GG3(X, Y, gt_2_in_gg2(X, Y))
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, gt_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, gt_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, le_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> LE_2_IN_GG2(X, Y)
LE_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LE_2_IN_1_GG3(X, Y, le_2_in_gg2(X, Y))
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> IF_PART_4_IN_4_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> 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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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, gt_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), ._22(Y, Ls), Bs) -> GT_2_IN_GG2(X, Y)
GT_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GT_2_IN_1_GG3(X, Y, gt_2_in_gg2(X, Y))
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, gt_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, gt_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, le_2_in_gg2(X, Y))
PART_4_IN_GGAA4(X, ._22(Y, Xs), Ls, ._22(Y, Bs)) -> LE_2_IN_GG2(X, Y)
LE_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LE_2_IN_1_GG3(X, Y, le_2_in_gg2(X, Y))
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> IF_PART_4_IN_4_GGAA6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> 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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ 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
↳ 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
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_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
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_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
↳ PiDP
↳ UsableRulesProof
↳ PiDP
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> 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, gt_2_in_gg2(X, Y))
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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
IF_PART_4_IN_1_GGAA6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
IF_PART_4_IN_3_GGAA6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> 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, gt_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
IF_PART_4_IN_1_GGAA4(X, Y, Xs, gt_2_out_gg) -> PART_4_IN_GGAA2(X, Xs)
PART_4_IN_GGAA2(X, ._22(Y, Xs)) -> IF_PART_4_IN_3_GGAA4(X, Y, Xs, le_2_in_gg2(X, Y))
IF_PART_4_IN_3_GGAA4(X, Y, Xs, le_2_out_gg) -> PART_4_IN_GGAA2(X, Xs)
PART_4_IN_GGAA2(X, ._22(Y, Xs)) -> IF_PART_4_IN_1_GGAA4(X, Y, Xs, gt_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
le_2_in_gg2(x0, x1)
gt_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_gt_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
↳ 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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg2(s_11(0_0), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_1_ggaa6(X, Y, Xs, Ls, Bs, gt_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, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg2(0_0, s_11(X))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_part_4_in_3_ggaa6(X, Y, Xs, Ls, Bs, le_2_out_gg2(X, Y)) -> if_part_4_in_4_ggaa6(X, Y, Xs, Ls, Bs, part_4_in_ggaa4(X, Xs, Ls, Bs))
part_4_in_ggaa4(X, []_0, []_0, []_0) -> part_4_out_ggaa4(X, []_0, []_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
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(._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([]_0, Ys, Ys) -> app_3_out_gga3([]_0, Ys, Ys)
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
↳ 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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
if_part_4_in_1_ggaa4(X, Y, Xs, gt_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_ggaa4(X, Y, Xs, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_part_4_in_3_ggaa4(X, Y, Xs, le_2_out_gg) -> if_part_4_in_4_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, []_0) -> part_4_out_ggaa2([]_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
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(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
app_3_in_gga2([]_0, Ys) -> app_3_out_gga1(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)
gt_2_in_gg2(x0, x1)
if_gt_2_in_1_gg1(x0)
if_part_4_in_1_ggaa4(x0, x1, x2, x3)
le_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_part_4_in_3_ggaa4(x0, x1, x2, x3)
if_part_4_in_4_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:
if_part_4_in_2_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(._22(Y, Ls), Bs)
if_part_4_in_3_ggaa4(X, Y, Xs, le_2_out_gg) -> if_part_4_in_4_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_1_ggaa4(X, Y, Xs, gt_2_in_gg2(X, Y))
part_4_in_ggaa2(X, ._22(Y, Xs)) -> if_part_4_in_3_ggaa4(X, Y, Xs, le_2_in_gg2(X, Y))
part_4_in_ggaa2(X, []_0) -> part_4_out_ggaa2([]_0, []_0)
if_part_4_in_1_ggaa4(X, Y, Xs, gt_2_out_gg) -> if_part_4_in_2_ggaa2(Y, part_4_in_ggaa2(X, Xs))
if_part_4_in_4_ggaa2(Y, part_4_out_ggaa2(Ls, Bs)) -> part_4_out_ggaa2(Ls, ._22(Y, Bs))
POL(if_qs_2_in_4_ga1(x1)) = 0
POL(gt_2_in_gg2(x1, x2)) = 0
POL(0_0) = 0
POL(IF_QS_2_IN_1_GA2(x1, x2)) = x2
POL(if_qs_2_in_1_ga2(x1, x2)) = 0
POL(if_qs_2_in_2_ga3(x1, x2, x3)) = 0
POL(if_part_4_in_4_ggaa2(x1, x2)) = 1 + x2
POL(app_3_out_gga1(x1)) = 0
POL(IF_QS_2_IN_2_GA3(x1, x2, x3)) = x2
POL(QS_2_IN_GA1(x1)) = x1
POL(if_qs_2_in_3_ga3(x1, x2, x3)) = 0
POL(if_gt_2_in_1_gg1(x1)) = 0
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(le_2_out_gg) = 0
POL(qs_2_out_ga1(x1)) = 0
POL(if_part_4_in_1_ggaa4(x1, x2, x3, x4)) = 1 + x3
POL([]_0) = 0
POL(if_le_2_in_1_gg1(x1)) = 0
POL(._22(x1, x2)) = 1 + x2
POL(part_4_out_ggaa2(x1, x2)) = x1 + x2
POL(le_2_in_gg2(x1, x2)) = 0
POL(if_part_4_in_2_ggaa2(x1, x2)) = 1 + x2
POL(if_part_4_in_3_ggaa4(x1, x2, x3, x4)) = 1 + x3
POL(s_11(x1)) = 0
POL(gt_2_out_gg) = 0
POL(app_3_in_gga2(x1, x2)) = 0
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ 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(._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, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(0_0), 0_0) -> gt_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
if_part_4_in_1_ggaa4(X, Y, Xs, gt_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_ggaa4(X, Y, Xs, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(X)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_part_4_in_3_ggaa4(X, Y, Xs, le_2_out_gg) -> if_part_4_in_4_ggaa2(Y, part_4_in_ggaa2(X, Xs))
part_4_in_ggaa2(X, []_0) -> part_4_out_ggaa2([]_0, []_0)
if_part_4_in_4_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))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
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(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
app_3_in_gga2([]_0, Ys) -> app_3_out_gga1(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)
gt_2_in_gg2(x0, x1)
if_gt_2_in_1_gg1(x0)
if_part_4_in_1_ggaa4(x0, x1, x2, x3)
le_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_part_4_in_3_ggaa4(x0, x1, x2, x3)
if_part_4_in_4_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)