Theorems · Definition · logic and foundations
Computation.head
{α : Type u} → Computation α → Option αhead c is the first step of computation, either some a if c = pure a
or none if c = think c'.
- Defined in
- Mathlib.Data.Seq.Computation
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 9 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.
- Computationstatement and proof · cited by 182
- Stream'.headproof · cited by 43
Cited by5
Results whose statement or proof uses this declaration.
- Computation.eq_of_bisimproof · cited by 12
- Computation.of_results_bindproof · cited by 2
- Computation.head_emptystatement · cited by 0
- Computation.head_purestatement · cited by 0
- Computation.head_thinkstatement · cited by 0