1 Introduction

Simple games play a significant role across various disciplines, including mathematics, computer science, and social sciences. They have applications in solving and representing problems related to politics, voting theory, decision theory, social choice theory, threshold logic, circuit complexity, network reliability, linear programming, artificial intelligence, Sperner theory, and order theory, among others (Brams 1975; Taylor and Zwicker 1999; Eiter et al. 2008; Engel 1997; Judson et al. 2005). Additionally, they exhibit close connections with various mathematical and computational structures, such as dual hypergraphs, Sperner families, antichains, monotone Boolean functions, free distributive lattices, monotone collective decision-making systems, and multi-agent systems, to name a few (Taylor and Zwicker 1999; Eiter et al. 2008; Engel 1997). This article is particularly interested in voting system applications.

Voting systems or electoral systems are the set of rules that different governments, social organizations, and other sociopolitical groups adopt for collective decision-making. There are numerous and diverse voting systems worldwide, and new voting systems are continually being created, looking for more fair, representative, or adequate systems for each context.

A usual way to study voting systems is through simple games, i.e., a type of monotonous cooperative games with either 0 or 1 payoffs (von Neumann and Morgenstern 1944). A simple game is defined by a set of players or voters and a set of winning coalitions. A winning coalition is a subset of players that manages to win a motion (election, referendum, etc.), i.e., a coalition with payoff 1. The set of losing coalitions, i.e., those with payoff 0, is formed by all coalitions that are not winners. Simple games are monotonous in the sense that the superset of any winning coalition is also a winner, while the subset of any losing coalition is also a loser (Taylor and Zwicker 1999).

A problem with simple games is that the set of winning (or losing) coalitions of a game can be exponential in the number of players (Molinero et al. 2015). Therefore, explicitly storing all the information needed to describe the game can be costly. Fortunately, it is known that any simple game can be represented as an intersection (Taylor and Zwicker 1993) or union (Freixas and Marciniak 2010) of weighted voting games. Weighted voting games are a subclass of simple games in which each player has a voting weight so that a coalition wins if the sum of its members’ weights manages to exceed a given quota for the game. The representation form for weighted voting games is a vector containing the quota and the player’s weights, so its size is linear in the number of players. Weighted voting games have garnered attention and investigation in multiple contexts, sometimes referred to by different names, including linearly separated truth functions in contact and rectifier nets (McNaughton 1961), linearly separable switching functions or threshold Boolean functions, for separating circuits in switching circuit theory, and analyzing the threshold synthesis problem (Hu 1965; Freixas and Molinero 2008), trade robustness in voting theory and trade exchanges (Taylor and Zwicker 1992), or threshold hypergraphs, for synchronizing parallel processes (Golumbic 1980; Reiterman et al. 1985). Besides, its more succinct vectorial representation constitutes an advantage for computational treatment.

The votes of the legislative power in countries with proportional representation party-list, mainly from Latin America, Europe, and Africa, can be represented as weighted voting games, where each player represents a political party, and the weights their number of parliamentary seats. The quota depends on the country and type of voting (e.g., common law, organic constitutional law, constitutional reform, etc.) (Riquelme and Gonzalez-Cantergiani 2017; Riquelme et al. 2019). However, it is important to remark that there are voting systems that cannot be represented as weighted voting games. For instance, the European Union Council under the Lisbon rules can be represented as the intersection of between 8 (Kober and Weltge 2021) and 25 weighted voting games (Chen et al. 2019) and as the union of at least 2000 weighted voting games (Kurz and Napel 2015). The above leads us to two key concepts: dimension and codimension. The dimension is the minimum number of weighted voting games whose intersections generate the considered simple game. Simple games formed by the intersection of several weighted voting games are called vector weighted voting games and were initially defined to represent voting systems in multicameralism (Taylor and Zwicker 1993). Similarly, the codimension is the minimum number of weighted voting games whose unions generate the considered simple game. Hence, the EU Council under the Lisbon rules has a dimension between 8 (Kober and Weltge 2021) and 25 (Chen et al. 2019) and a codimension of at least 2000 (Kurz and Napel 2015). Note that simple games with small dimensions can be described with a reasonable amount of bits, and thus analyzing some of their properties might became computationally tractable.

Several studies about dimension and codimension of simple games have appeared during the last two decades (Freixas and Molinero 2010; Taylor and Zwicker 1999; Taylor and Pacelli 2008). Some authors have focused on computing the dimension of simple games theoretically (Olsen et al. 2016; Freixas and Puente 2001, 2008), others on finding high dimensions for voting systems in real life (Kurz and Napel 2015), and others on computational complexity results (Molinero et al. 2016; Freixas et al. 2011). It is known that finding exact values for dimension and codimension are NP-hard computational problems (Deĭneko and Woeginger 2006). Moreover, dimensions in simple games can be exponential in the number of players (Olsen et al. 2016; Taylor and Zwicker 1999). The same occurs for codimensions since dimension and codimension are dual concepts (Kurz et al. 2016).

Recently, in Molinero et al. (2023) it was introduced a generalization of dimension and codimension to subclasses of simple games. The main objective of this generalization is to analyze the ability to express simple games as intersections or unions of games from subclasses of weighted voting games, in particular for subclasses of pure games, i.e., games without dummy players. Besides the definitions, Molinero et al. (2023) characterizes the simple games that can be expressed as either intersection or union of pure weighted voting games. The same work also provides a systematic classification of generalized dimension and codimension for all simple games up to six players and all simple games obtained by weighted voting games with linear restrictions until seven players.

In this article, we focus on another generalization of dimension that we call multidimension. Our idea is to use a well-formed expression (on unions and intersections) of weighted voting games to describe a simple game. The multidimension of a simple game \(\Gamma \) measures the minimum number of operations in an expression on intersections and unions describing \(\Gamma \) (see definitions in Sect. 3). Besides analyzing other properties, the multidimension of a simple game remains smaller or equal than the minimum of its dimension and codimension. In this way, we expect to provide a form of representation amenable to computational treatment for a bigger number of games. Our definition of multidimension is related to the minimum size of Boolean weighted voting games introduced in Faliszewski et al. (2009). In fact, as we will see later, the multidimension of a given simple game \(\Gamma \) is the minimum size of a Boolean weighted voting game equivalent to \(\Gamma \). On the other hand, there are other similar concepts of Boolean dimension related to our multidimension (O’Dwyer and Slinko 2017; Kurz 2021). We will comment on them in Sect. 3 were we introduce their definitions.

As for dimension and codimension, we also consider generalized notions of multidimension by restricting the subclasses of weighted voting games allowed in an expression. As we will see, some subclasses of weighted voting games are not enough to represent some simple games through expressions over the union and intersection operations. In those cases, when a game cannot be obtained in such a way, following the notation used in Molinero et al. (2023), we say that its generalized multidimension is \(\infty \).

Given a simple game with (generalized) dimension d and (generalized) codimension c, it is clear that its (generalized) multidimension is at most \(\min \{c,d\}\). However, for some simple games, the multidimension could be much smaller. For example, the EU Council under the Lisbon rules can be represented as the union of one weighted voting game with the intersection of two weighted voting games (Kurz and Napel 2015), so it has multidimension (or Boolean dimension O’Dwyer and Slinko 2017) 3. As expected, we show that, for subclasses of weighted voting games closed under duality, the generalized multidimension of a game and that of its dual coincide.

Another result is a characterization of the simple games with finite multidimension with respect to the class of pure weighted voting games. We show that all simple games except singleton games, i.e., games having only a singleton as a minimal winning coalition, have finite generalized multidimension on pure weighted voting games. In this way, we show that the expressiveness of expressions on intersections and unions is higher than when using only unions or only intersections. Interestingly enough, we show that expressions over a subclass of weighted voting games can generate all simple games if and only if they can generate all singleton games. In particular, this result allows us to show that the Boolean dimension of a game with n players, over the set of all singleton games, according to the definition in O’Dwyer and Slinko (2017), is upper bounded by n.

Finally, we provide a systematic classification of generalized multidimension for several subclasses of weighted voting games with up to six players. Our results are compared to those provided for generalized dimension and codimension in Molinero et al. (2023). Our study shows that the generalized multidimension can be smaller than the generalized dimension and codimension, even for simple games with very few players. Surprisingly, the experiments also show that the generalized multidimension presents a discontinuity for some classes. This latter result differs from the generalized dimension and codimension continuity established in Molinero et al. (2023).

The paper continues as follows. Section 2 presents the theoretical framework of this work. Section 3 introduces the (generalized) multidimension of simple games and gives some properties and examples. The main theoretical results are shown in Sect. 4, and the experimental ones are in Sect. 5. Section 6 is devoted to conclusions and future work.

2 Preliminaries

We start introducing basic notions and terminology for simple games. We also present the concepts of generalized dimension and codimension and recall some basic properties. We follow notation from Taylor and Zwicker (1999) and Molinero et al. (2023).

2.1 Simple games

Let N be a finite set, we denote \({{\mathcal {P}}}(N)\) the power set of N. A simple game \(\Gamma \) is a pair \((N,{{\mathcal {W}}})\), where \(N=[n]=\{1,\ldots ,n\}\) is a finite set of players or voters and \({{\mathcal {W}}}\subseteq {{\mathcal {P}}}(N)\) is a monotonic family of subsets of N, so that if \(S\subseteq T\subseteq N\) and \(S\in {{\mathcal {W}}}\), then \(T\in {{\mathcal {W}}}\). As usual, we assume that \(\emptyset \notin {{\mathcal {W}}}\) and \(N\in {{\mathcal {W}}}\). \({\mathcal{S}\mathcal{G}}\) denotes the family of all simple games.

A subset \(S\subseteq N\) is called a coalition. N is called the grand coalition. \({{\mathcal {W}}}\) is the set of winning coalitions. The set of losing coalitions, denoted by \({{\mathcal {L}}}\), is formed by those coalitions that are not winning, i.e., \({{\mathcal {L}}}={{\mathcal {P}}}(N){\setminus }{{\mathcal {W}}}\). The set of minimal winning coalitions, denoted by \({{\mathcal {W}}}^{m}\), is formed by those winning coalitions whose strict subsets are losing coalitions, i.e., \({{\mathcal {W}}}^{m}=\{S\in {{\mathcal {W}}}\mid \forall T\in {{\mathcal {W}}}, T\not \subset S\}\). Analogously, the set of maximal losing coalitions, denoted by \({{\mathcal {L}}^{M}} \), is formed by those losing coalitions whose strict supersets are winning coalitions, i.e., \({{\mathcal {L}}^{M}} =\{S\in {{\mathcal {L}}}\mid \forall T\in {{\mathcal {L}}}, S\not \subset T\}\). Each one of these set families, \({{\mathcal {W}}}\), \({{\mathcal {L}}}\), \({{\mathcal {W}}}^{m}\) and \({{\mathcal {L}}^{M}} \), determine uniquely the game \(\Gamma \) and constitute different forms of representations of simple games (Taylor and Zwicker 1999). Note that the size of these representations may not be polynomial in the number of players (Molinero et al. 2015).

The operations of intersection and union are defined in a natural way over simple games. Let \(\Gamma _1=(N,{{\mathcal {W}}}_1)\) and \(\Gamma _2=(N,{{\mathcal {W}}}_2)\) be simple games. The intersection of \(\Gamma _1\) and \(\Gamma _2\) is the game with set of players N and winning coalitions \({{\mathcal {W}}}_1\cap {{\mathcal {W}}}_2\), i.e., the game \(\Gamma _1\cap \Gamma _2 = (N,{{\mathcal {W}}}_1\cap {{\mathcal {W}}}_2)\). The union of \(\Gamma _1\) and \(\Gamma _2\) is the game with set of players N and winning coalitions \({{\mathcal {W}}}_1\cup {{\mathcal {W}}}_2\), i.e., the game \(\Gamma _1\cup \Gamma _2 = (N,{{\mathcal {W}}}_1\cup {{\mathcal {W}}}_2)\). As the set of winning coalitions is monotone, the intersection and the union of simple games are simple games.

We represent a permutation \(\sigma : [n] \rightarrow [n]\), by a vector with n components indicating the image of the n values. Given a game \(\Gamma =(N,{{\mathcal {W}}})\) and a permutation \(\sigma \) on N, the game \(\sigma (\Gamma )\) is the simple game obtained from \(\Gamma \) by replacing, in each winning coalition, each player i for \(\sigma (i)\). We say that two simple games \(\Gamma _1= (N,{{\mathcal {W}}}_1)\) and \(\Gamma _2= (N,{{\mathcal {W}}}_2)\) are isomorphic if there is a permutation \(\sigma \) on N such that \(\Gamma _2 = \sigma (\Gamma _1)\).

Example 1

Let be \(\Gamma _1=(N=[4], {{\mathcal {W}}}^{m}_1=\{\{1,2\},\{3,4\}\})\) and \(\Gamma _2=(N=[4], {{\mathcal {W}}}^{m}_2=\{\{1,3\},\{2,4\}\}\). Both games are isomorphic, i.e., \(\Gamma _1\simeq \Gamma _2\), because \(\Gamma _1=\sigma (\Gamma _2)\) where \(\sigma =(1\ 3\ 2\ 4)\).

Further, every simple game has an associated dual game. Let \(\Gamma =(N,{{\mathcal {W}}})\) be a simple game, its dual is the game \(\Gamma ^*=(N,{{\mathcal {W}}}^*)\) such that \({{\mathcal {W}}}^*=\{S\subseteq {}N\mid N{\setminus }{}S\not \in {}{{\mathcal {W}}}\}\). \(\Gamma \) is said to be self-dual or decisive if \(\Gamma =\Gamma ^*\). We say that a class of games \({{\mathcal {G}}} \subseteq {\mathcal{S}\mathcal{G}} \) is closed under duality, if, for each \(\Gamma \in {\mathcal{S}\mathcal{G}} \), \(\Gamma ^*\in {{\mathcal {G}}} \).

We recall now some player properties in a simple game, a player i is:

  • Dummy if \(i\in S\) implies \(S\notin {{\mathcal {W}}}^m\), i.e., \(i\notin S\), for all \(S\in {{\mathcal {W}}}^{m}\);

  • Passer if \(i\in S\) implies \(S\in {{\mathcal {W}}}\), i.e., \(\{i\}\in {{\mathcal {W}}}^m\);

  • Vetoer if \(i\notin S\) implies \(S\notin {{\mathcal {W}}}\), i.e., \(N{\setminus }\{i\}\in {{\mathcal {L}}}\);

  • Dictator if \(i\in S\Leftrightarrow S\in {{\mathcal {W}}}\), i.e., if it is passer and vetoer, i.e., if \({{\mathcal {W}}}^m=\{\{i\}\}\).

A pure simple game is a simple game without dummy players. \(p\text {-}\mathcal{S}\mathcal{G}\) denotes the family of all pure simple games.

As we mentioned in Sect. 1, many voting systems can be represented as weighted voting games, one of the most relevant subclasses of simple games. A simple game \(\Gamma =(N,{{\mathcal {W}}})\) is a weighted voting game if there exists a weighted function on the real numbers, \(w:\,N\rightarrow {\mathbb {R}}\), and a real quota \(q\in {\mathbb {R}}\), such that for any coalition \(S\subseteq N\), \(S\in {{\mathcal {W}}}\Leftrightarrow w(S)=\sum _{i\in S}w(i)\ge q\). \({\mathcal {WVG}}\)  and \(p\text {-}\mathcal {WVG}\) denote the families of all weighted voting games and pure weighted voting games, respectively.

In simple game theory, the weights of the players \(i\in N\) are usually denoted as \(w_i\) instead of w(i). Furthermore, every weighted voting game with a weighted function w, a quota q and a set of players \(N=\{1,\ldots ,n\}\) can be represented by a vector \([q;w_1,\ldots ,w_n]\). Moreover, it is well known that both quota and weights can be restricted to be non-negative integer numbers, without losing expressiveness (Taylor and Zwicker 1999). In the following, we will only consider such integer representations. In particular, it is worth mentioning that \(\Gamma =[q;w_1,\ldots ,w_n]\) if and only if \(\Gamma ^*=[w(N)-q+1;w_1,\ldots ,w_n]\). Thus, \(\Gamma \) is self-dual if and only if \(2q=w(N)+1\).

Although there exist simple games that are not weighted simple games, i.e., \({\mathcal {WVG}} \subset {\mathcal{S}\mathcal{G}} \), it is known that any simple game can be represented as either intersection (Taylor and Zwicker 1993) or union (Freixas and Marciniak 2010) of a finite number of weighted voting games. This property leads to the introduction of the dimension and the codimension concepts. Given a simple game \(\Gamma \), the dimension of \(\Gamma \) (\(\textsf {dim} (\Gamma )\), in short) is the least number of weighted voting games whose intersection is equal to \(\Gamma \), and the codimension of \(\Gamma \) (\(\textsf {codim} (\Gamma )\)) is the least number of weighted voting games whose union is equal to \(\Gamma \).

It is well known that \(\textsf {dim} (\Gamma )\le | {{\mathcal {L}}^{M}} |\) and \(\textsf {codim} (\Gamma )\le | {{\mathcal {W}}}^{m} |\). Furthermore, \(\textsf {dim} (\Gamma )=\textsf {codim} (\Gamma ^*)\) because \((\Gamma _1\cap \Gamma _2)^*=\Gamma _1^*\cup \Gamma _2^*\). See Kurz et al. (2016) for further details.

We finish this section by defining a subclass of simple games containing weighted voting games. It is defined from a desirability relation that orders the players according to their influence (Isbell 1958). Let \(\Gamma =(N,{{\mathcal {W}}})\) be a simple game, \(a,b\in {}N\), and \(S\subseteq {}N{\setminus }\{a,b\}\). We say that a player a is at least as desirable as another player b in \(\Gamma \) if \(S\cup \{a\}\in {{\mathcal {W}}}\) implies \(S\cup \{b\}\in {{\mathcal {W}}}\). A complete game is a simple game in which the desirability relation over their players is a complete preorder (Taylor and Pacelli 2008), i.e., a reflexive and transitive binary relation on their players in which any two elements are comparable. \({\mathcal {CSG}}\)  and \(p\text {-}\mathcal {CSG}\) denote the families of all complete games and all pure complete games, respectively. Note that \({\mathcal {WVG}} \subset {\mathcal {CSG}} \subset {\mathcal{S}\mathcal{G}} \) and \(p\text {-}\mathcal {WVG} \subset p\text {-}\mathcal {CSG} \subset p\text {-}\mathcal{S}\mathcal{G} \).

2.2 Representations

Now, we recall some known definitions described by Molinero et al. (2023). Those definitions will be applied later to develop our experiments.

Definition 1

Let \(\Gamma \in {\mathcal {WVG}} \). A representation \([q;w_{1},w_{2},\ldots ,w_{n}]\) of \(\Gamma \) is:

  • A minimum representation if, for any representation \([q';w_{1}',w_{2}',\ldots ,w_{n}']\) of \(\Gamma \), we have that \(w_i\le w_{i}'\), for all \(i\in [n]\);

  • A minimum sum representation (min-sum, for short) if, for any representation \([q';w_{1}',w_{2}',\) \(\ldots ,w_{n}']\) of \(\Gamma \), we have \(\sum _{i=1}^{n} w_{i} \le \sum _{i=1}^{n} w_{i}'\);

  • A canonical representation if and only if \(w_{i} \ge w_{j}\) whenever \(i<j\);

  • An anti-canonical representation if and only if \(w_{i} \le w_{j}\) whenever \(i<j\). Note that it is a canonical representation but with the weights in reversed order;

  • The canonical minimum representation (down, for short) of \(\Gamma \) if it is canonical, min-sum, and the vector \((w_{1},w_{2},\ldots ,w_{n})\) is lexicographically minimum among all player’s weight vectors of canonical and min-sum representations of \(\Gamma \). The last condition is equivalent to, for any other canonical min-sum representation \([q';w_1',\ldots ,w_n']\) of \(\Gamma \), if \(i=\min \{j\in [n]\mid w_j\ne w_j'\}\) then \(w_i<w_i'\);

  • The anti-canonical minimum representation (up, for short) of \(\Gamma \) if it is the canonical minimum representation but with the weights in reversed order;

  • A down-up representation if it is the down or the up representation.

Note that the canonical representation identifies exactly one game for a set of isomorphic games as the definition forces a particular isomorphism. Nevertheless, as a weighted voting game can have more that one min-sum representation, canonical representations might keep more than one game from each class of isomorphic games. According to (Molinero et al. 2023, Prop. 3), a min-sum representation \([q; w_1,w_2,\ldots ,w_n]\) verifies that, for \(i\in [n]\), \(w_i=0\) if and only if player i is dummy. Note that a simple game \((N,{{\mathcal {W}}})\) with a dummy player \(i\in N\) could be reduced to a simple game with a smaller grand coalition, \((N{\setminus }\{i\},{{\mathcal {W}}})\), keeping the same winning (and, therefore, losing) coalitions. Hence, we can generate infinite simple games with dummy players from a simple game without dummies only by increasing the set of players N. We add the suffix -p to a representation name to denote the type of representation with the additional condition that all values (quota and weights) must be positive. Observe that such subclasses hold only representations of pure games.

We also associate with a type of representation \({{\mathcal {R}}} \) the corresponding subclass of \({\mathcal {WVG}}\), denoted as \({{\mathcal {R}}} \)-\({\mathcal {WVG}} \). Observe that, in general, a game can have infinite representations and more than one representation of a particular type. However, a representation defines only one game. In this way, min-sum-\({\mathcal {WVG}}\) \( = \) \({\mathcal {WVG}}\), but down-\({\mathcal {WVG}}\) (or up-\({\mathcal {WVG}}\) ) contains only one game from each class of isomorphic \({\mathcal {WVG}}\). In the same way, down-\(p\text {-}\mathcal {WVG}\) (or up-\(p\text {-}\mathcal {WVG}\) ) contains only one game from each class of isomorphic \(p\text {-}\mathcal {WVG}\).

We now recall the definitions of the closure under intersection and union, and the generalization of dimension and codimension to subfamilies of \({\mathcal {WVG}}\) introduced and studied in Molinero et al. (2023).

Definition 2

Let \({{\mathcal {G}}} \) be a subclass of weighted voting games. The closure under intersection of \({{\mathcal {G}}} \), denoted by \({\mathcal{S}\mathcal{G}} _\cap ({{\mathcal {G}}})\), is the set of simple games that can be obtained as the intersection of a finite set of games in \({{\mathcal {G}}} \). That is,

$$\begin{aligned} {\mathcal{S}\mathcal{G}} _\cap ({{\mathcal {G}}}) = \{\Gamma \in {\mathcal{S}\mathcal{G}} \mid \exists \Gamma _1,\ldots ,\Gamma _k\in {{\mathcal {G}}}, k\in {\mathbb {N}}, \text { and } \Gamma =\Gamma _1\cap \ldots \cap \Gamma _k\}. \end{aligned}$$

In a similar way, the closure under union of \({{\mathcal {G}}} \), denoted by \({\mathcal{S}\mathcal{G}} _\cup ({{\mathcal {G}}})\), is defined using union instead of intersection, i.e.,

$$\begin{aligned} {\mathcal{S}\mathcal{G}} _\cup ({{\mathcal {G}}}) = \{\Gamma \in {\mathcal{S}\mathcal{G}} \mid \exists \Gamma _1,\ldots ,\Gamma _k\in {{\mathcal {G}}}, k\in {\mathbb {N}}, \text { and } \Gamma =\Gamma _1\cup \ldots \cup \Gamma _k\}. \end{aligned}$$

Definition 3

Let \(\Gamma \in {\mathcal{S}\mathcal{G}} \) and \({{\mathcal {G}}} \subseteq {\mathcal {WVG}} \). The generic dimension of \(\Gamma \) over \({{\mathcal {G}}} \) (\(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,{{\mathcal {G}}} \right) \), in short) is

$$\begin{aligned} \textsf {g}\text{- }\textsf {dim}\left( \Gamma ,{{\mathcal {G}}} \right) = \left\{ \begin{array}{ll} \min \{t\mid \exists \Gamma _1,\ldots ,\Gamma _t\in {{\mathcal {G}}} \text { and } \Gamma =\Gamma _1\cap \ldots \cap \Gamma _t\},&{}\quad \hbox {if }\,\,\Gamma \in {\mathcal{S}\mathcal{G}} _\cap ({{\mathcal {G}}})\\ +\,\infty ,&{}\quad \hbox {otherwise.} \end{array} \right. \end{aligned}$$

The generic codimension of \(\Gamma \) over \({{\mathcal {G}}} \) (denoted by \(\textsf {g}\text{- }\textsf {codim}\left( \Gamma ,{{\mathcal {G}}} \right) \)) is

$$\begin{aligned} \textsf {g}\text{- }\textsf {codim}\left( \Gamma ,{{\mathcal {G}}} \right) = \left\{ \begin{array}{ll} \min \{t\mid \exists \Gamma _1,\ldots ,\Gamma _t\in {{\mathcal {G}}} \text { and } \Gamma =\Gamma _1\cup \ldots \cup \Gamma _t\},&{}\quad \hbox {if}\,\, \Gamma \in {\mathcal{S}\mathcal{G}} _\cup ({{\mathcal {G}}})\\ +\,\infty ,&{}\quad \hbox {otherwise.} \end{array} \right. \end{aligned}$$

In Molinero et al. (2023), among other results comparing the generalized dimension and codimension over different subclasses of weighted voting games, the authors provide a characterization of the closure under intersection and union of the class \(p\text {-}\mathcal {WVG}\) . Before stating it, we need to introduce some notation. For, \(1\le i\le k\le n\), define \(\Gamma _{n,[{k}]:{i}}\) to be the simple game with set of players \(N=[n]\) such that all minimal winning coalitions are the subsets of [k] with i elements. Let \({\mathcal {S}}_n\) be the set of all permutations from [n] to [n]. We also consider the games obtained from \(\Gamma _{n,[{k}]:{i}}\) after permuting the players according to \(\sigma \in {\mathcal {S}}_n\), denoted as \(\Gamma _{n,\sigma ([{k}]):{i}}\). Note that \(\Gamma _{n,[{k}]:{i}}\) and \(\Gamma _{n,\sigma ([{k}]):{i}}\) are isomorphic and, moreover, \(\Gamma _{n,\sigma ([{k}]):{i}}^*=\Gamma _{n,\sigma ([{k}]):{k-i+1}}\).

Theorem 1

(Molinero et al. 2023) Let \(\Gamma \in {\mathcal{S}\mathcal{G}} \) with \(n>1\) players. Then,

$$\begin{aligned} \textsf {g}\text{- }\textsf {dim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) \left\{ \begin{array}{ll} =\infty , &{}\quad \hbox {if}\,\, \Gamma =\Gamma _{n,\sigma ([{k}]):{1}},\hbox { for} 1\le k< n \hbox { and } \sigma \in {\mathcal {S}}_n.\\ <\infty , &{}\quad \hbox {otherwise.} \end{array} \right. \end{aligned}$$

Furthermore, by duality,

$$\begin{aligned} \textsf {g}\text{- }\textsf {codim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) \left\{ \begin{array}{ll} =\infty , &{}\quad \hbox {if}\,\, \Gamma =\Gamma _{n,\sigma ([{k}]):{k}}, \hbox {for }1\le k<n \hbox {and } \sigma \in {\mathcal {S}}_n.\\ <\infty , &{}\quad \hbox {otherwise.} \end{array} \right. \end{aligned}$$

3 Generalized multidimension

Now, we introduce an extension of the concepts of generalized dimension and codimension that we call generalized multidimension. To do so, we first generalize the type of expressions that can be used to generate a simple game.

Definition 4

Let \({{\mathcal {G}}} \) be a subclass of weighted voting games with a set of players N. An N-\({{\mathcal {G}}} \)-expression is recursively defined by the following rules:

  • \(\Gamma \in {{\mathcal {G}}} \) is an \(N\)-\({{\mathcal {G}}} \)-expression.

  • If \(E'\) and \(E''\) are \(N\)-\({{\mathcal {G}}} \)-expression s, then so are \((E'\cap E'')\) and \((E'\cup E'')\).

  • Nothing else is an \(N\)-\({{\mathcal {G}}} \)-expression.

Note that we formally combine expressions with the intersection or the union operator using parentheses. However, when there is no risk of ambiguity, we can say \(E'\cap E''\) instead of \((E'\cap E'')\), and \(E'\cup E''\) instead of \((E'\cup E'')\). The size of an \(N\)-\({{\mathcal {G}}} \)-expression E, denoted by \(\textsf {size}(E) \), is the number of operators appearing in E plus one.

To each \(N\)-\({{\mathcal {G}}} \)-expression E, we associate a simple game with set of players N, denoted by \(\Gamma (N,E)\), recursively as follows:

  • If \(E= \Gamma \in {{\mathcal {G}}} \), then \(\Gamma (N,E) = \Gamma \).

  • If \(E=(E'\cap E'')\), then \(\Gamma (N,E) = \Gamma (N,E')\cap \Gamma (N,E'')\).

  • If \(E=(E'\cup E'')\), then \(\Gamma (N,E) = \Gamma (N,E')\cup \Gamma (N,E'')\).

Observe that an \(N\)-\({{\mathcal {G}}} \)-expression can be represented by a binary tree whose internal nodes are labeled by either \(\cap \) or \(\cup \) and whose leaves are labeled by representations of games in \({{\mathcal {G}}} \), all of them defined over the same set of players N. Furthermore, the size of an \({{\mathcal {G}}} \)-expression E coincides with the number of leaves in the binary tree. Now, we present a particular example where \({{\mathcal {G}}} \) is \({\mathcal {WVG}} \).

Example 2

Let \(\Gamma _1=[3;1,1,2]\), \(\Gamma _2=[2;1,1,2]\), \(\Gamma _3=[1;0,1,0]\) and \(\Gamma _4=[3;1,2,1]\) be four different weighted voting games, and \(E_1=(\Gamma _1\cup \Gamma _2)\cap \Gamma _3\), \(E_2=(\Gamma _1\cap \Gamma _3)\cup (\Gamma _2\cap \Gamma _3)\) and \(E_3= \Gamma _4\) be three \(N\)-\({\mathcal {WVG}} \)-expression s. Let \(N=\{a,b,c\}\) be the set of players of the games. Note that \(\Gamma (N,E_1)=\Gamma (N,E_2)= \Gamma (N,E_3)\) since in the three cases we obtain the simple game \((N,{{\mathcal {W}}})\) with \({{\mathcal {W}}}^m=\{\{a,b\}, \{b,c\}\}\). Furthermore, the three expressions can be represented by the binary trees illustrated in Fig. 1. Although the three expressions generate \(\Gamma _4\), note that \(\textsf {size}(E_1) =3\), \(\textsf {size}(E_2) =4\) and \(\textsf {size}(E_3) =1\).

Fig. 1
figure 1

Binary trees of three \(N\)-\({\mathcal {WVG}} \)-expression s generating \(\Gamma _4\)

Note that a simple game with dimension d has an associated \(N\)-\({\mathcal {WVG}} \)-expression formed by the intersection of d different weighted voting games, \(\Gamma _1\,\cap \,\cdots \,\cap \,\Gamma _d\). The same occurs for a simple game with codimension d, replacing \(\cap \) by \(\cup \) in the \(N\)-\({\mathcal {WVG}} \)-expression. The size of both expressions is d, which is the number of operators \(\cap \) plus one, and also the number of weighted voting games in the expressions. Thus, our definition of the size of an \(N\)-\({\mathcal {WVG}} \)-expression is consistent with the concepts of dimension and codimension.

It is useful to consider the set of all \(N\)-\({{\mathcal {G}}} \)-expression s.

Definition 5

A \({{\mathcal {G}}} \)-expression is a \(N\)-\({{\mathcal {G}}} \)-expression, for some set of players N.

To analyze the expressiveness of \({{\mathcal {G}}} \)-expression s for subclasses \({\mathcal {WVG}}\), we introduce the closure concept.

Definition 6

Let \({{\mathcal {G}}} \subseteq {\mathcal {WVG}} \) be a subclass of weighted voting games. The closure under \({{\mathcal {G}}} \)-expression of \({{\mathcal {G}}} \), denoted by \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), is the set of simple games associated to \({{\mathcal {G}}} \)-expression s, i.e., \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}}) = \cup _{n\in {\mathbb {N}}, |N|=n}\{\Gamma (N,E)\mid E \text { is a}\,N\text {-}{{\mathcal {G}}} \text {-expression} \}\).

Using this association, we define the generalized multidimension of a simple game over a subclass of weighted voting games \({{\mathcal {G}}} \subseteq {\mathcal {WVG}} \) as follows.

Definition 7

Let \(\Gamma =(N,{{\mathcal {W}}})\in {\mathcal{S}\mathcal{G}} \). The generalized multidimension over a subclass of weighted voting games \({{\mathcal {G}}} \) of \(\Gamma \in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\) is the minimum size of an \(N\)-\({{\mathcal {G}}} \)-expression E with \(\Gamma =\Gamma (N,E)\). We denote such generalized multidimension over \({{\mathcal {G}}} \) of \(\Gamma \) by \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \). When \(\Gamma \notin {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), we say that its multidimension is infinite, i.e., \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) =\infty \).

Observe that the game defined on Example 2 has generic dimension, generic codimension and generic multidimension over \({\mathcal {WVG}}\) equal to 1. It is clear that the generalized multidimension depends on the considered subclass.

Example 3

Let \(\Gamma _1 = [1;1,1,0,0,0]\) and \(\Gamma _2 = [1;0,0,1,1,1]\) be two weighted voting games. Note that [1; 1, 1, 0, 0, 0] is the down representation of \(\Gamma _1\), and [1; 0, 0, 1, 1, 1] is the up representation of \(\Gamma _2\). Furthermore, \(\Gamma _2\) does not admit any down representation as player 1 is a dummy player. Therefore, we have the following result: \(1=\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,\text {down-}{\mathcal {WVG}} \right) < \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,\text {down-}{\mathcal {WVG}} \right) \). In a similar way, \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,\text {up-}{\mathcal {WVG}} \right)>\)\( \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,\text {up-}{\mathcal {WVG}} \right) =1\). Moreover, it is clear that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,\text {down-up-}{\mathcal {WVG}} \right) = \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,\text {down-up-}{\mathcal {WVG}} \right) = 1\).

As every simple game can be defined as intersection or union of a finite number of weighted voting games, we always have a finite \(N\)-\({\mathcal {WVG}} \)-expression describing it. In particular, as every simple game has a finite dimension and codimension (Taylor and Zwicker 1999), every simple game \(\Gamma \) also has a finite \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) \). Moreover, given a simple game \(\Gamma \), \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) \le \min \{\textsf {dim} (\Gamma ),\textsf {codim} (\Gamma )\}\).

As we have mentioned before, Boolean weighted voting games were introduced by Faliszewski et al. (2009). These games are defined by means of monotone Boolean formulas (those using only conjunction and disjunction). Let us review this definition and relate it with the definition of multidimension.

Definition 8

(Faliszewski et al. 2009, Sec.3) A simple Boolean weighted voting game is a tuple \(\Gamma =(N,{{\mathcal {G}}},\Phi ,\varphi )\), where:

  1. 1.

    \(N=\{1,\dots , n\}\) is a set of players;

  2. 2.

    \({{\mathcal {G}}} =\{\Gamma _1,\dots ,\Gamma _m\}\) is a set of m weighted voting games over N;

  3. 3.

    \(\Phi =\{p_1,\dots , p_m\}\) is a set of m propositional variables with each variable \(p_j\) corresponding to the game \(\Gamma _j\); and

  4. 4.

    \(\varphi \) is a monotone propositional formula over \(\Phi \).

A coalition S wins in \(\Gamma \) if and only if the assignment \(\sigma (p_j) = (S\in {{\mathcal {W}}}(\Gamma _j))\), for \(1\le j \le m\), satisfies \(\varphi \).

In Faliszewski et al. (2009), the size of a Boolean formula \(\varphi \) is defined as the number of variable occurrences in \(\varphi \). Observe that, there is a one-to-one correspondence among monotone Boolean formulas and expressions over union and intersection. Thus, the multidimension is the minimum size of a Boolean weighted voting game that generates a given simple game. Faliszewski et al. (2009) does not define explicitly the multidimension of a simple game, but it provides results on the number of Boolean weighted voting games that can be described by monotone formulas of a given size. In particular (Faliszewski et al. 2009, Corollary 2) states that, for large enough n, there are simple games that cannot be described by Boolean formulas with size smaller than \({{2^n}/{n^5}}\).

Other related definitions were introduced in O’Dwyer and Slinko (2017) and Kurz (2021) as Boolean dimension. On the one hand, O’Dwyer and Slinko (2017, Def.7) defines the Boolean dimension of a simple game \(\Gamma \) as the smallest number d such that a Boolean weighted voting game on d weighted voting games generates \(\Gamma \). In this way, the Boolean dimensions of \(\Gamma \) and \(\Gamma '\) in Example 9 are at most 3 and 6, respectively, but their multidimensions are 5 and 18, respectively. On the other hand, Kurz (2021, Def.2.12) defines the Boolean dimension of a simple game \(\Gamma \) as the smallest integer d such that \(\Gamma \) is a Boolean combination of d weighted voting games using the operators \(\wedge \) and \(\vee \), where a Boolean combination of d weighted voting games \(v_1,\ldots ,v_d\) is given by \(v_1\wedge v'\) or \(v_1\vee v'\), where \(v'\) is a Boolean combination of \(v_2,\ldots ,v_d\).

Several properties can be obtained directly from the definitions. It is clear that \(\Gamma \in {\mathcal {WVG}} \) implies \(\textsf {dim} (\Gamma )=\textsf {codim} (\Gamma )=\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) =1\). Moreover, for any \(\Gamma \in {\mathcal{S}\mathcal{G}} \), \(\textsf {dim} (\Gamma )=2\) or \(\textsf {codim} (\Gamma )=2\) implies that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) =2\), and vice versa. When \(\Gamma \in {\mathcal{S}\mathcal{G}} \) has \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) =m\), if it admits an \(N\)-\({\mathcal {WVG}} \)-expression with size m that considers only intersections (or unions), then \(\textsf {dim} (\Gamma )=\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) \) (or \(\textsf {codim} (\Gamma )=\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) \)).

Interestingly enough, our next result shows that the generalized multidimension is maintained by duality provided the considered class is closed under duality. The invariance under duality was stated for Boolean dimension by O’Dwyer and Slinko (2017, Proposition 5). Using similar arguments, our next results extends the property to generalized multidimension.

Proposition 2

Let \({{\mathcal {G}}} \) be a class closed under duality. Let \(\Gamma \) be a simple game, then \(\Gamma \in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\) if and only if \(\Gamma ^*\in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\). Furthermore, for \(\Gamma \in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ^*,{{\mathcal {G}}} \right) =\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \).

Proof

If \({{\mathcal {G}}} \) is closed under duality, the dual of \(\Gamma \in {{\mathcal {G}}} \) belongs also to \({{\mathcal {G}}} \). As we have mentioned before, the dual of a weighted voting game is a weighted voting game. In fact, \([q; w_1, \ldots , w_n]^*=[w(N)-q+1; w_1, \ldots , w_n]\). Furthermore, we know that \((\Gamma _1\cap \Gamma _2)^* = \Gamma _1^* \cup \Gamma _2^*\) and \((\Gamma _1\cup \Gamma _2)^* = \Gamma _1^* \cap \Gamma _2^*\) (Taylor and Zwicker 1999). Combining these statements, we can transform any \(N\)-\({{\mathcal {G}}} \)-expression defining \(\Gamma \) into an \(N\)-\({{\mathcal {G}}} \)-expression defining \(\Gamma ^*\) and vice versa, without changing the number of leaves in the tree expression. So, the result follows. \(\square \)

In Definition 4, we have considered only the two binary operators \(\cup \) and \(\cap \). In the traditional algebra of simple games, it is usual to consider the dual as a unary operator. From Proposition 2, it is clear that even though Definition 4 allowed the dual operator, the dual of an \(N\)-\({{\mathcal {G}}} \)-expression is another \(N\)-\({{\mathcal {G}}} \)-expression. In this way, we could remove the dual operator obtaining a smaller expression without duality. The thus-obtained generalized multidimension over \({\mathcal {WVG}}\) of any simple game would be the same that when the dual operator is not allowed.

Below, we mention examples where the generalized multidimension over \({\mathcal {WVG}}\) and codimension coincide, while the dimension is higher. By duality, in their dual games, the generalized multidimension over \({\mathcal {WVG}}\) and dimension coincide while the codimension is higher.

Example 4

Let \(\Gamma =(N,{{\mathcal {W}}}^{m})\) where \(N=[2k]\) and \({{\mathcal {W}}}^{m}= \{i\in N\mid i\text { is odd}\}\cup \{j\in N\mid j\text { is even}\}\). It is clear that \(\Gamma =[k;\underbrace{1,0,\ldots ,1,0}_{2k}]\cup [k;\underbrace{0,1,\ldots ,0,1}_{2k}]\). So, \(\textsf {codim} (\Gamma )=2\). On the other hand, according to (Faliszewski et al. 2009, Th. 3), \(\textsf {dim} (\Gamma )=n^2/4\) (see also Taylor and Zwicker 1999). Thus, for \(n>2\), \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) =\textsf {codim} (\Gamma )=2\) and \(\textsf {dim} (\Gamma )=n^2/4\).

In the following example, the multidimension and the codimension coincide, but both are exponentially smaller than the dimension.

Example 5

Let \(\Gamma =(N,{{\mathcal {W}}}^{m})\) where \(N=[2k]\) and \({{\mathcal {W}}}^{m}=\bigcup \nolimits _{\tiny i\in [k]} \{2i-1,2i\}\). According to Freixas and Puente (2001), for \(k>0\), \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) =\textsf {codim} (\Gamma )=k\) and \(\textsf {dim} (\Gamma )=2^{k-1}\).

In Olsen et al. (2016) they provide more examples with exponential dimension and constant codimension. Example 8 will show some simple games with multidimension strictly smaller than the dimension and the codimension.

Taking into account the equivalence among expressions and monotone Boolean formula, the results in Proposition 1 and Corollary 2 of Faliszewski et al. (2009) can be rewritten as follows.

Proposition 3

(Faliszewski et al. 2009) The total number of games in \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({\mathcal {WVG}})\) with n players and multidimension d is at most \(2^{O(dn^2 \log (dn))}\). There are simple games with n players with \(\textsf {mdim} \ge 2^n/n^5\).

4 Expressiveness: theoretical results

In this section, we study the multidimension of simple games over specific subclasses of weighted voting games. It is well known that intersections (or unions) of games in \({\mathcal {WVG}}\) generate all \({\mathcal{S}\mathcal{G}}\). Thus, it is obvious that \({\mathcal {WVG}} \)-expression s also generate all \({\mathcal{S}\mathcal{G}}\). However, as we see in Example 3, \({{\mathcal {G}}} \)-expression for \({{\mathcal {G}}} \) being down-\({\mathcal {WVG}}\) or up-\({\mathcal {WVG}}\) are not enough to generate all \({\mathcal{S}\mathcal{G}}\), as well as down-\({\mathcal {WVG}}\) -expression s (or up-\({\mathcal {WVG}}\) -expression s). Next, we shall define sufficient conditions that a subclass \({{\mathcal {G}}} \subseteq {\mathcal{S}\mathcal{G}} \) has to accomplish to verify that for all \(\Gamma \in {\mathcal{S}\mathcal{G}} \), \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) <\infty \). Before doing that, we provide an upper bound for the generalized multidimension of unions or intersections of games.

Proposition 4

Let \({{\mathcal {G}}} \subseteq {\mathcal{S}\mathcal{G}} \) and let \(\Gamma ,\Gamma _1,\Gamma _2\in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\) with the same set of players N, such that \(\Gamma =\Gamma _1\cup \Gamma _2\) or \(\Gamma =\Gamma _1\cap \Gamma _2\), then \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) +\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \).

Proof

Let \(E_1\) be an \(N\)-\({{\mathcal {G}}} \)-expression of minimum size describing \(\Gamma _1\) and let \(E_2\) be an \(N\)-\({{\mathcal {G}}} \)-expression of minimum size describing \(\Gamma _2\). It is clear that \(E_1\cup E_2\) and \(E_1\cap E_2\) are \(N\)-\({{\mathcal {G}}} \)-expression s describing \(\Gamma \) and, by definition, their size is the sum of the sizes of \(E_1\) and \(E_2\). As the initial expressions have minimum size, the claim follows. \(\square \)

To analyze additional properties about the closure under \({{\mathcal {G}}} \)-expression of subclasses of \({\mathcal {WVG}}\), we start introducing some notation.

Definition 9

For \(j\in N\), the j-th singleton game over N players is the simple game where the j-th player is the only minimal winner. We denote those games by \(\Gamma _N^{(j)}\). Formally, for \(j\in N\), we have that \(\Gamma _N^{(j)}=\Gamma (N,{{\mathcal {W}}}^{m})\) such that \({{\mathcal {W}}}^{m}=\{\{j\}\}\). The class of all singleton games with players N is denoted by \({{\mathcal {S}}_{N}\text {-}\mathcal{S}\mathcal{G}} \), and all singleton games by \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\).

Note that \(\Gamma _N^{(j)}\) is the simple game such that the j-th player is a dictator and the other players are dummies. Next, we prove that using \({{\mathcal {G}}} \)-expression s, one class can generate all \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\) if and only if it can generate \({\mathcal{S}\mathcal{G}}\).

Theorem 5

Let \({{\mathcal {G}}} \subseteq {\mathcal{S}\mathcal{G}} \), \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})={\mathcal{S}\mathcal{G}} \) if and only if \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\). Moreover, for such a subclass \({{\mathcal {G}}} \) with \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), we have

  1. (a)

    given \(\Gamma =(N,{{\mathcal {W}}}^{m})\in {\mathcal{S}\mathcal{G}} \), then

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \sum \limits _{S\in {{\mathcal {W}}}^{m}} \sum \limits _{j\in {}S}\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) , \end{aligned}$$
  2. (b)

    given \(\Gamma =(N,{{\mathcal {L}}^{M}})\in {\mathcal{S}\mathcal{G}} \), then

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \sum \limits _{T\in {{\mathcal {L}}^{M}}} \sum \limits _{j\in {}N{\setminus }{}T} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) , \end{aligned}$$

up to isomorphism.

Proof

Of course, if there is \(\Gamma \in {\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \) with \(\Gamma \notin {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), then \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\subsetneq {\mathcal{S}\mathcal{G}} \). For the other implication, i.e., if \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\) then \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})={\mathcal{S}\mathcal{G}} \), we prove the two inequalities in two separated statements.

  1. (a)

    Let be \(\Gamma =(N,{{\mathcal {W}}}^{m})\in {\mathcal{S}\mathcal{G}} \), where \({{\mathcal {W}}}^{m}=\{S_1,\ldots ,S_k\}\). It is clear that \(\Gamma =\bigcup \nolimits _{1\le i\le k}\Gamma _i\), where \(\Gamma _i=(N,{{\mathcal {W}}}^{m}_i)\) being \({{\mathcal {W}}}^{m}_i=\{S_i\}\), for \(1\le i\le k\). Note that \(\Gamma _i=\bigcap \nolimits _{j\in S_i}\Gamma _N^{(j)}\).

    It is also clear that \(\Gamma \) satisfies

    $$\begin{aligned} \Gamma = \bigcup _{1\le i\le k} \left( \bigcap _{j\in S_i}\, \Gamma _N^{(j)}\right) . \end{aligned}$$

    Thus, given \(\Gamma =(N,{{\mathcal {W}}}^{m})\in {\mathcal{S}\mathcal{G}} \), from Proposition 4, the result follows

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \sum \limits _{S\in {{\mathcal {W}}}^{m}} \sum \limits _{j\in {}S}\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) . \end{aligned}$$
  2. (b)

    Let be \(\Gamma =(N,{{\mathcal {L}}^{M}})\in {\mathcal{S}\mathcal{G}} \), where \({{\mathcal {L}}^{M}} =\{T_1,\ldots ,T_\ell \}\). It results that \(\Gamma =\bigcap \nolimits _{1\le i\le \ell }\Gamma _i\), where \(\Gamma _i=(N,{{\mathcal {L}}^{M}} _i)\) being \({{\mathcal {L}}^{M}} _i=\{T_i\}\), for \(1\le i\le \ell \). Observe that \(\Gamma _i=\bigcup \nolimits _{j\in N{{\setminus }}{}T_i}\Gamma ^{(j)}\).

    In this case, we have that

    $$\begin{aligned} \Gamma = \bigcap _{1\le i\le \ell } \left( \bigcup _{j\in N{\setminus }{}T_i}\, \Gamma ^{(j)}\right) . \end{aligned}$$

    So, given \(\Gamma =(N,{{\mathcal {L}}^{M}})\in {\mathcal{S}\mathcal{G}} \), then the inequality results

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \sum \limits _{T\in {{\mathcal {L}}^{M}}} \sum \limits _{j\in {}N{\setminus }{}T} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) . \end{aligned}$$

\(\square \)

Example 6

Let be \(\Gamma =(N, {{\mathcal {W}}}^{m})\), where \(N=\{1,2,3\}\) and \({{\mathcal {W}}}^{m}=\{\{1,2\},\{3\}\})\). Then, \(\Gamma _1=(N, {{\mathcal {W}}}^{m}_1=\{\{1,2\}\}) = \Gamma ^{(1)}_N\cap \Gamma ^{(2)}_N\) and \(\Gamma _2=(N, {{\mathcal {W}}}^{m}_2=\{\{3\}\}) = \Gamma ^{(3)}_N\) verify \(\Gamma =\Gamma _1\cup \Gamma _2\). On the other hand, let be \({{\overline{\Gamma }}}=(N, {{\mathcal {L}}^{M}})\), where \(N=\{1,2,3\}\) and \({{\mathcal {L}}^{M}} =\{\{1,2\},\{3\}\}\). Then, \({{\overline{\Gamma }}}_1=(N, {{\mathcal {L}}^{M}} _1=\{\{1,2\}\}) = \Gamma ^{(1)}_N\) and \({{\overline{\Gamma }}}_2=(N, {{\mathcal {L}}^{M}} _2=\{\{3\}\}) = \Gamma ^{(1)}_N\cup \Gamma ^{(2)}_N\) satisfy \({{\overline{\Gamma }}}={{\overline{\Gamma }}}_1\cap {{\overline{\Gamma }}}_2\). Hence, \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{\mathcal {WVG}} \right) \le 3\).

From the previous theorem, we can establish the following corollary.

Corollary 1

Given \(\Gamma =(N,{{\mathcal {W}}}^{m})=(N,{{\mathcal {L}}^{M}})\in {\mathcal{S}\mathcal{G}} \), and a subclass \({{\mathcal {G}}} \subseteq {\mathcal{S}\mathcal{G}} \).

  1. (a)

    If \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {\mathcal{S}\mathcal{G}} _{\mathcal {E}}({{\mathcal {G}}})\), then

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \min \left\{ \sum \limits _{S\in {{\mathcal {W}}}^{m}} \sum \limits _{j\in {}S}\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) , \sum \limits _{T\in {{\mathcal {L}}^{M}}} \sum \limits _{j\in {}N{\setminus }{}T}\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _N^{(j)},{{\mathcal {G}}} \right) \right\} . \end{aligned}$$
  2. (b)

    If \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {{\mathcal {G}}} \), then

    $$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \le \min \left\{ \sum \limits _{S\in {{\mathcal {W}}}^{m}} |S|, \sum \limits _{T\in {{\mathcal {L}}^{M}}} (|N|-|T|) \right\} \le |N| \min \Big \{ | {{\mathcal {W}}}^{m} |, | {{\mathcal {L}}^{M}} | \Big \}. \end{aligned}$$

A class that does not contain the class \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\) is \(p\text {-}\mathcal {WVG} \), as singleton games, for \(n>1\), have dummy players. Our next result shows that \(p\text {-}\mathcal {WVG}\)-expression s cannot generate the family \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\). Furthermore, we show that singleton games are the unique simple games without finite multidimension over the family of \(p\text {-}\mathcal {WVG}\).

Theorem 6

\({\mathcal{S}\mathcal{G}} _{\mathcal {E}}(p\text {-}\mathcal {WVG}) = {\mathcal{S}\mathcal{G}} {\setminus } {\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \).

Proof

The proof consists in two steps.

From Theorem 1 we establish that \(\Gamma \notin {\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \) with \(n>1\) implies \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) <\infty \) or \(\textsf {g}\text{- }\textsf {codim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) <\infty \). Thus, in such a case \(\Gamma \in {\mathcal{S}\mathcal{G}} _{\mathcal {E}}(p\text {-}\mathcal {WVG})\). Therefore, \({\mathcal{S}\mathcal{G}} {\setminus } {\mathcal {S}}\text {-}\mathcal{S}\mathcal{G} \subseteq {\mathcal{S}\mathcal{G}} _{\mathcal {E}}(p\text {-}\mathcal {WVG})\).

We prove that singleton games cannot be generated by reductio ad absurdum. Without loss of generality, we assume that \(\Gamma =\Gamma ^{(1)}_N\in {{\mathcal {S}}_{N}\text {-}\mathcal{S}\mathcal{G}} \) and that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) <\infty \). Then, we could remove the last \(n-2\) players to obtain that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ^{(1)}_{[2]},p\text {-}\mathcal {WVG} \right) <\infty \). Now, by brute force, we check that neither intersection nor union of the two pure weighted voting games with 2 players, \(\Gamma _1=([2],{{\mathcal {W}}}^{m}=\{\{1\},\{2\}\})\) and \(\Gamma _2=([2],{{\mathcal {W}}}^{m}=\{\{1,2\}\})\), generate \(\Gamma ^{(1)}_{[2]}=([2],{{\mathcal {W}}}^{m}=\{\{1\}\})\).\(\square \)

As a consequence of the previous theorem, we have the following result.

Corollary 2

Let \(\Gamma \in {\mathcal{S}\mathcal{G}} \) with \(n>1\) players.

$$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) {\left\{ \begin{array}{ll} = \infty &{} \text {if }\Gamma \in {\mathcal {S}}\text {-}\mathcal{S}\mathcal{G},\\ < \infty &{} \text {otherwise.} \end{array}\right. } \end{aligned}$$

Observe that the difference among the characterization of simple games with finite dimension/codimension over \(p\text {-}\mathcal {WVG}\) given in Molinero et al. (2023) (see Theorem 1) is obtained by duality. The previous theorem shows that the additional expressiveness provided by multidimension with respect to \(p\text {-}\mathcal {WVG}\) is obtained by duality. Only those self-dual games that have infinite dimension remain with infinite multidimension.

Theorem 5 shows that \({{\mathcal {G}}} \)-expression s over singleton games generate all simple games. However, as we will see in Sect. 5, the class \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\) can not be generated with \({{\mathcal {G}}} \)-expression s for \({{\mathcal {G}}} \) being down-\({\mathcal {WVG}}\) , up-\({\mathcal {WVG}}\) , or down-up-\({\mathcal {WVG}}\) . These classes contain some, but not all singleton games, it remains open to find a characterization of the closure under \({{\mathcal {G}}} \)-expression for these classes.

Based on Molinero et al. (2023), when there is no game with dimension (codimension) k, it implies that there is no game with dimension (codimension) bigger than k. That is, the dimension values over a set of N players form a contiguous subset of integers. Now, we analyze this property for multidimension.

First, as we have shown in Proposition 4, the multidimension of the union (or intersection) of two simple games is upper bounded by the sum of the multidimension of those considered games. However, our following result shows that a minimum size expression provides a decomposition in which the upper bound is attained with equality.

Proposition 7

Let E, \(E_1\) and \(E_2\) be \(N\)-\({{\mathcal {G}}} \)-expression s such that \(E=E_1\cup E_2\) or \(E=E_1\cap E_2\). Let be \(\Gamma = \Gamma (N,E)\), \(\Gamma _1 = \Gamma (N,E_1)\) and \(\Gamma _2 = \Gamma (N,E_2)\). If \(\textsf {size}(E) =\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \), then \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) = \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) +\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \). Moreover, \(\textsf {size}(E_1) =\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) \), and \(\textsf {size}(E_2) =\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \).

Proof

Otherwise, we could decrease \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \) because \(E=E_1\cup E_2\) or \(E=E_1\cap E_2\), which is a contradiction. \(\square \)

Note that, assuming the same game constructions of Proposition 7, there may be two simple games \({\overline{\Gamma }}_1\) and \({\overline{\Gamma }}_2\) isomorphic to \(\Gamma _1\) and \(\Gamma _2\), respectively (i.e., \({\overline{\Gamma }}_1\simeq \Gamma _1\) and \({\overline{\Gamma }}_2\simeq \Gamma _2\)), such that \(\textsf {g}\text{- }\textsf {mdim}\left( {\overline{\Gamma }}_1,{{\mathcal {G}}} \right) < \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) \) or \(\textsf {g}\text{- }\textsf {mdim}\left( {\overline{\Gamma }}_2,{{\mathcal {G}}} \right) < \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \). The following example verifies such property.

Example 7

Let be \(\Gamma _1=(N=[5], {{\mathcal {W}}}^{m}_1=\{\{1,2\}, \{1,3\}, \{2,3,4\}, \{3,5\}, \{4,5\}\})\) and \(\Gamma _2=(N=[5], {{\mathcal {W}}}^{m}_2=\{\{2,3\}, \{1,4\}, \{1,2,5\}, \{3,5\}, \{4,5\}\})\). Using the permutation

$$\begin{aligned} \sigma = (\begin{matrix} 3&2&5&1&4 \end{matrix}), \end{aligned}$$

we see that \(\Gamma _1\simeq \Gamma _2\) because \(\sigma ({{\mathcal {W}}}^{m}_1)={{\mathcal {W}}}^{m}_2\). However, we have checked by brute force that

$$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \text {down-up-}p\text {-}\mathcal {WVG} ,\Gamma _1\right) =2 < 3 =\textsf {g}\text{- }\textsf {mdim}\left( \text {down-up-}p\text {-}\mathcal {WVG} ,\Gamma _2\right) . \end{aligned}$$

In particular

$$\begin{aligned} \Gamma _1 = [5; 3, 2, 2, 1, 1] \cup [5; 1, 1, 2, 2, 3] \end{aligned}$$

and

$$\begin{aligned} \Gamma _2 = [5; 1, 1, 2, 2, 3] \cup \left( [6; 4, 3, 3, 2, 1] \cap [4; 1, 2, 2, 3, 3]\right) . \end{aligned}$$

The previous results show that, if the multidimension of a game is bigger than one, there exists a decomposition (as either the union or the intersection of two games) whose multidimension coincides with the sum of the multidimension of the two components. This property allows us to establish the following stopping criteria for our experiments.

Theorem 8

Let \({{\mathcal {G}}} \subseteq {\mathcal {WVG}} \) and let \(k>1\). If no simple game \(\Gamma \) has multidimension \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) =a\), for integers \(0< \lceil k/2 \rceil \le a < k\), then no simple game \(\Gamma \) has \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) \ge k\).

Proof

We prove, by induction on \(\ell \), that there is no simple game \(\Gamma \) with \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) = k + \ell \).

For the base case, \(\ell = 0\). Suppose that no simple game \(\Gamma \) has \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) = a\), for \(0< \lceil k/2 \rceil \le a < k\), and that it exists \(\Gamma \in {\mathcal{S}\mathcal{G}} \) such that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) =k>1\). Proposition 7 implies that there exist \(\Gamma _1,\Gamma _2\in {\mathcal{S}\mathcal{G}} \) such that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) = \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) +\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \). Therefore, \(a = \max \{\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) ,\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \}\) verifies \(\lceil k/2 \rceil \le a < k\), and we get a contradiction.

As induction hypothesis, assume that, for some \(\ell \ge 1\), no simple game \(\Gamma \) verifies \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) =a\), for integers \(0< \lceil k/2 \rceil \le a < k + \ell \). Now, we can use the previous argument, assuming that it exists \(\Gamma \in {\mathcal{S}\mathcal{G}} \) such that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) =k+\ell \), there exists \(\Gamma _1,\Gamma _2\in {\mathcal{S}\mathcal{G}} \) such that \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,{{\mathcal {G}}} \right) = \textsf {g}\text{- }\textsf {mdim}\left( \Gamma _1,{{\mathcal {G}}} \right) +\textsf {g}\text{- }\textsf {mdim}\left( \Gamma _2,{{\mathcal {G}}} \right) \), so there is a game with multidimension over \({{\mathcal {G}}} \) equal to b with \(\lceil \frac{k+\ell }{2} \rceil \le b < k+\ell \). As \(\lceil k/2 \rceil \le \lceil \frac{k+\ell }{2} \rceil < k+\ell \), this is not possible. \(\square \)

Note that Theorem 8 gives a stopping criteria when we compute experimentally the multidimension of simple games. For instance, if there are no games with multidimension 5, 6, 7, and 8, it is not possible to generate games with multidimension bigger or equal than 9 because \(5= \lceil 9/2 \rceil \le 8 <9\).

Observe that the previous results leave open the possibility that multidimension is not continuous. Our experiments confirm that this is the case. Table 7 gives some examples. When considering the subclass \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\), for 3 players, no game has multidimension 4, but there is one game with multidimension 5. Analogously, for 5 players, no game has multidimension 13, but there is one game with multidimension 14.

5 Experimental results

This section collects different experimental results of generalized multidimension over subclasses of weighted voting games. We enumerate simple games and pure simple games from \({{\mathcal {G}}} \)-expression s over specific subclasses of weighted voting games, for up to 6 or 7 players. Our counting results are done up to isomorphism, i.e., we count one game provided that at least one isomorphic game has been generated. We do so in order to make the values comparable with usual counting series in which all isomorphic games are counted only once. Nevertheless, it is worth to mention, that for several classes, \({{\mathcal {G}}} \)-expression s generate only some of the games in an isomorphism class.

All the experiments have been implemented in the C++ programming language. First, we generate all down-\(p\text {-}\mathcal {WVG}\) according to Molinero et al. (2023). Although our results are up to 6 or 7 players (see Tables 2, 3, 4, 5, 6 and 7), we have been able to compute all down-\(p\text {-}\mathcal {WVG}\) up to 8 players and up to isomorphism. It was unfeasible for more than 8 players.

From the enumeration of down-\(p\text {-}\mathcal {WVG}\) , we are able to enumerate other subclasses of simple games. The games of \(\text {up-}p\text {-}\mathcal {WVG} \) are obtained by considering the mirror of each game \([q;w_1,\ldots ,w_n]\in \text {down-}p\text {-}\mathcal {WVG} \), i.e., \([q;w_n,\ldots ,w_1]\). For instance, given \([5;3,2,2,1]\in \text {down-}p\text {-}\mathcal {WVG} \), we consider \([5;1,2,2,3]\in \text {up-}p\text {-}\mathcal {WVG} \). On the other hand, the games of down-up-\(p\text {-}\mathcal {WVG}\) are generated doubling each game \([q;w_1,\ldots ,w_n]\in \text {down-}p\text {-}\mathcal {WVG} \) as a mirror \([q;w_n,\ldots ,w_1]\), e.g., given [5; 3, 2, 2, 1], we consider [5; 3, 2, 2, 1] and [5; 1, 2, 2, 3].

For each number of players, we use the list of the games in the considered class (e.g., down-\({\mathcal {WVG}}\) , down-\(p\text {-}\mathcal {WVG}\) or any class) together with an enumerator of the well-formed expressions over the intersection and union operators to obtain in increasing order of multidimension the new generated games.

The first experiment (see Table 2b) computes the generalized multidimension over \(p\text {-}\mathcal {WVG}\). First, we generate new simple games with intersection or union of two pure weighted voting games, up to 6 players. Second, we compute new simple games combining intersections and unions of three pure weighted voting games, and, so on. As we said before, all multidimensionality results has been obtained with the stopping criteria described in Theorem 8. Finally, we count the number of generated simple games up to isomorphism.

We follow the same procedure described before for all our experiments, but assuming the corresponding subclass of weighted voting games.

Now, Table 1 presents some known counting results for \(p\text {-}\mathcal{S}\mathcal{G}\), \(p\text {-}\mathcal {CSG}\), and \(p\text {-}\mathcal {WVG}\), up to isomorphism. All these results appear in (or can be deduced from) the so-called The On-Line Encyclopedia of Integer Sequences (http://oeis.org/).

Table 1 Counting for \({\mathcal{S}\mathcal{G}}\), \(p\text {-}\mathcal{S}\mathcal{G}\), \(p\text {-}\mathcal {CSG}\), and \(p\text {-}\mathcal {WVG}\), up to isomorphism (Molinero et al. 2023)

Table 2 presents the results for the generalized dimension and multidimension over \(p\text {-}\mathcal {WVG}\) of \(p\text {-}\mathcal{S}\mathcal{G}\) having up to 6 players. From Theorems 1 and 6, we know that not all \({\mathcal{S}\mathcal{G}}\) have finite generalized dimension or multidimension with respect to the class \(p\text {-}\mathcal {WVG}\). The results over the generalized dimension come from (Molinero et al. 2023). The results over generalized multidimension come from our experiments and thus there are completely new. This table shows us that, with respect to \(p\text {-}\mathcal {WVG}\), as expected the multidimension of a game can be strictly smaller than its dimension. It is interesting to note that the highest value of the multidimension is smaller than the highest value of the dimension. Even more, the three simple games with 6 players having maximum dimension of 5 have also maximum multidimension of 4. In the next Example, we analyze these three games in more detail.

Table 2 Counting pure simple games with \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) =d\) and \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) =m\)

Example 8

Table 2 shows that there are only three simple games of 6 players with dimension and codimension equal to 5. Reproducing the experiments according to Molinero et al. (2023), these three simple games are

$$\begin{aligned} \Gamma _1= & {} ([6],{{\mathcal {W}}}^{m}_1= \{\{1,2,3\}, \{1,3,6\}, \{1,4,5\}, \{1,5,6\}, \{2,3,5\}, \{2,4,6\},\\{} & {} \{2,5,6\}, \{3,4,5\}, \{3,4,6\}\}),\\ \Gamma _2= & {} \Gamma _1^*, \end{aligned}$$

and the self-dual

$$\begin{aligned} \Gamma _3= & {} ([6],{{\mathcal {W}}}^{m}_1= \{\{1,3,4\}, \{2,3,4\}, \{1,2,5\}, \{2,3,5\}, \{1,4,5\}, \{1,2,6\},\\{} & {} \{1,3,6\}, \{2,4,6\}, \{3,5,6\}, \{4,5,6\}\}). \end{aligned}$$

We checked that no other intersection/union with less than 5 \(p\text {-}\mathcal {WVG}\) gives \(\Gamma _i\), for \(i\in [3]\), i.e., \(\textsf {g}\text{- }\textsf {dim}\left( p\text {-}\mathcal {WVG},\Gamma _i\right) = \textsf {g}\text{- }\textsf {codim}\left( p\text {-}\mathcal {WVG},\Gamma _i\right) = 5\). In particular, we get the following expressions:

$$\begin{aligned} \begin{array}{rl} \Gamma _1 =&{} [4; 2, 2, 2, 1, 1, 1] \cap [4; 2, 1, 1, 2, 2, 1] \cap [5; 2, 3, 1, 3, 1, 2] \cap [8; 1, 2, 5, 3, 4, 3] \cap [8; 3, 2, 3, 1, 4, 5] \\ = &{}\sigma _1( [6; 2, 2, 2, 1, 1, 1] \cup [8; 3, 2, 1, 3, 2, 1] \cup [8; 3, 1, 2, 1, 2, 3] \cup [8; 1, 3, 2, 1, 3, 2] \cup [8; 1, 1, 3, 3, 2, 2]),\\ \Gamma _2 =&{}\sigma _1( [4; 2, 2, 2, 1, 1, 1] \cap [5; 3, 2, 1, 3, 2, 1] \cap [5; 3, 1, 2, 1, 2, 3] \cap [5; 1, 3, 2, 1, 3, 2] \cap [5; 1, 1, 3, 3, 2, 2]\\ =&{} [6; 2, 2, 2, 1, 1, 1] \cup [6; 2, 1, 1, 2, 2, 1] \cup [8; 2, 3, 1, 3, 1, 2] \cup [11; 1, 2, 5, 3, 4, 3] \cup [11; 3, 2, 3, 1, 4, 5],\\ \Gamma _3 =&{} [5; 3, 3, 2, 2, 1, 1] \cap [5; 3, 1, 2, 1, 3, 2] \cap [5; 1, 3, 2, 1, 2, 3] \cap [5; 1, 2, 2, 3, 3, 1] \cap [5; 2, 1, 2, 3, 1, 3]\\ =&{} [8; 3, 3, 2, 2, 1, 1] \cup [8; 3, 1, 2, 1, 3, 2] \cup [8; 1, 3, 2, 1, 2, 3] \cup [8; 1, 2, 2, 3, 3, 1] \cup [8; 2, 1, 2, 3, 1, 3], \end{array} \end{aligned}$$

where \(\sigma _1 = (\begin{matrix} 6&4&3&2&5&1 \end{matrix})\) is the corresponding permutation among players.

However, our experiments show that \(\textsf {g}\text{- }\textsf {mdim}\left( p\text {-}\mathcal {WVG},\Gamma _1\right) = 4\). Particular cases with minimum size for \(\Gamma _i\), being \(i\in [3]\), are

$$\begin{aligned} \begin{array}{rl} \Gamma _1 = &{} \sigma _2([4;2,2,2,1,1,1] \cap ([5;3,3,2,2,1,1] \cap ([8;4,3,3,2,2,1] \cup [11;5,4,3,3,2,1]))),\\ \Gamma _2 = &{} \sigma _2([6;2,2,2,1,1,1] \cup ([8;3,3,2,2,1,1] \cup ([5;3,3,2,2,1,1] \cap [8;4,3,3,2,2,1]))),\\ \Gamma _3 = &{} \sigma _3([8;3,3,2,2,1,1] \cup ([10;6,5,4,3,2,1] \cap ([8;4,3,2,2,1,1] \cup [8;4,3,3,2,2,1]))), \end{array} \end{aligned}$$

where \(\sigma _2 = (\begin{matrix} 2&6&4&3&1&5 \end{matrix})\) and \(\sigma _3 = (\begin{matrix} 3&4&1&2&6&5 \end{matrix})\).

It is worth mentioning that only 3 out of 383 games with 6 players and generalized dimension with respect to \(p\text {-}\mathcal {WVG}\) equal to 4 keep their generalized multidimension equal to 4. For up to 6 players the maximum value of the generalized dimension is strictly smaller that the maximum value of the generalized multidimension. It remains open to see if this property carries on for any number of players.

Table 3 Counting pure simple games with \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,\text {down-}p\text {-}\mathcal {WVG} \right) =d \,and\, \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-}\!p\text {-}\!\mathcal {WVG}\right) \!=m\)

Experimental results about the generalized dimension and multidimension of \(p\text {-}\mathcal{S}\mathcal{G}\) with respect to games in down-\(p\text {-}\mathcal {WVG}\) are presented in Table 3. As it was mentioned in Molinero et al. (2023), intersections (or unions) of games in down-\(p\text {-}\mathcal {WVG}\) belong to \(p\text {-}\mathcal {CSG}\). We combined our multidimension enumeration algorithm with a checker for completeness. Our experiments show that, for up to 7 players, all simple games generated by \({{\mathcal {G}}} \)-expression s over down-\(p\text {-}\mathcal {WVG}\) belong to \({\mathcal {CSG}}\). It will be worth to see whether this property holds for any number of players. In the light of our experiments, we think that it is true, but we have not formally proved it yet.

Another property is that \({{\mathcal {G}}} \)-expression s over down-\(p\text {-}\mathcal {WVG}\) allow us to obtain more games that when using only intersections/unions. This phenomenon appears for 6 and 7 players in our experiments. We want to note that, for 6 and 7 players, down-\(p\text {-}\mathcal {WVG}\) generate all games in \({\mathcal {CSG}}\). Another unexpected property that we can extract from the table is that the maximum value of the multidimension is 2, while the maximum value of the dimension is 4.

Table 4 Counting simple games with \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-}p\text {-}\mathcal {WVG} \right) =m\) and \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-}{\mathcal {WVG}} \right) =m\)

The experimental results about generalized multidimension of simple games with respect to the subclasses down-\(p\text {-}\mathcal {WVG}\) and down-\({\mathcal {WVG}}\) appear in Table 4. In this experiment, we removed the filter checking pureness and kept the filter for completeness. All generated games belong to \({\mathcal {CSG}}\). In particular, from Table 4a, we can see that it is not possible to generate all complete games with n players using down-\(p\text {-}\mathcal {WVG}\) -expressions while, up to 7 players, it is possible with down-\({\mathcal {WVG}}\) -expressions. As we have mentioned before, for up to 7 players, we can generate all \(p\text {-}\mathcal {CSG}\). Now we can see that some, but not all, games in \({\mathcal {CSG}} {\setminus } p\text {-}\mathcal {CSG} \) can be generated with down-\(p\text {-}\mathcal {WVG}\) -expressions. For example, for \(n=6\), we obtained only 2 of the 25 complete games that are not pure.

Table 5 Counting pure simple games with \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,\text {down-up-}p\text {-}\mathcal {WVG} \right) {=}d \,and\, \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-}\!p\text {-}\!\mathcal {WVG}\right) \!=m\)

Our results about generalized dimension and multidimension of games in down-up-\(p\text {-}\mathcal {WVG}\) are presented in Table 5. Molinero et al. (2023) shows that \(\Gamma =(N,{{\mathcal {W}}}^{m})\) with \({{\mathcal {W}}}^{m}=\{\{1,2\}\), \(\{1,3,4\}\), \(\{2,3,4\}\), \(\{1,3,5,6\}\), \(\{2,3,5,6\}\), \(\{1,4,5,6\}\), \(\{2,4,5,6\}\), \(\{3,4,5,6\}\}\) verifies that \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) =\infty \). However, \(\Gamma =\Gamma _1\cup \Gamma _2\), where \(\Gamma _1=(N,{{\mathcal {W}}}^{m}_1)\) with \({{\mathcal {W}}}^{m}_1=\{\{1,2,3,4\}\), \(\{1,2,3,5\}\), \(\{1,2,4,5\}\), \(\{1,3,4,5\}\), \(\{2,3,4,5\}\), \(\{1,2,3,6\}\), \(\{1,2,4,6\}\), \(\{1,3,4,6\}\), \(\{2,3,4,6\}\), \(\{1,2,5,6\}\), \(\{1,3,5,6\}\), \(\{2,3,5,6\}\), \(\{1,4,5,6\}\), \(\{2,4,5,6\}\), \(\{3,4,5,6\}\}\) has a representation [4; 1, 1, 1, 1, 1, 1] and \(\Gamma _2=(N,{{\mathcal {W}}}^{m}_2)\) with \({{\mathcal {W}}}^{m}_2=\{\{1,2\}\), \(\{1,3,4\}\), \(\{2,3,4\}\), \(\{1,3,5,6\}\), \(\{2,3,5,6\}\), \(\{1,4,5,6\}\), \(\{2,4,5,6\}\}\) has a representation [8; 4, 4, 2, 2, 1, 1]. Thus, \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,p\text {-}\mathcal {WVG} \right) =2\). That is why Table 5a shows that only 1053 pure complete games for 5 players can be obtained with intersections, but Table 5b shows that all 1054 \(p\text {-}\mathcal {CSG}\) can be obtained with down-up-\(p\text {-}\mathcal {WVG}\) -expression s.

Table 6 shows the experimental results about multidimension of \({\mathcal{S}\mathcal{G}}\) with respect to the subclasses down-up-\(p\text {-}\mathcal {WVG}\) and down-up-\({\mathcal {WVG}}\) . As expected, we can see that neither down-up-\(p\text {-}\mathcal {WVG}\) -expression s nor down-up-\({\mathcal {WVG}}\) -expression s can generate all simple games. Comparing Tables 6a and 4a, it is clear that even down-up-\(p\text {-}\mathcal {WVG}\) -expression generate a much bigger quantity of games than down-\(p\text {-}\mathcal {WVG}\) -expression.

Table 6 Counting simple games with \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-up-}p\text {-}\mathcal {WVG} \right) {=}m \,and\, \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\text {down-up-}{\mathcal {WVG}} \right) {=}m\)

Note that the two games with 5 players and mutidimension 4 that appear in Table 5b also appear in Table 6b, up to isomorphism. Moreover, they both are dual one each other. On the one hand, our experiments of Table 5b give us \(\Gamma _1=([5],{{\mathcal {W}}}^{m}_1=\{\{1,3,4\}, \{2,3,4\}, \{1,2,5\},\) \(\{1,3,5\}, \{2,4,5\}\})\) and \(\Gamma _2=([5], {{\mathcal {W}}}^{m}_2=\{\{1,2\}, \{2,3\}, \{1,4\},\)\(\{3,5\}, \{4,5\}\})\), where

$$\begin{aligned} \begin{array}{rcl} \Gamma _1 &{}=&{} [4; 2, 2, 1, 1, 1] \cap ([5; 1, 1, 2, 2, 3] \cap ([8; 4, 3, 3, 2, 1] \cup [8; 1, 2, 2, 3, 3])) \\ \text {and}\\ \Gamma _2 &{}=&{} [4; 2, 2, 1, 1, 1] \cup ([5; 1, 1, 2, 2, 3] \cup ([6; 4, 3, 3, 2, 1] \cap [4; 1, 2, 2, 3, 3])). \end{array} \end{aligned}$$

On the other hand, our experiments of Table 6b generate \({\overline{\Gamma }}_1=([5], {{\mathcal {W}}}^{m}_1=\{\{1,2,4\}\), \(\{2,3,4\}\), \(\{1,3,5\}\), \(\{2,3,5\}\), \(\{1,4,5\}\})\) and \({\overline{\Gamma }}_2=([5], {{\mathcal {W}}}^{m}_2=\{\{1,2\}\), \(\{1,3\}\), \(\{3,4\}\), \(\{2,5\}\), \(\{4,5\}\})\), where

$$\begin{aligned} \begin{array}{rcl} {\overline{\Gamma }}_1 &{}=&{} [1; 0, 0, 0, 1, 1] \cap ([5; 3, 2, 2, 1, 1] \cap ([3; 0, 0, 1, 1, 2] \cup [5; 0, 3, 2, 2, 1)])) \\ \text {and}\\ {\overline{\Gamma }}_2 &{}=&{} [2; 0, 0, 0, 1, 1] \cup ([5; 3, 2, 2, 1, 1] \cup ([2; 0, 0, 1, 1, 2] \cap [4; 0, 3, 2, 2, 1)])). \end{array} \end{aligned}$$

Observe that \(\Gamma _1=\sigma ({\overline{\Gamma }}_1)\) and \(\Gamma _2=\sigma ({\overline{\Gamma }}_2)\), where \(\sigma = (\begin{matrix} 1&4&2&3&5 \end{matrix})\).

Our last experiment analyzes the generalized multidimension over \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\). Remind that Theorem 5 shows us \({\mathcal{S}\mathcal{G}} _{\mathcal {E}}({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G})\) is the set of all simple games. Now, Table 7 enumerates the generalized multidimension of all simple games from unions and intersections of \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\), up to 6 players.

Table 7 Number of games \(\Gamma \in p\text {-}\mathcal{S}\mathcal{G} \) with \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\bigcup \nolimits _{j\in N}\Gamma ^{(j)}\right) =m\), for values of m, up to isomorphism

Our new experiments for generalized multidimension, and the reproduced experiments according to Molinero et al. (2023) for generalized dimension and generalized codimension show us that, even for 3 players, there exists \(\Gamma \in {\mathcal{S}\mathcal{G}} \) such that

$$\begin{aligned} \textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\bigcup \limits _{j\in N}\Gamma _N^{(j)}\right) < \min \left\{ \textsf {g}\text{- }\textsf {dim}\left( \Gamma ,\bigcup \limits _{j\in N}\Gamma _N^{(j)}\right) , \textsf {g}\text{- }\textsf {codim}\left( \Gamma ,\bigcup \limits _{j\in N}\Gamma _N^{(j)}\right) \right\} . \end{aligned}$$

Example 9

For 3 players, \(\Gamma = ([1;1,0,0] \cap [1;0,1,0]) \cup ([1;0,0,1] \cap ([1;1,0,0] \cup [1;0,1,0]))\) really verifies \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ,\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) =5\), but \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ,\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) = \textsf {g}\text{- }\textsf {codim}\left( \Gamma ,\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) =6\).

On the other hand, for \(N=[6]\) players,

$$\begin{aligned} \begin{array}{rcl} \Gamma '&{}=&{} \big (\big (\Gamma _N^{(1)}\cup \Gamma _N^{(3)}\big ) \cap \big (\Gamma _N^{(2)} \cup \Gamma _N^{(6)}\big ) \cap \big (\Gamma _N^{(4)}\cup \Gamma _N^{(5)}\big )\big )\ \cup \\ &{} &{} \big (\big (\Gamma _N^{(1)}\cup \Gamma _N^{(5)}\big ) \cap \big (\Gamma _N^{(2)} \cup \Gamma _N^{(3)}\big ) \cap \big (\Gamma _N^{(4)}\cup \Gamma _N^{(6)}\big )\big )\ \cup \\ &{} &{} \big (\big (\Gamma _N^{(1)}\cup \Gamma _N^{(6)}\big ) \cap \big (\Gamma _N^{(2)} \cup \Gamma _N^{(5)}\big ) \cap \big (\Gamma _N^{(3)}\cup \Gamma _N^{(4)}\big )\big ) \end{array} \end{aligned}$$

verifies \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ',\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) =18\). To give a brief idea how our experiments work, we show the output of our program with all specific information for \(\Gamma '\) using a structure that indents the level of the expression:

figure a

Note that the elements to the right of each row give the minimal wining coalitions of the game. For instance, 24 25 46 56 at the 8th row indicates that the set of minimal winning coalitions of \([1;0,0,0,0,1,0]\cap [1; 0,0,0,0,0,1]\) is \({{\mathcal {W}}}^{m}=\{\{2,4\},\{2,5\}, \{4,6\},\{5,6\}\}\).

Reproducing the experiments of Molinero et al. (2023), we obtain that, even though \(\textsf {g}\text{- }\textsf {mdim}\left( \Gamma ',\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) = 18\), \(\textsf {g}\text{- }\textsf {dim}\left( \Gamma ',\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) = \textsf {g}\text{- }\textsf {codim}\left( \Gamma ',\bigcup \nolimits _{j\in N}\Gamma _N^{(j)}\right) = 60\).

In Appendix A, we show the output of some of our experiments. There we give the games with maximum generalized multidimension over \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\) and the corresponding \({{\mathcal {G}}} \)-expression certifying this fact, from three to six players.

6 Conclusions and future work

In this work, we consider subclasses of simple games generated from \({{\mathcal {G}}} \)-expression s, using the operators intersection and union, over restricted subclasses of weighted voting games. Using those expressions, we have introduced the multidimension as an extension of the notions of dimension and codimension of simple games. We have generalized this notion with respect to a subfamily of \({\mathcal {WVG}}\), namely, the generalized multidimension. Most of the considered subclasses of \({\mathcal {WVG}}\) are formed by games without dummy players (pure weighted voting games) and are obtained by selecting particular types of representations of \({\mathcal {WVG}}\). Thus, our work extends the theoretical and experimental results of Molinero et al. (2023).

A theoretically relevant type of game is the singleton game, made up of exactly one minimal winning coalition formed by a single player. Singleton games are the unique games having one dictator while all the other players are dummies. According to Theorem 5, a class able to generate all the singleton games, through union and intersection operations, generates all the simple games. Furthermore, if we only have pure weighted voting games, that is, games without dummies, the only games we cannot generate (through union and/or intersection operations) are the singleton games (see Theorem 6). Therefore, any other game than a singleton game will have finite generalized multidimension with respect to pure weighted voting games. From the point of view of voting systems, the above means that dictators can only emerge to the extent that we assume the existence of dummies. Comparing our characterization of the simple games that can be generated with expressions on \(p\text {-}\mathcal {WVG}\) with respect to the ones having finite generalized dimension or codimension provided in Molinero et al. (2023), we can observe that the games that cannot be expressed in this way are the self-dual games that do not have finite generalized dimension/codimension. Thus, singleton games are the only self-dual games that do not have finite generalized dimension/codimension with respect to \(p\text {-}\mathcal {WVG}\).

Besides the above, we have proved that the multidimension has properties quite different from the dimension or the codimension. We have shown that the generalized dimension, with respect to a class closed under duality, is the same for dual games. Surprisingly, we have demonstrated the existence of gaps in the attained multidimension values. The latter has to be seen in contraposition with the continuity of the dimension/codimension values proved in Molinero et al. (2023).

Although the multidimension values are not contiguous, we have proved that having a big enough interval without games of these multidimension ensures that no game has higher multidimension. This result is the key ingredient in our enumeration algorithm. According to Theorem 8, we need a gap of half the size of the value. The gap size is relevant to programming the correct termination criterion in the enumeration algorithm. It remains an open question, both theoretically and practically, to see if this gap size can be reduced.

Thus, experimentally, we were able to calculate the multidimensions for all simple games with respect to some subclasses of \(p\text {-}\mathcal {WVG} \) up to 6 players and, in some cases, up to 7 players. Our results show how generalized multidimension allows representing more simple games than considering only intersections or only unions. Moreover, the representations tend to be more compact, even for a small number of players and for subclasses with a relatively small number of games.

We can state several problems of interest. It remains open finding (if there exist) examples where the multidimension is linear on the number of players, but the dimension and the codimension are exponential on the number of players. In all our enumerations, the maximum generalized multidimension attained has been smaller than the maximum generalized dimension/codimension, except, as expected, when the base set of games is \({\mathcal {S}}\text {-}\mathcal{S}\mathcal{G}\). It remains open to see if this property is maintained for any number of players.

Another line of future research is to explore other subclasses of simple games as, for example, proper, strong, or decisive (self-dual) weighted voting games. Simple games where weights are Fibonacci numbers (i.e., weighted voting games such that \(w_{i+2}=w_{i+1}+w_i\) for \(3\le i\le n\) being \(w_1=a\) and \(w_2=b\)) are also an interesting class to consider.