arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.08114cs.PL
收藏

取决于会话类型的进程

Depending on Session-Typed Processes

Bernardo Toninho, Nobuko Yoshida

摘要:

这项工作提出了一个依赖的类型论,结合功能和会话类型的过程(与值依赖),通过上下文单子,内在化的依赖类型的过程中的一个依赖类型的类演算。建议的框架,通过允许会话进程依赖于功能,反之亦然,使我们能够指定和静态验证协议的下一个通信动作的选择可以取决于接收到的数据的特定值。此外,框架的类型理论性质赋予我们内部描述和证明过程行为谓词的能力。我们的主要结果是类型健全的框架,并忠实嵌入的功能层的演算会话类型层,展示了依赖的会话类型的表达能力。

英文摘要:

This work proposes a dependent type theory that combines functions and session-typed processes (with value dependencies) through a contextual monad, internalising typed processes in a dependently-typed lambda-calculus. The proposed framework, by allowing session processes to depend on functions and vice-versa, enables us to specify and statically verify protocols where the choice of the next communication action can depend on specific values of received data. Moreover, the type theoretic nature of the framework endows us with the ability to internally describe and prove predicates on process behaviours. Our main results are type soundness of the framework, and a faithful embedding of the functional layer of the calculus within the session-typed layer, showcasing the expressiveness of dependent session types.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑