category of sets equipped with a symmetric irreflexive binary relation

Notation Binsymm,irr\Bin_{\symm,\irr} Alternative notation Graph\Graph Objects pairs (X,R)(X,R), where XX is a set and R⊆X×XR \subseteq X \times X is a symmetric irreflexive binary relation Morphisms A morphism (X,R)→(Y,S)(X,R) \to (Y,S) is a relation-preserving map, i.e. a map f:X→Yf : X \to Y such that (x,x′)∈R(x,x') \in R implies (f(x),f(x′))∈S(f(x),f(x')) \in S. Related Bin\Bin, Binsymm\Bin_{\symm}, Binsymm,refl\Bin_{\symm,\refl}, Binirr\Bin_{\irr}, Binrefl\Bin_{\refl}, Quiv\Quiv

If we define an undirected graph as a pair (V,E)(V,E) with E⊆P2(V)E \subseteq P_2(V), the pair (X,R)(X,R) induces an undirected graph (X,{{x,x′}:(x,x′)∈R})(X,\{\{x,x'\} : (x,x') \in R\}), and this gives an isomorphism of categories Binsymm,irr≅Graph.\Bin_{\symm,\irr} \cong \Graph. In the proofs below, however, we will mostly not use the graph-theoretic interpretation and instead work with binary relations. This simplifies the exposition and has the additional advantage that we do not need to deal with the varying definitions of the term "graph" in the literature (simple? multiple edges? loops? finite?). Instead, we can focus on the unambiguous notion of a symmetric irreflexive binary relation.
It turns out that this category behaves exactly like Binirr\Bin_{\irr} (i.e. the category of directed graphs without loops), and the proofs of the properties are very similar.

Satisfied Properties

Assigned properties

Deduced properties

Unsatisfied Properties

Assigned properties

Deduced properties*

*This also uses the deduced satisfied properties.

Unknown properties

—

Special objects

  • initial object: (∅,∅)(\varnothing,\varnothing), which can be seen as the undirected graph with no vertices and no edges
  • products: [non-empty case] The product of a non-empty family (Xi,Ri)i∈I(X_i,R_i)_{i \in I} in Binsymm,irr\Bin_{\symm,\irr} is (∏i∈IXi,∏i∈IRi)(\prod_{i \in I} X_i, \prod_{i \in I} R_i), where ∏i∈IRi⊆∏i∈I(Xi×Xi)≅∏iXi×∏iXi\prod_{i \in I} R_i \subseteq \prod_{i \in I} (X_i \times X_i) \cong \prod_i X_i \times \prod_i X_i.
  • coproducts: The coproduct of a family (Xi,Ri)i∈I(X_i,R_i)_{i \in I} in Binsymm,irr\Bin_{\symm,\irr} is (∐i∈IXi,∐i∈IRi)(\coprod_{i \in I} X_i, \coprod_{i \in I} R_i), where ∐i∈IRi⊆∐i∈I(Xi×Xi)⊆∐i∈IXi×∐i∈IXi\coprod_{i \in I} R_i \subseteq \coprod_{i \in I} (X_i \times X_i) \subseteq \coprod_{i \in I} X_i \times \coprod_{i \in I} X_i. On the level of undirected graphs, this means that we take the disjoint union of vertices and edges, with no edges between distinct components.

Special morphisms

  • isomorphisms: bijective maps that preserve and reflect the relation
  • monomorphisms: injective relation-preserving maps
  • epimorphisms: surjective relation-preserving maps
  • regular monomorphisms: injective maps that reflect and preserve the relation
  • regular epimorphisms: morphisms f:(X,R)→(Y,S)f : (X,R) \to (Y,S) such that f:X→Yf : X \to Y is surjective and S={(f(x),f(x′)):(x,x′)∈R}S = \{(f(x),f(x')) : (x,x') \in R\}

Indistinguishable categories

These categories in the database currently have exactly the same properties as the category of sets equipped with a symmetric irreflexive binary relation. This indicates that the data may be incomplete or that a distinguishing property may be missing from the database.

Comments

  • The "category of simple graphs" studied in the nLab is a misnomer. The nLab article actually studies the category of sets equipped with a reflexive symmetric relation. Although the objects correspond to undirected graphs, since reflexive relations correspond to irreflexive relations by removing the diagonal, the morphisms are not the same. As mentioned above, the category of undirected graphs is isomorphic to the category of sets equipped with an irreflexive symmetric relation. While it is true that this category does not behave as well as the category of sets equipped with a reflexive symmetric relation, this does not justify renaming it.
  • Although the categories Binsymm,irr\Bin_{\symm,\irr} and Binirr\Bin_{\irr}, or equivalently Graph\Graph and DiGraphNL\DiGraph_{NL}, agree on all properties currently recorded in the database, they are not equivalent categories. In both categories, the one-vertex graph K1K_1 without edges can be characterized up to isomorphism as the unique connected object that admits a morphism to every non-initial object. We can then count the connected objects up to isomorphism that admit exactly two morphisms from K1K_1 (i.e. have two vertices). In Graph\Graph, there is only one such graph, ∙⟷∙\bullet \longleftrightarrow \bullet, whereas in DiGraphNL\DiGraph_{NL} there are two: ∙⟶∙\bullet \longrightarrow \bullet and ∙⟷∙\bullet \longleftrightarrow \bullet.