bug333 (missed optimization)

Time bar (total: 1.0s)

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)

sample44.0ms (4.2%)

Memory
5.2MiB live, 13.9MiB allocated
Samples
19.0ms112×2valid
16.0ms144×1valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 29.0ms
adjust: 11.0ms (37.5% of total)
ival-sqrt: 8.0ms (27.2% of total)
ival-sub: 5.0ms (17% of total)
ival-add: 3.0ms (10.2% of total)
ival-<=: 2.0ms (6.8% of total)
ival-assert: 0.0ms (0% of total)
ival-and: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
Bogosity

explain955.0ms (91.1%)

Memory
3.6MiB live, 603.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
2542(0.6598014638084146)1(-1.73301555770738e-309)(-.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)))cancellation2550
Confusion
Predicted +Predicted -
+2531
-20
Precision
0.9921568627450981
Recall
0.9960629921259843
Confusion?
Predicted +Predicted MaybePredicted -
+25301
-200
Precision?
0.9921568627450981
Recall?
0.9960629921259843
Freqs
test
numberfreq
01
1255
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
6.24951171875
Average Time
0.024412155151367188
Samples
243.0ms1 332×2valid
192.0ms1 692×1valid
2.0ms48×0valid
Compiler

Compiled 1 032 to 360 computations (65.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 326.0ms
adjust: 130.0ms (39.8% of total)
ival-sqrt: 96.0ms (29.4% of total)
ival-sub: 58.0ms (17.8% of total)
ival-add: 37.0ms (11.3% of total)
ival-true: 2.0ms (0.6% of total)
exact: 2.0ms (0.6% of total)
ival-assert: 1.0ms (0.3% of total)

preprocess18.0ms (1.8%)

Memory
6.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)

prune5.0ms (0.4%)

Memory
-7.2MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
9.0%
(-.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)

simplify20.0ms (1.9%)

Memory
-1.6MiB 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.5%)

Memory
3.1MiB live, 3.1MiB 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...