1 Introduction

We consider standard social choice problems where a group of agents have to collectively decide an alternative from a set of feasible alternatives. A choice function selects an alternative for every collection of individual preferences.

We impose desirable conditions on choice functions such as unanimity, anonymity, symmetry, and group strategy-proofness. A choice function is unanimous if, whenever all the individuals have the same preference, their common top-ranked alternative is chosen. It is called anonymous if it treats all the individuals equally. Symmetry ensures that if the role of two alternatives (at the top of preferences) is interchanged at certain type of profiles, the outcome is also interchanged accordingly. A choice function is called group strategy-proof if no group of agents can be strictly better off by misrepresenting their preferences and is called strategy-proof if no individual can be better off by misrepresenting his/her preference.

A preference is called single-peaked on a tree if the alternatives can be arranged on a treeFootnote 1 so that preference declines as one moves away from the top-ranked alternative. Such preferences are well known in the literature for their usefulness in modelling public good location problems.

We assume a mild structure called path-connectedness (see, Aswal et al. (2003)) on the domains we consider in this paper. Theorem 4.1 shows that a path-connected domain admits unanimous, anonymous, symmetric, and group strategy-proof choice functions if and only if it is single-peaked on a tree and the number of agents is odd. It follows as a corollary of this result that there exists no unanimous, anonymous, symmetric, and group strategy-proof choice function on a path-connected domain if the number of agents is even. When the number of agents is odd, Theorem 4.2 characterizes all unanimous, anonymous, symmetric, and group strategy-proof choice functions on single-peaked domains on trees as the tree-median rule. Finally, we investigate what happens if we replace group strategy-proofness by strategy-proofness. Theorem 5.1 says that if we strengthen the notion of path-connectedness in a suitable manner, then the conclusion of Theorem 4.1 can be achieved with strategy-proofness, that is, a strongly path-connected domain admits unanimous, anonymous, symmetric, and strategy-proof choice functions if and only if it is a single-peaked domain on a tree.

An alternative is called the pairwise majority winner at a profile if it beats every other alternative according to pairwise majority comparison and a choice function is called the pairwise majority rule if it selects the pairwise majority winner at every preference profile. Condorcet (1785) argued that if such a majority winner exists at a profile, we should choose it on the basis of “straightforward reasoning.” The analysis of the pairwise majority rule dates back to Borda (1784), Condorcet (1785), and Laplace (1820). Black (1948) shows that the pairwise majority rule exists on domains that are single-peaked on a line. Later, Demange (1982) generalizes this result by showing that the pairwise majority rule exists on a domain even if the domain is single-peaked on a tree. Hansen and Thisse (1981) consider the problem of locating a public facility and show that the outcome of the pairwise majority rule on a single-peaked domain on a tree minimizes the total distance traversed by the users to go to the facility. They further prove that this property holds for a single-peaked domain only when the underlying graph is a tree. Moulin (1980) characterizes the pairwise majority rule on domains that are single-peaked on a line. Danilov (1994) shows that strategy-proof and tops-only SCFs on a single-peaked domain on a tree can be recursively decomposed into medians of constant and dictatorial rules.

Schummer and Vohra (2002) consider single-peaked domains on tree when preferences are Euclidean with respect to the graph distance and show that an SCF on such a domain is strategy-proof and unanimous if and only if it is an extended generalized median voter scheme. Nehring and Puppe (2007) introduce a class of generalized single-peaked domains based on an abstract betweenness property and show that an SCF is strategy-proof on a sufficiently rich domain of generalized single-peaked preferences if and only if it takes the form of voting by issues. They also provide a characterization of such domains that admit SCFs satisfying strategy-proofness, unanimity, neutrality, and non-dictatorship/anonymity. We provide a detailed discussion on the connection of our paper with these papers in Sect. 6.

May (1952) considers the problem of preference aggregation with exactly two alternatives and characterizes the pairwise majority aggregation rule in this setting by means of always decisiveness, equality, symmetry, and positive responsiveness. Later, Inada (1969) and Sen and Pattanaik (1969) provide necessary and sufficient conditions on a domain so that the pairwise majority aggregation rule is transitive.

It is worth mentioning that the tree-median rule coincides with the pairwise majority rule on domains that are single-peaked on a tree.Footnote 2 Thus, the main contributions of our paper can be considered as (i) a characterization of domains that are single-peaked on trees by means of choice functions satisfying natural conditions such as unanimity, anonymity, symmetry, and group strategy-proofness/strategy-proofness and (ii) a characterization of the pairwise majority rule on these domains as the only choice function satisfying the above-mentioned properties. Thus, in addition to the existing results where single-peakedness on trees is proved to be sufficient for the existence of the pairwise majority rule, we show that under some natural conditions, it is also necessary for the same.

Characterizing domains by means of the choice functions that they admit is considered as an important problem in the literature. Chatterji et al. (2016) characterize single-peaked domains on arbitrary trees by means of strategy-proof, unanimous, tops-only random social choice functions satisfying a compromise property, and Puppe (2018) shows that every minimally rich and connected Condorcet domain which contains at least one pair of completely reversed orders must be single-peaked.

The rest of the paper is organized as follows. Section 2 presents the notion of single-peaked domains on trees, and Sect. 3 introduces the notion of the tree-median rule. Main results of the paper are presented in Sect. 4. Section 5 shows how group strategy-proofness can be replaced with strategy-proofness in our main result. All the proofs, as well as the independence of the axioms used in our main result, are collected in Appendix.

2 Domains and their properties

Let A denote the set of alternatives, and let \(N=\{1,\ldots ,n\}\) denote the set of n agents, where n is at least 2. We denote by \({\mathbb {L}}(A)\) the set of all linear orders (reflexive, transitive, antisymmetric, and complete binary relations) on A. An element of \({\mathbb {L}}(A)\) is called a preference. Note that preferences are strict by definition. An admissible set of agents’ preferences (or a domain) \({\mathbb {D}}\) is a subset of \({\mathbb {L}}(A)\). A profile is a collection of preferences, one for each agent. More formally, a profile p is an element of \({\mathbb {D}}^{n}\).

For ease of presentation, we do not use braces for singleton sets and use the following notations throughout the paper. Let R be a preference, and let a and b be two alternatives (not necessarily distinct) in A. To save parentheses, we write \(ab\in R\) instead of \((a,b)\in R,\) which has the usual interpretation that a is (weakly) preferred to b at R. When a and b are distinct, we write \(R\equiv \cdots ab\cdots\) to mean that a is ranked just above b at R. In line with this, we write \(R \equiv ab\cdots\) to mean that a is the top-ranked and b is the second-ranked alternative at R. Notations like \(R \equiv \cdots a\cdots b\cdots\), \(R \equiv a\cdots\), and \(R \equiv \cdots a\) have self-explanatory interpretations.

The top-ranked alternative at a preference R is denoted by \(\tau (R).\) The set of the top-ranked alternatives of the preferences in a domain \({\mathbb {D}}\) is denoted by \(\tau ({\mathbb {D}})\), that is, \(\tau ({\mathbb {D}})=\{a\in A: \tau (R)=a \text{ for } \text{ some } R \in {\mathbb {D}}\}\). We assume that \(\tau ({\mathbb {D}})\) is a finite set of m alternatives.

Next, we introduce the notion of graphs. An (undirected) graph \(G = (V(G), {E}(G))\) is a tuple where V(G) is the set of vertices and \({E}(G) \subseteq \{ \{a,b\} : a,b \in V(G) \}\) is the set of edges. A sequence of vertices \(x^1,\ldots , x^k\) is called a path in G if \(\{x^l,x^{l+1}\} \in {E}\) for all \(1 \le l <k\). A path \(x^{0},x^{1},\ldots ,x^{k}\) in G is called a cycle if \(k\ge 3,\) \(x^{0}=x^{k}\), and \(x^{s}\ne x^{t}\) for all \(0\le s<t\le k\). A graph is called a tree if it has no cycles. For a tree and two vertices a and b, we denote by \(\pi (a,b)\) (whenever the tree is clear from the context) the unique path between a and b.

Two alternatives a and b in A are called top-connected (in \({\mathbb {D}}\)) if there are \(R, R' \in {\mathbb {D}}\) such that \(R \equiv ab\cdots\) and \(R' \equiv ba\cdots\). We use the notation \(a \leftrightsquigarrow b\) to mean that a and b are top-connected. The induced graph of a domain \({\mathbb {D}}\) is defined as the undirected graph \({\mathcal {G}}({\mathbb {D}})=(\tau ({\mathbb {D}}),{E}),\) where E is the set of edges consisting of all pairs of top-connected alternatives, that is, \({E}=\{\{a,b\} \subseteq \tau ({\mathbb {D}}) : a \leftrightsquigarrow b\}.\) Two alternatives a and b are called path-connected if there is a path from a to b in \({\mathcal {G}}({\mathbb {D}})\). A domain \({\mathbb {D}}\) is called path-connected if every two alternatives in \(\tau ({\mathbb {D}})\) are path-connected (see Aswal et al. (2003)).

A subset S of N is called a coalition. The restriction of a profile p to a coalition S is denoted by \(p|_S\). For a coalition S and preferences R and \(R'\) in \({\mathbb {D}}\), the N-tuple \(((R)^{S},(R')^{N {\setminus } S})\) denotes the profile p where \(p(i)= R\) for all agents i in S and \(p(i)=R'\) for all agents i in \(N {\setminus } S\).

We introduce the notion of single-peaked domains on trees. A preference is single-peaked on a tree if it has the property that as one goes far away along any path from its top-ranked alternative, preference decreases.

Definition 2.1

Let T be a tree with \(V(T) \subseteq A\). A domain \({\mathbb {D}}\) is called single-peaked on T if \(\tau ({\mathbb {D}})=V(T)\) and for all \(R \in {\mathbb {D}}\) and all \(a,b \in \tau ({\mathbb {D}})\), \(a \in \pi (\tau (p(i)),b)\) implies \(ab \in R\).

Note that for a domain \({\mathbb {D}}\) that is single-peaked on a tree, there is no restriction on the ordering of the alternatives outside \(\tau ({\mathbb {D}})\). We present an example of a single-peaked domain on a tree.

Example 2.1

Let the set of alternatives be \(A=\{a_1,a_2,a_3,a_4,a_5,a_6,a_7\}\). Consider the tree T in Fig. 1 with \(V(T) = \{a_1,a_2,a_3,a_4,a_5\}\). In Table 1, we present a single-peaked domain on this tree.

Fig. 1
figure 1

Tree for Example 2.1

Table 1 The single-peaked domain with respect to the tree in Fig. 1

3 Choice functions and their properties

A choice function \(\varphi\) is a mapping from \({\mathbb {D}}^{n}\) to A. A choice function \(\varphi\) is unanimous if, whenever all the agents agree on their preferences, the top-ranked alternative of that common preference is chosen. More formally, \(\varphi :{\mathbb {D}}^n \rightarrow A\) is unanimous if for all profiles \(p \in {\mathbb {D}}^n\) such that \(p(i)=R\) for all agents \(i \in N\) and some \(R \in {\mathbb {D}}\), we have \(\varphi (p) = \tau (R)\). A choice function \(\varphi\) is called anonymous if it is symmetric in its arguments. In other words, anonymous choice functions disregard the identities of the agents. A choice function \(\varphi\) is strategy-proof if no agent can change its outcome in his/her favor by misreporting his/her sincere preference. More formally, \(\varphi :{\mathbb {D}}^n \rightarrow A\) is strategy-proof if for all agents \(i \in N\) and all profiles \(p,q \in {\mathbb {D}}^n\) with \(p|_{N {\setminus } i}=q|_{N {\setminus } i}\), we have \(\varphi (p) \varphi (q) \in p(i)\). A choice function \(\varphi\) is group strategy-proof if for all non-empty coalitions S of N and all profiles \(p,q \in {\mathbb {D}}^n\) with \(p|_{N {\setminus } S}=q|_{N {\setminus } S}\), we have either \(\varphi (p) = \varphi (q)\) or \(\varphi (p) \varphi (q) \in p(i)\) for some \(i \in S\).

Next, we introduce the notion of symmetry. Symmetry has some resemblance with neutrality; however, they are not the same.Footnote 3 Suppose that the agents are divided into two groups such that all agents in each group have the same preference. Suppose further that two alternatives a and b appear at the top two positions in each preference. Symmetry says that if the outcome of such a profile is a and the two groups interchange their preferences, then the outcome of the new profile will be b. In other words, symmetry ensures that if the roles of two alternatives are interchanged at certain type of profiles, the outcome is also interchanged accordingly. Note that symmetry is different from neutrality as it applies to a very specific class of profiles and only to the top-two ranked alternatives.

Definition 3.1

We say that a choice function \(\varphi\) satisfies symmetry if for all \(R \equiv ab\cdots\) and \(R' \equiv ba\cdots\), and all subsets S of N, we have

$$\begin{aligned} \varphi ((R)^{S},(R')^{N{\setminus } S})=a\text { if and only if } \varphi ((R')^{S},(R)^{N{\setminus } S})=b. \end{aligned}$$

3.1 Tree-median rule

The tree-median rule is an appropriate extension of the median rule defined in the context of single-peaked domains on lines. We first provide an verbal description of these rules. Suppose that the alternatives are named as \(a_1,\ldots , a_m\) and that they are arranged on a line in the following order: \(a_1 \prec \cdots \prec a_m\). Note that the median of a subset of alternatives B can be defined as the (unique) alternative a such that \(| \{ b \in B : b \prec a\}| < \frac{|B|}{2}\) and \(| \{ b \in B : b \succ a \}| < \frac{|B|}{2}\). For instance, if \(B= \{a_1,a_3,a_4,a_9,a_{11} \}\), then \(a_4\) is the unique alternative that satisfies the condition that \(| \{ b \in B : b \prec a_4 \}|=| \{ a_1,a_3\}| < 2.5\) and \(| \{ b \in B : b \succ a_4 \}|=| \{ a_9,a_{11} \}| < 2.5\). In other words, the number of alternatives which lie in any particular “direction” of the median must be less than the half of the cardinality of the set. Here, two alternatives are said to be in the same direction with respect to an alternative a if they lie in the same component of the (possibly disconnected) graph that is obtained by deleting the alternative a from the line. We implement this idea on a tree.

Consider a tree \(T = (V,E)\). For a vertex a of T, we denote by \(T^{-a}\) the graph that is obtained by deleting the alternative a (and all the edges involving a) from T, that is, \(T^{-a}=\{{\hat{V}}, {\hat{E}} \}\), where \({\hat{V}} = V {\setminus } a\) and \(\{x,y\} \in {\hat{E}}\) if and only if \(\{x,y\} \in E\) and \(a \notin \{x,y\}\). Note that \(T^{-a}\) is a disconnected graph unless a is a terminal node in T.Footnote 4 A component \({\mathcal {C}}\) of \(T^{-a}\) is defined as a maximal set of vertices of \(T^{-a}\) that are connected via some path in \(T^{-a}\). Below, we provide an example of a tree T and show the components of \(T^{-a}\) for some vertex a.

Example 3.1

Consider the tree T as given in Fig. 2. Consider the vertex \(a_6\). The components of \(T^{-a_6}\) are shown in Fig. 3.

Now, we are ready to define the notion of the median with respect to a tree. Let \(T = (V,E)\) be a tree. For a subset \({\widehat{V}}\) of V, define the median of \({\widehat{V}}\) (with respect to T) as the unique vertex \(a \in V\) such that for each component \({\mathcal {C}}\) of \(T^{-a}\), we have

$$|{\widehat{V}} \cap {\mathcal {C}}| < \frac{|{\widehat{V}}|}{2}.$$

Whenever the tree T is clear from the context, we denote the median of a set \({\widehat{V}} \subseteq V\) with respect to T by \(\text{ median }({\widehat{V}})\). The following example explains the idea of the median of a set. It should be clear from this example that the median of a set may not lie within the set.

Example 3.2

Consider the tree T with \(V(T)=\{a_1,\ldots , a_{10}\}\) as given in Fig. 2. Consider the subset \({\widehat{V}}=\{a_1,a_4,a_7,a_8,a_9\}\) of V. We show that the median of \({\widehat{V}}\) is \(a_6\). The components \({\mathcal {C}}_1,{\mathcal {C}}_2, {\mathcal {C}}_3\) of \(T^{-a_6}\) are shown in Fig. 3. Note that in each of these components, the number of elements from \({\widehat{V}}\) is less than the half of the cardinality of \({\widehat{V}}\). For instance, the elements of \({\widehat{V}}\) that are in Component \({\mathcal {C}}_1\) are \(a_1\) and \(a_4\). This proves that the median of \({\widehat{V}}\) is \(a_6\). We proceed to show that \(a_6\) is the unique vertex that satisfies this property. Note that since \(\frac{n}{2} = 2.5\), a vertex v cannot be the median if a component in \(T^{-v}\) has more than two vertices. Consider the vertex \(a_4\). Then, there is a component \(C=\{ a_6,a_7,a_8,a_9,a_{10} \}\) in \(T^{-a_4}\) that contains three elements \(a_7,a_8,a_9\) from \({\widehat{V}}\). By using a similar logic, for any vertex v in \(\{a_1,a_2,a_3,a_5\}\) there is a component in \(T^{-v}\) containing the vertices \(a_7,a_8,a_9\), for any vertex v in \(\{a_8,a_9,a_{10}\}\), there is a component in \(T^{-v}\) containing the vertices \(a_1,a_4,a_7\), and for \(a_7\), there is a component in \(T^{-a_7}\) containing the vertices \(a_1,a_4,a_8,a_9\) from \({\widehat{V}}\). Since for each of these vertices, there is a component having more than two elements from \({\widehat{V}}\), none of them satisfies the requirement for being the median. This shows that \(a_6\) is the unique median.

Fig. 2
figure 2

Tree for Example 3.1 and Example 3.2

Fig. 3
figure 3

Components of \(T^{-a_6}\)

Now, we are ready to define the notion of the tree-median rule. It selects the median of the top-ranked alternatives at every profile.

Definition 3.2

A choice function \(\varphi : {\mathbb {D}}^n \rightarrow A\) is called the tree-median rule with respect to a tree T with \(V(T)=\tau ({\mathbb {D}})\) if for all \(p \in {\mathbb {D}}^n\), \(\varphi (p)= \text{ median }(\{\tau (p(i)): i \in N \})\).

Remark 3.1

An alternative a is called pairwise majority winner at a profile if for all \(b \ne a\), the number of agents who prefer a to b at that profile is more than \(\frac{n}{2}\). It is worth noting that the outcome of a median rule at any profile is the pairwise majority winner (Condorcet winner) at that profile. To see this, suppose that the outcome of the tree-median rule is a at a profile p. Consider an alternative b other than a. Suppose b belongs to a component \({\mathcal {C}}\) of \(T^{-a}\). By single-peakedness, every agent, whose top-ranked alternative is not in \({\mathcal {C}}\), will prefer a to b. By the definition of the tree-median rule, the number of agents in component \({\mathcal {C}}\) is strictly less than \(\frac{n}{2}\). Therefore, the number of agents who prefer a to b must be more than \(\frac{n}{2}\), implying that a beats b by pairwise majority comparison.

4 Results

Our first theorem characterizes the single-peaked domains on trees by means of choice functions that are unanimous, anonymous, symmetric, and group strategy-proof. It says that these domains are the only path-connected domains that admit such rules when the number of agents is odd.

Theorem 4.1

Let \({\mathbb {D}}\) be a path-connected domain. Then, there exists a unanimous, anonymous, symmetric, and group strategy-proof choice function \(\varphi :{\mathbb {D}}^n \rightarrow A\) if and only if \({\mathbb {D}}\) is single-peaked on a tree and n is odd.

The proof of this theorem is relegated to Appendix A. In Sect. 4.1, we provide an idea of the proof of the only-if part of the theorem by considering the case of three alternatives.

Our next corollary says that if the number of agents is even, then there is no path-connected domain that admits a unanimous, anonymous, symmetric, and group strategy-proof rule. The intuition of this result is as follows. Since the number of agents is even, we can divide the agents into two groups \(N_1\) and \(N_2\) having equal size. Consider the profile where agents in \(N_1\) have the same preference \(ab\cdots\) and agents in \(N_2\) have the same preference \(ba\cdots\), for some \(a,b \in A\). By unanimity and group strategy-proofness, the outcome at such a profile must be either a or b. Suppose that the outcome is a. Now, consider the profile where agents in \(N_1\) have the same preference \(ba\cdots\) and agents in \(N_2\) have the same preference \(ab\cdots\). By symmetry, the outcome at this profile must be b. However, this violates anonymity.

Corollary 4.1

Let \({\mathbb {D}}\) be a path-connected domain, and let n be even. Then, there is no unanimous, anonymous, symmetric, and group strategy-proof choice function \(\varphi :{\mathbb {D}}^n \rightarrow A\).

Our next theorem characterizes the unanimous, anonymous, symmetric, and group strategy-proof rules on a single-peaked domain on a tree as the tree-median rules.

Theorem 4.2

Let \({\mathbb {D}}\) be path-connected and single-peaked on a tree T and let n be odd. Then, a choice function \(\varphi :{\mathbb {D}}^n \rightarrow A\) is unanimous, anonymous, symmetric, and group strategy-proof if and only if it is the tree-median rule with respect to T.

The proof of this theorem is relegated to Appendix B. In Sect. 4.1, we provide an idea of the proof of the only-if part by considering the case of three alternatives.

4.1 An illustration of the proofs of Theorems 4.1 and 4.2

We illustrate the idea of the proof of the only-if parts of Theorem 4.1 and Theorem 4.2 by considering the case of three alternatives. Let \(A=\{a,b,c\}\) be the set of three alternatives, and let \(N=\{1,\ldots ,n\}\) be the set of agents. Suppose \({\mathbb {D}}\) is a path-connected domain and let \(\varphi\) be a unanimous, anonymous, symmetric, and group strategy-proof choice function from \({\mathbb {D}}^{n}\) to A. We show that

  1. 1.

    n is odd,

  2. 2.

    \({\mathbb {D}}\) is a set of single-peaked preferences on a tree, and

  3. 3.

    \(\varphi\) chooses the median of the top-ranked alternatives at any profile in \({\mathbb {D}}^{n}.\)

Because \({\mathbb {D}}\) is path-connected, we have, after a possible renaming of the alternatives, one of the following four cases

  1. (i)

    \({\mathbb {D}}\) \(={\mathbb {L}}(A)\)

  2. (ii)

    \({\mathbb {D}}\) \(={\mathbb {L}}(A){\setminus } \{acb\}\)

  3. (iii)

    \({\mathbb {D}}\subseteq \{abc,bac,bca,cba\}\) implying that \({\mathbb {D}}\) is single-peaked on a (sub)tree \(T_{1}\) of the following tree

    $$\begin{aligned} a\leftrightsquigarrow b\leftrightsquigarrow c. \end{aligned}$$
  4. (iv)

    \({\mathbb {D}}\subseteq \{abc,acb,cab,cba\}\) implying that \({\mathbb {D}}\) is single-peaked on a (sub)tree \(T_{2}\) of the following treeFootnote 5

    $$\begin{aligned} a\leftrightsquigarrow c. \end{aligned}$$

Consider a profile p and a coalition S such that \(p(i)=xyz\) for all \(i \in S\) and \(p(i) =yxz\) for all \(i\in N{\setminus } S\). By unanimity and group strategy-proofness, \(\varphi (p)\ne z\), as otherwise the agents in S will manipulate by reporting their preferences as yxz. By anonymity and group strategy-proofness, the outcome of any profile \({\hat{p}}\) such that \({\hat{p}}(i)\in \{xyz,yxz\}\) for all \(i \in N\) and \(|\{i: {\hat{p}}(i) =xyz\}| \ge |S|\) is x. By symmetry, this means \(\varphi (\hat{{\hat{p}}}) = y\) for any profile \(\hat{{\hat{p}}}\) such that \(\hat{{\hat{p}}}(i)\in \{xyz,yxz\}\) for all \(i \in N\) and \(|\{i: {\hat{p}}(i) =yxz\}| \ge |S|\). Therefore, it must be that \(|S| > \frac{n}{2}\), as otherwise we can have a profile q such that both \(|\{i: q(i) =xyz\}|\) and \(|\{i: q(i) =yxz\}|\) are greater than or equal to |S| and in view of the earlier observations, nothing can be defined as an outcome at q. Using similar logic, no outcome can be defined at a profile q such that \(|\{i: q(i) =xyz\}| = |\{i: q(i)=yxz\}|\). This proves (1), that is, n is odd. This is formally proved in Lemma A.2 (see Appendix A).

Now, we proceed to prove (2). Consider a coalition S with \(|S|>\frac{n}{2}\). We show that for any profile q such that \(q(i)=q(j)\) for all \(i,j \in S\) and \(q(i)=q(j)\) for all \(i,j \in N{\setminus } S\), the outcome is the top-ranked alternative of the agents in S. In Table 2, we present such profiles where agents’ preferences lie in the set \(\{zxy,xzy,xyz, yxz\}\). We also present the outcomes of \(\varphi\) at the profiles where it can be obtained by unanimity and Lemma A.2.

Table 2 Primary structure of a unanimous, anonymous, symmetric, and group strategy-proof choice function

We proceed to show that the outcome at any profile in the table will be the top-ranked alternative of the agents in S. Since the outcome at the profile (xzyzxy) is x, by group strategy-proofness, it must be x at (xyzzxy).Footnote 6 In Table 3, we present the outcomes that can be obtained using similar logic.

Table 3 Additional structure of a unanimous, anonymous, symmetric, and group strategy-proof choice function

Consider the profile (yxzxzy). Since the outcome at (xyzxzy) is x, by group strategy-proofness, the outcome at (yxzxzy) must be x or y. Similarly, since the outcome at (yxzxyz) is y, by group strategy-proofness, the outcome at (yxzxzy) must be y. Moreover, since the outcome at (yxzxzy) is y and y is the bottom-ranked alternative for the agents in \(N {\setminus } S\), by group strategy-proofness, the outcome at (yxzzxy) must be y. In Table 4, we present the outcomes that can be obtained using similar logic. Since S is arbitrary, Table 4 implies that the outcome of \(\varphi\) will be determined by the majority at any profile where the agents are partitioned into two groups such that agents in any group have the same preference.

Table 4 Final structure of a unanimous, anonymous, symmetric, and group strategy-proof choice function

Since n is odd, there must be at least 3 agents. Therefore, the set of agents can be partitioned into non-empty sets \(S_1,S_2,S_3\) such that \(|S_{i}\cup S_{j}|>\frac{n}{2}\) for all \(i\ne j\). Consider the profile v such that \(v(i)=xyz\) for all \(i \in S_1\), \(v(i)=yzx\) for all \(i \in S_2\), and \(v(i)=zxy\) for all \(i \in S_3\).Footnote 7 As \(|S_1\cup S_2| > \frac{n}{2}\), the outcome at the profile where agents in \(S_1\cup S_2\) have the preference yzx and the agents in \(S_3\) have the preference zxy is y. Hence, by group strategy-proofness \(\varphi (v)\ne z\). Using a similar logic, \(|S_2\cup S_3| > \frac{n}{2}\) implies \(\varphi (v) \ne x\), and \(|S_1\cup S_3| > \frac{n}{2}\) implies \(\varphi (v) \ne y\). So, no outcome can be defined at the profile v, and hence, a profile like v cannot lie in \({\mathbb {D}}^n\). Therefore, out of the four cases for \({\mathbb {D}}\) mentioned at the beginning, only Case (iii) and Case (iv) are possible. This proves that the domain \({\mathbb {D}}\) is a set of single-peaked preferences with respect to either the tree \(T_{1}\) or the tree \(T_{2}\). This completes the proof of (2).

We complete the sketch of the proof by showing (3). We deal with Case (iii) and Case (iv) separately.

Case (iii): Here, \({\mathbb {D}}\) is a subset of single-peaked preferences \(\{abc,bac,bca,cba\}\) with respect to the alphabetical order \(a\prec b\prec c\) and \({\mathcal {G}}({\mathbb {D}})\) is a (sub)graph of

$$\begin{aligned} a\leftrightsquigarrow b\leftrightsquigarrow c. \end{aligned}$$

Let p be a profile in \({\mathbb {D}}^{n}.\) We prove that \(\varphi (p)\) is the median of the top-ranked alternatives at p. We distinguish three cases.

Suppose \(\varphi (p)=b.\) Consider the profile q such that \(q(i)=bca\) if \(p(i)=abc\), and \(q(i)=p(i)\) otherwise. By group strategy-proofness, \(\varphi (q)=b\), as otherwise the agents i having preference bca at q will (group) manipulate at q by misreporting their preferences as p(i). Next, consider the profile r such that \(r(i)=bca\) if \(q(i)=p(i)\) \(=bac\), and \(r(i)=q(i)=cba\) otherwise. By group strategy-proofness, \(\varphi (r)=b\). Since agents have one of the two preferences bca and cba at the profile r, the outcome of \(\varphi\) at r will be the majority vote (winner) between b and c. As this outcome is b, it must be that majority of voters have the top-ranked alternative as b at the profile r. This implies that a majority of voters have top-ranked alternatives at p in the set \(\{a,b\}\). Similarly, we can deduce that a majority of voters have top-ranked alternatives at p in the set \(\{b,c\}.\) Thus, it follows that at the profile p, there is a majority of voters having the top-ranked alternative in the set \(\{a,b\}\) and a (possibly different) majority of voters having top-ranked alternatives in the set \(\{b,c\}\), and hence, b is the median of the top-ranked alternatives at p.

Suppose \(\varphi (p)=a.\) Consider the profile v such that \(v(i)=\) bac if \(p(i)\ne abc\), and \(v(i)=p(i)=abc\) otherwise. Since agents have one of the two preferences abc and bac at the profile v, the outcome of \(\varphi\) at v will be the majority vote between a and b. In particular, \(\varphi (v)\in \{a,b\}.\) Note that except for the preference abc, alternative b is strictly preferred to a at all other preferences in \({\mathbb {D}}\). So, group strategy-proofness implies that \(\varphi (v)\ne b\), as otherwise the agents i having preference bac at v will manipulate at p via v(i). So, \(\varphi (v)=a\). Since the outcome of \(\varphi\) at v will be the majority vote between a and b, this means that there is a majority of voters having top-ranked alternative as a at p. So, a is the median of the top-ranked alternatives at p.

Suppose \(\varphi (p)=c.\) This case is similar to the latter case where \(\varphi (p)=a\).

Case (iv): Here, we have \(\tau ({\mathbb {D}})=\{a,c\}.\) We have already argued that the outcome will be determined by the majority at profiles where agents are partitioned into two groups with each group having the same preference. Since \(\tau ({\mathbb {D}})= \{a,c\}\), by group strategy-proofness, this implies that the outcome of \(\varphi\) will be the majority vote between a and c at any profile. This in particular means that \(\varphi\) chooses the median of the top-ranked alternatives at any profile.

So, \(\varphi\) is the median rule and the only-if parts of Theorem 4.1 and Theorem 4.2 are proved for the case of three alternatives.

5 Weakening group strategy-proofness to strategy-proofness

In this section, we show that group strategy-proofness cannot be replaced by strategy-proofness in Theorem 4.1 and, consequently, provide a version of Theorem 4.1 with strategy-proofness. The following example shows that Theorem 4.1 does not hold under strategy-proofness.

Example 5.1

Suppose that the set of alternatives is two-dimensional where each dimension or component has two elements: 0 and 1. More formally, the alternatives are \(A = \{0,1\}^2= \{(0,0),(0,1),(1,0),(1,1)\}\). Agents’ preferences are such that if a is the top-ranked alternative in a preference and b differs from a in both components, then b will be the bottom-ranked alternative in that preference.Footnote 8 For instance, if (0, 1) is the top-ranked alternative in a preference, then (1, 0) will be the bottom-ranked alternative in that preference. Therefore, there will be two preferences with (0, 1) at the top for the two possible relative ordering of the remaining alternatives (0, 0) and (1, 1). The preferences are as follows: (0, 1)(0, 0)(1, 1)(1, 0) and (0, 1)(1, 1)(0, 0)(1, 0). In Table 5, we present all (eight) preferences satisfying this property. Consider the domain with these preferences.

Table 5 Domain for Example 5.1

Suppose that there are three agents. We define an SCF called component-wise majority rule. For each component, it selects the element in that component that appears as the top-ranked element in that component for at least two agents. Note that the SCF depends only on the top-ranked alternatives in a profile. For an illustration of the rule, consider a profile with top-ranked alternatives as (1, 0), (0, 1), (1, 0). In the first component, element 1 appears at least two times as the top-ranked alternative, and hence, it is the outcome in that component. Similarly, 0 is the outcome in the second component. The final outcome of the rule is (1, 0) , which is obtained by combining the outcomes in each component.

It is shown in Barberà et al. (1991) (see Theorem 1) that the component-wise majority rule is strategy-proof. Unanimity and anonymity of the rule follow from the definition. For symmetry, consider a profile p where the agents in a group S, \(\emptyset \ne S \ne N\), have the preference \(R \equiv xy\cdots\) and others have the preferences \(R'\equiv yx\cdots\) for some x and y in A. By the definition of the domain, x and y can differ only over one component. So, assume without loss of generality, \(x=(0,0)\) and \(y=(0,1)\), and suppose that the outcome of the component-wise majority rule at this profile is (0, 0). Since the outcome in the second component is 0, by the definition of the component-wise majority rule, it must be that S contains at least 2 agents. Now, suppose that the agents in S interchange their preference with those in \(N {\setminus } S\). The outcome in the first component will still be 0 as it is the top-ranked element of each agent in that component. Moreover, since S contains at least 2 agents, the outcome in the second component will now become 1, and hence, the final outcome will be (0, 1). This shows that the component-wise majority rule satisfies symmetry.

Now, we argue that it is not group strategy-proof. Consider the profile of top-ranked alternatives (0, 0), (1, 1), (1, 0). Suppose that both agents 1 and 2 prefer (0, 1) to (1, 0). Note that this assumption is compatible with our domain restriction. The outcome of the component-wise majority rule at this profile is (1, 0). However, if agents 1 and 2 together misreport their preferences as one having the top-ranked alternative as (0, 1) , then the outcome of the component-wise majority rule will become (0, 1) , which is preferred to (1, 0) for both agents 1 and 2. Therefore, the component-wise majority rule is not group strategy-proof.

In what follows, we show that if we strengthen the notion of path-connectedness, then we can replace group strategy-proofness by strategy-proofness in Theorem 4.1.

Let a and b be two alternatives in \(\tau ({\mathbb {D}}).\) We say that a is strongly top-connected to b if there are \(R^{a}\) and \(R^{b}\) in \({\mathbb {D}}\) such that (i) \(R^a\equiv ab\cdots\) and \(R^{b}\equiv ba\cdots\), and (ii) for all \(x,y \notin \{a,b\}\), \(xR^ay\) if and only if \(xR^by\). The notion of a strongly path-connected domain is defined in an obvious manner.

Our next theorem says that group strategy-proofness can be replaced by strategy-proofness if we strengthen path-connectedness by strongly path-connectedness.

Theorem 5.1

Let \({\mathbb {D}}\) be a strongly path-connected domain. Then, there exists a unanimous, anonymous, symmetric, and strategy-proof choice function \(\varphi :{\mathbb {D}}^n \rightarrow A\) if and only if \({\mathbb {D}}\) is single-peaked on a tree and n is odd.

The proof of this theorem is relegated to Appendix C.

6 Relation to the literature

In this section, we discuss the connection of our results with some of the closely related papers.

6.1 Schummer and Vohra (2002)

Schummer and Vohra (2002) consider single-peaked domains on graphs (trees as a special case). Preferences are Euclidean with respect to the graph distance. They show that an SCF is strategy-proof and unanimous if and only if it is an extended generalized median voter scheme. Although tree-median rules are special cases of extended generalized median voter scheme, our result does not follow from their result because of the following reasons.

  1. (i)

    In their model, for each alternative there is exactly one preference with it as the top-ranked alternative. Thus, SCFs on such a domain become tops-only vacuously. However, in our case, there can be more than one preference with the same top-ranked alternative, and hence, tops-onlyness is required to be proved additionally. Weymark (2011) shows that the maximal single-peaked domain on a line is tops-only, and recently, Achuthankutty and Roy (2018) generalize this result for arbitrary (that is, not necessary maximal) single-peaked domains on a line.Footnote 9 Chatterji and Sen (2011) provide a sufficient condition on a domain for it to be tops-only. None of these results applies to a path-connected single-peaked domain on a tree.

  2. (ii)

    Schummer and Vohra (2002) use strategy-proofness, whereas we use group strategy-proofness. To the best of our knowledge, it is not known in the literature whether extended generalized median voter schemes are group strategy-proof or not on domains that are single-peaked on a tree. Barberà et al. (2010) provide a sufficient condition on a domain for the equivalence of group strategy-proofness and strategy-proofness; however, their result also does not apply to such domains.

6.2 Nehring and Puppe (2007)

Nehring and Puppe (2007) consider a class of single-peaked domains based on an abstract betweenness property. They have analyzed the structure of strategy-proof and unanimous SCFs on such domains. Furthermore, they provide a characterization of such domains that admit SCFs satisfying strategy-proof, unanimous, neutral, and non-dictatorial/anonymity. Two particular results of Nehring and Puppe (2007) are closely related to our work, which we explain below.

  1. (i)

    Corollary 5 in Nehring and Puppe (2007) says that a strategy-proof, unanimous, neutral, and anonymous SCF exists on a “rich” single-peaked domain if and only if n is odd and the domains is a “median space.” On the other hand, Theorem 4.1 of our paper says that a group strategy-proof, unanimous, anonymous, and symmetric SCF exists on a path-connected single-peaked domain if and only if n is odd and the domain is single-peaked on a tree. While neutrality and symmetry are similar in nature, the assumption of richness and the inclusion of median space make a significant difference between the two results as we explain below.

    Richness: They assume the domains to be rich. In the context of domains that are single-peaked on a tree, this means the relative ordering of two alternatives that do not lie on the same path from the peak must be unrestricted. To see how strong this condition is, consider a single-peaked domain on a line. One implication of richness is that there must be preferences where the extreme left (or right) alternative is preferred to the ”right-neighbor” (or the “left-neighbor”) of the peak. For instance, if there are 100 alternatives \(a_1,\ldots , a_{100}\) with the prior ordering \(a_1 \prec \cdots \prec a_{100}\), then there must be a preference with \(a_2\) at the top position where the “far away” alternative \(a_{100}\) is preferred to the neighboring one \(a_1\). This is clearly a strong assumption for practical applications. Our notion of path-connectedness requires that for every two adjacent alternatives, say \(a_{2}\) and \(a_3\), there are two preferences where they swap their positions at the top two ranks; that is, preferences of the form \(a_2a_3\cdots\) and \(a_3a_2\cdots\) must be present. Thus, we do not require anything about the relative ordering of other alternatives.

    Median space: A domain is a median space if the notion of median can be defined for any three alternatives in it; that is, for any three alternatives abc, there is an alternative m called the “median” of abc such that m lies between every pair of alternatives from abc. Apart from domains that are single-peaked on a tree, there are several other domains that are median space (see Example 4 in Nehring and Puppe (2007)). Thus, domains that are single-peaked on a tree cannot be characterized by the properties used in Nehring and Puppe (2007)) and the use of group strategy-proofness does the job in our paper. As we have mentioned earlier, it is not yet known if group strategy-proofness and strategy-proofness are equivalent on domains that are single-peaked on a tree. Thus, (even the “if part” of) Theorem 4.1 of our paper does not follow from Corollary 5 of Nehring and Puppe (2007).

  2. (ii)

    Theorem 4 of Nehring and Puppe (2007) says that an SCF on a rich median space is strategy-proof, unanimous, and neutral if and only if it is a particular type of voting by issues rules. Furthermore, if anonymity is imposed additionally, then these rules become tree median. Since the single-peaked domains on trees we consider do not satisfy richness, this result does not apply to these domains. Moreover, even if we additionally impose richness on such domains, since we work with group strategy-proofness, Theorem 4.1 of our paper does not follow from this result. The contribution of our result on these special class of rich domains is that it implies that strategy-proofness and group strategy-proofness are equivalent on those under unanimity, anonymity, and symmetry/neutrality. Such a result is not known in the literature, and we feel it is not straightforward either.