maude-help AT lists.cs.illinois.edu
Subject: Maude-help mailing list
List archive
[Maude-help] Question about how to solve the same symbol for different meanings?
Chronological Thread
- From: Yiming Li <nathan.liyiming AT gmail.com>
- To: maude-help AT cs.uiuc.edu
- Subject: [Maude-help] Question about how to solve the same symbol for different meanings?
- Date: Mon, 4 Mar 2013 21:15:51 +0000
- List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help/>
- List-id: <maude-help.cs.uiuc.edu>
Dear Helper,
I have a class in the semantics of programming language using Maude. When I write Maude code, there is a problem that my tutor cannot solve it and therefore ask you.
eq [[M + N]] = [[M]] + [[N]]
As above, I want use "+" as two different meanings, one is defined by myself and another is defined by "Int" sort. How can the Maude solve the same symbol? I have tried them, however, the Maude said there was a error that was defined twice. You know (0).Int and (0).Nat can be used to realize the same "0". Do we have the similar way to solve the same operator?
I have attached my maude files. Thank you very much.
Best regards,
Yiming (Nathan)
-----------------------------------------------------------------------------------------------------
Department of Computer Science
University of Liverpool
Attachment:
arithmetic.maude
Description: Binary data
- [Maude-help] Question about how to solve the same symbol for different meanings?, Yiming Li, 03/04/2013
- Re: [Maude-help] Question about how to solve the same symbol for different meanings?, Steven Eker, 03/04/2013
Archive powered by MHonArc 2.6.16.