ArticleslgStudy

mathematics

Go and mathematics

Go and mathematics is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Go and mathematics rather than just read about it. In short: The game of Go is one of the most popular games in the world. As a result of its elegant and simple rules, the game has long been an inspiration for mathematical research.

Go and mathematics — main illustration
Go and mathematics — illustration

Key takeaways

  • Go and mathematics belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Go and mathematics to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Go and mathematics from memory before moving on to harder problems.

Reference excerpt

The game of Go is one of the most popular games in the world. As a result of its elegant and simple rules, the game has long been an inspiration for mathematical research. Shen Kuo, an 11th century Chinese scholar, estimated in his Dream Pool Essays that the number of possible board positions is around 10172. In more recent years, research of the game by John H. Conway led to the development of the surreal numbers and contributed to development of combinatorial game theory (with Go Infinitesimals being a specific example of its use in Go).

Computational complexity Generalized Go is played on n × n boards, and the computational complexity of determining the winner in a given position of generalized Go depends crucially on the ko rules. Go is “almost” in PSPACE, since in normal play, moves are not reversible, and it is only through capture that there is the possibility of the repeating patterns necessary for a harder complexity.

Without ko Without ko, Go is PSPACE-hard. This is proved by reducing True Quantified Boolean Formula, which is known to be PSPACE-complete, to generalized geography, to planar generalized geography, to planar generalized geography with maximum degree 3, finally to Go positions.

Japanese ko rule Japanese ko rules state that only the basic ko, that is, a move that reverts the board to the situation one move previously, is forbidden. Longer repetitive situations are allowed, thus potentially allowing a game to loop forever, such as the triple ko, where there are three kos at the same time, allowing a cycle of 12 moves. With Japanese ko rules, Go is EXPTIME-complete.

Superko rule The superko rule (also called the positional superko rule) states that a repetition of any board position that has previously occurred is forbidden. This is the ko rule used in most Chinese and US rulesets. It is an open problem what the complexity class of Go is under superko rule. Though Go with Japanese ko rule is EXPTIME-complete, both the lower and the upper bounds of Robson’s EXPTIME-completeness proof break when the superko rule is added. It is known that it is at least PSPACE-hard, since the proof in of the PSPACE-hardness of Go does not rely on the ko rule, or lack of the ko rule. It is also known that Go is in EXPSPACE. Robson showed that if the superko rule, that is, “no previous position may ever be recreated”, is added to certain two-player games that are EXPTIME-complete, then the new games would be EXPSPACE-complete. Intuitively, this is because an exponential amount of space is required even to determine the legal moves from a position, because the game history leading up to a position could be exponentially long. As a result, superko variants (moves that repeat a previous board position are not allowed) of generalized chess and checkers are EXPSPACE-complete, since generalized chess and checkers are EXPTIME-complete. However, this result does not apply to Go.

Complexity of certain Go configurations A Go endgame begins when the board is divided into areas that are isolated from all other local areas by living stones, such that each local area has a polynomial size canonical game tree. In the language of combinatorial game theory, it happens when a Go game decomposes into a sum of subgames with polynomial size canonical game trees. With that definition, Go endgames are PSPACE-hard. This is proven by converting the Quantified Boolean Formula problem, which is PSPACE-complete, into a sum of small (with polynomial size canonical game trees) Go subgames. Note that the paper does not prove that Go endgames are in PSPACE, so they might not be PSPACE-complete. Determining which side wins a ladder capturing race is PSPACE-complete, whether Japanese ko rule or superko rule is in place. This is proven by simulating QBF, known to be PSPACE-complete, with ladders that bounce around the board like light beams.

Legal positions Since each location on the board can be either empty, black, or white, there are a total of 3n2 possible board positions on a square board with length n; however not all of them are legal. Tromp and Farnebäck derived a recursive formula for legal positions L ( m , n ) {\displaystyle L(m,n)} of a rectangle board with length m and n. The exact number of L ( 19 , 19 ) {\displaystyle L(19,19)} was obtained in 2016. They also find an asymptotic formula L ≈ A B m + n C m n {\displaystyle L\approx AB^{m+n}C^{mn}} , where A ≈ 0.8506399258457145 {\displaystyle A\approx 0.8506399258457145} , B ≈ 0.96553505933837387 {\displaystyle B\approx 0.96553505933837387} and C ≈ 2.975734192043357249381 {\displaystyle C\approx 2.975734192043357249381} . It has been estimated that the observable universe contains around 1080 atoms, far fewer than the number of possible legal positions of regular board size (m=n=19). As the board gets larger, the percentage of the positions that are legal decreases.

Game tree complexity The computer scientist Victor Allis notes that typical games between experts last about 150 moves, with an average of about 250 choices per move, suggesting a game-tree complexity of 10360. For the number of theoretically possible games, including games impossible to play in practice, Tromp and Farnebäck give lower and upper bounds of 101048 and 1010171 respectively. The lower bound was improved to 1010108, larger than a googolplex, by Walraet and Tromp. The most commonly quoted number for the number of possible games, 10700 is derived from a simple permutation of 361 moves or 361! ≈ 1.4×10768. Another common derivation is to assume N intersections and L longest game for NL total games. For example, 400 moves, as seen in some professional games, would be one out of 361400 or 1.0×101023 possible games. The total number of possible games is a function both of the size of the board and the number of moves played. While most games last less than 400 or even 200 moves, many more are possible.

… excerpt ends here. Continue reading the full article.

Illustrations

Go and mathematics illustration

Worked examples

Example 1 — a first encounter with Go and mathematics

Start with the simplest possible case. Write down what Go and mathematics claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Go and mathematics before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Go and mathematics ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Go and mathematics

In research
Go and mathematics appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Go and mathematics in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Go and mathematics is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorial game theory, Go (game), so understanding it makes those chapters shorter.
In everyday life
Look for Go and mathematics outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Go and mathematics” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Go and mathematics in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Go and mathematics means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Go and mathematics out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Go and mathematics in simple terms?

The game of Go is one of the most popular games in the world. As a result of its elegant and simple rules, the game has long been an inspiration for mathematical research.

Why does Go and mathematics matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Go and mathematics?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Go and mathematics.

Tags

  • Combinatorial game theory
  • Go (game)

Keep exploring