alt-ergo icon indicating copy to clipboard operation
alt-ergo copied to clipboard

Smart constructors for the FP theory

Open Halbaroth opened this issue 2 years ago • 2 comments

The current Expr module does not expose smart constructors for FP theory as the Z3.FloatingPoint does. I noticed this lack while writing the interface for AE in the project https://github.com/wasp-platform/encoding. We should implement at least the constructors defined by the FP theory https://smtlib.cs.uiowa.edu/theories-FloatingPoint.shtml.

Halbaroth avatar Jul 24 '23 10:07 Halbaroth

We don't have support for the smtlib FloatingPoint theory as far as I'm aware (we only have support for floating-point rounding with underflow, but nothing related to NaNs, infinites, or overflow), so I expect more work than just providing smart constructors.

bclement-ocp avatar Jul 24 '23 10:07 bclement-ocp

I know :/. We should work on it at some point.

Halbaroth avatar Jul 24 '23 11:07 Halbaroth