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

Time bar (total: 1.5s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze13.0ms (0.8%)

Memory
-15.5MiB live, 19.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)

sample741.0ms (49%)

Memory
12.4MiB live, 904.0MiB allocated
Samples
454.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 254.0ms
ival-mult: 178.0ms (70% of total)
ival-div: 61.0ms (24% of total)
ival-true: 7.0ms (2.8% of total)
exact: 5.0ms (2% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain71.0ms (4.7%)

Memory
1.5MiB live, 77.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
20.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 (47.4% of total)
ival-mult: 4.0ms (47.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess112.0ms (7.4%)

Memory
-15.1MiB live, 22.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.3MiB live, 0.3MiB 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
1.6MiB live, 1.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
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)

localize14.0ms (0.9%)

Memory
12.1MiB live, 12.1MiB 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
10.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 (52% of total)
ival-mult: 2.0ms (52% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.4%)

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

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

rewrite145.0ms (9.6%)

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

eval101.0ms (6.7%)

Memory
2.8MiB live, 38.4MiB allocated
Compiler

Compiled 1 735 to 362 computations (79.1% saved)

prune99.0ms (6.5%)

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

simplify132.0ms (8.7%)

Memory
8.1MiB live, 47.1MiB 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
1.0MiB live, 1.0MiB allocated
Stop Event
done
Compiler

Compiled 5 to 5 computations (0% saved)

preprocess71.0ms (4.7%)

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