Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs whilst proving #18

Open
zeskeertwee opened this issue May 6, 2024 · 3 comments
Open

Hangs whilst proving #18

zeskeertwee opened this issue May 6, 2024 · 3 comments

Comments

@zeskeertwee
Copy link

Hi!
It would probably be a nice (and quite simple to implement) to run the proof on a seperate thread (maybe even in parallel for the different proofs!) so that the UI does not hang.
I would love to implement this if you agree it would be useful!

@alegnani
Copy link
Owner

Hi and thank you for your issue!
At the moment I don't have much time so I can't really work on this.
The feature would definitely be useful and I would greatly appreciate a pull request. :)

@zeskeertwee
Copy link
Author

zeskeertwee commented May 15, 2024

I've implemented it on my fork, but i couldn't manage to compile it, as it complains about a missing z3.h, and when i point it to the correct place for it it complains about a missing stdbool.h. I'm fairly sure it should work, but i haven't been able to test it.

alegnani added a commit that referenced this issue Jun 11, 2024
Implement threads for proving, working on #18
@alegnani
Copy link
Owner

Sorry for getting back so late to you and thank you for the contribution.

Not sure why it should not work on your machine; you might be missing something from the c tool-chain. You can try compiling the whole project with the build_z3 feature flag which builds z3 locally. Beware that this takes quite a considerable amount of time.

I tried compiling your code but there appear to be quite a lot errors due to multiple borrows etc. I will look into it in the next couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants