Zulip Chat Archive

Stream: general

Topic: Impartial games and the Sprague-Grundy theroem


Fox Thomson (Aug 16 2020 at 15:07):

I have defined impartial games and nim and managed to prove the Sprague-Grundy theorem as part of @Kevin Buzzard 's Xena summer projects. The code is at https://github.com/foxthomson/impartial.
Let me know if you have any feedback/suggestions!

Kevin Buzzard (Aug 16 2020 at 15:15):

@Scott Morrison should this go in mathlib?

Markus Himmel (Aug 16 2020 at 15:45):

I'm not Scott, but I'd love to see this in mathlib, just because it will allow me to create some fun Codewars kata.

Bryan Gin-ge Chen (Aug 16 2020 at 16:01):

I agree, this would be nice to have in mathlib.

Aaron Anderson (Aug 17 2020 at 01:07):

It’s on a todo list on a mathlib docstring already...

Aaron Anderson (Aug 17 2020 at 01:08):

Also, should some or all of the set-theoretic game stuff be moved to a top-level game_theory directory?

Aaron Anderson (Aug 17 2020 at 01:09):

Nim seems like game theory, surreals feel like set theory, but they probably still belong together

Jalex Stark (Aug 17 2020 at 02:47):

a top level game_theory folder should be about the notions studied by economists and computer scientists. i'd advocate for combinatorial_game_theory

Scott Morrison (Aug 17 2020 at 03:50):

I'm not sure they are such separate subjects.

Aaron Anderson (Aug 17 2020 at 17:03):

I would think that we would put this in game_theory/combinatorial_game_theory, but we don’t have any other kind of game theory yet


Last updated: Dec 20 2023 at 11:08 UTC