Closed qsantos closed 3 years ago
Exact! Thank you.
However, I do not need any assertions to prove the example with your definition or permutation
. Which version version do you use for Alt-Ergo?
Alt-Ergo 2.3.3 and CVC4 1.6.
Ok, I keep this issue open until I test this example with a more recent Ocaml + Alt-Ergo.
With Alt-Ergo 2.4.0 that I will use in next version, it is OK.
In the correction of 6.1.4.4, we are given the definition of
permutation
:Note that
rotate_left
androtate_right
do not make any assumption on the rest of the array, outside the rotation. Thus, the following code is valid:I think the appropriate definition of
permutation
should be:It does make life harder for the provers, and I had to insert the following asserts: