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

feat(data/int/gcd) extended gcd to integers #218

Closed
wants to merge 11 commits into from
Closed

feat(data/int/gcd) extended gcd to integers #218

wants to merge 11 commits into from

Conversation

gml16
Copy link
Contributor

@gml16 gml16 commented Jul 25, 2018

TO CONTRIBUTORS:

Make sure you have:

  • reviewed and applied the coding style: coding, naming
  • for tactics:
  • make sure definitions and lemmas are put in the right files
  • make sure definitions and lemmas are not redundant

For reviewers: code review check list

@gml16 gml16 changed the title data/nat/gcd extended for integers to data/int/gcd feat(data/int/gcd) extended gcd to integers Jul 25, 2018
@gml16 gml16 closed this Jul 25, 2018
@gml16 gml16 reopened this Jul 25, 2018
@@ -423,7 +423,7 @@ theorem mod_eq_zero_of_dvd : ∀ {a b : ℤ}, a ∣ b → b % a = 0
theorem dvd_iff_mod_eq_zero (a b : ℤ) : a ∣ b ↔ b % a = 0 :=
⟨mod_eq_zero_of_dvd, dvd_of_mod_eq_zero⟩

theorem nat_abs_dvd {a b : ℤ} : (a.nat_abs : ℤ) ∣ b ↔ a ∣ b :=
theorem nat_abs_dvd {a b : ℤ} : (a.nat_abs : ℤ) ∣ b ↔ a ∣ b :=
Copy link
Member

Choose a reason for hiding this comment

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

You added a space at the end of this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for letting me know, the extra spaces are now removed.

@johoelzl
Copy link
Collaborator

I don't think this is the way we want to go. The way to go is to introduce a GCD (semi-)domain.

@johoelzl johoelzl closed this Jul 30, 2018
@johoelzl
Copy link
Collaborator

@gml16 do you want to work on GCD (semi-) domains?

@digama0 digama0 mentioned this pull request Aug 1, 2018
3 tasks
@johoelzl
Copy link
Collaborator

@gml16 I have now the pull request #233 to add GCD domains. Should we merge both requests?

It looks like the branch doesn't exist anymore in your repository. If you want I can pull the content out from this pull request.

@gml16
Copy link
Contributor Author

gml16 commented Aug 30, 2018

Sure if it's useful feel free to pull the content :)

johoelzl pushed a commit to johoelzl/mathlib that referenced this pull request Aug 31, 2018
Resurrected by @johoelzl. The original commit was not available anymore.
johoelzl pushed a commit that referenced this pull request Aug 31, 2018
Resurrected by @johoelzl. The original commit was not available anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants