Skip to content

Instantly share code, notes, and snippets.

@agacek
Created February 13, 2013 02:12
Show Gist options
  • Save agacek/4876961 to your computer and use it in GitHub Desktop.
Save agacek/4876961 to your computer and use it in GitHub Desktop.
node integ(x : int) returns (sum : int);
let
sum = x + (0 -> pre sum);
tel;
node main(x : int; y : int) returns (z : int);
var
history : bool;
prop : bool;
let
z = integ(x);
history = x > 0 and (true -> pre history);
prop = history => z > 0;
--%PROPERTY prop;
tel;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment