Herbie run

Date:Thursday, July 25th, 2024
Commit:3139208f on main
Hostname:nightly with Racket 8.11.1
Seed:2024207
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.3min)

simplify19.6s (24.3%)

Memory
-189.8MiB live, 23 475.3MiB allocated
Algorithm
71×egg-herbie
Rules
393 492×lower-fma.f32
393 376×lower-fma.f64
185 288×lower-*.f32
184 970×lower-*.f64
91 268×lower-+.f32
Stop Event
90×iter limit
39×node limit
35×saturated
Counts
8 004 → 7 869

rewrite10.5s (13.1%)

Memory
-40.3MiB live, 15 706.3MiB allocated
Algorithm
31×batch-egg-rewrite
Rules
130 318×lower-fma.f32
130 206×lower-fma.f64
105 186×lower-*.f32
104 884×lower-*.f64
101 552×lower-/.f32
Stop Event
66×iter limit
29×node limit
saturated
unsound
Counts
365 → 22 792

sample10.3s (12.8%)

Memory
510.3MiB live, 13 162.4MiB allocated
Samples
5.7s70 180×0valid
982.0ms4 114×2valid
252.0ms1 855×0invalid
1.0ms10×1valid
Precisions
Click to see histograms. Total time spent on operations: 4.5s
ival-mult: 1.1s (23.4% of total)
ival-div: 980.0ms (21.7% of total)
ival-sqrt: 624.0ms (13.8% of total)
ival-sub: 613.0ms (13.6% of total)
ival-add: 236.0ms (5.2% of total)
ival-neg: 217.0ms (4.8% of total)
ival->=: 137.0ms (3% of total)
ival-log: 133.0ms (2.9% of total)
ival-fabs: 117.0ms (2.6% of total)
ival-if: 115.0ms (2.5% of total)
adjust: 77.0ms (1.7% of total)
ival-exp: 76.0ms (1.7% of total)
exact: 58.0ms (1.3% of total)
ival-true: 51.0ms (1.1% of total)
ival-assert: 27.0ms (0.6% of total)
Bogosity

soundness9.4s (11.7%)

Memory
-24.1MiB live, 5 816.1MiB allocated
Rules
288 148×lower-fma.f32
288 080×lower-fma.f64
161 944×lower-*.f32
161 742×lower-*.f64
95 120×lower-/.f32
Stop Event
63×iter limit
37×node limit
fuel
done
saturated
unsound
Compiler

Compiled 5 260 to 2 575 computations (51% saved)

eval8.7s (10.8%)

Memory
175.9MiB live, 11 505.1MiB allocated
Compiler

Compiled 1 623 036 to 98 502 computations (93.9% saved)

prune8.6s (10.7%)

Memory
-33.4MiB live, 11 602.7MiB allocated
Counts
39 262 → 411
Compiler

Compiled 21 067 to 10 563 computations (49.9% saved)

localize5.5s (6.8%)

Memory
90.5MiB live, 7 352.4MiB allocated
Samples
1.7s6 515×0valid
923.0ms768×2valid
264.0ms348×1valid
211.0ms146×3valid
111.0ms52×4valid
52.0ms21×5exit
35.0ms86×0invalid
Compiler

Compiled 7 234 to 828 computations (88.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0s
ival-mult: 575.0ms (29% of total)
ival-div: 467.0ms (23.6% of total)
ival-add: 211.0ms (10.6% of total)
adjust: 175.0ms (8.8% of total)
ival-sub: 132.0ms (6.7% of total)
ival-sqrt: 132.0ms (6.7% of total)
ival-if: 66.0ms (3.3% of total)
ival-neg: 59.0ms (3% of total)
const: 57.0ms (2.9% of total)
ival-fabs: 30.0ms (1.5% of total)
ival->=: 24.0ms (1.2% of total)
ival-log: 23.0ms (1.2% of total)
exact: 13.0ms (0.7% of total)
ival-e: 6.0ms (0.3% of total)
ival-true: 6.0ms (0.3% of total)
ival-exp: 4.0ms (0.2% of total)
ival-assert: 3.0ms (0.2% of total)

preprocess2.2s (2.7%)

Memory
-228.8MiB live, 2 315.5MiB allocated
Algorithm
egg-herbie
Rules
11 858×lower-fma.f32
11 858×lower-fma.f64
5 976×div-sub
5 512×lower-*.f32
5 482×lower-*.f64
Stop Event
18×iter limit
13×saturated
node limit
Compiler

Compiled 4 228 to 1 166 computations (72.4% saved)

explain1.8s (2.2%)

Memory
54.6MiB live, 2 457.1MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue2960
+.f64#fcancellation1160
-.f64#fcancellation1120
sqrt.f64#fuflow-rescue720
/.f64#fn/u300
/.f64#fu/n150
-.f64#fnan-rescue140
*.f64(*.f64 (/.f64 x y) z)n*u80
*.f64(*.f64 (/.f64 x y) z)n*o50
/.f64(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a))n/o10
(*.f64 #s(literal 2 binary64) a)overflow1
/.f64(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c)))) (*.f64 #s(literal 2 binary64) a))o/n10
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))))overflow1
(-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal 4 binary64) a) c))overflow107
(*.f64 #s(literal 4 binary64) a)overflow1
(*.f64 (*.f64 #s(literal 4 binary64) a) c)overflow28
(*.f64 b b)overflow87
Confusion
Predicted +Predicted -
+32418
-1971765
Precision
0.6218809980806143
Recall
0.9473684210526315
Confusion?
Predicted +Predicted MaybePredicted -
+324018
-19701765
Precision?
0.6218809980806143
Recall?
0.9473684210526315
Freqs
test
numberfreq
01783
1378
2137
36
Total Confusion?
Predicted +Predicted MaybePredicted -
+400
-005
Precision?
1.0
Recall?
1.0
Samples
331.0ms3 694×0valid
245.0ms556×2valid
68.0ms294×1valid
23.0ms48×3valid
10.0ms12×4valid
2.0ms5exit
Compiler

Compiled 1 276 to 388 computations (69.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 310.0ms
ival-mult: 68.0ms (22% of total)
ival-div: 61.0ms (19.7% of total)
ival-sub: 40.0ms (12.9% of total)
ival-sqrt: 36.0ms (11.6% of total)
adjust: 27.0ms (8.7% of total)
ival-neg: 23.0ms (7.4% of total)
ival-add: 18.0ms (5.8% of total)
ival-if: 9.0ms (2.9% of total)
ival-log: 7.0ms (2.3% of total)
ival-fabs: 5.0ms (1.6% of total)
ival-exp: 4.0ms (1.3% of total)
exact: 4.0ms (1.3% of total)
ival-true: 4.0ms (1.3% of total)
ival->=: 3.0ms (1% of total)
ival-assert: 2.0ms (0.6% of total)

regimes1.7s (2.1%)

Memory
-27.6MiB live, 2 398.2MiB allocated
Counts
1 131 → 112
Calls

26 calls:

258.0ms
x
173.0ms
b
152.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
133.0ms
(exp.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x))))
117.0ms
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))
Compiler

Compiled 1 569 to 992 computations (36.8% saved)

bsearch951.0ms (1.2%)

Memory
76.4MiB live, 1 658.9MiB allocated
Algorithm
39×binary-search
10×left-value
Stop Event
30×narrow-enough
predicate-same
Samples
527.0ms4 864×0valid
46.0ms406×0invalid
13.0ms80×2valid
Compiler

Compiled 15 098 to 9 921 computations (34.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 389.0ms
ival-mult: 130.0ms (33.4% of total)
ival-div: 74.0ms (19% of total)
ival-sqrt: 47.0ms (12.1% of total)
ival-sub: 43.0ms (11.1% of total)
ival-add: 31.0ms (8% of total)
ival-neg: 16.0ms (4.1% of total)
ival-if: 15.0ms (3.9% of total)
ival->=: 12.0ms (3.1% of total)
ival-fabs: 6.0ms (1.5% of total)
exact: 6.0ms (1.5% of total)
ival-true: 4.0ms (1% of total)
ival-assert: 2.0ms (0.5% of total)
adjust: 1.0ms (0.3% of total)

series662.0ms (0.8%)

Memory
144.5MiB live, 1 181.7MiB allocated
Counts
365 → 8 004
Calls

1371 calls:

TimeVariablePointExpression
46.0ms
x
@-inf
(log x)
32.0ms
x
@inf
(log x)
27.0ms
x
@0
(log x)
16.0ms
x
@0
(+ (* x (* x (* x 1/2))) x)
7.0ms
c
@inf
(sqrt (/ 1 (+ (* c (* a -4)) (* b b))))

analyze630.0ms (0.8%)

Memory
-10.4MiB live, 670.6MiB allocated
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 153 to 106 computations (30.7% saved)

end0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated

Profiling

Loading profile data...