Herbie run

Date:Thursday, May 16th, 2024
Commit:c2f4097e on main
Hostname:nightly with Racket 8.11.1
Seed:2024137
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 1.2min)

simplify14.3s (19.5%)

Algorithm
72×egg-herbie
Rules
23454×fma-define
22552×fma-neg
12553×times-frac
11623×distribute-lft-in
10688×distribute-rgt-in
Stop Event
31×saturated
41×node limit
Counts
15524 → 14441

sample11.9s (16.2%)

Results
7.6s70196×0valid
1.3s4103×2valid
270.0ms1975×0invalid
1.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 6.3s
ival-mult: 2.1s (33.6% of total)
ival-div: 1.6s (26% of total)
ival-sub: 789.0ms (12.5% of total)
ival-sqrt: 492.0ms (7.8% of total)
ival-neg: 237.0ms (3.8% of total)
ival-add: 227.0ms (3.6% of total)
ival-fabs: 172.0ms (2.7% of total)
ival->=: 122.0ms (1.9% of total)
ival-if: 121.0ms (1.9% of total)
const: 111.0ms (1.8% of total)
backward-pass: 107.0ms (1.7% of total)
ival-log: 104.0ms (1.7% of total)
ival-exp: 67.0ms (1.1% of total)
Bogosity

soundness9.2s (12.5%)

Rules
10345×fma-define
8952×fma-neg
6348×times-frac
5204×distribute-lft-in
4857×*-commutative
Stop Event
saturated
28×node limit
fuel
done
Compiler

Compiled 7697 to 2184 computations (71.6% saved)

localize9.1s (12.4%)

Results
2.5s6749×0valid
1.6s485×2valid
861.0ms125×5exit
506.0ms289×1valid
370.0ms477×0invalid
218.0ms67×3valid
Compiler

Compiled 6319 to 734 computations (88.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.3s
ival-div: 568.0ms (17.2% of total)
backward-pass: 558.0ms (16.9% of total)
ival-pow: 476.0ms (14.4% of total)
ival-mult: 434.0ms (13.1% of total)
ival-sqrt: 389.0ms (11.8% of total)
ival-if: 204.0ms (6.2% of total)
ival-sub: 200.0ms (6% of total)
ival-fma: 160.0ms (4.8% of total)
ival-add: 98.0ms (3% of total)
...c/correct-round.rkt:121:19: 38.0ms (1.1% of total)
ival-exp: 36.0ms (1.1% of total)
ival-log: 32.0ms (1% of total)
ival-neg: 31.0ms (0.9% of total)
const: 24.0ms (0.7% of total)
ival-hypot: 22.0ms (0.7% of total)
ival->=: 13.0ms (0.4% of total)
ival-fabs: 11.0ms (0.3% of total)
ival-cbrt: 10.0ms (0.3% of total)
ival-e: 4.0ms (0.1% of total)

rewrite8.2s (11.2%)

Algorithm
31×batch-egg-rewrite
Rules
18004×log1p-expm1-u
14560×expm1-log1p-u
8256×pow1
7507×add-exp-log
6823×prod-diff
Stop Event
31×node limit
Counts
288 → 9141

prune7.0s (9.5%)

Counts
23960 → 436
Compiler

Compiled 23531 to 12345 computations (47.5% saved)

eval5.5s (7.5%)

Compiler

Compiled 798602 to 93270 computations (88.3% saved)

series1.9s (2.6%)

Counts
288 → 6383
Calls

1620 calls:

TimeVariablePointExpression
100.0ms
x
@0
(log x)
93.0ms
x
@-inf
(log x)
70.0ms
b
@inf
(pow (+ (* b b) (* (* c -4) a)) 1/4)
69.0ms
b
@inf
(if (>= b 0) (/ 1 (/ (+ b (sqrt (+ (* c (* a -4)) (pow b 2)))) (* c -2))) (/ (- b (sqrt (+ (* c (* a -4)) (* b b)))) (* a -2)))
66.0ms
a
@inf
(sqrt (+ (* c (* a -4)) (* b b)))

explain1.8s (2.5%)

Results
521.0ms682×2valid
493.0ms3702×0valid
140.0ms218×1valid
29.0ms3valid
Compiler

Compiled 1140 to 282 computations (75.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 693.0ms
ival-mult: 137.0ms (19.8% of total)
ival-div: 127.0ms (18.3% of total)
backward-pass: 125.0ms (18% of total)
ival-sub: 78.0ms (11.3% of total)
ival-fabs: 78.0ms (11.3% of total)
ival-add: 46.0ms (6.6% of total)
ival-sqrt: 42.0ms (6.1% of total)
ival-neg: 21.0ms (3% of total)
ival-if: 15.0ms (2.2% of total)
const: 7.0ms (1% of total)
ival-log: 7.0ms (1% of total)
ival->=: 6.0ms (0.9% of total)
ival-exp: 4.0ms (0.6% of total)

preprocess1.7s (2.3%)

Algorithm
egg-herbie
Rules
3285×fma-neg
2821×fma-define
1502×times-frac
1470×div-sub
1170×sub-neg
Stop Event
saturated
node limit
Compiler

Compiled 3252 to 1100 computations (66.2% saved)

regimes1.3s (1.7%)

Counts
791 → 106
Calls

26 calls:

565.0ms
x
109.0ms
b
99.0ms
z
77.0ms
c
77.0ms
a
Compiler

Compiled 636 to 425 computations (33.2% saved)

bsearch887.0ms (1.2%)

Algorithm
47×binary-search
left-value
Stop Event
predicate-same
41×narrow-enough
Results
500.0ms5168×0valid
86.0ms312×0invalid
23.0ms96×2valid
Compiler

Compiled 11546 to 7678 computations (33.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 380.0ms
ival-mult: 138.0ms (36.3% of total)
ival-div: 72.0ms (19% of total)
ival-sub: 54.0ms (14.2% of total)
ival-add: 30.0ms (7.9% of total)
ival-sqrt: 18.0ms (4.7% of total)
ival-fabs: 16.0ms (4.2% of total)
ival-neg: 16.0ms (4.2% of total)
ival->=: 14.0ms (3.7% of total)
ival-if: 12.0ms (3.2% of total)
const: 8.0ms (2.1% of total)
backward-pass: 3.0ms (0.8% of total)

analyze760.0ms (1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
22.2%22.2%77.7%0.1%0%0%0%1
29.4%27.8%66.6%0.1%0%5.6%0%2
50%44.4%44.4%0.1%0%11.1%0%3
59.7%51.3%34.7%0.1%0%13.9%0%4
67.2%56.9%27.7%0.1%0%15.3%0%5
74.4%62.4%21.5%0.1%0%16%0%6
78.9%64.9%17.3%0.1%0%17.7%0%7
80.8%66.3%15.8%0.1%0%17.9%0%8
85.9%69.9%11.5%0.1%0%18.5%0%9
88%70.7%9.7%0.1%0%19.6%0%10
90%72.1%8%0.1%0%19.8%0%11
92.3%73.5%6.2%0.1%0%20.3%0%12
Compiler

Compiled 161 to 97 computations (39.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 486.0ms
ival-mult: 176.0ms (36.2% of total)
ival-add: 82.0ms (16.9% of total)
ival->=: 70.0ms (14.4% of total)
ival-div: 57.0ms (11.7% of total)
ival-sub: 31.0ms (6.4% of total)
ival-sqrt: 22.0ms (4.5% of total)
ival-if: 21.0ms (4.3% of total)
ival-neg: 16.0ms (3.3% of total)
const: 6.0ms (1.2% of total)
ival-fabs: 3.0ms (0.6% of total)
backward-pass: 1.0ms (0.2% of total)
ival-exp: 0.0ms (0% of total)
ival-log: 0.0ms (0% of total)

end0.0ms (0%)

Profiling

Loading profile data...