bug333 (missed optimization)

Time bar (total: 994.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
100%50%0%50%0%0%0%1
Compiler

Compiled 17 to 12 computations (29.4% saved)

sample39.0ms (3.9%)

Memory
4.6MiB live, 13.4MiB allocated
Samples
15.0ms147×1valid
15.0ms97×2valid
1.0ms16×0valid
Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-sqrt: 8.0ms (33.5% of total)
adjust: 6.0ms (25.1% of total)
ival-sub: 5.0ms (20.9% of total)
ival-add: 3.0ms (12.6% of total)
ival-<=: 1.0ms (4.2% of total)
ival-assert: 0.0ms (0% of total)
ival-and: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain904.0ms (90.9%)

Memory
10.8MiB live, 594.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2511(0.00616634282204323)0-(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
00-0-(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-(-.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-(sqrt.f64 (-.f64 #s(literal 1 binary64) x))
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))cancellation2521
Confusion
Predicted +Predicted -
+2511
-13
Precision
0.996031746031746
Recall
0.996031746031746
Confusion?
Predicted +Predicted MaybePredicted -
+25110
-103
Precision?
0.9960474308300395
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
04
1252
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
6.2880859375
Average Time
0.024562835693359375
Samples
182.0ms1 140×2valid
180.0ms1 740×1valid
9.0ms192×0valid
Compiler

Compiled 1 032 to 360 computations (65.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 264.0ms
ival-sqrt: 93.0ms (35.3% of total)
adjust: 71.0ms (26.9% of total)
ival-sub: 57.0ms (21.6% of total)
ival-add: 39.0ms (14.8% of total)
ival-true: 2.0ms (0.8% of total)
exact: 2.0ms (0.8% of total)
ival-assert: 1.0ms (0.4% of total)

preprocess20.0ms (2%)

Memory
-4.1MiB live, 6.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
12219
25218
310118
416318
523718
626418
727218
079
0129
1199
2269
3379
4519
5749
61149
71499
81969
92119
102199
02199
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Outputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Symmetry

(negabs x)

Compiler

Compiled 9 to 7 computations (22.2% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
10.6%
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify24.0ms (2.4%)

Memory
-5.4MiB live, 18.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1159
2229
3269
4289
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
Outputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (sqrt.f64 (-.f64 #s(literal 1 binary64) x)))

soundness0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 9 to 7 computations (22.2% saved)

preprocess6.0ms (0.6%)

Memory
3.0MiB live, 3.0MiB allocated
Remove

(negabs x)

Compiler

Compiled 98 to 76 computations (22.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...