
Results
Herbie found 11 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 94.5%
pow-exp95.3%
*-commutative95.3%
pow-exp94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
add-cbrt-cube96.8%
add-cbrt-cube96.8%
cbrt-unprod96.9%
Applied egg-rr98.7%
add-sqr-sqrt98.6%
sqrt-unprod98.7%
pow-prod-down98.8%
prod-exp99.2%
metadata-eval99.2%
Applied egg-rr99.2%
Final simplification99.2%
Initial program 94.5%
pow-exp95.3%
*-commutative95.3%
pow-exp94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
add-cbrt-cube96.8%
add-cbrt-cube96.8%
cbrt-unprod96.9%
Applied egg-rr98.7%
add-sqr-sqrt98.6%
sqrt-unprod98.7%
pow-prod-down98.8%
prod-exp99.2%
metadata-eval99.2%
Applied egg-rr99.2%
add-sqr-sqrt99.1%
sqrt-unprod99.2%
pow-prod-down99.1%
add-sqr-sqrt99.1%
Applied egg-rr99.1%
Final simplification99.1%
Initial program 94.5%
pow-exp95.3%
*-commutative95.3%
pow-exp94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
add-cbrt-cube96.8%
add-cbrt-cube96.8%
cbrt-unprod96.9%
Applied egg-rr98.7%
add-sqr-sqrt98.6%
sqrt-unprod98.7%
pow-prod-down98.8%
prod-exp99.2%
metadata-eval99.2%
Applied egg-rr99.2%
Taylor expanded in x around inf 94.2%
exp-to-pow93.9%
*-lft-identity93.9%
unpow1/399.1%
Simplified99.1%
Final simplification99.1%
Initial program 94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
add-cbrt-cube96.8%
add-exp-log96.5%
pow-pow96.1%
log-pow96.2%
add-log-exp96.2%
associate-*r*96.4%
pow-exp96.8%
*-commutative96.8%
Applied egg-rr98.6%
Final simplification98.6%
Initial program 94.5%
associate-*r*94.4%
exp-prod94.9%
sqr-pow94.8%
sqr-pow94.9%
exp-prod97.9%
Simplified97.9%
Final simplification97.9%
Initial program 94.5%
*-un-lft-identity94.5%
exp-prod94.0%
pow-unpow94.0%
Applied egg-rr94.0%
exp-1-e94.0%
Simplified94.0%
e-exp-194.0%
pow-exp95.3%
metadata-eval95.3%
add-sqr-sqrt95.2%
unpow-prod-down95.3%
metadata-eval95.3%
pow-exp94.9%
e-exp-194.9%
sqrt-pow194.9%
e-exp-194.9%
pow-exp95.3%
metadata-eval95.3%
metadata-eval95.3%
metadata-eval95.3%
pow-exp94.9%
e-exp-194.9%
sqrt-pow194.9%
e-exp-194.9%
pow-exp95.3%
metadata-eval95.3%
metadata-eval95.3%
Applied egg-rr95.3%
unpow295.3%
unpow295.3%
pow-sqr95.3%
unpow295.3%
Simplified95.3%
Final simplification95.3%
Initial program 94.5%
exp-prod95.3%
Simplified95.3%
Final simplification95.3%
Initial program 94.5%
Final simplification94.5%
Initial program 94.5%
Taylor expanded in x around 0 18.2%
unpow218.2%
Simplified18.2%
Final simplification18.2%
Initial program 94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
pow-pow94.8%
add-sqr-sqrt93.0%
pow-unpow93.2%
Applied egg-rr93.2%
metadata-eval93.2%
associate-*r*93.2%
metadata-eval93.2%
associate-/r/93.5%
associate-*r/93.5%
metadata-eval93.5%
associate-/l*93.2%
*-commutative93.2%
associate-/l*93.7%
metadata-eval93.7%
metadata-eval93.7%
associate-*r*93.7%
metadata-eval93.7%
associate-/r/93.7%
associate-*r/93.7%
metadata-eval93.7%
associate-/l*93.7%
*-commutative93.7%
associate-/l*93.1%
metadata-eval93.1%
Simplified93.1%
Taylor expanded in x around 0 9.7%
*-commutative9.7%
unpow29.7%
Simplified9.7%
Taylor expanded in x around inf 9.7%
*-commutative9.7%
unpow29.7%
Simplified9.7%
Final simplification9.7%
Initial program 94.5%
pow-exp95.3%
*-commutative95.3%
pow-exp94.5%
associate-*r*94.4%
add-log-exp94.4%
log-pow94.3%
pow-pow94.9%
add-exp-log96.9%
add-cbrt-cube96.8%
add-cbrt-cube96.8%
cbrt-unprod96.9%
Applied egg-rr98.7%
add-sqr-sqrt98.6%
sqrt-unprod98.7%
pow-prod-down98.8%
prod-exp99.2%
metadata-eval99.2%
Applied egg-rr99.2%
add-sqr-sqrt99.1%
sqrt-unprod99.2%
pow-prod-down99.1%
add-sqr-sqrt99.1%
Applied egg-rr99.1%
Taylor expanded in x around 0 1.5%
Final simplification1.5%
herbie shell --seed 2023166
(FPCore (x)
:name "ENA, Section 1.4, Exercise 1"
:precision binary64
:pre (and (<= 1.99 x) (<= x 2.01))
(* (cos x) (exp (* 10.0 (* x x)))))