Error in 29.3s

Runtime

Time bar (total: 29.3s)Debug logProfile

start184.0ms

Algorithm
intervals

setup25.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.0b

localize10.0ms

Local error

Found 3 expressions with local error:

3.0b
(log (+ x (hypot 1 x)))
0.6b
(+ x (hypot 1 x))
0.0b
(hypot 1 x)

rewrite2.0ms

Algorithm
rewrite-expression-head
Counts
3 → 38
Calls

3 calls. Slowest were:

1.0ms
(log (+ x (hypot 1 x)))
1.0ms
(+ x (hypot 1 x))
0.0ms
(hypot 1 x)

series213.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

128.0ms
(log (+ x (hypot 1 x)))
52.0ms
(+ x (hypot 1 x))
32.0ms
(hypot 1 x)

simplify1.8s

Counts
15 → 47
Calls

15 calls. Slowest were:

365.0ms
(- (+ (log 2) (* 1/4 (/ 1 (pow x 2)))) (+ (log (/ 1 x)) (* 3/32 (/ 1 (pow x 4)))))
268.0ms
(- (* 1/8 (/ 1 (pow x 3))) (+ (* 1/16 (/ 1 (pow x 5))) (* 1/2 (/ 1 x))))
244.0ms
(- (+ x (* 1/2 (/ 1 x))) (* 1/8 (/ 1 (pow x 3))))

prune409.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

18.5b
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
0.2b
(* 1/6 (pow x 3))
0.1b
(* 3/40 (pow x 5))

rewrite8.0ms

Algorithm
rewrite-expression-head
Counts
3 → 49
Calls

3 calls. Slowest were:

5.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
1.0ms
(* 1/6 (pow x 3))
1.0ms
(* 3/40 (pow x 5))

series84.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

33.0ms
(* 3/40 (pow x 5))
26.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
25.0ms
(* 1/6 (pow x 3))

simplify1.1s

Counts
25 → 58
Calls

25 calls. Slowest were:

176.0ms
(fma 1 (+ x (* 3/40 (pow x 5))) (- (* (pow x 3) 1/6)))
149.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
142.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))

prune711.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

2.7b
(log (sqrt (+ x (hypot 1 x))))
2.7b
(log (sqrt (+ x (hypot 1 x))))
0.6b
(+ x (hypot 1 x))
0.6b
(+ x (hypot 1 x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Counts
4 → 64
Calls

4 calls. Slowest were:

2.0ms
(log (sqrt (+ x (hypot 1 x))))
1.0ms
(log (sqrt (+ x (hypot 1 x))))
1.0ms
(+ x (hypot 1 x))

series289.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

110.0ms
(log (sqrt (+ x (hypot 1 x))))
83.0ms
(log (sqrt (+ x (hypot 1 x))))
48.0ms
(+ x (hypot 1 x))

simplify1.5s

Counts
30 → 76
Calls

30 calls. Slowest were:

269.0ms
(- (* 1/8 (/ 1 (pow x 3))) (+ (* 1/16 (/ 1 (pow x 5))) (* 1/2 (/ 1 x))))
225.0ms
(- (+ (* 2 x) (* 1/2 (/ 1 x))) (* 1/8 (/ 1 (pow x 3))))
216.0ms
(- (* 1/8 (/ 1 (pow x 3))) (+ (* 1/16 (/ 1 (pow x 5))) (* 1/2 (/ 1 x))))

prune687.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 3 expressions with local error:

9.2b
(log (- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x))))
0.1b
(/ (/ 1/8 x) (* x x))
0.0b
(- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
3 → 88
Calls

3 calls. Slowest were:

7.0ms
(- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x)))
5.0ms
(log (- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x))))
3.0ms
(/ (/ 1/8 x) (* x x))

series141.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

85.0ms
(log (- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x))))
30.0ms
(- (fma x 2 (/ 1/2 x)) (/ (/ 1/8 x) (* x x)))
26.0ms
(/ (/ 1/8 x) (* x x))

simplify13.5s

Counts
87 → 97
Calls

87 calls. Slowest were:

725.0ms
(- (+ (log -2) (* 1/4 (/ 1 (pow x 2)))) (+ (log (/ -1 x)) (* 3/32 (/ 1 (pow x 4)))))
513.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
462.0ms
(fma (- (/ (/ 1 x) x)) (/ 1/8 x) (* (/ (/ 1 x) x) (/ 1/8 x)))

prune1.3s

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes39.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
  :name "Hyperbolic arcsine"

  :herbie-target
  (if (< x 0) (log (/ -1 (- x (sqrt (+ (* x x) 1))))) (log (+ x (sqrt (+ (* x x) 1)))))

  (log (+ x (sqrt (+ (* x x) 1)))))

Backtrace

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