Given $\ L= \{<M> \mid \forall w \in \Sigma^*, \text{ while } M \text{ runs on } w, \text{ it makes at least } |w|^5 \text{ steps right and then accepts.}\}$
Intuitively this language is similar to $\ L= \{ <M> \mid L(M)=\Sigma^*\}$ and therefore $L\notin RE$ and $L\notin coRE$, but how should I define the reduction formally to prove it?
Let $\overline{HP} = \{\langle A,x \rangle :$ A is a TM that does not halt on x $\}$
Loop = "On input (A, x)
$\qquad\qquad$1) M = "On input w
$\qquad\qquad\qquad\qquad$10) simulate A on x for |w| steps
$\qquad\qquad\qquad\qquad$20) if A halts on x in |w| steps
$\qquad\qquad\qquad\qquad$30)$\quad$ reject
$\qquad\qquad\qquad\qquad$40) else
$\qquad\qquad\qquad\qquad$50)$\quad$ move right for $|w|^5$ steps
$\qquad\qquad\qquad\qquad$60)$\quad$ accept
$\qquad\qquad$2) if R(M) accepts
$\qquad\qquad$3)$\quad$ accept
$\qquad\qquad$4) else
$\qquad\qquad$5)$\quad$ reject
A loops on x ⇐⇒ M accepts all strings after making at least $|w|^5$ steps right
If R recognizes L then Loop recognizes $\overline{HP}$
Since $\overline{HP}$ is not RE, L is not RE.
The complement of L is $\overline{L} = \{\langle M \rangle :$ there exists w that M accepts after less than |w|^5 steps $\}$
The reduction is similar to L but you remove line 50.