skip to main content
article
Free access

Conjunction as composition

Published: 01 October 1993 Publication History

Abstract

Partial specifications written in many different specification languages can be composed if they are all given semantics in the same domain, or alternatively, all translated into a common style of predicate logic. The common semantic domain must be very general, the particular semantics assigned to each specification language must be conducive to composition, and there must be some means of communication that enables specifications to build on one another. The criteria for success are that a wide variety of specification languages should be accommodated, there should be no restrictions on where boundaries between languages can be placed, and intuitive expectations of the specifier should be met.

References

[1]
~ALLEN, R., AND GARLAN, D. A {ormal approach to software architectures. Tech. Rep. School ~of Computer Science, Carnegie Mellon University, Pittsburgh, Pa., February 1992.
[2]
~BORGIDA, A., MYLOPOULO$, d., AND REITI~}R, R. "And nothing else changes": The frame ~problem in procedure specifications. In Proceedings of the 15th International Conference on ~Sol, ware Engineering. IEEE Computer Society, May 1993, 303 314.
[3]
~BURSTALL, R.M. Formal description of program structure and semantics in first order logic. ~In B. Meltzer and D Michie, eds, Mochil~e Intelhgence 5 Edinburgh University Press, 1970, ~pp. 79-98.
[4]
~CARDELLI, L., AND WEGNER, P. On understanding types, data abstraction, and polymor- ~phism ACM Comput,gurv 17, 4 (Dec. 1985), 471 522.
[5]
~FINKELSTEIN, A, GOEDICKE, M., KRAMER, J., AND NISKIER, C. ViewPoint-oriented software ~development: Methods and vmwpoints in requirements engineering. In Proceedings of the ~2nd METEOR Workshop on Methods/or Formal Speclf~catmn. Springer-Verlag, 1989.
[6]
~FiNKELSTEIN, A., KRAMER, J., NUSEIBEH, }3, FINKELSTEIN, L, AND GOEDICKE, M Viewpoints ~A framework for integrating mulhple perspectives in system development Int. J. Sopw. ~Eng. Knowl. Eng 2, 1 (1992), 31 57
[7]
~GARLAN, D., AND NOTKIN, D. Formalizing design spaces' Impheit invocahon mechanisms. In ~VDM '91: Formal So/tware Development Methods (Proceedings of the 4th International ~Symposatm of VDM Europe ). Springer-Verlag (ISBN 3-540-54834-3), 1991, pp. 31-44.
[8]
~HAILPERN, B. Multiparadlgm languages and environments (guest editor's introduction to a ~special issue) IEEE Softw. 3, i (Jan. 1986), 6-9.
[9]
~HAI~EL, D Statecharts: A visual formahsm for complex systems. Sc~ Cornput Prag. 8, ~(1987),231 274.
[10]
~HAREL, D, LAC'HOVER, H., NAAMAD, A., PNUELI, A., POLITI, M., SHERMAN, R., SHTULL-TRAURiNG, ~A, AND TRAKHTENBROT, M. Statemate: A working enwronment for the development of ~complex reactive systems. IEEE Trans So/~w Eng. SE-16, 4 (Apr 1990), 403-414
[11]
~HAYES, R, AND SCHLICHTING, R D Facfiltatmg nnxed language programming in dmtnbuted ~systems. IEEE Trans. So/ho. Eng. SE-13, 12 (Dec 1987), 1254 1264.
[12]
~HOARE~ C. A R Conzmanmatlng Sequential Proce,s'ses Prentice-Hall International, 1985.
[13]
~INTERNATIONAL ORGANIZATION FOR STANDARDIZATION. Informatmn processing systems Open ~systems interconnectmn--LOTOS--A formal description technique based on the temporal ~ordering' of' observatmnal behaviour. ISO 8807.1989
[14]
~JACKSON, M.A. Principles of Program Design. Academic Press, 1975
[15]
~JACKSON, M. Some complexities m computer-based systems and their mlphcatlons for ~system development. In Proeeedzngs of CompEuro '90. IEEE Computer Society, (ISBN ~0-8186-2041-2), 1990, pp. 344-351.
[16]
~JACKSON, M., AND ZAVE, P. Domain descriptions In Proceedings of the 1EE~' lnternatmnal ~Symposium on Requirements Engineering. IEEE Computer Society Press (ISBN 0-8186- ~3120-1), 1993, pp. 56 64.
[17]
~JOHNSON, W. L~ FEATHER, M S., ANn HAnnm, D. R. Representation and presentation of' ~requirements knowledge IEEE Transactmns on Software Engineering SE-18, 10 (Oct 1992), ~853-869.
[18]
~JONES, C B Systematic Software Development Using VDM Prentme Hall Internatmnal, ~1986
[19]
~KLEENE, S C Mathematmal Log'm. Wiley, 1967.
[20]
~L^MPORT, L. A simple approach to specifying concurrent systems Commun. ACM 32, 1 ~(Jan. 1989), 32 45
[21]
~LAMP(roT, L. A temporal logic of actmns DEC Systems Research Center 57, Palo Alto, ~Califorma, Apr. 1990
[22]
~LONDON, P. E., AND FEATHER, M S Implementing specificatmn freedoms SoL Comput. ~Prog 2, (1982), 91-131
[23]
~MAHONY, B. P., AND HAYES, I J A case-study m timed refinement A mine pump. IEEE ~Tran,s. So/tu,. Eng SE-18, 9 (Sept. 1992), 817-826.
[24]
~PLAT, N., VAN Ka%WJK, J, AND PRONK, K, A case for structured analys~s/formal design In ~VDM '91: Formal Sa/tware Development Meth,ds (Proceedings of the 4th International ~SymposLum of VDM Europel Spnnger-Verlag (ISBN 3-540-54834-3), 1991, pp. 81 105.
[25]
~PNUELI, A. The temporal logic of programs. In Proceedings of the 18th Annual Symposium ~ on Foundations of Computer Smence. }EEE Computer Socmty (77CH1278-1), 1977, pp ~46- 57
[26]
~REiSS, S P Working in the Garden environment for conceptual programming. IEEE ~Software ~, 6 (Nov 1987), 16-27.
[27]
~SPlVEY, J. M The Z Notatmn A Reference Manual Prentice-Hall International, 1989.
[28]
~WAnU, P. T The transformation schema: An extension of the data flow diagram to repre- ~sent control and timing. IEEE Trans. So/ho. Eng. 12, 2 (Feb. 1986), 198 210.
[29]
~WINE, D S. Integrating syntaxes and their associated semantics. USC/Informatlon Sm- ~ences Institute Tech Rep RR-92-297 Umv Southern Calif., Marina de} Rey, Calif., 1992
[30]
~WmED~,"N, J C., WOLF, A. L., ROSENnLATT, W. R, AND TARR, P. L. Specification-level ~mteroperabfilty. Commztn ACM 34, 5 (May 1991), 72-87.
[31]
~WING, J.M. A specifier's introduction to formal methods. IEEE Comput. 23, 9 (Sept. 1990), ~8 24
[32]
~WORDSWORTH, J.B. Softuictre Development wtth Z: A Practical Approach to Formal Methods ~in Software Engineering. Addison-Wesley, 1992.
[33]
~ZAVE, P. A compositional approach to multiparadlgm programming. IEEE Softw. 6, 5 (Sept. ~1989), 15-25.
[34]
~ZAVE, P., AND JACKSON, M. Composition of descriptions: A progress report. In Proceedings of ~the Formal Methods Workshop '91. Sprmger-Verlag, New York, 1991.
[35]
~ZAw:, P., AND JACKSON, M. Techniques for partial specification and specification of switch- ~ing systems In VDM '91: Formal Software Development Methods (Proceedtngs of the 4th ~In tern ation a l Symposl um of VDM Europe ). Spnnger-Verlag (ISBN 3 -540-54834-3), 1991, pp. ~511-525.
[36]
~ZAVE, P., AND JACKSON, M. Where do operations come from? Specification of event proper- ~ties, submitted for publication, 1993.

Cited By

View all

Recommendations

Reviews

James C. Pleasant

The authors provide theoretical details toward implementing an approach to composition of partial specifications suggested by Wing [1]. The basic approach consists of assigning semantics in a common semantic domain to all specification languages and defining the semantics of the composition of a set of partial specifications as the set of specificands (members of the semantic domain) satisfying all of them. In this paper, the semantics of a specification is defined as an assertion in predicate logic, while the semantics of a composition of partial specifications is the composition of their assertions. With these definitions, a set of partial specifications is consistent if and only if the conjunction of their assertions is satisfiable. Limitations of this approach to multiparadigm specifications, pointed out by the authors, include the difficulty of providing algorithmic translations to predicate logic of large, rich languages, such as Z, and the need to provide nonstandard semantics for some languages. The basic theoretical approach put forth in this paper seems straightforward, and the results reported here point to the method's usefulness. Strong points of the paper include the authors' careful consideration of what constitutes success of this approach to specification and their candid appraisal of the limitations of the method. The merits of the method could be more clearly demonstrated by the development of a repository of examples whose details are more fully worked out than those in this paper.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Software Engineering and Methodology
ACM Transactions on Software Engineering and Methodology  Volume 2, Issue 4
Oct. 1993
101 pages
ISSN:1049-331X
EISSN:1557-7392
DOI:10.1145/158431
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1993
Published in TOSEM Volume 2, Issue 4

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. compositional specification
  2. multiparadigm specification
  3. practical specification

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)98
  • Downloads (Last 6 weeks)20
Reflects downloads up to 05 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media