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

Time bar (total: 982.0ms)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze11.0ms (1.1%)

Memory
-8.5MiB live, 30.5MiB 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)

sample677.0ms (69%)

Memory
18.6MiB live, 763.2MiB allocated
Samples
398.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 146.0ms
ival-div: 70.0ms (47.9% of total)
ival-mult: 62.0ms (42.5% of total)
ival-true: 6.0ms (4.1% of total)
exact: 5.0ms (3.4% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

explain51.0ms (5.2%)

Memory
12.2MiB live, 87.5MiB 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 31 to 19 computations (38.7% saved)

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

preprocess49.0ms (5%)

Memory
-1.6MiB live, 36.8MiB 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 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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.3MiB live, 1.3MiB 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.3%)

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

localize18.0ms (1.8%)

Memory
-7.3MiB live, 38.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
14.0ms256×0valid
Compiler

Compiled 13 to 7 computations (46.2% saved)

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

series8.0ms (0.8%)

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

6 calls:

TimeVariablePointExpression
3.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))

simplify4.0ms (0.4%)

Memory
7.8MiB live, 7.8MiB 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
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 2 y)
(*.f64 #s(literal 2 binary64) y)
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))

rewrite69.0ms (7%)

Memory
7.6MiB live, 85.8MiB 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>

eval28.0ms (2.9%)

Memory
3.5MiB live, 53.7MiB allocated
Compiler

Compiled 1 735 to 362 computations (79.1% saved)

prune8.0ms (0.8%)

Memory
-14.3MiB live, 24.5MiB 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)

simplify23.0ms (2.3%)

Memory
9.9MiB live, 49.0MiB 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 y #s(literal 2 binary64)))
(/.f64 x (*.f64 #s(literal 2 binary64) y))

soundness0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

preprocess35.0ms (3.5%)

Memory
-12.2MiB live, 67.4MiB 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...