Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

feat(set_theory/game/ordinal): API for casting ordinals into games - #18703

Open
vihdzp wants to merge 4 commits into
masterfrom
to_pgame_more_lemmas_p1
Open

feat(set_theory/game/ordinal): API for casting ordinals into games#18703
vihdzp wants to merge 4 commits into
masterfrom
to_pgame_more_lemmas_p1

Conversation

@vihdzp

@vihdzp vihdzp commented Mar 30, 2023

Copy link
Copy Markdown
Collaborator

Split off from #14779.


Open in Gitpod

@vihdzp vihdzp added the awaiting-review The author would like community review of the PR label Mar 30, 2023
@vihdzp
vihdzp requested a review from astrainfinita March 30, 2023 09:36
@vihdzp vihdzp changed the title feat(set_theory/game/ordinal): addition of ordinal games corresponds with natural ordinal addition feat(set_theory/game/ordinal): API for casting ordinals into games Mar 30, 2023
Comment thread src/set_theory/game/basic.lean Outdated
Comment thread src/set_theory/game/basic.lean Outdated
Comment on lines +190 to +191
@[simp] theorem zero_to_game : to_game 0 = 0 :=
quot.sound zero_to_pgame_equiv

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be called to_game_zero, same throughout

@vihdzp vihdzp Mar 31, 2023

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zero_to_pgame would also need to be renamed, this affects a bunch of pre-existing lemmas. I thought that for functions to_y we could use the names x_to_y?

noncomputable def zero_to_pgame_relabelling : to_pgame 0 ≡r 0 :=
relabelling.is_empty _

theorem zero_to_pgame_equiv : to_pgame 0 ≈ 0 :=

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
theorem zero_to_pgame_equiv : to_pgame 00 :=
theorem to_pgame_zero_equiv : to_pgame 00 :=

etc

Comment thread src/set_theory/game/ordinal.lean Outdated
@eric-wieser eric-wieser added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Mar 31, 2023
@kim-em kim-em added the too-late This PR was ready too late for inclusion in mathlib3 label Jul 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

awaiting-author A reviewer has asked the author a question or requested changes too-late This PR was ready too late for inclusion in mathlib3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants