


Bits error versus x
Results
Initial program 31.4
Final simplification31.4
herbie shell --seed 2019002
(FPCore (x)
:name "sintan (problem 3.4.5)"
(/ (- x (sin x)) (- x (tan x))))
Time bar (total: 29.7s)Debug log
1 calls. Slowest were:
| 13.0ms | (/ (- x (sin x)) (- x (tan x))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 34.8b
Found 2 expressions with local error:
| 1.5b | (- x (tan x)) |
| 1.2b | (- x (sin x)) |
2 calls. Slowest were:
| 2.0ms | (- x (tan x)) |
| 0.0ms | (- x (sin x)) |
2 calls. Slowest were:
| 75.0ms | (- x (tan x)) |
| 39.0ms | (- x (sin x)) |
6 calls. Slowest were:
| 149.0ms | (- (+ (* 1/3 (pow x 3)) (+ (* 2/15 (pow x 5)) (* 17/315 (pow x 7))))) |
| 79.0ms | (- (+ (* 1/6 (pow x 3)) (* 1/5040 (pow x 7))) (* 1/120 (pow x 5))) |
| 6.0ms | (- x (/ (sin x) (cos x))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 34.5b
Found 4 expressions with local error:
| 13.5b | (/ (- (* x x) (* (sin x) (sin x))) (+ x (sin x))) |
| 1.5b | (- x (tan x)) |
| 1.2b | (- (* x x) (* (sin x) (sin x))) |
| 0.2b | (* (sin x) (sin x)) |
4 calls. Slowest were:
| 13.0ms | (/ (- (* x x) (* (sin x) (sin x))) (+ x (sin x))) |
| 7.0ms | (* (sin x) (sin x)) |
| 4.0ms | (- (* x x) (* (sin x) (sin x))) |
4 calls. Slowest were:
| 88.0ms | (/ (- (* x x) (* (sin x) (sin x))) (+ x (sin x))) |
| 57.0ms | (- x (tan x)) |
| 49.0ms | (- (* x x) (* (sin x) (sin x))) |
| 15.0ms | (* (sin x) (sin x)) |
66 calls. Slowest were:
| 281.0ms | (/ (- (* x x) (* (sin x) (sin x))) (+ x (sin x))) |
| 155.0ms | (- (+ (* 1/3 (pow x 3)) (+ (* 2/15 (pow x 5)) (* 17/315 (pow x 7))))) |
| 128.0ms | (/ (- (* x x) (* (sin x) (sin x))) (sqrt (+ x (sin x)))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 34.4b
Found 4 expressions with local error:
| 29.1b | (/ (- (* x x) (exp (log (* (sin x) (sin x))))) (+ x (sin x))) |
| 17.7b | (log (* (sin x) (sin x))) |
| 13.6b | (- (* x x) (exp (log (* (sin x) (sin x))))) |
| 1.7b | (exp (log (* (sin x) (sin x)))) |
4 calls. Slowest were:
| 40.0ms | (/ (- (* x x) (exp (log (* (sin x) (sin x))))) (+ x (sin x))) |
| 13.0ms | (exp (log (* (sin x) (sin x)))) |
| 12.0ms | (- (* x x) (exp (log (* (sin x) (sin x))))) |
4 calls. Slowest were:
| 86.0ms | (log (* (sin x) (sin x))) |
| 78.0ms | (/ (- (* x x) (exp (log (* (sin x) (sin x))))) (+ x (sin x))) |
| 50.0ms | (- (* x x) (exp (log (* (sin x) (sin x))))) |
| 25.0ms | (exp (log (* (sin x) (sin x)))) |
78 calls. Slowest were:
| 175.0ms | (- (* (* x x) (* x x)) (* (exp (log (* (sin x) (sin x)))) (exp (log (* (sin x) (sin x)))))) |
| 110.0ms | (/ (* (* (- (* x x) (exp (log (* (sin x) (sin x))))) (- (* x x) (exp (log (* (sin x) (sin x)))))) (- (* x x) (exp (log (* (sin x) (sin x)))))) (* (* (+ x (sin x)) (+ x (sin x))) (+ x (sin x)))) |
| 94.0ms | (/ (* (cbrt (- (* x x) (exp (log (* (sin x) (sin x)))))) (cbrt (- (* x x) (exp (log (* (sin x) (sin x))))))) (* (cbrt (+ x (sin x))) (cbrt (+ x (sin x))))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 34.3b
Found 4 expressions with local error:
| 30.2b | (/ (- (* x x) (log (exp (* (sin x) (sin x))))) (+ x (sin x))) |
| 2.1b | (log (exp (* (sin x) (sin x)))) |
| 1.5b | (- x (tan x)) |
| 0.9b | (- (* x x) (log (exp (* (sin x) (sin x))))) |
4 calls. Slowest were:
| 20.0ms | (/ (- (* x x) (log (exp (* (sin x) (sin x))))) (+ x (sin x))) |
| 8.0ms | (- (* x x) (log (exp (* (sin x) (sin x))))) |
| 4.0ms | (log (exp (* (sin x) (sin x)))) |
4 calls. Slowest were:
| 118.0ms | (/ (- (* x x) (log (exp (* (sin x) (sin x))))) (+ x (sin x))) |
| 59.0ms | (- x (tan x)) |
| 47.0ms | (- (* x x) (log (exp (* (sin x) (sin x))))) |
| 16.0ms | (log (exp (* (sin x) (sin x)))) |
63 calls. Slowest were:
| 279.0ms | (- (pow (* x x) 3) (pow (log (exp (* (sin x) (sin x)))) 3)) |
| 215.0ms | (- (* (* x x) (* x x)) (* (log (exp (* (sin x) (sin x)))) (log (exp (* (sin x) (sin x)))))) |
| 160.0ms | (/ (- (* x x) (log (exp (* (sin x) (sin x))))) (+ x (sin x))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 34.0b
0% (0.8b remaining)
Error of 31.4b against oracle of 30.6b and baseline of 31.4b