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

Add more tips on how to debug Kontrol proofs #43

Open
palinatolmach opened this issue Apr 8, 2024 · 0 comments
Open

Add more tips on how to debug Kontrol proofs #43

palinatolmach opened this issue Apr 8, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@palinatolmach
Copy link
Contributor

We should add some suggestions on how the user can try to debug the failing/crashing proof in Kontrol, which can include tips on how to

  • increase SMT solver timeout (--smt-timeout N, in ms)
  • change SMT solver tactics (--smt-tactic '(check-sat-using qfnra-nlsat)' or --smt-tactic '(check-sat-using smt)'
  • detect overflows and ignore them using assumptions or unchecked {} blocks`, e.g., for
{ true #Equals notBool #lookup ( ?STORAGE:Map , 2 ) <=Int chop ( #lookup ( ?STORAGE:Map , 2 ) +Int 1 ) }
@yale-vinson yale-vinson added the documentation Improvements or additions to documentation label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants