Quantcast
Channel: Dafny: An Automatic Program Verifier for Functional Correctness
Viewing all articles
Browse latest Browse all 1106

New Post: Quicksort correctness

$
0
0
hello,
I'm trying to implement Quicksort partition method,
I took the pseudo code from wikipedia,
I'm trying to prove the partition of the pivot (meaning elements smaller than the pivot will be from the left of the pivot,and larger from the right)
I think the main problem is boolean of the while (index < end),
I can't find a way of how to prove it

http://rise4fun.com/Dafny/RTd9

Thank you

Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>