On Monadic Parametricity of Second-Order Functionals

被引:0
|
作者
Bauer, Andrej [1 ]
Hofmann, Martin [2 ]
Karbyshev, Aleksandr [3 ]
机构
[1] Univ Ljubljana, Ljubljana, Slovenia
[2] Univ Munich, Munich, Germany
[3] Tech Univ Munich, Munich, Germany
来源
FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2013) | 2013年 / 7794卷
关键词
SOLVER;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
How can one rigorously specify that a given ML functional f : (int -> int) -> int is pure, i.e., f produces no computational effects except those produced by evaluation of its functional argument? In this paper, we introduce a semantic notion of monadic parametricity for second-order functionals which is a form of purity. We show that every monadically parametric f admits a question-answer strategy tree representation. We discuss possible applications of this notion, e.g., to the verification of generic fixpoint algorithms. The results are presented in two settings: a total set-theoretic setting and a partial domain-theoretic one. All proofs are formalized by means of the proof assistant COQ.
引用
收藏
页码:225 / 240
页数:16
相关论文
共 50 条