Skip to content

Instantly share code, notes, and snippets.

@maurelian
Created November 3, 2017 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maurelian/4e3658b0f59baa65e9dced2537eaf5c1 to your computer and use it in GitHub Desktop.
Save maurelian/4e3658b0f59baa65e9dced2537eaf5c1 to your computer and use it in GitHub Desktop.
pragma experimental SMTChecker;
contract SimpleExample {
function f(int16 circle, int16 square, int16 triangle) public pure {
require(circle + circle == 10);
require(circle*square + square == 12);
require(circle*square - triangle*circle == circle);
assert(false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment