Skip to content

[Merged by Bors] - refactor(Data/ZMod/Basic): Replace Fact ((n : ℕ) % 2 = 1) with Odd n#6292

Closed
tb65536 wants to merge 2 commits intomasterfrom
tb_fact
Closed

[Merged by Bors] - refactor(Data/ZMod/Basic): Replace Fact ((n : ℕ) % 2 = 1) with Odd n#6292
tb65536 wants to merge 2 commits intomasterfrom
tb_fact

Conversation

@tb65536
Copy link
Copy Markdown
Contributor

@tb65536 tb65536 commented Aug 2, 2023

This PR replaces Fact ((n : ℕ) % 2 = 1) with Odd n, as suggested in #6086.


Open in Gitpod

@tb65536 tb65536 added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels Aug 2, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Aug 2, 2023
prod_Ico_id_eq_factorial]

theorem gauss_lemma_aux (p : ℕ) [hp : Fact p.Prime] [Fact (p % 2 = 1)] {a : ℤ}
theorem gauss_lemma_aux (p : ℕ) [hp : Fact p.Prime] {a : ℤ}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I wonder why this unused argument was not caught during linting?

Copy link
Copy Markdown
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 d+

Thanks!

@bors
Copy link
Copy Markdown

bors bot commented Aug 2, 2023

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

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Aug 2, 2023
@tb65536
Copy link
Copy Markdown
Contributor Author

tb65536 commented Aug 2, 2023

bors r+

bors bot pushed a commit that referenced this pull request Aug 2, 2023
… n` (#6292)

This PR replaces `Fact ((n : ℕ) % 2 = 1)` with `Odd n`, as suggested in #6086.
@bors
Copy link
Copy Markdown

bors bot commented Aug 2, 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 refactor(Data/ZMod/Basic): Replace Fact ((n : ℕ) % 2 = 1) with Odd n [Merged by Bors] - refactor(Data/ZMod/Basic): Replace Fact ((n : ℕ) % 2 = 1) with Odd n Aug 2, 2023
@bors bors bot closed this Aug 2, 2023
@bors bors bot deleted the tb_fact branch August 2, 2023 15:54
kim-em pushed a commit that referenced this pull request Aug 3, 2023
… n` (#6292)

This PR replaces `Fact ((n : ℕ) % 2 = 1)` with `Odd n`, as suggested in #6086.
kim-em pushed a commit that referenced this pull request Aug 3, 2023
… n` (#6292)

This PR replaces `Fact ((n : ℕ) % 2 = 1)` with `Odd n`, as suggested in #6086.
kim-em pushed a commit that referenced this pull request Aug 14, 2023
… n` (#6292)

This PR replaces `Fact ((n : ℕ) % 2 = 1)` with `Odd n`, as suggested in #6086.
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). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants