Back to search

University of Oxford

Program synthesis from domain specific object models

Abstract

dc:description.abstract

Automatically generating a program from its specification eliminates a large source of errors that is often unavoidable in a manual approach. While a general purpose code generator is impossible to build, it is possible to build a practical code generator for a specific domain. This thesis investigates the theory behind Booster — a domain specific, object based specification language and automatic code generator. The domain of Booster is information systems — systems that consist of a rich object model in which the objects refer to each other to form a complicated network of associations. The operations of such systems are conceptually simple (changing the attributes of objects, adding or removing new objects and creating or destroying associations) but they are tricky to implement correctly. The thesis focuses on the theoretical foundation of the Booster approach, in particular on three contributions: semantics, model completion, and code generation. The semantics of a Booster model is a single abstract data type (ADT) where the invariants and the methods of all the classes in the model are promoted to the level of the ADT. This is different from the traditional view that considers each class as a separate ADT. The thesis argues that the Booster semantics is a better model of object oriented systems. The second important contribution is the idea of model completion — a process that augments the postconditions of methods with additional predicates that follow from the system’s invariant and the method’s original intention. The third contribution describes a simple but effective code generation technique that is based on interpreting postconditions as executable statements and uses weakest preconditions to ensure that the generated code refines its specification.

Degree

thesis:*
Name dc:type.qualificationname
DPhil
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
University of Oxford
Year dc:date.issued
2008

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Faitelson, David
Advisor dc:contributor.advisor
  • Davies, Jim

Subjects

dc:subject × 4

Rights

Language dc:language.dcterms_iso639_2
eng

Identifiers

dc:identifier.*
Identifier
uuid:0c5a992e-dad4-435c-a576-e3ed504bcdbd

Chain of custody

source
Harvested from
Oxford University
Base URL
ora.ox.ac.uk/oai2
Last updated
2026-11-25
Source record
OAI-PMH GetRecord
citation

Faitelson, David. Program synthesis from domain specific object models. Doctoral thesis, University of Oxford, 2008. http://ora.ox.ac.uk/objects/uuid:0c5a992e-dad4-435c-a576-e3ed504bcdbd