theorem
Std.Iter.unattach_eq_toIter_unattach_toIterM
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
:
theorem
Std.Iter.unattach_toList_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
@[simp]
theorem
Std.Iter.toList_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
theorem
Std.Iter.unattach_toListRev_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
@[simp]
theorem
Std.Iter.toListRev_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
@[simp]
theorem
Std.Iter.unattach_toArray_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
@[simp]
theorem
Std.Iter.toArray_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
:
@[simp]
theorem
Std.Iter.length_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
[IteratorLoop α Id Id]
[LawfulIteratorLoop α Id Id]
:
@[deprecated Std.Iter.length_attachWith (since := "2026-01-28")]
def
Std.Iter.count_attachWith
{α β : Type u_1}
{P : β → Prop}
[Iterator α Id β]
{it : Iter β}
{hP : ∀ (out : β), it.IsPlausibleIndirectOutput out → P out}
[Iterators.Finite α Id]
[IteratorLoop α Id Id]
[LawfulIteratorLoop α Id Id]
: