(0) Obligation:
Clauses:
eq(t, t).
eq(f, f).
neq(t, f).
neq(f, t).
del(X1, [], []).
del(X, .(Y, YS), YS) :- eq(X, Y).
del(X, .(Y, YS), .(Y, ZS)) :- ','(neq(X, Y), del(X, YS, ZS)).
ge(t, t).
ge(t, f).
ge(f, f).
gt(t, f).
max([], f).
max(.(X, []), X).
max(.(X, .(Y, XS)), Z) :- ','(ge(X, Y), max(.(X, XS), Z)).
max(.(X, .(Y, XS)), Z) :- ','(gt(Y, X), max(.(Y, XS), Z)).
maxsort([], []).
maxsort(.(X, XS), .(Y, YS)) :- ','(max(.(X, XS), Y), ','(del(Y, .(X, XS), ZS), maxsort(ZS, YS))).
Query: maxsort(g,a)
(1) PrologToPiTRSViaGraphTransformerProof (SOUND transformation)
Transformed Prolog program to (Pi-)TRS.
(2) Obligation:
Pi-finite rewrite system:
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
(3) DependencyPairsProof (EQUIVALENT transformation)
Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → U1_GA(T17, T18, pB_in_gaa(T17, X14, T18))
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → PB_IN_GAA(T17, X14, T18)
PB_IN_GAA(T17, T21, T18) → U16_GAA(T17, T21, T18, delK_in_ga(T17, T21))
PB_IN_GAA(T17, T21, T18) → DELK_IN_GA(T17, T21)
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → U17_GAA(T17, T21, T18, maxsortA_in_ga(T21, T18))
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21, T18)
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → U2_GA(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → PC_IN_GAAA(T53, T55, X14, T56)
PC_IN_GAAA(T53, T57, X14, T58) → U18_GAAA(T53, T57, X14, T58, maxG_in_ga(T53, T57))
PC_IN_GAAA(T53, T57, X14, T58) → MAXG_IN_GA(T53, T57)
MAXG_IN_GA(.(t, T72), T74) → U6_GA(T72, T74, maxG_in_ga(T72, T74))
MAXG_IN_GA(.(t, T72), T74) → MAXG_IN_GA(T72, T74)
MAXG_IN_GA(.(f, T72), T74) → U7_GA(T72, T74, maxG_in_ga(T72, T74))
MAXG_IN_GA(.(f, T72), T74) → MAXG_IN_GA(T72, T74)
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_GAAA(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53, X14, T58)
PP_IN_GGAA(T57, T53, T87, T58) → U20_GGAA(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
PP_IN_GGAA(T57, T53, T87, T58) → DELL_IN_GGA(T57, T53, T87)
DELL_IN_GGA(f, T118, .(t, .(t, X187))) → U12_GGA(T118, X187, delH_in_ga(T118, X187))
DELL_IN_GGA(f, T118, .(t, .(t, X187))) → DELH_IN_GA(T118, X187)
DELH_IN_GA(.(t, T134), .(t, X228)) → U8_GA(T134, X228, delH_in_ga(T134, X228))
DELH_IN_GA(.(t, T134), .(t, X228)) → DELH_IN_GA(T134, X228)
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_GGAA(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87, T58)
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → U3_GA(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → PD_IN_GAAA(T53, T55, X14, T56)
PD_IN_GAAA(T53, T135, X14, T136) → U22_GAAA(T53, T135, X14, T136, maxG_in_ga(T53, T135))
PD_IN_GAAA(T53, T135, X14, T136) → MAXG_IN_GA(T53, T135)
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_GAAA(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53, X14, T136)
PQ_IN_GGAA(T135, T53, T139, T136) → U24_GGAA(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
PQ_IN_GGAA(T135, T53, T139, T136) → DELM_IN_GGA(T135, T53, T139)
DELM_IN_GGA(f, T160, .(t, X269)) → U13_GGA(T160, X269, delH_in_ga(.(f, T160), X269))
DELM_IN_GGA(f, T160, .(t, X269)) → DELH_IN_GA(.(f, T160), X269)
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_GGAA(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139, T136)
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → U4_GA(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → PE_IN_GAAA(T53, T55, X14, T56)
PE_IN_GAAA(T53, T163, X14, T164) → U26_GAAA(T53, T163, X14, T164, maxI_in_ga(T53, T163))
PE_IN_GAAA(T53, T163, X14, T164) → MAXI_IN_GA(T53, T163)
MAXI_IN_GA(.(f, T178), T180) → U9_GA(T178, T180, maxI_in_ga(T178, T180))
MAXI_IN_GA(.(f, T178), T180) → MAXI_IN_GA(T178, T180)
MAXI_IN_GA(.(t, T188), T190) → U10_GA(T188, T190, maxG_in_ga(T188, T190))
MAXI_IN_GA(.(t, T188), T190) → MAXG_IN_GA(T188, T190)
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_GAAA(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53, X14, T164)
PR_IN_GGAA(T163, T53, T193, T164) → U28_GGAA(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
PR_IN_GGAA(T163, T53, T193, T164) → DELN_IN_GGA(T163, T53, T193)
DELN_IN_GGA(t, T224, .(f, .(f, X384))) → U14_GGA(T224, X384, delJ_in_ga(T224, X384))
DELN_IN_GGA(t, T224, .(f, .(f, X384))) → DELJ_IN_GA(T224, X384)
DELJ_IN_GA(.(f, T240), .(f, X427)) → U11_GA(T240, X427, delJ_in_ga(T240, X427))
DELJ_IN_GA(.(f, T240), .(f, X427)) → DELJ_IN_GA(T240, X427)
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_GGAA(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193, T164)
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → U5_GA(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → PF_IN_GAAA(T251, T253, X14, T254)
PF_IN_GAAA(T251, T255, X14, T256) → U30_GAAA(T251, T255, X14, T256, maxG_in_ga(T251, T255))
PF_IN_GAAA(T251, T255, X14, T256) → MAXG_IN_GA(T251, T255)
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_GAAA(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251, X14, T256)
PS_IN_GGAA(T255, T251, T259, T256) → U32_GGAA(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
PS_IN_GGAA(T255, T251, T259, T256) → DELO_IN_GGA(T255, T251, T259)
DELO_IN_GGA(t, T280, .(f, X480)) → U15_GGA(T280, X480, delJ_in_ga(.(t, T280), X480))
DELO_IN_GGA(t, T280, .(f, X480)) → DELJ_IN_GA(.(t, T280), X480)
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_GGAA(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259, T256)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
MAXSORTA_IN_GA(
x1,
x2) =
MAXSORTA_IN_GA(
x1)
U1_GA(
x1,
x2,
x3) =
U1_GA(
x1,
x3)
PB_IN_GAA(
x1,
x2,
x3) =
PB_IN_GAA(
x1)
U16_GAA(
x1,
x2,
x3,
x4) =
U16_GAA(
x1,
x4)
DELK_IN_GA(
x1,
x2) =
DELK_IN_GA(
x1)
U17_GAA(
x1,
x2,
x3,
x4) =
U17_GAA(
x1,
x2,
x4)
U2_GA(
x1,
x2,
x3,
x4) =
U2_GA(
x1,
x4)
PC_IN_GAAA(
x1,
x2,
x3,
x4) =
PC_IN_GAAA(
x1)
U18_GAAA(
x1,
x2,
x3,
x4,
x5) =
U18_GAAA(
x1,
x5)
MAXG_IN_GA(
x1,
x2) =
MAXG_IN_GA(
x1)
U6_GA(
x1,
x2,
x3) =
U6_GA(
x1,
x3)
U7_GA(
x1,
x2,
x3) =
U7_GA(
x1,
x3)
U19_GAAA(
x1,
x2,
x3,
x4,
x5) =
U19_GAAA(
x1,
x2,
x5)
PP_IN_GGAA(
x1,
x2,
x3,
x4) =
PP_IN_GGAA(
x1,
x2)
U20_GGAA(
x1,
x2,
x3,
x4,
x5) =
U20_GGAA(
x1,
x2,
x5)
DELL_IN_GGA(
x1,
x2,
x3) =
DELL_IN_GGA(
x1,
x2)
U12_GGA(
x1,
x2,
x3) =
U12_GGA(
x1,
x3)
DELH_IN_GA(
x1,
x2) =
DELH_IN_GA(
x1)
U8_GA(
x1,
x2,
x3) =
U8_GA(
x1,
x3)
U21_GGAA(
x1,
x2,
x3,
x4,
x5) =
U21_GGAA(
x1,
x2,
x3,
x5)
U3_GA(
x1,
x2,
x3,
x4) =
U3_GA(
x1,
x4)
PD_IN_GAAA(
x1,
x2,
x3,
x4) =
PD_IN_GAAA(
x1)
U22_GAAA(
x1,
x2,
x3,
x4,
x5) =
U22_GAAA(
x1,
x5)
U23_GAAA(
x1,
x2,
x3,
x4,
x5) =
U23_GAAA(
x1,
x2,
x5)
PQ_IN_GGAA(
x1,
x2,
x3,
x4) =
PQ_IN_GGAA(
x1,
x2)
U24_GGAA(
x1,
x2,
x3,
x4,
x5) =
U24_GGAA(
x1,
x2,
x5)
DELM_IN_GGA(
x1,
x2,
x3) =
DELM_IN_GGA(
x1,
x2)
U13_GGA(
x1,
x2,
x3) =
U13_GGA(
x1,
x3)
U25_GGAA(
x1,
x2,
x3,
x4,
x5) =
U25_GGAA(
x1,
x2,
x3,
x5)
U4_GA(
x1,
x2,
x3,
x4) =
U4_GA(
x1,
x4)
PE_IN_GAAA(
x1,
x2,
x3,
x4) =
PE_IN_GAAA(
x1)
U26_GAAA(
x1,
x2,
x3,
x4,
x5) =
U26_GAAA(
x1,
x5)
MAXI_IN_GA(
x1,
x2) =
MAXI_IN_GA(
x1)
U9_GA(
x1,
x2,
x3) =
U9_GA(
x1,
x3)
U10_GA(
x1,
x2,
x3) =
U10_GA(
x1,
x3)
U27_GAAA(
x1,
x2,
x3,
x4,
x5) =
U27_GAAA(
x1,
x2,
x5)
PR_IN_GGAA(
x1,
x2,
x3,
x4) =
PR_IN_GGAA(
x1,
x2)
U28_GGAA(
x1,
x2,
x3,
x4,
x5) =
U28_GGAA(
x1,
x2,
x5)
DELN_IN_GGA(
x1,
x2,
x3) =
DELN_IN_GGA(
x1,
x2)
U14_GGA(
x1,
x2,
x3) =
U14_GGA(
x1,
x3)
DELJ_IN_GA(
x1,
x2) =
DELJ_IN_GA(
x1)
U11_GA(
x1,
x2,
x3) =
U11_GA(
x1,
x3)
U29_GGAA(
x1,
x2,
x3,
x4,
x5) =
U29_GGAA(
x1,
x2,
x3,
x5)
U5_GA(
x1,
x2,
x3,
x4) =
U5_GA(
x1,
x4)
PF_IN_GAAA(
x1,
x2,
x3,
x4) =
PF_IN_GAAA(
x1)
U30_GAAA(
x1,
x2,
x3,
x4,
x5) =
U30_GAAA(
x1,
x5)
U31_GAAA(
x1,
x2,
x3,
x4,
x5) =
U31_GAAA(
x1,
x2,
x5)
PS_IN_GGAA(
x1,
x2,
x3,
x4) =
PS_IN_GGAA(
x1,
x2)
U32_GGAA(
x1,
x2,
x3,
x4,
x5) =
U32_GGAA(
x1,
x2,
x5)
DELO_IN_GGA(
x1,
x2,
x3) =
DELO_IN_GGA(
x1,
x2)
U15_GGA(
x1,
x2,
x3) =
U15_GGA(
x1,
x3)
U33_GGAA(
x1,
x2,
x3,
x4,
x5) =
U33_GGAA(
x1,
x2,
x3,
x5)
We have to consider all (P,R,Pi)-chains
(4) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → U1_GA(T17, T18, pB_in_gaa(T17, X14, T18))
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → PB_IN_GAA(T17, X14, T18)
PB_IN_GAA(T17, T21, T18) → U16_GAA(T17, T21, T18, delK_in_ga(T17, T21))
PB_IN_GAA(T17, T21, T18) → DELK_IN_GA(T17, T21)
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → U17_GAA(T17, T21, T18, maxsortA_in_ga(T21, T18))
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21, T18)
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → U2_GA(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → PC_IN_GAAA(T53, T55, X14, T56)
PC_IN_GAAA(T53, T57, X14, T58) → U18_GAAA(T53, T57, X14, T58, maxG_in_ga(T53, T57))
PC_IN_GAAA(T53, T57, X14, T58) → MAXG_IN_GA(T53, T57)
MAXG_IN_GA(.(t, T72), T74) → U6_GA(T72, T74, maxG_in_ga(T72, T74))
MAXG_IN_GA(.(t, T72), T74) → MAXG_IN_GA(T72, T74)
MAXG_IN_GA(.(f, T72), T74) → U7_GA(T72, T74, maxG_in_ga(T72, T74))
MAXG_IN_GA(.(f, T72), T74) → MAXG_IN_GA(T72, T74)
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_GAAA(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53, X14, T58)
PP_IN_GGAA(T57, T53, T87, T58) → U20_GGAA(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
PP_IN_GGAA(T57, T53, T87, T58) → DELL_IN_GGA(T57, T53, T87)
DELL_IN_GGA(f, T118, .(t, .(t, X187))) → U12_GGA(T118, X187, delH_in_ga(T118, X187))
DELL_IN_GGA(f, T118, .(t, .(t, X187))) → DELH_IN_GA(T118, X187)
DELH_IN_GA(.(t, T134), .(t, X228)) → U8_GA(T134, X228, delH_in_ga(T134, X228))
DELH_IN_GA(.(t, T134), .(t, X228)) → DELH_IN_GA(T134, X228)
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_GGAA(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87, T58)
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → U3_GA(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → PD_IN_GAAA(T53, T55, X14, T56)
PD_IN_GAAA(T53, T135, X14, T136) → U22_GAAA(T53, T135, X14, T136, maxG_in_ga(T53, T135))
PD_IN_GAAA(T53, T135, X14, T136) → MAXG_IN_GA(T53, T135)
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_GAAA(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53, X14, T136)
PQ_IN_GGAA(T135, T53, T139, T136) → U24_GGAA(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
PQ_IN_GGAA(T135, T53, T139, T136) → DELM_IN_GGA(T135, T53, T139)
DELM_IN_GGA(f, T160, .(t, X269)) → U13_GGA(T160, X269, delH_in_ga(.(f, T160), X269))
DELM_IN_GGA(f, T160, .(t, X269)) → DELH_IN_GA(.(f, T160), X269)
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_GGAA(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139, T136)
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → U4_GA(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → PE_IN_GAAA(T53, T55, X14, T56)
PE_IN_GAAA(T53, T163, X14, T164) → U26_GAAA(T53, T163, X14, T164, maxI_in_ga(T53, T163))
PE_IN_GAAA(T53, T163, X14, T164) → MAXI_IN_GA(T53, T163)
MAXI_IN_GA(.(f, T178), T180) → U9_GA(T178, T180, maxI_in_ga(T178, T180))
MAXI_IN_GA(.(f, T178), T180) → MAXI_IN_GA(T178, T180)
MAXI_IN_GA(.(t, T188), T190) → U10_GA(T188, T190, maxG_in_ga(T188, T190))
MAXI_IN_GA(.(t, T188), T190) → MAXG_IN_GA(T188, T190)
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_GAAA(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53, X14, T164)
PR_IN_GGAA(T163, T53, T193, T164) → U28_GGAA(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
PR_IN_GGAA(T163, T53, T193, T164) → DELN_IN_GGA(T163, T53, T193)
DELN_IN_GGA(t, T224, .(f, .(f, X384))) → U14_GGA(T224, X384, delJ_in_ga(T224, X384))
DELN_IN_GGA(t, T224, .(f, .(f, X384))) → DELJ_IN_GA(T224, X384)
DELJ_IN_GA(.(f, T240), .(f, X427)) → U11_GA(T240, X427, delJ_in_ga(T240, X427))
DELJ_IN_GA(.(f, T240), .(f, X427)) → DELJ_IN_GA(T240, X427)
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_GGAA(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193, T164)
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → U5_GA(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → PF_IN_GAAA(T251, T253, X14, T254)
PF_IN_GAAA(T251, T255, X14, T256) → U30_GAAA(T251, T255, X14, T256, maxG_in_ga(T251, T255))
PF_IN_GAAA(T251, T255, X14, T256) → MAXG_IN_GA(T251, T255)
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_GAAA(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251, X14, T256)
PS_IN_GGAA(T255, T251, T259, T256) → U32_GGAA(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
PS_IN_GGAA(T255, T251, T259, T256) → DELO_IN_GGA(T255, T251, T259)
DELO_IN_GGA(t, T280, .(f, X480)) → U15_GGA(T280, X480, delJ_in_ga(.(t, T280), X480))
DELO_IN_GGA(t, T280, .(f, X480)) → DELJ_IN_GA(.(t, T280), X480)
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_GGAA(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259, T256)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
MAXSORTA_IN_GA(
x1,
x2) =
MAXSORTA_IN_GA(
x1)
U1_GA(
x1,
x2,
x3) =
U1_GA(
x1,
x3)
PB_IN_GAA(
x1,
x2,
x3) =
PB_IN_GAA(
x1)
U16_GAA(
x1,
x2,
x3,
x4) =
U16_GAA(
x1,
x4)
DELK_IN_GA(
x1,
x2) =
DELK_IN_GA(
x1)
U17_GAA(
x1,
x2,
x3,
x4) =
U17_GAA(
x1,
x2,
x4)
U2_GA(
x1,
x2,
x3,
x4) =
U2_GA(
x1,
x4)
PC_IN_GAAA(
x1,
x2,
x3,
x4) =
PC_IN_GAAA(
x1)
U18_GAAA(
x1,
x2,
x3,
x4,
x5) =
U18_GAAA(
x1,
x5)
MAXG_IN_GA(
x1,
x2) =
MAXG_IN_GA(
x1)
U6_GA(
x1,
x2,
x3) =
U6_GA(
x1,
x3)
U7_GA(
x1,
x2,
x3) =
U7_GA(
x1,
x3)
U19_GAAA(
x1,
x2,
x3,
x4,
x5) =
U19_GAAA(
x1,
x2,
x5)
PP_IN_GGAA(
x1,
x2,
x3,
x4) =
PP_IN_GGAA(
x1,
x2)
U20_GGAA(
x1,
x2,
x3,
x4,
x5) =
U20_GGAA(
x1,
x2,
x5)
DELL_IN_GGA(
x1,
x2,
x3) =
DELL_IN_GGA(
x1,
x2)
U12_GGA(
x1,
x2,
x3) =
U12_GGA(
x1,
x3)
DELH_IN_GA(
x1,
x2) =
DELH_IN_GA(
x1)
U8_GA(
x1,
x2,
x3) =
U8_GA(
x1,
x3)
U21_GGAA(
x1,
x2,
x3,
x4,
x5) =
U21_GGAA(
x1,
x2,
x3,
x5)
U3_GA(
x1,
x2,
x3,
x4) =
U3_GA(
x1,
x4)
PD_IN_GAAA(
x1,
x2,
x3,
x4) =
PD_IN_GAAA(
x1)
U22_GAAA(
x1,
x2,
x3,
x4,
x5) =
U22_GAAA(
x1,
x5)
U23_GAAA(
x1,
x2,
x3,
x4,
x5) =
U23_GAAA(
x1,
x2,
x5)
PQ_IN_GGAA(
x1,
x2,
x3,
x4) =
PQ_IN_GGAA(
x1,
x2)
U24_GGAA(
x1,
x2,
x3,
x4,
x5) =
U24_GGAA(
x1,
x2,
x5)
DELM_IN_GGA(
x1,
x2,
x3) =
DELM_IN_GGA(
x1,
x2)
U13_GGA(
x1,
x2,
x3) =
U13_GGA(
x1,
x3)
U25_GGAA(
x1,
x2,
x3,
x4,
x5) =
U25_GGAA(
x1,
x2,
x3,
x5)
U4_GA(
x1,
x2,
x3,
x4) =
U4_GA(
x1,
x4)
PE_IN_GAAA(
x1,
x2,
x3,
x4) =
PE_IN_GAAA(
x1)
U26_GAAA(
x1,
x2,
x3,
x4,
x5) =
U26_GAAA(
x1,
x5)
MAXI_IN_GA(
x1,
x2) =
MAXI_IN_GA(
x1)
U9_GA(
x1,
x2,
x3) =
U9_GA(
x1,
x3)
U10_GA(
x1,
x2,
x3) =
U10_GA(
x1,
x3)
U27_GAAA(
x1,
x2,
x3,
x4,
x5) =
U27_GAAA(
x1,
x2,
x5)
PR_IN_GGAA(
x1,
x2,
x3,
x4) =
PR_IN_GGAA(
x1,
x2)
U28_GGAA(
x1,
x2,
x3,
x4,
x5) =
U28_GGAA(
x1,
x2,
x5)
DELN_IN_GGA(
x1,
x2,
x3) =
DELN_IN_GGA(
x1,
x2)
U14_GGA(
x1,
x2,
x3) =
U14_GGA(
x1,
x3)
DELJ_IN_GA(
x1,
x2) =
DELJ_IN_GA(
x1)
U11_GA(
x1,
x2,
x3) =
U11_GA(
x1,
x3)
U29_GGAA(
x1,
x2,
x3,
x4,
x5) =
U29_GGAA(
x1,
x2,
x3,
x5)
U5_GA(
x1,
x2,
x3,
x4) =
U5_GA(
x1,
x4)
PF_IN_GAAA(
x1,
x2,
x3,
x4) =
PF_IN_GAAA(
x1)
U30_GAAA(
x1,
x2,
x3,
x4,
x5) =
U30_GAAA(
x1,
x5)
U31_GAAA(
x1,
x2,
x3,
x4,
x5) =
U31_GAAA(
x1,
x2,
x5)
PS_IN_GGAA(
x1,
x2,
x3,
x4) =
PS_IN_GGAA(
x1,
x2)
U32_GGAA(
x1,
x2,
x3,
x4,
x5) =
U32_GGAA(
x1,
x2,
x5)
DELO_IN_GGA(
x1,
x2,
x3) =
DELO_IN_GGA(
x1,
x2)
U15_GGA(
x1,
x2,
x3) =
U15_GGA(
x1,
x3)
U33_GGAA(
x1,
x2,
x3,
x4,
x5) =
U33_GGAA(
x1,
x2,
x3,
x5)
We have to consider all (P,R,Pi)-chains
(5) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LOPSTR] contains 5 SCCs with 38 less nodes.
(6) Complex Obligation (AND)
(7) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
DELJ_IN_GA(.(f, T240), .(f, X427)) → DELJ_IN_GA(T240, X427)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
DELJ_IN_GA(
x1,
x2) =
DELJ_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(8) UsableRulesProof (EQUIVALENT transformation)
For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.
(9) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
DELJ_IN_GA(.(f, T240), .(f, X427)) → DELJ_IN_GA(T240, X427)
R is empty.
The argument filtering Pi contains the following mapping:
.(
x1,
x2) =
.(
x1,
x2)
f =
f
DELJ_IN_GA(
x1,
x2) =
DELJ_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(10) PiDPToQDPProof (SOUND transformation)
Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.
(11) Obligation:
Q DP problem:
The TRS P consists of the following rules:
DELJ_IN_GA(.(f, T240)) → DELJ_IN_GA(T240)
R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
(12) QDPSizeChangeProof (EQUIVALENT transformation)
By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.
From the DPs we obtained the following set of size-change graphs:
- DELJ_IN_GA(.(f, T240)) → DELJ_IN_GA(T240)
The graph contains the following edges 1 > 1
(13) YES
(14) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
DELH_IN_GA(.(t, T134), .(t, X228)) → DELH_IN_GA(T134, X228)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
DELH_IN_GA(
x1,
x2) =
DELH_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(15) UsableRulesProof (EQUIVALENT transformation)
For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.
(16) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
DELH_IN_GA(.(t, T134), .(t, X228)) → DELH_IN_GA(T134, X228)
R is empty.
The argument filtering Pi contains the following mapping:
.(
x1,
x2) =
.(
x1,
x2)
t =
t
DELH_IN_GA(
x1,
x2) =
DELH_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(17) PiDPToQDPProof (SOUND transformation)
Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.
(18) Obligation:
Q DP problem:
The TRS P consists of the following rules:
DELH_IN_GA(.(t, T134)) → DELH_IN_GA(T134)
R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
(19) QDPSizeChangeProof (EQUIVALENT transformation)
By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.
From the DPs we obtained the following set of size-change graphs:
- DELH_IN_GA(.(t, T134)) → DELH_IN_GA(T134)
The graph contains the following edges 1 > 1
(20) YES
(21) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXG_IN_GA(.(f, T72), T74) → MAXG_IN_GA(T72, T74)
MAXG_IN_GA(.(t, T72), T74) → MAXG_IN_GA(T72, T74)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
MAXG_IN_GA(
x1,
x2) =
MAXG_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(22) UsableRulesProof (EQUIVALENT transformation)
For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.
(23) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXG_IN_GA(.(f, T72), T74) → MAXG_IN_GA(T72, T74)
MAXG_IN_GA(.(t, T72), T74) → MAXG_IN_GA(T72, T74)
R is empty.
The argument filtering Pi contains the following mapping:
.(
x1,
x2) =
.(
x1,
x2)
t =
t
f =
f
MAXG_IN_GA(
x1,
x2) =
MAXG_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(24) PiDPToQDPProof (SOUND transformation)
Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.
(25) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXG_IN_GA(.(f, T72)) → MAXG_IN_GA(T72)
MAXG_IN_GA(.(t, T72)) → MAXG_IN_GA(T72)
R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
(26) QDPSizeChangeProof (EQUIVALENT transformation)
By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.
From the DPs we obtained the following set of size-change graphs:
- MAXG_IN_GA(.(f, T72)) → MAXG_IN_GA(T72)
The graph contains the following edges 1 > 1
- MAXG_IN_GA(.(t, T72)) → MAXG_IN_GA(T72)
The graph contains the following edges 1 > 1
(27) YES
(28) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXI_IN_GA(.(f, T178), T180) → MAXI_IN_GA(T178, T180)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
MAXI_IN_GA(
x1,
x2) =
MAXI_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(29) UsableRulesProof (EQUIVALENT transformation)
For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.
(30) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXI_IN_GA(.(f, T178), T180) → MAXI_IN_GA(T178, T180)
R is empty.
The argument filtering Pi contains the following mapping:
.(
x1,
x2) =
.(
x1,
x2)
f =
f
MAXI_IN_GA(
x1,
x2) =
MAXI_IN_GA(
x1)
We have to consider all (P,R,Pi)-chains
(31) PiDPToQDPProof (SOUND transformation)
Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.
(32) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXI_IN_GA(.(f, T178)) → MAXI_IN_GA(T178)
R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
(33) QDPSizeChangeProof (EQUIVALENT transformation)
By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.
From the DPs we obtained the following set of size-change graphs:
- MAXI_IN_GA(.(f, T178)) → MAXI_IN_GA(T178)
The graph contains the following edges 1 > 1
(34) YES
(35) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → PB_IN_GAA(T17, X14, T18)
PB_IN_GAA(T17, T21, T18) → U16_GAA(T17, T21, T18, delK_in_ga(T17, T21))
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21, T18)
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → PC_IN_GAAA(T53, T55, X14, T56)
PC_IN_GAAA(T53, T57, X14, T58) → U18_GAAA(T53, T57, X14, T58, maxG_in_ga(T53, T57))
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53, X14, T58)
PP_IN_GGAA(T57, T53, T87, T58) → U20_GGAA(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87, T58)
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → PD_IN_GAAA(T53, T55, X14, T56)
PD_IN_GAAA(T53, T135, X14, T136) → U22_GAAA(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53, X14, T136)
PQ_IN_GGAA(T135, T53, T139, T136) → U24_GGAA(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139, T136)
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → PE_IN_GAAA(T53, T55, X14, T56)
PE_IN_GAAA(T53, T163, X14, T164) → U26_GAAA(T53, T163, X14, T164, maxI_in_ga(T53, T163))
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53, X14, T164)
PR_IN_GGAA(T163, T53, T193, T164) → U28_GGAA(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193, T164)
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → PF_IN_GAAA(T251, T253, X14, T254)
PF_IN_GAAA(T251, T255, X14, T256) → U30_GAAA(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251, X14, T256)
PS_IN_GGAA(T255, T251, T259, T256) → U32_GGAA(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259, T256)
The TRS R consists of the following rules:
maxsortA_in_ga([], []) → maxsortA_out_ga([], [])
maxsortA_in_ga(.(T17, []), .(T17, T18)) → U1_ga(T17, T18, pB_in_gaa(T17, X14, T18))
pB_in_gaa(T17, T21, T18) → U16_gaa(T17, T21, T18, delK_in_ga(T17, T21))
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
U16_gaa(T17, T21, T18, delK_out_ga(T17, T21)) → U17_gaa(T17, T21, T18, maxsortA_in_ga(T21, T18))
maxsortA_in_ga(.(t, .(t, T53)), .(T55, T56)) → U2_ga(T53, T55, T56, pC_in_gaaa(T53, T55, X14, T56))
pC_in_gaaa(T53, T57, X14, T58) → U18_gaaa(T53, T57, X14, T58, maxG_in_ga(T53, T57))
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U18_gaaa(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → U19_gaaa(T53, T57, X14, T58, pP_in_ggaa(T57, T53, X14, T58))
pP_in_ggaa(T57, T53, T87, T58) → U20_ggaa(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U20_ggaa(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → U21_ggaa(T57, T53, T87, T58, maxsortA_in_ga(T87, T58))
maxsortA_in_ga(.(t, .(f, T53)), .(T55, T56)) → U3_ga(T53, T55, T56, pD_in_gaaa(T53, T55, X14, T56))
pD_in_gaaa(T53, T135, X14, T136) → U22_gaaa(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_gaaa(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → U23_gaaa(T53, T135, X14, T136, pQ_in_ggaa(T135, T53, X14, T136))
pQ_in_ggaa(T135, T53, T139, T136) → U24_ggaa(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U24_ggaa(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → U25_ggaa(T135, T53, T139, T136, maxsortA_in_ga(T139, T136))
maxsortA_in_ga(.(f, .(f, T53)), .(T55, T56)) → U4_ga(T53, T55, T56, pE_in_gaaa(T53, T55, X14, T56))
pE_in_gaaa(T53, T163, X14, T164) → U26_gaaa(T53, T163, X14, T164, maxI_in_ga(T53, T163))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U26_gaaa(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → U27_gaaa(T53, T163, X14, T164, pR_in_ggaa(T163, T53, X14, T164))
pR_in_ggaa(T163, T53, T193, T164) → U28_ggaa(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U28_ggaa(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → U29_ggaa(T163, T53, T193, T164, maxsortA_in_ga(T193, T164))
maxsortA_in_ga(.(f, .(t, T251)), .(T253, T254)) → U5_ga(T251, T253, T254, pF_in_gaaa(T251, T253, X14, T254))
pF_in_gaaa(T251, T255, X14, T256) → U30_gaaa(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_gaaa(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → U31_gaaa(T251, T255, X14, T256, pS_in_ggaa(T255, T251, X14, T256))
pS_in_ggaa(T255, T251, T259, T256) → U32_ggaa(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
U32_ggaa(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → U33_ggaa(T255, T251, T259, T256, maxsortA_in_ga(T259, T256))
U33_ggaa(T255, T251, T259, T256, maxsortA_out_ga(T259, T256)) → pS_out_ggaa(T255, T251, T259, T256)
U31_gaaa(T251, T255, X14, T256, pS_out_ggaa(T255, T251, X14, T256)) → pF_out_gaaa(T251, T255, X14, T256)
U5_ga(T251, T253, T254, pF_out_gaaa(T251, T253, X14, T254)) → maxsortA_out_ga(.(f, .(t, T251)), .(T253, T254))
U29_ggaa(T163, T53, T193, T164, maxsortA_out_ga(T193, T164)) → pR_out_ggaa(T163, T53, T193, T164)
U27_gaaa(T53, T163, X14, T164, pR_out_ggaa(T163, T53, X14, T164)) → pE_out_gaaa(T53, T163, X14, T164)
U4_ga(T53, T55, T56, pE_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(f, .(f, T53)), .(T55, T56))
U25_ggaa(T135, T53, T139, T136, maxsortA_out_ga(T139, T136)) → pQ_out_ggaa(T135, T53, T139, T136)
U23_gaaa(T53, T135, X14, T136, pQ_out_ggaa(T135, T53, X14, T136)) → pD_out_gaaa(T53, T135, X14, T136)
U3_ga(T53, T55, T56, pD_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(f, T53)), .(T55, T56))
U21_ggaa(T57, T53, T87, T58, maxsortA_out_ga(T87, T58)) → pP_out_ggaa(T57, T53, T87, T58)
U19_gaaa(T53, T57, X14, T58, pP_out_ggaa(T57, T53, X14, T58)) → pC_out_gaaa(T53, T57, X14, T58)
U2_ga(T53, T55, T56, pC_out_gaaa(T53, T55, X14, T56)) → maxsortA_out_ga(.(t, .(t, T53)), .(T55, T56))
U17_gaa(T17, T21, T18, maxsortA_out_ga(T21, T18)) → pB_out_gaa(T17, T21, T18)
U1_ga(T17, T18, pB_out_gaa(T17, X14, T18)) → maxsortA_out_ga(.(T17, []), .(T17, T18))
The argument filtering Pi contains the following mapping:
maxsortA_in_ga(
x1,
x2) =
maxsortA_in_ga(
x1)
[] =
[]
maxsortA_out_ga(
x1,
x2) =
maxsortA_out_ga(
x1,
x2)
.(
x1,
x2) =
.(
x1,
x2)
U1_ga(
x1,
x2,
x3) =
U1_ga(
x1,
x3)
pB_in_gaa(
x1,
x2,
x3) =
pB_in_gaa(
x1)
U16_gaa(
x1,
x2,
x3,
x4) =
U16_gaa(
x1,
x4)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
U17_gaa(
x1,
x2,
x3,
x4) =
U17_gaa(
x1,
x2,
x4)
U2_ga(
x1,
x2,
x3,
x4) =
U2_ga(
x1,
x4)
pC_in_gaaa(
x1,
x2,
x3,
x4) =
pC_in_gaaa(
x1)
U18_gaaa(
x1,
x2,
x3,
x4,
x5) =
U18_gaaa(
x1,
x5)
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
U19_gaaa(
x1,
x2,
x3,
x4,
x5) =
U19_gaaa(
x1,
x2,
x5)
pP_in_ggaa(
x1,
x2,
x3,
x4) =
pP_in_ggaa(
x1,
x2)
U20_ggaa(
x1,
x2,
x3,
x4,
x5) =
U20_ggaa(
x1,
x2,
x5)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
U21_ggaa(
x1,
x2,
x3,
x4,
x5) =
U21_ggaa(
x1,
x2,
x3,
x5)
U3_ga(
x1,
x2,
x3,
x4) =
U3_ga(
x1,
x4)
pD_in_gaaa(
x1,
x2,
x3,
x4) =
pD_in_gaaa(
x1)
U22_gaaa(
x1,
x2,
x3,
x4,
x5) =
U22_gaaa(
x1,
x5)
U23_gaaa(
x1,
x2,
x3,
x4,
x5) =
U23_gaaa(
x1,
x2,
x5)
pQ_in_ggaa(
x1,
x2,
x3,
x4) =
pQ_in_ggaa(
x1,
x2)
U24_ggaa(
x1,
x2,
x3,
x4,
x5) =
U24_ggaa(
x1,
x2,
x5)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
U25_ggaa(
x1,
x2,
x3,
x4,
x5) =
U25_ggaa(
x1,
x2,
x3,
x5)
U4_ga(
x1,
x2,
x3,
x4) =
U4_ga(
x1,
x4)
pE_in_gaaa(
x1,
x2,
x3,
x4) =
pE_in_gaaa(
x1)
U26_gaaa(
x1,
x2,
x3,
x4,
x5) =
U26_gaaa(
x1,
x5)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
U27_gaaa(
x1,
x2,
x3,
x4,
x5) =
U27_gaaa(
x1,
x2,
x5)
pR_in_ggaa(
x1,
x2,
x3,
x4) =
pR_in_ggaa(
x1,
x2)
U28_ggaa(
x1,
x2,
x3,
x4,
x5) =
U28_ggaa(
x1,
x2,
x5)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
U29_ggaa(
x1,
x2,
x3,
x4,
x5) =
U29_ggaa(
x1,
x2,
x3,
x5)
U5_ga(
x1,
x2,
x3,
x4) =
U5_ga(
x1,
x4)
pF_in_gaaa(
x1,
x2,
x3,
x4) =
pF_in_gaaa(
x1)
U30_gaaa(
x1,
x2,
x3,
x4,
x5) =
U30_gaaa(
x1,
x5)
U31_gaaa(
x1,
x2,
x3,
x4,
x5) =
U31_gaaa(
x1,
x2,
x5)
pS_in_ggaa(
x1,
x2,
x3,
x4) =
pS_in_ggaa(
x1,
x2)
U32_ggaa(
x1,
x2,
x3,
x4,
x5) =
U32_ggaa(
x1,
x2,
x5)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
U33_ggaa(
x1,
x2,
x3,
x4,
x5) =
U33_ggaa(
x1,
x2,
x3,
x5)
pS_out_ggaa(
x1,
x2,
x3,
x4) =
pS_out_ggaa(
x1,
x2,
x3,
x4)
pF_out_gaaa(
x1,
x2,
x3,
x4) =
pF_out_gaaa(
x1,
x2,
x3,
x4)
pR_out_ggaa(
x1,
x2,
x3,
x4) =
pR_out_ggaa(
x1,
x2,
x3,
x4)
pE_out_gaaa(
x1,
x2,
x3,
x4) =
pE_out_gaaa(
x1,
x2,
x3,
x4)
pQ_out_ggaa(
x1,
x2,
x3,
x4) =
pQ_out_ggaa(
x1,
x2,
x3,
x4)
pD_out_gaaa(
x1,
x2,
x3,
x4) =
pD_out_gaaa(
x1,
x2,
x3,
x4)
pP_out_ggaa(
x1,
x2,
x3,
x4) =
pP_out_ggaa(
x1,
x2,
x3,
x4)
pC_out_gaaa(
x1,
x2,
x3,
x4) =
pC_out_gaaa(
x1,
x2,
x3,
x4)
pB_out_gaa(
x1,
x2,
x3) =
pB_out_gaa(
x1,
x2,
x3)
MAXSORTA_IN_GA(
x1,
x2) =
MAXSORTA_IN_GA(
x1)
PB_IN_GAA(
x1,
x2,
x3) =
PB_IN_GAA(
x1)
U16_GAA(
x1,
x2,
x3,
x4) =
U16_GAA(
x1,
x4)
PC_IN_GAAA(
x1,
x2,
x3,
x4) =
PC_IN_GAAA(
x1)
U18_GAAA(
x1,
x2,
x3,
x4,
x5) =
U18_GAAA(
x1,
x5)
PP_IN_GGAA(
x1,
x2,
x3,
x4) =
PP_IN_GGAA(
x1,
x2)
U20_GGAA(
x1,
x2,
x3,
x4,
x5) =
U20_GGAA(
x1,
x2,
x5)
PD_IN_GAAA(
x1,
x2,
x3,
x4) =
PD_IN_GAAA(
x1)
U22_GAAA(
x1,
x2,
x3,
x4,
x5) =
U22_GAAA(
x1,
x5)
PQ_IN_GGAA(
x1,
x2,
x3,
x4) =
PQ_IN_GGAA(
x1,
x2)
U24_GGAA(
x1,
x2,
x3,
x4,
x5) =
U24_GGAA(
x1,
x2,
x5)
PE_IN_GAAA(
x1,
x2,
x3,
x4) =
PE_IN_GAAA(
x1)
U26_GAAA(
x1,
x2,
x3,
x4,
x5) =
U26_GAAA(
x1,
x5)
PR_IN_GGAA(
x1,
x2,
x3,
x4) =
PR_IN_GGAA(
x1,
x2)
U28_GGAA(
x1,
x2,
x3,
x4,
x5) =
U28_GGAA(
x1,
x2,
x5)
PF_IN_GAAA(
x1,
x2,
x3,
x4) =
PF_IN_GAAA(
x1)
U30_GAAA(
x1,
x2,
x3,
x4,
x5) =
U30_GAAA(
x1,
x5)
PS_IN_GGAA(
x1,
x2,
x3,
x4) =
PS_IN_GGAA(
x1,
x2)
U32_GGAA(
x1,
x2,
x3,
x4,
x5) =
U32_GGAA(
x1,
x2,
x5)
We have to consider all (P,R,Pi)-chains
(36) UsableRulesProof (EQUIVALENT transformation)
For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.
(37) Obligation:
Pi DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, []), .(T17, T18)) → PB_IN_GAA(T17, X14, T18)
PB_IN_GAA(T17, T21, T18) → U16_GAA(T17, T21, T18, delK_in_ga(T17, T21))
U16_GAA(T17, T21, T18, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21, T18)
MAXSORTA_IN_GA(.(t, .(t, T53)), .(T55, T56)) → PC_IN_GAAA(T53, T55, X14, T56)
PC_IN_GAAA(T53, T57, X14, T58) → U18_GAAA(T53, T57, X14, T58, maxG_in_ga(T53, T57))
U18_GAAA(T53, T57, X14, T58, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53, X14, T58)
PP_IN_GGAA(T57, T53, T87, T58) → U20_GGAA(T57, T53, T87, T58, delL_in_gga(T57, T53, T87))
U20_GGAA(T57, T53, T87, T58, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87, T58)
MAXSORTA_IN_GA(.(t, .(f, T53)), .(T55, T56)) → PD_IN_GAAA(T53, T55, X14, T56)
PD_IN_GAAA(T53, T135, X14, T136) → U22_GAAA(T53, T135, X14, T136, maxG_in_ga(T53, T135))
U22_GAAA(T53, T135, X14, T136, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53, X14, T136)
PQ_IN_GGAA(T135, T53, T139, T136) → U24_GGAA(T135, T53, T139, T136, delM_in_gga(T135, T53, T139))
U24_GGAA(T135, T53, T139, T136, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139, T136)
MAXSORTA_IN_GA(.(f, .(f, T53)), .(T55, T56)) → PE_IN_GAAA(T53, T55, X14, T56)
PE_IN_GAAA(T53, T163, X14, T164) → U26_GAAA(T53, T163, X14, T164, maxI_in_ga(T53, T163))
U26_GAAA(T53, T163, X14, T164, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53, X14, T164)
PR_IN_GGAA(T163, T53, T193, T164) → U28_GGAA(T163, T53, T193, T164, delN_in_gga(T163, T53, T193))
U28_GGAA(T163, T53, T193, T164, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193, T164)
MAXSORTA_IN_GA(.(f, .(t, T251)), .(T253, T254)) → PF_IN_GAAA(T251, T253, X14, T254)
PF_IN_GAAA(T251, T255, X14, T256) → U30_GAAA(T251, T255, X14, T256, maxG_in_ga(T251, T255))
U30_GAAA(T251, T255, X14, T256, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251, X14, T256)
PS_IN_GGAA(T255, T251, T259, T256) → U32_GGAA(T255, T251, T259, T256, delO_in_gga(T255, T251, T259))
U32_GGAA(T255, T251, T259, T256, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259, T256)
The TRS R consists of the following rules:
delK_in_ga(t, []) → delK_out_ga(t, [])
delK_in_ga(f, []) → delK_out_ga(f, [])
maxG_in_ga([], t) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72), T74) → U6_ga(T72, T74, maxG_in_ga(T72, T74))
maxG_in_ga(.(f, T72), T74) → U7_ga(T72, T74, maxG_in_ga(T72, T74))
delL_in_gga(t, T100, .(t, T100)) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118, .(t, .(t, X187))) → U12_gga(T118, X187, delH_in_ga(T118, X187))
delM_in_gga(t, T152, .(f, T152)) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160, .(t, X269)) → U13_gga(T160, X269, delH_in_ga(.(f, T160), X269))
maxI_in_ga([], f) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178), T180) → U9_ga(T178, T180, maxI_in_ga(T178, T180))
maxI_in_ga(.(t, T188), T190) → U10_ga(T188, T190, maxG_in_ga(T188, T190))
delN_in_gga(f, T206, .(f, T206)) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224, .(f, .(f, X384))) → U14_gga(T224, X384, delJ_in_ga(T224, X384))
delO_in_gga(f, T272, .(t, T272)) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280, .(f, X480)) → U15_gga(T280, X480, delJ_in_ga(.(t, T280), X480))
U6_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U7_ga(T72, T74, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U12_gga(T118, X187, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U13_gga(T160, X269, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U9_ga(T178, T180, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U10_ga(T188, T190, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U14_gga(T224, X384, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U15_gga(T280, X480, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
delH_in_ga([], []) → delH_out_ga([], [])
delH_in_ga(.(f, T128), T128) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134), .(t, X228)) → U8_ga(T134, X228, delH_in_ga(T134, X228))
delJ_in_ga([], []) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234), T234) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240), .(f, X427)) → U11_ga(T240, X427, delJ_in_ga(T240, X427))
U8_ga(T134, X228, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U11_ga(T240, X427, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
The argument filtering Pi contains the following mapping:
[] =
[]
.(
x1,
x2) =
.(
x1,
x2)
delK_in_ga(
x1,
x2) =
delK_in_ga(
x1)
t =
t
delK_out_ga(
x1,
x2) =
delK_out_ga(
x1,
x2)
f =
f
maxG_in_ga(
x1,
x2) =
maxG_in_ga(
x1)
maxG_out_ga(
x1,
x2) =
maxG_out_ga(
x1,
x2)
U6_ga(
x1,
x2,
x3) =
U6_ga(
x1,
x3)
U7_ga(
x1,
x2,
x3) =
U7_ga(
x1,
x3)
delL_in_gga(
x1,
x2,
x3) =
delL_in_gga(
x1,
x2)
delL_out_gga(
x1,
x2,
x3) =
delL_out_gga(
x1,
x2,
x3)
U12_gga(
x1,
x2,
x3) =
U12_gga(
x1,
x3)
delH_in_ga(
x1,
x2) =
delH_in_ga(
x1)
delH_out_ga(
x1,
x2) =
delH_out_ga(
x1,
x2)
U8_ga(
x1,
x2,
x3) =
U8_ga(
x1,
x3)
delM_in_gga(
x1,
x2,
x3) =
delM_in_gga(
x1,
x2)
delM_out_gga(
x1,
x2,
x3) =
delM_out_gga(
x1,
x2,
x3)
U13_gga(
x1,
x2,
x3) =
U13_gga(
x1,
x3)
maxI_in_ga(
x1,
x2) =
maxI_in_ga(
x1)
maxI_out_ga(
x1,
x2) =
maxI_out_ga(
x1,
x2)
U9_ga(
x1,
x2,
x3) =
U9_ga(
x1,
x3)
U10_ga(
x1,
x2,
x3) =
U10_ga(
x1,
x3)
delN_in_gga(
x1,
x2,
x3) =
delN_in_gga(
x1,
x2)
delN_out_gga(
x1,
x2,
x3) =
delN_out_gga(
x1,
x2,
x3)
U14_gga(
x1,
x2,
x3) =
U14_gga(
x1,
x3)
delJ_in_ga(
x1,
x2) =
delJ_in_ga(
x1)
delJ_out_ga(
x1,
x2) =
delJ_out_ga(
x1,
x2)
U11_ga(
x1,
x2,
x3) =
U11_ga(
x1,
x3)
delO_in_gga(
x1,
x2,
x3) =
delO_in_gga(
x1,
x2)
delO_out_gga(
x1,
x2,
x3) =
delO_out_gga(
x1,
x2,
x3)
U15_gga(
x1,
x2,
x3) =
U15_gga(
x1,
x3)
MAXSORTA_IN_GA(
x1,
x2) =
MAXSORTA_IN_GA(
x1)
PB_IN_GAA(
x1,
x2,
x3) =
PB_IN_GAA(
x1)
U16_GAA(
x1,
x2,
x3,
x4) =
U16_GAA(
x1,
x4)
PC_IN_GAAA(
x1,
x2,
x3,
x4) =
PC_IN_GAAA(
x1)
U18_GAAA(
x1,
x2,
x3,
x4,
x5) =
U18_GAAA(
x1,
x5)
PP_IN_GGAA(
x1,
x2,
x3,
x4) =
PP_IN_GGAA(
x1,
x2)
U20_GGAA(
x1,
x2,
x3,
x4,
x5) =
U20_GGAA(
x1,
x2,
x5)
PD_IN_GAAA(
x1,
x2,
x3,
x4) =
PD_IN_GAAA(
x1)
U22_GAAA(
x1,
x2,
x3,
x4,
x5) =
U22_GAAA(
x1,
x5)
PQ_IN_GGAA(
x1,
x2,
x3,
x4) =
PQ_IN_GGAA(
x1,
x2)
U24_GGAA(
x1,
x2,
x3,
x4,
x5) =
U24_GGAA(
x1,
x2,
x5)
PE_IN_GAAA(
x1,
x2,
x3,
x4) =
PE_IN_GAAA(
x1)
U26_GAAA(
x1,
x2,
x3,
x4,
x5) =
U26_GAAA(
x1,
x5)
PR_IN_GGAA(
x1,
x2,
x3,
x4) =
PR_IN_GGAA(
x1,
x2)
U28_GGAA(
x1,
x2,
x3,
x4,
x5) =
U28_GGAA(
x1,
x2,
x5)
PF_IN_GAAA(
x1,
x2,
x3,
x4) =
PF_IN_GAAA(
x1)
U30_GAAA(
x1,
x2,
x3,
x4,
x5) =
U30_GAAA(
x1,
x5)
PS_IN_GGAA(
x1,
x2,
x3,
x4) =
PS_IN_GGAA(
x1,
x2)
U32_GGAA(
x1,
x2,
x3,
x4,
x5) =
U32_GGAA(
x1,
x2,
x5)
We have to consider all (P,R,Pi)-chains
(38) PiDPToQDPProof (SOUND transformation)
Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.
(39) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, [])) → PB_IN_GAA(T17)
PB_IN_GAA(T17) → U16_GAA(T17, delK_in_ga(T17))
U16_GAA(T17, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delK_in_ga(t) → delK_out_ga(t, [])
delK_in_ga(f) → delK_out_ga(f, [])
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
The set Q consists of the following terms:
delK_in_ga(x0)
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(40) Narrowing (SOUND transformation)
By narrowing [LPAR04] the rule
PB_IN_GAA(
T17) →
U16_GAA(
T17,
delK_in_ga(
T17)) at position [1] we obtained the following new rules [LPAR04]:
PB_IN_GAA(t) → U16_GAA(t, delK_out_ga(t, []))
PB_IN_GAA(f) → U16_GAA(f, delK_out_ga(f, []))
(41) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, [])) → PB_IN_GAA(T17)
U16_GAA(T17, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PB_IN_GAA(t) → U16_GAA(t, delK_out_ga(t, []))
PB_IN_GAA(f) → U16_GAA(f, delK_out_ga(f, []))
The TRS R consists of the following rules:
delK_in_ga(t) → delK_out_ga(t, [])
delK_in_ga(f) → delK_out_ga(f, [])
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
The set Q consists of the following terms:
delK_in_ga(x0)
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(42) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(43) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, [])) → PB_IN_GAA(T17)
U16_GAA(T17, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PB_IN_GAA(t) → U16_GAA(t, delK_out_ga(t, []))
PB_IN_GAA(f) → U16_GAA(f, delK_out_ga(f, []))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
delK_in_ga(x0)
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(44) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
delK_in_ga(x0)
(45) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, [])) → PB_IN_GAA(T17)
U16_GAA(T17, delK_out_ga(T17, T21)) → MAXSORTA_IN_GA(T21)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PB_IN_GAA(t) → U16_GAA(t, delK_out_ga(t, []))
PB_IN_GAA(f) → U16_GAA(f, delK_out_ga(f, []))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(46) Instantiation (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
U16_GAA(
T17,
delK_out_ga(
T17,
T21)) →
MAXSORTA_IN_GA(
T21) we obtained the following new rules [LPAR04]:
U16_GAA(t, delK_out_ga(t, [])) → MAXSORTA_IN_GA([])
U16_GAA(f, delK_out_ga(f, [])) → MAXSORTA_IN_GA([])
(47) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(T17, [])) → PB_IN_GAA(T17)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PB_IN_GAA(t) → U16_GAA(t, delK_out_ga(t, []))
PB_IN_GAA(f) → U16_GAA(f, delK_out_ga(f, []))
U16_GAA(t, delK_out_ga(t, [])) → MAXSORTA_IN_GA([])
U16_GAA(f, delK_out_ga(f, [])) → MAXSORTA_IN_GA([])
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(48) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 5 less nodes.
(49) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(50) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
PQ_IN_GGAA(T135, T53) → U24_GGAA(T135, T53, delM_in_gga(T135, T53))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO] to (N^2, +, *, >=, >) :
POL(MAXSORTA_IN_GA(x1)) = | 0 | + | | · | x1 |
POL(.(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(PC_IN_GAAA(x1)) = | 0 | + | | · | x1 |
POL(U18_GAAA(x1, x2)) = | 0 | + | | · | x1 | + | | · | x2 |
POL(maxG_in_ga(x1)) = | | + | | · | x1 |
POL(maxG_out_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(PP_IN_GGAA(x1, x2)) = | 0 | + | | · | x1 | + | | · | x2 |
POL(U20_GGAA(x1, x2, x3)) = | 0 | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(delL_in_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delL_out_gga(x1, x2, x3)) = | | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(PD_IN_GAAA(x1)) = | 1 | + | | · | x1 |
POL(U22_GAAA(x1, x2)) = | 1 | + | | · | x1 | + | | · | x2 |
POL(PQ_IN_GGAA(x1, x2)) = | 1 | + | | · | x1 | + | | · | x2 |
POL(U24_GGAA(x1, x2, x3)) = | 0 | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(delM_in_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delM_out_gga(x1, x2, x3)) = | | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(PE_IN_GAAA(x1)) = | 1 | + | | · | x1 |
POL(U26_GAAA(x1, x2)) = | 1 | + | | · | x1 | + | | · | x2 |
POL(maxI_in_ga(x1)) = | | + | | · | x1 |
POL(maxI_out_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(PR_IN_GGAA(x1, x2)) = | 1 | + | | · | x1 | + | | · | x2 |
POL(U28_GGAA(x1, x2, x3)) = | 0 | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(delN_in_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delN_out_gga(x1, x2, x3)) = | | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(PF_IN_GAAA(x1)) = | 0 | + | | · | x1 |
POL(U30_GAAA(x1, x2)) = | 0 | + | | · | x1 | + | | · | x2 |
POL(PS_IN_GGAA(x1, x2)) = | 0 | + | | · | x1 | + | | · | x2 |
POL(U32_GGAA(x1, x2, x3)) = | 0 | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(delO_in_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delO_out_gga(x1, x2, x3)) = | | + | | · | x1 | + | | · | x2 | + | | · | x3 |
POL(U6_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U7_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U12_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delH_in_ga(x1)) = | | + | | · | x1 |
POL(U13_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U9_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U10_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U14_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delJ_in_ga(x1)) = | | + | | · | x1 |
POL(U15_gga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delJ_out_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U11_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(delH_out_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
POL(U8_ga(x1, x2)) = | | + | | · | x1 | + | | · | x2 |
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
(51) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(f, T53))) → PD_IN_GAAA(T53)
PD_IN_GAAA(T53) → U22_GAAA(T53, maxG_in_ga(T53))
U22_GAAA(T53, maxG_out_ga(T53, T135)) → PQ_IN_GGAA(T135, T53)
U24_GGAA(T135, T53, delM_out_gga(T135, T53, T139)) → MAXSORTA_IN_GA(T139)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(52) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 4 less nodes.
(53) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delM_in_gga(t, T152) → delM_out_gga(t, T152, .(f, T152))
delM_in_gga(f, T160) → U13_gga(T160, delH_in_ga(.(f, T160)))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
U13_gga(T160, delH_out_ga(.(f, T160), X269)) → delM_out_gga(f, T160, .(t, X269))
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(54) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(55) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
delM_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U13_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(56) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
delM_in_gga(x0, x1)
U13_gga(x0, x1)
(57) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(58) QDPQMonotonicMRRProof (EQUIVALENT transformation)
By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain.
Strictly oriented rules of the TRS R:
delL_in_gga(f, T118) → U12_gga(T118, delH_in_ga(T118))
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = 0
POL(MAXSORTA_IN_GA(x1)) = 0
POL(PC_IN_GAAA(x1)) = 0
POL(PE_IN_GAAA(x1)) = 0
POL(PF_IN_GAAA(x1)) = 0
POL(PP_IN_GGAA(x1, x2)) = 2·x1
POL(PR_IN_GGAA(x1, x2)) = 0
POL(PS_IN_GGAA(x1, x2)) = 0
POL(U10_ga(x1, x2)) = x2
POL(U11_ga(x1, x2)) = 0
POL(U12_gga(x1, x2)) = 0
POL(U14_gga(x1, x2)) = 0
POL(U15_gga(x1, x2)) = 0
POL(U18_GAAA(x1, x2)) = 2·x2
POL(U20_GGAA(x1, x2, x3)) = x3
POL(U26_GAAA(x1, x2)) = 0
POL(U28_GGAA(x1, x2, x3)) = 0
POL(U30_GAAA(x1, x2)) = 0
POL(U32_GGAA(x1, x2, x3)) = 0
POL(U6_ga(x1, x2)) = x2
POL(U7_ga(x1, x2)) = 2·x2
POL(U8_ga(x1, x2)) = 2
POL(U9_ga(x1, x2)) = 0
POL([]) = 0
POL(delH_in_ga(x1)) = 2
POL(delH_out_ga(x1, x2)) = 1
POL(delJ_in_ga(x1)) = 0
POL(delJ_out_ga(x1, x2)) = 0
POL(delL_in_gga(x1, x2)) = x1
POL(delL_out_gga(x1, x2, x3)) = 0
POL(delN_in_gga(x1, x2)) = 2·x1
POL(delN_out_gga(x1, x2, x3)) = x1
POL(delO_in_gga(x1, x2)) = x1
POL(delO_out_gga(x1, x2, x3)) = 0
POL(f) = 2
POL(maxG_in_ga(x1)) = 0
POL(maxG_out_ga(x1, x2)) = 2·x2
POL(maxI_in_ga(x1)) = 0
POL(maxI_out_ga(x1, x2)) = 0
POL(t) = 0
(59) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
delH_in_ga(.(f, T128)) → delH_out_ga(.(f, T128), T128)
delH_in_ga([]) → delH_out_ga([], [])
delH_in_ga(.(t, T134)) → U8_ga(T134, delH_in_ga(T134))
U12_gga(T118, delH_out_ga(T118, X187)) → delL_out_gga(f, T118, .(t, .(t, X187)))
U8_ga(T134, delH_out_ga(T134, X228)) → delH_out_ga(.(t, T134), .(t, X228))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(60) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(61) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U12_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delH_in_ga(x0)
delJ_in_ga(x0)
U8_ga(x0, x1)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(62) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
U12_gga(x0, x1)
delH_in_ga(x0)
U8_ga(x0, x1)
(63) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(T57, T53) → U20_GGAA(T57, T53, delL_in_gga(T57, T53))
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(64) Narrowing (SOUND transformation)
By narrowing [LPAR04] the rule
PP_IN_GGAA(
T57,
T53) →
U20_GGAA(
T57,
T53,
delL_in_gga(
T57,
T53)) at position [2] we obtained the following new rules [LPAR04]:
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
(65) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
delL_in_gga(t, T100) → delL_out_gga(t, T100, .(t, T100))
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(66) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(67) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
delL_in_gga(x0, x1)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(68) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
delL_in_gga(x0, x1)
(69) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
U20_GGAA(T57, T53, delL_out_gga(T57, T53, T87)) → MAXSORTA_IN_GA(T87)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(70) Instantiation (EQUIVALENT transformation)
By instantiating [LPAR04] the rule
U20_GGAA(
T57,
T53,
delL_out_gga(
T57,
T53,
T87)) →
MAXSORTA_IN_GA(
T87) we obtained the following new rules [LPAR04]:
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
(71) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(72) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 2 SCCs.
(73) Complex Obligation (AND)
(74) Obligation:
Q DP problem:
The TRS P consists of the following rules:
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(75) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(76) Obligation:
Q DP problem:
The TRS P consists of the following rules:
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
The TRS R consists of the following rules:
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(77) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
(78) Obligation:
Q DP problem:
The TRS P consists of the following rules:
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
The TRS R consists of the following rules:
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
The set Q consists of the following terms:
maxG_in_ga(x0)
U6_ga(x0, x1)
U7_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(79) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
MAXSORTA_IN_GA(.(t, .(t, T53))) → PC_IN_GAAA(T53)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = x1 + x2
POL(MAXSORTA_IN_GA(x1)) = x1
POL(PC_IN_GAAA(x1)) = 1 + x1
POL(PP_IN_GGAA(x1, x2)) = 1 + x2
POL(U18_GAAA(x1, x2)) = 1 + x1
POL(U20_GGAA(x1, x2, x3)) = x3
POL(U6_ga(x1, x2)) = 0
POL(U7_ga(x1, x2)) = 0
POL([]) = 0
POL(delL_out_gga(x1, x2, x3)) = x3
POL(f) = 0
POL(maxG_in_ga(x1)) = 0
POL(maxG_out_ga(x1, x2)) = 0
POL(t) = 1
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
none
(80) Obligation:
Q DP problem:
The TRS P consists of the following rules:
U18_GAAA(T53, maxG_out_ga(T53, T57)) → PP_IN_GGAA(T57, T53)
PP_IN_GGAA(t, x0) → U20_GGAA(t, x0, delL_out_gga(t, x0, .(t, x0)))
U20_GGAA(t, z0, delL_out_gga(t, z0, .(t, z0))) → MAXSORTA_IN_GA(.(t, z0))
PC_IN_GAAA(T53) → U18_GAAA(T53, maxG_in_ga(T53))
The TRS R consists of the following rules:
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
The set Q consists of the following terms:
maxG_in_ga(x0)
U6_ga(x0, x1)
U7_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(81) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 4 less nodes.
(82) TRUE
(83) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(84) QDPQMonotonicMRRProof (EQUIVALENT transformation)
By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain.
Strictly oriented rules of the TRS R:
delO_in_gga(f, T272) → delO_out_gga(f, T272, .(t, T272))
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = 2·x2
POL(MAXSORTA_IN_GA(x1)) = 0
POL(PE_IN_GAAA(x1)) = 0
POL(PF_IN_GAAA(x1)) = 0
POL(PR_IN_GGAA(x1, x2)) = 0
POL(PS_IN_GGAA(x1, x2)) = x1
POL(U10_ga(x1, x2)) = 0
POL(U11_ga(x1, x2)) = 0
POL(U14_gga(x1, x2)) = 0
POL(U15_gga(x1, x2)) = 0
POL(U26_GAAA(x1, x2)) = 0
POL(U28_GGAA(x1, x2, x3)) = 0
POL(U30_GAAA(x1, x2)) = 2·x2
POL(U32_GGAA(x1, x2, x3)) = x3
POL(U6_ga(x1, x2)) = x2
POL(U7_ga(x1, x2)) = 2·x2
POL(U9_ga(x1, x2)) = 0
POL([]) = 0
POL(delJ_in_ga(x1)) = 0
POL(delJ_out_ga(x1, x2)) = 0
POL(delN_in_gga(x1, x2)) = 0
POL(delN_out_gga(x1, x2, x3)) = 0
POL(delO_in_gga(x1, x2)) = x1
POL(delO_out_gga(x1, x2, x3)) = 0
POL(f) = 2
POL(maxG_in_ga(x1)) = 0
POL(maxG_out_ga(x1, x2)) = x2
POL(maxI_in_ga(x1)) = 2·x1
POL(maxI_out_ga(x1, x2)) = 0
POL(t) = 0
(85) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The TRS R consists of the following rules:
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(86) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
U32_GGAA(T255, T251, delO_out_gga(T255, T251, T259)) → MAXSORTA_IN_GA(T259)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial Order [NEGPOLO,POLO] with Interpretation:
POL( U26_GAAA(x1, x2) ) = 2x1
POL( maxI_in_ga(x1) ) = 0
POL( [] ) = 0
POL( maxI_out_ga(x1, x2) ) = max{0, 2x1 + x2 - 2}
POL( f ) = 0
POL( .(x1, x2) ) = x1 + 2x2
POL( U9_ga(x1, x2) ) = 2x1 + 2
POL( t ) = 1
POL( U10_ga(x1, x2) ) = x1 + 2
POL( maxG_in_ga(x1) ) = 1
POL( U28_GGAA(x1, ..., x3) ) = x3
POL( delN_in_gga(x1, x2) ) = 2x2
POL( delN_out_gga(x1, ..., x3) ) = x3
POL( U14_gga(x1, x2) ) = 2x2
POL( delJ_in_ga(x1) ) = x1
POL( U30_GAAA(x1, x2) ) = 2x1 + 2x2
POL( maxG_out_ga(x1, x2) ) = x2
POL( U6_ga(x1, x2) ) = x2
POL( U7_ga(x1, x2) ) = x2
POL( U32_GGAA(x1, ..., x3) ) = max{0, x3 - 1}
POL( delO_in_gga(x1, x2) ) = 2x1 + 2x2 + 1
POL( U15_gga(x1, x2) ) = x2 + 2
POL( delJ_out_ga(x1, x2) ) = 2x2
POL( delO_out_gga(x1, ..., x3) ) = x3 + 2
POL( U11_ga(x1, x2) ) = 2x2
POL( MAXSORTA_IN_GA(x1) ) = x1
POL( PE_IN_GAAA(x1) ) = 2x1
POL( PR_IN_GGAA(x1, x2) ) = 2x2
POL( PF_IN_GAAA(x1) ) = 2x1 + 2
POL( PS_IN_GGAA(x1, x2) ) = 2x1 + 2x2
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
(87) Obligation:
Q DP problem:
The TRS P consists of the following rules:
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(t, T251))) → PF_IN_GAAA(T251)
PF_IN_GAAA(T251) → U30_GAAA(T251, maxG_in_ga(T251))
U30_GAAA(T251, maxG_out_ga(T251, T255)) → PS_IN_GGAA(T255, T251)
PS_IN_GGAA(T255, T251) → U32_GGAA(T255, T251, delO_in_gga(T255, T251))
The TRS R consists of the following rules:
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(88) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 4 less nodes.
(89) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delO_in_gga(t, T280) → U15_gga(T280, delJ_in_ga(.(t, T280)))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
U15_gga(T280, delJ_out_ga(.(t, T280), X480)) → delO_out_gga(t, T280, .(f, X480))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(90) UsableRulesProof (EQUIVALENT transformation)
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.
(91) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
delO_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
U15_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(92) QReductionProof (EQUIVALENT transformation)
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].
delO_in_gga(x0, x1)
U15_gga(x0, x1)
(93) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(94) QDPQMonotonicMRRProof (EQUIVALENT transformation)
By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain.
Strictly oriented rules of the TRS R:
delJ_in_ga(.(t, T234)) → delJ_out_ga(.(t, T234), T234)
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = x1 + x2
POL(MAXSORTA_IN_GA(x1)) = x1
POL(PE_IN_GAAA(x1)) = x1
POL(PR_IN_GGAA(x1, x2)) = x2
POL(U10_ga(x1, x2)) = 0
POL(U11_ga(x1, x2)) = x2
POL(U14_gga(x1, x2)) = x2
POL(U26_GAAA(x1, x2)) = x1
POL(U28_GGAA(x1, x2, x3)) = x3
POL(U6_ga(x1, x2)) = 0
POL(U7_ga(x1, x2)) = 0
POL(U9_ga(x1, x2)) = 0
POL([]) = 0
POL(delJ_in_ga(x1)) = x1
POL(delJ_out_ga(x1, x2)) = x2
POL(delN_in_gga(x1, x2)) = x2
POL(delN_out_gga(x1, x2, x3)) = x3
POL(f) = 0
POL(maxG_in_ga(x1)) = 0
POL(maxG_out_ga(x1, x2)) = 0
POL(maxI_in_ga(x1)) = 0
POL(maxI_out_ga(x1, x2)) = 0
POL(t) = 1
(95) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(96) QDPQMonotonicMRRProof (EQUIVALENT transformation)
By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain.
Strictly oriented rules of the TRS R:
delN_in_gga(f, T206) → delN_out_gga(f, T206, .(f, T206))
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = 1 + x2
POL(MAXSORTA_IN_GA(x1)) = x1
POL(PE_IN_GAAA(x1)) = 2 + x1
POL(PR_IN_GGAA(x1, x2)) = 2 + x2
POL(U10_ga(x1, x2)) = x1
POL(U11_ga(x1, x2)) = 1 + x2
POL(U14_gga(x1, x2)) = 2 + x2
POL(U26_GAAA(x1, x2)) = 2 + x1
POL(U28_GGAA(x1, x2, x3)) = x3
POL(U6_ga(x1, x2)) = 0
POL(U7_ga(x1, x2)) = 0
POL(U9_ga(x1, x2)) = 1
POL([]) = 0
POL(delJ_in_ga(x1)) = x1
POL(delJ_out_ga(x1, x2)) = x2
POL(delN_in_gga(x1, x2)) = 2 + x2
POL(delN_out_gga(x1, x2, x3)) = x3
POL(f) = 0
POL(maxG_in_ga(x1)) = 0
POL(maxG_out_ga(x1, x2)) = 0
POL(maxI_in_ga(x1)) = 1 + x1
POL(maxI_out_ga(x1, x2)) = 0
POL(t) = 0
(97) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(98) QDPOrderProof (EQUIVALENT transformation)
We use the reduction pair processor [LPAR04,JAR06].
The following pairs can be oriented strictly and are deleted.
U26_GAAA(T53, maxI_out_ga(T53, T163)) → PR_IN_GGAA(T163, T53)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:
POL(.(x1, x2)) = x1 + x2
POL(MAXSORTA_IN_GA(x1)) = x1
POL(PE_IN_GAAA(x1)) = x1
POL(PR_IN_GGAA(x1, x2)) = x1
POL(U10_ga(x1, x2)) = 1 + x2
POL(U11_ga(x1, x2)) = x2
POL(U14_gga(x1, x2)) = x2
POL(U26_GAAA(x1, x2)) = x2
POL(U28_GGAA(x1, x2, x3)) = x3
POL(U6_ga(x1, x2)) = 1 + x2
POL(U7_ga(x1, x2)) = x2
POL(U9_ga(x1, x2)) = x2
POL([]) = 1
POL(delJ_in_ga(x1)) = 1
POL(delJ_out_ga(x1, x2)) = x2
POL(delN_in_gga(x1, x2)) = x1
POL(delN_out_gga(x1, x2, x3)) = x3
POL(f) = 0
POL(maxG_in_ga(x1)) = x1
POL(maxG_out_ga(x1, x2)) = x2
POL(maxI_in_ga(x1)) = x1
POL(maxI_out_ga(x1, x2)) = 1 + x2
POL(t) = 1
The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
(99) Obligation:
Q DP problem:
The TRS P consists of the following rules:
PE_IN_GAAA(T53) → U26_GAAA(T53, maxI_in_ga(T53))
PR_IN_GGAA(T163, T53) → U28_GGAA(T163, T53, delN_in_gga(T163, T53))
U28_GGAA(T163, T53, delN_out_gga(T163, T53, T193)) → MAXSORTA_IN_GA(T193)
MAXSORTA_IN_GA(.(f, .(f, T53))) → PE_IN_GAAA(T53)
The TRS R consists of the following rules:
delN_in_gga(t, T224) → U14_gga(T224, delJ_in_ga(T224))
delJ_in_ga([]) → delJ_out_ga([], [])
delJ_in_ga(.(f, T240)) → U11_ga(T240, delJ_in_ga(T240))
U14_gga(T224, delJ_out_ga(T224, X384)) → delN_out_gga(t, T224, .(f, .(f, X384)))
U11_ga(T240, delJ_out_ga(T240, X427)) → delJ_out_ga(.(f, T240), .(f, X427))
maxI_in_ga([]) → maxI_out_ga([], f)
maxI_in_ga(.(f, T178)) → U9_ga(T178, maxI_in_ga(T178))
maxI_in_ga(.(t, T188)) → U10_ga(T188, maxG_in_ga(T188))
maxG_in_ga([]) → maxG_out_ga([], t)
maxG_in_ga(.(t, T72)) → U6_ga(T72, maxG_in_ga(T72))
maxG_in_ga(.(f, T72)) → U7_ga(T72, maxG_in_ga(T72))
U10_ga(T188, maxG_out_ga(T188, T190)) → maxI_out_ga(.(t, T188), T190)
U7_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(f, T72), T74)
U6_ga(T72, maxG_out_ga(T72, T74)) → maxG_out_ga(.(t, T72), T74)
U9_ga(T178, maxI_out_ga(T178, T180)) → maxI_out_ga(.(f, T178), T180)
The set Q consists of the following terms:
maxG_in_ga(x0)
maxI_in_ga(x0)
delN_in_gga(x0, x1)
U6_ga(x0, x1)
U7_ga(x0, x1)
U9_ga(x0, x1)
U10_ga(x0, x1)
U14_gga(x0, x1)
delJ_in_ga(x0)
U11_ga(x0, x1)
We have to consider all (P,Q,R)-chains.
(100) DependencyGraphProof (EQUIVALENT transformation)
The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 4 less nodes.
(101) TRUE