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: port Order.GameAdd #645

Closed
wants to merge 2 commits into from
Closed

[Merged by Bors] - feat: port Order.GameAdd #645

wants to merge 2 commits into from

Conversation

dwarn
Copy link
Collaborator

@dwarn dwarn commented Nov 18, 2022

mathlib SHA: fd47bdf09e90f553519c712378e651975fe8c829

@dwarn dwarn added mathlib-port This is a port of a theory file from mathlib. awaiting-review labels Nov 18, 2022
Copy link
Member

@mcdoll mcdoll left a comment

Choose a reason for hiding this comment

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

LGTM

I like autoimplicits here, because α and β are almost always just arbitrary types.

-/


variable {α β : Type _} (rα : α → α → Prop) (rβ : β → β → Prop)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
variable {α β : Type _} (rα : α → α → Prop) (rβ : β → β → Prop)
variable (rα : α → α → Prop) (rβ : β → β → Prop)

see https://github.com/leanprover-community/mathlib4/wiki#auto-implicits

/-- If `a` is accessible under `rα` and `b` is accessible under `rβ`, then `(a, b)` is
accessible under `Prod.GameAdd rα rβ`. Notice that `Prod.lexAccessible` requires the
stronger condition `∀ b, Acc rβ b`. -/
theorem Acc.prod_gameAdd {a b} (ha : Acc rα a) (hb : Acc rβ b) :
Copy link
Member

@mcdoll mcdoll Nov 20, 2022

Choose a reason for hiding this comment

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

Suggested change
theorem Acc.prod_gameAdd {a b} (ha : Acc rα a) (hb : Acc rβ b) :
theorem Acc.prod_gameAdd (ha : Acc rα a) (hb : Acc rβ b) :

I don't understand why these variables are mentioned

@semorrison
Copy link
Contributor

After making the changes, Moritz suggested,

bors d+

@bors
Copy link

bors bot commented Nov 20, 2022

✌️ dwarn can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@dwarn
Copy link
Collaborator Author

dwarn commented Nov 20, 2022

bors r+

bors bot pushed a commit that referenced this pull request Nov 20, 2022
mathlib SHA: fd47bdf09e90f553519c712378e651975fe8c829
@bors
Copy link

bors bot commented Nov 20, 2022

Pull request successfully merged into master.

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated mathlib-port This is a port of a theory file from mathlib.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants