Error in 6.4s

Runtime

Time bar (total: 6.4s)Debug log

start124.0ms

Algorithm
intervals

setup15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (expm1 x) x)
0.0b
(expm1 x)

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
2 → 26
Calls

2 calls. Slowest were:

3.0ms
(/ (expm1 x) x)
0.0ms
(expm1 x)

series52.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

38.0ms
(/ (expm1 x) x)
14.0ms
(expm1 x)

simplify354.0ms

Counts
9 → 32
Calls

9 calls. Slowest were:

198.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
84.0ms
(* -1 (/ (- 1 (exp x)) x))
49.0ms
(+ (* 1/2 x) (+ (* 1/6 (pow x 2)) 1))

prune204.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (expm1 x))
0.0b
(expm1 x)
0.0b
(/ 1 (/ x (expm1 x)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
3 → 45
Calls

3 calls. Slowest were:

2.0ms
(/ 1 (/ x (expm1 x)))
1.0ms
(/ x (expm1 x))
0.0ms
(expm1 x)

series91.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

46.0ms
(/ x (expm1 x))
24.0ms
(/ 1 (/ x (expm1 x)))
21.0ms
(expm1 x)

simplify472.0ms

Counts
18 → 54
Calls

18 calls. Slowest were:

188.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
98.0ms
(* -1 (/ (- 1 (exp x)) x))
68.0ms
(- (+ (* 1/12 (pow x 2)) 1) (* 1/2 x))

prune392.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes36.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
  :name "Kahan's exp quotient"

  :herbie-target
  (if (and (< x 1) (> x -1)) (/ (- (exp x) 1) (log (exp x))) (/ (- (exp x) 1) x))

  (/ (- (exp x) 1) x))

Backtrace

partition: contract violation expected: list? given: 0.017365601562950722 argument position: 2nd other arguments...: #<procedure:ordinary-value?>LC
partition/home/p92/racket/collects/racket/list.rkt5550
errors-score/data/pavpan/nightlies/herbie/develop/src/points.rkt3220
for-loop/data/pavpan/nightlies/herbie/develop/src/sandbox.rkt7512
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128