除了V神的博客值得推荐外,zcash官方的blog也做了形象的解释。也可参看本人另一篇博文<Vitalik Buterin Quardratic Arithmetic Programs: from Zero to Hero 实现>,有更直观的了解。

在zcash官方blog Explaining SNARKs Part V: From Computations to Polynomials,中:

Suppose Alice wants to prove to Bob she knows c1,c2,c3∈Fp such that (c1⋅c2)⋅(c1+c3)=7. The first step is to present the expression computed from c1,c2,c3as an arithmetic circuit.

对应的Arithmetic circuits 为:

A legal assignment for the circuit, is an assignment of values to the labeled wires where the output value of each multiplication gate is indeed the product of the corresponding inputs. So for our circuit, a legal assignment is of the form: (c1,…,c5 where c4=c1⋅c2 and c5=c4⋅(c1+c3). In this terminology, what Alice wants to prove is that she knows a legal assignment (c1,…,c5)such that c5=7. The next step is to translate this statement into one about polynomials using QAPs.

计算中,只需考虑乘法门,以上图为例:w1/w2/w4分别g1的左侧输入/右侧输入和输出;w1和w3为g2的右侧输入,w4为g2的左侧输入,w5为g2的输出。

假设对应g1门关联1,g2门关联2,则{1,2}为目标点。
We associate each multiplication gate with a field element: g1 will be associated with 1∈Fp and g2 with 2∈Fp. We call the points {1,2} our target points. Now we need to define a set of “left wire polynomials” L1,…,L5, “right wire polynomials” R1,…,R5 and “output wire polynomials” O1,…,O5.

The idea for the definition is that the polynomials will usually be zero on the target points, except the ones involved in the target point’s corresponding multiplication gate.

zcash官方介绍 zk-SNARK circuit-QAP转化相关推荐

  1. ElementUI官方介绍 开发API文档链接

    ElementUI官方介绍 开发API文档 http://element-cn.eleme.io/#/zh-CN/component/quickstart

  2. ESP8266乐鑫版本的(支持云端升级 (Boot 模式)烧写方法,(V1.5.4官方介绍如下)(BOOT模式)...

    硬件平台: nodeMCU devkit核心板,带ch340g,应该是仿造的,官方是cp2102驱动,安信可科技有连接https://wiki.ai-thinker.com/esp8266/board ...

  3. 腾讯arttemplate模板官方介绍

    链接地址为:腾讯arttemplate模板官方介绍 输出 标准语法 {{value}} {{data.key}} {{data['key']}} {{a ? b : c}} {{a || b}} {{ ...

  4. Spring Session官方介绍及spring框架学习方法

    现在我们开始讲Spring Session,首先进入maven中央仓库,在百度查一下,如何替换成阿里云的仓库就OK了,我们搜索什么呢,spring-session-data-redis,这里面找到这个 ...

  5. GitHub官方介绍(中文翻译)

    注:本人亲自翻译,转载请注明出处. 官方链接地址 http://guides.github.com/activities/hello-world/ Hello World 项目在计算机编程界是一项历史 ...

  6. linux cer证书转为jks,常见SSL证书格式介绍以及SSL证书格式转化方法

    我们大部分站长使用的SSL证书一般都是.CRT..KEY 这样子的文件,没错这个都是我们常用的Linux服务器Nginx环境的证书文件.不管我们是购买的付费SSL证书,还是使用的免费SSL证书看到的证 ...

  7. Redisson框架官方介绍

    我们现在看到的就是redission官方网站https://redisson.org首页可以看出来,redisson可以实现很多东西,在redisson的基础上,redisson做了超多的封装,我们看 ...

  8. Grbl开源固件的官方介绍使用说明【翻译】

    Grbl是一种高性能.低成本的数控并口运动控制方案.Grbl运行在328p处理器(Uno.Duemilanove.Nano.Micro等)的Arduino上.控制器是用高度优化的C语言编写的,利用av ...

  9. Gensim官方介绍翻译

    为了方便自己学习,翻译一下.原文地址:http://radimrehurek.com/gensim/intro.html. Gensim是一个免费的Python库,它可以用来从文档中自动提取语义主题, ...

最新文章

  1. Manifest merger failed with multiple errors, see logs
  2. Android 轮询最佳实践 Service + AlarmManager+Thread
  3. DOM渲染的详细过程 1
  4. java正则测试_Java的正则表达式
  5. 4个mos管驱动的全桥电路原理_电源转压电路设计基础
  6. ReportViewer 2010 打印预览,用鼠标快速切换显示比例时报错:存储空间不足,不能处理此命令...
  7. 彻底解决.net中编码问题的心得
  8. 【HDU - 5015 】233 Matrix (矩阵快速幂)
  9. 开发一个iOS应用没有那么容易
  10. 开发微信小程序 中遇到的坑 及解决方法
  11. 如何在Mac上直接删除文件而不将其发送到垃圾箱?
  12. .NET软件授权管理解决方案Eziriz .NET IntelliLock
  13. 485通信原理_关于串口通信(232、485、422)和常见问题,一篇文章就给你说清楚~...
  14. 微pe不识别nvme固态硬盘_微pe工具箱2.0下载|微PE2.0支持注入NVMe固态硬盘M2SSD驱动版 下载_当游网...
  15. 给扔物线 HenCoder Plus 学员的一次分享文字版
  16. Quick Batch File Compiler(BAT转EXE工具)bat文件转换成exe文件(启动jar包和自动打开浏览器)
  17. 致远OA任意管理员登陆漏洞分析
  18. 百度关键词模拟点击破解版 SEO排名优化神器
  19. mosefet驱动电路设计详解
  20. Delphi键盘键值

热门文章

  1. 快传号可以搬运吗,快传号搬运哪些领域容易爆文
  2. 基于web的老年保健品销售系统/保健品销售系统
  3. 第六章 颠覆与重塑思维,大数据与思维革命
  4. 与卿共赴鸿蒙是什么意思,《山河令》看来周子舒是真的很爱温客行,君心似我心,此生无憾...
  5. 拼购造富,苏宁引领“电商扶贫”
  6. 水果店圈子:水果店开业宣传文字怎么发,水果店准备开业怎么发朋友圈
  7. 2021年中国皮革行业市场现状分析,PU合成革趋势明显,汽车皮革是关键需求「图」
  8. LDU 2022年2021级测试赛-1
  9. 字号——磅——mm 对应表
  10. 麦克马斯特计算机工程专业,麦克马斯特大学电气与计算机工程申请要求