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] - chore(computability/language): golf some proofs #7301

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Apr 21, 2021


Open in Gitpod

@urkud urkud added the awaiting-review The author would like community review of the PR label Apr 21, 2021
@@ -1000,6 +1000,18 @@ begin
{ simp_rw [infi_ge_eq_infi_nat_add, ←nat.add_assoc], },
end

lemma sup_supr_nat_succ (u : ℕ → α) : u 0 ⊔ (⨆ i, u (i + 1)) = ⨆ i, u i :=
Copy link
Member Author

Choose a reason for hiding this comment

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

It would be nice to have a tactic that generates this kind of lemma for any inductive type, with supr_and, supr_or, supr_sigma etc as particular cases.

Copy link
Collaborator

@foxthomson foxthomson left a comment

Choose a reason for hiding this comment

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

LGTM

@robertylewis
Copy link
Member

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 Apr 22, 2021
bors bot pushed a commit that referenced this pull request Apr 22, 2021
@bors
Copy link

bors bot commented Apr 23, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(computability/language): golf some proofs [Merged by Bors] - chore(computability/language): golf some proofs Apr 23, 2021
@bors bors bot closed this Apr 23, 2021
@bors bors bot deleted the lang-golf branch April 23, 2021 00:41
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