Skip to content

chore(GroupTheory/Perm/Support): deprecate the module Mathlib.GroupTheory.Perm.Support - #46428

Open
wrenna-robson wants to merge 14 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-deprecate-module
Open

wrenna-robson wants to merge 14 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-deprecate-module

Conversation

@wrenna-robson

@wrenna-robson wrenna-robson commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Reinstate Mathlib.GroupTheory.Perm.Support, which #46277 removes, as a deprecated module importing the files under Mathlib/GroupTheory/Perm/Support/.

Part of the Equiv.Perm.support refactor discussed on Zulip.


This is split off from #46277 so that GitHub shows that PR as a move of Support.lean to Support/Finset/Basic.lean.

An LLM has been used in the preparation of this PR but as it contains no new content - i.e. it is just a deprecated module - I am omitting the LLM-generated tag.

wrenna-robson and others added 8 commits November 17, 2026 14:45
Move `Equiv.Perm.IsSwap` (with `ofSubtype_swap_eq`, `IsSwap.of_subtype_isSwap`,
`ne_and_ne_of_swap_mul_apply_ne_self`) and the fixed-point lemmas for powers of a
permutation (`pow_apply_eq_self_of_apply_eq_self`, `apply_pow_apply_eq_iff`, ...)
from `GroupTheory/Perm/Support` to `Algebra/Group/End`. None of them involve
`support`, and they need nothing beyond what `End` already imports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…set/Basic`, `Finset/Card`, `NoncommProd`

Split `Mathlib/GroupTheory/Perm/Support.lean` into:
* `Support/Basic.lean`: the `set_support_*` lemmas;
* `Support/Disjoint.lean`: the `Equiv.Perm.Disjoint` API not involving `support`;
* `Support/Finset/Basic.lean`: the `Finset`-valued `Equiv.Perm.support` and its API;
* `Support/Finset/Card.lean`: lemmas about the cardinality of `support`;
* `Support/NoncommProd.lean`: lemmas about `Finset.noncommProd` of permutations.

No declarations are renamed or restated. `Support.lean` becomes a deprecated module importing
the new files, and its direct importers are repointed to what they use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The deprecated module is reinstated in a follow-up PR, so that this PR is a pure move.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR summary 1341397a8e

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.GroupTheory.Perm.Support (new file) 654

Declarations diff (regex)

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

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 1341397).

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit 1341397a8e
Reference commit 6fa7524f94

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 24, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 24, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 30, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@wrenna-robson

Copy link
Copy Markdown
Collaborator Author

Just fixing the merge conflict from master as a result of #46277 landing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants