bug366 (missed optimization)

Time bar (total: 929.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)

sample93.0ms (10%)

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

explain780.0ms (83.9%)

Memory
8.3MiB live, 628.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1580-1(-5.36194062238575e-193 -2.3800671330126422e-281 1.6208675597696879e-161)(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-rescue1550
(+.f64 (*.f64 y y) (*.f64 z z))overflow126
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))overflow155
(*.f64 y y)overflow60
(*.f64 x x)overflow51
(*.f64 z z)overflow76
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))uflow-rescue20
(+.f64 (*.f64 y y) (*.f64 z z))underflow16
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))underflow2
(*.f64 y y)underflow65
(*.f64 x x)underflow70
(*.f64 z z)underflow58
Confusion
Predicted +Predicted -
+1571
-098
Precision
1.0
Recall
0.9936708860759493
Confusion?
Predicted +Predicted MaybePredicted -
+15701
-0098
Precision?
1.0
Recall?
0.9936708860759493
Freqs
test
numberfreq
099
1157
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.60107421875
Average Time
0.021879196166992188
Samples
178.0ms3 072×0valid
Compiler

Compiled 1 680 to 456 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 97.0ms
ival-mult: 53.0ms (54.9% of total)
ival-add: 22.0ms (22.8% of total)
ival-sqrt: 18.0ms (18.7% of total)
ival-true: 2.0ms (2.1% of total)
adjust: 1.0ms (1% of total)
ival-assert: 1.0ms (1% of total)

preprocess21.0ms (2.2%)

Memory
-3.2MiB 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
42.7%
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 24 to 18 computations (25% saved)

simplify22.0ms (2.4%)

Memory
2.3MiB 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)

preprocess12.0ms (1.3%)

Memory
1.7MiB live, 9.5MiB allocated
Remove

(sort x y z)

(abs x)

(abs y)

(abs z)

Compiler

Compiled 250 to 190 computations (24% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...