Skip to Content.
Sympa Menu

maude-help - [Maude-help] History of unreduced terms in Maude

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

[Maude-help] History of unreduced terms in Maude


Chronological Thread 
  • From: Jeff Thompson <jeff AT thefirst.org>
  • To: maude-help AT maude.cs.uiuc.edu
  • Subject: [Maude-help] History of unreduced terms in Maude
  • Date: Mon, 04 May 2009 01:26:02 -0700
  • List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help>
  • List-id: Maude help list <maude-help.maude.cs.uiuc.edu>

When Maude reduces a term to its canonical form, which may be stored and used later, I'm looking for a way to keep track of the original unreduced term. For example:

Maude> red in NAT-LIST : 0 (1 + 2 * 3) .
result NeNatList: 0 7

I have the result structure 0 7, but I want a way to examine the 7 (actually the constructor s_^7(0)) to find out the "provenance" information that it came from the original term (1 + 2 * 3).

I've been playing with LOOP-MODE to try to do this, but I'm sure it is not an original idea as a way of tracking history and provenance of the terms in a data structure. Is there a way that the original unreduced top-level term can be "tracked through" during the reduction so that it is "tacked on" somehow to the final canonical term?

Thanks for any help,
- Jeff






Archive powered by MHonArc 2.6.16.

Top of Page