- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello! (Wave)
According to the notes of computability theory:
Regular grammars
$\text{ Grammar }: \Gamma$
$$L(\Gamma)=\text{" the language that is produced by the grammar } \Gamma \text{ " }= \{ w \in \Sigma^{\ast} | \text{ There exists a finite sequence } s= w_0, \dots, w_k, \dots, w_n=w, \text{ such that for each } k=0, \dots, n-1 \text{ there exists a grammar rule } \theta \to \theta' \text{ and } w_k \text{ is } w_k = \phi \theta \phi' \text{ and } w_{k+1}= \phi \theta' \phi'\}$$What is meant with $\phi$ and $\phi'$? Don't we have to specify it?
Also shouldn't there be a relation between $w_{k-1}$ and $\theta$ ? Or am I wrong?
According to the notes of computability theory:
Regular grammars
- Alphabet: $\Sigma=\{ \alpha, \beta, \gamma, \dots\}$
- Set of non-terminal letters (countable)=N
$S \in N$
$(N \cap \Sigma= \varnothing)$
- Grammar rules (finite): $w \to w'$, where $w,w' \in (\Sigma \cup N)^{\star}$
- Regular grammars: $S \to \alpha, S \to A, A \to \alpha B, A \to \alpha$
$\text{ Grammar }: \Gamma$
$$L(\Gamma)=\text{" the language that is produced by the grammar } \Gamma \text{ " }= \{ w \in \Sigma^{\ast} | \text{ There exists a finite sequence } s= w_0, \dots, w_k, \dots, w_n=w, \text{ such that for each } k=0, \dots, n-1 \text{ there exists a grammar rule } \theta \to \theta' \text{ and } w_k \text{ is } w_k = \phi \theta \phi' \text{ and } w_{k+1}= \phi \theta' \phi'\}$$What is meant with $\phi$ and $\phi'$? Don't we have to specify it?
Also shouldn't there be a relation between $w_{k-1}$ and $\theta$ ? Or am I wrong?