
Results
Herbie found 14 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 73.2%
times-frac97.5%
Simplified97.5%
Final simplification97.5%
if t1 < -3.19999999999999991e60 or -9.0000000000000002e-25 < t1 < -7.0000000000000003e-146Initial program 65.7%
*-commutative65.7%
times-frac99.9%
neg-mul-199.9%
associate-/l*99.9%
associate-*r/99.8%
associate-/l*99.8%
associate-/l/99.8%
neg-mul-199.8%
*-lft-identity99.8%
metadata-eval99.8%
times-frac99.8%
neg-mul-199.8%
remove-double-neg99.8%
neg-mul-199.8%
sub0-neg99.8%
associate--r+99.8%
neg-sub099.8%
div-sub99.9%
distribute-frac-neg99.9%
*-inverses99.9%
metadata-eval99.9%
Simplified99.9%
Taylor expanded in t1 around inf 77.7%
if -3.19999999999999991e60 < t1 < -9.0000000000000002e-25 or -7.0000000000000003e-146 < t1 < 5.49999999999999977e-133Initial program 83.8%
Taylor expanded in t1 around 0 82.5%
mul-1-neg82.5%
unpow282.5%
times-frac90.1%
*-commutative90.1%
distribute-rgt-neg-in90.1%
Simplified90.1%
if 5.49999999999999977e-133 < t1 Initial program 68.2%
associate-/l*77.2%
associate-/l*85.4%
Simplified85.4%
Taylor expanded in t1 around inf 69.7%
Taylor expanded in v around 0 77.0%
neg-mul-177.0%
distribute-neg-frac77.0%
Simplified77.0%
Final simplification82.0%
if u < -1.3e-95 or 6.79999999999999946e-55 < u Initial program 80.8%
times-frac97.8%
Simplified97.8%
Taylor expanded in t1 around 0 78.8%
mul-1-neg78.8%
Simplified78.8%
if -1.3e-95 < u < 6.79999999999999946e-55Initial program 61.6%
times-frac97.1%
Simplified97.1%
Taylor expanded in t1 around inf 82.1%
associate-*r/82.1%
neg-mul-182.1%
Simplified82.1%
Final simplification80.1%
if u < -2.7000000000000001e-94Initial program 83.3%
times-frac98.6%
Simplified98.6%
Taylor expanded in t1 around 0 78.9%
mul-1-neg78.9%
Simplified78.9%
if -2.7000000000000001e-94 < u < 1.9000000000000001e-54Initial program 61.6%
times-frac97.1%
Simplified97.1%
Taylor expanded in t1 around inf 82.1%
associate-*r/82.1%
neg-mul-182.1%
Simplified82.1%
if 1.9000000000000001e-54 < u Initial program 77.4%
times-frac96.6%
Simplified96.6%
Taylor expanded in t1 around 0 78.6%
mul-1-neg78.6%
Simplified78.6%
add-sqr-sqrt51.9%
sqrt-unprod61.6%
sqr-neg61.6%
sqrt-unprod35.7%
add-sqr-sqrt49.3%
frac-2neg49.3%
associate-*l/49.2%
add-sqr-sqrt21.2%
sqrt-unprod51.0%
sqr-neg51.0%
sqrt-prod37.0%
add-sqr-sqrt80.3%
Applied egg-rr80.3%
Final simplification80.5%
if u < -1.55e-114Initial program 83.3%
times-frac97.7%
Simplified97.7%
associate-*r/99.3%
frac-2neg99.3%
add-sqr-sqrt45.5%
sqrt-unprod54.8%
sqr-neg54.8%
sqrt-unprod28.9%
add-sqr-sqrt54.5%
distribute-lft-neg-out54.5%
distribute-frac-neg54.5%
add-sqr-sqrt25.6%
sqrt-unprod59.1%
sqr-neg59.1%
sqrt-unprod53.7%
add-sqr-sqrt99.3%
distribute-neg-in99.3%
add-sqr-sqrt45.5%
sqrt-unprod81.9%
sqr-neg81.9%
sqrt-unprod38.5%
add-sqr-sqrt78.5%
sub-neg78.5%
Applied egg-rr78.5%
if -1.55e-114 < u < 8.19999999999999977e-52Initial program 60.2%
times-frac97.9%
Simplified97.9%
Taylor expanded in t1 around inf 83.7%
associate-*r/83.7%
neg-mul-183.7%
Simplified83.7%
if 8.19999999999999977e-52 < u Initial program 77.4%
times-frac96.6%
Simplified96.6%
Taylor expanded in t1 around 0 78.6%
mul-1-neg78.6%
Simplified78.6%
add-sqr-sqrt51.9%
sqrt-unprod61.6%
sqr-neg61.6%
sqrt-unprod35.7%
add-sqr-sqrt49.3%
frac-2neg49.3%
associate-*l/49.2%
add-sqr-sqrt21.2%
sqrt-unprod51.0%
sqr-neg51.0%
sqrt-prod37.0%
add-sqr-sqrt80.3%
Applied egg-rr80.3%
Final simplification80.9%
if u < -8.50000000000000044e-60 or 6.1999999999999998e-52 < u Initial program 80.1%
times-frac97.7%
Simplified97.7%
Taylor expanded in t1 around 0 67.3%
associate-*r/67.3%
neg-mul-167.3%
distribute-rgt-neg-out67.3%
unpow267.3%
Simplified67.3%
frac-2neg67.3%
distribute-frac-neg67.3%
add-sqr-sqrt39.2%
sqrt-unprod55.3%
sqr-neg55.3%
sqrt-unprod20.8%
add-sqr-sqrt47.7%
distribute-rgt-neg-in47.7%
frac-2neg47.7%
times-frac48.6%
associate-*l/48.5%
add-sqr-sqrt20.8%
sqrt-unprod58.1%
sqr-neg58.1%
sqrt-unprod44.7%
add-sqr-sqrt75.7%
Applied egg-rr75.7%
if -8.50000000000000044e-60 < u < 6.1999999999999998e-52Initial program 63.4%
times-frac97.2%
Simplified97.2%
Taylor expanded in t1 around inf 80.9%
associate-*r/80.9%
neg-mul-180.9%
Simplified80.9%
Final simplification77.9%
if u < -1.2e-61Initial program 82.3%
Taylor expanded in t1 around 0 68.0%
mul-1-neg68.0%
unpow268.0%
times-frac74.6%
*-commutative74.6%
distribute-rgt-neg-in74.6%
Simplified74.6%
if -1.2e-61 < u < 1.16e-54Initial program 63.4%
times-frac97.2%
Simplified97.2%
Taylor expanded in t1 around inf 80.9%
associate-*r/80.9%
neg-mul-180.9%
Simplified80.9%
if 1.16e-54 < u Initial program 77.4%
times-frac96.6%
Simplified96.6%
Taylor expanded in t1 around 0 66.4%
associate-*r/66.4%
neg-mul-166.4%
distribute-rgt-neg-out66.4%
unpow266.4%
Simplified66.4%
frac-2neg66.4%
distribute-frac-neg66.4%
add-sqr-sqrt34.3%
sqrt-unprod51.8%
sqr-neg51.8%
sqrt-unprod21.4%
add-sqr-sqrt44.5%
distribute-rgt-neg-in44.5%
frac-2neg44.5%
times-frac45.9%
associate-*l/45.8%
add-sqr-sqrt21.4%
sqrt-unprod56.8%
sqr-neg56.8%
sqrt-unprod41.9%
add-sqr-sqrt77.5%
Applied egg-rr77.5%
Final simplification78.0%
if u < -5.6000000000000001e-58Initial program 82.3%
times-frac98.5%
Simplified98.5%
Taylor expanded in t1 around 0 68.0%
associate-*r/68.0%
neg-mul-168.0%
distribute-rgt-neg-out68.0%
unpow268.0%
Simplified68.0%
associate-/l*69.9%
associate-/r/66.1%
add-sqr-sqrt24.8%
sqrt-unprod55.3%
sqr-neg55.3%
sqrt-unprod30.2%
add-sqr-sqrt50.6%
Applied egg-rr50.6%
associate-*l/50.2%
*-commutative50.2%
frac-times50.7%
clear-num50.7%
frac-2neg50.7%
frac-times51.9%
*-un-lft-identity51.9%
add-sqr-sqrt51.9%
sqrt-unprod52.1%
sqr-neg52.1%
sqrt-prod0.0%
add-sqr-sqrt75.1%
Applied egg-rr75.1%
if -5.6000000000000001e-58 < u < 8.9999999999999997e-54Initial program 63.4%
times-frac97.2%
Simplified97.2%
Taylor expanded in t1 around inf 80.9%
associate-*r/80.9%
neg-mul-180.9%
Simplified80.9%
if 8.9999999999999997e-54 < u Initial program 77.4%
times-frac96.6%
Simplified96.6%
Taylor expanded in t1 around 0 66.4%
associate-*r/66.4%
neg-mul-166.4%
distribute-rgt-neg-out66.4%
unpow266.4%
Simplified66.4%
frac-2neg66.4%
distribute-frac-neg66.4%
add-sqr-sqrt34.3%
sqrt-unprod51.8%
sqr-neg51.8%
sqrt-unprod21.4%
add-sqr-sqrt44.5%
distribute-rgt-neg-in44.5%
frac-2neg44.5%
times-frac45.9%
associate-*l/45.8%
add-sqr-sqrt21.4%
sqrt-unprod56.8%
sqr-neg56.8%
sqrt-unprod41.9%
add-sqr-sqrt77.5%
Applied egg-rr77.5%
Final simplification78.2%
if u < -3.8000000000000003e113 or 3.7999999999999999e46 < u Initial program 76.3%
times-frac98.5%
Simplified98.5%
Taylor expanded in t1 around 0 74.2%
associate-*r/74.2%
neg-mul-174.2%
distribute-rgt-neg-out74.2%
unpow274.2%
Simplified74.2%
associate-/l*75.7%
associate-/r/72.2%
add-sqr-sqrt32.0%
sqrt-unprod66.2%
sqr-neg66.2%
sqrt-unprod39.1%
add-sqr-sqrt69.9%
Applied egg-rr69.9%
if -3.8000000000000003e113 < u < 3.7999999999999999e46Initial program 71.6%
times-frac97.0%
Simplified97.0%
Taylor expanded in t1 around inf 66.0%
associate-*r/66.0%
neg-mul-166.0%
Simplified66.0%
Final simplification67.3%
Initial program 73.2%
*-commutative73.2%
times-frac97.5%
neg-mul-197.5%
associate-/l*96.8%
associate-*r/96.8%
associate-/l*96.8%
associate-/l/96.8%
neg-mul-196.8%
*-lft-identity96.8%
metadata-eval96.8%
times-frac96.8%
neg-mul-196.8%
remove-double-neg96.8%
neg-mul-196.8%
sub0-neg96.8%
associate--r+96.8%
neg-sub096.8%
div-sub96.8%
distribute-frac-neg96.8%
*-inverses96.8%
metadata-eval96.8%
Simplified96.8%
Final simplification96.8%
if u < -5.1999999999999998e113 or 3.00000000000000026e154 < u Initial program 74.7%
*-commutative74.7%
times-frac98.2%
neg-mul-198.2%
associate-/l*98.2%
associate-*r/98.2%
associate-/l*98.2%
associate-/l/98.2%
neg-mul-198.2%
*-lft-identity98.2%
metadata-eval98.2%
times-frac98.2%
neg-mul-198.2%
remove-double-neg98.2%
neg-mul-198.2%
sub0-neg98.2%
associate--r+98.2%
neg-sub098.2%
div-sub98.2%
distribute-frac-neg98.2%
*-inverses98.2%
metadata-eval98.2%
Simplified98.2%
Taylor expanded in t1 around inf 52.9%
Taylor expanded in t1 around 0 32.3%
associate-*r/32.3%
neg-mul-132.3%
Simplified32.3%
if -5.1999999999999998e113 < u < 3.00000000000000026e154Initial program 72.6%
times-frac97.2%
Simplified97.2%
Taylor expanded in t1 around inf 62.6%
associate-*r/62.6%
neg-mul-162.6%
Simplified62.6%
Final simplification54.3%
Initial program 73.2%
associate-/l*75.0%
associate-/l*85.0%
Simplified85.0%
Taylor expanded in t1 around inf 48.2%
Taylor expanded in v around 0 56.4%
neg-mul-156.4%
distribute-neg-frac56.4%
Simplified56.4%
Final simplification56.4%
Initial program 73.2%
times-frac97.5%
Simplified97.5%
Taylor expanded in t1 around inf 48.8%
associate-*r/48.8%
neg-mul-148.8%
Simplified48.8%
Final simplification48.8%
Initial program 73.2%
associate-/l*75.0%
Simplified75.0%
Taylor expanded in t1 around inf 35.6%
unpow235.6%
Simplified35.6%
div-inv35.5%
clear-num35.2%
add-sqr-sqrt15.3%
sqrt-unprod10.8%
sqr-neg10.8%
sqrt-prod5.1%
add-sqr-sqrt11.2%
Applied egg-rr11.2%
Taylor expanded in t1 around 0 9.8%
Final simplification9.8%
herbie shell --seed 2023166
(FPCore (u v t1)
:name "Rosa's DopplerBench"
:precision binary64
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))