


Bits error versus x
Results
Initial program 0.3
rmApplied div-sub0.4
Final simplification0.4
herbie shell --seed 2018365
(FPCore (x)
:name "Trigonometry B"
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))))
Time bar (total: 12.4s)Debug log
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:
| 6.0ms | (* (tan x) (tan x)) |
| 4.0ms | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
| 4.0ms | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 62.0ms | (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) |
| 57.0ms | (* (tan x) (tan x)) |
| 40.0ms | (* (tan x) (tan x)) |
| 26.0ms | (- 1 (* (tan x) (tan x))) |
72 calls. Slowest were:
| 439.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))))) |
| 375.0ms | (/ (pow (sin x) 2) (pow (cos x) 2)) |
| 279.0ms | (/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1)) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 1.6b | (log (exp (* (tan x) (tan x)))) |
| 0.5b | (exp (* (tan x) (tan x))) |
| 0.3b | (* (tan x) (tan x)) |
| 0.3b | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 11.0ms | (* (tan x) (tan x)) |
| 7.0ms | (* (tan x) (tan x)) |
| 4.0ms | (exp (* (tan x) (tan x))) |
4 calls. Slowest were:
| 93.0ms | (exp (* (tan x) (tan x))) |
| 32.0ms | (log (exp (* (tan x) (tan x)))) |
| 26.0ms | (* (tan x) (tan x)) |
| 26.0ms | (* (tan x) (tan x)) |
51 calls. Slowest were:
| 28.0ms | (exp (/ (pow (sin x) 2) (pow (cos x) 2))) |
| 26.0ms | (exp (/ (pow (sin x) 2) (pow (cos x) 2))) |
| 22.0ms | (+ (pow x 2) (+ (* 7/6 (pow x 4)) 1)) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 0.3b | (* (* (tan x) (tan x)) (* (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:
| 32.0ms | (* (* (tan x) (tan x)) (* (tan x) (tan x))) |
| 11.0ms | (* (tan x) (tan x)) |
| 8.0ms | (* (tan x) (tan x)) |
4 calls. Slowest were:
| 56.0ms | (* (* (tan x) (tan x)) (* (tan x) (tan x))) |
| 43.0ms | (* (tan x) (tan x)) |
| 34.0ms | (* (tan x) (tan x)) |
| 31.0ms | (* (tan x) (tan x)) |
132 calls. Slowest were:
| 120.0ms | (* (* (* (* (tan x) (tan x)) (tan x)) (* (* (tan x) (tan x)) (tan x))) (* (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* (tan x) (tan x)))) |
| 111.0ms | (* (* (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* (tan x) (tan x))) (* (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* (tan x) (tan x)))) |
| 108.0ms | (* (* (* (* (tan x) (tan x)) (tan x)) (* (* (tan x) (tan x)) (tan x))) (* (* (* (tan x) (tan x)) (tan x)) (* (* (tan x) (tan x)) (tan x)))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.4b | (- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (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:
| 11.0ms | (* (tan x) (tan x)) |
| 7.0ms | (* (tan x) (tan x)) |
| 6.0ms | (- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x))))) |
4 calls. Slowest were:
| 126.0ms | (- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x))))) |
| 44.0ms | (* (tan x) (tan x)) |
| 40.0ms | (* (tan x) (tan x)) |
| 28.0ms | (* (tan x) (tan x)) |
76 calls. Slowest were:
| 452.0ms | (- (* 1 (+ 1 (* (tan x) (tan x)))) (* (+ 1 (* (tan x) (tan x))) (* (tan x) (tan x)))) |
| 201.0ms | (+ (* 1 1) (- (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* 1 (* (tan x) (tan x))))) |
| 167.0ms | (- (/ 1 (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1)) (/ (pow (sin x) 2) (* (pow (cos x) 2) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1)))) |
13 alts after pruning (12 fresh and 1 done)
Merged error: 0.0b
0% (0.3b remaining)
Error of 0.4b against oracle of 0.1b and baseline of 0.4b