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: define SMT functions that match Lean names whenever possible for ease of debugging & readability #7

Open
shigoel opened this issue Dec 13, 2023 · 3 comments

Comments

@shigoel
Copy link

shigoel commented Dec 13, 2023

This would also make it easier for the user to interpret counterexamples in terms of identifiers in their conjecture.

@dranov
Copy link
Contributor

dranov commented May 15, 2024

We need this as well for our project and I'd be happy to implement it given some hints as to what might be the best or easiest way to do it, @PratherConid.

To give some context: we expect to have some goals that are sat and want to show some human-readable models to our users. Right now, it's very difficult to match the output from set_option trace.auto.smt.model true to what the user sees at the Lean level.

@PratherConid
Copy link
Collaborator

Thanks, @dranov! I've done some refactoring in ff56bdb. Now I think SMT functions' names basically match Lean names, but there still might be issues. @shigoel @dranov please take a look.

@dranov
Copy link
Contributor

dranov commented May 20, 2024

Thank you, @PratherConid!

It looks good so far – I'll report back if I run into any issues.

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

3 participants