bug366 (missed optimization)

Time bar (total: 1.2s)

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 (1.7%)

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

explain1.1s (93.1%)

Memory
11.7MiB live, 630.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1430-1(-6.5762985563671185e-195 -1.8347740627274825e-162 9.4989312458198e-240)(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-rescue30
(+.f64 (*.f64 y y) (*.f64 z z))underflow11
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))underflow3
(*.f64 y y)underflow57
(*.f64 x x)underflow52
(*.f64 z z)underflow63
Confusion
Predicted +Predicted -
+1421
-0113
Precision
1.0
Recall
0.993006993006993
Confusion?
Predicted +Predicted MaybePredicted -
+14201
-00113
Precision?
1.0
Recall?
0.993006993006993
Freqs
test
numberfreq
0114
1142
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
17.326171875
Average Time
0.06768035888671875
Samples
373.0ms6 144×0valid
Compiler

Compiled 1 704 to 480 computations (71.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 204.0ms
ival-mult: 112.0ms (54.8% of total)
ival-add: 46.0ms (22.5% of total)
ival-sqrt: 39.0ms (19.1% of total)
ival-true: 4.0ms (2% of total)
ival-assert: 2.0ms (1% of total)

preprocess21.0ms (1.8%)

Memory
-0.6MiB live, 6.8MiB 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.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune1.0ms (0%)

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)

simplify21.0ms (1.8%)

Memory
-7.2MiB live, 18.0MiB 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)

preprocess17.0ms (1.5%)

Memory
5.8MiB 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...