pith. sign in

arxiv: 0802.3881 · v1 · submitted 2008-02-26 · 💻 cs.DS · cs.LO

Deriving Sorting Algorithms

classification 💻 cs.DS cs.LO
keywords algorithmsalgebraicapproachargumentsderivationsreasoningsortingthree
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.