Error in 20.1s

Runtime

Time bar (total: 20.1s)Debug log

start227.0ms

Algorithm
intervals

setup25.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 46.4b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
3 → 38
Calls

3 calls. Slowest were:

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

series212.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

125.0ms
(log (+ x (hypot 1 x)))
49.0ms
(+ x (hypot 1 x))
37.0ms
(hypot 1 x)

simplify2.0s

Counts
15 → 47
Calls

15 calls. Slowest were:

483.0ms
(- (+ (log 2) (* 1/4 (/ 1 (pow x 2)))) (+ (log (/ 1 x)) (* 3/32 (/ 1 (pow x 4)))))
303.0ms
(- (* 1/8 (/ 1 (pow x 3))) (+ (* 1/16 (/ 1 (pow x 5))) (* 1/2 (/ 1 x))))
248.0ms
(- (+ x (* 1/2 (/ 1 x))) (* 1/8 (/ 1 (pow x 3))))

prune532.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
3 → 49
Calls

3 calls. Slowest were:

10.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
2.0ms
(* 1/6 (pow x 3))
2.0ms
(* 3/40 (pow x 5))

series84.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

39.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
30.0ms
(* 3/40 (pow x 5))
15.0ms
(* 1/6 (pow x 3))

simplify1.0s

Counts
25 → 58
Calls

25 calls. Slowest were:

156.0ms
(fma (sqrt (+ x (* 3/40 (pow x 5)))) (sqrt (+ x (* 3/40 (pow x 5)))) (- (* (pow x 3) 1/6)))
151.0ms
(- (+ x (* 3/40 (pow x 5))) (* 1/6 (pow x 3)))
137.0ms
(fma 1 (+ x (* 3/40 (pow x 5))) (- (* (pow x 3) 1/6)))

prune743.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

18.8b
(+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))
11.1b
(log (+ (/ -1/2 x) (+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))))
0.2b
(/ (/ 1/8 x) (* x x))
0.1b
(/ -1/16 (pow x 5))

rewrite29.0ms

Algorithm
rewrite-expression-head
Counts
4 → 79
Calls

4 calls. Slowest were:

17.0ms
(log (+ (/ -1/2 x) (+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))))
6.0ms
(+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))
4.0ms
(/ (/ 1/8 x) (* x x))

series182.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

74.0ms
(log (+ (/ -1/2 x) (+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))))
52.0ms
(+ (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))
31.0ms
(/ -1/16 (pow x 5))

simplify3.0s

Counts
44 → 91
Calls

44 calls. Slowest were:

625.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
436.0ms
(- (+ (* 6 (pow x 4)) (log -1/16)) (+ (* 2 (pow x 2)) (* 5 (log x))))
306.0ms
(log (+ (* -1/2 (- (/ -1/16 (pow x 5)) (/ (/ 1/8 x) (* x x)))) (* x (- (* (/ -1/16 (pow x 5)) (/ -1/16 (pow x 5))) (* (/ (/ 1/8 x) (* x x)) (/ (/ 1/8 x) (* x x)))))))

prune1.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

8.2b
(+ x (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x))))
3.8b
(log (+ x (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x)))))
0.2b
(cbrt (hypot 1 x))
0.2b
(cbrt (hypot 1 x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
4 → 54
Calls

4 calls. Slowest were:

2.0ms
(+ x (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x))))
1.0ms
(log (+ x (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x)))))
1.0ms
(cbrt (hypot 1 x))

series389.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

139.0ms
(cbrt (hypot 1 x))
127.0ms
(cbrt (hypot 1 x))
91.0ms
(log (+ x (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x)))))

simplify2.1s

Counts
24 → 66
Calls

24 calls. Slowest were:

430.0ms
(log (- (* x x) (* (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x))) (* (* (cbrt (hypot 1 x)) (cbrt (hypot 1 x))) (cbrt (hypot 1 x))))))
383.0ms
(- (+ (log 2) (* 1/4 (/ 1 (pow x 2)))) (+ (log (/ 1 x)) (* 3/32 (/ 1 (pow x 4)))))
277.0ms
(- (* 1/8 (/ 1 (pow x 3))) (+ (* 1/16 (/ 1 (pow x 5))) (* 1/2 (/ 1 x))))

prune675.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes71.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +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.11928237233680032 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