科研速览 · Science Skim继续刷下去 · Keep skimming →
◆ ACM Transactions on Programming Languages and Systems2026-04-11· Diagrammatic reasoning

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

Adrian Lehmann, Ben Caldwell, Bhakti Shah, W. Dean Spencer, Robert W. Rand

原始摘要(英文原文)· Original 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.
读原文 · Read the paper ↗

AI 追问PRO

登录后使用 AI 追问

讨论区

登录后参与讨论

相关论文 · Related

<i>Vy</i> ZX: Formal Verification of a Graphical Quantum Language — 科研速览 Science Skim