Theorems · Theorem · logic and foundations
Turing.ToPartrec.stepNormal.eq_def
∀ (x : Turing.ToPartrec.Code),
Turing.ToPartrec.stepNormal x =
match (motive := Turing.ToPartrec.Code → Turing.ToPartrec.Cont → List ℕ → Turing.ToPartrec.Cfg) x with
| Turing.ToPartrec.Code.zero' => fun k v => Turing.ToPartrec.Cfg.ret k (0 :: v)
| Turing.ToPartrec.Code.succ => fun k v => Turing.ToPartrec.Cfg.ret k [v.headI.succ]
| Turing.ToPartrec.Code.tail => fun k v => Turing.ToPartrec.Cfg.ret k v.tail
| f.cons fs => fun k v => Turing.ToPartrec.stepNormal f (Turing.ToPartrec.Cont.cons₁ fs v k) v
| f.comp g => fun k v => Turing.ToPartrec.stepNormal g (Turing.ToPartrec.Cont.comp f k) v
| f.case g => fun k v =>
Nat.rec (Turing.ToPartrec.stepNormal f k v.tail) (fun y x => Turing.ToPartrec.stepNormal g k (y :: v.tail))
v.headI
| f.fix => fun k v => Turing.ToPartrec.stepNormal f (Turing.ToPartrec.Cont.fix f k) v- Cited by
- 0 results in Mathlib
- Foundations
- Depth 8 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- 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.Cfgstatement and proof · cited by 20
- Turing.ToPartrec.stepNormalstatement and proof · cited by 13
- Turing.ToPartrec.Code.brecOn.goproof · cited by 5
- Turing.ToPartrec.Code.belowproof · cited by 5
- Turing.ToPartrec.Code.brecOn.eqproof · cited by 4
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.