Docker

What is Docker?

Docker is an open-source platform designed to automate the deployment, scaling, and management of applications. It uses container technology to package applications and their dependencies into lightweight, portable containers. These containers ensure that your application runs consistently regardless of where it’s deployed.

Why use docker?

Docker offers …

Rust notes

crate and trait

Crate
  1. Definition

Rust Coding notes

BTreeMap

std::collections::BTreeMap

BTreeMap is a type from Rust’s …

Brainfuck VM instance

This blog is the learning note for Brainfuck VM

GKR Part 2 -example

Using the following example to go through GKR protocol

this blogs follows the example in Spartan 预备知识:GKR with ZK Argument

zero knowledge version of GKR, Hyrax approach.

Sum-check design philosophy, why it works?

Using an example of 3 variants multilinear polynomial to explain the design idea of sum-check protocol.

A 3 variants multilinear polynomial can be generally represented as

$$g(X,Y,Z)=a_0+a_xX+a_yY+a_zZ+a_{xy}XY+a_{xz}XZ+a_{yz}YZ+a_{xyz}XYZ$$

Understanding Sum-check in reverse order

In the final round of sumcheck protocol, assuming the verifier gets a one degree polynomial

$$h(z)=g(r_1,r_2,\ldots,z )=\alpha_n z …

Sum-check Protocol

Multi-linear extension

Following the definition from Justin Thaler

Let \(\mathbb{F}\) be any finite field, and let \( f : \{0,1\}^v \rightarrow \mathbb{F} \) be any function mapping the \( v \)-dimensional Boolean hypercube to \(\mathbb{F}\). A \( v \)-variate polynomial \( g \) over \(\mathbb{F}\) is said to be an …