Subtyping constraints in quasi-lattices

Emmanuel Coquery, François Fages

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

Abstract

In this paper, we show the decidability and NP-completeness of the satisfiability problem for non-structural subtyping constraints in quasi-lattices. This problem, first introduced by Smolka in 1989, is important for the typing of logic and functional languages. The decidability result is obtained by generalizing Trifonov and Smith's algorithm over lattices, to the case of quasi-lattices with a complexity in O(mvMvn3), where m (resp. M) stands for the number of minimal (resp. maximal) elements of the quasi-lattice, v is the number of unbounded variables and n is the number of constraints. Similarly, we extend Pottier's algorithm for computing explicit solutions to the case of quasi-lattices. Finally we evoke some applications of these results to type inference in constraint logic programming and functional programming languages.

Original languageEnglish
Title of host publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
EditorsParitosh K. Pandya, Jaikumar Radhakrishnan
PublisherSpringer Verlag
Pages136-148
Number of pages13
ISBN (Electronic)9783540206804
DOIs
Publication statusPublished - 1 Jan 2003
Externally publishedYes

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume2914
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Fingerprint

Dive into the research topics of 'Subtyping constraints in quasi-lattices'. Together they form a unique fingerprint.

Cite this