Skip to main content

Rank 1 Constraint System

Definition

A Rank 1 Constraint System is a mathematical formulation used in zero-knowledge proof systems to represent a computation as a set of quadratic equations. It translates arbitrary programs into a standardized algebraic structure, making them suitable for cryptographic proving. Each constraint in R1CS takes the form of an equation involving three vectors, representing inputs, outputs, and intermediate values. This system is fundamental for constructing proofs that verify computation integrity efficiently.