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

Join state_heaps and state_sockets #24

Open
jihgfee opened this issue Mar 9, 2023 · 0 comments
Open

Join state_heaps and state_sockets #24

jihgfee opened this issue Mar 9, 2023 · 0 comments

Comments

@jihgfee
Copy link
Contributor

jihgfee commented Mar 9, 2023

Currently state_heaps and state_sockets are required to have the same domain, as they both signify the existence of a node on the given ip.

To achieve this constructively, rather than propositionally, it is proposed to join the two maps: state_nodes : gmap ip (heap * sockets).

To recover current semantics it is possible to project the map into the original subcomponents, e.g. for the SocketStep relation.
For this, one can use (state_nodes σ) .*2 (for the socket map).

This change requires lifting the state interpretation to remove the information that currently tie the two together.
The change should not be visible to users, and thus examples do not need to be lifted manually.

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