Temporal Verification with Answer-Effect Modification: Dependent Temporal Type-and-Effect System with Delimited Continuations
Temporal Verification with Answer-Effect Modification: Dependent Temporal Type-and-Effect System with Delimited Continuations
复制标题
具有答案效果修改的时间验证:具有定界延续的依赖时间类型和效果系统
DOI:
10.1145/3571264
复制
发表时间:
2023
影响因子:
--
通讯作者:
Unno Hiroshi
中科院分区:
文献类型:
--
作者:
Sekiyama Taro;Unno Hiroshi
Type-and-effect systems are a widely used approach to program verification, verifying the result of a computation using types, and its behavior using effects. This paper extends an effect system for verifying temporal, value-dependent properties on event sequences yielded by programs, to the delimited control operators shift0/reset0. While these delimited control operators enable useful and powerful programming techniques, they hinder reasoning about the behavior of programs because of their ability to suspend, resume, discard, and duplicate delimited continuations. This problem is more serious in effect systems for temporal properties because these systems must be capable of identifying what event sequences are yielded by captured continuations. Our key observation for achieving effective reasoning in the presence of the delimited control operators is that their use modifies answer effects, which are temporal effects of the continuations. Based on this observation, we extend an effect system for temporal verification to accommodate answer-effect modification. Allowing answer-effect modification enables easily reasoning about traces that captured continuations yield. Another novel feature of our effect system is the support for dependently typed continuations, which allows us to reason about programs more precisely. We prove soundness of the effect system for finite event sequences via type safety and that for infinite event sequences using a logical relation.
登录
查看更多内容
DOI:
--
发表时间:
1986
期刊:
--
影响因子:
--
作者:
William D. Clinger;Daniel P. Friedman;M. Wand
通讯作者:
M. Wand
DOI:
10.1145/174675.178047
发表时间:
1994
期刊:
SSRN Electronic Journal
影响因子:
--
作者:
Andrzej Filinski
通讯作者:
Andrzej Filinski
DOI:
10.1145/224164.224173
发表时间:
1995
期刊:
Proceedings of the 2018 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software
影响因子:
--
作者:
Carl A. Gunter;Didier Rémy;J. Riecke
通讯作者:
J. Riecke
DOI:
10.1145/91556.91622
发表时间:
1990
期刊:
Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation
影响因子:
--
作者:
O. Danvy;Andrzej Filinski
通讯作者:
Andrzej Filinski
DOI:
--
发表时间:
2017
期刊:
European Symposium on Programming
影响因子:
--
作者:
Étienne Miquey
通讯作者:
Étienne Miquey