Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] An equation that hides a rule...

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] An equation that hides a rule...


Chronological Thread 
  • From: Steven Eker <eker AT csl.sri.com>
  • To: Marc Boyer <Marc.Boyer AT enseeiht.fr>, maude-help AT peepal.cs.uiuc.edu
  • Cc:
  • Subject: Re: [Maude-help] An equation that hides a rule...
  • Date: Wed, 1 Feb 2006 11:17:14 -0800
  • List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help>
  • List-id: Maude help list <maude-help.maude.cs.uiuc.edu>

On Wednesday 01 February 2006 07:42, Marc Boyer wrote:
> Let be the following module:
> -------------------------------------------
> mod BUG-CONV is
> sort S .
> op _ /\ _ : S S -> S .
> op _ comp _ : S S -> S .
> op _ conv _ : S S -> S .
>
> vars f g h : S .
>
> eq [compMin] : f comp ( g /\ h ) = ( f comp g ) /\ ( f comp h ) .
> rl [conv2min] : f conv g => f /\ g .
>
> ops x y z : -> S [ctor] .
> endm
> -------------------------------------------
>
> This search is successfull
> search y conv z =>* y /\ z .
> but this one is not
> search x comp ( y conv z ) =>* x comp ( y /\ z ) .
>
> More strange (to me), if I hide (or set nonexec) the
> equation [compMin], then, both search are successfull...

The second seach fails because the target pattern

x comp ( y /\ z )

is not reduced wrt the equational part of your specification.

Steven




Archive powered by MHonArc 2.6.16.

Top of Page