Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/prune removes relevant information #819

Open
glor opened this issue Nov 29, 2023 · 0 comments
Open

/prune removes relevant information #819

glor opened this issue Nov 29, 2023 · 0 comments

Comments

@glor
Copy link

glor commented Nov 29, 2023

While modeling a type system this code:

type Any;
const unique undefined : Any;
function isUndefined(value: Any): bool;
axiom isUndefined(undefined);

procedure test() returns () {
    assert isUndefined(undefined);
}

gets /pruned into:

type Any;
const unique undefined: Any;
function isUndefined(value: Any) : bool;
procedure test();
implementation test()
{
    assert isUndefined(undefined);
}

This removes the relevant information that isUndefined() should hold for the value undefined.

files.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant