maude-help AT lists.siebelschool.illinois.edu
Subject: Maude-help mailing list
List archive
- From: Daniel Romero <danielomarromero AT gmail.com>
- To: "maude-help AT cs.uiuc.edu" <maude-help AT cs.uiuc.edu>
- Subject: Re: [Maude-help] Can you help for this?
- Date: Thu, 15 Jul 2010 00:04:35 +0200
- List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help>
- List-id: <maude-help.cs.uiuc.edu>
Hi
You not need to write a rule in this way.
Maude has a "powerfull" pattern matching.
this rule
crl [t00] : valA0(a0,a1,a2,a3,a4,a5,a6,a7) valB0(b0,b1,b2,b3)
=>sum0(0,0,0,0,0,0,0,0) if b3 === 0 .
can be write as follows:
rl [t00] : valA0(a0,a1,a2,a3,a4,a5,a6,a7) valB0(b0,b1,b2,0) => sum0(0,0,0,0,0,0,0,0) .
> also space after => is necessary....
yes
please, for typos in syntax you can read this link
http://maude.cs.uiuc.edu/primer/
best wishes
Daniel
rza AT Cs.Nott.AC.UK
wrote:
Hi,
does Maude support equality testing using === or == please check it, e.g.,
crl [t00] : valA0(a0,a1,a2,a3,a4,a5,a6,a7) valB0(b0,b1,b2,b3) =>sum0(0,0,0,0,0,0,0,0) if b3 === 0 .
also space after => is necessary....
best,
--Rza
On Jul 14 2010, YUJIAN FU wrote:
Dear Maude supportors:_______________________________________________
I got a problem for my current maude file. I can load it without any problem, but when I reduce on some property, nothing happens. Also, debugging is a problem for me now. When I set trace on, run debug reduce modelCheck(init1, property1), still nothing happens. What should I do? The maude file was attached. Really appreciate for your help
Yujian Fu
Alabama A&M University
Maude-help mailing list
Maude-help AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/maude-help
- [Maude-help] Can you help for this?, YUJIAN FU, 07/14/2010
- Re: [Maude-help] Can you help for this?, Traian Florin Șerbănuță, 07/14/2010
- <Possible follow-up(s)>
- Re: [Maude-help] Can you help for this?, rza, 07/14/2010
- Re: [Maude-help] Can you help for this?, Daniel Romero, 07/14/2010
Archive powered by MHonArc 2.6.16.