Bachelorarbeit, 2013
54 Seiten, Note: 2,0
1 Introduction
1.1 Overview
2 The Basics
2.1 What is Minesweeper?
2.2 Complexity theory: complexity classes
2.2.1 The complexity class NP
2.2.2 The complexity class P
2.2.3 The complexity class co-NP
2.2.4 Possible relations among the complexity classes P, NP and co-NP
2.2.5 The hierarchy of complexity classes
2.3 Complexity theory: problem instances
2.3.1 Decision problems as formal languages
2.3.2 What does decidability mean?
2.3.2.1 A simple example for a decidable language
2.3.2.2 How to prove the language ADF A to be decidable
2.3.3 What does reducibility mean?
2.3.4 What does NP-hard mean?
2.3.5 What is completeness?
2.3.5.1 How to show that a problem is NP-complete
2.3.5.2 How to show that a problem is co-NP-complete
2.3.6 Satisfiability SAT
2.3.7 Unsatisfiability UNSAT
2.4 Summary
3 “Minesweeper is NP-complete”
3.1 Introducing the paper
3.1.1 Minesweeper Consistency Problem MCP
3.1.2 MCP is in NP
3.2 Reduction from SAT
3.2.1 Introduction to the Reduction
3.3 Boolean Circuits in Minesweeper
3.4 Composing circuits with basic building blocks in Minesweeper syntax
3.4.1 An AND-gate in Minesweeper
3.4.2 An OR-gate in Minesweeper
3.5 Summary
4 “Minesweeper May Not Be NP-complete But Is Hard Nonetheless”
4.1 Introducing the Paper
4.2 Minesweeper Inference Problem MIP
4.2.1 MIP search
4.2.2 MIP decision
4.3 Minesweeper Inference MIP is in co-NP
4.3.1 Reduction from UNSAT
4.3.1.1 Converting the Input: F ↔ F’
4.3.1.2 Construction of the Boolean circuit
4.3.1.3 Construction of the board
4.3.2 Correctness of the reduction
4.3.3 Reduction from UNSAT explained with a concrete example
4.4 Summary
5 Conclusion
5.1 Results
5.2 Kaye: “Minesweeper is NP-hard”
5.2.1 What if Kaye was right?
5.3 Scott: “Minesweeper may not be NP-complete but is hard nonetheless”
5.4 Conclusion
This thesis examines the computational complexity of the video game Minesweeper, specifically analyzing whether it belongs to complexity classes such as NP-complete or co-NP-complete, through a critical review of existing academic research.
3.4.1 An AND-gate in Minesweeper
As known, a logical AND has the following truth table (fig. 3.8). Obviously, the only way to make sure that the output is TRUE is to assign this very value to both of the inputs.
An AND-gate can be constructed with the basic Minesweeper Boolean circuits we have just learned. (See figure 3.9).
This example is rather complex: We have two input wires U and V and one output T. The red marked area, especially the square containing the value 4 in between S and R in figure 3.10 is where both inputs are brought together and the output T is initialized. The depicted signals S and R in this square are called “internal wires” and are used for ensuring consitency [1], [17]. They use the fields a1, a2, a3, b1, b2, b3 to make sure the output is logically correct. At the end, the splitter produces one single output T.
1 Introduction: Provides an overview of the thesis objectives, the study of complexity theory, and the key papers by R. Kaye and A. Scott that form the foundation of the work.
2 The Basics: Defines essential concepts including complexity classes (P, NP, co-NP), decidability, reducibility, completeness, and specific problems like SAT and UNSAT.
3 “Minesweeper is NP-complete”: Explores Kaye's proof, the Minesweeper Consistency Problem (MCP), and the construction of Boolean circuits using Minesweeper syntax (NOT, AND, OR gates).
4 “Minesweeper May Not Be NP-complete But Is Hard Nonetheless”: Discusses Scott's critique, introducing the Minesweeper Inference Problem (MIP) and proving its co-NP-completeness via reduction from UNSAT.
5 Conclusion: Summarizes the results, reflecting on the potential implications of a P=NP solution and the broader significance of Minesweeper in theoretical computer science.
Minesweeper, Computational Complexity, NP-complete, co-NP-complete, SAT, UNSAT, Minesweeper Consistency Problem, MCP, Minesweeper Inference Problem, MIP, Boolean circuits, Logic gates, Decidability, Polynomial time, Theoretical computer science.
The work investigates the computational complexity of the game Minesweeper, specifically evaluating whether the game is NP-complete or presents other forms of hardness.
The core themes include formal complexity theory, the reduction of Boolean logic circuits to Minesweeper grid configurations, and a comparative analysis of the consistency versus inference versions of the game.
The goal is to determine the complexity classification of Minesweeper by analyzing two major perspectives: Kaye's argument for NP-hardness and Scott's argument for co-NP-completeness regarding game inference.
The research relies on literature review and theoretical analysis, specifically using polynomial-time reductions to demonstrate that Boolean satisfiability problems can be mapped onto Minesweeper boards.
The main body covers the definition of complexity classes, the translation of logical gates (AND, OR, NOT) into Minesweeper board layouts, and detailed proofs regarding consistency and inference.
The key terms include NP-complete, co-NP, Minesweeper, Consistency Problem, Inference Problem, Boolean logic, and complexity theory.
The MIP defines whether a player can definitively determine the state of a square based on existing board information; solving this is necessary for optimal, non-speculative play.
The red area represents the junction where two input signals are compared. It is critical for ensuring that the Minesweeper configuration remains consistent with the intended logical truth table.
The author highlights the Millennium Prize Problems, noting that the P vs. NP question is one of the most significant open challenges in mathematics, which the complexity of Minesweeper touches upon.
Der GRIN Verlag hat sich seit 1998 auf die Veröffentlichung akademischer eBooks und Bücher spezialisiert. Der GRIN Verlag steht damit als erstes Unternehmen für User Generated Quality Content. Die Verlagsseiten GRIN.com, Hausarbeiten.de und Diplomarbeiten24 bieten für Hochschullehrer, Absolventen und Studenten die ideale Plattform, wissenschaftliche Texte wie Hausarbeiten, Referate, Bachelorarbeiten, Masterarbeiten, Diplomarbeiten, Dissertationen und wissenschaftliche Aufsätze einem breiten Publikum zu präsentieren.
Kostenfreie Veröffentlichung: Hausarbeit, Bachelorarbeit, Diplomarbeit, Dissertation, Masterarbeit, Interpretation oder Referat jetzt veröffentlichen!

