Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 5.84 KB

README.org

File metadata and controls

50 lines (46 loc) · 5.84 KB

Classic sorting algorithms

This directory contains the specification and implementation files for the following algorithms: Selection_Sort, Insertion_Sort and Heap_Sort. As usual, ghost functions used in specifications are located in the spec directory at project root.

The functions and the corresponding files are presented in the following table (click on the link to have more details one the specification/implementation of each function):

functionfilescomments
Selection_Sortselection_sort_p.ads
selection_sort_p.adb
../spec/sorted_p.ads
../spec/lower_bound_p.ads
../spec/multiset_predicates.ads
../mutating/swap_array_p.ads
../mutating/swap_array_p.adb
../maxmin/min_element_p.ads
../maxmin/min_element_p.adb
Insertion_Sortinsertion_sort_p.ads
insertion_sort_p.adb
insertion_sort_rotate_p.adbVersion of Insertion_Sort using Rotate (not proved)
../spec/sorted_p.ads
../spec/multiset_predicates.ads
../spec/upper_bound_p.ads
../spec/lower_bound_p.ads
../binary-search/search_upper_bound_p.ads
../binary-search/search_upper_bound_p.adb
../mutating/swap_array_p.ads
../mutating/swap_array_p.adb
Heap_Sortheap_sort_p.ads
heap_sort_p.adb
../heap/make_heap_p.ads
../heap/make_heap_p.adb
../heap/sort_heap_p.ads
../heap/sort_heap_p.adb
../spec/multiset_predicates.ads
../spec/sorted_p.ads
../lemmas/classic_lemmas.ads
../lemmas/classic_lemmas.adb