Skip to content

[Merged by Bors] - chore: Final cleanup before NNRat.cast#12360

Closed
YaelDillies wants to merge 5 commits intomasterfrom
pre_nnrat_cast_cleanup
Closed

[Merged by Bors] - chore: Final cleanup before NNRat.cast#12360
YaelDillies wants to merge 5 commits intomasterfrom
pre_nnrat_cast_cleanup

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies commented Apr 23, 2024

This is the parts of the diff of #11203 which don't mention NNRat.cast.

  • Use more where notation.
  • Write qsmul := _ instead of qsmul := qsmulRec _ to make the instances more robust to definition changes.
  • Delete qsmulRec.
  • Move qsmul before ratCast_def in instance declarations.
  • Name more instances.
  • Rename rat_smul to qsmul.

Open in Gitpod

This is the parts of the diff of #11203 which don't mention `NNRat.cast`.
* Use more `where` notation.
* Write `qsmul := _` instead of `qsmul := qsmulRec _`.
* Move `qsmul` before `ratCast_def` in instance declarations.
* Name more instances.
* Rename `rat_smul` to `qsmul`.
*
@eric-wieser
Copy link
Copy Markdown
Member

bors d+

Thanks!

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 23, 2024

✌️ 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 delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Apr 23, 2024
@YaelDillies
Copy link
Copy Markdown
Contributor Author

bors merge

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 23, 2024

Canceled.

@YaelDillies
Copy link
Copy Markdown
Contributor Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Apr 23, 2024
This is the parts of the diff of #11203 which don't mention `NNRat.cast`.
* Use more `where` notation.
* Write `qsmul := _` instead of `qsmul := qsmulRec _` to make the instances more robust to definition changes.
* Delete `qsmulRec`.
* Move `qsmul` before `ratCast_def` in instance declarations.
* Name more instances.
* Rename `rat_smul` to `qsmul`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 23, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: Final cleanup before NNRat.cast [Merged by Bors] - chore: Final cleanup before NNRat.cast Apr 23, 2024
@mathlib-bors mathlib-bors bot closed this Apr 23, 2024
@mathlib-bors mathlib-bors bot deleted the pre_nnrat_cast_cleanup branch April 23, 2024 11:20
Jun2M pushed a commit that referenced this pull request Apr 24, 2024
This is the parts of the diff of #11203 which don't mention `NNRat.cast`.
* Use more `where` notation.
* Write `qsmul := _` instead of `qsmul := qsmulRec _` to make the instances more robust to definition changes.
* Delete `qsmulRec`.
* Move `qsmul` before `ratCast_def` in instance declarations.
* Name more instances.
* Rename `rat_smul` to `qsmul`.
callesonne pushed a commit that referenced this pull request May 16, 2024
This is the parts of the diff of #11203 which don't mention `NNRat.cast`.
* Use more `where` notation.
* Write `qsmul := _` instead of `qsmul := qsmulRec _` to make the instances more robust to definition changes.
* Delete `qsmulRec`.
* Move `qsmul` before `ratCast_def` in instance declarations.
* Name more instances.
* Rename `rat_smul` to `qsmul`.
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).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants