Back to search

University of Victoria (Canada)

From specification to implementation in logic

Abstract

dc:description.abstract

The use of modules to decompose large software systems into smaller, more manageable, programming tasks is now widely accepted. To benefit from such a decomposition, the requirements of each module have to be defined in a module interface specification. The modules must then be implemented according to their specifications. We propose a method for deriving Prolog implementations of modules by transforming interface specifications written in logic. We present the SCS method for writing module interface specifications in logic. With this method we obtain precision in both syntax and semantics. By using logic, we satisfy the standard criterion for semantic precision: statements about a module's externally observable behaviour are logical consequences of the specification, when regarded as a theory of first-order logic. The specifications can be written so that they are executable as Prolog programs. Although the specifications are executable, they are often inefficient. Logic-based program transformation allows us to make a logic program more efficient while preserving its meaning. We present a method for specializing a program for a particular query using a "complete set of frontiers." This idea is incorporated into FROST, an interactive transformation system that assists the user with the construction of complete sets of frontiers. Finally, we show how we can transform an SCS specification so that it can serve as an implementation. Although part of this transformation can be applied systematically, we cannot derive the entire implementation for even the simplest modules. We discuss the problems that occur and look at alternatives for obtaining confidence in the correctness of an implementation.

Degree

thesis:*
Level thesis:degree_level
Doctor of Philosophy Ph.D.
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Strooper, Paul Anthony
Advisor dc:contributor.supervisor
  • Van Emden, M. H.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web
Language dc:language.iso
en, English

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1828/9493

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Strooper, Paul Anthony. From specification to implementation in logic. Doctor of Philosophy Ph.D. thesis, 2018. http://hdl.handle.net/1828/9493