bug366 (missed optimization)

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

sample21.0ms (2.3%)

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

explain824.0ms (91.3%)

Memory
5.7MiB live, 624.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1500-1(3.000584168104108e-160 -3.855788564816524e-219 9.428323059324785e-193)(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-rescue1430
(+.f64 (*.f64 y y) (*.f64 z z))overflow111
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))overflow143
(*.f64 y y)overflow64
(*.f64 x x)overflow65
(*.f64 z z)overflow57
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))uflow-rescue60
(+.f64 (*.f64 y y) (*.f64 z z))underflow20
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))underflow6
(*.f64 y y)underflow61
(*.f64 x x)underflow55
(*.f64 z z)underflow65
Confusion
Predicted +Predicted -
+1491
-0106
Precision
1.0
Recall
0.9933333333333333
Confusion?
Predicted +Predicted MaybePredicted -
+14901
-00106
Precision?
1.0
Recall?
0.9933333333333333
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0107
1149
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.810546875
Average Time
0.02269744873046875
Samples
183.0ms3 072×0valid
Compiler

Compiled 1 680 to 456 computations (72.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 99.0ms
ival-mult: 55.0ms (55.4% of total)
ival-add: 22.0ms (22.2% of total)
ival-sqrt: 19.0ms (19.1% of total)
ival-true: 2.0ms (2% of total)
ival-assert: 1.0ms (1% of total)

preprocess20.0ms (2.2%)

Memory
6.9MiB 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
45.8%
(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.1MiB 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...