
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
Find the minimum value of the function \( f(x) = \tan^2 x - 4 \tan x - 8 \cot x + 4 \cot^2 x + 5 \) on the interval \( \left( \frac{\pi}{2}, \pi \right) \).

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