Skip to content

Rocq backend#207

Draft
DCupello1 wants to merge 54 commits intomainfrom
rocq-backend
Draft

Rocq backend#207
DCupello1 wants to merge 54 commits intomainfrom
rocq-backend

Conversation

@DCupello1
Copy link
Copy Markdown

@DCupello1 DCupello1 commented Nov 19, 2025

Similar to #192, this is a pull request to keep track of the Rocq backend. It is based off of #206 so it has all the necessary passes at the moment.

Not meant to be merged.

TODO:

  • Make it validate to Wasm 3.0. For that, I need to fix naming issues (and redundant clauses caused by Sub-expansion pass #195 ).
    Only works after some changes to the spec (only really problems with partial functions).
    Also only works for deftorel without fallthrough semantics,
    Getting issues with not having strictly positive inductive types when it comes to recursive functions.
  • Fix issues with naming. Might investigate an approach using modules in order to avoid having to add prefixes to spec only for rocq
  • Improve notations on various expressions
  • Make CI for Rocq
  • Port proofs of Wasm 1.0 and 2.0
  • Improve function definitions even more
  • (More more more to do)

@DCupello1 DCupello1 mentioned this pull request Nov 21, 2025
…that removes ones that have reference to the return expression.
@DCupello1 DCupello1 mentioned this pull request Feb 10, 2026
@DCupello1
Copy link
Copy Markdown
Author

Note: deactivated deftorel solution to otherwise for function because it was giving issues with relations not being non-strictly positive, specifically minus-recs. Not a big priority for now but should be discussed later.

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.

1 participant