Skip to main content

Myhill-Nerode Theorem

Myhill-Nerode Theorem

In the theory of formal languages, the Myhill-Nerode theorem provides a necessary and sufficient condition for a language to be regular. The theorem is named for John Myhill and Anil Nerode, WHO established it at the University of Chicago in 1958(Nerode 1958).


Statement of the Myhill-Nerode Theorem

Given a language L and a combination of strings x and y, define a characteristic extension to be a string two such specifically one in all the 2 strings xz and yz belong to L. Define a relation RL on strings by the rule that x RL y if there is no distinguishing extension for x and y. It is easy to show that RL is an equivalence relation on strings, and thus it divides the set of all strings into equivalence classes.

The Myhill-Nerode theorem states that L is regular if and only if RL has a finite number of equivalence classes, and moreover that the number of states in the smallest deterministic finite automaton (DFA) recognizing L is equal to the number of equivalence classes in RL. In particular, this implies that there is a unique minimal DFA with a minimum number of states (Hopcroft& Ullman l979).


Myhill-Nerode Theorem Proof

if L is a regular language, then by definition, there is a DFAA that recognizes it. with only finitely many states. If there are n states, then partition the set of all finite strings into n subsets. where subset S, is the set of strings that. when given as input to automaton A, cause it to end in state i. For every two strings, x and y that belong to the same subset, and for every choice of a third-string z automaton A reaches the same state on input xz as it reaches on input yz, and therefore must either accept both of the inputs x: and yz or reject both of them. Therefore, no string Z can be a distinguishing extension for x and y, so they must be related by RL. 

Thus, S is a subset of an equivalence class of RL. Combining this fact with the fact that every member of one of these equivalence classes belongs to one of the sets Si this gives a many-to-one relation from states of A to equivalence classes, implying that the number of equivalence classes is finite and at most M.

In the other direction, suppose that RL has finitely many equivalence classes. In this case. it is possible to design a deterministic finite automaton that has one state for each equivalenĂ©e class. The start state of the automaton corresponds to the equivalence. class containing the empty string, and the transition function from a state X on input symbol y takes the automaton to a new state, the state corresponding to the equivalence class containing string by, where x is an arbitrarily chosen string in the equivalence class for X. 

The definition of the MyhillNerode relation implies that the transition function is Well defined: no matter which representative string x is chosen for state X, the same transition function value will result. A state of this automaton is accepting if the corresponding equivalence class contains a string in L; in this case, again, the definition of the relationship implies that all strings in the same equivalence class must also belong to L, for otherwise, the empty string would be a distinguishing string for some pairs of strings in the class.

Thus, the existence of a finite automaton recognizing L implies that the Myhill-Nerode relation has a finite number of equivalence classes, at most equal to the number of states of the automaton, and the existence of a finite number of equivalence classes implies the existence of an automaton with that many states.

Popular posts from this blog

RS Aggarwal Aptitude Book PDF Free Download

RS Aggarwal Aptitude Book PDF Free Download RS Agarwal Aptitude Book PDF Free Download: Quantitative Aptitude by R.S Aggarwal is a standout amongst the most inclining books among the hopefuls getting ready for Bank PO, PO, MBA, RBI, IBPS, CAT, SSC, IAS, PSC, Hotel Management, Railway Recruitment Exams, and other aggressive and placement tests. This book is suggested by different specialists in this field. This book covers relatively every theme which is being requested for the focused exams. On the off chance that you are looking to Download RS Aggarwal Quantitative Aptitude PDF's most recent version with the expectation of complimentary then you appear to be at the correct place.    Download PDF  RS Agarwal Aptitude Book PDF Free Download This book covers Problems on Surds and Indices, Simplification, Numbers and Ages, Pipes and Cisterns, Boats and Streams, Problems on Trains, Simple and Compound Interests, Time and Work, Permutations and Combination, Clocks, Odd Man Out, Heights

Limitations of Terzaghi Theory

Limitations of Terzaghi Theory The value of the coefficient of consolidation has been assumed to be constant.  The distance d of the drainage path cannot be measured accurately in the field. The thickness of the deposit is generally variable, and an average value has to be estimated.  There is sometimes difficulty 1n locating the drainage face, and sometimes thin previous seams that can act as good drainage faces are missed in the boring operations. The equation is based on the assumption that the consolidation is one-dimensional. In the field, the consolidation is generally 3-dimensional. The lateral drainage may have a significant effect on the time rate of consolidation. The initial consolidation and secondary consolidation have been neglected. Sometimes these form an important part of the total consolidation. In actual practice, the pressure distribution may be far from linear or uniform.

Types Of Current Collector

Current Collector A current collector is a device used to collect electrical current from a moving conductor, such as a train or a trolley. It is typically used in electric vehicles, such as trains and trams, to transfer power from an overhead power source to the vehicle's electric motor. The current collector consists of a sliding contact, which is often made of carbon or copper, that makes contact with an overhead power source, such as an overhead catenary wire or a third rail. The sliding contact is mounted on the vehicle and is typically in the form of a pantograph or a trolley pole. The pantograph is a device with a metal frame and a spring-loaded arm that presses against the overhead power source. It is raised and lowered by the operator of the vehicle, and as it moves along the overhead power source it maintains contact and collects the electrical current. The trolley pole is a vertical pole that is mounted on the roof of the vehicle and has a horizontal arm that extends out