lean4-htt/src/Init/Data/Iterators
Paul Reichert 7cd6b78a9c
feat: Std.Iter.isEmpty (#12212)
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.
2026-01-31 16:18:35 +00:00
..
Combinators feat: make FinitenessRelation part of the public API (#11789) 2025-12-29 20:45:41 +00:00
Consumers feat: Std.Iter.isEmpty (#12212) 2026-01-31 16:18:35 +00:00
Internal feat: Std.Iter.first? (#12162) 2026-01-27 12:10:16 +00:00
Lemmas feat: Std.Iter.isEmpty (#12212) 2026-01-31 16:18:35 +00:00
Producers feat: make FinitenessRelation part of the public API (#11789) 2025-12-29 20:45:41 +00:00
Basic.lean refactor: remove last appearances of allowNontermination (#12211) 2026-01-29 07:22:19 +00:00
Combinators.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
Consumers.lean feat: remove Finite conditions from iterator consumers relying on a new fixpoint combinator (#11038) 2025-12-08 16:03:22 +00:00
Internal.lean feat: make FinitenessRelation part of the public API (#11789) 2025-12-29 20:45:41 +00:00
Lemmas.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
PostconditionMonad.lean style: fix typos in Init/ and Std/ docstrings (#11864) 2026-01-09 07:24:07 +00:00
Producers.lean feat: List slices (#11019) 2025-11-14 11:33:25 +00:00
ToIterator.lean refactor: move Iter and others from Std.Iterators to Std (#11446) 2025-12-15 08:24:12 +00:00