betaFeedback

WorksMathematics

Tight Probabilistic Aspects of Friends-and-Strangers Graphs

Abstract

Friends-and-strangers graphs, introduced by Defant and Kravitz, model arrangements of people on positions. We consider two graphs XX and YY on nn vertices. The vertices of XX represent positions with edges denoting adjacencies while the vertices of YY represent people with edges denoting friendships. Their friends-and-strangers graph is denoted by FS(X,Y)\mathsf{FS}(X,Y). Its vertices are all one-to-one placements of people on positions, and two placements are adjacent if one can swap two friends on adjacent positions to get from one placement to the other. A fundamental question is whether or not a friends-and-strangers graph is connected. A natural probabilistic analog is ``If XX and YY are independently sampled Erdős–Rényi graphs with nn vertices and edge probability p,p, what is the threshold probability for FS(X,Y)\mathsf{FS}(X,Y) to be connected with high probability?'' Alon, Defant, and Kravitz (2023) showed that p=n−1/2+o(1)p = n^{-1/2+o(1)} is the threshold probability and conjectured that p=Θ(n−1/2).p = Θ(n^{-1/2}). Milojević (2024) disproved this by showing p=Ω(n−1/2log⁡n)p = Ω(n^{-1/2}\sqrt{\log n}) is necessary for connectivity with high probability. In this work, we prove a matching upper bound, thus establishing that the threshold is p=Θ(n−1/2log⁡n).p = Θ(n^{-1/2}\sqrt{\log n}).

Introduction

Friends-and-strangers graphs were formalized by Defant and Kravitz [7].

Definition 1.1. Given two graphs XX and YY each on nn vertices, the friends-and-strangers graph FS⁡(X,Y)\operatorname{FS}(X,Y) is defined as follows. Its vertex set is the set of bijections σ:V(X)→V(Y)\sigma: V(X) \to V(Y), and σ\sigma and τ\tau are adjacent if and only if σ=τ∘(i′ j′)\sigma=\tau\circ(i'\ j') for some i′,j′∈V(X)i',j'\in V(X) with (i′,j′)∈E(X)(i',j')\in E(X) and (σ(i′),σ(j′))∈E(Y)(\sigma(i'),\sigma(j'))\in E(Y). In this case, we say σ\sigma and τ\tau differ by an (X,Y)(X,Y)-friendly swap.

Throughout this paper, we will adopt two conventions. First, we identify both vertex sets with [n][n], i.e., V(X)=V(Y)=[n]V(X)=V(Y)=[n]. Thus, the bijections will actually be permutations on [n][n]. Second, when referring to vertices of XX we will add a prime, i.e., v′∈V(X)v'\in V(X), and when referring to vertices of YY we will omit the prime, i.e., v∈V(Y)v\in V(Y).

Remark 1.2. Friends-and-strangers graphs have a natural interpretation. Let the graph XX represent nn distinct positions, and let its edges denote adjacencies between positions. Similarly, let the graph YY represent nn people, and let edges denote friendships. Friendship is not transitive in our problem. A bijection from V(X)V(X) to V(Y)V(Y) is a placement of people on the positions. Two placements are an (X,Y)(X,Y)-friendly swap apart if two friends standing on adjacent positions can swap positions to get from one placement to the other. The graph FS⁡(X,Y)\operatorname{FS}(X,Y) thus has a vertex set consisting of the placements and the edges are all of the pairs of placements differing by an (X,Y)(X,Y)-friendly swap. We will use this interpretation throughout this paper.

Example 1.3. Let X=Y=P3X = Y = P_3 be the path graph on 3 vertices. Then FS⁡(X,Y)\operatorname{FS}(X,Y) is the graph shown in Figure 1. This example was also mentioned in Defant and Kravitz [7, Example 1.1].

Figure 1. The graph FS⁡(P3,P3)\operatorname{FS}(P_3,P_3). The labels on the vertices mark the bijection from the positions to the people the vertex corresponds to, e.g., 312 represents person 3 is at position 1, person 1 is at position 2, and person 2 is at position 3.

In their initial paper, Defant and Kravitz [7] studied the basic properties of FS⁡(X,Y)\operatorname{FS}(X,Y) and characterized the connected components of FS⁡(Pn,Y)\operatorname{FS}(P_n,Y) and FS⁡(Cn,Y)\operatorname{FS}(C_n,Y) using acyclic and toric acyclic orientations. Bangachev [4] investigated extremal minimum-degree conditions guaranteeing connectivity, while Zhao, You, Lin, and Zhang [14] subsequently established sufficient conditions for higher connectivity in terms of the maximum degree of XX and the vertex connectivity of YY. Krishnan and Li [9] studied the vertex connectivity of friends-and-strangers graphs, obtaining tight bounds for certain classes of friends-and-strangers graphs as well as sufficient extremal and probabilistic conditions. Regarding diameter, Jeong [8] constructed friends-and-strangers graphs with connected components of exponentially large diameter, while Akella and Li [1] established polynomial diameter bounds under suitable minimum-degree assumptions. More recently, Mawhinney [10] resolved a conjecture of Bangachev, proving that FS⁡(X,Y)\operatorname{FS}(X,Y) is connected whenever X,YX,Y are connected and

2min⁡{δ(X),δ(Y)}+3max⁡{δ(X),δ(Y)}≥3n,2\min\{\delta(X),\delta(Y)\}+3\max\{\delta(X),\delta(Y)\}\ge3n,

and obtained asymptotically sharp diameter bounds under the same assumptions. Finally, Yang and Zhang [13] showed that deciding whether two configurations belong to the same connected component of FS⁡(X,Y)\operatorname{FS}(X,Y) is PSPACE-complete.

Previous Probabilistic Results

Most relevant to our paper are previous probabilistic results on friends-and-strangers graphs. Let G(H,p)\mathcal{G}(H,p) be a random subgraph of HH constructed by including each edge independently with probability pp. We write G(n,p)=G(Kn,p)\mathcal{G}(n,p)=\mathcal{G}(K_n,p). The original probabilistic question is the following.

Question 1.4 (Canonical Question). Let X,YX,Y be independently sampled from G(n,p)\mathcal{G}(n,p) where p=p(n)p=p(n). What is the threshold probability pp for FS⁡(X,Y)\operatorname{FS}(X,Y) to be connected?

In 2021, Alon, Defant, and Kravitz [2] proved the following.

Theorem 1.5 ([2 Theorem 1.1]). Fix some small ε>0\varepsilon>0. Let XX and YY be independently-chosen random graphs in G(n,p)\mathcal{G}(n,p), where p=p(n)p=p(n) depends on nn. If

p≤2−1/2−εn1/2,p\le\frac{2^{-1/2}-\varepsilon}{n^{1/2}},

then FS⁡(X,Y)\operatorname{FS}(X,Y) is disconnected with high probability. If

p≥exp⁡(2(log⁡n)2/3)n1/2,p \ge\frac{\exp(2(\log n)^{2/3})}{n^{1/2}},

then FS⁡(X,Y)\operatorname{FS}(X,Y) is connected with high probability.

Notice that this implies the threshold probability is n−1/2+o(1)n^{-1/2+o(1)}. Alon, Defant, and Kravitz conjectured that the true threshold was Θ(n−1/2)\Theta(n^{-1/2}) but this was disproved in 2023 by Milojević [11].

Theorem 1.6 ([11 Theorem 1.2]). There exists a constant ε>0\varepsilon> 0 with the following property. For a large positive integer nn and

p<ε(log⁡nn)1/2,p < \varepsilon\left(\frac{\log n}{n}\right)^{1/2},

if we choose random graphs XX and YY in G(n,p)\mathcal{G}(n,p) independently, FS⁡(X,Y)\operatorname{FS}(X,Y) has an isolated vertex with high probability.

Milojević further conjectured that n−1/2log⁡1/2nn^{-1/2}\log^{1/2} n was the correct probability threshold [11 Conjecture 6.1].

An important variation of the canonical question is the asymmetric version, sampling X∼G(n,p)X \sim\mathcal{G}(n,p) and Y∼G(n,q)Y \sim\mathcal{G}(n,q) independently. In 2022, Wang and Chen considered this asymmetric version.

Theorem 1.7 ([12 Theorem 1.3]). Fix some small ε>0\varepsilon> 0, and let XX and YY be independently chosen random graphs in G(n,p1)\mathcal{G}(n,p_1) and G(n,p2)\mathcal{G}(n,p_2), respectively, where p1=p1(n)p_1=p_1(n) and p2=p2(n)p_2=p_2(n) depend on nn. Let p0=exp⁡(2(log⁡n)2/3)n−1/2p_0=\exp(2(\log n)^{2/3})n^{-1/2}. If either

p1p2≤(1−ε)/2nandp1,p2≫log⁡nn,p_1p_2 \le\frac{(1-\varepsilon)/2}{n} \quad\text{and}\quad p_1,p_2 \gg\frac{\log n}{n},

or

min⁡{p1,p2}≤log⁡n+c(n)nfor some c(n)→−∞,\min\{p_1,p_2\} \le\frac{\log n+c(n)}{n} \quad\text{for some }c(n)\to-\infty,

then FS⁡(X,Y)\operatorname{FS}(X,Y) is disconnected with high probability. If

p1p2≥p02andp1,p2≥1ℓp0,p_1p_2 \ge p_0^2 \quad\text{and}\quad p_1,p_2 \ge\frac{1}{\ell}p_0,

where ℓ=(log⁡n)1/32\ell=\frac{(\log n)^{1/3}}{2}, then FS⁡(X,Y)\operatorname{FS}(X,Y) is connected with high probability.

Heuristic Argument

A heuristic argument shows why pq=Θ(log⁡n/n)pq=\Theta(\log n/n) is a reasonable threshold. We compare FS⁡(X,Y)\operatorname{FS}(X,Y) with a random graph having the same numbers of vertices and edges. FS⁡(X,Y)\operatorname{FS}(X,Y) has n!n! vertices and exactly

∣E(X)∣∣E(Y)∣(n−2)!|E(X)||E(Y)|(n-2)!

edges. Indeed, to obtain an edge, we choose a position edge (u′,v′)∈E(X)(u',v')\in E(X), a friendship (a,b)∈E(Y)(a,b)\in E(Y), and a placement of the remaining n−2n-2 people on the remaining positions. The two ways of placing a,ba,b on u′,v′u',v' give the endpoints of one friendly swap edge, and every edge arises uniquely in this way.

Thus, for independent X∼G(n,p)X\sim\mathcal{G}(n,p) and Y∼G(n,q)Y\sim\mathcal{G}(n,q), the expected average degree of FS⁡(X,Y)\operatorname{FS}(X,Y) is d=(n2)pqd=\binom{n}{2}pq. A uniformly random graph on n!n! vertices becomes connected around average degree log⁡(n!)\log(n!) [5]. Equating (n2)pq\binom{n}{2}pq with log⁡(n!)=Θ(nlog⁡n)\log(n!)=\Theta(n\log n) gives precisely pq=Θ(log⁡n/n)pq=\Theta(\log n/n).

Main Result

In this paper, we fully resolve the asymmetric upper bound.

Theorem 1.8. There exists a constant C>0C > 0 such that the following holds. Let X∼G(n,p)X \sim\mathcal{G}(n,p) and Y∼G(n,q)Y \sim\mathcal{G}(n,q) be independently sampled Erdős–Rényi random graphs. If

pq≥Clog⁡nn,pq \ge C\frac{\log n}{n},

then FS(X,Y)\mathrm{FS}(X,Y) is connected with high probability.

This is tight because FS(X,Y)\mathrm{FS}(X,Y) is disconnected if it has an isolated vertex which occurs if there is a graph packing of XX and YY into KnK_n such that neither share an edge [2]. The following mainly follows from Bollobás, Janson, and Scott [6] who determine the probability of such a packing existing when pp and qq are bounded away from 1 (leaving the remaining case where one of pp or qq is close to 1).

Proposition 1.9 ([3 Corollary 1.3]). There exists a constant C′>0C' > 0 such that the following holds. Let X∼G(n,p)X \sim\mathcal{G}(n,p) and Y∼G(n,q)Y \sim\mathcal{G}(n,q) be independently sampled Erdős–Rényi random graphs. If

pq≤C′log⁡nn,pq \le C'\frac{\log n}{n},

then FS(X,Y)\mathrm{FS}(X,Y) is disconnected with high probability.

Remark 1.10. Recently, Baldissera, Dias do Couto, Griffiths, and Moreira [3] concurrently established the same connectivity threshold pq=Θ(log⁡n/n)pq = \Theta(\log n/n). Their proof extends the embedding-based approach of Alon, Defant, and Kravitz through a technically involved analysis of expansion in induced subgraphs of friendship neighborhoods, which is then used to embed auxiliary graphs.

By contrast, our proof is considerably more elementary than both their argument and the original approach of Alon, Defant, and Kravitz. We introduce a technique called movability, which reduces connectivity to the ability to move individual people between adjacent positions. This allows us to replace the elaborate embedding constructions of [2, 3] with two simple arms joined by a friendship edge. In particular, our argument avoids Janson’s inequality and relies only on standard concentration bounds, elementary random graph properties, and union bounds.

In terms of similarities, both proofs use a partition to obtain independence when testing friendship neighborhoods. They use expansion in these neighborhoods to embed auxiliary graphs. With our movability reduction we construct our auxiliary graphs directly using vertex connectivity.

Preliminaries

All graphs are finite and simple. We use the following standard graph-theoretic notation:

  • For a graph GG and v∈V(G)v \in V(G), let NG(v)N_G(v) denote the set of neighbors of vv, dG(v)d_G(v) denote the degree of vv, and δ(G)\delta(G) denote the minimum degree of GG.

  • For U⊆V(G)U \subseteq V(G), let G[U]G[U] denote the subgraph of GG induced by UU.

  • A graph GG is kk-vertex-connected if ∣V(G)∣>k|V(G)| > k and deleting any set of fewer than kk vertices leaves a connected graph. Its vertex connectivity κ(G)\kappa(G) is the largest kk for which GG is kk-vertex-connected.

  • An event holds with high probability if its probability tends to 1 as n→∞n \to\infty.

All constants in this paper are independent of nn; a sufficiently large constant may be increased to satisfy finitely many requirements.

In the remainder of this section, we provide some probabilistic lemmas that will be used in later proofs. All of these statements are standard, and variations of these proofs may be found in [5]; we include the quantitative versions needed below.

The main concentration inequality we use is the Chernoff bound.

Lemma 2.1 (Chernoff bounds). Let ZZ be a binomial or hypergeometric random variable with mean μ\mu. For every 0<ε<10 < \varepsilon< 1,

P(Z≤(1−ε)μ)≤e−ε2μ/2,P(Z≥(1+ε)μ)≤e−ε2μ/3.\mathbb{P}(Z \le(1-\varepsilon)\mu) \le e^{-\varepsilon^{2}\mu/2}, \qquad\mathbb{P}(Z \ge(1+\varepsilon)\mu) \le e^{-\varepsilon^{2}\mu/3}.

The following lemmas give conditions for the following properties to hold:

  • Lemma 2.2: kk-vertex-connectivity,

  • Lemma 2.3: every pair of vertices having at least kk common neighbors,

  • Lemma 2.4: every pair of large disjoint sets of vertices connected by an edge,

  • Lemma 2.5: every pair of vertices connected by a short path of even length.

Lemma 2.2. For every fixed A>0A > 0, there exists a constant CA>0C_A > 0 with the following property. Let 1≤k=k(n)≤log⁡n1 \le k = k(n) \le\log n, and let G∼G(n,p)G \sim\mathcal{G}(n,p) where p=p(n)≥CAn−1log⁡np = p(n) \ge C_A n^{-1} \log n. Then GG is kk-vertex-connected with probability at least 1−n−A1 - n^{-A}.

Proof. For sufficiently large CAC_A, Chernoff and a union bound give P(δ(G)<2k)≤ne−Ω(np)\mathbb{P}(\delta(G) < 2k) \le n e^{-\Omega(np)} as k≤log⁡nk \le\log n. Suppose δ(G)≥2k\delta(G) \ge2k but deleting a set DD, ∣D∣<k|D| < k, disconnects GG. A smallest remaining component, with vertex set TT, satisfies that each vertex of TT has degree at least kk in G[T]G[T]. Since TT is a smallest remaining component, k≤t:=∣T∣≤(n−∣D∣)/2k \le t := |T| \le(n - |D|)/2. For fixed D,TD,T, the probability no edge joins TT to V(G)∖(D∪T)V(G) \setminus(D \cup T) is at most (1−p)t(n/3)≤e−npt/3(1-p)^{t(n/3)} \le e^{-npt/3} for large nn since ∣V(G)∖(D∪T)∣≥n/3|V(G) \setminus(D \cup T)| \ge n/3 for large nn. There are at most knk+tk n^{k+t} choices of D,TD,T of these sizes. Consequently, the failure probability is at most

ne−Ω(np)+k∑t=k⌊n/2⌋nk+te−npt/3≤ne−Ω(np)+k∑t=k⌊n/2⌋n2te−npt/3.n e^{-\Omega(np)} + k \sum_{t=k}^{\lfloor n/2\rfloor} n^{k+t}e^{-npt/3} \le n e^{-\Omega(np)} + k \sum_{t=k}^{\lfloor n/2\rfloor} n^{2t}e^{-npt/3}.

Taking CAC_A sufficiently large makes this at most n−An^{-A}.

Lemma 2.3. There exists a constant C>0C > 0 with the following property. Let k=k(n)≥1k = k(n) \ge1, and let G∼G(n,p)G \sim\mathcal{G}(n,p) where

p=p(n)≥Cn−1/2k+log⁡n.p = p(n) \ge C n^{-1/2}\sqrt{k+\log n}.

Then every two distinct vertices of GG have at least kk common neighbors with high probability.

Proof. For fixed distinct vertices u,vu,v, the number of their common neighbors has distribution Bin⁡(n−2,p2)\operatorname{Bin}(n-2,p^2), with mean μ=(n−2)p2\mu= (n-2)p^2. For sufficiently large CC and nn, we have μ≥2k\mu\ge2k and μ≥24log⁡n\mu\ge24\log n. By Chernoff,

P(∣NG(u)∩NG(v)∣<k)≤e−μ/8≤n−3.\mathbb{P}(|N_G(u) \cap N_G(v)| < k) \le e^{-\mu/8} \le n^{-3}.

A union bound over all pairs of vertices completes the proof.

Lemma 2.4. Let 1≤t≤n/21 \le t \le n/2 be an integer, and let G∼G(n,p)G \sim\mathcal{G}(n,p) where p≥3t−1log⁡np \ge3t^{-1}\log n. Then, with probability at least 1−n−t1-n^{-t}, every two disjoint sets of tt vertices have an edge between them.

Proof. For fixed disjoint sets, the probability of no edge between them is (1−p)t2≤e−pt2(1-p)^{t^2} \le e^{-pt^2}. A union bound gives failure at most n2te−pt2≤n−tn^{2t}e^{-pt^2} \le n^{-t}. ■

Lemma 2.5. There exists a constant C>0C>0 with the following property. Let G∼G(n,p)G \sim\mathcal{G}(n,p) where p=p(n)≥Cn−1log⁡np=p(n)\ge Cn^{-1}\log n. Then, with high probability, every two distinct vertices of GG are joined by a simple path of even length at most

2⌈2log⁡nlog⁡log⁡n⌉.2\left\lceil\frac{2\log n}{\log\log n}\right\rceil.

Proof. Set r=⌈2log⁡n/log⁡log⁡n⌉r=\lceil2\log n/\log\log n\rceil. Let V(G)=A\mathbin{\mathaccent\cdot\cup}B\mathbin{\mathaccent\cdot\cup}J be an ordered balanced partition, i.e. with part sizes differing by at most one. Let such a partition be good if

diam⁡G[A],diam⁡G[B]≤r−1\operatorname{diam}G[A],\operatorname{diam}G[B]\le r-1

and there is a triangle xyzxyz with x∈Ax\in A, y∈By\in B, and z∈Jz\in J.

For a good partition, every u∈Au\in A and v∈Bv\in B are joined by a simple even-length path of length at most 2r2r. Indeed, take shortest paths from uu to xx in G[A]G[A] and from yy to vv in G[B]G[B]. Joining these paths through xyxy or through xzyxzy gives two simple uu–vv paths of opposite parity, each of length at most 2(r−1)+2=2r2(r-1)+2=2r. Thus, it suffices to show every pair of vertices uu and vv satisfies u∈Au\in A and v∈Bv\in B for some good partition A\mathbin{\mathaccent\cdot\cup}B\mathbin{\mathaccent\cdot\cup}J.

Because p≥Cn−1log⁡np\ge Cn^{-1}\log n, for a fixed balanced partition, the diameter bound [5 Theorem 10.18] gives diam⁡G[A],diam⁡G[B]≤r−1\operatorname{diam}G[A],\operatorname{diam}G[B]\le r-1 with high probability. Although Theorem 10.18 is stated for the fixed-edge model (i.e., their graph is randomly chosen from graphs with exactly MM edges), we can use a Chernoff bound to condition on having at least MM edges in induced subgraphs of GG.

A standard second-moment calculation gives the required triangle with high probability, since np≥Clog⁡nnp\ge C\log n. Thus each fixed partition is good with probability 1−o(1)1-o(1), uniformly over balanced partitions. By linearity of expectation, the expected fraction of partitions that fail to be good is o(1)o(1). Markov’s inequality then shows that this fraction is less than 1/101/10 with high probability.

Fix a GG where the fraction of bad balanced partitions is at most 1/101/10. For any distinct vertices u,vu,v, a fraction 1/9+o(1)1/9+o(1) of the ordered balanced partitions have u∈Au\in A and v∈Bv\in B. Since this exceeds 1/101/10 for sufficiently large nn, at least one of those partitions is good. ■

Movability

A critical idea in friends-and-strangers graphs is exchangeability which was first defined by Alon, Defant, and Kravitz [2]. Let XX and YY be two graphs on nn vertices and fix a bijection σ:V(X)→V(Y)\sigma:V(X)\to V(Y). Vertices u,v∈V(Y)u,v\in V(Y) with (σ−1(u),σ−1(v))∈E(X)(\sigma^{-1}(u),\sigma^{-1}(v))\in E(X) are (X,Y)(X,Y)-exchangeable from σ\sigma if there is a sequence of (X,Y)(X,Y)-friendly swaps transforming σ\sigma into $(u\ v)\circ\sigma.

Lemma 3.1 ([2 Lemma 2.9]). Let XX and YY be two graphs on nn vertices where XX is connected. Assume that for all vertices u,v∈V(Y)u,v\in V(Y), and all permutations, σ\sigma, where (σ−1(u),σ−1(v))∈E(X)(\sigma^{-1}(u),\sigma^{-1}(v))\in E(X), we have that uu and vv are (X,Y)(X,Y)-exchangeable from σ\sigma. Then FS⁡(X,Y)\operatorname{FS}(X,Y) is connected.

This notion is powerful because it reduces the global problem of connectivity into a more localized problem of swapping just two people on adjacent positions in a placement. Movability is an even more local condition building on exchangeability.

Definition 3.2. Let XX and YY be two graphs on nn vertices. Fix a bijection σ:V(X)→V(Y)\sigma: V(X) \to V(Y). Let a,b∈V(Y)a,b \in V(Y) be distinct vertices, write a′=σ−1(a)a' = \sigma^{-1}(a) and b′=σ−1(b)b' = \sigma^{-1}(b), and suppose (a′,b′)∈E(X)(a',b') \in E(X). Then, we write a→ba \to b is (X,Y,k)(X,Y,k)-movable from σ\sigma if for every set S⊆V(Y)∖{a,b}S \subseteq V(Y) \setminus\{a,b\} of size at most kk there exists a series of friendly swaps moving aa from a′a' to b′b' which never swaps with any person in SS. We will refer to SS as the people we protect.

In what follows kk will be relatively small, in particular, k≤log⁡nk \le\log n. Thus, for sufficiently well connected graphs, movability is a substantially weaker requirement than exchangeability as we do not have to maintain the positions of the other people. Under restrictions (which are light from a probabilistic standpoint), we can show that movability implies exchangeability and thus, applying Lemma 3.1, movability implies FS⁡(X,Y)\operatorname{FS}(X,Y) is connected.

The idea behind the following lemmas is to first have a particular pair GG and HH with u,v∈V(H)u,v \in V(H) of friends-and-strangers graphs and a bijection ρ:V(G)→V(H)\rho: V(G) \to V(H), so that (u v)∘ρ(u\ v) \circ\rho and ρ\rho are connected in FS⁡(G,H)\operatorname{FS}(G,H). The idea then is to use movability to get into a situation where we can embed GG and HH into XX and YY respectively, swap uu and vv, and then reverse the movability steps to just get the original bijection with uu and vv swapped, implying exchangeability.

Lemma 3.3. Let r≥1r \ge1, and let GG and HH be graphs on 2r+12r+1 vertices where GG is a cycle and HH has two vertices uu and vv whose neighborhoods are both the other 2r−12r-1 vertices. Let ρ:V(G)→V(H)\rho: V(G) \to V(H) be a bijection where ρ−1(u)\rho^{-1}(u) and ρ−1(v)\rho^{-1}(v) are adjacent. Then, there exist friendly swaps in FS⁡(G,H)\operatorname{FS}(G,H) turning ρ\rho into (u v)∘ρ(u\ v) \circ\rho.

Proof. Let GG have vertices u′,x1′,…,x2r−1′,v′u',x'_1,\ldots,x'_{2r-1},v' appearing consecutively in the cycle. Let HH have vertices u,x1,…,x2r−1,vu,x_1,\ldots,x_{2r-1},v such that (u,xi),(v,xi)∈E(H)(u,x_i),(v,x_i) \in E(H) for every 1≤i≤2r−11 \le i \le2r-1. Relabeling the remaining vertices according to ρ\rho, we may assume ρ(u′)=u\rho(u') = u, ρ(v′)=v\rho(v') = v, and ρ(xi′)=xi\rho(x_i') = x_i for every ii. See Figure 2.

Position graph $G$ and friendship graph $H$

Figure 2. The graphs GG and HH in the statement of Lemma 3.3.

For each j=1,…,2r+1j = 1, \ldots, 2r + 1, perform the following swaps:

{(v x2r−1),(v x2r−2),…,(v x1)j odd,(u x2r−1),(u x2r−2),…,(u x1)j even.\begin{cases} (v\,x_{2r-1}), (v\,x_{2r-2}), \ldots, (v\,x_1) & j\text{ odd},\\ (u\,x_{2r-1}), (u\,x_{2r-2}), \ldots, (u\,x_1) & j\text{ even}. \end{cases}

Initially, the first sequence moves vv backwards along the cycle, changing the occupants in the displayed position order from

u,x1,…,x2r−1,vtou,v,x1,…,x2r−1.u, x_1, \ldots, x_{2r-1}, v \quad\text{to}\quad u, v, x_1, \ldots, x_{2r-1}.

After each step, every xix_i advances one position clockwise, and the consecutive pair u,vu, v advances one position clockwise with its order reversed. Initially, this pair occupies v′,u′v', u' in the order v,uv, u. After 2r+12r + 1 steps, it again occupies v′,u′v', u', now in the order u,vu, v, since 2r+12r + 1 is odd. Meanwhile, each xix_i has made one complete circuit and returned to xi′x_i'. Thus the final placement sends u′u' to vv, v′v' to uu, and every xi′x_i' to xix_i, as required. ■

Lemma 3.4. Let r≥1r \ge1, and let XX and YY be graphs on nn vertices. Suppose that

  • XX is (2r+1)(2r + 1)-vertex-connected;

  • every edge of XX lies on an odd cycle of length at most 2r+12r + 1;

  • every two distinct vertices of YY have at least 2r−12r - 1 common neighbors.

Suppose further that, for every placement σ:V(X)→V(Y)\sigma: V(X) \to V(Y) and every ordered pair a,b∈V(Y)a, b \in V(Y) with a′=σ−1(a)a' = \sigma^{-1}(a), b′=σ−1(b)b' = \sigma^{-1}(b), and (a′,b′)∈E(X)(a', b') \in E(X), the movement a→ba \to b is (X,Y,2r)(X, Y, 2r)-movable from σ\sigma. Then FS⁡(X,Y)\operatorname{FS}(X, Y) is connected.

Proof. Since XX is connected, Lemma 3.1 reduces the claim to exchanging the occupants u,vu, v of any adjacent positions u′,v′u', v' from any placement σ\sigma. Choose an odd cycle through (u′,v′)(u', v') with cyclic vertex order u′,w1′,…,w2s−1′,v′u', w_1', \ldots, w_{2s-1}', v', for $1 \le s \le r$ and choose distinct common friends h1,…,h2s−1h_1, \ldots, h_{2s-1} of $u, v.

We will now show how to move each hjh_j onto wj′w_j' for each j∈{1,…,2s−1}j \in\{1, \ldots, 2s - 1\}. We will consider stages 1,…,2s−11, \ldots, 2s - 1. At stage jj, protect the people

Fj={u,v,h1,…,hj−1}.F_j = \{u, v, h_1, \ldots, h_{j-1}\}.

There are j+1≤2s≤2rj + 1 \le2s \le2r protected people. Their positions can be deleted while leaving XX connected, by (2r+1)(2r + 1)-vertex-connectivity. Let π0\pi_0 be the current bijection from V(X)V(X) to V(Y)V(Y). We can thus choose a path

v0′=π0−1(hj),v1′,…,vk′=wj′,v_0' = \pi_0^{-1}(h_j), v_1', \ldots, v_k' = w_j',

avoiding the positions π0−1(Fj)\pi_0^{-1}(F_j).

Initialize i=0i = 0 so that hj=πi(vi′)h_j = \pi_i(v_i'). By (X,Y,2r)(X, Y, 2r)-movability, there is a sequence of friendly swaps moving hjh_j from vi′v_i' to vi+1′v_{i+1}' without swapping any person in FjF_j. Denote the resulting placement by πi+1\pi_{i+1}. We can repeat for i=0,…,k−1i = 0, \ldots, k - 1, and at the end, hjh_j occupies vk′=wj′v_k' = w_j', and every person in FjF_j remains fixed.

After completing the above process for every stage, let τ\tau be the resulting placement. Note that τ(u′)=u\tau(u') = u, τ(v′)=v\tau(v') = v, and τ(wj′)=hj\tau(w_j') = h_j for 1≤j≤2s−11 \le j \le2s - 1. Its cycle occupants are

u,h1,…,h2s−1,v.u, h_1, \ldots, h_{2s-1}, v.

Lemma 3.3 supplies friendly swaps on this cycle transforming τ\tau into (u v)∘τ(u\ v) \circ\tau and restoring every hjh_j to wj′w'_j.

We now reverse the entire sequence used to place the common friends. No swap in that sequence involved uu or vv, so every reverse swap is still friendly after their exchange. More explicitly, let PP be the permutation of people produced by the placement sequence, so τ=P∘σ\tau= P \circ\sigma. Since PP fixes u,vu,v, it commutes with (u v)(u\ v), and the final placement is

P−1∘(u v)∘P∘σ=(u v)∘σ.P^{-1} \circ(u\ v) \circ P \circ\sigma= (u\ v) \circ\sigma.

Thus uu and vv exchange positions and every other person returns to their original position. As this holds for every placement and position edge, FS(X,Y)FS(X,Y) is connected. See Figure 3 for an illustration of these steps when r=1r = 1.

Exchangeability argument turning sigma into (u v) composed with sigma

Figure 3. The exchangeability argument turning σ\sigma into (u v)∘σ(u\ v) \circ\sigma. Unlabeled circles contain people whose identities are irrelevant to the argument.

This type of movement pattern with r=1r = 1 (where rr defined as in Lemma 3.3) appeared in Bangachev [4], e.g., see [4 Figures 10-12], but it was not formalized nor applied to the probabilistic setting where it drastically simplifies constructions.

We can now apply this to the canonical setting using standard random-graph estimates from § 2.

Corollary 3.5. Let X∼G(n,p)X \sim\mathcal{G}(n,p) and Y∼G(n,q)Y \sim\mathcal{G}(n,q) be independently sampled, where p=p(n)≤q=q(n)p=p(n)\le q=q(n) and pq≥Cn−1log⁡npq\ge Cn^{-1}\log n. Let

r=⌈2log⁡nlog⁡log⁡n⌉.r=\left\lceil\frac{2\log n}{\log\log n}\right\rceil.

Then, if with high probability, for every σ:V(X)→V(Y)\sigma:V(X)\to V(Y) and every a,b∈V(Y)a,b\in V(Y) where a′=σ−1(a)a'=\sigma^{-1}(a), b′=σ−1(b)b'=\sigma^{-1}(b), and (a′,b′)∈E(X)(a',b')\in E(X), we have a→b′a\to b' is (X,Y,2r)(X,Y,2r)-movable from σ\sigma, then FS⁡(X,Y)\operatorname{FS}(X,Y) is connected with high probability.

Proof. We can just apply Lemma 3.4, noting that p,q≥Cn−1log⁡np,q\ge Cn^{-1}\log n. Since 2r=o(log⁡n)2r=o(\log n), for sufficiently large CC, Lemma 2.2 gives that XX is (2r+1)(2r+1)-vertex-connected, Lemma 2.5 gives that every edge of XX is contained in an odd cycle of length at most 2r+12r+1, and Lemma 2.3 gives that every two distinct vertices of YY have at least 2r−12r-1 common neighbors, all with high probability. ■

The rest of the paper will be devoted to showing a→b′a\to b' is (X,Y,2r)(X,Y,2r)-movable from σ\sigma for every a,b,σa,b,\sigma with high probability.

Construction

To show movability, we adopt the broad proof strategy of Alon, Defant, and Kravitz [2] which is to find auxiliary configurations in XX and YY which allow us to move a→b′a\to b'. This is similar to the idea behind Lemma 3.4 where we embedded a construction in order to swap uu and vv.

Unlike Alon, Defant, and Kravitz, we will not need to give a specific graph and embed it into XX and YY. Our construction, because of movability, is much simpler, and thus can be found in XX and YY by specifying only its structural properties.

Fix a placement σ:V(X)→V(Y)\sigma:V(X)\to V(Y), distinct people a,b∈V(Y)a,b\in V(Y), and their corresponding positions a′=σ−1(a)a'=\sigma^{-1}(a) and b′=σ−1(b)b'=\sigma^{-1}(b), where (a′,b′)∈E(X)(a',b')\in E(X). Also fix a set S⊆V(Y)∖{a,b}S\subseteq V(Y)\setminus\{a,b\} of people we are protecting.

For each i∈{1,2}i\in\{1,2\}, we have the following construction consisting of a simple cycle QiQ_i in XX, together with

  • a “port” position si∈V(Qi)s_i\in V(Q_i) adjacent to b′b';

  • a “helper” person si~∈V(Y)\widetilde{s_i}\in V(Y) initially at si~′=σ−1(si~)∈V(Qi)\widetilde{s_i}'=\sigma^{-1}(\widetilde{s_i})\in V(Q_i);

  • a “center” person ci∈V(Y)c_i\in V(Y) initially at ci′=σ−1(ci)∉V(Qi)c_i'=\sigma^{-1}(c_i)\notin V(Q_i);

and a path PiP_i connecting ci′c_i' to a vertex of QiQ_i other than si~′\widetilde{s_i}' such that all internal vertices of PiP_i lie outside QiQ_i. The center cic_i is friends with every other person occupying a position in V(Pi)∪V(Qi)V(P_i)\cup V(Q_i). We will call this construction an arm. To connect the two arms to aa and bb, we require

(a,s1~),(s1~,s2~),(s2~,b)∈E(Y).(a,\widetilde{s_1}),\quad(\widetilde{s_1},\widetilde{s_2}),\quad(\widetilde{s_2},b)\in E(Y).

See Figure 4 for an illustration of this construction.

Figure 4. The arm construction used in Lemma 4.1.

If we can find two such arms which are vertex-disjoint and avoid {a′,b′}∪σ−1(S)\{a',b'\}\cup\sigma^{-1}(S), we can move a→b′a\to b' just using friendly swaps within the arms, aa, and bb. Let GG be the subgraph of XX formed by the two arms, a′a', and b′b', and let HH be the subgraph of YY formed by the two arms, aa, and bb. Define ρ=σ∣V(G):V(G)→V(H)\rho=\sigma|_{V(G)}:V(G)\to V(H).

Lemma 4.1. There are friendly swaps in FS⁡(G,H)\operatorname{FS}(G,H) turning ρ\rho into π\pi where π(b′)=a\pi(b')=a.

Proof. For each i∈{1,2}i \in\{1,2\}, first move cic_i along PiP_i onto QiQ_i. Every swap is friendly, and s~i\tilde{s}_i remains on QiQ_i. We then move s~i\tilde{s}_i around QiQ_i to si′s_i' as follows. If s~i\tilde{s}_i is not already at si′s_i', choose the next position v′v' along the cycle towards si′s_i'. Move cic_i to v′v' along the arc of QiQ_i between cic_i and v′v' which does not contain the current position of s~i\tilde{s}_i. Finally, swap cic_i with s~i\tilde{s}_i. Repeat until s~i\tilde{s}_i occupies si′s_i'. All these swaps are friendly because cic_i is friends with every other person in arm ii.

Since the arms are disjoint and avoid a′,b′a', b', these procedures leave a,ba,b fixed and place s~1,s~2\tilde{s}_1,\tilde{s}_2 at s1′,s2′s_1',s_2', respectively. Now perform the swaps

bs~2,s~2s~1,s~1a.b\tilde{s}_2,\qquad\tilde{s}_2\tilde{s}_1,\qquad\tilde{s}_1a.

They are friendly by the three required friendships, and use the position edges b′s2′b's_2', b′s1′b's_1', and b′a′b'a', respectively. The successive occupants of b′b' are therefore

b,s~2,s~1,a.b,\qquad\tilde{s}_2,\qquad\tilde{s}_1,\qquad a.

Thus the resulting placement π\pi satisfies π(b′)=a\pi(b')=a. ■

Endgame

In this section, let X∼G(n,p)X \sim\mathcal{G}(n,p) and Y∼G(n,q)Y \sim\mathcal{G}(n,q) be independently sampled, where p≤qp \le q and pq≥Cn−1log⁡npq \ge Cn^{-1}\log n. Fix constants k1>10k_1 > 10 and k2>2k1k_2 > 2k_1, and choose CC sufficiently large afterwards. Throughout, let

r=⌊2log⁡nlog⁡log⁡n⌋,t=⌊k2q−1log⁡n⌋.r = \left\lfloor\frac{2\log n}{\log\log n} \right\rfloor,\qquad t = \left\lfloor k_2q^{-1}\log n \right\rfloor.

Note 2r=o(log⁡n)2r = o(\log n) and q≥Cn−1log⁡nq \ge\sqrt{Cn^{-1}\log n}.

We will prove that every required movement a→b′a \to b' is (X,Y,2r)(X,Y,2r)-movable by embedding the construction using Lemma 4.1, and then apply Corollary 3.5.

The main idea is to build one arm, using high vertex-connectivity and vertex degrees to construct the cycles and paths necessary. We then build two such arms in disjoint regions, varying the centers to obtain many possible helpers s~i\tilde{s}_i. Because of the many choices of arms, we can then choose arms with mutually friendly helpers s~1\tilde{s}_1 and s~2\tilde{s}_2 among the friends of aa and bb, respectively. This will then construct the two arms necessary.

For fixed σ\sigma, aa, bb, SS where ∣S∣≤2r|S| \le2r, we call a position eligible if it does not belong to σ−1(S∪{a,b})\sigma^{-1}(S\cup\{a,b\}).

Finding one arm

We start by giving simple degree and vertex connectivity conditions for an arm to exist.

Lemma 5.1. Choose ci∈V(Y)∖(S∪{a,b})c_i \in V(Y) \setminus(S\cup\{a,b\}), and write ci′=σ−1(ci)c'_i=\sigma^{-1}(c_i). Let UU be any subset of σ−1(NY(ci)∖(S∪{a,b}))\sigma^{-1}(N_Y(c_i)\setminus(S\cup\{a,b\})).

Suppose that X[U]X[U] is 2-vertex-connected and that both b′b' and ci′c'_i have at least two neighbors in UU. Then for every s~i∈U\tilde{s}_i\in U, there is an arm with s~i=σ(si′)\tilde{s}_i=\sigma(s'_i), Qi∪Pi⊆X[U∪{ci′}]Q_i\cup P_i\subseteq X[U\cup\{c'_i\}], and (si′,b′)∈E(X)(s'_i,b')\in E(X).

Proof. Choose si′∈U∩NX(b′)s'_i\in U\cap N_X(b') different from s~i′=σ−1(s~i)\tilde{s}'_i=\sigma^{-1}(\tilde{s}_i). By 2-vertex-connectivity and Menger’s theorem, two internally vertex-disjoint paths between si′s'_i and s~i′\tilde{s}'_i form a simple cycle QiQ_i.

Choose z′∈U∩NX(ci′)z'\in U\cap N_X(c'_i) different from s~i′\tilde{s}'_i. Since X[U]−s~i′X[U]-\tilde{s}'_i is connected, there is a path, possibly of length zero, from z′z' to V(Qi)∖{s~i′}V(Q_i)\setminus\{\tilde{s}'_i\} avoiding s~i′\tilde{s}'_i. Stop at its first contact with QiQ_i and prepend the edge ci′z′c'_iz'. This gives PiP_i, with no internal vertex in QiQ_i.

Every other person used belongs to σ(U)\sigma(U) and is therefore friends with cic_i, as required. ■

Admissible partitions

We now determine the probabilities of the vertex connectivity and degree conditions of Lemma 5.1 occurring for a random UU.

Lemma 5.2. Fix V⊆V(X)V\subseteq V(X) of size n/4+O(1)n/4+O(1), and independently include each position of VV with probability qq to obtain WW. With probability at least 1−n−4k11-n^{-4k_1} over X,WX,W, the graph X[W]X[W] is (2r+4)(2r+4)-vertex-connected and every position of XX has at least 2r+42r+4 neighbors in WW.

Proof. Chernoff gives nq/8≤M:=∣W∣≤nq/2nq/8\le M:=|W|\le nq/2 except with probability e−Ω(nq)e^{-\Omega(nq)}. Conditional on any such WW, the edges of X[W]X[W] remain independent, so

X[W]∼G(M,p),Mp≥npq/8≥(C/8)log⁡n.X[W]\sim G(M,p),\qquad Mp\ge npq/8\ge(C/8)\log n.

Since p≤qp\le q and npq≥Clog⁡nnpq\ge C\log n, we have M≥nM\ge\sqrt{n} for sufficiently large nn. Thus log⁡M=Θ(log⁡n)\log M=\Theta(\log n) and 2r+4≤log⁡M2r+4\le\log M.

Lemma 2.2, with A=8k1+2A=8k_1+2, bounds the failure of (2r+4)(2r+4)-vertex-connectivity by

M−(8k1+2)≤n−4k1−1,M^{-(8k_1+2)}\le n^{-4k_1-1},

for sufficiently large CC.

For each position v′v', its degree into WW has distribution

Bin⁡(M−1{v′∈W},p)\operatorname{Bin}\left(M-\mathbf{1}_{\{v'\in W\}},p\right)

and hence mean Ω(npq)\Omega(npq). Since 2r+4=o(npq)2r+4=o(npq), Chernoff and a union bound over all positions give the degree assertion with failure probability ne−Ω(npq)ne^{-\Omega(npq)}. Increasing CC makes the total failure probability at most n−4k1n^{-4k_1}. ■гылеит

Consider ordered balanced partitions

V(X)=V1⊔H1⊔V2⊔H2,∣Vi∣,∣Hi∣=n/4+O(1).V(X)=V_1\mathbin{\sqcup}H_1\mathbin{\sqcup}V_2\mathbin{\sqcup}H_2,\qquad|V_i|,|H_i|=n/4+O(1).

The sets Vi,HiV_i,H_i consist of positions. For each i∈{1,2}i\in\{1,2\}, let WiW_i be obtained by independently retaining each position of ViV_i with probability qq.

We call the partition admissible for XX if

Bi(X):=P(the conclusion of Lemma 5.2 fails for W=Wi∣X)≤n−2k1(i=1,2).B_i(X):=\mathbb{P}(\text{the conclusion of Lemma 5.2 fails for }W=W_i\mid X)\le n^{-2k_1}\qquad(i=1,2).

By Lemma 5.2 and Markov’s inequality, each fixed balanced partition fails to be admissible for XX with probability at most 2n−2k12n^{-2k_1}. Therefore, the expected fraction of inadmissible partitions is at most 2n−2k12n^{-2k_1}. Another application of Markov shows that, with probability at least 1−4n−2k11-4n^{-2k_1}, at least half of all balanced partitions are admissible for XX.

Uniformly finding arms

Lemma 5.3. All but fewer than tt eligible positions in ViV_i can serve as s~i\tilde{s}_i in an arm with ci′∈Hic'_i\in H_i and all other positions in ViV_i. For each fixed XX, this holds simultaneously for every admissible partition, all choices of σ,a,b,S\sigma,a,b,S as above, and both i∈{1,2}i\in\{1,2\}, with probability 1−o(1)1-o(1) over YY.

Proof. Fix XX, an admissible partition, σ,a,b,S\sigma,a,b,S, and i∈{1,2}i\in\{1,2\}. Let TT be any set of tt eligible positions in ViV_i. We show that some position in TT can serve as s~i\tilde{s}_i.

For each ci∉S∪{a,b}c_i\notin S\cup\{a,b\} with ci′=σ−1(ci)∈Hic'_i=\sigma^{-1}(c_i)\in H_i, let

Wci={v′∈Vi:(ci,σ(v′))∈E(Y)}.W_{c_i}=\{v'\in V_i:(c_i,\sigma(v'))\in E(Y)\}.

For the fixed placement, WciW_{c_i} is obtained by independently retaining each position of ViV_i with probability qq.

By admissibility, WciW_{c_i} fails the connectivity or degree conclusion of Lemma 5.2 with probability at most n−2k1n^{-2k_1}. Moreover,

P(Wci∩T=∅∣X)=(1−q)t≤e−qt≤n−k2.\mathbb{P}(W_{c_i}\cap T=\varnothing\mid X)=(1-q)^t\le e^{-qt}\le n^{-k_2}.

If neither event occurs, choose s~i∈Wci∩T\tilde{s}_i\in W_{c_i}\cap T and let UU consist of the eligible positions in WciW_{c_i}. Removing at most 2r+22r+2 positions preserves 2-vertex-connectivity of X[U]X[U] and leaves both b′b' and ci′c'_i with at least two neighbors in UU. Thus Lemma 5.1 gives the required arm.

Consequently, the probability that a fixed cic_i fails to produce an arm with endpoint in TT is at most

n−2k1+n−k2≤n−k1n^{-2k_1}+n^{-k_2}\le n^{-k_1}

for sufficiently large nn.

These events are independent over the choices of cic_i, since each depends only on friendship edges between cic_i and people occupying ViV_i, while the centers occupy the disjoint set HiH_i. There are at least ∣Hi∣−2r−2≥n/5|H_i|-2r-2\ge n/5 choices of cic_i. Hence the probability that every choice fails is at most

n−k1n/5.n^{-k_1n/5}.

Taking a union bound over at most 4n4^n partitions, n!n! placements, n2n^2 choices of a,ba,b, 2n2^n choices each of S,TS,T, and two choices of ii, the total conditional failure probability is at most

2⋅n! n2 16nn−k1n/5=o(1).2\cdot n!\,n^2\,16^n n^{-k_1n/5}=o(1).

Thus every set of tt eligible positions in ViV_i contains a position supporting an arm, so fewer than tt eligible positions fail to support one.

Completing the proof

Theorem 5.4. With high probability, for every placement σ\sigma and every a,b∈V(Y)a,b \in V(Y) with a′=σ−1(a)a'=\sigma^{-1}(a), b′=σ−1(b)b'=\sigma^{-1}(b), and (a′,b′)∈E(X)(a',b') \in E(X), the movement a→ba \to b is (X,Y,2r)(X,Y,2r)-movable from σ\sigma.

Proof. With high probability, the following hold:

  1. δ(Y)≥nq/2\delta(Y) \ge nq/2;

  2. every two disjoint sets of tt people have a friendship between them;

  3. at least half of the balanced partitions are admissible for XX;

  4. the conclusion of Lemma 5.3 holds.

Fix such X,YX,Y, and fix σ,a,b,S\sigma,a,b,S with S⊆V(Y)∖{a,b}S \subseteq V(Y) \setminus\{a,b\} and ∣S∣≤2r|S| \le2r.

Since δ(Y)≥nq/2\delta(Y) \ge nq/2, a uniformly random balanced partition satisfies

∣σ(V1)∩NY(a)∣≥nq/16,∣σ(V2)∩NY(b)∣≥nq/16|\sigma(V_1) \cap N_Y(a)| \ge nq/16,\qquad|\sigma(V_2) \cap N_Y(b)| \ge nq/16

with probability 1−o(1)1-o(1), by the hypergeometric Chernoff bound. Since at least half of the partitions are admissible for XX, there exists an admissible partition satisfying both inequalities.

By Lemma 5.3, fewer than tt eligible positions in each ViV_i fail to support an arm. Moreover, for sufficiently large CC,

nq16−(2r+2)≥2t.\frac{nq}{16}-(2r+2)\ge2t.

Therefore, after excluding the ineligible positions and those that fail to support arms, we can choose disjoint sets

A1⊆NY(a)∩σ(V1),A2⊆NY(b)∩σ(V2)A_1 \subseteq N_Y(a) \cap\sigma(V_1),\qquad A_2 \subseteq N_Y(b) \cap\sigma(V_2)

of size tt, consisting entirely of people occupying eligible positions that support arms.

By the random-set-edges property, there exist s~1∈A1\tilde{s}_1 \in A_1 and s~2∈A2\tilde{s}_2 \in A_2 such that (s~1,s~2)∈E(Y)(\tilde{s}_1,\tilde{s}_2) \in E(Y). Choose the corresponding arms. Since they lie in the disjoint regions V1∪H1V_1 \cup H_1 and V2∪H2V_2 \cup H_2, they are disjoint and avoid the forbidden positions.

Together with

(a,s~1),(s~1,s~2),(s~2,b)∈E(Y),(a,\tilde{s}_1),\qquad(\tilde{s}_1,\tilde{s}_2),\qquad(\tilde{s}_2,b) \in E(Y),

Lemma 4.1 gives the required movement.

Proof of Theorem 1.8. Inverting placements gives an isomorphism FS(X,Y)≅FS(Y,X)FS(X,Y) \cong FS(Y,X), so we may suppose p≤qp \le q. Theorem 5.4 and Corollary 3.5 now give connectivity with high probability.

Acknowledgements and AI Disclosure

The research was conducted with the support of MIT UROP+. The author would like to thank Elchanan Mossel and Rupert Li for helpful advice and discussions. The author would also like to thank Sidhart Krishnan for his support and advice.

The author’s contributions were movability, the arm construction, and general proof ideas. Chat-GPT Sol 6.1 was used to fill in the details. It also simplified Section 5 as originally the author used a Janson’s inequality based argument as in [2].

The author takes full responsibility for the mathematical content within this paper.

References

  1. [1]A. Akella and R. Li, Diameter bounds for friends-and-strangers graphs, 2026.arxiv.org/abs/2509.23511
  2. [2]N. Alon, C. Defant, and N. Kravitz, Typical and extremal aspects of friends-and-strangers graphs, J. Combin. Theory Ser. B 158 (2023), 3–42. MR4513816 doi:10.1016/j.jctb.2022.03.001DOI
  3. [3]B. Baldisserra, G. Dias do Couto, S. Griffiths, and L. Moreira, The connectivity threshold for friends and strangers graphs, 2025.
  4. [4]K. Bangachev, On the asymmetric generalizations of two extremal questions on friends-and-strangers graphs, European J. Combin. 104 (2022), Paper No. 103529, 26. MR4400016 doi:10.1016/j.ejc.2022.103529DOI
  5. [5]B. Bollobás, Random graphs, 2 ed., Cambridge Studies in Advanced Mathematics, vol. 73, Cambridge University Press, 2001. MR1864966 doi:10.1017/CBO9780511814068DOI
  6. [6]B. Bollobás, S. Janson, and A. Scott, Packing random graphs and hypergraphs, Random Structures Algorithms 51 (2017), no. 1, 3–13. MR3668844 doi:10.1002/rsa.20673DOI
  7. [7]C. Defant and N. Kravitz, Friends and strangers walking on graphs, Comb. Theory 1 (2021), Paper No. 6, 34. MR4396211 doi:10.5070/C61055363DOI
  8. [8]R. Jeong, On the diameters of friends-and-strangers graphs, Comb. Theory 4 (2024), no. 2, Paper No. 2. doi:10.5070/C64264229DOI
  9. [9]N. Krishnan and R. Li, Vertex connectivity of friends-and-strangers graphs, The Electronic Journal of Combinatorics 33 (2026), no. 3, P3.41. doi:10.37236/15082DOI
  10. [10]K. Mawhinney, Connectivity and diameter of friends and strangers graphs using minimum degree, 2026.arxiv.org/abs/2610.20648
  11. [11]A. Milojević, Connectivity of old and new models of friends-and-strangers graphs, Adv. in Appl. Math. 155 (2024), Paper No. 102668, 53. MR4689232 doi:10.1016/j.aam.2023.102668
  12. [12]L. Wang and Y. Chen, Connectivity of friends-and-strangers graphs on random pairs, Discrete Math. 346 (2023), no. 3, Paper No. 113266, 10. MR4513695 doi:10.1016/j.disc.2022.113266DOI
  13. [13]C. Yang and Z. Zhang, Friends-and-strangers is pspace-complete, Information Processing Letters 190 (2025), 106573. doi:10.1016/j.ipl.2025.106573DOI
  14. [14]X. Zhao, L. You, J. Lin, and X. Zhang, The connectedness of friends-and-strangers graphs about graph parameters and others, 2025.arxiv.org/abs/2504.00373

Paper details

vlnc:W_rschygn5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

GPT-6.1 Sol (bare)

View statement
Looking for related papers…
Contents