Error in 21.9s

Runtime

Time bar (total: 21.9s)Debug log

start355.0ms

Algorithm
intervals

setup34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize48.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 58
Calls

3 calls. Slowest were:

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

series196.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

121.0ms
(log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
46.0ms
(/ (sqrt (- 1 (* x x))) x)
28.0ms
(sqrt (- 1 (* x x)))

simplify3.5s

Counts
34 → 67
Calls

34 calls. Slowest were:

479.0ms
(- (log 2) (+ (* 1/4 (pow x 2)) (+ (* 3/32 (pow x 4)) (log x))))
452.0ms
(- (* 1/8 (/ 1 (* (pow x 3) (pow (sqrt -1) 3)))) (+ (* x (sqrt -1)) (* 1/2 (/ 1 (* x (sqrt -1))))))
420.0ms
(log (- (* (/ 1 x) (/ 1 x)) (* (/ (sqrt (- 1 (* x x))) x) (/ (sqrt (- 1 (* x x))) x))))

prune661.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
0.1b
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
0.0b
(/ (sqrt (- 1 (* x x))) x)
0.0b
(/ (sqrt (- 1 (* x x))) x)

rewrite19.0ms

Algorithm
rewrite-expression-head
Counts
4 → 86
Calls

4 calls. Slowest were:

6.0ms
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
6.0ms
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
3.0ms
(/ (sqrt (- 1 (* x x))) x)

series232.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

70.0ms
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
57.0ms
(sqrt (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x)))
56.0ms
(/ (sqrt (- 1 (* x x))) x)

simplify4.8s

Counts
52 → 98
Calls

52 calls. Slowest were:

462.0ms
(+ (* 1/8 (* (/ 1 (pow x 2)) (sqrt (/ 1 (pow (sqrt -1) 3))))) (+ (sqrt (sqrt -1)) (* 1/2 (* (/ 1 x) (sqrt (/ 1 (sqrt -1)))))))
437.0ms
(+ (* 1/8 (* (/ 1 (pow x 2)) (sqrt (/ 1 (pow (sqrt -1) 3))))) (+ (sqrt (sqrt -1)) (* 1/2 (* (/ 1 x) (sqrt (/ 1 (sqrt -1)))))))
412.0ms
(sqrt (- (* (/ 1 x) (/ 1 x)) (* (/ (sqrt (- 1 (* x x))) x) (/ (sqrt (- 1 (* x x))) x))))

prune1.3s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes100.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
  :name "Hyperbolic arc-(co)secant"
  (log (+ (/ 1 x) (/ (sqrt (- 1 (* x x))) x))))

Backtrace

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