Rust f64::atanh

Specification

?
\[\begin{array}{l} \\ \tanh^{-1} x \end{array} \]
(FPCore (x) :precision binary64 (atanh x))
double code(double x) {
	return atanh(x);
}
def code(x):
	return math.atanh(x)
function code(x)
	return atanh(x)
end
function tmp = code(x)
	tmp = atanh(x);
end
code[x_] := N[ArcTanh[x], $MachinePrecision]
\begin{array}{l}

\\
\tanh^{-1} x
\end{array}

Reproduce

?
herbie shell --seed 2024110 
(FPCore (x)
  :name "Rust f64::atanh"
  :precision binary64
  (* 0.5 (log1p (/ (* 2.0 x) (- 1.0 x)))))

Please file a bug report with this information.

Backtrace

first: contract violation expected: (and/c list? (not/c empty?)) given: '#((log1p 16))LC
regraph-prune-specs/home/nightlies/herbie/spec-rewriting/src/core/egg-herbie.rkt10370
egraph-run-schedule/home/nightlies/herbie/spec-rewriting/src/core/egg-herbie.rkt11690
run-egg/home/nightlies/herbie/spec-rewriting/src/core/egg-herbie.rkt13760
simplify-batch/home/nightlies/herbie/spec-rewriting/src/core/simplify.rkt150
(unnamed)/usr/local/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
initial-simplify/home/nightlies/herbie/spec-rewriting/src/preprocess.rkt280
find-preprocessing/home/nightlies/herbie/spec-rewriting/src/preprocess.rkt590
run-improve!/home/nightlies/herbie/spec-rewriting/src/mainloop.rkt490
get-alternatives/report/home/nightlies/herbie/spec-rewriting/src/sandbox.rkt1710
(unnamed)/home/nightlies/herbie/spec-rewriting/src/sandbox.rkt2666
(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