


Bits error versus a



Bits error versus b_2



Bits error versus c
Results
if b_2 < -1.4031947752424545e+120 or -3.8264402218067264e-70 < b_2 < -2.9566045583213624e-91Initial program 58.3
rmApplied div-sub59.0
rmApplied *-un-lft-identity59.0
Applied associate-/l*59.6
rmApplied associate-/r/59.2
Taylor expanded around -inf 3.7
if -1.4031947752424545e+120 < b_2 < -3.8264402218067264e-70Initial program 42.9
rmApplied flip--43.0
Applied associate-/l/45.5
Simplified16.0
if -2.9566045583213624e-91 < b_2 < 1.2243609558936807e+127Initial program 11.8
rmApplied div-sub11.8
if 1.2243609558936807e+127 < b_2 Initial program 52.5
rmApplied div-sub52.5
rmApplied *-un-lft-identity52.5
Applied associate-/l*52.5
rmApplied associate-/r/52.5
Taylor expanded around 0 2.9
Final simplification9.4
herbie shell --seed 2019007
(FPCore (a b_2 c)
:name "NMSE problem 3.2.1"
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a))
Time bar (total: 17.9s)Debug log
1 calls. Slowest were:
| 41.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 33.8b
Found 4 expressions with local error:
| 24.0b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.7b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 1.2b | (- (* b_2 b_2) (* a c)) |
| 0.1b | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
4 calls. Slowest were:
| 20.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 11.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 68.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 57.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 43.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 20.0ms | (- (* b_2 b_2) (* a c)) |
32 calls. Slowest were:
| 273.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 238.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 238.0ms | (- (pow (- b_2) 3) (pow (sqrt (- (* b_2 b_2) (* a c))) 3)) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 6.1b
Found 4 expressions with local error:
| 24.0b | (sqrt (- (* b_2 b_2) (* a c))) |
| 6.6b | (- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a)) |
| 1.2b | (- (* b_2 b_2) (* a c)) |
| 0.1b | (/ (sqrt (- (* b_2 b_2) (* a c))) a) |
4 calls. Slowest were:
| 16.0ms | (- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a)) |
| 5.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 5.0ms | (/ (sqrt (- (* b_2 b_2) (* a c))) a) |
4 calls. Slowest were:
| 78.0ms | (/ (sqrt (- (* b_2 b_2) (* a c))) a) |
| 54.0ms | (- (/ (- b_2) a) (/ (sqrt (- (* b_2 b_2) (* a c))) a)) |
| 37.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 24.0ms | (- (* b_2 b_2) (* a c)) |
36 calls. Slowest were:
| 264.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 221.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 217.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 6.1b
Found 4 expressions with local error:
| 24.0b | (sqrt (- (* b_2 b_2) (* a c))) |
| 10.1b | (- (/ (- b_2) a) (/ 1 (/ a (sqrt (- (* b_2 b_2) (* a c)))))) |
| 1.2b | (- (* b_2 b_2) (* a c)) |
| 0.2b | (/ 1 (/ a (sqrt (- (* b_2 b_2) (* a c))))) |
4 calls. Slowest were:
| 13.0ms | (- (/ (- b_2) a) (/ 1 (/ a (sqrt (- (* b_2 b_2) (* a c)))))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 4.0ms | (- (* b_2 b_2) (* a c)) |
4 calls. Slowest were:
| 73.0ms | (/ 1 (/ a (sqrt (- (* b_2 b_2) (* a c))))) |
| 70.0ms | (- (/ (- b_2) a) (/ 1 (/ a (sqrt (- (* b_2 b_2) (* a c)))))) |
| 35.0ms | (- (* b_2 b_2) (* a c)) |
| 35.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
35 calls. Slowest were:
| 208.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 204.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 134.0ms | (- b_2 (* 1/2 (/ (* a c) b_2))) |
12 alts after pruning (10 fresh and 2 done)
Merged error: 6.1b
Found 4 expressions with local error:
| 24.0b | (sqrt (- (* b_2 b_2) (* a c))) |
| 10.9b | (- (/ (- b_2) a) (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c))))) |
| 1.2b | (- (* b_2 b_2) (* a c)) |
| 0.3b | (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c)))) |
4 calls. Slowest were:
| 18.0ms | (- (/ (- b_2) a) (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c))))) |
| 16.0ms | (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c)))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 75.0ms | (- (/ (- b_2) a) (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c))))) |
| 59.0ms | (* (/ 1 a) (sqrt (- (* b_2 b_2) (* a c)))) |
| 48.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 35.0ms | (- (* b_2 b_2) (* a c)) |
50 calls. Slowest were:
| 385.0ms | (- (* (- b_2) (* a (sqrt (+ (* b_2 b_2) (* a c))))) (* a (* 1 (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))))) |
| 366.0ms | (* (* (* (/ 1 a) (/ 1 a)) (/ 1 a)) (* (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (- (* b_2 b_2) (* a c))))) |
| 322.0ms | (- (* (- b_2) (sqrt (+ (* (* b_2 b_2) (* b_2 b_2)) (+ (* (* a c) (* a c)) (* (* b_2 b_2) (* a c)))))) (* a (* (/ 1 a) (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))))) |
11 alts after pruning (9 fresh and 2 done)
Merged error: 6.1b
86.4% (3.9b remaining)
Error of 9.4b against oracle of 5.5b and baseline of 34.0b