[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Automata theory - An ez way to see if a Language is regular?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 2

File: arturia10.jpg (235KB, 525x849px) Image search: [Google]
arturia10.jpg
235KB, 525x849px
Given some language L, what would be an ez life hack way of finding if its regular or not without using the pumping lemma.

This is mainly in the context of a mid term exam, my prof said theres going to be some yes/no circle questions to answer whether a language is regular or not.

For instance, its not at all obvious to anyone hearing for the first time that L = {w | w contains same # of occurences of 01's and 10's}, but it is indeed regular unlike the old L = {a^n b^n | n >= 0 } non regular example

halp pls
>>
>>59793812
Nope, gotta use the pumping lemma.
>>
>>59793825
wtf i hate my prof now

seriously though, why would he do this, its so easy to either get stuck or not "think of a good string" or make a general mistake trying to pump 10 questions or something...
>>
>>59793876
well, don't panic. every automata theory course worth its salt will go over it. just look up a bunch of examples.
>>
File: NANI7.png (226KB, 480x433px) Image search: [Google]
NANI7.png
226KB, 480x433px
>>59793921
>well don't panic
test is literally 30% of final grade, dont know how many questions there will be but I guess not many so every mark is potentially 1% of my final grade acquired or gone ;-;
>>
>>59793812
pumping lema is the general way to verify if a language is regular
there are other easier ways to check for some languages, for example all finite languages are regular, or trying to write a regular expression for it
Thread posts: 6
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.