
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 $m < 9$, consider the following two propositions:  
p: The quadratic function $y=x^2+(m-7)x+1$ has no real roots in its domain $\mathbb{R}$.  
q: The cubic function $y=-x^3+3x$ has both a maximum and a minimum value in the open interval $(m-9, 9-m)$.  
If the proposition "p or q" is true, and the proposition "p and q" is false, find the range of the real number $m$.

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