Skip to content

[Merged by Bors] - chore: forward-port leanprover-community/mathlib#18848#4007

Closed
eric-wieser wants to merge 13 commits intomasterfrom
forward-port-18848
Closed

[Merged by Bors] - chore: forward-port leanprover-community/mathlib#18848#4007
eric-wieser wants to merge 13 commits intomasterfrom
forward-port-18848

Conversation

@eric-wieser
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser commented May 15, 2023

I've been someone sloppy about forward-porting the exact mathport here; a lot of the classical additions result in the whole proof being indented, which IMO just adds noise to the diff.

What's important is that:

  • open Classical is removed from all the same files
  • [DecidableEq _] is added in the same position to all the same lemmas. In theory mathport will detect if we mess this up, so it's not essential to catch this in review. The linter will tell us if it is added unnecessarily, and the build will fail if is not added someewhere it is needed; so only the argument order is at risk of being wrong.
  • The new foo_def lemmas are all added in variables.lean

Open in Gitpod

This is currently just a placeholder
@eric-wieser eric-wieser added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged awaiting-author A reviewer has asked the author a question or requested changes. labels May 15, 2023
@kim-em kim-em removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 16, 2023
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented May 16, 2023

This PR/issue depends on:

@eric-wieser eric-wieser added help-wanted The author needs attention to resolve issues WIP Work in progress labels May 16, 2023
@eric-wieser eric-wieser added awaiting-review and removed help-wanted The author needs attention to resolve issues WIP Work in progress awaiting-author A reviewer has asked the author a question or requested changes. labels May 17, 2023
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented May 21, 2023

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 21, 2023
bors bot pushed a commit that referenced this pull request May 21, 2023
I've been someone sloppy about forward-porting the exact mathport here; a lot of the `classical` additions result in the whole proof being indented, which IMO just adds noise to the diff.

What's important is that:
* `open Classical` is removed from all the same files
* `[DecidableEq _]` is added in the same position to all the same lemmas. In theory mathport will detect if we mess this up, so it's not essential to catch this in review. The linter will tell us if it is added unnecessarily, and the build will fail if is not added someewhere it is needed; so only the argument order is at risk of being wrong.
* The new `foo_def` lemmas are all added in `variables.lean`
@bors
Copy link
Copy Markdown

bors bot commented May 21, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore: forward-port leanprover-community/mathlib#18848 [Merged by Bors] - chore: forward-port leanprover-community/mathlib#18848 May 21, 2023
@bors bors bot closed this May 21, 2023
@bors bors bot deleted the forward-port-18848 branch May 21, 2023 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants