YES
0 RelTRS
↳1 RelTRStoRelADPProof (⇔, 0 ms)
↳2 RelADPP
↳3 RelADPDepGraphProof (⇔, 0 ms)
↳4 AND
↳5 RelADPP
↳6 RelADPCleverAfsProof (⇒, 38 ms)
↳7 QDP
↳8 MRRProof (⇔, 0 ms)
↳9 QDP
↳10 QDPOrderProof (⇔, 0 ms)
↳11 QDP
↳12 PisEmptyProof (⇔, 0 ms)
↳13 YES
↳14 RelADPP
↳15 RelADPCleverAfsProof (⇒, 47 ms)
↳16 QDP
↳17 MRRProof (⇔, 0 ms)
↳18 QDP
↳19 QDPOrderProof (⇔, 0 ms)
↳20 QDP
↳21 PisEmptyProof (⇔, 0 ms)
↳22 YES
↳23 RelADPP
↳24 RelADPCleverAfsProof (⇒, 38 ms)
↳25 QDP
↳26 MRRProof (⇔, 0 ms)
↳27 QDP
↳28 QDPOrderProof (⇔, 0 ms)
↳29 QDP
↳30 PisEmptyProof (⇔, 0 ms)
↳31 YES
pred(s(x)) → x
minus(x, 0) → x
minus(x, s(y)) → pred(minus(x, y))
quot(0, s(y)) → 0
quot(s(x), s(y)) → s(quot(minus(x, y), s(y)))
log(s(0)) → 0
log(s(s(x))) → s(log(s(quot(x, s(s(0))))))
rand(x) → rand(s(x))
rand(x) → x
We upgrade the RelTRS problem to an equivalent Relative ADP Problem [IJCAR24].
pred(s(x)) → x
minus(x, 0) → x
minus(x, s(y)) → PRED(minus(x, y))
minus(x, s(y)) → pred(MINUS(x, y))
quot(0, s(y)) → 0
quot(s(x), s(y)) → s(QUOT(minus(x, y), s(y)))
quot(s(x), s(y)) → s(quot(MINUS(x, y), s(y)))
log(s(0)) → 0
log(s(s(x))) → s(LOG(s(quot(x, s(s(0))))))
log(s(s(x))) → s(log(s(QUOT(x, s(s(0))))))
rand(x) → RAND(s(x))
rand(x) → x
We use the relative dependency graph processor [IJCAR24].
The approximation of the Relative Dependency Graph contains:
3 SCCs with nodes from P_abs,
0 Lassos,
Result: This relative DT problem is equivalent to 3 subproblems.
minus(x, s(y)) → pred(MINUS(x, y))
log(s(0)) → 0
quot(s(x), s(y)) → s(quot(minus(x, y), s(y)))
minus(x, s(y)) → pred(minus(x, y))
log(s(s(x))) → s(log(s(quot(x, s(s(0))))))
minus(x, 0) → x
pred(s(x)) → x
quot(0, s(y)) → 0
rand(x) → rand(s(x))
rand(x) → x
Furthermore, We use an argument filter [LPAR04].
Filtering:s_1 =
MINUS_2 =
log_1 =
pred_1 =
0 =
minus_2 = 1
rand_1 =
quot_2 = 1
Found this filtering by looking at the following order that orders at least one DP strictly:Combined order from the following AFS and order.
MINUS(x1, x2) = MINUS(x1, x2)
s(x1) = s(x1)
log(x1) = log(x1)
0 = 0
quot(x1, x2) = x1
minus(x1, x2) = x1
pred(x1) = x1
Recursive path order with status [RPO].
Quasi-Precedence:
MINUS2 > s1
log1 > 0 > s1
MINUS2: [2,1]
s1: multiset
log1: multiset
0: multiset
MINUS0(x, s0(y)) → MINUS0(x, y)
log0(s0(00)) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
rand0(x) → x
pred0(s0(x)) → x
quot(00) → 00
log0(s0(00)) → 00
rand0(x) → x
POL(00) = 1
POL(MINUS0(x1, x2)) = x1 + x2
POL(log0(x1)) = 2 + x1
POL(minus(x1)) = x1
POL(pred0(x1)) = x1
POL(quot(x1)) = x1
POL(rand0(x1)) = 2 + x1
POL(s0(x1)) = x1
MINUS0(x, s0(y)) → MINUS0(x, y)
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS0(x, s0(y)) → MINUS0(x, y)
[s01, log01]
MINUS02: [2,1]
s01: [1]
log01: [1]
rand0: multiset
00: multiset
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
quot(s(x), s(y)) → s(QUOT(minus(x, y), s(y)))
log(s(0)) → 0
quot(s(x), s(y)) → s(quot(minus(x, y), s(y)))
minus(x, s(y)) → pred(minus(x, y))
log(s(s(x))) → s(log(s(quot(x, s(s(0))))))
minus(x, 0) → x
pred(s(x)) → x
quot(0, s(y)) → 0
rand(x) → rand(s(x))
rand(x) → x
Furthermore, We use an argument filter [LPAR04].
Filtering:s_1 =
QUOT_2 =
log_1 =
0 =
pred_1 =
minus_2 = 1
rand_1 =
quot_2 = 1
Found this filtering by looking at the following order that orders at least one DP strictly:Combined order from the following AFS and order.
QUOT(x1, x2) = QUOT(x1, x2)
s(x1) = s(x1)
minus(x1, x2) = x1
log(x1) = log(x1)
0 = 0
quot(x1, x2) = x1
pred(x1) = x1
Recursive path order with status [RPO].
Quasi-Precedence:
[QUOT2, s1, log1, 0]
QUOT2: [2,1]
s1: multiset
log1: multiset
0: multiset
QUOT0(s0(x), s0(y)) → QUOT0(minus(x), s0(y))
log0(s0(00)) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
rand0(x) → x
pred0(s0(x)) → x
quot(00) → 00
log0(s0(00)) → 00
rand0(x) → x
POL(00) = 1
POL(QUOT0(x1, x2)) = x1 + x2
POL(log0(x1)) = 2 + x1
POL(minus(x1)) = x1
POL(pred0(x1)) = x1
POL(quot(x1)) = x1
POL(rand0(x1)) = 2 + x1
POL(s0(x1)) = x1
QUOT0(s0(x), s0(y)) → QUOT0(minus(x), s0(y))
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QUOT0(s0(x), s0(y)) → QUOT0(minus(x), s0(y))
log01 > [QUOT02, s01, rand0]
QUOT02: [1,2]
s01: multiset
log01: multiset
rand0: []
00: multiset
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
log(s(0)) → 0
quot(s(x), s(y)) → s(quot(minus(x, y), s(y)))
minus(x, s(y)) → pred(minus(x, y))
log(s(s(x))) → s(LOG(s(quot(x, s(s(0))))))
log(s(s(x))) → s(log(s(quot(x, s(s(0))))))
minus(x, 0) → x
pred(s(x)) → x
quot(0, s(y)) → 0
rand(x) → rand(s(x))
rand(x) → x
Furthermore, We use an argument filter [LPAR04].
Filtering:s_1 =
log_1 =
0 =
pred_1 =
minus_2 = 1
rand_1 =
LOG_1 =
quot_2 = 1
Found this filtering by looking at the following order that orders at least one DP strictly:Combined order from the following AFS and order.
LOG(x1) = LOG(x1)
s(x1) = s(x1)
quot(x1, x2) = x1
0 = 0
log(x1) = log(x1)
minus(x1, x2) = x1
pred(x1) = x1
Recursive path order with status [RPO].
Quasi-Precedence:
log1 > s1 > LOG1
LOG1: [1]
s1: multiset
0: multiset
log1: [1]
LOG0(s0(s0(x))) → LOG0(s0(quot(x)))
log0(s0(00)) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
rand0(x) → x
pred0(s0(x)) → x
quot(00) → 00
log0(s0(00)) → 00
rand0(x) → x
POL(00) = 1
POL(LOG0(x1)) = x1
POL(log0(x1)) = 2 + x1
POL(minus(x1)) = x1
POL(pred0(x1)) = x1
POL(quot(x1)) = x1
POL(rand0(x1)) = 2 + x1
POL(s0(x1)) = x1
LOG0(s0(s0(x))) → LOG0(s0(quot(x)))
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LOG0(s0(s0(x))) → LOG0(s0(quot(x)))
log01 > [LOG01, s01, rand0]
LOG01: multiset
s01: multiset
log01: multiset
rand0: []
00: multiset
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00
quot(s0(x)) → s0(quot(minus(x)))
minus(x) → pred0(minus(x))
log0(s0(s0(x))) → s0(log0(s0(quot(x))))
minus(x) → x
rand0(x) → rand0(s0(x))
pred0(s0(x)) → x
quot(00) → 00