Error in 37.8s

Runtime

Time bar (total: 37.8s)Debug logProfile

start417.0ms

Algorithm
intervals

setup93.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.2b

localize28.0ms

Local error

Found 3 expressions with local error:

1.9b
(/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky)))
0.2b
(* (sin th) (sin ky))
0.1b
(hypot (sin kx) (sin ky))

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
3 → 54
Calls

3 calls. Slowest were:

8.0ms
(/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky)))
4.0ms
(* (sin th) (sin ky))
0.0ms
(hypot (sin kx) (sin ky))

series478.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

307.0ms
(/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky)))
120.0ms
(hypot (sin kx) (sin ky))
50.0ms
(* (sin th) (sin ky))

simplify1.7s

Counts
33 → 63
Calls

33 calls. Slowest were:

520.0ms
(/ (* (* (* (sin th) (sin ky)) (* (sin th) (sin ky))) (* (sin th) (sin ky))) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))))
519.0ms
(/ (* (* (* (sin th) (sin th)) (sin th)) (* (* (sin ky) (sin ky)) (sin ky))) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))))
371.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))

prune875.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 9.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (sin ky) (hypot (sin kx) (sin ky)))
0.1b
(* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky))))
0.1b
(hypot (sin kx) (sin ky))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 71
Calls

3 calls. Slowest were:

5.0ms
(* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky))))
3.0ms
(/ (sin ky) (hypot (sin kx) (sin ky)))
0.0ms
(hypot (sin kx) (sin ky))

series609.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

269.0ms
(* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky))))
185.0ms
(/ (sin ky) (hypot (sin kx) (sin ky)))
155.0ms
(hypot (sin kx) (sin ky))

simplify1.8s

Counts
55 → 80
Calls

55 calls. Slowest were:

597.0ms
(* (* (* (sin th) (sin th)) (sin th)) (/ (* (* (sin ky) (sin ky)) (sin ky)) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky)))))
363.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))
206.0ms
(* (* (* (sin th) (sin th)) (sin th)) (* (* (/ (sin ky) (hypot (sin kx) (sin ky))) (/ (sin ky) (hypot (sin kx) (sin ky)))) (/ (sin ky) (hypot (sin kx) (sin ky)))))

prune1.2s

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 9.6b

localize5.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky)))
0.1b
(/ (hypot (sin kx) (sin ky)) (sin ky))
0.1b
(hypot (sin kx) (sin ky))

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 111
Calls

3 calls. Slowest were:

5.0ms
(/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky)))
3.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))
0.0ms
(hypot (sin kx) (sin ky))

series597.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

263.0ms
(/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky)))
204.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))
130.0ms
(hypot (sin kx) (sin ky))

simplify4.4s

Counts
132 → 120
Calls

132 calls. Slowest were:

490.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))
404.0ms
(/ (* (* (sin th) (sin th)) (sin th)) (/ (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))) (* (* (sin ky) (sin ky)) (sin ky))))
393.0ms
(/ (* (cbrt (sin th)) (cbrt (sin th))) (/ (* (cbrt (hypot (sin kx) (sin ky))) (cbrt (hypot (sin kx) (sin ky)))) (* (cbrt (sin ky)) (cbrt (sin ky)))))

prune1.6s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 9.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin ky) (/ 1 (hypot (sin kx) (sin ky))))
0.2b
(/ 1 (hypot (sin kx) (sin ky)))
0.1b
(* (sin th) (* (sin ky) (/ 1 (hypot (sin kx) (sin ky)))))
0.1b
(hypot (sin kx) (sin ky))

rewrite16.0ms

Algorithm
rewrite-expression-head
Counts
4 → 74
Calls

4 calls. Slowest were:

9.0ms
(* (sin th) (* (sin ky) (/ 1 (hypot (sin kx) (sin ky)))))
5.0ms
(* (sin ky) (/ 1 (hypot (sin kx) (sin ky))))
1.0ms
(/ 1 (hypot (sin kx) (sin ky)))

series838.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

326.0ms
(* (sin th) (* (sin ky) (/ 1 (hypot (sin kx) (sin ky)))))
191.0ms
(* (sin ky) (/ 1 (hypot (sin kx) (sin ky))))
167.0ms
(/ 1 (hypot (sin kx) (sin ky)))

simplify2.7s

Counts
40 → 86
Calls

40 calls. Slowest were:

477.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))
405.0ms
(* (* (* (sin ky) (sin ky)) (sin ky)) (* (* (/ 1 (hypot (sin kx) (sin ky))) (/ 1 (hypot (sin kx) (sin ky)))) (/ 1 (hypot (sin kx) (sin ky)))))
394.0ms
(* (* (* (sin th) (sin th)) (sin th)) (* (* (* (sin ky) (sin ky)) (sin ky)) (* (* (/ 1 (hypot (sin kx) (sin ky))) (/ 1 (hypot (sin kx) (sin ky)))) (/ 1 (hypot (sin kx) (sin ky))))))

prune1.3s

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 9.6b

regimes1.1s

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (kx ky th)
  :name "Toniolo and Linder, Equation (3b), real"
  (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))

Backtrace

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