Skip to content

fix: Check consistency between FRI codeword and polynomial - #6

Merged
aszepieniec merged 1 commit into
masterfrom
asz/patch-tvmv1-soundness
Apr 28, 2026
Merged

fix: Check consistency between FRI codeword and polynomial#6
aszepieniec merged 1 commit into
masterfrom
asz/patch-tvmv1-soundness

Conversation

@aszepieniec

Copy link
Copy Markdown
Contributor

When verifying proofs, verify the consistency between the FRI polynomial and the last FRI codeword. This missing check corresponds to the soundness error identified in Triton VM version 1. By verifying this correspondence we can soundly validate version 1 proofs, provided that no recursion is involved.

For the redemption claims, no recursion is involved. So with this patch we can still soundly verify all redemption claims.

When verifying proofs, verify the consistency between the FRI polynomial and the
last FRI codeword. This missing check corresponds to the soundness error
identified in Triton VM version 1. By verifying this correspondence we can
soundly validate version 1 proofs, provided that no recursion is involved.

For the redemption claims, no recursion is involved. So with this patch we can
still soundly verify all redemption claims.
@aszepieniec
aszepieniec requested a review from Sword-Smith April 27, 2026 14:55

@Sword-Smith Sword-Smith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool. Looks correct to me.

@aszepieniec
aszepieniec merged commit ada1fb8 into master Apr 28, 2026
5 of 12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants