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

Time bar (total: 795.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 9 computations (0% saved)

sample595.0ms (74.8%)

Memory
54.7MiB live, 792.7MiB allocated
Samples
371.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 166.0ms
ival-mult: 111.0ms (66.9% of total)
ival-sub: 42.0ms (25.3% of total)
ival-true: 6.0ms (3.6% of total)
exact: 5.0ms (3% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

explain78.0ms (9.8%)

Memory
-3.3MiB live, 107.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
00-0-(*.f64 y #s(literal 4 binary64))
00-0-#s(literal 4 binary64)
00-0-z
00-0-(*.f64 (*.f64 y #s(literal 4 binary64)) z)
00-0-x
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
29.0ms512×0valid
Compiler

Compiled 68 to 32 computations (52.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 7.0ms (71.1% of total)
ival-sub: 2.0ms (20.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.4%)

Memory
6.0MiB live, 6.0MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Compiler

Compiled 7 to 7 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 3 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 (*.f64 y #s(literal 4 binary64)) z))
Compiler

Compiled 7 to 7 computations (0% saved)

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 4 binary64))
cost-diff0
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
cost-diff0
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
x
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z
Outputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
x
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z

localize24.0ms (3%)

Memory
-21.3MiB live, 24.8MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
accuracy0.0
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
accuracy0.0
(*.f64 y #s(literal 4 binary64))
Samples
19.0ms256×0valid
Compiler

Compiled 40 to 16 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-mult: 11.0ms (88.7% of total)
ival-sub: 1.0ms (8.1% 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.8%)

Memory
9.5MiB live, 9.5MiB allocated
Counts
3 → 12
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
Outputs
(* -4 (* y z))
(- x (* 4 (* y z)))
x
(* x (+ 1 (* -4 (/ (* y z) x))))
(* -1 (* x (- (* 4 (/ (* y z) x)) 1)))
(+ x (* -4 (* y z)))
(* 4 (* y z))
(* 4 y)
(* y (- (/ x y) (* 4 z)))
(* -1 (* y (- (* -1 (/ x y)) (* -4 z))))
(* z (- (/ x z) (* 4 y)))
(* -1 (* z (- (* -1 (/ x z)) (* -4 y))))
Calls

9 calls:

TimeVariablePointExpression
1.0ms
z
@inf
((- x (* (* y 4) z)) (* (* y 4) z) (* y 4))
1.0ms
y
@inf
((- x (* (* y 4) z)) (* (* y 4) z) (* y 4))
1.0ms
y
@0
((- x (* (* y 4) z)) (* (* y 4) z) (* y 4))
1.0ms
y
@-inf
((- x (* (* y 4) z)) (* (* y 4) z) (* y 4))
0.0ms
z
@0
((- x (* (* y 4) z)) (* (* y 4) z) (* y 4))

simplify0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
egg-herbie
Counts
12 → 3
Calls
Call 1
Inputs
(* -4 (* y z))
(- x (* 4 (* y z)))
x
(* x (+ 1 (* -4 (/ (* y z) x))))
(* -1 (* x (- (* 4 (/ (* y z) x)) 1)))
(+ x (* -4 (* y z)))
(* 4 (* y z))
(* 4 y)
(* y (- (/ x y) (* 4 z)))
(* -1 (* y (- (* -1 (/ x y)) (* -4 z))))
(* z (- (/ x z) (* 4 y)))
(* -1 (* z (- (* -1 (/ x z)) (* -4 y))))
Outputs
(* -4 (* y z))
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(- x (* 4 (* y z)))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
x
(*.f64 y #s(literal 4 binary64))

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
Outputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))

eval1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated
Compiler

Compiled 60 to 14 computations (76.7% saved)

prune1.0ms (0.2%)

Memory
3.6MiB live, 3.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New426
Fresh000
Picked011
Done000
Total437
Accuracy
100.0%
Counts
7 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
2.1%
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
3.8%
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 y #s(literal 4 binary64))
cost-diff0
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
cost-diff0
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
cost-diff0
(*.f64 y #s(literal 4 binary64))
cost-diff0
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Calls
Call 1
Inputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z
Outputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
(*.f64 y #s(literal 4 binary64))
y
#s(literal 4 binary64)
z

localize23.0ms (2.9%)

Memory
6.2MiB live, 43.2MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
accuracy0.0
(*.f64 y #s(literal 4 binary64))
accuracy62.668219292559186
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
accuracy0.0
(*.f64 y #s(literal 4 binary64))
accuracy61.542338728338635
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Samples
18.0ms256×0valid
Compiler

Compiled 72 to 21 computations (70.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sub: 7.0ms (68.2% of total)
ival-mult: 3.0ms (29.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
-30.3MiB live, 9.1MiB allocated
Counts
4 → 12
Calls
Call 1
Inputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
Outputs
(* -4 (* y z))
(- x (* 4 (* y z)))
x
(* x (+ 1 (* -4 (/ (* y z) x))))
(* -1 (* x (- (* 4 (/ (* y z) x)) 1)))
(+ x (* -4 (* y z)))
(* 4 y)
(* 4 (* y z))
(* y (- (/ x y) (* 4 z)))
(* -1 (* y (- (* -1 (/ x y)) (* -4 z))))
(* z (- (/ x z) (* 4 y)))
(* -1 (* z (- (* -1 (/ x z)) (* -4 y))))
Calls

9 calls:

TimeVariablePointExpression
2.0ms
y
@-inf
((- x (* (* y 4) z)) (* y 4) (- x (* (* y 4) z)) (* (* y 4) z))
1.0ms
y
@0
((- x (* (* y 4) z)) (* y 4) (- x (* (* y 4) z)) (* (* y 4) z))
0.0ms
y
@inf
((- x (* (* y 4) z)) (* y 4) (- x (* (* y 4) z)) (* (* y 4) z))
0.0ms
z
@inf
((- x (* (* y 4) z)) (* y 4) (- x (* (* y 4) z)) (* (* y 4) z))
0.0ms
z
@-inf
((- x (* (* y 4) z)) (* y 4) (- x (* (* y 4) z)) (* (* y 4) z))

simplify0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated
Algorithm
egg-herbie
Counts
12 → 4
Calls
Call 1
Inputs
(* -4 (* y z))
(- x (* 4 (* y z)))
x
(* x (+ 1 (* -4 (/ (* y z) x))))
(* -1 (* x (- (* 4 (/ (* y z) x)) 1)))
(+ x (* -4 (* y z)))
(* 4 y)
(* 4 (* y z))
(* y (- (/ x y) (* 4 z)))
(* -1 (* y (- (* -1 (/ x y)) (* -4 z))))
(* z (- (/ x z) (* 4 y)))
(* -1 (* z (- (* -1 (/ x z)) (* -4 y))))
Outputs
(* -4 (* y z))
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(- x (* 4 (* y z)))
(*.f64 y #s(literal 4 binary64))
x
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(* x (+ 1 (* -4 (/ (* y z) x))))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)

rewrite0.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
Outputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
(*.f64 y #s(literal 4 binary64))
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(*.f64 (*.f64 y #s(literal 4 binary64)) z)

eval1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Compiler

Compiled 101 to 14 computations (86.1% saved)

prune2.0ms (0.3%)

Memory
5.8MiB live, 5.8MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New707
Fresh000
Picked022
Done011
Total7310
Accuracy
100.0%
Counts
10 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
2.1%
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
3.8%
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Compiler

Compiled 62 to 41 computations (33.9% saved)

regimes12.0ms (1.5%)

Memory
-3.7MiB live, 35.7MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Calls

6 calls:

2.0ms
y
2.0ms
z
2.0ms
(*.f64 y #s(literal 4 binary64))
2.0ms
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1z
100.0%1(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
100.0%1(*.f64 (*.f64 y #s(literal 4 binary64)) z)
100.0%1(*.f64 y #s(literal 4 binary64))
Compiler

Compiled 18 to 27 computations (-50% saved)

regimes9.0ms (1.1%)

Memory
29.3MiB live, 29.3MiB allocated
Accuracy

Total -1.5b remaining (-2.4%)

Threshold costs -1.5b (-2.4%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
#s(approx (- x (* (* y 4) z)) (*.f64 (*.f64 y #s(literal 4 binary64)) z))
Outputs
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Calls

6 calls:

1.0ms
(*.f64 y #s(literal 4 binary64))
1.0ms
y
1.0ms
(*.f64 (*.f64 y #s(literal 4 binary64)) z)
1.0ms
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
1.0ms
x
Results
AccuracySegmentsBranch
3.8%1x
3.8%1y
3.8%1z
3.8%1(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
3.8%1(*.f64 (*.f64 y #s(literal 4 binary64)) z)
3.8%1(*.f64 y #s(literal 4 binary64))
Compiler

Compiled 18 to 27 computations (-50% saved)

simplify16.0ms (2%)

Memory
-61.1MiB live, 13.6MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))
Outputs
(-.f64 x (*.f64 (*.f64 y #s(literal 4 binary64)) z))
#s(approx (- x (* (* y 4) z)) (*.f64 y #s(literal 4 binary64)))

soundness0.0ms (0.1%)

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

Compiled 18 to 12 computations (33.3% saved)

preprocess17.0ms (2.2%)

Memory
2.9MiB live, 42.1MiB allocated
Compiler

Compiled 50 to 38 computations (24% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...