Herbie run

Date:Thursday, July 25th, 2024
Commit:3dbe455a on bsearch-speedup
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)

simplify20.2s (25.6%)

Memory
339.3MiB live, 23 403.6MiB 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.3s (13%)

Memory
-67.2MiB live, 15 805.8MiB 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.2s (13%)

Memory
406.4MiB live, 13 268.4MiB allocated
Samples
6.0s70 180×0valid
738.0ms4 114×2valid
341.0ms1 855×0invalid
1.0ms10×1valid
Precisions
Click to see histograms. Total time spent on operations: 5.1s
ival-div: 1.3s (24.9% of total)
ival-mult: 1.3s (24.9% of total)
ival-sub: 926.0ms (18.1% of total)
ival-sqrt: 403.0ms (7.9% of total)
ival-neg: 262.0ms (5.1% of total)
ival-add: 243.0ms (4.8% of total)
ival->=: 137.0ms (2.7% of total)
ival-log: 125.0ms (2.4% of total)
ival-fabs: 102.0ms (2% of total)
ival-if: 80.0ms (1.6% of total)
ival-exp: 77.0ms (1.5% of total)
adjust: 75.0ms (1.5% of total)
exact: 57.0ms (1.1% of total)
ival-true: 53.0ms (1% of total)
ival-assert: 29.0ms (0.6% of total)
Bogosity

soundness9.5s (12%)

Memory
-33.1MiB live, 6 240.7MiB 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 543 computations (51.7% saved)

eval8.9s (11.3%)

Memory
190.1MiB live, 11 323.6MiB allocated
Compiler

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

prune8.0s (10.1%)

Memory
-223.3MiB live, 11 722.4MiB allocated
Counts
39 262 → 411
Compiler

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

localize5.0s (6.3%)

Memory
-69.4MiB live, 7 361.1MiB allocated
Samples
1.3s6 515×0valid
992.0ms768×2valid
295.0ms146×3valid
200.0ms348×1valid
128.0ms52×4valid
54.0ms86×0invalid
38.0ms21×5exit
Compiler

Compiled 7 234 to 828 computations (88.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.9s
ival-div: 606.0ms (31.3% of total)
ival-mult: 394.0ms (20.3% of total)
ival-add: 260.0ms (13.4% of total)
adjust: 160.0ms (8.3% of total)
ival-sub: 150.0ms (7.7% of total)
ival-sqrt: 136.0ms (7% of total)
ival-if: 91.0ms (4.7% of total)
ival-neg: 39.0ms (2% of total)
ival-fabs: 30.0ms (1.5% of total)
ival-log: 20.0ms (1% of total)
const: 17.0ms (0.9% of total)
exact: 12.0ms (0.6% of total)
ival->=: 7.0ms (0.4% of total)
ival-true: 7.0ms (0.4% of total)
ival-e: 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.8%)

Memory
-42.4MiB live, 2 351.1MiB 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 102 computations (73.9% saved)

regimes1.6s (2%)

Memory
-53.8MiB live, 2 419.0MiB allocated
Counts
1 131 → 112
Calls

26 calls:

206.0ms
x
172.0ms
b
120.0ms
(*.f64 x x)
117.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
115.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
Compiler

Compiled 1 569 to 992 computations (36.8% saved)

explain1.4s (1.8%)

Memory
-21.7MiB live, 2 587.6MiB 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
239.0ms3 694×0valid
190.0ms556×2valid
85.0ms294×1valid
61.0ms48×3valid
6.0ms12×4valid
2.0ms5exit
Compiler

Compiled 1 276 to 388 computations (69.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 387.0ms
ival-div: 90.0ms (23.3% of total)
adjust: 66.0ms (17.1% of total)
ival-mult: 65.0ms (16.8% of total)
ival-sub: 53.0ms (13.7% of total)
ival-sqrt: 33.0ms (8.5% of total)
ival-neg: 18.0ms (4.7% of total)
ival-add: 15.0ms (3.9% of total)
ival-if: 14.0ms (3.6% of total)
ival->=: 7.0ms (1.8% of total)
ival-log: 7.0ms (1.8% of total)
ival-fabs: 5.0ms (1.3% of total)
ival-exp: 4.0ms (1% of total)
exact: 4.0ms (1% of total)
ival-true: 4.0ms (1% of total)
ival-assert: 2.0ms (0.5% of total)

series629.0ms (0.8%)

Memory
106.4MiB live, 1 187.6MiB allocated
Counts
365 → 8 004
Calls

1371 calls:

TimeVariablePointExpression
53.0ms
x
@0
(log x)
21.0ms
x
@-inf
(log x)
17.0ms
b
@inf
(+ (neg b) (/ (+ (* b b) (* c (* a -4))) (sqrt (+ (* b b) (* c (* a -4))))))
10.0ms
c
@-inf
(- (neg b) (/ 1 (sqrt (/ 1 (+ (* b b) (* c (* a -4)))))))
8.0ms
x
@inf
(log x)

analyze594.0ms (0.8%)

Memory
18.6MiB live, 679.2MiB 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)

bsearch510.0ms (0.6%)

Memory
-3.6MiB live, 1 116.5MiB allocated
Algorithm
39×binary-search
10×left-value
Stop Event
31×narrow-enough
predicate-same
Samples
244.0ms2 816×0valid
35.0ms326×0invalid
12.0ms80×2valid
Compiler

Compiled 14 778 to 9 639 computations (34.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 203.0ms
ival-mult: 61.0ms (30.1% of total)
ival-div: 52.0ms (25.7% of total)
ival-sub: 24.0ms (11.8% of total)
ival-add: 17.0ms (8.4% of total)
ival-sqrt: 15.0ms (7.4% of total)
ival-if: 8.0ms (3.9% of total)
ival-neg: 8.0ms (3.9% of total)
ival->=: 6.0ms (3% of total)
ival-fabs: 5.0ms (2.5% of total)
exact: 3.0ms (1.5% of total)
ival-true: 2.0ms (1% of total)
adjust: 1.0ms (0.5% of total)
ival-assert: 1.0ms (0.5% of total)

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...