Iwan Qu{é}merais, Guilh{è}me Jaber, Ken Sakayori, Davide Sangiorgi
原文摘要
We propose an Operational Game Semantics for a (call-by-value) concurrent higher-order language with first-order store (references may contain other references or first-order values such as integers or booleans; however they may not store higher-order values such as functions). We adapt the game-semantic notion of visibility, which semantically captures the absence of higher-order references and developed for sequential higher-order languages, to a concurrent setting. We thus define a complete-trace preorder, and prove it sound for the contextual preorder, by introducing a synchronization-based composition of semantic configurations and establishing an observational adequacy result. We also prove completeness for the subset of the language in which functions return first-order values. In contrast to the case of sequential visibility, in the labeled transition semantics we have to account for the presence of multiple active threads with possibly different visibilities, and of a tree-like structure for managing the dependencies among the threads so created. Moreover, we have to reason on families of traces, rather than single traces, as in concurrent setting the order among certain actions cannot be enforced.
The most studied and accepted pseudometric for probabilistic processes is one based on the Kantorovich distance between distributions. It comes with many theoretical and motivating results, in particular it is the fixpoint of a given functional and defines a functor on (complete) pseudometric spaces. It is also the foundation for a categorical lifting of pseudometrics. Other notions of behavioural pseudometrics have also been proposed, one of them (\texorpdfstring{$ε$}{epsilon}-distance) based on \texorpdfstring{$ε$}{epsilon}-bisimulation. \texorpdfstring{$ε$}{epsilon}-Distance has the advantages that it is intuitively easy to understand, it relates systems that are conceptually close (for example, an imperfect implementation is close to its specification), and it comes equipped with a natural notion of \texorpdfstring{$ε$}{epsilon}-coupling. Finally, this distance is easy to compute. We show that \texorpdfstring{$ε$}{epsilon}-distance is also the greatest fixpoint of a functional and provides a functor. The latter is obtained by replacing the Kantorovich distance in the lifting functor with the Lévy-Prokhorov distance. In addition, we show that \texorpdfstring{$ε$}{epsilon}-couplings and $ε$-bisimulations have an appealing coalgebraic characterization.
In a recent work of Matteo Mio on compact quantitative equational theories (here compact means that all its consequences are derivable by means of finite proofs) convex algebras on the carrier set [0,1] whose operations are monotone and satisfy certain semicontinuity properties occurred. We fully classify those algebraic structures by giving an explicit construction of all possible convex operations on [0,1] possessing the mentioned properties. Our result thus describes exactly the range of theories to which Mio's theorem applies.
Convex semilattices form an equational class that combines convex algebras and semilattices by a distributive law. For a set $I$ let $\mathcal FI$ be the free convex semilattice with basis $I$. A product $\mathcal FI\times\mathcal FJ$ is generated by $I\times J$, but is not free. Hence, not every map from $I\times J$ into an arbitrary convex semilattice $X$ extends uniquely to a homomorphism from $\mathcal FI\times\mathcal FJ$ to $X$. We investigate a condition on a map $\varphi$ of $I\times J$ into some convex semilattice $X$ that is always necessary and often sufficient for $\varphi$ to have such an extension to a homomorphism $Φ$ of $\mathcal FI\times\mathcal FJ$ into $X$.