FAIR ASYNCHRONOUS SESSION SUBTYPING

被引:0
|
作者
Bravetti, Mario [1 ]
Lange, Julien [3 ]
Zavattaro, Gianluigi [2 ]
机构
[1] Univ Bologna, Bologna, Italy
[2] Univ Bologna, INRIA OLAS Team, Bologna, Italy
[3] Royal Holloway Univ London, Egham, England
基金
欧盟地平线“2020”;
关键词
UNDECIDABILITY; CONTRACTS;
D O I
10.46298/lmcs-20(4:5)2024
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
. Session types are widely used as abstractions of asynchronous message passing systems. Refinement for such abstractions is crucial as it allows improvements of a given component without compromising its compatibility with the rest of the system. In the context of session types, the most general notion of refinement is asynchronous session subtyping, which allows message emissions to be anticipated w.r.t. a bounded amount of message consumptions. In this paper we investigate the possibility to anticipate emissions w.r.t. an unbounded amount of consumptions: to this aim we propose to consider fair compliance over asynchronous session types and fair refinement as the relation that preserves it. This allows us to propose a novel variant of session subtyping that leverages the notion of controllability from service contract theory and that is a sound characterisation of fair refinement. In addition, we show that both fair refinement and our novel subtyping are undecidable. We also present a sound algorithm which deals with examples that feature potentially unbounded buffering. Finally, we present an implementation of our algorithm and an empirical evaluation of it on synthetic benchmarks.
引用
收藏
页码:1 / 5
页数:47
相关论文
共 50 条
  • [1] On the Undecidability of Asynchronous Session Subtyping
    Lange, Julien
    Yoshida, Nobuko
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2017), 2017, 10203 : 441 - 457
  • [2] Undecidability of asynchronous session subtyping
    Bravetti, Mario
    Carbone, Marco
    Zavattaro, Gianluigi
    INFORMATION AND COMPUTATION, 2017, 256 : 300 - 320
  • [3] Fair Subtyping for Open Session Types
    Padovani, Luca
    AUTOMATA, LANGUAGES, AND PROGRAMMING, PT II, 2013, 7966 : 373 - 384
  • [4] Asynchronous session subtyping as communicating automata refinement
    Mario Bravetti
    Gianluigi Zavattaro
    Software and Systems Modeling, 2021, 20 : 311 - 333
  • [5] Asynchronous session subtyping as communicating automata refinement
    Bravetti, Mario
    Zavattaro, Gianluigi
    SOFTWARE AND SYSTEMS MODELING, 2021, 20 (02): : 311 - 333
  • [6] Fair Refinement for Asynchronous Session Types
    Bravetti, Mario
    Lange, Julien
    Zavattaro, Gianluigi
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, FOSSACS 2021, 2021, 12650 : 144 - 163
  • [7] A SOUND ALGORITHM FOR ASYNCHRONOUS SESSION SUBTYPING AND ITS IMPLEMENTATION
    Bravetti, Mario
    Carbone, Marco
    Lange, Julien
    Yoshida, Nobuko
    Zavattaro, Gianluigi
    LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 17 (01) : 20:1 - 20:35
  • [8] On the boundary between decidability and undecidability of asynchronous session subtyping
    Bravetti, Mario
    Carbone, Marco
    Zavattaro, Gianluigi
    THEORETICAL COMPUTER SCIENCE, 2018, 722 : 19 - 51
  • [9] Fair Subtyping for Multi-party Session Types
    Padovani, Luca
    COORDINATION MODELS AND LANGUAGES, COORDINATION 2011, 2011, 6721 : 127 - 141
  • [10] Fair subtyping for multi-party session types
    Padovani, Luca
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2016, 26 (03) : 424 - 464