Zulip Chat Archive

Stream: general

Topic: pre-games


Kenny Lau (May 15 2020 at 07:44):

this is the definition of a pre-game in set_theory/pgame:

inductive pgame : Type (u+1)
| mk :  α β : Type u, (α  pgame)  (β  pgame)  pgame

Should α and β be interpreted as the moves Left and Right have? If so, what should I do if the moves Right has depends on what Left does?

Johan Commelin (May 15 2020 at 07:45):

That's a dependent pgame :grinning_face_with_smiling_eyes: :oops:

Johan Commelin (May 15 2020 at 07:46):

@Kenny Lau The joy of alphas and betas all over the library (-;

Kenny Lau (May 15 2020 at 07:47):

also, how overlapping would my work be if I wanted to formalize the Sprague–Grundy theorem?

Kevin Buzzard (May 15 2020 at 07:49):

what should I do if the moves Right has depends on what Left does?

Does this make sense?

Kevin Buzzard (May 15 2020 at 07:49):

The idea of a Conway-like game is that it is a position but it doesn't come with a fixed concept of "whose move it is"

Kenny Lau (May 15 2020 at 07:50):

can it be both player's turn in the same pre-game? maybe this is the interpretation

Kenny Lau (May 15 2020 at 07:50):

aha, I didn't know that

Kevin Buzzard (May 15 2020 at 07:50):

Think of a chess position

Kevin Buzzard (May 15 2020 at 07:50):

But no indication of whose move it is

Kevin Buzzard (May 15 2020 at 07:50):

Alpha is the list of legal white moves, beta the list of legal black moves

Kenny Lau (May 15 2020 at 07:50):

ok, thanks

Kenny Lau (May 15 2020 at 07:51):

then I should really start by defining impartial games

Bryan Gin-ge Chen (May 15 2020 at 07:51):

Impartial games would make a nice addition. I don't know if @Scott Morrison has already done something along these lines.

Kenny Lau (May 15 2020 at 07:51):

I'm planning to make Nim a kata

Kenny Lau (May 15 2020 at 07:51):

like the one-heap Nim

Kevin Buzzard (May 15 2020 at 07:51):

Nice

Kevin Buzzard (May 15 2020 at 07:51):

To play dots and boxes you need to know about poker nim

Kevin Buzzard (May 15 2020 at 07:52):

Where you can add to a pile as well

Scott Morrison (May 15 2020 at 11:04):

I didn't ever do impartial games (that I can remember??)

Kenny Lau (May 15 2020 at 11:06):

@Scott Morrison I think Kevin was just worried about maybe one of you guys have some private repo

Kenny Lau (May 15 2020 at 11:06):

inductive impartial_pgame : Type (u+1)
| mk :  α : Type u, (α  impartial_pgame)  impartial_pgame

def impartial_pgame.to_pgame : impartial_pgame.{u}  pgame.{u}
| (impartial_pgame.mk α f) := α, α, λ x, (f x).to_pgame, λ x, (f x).to_pgame

Last updated: Dec 20 2023 at 11:08 UTC