


Bits error versus a



Bits error versus b_2



Bits error versus c
Results
if b_2 < -3.6860937275891304e+120 or -9.565134490438525e-14 < b_2 < -1.4327714371069e-133Initial program 51.6
Taylor expanded around inf 51.6
Taylor expanded around -inf 11.4
if -3.6860937275891304e+120 < b_2 < -9.565134490438525e-14Initial program 46.3
rmApplied flip--46.4
Applied associate-/l/48.1
Simplified14.1
if -1.4327714371069e-133 < b_2 < 1.6367105644834092e+113Initial program 11.5
Taylor expanded around inf 11.5
if 1.6367105644834092e+113 < b_2 Initial program 46.8
rmApplied *-un-lft-identity46.8
Applied associate-/l*46.8
Taylor expanded around 0 2.8
Final simplification10.5
herbie shell --seed 2018360
(FPCore (a b_2 c)
:name "NMSE problem 3.2.1"
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a))
Time bar (total: 15.7s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 32.8b
Found 4 expressions with local error:
| 22.7b | (sqrt (- (* b_2 b_2) (* a c))) |
| 0.8b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.4b | (- (* b_2 b_2) (* a c)) |
| 0.1b | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
4 calls. Slowest were:
| 26.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 10.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 75.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 53.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 53.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 24.0ms | (- (* b_2 b_2) (* a c)) |
32 calls. Slowest were:
| 300.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 276.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 219.0ms | (- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c))))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 4.7b
Found 4 expressions with local error:
| 22.7b | (sqrt (- (pow b_2 2) (* a c))) |
| 0.8b | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 0.4b | (- (pow b_2 2) (* a c)) |
| 0.1b | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
4 calls. Slowest were:
| 35.0ms | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
| 13.0ms | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 6.0ms | (- (pow b_2 2) (* a c)) |
4 calls. Slowest were:
| 68.0ms | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 60.0ms | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
| 59.0ms | (sqrt (- (pow b_2 2) (* a c))) |
| 28.0ms | (- (pow b_2 2) (* a c)) |
32 calls. Slowest were:
| 537.0ms | (- (* (- b_2) (- b_2)) (* (sqrt (- (pow b_2 2) (* a c))) (sqrt (- (pow b_2 2) (* a c))))) |
| 263.0ms | (sqrt (- (pow (pow b_2 2) 3) (pow (* a c) 3))) |
| 262.0ms | (sqrt (- (* (pow b_2 2) (pow b_2 2)) (* (* a c) (* a c)))) |
8 alts after pruning (7 fresh and 1 done)
Merged error: 4.7b
Found 4 expressions with local error:
| 22.7b | (sqrt (- (* b_2 b_2) (* a c))) |
| 0.8b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.4b | (- (* b_2 b_2) (* a c)) |
| 0.1b | (/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
4 calls. Slowest were:
| 5.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 2.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 2.0ms | (- (* b_2 b_2) (* a c)) |
4 calls. Slowest were:
| 101.0ms | (/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 70.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 53.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 35.0ms | (- (* b_2 b_2) (* a c)) |
33 calls. Slowest were:
| 363.0ms | (+ (* (- b_2) (- b_2)) (+ (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (* (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 304.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 251.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
8 alts after pruning (6 fresh and 2 done)
Merged error: 4.7b
Found 4 expressions with local error:
| 22.7b | (sqrt (- (* b_2 b_2) (* a c))) |
| 22.7b | (sqrt (- (* b_2 b_2) (* a c))) |
| 10.8b | (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))) |
| 0.5b | (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))) |
4 calls. Slowest were:
| 19.0ms | (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))) |
| 7.0ms | (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 67.0ms | (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))) |
| 61.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 61.0ms | (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))) |
| 59.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
67 calls. Slowest were:
| 437.0ms | (* (sqrt (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))) |
| 361.0ms | (* (sqrt (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c))))) (sqrt (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))))) |
| 333.0ms | (* (sqrt (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))) |
8 alts after pruning (5 fresh and 3 done)
Merged error: 4.7b
82% (5.1b remaining)
Error of 10.5b against oracle of 5.5b and baseline of 33.6b