Error in 17.3s

Runtime

Time bar (total: 17.3s)Debug logProfile

start208.0ms

Algorithm
halfpoints

setup171.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize49.0ms

Local error

Found 4 expressions with local error:

19.1b
(- (exp x) (exp (- x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (/ (+ (exp x) (exp (- x))) 2) (cos y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Counts
4 → 87
Calls

4 calls. Slowest were:

12.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
10.0ms
(* (/ (+ (exp x) (exp (- x))) 2) (cos y))
6.0ms
(- (exp x) (exp (- x)))

series274.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

88.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
77.0ms
(- (exp x) (exp (- x)))
76.0ms
(* (/ (+ (exp x) (exp (- x))) 2) (cos y))

simplify3.5s

Counts
60 → 99
Calls

60 calls. Slowest were:

473.0ms
(* 1/2 (* (- (exp x) (exp (- x))) (sin y)))
452.0ms
(* (* (* (/ (- (exp x) (exp (- x))) 2) (/ (- (exp x) (exp (- x))) 2)) (/ (- (exp x) (exp (- x))) 2)) (* (* (sin y) (sin y)) (sin y)))
394.0ms
(* 1/2 (* (- (exp x) (exp (* -1 x))) (sin y)))

prune1.7s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 3 expressions with local error:

19.1b
(- (exp x) (exp (- x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
0.0b
(* (/ (fma (pow x 4) 1/12 (fma x x 2)) 2) (cos y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Counts
3 → 70
Calls

3 calls. Slowest were:

10.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
5.0ms
(* (/ (fma (pow x 4) 1/12 (fma x x 2)) 2) (cos y))
5.0ms
(- (exp x) (exp (- x)))

series191.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

91.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
59.0ms
(* (/ (fma (pow x 4) 1/12 (fma x x 2)) 2) (cos y))
41.0ms
(- (exp x) (exp (- x)))

simplify3.0s

Counts
53 → 79
Calls

53 calls. Slowest were:

443.0ms
(* 1/2 (* (- (exp x) (exp (- x))) (sin y)))
419.0ms
(* (* (* (/ (- (exp x) (exp (- x))) 2) (/ (- (exp x) (exp (- x))) 2)) (/ (- (exp x) (exp (- x))) 2)) (* (* (sin y) (sin y)) (sin y)))
408.0ms
(* 1/2 (* (- (exp x) (exp (* -1 x))) (sin y)))

prune1.7s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes195.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x y)
  :name "Euler formula real part (p55)"
  (re (complex (* (/ (+ (exp x) (exp (- x))) 2) (cos y)) (* (/ (- (exp x) (exp (- x))) 2) (sin y)))))

Backtrace

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