Content deleted Content added
Citation bot (talk | contribs) Add: s2cid. | Use this bot. Report bugs. | Suggested by Abductive | Category:Formal languages | #UCB_Category 51/214 |
→Right quotient: The subsection also covers left quotient, the heading now reflects this. |
||
Line 130:
:<math>\pi_\Sigma (L)=\{\pi_\Sigma(s)\ \vert\ s\in L \}</math>{{citation needed|date=August 2017}}
==Right and left quotient==
The '''right quotient''' of a character ''a'' from a string ''s'' is the truncation of the character ''a'' in the string ''s'', from the right hand side. It is denoted as <math>s/a</math>. If the string does not have ''a'' on the right hand side, the result is the empty string. Thus:
<!---This definition deviates from Hopcroft.Ullman.1979, as remarked below. I guess the former doesn't have widespread use, if it has a source at all.--->
Line 147:
:<math>S/a=\{s\in M\ \vert\ sa\in S\}</math>
'''Left quotients''' may be defined similarly, with operations taking place on the left of a string.{{citation needed|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 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>
|