Deriving Pretty-Big-Step Semantics from Small-Step Semantics
Deriving Pretty-Big-Step Semantics from Small-Step Semantics
复制标题
从小步语义导出相当大步语义
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Peter D. Mosses
中科院分区:
文献类型:
--
作者:
Casper Bach Poulsen;Peter D. Mosses
Big-step semantics for languages with abrupt termination and/or divergence suffer from a serious duplication problem, addressed by the novel 'pretty-big-step' style presented by Chargueraud at ESOP'13. Such rules are less concise than corresponding small-step rules, but they have the same advantages as big-step rules for program correctness proofs. Here, we show how to automatically derive pretty-big-step rules directly from small-step rules by 'refocusing'. This gives the best of both worlds: we only need to write the relatively concise small-step specifications, but our reasoning can be big-step as well as small-step. The use of strictness annotations to derive small-step congruence rules gives further conciseness.