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

Feature request: configuration option to write generated SMT commands to a file instead of being displayed on stdout #9

Closed
shigoel opened this issue Dec 13, 2023 · 4 comments

Comments

@shigoel
Copy link

shigoel commented Dec 13, 2023

For large SMT files, it would be helpful to not have a cluttered Lean Info window.

This would also allow the generated SMT file to be processed by other tools (including other solvers).

@PratherConid
Copy link
Collaborator

I've added auto.smt.save and auto.smt.savepath.

@shigoel
Copy link
Author

shigoel commented Dec 14, 2023

@PratherConid Thanks for adding these options!

A follow-up request: the generated SMT files do not have the set-logic and check-sat commands. Adding those would be helpful. Thank you!

@PratherConid
Copy link
Collaborator

@shigoel Is the set-logic command supposed to be (set-logic ALL), or you want to specify the logic manually?

@shigoel
Copy link
Author

shigoel commented Dec 20, 2023

Using ALL would be a safe default option, yes. If you like, you could also give an option to the user to specify their desired logic. Thanks!

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