Skip to content

Commit

Permalink
Fix some more foralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
OStevan committed Aug 20, 2020
1 parent 6acedb1 commit 7a46bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/library/stainless/collection/List.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ object ListSpecs {
val intersection = first & second
intersection.forall(first.contains) &&
intersection.forall(second.contains) &&
forall((elem: T) => intersection.contains(elem) == (first.contains(elem) && second.contains(elem)))
intersection.forall(value => first.contains(value) && second.contains(value))
}

@opaque
Expand Down

0 comments on commit 7a46bba

Please sign in to comment.