Towards Compositional Feedback in Non-Deterministic and Non-Input-Receptive Systems*

Feedback is an essential composition operator in many classes of reactive and other systems. This paper studies feedback in the context of compositional theories with refinement. Such theories allow to reason about systems on a component-by-component basis, and to characterize substitutability as a refinement relation. Although compositional theories of feedback do exist, they are limited either to deterministic systems (functions) or input-receptive systems (total relations). In this work we propose a compositional theory of feedback which applies to non-deterministic and non-input-receptive systems (e.g., partial relations). To achieve this, we use the semantic frameworks of predicate and property transformers, and relations with fail and unknown values. We show how to define instantaneous feedback for stateless systems and feedback with unit delay for stateful systems. Both operations preserve the refinement relation, and both can be applied to non-deterministic and non-input-receptive systems.

[1]  Patrick Maxim Rondon,et al.  Liquid types , 2008, PLDI '08.

[2]  Jonathan K. Millen,et al.  Hookup security for synchronous machines , 1990, [1990] Proceedings. The Computer Security Foundations Workshop III.

[3]  Lawrence Charles Paulson,et al.  Isabelle/HOL: A Proof Assistant for Higher-Order Logic , 2002 .

[4]  Stavros Tripakis,et al.  Feedback in Synchronous Relational Interfaces , 2014, FPS@ETAPS.

[5]  Stavros Tripakis,et al.  Refinement calculus of reactive systems , 2014, 2014 International Conference on Embedded Software (EMSOFT).

[6]  Bengt Jonsson,et al.  A fully abstract trace model for dataflow and asynchronous networks , 1994, Distributed Computing.

[7]  Viorel Preoteasa Formalization of Refinement Calculus for Reactive Systems , 2014, Arch. Formal Proofs.

[8]  Ralph-Johan Back,et al.  Refinement Calculus: A Systematic Introduction , 1998 .

[9]  Edsger W. Dijkstra,et al.  Guarded commands, nondeterminacy and formal derivation of programs , 1975, Commun. ACM.

[10]  Manfred Broy,et al.  Specification and development of interactive systems: focus on streams, interfaces, and refinement , 2001 .

[11]  Edward A. Lee,et al.  A Theory of Synchronous Relational Interfaces , 2011, TOPL.

[12]  Robin Milner,et al.  Definition of standard ML , 1990 .

[13]  Thomas A. Henzinger,et al.  Interface theories with component reuse , 2008, EMSOFT '08.

[14]  Jyotirmoy V. Deshmukh,et al.  Benchmarks for Model Transformations and Conformance Checking , 2014 .

[15]  Sharad Malik,et al.  Analysis of cyclic combinational circuits , 1993, ICCAD '93.

[16]  Brian A. Davey,et al.  An Introduction to Lattices and Order , 1989 .

[17]  Thomas A. Henzinger,et al.  Interface automata , 2001, ESEC/FSE-9.

[18]  Frank Pfenning,et al.  Refinement types for ML , 1991, PLDI '91.

[19]  A. Tarski A LATTICE-THEORETICAL FIXPOINT THEOREM AND ITS APPLICATIONS , 1955 .

[20]  Nancy A. Lynch,et al.  An introduction to input/output automata , 1989 .

[21]  Stephen A. Edwards,et al.  The semantics and execution of a synchronous block-diagram language , 2003, Sci. Comput. Program..

[22]  Gordon D. Plotkin,et al.  A Powerdomain Construction , 1976, SIAM J. Comput..

[23]  Frank Pfenning,et al.  Dependent types in practical programming , 1999, POPL '99.

[24]  Thomas A. Henzinger,et al.  Reactive Modules , 1996, Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.

[25]  Ralph-Johan Back,et al.  Exploring Summation and Product Operators in the Refinement Calculus , 1995, MPC.

[26]  Gérard Berry,et al.  The constructive semantics of pure esterel , 1996 .

[27]  Fred Kröger,et al.  Temporal Logic of Programs , 1987, EATCS Monographs on Theoretical Computer Science.

[28]  Kenneth R. Butts,et al.  Powertrain control verification benchmark , 2014, HSCC.

[29]  Luca de Alfaro,et al.  Game Models for Open Systems , 2003, Verification: Theory and Practice.

[30]  Gilles Kahn,et al.  The Semantics of a Simple Language for Parallel Programming , 1974, IFIP Congress.