Skip to content

[Merged by Bors] - chore(GroupTheory/Coxeter/Basic): clean up set_option - #45806

Closed
vihdzp wants to merge 9 commits into
leanprover-community:masterfrom
vihdzp:coxtech
Closed

vihdzp wants to merge 9 commits into
leanprover-community:masterfrom
vihdzp:coxtech

Conversation

@vihdzp

@vihdzp vihdzp commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

We make CoxeterSystem.Group into an abbrev, so the PresentedGroup API can be used directly for it.


Mathematically speaking, I'd say Coxeter groups are presented groups, so making this transparent seems reasonable to me.

@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Nov 8, 2026
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

PR summary e514c239e4

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ injective_simple
+ mulEquiv_simple
+ mulEquiv_symm_simple
+ submonoidClosure_range_simple
++ subgroupClosure_range_simple
+-+- simple
- toMonoidHom_apply_symm_apply

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit e514c23).

  • +6 new declarations
  • −1 removed declarations
-CoxeterMatrix.instGroupGroup
+CoxeterMatrix.subgroupClosure_range_simple
+CoxeterSystem.injective_simple
+CoxeterSystem.mulEquiv_simple
+CoxeterSystem.mulEquiv_symm_simple
+CoxeterSystem.subgroupClosure_range_simple
+CoxeterSystem.submonoidClosure_range_simple

Decrease in strong tech debt: (relative, absolute) = (1.69, 0.01)
Current number Change Type (strong)
3990 -6 backward.isDefEq.respectTransparency
459 -3 backward.privateInPublic
177 -1 backward.privateInPublic.warn
No changes to weak technical debt.

Current commit e514c239e4
Reference commit bfce241797

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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-group-theory Group theory label Nov 8, 2026
@vihdzp
vihdzp marked this pull request as draft November 8, 2026 12:47
@vihdzp
vihdzp marked this pull request as ready for review November 8, 2026 13:07

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks reasonable to me, but I'd like another pair of eyes as this is not my area of expertise:
maintainer delegate?

Comment thread Mathlib/GroupTheory/Coxeter/Basic.lean Resolved
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by grunweg.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 9, 2026
Comment thread Mathlib/GroupTheory/Coxeter/Basic.lean Resolved

@j-loreaux j-loreaux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors d+

@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 10, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

✌️ vihdzp can now approve this pull request until 2026-11-24 22:00 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, Wanted/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean, Wanted.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 10, 2026
@vihdzp

vihdzp commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author

bors r+

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Nov 11, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Nov 11, 2026
We make `CoxeterSystem.Group` into an `abbrev`, so the `PresentedGroup` API can be used directly for it.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Nov 11, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title chore(GroupTheory/Coxeter/Basic): clean up set_option [Merged by Bors] - chore(GroupTheory/Coxeter/Basic): clean up set_option Nov 11, 2026
@mathlib-bors mathlib-bors Bot closed this Nov 11, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-group-theory Group theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants