Skip to content

[Question][Hw4] How the filter works? #182

@ehdkacjswo

Description

@ehdkacjswo

Name: Doam Lee

I've read the README.md of hw4, and couldn't understand how the filter works.
It says "filter pred v1 v2 will return a sound refinement of abstract numerical value v1 with respect to predicate pred and abstract numerical value v2".
And for example, it argues that filter < [1, 10] [3, 5] will soundly refine the left interval to [1, 4], but filter <= [1, 10] [1, 10] will return [1, 10] because no refinement is possible.
But since it has to be sound, the refined intervals shouldn't be [1, 2] and [1]?
I'm not sure how it works.

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