Work

Determinism Analysis and its Application to Evaluation Order Independence (Extended version)

Year: 2026
Type: report
Abstract: In some programming languages, the order of evaluation of sub-expressions is under-specified. We design a static analysis for detecting whether the outcome of a program may depend on the choice of an evaluation order, for programs written in an imperative language equipped with a non-deterministic scheduling construct. The analysis is compositional, and is obtained by abstract interpretation of the 2-hypersemantics of programs, expressed as the tensor product of a program’s semantics with itself. To detect whether a behaviour might be non-deterministic, the analysis features an abstract domain of dependencies, that can express ranges of sufficient conditions for an outcome to be insensitive to the evaluation order. The precision of the analysis is discussed by conducting experiments with a prototype analyser.
Source: HAL
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7170231976
Cites:
Cited by: 1
Related to: 10