A Revisionist History
- f Denotational Semantics
Stephen Brookes
Carnegie Mellon University
Domains XIII July 2018
1 / 23
A Revisionist History of Denotational Semantics Stephen Brookes - - PowerPoint PPT Presentation
A Revisionist History of Denotational Semantics Stephen Brookes Carnegie Mellon University Domains XIII July 2018 1 / 23 Denotational Semantics Compositionality Principle The meaning of a complex expression is determined by the meanings of
1 / 23
2 / 23
3 / 23
4 / 23
5 / 23
◮ naturality conditions express key behavioral features
◮ sequential functions are hard to characterize
◮ executions of c1c2 not definable compositionally ◮ semantics must account for interference between threads 6 / 23
◮ Trace sets form a complete lattice ◮ Semantic constructs denote monotone functions ◮ Recursion, and fair interleaving, as greatest fixed point 7 / 23
8 / 23
◮ reads may see stale values, because of buffering or caches ◮ writes may get re-ordered, for optimized performance
9 / 23
◮ Replace traces (linear orders) with pomsets (partial orders)
10 / 23
11 / 23
12 / 23
13 / 23
14 / 23
15 / 23
◮ SC:
◮ TSO: <′ is a read-coherent total store order ◮ PSO: <′ is a read-coherent per-location total store order
16 / 23
17 / 23
18 / 23
19 / 23
20 / 23
21 / 23
◮ “actions” as uninterpreted symbols, no state or execution
◮ Not true for executions:
◮ Petri nets, . . . , event structures
22 / 23
23 / 23