Skip to content

UNSAT CORE Incorrect Matching #30

@JHTaljaard

Description

@JHTaljaard

The string contains in Grulia service findSharedCore causes mismatching,
eg. expression v0 < 2 matches with (v0 < 23).

Line 501 with bug: if (!exprStr.contains(clause.toString())) {

A quick suggestion for correctness would be to encapsulate the expression with brackets, i.e.
if (!exprStr.contains("(" + clause.toString() + ")")) , therefore (v0 < 2) would not match with (v0 < 23), although this is not optimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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