Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbolic_bounded_model_checker_sierra passed in an example expected to fail #137

Open
acmLL opened this issue Jun 21, 2023 · 0 comments
Open

Comments

@acmLL
Copy link

acmLL commented Jun 21, 2023

Machine: Apple M1 Pro
OS: macOS Ventura 13.4
Cairo: cairo-compile 2.0.0-rc2

Hi,

I have installed thoth current version with interest in testing the symbolic model checker. By following the tutorial, in the 2nd example:

fn thoth_test_product(mut a: felt252) {
let c = a * 2;
assert(c == 11, '');
}

I have saved the file as test2.cairo, compiled and ran:

thoth-checker -f ./test2.sierra
[+] Thoth Symbolic bounded model checker

[PASS] test2::test2::thoth_test_product (test 1/1, time: 0.07s, paths: 4)

But it would be expected to get [FAIL]...

I am attaching the compiled file so you can see what can be happened.

Thanks!
test2.sierra.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant