Streams a.k.a. infinite lists a.k.a. infinite sequences #
Porting note:
This file used to be in the core library. It was moved to mathlib
and renamed to init
to avoid
name clashes.
Equations
- Stream'.instInhabited = { default := Stream'.const default }
Alias for Stream'.eta
to match List
API.
theorem
Stream'.cons_injective_left
{α : Type u}
(s : Stream' α)
:
Function.Injective fun (x : α) => cons x s
Streams s₁
and s₂
are defined to be bisimulations if
their heads are equal and tails are bisimulations.
Equations
Instances For
theorem
Stream'.eq_of_bisim
{α : Type u}
(R : Stream' α → Stream' α → Prop)
(bisim : IsBisimulation R)
{s₁ s₂ : Stream' α}
:
R s₁ s₂ → s₁ = s₂