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

Latest Valida release fails multipilication verification #1

Open
Pravdyvy opened this issue Aug 12, 2024 · 1 comment
Open

Latest Valida release fails multipilication verification #1

Pravdyvy opened this issue Aug 12, 2024 · 1 comment

Comments

@Pravdyvy
Copy link

Hello.
I followed a guideline from an example here using latest release from https://github.com/lita-xyz/llvm-valida-releases , and failed to verify proof for multiplication. Addition proof verifies fine(for example, for fibonnaci numbers).
Precisely, code snippet looks as follows:

//mult.c

unsigned mult(unsigned n) {
        return n*n;
}

int main () {
    if (mult(2) == 4)  {
        return 0;
    } else {
        return 1;
    }
}

But while trying to verify proof I receive message Proof verification failed . What can cause that?

My operating system is Ubuntu 22.04. I used valida interpreter from releases archive.

@morganthomas
Copy link
Member

Hi @Pravdyvy ! I was able to reproduce this issue. Thanks for the bug report! We will get this resolved for the Valida MVP.

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

2 participants