Skip to content

Conversation

@YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Mar 15, 2023

@YaelDillies YaelDillies added the mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged label Mar 15, 2023
@fpvandoorn
Copy link
Member

Thanks!
Please update Mathlib.lean
bors d+

@bors
Copy link

bors bot commented Mar 17, 2023

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

@github-actions github-actions bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Mar 17, 2023
@eric-wieser
Copy link
Member

Was this done without the aid of mathport?

@YaelDillies
Copy link
Collaborator Author

For the ulift stuff, yes. For the nonneg stuff, no.

@fpvandoorn
Copy link
Member

You still forgot a file in Mathlib.lean. Note that the README contains a script to update the file automatically (as long as you don't have untracked Lean files in your repo).

#align ulift.has_int_cast ULift.intCast

@[simp, norm_cast]
theorem up_natCast [NatCast α] (n : ℕ) : up (n : α) = n :=
Copy link
Member

Choose a reason for hiding this comment

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

Isn't it nat_cast?

Copy link
Member

Choose a reason for hiding this comment

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

Guess it depends where your coin flip landed so this is out of scope.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah...

@eric-wieser
Copy link
Member

eric-wieser commented Mar 17, 2023

This is forward-porting two PRs (also leanprover-community/mathlib3#18596), not one, right? Please don't do that without making it clear in the PR description.

@YaelDillies
Copy link
Collaborator Author

Sorry, my edit to the PR description seems to have been lost in the many tabs I have open.

Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors merge

Thanks!

@kim-em kim-em added the ready-to-merge This PR has been sent to bors. label Mar 17, 2023
bors bot pushed a commit that referenced this pull request Mar 17, 2023
@bors
Copy link

bors bot commented Mar 17, 2023

Build failed (retrying...):

  • Build

bors bot pushed a commit that referenced this pull request Mar 17, 2023
@bors
Copy link

bors bot commented Mar 17, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: Split off and golf ulift field instances [Merged by Bors] - chore: Split off and golf ulift field instances Mar 17, 2023
@bors bors bot closed this Mar 17, 2023
@bors bors bot deleted the split_field_ulift branch March 17, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). 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.

5 participants