scispace - formally typeset
Journal ArticleDOI

Towards a theory of consistency enforcement

Klaus-Dieter Schewe, +1 more
- 01 Feb 1999 - 
- Vol. 36, Iss: 2, pp 97-141
Reads0
Chats0
TLDR
It will be shown that greatest consistent specializations (GCSs) always exist and are compatible with conjunctions of invariants and under certain mild restrictions the general construction of such GCSs is possible.
Abstract
State oriented specifications with invariants occur in almost all formal specification languages. Hence the problem is to prove the consistency of the specified operations with respect to the invariants. Whilst the problem seems to be easily solvable in predicative specifications, it usually requires sophisticated verification efforts, when specifications in the style of Dijkstra's guarded commands as e.g. in the specification language B are used. As an alternative consistency enforcement will be discussed in this paper. The basic idea is to replace inconsistent operations by new consistent ones preserving at the same time the intention of the old one. More precisely, this can be formalized by consistent spezializations, where specialization is a specific partial order on operations defined via predicate transformers. It will be shown that greatest consistent specializations (GCSs) always exist and are compatible with conjunctions of invariants. Then under certain mild restrictions the general construction of such GCSs is possible. Precisely, given the GCSs of simple basic assignments the GCS of a complex operation results from replacing involved assignments by their GCSs and the investigation of a guard. In general, GCS construction can be embedded in refinement calculi and therefore strengthens the systematic development of correct programs.

read more

Citations
More filters
BookDOI

Entity-Relationship Modeling

TL;DR: Nested attributes with more complex domains are introduced and an analogous notion of nested attributes is introduced, but with the following additional condition: for different nested 4.2 Entity and Relationship Types 65.
Journal ArticleDOI

Incremental integrity checking of UML/OCL conceptual schemas

TL;DR: These techniques are able to determine, at design-time, when and how each constraint must be checked at runtime to avoid irrelevant verifications and can be integrated in a model-driven development framework to automatically generate a final implementation that automatically checks all constraints in an incremental way.

Decidable Reasoning in UML Schemas with Constraints.

TL;DR: A set of theorems are provided to determine that a schema does not have any infinite model and then a decidable method is provided that efficiently checks whether it satisfies a set of desirable properties such as schema satisfiability and class or association liveliness.
Journal ArticleDOI

Personalisation of web information systems - A term rewriting approach

TL;DR: This paper primarily concentrates on the customisation of functionality by making all those operations available to a user that are needed to achieve a specified goal, and by organising them in an action scheme called plot that is in accordance with the behavioural preferences of the user.
Journal ArticleDOI

Generating operation specifications from UML class diagrams: A model transformation approach

TL;DR: This paper aims to simplify this task by providing a method that automatically generates a set of basic operations that complement the static aspects of the CS and suffice to perform all typical life-cycle create/update/delete changes on the population of the elements of theCS.
References
More filters
Book

Foundations of databases

TL;DR: This book discusses Languages, Computability, and Complexity, and the Relational Model, which aims to clarify the role of Semantic Data Models in the development of Query Language Design.
Book

The Z notation: a reference manual

TL;DR: Tutorial introduction background the Z language the mathematical tool-kit sequential systems syntax summary and how to use it to solve sequential systems problems.
Book

Systematic software development using VDM

TL;DR: Logic of propositions reasoning about predicates functions and operations set notation composite objects and invariants map notation sequence notation data rectification more on data types operation decomposition.
Book

The science of programming

David Gries
TL;DR: Describes basic programming principles and their step-by- step applications and shows how to apply them to real-world problems.
Book

Programming from specifications

TL;DR: This second edition features substantial restructuring of earlier material, streamlining the introduction of programming language features; simplified presentation of procedures, parameters and recursion; an expanded chapter on data refinement, giving the much simpler laws that specialize to functional abstractions.