Time bar (total: 17.0s)Debug logProfile
1 alts after pruning (1 fresh and 0 done)
Merged error: 30.9b
Found 1 expressions with local error:
| 3.2b | (- (sqrt (+ 1 x)) (sqrt x)) |
1 calls. Slowest were:
| 6.0ms | (- (sqrt (+ 1 x)) (sqrt x)) |
1 calls. Slowest were:
| 23.0ms | (- (sqrt (+ 1 x)) (sqrt x)) |
50 calls. Slowest were:
| 37.0ms | (fma (sqrt 1) (sqrt (+ 1 x)) (- (* (sqrt x) 1))) |
| 30.0ms | (/ (exp (sqrt (+ 1 x))) (exp (sqrt x))) |
| 30.0ms | (fma (sqrt (sqrt (+ 1 x))) (sqrt (sqrt (+ 1 x))) (- (* (sqrt (sqrt x)) (sqrt (sqrt x))))) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 30.2b
Found 4 expressions with local error:
| 30.9b | (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))) |
| 0.3b | (cbrt (+ x 1)) |
| 0.3b | (cbrt (+ x 1)) |
| 0.1b | (sqrt (cbrt (+ x 1))) |
4 calls. Slowest were:
| 1.0ms | (sqrt (cbrt (+ x 1))) |
| 1.0ms | (cbrt (+ x 1)) |
| 1.0ms | (cbrt (+ x 1)) |
4 calls. Slowest were:
| 67.0ms | (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))) |
| 51.0ms | (sqrt (cbrt (+ x 1))) |
| 33.0ms | (cbrt (+ x 1)) |
32 calls. Slowest were:
| 262.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
| 246.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
| 219.0ms | (- (+ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) (* 1/6 (/ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) x))) (* 5/72 (/ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
22 alts after pruning (22 fresh and 0 done)
Merged error: 30.2b
Found 4 expressions with local error:
| 30.9b | (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))) |
| 5.9b | (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))) |
| 0.5b | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))) |
| 0.3b | (cbrt (+ x 1)) |
4 calls. Slowest were:
| 4.0ms | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))) |
| 2.0ms | (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))) |
| 1.0ms | (cbrt (+ x 1)) |
4 calls. Slowest were:
| 121.0ms | (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))) |
| 73.0ms | (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))) |
| 61.0ms | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))) |
29 calls. Slowest were:
| 240.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
| 75.0ms | (- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (pow (/ 1 x) -1/3)) (* 1/9 (pow (/ 1 (pow x 5)) 1/3))) |
| 53.0ms | (- (+ (* 1/3 x) 1) (* 1/9 (pow x 2))) |
30 alts after pruning (30 fresh and 0 done)
Merged error: 30.2b
Found 4 expressions with local error:
| 30.9b | (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))) |
| 5.9b | (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))) |
| 0.6b | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))) |
| 0.3b | (cbrt (+ x 1)) |
4 calls. Slowest were:
| 4.0ms | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))) |
| 2.0ms | (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))) |
| 1.0ms | (cbrt (+ x 1)) |
4 calls. Slowest were:
| 130.0ms | (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))) |
| 89.0ms | (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))) |
| 60.0ms | (exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))) |
29 calls. Slowest were:
| 203.0ms | (- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2)))) |
| 85.0ms | (- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (pow (/ 1 x) -1/3)) (* 1/9 (pow (/ 1 (pow x 5)) 1/3))) |
| 76.0ms | (- (+ (* 1/3 x) 1) (* 1/9 (pow x 2))) |
31 alts after pruning (31 fresh and 0 done)
Merged error: 30.2b
Please include this information when filing a bug report:
herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
:name "2sqrt (example 3.1)"
:herbie-target
(/ 1 (+ (sqrt (+ x 1)) (sqrt x)))
(- (sqrt (+ x 1)) (sqrt x)))
| partition: contract violation expected: list? given: 30.01157865279454 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 |