Predicate logic of sorting algorithm

67 Views Asked by At

I'm confusing with this question. How can we tranlate a sorting algorithm for a list of N numbers to predicate logic, especially for insertion sort? Thank you very much!