Skip to content

use FPA theory when generating SMT-LIB2 for Z3#1812

Open
kroening wants to merge 1 commit intomainfrom
smt2-fpa
Open

use FPA theory when generating SMT-LIB2 for Z3#1812
kroening wants to merge 1 commit intomainfrom
smt2-fpa

Conversation

@kroening
Copy link
Copy Markdown
Collaborator

This enables the use of the FPA theory when generating SMT-LIB2.

@kroening kroening marked this pull request as ready for review April 20, 2026 02:33
Copy link
Copy Markdown
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

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

  1. Do all solvers that can be invoked support FPA?
  2. This change also makes expressions/cast_to_real3.desc pass.

@kroening
Copy link
Copy Markdown
Collaborator Author

  1. Do all solvers that can be invoked support FPA?

We don't really know. CVC3, CVC4 and YICES support should likely be removed, given that these solvers aren't maintained. BOOLECTOR doesn't support FPA. BITWUZLA and MATHSAT support it according to their webpages, but we haven't got that tested at all.

  1. This change also makes expressions/cast_to_real3.desc pass.

Yes, but we don't have a mechanism for "test works with SMT, but not with flattening solver". I'll first fix this in the flattening solver.

@kroening
Copy link
Copy Markdown
Collaborator Author

Now limited to Z3. Note that this is already the default when using Bitwutzla or CVC 5.

This enables the use of the FPA theory when generating SMT-LIB2 for Z3.

This is already the default when using Bitwutzla or CVC 5.
@kroening kroening changed the title use FPA theory when generating SMT-LIB2 use FPA theory when generating SMT-LIB2 for Z3 Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants