
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=\{1,2,x\}$, we call the set $M$, where $1$, $2$, $x$ are elements of set $M$. The elements in the set have definiteness (such as $x$ must exist), distinctiveness (such as $x\neq 1, x\neq 2$), and unorderedness (i.e., changing the order of elements does not change the set). If set $N=\{x,1,2\}$, we say $M=N$. It is known that set $A=\{2,0,x\}$, set $B=\{\frac{1}{x},|x|,\frac{y}{x}\}$, and if $A=B$, then the value of $x-y$ is ______.

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