Skip to content

feat: add List.perm_ext_iff_of_nodup#14211

Merged
kim-em merged 1 commit into
leanprover:masterfrom
kim-em:upstream-perm-ext-nodup
Jun 30, 2026
Merged

feat: add List.perm_ext_iff_of_nodup#14211
kim-em merged 1 commit into
leanprover:masterfrom
kim-em:upstream-perm-ext-nodup

Conversation

@kim-em

@kim-em kim-em commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

This PR adds List.perm_ext_iff_of_nodup: two duplicate-free lists are permutations of each other if and only if they have the same elements. This is currently only available in Batteries (where it is proved via Subperm); here it is proved directly from perm_iff_count.

@kim-em kim-em force-pushed the upstream-perm-ext-nodup branch from 875e6dd to 5af4b94 Compare June 29, 2026 06:05
@github-actions github-actions Bot added toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN labels Jun 29, 2026
@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label Jun 29, 2026
@leanprover-bot

leanprover-bot commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

@jt0202

jt0202 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

A similar lemma is also proven in #11363

@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label Jun 29, 2026
@mathlib-lean-pr-testing

mathlib-lean-pr-testing Bot commented Jun 29, 2026

Copy link
Copy Markdown

Mathlib CI status (docs):

kim-em added a commit to leanprover-community/batteries that referenced this pull request Jun 29, 2026
@kim-em kim-em marked this pull request as ready for review June 29, 2026 07:56
@kim-em kim-em enabled auto-merge June 29, 2026 07:56
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels Jun 29, 2026
@kim-em kim-em added the changelog-library Library label Jun 30, 2026
@kim-em kim-em added this pull request to the merge queue Jun 30, 2026
Merged via the queue into leanprover:master with commit d910a95 Jun 30, 2026
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR builds-mathlib CI has verified that Mathlib builds against this PR changelog-library Library mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants