Zulip Chat Archive

Stream: maths

Topic: Notation for games


Violeta Hernández (Nov 27 2024 at 18:39):

Is there any chance we can get some variant of {L | R} to work on games?

Violeta Hernández (Nov 27 2024 at 18:40):

I think the most basic version of this notation would simply be {xl | xr} for mk L R xl xr

Violeta Hernández (Nov 27 2024 at 18:41):

But it'd be nice to also support some syntax for docs#SetTheory.PGame.ofLists, perhaps {[a, b, c] | [x, y, z]} for ofLists [a, b, c] [x, y, z]?

Violeta Hernández (Nov 27 2024 at 18:45):

I'm thinking we could also have something like {i ↦ f i | j ↦ g j} as mechanisms to specify the two functions in the constructor, but I don't know if this is feasible / desirable

Daniel Weber (Nov 27 2024 at 18:49):

I think this would collide with set notation

Violeta Hernández (Nov 27 2024 at 18:49):

Ah, of course

Violeta Hernández (Nov 27 2024 at 18:49):

Is there some other unicode bracket we can use?

Daniel Weber (Nov 27 2024 at 18:51):

maybe ⦃⦄?

Violeta Hernández (Nov 27 2024 at 18:51):

I was thinking about that

Daniel Weber (Nov 27 2024 at 18:52):

{} would be horrible, and ﹛﹜ probably isn't good either

Violeta Hernández (Nov 27 2024 at 18:53):

Although, isn't this used as some sort of variant of {x} for implicit arguments?

Violeta Hernández (Nov 27 2024 at 18:53):

As in ∀ ⦃x⦄, _

Daniel Weber (Nov 27 2024 at 18:53):

It is, yes, but as they're used in completely different places (in particular, one is a term and the other isn't), I hope collision can be avoided

Daniel Weber (Nov 27 2024 at 18:54):

We could also use g{ L | R }, I guess

Violeta Hernández (Nov 27 2024 at 18:54):

Oh, that might actually be better

Violeta Hernández (Nov 27 2024 at 18:54):

Because it means we can define this notation for different kinds of games with different prefixes


Last updated: May 02 2025 at 03:31 UTC