Error in 35.8s

Runtime

Time bar (total: 35.8s)Debug log

start582.0ms

Algorithm
intervals

setup50.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1 x) (+ 1 x))
0.0b
(sqrt (/ (- 1 x) (+ 1 x)))
0.0b
(atan (sqrt (/ (- 1 x) (+ 1 x))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
3 → 71
Calls

3 calls. Slowest were:

5.0ms
(/ (- 1 x) (+ 1 x))
2.0ms
(sqrt (/ (- 1 x) (+ 1 x)))
0.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

series53.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

29.0ms
(sqrt (/ (- 1 x) (+ 1 x)))
18.0ms
(/ (- 1 x) (+ 1 x))
6.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

simplify5.2s

Counts
57 → 80
Calls

57 calls. Slowest were:

1.9s
(- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))))
1.8s
(- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))))
578.0ms
(/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x)))

prune982.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 3 expressions with local error:

6.3b
(log (- 1 x))
0.0b
(sqrt (exp (- (log (- 1 x)) (log1p x))))
0.0b
(atan (sqrt (exp (- (log (- 1 x)) (log1p x)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 59
Calls

3 calls. Slowest were:

8.0ms
(sqrt (exp (- (log (- 1 x)) (log1p x))))
1.0ms
(log (- 1 x))
0.0ms
(atan (sqrt (exp (- (log (- 1 x)) (log1p x)))))

series131.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

91.0ms
(sqrt (exp (- (log (- 1 x)) (log1p x))))
37.0ms
(log (- 1 x))
3.0ms
(atan (sqrt (exp (- (log (- 1 x)) (log1p x)))))

simplify4.2s

Counts
39 → 68
Calls

39 calls. Slowest were:

1.6s
(- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3))))))
567.0ms
(- (+ (sqrt (exp (- (log -1)))) (* 1/2 (* (/ 1 (pow x 2)) (sqrt (exp (- (log -1))))))) (* (/ 1 x) (sqrt (exp (- (log -1))))))
364.0ms
(- (+ x (+ (* 1/3 (pow x 3)) (* 1/2 (pow x 2)))))

prune1.0s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (+ 1 x)) (cbrt (+ 1 x)))
0.0b
(/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x))))
0.0b
(/ (/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x)))) (cbrt (+ 1 x)))
0.0b
(cbrt (+ 1 x))

rewrite55.0ms

Algorithm
rewrite-expression-head
Counts
4 → 220
Calls

4 calls. Slowest were:

24.0ms
(/ (/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x)))) (cbrt (+ 1 x)))
11.0ms
(/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x))))
11.0ms
(* (cbrt (+ 1 x)) (cbrt (+ 1 x)))

series176.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

56.0ms
(* (cbrt (+ 1 x)) (cbrt (+ 1 x)))
53.0ms
(cbrt (+ 1 x))
49.0ms
(/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x))))

simplify14.5s

Counts
283 → 232
Calls

283 calls. Slowest were:

831.0ms
(/ (* (* (/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x)))) (/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x))))) (/ (- 1 x) (* (cbrt (+ 1 x)) (cbrt (+ 1 x))))) (+ 1 x))
447.0ms
(/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (* (cbrt (+ 1 x)) (cbrt (+ 1 x))) (* (cbrt (+ 1 x)) (cbrt (+ 1 x)))) (* (cbrt (+ 1 x)) (cbrt (+ 1 x)))))
268.0ms
(/ (/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (+ 1 x) (+ 1 x))) (+ 1 x))

prune3.7s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes47.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
  :name "arccos"
  (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))

Backtrace

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