Theorems · Theorem · logic and foundations
Turing.ToPartrec.Cont.eval.eq_def
∀ (x : Turing.ToPartrec.Cont),
x.eval =
match x with
| Turing.ToPartrec.Cont.halt => pure
| Turing.ToPartrec.Cont.cons₁ fs as k => fun v => do
let ns ← fs.eval as
k.eval (v.headI :: ns)
| Turing.ToPartrec.Cont.cons₂ ns k => fun v => k.eval (ns.headI :: v)
| Turing.ToPartrec.Cont.comp f k => fun v => f.eval v >>= k.eval
| Turing.ToPartrec.Cont.fix f k => fun v => if v.headI = 0 then k.eval v.tail else f.fix.eval v.tail >>= k.eval- Cited by
- 0 results in Mathlib
- Foundations
- Depth 16 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Partstatement · cited by 325
- PFunstatement and proof · cited by 207
- Turing.ToPartrec.Codestatement and proof · cited by 83
- List.headIstatement and proof · cited by 42
- Turing.ToPartrec.Contstatement and proof · cited by 33
- Turing.ToPartrec.Code.evalstatement and proof · cited by 23
- Turing.ToPartrec.Cont.belowproof · cited by 6
- Turing.ToPartrec.Cont.brecOn.goproof · cited by 6
- Turing.ToPartrec.Cont.brecOn.eqproof · cited by 5
- Turing.ToPartrec.Cont.evalstatement and proof · cited by 3
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.