0 CpxTRS
↳1 RcToIrcProof (BOTH BOUNDS(ID, ID), 0 ms)
↳2 CpxTRS
↳3 CpxTrsToCdtProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CdtProblem
↳5 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID), 0 ms)
↳6 CdtProblem
↳7 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID), 0 ms)
↳8 CdtProblem
↳9 CdtUsableRulesProof (⇔, 0 ms)
↳10 CdtProblem
↳11 CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)), 126 ms)
↳12 CdtProblem
↳13 SIsEmptyProof (BOTH BOUNDS(ID, ID), 0 ms)
↳14 BOUNDS(1, 1)
del(.(x, .(y, z))) → f(=(x, y), x, y, z)
f(true, x, y, z) → del(.(y, z))
f(false, x, y, z) → .(x, del(.(y, z)))
=(nil, nil) → true
=(.(x, y), nil) → false
=(nil, .(y, z)) → false
=(.(x, y), .(u, v)) → and(=(x, u), =(y, v))
The duplicating contexts are:
del(.([], .(y, z)))
del(.(x, .([], z)))
The defined contexts are:
f([], x1, x2, x3)
As the TRS is an overlay system and the defined contexts and the duplicating contexts don't overlap, we have rc = irc.
del(.(x, .(y, z))) → f(=(x, y), x, y, z)
f(true, x, y, z) → del(.(y, z))
f(false, x, y, z) → .(x, del(.(y, z)))
=(nil, nil) → true
=(.(x, y), nil) → false
=(nil, .(y, z)) → false
=(.(x, y), .(u, v)) → and(=(x, u), =(y, v))
Tuples:
del(.(z0, .(z1, z2))) → f(=(z0, z1), z0, z1, z2)
f(true, z0, z1, z2) → del(.(z1, z2))
f(false, z0, z1, z2) → .(z0, del(.(z1, z2)))
=(nil, nil) → true
=(.(z0, z1), nil) → false
=(nil, .(z0, z1)) → false
=(.(z0, z1), .(u, v)) → and(=(z0, u), =(z1, v))
S tuples:
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2), ='(z0, z1))
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
='(nil, nil) → c3
='(.(z0, z1), nil) → c4
='(nil, .(z0, z1)) → c5
='(.(z0, z1), .(u, v)) → c6(='(z0, u), ='(z1, v))
K tuples:none
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2), ='(z0, z1))
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
='(nil, nil) → c3
='(.(z0, z1), nil) → c4
='(nil, .(z0, z1)) → c5
='(.(z0, z1), .(u, v)) → c6(='(z0, u), ='(z1, v))
del, f, =
DEL, F, ='
c, c1, c2, c3, c4, c5, c6
='(nil, nil) → c3
='(nil, .(z0, z1)) → c5
='(.(z0, z1), nil) → c4
='(.(z0, z1), .(u, v)) → c6(='(z0, u), ='(z1, v))
Tuples:
del(.(z0, .(z1, z2))) → f(=(z0, z1), z0, z1, z2)
f(true, z0, z1, z2) → del(.(z1, z2))
f(false, z0, z1, z2) → .(z0, del(.(z1, z2)))
=(nil, nil) → true
=(.(z0, z1), nil) → false
=(nil, .(z0, z1)) → false
=(.(z0, z1), .(u, v)) → and(=(z0, u), =(z1, v))
S tuples:
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2), ='(z0, z1))
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
K tuples:none
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2), ='(z0, z1))
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
del, f, =
DEL, F
c, c1, c2
Tuples:
del(.(z0, .(z1, z2))) → f(=(z0, z1), z0, z1, z2)
f(true, z0, z1, z2) → del(.(z1, z2))
f(false, z0, z1, z2) → .(z0, del(.(z1, z2)))
=(nil, nil) → true
=(.(z0, z1), nil) → false
=(nil, .(z0, z1)) → false
=(.(z0, z1), .(u, v)) → and(=(z0, u), =(z1, v))
S tuples:
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
K tuples:none
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
del, f, =
F, DEL
c1, c2, c
del(.(z0, .(z1, z2))) → f(=(z0, z1), z0, z1, z2)
f(true, z0, z1, z2) → del(.(z1, z2))
f(false, z0, z1, z2) → .(z0, del(.(z1, z2)))
Tuples:
=(nil, nil) → true
=(.(z0, z1), nil) → false
=(nil, .(z0, z1)) → false
=(.(z0, z1), .(u, v)) → and(=(z0, u), =(z1, v))
S tuples:
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
K tuples:none
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
=
F, DEL
c1, c2, c
We considered the (Usable) Rules:none
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
The order we found is given by the following interpretation:
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
POL(.(x1, x2)) = [2] + x1 + x2
POL(=(x1, x2)) = 0
POL(DEL(x1)) = x1
POL(F(x1, x2, x3, x4)) = [3] + x3 + x4
POL(and(x1, x2)) = 0
POL(c(x1)) = x1
POL(c1(x1)) = x1
POL(c2(x1)) = x1
POL(false) = 0
POL(nil) = 0
POL(true) = 0
POL(u) = 0
POL(v) = 0
Tuples:
=(nil, nil) → true
=(.(z0, z1), nil) → false
=(nil, .(z0, z1)) → false
=(.(z0, z1), .(u, v)) → and(=(z0, u), =(z1, v))
S tuples:none
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
Defined Rule Symbols:
F(true, z0, z1, z2) → c1(DEL(.(z1, z2)))
F(false, z0, z1, z2) → c2(DEL(.(z1, z2)))
DEL(.(z0, .(z1, z2))) → c(F(=(z0, z1), z0, z1, z2))
=
F, DEL
c1, c2, c