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(data/zmod/basic): add int_coe_eq_int_coe_iff_dvd_sub #12944

Closed
wants to merge 4 commits into from

Conversation

MichaelStollBayreuth
Copy link
Collaborator

@MichaelStollBayreuth MichaelStollBayreuth commented Mar 25, 2022

This adds the following API lemma.

lemma int_coe_eq_int_coe_iff_dvd_sub (a b : ℤ) (c : ℕ) : (a : zmod c) = ↑b ↔ ↑c ∣ b-a

extending the already present version with b = 0. (Zulip discussion)


Open in Gitpod

@MichaelStollBayreuth MichaelStollBayreuth added the awaiting-review The author would like community review of the PR label Mar 25, 2022
@MichaelStollBayreuth MichaelStollBayreuth removed the request for review from alexjbest March 26, 2022 18:56
@MichaelStollBayreuth MichaelStollBayreuth changed the title Zmod eq dvd lemma feat(data/zmod/basic): add an API lemma Mar 26, 2022
@kmill kmill changed the title feat(data/zmod/basic): add an API lemma feat(data/zmod/basic): add int_coe_eq_int_coe_iff_dvd_sub Mar 27, 2022
@kmill
Copy link
Collaborator

kmill commented Mar 27, 2022

Thanks!

bors r+

@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 Mar 27, 2022
bors bot pushed a commit that referenced this pull request Mar 27, 2022
This adds the following API lemma.
```
lemma int_coe_eq_int_coe_iff_dvd_sub (a b : ℤ) (c : ℕ) : (a : zmod c) = ↑b ↔ ↑c ∣ b-a
```
extending the already present version with b = 0. [(Zulip discussion)](https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/Missing.20zmod.20lemma.3F)
@bors
Copy link

bors bot commented Mar 27, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(data/zmod/basic): add int_coe_eq_int_coe_iff_dvd_sub [Merged by Bors] - feat(data/zmod/basic): add int_coe_eq_int_coe_iff_dvd_sub Mar 27, 2022
@bors bors bot closed this Mar 27, 2022
@bors bors bot deleted the zmod_eq_dvd_lemma branch March 27, 2022 16:31
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