Skip to content

[Merged by Bors] - chore(Data.NNRat.Defs): split file into unbundled and bundled ordered algebra - #15072

Closed
mattrobball wants to merge 10 commits into
masterfrom
mrb/split_data_nnrat_defs
Closed

mattrobball wants to merge 10 commits into
masterfrom
mrb/split_data_nnrat_defs

Conversation

@mattrobball

@mattrobball mattrobball commented Jul 23, 2024 •

Copy link
Copy Markdown
Contributor

We split off the CanonicallyOrderedCommSemiring, CanonicallyLinearOrderedAddCommMonoid, and OrderedSub instances on NNRat to Data.NNRat.Order leaving the remainder independent of bundled ordered algebra classes.


Open in Gitpod

@github-actions

github-actions Bot commented Jul 23, 2024 •

Copy link
Copy Markdown

PR summary ca3cf68ae8

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Data.NNRat.Defs 458 425 -33 (-7.21%)
Mathlib.Tactic.Positivity.Basic 488 484 -4 (-0.82%)
Import changes for all files
Files Import difference
4 files Mathlib.Algebra.Field.Rat Mathlib.Data.NNRat.Defs Mathlib.Algebra.Module.LinearMap.Rat Mathlib.Algebra.Module.Rat
-33
11 files Mathlib.CategoryTheory.Monoidal.Linear Mathlib.Algebra.Category.ModuleCat.Monoidal.Symmetric Mathlib.Algebra.Category.ModuleCat.Monoidal.Basic Mathlib.CategoryTheory.Quotient.Linear Mathlib.Algebra.Homology.ShortComplex.Linear Mathlib.RepresentationTheory.Action.Monoidal Mathlib.RepresentationTheory.Action.Limits Mathlib.Algebra.Category.ModuleCat.Monoidal.Closed Mathlib.CategoryTheory.Monoidal.Subcategory Mathlib.Algebra.Homology.Linear Mathlib.CategoryTheory.Linear.LinearFunctor
-27
8 files Mathlib.Data.Int.AbsoluteValue Mathlib.Tactic.Positivity Mathlib.Algebra.Order.EuclideanAbsoluteValue Mathlib.Algebra.Order.Hom.Basic Mathlib.Topology.UniformSpace.AbsoluteValue Mathlib.Tactic.Positivity.Basic Mathlib.Algebra.Order.CauSeq.Basic Mathlib.Algebra.Order.AbsoluteValue
-4
8 files Mathlib.Combinatorics.SimpleGraph.Triangle.Removal Mathlib.Tactic.Positivity.Finset Mathlib.Combinatorics.Additive.DoublingConst Mathlib.Combinatorics.Additive.Corner.Roth Mathlib.Combinatorics.SimpleGraph.Triangle.Basic Mathlib.Data.Finset.Density Mathlib.Combinatorics.SimpleGraph.Triangle.Tripartite Mathlib.Tactic
1
Mathlib.Data.NNRat.Order 454

Declarations diff

+ Rat.instPosMulMono
+ Rat.instZeroLEOneClass
+ nonpos_iff_eq_zero

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

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

The doc-module for script/declarations_diff.sh contains some details about this script.

@ghost ghost added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Jul 23, 2024
@YaelDillies YaelDillies changed the title chore (Data.NNRat.Defs): split file into unbundled and bundled ordered algebra chore(Data.NNRat.Defs): split file into unbundled and bundled ordered algebra Aug 16, 2024
@YaelDillies
YaelDillies force-pushed the mrb/split_data_nnrat_defs branch from a562abe to 24cf15b Compare August 16, 2024 13:12
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 16, 2024
@ghost ghost removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Aug 17, 2024
@ghost

ghost commented Aug 17, 2024

Copy link
Copy Markdown

@mattrobball

Copy link
Copy Markdown
Contributor Author

!bench

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 17, 2024
@leanprover-bot

Copy link
Copy Markdown

Here are the benchmark results for commit 24cf15b.
There were no significant changes against commit f66c0d7.

@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 19, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 19, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 20, 2024
Comment thread Mathlib/Data/NNRat/Defs.lean Resolved
Comment thread Mathlib/Data/NNRat/Defs.lean Resolved
Comment thread Mathlib/Data/NNRat/Defs.lean Resolved
Comment thread Mathlib/Data/NNRat/Defs.lean Resolved
Comment thread Mathlib/Data/NNRat/Defs.lean Resolved
@j-loreaux j-loreaux added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Aug 20, 2024
mattrobball and others added 4 commits August 20, 2024 11:46
Co-authored-by: Jireh Loreaux <[email protected]>
Co-authored-by: Jireh Loreaux <[email protected]>
Co-authored-by: Jireh Loreaux <[email protected]>
@mattrobball mattrobball removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Aug 20, 2024
@j-loreaux

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Aug 20, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Aug 20, 2024
… algebra (#15072)

We split off the `CanonicallyOrderedCommSemiring`, `CanonicallyLinearOrderedAddCommMonoid`, and `OrderedSub` instances on `NNRat` to `Data.NNRat.Order` leaving the remainder independent of bundled ordered algebra classes.



Co-authored-by: Matthew Robert Ballard <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Data.NNRat.Defs): split file into unbundled and bundled ordered algebra [Merged by Bors] - chore(Data.NNRat.Defs): split file into unbundled and bundled ordered algebra Aug 20, 2024
@mathlib-bors mathlib-bors Bot closed this Aug 20, 2024
@mathlib-bors
mathlib-bors Bot deleted the mrb/split_data_nnrat_defs branch August 20, 2024 20:38
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
… algebra (#15072)

We split off the `CanonicallyOrderedCommSemiring`, `CanonicallyLinearOrderedAddCommMonoid`, and `OrderedSub` instances on `NNRat` to `Data.NNRat.Order` leaving the remainder independent of bundled ordered algebra classes.



Co-authored-by: Matthew Robert Ballard <[email protected]>
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
… algebra (#15072)

We split off the `CanonicallyOrderedCommSemiring`, `CanonicallyLinearOrderedAddCommMonoid`, and `OrderedSub` instances on `NNRat` to `Data.NNRat.Order` leaving the remainder independent of bundled ordered algebra classes.



Co-authored-by: Matthew Robert Ballard <[email protected]>
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
… algebra (#15072)

We split off the `CanonicallyOrderedCommSemiring`, `CanonicallyLinearOrderedAddCommMonoid`, and `OrderedSub` instances on `NNRat` to `Data.NNRat.Order` leaving the remainder independent of bundled ordered algebra classes.



Co-authored-by: Matthew Robert Ballard <[email protected]>
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.

3 participants