Monad-independent Dynamic Logic in HasCasl
Monad-independent Dynamic Logic in HasCasl
复制标题
HasCasl 中独立于 Monad 的动态逻辑
DOI:
10.1093/logcom/14.4.571
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
Till Mossakowski
中科院分区:
文献类型:
--
作者:
Lutz Schröder;Till Mossakowski
Monads have been recognized by Moggi as an elegant device for dealing with stateful computation in functional programming languages. In previous work, we have introduced a Hoare calculus for partial correctness of monadic programs. All this has been done in an entirely monad-independent way. Here, we extend this to a monad-independent dynamic logic (assuming a moderate amount of additional infrastructure for the monad). Dynamic logic is more expressive than the Hoare calculus; in particular, it allows reasoning about termination and total correctness. As the background formalism for these concepts, we use the logic of HASCASL, a higher-order language for functional specification and programming.