<div id="comment:0"></div> Debian unstable (either downloaded directly or from the Debian repositories), running 8.1. Trying to multiply (1+exp(i*pi/4))*exp(i*pi/4) does not terminate (in a reasonable amount of time) exp(i*pi/4)+exp(i*pi/4)*exp(i*pi/4) on the other hand, resolves fine. Sorry if this is a duplicate bug. Depends on #24838 Depends on #25251 CC: @rwst Component: **algebra** Keywords: **days94** Author: **Ralf Stephan** Branch/Commit: **[`8b25b1c`](https://github.com/sagemath/sagetrac-mirror/commit/8b25b1c5f7e1ec2587afc752d98b4beefea16f64)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/25252_