Demonic semantics: using monotypes and residuals (Q1774651)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: Demonic semantics: using monotypes and residuals |
scientific article; zbMATH DE number 2168605
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | Demonic semantics: using monotypes and residuals |
scientific article; zbMATH DE number 2168605 |
Statements
Demonic semantics: using monotypes and residuals (English)
0 references
18 May 2005
0 references
The paper is concerned with the operational and the denotational semantics of nondeterministic programs, and in particular with the so called demonic semantics. While the angelic semantics assumes that if a program has the possibility to go right, it will go right, the demonic semantics assumes that the program will behave as badly as possible. In the operational semantics the behaviour of a program is described by a relation between the initial and final states. In the denotational semantics a mathematical object is associated with a program. In the paper the object is a relational flow diagram whose arrows are weighted by the different steps of the program. The operations are ``demonic choice'' and ``demonic composition''. The notion of relational flow diagram can be used to give a single demonic definition for a wide range of programming constructs. The author shows that for the sequence, Dijkstra's guarded command and the whileloop his definition is equivalent to traditional definitions. The research had originally been carried out in the framework of binary homogeneous relations. Monotypes and residuals used in this paper allow generalizing results obtained previously.
0 references
operational semantics
0 references
denotational semantics
0 references
demonic semantics
0 references
relational flow diagrams
0 references
monotypes
0 references