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(data/nat,int): move field-specific lemmas about cast #14890

Closed
wants to merge 13 commits into from

Conversation

Vierkantor
Copy link
Collaborator

@Vierkantor Vierkantor commented Jun 22, 2022

I want to refer to the rational numbers in the definition of a field, meaning we can't have algebra.field.basic in the transitive imports of data.rat.basic.

This is a step in rearranging those imports: remove the definition of a field from the dependencies of the casts ℕ → α and ℤ → α, where α is a (semi)ring.


Open in Gitpod

@Vierkantor Vierkantor added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Jun 22, 2022
@mathlib-dependent-issues-bot mathlib-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 22, 2022
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 22, 2022
@Vierkantor Vierkantor added the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 22, 2022
@mathlib-dependent-issues-bot mathlib-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 22, 2022
@mathlib-dependent-issues-bot
Copy link
Collaborator

This PR/issue depends on:

I want to refer to the rational numbers in the definition of a field,
meaning we can't have `algebra.field.basic` in the transitive imports
of `data.rat.basic`.

This is the first step in rearranging those imports: remove the definition of a
field from the dependencies of the casts `ℕ → α` and `ℤ → α`,
where `α` is a (semi)ring.
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 23, 2022
@urkud
Copy link
Member

urkud commented Jun 23, 2022

Any reason to merge algebra.order.field_pow into algebra.order.field?

@Vierkantor
Copy link
Collaborator Author

Any reason to merge algebra.order.field_pow into algebra.order.field?

These lemmas were in #14849 split off from src/algebra/group_power/lemmas.lean and src/algebra/group_with_zero/power.lean. In that PR @eric-wieser suggested that they could be merged here when the dependencies have been readjusted.

@riccardobrasca
Copy link
Member

Thanks!

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jun 23, 2022
@github-actions github-actions bot removed the awaiting-review The author would like community review of the PR label Jun 23, 2022
bors bot pushed a commit that referenced this pull request Jun 23, 2022
I want to refer to the rational numbers in the definition of a field, meaning we can't have `algebra.field.basic` in the transitive imports of `data.rat.basic`.

This is a step in rearranging those imports: remove the definition of a field from the dependencies of the casts `ℕ → α` and `ℤ → α`, where `α` is a (semi)ring.
@bors
Copy link

bors bot commented Jun 23, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/nat,int): move field-specific lemmas about cast [Merged by Bors] - chore(data/nat,int): move field-specific lemmas about cast Jun 23, 2022
@bors bors bot closed this Jun 23, 2022
@bors bors bot deleted the split-cast-div branch June 23, 2022 18:36
Vierkantor added a commit that referenced this pull request Jun 27, 2022
In #14894, I want to refer to the rational numbers in the definition of a field, meaning we can't have `algebra.field.basic` in the transitive imports of `data.rat.basic`.

Apparently this dependency was re-added, so I'm going to have to split it again...
bors bot pushed a commit that referenced this pull request Jun 27, 2022
In #14894, I want to refer to the rational numbers in the definition of a field, meaning we can't have `algebra.field.basic` in the transitive imports of `data.rat.defs`.

Apparently this dependency was re-added, so I'm going to have to split it again...
xroblot pushed a commit that referenced this pull request Jun 27, 2022
In #14894, I want to refer to the rational numbers in the definition of a field, meaning we can't have `algebra.field.basic` in the transitive imports of `data.rat.defs`.

Apparently this dependency was re-added, so I'm going to have to split it again...
awainverse pushed a commit that referenced this pull request Jun 28, 2022
In #14894, I want to refer to the rational numbers in the definition of a field, meaning we can't have `algebra.field.basic` in the transitive imports of `data.rat.defs`.

Apparently this dependency was re-added, so I'm going to have to split it again...
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

4 participants