We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5373483 commit bd10edcCopy full SHA for bd10edc
frontends/library/stainless/collection/List.scala
@@ -1300,7 +1300,7 @@ object ListSpecs {
1300
val intersection = first & second
1301
intersection.forall(first.contains) &&
1302
intersection.forall(second.contains) &&
1303
- forall((elem: T) => intersection.contains(elem) == (first.contains(elem) && second.contains(elem)))
+ intersection.forall(value => first.contains(value) && second.contains(value))
1304
}
1305
1306
@opaque
0 commit comments