Manuscript Offprint
arXiv:2610.19558The Two-Level Poset Game is PSPACE-Complete
Abstract
Poset games form a fundamental class of combinatorial games that includes classical games such as Nim and Chomp. Determining the outcome of a poset game is known to be PSPACE-complete even for posets of height at most three. However, the exact computational complexity of TWO-LEVEL POSETGAME, played on posets of height at most two, has remained an open problem for over a decade. We resolve this problem by proving that TWO-LEVEL POSETGAME is PSPACE-complete via a polynomial-time reduction from AVOID TRUE on positive CNF formulas.
1 Introduction
Combinatorial games (i.e., two-player games without chance elements or hidden information) played on structured combinatorial objects have been a major topic in combinatorial game theory. Poset games form a large class of combinatorial games including many classical and fundamental rulesets such as NIM [3], CHOMP [6], SUBSET TAKE-AWAY [7], and GREEN HACKENBUSH on a rooted tree [2]. A poset game is played as follows.
Ruleset 1 (poset game). Given a finite partially ordered set (poset) , two players alternately choose an element . The chosen element and all elements such that are removed from . Under the normal play convention, the player who cannot make a move loses.
Grier [8] proved that the problem of determining the outcome (i.e., which player has a winning strategy) of an arbitrary poset game is PSPACE-complete via a reduction from NODE KAYLES. On the other hand, while the construction in Grier's reduction produces posets of height at most three, the exact computational complexity of TWO-LEVEL POSETGAME, the poset game on a poset of height at most two, has remained an open problem for over a decade [4, 5].
In this paper, we resolve this open problem by proving that TWO-LEVEL POSETGAME is PSPACE-complete as follows.
Theorem 2. The problem of determining the outcome of TWO-LEVEL POSETGAME is PSPACE-complete.
To establish Theorem 2, we present a polynomial-time reduction from the problem of determining the outcome of AVOID TRUE on positive CNF formulas, which is known to be PSPACE-complete [12].
The remainder of this paper is organized as follows. In the remainder of this section, we review other related work on TWO-LEVEL POSETGAME. In Section 2, we introduce basic definitions and foundational properties: Sprague–Grundy theory, TWO-LEVEL POSETGAME, and AVOID TRUE on positive CNF formulas. In Section 3, we provide the proof of Theorem 2.
Because a poset of TWO-LEVEL POSETGAME consists of a lower level consisting of all minimal elements and an upper level consisting of the remaining elements, the rules and positions can be naturally rephrased in hypergraph terms: selecting a vertex removes it and all hyperedges containing it, whereas selecting a hyperedge removes only that hyperedge. Barnard [1, Chapter 2] and Molena [10] investigated TWO-LEVEL POSETGAME under this hypergraph formulation. Regarding the particular case restricted to ordinary graphs, O'Sullivan [11] derived explicit formulas for Grundy values for several classes of graphs.
2 Preliminaries
For a positive integer , let .
2.1 Sprague–Grundy Theory
All games considered in this paper are finite, impartial (i.e., the sets of moves of the two players are the same), and played under the normal play convention (i.e., the player who cannot make a move loses). By the Sprague–Grundy Theorem [9, 13], every position in an impartial game is equivalent to a single Nim-pile of size for some . The value is called the Grundy value and is given recursively as
where denotes that there exists a move from to a position , and for a set . A position is a -position (i.e., second-player win) if and only if ; otherwise, it is an -position (i.e., first-player win).
For two positions and , the disjunctive sum of and is the position of the compound game of and where a player makes a move on exactly one of and . The Grundy value of is obtained from the Grundy values of the individual components as
where denotes the nim-sum (i.e., the bitwise XOR operation).
2.2 TWO-LEVEL POSETGAME
A poset for TWO-LEVEL POSETGAME consists of the set of minimal elements and the set of the other elements. By identifying with the set of vertices and with the set of hyperedges where if and only if , the rules of TWO-LEVEL POSETGAME on translate directly as follows.
Ruleset 3. Initially, a hypergraph is given. In each turn, a player removes either a vertex or a hyperedge of . When a vertex is removed, all hyperedges containing are automatically removed as well. The player who cannot make a move because becomes empty loses.
The hypergraphs for TWO-LEVEL POSETGAME may contain duplicate hyperedges. Throughout this paper, we adopt this hypergraph representation of TWO-LEVEL POSETGAME described above.
The following explicit formula is known for TWO-LEVEL POSETGAME where every hyperedge contains an odd number of vertices.
Proposition 4 ([5]). Let be a hypergraph such that every hyperedge has odd cardinality. Then the Grundy value of the initial position of TWO-LEVEL POSETGAME on is given by
2.3 AVOID TRUE on positive CNF formulas
The game AVOID TRUE on positive CNF formulas is an impartial game played on a CNF formula
where and each clause is a non-empty set of variables from and contains no negative literals. The game is played as follows.
Ruleset 5 (AVOID TRUE on positive CNF formulas). A CNF formula over a variable set X without negative literals is given. Initially, all variables in X are assigned False. Two players take turns selecting a previously unchosen variable and setting it to True, subject to the condition that setting x to True does not satisfy the overall formula F. In other words, at least one clause must remain unsatisfied after the move. The first player who cannot make a move loses.
Regarding the computational complexity of AVOID TRUE on positive CNF formulas, the following result is known.
Proposition 6 ([12]). The problem of determining the outcome of AVOID TRUE on positive CNF formulas is PSPACE-complete.
Henceforth, we refer to AVOID TRUE on positive CNF formulas simply as AVOID TRUE.
3 Proof of Theorem 2
Since the plays of TWO-LEVEL POSETGAME on terminate within moves and each position is represented in polynomial space in , the problem clearly belongs to PSPACE. Thus, we establish its PSPACE-hardness via a polynomial-time reduction from the problem of determining the outcome of AVOID TRUE in Section 3.1. The proof of Lemma 7, which is used in this reduction, is deferred to Section 3.2.
Although hypergraphs for TWO-LEVEL POSETGAME may in general contain multiple identical hyperedges, our reduction does not require multiedges. Thus, we assume that E contains no duplicate hyperedges and treat E as a subset of the power set of V.
3.1 Proof of PSPACE-hardness
Let be an instance of AVOID TRUE with variable set .
We construct a hypergraph corresponding to as follows, where the subscript is chosen to align with the notation introduced later (i.e., corresponding to ).
• The vertex set is defined as
where for each clause and , the set consists of auxiliary vertices with cardinality
We define a subset of auxiliary vertices by
• The hyperedge set is defined as
where , and for each and .
Figure 1 shows the hypergraph corresponding to the case , , ; namely, .
We refer to the hyperedges corresponding to clauses as the clause hyperedges. By construction, the edge has even cardinality, whereas every clause hyperedge has odd cardinality.
We identify a position of AVOID TRUE with the set of variables currently assigned True. A position of AVOID TRUE reachable from the initial position via a sequence

Figure 1: The hypergraph corresponding to , and
of moves is said to be legal. Let denote the set of all legal positions of AVOID TRUE; namely,
For , let denote the Grundy value of as a position of AVOID TRUE; namely,
We identify a position of the TWO-LEVEL POSETGAME with the remaining hypergraph H in that position. For a position H of TWO-LEVEL POSETGAME, let denote the Grundy value of H as a position of TWO-LEVEL POSETGAME; namely,
Let denote the set of all subpositions of (i.e., positions reachable from by a sequence of moves on TWO-LEVEL POSETGAME). For , let denote the subposition of obtained by removing the vertices corresponding to from ; namely, is defined as
In particular, when , the subposition coincides with itself, which is consistent with our subscript notation. A subposition is said to be legal if for some ; otherwise, is said to be illegal. Let denote the set of all legal positions of .
The following lemma shows that from any legal position , the set of Grundy values of the illegal positions reachable via a single move is precisely .
Lemma 7. For every , we have .
The proof of Lemma 7 is deferred to Section 3.2.
Using Lemma 7, we establish the connection between the Grundy values and as follows.
Lemma 8. For every , we have , where + denotes the standard addition.
Proof. We prove this statement by induction on in decreasing order. We have
where (A) follows from Lemma 7, and (B) follows from the induction hypothesis.
Let be a hypergraph defined by and with , , and . Direct evaluation confirms that .
Consider the disjunctive sum of and ; namely, the TWO-LEVEL POSETGAME played on defined as and . Then, the outcome of TWO-LEVEL POSETGAME on coincides with that of AVOID TRUE on as follows.
Lemma 9. The outcome of AVOID TRUE on F is equal to the outcome of TWO-LEVEL POSETGAME on .
Proof. We have
where (A) follows from Lemma 8.
Therefore, determining the outcome of AVOID TRUE on F is reduced to determining the outcome of TWO-LEVEL POSETGAME on . The number of vertices and hyperedges of is bounded above by a polynomial in the number of variables and clauses, so that can be constructed in polynomial time. This completes the proof of Theorem 2.
3.2 Proof of Lemma 7
To establish Lemma 7, we analyze a slightly broader class of positions than legal positions, referred to as good positions below.
Definition 10. A position is said to be good if and . Let denote the set of all good positions. For , let denote the number of remaining clause hyperedges of , and define and .
By definition, it holds that . Note that the condition implies that all vertices in remain in .
Lemma 11. For any , if , then the following four types of moves are available from , and the Grundy values of the resulting positions are given in Table 1.
-
Removing .
-
Removing (or ).
-
Removing some satisfying (i.e., the clause hyperedge remains in ).
-
Removing .
Table 1: Grundy values after the four specific types of moves, where .
| Chosen Element | Resulting (if is positive and even) | Resulting (if is odd) |
|---|---|---|
| satisfying | ||
Proof. For simplicity, let by omitting the subscript . These four moves are available because the assumption ensures and , and the condition ensures that there exists with its clause hyperedge remaining in .
We analyze the Grundy values of the positions resulting from each of the four types of moves as follows.
- Removing : The hypergraph consists of clause hyperedges with odd cardinality and vertices. By Proposition 4, we have
- Removing (or ): This automatically removes . The hypergraph consists of clause hyperedges with odd cardinality and vertices. By Proposition 4, we have
- Removing satisfying : This removes both and . The hypergraph consists of clause hyperedges with odd cardinality and vertices. By Proposition 4, we have
- Removing : This removes all clause hyperedges. The hypergraph consists of the single hyperedge , its vertices , and isolated vertices. It is directly seen that the single non-empty hyperedge together with its vertices has Grundy value 2, and adding isolated vertices changes the Grundy value to , so that
Table 1 is obtained by applying the above analysis to the case where k is even and the case where k is odd.
The following lemma evaluates the Grundy values for the good positions.
Lemma 12. For any , we have
Proof. Let , , and for simplicity. We proceed by induction on .
-
The case : The hypergraph consists of the single hyperedge , its vertices , and isolated vertices. The single non-empty hyperedge together with its vertices has Grundy value 2. Adding isolated vertices changes the Grundy value to . Thus, .
-
The case where is positive and even: By Lemma 11, the four types of moves in Table 1 are available and lead to positions with Grundy values . Since , we have , which implies .
-
The case where is odd: By Lemma 11, the four types of moves in Table 1 are available and yield Grundy values , none of which equals . Therefore, to prove , it suffices to verify that no other move leads to a position with Grundy value . We analyze the remaining types of moves as follows, where denotes the position resulting from the move on .
– Removing : This leaves an even number of clause hyperedges. Since remains good and , we may apply the induction hypothesis to to see that the Grundy value does not equal as follows.
-
If , then by the second case of (3.1).
-
If , then by the first case of (3.1).
– Removing : This flips the parity to . Since remains good and , we may apply the induction hypothesis to to see that the Grundy value is given depending on as follows.
-
If , then by the first case of (3.1).
-
If is positive and even, then by the second case of (3.1).
-
If is odd, then by the third case of (3.1).
None of these equals p.
– Removing satisfying (i.e., the clause hyperedge was already removed): This behaves identically to removing a, yielding Grundy value by Table 1.
Consequently, no move leads to a position with Grundy value , while transitions to are always available. Thus, .
We are now ready to complete the proof of Lemma 7.
Proof of Lemma 7. In a legal position , at least one clause is unsatisfied, and both hyperedges and associated with every unsatisfied clause remain, so that is positive and even. To prove Lemma 7, we examine transitions from to illegal positions by categorizing all possible moves as follows.
-
Removing , , , , or satisfying (i.e., the four types of moves in Table 1): As stated above, is a positive even integer. By Lemma 11, these moves transition to positions with Grundy values in .
-
Removing satisfying : This behaves identically to removing a or b, yielding Grundy value by Table 1.
-
Removing a single clause hyperedge : This leaves an odd number of clause hyperedges, yielding Grundy value by the third case of (3.1).
-
Removing that removes all remaining clause hyperedges: This leaves clause hyperedges, yielding a Grundy value by the first case of (3.1).
Therefore, every move to an illegal position yields a Grundy value in , establishing . Conversely, Lemma 11 guarantees that by selecting , , , , or with , one can transition to positions attaining every Grundy value in . Thus, also holds. This completes the proof of Lemma 7.
Acknowledgements
This work was supported in part by JSPS KAKENHI Grant Number JP26K21166. The proof of Theorem 2 was obtained during a session with GPT-6 Astra.
References
[1] Kristen M. Barnard. Some Take-Away Games on Discrete Structures. PhD dissertation, University of Kentucky, 2017.
[2] E. R. Berlekamp, J. H. Conway, and R. K. Guy. Winning Ways for Your Mathematical Plays: Volume 1. CRC Press, 2018.
[3] C. L. Bouton. Nim, a game with a complete mathematical theory. Annals of Mathematics, 3(1/4):35–39, 1901.
[4] Stephen Fenner, Daniel Grier, Rohit Gurjar, Arpita Korwar, and Thomas Thierauf. The complexity of poset games. Journal of Graph Algorithms and Applications, 26(1):1–14, Jan. 2022.
[5] Stephen A. Fenner, Rohit Gurjar, Arpita Korwar, and Thomas Thierauf. On two-level poset games. Electronic Colloquium on Computational Complexity (ECCC), 20:TR13-019, 2013.
[6] David Gale. A curious nim-type game. The American Mathematical Monthly, 81(8):876–879, 1974.
[7] David Gale and Abraham Neyman. Nim-type games. International Journal of Game Theory, 11(1):17–20, 1982.
[8] Daniel Grier. Deciding the winner of an arbitrary finite poset game is PSPACE-complete. In Proceedings of the 40th International Colloquium on Automata, Languages, and Programming (ICALP 2013), volume 7965 of Lecture Notes in Computer Science, pages 497–503. Springer, 2013.
[9] P. M. Grundy. Mathematics and games. Eureka, 2:6–8, 1939.
[10] T. H. Molena. Take-away impartial combinatorial games on hypergraphs and other related geometric and discrete structures. 2022.
[11] Cormac O'Sullivan. A vertex and edge deletion game on graphs. Integers, 18:G03, 2018.
[12] Thomas J. Schaefer. On the complexity of some two-person perfect-information games. Journal of Computer and System Sciences, 16(2):185–225, 1978.
[13] Roland P. Sprague. Über mathematische Kampfspiele. Tohoku Mathematical Journal, 41:438–444, 1935.