bug366 (missed optimization)

Time bar (total: 893.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze1.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
100%99.9%0%0.1%0%0%0%4
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample20.0ms (2.3%)

Memory
7.5MiB live, 7.5MiB allocated
Samples
13.0ms260×0valid
Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (60.5% of total)
ival-add: 2.0ms (24.2% of total)
ival-sqrt: 2.0ms (24.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

explain809.0ms (90.6%)

Memory
2.6MiB live, 623.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1430-0-(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
00-0-(+.f64 (*.f64 y y) (*.f64 z z))
00-0-z
00-0-(*.f64 x x)
00-0-(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))
00-0-(*.f64 z z)
00-0-y
00-0-(*.f64 y y)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))oflow-rescue1390
(+.f64 (*.f64 y y) (*.f64 z z))overflow106
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))overflow139
(*.f64 y y)overflow64
(*.f64 x x)overflow67
(*.f64 z z)overflow57
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))uflow-rescue40
(+.f64 (*.f64 y y) (*.f64 z z))underflow12
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))underflow4
(*.f64 y y)underflow58
(*.f64 x x)underflow52
(*.f64 z z)underflow63
Confusion
Predicted +Predicted -
+1430
-0113
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+14300
-00113
Precision?
1.0
Recall?
1.0
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0113
1143
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.58154296875
Average Time
0.021802902221679688
Samples
182.0ms3 072×0valid
Compiler

Compiled 1 680 to 456 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 101.0ms
ival-mult: 56.0ms (55.5% of total)
ival-add: 22.0ms (21.8% of total)
ival-sqrt: 20.0ms (19.8% of total)
ival-true: 2.0ms (2% of total)
ival-assert: 1.0ms (1% of total)

preprocess20.0ms (2.3%)

Memory
-0.5MiB live, 6.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033111
169111
2148111
3293111
4470111
5521111
6523111
0912
01512
11912
22612
32812
02810
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
(sqrt.f64 (fma.f64 x x (fma.f64 z z (*.f64 y y))))
Symmetry

(abs z)

(abs y)

(abs x)

(sort x y z)

Compiler

Compiled 12 to 9 computations (25% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.5%
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 24 to 18 computations (25% saved)

simplify24.0ms (2.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11112
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
(sqrt.f64 (+.f64 (+.f64 (*.f64 z z) (*.f64 y y)) (*.f64 x x)))

soundness0.0ms (0%)

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

Compiled 12 to 9 computations (25% saved)

preprocess18.0ms (2%)

Memory
5.9MiB live, 13.8MiB allocated
Remove

(abs y)

(abs z)

Compiler

Compiled 346 to 262 computations (24.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...