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

Time bar (total: 708.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze9.0ms (1.3%)

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

sample449.0ms (63.5%)

Memory
162.4MiB live, 162.4MiB allocated
Samples
258.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 121.0ms
ival-div: 55.0ms (45.6% of total)
ival-mult: 52.0ms (43.1% of total)
ival-true: 6.0ms (5% of total)
exact: 4.0ms (3.3% of total)
ival-assert: 3.0ms (2.5% of total)
Bogosity

explain49.0ms (6.9%)

Memory
24.6MiB live, 24.6MiB 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
19.0ms512×0valid
Compiler

Compiled 64 to 40 computations (37.5% saved)

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

preprocess44.0ms (6.2%)

Memory
6.8MiB live, 6.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.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0.1%)

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

simplify2.0ms (0.3%)

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

localize13.0ms (1.8%)

Memory
5.6MiB live, 5.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
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 (56.2% of total)
ival-mult: 2.0ms (56.2% 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.7%)

Memory
2.1MiB live, 2.1MiB 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
1.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.4%)

Memory
0.8MiB live, 0.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))

rewrite61.0ms (8.6%)

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

eval16.0ms (2.3%)

Memory
15.0MiB live, 15.0MiB allocated
Compiler

Compiled 1 735 to 362 computations (79.1% saved)

prune6.0ms (0.8%)

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

simplify19.0ms (2.7%)

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

soundness0.0ms (0%)

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

Compiled 5 to 5 computations (0% saved)

preprocess31.0ms (4.4%)

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