Polygraph (mathematics)
File:Polygraph (mathematics).svg
{{Short description|Higher-dimensional generalized digraph}}
{{About|a notion of higher-dimensional directed graph|the forensic instrument|Polygraph|the dual pen device that produces a simultaneous copy of an original while it is written in cursive writing|Polygraph (duplicating device)|an author that can write on a variety of different subjects|Polygraph (author)}}
In mathematics, and particularly in category theory, a polygraph is a generalisation of a directed graph. It is also known as a computad. They were introduced as "polygraphs" by Albert BurroniA. Burroni. Higher-dimensional word problems with applications to equational logic. TCS, 115(1):43--62, 1993. and as "computads" by Ross Street.R. Street. Limits indexed by category-valued 2-functors. Journal of Pure and Applied Algebra, 8(2):149--181, 1976.
In the same way that a directed multigraph can freely generate a category, an n-computad is the "most general" structure which can generate a free n-category.{{nlab|id=computad}}
In the context of a graph, each dimension is represented as a set of -cells. Vertices would make up the 0-cells, edges connecting vertices would be 1-cells, and then each dimension higher connects groups of the dimension beneath it. For 2-cells and up, which connect edges themselves, a source or target may consist of multiple edges of the dimension below it, as long as each set of elements are composites, i.e., are paths connected tip-to-tail.
A globular set can be seen as a specific instance of a polygraph. In a polygraph, a source or target of a -cell may consist of an entire path of elements of (-1)-cells, but a globular set restricts this to singular elements of (-1)-cells.{{nlab|id=globular+set}}