This PR provides lemmas about the tree map functions `foldlM`, `foldl`, `foldrM` and `foldr` and their interactions with other functions for which lemmas already exist. Additionally, it generalizes the `fold*`/`keys` lemmas to arbitrary tree maps, which were previously stated only for the `DTreeMap α Unit` case. A later PR will make the hash map functions `fold` and `revFold` internal and also update their signature to conform to the tree map and list API. This is out of scope for this PR. --------- Co-authored-by: Paul Reichert <6992158+datokrat@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| AssocList | ||
| Defs.lean | ||
| HashesTo.lean | ||
| Index.lean | ||
| Model.lean | ||
| Raw.lean | ||
| RawLemmas.lean | ||
| WF.lean | ||