
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 proposition p: The graph of the function $y=x^2+mx+1$ does not intersect the x-axis, and proposition q: "The foci of the ellipse $\frac{x^2}{2} + \frac{y^2}{m} = 1$ are on the y-axis." If either p or q is true, but both p and q cannot be true simultaneously, find the range of values for m.

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