This PR adds several useful lemmas for `List`, `Array` and `Vector` whenever they were missing, improving API coverage and consistency among these types. - `size_singleton`/`sum_singleton`/`sum_push` - `foldlM_toArray`/`foldlM_toList`/`foldl_toArray`/`foldl_toList`/`foldrM_toArray`/`foldrM_toList`/`foldr_toList` - `toArray_toList` - `foldl_eq_apply_foldr`/`foldr_eq_apply_foldl`, `foldr_eq_foldl`: relates `foldl` and `foldr` for associative operations with identity - `sum_eq_foldl`: relates sum to `foldl` for associative operations with identity - `Perm.pairwise_iff`/`Perm.pairwise`: pairwise properties are preserved under permutations of arrays |
||
|---|---|---|
| .. | ||
| bench | ||
| bench-radar | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| CMakeLists.txt | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||