Formal Language (3C)

Formal Language (3C)

Formal Language (3C) ● Recursively Enumerable Language Young Won Lim 6/9/18 Copyright (c) 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to [email protected]. This document was produced by using LibreOffice and Octave. Young Won Lim 6/9/18 Recursive Enumerable Language There are three equivalent definitions of a recursively enumerable language: A recursively enumerable language is a recursively enumerable subset in the set of all possible words over the alphabet of the language. https://en.wikipedia.org/wiki/Context-free_language Young Won Lim Recursively Language (3C) 3 6/9/18 Recursive Enumerable Language A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) which will enumerate all valid strings of the language. Note that if the language is infinite, the enumerating algorithm provided can be chosen so that it avoids repetitions, since we can test whether the string produced for number n is "already" produced for a number which is less than n. If it already is produced, use the output for input n+1 instead (recursively), but again, test whether it is "new". https://en.wikipedia.org/wiki/Context-free_language Young Won Lim Recursively Language (3C) 4 6/9/18 Recursive Enumerable Language A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) that will halt and accept when presented with any string in the language as input but may either halt and reject or loop forever when presented with a string not in the language. Contrast this to recursive languages, which require that the Turing machine halts in all cases. All regular, context-free, context-sensitive and recursive languages are recursively enumerable. https://en.wikipedia.org/wiki/Context-free_language Young Won Lim Recursively Language (3C) 5 6/9/18 Recursive Enumerable Language Example The halting problem is recursively enumerable but not recursive. Indeed one can run the Turing Machine and accept if the machine halts, hence it is recursively enumerable. On the other hand the problem is undecidable. Some other recursively enumerable languages that are not recursive include: Post correspondence problem Mortality (computability theory) Entscheidungsproblem https://en.wikipedia.org/wiki/Context-free_language Young Won Lim Recursively Language (3C) 6 6/9/18 References [1] http://en.wikipedia.org/ [2] Young Won Lim 6/9/18.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 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