
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 two lines \\(l_{1}\\): \\(mx+2y+4=0\\) and \\(l_{2}:x+(1+m)y-2=0 \\). If \\(l_{1} \parallel l_{2}\\), then the value of \\(m\\) is \_\_\_\_\_\_, and if \\(l_{1} \perp l_{2}\\), then the value of \\(m\\) is \_\_\_\_\_\_.

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