paperbot · PL 论文追踪

全部论文 待读 收藏

P2 <i>Vy</i> ZX: Formal Verification of a Graphical Quantum Language

VyZX:图形量子语言的形式化验证
TOPLAS 48(3)2026匹配度 2/10 · 论文属于定理证明与形式化验证领域,但主题是量子计算的图形语言(ZX演算),未涉及LLM/Agent、静态分析、浮点程序分析或贝叶斯程序分析,与用户核心研究方向(PL与AI交叉)匹配度很低。引用 14 inbox
Adrian Lehmann, Ben Caldwell, Bhakti Shah, William Spencer, Robert Rand
crossref: 2026-09-10

AI 速览

一句话:提出 VyZX 库,用归纳图在证明助手中形式化验证 ZX 演算的图示重写规则及其可靠性。

图形语言以图及其重写规则简洁表示计算,但证明助手常依赖归纳数据类型,给图形语言赋予归纳结构会掩盖其图示本质与等式理论,阻碍形式化推理。为此,作者提出 VyZX,一个基于归纳定义图形语言的已验证库,其归纳构造源于范畴论定义。他们以量子计算的 ZX 演算为实例,利用 VyZX 中的归纳图证明 ZX 演算图示重写规则的可靠性,并用标准证明助手技术实际应用这些规则。此外,还提供集成于 IDE 的可视化器,使证明工程师能直接以图形形式推理。这项工作为图形量子语言的形式验证提供了可复用的基础。

问题
图形语言虽直观,但证明助手依赖归纳数据类型,难以在不破坏其图示性质与等式理论的前提下形式化推理。
方法
提出 VyZX,用源于范畴论定义的归纳图表示图形语言,并在证明助手中验证 ZX 演算的重写规则可靠性,提供 IDE 可视化。
评估
以 ZX 演算为案例,机器化证明其图示重写规则的可靠性,并展示在标准证明助手技术中的实际应用。
原文摘要(Abstract)

Graphical languages are a convenient shorthand to represent computation, with rewrite rules relating one graph to another. In contrast, proof assistants rely heavily on inductive datatypes, particularly when giving semantics to embedded languages. This creates obstacles to formally reasoning about graphical languages, since imposing an inductive structure obfuscates the diagrammatic nature of graphical languages, along with their corresponding equational theories. To address this gap, we present Vy ZX, a verified library for reasoning about inductively defined graphical languages. These inductive constructs arise naturally from category-theoretic definitions. We developed Vy ZX to V erify the ZX -calculus, a graphical language for reasoning about quantum computation. The ZX-calculus comes with a collection of diagrammatic rewrite rules that preserve the graph’s semantic interpretation. We show how inductive graphs in Vy ZX are used to prove the soundness of the ZX-calculus rewrite rules and apply them in practice using standard proof assistant techniques. We also provide an IDE-integrated visualizer for proof engineers to directly reason about diagrams in graphical form.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{abs-2311-11571,
  title = {<i>Vy</i>
                    ZX: Formal Verification of a Graphical Quantum Language},
  author = {Adrian Lehmann and Ben Caldwell and Bhakti Shah and William Spencer and Robert Rand},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {48},
  number = {3},
  year = {2026},
  doi = {10.1145/3807780}
}