In the exercise where
L = { ww' | w, w' ∈ {a,b}*, |w| = |w'| and w ≠ w' },
we are asked to prove that L is not regular.
In the proof, is it sufficient to show that pumping violates only one of the two defining conditions (either |w| = |w'| or w ≠ w'), or do we need to argue that both conditions are violated after pumping?
Since it appears much easier to violate the length condition |w| = |w'| when pumping, is this reasoning correct?
