License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.TLCA.2015.76
URN: urn:nbn:de:0030-drops-51563
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2015/5156/
Go to the corresponding LIPIcs Volume Portal


Bessai, Jan ; Dudenhefner, Andrej ; Düdder, Boris ; Chen, Tzu-Chun ; de’Liguoro, Ugo ; Rehof, Jakob

Mixin Composition Synthesis Based on Intersection Types

pdf-format:
11.pdf (0.6 MB)


Abstract

We present a method for synthesizing compositions of mixins using type inhabitation in intersection types. First, recursively defined classes and mixins, which are functions over classes, are expressed as terms in a lambda calculus with records. Intersection types with records and record-merge are used to assign meaningful types to these terms without resorting to recursive types. Second, typed terms are translated to a repository of typed combinators. We show a relation between record types with record-merge and intersection types with constructors. This relation is used to prove soundness and partial completeness of the translation with respect to mixin composition synthesis. Furthermore, we demonstrate how a translated repository and goal type can be used as input to an existing framework for composition synthesis in bounded combinatory logic via type inhabitation. The computed result corresponds to a mixin composition typed by the goal type.

BibTeX - Entry

@InProceedings{bessai_et_al:LIPIcs:2015:5156,
  author =	{Jan Bessai and Andrej Dudenhefner and Boris D{\"u}dder and Tzu-Chun Chen and Ugo de’Liguoro and Jakob Rehof},
  title =	{{Mixin Composition Synthesis Based on Intersection Types}},
  booktitle =	{13th International Conference on Typed Lambda Calculi and Applications (TLCA 2015)},
  pages =	{76--91},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-939897-87-3},
  ISSN =	{1868-8969},
  year =	{2015},
  volume =	{38},
  editor =	{Thorsten Altenkirch},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2015/5156},
  URN =		{urn:nbn:de:0030-drops-51563},
  doi =		{10.4230/LIPIcs.TLCA.2015.76},
  annote =	{Keywords: Record Calculus, Combinatory Logic, Type Inhabitation, Mixin, Intersection Type}
}

Keywords: Record Calculus, Combinatory Logic, Type Inhabitation, Mixin, Intersection Type
Collection: 13th International Conference on Typed Lambda Calculi and Applications (TLCA 2015)
Issue Date: 2015
Date of publication: 15.06.2015


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI