Time bar (total: 17.0s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 14.4b
Found 3 expressions with local error:
| 0.4b | (- (hypot re im) re) |
| 0.0b | (hypot re im) |
| 0.0b | (sqrt (* (- (hypot re im) re) 2.0)) |
3 calls. Slowest were:
| 5.0ms | (- (hypot re im) re) |
| 3.0ms | (sqrt (* (- (hypot re im) re) 2.0)) |
| 0.0ms | (hypot re im) |
3 calls. Slowest were:
| 476.0ms | (- (hypot re im) re) |
| 130.0ms | (sqrt (* (- (hypot re im) re) 2.0)) |
| 40.0ms | (hypot re im) |
14 calls. Slowest were:
| 270.0ms | (sqrt (* (- (* (hypot re im) (hypot re im)) (* re re)) 2.0)) |
| 70.0ms | (sqrt (* (- (pow (hypot re im) 3) (pow re 3)) 2.0)) |
| 3.0ms | (sqrt (- (hypot re im) re)) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 14.2b
Found 4 expressions with local error:
| 10.6b | (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) |
| 0.5b | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 0.0b | (sqrt (hypot re im)) |
| 0.0b | (sqrt (hypot re im)) |
4 calls. Slowest were:
| 7.0ms | (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) |
| 5.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 1.0ms | (sqrt (hypot re im)) |
4 calls. Slowest were:
| 55.0ms | (sqrt (hypot re im)) |
| 49.0ms | (sqrt (hypot re im)) |
| 44.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
42 calls. Slowest were:
| 39.0ms | (* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))) |
| 4.0ms | (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) |
| 4.0ms | (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 14.2b
Found 4 expressions with local error:
| 8.4b | (- (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) re) |
| 0.5b | (cbrt (hypot re im)) |
| 0.5b | (cbrt (hypot re im)) |
| 0.5b | (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) |
4 calls. Slowest were:
| 24.0ms | (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) |
| 17.0ms | (- (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) re) |
| 1.0ms | (cbrt (hypot re im)) |
4 calls. Slowest were:
| 169.0ms | (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) |
| 107.0ms | (- (* (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im))) re) |
| 101.0ms | (cbrt (hypot re im)) |
32 calls. Slowest were:
| 497.0ms | (- (+ (* 1/3 (* (* (pow re 2) (fabs (pow (hypot re im) 1/3))) (pow (/ 1 (pow im 4)) 1/3))) (* (fabs (pow (hypot re im) 1/3)) (pow (pow im 2) 1/3))) re) |
| 272.0ms | (* (* (* (* (fabs (cbrt (hypot re im))) (fabs (cbrt (hypot re im)))) (fabs (cbrt (hypot re im)))) (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im))))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))) |
| 248.0ms | (+ (* 1/3 (* (* (pow re 2) (fabs (pow (hypot re im) 1/3))) (pow (/ 1 (pow im 4)) 1/3))) (* (fabs (pow (hypot re im) 1/3)) (pow (pow im 2) 1/3))) |
13 alts after pruning (12 fresh and 1 done)
Merged error: 14.2b
Found 4 expressions with local error:
| 11.6b | (- (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re) |
| 0.5b | (cbrt (hypot re im)) |
| 0.5b | (cbrt (hypot re im)) |
| 0.5b | (cbrt (hypot re im)) |
4 calls. Slowest were:
| 29.0ms | (- (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re) |
| 1.0ms | (cbrt (hypot re im)) |
| 1.0ms | (cbrt (hypot re im)) |
4 calls. Slowest were:
| 119.0ms | (cbrt (hypot re im)) |
| 107.0ms | (cbrt (hypot re im)) |
| 105.0ms | (cbrt (hypot re im)) |
22 calls. Slowest were:
| 32.0ms | (+ (* 1/6 (* (pow re 2) (pow (/ 1 (pow im 5)) 1/3))) (pow im 1/3)) |
| 26.0ms | (+ (* 1/6 (* (pow re 2) (pow (/ 1 (pow im 5)) 1/3))) (pow im 1/3)) |
| 24.0ms | (+ (* 1/6 (* (pow re 2) (pow (/ 1 (pow im 5)) 1/3))) (pow im 1/3)) |
12 alts after pruning (11 fresh and 1 done)
Merged error: 14.2b
Please include this information when filing a bug report:
herbie shell --seed 2018359 +o rules:numerics
(FPCore (re im)
:name "math.sqrt on complex, imaginary part, im greater than 0 branch"
(* 0.5 (sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))))
| partition: contract violation expected: list? given: 13.335446670334782 argument position: 2nd other arguments...: #<procedure:ordinary-value?> | L | C | |
|---|---|---|---|
| partition | /home/p92/racket/collects/racket/list.rkt | 555 | 0 |
| errors-score | /data/pavpan/nightlies/herbie/develop/src/points.rkt | 322 | 0 |
| for-loop | /data/pavpan/nightlies/herbie/develop/src/sandbox.rkt | 75 | 12 |
| (unnamed) | /home/p92/racket/collects/racket/private/more-scheme.rkt | 261 | 28 |
| run | /home/p92/racket/share/pkgs/profile-lib/main.rkt | 39 | 2 |
| profile-thunk16 | /home/p92/racket/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /home/p92/racket/collects/racket/private/more-scheme.rkt | 261 | 28 |