Herbie run

Date:Saturday, May 18th, 2024
Commit:c2f4097e on main
Hostname:nightly with Racket 8.11.1
Seed:2024139
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: 6.3min)

sample1.4min (22.6%)

Results
38.7s275616×0valid
19.3s54566×1valid
7.7s16474×2valid
635.0ms4371×0invalid
446.0ms202×5exit
118.0ms952×0unsamplable
80.0ms96×3valid
Precisions
Click to see histograms. Total time spent on operations: 49.6s
ival-mult: 10.5s (21.2% of total)
ival-pow: 5.8s (11.6% of total)
ival-add: 5.2s (10.5% of total)
ival-div: 4.4s (8.9% of total)
ival-<=: 4.4s (8.8% of total)
ival-sub: 4.1s (8.4% of total)
...c/correct-round.rkt:121:19: 3.5s (7% of total)
ival-sin: 2.5s (5% of total)
backward-pass: 2.2s (4.4% of total)
ival-exp: 1.2s (2.5% of total)
ival-log: 1.0s (2% of total)
const: 825.0ms (1.7% of total)
ival-cos: 772.0ms (1.6% of total)
ival-neg: 725.0ms (1.5% of total)
ival-sqrt: 709.0ms (1.4% of total)
ival-fma: 473.0ms (1% of total)
ival-and: 421.0ms (0.8% of total)
ival-tan: 307.0ms (0.6% of total)
ival-==: 273.0ms (0.6% of total)
ival-<: 140.0ms (0.3% of total)
ival-atan: 135.0ms (0.3% of total)
ival-pi: 39.0ms (0.1% of total)
ival-if: 10.0ms (0% of total)
ival-fabs: 7.0ms (0% of total)
Bogosity

simplify1.3min (20%)

Algorithm
336×egg-herbie
Rules
114196×fma-define
93467×fma-neg
74692×distribute-lft-in
61190×distribute-rgt-in
57512×times-frac
Stop Event
108×saturated
227×node limit
unsound
Counts
79291 → 75147

soundness39.5s (10.5%)

Rules
39157×fma-define
37388×log1p-expm1-u
31768×fma-neg
30159×expm1-log1p-u
26697×distribute-lft-in
Stop Event
saturated
137×node limit
26×fuel
unsound
16×done
Compiler

Compiled 35671 to 9405 computations (73.6% saved)

localize38.0s (10.1%)

Results
11.0s30438×0valid
7.5s1369×5exit
4.5s3473×1valid
3.6s1604×2valid
620.0ms1034×0invalid
408.0ms109×3valid
46.0ms115×0unsamplable
20.0ms5valid
Compiler

Compiled 34277 to 3498 computations (89.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.7s
ival-mult: 3.8s (22.6% of total)
backward-pass: 2.7s (16.2% of total)
ival-pow: 2.5s (15.2% of total)
ival-add: 1.8s (10.9% of total)
ival-div: 1.7s (10.1% of total)
ival-sub: 920.0ms (5.5% of total)
...c/correct-round.rkt:121:19: 653.0ms (3.9% of total)
ival-log1p: 562.0ms (3.4% of total)
ival-expm1: 333.0ms (2% of total)
ival-fma: 316.0ms (1.9% of total)
ival-tan: 272.0ms (1.6% of total)
ival-sqrt: 241.0ms (1.4% of total)
ival-exp: 191.0ms (1.1% of total)
ival-sin: 138.0ms (0.8% of total)
const: 128.0ms (0.8% of total)
ival-neg: 121.0ms (0.7% of total)
ival-cos: 81.0ms (0.5% of total)
ival-cbrt: 57.0ms (0.3% of total)
ival-log: 52.0ms (0.3% of total)
ival-hypot: 52.0ms (0.3% of total)
ival-atan: 26.0ms (0.2% of total)
ival-e: 6.0ms (0% of total)
ival-pi: 5.0ms (0% of total)

rewrite37.8s (10%)

Algorithm
145×batch-egg-rewrite
Rules
90347×log1p-expm1-u
70564×expm1-log1p-u
31135×pow1
29213×add-exp-log
27906×add-log-exp
Stop Event
145×node limit
Counts
1574 → 51635

eval25.3s (6.7%)

Compiler

Compiled 3373708 to 439264 computations (87% saved)

prune24.5s (6.5%)

Counts
114351 → 2227
Compiler

Compiled 85953 to 42903 computations (50.1% saved)

preprocess10.7s (2.8%)

Algorithm
42×egg-herbie
Rules
18568×fma-define
18480×fma-neg
9939×unsub-neg
9280×sub-neg
7631×distribute-rgt-in
Stop Event
20×saturated
22×node limit
Compiler

Compiled 22990 to 7414 computations (67.8% saved)

series9.2s (2.4%)

Counts
1574 → 27656
Calls

7329 calls:

TimeVariablePointExpression
262.0ms
a
@-inf
(* a 2)
255.0ms
t
@inf
(* t (+ 2 (* t -2)))
219.0ms
d
@inf
(* b (/ c (pow (sqrt (+ (* d d) (* c c))) 2)))
211.0ms
t
@inf
(cbrt (+ (* 170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 t) -170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))
192.0ms
i
@0
(* (pow (/ i n) n) 100)

explain8.8s (2.3%)

Results
2.7s16250×0valid
2.2s3848×1valid
927.0ms1396×2valid
15.0ms10×3valid
Compiler

Compiled 7687 to 1404 computations (81.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.4s
ival-mult: 789.0ms (23% of total)
ival-pow: 698.0ms (20.4% of total)
ival-div: 465.0ms (13.6% of total)
ival-add: 307.0ms (9% of total)
ival-sub: 282.0ms (8.2% of total)
backward-pass: 266.0ms (7.8% of total)
ival-fma: 143.0ms (4.2% of total)
ival-log: 115.0ms (3.4% of total)
ival-sin: 92.0ms (2.7% of total)
const: 55.0ms (1.6% of total)
...c/correct-round.rkt:121:19: 49.0ms (1.4% of total)
ival-exp: 47.0ms (1.4% of total)
ival-cos: 46.0ms (1.3% of total)
ival-neg: 32.0ms (0.9% of total)
ival-sqrt: 27.0ms (0.8% of total)
ival-atan: 5.0ms (0.1% of total)
ival-tan: 4.0ms (0.1% of total)
ival-pi: 2.0ms (0.1% of total)

bsearch8.5s (2.3%)

Algorithm
270×binary-search
20×left-value
Stop Event
38×predicate-same
232×narrow-enough
Results
4.0s27709×0valid
1.5s4032×1valid
359.0ms547×2valid
201.0ms1775×0invalid
30.0ms244×0unsamplable
Compiler

Compiled 76305 to 46000 computations (39.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.4s
ival-mult: 1.5s (35% of total)
ival-div: 760.0ms (17.2% of total)
ival-add: 617.0ms (13.9% of total)
ival-sub: 544.0ms (12.3% of total)
ival-pow: 505.0ms (11.4% of total)
ival-neg: 164.0ms (3.7% of total)
backward-pass: 94.0ms (2.1% of total)
ival-exp: 74.0ms (1.7% of total)
const: 64.0ms (1.4% of total)
ival-sqrt: 54.0ms (1.2% of total)
ival-pi: 3.0ms (0.1% of total)

regimes7.2s (1.9%)

Counts
5265 → 586
Calls

96 calls:

604.0ms
b
597.0ms
x
483.0ms
x1
394.0ms
a
390.0ms
d
Compiler

Compiled 4479 to 2735 computations (38.9% saved)

analyze6.6s (1.8%)

Algorithm
43×search
random
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%54.5%45.5%0%0%0%0
21.4%11.7%42.9%45.5%0%0%0%1
35.2%19.2%35.3%45.5%0%0%0%2
47.6%25.7%28.3%45.5%0%0.6%0%3
57.1%30.5%22.8%45.5%0%1.2%0%4
70.9%37.5%15.4%45.6%0%1.5%0%5
72.8%38.4%14.4%45.6%0%1.7%0%6
77.8%40.7%11.6%45.6%0%2%0%7
81.4%42.5%9.7%45.7%0%2.1%0%8
84.1%43.8%8.3%45.7%0%2.2%0%9
86.2%44.6%7.2%45.7%0%2.5%0%10
88.2%45.6%6.1%45.7%0%2.5%0.1%11
89.1%45.9%5.6%45.7%0%2.6%0.1%12
Compiler

Compiled 1441 to 688 computations (52.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0s
ival-add: 920.0ms (23.1% of total)
ival-mult: 695.0ms (17.5% of total)
ival-div: 628.0ms (15.8% of total)
ival-pow: 455.0ms (11.4% of total)
ival-sub: 314.0ms (7.9% of total)
ival-exp: 202.0ms (5.1% of total)
ival-<=: 159.0ms (4% of total)
ival-neg: 125.0ms (3.1% of total)
ival-sqrt: 99.0ms (2.5% of total)
ival-if: 62.0ms (1.6% of total)
...c/correct-round.rkt:121:19: 54.0ms (1.4% of total)
ival-==: 53.0ms (1.3% of total)
ival-pi: 51.0ms (1.3% of total)
ival-fabs: 50.0ms (1.3% of total)
const: 46.0ms (1.2% of total)
ival-and: 29.0ms (0.7% of total)
ival-<: 24.0ms (0.6% of total)
backward-pass: 8.0ms (0.2% of total)
ival-cos: 2.0ms (0.1% of total)
ival-log: 1.0ms (0% of total)
ival-atan: 0.0ms (0% of total)
ival-tan: 0.0ms (0% of total)
ival-fma: 0.0ms (0% of total)
ival-sin: 0.0ms (0% of total)

end0.0ms (0%)

Profiling

Loading profile data...