Skip to content

get-assignment is not working properly #876

@Tomaqa

Description

@Tomaqa

get-assignment sometimes returns unknown, and we even use such cases in regression tests, e.g. in test/regression/base/incremental/assignment_global.smt2.
The test does not output unknown if trackPartitions() evaluates to true (i.e., with produce-proofs).

It uses MainSolver::getTermValue, and it seems that term_mapper->hasLit(tr) is not working properly here - it claims that the xor term is not present in TermMapper, hence returning unknown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions