Error in 15.6s

Runtime

Time bar (total: 15.6s)Debug logProfile

start243.0ms

Algorithm
halfpoints

setup107.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize73.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))

rewrite33.0ms

Algorithm
rewrite-expression-head
Counts
4 → 64
Calls

4 calls. Slowest were:

11.0ms
(* (/ (+ (exp x) (exp (- x))) 2) (cos y))
10.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series280.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

101.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
74.0ms
(* (/ (+ (exp x) (exp (- x))) 2) (cos y))
65.0ms
(- (exp x) (exp (- x)))

simplify2.7s

Counts
38 → 76
Calls

38 calls. Slowest were:

483.0ms
(* (* (* (/ (- (exp x) (exp (- x))) 2) (/ (- (exp x) (exp (- x))) 2)) (/ (- (exp x) (exp (- x))) 2)) (* (* (sin y) (sin y)) (sin y)))
435.0ms
(* (+ (exp x) (exp (- x))) (cos y))
298.0ms
(* 1/2 (* (- (exp x) (exp (- x))) (sin y)))

prune1.1s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Counts
4 → 63
Calls

4 calls. Slowest were:

15.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2) (cos y))
10.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
4.0ms
(- (exp x) (exp (- x)))

series231.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

83.0ms
(* (/ (- (exp x) (exp (- x))) 2) (sin y))
64.0ms
(- (exp x) (exp (- x)))
57.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2) (cos y))

simplify2.5s

Counts
39 → 75
Calls

39 calls. Slowest were:

596.0ms
(* (* (* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2) (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2)) (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2)) (* (* (cos y) (cos y)) (cos y)))
377.0ms
(* 1/2 (* (- (exp x) (exp (- x))) (sin y)))
368.0ms
(* 1/2 (* (- (exp x) (exp (* -1 x))) (sin y)))

prune1.6s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes187.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(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