Skip to content

Exact rationals in the real theory #464

@tiferrei

Description

@tiferrei

Hi there,

I seem to have hit a bit of a wall using Smtml. I have some SMT problem over the rationals, for which I use the real theory. I understand that Z3 has exact precision support for rationals and algebraic irrationals. However, if I use the Smtml types, all real types are captured as floats.

I think for now I will have to make use of the Z3 library directly, and use the get_ratio methods. Is there perhaps another way to achieve this in Smtml?

Thank you!

Tiago

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions