I saw this result used in a paper, but wasn't able to find a proof or reference for it:
Given an NFA with $n$ states and two paths $i\xrightarrow{u}q$ and $i\xrightarrow{u}q'$, with $|u|>n^2$, one can factorize the paths into
$$i\xrightarrow{u_1}p\xrightarrow{u_2}p\xrightarrow{u_3}q$$ and $$i\xrightarrow{u_1}p'\xrightarrow{u_2}p'\xrightarrow{u_3}q'$$
with $u=u_1u_2u_3$ and $|u_2|>0$.
I understand that each path has more than $(n-1)n=n^2-n$ cycles, but why must both have a cycle such that the inputs are the same?