Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] New variables in rule righthand side

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] New variables in rule righthand side


Chronological Thread 
  • From: Steven Eker <eker AT csl.sri.com>
  • To: maude-help AT cs.uiuc.edu
  • Subject: Re: [Maude-help] New variables in rule righthand side
  • Date: Mon, 10 Nov 2014 11:46:35 -0800
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help/>
  • List-id: <maude-help.cs.uiuc.edu>

On 11/10/14 11:27 AM, Diego Marcia wrote:
Hi,
From maude-manual I read that Conditional Rules are subject to "no restriction on which new variables may appear in the righthand side or the condition".
I'm currently trying to pursue a kind of Invariants Model Checking using meta-level operations such as metaSearch and up/downTerm, but when I try to describe the term I'm searching for using new variables I get the error:
variable MyV:MySort is used before it is bound in rule: <MyRule>
I don't get that. Can someone please explain it to me?

Thanks a lot

--
Diego Marcia


_______________________________________________
Maude-help mailing list
Maude-help AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/maude-help
If a variable is used before it is bound, you must flag the rule with the nonexec attribute. This means that the rule won't be used for rewriting/searching/model-checking however you can apply from the metalevel the rule using metaApply()/metaXapply(). In this case you are obliged to pass a substitution to bind such variables.

Steven




Archive powered by MHonArc 2.6.16.

Top of Page