Skip to Main Content (Press Enter)

Logo CNR
  • ×
  • Home
  • Persone
  • Pubblicazioni
  • Strutture
  • Competenze

UNI-FIND
Logo CNR

|

UNI-FIND

cnr.it
  • ×
  • Home
  • Persone
  • Pubblicazioni
  • Strutture
  • Competenze
  1. Pubblicazioni

Transformations of logic programs with goals as arguments

Articolo
Data di Pubblicazione:
2004
Abstract:
We consider a simple extension of logic programming where variables may range over goals and goals may be arguments of predicates. In this language we can write logic programs which use goals as data. We give practical evidence that, by exploiting this capability when transforming programs, we can improve program efficiency. We propose a set of program transformation rules which extend the familiar unfolding and folding rules and allow us to manipulate clauses with goals which occur as arguments of predicates. In order to prove the correctness of these transformation rules, we formally define the operational semantics of our extended logic programming language. This semantics is a simple variant of LD-resolution. When suitable conditions are satisfied this semantics agrees with LD-resolution and, thus, the programs written in our extended language can be run by ordinary Prolog systems. Our transformation rules are shown to preserve the operational semanticsand termination.
Tipologia CRIS:
01.01 Articolo in rivista
Keywords:
Program transformation; unfold/fold transformation rules; higher order logic programming; continuations
Elenco autori:
Proietti, Maurizio
Autori di Ateneo:
PROIETTI MAURIZIO
Link alla scheda completa:
https://iris.cnr.it/handle/20.500.14243/169428
Pubblicato in:
THEORY AND PRACTICE OF LOGIC PROGRAMMING
Journal
  • Dati Generali

Dati Generali

URL

http://journals.cambridge.org/action/displayAbstract?fromPage=online&aid=227665
  • Utilizzo dei cookie

Realizzato con VIVO | Designed by Cineca | 26.5.0.0 | Sorgente dati: PREPROD (Ribaltamento disabilitato)