Error in 16.0s

Runtime

Time bar (total: 16.0s)Debug logProfile

start235.0ms

Algorithm
intervals

setup24.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Counts
4 → 50
Calls

4 calls. Slowest were:

12.0ms
(cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)))
9.0ms
(+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))
6.0ms
(/ (acos (/ (- g) h)) 3)

series130.0ms

Counts
4 → 10
Calls

4 calls. Slowest were:

98.0ms
(cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)))
24.0ms
(+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))
8.0ms
(/ (acos (/ (- g) h)) 3)

simplify408.0ms

Counts
23 → 60
Calls

23 calls. Slowest were:

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

prune758.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize68.0ms

Local error

Found 4 expressions with local error:

56.9b
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
1.0b
(sin (/ PI 3))
1.0b
(/ PI 3)
1.0b
(/ PI 3/2)

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
4 → 38
Calls

4 calls. Slowest were:

7.0ms
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
1.0ms
(sin (/ PI 3))
0.0ms
(/ PI 3)

series113.0ms

Counts
4 → 6
Calls

4 calls. Slowest were:

113.0ms
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
0.0ms
(sin (/ PI 3))
0.0ms
(/ PI 3/2)

simplify782.0ms

Counts
10 → 44
Calls

10 calls. Slowest were:

270.0ms
(* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2)
226.0ms
(* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2)
214.0ms
(* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2)

prune945.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

56.9b
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
1.0b
(/ PI 3/2)
1.0b
(/ PI 3/2)
1.0b
(sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 37
Calls

4 calls. Slowest were:

8.0ms
(sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3))))
8.0ms
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
0.0ms
(/ PI 3/2)

series90.0ms

Counts
4 → 6
Calls

4 calls. Slowest were:

90.0ms
(cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))
0.0ms
(/ PI 3/2)
0.0ms
(sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3))))

simplify54.0ms

Counts
6 → 43
Calls

6 calls. Slowest were:

14.0ms
(cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI)))
14.0ms
(cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI)))
11.0ms
(cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI)))

prune826.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize61.0ms

Local error

Found 4 expressions with local error:

60.1b
(+ (* (cos (/ (acos (/ g h)) 3)) (cos (/ PI 3/2))) (* (sin (/ (acos (/ g h)) 3)) (sin (/ PI 3/2))))
1.6b
(cos (/ PI 3/2))
1.0b
(sin (/ PI 3/2))
1.0b
(/ PI 3/2)

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
4 → 36
Calls

4 calls. Slowest were:

9.0ms
(+ (* (cos (/ (acos (/ g h)) 3)) (cos (/ PI 3/2))) (* (sin (/ (acos (/ g h)) 3)) (sin (/ PI 3/2))))
1.0ms
(sin (/ PI 3/2))
1.0ms
(cos (/ PI 3/2))

series314.0ms

Counts
4 → 6
Calls

4 calls. Slowest were:

314.0ms
(+ (* (cos (/ (acos (/ g h)) 3)) (cos (/ PI 3/2))) (* (sin (/ (acos (/ g h)) 3)) (sin (/ PI 3/2))))
0.0ms
(cos (/ PI 3/2))
0.0ms
(/ PI 3/2)

simplify223.0ms

Counts
9 → 42
Calls

9 calls. Slowest were:

173.0ms
(+ (* (+ (cos (+ (/ (acos (/ g h)) 3) (/ PI 3/2))) (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2)))) 2) (* 2 (- (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) (cos (+ (/ (acos (/ g h)) 3) (/ PI 3/2))))))
11.0ms
(* (exp (* (cos (/ (acos (/ g h)) 3)) (cos (/ PI 3/2)))) (exp (* (sin (/ (acos (/ g h)) 3)) (sin (/ PI 3/2)))))
9.0ms
(+ (* (cos (* 2/3 PI)) (cos (* 1/3 (acos (/ g h))))) (* (sin (* 1/3 (acos (/ g h)))) (sin (* 2/3 PI))))

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes141.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(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.02093872187554087 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