Skip to content

Commit bd10edc

Browse files
committed
Fix some more foralls.
1 parent 5373483 commit bd10edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontends/library/stainless/collection/List.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ object ListSpecs {
13001300
val intersection = first & second
13011301
intersection.forall(first.contains) &&
13021302
intersection.forall(second.contains) &&
1303-
forall((elem: T) => intersection.contains(elem) == (first.contains(elem) && second.contains(elem)))
1303+
intersection.forall(value => first.contains(value) && second.contains(value))
13041304
}
13051305

13061306
@opaque

0 commit comments

Comments
 (0)