Proposition (equivalence of context-free grammar and parse tree)
Let $G = (Σ, V, P, S)$ be a context-free grammar.
$w\in \mathcal{L}(G)$ iff there exists a $G$-parse tree $\mathbf{T}$ starting from $S$ such that $w = σ_\v T$.
Let $G = (Σ, V, P, S)$ be a context-free grammar.
$w\in \mathcal{L}(G)$ iff there exists a $G$-parse tree $\mathbf{T}$ starting from $S$ such that $w = σ_\v T$.