Gradient-based search for properties - #1167
Conversation
c066ab6 to
8bdd6cd
Compare
d61550a to
92b7347
Compare
267201a to
a80ac6d
Compare
…icitly to liftQuantifierProperty
e52b0fb to
52224bb
Compare
for more information, see https://pre-commit.ci
…le-lang/vehicle into counter-example-generation
|
As discussed last meeting, I removed the
This error can be reproduced by running |
|
Okay I have merged the latest changes 🎉 . Nothing major - we now have to call I have also fixed the @kksnowy it looks like you don't have your pre-commit hooks properly configured (for code formatting etc.). Can you follow the instructions for installing the pre-commit hooks in the |
|
@MatthewDaggitt Sorry for the delay, I have done that now, and the formatting issues should now be fixed. Also, I think there's now an issue with compiling to loss functions for search using the VehicleLoss differentiable logic. I have mentioned this in this issue #1211 which has all of the remaining to-do's for my project. |

This PR is a preliminary implementation of a gradient-based search for witnesses/adversarial examples for properties. It contains the following changes (still WIP):
forall x. P(x)tonot exists x. not P(x).Python unit tests have been added to test the search for properties involving a single input and multiple inputs. They can be run using
uv run --extra test --extra pygments python -m pytest -s tests/test_search.py