This PR completes the alignment of lemmas about monadic functions on `List/Array/Vector`. Amongst other changes, we change the simp normal form from `List.forM` to `ForM.forM`, and correct the definition of `List.flatMapM`, which previously was returning results in the incorrect order. There remain many gaps in the verification lemmas for monadic functions; this PR only makes the lemmas uniform across `List/Array/Vector`. |
||
|---|---|---|
| .. | ||
| Attach.lean | ||
| Basic.lean | ||
| Count.lean | ||
| DecidableEq.lean | ||
| Erase.lean | ||
| Lemmas.lean | ||
| Lex.lean | ||
| MapIdx.lean | ||
| Monadic.lean | ||
| OfFn.lean | ||
| Range.lean | ||
| Zip.lean | ||