English

Friends and Strangers Walking on Graphs

Combinatorics 2021-06-16 v2

Abstract

Given graphs XX and YY with vertex sets V(X)V(X) and V(Y)V(Y) of the same cardinality, we define a graph FS(X,Y)\mathsf{FS}(X,Y) whose vertex set consists of all bijections σ:V(X)V(Y)\sigma:V(X)\to V(Y), where two bijections σ\sigma and σ\sigma' are adjacent if they agree everywhere except for two adjacent vertices a,bV(X)a,b \in V(X) such that σ(a)\sigma(a) and σ(b)\sigma(b) are adjacent in YY. This setup, which has a natural interpretation in terms of friends and strangers walking on graphs, provides a common generalization of Cayley graphs of symmetric groups generated by transpositions, the famous 1515-puzzle, generalizations of the 1515-puzzle as studied by Wilson, and work of Stanley related to flag hh-vectors. We derive several general results about the graphs FS(X,Y)\mathsf{FS}(X,Y) before focusing our attention on some specific choices of XX. When XX is a path graph, we show that the connected components of FS(X,Y)\mathsf{FS}(X,Y) correspond to the acyclic orientations of the complement of YY. When XX is a cycle, we obtain a full description of the connected components of FS(X,Y)\mathsf{FS}(X,Y) in terms of toric acyclic orientations of the complement of YY. We then derive various necessary and/or sufficient conditions on the graphs XX and YY that guarantee the connectedness of FS(X,Y)\mathsf{FS}(X,Y). Finally, we raise several promising further questions.

Keywords

Cite

@article{arxiv.2009.05040,
  title  = {Friends and Strangers Walking on Graphs},
  author = {Colin Defant and Noah Kravitz},
  journal= {arXiv preprint arXiv:2009.05040},
  year   = {2021}
}

Comments

28 pages, 6 figures

R2 v1 2026-06-23T18:27:19.235Z