Skip to content

[Merged by Bors] - chore (Data.Rat.Lemmas): avoid importing OrderedCommMonoid #14341

Closed
mattrobball wants to merge 1 commit intomasterfrom
mrb/avoid_ordered_alg_in_data_rat_lemmas
Closed

[Merged by Bors] - chore (Data.Rat.Lemmas): avoid importing OrderedCommMonoid #14341
mattrobball wants to merge 1 commit intomasterfrom
mrb/avoid_ordered_alg_in_data_rat_lemmas

Conversation

@mattrobball
Copy link
Copy Markdown
Contributor

We can avoid importing Algebra.Order.Group.Defs in Data.Rat.Lemmas if we use Nat versions of some lemmas and slightly modify one proof.


We could also exile to Rat.inv_intCast_den (and Rat.inv_natCast_den) to Data.Rat.Cast.Lemmas since it doesn't seem to be used.

Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 1, 2024

PR summary a39525ac60

Import changes

Dependency changes

File Base Count Head Count Change
Mathlib.Data.Rat.Lemmas 406 345 -61 (-15.02%)

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Jul 1, 2024

Thanks a lot!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jul 1, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 1, 2024
We can avoid importing `Algebra.Order.Group.Defs` in `Data.Rat.Lemmas` if we use `Nat` versions of some lemmas and slightly modify one proof.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jul 1, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore (Data.Rat.Lemmas): avoid importing OrderedCommMonoid [Merged by Bors] - chore (Data.Rat.Lemmas): avoid importing OrderedCommMonoid Jul 1, 2024
@mathlib-bors mathlib-bors bot closed this Jul 1, 2024
@mathlib-bors mathlib-bors bot deleted the mrb/avoid_ordered_alg_in_data_rat_lemmas branch July 1, 2024 23:15
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
We can avoid importing `Algebra.Order.Group.Defs` in `Data.Rat.Lemmas` if we use `Nat` versions of some lemmas and slightly modify one proof.
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants