Diagrams.Solve.Polynomial:quadForm from diagrams-solve-0.1, C

Time bar (total: 1.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze15.0ms (1.2%)

Memory
-18.3MiB live, 20.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
50%50%50%0.1%0%0%0%3
50%50%50%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
75%74.9%25%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
87.5%87.4%12.5%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
93.8%93.7%6.2%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
96.9%96.8%3.1%0.1%0%0%0%12
Compiler

Compiled 7 to 7 computations (0% saved)

sample855.0ms (65.4%)

Memory
17.4MiB live, 815.9MiB allocated
Samples
626.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 439.0ms
ival-div: 254.0ms (57.8% of total)
ival-mult: 171.0ms (38.9% of total)
ival-true: 6.0ms (1.4% of total)
exact: 5.0ms (1.1% of total)
ival-assert: 3.0ms (0.7% of total)
Bogosity

explain45.0ms (3.4%)

Memory
-10.2MiB live, 111.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-#s(literal 2 binary64)
00-0-(/.f64 x (*.f64 y #s(literal 2 binary64)))
00-0-x
00-0-(*.f64 y #s(literal 2 binary64))
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
22.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-div: 5.0ms (55.2% of total)
ival-mult: 3.0ms (33.1% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess26.0ms (2%)

Memory
-6.6MiB live, 32.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01331
13225
26225
39225
411325
512525
055
075
1125
2175
0175
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Outputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
(/.f64 x (*.f64 #s(literal 2 binary64) y))
Symmetry

(negabs y)

(negabs x)

Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify3.0ms (0.2%)

Memory
4.5MiB live, 4.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 2 binary64))
cost-diff0
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
0711
11211
21711
01711
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
x
(*.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
Outputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
(/.f64 x (*.f64 #s(literal 2 binary64) y))
x
(*.f64 y #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) y)
y
#s(literal 2 binary64)

localize21.0ms (1.6%)

Memory
-13.8MiB live, 25.1MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 x (*.f64 y #s(literal 2 binary64)))
accuracy0.0
(*.f64 y #s(literal 2 binary64))
Samples
9.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (53.3% of total)
ival-mult: 2.0ms (53.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.4%)

Memory
9.0MiB live, 9.0MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
Outputs
(* 1/2 (/ x y))
(* 2 y)
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((/ x (* y 2)) (* y 2))
1.0ms
y
@0
((/ x (* y 2)) (* y 2))
1.0ms
x
@inf
((/ x (* y 2)) (* y 2))
1.0ms
y
@inf
((/ x (* y 2)) (* y 2))
1.0ms
x
@0
((/ x (* y 2)) (* y 2))

simplify3.0ms (0.2%)

Memory
4.5MiB live, 4.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2188
3208
4218
0218
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(* 1/2 (/ x y))
(* 2 y)
Outputs
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)

rewrite31.0ms (2.4%)

Memory
3.7MiB live, 42.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1158
2388
3858
01978
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 35
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
Outputs
(*.f64 (/.f64 (neg.f64 x) #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(*.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (/.f64 x #s(literal -2 binary64)) (neg.f64 y))
(/.f64 (/.f64 x #s(literal -2 binary64)) y)
(/.f64 (/.f64 x #s(literal 2 binary64)) (neg.f64 y))
(/.f64 (/.f64 x #s(literal 2 binary64)) y)
(/.f64 (/.f64 (neg.f64 x) y) #s(literal -2 binary64))
(/.f64 (/.f64 (neg.f64 x) y) #s(literal 2 binary64))
(/.f64 (/.f64 x y) #s(literal -2 binary64))
(/.f64 (/.f64 x y) #s(literal 2 binary64))
(/.f64 (neg.f64 x) (*.f64 #s(literal -2 binary64) y))
(/.f64 x (*.f64 #s(literal -2 binary64) y))
(neg.f64 (/.f64 (/.f64 x y) #s(literal -2 binary64)))
(*.f64 (neg.f64 y) #s(literal -2 binary64))
(*.f64 (neg.f64 y) #s(literal 2 binary64))
(*.f64 #s(literal -2 binary64) (neg.f64 y))
(*.f64 #s(literal -2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal -2 binary64))
(*.f64 y #s(literal 2 binary64))
(/.f64 (+.f64 (pow.f64 (neg.f64 y) #s(literal 3 binary64)) (pow.f64 (neg.f64 y) #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) (-.f64 (neg.f64 y) (neg.f64 y)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(neg.f64 (*.f64 #s(literal -2 binary64) y))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 (neg.f64 y) (neg.f64 y))
(+.f64 y y)

eval3.0ms (0.2%)

Memory
6.4MiB live, 6.4MiB allocated
Compiler

Compiled 293 to 89 computations (69.6% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New36137
Fresh000
Picked101
Done000
Total37138
Accuracy
100.0%
Counts
38 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 x (+.f64 y y))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify3.0ms (0.2%)

Memory
2.4MiB live, 2.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 y y)
cost-diff0
(/.f64 x (+.f64 y y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1810
21310
31710
01710
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x (+.f64 y y))
x
(+.f64 y y)
y
Outputs
(/.f64 x (+.f64 y y))
(/.f64 x (*.f64 #s(literal 2 binary64) y))
x
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)
y

localize12.0ms (0.9%)

Memory
9.6MiB live, 9.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(/.f64 x (+.f64 y y))
accuracy0.0
(+.f64 y y)
Samples
8.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-div: 2.0ms (58.9% of total)
ival-add: 1.0ms (29.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series114.0ms (8.8%)

Memory
-34.1MiB live, 6.4MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
(/.f64 x (+.f64 y y))
(+.f64 y y)
Outputs
(* 1/2 (/ x y))
(* 2 y)
Calls

6 calls:

TimeVariablePointExpression
109.0ms
y
@0
((/ x (+ y y)) (+ y y))
3.0ms
y
@inf
((/ x (+ y y)) (+ y y))
1.0ms
y
@-inf
((/ x (+ y y)) (+ y y))
0.0ms
x
@0
((/ x (+ y y)) (+ y y))
0.0ms
x
@inf
((/ x (+ y y)) (+ y y))

simplify3.0ms (0.2%)

Memory
2.8MiB live, 2.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2188
3208
4218
0218
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(* 1/2 (/ x y))
(* 2 y)
Outputs
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)

rewrite20.0ms (1.5%)

Memory
8.0MiB live, 8.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1208
01208
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 21
Calls
Call 1
Inputs
(/.f64 x (+.f64 y y))
(+.f64 y y)
Outputs
(*.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64))
(*.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 (/.f64 x #s(literal 2 binary64)) y)
(/.f64 (neg.f64 (neg.f64 x)) (*.f64 #s(literal -2 binary64) y))
(/.f64 (neg.f64 x) (*.f64 #s(literal -2 binary64) y))
(/.f64 x (*.f64 #s(literal -2 binary64) y))
(neg.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)))
(*.f64 #s(literal -2 binary64) y)
(*.f64 #s(literal 2 binary64) (neg.f64 y))
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)))
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64))))
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64)))
(neg.f64 (*.f64 #s(literal -2 binary64) y))
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64)))
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))))
(+.f64 (neg.f64 y) (neg.f64 y))
(+.f64 y y)

eval2.0ms (0.2%)

Memory
2.5MiB live, 2.5MiB allocated
Compiler

Compiled 194 to 62 computations (68% saved)

prune1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh000
Picked011
Done000
Total23124
Accuracy
100.0%
Counts
24 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 x (+.f64 y y))
Compiler

Compiled 15 to 11 computations (26.7% saved)

regimes5.0ms (0.4%)

Memory
8.0MiB live, 8.0MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
(/.f64 x (+.f64 y y))
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Outputs
(/.f64 x (+.f64 y y))
Calls

4 calls:

1.0ms
x
1.0ms
(*.f64 y #s(literal 2 binary64))
1.0ms
y
1.0ms
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 x (*.f64 y #s(literal 2 binary64)))
100.0%1(*.f64 y #s(literal 2 binary64))
Compiler

Compiled 10 to 13 computations (-30% saved)

simplify8.0ms (0.6%)

Memory
7.9MiB live, 7.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (+.f64 y y))
Outputs
(/.f64 x (+.f64 y y))

soundness110.0ms (8.4%)

Memory
-30.6MiB live, 8.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1158
2388
3858
01978
Stop Event
done
iter limit
iter limit
iter limit
unsound
iter limit
Compiler

Compiled 15 to 11 computations (26.7% saved)

preprocess19.0ms (1.5%)

Memory
18.3MiB live, 18.3MiB allocated
Remove

(negabs x)

(negabs y)

Compiler

Compiled 40 to 34 computations (15% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...