


Bits error versus x
Results
Initial program 0.3
rmApplied flip-+0.4
Applied associate-/r/0.4
Final simplification0.4
herbie shell --seed 2019007
(FPCore (x)
:name "Trigonometry B"
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))))
Time bar (total: 20.1s)Debug log
1 calls. Slowest were:
| 85.0ms | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 0.3b | (* (tan x) (tan x)) |
| 0.3b | (* (tan x) (tan x)) |
| 0.2b | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
| 0.2b | (- 1 (* (tan x) (tan x))) |
4 calls. Slowest were:
| 10.0ms | (* (tan x) (tan x)) |
| 8.0ms | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
| 7.0ms | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 105.0ms | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
| 73.0ms | (* (tan x) (tan x)) |
| 46.0ms | (* (tan x) (tan x)) |
| 38.0ms | (- 1 (* (tan x) (tan x))) |
72 calls. Slowest were:
| 485.0ms | (/ (* (* (- 1 (* (tan x) (tan x))) (- 1 (* (tan x) (tan x)))) (- 1 (* (tan x) (tan x)))) (* (* (+ 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) (+ 1 (* (tan x) (tan x))))) |
| 269.0ms | (+ (* 1 1) (- (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* 1 (* (tan x) (tan x))))) |
| 185.0ms | (/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1)) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (* (tan x) (tan x)) |
| 0.3b | (* (tan x) (tan x)) |
| 0.3b | (* (tan x) (tan x)) |
| 0.3b | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 8.0ms | (* (tan x) (tan x)) |
| 8.0ms | (* (tan x) (tan x)) |
| 8.0ms | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 46.0ms | (* (tan x) (tan x)) |
| 37.0ms | (* (tan x) (tan x)) |
| 30.0ms | (* (tan x) (tan x)) |
| 26.0ms | (* (tan x) (tan x)) |
72 calls. Slowest were:
| 25.0ms | (* (* (* (tan x) (tan x)) (tan x)) (* (* (tan x) (tan x)) (tan x))) |
| 25.0ms | (+ (pow x 2) (+ (* 2/3 (pow x 4)) (* 17/45 (pow x 6)))) |
| 24.0ms | (+ (pow x 2) (+ (* 2/3 (pow x 4)) (* 17/45 (pow x 6)))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.3b | (* (tan x) (tan x)) |
| 0.2b | (/ (* (sin x) (tan x)) (cos x)) |
| 0.2b | (* (sin x) (tan x)) |
| 0.2b | (/ (- 1 (/ (* (sin x) (tan x)) (cos x))) (+ 1 (* (tan x) (tan x)))) |
4 calls. Slowest were:
| 7.0ms | (/ (* (sin x) (tan x)) (cos x)) |
| 6.0ms | (/ (- 1 (/ (* (sin x) (tan x)) (cos x))) (+ 1 (* (tan x) (tan x)))) |
| 4.0ms | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 87.0ms | (/ (- 1 (/ (* (sin x) (tan x)) (cos x))) (+ 1 (* (tan x) (tan x)))) |
| 66.0ms | (/ (* (sin x) (tan x)) (cos x)) |
| 39.0ms | (* (sin x) (tan x)) |
| 36.0ms | (* (tan x) (tan x)) |
81 calls. Slowest were:
| 589.0ms | (/ (* (* (* (sin x) (sin x)) (sin x)) (* (* (tan x) (tan x)) (tan x))) (* (* (cos x) (cos x)) (cos x))) |
| 555.0ms | (/ (* (* (* (sin x) (tan x)) (* (sin x) (tan x))) (* (sin x) (tan x))) (* (* (cos x) (cos x)) (cos x))) |
| 496.0ms | (/ (* (* (- 1 (/ (* (sin x) (tan x)) (cos x))) (- 1 (/ (* (sin x) (tan x)) (cos x)))) (- 1 (/ (* (sin x) (tan x)) (cos x)))) (* (* (+ 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) (+ 1 (* (tan x) (tan x))))) |
11 alts after pruning (9 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (/ 1 (/ (cos x) (* (sin x) (tan x)))) |
| 0.3b | (* (tan x) (tan x)) |
| 0.2b | (/ (cos x) (* (sin x) (tan x))) |
| 0.2b | (* (sin x) (tan x)) |
4 calls. Slowest were:
| 10.0ms | (/ (cos x) (* (sin x) (tan x))) |
| 8.0ms | (* (tan x) (tan x)) |
| 7.0ms | (* (sin x) (tan x)) |
4 calls. Slowest were:
| 89.0ms | (/ 1 (/ (cos x) (* (sin x) (tan x)))) |
| 72.0ms | (/ (cos x) (* (sin x) (tan x))) |
| 53.0ms | (* (sin x) (tan x)) |
| 46.0ms | (* (tan x) (tan x)) |
60 calls. Slowest were:
| 534.0ms | (/ (* (* (cos x) (cos x)) (cos x)) (* (* (* (sin x) (tan x)) (* (sin x) (tan x))) (* (sin x) (tan x)))) |
| 527.0ms | (/ (* (* (cos x) (cos x)) (cos x)) (* (* (* (sin x) (sin x)) (sin x)) (* (* (tan x) (tan x)) (tan x)))) |
| 88.0ms | (* (* (* (sin x) (sin x)) (sin x)) (* (* (tan x) (tan x)) (tan x))) |
11 alts after pruning (8 fresh and 3 done)
Merged error: 0.0b
0% (0.3b remaining)
Error of 0.4b against oracle of 0.1b and baseline of 0.4b