A logic programming language with lambda-abstraction, function variables, and simple unification

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

It has been argued elsewhere that a logic programming language with function variables and λ-abstractions within terms makes a very good meta-programming language, especially when an object language contains notions of bound variables and scope. The λProlog logic programming language and the closely related Elf and Isabelle systems provide meta-programs with both function variables and λ-abstractions by containing implementations of higher-order unification. In this paper, we present a logic programming language, called Lλ, that also contains both function variables and λ-abstractions, but certain restriction are placed on occurrences of function variables. As a result, an implementation of Lλ does not need to implement full higher-order unification. Instead, an extension to first-order unification that respects bound variable names and scopes is all that is required. Such unification problems are shown to be decidable and to possess most general unifiers when unifiers exist. A unification algorithm and logic programming interpreter are described and proved correct. Several examples of using Lλ as a meta-programming language are presented.

Original languageEnglish
Title of host publicationExtensions of Logic Programming - International Workshop, Proceedings
EditorsPeter Schroeder-Heister
PublisherSpringer Verlag
Pages253-281
Number of pages29
ISBN (Print)9783540535904
DOIs
Publication statusPublished - 1 Jan 1991
Externally publishedYes
EventInternational Workshop on Extensions of Logic Programming, 1989 - Tubingen, Germany
Duration: 8 Dec 198910 Dec 1989

Publication series

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

Conference

ConferenceInternational Workshop on Extensions of Logic Programming, 1989
Country/TerritoryGermany
CityTubingen
Period8/12/8910/12/89

Fingerprint

Dive into the research topics of 'A logic programming language with lambda-abstraction, function variables, and simple unification'. Together they form a unique fingerprint.

Cite this