[英]Is this grammar {a^n b^2n | n >= 0} regular or not?
I don't understand the pumping lemma for this statment, can someone help me? 我不明白这份陈述的艰巨性,有人可以帮我吗?
{a^nb^2n | {a ^ nb ^ 2n | n >= 0}
n> = 0}
This is regular or not? 这是正常的吗? If yes why, if no why?
如果是,为什么,如果不是,为什么?
Thanks to everybody!! 谢谢大家!
Language is not regular if the value of n is changed the number of states in DFA will also change.In the definition of DFA to accept regular language, the set of states is a finite set. 如果更改n的值,语言就不是常规语言。DFA中的状态数也会发生变化。在接受常规语言的DFA定义中,状态集是有限集。 Of course the other way to prove it as non regular ,use pumping lemma for regular languages.
当然,另一种证明它为非常规语言的方法是对常规语言使用抽水引理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.