You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an invariant for the Bytecode.t type in order to make the verify_instr_is_valid works.
It should look like:
Module Bytecode.
Module Valid.
Definition t (x : Bytecode.t) : Prop :=
match x with
| Bytecode.CastU16 => True
... (* most cases with `True` *)
| Bytecode.VecPack _ z => Integer.Valid.t IntegerKind.U64 z
(* sometimes with something else like above *)
...
end.
The text was updated successfully, but these errors were encountered:
Add an invariant for the
Bytecode.t
type in order to make theverify_instr_is_valid
works.It should look like:
The text was updated successfully, but these errors were encountered: