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

Time bar (total: 1.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze34.0ms (2.5%)

Memory
-22.1MiB live, 15.1MiB 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)

sample769.0ms (56.6%)

Memory
20.4MiB live, 766.3MiB allocated
Samples
520.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 220.0ms
ival-mult: 143.0ms (64.9% of total)
ival-div: 63.0ms (28.6% of total)
ival-true: 6.0ms (2.7% of total)
exact: 5.0ms (2.3% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain115.0ms (8.5%)

Memory
0.4MiB live, 115.9MiB 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
50.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

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

preprocess108.0ms (7.9%)

Memory
1.3MiB live, 46.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01331
14025
210325
332825
497425
5158825
6181425
7184925
8188725
9191925
055
075
1105
2125
0125
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Outputs
(/.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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

Memory
1.1MiB live, 1.1MiB 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.1MiB live, 4.1MiB 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
11011
21211
01211
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 #s(literal 2 binary64) y))
x
(*.f64 #s(literal 2 binary64) y)
y
#s(literal 2 binary64)

localize21.0ms (1.6%)

Memory
6.4MiB live, 43.6MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 x (*.f64 y #s(literal 2 binary64)))
accuracy0
(*.f64 y #s(literal 2 binary64))
Samples
17.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 (51.8% of total)
ival-mult: 2.0ms (51.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series139.0ms (10.2%)

Memory
-24.9MiB live, 14.5MiB allocated
Counts
2 → 36
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf y) (#s(alt #<batchref> (patch (*.f64 y #s(literal 2 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (*.f64 y #s(literal 2 binary64))) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
07156
111156
213156
315156
416156
016156
Stop Event
iter limit
saturated
Counts
36 → 36
Calls
Call 1
Inputs
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
(* 1/2 (/ x y))
Outputs
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 #s(literal 2 binary64) y)
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))

rewrite77.0ms (5.7%)

Memory
-9.3MiB live, 82.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
078
1188
2798
33898
023038
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 155
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval19.0ms (1.4%)

Memory
2.5MiB live, 40.8MiB allocated
Compiler

Compiled 1 891 to 365 computations (80.7% saved)

prune6.0ms (0.4%)

Memory
20.7MiB live, 20.7MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done000
Total1911192
Accuracy
100.0%
Counts
192 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Compiler

Compiled 10 to 10 computations (0% saved)

simplify24.0ms (1.7%)

Memory
-15.1MiB live, 63.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055
165
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (*.f64 y #s(literal 2 binary64)))
Outputs
(/.f64 x (*.f64 #s(literal 2 binary64) y))

soundness0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Stop Event
done
Compiler

Compiled 5 to 5 computations (0% saved)

preprocess38.0ms (2.8%)

Memory
7.6MiB live, 88.8MiB allocated
Remove

(negabs x)

(negabs y)

Compiler

Compiled 60 to 60 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...