Repository navigation
refactor(GroupTheory/Perm/Support): rename Perm.support to supportFinset - #46082
wrenna-robson wants to merge 27 commits into
Conversation
PR summary 9b9d6bcd9aImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
Equiv.Perm.support to supportFinsetPerm.support to supportFinset and split Perm/Support
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]>
|
This pull request has conflicts, please merge |
…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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
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)? |
e9af401 to
b224923
Compare
Perm.support to supportFinset and split Perm/SupportPerm.support to supportFinset
|
This pull request has conflicts, please merge |
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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # Mathlib/GroupTheory/Perm/Support.lean
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0195pqtqaF2V2KezbAoNJJoe
# Conflicts: # Mathlib/GroupTheory/Perm/Support/Basic.lean
…btypePerm_eq_iff_supportFinset_subset` Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0195pqtqaF2V2KezbAoNJJoe
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
…_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]>
…pport-deprecate-module
# Conflicts: # Mathlib/GroupTheory/Perm/Support/Finset/Basic.lean
…ecate-module # Conflicts: # Mathlib.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]>
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]>
…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]>
|
This pull request has conflicts, please merge |
…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
Rename
Equiv.Perm.supporttoEquiv.Perm.supportFinset, along with 113 related declarations. Each rename keeps a deprecated alias. Lemmas about theSet{x | f x ≠ x}(set_support_*) keep their names for now.Part of the
Equiv.Perm.supportrefactor discussed on Zulip.This is just a rename, to free the name
Equiv.Perm.supportfor aSet-valued definition, which needs noFintypeorDecidableEqassumptions. 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.
Mathlib.GroupTheory.Perm.Support#46428IsSwapandPermpow-apply lemmas toAlgebra/Group/End#46119