Header Ads

  • Highlights

    👩🏻‍💻 Hello Readers 🧑🏻‍💻!!! Would you like to Explore more ? Hit on ⓘ(Ads)... ✨🌹

    What is Rice theorem?

    According to Rice's theorem Undecidability is not an exception it is the rule followed by unrestricted grammar. It states that any nontrivial property of a recursively enumerable language is undecidable.

    Rice Theorem :

    The Rice theorem states the following.

    Let P be a non-trivial property of Turing recognizable languages. The problem "does L(M) has the property P?" is undecidable.

    In other words, it can be said that ‘any non-trivial property about the language recognized by a Turing machine is undecidable.’

    Before discussing the theorem, we need to discuss two important definitions, namely ‘property’ , ‘Trivial’ and ‘non-trivial property’.

    ·        Property: Let P be an arbitrary class of Turing recognizable language. P is called a property of L if L P.

    ·        Non-Trivial Property: Let P be a property of Turing recognizable language. The property P is said to be non-trivial if there exists L 1 and L2, two Turing recognizable languages such that L1 P but L2 P.

    ·        Trivial Property: A property P is called a trivial property if P is or P = L, where L is a Turing recognizable language.

    In more formal terms, let P be a language consisting of Turing machine descriptions where P fulfills two conditions.

    1.    First, P is nontrivial—it contains some, but not all, TM descriptions.

    2. Second, P is a property of the TM’s language—whenever L(M1) = L(M2), we have <M1> P iff <M2> P . Here, M1 and M2 are any TMs. Prove that P is an undecidable language.

    Here are a few more decision problems that Rice’s theorem implies are undecidable. This list is certainly not exhaustive.

    ·        (Assuming L is a recursively enumerable language):  AcceptsL: Given a TM T , is L(T ) = L?

    ·        Accepts Something: Given a TM T , is there at least one string in L(T )?

    ·        Accepts Two Or More: Given a TM T , does L(T ) have at least two elements?

    ·        Accepts Finite: Given a TM T , is L(T ) finite?

    ·        Accepts Recursive: Given a TM T , is L(T ) (which by definition is recursively enumerable) recursive?


     Also, Study about: 

    Also Read, some interview tips

    No comments

    Post Bottom Ad

    Powered by Blogger.