Created
July 7, 2018 17:08
-
-
Save maurelian/02904ae729fb11213cde20ba05a202e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma experimental SMTChecker; | |
// pragma solidity ^0.4.20; | |
contract Primes { | |
function prime(uint a, uint b) public pure { | |
require(1 < a && a < 500); | |
require(1 < b && b < 25000); | |
assert(a * b != 23447); | |
} | |
function factor(uint a, uint b) public pure { | |
require(1 < a && a < 500); | |
require(1 < b && b < 25000); | |
assert(a * b != 23449); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment