Error in 51.8s

Runtime

Time bar (total: 51.8s)Debug logProfile

start1.2s

Algorithm
intervals

setup272.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.9b

localize76.0ms

Local error

Found 4 expressions with local error:

18.8b
(pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)
7.1b
(* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B)))
0.2b
(/ x (tan B))
0.1b
(/ F (sin B))

rewrite48.0ms

Algorithm
rewrite-expression-head
Counts
4 → 63
Calls

4 calls. Slowest were:

21.0ms
(* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B)))
10.0ms
(pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)
1.0ms
(/ x (tan B))

series447.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

145.0ms
(* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B)))
137.0ms
(/ x (tan B))
93.0ms
(pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)

simplify1.3s

Counts
38 → 75
Calls

38 calls. Slowest were:

217.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2))))))
215.0ms
(* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (* (* (/ F (sin B)) (/ F (sin B))) (/ F (sin B))))
204.0ms
(- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2)))))

prune1.4s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Counts
4 → 60
Calls

4 calls. Slowest were:

19.0ms
(* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)
19.0ms
(/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B))
8.0ms
(pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)

series423.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

147.0ms
(/ (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (sin B))
128.0ms
(/ x (tan B))
89.0ms
(pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)

simplify1.9s

Counts
38 → 72
Calls

38 calls. Slowest were:

544.0ms
(/ (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (* (sin B) (sin B)) (sin B)))
236.0ms
(- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2)))))
222.0ms
(- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8)))))

prune1.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

18.8b
(sqrt (+ (+ 2 (* F F)) (* 2 x)))
18.8b
(sqrt (+ (+ 2 (* F F)) (* 2 x)))
0.8b
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2)) F) (sin B))
0.6b
(* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2))

rewrite77.0ms

Algorithm
rewrite-expression-head
Counts
4 → 86
Calls

4 calls. Slowest were:

36.0ms
(* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2))
34.0ms
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2)) F) (sin B))
3.0ms
(sqrt (+ (+ 2 (* F F)) (* 2 x)))

series261.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

149.0ms
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2)) F) (sin B))
50.0ms
(* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2))
36.0ms
(sqrt (+ (+ 2 (* F F)) (* 2 x)))

simplify3.6s

Counts
66 → 98
Calls

66 calls. Slowest were:

597.0ms
(sqrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3)))
584.0ms
(sqrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3)))
191.0ms
(- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2))))))

prune2.3s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize79.0ms

Local error

Found 4 expressions with local error:

19.8b
(cbrt (+ 2 (+ (* x 2) (* F F))))
19.8b
(cbrt (+ (+ 2 (* F F)) (* 2 x)))
18.8b
(sqrt (+ (+ 2 (* F F)) (* 2 x)))
0.8b
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (* (fabs (cbrt (+ 2 (+ (* x 2) (* F F))))) (sqrt (cbrt (+ (+ 2 (* F F)) (* 2 x))))) -1/2)) F) (sin B))

rewrite67.0ms

Algorithm
rewrite-expression-head
Counts
4 → 59
Calls

4 calls. Slowest were:

53.0ms
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (* (fabs (cbrt (+ 2 (+ (* x 2) (* F F))))) (sqrt (cbrt (+ (+ 2 (* F F)) (* 2 x))))) -1/2)) F) (sin B))
6.0ms
(sqrt (+ (+ 2 (* F F)) (* 2 x)))
4.0ms
(cbrt (+ (+ 2 (* F F)) (* 2 x)))

series643.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

303.0ms
(/ (* (* (pow (sqrt (+ (+ 2 (* F F)) (* 2 x))) -1/2) (pow (* (fabs (cbrt (+ 2 (+ (* x 2) (* F F))))) (sqrt (cbrt (+ (+ 2 (* F F)) (* 2 x))))) -1/2)) F) (sin B))
199.0ms
(cbrt (+ 2 (+ (* x 2) (* F F))))
102.0ms
(cbrt (+ (+ 2 (* F F)) (* 2 x)))

simplify3.9s

Counts
40 → 71
Calls

40 calls. Slowest were:

718.0ms
(sqrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3)))
602.0ms
(cbrt (+ (pow (+ 2 (* F F)) 3) (pow (* 2 x) 3)))
215.0ms
(- (+ (exp (* 1/3 (- (log -2) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -2) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -2) (log (/ -1 x))))) (pow x 2))))

prune2.2s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes441.0ms

Please include this information when filing a bug report:

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