Repository navigation
Conversation
rossberg
reviewed
Nov 27, 2026
| def $unpack(lanetype) : numtype | ||
|
|
||
| def $size(valtype) : nat hint(show |%|) hint(partial) | ||
| def $vsize(vectype) : nat hint(show |%|) |
Member
There was a problem hiding this comment.
Suggested change
| def $vsize(vectype) : nat hint(show |%|) | |
| def $vsize(vectype) : nat hint(show |%|) |
| -- if C.TYPES[x] = t_1* -> t_2* | ||
| -- (if t =/= BOT)* | ||
| -- Expr_ok: C ++ {LOCALS t_1* t*, LABELS (t_2*), RETURN (t_2*)} |- expr : t_2* | ||
| -- Expr_ok: {LOCALS t_1* t*, LABELS (t_2*), RETURN (t_2*)} ++ C |- expr : t_2* |
Member
There was a problem hiding this comment.
Is this one necessary? The order is a bit less natural this way.
Contributor
Author
There was a problem hiding this comment.
Its not, but I was hesitant to change it since the proofs atm use the other ordering. I decided now to just have it the more natural way and then change the proofs later.
| -- Frame_ok: s |- f : C' | ||
| -- if C'.RETURN = t^n | ||
| -- Expr_ok2: s; C' |- instr* : t^n | ||
| -- Expr_ok2: s; {RETURN t^n} ++ C' |- instr* : t^n |
Contributor
Author
There was a problem hiding this comment.
This is a typo, it should have been the other way around.
Member
|
@DCupello1, you need to join the CG to contribute code. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are all of the changes that were found on the soundness proof and have not been pushed yet to upstream.
The changes were also ported to 1.0 for the case of #2302.
@rossberg PTAL. This should be pretty similar to Wasm-DSL#241, but had to do resolve some conflicts so might have forgotten/wrote something wrong.
Should now have the correct commits.