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

Crash when last two implicit arguments have dependency #97

Closed
mtzguido opened this issue Sep 25, 2023 · 0 comments
Closed

Crash when last two implicit arguments have dependency #97

mtzguido opened this issue Sep 25, 2023 · 0 comments
Labels
pulse Issues related to the Pulse separation logic DSL

Comments

@mtzguido
Copy link
Member

assume val p : x:int -> v1:int -> v2:int -> vprop

assume val f : x:int -> #v1:int -> #v2:int{v2 > v1} -> 
                stt unit (p x v1 v2) (fun _ -> emp)
fn test (_:unit)
  requires p 1 2 4
  ensures emp
  {
    f 1
  }

Gives:

  - "uncaught exception: Failure("Failed to find v1@1\nEnv is (., dummy)\n")"
@mtzguido mtzguido added the pulse Issues related to the Pulse separation logic DSL label Sep 25, 2023
mtzguido added a commit to mtzguido/steel that referenced this issue Sep 28, 2023
@aseemr aseemr closed this as completed in ce833ce Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pulse Issues related to the Pulse separation logic DSL
Projects
None yet
Development

No branches or pull requests

1 participant