Skip to content

[Question][Hw5] Abstract Semantics of Assign #42

@ShinWonho

Description

@ShinWonho

Hello, while implementing the HW5, I think there is a wrong description about abstract semantics of Assign

image

Here is the abstract semantics of Assign.
The integer abstraction of the result of eval is wrapped to the value abstraction and, it is updated to the memory.
However, the result of eval is not an integer abstraction any more.

image

As we can see, the result of eval is already a value abstraction.
Therefore, I think the abstract semantics should be just updating the value of x to the result of eval.

If there is any thing wrong, let me know.

Thank you!

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