
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 sets \(A=\{a+2, (a+1)^{2}, a^{2}+3a+3\}\) and \(B=\{a+b, 1, a-b+5\}\). If \(A = B\), find the values of real numbers \(a\) and \(b\).

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