Error in 50.7s

Runtime

Time bar (total: 50.7s)Debug logProfile

start1.4s

Algorithm
intervals

setup181.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.9b

localize77.0ms

Local error

Found 4 expressions with local error:

18.8b
(pow (fma 2 x (fma F F 2)) -1/2)
6.9b
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (/ (- x) (tan B)))
0.2b
(/ (- x) (tan B))
0.1b
(/ F (sin B))

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
4 → 76
Calls

4 calls. Slowest were:

6.0ms
(/ (- x) (tan B))
5.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
1.0ms
(/ F (sin B))

series632.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

206.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (/ (- x) (tan B)))
194.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
147.0ms
(/ (- x) (tan B))

simplify2.0s

Counts
54 → 88
Calls

54 calls. Slowest were:

380.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
288.0ms
(- (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (* x (sin B))))))
243.0ms
(- (+ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) (* 3/8 (/ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) (pow x 2)))) (* 1/2 (/ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) x)))

prune1.7s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 12.4b

localize26.0ms

Local error

Found 4 expressions with local error:

18.8b
(pow (fma 2 x (fma F F 2)) -1/2)
6.9b
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (* (/ (- x) (sin B)) (cos B)))
0.2b
(* (/ (- x) (sin B)) (cos B))
0.1b
(/ F (sin B))

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
4 → 76
Calls

4 calls. Slowest were:

6.0ms
(* (/ (- x) (sin B)) (cos B))
1.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
0.0ms
(/ F (sin B))

series583.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

205.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (* (/ (- x) (sin B)) (cos B)))
194.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
113.0ms
(* (/ (- x) (sin B)) (cos B))

simplify2.4s

Counts
45 → 88
Calls

45 calls. Slowest were:

406.0ms
(* (* (* (/ (- x) (sin B)) (/ (- x) (sin B))) (/ (- x) (sin B))) (* (* (cos B) (cos B)) (cos B)))
273.0ms
(- (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (* x (sin B))))))
273.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))

prune1.8s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 12.4b

localize11.0ms

Local error

Found 4 expressions with local error:

18.8b
(pow (fma 2 x (fma F F 2)) -1/2)
6.9b
(fma (pow (fma 2 x (fma F F 2)) -1/2) (* F (/ 1 (sin B))) (/ (- x) (tan B)))
0.2b
(* F (/ 1 (sin B)))
0.2b
(/ (- x) (tan B))

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
4 → 77
Calls

4 calls. Slowest were:

3.0ms
(/ (- x) (tan B))
1.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
1.0ms
(* F (/ 1 (sin B)))

series584.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

195.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
195.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (* F (/ 1 (sin B))) (/ (- x) (tan B)))
119.0ms
(/ (- x) (tan B))

simplify1.9s

Counts
57 → 89
Calls

57 calls. Slowest were:

314.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
281.0ms
(- (+ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) (* 3/8 (/ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) (pow x 2)))) (* 1/2 (/ (exp (* -1/2 (- (log -2) (log (/ -1 x))))) x)))
264.0ms
(- (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* F (exp (* -1/2 (- (log 2) (log (/ 1 x)))))) (* x (sin B))))))

prune1.9s

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 12.4b

localize30.0ms

Local error

Found 4 expressions with local error:

18.8b
(sqrt (fma 2 x (fma F F 2)))
18.8b
(sqrt (fma 2 x (fma F F 2)))
6.9b
(fma (* (pow (sqrt (fma 2 x (fma F F 2))) -1/2) (pow (sqrt (fma 2 x (fma F F 2))) -1/2)) (* F (/ 1 (sin B))) (/ (- x) (tan B)))
0.6b
(* (pow (sqrt (fma 2 x (fma F F 2))) -1/2) (pow (sqrt (fma 2 x (fma F F 2))) -1/2))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 79
Calls

4 calls. Slowest were:

8.0ms
(* (pow (sqrt (fma 2 x (fma F F 2))) -1/2) (pow (sqrt (fma 2 x (fma F F 2))) -1/2))
1.0ms
(sqrt (fma 2 x (fma F F 2)))
1.0ms
(sqrt (fma 2 x (fma F F 2)))

series405.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

235.0ms
(fma (* (pow (sqrt (fma 2 x (fma F F 2))) -1/2) (pow (sqrt (fma 2 x (fma F F 2))) -1/2)) (* F (/ 1 (sin B))) (/ (- x) (tan B)))
65.0ms
(sqrt (fma 2 x (fma F F 2)))
63.0ms
(sqrt (fma 2 x (fma F F 2)))

simplify1.9s

Counts
50 → 91
Calls

50 calls. Slowest were:

309.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
183.0ms
(- (+ (sqrt 2) (* x (sqrt 1/2))) (* 1/2 (* (pow x 2) (sqrt 1/8))))
172.0ms
(- (+ (* 3/2 (* (sqrt 1/32) (pow x 2))) (sqrt 1/2)) (* x (sqrt 1/8)))

prune2.0s

Pruning

17 alts after pruning (15 fresh and 2 done)

Merged error: 10.3b

regimes885.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (F B x)
  :name "VandenBroeck and Keller, Equation (23)"
  (+ (- (* x (/ 1 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2) (* 2 x)) (- (/ 1 2))))))

Backtrace

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