计算机科学 > 程序设计语言
[提交于 2018年1月24日]
标题:Depending on Session-Typed Processes
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Bernardo Toninho[v1] 2018年1月24日 星期三 18:30:22 UTC