
Results
Herbie found 10 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
associate-*l/99.5%
*-un-lft-identity99.5%
sqrt-prod99.8%
associate-/r*99.8%
metadata-eval99.8%
Applied egg-rr99.8%
clear-num99.9%
associate-/r/99.8%
pow1/299.8%
pow-flip99.9%
metadata-eval99.9%
Applied egg-rr99.9%
distribute-rgt-in99.9%
*-un-lft-identity99.9%
associate-/l*99.8%
Applied egg-rr99.8%
associate-*l/99.8%
pow-plus99.9%
metadata-eval99.9%
unpow1/299.9%
Simplified99.9%
Final simplification99.9%
if rand < -1.06e71 or 1.18000000000000005e101 < rand Initial program 98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
*-commutative98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
Simplified98.3%
Taylor expanded in rand around inf 96.1%
if -1.06e71 < rand < 1.18000000000000005e101Initial program 100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
*-commutative100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in rand around 0 96.9%
Final simplification96.6%
if rand < -1.1e72 or 1.18000000000000005e101 < rand Initial program 98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
*-commutative98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
Simplified98.3%
Taylor expanded in rand around inf 96.1%
associate-*r*96.2%
sub-neg96.2%
metadata-eval96.2%
+-commutative96.2%
Simplified96.2%
expm1-log1p-u92.9%
expm1-udef92.9%
add-sqr-sqrt92.9%
sqrt-unprod92.9%
*-commutative92.9%
+-commutative92.9%
*-commutative92.9%
+-commutative92.9%
swap-sqr92.9%
add-sqr-sqrt92.9%
metadata-eval92.9%
Applied egg-rr92.9%
expm1-def92.9%
expm1-log1p96.4%
*-commutative96.4%
+-commutative96.4%
distribute-rgt-in96.4%
metadata-eval96.4%
Simplified96.4%
if -1.1e72 < rand < 1.18000000000000005e101Initial program 100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
*-commutative100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in rand around 0 96.9%
Final simplification96.7%
if rand < -1.99999999999999991e68Initial program 97.2%
sub-neg97.2%
metadata-eval97.2%
metadata-eval97.2%
*-commutative97.2%
sub-neg97.2%
metadata-eval97.2%
metadata-eval97.2%
Simplified97.2%
Taylor expanded in rand around inf 94.8%
*-commutative94.8%
sub-neg94.8%
metadata-eval94.8%
associate-*l*95.0%
+-commutative95.0%
*-commutative95.0%
Simplified95.0%
if -1.99999999999999991e68 < rand < 1.3999999999999999e100Initial program 100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
*-commutative100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in rand around 0 96.9%
if 1.3999999999999999e100 < rand Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
Taylor expanded in rand around inf 97.3%
Final simplification96.7%
Initial program 99.4%
remove-double-neg99.4%
remove-double-neg99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
remove-double-neg99.4%
remove-double-neg99.4%
associate-*l/99.5%
*-lft-identity99.5%
sub-neg99.5%
distribute-lft-in99.5%
metadata-eval99.5%
metadata-eval99.5%
metadata-eval99.5%
Simplified99.5%
Taylor expanded in a around inf 98.5%
*-commutative98.5%
Simplified98.5%
Final simplification98.5%
Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
associate-*l/99.5%
*-un-lft-identity99.5%
sqrt-prod99.8%
associate-/r*99.8%
metadata-eval99.8%
Applied egg-rr99.8%
clear-num99.9%
associate-/r/99.8%
pow1/299.8%
pow-flip99.9%
metadata-eval99.9%
Applied egg-rr99.9%
distribute-rgt-in99.9%
*-un-lft-identity99.9%
associate-/l*99.8%
Applied egg-rr99.8%
associate-+l+99.8%
associate-*l/99.8%
pow-plus99.9%
metadata-eval99.9%
unpow1/299.9%
associate-/r/99.9%
Simplified99.9%
Final simplification99.9%
if rand < -2.30000000000000017e69 or 1.3999999999999999e100 < rand Initial program 98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
*-commutative98.3%
sub-neg98.3%
metadata-eval98.3%
metadata-eval98.3%
Simplified98.3%
Taylor expanded in rand around inf 96.1%
*-commutative96.1%
sub-neg96.1%
metadata-eval96.1%
associate-*l*96.2%
+-commutative96.2%
*-commutative96.2%
Simplified96.2%
add-sqr-sqrt49.2%
sqrt-unprod22.3%
+-commutative22.3%
+-commutative22.3%
swap-sqr22.3%
add-sqr-sqrt22.3%
swap-sqr22.3%
metadata-eval22.3%
Applied egg-rr22.3%
*-commutative22.3%
associate-*l*22.3%
associate-*l*22.3%
Simplified22.3%
Taylor expanded in a around inf 22.3%
*-commutative22.3%
associate-*l*22.3%
unpow222.3%
Simplified22.3%
Taylor expanded in rand around 0 93.3%
if -2.30000000000000017e69 < rand < 1.3999999999999999e100Initial program 100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
*-commutative100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in rand around 0 96.9%
Final simplification95.7%
if rand < -4.40000000000000001e70Initial program 97.2%
sub-neg97.2%
metadata-eval97.2%
metadata-eval97.2%
*-commutative97.2%
sub-neg97.2%
metadata-eval97.2%
metadata-eval97.2%
Simplified97.2%
Taylor expanded in rand around inf 94.8%
*-commutative94.8%
sub-neg94.8%
metadata-eval94.8%
associate-*l*95.0%
+-commutative95.0%
*-commutative95.0%
Simplified95.0%
add-sqr-sqrt0.0%
sqrt-unprod0.3%
+-commutative0.3%
+-commutative0.3%
swap-sqr0.3%
add-sqr-sqrt0.3%
swap-sqr0.3%
metadata-eval0.3%
Applied egg-rr0.3%
*-commutative0.3%
associate-*l*0.3%
associate-*l*0.3%
Simplified0.3%
Taylor expanded in a around inf 0.3%
*-commutative0.3%
associate-*l*0.3%
unpow20.3%
Simplified0.3%
*-commutative0.3%
sqrt-prod0.4%
sqrt-prod0.4%
sqrt-prod0.0%
add-sqr-sqrt91.1%
metadata-eval91.1%
Applied egg-rr91.1%
if -4.40000000000000001e70 < rand < 7e103Initial program 100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
*-commutative100.0%
sub-neg100.0%
metadata-eval100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in rand around 0 96.9%
if 7e103 < rand Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
Taylor expanded in rand around inf 97.3%
*-commutative97.3%
sub-neg97.3%
metadata-eval97.3%
associate-*l*97.3%
+-commutative97.3%
*-commutative97.3%
Simplified97.3%
add-sqr-sqrt97.2%
sqrt-unprod43.9%
+-commutative43.9%
+-commutative43.9%
swap-sqr43.9%
add-sqr-sqrt43.9%
swap-sqr43.9%
metadata-eval43.9%
Applied egg-rr43.9%
*-commutative43.9%
associate-*l*43.9%
associate-*l*43.9%
Simplified43.9%
Taylor expanded in a around inf 43.9%
*-commutative43.9%
associate-*l*43.9%
unpow243.9%
Simplified43.9%
Taylor expanded in rand around 0 95.7%
Final simplification95.7%
Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
Taylor expanded in rand around 0 66.2%
Final simplification66.2%
Initial program 99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
*-commutative99.4%
sub-neg99.4%
metadata-eval99.4%
metadata-eval99.4%
Simplified99.4%
Taylor expanded in a around inf 64.2%
Final simplification64.2%
herbie shell --seed 2023166
(FPCore (a rand)
:name "Octave 3.8, oct_fill_randg"
:precision binary64
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))))