Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yices model doesn't collect all uninterpreted sort values #160

Open
Bupaheh opened this issue Jun 3, 2024 · 0 comments
Open

Yices model doesn't collect all uninterpreted sort values #160

Bupaheh opened this issue Jun 3, 2024 · 0 comments

Comments

@Bupaheh
Copy link
Contributor

Bupaheh commented Jun 3, 2024

In the following example sortValues doesn't contain value

with(KContext()) {
    KYicesSolver(this).use { solver ->
        val sort = mkUninterpretedSort("sort")

        val value = mkUninterpretedSortValue(sort, 0)
        val a by sort

        solver.assert(a neq value)
        solver.check()

        val model = solver.model()
        val sortValues = model.uninterpretedSortUniverse(sort)!!

        println(value in sortValues)
    }
}
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

No branches or pull requests

1 participant