epfl-lara / stainless

Verification framework and tool for higher-order Scala programs
https://epfl-lara.github.io/stainless/
Apache License 2.0
349 stars 50 forks source link

Fix `while` loops being mistakenly considered as ghost #1467

Closed mario-bucev closed 9 months ago

mario-bucev commented 9 months ago

This PR fixes while loops being treated as ghost when they referred to ghost constructs in their invariant.

vkuncak commented 9 months ago

Well, that speeds up some code!