Skip to content

feat(Data/Nat/Perm): add two lemmas#37026

Open
AntoineChambert-Loir wants to merge 10 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:J-CyclicPerm
Open

feat(Data/Nat/Perm): add two lemmas#37026
AntoineChambert-Loir wants to merge 10 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:J-CyclicPerm

Conversation

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator

@AntoineChambert-Loir AntoineChambert-Loir commented Mar 23, 2026

If a finite type has at most two elements, then its permutation group is cyclic and commutative.


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 23, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 23, 2026

PR summary d291837015

Import changes exceeding 2%

% File
+24.70% Mathlib.Data.Finite.Perm

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Data.Finite.Perm 741 924 +183 (+24.70%)
Import changes for all files
Files Import difference
3 files Mathlib.GroupTheory.GroupAction.Jordan Mathlib.GroupTheory.GroupAction.MultiplePrimitivity Mathlib.GroupTheory.GroupAction.MultipleTransitivity
9
Mathlib.GroupTheory.SpecificGroups.Alternating.Centralizer Mathlib.GroupTheory.SpecificGroups.Alternating 10
Mathlib.GroupTheory.IndexNormal 62
Mathlib.Data.Finite.Perm 183

Declarations diff

+ Equiv.Perm.isCyclic_of_card_le_two
+ Equiv.Perm.isMulCommutative_of_card_le_two

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.


No changes to technical debt.

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

@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 Mar 23, 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 Mar 23, 2026
@mathlib-dependent-issues
Copy link
Copy Markdown

This PR/issue depends on:

@tb65536
Copy link
Copy Markdown
Contributor

tb65536 commented Mar 25, 2026

I think you might need to merge master?

@tb65536 tb65536 added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 25, 2026
@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 25, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants