Challenge
Accelerate zero-knowledge proof systems by optimizing R1CS circuit designs to reduce proof generation times.
Protocol R&D and Advisory
CryptoEconLab (CEL) is the Challenge Owner of our ZK-Proof Circuit Optimization Challenge. CEL provides end-to-end protocol advisory over the lifecycle of projects, from design to validation and governance. With proven impact trusted by 20+ projects and responsible for $1B+ in value, CEL transforms project visions into realities with deliverable-based engagements tailored to each project's unique needs. Their expertise spans token economy design, emission algorithms, adverse incentive mitigation, market and auction design, and smart contract development. CEL's guidance will be invaluable as this challenge progresses and evolves.
Zero-knowledge (zk) proofs are increasingly used to bring privacy and verifiability to real-world systems: from blockchain scalability to privacy-preserving identity and secure computation. At the core of every zk system is an arithmetic circuit that must be both generated and satisfied.
A major bottleneck in these systems is witness generation. The process of calculating the intermediate values required to satisfy the circuit. This step is often the most time-consuming and costly part of generating a proof.
This challenge focuses on reducing the witness generation overhead through arithmetic circuit optimization. The goal is to express the circuit with as few constraints as possible, while preserving correctness. Smaller constraint systems translate directly into faster witness generation, reducing memory usage, compute cost, and prover latency.
The goal of TIG's ZK-proof challenge is to optimize the generation of a ZK-proof by focusing on witness generation optimization.
Given a random polynomial function , find an R1CS circuit that computes in as few constraints as possible.
A Rank-1 Constraint System (R1CS), , is a set of equations of the form:
where:
where:
Once the R1CS, , and the vector of intermediate variables, are found, the zk-proof, , is generated by Spartan.
The following two parameters can be adjusted in order to vary the difficulty of the challenge:
Consider an example instance with and .
The given polynomial is . In this example, the polynomial must be decomposed into at most 3 constraints to be a solution.
This polynomial can be expressed by the following three constraints:
v_1 = x_1 · x_1 (Constraint 1)
v_2 = v_1 · x_2 (Constraint 2)
y = v_2 · (v_1 + 1) (Constraint 3)If , (public), then:
, ,
The full witness is:
The verifier sees , and ; the zk-proof ensures there exist private intermediate values satisfying all constraints without revealing them.
Since the proof verified that there exists private intermediate values that satisfy the 3 constraints, this is a valid solution.
Zero-knowledge systems are finding applications across a growing number of domains, but their adoption is often constrained by the high computational cost of witness (or trace) generation. The ability to reduce constraint size and improve witness generation efficiency is therefore not just a technical improvement, but a fundamental enabler for real-world deployment. Smaller, faster circuits lower hardware requirements, reduce latency, and pave the way for real-time verifiable computation. As a result, optimizations in witness generation have a transformative impact across several key areas: