p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p: {1}
0: empty set
s: {1}
leq: {1, 2}
true: empty set
false: empty set
if: {1}
diff: {1, 2}
↳ CSR
↳ CSRInnermostProof
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p: {1}
0: empty set
s: {1}
leq: {1, 2}
true: empty set
false: empty set
if: {1}
diff: {1, 2}
The CSR is orthogonal. By [10] we can switch to innermost.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p: {1}
0: empty set
s: {1}
leq: {1, 2}
true: empty set
false: empty set
if: {1}
diff: {1, 2}
Innermost Strategy.
Using Improved CS-DPs we result in the following initial Q-CSDP problem.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
DIFF(X, Y) → LEQ(X, Y)
IF(true, X, Y) → X
IF(false, X, Y) → Y
diff(p(X), Y)
p(X)
p on positions {1}
diff on positions {1, 2}
s on positions {1}
IF(true, X, Y) → U(X)
IF(false, X, Y) → U(Y)
U(p(x_0)) → U(x_0)
U(diff(x_0, x_1)) → U(x_0)
U(diff(x_0, x_1)) → U(x_1)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
U(p(X)) → P(X)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LEQ(s(X), s(Y)) → LEQ(X, Y)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ PIsEmptyProof
↳ QCSDP
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(true, X, Y) → U(X)
U(p(x_0)) → U(x_0)
U(diff(x_0, x_1)) → U(x_0)
U(diff(x_0, x_1)) → U(x_1)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
IF(false, X, Y) → U(Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
POL(0) = 0
POL(DIFF(x1, x2)) = 1 + x1 + x2
POL(IF(x1, x2, x3)) = x2 + x3
POL(U(x1)) = x1
POL(diff(x1, x2)) = 1 + x1 + x2
POL(false) = 0
POL(if(x1, x2, x3)) = x2 + max(x2, x3)
POL(leq(x1, x2)) = 0
POL(p(x1)) = x1
POL(s(x1)) = x1
POL(true) = 0
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
p(0) → 0
p(s(X)) → X
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
if(true, X, Y) → X
if(false, X, Y) → Y
U(diff(x_0, x_1)) → U(x_0)
U(diff(x_0, x_1)) → U(x_1)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(true, X, Y) → U(X)
U(p(x_0)) → U(x_0)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
IF(false, X, Y) → U(Y)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(true, X, Y) → U(X)
U(p(x_0)) → U(x_0)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
IF(false, X, Y) → U(Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
POL( DIFF(x1, x2) ) = max{0, -1}
POL( if(x1, ..., x3) ) = 2x2 + 2x3
POL( diff(x1, x2) ) = 0
POL( U(x1) ) = x1
POL( true ) = max{0, -1}
POL( false ) = max{0, -1}
POL( s(x1) ) = 2x1
POL( p(x1) ) = x1 + 1
POL( IF(x1, ..., x3) ) = 2x2 + 2x3
POL( 0 ) = max{0, -1}
POL( leq(x1, x2) ) = max{0, -1}
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
p(0) → 0
p(s(X)) → X
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
if(true, X, Y) → X
if(false, X, Y) → Y
U(p(x_0)) → U(x_0)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(true, X, Y) → U(X)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
IF(false, X, Y) → U(Y)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(true, X, Y) → U(X)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
IF(false, X, Y) → U(Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
IF(true, 0, s(diff(p(z0), z1))) → U(0)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(true, 0, s(diff(p(z0), z1))) → U(0)
IF(false, X, Y) → U(Y)
U(diff(p(X), Y)) → DIFF(p(X), Y)
U(s(x_0)) → U(x_0)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(false, X, Y) → U(Y)
U(s(x_0)) → U(x_0)
U(diff(p(X), Y)) → DIFF(p(X), Y)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
IF(false, 0, s(diff(p(z0), z1))) → U(s(diff(p(z0), z1)))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDPForwardInstantiationProcessor
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
U(diff(p(X), Y)) → DIFF(p(X), Y)
U(s(x_0)) → U(x_0)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(false, 0, s(diff(p(z0), z1))) → U(s(diff(p(z0), z1)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
U(s(s(z0))) → U(s(z0))
U(s(diff(p(z0), z1))) → U(diff(p(z0), z1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDPForwardInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
U(s(diff(p(z0), z1))) → U(diff(p(z0), z1))
U(diff(p(X), Y)) → DIFF(p(X), Y)
U(s(s(z0))) → U(s(z0))
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(false, 0, s(diff(p(z0), z1))) → U(s(diff(p(z0), z1)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDPForwardInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
U(s(s(z0))) → U(s(z0))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U(s(s(z0))) → U(s(z0))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDPForwardInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ PIsEmptyProof
↳ QCSDP
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDPInstantiationProcessor
↳ QCSDP
↳ QCSDPForwardInstantiationProcessor
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
IF(false, 0, s(diff(p(z0), z1))) → U(s(diff(p(z0), z1)))
U(s(diff(p(z0), z1))) → U(diff(p(z0), z1))
U(diff(p(X), Y)) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
IF(true, X, Y) → A(X)
IF(false, X, Y) → A(Y)
DIFF(X, Y) → DIFF(p(X), Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
DIFF(X, Y) → P(X)
DIFF(X, Y) → LEQ(X, Y)
A(sInact(x1)) → S(x1)
A(0Inact) → 01
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(true, X, Y) → A(X)
IF(false, X, Y) → A(Y)
DIFF(X, Y) → DIFF(p(X), Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
DIFF(X, Y) → P(X)
DIFF(X, Y) → LEQ(X, Y)
A(sInact(x1)) → S(x1)
A(0Inact) → 01
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diff(p(X), Y)))
a(x) → x
s(x1) → sInact(x1)
a(sInact(x1)) → s(x1)
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
0 → 0Inact
Used ordering: POLO with Polynomial interpretation [25]:
p(s(X)) → X
POL(0) = 0
POL(0Inact) = 0
POL(DIFF(x1, x2)) = 2·x1 + x2
POL(p(x1)) = x1
POL(s(x1)) = x1
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ RuleRemovalProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
0 → 0Inact
0 → 0Inact
POL(0) = 2
POL(0Inact) = 1
POL(DIFF(x1, x2)) = 2·x1 + x2
POL(p(x1)) = x1
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ MNOCProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ MNOCProof
↳ QDP
↳ MNOCProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(0)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ MNOCProof
↳ QDP
↳ MNOCProof
↳ QDP
↳ NonTerminationProof
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(diff(x1, x2)) → MARK(x1)
DIFF(active(x1), x2) → DIFF(x1, x2)
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(x1)) → ACTIVE(p(mark(x1)))
P(mark(x1)) → P(x1)
ACTIVE(diff(X, Y)) → LEQ(X, Y)
ACTIVE(p(0)) → MARK(0)
LEQ(mark(x1), x2) → LEQ(x1, x2)
ACTIVE(diff(X, Y)) → P(X)
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(true) → ACTIVE(true)
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(s(x1)) → ACTIVE(s(mark(x1)))
DIFF(mark(x1), x2) → DIFF(x1, x2)
LEQ(x1, mark(x2)) → LEQ(x1, x2)
MARK(leq(x1, x2)) → MARK(x1)
LEQ(x1, active(x2)) → LEQ(x1, x2)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(p(x1)) → MARK(x1)
ACTIVE(diff(X, Y)) → DIFF(p(X), Y)
ACTIVE(diff(X, Y)) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
DIFF(x1, active(x2)) → DIFF(x1, x2)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(s(x1)) → S(mark(x1))
S(active(x1)) → S(x1)
S(mark(x1)) → S(x1)
MARK(if(x1, x2, x3)) → IF(mark(x1), x2, x3)
MARK(false) → ACTIVE(false)
P(active(x1)) → P(x1)
ACTIVE(leq(s(X), s(Y))) → LEQ(X, Y)
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
IF(mark(x1), x2, x3) → IF(x1, x2, x3)
IF(active(x1), x2, x3) → IF(x1, x2, x3)
MARK(leq(x1, x2)) → LEQ(mark(x1), mark(x2))
ACTIVE(leq(s(X), 0)) → MARK(false)
MARK(p(x1)) → P(mark(x1))
ACTIVE(diff(X, Y)) → S(diff(p(X), Y))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
DIFF(x1, mark(x2)) → DIFF(x1, x2)
LEQ(active(x1), x2) → LEQ(x1, x2)
MARK(diff(x1, x2)) → DIFF(mark(x1), mark(x2))
MARK(0) → ACTIVE(0)
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
ACTIVE(if(true, X, Y)) → MARK(X)
ACTIVE(leq(0, Y)) → MARK(true)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
DIFF(active(x1), x2) → DIFF(x1, x2)
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(x1)) → ACTIVE(p(mark(x1)))
P(mark(x1)) → P(x1)
ACTIVE(diff(X, Y)) → LEQ(X, Y)
ACTIVE(p(0)) → MARK(0)
LEQ(mark(x1), x2) → LEQ(x1, x2)
ACTIVE(diff(X, Y)) → P(X)
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(true) → ACTIVE(true)
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(s(x1)) → ACTIVE(s(mark(x1)))
DIFF(mark(x1), x2) → DIFF(x1, x2)
LEQ(x1, mark(x2)) → LEQ(x1, x2)
MARK(leq(x1, x2)) → MARK(x1)
LEQ(x1, active(x2)) → LEQ(x1, x2)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(p(x1)) → MARK(x1)
ACTIVE(diff(X, Y)) → DIFF(p(X), Y)
ACTIVE(diff(X, Y)) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
DIFF(x1, active(x2)) → DIFF(x1, x2)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(s(x1)) → S(mark(x1))
S(active(x1)) → S(x1)
S(mark(x1)) → S(x1)
MARK(if(x1, x2, x3)) → IF(mark(x1), x2, x3)
MARK(false) → ACTIVE(false)
P(active(x1)) → P(x1)
ACTIVE(leq(s(X), s(Y))) → LEQ(X, Y)
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
IF(mark(x1), x2, x3) → IF(x1, x2, x3)
IF(active(x1), x2, x3) → IF(x1, x2, x3)
MARK(leq(x1, x2)) → LEQ(mark(x1), mark(x2))
ACTIVE(leq(s(X), 0)) → MARK(false)
MARK(p(x1)) → P(mark(x1))
ACTIVE(diff(X, Y)) → S(diff(p(X), Y))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
DIFF(x1, mark(x2)) → DIFF(x1, x2)
LEQ(active(x1), x2) → LEQ(x1, x2)
MARK(diff(x1, x2)) → DIFF(mark(x1), mark(x2))
MARK(0) → ACTIVE(0)
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
ACTIVE(if(true, X, Y)) → MARK(X)
ACTIVE(leq(0, Y)) → MARK(true)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(x1, active(x2)) → DIFF(x1, x2)
DIFF(active(x1), x2) → DIFF(x1, x2)
DIFF(x1, mark(x2)) → DIFF(x1, x2)
DIFF(mark(x1), x2) → DIFF(x1, x2)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(x1, active(x2)) → DIFF(x1, x2)
DIFF(active(x1), x2) → DIFF(x1, x2)
DIFF(x1, mark(x2)) → DIFF(x1, x2)
DIFF(mark(x1), x2) → DIFF(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
p(active(x0))
p(mark(x0))
s(active(x0))
s(mark(x0))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
DIFF(x1, active(x2)) → DIFF(x1, x2)
DIFF(active(x1), x2) → DIFF(x1, x2)
DIFF(x1, mark(x2)) → DIFF(x1, x2)
DIFF(mark(x1), x2) → DIFF(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
mark(0)
mark(s(x0))
mark(leq(x0, x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
mark(diff(x0, x1))
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(active(x1), x2, x3) → IF(x1, x2, x3)
IF(mark(x1), x2, x3) → IF(x1, x2, x3)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(active(x1), x2, x3) → IF(x1, x2, x3)
IF(mark(x1), x2, x3) → IF(x1, x2, x3)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
p(active(x0))
p(mark(x0))
s(active(x0))
s(mark(x0))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
IF(mark(x1), x2, x3) → IF(x1, x2, x3)
IF(active(x1), x2, x3) → IF(x1, x2, x3)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
mark(0)
mark(s(x0))
mark(leq(x0, x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
mark(diff(x0, x1))
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(active(x1), x2) → LEQ(x1, x2)
LEQ(x1, mark(x2)) → LEQ(x1, x2)
LEQ(x1, active(x2)) → LEQ(x1, x2)
LEQ(mark(x1), x2) → LEQ(x1, x2)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(active(x1), x2) → LEQ(x1, x2)
LEQ(x1, mark(x2)) → LEQ(x1, x2)
LEQ(x1, active(x2)) → LEQ(x1, x2)
LEQ(mark(x1), x2) → LEQ(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
p(active(x0))
p(mark(x0))
s(active(x0))
s(mark(x0))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
LEQ(active(x1), x2) → LEQ(x1, x2)
LEQ(x1, mark(x2)) → LEQ(x1, x2)
LEQ(x1, active(x2)) → LEQ(x1, x2)
LEQ(mark(x1), x2) → LEQ(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
mark(0)
mark(s(x0))
mark(leq(x0, x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
mark(diff(x0, x1))
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
S(active(x1)) → S(x1)
S(mark(x1)) → S(x1)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
S(active(x1)) → S(x1)
S(mark(x1)) → S(x1)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
p(active(x0))
p(mark(x0))
s(active(x0))
s(mark(x0))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
S(mark(x1)) → S(x1)
S(active(x1)) → S(x1)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
mark(0)
mark(s(x0))
mark(leq(x0, x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
mark(diff(x0, x1))
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
P(active(x1)) → P(x1)
P(mark(x1)) → P(x1)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
P(active(x1)) → P(x1)
P(mark(x1)) → P(x1)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
p(active(x0))
p(mark(x0))
s(active(x0))
s(mark(x0))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
P(active(x1)) → P(x1)
P(mark(x1)) → P(x1)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
mark(0)
mark(s(x0))
mark(leq(x0, x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
mark(diff(x0, x1))
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(x1)) → ACTIVE(p(mark(x1)))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(s(x1)) → ACTIVE(s(mark(x1)))
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(x1)) → MARK(x1)
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(s(x1)) → ACTIVE(s(mark(x1)))
Used ordering: Polynomial interpretation [25]:
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(x1)) → ACTIVE(p(mark(x1)))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(x1)) → MARK(x1)
ACTIVE(if(true, X, Y)) → MARK(X)
POL(0) = 0
POL(ACTIVE(x1)) = x1
POL(MARK(x1)) = 1
POL(active(x1)) = 0
POL(diff(x1, x2)) = 1
POL(false) = 0
POL(if(x1, x2, x3)) = 1
POL(leq(x1, x2)) = 1
POL(mark(x1)) = 0
POL(p(x1)) = 1
POL(s(x1)) = 0
POL(true) = 0
if(mark(x1), x2, x3) → if(x1, x2, x3)
if(active(x1), x2, x3) → if(x1, x2, x3)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(active(x1), x2) → diff(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
p(mark(x1)) → p(x1)
p(active(x1)) → p(x1)
s(mark(x1)) → s(x1)
s(active(x1)) → s(x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(x1)) → ACTIVE(p(mark(x1)))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(x1)) → MARK(x1)
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(p(true)) → ACTIVE(p(active(true)))
MARK(p(false)) → ACTIVE(p(active(false)))
MARK(p(0)) → ACTIVE(p(active(0)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(p(true)) → ACTIVE(p(active(true)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(p(x1)) → MARK(x1)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(false)) → ACTIVE(p(active(false)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(0)) → ACTIVE(p(active(0)))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(p(true)) → ACTIVE(p(true))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(x1, x2)) → MARK(x2)
MARK(diff(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(p(x1)) → MARK(x1)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(true)) → ACTIVE(p(true))
MARK(p(false)) → ACTIVE(p(active(false)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(0)) → ACTIVE(p(active(0)))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(false)) → ACTIVE(p(active(false)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(0)) → ACTIVE(p(active(0)))
MARK(p(x1)) → MARK(x1)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(p(false)) → ACTIVE(p(false))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(leq(x1, x2)) → MARK(x2)
MARK(diff(x1, x2)) → MARK(x2)
MARK(p(x0)) → ACTIVE(p(x0))
ACTIVE(p(s(X))) → MARK(X)
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(p(false)) → ACTIVE(p(false))
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(0)) → ACTIVE(p(active(0)))
MARK(p(x1)) → MARK(x1)
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(0)) → ACTIVE(p(active(0)))
MARK(p(x1)) → MARK(x1)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(p(0)) → ACTIVE(p(0))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(x1)) → MARK(x1)
MARK(p(0)) → ACTIVE(p(0))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(leq(x1, x2)) → MARK(x2)
MARK(diff(x1, x2)) → MARK(x2)
MARK(p(x0)) → ACTIVE(p(x0))
ACTIVE(p(s(X))) → MARK(X)
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(x1)) → MARK(x1)
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(x1, x2)) → ACTIVE(leq(mark(x1), mark(x2)))
MARK(p(x1)) → MARK(x1)
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(s(x1)) → MARK(x1)
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(if(x1, x2, x3)) → ACTIVE(if(mark(x1), x2, x3))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(if(0, y1, y2)) → ACTIVE(if(active(0), y1, y2))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(if(true, y1, y2)) → ACTIVE(if(active(true), y1, y2))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
MARK(if(false, y1, y2)) → ACTIVE(if(active(false), y1, y2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(if(0, y1, y2)) → ACTIVE(if(active(0), y1, y2))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(if(true, y1, y2)) → ACTIVE(if(active(true), y1, y2))
MARK(leq(x1, x2)) → MARK(x2)
MARK(diff(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(if(false, y1, y2)) → ACTIVE(if(active(false), y1, y2))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(if(0, y1, y2)) → ACTIVE(if(0, y1, y2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(x1)) → MARK(x1)
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(if(true, y1, y2)) → ACTIVE(if(active(true), y1, y2))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(if(false, y1, y2)) → ACTIVE(if(active(false), y1, y2))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(0, y1, y2)) → ACTIVE(if(0, y1, y2))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(x1)) → MARK(x1)
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(if(true, y1, y2)) → ACTIVE(if(active(true), y1, y2))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(if(false, y1, y2)) → ACTIVE(if(active(false), y1, y2))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(leq(x1, x2)) → MARK(x2)
MARK(diff(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(if(false, y1, y2)) → ACTIVE(if(active(false), y1, y2))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(s(x1)) → MARK(x1)
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(x1, x2)) → MARK(x1)
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(x1, x2)) → ACTIVE(diff(mark(x1), mark(x2)))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(diff(y0, if(x0, x1, x2))) → ACTIVE(diff(mark(y0), active(if(mark(x0), x1, x2))))
MARK(diff(s(x0), y1)) → ACTIVE(diff(active(s(mark(x0))), mark(y1)))
MARK(diff(y0, leq(x0, x1))) → ACTIVE(diff(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(diff(if(x0, x1, x2), y1)) → ACTIVE(diff(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(diff(x0, y1)) → ACTIVE(diff(x0, mark(y1)))
MARK(diff(diff(x0, x1), y1)) → ACTIVE(diff(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(diff(y0, p(x0))) → ACTIVE(diff(mark(y0), active(p(mark(x0)))))
MARK(diff(y0, diff(x0, x1))) → ACTIVE(diff(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(y0, x1)) → ACTIVE(diff(mark(y0), x1))
MARK(diff(leq(x0, x1), y1)) → ACTIVE(diff(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(diff(y0, s(x0))) → ACTIVE(diff(mark(y0), active(s(mark(x0)))))
MARK(diff(y0, false)) → ACTIVE(diff(mark(y0), active(false)))
MARK(diff(false, y1)) → ACTIVE(diff(active(false), mark(y1)))
MARK(diff(p(x0), y1)) → ACTIVE(diff(active(p(mark(x0))), mark(y1)))
MARK(diff(y0, true)) → ACTIVE(diff(mark(y0), active(true)))
MARK(diff(true, y1)) → ACTIVE(diff(active(true), mark(y1)))
MARK(diff(0, y1)) → ACTIVE(diff(active(0), mark(y1)))
MARK(diff(y0, 0)) → ACTIVE(diff(mark(y0), active(0)))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ ForwardInstantiation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(y0, if(x0, x1, x2))) → ACTIVE(diff(mark(y0), active(if(mark(x0), x1, x2))))
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(diff(s(x0), y1)) → ACTIVE(diff(active(s(mark(x0))), mark(y1)))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(diff(x0, x1), y1)) → ACTIVE(diff(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(diff(y0, diff(x0, x1))) → ACTIVE(diff(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(y0, x1)) → ACTIVE(diff(mark(y0), x1))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(diff(false, y1)) → ACTIVE(diff(active(false), mark(y1)))
MARK(diff(y0, false)) → ACTIVE(diff(mark(y0), active(false)))
MARK(leq(x1, x2)) → MARK(x1)
MARK(diff(true, y1)) → ACTIVE(diff(active(true), mark(y1)))
MARK(diff(y0, true)) → ACTIVE(diff(mark(y0), active(true)))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(diff(y0, leq(x0, x1))) → ACTIVE(diff(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(y0, s(x0))) → ACTIVE(diff(mark(y0), active(s(mark(x0)))))
MARK(diff(leq(x0, x1), y1)) → ACTIVE(diff(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(x1)) → MARK(x1)
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(diff(x0, y1)) → ACTIVE(diff(x0, mark(y1)))
MARK(diff(y0, p(x0))) → ACTIVE(diff(mark(y0), active(p(mark(x0)))))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(diff(p(x0), y1)) → ACTIVE(diff(active(p(mark(x0))), mark(y1)))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(diff(y0, 0)) → ACTIVE(diff(mark(y0), active(0)))
MARK(diff(0, y1)) → ACTIVE(diff(active(0), mark(y1)))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(diff(if(x0, x1, x2), y1)) → ACTIVE(diff(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
ACTIVE(if(true, X, Y)) → MARK(X)
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(s(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(s(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(s(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(s(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(s(s(y_0))) → MARK(s(y_0))
MARK(s(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(s(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(s(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(s(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(s(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(s(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(s(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(s(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(s(p(y_0))) → MARK(p(y_0))
MARK(s(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(s(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(s(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(s(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(s(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(s(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(s(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(s(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(s(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(s(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(s(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(s(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(s(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(s(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(s(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(s(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(s(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(s(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(s(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(s(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(s(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(s(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(s(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(s(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(s(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(s(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(s(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(s(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(s(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(s(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(s(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(s(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(s(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(s(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(diff(y0, if(x0, x1, x2))) → ACTIVE(diff(mark(y0), active(if(mark(x0), x1, x2))))
MARK(diff(s(x0), y1)) → ACTIVE(diff(active(s(mark(x0))), mark(y1)))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(s(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(s(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(leq(x1, x2)) → MARK(x2)
MARK(s(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
ACTIVE(p(s(X))) → MARK(X)
MARK(diff(diff(x0, x1), y1)) → ACTIVE(diff(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(diff(y0, diff(x0, x1))) → ACTIVE(diff(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(y0, x1)) → ACTIVE(diff(mark(y0), x1))
MARK(s(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(diff(false, y1)) → ACTIVE(diff(active(false), mark(y1)))
MARK(diff(y0, false)) → ACTIVE(diff(mark(y0), active(false)))
MARK(s(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(x1)) → MARK(x1)
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(s(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(s(p(y_0))) → MARK(p(y_0))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(diff(y0, leq(x0, x1))) → ACTIVE(diff(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(s(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(s(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(diff(y0, s(x0))) → ACTIVE(diff(mark(y0), active(s(mark(x0)))))
MARK(s(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(s(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(s(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(s(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(s(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(s(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(s(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(diff(x0, y1)) → ACTIVE(diff(x0, mark(y1)))
MARK(diff(y0, p(x0))) → ACTIVE(diff(mark(y0), active(p(mark(x0)))))
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(s(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(s(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(diff(if(x0, x1, x2), y1)) → ACTIVE(diff(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(s(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
MARK(s(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(s(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(s(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(s(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(s(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(s(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(s(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(s(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(s(s(y_0))) → MARK(s(y_0))
MARK(s(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(s(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(leq(x1, x2)) → MARK(x1)
MARK(diff(true, y1)) → ACTIVE(diff(active(true), mark(y1)))
MARK(diff(y0, true)) → ACTIVE(diff(mark(y0), active(true)))
MARK(s(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(s(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(s(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(s(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(diff(leq(x0, x1), y1)) → ACTIVE(diff(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(s(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(s(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(s(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(s(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(s(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(diff(p(x0), y1)) → ACTIVE(diff(active(p(mark(x0))), mark(y1)))
MARK(diff(y0, 0)) → ACTIVE(diff(mark(y0), active(0)))
MARK(diff(0, y1)) → ACTIVE(diff(active(0), mark(y1)))
MARK(s(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(s(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(s(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(s(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(s(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(s(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(s(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(s(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(p(s(if(if(y_0, y_1, y_2), y_3, y_4)))) → MARK(s(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(p(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(p(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(p(s(leq(diff(y_0, y_1), y_2)))) → MARK(s(leq(diff(y_0, y_1), y_2)))
MARK(p(s(if(false, y_0, y_1)))) → MARK(s(if(false, y_0, y_1)))
MARK(p(s(diff(y_0, false)))) → MARK(s(diff(y_0, false)))
MARK(p(s(diff(false, y_0)))) → MARK(s(diff(false, y_0)))
MARK(p(s(if(diff(y_0, y_1), y_2, y_3)))) → MARK(s(if(diff(y_0, y_1), y_2, y_3)))
MARK(p(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(p(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(p(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(p(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(p(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(p(s(diff(p(y_0), y_1)))) → MARK(s(diff(p(y_0), y_1)))
MARK(p(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(p(s(leq(y_0, s(y_1))))) → MARK(s(leq(y_0, s(y_1))))
MARK(p(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(p(s(if(true, y_0, y_1)))) → MARK(s(if(true, y_0, y_1)))
MARK(p(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(p(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(p(s(p(if(y_0, y_1, y_2))))) → MARK(s(p(if(y_0, y_1, y_2))))
MARK(p(p(y_0))) → MARK(p(y_0))
MARK(p(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(p(s(leq(y_0, leq(y_1, y_2))))) → MARK(s(leq(y_0, leq(y_1, y_2))))
MARK(p(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(p(s(diff(if(y_0, y_1, y_2), y_3)))) → MARK(s(diff(if(y_0, y_1, y_2), y_3)))
MARK(p(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(p(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(p(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(p(s(diff(y_0, p(y_1))))) → MARK(s(diff(y_0, p(y_1))))
MARK(p(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(p(s(leq(s(y_0), y_1)))) → MARK(s(leq(s(y_0), y_1)))
MARK(p(s(s(y_0)))) → MARK(s(s(y_0)))
MARK(p(s(diff(s(y_0), y_1)))) → MARK(s(diff(s(y_0), y_1)))
MARK(p(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(p(s(leq(true, y_0)))) → MARK(s(leq(true, y_0)))
MARK(p(s(leq(y_0, true)))) → MARK(s(leq(y_0, true)))
MARK(p(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(p(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(p(s(leq(if(y_0, y_1, y_2), y_3)))) → MARK(s(leq(if(y_0, y_1, y_2), y_3)))
MARK(p(s(leq(y_0, p(y_1))))) → MARK(s(leq(y_0, p(y_1))))
MARK(p(s(p(p(y_0))))) → MARK(s(p(p(y_0))))
MARK(p(s(leq(y_0, diff(y_1, y_2))))) → MARK(s(leq(y_0, diff(y_1, y_2))))
MARK(p(s(diff(y_0, true)))) → MARK(s(diff(y_0, true)))
MARK(p(s(diff(true, y_0)))) → MARK(s(diff(true, y_0)))
MARK(p(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(p(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(p(s(diff(0, y_0)))) → MARK(s(diff(0, y_0)))
MARK(p(s(diff(y_0, 0)))) → MARK(s(diff(y_0, 0)))
MARK(p(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(p(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(p(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(p(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(p(s(leq(leq(y_0, y_1), y_2)))) → MARK(s(leq(leq(y_0, y_1), y_2)))
MARK(p(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(p(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(p(s(if(s(y_0), y_1, y_2)))) → MARK(s(if(s(y_0), y_1, y_2)))
MARK(p(s(p(leq(y_0, y_1))))) → MARK(s(p(leq(y_0, y_1))))
MARK(p(s(leq(y_0, y_1)))) → MARK(s(leq(y_0, y_1)))
MARK(p(s(leq(false, y_0)))) → MARK(s(leq(false, y_0)))
MARK(p(s(leq(y_0, false)))) → MARK(s(leq(y_0, false)))
MARK(p(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(p(s(if(leq(y_0, y_1), y_2, y_3)))) → MARK(s(if(leq(y_0, y_1), y_2, y_3)))
MARK(p(s(if(y_0, y_1, y_2)))) → MARK(s(if(y_0, y_1, y_2)))
MARK(p(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(p(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(p(s(leq(y_0, if(y_1, y_2, y_3))))) → MARK(s(leq(y_0, if(y_1, y_2, y_3))))
MARK(p(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(p(s(diff(leq(y_0, y_1), y_2)))) → MARK(s(diff(leq(y_0, y_1), y_2)))
MARK(p(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(p(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(s(diff(y_0, diff(y_1, y_2))))) → MARK(s(diff(y_0, diff(y_1, y_2))))
MARK(p(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(p(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(p(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(p(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(p(s(diff(diff(y_0, y_1), y_2)))) → MARK(s(diff(diff(y_0, y_1), y_2)))
MARK(p(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(p(s(p(s(y_0))))) → MARK(s(p(s(y_0))))
MARK(p(s(p(diff(y_0, y_1))))) → MARK(s(p(diff(y_0, y_1))))
MARK(p(s(diff(y_0, y_1)))) → MARK(s(diff(y_0, y_1)))
MARK(p(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(p(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(p(s(diff(y_0, s(y_1))))) → MARK(s(diff(y_0, s(y_1))))
MARK(p(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(p(s(leq(p(y_0), y_1)))) → MARK(s(leq(p(y_0), y_1)))
MARK(p(s(if(p(y_0), y_1, y_2)))) → MARK(s(if(p(y_0), y_1, y_2)))
MARK(p(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(p(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(p(s(p(y_0)))) → MARK(s(p(y_0)))
MARK(p(s(diff(y_0, if(y_1, y_2, y_3))))) → MARK(s(diff(y_0, if(y_1, y_2, y_3))))
MARK(p(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(p(s(leq(y_0, 0)))) → MARK(s(leq(y_0, 0)))
MARK(p(s(leq(0, y_0)))) → MARK(s(leq(0, y_0)))
MARK(p(s(diff(y_0, leq(y_1, y_2))))) → MARK(s(diff(y_0, leq(y_1, y_2))))
MARK(p(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(s(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(s(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(diff(x1, x2)) → MARK(x2)
MARK(diff(y0, diff(x0, x1))) → ACTIVE(diff(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(diff(y0, x1)) → ACTIVE(diff(mark(y0), x1))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(diff(false, y1)) → ACTIVE(diff(active(false), mark(y1)))
MARK(diff(y0, false)) → ACTIVE(diff(mark(y0), active(false)))
MARK(p(s(if(diff(y_0, y_1), y_2, y_3)))) → MARK(s(if(diff(y_0, y_1), y_2, y_3)))
MARK(p(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(p(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(s(p(y_0))) → MARK(p(y_0))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(p(s(leq(y_0, s(y_1))))) → MARK(s(leq(y_0, s(y_1))))
MARK(p(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(p(s(p(if(y_0, y_1, y_2))))) → MARK(s(p(if(y_0, y_1, y_2))))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(p(p(y_0))) → MARK(p(y_0))
MARK(p(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(p(s(leq(y_0, leq(y_1, y_2))))) → MARK(s(leq(y_0, leq(y_1, y_2))))
MARK(s(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(s(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(s(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(s(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(diff(x0, y1)) → ACTIVE(diff(x0, mark(y1)))
MARK(diff(y0, p(x0))) → ACTIVE(diff(mark(y0), active(p(mark(x0)))))
MARK(p(s(diff(y_0, p(y_1))))) → MARK(s(diff(y_0, p(y_1))))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(s(s(y_0)))) → MARK(s(s(y_0)))
MARK(s(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(p(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(p(s(leq(true, y_0)))) → MARK(s(leq(true, y_0)))
MARK(p(s(leq(y_0, true)))) → MARK(s(leq(y_0, true)))
MARK(diff(if(x0, x1, x2), y1)) → ACTIVE(diff(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(p(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(p(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(s(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
MARK(p(s(leq(if(y_0, y_1, y_2), y_3)))) → MARK(s(leq(if(y_0, y_1, y_2), y_3)))
MARK(p(s(leq(y_0, p(y_1))))) → MARK(s(leq(y_0, p(y_1))))
MARK(p(s(p(p(y_0))))) → MARK(s(p(p(y_0))))
MARK(s(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(s(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(s(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(p(s(diff(y_0, true)))) → MARK(s(diff(y_0, true)))
MARK(p(s(diff(true, y_0)))) → MARK(s(diff(true, y_0)))
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(p(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(p(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(p(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(p(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(leq(x1, x2)) → MARK(x1)
MARK(diff(true, y1)) → ACTIVE(diff(active(true), mark(y1)))
MARK(diff(y0, true)) → ACTIVE(diff(mark(y0), active(true)))
MARK(p(s(p(leq(y_0, y_1))))) → MARK(s(p(leq(y_0, y_1))))
MARK(p(s(leq(y_0, y_1)))) → MARK(s(leq(y_0, y_1)))
MARK(p(s(leq(false, y_0)))) → MARK(s(leq(false, y_0)))
MARK(p(s(leq(y_0, false)))) → MARK(s(leq(y_0, false)))
MARK(p(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(p(s(if(leq(y_0, y_1), y_2, y_3)))) → MARK(s(if(leq(y_0, y_1), y_2, y_3)))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(p(s(if(y_0, y_1, y_2)))) → MARK(s(if(y_0, y_1, y_2)))
MARK(p(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(diff(leq(x0, x1), y1)) → ACTIVE(diff(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(s(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(p(s(leq(y_0, if(y_1, y_2, y_3))))) → MARK(s(leq(y_0, if(y_1, y_2, y_3))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
MARK(p(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(s(diff(y_0, diff(y_1, y_2))))) → MARK(s(diff(y_0, diff(y_1, y_2))))
MARK(p(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(p(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(s(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(s(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(p(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(p(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(p(s(diff(diff(y_0, y_1), y_2)))) → MARK(s(diff(diff(y_0, y_1), y_2)))
MARK(p(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(p(s(p(diff(y_0, y_1))))) → MARK(s(p(diff(y_0, y_1))))
MARK(p(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(diff(p(x0), y1)) → ACTIVE(diff(active(p(mark(x0))), mark(y1)))
MARK(s(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(p(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(s(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(p(s(if(p(y_0), y_1, y_2)))) → MARK(s(if(p(y_0), y_1, y_2)))
MARK(p(s(leq(p(y_0), y_1)))) → MARK(s(leq(p(y_0), y_1)))
MARK(p(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(p(s(p(y_0)))) → MARK(s(p(y_0)))
MARK(p(s(diff(y_0, if(y_1, y_2, y_3))))) → MARK(s(diff(y_0, if(y_1, y_2, y_3))))
MARK(p(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(s(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(p(s(diff(y_0, leq(y_1, y_2))))) → MARK(s(diff(y_0, leq(y_1, y_2))))
MARK(s(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(p(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(diff(y0, if(x0, x1, x2))) → ACTIVE(diff(mark(y0), active(if(mark(x0), x1, x2))))
MARK(diff(s(x0), y1)) → ACTIVE(diff(active(s(mark(x0))), mark(y1)))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(p(s(if(if(y_0, y_1, y_2), y_3, y_4)))) → MARK(s(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(leq(x1, x2)) → MARK(x2)
MARK(s(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(p(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(p(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(p(s(leq(diff(y_0, y_1), y_2)))) → MARK(s(leq(diff(y_0, y_1), y_2)))
ACTIVE(p(s(X))) → MARK(X)
MARK(p(s(if(false, y_0, y_1)))) → MARK(s(if(false, y_0, y_1)))
MARK(diff(diff(x0, x1), y1)) → ACTIVE(diff(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(s(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(p(s(diff(y_0, false)))) → MARK(s(diff(y_0, false)))
MARK(p(s(diff(false, y_0)))) → MARK(s(diff(false, y_0)))
MARK(s(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(p(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(s(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(p(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(p(s(diff(p(y_0), y_1)))) → MARK(s(diff(p(y_0), y_1)))
MARK(diff(y0, leq(x0, x1))) → ACTIVE(diff(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(p(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(p(s(if(true, y_0, y_1)))) → MARK(s(if(true, y_0, y_1)))
MARK(s(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(s(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(diff(y0, s(x0))) → ACTIVE(diff(mark(y0), active(s(mark(x0)))))
MARK(p(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(s(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(s(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(s(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(s(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(p(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(p(s(diff(if(y_0, y_1, y_2), y_3)))) → MARK(s(diff(if(y_0, y_1, y_2), y_3)))
MARK(p(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(p(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(p(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(s(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(p(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(p(s(leq(s(y_0), y_1)))) → MARK(s(leq(s(y_0), y_1)))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(p(s(diff(s(y_0), y_1)))) → MARK(s(diff(s(y_0), y_1)))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(p(s(leq(y_0, diff(y_1, y_2))))) → MARK(s(leq(y_0, diff(y_1, y_2))))
MARK(s(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(p(s(diff(0, y_0)))) → MARK(s(diff(0, y_0)))
MARK(p(s(diff(y_0, 0)))) → MARK(s(diff(y_0, 0)))
MARK(s(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(s(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(p(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(s(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(s(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(s(y_0))) → MARK(s(y_0))
MARK(p(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(p(s(leq(leq(y_0, y_1), y_2)))) → MARK(s(leq(leq(y_0, y_1), y_2)))
MARK(s(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(p(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(s(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(p(s(if(s(y_0), y_1, y_2)))) → MARK(s(if(s(y_0), y_1, y_2)))
MARK(s(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(s(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(s(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(s(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(p(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(p(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(p(s(diff(leq(y_0, y_1), y_2)))) → MARK(s(diff(leq(y_0, y_1), y_2)))
MARK(p(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(p(s(p(s(y_0))))) → MARK(s(p(s(y_0))))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(p(s(diff(y_0, y_1)))) → MARK(s(diff(y_0, y_1)))
MARK(s(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(s(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(diff(y0, 0)) → ACTIVE(diff(mark(y0), active(0)))
MARK(diff(0, y1)) → ACTIVE(diff(active(0), mark(y1)))
MARK(p(s(diff(y_0, s(y_1))))) → MARK(s(diff(y_0, s(y_1))))
MARK(p(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(s(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(p(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(p(s(leq(0, y_0)))) → MARK(s(leq(0, y_0)))
MARK(p(s(leq(y_0, 0)))) → MARK(s(leq(y_0, 0)))
MARK(s(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(s(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(s(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
MARK(leq(p(s(leq(leq(y_0, y_1), y_2))), x1)) → MARK(p(s(leq(leq(y_0, y_1), y_2))))
MARK(leq(s(diff(s(y_0), y_1)), x1)) → MARK(s(diff(s(y_0), y_1)))
MARK(leq(p(leq(p(y_0), y_1)), x1)) → MARK(p(leq(p(y_0), y_1)))
MARK(leq(p(s(diff(false, y_0))), x1)) → MARK(p(s(diff(false, y_0))))
MARK(leq(p(s(diff(y_0, false))), x1)) → MARK(p(s(diff(y_0, false))))
MARK(leq(s(leq(true, y_0)), x1)) → MARK(s(leq(true, y_0)))
MARK(leq(s(leq(y_0, true)), x1)) → MARK(s(leq(y_0, true)))
MARK(leq(s(if(y_0, y_1, y_2)), x1)) → MARK(s(if(y_0, y_1, y_2)))
MARK(leq(s(diff(0, y_0)), x1)) → MARK(s(diff(0, y_0)))
MARK(leq(s(diff(y_0, 0)), x1)) → MARK(s(diff(y_0, 0)))
MARK(leq(p(diff(y_0, p(y_1))), x1)) → MARK(p(diff(y_0, p(y_1))))
MARK(leq(s(diff(y_0, if(y_1, y_2, y_3))), x1)) → MARK(s(diff(y_0, if(y_1, y_2, y_3))))
MARK(leq(p(s(diff(y_0, 0))), x1)) → MARK(p(s(diff(y_0, 0))))
MARK(leq(p(s(diff(0, y_0))), x1)) → MARK(p(s(diff(0, y_0))))
MARK(leq(p(leq(false, y_0)), x1)) → MARK(p(leq(false, y_0)))
MARK(leq(p(leq(y_0, false)), x1)) → MARK(p(leq(y_0, false)))
MARK(leq(diff(leq(y_0, y_1), y_2), x1)) → MARK(diff(leq(y_0, y_1), y_2))
MARK(leq(p(s(if(diff(y_0, y_1), y_2, y_3))), x1)) → MARK(p(s(if(diff(y_0, y_1), y_2, y_3))))
MARK(leq(leq(y_0, diff(y_1, y_2)), x1)) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(leq(p(s(p(leq(y_0, y_1)))), x1)) → MARK(p(s(p(leq(y_0, y_1)))))
MARK(leq(p(diff(y_0, s(y_1))), x1)) → MARK(p(diff(y_0, s(y_1))))
MARK(leq(diff(true, y_0), x1)) → MARK(diff(true, y_0))
MARK(leq(diff(y_0, true), x1)) → MARK(diff(y_0, true))
MARK(leq(leq(y_0, leq(y_1, y_2)), x1)) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(leq(diff(false, y_0), x1)) → MARK(diff(false, y_0))
MARK(leq(diff(y_0, false), x1)) → MARK(diff(y_0, false))
MARK(leq(p(s(diff(leq(y_0, y_1), y_2))), x1)) → MARK(p(s(diff(leq(y_0, y_1), y_2))))
MARK(leq(leq(diff(y_0, y_1), y_2), x1)) → MARK(leq(diff(y_0, y_1), y_2))
MARK(leq(p(s(p(y_0))), x1)) → MARK(p(s(p(y_0))))
MARK(leq(p(leq(leq(y_0, y_1), y_2)), x1)) → MARK(p(leq(leq(y_0, y_1), y_2)))
MARK(leq(p(s(leq(y_0, leq(y_1, y_2)))), x1)) → MARK(p(s(leq(y_0, leq(y_1, y_2)))))
MARK(leq(p(leq(y_0, s(y_1))), x1)) → MARK(p(leq(y_0, s(y_1))))
MARK(leq(p(s(leq(p(y_0), y_1))), x1)) → MARK(p(s(leq(p(y_0), y_1))))
MARK(leq(p(s(diff(if(y_0, y_1, y_2), y_3))), x1)) → MARK(p(s(diff(if(y_0, y_1, y_2), y_3))))
MARK(leq(leq(leq(y_0, y_1), y_2), x1)) → MARK(leq(leq(y_0, y_1), y_2))
MARK(leq(p(diff(y_0, y_1)), x1)) → MARK(p(diff(y_0, y_1)))
MARK(leq(s(p(s(y_0))), x1)) → MARK(s(p(s(y_0))))
MARK(leq(p(s(if(leq(y_0, y_1), y_2, y_3))), x1)) → MARK(p(s(if(leq(y_0, y_1), y_2, y_3))))
MARK(leq(p(diff(y_0, true)), x1)) → MARK(p(diff(y_0, true)))
MARK(leq(p(diff(true, y_0)), x1)) → MARK(p(diff(true, y_0)))
MARK(leq(s(diff(y_0, leq(y_1, y_2))), x1)) → MARK(s(diff(y_0, leq(y_1, y_2))))
MARK(leq(s(if(if(y_0, y_1, y_2), y_3, y_4)), x1)) → MARK(s(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(leq(p(s(diff(y_0, if(y_1, y_2, y_3)))), x1)) → MARK(p(s(diff(y_0, if(y_1, y_2, y_3)))))
MARK(leq(diff(y_0, diff(y_1, y_2)), x1)) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(leq(p(s(diff(p(y_0), y_1))), x1)) → MARK(p(s(diff(p(y_0), y_1))))
MARK(leq(p(s(diff(diff(y_0, y_1), y_2))), x1)) → MARK(p(s(diff(diff(y_0, y_1), y_2))))
MARK(leq(p(if(diff(y_0, y_1), y_2, y_3)), x1)) → MARK(p(if(diff(y_0, y_1), y_2, y_3)))
MARK(leq(p(s(diff(y_0, leq(y_1, y_2)))), x1)) → MARK(p(s(diff(y_0, leq(y_1, y_2)))))
MARK(leq(p(s(leq(y_0, false))), x1)) → MARK(p(s(leq(y_0, false))))
MARK(leq(p(s(leq(false, y_0))), x1)) → MARK(p(s(leq(false, y_0))))
MARK(leq(p(if(true, y_0, y_1)), x1)) → MARK(p(if(true, y_0, y_1)))
MARK(leq(s(leq(diff(y_0, y_1), y_2)), x1)) → MARK(s(leq(diff(y_0, y_1), y_2)))
MARK(leq(p(p(diff(y_0, y_1))), x1)) → MARK(p(p(diff(y_0, y_1))))
MARK(leq(leq(s(y_0), y_1), x1)) → MARK(leq(s(y_0), y_1))
MARK(leq(diff(y_0, y_1), x1)) → MARK(diff(y_0, y_1))
MARK(leq(p(diff(leq(y_0, y_1), y_2)), x1)) → MARK(p(diff(leq(y_0, y_1), y_2)))
MARK(leq(if(s(y_0), y_1, y_2), x1)) → MARK(if(s(y_0), y_1, y_2))
MARK(leq(p(p(y_0)), x1)) → MARK(p(p(y_0)))
MARK(leq(if(y_0, y_1, y_2), x1)) → MARK(if(y_0, y_1, y_2))
MARK(leq(s(if(false, y_0, y_1)), x1)) → MARK(s(if(false, y_0, y_1)))
MARK(leq(diff(y_0, if(y_1, y_2, y_3)), x1)) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(leq(s(diff(y_0, false)), x1)) → MARK(s(diff(y_0, false)))
MARK(leq(s(diff(false, y_0)), x1)) → MARK(s(diff(false, y_0)))
MARK(leq(p(s(diff(true, y_0))), x1)) → MARK(p(s(diff(true, y_0))))
MARK(leq(p(s(diff(y_0, true))), x1)) → MARK(p(s(diff(y_0, true))))
MARK(leq(p(if(y_0, y_1, y_2)), x1)) → MARK(p(if(y_0, y_1, y_2)))
MARK(leq(s(leq(leq(y_0, y_1), y_2)), x1)) → MARK(s(leq(leq(y_0, y_1), y_2)))
MARK(leq(if(leq(y_0, y_1), y_2, y_3), x1)) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(leq(leq(y_0, if(y_1, y_2, y_3)), x1)) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(leq(p(s(diff(y_0, s(y_1)))), x1)) → MARK(p(s(diff(y_0, s(y_1)))))
MARK(leq(p(leq(true, y_0)), x1)) → MARK(p(leq(true, y_0)))
MARK(leq(p(leq(y_0, true)), x1)) → MARK(p(leq(y_0, true)))
MARK(leq(s(if(true, y_0, y_1)), x1)) → MARK(s(if(true, y_0, y_1)))
MARK(leq(p(leq(s(y_0), y_1)), x1)) → MARK(p(leq(s(y_0), y_1)))
MARK(leq(p(leq(y_0, p(y_1))), x1)) → MARK(p(leq(y_0, p(y_1))))
MARK(leq(p(p(s(y_0))), x1)) → MARK(p(p(s(y_0))))
MARK(leq(p(leq(y_0, 0)), x1)) → MARK(p(leq(y_0, 0)))
MARK(leq(p(leq(0, y_0)), x1)) → MARK(p(leq(0, y_0)))
MARK(leq(p(s(leq(y_0, diff(y_1, y_2)))), x1)) → MARK(p(s(leq(y_0, diff(y_1, y_2)))))
MARK(leq(s(leq(y_0, diff(y_1, y_2))), x1)) → MARK(s(leq(y_0, diff(y_1, y_2))))
MARK(leq(s(diff(y_0, p(y_1))), x1)) → MARK(s(diff(y_0, p(y_1))))
MARK(leq(p(diff(s(y_0), y_1)), x1)) → MARK(p(diff(s(y_0), y_1)))
MARK(leq(s(leq(y_0, p(y_1))), x1)) → MARK(s(leq(y_0, p(y_1))))
MARK(leq(p(leq(y_0, if(y_1, y_2, y_3))), x1)) → MARK(p(leq(y_0, if(y_1, y_2, y_3))))
MARK(leq(p(s(leq(s(y_0), y_1))), x1)) → MARK(p(s(leq(s(y_0), y_1))))
MARK(leq(s(diff(leq(y_0, y_1), y_2)), x1)) → MARK(s(diff(leq(y_0, y_1), y_2)))
MARK(leq(diff(y_0, p(y_1)), x1)) → MARK(diff(y_0, p(y_1)))
MARK(leq(s(leq(y_0, leq(y_1, y_2))), x1)) → MARK(s(leq(y_0, leq(y_1, y_2))))
MARK(leq(s(leq(p(y_0), y_1)), x1)) → MARK(s(leq(p(y_0), y_1)))
MARK(leq(p(s(leq(y_0, p(y_1)))), x1)) → MARK(p(s(leq(y_0, p(y_1)))))
MARK(leq(diff(p(y_0), y_1), x1)) → MARK(diff(p(y_0), y_1))
MARK(leq(p(s(leq(0, y_0))), x1)) → MARK(p(s(leq(0, y_0))))
MARK(leq(p(s(leq(y_0, 0))), x1)) → MARK(p(s(leq(y_0, 0))))
MARK(leq(p(s(leq(diff(y_0, y_1), y_2))), x1)) → MARK(p(s(leq(diff(y_0, y_1), y_2))))
MARK(leq(if(true, y_0, y_1), x1)) → MARK(if(true, y_0, y_1))
MARK(leq(if(if(y_0, y_1, y_2), y_3, y_4), x1)) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(leq(p(y_0), x1)) → MARK(p(y_0))
MARK(leq(leq(0, y_0), x1)) → MARK(leq(0, y_0))
MARK(leq(leq(y_0, 0), x1)) → MARK(leq(y_0, 0))
MARK(leq(p(s(if(p(y_0), y_1, y_2))), x1)) → MARK(p(s(if(p(y_0), y_1, y_2))))
MARK(leq(s(leq(false, y_0)), x1)) → MARK(s(leq(false, y_0)))
MARK(leq(s(leq(y_0, false)), x1)) → MARK(s(leq(y_0, false)))
MARK(leq(s(leq(s(y_0), y_1)), x1)) → MARK(s(leq(s(y_0), y_1)))
MARK(leq(p(diff(y_0, if(y_1, y_2, y_3))), x1)) → MARK(p(diff(y_0, if(y_1, y_2, y_3))))
MARK(leq(diff(y_0, 0), x1)) → MARK(diff(y_0, 0))
MARK(leq(diff(0, y_0), x1)) → MARK(diff(0, y_0))
MARK(leq(leq(y_0, true), x1)) → MARK(leq(y_0, true))
MARK(leq(leq(true, y_0), x1)) → MARK(leq(true, y_0))
MARK(leq(p(leq(diff(y_0, y_1), y_2)), x1)) → MARK(p(leq(diff(y_0, y_1), y_2)))
MARK(leq(p(diff(y_0, false)), x1)) → MARK(p(diff(y_0, false)))
MARK(leq(p(diff(false, y_0)), x1)) → MARK(p(diff(false, y_0)))
MARK(leq(p(if(s(y_0), y_1, y_2)), x1)) → MARK(p(if(s(y_0), y_1, y_2)))
MARK(leq(diff(s(y_0), y_1), x1)) → MARK(diff(s(y_0), y_1))
MARK(leq(s(leq(y_0, 0)), x1)) → MARK(s(leq(y_0, 0)))
MARK(leq(s(leq(0, y_0)), x1)) → MARK(s(leq(0, y_0)))
MARK(leq(p(s(if(false, y_0, y_1))), x1)) → MARK(p(s(if(false, y_0, y_1))))
MARK(leq(s(p(p(y_0))), x1)) → MARK(s(p(p(y_0))))
MARK(leq(p(leq(if(y_0, y_1, y_2), y_3)), x1)) → MARK(p(leq(if(y_0, y_1, y_2), y_3)))
MARK(leq(s(diff(y_0, y_1)), x1)) → MARK(s(diff(y_0, y_1)))
MARK(leq(s(p(leq(y_0, y_1))), x1)) → MARK(s(p(leq(y_0, y_1))))
MARK(leq(if(false, y_0, y_1), x1)) → MARK(if(false, y_0, y_1))
MARK(leq(s(diff(y_0, true)), x1)) → MARK(s(diff(y_0, true)))
MARK(leq(s(diff(true, y_0)), x1)) → MARK(s(diff(true, y_0)))
MARK(leq(p(s(diff(y_0, p(y_1)))), x1)) → MARK(p(s(diff(y_0, p(y_1)))))
MARK(leq(p(diff(y_0, leq(y_1, y_2))), x1)) → MARK(p(diff(y_0, leq(y_1, y_2))))
MARK(leq(p(if(if(y_0, y_1, y_2), y_3, y_4)), x1)) → MARK(p(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(leq(p(s(if(true, y_0, y_1))), x1)) → MARK(p(s(if(true, y_0, y_1))))
MARK(leq(s(if(leq(y_0, y_1), y_2, y_3)), x1)) → MARK(s(if(leq(y_0, y_1), y_2, y_3)))
MARK(leq(p(if(p(y_0), y_1, y_2)), x1)) → MARK(p(if(p(y_0), y_1, y_2)))
MARK(leq(diff(if(y_0, y_1, y_2), y_3), x1)) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(leq(if(diff(y_0, y_1), y_2, y_3), x1)) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(leq(leq(y_0, false), x1)) → MARK(leq(y_0, false))
MARK(leq(leq(false, y_0), x1)) → MARK(leq(false, y_0))
MARK(leq(if(p(y_0), y_1, y_2), x1)) → MARK(if(p(y_0), y_1, y_2))
MARK(leq(s(if(p(y_0), y_1, y_2)), x1)) → MARK(s(if(p(y_0), y_1, y_2)))
MARK(leq(p(s(leq(if(y_0, y_1, y_2), y_3))), x1)) → MARK(p(s(leq(if(y_0, y_1, y_2), y_3))))
MARK(leq(diff(y_0, s(y_1)), x1)) → MARK(diff(y_0, s(y_1)))
MARK(leq(p(leq(y_0, diff(y_1, y_2))), x1)) → MARK(p(leq(y_0, diff(y_1, y_2))))
MARK(leq(s(diff(y_0, s(y_1))), x1)) → MARK(s(diff(y_0, s(y_1))))
MARK(leq(p(s(diff(y_0, y_1))), x1)) → MARK(p(s(diff(y_0, y_1))))
MARK(leq(p(s(diff(y_0, diff(y_1, y_2)))), x1)) → MARK(p(s(diff(y_0, diff(y_1, y_2)))))
MARK(leq(p(s(p(diff(y_0, y_1)))), x1)) → MARK(p(s(p(diff(y_0, y_1)))))
MARK(leq(p(p(if(y_0, y_1, y_2))), x1)) → MARK(p(p(if(y_0, y_1, y_2))))
MARK(leq(leq(y_0, y_1), x1)) → MARK(leq(y_0, y_1))
MARK(leq(p(diff(p(y_0), y_1)), x1)) → MARK(p(diff(p(y_0), y_1)))
MARK(leq(p(s(leq(y_0, s(y_1)))), x1)) → MARK(p(s(leq(y_0, s(y_1)))))
MARK(leq(p(s(leq(y_0, true))), x1)) → MARK(p(s(leq(y_0, true))))
MARK(leq(p(s(leq(true, y_0))), x1)) → MARK(p(s(leq(true, y_0))))
MARK(leq(p(s(p(if(y_0, y_1, y_2)))), x1)) → MARK(p(s(p(if(y_0, y_1, y_2)))))
MARK(leq(p(s(if(if(y_0, y_1, y_2), y_3, y_4))), x1)) → MARK(p(s(if(if(y_0, y_1, y_2), y_3, y_4))))
MARK(leq(p(diff(0, y_0)), x1)) → MARK(p(diff(0, y_0)))
MARK(leq(p(diff(y_0, 0)), x1)) → MARK(p(diff(y_0, 0)))
MARK(leq(p(s(s(y_0))), x1)) → MARK(p(s(s(y_0))))
MARK(leq(p(leq(y_0, y_1)), x1)) → MARK(p(leq(y_0, y_1)))
MARK(leq(s(diff(p(y_0), y_1)), x1)) → MARK(s(diff(p(y_0), y_1)))
MARK(leq(s(p(y_0)), x1)) → MARK(s(p(y_0)))
MARK(leq(p(s(p(s(y_0)))), x1)) → MARK(p(s(p(s(y_0)))))
MARK(leq(p(diff(diff(y_0, y_1), y_2)), x1)) → MARK(p(diff(diff(y_0, y_1), y_2)))
MARK(leq(s(p(if(y_0, y_1, y_2))), x1)) → MARK(s(p(if(y_0, y_1, y_2))))
MARK(leq(p(s(if(s(y_0), y_1, y_2))), x1)) → MARK(p(s(if(s(y_0), y_1, y_2))))
MARK(leq(p(if(leq(y_0, y_1), y_2, y_3)), x1)) → MARK(p(if(leq(y_0, y_1), y_2, y_3)))
MARK(leq(s(leq(if(y_0, y_1, y_2), y_3)), x1)) → MARK(s(leq(if(y_0, y_1, y_2), y_3)))
MARK(leq(leq(p(y_0), y_1), x1)) → MARK(leq(p(y_0), y_1))
MARK(leq(s(leq(y_0, y_1)), x1)) → MARK(s(leq(y_0, y_1)))
MARK(leq(p(p(leq(y_0, y_1))), x1)) → MARK(p(p(leq(y_0, y_1))))
MARK(leq(p(s(leq(y_0, y_1))), x1)) → MARK(p(s(leq(y_0, y_1))))
MARK(leq(p(s(p(p(y_0)))), x1)) → MARK(p(s(p(p(y_0)))))
MARK(leq(s(leq(y_0, s(y_1))), x1)) → MARK(s(leq(y_0, s(y_1))))
MARK(leq(p(s(diff(s(y_0), y_1))), x1)) → MARK(p(s(diff(s(y_0), y_1))))
MARK(leq(p(if(false, y_0, y_1)), x1)) → MARK(p(if(false, y_0, y_1)))
MARK(leq(leq(if(y_0, y_1, y_2), y_3), x1)) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(leq(s(if(s(y_0), y_1, y_2)), x1)) → MARK(s(if(s(y_0), y_1, y_2)))
MARK(leq(p(diff(y_0, diff(y_1, y_2))), x1)) → MARK(p(diff(y_0, diff(y_1, y_2))))
MARK(leq(s(diff(if(y_0, y_1, y_2), y_3)), x1)) → MARK(s(diff(if(y_0, y_1, y_2), y_3)))
MARK(leq(p(s(if(y_0, y_1, y_2))), x1)) → MARK(p(s(if(y_0, y_1, y_2))))
MARK(leq(leq(y_0, s(y_1)), x1)) → MARK(leq(y_0, s(y_1)))
MARK(leq(p(s(y_0)), x1)) → MARK(p(s(y_0)))
MARK(leq(p(diff(if(y_0, y_1, y_2), y_3)), x1)) → MARK(p(diff(if(y_0, y_1, y_2), y_3)))
MARK(leq(leq(y_0, p(y_1)), x1)) → MARK(leq(y_0, p(y_1)))
MARK(leq(diff(diff(y_0, y_1), y_2), x1)) → MARK(diff(diff(y_0, y_1), y_2))
MARK(leq(p(s(leq(y_0, if(y_1, y_2, y_3)))), x1)) → MARK(p(s(leq(y_0, if(y_1, y_2, y_3)))))
MARK(leq(s(p(diff(y_0, y_1))), x1)) → MARK(s(p(diff(y_0, y_1))))
MARK(leq(s(if(diff(y_0, y_1), y_2, y_3)), x1)) → MARK(s(if(diff(y_0, y_1), y_2, y_3)))
MARK(leq(diff(y_0, leq(y_1, y_2)), x1)) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(leq(s(leq(y_0, if(y_1, y_2, y_3))), x1)) → MARK(s(leq(y_0, if(y_1, y_2, y_3))))
MARK(leq(s(s(y_0)), x1)) → MARK(s(s(y_0)))
MARK(leq(s(diff(diff(y_0, y_1), y_2)), x1)) → MARK(s(diff(diff(y_0, y_1), y_2)))
MARK(leq(p(p(p(y_0))), x1)) → MARK(p(p(p(y_0))))
MARK(leq(s(diff(y_0, diff(y_1, y_2))), x1)) → MARK(s(diff(y_0, diff(y_1, y_2))))
MARK(leq(p(leq(y_0, leq(y_1, y_2))), x1)) → MARK(p(leq(y_0, leq(y_1, y_2))))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
MARK(leq(s(diff(s(y_0), y_1)), x1)) → MARK(s(diff(s(y_0), y_1)))
MARK(s(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(s(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(leq(s(diff(0, y_0)), x1)) → MARK(s(diff(0, y_0)))
MARK(leq(s(diff(y_0, 0)), x1)) → MARK(s(diff(y_0, 0)))
MARK(leq(s(diff(y_0, if(y_1, y_2, y_3))), x1)) → MARK(s(diff(y_0, if(y_1, y_2, y_3))))
MARK(leq(p(s(diff(y_0, 0))), x1)) → MARK(p(s(diff(y_0, 0))))
MARK(leq(p(s(diff(0, y_0))), x1)) → MARK(p(s(diff(0, y_0))))
MARK(diff(y0, x1)) → ACTIVE(diff(mark(y0), x1))
MARK(diff(false, y1)) → ACTIVE(diff(active(false), mark(y1)))
MARK(diff(y0, false)) → ACTIVE(diff(mark(y0), active(false)))
MARK(leq(y0, x1)) → ACTIVE(leq(mark(y0), x1))
MARK(s(p(y_0))) → MARK(p(y_0))
MARK(leq(diff(true, y_0), x1)) → MARK(diff(true, y_0))
MARK(leq(diff(y_0, true), x1)) → MARK(diff(y_0, true))
MARK(p(s(leq(y_0, s(y_1))))) → MARK(s(leq(y_0, s(y_1))))
MARK(leq(diff(false, y_0), x1)) → MARK(diff(false, y_0))
MARK(leq(diff(y_0, false), x1)) → MARK(diff(y_0, false))
MARK(p(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(leq(p(leq(leq(y_0, y_1), y_2)), x1)) → MARK(p(leq(leq(y_0, y_1), y_2)))
MARK(p(s(p(if(y_0, y_1, y_2))))) → MARK(s(p(if(y_0, y_1, y_2))))
MARK(leq(p(s(leq(p(y_0), y_1))), x1)) → MARK(p(s(leq(p(y_0), y_1))))
MARK(leq(y0, p(x0))) → ACTIVE(leq(mark(y0), active(p(mark(x0)))))
MARK(leq(p(s(diff(if(y_0, y_1, y_2), y_3))), x1)) → MARK(p(s(diff(if(y_0, y_1, y_2), y_3))))
MARK(leq(p(diff(y_0, y_1)), x1)) → MARK(p(diff(y_0, y_1)))
MARK(leq(p(diff(y_0, true)), x1)) → MARK(p(diff(y_0, true)))
MARK(leq(p(diff(true, y_0)), x1)) → MARK(p(diff(true, y_0)))
MARK(leq(s(if(if(y_0, y_1, y_2), y_3, y_4)), x1)) → MARK(s(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(leq(p(s(diff(y_0, if(y_1, y_2, y_3)))), x1)) → MARK(p(s(diff(y_0, if(y_1, y_2, y_3)))))
MARK(p(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(leq(p(s(diff(p(y_0), y_1))), x1)) → MARK(p(s(diff(p(y_0), y_1))))
MARK(leq(p(s(diff(diff(y_0, y_1), y_2))), x1)) → MARK(p(s(diff(diff(y_0, y_1), y_2))))
MARK(s(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(s(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(leq(p(s(leq(y_0, false))), x1)) → MARK(p(s(leq(y_0, false))))
MARK(leq(p(s(leq(false, y_0))), x1)) → MARK(p(s(leq(false, y_0))))
MARK(s(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(diff(x0, y1)) → ACTIVE(diff(x0, mark(y1)))
MARK(diff(y0, p(x0))) → ACTIVE(diff(mark(y0), active(p(mark(x0)))))
MARK(leq(p(p(diff(y_0, y_1))), x1)) → MARK(p(p(diff(y_0, y_1))))
MARK(leq(leq(s(y_0), y_1), x1)) → MARK(leq(s(y_0), y_1))
MARK(p(s(diff(y_0, p(y_1))))) → MARK(s(diff(y_0, p(y_1))))
MARK(leq(y0, s(x0))) → ACTIVE(leq(mark(y0), active(s(mark(x0)))))
MARK(p(s(s(y_0)))) → MARK(s(s(y_0)))
MARK(leq(if(s(y_0), y_1, y_2), x1)) → MARK(if(s(y_0), y_1, y_2))
MARK(leq(if(y_0, y_1, y_2), x1)) → MARK(if(y_0, y_1, y_2))
MARK(s(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(leq(s(diff(y_0, false)), x1)) → MARK(s(diff(y_0, false)))
MARK(leq(s(diff(false, y_0)), x1)) → MARK(s(diff(false, y_0)))
MARK(p(s(leq(true, y_0)))) → MARK(s(leq(true, y_0)))
MARK(p(s(leq(y_0, true)))) → MARK(s(leq(y_0, true)))
MARK(diff(if(x0, x1, x2), y1)) → ACTIVE(diff(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(leq(p(s(diff(true, y_0))), x1)) → MARK(p(s(diff(true, y_0))))
MARK(leq(p(s(diff(y_0, true))), x1)) → MARK(p(s(diff(y_0, true))))
MARK(p(x0)) → ACTIVE(p(x0))
MARK(leq(p(if(y_0, y_1, y_2)), x1)) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(leq(if(leq(y_0, y_1), y_2, y_3), x1)) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(if(false, y1, y2)) → ACTIVE(if(false, y1, y2))
MARK(p(s(leq(if(y_0, y_1, y_2), y_3)))) → MARK(s(leq(if(y_0, y_1, y_2), y_3)))
MARK(leq(p(leq(s(y_0), y_1)), x1)) → MARK(p(leq(s(y_0), y_1)))
MARK(leq(p(leq(y_0, p(y_1))), x1)) → MARK(p(leq(y_0, p(y_1))))
MARK(p(s(leq(y_0, p(y_1))))) → MARK(s(leq(y_0, p(y_1))))
MARK(leq(diff(y_0, p(y_1)), x1)) → MARK(diff(y_0, p(y_1)))
MARK(p(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(p(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(p(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(leq(p(s(leq(diff(y_0, y_1), y_2))), x1)) → MARK(p(s(leq(diff(y_0, y_1), y_2))))
MARK(leq(if(if(y_0, y_1, y_2), y_3, y_4), x1)) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(leq(p(y_0), x1)) → MARK(p(y_0))
MARK(leq(leq(y_0, true), x1)) → MARK(leq(y_0, true))
MARK(leq(leq(true, y_0), x1)) → MARK(leq(true, y_0))
MARK(leq(p(leq(diff(y_0, y_1), y_2)), x1)) → MARK(p(leq(diff(y_0, y_1), y_2)))
MARK(leq(p(diff(y_0, false)), x1)) → MARK(p(diff(y_0, false)))
MARK(leq(p(diff(false, y_0)), x1)) → MARK(p(diff(false, y_0)))
MARK(leq(s(p(p(y_0))), x1)) → MARK(s(p(p(y_0))))
MARK(p(s(p(leq(y_0, y_1))))) → MARK(s(p(leq(y_0, y_1))))
MARK(p(s(leq(false, y_0)))) → MARK(s(leq(false, y_0)))
MARK(p(s(leq(y_0, false)))) → MARK(s(leq(y_0, false)))
MARK(leq(p(s(diff(y_0, p(y_1)))), x1)) → MARK(p(s(diff(y_0, p(y_1)))))
MARK(leq(p(diff(y_0, leq(y_1, y_2))), x1)) → MARK(p(diff(y_0, leq(y_1, y_2))))
MARK(p(s(if(y_0, y_1, y_2)))) → MARK(s(if(y_0, y_1, y_2)))
MARK(leq(if(diff(y_0, y_1), y_2, y_3), x1)) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(p(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(p(p(y_0)))) → MARK(p(p(y_0)))
MARK(leq(s(if(p(y_0), y_1, y_2)), x1)) → MARK(s(if(p(y_0), y_1, y_2)))
MARK(p(s(leq(y_0, if(y_1, y_2, y_3))))) → MARK(s(leq(y_0, if(y_1, y_2, y_3))))
MARK(leq(p(s(diff(y_0, y_1))), x1)) → MARK(p(s(diff(y_0, y_1))))
MARK(leq(p(s(diff(y_0, diff(y_1, y_2)))), x1)) → MARK(p(s(diff(y_0, diff(y_1, y_2)))))
MARK(if(if(x0, x1, x2), y1, y2)) → ACTIVE(if(active(if(mark(x0), x1, x2)), y1, y2))
MARK(leq(leq(y_0, y_1), x1)) → MARK(leq(y_0, y_1))
MARK(p(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(p(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(leq(p(s(p(if(y_0, y_1, y_2)))), x1)) → MARK(p(s(p(if(y_0, y_1, y_2)))))
MARK(leq(p(s(if(if(y_0, y_1, y_2), y_3, y_4))), x1)) → MARK(p(s(if(if(y_0, y_1, y_2), y_3, y_4))))
MARK(p(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(leq(s(diff(p(y_0), y_1)), x1)) → MARK(s(diff(p(y_0), y_1)))
MARK(p(s(p(diff(y_0, y_1))))) → MARK(s(p(diff(y_0, y_1))))
MARK(p(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(leq(s(p(if(y_0, y_1, y_2))), x1)) → MARK(s(p(if(y_0, y_1, y_2))))
MARK(s(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(p(s(x0))) → ACTIVE(p(active(s(mark(x0)))))
MARK(p(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(leq(s(leq(y_0, y_1)), x1)) → MARK(s(leq(y_0, y_1)))
MARK(s(leq(y_0, y_1))) → MARK(leq(y_0, y_1))
MARK(p(s(if(p(y_0), y_1, y_2)))) → MARK(s(if(p(y_0), y_1, y_2)))
MARK(leq(p(s(p(p(y_0)))), x1)) → MARK(p(s(p(p(y_0)))))
MARK(p(s(p(y_0)))) → MARK(s(p(y_0)))
MARK(leq(s(leq(y_0, s(y_1))), x1)) → MARK(s(leq(y_0, s(y_1))))
MARK(leq(p(s(diff(s(y_0), y_1))), x1)) → MARK(p(s(diff(s(y_0), y_1))))
MARK(p(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(s(diff(s(y_0), y_1))) → MARK(diff(s(y_0), y_1))
MARK(leq(y0, leq(x0, x1))) → ACTIVE(leq(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(p(if(false, y_0, y_1)), x1)) → MARK(p(if(false, y_0, y_1)))
MARK(leq(leq(if(y_0, y_1, y_2), y_3), x1)) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(leq(p(s(if(y_0, y_1, y_2))), x1)) → MARK(p(s(if(y_0, y_1, y_2))))
MARK(leq(leq(y_0, s(y_1)), x1)) → MARK(leq(y_0, s(y_1)))
MARK(leq(p(s(y_0)), x1)) → MARK(p(s(y_0)))
MARK(leq(p(diff(if(y_0, y_1, y_2), y_3)), x1)) → MARK(p(diff(if(y_0, y_1, y_2), y_3)))
MARK(leq(leq(y_0, p(y_1)), x1)) → MARK(leq(y_0, p(y_1)))
MARK(s(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(leq(s(diff(diff(y_0, y_1), y_2)), x1)) → MARK(s(diff(diff(y_0, y_1), y_2)))
MARK(leq(s(diff(y_0, diff(y_1, y_2))), x1)) → MARK(s(diff(y_0, diff(y_1, y_2))))
MARK(diff(y0, if(x0, x1, x2))) → ACTIVE(diff(mark(y0), active(if(mark(x0), x1, x2))))
MARK(leq(p(s(leq(leq(y_0, y_1), y_2))), x1)) → MARK(p(s(leq(leq(y_0, y_1), y_2))))
MARK(diff(s(x0), y1)) → ACTIVE(diff(active(s(mark(x0))), mark(y1)))
MARK(leq(p(s(diff(false, y_0))), x1)) → MARK(p(s(diff(false, y_0))))
MARK(leq(p(s(diff(y_0, false))), x1)) → MARK(p(s(diff(y_0, false))))
MARK(leq(if(x0, x1, x2), y1)) → ACTIVE(leq(active(if(mark(x0), x1, x2)), mark(y1)))
MARK(p(s(if(if(y_0, y_1, y_2), y_3, y_4)))) → MARK(s(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(p(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(p(leq(y_0, 0))) → MARK(leq(y_0, 0))
ACTIVE(p(s(X))) → MARK(X)
MARK(p(s(if(false, y_0, y_1)))) → MARK(s(if(false, y_0, y_1)))
MARK(diff(diff(x0, x1), y1)) → ACTIVE(diff(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(leq(p(leq(false, y_0)), x1)) → MARK(p(leq(false, y_0)))
MARK(leq(p(leq(y_0, false)), x1)) → MARK(p(leq(y_0, false)))
MARK(s(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(s(diff(leq(y_0, y_1), y_2))) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(leq(p(diff(y_0, s(y_1))), x1)) → MARK(p(diff(y_0, s(y_1))))
MARK(p(diff(diff(y_0, y_1), y_2))) → MARK(diff(diff(y_0, y_1), y_2))
MARK(p(leq(p(y_0), y_1))) → MARK(leq(p(y_0), y_1))
MARK(diff(y0, leq(x0, x1))) → ACTIVE(diff(mark(y0), active(leq(mark(x0), mark(x1)))))
MARK(leq(p(s(diff(leq(y_0, y_1), y_2))), x1)) → MARK(p(s(diff(leq(y_0, y_1), y_2))))
MARK(p(s(if(true, y_0, y_1)))) → MARK(s(if(true, y_0, y_1)))
MARK(leq(p(s(p(y_0))), x1)) → MARK(p(s(p(y_0))))
MARK(leq(p(s(leq(y_0, leq(y_1, y_2)))), x1)) → MARK(p(s(leq(y_0, leq(y_1, y_2)))))
MARK(diff(y0, s(x0))) → ACTIVE(diff(mark(y0), active(s(mark(x0)))))
MARK(p(p(leq(y_0, y_1)))) → MARK(p(leq(y_0, y_1)))
MARK(if(diff(x0, x1), y1, y2)) → ACTIVE(if(active(diff(mark(x0), mark(x1))), y1, y2))
MARK(leq(leq(leq(y_0, y_1), y_2), x1)) → MARK(leq(leq(y_0, y_1), y_2))
MARK(diff(x1, x2)) → MARK(x1)
MARK(if(leq(x0, x1), y1, y2)) → ACTIVE(if(active(leq(mark(x0), mark(x1))), y1, y2))
MARK(leq(diff(y_0, diff(y_1, y_2)), x1)) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(leq(p(s(diff(y_0, leq(y_1, y_2)))), x1)) → MARK(p(s(diff(y_0, leq(y_1, y_2)))))
MARK(leq(s(leq(diff(y_0, y_1), y_2)), x1)) → MARK(s(leq(diff(y_0, y_1), y_2)))
ACTIVE(diff(X, Y)) → MARK(if(leq(X, Y), 0, s(diff(p(X), Y))))
MARK(s(if(true, y_0, y_1))) → MARK(if(true, y_0, y_1))
MARK(p(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(if(p(x0), y1, y2)) → ACTIVE(if(active(p(mark(x0))), y1, y2))
MARK(leq(p(diff(leq(y_0, y_1), y_2)), x1)) → MARK(p(diff(leq(y_0, y_1), y_2)))
MARK(leq(p(p(y_0)), x1)) → MARK(p(p(y_0)))
MARK(leq(diff(y_0, if(y_1, y_2, y_3)), x1)) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(leq(leq(y_0, if(y_1, y_2, y_3)), x1)) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(leq(p(leq(true, y_0)), x1)) → MARK(p(leq(true, y_0)))
MARK(leq(p(leq(y_0, true)), x1)) → MARK(p(leq(y_0, true)))
MARK(leq(s(if(true, y_0, y_1)), x1)) → MARK(s(if(true, y_0, y_1)))
MARK(leq(p(p(s(y_0))), x1)) → MARK(p(p(s(y_0))))
MARK(leq(p(leq(y_0, 0)), x1)) → MARK(p(leq(y_0, 0)))
MARK(leq(p(leq(0, y_0)), x1)) → MARK(p(leq(0, y_0)))
MARK(leq(s(leq(y_0, p(y_1))), x1)) → MARK(s(leq(y_0, p(y_1))))
MARK(leq(s(diff(leq(y_0, y_1), y_2)), x1)) → MARK(s(diff(leq(y_0, y_1), y_2)))
MARK(s(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(p(s(diff(0, y_0)))) → MARK(s(diff(0, y_0)))
MARK(p(s(diff(y_0, 0)))) → MARK(s(diff(y_0, 0)))
MARK(s(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(p(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(s(p(diff(y_0, y_1)))) → MARK(p(diff(y_0, y_1)))
MARK(leq(s(leq(y_0, leq(y_1, y_2))), x1)) → MARK(s(leq(y_0, leq(y_1, y_2))))
MARK(leq(s(leq(p(y_0), y_1)), x1)) → MARK(s(leq(p(y_0), y_1)))
MARK(s(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(s(s(y_0))) → MARK(s(y_0))
MARK(leq(p(s(leq(0, y_0))), x1)) → MARK(p(s(leq(0, y_0))))
MARK(leq(p(s(leq(y_0, 0))), x1)) → MARK(p(s(leq(y_0, 0))))
MARK(leq(leq(0, y_0), x1)) → MARK(leq(0, y_0))
MARK(leq(leq(y_0, 0), x1)) → MARK(leq(y_0, 0))
MARK(leq(p(diff(y_0, if(y_1, y_2, y_3))), x1)) → MARK(p(diff(y_0, if(y_1, y_2, y_3))))
MARK(s(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(p(s(if(s(y_0), y_1, y_2)))) → MARK(s(if(s(y_0), y_1, y_2)))
MARK(leq(s(diff(y_0, y_1)), x1)) → MARK(s(diff(y_0, y_1)))
MARK(s(leq(y_0, s(y_1)))) → MARK(leq(y_0, s(y_1)))
MARK(s(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(leq(if(false, y_0, y_1), x1)) → MARK(if(false, y_0, y_1))
MARK(if(x0, x1, x2)) → ACTIVE(if(x0, x1, x2))
MARK(leq(p(s(if(true, y_0, y_1))), x1)) → MARK(p(s(if(true, y_0, y_1))))
MARK(leq(s(if(leq(y_0, y_1), y_2, y_3)), x1)) → MARK(s(if(leq(y_0, y_1), y_2, y_3)))
MARK(s(diff(y_0, p(y_1)))) → MARK(diff(y_0, p(y_1)))
MARK(leq(diff(y_0, s(y_1)), x1)) → MARK(diff(y_0, s(y_1)))
MARK(p(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(p(s(diff(leq(y_0, y_1), y_2)))) → MARK(s(diff(leq(y_0, y_1), y_2)))
MARK(leq(p(p(if(y_0, y_1, y_2))), x1)) → MARK(p(p(if(y_0, y_1, y_2))))
MARK(p(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(leq(p(diff(p(y_0), y_1)), x1)) → MARK(p(diff(p(y_0), y_1)))
ACTIVE(if(false, X, Y)) → MARK(Y)
MARK(p(leq(x0, x1))) → ACTIVE(p(active(leq(mark(x0), mark(x1)))))
MARK(leq(p(s(leq(y_0, s(y_1)))), x1)) → MARK(p(s(leq(y_0, s(y_1)))))
MARK(s(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(s(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(diff(y0, 0)) → ACTIVE(diff(mark(y0), active(0)))
MARK(diff(0, y1)) → ACTIVE(diff(active(0), mark(y1)))
MARK(p(s(diff(y_0, s(y_1))))) → MARK(s(diff(y_0, s(y_1))))
MARK(leq(p(p(leq(y_0, y_1))), x1)) → MARK(p(p(leq(y_0, y_1))))
MARK(p(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(leq(p(diff(y_0, diff(y_1, y_2))), x1)) → MARK(p(diff(y_0, diff(y_1, y_2))))
MARK(leq(s(diff(if(y_0, y_1, y_2), y_3)), x1)) → MARK(s(diff(if(y_0, y_1, y_2), y_3)))
MARK(p(s(leq(0, y_0)))) → MARK(s(leq(0, y_0)))
MARK(p(s(leq(y_0, 0)))) → MARK(s(leq(y_0, 0)))
MARK(s(leq(0, y_0))) → MARK(leq(0, y_0))
MARK(s(leq(y_0, 0))) → MARK(leq(y_0, 0))
MARK(leq(diff(diff(y_0, y_1), y_2), x1)) → MARK(diff(diff(y_0, y_1), y_2))
MARK(leq(p(s(leq(y_0, if(y_1, y_2, y_3)))), x1)) → MARK(p(s(leq(y_0, if(y_1, y_2, y_3)))))
MARK(leq(s(leq(y_0, if(y_1, y_2, y_3))), x1)) → MARK(s(leq(y_0, if(y_1, y_2, y_3))))
MARK(leq(diff(y_0, leq(y_1, y_2)), x1)) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(leq(p(p(p(y_0))), x1)) → MARK(p(p(p(y_0))))
MARK(leq(p(leq(y_0, leq(y_1, y_2))), x1)) → MARK(p(leq(y_0, leq(y_1, y_2))))
MARK(leq(y0, 0)) → ACTIVE(leq(mark(y0), active(0)))
MARK(leq(0, y1)) → ACTIVE(leq(active(0), mark(y1)))
MARK(leq(s(leq(true, y_0)), x1)) → MARK(s(leq(true, y_0)))
MARK(leq(s(leq(y_0, true)), x1)) → MARK(s(leq(y_0, true)))
MARK(diff(x1, x2)) → MARK(x2)
MARK(diff(y0, diff(x0, x1))) → ACTIVE(diff(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(leq(p(s(if(diff(y_0, y_1), y_2, y_3))), x1)) → MARK(p(s(if(diff(y_0, y_1), y_2, y_3))))
MARK(if(x1, x2, x3)) → MARK(x1)
MARK(leq(leq(y_0, diff(y_1, y_2)), x1)) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(s(if(diff(y_0, y_1), y_2, y_3)))) → MARK(s(if(diff(y_0, y_1), y_2, y_3)))
MARK(p(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(p(leq(true, y_0))) → MARK(leq(true, y_0))
ACTIVE(leq(s(X), s(Y))) → MARK(leq(X, Y))
MARK(p(diff(y_0, y_1))) → MARK(diff(y_0, y_1))
MARK(leq(leq(diff(y_0, y_1), y_2), x1)) → MARK(leq(diff(y_0, y_1), y_2))
MARK(p(p(y_0))) → MARK(p(y_0))
MARK(p(s(leq(y_0, leq(y_1, y_2))))) → MARK(s(leq(y_0, leq(y_1, y_2))))
MARK(s(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(leq(s(x0), y1)) → ACTIVE(leq(active(s(mark(x0))), mark(y1)))
MARK(if(s(x0), y1, y2)) → ACTIVE(if(active(s(mark(x0))), y1, y2))
MARK(p(leq(y_0, p(y_1)))) → MARK(leq(y_0, p(y_1)))
MARK(p(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(p(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(leq(s(leq(leq(y_0, y_1), y_2)), x1)) → MARK(s(leq(leq(y_0, y_1), y_2)))
MARK(leq(p(s(leq(y_0, diff(y_1, y_2)))), x1)) → MARK(p(s(leq(y_0, diff(y_1, y_2)))))
MARK(leq(s(diff(y_0, p(y_1))), x1)) → MARK(s(diff(y_0, p(y_1))))
MARK(p(s(p(p(y_0))))) → MARK(s(p(p(y_0))))
MARK(s(diff(y_0, 0))) → MARK(diff(y_0, 0))
MARK(s(diff(0, y_0))) → MARK(diff(0, y_0))
MARK(leq(p(leq(y_0, if(y_1, y_2, y_3))), x1)) → MARK(p(leq(y_0, if(y_1, y_2, y_3))))
MARK(s(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(leq(p(s(leq(s(y_0), y_1))), x1)) → MARK(p(s(leq(s(y_0), y_1))))
MARK(p(s(diff(y_0, true)))) → MARK(s(diff(y_0, true)))
MARK(p(s(diff(true, y_0)))) → MARK(s(diff(true, y_0)))
ACTIVE(if(true, X, Y)) → MARK(X)
MARK(if(true, y1, y2)) → ACTIVE(if(true, y1, y2))
MARK(leq(p(s(leq(y_0, p(y_1)))), x1)) → MARK(p(s(leq(y_0, p(y_1)))))
MARK(leq(diff(p(y_0), y_1), x1)) → MARK(diff(p(y_0), y_1))
MARK(leq(if(true, y_0, y_1), x1)) → MARK(if(true, y_0, y_1))
MARK(leq(p(s(if(p(y_0), y_1, y_2))), x1)) → MARK(p(s(if(p(y_0), y_1, y_2))))
MARK(leq(s(leq(false, y_0)), x1)) → MARK(s(leq(false, y_0)))
MARK(leq(s(leq(y_0, false)), x1)) → MARK(s(leq(y_0, false)))
MARK(leq(s(leq(s(y_0), y_1)), x1)) → MARK(s(leq(s(y_0), y_1)))
MARK(leq(p(if(s(y_0), y_1, y_2)), x1)) → MARK(p(if(s(y_0), y_1, y_2)))
MARK(leq(s(leq(y_0, 0)), x1)) → MARK(s(leq(y_0, 0)))
MARK(leq(s(leq(0, y_0)), x1)) → MARK(s(leq(0, y_0)))
MARK(p(if(diff(y_0, y_1), y_2, y_3))) → MARK(if(diff(y_0, y_1), y_2, y_3))
MARK(leq(p(s(if(false, y_0, y_1))), x1)) → MARK(p(s(if(false, y_0, y_1))))
MARK(diff(true, y1)) → ACTIVE(diff(active(true), mark(y1)))
MARK(diff(y0, true)) → ACTIVE(diff(mark(y0), active(true)))
MARK(leq(p(leq(if(y_0, y_1, y_2), y_3)), x1)) → MARK(p(leq(if(y_0, y_1, y_2), y_3)))
MARK(p(s(leq(y_0, y_1)))) → MARK(s(leq(y_0, y_1)))
MARK(p(leq(s(y_0), y_1))) → MARK(leq(s(y_0), y_1))
MARK(p(s(if(leq(y_0, y_1), y_2, y_3)))) → MARK(s(if(leq(y_0, y_1), y_2, y_3)))
MARK(leq(s(p(leq(y_0, y_1))), x1)) → MARK(s(p(leq(y_0, y_1))))
MARK(p(diff(x0, x1))) → ACTIVE(p(active(diff(mark(x0), mark(x1)))))
MARK(leq(leq(y_0, false), x1)) → MARK(leq(y_0, false))
MARK(leq(leq(false, y_0), x1)) → MARK(leq(false, y_0))
MARK(diff(leq(x0, x1), y1)) → ACTIVE(diff(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(s(diff(y_0, s(y_1))), x1)) → MARK(s(diff(y_0, s(y_1))))
MARK(s(if(false, y_0, y_1))) → MARK(if(false, y_0, y_1))
MARK(p(leq(y_0, diff(y_1, y_2)))) → MARK(leq(y_0, diff(y_1, y_2)))
MARK(p(s(diff(y_0, diff(y_1, y_2))))) → MARK(s(diff(y_0, diff(y_1, y_2))))
MARK(leq(y0, if(x0, x1, x2))) → ACTIVE(leq(mark(y0), active(if(mark(x0), x1, x2))))
MARK(leq(p(s(leq(y_0, true))), x1)) → MARK(p(s(leq(y_0, true))))
MARK(leq(p(s(leq(true, y_0))), x1)) → MARK(p(s(leq(true, y_0))))
MARK(leq(p(diff(0, y_0)), x1)) → MARK(p(diff(0, y_0)))
MARK(leq(p(diff(y_0, 0)), x1)) → MARK(p(diff(y_0, 0)))
MARK(s(leq(false, y_0))) → MARK(leq(false, y_0))
MARK(s(leq(y_0, false))) → MARK(leq(y_0, false))
MARK(leq(p(leq(y_0, y_1)), x1)) → MARK(p(leq(y_0, y_1)))
MARK(p(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(p(s(diff(diff(y_0, y_1), y_2)))) → MARK(s(diff(diff(y_0, y_1), y_2)))
MARK(p(leq(diff(y_0, y_1), y_2))) → MARK(leq(diff(y_0, y_1), y_2))
MARK(leq(s(p(y_0)), x1)) → MARK(s(p(y_0)))
MARK(leq(p(s(p(s(y_0)))), x1)) → MARK(p(s(p(s(y_0)))))
MARK(diff(p(x0), y1)) → ACTIVE(diff(active(p(mark(x0))), mark(y1)))
MARK(leq(s(leq(if(y_0, y_1, y_2), y_3)), x1)) → MARK(s(leq(if(y_0, y_1, y_2), y_3)))
MARK(leq(leq(p(y_0), y_1), x1)) → MARK(leq(p(y_0), y_1))
MARK(p(s(leq(p(y_0), y_1)))) → MARK(s(leq(p(y_0), y_1)))
MARK(leq(p(s(leq(y_0, y_1))), x1)) → MARK(p(s(leq(y_0, y_1))))
MARK(p(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(p(s(diff(y_0, if(y_1, y_2, y_3))))) → MARK(s(diff(y_0, if(y_1, y_2, y_3))))
MARK(p(s(diff(y_0, leq(y_1, y_2))))) → MARK(s(diff(y_0, leq(y_1, y_2))))
MARK(s(p(if(y_0, y_1, y_2)))) → MARK(p(if(y_0, y_1, y_2)))
MARK(leq(s(p(diff(y_0, y_1))), x1)) → MARK(s(p(diff(y_0, y_1))))
MARK(p(diff(p(y_0), y_1))) → MARK(diff(p(y_0), y_1))
MARK(leq(p(leq(p(y_0), y_1)), x1)) → MARK(p(leq(p(y_0), y_1)))
MARK(leq(s(if(y_0, y_1, y_2)), x1)) → MARK(s(if(y_0, y_1, y_2)))
MARK(leq(x1, x2)) → MARK(x2)
MARK(s(if(leq(y_0, y_1), y_2, y_3))) → MARK(if(leq(y_0, y_1), y_2, y_3))
MARK(leq(p(diff(y_0, p(y_1))), x1)) → MARK(p(diff(y_0, p(y_1))))
MARK(p(s(leq(diff(y_0, y_1), y_2)))) → MARK(s(leq(diff(y_0, y_1), y_2)))
MARK(leq(diff(leq(y_0, y_1), y_2), x1)) → MARK(diff(leq(y_0, y_1), y_2))
MARK(p(s(diff(y_0, false)))) → MARK(s(diff(y_0, false)))
MARK(p(s(diff(false, y_0)))) → MARK(s(diff(false, y_0)))
MARK(leq(p(s(p(leq(y_0, y_1)))), x1)) → MARK(p(s(p(leq(y_0, y_1)))))
MARK(leq(x0, y1)) → ACTIVE(leq(x0, mark(y1)))
MARK(s(leq(y_0, leq(y_1, y_2)))) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(leq(p(x0), y1)) → ACTIVE(leq(active(p(mark(x0))), mark(y1)))
MARK(p(s(diff(p(y_0), y_1)))) → MARK(s(diff(p(y_0), y_1)))
MARK(leq(leq(y_0, leq(y_1, y_2)), x1)) → MARK(leq(y_0, leq(y_1, y_2)))
MARK(leq(diff(x0, x1), y1)) → ACTIVE(leq(active(diff(mark(x0), mark(x1))), mark(y1)))
MARK(p(diff(if(y_0, y_1, y_2), y_3))) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(s(diff(y_0, false))) → MARK(diff(y_0, false))
MARK(s(diff(false, y_0))) → MARK(diff(false, y_0))
MARK(s(leq(if(y_0, y_1, y_2), y_3))) → MARK(leq(if(y_0, y_1, y_2), y_3))
MARK(leq(p(leq(y_0, s(y_1))), x1)) → MARK(p(leq(y_0, s(y_1))))
MARK(leq(s(p(s(y_0))), x1)) → MARK(s(p(s(y_0))))
MARK(leq(p(s(if(leq(y_0, y_1), y_2, y_3))), x1)) → MARK(p(s(if(leq(y_0, y_1), y_2, y_3))))
MARK(leq(s(diff(y_0, leq(y_1, y_2))), x1)) → MARK(s(diff(y_0, leq(y_1, y_2))))
MARK(s(diff(y_0, s(y_1)))) → MARK(diff(y_0, s(y_1)))
MARK(s(leq(true, y_0))) → MARK(leq(true, y_0))
MARK(s(leq(y_0, true))) → MARK(leq(y_0, true))
MARK(leq(p(if(diff(y_0, y_1), y_2, y_3)), x1)) → MARK(p(if(diff(y_0, y_1), y_2, y_3)))
MARK(p(p(s(y_0)))) → MARK(p(s(y_0)))
MARK(p(s(diff(if(y_0, y_1, y_2), y_3)))) → MARK(s(diff(if(y_0, y_1, y_2), y_3)))
MARK(p(diff(true, y_0))) → MARK(diff(true, y_0))
MARK(p(diff(y_0, true))) → MARK(diff(y_0, true))
MARK(p(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(leq(p(if(true, y_0, y_1)), x1)) → MARK(p(if(true, y_0, y_1)))
MARK(p(s(leq(s(y_0), y_1)))) → MARK(s(leq(s(y_0), y_1)))
MARK(leq(diff(y_0, y_1), x1)) → MARK(diff(y_0, y_1))
MARK(p(s(diff(s(y_0), y_1)))) → MARK(s(diff(s(y_0), y_1)))
MARK(p(if(x0, x1, x2))) → ACTIVE(p(active(if(mark(x0), x1, x2))))
MARK(leq(s(if(false, y_0, y_1)), x1)) → MARK(s(if(false, y_0, y_1)))
MARK(leq(p(s(diff(y_0, s(y_1)))), x1)) → MARK(p(s(diff(y_0, s(y_1)))))
MARK(leq(s(leq(y_0, diff(y_1, y_2))), x1)) → MARK(s(leq(y_0, diff(y_1, y_2))))
MARK(leq(p(diff(s(y_0), y_1)), x1)) → MARK(p(diff(s(y_0), y_1)))
MARK(p(s(leq(y_0, diff(y_1, y_2))))) → MARK(s(leq(y_0, diff(y_1, y_2))))
MARK(s(leq(leq(y_0, y_1), y_2))) → MARK(leq(leq(y_0, y_1), y_2))
MARK(p(if(y_0, y_1, y_2))) → MARK(if(y_0, y_1, y_2))
MARK(p(s(leq(leq(y_0, y_1), y_2)))) → MARK(s(leq(leq(y_0, y_1), y_2)))
MARK(s(diff(y_0, if(y_1, y_2, y_3)))) → MARK(diff(y_0, if(y_1, y_2, y_3)))
MARK(leq(diff(y_0, 0), x1)) → MARK(diff(y_0, 0))
MARK(leq(diff(0, y_0), x1)) → MARK(diff(0, y_0))
MARK(p(if(s(y_0), y_1, y_2))) → MARK(if(s(y_0), y_1, y_2))
MARK(leq(diff(s(y_0), y_1), x1)) → MARK(diff(s(y_0), y_1))
MARK(leq(leq(x0, x1), y1)) → ACTIVE(leq(active(leq(mark(x0), mark(x1))), mark(y1)))
MARK(leq(s(diff(y_0, true)), x1)) → MARK(s(diff(y_0, true)))
MARK(leq(s(diff(true, y_0)), x1)) → MARK(s(diff(true, y_0)))
MARK(leq(p(if(if(y_0, y_1, y_2), y_3, y_4)), x1)) → MARK(p(if(if(y_0, y_1, y_2), y_3, y_4)))
MARK(leq(p(if(p(y_0), y_1, y_2)), x1)) → MARK(p(if(p(y_0), y_1, y_2)))
MARK(leq(y0, diff(x0, x1))) → ACTIVE(leq(mark(y0), active(diff(mark(x0), mark(x1)))))
MARK(s(leq(y_0, if(y_1, y_2, y_3)))) → MARK(leq(y_0, if(y_1, y_2, y_3)))
MARK(leq(diff(if(y_0, y_1, y_2), y_3), x1)) → MARK(diff(if(y_0, y_1, y_2), y_3))
MARK(leq(if(p(y_0), y_1, y_2), x1)) → MARK(if(p(y_0), y_1, y_2))
MARK(leq(p(s(leq(if(y_0, y_1, y_2), y_3))), x1)) → MARK(p(s(leq(if(y_0, y_1, y_2), y_3))))
MARK(leq(p(leq(y_0, diff(y_1, y_2))), x1)) → MARK(p(leq(y_0, diff(y_1, y_2))))
MARK(leq(p(s(p(diff(y_0, y_1)))), x1)) → MARK(p(s(p(diff(y_0, y_1)))))
MARK(p(diff(y_0, diff(y_1, y_2)))) → MARK(diff(y_0, diff(y_1, y_2)))
MARK(leq(p(s(s(y_0))), x1)) → MARK(p(s(s(y_0))))
MARK(leq(false, y1)) → ACTIVE(leq(active(false), mark(y1)))
MARK(leq(y0, false)) → ACTIVE(leq(mark(y0), active(false)))
MARK(p(s(p(s(y_0))))) → MARK(s(p(s(y_0))))
MARK(leq(true, y1)) → ACTIVE(leq(active(true), mark(y1)))
MARK(leq(y0, true)) → ACTIVE(leq(mark(y0), active(true)))
MARK(p(s(diff(y_0, y_1)))) → MARK(s(diff(y_0, y_1)))
MARK(leq(p(diff(diff(y_0, y_1), y_2)), x1)) → MARK(p(diff(diff(y_0, y_1), y_2)))
MARK(leq(p(s(if(s(y_0), y_1, y_2))), x1)) → MARK(p(s(if(s(y_0), y_1, y_2))))
MARK(leq(p(if(leq(y_0, y_1), y_2, y_3)), x1)) → MARK(p(if(leq(y_0, y_1), y_2, y_3)))
MARK(p(diff(y_0, leq(y_1, y_2)))) → MARK(diff(y_0, leq(y_1, y_2)))
MARK(s(if(p(y_0), y_1, y_2))) → MARK(if(p(y_0), y_1, y_2))
MARK(leq(s(if(s(y_0), y_1, y_2)), x1)) → MARK(s(if(s(y_0), y_1, y_2)))
MARK(p(p(x0))) → ACTIVE(p(active(p(mark(x0)))))
MARK(s(if(if(y_0, y_1, y_2), y_3, y_4))) → MARK(if(if(y_0, y_1, y_2), y_3, y_4))
MARK(leq(s(if(diff(y_0, y_1), y_2, y_3)), x1)) → MARK(s(if(diff(y_0, y_1), y_2, y_3)))
MARK(leq(s(s(y_0)), x1)) → MARK(s(s(y_0)))
active(p(0)) → mark(0)
active(p(s(X))) → mark(X)
active(leq(0, Y)) → mark(true)
active(leq(s(X), 0)) → mark(false)
active(leq(s(X), s(Y))) → mark(leq(X, Y))
active(if(true, X, Y)) → mark(X)
active(if(false, X, Y)) → mark(Y)
active(diff(X, Y)) → mark(if(leq(X, Y), 0, s(diff(p(X), Y))))
mark(p(x1)) → active(p(mark(x1)))
p(active(x1)) → p(x1)
p(mark(x1)) → p(x1)
mark(0) → active(0)
mark(s(x1)) → active(s(mark(x1)))
s(active(x1)) → s(x1)
s(mark(x1)) → s(x1)
mark(leq(x1, x2)) → active(leq(mark(x1), mark(x2)))
leq(active(x1), x2) → leq(x1, x2)
leq(mark(x1), x2) → leq(x1, x2)
leq(x1, active(x2)) → leq(x1, x2)
leq(x1, mark(x2)) → leq(x1, x2)
mark(true) → active(true)
mark(false) → active(false)
mark(if(x1, x2, x3)) → active(if(mark(x1), x2, x3))
if(active(x1), x2, x3) → if(x1, x2, x3)
if(mark(x1), x2, x3) → if(x1, x2, x3)
mark(diff(x1, x2)) → active(diff(mark(x1), mark(x2)))
diff(active(x1), x2) → diff(x1, x2)
diff(mark(x1), x2) → diff(x1, x2)
diff(x1, active(x2)) → diff(x1, x2)
diff(x1, mark(x2)) → diff(x1, x2)
active(p(0))
active(p(s(x0)))
active(leq(0, x0))
active(leq(s(x0), 0))
active(leq(s(x0), s(x1)))
active(if(true, x0, x1))
active(if(false, x0, x1))
active(diff(x0, x1))
mark(p(x0))
p(active(x0))
p(mark(x0))
mark(0)
mark(s(x0))
s(active(x0))
s(mark(x0))
mark(leq(x0, x1))
leq(active(x0), x1)
leq(mark(x0), x1)
leq(x0, active(x1))
leq(x0, mark(x1))
mark(true)
mark(false)
mark(if(x0, x1, x2))
if(active(x0), x1, x2)
if(mark(x0), x1, x2)
mark(diff(x0, x1))
diff(active(x0), x1)
diff(mark(x0), x1)
diff(x0, active(x1))
diff(x0, mark(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ Improved Ferreira Ribeiro-Transformation
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
DIFF(X, Y) → DIFF(p(X), Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
DIFF(X, Y) → P(X)
DIFF(X, Y) → LEQ(X, Y)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
DIFF(X, Y) → P(X)
DIFF(X, Y) → LEQ(X, Y)
DIFF(X, Y) → IF(leq(X, Y), 0, s(diff(p(X), Y)))
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ Improved Ferreira Ribeiro-Transformation
LEQ(s(X), s(Y)) → LEQ(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → X
if(false, X, Y) → Y
diff(X, Y) → if(leq(X, Y), 0, s(diff(p(X), Y)))
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
p(0)
p(s(x0))
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
leq(0, x0)
leq(s(x0), 0)
leq(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
diff(x0, x1)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(s(X)) → X
p(0)
p(s(x0))
Used ordering: POLO with Polynomial interpretation [25]:
p(s(X)) → X
POL(0) = 0
POL(DIFF(x1, x2)) = 2·x1 + x2
POL(p(x1)) = x1
POL(s(x1)) = x1
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ QReductionProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(0)
p(s(x0))
p(s(x0))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
p(0)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ MNOCProof
↳ QDP
↳ NonTerminationProof
↳ Improved Ferreira Ribeiro-Transformation
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
DIFF(X, Y) → DIFF(p(X), Y)
p(0) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
A(sInact(x1)) → S(a(x1))
A(diffInact(x1, x2)) → A(x2)
DIFF(X, Y) → LEQ(X, Y)
A(0Inact) → 01
IF(true, X, Y) → A(X)
A(diffInact(x1, x2)) → A(x1)
IF(false, X, Y) → A(Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
A(pInact(x1)) → P(a(x1))
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
A(sInact(x1)) → S(a(x1))
A(diffInact(x1, x2)) → A(x2)
DIFF(X, Y) → LEQ(X, Y)
A(0Inact) → 01
IF(true, X, Y) → A(X)
A(diffInact(x1, x2)) → A(x1)
IF(false, X, Y) → A(Y)
LEQ(s(X), s(Y)) → LEQ(X, Y)
A(pInact(x1)) → P(a(x1))
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
LEQ(s(X), s(Y)) → LEQ(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
IF(true, X, Y) → A(X)
A(diffInact(x1, x2)) → A(x2)
A(diffInact(x1, x2)) → A(x1)
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
IF(true, 0Inact, sInact(diffInact(pInact(y_3), y_4))) → A(0Inact)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
A(diffInact(x1, x2)) → A(x1)
A(diffInact(x1, x2)) → A(x2)
IF(false, X, Y) → A(Y)
IF(true, 0Inact, sInact(diffInact(pInact(y_3), y_4))) → A(0Inact)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
A(diffInact(x1, x2)) → A(x2)
A(diffInact(x1, x2)) → A(x1)
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(diffInact(x1, x2)) → A(x2)
A(diffInact(x1, x2)) → A(x1)
Used ordering: Polynomial interpretation [25]:
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(DIFF(x1, x2)) = 1 + x1 + x2
POL(IF(x1, x2, x3)) = x3
POL(a(x1)) = x1
POL(diff(x1, x2)) = 1 + x1 + x2
POL(diffInact(x1, x2)) = 1 + x1 + x2
POL(false) = 0
POL(if(x1, x2, x3)) = x2 + x3
POL(leq(x1, x2)) = 0
POL(p(x1)) = x1
POL(pInact(x1)) = x1
POL(s(x1)) = x1
POL(sInact(x1)) = x1
POL(true) = 0
a(0Inact) → 0
diff(x1, x2) → diffInact(x1, x2)
a(sInact(x1)) → s(a(x1))
0 → 0Inact
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
if(false, X, Y) → a(Y)
if(true, X, Y) → a(X)
p(x1) → pInact(x1)
a(x) → x
s(x1) → sInact(x1)
a(pInact(x1)) → p(a(x1))
p(s(X)) → X
p(0) → 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDPOrderProof
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(pInact(x1)) → A(x1)
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(pInact(x1)) → A(x1)
Used ordering: Polynomial interpretation with max and min functions [25]:
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(DIFF(x1, x2)) = 0
POL(IF(x1, x2, x3)) = x3
POL(a(x1)) = 0
POL(diff(x1, x2)) = 0
POL(diffInact(x1, x2)) = 0
POL(false) = 0
POL(if(x1, x2, x3)) = 0
POL(leq(x1, x2)) = 0
POL(p(x1)) = 0
POL(pInact(x1)) = 1 + x1
POL(s(x1)) = 0
POL(sInact(x1)) = x1
POL(true) = 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Instantiation
↳ QDPOrderProof
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
IF(false, 0Inact, sInact(diffInact(pInact(y_3), y_4))) → A(sInact(diffInact(pInact(y_3), y_4)))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
IF(false, 0Inact, sInact(diffInact(pInact(y_3), y_4))) → A(sInact(diffInact(pInact(y_3), y_4)))
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(pInact(x1)) → A(x1)
Used ordering: Polynomial interpretation [25]:
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
POL(0) = 0
POL(0Inact) = 0
POL(A(x1)) = x1
POL(DIFF(x1, x2)) = 0
POL(IF(x1, x2, x3)) = x3
POL(a(x1)) = 0
POL(diff(x1, x2)) = 0
POL(diffInact(x1, x2)) = 0
POL(false) = 0
POL(if(x1, x2, x3)) = 0
POL(leq(x1, x2)) = 0
POL(p(x1)) = 0
POL(pInact(x1)) = 1 + x1
POL(s(x1)) = 0
POL(sInact(x1)) = x1
POL(true) = 0
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ Zantema-Transformation
↳ Innermost Giesl Middeldorp-Transformation
↳ Trivial-Transformation
↳ Improved Ferreira Ribeiro-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDPOrderProof
↳ QDP
IF(false, X, Y) → A(Y)
DIFF(X, Y) → IF(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
A(diffInact(x1, x2)) → DIFF(a(x1), a(x2))
A(sInact(x1)) → A(x1)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → a(X)
if(false, X, Y) → a(Y)
diff(X, Y) → if(leq(X, Y), 0Inact, sInact(diffInact(pInact(X), Y)))
a(x) → x
p(x1) → pInact(x1)
a(pInact(x1)) → p(a(x1))
s(x1) → sInact(x1)
a(sInact(x1)) → s(a(x1))
diff(x1, x2) → diffInact(x1, x2)
a(diffInact(x1, x2)) → diff(a(x1), a(x2))
0 → 0Inact
a(0Inact) → 0