String operations: Difference between revisions

Content deleted Content added
m Reverted 1 edit by 42.109.204.53 (talk) to last revision by Eumolpo. (TW)
Right quotient: ce: grammar
Line 149:
Left quotients may be defined similarly, with operations taking place on the left of a string.{{cn|date=August 2017}}
 
Hopcroft and Ullman (1979) define the quotient ''L''<sub>1</sub>/''L''<sub>2</sub> of the languages ''L''<sub>1</sub> and ''L''<sub>2</sub> over the same alphabet is defined as ''L''<sub>1</sub>/''L''<sub>2</sub> = { ''s'' | ∃''t''∈''L''<sub>2</sub>. ''st''∈''L''<sub>1</sub> }.<ref>Hopcroft, Ullman (1979), Sect.3.2, p.62</ref>
This is not a generalization of the above definition, since, for a string ''s'' and distinct characters ''a'', ''b'', Hopcroft's and Ullman's definition implies {''sa''} / {''b''} yielding {}, rather than { ε }.