Processes Against Tests: Defining Contextual Equivalences - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2022

Processes Against Tests: Defining Contextual Equivalences

Clément Aubert

Résumé

In this position paper, we would like to offer and defend a template to study equivalences between programs---in the particular framework of process algebras for concurrent computation. We believe that our layered model of development will clarify the distinction that is too often left implicit between the tasks and duties of the programmer and of the tester. It will also enlighten pre-existing issues that have been running across process algebras such as the calculus of communicating systems, the \(\pi\)-calculus---also in its distributed version---or mobile ambients. Our distinction starts by subdividing the notion of process in three conceptually separated entities, that we call \emph{process terms}, (completed) \emph{processes} and \emph{tests}, and by stressing the importance of formalizing the \emph{completion} of process terms and the \emph{instrumentation} that results from placing a (completed) processes into a test. While the role of what can be observed and the subtleties in the definitions of congruences have been intensively studied, the fact that \emph{not every term can be tested}, and that \emph{the tester should have access to a different set of tools than the programmer} is curiously left out, or at least not often formally discussed--in this respect, the theory of monitor is a counter-examples that we discuss and compare to our approach. We argue that this blind spot comes from the under-specification of contexts---environments in which comparisons occur---that play multiple distinct roles but are generally---at least, on the surface of it---given only one definition that fails to capture all of their aspects.
Fichier principal
Vignette du fichier
main.pdf (391.22 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03535565 , version 1 (24-01-2022)

Identifiants

  • HAL Id : hal-03535565 , version 1

Citer

Clément Aubert, Daniele Varacca. Processes Against Tests: Defining Contextual Equivalences. 2022. ⟨hal-03535565⟩

Collections

LACL UPEC
79 Consultations
239 Téléchargements

Partager

More