English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT

Released

Book Chapter

Logic Programming with Type Specifications

MPS-Authors
/persons/resource/persons44582

Hanus,  Michael
Programming Logics, MPI for Informatics, Max Planck Society;

External Resource
No external resources are shared
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)
There are no public fulltexts stored in PuRe
Supplementary Material (public)
There is no public supplementary material available
Citation

Hanus, M. (1992). Logic Programming with Type Specifications. In F. Pfenning (Ed.), Types in Logic Programming (pp. 91-140). Cambridge, USA: MIT Press.


Cite as: https://hdl.handle.net/11858/00-001M-0000-0014-AE14-5
Abstract
In this chapter, we propose a framework for logic programming with different
type systems. In this framework a typed logic program consists of a type
specification and a Horn clause program which is well-typed with respect to the
type specification. The type specification defines all types which can be used
in the logic program. Relations between types are expressed by equations on the
level of types. This permits the specification of many-sorted, order-sorted,
polymorphic and polymorphically order-sorted type systems. We present the
declarative semantics of our framework and two proof procedures (deduction and
resolution) for typed logic programs. An interesting application is a type
system that combines parametric polymorphism with order-sorted typing and
permits higher-order logic programming. Moreover, our framework sheds some new
light on the r\^{o}le of types in logic programming.