The Tensor-Plus Calculus

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chardonnet, Kostia, de Visme, Marc, Valiron, Benoît, Vilmart, Renaud
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909976281219072
author Chardonnet, Kostia
de Visme, Marc
Valiron, Benoît
Vilmart, Renaud
author_facet Chardonnet, Kostia
de Visme, Marc
Valiron, Benoît
Vilmart, Renaud
contents We propose a graphical language that accommodates two monoidal structures: a multiplicative one for pairing and an additional one for branching. In this colored PROP, whether wires in parallel are linked through the multiplicative structure or the additive structure is implicit and determined contextually rather than explicitly through tapes, world annotations, or other techniques, as is usually the case in the literature. The diagrams are used as parameter elements of a commutative semiring, whose choice is determined by the kind of computation we want to model, such as non-deterministic, probabilistic, or quantum. Given such a semiring, we provide a categorical semantics of diagrams and show the language as universal for it. We also provide an equational theory to identify diagrams that share the same semantics and show that the theory is sound and complete and captures semantical equivalence. In categorical terms, we design an internal language for semiadditive categories (C,+,0) with a symmetric monoidal structure (C,x,1) distributive over it, and such that the homset C(1,1) is isomorphic to a given commutative semiring, e.g., the semiring of non-negative real numbers for the probabilistic case.
format Preprint
id arxiv_https___arxiv_org_abs_2512_21965
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle The Tensor-Plus Calculus
Chardonnet, Kostia
de Visme, Marc
Valiron, Benoît
Vilmart, Renaud
Logic in Computer Science
We propose a graphical language that accommodates two monoidal structures: a multiplicative one for pairing and an additional one for branching. In this colored PROP, whether wires in parallel are linked through the multiplicative structure or the additive structure is implicit and determined contextually rather than explicitly through tapes, world annotations, or other techniques, as is usually the case in the literature. The diagrams are used as parameter elements of a commutative semiring, whose choice is determined by the kind of computation we want to model, such as non-deterministic, probabilistic, or quantum. Given such a semiring, we provide a categorical semantics of diagrams and show the language as universal for it. We also provide an equational theory to identify diagrams that share the same semantics and show that the theory is sound and complete and captures semantical equivalence. In categorical terms, we design an internal language for semiadditive categories (C,+,0) with a symmetric monoidal structure (C,x,1) distributive over it, and such that the homset C(1,1) is isomorphic to a given commutative semiring, e.g., the semiring of non-negative real numbers for the probabilistic case.
title The Tensor-Plus Calculus
topic Logic in Computer Science
url https://arxiv.org/abs/2512.21965