Time bar (total: 45.9s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 60.3b
Found 2 expressions with local error:
| 2.7b | (- (/ 1 x) (/ 1 (tan x))) |
| 0.0b | (/ 1 (tan x)) |
2 calls. Slowest were:
| 4.0ms | (- (/ 1 x) (/ 1 (tan x))) |
| 1.0ms | (/ 1 (tan x)) |
2 calls. Slowest were:
| 81.0ms | (- (/ 1 x) (/ 1 (tan x))) |
| 39.0ms | (/ 1 (tan x)) |
62 calls. Slowest were:
| 213.0ms | (- (/ 1 x) (+ (* 1/3 x) (* 1/45 (pow x 3)))) |
| 130.0ms | (fma (- (cos x)) (/ 1 (sin x)) (* (cos x) (/ 1 (sin x)))) |
| 116.0ms | (fma (- (cos x)) (/ 1 (sin x)) (* (cos x) (/ 1 (sin x)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.4b
Found 3 expressions with local error:
| 0.4b | (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)) |
| 0.1b | (* (pow x 5) 2/945) |
| 0.0b | (fma 1/45 (* x x) 1/3) |
3 calls. Slowest were:
| 2.0ms | (* (pow x 5) 2/945) |
| 0.0ms | (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)) |
| 0.0ms | (fma 1/45 (* x x) 1/3) |
3 calls. Slowest were:
| 32.0ms | (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)) |
| 26.0ms | (fma 1/45 (* x x) 1/3) |
| 24.0ms | (* (pow x 5) 2/945) |
11 calls. Slowest were:
| 93.0ms | (+ (* 1/3 x) (+ (* 1/45 (pow x 3)) (* 2/945 (pow x 5)))) |
| 85.0ms | (+ (* 1/3 x) (+ (* 1/45 (pow x 3)) (* 2/945 (pow x 5)))) |
| 72.0ms | (+ (* 1/3 x) (+ (* 1/45 (pow x 3)) (* 2/945 (pow x 5)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.5b | (* (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)))) |
4 calls. Slowest were:
| 10.0ms | (* (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)))) |
| 1.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 1.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
4 calls. Slowest were:
| 155.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 140.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 134.0ms | (* (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945)))) |
41 calls. Slowest were:
| 483.0ms | (+ (* 7/2 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 2))) (+ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (* 161/4 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 4))))) |
| 479.0ms | (+ (* 7/2 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 2))) (+ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (* 161/4 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 4))))) |
| 434.0ms | (+ (* 7/2 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 2))) (+ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (* 161/4 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 4))))) |
10 alts after pruning (8 fresh and 2 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 0.7b | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
4 calls. Slowest were:
| 1.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 1.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 1.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
4 calls. Slowest were:
| 153.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 146.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
| 141.0ms | (cbrt (fma (fma 1/45 (* x x) 1/3) x (* (pow x 5) 2/945))) |
24 calls. Slowest were:
| 718.0ms | (+ (exp (* 1/3 (+ (log 1/3) (log x)))) (+ (* 23/14175 (* (pow x 4) (exp (* 1/3 (+ (log 1/3) (log x)))))) (* 1/45 (* (pow x 2) (exp (* 1/3 (+ (log 1/3) (log x)))))))) |
| 482.0ms | (+ (* 7/2 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 2))) (+ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (* 161/4 (/ (exp (* 1/3 (- (log 2/945) (* 5 (log (/ 1 x)))))) (pow x 4))))) |
| 441.0ms | (+ (exp (* 1/3 (+ (log 1/3) (log x)))) (+ (* 23/14175 (* (pow x 4) (exp (* 1/3 (+ (log 1/3) (log x)))))) (* 1/45 (* (pow x 2) (exp (* 1/3 (+ (log 1/3) (log x)))))))) |
15 alts after pruning (12 fresh and 3 done)
Merged error: 0.2b
Please include this information when filing a bug report:
herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
:name "invcot (example 3.9)"
:pre (and (< -0.026 x) (< x 0.026))
:herbie-target
(if (< (fabs x) 0.026) (* (/ x 3) (+ 1 (/ (* x x) 15))) (- (/ 1 x) (/ 1 (tan x))))
(- (/ 1 x) (/ 1 (tan x))))
| partition: contract violation expected: list? given: 0.3378488264842196 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 |