


Bits error versus a



Bits error versus b_2



Bits error versus c
Results
if b_2 < -6.504819251117985e+152Initial program 62.8
rmApplied div-inv62.8
Taylor expanded around -inf 1.6
if -6.504819251117985e+152 < b_2 < -1.626169288079444e-277Initial program 34.6
rmApplied div-inv34.7
rmApplied flip--34.8
Applied associate-*l/34.8
Simplified13.4
Taylor expanded around -inf 7.3
if -1.626169288079444e-277 < b_2 < 4.8003163493567134e+126Initial program 9.3
Taylor expanded around -inf 9.3
if 4.8003163493567134e+126 < b_2 Initial program 51.6
rmApplied div-inv51.6
rmApplied flip--61.8
Applied associate-*l/61.8
Simplified62.0
Taylor expanded around 0 3.0
Final simplification6.4
herbie shell --seed 2019018
(FPCore (a b_2 c)
:name "quad2m (problem 3.2.1, negative)"
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a))
Time bar (total: 19.0s)Debug log
| 26.0ms | 31× | body | 2560 | valid |
| 22.0ms | 188× | body | 80 | valid |
| 16.0ms | 27× | body | 1280 | valid |
| 10.0ms | 103× | body | 80 | nan |
| 8.0ms | 17× | body | 640 | valid |
| 2.0ms | 6× | body | 320 | valid |
| 2.0ms | 2× | body | 5120 | valid |
| 1.0ms | 5× | body | 160 | valid |
| 80.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 32.3b
Found 4 expressions with local error:
| 19.5b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.2b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.1b | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 0.0b | (- (* b_2 b_2) (* a c)) |
| 15× | add-sqr-sqrt |
| 10× | *-un-lft-identity |
| 8× | add-log-exp |
| 6× | associate-/l* |
| 6× | add-cube-cbrt |
| 5× | sqrt-prod |
| 4× | difference-of-squares |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 2× | associate-/l/ |
| 2× | distribute-lft-out-- |
| 2× | diff-log |
| 2× | sqrt-div |
| 2× | sub-neg |
| 1× | div-inv |
| 1× | div-sub |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 1× | neg-sub0 |
| 1× | associate--l- |
| 45.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 12.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 6.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 4.0ms | (- (* b_2 b_2) (* a c)) |
| 79.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 68.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 66.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 21.0ms | (- (* b_2 b_2) (* a c)) |
| 262.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 254.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 230.0ms | (- (pow (- b_2) 3) (pow (sqrt (- (* b_2 b_2) (* a c))) 3)) |
| 187.0ms | (- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c))))) |
| 164.0ms | (- b_2 (* 1/2 (/ (* a c) b_2))) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 5.8b
Found 4 expressions with local error:
| 19.5b | (sqrt (- (pow b_2 2) (* a c))) |
| 1.2b | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 0.1b | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
| 0.0b | (- (pow b_2 2) (* a c)) |
| 15× | add-sqr-sqrt |
| 10× | *-un-lft-identity |
| 8× | add-log-exp |
| 6× | associate-/l* |
| 6× | add-cube-cbrt |
| 5× | sqrt-prod |
| 4× | difference-of-squares |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 2× | associate-/l/ |
| 2× | distribute-lft-out-- |
| 2× | diff-log |
| 2× | sqrt-div |
| 2× | sub-neg |
| 1× | div-inv |
| 1× | div-sub |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 1× | neg-sub0 |
| 1× | associate--l- |
| 18.0ms | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
| 7.0ms | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 3.0ms | (- (pow b_2 2) (* a c)) |
| 3.0ms | (sqrt (- (pow b_2 2) (* a c))) |
| 71.0ms | (/ (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) a) |
| 60.0ms | (sqrt (- (pow b_2 2) (* a c))) |
| 56.0ms | (- (- b_2) (sqrt (- (pow b_2 2) (* a c)))) |
| 23.0ms | (- (pow b_2 2) (* a c)) |
| 687.0ms | (- (* (- b_2) (- b_2)) (* (sqrt (- (pow b_2 2) (* a c))) (sqrt (- (pow b_2 2) (* a c))))) |
| 333.0ms | (- (pow (- b_2) 3) (pow (sqrt (- (pow b_2 2) (* a c))) 3)) |
| 319.0ms | (sqrt (- (pow (pow b_2 2) 3) (pow (* a c) 3))) |
| 264.0ms | (sqrt (- (* (pow b_2 2) (pow b_2 2)) (* (* a c) (* a c)))) |
| 116.0ms | (- b_2 (* 1/2 (/ (* a c) b_2))) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 5.8b
Found 4 expressions with local error:
| 19.5b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.2b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.2b | (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a)) |
| 0.0b | (- (* b_2 b_2) (* a c)) |
| 16× | add-sqr-sqrt |
| 11× | *-un-lft-identity |
| 8× | add-log-exp |
| 7× | add-cube-cbrt |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 5× | flip-- |
| 5× | sqrt-prod |
| 5× | flip3-- |
| 4× | difference-of-squares |
| 4× | associate-*r* |
| 2× | distribute-lft-out-- |
| 2× | associate-*l/ |
| 2× | diff-log |
| 2× | sqrt-div |
| 2× | sub-neg |
| 2× | frac-times |
| 1× | div-inv |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | un-div-inv |
| 1× | associate-*r/ |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | pow1/2 |
| 1× | rem-sqrt-square |
| 1× | neg-sub0 |
| 1× | associate--l- |
| 26.0ms | (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a)) |
| 11.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 4.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 4.0ms | (- (* b_2 b_2) (* a c)) |
| 68.0ms | (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a)) |
| 60.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 51.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 21.0ms | (- (* b_2 b_2) (* a c)) |
| 359.0ms | (* (- (pow (- b_2) 3) (pow (sqrt (- (* b_2 b_2) (* a c))) 3)) 1) |
| 358.0ms | (* (* (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (* (* (/ 1 a) (/ 1 a)) (/ 1 a))) |
| 277.0ms | (* (- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c))))) 1) |
| 265.0ms | (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a)) |
| 212.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 5.8b
Found 4 expressions with local error:
| 19.5b | (sqrt (- (* b_2 b_2) (* a c))) |
| 13.4b | (/ (* a c) a) |
| 0.1b | (/ (/ (* a c) a) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
| 0.1b | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 27× | *-un-lft-identity |
| 16× | times-frac |
| 16× | add-sqr-sqrt |
| 15× | add-cube-cbrt |
| 7× | div-inv |
| 6× | add-log-exp |
| 6× | distribute-lft-out |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 5× | associate-/l* |
| 4× | associate-/r* |
| 4× | pow1 |
| 3× | sqrt-prod |
| 2× | flip-+ |
| 2× | associate-/r/ |
| 2× | sqrt-div |
| 2× | flip3-+ |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | associate-/l/ |
| 1× | flip-- |
| 1× | associate-+l- |
| 1× | div-exp |
| 1× | pow1/2 |
| 1× | flip3-- |
| 1× | sum-log |
| 1× | rem-sqrt-square |
| 1× | +-commutative |
| 1× | cbrt-undiv |
| 1× | neg-sub0 |
| 27.0ms | (/ (/ (* a c) a) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
| 5.0ms | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 2.0ms | (/ (* a c) a) |
| 2.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 122.0ms | (/ (/ (* a c) a) (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
| 49.0ms | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 36.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 5.0ms | (/ (* a c) a) |
| 616.0ms | (- (log (/ (* a c) a)) (log (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 327.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 293.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)))))) |
| 240.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 240.0ms | (/ (/ (* a c) a) (cbrt (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
8 alts after pruning (6 fresh and 2 done)
Merged error: 5.8b
96.6% (0.8b remaining)
Error of 6.4b against oracle of 5.6b and baseline of 29.0b
| 1.2s | 1084× | body | 2560 | valid |
| 814.0ms | 5899× | body | 80 | valid |
| 648.0ms | 861× | body | 1280 | valid |
| 336.0ms | 2781× | body | 80 | nan |
| 324.0ms | 466× | body | 640 | valid |
| 95.0ms | 112× | body | 5120 | valid |
| 70.0ms | 203× | body | 320 | valid |
| 28.0ms | 108× | body | 160 | valid |