Skip to content

Wrong result for trivial QCIR formula #7

@cynonymia

Description

@cynonymia

While using Qute for QCIR formulas, I found an inconsistency. Given the following input

#QCIR-14
exists(1)
output(2)
2 = and(1, -1)

the solver will return SAT. With some investigation, it will add the following constraints (lines starting with "q" are terms)
1 -2 0
-1 -2 0
-1 1 2 0
q -1 3 0
q 1 3 0
q 1 -1 -3 0
2 0
q 3 0

I assume that the error arises by some implicit assumption regarding contradictions/tautologies when constructing constraints this way as this formula seems to have internally constructed a contradiction for the clauses and a tautology for terms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions