user10160382
user10160382

Reputation:

Drawing a DFA for L= { a^n b^n , n>0}

Could someone explain how to do this? This is homework and I'm fairly new when it comes to programming.

Upvotes: 0

Views: 2250

Answers (1)

Patrick87
Patrick87

Reputation: 28312

This is not a regular language and therefore there is no DFA which accepts it. You can prove this using the pumping lemma or the Myhill-Nerode theorem.

Upvotes: 1

Related Questions