Error in 22.1s

Runtime

Time bar (total: 22.1s)Debug logProfile

start270.0ms

Algorithm
intervals

setup34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize44.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 → 39
Calls

2 calls. Slowest were:

3.0ms
(/ (- 1 x) (+ 1 x))
2.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

series21.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

11.0ms
(/ (- 1 x) (+ 1 x))
9.0ms
(atan (sqrt (/ (- 1 x) (+ 1 x))))

simplify1.4s

Counts
36 → 45
Calls

36 calls. Slowest were:

770.0ms
(/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x)))
137.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))
115.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))

prune519.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize27.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))

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
4 → 61
Calls

4 calls. Slowest were:

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

series39.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

19.0ms
(- (/ 1 (+ 1 x)) (/ x (+ 1 x)))
10.0ms
(/ x (+ 1 x))
6.0ms
(/ 1 (+ 1 x))

simplify937.0ms

Counts
40 → 73
Calls

40 calls. Slowest were:

230.0ms
(- (* 1 (+ 1 x)) (* (+ 1 x) x))
118.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))
100.0ms
(- (* 2 (/ 1 x)) (+ (* 2 (/ 1 (pow x 2))) 1))

prune801.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize42.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)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 85
Calls

4 calls. Slowest were:

10.0ms
(* (- 1 x) (- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))
5.0ms
(- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x))))
0.0ms
(/ x (- 1 (* x x)))

series89.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

31.0ms
(* (- 1 x) (- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))
29.0ms
(- (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x))))
22.0ms
(/ x (- 1 (* x x)))

simplify11.6s

Counts
75 → 97
Calls

75 calls. Slowest were:

768.0ms
(* (+ 1 x) (+ (/ 1 (- 1 (* x x))) (/ x (- 1 (* x x)))))
741.0ms
(* (- (/ x (- 1 (* x x)))) (- 1 x))
605.0ms
(* (+ 1 x) (* (- 1 (* x x)) (- 1 (* x x))))

prune1.3s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes46.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(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