Error in 31.2s

Runtime

Time bar (total: 31.2s)Debug logProfile

start158.0ms

Algorithm
intervals

setup144.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize13.0ms

Local error

Found 3 expressions with local error:

28.9b
(sqrt (fma x x -1))
0.0b
(+ x (sqrt (fma x x -1)))
0.0b
(log (+ x (sqrt (fma x x -1))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Counts
3 → 42
Calls

3 calls. Slowest were:

1.0ms
(log (+ x (sqrt (fma x x -1))))
1.0ms
(+ x (sqrt (fma x x -1)))
1.0ms
(sqrt (fma x x -1))

series156.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

95.0ms
(log (+ x (sqrt (fma x x -1))))
35.0ms
(+ x (sqrt (fma x x -1)))
26.0ms
(sqrt (fma x x -1))

simplify3.0s

Counts
19 → 51
Calls

19 calls. Slowest were:

495.0ms
(- (+ (* 1/2 (/ (pow x 2) (sqrt -1))) (sqrt -1)) (* 1/8 (/ (pow x 4) (pow (sqrt -1) 3))))
405.0ms
(+ (log -1/2) (+ (log (/ -1 x)) (+ (* 3/32 (/ 1 (pow x 4))) (* 1/4 (/ 1 (pow x 2))))))
353.0ms
(log (- (* x x) (* (sqrt (fma x x -1)) (sqrt (fma x x -1)))))

prune498.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize40.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Counts
3 → 88
Calls

3 calls. Slowest were:

11.0ms
(- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))
10.0ms
(log (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x))))
6.0ms
(/ (/ 1/8 x) (* x x))

series124.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

80.0ms
(log (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x))))
23.0ms
(- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))
22.0ms
(/ (/ 1/8 x) (* x x))

simplify13.9s

Counts
87 → 97
Calls

87 calls. Slowest were:

616.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
537.0ms
(fma (- (/ 1 (* x x))) (/ 1/8 x) (* (/ 1 (* x x)) (/ 1/8 x)))
476.0ms
(fma (- (/ (/ 1 x) x)) (/ 1/8 x) (* (/ (/ 1 x) x) (/ 1/8 x)))

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Counts
4 → 94
Calls

4 calls. Slowest were:

4.0ms
(log (sqrt (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))))
4.0ms
(log (sqrt (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))))
3.0ms
(/ (/ 1/8 x) (* x x))

series147.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

53.0ms
(log (sqrt (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))))
52.0ms
(log (sqrt (- (fma 2 x (/ -1/2 x)) (/ (/ 1/8 x) (* x x)))))
27.0ms
(/ (/ 1/8 x) (* x x))

simplify3.4s

Counts
60 → 106
Calls

60 calls. Slowest were:

939.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
491.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
393.0ms
(log (sqrt (- (pow (fma 2 x (/ -1/2 x)) 3) (pow (/ (/ 1/8 x) (* x x)) 3))))

prune1.5s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes19.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
  :name "Hyperbolic arc-cosine"
  (log (+ x (sqrt (- (* x x) 1)))))

Backtrace

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