what will be kleene star "expansion" of expression $a^*b^*$ in lexicographic order? I'm confused and I really want to clear my concepts so I can proceed further


The lexicographic order is defined on words, not on regular expressions. An interesting exercise is to describe the restriction of the lexicographic order to the language $a^*b^*$, assuming that $a < b$. Note for instance that $1 < a < a^2 < \dotsm < a^n < \dotsm$, but $\dotsm <a^nb <\dotsm <a^2b < ab < b$.

| cite | improve this answer | |
  • $\begingroup$ I want an example question regarding this if you can provide me with that $\endgroup$ – Ammar Dec 1 '19 at 9:36
  • $\begingroup$ What do you mean by an "example question"? $\endgroup$ – J.-E. Pin Dec 1 '19 at 10:23
  • $\begingroup$ My bad wrong post I had multiple tabs open and posted this comment here instead of the other one $\endgroup$ – Ammar Dec 1 '19 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.