%------------------------------------------------------------------------ % % sort_array_def: serves as a foundation for sort_array % ----------------------------------------------------- % % Author: Ricky W. Butler % % This theory provides a constructive definition of sort (named asort) to % provide a means to discharge the TCC produced in sort_array. This % theory is not intended to be directly used. % %------------------------------------------------------------------------
sort_array_def[N: nat, T: TYPE, <= : (total_order?[T]) ]: THEORY BEGIN