Skip to content

Commit 88d1d3e

Browse files
committed
comp/language: update
1 parent 8b9ee59 commit 88d1d3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

comp/language/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1 class="title">Basic Formal Language Theory</h1>
5151
<p><strong>Example.</strong> <span class="math inline">\(\{\texttt{0}, \texttt{1}\}^8\)</span> is the language of all 8-bit binary strings.</p>
5252
<p><strong>Definition 4. (Union)</strong> The <em>union</em> of two languages <span class="math inline">\(L_1\)</span> and <span class="math inline">\(L_2\)</span> is the language <span class="math display">\[L_1 \cup L_2 = \{ w\ |\ w \in L_1 \lor w \in L_2 \}\]</span></p>
5353
<p><strong>Definition 5. (Intersection)</strong> The <em>intersection</em> of two languages <span class="math inline">\(L_1\)</span> and <span class="math inline">\(L_2\)</span> is the language <span class="math display">\[L_1 \cap L_2 = \{ w\ |\ w \in L_1 \land w \in L_2 \}\]</span></p>
54-
<p><strong>Definition 6. (Complement)</strong> The <em>complement</em> of a language <span class="math inline">\(L\)</span> over <span class="math inline">\(\Sigma\)</span> is the language <span class="math display">\[\overline{L} = \Sigma^* \setminus L\]</span></p>
54+
<p><strong>Definition 6. (Complementation)</strong> The <em>complement</em> of a language <span class="math inline">\(L\)</span> over <span class="math inline">\(\Sigma\)</span> is the language <span class="math display">\[\overline{L} = \Sigma^* \setminus L\]</span></p>
5555
<p><strong>Definition 7. (Concatenation)</strong> The <em>concatenation</em> of two languages <span class="math inline">\(L_1\)</span> and <span class="math inline">\(L_2\)</span> is the language <span class="math display">\[L_1 \circ L_2 = \{ w_1w_2\ |\ w_1 \in L_1 \land w_2 \in L_2 \}\]</span></p>
5656
<p>Additionally, we use <span class="math inline">\(L^k\)</span> to denote the language obtained by concatenating <span class="math inline">\(L\)</span> to itself <span class="math inline">\(k\)</span> times.</p>
5757
<p><strong>Definition 8. (Kleene star / Closure)</strong> The <em>Kleene star</em> or <em>closure</em> of a language <span class="math inline">\(L\)</span> is the language <span class="math display">\[L^* = \{\varepsilon\} \cup L \cup L^2 \cup L^3 \cup \cdots\]</span></p>

comp/language/src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $$L_1 \cup L_2 = \{ w\ |\ w \in L_1 \lor w \in L_2 \}$$
3333
**Definition 5. (Intersection)** The *intersection* of two languages $L_1$ and $L_2$ is the language
3434
$$L_1 \cap L_2 = \{ w\ |\ w \in L_1 \land w \in L_2 \}$$
3535

36-
**Definition 6. (Complement)** The *complement* of a language $L$ over $\Sigma$ is the language
36+
**Definition 6. (Complementation)** The *complement* of a language $L$ over $\Sigma$ is the language
3737
$$\overline{L} = \Sigma^* \setminus L$$
3838

3939
**Definition 7. (Concatenation)** The *concatenation* of two languages $L_1$ and $L_2$ is the language

0 commit comments

Comments
 (0)