An Algebra of Transformers

Yong Wang, Zhiyan Wang, Hexiao Kang
10/27/2026
cs.LOcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

On the theoretic analyses on transforms, they mainly focus on the computability analysis, such the Turing-completeness of unbounded precision transformers, the advantage of parallelizability of unbounded precision transformers and the limitations of bounded precision transformers. This paper give transformers an algebra for reasoning, which relies heavily on the functional decomposition results of transformers.

Show full abstract

This algebra uses functional decompositions as atomic actions, includes sequential composition and parallel composition, recursion for feedback and abstraction for hidden layers. As we know, it is the first attempt to model transformers logically and can be used to verify the correctness of transformer based applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026algebra,
  title  = {An Algebra of Transformers},
  author = {Yong Wang and Zhiyan Wang and Hexiao Kang},
  year   = {2026},
  eprint = {2610.36795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.36795v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.36795.svg)](https://codeofpaper.com/paper/2610.36795)

Discussion