Message Boards Message Boards

Avoid crashing Mathematica while using Reduce?

GROUPS:

v. 11.1.0.0

Reduce[Arg[a] + Arg[b] == Arg[a*b], {a, b}]

Edited to add steps to reproduce: Start Mathematica from scratch, enter that input, and within a minute Mathematica beeps, and when I ask it why the beep (under the Help menu), it says the Kernel has quit. That's what I mean by "crash". For me it's normally reproducible, though on one trial it ran for a few minutes without beeping (until I gave up and cancelled.)

POSTED BY: Joe Donaldson
Answer
1 month ago

From your input, Mathematica assumes that the variables are complex. Try

Reduce[Arg[a] + Arg[b] == Arg[a*b], {a, b}, Reals]
POSTED BY: Gianluca Gorni
Answer
1 month ago

Thank you, but that would be a different query, as I was asking it about complex variables.

POSTED BY: Joe Donaldson
Answer
1 month ago

I have not replicated the crash in our current development builds but I did see some assertion failures, possibly benign, in a debugging version. Sent the example to the relevant developers so that part at least should get investigated.

POSTED BY: Daniel Lichtblau
Answer
1 month ago

Thank you.

POSTED BY: Joe Donaldson
Answer
1 month ago

Group Abstract Group Abstract