Skip to main content

R1CS Relations

Definition

R1CS (Rank-1 Constraint System) Relations are a mathematical framework used to express computational statements as a set of quadratic equations, primarily within zero-knowledge proof systems. This representation allows a prover to demonstrate knowledge of a secret input that satisfies these equations without revealing the input itself. R1CS is a common intermediate language for converting complex programs into a format suitable for cryptographic proofs. It is a key component in the construction of zk-SNARKs.