码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • ZKP5.2 PLONK IOP


    ZKP学习笔记

    ZK-Learning MOOC课程笔记

    Lecture 5: The Plonk SNARK (Dan Boneh)

    5.2 Proving properties of committed polynomials

    • overview
      在这里插入图片描述

    • Polynomial equality testing with KZG

      • KZG: determined commitment (if the function is equal, then the commitment is equal too)
        • If the c o m f = c o m g com_f = com_g comf​=comg​, the verifier can tell if f = g f=g f=g on its own???

        • but
          在这里插入图片描述

          • The verifier does not have the commitment of g 1 g 2 g 3 g_1g_2g_3 g1​g2​g3​
    • Important proof gadgets for univariates
      在这里插入图片描述

      • The size k is much smaller than d
    • The vanishing polynomial
      在这里插入图片描述

      • Outside the Ω \Omega Ω, the polynomial could evaluate an arbitrary value
      • Verifiers can evaluate the vanishing polynomial very fast.
    • ZeroTest
      在这里插入图片描述

      • F is zero on Ω \Omega Ω: All the elements of Ω \Omega Ω are the root of the polynomial.
      • Verifier time: O(log k) and two poly queries (but can be done in one batch)
      • Prover time: dominated by the time to compute q(X) and then commit to q(X)
    • Product check
      在这里插入图片描述

      • Polynomial t: auxiliary polynomial
        在这里插入图片描述

    在这里插入图片描述

    - Use the ZeroTest
    - Proof size: two commits, five evals (can be batched). 
    - Verifier time: O(logk) 
    - Prover time:O(klogk)
    
    • 1
    • 2
    • 3
    • 4
    • For rational functions
      在这里插入图片描述

    • Permutation check
      在这里插入图片描述

    在这里插入图片描述

    • f ^ \hat{f} f^​ and g ^ \hat{g} g^​ is identical
    • Embellished permutation check
      • The two vectors are permutations to each other
      • They also satisfy a prediscribed pumutation
        在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    • Summary of proof gadgets
      在这里插入图片描述

    5.3 The PLONK IOP for general circuits

    • PLONK widely used in practice
      在这里插入图片描述

    • PLONK: a poly-IOP for a general circuit
      在这里插入图片描述

      • Encoding the trace as a polynomial
        在这里插入图片描述

    在这里插入图片描述

    在这里插入图片描述

    • Step 2: proving validity of T
      在这里插入图片描述

      • (4): the output of the last gate is what the verifier is expecting
      • Proving (1): T encodes the correct inputs
        在这里插入图片描述

    在这里插入图片描述

    - Proving (2): every gate is evaluated correctly
    
    • 1

    在这里插入图片描述

      - S(X) is a selector
      - Pre-processing: create the commitment of S(X), it is independent to any input.
    
    • 1
    • 2

    在这里插入图片描述

    在这里插入图片描述

    - Proving (3): the wiring is correct
    
    • 1

    在这里插入图片描述

      - The W is independent of the inputs
      - Prescribed pumutation check
    
    • 1
    • 2
    • The complete Plonk Poly-IOP (and SNARK)
      在这里插入图片描述

    在这里插入图片描述

    • Many extensions
      • The SNARK can easily be made into a zk-SNARK

      • Main challenge: reduce prover time
        在这里插入图片描述

      • A generalization: plonkish arithmetization

        • Plonk for circuits with gates other than + and × on rows (custom gates)
          在这里插入图片描述

        • More columns on the table

  • 相关阅读:
    【Linux】:常见指令理解(3)
    windows10 使用WSL2安装原生docker
    MySQL进阶 —— 超详细操作演示!!!(上)
    为什么测试/开发程序员喜欢跳槽?不要太在意一时得失,有舍才有得......
    Writing Tools I Use To Get More Views And Engagement On My Post
    jenkins实践篇(2)—— 自动打tag的可回滚发布模式
    Qt中两个类通过信号槽进行传输数据遇到的问题
    react 修改less文件后保存,内存溢出,项目崩溃问题解决
    Cesium 实战 - 调整色调、对比度等参数,加载渲染暗黑底图
    二分查找详解
  • 原文地址:https://blog.csdn.net/weixin_45347752/article/details/133978892
  • 最新文章
  • 【JVM】编译执行与解释执行的区别是什么?JVM 使用哪种方式?
    用 Hashids 优雅解决 C 端自增 ID 暴露问题
    V8引擎 精品漫游指南--Ignition篇(上) 指令 栈帧 槽位 调用约定 内存布局 基础内容
    LLVM Pass快速入门(四):代码插桩
    milkup:桌面端 markdown AI续写和即时渲染
    基于项目工程构建SBOM(软件物料清单)的研究
    鸿蒙应用开发UI基础第二节:鸿蒙应用程序框架核心解析与实操
    .NET 中如何快速实现 List 集合去重?
    扣子Coze实战:从0到1打造抖音+小红书热点监控智能体
    浅谈数据访问层
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号