Title :
Combinatorial Techniques for Proof-Based Synthesis of Sorting Algorithms
Author :
Dr?mnesc;Tudor Jebelean;Sorin Stratulat
Author_Institution :
Dept. of Comput. Sci., West Univ., Timisoara, Romania
Abstract :
In the frame of our previous experiments for proof based synthesis of sorting algorithms for lists and for binary trees, we employed certain special techniques which are able to generate multiple variants of sorting and merging, by investigating all combinations of auxiliary functions available for composing objects (lists, respectively trees). The purpose of this paper is to describe this technique and the results obtained. We present the main principles and the application of this technique to merging of sorted binary trees into a sorted one. Remarkably, merging requires a nested recursion, for which an appropriate induction principle is difficult to guess. Our method is able to find it automatically by using a general Noetherian induction and the combinatorial technique.
Keywords :
"Binary trees","Sorting","Electronic mail","Merging","Cognition","Inference algorithms","Computer science"
Conference_Titel :
Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2015 17th International Symposium on
DOI :
10.1109/SYNASC.2015.30