Understanding Interactive Proof Systems and Sum Check Protocol: Part 1

Search for a command to run...

No comments yet. Be the first to comment.
Switching to Neovim is a rite of passage for many developers. It's not just about using a terminal editor; it's about crafting a Personalized Development Environment (PDE) that moves at the speed of thought. In this post, I'll walk you through my cur...

A P2P (peer-to-peer) network is like a group of friends where everyone shares and helps each other directly — there’s no boss or central person in charge. Instead of going to a central server (like a library or a big store), you go directly to anothe...
So far we covered: Group Law Fields and how field operations works Divisors Now in this part we will explore: Pairing Groups Expand on r-torsian groups Pairing types Twisted Curves Weil and Tate Pairings Pairing groups Let’s define biline...

In the previous part we explored Fields, Torsion Points, and Endomorphism. Now we are gonna take our understanding of the topic further and dig into more constructions revolving around the Elliptic Curves, namely: Divisors Overview of Principal div...

In this blog series we will be digging deep into the working of bilinear pairings in Elliptic curves over finite fields. The following series presumes you have a decent understanding Elliptic Curves: Group law - the chord and tangent rule. Fields a...

In [computational complexity theory](https://en.wikipedia.org/wiki/Computational_complexity_theory "Computational complexity theory"), an interactive proof system is an [abstract machine](https://en.wikipedia.org/wiki/Abstractmachine "Abstract machine") that models [computation](https://en.wikipedia.org/wiki/Computation "Computation") as exchanging messages between two parties: a prover and a verifier. The parties interact by exchanging messages to ascertain whether a given [string](https://en.wikipedia.org/wiki/String%28computer_science%29 "String (computer science)") belongs to a [language](https://en.wikipedia.org/wiki/Formal_language "Formal language"). The prover possesses unlimited computational resources but cannot be trusted, while the verifier has bounded computation power but is assumed to be always honest. Messages are sent between the verifier and prover until the verifier has an answer to the problem and has “convinced” itself that it is correct.
This article will teach you how such a system works at a mathematical level and lay the foundation for a new area of research namely “Zero-Knowledge Proofs”.
In cryptography, a commitment scheme is a fundamental concept that allows one party to commit to a chosen value (or chosen statement) while keeping it hidden from others, with the ability to reveal the committed value later. Commitment schemes are designed to be binding and hiding:
2. Function commitments :

Generalized Polynomial Expression

Generalized Multilinear Expression

Example Expression for Vector
3. SZDL Lemma:
Schwartz-Zippel-Demillo-Lipton lemma is a multivariate generalization of fact:


The Sum-Check Protocol is a fundamental technique in theoretical computer science, particularly in the field of interactive proof systems and complexity theory. It’s often used to prove properties about polynomials and is a key component in constructing various interactive proofs, including those for NP-complete problems.
Input: V given Oracle access to an l-variate polynomial g over field F.
Goal: The goal is to verify a claim about the sum of values of a multivariate polynomial i.e. compute the expression:

Generalized Expression to compute in Sum-Check protocol
Computing the above expression is expensive, and hence the verifier uses interactive proof to verify the result of the expression that the prover returns ( after computing the given expression ).
Protocol Steps:




I won’t be diving into the calculations for the above properties here. Feel free to use the reference links if interested.
In Part 2, I will cover a simple implementation of the Protocol from scratch.
Connect with me on Twitter and LinkedIn, for any help, or to talk about cryptography, privacy, and blockchain in general.
References:
- ChatGPT 4
- Interactive Proofs by Justin Thaler Link