Skip to content

refactor(Algebra/Order): unbundle group and ring cone#37298

Open
artie2000 wants to merge 4 commits intoleanprover-community:masterfrom
artie2000:unbundle-cone
Open

refactor(Algebra/Order): unbundle group and ring cone#37298
artie2000 wants to merge 4 commits intoleanprover-community:masterfrom
artie2000:unbundle-cone

Conversation

@artie2000
Copy link
Copy Markdown
Collaborator

  • Unbundle GroupCone and RingCone using Submonoid.IsMulPointed

Open in Gitpod

@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Mar 28, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

PR summary e960b84129

Import changes exceeding 2%

% File
+88.79% Mathlib.Algebra.Order.Group.Cone
+66.67% Mathlib.Algebra.Order.Ring.Cone

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Order.Group.Cone 348 657 +309 (+88.79%)
Mathlib.Algebra.Order.Ring.Cone 414 690 +276 (+66.67%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Order.Ring.Cone 276
Mathlib.Algebra.Order.Group.Cone 309

Declarations diff

+ IsOrderedMonoid.mkOfSubmonoid
+ IsOrderedRing.mkOfSubsemiring
+ LinearOrder.mkOfSubmonoid
+ PartialOrder.mkOfSubmonoid
+ PartialOrder.mkOfSubmonoid_le_iff
+ Submonoid.oneLE.isMulPointed
+ Submonoid.oneLE.isMulSpanning
+ Subsemiring.nonneg.isPointed
+ Subsemiring.nonneg.isSpanning

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

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

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


Increase in tech debt: (relative, absolute) = (3.00, 0.19)
Current number Change Type
16 3 disabled deprecation lints

Current commit 0d93da52fd
Reference commit e960b84129

You can run this locally as

./scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Mar 28, 2026
@artie2000
Copy link
Copy Markdown
Collaborator Author

What is the right way to fix the warnings?

@dagurtomas dagurtomas removed their assignment Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants