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

WIP Primitives clean up (experimental) #54

Merged
merged 8 commits into from
Oct 30, 2024
Merged

Conversation

mkarup
Copy link
Collaborator

@mkarup mkarup commented Oct 22, 2024

Clean up / refactor (WIP) PR for primitive operations.

The idea will be to move as much of the proof code for primitives as possible into LambdaANF_to_Wasm_primitives.v

Initial attempt will be to state lemmas only in terms of definitions from wasmcert, and then only require a small amount of lemmas to "glue" it together in the main proof file.

The current commits are very, very early stage, and not at all complete, and the approach may change.

Separate the proof code for primitive operations into a separate file:

The main theorem of LambdaANF_to_Wasm_correct.v now has an assumption that primitive operations reduce (primitive_operation_reduces), and the proof for this assumption has been moved to a new file LambdaANF_to_Wasm_primitives_correct.v.

@mkarup mkarup added the work in progress Work in progress label Oct 22, 2024
@mkarup mkarup force-pushed the primitives-clean-up branch from e337572 to 1047ce8 Compare October 30, 2024 11:55
@mkarup mkarup marked this pull request as ready for review October 30, 2024 14:06
@mkarup mkarup merged commit 772f42b into master Oct 30, 2024
1 check passed
@mkarup mkarup deleted the primitives-clean-up branch October 30, 2024 16:39
@womeier womeier removed the work in progress Work in progress label Oct 30, 2024
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

Successfully merging this pull request may close these issues.

2 participants