0 Prolog
↳1 PrologToPiTRSViaGraphTransformerProof (⇒, 94 ms)
↳2 PiTRS
↳3 DependencyPairsProof (⇔, 17 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 PiDP
↳10 PiDPToQDPProof (⇒, 0 ms)
↳11 QDP
↳12 QDPSizeChangeProof (⇔, 0 ms)
↳13 YES
↳14 PiDP
↳15 UsableRulesProof (⇔, 3 ms)
↳16 PiDP
↳17 PiDPToQDPProof (⇒, 0 ms)
↳18 QDP
↳19 QDPOrderProof (⇔, 53 ms)
↳20 QDP
↳21 DependencyGraphProof (⇔, 0 ms)
↳22 TRUE
permuteA_in_ga([], []) → permuteA_out_ga([], [])
permuteA_in_ga(.(T21, T22), .(T21, T23)) → U1_ga(T21, T22, T23, permuteA_in_ga(T22, T23))
permuteA_in_ga(.(T37, T38), .(T39, T40)) → U2_ga(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
pB_in_agaga(T39, T38, T45, T37, T46) → U4_agaga(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
U4_agaga(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_agaga(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U5_agaga(T39, T38, T45, T37, T46, permuteA_out_ga(.(T37, T45), T46)) → pB_out_agaga(T39, T38, T45, T37, T46)
U2_ga(T37, T38, T39, T40, pB_out_agaga(T39, T38, X42, T37, T40)) → permuteA_out_ga(.(T37, T38), .(T39, T40))
U1_ga(T21, T22, T23, permuteA_out_ga(T22, T23)) → permuteA_out_ga(.(T21, T22), .(T21, T23))
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → U1_GA(T21, T22, T23, permuteA_in_ga(T22, T23))
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → PERMUTEA_IN_GA(T22, T23)
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → U2_GA(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → PB_IN_AGAGA(T39, T38, X42, T37, T40)
PB_IN_AGAGA(T39, T38, T45, T37, T46) → U4_AGAGA(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
PB_IN_AGAGA(T39, T38, T45, T37, T46) → DELETEC_IN_AGA(T39, T38, T45)
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → U3_AGA(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → DELETEC_IN_AGA(T70, T69, X75)
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_AGAGA(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45), T46)
permuteA_in_ga([], []) → permuteA_out_ga([], [])
permuteA_in_ga(.(T21, T22), .(T21, T23)) → U1_ga(T21, T22, T23, permuteA_in_ga(T22, T23))
permuteA_in_ga(.(T37, T38), .(T39, T40)) → U2_ga(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
pB_in_agaga(T39, T38, T45, T37, T46) → U4_agaga(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
U4_agaga(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_agaga(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U5_agaga(T39, T38, T45, T37, T46, permuteA_out_ga(.(T37, T45), T46)) → pB_out_agaga(T39, T38, T45, T37, T46)
U2_ga(T37, T38, T39, T40, pB_out_agaga(T39, T38, X42, T37, T40)) → permuteA_out_ga(.(T37, T38), .(T39, T40))
U1_ga(T21, T22, T23, permuteA_out_ga(T22, T23)) → permuteA_out_ga(.(T21, T22), .(T21, T23))
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → U1_GA(T21, T22, T23, permuteA_in_ga(T22, T23))
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → PERMUTEA_IN_GA(T22, T23)
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → U2_GA(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → PB_IN_AGAGA(T39, T38, X42, T37, T40)
PB_IN_AGAGA(T39, T38, T45, T37, T46) → U4_AGAGA(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
PB_IN_AGAGA(T39, T38, T45, T37, T46) → DELETEC_IN_AGA(T39, T38, T45)
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → U3_AGA(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → DELETEC_IN_AGA(T70, T69, X75)
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_AGAGA(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45), T46)
permuteA_in_ga([], []) → permuteA_out_ga([], [])
permuteA_in_ga(.(T21, T22), .(T21, T23)) → U1_ga(T21, T22, T23, permuteA_in_ga(T22, T23))
permuteA_in_ga(.(T37, T38), .(T39, T40)) → U2_ga(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
pB_in_agaga(T39, T38, T45, T37, T46) → U4_agaga(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
U4_agaga(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_agaga(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U5_agaga(T39, T38, T45, T37, T46, permuteA_out_ga(.(T37, T45), T46)) → pB_out_agaga(T39, T38, T45, T37, T46)
U2_ga(T37, T38, T39, T40, pB_out_agaga(T39, T38, X42, T37, T40)) → permuteA_out_ga(.(T37, T38), .(T39, T40))
U1_ga(T21, T22, T23, permuteA_out_ga(T22, T23)) → permuteA_out_ga(.(T21, T22), .(T21, T23))
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → DELETEC_IN_AGA(T70, T69, X75)
permuteA_in_ga([], []) → permuteA_out_ga([], [])
permuteA_in_ga(.(T21, T22), .(T21, T23)) → U1_ga(T21, T22, T23, permuteA_in_ga(T22, T23))
permuteA_in_ga(.(T37, T38), .(T39, T40)) → U2_ga(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
pB_in_agaga(T39, T38, T45, T37, T46) → U4_agaga(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
U4_agaga(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_agaga(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U5_agaga(T39, T38, T45, T37, T46, permuteA_out_ga(.(T37, T45), T46)) → pB_out_agaga(T39, T38, T45, T37, T46)
U2_ga(T37, T38, T39, T40, pB_out_agaga(T39, T38, X42, T37, T40)) → permuteA_out_ga(.(T37, T38), .(T39, T40))
U1_ga(T21, T22, T23, permuteA_out_ga(T22, T23)) → permuteA_out_ga(.(T21, T22), .(T21, T23))
DELETEC_IN_AGA(T70, .(T68, T69), .(T68, X75)) → DELETEC_IN_AGA(T70, T69, X75)
DELETEC_IN_AGA(.(T68, T69)) → DELETEC_IN_AGA(T69)
From the DPs we obtained the following set of size-change graphs:
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → PB_IN_AGAGA(T39, T38, X42, T37, T40)
PB_IN_AGAGA(T39, T38, T45, T37, T46) → U4_AGAGA(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45), T46)
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → PERMUTEA_IN_GA(T22, T23)
permuteA_in_ga([], []) → permuteA_out_ga([], [])
permuteA_in_ga(.(T21, T22), .(T21, T23)) → U1_ga(T21, T22, T23, permuteA_in_ga(T22, T23))
permuteA_in_ga(.(T37, T38), .(T39, T40)) → U2_ga(T37, T38, T39, T40, pB_in_agaga(T39, T38, X42, T37, T40))
pB_in_agaga(T39, T38, T45, T37, T46) → U4_agaga(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
U4_agaga(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → U5_agaga(T39, T38, T45, T37, T46, permuteA_in_ga(.(T37, T45), T46))
U5_agaga(T39, T38, T45, T37, T46, permuteA_out_ga(.(T37, T45), T46)) → pB_out_agaga(T39, T38, T45, T37, T46)
U2_ga(T37, T38, T39, T40, pB_out_agaga(T39, T38, X42, T37, T40)) → permuteA_out_ga(.(T37, T38), .(T39, T40))
U1_ga(T21, T22, T23, permuteA_out_ga(T22, T23)) → permuteA_out_ga(.(T21, T22), .(T21, T23))
PERMUTEA_IN_GA(.(T37, T38), .(T39, T40)) → PB_IN_AGAGA(T39, T38, X42, T37, T40)
PB_IN_AGAGA(T39, T38, T45, T37, T46) → U4_AGAGA(T39, T38, T45, T37, T46, deleteC_in_aga(T39, T38, T45))
U4_AGAGA(T39, T38, T45, T37, T46, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45), T46)
PERMUTEA_IN_GA(.(T21, T22), .(T21, T23)) → PERMUTEA_IN_GA(T22, T23)
deleteC_in_aga(T59, .(T59, T60), T60) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(T70, .(T68, T69), .(T68, X75)) → U3_aga(T70, T68, T69, X75, deleteC_in_aga(T70, T69, X75))
U3_aga(T70, T68, T69, X75, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
PERMUTEA_IN_GA(.(T37, T38)) → PB_IN_AGAGA(T38, T37)
PB_IN_AGAGA(T38, T37) → U4_AGAGA(T38, T37, deleteC_in_aga(T38))
U4_AGAGA(T38, T37, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45))
PERMUTEA_IN_GA(.(T21, T22)) → PERMUTEA_IN_GA(T22)
deleteC_in_aga(.(T59, T60)) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(.(T68, T69)) → U3_aga(T68, T69, deleteC_in_aga(T69))
U3_aga(T68, T69, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
deleteC_in_aga(x0)
U3_aga(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PB_IN_AGAGA(T38, T37) → U4_AGAGA(T38, T37, deleteC_in_aga(T38))
PERMUTEA_IN_GA(.(T21, T22)) → PERMUTEA_IN_GA(T22)
POL(.(x1, x2)) = 1 + x2
POL(PB_IN_AGAGA(x1, x2)) = 1 + x1
POL(PERMUTEA_IN_GA(x1)) = x1
POL(U3_aga(x1, x2, x3)) = 1 + x3
POL(U4_AGAGA(x1, x2, x3)) = x3
POL(deleteC_in_aga(x1)) = x1
POL(deleteC_out_aga(x1, x2, x3)) = 1 + x3
deleteC_in_aga(.(T59, T60)) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(.(T68, T69)) → U3_aga(T68, T69, deleteC_in_aga(T69))
U3_aga(T68, T69, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
PERMUTEA_IN_GA(.(T37, T38)) → PB_IN_AGAGA(T38, T37)
U4_AGAGA(T38, T37, deleteC_out_aga(T39, T38, T45)) → PERMUTEA_IN_GA(.(T37, T45))
deleteC_in_aga(.(T59, T60)) → deleteC_out_aga(T59, .(T59, T60), T60)
deleteC_in_aga(.(T68, T69)) → U3_aga(T68, T69, deleteC_in_aga(T69))
U3_aga(T68, T69, deleteC_out_aga(T70, T69, X75)) → deleteC_out_aga(T70, .(T68, T69), .(T68, X75))
deleteC_in_aga(x0)
U3_aga(x0, x1, x2)