Time bar (total: 21.7s)Debug logProfile
1 alts after pruning (1 fresh and 0 done)
Merged error: 21.3b
Found 2 expressions with local error:
| 21.2b | (/ (* (- x y) (+ y x)) (fma x x (* y y))) |
| 0.0b | (fma x x (* y y)) |
2 calls. Slowest were:
| 6.0ms | (/ (* (- x y) (+ y x)) (fma x x (* y y))) |
| 0.0ms | (fma x x (* y y)) |
2 calls. Slowest were:
| 42.0ms | (/ (* (- x y) (+ y x)) (fma x x (* y y))) |
| 30.0ms | (fma x x (* y y)) |
28 calls. Slowest were:
| 410.0ms | (* (- (* x x) (* y y)) (+ (pow y 3) (pow x 3))) |
| 370.0ms | (* (- (pow x 3) (pow y 3)) (+ y x)) |
| 364.0ms | (* (- (* x x) (* y y)) (+ y x)) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) |
| 0.0b | (/ (+ x y) (hypot x y)) |
| 0.0b | (/ (- x y) (hypot x y)) |
3 calls. Slowest were:
| 15.0ms | (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) |
| 6.0ms | (/ (+ x y) (hypot x y)) |
| 4.0ms | (/ (- x y) (hypot x y)) |
3 calls. Slowest were:
| 72.0ms | (/ (- x y) (hypot x y)) |
| 65.0ms | (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) |
| 59.0ms | (/ (+ x y) (hypot x y)) |
102 calls. Slowest were:
| 391.0ms | (+ (- (log (- x y)) (log (hypot x y))) (- (log (+ x y)) (log (hypot x y)))) |
| 334.0ms | (/ (* (* (+ x y) (+ x y)) (+ x y)) (* (* (hypot x y) (hypot x y)) (hypot x y))) |
| 333.0ms | (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (/ 1 (/ (hypot x y) (- x y))) |
| 0.0b | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 0.0b | (/ (hypot x y) (- x y)) |
| 0.0b | (/ (+ x y) (hypot x y)) |
4 calls. Slowest were:
| 13.0ms | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 7.0ms | (/ (hypot x y) (- x y)) |
| 6.0ms | (/ (+ x y) (hypot x y)) |
4 calls. Slowest were:
| 66.0ms | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 64.0ms | (/ (hypot x y) (- x y)) |
| 62.0ms | (/ 1 (/ (hypot x y) (- x y))) |
112 calls. Slowest were:
| 315.0ms | (/ (* (* (+ x y) (+ x y)) (+ x y)) (* (* (hypot x y) (hypot x y)) (hypot x y))) |
| 304.0ms | (+ (log (/ 1 (/ (hypot x y) (- x y)))) (- (log (+ x y)) (log (hypot x y)))) |
| 249.0ms | (+ (log (/ 1 (/ (hypot x y) (- x y)))) (log (/ (+ x y) (hypot x y)))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 1.8b | (log1p (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y)))) |
| 0.0b | (/ 1 (/ (hypot x y) (- x y))) |
| 0.0b | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 0.0b | (/ (hypot x y) (- x y)) |
4 calls. Slowest were:
| 13.0ms | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 6.0ms | (/ (hypot x y) (- x y)) |
| 2.0ms | (/ 1 (/ (hypot x y) (- x y))) |
4 calls. Slowest were:
| 130.0ms | (log1p (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y)))) |
| 63.0ms | (/ 1 (/ (hypot x y) (- x y))) |
| 58.0ms | (/ (hypot x y) (- x y)) |
86 calls. Slowest were:
| 316.0ms | (+ (log (/ 1 (/ (hypot x y) (- x y)))) (- (log (+ x y)) (log (hypot x y)))) |
| 213.0ms | (* (/ 1 (/ (hypot x y) (- x y))) (/ (+ x y) (hypot x y))) |
| 198.0ms | (+ (log (/ 1 (/ (hypot x y) (- x y)))) (log (/ (+ x y) (hypot x y)))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Please include this information when filing a bug report:
herbie shell --seed 2018357 +o rules:numerics
(FPCore (x y)
:name "Kahan p9 Example"
:pre (and (< 0 x 1) (< y 1))
:herbie-target
(if (< 0.5 (fabs (/ x y)) 2) (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) (- 1 (/ 2 (+ 1 (* (/ x y) (/ x y))))))
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
| partition: contract violation expected: list? given: 0.03210413594209739 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 |