In order to provide a formalism for defining program correctness and to reason about program development in Computational Logic, we believe that it is better to distinguish between specifications and programs. To this end, we have developed a general approach to specification that is based on a model-theoretic semantics. In our previous work, we have shown how to define specifications and program correctness for open logic programs. In particular we have defined a notion of correctness called steadfastness, that captures at once modularity, reusability and correctness. In this pap er, we review our past work and we show how it can be used to define comp ositional units that can be correctly reused in modular or component-based software development.

Specifying Compositional Units for Correct Program Development in Computational Logic / Kung-Kiu Lau, Mario Ornaghi - In: Program Development in Computational Logic: a Decade of Research Advances in Logic-Based Program Development / Maurice Bruynooghe, Kung-Kiu Lau. - Berlin : Springer Verlag, 2004. - ISBN 3540221522. - pp. 1-29

Specifying Compositional Units for Correct Program Development in Computational Logic

Mario Ornaghi
2004

Abstract

In order to provide a formalism for defining program correctness and to reason about program development in Computational Logic, we believe that it is better to distinguish between specifications and programs. To this end, we have developed a general approach to specification that is based on a model-theoretic semantics. In our previous work, we have shown how to define specifications and program correctness for open logic programs. In particular we have defined a notion of correctness called steadfastness, that captures at once modularity, reusability and correctness. In this pap er, we review our past work and we show how it can be used to define comp ositional units that can be correctly reused in modular or component-based software development.
Settore INF/01 - Informatica
2004
Book Part (author)
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/9817
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 7
  • ???jsp.display-item.citation.isi??? ND
social impact