Error in 17.0s

Runtime

Time bar (total: 17.0s)Debug logProfile

start220.0ms

Algorithm
intervals

setup64.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
3 → 37
Calls

3 calls. Slowest were:

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

series134.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

95.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
28.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))
11.0ms
(/ (acos (/ (- g) h)) 3)

simplify219.0ms

Counts
14 → 46
Calls

14 calls. Slowest were:

36.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
33.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
27.0ms
(* 1/3 (acos (* -1 (/ g h))))

prune579.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 1.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
4 → 55
Calls

4 calls. Slowest were:

3.0ms
(log (exp (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
3.0ms
(/ (acos (/ (- g) h)) 3)
2.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

series219.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

101.0ms
(log (exp (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
74.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
36.0ms
(fma 2/3 PI (/ (acos (/ (- g) h)) 3))

simplify507.0ms

Counts
25 → 67
Calls

25 calls. Slowest were:

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

prune1.1s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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)))
1.0b
(/ (acos (/ (- g) h)) 3)

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 47
Calls

4 calls. Slowest were:

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

series273.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

99.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
84.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
77.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

simplify408.0ms

Counts
19 → 59
Calls

19 calls. Slowest were:

40.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
38.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
38.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune1.4s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

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)))
1.0b
(log1p (expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
4 → 41
Calls

4 calls. Slowest were:

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

series420.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

154.0ms
(log1p (expm1 (cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))))
104.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))
92.0ms
(cos (fma 2/3 PI (/ (acos (/ (- g) h)) 3)))

simplify359.0ms

Counts
16 → 53
Calls

16 calls. Slowest were:

37.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
36.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))
36.0ms
(cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)))

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes292.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +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.07754431755995736 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