
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
A function is defined as $f(x)=A\sin (\omega x-\frac{\pi }{6})+1$ $(A > 0,\omega > 0)$. The minimum value of the function is $(-1)$, and the distance between two adjacent highest points on its graph is $\pi$.

(I) Find the analytical expression of the function $f(x)$;

(II) Given $a\in (0,\frac{\pi }{2})$, and $f(\frac{\alpha }{2})=2$, find the value of $\alpha$.

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