计算机科学 > 计算机科学中的逻辑
[提交于 2024年3月4日 (v1),最后修订于 2025年9月3日 (此版本, v3)]
标题:Graphical Quadratic Algebra
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Convex analysis and Gaussian probability are tightly connected, as mostly evident in the theory of linear regression. Our work introduces an algebraic perspective on such relationship, in the form of a diagrammatic calculus of string diagrams, called Graphical Quadratic Algebra (GQA). We show that GQA is a complete axiomatisation for the category of quadratic relations, a compositional formulation of quadratic problems. Moreover, we identify a sub-theory of GQA which is complete for the category of Gaussian probabilistic processes. We show how GQA may be used to study linear regression and probabilistic programming.