Error in 21.3s

Runtime

Time bar (total: 21.3s)Debug logProfile

start219.0ms

Algorithm
intervals

setup107.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
3 → 39
Calls

3 calls. Slowest were:

4.0ms
(sqrt (- (* x x) 1))
3.0ms
(log (+ x (sqrt (- (* x x) 1))))
3.0ms
(+ x (sqrt (- (* x x) 1)))

series185.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

119.0ms
(log (+ x (sqrt (- (* x x) 1))))
35.0ms
(sqrt (- (* x x) 1))
31.0ms
(+ x (sqrt (- (* x x) 1)))

simplify2.8s

Counts
22 → 48
Calls

22 calls. Slowest were:

368.0ms
(+ (log -1/2) (+ (log (/ -1 x)) (+ (* 3/32 (/ 1 (pow x 4))) (* 1/4 (/ 1 (pow x 2))))))
364.0ms
(- (+ (* 1/2 (/ (pow x 2) (sqrt -1))) (sqrt -1)) (* 1/8 (/ (pow x 4) (pow (sqrt -1) 3))))
267.0ms
(log (- (* x x) (* (sqrt (- (* x x) 1)) (sqrt (- (* x x) 1)))))

prune482.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Counts
3 → 50
Calls

3 calls. Slowest were:

16.0ms
(+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))
7.0ms
(log (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x)))))
3.0ms
(/ (/ 1/8 x) (* x x))

series103.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

69.0ms
(log (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x)))))
19.0ms
(+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))
15.0ms
(/ (/ 1/8 x) (* x x))

simplify3.3s

Counts
31 → 59
Calls

31 calls. Slowest were:

606.0ms
(log (+ (pow x 3) (pow (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))) 3)))
590.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))
427.0ms
(- (log -2) (+ (log (/ -1 x)) (+ (* 3/32 (/ 1 (pow x 4))) (* 1/4 (/ 1 (pow x 2))))))

prune688.0ms

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 (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))
0.0b
(log (sqrt (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Counts
4 → 80
Calls

4 calls. Slowest were:

11.0ms
(log (sqrt (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))
8.0ms
(log (sqrt (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))
3.0ms
(/ (/ 1/8 x) (* x x))

series115.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

39.0ms
(log (sqrt (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))
34.0ms
(log (sqrt (+ x (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))))))
26.0ms
(/ (/ 1/8 x) (* x x))

simplify4.3s

Counts
54 → 92
Calls

54 calls. Slowest were:

683.0ms
(log (sqrt (+ (pow x 3) (pow (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))) 3))))
559.0ms
(log (sqrt (+ (pow x 3) (pow (- (+ (/ -1/2 x) x) (/ (/ 1/8 x) (* x x))) 3))))
556.0ms
(/ (* (* (/ 1/8 x) (/ 1/8 x)) (/ 1/8 x)) (* (* (* x x) (* x x)) (* x x)))

prune1.5s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Please include this information when filing a bug report:

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

Backtrace

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