简体   繁体   中英

L = { a^n b^n c^m d^m : n >= 1, m >= 1 } U { a^n b^m c^m d^n : n >= 1, m >= 1 } isRegular?

there is a lot of examples for pumpinglemma proof, but I did not figure out this, can anyone help ?

L= { a^nb^nc^md^m : n >= 1, m >= 1 } U { a^nb^mc^md^n : n >= 1, m >= 1 }

Consider the regular language R = a*b*cd . The intersection of two regular languages must be a regular language. The intersection of L and R is a^nb^n cd . However, this is easily shown not to be regular using the pumping lemma or Myhill-Nerode theorem. This is a contradiction, so L must not be regular.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM