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

Faster multi-solution system #652

Merged
merged 4 commits into from
Feb 14, 2025
Merged

Faster multi-solution system #652

merged 4 commits into from
Feb 14, 2025

Conversation

msooseth
Copy link
Collaborator

@msooseth msooseth commented Feb 10, 2025

Description

Using SMT solver's incremental solving capability to vastly speed up obtaining multiple solutions

NOTE: if the number of solutions is zero, i.e. there are no valid solutions, we REVERT. This is not perfect -- what that is telling us is that in fact the whole branch we are in is nonsense. We should stop the EVM execution completely. Not sure how to do that, though, as things expect a return value, etc. So the best I could come up with is a revert.

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

@msooseth msooseth changed the title [DRAFT] Faster multi-solution system Faster multi-solution system Feb 12, 2025
@msooseth msooseth marked this pull request as ready for review February 12, 2025 10:29
Copy link
Collaborator

@blishko blishko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Very nice!

@msooseth msooseth merged commit 54eb53a into main Feb 14, 2025
8 of 9 checks passed
@msooseth msooseth deleted the fast-multi-sol branch February 14, 2025 09:39
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

Successfully merging this pull request may close these issues.

2 participants