
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 smallest \( a \in \mathbf{N}^{*} \) such that the following equation has real roots:
$$
\cos ^{2} \pi(a-x)-2 \cos \pi(a-x)+\cos \frac{3 \pi x}{2 a} \cdot \cos \left(\frac{\pi x}{2 a}+\frac{\pi}{3}\right)+2=0 .
$$

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