Mathematics Results

Average Percentage Accurate: 73.0% → 92.8%
Time: 23.9min
Bad Runs: 2/53
Speedup: 4.8×

Output vs Input Accuracy

Each point represents a Herbie run below. Its horizontal position shows initial accuracy, and vertical position shows final accuracy. Points above the line are improved by Herbie.

Accuracy vs Speed

A joint speed-accuracy pareto curve. Accuracy is on the vertical axis, speed is on the horizontal axis. Up and to the right is better. The initial program is shown by the red square.
TestStartResult ?Target ?Time
symmetry log of sum of exp98.9%99.7%51.6s»
raw-angle from scale-rotated-ellipse14.0%54.8%2.4min»
b parameter of renormalized beta distribution99.9%99.9%17.4s»
b from scale-rotated-ellipse2.5min»
ab-angle->ABCF D81.4%99.6%5.2s»
ab-angle->ABCF C80.4%80.4%35.7s»
ab-angle->ABCF B54.9%68.8%35.6s»
ab-angle->ABCF A80.4%80.5%24.0s»
a parameter of renormalized beta distribution99.8%99.6%27.6s»
a from scale-rotated-ellipse2.5min»
Trigonometry B99.5%99.5%14.0s»
Trigonometry A99.8%99.8%10.8s»
Spherical law of cosines74.0%94.1%39.3s»
Simplification of discriminant from scale-rotated-ellipse25.1%94.4%49.9s»
Quadratic roots, wide range2.0s»
Quadratic roots, narrow range2.0s»
Quadratic roots, medium range2.1s»
Quadratic roots, full range50.9%84.6%13.0s»
Midpoint on a great circle98.5%99.6%25.9s»
Logistic function from Lakshay Garg9.7%98.5%18.8s»
Hyperbolic tangent9.3%98.9%23.1s»
Hyperbolic sine54.1%99.8%6.1s»
Hyperbolic secant100.0%100.0%3.6s»
Hyperbolic arc-cosine52.1%99.5%6.8s»
Hyperbolic arc-(co)tangent8.5%100.0%9.7s»
Hyperbolic arc-(co)secant99.9%99.9%8.2s»
Example from Robby99.8%99.8%29.7s»
Example 2 from Robby99.8%99.8%24.9s»
Equirectangular approximation to distance on a great circle60.5%99.8%23.2s»
Eccentricity of an ellipse1.9s»
Distance on a great circle62.5%63.8%1.5min»
Destination given bearing on a great circle99.8%99.8%18.0s»
Cubic critical, wide range2.0s»
Cubic critical, narrow range2.0s»
Cubic critical, medium range2.2s»
Cubic critical50.8%86.4%17.6s»
Bearing on a great circle79.3%99.7%43.1s»
Asymptote C54.3%99.7%8.8s»
Asymptote B100.0%100.0%5.0s»
Asymptote A77.4%99.9%7.0s»
ABCF->ab-angle b18.6%43.3%35.7s»
ABCF->ab-angle angle53.0%80.3%43.1s»
ABCF->ab-angle a19.6%42.2%48.2s»
2-ancestry mixing, zero discriminant75.6%98.7%11.1s»
2-ancestry mixing, positive discriminant43.2%95.7%33.9s»
2-ancestry mixing, negative discriminant98.5%98.5%13.1s»
Quotient of sum of exps90.8%100.0%100.0%15.5s»
Quotient of products86.3%93.7%86.0%5.5s»
Logistic regression 279.3%99.7%99.9%10.1s»
Hyperbolic arcsine18.1%99.8%29.9%7.1s»
Harley's example16.7%64.6%40.1%52.9s»
Exp of sum of logs92.2%100.0%100.0%6.1s»
(- (/ x0 (- 1 x1)) x0)0.2s»