Skip to content

Add -a/--all flag to show all SMT verification conditions#243

Draft
CatarinaGamboa wants to merge 2 commits into
mainfrom
worktree-issue-240
Draft

Add -a/--all flag to show all SMT verification conditions#243
CatarinaGamboa wants to merge 2 commits into
mainfrom
worktree-issue-240

Conversation

@CatarinaGamboa
Copy link
Copy Markdown
Collaborator

Description

Closes #240

Now we show all the VCs that were sent to the smt solver even if there are no errors.

Example

Screenshot 2026-06-02 at 3 56 03 PM

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • Added/updated tests under liquidjava-example/src/main/java/testSuite/ (Correct* / Error*)
  • mvn test passes locally
  • Updated docs/README if behavior or API changed

@CatarinaGamboa CatarinaGamboa requested a review from rcosta358 June 2, 2026 15:34
public boolean debugMode;

@Option(names = { "-a", "--all" }, description = "Show every verification condition sent to the SMT solver")
public boolean showAllVCs;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe rename to something like debugAllMode.

* {@code --debug} / {@code -d} or the lighter {@code --all} / {@code -a}, which shows every query without the rest
* of the debug output (e.g. simplification passes).
*/
public static boolean smtEnabled() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe rename to loggingEnabled.

@CatarinaGamboa CatarinaGamboa marked this pull request as draft June 3, 2026 14:19
@CatarinaGamboa
Copy link
Copy Markdown
Collaborator Author

We need more information for the cases we don't even have verification starting when there was supposed to be some, I'll work on this next

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.

Add a flag -a to show all verification conditions sent to the smt solver

2 participants