Error in 1.4m

Runtime

Time bar (total: 1.4m)Debug logProfile

start510.0ms

Algorithm
intervals

setup41.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
2 → 43
Calls

2 calls. Slowest were:

4.0ms
(/ (- 1 x) (+ 1 x))
1.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

series26.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

16.0ms
(/ (- 1 x) (+ 1 x))
10.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

simplify1.7s

Counts
36 → 49
Calls

36 calls. Slowest were:

1.0s
(/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x)))
160.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))
142.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))

prune661.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 111
Calls

4 calls. Slowest were:

7.0ms
(- (/ 1 (+ 1 x)) (/ x (+ 1 x)))
1.0ms
(/ 1 (+ 1 x))
0.0ms
(/ x (+ 1 x))

series51.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

17.0ms
(- (/ 1 (+ 1 x)) (/ x (+ 1 x)))
17.0ms
(/ x (+ 1 x))
11.0ms
(/ 1 (+ 1 x))

simplify13.8s

Counts
116 → 123
Calls

116 calls. Slowest were:

661.0ms
(fma 1 (/ 1 (+ 1 x)) (- (* (- 1 x) (/ x (- (* 1 1) (* x x))))))
629.0ms
(fma (/ 1 (- (* 1 1) (* x x))) (- 1 x) (- (* (/ 1 (+ 1 x)) x)))
576.0ms
(fma 1 (/ 1 (+ 1 x)) (- (* (- 1 x) (/ x (- (* 1 1) (* x x))))))

prune1.6s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize37.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Counts
4 → 207
Calls

4 calls. Slowest were:

32.0ms
(* (- 1 x) (- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))
11.0ms
(- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x))))
1.0ms
(atan (sqrt (* (- 1 x) (- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))))

series71.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

25.0ms
(* (- 1 x) (- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))
22.0ms
(/ x (- 1 (* x x)))
19.0ms
(- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x))))

simplify57.2s

Counts
223 → 219
Calls

223 calls. Slowest were:

1.0s
(* (fma (- (/ 1 (- 1 (* x x)))) x (* (/ 1 (- 1 (* x x))) x)) (- 1 x))
995.0ms
(* (fma (- (/ 1 (- 1 (* x x)))) x (* (/ 1 (- 1 (* x x))) x)) (- 1 x))
983.0ms
(* (fma (- (/ 1 (- 1 (* x x)))) x (* (/ 1 (- 1 (* x x))) x)) (- 1 x))

prune3.4s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes27.0ms

Please include this information when filing a bug report:

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

Backtrace

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