Skip to content

Programs with loops can return verified regardless of correctness #5

@judekanjamala

Description

@judekanjamala

Programs that have loops return verified when they shouldn't be. See simple-io.vcy and simple-vector.vcy. Running the following:

src/vcy.exe verify veracity2g/benchmarks/global_commutativity/simple-io.vcy

returns:

Condition at veracity2g/benchmarks/global_commutativity/simple-io.vcy:[2.5-2.124] verified as correct: fname_2 != fname_3 && fname_1 != fname_4 && fname_2 != fname_4
Complete status: true` output

Suggested Fix: Use unknown instead of true when loops are replaced with no ops.

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