REVIEW 2 major objections 5 minor 5 references
Complete Compositional Syntax for Finite Transducers on Finite and Bi-Infinite Words
T0 review · 2 major / 5 minor · reviewed 2026-08-08 · deepseek-v4-flash
Pith's one-line read The paper claims that for finite and bi-infinite words, any two transducers with the same behavior can be proved equal by rewriting diagrammatic expressions, using a single simulation principle.
desk verdict Real contribution with a patchable gap: finite-word completeness is solid, bi-infinite completeness needs a fixed uniqueness proof. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The machinery is a diagrammatic language for relations: string diagrams in a compact closed symmetric monoidal category, with generators for arbitrary finite relations, cups and caps for transposition, and a feedback loop labeled by the shift relation that encodes internal state. The quasi-normal form puts every diagram into a single feedback with one relation box, and the simulation principle lets a mediating relation S slide through the diagram, turning one transducer's transitions into another's while preserving behavior. In the bi-infinite case the proof additionally uses forward and backward pruning to remove states not lying on bi-infinite paths, followed by determinization and minimization, with the uniqueness of the minimal rooted right-resolving pruned presentation supplying the canonical object that forces any two equivalent diagrams to meet.
What would settle it
Construct a sofic subshift with two non-isomorphic minimal rooted right-resolving pruned presentations, or exhibit a deterministic automaton for its factor language that is strictly smaller than the canonical one yet whose transformation into a pruned right-resolving presentation yields something no larger than the canonical one; either would falsify Theorem 4.4 and with it the bi-infinite completeness theorem.
Extended reading notes
Core claim
The central discovery is a complete equational theory for transducers, stated as Theorem 3.5 for finite words and Theorem 4.6 for bi-infinite words. For finite words, any two diagrams of the syntactic category Trans with equal relational semantics can be rewritten into each other using the rules of Trans plus the simulation principle of Figure 4; the proof mimics determinization and minimization of finite automata. For bi-infinite words, the analogous statement holds for Z-Trans using the more intricate simulation principle of Figure 6, whose proof relies on a new canonical form: every non-empty sofic subshift has a unique minimal rooted right-resolving pruned presentation, up to isomorphism. Thus language equivalence, trace equivalence, and subshift equivalence all become provable by rewriting in a single compositional formalism.
Load-bearing premise
The bi-infinite completeness proof depends on the claim that every non-empty sofic subshift has a unique minimal rooted right-resolving pruned presentation, and the proof of that uniqueness contains a step that is only sketched in a few lines.
Editorial extensions
If this is right
- If the completeness results hold, every equivalence of regular relations and every equivalence of sofic relations is derivable by the rewrite rules, so diagrammatic proof replaces case-by-case automata constructions.
- Automata minimization and trace-equivalence checking become instances of the same rewriting system, formalizing the folklore similarity among these arguments.
- The simulation principle simultaneously subsumes forward and backward simulation: mutual simulation between two transducers implies their equivalence, generalizing the classical simulation-based proof method.
- The uniqueness of the minimal rooted right-resolving pruned presentation gives a canonical form for sofic subshifts, a notion not available from the standard minimal presentations, which are generally not unique.
- Because the semantics is defined by interpretation in relations, the rewrite system is sound by construction, so any identity proved by rewriting is guaranteed to hold semantically.
Reading between the lines
- A natural testable direction, left implicit by the authors, is whether the rewriting system can be made terminating or confluent enough to yield a decision procedure for transducer equivalence; the paper proves completeness but does not address normalization.
- Changing the base category from relations to stochastic kernels or quantum channels, as the authors suggest, would transfer the same diagrammatic completeness scheme to probabilistic or quantum transducers, provided an analogue of the simulation principle can be stated in those settings.
- The new canonical presentation for sofic subshifts may be useful independently of this paper, for instance in computing invariants or in comparing presentations of symbolic dynamical systems, since it selects a unique minimal object where classical minimal presentations can split.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces two string-diagrammatic equational theories, Trans and Z-Trans, for finite-state transducers on finite words and on bi-infinite words, respectively. The diagrams are interpreted as uniform relations or as relations on bi-infinite words. The authors prove universality (every regular/sofic relation is representable) and soundness of the rewrite rules, and then claim completeness: any two diagrams with equal semantics can be proved equal using the rules plus a simulation principle. The finite-word completeness proof follows the classical determinization/minimization route. The bi-infinite case requires a new canonical form: every non-empty sofic subshift has a unique minimal rooted right-resolving pruned presentation (Theorem 4.4), proved in Appendix C.3, on which the bi-infinite completeness theorem (Theorem 4.6) relies.
Significance. The paper's central claim, if fully established, would give a genuinely unified compositional syntax for regular relations, LTS trace equivalence, and sofic subshifts, with proof rules for equational reasoning. The finite-word completeness proof is sound and elegant, and the proposed simulation principle is a natural generalization of forward/backward simulation. The paper is mostly self-contained and includes direct proofs for soundness, universality, and the main normal-form lemmas. The new uniqueness theorem for rooted pruned presentations is a potentially useful contribution to symbolic dynamics. However, the bi-infinite completeness proof currently rests on a proof step in Appendix C.3 that is not fully justified, and Appendix C.1 contains a false lemma; both are repairable.
major comments (2)
- [Appendix C.3, proof of Theorem C.8] The argument that the totalized presentation M⊥ is the minimal complete DFA of Fact(X) is incomplete. After assuming a strictly smaller complete DFA E, the proof says that restricting E to its final states gives a pruned right-resolving rooted presentation strictly smaller than M. This does not follow if |Q_E| = |P| and E has |P| final states; the derived presentation would have |P| states, not fewer. The missing observation is that in the non-total case Fact(X) ≠ A*, so every complete DFA for Fact(X) must have a non-final state (any state reached by a rejected word). Hence |F_E| ≤ |Q_E| - 1 ≤ |P| - 1, giving the required strict contradiction. Since Theorem 4.6 invokes Theorem 4.4 as its key normal-form uniqueness, this step needs to be stated and proved.
- [Appendix C.1, Lemma C.3] Lemma C.3 asserts that all states of the minimal automaton of a factor-closed language are final. This is false as stated. For A={a,b} and L=a*, the minimal complete DFA has an initial accepting state and a non-final dead state; the dead state is reachable but not co-accessible. The correct statement is that every state lying on an accepting run is final, and in a complete minimal DFA the only non-final state is the (possibly absent) dead state reached by words outside L. The proof of Theorem C.8 only uses the weaker property, so the main argument can be repaired, but the lemma should be corrected or removed.
minor comments (5)
- [Appendix D.3, Theorem D.3] In the induction step of the compactness proof, the first induction hypothesis is misprinted: it should read '(a_k, q_{k+1}) T (b_k, q_k) for all -n ≤ k < n', not '(a_n, q_{n+1}) T (b_n, q_n)'.
- [Definition 4.4] Typo: 'every accepted word admits an accepted run starting by r' should be 'starting from r' or 'starting with r'.
- [Section 4.3, Figure 6] The preconditions of the bi-infinite simulation principle are hard to read from the diagram. A concise textual statement with explicit quantifiers over states and paths of length card(C) and card(D) would significantly improve clarity.
- [Section 3.4, Figure 4] In the finite simulation principle, it would be helpful to state explicitly that S is an arbitrary relation of FinRel from C to D, matching the wires in the diagram, and that the equalities in the preconditions are equalities of relations.
- [Appendix D.6, proof of soundness of Figure 24] The sentence 'we can replace the left part of the above diagram by S ◦ •D' would benefit from a short justification that •D is the maximal relation and that the replacement preserves the existence of the connecting sequence; as written, the step is easy to miss.
Circularity Check
No significant circularity: the completeness theorems are proved against the relation semantics via classical automata-theoretic normal forms, not by assuming the target equivalence.
full rationale
The paper's central claims are the completeness theorems for finite and bi-infinite word transducers (Theorems 3.5 and 4.6). The derivation chain is self-contained: the equational theories Trans and Z-Trans are interpreted semantically in UniRel and Z-Rel, and the soundness of every rewriting rule, including the simulation principles, is proved directly against that semantics (Appendix B.4 for Figure 4; Appendix D.6 for Figure 6). Completeness is then obtained by a two-stage normal-form argument: determinization and minimization, followed by an appeal to uniqueness of the minimal deterministic automaton from the external textbook [HMU07] in the finite case, and to the in-paper Theorem 4.4 in the bi-infinite case. Theorem 4.4 is itself proved in Appendix C.3 from the same classical minimal-DFA uniqueness plus pruning/rooting constructions; it is not imported from a prior author-specific uniqueness theorem, and its proof does not assume the completeness statement it supports. The simulation principles are axioms of the equational theory whose soundness is shown semantically; they are not fitted parameters, and no predicted quantity is defined in terms of the data it is said to predict. The self-citations present in the paper ([CM24], [CDP21]) appear in the introduction and conclusion as context or related work and are not load-bearing for the completeness proofs. The skeptical concern about the compressed minimality step in Appendix C.3 is a potential proof gap or correctness risk, not a circularity: even if that step required a fuller argument, the claim being proved is not, by construction, identical to its input. Consequently, no step reduces to its own target by definition, and the circularity score is 0.
Assumptions & free parameters
assumptions (4)
- standard math FinRel and UniRel are compact closed strict symmetric monoidal categories.
- standard math The minimal deterministic automaton recognizing a regular language is unique up to isomorphism (Myhill-Nerode).
- domain assumption A subshift is sofic if and only if its factor language is regular, and the factor-language/pruned-language correspondence is a bijection between sofic subshifts and pruned factor-closed regular languages.
- standard math AZ with the Cantor distance is compact.
Cite this review
Pith. "Pith review of Complete Compositional Syntax for Finite Transducers on Finite and Bi-Infinite Words." pith.science (2026). https://pith.science/paper/UW6RALJP
@misc{pith2026250206450,
author = {Pith},
title = {Pith review of: Complete Compositional Syntax for Finite Transducers on Finite and Bi-Infinite Words},
year = {2026},
howpublished = {\url{https://pith.science/paper/UW6RALJP}},
note = {Machine review of arXiv:2502.06450}
}
read the original abstract
Minimizing finite automata, proving trace equivalence of labelled transition systems or representing sofic subshifts involve very similar arguments, which suggests the possibility of a unified formalism. We propose finite states non-deterministic transducer as a lingua franca for automata theory, transition systems, and sofic subshifts. We introduce a compositional diagrammatical syntax for transducers in form of string diagrams interpreted as relations. This syntax comes with sound rewriting rules allowing diagrammatical reasoning. Our main result is the completeness of our equational theory, ensuring that language-equivalence, trace-equivalence, or subshift equivalence can always be proved using our rewriting rules.
Figures
Figures from the paper (21 more)
Reference graph
Works this paper leans on
-
[1]
A categorical semantics of signal flow graphs
[BSZ14] Filippo Bonchi, Pawe/suppress l Soboci´ nski, and Fabio Zanasi. “A categorical semantics of signal flow graphs”. In: International Conference on Concurrency Theory . Springer. 2014, pp. 435–450. [BSZ21] Filippo Bonchi, Pawe/suppress l Soboci´ nski, and Fabio Zanasi. “A survey of compositional signal flow theory”. In: Advancing Research in Informatio...
work page 2021
-
[1997]
Differentiab le causal computations via delayed trace
isbn: 978-0-534-94728-6. [SK19] David Sprunger and Shin-ya Katsumata. “Differentiab le causal computations via delayed trace”. In: 2019 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS) . IEEE. 2019, pp. 1–12. [Wet20] John van de Wetering. “ZX-calculus for the working q uantum computer scien- tist”. In: arXiv preprint arXiv:2012.13966 (202...
arXiv 2020
-
[1998]
A String Diagr ammatic Axiomatisation of Finite-State Automata
isbn: 0-387-98403-8. [PZ+21] Robin Piedeleu, Fabio Zanasi, et al. “A String Diagr ammatic Axiomatisation of Finite-State Automata.” In: FoSSaCS. 2021, pp. 469–489. [Sel11] Peter Selinger. “A survey of graphical languages fo r monoidal categories”. In: New structures for physics (2011), pp. 289–355. [Sip97] Michael Sipser. Introduction to the theory of com...
work page 2011
-
[2007]
Coherence for compact c losed categories
isbn: 978-0-321-47617-3. [KL80] G.M. Kelly and M.L. Laplaza. “Coherence for compact c losed categories”. In: Journal of Pure and Applied Algebra 19 (1980), pp. 193–213. issn: 0022-4049. doi: https://doi.org/10.1016/0022-4049(80)90101-2. url: https://www.sciencedirect.co [KSW02] Katis, P., Sabadini, Nicoletta, and Walters, Rober t F.C. “Feedback, trace and...
-
[2024]
Aperiodicity in Quantum Wang Tilings
arXiv: 2302.04503 [quant-ph]. url: https://arxiv.org/abs/2302.04503. [DFR22] Elena Di Lavore, Giovanni de Felice, and Mario Rom´ a n. “Monoidal streams for dataflow programming”. In: Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science . 2022, pp. 1–14. [EM65] Calvin C. Elgot and Jorge E. Mezei. “On Relations Defin ed by Generalize...
work page Pith review arXiv 1965
Reviewed August 8, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.