maude-help AT lists.siebelschool.illinois.edu
Subject: Maude-help mailing list
List archive
- From: Ozan Kahramanogullari <ozan.kah AT gmail.com>
- To: maude-help AT lists.cs.illinois.edu
- Subject: [[maude-help] ] matching in search
- Date: Mon, 27 Feb 2023 20:11:26 +0100
- Authentication-results: ppops.net; spf=pass smtp.mailfrom=ozan.kah AT gmail.com; dkim=pass header.d=gmail.com header.s=20210112; dmarc=pass header.from=gmail.com
sorts Atom Structure .
subsort Atom < Structure .
ops a b : -> Atom .
op -_ : Atom -> Atom [ prec 50 ].
op [_,_] : Structure Structure -> Structure [assoc comm ] .
op {_,_} : Structure Structure -> Structure [assoc comm ] .
var R T U : Structure . var A : Atom .
rl [rls] : [ { R , T } , U ] => { [ R , U ] , T } .
endm
search in S : [[{a,b},{a,b}],{[- a,- b],[- a,- b]}] =>1 X .
Solution 1 (state 1)
states: 2 rewrites: 1 in 0ms cpu (0ms real) (11764 rewrites/second)
X --> {[- a,- b],[- a,[- b,[{a,b},{a,b}]]]}
Solution 2 (state 2)
states: 3 rewrites: 2 in 0ms cpu (0ms real) (17391 rewrites/second)
X --> [{a,b},{[- a,- b],[- a,[- b,{a,b}]]}]
Solution 3 (state 3)
states: 4 rewrites: 3 in 0ms cpu (0ms real) (20689 rewrites/second)
X --> {b,[a,[{[- a,- b],[- a,- b]},{a,b}]]}
Solution 4 (state 4)
states: 5 rewrites: 4 in 0ms cpu (0ms real) (23529 rewrites/second)
X --> [{[- a,- b],[- a,- b]},{b,[a,{a,b}]}]
Solution 5 (state 5)
states: 6 rewrites: 5 in 0ms cpu (0ms real) (25510 rewrites/second)
X --> [{a,b},{b,[a,{[- a,- b],[- a,- b]}]}]
Solution 6 (state 6)
states: 7 rewrites: 6 in 0ms cpu (0ms real) (27027 rewrites/second)
X --> {a,[b,[{[- a,- b],[- a,- b]},{a,b}]]}
Solution 7 (state 7)
states: 8 rewrites: 7 in 0ms cpu (0ms real) (28340 rewrites/second)
X --> [{[- a,- b],[- a,- b]},{a,[b,{a,b}]}]
Solution 8 (state 8)
states: 9 rewrites: 8 in 0ms cpu (0ms real) (29520 rewrites/second)
X --> [{a,b},{a,[b,{[- a,- b],[- a,- b]}]}]
No more solutions.
states: 9 rewrites: 8 in 0ms cpu (0ms real) (26755 rewrites/second)
-
[[maude-help] ] matching in search,
Ozan Kahramanogullari, 02/27/2023
-
Re: [[maude-help] ] matching in search,
Santiago Escobar, 02/27/2023
- Re: [[maude-help] ] matching in search, Ozan Kahramanogullari, 02/28/2023
-
Re: [[maude-help] ] matching in search,
Santiago Escobar, 02/27/2023
Archive powered by MHonArc 2.6.24.