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

Halmos fails to start a different solver than Z3 #403

Closed
aviggiano opened this issue Nov 7, 2024 · 1 comment
Closed

Halmos fails to start a different solver than Z3 #403

aviggiano opened this issue Nov 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aviggiano
Copy link
Contributor

Describe the bug

Trying to work around #402 by using yices, I still see the same error. This Z3 parser issue is unexpected, since I am explicitly using another solver.

To Reproduce

git clone https://github.com/aviggiano/halmos-modexp
cd halmos-modexp
halmos --solver-command yices-smt2

Environment:

  • OS: macOS
  • Python version: Python 3.12.6
  • Halmos and other dependency versions: halmos 0.2.1.dev16+g1502e46

Additional context

N/A

@aviggiano aviggiano added the bug Something isn't working label Nov 7, 2024
@karmacoma-eth
Copy link
Collaborator

your workaround was worth a try, but the error happens internally before it reaches the external solver. For context, even when relying on an external solver for the actual assertion solving, we still internally rely on the Z3 API to handle symbols and build expressions -- this is where this fails. Will fix the underlying #402 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants