Commit d910a95
authored
feat: add List.perm_ext_iff_of_nodup (#14211)
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`.1 parent c81da09 commit d910a95
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
475 | 485 | | |
476 | 486 | | |
477 | 487 | | |
| |||
0 commit comments