


Bits error versus x
Results
if x < -0.028854011673641617 or 0.03426882273840378 < x Initial program 0.1
Initial simplification0.1
rmApplied div-sub0.1
if -0.028854011673641617 < x < 0.03426882273840378Initial program 62.8
Initial simplification62.8
Taylor expanded around 0 0.0
Final simplification0.0
herbie shell --seed 2018362
(FPCore (x)
:name "sintan (problem 3.4.5)"
(/ (- x (sin x)) (- x (tan x))))
Time bar (total: 15.2s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 37.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:
| 103.0ms | (- x (tan x)) |
| 79.0ms | (/ (- x (sin x)) (- x (tan x))) |
| 64.0ms | (- x (sin x)) |
39 calls. Slowest were:
| 204.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))))) |
| 181.0ms | (/ (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x)))) |
| 167.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: 0b
Found 3 expressions with local error:
| 14.0b | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 0.1b | (* 9/40 (pow x 2)) |
| 0.1b | (* 27/2800 (pow x 4)) |
3 calls. Slowest were:
| 9.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 2.0ms | (* 9/40 (pow x 2)) |
| 2.0ms | (* 27/2800 (pow x 4)) |
3 calls. Slowest were:
| 27.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 22.0ms | (* 27/2800 (pow x 4)) |
| 11.0ms | (* 9/40 (pow x 2)) |
16 calls. Slowest were:
| 77.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
| 68.0ms | (/ (exp (* 9/40 (pow x 2))) (exp (+ (* 27/2800 (pow x 4)) 1/2))) |
| 43.0ms | (- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 1.5b | (- x (tan x)) |
| 1.5b | (- x (tan x)) |
| 1.4b | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 0.1b | (/ (sin x) (- x (tan x))) |
4 calls. Slowest were:
| 6.0ms | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 3.0ms | (/ (sin x) (- x (tan x))) |
| 1.0ms | (- x (tan x)) |
4 calls. Slowest were:
| 269.0ms | (- (/ x (- x (tan x))) (/ (sin x) (- x (tan x)))) |
| 78.0ms | (/ (sin x) (- x (tan x))) |
| 54.0ms | (- x (tan x)) |
| 52.0ms | (- x (tan x)) |
55 calls. Slowest were:
| 417.0ms | (/ (* (* (sin x) (sin x)) (sin x)) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x)))) |
| 265.0ms | (- (* x (- x (tan x))) (* (- x (tan x)) (sin x))) |
| 191.0ms | (+ (/ (pow (sin x) 2) (* (cos x) (pow x 2))) (+ (/ (pow (sin x) 3) (* (pow (cos x) 2) (pow x 3))) (/ (sin x) x))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 18.4b | (/ (- (pow x 3) (pow (sin x) 3)) (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x)))))) |
| 1.5b | (- x (tan x)) |
| 1.5b | (- (pow x 3) (pow (sin x) 3)) |
| 0.3b | (pow (sin x) 3) |
4 calls. Slowest were:
| 36.0ms | (/ (- (pow x 3) (pow (sin x) 3)) (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x)))))) |
| 8.0ms | (- (pow x 3) (pow (sin x) 3)) |
| 2.0ms | (pow (sin x) 3) |
4 calls. Slowest were:
| 395.0ms | (/ (- (pow x 3) (pow (sin x) 3)) (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x)))))) |
| 79.0ms | (- x (tan x)) |
| 65.0ms | (- (pow x 3) (pow (sin x) 3)) |
| 34.0ms | (pow (sin x) 3) |
69 calls. Slowest were:
| 584.0ms | (* (+ x (tan x)) (- (* x x) (+ (* (sin x) (sin x)) (* x (sin x))))) |
| 391.0ms | (/ (* (* (- (pow x 3) (pow (sin x) 3)) (- (pow x 3) (pow (sin x) 3))) (- (pow x 3) (pow (sin x) 3))) (* (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))) (* (* (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x)))) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x))))) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x))))))) |
| 353.0ms | (/ (* (* (- (pow x 3) (pow (sin x) 3)) (- (pow x 3) (pow (sin x) 3))) (- (pow x 3) (pow (sin x) 3))) (* (* (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x))))) (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x)))))) (* (- x (tan x)) (+ (* x x) (+ (* (sin x) (sin x)) (* x (sin x))))))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 31.4b