<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Proof-Systems on As it was</title>
    <link>https://galoishlee.github.io/tags/proof-systems/</link>
    <description>Recent content in Proof-Systems on As it was</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <managingEditor>maocred@gmail.com (Halois)</managingEditor>
    <webMaster>maocred@gmail.com (Halois)</webMaster>
    <copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright>
    <lastBuildDate>Sat, 28 Nov 2026 20:02:02 +0800</lastBuildDate>
    <atom:link href="https://galoishlee.github.io/tags/proof-systems/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>zkEVM 与 ZK 系统安全性：约束设计、内存一致性与 soundness footguns</title>
      <link>https://galoishlee.github.io/zkevm-constraint-soundness/</link>
      <pubDate>Wed, 10 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/zkevm-constraint-soundness/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope. 本文审计 zkEVM 的 constrained surface：opcode row、memory/storage queues、lookup、state commitments 与 recursive accumulator 之间是否形成闭环。产品吞吐量和功能覆盖不在讨论范围内。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;proof 只覆盖进入约束、commitment 和 transcript 的对象。zkEVM 会把 opcode 语义、memory read/write、storage queue、状态根更新、lookup 表和递归聚合拆成 constraint obligations；soundness 要求这些局部义务共同绑定同一条 execution trace。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;&#xA;&lt;p&gt;常见 failure mode 是 linkage 丢失：selector 没有绑定正确路径，queue payload 没有等于前一层结果，limb lookup 缺少 recomposition，或 challenge 少吸收一个 commitment。此时 prover 可以提交局部合法而全局矛盾的 witness。&lt;/p&gt;</description>
    </item>
    <item>
      <title>递归证明里的三种压缩：Bulletproofs、Halo 与 Nova</title>
      <link>https://galoishlee.github.io/ipa-recursion-bulletproofs-halo-nova/</link>
      <pubDate>Tue, 09 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/ipa-recursion-bulletproofs-halo-nova/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope. Bulletproofs、原始 Halo 与 Nova 维护三种不同对象：inner-product relation、verification accumulator、relaxed R1CS instance。共同出现的 compression 和 folding 词汇不足以构成一条协议谱系。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;路线&lt;/th&gt;&#xA;          &lt;th&gt;被压缩的对象&lt;/th&gt;&#xA;          &lt;th&gt;每轮保持的条件&lt;/th&gt;&#xA;          &lt;th&gt;典型终点&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;Bulletproofs / IPA&lt;/td&gt;&#xA;          &lt;td&gt;向量与内积关系&lt;/td&gt;&#xA;          &lt;td&gt;承诺和内积在折叠后仍一致&lt;/td&gt;&#xA;          &lt;td&gt;常数维内积检查&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;Halo&lt;/td&gt;&#xA;          &lt;td&gt;尚待完成的验证义务&lt;/td&gt;&#xA;          &lt;td&gt;新 accumulator 忠实代表旧义务与新 claim&lt;/td&gt;&#xA;          &lt;td&gt;accumulator decider&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;Nova&lt;/td&gt;&#xA;          &lt;td&gt;两个 relaxed R1CS instance/witness&lt;/td&gt;&#xA;          &lt;td&gt;折叠后的 relaxed equation 闭合&lt;/td&gt;&#xA;          &lt;td&gt;持续更新的 IVC state&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;IPA 是 Bulletproofs 和原始 Halo 的重要组件。Nova 的入口则是 relaxed R1CS 与加法同态承诺。理解三者需要分别写出各自 invariant，再讨论它们如何服务递归证明。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>PLONKish 体系：置换论证、lookup 与自定义门</title>
      <link>https://galoishlee.github.io/plonkish-permutation-lookups/</link>
      <pubDate>Mon, 08 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/plonkish-permutation-lookups/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope. 本文只展开经典三线 PLONK 的 permutation argument 和原始 plookup 的 sorted-table argument。“PLONKish”在这里是行、列、selector 证明面的统称；Halo2 等后继系统采用不同的 lookup、commitment 与 transcript 细节，不能直接套用下文公式。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;这一证明面把 witness 排成 rows 和 columns，由 selectors 指定局部门语义，再用 permutation 与 lookup 处理跨位置关系。三类机制回答同一个问题：&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;当 witness 被排成列多项式之后，系统如何表达“这些列之间哪些值必须相等、哪些值必须属于某张表、以及每一行到底允许执行什么语义”？&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;下文分别写出 grand product 的边界、交叉相乘恒等式和 quotient 检查，再说明 custom gate 如何改变度数预算。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>STARK：AIR、低度测试与透明性</title>
      <link>https://galoishlee.github.io/stark-air-fri/</link>
      <pubDate>Sun, 07 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/stark-air-fri/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope. 本文沿用上一篇算术化文章中的四行 Fibonacci trace，追踪它从 AIR 约束进入 composition oracle，再落到第一轮 FRI 查询。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;STARK 的证明对象是一张 execution trace。AIR 把 trace 的合法性写成多项式约束，composition polynomial 将多条约束合成一个受度数界约束的对象，FRI 再检查 prover 承诺的评值 oracle 是否接近相应的低度多项式。三部分通过承诺和 transcript 顺序连接：&lt;/p&gt;&#xA;\[&#xA;\text{trace} \longrightarrow \text{AIR constraints} \longrightarrow \text{composition polynomial} \longrightarrow \text{FRI low-degree test}.&#xA;\]</description>
    </item>
    <item>
      <title>Groth16：从 QAP 到配对检验方程</title>
      <link>https://galoishlee.github.io/groth16-from-qap/</link>
      <pubDate>Sat, 06 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/groth16-from-qap/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope: 从 QAP 系数、CRS query 到 Groth16 pairing equation 的符号对应。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Groth16 proof 只有三个群元素。要解释这项压缩，需要写清三个元素的指数、public instance 的 verifier query，以及 pairing equation 如何展开回 QAP identity。&lt;/p&gt;&#xA;&lt;p&gt;前两篇已经把接口准备好了。第 4 篇给出&lt;/p&gt;&#xA;\[&#xA;A_{\mathbf{w}}(X)B_{\mathbf{w}}(X) - C_{\mathbf{w}}(X) = H(X)Z(X),&#xA;\]&lt;p&gt;第 5 篇已经说明多项式关系可以在秘密点 \(\tau\) 上编码并用 pairing 检查。Groth16 将该方法应用到 QAP satisfiability relation，并用额外 trapdoors 约束 witness 编码与随机化空间。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;&#xA;&lt;p&gt;本文展开以下推导链：&lt;/p&gt;&#xA;\[&#xA;\text{QAP relation} \longrightarrow \text{CRS at secret point} \longrightarrow \text{proof tuple } (A,B,C) \longrightarrow \text{pairing product equation}.&#xA;\]</description>
    </item>
    <item>
      <title>多项式承诺的统一看法：KZG、IPA、FRI</title>
      <link>https://galoishlee.github.io/polynomial-commitments-kzg-ipa-fri/</link>
      <pubDate>Fri, 05 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/polynomial-commitments-kzg-ipa-fri/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope: KZG、IPA 与 FRI 在 commitment、claim、proof、verify 四个接口上的差异。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;前一篇已经把 computation 变成了多项式对象：QAP 里有 \(A_{\mathbf{w}}, B_{\mathbf{w}}, C_{\mathbf{w}}, H, Z\)，AIR 里有 trace polynomials 与 composition polynomial。到了这里，问题不再是“如何把程序写成多项式”，而是“如何承诺这些多项式，并在不泄露全部系数的前提下证明某些点值或低度性声明”。&lt;/p&gt;&#xA;&lt;p&gt;三种方案都回答同一个问题，但使用不同 machinery。先固定最小形式：&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;我已经对一个多项式 \(f(X)\) 做了承诺。现在我要证明在点 \(z\) 上，它的取值确实是 \(y = f(z)\)，或者至少证明它来自某个低度多项式家族。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;在这个统一接口下：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;KZG 把 opening 变成 pairing verification equation&lt;/li&gt;&#xA;&lt;li&gt;IPA 把 opening 变成 coefficient vector 和 evaluation vector 的 inner-product proof&lt;/li&gt;&#xA;&lt;li&gt;FRI 把 low-degree claim 变成 repeated folding and query consistency checks&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;下面比较各自的 evaluation evidence，以及对应的 setup、proof size 和 verifier cost。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>从算术电路到 R1CS、QAP 与 AIR</title>
      <link>https://galoishlee.github.io/arithmetization-r1cs-qap-air/</link>
      <pubDate>Thu, 04 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/arithmetization-r1cs-qap-air/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope: circuit 到 R1CS/QAP，以及 trace 到 AIR 的两条算术化路径。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;证明系统需要可承诺、可开点或可低度测试的 algebraic surface。本篇处理 computation 到代数约束的翻译。&lt;/p&gt;&#xA;&lt;p&gt;如果只用一句话概括算术化，它就是把“计算正确”改写成“某个 witness 满足一组 field 上的代数关系”。但这句话还不够，因为后面的证明系统并不直接吃“很多条关系”。它们更喜欢的是：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;向量上的 rank-1 constraints&lt;/li&gt;&#xA;&lt;li&gt;多项式上的恒等式或整除关系&lt;/li&gt;&#xA;&lt;li&gt;execution trace 上的 transition constraints&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;需要展开的对象是两条转换链：&lt;/p&gt;&#xA;\[&#xA;\text{circuit} \longrightarrow \text{R1CS} \longrightarrow \text{QAP}&#xA;\]&lt;p&gt;以及&lt;/p&gt;&#xA;\[&#xA;\text{trace} \longrightarrow \text{AIR}.&#xA;\]&lt;p&gt;两条链的共同目标都是同一个：把 computation 变成一个证明系统能消费的 polynomial object。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sigma 协议的统一视角：Schnorr、表示证明与 Fiat-Shamir</title>
      <link>https://galoishlee.github.io/sigma-schnorr-fiat-shamir/</link>
      <pubDate>Wed, 03 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/sigma-schnorr-fiat-shamir/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope: Sigma transcript、special soundness、special HVZK 与 Fiat-Shamir 边界。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;上一篇把 Pedersen 承诺写成了一个 relation：&lt;/p&gt;&#xA;\[&#xA;C = g^m h^r.&#xA;\]&lt;p&gt;这一篇围绕该 relation 构造一个可提取、可模拟的三步证明骨架：first message 承诺随机量，verifier 给出 public-coin challenge，prover 用线性 response 绑定 witness。&lt;/p&gt;&#xA;&lt;p&gt;同一份 Sigma transcript 同时承载三类对象：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;commitment / first message&lt;/li&gt;&#xA;&lt;li&gt;extractor 需要的两份 accepting transcripts&lt;/li&gt;&#xA;&lt;li&gt;simulator 需要重建的 transcript distribution&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;这也是它成为后续现代证明系统桥梁的原因。Schnorr 证明离散对数是最小例子，表示证明是直接推广，而 Fiat-Shamir 则显示这套骨架一旦被 hash 取代 challenge，交互虽然消失，模型边界却一起换掉了。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>零知识证明的最小理论框架</title>
      <link>https://galoishlee.github.io/zk-minimal-framework/</link>
      <pubDate>Mon, 01 Dec 2025 08:00:00 +0800</pubDate><author>maocred@gmail.com (Halois)</author>
      <guid>https://galoishlee.github.io/zk-minimal-framework/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Scope: relation、view、simulator 与 extractor 的最小定义链。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;后面整条 ZK 系列都会调用同一批对象：relation、language、instance、witness、prover、verifier、transcript、view、simulator、extractor。本篇先固定它们的类型、量词和相互关系。&lt;/p&gt;&#xA;&lt;p&gt;completeness、soundness、zero knowledge 与 knowledge soundness 分别约束不同事件。honest-verifier 结论也不能直接推广到任意 verifier；argument 的可靠性还带有计算有界条件。混用这些层次会直接破坏后续的安全性论证。&lt;/p&gt;&#xA;&lt;p&gt;下面从 \(R(x, w)\) 定义语言和接受事件，再定义 verifier view 与 simulator 的分布关系，最后给出 argument/proof 与 knowledge soundness 的边界。&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
