Compositionality in the puzzle of semantics

By: Roberto Giacobazzi and Isabella Mastroeni

Roberto Giacobazzi
Dip. di Informatica
Univ. di Verona
Strada Le Grazie a Ca' Vignal 2
I-37134 Verona, Italy
giaco@sci.univr.it

Isabella Mastroeni
Dip. di Informatica
Univ. di Verona
Strada Le Grazie a Ca' Vignal 2
I-37134 Verona, Italy
mastroeni@sci.univr.it

Abstract:

In this paper we study the connection between the structure of relational abstract domains for program analysis and compositionality of the underlying semantics. Both can be systematically designed as solution of the same abstract domain equation involving the same domain refinement: the reduced power operation. We prove that most well-known compositional semantics of imperative programs, such as the standard denotational and weakest precondition semantics can be systematically derived as solutions of simple abstract domain equations. This provides an equational presentation of both semantics and abstract domains for program analysis in a unique formal setting. Moreover both finite and transfinite compositional semantics share the same structure, and this allows us to provide consistent models for program manipulation.
Related papers:
  • The reduced relative power operation on abstract domains (TCS 216:159-211, 1999)
  • A characterization of symmetric semantics by domain complementation (ACM PPDP'00, 115-126)
  • Handling the puzzle of semantics (Submitted for publication, 2002)
  • Non-standard semantics for program slicing (HOSC, To appear.)

  • Available: DVI, PDF, BibTeX Entry.

    mastroeni@sci.univr.it