Skip to content

refactor(GroupTheory/Perm/Support): rename Perm.support to supportFinset - #46082

Open
wrenna-robson wants to merge 27 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-finset
Open

wrenna-robson wants to merge 27 commits into
leanprover-community:masterfrom
wrenna-robson:perm-support-finset

Conversation

@wrenna-robson

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

Copy link
Copy Markdown
Collaborator

Rename Equiv.Perm.support to Equiv.Perm.supportFinset, along with 113 related declarations. Each rename keeps a deprecated alias. Lemmas about the Set {x | f x ≠ x} (set_support_*) keep their names for now.


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

This is just a rename, to free the name Equiv.Perm.support for a Set-valued definition, which needs no Fintype or DecidableEq assumptions. That definition is added in #46126.

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

@wrenna-robson wrenna-robson added the LLM-generated PRs with substantial input from LLMs - review accordingly label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

PR summary 9b9d6bcd9a

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) 653

Declarations diff (regex)

+ Basis.mem_support_self'
+ Disjoint.card_supportFinset_mul
+ Disjoint.disjoint_supportFinset
+ Disjoint.mono_supportFinset
+ Disjoint.supportFinset_mul
+ IsCycle.eq_on_supportFinset_inter_nonempty_congr
+ IsCycle.nonempty_supportFinset
+ IsCycle.supportFinset_congr
+ IsCycle.supportFinset_pow_eq_iff
+ IsCycle.supportFinset_pow_of_pos_of_lt_orderOf
+ IsCycle.two_le_card_supportFinset
+ IsCycle.zpowersEquivSupportFinset
+ IsCycle.zpowersEquivSupportFinset_apply
+ IsCycle.zpowersEquivSupportFinset_symm_apply
+ IsThreeCycle.eq_swap_mul_swap_iff_mem_supportFinset
+ IsThreeCycle.nodup_iff_mem_supportFinset
+ IsThreeCycle.supportFinset_eq_iff_mem_supportFinset
+ SameCycle.exists_pow_eq_of_mem_supportFinset
+ SameCycle.exists_pow_eq_of_mem_supportFinset_aux
+ SameCycle.mem_supportFinset_iff
+ _root_.card_supportFinset_eq_three_iff
+ apply_mem_supportFinset
+ card_compl_supportFinset_modEq
+ card_ofPermHom_supportFinset
+ card_supportFinset
+ card_supportFinset_conj
+ card_supportFinset_eq_two
+ card_supportFinset_eq_zero
+ card_supportFinset_extend_domain
+ card_supportFinset_le_one
+ card_supportFinset_ne_one
+ card_supportFinset_prod_list_of_pairwise_disjoint
+ card_supportFinset_swap
+ card_supportFinset_swap_mul
+ coe_supportFinset_eq_support
+ cycle_zpow_mem_supportFinset_iff
+ disjoint_closure_of_disjoint_supportFinset
+ disjoint_iff_disjoint_supportFinset
+ disjoint_of_disjoint_supportFinset
+ disjoint_supportFinset_closure_of_disjoint_supportFinset
+ eq_on_supportFinset_mem_disjoint
+ exists_mem_supportFinset_of_mem_supportFinset_prod
+ isConj_of_supportFinset_equiv
+ isCycleOn_supportFinset_cycleOf
+ isCycleOn_supportFinset_cycleOf_aux
+ isCycleOn_supportFinset_of_mem_cycleFactorsFinset
+ isInvariant_of_supportFinset_subset
+ le_card_supportFinset_of_mem_cycleType
+ length_toList_pos_of_mem_supportFinset
+ mem_conj_supportFinset
+ mem_cycleFactorsFinset_supportFinset
+ mem_cycleFactorsFinset_supportFinset_le
+ mem_supportFinset_cycleOf_iff
+ mem_supportFinset_cycleOf_iff'
+ mem_supportFinset_cycleOf_iff'_aux
+ mem_supportFinset_cycleOf_iff_aux
+ mem_supportFinset_cycle_of_cycle
+ mem_supportFinset_iff
+ mem_supportFinset_iff_mem_supportFinset_of_mem_cycleFactorsFinset
+ mem_supportFinset_iff_of_commute
+ mem_supportFinset_ofSubtype
+ mem_supportFinset_of_mem_noncommProd_supportFinset
+ mem_supportFinset_self
+ mem_supportFinset_swap_mul_imp_mem_supportFinset_ne
+ notMem_supportFinset_iff
+ ofPermHomFun_apply_mem_supportFinset_cycle_iff
+ ofPermHom_supportFinset
+ ofSubtype_subtypePerm_eq_iff_supportFinset_subset
+ ofSubtype_supportFinset_disjoint
+ one_lt_card_supportFinset_of_ne_one
+ pow_apply_mem_supportFinset
+ pow_apply_mem_toList_iff_mem_supportFinset
+ pow_eq_on_of_mem_supportFinset
+ pow_mod_card_supportFinset_cycleOf_self_apply
+ sameCycle_iff_cycleOf_eq_of_mem_supportFinset
+ subtypePermOfSupportFinset
+ subtypePermOfSupportFinsetLE
+ supportFinset
+ supportFinset_closure_subset_union
+ supportFinset_congr
+ supportFinset_conj
+ supportFinset_conj_eq_smul_supportFinset
+ supportFinset_cycleOf_eq_nil_iff
+ supportFinset_cycleOf_le
+ supportFinset_cycleOf_nonempty
+ supportFinset_eq_empty_iff
+ supportFinset_extend_domain
+ supportFinset_finRotate
+ supportFinset_finRotate_of_le
+ supportFinset_formPerm
+ supportFinset_formPerm_of_nodup
+ supportFinset_formPerm_subset
+ supportFinset_inv
+ supportFinset_mul_subset
+ supportFinset_noncommProd
+ supportFinset_ofSubtype
+ supportFinset_one
+ supportFinset_pow_coprime
+ supportFinset_pow_subset
+ supportFinset_prod_of_pairwise_disjoint
+ supportFinset_prod_subset
+ supportFinset_refl
+ supportFinset_sdiff_subset_supportFinset_swap_mul
+ supportFinset_subset_prod_of_mem
+ supportFinset_subtypePerm
+ supportFinset_swap
+ supportFinset_swap_iff
+ supportFinset_swap_mul_eq
+ supportFinset_swap_mul_swap
+ supportFinset_zpow_subset
+ supportFinset_zpowers_of_mem_cycleFactorsFinset_le
+ two_dvd_card_supportFinset
+ two_le_card_supportFinset_cycleOf_iff
+ two_le_card_supportFinset_of_ne_one
+ two_le_length_toList_iff_mem_supportFinset
+ zipWith_swap_prod_supportFinset
+ zpow_apply_mem_supportFinset
+ zpow_apply_mem_supportFinset_of_mem_cycleFactorsFinset_iff
- SameCycle.exists_pow_eq_of_mem_support_aux
- _root_.card_support_eq_three_iff
- isCycleOn_support_cycleOf_aux
- mem_support_cycleOf_iff'_aux
- mem_support_cycleOf_iff_aux

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 9b9d6bc).

  • +115 new declarations
  • −1 removed declarations
+Cycle.supportFinset_formPerm
+Equiv.Perm.Basis.card_ofPermHom_supportFinset
+Equiv.Perm.Basis.mem_supportFinset_self
+Equiv.Perm.Basis.mem_supportFinset_self'
+Equiv.Perm.Basis.ofPermHomFun_apply_mem_supportFinset_cycle_iff
+Equiv.Perm.Basis.ofPermHom_supportFinset
+Equiv.Perm.Disjoint.card_supportFinset_mul
+Equiv.Perm.Disjoint.disjoint_supportFinset
+Equiv.Perm.Disjoint.mono_supportFinset
+Equiv.Perm.Disjoint.supportFinset_mul
+Equiv.Perm.IsCycle.eq_on_supportFinset_inter_nonempty_congr
+Equiv.Perm.IsCycle.nonempty_supportFinset
+Equiv.Perm.IsCycle.supportFinset_congr
+Equiv.Perm.IsCycle.supportFinset_pow_eq_iff
+Equiv.Perm.IsCycle.supportFinset_pow_of_pos_of_lt_orderOf
+Equiv.Perm.IsCycle.two_le_card_supportFinset
-Equiv.Perm.IsCycle.zpowersEquivSupport.congr_simp
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset.congr_simp
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset_apply
+Equiv.Perm.IsCycle.zpowersEquivSupportFinset_symm_apply
+Equiv.Perm.IsThreeCycle.card_supportFinset
+Equiv.Perm.IsThreeCycle.eq_swap_mul_swap_iff_mem_supportFinset
+Equiv.Perm.IsThreeCycle.nodup_iff_mem_supportFinset
+Equiv.Perm.IsThreeCycle.supportFinset_eq_iff_mem_supportFinset
+Equiv.Perm.SameCycle.exists_pow_eq_of_mem_supportFinset
+Equiv.Perm.SameCycle.mem_supportFinset_iff
+Equiv.Perm.apply_mem_supportFinset
+Equiv.Perm.card_compl_supportFinset_modEq
+Equiv.Perm.card_supportFinset_conj
+Equiv.Perm.card_supportFinset_eq_two
+Equiv.Perm.card_supportFinset_eq_zero
+Equiv.Perm.card_supportFinset_extend_domain
+Equiv.Perm.card_supportFinset_le_one
+Equiv.Perm.card_supportFinset_ne_one
+Equiv.Perm.card_supportFinset_prod_list_of_pairwise_disjoint
+Equiv.Perm.card_supportFinset_swap
+Equiv.Perm.card_supportFinset_swap_mul
+Equiv.Perm.coe_supportFinset_eq_support
+Equiv.Perm.cycle_zpow_mem_supportFinset_iff
+Equiv.Perm.disjoint_closure_of_disjoint_supportFinset
+Equiv.Perm.disjoint_iff_disjoint_supportFinset
+Equiv.Perm.disjoint_of_disjoint_supportFinset
+Equiv.Perm.disjoint_supportFinset_closure_of_disjoint_supportFinset
+Equiv.Perm.eq_on_supportFinset_mem_disjoint
+Equiv.Perm.exists_mem_supportFinset_of_mem_supportFinset_prod
+Equiv.Perm.isConj_of_supportFinset_equiv
+Equiv.Perm.isCycleOn_supportFinset_cycleOf
+Equiv.Perm.isCycleOn_supportFinset_of_mem_cycleFactorsFinset
+Equiv.Perm.isInvariant_of_supportFinset_subset
+Equiv.Perm.le_card_supportFinset_of_mem_cycleType
+Equiv.Perm.length_toList_pos_of_mem_supportFinset
+Equiv.Perm.mem_conj_supportFinset
+Equiv.Perm.mem_cycleFactorsFinset_supportFinset
+Equiv.Perm.mem_cycleFactorsFinset_supportFinset_le
+Equiv.Perm.mem_supportFinset_cycleOf_iff
+Equiv.Perm.mem_supportFinset_cycleOf_iff'
+Equiv.Perm.mem_supportFinset_cycle_of_cycle
+Equiv.Perm.mem_supportFinset_iff
+Equiv.Perm.mem_supportFinset_iff_mem_supportFinset_of_mem_cycleFactorsFinset
+Equiv.Perm.mem_supportFinset_iff_of_commute
+Equiv.Perm.mem_supportFinset_ofSubtype
+Equiv.Perm.mem_supportFinset_of_mem_noncommProd_supportFinset
+Equiv.Perm.mem_supportFinset_swap_mul_imp_mem_supportFinset_ne
+Equiv.Perm.notMem_supportFinset_iff
+Equiv.Perm.ofSubtype_subtypePerm_eq_iff_supportFinset_subset
+Equiv.Perm.ofSubtype_supportFinset_disjoint
+Equiv.Perm.one_lt_card_supportFinset_of_ne_one
+Equiv.Perm.pow_apply_mem_supportFinset
+Equiv.Perm.pow_apply_mem_toList_iff_mem_supportFinset
+Equiv.Perm.pow_eq_on_of_mem_supportFinset
+Equiv.Perm.pow_mod_card_supportFinset_cycleOf_self_apply
+Equiv.Perm.sameCycle_iff_cycleOf_eq_of_mem_supportFinset
+Equiv.Perm.subtypePermOfSupportFinset
+Equiv.Perm.subtypePermOfSupportFinsetLE
+Equiv.Perm.supportFinset
+Equiv.Perm.supportFinset_closure_subset_union
+Equiv.Perm.supportFinset_congr
+Equiv.Perm.supportFinset_conj
+Equiv.Perm.supportFinset_conj_eq_smul_supportFinset
+Equiv.Perm.supportFinset_cycleOf_eq_nil_iff
+Equiv.Perm.supportFinset_cycleOf_le
+Equiv.Perm.supportFinset_cycleOf_nonempty
+Equiv.Perm.supportFinset_eq_empty_iff
+Equiv.Perm.supportFinset_extend_domain
+Equiv.Perm.supportFinset_inv
+Equiv.Perm.supportFinset_mul_subset
+Equiv.Perm.supportFinset_noncommProd
+Equiv.Perm.supportFinset_ofSubtype
+Equiv.Perm.supportFinset_one
+Equiv.Perm.supportFinset_pow_coprime
+Equiv.Perm.supportFinset_pow_subset
+Equiv.Perm.supportFinset_prod_of_pairwise_disjoint
+Equiv.Perm.supportFinset_prod_subset
+Equiv.Perm.supportFinset_refl
+Equiv.Perm.supportFinset_sdiff_subset_supportFinset_swap_mul
+Equiv.Perm.supportFinset_subset_prod_of_mem
+Equiv.Perm.supportFinset_subtypePerm
+Equiv.Perm.supportFinset_swap
+Equiv.Perm.supportFinset_swap_iff
+Equiv.Perm.supportFinset_swap_mul_eq
+Equiv.Perm.supportFinset_swap_mul_swap
+Equiv.Perm.supportFinset_zpow_subset
+Equiv.Perm.supportFinset_zpowers_of_mem_cycleFactorsFinset_le
+Equiv.Perm.two_dvd_card_supportFinset
+Equiv.Perm.two_le_card_supportFinset_cycleOf_iff
+Equiv.Perm.two_le_card_supportFinset_of_ne_one
+Equiv.Perm.two_le_length_toList_iff_mem_supportFinset
+Equiv.Perm.zpow_apply_mem_supportFinset
+Equiv.Perm.zpow_apply_mem_supportFinset_of_mem_cycleFactorsFinset_iff
+List.supportFinset_formPerm_of_nodup
+List.supportFinset_formPerm_subset
+List.zipWith_swap_prod_supportFinset
+card_supportFinset_eq_three_iff
+supportFinset_finRotate
+supportFinset_finRotate_of_le

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

Current commit 9b9d6bcd9a
Reference commit b698bef4f2

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 increases-technical-debt Automatically added label for PRs which increase "strong" technical debts and removed increases-technical-debt Automatically added label for PRs which increase "strong" technical debts labels Nov 16, 2026
@wrenna-robson wrenna-robson changed the title refactor(GroupTheory/Perm): rename Equiv.Perm.support to supportFinset refactor(GroupTheory/Perm): rename Perm.support to supportFinset and split Perm/Support Nov 16, 2026
@wrenna-robson
wrenna-robson marked this pull request as ready for review November 16, 2026 23:50
@wrenna-robson wrenna-robson added the t-group-theory Group theory label Nov 17, 2026
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]>
@github-actions github-actions Bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Nov 18, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026
…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]>
wrenna-robson and others added 4 commits November 20, 2026 11:02
Rename `Equiv.Perm.support` to `Equiv.Perm.supportFinset`, along with the declarations that
mention it, keeping deprecated aliases.

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

tb65536 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Step 1 of making Perm.support a Set, with no [Fintype α] or [DecidableEq α].

* Splits `Perm/Support.lean` into `Support/Basic.lean` (no finiteness assumptions) and `Support/Finset.lean` (needs `[Fintype α]`). `Support.lean` now just imports both.

* Renames `Perm.support` to `supportFinset`, and about 114 declarations that mention it. Each keeps a deprecated alias.

* Lemmas about the `Set` `{x | f x ≠ x}` (`set_support_*`, `coe_supportFinset_eq_set_support`) keep their names for now.

It seems like this PR is doing several different things. Can you split up this PR into more modular PRs (e.g., just the renaming, or just the split)?

@tb65536 tb65536 added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 20, 2026
@wrenna-robson wrenna-robson changed the title refactor(GroupTheory/Perm): rename Perm.support to supportFinset and split Perm/Support refactor(GroupTheory/Perm): rename Perm.support to supportFinset Nov 20, 2026
@github-actions github-actions Bot added the tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip label Nov 20, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 20, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 21, 2026
wrenna-robson and others added 3 commits November 24, 2026 15:08
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]>
# Conflicts:
#	Mathlib/GroupTheory/Perm/Support.lean
wrenna-robson pushed a commit to wrenna-robson/mathlib4 that referenced this pull request Nov 24, 2026
Rename the `Set` version of `ofSubtype_eq_iff` to
`ofSubtype_subtypePerm_eq_iff_support_subset`, and keep the `Finset`
version under its leanprover-community#46082 name `ofSubtype_subtypePerm_eq_iff_supportFinset_subset`
(dropping `ofSubtype_eq_iff_mem_finset`), with `ofSubtype_eq_iff` remaining
a deprecated alias of the `Finset` version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0195pqtqaF2V2KezbAoNJJoe
wrenna-robson and others added 6 commits November 29, 2026 13:08
…_swap`

Address review: drop unneeded imports, move `disjoint_swap_swap` to
`Support/Disjoint.lean`, and document `Support/NoncommProd.lean`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	Mathlib/GroupTheory/Perm/Support/Finset/Basic.lean
…upportFinset_iff`

Also `notMem_supportFinset` to `notMem_supportFinset_iff`. The deprecated
aliases `mem_support` and `notMem_support` now point at the `_iff` names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
wrenna-robson added a commit to wrenna-robson/mathlib4 that referenced this pull request Nov 30, 2026
Brings in the `mem_supportFinset_iff` rename from leanprover-community#46082 and, with it,
the merge of master (including leanprover-community#46277). Conflicts are resolved in favour
of this branch's proofs. The `Set` lemmas are renamed in step:
`mem_support` to `mem_support_iff` and `notMem_support` to
`notMem_support_iff`. Since those names no longer clash, the deprecated
aliases `mem_support` and `notMem_support` (pointing at the `Finset`
lemmas) are restored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
wrenna-robson and others added 2 commits November 30, 2026 09:53
…supportFinset_formPerm_subset`

State it with `⊆`, matching the other `_subset` renames. The deprecated
alias `support_formPerm_le` now points at the new name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iff`

Inside `SameCycle.exists_pow_eq` the unqualified name resolves to
`SameCycle.mem_supportFinset_iff`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 1, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

TJHeeringa pushed a commit to TJHeeringa/mathlib4 that referenced this pull request Dec 2, 2026
…emmas to `Algebra/Group/End` (leanprover-community#46119)

Part of the `Equiv.Perm.support` refactor discussed on [Zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/support.20of.20permutations.20on.20Type.20instead.20of.20Fintype/near/640706043): leanprover-community#46119 (move `IsSwap` and pow-apply lemmas) → leanprover-community#46277 (split `Support.lean`) → leanprover-community#46082 (rename to `supportFinset`) → leanprover-community#46126 (`Set`-valued `support`).

Move `Equiv.Perm.IsSwap` and the lemmas about fixed points of powers of a permutation from `Mathlib/GroupTheory/Perm/Support.lean` to `Mathlib/Algebra/Group/End.lean`.

None of these are about the support of a permutation. They only need the group structure on `Equiv.Perm`, so they belong earlier in the import tree, next to that structure. The aim is for the `Support` files to contain only material about the support. It is a pure move with no renames or statement changes.

An LLM has been used in the preparation of this PR but as it contains no new content - i.e. it is just a move - I am omitting the LLM-generated tag.
# Conflicts:
#	Mathlib/GroupTheory/Perm/ConjAct.lean
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 2, 2026

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

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) 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.

3 participants