On Termination, Confluence and Consistent CHR-based Type Inference. Issue 4 (21st July 2014)
- Record Type:
- Journal Article
- Title:
- On Termination, Confluence and Consistent CHR-based Type Inference. Issue 4 (21st July 2014)
- Main Title:
- On Termination, Confluence and Consistent CHR-based Type Inference
- Authors:
- DUCK, GREGORY J.
HAEMMERLÉ, RÉMY
SULZMANN, MARTIN
Leuschel, Michael
Schrijvers, Tom - Abstract:
- <abstract abstract-type="normal"> <title>Abstract</title> <p>We consider the application of Constraint Handling Rules (CHR) for the specification of type inference systems, such as that used by Haskell. Confluence of CHR guarantees that the answer provided by type inference is correct and consistent. The standard method for establishing confluence relies on an assumption that the CHR program is terminating. However, many examples in practice give rise to non-terminating CHR programs, rendering this method inapplicable. Despite no guarantee of termination or confluence, the Glasgow Haskell Compiler (GHC) supports options that allow the user to proceed with type inference anyway, e.g. via the use of the <monospace>UndecidableInstances</monospace> flag. In this paper we formally identify and verify a set of relaxed criteria, namely <italic>range-restrictedness</italic>, <italic>local confluence</italic>, and <italic>ground termination</italic>, that ensure the consistency of CHR-based type inference that maps to potentially non-terminating CHR programs.</p> </abstract>
- Is Part Of:
- Theory and practice of logic programming. Volume 14:Issue 4/5(2014)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 14:Issue 4/5(2014)
- Issue Display:
- Volume 14, Issue 4/5 (2014)
- Year:
- 2014
- Volume:
- 14
- Issue:
- 4/5
- Issue Sort Value:
- 2014-0014-NaN-0000
- Page Start:
- 619
- Page End:
- 632
- Publication Date:
- 2014-07-21
- Subjects:
- Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S1471068414000246 ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 3001.xml