
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=(ax+2)\ln x-(x^{2}+ax-a-1)$, where $a\in\mathbb{R}$;  
(1) If the slope of the tangent line to the graph of $f(x)$ at $x=e$ is $\frac{2}{e}-2e$, find the extreme values of $f(x)$;  
(2) When $x>1$, the graph of $f(x)$ is always below the x-axis, find the range of the real number $a$.

Present the answer in LaTex format: \boxed{Your answer}
user