Theorem (Entscheidungsproblem)

Theorem (Entscheidungsproblem)

We prove that the Entscheidungsproblem is undecidable by a reduction from the undecidability of the Halting problem for Turing machines Theorem (Entscheidungsproblem) The following decision problem is undecidable: Given: A sentence ' of rst-order logic Question: Is ' a tautology? Theorem (Entscheidungsproblem) The following decision problem is undecidable: Given: A sentence ' of rst-order logic Question: Is ' a tautology? We prove that the Entscheidungsproblem is undecidable by a reduction from the undecidability of the Halting problem for Turing machines ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); Q is a nite set of states; q0 2 Q is an initial state; qf 2 Q is a nal or accepting state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: Q is a nite set of states; q0 2 Q is an initial state; qf 2 Q is a nal or accepting state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); q0 2 Q is an initial state; qf 2 Q is a nal or accepting state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); Q is a nite set of states; qf 2 Q is a nal or accepting state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); Q is a nite set of states; q0 2 Q is an initial state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); Q is a nite set of states; q0 2 Q is an initial state; qf 2 Q is a nal or accepting state; Turing machine A Turing machine over alphabet A is a tuple M = h∆; Q; δ; q0; qf i, where: ∆ is a nite alphabet, contains A and contains symbol 62 A (blank); Q is a nite set of states; q0 2 Q is an initial state; qf 2 Q is a nal or accepting state; δ :(Q − fqf g) × ∆ ! ∆ × Q × {−1; 0; +1g is a transition function. Question: Does M halt on the empty word? We utilize the following version of the halting problem: Given: (An encoding of) a Turing machine M We utilize the following version of the halting problem: Given: (An encoding of) a Turing machine M Question: Does M halt on the empty word? # is satisable, and every model A of # contains an innite A sequence of distinct elements c = a0; a1; a2;:::, satisfying A (ai ; ai+1) 2 P for each i Let # be the conjunction of the following: 8y:P(y; c) 8x9yP(x; y) 8x8y(P(x; y) ! R(x; y)) 8x8y8z(R(x; y) ! (R(y; z) ! R(x; z))) 8x:R(x; x) Let # be the conjunction of the following: 8y:P(y; c) 8x9yP(x; y) 8x8y(P(x; y) ! R(x; y)) 8x8y8z(R(x; y) ! (R(y; z) ! R(x; z))) 8x:R(x; x) # is satisable, and every model A of # contains an innite A sequence of distinct elements c = a0; a1; a2;:::, satisfying A (ai ; ai+1) 2 P for each i It is easier to construct a sentence M such that M loops forever on " i M is satisable and take 'M to be : M Our goal a construction to turn a Turing machine M into a sentence 'M such that: M accpets " i 'M is a tautology Our goal a construction to turn a Turing machine M into a sentence 'M such that: M accpets " i 'M is a tautology It is easier to construct a sentence M such that M loops forever on " i M is satisable and take 'M to be : M Unary relation symbols Sq for all states q 2 Q; Binary relation symbols Ca for all letters a 2 ∆; Binary relatoin symbol G; constant symbol c and relation symbols P and R from # Signature: Binary relation symbols Ca for all letters a 2 ∆; Binary relatoin symbol G; constant symbol c and relation symbols P and R from # Signature: Unary relation symbols Sq for all states q 2 Q; Binary relatoin symbol G; constant symbol c and relation symbols P and R from # Signature: Unary relation symbols Sq for all states q 2 Q; Binary relation symbols Ca for all letters a 2 ∆; constant symbol c and relation symbols P and R from # Signature: Unary relation symbols Sq for all states q 2 Q; Binary relation symbols Ca for all letters a 2 ∆; Binary relatoin symbol G; Signature: Unary relation symbols Sq for all states q 2 Q; Binary relation symbols Ca for all letters a 2 ∆; Binary relatoin symbol G; constant symbol c and relation symbols P and R from # The formula Sq(x) is read: after x steps of computation the machine is in state q. The formula G(x; y) is read: after x steps of computation the head occupies position y. The formula Ca(x; y) is read: after x steps of computation symbol a is in cell y The formula G(x; y) is read: after x steps of computation the head occupies position y. The formula Ca(x; y) is read: after x steps of computation symbol a is in cell y The formula Sq(x) is read: after x steps of computation the machine is in state q. The formula Ca(x; y) is read: after x steps of computation symbol a is in cell y The formula Sq(x) is read: after x steps of computation the machine is in state q. The formula G(x; y) is read: after x steps of computation the head occupies position y. The formula Sq(x) is read: after x steps of computation the machine is in state q. The formula G(x; y) is read: after x steps of computation the head occupies position y. The formula Ca(x; y) is read: after x steps of computation symbol a is in cell y 1 # 2 Sq0 (c) ^ G(c; c) ^ 8x CB(c; x); 3 x W S x ; 8 ( q2Q q( )) 4 8x(Sq(x) !:Sp(x)), dla q; p 2 Q, q 6= p; 5 x y W C x y ; 8 8 ( a2∆ a( ; )) 6 8x8y(Ca(x; y) !:Cb(x; y)), dla a; b 2 ∆, a 6= b; 7 8x9y G(x; y); 8 8x8y8z(G(x; y) ^ G(x; z) ! y = z); 9 8x8y8z(Sq(x) ^ G(x; y) ^ Ca(x; y) ^ P(x; z) ! Sp(z) ^ Cb(z; y)), for δ(q; a) = (p; b; i); 10 8x8y8z(:G(x; y) ^ Ca(x; y) ^ P(x; z) ! Ca(z; y)); 11 8x8y8z8v(Sq(x) ^ G(x; y) ^ Ca(x; y) ^ P(x; z) ^ P(y; v) ! G(z; v)), for δ(q; a) = (p; b; +1); 12 8x8y8z(Sq(x) ^ G(x; y) ^ Ca(x; y) ^ P(x; z) ^ Ca(x; y) ! G(z; y)), for δ(q; a) = (p; b; 0); 13 8x8y8z8v(y 6= c ! (Sq(x) ^ G(x; y) ^ Ca(x; y) ^ P(x; z) ^ P(v; y) ! G(z; v))), for δ(q; a) = (p; b; −1); 14 8x8y8z8v(Sq(x) ^ G(x; c) ^ Ca(x; y) ^ P(x; z) ! G(z; c)), for δ(q; a) = (p; b; −1); 15 x S x . 8 : qf ( ).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    25 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us