Skip to main content
Version: v6 (Hypercube)

Introduction

The goal of the SP1 Hypercube Protocol is to prove the correctness of a program in the RISC V (RV64IM) instruction set. The protocol is based on an Interactive Oracle Proof (IOP) that relies on the following key sub-protocols, with which we assume basic familiarity.


SP1 Hypercube takes a piecemeal approach. This means that the computation is divided into "shards", consisting of roughly 2222^{22} RISC V instructions each. We then:

  • Prove that each shard executed correctly.
  • Prove memory consistency across the different shards (i.e., if a shard changed memory location ii to value vv, then this will be the value of the memory the next time that it is read).

The shard proofs are then aggregated and compressed via a recursion mechanism into a single succinct proof.