The Turing Model of Computation
5DV037 — Fundamentals of Computer Science Ume˚ a University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner
The Turing Model of Computation 20101014 Slide 1 of 28
The Turing Model of Computation 5DV037 Fundamentals of Computer - - PowerPoint PPT Presentation
The Turing Model of Computation 5DV037 Fundamentals of Computer Science Ume a University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner The Turing Model of Computation 20101014 Slide 1
The Turing Model of Computation 20101014 Slide 1 of 28
The Turing Model of Computation 20101014 Slide 2 of 28
The Turing Model of Computation 20101014 Slide 3 of 28
The Turing Model of Computation 20101014 Slide 4 of 28
The Turing Model of Computation 20101014 Slide 5 of 28
The Turing Model of Computation 20101014 Slide 6 of 28
The Turing Model of Computation 20101014 Slide 7 of 28
M is defined in a natural way.
M q′, a1 . . . am−1, am, a′b1 . . . bn iff
M q′, a1 . . . ama′, b1, b2 . . . bn iff
M q′, a1 . . . am, a′, b1 . . . bn iff
M q′, λ,
k, a′b1 . . . bn iff δ(q, a) = (q′, a′, L).M q′, a1 . . . ama′,
k, λ iff δ(q, a) = (q′, a′, R).∗
M is defined to be the reflexive and transitive closure of ⊢ M.
M and ⊢
∗
M are partial functions. The Turing Model of Computation 20101014 Slide 8 of 28
M : IDM → IDM with ˆ
M(D) = D′ iff
∗
M D′, and
M(D) is undefined iff the computation starting with
The Turing Model of Computation 20101014 Slide 9 of 28
M(IM, α) is defined, and
M(IM, α) = q, β1, b, β2 for some q ∈ F.
k k k k k k k k k a1 a2The Turing Model of Computation 20101014 Slide 10 of 28
The Turing Model of Computation 20101014 Slide 11 of 28
The Turing Model of Computation 20101014 Slide 12 of 28
The Turing Model of Computation 20101014 Slide 13 of 28
The Turing Model of Computation 20101014 Slide 14 of 28
The Turing Model of Computation 20101014 Slide 14 of 28
The Turing Model of Computation 20101014 Slide 15 of 28
The Turing Model of Computation 20101014 Slide 15 of 28
M
The Turing Model of Computation 20101014 Slide 16 of 28
The Turing Model of Computation 20101014 Slide 17 of 28
The Turing Model of Computation 20101014 Slide 18 of 28
The Turing Model of Computation 20101014 Slide 19 of 28
The Turing Model of Computation 20101014 Slide 20 of 28
M and its transitive closure ⊢ M are defined as in the
The Turing Model of Computation 20101014 Slide 21 of 28
M : IDM → 2IDM with
M(D) = {D′ ∈ IDM | D ⊢ ∗
M D′ and D’ is a halt configuration for M}.
M(IM, α) contains an accepting configuration }.
The Turing Model of Computation 20101014 Slide 22 of 28
M D1 ⊢ M D2 . . . ⊢ M Dk
The Turing Model of Computation 20101014 Slide 23 of 28
The Turing Model of Computation 20101014 Slide 24 of 28
The Turing Model of Computation 20101014 Slide 25 of 28
The Turing Model of Computation 20101014 Slide 26 of 28
The Turing Model of Computation 20101014 Slide 27 of 28
The Turing Model of Computation 20101014 Slide 28 of 28