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 intomasterfrom
mrb/split_data_nnrat_defs
Closed

[Merged by Bors] - chore(Data.NNRat.Defs): split file into unbundled and bundled ordered algebra #15072
mattrobball wants to merge 10 commits intomasterfrom
mrb/split_data_nnrat_defs

Conversation

@mattrobball
Copy link
Copy Markdown
Contributor

@mattrobball mattrobball commented Jul 23, 2024

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

github-actions bot commented Jul 23, 2024

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
…ed algebra results

Author: Matthew Ballard <matt@mrb.email>
Date:   Fri Aug 9 13:48:05 2024 -0400
@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
Copy link
Copy Markdown

ghost commented Aug 17, 2024

@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
Collaborator

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
@j-loreaux j-loreaux added the awaiting-author A reviewer has asked the author a question or requested changes. label Aug 20, 2024
mattrobball and others added 4 commits August 20, 2024 11:46
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
@mattrobball mattrobball removed the awaiting-author A reviewer has asked the author a question or requested changes. 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 <100034030+mattrobball@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 20, 2024

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 <100034030+mattrobball@users.noreply.github.com>
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 <100034030+mattrobball@users.noreply.github.com>
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 <100034030+mattrobball@users.noreply.github.com>
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