


Bits error versus c0



Bits error versus A



Bits error versus V



Bits error versus l
Results
if (* V l) < -1.474781728144545e+163 or 3.4613075593469834e+287 < (* V l) Initial program 30.7
rmApplied associate-/r*20.8
rmApplied add-cube-cbrt21.0
Applied associate-/l*21.0
rmApplied div-inv21.0
Applied times-frac21.0
Applied sqrt-prod12.9
rmApplied div-inv12.9
Applied cbrt-prod12.8
if -1.474781728144545e+163 < (* V l) < -2.8793218738207274e-256Initial program 7.9
rmApplied add-sqr-sqrt8.2
Applied associate-*r*8.1
if -2.8793218738207274e-256 < (* V l) < 0.0Initial program 53.0
rmApplied associate-/r*32.2
rmApplied add-cube-cbrt32.5
Applied associate-/l*32.5
rmApplied add-sqr-sqrt32.5
Applied times-frac32.5
Applied rem-sqrt-square18.9
if 0.0 < (* V l) < 3.4613075593469834e+287Initial program 10.4
rmApplied sqrt-div0.6
Final simplification7.5
herbie shell --seed 2019010
(FPCore (c0 A V l)
:name "Henrywood and Agarwal, Equation (3)"
(* c0 (sqrt (/ A (* V l)))))
Time bar (total: 11.4s)Debug log
| 4.0ms | (* c0 (sqrt (/ A (* V l)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 20.0b
Found 3 expressions with local error:
| 17.8b | (sqrt (/ A (* V l))) |
| 4.7b | (/ A (* V l)) |
| 1.2b | (* c0 (sqrt (/ A (* V l)))) |
| 8× | sqrt-prod |
| 7× | associate-*r* |
| 7× | add-sqr-sqrt |
| 6× | add-cube-cbrt |
| 6× | *-un-lft-identity |
| 3× | add-log-exp |
| 3× | div-inv |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | sqrt-div |
| 1× | *-commutative |
| 1× | associate-*r/ |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 2.0ms | (* c0 (sqrt (/ A (* V l)))) |
| 1.0ms | (sqrt (/ A (* V l))) |
| 0.0ms | (/ A (* V l)) |
| 58.0ms | (* c0 (sqrt (/ A (* V l)))) |
| 21.0ms | (sqrt (/ A (* V l))) |
| 16.0ms | (/ A (* V l)) |
| 6.0ms | (sqrt (* (cbrt (/ A (* V l))) (cbrt (/ A (* V l))))) |
| 5.0ms | (sqrt (/ A (* V l))) |
| 5.0ms | (cbrt (sqrt (/ A (* V l)))) |
| 5.0ms | (sqrt (sqrt (/ A (* V l)))) |
| 5.0ms | (sqrt (cbrt (/ A (* V l)))) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 11.0b
Found 3 expressions with local error:
| 17.8b | (sqrt (/ (/ A V) l)) |
| 4.1b | (/ (/ A V) l) |
| 1.2b | (* c0 (sqrt (/ (/ A V) l))) |
| 8× | sqrt-prod |
| 8× | add-sqr-sqrt |
| 7× | add-cube-cbrt |
| 7× | associate-*r* |
| 7× | *-un-lft-identity |
| 4× | associate-/l* |
| 4× | div-inv |
| 3× | add-log-exp |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | sqrt-div |
| 1× | associate-/l/ |
| 1× | *-commutative |
| 1× | associate-*r/ |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 2.0ms | (/ (/ A V) l) |
| 2.0ms | (* c0 (sqrt (/ (/ A V) l))) |
| 1.0ms | (sqrt (/ (/ A V) l)) |
| 55.0ms | (* c0 (sqrt (/ (/ A V) l))) |
| 21.0ms | (sqrt (/ (/ A V) l)) |
| 14.0ms | (/ (/ A V) l) |
| 10.0ms | (sqrt (* (cbrt (/ (/ A V) l)) (cbrt (/ (/ A V) l)))) |
| 9.0ms | (sqrt (sqrt (/ (/ A V) l))) |
| 8.0ms | (cbrt (sqrt (/ (/ A V) l))) |
| 7.0ms | (sqrt (/ (/ A V) l)) |
| 7.0ms | (sqrt (/ (/ A V) l)) |
18 alts after pruning (17 fresh and 1 done)
Merged error: 7.1b
Found 4 expressions with local error:
| 17.8b | (sqrt (/ (* (cbrt (/ A V)) (cbrt (/ A V))) (/ l (cbrt (/ A V))))) |
| 13.0b | (cbrt (/ A V)) |
| 13.0b | (cbrt (/ A V)) |
| 13.0b | (cbrt (/ A V)) |
| 12× | cbrt-prod |
| 11× | add-sqr-sqrt |
| 10× | sqrt-prod |
| 9× | add-cube-cbrt |
| 9× | *-un-lft-identity |
| 6× | times-frac |
| 5× | div-inv |
| 4× | add-log-exp |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | cbrt-div |
| 4× | pow1 |
| 3× | pow1/3 |
| 2× | associate-/r/ |
| 2× | rem-sqrt-square |
| 1× | sqrt-div |
| 1× | pow1/2 |
| 1.0ms | (sqrt (/ (* (cbrt (/ A V)) (cbrt (/ A V))) (/ l (cbrt (/ A V))))) |
| 0.0ms | (cbrt (/ A V)) |
| 0.0ms | (cbrt (/ A V)) |
| 0.0ms | (cbrt (/ A V)) |
| 107.0ms | (cbrt (/ A V)) |
| 79.0ms | (cbrt (/ A V)) |
| 77.0ms | (cbrt (/ A V)) |
| 28.0ms | (sqrt (/ (* (cbrt (/ A V)) (cbrt (/ A V))) (/ l (cbrt (/ A V))))) |
| 199.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 188.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 155.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 139.0ms | (exp (* 1/3 (- (log (/ -1 V)) (log (/ -1 A))))) |
| 135.0ms | (exp (* 1/3 (- (log (/ -1 V)) (log (/ -1 A))))) |
20 alts after pruning (19 fresh and 1 done)
Merged error: 5.1b
Found 4 expressions with local error:
| 13.0b | (cbrt (/ A V)) |
| 13.0b | (cbrt (/ A V)) |
| 13.0b | (cbrt (/ A V)) |
| 6.7b | (sqrt (/ (cbrt (/ A V)) l)) |
| 12× | cbrt-prod |
| 9× | add-sqr-sqrt |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 4× | add-log-exp |
| 4× | div-inv |
| 4× | sqrt-prod |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | pow1/3 |
| 3× | cbrt-div |
| 1× | sqrt-div |
| 1× | pow1/2 |
| 1× | rem-sqrt-square |
| 1.0ms | (sqrt (/ (cbrt (/ A V)) l)) |
| 0.0ms | (cbrt (/ A V)) |
| 0.0ms | (cbrt (/ A V)) |
| 0.0ms | (cbrt (/ A V)) |
| 166.0ms | (sqrt (/ (cbrt (/ A V)) l)) |
| 79.0ms | (cbrt (/ A V)) |
| 79.0ms | (cbrt (/ A V)) |
| 66.0ms | (cbrt (/ A V)) |
| 195.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 174.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 137.0ms | (exp (* 1/3 (- (log (/ 1 V)) (log (/ 1 A))))) |
| 117.0ms | (exp (* 1/3 (- (log (/ -1 V)) (log (/ -1 A))))) |
| 102.0ms | (exp (* 1/3 (- (log (/ -1 V)) (log (/ -1 A))))) |
21 alts after pruning (20 fresh and 1 done)
Merged error: 5.1b
70.1% (2.4b remaining)
Error of 7.5b against oracle of 5.1b and baseline of 13.0b