math.exp on complex, real part

Specification

?
\[\begin{array}{l} \\ e^{re} \cdot \cos im \end{array} \]
(FPCore (re im) :precision binary64 (* (exp re) (cos im)))
double code(double re, double im) {
	return exp(re) * cos(im);
}
real(8) function code(re, im)
    real(8), intent (in) :: re
    real(8), intent (in) :: im
    code = exp(re) * cos(im)
end function
public static double code(double re, double im) {
	return Math.exp(re) * Math.cos(im);
}
def code(re, im):
	return math.exp(re) * math.cos(im)
function code(re, im)
	return Float64(exp(re) * cos(im))
end
function tmp = code(re, im)
	tmp = exp(re) * cos(im);
end
code[re_, im_] := N[(N[Exp[re], $MachinePrecision] * N[Cos[im], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
e^{re} \cdot \cos im
\end{array}

Reproduce

?
herbie shell --seed 2024257 
(FPCore (re im)
  :name "math.exp on complex, real part"
  :precision binary64
  (* (exp re) (cos im)))

Please file a bug report with this information.

Backtrace

first: contract violation expected: (and/c list? (not/c empty?)) given: #fLC
run-egg/home/nightlies/herbie/eclass-test-rev/src/core/egg-herbie.rkt11790
simplify-batch/home/nightlies/herbie/eclass-test-rev/src/core/simplify.rkt210
(unnamed)/usr/local/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
final-simplify!/home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt3620
extract!/home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt770
run-improve!/home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt430
get-alternatives/report/home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt1870
(unnamed)/home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt2836
(unnamed)/usr/local/racket/share/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/local/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/usr/local/racket/collects/racket/engine.rkt4224