Skip to main content
Log in

HyperLMNtal: An Extension of a Hierarchical Graph Rewriting Model

  • Fachbeitrag
  • Published:
KI - Künstliche Intelligenz Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16

Similar content being viewed by others

Notes

  1. http://www.ueda.info.waseda.ac.jp/lmntal/

  2. http://people.cs.kuleuven.be/~tom.schrijvers/Research/CHR/

  3. A rule can be prefixed by a rule name and ‘@@’.

  4. The guard constraint =:= checks integer equality.

  5. 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

  1. 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)

    Google Scholar 

  2. 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

    Google Scholar 

  3. Frühwirth T (1998) Theory and Practice of Constraint Handling Rules. J Log Program 37:95–138

    Article  MATH  Google Scholar 

  4. Frühwirth T (2009) Constraint handling rules. Cambridge University Press, Cambridge

    Book  MATH  Google Scholar 

  5. Galil Z, Italiano GF (1991) Data Structures and Algorithms for Disjoint Set Union Problems. Comput Surv 23(3):319–344

    Article  Google Scholar 

  6. Harel D (1987) Statecharts: A Visual Formalism for Complex Systems. Sci Comput Program 8(3):231–274

    Article  MathSciNet  MATH  Google Scholar 

  7. 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

    Article  Google Scholar 

  8. 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

    Google Scholar 

  9. Milner R (2009) The space and motion of communicating agents. Cambridge University Press, Cambridge

    MATH  Google Scholar 

  10. 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)

    Google Scholar 

  11. 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

    Article  MathSciNet  MATH  Google Scholar 

  12. 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

    Google Scholar 

  13. Ueda K (2009) LMNtal as a hierarchical logic programming language. Theor Comput Sci 410(46):4784–4800

    Article  MATH  Google Scholar 

  14. 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

    Google Scholar 

  15. 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

    Google Scholar 

  16. 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

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Kazunori Ueda.

Additional information

Partially supported by Grant-In-Aid for Scientific Research ((B) 23300011), JSPS, Japan.

Rights and permissions

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13218-011-0162-3

Keywords

Navigation