Mathlib Map

Theorems · Definition · logic and foundations

Computation.destruct

{α : Type u} → Computation α → α ⊕ Computation α

destruct c is the destructor for Computation α as a coinductive type. It returns inl a if c = pure a and inr c' if c = think c'.

Defined in
Mathlib.Data.Seq.Computation
Cited by
37 results in Mathlib
Foundations
Depth 11 from the axioms · uses no axioms

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites2

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by43

Results whose statement or proof uses this declaration.