Skip to content

feat: Smtlib semantics#38

Merged
bollu merged 6 commits intomainfrom
smtlib-semantics
Jan 30, 2026
Merged

feat: Smtlib semantics#38
bollu merged 6 commits intomainfrom
smtlib-semantics

Conversation

@bollu
Copy link
Contributor

@bollu bollu commented Jan 28, 2026

This PR adds the SMT-LIB formalization of floating point.
We break the SMT-LIB definitions into typeclasses and structures that capture orthogonal portions of the spec.
We define the round function as per SMT-LIB, as well as the semantics of the basic floating point operations. Finally, we instantiate this on the extended reals.

A follow-up PR will instantiate these on the rational numbers for exhaustive enumeration based testing.

@bollu bollu marked this pull request as ready for review January 28, 2026 14:49
Copy link
Collaborator

@abdoo8080 abdoo8080 left a comment

Choose a reason for hiding this comment

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

LGTM! Left minor comments to eventually resolve!

@bollu bollu merged commit 3cfdb1c into main Jan 30, 2026
2 checks passed
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.

2 participants