Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] Term comparison

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] Term comparison


Chronological Thread 
  • From: Steven Eker <eker AT csl.sri.com>
  • To: maude-help AT cs.uiuc.edu
  • Cc: Alban Linard <Alban.Linard AT unige.ch>
  • Subject: Re: [Maude-help] Term comparison
  • Date: Tue, 22 Feb 2011 13:47:49 -0800
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help>
  • List-id: <maude-help.cs.uiuc.edu>
  • Organization: SRI International

Maude does not implement hash consing for normal term rewriting. There is
some
opportunistic sharing of subterms but term comparison cannot rely on it so
term comparison is not guaranteed to be constant time.

You might be interested to know that Maude itself makes extensive use of BDDs
- for Buchi Automata construction, ACU unification and unification sort
calculations. Also general DDs are used for rewriting sort calculations and
free theory discrimination nets.

Steven

On Tuesday 22 February 2011 02:13:31 am Alban Linard wrote:
> Hello,
>
> In the SMV group (see signature), people think that Decision Diagram
> operations can be viewed as term rewriting, so i plan to try
> implementing a DD library in Maude.
>
> But Decision Diagrams heavily rely on unique representation of their
> representation. If a DD is encoded as a term, can Maude check equality
> between two DDs/terms in constant time ? Is there a mechanism like
> hash-consing/flyweight/unicity-table for Maude terms ?
>
> If it does not exist, is there a way to avoid deep comparison of two
> terms ?
> Do you know other similar projects ?
>
> Moreover, is there an easy way to implement the operation cache ? Or
> should it be given explicitly together with the operations' terms ?
>
> Thanks,
>
> Alban Linard,
> Software Modeling and Verification Group,
> University of Geneva
> _______________________________________________
> Maude-help mailing list
> Maude-help AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/maude-help
>




Archive powered by MHonArc 2.6.16.

Top of Page