


Bits error versus x
Results
if x < -0.028503704682151434Initial program 0.1
rmApplied add-cbrt-cube41.5
Applied add-cbrt-cube41.3
Applied cbrt-undiv41.3
Simplified0.1
if -0.028503704682151434 < x < 0.028176034411070774Initial program 62.6
Taylor expanded around 0 0.0
rmApplied associate--r+0.0
if 0.028176034411070774 < x Initial program 0.0
rmApplied div-sub0.0
Final simplification0.0
herbie shell --seed 2019007
(FPCore (x)
:name "sintan (problem 3.4.5)"
(/ (- x (sin x)) (- x (tan x))))
Time bar (total: 26.2s)Debug log
1 calls. Slowest were:
| 17.0ms | (/ (- x (sin x)) (- x (tan x))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 31.4b
Found 3 expressions with local error:
| 1.5b | (- x (sin x)) |
| 1.5b | (- x (tan x)) |
| 0.0b | (/ (- x (sin x)) (- x (tan x))) |
3 calls. Slowest were:
| 6.0ms | (/ (- x (sin x)) (- x (tan x))) |
| 3.0ms | (- x (sin x)) |
| 1.0ms | (- x (tan x)) |
3 calls. Slowest were:
| 422.0ms | (- x (sin x)) |
| 120.0ms | (/ (- x (sin x)) (- x (tan x))) |
| 82.0ms | (- x (tan x)) |
39 calls. Slowest were:
| 238.0ms | (- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2))))) |
| 184.0ms | (/ (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x)))) |
| 162.0ms | (- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2))))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 18.3b | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 0.5b | (* 27/2800 (pow x 4)) |
| 0.1b | (* 9/40 (pow x 2)) |
| 0.0b | (+ (* 27/2800 (pow x 4)) 1/2) |
4 calls. Slowest were:
| 9.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 4.0ms | (+ (* 27/2800 (pow x 4)) 1/2) |
| 2.0ms | (* 27/2800 (pow x 4)) |
4 calls. Slowest were:
| 59.0ms | (+ (* 27/2800 (pow x 4)) 1/2) |
| 28.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 25.0ms | (* 9/40 (pow x 2)) |
| 16.0ms | (* 27/2800 (pow x 4)) |
19 calls. Slowest were:
| 110.0ms | (/ (exp (* 9/40 (pow x 2))) (exp (+ (* 27/2800 (pow x 4)) 1/2))) |
| 73.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 49.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 18.3b | (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) |
| 0.5b | (* 27/2800 (pow x 4)) |
| 0.1b | (* 9/40 (pow x 2)) |
3 calls. Slowest were:
| 6.0ms | (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) |
| 2.0ms | (* 9/40 (pow x 2)) |
| 2.0ms | (* 27/2800 (pow x 4)) |
3 calls. Slowest were:
| 50.0ms | (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) |
| 19.0ms | (* 27/2800 (pow x 4)) |
| 12.0ms | (* 9/40 (pow x 2)) |
16 calls. Slowest were:
| 34.0ms | (/ (exp (* 9/40 (pow x 2))) (exp (* 27/2800 (pow x 4)))) |
| 26.0ms | (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) |
| 25.0ms | (- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.5b | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 1.5b | (- x (tan x)) |
| 1.5b | (- x (tan x)) |
| 0.1b | (/ (sin x) (- x (tan x))) |
4 calls. Slowest were:
| 7.0ms | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 3.0ms | (/ (sin x) (- x (tan x))) |
| 0.0ms | (- x (tan x)) |
4 calls. Slowest were:
| 333.0ms | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 78.0ms | (/ (sin x) (- x (tan x))) |
| 78.0ms | (- x (tan x)) |
| 64.0ms | (- x (tan x)) |
55 calls. Slowest were:
| 349.0ms | (/ (* (* (sin x) (sin x)) (sin x)) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x)))) |
| 338.0ms | (- (* x (- x (tan x))) (* (- x (tan x)) (sin x))) |
| 214.0ms | (- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2))))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 31.5b