L ={ $a^{m^n}$ | $m$>$n$ }
I am bit confuse whether to consider this language as L = $(a^{m})^{n}$ OR L = $a^{\left(m^n\right)}$.
If it is considered as L = $(a^m)^{n}$ then want to check it is Regular or not by Pumping Lemma.
I tried by following way.
$m$ > $n$ so we can take $m's$ value as $n+1$.
So $L$ = $(a^{n+1})^{n}$
Let n be the Pumping Lemma Constant.
Then by pumping Lemma $u$$v^{i}$$w$ in $L$ for every $i$ $>=$ $0$.
$1<= |v| <= n$
$uv <= n$.
So here $u$ = $(a^{n+1})^{n-1}$
$v$ = $(a^{n+1})^{i}$ and
w = $\epsilon$
By taking $i = 2$ ,
I am getting string as $(a^{n+1})^{n+1}$Which is not possible. Because it means $m=n$.
So above string is not Regular.
But different solutions giving different answers. So confused whether it is Regular or not. And is there any problem in my solution ?
(a^(n+1)) ^(n-1)
is to be written$(a^{n+1})^{n-1}$
, which then prints as $(a^{n+1})^{n-1}$ (and is equal to $a^{n^2-1}$). - - - Maybe you can edit your question to improve notation. $\endgroup$