Error in 17.1s

Runtime

Time bar (total: 17.1s)Debug logProfile

start200.0ms

Algorithm
intervals

setup87.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.1b

localize23.0ms

Local error

Found 3 expressions with local error:

2.9b
(- (- (exp x) 2) (/ -1 (exp x)))
0.0b
(- (exp x) 2)
0.0b
(/ -1 (exp x))

rewrite31.0ms

Algorithm
rewrite-expression-head
Counts
3 → 67
Calls

3 calls. Slowest were:

27.0ms
(- (- (exp x) 2) (/ -1 (exp x)))
3.0ms
(- (exp x) 2)
0.0ms
(/ -1 (exp x))

series91.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

64.0ms
(- (- (exp x) 2) (/ -1 (exp x)))
15.0ms
(/ -1 (exp x))
12.0ms
(- (exp x) 2)

simplify2.2s

Counts
51 → 76
Calls

51 calls. Slowest were:

421.0ms
(- (* (- (pow (exp x) 3) (pow 2 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2 2) (* (exp x) 2))) -1))
174.0ms
(- (* (- (* (exp x) (exp x)) (* 2 2)) (exp x)) (* (+ (exp x) 2) -1))
125.0ms
(* (+ (* (exp x) (exp x)) (+ (* 2 2) (* (exp x) 2))) (exp x))

prune733.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))
0.0b
(fma 1/360 (pow x 6) (* x x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Counts
2 → 20
Calls

2 calls. Slowest were:

0.0ms
(fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))
0.0ms
(fma 1/360 (pow x 6) (* x x))

series86.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

61.0ms
(fma 1/360 (pow x 6) (* x x))
25.0ms
(fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))

simplify98.0ms

Counts
6 → 26
Calls

6 calls. Slowest were:

27.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))))
26.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))))
18.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))))

prune390.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

31.7b
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
2.7b
(exp (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))))
0.0b
(fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))
0.0b
(fma 1/360 (pow x 6) (* x x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 51
Calls

4 calls. Slowest were:

4.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
4.0ms
(exp (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))))
0.0ms
(fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))

series216.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

100.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
57.0ms
(fma 1/360 (pow x 6) (* x x))
33.0ms
(exp (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))))

simplify1.0s

Counts
23 → 63
Calls

23 calls. Slowest were:

304.0ms
(- (+ (log 1/360) (* 30 (/ 1 (pow x 2)))) (+ (* 6 (log (/ 1 x))) (* 90 (/ 1 (pow x 4)))))
277.0ms
(- (+ (log 1/360) (* 30 (/ 1 (pow x 2)))) (+ (* 6 (log (/ -1 x))) (* 90 (/ 1 (pow x 4)))))
65.0ms
(- (+ (* 1/12 (pow x 2)) (* 2 (log x))) (* 1/1440 (pow x 4)))

prune963.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

31.7b
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
31.7b
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
31.7b
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
2.7b
(exp (cbrt (* (* (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))) (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))) (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 56
Calls

4 calls. Slowest were:

6.0ms
(exp (cbrt (* (* (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))) (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))) (log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x)))))))
1.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
1.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))

series316.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

111.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
90.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))
82.0ms
(log (fma 1/12 (pow x 4) (fma 1/360 (pow x 6) (* x x))))

simplify2.6s

Counts
29 → 68
Calls

29 calls. Slowest were:

378.0ms
(- (+ (log 1/360) (* 30 (/ 1 (pow x 2)))) (+ (* 6 (log (/ -1 x))) (* 90 (/ 1 (pow x 4)))))
350.0ms
(- (+ (log 1/360) (* 30 (/ 1 (pow x 2)))) (+ (* 6 (log (/ -1 x))) (* 90 (/ 1 (pow x 4)))))
345.0ms
(- (+ (log 1/360) (* 30 (/ 1 (pow x 2)))) (+ (* 6 (log (/ -1 x))) (* 90 (/ 1 (pow x 4)))))

prune1.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes40.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
  :name "exp2 (problem 3.3.7)"

  :herbie-target
  (* 4 (pow (sinh (/ x 2)) 2))

  (+ (- (exp x) 2) (exp (- x))))

Backtrace

partition: contract violation expected: list? given: 0.6178852275501031 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