S yields 0n1n according to S 0S1 00S11 … 0nS1n 0n1n
长翅膀的规则 与 前后文无关,只管自己长, (我行我素) 比较简单,当然描述能力原比较有限
2012-7-26 10/53
Context-Free Grammars (Def.2.1) ep94
复习 补充定理 :正则语言之交正则。上次讲过。
预备引理 Ex1.39问题: { 0n1m | n,mN}=0*1*,是正则语言
Let C = { w | w中0,1 个数一样多} 求证它不是RL 反证法: Assume that C is regular Take the regular F = { 0n1m | n,mN}, then for the intersection: CF = { 0n1n | nN } But we know that CF is not regular Conclusion: C is not regular
Introduction to the Theory of Computation
特别鸣谢:唐常杰教授提供的素材及原稿
Chapter2 Context-Free Languages (CFL)
2012-7-26
1/53
(20பைடு நூலகம்7.2.24 Xing-hua park)
2012-7-26
2/53
2012-7-26
7/53
Context-Free Languages (Ch. 2)
前后文无关语言
Context-free languages allow us to describe nonregular languages like { 0n1n | n0}