bug366 (missed optimization)

Time bar (total: 885.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.4%)

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

explain808.0ms (91.3%)

Memory
9.2MiB live, 628.4MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1540-1(-3.2304174664500454e-276 9.135316708960215e-157 2.3711166631325256e-157)(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-rescue1500
(+.f64 (*.f64 y y) (*.f64 z z))overflow118
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))overflow150
(*.f64 y y)overflow67
(*.f64 x x)overflow63
(*.f64 z z)overflow73
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))uflow-rescue30
(+.f64 (*.f64 y y) (*.f64 z z))underflow16
(+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z)))underflow3
(*.f64 y y)underflow62
(*.f64 x x)underflow59
(*.f64 z z)underflow59
Confusion
Predicted +Predicted -
+1531
-0102
Precision
1.0
Recall
0.9935064935064936
Confusion?
Predicted +Predicted MaybePredicted -
+15301
-00102
Precision?
1.0
Recall?
0.9935064935064936
2:
4:
8:
16:
32:
64:
128:
256:
512:
1024:
2048:
Freqs
test
numberfreq
0103
1153
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
5.689208984375
Average Time
0.022223472595214844
Samples
179.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: 54.0ms (55.5% of total)
ival-add: 21.0ms (21.6% of total)
ival-sqrt: 18.0ms (18.5% 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.3%)

Memory
-3.3MiB 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.1MiB live, 0.1MiB 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
44.5%
(sqrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 z z))))
Compiler

Compiled 24 to 18 computations (25% saved)

simplify22.0ms (2.5%)

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...