Example. Application of rule induction [0173]

We recall the formal language over \Sigma ={\mathopen {}\left \{a,b\right \}\mathclose {}} presented in Example [016Y] by the following rule set \mathcal {R}:

\displaystyle \frac {\displaystyle }{\displaystyle \quad \epsilon \quad } \quad \displaystyle \frac {\displaystyle u}{\displaystyle \quad aub\quad } \quad \displaystyle \frac {\displaystyle u}{\displaystyle \quad bua\quad } \quad \displaystyle \frac {\displaystyle u\quad v}{\displaystyle \quad uv\quad }

For any string u\in {\mathopen {}\left \{a,b\right \}\mathclose {}}^\star , let P(u) be the property that u contains the same number of a and b symbols. Then for all u\in \Sigma ^\star _{\mathcal {R}}, we have P(u).