FStarLang / pulse

The Pulse separation logic DSL for F*
Apache License 2.0
6 stars 7 forks source link

Prover failure when filling in squash arguments #127

Open mtzguido opened 4 months ago

mtzguido commented 4 months ago

This snippet:

```pulse
ghost
fn f (p:prop)
     (#_ : squash p)
  requires emp
  ensures emp
{
  ();
}
ghost
fn g (p:prop)
  requires pure p
  ensures emp
{
  f p
}
Gives an error in the call to `f`: