Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(set_theory/game/pgame): Add missing basic API #13744

Closed
wants to merge 8 commits into from

Conversation

vihdzp
Copy link
Collaborator

@vihdzp vihdzp commented Apr 27, 2022


Open in Gitpod

@vihdzp vihdzp added the awaiting-review The author would like community review of the PR label Apr 27, 2022
@[simp] theorem half_left_moves : half.left_moves = punit := rfl
@[simp] theorem half_right_moves : half.right_moves = punit := rfl
@[simp] lemma half_move_left (x) : half.move_left x = 0 := rfl
@[simp] lemma half_move_right (x) : half.move_right x = 1 := rfl
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be worth trying to train simps to generate these

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

How does simps work?

Copy link
Collaborator

Choose a reason for hiding this comment

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

If pgame were a structure, rather than an inductive type, we would use initialize_simps_projections.

However as it is an inductive type I don't think we can do anything.

Copy link
Collaborator

Choose a reason for hiding this comment

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

vihdzp and others added 2 commits April 27, 2022 15:36
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@semorrison semorrison 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 May 1, 2022
@vihdzp vihdzp added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels May 1, 2022
@semorrison
Copy link
Collaborator

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels May 1, 2022
bors bot pushed a commit that referenced this pull request May 1, 2022
@bors
Copy link

bors bot commented May 1, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(set_theory/game/pgame): Add missing basic API [Merged by Bors] - feat(set_theory/game/pgame): Add missing basic API May 1, 2022
@bors bors bot closed this May 1, 2022
@bors bors bot deleted the fin_instance branch May 1, 2022 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants