
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 functions $f(x)=\sin x$ and $g(x)=mx-\frac{x^{3}}{6}$ (where $m$ is a real number).

(1) Find the equation of the tangent line to the curve $y=f(x)$ at the point $P\left(\frac{\pi}{4},f\left(\frac{\pi}{4}\right)\right)$;

(2) Find the interval(s) where the function $g(x)$ is strictly decreasing.

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