Error in 49.0s

Runtime

Time bar (total: 49.0s)Debug log

start1.7s

Algorithm
intervals

setup177.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.8b

localize62.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
4 → 76
Calls

4 calls. Slowest were:

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

series614.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

240.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
200.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (/ (- x) (tan B)))
112.0ms
(/ (- x) (tan B))

simplify1.7s

Counts
54 → 88
Calls

54 calls. Slowest were:

281.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
275.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))))))
225.0ms
(- (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (* x (sin B))))))

prune1.8s

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.4b

localize16.0ms

Local error

Found 4 expressions with local error:

15.9b
(pow (fma 2 x (fma F F 2)) -1/2)
6.3b
(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.1b
(/ 1 (sin B))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
4 → 59
Calls

4 calls. Slowest were:

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

series491.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

211.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (* F (/ 1 (sin B))) (/ (- x) (tan B)))
188.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
74.0ms
(* F (/ 1 (sin B)))

simplify1.4s

Counts
27 → 71
Calls

27 calls. Slowest were:

270.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))))))
252.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
208.0ms
(- (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (* x (sin B))))))

prune1.6s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.4b

localize20.0ms

Local error

Found 4 expressions with local error:

15.9b
(pow (fma 2 x (fma F F 2)) -1/2)
6.3b
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (* (/ (- x) (sin B)) (cos B)))
0.2b
(/ (- x) (sin B))
0.2b
(* (/ (- x) (sin B)) (cos B))

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
4 → 96
Calls

4 calls. Slowest were:

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

series672.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

244.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (* (/ (- x) (sin B)) (cos B)))
187.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
154.0ms
(* (/ (- x) (sin B)) (cos B))

simplify2.6s

Counts
75 → 108
Calls

75 calls. Slowest were:

381.0ms
(* (* (* (/ (- x) (sin B)) (/ (- x) (sin B))) (/ (- x) (sin B))) (* (* (cos B) (cos B)) (cos B)))
282.0ms
(- (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (* x (sin B))))))
253.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))

prune2.3s

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 12.4b

localize11.0ms

Local error

Found 4 expressions with local error:

15.9b
(pow (fma 2 x (fma F F 2)) -1/2)
6.3b
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (/ (* (cos B) (- x)) (sin B)))
0.2b
(/ (* (cos B) (- x)) (sin B))
0.2b
(/ F (sin B))

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
4 → 64
Calls

4 calls. Slowest were:

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

series527.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

191.0ms
(pow (fma 2 x (fma F F 2)) -1/2)
184.0ms
(fma (pow (fma 2 x (fma F F 2)) -1/2) (/ F (sin B)) (/ (* (cos B) (- x)) (sin B)))
91.0ms
(/ (* (cos B) (- x)) (sin B))

simplify2.0s

Counts
35 → 76
Calls

35 calls. Slowest were:

297.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (/ x B) (/ (* x (* F (sqrt 1/8))) B)))
290.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))))))
237.0ms
(- (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (sin B)) (+ (/ (* x (cos B)) (sin B)) (* 1/2 (/ (* (exp (* -1/2 (- (log -2) (log (/ -1 x))))) F) (* x (sin B))))))

prune1.3s

Pruning

17 alts after pruning (15 fresh and 2 done)

Merged error: 12.4b

regimes520.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +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: 13.668330157290152 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