MFCS Conference 1986 Invited Paper
Algebraic Theory of Module Specification with Constraints
- Hartmut Ehrig
- Werner Fey
- Francesco Parisi-Presicce
- Edward K. Blum
Abstract The concept for modules in software engineering based on equational algebraic specifications is extended by a suitable notion of constraints. This allows to have loose specifications with constraints for parameter, export and import interfaces of module specifications without loosing executability of the body specification. Correctness of such module specifications ensures that data types satisfying the import constraints are transformed into ones satisfying the export constraints. Operations on module specifications like composition, actualization and union are extended to the case with constraints. They are shown to preserve correctness and to be compositional w. r. t. the semantics. Moreover these operations on module specifications satisfy algebraic laws comparable to those of R-modules in algebra.