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

Time bar (total: 1.5s)

analyze11.0ms (0.8%)

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 8 to 6 computations (25% saved)

sample831.0ms (55.5%)

Results
735.0ms7220×256valid
86.0ms1036×256infinite
Bogosity

preprocess247.0ms (16.5%)

Algorithm
egg-herbie
Rules
1768×fma-def
492×div-sub
402×associate-*r/
332×associate-/r*
286×times-frac
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
10-0-(/.f64 x (*.f64 y 2))
00-0-x
00-0-(*.f64 y 2)
00-0-y
00-0-2
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 x (*.f64 y 2))n/o1
Confusion
10
0255
Precision
1.0
Recall
1.0
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020141
146133
2109133
3351133
41180133
52045133
62632133
73055133
83625133
93745133
103780133
113827133
123849133
133943133
143943133
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (*.f64 y 2))
(/.f64 x (*.f64 y 2))
(/.f64 (neg.f64 x) (*.f64 y 2))
(/.f64 x (*.f64 (neg.f64 y) 2))
(neg.f64 (/.f64 (neg.f64 x) (*.f64 y 2)))
(neg.f64 (/.f64 x (*.f64 (neg.f64 y) 2)))
(/.f64 y (*.f64 x 2))
Outputs
(/.f64 x (*.f64 y 2))
(*.f64 (/.f64 x y) 1/2)
(/.f64 x (*.f64 y 2))
(*.f64 (/.f64 x y) 1/2)
(/.f64 (neg.f64 x) (*.f64 y 2))
(*.f64 -1/2 (/.f64 x y))
(*.f64 (/.f64 x y) -1/2)
(*.f64 x (/.f64 -1/2 y))
(/.f64 x (*.f64 (neg.f64 y) 2))
(/.f64 (neg.f64 x) (*.f64 y 2))
(*.f64 -1/2 (/.f64 x y))
(*.f64 (/.f64 x y) -1/2)
(*.f64 x (/.f64 -1/2 y))
(neg.f64 (/.f64 (neg.f64 x) (*.f64 y 2)))
(/.f64 x (*.f64 y 2))
(*.f64 (/.f64 x y) 1/2)
(neg.f64 (/.f64 x (*.f64 (neg.f64 y) 2)))
(/.f64 x (*.f64 y 2))
(*.f64 (/.f64 x y) 1/2)
(/.f64 y (*.f64 x 2))
(*.f64 y (/.f64 1/2 x))
Symmetry

(negabs x)

(negabs y)

Compiler

Compiled 42 to 28 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune6.0ms (0.4%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (/.f64 x y) 1/2)
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize27.0ms (1.8%)

Compiler

Compiled 14 to 7 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (/.f64 x y) 1/2)
Compiler

Compiled 19 to 13 computations (31.6% saved)

regimes12.0ms (0.8%)

Accuracy

Total -0.2b remaining (-∞%)

Threshold costs -0.2b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 x y) 1/2)
(/.f64 x (*.f64 y 2))
Outputs
(*.f64 (/.f64 x y) 1/2)
Calls

4 calls:

4.0ms
(*.f64 y 2)
3.0ms
x
3.0ms
(/.f64 x (*.f64 y 2))
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(/.f64 x (*.f64 y 2))
100.0%1(*.f64 y 2)
Compiler

Compiled 18 to 13 computations (27.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11119
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (/.f64 x y) 1/2)
Outputs
(*.f64 (/.f64 x y) 1/2)
Compiler

Compiled 7 to 5 computations (28.6% saved)

soundness337.0ms (22.5%)

Rules
1768×fma-def
492×div-sub
402×associate-*r/
332×associate-/r*
286×times-frac
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020141
146133
2109133
3351133
41180133
52045133
62632133
73055133
83625133
93745133
103780133
113827133
123849133
133943133
143943133
Stop Event
saturated
Compiler

Compiled 50 to 34 computations (32% saved)

end0.0ms (0%)

preprocess22.0ms (1.5%)

Remove

(negabs y)

(negabs x)

Compiler

Compiled 84 to 60 computations (28.6% saved)

Profiling

Loading profile data...