Skip to Content.
Sympa Menu

maude-help - [Maude-help] How to specify transitivity rule in Maude functional module?

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

[Maude-help] How to specify transitivity rule in Maude functional module?


Chronological Thread 
  • From: "Ding, Hui" <huiding AT cs.uiuc.edu>
  • To: <maude-help AT peepal.cs.uiuc.edu>
  • Cc:
  • Subject: [Maude-help] How to specify transitivity rule in Maude functional module?
  • Date: Wed, 17 Nov 2004 15:55:14 -0600
  • List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help>
  • List-id: Maude help list <maude-help.maude.cs.uiuc.edu>

Can we specify the following rule in Maude functional module? I cannot figure it out.
 
If PropertyMap (AA, A, B) = BB and PropertyMap (BB, B, C) = CC
Then PropertyMap (AA, A, C) = CC
 
AA stands for a certain property of component A, and BB stands for a certain property of component B.
 "PropertyMap (AA, A, B) = BB" means component A's property AA is mapped to component B's property BB.
That is, the above is a transitive rule.
 
The sort, op, vars declaration is as follows:
 
sort Component .
sort Property .
op PropertyMap: Property Component Component-> Property .
 
vars AA BB CC : Property .
vars A B C : Component.
 
 



Archive powered by MHonArc 2.6.16.

Top of Page