Skip to content

Post-condition inference fails without rewrites_to #455

@gebner

Description

@gebner
module Bug455
open Pulse
#lang-pulse

fn bar ()
  returns r: bool
{
  true
}

fn foo () {
  while (not (bar ()))
(*       ^^^^^^^^^^^^
- Could not resolve all free variables in the proposition:
    _posth == op_Negation ?__anf122
*)
    invariant (emp)
  { () };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions