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
I get a Assertion failed error (also not a very intuitive error, e.g. seq int is not a subtype of seq nat would be better). The error is due to seq![0] typing as FStar.Seq.seq int in the Pulse postcondition (this also happens in the body of a pulse function).
This happens even when using seq![x; x; 0] with x: nat or when writing out the seq! as conss. The surprising thing to me is that it works in the F* code but not pulse.
The text was updated successfully, but these errors were encountered:
The following snippet highlights the issue:
I get a
Assertion failed
error (also not a very intuitive error, e.g.seq int is not a subtype of seq nat
would be better). The error is due toseq![0]
typing asFStar.Seq.seq int
in the Pulse postcondition (this also happens in the body of a pulse function).This happens even when using
seq![x; x; 0]
withx: nat
or when writing out theseq!
ascons
s. The surprising thing to me is that it works in the F* code but not pulse.The text was updated successfully, but these errors were encountered: