计算机科学 > 数据结构与算法
[提交于 2008年2月26日]
标题:Deriving Sorting Algorithms
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper proposes new derivations of three well-known sorting algorithms, in their functional formulation. The approach we use is based on three main ingredients: first, the algorithms are derived from a simpler algorithm, i.e. the specification is already a solution to the problem (in this sense our derivations are program transformations). Secondly, a mixture of inductive and coinductive arguments are used in a uniform, algebraic style in our reasoning. Finally, the approach uses structural invariants so as to strengthen the equational reasoning with logical arguments that cannot be captured in the algebraic framework.
提交历史
来自:Jorge Sousa Pinto[v1] 2008年2月26日 星期二 19:47:57 UTC