Skip to content

Conversation

@linesthatinterlace
Copy link
Contributor

@linesthatinterlace linesthatinterlace commented Nov 10, 2025

This PR adds functions which define an equivalence between the indices of a list and pairs of elements with multiplicities. We use the same functions to define maps between Fin (xs.length) and Fin (ys.length) which, which xs is a subperm of ys, are precisely the appropriate embedding. These are intended to have some practical use by linking list subperms and perms to injective/bijective maps between indices.

Depends on #1506, #1500.

@github-actions github-actions bot added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Nov 10, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Nov 10, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Nov 10, 2025

Mathlib CI status (docs):

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Nov 10, 2025
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Nov 11, 2025
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Nov 18, 2025
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Nov 24, 2025
@linesthatinterlace
Copy link
Contributor Author

I am going to start looking at this again now that the dependent PRs have merged.

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

Labels

awaiting-review This PR is ready for review; the author thinks it is ready to be merged. builds-mathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants