Skip to content
项目

关于

零知识证明的数学公式与电路设计。

科学与工程

这些数字如何统计

可以做什么

  • 📖 Mathematical Formulations – Rigorous explanations of key principles underlying ZK circuit design.
  • 🛠 Circuit Constraints – Well-documented approaches to encoding computations in finite fields.
  • ⚡ Implementation Guidelines – Blueprints for translating mathematical constructs into efficient circuit implementations.
  • 🔒 Use Cases – Applications in cryptographic protocols, zk-SNARKs, and privacy-preserving machine learning.

实测星标增长

24小时
0
7天
0
15天
-1
1个月
-2

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

zkml-blueprints

A growing collection of custom circuit designs—with every constraint proven and every idea explained.
Built for clarity, rigor, and community collaboration—the reference we all wish we’d had!


zkml-blueprints is a collection of mathematical formulations and circuit designs supporting zero-knowledge (ZK) proofs for machine learning (ML) applications, focusing on efficiently implementing provable computations in ZK circuits. This repository provides formal descriptions, constraints, and structured blueprints for designing circuits that preserve privacy while ensuring verifiable correctness.

If you're new here, notes on constraint system design is a good starting point. In fact the represent the beginning of an extensive revision of this repo. In the meantime, other docs may still be useful.

Features

  • 📖 Mathematical Formulations – Rigorous explanations of key principles underlying ZK circuit design.
  • 🛠 Circuit Constraints – Well-documented approaches to encoding computations in finite fields.
  • ⚡ Implementation Guidelines – Blueprints for translating mathematical constructs into efficient circuit implementations.
  • 🔒 Use Cases – Applications in cryptographic protocols, zk-SNARKs, and privacy-preserving machine learning.

This repository aims to serve as a structured reference for researchers, developers, and practitioners working on ZK and zkML proof systems, offering both theoretical insights and practical implementations.

💡 Contributions and discussions are welcome!


📁 Repository Structure

Each subdirectory focuses on a specific class of operations:

Directory Contents
core_ops/ Range checks, max/min, and basic ReLU formulations
matmul/ Hadamard product, matrix addition, and matrix multiplication (standard and quantized)
pooling/ Max and min pooling circuits (⏳ coming soon)
conv_layers/ Convolutional layer blueprints (⏳ coming soon)
activation/ Activation functions like ReLU, LeakyReLU, etc. (only ReLU at this stage; others may follow in future work)
utils/ Internal links and shared references for documentation navigation

Each section contains:

  • 📄 PDF blueprints describing the circuit logic, constraints, and mathematical justification
  • 📓 (Planned) Jupyter notebooks for live examples and testing
  • 📘 A local README.md with context and links

探索相关项目

加载中…