bug333 (missed optimization)

Time bar (total: 990.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.8MiB live, 13.4MiB allocated
Samples
15.0ms97×2valid
14.0ms147×1valid
1.0ms16×0valid
Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-sqrt: 8.0ms (33.9% of total)
adjust: 6.0ms (25.4% of total)
ival-sub: 5.0ms (21.2% of total)
ival-add: 3.0ms (12.7% 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

explain901.0ms (91%)

Memory
10.7MiB 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)))cancellation2520
Confusion
Predicted +Predicted -
+2511
-13
Precision
0.996031746031746
Recall
0.996031746031746
Confusion?
Predicted +Predicted MaybePredicted -
+25101
-103
Precision?
0.996031746031746
Recall?
0.996031746031746
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.19140625
Average Time
0.0241851806640625
Samples
179.0ms1 140×2valid
178.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: 258.0ms
ival-sqrt: 91.0ms (35.2% of total)
adjust: 71.0ms (27.5% of total)
ival-sub: 55.0ms (21.3% of total)
ival-add: 37.0ms (14.3% 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.5MiB 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...