Skip to content

feat(SMT): avoid redundant reset, globally unique quantified var names, more smtReservedKeywords#632

Open
aqjune-aws wants to merge 4 commits intomainfrom
jlee/smtformat
Open

feat(SMT): avoid redundant reset, globally unique quantified var names, more smtReservedKeywords#632
aqjune-aws wants to merge 4 commits intomainfrom
jlee/smtformat

Conversation

@aqjune-aws
Copy link
Contributor

@aqjune-aws aqjune-aws commented Mar 20, 2026

This pull request adds a few more syntactic constraints to SMT generated code for supporting internal benchmarks.

  • Removes redundant (reset) calls (to make it consistent, this was applied not only to Core pipeline but also B3 pipeline)
  • To avoid $__bvN quantified variables having duplicated names across different formula (which is a valid SMT in general but more tailored for internal use case) this adds bvCounter to SMT.Context.
  • Adds more predefined theory symbols to smtReservedKeywords.
  • To avoid an unfortunate case where "tN" and "fN" may overlap with user-defined Sort, add $__ to their prefixes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aqjune-aws aqjune-aws requested a review from a team March 20, 2026 22:08
@aqjune-aws aqjune-aws marked this pull request as draft March 20, 2026 22:15
@aqjune-aws aqjune-aws added the SMT label Mar 20, 2026
@aqjune-aws aqjune-aws marked this pull request as ready for review March 20, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant