FRI: Folding Polynomials and Catching Cheaters

Introduction

FRI (Fast Reed-Solomon Interactive Oracle Proof) is a polynomial commitment scheme. Let's break that down:

FRI enables a prover to commit to a polynomial and convince a verifier that the polynomial satisfies certain properties, mainly that it has a low degree.

Why Do We Need FRI?

There are several polynomial commitment schemes. What makes FRI special?

Where Is FRI Used?

  1. STARKs

FRI is used in STARKs (Scalable Transparent Arguments of Knowledge) to commit to the execution trace of a computation.

  1. Data Availability & Danksharding

FRI is also used in data availability sampling. Instead of sending an entire data blob to a client, a validator commits to the data using FRI, and clients can verify data integrity without downloading everything.

Process: