Error in 18.4s

Runtime

Time bar (total: 18.4s)Debug log

start286.0ms

Algorithm
intervals

setup80.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize42.0ms

Local error

Found 3 expressions with local error:

1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
0.9b
(/ (acos (/ (- g) h)) 3)
0.0b
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
3 → 37
Calls

3 calls. Slowest were:

6.0ms
(/ (acos (/ (- g) h)) 3)
4.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
0.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))

series172.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

126.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
34.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))
12.0ms
(/ (acos (/ (- g) h)) 3)

simplify258.0ms

Counts
14 → 46
Calls

14 calls. Slowest were:

39.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))
35.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
32.0ms
(+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))

prune569.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.9b

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (acos (/ (- g) h))) (cbrt (acos (/ (- g) h))))
1.0b
(cbrt (acos (/ (- g) h)))
1.0b
(cbrt (acos (/ (- g) h)))
1.0b
(cbrt (acos (/ (- g) h)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Counts
4 → 69
Calls

4 calls. Slowest were:

9.0ms
(* (cbrt (acos (/ (- g) h))) (cbrt (acos (/ (- g) h))))
1.0ms
(cbrt (acos (/ (- g) h)))
1.0ms
(cbrt (acos (/ (- g) h)))

series240.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

66.0ms
(cbrt (acos (/ (- g) h)))
62.0ms
(* (cbrt (acos (/ (- g) h))) (cbrt (acos (/ (- g) h))))
57.0ms
(cbrt (acos (/ (- g) h)))

simplify396.0ms

Counts
41 → 81
Calls

41 calls. Slowest were:

35.0ms
(pow (pow (acos (* -1 (/ g h))) 2) 1/3)
31.0ms
(pow (pow (acos (* -1 (/ g h))) 2) 1/3)
29.0ms
(pow (acos (* -1 (/ g h))) 1/3)

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.9b

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Counts
4 → 60
Calls

4 calls. Slowest were:

14.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
6.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
4.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

series510.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

191.0ms
(* (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cbrt (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
117.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
116.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

simplify686.0ms

Counts
35 → 72
Calls

35 calls. Slowest were:

45.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
42.0ms
(pow (pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2) 1/3)
41.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune1.2s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
1.0b
(* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
1.0b
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Counts
4 → 56
Calls

4 calls. Slowest were:

7.0ms
(* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))
3.0ms
(cbrt (* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
2.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

series522.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

205.0ms
(cbrt (* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
128.0ms
(* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))
105.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

simplify638.0ms

Counts
29 → 68
Calls

29 calls. Slowest were:

50.0ms
(cbrt (+ (cos (+ (fma 2/3 PI (/ (acos (/ (- g) h)) 3)) (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cos (- (fma 2/3 PI (/ (acos (/ (- g) h)) 3)) (fma 2/3 PI (/ (acos (/ (- g) h)) 3))))))
49.0ms
(* (* (* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (* (* (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))) (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
47.0ms
(pow (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) 2)

prune1.2s

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes296.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (g h)
  :name "2-ancestry mixing, negative discriminant"
  (* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))))

Backtrace

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