Skip to content

Commit

Permalink
removed superfluous lemma calls
Browse files Browse the repository at this point in the history
  • Loading branch information
EkanshdeepGupta committed Oct 29, 2024
1 parent a549521 commit 39154b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/iterated-star/array-max.rav
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ module ArrayMax[M: IArray] {
ensures M.len(a) == 0 ? x == -1 : (0 <= x && x < M.len(a))
ensures is_max(x, m, M.len(a))
{
M.all_diff();
M.len_nonneg();
// No longer needed, since autoLemma dependencies have been added.
// M.all_diff();
// M.len_nonneg();
var z : Int;
if (M.len(a) == 0) {
x := -1;
Expand Down

0 comments on commit 39154b1

Please sign in to comment.