Abstract
LMNtal (pronounced “elemental”) is a language model based on hierarchical graph rewriting that uses point-to-point links to represent connectivity and membranes to represent hierarchy. LMNtal was designed to be a substrate language of various computational models, especially those addressing concurrency, mobility and multiset rewriting.
Although point-to-point links and membranes could be used together to represent multipoint connectivity, our experiences with LMNtal showed that hyperlinks would be an important and useful extension to the language.
We have accordingly expanded LMNtal into a hierarchical hypergraph rewriting language model, HyperLMNtal. HyperLMNtal enabled concise description of computational models involving flexible and diverse forms of references between data; in particular, it enabled efficient encoding of a constraint processing language CHR in terms of both performance and computational complexity.
This paper describes the design and implementation of HyperLMNtal as a case study of language evolution.
Similar content being viewed by others
Notes
A rule can be prefixed by a rule name and ‘@@’.
The guard constraint =:= checks integer equality.
A syntactic sugar, inspired by CHR’s sympagation rule, allows us to write a rule T 1,T 2 :- T 1,T 3 as T 1\T 2 :- T 3.
References
Ayano T, Hori T, Iwasawa H, Ogawa S, Ueda K (2010) LMNtal model checking using an integrated development environment. Comput Softw 27(4):197–214 (in Japanese)
Berry G, Boudol G (1990) The Chemical Abstract Machine. In: Conf record of the seventeenth annual ACM symp on principles of programming languages (POPL’90). ACM, New York, pp 81–94
Frühwirth T (1998) Theory and Practice of Constraint Handling Rules. J Log Program 37:95–138
Frühwirth T (2009) Constraint handling rules. Cambridge University Press, Cambridge
Galil Z, Italiano GF (1991) Data Structures and Algorithms for Disjoint Set Union Problems. Comput Surv 23(3):319–344
Harel D (1987) Statecharts: A Visual Formalism for Complex Systems. Sci Comput Program 8(3):231–274
Jensen K, Kristensen LM, Wells L (2007) Coloured Petri Nets and CPN Tools for Modelling and Validation of Concurrent Systems. Int J Softw Tools Technol Transf 9(3–4):213–254
Lafont Y (1990) Interaction nets. In: Conference record of the seventeenth annual ACM symposium on principles of programming languages (POPL’90). ACM, New York, pp 95–108
Milner R (2009) The space and motion of communicating agents. Cambridge University Press, Cambridge
Murayama K, Kudo S, Sakurai K, Mizuno K, Kato N, Ueda K (2008) Implementation of the hierarchical graph rewriting language LMNtal. Comput Softw 25(2):47–77 (in Japanese)
Sneyers J, Van Weert P, Schrijvers T, De Koninck L (2010) As time goes by: Constraint Handling Rules—a survey of CHR research between 1998 and 2007. Theory Pract Log Program 10(1):1–47
Ueda K, Kato N (2005) LMNtal: a language model with links and membranes. In: Proc fifth international workshop on membrane computing (WMC 2004). LNCS, vol 3365. Springer, Berlin, pp 110–125
Ueda K (2009) LMNtal as a hierarchical logic programming language. Theor Comput Sci 410(46):4784–4800
Ueda K (2008) Encoding distributed process calculi into LMNtal. In: Proc LIX colloquium on emerging trends in concurrency theory (LIX 2006). Electron Notes Theor Comput Sci, vol 209, pp 187–200
Ueda K (2008) Encoding the pure lambda calculus into hierarchical graph rewriting. In: Proc 19th international conference on rewriting techniques and applications (RTA 2008). LNCS, vol 5117. Springer, Berlin, pp 392–408
Ueda K, Ayano T, Hori T, Iwasawa H, Ogawa S (2009) Hierarchical graph rewriting as a unifying tool for analyzing and understanding nondeterministic systems. In: Proc sixth international colloquium on theoretical aspects of computing (ICTAC 2009). LNCS, vol 5684. Springer, Berlin, pp 349–355
Acknowledgements
The authors are indebted to the present and past members of the LMNtal group for fruitful discussions and for building the LMNtal system on which the present work was successfully based. They would like to thank anonymous referees for their careful reviewing and useful comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
Partially supported by Grant-In-Aid for Scientific Research ((B) 23300011), JSPS, Japan.
Rights and permissions
About this article
Cite this article
Ueda, K., Ogawa, S. HyperLMNtal: An Extension of a Hierarchical Graph Rewriting Model. Künstl Intell 26, 27–36 (2012). https://doi.org/10.1007/s13218-011-0162-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13218-011-0162-3