Error in 44.3s

Runtime

Time bar (total: 44.3s)Debug log

start1.0s

Algorithm
intervals

setup61.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.7b

localize42.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Counts
3 → 54
Calls

3 calls. Slowest were:

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

series604.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

351.0ms
(/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky)))
176.0ms
(hypot (sin kx) (sin ky))
77.0ms
(* (sin th) (sin ky))

simplify1.8s

Counts
33 → 63
Calls

33 calls. Slowest were:

603.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))))
472.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))))
435.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))

prune895.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.7b

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Counts
3 → 111
Calls

3 calls. Slowest were:

10.0ms
(/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky)))
7.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))
0.0ms
(hypot (sin kx) (sin ky))

series563.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

237.0ms
(/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky)))
205.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))
121.0ms
(hypot (sin kx) (sin ky))

simplify4.4s

Counts
132 → 120
Calls

132 calls. Slowest were:

425.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))))
420.0ms
(/ (* (cbrt (sin th)) (cbrt (sin th))) (/ 1 (* (cbrt (sin ky)) (cbrt (sin ky)))))
403.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.9s

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 8.7b

localize6.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 172
Calls

4 calls. Slowest were:

8.0ms
(/ (/ (hypot (sin kx) (sin ky)) (sin ky)) (sin th))
3.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))
3.0ms
(/ 1 (/ (/ (hypot (sin kx) (sin ky)) (sin ky)) (sin th)))

series838.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

262.0ms
(/ (/ (hypot (sin kx) (sin ky)) (sin ky)) (sin th))
249.0ms
(/ 1 (/ (/ (hypot (sin kx) (sin ky)) (sin ky)) (sin th)))
197.0ms
(/ (hypot (sin kx) (sin ky)) (sin ky))

simplify4.1s

Counts
180 → 184
Calls

180 calls. Slowest were:

448.0ms
(- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3)))
362.0ms
(/ (/ (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))) (* (* (sin ky) (sin ky)) (sin ky))) (* (* (sin th) (sin th)) (sin th)))
289.0ms
(/ (/ (* (cbrt (hypot (sin kx) (sin ky))) (cbrt (hypot (sin kx) (sin ky)))) (* (cbrt (sin ky)) (cbrt (sin ky)))) (* (cbrt (sin th)) (cbrt (sin th))))

prune2.8s

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 8.7b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))
0.3b
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))
0.3b
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))
0.3b
(* (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))) (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Counts
4 → 125
Calls

4 calls. Slowest were:

10.0ms
(* (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))) (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))))
2.0ms
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))
2.0ms
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))

series1.1s

Counts
4 → 12
Calls

4 calls. Slowest were:

328.0ms
(* (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))) (cbrt (/ (hypot (sin kx) (sin ky)) (sin ky))))
300.0ms
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))
257.0ms
(cbrt (/ (hypot (sin kx) (sin ky)) (sin ky)))

simplify825.0ms

Counts
98 → 137
Calls

98 calls. Slowest were:

57.0ms
(pow (* (sqrt (+ (pow (sin ky) 2) (pow (sin kx) 2))) (/ 1 (sin ky))) 1/3)
57.0ms
(pow (* (sqrt (+ (pow (sin ky) 2) (pow (sin kx) 2))) (/ 1 (sin ky))) 1/3)
57.0ms
(pow (* (sqrt (+ (pow (sin ky) 2) (pow (sin kx) 2))) (/ 1 (sin ky))) 1/3)

prune2.1s

Pruning

26 alts after pruning (25 fresh and 1 done)

Merged error: 8.7b

regimes2.3s

Please include this information when filing a bug report:

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