This PR adds the function `Std.Iter.isEmpty` and proves the specification lemmas `Std.Iter.isEmpty_eq_match_step` and `Std.Iter.isEmpty_toList` if the iterator is productive. The monadic variant on `Std.IterM` is also provided. |
||
|---|---|---|
| .. | ||
| Combinators | ||
| Consumers | ||
| Internal | ||
| Lemmas | ||
| Producers | ||
| Basic.lean | ||
| Combinators.lean | ||
| Consumers.lean | ||
| Internal.lean | ||
| Lemmas.lean | ||
| PostconditionMonad.lean | ||
| Producers.lean | ||
| ToIterator.lean | ||