(- (/ x0 (- 1 x1)) x0)

?

\[x0 = 1.855 \land x1 = 0.000209 \lor x0 = 2.985 \land x1 = 0.0186\]
\[\frac{x0}{1 - x1} - x0 \]
(FPCore (x0 x1) :precision binary64 (- (/ x0 (- 1.0 x1)) x0))
double code(double x0, double x1) {
	return (x0 / (1.0 - x1)) - x0;
}
real(8) function code(x0, x1)
    real(8), intent (in) :: x0
    real(8), intent (in) :: x1
    code = (x0 / (1.0d0 - x1)) - x0
end function
public static double code(double x0, double x1) {
	return (x0 / (1.0 - x1)) - x0;
}
def code(x0, x1):
	return (x0 / (1.0 - x1)) - x0
function code(x0, x1)
	return Float64(Float64(x0 / Float64(1.0 - x1)) - x0)
end
function tmp = code(x0, x1)
	tmp = (x0 / (1.0 - x1)) - x0;
end
code[x0_, x1_] := N[(N[(x0 / N[(1.0 - x1), $MachinePrecision]), $MachinePrecision] - x0), $MachinePrecision]
\frac{x0}{1 - x1} - x0

Reproduce?

Please include this information when filing a bug report:

herbie shell --seed 2023243 
(FPCore (x0 x1)
  :name "(- (/ x0 (- 1 x1)) x0)"
  :precision binary64
  :pre (or (and (== x0 1.855) (== x1 0.000209)) (and (== x0 2.985) (== x1 0.0186)))

  :herbie-target
  (/ (* x0 x1) (- 1.0 x1))

  (- (/ x0 (- 1.0 x1)) x0))

Backtrace

arb-==: arity mismatch; the expected number of arguments does not match the given number expected: 0 given: 2LC
f/home/nightlies/herbie/arb-support/src/programs.rkt1872
(unnamed)/home/nightlies/herbie/arb-support/src/ground-truth.rkt232
search-step/home/nightlies/herbie/arb-support/src/searchreals.rkt370
find-intervals/home/nightlies/herbie/arb-support/src/searchreals.rkt870
make-sampler/home/nightlies/herbie/arb-support/src/sampling.rkt940
sample-points/home/nightlies/herbie/arb-support/src/ground-truth.rkt640
setup-context!/home/nightlies/herbie/arb-support/src/mainloop.rkt2930
get-alternatives/report/home/nightlies/herbie/arb-support/src/sandbox.rkt1480
(unnamed)/home/nightlies/herbie/arb-support/src/sandbox.rkt2476
(unnamed)/usr/share/racket/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/share/racket/pkgs/profile-lib/main.rkt90
(unnamed)/usr/share/racket/collects/racket/engine.rkt4224