简体   繁体   中英

Is the language 0^m.0^n , 0<=m<=n regular?

0^m.0^n, . represents concatenation , ^ represents power.

0<=m<=n

My friends are arguing that any string of the form 0* can be broken down conveniently to satisfy the above relation between m and n and hence this should be regular.

While I know that is wrong, I still need to confirm. Thanks

Your friends are right, this is regular. With 0<=m you can set m=0. Now for any string 0^k you set k=n. So indeed all strings from 0^* fulfill this condition, and they forma regular language.

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