Error in 8.0s

Runtime

Time bar (total: 8.0s)Debug logProfile

start129.0ms

Algorithm
intervals

setup14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (expm1 x) x)

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
1 → 16
Calls

1 calls. Slowest were:

5.0ms
(/ (expm1 x) x)

series35.0ms

Counts
1 → 3
Calls

1 calls. Slowest were:

35.0ms
(/ (expm1 x) x)

simplify174.0ms

Counts
6 → 19
Calls

6 calls. Slowest were:

104.0ms
(* -1 (/ (- 1 (exp x)) x))
60.0ms
(+ (* 1/2 x) (+ (* 1/6 (pow x 2)) 1))
7.0ms
(/ (- (exp x) 1) x)

prune131.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x 1/6 1/2)
0.0b
(fma x (fma x 1/6 1/2) 1)

rewrite1.0ms

Algorithm
rewrite-expression-head
Counts
2 → 20
Calls

2 calls. Slowest were:

0.0ms
(fma x 1/6 1/2)
0.0ms
(fma x (fma x 1/6 1/2) 1)

series42.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

24.0ms
(fma x 1/6 1/2)
18.0ms
(fma x (fma x 1/6 1/2) 1)

simplify185.0ms

Counts
6 → 26
Calls

6 calls. Slowest were:

73.0ms
(+ (* 1/2 x) (+ (* 1/6 (pow x 2)) 1))
51.0ms
(+ (* 1/2 x) (+ (* 1/6 (pow x 2)) 1))
49.0ms
(+ (* 1/2 x) (+ (* 1/6 (pow x 2)) 1))

prune290.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

3.0b
(- (/ (exp x) x) (/ 1 x))
0.0b
(/ (exp x) x)

rewrite18.0ms

Algorithm
rewrite-expression-head
Counts
2 → 56
Calls

2 calls. Slowest were:

12.0ms
(- (/ (exp x) x) (/ 1 x))
5.0ms
(/ (exp x) x)

series57.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

34.0ms
(- (/ (exp x) x) (/ 1 x))
23.0ms
(/ (exp x) x)

simplify1.3s

Counts
55 → 62
Calls

55 calls. Slowest were:

144.0ms
(* -1 (/ (- 1 (exp x)) x))
76.0ms
(fma (exp x) (/ 1 x) (- (* (cbrt (/ 1 x)) (* (cbrt (/ 1 x)) (cbrt (/ 1 x))))))
68.0ms
(fma (exp x) (/ 1 x) (- (* (sqrt (/ 1 x)) (sqrt (/ 1 x)))))

prune451.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes19.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +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.008375 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