
<aside> ๐ก all Productions in P are $Aโx$
s.t $A \in V and x \in (V \cup T ) ^*$
์ฆ lhs๋ single variable ํ๋๋ง ์์ผ ํ๊ณ (context free: ์ฃผ๋ณ์ด์์),
rhs๋ ์๊ด ์๋ค
</aside>
*all RL is CFL
A Sequence of the productions of a CFG to infer that a certain string is in the language
Use Productions from HEAD to BODY

Recursive Inference Use productions from BODY to HEAD ์ ๊ณผ์ ์ ๋ฐ๋.
Start State์์ ์์ํ ํ์๋ ์๋ค!
double arrow: one-step derivation
์์ star: multi-step derivation (์ฌ๋ฌ๋ฒ ํ๊ฑฐ๋ฅผ ๊ทธ๋ฅ ํ๊ธฐํ๊ฑฐ)

L is context free language โ there is context-free G s.t. L = L(G)
$L(G) = \{ w \in T^* | S \overset {*}{\Rightarrow} w \}$
: start state์์ ์์ํ ๋ชจ๋ w์ ์งํฉ