Manuscript Offprint
arXiv:2610.37944Symmetric List Objects
FIONA BLACKETT, University of Strathclyde, UK
VIKRAMAN CHOUDHURY, University of Strathclyde, UK
RIN LIU, University of Strathclyde, UK
Cons-lists are fundamental to functional programming, and are well-understood as initial algebras, and as a concrete construction of free monoids. In category theory, such list objects can be axiomatised internal to any monoidal category, with nil and cons maps, and a recursion mechanism. When strengthened to support parametrised recursion, they can be shown to give the free monoid construction. We study a small variant on parametrised list objects called parametrised symmetric list objects, in a symmetric monoidal category, where the two frontmost elements are allowed to be permuted. We show that this gives a construction of free commutative monoids, and develop some related theory.
1 Introduction
Lists are a fundamental data structure, important in computer science and mathematics. They are often defined in functional programming languages as cons-lists, generated inductively from a pair of constructors nil : and cons : , and whose eliminators allow for definitions by recursion and proofs by induction.
In category theory, these lists are understood as initial algebras [Adámek et al. 2025; Hagino 1987]. This list structure can be axiomatised more generally in the setting of a monoidal category, replacing the cartesian product with a tensor, and removing the need for a coproduct by axiomatising the nil and cons maps directly with an iteration mechanism. These list objects generalise the notion of natural numbers objects [Lawvere 1963] and were introduced in Joyal's arithmetic universes [see Maietti 2003]. An internal language for them was studied by Maietti [2010], and other variants were explored by Cockett [1990] and Jay [1997].
In all of these settings, additional axioms on the underlying category are required to reconstruct traditional list operations, such as list append (+), from these list objects. However, in the minimal setting of a monoidal category, this notion of a list object can be strengthened to that of a parametrised list object which supports parametrised recursion. It is shown by Fiore and Saville [2017] that this yields a construction of free monoids [see also Kelly 1980] in monoidal categories. We give a string diagrammatic proof of this result. As a consequence [Fiore and Saville 2017], if a monoidal category has all parametrised list objects, then the forgetful functor is monadic.
Finite multisets are another important data structure that are the commutative counterpart to lists, and in fact can be axiomatised with only a simple modification to these list objects. In this paper, we study the notion of a symmetric list object in a symmetric monoidal category. We identify lists that differ by a transposition of the two frontmost elements using the symmetry of the underlying category. Using this, we show the analogous commutative results that symmetric list objects are free commutative monoids, and that having all symmetric list objects yields a similar monadic adjunction between and .
In type theory, finite multisets have been considered as setoids over lists, where the equivalence relation is bag equivalence [Altenkirch et al. 2011; Danielsson 2012], or as higher inductive types of lists with an additional swap constructor to permute the two head elements [Choudhury and
Authors' Contact Information: Fiona Blackett, fiona.blackett@strath.ac.uk, University of Strathclyde, UK; Vikraman Choudhury, vikraman.choudhury@strath.ac.uk, University of Strathclyde, UK; Rin Liu, rin.liu@strath.ac.uk, University of Strathclyde, UK.
Fiore 2023]. These constructions are carried out in type theories with function types, whereas our setting only requires a symmetric monoidal structure without closure.
Definition 1. A (parametrised) list object (hereafter, just list object) on an object consists of a pair of maps nil : and cons : such that for all objects and equipped with maps and , there exists a unique mediating map or iterator it satisfying computation rules (a) and (b):

(a) nil-

(b) cons-
When rewriting a diagram, the affected portions will be outlined, and the results on the following diagram will be outlined with a dashed border. String labels will also be omitted from diagrams in proofs to reduce clutter, with colours indicating the types.
We define the append operation as the iterator it(id, cons), and the unit map as:

We note that computes on in the left argument as shown in the following lemma.
LEMMA 2.

PROOF.

THEOREM 3. The list object is the free monoid on A.
PROOF. We claim that is a free monoid structure on A. The left unit law directly holds by :

For the right unit law, consider the following maps below:

We claim that these maps are both the iterator it(nil, cons). By the uniqueness of the mediating map, it suffices to show that the two maps satisfy the required computation rules.
The identity map trivially satisfies both rules, so we have . We have -nil- by applying -nil- :

and similarly, -cons- follows from -cons-:

and hence .
For associativity, let be the two maps below:


We claim that both maps are equal to it(+, cons). We have nil- for both since ++ computes on nil in the left argument. In detail, for :

and for :

Similarly, we have cons- since ++ also computes on cons. For :

and for , we push the cons through with two computations:

Hence .
It remains to show the unique extension property. Let be a morphism, with a monoid object. We define the extension as the mediating map , where and are:

We verify that :

Next, we check that is a monoid homomorphism.
Since , computes on nil to and hence preserves the monoid identity. For the homomorphism property, let be the following maps:


We show that these maps are both the iterator , where is the same list algebra map as in the definition of above. We have -nil- by -nil- , and -nil- by -nil- and left unit for :

For cons- we have the computations:

Finally, we show that the extension is unique. Suppose there is another monoid homomorphism satisfying . Then, satisfies the same computation rules as . Indeed, nil- holds since preserves identities, and cons- holds via the following computation:

THEOREM 4 (FIORE AND SAVILLE 2017, LEMMA 3.4.2). If admits parametrised list objects for every , then is monadic over via the evident forgetful functor.
PROOF SKETCH. By Theorem 3, is left adjoint to the forgetful functor, giving a monad with unit , action on maps , and multiplication . We show that the comparison functor , sending to , is an equivalence. The unit law holds by construction of the extension, as . Both and are monoid homomorphisms extending , so the multiplication law holds by uniqueness of extensions.
Conversely, given an algebra , let and , which by Lemma 2 is . Since is a monoid homomorphism with , we have , so the algebra law , the fact that is a monoid homomorphism, and naturality of give , so is a split epimorphism (split by ) that preserves the unit and multiplication, and the monoid laws for follow from those of . In particular, , so satisfies the computation rules of , and by uniqueness of the mediating map. Starting from a monoid, and , so the two constructions are mutually inverse. Finally, a map is a monoid homomorphism if and only if it is an algebra homomorphism, again by uniqueness of extensions.
THEOREM 5. If is cartesian monoidal and is a list object, then satisfies the following stronger universal property: for all objects and equipped with maps and , there exists a unique doubly parametrised iterator , such that the following two computation rules hold:

(a) nil-

(b) cons-
PROOF SKETCH. Consider the list algebra structure on given by and . By the ordinary universal property, we have an iterator . Then, is given by . Its computation rules follow from those of , using that , which holds since both sides are the iterator . For uniqueness, if satisfies the computation rules, then satisfies those of , so .
THEOREM 6 (FIORE AND SAVILLE 2017, LEMMA 3.4.3). If is cartesian monoidal and admits list objects for every , then the induced monad is strong.
PROOF SKETCH. Since the category is symmetric monoidal, we need only define one of the strengths. A construction of the right strength is as follows; the left strength is then obtained by conjugating with the symmetry.
We can equip with a doubly parametrised list algebra structure with the maps
and from the strong universal property (Theorem 5), we obtain a map . This iterator is the right strength map.
The required strength coherences then follow from the uniqueness part of the strong universal property, by checking that both sides of each coherence satisfy the same computation rules.
3 Symmetric List Objects
Hereafter, we assume C is symmetric strict monoidal, i.e. strict monoidal with a symmetric braiding.
Definition 7. A (parametrised) symmetric list object or ilst on an object consists of a pair of maps nil: and cons: satisfying the following ilst axiom:

ilst axiom
such that for all objects and equipped with maps and , where also satisfies the ilst axiom (with in place of ), there exists a unique iterator satisfying the computation rules (a) and (b) of Definition 1.
Since the universal property only quantifies over list algebras satisfying the ilst axiom, a symmetric list object need not be a list object: for instance, in Set, finite multisets on a set form a symmetric list object, which is not a list object when has at least two elements. Conversely, every list object satisfying the ilst axiom is a symmetric list object. For example, the list object , a natural numbers object, is a symmetric list object on 1, since the symmetry on is the identity. As cons satisfies the ilst axiom, and are also defined for symmetric list objects, and Lemma 2 holds with the same proof.
LEMMA 8. For any symmetric list object :

PROOF. Let the two maps be and , respectively. We claim that both maps are the iterator .
nil-:

cons- :

THEOREM 9. Let be a list object on an object A. Then, the following are equivalent:
(1) is a symmetric list object;
(2) is a commutative monoid object;
(3) is the free commutative monoid object on A.
PROOF. (1 2) We have already shown that list objects are monoids, so we need only show that is commutative:

Let the two maps above be and respectively. By definition, , so we show that the braided version satisfies the same computation rules, using the right unit law from Theorem 3 and Lemma 8:
-nil-:

-cons-:

is a list object by assumption, so it has iterators for all list algebras, in particular those satisfying the ilst axiom, and it suffices to show the ilst axiom only:

This establishes the equivalence of (1) and (2).
(3 2) is clear, and since (1) and (2) are equivalent, it remains to show .
is a commutative monoid object by assumption, so we need only show freeness. Let be a morphism, with a commutative monoid object. Since monoid homomorphisms are automatically commutative monoid homomorphisms, we may construct the extension as it , where and are:

as in the non-commutative case. Since is a list object, the rest of the proof of Theorem 3 applies verbatim: , the homomorphism property via it , and uniqueness only iterate over list algebras with this same . For the remark below, we also check that satisfies the ist axiom:

Note the proofs of and do not use that is a list object: for a symmetric list object, Lemmas 2 and 8, and the monoid laws and freeness argument in the proof of Theorem 3, carry over unchanged, since every list algebra they iterate over satisfies the ilst axiom (for freeness, by the computation above). Hence every symmetric list object is the free commutative monoid on .
THEOREM 10. If admits parametrised symmetric list objects for every , then is monadic over via the evident forgetful functor.
PROOF SKETCH. By the above, is left adjoint to the forgetful functor , and the proof for carries over, with one additional step. The monoid obtained from an algebra is commutative, since and is commutative. Hence satisfies the ilst axiom, which is needed to identify with the iterator .
THEOREM 11. If is cartesian monoidal and admits symmetric list objects for every , then the induced monad is strong, and further, commutative.
PROOF SKETCH. The strong universal property (Theorem 5) holds for symmetric list objects when restricted to maps satisfying , by the same proof, since then
satisfies the ilst axiom, as does . The map defining satisfies this condition by the ilst axiom for , so the construction of the strength maps is the same as in the non-symmetric case. The algebras used for the strength coherences are built from cons and , and satisfy the condition since is commutative and associative. In this case, the strength also satisfies the following additional commutativity coherence:

The lower pairs of edges compute to and when precomposed with and , respectively, and are thus extensions of the strength maps by the universal property of . It remains to show that the two sides of the upper diamond agree. Both are the doubly parametrised iterator , with constantly nil and , which satisfies the restricted condition since is commutative and associative. The path through satisfies the computation rules directly, while for the path through , the cons- rule requires an auxiliary induction over , again using that is commutative and associative.
Symmetric lists give an alternative way of constructing free commutative monoids in a symmetric monoidal category which is relevant to the study of the exponential modality in linear logic. In the future, we hope to compare this to other approaches, such as that of Mellières et al. [2018].
References
Jiří Adámek, Stefan Milius, and Lawrence S. Moss. 2025. Initial Algebras and Terminal Coalgebras: The Theory of Fixed Points of Functors. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, Cambridge. ISBN: 978-1-108-83546-6. doi:10.1017/9781108884112.
Thorsten Altenkirch, Thomas Anberrée, and Nuo Li. 2011. "Definable Quotients in Type Theory." Draft. (2011). https://people.cs.nott.ac.uk/psztxa/publ/defquotients.pdf.
Vikraman Choudhury and Marcelo Fiore. 2023. "Free Commutative Monoids in Homotopy Type Theory." Electronic Notes in Theoretical Informatics and Computer Science, 1, (2023), 10492. Proceedings of MFPS XXXVIII. doi:10.46298/entics.10492.
J. R. B. Cockett. 1990. "List-Arithmetic Distributive Categories: Locoi." Journal of Pure and Applied Algebra, 66, 1, (1990), 1–29. doi:10.1016/0022-4049(90)90121-W.
Nils Anders Danielsson. 2012. "Bag Equivalence via a Proof-Relevant Membership Relation." In: Interactive Theorem Proving (Lecture Notes in Computer Science). Ed. by Lennart Beringer and Amy Felty. Springer, Berlin, Heidelberg, 149–165. ISBN: 978-3-642-32347-8. doi:10.1007/978-3-642-32347-8_11.
Marcelo Fiore and Philip Saville. 2017. "List Objects with Algebraic Structure." In: 2nd International Conference on Formal Structures for Computation and Deduction (FSCD 2017) (Leibniz International Proceedings in Informatics (LIPics)). Ed. by Dale Miller. Vol. 84. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 16:1–16:18. ISBN: 9783959770477. doi:10.4230/LIPICS.FSCD.2017.16.
Tatsuya Hagino. 1987. "A categorical programming language." Ph.D. Dissertation. University of Edinburgh, UK. https://hdl.handle.net/1842/13976.
C. B. Jay. 1997. "Finite Objects in a Locos." Journal of Pure and Applied Algebra, 116, 1–3, (1997), 169–183. doi:10.1016/S0022-4049(97)81630-1.
G. M. Kelly. 1980. "A Unified Treatment of Transfinite Constructions for Free Algebras, Free Monoids, Colimits, Associated Sheaves, and so on." Bulletin of the Australian Mathematical Society, 22, 1, (1980), 1–83. doi:10.1017/S0004972700006353.
F. William Lawvere. 1963. "Functorial Semantics of Algebraic Theories." Proceedings of the National Academy of Sciences, 50, 5, (1963), 869–872. doi:10.1073/pnas.50.5.869.
Maria Emilia Maietti. 2010. "Joyal's Arithmetic Universe as List-Arithmetic Pretopos." Theory and Applications of Categories, 24, 39–83. doi:10.70930/tac/qee78enb.
Maria Emilia Maietti. 2003. "Joyal's Arithmetic Universes via Type Theory." Electronic Notes in Theoretical Computer Science, 69, (2003), 272–286. doi:10.1016/S1571-0661(04)80569-3.
Paul-André Melliès, Nicolas Tabareau, and Christine Tasson. 2018. "An Explicit Formula for the Free Exponential Modality of Linear Logic." Mathematical Structures in Computer Science, 28, 7, (2018), 1253–1286. doi:10.1017/S0960129516000426.